971225: bootstrap fails on powerpc-unknown-linux-gnu*

Franz Sirl Franz.Sirl-kernel@lauterbach.com
Sat Jan 3 10:30:00 GMT 1998


Hi,

bootstrapping 971225 on powerpc-unknown-linux-gnu and
powerpc-unknown-linux-gnulibc1 with binutils-2.8.1.0.18 results in the
following assembler faults:

make[2]: [objc.stage1] Error 1 (ignored)
make[2]: Leaving directory `/sda9/src/e/egcs-971207/b-971225-2/gcc'
make CC="stage1/xgcc -Bstage1/" CFLAGS="-O2 -g -O2" LDFLAGS=""
libdir=/usr/lib STAGE_PREFIX=stage1/ LANGUAGES="c c++ objc"
make[2]: Entering directory `/sda9/src/e/egcs-971207/b-971225-2/gcc'
stage1/xgcc -Bstage1/  -DIN_GCC    -O2 -g -O2  -DHAVE_CONFIG_H     -I.
-I../../gcc -I../../gcc/config \

-DGCC_INCLUDE_DIR=\"/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/egcs-2.91.03/incl
ude\" \
  -DGPLUSPLUS_INCLUDE_DIR=\"/usr/include/g++\" \
  -DOLD_GPLUSPLUS_INCLUDE_DIR=\"/usr/lib/g++-include\" \
  -DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \

-DCROSS_INCLUDE_DIR=\"/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/egcs-2.91.03/sy
s-include\" \
  -DTOOL_INCLUDE_DIR=\"/usr/powerpc-unknown-linux-gnu/include\" \
  -c `echo ../../gcc/cccp.c | sed 's,^\./,,'`
/tmp/cca11119.s: Assembler messages:
/tmp/cca11119.s:17477: Error: Can't emit reloc {- .rodata-seg symbol
".L3580"} @ file address 31162.
/tmp/cca11119.s:17478: Error: Can't emit reloc {- .rodata-seg symbol
".L3580"} @ file address 31166.
make[2]: *** [cccp.o] Error 1
make[2]: Leaving directory `/sda9/src/e/egcs-971207/b-971225-2/gcc'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory `/sda9/src/e/egcs-971207/b-971225-2/gcc'
make: *** [bootstrap] Error 2

The corresponding section of the .s file says:

.LM2350:
	bc 12,2,.L3563
	mr 20,11
	addis 11,0,.L3573-.L3580@ha
	addi 11,11,.L3573-.L3580@l
	addis 9,0,.L3580@ha
	addi 9,9,.L3580@l
	add 19,9,11
	li 25,0
	li 22,10
	li 23,0
	addis 24,0,.LC85+2@ha
	addi 27,24,.LC85+2@l
	addis 21,0,stdout@ha

You can find the full cccp.[is] files at
< http://homepages.munich.netsurf.de/Franz.Sirl/misc >.

Bye,
Franz.





More information about the Gcc mailing list