=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Building for libretro-bsnes-mercury-accuracy-20180803 c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu99 -xc -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -c libco/libco.c -o obj/libco.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -c processor/arm/arm.cpp -o obj/processor-arm.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -c processor/gsu/gsu.cpp -o obj/processor-gsu.o cc1: warning: command line option '-std=gnu++11' is valid for C++/ObjC++ but not for C In file included from libco/libco.c:16:0: libco/armeabi.c: In function 'co_create': libco/armeabi.c:53:13: warning: implicit declaration of function 'memalign' [-Wimplicit-function-declaration] handle = memalign(1024, size + 256); ^~~~~~~~ libco/armeabi.c:53:11: warning: assignment makes pointer from integer without a cast [-Wint-conversion] handle = memalign(1024, size + 256); ^ c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -c processor/hg51b/hg51b.cpp -o obj/processor-hg51b.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -c processor/lr35902/lr35902.cpp -o obj/processor-lr35902.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -c processor/r65816/r65816.cpp -o obj/processor-r65816.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -c processor/spc700/spc700.cpp -o obj/processor-spc700.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -c processor/upd96050/upd96050.cpp -o obj/processor-upd96050.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -c gb/interface/interface.cpp -o obj/gb-interface.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -c gb/system/system.cpp -o obj/gb-system.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -c gb/scheduler/scheduler.cpp -o obj/gb-scheduler.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -c gb/memory/memory.cpp -o obj/gb-memory.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -c gb/cartridge/cartridge.cpp -o obj/gb-cartridge.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -c gb/cpu/cpu.cpp -o obj/gb-cpu.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -c gb/ppu/ppu.cpp -o obj/gb-ppu.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -c gb/apu/apu.cpp -o obj/gb-apu.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -c gb/cheat/cheat.cpp -o obj/gb-cheat.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -c gb/video/video.cpp -o obj/gb-video.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -DPROFILE_ACCURACY -c sfc/interface/interface.cpp -o obj/sfc-interface-accuracy.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -DPROFILE_ACCURACY -c sfc/system/system.cpp -o obj/sfc-system-accuracy.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -DPROFILE_ACCURACY -c sfc/controller/controller.cpp -o obj/sfc-controller-accuracy.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -DPROFILE_ACCURACY -c sfc/cartridge/cartridge.cpp -o obj/sfc-cartridge-accuracy.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -DPROFILE_ACCURACY -c sfc/cheat/cheat.cpp -o obj/sfc-cheat-accuracy.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -DPROFILE_ACCURACY -c sfc/memory/memory.cpp -o obj/sfc-memory-accuracy.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -DPROFILE_ACCURACY -c sfc/cpu/cpu.cpp -o obj/sfc-cpu-accuracy.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -DPROFILE_ACCURACY -c sfc/smp/smp.cpp -o obj/sfc-smp-accuracy.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -DPROFILE_ACCURACY -c sfc/dsp/dsp.cpp -o obj/sfc-dsp-accuracy.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -DPROFILE_ACCURACY -c sfc/ppu/ppu.cpp -o obj/sfc-ppu-accuracy.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -DPROFILE_ACCURACY -c sfc/base/satellaview/satellaview.cpp -o obj/sfc-satellaviewbase-accuracy.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -DPROFILE_ACCURACY -c sfc/chip/icd2/icd2.cpp -o obj/sfc-icd2-accuracy.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -DPROFILE_ACCURACY -c sfc/chip/bsx/bsx.cpp -o obj/sfc-bsx-accuracy.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -DPROFILE_ACCURACY -c sfc/chip/nss/nss.cpp -o obj/sfc-nss-accuracy.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -DPROFILE_ACCURACY -c sfc/chip/event/event.cpp -o obj/sfc-event-accuracy.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -DPROFILE_ACCURACY -c sfc/chip/sa1/sa1.cpp -o obj/sfc-sa1-accuracy.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -DPROFILE_ACCURACY -c sfc/chip/superfx/superfx.cpp -o obj/sfc-superfx-accuracy.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -DPROFILE_ACCURACY -c sfc/chip/armdsp/armdsp.cpp -o obj/sfc-armdsp-accuracy.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -DPROFILE_ACCURACY -c sfc/chip/hitachidsp/hitachidsp.cpp -o obj/sfc-hitachidsp-accuracy.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -DPROFILE_ACCURACY -c sfc/chip/necdsp/necdsp.cpp -o obj/sfc-necdsp-accuracy.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -DPROFILE_ACCURACY -c sfc/chip/epsonrtc/epsonrtc.cpp -o obj/sfc-epsonrtc-accuracy.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -DPROFILE_ACCURACY -c sfc/chip/sharprtc/sharprtc.cpp -o obj/sfc-sharprtc-accuracy.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -DPROFILE_ACCURACY -c sfc/chip/spc7110/spc7110.cpp -o obj/sfc-spc7110-accuracy.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -DPROFILE_ACCURACY -c sfc/chip/sdd1/sdd1.cpp -o obj/sfc-sdd1-accuracy.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -DPROFILE_ACCURACY -c sfc/chip/obc1/obc1.cpp -o obj/sfc-obc1-accuracy.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -DPROFILE_ACCURACY -c sfc/chip/hsu1/hsu1.cpp -o obj/sfc-hsu1-accuracy.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -DPROFILE_ACCURACY -c sfc/chip/msu1/msu1.cpp -o obj/sfc-msu1-accuracy.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -DPROFILE_ACCURACY -c sfc/slot/satellaview/satellaview.cpp -o obj/sfc-satellaviewcart-accuracy.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -DPROFILE_ACCURACY -c sfc/slot/sufamiturbo/sufamiturbo.cpp -o obj/sfc-sufamiturbo-accuracy.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -DPROFILE_ACCURACY -c sfc/chip/dsp1/dsp1.cpp -o obj/sfc-hledsp1-accuracy.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -DPROFILE_ACCURACY -c sfc/chip/dsp2/dsp2.cpp -o obj/sfc-hledsp2-accuracy.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -DPROFILE_ACCURACY -c sfc/chip/dsp3/dsp3.cpp -o obj/sfc-hledsp3-accuracy.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -DPROFILE_ACCURACY -c sfc/chip/dsp4/dsp4.cpp -o obj/sfc-hledsp4-accuracy.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -DPROFILE_ACCURACY -c sfc/chip/cx4/cx4.cpp -o obj/sfc-hlecx4-accuracy.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -DPROFILE_ACCURACY -c sfc/chip/st0010/st0010.cpp -o obj/sfc-hlest0010-accuracy.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -DPROFILE_ACCURACY -c sfc/chip/sgb-external/sgb-external.cpp -o obj/sfc-sgbexternal-accuracy.o c++ -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -std=gnu++0x -I. -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DGIT_VERSION=\"-pkgsrc\" -DPROFILE_ACCURACY -c target-libretro/libretro.cpp -o obj/libretro-accuracy.o c++ -o out/bsnes_mercury_accuracy_libretro.so -shared obj/libco.o obj/processor-arm.o obj/processor-gsu.o obj/processor-hg51b.o obj/processor-lr35902.o obj/processor-r65816.o obj/processor-spc700.o obj/processor-upd96050.o obj/gb-interface.o obj/gb-system.o obj/gb-scheduler.o obj/gb-memory.o obj/gb-cartridge.o obj/gb-cpu.o obj/gb-ppu.o obj/gb-apu.o obj/gb-cheat.o obj/gb-video.o obj/sfc-interface-accuracy.o obj/sfc-system-accuracy.o obj/sfc-controller-accuracy.o obj/sfc-cartridge-accuracy.o obj/sfc-cheat-accuracy.o obj/sfc-memory-accuracy.o obj/sfc-cpu-accuracy.o obj/sfc-smp-accuracy.o obj/sfc-dsp-accuracy.o obj/sfc-ppu-accuracy.o obj/sfc-satellaviewbase-accuracy.o obj/sfc-icd2-accuracy.o obj/sfc-bsx-accuracy.o obj/sfc-nss-accuracy.o obj/sfc-event-accuracy.o obj/sfc-sa1-accuracy.o obj/sfc-superfx-accuracy.o obj/sfc-armdsp-accuracy.o obj/sfc-hitachidsp-accuracy.o obj/sfc-necdsp-accuracy.o obj/sfc-epsonrtc-accuracy.o obj/sfc-sharprtc-accuracy.o obj/sfc-spc7110-accuracy.o obj/sfc-sdd1-accuracy.o obj/sfc-obc1-accuracy.o obj/sfc-hsu1-accuracy.o obj/sfc-msu1-accuracy.o obj/sfc-satellaviewcart-accuracy.o obj/sfc-sufamiturbo-accuracy.o obj/sfc-hledsp1-accuracy.o obj/sfc-hledsp2-accuracy.o obj/sfc-hledsp3-accuracy.o obj/sfc-hledsp4-accuracy.o obj/sfc-hlecx4-accuracy.o obj/sfc-hlest0010-accuracy.o obj/sfc-sgbexternal-accuracy.o obj/libretro-accuracy.o -ldl -Wl,--no-undefined -Wl,--version-script=target-libretro/link.T -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib ld: obj/libco.o: in function `co_create': libco.c:(.text+0x30): undefined reference to `memalign' gmake: *** [target-libretro/Makefile:51: build] Error 1 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/emulators/libretro-bsnes-mercury-accuracy *** Error code 1 Stop. make: stopped in /usr/pkgsrc/emulators/libretro-bsnes-mercury-accuracy