🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Illegal VAX .stabs entries

#1915
From: pardo
Date: Fri, 28 Apr 1989 22:13
35 lines
1569 bytes
Version: g++-1.34.2, from yahi.stanford.edu 28 April, 1989
Machine: Vax 8550, Ultrix 2.3
Configured: using config.g++ vax
Problem: g++ 1.34.2 generates illegal `.stabs' entries.  1.34.0 did
not.

I'm trying to build libg++.a.  I cd to the root of the libg++
distribution, and type `make libg++.a'.  The makefile cd's to `src'
and tries to build libg++.  There are several files (builtin.cc
stream.cc, String.cc, Integer.cc, ...) for which g++ generates illegal
`.stabs' entries.  The entries look like

	.stabs "___CTOR_LIST__",22,0,0,__GLOBAL_$I$builtin_cc

The problem is that the first expression, `22' is meaningless to
/bin/as.  I assume that what is wanted here is `0x22', which *is*
meaningful to /bin/as.

Example:
\begin{verbatim}
g++ -g -O -fchar-charconst -I../g++-include -I..  -fsave-memoized -c  stream.cc
Assembler:
"/tmp/cc001719.s", line 1513: Invalid type in .stabs
"/tmp/cc001719.s", line 1538: Invalid type in .stabs
*** Error code 1
\end{verbatim}

Line 1513 is as shown above.

It is not possible to eliminate these messsages by compiling without
-g.

More details upon request.

	;-D on  ( GNU steps forward ... )  Pardo
Technical Details
Message-ID: <8904282213.AA04845@june.cs.washington.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!JUNE.CS.WASHINGTON.EDU!pardo

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!JUNE.CS.WASHINGTON.EDU!pardo
From: pardo@JUNE.CS.WASHINGTON.EDU
Newsgroups: gnu.g++.bug
Subject: Illegal VAX .stabs entries
Message-ID: <8904282213.AA04845@june.cs.washington.edu>
Date: 28 Apr 89 22:13:19 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 35