This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

illegal assy emitted w/ g++ && -g


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]