From mboxrd@z Thu Jan 1 00:00:00 1970 From: lohner@debian.org To: gcc-gnats@gcc.gnu.org Subject: other/4115: 3.0.1 build bug on solaris 2.7 using 2.95.2 Date: Fri, 24 Aug 2001 05:46:00 -0000 Message-id: <200108241237.OAA29135@topaze.ecf.teradyne.com> X-SW-Source: 2001-08/msg00625.html List-Id: >Number: 4115 >Category: other >Synopsis: 3.0.1 build bug on solaris 2.7 using 2.95.2 >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Fri Aug 24 05:46:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: >Release: 3.0.1 >Organization: >Environment: System: SunOS topaze 5.7 Generic_106541-02 sun4u sparc SUNW,Ultra-5_10 Architecture: sun4 host: sparc-sun-solaris2.7 build: sparc-sun-solaris2.7 target: sparc-sun-solaris2.7 configured with: ./configure --prefix=/sup >Description: tried the following, all giv ethe same error: ./configure --prefix=/sup LD=/sup/bin/ld ./configure --prefix=/sup make make bootstrap LD=/sup/bin/ld make The problem is that there seems to be a mix of the sun linker and gnu's linker... I may have a badly built 2.95.2 as I've seen this problem elsewhere. This should probably be added as an autoconf check. I have no idea on how to get rid of it though. ...build OK up to here... mv tmp-libgcc.map libgcc.map ./xgcc -B./ -B/sup/sparc-sun-solaris2.7/bin/ -isystem /sup/sparc-sun-solaris2.7/include -O2 -DIN_GCC -DSVR4 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -fPIC -g1 -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.map -o libgcc_s.so libgcc/./_muldi3.o libgcc/./_divdi3.o libgcc/./_moddi3.o libgcc/./_udivdi3.o libgcc/./_umoddi3.o libgcc/./_negdi2.o libgcc/./_lshrdi3.o libgcc/./_ashldi3.o libgcc/./_ashrdi3.o libgcc/./_ffsdi2.o libgcc/./_clz.o libgcc/./_udiv_w_sdiv.o libgcc/./_udivmoddi4.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/./_floatd! ! itf.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/./unwind-dw2.o libgcc/./unwind-dw2-fde.o libgcc/./unwind-sjlj.o -lc && rm -f libgcc_s.so.1 && ln -s libgcc_s.so libgcc_s.so.1 /sup/sparc-sun-solaris2.7/bin/ld:libgcc.map: file format not recognized; treating as linker script /sup/sparc-sun-solaris2.7/bin/ld:libgcc.map:1: parse error collect2: ld returned 1 exit status make[3]: *** [libgcc_s.so] Error 1 make[3]: Leaving directory `/sup/build/gcc-3.0.1/gcc' make[2]: *** [libgcc.a] Error 2 make[2]: Leaving directory `/sup/build/gcc-3.0.1/gcc' make[1]: *** [stage1_build] Error 2 make[1]: Leaving directory `/sup/build/gcc-3.0.1/gcc' make: *** [bootstrap] Error 2 >How-To-Repeat: May be difficult to reproduce. It should be checked for and prevented. >Fix: autoconf check to ensure the linker files are compatible. --==_Exmh_-1310831154P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (SunOS) Comment: Exmh version 2.5 07/13/2001 iD8DBQE7hkqM6bDGniaEYuMRAr0hAJ0QSCQLphpQOy6F6FzoNQG+aXI/2ACfT4In X0E1o2iiX/w5raF/weNdtPI= =rGhI -----END PGP SIGNATURE----- --==_Exmh_-1310831154P-- >Release-Note: >Audit-Trail: >Unformatted: --==_Exmh_-1310831154P Content-Type: text/plain; charset=us-ascii SEND-PR: Leave "Confidential" as "no"; all GCC PRs are public. SEND-PR: critical GCC is completely not operational; no work-around known. SEND-PR: serious GCC is not working properly; a work-around is possible. SEND-PR: non-critical Report indicates minor problem. SEND-PR: medium The problem should be solved in the next release. SEND-PR: low The problem should be solve in a future release. SEND-PR: doc-bug The documentation is incorrect. SEND-PR: accepts-illegal GCC fails to reject erroneous code. SEND-PR: rejects-legal GCC gives an error message for correct code. SEND-PR: wrong-code The machine code generated by gcc is incorrect. SEND-PR: ice-on-legal-code GCC gives an Internal Compiler Error (ICE) SEND-PR: for correct code SEND-PR: ice-on-illegal-code GCC gives an ICE instead of reporting an error SEND-PR: pessimizes-code GCC misses an important optimization opportunity SEND-PR: sw-bug Software bug of some other class than above SEND-PR: change-request A feature in GCC is missing. SEND-PR: support I need help with gcc.