Hello gcc bugzilla, I cannot resolve a problem with gcc.4.1.1 installation on our server.
At one point during the compile I am getting this error . . mv 'libgcc/sparcv9/tmp-libgcc.map' libgcc/sparcv9/libgcc.map /usr/local/src/gcc-4.1.1/host-sparc-sun-solaris2.9/gcc/xgcc -B/usr/local/src/gcc-4.1.1/host-sparc-sun-solaris2.9/gcc/ -B/usr/local/gcc-4.1.1/sparc-sun-solaris2.9/bin/ -B/usr/local/gcc-4.1.1/sparc-sun-solaris2.9/lib/ -isystem /usr/local/gcc-4.1.1/sparc-sun-solaris2.9/include -isystem /usr/local/gcc-4.1.1/sparc-sun-solaris2.9/sys-include -O2 -O2 -g -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,-h,libgcc_s.so.1 -Wl,-z,text -Wl,-z,defs -Wl,-M,libgcc/sparcv9/libgcc.map -o sparcv9/libgcc_s.so.1.tmp -m64 libgcc/sparcv9/_muldi3_s.o libgcc/sparcv9/_negdi2_s.o libgcc/sparcv9/_lshrdi3_s.o libgcc/sparcv9/_ashldi3_s.o libgcc/sparcv9/_ashrdi3_s.o libgcc/sparcv9/_cmpdi2_s.o libgcc/sparcv9/_ucmpdi2_s.o libgcc/sparcv9/_floatdidf_s.o libgcc/sparcv9/_floatdisf_s.o libgcc/sparcv9/_fixunsdfsi_s.o libgcc/sparcv9/_fixunssfsi_s.o libgcc/sparcv9/_fixunsdfdi_s.o libgcc/sparcv9/_fixdfdi_s.o libgcc/sparcv9/_fixunssfdi_s.o libgcc/sparcv9/_fixsfdi_s.o libgcc/sparcv9/_fixxfdi_s.o libgcc/sparcv9/_fixunsxfdi_s.o libgcc/sparcv9/_floatdixf_s.o libgcc/sparcv9/_fixunsxfsi_s.o libgcc/sparcv9/_fixtfdi_s.o libgcc/sparcv9/_fixunstfdi_s.o libgcc/sparcv9/_floatditf_s.o libgcc/sparcv9/_clear_cache_s.o libgcc/sparcv9/_enable_execute_stack_s.o libgcc/sparcv9/_trampoline_s.o libgcc/sparcv9/__main_s.o libgcc/sparcv9/_absvsi2_s.o libgcc/sparcv9/_absvdi2_s.o libgcc/sparcv9/_addvsi3_s.o libgcc/sparcv9/_addvdi3_s.o libgcc/sparcv9/_subvsi3_s.o libgcc/sparcv9/_subvdi3_s.o libgcc/sparcv9/_mulvsi3_s.o libgcc/sparcv9/_mulvdi3_s.o libgcc/sparcv9/_negvsi2_s.o libgcc/sparcv9/_negvdi2_s.o libgcc/sparcv9/_ctors_s.o libgcc/sparcv9/_ffssi2_s.o libgcc/sparcv9/_ffsdi2_s.o libgcc/sparcv9/_clz_s.o libgcc/sparcv9/_clzsi2_s.o libgcc/sparcv9/_clzdi2_s.o libgcc/sparcv9/_ctzsi2_s.o libgcc/sparcv9/_ctzdi2_s.o libgcc/sparcv9/_popcount_tab_s.o libgcc/sparcv9/_popcountsi2_s.o libgcc/sparcv9/_popcountdi2_s.o libgcc/sparcv9/_paritysi2_s.o libgcc/sparcv9/_paritydi2_s.o libgcc/sparcv9/_powisf2_s.o libgcc/sparcv9/_powidf2_s.o libgcc/sparcv9/_powixf2_s.o libgcc/sparcv9/_powitf2_s.o libgcc/sparcv9/_mulsc3_s.o libgcc/sparcv9/_muldc3_s.o libgcc/sparcv9/_mulxc3_s.o libgcc/sparcv9/_multc3_s.o libgcc/sparcv9/_divsc3_s.o libgcc/sparcv9/_divdc3_s.o libgcc/sparcv9/_divxc3_s.o libgcc/sparcv9/_divtc3_s.o libgcc/sparcv9/_divdi3_s.o libgcc/sparcv9/_moddi3_s.o libgcc/sparcv9/_udivdi3_s.o libgcc/sparcv9/_umoddi3_s.o libgcc/sparcv9/_udiv_w_sdiv_s.o libgcc/sparcv9/_udivmoddi4_s.o libgcc/sparcv9/unwind-dw2_s.o libgcc/sparcv9/unwind-dw2-fde_s.o libgcc/sparcv9/unwind-sjlj_s.o libgcc/sparcv9/gthr-gnat_s.o libgcc/sparcv9/unwind-c_s.o -lc && rm -f sparcv9/libgcc_s.so && if [ -f sparcv9/libgcc_s.so.1 ]; then mv -f sparcv9/libgcc_s.so.1 sparcv9/libgcc_s.so.1.backup; else true; fi && mv sparcv9/libgcc_s.so.1.tmp sparcv9/libgcc_s.so.1 && ln -s libgcc_s.so.1 sparcv9/libgcc_s.so ld: warning: option -YP appears more than once, first setting taken ld: fatal: file /usr/ccs/lib/values-Xa.o: wrong ELF class: ELFCLASS32 ld: fatal: File processing errors. No output written to sparcv9/libgcc_s.so.1.tmp collect2: ld returned 1 exit status make[3]: *** [sparcv9/libgcc_s.so] Error 1 make[3]: Leaving directory `/usr/local/src/gcc-4.1.1/host-sparc-sun-solaris2.9/gcc' make[2]: *** [stmp-multilib] Error 2 make[2]: Leaving directory `/usr/local/src/gcc-4.1.1/host-sparc-sun-solaris2.9/gcc' make[1]: *** [all-gcc] Error 2 make[1]: Leaving directory `/usr/local/src/gcc-4.1.1' make: *** [all] Error 2 I have found in the GCC Bugzilla Bug 13291 a recommendation to use the configure with --disable-multilib (not to build 64-bit target libraries). I am using these configure options ./configure --prefix=/usr/local/gcc.4.1.1 --disable-multilib --disable-nls I am attaching the config.log and config.status Thanks for your help -------------------------------------------------------------------------- Ivan Matousek, CSTS Email:matousek{at}cs{dot}sfu{dot}ca School of Computing Science Simon Fraser University Phone: (604) 291-4422 Burnaby, B.C. V5A 1S6 Canada Fax: (604) 291-3045
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:600: checking host system type configure:621: checking target system type configure:639: checking build system type configure:694: checking for a BSD compatible install configure:747: checking whether ln works configure:771: checking whether ln -s works configure:1825: checking for gcc configure:1938: checking whether the C compiler (gcc ) works configure:1954: gcc -o conftest conftest.c 1>&5 configure:1980: checking whether the C compiler (gcc ) is a cross-compiler configure:1985: checking whether we are using GNU C configure:2013: checking whether gcc accepts -g configure:2080: checking for gnatbind configure:2145: checking whether compiler driver understands Ada configure:2177: checking how to compare bootstrapped objects configure:2275: checking for correct version of gmp.h configure:2288: gcc -c -g -O2 conftest.c 1>&5 configure:2278:17: gmp.h: No such file or directory configure: In function `main': configure:2282: error: `choke' undeclared (first use in this function) configure:2282: error: (Each undeclared identifier is reported only once configure:2282: error: for each function it appears in.) configure:2282: error: parse error before "me" configure: failed program was: #line 2277 "configure" #include "confdefs.h" #include "gmp.h" int main() { #if __GNU_MP_VERSION < 3 choke me #endif ; return 0; } configure:3313: checking for bison configure:3353: checking for bison configure:3392: checking for gm4 configure:3431: checking for flex configure:3471: checking for flex configure:3510: checking for makeinfo configure:3563: checking for expect configure:3604: checking for runtest configure:3652: checking for sparc-sun-solaris2.9-ar configure:3727: checking for sparc-sun-solaris2.9-as configure:3802: checking for sparc-sun-solaris2.9-dlltool configure:3833: checking for dlltool configure:3877: checking for sparc-sun-solaris2.9-ld configure:3952: checking for sparc-sun-solaris2.9-lipo configure:3983: checking for lipo configure:4027: checking for sparc-sun-solaris2.9-nm configure:4102: checking for sparc-sun-solaris2.9-ranlib configure:4172: checking for sparc-sun-solaris2.9-strip configure:4242: checking for sparc-sun-solaris2.9-windres configure:4273: checking for windres configure:4317: checking for sparc-sun-solaris2.9-objcopy configure:4348: checking for objcopy configure:4392: checking for sparc-sun-solaris2.9-objdump configure:4423: checking for objdump configure:4474: checking for sparc-sun-solaris2.9-ar configure:4549: checking for sparc-sun-solaris2.9-as configure:4624: checking for sparc-sun-solaris2.9-cc configure:4699: checking for sparc-sun-solaris2.9-c++ configure:4774: checking for sparc-sun-solaris2.9-dlltool configure:4805: checking for dlltool configure:4849: checking for sparc-sun-solaris2.9-gcc configure:4919: checking for sparc-sun-solaris2.9-gcj configure:4994: checking for sparc-sun-solaris2.9-gfortran configure:5025: checking for gfortran configure:5069: checking for sparc-sun-solaris2.9-ld configure:5144: checking for sparc-sun-solaris2.9-lipo configure:5175: checking for lipo configure:5219: checking for sparc-sun-solaris2.9-nm configure:5294: checking for sparc-sun-solaris2.9-objdump configure:5325: checking for objdump configure:5369: checking for sparc-sun-solaris2.9-ranlib configure:5439: checking for sparc-sun-solaris2.9-strip configure:5514: checking for sparc-sun-solaris2.9-windres configure:5545: checking for windres configure:5588: checking where to find the target ar configure:5613: checking where to find the target as configure:5638: checking where to find the target cc configure:5663: checking where to find the target c++ configure:5691: checking where to find the target c++ for libstdc++ configure:5719: checking where to find the target dlltool configure:5744: checking where to find the target gcc configure:5769: checking where to find the target gcj configure:5797: checking where to find the target gfortran configure:5825: checking where to find the target ld configure:5850: checking where to find the target lipo configure:5865: checking where to find the target nm configure:5890: checking where to find the target objdump configure:5915: checking where to find the target ranlib configure:5940: checking where to find the target strip configure:5965: checking where to find the target windres configure:6018: checking whether to enable maintainer-specific portions of Makefiles configure:6065: checking if symbolic links between directories work
config.status
Description: config.status