🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #1860

Re: problem with ".stabs" in g++ 1.34.2, 1.35.0-

#1860
From: Doug Schmidt
Date: Thu, 13 Apr 1989 00:06
30 lines
2074 bytes
In article <8904122152.AA08567@csvax.caltech.edu> andy@CSVAX.CALTECH.EDU (Andy Fyfe) writes:
++ On a sun3, sunos 3.5, using the sun assembler, I get the following
++ (taken from test0 in libg++-1.34.0):
++ 
++ % test-g++ -S -g -O -fchar-charconst -fsave-memoized -I/usr/local/lib/g++-include -DLDXX=\"/usr/local/lib/gcc-ld++\" -DCRT1X=\"/usr/local/lib/crt1+.o\" test.hello.cc -o test.s
++ /usr/include/sys/fcntl.h:64: warning: type declaration of flock shadows previous declaration
++ /usr/include/sys/fcntl.h:64: warning: `flock' was declared `extern' and later `static'
++ % test-g++ -c test.s
++ as: error (test.s:793): Invalid operand
++ as: error (test.s:815): Invalid operand
++ 
++ The offending lines are:
++ 793:	.stabs "___DTOR_LIST__",22,0,0,__GLOBAL_$D$test_hello_cc
++ 815:	.stabs "___CTOR_LIST__",22,0,0,__GLOBAL_$I$test_hello_cc
++ 
++ The gnu assembler has no problems.  I wasn't using the gnu assember since
++ I don't want it yet for gcc since it doesn't quite get sun2 binaries right.
++ 
++ --andy fyfe

Read the HINTS file in the distribution.  If your asm can't handle this
you need to #define FASCIST_ASSEMBER in cplus-decl.c to make things work
out.

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 |
Technical Details
Message-ID: <11901@paris.ics.uci.edu>
Path: arc1-ca.pugleaf.net!utzoo!yunexus!telly!attcan!uunet!tut.cis.ohio-state.edu!rutgers!bionet!ames!elroy!aero!venera.isi.edu!uci-ics!crimee.ics.uci.edu!schmidt
References: <8904122152.AA08567@csvax.caltech.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!yunexus!telly!attcan!uunet!tut.cis.ohio-state.edu!rutgers!bionet!ames!elroy!aero!venera.isi.edu!uci-ics!crimee.ics.uci.edu!schmidt
From: schmidt@crimee.ics.uci.edu (Doug Schmidt)
Newsgroups: gnu.g++.bug
Subject: Re: problem with ".stabs" in g++ 1.34.2, 1.35.0-
Message-ID: <11901@paris.ics.uci.edu>
Date: 13 Apr 89 00:06:46 GMT
Article-I.D.: paris.11901
References: <8904122152.AA08567@csvax.caltech.edu>
Sender: news@paris.ics.uci.edu
Reply-To: Doug Schmidt <schmidt@crimee.ics.uci.edu>
Distribution: gnu
Organization: University of California at Irvine: ICS Dept.
Lines: 30