==> Building on p ==> Attempt to run pkgver()... ==> Making package: libretro-melonds 1989-1 (Sun 20 Feb 2022 04:42:21 PM EET) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources...  -> Updating libretro-melonds git repo... Fetching origin ==> Validating source files with sha256sums... ==> Extracting sources...  -> Creating working copy of libretro-melonds git repo... ==> Starting pkgver()... ==> Sources are ready. ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/libretro-melonds ./ PKGBUILD 713 100% 0.00kB/s 0:00:00 713 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=1/3) libretro-melonds-1989-1.log 925 100% 903.32kB/s 0:00:00 925 100% 903.32kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 1,001 bytes received 105 bytes 737.33 bytes/sec total size is 1,582 speedup is 1.43 ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l felix8 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] -> [felix8]...done ==> Making package: libretro-melonds 1989-1 (Sun Feb 20 15:42:31 2022) ==> Retrieving sources...  -> Cloning libretro-melonds git repo... Cloning into bare repository '/home/felix/packages/libretro-melonds/libretro-melonds'... remote: Enumerating objects: 16937, done. remote: Counting objects: 0% (1/124) remote: Counting objects: 1% (2/124) remote: Counting objects: 2% (3/124) remote: Counting objects: 3% (4/124) remote: Counting objects: 4% (5/124) remote: Counting objects: 5% (7/124) remote: Counting objects: 6% (8/124) remote: Counting objects: 7% (9/124) remote: Counting objects: 8% (10/124) remote: Counting objects: 9% (12/124) remote: Counting objects: 10% (13/124) remote: Counting objects: 11% (14/124) remote: Counting objects: 12% (15/124) remote: Counting objects: 13% (17/124) remote: Counting objects: 14% (18/124) remote: Counting objects: 15% (19/124) remote: Counting objects: 16% (20/124) remote: Counting objects: 17% (22/124) remote: Counting objects: 18% (23/124) remote: Counting objects: 19% (24/124) remote: Counting objects: 20% (25/124) remote: Counting objects: 21% (27/124) remote: Counting objects: 22% (28/124) remote: Counting objects: 23% (29/124) remote: Counting objects: 24% (30/124) remote: Counting objects: 25% (31/124) remote: Counting objects: 26% (33/124) remote: Counting objects: 27% (34/124) remote: Counting objects: 28% (35/124) remote: Counting objects: 29% (36/124) remote: Counting objects: 30% (38/124) remote: Counting objects: 31% (39/124) remote: Counting objects: 32% (40/124) remote: Counting objects: 33% (41/124) remote: Counting objects: 34% (43/124) remote: Counting objects: 35% (44/124) remote: Counting objects: 36% (45/124) remote: Counting objects: 37% (46/124) remote: Counting objects: 38% (48/124) remote: Counting objects: 39% (49/124) remote: Counting objects: 40% (50/124) remote: Counting objects: 41% (51/124) remote: Counting objects: 42% (53/124) remote: Counting objects: 43% (54/124) remote: Counting objects: 44% (55/124) remote: Counting objects: 45% (56/124) remote: Counting objects: 46% (58/124) remote: Counting objects: 47% (59/124) remote: Counting objects: 48% (60/124) remote: Counting objects: 49% (61/124) remote: Counting objects: 50% (62/124) remote: Counting objects: 51% (64/124) remote: Counting objects: 52% (65/124) remote: Counting objects: 53% (66/124) remote: Counting objects: 54% (67/124) remote: Counting objects: 55% (69/124) remote: Counting objects: 56% (70/124) remote: Counting objects: 57% (71/124) remote: Counting objects: 58% (72/124) remote: Counting objects: 59% (74/124) remote: Counting objects: 60% (75/124) remote: Counting objects: 61% (76/124) remote: Counting objects: 62% (77/124) remote: Counting objects: 63% (79/124) remote: Counting objects: 64% (80/124) remote: Counting objects: 65% (81/124) remote: Counting objects: 66% (82/124) remote: Counting objects: 67% (84/124) remote: Counting objects: 68% (85/124) remote: Counting objects: 69% (86/124) remote: Counting objects: 70% (87/124) remote: Counting objects: 71% (89/124) remote: Counting objects: 72% (90/124) remote: Counting objects: 73% (91/124) remote: Counting objects: 74% (92/124) remote: Counting objects: 75% (93/124) remote: Counting objects: 76% (95/124) remote: Counting objects: 77% (96/124) remote: Counting objects: 78% (97/124) remote: Counting objects: 79% (98/124) remote: Counting objects: 80% (100/124) remote: Counting objects: 81% (101/124) remote: Counting objects: 82% (102/124) remote: Counting objects: 83% (103/124) remote: Counting objects: 84% (105/124) remote: Counting objects: 85% (106/124) remote: Counting objects: 86% (107/124) remote: Counting objects: 87% (108/124) remote: Counting objects: 88% (110/124) remote: Counting objects: 89% (111/124) remote: Counting objects: 90% (112/124) remote: Counting objects: 91% (113/124) remote: Counting objects: 92% (115/124) remote: Counting objects: 93% (116/124) remote: Counting objects: 94% (117/124) remote: Counting objects: 95% (118/124) remote: Counting objects: 96% (120/124) remote: Counting objects: 97% (121/124) remote: Counting objects: 98% (122/124) remote: Counting objects: 99% (123/124) remote: Counting objects: 100% (124/124) remote: Counting objects: 100% (124/124), done. remote: Compressing objects: 0% (1/103) remote: Compressing objects: 1% (2/103) remote: Compressing objects: 2% (3/103) remote: Compressing objects: 3% (4/103) remote: Compressing objects: 4% (5/103) remote: Compressing objects: 5% (6/103) remote: Compressing objects: 6% (7/103) remote: Compressing objects: 7% (8/103) remote: Compressing objects: 8% (9/103) remote: Compressing objects: 9% (10/103) remote: Compressing objects: 10% (11/103) remote: Compressing objects: 11% (12/103) remote: Compressing objects: 12% (13/103) remote: Compressing objects: 13% (14/103) remote: Compressing objects: 14% (15/103) remote: Compressing objects: 15% (16/103) remote: Compressing objects: 16% (17/103) remote: Compressing objects: 17% (18/103) remote: Compressing objects: 18% (19/103) remote: Compressing objects: 19% (20/103) remote: Compressing objects: 20% (21/103) remote: Compressing objects: 21% (22/103) remote: Compressing objects: 22% (23/103) remote: Compressing objects: 23% (24/103) remote: Compressing objects: 24% (25/103) remote: Compressing objects: 25% (26/103) remote: Compressing objects: 26% (27/103) remote: Compressing objects: 27% (28/103) remote: Compressing objects: 28% (29/103) remote: Compressing objects: 29% (30/103) remote: Compressing objects: 30% (31/103) remote: Compressing objects: 31% (32/103) remote: Compressing objects: 32% (33/103) remote: Compressing objects: 33% (34/103) remote: Compressing objects: 34% (36/103) remote: Compressing objects: 35% (37/103) remote: Compressing objects: 36% (38/103) remote: Compressing objects: 37% (39/103) remote: Compressing objects: 38% (40/103) remote: Compressing objects: 39% (41/103) remote: Compressing objects: 40% (42/103) remote: Compressing objects: 41% (43/103) remote: Compressing objects: 42% (44/103) remote: Compressing objects: 43% (45/103) remote: Compressing objects: 44% (46/103) remote: Compressing objects: 45% (47/103) remote: Compressing objects: 46% (48/103) remote: Compressing objects: 47% (49/103) remote: Compressing objects: 48% (50/103) remote: Compressing objects: 49% (51/103) remote: Compressing objects: 50% (52/103) remote: Compressing objects: 51% (53/103) remote: Compressing objects: 52% (54/103) remote: Compressing objects: 53% (55/103) remote: Compressing objects: 54% (56/103) remote: Compressing objects: 55% (57/103) remote: Compressing objects: 56% (58/103) remote: Compressing objects: 57% (59/103) remote: Compressing objects: 58% (60/103) remote: Compressing objects: 59% (61/103) remote: Compressing objects: 60% (62/103) remote: Compressing objects: 61% (63/103) remote: Compressing objects: 62% (64/103) remote: Compressing objects: 63% (65/103) remote: Compressing objects: 64% (66/103) remote: Compressing objects: 65% (67/103) remote: Compressing objects: 66% (68/103) remote: Compressing objects: 67% (70/103) remote: Compressing objects: 68% (71/103) remote: Compressing objects: 69% (72/103) remote: Compressing objects: 70% (73/103) remote: Compressing objects: 71% (74/103) remote: Compressing objects: 72% (75/103) remote: Compressing objects: 73% (76/103) remote: Compressing objects: 74% (77/103) remote: Compressing objects: 75% (78/103) remote: Compressing objects: 76% (79/103) remote: Compressing objects: 77% (80/103) remote: Compressing objects: 78% (81/103) remote: Compressing objects: 79% (82/103) remote: Compressing objects: 80% (83/103) remote: Compressing objects: 81% (84/103) remote: Compressing objects: 82% (85/103) remote: Compressing objects: 83% (86/103) remote: Compressing objects: 84% (87/103) remote: Compressing objects: 85% (88/103) remote: Compressing objects: 86% (89/103) remote: Compressing objects: 87% (90/103) remote: Compressing objects: 88% (91/103) remote: Compressing objects: 89% (92/103) remote: Compressing objects: 90% (93/103) remote: Compressing objects: 91% (94/103) remote: Compressing objects: 92% (95/103) remote: Compressing objects: 93% (96/103) remote: Compressing objects: 94% (97/103) remote: Compressing objects: 95% (98/103) remote: Compressing objects: 96% (99/103) remote: Compressing objects: 97% (100/103) remote: Compressing objects: 98% (101/103) remote: Compressing objects: 99% (102/103) remote: Compressing objects: 100% (103/103) remote: Compressing objects: 100% (103/103), done. Receiving objects: 0% (1/16937) Receiving objects: 1% (170/16937) Receiving objects: 2% (339/16937) Receiving objects: 3% (509/16937) Receiving objects: 4% (678/16937) Receiving objects: 5% (847/16937) Receiving objects: 6% (1017/16937) Receiving objects: 7% (1186/16937) Receiving objects: 8% (1355/16937) Receiving objects: 9% (1525/16937) Receiving objects: 10% (1694/16937) Receiving objects: 11% (1864/16937) Receiving objects: 12% (2033/16937) Receiving objects: 13% (2202/16937) Receiving objects: 14% (2372/16937) Receiving objects: 15% (2541/16937) Receiving objects: 16% (2710/16937) Receiving objects: 17% (2880/16937) Receiving objects: 18% (3049/16937) Receiving objects: 19% (3219/16937) Receiving objects: 20% (3388/16937) Receiving objects: 21% (3557/16937) Receiving objects: 22% (3727/16937) Receiving objects: 23% (3896/16937) Receiving objects: 24% (4065/16937) Receiving objects: 25% (4235/16937) Receiving objects: 26% (4404/16937) Receiving objects: 27% (4573/16937) Receiving objects: 28% (4743/16937) Receiving objects: 29% (4912/16937) Receiving objects: 30% (5082/16937) Receiving objects: 31% (5251/16937) Receiving objects: 32% (5420/16937) Receiving objects: 33% (5590/16937) Receiving objects: 34% (5759/16937) Receiving objects: 35% (5928/16937) Receiving objects: 36% (6098/16937) Receiving objects: 37% (6267/16937) Receiving objects: 38% (6437/16937) Receiving objects: 39% (6606/16937) Receiving objects: 40% (6775/16937) Receiving objects: 41% (6945/16937) Receiving objects: 42% (7114/16937) Receiving objects: 43% (7283/16937) Receiving objects: 44% (7453/16937) Receiving objects: 45% (7622/16937) Receiving objects: 46% (7792/16937) Receiving objects: 47% (7961/16937) Receiving objects: 48% (8130/16937) Receiving objects: 49% (8300/16937) Receiving objects: 50% (8469/16937) Receiving objects: 51% (8638/16937) Receiving objects: 52% (8808/16937) Receiving objects: 53% (8977/16937) Receiving objects: 54% (9146/16937) Receiving objects: 55% (9316/16937) Receiving objects: 56% (9485/16937) Receiving objects: 57% (9655/16937) Receiving objects: 58% (9824/16937) Receiving objects: 59% (9993/16937) Receiving objects: 60% (10163/16937) Receiving objects: 61% (10332/16937) Receiving objects: 62% (10501/16937) Receiving objects: 63% (10671/16937) Receiving objects: 64% (10840/16937) Receiving objects: 65% (11010/16937) Receiving objects: 66% (11179/16937) Receiving objects: 67% (11348/16937) Receiving objects: 68% (11518/16937) Receiving objects: 69% (11687/16937) Receiving objects: 70% (11856/16937) Receiving objects: 71% (12026/16937) Receiving objects: 72% (12195/16937) Receiving objects: 73% (12365/16937) Receiving objects: 74% (12534/16937) Receiving objects: 75% (12703/16937) Receiving objects: 76% (12873/16937) Receiving objects: 77% (13042/16937) Receiving objects: 78% (13211/16937) Receiving objects: 79% (13381/16937) Receiving objects: 80% (13550/16937) Receiving objects: 81% (13719/16937) Receiving objects: 82% (13889/16937) Receiving objects: 83% (14058/16937) Receiving objects: 84% (14228/16937) Receiving objects: 85% (14397/16937) Receiving objects: 86% (14566/16937) Receiving objects: 87% (14736/16937) Receiving objects: 88% (14905/16937) Receiving objects: 89% (15074/16937) Receiving objects: 90% (15244/16937) Receiving objects: 91% (15413/16937) Receiving objects: 92% (15583/16937) Receiving objects: 93% (15752/16937) Receiving objects: 94% (15921/16937) Receiving objects: 95% (16091/16937) Receiving objects: 96% (16260/16937) Receiving objects: 97% (16429/16937) Receiving objects: 98% (16599/16937) Receiving objects: 99% (16768/16937) remote: Total 16937 (delta 29), reused 100 (delta 20), pack-reused 16813 Receiving objects: 100% (16937/16937) Receiving objects: 100% (16937/16937), 9.23 MiB | 19.02 MiB/s, done. Resolving deltas: 0% (0/11881) Resolving deltas: 1% (119/11881) Resolving deltas: 2% (240/11881) Resolving deltas: 3% (357/11881) Resolving deltas: 4% (476/11881) Resolving deltas: 5% (595/11881) Resolving deltas: 6% (714/11881) Resolving deltas: 7% (832/11881) Resolving deltas: 8% (951/11881) Resolving deltas: 9% (1070/11881) Resolving deltas: 10% (1189/11881) Resolving deltas: 11% (1307/11881) Resolving deltas: 12% (1426/11881) Resolving deltas: 13% (1545/11881) Resolving deltas: 14% (1664/11881) Resolving deltas: 15% (1783/11881) Resolving deltas: 16% (1901/11881) Resolving deltas: 17% (2020/11881) Resolving deltas: 18% (2139/11881) Resolving deltas: 19% (2258/11881) Resolving deltas: 20% (2377/11881) Resolving deltas: 21% (2496/11881) Resolving deltas: 22% (2614/11881) Resolving deltas: 23% (2733/11881) Resolving deltas: 24% (2852/11881) Resolving deltas: 25% (2971/11881) Resolving deltas: 26% (3090/11881) Resolving deltas: 27% (3208/11881) Resolving deltas: 28% (3327/11881) Resolving deltas: 29% (3447/11881) Resolving deltas: 30% (3565/11881) Resolving deltas: 31% (3684/11881) Resolving deltas: 32% (3802/11881) Resolving deltas: 33% (3921/11881) Resolving deltas: 34% (4040/11881) Resolving deltas: 35% (4159/11881) Resolving deltas: 36% (4278/11881) Resolving deltas: 37% (4396/11881) Resolving deltas: 38% (4515/11881) Resolving deltas: 39% (4634/11881) Resolving deltas: 40% (4753/11881) Resolving deltas: 41% (4872/11881) Resolving deltas: 42% (4991/11881) Resolving deltas: 43% (5109/11881) Resolving deltas: 44% (5228/11881) Resolving deltas: 45% (5347/11881) Resolving deltas: 46% (5467/11881) Resolving deltas: 47% (5585/11881) Resolving deltas: 48% (5703/11881) Resolving deltas: 49% (5822/11881) Resolving deltas: 50% (5941/11881) Resolving deltas: 51% (6061/11881) Resolving deltas: 52% (6179/11881) Resolving deltas: 53% (6297/11881) Resolving deltas: 54% (6416/11881) Resolving deltas: 55% (6535/11881) Resolving deltas: 56% (6654/11881) Resolving deltas: 57% (6773/11881) Resolving deltas: 58% (6891/11881) Resolving deltas: 59% (7010/11881) Resolving deltas: 60% (7129/11881) Resolving deltas: 61% (7248/11881) Resolving deltas: 62% (7367/11881) Resolving deltas: 63% (7486/11881) Resolving deltas: 64% (7604/11881) Resolving deltas: 65% (7723/11881) Resolving deltas: 66% (7842/11881) Resolving deltas: 67% (7961/11881) Resolving deltas: 68% (8080/11881) Resolving deltas: 69% (8198/11881) Resolving deltas: 70% (8317/11881) Resolving deltas: 71% (8436/11881) Resolving deltas: 72% (8555/11881) Resolving deltas: 73% (8674/11881) Resolving deltas: 74% (8792/11881) Resolving deltas: 75% (8911/11881) Resolving deltas: 76% (9030/11881) Resolving deltas: 77% (9149/11881) Resolving deltas: 78% (9268/11881) Resolving deltas: 79% (9386/11881) Resolving deltas: 80% (9505/11881) Resolving deltas: 81% (9624/11881) Resolving deltas: 82% (9743/11881) Resolving deltas: 83% (9862/11881) Resolving deltas: 84% (9981/11881) Resolving deltas: 85% (10099/11881) Resolving deltas: 86% (10218/11881) Resolving deltas: 87% (10337/11881) Resolving deltas: 88% (10456/11881) Resolving deltas: 89% (10575/11881) Resolving deltas: 90% (10693/11881) Resolving deltas: 91% (10812/11881) Resolving deltas: 92% (10931/11881) Resolving deltas: 93% (11050/11881) Resolving deltas: 94% (11169/11881) Resolving deltas: 95% (11287/11881) Resolving deltas: 96% (11406/11881) Resolving deltas: 97% (11525/11881) Resolving deltas: 98% (11644/11881) Resolving deltas: 99% (11763/11881) Resolving deltas: 100% (11881/11881) Resolving deltas: 100% (11881/11881), done. ==> Validating source files with sha256sums... libretro-melonds ... Skipped ==> Making package: libretro-melonds 1989-1 (Sun 20 Feb 2022 03:42:43 PM CET) ==> 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 extra/libdrm 2.4.109-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-1 0.32 MiB Total Installed Size: 207.17 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... 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... installing libretro-core-info... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (4) New Version Net Change 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/git 2.35.1-1 29.55 MiB Total Installed Size: 29.78 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... 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] :: 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-melonds git repo... Cloning into 'libretro-melonds'... done. Switched to a new branch 'makepkg' ==> Starting pkgver()... ==> Starting build()... make: Entering directory '/build/libretro-melonds/src/libretro-melonds' cc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/xxhash/xxhash.o src/xxhash/xxhash.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/tiny-AES-c/aes.o src/tiny-AES-c/aes.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/fatfs/diskio.o src/fatfs/diskio.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/fatfs/ff.o src/fatfs/ff.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/fatfs/ffsystem.o src/fatfs/ffsystem.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/fatfs/ffunicode.o src/fatfs/ffunicode.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/sha1/sha1.o src/sha1/sha1.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/libretro/libretro-common/compat/compat_strl.o src/libretro/libretro-common/compat/compat_strl.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/libretro/libretro-common/compat/fopen_utf8.o src/libretro/libretro-common/compat/fopen_utf8.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/libretro/libretro-common/compat/compat_posix_string.o src/libretro/libretro-common/compat/compat_posix_string.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/libretro/libretro-common/compat/compat_strcasestr.o src/libretro/libretro-common/compat/compat_strcasestr.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/libretro/libretro-common/encodings/encoding_utf.o src/libretro/libretro-common/encodings/encoding_utf.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/libretro/libretro-common/file/file_path.o src/libretro/libretro-common/file/file_path.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/libretro/libretro-common/streams/file_stream.o src/libretro/libretro-common/streams/file_stream.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/libretro/libretro-common/streams/file_stream_transforms.o src/libretro/libretro-common/streams/file_stream_transforms.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/libretro/libretro-common/streams/memory_stream.o src/libretro/libretro-common/streams/memory_stream.c src/fatfs/diskio.c: In function ‘disk_write’: src/fatfs/diskio.c:106:28: warning: passing argument 1 of ‘WriteCb’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 106 | UINT res = WriteCb(buff, sector, count); | ^~~~ src/fatfs/diskio.c:106:28: note: expected ‘BYTE *’ {aka ‘unsigned char *’} but argument is of type ‘const BYTE *’ {aka ‘const unsigned char *’} cc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/libretro/libretro-common/string/stdstring.o src/libretro/libretro-common/string/stdstring.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/libretro/libretro-common/vfs/vfs_implementation.o src/libretro/libretro-common/vfs/vfs_implementation.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/libretro/libretro-common/rthreads/rthreads.o src/libretro/libretro-common/rthreads/rthreads.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/libretro/libretro-common/rthreads/rsemaphore.o src/libretro/libretro-common/rthreads/rsemaphore.c g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/NDS.o src/NDS.cpp g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/AREngine.o src/AREngine.cpp g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/ARCodeFile.o src/ARCodeFile.cpp g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/ARM.o src/ARM.cpp g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/ARMInterpreter.o src/ARMInterpreter.cpp g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/ARMInterpreter_ALU.o src/ARMInterpreter_ALU.cpp g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/ARMInterpreter_Branch.o src/ARMInterpreter_Branch.cpp g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/ARMInterpreter_LoadStore.o src/ARMInterpreter_LoadStore.cpp g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/CP15.o src/CP15.cpp g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/CRC32.o src/CRC32.cpp src/libretro/libretro-common/vfs/vfs_implementation.c: In function ‘retro_vfs_file_open_impl’: src/libretro/libretro-common/vfs/vfs_implementation.c:287:36: warning: unused variable ‘path_len’ [-Wunused-variable] 287 | int path_len = (int)strlen(path); | ^~~~~~~~ g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/DMA.o src/DMA.cpp g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/DSi.o src/DSi.cpp g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/DSi_AES.o src/DSi_AES.cpp g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/DSi_Camera.o src/DSi_Camera.cpp g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/DSi_DSP.o src/DSi_DSP.cpp g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/DSi_I2C.o src/DSi_I2C.cpp g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/DSi_NAND.o src/DSi_NAND.cpp g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/DSi_NDMA.o src/DSi_NDMA.cpp g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/DSi_NWifi.o src/DSi_NWifi.cpp src/ARM.cpp: In member function ‘virtual void ARMv4::JumpTo(u32, bool)’: src/ARM.cpp:326:9: warning: unused variable ‘oldregion’ [-Wunused-variable] 326 | u32 oldregion = R[15] >> 23; | ^~~~~~~~~ src/ARM.cpp:327:9: warning: unused variable ‘newregion’ [-Wunused-variable] 327 | u32 newregion = addr >> 23; | ^~~~~~~~~ g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/DSi_SD.o src/DSi_SD.cpp g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/DSi_SPI_TSC.o src/DSi_SPI_TSC.cpp g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/DSiCrypto.o src/DSiCrypto.cpp g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/GBACart.o src/GBACart.cpp g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/GPU.o src/GPU.cpp g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/GPU2D.o src/GPU2D.cpp src/DSi_NAND.cpp: In function ‘bool DSi_NAND::ESEncrypt(u8*, u32)’: src/DSi_NAND.cpp:297:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 297 | for (int i = 0; i < remlen; i++) | ~~^~~~~~~~ src/DSi_NAND.cpp:304:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 304 | for (int i = 0; i < remlen; i++) | ~~^~~~~~~~ src/DSi_NAND.cpp: In function ‘bool DSi_NAND::ESDecrypt(u8*, u32)’: src/DSi_NAND.cpp:391:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 391 | for (int i = 0; i < remlen; i++) | ~~^~~~~~~~ src/DSi_NAND.cpp:399:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 399 | for (int i = 0; i < remlen; i++) | ~~^~~~~~~~ src/DSi_NAND.cpp: In function ‘bool DSi_NAND::ImportTitle(const char*, u8*, bool)’: src/DSi_NAND.cpp:977:9: warning: unused variable ‘ticketdir’ [-Wunused-variable] 977 | DIR ticketdir; | ^~~~~~~~~ src/DSi_NAND.cpp:978:13: warning: unused variable ‘info’ [-Wunused-variable] 978 | FILINFO info; | ^~~~ src/NDS.cpp: In function ‘bool NDS::DoSavestate_Scheduler(Savestate*)’: src/NDS.cpp:702:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 702 | if (j == funcid) break; | ~~^~~~~~~~~ g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/GPU2D_Soft.o src/GPU2D_Soft.cpp src/NDS.cpp: In function ‘void NDS::DivDone(u32)’: src/NDS.cpp:1732:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1732 | *(s64*)&DivRemainder[0] = num; | ^~~~~~~~~~~~~~~~~~~~~~ src/NDS.cpp:1734:26: warning: comparison of integer expressions of different signedness: ‘s32’ {aka ‘int’} and ‘unsigned int’ [-Wsign-compare] 1734 | else if (num == -0x80000000 && den == -1) | ~~~~^~~~~~~~~~~~~~ src/NDS.cpp:1736:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1736 | *(s64*)&DivQuotient[0] = 0x80000000; | ^~~~~~~~~~~~~~~~~~~~~ src/NDS.cpp:1740:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1740 | *(s64*)&DivQuotient[0] = (s64)(num / den); | ^~~~~~~~~~~~~~~~~~~~~ src/NDS.cpp:1741:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1741 | *(s64*)&DivRemainder[0] = (s64)(num % den); | ^~~~~~~~~~~~~~~~~~~~~~ src/NDS.cpp:1749:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1749 | s64 num = *(s64*)&DivNumerator[0]; | ^~~~~~~~~~~~~~~~~~~~~~ src/NDS.cpp:1753:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1753 | *(s64*)&DivQuotient[0] = (num<0) ? 1:-1; | ^~~~~~~~~~~~~~~~~~~~~ src/NDS.cpp:1754:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1754 | *(s64*)&DivRemainder[0] = num; | ^~~~~~~~~~~~~~~~~~~~~~ src/NDS.cpp:1756:26: warning: comparison of integer expressions of different signedness: ‘s64’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare] 1756 | else if (num == -0x8000000000000000 && den == -1) | ~~~~^~~~~~~~~~~~~~~~~~~~~~ src/NDS.cpp:1758:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1758 | *(s64*)&DivQuotient[0] = 0x8000000000000000; | ^~~~~~~~~~~~~~~~~~~~~ src/NDS.cpp:1759:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1759 | *(s64*)&DivRemainder[0] = 0; | ^~~~~~~~~~~~~~~~~~~~~~ src/NDS.cpp:1763:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1763 | *(s64*)&DivQuotient[0] = (s64)(num / den); | ^~~~~~~~~~~~~~~~~~~~~ src/NDS.cpp:1764:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1764 | *(s64*)&DivRemainder[0] = (s64)(num % den); | ^~~~~~~~~~~~~~~~~~~~~~ src/NDS.cpp:1771:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1771 | s64 num = *(s64*)&DivNumerator[0]; | ^~~~~~~~~~~~~~~~~~~~~~ src/NDS.cpp:1772:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1772 | s64 den = *(s64*)&DivDenominator[0]; | ^~~~~~~~~~~~~~~~~~~~~~~~ src/NDS.cpp:1775:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1775 | *(s64*)&DivQuotient[0] = (num<0) ? 1:-1; | ^~~~~~~~~~~~~~~~~~~~~ src/NDS.cpp:1776:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1776 | *(s64*)&DivRemainder[0] = num; | ^~~~~~~~~~~~~~~~~~~~~~ src/NDS.cpp:1778:26: warning: comparison of integer expressions of different signedness: ‘s64’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare] 1778 | else if (num == -0x8000000000000000 && den == -1) | ~~~~^~~~~~~~~~~~~~~~~~~~~~ src/NDS.cpp:1780:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1780 | *(s64*)&DivQuotient[0] = 0x8000000000000000; | ^~~~~~~~~~~~~~~~~~~~~ src/NDS.cpp:1781:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1781 | *(s64*)&DivRemainder[0] = 0; | ^~~~~~~~~~~~~~~~~~~~~~ src/NDS.cpp:1785:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1785 | *(s64*)&DivQuotient[0] = (s64)(num / den); | ^~~~~~~~~~~~~~~~~~~~~ src/NDS.cpp:1786:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1786 | *(s64*)&DivRemainder[0] = (s64)(num % den); | ^~~~~~~~~~~~~~~~~~~~~~ src/NDS.cpp: In function ‘void NDS::SqrtDone(u32)’: src/NDS.cpp:1816:16: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1816 | val = *(u64*)&SqrtVal[0]; | ^~~~~~~~~~~~~~~~~ src/NDS.cpp: In function ‘u16 NDS::ARM9IORead16(u32)’: src/NDS.cpp:2878:30: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2878 | case 0x040000E0: return ((u16*)DMA9Fill)[0]; | ~^~~~~~~~~~~~~~~ g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/GPU3D.o src/GPU3D.cpp g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/GPU3D_Soft.o src/GPU3D_Soft.cpp g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/NDSCart.o src/NDSCart.cpp g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/NDSCart_SRAMManager.o src/NDSCart_SRAMManager.cpp g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/RTC.o src/RTC.cpp src/DSi_SD.cpp: In member function ‘void DSi_SDHost::SendResponse(u32, bool)’: src/DSi_SD.cpp:227:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 227 | *(u32*)&ResponseBuffer[6] = *(u32*)&ResponseBuffer[4]; | ^~~~~~~~~~~~~~~~~~~~~~~~ src/DSi_SD.cpp:227:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 227 | *(u32*)&ResponseBuffer[6] = *(u32*)&ResponseBuffer[4]; | ^~~~~~~~~~~~~~~~~~~~~~~~ src/DSi_SD.cpp:228:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 228 | *(u32*)&ResponseBuffer[4] = *(u32*)&ResponseBuffer[2]; | ^~~~~~~~~~~~~~~~~~~~~~~~ src/DSi_SD.cpp:228:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 228 | *(u32*)&ResponseBuffer[4] = *(u32*)&ResponseBuffer[2]; | ^~~~~~~~~~~~~~~~~~~~~~~~ src/DSi_SD.cpp:229:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 229 | *(u32*)&ResponseBuffer[2] = *(u32*)&ResponseBuffer[0]; | ^~~~~~~~~~~~~~~~~~~~~~~~ src/DSi_SD.cpp:229:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 229 | *(u32*)&ResponseBuffer[2] = *(u32*)&ResponseBuffer[0]; | ^~~~~~~~~~~~~~~~~~~~~~~~ src/DSi_SD.cpp:230:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 230 | *(u32*)&ResponseBuffer[0] = val; | ^~~~~~~~~~~~~~~~~~~~~~~~ src/DSi_SD.cpp: In member function ‘u16 DSi_SDHost::ReadFIFO16()’: src/DSi_SD.cpp:491:19: warning: unused variable ‘dev’ [-Wunused-variable] 491 | DSi_SDDevice* dev = Ports[PortSelect & 0x1]; | ^~~ src/DSi_SD.cpp: In member function ‘u32 DSi_SDHost::ReadFIFO32()’: src/DSi_SD.cpp:512:19: warning: unused variable ‘dev’ [-Wunused-variable] 512 | DSi_SDDevice* dev = Ports[PortSelect & 0x1]; | ^~~ g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/Savestate.o src/Savestate.cpp src/DSi_SD.cpp: In member function ‘void DSi_SDHost::WriteFIFO16(u16)’: src/DSi_SD.cpp:648:19: warning: unused variable ‘dev’ [-Wunused-variable] 648 | DSi_SDDevice* dev = Ports[PortSelect & 0x1]; | ^~~ src/Savestate.cpp:24: warning: "fclose" redefined 24 | #define fclose(stream) memstream_close(stream) | In file included from src/Savestate.cpp:21: src/Platform.h:30: note: this is the location of the previous definition 30 | #define fclose rfclose | src/Savestate.cpp:25: warning: "fread" redefined 25 | #define fread(data, len, count, stream) memstream_read(stream, data, len) | In file included from src/Savestate.cpp:21: src/Platform.h:31: note: this is the location of the previous definition 31 | #define fread rfread | src/Savestate.cpp:26: warning: "fwrite" redefined 26 | #define fwrite(data, len, count, stream) memstream_write(stream, data, len) | In file included from src/Platform.h:28, from src/Savestate.cpp:21: ./src/libretro/libretro-common/include/streams/file_stream_transforms.h:59: note: this is the location of the previous definition 59 | #define fwrite rfwrite | src/Savestate.cpp:27: warning: "fseek" redefined 27 | #define fseek(stream, offset, mask) memstream_seek(stream, offset, mask) | In file included from src/Savestate.cpp:21: src/Platform.h:32: note: this is the location of the previous definition 32 | #define fseek rfseek | src/Savestate.cpp:28: warning: "ftell" redefined 28 | #define ftell(stream) memstream_pos(stream) | In file included from src/Platform.h:28, from src/Savestate.cpp:21: ./src/libretro/libretro-common/include/streams/file_stream_transforms.h:54: note: this is the location of the previous definition 54 | #define ftell rftell | src/DSi_NDMA.cpp: In member function ‘void DSi_NDMA::Run9()’: src/DSi_NDMA.cpp:169:10: warning: unused variable ‘burststart’ [-Wunused-variable] 169 | bool burststart = (Running == 2); | ^~~~~~~~~~ src/DSi_NDMA.cpp: In member function ‘void DSi_NDMA::Run7()’: src/DSi_NDMA.cpp:258:10: warning: unused variable ‘burststart’ [-Wunused-variable] 258 | bool burststart = (Running == 2); | ^~~~~~~~~~ src/DSi_NWifi.cpp: In member function ‘void DSi_NWifi::BMI_Command()’: src/DSi_NWifi.cpp:752:20: warning: unused variable ‘val’ [-Wunused-variable] 752 | u8 val = Mailbox[0].Read(); | ^~~ src/DSi_NWifi.cpp:806:20: warning: unused variable ‘val’ [-Wunused-variable] 806 | u8 val = Mailbox[0].Read(); | ^~~ src/DSi.cpp: In function ‘void DSi::DecryptModcryptArea(u32, u32, u8*)’: src/DSi.cpp:240:21: warning: variable ‘binarysize’ set but not used [-Wunused-but-set-variable] 240 | u32 binaryaddr, binarysize; | ^~~~~~~~~~ src/DSi_NWifi.cpp: In member function ‘void DSi_NWifi::HTC_Command()’: src/DSi_NWifi.cpp:823:9: warning: unused variable ‘h0’ [-Wunused-variable] 823 | u16 h0 = MB_Read16(0); | ^~ src/DSi_NWifi.cpp:825:9: warning: unused variable ‘h2’ [-Wunused-variable] 825 | u16 h2 = MB_Read16(0); | ^~ g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/SPI.o src/SPI.cpp src/DSi_NWifi.cpp: In member function ‘void DSi_NWifi::WMI_ConnectToNetwork()’: src/DSi_NWifi.cpp:1148:8: warning: unused variable ‘pCryptoLen’ [-Wunused-variable] 1148 | u8 pCryptoLen = Mailbox[0].Read(); | ^~~~~~~~~~ src/DSi_NWifi.cpp:1150:8: warning: unused variable ‘gCryptoLen’ [-Wunused-variable] 1150 | u8 gCryptoLen = Mailbox[0].Read(); | ^~~~~~~~~~ src/DSi_NWifi.cpp:1159:9: warning: unused variable ‘channel’ [-Wunused-variable] 1159 | u16 channel = MB_Read16(0); | ^~~~~~~ src/DSi_NWifi.cpp:1165:9: warning: unused variable ‘flags’ [-Wunused-variable] 1165 | u32 flags = MB_Read32(0); | ^~~~~ src/DSi.cpp: In function ‘void DSi::MapNWRAM_B(u32, u8)’: src/DSi.cpp:973:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 973 | if (part == num) | ~~~~~^~~~~~ src/DSi.cpp: In function ‘void DSi::MapNWRAM_C(u32, u8)’: src/DSi.cpp:1028:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 1028 | if (part == num) | ~~~~~^~~~~~ src/DSi.cpp: In function ‘void DSi::ARM9IOWrite32(u32, u32)’: src/DSi.cpp:2341:17: warning: unused variable ‘oldram’ [-Wunused-variable] 2341 | u32 oldram = (SCFG_EXT[0] >> 14) & 0x3; | ^~~~~~ src/DSi.cpp:2342:17: warning: unused variable ‘newram’ [-Wunused-variable] 2342 | u32 newram = (val >> 14) & 0x3; | ^~~~~~ g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/SPU.o src/SPU.cpp g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/Wifi.o src/Wifi.cpp g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/WifiAP.o src/WifiAP.cpp g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/frontend/Util_ROM.o src/frontend/Util_ROM.cpp g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/libretro/config.o src/libretro/config.cpp g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/libretro/input.o src/libretro/input.cpp g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/libretro/libretro.o src/libretro/libretro.cpp src/GPU2D_Soft.cpp: In member function ‘virtual void GPU2D::SoftRenderer::DrawScanline(u32, GPU2D::Unit*)’: src/GPU2D_Soft.cpp:256:35: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 256 | *(u64*)&dst[i] = *(u64*)&BGOBJLine[i]; | ^~~~~~~~~~~~~~~~~~~ src/GPU2D_Soft.cpp: In member function ‘void GPU2D::SoftRenderer::DrawScanline_BGOBJ(u32)’: src/GPU2D_Soft.cpp:778:14: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 778 | *(u64*)&BGOBJLine[i] = backdrop; | ^~~~~~~~~~~~~~~~~~~ src/GPU2D_Soft.cpp:863:30: warning: variable ‘evb’ set but not used [-Wunused-but-set-variable] 863 | u32 eva, evb; | ^~~ g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/libretro/platform.o src/libretro/platform.cpp src/GPU2D_Soft.cpp: In member function ‘virtual void GPU2D::SoftRenderer::DrawSprites(u32, GPU2D::Unit*)’: src/GPU2D_Soft.cpp:1746:21: warning: unused variable ‘rotparamgroup’ [-Wunused-variable] 1746 | u32 rotparamgroup = (attrib[1] >> 9) & 0x1F; | ^~~~~~~~~~~~~ src/NDSCart_SRAMManager.cpp: In function ‘void NDSCart_SRAMManager::FlushSecondaryBuffer(u8*, s32)’: src/NDSCart_SRAMManager.cpp:158:26: warning: comparison of integer expressions of different signedness: ‘s32’ {aka ‘int’} and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 158 | if (dst && dstLength < SecondaryBufferLength) return; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ src/NDSCart_SRAMManager.cpp: In function ‘void NDSCart_SRAMManager::UpdateBuffer(u8*, s32)’: src/NDSCart_SRAMManager.cpp:191:27: warning: comparison of integer expressions of different signedness: ‘s32’ {aka ‘int’} and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 191 | if (!src || srcLength != Length) return; | ~~~~~~~~~~^~~~~~~~~ g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/libretro/screenlayout.o src/libretro/screenlayout.cpp src/GPU3D.cpp: In function ‘void GPU3D::SubmitPolygon()’: src/GPU3D.cpp:1117:43: warning: comparison of integer expressions of different signedness: ‘u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1117 | if (LastStripPolygon->NumVertices == lastpolyverts && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/GPU3D.cpp:1244:34: warning: comparison of integer expressions of different signedness: ‘s32’ {aka ‘int’} and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 1244 | if (vtx->Position[3] <= ZeroDotWLimit) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/GPU3D.cpp:1028:9: warning: unused variable ‘prev’ [-Wunused-variable] 1028 | int prev, next; | ^~~~ src/GPU3D.cpp:1028:15: warning: unused variable ‘next’ [-Wunused-variable] 1028 | int prev, next; | ^~~~ src/GPU3D.cpp:1041:28: warning: variable ‘v3’ set but not used [-Wunused-but-set-variable] 1041 | Vertex *v0, *v1, *v2, *v3; | ^~ g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/libretro/utils.o src/libretro/utils.cpp src/GPU3D_Soft.cpp: In member function ‘void GPU3D::SoftRenderer::PlotTranslucentPixel(u32, u32, u32, u32, u32)’: src/GPU3D_Soft.cpp:566:11: warning: comparison of integer expressions of different signedness: ‘u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 566 | if (z != -1) | ~~^~~~~ src/GPU2D_Soft.cpp: In instantiation of ‘void GPU2D::SoftRenderer::DrawSprite_Normal(u32, u32, u32, s32, s32) [with bool window = true; u32 = unsigned int; s32 = int]’: src/GPU2D_Soft.cpp:1770:17: required from here src/GPU2D_Soft.cpp:2200:17: warning: variable ‘pixelstride’ set but not used [-Wunused-but-set-variable] 2200 | s32 pixelstride; | ^~~~~~~~~~~ src/GPU2D_Soft.cpp: In instantiation of ‘void GPU2D::SoftRenderer::DrawSprite_Normal(u32, u32, u32, s32, s32) [with bool window = false; u32 = unsigned int; s32 = int]’: src/GPU2D_Soft.cpp:1770:17: required from here src/GPU2D_Soft.cpp:2200:17: warning: variable ‘pixelstride’ set but not used [-Wunused-but-set-variable] src/GPU3D_Soft.cpp: In member function ‘void GPU3D::SoftRenderer::RenderShadowMaskScanline(GPU3D::SoftRenderer::RendererPolygon*, s32)’: src/GPU3D_Soft.cpp:716:13: warning: variable ‘vlcur’ set but not used [-Wunused-but-set-variable] 716 | Vertex *vlcur, *vlnext, *vrcur, *vrnext; | ^~~~~ src/GPU3D_Soft.cpp:716:21: warning: variable ‘vlnext’ set but not used [-Wunused-but-set-variable] 716 | Vertex *vlcur, *vlnext, *vrcur, *vrnext; | ^~~~~~ src/GPU3D_Soft.cpp:716:30: warning: variable ‘vrcur’ set but not used [-Wunused-but-set-variable] 716 | Vertex *vlcur, *vlnext, *vrcur, *vrnext; | ^~~~~ src/GPU3D_Soft.cpp:716:38: warning: variable ‘vrnext’ set but not used [-Wunused-but-set-variable] 716 | Vertex *vlcur, *vlnext, *vrcur, *vrnext; | ^~~~~~ src/GPU3D_Soft.cpp:721:22: warning: variable ‘interp_start’ set but not used [-Wunused-but-set-variable] 721 | Interpolator<1>* interp_start; | ^~~~~~~~~~~~ src/GPU3D_Soft.cpp:722:22: warning: variable ‘interp_end’ set but not used [-Wunused-but-set-variable] 722 | Interpolator<1>* interp_end; | ^~~~~~~~~~ src/Wifi.cpp: In function ‘void Wifi::SendMPDefaultReply()’: src/Wifi.cpp:503:13: warning: unused variable ‘txlen’ [-Wunused-variable] 503 | int txlen = Platform::MP_SendPacket(reply, 12+28); | ^~~~~ src/Wifi.cpp: In function ‘void Wifi::SendMPAck()’: src/Wifi.cpp:533:13: warning: unused variable ‘txlen’ [-Wunused-variable] 533 | int txlen = Platform::MP_SendPacket(ack, 12+32); | ^~~~~ src/Wifi.cpp: In function ‘bool Wifi::ProcessTX(Wifi::TXSlot*, int)’: src/Wifi.cpp:658:17: warning: unused variable ‘txlen’ [-Wunused-variable] 658 | int txlen = Platform::MP_SendPacket(&RAM[slot->Addr], 12 + slot->Length); | ^~~~~ g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/teakra/src/ahbm.o src/teakra/src/ahbm.cpp src/SPI.cpp: In function ‘void SPI_TSC::Write(u8, u32)’: src/SPI.cpp:661:35: warning: comparison of integer expressions of different signedness: ‘u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 661 | if (samplepos >= MicBufferLen) samplepos = MicBufferLen-1; | ~~~~~~~~~~^~~~~~~~~~~~~~~ g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/teakra/src/apbp.o src/teakra/src/apbp.cpp src/frontend/Util_ROM.cpp: In function ‘int Frontend::SetupDSiNAND()’: src/frontend/Util_ROM.cpp:227:10: warning: unused variable ‘len’ [-Wunused-variable] 227 | long len; | ^~~ g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/teakra/src/btdmp.o src/teakra/src/btdmp.cpp g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/teakra/src/disassembler_c.o src/teakra/src/disassembler_c.cpp g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/teakra/src/disassembler.o src/teakra/src/disassembler.cpp src/SPU.cpp: In member function ‘void SPU::Channel::NextSample_PCM8()’: src/SPU.cpp:344:13: warning: comparison of integer expressions of different signedness: ‘s32’ {aka ‘int’} and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 344 | if (Pos >= (LoopPos + Length)) | ~~~~^~~~~~~~~~~~~~~~~~~~~ src/SPU.cpp: In member function ‘void SPU::Channel::NextSample_PCM16()’: src/SPU.cpp:367:18: warning: comparison of integer expressions of different signedness: ‘s32’ {aka ‘int’} and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 367 | if ((Pos<<1) >= (LoopPos + Length)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ src/SPU.cpp: In member function ‘void SPU::Channel::NextSample_ADPCM()’: src/SPU.cpp:406:18: warning: comparison of integer expressions of different signedness: ‘s32’ {aka ‘int’} and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 406 | if ((Pos>>1) >= (LoopPos + Length)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ src/SPU.cpp:451:17: warning: comparison of integer expressions of different signedness: ‘s32’ {aka ‘int’} and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 451 | if (Pos == (LoopPos<<1)) | ~~~~^~~~~~~~~~~~~~~ src/SPU.cpp: In member function ‘void SPU::CaptureUnit::Run(s32)’: src/SPU.cpp:652:21: warning: comparison of integer expressions of different signedness: ‘s32’ {aka ‘int’} and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 652 | if (Pos >= Length) | ~~~~^~~~~~~~~ src/SPU.cpp:675:21: warning: comparison of integer expressions of different signedness: ‘s32’ {aka ‘int’} and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare] 675 | if (Pos >= Length) | ~~~~^~~~~~~~~ g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/teakra/src/dma.o src/teakra/src/dma.cpp g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/teakra/src/memory_interface.o src/teakra/src/memory_interface.cpp g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/teakra/src/mmio.o src/teakra/src/mmio.cpp g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/teakra/src/parser.o src/teakra/src/parser.cpp g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/teakra/src/processor.o src/teakra/src/processor.cpp g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/teakra/src/teakra_c.o src/teakra/src/teakra_c.cpp src/libretro/libretro.cpp: In function ‘void check_variables(bool)’: src/libretro/libretro.cpp:361:25: warning: unused variable ‘old_hybrid_screen_value’ [-Wunused-variable] 361 | SmallScreenLayout old_hybrid_screen_value = screen_layout_data.hybrid_small_screen; // Copy the hybrid screen value | ^~~~~~~~~~~~~~~~~~~~~~~ src/libretro/libretro.cpp: In function ‘bool retro_load_game(const retro_game_info*)’: src/libretro/libretro.cpp:854:29: warning: passing NULL to non-pointer argument 1 of ‘bool _handle_load_game(unsigned int, const retro_game_info*, size_t)’ [-Wconversion-null] 854 | return _handle_load_game(NULL, info, NULL); | ^~~~ src/libretro/libretro.cpp:699:33: note: declared here 699 | bool _handle_load_game(unsigned type, const struct retro_game_info *info, size_t num) | ~~~~~~~~~^~~~ src/libretro/libretro.cpp:854:41: warning: passing NULL to non-pointer argument 3 of ‘bool _handle_load_game(unsigned int, const retro_game_info*, size_t)’ [-Wconversion-null] 854 | return _handle_load_game(NULL, info, NULL); | ^~~~ src/libretro/libretro.cpp:699:82: note: declared here 699 | bool _handle_load_game(unsigned type, const struct retro_game_info *info, size_t num) | ~~~~~~~^~~ g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/teakra/src/teakra.o src/teakra/src/teakra.cpp g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -DGIT_VERSION=\"" 0053daa7"\" -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_THREADS -DHAVE_WIFI -fPIC -c -osrc/teakra/src/timer.o src/teakra/src/timer.cpp g++ -fPIC -shared -Wl,--version-script=./src/libretro/link.T -Wl,--no-undefined -omelonds_libretro.so ./src/xxhash/xxhash.o ./src/tiny-AES-c/aes.o ./src/fatfs/diskio.o ./src/fatfs/ff.o ./src/fatfs/ffsystem.o ./src/fatfs/ffunicode.o ./src/sha1/sha1.o ./src/libretro/libretro-common/compat/compat_strl.o ./src/libretro/libretro-common/compat/fopen_utf8.o ./src/libretro/libretro-common/compat/compat_posix_string.o ./src/libretro/libretro-common/compat/compat_strcasestr.o ./src/libretro/libretro-common/encodings/encoding_utf.o ./src/libretro/libretro-common/file/file_path.o ./src/libretro/libretro-common/streams/file_stream.o ./src/libretro/libretro-common/streams/file_stream_transforms.o ./src/libretro/libretro-common/streams/memory_stream.o ./src/libretro/libretro-common/string/stdstring.o ./src/libretro/libretro-common/vfs/vfs_implementation.o ./src/libretro/libretro-common/rthreads/rthreads.o ./src/libretro/libretro-common/rthreads/rsemaphore.o ./src/NDS.o ./src/AREngine.o ./src/ARCodeFile.o ./src/ARM.o ./src/ARMInterpreter.o ./src/ARMInterpreter_ALU.o ./src/ARMInterpreter_Branch.o ./src/ARMInterpreter_LoadStore.o ./src/CP15.o ./src/CRC32.o ./src/DMA.o ./src/DSi.o ./src/DSi_AES.o ./src/DSi_Camera.o ./src/DSi_DSP.o ./src/DSi_I2C.o ./src/DSi_NAND.o ./src/DSi_NDMA.o ./src/DSi_NWifi.o ./src/DSi_SD.o ./src/DSi_SPI_TSC.o ./src/DSiCrypto.o ./src/GBACart.o ./src/GPU.o ./src/GPU2D.o ./src/GPU2D_Soft.o ./src/GPU3D.o ./src/GPU3D_Soft.o ./src/NDSCart.o ./src/NDSCart_SRAMManager.o ./src/RTC.o ./src/Savestate.o ./src/SPI.o ./src/SPU.o ./src/Wifi.o ./src/WifiAP.o ./src/frontend/Util_ROM.o ./src/libretro/config.o ./src/libretro/input.o ./src/libretro/libretro.o ./src/libretro/platform.o ./src/libretro/screenlayout.o ./src/libretro/utils.o ./src/teakra/src/ahbm.o ./src/teakra/src/apbp.o ./src/teakra/src/btdmp.o ./src/teakra/src/disassembler_c.o ./src/teakra/src/disassembler.o ./src/teakra/src/dma.o ./src/teakra/src/memory_interface.o ./src/teakra/src/mmio.o ./src/teakra/src/parser.o ./src/teakra/src/processor.o ./src/teakra/src/teakra_c.o ./src/teakra/src/teakra.o ./src/teakra/src/timer.o -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto -lpthread -lm -lpthread -lrt /usr/bin/ld: /tmp/cch6ictl.ltrans11.ltrans.o: in function `.LEHB28': :(.text+0x679e): undefined reference to `__atomic_exchange_1' /usr/bin/ld: /tmp/cch6ictl.ltrans11.ltrans.o: in function `.L0 ': :(.text+0x67bc): undefined reference to `__atomic_exchange_1' collect2: error: ld returned 1 exit status make: *** [Makefile:526: melonds_libretro.so] Error 1 make: Leaving directory '/build/libretro-melonds/src/libretro-melonds' ==> ERROR: A failure occurred in build().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix8/build receiving incremental file list libretro-melonds-1989-1-riscv64-build.log libretro-melonds-1989-1-riscv64-pkgver.log sent 62 bytes received 6,594 bytes 2,662.40 bytes/sec total size is 65,551 speedup is 9.85