* Package: app-emulation/dlx-1.5.20 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking dlx-1.5.20.zip to /var/tmp/portage/app-emulation/dlx-1.5.20/work >>> Source unpacked in /var/tmp/portage/app-emulation/dlx-1.5.20/work >>> Preparing source in /var/tmp/portage/app-emulation/dlx-1.5.20/work/dlx ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-emulation/dlx-1.5.20/work/dlx ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-emulation/dlx-1.5.20/work/dlx ... make -j1 CC=x86_64-pc-linux-gnu-gcc LINK=x86_64-pc-linux-gnu-gcc 'CFLAGS=-O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security ' 'LFLAGS=-O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -o cpu.o cpu.c cpu.c: In function ‘InitCpu’: cpu.c:626:13: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 626 | fgets (Txt, 80, f); | ^~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -o cpuh.o cpuh.c x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -o cpum.o cpum.c x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -o cpup.o cpup.c x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -o mem.o mem.c x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -o mon.o mon.c mon.c: In function ‘BPMessage’: mon.c:584:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ {aka ‘long unsigned int’} [-Wformat=] 584 | printf ("Breakpoint %d at $%08lX\n", i + 1, dlx.PC); | ~^ ~~~~~ | | | | int ULONG {aka long unsigned int} | %ld mon.c: In function ‘HandleBreakpoints’: mon.c:623:58: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ {aka ‘long unsigned int’} [-Wformat=] 623 | printf ("Setting breakpoint %d to $%08lX\n", | ~^ | | | int | %ld 624 | i + 1, Val); | ~~~~~ | | | ULONG {aka long unsigned int} mon.c:648:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ {aka ‘long unsigned int’} [-Wformat=] 648 | printf ("%4d $%08lX\n", i + 1, BP.BPs [i]); | ~~^ ~~~~~ | | | | int ULONG {aka long unsigned int} | %4ld mon.c:682:58: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ {aka ‘long unsigned int’} [-Wformat=] 682 | printf ("Setting breakpoint %d to $%08lX\n", | ~^ | | | int | %ld 683 | i + 1, Val); | ~~~~~ | | | ULONG {aka long unsigned int} mon.c: In function ‘MainLoop’: mon.c:873:21: warning: implicit declaration of function ‘DisMicrocode’; did you mean ‘LoadMicrocode’? [-Wimplicit-function-declaration] 873 | DisMicrocode (); | ^~~~~~~~~~~~ | LoadMicrocode mon.c:1172:17: warning: implicit declaration of function ‘DoMcLoad’; did you mean ‘DoLoad’? [-Wimplicit-function-declaration] 1172 | DoMcLoad (&Cmd [1]); | ^~~~~~~~ | DoLoad mon.c: In function ‘EnterMemory’: mon.c:147:13: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 147 | fgets (Str, 160, Rec); | ^~~~~~~~~~~~~~~~~~~~~ mon.c:151:13: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 151 | fgets (Str, 160, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ mon.c: In function ‘MainLoop’: mon.c:823:13: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 823 | fgets (Cmd, 160, Rec); | ^~~~~~~~~~~~~~~~~~~~~ mon.c:827:13: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 827 | fgets (Cmd, 160, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ mon.c:1168:17: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 1168 | system (&Cmd [1]); | ^~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -o mon2.o mon2.c mon2.c: In function ‘PauseForKey’: mon2.c:141:5: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 141 | fgets (Pause, 3, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -o mon3.o mon3.c x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -o dis.o dis.c dis.c: In function ‘DisassembleInstr’: dis.c:316:42: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 3 has type ‘ULONG’ {aka ‘long unsigned int’} [-Wformat=] 316 | fprintf (Log, "$%X", Addr + Offset16 + 4); | ~^ ~~~~~~~~~~~~~~~~~~~ | | | | unsigned int ULONG {aka long unsigned int} | %lX dis.c:341:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ {aka ‘long unsigned int’} [-Wformat=] 341 | fprintf (Log, "%d", Vector); | ~^ ~~~~~~ | | | | int ULONG {aka long unsigned int} | %ld x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -o ini.o ini.c ini.c: In function ‘ReadIni’: ini.c:174:13: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 174 | fgets (Line, 120, fIni); | ^~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -o help.o help.c help.c: In function ‘GetHelpLine’: help.c:39:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 39 | fgets (Txt, TEXTLEN - 1, H); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -o io.o io.c io.c: In function ‘DoLoad’: io.c:103:13: warning: implicit declaration of function ‘ExtractNo’ [-Wimplicit-function-declaration] 103 | Start = ExtractNo (Cmd, &Pos, &Blank); | ^~~~~~~~~ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -o monlink.o monlink.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o mon cpu.o cpuh.o cpum.o cpup.o mem.o mon.o mon2.o mon3.o dis.o ini.o help.o io.o monlink.o -lm x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -o msym.o msym.c msym.c: In function ‘AddSymbol’: msym.c:86:9: warning: implicit declaration of function ‘Error’; did you mean ‘perror’? [-Wimplicit-function-declaration] 86 | Error ("Out of memory (AddSymbol)", FALSE); | ^~~~~ | perror x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -o masm.o masm.c masm.c: In function ‘Error’: masm.c:280:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ {aka ‘long unsigned int’} [-Wformat=] 280 | fprintf (stderr, "Error: Line %d ", LineNo); | ~^ ~~~~~~ | | | | int ULONG {aka long unsigned int} | %ld masm.c: In function ‘main’: masm.c:891:13: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 891 | fgets (Line, LINELEN, In); | ^~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -o masmlink.o masmlink.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o masm msym.o masm.o masmlink.o -lm x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -o dsym.o dsym.c dsym.c: In function ‘AddSymbol’: dsym.c:113:9: warning: implicit declaration of function ‘Error’; did you mean ‘perror’? [-Wimplicit-function-declaration] 113 | Error ("Out of memory (AddSymbol)", FALSE); | ^~~~~ | perror dsym.c:124:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ {aka ‘long unsigned int’} [-Wformat=] 124 | printf ("\t\t\tAddSymbol '%s' %d/%X\n", S->Name, S->Val, S->Val); | ~^ ~~~~~~ | | | | int ULONG {aka long unsigned int} | %ld dsym.c:124:43: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 4 has type ‘ULONG’ {aka ‘long unsigned int’} [-Wformat=] 124 | printf ("\t\t\tAddSymbol '%s' %d/%X\n", S->Name, S->Val, S->Val); | ~^ ~~~~~~ | | | | unsigned int ULONG {aka long unsigned int} | %lX dsym.c: In function ‘SDisplay’: dsym.c:193:45: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘ULONG’ {aka ‘long unsigned int’} [-Wformat=] 193 | printf ("%-13s = MACRO (%s/%d)\n", | ~^ | | | int | %ld 194 | ST->Name, ST->FName, ST->LineNo); | ~~~~~~~~~~ | | | ULONG {aka long unsigned int} dsym.c:213:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ {aka ‘long unsigned int’} [-Wformat=] 213 | printf (" (%s/%d)\n\n", ST->FName, ST->LineNo); | ~^ ~~~~~~~~~~ | | | | int ULONG {aka long unsigned int} | %ld x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -o dasm.o dasm.c dasm.c: In function ‘ListHeader’: dasm.c:120:30: warning: field width specifier ‘*’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 120 | fprintf (Lst, "<<<< (%s) %s%*d >>>>\n\n", FName, LTitle, | ~^~ | | | int 121 | 65 - (strlen (LTitle) + strlen (FName)), ++LPage); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} dasm.c: In function ‘HandleSymbol’: dasm.c:1070:6: warning: implicit declaration of function ‘CopyMacro’ [-Wimplicit-function-declaration] 1070 | CopyMacro (ST); | ^~~~~~~~~ dasm.c:1146:46: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 3 has type ‘ULONG’ {aka ‘long unsigned int’} [-Wformat=] 1146 | printf ("\t\t\tSetting Symbol '%s' to %04X\n", | ~~~^ | | | unsigned int | %04lX 1147 | ST->Name, ST->Val); | ~~~~~~~ | | | ULONG {aka long unsigned int} dasm.c:1160:63: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 4 has type ‘ULONG’ {aka ‘long unsigned int’} [-Wformat=] 1160 | sprintf (Txt, "Symbol %s changed value between passes (%04X/%04X)", | ~~~^ | | | unsigned int | %04lX 1161 | Sym, ST->Val, Addr); | ~~~~~~~ | | | ULONG {aka long unsigned int} dasm.c:1160:68: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 5 has type ‘ULONG’ {aka ‘long unsigned int’} [-Wformat=] 1160 | sprintf (Txt, "Symbol %s changed value between passes (%04X/%04X)", | ~~~^ | | | unsigned int | %04lX 1161 | Sym, ST->Val, Addr); | ~~~~ | | | ULONG {aka long unsigned int} dasm.c: In function ‘ProcessOpcode’: dasm.c:1400:18: error: format not a string literal and no format arguments [-Werror=format-security] 1400 | fprintf (Lst, Line); | ^~~~ dasm.c: In function ‘main’: dasm.c:1675:4: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 1675 | fgets (Name, 90, FL); | ^~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make: *** [Makefile:22: dasm.o] Error 1 * ERROR: app-emulation/dlx-1.5.20::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-emulation/dlx-1.5.20::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-emulation/dlx-1.5.20::gentoo'`. * The complete build log is located at '/var/log/portage/app-emulation:dlx-1.5.20:20200325-195209.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-emulation/dlx-1.5.20/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/dlx-1.5.20/temp/environment'. * Working directory: '/var/tmp/portage/app-emulation/dlx-1.5.20/work/dlx' * S: '/var/tmp/portage/app-emulation/dlx-1.5.20/work/dlx'