tech-toolchain archive

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

internal compiler error


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

The 'unwind library not available' part looks bad too. Shouldn't we
have one?

Should I file one PR? Two?

Home | Main Index | Thread Index | Old Index