[gnu.g++.bug] Illegal VAX .stabs entries

pardo@JUNE.CS.WASHINGTON.EDU (04/29/89)

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