[Solaris 8/Intel] Bootstrap failure with sjlj exceptions (take 2)

Rainer Orth ro@TechFak.Uni-Bielefeld.DE
Thu May 31 13:40:00 GMT 2001


After the comparison failure for a i386-pc-solaris2.8 reported in

	http://gcc.gnu.org/ml/gcc-bugs/2001-05/msg00962.html

I decided to try a bootstrap with fortran disabled (so it couldn't give the
comparison failure reported above ;-)

I had to use

  CC=cc configure --enable-sjlj-exceptions --enable-languages=c,cp,java,objc

since the far more intuitive

	--diable-languages=f

didn't work:

Configuring libiberty...
/vol/src/gnu/src/gcc/gcc-3.0-branch/libiberty/configure: test: argument expected
Configure in /vol/gnu/src/gcc-3.0-20010431/8-cc-local-sjlj-no-f/libiberty failed, exiting.

This time make compare succeeded, but the bootstrap failed later on trying
to compile libsupc++/new_op.cc:

% /vol/gnu/src/gcc-3.0-20010431/8-cc-local-sjlj-no-f/gcc/xgcc -B/vol/gnu/src/gcc-3.0-20010431/8-cc-local-sjlj-no-f/gcc/ -nostdinc++ -L/vol/gnu/src/gcc-3.0-20010431/8-cc-local-sjlj-no-f/i386-pc-solaris2.8/libstdc++-v3/src -L/vol/gnu/src/gcc-3.0-20010431/8-cc-local-sjlj-no-f/i386-pc-solaris2.8/libstdc++-v3/src/.libs -B/vol/gcc/share/i386-pc-solaris2.8/bin/ -B/vol/gcc/share/i386-pc-solaris2.8/lib/ -isystem /vol/gcc/share/i386-pc-solaris2.8/include -I/vol/src/gnu/src/gcc/gcc-3.0-branch/libstdc++-v3/../gcc -I/vol/src/gnu/src/gcc/gcc-3.0-branch/libstdc++-v3/../include -I/vol/src/gnu/src/gcc/gcc-3.0-branch/libstdc++-v3/include -I/vol/src/gnu/src/gcc/gcc-3.0-branch/libstdc++-v3/include/std -I/vol/src/gnu/src/gcc/gcc-3.0-branch/libstdc++-v3/include/c_std -I../include -I/vol/src/gnu/src/gcc/gcc-3.0-branch/libstdc++-v3/libsupc++ -g -O2 -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -c /vol/sr!
c/gnu/src/gcc/gcc-3.0-branch/libstdc++-v3/libsupc++/new_op.cc  -fPIC -DPIC -o new_op.o
Reading specs from /vol/gnu/src/gcc-3.0-20010431/8-cc-local-sjlj-no-f/gcc/specs
Configured with: /vol/src/gnu/src/gcc/gcc-3.0-branch/configure --prefix=/vol/gcc --with-local-prefix=/vol/gcc --enable-sjlj-exceptions --enable-languages=c,cp,java,objc
Thread model: posix
gcc version 3.0 20010531 (prerelease)
 /vol/gnu/src/gcc-3.0-20010431/8-cc-local-sjlj-no-f/gcc/cpp0 -lang-c++ -D_GNU_SOURCE -D__GNUG__=3 -D__GXX_DEPRECATED -D__EXCEPTIONS -D__GXX_ABI_VERSION=100 -nostdinc++ -v -I/vol/src/gnu/src/gcc/gcc-3.0-branch/libstdc++-v3/../gcc -I/vol/src/gnu/src/gcc/gcc-3.0-branch/libstdc++-v3/../include -I/vol/src/gnu/src/gcc/gcc-3.0-branch/libstdc++-v3/include -I/vol/src/gnu/src/gcc/gcc-3.0-branch/libstdc++-v3/include/std -I/vol/src/gnu/src/gcc/gcc-3.0-branch/libstdc++-v3/include/c_std -I../include -I/vol/src/gnu/src/gcc/gcc-3.0-branch/libstdc++-v3/libsupc++ -iprefix /vol/gnu/src/gcc-3.0-20010431/8-cc-local-sjlj-no-f/gcc/../lib/gcc-lib/i386-pc-solaris2.8/3.0/ -isystem /vol/gnu/src/gcc-3.0-20010431/8-cc-local-sjlj-no-f/gcc/include -isystem /vol/gcc/share/i386-pc-solaris2.8/bin/include -isystem /vol/gcc/share/i386-pc-solaris2.8/lib/include -D__GNUC__=3 -D__GNUC_MINOR__=0 -D__GNUC_PATCHLEVEL__=0 -Dsun -Dunix -D__svr4__ -D__SVR4 -D__sun__ -D__unix__ -D__svr4__ -D__SVR4 -D__sun -D__unix -Asys!
tem=unix -Asystem=svr4 -D__OPTIMIZE__ -D__STDC_HOSTED__=1 -Wall -Wno-format -W -Wwrite-strings -Winline -D_XOPEN_SOURCE=500 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -D__EXTENSIONS__ -Acpu=i386 -Amachine=i386 -Di386 -D__i386 -D__i386__ -D__tune_i386__ -DPIC -isystem /vol/gcc/share/i386-pc-solaris2.8/include /vol/src/gnu/src/gcc/gcc-3.0-branch/libstdc++-v3/libsupc++/new_op.cc new_op.ii
ignoring nonexistent directory "/vol/gcc/share/i386-pc-solaris2.8/bin/include"
ignoring nonexistent directory "/vol/gcc/share/i386-pc-solaris2.8/lib/include"
ignoring nonexistent directory "/vol/gcc/share/i386-pc-solaris2.8/include"
GNU CPP version 3.0 20010531 (prerelease) (cpplib) (i386 System V Release 4)
ignoring nonexistent directory "/vol/gnu/src/gcc-3.0-20010431/8-cc-local-sjlj-no-f/lib/gcc-lib/i386-pc-solaris2.8/3.0/include"
ignoring nonexistent directory "/vol/gcc/lib/gcc-lib/i386-pc-solaris2.8/3.0/include"
ignoring nonexistent directory "/vol/gcc/lib/i386-pc-solaris2.8/include"
#include "..." search starts here:
#include <...> search starts here:
 /vol/src/gnu/src/gcc/gcc-3.0-branch/gcc
 /vol/src/gnu/src/gcc/gcc-3.0-branch/include
 /vol/src/gnu/src/gcc/gcc-3.0-branch/libstdc++-v3/include
 /vol/src/gnu/src/gcc/gcc-3.0-branch/libstdc++-v3/include/std
 /vol/src/gnu/src/gcc/gcc-3.0-branch/libstdc++-v3/include/c_std
 ../include
 /vol/src/gnu/src/gcc/gcc-3.0-branch/libstdc++-v3/libsupc++
 /vol/gnu/src/gcc-3.0-20010431/8-cc-local-sjlj-no-f/gcc/include
 /vol/gcc/include
 /usr/include
End of search list.
 /vol/gnu/src/gcc-3.0-20010431/8-cc-local-sjlj-no-f/gcc/cc1plus -fpreprocessed new_op.ii -quiet -dumpbase new_op.cc -g -g -O2 -Wall -Wno-format -W -Wwrite-strings -Winline -version -fno-implicit-templates -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -fPIC -o new_op.s
GNU CPP version 3.0 20010531 (prerelease) (cpplib) (i386 System V Release 4)
GNU C++ version 3.0 20010531 (prerelease) (i386-pc-solaris2.8)
	compiled by GNU C version 3.0 20010531 (prerelease).
 /usr/ccs/bin/as -V -Qy -s -K PIC -o new_op.o new_op.s
as: Sun WorkShop 6 99/08/16
Assembler: new_op.ii
	"new_op.s", line 246 : Illegal subtraction - symbols from different sections: ".LC0", ".DOT-2"

new_op.ii and new_op.s are included below.

Before that point, I get quite a number of assembler warnings:

/vol/gnu/src/gcc-3.0-20010431/8-cc-local-sjlj-no-f/gcc/xgcc -B/vol/gnu/src/gcc-3.0-20010431/8-cc-local-sjlj-no-f/gcc/ -nostdinc++ -L/vol/gnu/src/gcc-3.0-20010431/8-cc-local-sjlj-no-f/i386-pc-solaris2.8/libstdc++-v3/src -L/vol/gnu/src/gcc-3.0-20010431/8-cc-local-sjlj-no-f/i386-pc-solaris2.8/libstdc++-v3/src/.libs -B/vol/gcc/share/i386-pc-solaris2.8/bin/ -B/vol/gcc/share/i386-pc-solaris2.8/lib/ -isystem /vol/gcc/share/i386-pc-solaris2.8/include -I/vol/src/gnu/src/gcc/gcc-3.0-branch/libstdc++-v3/../gcc -I/vol/src/gnu/src/gcc/gcc-3.0-branch/libstdc++-v3/../include -I/vol/src/gnu/src/gcc/gcc-3.0-branch/libstdc++-v3/include -I/vol/src/gnu/src/gcc/gcc-3.0-branch/libstdc++-v3/include/std -I/vol/src/gnu/src/gcc/gcc-3.0-branch/libstdc++-v3/include/c_std -I../include -I/vol/src/gnu/src/gcc/gcc-3.0-branch/libstdc++-v3/libsupc++ -g -O2 -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -c /vol/src/!
gnu/src/gcc/gcc-3.0-branch/libstdc++-v3/libsupc++/new_handler.cc  -fPIC -DPIC -o new_handler.o
Assembler: new_handler.cc
	"/var/tmp/ccK7xrRd.s", line 3 : Warning: R_386_32 relocation is used for symbol ".text"
	"/var/tmp/ccK7xrRd.s", line 4 : Warning: R_386_32 relocation is used for symbol ".text"
	"/var/tmp/ccK7xrRd.s", line 56 : Warning: R_386_32 relocation is used for symbol "_ZSt15set_new_handlerPFvvE"
	"/var/tmp/ccK7xrRd.s", line 99 : Warning: R_386_32 relocation is used for symbol "_ZNSt9bad_allocD2Ev"
	"/var/tmp/ccK7xrRd.s", line 133 : Warning: R_386_32 relocation is used for symbol "_ZNSt9bad_allocD1Ev"
	"/var/tmp/ccK7xrRd.s", line 167 : Warning: R_386_32 relocation is used for symbol "_ZNSt9bad_allocD0Ev"
	"/var/tmp/ccK7xrRd.s", line 259 : Warning: R_386_32 relocation is used for symbol ".text"
	"/var/tmp/ccK7xrRd.s", line 211 : Warning: R_386_32 relocation is used for symbol "_ZTISt9bad_alloc"
	"/var/tmp/ccK7xrRd.s", line 212 : Warning: R_386_32 relocation is used for symbol "_ZNSt9bad_allocD1Ev"
	"/var/tmp/ccK7xrRd.s", line 213 : Warning: R_386_32 relocation is used for symbol "_ZNSt9bad_allocD0Ev"
	"/var/tmp/ccK7xrRd.s", line 214 : Warning: R_386_32 relocation is used for symbol "_ZNKSt9exception4whatEv"
	"/var/tmp/ccK7xrRd.s", line 231 : Warning: R_386_32 relocation is used for symbol "_ZTVN10__cxxabiv120__si_class_type_infoE"
	"/var/tmp/ccK7xrRd.s", line 232 : Warning: R_386_32 relocation is used for symbol "_ZTSSt9bad_alloc"
	"/var/tmp/ccK7xrRd.s", line 233 : Warning: R_386_32 relocation is used for symbol "_ZTISt9exception"
	"/var/tmp/ccK7xrRd.s", line 248 : Warning: R_386_32 relocation is used for symbol "_ZTVN10__cxxabiv117__class_type_infoE"
	"/var/tmp/ccK7xrRd.s", line 249 : Warning: R_386_32 relocation is used for symbol "_ZTSSt9exception"

Input files available on request.

	Rainer

-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University

Email: ro@TechFak.Uni-Bielefeld.DE

-------------- next part --------------
A non-text attachment was scrubbed...
Name: new_op.ii.gz
Type: application/x-gzip
Size: 824 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20010531/2db35f45/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: new_op.s.gz
Type: application/x-gzip
Size: 2251 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20010531/2db35f45/attachment-0001.bin>


More information about the Gcc-bugs mailing list