bootstrap/6792: Fails with ICE when compiling 32 bit version of libstdc++-v3/libsupc++/del_op.cc on Solaris
rschiele@uni-mannheim.de
rschiele@uni-mannheim.de
Thu May 23 22:26:00 GMT 2002
>Number: 6792
>Category: bootstrap
>Synopsis: Fails with ICE when compiling 32 bit version of libstdc++-v3/libsupc++/del_op.cc on Solaris
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Thu May 23 22:26:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Robert Schiele
>Release: 3.2 20020522 (experimental)
>Organization:
>Environment:
System: SunOS avatar 5.8 Generic_108528-12 sun4u sparc SUNW,Ultra-5_10
Architecture: sun4
host: sparc-sun-solaris2.8
build: sparc-sun-solaris2.8
target: sparc-sun-solaris2.8
configured with: /home/schiele/gcccvs/gcc/configure --enable-threads=posix --enable-long-long --prefix=/opt/Pkg/SunOS/gcc32 --enable-languages=c,c++,f77,objc,java --disable-nls --enable-shared sparc-sun-solaris2.8
>Description:
Bootstraping on Solaris(Sparc) fails with
...
Making all in libsupc++
make[4]: Entering directory `/export/share1/gccbuild/sparc-sun-solaris2.8/libstdc++-v3/libsupc++'
rm -f cxa_demangle.c
ln -s /home/schiele/gcccvs/gcc/libstdc++-v3/../libiberty/cp-demangle.c cxa_demangle.c
/bin/sh ../libtool --tag CC --tag disable-shared --mode=compile /export/share1/gccbuild/gcc/xgcc -B/export/share1/gccbuild/gcc/ -B/opt/Pkg/SunOS/gcc32/sparc-sun-solaris2.8/bin/ -B/opt/Pkg/SunOS/gcc32/sparc-sun-solaris2.8/lib/ -isystem /opt/Pkg/SunOS/gcc32/sparc-sun-solaris2.8/include -DHAVE_CONFIG_H -I. -I/home/schiele/gcccvs/gcc/libstdc++-v3/libsupc++ -I.. -I/home/schiele/gcccvs/gcc/libstdc++-v3/../gcc -I/home/schiele/gcccvs/gcc/libstdc++-v3/../include -I/export/share1/gccbuild/sparc-sun-solaris2.8/libstdc++-v3/include/sparc-sun-solaris2.8 -I/export/share1/gccbuild/sparc-sun-solaris2.8/libstdc++-v3/include -I/home/schiele/gcccvs/gcc/libstdc++-v3/libsupc++ -g -O2 -fno-implicit-templates -prefer-pic -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -DIN_GLIBCPP_V3 -Wno-error -c cxa_demangle.c
/export/share1/gccbuild/gcc/xgcc -B/export/share1/gccbuild/gcc/ -B/opt/Pkg/SunOS/gcc32/sparc-sun-solaris2.8/bin/ -B/opt/Pkg/SunOS/gcc32/sparc-sun-solaris2.8/lib/ -isystem /opt/Pkg/SunOS/gcc32/sparc-sun-solaris2.8/include -DHAVE_CONFIG_H -I. -I/home/schiele/gcccvs/gcc/libstdc++-v3/libsupc++ -I.. -I/home/schiele/gcccvs/gcc/libstdc++-v3/../gcc -I/home/schiele/gcccvs/gcc/libstdc++-v3/../include -I/export/share1/gccbuild/sparc-sun-solaris2.8/libstdc++-v3/include/sparc-sun-solaris2.8 -I/export/share1/gccbuild/sparc-sun-solaris2.8/libstdc++-v3/include -I/home/schiele/gcccvs/gcc/libstdc++-v3/libsupc++ -g -O2 -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -DIN_GLIBCPP_V3 -Wno-error -c cxa_demangle.c -fPIC -DPIC -o cxa_demangle.o
cc1: warning: ignoring command line option '-fno-implicit-templates'
cc1: warning: (it is valid for C++ but not the selected language)
cxa_demangle.c:3866: warning: `demangle_v3_with_details' defined but not used
/bin/sh ../libtool --tag CXX --tag disable-shared --mode=compile /export/share1/gccbuild/gcc/xgcc -shared-libgcc -B/export/share1/gccbuild/gcc/ -nostdinc++ -L/export/share1/gccbuild/sparc-sun-solaris2.8/libstdc++-v3/src -L/export/share1/gccbuild/sparc-sun-solaris2.8/libstdc++-v3/src/.libs -B/opt/Pkg/SunOS/gcc32/sparc-sun-solaris2.8/bin/ -B/opt/Pkg/SunOS/gcc32/sparc-sun-solaris2.8/lib/ -isystem /opt/Pkg/SunOS/gcc32/sparc-sun-solaris2.8/include -I/home/schiele/gcccvs/gcc/libstdc++-v3/../gcc -I/home/schiele/gcccvs/gcc/libstdc++-v3/../include -I/export/share1/gccbuild/sparc-sun-solaris2.8/libstdc++-v3/include/sparc-sun-solaris2.8 -I/export/share1/gccbuild/sparc-sun-solaris2.8/libstdc++-v3/include -I/home/schiele/gcccvs/gcc/libstdc++-v3/libsupc++ -g -O2 -fno-implicit-templates -prefer-pic -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -c /home/schiele/gcccvs/gcc/libstdc++-v3/libsupc++/del_op.cc
/export/share1/gccbuild/gcc/xgcc -shared-libgcc -B/export/share1/gccbuild/gcc/ -nostdinc++ -L/export/share1/gccbuild/sparc-sun-solaris2.8/libstdc++-v3/src -L/export/share1/gccbuild/sparc-sun-solaris2.8/libstdc++-v3/src/.libs -B/opt/Pkg/SunOS/gcc32/sparc-sun-solaris2.8/bin/ -B/opt/Pkg/SunOS/gcc32/sparc-sun-solaris2.8/lib/ -isystem /opt/Pkg/SunOS/gcc32/sparc-sun-solaris2.8/include -I/home/schiele/gcccvs/gcc/libstdc++-v3/../gcc -I/home/schiele/gcccvs/gcc/libstdc++-v3/../include -I/export/share1/gccbuild/sparc-sun-solaris2.8/libstdc++-v3/include/sparc-sun-solaris2.8 -I/export/share1/gccbuild/sparc-sun-solaris2.8/libstdc++-v3/include -I/home/schiele/gcccvs/gcc/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 /home/schiele/gcccvs/gcc/libstdc++-v3/libsupc++/del_op.cc -fPIC -DPIC -o del_op.o
In file included from /home/schiele/gcccvs/gcc/libstdc++-v3/libsupc++/new:42,
from /home/schiele/gcccvs/gcc/libstdc++-v3/libsupc++/del_op.cc:31:
/home/schiele/gcccvs/gcc/libstdc++-v3/libsupc++/exception:72: Internal compiler
error in decl_type_context, at tree.c:4229
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[4]: *** [del_op.lo] Error 1
make[4]: Leaving directory `/export/share1/gccbuild/sparc-sun-solaris2.8/libstdc++-v3/libsupc++'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/export/share1/gccbuild/sparc-sun-solaris2.8/libstdc++-v3'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory `/export/share1/gccbuild/sparc-sun-solaris2.8/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/export/share1/gccbuild'
make: *** [bootstrap] Error 2
The same happens on sparc64-sun-solaris2.8 when building the sparcv7 version of this library.
This does _not_ happen on sparc-*-linux-gnu.
Feel free to request more needed information.
>How-To-Repeat:
Just bootstrap on sparc*-sun-solaris2.8.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list