This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

GCC-3.0 for powerpc-eabi doesn't compile!!!


Hi,

I have tried to compile the most "fresh" release of gcc (C and C++) for
powerpc-eabi under cygwin, but unfortunately I get an error during
libstdc++ compilation phase.

Host machine: cygwin-1.3.2 (with gcc-2.95.3-5), Windows 2000 (SP2)
Operating System

Sources: binutils-2.11, gcc-3.0, newlib-1.9.0

Binutils was compiled fine...

During gcc compilation I get... (sorry becase the message size, but the
command lines are really 'awful'...)

/tmp/build/ppc_tst/gcc/gcc/xgcc -B/tmp/build/ppc_tst/gcc/gcc/
-nostdinc++ -L/tmp/build/ppc_tst/gcc/powerpc-eabi/nof/libstdc++-v3/src
-L/tmp/build/ppc_tst/gcc/powerpc-eabi/nof/libstdc++-v3/src/.libs
-nostdinc -B/tmp/build/ppc_tst/gcc/powerpc-eabi/nof/newlib/ -isystem
/tmp/build/ppc_tst/gcc/powerpc-eabi/nof/newlib/targ-include -isystem
/src/gcc/gcc-3.0/newlib/libc/include -B/ppctools2/powerpc-eabi/bin/
-B/ppctools2/powerpc-eabi/lib/ -isystem /ppctools2/powerpc-eabi/include
-msoft-float -mrelocatable-lib -mno-eabi -mstrict-align
-I/src/gcc/gcc-3.0/libstdc++-v3/../gcc
-I/src/gcc/gcc-3.0/libstdc++-v3/../include
-I/src/gcc/gcc-3.0/libstdc++-v3/include
-I/src/gcc/gcc-3.0/libstdc++-v3/include/std
-I/src/gcc/gcc-3.0/libstdc++-v3/include/c_std -I../include
-I/src/gcc/gcc-3.0/libstdc++-v3/libsupc++ -g -O2 -msoft-float
-mrelocatable-lib -mno-eabi -mstrict-align -fno-implicit-templates -Wall
-Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once
-g -c /src/gcc/gcc-3.0/libstdc++-v3/libsupc++/new_handler.cc -o
new_handler.o
/bin/sh ../libtool --tag CXX --tag disable-shared
--mode=compile /tmp/build/ppc_tst/gcc/gcc/xgcc
-B/tmp/build/ppc_tst/gcc/gcc/ -nostdinc++
-L/tmp/build/ppc_tst/gcc/powerpc-eabi/nof/libstdc++-v3/src
-L/tmp/build/ppc_tst/gcc/powerpc-eabi/nof/libstdc++-v3/src/.libs
-nostdinc -B/tmp/build/ppc_tst/gcc/powerpc-eabi/nof/newlib/ -isystem
/tmp/build/ppc_tst/gcc/powerpc-eabi/nof/newlib/targ-include -isystem
/src/gcc/gcc-3.0/newlib/libc/include -B/ppctools2/powerpc-eabi/bin/
-B/ppctools2/powerpc-eabi/lib/ -isystem /ppctools2/powerpc-eabi/include
-msoft-float -mrelocatable-lib -mno-eabi -mstrict-align
-I/src/gcc/gcc-3.0/libstdc++-v3/../gcc
-I/src/gcc/gcc-3.0/libstdc++-v3/../include
-I/src/gcc/gcc-3.0/libstdc++-v3/include
-I/src/gcc/gcc-3.0/libstdc++-v3/include/std
-I/src/gcc/gcc-3.0/libstdc++-v3/include/c_std -I../include
-I/src/gcc/gcc-3.0/libstdc++-v3/libsupc++           -g -O2  -msoft-float
-mrelocatable-lib -mno-eabi -mstrict-align -fno-implicit-templates
-Wall -Wno-format -W -Wwrite-strings -Winline
-fdiagnostics-show-location=once    -g    -c
/src/gcc/gcc-3.0/libstdc++-v3/libsupc++/new_op.cc
/tmp/build/ppc_tst/gcc/gcc/xgcc -B/tmp/build/ppc_tst/gcc/gcc/
-nostdinc++ -L/tmp/build/ppc_tst/gcc/powerpc-eabi/nof/libstdc++-v3/src
-L/tmp/build/ppc_tst/gcc/powerpc-eabi/nof/libstdc++-v3/src/.libs
-nostdinc -B/tmp/build/ppc_tst/gcc/powerpc-eabi/nof/newlib/ -isystem
/tmp/build/ppc_tst/gcc/powerpc-eabi/nof/newlib/targ-include -isystem
/src/gcc/gcc-3.0/newlib/libc/include -B/ppctools2/powerpc-eabi/bin/
-B/ppctools2/powerpc-eabi/lib/ -isystem /ppctools2/powerpc-eabi/include
-msoft-float -mrelocatable-lib -mno-eabi -mstrict-align
-I/src/gcc/gcc-3.0/libstdc++-v3/../gcc
-I/src/gcc/gcc-3.0/libstdc++-v3/../include
-I/src/gcc/gcc-3.0/libstdc++-v3/include
-I/src/gcc/gcc-3.0/libstdc++-v3/include/std
-I/src/gcc/gcc-3.0/libstdc++-v3/include/c_std -I../include
-I/src/gcc/gcc-3.0/libstdc++-v3/libsupc++ -g -O2 -msoft-float
-mrelocatable-lib -mno-eabi -mstrict-align -fno-implicit-templates -Wall
-Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once
-g -c /src/gcc/gcc-3.0/libstdc++-v3/libsupc++/new_op.cc -o new_op.o
/cygdrive/c/DOCUME~1/cada/LOCALS~1/Temp/cc7bd5Mi.s: Assembler messages:
/cygdrive/c/DOCUME~1/cada/LOCALS~1/Temp/cc7bd5Mi.s:234: Error:
Relocation cannot be done when using -mrelocatable
make[7]: *** [new_op.lo] Error 1
make[7]: Leaving directory
`/tmp/build/ppc_tst/gcc/powerpc-eabi/nof/libstdc++-v3/libsupc++'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory
`/tmp/build/ppc_tst/gcc/powerpc-eabi/nof/libstdc++-v3'
make[5]: *** [all-recursive-am] Error 2
make[5]: Leaving directory
`/tmp/build/ppc_tst/gcc/powerpc-eabi/nof/libstdc++-v3'
make[4]: *** [multi-do] Error 1
make[4]: Leaving directory
`/tmp/build/ppc_tst/gcc/powerpc-eabi/libstdc++-v3'
make[3]: *** [all-multi] Error 2
make[3]: Leaving directory
`/tmp/build/ppc_tst/gcc/powerpc-eabi/libstdc++-v3'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/tmp/build/ppc_tst/gcc/powerpc-eabi/libstdc++-v3'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory
`/tmp/build/ppc_tst/gcc/powerpc-eabi/libstdc++-v3'
make: *** [all-target-libstdc++-v3] Error 2
make: Leaving directory `/tmp/build/ppc_tst/gcc'


I tried to compile gcc-3.0 for arm-elf, and it builds fine with the same
approach...

Any ideas about what's the problem???


Joćo Cadamuro Junior
LIT / CPDTT / CEFET-PR




------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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