=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pearpc", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for pearpc-0.5nb2 --- all --- /home/pbulk/work/emulators/pearpc/work/.tools/bin/make all-recursive --- all-recursive --- Making all in doc Making all in src --- all-recursive --- Making all in cpu --- all-recursive --- Making all in cpu_generic --- ppc_alu.o --- --- ppc_cpu.o --- --- ppc_dec.o --- --- ppc_exc.o --- --- ppc_fpu.o --- --- ppc_exc.o --- g++ -DHAVE_CONFIG_H -I. -I../../.. -I../.. -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Wundef -Wall -Woverloaded-virtual -fsigned-char -O3 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -MT ppc_exc.o -MD -MP -MF .deps/ppc_exc.Tpo -c -o ppc_exc.o ppc_exc.cc --- ppc_dec.o --- g++ -DHAVE_CONFIG_H -I. -I../../.. -I../.. -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Wundef -Wall -Woverloaded-virtual -fsigned-char -O3 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -MT ppc_dec.o -MD -MP -MF .deps/ppc_dec.Tpo -c -o ppc_dec.o ppc_dec.cc --- ppc_alu.o --- g++ -DHAVE_CONFIG_H -I. -I../../.. -I../.. -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Wundef -Wall -Woverloaded-virtual -fsigned-char -O3 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -MT ppc_alu.o -MD -MP -MF .deps/ppc_alu.Tpo -c -o ppc_alu.o ppc_alu.cc --- ppc_fpu.o --- g++ -DHAVE_CONFIG_H -I. -I../../.. -I../.. -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Wundef -Wall -Woverloaded-virtual -fsigned-char -O3 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -MT ppc_fpu.o -MD -MP -MF .deps/ppc_fpu.Tpo -c -o ppc_fpu.o ppc_fpu.cc --- ppc_cpu.o --- g++ -DHAVE_CONFIG_H -I. -I../../.. -I../.. -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Wundef -Wall -Woverloaded-virtual -fsigned-char -O3 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -MT ppc_cpu.o -MD -MP -MF .deps/ppc_cpu.Tpo -c -o ppc_cpu.o ppc_cpu.cc --- ppc_exc.o --- In file included from ppc_exc.cc:30: ../../info.h:29:24: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 29 | #define EMULATOR_MODEL "PowerPC ("APPNAME" "APPVERSION")" | ^ ../../info.h:29:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 29 | #define EMULATOR_MODEL "PowerPC ("APPNAME" "APPVERSION")" | ^ --- ppc_cpu.o --- In file included from ppc_cpu.cc:31: ../../info.h:29:24: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 29 | #define EMULATOR_MODEL "PowerPC ("APPNAME" "APPVERSION")" | ^ ../../info.h:29:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 29 | #define EMULATOR_MODEL "PowerPC ("APPNAME" "APPVERSION")" | ^ --- ppc_alu.o --- ppc_alu.cc: In function 'void ppc_opc_addmex()': ppc_alu.cc:233:21: warning: variable 'rB' set but not used [-Wunused-but-set-variable] 233 | int rD, rA, rB; | ^~ ppc_alu.cc: In function 'void ppc_opc_addmeox()': ppc_alu.cc:255:21: warning: variable 'rB' set but not used [-Wunused-but-set-variable] 255 | int rD, rA, rB; | ^~ ppc_alu.cc: In function 'void ppc_opc_addzex()': ppc_alu.cc:279:21: warning: variable 'rB' set but not used [-Wunused-but-set-variable] 279 | int rD, rA, rB; | ^~ ppc_alu.cc: In function 'void ppc_opc_addzeox()': ppc_alu.cc:302:21: warning: variable 'rB' set but not used [-Wunused-but-set-variable] 302 | int rD, rA, rB; | ^~ ppc_alu.cc: In function 'void ppc_opc_cntlzwx()': ppc_alu.cc:501:21: warning: variable 'rB' set but not used [-Wunused-but-set-variable] 501 | int rS, rA, rB; | ^~ --- ppc_fpu.o --- ppc_fpu.cc: In function 'void ppc_opc_fabsx()': ppc_fpu.cc:739:18: warning: variable 'frA' set but not used [-Wunused-but-set-variable] 739 | int frD, frA, frB; | ^~~ --- ppc_alu.o --- ppc_alu.cc: In function 'void ppc_opc_extsbx()': ppc_alu.cc:736:21: warning: variable 'rB' set but not used [-Wunused-but-set-variable] 736 | int rS, rA, rB; | ^~ --- ppc_fpu.o --- ppc_fpu.cc: In function 'void ppc_opc_faddx()': ppc_fpu.cc:754:28: warning: variable 'frC' set but not used [-Wunused-but-set-variable] 754 | int frD, frA, frB, frC; | ^~~ --- ppc_alu.o --- ppc_alu.cc: In function 'void ppc_opc_extshx()': ppc_alu.cc:756:21: warning: variable 'rB' set but not used [-Wunused-but-set-variable] 756 | int rS, rA, rB; | ^~ --- ppc_fpu.o --- ppc_fpu.cc: In function 'void ppc_opc_faddsx()': ppc_fpu.cc:776:28: warning: variable 'frC' set but not used [-Wunused-but-set-variable] 776 | int frD, frA, frB, frC; | ^~~ ppc_fpu.cc: In function 'void ppc_opc_fctiwx()': ppc_fpu.cc:859:18: warning: variable 'frA' set but not used [-Wunused-but-set-variable] 859 | int frD, frA, frB; | ^~~ --- ppc_alu.o --- ppc_alu.cc: In function 'void ppc_opc_negx()': ppc_alu.cc:858:21: warning: variable 'rB' set but not used [-Wunused-but-set-variable] 858 | int rD, rA, rB; | ^~ --- ppc_fpu.o --- ppc_fpu.cc: In function 'void ppc_opc_fctiwzx()': ppc_fpu.cc:876:18: warning: variable 'frA' set but not used [-Wunused-but-set-variable] 876 | int frD, frA, frB; | ^~~ --- ppc_alu.o --- ppc_alu.cc: In function 'void ppc_opc_negox()': ppc_alu.cc:873:21: warning: variable 'rB' set but not used [-Wunused-but-set-variable] 873 | int rD, rA, rB; | ^~ --- ppc_fpu.o --- ppc_fpu.cc: In function 'void ppc_opc_fdivx()': ppc_fpu.cc:897:28: warning: variable 'frC' set but not used [-Wunused-but-set-variable] 897 | int frD, frA, frB, frC; | ^~~ ppc_fpu.cc: In function 'void ppc_opc_fdivsx()': ppc_fpu.cc:926:28: warning: variable 'frC' set but not used [-Wunused-but-set-variable] 926 | int frD, frA, frB, frC; | ^~~ ppc_fpu.cc: In function 'void ppc_opc_fmrx()': ppc_fpu.cc:993:18: warning: variable 'rA' set but not used [-Wunused-but-set-variable] 993 | int frD, rA, frB; | ^~ ppc_fpu.cc: In function 'void ppc_opc_fmulx()': ppc_fpu.cc:1047:23: warning: variable 'frB' set but not used [-Wunused-but-set-variable] 1047 | int frD, frA, frB, frC; | ^~~ ppc_fpu.cc: In function 'void ppc_opc_fmulsx()': ppc_fpu.cc:1071:23: warning: variable 'frB' set but not used [-Wunused-but-set-variable] 1071 | int frD, frA, frB, frC; | ^~~ ppc_fpu.cc: In function 'void ppc_opc_fnabsx()': ppc_fpu.cc:1094:18: warning: variable 'frA' set but not used [-Wunused-but-set-variable] 1094 | int frD, frA, frB; | ^~~ ppc_fpu.cc: In function 'void ppc_opc_fnegx()': ppc_fpu.cc:1109:18: warning: variable 'frA' set but not used [-Wunused-but-set-variable] 1109 | int frD, frA, frB; | ^~~ --- ppc_alu.o --- ppc_alu.cc: In function 'void ppc_opc_subfmex()': ppc_alu.cc:1249:21: warning: variable 'rB' set but not used [-Wunused-but-set-variable] 1249 | int rD, rA, rB; | ^~ ppc_alu.cc: In function 'void ppc_opc_subfmeox()': ppc_alu.cc:1272:21: warning: variable 'rB' set but not used [-Wunused-but-set-variable] 1272 | int rD, rA, rB; | ^~ --- ppc_fpu.o --- ppc_fpu.cc: In function 'void ppc_opc_fresx()': ppc_fpu.cc:1206:13: warning: variable 'frD' set but not used [-Wunused-but-set-variable] 1206 | int frD, frA, frB, frC; | ^~~ ppc_fpu.cc:1206:18: warning: variable 'frA' set but not used [-Wunused-but-set-variable] 1206 | int frD, frA, frB, frC; | ^~~ ppc_fpu.cc:1206:23: warning: variable 'frB' set but not used [-Wunused-but-set-variable] 1206 | int frD, frA, frB, frC; | ^~~ ppc_fpu.cc:1206:28: warning: variable 'frC' set but not used [-Wunused-but-set-variable] 1206 | int frD, frA, frB, frC; | ^~~ --- ppc_alu.o --- ppc_alu.cc: In function 'void ppc_opc_subfzex()': ppc_alu.cc:1297:21: warning: variable 'rB' set but not used [-Wunused-but-set-variable] 1297 | int rD, rA, rB; | ^~ --- ppc_fpu.o --- ppc_fpu.cc: In function 'void ppc_opc_frspx()': ppc_fpu.cc:1221:18: warning: variable 'frA' set but not used [-Wunused-but-set-variable] 1221 | int frD, frA, frB; | ^~~ --- ppc_alu.o --- ppc_alu.cc: In function 'void ppc_opc_subfzeox()': ppc_alu.cc:1319:21: warning: variable 'rB' set but not used [-Wunused-but-set-variable] 1319 | int rD, rA, rB; | ^~ --- ppc_fpu.o --- ppc_fpu.cc: In function 'void ppc_opc_frsqrtex()': ppc_fpu.cc:1238:18: warning: variable 'frA' set but not used [-Wunused-but-set-variable] 1238 | int frD, frA, frB, frC; | ^~~ ppc_fpu.cc:1238:28: warning: variable 'frC' set but not used [-Wunused-but-set-variable] 1238 | int frD, frA, frB, frC; | ^~~ ppc_fpu.cc: In function 'void ppc_opc_fsqrtx()': ppc_fpu.cc:1281:18: warning: variable 'frA' set but not used [-Wunused-but-set-variable] 1281 | int frD, frA, frB, frC; | ^~~ ppc_fpu.cc:1281:28: warning: variable 'frC' set but not used [-Wunused-but-set-variable] 1281 | int frD, frA, frB, frC; | ^~~ ppc_fpu.cc: In function 'void ppc_opc_fsqrtsx()': ppc_fpu.cc:1300:13: warning: variable 'frD' set but not used [-Wunused-but-set-variable] 1300 | int frD, frA, frB, frC; | ^~~ ppc_fpu.cc:1300:18: warning: variable 'frA' set but not used [-Wunused-but-set-variable] 1300 | int frD, frA, frB, frC; | ^~~ ppc_fpu.cc:1300:23: warning: variable 'frB' set but not used [-Wunused-but-set-variable] 1300 | int frD, frA, frB, frC; | ^~~ ppc_fpu.cc:1300:28: warning: variable 'frC' set but not used [-Wunused-but-set-variable] 1300 | int frD, frA, frB, frC; | ^~~ ppc_fpu.cc: In function 'void ppc_opc_fsubx()': ppc_fpu.cc:1315:28: warning: variable 'frC' set but not used [-Wunused-but-set-variable] 1315 | int frD, frA, frB, frC; | ^~~ ppc_fpu.cc: In function 'void ppc_opc_fsubsx()': ppc_fpu.cc:1340:28: warning: variable 'frC' set but not used [-Wunused-but-set-variable] 1340 | int frD, frA, frB, frC; | ^~~ --- ppc_exc.o --- mv -f .deps/ppc_exc.Tpo .deps/ppc_exc.Po --- ppc_mmu.o --- g++ -DHAVE_CONFIG_H -I. -I../../.. -I../.. -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Wundef -Wall -Woverloaded-virtual -fsigned-char -O3 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -MT ppc_mmu.o -MD -MP -MF .deps/ppc_mmu.Tpo -c -o ppc_mmu.o ppc_mmu.cc --- ppc_cpu.o --- mv -f .deps/ppc_cpu.Tpo .deps/ppc_cpu.Po --- ppc_opc.o --- g++ -DHAVE_CONFIG_H -I. -I../../.. -I../.. -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Wundef -Wall -Woverloaded-virtual -fsigned-char -O3 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -MT ppc_opc.o -MD -MP -MF .deps/ppc_opc.Tpo -c -o ppc_opc.o ppc_opc.cc --- ppc_mmu.o --- ppc_mmu.cc: In function 'void ppc_opc_dcbz()': ppc_mmu.cc:881:17: warning: variable 'rD' set but not used [-Wunused-but-set-variable] 881 | int rA, rD, rB; | ^~ ppc_mmu.cc: In function 'void ppc_opc_stb()': ppc_mmu.cc:1637:80: warning: value computed is not used [-Wunused-value] 1637 | ppc_write_effective_byte((rA?gCPU.gpr[rA]:0)+imm, (uint8)gCPU.gpr[rS]) != PPC_MMU_FATAL; ppc_mmu.cc: In function 'void ppc_opc_stbx()': ppc_mmu.cc:1676:89: warning: value computed is not used [-Wunused-value] 1676 | ppc_write_effective_byte((rA?gCPU.gpr[rA]:0)+gCPU.gpr[rB], (uint8)gCPU.gpr[rS]) != PPC_MMU_FATAL; ppc_mmu.cc: In function 'void ppc_opc_stfd()': ppc_mmu.cc:1691:75: warning: value computed is not used [-Wunused-value] 1691 | ppc_write_effective_dword((rA?gCPU.gpr[rA]:0)+imm, gCPU.fpr[frS]) != PPC_MMU_FATAL; ppc_mmu.cc: In function 'void ppc_opc_stfdx()': ppc_mmu.cc:1742:84: warning: value computed is not used [-Wunused-value] 1742 | ppc_write_effective_dword((rA?gCPU.gpr[rA]:0)+gCPU.gpr[rB], gCPU.fpr[frS]) != PPC_MMU_FATAL; ppc_mmu.cc: In function 'void ppc_opc_stfiwx()': ppc_mmu.cc:1756:91: warning: value computed is not used [-Wunused-value] 1756 | ppc_write_effective_word((rA?gCPU.gpr[rA]:0)+gCPU.gpr[rB], (uint32)gCPU.fpr[frS]) != PPC_MMU_FATAL; ppc_mmu.cc: In function 'void ppc_opc_stfs()': ppc_mmu.cc:1775:62: warning: value computed is not used [-Wunused-value] 1775 | ppc_write_effective_word((rA?gCPU.gpr[rA]:0)+imm, s) != PPC_MMU_FATAL; ppc_mmu.cc: In function 'void ppc_opc_stfsx()': ppc_mmu.cc:1838:71: warning: value computed is not used [-Wunused-value] 1838 | ppc_write_effective_word((rA?gCPU.gpr[rA]:0)+gCPU.gpr[rB], s) != PPC_MMU_FATAL; ppc_mmu.cc: In function 'void ppc_opc_sth()': ppc_mmu.cc:1849:81: warning: value computed is not used [-Wunused-value] 1849 | ppc_write_effective_half((rA?gCPU.gpr[rA]:0)+imm, (uint16)gCPU.gpr[rS]) != PPC_MMU_FATAL; ppc_mmu.cc: In function 'void ppc_opc_sthbrx()': ppc_mmu.cc:1859:98: warning: value computed is not used [-Wunused-value] 1859 | ppc_write_effective_half((rA?gCPU.gpr[rA]:0)+gCPU.gpr[rB], ppc_bswap_half(gCPU.gpr[rS])) != PPC_MMU_FATAL; ppc_mmu.cc: In function 'void ppc_opc_sthx()': ppc_mmu.cc:1898:90: warning: value computed is not used [-Wunused-value] 1898 | ppc_write_effective_half((rA?gCPU.gpr[rA]:0)+gCPU.gpr[rB], (uint16)gCPU.gpr[rS]) != PPC_MMU_FATAL; ppc_mmu.cc: In function 'void ppc_opc_stw()': ppc_mmu.cc:1985:73: warning: value computed is not used [-Wunused-value] 1985 | ppc_write_effective_word((rA?gCPU.gpr[rA]:0)+imm, gCPU.gpr[rS]) != PPC_MMU_FATAL; ppc_mmu.cc: In function 'void ppc_opc_stwbrx()': ppc_mmu.cc:1996:98: warning: value computed is not used [-Wunused-value] 1996 | ppc_write_effective_word((rA?gCPU.gpr[rA]:0)+gCPU.gpr[rB], ppc_bswap_word(gCPU.gpr[rS])) != PPC_MMU_FATAL; ppc_mmu.cc: In function 'void ppc_opc_stwx()': ppc_mmu.cc:2061:82: warning: value computed is not used [-Wunused-value] 2061 | ppc_write_effective_word((rA?gCPU.gpr[rA]:0)+gCPU.gpr[rB], gCPU.gpr[rS]) != PPC_MMU_FATAL; ppc_mmu.cc: In function 'void ppc_opc_stvx()': ppc_mmu.cc:2081:53: warning: value computed is not used [-Wunused-value] 2081 | ppc_write_effective_qword(ea, gCPU.vr[vrS]) != PPC_MMU_FATAL; --- ppc_dec.o --- mv -f .deps/ppc_dec.Tpo .deps/ppc_dec.Po --- ppc_opc.o --- In file included from ppc_opc.cc:25: ../../info.h:29:24: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 29 | #define EMULATOR_MODEL "PowerPC ("APPNAME" "APPVERSION")" | ^ ../../info.h:29:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 29 | #define EMULATOR_MODEL "PowerPC ("APPNAME" "APPVERSION")" | ^ --- ppc_vec.o --- g++ -DHAVE_CONFIG_H -I. -I../../.. -I../.. -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Wundef -Wall -Woverloaded-virtual -fsigned-char -O3 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -MT ppc_vec.o -MD -MP -MF .deps/ppc_vec.Tpo -c -o ppc_vec.o ppc_vec.cc --- ppc_opc.o --- ppc_opc.cc: In function 'void ppc_opc_bcctrx()': ppc_opc.cc:110:24: warning: variable 'BD' set but not used [-Wunused-but-set-variable] 110 | uint32 BO, BI, BD; | ^~ ppc_opc.cc: In function 'void ppc_opc_mcrf()': ppc_opc.cc:251:26: warning: variable 'bla' set but not used [-Wunused-but-set-variable] 251 | uint32 crD, crS, bla; | ^~~ ppc_opc.cc: In function 'void ppc_opc_mfcr()': ppc_opc.cc:284:17: warning: variable 'rA' set but not used [-Wunused-but-set-variable] 284 | int rD, rA, rB; | ^~ ppc_opc.cc:284:21: warning: variable 'rB' set but not used [-Wunused-but-set-variable] 284 | int rD, rA, rB; | ^~ ppc_opc.cc: In function 'void ppc_opc_mffsx()': ppc_opc.cc:295:18: warning: variable 'rA' set but not used [-Wunused-but-set-variable] 295 | int frD, rA, rB; | ^~ ppc_opc.cc:295:22: warning: variable 'rB' set but not used [-Wunused-but-set-variable] 295 | int frD, rA, rB; | ^~ ppc_opc.cc: In function 'void ppc_opc_mfmsr()': ppc_opc.cc:314:17: warning: variable 'rA' set but not used [-Wunused-but-set-variable] 314 | int rD, rA, rB; | ^~ ppc_opc.cc:314:21: warning: variable 'rB' set but not used [-Wunused-but-set-variable] 314 | int rD, rA, rB; | ^~ ppc_opc.cc: In function 'void ppc_opc_mfsr()': ppc_opc.cc:490:21: warning: variable 'rB' set but not used [-Wunused-but-set-variable] 490 | int rD, SR, rB; | ^~ ppc_opc.cc: In function 'void ppc_opc_mfsrin()': ppc_opc.cc:505:17: warning: variable 'rA' set but not used [-Wunused-but-set-variable] 505 | int rD, rA, rB; | ^~ ppc_opc.cc: In function 'void ppc_opc_mtfsb0x()': ppc_opc.cc:557:19: warning: variable 'n1' set but not used [-Wunused-but-set-variable] 557 | int crbD, n1, n2; | ^~ ppc_opc.cc:557:23: warning: variable 'n2' set but not used [-Wunused-but-set-variable] 557 | int crbD, n1, n2; | ^~ ppc_opc.cc: In function 'void ppc_opc_mtfsb1x()': ppc_opc.cc:573:19: warning: variable 'n1' set but not used [-Wunused-but-set-variable] 573 | int crbD, n1, n2; | ^~ ppc_opc.cc:573:23: warning: variable 'n2' set but not used [-Wunused-but-set-variable] 573 | int crbD, n1, n2; | ^~ ppc_opc.cc: In function 'void ppc_opc_mtfsfix()': ppc_opc.cc:606:19: warning: variable 'n1' set but not used [-Wunused-but-set-variable] 606 | int crfD, n1; | ^~ ppc_opc.cc: In function 'void ppc_opc_mtmsr()': ppc_opc.cc:629:17: warning: variable 'rA' set but not used [-Wunused-but-set-variable] 629 | int rS, rA, rB; | ^~ ppc_opc.cc:629:21: warning: variable 'rB' set but not used [-Wunused-but-set-variable] 629 | int rS, rA, rB; | ^~ ppc_opc.cc: In function 'void ppc_opc_mtsr()': ppc_opc.cc:800:21: warning: variable 'rB' set but not used [-Wunused-but-set-variable] 800 | int rS, SR, rB; | ^~ ppc_opc.cc: In function 'void ppc_opc_mtsrin()': ppc_opc.cc:815:17: warning: variable 'rA' set but not used [-Wunused-but-set-variable] 815 | int rS, rA, rB; | ^~ ppc_opc.cc: In function 'void ppc_opc_tlbia()': ppc_opc.cc:868:13: warning: variable 'rS' set but not used [-Wunused-but-set-variable] 868 | int rS, rA, rB; | ^~ ppc_opc.cc:868:17: warning: variable 'rA' set but not used [-Wunused-but-set-variable] 868 | int rS, rA, rB; | ^~ ppc_opc.cc:868:21: warning: variable 'rB' set but not used [-Wunused-but-set-variable] 868 | int rS, rA, rB; | ^~ ppc_opc.cc: In function 'void ppc_opc_tlbie()': ppc_opc.cc:884:13: warning: variable 'rS' set but not used [-Wunused-but-set-variable] 884 | int rS, rA, rB; | ^~ ppc_opc.cc:884:17: warning: variable 'rA' set but not used [-Wunused-but-set-variable] 884 | int rS, rA, rB; | ^~ ppc_opc.cc:884:21: warning: variable 'rB' set but not used [-Wunused-but-set-variable] 884 | int rS, rA, rB; | ^~ ppc_opc.cc: In function 'void ppc_opc_tlbsync()': ppc_opc.cc:900:13: warning: variable 'rS' set but not used [-Wunused-but-set-variable] 900 | int rS, rA, rB; | ^~ ppc_opc.cc:900:17: warning: variable 'rA' set but not used [-Wunused-but-set-variable] 900 | int rS, rA, rB; | ^~ ppc_opc.cc:900:21: warning: variable 'rB' set but not used [-Wunused-but-set-variable] 900 | int rS, rA, rB; | ^~ --- ppc_vec.o --- ppc_vec.cc: In function 'void ppc_opc_vspltisb()': ppc_vec.cc:768:18: warning: variable 'vrB' set but not used [-Wunused-but-set-variable] 768 | int vrD, vrB; | ^~~ ppc_vec.cc: In function 'void ppc_opc_vspltish()': ppc_vec.cc:789:18: warning: variable 'vrB' set but not used [-Wunused-but-set-variable] 789 | int vrD, vrB; | ^~~ ppc_vec.cc: In function 'void ppc_opc_vspltisw()': ppc_vec.cc:809:18: warning: variable 'vrB' set but not used [-Wunused-but-set-variable] 809 | int vrD, vrB; | ^~~ ppc_vec.cc: In function 'void ppc_opc_mfvscr()': ppc_vec.cc:828:18: warning: variable 'vrA' set but not used [-Wunused-but-set-variable] 828 | int vrD, vrA, vrB; | ^~~ ppc_vec.cc:828:23: warning: variable 'vrB' set but not used [-Wunused-but-set-variable] 828 | int vrD, vrA, vrB; | ^~~ ppc_vec.cc: In function 'void ppc_opc_mtvscr()': ppc_vec.cc:844:13: warning: variable 'vrD' set but not used [-Wunused-but-set-variable] 844 | int vrD, vrA, vrB; | ^~~ ppc_vec.cc:844:18: warning: variable 'vrA' set but not used [-Wunused-but-set-variable] 844 | int vrD, vrA, vrB; | ^~~ ppc_vec.cc: In function 'void ppc_opc_vupkhsb()': ppc_vec.cc:1098:18: warning: variable 'vrA' set but not used [-Wunused-but-set-variable] 1098 | int vrD, vrA, vrB; | ^~~ ppc_vec.cc: In function 'void ppc_opc_vupkhpx()': ppc_vec.cc:1121:18: warning: variable 'vrA' set but not used [-Wunused-but-set-variable] 1121 | int vrD, vrA, vrB; | ^~~ ppc_vec.cc: In function 'void ppc_opc_vupkhsh()': ppc_vec.cc:1140:18: warning: variable 'vrA' set but not used [-Wunused-but-set-variable] 1140 | int vrD, vrA, vrB; | ^~~ ppc_vec.cc: In function 'void ppc_opc_vupklsb()': ppc_vec.cc:1159:18: warning: variable 'vrA' set but not used [-Wunused-but-set-variable] 1159 | int vrD, vrA, vrB; | ^~~ ppc_vec.cc: In function 'void ppc_opc_vupklpx()': ppc_vec.cc:1182:18: warning: variable 'vrA' set but not used [-Wunused-but-set-variable] 1182 | int vrD, vrA, vrB; | ^~~ ppc_vec.cc: In function 'void ppc_opc_vupklsh()': ppc_vec.cc:1201:18: warning: variable 'vrA' set but not used [-Wunused-but-set-variable] 1201 | int vrD, vrA, vrB; | ^~~ ppc_vec.cc: In function 'void ppc_opc_vrfin()': ppc_vec.cc:2541:18: warning: variable 'vrA' set but not used [-Wunused-but-set-variable] 2541 | int vrD, vrA, vrB; | ^~~ ppc_vec.cc: In function 'void ppc_opc_vrfip()': ppc_vec.cc:2562:18: warning: variable 'vrA' set but not used [-Wunused-but-set-variable] 2562 | int vrD, vrA, vrB; | ^~~ ppc_vec.cc: In function 'void ppc_opc_vrfim()': ppc_vec.cc:2577:18: warning: variable 'vrA' set but not used [-Wunused-but-set-variable] 2577 | int vrD, vrA, vrB; | ^~~ ppc_vec.cc: In function 'void ppc_opc_vrfiz()': ppc_vec.cc:2592:18: warning: variable 'vrA' set but not used [-Wunused-but-set-variable] 2592 | int vrD, vrA, vrB; | ^~~ ppc_vec.cc:2592:23: warning: variable 'vrB' set but not used [-Wunused-but-set-variable] 2592 | int vrD, vrA, vrB; | ^~~ ppc_vec.cc: In function 'void ppc_opc_vrefp()': ppc_vec.cc:2607:18: warning: variable 'vrA' set but not used [-Wunused-but-set-variable] 2607 | int vrD, vrA, vrB; | ^~~ ppc_vec.cc: In function 'void ppc_opc_vrsqrtefp()': ppc_vec.cc:2628:18: warning: variable 'vrA' set but not used [-Wunused-but-set-variable] 2628 | int vrD, vrA, vrB; | ^~~ ppc_vec.cc: In function 'void ppc_opc_vlogefp()': ppc_vec.cc:2649:18: warning: variable 'vrA' set but not used [-Wunused-but-set-variable] 2649 | int vrD, vrA, vrB; | ^~~ ppc_vec.cc: In function 'void ppc_opc_vexptefp()': ppc_vec.cc:2670:18: warning: variable 'vrA' set but not used [-Wunused-but-set-variable] 2670 | int vrD, vrA, vrB; | ^~~ --- ppc_fpu.o --- In file included from ppc_fpu.cc:25: In function 'uint32 ppc_fpu_pack_double(ppc_double&, uint64&)', inlined from 'void ppc_opc_faddx()' at ppc_fpu.cc:764:35: ppc_fpu.h:296:21: warning: 'D.ppc_double::e' may be used uninitialized [-Wmaybe-uninitialized] 296 | d.e += 1023; // bias exponent | ~~~~^~~~~~~ ppc_fpu.cc: In function 'void ppc_opc_faddx()': ppc_fpu.cc:757:26: note: 'D.ppc_double::e' was declared here 757 | ppc_double A, B, D; | ^ In function 'uint32 ppc_fpu_pack_double(ppc_double&, uint64&)', inlined from 'void ppc_opc_faddx()' at ppc_fpu.cc:764:35: ppc_fpu.h:315:37: warning: 'D.ppc_double::m' may be used uninitialized [-Wmaybe-uninitialized] 315 | d.m >>= d.e; | ~~~~^~~~~~~ ppc_fpu.cc: In function 'void ppc_opc_faddx()': ppc_fpu.cc:757:26: note: 'D.ppc_double::m' was declared here 757 | ppc_double A, B, D; | ^ --- ppc_mmu.o --- ppc_mmu.cc: In function 'bool ppc_dma_write(uint32, const void*, uint32)': ppc_mmu.cc:787:15: warning: 'ptr' may be used uninitialized [-Wmaybe-uninitialized] 787 | memcpy(ptr, src, size); | ~~~~~~^~~~~~~~~~~~~~~~ ppc_mmu.cc:784:15: note: 'ptr' was declared here 784 | byte *ptr; | ^~~ ppc_mmu.cc: In function 'bool ppc_dma_read(void*, uint32, uint32)': ppc_mmu.cc:798:15: warning: 'ptr' may be used uninitialized [-Wmaybe-uninitialized] 798 | memcpy(dest, ptr, size); | ~~~~~~^~~~~~~~~~~~~~~~~ ppc_mmu.cc:795:15: note: 'ptr' was declared here 795 | byte *ptr; | ^~~ ppc_mmu.cc: In function 'bool ppc_dma_set(uint32, int, uint32)': ppc_mmu.cc:809:15: warning: 'ptr' may be used uninitialized [-Wmaybe-uninitialized] 809 | memset(ptr, c, size); | ~~~~~~^~~~~~~~~~~~~~ ppc_mmu.cc:806:15: note: 'ptr' was declared here 806 | byte *ptr; | ^~~ --- ppc_alu.o --- mv -f .deps/ppc_alu.Tpo .deps/ppc_alu.Po --- ppc_fpu.o --- In function 'uint32 ppc_fpu_pack_double_as_single(ppc_double&, uint64&)', inlined from 'void ppc_opc_faddsx()' at ppc_fpu.cc:786:45: ppc_fpu.h:428:19: warning: 'D.ppc_double::m' may be used uninitialized [-Wmaybe-uninitialized] 428 | s.m = d.m >> 29; | ~~~~^~~~~ ppc_fpu.cc: In function 'void ppc_opc_faddsx()': ppc_fpu.cc:779:26: note: 'D.ppc_double::m' was declared here 779 | ppc_double A, B, D; | ^ In function 'uint32 ppc_fpu_pack_double_as_single(ppc_double&, uint64&)', inlined from 'void ppc_opc_faddsx()' at ppc_fpu.cc:786:45: ppc_fpu.h:436:26: warning: 'D.ppc_double::e' may be used uninitialized [-Wmaybe-uninitialized] 436 | s.e = d.e+127; | ~~~^~~~ ppc_fpu.cc: In function 'void ppc_opc_faddsx()': ppc_fpu.cc:779:26: note: 'D.ppc_double::e' was declared here 779 | ppc_double A, B, D; | ^ --- ppc_opc.o --- mv -f .deps/ppc_opc.Tpo .deps/ppc_opc.Po --- ppc_fpu.o --- In function 'uint32 ppc_fpu_pack_double(ppc_double&, uint64&)', inlined from 'void ppc_opc_fdivx()' at ppc_fpu.cc:914:35: ppc_fpu.h:296:21: warning: 'D.ppc_double::e' may be used uninitialized [-Wmaybe-uninitialized] 296 | d.e += 1023; // bias exponent | ~~~~^~~~~~~ ppc_fpu.cc: In function 'void ppc_opc_fdivx()': ppc_fpu.cc:900:26: note: 'D.ppc_double::e' was declared here 900 | ppc_double A, B, D; | ^ In function 'uint32 ppc_fpu_pack_double(ppc_double&, uint64&)', inlined from 'void ppc_opc_fdivx()' at ppc_fpu.cc:914:35: ppc_fpu.h:315:37: warning: 'D.ppc_double::m' may be used uninitialized [-Wmaybe-uninitialized] 315 | d.m >>= d.e; | ~~~~^~~~~~~ ppc_fpu.cc: In function 'void ppc_opc_fdivx()': ppc_fpu.cc:900:26: note: 'D.ppc_double::m' was declared here 900 | ppc_double A, B, D; | ^ In function 'uint32 ppc_fpu_pack_double_as_single(ppc_double&, uint64&)', inlined from 'void ppc_opc_fdivsx()' at ppc_fpu.cc:943:45: ppc_fpu.h:428:19: warning: 'D.ppc_double::m' may be used uninitialized [-Wmaybe-uninitialized] 428 | s.m = d.m >> 29; | ~~~~^~~~~ ppc_fpu.cc: In function 'void ppc_opc_fdivsx()': ppc_fpu.cc:929:26: note: 'D.ppc_double::m' was declared here 929 | ppc_double A, B, D; | ^ In function 'uint32 ppc_fpu_pack_double_as_single(ppc_double&, uint64&)', inlined from 'void ppc_opc_fdivsx()' at ppc_fpu.cc:943:45: ppc_fpu.h:436:26: warning: 'D.ppc_double::e' may be used uninitialized [-Wmaybe-uninitialized] 436 | s.e = d.e+127; | ~~~^~~~ ppc_fpu.cc: In function 'void ppc_opc_fdivsx()': ppc_fpu.cc:929:26: note: 'D.ppc_double::e' was declared here 929 | ppc_double A, B, D; | ^ In function 'void ppc_fpu_quadro_mshl(ppc_quadro&, int)', inlined from 'void ppc_fpu_add_quadro(ppc_quadro&, ppc_quadro&, ppc_quadro&)' at ppc_fpu.cc:186:49, inlined from 'void ppc_fpu_mul_add(ppc_double&, ppc_double&, ppc_double&, ppc_double&)' at ppc_fpu.cc:525:20, inlined from 'void ppc_opc_fmaddx()' at ppc_fpu.cc:961:17: ppc_fpu.cc:156:26: warning: 'p.ppc_quadro::m1' may be used uninitialized [-Wmaybe-uninitialized] 156 | uint64 t = (q.m1 >> (64-exp)) & ((1ULL<> (64-exp)) & ((1ULL<> (64-exp)) & ((1ULL<> (64-exp)) & ((1ULL<>= d.e; | ~~~~^~~~~~~ ppc_fpu.cc: In function 'void ppc_opc_fmulx()': ppc_fpu.cc:1050:26: note: 'D.ppc_double::m' was declared here 1050 | ppc_double A, C, D; | ^ In function 'uint32 ppc_fpu_pack_double_as_single(ppc_double&, uint64&)', inlined from 'void ppc_opc_fmulsx()' at ppc_fpu.cc:1082:45: ppc_fpu.h:428:19: warning: 'D.ppc_double::m' may be used uninitialized [-Wmaybe-uninitialized] 428 | s.m = d.m >> 29; | ~~~~^~~~~ ppc_fpu.cc: In function 'void ppc_opc_fmulsx()': ppc_fpu.cc:1074:26: note: 'D.ppc_double::m' was declared here 1074 | ppc_double A, C, D; | ^ In function 'uint32 ppc_fpu_pack_double_as_single(ppc_double&, uint64&)', inlined from 'void ppc_opc_fmulsx()' at ppc_fpu.cc:1082:45: ppc_fpu.h:436:26: warning: 'D.ppc_double::e' may be used uninitialized [-Wmaybe-uninitialized] 436 | s.e = d.e+127; | ~~~^~~~ ppc_fpu.cc: In function 'void ppc_opc_fmulsx()': ppc_fpu.cc:1074:26: note: 'D.ppc_double::e' was declared here 1074 | ppc_double A, C, D; | ^ --- ppc_vec.o --- mv -f .deps/ppc_vec.Tpo .deps/ppc_vec.Po --- ppc_fpu.o --- In function 'void ppc_fpu_quadro_mshl(ppc_quadro&, int)', inlined from 'void ppc_fpu_add_quadro(ppc_quadro&, ppc_quadro&, ppc_quadro&)' at ppc_fpu.cc:186:49, inlined from 'void ppc_fpu_mul_add(ppc_double&, ppc_double&, ppc_double&, ppc_double&)' at ppc_fpu.cc:525:20, inlined from 'void ppc_opc_fnmaddx()' at ppc_fpu.cc:1130:17: ppc_fpu.cc:156:26: warning: 'p.ppc_quadro::m1' may be used uninitialized [-Wmaybe-uninitialized] 156 | uint64 t = (q.m1 >> (64-exp)) & ((1ULL<> (64-exp)) & ((1ULL<> (64-exp)) & ((1ULL<> (64-exp)) & ((1ULL<>= d.e; | ~~~~^~~~~~~ ppc_fpu.cc: In function 'void ppc_opc_fsubx()': ppc_fpu.cc:1318:26: note: 'D.ppc_double::m' was declared here 1318 | ppc_double A, B, D; | ^ In function 'uint32 ppc_fpu_pack_double_as_single(ppc_double&, uint64&)', inlined from 'void ppc_opc_fsubsx()' at ppc_fpu.cc:1353:45: ppc_fpu.h:428:19: warning: 'D.ppc_double::m' may be used uninitialized [-Wmaybe-uninitialized] 428 | s.m = d.m >> 29; | ~~~~^~~~~ ppc_fpu.cc: In function 'void ppc_opc_fsubsx()': ppc_fpu.cc:1343:26: note: 'D.ppc_double::m' was declared here 1343 | ppc_double A, B, D; | ^ In function 'uint32 ppc_fpu_pack_double_as_single(ppc_double&, uint64&)', inlined from 'void ppc_opc_fsubsx()' at ppc_fpu.cc:1353:45: ppc_fpu.h:436:26: warning: 'D.ppc_double::e' may be used uninitialized [-Wmaybe-uninitialized] 436 | s.e = d.e+127; | ~~~^~~~ ppc_fpu.cc: In function 'void ppc_opc_fsubsx()': ppc_fpu.cc:1343:26: note: 'D.ppc_double::e' was declared here 1343 | ppc_double A, B, D; | ^ mv -f .deps/ppc_fpu.Tpo .deps/ppc_fpu.Po --- libcpu.a --- rm -f libcpu.a /usr/bin/ar cru libcpu.a ppc_alu.o ppc_cpu.o ppc_dec.o ppc_exc.o ppc_fpu.o ppc_mmu.o ppc_opc.o ppc_vec.o ranlib libcpu.a Making all in debug --- asm.o --- --- ppcdis.o --- --- ppcopc.o --- --- parsehelper.o --- --- debugger.o --- --- ppcdis.o --- g++ -DHAVE_CONFIG_H -I. -I../.. -I .. -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Wundef -Wall -Woverloaded-virtual -fsigned-char -O3 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -MT ppcdis.o -MD -MP -MF .deps/ppcdis.Tpo -c -o ppcdis.o ppcdis.cc --- asm.o --- g++ -DHAVE_CONFIG_H -I. -I../.. -I .. -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Wundef -Wall -Woverloaded-virtual -fsigned-char -O3 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -MT asm.o -MD -MP -MF .deps/asm.Tpo -c -o asm.o asm.cc --- ppcopc.o --- g++ -DHAVE_CONFIG_H -I. -I../.. -I .. -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Wundef -Wall -Woverloaded-virtual -fsigned-char -O3 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -MT ppcopc.o -MD -MP -MF .deps/ppcopc.Tpo -c -o ppcopc.o ppcopc.cc --- debugger.o --- g++ -DHAVE_CONFIG_H -I. -I../.. -I .. -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Wundef -Wall -Woverloaded-virtual -fsigned-char -O3 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -MT debugger.o -MD -MP -MF .deps/debugger.Tpo -c -o debugger.o debugger.cc --- parsehelper.o --- gcc -DHAVE_CONFIG_H -I. -I../.. -I .. -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Wundef -Wall -fsigned-char -O3 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -MT parsehelper.o -MD -MP -MF .deps/parsehelper.Tpo -c -o parsehelper.o parsehelper.c --- ppcdis.o --- ppcdis.cc: In member function 'virtual dis_insn* PPCDisassembler::decode(const byte*, int, CPU_ADDR)': ppcdis.cc:60:24: warning: variable 'table_op' set but not used [-Wunused-but-set-variable] 60 | uint32 table_op; | ^~~~~~~~ ppcdis.cc:39:16: warning: variable 'op' set but not used [-Wunused-but-set-variable] 39 | uint32 op; | ^~ --- debugger.o --- debugger.cc: In member function 'Function* Debugger::eval_scalarToFunction(eval_scalar&)': debugger.cc:394:24: warning: enumeration value 'REG_PC' not handled in switch [-Wswitch] 394 | switch (s.scalar.reg.type) { | ^ debugger.cc:394:24: warning: enumeration value 'REG_CR' not handled in switch [-Wswitch] debugger.cc:394:24: warning: enumeration value 'REG_LR' not handled in switch [-Wswitch] debugger.cc:394:24: warning: enumeration value 'REG_CTR' not handled in switch [-Wswitch] debugger.cc:394:24: warning: enumeration value 'REG_XER' not handled in switch [-Wswitch] debugger.cc:394:24: warning: enumeration value 'REG_MSR' not handled in switch [-Wswitch] debugger.cc:394:24: warning: enumeration value 'REG_SRR0' not handled in switch [-Wswitch] debugger.cc:394:24: warning: enumeration value 'REG_SRR1' not handled in switch [-Wswitch] debugger.cc: In function 'bool translateAddress(uint32, uint32&, bool)': debugger.cc:565:1: warning: no return statement in function returning non-void [-Wreturn-type] 565 | } | ^ debugger.cc: In member function 'bool Debugger::parse(const String&)': debugger.cc:576:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 576 | str2 = "internal error! please report!"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ debugger.cc:603:32: warning: enumeration value 'REG_GPR' not handled in switch [-Wswitch] 603 | switch (s.param[0].scalar.reg.type) { | ^ debugger.cc:603:32: warning: enumeration value 'REG_FPR' not handled in switch [-Wswitch] debugger.cc:603:32: warning: enumeration value 'REG_PC' not handled in switch [-Wswitch] debugger.cc:603:32: warning: enumeration value 'REG_CR' not handled in switch [-Wswitch] debugger.cc:603:32: warning: enumeration value 'REG_LR' not handled in switch [-Wswitch] debugger.cc:603:32: warning: enumeration value 'REG_CTR' not handled in switch [-Wswitch] debugger.cc:603:32: warning: enumeration value 'REG_XER' not handled in switch [-Wswitch] debugger.cc:603:32: warning: enumeration value 'REG_MSR' not handled in switch [-Wswitch] debugger.cc:603:32: warning: enumeration value 'REG_SRR0' not handled in switch [-Wswitch] debugger.cc:603:32: warning: enumeration value 'REG_SRR1' not handled in switch [-Wswitch] debugger.cc:692:31: warning: unused variable 'v' [-Wunused-variable] 692 | uint8 v; | ^ debugger.cc:708:32: warning: unused variable 'v' [-Wunused-variable] 708 | uint16 v; | ^ debugger.cc:725:32: warning: unused variable 'v' [-Wunused-variable] 725 | uint32 v; | ^ debugger.cc:741:32: warning: unused variable 'v' [-Wunused-variable] 741 | uint64 v; | ^ debugger.cc:757:31: warning: unused variable 'v' [-Wunused-variable] 757 | byte *v; | ^ debugger.cc:774:30: warning: unused variable 'v' [-Wunused-variable] 774 | byte v; | ^ debugger.cc:585:24: warning: enumeration value 'COMMAND_BREAK' not handled in switch [-Wswitch] 585 | switch (s.type) { | ^ debugger.cc:585:24: warning: enumeration value 'COMMAND_LIST_BREAK' not handled in switch [-Wswitch] debugger.cc:585:24: warning: enumeration value 'COMMAND_STEP' not handled in switch [-Wswitch] debugger.cc:585:24: warning: enumeration value 'COMMAND_NEXT' not handled in switch [-Wswitch] debugger.cc:585:24: warning: enumeration value 'COMMAND_CONTINUE' not handled in switch [-Wswitch] debugger.cc:585:24: warning: enumeration value 'COMMAND_QUIT' not handled in switch [-Wswitch] debugger.cc: In member function 'void Debugger::enter()': debugger.cc:891:21: warning: 'disstr' is used uninitialized [-Wuninitialized] 891 | if (disstr[0] == 'b') { | ~~~~~~~~^ debugger.cc:887:14: note: 'disstr' declared here 887 | char disstr[256]; | ^~~~~~ --- asm.o --- mv -f .deps/asm.Tpo .deps/asm.Po --- stdfuncs.o --- --- parsehelper.o --- mv -f .deps/parsehelper.Tpo .deps/parsehelper.Po --- stdfuncs.o --- g++ -DHAVE_CONFIG_H -I. -I../.. -I .. -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Wundef -Wall -Woverloaded-virtual -fsigned-char -O3 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -MT stdfuncs.o -MD -MP -MF .deps/stdfuncs.Tpo -c -o stdfuncs.o stdfuncs.cc --- x86opc.o --- g++ -DHAVE_CONFIG_H -I. -I../.. -I .. -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Wundef -Wall -Woverloaded-virtual -fsigned-char -O3 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -MT x86opc.o -MD -MP -MF .deps/x86opc.Tpo -c -o x86opc.o x86opc.cc --- ppcdis.o --- mv -f .deps/ppcdis.Tpo .deps/ppcdis.Po --- x86dis.o --- g++ -DHAVE_CONFIG_H -I. -I../.. -I .. -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Wundef -Wall -Woverloaded-virtual -fsigned-char -O3 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -MT x86dis.o -MD -MP -MF .deps/x86dis.Tpo -c -o x86dis.o x86dis.cc --- x86opc.o --- mv -f .deps/x86opc.Tpo .deps/x86opc.Po --- debugparse.o --- gcc -DHAVE_CONFIG_H -I. -I../.. -I .. -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Wundef -Wall -fsigned-char -O3 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -MT debugparse.o -MD -MP -MF .deps/debugparse.Tpo -c -o debugparse.o debugparse.c debugparse.c: In function 'yyparse': debugparse.c:931:16: error: too many arguments to function 'yylex'; expected 0, have 1 931 | # define YYLEX yylex (&yylval) | ^~~~~ ~~~~~~~ debugparse.c:1599:16: note: in expansion of macro 'YYLEX' 1599 | yychar = YYLEX; | ^~~~~ In file included from parsehelper.h:38, from debugparse.y:9: lex.h:10:5: note: declared here 10 | int yylex(); | ^~~~~ *** [debugparse.o] Error code 1 make[3]: stopped making "all" in /home/pbulk/work/emulators/pearpc/work/pearpc-0.5/src/debug --- debugger.o --- mv -f .deps/debugger.Tpo .deps/debugger.Po --- ppcopc.o --- mv -f .deps/ppcopc.Tpo .deps/ppcopc.Po --- x86dis.o --- mv -f .deps/x86dis.Tpo .deps/x86dis.Po --- stdfuncs.o --- mv -f .deps/stdfuncs.Tpo .deps/stdfuncs.Po make[3]: 1 error make[3]: stopped making "all" in /home/pbulk/work/emulators/pearpc/work/pearpc-0.5/src/debug make[2]: stopped making "all" in /home/pbulk/work/emulators/pearpc/work/pearpc-0.5/src make[1]: stopped making "all-recursive" in /home/pbulk/work/emulators/pearpc/work/pearpc-0.5 bmake: stopped making "all" in /home/pbulk/work/emulators/pearpc/work/pearpc-0.5 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pearpc *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pearpc