Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!unmvax!nmtsun!ucsd!usc!orion.cf.uci.edu!uci-ics!zola.ics.uci.edu!schmidt From: schmidt@zola.ics.uci.edu (Doug Schmidt) Newsgroups: gnu.gcc.bug Subject: Re: gcc-1.34 installation problem on sun3 os4 Message-ID: <13296@paris.ics.uci.edu> Date: 5 May 89 02:53:24 GMT References: <8905042302.AA16012@AENEAS.MIT.EDU> Sender: news@paris.ics.uci.edu Reply-To: Doug Schmidt Distribution: gnu Organization: University of California at Irvine: ICS Dept. Lines: 37 In article <8905042302.AA16012@AENEAS.MIT.EDU> SAITO@sdr.slb.com ("Naoki Saito Ext. 5471", GEO-002) writes: ++ ++ Hello! I just received the GNU beta tape and am trying to install ++ them. First I tried to install gcc on our Sun3 with SunOS 4.0.1, but failed. ++ ++ The situation is as follows: ++ ++ $ config.gcc sun3-fpa-os4 ++ $ make ++ . ++ . ++ . ++ cc -g -o cc1 c-parse.tab.o c-decl.o c-typeck.o c-convert.o toplev.o version.o tree.o print-tree.o stor-layout.o fold-const.o rtl.o expr.o stmt.o expmed.o explow.o optabs.o varasm.o symout.o dbxout.o sdbout.o emit-rtl.o insn-emit.o integrate.o jump.o c ++ se.o loop.o flow.o stupid.o combine.o regclass.o local-alloc.o global-alloc.o reload.o reload1.o caller-save.o insn-peep.o final.o recog.o insn-recog.o insn-extract.o insn-output.o obstack.o ++ ld: global-alloc.o: bad string table index (pass 1) ++ *** Error code 4 ++ make: Fatal error: Command failed for target `cc1' ++ ++ ++ What's wrong with this? Please give me some advice! Congrats, you've run across an unbelievably annoying bug with Sun 4.0.x. The only way I know to fix this is to: 1. delete global-alloc.o 2. type make again (this will recompile global-alloc.c) and try relinking 3. repeat as necessary until done (it usually takes several tries). Anyone have a better suggestion? Doug -- On a clear day, under blue skies, there is no need to seek. And asking about Buddha +------------------------+ Is like proclaiming innocence, | schmidt@ics.uci.edu | With loot in your pocket. | office: (714) 856-4043 |