==> Synchronizing chroot copy [/home/leming/armv8/root] -> [leming]...done
==> Making package: libretro-blastem 20260902.212710.gb4d75247ebad-1 (Fri Sep 4 22:55:37 2026)
==> Retrieving sources...
-> Updating libretro-blastem git repo...
-> Found libretro-blastem-flags.patch
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with b2sums...
libretro-blastem ... Passed
libretro-blastem-flags.patch ... Passed
==> Making package: libretro-blastem 20260902.212710.gb4d75247ebad-1 (Fri Sep 4 22:55:47 2026)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...
Packages (1) libretro-core-info-1.22.2-1
Total Installed Size: 0.40 MiB
:: Proceed with installation? [Y/n]
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing libretro-core-info...
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...
Packages (5) perl-error-0.17030-3 perl-mailtools-2.22-3 perl-timedate-2.35-1 zlib-ng-2.3.3-1 git-2.55.0-1
Total Installed Size: 46.63 MiB
:: Proceed with installation? [Y/n]
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing perl-error...
installing perl-timedate...
installing perl-mailtools...
installing zlib-ng...
installing git...
Optional dependencies for git
git-zsh-completion: upstream zsh completion
tk: gitk and git gui
openssh: ssh transport and crypto
man: show help with `git command --help`
perl-libwww: git svn
perl-term-readkey: git svn and interactive.singlekey setting
perl-io-socket-ssl: git send-email TLS support
perl-authen-sasl: git send-email TLS support
perl-cgi: gitweb (web interface) support
python: git svn & git p4 [installed]
subversion: git svn
org.freedesktop.secrets: keyring credential helper
libsecret: libsecret credential helper [installed]
less: the default pager for git
:: Running post-transaction hooks...
(1/3) Creating system user accounts...
Creating group 'git' with GID 967.
Creating user 'git' (git daemon user) with UID 967 and GID 967.
(2/3) Reloading system manager configuration...
Skipped: Current root is not booted.
(3/3) Arming ConditionNeedsUpdate...
==> Retrieving sources...
-> Found libretro-blastem-flags.patch
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
-> Creating working copy of libretro-blastem git repo...
Cloning into 'libretro-blastem'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
patching file Makefile
==> Starting build()...
make: Entering directory '/build/libretro-blastem/src/libretro-blastem'
make libblastem.so OS=Linux CC=cc CPU=aarch64 LIBRETRO=1
make[1]: Entering directory '/build/libretro-blastem/src/libretro-blastem'
mkdir -p obj/release/lib/zlib
mkdir -p obj/release/lib/libchdr
mkdir -p obj/release/lib/lzma
python3 ./cpu_dsl.py -d call m68k.cpu > m68k.c
python3 ./cpu_dsl.py -d goto z80.cpu > z80.c
python3 ./cpu_dsl.py -d call upd78k2.cpu > upd78k2.c
python3 ./cpu_dsl.py -d call sh2.cpu > sh2.c
sed -e 's/"/\\"/g' -e 's/^\(.*\)$/"\1\\n"/' -e'1s/^\(.*\)$/const char rom_db_data[] = \1/' -e '$s/^\(.*\)$/\1;/' rom.db > rom.db.c
sed -e 's/"/\\"/g' -e 's/^\(.*\)$/"\1\\n"/' -e'1s/^\(.*\)$/const char systems_cfg_data[] = \1/' -e '$s/^\(.*\)$/\1;/' systems.cfg > systems.cfg.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/system.o system.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/genesis.o genesis.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/vdp.o vdp.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/io.o io.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/romdb.o romdb.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/hash.o hash.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/xband.o xband.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/realtec.o realtec.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/i2c.o i2c.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/nor.o nor.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/68kinst.o 68kinst.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/disasm.o disasm.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/m68k.o m68k.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/sega_mapper.o sega_mapper.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/multi_game.o multi_game.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/megawifi.o megawifi.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/net.o net.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/serialize.o serialize.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/terminal.o terminal.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/config.o config.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/tern.o tern.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/util.o util.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/paths.o paths.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/gst.o gst.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/gen.o gen.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/backend.o backend.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/mem.o mem.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/arena.o arena.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/ym2612.o ym2612.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/ymf262.o ymf262.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/ym_common.o ym_common.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/psg.o psg.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/wave.o wave.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/flac.o flac.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/vgm.o vgm.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/event_log.o event_log.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/render_audio.o render_audio.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/rf5c164.o rf5c164.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/saves.o saves.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/jcart.o jcart.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/gen_player.o gen_player.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/coleco.o coleco.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/pico_pcm.o pico_pcm.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/ymz263b.o ymz263b.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/segacd.o segacd.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/lc8951.o lc8951.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/cdimage.o cdimage.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -Ilibchdr/include -Ilibchdr -Ilzma -Izlib -c -MMD -o obj/release/lib/chdimage.o chdimage.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -Ilibchdr/include -Ilibchdr -Ilzma -Izlib -c -MMD -o obj/release/lib/libchdr/libchdr_bitstream.o libchdr/libchdr_bitstream.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -Ilibchdr/include -Ilibchdr -Ilzma -Izlib -c -MMD -o obj/release/lib/libchdr/libchdr_cdrom.o libchdr/libchdr_cdrom.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -Ilibchdr/include -Ilibchdr -Ilzma -Izlib -c -MMD -o obj/release/lib/libchdr/libchdr_chd.o libchdr/libchdr_chd.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -Ilibchdr/include -Ilibchdr -Ilzma -Izlib -c -MMD -o obj/release/lib/libchdr/libchdr_flac.o libchdr/libchdr_flac.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -Ilibchdr/include -Ilibchdr -Ilzma -Izlib -c -MMD -o obj/release/lib/libchdr/libchdr_huffman.o libchdr/libchdr_huffman.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -Ilibchdr/include -Ilibchdr -Ilzma -Izlib -c -MMD -o obj/release/lib/libchdr/zstd_stub.o libchdr/zstd_stub.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -Ilibchdr/include -Ilibchdr -Ilzma -Izlib -c -MMD -o obj/release/lib/lzma/LzmaDec.o lzma/LzmaDec.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/cdd_mcu.o cdd_mcu.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/cd_graphics.o cd_graphics.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/cdd_fader.o cdd_fader.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/sft_mapper.o sft_mapper.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/mediaplayer.o mediaplayer.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/laseractive.o laseractive.c
laseractive.c: In function ‘free_laseractive’:
laseractive.c:450:32: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
450 | free(la->upd->opts->gen.memmap);
| ~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from laseractive.c:2:
/usr/include/stdlib.h:691:25: note: expected ‘void *’ but argument is of type ‘const memmap_chunk *’
691 | extern void free (void *__ptr) __THROW;
| ~~~~~~^~~~~
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/upd78k2_dis.o upd78k2_dis.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/upd78k2.o upd78k2.c
upd78k2.c: In function ‘btclr_psw_B_111’:
upd78k2.c:2958:16: warning: unsigned conversion from ‘int’ to ‘uint8_t’ {aka ‘unsigned char’} changes value from ‘-129’ to ‘127’ [-Woverflow]
2958 | mask = ~128;
| ^
upd78k2.c: In function ‘btclr_r_B_111_R_0’:
upd78k2.c:5845:16: warning: unsigned conversion from ‘int’ to ‘uint8_t’ {aka ‘unsigned char’} changes value from ‘-129’ to ‘127’ [-Woverflow]
5845 | mask = ~128;
| ^
upd78k2.c: In function ‘btclr_r_B_111_R_1’:
upd78k2.c:6429:16: warning: unsigned conversion from ‘int’ to ‘uint8_t’ {aka ‘unsigned char’} changes value from ‘-129’ to ‘127’ [-Woverflow]
6429 | mask = ~128;
| ^
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/osd_font.o osd_font.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/pd0178.o pd0178.c
upd78k2.c: In function ‘mov1_saddr_cy_B_111’:
upd78k2.c:15132:16: warning: unsigned conversion from ‘int’ to ‘uint8_t’ {aka ‘unsigned char’} changes value from ‘-129’ to ‘127’ [-Woverflow]
15132 | mask = ~128;
| ^
upd78k2.c: In function ‘mov1_sfr_cy_B_111’:
upd78k2.c:15803:16: warning: unsigned conversion from ‘int’ to ‘uint8_t’ {aka ‘unsigned char’} changes value from ‘-129’ to ‘127’ [-Woverflow]
15803 | mask = ~128;
| ^
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/radica.o radica.c
upd78k2.c: In function ‘btclr_saddr_B_111’:
upd78k2.c:31914:16: warning: unsigned conversion from ‘int’ to ‘uint8_t’ {aka ‘unsigned char’} changes value from ‘-129’ to ‘127’ [-Woverflow]
31914 | mask = ~128;
| ^
upd78k2.c: In function ‘btclr_sfr_B_111’:
upd78k2.c:33073:16: warning: unsigned conversion from ‘int’ to ‘uint8_t’ {aka ‘unsigned char’} changes value from ‘-129’ to ‘127’ [-Woverflow]
33073 | mask = ~128;
| ^
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/32x.o 32x.c
upd78k2.c: In function ‘rolc_r_N_000_R_000’:
upd78k2.c:67918:118: warning: left shift count is negative [-Wshift-count-negative]
67918 | gen_tmp8__ = context->main[0] << 0 | context->main[0] >> (8 + 1 - 0) | ((context->chflags & 1 << 7) ? 1 : 0) << (0 - 1);
| ^~
upd78k2.c: In function ‘rolc_r_N_000_R_001’:
upd78k2.c:67927:118: warning: left shift count is negative [-Wshift-count-negative]
67927 | gen_tmp8__ = context->main[1] << 0 | context->main[1] >> (8 + 1 - 0) | ((context->chflags & 1 << 7) ? 1 : 0) << (0 - 1);
| ^~
upd78k2.c: In function ‘rolc_r_N_000_R_010’:
upd78k2.c:67936:118: warning: left shift count is negative [-Wshift-count-negative]
67936 | gen_tmp8__ = context->main[2] << 0 | context->main[2] >> (8 + 1 - 0) | ((context->chflags & 1 << 7) ? 1 : 0) << (0 - 1);
| ^~
upd78k2.c: In function ‘rolc_r_N_000_R_011’:
upd78k2.c:67945:118: warning: left shift count is negative [-Wshift-count-negative]
67945 | gen_tmp8__ = context->main[3] << 0 | context->main[3] >> (8 + 1 - 0) | ((context->chflags & 1 << 7) ? 1 : 0) << (0 - 1);
| ^~
upd78k2.c: In function ‘rolc_r_N_000_R_100’:
upd78k2.c:67954:118: warning: left shift count is negative [-Wshift-count-negative]
67954 | gen_tmp8__ = context->main[4] << 0 | context->main[4] >> (8 + 1 - 0) | ((context->chflags & 1 << 7) ? 1 : 0) << (0 - 1);
| ^~
upd78k2.c: In function ‘rolc_r_N_000_R_101’:
upd78k2.c:67963:118: warning: left shift count is negative [-Wshift-count-negative]
67963 | gen_tmp8__ = context->main[5] << 0 | context->main[5] >> (8 + 1 - 0) | ((context->chflags & 1 << 7) ? 1 : 0) << (0 - 1);
| ^~
upd78k2.c: In function ‘rolc_r_N_000_R_110’:
upd78k2.c:67972:118: warning: left shift count is negative [-Wshift-count-negative]
67972 | gen_tmp8__ = context->main[6] << 0 | context->main[6] >> (8 + 1 - 0) | ((context->chflags & 1 << 7) ? 1 : 0) << (0 - 1);
| ^~
upd78k2.c: In function ‘rolc_r_N_000_R_111’:
upd78k2.c:67981:118: warning: left shift count is negative [-Wshift-count-negative]
67981 | gen_tmp8__ = context->main[7] << 0 | context->main[7] >> (8 + 1 - 0) | ((context->chflags & 1 << 7) ? 1 : 0) << (0 - 1);
| ^~
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/32x_video.o 32x_video.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/sh2.o sh2.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/sh2_decode.o sh2_decode.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/sh7095.o sh7095.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/sms.o sms.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/i8255.o i8255.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/korean_sms_multi.o korean_sms_multi.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/z80.o z80.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/z80inst.o z80inst.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/libblastem.o libblastem.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/lib_stubs.o lib_stubs.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/rom.db.o rom.db.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/systems.cfg.o systems.cfg.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/vfs_file.o vfs_file.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/zlib/adler32.o zlib/adler32.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/zlib/compress.o zlib/compress.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/zlib/crc32.o zlib/crc32.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/zlib/deflate.o zlib/deflate.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/zlib/gzclose.o zlib/gzclose.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/zlib/gzlib.o zlib/gzlib.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/zlib/gzread.o zlib/gzread.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/zlib/gzwrite.o zlib/gzwrite.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/zlib/infback.o zlib/infback.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/zlib/inffast.o zlib/inffast.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/zlib/inflate.o zlib/inflate.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/zlib/inftrees.o zlib/inftrees.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/zlib/trees.o zlib/trees.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/zlib/uncompr.o zlib/uncompr.c
cc -O2 -flto -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DNEW_CORE -DNEW_Z80 -fPIC -DIS_LIB -DDISABLE_NUKLEAR -c -MMD -o obj/release/lib/zlib/zutil.o zlib/zutil.c
cc -shared -fPIC -o libblastem.so obj/release/lib/system.o obj/release/lib/genesis.o obj/release/lib/vdp.o obj/release/lib/io.o obj/release/lib/romdb.o obj/release/lib/hash.o obj/release/lib/xband.o obj/release/lib/realtec.o obj/release/lib/i2c.o obj/release/lib/nor.o obj/release/lib/68kinst.o obj/release/lib/disasm.o obj/release/lib/m68k.o obj/release/lib/sega_mapper.o obj/release/lib/multi_game.o obj/release/lib/megawifi.o obj/release/lib/net.o obj/release/lib/serialize.o obj/release/lib/terminal.o obj/release/lib/config.o obj/release/lib/tern.o obj/release/lib/util.o obj/release/lib/paths.o obj/release/lib/gst.o obj/release/lib/gen.o obj/release/lib/backend.o obj/release/lib/mem.o obj/release/lib/arena.o obj/release/lib/ym2612.o obj/release/lib/ymf262.o obj/release/lib/ym_common.o obj/release/lib/psg.o obj/release/lib/wave.o obj/release/lib/flac.o obj/release/lib/vgm.o obj/release/lib/event_log.o obj/release/lib/render_audio.o obj/release/lib/rf5c164.o obj/release/lib/saves.o obj/release/lib/jcart.o obj/release/lib/gen_player.o obj/release/lib/coleco.o obj/release/lib/pico_pcm.o obj/release/lib/ymz263b.o obj/release/lib/segacd.o obj/release/lib/lc8951.o obj/release/lib/cdimage.o obj/release/lib/chdimage.o obj/release/lib/libchdr/libchdr_bitstream.o obj/release/lib/libchdr/libchdr_cdrom.o obj/release/lib/libchdr/libchdr_chd.o obj/release/lib/libchdr/libchdr_flac.o obj/release/lib/libchdr/libchdr_huffman.o obj/release/lib/libchdr/zstd_stub.o obj/release/lib/lzma/LzmaDec.o obj/release/lib/cdd_mcu.o obj/release/lib/cd_graphics.o obj/release/lib/cdd_fader.o obj/release/lib/sft_mapper.o obj/release/lib/mediaplayer.o obj/release/lib/laseractive.o obj/release/lib/upd78k2_dis.o obj/release/lib/upd78k2.o obj/release/lib/osd_font.o obj/release/lib/pd0178.o obj/release/lib/radica.o obj/release/lib/32x.o obj/release/lib/32x_video.o obj/release/lib/sh2.o obj/release/lib/sh2_decode.o obj/release/lib/sh7095.o obj/release/lib/sms.o obj/release/lib/i8255.o obj/release/lib/korean_sms_multi.o obj/release/lib/z80.o obj/release/lib/z80inst.o obj/release/lib/libblastem.o obj/release/lib/lib_stubs.o obj/release/lib/rom.db.o obj/release/lib/systems.cfg.o obj/release/lib/vfs_file.o obj/release/lib/zlib/adler32.o obj/release/lib/zlib/compress.o obj/release/lib/zlib/crc32.o obj/release/lib/zlib/deflate.o obj/release/lib/zlib/gzclose.o obj/release/lib/zlib/gzlib.o obj/release/lib/zlib/gzread.o obj/release/lib/zlib/gzwrite.o obj/release/lib/zlib/infback.o obj/release/lib/zlib/inffast.o obj/release/lib/zlib/inflate.o obj/release/lib/zlib/inftrees.o obj/release/lib/zlib/trees.o obj/release/lib/zlib/uncompr.o obj/release/lib/zlib/zutil.o -O2 -flto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -lm
upd78k2.c: In function ‘shrw_rp_N_000_R_111’:
upd78k2.c:66959:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
66959 | context->main[8] = tmp >> 8;
| ^
upd78k2.h:64:17: note: at offset 8 into destination object ‘main’ of size 8
64 | uint8_t main[8];
| ^
upd78k2.c: In function ‘shrw_rp_N_001_R_111’:
upd78k2.c:67095:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
67095 | context->main[8] = tmp >> 8;
| ^
upd78k2.h:64:17: note: at offset 8 into destination object ‘main’ of size 8
64 | uint8_t main[8];
| ^
upd78k2.c: In function ‘shrw_rp_N_010_R_111’:
upd78k2.c:67231:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
67231 | context->main[8] = tmp >> 8;
| ^
upd78k2.h:64:17: note: at offset 8 into destination object ‘main’ of size 8
64 | uint8_t main[8];
| ^
upd78k2.c: In function ‘shrw_rp_N_011_R_111’:
upd78k2.c:67367:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
67367 | context->main[8] = tmp >> 8;
| ^
upd78k2.h:64:17: note: at offset 8 into destination object ‘main’ of size 8
64 | uint8_t main[8];
| ^
upd78k2.c: In function ‘shrw_rp_N_100_R_111’:
upd78k2.c:67503:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
67503 | context->main[8] = tmp >> 8;
| ^
upd78k2.h:64:17: note: at offset 8 into destination object ‘main’ of size 8
64 | uint8_t main[8];
| ^
upd78k2.c: In function ‘shrw_rp_N_101_R_111’:
upd78k2.c:67639:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
67639 | context->main[8] = tmp >> 8;
| ^
upd78k2.h:64:17: note: at offset 8 into destination object ‘main’ of size 8
64 | uint8_t main[8];
| ^
upd78k2.c: In function ‘shrw_rp_N_110_R_111’:
upd78k2.c:67775:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
67775 | context->main[8] = tmp >> 8;
| ^
upd78k2.h:64:17: note: at offset 8 into destination object ‘main’ of size 8
64 | uint8_t main[8];
| ^
upd78k2.c: In function ‘shrw_rp_N_111_R_111’:
upd78k2.c:67911:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
67911 | context->main[8] = tmp >> 8;
| ^
upd78k2.h:64:17: note: at offset 8 into destination object ‘main’ of size 8
64 | uint8_t main[8];
| ^
upd78k2.c: In function ‘shlw_rp_N_000_R_111’:
upd78k2.c:66959:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
66959 | context->main[8] = tmp >> 8;
| ^
upd78k2.h:64:17: note: at offset 8 into destination object ‘main’ of size 8
64 | uint8_t main[8];
| ^
upd78k2.c: In function ‘shlw_rp_N_001_R_111’:
upd78k2.c:69911:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
69911 | context->main[8] = tmp >> 8;
| ^
upd78k2.h:64:17: note: at offset 8 into destination object ‘main’ of size 8
64 | uint8_t main[8];
| ^
upd78k2.c: In function ‘shlw_rp_N_010_R_111’:
upd78k2.c:70047:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
70047 | context->main[8] = tmp >> 8;
| ^
upd78k2.h:64:17: note: at offset 8 into destination object ‘main’ of size 8
64 | uint8_t main[8];
| ^
upd78k2.c: In function ‘shlw_rp_N_011_R_111’:
upd78k2.c:70183:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
70183 | context->main[8] = tmp >> 8;
| ^
upd78k2.h:64:17: note: at offset 8 into destination object ‘main’ of size 8
64 | uint8_t main[8];
| ^
upd78k2.c: In function ‘shlw_rp_N_100_R_111’:
upd78k2.c:70319:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
70319 | context->main[8] = tmp >> 8;
| ^
upd78k2.h:64:17: note: at offset 8 into destination object ‘main’ of size 8
64 | uint8_t main[8];
| ^
upd78k2.c: In function ‘shlw_rp_N_101_R_111’:
upd78k2.c:70455:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
70455 | context->main[8] = tmp >> 8;
| ^
upd78k2.h:64:17: note: at offset 8 into destination object ‘main’ of size 8
64 | uint8_t main[8];
| ^
upd78k2.c: In function ‘shlw_rp_N_110_R_111’:
upd78k2.c:70591:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
70591 | context->main[8] = tmp >> 8;
| ^
upd78k2.h:64:17: note: at offset 8 into destination object ‘main’ of size 8
64 | uint8_t main[8];
| ^
upd78k2.c: In function ‘shlw_rp_N_111_R_111’:
upd78k2.c:70727:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
70727 | context->main[8] = tmp >> 8;
| ^
upd78k2.h:64:17: note: at offset 8 into destination object ‘main’ of size 8
64 | uint8_t main[8];
| ^
In function ‘mw_putc’,
inlined from ‘start_reply’ at megawifi.c:285:2:
megawifi.c:124:49: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
124 | mw->receive_buffer[mw->receive_bytes++] = v;
| ^
megawifi.c: In function ‘start_reply’:
megawifi.c:98:18: note: at offset 4098 into destination object ‘receive_buffer’ of size 4096
98 | uint8_t receive_buffer[4096];
| ^
rm systems.cfg.c rom.db.c
make[1]: Leaving directory '/build/libretro-blastem/src/libretro-blastem'
cp -v libblastem.so blastem_libretro.so
'libblastem.so' -> 'blastem_libretro.so'
make: Leaving directory '/build/libretro-blastem/src/libretro-blastem'
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
-> Removing libtool files...
-> Removing static library files...
-> Purging unwanted files...
-> Stripping unneeded symbols from binaries and libraries...
-> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "libretro-blastem"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: libretro-blastem 20260902.212710.gb4d75247ebad-1 (Fri Sep 4 23:11:32 2026)
==> Cleaning up...
[?12l[?25h