==> Synchronizing chroot copy [/home/leming/armv7/root] -> [leming]...done
==> Making package: libretro-sameboy 1720-3 (Fri Jul 12 23:59:47 2024)
==> Retrieving sources...
  -> Cloning libretro-sameboy git repo...
Cloning into bare repository '/home/leming/work/libretro-sameboy/libretro-sameboy'...
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    libretro-sameboy ... Skipped
==> Making package: libretro-sameboy 1720-3 (Sat Jul 13 00:00:10 2024)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[?25l:: 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...
warning: dependency cycle detected:
warning: mesa will be installed before its libglvnd dependency

Packages (21) default-cursors-2-2  libdrm-2.4.122-1  libedit-20240517_3.1-1
              libomxil-bellagio-0.9.3-5  libpciaccess-0.18.1-2  libx11-1.8.9-1
              libxau-1.0.11-3  libxcb-1.17.0-1  libxdmcp-1.1.5-1.1
              libxext-1.3.6-1  libxfixes-6.0.1-2  libxshmfence-1.3.2-2
              libxxf86vm-1.1.5-2  llvm-libs-18.1.8-3
              lm_sensors-1:3.6.0.r41.g31d1f125-3  mesa-1:24.1.3-1
              wayland-1.23.0-1  xcb-proto-1.17.0-2  xorgproto-2024.1-2
              libglvnd-1.7.0-1  libretro-core-info-1.19.0-1

Total Installed Size:  215.35 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...
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 libxfixes...
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 default-cursors...
Optional dependencies for default-cursors
    adwaita-cursors: default cursor theme
installing wayland...
installing libomxil-bellagio...
installing mesa...
Optional dependencies for mesa
    opengl-man-pages: for the OpenGL API man pages
installing libglvnd...
[?25h==> Checking buildtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...

Packages (12) compiler-rt-18.1.8-1  hidapi-0.14.0-2  libpng-1.6.43-1
              libxcursor-1.2.2-1  libxrender-0.9.11-2  perl-error-0.17029-5
              perl-mailtools-2.21-7  perl-timedate-2.33-5  clang-18.1.8-1
              git-2.45.2-1  rgbds-0.7.0-1  sdl2-2.30.5-1

Total Download Size:     0.20 MiB
Total Installed Size:  281.64 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 rgbds-0.7.0-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 git...
Optional dependencies for git
    tk: gitk and git gui
    openssh: ssh transport and crypto
    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-mediawiki-api: git mediawiki support
    perl-datetime-format-iso8601: git mediawiki support
    perl-lwp-protocol-https: git mediawiki https 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]
installing libpng...
installing rgbds...
installing libxrender...
installing libxcursor...
installing hidapi...
Optional dependencies for hidapi
    libusb: for hidapi-libusb [installed]
installing sdl2...
Optional dependencies for sdl2
    alsa-lib: ALSA audio driver
    libpulse: PulseAudio audio driver
    jack: JACK audio driver
    pipewire: PipeWire audio driver
    libdecor: Wayland client decorations
:: Running post-transaction hooks...
(1/1) Warn about old perl modules
[?25h==> 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 pkgver()...
==> 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=\"" 68f67b3"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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=\"" 68f67b3"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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=\"" 68f67b3"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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=\"" 68f67b3"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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=\"" 68f67b3"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
clangclang: : warning: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]

clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-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=\"" 68f67b3"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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: '-fstack-clash-protection' [-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=\"" 68f67b3"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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: '-fstack-clash-protection' [-Wunused-command-line-argument]
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=\"" 68f67b3"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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: '-fstack-clash-protection' [-Wunused-command-line-argument]
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=\"" 68f67b3"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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: '-fstack-clash-protection' [-Wunused-command-line-argument]
../Core/apu.c:597:6: warning: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Wpass-failed=transform-warning]
  597 | void GB_apu_run(GB_gameboy_t *gb)
      |      ^
1 warning generated.
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=\"" 68f67b3"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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: '-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:229:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
  229 |     fread(gb->boot_rom, sizeof(gb->boot_rom), 1, f);
      |     ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/gb.c:307:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
  307 |     fread(gb->rom, 1, gb->rom_size, f);
      |     ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/gb.c:480:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
  480 |     fread(file_data, 1, file_size, f);
      |     ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/gb.c:497:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
  497 |     fread(magic, 1, sizeof(magic), f);
      |     ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~
5 warnings generated.
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=\"" 68f67b3"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-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=\"" 68f67b3"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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: '-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=\"" 68f67b3"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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: '-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=\"" 68f67b3"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-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
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
echo "};" >> ../libretro/cgb_boot.c
echo "const unsigned cgb_boot_length = sizeof(cgb_boot);" >> ../libretro/cgb_boot.c
echo "/* AUTO-GENERATED */" > ../libretro/dmg_boot.c
echo "const unsigned char dmg_boot[] = {" >> ../libretro/dmg_boot.c
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
echo "/* AUTO-GENERATED */" > ../libretro/sgb_boot.c
hexdump -v -e '/1 "0x%02x, "' ../BootROMs/prebuilt/dmg_boot.bin >> ../libretro/dmg_boot.c
echo "const unsigned char sgb_boot[] = {" >> ../libretro/sgb_boot.c
hexdump -v -e '/1 "0x%02x, "' ../BootROMs/prebuilt/sgb_boot.bin >> ../libretro/sgb_boot.c
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
echo "/* AUTO-GENERATED */" > ../libretro/sgb2_boot.c
echo "};" >> ../libretro/dmg_boot.c
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
../Core/sm83_cpu.c:1357:17: warning: converting the result of '<<' to a boolean; did you mean '(value << 1) != 0'? [-Wint-in-bool-context]
 1357 |     if (!(value << 1)) {
      |                 ^
1 warning generated.
echo "const unsigned char sgb2_boot[] = {" >> ../libretro/sgb2_boot.c
echo "const unsigned dmg_boot_length = sizeof(dmg_boot);" >> ../libretro/dmg_boot.c
echo "};" >> ../libretro/sgb_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=\"" 68f67b3"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
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
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=\"" 68f67b3"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -D__LIBRETRO__ -fPIC -I.. -I../libretro/libretro-common/include -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -fPIC -DGB_INTERNAL
echo "};" >> ../libretro/sgb2_boot.c
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=\"" 68f67b3"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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_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=\"" 68f67b3"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
../Core/save_state.c:1340:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
 1340 |     fread(&magic, sizeof(magic), 1, f);
      |     ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/save_state.c:1348:9: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
 1348 |         fread(&magic, sizeof(magic), 1, f);
      |         ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/save_state.c:1356:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
 1356 |     fread(&magic, sizeof(magic), 1, f);
      |     ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 warnings generated.
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-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=\"" 68f67b3"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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: '-fstack-clash-protection' [-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=\"" 68f67b3"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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: '-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=\"" 68f67b3"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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: '-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=\"" 68f67b3"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-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=\"" 68f67b3"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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: '-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=\"" 68f67b3"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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: '-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=\"" 68f67b3"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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: '-fstack-clash-protection' [-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=\"" 68f67b3"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-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 -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=\"" 68f67b3"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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: '-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=\"" 68f67b3"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-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/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=\"" 68f67b3"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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/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=\"" 68f67b3"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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: '-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=\"" 68f67b3"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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: '-fstack-clash-protection' [-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=\"" 68f67b3"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-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=\"" 68f67b3"\" -O2 -DNDEBUG -DGB_DISABLE_TIMEKEEPING -DGB_DISABLE_REWIND -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DGB_VERSION=\"0.14.7\" -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: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-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: '-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...
  -> Purging unwanted files...
  -> Removing static library 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 1720-3 (Sat Jul 13 00:00:43 2024)
==> Cleaning up...