This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc 4.6 build failure


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]