NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: toolchain/48731: internal compiler error (wip/gambatte; g++/bits/basic_string.tcc)
The following reply was made to PR toolchain/48731; it has been noted by GNATS.
From: Thomas Klausner <wiz%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: toolchain/48731: internal compiler error (wip/gambatte;
g++/bits/basic_string.tcc)
Date: Thu, 10 Apr 2014 11:39:07 +0200
On Thu, Apr 10, 2014 at 11:05:25AM +0200, Martin Husemann wrote:
> You can re-invoke g++ manually and add -v to the command line, which
> will make it print out the actually cc1plus invocation - which you
> can then run inside gdb.
(gdb) r -quiet -v -I src -I include -I
/disk/3/archive/obj/wip/gambatte-dev/work.x86_64/gambatte_src-r550/common -D
HAVE_STDINT_H src/cpu.cpp -quiet -dumpbase cpu.cpp -mtune=nocona -march=x86-64
-auxbase-strip sr
c/cpu.o -O2 -Wall -Wextra -version -fomit-frame-pointer -fno-exceptions
-fno-rtti -o /var/tmp//ccfIzQKQ.s
Starting program: /usr/libexec/cc1plus -quiet -v -I src -I include -I
/disk/3/archive/obj/wip/gambatte-dev/work.x86_64/gambatte_src-r550/common -D
HAVE_STDINT_H src/cpu.cpp -quiet -dumpbase cpu.cpp -mtune=nocona
-march=x86-64 -auxbase-strip src/cpu.o -O2 -Wall -Wextra -version
-fomit-frame-pointer -fno-exceptions -fno-rtti -o /var/tmp//ccfIzQKQ.s
GNU C++ (NetBSD nb2 20140304) version 4.8.3 (x86_64--netbsd)
compiled by GNU C version 4.2.1 Compatible Clang 3.5 (trunk 202566),
GMP version 5.1.3, MPFR version 3.1.2, MPC version 1.0.1
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
#include "..." search starts here:
#include <...> search starts here:
src
include
/disk/3/archive/obj/wip/gambatte-dev/work.x86_64/gambatte_src-r550/common
/usr/include/g++
/usr/include/g++/backward
/usr/include/gcc-4.8
/usr/include
End of search list.
GNU C++ (NetBSD nb2 20140304) version 4.8.3 (x86_64--netbsd)
compiled by GNU C version 4.2.1 Compatible Clang 3.5 (trunk 202566),
GMP version 5.1.3, MPFR version 3.1.2, MPC version 1.0.1
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 4054f87540345d4e138a62067c6e8c30
Program received signal SIGSEGV, Segmentation fault.
0x00000000004f7670 in poplevel_class () at
/archive/foreign/src/external/gpl3/gcc/dist/gcc/cp/name-lookup.c:2860
2860 IDENTIFIER_BINDING (cb->identifier) = cb->base->previous;
(gdb) bt
#0 0x00000000004f7670 in poplevel_class () at
/archive/foreign/src/external/gpl3/gcc/dist/gcc/cp/name-lookup.c:2860
#1 0x0000000000459b9c in popclass () at
/archive/foreign/src/external/gpl3/gcc/dist/gcc/cp/class.c:6935
#2 pop_nested_class () at
/archive/foreign/src/external/gpl3/gcc/dist/gcc/cp/class.c:7081
#3 0x000000000042a934 in finish_function (flags=<optimized out>) at
/archive/foreign/src/external/gpl3/gcc/dist/gcc/cp/decl.c:13991
#4 0x000000000048d01a in cp_parser_function_definition_after_declarator
(parser=0x7f7ff6035bb0, inline_p=false) at
/archive/foreign/src/external/gpl3/gcc/dist/gcc/cp/parser.c:21837
#5 0x0000000000478f98 in
cp_parser_function_definition_from_specifiers_and_declarator (parser=<optimized
out>, decl_specifiers=<optimized out>, attributes=<optimized out>,
declarator=<optimized out>)
at /archive/foreign/src/external/gpl3/gcc/dist/gcc/cp/parser.c:21752
#6 cp_parser_init_declarator (parser=0x7f7ff6035bb0,
decl_specifiers=<optimized out>, checks=<optimized out>,
function_definition_allowed_p=<optimized out>, member_p=<optimized out>,
declares_class_or_enum=<optimized out>, function_definition_p=<optimized
out>, maybe_range_for_decl=<optimized out>) at
/archive/foreign/src/external/gpl3/gcc/dist/gcc/cp/parser.c:15905
#7 0x000000000049efee in cp_parser_single_declaration (parser=0x7f7ff6035bb0,
checks=0x0, member_p=false, explicit_specialization_p=false,
friend_p=<optimized out>)
at /archive/foreign/src/external/gpl3/gcc/dist/gcc/cp/parser.c:22127
#8 0x000000000049e573 in cp_parser_template_declaration_after_export
(parser=0x7f7ff6035bb0, member_p=false) at
/archive/foreign/src/external/gpl3/gcc/dist/gcc/cp/parser.c:21941
#9 0x0000000000472bf7 in cp_parser_template_declaration
(parser=0x7f7ff6035bb0, member_p=false) at
/archive/foreign/src/external/gpl3/gcc/dist/gcc/cp/parser.c:12226
#10 cp_parser_declaration (parser=0x7f7ff6035bb0) at
/archive/foreign/src/external/gpl3/gcc/dist/gcc/cp/parser.c:10404
#11 0x0000000000470c58 in cp_parser_declaration_seq_opt
(parser=0x7f7ff6035bb0) at
/archive/foreign/src/external/gpl3/gcc/dist/gcc/cp/parser.c:10334
#12 0x00000000004738d8 in cp_parser_namespace_body (parser=0x7f7ff6035bb0) at
/archive/foreign/src/external/gpl3/gcc/dist/gcc/cp/parser.c:15136
#13 cp_parser_namespace_definition (parser=0x7f7ff6035bb0) at
/archive/foreign/src/external/gpl3/gcc/dist/gcc/cp/parser.c:15117
#14 0x0000000000472b49 in cp_parser_declaration (parser=0x7f7ff6035bb0) at
/archive/foreign/src/external/gpl3/gcc/dist/gcc/cp/parser.c:10432
#15 0x0000000000470c58 in cp_parser_declaration_seq_opt
(parser=0x7f7ff6035bb0) at
/archive/foreign/src/external/gpl3/gcc/dist/gcc/cp/parser.c:10334
#16 0x000000000046fcff in cp_parser_translation_unit (parser=<optimized out>)
at /archive/foreign/src/external/gpl3/gcc/dist/gcc/cp/parser.c:3813
#17 c_parse_file () at
/archive/foreign/src/external/gpl3/gcc/dist/gcc/cp/parser.c:28334
#18 0x00000000005387a4 in c_common_parse_file () at
/archive/foreign/src/external/gpl3/gcc/dist/gcc/c-family/c-opts.c:1046
#19 0x000000000067c3aa in compile_file () at
/archive/foreign/src/external/gpl3/gcc/dist/gcc/toplev.c:543
#20 0x000000000067c207 in do_compile () at
/archive/foreign/src/external/gpl3/gcc/dist/gcc/toplev.c:1864
#21 toplev_main (argc=28, argv=0x7f7fffffd310) at
/archive/foreign/src/external/gpl3/gcc/dist/gcc/toplev.c:1940
#22 0x0000000000403059 in ___start ()
#23 0x00007f7ff7c042c0 in ?? () at
/archive/foreign/src/libexec/ld.elf_so/rtld.c:1426 from /libexec/ld.elf_so
#24 0x00007f7ff7ffa000 in ?? ()
#25 0x000000000000001c in ?? ()
(lots more ??)
Thomas
Home |
Main Index |
Thread Index |
Old Index