Profiled bootstrap fails in FSF GCC 4.5
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro GCC |
Fix Released
|
Medium
|
Ulrich Weigand | ||
gcc |
Fix Released
|
Medium
|
Bug Description
NOTE: The bug used to track two independent problems. The Linaro GCC 4.5 specific problem is now split-off into LP #771900. This LP now only tracks the FSF GCC 4.5 branch problem described in GCC bugzilla 43085.
Original bug report follows:
Running a profiled bootstrap of gcc-linaro-
http://
../..
../../.
../../.
../../.
../../.
../../.
../../.
../../.
../../.
../../.
../../.
This is while running the all-stagefeedba
Changed in gcc-linaro: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in gcc: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in gcc: | |
status: | Confirmed → Fix Released |
Changed in gcc-linaro: | |
status: | In Progress → Fix Committed |
milestone: | none → 4.5-2011.05-0 |
Changed in gcc-linaro: | |
status: | Fix Committed → Fix Released |
I configured GCC rev. 156770 with the following options:
../gcc/configure --prefix= /home/artem/ testing/ gcc45 --enable-shared --enable-bootstrap --enable- languages= c,c++ --enable- threads= posix --enable- checking= release --with-system-zlib --disable- libunwind- exceptions --enable- __cxa_atexit --enable-libssp --with-gnu-ld --with-lto --disable-nls --verbose --with-arch=i686 --target= i686-slackware- linux --build= i686-slackware- linux --host= i686-slackware- linux
With this configuration 'make' completes successfully, but 'make profiledbootstrap' fails.
The last command which gets executed is
/home/artem/ testing/ gcc-build/ ./gcc/xgcc -shared-libgcc -B/home/ artem/testing/ gcc-build/ ./gcc -nostdinc++ -L/home/ artem/testing/ gcc-build/ i686-slackware- linux/libstdc+ +-v3/src -L/home/ artem/testing/ gcc-build/ i686-slackware- linux/libstdc+ +-v3/src/ .libs -B/home/ artem/testing/ gcc45/i686- slackware- linux/bin/ -B/home/ artem/testing/ gcc45/i686- slackware- linux/lib/ -isystem /home/artem/ testing/ gcc45/i686- slackware- linux/include -isystem /home/artem/ testing/ gcc45/i686- slackware- linux/sys- include -I/home/ artem/testing/ gcc-build/ i686-slackware- linux/libstdc+ +-v3/include/ i686-slackware- linux -I/home/ artem/testing/ gcc-build/ i686-slackware- linux/libstdc+ +-v3/include -I/home/ artem/testing/ gcc/libstdc+ +-v3/libsupc+ + -fno-implicit- templates -Wall -Wextra -Wwrite-strings -Wcast-qual -fdiagnostics- show-location= once -ffunction-sections -fdata-sections -g -O2 -D_GNU_SOURCE -c ../../. ./../gcc/ libstdc+ +-v3/src/ pool_allocator. cc -fPIC -DPIC -o .libs/pool_ allocator. o
While compiling pool_allocator.o, cc1plus catches SIGSEGV:
In file included from ../../. ./../gcc/ libstdc+ +-v3/src/ pool_allocator. cc:31:0: testing/ gcc-build/ i686-slackware- linux/libstdc+ +-v3/include/ ext/pool_ allocator. h: In constructor '__gnu_ cxx::__ pool_alloc< _Tp>::_ _pool_alloc( ) [with _Tp = char]': ./../gcc/ libstdc+ +-v3/src/ pool_allocator. cc:171: 18: instantiated from here testing/ gcc-build/ i686-slackware- linux/libstdc+ +-v3/include/ ext/pool_ allocator. h:140:30: internal compiler error: Segmentation fault gcc.gnu. org/bugs. html> for instructions.
/home/artem/
../../.
/home/artem/
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://
Here is the backtrace:
#0 0xb6ff08c7 in raise () from /lib/libc.so.6 gcc/diagnostic. c:738 action_ after_output () at ../../gcc/ gcc/diagnostic. c:201 report_ diagnostic (context=0x89ee8e0, diagnostic= 0xbfcbfa94) at ../../gcc/ gcc/diagnostic. c:423 gcc/diagnostic. c:674 gcc/toplev. c:629 method_ call (instance= 0xb6aaf508, fns=0x0, args=0xbfcc019c, conversion_ path=0xb6c886c8 , flags=3, gcc/cp/ call.c: 6209 member_ call (instance= 0xb6aaf508, name=0xb6cf90d0, args=0xbfcc019c, gcc/cp/ call.c: 6115 default_ in...
#1 0xb6ff2132 in abort () from /lib/libc.so.6
#2 0x08269204 in real_abort () at ../../gcc/
#3 diagnostic_
#4 0x08269b09 in diagnostic_
#5 0x0826986a in internal_error (gmsgid=0x885c7ad "%s") at ../../gcc/
#6 0x083fefe0 in crash_signal (signo=11) at ../../gcc/
#7 <signal handler called>
#8 0x080c8ea4 in build_new_
complain=3, fn_p=0x0) at ../../gcc/
#9 0x080ca084 in build_special_
binfo=<value optimized out>, flags=3, complain=3) at ../../gcc/
#10 0x0817aa69 in expand_