* Package: sys-devel/bin86-0.16.21-r1:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking bin86-0.16.21.tar.gz to /var/tmp/portage/sys-devel/bin86-0.16.21-r1/work >>> Source unpacked in /var/tmp/portage/sys-devel/bin86-0.16.21-r1/work >>> Preparing source in /var/tmp/portage/sys-devel/bin86-0.16.21-r1/work/bin86-0.16.21 ... * Applying bin86-0.16.21-amd64-build.patch ... [ ok ] >>> Source prepared. * Clang 16 testing: this build is using a /etc/portage/bashrc hook! >>> Configuring source in /var/tmp/portage/sys-devel/bin86-0.16.21-r1/work/bin86-0.16.21 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-devel/bin86-0.16.21-r1/work/bin86-0.16.21 ... make -j4 set -e ; for d in ld as; do \ (cd $d && make "LIBS=" "CFLAGS=-pipe -march=native -fno-diagnostics-color -O2 -D_POSIX_SOURCE " "LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" "BINDIR=/usr/bin" "LIBDIR=/usr/lib" "CC=clang" all;); \ done make[1]: Entering directory '/var/tmp/portage/sys-devel/bin86-0.16.21-r1/work/bin86-0.16.21/ld' clang -pipe -march=native -fno-diagnostics-color -O2 -D_POSIX_SOURCE -DREL_OUTPUT -c readobj.c -o readobj.o clang -pipe -march=native -fno-diagnostics-color -O2 -D_POSIX_SOURCE -DREL_OUTPUT -c writebin.c clang -pipe -march=native -fno-diagnostics-color -O2 -D_POSIX_SOURCE -DREL_OUTPUT -c writeemu.c -o writeemu.o clang -pipe -march=native -fno-diagnostics-color -O2 -D_POSIX_SOURCE -DREL_OUTPUT -c dumps.c -o dumps.o writebin.c:1054:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC void FUNCNAME(outfilename, argsepid, argbits32, argstripflag, arguzp) ^ writebin.c:1051:18: note: expanded from macro 'FUNCNAME' #define FUNCNAME writebin ^ In file included from writeemu.c:20: ./writebin.c:124:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC void FUNCNAME(outfilename, argsepid, argbits32, argstripflag, arguzp) ^ writeemu.c:18:19: note: expanded from macro 'FUNCNAME' #define FUNCNAME write_dosemu ^ readobj.c:52:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC void readsyms(filename, trace) ^ readobj.c:105:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PRIVATE long readarheader(parchentry) ^ readobj.c:105:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readobj.c:144:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PRIVATE void readmodule(filename, archentry) ^ In file included from writeemu.c:20: ./writebin.c:560:26: warning: cast to smaller integer type 'int' from 'long *' [-Wpointer-to-int-cast] seekout((unsigned long) offsetof(struct exec, a_syms)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./writebin.c:69:31: note: expanded from macro 'offsetof' #define offsetof(struc, mem) ((int) &((struc *) 0)->mem) ^~~~~~~~~~~~~~~~~~~~~~~~~ readobj.c:144:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./writebin.c:565:26: warning: cast to smaller integer type 'int' from 'long *' [-Wpointer-to-int-cast]readobj.c :227:13: warning: a function definition without a prototype is deprecated in all versions of C and is not if( FILEHEADERLENGTH >= offsetof(struct exec, a_trsize)+8) supported ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~in C2x ./writebin.c[-Wdeprecated-non-prototype]: 69:31PUBLIC void entrysym(symptr): ^note: expanded from macro 'offsetof' #define offsetof(struc, mem) ((int) &((struc *) 0)->mem) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./writebin.c:567:27: warning: cast to smaller integer type 'int' from 'long *' [-Wpointer-to-int-cast] seekout((unsigned long) offsetof(struct exec, a_trsize)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./writebin.c:69:31: note: expanded from macro 'offsetof' #define offsetof(struc, mem) ((int) &((struc *) 0)->mem) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./writebin.c:571:27: warning: cast to smaller integer type 'int' from 'long *' [-Wpointer-to-int-cast] seekout((unsigned long) offsetof(struct exec, a_drsize)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./writebin.c:69:31: note: expanded from macro 'offsetof' #define offsetof(struc, mem) ((int) &((struc *) 0)->mem) ^~~~~~~~~~~~~~~~~~~~~~~~~ readobj.c:290:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PRIVATE bool_pt redsym(symptr, value) ^ readobj.c:290:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readobj.c:332:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PRIVATE unsigned checksum(string, length) ^ readobj.c:332:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readobj.c:343:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC bin_off_t readconvsize(countindex) ^ readobj.c:349:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC bin_off_t readsize(count) ^ readobj.c:360:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PRIVATE unsigned segbits(seg, sizedesc) ^ readobj.c:360:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readobj.c:368:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC unsigned segsizecount(seg, modptr) ^ ./writebin.c:647:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PRIVATE void linkmod(modptr) ^ 1 warning generated. ./writebin.c:647:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./writebin.c:823:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PRIVATE void padmod(modptr) ^ ./writebin.c:823:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./writebin.c:852:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PRIVATE void setsym(name, value) ^ ./writebin.c:852:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./writebin.c:865:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PRIVATE void symres(name) ^ ./writebin.c:865:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./writebin.c:885:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PRIVATE void setseg(newseg) ^ ./writebin.c:885:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./writebin.c:897:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PRIVATE void skip(countsize) ^ ./writebin.c:897:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./writebin.c:1038:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PRIVATE void writenulls(count) ^ ./writebin.c:1038:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clang -pipe -march=native -fno-diagnostics-color -O2 -D_POSIX_SOURCE -DREL_OUTPUT -c linksyms.c -o linksyms.o clang -pipe -march=native -fno-diagnostics-color -O2 -D_POSIX_SOURCE -DREL_OUTPUT -c mkar.c -o mkar.o linksyms.c:18:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC void linksyms(argreloc_output) ^ linksyms.c:73:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PRIVATE void linkrefs(modptr) ^ linksyms.c:73:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 15 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -D_POSIX_SOURCE -DREL_OUTPUT -c ld.c -o ld.o 3 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -D_POSIX_SOURCE -DREL_OUTPUT -c writex86.c -o writex86.o ld.c:42:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PRIVATE char *buildname(pre, mid, suf) ^ ld.c:42:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ld.c:56:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PRIVATE char *expandlib(fn) ^ ld.c:56:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ld.c:76:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC int main(argc, argv) ^ writex86.c:105:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC void write_elks(outfilename, argsepid, argbits32, argstripflag, a... ^ ld.c:76:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clang -pipe -march=native -fno-diagnostics-color -O2 -D_POSIX_SOURCE -DREL_OUTPUT -c table.c -o table.o writex86.c:448:26: warning: cast to smaller integer type 'int' from 'Long *' (aka 'int *') [-Wpointer-to-int-cast] seekout((unsigned long) offsetof(struct exec, a_syms)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ writex86.c:59:31: note: expanded from macro 'offsetof' #define offsetof(struc, mem) ((int) &((struc *) 0)->mem) ^~~~~~~~~~~~~~~~~~~~~~~~~ writex86.c:457:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PRIVATE void linkmod(modptr) ^ writex86.c:457:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] writex86.c:558:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PRIVATE void padmod(modptr) ^ writex86.c:558:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] writex86.c:587:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PRIVATE void setsym(name, value) ^ writex86.c:587:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] writex86.c:597:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PRIVATE void symres(name) ^ writex86.c:597:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] writex86.c:614:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PRIVATE void setseg(newseg) ^ writex86.c:614:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] writex86.c:626:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PRIVATE void skip(countsize) ^ writex86.c:626:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] writex86.c:724:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PRIVATE void writenulls(count) ^ writex86.c:724:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] table.c:48:26: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC struct symstruct *addsym(name) ^ table.c:79:26: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC struct symstruct *findsym(name) ^ table.c:93:28: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PRIVATE struct symstruct **gethashptr(name) ^ table.c:93:28: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] table.c:134:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC char *moveup(nbytes) ^ table.c:153:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC char *ourmalloc(nbytes) ^ table.c:167:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC void ourfree(cptr) ^ table.c:200:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC void release(cptr) ^ table.c:226:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC char *stralloc(s) ^ 6 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -D_POSIX_SOURCE -DREL_OUTPUT -c typeconv.c -o typeconv.o 19 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -D_POSIX_SOURCE -DREL_OUTPUT -c io.c -o io.o typeconv.c:14:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void xxerr(x) char * x; { write(2, x, strlen(x)); } ^ typeconv.c:21:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC bool_pt typeconv_init(big_endian, long_big_endian) ^ typeconv.c:46:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC void u2c2(buf, offset) ^ typeconv.c:61:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC void u4c4(buf, offset) ^ typeconv.c:80:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC void u4cn(buf, offset, count) ^ typeconv.c:102:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC void u2cn(buf, offset, count) ^ typeconv.c:124:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC u2_pt c2u2(buf) ^ typeconv.c:137:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC u4_t c4u4(buf) ^ typeconv.c:153:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC u4_t cnu4(buf, count) ^ io.c:63:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC void ioinit(progname) ^ typeconv.c:173:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC u2_pt cnu2(buf, count) ^ io.c:120:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC void errtrace(name, level) ^ io.c:177:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC void openin(filename) ^ io.c:196:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC void openout(filename) ^ io.c:231:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PRIVATE void outhexdigs(num) ^ io.c:231:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] io.c:242:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PRIVATE void put04x(num) ^ io.c:242:14: warning: a function definition without a prototype is deprecated in all versions9 warningofs generatedC. and is not supported in C2x [-Wdeprecated-non-prototype] io.c:253:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC void put08lx(num) ^ io.c:271:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC void putbstr(width, str) ^ io.c:282:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC void putbyte(ch) ^ io.c:297:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC void putstr(message) ^ io.c:304:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PRIVATE void putstrn(message) ^ io.c:304:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] io.c:336:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC void readin(buf, count) ^ io.c:350:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC bool_pt readineofok(buf, count) ^ io.c:365:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC void seekin(offset) ^ io.c:373:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC void seekout(offset) ^ io.c:382:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC void seektrel(offset) ^ clang -pipe -march=native -fno-diagnostics-color -O2 -D_POSIX_SOURCE -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 objchop.c -o objchop io.c:391:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC void writechar(ch) ^ io.c:407:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC void writedrel(buf, count) ^ io.c:424:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC void writeout(buf, count) ^ io.c:445:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC void writetrel(buf, count) ^ io.c:468:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PRIVATE void errexit(message) ^ io.c:468:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] io.c:475:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC void fatalerror(message) ^ io.c:482:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC void inputerror(message) ^ io.c:491:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC void input1error(message) ^ io.c:499:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PRIVATE void outputerror(message) ^ io.c:499:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] io.c:518:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC void redefined(name, message, archentry, deffilename, defarchentry) ^ io.c:550:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC void interseg(fname, aname, name) ^ io.c:577:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC void reserved(name) ^ io.c:586:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC void size_error(seg, count, size) ^ io.c:601:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC void undefined(name) ^ io.c:637:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUBLIC void use_error(message) ^ 10 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -D_POSIX_SOURCE -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 objdump86.c -o objdump86 objchop.c:22:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] main(argc, argv) ^ int objchop.c:27:20: error: call to undeclared function 'fatal'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if( argc != 5 ) fatal("Usage: objchop a.out text.bin data.bin sizes.asm"); ^ objchop.c:41:4: error: call to undeclared function 'write_file'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] write_file(argv[2], header.a_text); ^ objchop.c:52:12: warning: format specifies type 'long' but the argument has type 'Long' (aka 'int') [-Wformat] header.a_text, header.a_data, header.a_bss, header.a_total); ^~~~~~~~~~~~~ objchop.c:52:27: warning: format specifies type 'long' but the argument has type 'Long' (aka 'int') [-Wformat] header.a_text, header.a_data, header.a_bss, header.a_total); ^~~~~~~~~~~~~ objchop.c:52:42: warning: format specifies type 'long' but the argument has type 'Long' (aka 'int') [-Wformat] header.a_text, header.a_data, header.a_bss, header.a_total); ^~~~~~~~~~~~ 16 warnings generated. objchop.c:52:56: warning: format specifies type 'long' but the argument has type 'Long' (aka 'int') [-Wformat] header.a_text, header.a_data, header.a_bss, header.a_total); ^~~~~~~~~~~~~~ objchop.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ objchop.c:59:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] write_file(fname, bsize) ^ int objchop.c:68:19: error: call to undeclared function 'fatal'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if( ofd == 0 ) fatal("Cannot open output file"); ^ objchop.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] write_file(fname, bsize) ^ objchop.c:82:1: warning: non-void function does not return a value [-Wreturn-type] } ^ objchop.c:84:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] fatal(str) ^ int objchop.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 8 warnings and 6 errors generated. clang -pipe -march=native -fno-diagnostics-color -O2 -D_POSIX_SOURCE -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 catimage.c -o catimage make[1]: *** [: objchop] Error 1 shuffle=2446176448 make[1]: *** Waiting for unfinished jobs.... objdump86.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ objdump86.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] objdump86.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_file(fname) ^ objdump86.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] read_arheader(archentry) ^ objdump86.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_module(fname, archive) ^ objdump86.c:307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error(str) ^ objdump86.c:597:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_sized(sz) ^ objdump86.c:654:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hex_output(ch) ^ catimage.c:42:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] main(argc, argv) ^ int catimage.c:50:7: error: call to undeclared function 'fatal'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] fatal("Usage: catimage mem.bin boot.out [a1.out] ... [a9.out]"); ^ catimage.c:52:4: error: call to undeclared function 'open_obj'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] open_obj(argv[2]); ^ catimage.c:57:4: error: call to undeclared function 'read_symtable'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] read_symtable(); ^ catimage.c:67:8: warning: format specifies type 'unsigned long' but the argument has type 'Long' (aka 'int') [-Wformat] (header.a_text>>4), (header.a_total>>4)); ^~~~~~~~~~~~~~~~~~ catimage.c:67:28: warning: format specifies type 'unsigned long' but the argument has type 'Long' (aka 'int') [-Wformat] (header.a_text>>4), (header.a_total>>4)); ^~~~~~~~~~~~~~~~~~~ catimage.c:72:10: error: call to undeclared function 'copy_segment'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] copy_segment(image_offset, A_TEXTPOS(header), header.a_text); ^ catimage.c:80:10: error: call to undeclared function 'copy_segment'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] copy_segment(image_offset, A_TEXTPOS(header), ^ catimage.c:84:7: error: call to undeclared function 'patch_bin'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] patch_bin(text_offt[image_id], (unsigned)(text_off>>4)); ^ catimage.c:42:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ catimage.c:103:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] open_obj(fname) ^ int catimage.c:111:19: error: call to undeclared function 'fatal'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if( ifd == 0 ) fatal("Cannot open input file"); ^ catimage.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] open_obj(fname) ^ catimage.c:118:1: warning: non-void function does not return a value [-Wreturn-type] } ^ catimage.c:120:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] copy_segment(out_offset, in_offset, length) ^ int catimage.c:128:7: error: call to undeclared function 'fatal'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] fatal("Cannot seek to start of input segment"); ^ catimage.c:120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copy_segment(out_offset, in_offset, length) ^ catimage.c:144:1: warning: non-void function does not return a value [-Wreturn-type] } ^ catimage.c:146:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] patch_bin(file_off, value) ^ int catimage.c:159:3: error: call to undeclared function 'fatal'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] fatal("Cannot seek to patch binary"); ^ catimage.c:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] patch_bin(file_off, value) ^ catimage.c:164:1: warning: non-void function does not return a value [-Wreturn-type] } ^ catimage.c:166:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] read_symtable() ^ int catimage.c:173:7: error: call to undeclared function 'fatal'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] fatal("Input file has been stripped!"); ^ catimage.c:186:11: error: call to undeclared library function 'memcmp' with type 'int (const void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if( memcmp(item.n_name, "__seg", 5) != 0 || item.n_name[6] != '_' ) ^ catimage.c:186:11: note: include the header or explicitly provide a declaration for 'memcmp' catimage.c:235:1: warning: non-void function does not return a value [-Wreturn-type] } ^ catimage.c:237:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] fatal(str) ^ int catimage.c:237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 11 warnings and 17 errors generated. make[1]: *** [: catimage] Error 1 shuffle=2446176448 36 warnings generated. 8 warnings generated. make[1]: Leaving directory '/var/tmp/portage/sys-devel/bin86-0.16.21-r1/work/bin86-0.16.21/ld' make: *** [Makefile:28: all] Error 2 shuffle=2446176448 * ERROR: sys-devel/bin86-0.16.21-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-devel/bin86-0.16.21-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-devel/bin86-0.16.21-r1::gentoo'`. * The complete build log is located at '/var/log/portage/sys-devel:bin86-0.16.21-r1:20221110-191500.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-devel/bin86-0.16.21-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-devel/bin86-0.16.21-r1/temp/environment'. * Working directory: '/var/tmp/portage/sys-devel/bin86-0.16.21-r1/work/bin86-0.16.21' * S: '/var/tmp/portage/sys-devel/bin86-0.16.21-r1/work/bin86-0.16.21'