Need help installing gcc-3.4.4 on opteron

Graham Mark, CCN-12 gam@lanl.gov
Wed Aug 10 13:36:00 GMT 2005


I have not been able to get "make bootstrap" to complete on this 
machine. It fails in the step shown below. (crti.o is present in 
/usr/lib64, but the linker doesn't look there.)

My configure line was:
% ../configure --prefix=/nisac/current-third-party 
--enable-languages=c++ --with-gnu-as --with-as=/usr/bin/as 
--with-gnu-ld --with-ld=/usr/bin/ld

My platform:
% uname -a
Linux bizet.tsasa.lanl.gov 2.4.21-20.ELsmp #1 SMP Sat Sep 18 18:28:16 
PDT 2004 x86_64 x86_64 x86_64 GNU/Linux

I would appreciate any suggestions.  Thanks.

./xgcc -B./ -B/nisac/current-third-party/x86_64-unknown-linux-gnu/bin/ 
-isystem /nisac/current-third-party/x86_64-unknown-linux-gnu/include 
-isystem 
/nisac/current-third-party/x86_64-unknown-linux-gnu/sys-include 
-L/nisac/current-third-party/gcc-3.4.4/build/gcc/../ld -O2  -DIN_GCC    
-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes 
-Wold-style-definition  -isystem ./include  -fPIC -g 
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -shared 
-nodefaultlibs -Wl,--soname=libgcc_s.so.1 
-Wl,--version-script=libgcc/32/libgcc.map -o 32/libgcc_s.so.1.tmp  -m32 
  libgcc/32/_muldi3.o libgcc/32/_negdi2.o libgcc/32/_lshrdi3.o 
libgcc/32/_ashldi3.o libgcc/32/_ashrdi3.o libgcc/32/_cmpdi2.o 
libgcc/32/_ucmpdi2.o libgcc/32/_floatdidf.o libgcc/32/_floatdisf.o 
libgcc/32/_fixunsdfsi.o libgcc/32/_fixunssfsi.o libgcc/32/_fixunsdfdi.o 
libgcc/32/_fixdfdi.o libgcc/32/_fixunssfdi.o libgcc/32/_fixsfdi.o 
libgcc/32/_fixxfdi.o libgcc/32/_fixunsxfdi.o libgcc/32/_floatdixf.o 
libgcc/32/_fixunsxfsi.o libgcc/32/_fixtfdi.o libgcc/32/_fixunstfdi.o 
libgcc/32/_floatditf.o libgcc/32/_clear_cache.o 
libgcc/32/_enable_execute_stack.o libgcc/32/_trampoline.o 
libgcc/32/__main.o libgcc/32/_absvsi2.o libgcc/32/_absvdi2.o 
libgcc/32/_addvsi3.o libgcc/32/_addvdi3.o libgcc/32/_subvsi3.o 
libgcc/32/_subvdi3.o libgcc/32/_mulvsi3.o libgcc/32/_mulvdi3.o 
libgcc/32/_negvsi2.o libgcc/32/_negvdi2.o libgcc/32/_ctors.o 
libgcc/32/_ffssi2.o libgcc/32/_ffsdi2.o libgcc/32/_clz.o 
libgcc/32/_clzsi2.o libgcc/32/_clzdi2.o libgcc/32/_ctzsi2.o 
libgcc/32/_ctzdi2.o libgcc/32/_popcount_tab.o libgcc/32/_popcountsi2.o 
libgcc/32/_popcountdi2.o libgcc/32/_paritysi2.o libgcc/32/_paritydi2.o 
libgcc/32/_divdi3.o libgcc/32/_moddi3.o libgcc/32/_udivdi3.o 
libgcc/32/_umoddi3.o libgcc/32/_udiv_w_sdiv.o libgcc/32/_udivmoddi4.o  
libgcc/32/unwind-dw2.o libgcc/32/unwind-dw2-fde-glibc.o 
libgcc/32/unwind-sjlj.o libgcc/32/gthr-gnat.o libgcc/32/unwind-c.o -lc 
&& rm -f libgcc_s_32.so && if [ -f 32/libgcc_s.so.1 ]; then mv -f 
32/libgcc_s.so.1 32/libgcc_s.so.1.backup; else true; fi && mv 
32/libgcc_s.so.1.tmp 32/libgcc_s.so.1 && ln -s 32/libgcc_s.so.1 
libgcc_s_32.so
/usr/bin/ld: cannot open crti.o: No such file or directory
collect2: ld returned 1 exit status
make[3]: *** [32/libgcc_s_32.so] Error 1
make[3]: Leaving directory 
`/nisac/current-third-party/gcc-3.4.4/build/gcc'
make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory 
`/nisac/current-third-party/gcc-3.4.4/build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory 
`/nisac/current-third-party/gcc-3.4.4/build/gcc'
make: *** [bootstrap] Error 2

-----------
Graham Mark
Simulation Science
CCS-5, MS M997
Los Alamos National Laboratory
505-667-8147
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 3341 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20050810/a0f5d6a6/attachment.bin>


More information about the Gcc-help mailing list