=> Bootstrap dependency digest>=20010302: found digest-20190127
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for libretro-gearsystem-3.1.0
clang++ -O2 -I/usr/include -O3 -DGEARSYSTEM_DISABLE_DISASSEMBLER -Wall -D__LIBRETRO__ -fPIC -I/usr/include  -c -o libretro.o libretro.cpp
clang++ -O2 -I/usr/include -O3 -DGEARSYSTEM_DISABLE_DISASSEMBLER -Wall -D__LIBRETRO__ -fPIC -I/usr/include  -c -o ../../src/GearsystemCore.o ../../src/GearsystemCore.cpp
clang++ -O2 -I/usr/include -O3 -DGEARSYSTEM_DISABLE_DISASSEMBLER -Wall -D__LIBRETRO__ -fPIC -I/usr/include  -c -o ../../src/Memory.o ../../src/Memory.cpp
clang++ -O2 -I/usr/include -O3 -DGEARSYSTEM_DISABLE_DISASSEMBLER -Wall -D__LIBRETRO__ -fPIC -I/usr/include  -c -o ../../src/Processor.o ../../src/Processor.cpp
clang++ -O2 -I/usr/include -O3 -DGEARSYSTEM_DISABLE_DISASSEMBLER -Wall -D__LIBRETRO__ -fPIC -I/usr/include  -c -o ../../src/Video.o ../../src/Video.cpp
clang++ -O2 -I/usr/include -O3 -DGEARSYSTEM_DISABLE_DISASSEMBLER -Wall -D__LIBRETRO__ -fPIC -I/usr/include  -c -o ../../src/Audio.o ../../src/Audio.cpp
clang++ -O2 -I/usr/include -O3 -DGEARSYSTEM_DISABLE_DISASSEMBLER -Wall -D__LIBRETRO__ -fPIC -I/usr/include  -c -o ../../src/Input.o ../../src/Input.cpp
clang++ -O2 -I/usr/include -O3 -DGEARSYSTEM_DISABLE_DISASSEMBLER -Wall -D__LIBRETRO__ -fPIC -I/usr/include  -c -o ../../src/Cartridge.o ../../src/Cartridge.cpp
clang++ -O2 -I/usr/include -O3 -DGEARSYSTEM_DISABLE_DISASSEMBLER -Wall -D__LIBRETRO__ -fPIC -I/usr/include  -c -o ../../src/MemoryRule.o ../../src/MemoryRule.cpp
clang++ -O2 -I/usr/include -O3 -DGEARSYSTEM_DISABLE_DISASSEMBLER -Wall -D__LIBRETRO__ -fPIC -I/usr/include  -c -o ../../src/CodemastersMemoryRule.o ../../src/CodemastersMemoryRule.cpp
clang++ -O2 -I/usr/include -O3 -DGEARSYSTEM_DISABLE_DISASSEMBLER -Wall -D__LIBRETRO__ -fPIC -I/usr/include  -c -o ../../src/GameGearIOPorts.o ../../src/GameGearIOPorts.cpp
clang++ -O2 -I/usr/include -O3 -DGEARSYSTEM_DISABLE_DISASSEMBLER -Wall -D__LIBRETRO__ -fPIC -I/usr/include  -c -o ../../src/RomOnlyMemoryRule.o ../../src/RomOnlyMemoryRule.cpp
clang++ -O2 -I/usr/include -O3 -DGEARSYSTEM_DISABLE_DISASSEMBLER -Wall -D__LIBRETRO__ -fPIC -I/usr/include  -c -o ../../src/SegaMemoryRule.o ../../src/SegaMemoryRule.cpp
clang++ -O2 -I/usr/include -O3 -DGEARSYSTEM_DISABLE_DISASSEMBLER -Wall -D__LIBRETRO__ -fPIC -I/usr/include  -c -o ../../src/KoreanMemoryRule.o ../../src/KoreanMemoryRule.cpp
clang++ -O2 -I/usr/include -O3 -DGEARSYSTEM_DISABLE_DISASSEMBLER -Wall -D__LIBRETRO__ -fPIC -I/usr/include  -c -o ../../src/SG1000MemoryRule.o ../../src/SG1000MemoryRule.cpp
clang++ -O2 -I/usr/include -O3 -DGEARSYSTEM_DISABLE_DISASSEMBLER -Wall -D__LIBRETRO__ -fPIC -I/usr/include  -c -o ../../src/SmsIOPorts.o ../../src/SmsIOPorts.cpp
clang++ -O2 -I/usr/include -O3 -DGEARSYSTEM_DISABLE_DISASSEMBLER -Wall -D__LIBRETRO__ -fPIC -I/usr/include  -c -o ../../src/opcodes.o ../../src/opcodes.cpp
LLVM ERROR: out of memory
PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.	Program arguments: /usr/bin/clang -cc1 -triple x86_64-unknown-netbsd -emit-obj -disable-free -main-file-name Memory.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix -mframe-pointer=none -fno-rounding-math -mconstructor-aliases -munwind-tables -target-cpu x86-64 -dwarf-column-info -fno-split-dwarf-inlining -debugger-tuning=gdb -target-linker-version 1 -resource-dir /usr/lib/clang/10.0.0 -D GEARSYSTEM_DISABLE_DISASSEMBLER -D __LIBRETRO__ -I /data/scratch/emulators/libretro-gearsystem/work/.buildlink/include -internal-isystem /usr/include/c++ -O3 -Wall -fdeprecated-macro -fdebug-compilation-dir /data/scratch/emulators/libretro-gearsystem/work/Gearsystem-gearsystem-3.1.0/platforms/libretro -ferror-limit 19 -stack-protector 1 -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -vectorize-loops -vectorize-slp -o ../../src/Memory.o -x c++ ../../src/Memory.cpp 
1.	../../src/Memory.cpp:47:5: current parser token 'm_Breakpoints'
2.	../../src/Memory.cpp:43:1: parsing function body 'Memory::Init'
3.	../../src/Memory.cpp:43:1: in compound statement ('{}')
clang++ -O2 -I/usr/include -O3 -DGEARSYSTEM_DISABLE_DISASSEMBLER -Wall -D__LIBRETRO__ -fPIC -I/usr/include  -c -o ../../src/opcodes_cb.o ../../src/opcodes_cb.cpp
clang++ -O2 -I/usr/include -O3 -DGEARSYSTEM_DISABLE_DISASSEMBLER -Wall -D__LIBRETRO__ -fPIC -I/usr/include  -c -o ../../src/opcodes_ed.o ../../src/opcodes_ed.cpp
clang++ -O2 -I/usr/include -O3 -DGEARSYSTEM_DISABLE_DISASSEMBLER -Wall -D__LIBRETRO__ -fPIC -I/usr/include  -c -o ../../src/audio/Blip_Buffer.o ../../src/audio/Blip_Buffer.cpp
clang++ -O2 -I/usr/include -O3 -DGEARSYSTEM_DISABLE_DISASSEMBLER -Wall -D__LIBRETRO__ -fPIC -I/usr/include  -c -o ../../src/audio/Effects_Buffer.o ../../src/audio/Effects_Buffer.cpp
clang++ -O2 -I/usr/include -O3 -DGEARSYSTEM_DISABLE_DISASSEMBLER -Wall -D__LIBRETRO__ -fPIC -I/usr/include  -c -o ../../src/audio/Sms_Apu.o ../../src/audio/Sms_Apu.cpp
clang++ -O2 -I/usr/include -O3 -DGEARSYSTEM_DISABLE_DISASSEMBLER -Wall -D__LIBRETRO__ -fPIC -I/usr/include  -c -o ../../src/audio/Multi_Buffer.o ../../src/audio/Multi_Buffer.cpp
clang: error: unable to execute command: Segmentation fault (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 10.0.0  (b31cb3aa5ee7ea92d830b06a0a7e42c7f2791dd4)
Target: x86_64-unknown-netbsd
Thread model: posix
InstalledDir: /usr/bin
clang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/Memory-ef6478.cpp
clang: note: diagnostic msg: /tmp/Memory-ef6478.sh
clang: note: diagnostic msg: 

********************
gmake: *** [<builtin>: ../../src/Memory.o] Error 254
gmake: *** Waiting for unfinished jobs....
*** Error code 2

Stop.
make[1]: stopped in /data/pkgsrc/emulators/libretro-gearsystem
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/emulators/libretro-gearsystem