🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #105

gcc-1.35.91/sun4-os4: cc1 gets fatal signal 6 when inline functions are multiply defined

#105
From: Jim Meyering
Date: Fri, 16 Jun 1989 19:40
23 lines
1427 bytes
% cat foo.c
/* Configuration: gcc-1.35.91 with rms's patches to integrate.c and c-parse.y
 * System: sun4-os4
 * Problem: cc1 dies with Signal 6
 * Options: -finline-functions (-g and -O don't influence outcome) */
double epslon(double x) { }
double epslon(double x) { }
foo() { double x; x = epslon(1.0); }

% make
gcc -v -finline-functions   -c foo.c -o foo.o
gcc version 1.35.91
 /p/lib/gcc-1.35.91/gcc-cpp -v -undef -D__GNUC__ -Dsparc -Dsun -Dunix -D__sparc__ -D__sun__ -D__unix__ foo.c /tmp/cca18609.cpp
GNU CPP version 1.35.91
 /p/lib/gcc-1.35.91/gcc-cc1 /tmp/cca18609.cpp -quiet -dumpbase foo.c -finline-functions -version -o /tmp/cca18609.s
GNU C version 1.35.91 (sparc) compiled by GNU C version 1.35.91.
foo.c: In function epslon:
foo.c:6: redefinition of `epslon'
foo.c:5: here is the previous declaration of `epslon'
gcc: Program cc1 got fatal signal 6.
make: *** Error 1
%
Jim Meyering      meyering@cs.utexas.edu
Technical Details
Message-ID: <8906161940.AA18628@ai.cs.utexas.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!CS.UTEXAS.EDU!meyering

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!CS.UTEXAS.EDU!meyering
From: meyering@CS.UTEXAS.EDU (Jim Meyering)
Newsgroups: gnu.gcc.bug
Subject: gcc-1.35.91/sun4-os4: cc1 gets fatal signal 6 when inline functions are multiply defined
Message-ID: <8906161940.AA18628@ai.cs.utexas.edu>
Date: 16 Jun 89 19:40:47 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: University of Texas at Austin CS Department
Lines: 23