=> 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 gearsystem-3.1.0 gmake: git: Command not found clang++ -O2 -I/usr/pkg/include/SDL2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG `sdl2-config --cflags` -c -o main.o ../desktop-shared/main.cpp clang++ -O2 -I/usr/pkg/include/SDL2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG `sdl2-config --cflags` -c -o emu.o ../desktop-shared/emu.cpp clang++ -O2 -I/usr/pkg/include/SDL2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG `sdl2-config --cflags` -c -o gui.o ../desktop-shared/gui.cpp clang++ -O2 -I/usr/pkg/include/SDL2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG `sdl2-config --cflags` -c -o gui_debug.o ../desktop-shared/gui_debug.cpp clang++ -O2 -I/usr/pkg/include/SDL2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG `sdl2-config --cflags` -c -o application.o ../desktop-shared/application.cpp clang++ -O2 -I/usr/pkg/include/SDL2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG `sdl2-config --cflags` -c -o config.o ../desktop-shared/config.cpp clang++ -O2 -I/usr/pkg/include/SDL2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG `sdl2-config --cflags` -c -o renderer.o ../desktop-shared/renderer.cpp clang++ -O2 -I/usr/pkg/include/SDL2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG `sdl2-config --cflags` -c -o imgui_impl_sdl.o ../desktop-shared/imgui/imgui_impl_sdl.cpp clang++ -O2 -I/usr/pkg/include/SDL2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG `sdl2-config --cflags` -c -o imgui_impl_opengl2.o ../desktop-shared/imgui/imgui_impl_opengl2.cpp clang++ -O2 -I/usr/pkg/include/SDL2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG `sdl2-config --cflags` -c -o imgui.o ../desktop-shared/imgui/imgui.cpp clang++ -O2 -I/usr/pkg/include/SDL2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG `sdl2-config --cflags` -c -o imgui_demo.o ../desktop-shared/imgui/imgui_demo.cpp clang++ -O2 -I/usr/pkg/include/SDL2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG `sdl2-config --cflags` -c -o imgui_draw.o ../desktop-shared/imgui/imgui_draw.cpp clang++ -O2 -I/usr/pkg/include/SDL2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG `sdl2-config --cflags` -c -o imgui_widgets.o ../desktop-shared/imgui/imgui_widgets.cpp clang++ -O2 -I/usr/pkg/include/SDL2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG `sdl2-config --cflags` -c -o ImGuiFileBrowser.o ../desktop-shared/FileBrowser/ImGuiFileBrowser.cpp clang++ -O2 -I/usr/pkg/include/SDL2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG `sdl2-config --cflags` -c -o Audio.o ../../src/Audio.cpp clang++ -O2 -I/usr/pkg/include/SDL2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG `sdl2-config --cflags` -c -o Cartridge.o ../../src/Cartridge.cpp ../desktop-shared/FileBrowser/ImGuiFileBrowser.cpp:870:24: warning: bitwise or with non-zero value always evaluates to true [-Wtautological-bitwise-compare] if(filter_mode | FilterMode_Files) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ../desktop-shared/FileBrowser/ImGuiFileBrowser.cpp:861:24: warning: bitwise or with non-zero value always evaluates to true [-Wtautological-bitwise-compare] if(filter_mode | FilterMode_Dirs) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ clang++ -O2 -I/usr/pkg/include/SDL2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG `sdl2-config --cflags` -c -o CodemastersMemoryRule.o ../../src/CodemastersMemoryRule.cpp clang++ -O2 -I/usr/pkg/include/SDL2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG `sdl2-config --cflags` -c -o GameGearIOPorts.o ../../src/GameGearIOPorts.cpp 2 warnings generated. clang++ -O2 -I/usr/pkg/include/SDL2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG `sdl2-config --cflags` -c -o GearsystemCore.o ../../src/GearsystemCore.cpp clang++ -O2 -I/usr/pkg/include/SDL2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG `sdl2-config --cflags` -c -o Input.o ../../src/Input.cpp clang++ -O2 -I/usr/pkg/include/SDL2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG `sdl2-config --cflags` -c -o KoreanMemoryRule.o ../../src/KoreanMemoryRule.cpp clang++ -O2 -I/usr/pkg/include/SDL2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG `sdl2-config --cflags` -c -o Memory.o ../../src/Memory.cpp clang++ -O2 -I/usr/pkg/include/SDL2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG `sdl2-config --cflags` -c -o MemoryRule.o ../../src/MemoryRule.cpp clang++ -O2 -I/usr/pkg/include/SDL2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG `sdl2-config --cflags` -c -o opcodes.o ../../src/opcodes.cpp clang++ -O2 -I/usr/pkg/include/SDL2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG `sdl2-config --cflags` -c -o opcodes_cb.o ../../src/opcodes_cb.cpp clang++ -O2 -I/usr/pkg/include/SDL2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG `sdl2-config --cflags` -c -o opcodes_ed.o ../../src/opcodes_ed.cpp clang++ -O2 -I/usr/pkg/include/SDL2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG `sdl2-config --cflags` -c -o Processor.o ../../src/Processor.cpp clang++ -O2 -I/usr/pkg/include/SDL2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG `sdl2-config --cflags` -c -o RomOnlyMemoryRule.o ../../src/RomOnlyMemoryRule.cpp clang++ -O2 -I/usr/pkg/include/SDL2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG `sdl2-config --cflags` -c -o SegaMemoryRule.o ../../src/SegaMemoryRule.cpp clang++ -O2 -I/usr/pkg/include/SDL2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG `sdl2-config --cflags` -c -o SG1000MemoryRule.o ../../src/SG1000MemoryRule.cpp clang++ -O2 -I/usr/pkg/include/SDL2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG `sdl2-config --cflags` -c -o SmsIOPorts.o ../../src/SmsIOPorts.cpp clang++ -O2 -I/usr/pkg/include/SDL2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG `sdl2-config --cflags` -c -o Video.o ../../src/Video.cpp clang++ -O2 -I/usr/pkg/include/SDL2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG `sdl2-config --cflags` -c -o Blip_Buffer.o ../../src/audio/Blip_Buffer.cpp clang++ -O2 -I/usr/pkg/include/SDL2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG `sdl2-config --cflags` -c -o Effects_Buffer.o ../../src/audio/Effects_Buffer.cpp clang++ -O2 -I/usr/pkg/include/SDL2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG `sdl2-config --cflags` -c -o Sms_Apu.o ../../src/audio/Sms_Apu.cpp clang++ -O2 -I/usr/pkg/include/SDL2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG `sdl2-config --cflags` -c -o Multi_Buffer.o ../../src/audio/Multi_Buffer.cpp clang++ -O2 -I/usr/pkg/include/SDL2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I../ -I../../ -Wall -Wextra -Wformat -std=c++11 -DEMULATOR_BUILD=\"pkgsrc\" -DNDEBUG `sdl2-config --cflags` -c -o Sound_Queue.o ../audio-shared/Sound_Queue.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 static -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 -I /data/scratch/emulators/gearsystem/work/.buildlink/include/SDL2 -I /data/scratch/emulators/gearsystem/work/.buildlink/include -I /data/scratch/emulators/gearsystem/work/.buildlink/include/libdrm -I ../ -I ../../ -D EMULATOR_BUILD="pkgsrc" -D NDEBUG -D _REENTRANT -D _THREAD_SAFE -internal-isystem /usr/include/c++ -O2 -Wall -Wextra -Wformat -std=gnu++11 -fdeprecated-macro -fdebug-compilation-dir /data/scratch/emulators/gearsystem/work/Gearsystem-gearsystem-3.1.0/platforms/linux -ferror-limit 19 -stack-protector 1 -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -vectorize-loops -vectorize-slp -o 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: Error opening elf file: Resource exhaustion 0x1f4c9535d <_ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE23__append_forward_unsafeIPKcEERS5_T_SA_+0x618d7d> at /usr/bin/clang 0x1f4c93470 <_ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE23__append_forward_unsafeIPKcEERS5_T_SA_+0x616e90> at /usr/bin/clang clang: error: unable to execute command: Abort trap (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-2072c5.cpp clang: note: diagnostic msg: /tmp/Memory-2072c5.sh clang: note: diagnostic msg: ******************** gmake: *** [../desktop-shared/Makefile.common:83: Memory.o] Error 254 gmake: *** Waiting for unfinished jobs.... *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/emulators/gearsystem *** Error code 1 Stop. make: stopped in /data/pkgsrc/emulators/gearsystem