==> Building on K ==> Attempt to run pkgver()... ==> Making package: libretro-sameboy 1720-2 (Mon 07 Mar 2022 10:23:15 PM EET) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Missing dependencies:  -> rgbds ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list ./ PKGBUILD 855 100% 0.00kB/s 0:00:00 855 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=1/3) libretro-sameboy-1720-2.log 548 100% 535.16kB/s 0:00:00 548 100% 535.16kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 870 bytes received 69 bytes 1,878.00 bytes/sec total size is 1,391 speedup is 1.48 ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l felix17 on remote host... ==> Locking clean chroot...done [?25l:: Synchronizing package databases... core downloading... extra downloading... community downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix17]...done ==> Making package: libretro-sameboy 1720-2 (Mon Mar 7 20:23:37 2022) ==> Retrieving sources...  -> Updating libretro-sameboy git repo... Fetching origin From https://github.com/libretro/SameBoy - [deleted] (none) -> refs/pull/74/merge remote: Enumerating objects: 96, done. remote: Counting objects: 1% (1/96) remote: Counting objects: 2% (2/96) remote: Counting objects: 3% (3/96) remote: Counting objects: 4% (4/96) remote: Counting objects: 5% (5/96) remote: Counting objects: 6% (6/96) remote: Counting objects: 7% (7/96) remote: Counting objects: 8% (8/96) remote: Counting objects: 9% (9/96) remote: Counting objects: 10% (10/96) remote: Counting objects: 11% (11/96) remote: Counting objects: 12% (12/96) remote: Counting objects: 13% (13/96) remote: Counting objects: 14% (14/96) remote: Counting objects: 15% (15/96) remote: Counting objects: 16% (16/96) remote: Counting objects: 17% (17/96) remote: Counting objects: 18% (18/96) remote: Counting objects: 19% (19/96) remote: Counting objects: 20% (20/96) remote: Counting objects: 21% (21/96) remote: Counting objects: 22% (22/96) remote: Counting objects: 23% (23/96) remote: Counting objects: 25% (24/96) remote: Counting objects: 26% (25/96) remote: Counting objects: 27% (26/96) remote: Counting objects: 28% (27/96) remote: Counting objects: 29% (28/96) remote: Counting objects: 30% (29/96) remote: Counting objects: 31% (30/96) remote: Counting objects: 32% (31/96) remote: Counting objects: 33% (32/96) remote: Counting objects: 34% (33/96) remote: Counting objects: 35% (34/96) remote: Counting objects: 36% (35/96) remote: Counting objects: 37% (36/96) remote: Counting objects: 38% (37/96) remote: Counting objects: 39% (38/96) remote: Counting objects: 40% (39/96) remote: Counting objects: 41% (40/96) remote: Counting objects: 42% (41/96) remote: Counting objects: 43% (42/96) remote: Counting objects: 44% (43/96) remote: Counting objects: 45% (44/96) remote: Counting objects: 46% (45/96) remote: Counting objects: 47% (46/96) remote: Counting objects: 48% (47/96) remote: Counting objects: 50% (48/96) remote: Counting objects: 51% (49/96) remote: Counting objects: 52% (50/96) remote: Counting objects: 53% (51/96) remote: Counting objects: 54% (52/96) remote: Counting objects: 55% (53/96) remote: Counting objects: 56% (54/96) remote: Counting objects: 57% (55/96) remote: Counting objects: 58% (56/96) remote: Counting objects: 59% (57/96) remote: Counting objects: 60% (58/96) remote: Counting objects: 61% (59/96) remote: Counting objects: 62% (60/96) remote: Counting objects: 63% (61/96) remote: Counting objects: 64% (62/96) remote: Counting objects: 65% (63/96) remote: Counting objects: 66% (64/96) remote: Counting objects: 67% (65/96) remote: Counting objects: 68% (66/96) remote: Counting objects: 69% (67/96) remote: Counting objects: 70% (68/96) remote: Counting objects: 71% (69/96) remote: Counting objects: 72% (70/96) remote: Counting objects: 73% (71/96) remote: Counting objects: 75% (72/96) remote: Counting objects: 76% (73/96) remote: Counting objects: 77% (74/96) remote: Counting objects: 78% (75/96) remote: Counting objects: 79% (76/96) remote: Counting objects: 80% (77/96) remote: Counting objects: 81% (78/96) remote: Counting objects: 82% (79/96) remote: Counting objects: 83% (80/96) remote: Counting objects: 84% (81/96) remote: Counting objects: 85% (82/96) remote: Counting objects: 86% (83/96) remote: Counting objects: 87% (84/96) remote: Counting objects: 88% (85/96) remote: Counting objects: 89% (86/96) remote: Counting objects: 90% (87/96) remote: Counting objects: 91% (88/96) remote: Counting objects: 92% (89/96) remote: Counting objects: 93% (90/96) remote: Counting objects: 94% (91/96) remote: Counting objects: 95% (92/96) remote: Counting objects: 96% (93/96) remote: Counting objects: 97% (94/96) remote: Counting objects: 98% (95/96) remote: Counting objects: 100% (96/96) remote: Counting objects: 100% (96/96), done. remote: Compressing objects: 3% (1/32) remote: Compressing objects: 6% (2/32) remote: Compressing objects: 9% (3/32) remote: Compressing objects: 12% (4/32) remote: Compressing objects: 15% (5/32) remote: Compressing objects: 18% (6/32) remote: Compressing objects: 21% (7/32) remote: Compressing objects: 25% (8/32) remote: Compressing objects: 28% (9/32) remote: Compressing objects: 31% (10/32) remote: Compressing objects: 34% (11/32) remote: Compressing objects: 37% (12/32) remote: Compressing objects: 40% (13/32) remote: Compressing objects: 43% (14/32) remote: Compressing objects: 46% (15/32) remote: Compressing objects: 50% (16/32) remote: Compressing objects: 53% (17/32) remote: Compressing objects: 56% (18/32) remote: Compressing objects: 59% (19/32) remote: Compressing objects: 62% (20/32) remote: Compressing objects: 65% (21/32) remote: Compressing objects: 68% (22/32) remote: Compressing objects: 71% (23/32) remote: Compressing objects: 75% (24/32) remote: Compressing objects: 78% (25/32) remote: Compressing objects: 81% (26/32) remote: Compressing objects: 84% (27/32) remote: Compressing objects: 87% (28/32) remote: Compressing objects: 90% (29/32) remote: Compressing objects: 93% (30/32) remote: Compressing objects: 96% (31/32) remote: Compressing objects: 100% (32/32) remote: Compressing objects: 100% (32/32), done. Unpacking objects: 1% (1/96) Unpacking objects: 2% (2/96) Unpacking objects: 3% (3/96) Unpacking objects: 4% (4/96) Unpacking objects: 5% (5/96) Unpacking objects: 6% (6/96) Unpacking objects: 7% (7/96) Unpacking objects: 8% (8/96) Unpacking objects: 9% (9/96) Unpacking objects: 10% (10/96) Unpacking objects: 11% (11/96) Unpacking objects: 12% (12/96) Unpacking objects: 13% (13/96) Unpacking objects: 14% (14/96) Unpacking objects: 15% (15/96) Unpacking objects: 16% (16/96) Unpacking objects: 17% (17/96) Unpacking objects: 18% (18/96) Unpacking objects: 19% (19/96) Unpacking objects: 20% (20/96) Unpacking objects: 21% (21/96) Unpacking objects: 22% (22/96) Unpacking objects: 23% (23/96) Unpacking objects: 25% (24/96) Unpacking objects: 26% (25/96) Unpacking objects: 27% (26/96) Unpacking objects: 28% (27/96) Unpacking objects: 29% (28/96) Unpacking objects: 30% (29/96) Unpacking objects: 31% (30/96) Unpacking objects: 32% (31/96) Unpacking objects: 33% (32/96) Unpacking objects: 34% (33/96) Unpacking objects: 35% (34/96) Unpacking objects: 36% (35/96) Unpacking objects: 37% (36/96) Unpacking objects: 38% (37/96) Unpacking objects: 39% (38/96) Unpacking objects: 40% (39/96) Unpacking objects: 41% (40/96) Unpacking objects: 42% (41/96) Unpacking objects: 43% (42/96) Unpacking objects: 44% (43/96) Unpacking objects: 45% (44/96) Unpacking objects: 46% (45/96) Unpacking objects: 47% (46/96) Unpacking objects: 48% (47/96) Unpacking objects: 50% (48/96) Unpacking objects: 51% (49/96) Unpacking objects: 52% (50/96) Unpacking objects: 53% (51/96) Unpacking objects: 54% (52/96) Unpacking objects: 55% (53/96) Unpacking objects: 56% (54/96) Unpacking objects: 57% (55/96) Unpacking objects: 58% (56/96) Unpacking objects: 59% (57/96) Unpacking objects: 60% (58/96) Unpacking objects: 61% (59/96) Unpacking objects: 62% (60/96) Unpacking objects: 63% (61/96) Unpacking objects: 64% (62/96) Unpacking objects: 65% (63/96) Unpacking objects: 66% (64/96) Unpacking objects: 67% (65/96) Unpacking objects: 68% (66/96) Unpacking objects: 69% (67/96) Unpacking objects: 70% (68/96) Unpacking objects: 71% (69/96) Unpacking objects: 72% (70/96) remote: Total 96 (delta 64), reused 82 (delta 64), pack-reused 0 Unpacking objects: 73% (71/96) Unpacking objects: 75% (72/96) Unpacking objects: 76% (73/96) Unpacking objects: 77% (74/96) Unpacking objects: 78% (75/96) Unpacking objects: 79% (76/96) Unpacking objects: 80% (77/96) Unpacking objects: 81% (78/96) Unpacking objects: 82% (79/96) Unpacking objects: 83% (80/96) Unpacking objects: 84% (81/96) Unpacking objects: 85% (82/96) Unpacking objects: 86% (83/96) Unpacking objects: 87% (84/96) Unpacking objects: 88% (85/96) Unpacking objects: 89% (86/96) Unpacking objects: 90% (87/96) Unpacking objects: 91% (88/96) Unpacking objects: 92% (89/96) Unpacking objects: 93% (90/96) Unpacking objects: 94% (91/96) Unpacking objects: 95% (92/96), 115.11 KiB | 228.00 KiB/s Unpacking objects: 96% (93/96), 115.11 KiB | 228.00 KiB/s Unpacking objects: 97% (94/96), 115.11 KiB | 228.00 KiB/s Unpacking objects: 98% (95/96), 115.11 KiB | 228.00 KiB/s Unpacking objects: 100% (96/96), 115.11 KiB | 228.00 KiB/s Unpacking objects: 100% (96/96), 115.63 KiB | 216.00 KiB/s, done. 685c6c8..b154b7d buildbot -> buildbot 08b476a..90ec3c7 refs/pull/74/head -> refs/pull/74/head ==> Validating source files with sha256sums... libretro-sameboy ... Skipped ==> Making package: libretro-sameboy 1720-2 (Mon 07 Mar 2022 08:24:24 PM UTC) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... warning: dependency cycle detected: warning: mesa will be installed before its libglvnd dependency Package (23) New Version Net Change Download Size extra/libdrm 2.4.110-1 0.77 MiB core/libedit 20210910_3.1-1 0.23 MiB extra/libomxil-bellagio 0.9.3-3 0.53 MiB extra/libpciaccess 0.16-2 0.05 MiB extra/libunwind 1.6.2-1 0.21 MiB extra/libx11 1.7.3.1-1 10.00 MiB extra/libxau 1.0.9-3 0.02 MiB extra/libxcb 1.14-1 36.12 MiB extra/libxdamage 1.1.5-3 0.01 MiB extra/libxdmcp 1.1.3-3 0.29 MiB extra/libxext 1.3.4-3 0.58 MiB extra/libxfixes 6.0.0-1 0.03 MiB extra/libxshmfence 1.3-2 0.01 MiB extra/libxxf86vm 1.1.4-4 0.03 MiB extra/llvm-libs 13.0.1-1 85.70 MiB extra/lm_sensors 1:3.6.0.r41.g31d1f125-1 0.42 MiB extra/mesa 21.3.6-1 64.82 MiB extra/vulkan-icd-loader 1.2.203-1 0.39 MiB extra/wayland 1.20.0-1 0.73 MiB extra/xcb-proto 1.14.1-5 0.82 MiB extra/xorgproto 2021.5-1 1.43 MiB extra/libglvnd 1.4.0-1 3.69 MiB community/libretro-core-info 1.10.0-2 0.32 MiB 0.07 MiB Total Download Size: 0.07 MiB Total Installed Size: 207.18 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... libretro-core-info-1.10.0-2-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libretro-core-info... installing xcb-proto... installing libxdmcp... installing libxau... installing libxcb... installing xorgproto... installing libx11... installing libxext... installing libpciaccess... installing libdrm... installing wayland... installing libxxf86vm... installing libxfixes... installing libxdamage... installing libxshmfence... installing libomxil-bellagio... installing libunwind... 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 vulkan-icd-loader... Optional dependencies for vulkan-icd-loader vulkan-driver: packaged vulkan driver installing mesa... Optional dependencies for mesa opengl-man-pages: for the OpenGL API man pages mesa-vdpau: for accelerated video playback libva-mesa-driver: for accelerated video playback installing libglvnd... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (14) New Version Net Change Download Size extra/compiler-rt 13.0.1-1 28.02 MiB community/hidapi 0.11.2-1 0.08 MiB extra/libibus 1.5.25-5 93.34 MiB extra/libpng 1.6.37-3 0.46 MiB core/libusb 1.0.25-2 0.18 MiB extra/libxcursor 1.2.0-2 0.05 MiB extra/libxrender 0.9.10-4 0.06 MiB extra/perl-error 0.17029-3 0.04 MiB extra/perl-mailtools 2.21-5 0.11 MiB extra/perl-timedate 2.33-3 0.08 MiB extra/clang 13.0.1-2 156.82 MiB extra/git 2.35.1-1 29.55 MiB community/rgbds 0.5.2-2 0.29 MiB 0.14 MiB extra/sdl2 2.0.20-2 3.40 MiB Total Download Size: 0.14 MiB Total Installed Size: 312.48 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... rgbds-0.5.2-2-riscv64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: 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 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 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 subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] installing libpng... installing rgbds... installing libxrender... installing libxcursor... Optional dependencies for libxcursor gnome-themes-standard: fallback icon theme installing libibus... installing hidapi... Optional dependencies for hidapi libusb: for the libusb backend -- hidapi-libusb.so [pending] libudev.so: for the hidraw backend -- hidapi-hidraw.so [installed] installing libusb... 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' echo "/* AUTO-GENERATED */" > ../libretro/agb_boot.c echo "/* AUTO-GENERATED */" > ../libretro/cgb_boot.c echo "/* AUTO-GENERATED */" > ../libretro/dmg_boot.c echo "/* AUTO-GENERATED */" > ../libretro/sgb_boot.c echo "/* AUTO-GENERATED */" > ../libretro/sgb2_boot.c clang -c -o../build/obj/Core/sgb_libretro.c.o ../Core/sgb.c -Wall -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -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=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -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/gb_libretro.c.o ../Core/gb.c -Wall -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -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/camera_libretro.c.o ../Core/camera.c -Wall -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -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/save_state_libretro.c.o ../Core/save_state.c -Wall -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -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=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -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/display_libretro.c.o ../Core/display.c -Wall -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -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/symbol_hash_libretro.c.o ../Core/symbol_hash.c -Wall -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -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=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -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/rumble_libretro.c.o ../Core/rumble.c -Wall -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -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/random_libretro.c.o ../Core/random.c -Wall -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -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/timing_libretro.c.o ../Core/timing.c -Wall -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -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/sm83_cpu_libretro.c.o ../Core/sm83_cpu.c -Wall -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -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/libretro_libretro.c.o ../libretro/libretro.c -Wall -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -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/libretro-common/compat/compat_posix_string_libretro.c.o ../libretro/libretro-common/compat/compat_posix_string.c -Wall -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -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/libretro-common/compat/compat_snprintf_libretro.c.o ../libretro/libretro-common/compat/compat_snprintf.c -Wall -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -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/joypad_libretro.c.o ../Core/joypad.c -Wall -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -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/libretro-common/compat/compat_strl_libretro.c.o ../libretro/libretro-common/compat/compat_strl.c -Wall -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -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/libretro-common/compat/compat_strcasestr_libretro.c.o ../libretro/libretro-common/compat/compat_strcasestr.c -Wall -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -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 char cgb_boot[] = {" >> ../libretro/cgb_boot.c echo "const unsigned char sgb2_boot[] = {" >> ../libretro/sgb2_boot.c echo "const unsigned char sgb_boot[] = {" >> ../libretro/sgb_boot.c echo "const unsigned char agb_boot[] = {" >> ../libretro/agb_boot.c echo "const unsigned char dmg_boot[] = {" >> ../libretro/dmg_boot.c hexdump -v -e '/1 "0x%02x, "' ../BootROMs/prebuilt/dmg_boot.bin >> ../libretro/dmg_boot.c hexdump -v -e '/1 "0x%02x, "' ../BootROMs/prebuilt/sgb_boot.bin >> ../libretro/sgb_boot.c hexdump -v -e '/1 "0x%02x, "' ../BootROMs/prebuilt/cgb_boot.bin >> ../libretro/cgb_boot.c hexdump -v -e '/1 "0x%02x, "' ../BootROMs/prebuilt/sgb2_boot.bin >> ../libretro/sgb2_boot.c hexdump -v -e '/1 "0x%02x, "' ../BootROMs/prebuilt/agb_boot.bin >> ../libretro/agb_boot.c echo "};" >> ../libretro/sgb_boot.c echo "};" >> ../libretro/sgb2_boot.c echo "};" >> ../libretro/dmg_boot.c echo "};" >> ../libretro/agb_boot.c echo "};" >> ../libretro/cgb_boot.c echo "const unsigned sgb_boot_length = sizeof(sgb_boot);" >> ../libretro/sgb_boot.c echo "const unsigned sgb2_boot_length = sizeof(sgb2_boot);" >> ../libretro/sgb2_boot.c echo "const unsigned agb_boot_length = sizeof(agb_boot);" >> ../libretro/agb_boot.c echo "const unsigned dmg_boot_length = sizeof(dmg_boot);" >> ../libretro/dmg_boot.c echo "const unsigned cgb_boot_length = sizeof(cgb_boot);" >> ../libretro/cgb_boot.c clang -c -o../build/obj/libretro/libretro-common/compat/fopen_utf8_libretro.c.o ../libretro/libretro-common/compat/fopen_utf8.c -Wall -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -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-13: 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=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -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-13: 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=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -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/libretro-common/file/file_path_io_libretro.c.o ../libretro/libretro-common/file/file_path_io.c -Wall -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -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/libretro-common/streams/file_stream_libretro.c.o ../libretro/libretro-common/streams/file_stream.c -Wall -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -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-13: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang-13: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang-13: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang-13: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang-13clang-13: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] : warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang-13: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang-13: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang-13clang-13: warning: : argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang-13: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang-13: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang-13: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang-13: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang-13clang-13: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] : warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang-13: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang-13: 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=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -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-13: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang-13: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang-13: 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] vasprintf(&string, fmt, args); ^~~~~~~~~ ~~~~~~~~~~~~~~~~~~ clang-13: 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=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -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-13: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang-13: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] ../Core/gb.c:229:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 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] fread(gb->rom, 1, gb->rom_size, f); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ clang -c -o../build/obj/libretro/libretro-common/time/rtime_libretro.c.o ../libretro/libretro-common/time/rtime.c -Wall -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -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/libretro-common/vfs/vfs_implementation_libretro.c.o ../libretro/libretro-common/vfs/vfs_implementation.c -Wall -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -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 ../Core/gb.c:480:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 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] fread(magic, 1, sizeof(magic), f); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ clang -c -o../build/obj/libretro/agb_boot_libretro.c.o ../libretro/agb_boot.c -Wall -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -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 ../Core/save_state.c:1340:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 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] 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] fread(&magic, sizeof(magic), 1, f); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ clang -c -o../build/obj/libretro/cgb_boot_libretro.c.o ../libretro/cgb_boot.c -Wall -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -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-13: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang -c -o../build/obj/libretro/dmg_boot_libretro.c.o ../libretro/dmg_boot.c -Wall -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -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 ../Core/sm83_cpu.c:1357:17: warning: converting the result of '<<' to a boolean; did you mean '(value << 1) != 0'? [-Wint-in-bool-context] if (!(value << 1)) { ^ clang-13: 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=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -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/sgb2_boot_libretro.c.o ../libretro/sgb2_boot.c -Wall -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -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-13: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang-13: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang-13: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang-13: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang-13: 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] void GB_apu_run(GB_gameboy_t *gb) ^ 1 warning generated. 3 warnings generated. 5 warnings generated. 1 warning generated. 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,--sort-common,--as-needed,-z,relro,-z,now -flto -lm /usr/bin/ld: warning: LLVM gold plugin: :0:0: 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 /usr/bin/ld: /tmp/lto-llvm-2e9ce6.o: can't link soft-float modules with double-float modules /usr/bin/ld: failed to merge target specific data of file /tmp/lto-llvm-2e9ce6.o clang-13: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:386: sameboy_libretro.so] Error 1 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' ==> ERROR: A failure occurred in build().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix17/build receiving incremental file list libretro-sameboy-1720-2-riscv64-build.log libretro-sameboy-1720-2-riscv64-pkgver.log sent 62 bytes received 2,488 bytes 5,100.00 bytes/sec total size is 28,233 speedup is 11.07