public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/43085]  New: Make profiledbootstrap fails with cc1plus catching SIGSEGV
@ 2010-02-15 19:22 aanisimov at inbox dot ru
  2010-05-12  7:01 ` [Bug c++/43085] " fierevere at mail dot ru
                   ` (5 more replies)
  0 siblings, 6 replies; 25+ messages in thread
From: aanisimov at inbox dot ru @ 2010-02-15 19:22 UTC (permalink / raw)
  To: gcc-bugs

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:
/home/artem/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
/home/artem/testing/gcc-build/i686-slackware-linux/libstdc++-v3/include/ext/pool_allocator.h:140:30:
internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Here is the backtrace:

#0  0xb6ff08c7 in raise () from /lib/libc.so.6
#1  0xb6ff2132 in abort () from /lib/libc.so.6
#2  0x08269204 in real_abort () at ../../gcc/gcc/diagnostic.c:738
#3  diagnostic_action_after_output () at ../../gcc/gcc/diagnostic.c:201
#4  0x08269b09 in diagnostic_report_diagnostic (context=0x89ee8e0,
diagnostic=0xbfcbfa94) at ../../gcc/gcc/diagnostic.c:423
#5  0x0826986a in internal_error (gmsgid=0x885c7ad "%s") at
../../gcc/gcc/diagnostic.c:674
#6  0x083fefe0 in crash_signal (signo=11) at ../../gcc/gcc/toplev.c:629
#7  <signal handler called>
#8  0x080c8ea4 in build_new_method_call (instance=0xb6aaf508, fns=0x0,
args=0xbfcc019c, conversion_path=0xb6c886c8, flags=3,
    complain=3, fn_p=0x0) at ../../gcc/gcc/cp/call.c:6209
#9  0x080ca084 in build_special_member_call (instance=0xb6aaf508,
name=0xb6cf90d0, args=0xbfcc019c,
    binfo=<value optimized out>, flags=3, complain=3) at
../../gcc/gcc/cp/call.c:6115
#10 0x0817aa69 in expand_default_init (binfo=<value optimized out>,
true_exp=<value optimized out>,
    exp=<value optimized out>, init=<value optimized out>, flags=3, complain=3)
at ../../gcc/gcc/cp/init.c:1355
#11 expand_aggr_init_1 (binfo=<value optimized out>, true_exp=<value optimized
out>, exp=<value optimized out>,
    init=<value optimized out>, flags=3, complain=3) at
../../gcc/gcc/cp/init.c:1441
#12 0x0817e8f7 in emit_mem_initializers (mem_inits=0xb6abade0) at
../../gcc/gcc/cp/init.c:836
#13 0x080fd327 in tsubst_expr (t=<value optimized out>, args=<value optimized
out>, complain=<value optimized out>,
    in_decl=0xb6a9b1a0, integral_constant_expression_p=0 '\000') at
../../gcc/gcc/cp/pt.c:11392
#14 0x080fc6b7 in tsubst_expr (t=<value optimized out>, args=0xb6ab1768,
complain=3, in_decl=0xb6a9b1a0,
    integral_constant_expression_p=0 '\000') at ../../gcc/gcc/cp/pt.c:11387
#15 0x080fd225 in tsubst_expr (t=0xb6c900fc, args=0xb6ab1768, complain=3,
in_decl=0xb6a9b1a0,
    integral_constant_expression_p=0 '\000') at ../../gcc/gcc/cp/pt.c:11543
#16 0x0810b73d in instantiate_decl (d=<value optimized out>, defer_ok=<value
optimized out>, expl_inst_class_mem_p=0 '\000')
    at ../../gcc/gcc/cp/pt.c:16710
#17 0x08116630 in instantiate_pending_templates (retries=0) at
../../gcc/gcc/cp/pt.c:16807
#18 0x08130ca8 in cp_write_global_declarations () at
../../gcc/gcc/cp/decl2.c:3538
#19 0x083fe4d0 in compile_file (argc=41, argv=0xbfcc0674) at
../../gcc/gcc/toplev.c:1065
#20 do_compile (argc=41, argv=0xbfcc0674) at ../../gcc/gcc/toplev.c:2405
#21 toplev_main (argc=41, argv=0xbfcc0674) at ../../gcc/gcc/toplev.c:2447
#22 0x081fee3b in main (argc=41, argv=0xbfcc0674) at ../../gcc/gcc/main.c:35


-- 
           Summary: Make profiledbootstrap fails with cc1plus catching
                    SIGSEGV
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: aanisimov at inbox dot ru
 GCC build triplet: i686-slackware-linux
  GCC host triplet: i686-slackware-linux
GCC target triplet: i686-slackware-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43085


^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2011-05-02 14:19 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-43085-4@http.gcc.gnu.org/bugzilla/>
2010-10-11 17:46 ` [Bug c++/43085] Make profiledbootstrap fails with cc1plus catching SIGSEGV jamborm at gcc dot gnu.org
2010-10-12 12:25 ` aanisimov at inbox dot ru
2010-10-12 12:28 ` aanisimov at inbox dot ru
2010-10-13 14:31 ` fierevere at ya dot ru
2010-10-13 14:38 ` jamborm at gcc dot gnu.org
2010-10-13 15:11 ` fierevere at ya dot ru
2010-10-13 17:48 ` aanisimov at inbox dot ru
2010-12-16 11:15 ` jamborm at gcc dot gnu.org
2010-12-21 14:35 ` jamborm at gcc dot gnu.org
2010-12-21 14:44 ` onur at pardus dot org.tr
2010-12-21 17:11 ` onur at pardus dot org.tr
2011-02-28  9:56 ` onur at pardus dot org.tr
2011-02-28 10:09 ` onur at pardus dot org.tr
2011-04-13  7:24 ` fierevere at ya dot ru
2011-04-13  7:24 ` michael.hope at linaro dot org
2011-04-27 16:19 ` [Bug middle-end/43085] " uweigand at gcc dot gnu.org
2011-04-27 16:29 ` uweigand at gcc dot gnu.org
2011-05-02 14:18 ` uweigand at gcc dot gnu.org
2011-05-02 14:19 ` uweigand at gcc dot gnu.org
2010-02-15 19:22 [Bug other/43085] New: " aanisimov at inbox dot ru
2010-05-12  7:01 ` [Bug c++/43085] " fierevere at mail dot ru
2010-05-12  7:05 ` fierevere at mail dot ru
2010-09-01 20:48 ` fierevere at ya dot ru
2010-09-06 15:56 ` doko at ubuntu dot com
2010-09-15 21:01 ` pinskia at gcc dot gnu dot org
2010-09-16  9:31 ` rguenth at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).