egcs-971031, sparc-sun-solaris2.5 new bootstrap failure
H.J. Lu
hjl@lucon.org
Mon Nov 3 17:55:00 GMT 1997
>
> Building egcs-971031 on sparc-sun-solaris2.5 using BOOT_CFLAGS=
> "-g -O3 -funroll-all-loops" with cc for stage1 resulted in:
>
> > stage1/xgcc -Bstage1/ -DIN_GCC -DSVR4 -g -O3 -funroll-all-loops
> > -DHAVE_CONFIG_H -o cccp cccp.o cexp.o \
> > version.o obstack.o ` case "stage1/xgcc -Bstage1/" in "cc") echo
> > "alloca.o" ;; esac `
> > Undefined first referenced
> > symbol in file
> > .LL6861 cccp.o
> > ld: fatal: Symbol referencing errors. No output written to cccp
> > collect2: ld returned 1 exit status
> > make[1]: *** [cccp] Error 1
>
> The dwarf patch made no difference.
>
> I was able to bootstrap when using "-g -O2".
This may or may not be related to my -g -funroll-loops bug report.
I cannot use them together on x86 with my small test code.
-g -O -funroll-loops kills gcc.
H.J.
----
class String
{
public:
String();
~String();
int OK() const;
};
void splittest()
{
String w[10];
for (int i = 0; i < 5; ++i)
{
if (!w[i].OK())
return;
}
}
More information about the Gcc
mailing list