tech-toolchain archive

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

Re: internal compiler error



On Thu, Apr 10, 2014 at 09:40:14AM +0200, Thomas Klausner wrote:
> 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.

That's on 6.99.40/amd64 from April 8.

> 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 <http://www.NetBSD.org/Misc/send-pr.html> for instructions.
> scons: *** [src/cpu.o] Error 1
> 
> I've looked with ktrace, it's cc1plus reporting that error (forked by
> g++).
> 
> The 'unwind library not available' part looks bad too. Shouldn't we
> have one?
> 
> Should I file one PR? Two?
>  Thomas
> 


Home | Main Index | Thread Index | Old Index