Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 2019 10:48:08 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - head-armv6-default][emulators/mgba] Failed for mgba-0.7.0 in build/runaway
Message-ID:  <201905281048.x4SAm8mG096272@beefy8.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help

You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     greg@unrelenting.technology
Last committer: jbeich@FreeBSD.org
Ident:          $FreeBSD: head/emulators/mgba/Makefile 491528 2019-01-29 00:46:50Z jbeich $
Log URL:        http://beefy8.nyi.freebsd.org/data/head-armv6-default/p502330_s348151/logs/mgba-0.7.0.log
Build URL:      http://beefy8.nyi.freebsd.org/build.html?mastername=head-armv6-default&build=p502330_s348151
Log:

=>> Building emulators/mgba
build started at Tue May 28 04:08:38 UTC 2019
port directory: /usr/ports/emulators/mgba
package name: mgba-0.7.0
building for: FreeBSD head-armv6-default-job-01 13.0-CURRENT FreeBSD 13.0-CURRENT 1300029 arm
maintained by: greg@unrelenting.technology
Makefile ident:      $FreeBSD: head/emulators/mgba/Makefile 491528 2019-01-29 00:46:50Z jbeich $
Poudriere version: 3.2.8-4-g701d8fe1
Host OSVERSION: 1300018
Jail OSVERSION: 1300029
Job Id: 01




!!! Jail is newer than host. (Jail: 1300029, Host: 1300018) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/csh
UNAME_p=armv6
UNAME_m=arm
ABI_FILE=/usr/lib/crt1.o
OSVERSION=1300029
UNAME_v=FreeBSD 13.0-CURRENT 1300029
UNAME_r=13.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
QEMU_EMULATING=1
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-4-g701d8fe1
MASTERMNT=/usr/local/poudriere/data/.m/head-armv6-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=screen
PWD=/usr/local/poudriere/data/.m/head-armv6-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-armv6-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-armv6-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for mgba-0.7.0:
     DEBUGGERS=on: Debugging infrastructure (CLI debugger, GDB remote stub)
     DOCS=on: Build and/or install documentation
     FFMPEG=on: FFmpeg video recording support
     LIBRETRO=on: libretro core
     MAGICK=on: ImageMagick GIF recording support
     QT5=on: Qt 5 frontend
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
greg@unrelenting.technology
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf QT_SELECT=qt5 QMAKEMODULES="/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/mkspecs/modules:/usr/local/lib/qt5/mkspecs/modules" SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/mgba/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/mgba/work  HOME=/wrkdirs/usr/ports/emulators/mgba/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/mgba/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local" LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8
--End CONFIGURE_ENV--

--MAKE_ENV--
QT_SELECT=qt5 QMAKEMODULES="/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/mkspecs/modules:/usr/local/lib/qt5/mkspecs/modules" SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/mgba/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/mgba/work  HOME=/wrkdirs/usr/ports/emulators/mgba/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/mgba/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES DESTDIR=/wrkdirs/usr/ports/emulators/mgba/work/stage LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS=" -Wl,--as-needed -fstack-protector-strong -L/usr/local/lib " LIBS=""  CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -fstack-protector-str
 ong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PORTDOCS="" DEBUGGERS="" NO_DEBUGGERS="@comment " DOCS="" NO_DOCS="@comment " FFMPEG="" NO_FFMPEG="@comment " LIBRETRO="" NO_LIBRETRO="@comment " MAGICK="" NO_MAGICK="@comment " QT5="" NO_QT5="@comment " CMAKE_BUILD_TYPE="release" GTK2_VERSION="2.10.0"  GTK3_VERSION="3.0.0" QT_BINDIR="lib/qt5/bin" QT_INCDIR="include/qt5" QT_LIBDIR="lib/qt5" QT_ARCHDIR="lib/qt5" QT_PLUGINDIR="lib/qt5/plugins" QT_LIBEXECDIR="libexec/qt5" QT_IMPORTDIR="lib/qt5/imports" QT_QMLDIR="lib/qt5/qml" QT_DATADIR="share/qt5" QT_DOCDIR="share/doc/qt5" QT_L10NDIR="share/qt5/translations" QT_EXAMPLEDIR="share/examples/qt5" QT_TESTDIR="share/qt5/tests" QT_MKSPECDIR="lib/qt5/mkspecs" QT_QTCHOOSERDIR="etc/xdg/qtchooser" OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/mgba"  EXAMPLESDIR="share/examples/mgba"  DATADIR="share/mgba"  WWWDIR="www/mgba"  ETCDIR="etc/mgba"
--End PLIST_SUB--

--SUB_LIST--
DEBUGGERS="" NO_DEBUGGERS="@comment " DOCS="" NO_DOCS="@comment " FFMPEG="" NO_FFMPEG="@comment " LIBRETRO="" NO_LIBRETRO="@comment " MAGICK="" NO_MAGICK="@comment " QT5="" NO_QT5="@comment " PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/mgba DOCSDIR=/usr/local/share/doc/mgba EXAMPLESDIR=/usr/local/share/examples/mgba  WWWDIR=/usr/local/www/mgba ETCDIR=/usr/local/etc/mgba
--End SUB_LIST--

---Begin make.conf---
.sinclude "/etc/make.nxb.conf"
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=arm
MACHINE_ARCH=armv6
ARCH=${MACHINE_ARCH}
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2

# stable/10 includes src.conf too late but make.conf is in sys.mk
.if ${.CURDIR:M/poudriere/jails/10*/usr/src/usr.bin/xlint*}
# Disable build of llib now that head no longer has lint(1)
LINT=	true
.endif
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_9d218390=FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0) Target: armv6-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0) Target: armv6-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-bin/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_9d218390_58173849=yes
CC_OUTPUT_9d218390_9bdba57c=yes
CC_OUTPUT_9d218390_6a4fe7f5=yes
CC_OUTPUT_9d218390_6bcac02b=yes
CC_OUTPUT_9d218390_67d20829=yes
CC_OUTPUT_9d218390_bfa62e83=yes
CC_OUTPUT_9d218390_f0b4d593=yes
CC_OUTPUT_9d218390_308abb44=yes
CC_OUTPUT_9d218390_f00456e5=yes
CC_OUTPUT_9d218390_65ad290d=yes
CC_OUTPUT_9d218390_f2776b26=yes
CC_OUTPUT_9d218390_b2657cc3=yes
CC_OUTPUT_9d218390_380987f7=yes
CC_OUTPUT_9d218390_160933ec=yes
CC_OUTPUT_9d218390_fb62803b=yes
_OBJC_CCVERSION_9d218390=FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0) Target: armv6-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=armv6
OPSYS=FreeBSD
_OSRELEASE=13.0-CURRENT
OSREL=13.0
OSVERSION=1300029
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
---Begin make.nxb.conf---
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
AS=/nxb-bin/usr/bin/as
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
---End make.nxb.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License MPL20 BSD3CLAUSE LGPL21+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   mgba-0.7.0 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.5_5.txz
[head-armv6-default-job-01] Installing pkg-1.10.5_5...
<snip>
[109/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/gba/bios.c.o -MF CMakeFiles/mgba_libretro.dir/src/gba/bios.c.o.d -o CMakeFiles/mgba_libretr
 o.dir/src/gba/bios.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/bios.c
/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/bios.c:71:48: warning: implicit conversion from 'int' to 'int16_t' (aka 'short') changes value from 32768 to -32768 [-Wconstant-conversion]
                cpu->memory.store16(cpu, BASE_IO | REG_RCNT, RCNT_INITIAL, 0);
                ~~~                                          ^~~~~~~~~~~~
1 warning generated.
[110/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/gba/cheats.c.o -MF CMakeFiles/mgba_libretro.dir/src/gba/cheats.c.o.d -o CMakeFiles/mgba_lib
 retro.dir/src/gba/cheats.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/cheats.c
[111/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/gba/core.c.o -MF CMakeFiles/mgba_libretro.dir/src/gba/core.c.o.d -o CMakeFiles/mgba_libretr
 o.dir/src/gba/core.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/core.c
[112/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/gba/dma.c.o -MF CMakeFiles/mgba_libretro.dir/src/gba/dma.c.o.d -o CMakeFiles/mgba_libretro.
 dir/src/gba/dma.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/dma.c
[113/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/gba/gba.c.o -MF CMakeFiles/mgba_libretro.dir/src/gba/gba.c.o.d -o CMakeFiles/mgba_libretro.
 dir/src/gba/gba.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/gba.c
[114/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/gba/hardware.c.o -MF CMakeFiles/mgba_libretro.dir/src/gba/hardware.c.o.d -o CMakeFiles/mgba
 _libretro.dir/src/gba/hardware.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/hardware.c
[115/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/gba/hle-bios.c.o -MF CMakeFiles/mgba_libretro.dir/src/gba/hle-bios.c.o.d -o CMakeFiles/mgba
 _libretro.dir/src/gba/hle-bios.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/hle-bios.c
[116/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/gba/input.c.o -MF CMakeFiles/mgba_libretro.dir/src/gba/input.c.o.d -o CMakeFiles/mgba_libre
 tro.dir/src/gba/input.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/input.c
[117/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/gba/io.c.o -MF CMakeFiles/mgba_libretro.dir/src/gba/io.c.o.d -o CMakeFiles/mgba_libretro.di
 r/src/gba/io.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/io.c
[118/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/gba/matrix.c.o -MF CMakeFiles/mgba_libretro.dir/src/gba/matrix.c.o.d -o CMakeFiles/mgba_lib
 retro.dir/src/gba/matrix.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/matrix.c
[119/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/gba/memory.c.o -MF CMakeFiles/mgba_libretro.dir/src/gba/memory.c.o.d -o CMakeFiles/mgba_lib
 retro.dir/src/gba/memory.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/memory.c
[120/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/gba/overrides.c.o -MF CMakeFiles/mgba_libretro.dir/src/gba/overrides.c.o.d -o CMakeFiles/mg
 ba_libretro.dir/src/gba/overrides.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/overrides.c
[121/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/gba/savedata.c.o -MF CMakeFiles/mgba_libretro.dir/src/gba/savedata.c.o.d -o CMakeFiles/mgba
 _libretro.dir/src/gba/savedata.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/savedata.c
[122/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/gba/serialize.c.o -MF CMakeFiles/mgba_libretro.dir/src/gba/serialize.c.o.d -o CMakeFiles/mg
 ba_libretro.dir/src/gba/serialize.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/serialize.c
[123/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/gba/sharkport.c.o -MF CMakeFiles/mgba_libretro.dir/src/gba/sharkport.c.o.d -o CMakeFiles/mg
 ba_libretro.dir/src/gba/sharkport.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/sharkport.c
/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/sharkport.c:167:44: warning: comparison of integers of different signs: 'ssize_t' (aka 'int') and 'uint32_t' (aka 'unsigned int') [-Wsign-compare]
        if (vf->write(vf, SHARKPORT_HEADER, size) < size) {
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~
/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/sharkport.c:191:40: warning: comparison of integers of different signs: 'ssize_t' (aka 'int') and 'unsigned int' [-Wsign-compare]
        if (vf->write(vf, buffer.c, size + 4) < size + 4) {
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~
/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/sharkport.c:243:60: warning: comparison of integers of different signs: 'ssize_t' (aka 'int') and 'uint32_t' (aka 'unsigned int') [-Wsign-compare]
        } else if (vf->write(vf, gba->memory.savedata.data, size) < size) {
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~
3 warnings generated.
[124/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/gba/sio.c.o -MF CMakeFiles/mgba_libretro.dir/src/gba/sio.c.o.d -o CMakeFiles/mgba_libretro.
 dir/src/gba/sio.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/sio.c
[125/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/gba/timer.c.o -MF CMakeFiles/mgba_libretro.dir/src/gba/timer.c.o.d -o CMakeFiles/mgba_libre
 tro.dir/src/gba/timer.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/timer.c
[126/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/gba/vfame.c.o -MF CMakeFiles/mgba_libretro.dir/src/gba/vfame.c.o.d -o CMakeFiles/mgba_libre
 tro.dir/src/gba/vfame.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/vfame.c
[127/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/gba/video.c.o -MF CMakeFiles/mgba_libretro.dir/src/gba/video.c.o.d -o CMakeFiles/mgba_libre
 tro.dir/src/gba/video.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/video.c
[128/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/gba/cheats/codebreaker.c.o -MF CMakeFiles/mgba_libretro.dir/src/gba/cheats/codebreaker.c.o.
 d -o CMakeFiles/mgba_libretro.dir/src/gba/cheats/codebreaker.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/cheats/codebreaker.c
[129/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/gba/cheats/gameshark.c.o -MF CMakeFiles/mgba_libretro.dir/src/gba/cheats/gameshark.c.o.d -o
  CMakeFiles/mgba_libretro.dir/src/gba/cheats/gameshark.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/cheats/gameshark.c
[130/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/gba/cheats/parv3.c.o -MF CMakeFiles/mgba_libretro.dir/src/gba/cheats/parv3.c.o.d -o CMakeFi
 les/mgba_libretro.dir/src/gba/cheats/parv3.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/cheats/parv3.c
[131/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/gba/renderers/cache-set.c.o -MF CMakeFiles/mgba_libretro.dir/src/gba/renderers/cache-set.c.
 o.d -o CMakeFiles/mgba_libretro.dir/src/gba/renderers/cache-set.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/renderers/cache-set.c
[132/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/gba/renderers/software-bg.c.o -MF CMakeFiles/mgba_libretro.dir/src/gba/renderers/software-b
 g.c.o.d -o CMakeFiles/mgba_libretro.dir/src/gba/renderers/software-bg.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/renderers/software-bg.c
[133/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/gba/renderers/software-mode0.c.o -MF CMakeFiles/mgba_libretro.dir/src/gba/renderers/softwar
 e-mode0.c.o.d -o CMakeFiles/mgba_libretro.dir/src/gba/renderers/software-mode0.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/renderers/software-mode0.c
[134/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/gba/renderers/software-obj.c.o -MF CMakeFiles/mgba_libretro.dir/src/gba/renderers/software-
 obj.c.o.d -o CMakeFiles/mgba_libretro.dir/src/gba/renderers/software-obj.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/renderers/software-obj.c
[135/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/gba/renderers/video-software.c.o -MF CMakeFiles/mgba_libretro.dir/src/gba/renderers/video-s
 oftware.c.o.d -o CMakeFiles/mgba_libretro.dir/src/gba/renderers/video-software.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/renderers/video-software.c
[136/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/util/circle-buffer.c.o -MF CMakeFiles/mgba_libretro.dir/src/util/circle-buffer.c.o.d -o CMa
 keFiles/mgba_libretro.dir/src/util/circle-buffer.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/circle-buffer.c
[137/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/util/configuration.c.o -MF CMakeFiles/mgba_libretro.dir/src/util/configuration.c.o.d -o CMa
 keFiles/mgba_libretro.dir/src/util/configuration.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/configuration.c
[138/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/util/crc32.c.o -MF CMakeFiles/mgba_libretro.dir/src/util/crc32.c.o.d -o CMakeFiles/mgba_lib
 retro.dir/src/util/crc32.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/crc32.c
[139/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/util/elf-read.c.o -MF CMakeFiles/mgba_libretro.dir/src/util/elf-read.c.o.d -o CMakeFiles/mg
 ba_libretro.dir/src/util/elf-read.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/elf-read.c
[140/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/util/export.c.o -MF CMakeFiles/mgba_libretro.dir/src/util/export.c.o.d -o CMakeFiles/mgba_l
 ibretro.dir/src/util/export.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/export.c
[141/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/util/formatting.c.o -MF CMakeFiles/mgba_libretro.dir/src/util/formatting.c.o.d -o CMakeFile
 s/mgba_libretro.dir/src/util/formatting.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/formatting.c
[142/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/util/gui.c.o -MF CMakeFiles/mgba_libretro.dir/src/util/gui.c.o.d -o CMakeFiles/mgba_libretr
 o.dir/src/util/gui.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/gui.c
[143/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/util/hash.c.o -MF CMakeFiles/mgba_libretro.dir/src/util/hash.c.o.d -o CMakeFiles/mgba_libre
 tro.dir/src/util/hash.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/hash.c
[144/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/util/patch-fast.c.o -MF CMakeFiles/mgba_libretro.dir/src/util/patch-fast.c.o.d -o CMakeFile
 s/mgba_libretro.dir/src/util/patch-fast.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/patch-fast.c
[145/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/util/patch-ips.c.o -MF CMakeFiles/mgba_libretro.dir/src/util/patch-ips.c.o.d -o CMakeFiles/
 mgba_libretro.dir/src/util/patch-ips.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/patch-ips.c
[146/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/util/patch-ups.c.o -MF CMakeFiles/mgba_libretro.dir/src/util/patch-ups.c.o.d -o CMakeFiles/
 mgba_libretro.dir/src/util/patch-ups.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/patch-ups.c
[147/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/util/patch.c.o -MF CMakeFiles/mgba_libretro.dir/src/util/patch.c.o.d -o CMakeFiles/mgba_lib
 retro.dir/src/util/patch.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/patch.c
[148/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/util/png-io.c.o -MF CMakeFiles/mgba_libretro.dir/src/util/png-io.c.o.d -o CMakeFiles/mgba_l
 ibretro.dir/src/util/png-io.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/png-io.c
[149/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/util/ring-fifo.c.o -MF CMakeFiles/mgba_libretro.dir/src/util/ring-fifo.c.o.d -o CMakeFiles/
 mgba_libretro.dir/src/util/ring-fifo.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/ring-fifo.c
[150/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/util/string.c.o -MF CMakeFiles/mgba_libretro.dir/src/util/string.c.o.d -o CMakeFiles/mgba_l
 ibretro.dir/src/util/string.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/string.c
[151/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/util/table.c.o -MF CMakeFiles/mgba_libretro.dir/src/util/table.c.o.d -o CMakeFiles/mgba_lib
 retro.dir/src/util/table.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/table.c
[152/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/util/text-codec.c.o -MF CMakeFiles/mgba_libretro.dir/src/util/text-codec.c.o.d -o CMakeFile
 s/mgba_libretro.dir/src/util/text-codec.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/text-codec.c
[153/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/util/vfs.c.o -MF CMakeFiles/mgba_libretro.dir/src/util/vfs.c.o.d -o CMakeFiles/mgba_libretr
 o.dir/src/util/vfs.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/vfs.c
[154/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/version.c.o -MF CMakeFiles/mgba_libretro.dir/version.c.o.d -o CMakeFiles/mgba_libretro.dir/vers
 ion.c.o   -c version.c
[155/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/util/vfs/vfs-mem.c.o -MF CMakeFiles/mgba_libretro.dir/src/util/vfs/vfs-mem.c.o.d -o CMakeFi
 les/mgba_libretro.dir/src/util/vfs/vfs-mem.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/vfs/vfs-mem.c
[156/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/util/vfs/vfs-fifo.c.o -MF CMakeFiles/mgba_libretro.dir/src/util/vfs/vfs-fifo.c.o.d -o CMake
 Files/mgba_libretro.dir/src/util/vfs/vfs-fifo.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/vfs/vfs-fifo.c
[157/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/util/vfs/vfs-fd.c.o -MF CMakeFiles/mgba_libretro.dir/src/util/vfs/vfs-fd.c.o.d -o CMakeFile
 s/mgba_libretro.dir/src/util/vfs/vfs-fd.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/vfs/vfs-fd.c
/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/vfs/vfs-fd.c:175:16: warning: passing 'const void *' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
                return msync(buffer, size, MS_SYNC) == 0;
                             ^~~~~~
/usr/include/sys/mman.h:266:17: note: passing argument to parameter here
int     msync(void *, size_t, int);
                    ^
1 warning generated.
[158/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/util/vfs/vfs-dirent.c.o -MF CMakeFiles/mgba_libretro.dir/src/util/vfs/vfs-dirent.c.o.d -o C
 MakeFiles/mgba_libretro.dir/src/util/vfs/vfs-dirent.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/vfs/vfs-dirent.c
[159/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/platform/posix/memory.c.o -MF CMakeFiles/mgba_libretro.dir/src/platform/posix/memory.c.o.d 
 -o CMakeFiles/mgba_libretro.dir/src/platform/posix/memory.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/platform/posix/memory.c
[160/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/third-party/inih/ini.c.o -MF CMakeFiles/mgba_libretro.dir/src/third-party/inih/ini.c.o.d -o
  CMakeFiles/mgba_libretro.dir/src/third-party/inih/ini.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/inih/ini.c
[161/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/third-party/blip_buf/blip_buf.c.o -MF CMakeFiles/mgba_libretro.dir/src/third-party/blip_buf
 /blip_buf.c.o.d -o CMakeFiles/mgba_libretro.dir/src/third-party/blip_buf/blip_buf.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/blip_buf/blip_buf.c
[162/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DDISABLE_THREADING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMINIMAL_CORE=2 -DM_CORE_GB -DM_CORE_GBA -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -Dmgba_libretro_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -MD -MT CMakeFiles/mgba_libretro.dir/src/platform/libretro/libretro.c.o -MF CMakeFiles/mgba_libretro.dir/src/platform/libretro/libre
 tro.c.o.d -o CMakeFiles/mgba_libretro.dir/src/platform/libretro/libretro.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/platform/libretro/libretro.c
/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/platform/libretro/libretro.c:717:10: warning: enumeration value 'mLOG_ALL' not handled in switch [-Wswitch]
        switch (level) {
                ^
1 warning generated.
[163/358] : && /nxb-bin/usr/bin/cc -fPIC -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -Wl,--as-needed -fstack-protector-strong -L/usr/local/lib -shared -Wl,-soname,mgba_libretro.so -o mgba_libretro.so CMakeFiles/mgba_libretro.dir/src/core/cache-set.c.o CMakeFiles/mgba_libretro.dir/src/core/cheats.c.o CMakeFiles/mgba_libretro.dir/src/core/config.c.o CMakeFiles/mgba_libretro.dir/src/core/core.c.o CMakeFiles/mgba_libretro.dir/src/core/directories.c.o CMakeFiles/mgba_libretro.dir/src/core/input.c.o CMakeFiles/mgba_libretro.dir/src/core/interface.c.o CMakeFiles/mgba_libretro.dir/src/core/library.c.o CMakeFiles/mgba_libretro.dir/src/core/lockstep.c.o CMakeFiles/mgba_libretro.dir/src/core/log.c.o CMakeFiles/mgba_libretro.dir/src/core/map-cache.c.o CMakeFiles/mgba_libretro.dir/src/core/mem-search.c.o CMak
 eFiles/mgba_libretro.dir/src/core/rewind.c.o CMakeFiles/mgba_libretro.dir/src/core/scripting.c.o CMakeFiles/mgba_libretro.dir/src/core/serialize.c.o CMakeFiles/mgba_libretro.dir/src/core/sync.c.o CMakeFiles/mgba_libretro.dir/src/core/thread.c.o CMakeFiles/mgba_libretro.dir/src/core/tile-cache.c.o CMakeFiles/mgba_libretro.dir/src/core/timing.c.o CMakeFiles/mgba_libretro.dir/src/lr35902/decoder.c.o CMakeFiles/mgba_libretro.dir/src/lr35902/isa-lr35902.c.o CMakeFiles/mgba_libretro.dir/src/lr35902/lr35902.c.o CMakeFiles/mgba_libretro.dir/src/gb/audio.c.o CMakeFiles/mgba_libretro.dir/src/gb/cheats.c.o CMakeFiles/mgba_libretro.dir/src/gb/core.c.o CMakeFiles/mgba_libretro.dir/src/gb/gb.c.o CMakeFiles/mgba_libretro.dir/src/gb/io.c.o CMakeFiles/mgba_libretro.dir/src/gb/mbc.c.o CMakeFiles/mgba_libretro.dir/src/gb/memory.c.o CMakeFiles/mgba_libretro.dir/src/gb/overrides.c.o CMakeFiles/mgba_libretro.dir/src/gb/serialize.c.o CMakeFiles/mgba_libretro.dir/src/gb/sio.c.o CMakeFiles/mgba_libretro.dir
 /src/gb/timer.c.o CMakeFiles/mgba_libretro.d!
 ir/src/gb/video.c.o CMakeFiles/mgba_libretro.dir/src/gb/renderers/cache-set.c.o CMakeFiles/mgba_libretro.dir/src/gb/renderers/software.c.o CMakeFiles/mgba_libretro.dir/src/arm/arm.c.o CMakeFiles/mgba_libretro.dir/src/arm/decoder-arm.c.o CMakeFiles/mgba_libretro.dir/src/arm/decoder-thumb.c.o CMakeFiles/mgba_libretro.dir/src/arm/decoder.c.o CMakeFiles/mgba_libretro.dir/src/arm/isa-arm.c.o CMakeFiles/mgba_libretro.dir/src/arm/isa-thumb.c.o CMakeFiles/mgba_libretro.dir/src/gba/audio.c.o CMakeFiles/mgba_libretro.dir/src/gba/bios.c.o CMakeFiles/mgba_libretro.dir/src/gba/cheats.c.o CMakeFiles/mgba_libretro.dir/src/gba/core.c.o CMakeFiles/mgba_libretro.dir/src/gba/dma.c.o CMakeFiles/mgba_libretro.dir/src/gba/gba.c.o CMakeFiles/mgba_libretro.dir/src/gba/hardware.c.o CMakeFiles/mgba_libretro.dir/src/gba/hle-bios.c.o CMakeFiles/mgba_libretro.dir/src/gba/input.c.o CMakeFiles/mgba_libretro.dir/src/gba/io.c.o CMakeFiles/mgba_libretro.dir/src/gba/matrix.c.o CMakeFiles/mgba_libretro.dir/src/gba/mem
 ory.c.o CMakeFiles/mgba_libretro.dir/src/gba/overrides.c.o CMakeFiles/mgba_libretro.dir/src/gba/savedata.c.o CMakeFiles/mgba_libretro.dir/src/gba/serialize.c.o CMakeFiles/mgba_libretro.dir/src/gba/sharkport.c.o CMakeFiles/mgba_libretro.dir/src/gba/sio.c.o CMakeFiles/mgba_libretro.dir/src/gba/timer.c.o CMakeFiles/mgba_libretro.dir/src/gba/vfame.c.o CMakeFiles/mgba_libretro.dir/src/gba/video.c.o CMakeFiles/mgba_libretro.dir/src/gba/cheats/codebreaker.c.o CMakeFiles/mgba_libretro.dir/src/gba/cheats/gameshark.c.o CMakeFiles/mgba_libretro.dir/src/gba/cheats/parv3.c.o CMakeFiles/mgba_libretro.dir/src/gba/renderers/cache-set.c.o CMakeFiles/mgba_libretro.dir/src/gba/renderers/software-bg.c.o CMakeFiles/mgba_libretro.dir/src/gba/renderers/software-mode0.c.o CMakeFiles/mgba_libretro.dir/src/gba/renderers/software-obj.c.o CMakeFiles/mgba_libretro.dir/src/gba/renderers/video-software.c.o CMakeFiles/mgba_libretro.dir/src/util/circle-buffer.c.o CMakeFiles/mgba_libretro.dir/src/util/configuration.
 c.o CMakeFiles/mgba_libretro.dir/src/util/cr!
 c32.c.o C!
 MakeFiles/mgba_libretro.dir/src/util/elf-read.c.o CMakeFiles/mgba_libretro.dir/src/util/export.c.o CMakeFiles/mgba_libretro.dir/src/util/formatting.c.o CMakeFiles/mgba_libretro.dir/src/util/gui.c.o CMakeFiles/mgba_libretro.dir/src/util/hash.c.o CMakeFiles/mgba_libretro.dir/src/util/patch-fast.c.o CMakeFiles/mgba_libretro.dir/src/util/patch-ips.c.o CMakeFiles/mgba_libretro.dir/src/util/patch-ups.c.o CMakeFiles/mgba_libretro.dir/src/util/patch.c.o CMakeFiles/mgba_libretro.dir/src/util/png-io.c.o CMakeFiles/mgba_libretro.dir/src/util/ring-fifo.c.o CMakeFiles/mgba_libretro.dir/src/util/string.c.o CMakeFiles/mgba_libretro.dir/src/util/table.c.o CMakeFiles/mgba_libretro.dir/src/util/text-codec.c.o CMakeFiles/mgba_libretro.dir/src/util/vfs.c.o CMakeFiles/mgba_libretro.dir/version.c.o CMakeFiles/mgba_libretro.dir/src/util/vfs/vfs-mem.c.o CMakeFiles/mgba_libretro.dir/src/util/vfs/vfs-fifo.c.o CMakeFiles/mgba_libretro.dir/src/util/vfs/vfs-fd.c.o CMakeFiles/mgba_libretro.dir/src/util/vfs/vfs-d
 irent.c.o CMakeFiles/mgba_libretro.dir/src/platform/posix/memory.c.o CMakeFiles/mgba_libretro.dir/src/third-party/inih/ini.c.o CMakeFiles/mgba_libretro.dir/src/third-party/blip_buf/blip_buf.c.o CMakeFiles/mgba_libretro.dir/src/platform/libretro/libretro.c.o -L/usr/local/lib -Wl,-rpath,/usr/local/lib: -lm -lz && :
[164/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/core/cache-set.c.o -MF CMakeFiles/mgba.dir/src/core/cache-set.c.o.d -o CMakeFiles/mgba.dir/src/core/cache-set.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/core/cache-set.c
[165/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/core/cheats.c.o -MF CMakeFiles/mgba.dir/src/core/cheats.c.o.d -o CMakeFiles/mgba.dir/src/core/cheats.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/core/cheats.c
[166/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/core/config.c.o -MF CMakeFiles/mgba.dir/src/core/config.c.o.d -o CMakeFiles/mgba.dir/src/core/config.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/core/config.c
[167/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/core/core.c.o -MF CMakeFiles/mgba.dir/src/core/core.c.o.d -o CMakeFiles/mgba.dir/src/core/core.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/core/core.c
[168/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/core/directories.c.o -MF CMakeFiles/mgba.dir/src/core/directories.c.o.d -o CMakeFiles/mgba.dir/src/core/directories.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/core/directories.c
[169/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/core/input.c.o -MF CMakeFiles/mgba.dir/src/core/input.c.o.d -o CMakeFiles/mgba.dir/src/core/input.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/core/input.c
[170/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/core/interface.c.o -MF CMakeFiles/mgba.dir/src/core/interface.c.o.d -o CMakeFiles/mgba.dir/src/core/interface.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/core/interface.c
[171/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/core/library.c.o -MF CMakeFiles/mgba.dir/src/core/library.c.o.d -o CMakeFiles/mgba.dir/src/core/library.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/core/library.c
/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/core/library.c:344:6: warning: unused variable 'result' [-Wunused-variable]
        int result = sqlite3_exec(library->db,
            ^
1 warning generated.
[172/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/core/lockstep.c.o -MF CMakeFiles/mgba.dir/src/core/lockstep.c.o.d -o CMakeFiles/mgba.dir/src/core/lockstep.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/core/lockstep.c
[173/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/core/log.c.o -MF CMakeFiles/mgba.dir/src/core/log.c.o.d -o CMakeFiles/mgba.dir/src/core/log.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/core/log.c
[174/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/core/map-cache.c.o -MF CMakeFiles/mgba.dir/src/core/map-cache.c.o.d -o CMakeFiles/mgba.dir/src/core/map-cache.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/core/map-cache.c
[175/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/core/mem-search.c.o -MF CMakeFiles/mgba.dir/src/core/mem-search.c.o.d -o CMakeFiles/mgba.dir/src/core/mem-search.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/core/mem-search.c
[176/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/core/rewind.c.o -MF CMakeFiles/mgba.dir/src/core/rewind.c.o.d -o CMakeFiles/mgba.dir/src/core/rewind.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/core/rewind.c
[177/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/core/scripting.c.o -MF CMakeFiles/mgba.dir/src/core/scripting.c.o.d -o CMakeFiles/mgba.dir/src/core/scripting.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/core/scripting.c
[178/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/core/serialize.c.o -MF CMakeFiles/mgba.dir/src/core/serialize.c.o.d -o CMakeFiles/mgba.dir/src/core/serialize.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/core/serialize.c
[179/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/core/sync.c.o -MF CMakeFiles/mgba.dir/src/core/sync.c.o.d -o CMakeFiles/mgba.dir/src/core/sync.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/core/sync.c
[180/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/core/thread.c.o -MF CMakeFiles/mgba.dir/src/core/thread.c.o.d -o CMakeFiles/mgba.dir/src/core/thread.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/core/thread.c
[181/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/core/tile-cache.c.o -MF CMakeFiles/mgba.dir/src/core/tile-cache.c.o.d -o CMakeFiles/mgba.dir/src/core/tile-cache.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/core/tile-cache.c
[182/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/core/timing.c.o -MF CMakeFiles/mgba.dir/src/core/timing.c.o.d -o CMakeFiles/mgba.dir/src/core/timing.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/core/timing.c
/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/core/timing.c:16:36: warning: unused parameter 'timing' [-Wunused-parameter]
void mTimingDeinit(struct mTiming* timing) {
                                   ^
1 warning generated.
[183/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/lr35902/decoder.c.o -MF CMakeFiles/mgba.dir/src/lr35902/decoder.c.o.d -o CMakeFiles/mgba.dir/src/lr35902/decoder.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/lr35902/decoder.c
[184/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/lr35902/isa-lr35902.c.o -MF CMakeFiles/mgba.dir/src/lr35902/isa-lr35902.c.o.d -o CMakeFiles/mgba.dir/src/lr35902/isa-lr35902.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/lr35902/isa-lr35902.c
[185/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/lr35902/lr35902.c.o -MF CMakeFiles/mgba.dir/src/lr35902/lr35902.c.o.d -o CMakeFiles/mgba.dir/src/lr35902/lr35902.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/lr35902/lr35902.c
[186/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gb/audio.c.o -MF CMakeFiles/mgba.dir/src/gb/audio.c.o.d -o CMakeFiles/mgba.dir/src/gb/audio.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gb/audio.c
[187/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gb/cheats.c.o -MF CMakeFiles/mgba.dir/src/gb/cheats.c.o.d -o CMakeFiles/mgba.dir/src/gb/cheats.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gb/cheats.c
[188/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gb/core.c.o -MF CMakeFiles/mgba.dir/src/gb/core.c.o.d -o CMakeFiles/mgba.dir/src/gb/core.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gb/core.c
[189/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gb/gb.c.o -MF CMakeFiles/mgba.dir/src/gb/gb.c.o.d -o CMakeFiles/mgba.dir/src/gb/gb.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gb/gb.c
[190/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gb/io.c.o -MF CMakeFiles/mgba.dir/src/gb/io.c.o.d -o CMakeFiles/mgba.dir/src/gb/io.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gb/io.c
[191/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gb/mbc.c.o -MF CMakeFiles/mgba.dir/src/gb/mbc.c.o.d -o CMakeFiles/mgba.dir/src/gb/mbc.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gb/mbc.c
[192/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gb/memory.c.o -MF CMakeFiles/mgba.dir/src/gb/memory.c.o.d -o CMakeFiles/mgba.dir/src/gb/memory.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gb/memory.c
[193/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gb/overrides.c.o -MF CMakeFiles/mgba.dir/src/gb/overrides.c.o.d -o CMakeFiles/mgba.dir/src/gb/overrides.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gb/overrides.c
[194/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gb/serialize.c.o -MF CMakeFiles/mgba.dir/src/gb/serialize.c.o.d -o CMakeFiles/mgba.dir/src/gb/serialize.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gb/serialize.c
[195/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gb/sio.c.o -MF CMakeFiles/mgba.dir/src/gb/sio.c.o.d -o CMakeFiles/mgba.dir/src/gb/sio.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gb/sio.c
[196/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gb/timer.c.o -MF CMakeFiles/mgba.dir/src/gb/timer.c.o.d -o CMakeFiles/mgba.dir/src/gb/timer.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gb/timer.c
[197/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gb/video.c.o -MF CMakeFiles/mgba.dir/src/gb/video.c.o.d -o CMakeFiles/mgba.dir/src/gb/video.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gb/video.c
/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gb/video.c:190:46: warning: unused parameter 'video' [-Wunused-parameter]
static bool _statIRQAsserted(struct GBVideo* video, GBRegisterSTAT stat) {
                                             ^
1 warning generated.
[198/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gb/renderers/cache-set.c.o -MF CMakeFiles/mgba.dir/src/gb/renderers/cache-set.c.o.d -o CMakeFiles/mgba.dir/src/gb/renderers/cache-set.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gb/renderers/cache-set.c
[199/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gb/renderers/software.c.o -MF CMakeFiles/mgba.dir/src/gb/renderers/software.c.o.d -o CMakeFiles/mgba.dir/src/gb/renderers/software.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gb/renderers/software.c
[200/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/arm/arm.c.o -MF CMakeFiles/mgba.dir/src/arm/arm.c.o.d -o CMakeFiles/mgba.dir/src/arm/arm.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/arm/arm.c
[201/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/arm/decoder-arm.c.o -MF CMakeFiles/mgba.dir/src/arm/decoder-arm.c.o.d -o CMakeFiles/mgba.dir/src/arm/decoder-arm.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/arm/decoder-arm.c
[202/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/arm/decoder-thumb.c.o -MF CMakeFiles/mgba.dir/src/arm/decoder-thumb.c.o.d -o CMakeFiles/mgba.dir/src/arm/decoder-thumb.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/arm/decoder-thumb.c
[203/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/arm/decoder.c.o -MF CMakeFiles/mgba.dir/src/arm/decoder.c.o.d -o CMakeFiles/mgba.dir/src/arm/decoder.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/arm/decoder.c
[204/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/arm/isa-arm.c.o -MF CMakeFiles/mgba.dir/src/arm/isa-arm.c.o.d -o CMakeFiles/mgba.dir/src/arm/isa-arm.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/arm/isa-arm.c
[205/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/arm/isa-thumb.c.o -MF CMakeFiles/mgba.dir/src/arm/isa-thumb.c.o.d -o CMakeFiles/mgba.dir/src/arm/isa-thumb.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/arm/isa-thumb.c
[206/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/audio.c.o -MF CMakeFiles/mgba.dir/src/gba/audio.c.o.d -o CMakeFiles/mgba.dir/src/gba/audio.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/audio.c
[207/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/bios.c.o -MF CMakeFiles/mgba.dir/src/gba/bios.c.o.d -o CMakeFiles/mgba.dir/src/gba/bios.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/bios.c
/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/bios.c:71:48: warning: implicit conversion from 'int' to 'int16_t' (aka 'short') changes value from 32768 to -32768 [-Wconstant-conversion]
                cpu->memory.store16(cpu, BASE_IO | REG_RCNT, RCNT_INITIAL, 0);
                ~~~                                          ^~~~~~~~~~~~
1 warning generated.
[208/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/cheats.c.o -MF CMakeFiles/mgba.dir/src/gba/cheats.c.o.d -o CMakeFiles/mgba.dir/src/gba/cheats.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/cheats.c
[209/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/core.c.o -MF CMakeFiles/mgba.dir/src/gba/core.c.o.d -o CMakeFiles/mgba.dir/src/gba/core.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/core.c
[210/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/dma.c.o -MF CMakeFiles/mgba.dir/src/gba/dma.c.o.d -o CMakeFiles/mgba.dir/src/gba/dma.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/dma.c
[211/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/gba.c.o -MF CMakeFiles/mgba.dir/src/gba/gba.c.o.d -o CMakeFiles/mgba.dir/src/gba/gba.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/gba.c
[212/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/hardware.c.o -MF CMakeFiles/mgba.dir/src/gba/hardware.c.o.d -o CMakeFiles/mgba.dir/src/gba/hardware.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/hardware.c
[213/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/hle-bios.c.o -MF CMakeFiles/mgba.dir/src/gba/hle-bios.c.o.d -o CMakeFiles/mgba.dir/src/gba/hle-bios.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/hle-bios.c
[214/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/input.c.o -MF CMakeFiles/mgba.dir/src/gba/input.c.o.d -o CMakeFiles/mgba.dir/src/gba/input.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/input.c
[215/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/io.c.o -MF CMakeFiles/mgba.dir/src/gba/io.c.o.d -o CMakeFiles/mgba.dir/src/gba/io.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/io.c
[216/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/matrix.c.o -MF CMakeFiles/mgba.dir/src/gba/matrix.c.o.d -o CMakeFiles/mgba.dir/src/gba/matrix.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/matrix.c
[217/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/memory.c.o -MF CMakeFiles/mgba.dir/src/gba/memory.c.o.d -o CMakeFiles/mgba.dir/src/gba/memory.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/memory.c
[218/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/overrides.c.o -MF CMakeFiles/mgba.dir/src/gba/overrides.c.o.d -o CMakeFiles/mgba.dir/src/gba/overrides.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/overrides.c
[219/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/savedata.c.o -MF CMakeFiles/mgba.dir/src/gba/savedata.c.o.d -o CMakeFiles/mgba.dir/src/gba/savedata.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/savedata.c
[220/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/serialize.c.o -MF CMakeFiles/mgba.dir/src/gba/serialize.c.o.d -o CMakeFiles/mgba.dir/src/gba/serialize.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/serialize.c
[221/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/sharkport.c.o -MF CMakeFiles/mgba.dir/src/gba/sharkport.c.o.d -o CMakeFiles/mgba.dir/src/gba/sharkport.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/sharkport.c
/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/sharkport.c:167:44: warning: comparison of integers of different signs: 'ssize_t' (aka 'int') and 'uint32_t' (aka 'unsigned int') [-Wsign-compare]
        if (vf->write(vf, SHARKPORT_HEADER, size) < size) {
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~
/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/sharkport.c:191:40: warning: comparison of integers of different signs: 'ssize_t' (aka 'int') and 'unsigned int' [-Wsign-compare]
        if (vf->write(vf, buffer.c, size + 4) < size + 4) {
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~
/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/sharkport.c:243:60: warning: comparison of integers of different signs: 'ssize_t' (aka 'int') and 'uint32_t' (aka 'unsigned int') [-Wsign-compare]
        } else if (vf->write(vf, gba->memory.savedata.data, size) < size) {
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~
3 warnings generated.
[222/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/sio.c.o -MF CMakeFiles/mgba.dir/src/gba/sio.c.o.d -o CMakeFiles/mgba.dir/src/gba/sio.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/sio.c
[223/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/timer.c.o -MF CMakeFiles/mgba.dir/src/gba/timer.c.o.d -o CMakeFiles/mgba.dir/src/gba/timer.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/timer.c
[224/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/vfame.c.o -MF CMakeFiles/mgba.dir/src/gba/vfame.c.o.d -o CMakeFiles/mgba.dir/src/gba/vfame.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/vfame.c
[225/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/video.c.o -MF CMakeFiles/mgba.dir/src/gba/video.c.o.d -o CMakeFiles/mgba.dir/src/gba/video.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/video.c
[226/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/cheats/codebreaker.c.o -MF CMakeFiles/mgba.dir/src/gba/cheats/codebreaker.c.o.d -o CMakeFiles/mgba.dir/src/gba/cheats/codebreaker.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/cheats/codebreaker.c
[227/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/cheats/gameshark.c.o -MF CMakeFiles/mgba.dir/src/gba/cheats/gameshark.c.o.d -o CMakeFiles/mgba.dir/src/gba/cheats/gameshark.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/cheats/gameshark.c
[228/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/cheats/parv3.c.o -MF CMakeFiles/mgba.dir/src/gba/cheats/parv3.c.o.d -o CMakeFiles/mgba.dir/src/gba/cheats/parv3.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/cheats/parv3.c
[229/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/renderers/cache-set.c.o -MF CMakeFiles/mgba.dir/src/gba/renderers/cache-set.c.o.d -o CMakeFiles/mgba.dir/src/gba/renderers/cache-set.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/renderers/cache-set.c
[230/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/renderers/software-bg.c.o -MF CMakeFiles/mgba.dir/src/gba/renderers/software-bg.c.o.d -o CMakeFiles/mgba.dir/src/gba/renderers/software-bg.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/renderers/software-bg.c
[231/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/renderers/software-mode0.c.o -MF CMakeFiles/mgba.dir/src/gba/renderers/software-mode0.c.o.d -o CMakeFiles/mgba.dir/src/gba/renderers/software-mode0.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/renderers/software-mode0.c
[232/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/renderers/software-obj.c.o -MF CMakeFiles/mgba.dir/src/gba/renderers/software-obj.c.o.d -o CMakeFiles/mgba.dir/src/gba/renderers/software-obj.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/renderers/software-obj.c
[233/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/renderers/video-software.c.o -MF CMakeFiles/mgba.dir/src/gba/renderers/video-software.c.o.d -o CMakeFiles/mgba.dir/src/gba/renderers/video-software.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/renderers/video-software.c
[234/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/circle-buffer.c.o -MF CMakeFiles/mgba.dir/src/util/circle-buffer.c.o.d -o CMakeFiles/mgba.dir/src/util/circle-buffer.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/circle-buffer.c
[235/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/configuration.c.o -MF CMakeFiles/mgba.dir/src/util/configuration.c.o.d -o CMakeFiles/mgba.dir/src/util/configuration.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/configuration.c
[236/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/crc32.c.o -MF CMakeFiles/mgba.dir/src/util/crc32.c.o.d -o CMakeFiles/mgba.dir/src/util/crc32.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/crc32.c
[237/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/elf-read.c.o -MF CMakeFiles/mgba.dir/src/util/elf-read.c.o.d -o CMakeFiles/mgba.dir/src/util/elf-read.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/elf-read.c
[238/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/export.c.o -MF CMakeFiles/mgba.dir/src/util/export.c.o.d -o CMakeFiles/mgba.dir/src/util/export.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/export.c
[239/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/formatting.c.o -MF CMakeFiles/mgba.dir/src/util/formatting.c.o.d -o CMakeFiles/mgba.dir/src/util/formatting.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/formatting.c
[240/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/gui.c.o -MF CMakeFiles/mgba.dir/src/util/gui.c.o.d -o CMakeFiles/mgba.dir/src/util/gui.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/gui.c
[241/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/hash.c.o -MF CMakeFiles/mgba.dir/src/util/hash.c.o.d -o CMakeFiles/mgba.dir/src/util/hash.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/hash.c
[242/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/patch-fast.c.o -MF CMakeFiles/mgba.dir/src/util/patch-fast.c.o.d -o CMakeFiles/mgba.dir/src/util/patch-fast.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/patch-fast.c
[243/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/patch-ips.c.o -MF CMakeFiles/mgba.dir/src/util/patch-ips.c.o.d -o CMakeFiles/mgba.dir/src/util/patch-ips.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/patch-ips.c
[244/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/patch-ups.c.o -MF CMakeFiles/mgba.dir/src/util/patch-ups.c.o.d -o CMakeFiles/mgba.dir/src/util/patch-ups.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/patch-ups.c
[245/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/patch.c.o -MF CMakeFiles/mgba.dir/src/util/patch.c.o.d -o CMakeFiles/mgba.dir/src/util/patch.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/patch.c
[246/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/png-io.c.o -MF CMakeFiles/mgba.dir/src/util/png-io.c.o.d -o CMakeFiles/mgba.dir/src/util/png-io.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/png-io.c
[247/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/ring-fifo.c.o -MF CMakeFiles/mgba.dir/src/util/ring-fifo.c.o.d -o CMakeFiles/mgba.dir/src/util/ring-fifo.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/ring-fifo.c
[248/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/string.c.o -MF CMakeFiles/mgba.dir/src/util/string.c.o.d -o CMakeFiles/mgba.dir/src/util/string.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/string.c
[249/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/table.c.o -MF CMakeFiles/mgba.dir/src/util/table.c.o.d -o CMakeFiles/mgba.dir/src/util/table.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/table.c
[250/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/text-codec.c.o -MF CMakeFiles/mgba.dir/src/util/text-codec.c.o.d -o CMakeFiles/mgba.dir/src/util/text-codec.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/text-codec.c
[251/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/vfs.c.o -MF CMakeFiles/mgba.dir/src/util/vfs.c.o.d -o CMakeFiles/mgba.dir/src/util/vfs.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/vfs.c
[252/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/version.c.o -MF CMakeFiles/mgba.dir/version.c.o.d -o CMakeFiles/mgba.dir/version.c.o   -c version.c
[253/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/vfs/vfs-mem.c.o -MF CMakeFiles/mgba.dir/src/util/vfs/vfs-mem.c.o.d -o CMakeFiles/mgba.dir/src/util/vfs/vfs-mem.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/vfs/vfs-mem.c
[254/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGIC
 KCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/vfs/vfs-fifo.c.o -MF CMakeFiles/mgba.dir/src/util/vfs/vfs-fifo.c.o.d -o CMakeFiles/mgba.dir/src/util/vfs/vfs-fifo.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/vfs/vfs-fifo.c
[255/358] : && /nxb-bin/usr/bin/cc -fPIC -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -Wl,--as-needed -fstack-protector-strong -L/usr/local/lib -shared -Wl,-soname,libmgba.so.0.7 -o libmgba.so.0.7.0 CMakeFiles/mgba.dir/src/core/cache-set.c.o CMakeFiles/mgba.dir/src/core/cheats.c.o CMakeFiles/mgba.dir/src/core/config.c.o CMakeFiles/mgba.dir/src/core/core.c.o CMakeFiles/mgba.dir/src/core/directories.c.o CMakeFiles/mgba.dir/src/core/input.c.o CMakeFiles/mgba.dir/src/core/interface.c.o CMakeFiles/mgba.dir/src/core/library.c.o CMakeFiles/mgba.dir/src/core/lockstep.c.o CMakeFiles/mgba.dir/src/core/log.c.o CMakeFiles/mgba.dir/src/core/map-cache.c.o CMakeFiles/mgba.dir/src/core/mem-search.c.o CMakeFiles/mgba.dir/src/core/rewind.c.o CMakeFiles/mgba.dir/src/core/scripting.c.o CMakeFiles/mgba.dir/src/core/se
 rialize.c.o CMakeFiles/mgba.dir/src/core/sync.c.o CMakeFiles/mgba.dir/src/core/thread.c.o CMakeFiles/mgba.dir/src/core/tile-cache.c.o CMakeFiles/mgba.dir/src/core/timing.c.o CMakeFiles/mgba.dir/src/lr35902/decoder.c.o CMakeFiles/mgba.dir/src/lr35902/isa-lr35902.c.o CMakeFiles/mgba.dir/src/lr35902/lr35902.c.o CMakeFiles/mgba.dir/src/gb/audio.c.o CMakeFiles/mgba.dir/src/gb/cheats.c.o CMakeFiles/mgba.dir/src/gb/core.c.o CMakeFiles/mgba.dir/src/gb/gb.c.o CMakeFiles/mgba.dir/src/gb/io.c.o CMakeFiles/mgba.dir/src/gb/mbc.c.o CMakeFiles/mgba.dir/src/gb/memory.c.o CMakeFiles/mgba.dir/src/gb/overrides.c.o CMakeFiles/mgba.dir/src/gb/serialize.c.o CMakeFiles/mgba.dir/src/gb/sio.c.o CMakeFiles/mgba.dir/src/gb/timer.c.o CMakeFiles/mgba.dir/src/gb/video.c.o CMakeFiles/mgba.dir/src/gb/renderers/cache-set.c.o CMakeFiles/mgba.dir/src/gb/renderers/software.c.o CMakeFiles/mgba.dir/src/arm/arm.c.o CMakeFiles/mgba.dir/src/arm/decoder-arm.c.o CMakeFiles/mgba.dir/src/arm/decoder-thumb.c.o CMakeFiles/mgba.d
 ir/src/arm/decoder.c.o CMakeFiles/mgba.dir/s!
 rc/arm/isa-arm.c.o CMakeFiles/mgba.dir/src/arm/isa-thumb.c.o CMakeFiles/mgba.dir/src/gba/audio.c.o CMakeFiles/mgba.dir/src/gba/bios.c.o CMakeFiles/mgba.dir/src/gba/cheats.c.o CMakeFiles/mgba.dir/src/gba/core.c.o CMakeFiles/mgba.dir/src/gba/dma.c.o CMakeFiles/mgba.dir/src/gba/gba.c.o CMakeFiles/mgba.dir/src/gba/hardware.c.o CMakeFiles/mgba.dir/src/gba/hle-bios.c.o CMakeFiles/mgba.dir/src/gba/input.c.o CMakeFiles/mgba.dir/src/gba/io.c.o CMakeFiles/mgba.dir/src/gba/matrix.c.o CMakeFiles/mgba.dir/src/gba/memory.c.o CMakeFiles/mgba.dir/src/gba/overrides.c.o CMakeFiles/mgba.dir/src/gba/savedata.c.o CMakeFiles/mgba.dir/src/gba/serialize.c.o CMakeFiles/mgba.dir/src/gba/sharkport.c.o CMakeFiles/mgba.dir/src/gba/sio.c.o CMakeFiles/mgba.dir/src/gba/timer.c.o CMakeFiles/mgba.dir/src/gba/vfame.c.o CMakeFiles/mgba.dir/src/gba/video.c.o CMakeFiles/mgba.dir/src/gba/cheats/codebreaker.c.o CMakeFiles/mgba.dir/src/gba/cheats/gameshark.c.o CMakeFiles/mgba.dir/src/gba/cheats/parv3.c.o CMakeFiles/mgba.di
 r/src/gba/renderers/cache-set.c.o CMakeFiles/mgba.dir/src/gba/renderers/software-bg.c.o CMakeFiles/mgba.dir/src/gba/renderers/software-mode0.c.o CMakeFiles/mgba.dir/src/gba/renderers/software-obj.c.o CMakeFiles/mgba.dir/src/gba/renderers/video-software.c.o CMakeFiles/mgba.dir/src/util/circle-buffer.c.o CMakeFiles/mgba.dir/src/util/configuration.c.o CMakeFiles/mgba.dir/src/util/crc32.c.o CMakeFiles/mgba.dir/src/util/elf-read.c.o CMakeFiles/mgba.dir/src/util/export.c.o CMakeFiles/mgba.dir/src/util/formatting.c.o CMakeFiles/mgba.dir/src/util/gui.c.o CMakeFiles/mgba.dir/src/util/hash.c.o CMakeFiles/mgba.dir/src/util/patch-fast.c.o CMakeFiles/mgba.dir/src/util/patch-ips.c.o CMakeFiles/mgba.dir/src/util/patch-ups.c.o CMakeFiles/mgba.dir/src/util/patch.c.o CMakeFiles/mgba.dir/src/util/png-io.c.o CMakeFiles/mgba.dir/src/util/ring-fifo.c.o CMakeFiles/mgba.dir/src/util/string.c.o CMakeFiles/mgba.dir/src/util/table.c.o CMakeFiles/mgba.dir/src/util/text-codec.c.o CMakeFiles/mgba.dir/src/util/vf
 s.c.o CMakeFiles/mgba.dir/version.c.o CMakeF!
 iles/mgba!
 .dir/src/util/vfs/vfs-mem.c.o CMakeFiles/mgba.dir/src/util/vfs/vfs-fifo.c.o CMakeFiles/mgba.dir/src/util/vfs/vfs-fd.c.o CMakeFiles/mgba.dir/src/util/vfs/vfs-dirent.c.o CMakeFiles/mgba.dir/src/platform/posix/memory.c.o CMakeFiles/mgba.dir/src/third-party/inih/ini.c.o CMakeFiles/mgba.dir/src/third-party/blip_buf/blip_buf.c.o CMakeFiles/mgba.dir/src/util/vfs/vfs-zip.c.o CMakeFiles/mgba.dir/src/third-party/zlib/contrib/minizip/ioapi.c.o CMakeFiles/mgba.dir/src/third-party/zlib/contrib/minizip/unzip.c.o CMakeFiles/mgba.dir/src/util/vfs/vfs-lzma.c.o CMakeFiles/mgba.dir/src/third-party/lzma/7zAlloc.c.o CMakeFiles/mgba.dir/src/third-party/lzma/7zArcIn.c.o CMakeFiles/mgba.dir/src/third-party/lzma/7zBuf.c.o CMakeFiles/mgba.dir/src/third-party/lzma/7zBuf2.c.o CMakeFiles/mgba.dir/src/third-party/lzma/7zCrc.c.o CMakeFiles/mgba.dir/src/third-party/lzma/7zCrcOpt.c.o CMakeFiles/mgba.dir/src/third-party/lzma/7zDec.c.o CMakeFiles/mgba.dir/src/third-party/lzma/CpuArch.c.o CMakeFiles/mgba.dir/src/third
 -party/lzma/Delta.c.o CMakeFiles/mgba.dir/src/third-party/lzma/LzmaDec.c.o CMakeFiles/mgba.dir/src/third-party/lzma/Lzma2Dec.c.o CMakeFiles/mgba.dir/src/third-party/lzma/Bra.c.o CMakeFiles/mgba.dir/src/third-party/lzma/Bra86.c.o CMakeFiles/mgba.dir/src/third-party/lzma/BraIA64.c.o CMakeFiles/mgba.dir/src/third-party/lzma/Bcj2.c.o CMakeFiles/mgba.dir/src/third-party/lzma/Ppmd7.c.o CMakeFiles/mgba.dir/src/third-party/lzma/Ppmd7Dec.c.o CMakeFiles/mgba.dir/src/third-party/lzma/7zFile.c.o CMakeFiles/mgba.dir/src/third-party/lzma/7zStream.c.o CMakeFiles/mgba.dir/src/gba/sio/joybus.c.o CMakeFiles/mgba.dir/src/gba/sio/lockstep.c.o CMakeFiles/mgba.dir/src/gb/sio/lockstep.c.o CMakeFiles/mgba.dir/src/gb/sio/printer.c.o CMakeFiles/mgba.dir/src/feature/editline/cli-el-backend.c.o CMakeFiles/mgba.dir/src/debugger/gdb-stub.c.o CMakeFiles/mgba.dir/src/feature/ffmpeg/ffmpeg-encoder.c.o CMakeFiles/mgba.dir/src/feature/imagemagick/imagemagick-gif-encoder.c.o CMakeFiles/mgba.dir/src/feature/sqlite3/no-
 intro.c.o CMakeFiles/mgba.dir/src/debugger/d!
 ebugger.c!
 .o CMakeFiles/mgba.dir/src/debugger/parser.c.o CMakeFiles/mgba.dir/src/debugger/symbols.c.o CMakeFiles/mgba.dir/src/debugger/cli-debugger.c.o CMakeFiles/mgba.dir/src/lr35902/debugger/cli-debugger.c.o CMakeFiles/mgba.dir/src/lr35902/debugger/debugger.c.o CMakeFiles/mgba.dir/src/lr35902/debugger/memory-debugger.c.o CMakeFiles/mgba.dir/src/gb/debugger/cli.c.o CMakeFiles/mgba.dir/src/gb/debugger/symbols.c.o CMakeFiles/mgba.dir/src/arm/debugger/cli-debugger.c.o CMakeFiles/mgba.dir/src/arm/debugger/debugger.c.o CMakeFiles/mgba.dir/src/arm/debugger/memory-debugger.c.o CMakeFiles/mgba.dir/src/gba/debugger/cli.c.o CMakeFiles/mgba.dir/src/gba/rr/mgm.c.o CMakeFiles/mgba.dir/src/gba/rr/rr.c.o CMakeFiles/mgba.dir/src/gba/rr/vbm.c.o CMakeFiles/mgba.dir/src/gba/extra/proxy.c.o CMakeFiles/mgba.dir/src/gb/extra/proxy.c.o CMakeFiles/mgba.dir/src/feature/commandline.c.o CMakeFiles/mgba.dir/src/feature/thread-proxy.c.o CMakeFiles/mgba.dir/src/feature/video-logger.c.o -L/usr/local/lib -Wl,-rpath,/usr/lo
 cal/lib: -ledit -lavcodec -lavformat -lavresample -lavutil -lswscale -lswresample -lMagickWand-6 -lMagickCore-6 -lz /usr/local/lib/libpng.so -lz -lz -lsqlite3 -lm -lz /usr/local/lib/libpng.so -lsqlite3 -lm && :
[256/358] /usr/local/bin/cmake -E cmake_symlink_library libmgba.so.0.7.0  libmgba.so.0.7 libmgba.so && :
=>> Killing runaway build after 21600 seconds with no output



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905281048.x4SAm8mG096272>