NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

toolchain/48731: internal compiler error (wip/gambatte; g++/bits/basic_string.tcc)

>Number:         48731
>Category:       toolchain
>Synopsis:       internal compiler error (wip/gambatte; 
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 10 09:35:00 +0000 2014
>Originator:     Thomas Klausner
>Release:        NetBSD 6.99.40/20140408
Curiosity is the very basis of education and if you tell me that
curiosity killed the cat, I say only that the cat died nobly.
- Arnold Edinborough
System: NetBSD 6.99.40
Architecture: x86_64
Machine: amd64
I've tried compiling wip/gambatte-dev. I've configured pkgsrc to use
clang, but in this case the package seems to use g++ anyway.

Building immediately stops with:

scons: Building targets ...
g++ -o src/cpu.o -c -Wall -Wextra -O2 -fomit-frame-pointer -fno-exceptions 
-fno-rtti -DHAVE_STDINT_H -Isrc -Iinclude 
-I/scratch/wip/gambatte-dev/work/gambatte_src-r550/common src/cpu.cpp
In file included from /usr/include/g++/string:53:0,
                 from include/loadres.h:4,
                 from src/mem/cartridge.h:22,
                 from src/memory.h:22,
                 from src/cpu.h:22,
                 from src/cpu.cpp:19:
/usr/include/g++/bits/basic_string.tcc:464:5: internal compiler error: 
Segmentation fault
no stack trace because unwind library not available
Please submit a full bug report,
with preprocessed source if appropriate.
See <> for instructions.
scons: *** [src/cpu.o] Error 1

I've looked with ktrace, it's cc1plus reporting that error (forked by

cd /usr/pkgsrc/wip/gambatte-dev


Home | Main Index | Thread Index | Old Index