🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #1412

PIC option broken?

#1412
From: Richard W. Kreutzer Consultant
Date: Mon, 16 Nov 1992 20:58
28 lines
1398 bytes
Did the -fpic option get broken from gcc-2.2.2 to gcc-2.3.1?  Or have I
installed gcc improperly?  I have compiled gcc-2.3.1 on a SPARCstation 1+
running SunOS 4.1.1 in the usual fashion.  However the following now fails (it
worked under 2.2.2):

	void printf(...);
	void a() {
	  printf("Hi\n");
	  }

	$ gcc -fpic -c a.c
	gcc: Internal compiler error: program cc1 got fatal signal 6

G++ fails in the same way:

	$ g++ -fpic -c a.c
	Internal compiler error: program cc1plus got fatal signal 6

Is there a patch I can install?  I have removed all traces of 2.2.2 because I
lack disk space and everything seemed to work in 2.3.1 (until this) so I
deleted all traces of 2.2.2.  Thanks,

Dick
____
        Richard W. (Dick) Kreutzer
Net:    rwk@quark.sbi.com				CIS:	70702,2174
Voice:  +1(801)571-2446					FAX:	+1(801)571-2448
Mail:   Integra Software Corp.; 1378 Jasmine Avenue; Sandy, UT 84092 (USA)
Technical Details
Message-ID: <9211162058.AA13746@quark.sbi.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!ferkel.ucsb.edu!taco!rock!stanford.edu!agate!spool.mu.edu!caen!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!quark.sbi.com!rwk

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!ferkel.ucsb.edu!taco!rock!stanford.edu!agate!spool.mu.edu!caen!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!quark.sbi.com!rwk
From: rwk@quark.sbi.com (Richard W. Kreutzer Consultant)
Subject: PIC option broken?
Message-ID: <9211162058.AA13746@quark.sbi.com>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Mon, 16 Nov 1992 20:58:45 GMT
Approved: bug-gcc@prep.ai.mit.edu
Lines: 29