Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!CSVAX.CALTECH.EDU!andy From: andy@CSVAX.CALTECH.EDU (Andy Fyfe) Newsgroups: gnu.g++.bug Subject: problem with ".stabs" in g++ 1.34.2, 1.35.0- Message-ID: <8904122152.AA08567@csvax.caltech.edu> Date: 12 Apr 89 21:52:09 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 18 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