This is the mail archive of the gcc@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]

gcc 3.0-20010527 cross build failures


Summary: Of the 10! XXX-rtems targets I have tried to build,
only 2 have successfully built.  I am in the process of
duplicating these with the basic embedded target that is
most closely related (e.g. XXX-elf or XXX-coff).


I have reported a preliminary version of this to Mark privately but
am starting to generate GNATS problem reports.  

Configure command:

../gcc-3.0-20010527/configure --target=${1} \
    --with-gnu-as --with-gnu-ld --with-newlib --verbose \
    --prefix=/usr1/tmp-tools  && make                      

Here is a list:

arm-rtems/arm-elf: Fails to build. Reported to GNATS now.  

h8300-rtems: Fails to build.  I am trying to duplicate this
  failure now with h8300-coff.  h8300-rtems ends with:

../../gcc-3.0-20010527/gcc/unwind.inc:67: warning: implicit declaration of
function `abort'
../../gcc-3.0-20010527/gcc/unwind.inc:57: Internal compiler error in
expand_call, at calls.c:3089                      

It is having trouble compiling a target independent file.


i386-rtems: Gets confused and thinks it should use my host g++
  for libstdc++-v3.  I have not investigated or tried to
  duplicate with i386-elf yet.

appending configuration tag "CXX" to libtool
checking for GNU make... make
checking for g++ that will successfully compile libstdc++-v3... configure:
error
: please upgrade to GCC 3.0 or above
make: *** [configure-target-libstdc++-v3] Error 1 

i960-rtems: I am trying to duplicate this now with i960-coff.

gcc -DCROSS_COMPILE -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings
-Wstrict-prototy
pes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long 
-DHAVE_CONFIG_H
  -o f771 f/bad.o f/bit.o f/bld.o f/com.o f/data.o f/equiv.o f/expr.o
f/global.o
 f/implic.o f/info.o f/intrin.o f/lab.o f/lex.o f/malloc.o f/name.o f/parse.o
f/
proj.o f/src.o f/st.o f/sta.o f/stb.o f/stc.o f/std.o f/ste.o f/storag.o
f/stp.o
 f/str.o f/sts.o f/stt.o f/stu.o f/stv.o f/stw.o f/symbol.o f/target.o f/top.o
f
/type.o f/version.o f/where.o toplev.o libbackend.a obstack.o        
../libiber
ty/libiberty.a
libbackend.a(i960.o): In function `i960_pr_align':
/usr3/ftp_archive/gnu/gcc/ss/b/b-gcc/gcc/../../gcc-3.0-20010527/gcc/config/i960/
i960.c:117: undefined reference to `c_lex'
/usr3/ftp_archive/gnu/gcc/ss/b/b-gcc/gcc/../../gcc-3.0-20010527/gcc/config/i960/
i960.c:119: undefined reference to `c_lex'
libbackend.a(i960.o): In function `i960_pr_noalign':
/usr3/ftp_archive/gnu/gcc/ss/b/b-gcc/gcc/../../gcc-3.0-20010527/gcc/config/i960/
i960.c:160: undefined reference to `c_lex'
/usr3/ftp_archive/gnu/gcc/ss/b/b-gcc/gcc/../../gcc-3.0-20010527/gcc/config/i960/
i960.c:162: undefined reference to `c_lex'

      
m68k-elf/m68k-rtems:

gcc -c -DCROSS_COMPILE -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings
-Wstrict-prot
otypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long 
-DHAVE_CONFI
G_H    -I. -I. -I../../gcc-3.0-20010527/gcc -I../../gcc-3.0-20010527/gcc/.
-I../
../gcc-3.0-20010527/gcc/config -I../../gcc-3.0-20010527/gcc/../include
../../gcc
-3.0-20010527/gcc/dwarf2out.c -o dwarf2out.o
../../gcc-3.0-20010527/gcc/dwarf2out.c: In function `dwarf2out_frame_debug':
../../gcc-3.0-20010527/gcc/dwarf2out.c:1598: `ACCUMULATE_OUTGOING_ARGS'
undeclar
ed (first use in this function)
../../gcc-3.0-20010527/gcc/dwarf2out.c:1598: (Each undeclared identifier is
repo
rted only once           

mips-rtems:  Failed to build.  Log file is lost.  I need to repeat this one.

powerpc-rtems:  
                       
/usr3/ftp_archive/gnu/gcc/ss/b/b-gcc/gcc/xgcc
-B/usr3/ftp_archive/gnu/gcc/ss/b/b
-gcc/gcc/ -nostdinc++
-L/usr3/ftp_archive/gnu/gcc/ss/b/b-gcc/powerpc-rtems/nof/l
ibstdc++-v3/src
-L/usr3/ftp_archive/gnu/gcc/ss/b/b-gcc/powerpc-rtems/nof/libstdc
++-v3/src/.libs -nostdinc
-B/usr3/ftp_archive/gnu/gcc/ss/b/b-gcc/powerpc-rtems/n
of/newlib/ -isystem
/usr3/ftp_archive/gnu/gcc/ss/b/b-gcc/powerpc-rtems/nof/newli
b/targ-include -isystem
/usr3/ftp_archive/gnu/gcc/ss/b/gcc-3.0-20010527/newlib/l
ibc/include -B/opt/rtems/powerpc-rtems/bin/ -B/opt/rtems/powerpc-rtems/lib/
-isy
stem /opt/rtems/powerpc-rtems/include -msoft-float -mrelocatable-lib -mno-eabi
-
mstrict-align -I../../../../../gcc-3.0-20010527/libstdc++-v3/../gcc
-I../../../.
./../gcc-3.0-20010527/libstdc++-v3/../include
-I../../../../../gcc-3.0-20010527/
libstdc++-v3/include -I../../../../../gcc-3.0-20010527/libstdc++-v3/include/std
-I../../../../../gcc-3.0-20010527/libstdc++-v3/include/c_std -I../include
-I../.
./../../../gcc-3.0-20010527/libstdc++-v3/libsupc++ -g -O2 -msoft-float
-mrelocat
able-lib -mno-eabi -mstrict-align -fno-implicit-templates -Wall -Wno-format -W
-
Wwrite-strings -Winline -fdiagnostics-show-location=once -g -c
../../../../../gc
c-3.0-20010527/libstdc++-v3/libsupc++/new_op.cc -o new_op.o
/tmp/ccLX6K2V.s: Assembler messages:
/tmp/ccLX6K2V.s:234: Error: Relocation cannot be done when using -mrelocatable 

sh-rtems: 

/usr3/ftp_archive/gnu/gcc/ss/b/b-gcc/gcc/xgcc
-B/usr3/ftp_archive/gnu/gcc/ss/b/b
-gcc/gcc/ -nostdinc -B/usr3/ftp_archive/gnu/gcc/ss/b/b-gcc/sh-rtems/newlib/
-isy
stem /usr3/ftp_archive/gnu/gcc/ss/b/b-gcc/sh-rtems/newlib/targ-include -isystem
/usr3/ftp_archive/gnu/gcc/ss/b/gcc-3.0-20010527/newlib/libc/include
-B/opt/rtems
/sh-rtems/bin/ -B/opt/rtems/sh-rtems/lib/ -isystem /opt/rtems/sh-rtems/include
-
O2 -I../../gcc-3.0-20010527/gcc/../newlib/libc/sys/rtems/include
-DCROSS_COMPILE
 -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-
isystem ./include   -g1 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDE
D -Dinhibit_libc -I. -I. -I../../gcc-3.0-20010527/gcc
-I../../gcc-3.0-20010527/g
cc/. -I../../gcc-3.0-20010527/gcc/config
-I../../gcc-3.0-20010527/gcc/../include
  -DL_muldi3 -c ../../gcc-3.0-20010527/gcc/libgcc2.c -o libgcc/./_muldi3.o
/tmp/cczWUrYF.s: Assembler messages:
/tmp/cczWUrYF.s:498: Error: Rest of line ignored. First ignored character is
`"'
.                                                                         







-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel@OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985


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