Article View: gnu.gcc.bug
Article #1465Problems with GCC 2.3.2 on Sparc System V.4 (part 1 of 3)
From: Ian Stewartson
Date: Wed, 23 Dec 1992 20:23
Date: Wed, 23 Dec 1992 20:23
52 lines
2818 bytes
2818 bytes
- Start of Problem Report - GNU CC version: Reading specs from /usr/local/lib/gcc-lib/sparc-icl-sysv4/2.3.2/specs gcc version 2.3.2 Input files: See parts 2 and 3. Hardware: ICL DRS 6000 (sparc) (I believe this is the reference system for sparc V.4 ports from USL). OS Name: ICL DN/NX (System V.4.0) OS Version number: Release 4.0 Level 6.02 Configure operands: sparc-icl-sysv4 Modifications made to the compiler: None. Other Deviations: None. Problem 1: When building the libg++ 2.3 libraries, the following errors are generated. This is the output from the build, excluding the terimating aborts. gcc -O -g -save-temps -nostdinc++ -I.. -I. -I./../iostream -I./../g++-include -c Obstack.cc /usr/ccs/bin/as: "Obstack.s", line 298: error: redefinition of symbol ".L_E1221" /usr/ccs/bin/as: "Obstack.s", line 313: error: redefinition of symbol ".L_E1296" /usr/ccs/bin/as: "Obstack.s", line 328: error: redefinition of symbol ".L_E1297" /usr/ccs/bin/as: "Obstack.s", line 1805: error: redefinition of symbol ".L_b20" /usr/ccs/bin/as: "Obstack.s", line 2444: error: redefinition of symbol ".L_b26" /usr/ccs/bin/as: "Obstack.s", line 2738: error: redefinition of symbol ".L_b28" /usr/ccs/bin/as: "Obstack.s", line 3088: error: redefinition of symbol ".L_b30" /usr/ccs/bin/as: "Obstack.s", line 3452: error: redefinition of symbol ".L_b32" /usr/ccs/bin/as: "Obstack.s", line 3769: error: redefinition of symbol ".L_b34" /usr/ccs/bin/as: "Obstack.s", line 4038: error: redefinition of symbol ".L_b36" Problem 2: If I attempt to re-build gcc using gcc by replace the value of the macro CC in the makefile with gcc (at line 53), I get the following error: gcc -DIN_GCC -DSVR4 -g -o genextract \ genextract.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "gcc"@"alloca.o" in "cc"@?*) echo alloca.o ;; esac ` ` case "" in ?*) echo ;; esac ` Undefined first referenced symbol in file alloca rtl.o ld: genextract: fatal error: Symbol referencing errors. No output written to genextract I thought alloca was handled internally by gcc. Have I mis-understood something; can you not rebuild the compiler with itself or is there another problem?
Technical Details
Message-ID:
<9212232031.AA16521@life>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!dlvax2.datlog.co.UK!istewartReferences:
<9212222301.AA29502@raisin-nut>Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!dlvax2.datlog.co.UK!istewart From: istewart@dlvax2.datlog.co.UK (Ian Stewartson) Subject: Problems with GCC 2.3.2 on Sparc System V.4 (part 1 of 3) Message-ID: <9212232031.AA16521@life> Sender: gnulists@ai.mit.edu Reply-To: istewart@datlog.co.uk Organization: Data Logic Ltd. (A Raytheon Company) References: <9212222301.AA29502@raisin-nut> Distribution: gnu Date: Wed, 23 Dec 1992 20:23:58 GMT Approved: bug-gcc@prep.ai.mit.edu Lines: 55