public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* gcc 4.6 build failure
       [not found] <AANLkTi=Nd8Sm7gvL2VwRd63rNku4z-JXO0Om6Fc8f4F+@mail.gmail.com>
@ 2011-03-23  7:24 ` naga raj
  2011-03-23  7:35   ` Mohamed Shafi
       [not found]   ` <AANLkTim_hhJMn7VUpzVgSOVXHO7O6DHqZzJa=Vj2y2hZ@mail.gmail.com>
  0 siblings, 2 replies; 3+ messages in thread
From: naga raj @ 2011-03-23  7:24 UTC (permalink / raw)
  To: gcc-help

Hi,

 Can any one please help in resolving the following issue..

 I am compiling microblaze cross compiler which is present in GCC-4.6 release.

  Following is the error log:
---------------------------------------------------------------------------------------------------------------------------------
configure:3020:
/proj/epdsw1/nagaraju/mb_gnu_4.4/build/microblaze/lin/bld_gcc_release/build/./gcc/xgcc
-B/proj/epdsw1/nagaraju/mb_gnu_4.4/build/microblaze/lin/bld_gcc_release/build/./gcc/
-B/proj/epdsw1/nagaraju/mb_gnu_4.4/gnu/microblaze/lin/microblaze-xilinx-elf/bin/
-B/proj/epdsw1/nagaraju/mb_gnu_4.4/gnu/microblaze/lin/microblaze-xilinx-elf/lib/
-isystem /proj/epdsw1/nagaraju/mb_gnu_4.4/gnu/microblaze/lin/microblaze-xilinx-elf/include
-isystem /proj/epdsw1/nagaraju/mb_gnu_4.4/gnu/microblaze/lin/microblaze-xilinx-elf/sys-include
  -o conftest -g -O2   conftest.c  >&5
/proj/epdsw1/nagaraju/mb_gnu_4.4/build/microblaze/lin/bld_gcc_release/build/./gcc/as:
line 83: exec: -o: invalid option
exec: usage: exec [-cl] [-a name] file [redirection ...]
configure:3023: $? = 1
configure:3211: checking for suffix of object files
configure:3233:
/proj/epdsw1/nagaraju/mb_gnu_4.4/build/microblaze/lin/bld_gcc_release/build/./gcc/xgcc
-B/proj/epdsw1/nagaraju/mb_gnu_4.4/build/microblaze/lin/bld_gcc_release/build/./gcc/
-B/proj/epdsw1/nagaraju/mb_gnu_4.4/gnu/microblaze/lin/microblaze-xilinx-elf/bin/
-B/proj/epdsw1/nagaraju/mb_gnu_4.4/gnu/microblaze/lin/microblaze-xilinx-elf/lib/
-isystem /proj/epdsw1/nagaraju/mb_gnu_4.4/gnu/microblaze/lin/microblaze-xilinx-elf/include
-isystem /proj/epdsw1/nagaraju/mb_gnu_4.4/gnu/microblaze/lin/microblaze-xilinx-elf/sys-include
  -c -g -O2  conftest.c >&5
/proj/epdsw1/nagaraju/mb_gnu_4.4/build/microblaze/lin/bld_gcc_release/build/./gcc/as:
line 83: exec: -o: invalid option
exec: usage: exec [-cl] [-a name] file [redirection ...]
configure:3237: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU C Runtime Library"
| #define PACKAGE_TARNAME "libgcc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU C Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.gnu.org/software/libgcc/"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3251: error: in
`/proj/epdsw1/nagaraju/mb_gnu_4.4/build/microblaze/lin/bld_gcc_release/build/microblaze-xilinx-elf/libgcc':
configure:3254: error: cannot compute suffix of object files: cannot compile
------------------------------------------------------------------------------------------------------------------------
Please help me out in fixing this issue.

Thanks in advance
Nagaraju

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gcc 4.6 build failure
  2011-03-23  7:24 ` gcc 4.6 build failure naga raj
@ 2011-03-23  7:35   ` Mohamed Shafi
       [not found]   ` <AANLkTim_hhJMn7VUpzVgSOVXHO7O6DHqZzJa=Vj2y2hZ@mail.gmail.com>
  1 sibling, 0 replies; 3+ messages in thread
From: Mohamed Shafi @ 2011-03-23  7:35 UTC (permalink / raw)
  To: naga raj; +Cc: gcc-help

On 23 March 2011 12:54, naga raj <gnuuser.raj@gmail.com> wrote:
>
> Hi,
>
>  Can any one please help in resolving the following issue..
>
>  I am compiling microblaze cross compiler which is present in GCC-4.6 release.
>
>   Following is the error log:
> ---------------------------------------------------------------------------------------------------------------------------------
> configure:3020:
> /proj/epdsw1/nagaraju/mb_gnu_4.4/build/microblaze/lin/bld_gcc_release/build/./gcc/xgcc
> -B/proj/epdsw1/nagaraju/mb_gnu_4.4/build/microblaze/lin/bld_gcc_release/build/./gcc/
> -B/proj/epdsw1/nagaraju/mb_gnu_4.4/gnu/microblaze/lin/microblaze-xilinx-elf/bin/
> -B/proj/epdsw1/nagaraju/mb_gnu_4.4/gnu/microblaze/lin/microblaze-xilinx-elf/lib/
> -isystem /proj/epdsw1/nagaraju/mb_gnu_4.4/gnu/microblaze/lin/microblaze-xilinx-elf/include
> -isystem /proj/epdsw1/nagaraju/mb_gnu_4.4/gnu/microblaze/lin/microblaze-xilinx-elf/sys-include
>   -o conftest -g -O2   conftest.c  >&5
> /proj/epdsw1/nagaraju/mb_gnu_4.4/build/microblaze/lin/bld_gcc_release/build/./gcc/as:
> line 83: exec: -o: invalid option
> exec: usage: exec [-cl] [-a name] file [redirection ...]
> configure:3023: $? = 1
> configure:3211: checking for suffix of object files
> configure:3233:
> /proj/epdsw1/nagaraju/mb_gnu_4.4/build/microblaze/lin/bld_gcc_release/build/./gcc/xgcc
> -B/proj/epdsw1/nagaraju/mb_gnu_4.4/build/microblaze/lin/bld_gcc_release/build/./gcc/
> -B/proj/epdsw1/nagaraju/mb_gnu_4.4/gnu/microblaze/lin/microblaze-xilinx-elf/bin/
> -B/proj/epdsw1/nagaraju/mb_gnu_4.4/gnu/microblaze/lin/microblaze-xilinx-elf/lib/
> -isystem /proj/epdsw1/nagaraju/mb_gnu_4.4/gnu/microblaze/lin/microblaze-xilinx-elf/include
> -isystem /proj/epdsw1/nagaraju/mb_gnu_4.4/gnu/microblaze/lin/microblaze-xilinx-elf/sys-include
>   -c -g -O2  conftest.c >&5
> /proj/epdsw1/nagaraju/mb_gnu_4.4/build/microblaze/lin/bld_gcc_release/build/./gcc/as:
> line 83: exec: -o: invalid option
> exec: usage: exec [-cl] [-a name] file [redirection ...]
> configure:3237: $? = 1
> configure: failed program was:
> | /* confdefs.h */
> | #define PACKAGE_NAME "GNU C Runtime Library"
> | #define PACKAGE_TARNAME "libgcc"
> | #define PACKAGE_VERSION "1.0"
> | #define PACKAGE_STRING "GNU C Runtime Library 1.0"
> | #define PACKAGE_BUGREPORT ""
> | #define PACKAGE_URL "http://www.gnu.org/software/libgcc/"
> | /* end confdefs.h.  */
> |
> | int
> | main ()
> | {
> |
> |   ;
> |   return 0;
> | }
> configure:3251: error: in
> `/proj/epdsw1/nagaraju/mb_gnu_4.4/build/microblaze/lin/bld_gcc_release/build/microblaze-xilinx-elf/libgcc':
> configure:3254: error: cannot compute suffix of object files: cannot compile
> ------------------------------------------------------------------------------------------------------------------------
> Please help me out in fixing this issue.

Microblaze compiler is trying to build the target libraries. For this
you need to have the assembler for the target installed in your PATH.
Do you have those? If not you need to build binutils also for the
target.

Hope this helps.

Shafi

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gcc 4.6 build failure
       [not found]   ` <AANLkTim_hhJMn7VUpzVgSOVXHO7O6DHqZzJa=Vj2y2hZ@mail.gmail.com>
@ 2011-03-23  7:56     ` naga raj
  0 siblings, 0 replies; 3+ messages in thread
From: naga raj @ 2011-03-23  7:56 UTC (permalink / raw)
  To: Mohamed Shafi; +Cc: gcc-help

Thank you Shafi for you reply.

  I have already compiled binulits for microblaze..

  I have already included assembler by using AS_FOR_TARGET  in configuration.

  Is there any other way giving assembler to the gcc...

Thanks
Nagaraj


On Wed, Mar 23, 2011 at 1:03 PM, Mohamed Shafi <shafitvm@gmail.com> wrote:
>
>
> On 23 March 2011 12:54, naga raj <gnuuser.raj@gmail.com> wrote:
>>
>> Hi,
>>
>>  Can any one please help in resolving the following issue..
>>
>>  I am compiling microblaze cross compiler which is present in GCC-4.6
>> release.
>>
>>   Following is the error log:
>>
>> ---------------------------------------------------------------------------------------------------------------------------------
>> configure:3020:
>>
>> /proj/epdsw1/nagaraju/mb_gnu_4.4/build/microblaze/lin/bld_gcc_release/build/./gcc/xgcc
>>
>> -B/proj/epdsw1/nagaraju/mb_gnu_4.4/build/microblaze/lin/bld_gcc_release/build/./gcc/
>>
>> -B/proj/epdsw1/nagaraju/mb_gnu_4.4/gnu/microblaze/lin/microblaze-xilinx-elf/bin/
>>
>> -B/proj/epdsw1/nagaraju/mb_gnu_4.4/gnu/microblaze/lin/microblaze-xilinx-elf/lib/
>> -isystem
>> /proj/epdsw1/nagaraju/mb_gnu_4.4/gnu/microblaze/lin/microblaze-xilinx-elf/include
>> -isystem
>> /proj/epdsw1/nagaraju/mb_gnu_4.4/gnu/microblaze/lin/microblaze-xilinx-elf/sys-include
>>   -o conftest -g -O2   conftest.c  >&5
>>
>> /proj/epdsw1/nagaraju/mb_gnu_4.4/build/microblaze/lin/bld_gcc_release/build/./gcc/as:
>> line 83: exec: -o: invalid option
>> exec: usage: exec [-cl] [-a name] file [redirection ...]
>> configure:3023: $? = 1
>> configure:3211: checking for suffix of object files
>> configure:3233:
>>
>> /proj/epdsw1/nagaraju/mb_gnu_4.4/build/microblaze/lin/bld_gcc_release/build/./gcc/xgcc
>>
>> -B/proj/epdsw1/nagaraju/mb_gnu_4.4/build/microblaze/lin/bld_gcc_release/build/./gcc/
>>
>> -B/proj/epdsw1/nagaraju/mb_gnu_4.4/gnu/microblaze/lin/microblaze-xilinx-elf/bin/
>>
>> -B/proj/epdsw1/nagaraju/mb_gnu_4.4/gnu/microblaze/lin/microblaze-xilinx-elf/lib/
>> -isystem
>> /proj/epdsw1/nagaraju/mb_gnu_4.4/gnu/microblaze/lin/microblaze-xilinx-elf/include
>> -isystem
>> /proj/epdsw1/nagaraju/mb_gnu_4.4/gnu/microblaze/lin/microblaze-xilinx-elf/sys-include
>>   -c -g -O2  conftest.c >&5
>>
>> /proj/epdsw1/nagaraju/mb_gnu_4.4/build/microblaze/lin/bld_gcc_release/build/./gcc/as:
>> line 83: exec: -o: invalid option
>> exec: usage: exec [-cl] [-a name] file [redirection ...]
>> configure:3237: $? = 1
>> configure: failed program was:
>> | /* confdefs.h */
>> | #define PACKAGE_NAME "GNU C Runtime Library"
>> | #define PACKAGE_TARNAME "libgcc"
>> | #define PACKAGE_VERSION "1.0"
>> | #define PACKAGE_STRING "GNU C Runtime Library 1.0"
>> | #define PACKAGE_BUGREPORT ""
>> | #define PACKAGE_URL "http://www.gnu.org/software/libgcc/"
>> | /* end confdefs.h.  */
>> |
>> | int
>> | main ()
>> | {
>> |
>> |   ;
>> |   return 0;
>> | }
>> configure:3251: error: in
>>
>> `/proj/epdsw1/nagaraju/mb_gnu_4.4/build/microblaze/lin/bld_gcc_release/build/microblaze-xilinx-elf/libgcc':
>> configure:3254: error: cannot compute suffix of object files: cannot
>> compile
>
> Microblaze compiler is trying to build the target libraries. For this you
> need to have the assembler for the target installed in your PATH. Do you
> have those? If not you need to build binutils also for the target.
>
> Hope this helps.
>
> Shafi
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-03-23  7:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <AANLkTi=Nd8Sm7gvL2VwRd63rNku4z-JXO0Om6Fc8f4F+@mail.gmail.com>
2011-03-23  7:24 ` gcc 4.6 build failure naga raj
2011-03-23  7:35   ` Mohamed Shafi
     [not found]   ` <AANLkTim_hhJMn7VUpzVgSOVXHO7O6DHqZzJa=Vj2y2hZ@mail.gmail.com>
2011-03-23  7:56     ` naga raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).