newppc-branch: Some problems
Franz Sirl
Franz.Sirl-kernel@lauterbach.com
Thu Feb 17 07:28:00 GMT 2000
Hi,
currently on powerpc-linux-gnu I cannot bootstrap unless I start the
bootstrap with 'make bootstrap CXXFLAGS="-O2 -g -fno-inline"'. Without the
-fno-inline the bootstrap fails with:
/home/fsirl/obj/gccm/gcc/g++ -B/home/fsirl/obj/gccm/gcc/
-B/home/fsirl/gnubin/ppc-redhat-linux/bin/ -c -g -O2 -fvtable-th
unks -D_GNU_SOURCE -fno-implicit-templates
-I../../../../cvsx/gccm/libstdc++ -I../../../../cvsx/gccm/libstdc++/stl
-I../lib
io -I../../../../cvsx/gccm/libstdc++/../libio -nostdinc++ -D_IO_MTSAFE_IO
-fPIC ../../../../cvsx/gccm/libstdc++/stlinst.cc
-o pic/stlinst.o
/tmp/ccV46BSr.s: Assembler messages:
/tmp/ccV46BSr.s:1923: Error: Symbol .LCG74 already defined.
/tmp/ccV46BSr.s:1941: Error: Symbol .LCG75 already defined.
/tmp/ccV46BSr.s:1951: Error: Symbol .LCG76 already defined.
/tmp/ccV46BSr.s:1962: Error: Symbol .LCG77 already defined.
make[2]: *** [stlinst.o] Error 1
make[2]: Leaving directory `/home/fsirl/obj/gccm/ppc-redhat-linux/libstdc++'
make[1]: *** [all-target-libstdc++] Error 2
make[1]: Leaving directory `/home/fsirl/obj/gccm'
make: *** [bootstrap-lean] Error 2
There's definitely something fishy going on with the tree-based inlining on
PPC, as I already had problems with it in the normal branch. Clinton looked
a little bit at this problem, maybe he already knows more about it.
The other problem is this warning:
make[4]: Entering directory `/home/fsirl/obj/gccm/gcc'
/home/fsirl/obj/gccm/gcc/xgcc -B/home/fsirl/obj/gccm/gcc/
-B/home/fsirl/gnubin/ppc-redhat-linux/bin/ -I/home/fsirl/gnubin/p
pc-redhat-linux/include -O2 -DIN_GCC -g -O2 -I./include -fPIC -g1
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_
NEEDED -mstrict-align -g -O2 -fno-inline -I. -I../../../cvsx/gccm/gcc
-I../../../cvsx/gccm/gcc/config -I../../../cvsx/gc
cm/gcc/../include \
-c ../../../cvsx/gccm/gcc/cp/new.cc
../../../cvsx/gccm/gcc/cp/new.cc: In function `void *operator new
../../../cvsx/gccm/gcc/cp/new.cc: (unsigned int, void *)':
../../../cvsx/gccm/gcc/cp/new.cc:42: warning: ICE: would have deleted
../../../cvsx/gccm/gcc/cp/new.cc:42: warning: prologue/epilogue insn
(insn 147 145 148 (set (reg:SI 30 r30)
(plus:SI (reg:SI 0 r0)
(reg:SI 30 r30))) -1 (nil)
(nil))
../../../cvsx/gccm/gcc/cp/new.cc: In function `void *operator new []
../../../cvsx/gccm/gcc/cp/new.cc: (unsigned int, void *)':
../../../cvsx/gccm/gcc/cp/new.cc:42: warning: ICE: would have deleted
../../../cvsx/gccm/gcc/cp/new.cc:42: warning: prologue/epilogue insn
(insn 147 145 148 (set (reg:SI 30 r30)
(plus:SI (reg:SI 0 r0)
(reg:SI 30 r30))) -1 (nil)
(nil))
It happens quite often during bootstrap and also invalidates some testcases.
Franz.
More information about the Gcc-bugs
mailing list