egcs-970922/m68k-motorola-sysv bootstrap failure
Philippe De Muyter
phdm@mail.macqel.be
Sat Sep 27 15:41:00 GMT 1997
bootstrapping egcs-970922 fails on m68k-motorola-sysv because filebuf.cc
is miscompiled by cc1plus. Here is a scaled-down version of the problem.
$ cat xxx.ii
class filebuf {
public:
static const int openprot;
};
const int filebuf::openprot = 0644;
$ /usr/gnu/tmp/egcs/gcc/cc1plus -dp -O2 xxx.ii
$ cat xxx.s
file "xxx.ii"
gcc2_compiled%:
global __static_7filebuf openprot
^---------------- NOTE THE SPACE IN THE SYMBOL NAME
text
even
__static_7filebuf openprot:
^-------------------- LIKEWISE
long 420
comm __eh_pc,4
comm __eh_type,4
comm __eh_value,4
comm __eh_cleanup,4
comm __eh_in_catch,1
The resulting assembler file of course can't be assembled. Where should I
look at ?
Philippe De Muyter
More information about the Gcc
mailing list