re-building gcc 3.1 on cross-x86-ARM failing

Josh Fryman fryman@cc.gatech.edu
Tue Jun 4 05:31:00 GMT 2002


ok, so this is a follow-on to my earlier post.  after the many people pointed
out i was building glibc-2.2.5 wrong, i successfully built and installed a
glibc-2.2.5 for my cross-environment.

now, however, gcc-3.1 won't re-build using the new glibc.  i get the following
errors:

using this configure command:

../gcc-3.1/configure --prefix=/usr/local/arm-v4l-linux/ --target=arm-v4l-linux --with-cpu=strongarm110 --program-transform-names=s,^,arm-v4l-linux-, --without-fp --with-softfloat-support=internal --enable-threads=posix --with-headers=/usr/local/arm-v4l-linux/include/

then, during build, it chugs along for a good while before stopping here:

mv libgcc/./tmp-libgcc.map libgcc/./libgcc.map
/tmp/skiff/new-gcc31/gcc-build-p2/gcc/xgcc -B/tmp/skiff/new-gcc31/gcc-build-p2/gcc/ -B/usr/local/arm-v4l-linux//arm-v4l-linux/bin/ -B/usr/local/arm-v4l-linux//arm-v4l-linux/lib/ -isystem /usr/local/arm-v4l-linux//arm-v4l-linux/include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fomit-frame-pointer -fPIC -g0 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -shared -nodefaultlibs -Wl,--soname=libgcc_s.so.1 -Wl,--version-script=libgcc/./libgcc.map -o libgcc_s.so.1   libgcc/./_udivsi3.o libgcc/./_divsi3.o libgcc/./_umodsi3.o libgcc/./_modsi3.o libgcc/./_dvmd_lnx.o libgcc/./_muldi3.o libgcc/./_negdi2.o libgcc/./_lshrdi3.o libgcc/./_ashldi3.o libgcc/./_ashrdi3.o libgcc/./_ffsdi2.o libgcc/./_clz.o libgcc/./_cmpdi2.o libgcc/./_ucmpdi2.o libgcc/./_floatdidf.o libgcc/./_floatdisf.o libgcc/./_fixunsdfsi.o libgcc/./_fixunssfsi.o libgcc/./_fixunsdfdi.o libgcc/./_fixdfdi.o libgcc/./_fixunssfdi.o libgcc/./!
_fixsfdi.o libgcc/./_fixxfdi.o libgcc/./_fixunsxfdi.o libgcc/./_floatdixf.o libgcc/./_fixunsxfsi.o libgcc/./_fixtfdi.o libgcc/./_fixunstfdi.o libgcc/./_floatditf.o libgcc/./_clear_cache.o libgcc/./_trampoline.o libgcc/./__main.o libgcc/./_exit.o libgcc/./_absvsi2.o libgcc/./_absvdi2.o libgcc/./_addvsi3.o libgcc/./_addvdi3.o libgcc/./_subvsi3.o libgcc/./_subvdi3.o libgcc/./_mulvsi3.o libgcc/./_mulvdi3.o libgcc/./_negvsi2.o libgcc/./_negvdi2.o libgcc/./_ctors.o libgcc/./_divdi3.o libgcc/./_moddi3.o libgcc/./_udivdi3.o libgcc/./_umoddi3.o libgcc/./_udiv_w_sdiv.o libgcc/./_udivmoddi4.o  libgcc/./unwind-dw2.o libgcc/./unwind-dw2-fde-glibc.o libgcc/./unwind-sjlj.o -lc && rm -f libgcc_s.so && ln -s libgcc_s.so.1 libgcc_s.so
/usr/local/arm-v4l-linux//arm-v4l-linux/bin/ld: cannot open crti.o: No such file or directory
collect2: ld returned 1 exit status
make[2]: *** [libgcc_s.so] Error 1

note that the crti.o (and friends) are all located as expected in 
   /usr/local/arm-v4l-linux/lib/
and report themselves properly as ARM ELF files...

any insights on this? am i missing some key compiler flag? 

thanks,

josh

PS>
this is a follow-on to an earlier post which shows all compile flags, etc,
on this list as Message-Id: <20020530110849.7350627c.fryman@cc.gatech.edu>
from 30-May-2002.



More information about the Gcc mailing list