==> Synchronizing chroot copy [/home/leming/armv7/root] -> [leming]...done
==> Making package: libretro-sameboy 20260722.225329.gaa158a889a48-1 (Sat Sep  5 01:17:47 2026)
==> Retrieving sources...
  -> Updating libretro-sameboy git repo...
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with b2sums...
    libretro-sameboy ... Passed
==> Making package: libretro-sameboy 20260722.225329.gaa158a889a48-1 (Sat Sep  5 07:18:14 2026)
==> Checking runtime dependencies...
==> Installing missing dependencies...
:: There are 5 providers available for libgl:
:: Repository extra
   1) libglvnd
:: Repository alarm
   2) imx-gpu-viv-dfb  3) imx-gpu-viv-fb  4) imx-gpu-viv-wl  5) imx-gpu-viv-x11

Enter a number (default=1): 
resolving dependencies...
looking for conflicting packages...

Packages (20) default-cursors-3-1  libdrm-2.4.134-1  libedit-20260512_3.1-1  libpciaccess-0.19-1  libx11-1.8.13-1  libxau-1.0.12-1  libxcb-1.17.0-1  libxdmcp-1.1.5-2  libxext-1.3.7-1  libxshmfence-1.3.3-1  libxxf86vm-1.1.7-1  llvm-libs-22.1.8-2  lm_sensors-1:3.6.2-1  mesa-1:26.2.2-1  spirv-tools-1:1.4.357.0-1  wayland-1.26.0-1  xcb-proto-1.17.0-4  xorgproto-2025.1-1  libglvnd-1.7.0-3  libretro-core-info-1.22.2-1

Total Download Size:     0.08 MiB
Total Installed Size:  248.35 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 libretro-core-info-1.22.2-1-any downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing libretro-core-info...
installing xcb-proto...
installing xorgproto...
installing libxdmcp...
installing libxau...
installing libxcb...
installing libx11...
installing libxext...
installing libpciaccess...
installing libdrm...
Optional dependencies for libdrm
    cairo: needed for modetest tool
installing libxshmfence...
installing libxxf86vm...
installing libedit...
installing llvm-libs...
installing lm_sensors...
Optional dependencies for lm_sensors
    rrdtool: for logging with sensord
    perl: for sensor detection and configuration convert [installed]
installing spirv-tools...
installing default-cursors...
Optional dependencies for default-cursors
    adwaita-cursors: default cursor theme
installing wayland...
installing mesa...
Optional dependencies for mesa
    opengl-man-pages: for the OpenGL API man pages
installing libglvnd...
:: Running post-transaction hooks...
(1/2) Reloading system manager configuration...
  Skipped: Current root is not booted.
(2/2) Arming ConditionNeedsUpdate...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (15) compiler-rt-22.1.8-1  hidapi-0.15.0-1  libpng-1.6.58-2  libxcursor-1.2.3-1  libxfixes-6.0.2-1  libxrender-0.9.12-1  perl-error-0.17030-3  perl-mailtools-2.22-3  perl-timedate-2.35-1  sdl3-3.4.14-1  zlib-ng-2.3.3-1  clang-22.1.8-1  git-2.55.0-1  rgbds-1.0.3-1  sdl2-compat-2.32.70-1

Total Download Size:     0.33 MiB
Total Installed Size:  304.35 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 rgbds-1.0.3-1-armv7h downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing compiler-rt...
installing clang...
Optional dependencies for clang
    openmp: OpenMP support in clang with -fopenmp
    python: for scan-view and git-clang-format [installed]
    llvm: referenced by some clang headers
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
installing libpng...
installing rgbds...
installing libxrender...
installing libxfixes...
installing libxcursor...
installing hidapi...
Optional dependencies for hidapi
    libusb: for hidapi-libusb [installed]
installing sdl3...
Optional dependencies for sdl3
    alsa-lib: ALSA audio driver
    libpulse: PulseAudio audio driver
    jack: JACK audio driver
    pipewire: PipeWire audio driver
    vulkan-driver: vulkan renderer
    sndio: sndio audio driver
    libdecor: Wayland client decorations
installing sdl2-compat...
:: 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...
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Creating working copy of libretro-sameboy git repo...
Cloning into 'libretro-sameboy'...
done.
Switched to a new branch 'makepkg'
==> Starting build()...
make: Entering directory '/build/libretro-sameboy/src/libretro-sameboy/libretro'
clang -c -o../build/obj/Core/gb_libretro.c.o ../Core/gb.c -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DGIT_VERSION=\"" aa158a8"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clang -c -o../build/obj/Core/sgb_libretro.c.o ../Core/sgb.c -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DGIT_VERSION=\"" aa158a8"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clang -c -o../build/obj/Core/apu_libretro.c.o ../Core/apu.c -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DGIT_VERSION=\"" aa158a8"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clang -c -o../build/obj/Core/memory_libretro.c.o ../Core/memory.c -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DGIT_VERSION=\"" aa158a8"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clang -c -o../build/obj/Core/mbc_libretro.c.o ../Core/mbc.c -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DGIT_VERSION=\"" aa158a8"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clangclang: : warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]warning: 
argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: clangwarning: : argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]warning: 
argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang -c -o../build/obj/Core/timing_libretro.c.o ../Core/timing.c -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DGIT_VERSION=\"" aa158a8"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang -c -o../build/obj/Core/display_libretro.c.o ../Core/display.c -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DGIT_VERSION=\"" aa158a8"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
../Core/sgb.c:265:19: warning: explicitly assigning value of variable of type 'uint16_t' (aka 'unsigned short') to itself [-Wself-assign]
  265 |             count = (count);
      |             ~~~~~ ^  ~~~~~
1 warning generated.
clang -c -o../build/obj/Core/symbol_hash_libretro.c.o ../Core/symbol_hash.c -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DGIT_VERSION=\"" aa158a8"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
../Core/gb.c:25:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
   25 |     vasprintf(&string, fmt, args);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/gb.c:230:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
  230 |     fread(gb->boot_rom, sizeof(gb->boot_rom), 1, f);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/gb.c:308:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
  308 |     fread(gb->rom, 1, gb->rom_size, f);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/gb.c:481:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
  481 |     fread(file_data, 1, file_size, f);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/gb.c:498:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
  498 |     fread(magic, 1, sizeof(magic), f);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/gb.c:528:25: warning: explicitly assigning value of variable of type 'uint16_t' (aka 'unsigned short') to itself [-Wself-assign]
  528 |                 address = (address);
      |                 ~~~~~~~ ^  ~~~~~~~
../Core/gb.c:532:24: warning: explicitly assigning value of variable of type 'uint16_t' (aka 'unsigned short') to itself [-Wself-assign]
  532 |                 length = (length);
      |                 ~~~~~~ ^  ~~~~~~
../Core/gb.c:553:25: warning: explicitly assigning value of variable of type 'uint32_t' (aka 'unsigned int') to itself [-Wself-assign]
  553 |                 address = (address);
      |                 ~~~~~~~ ^  ~~~~~~~
../Core/gb.c:556:24: warning: explicitly assigning value of variable of type 'uint32_t' (aka 'unsigned int') to itself [-Wself-assign]
  556 |                 length = (length);
      |                 ~~~~~~ ^  ~~~~~~
../Core/gb.c:580:23: warning: explicitly assigning value of variable of type 'uint16_t' (aka 'unsigned short') to itself [-Wself-assign]
  580 |                 count = (count);
      |                 ~~~~~ ^  ~~~~~
../Core/gb.c:595:29: warning: explicitly assigning value of variable of type 'uint16_t' (aka 'unsigned short') to itself [-Wself-assign]
  595 |                     address = (address);
      |                     ~~~~~~~ ^  ~~~~~~~
../Core/gb.c:608:23: warning: explicitly assigning value of variable of type 'uint16_t' (aka 'unsigned short') to itself [-Wself-assign]
  608 |                 count = (count);
      |                 ~~~~~ ^  ~~~~~
../Core/gb.c:616:29: warning: explicitly assigning value of variable of type 'uint32_t' (aka 'unsigned int') to itself [-Wself-assign]
  616 |                     address = (address);
      |                     ~~~~~~~ ^  ~~~~~~~
13 warnings generated.
clang -c -o../build/obj/Core/camera_libretro.c.o ../Core/camera.c -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DGIT_VERSION=\"" aa158a8"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang -c -o../build/obj/Core/sm83_cpu_libretro.c.o ../Core/sm83_cpu.c -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DGIT_VERSION=\"" aa158a8"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang -c -o../build/obj/Core/joypad_libretro.c.o ../Core/joypad.c -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DGIT_VERSION=\"" aa158a8"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang -c -o../build/obj/Core/save_state_libretro.c.o ../Core/save_state.c -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DGIT_VERSION=\"" aa158a8"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang -c -o../build/obj/Core/random_libretro.c.o ../Core/random.c -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DGIT_VERSION=\"" aa158a8"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang -c -o../build/obj/Core/rumble_libretro.c.o ../Core/rumble.c -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DGIT_VERSION=\"" aa158a8"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
echo "/* AUTO-GENERATED */" > ../libretro/agb_boot.c
echo "const unsigned char agb_boot[] = {" >> ../libretro/agb_boot.c
hexdump -v -e '/1 "0x%02x, "' ../BootROMs/prebuilt/agb_boot.bin >> ../libretro/agb_boot.c
echo "};" >> ../libretro/agb_boot.c
echo "const unsigned agb_boot_length = sizeof(agb_boot);" >> ../libretro/agb_boot.c
echo "/* AUTO-GENERATED */" > ../libretro/cgb_boot.c
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
echo "const unsigned char cgb_boot[] = {" >> ../libretro/cgb_boot.c
hexdump -v -e '/1 "0x%02x, "' ../BootROMs/prebuilt/cgb_boot.bin >> ../libretro/cgb_boot.c
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
echo "/* AUTO-GENERATED */" > ../libretro/dmg_boot.c
echo "const unsigned char dmg_boot[] = {" >> ../libretro/dmg_boot.c
echo "};" >> ../libretro/cgb_boot.c
hexdump -v -e '/1 "0x%02x, "' ../BootROMs/prebuilt/dmg_boot.bin >> ../libretro/dmg_boot.c
echo "const unsigned cgb_boot_length = sizeof(cgb_boot);" >> ../libretro/cgb_boot.c
echo "/* AUTO-GENERATED */" > ../libretro/sgb_boot.c
echo "};" >> ../libretro/dmg_boot.c
echo "const unsigned char sgb_boot[] = {" >> ../libretro/sgb_boot.c
echo "const unsigned dmg_boot_length = sizeof(dmg_boot);" >> ../libretro/dmg_boot.c
hexdump -v -e '/1 "0x%02x, "' ../BootROMs/prebuilt/sgb_boot.bin >> ../libretro/sgb_boot.c
echo "/* AUTO-GENERATED */" > ../libretro/sgb2_boot.c
echo "const unsigned char sgb2_boot[] = {" >> ../libretro/sgb2_boot.c
echo "};" >> ../libretro/sgb_boot.c
hexdump -v -e '/1 "0x%02x, "' ../BootROMs/prebuilt/sgb2_boot.bin >> ../libretro/sgb2_boot.c
echo "const unsigned sgb_boot_length = sizeof(sgb_boot);" >> ../libretro/sgb_boot.c
echo "};" >> ../libretro/sgb2_boot.c
clang -c -o../build/obj/libretro/libretro_libretro.c.o ../libretro/libretro.c -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DGIT_VERSION=\"" aa158a8"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
echo "const unsigned sgb2_boot_length = sizeof(sgb2_boot);" >> ../libretro/sgb2_boot.c
clang -c -o../build/obj/libretro/libretro-common/compat/compat_posix_string_libretro.c.o ../libretro/libretro-common/compat/compat_posix_string.c -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DGIT_VERSION=\"" aa158a8"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
../Core/save_state.c:1382:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
 1382 |     fread(&magic, sizeof(magic), 1, f);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/save_state.c:1390:9: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
 1390 |         fread(&magic, sizeof(magic), 1, f);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/save_state.c:1398:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
 1398 |     fread(&magic, sizeof(magic), 1, f);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 warnings generated.
clang -c -o../build/obj/libretro/libretro-common/compat/compat_snprintf_libretro.c.o ../libretro/libretro-common/compat/compat_snprintf.c -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DGIT_VERSION=\"" aa158a8"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clang -c -o../build/obj/libretro/libretro-common/compat/compat_strcasestr_libretro.c.o ../libretro/libretro-common/compat/compat_strcasestr.c -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DGIT_VERSION=\"" aa158a8"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang -c -o../build/obj/libretro/libretro-common/compat/compat_strl_libretro.c.o ../libretro/libretro-common/compat/compat_strl.c -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DGIT_VERSION=\"" aa158a8"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang -c -o../build/obj/libretro/libretro-common/compat/fopen_utf8_libretro.c.o ../libretro/libretro-common/compat/fopen_utf8.c -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DGIT_VERSION=\"" aa158a8"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang -c -o../build/obj/libretro/libretro-common/encodings/encoding_utf_libretro.c.o ../libretro/libretro-common/encodings/encoding_utf.c -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DGIT_VERSION=\"" aa158a8"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang -c -o../build/obj/libretro/libretro-common/file/file_path_libretro.c.o ../libretro/libretro-common/file/file_path.c -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DGIT_VERSION=\"" aa158a8"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang -c -o../build/obj/libretro/libretro-common/file/file_path_io_libretro.c.o ../libretro/libretro-common/file/file_path_io.c -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DGIT_VERSION=\"" aa158a8"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang -c -o../build/obj/libretro/libretro-common/streams/file_stream_libretro.c.o ../libretro/libretro-common/streams/file_stream.c -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DGIT_VERSION=\"" aa158a8"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang -c -o../build/obj/libretro/libretro-common/streams/file_stream_transforms_libretro.c.o ../libretro/libretro-common/streams/file_stream_transforms.c -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DGIT_VERSION=\"" aa158a8"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang -c -o../build/obj/libretro/libretro-common/string/stdstring_libretro.c.o ../libretro/libretro-common/string/stdstring.c -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DGIT_VERSION=\"" aa158a8"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
In file included from ../libretro/libretro-common/file/file_path.c:34:
../libretro/libretro-common/include/string/stdstring.h:126:335: warning: expression with side effects has no effect in an unevaluated context [-Wunevaluated-expression]
  126 |    while ((result = (__extension__ ({ int __res; if (sizeof (*p1) > 1) { if (__builtin_constant_p (*p1)) { int __c = (*p1); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower (*p1); } else __res = (*__ctype_tolower_loc ())[(int) (*p1)]; __res; })) - (__extension__ ({ int __res; if (sizeof (*p2++) > 1) { if (__builtin_constant_p (*p2++)) { int __c = (*p2++); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower (*p2++); } else __res = (*__ctype_tolower_loc ())[(int) (*p2++)]; __res; }))) == 0)
      |                                                                                                                                                                                                                                                                                                                                               ^
1 warning generated.
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang -c -o../build/obj/libretro/libretro-common/time/rtime_libretro.c.o ../libretro/libretro-common/time/rtime.c -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DGIT_VERSION=\"" aa158a8"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
In file included from ../libretro/libretro-common/file/file_path_io.c:37:
../libretro/libretro-common/include/string/stdstring.h:126:335: warning: expression with side effects has no effect in an unevaluated context [-Wunevaluated-expression]
  126 |    while ((result = (__extension__ ({ int __res; if (sizeof (*p1) > 1) { if (__builtin_constant_p (*p1)) { int __c = (*p1); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower (*p1); } else __res = (*__ctype_tolower_loc ())[(int) (*p1)]; __res; })) - (__extension__ ({ int __res; if (sizeof (*p2++) > 1) { if (__builtin_constant_p (*p2++)) { int __c = (*p2++); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower (*p2++); } else __res = (*__ctype_tolower_loc ())[(int) (*p2++)]; __res; }))) == 0)
      |                                                                                                                                                                                                                                                                                                                                               ^
1 warning generated.
clang -c -o../build/obj/libretro/libretro-common/vfs/vfs_implementation_libretro.c.o ../libretro/libretro-common/vfs/vfs_implementation.c -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DGIT_VERSION=\"" aa158a8"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang -c -o../build/obj/libretro/agb_boot_libretro.c.o ../libretro/agb_boot.c -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DGIT_VERSION=\"" aa158a8"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
In file included from ../libretro/libretro-common/streams/file_stream.c:38:
../libretro/libretro-common/include/string/stdstring.h:126:335: warning: expression with side effects has no effect in an unevaluated context [-Wunevaluated-expression]
  126 |    while ((result = (__extension__ ({ int __res; if (sizeof (*p1) > 1) { if (__builtin_constant_p (*p1)) { int __c = (*p1); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower (*p1); } else __res = (*__ctype_tolower_loc ())[(int) (*p1)]; __res; })) - (__extension__ ({ int __res; if (sizeof (*p2++) > 1) { if (__builtin_constant_p (*p2++)) { int __c = (*p2++); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower (*p2++); } else __res = (*__ctype_tolower_loc ())[(int) (*p2++)]; __res; }))) == 0)
      |                                                                                                                                                                                                                                                                                                                                               ^
1 warning generated.
clang -c -o../build/obj/libretro/cgb_boot_libretro.c.o ../libretro/cgb_boot.c -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DGIT_VERSION=\"" aa158a8"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
In file included from ../libretro/libretro-common/string/stdstring.c:27:
../libretro/libretro-common/include/string/stdstring.h:126:335: warning: expression with side effects has no effect in an unevaluated context [-Wunevaluated-expression]
  126 |    while ((result = (__extension__ ({ int __res; if (sizeof (*p1) > 1) { if (__builtin_constant_p (*p1)) { int __c = (*p1); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower (*p1); } else __res = (*__ctype_tolower_loc ())[(int) (*p1)]; __res; })) - (__extension__ ({ int __res; if (sizeof (*p2++) > 1) { if (__builtin_constant_p (*p2++)) { int __c = (*p2++); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower (*p2++); } else __res = (*__ctype_tolower_loc ())[(int) (*p2++)]; __res; }))) == 0)
      |                                                                                                                                                                                                                                                                                                                                               ^
1 warning generated.
clang -c -o../build/obj/libretro/dmg_boot_libretro.c.o ../libretro/dmg_boot.c -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DGIT_VERSION=\"" aa158a8"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang -c -o../build/obj/libretro/sgb_boot_libretro.c.o ../libretro/sgb_boot.c -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DGIT_VERSION=\"" aa158a8"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang -c -o../build/obj/libretro/sgb2_boot_libretro.c.o ../libretro/sgb2_boot.c -Wall -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DGIT_VERSION=\"" aa158a8"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.15.4\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
In file included from ../libretro/libretro-common/vfs/vfs_implementation.c:29:
../libretro/libretro-common/include/string/stdstring.h:126:335: warning: expression with side effects has no effect in an unevaluated context [-Wunevaluated-expression]
  126 |    while ((result = (__extension__ ({ int __res; if (sizeof (*p1) > 1) { if (__builtin_constant_p (*p1)) { int __c = (*p1); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower (*p1); } else __res = (*__ctype_tolower_loc ())[(int) (*p1)]; __res; })) - (__extension__ ({ int __res; if (sizeof (*p2++) > 1) { if (__builtin_constant_p (*p2++)) { int __c = (*p2++); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower (*p2++); } else __res = (*__ctype_tolower_loc ())[(int) (*p2++)]; __res; }))) == 0)
      |                                                                                                                                                                                                                                                                                                                                               ^
1 warning generated.
clang: warning: argument unused during compilation: '-fno-plt' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang -fPIC -shared -Wl,--version-script=../libretro/link.T -Wl,--no-undefined -I.. -I../libretro/libretro-common/include -o sameboy_libretro.so ../build/obj/Core/gb_libretro.c.o ../build/obj/Core/sgb_libretro.c.o ../build/obj/Core/apu_libretro.c.o ../build/obj/Core/memory_libretro.c.o ../build/obj/Core/mbc_libretro.c.o ../build/obj/Core/timing_libretro.c.o ../build/obj/Core/display_libretro.c.o ../build/obj/Core/symbol_hash_libretro.c.o ../build/obj/Core/camera_libretro.c.o ../build/obj/Core/sm83_cpu_libretro.c.o ../build/obj/Core/joypad_libretro.c.o ../build/obj/Core/save_state_libretro.c.o ../build/obj/Core/random_libretro.c.o ../build/obj/Core/rumble_libretro.c.o ../build/obj/libretro/agb_boot_libretro.c.o ../build/obj/libretro/cgb_boot_libretro.c.o ../build/obj/libretro/dmg_boot_libretro.c.o ../build/obj/libretro/sgb_boot_libretro.c.o ../build/obj/libretro/sgb2_boot_libretro.c.o ../build/obj/libretro/libretro_libretro.c.o ../build/obj/libretro/libretro-common/compat/compat_posix_string_libretro.c.o ../build/obj/libretro/libretro-common/compat/compat_snprintf_libretro.c.o ../build/obj/libretro/libretro-common/compat/compat_strcasestr_libretro.c.o ../build/obj/libretro/libretro-common/compat/compat_strl_libretro.c.o ../build/obj/libretro/libretro-common/compat/fopen_utf8_libretro.c.o ../build/obj/libretro/libretro-common/encodings/encoding_utf_libretro.c.o ../build/obj/libretro/libretro-common/file/file_path_libretro.c.o ../build/obj/libretro/libretro-common/file/file_path_io_libretro.c.o ../build/obj/libretro/libretro-common/streams/file_stream_libretro.c.o ../build/obj/libretro/libretro-common/streams/file_stream_transforms_libretro.c.o ../build/obj/libretro/libretro-common/string/stdstring_libretro.c.o ../build/obj/libretro/libretro-common/time/rtime_libretro.c.o ../build/obj/libretro/libretro-common/vfs/vfs_implementation_libretro.c.o -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -lm
rm ../libretro/agb_boot.c ../libretro/sgb2_boot.c ../libretro/dmg_boot.c ../libretro/cgb_boot.c ../libretro/sgb_boot.c
make: Leaving directory '/build/libretro-sameboy/src/libretro-sameboy/libretro'
==> 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-sameboy"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: libretro-sameboy 20260722.225329.gaa158a889a48-1 (Sat Sep  5 07:18:50 2026)
==> Cleaning up...
[?12l[?25h