This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
illegal assy emitted w/ g++ && -g
- To: egcs at cygnus dot com
- Subject: illegal assy emitted w/ g++ && -g
- From: Robert Lipe <robertl at dgii dot com>
- Date: Fri, 4 Sep 1998 11:00:51 -0500
Sometime in the last few days, full builds on the trunk broke for me
on i686-pc-sco3.2v5.05. Though I'm not sure, I think this looks like
a debug symbol that didn't get fully mangled. I updated the tree (but
didn't revert Richard's i386.h and i386.md patches) about 10:30 CDT on
Friday.
The build cruises along until we hit this. From the top level, do 'make
CXXFLAGS="-g -O2 --save-temps"'
/play/negcs/gcc/xgcc -B/play/negcs/gcc/ -c -g -O2 --save-temps -fno-implicit-templates -mcoff -I../../../../egcs/libstdc++ -I../../../../egcs/libstdc++/stl -I../libio -I../../../../egcs/libstdc++/../libio -nostdinc++ ../../../../egcs/libstdc++/stdexcepti.cc
Assembler: stdexcepti.cc
aline 247 : Illegal character after '<'
aline 247 : Syntax error
aline 248 : Illegal character after '<'
aline 248 : Syntax error
make[3]: *** [stdexcepti.o] Error 1
The offending lines in the .s file are:
.def rebind<_Tp1>; .scl 10; .type 010; .size -1;
.endef
.def .eos; .val -1; .scl 102; .tag rebind<_Tp1>;
.size -1; .endef
SCO's COFF assembler doesn't like the '<>' stuff. I can't readily
duplicate this on Linux becuase I can't make it emit coff debugging
records.
RJL