Running phase: unpackPhase unpacking source archive /nix/store/fyvazd3kkfbkpsi6z1df62l1lf7vjing-source source root is source Running phase: patchPhase applying patch /nix/store/d4a169b7pjn3cb87695hl8g7h3sy7irf-a79406344cc21d594d27fa5ec5922abe9f7475e7.patch patching file librevm/include/revm.h Hunk #1 succeeded at 420 (offset 1 line). applying patch /nix/store/l327cjxlw4v44bqwmjcmhn2sdcbid3ji-bc5b9a75c326f277e5f89e01a3b8f7f0519a99f6.patch patching file libedfmt/dwarf2-trans.c patching file libedfmt/stabs-trans.c Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase patching script interpreter paths in ./configure ./configure: interpreter directive changed from "#!/bin/sh" to "/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/sh" configure flags: --prefix /nix/store/0rsf84q99gs8h0qrrqajw52w6i1zxlyq-eresi-0.83-a3-phoenix --enable-32-64 --enable-readline [*] Enabling ELF64/ELF32 support [*] Enabling readline support [*] Libasm IA32 engine [*] Libasm SPARC engine [*] Libasm MIPS engine [*] Libasm ARM engine [*] Libasm Packed handlers which: no gmake in (/nix/store/gz7xfvy4l9c54bxahaf2kn9rhwdpqx4z-which-2.23/bin:/nix/store/zsc85w8i8fd0sfqr7jiglmw106sxjx6b-patchelf-0.15.0/bin:/nix/store/ii75mhh7sxl11167m1b86p0qrjsjyjmd-gcc-wrapper-14-20241116/bin:/nix/store/dih8vf5naf93c0wcfxqa9pll3k7iv9bm-gcc-14-20241116/bin:/nix/store/4q7kqnnr018yr54dsqdc5gvfqkwm6xa5-glibc-2.40-66-bin/bin:/nix/store/fr9yr63a1267cr0r86w18c77mh3xavcc-coreutils-9.6/bin:/nix/store/fjk8dwvzclmrwavmbmdj4p04v4dhw6bn-binutils-wrapper-2.43.1/bin:/nix/store/9g4gsby96w4cx1i338kplaap0x37apdf-binutils-2.43.1/bin:/nix/store/hk3rdjmnag5sk9mnri3k0xyj425sx6qv-openssl-3.4.1-bin/bin:/nix/store/1dj03pw64qnwzf6rj2zxw0xhycl6f3l5-ncurses-6.5-dev/bin:/nix/store/x8nrg8zjns1zc5nvw0sf576ak50b5gzp-ncurses-6.5/bin:/nix/store/l7ah0gkkfrq31iy8aliqrby81js4rh81-readline-8.2p13/bin:/nix/store/fr9yr63a1267cr0r86w18c77mh3xavcc-coreutils-9.6/bin:/nix/store/lk2sg2yq5jqs9dlx5ini46kvjwk7ffsf-findutils-4.10.0/bin:/nix/store/lvj768zc0vqkzal5frxhc1yk6kp851bk-diffutils-3.10/bin:/nix/store/fcny04vmfnkqc4ym5m9znckswlq9pglg-gnused-4.9/bin:/nix/store/yz6nq9v29l3g990w8zlqsnzlzbicd3b3-gnugrep-3.11/bin:/nix/store/87igisss92h96n689797k2rzlikzdpqm-gawk-5.3.1/bin:/nix/store/ya52zl80q1dk64kfbv8512g19bib5svf-gnutar-1.35/bin:/nix/store/lyy4lg0f566qwmjzf2fgl4zfiz3yp046-gzip-1.13/bin:/nix/store/8n4p2v4kqy97qjfwg4hdrcjl9qjailqy-bzip2-1.0.8-bin/bin:/nix/store/62ks0dh3k59im6jqmxcxyd19w9rfjcry-gnumake-4.4.1/bin:/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin:/nix/store/rz7sygmhwy9msd1803m2w0qvrvxnflwd-patch-2.7.6/bin:/nix/store/41y9rj41ni0j5x3diw5cv8f9nya2rj67-xz-5.6.4-bin/bin:/nix/store/h0z0z043akpaf5nmxq3lf84laah832rw-file-5.46/bin) [*] Enabling dynamic linking. [*] Prefix: /nix/store/0rsf84q99gs8h0qrrqajw52w6i1zxlyq-eresi-0.83-a3-phoenix [*] Enabling libasm support Now make && make install Running phase: buildPhase build flags: -j2 SHELL=/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash Building liballocproxy .. Building ERESI modules... make[1]: Entering directory '/build/source/liballocproxy' gcc -D__STD_C -DMALLOC_DEBUG -DUSE_ARENAS -DSHARED -DUSE_TLS -fPIC -g3 -Iinclude -I../libelfsh/include/ -c -o aproxy_malloc.o aproxy_malloc.c aproxy_malloc.c:2359:1: warning: 'leaf' attribute has no effect on unit local functions [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wattributes-Wattributes8;;] 2359 | static Void_t* malloc_hook_ini __MALLOC_P ((size_t sz, | ^~~~~~ aproxy_malloc.c:2361:1: warning: 'leaf' attribute has no effect on unit local functions [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wattributes-Wattributes8;;] 2361 | static Void_t* realloc_hook_ini __MALLOC_P ((Void_t* ptr, size_t sz, | ^~~~~~ aproxy_malloc.c:2363:1: warning: 'leaf' attribute has no effect on unit local functions [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wattributes-Wattributes8;;] 2363 | static Void_t* memalign_hook_ini __MALLOC_P ((size_t alignment, size_t sz, | ^~~~~~ aproxy_malloc.c: In function 'aproxy_int_realloc': aproxy_malloc.c:4599:47: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Wformat=8;;] 4599 | fprintf(stderr, "MALLOC_ALIGN_MASK = %08X (%u) -> align = %u\n", | ~~~^ | | | unsigned int | %08lX aproxy_malloc.c:4599:51: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Wformat=8;;] 4599 | fprintf(stderr, "MALLOC_ALIGN_MASK = %08X (%u) -> align = %u\n", | ~^ | | | unsigned int | %lu aproxy_malloc.c:4599:66: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Wformat=8;;] 4599 | fprintf(stderr, "MALLOC_ALIGN_MASK = %08X (%u) -> align = %u\n", | ~^ | | | unsigned int | %lu aproxy_malloc.c:4613:51: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Wformat=8;;] 4613 | "FAILURE WITH: oldsize = %u, av->system_mem = %u \n", | ~^ | | | unsigned int | %lu 4614 | oldsize, av->system_mem); | ~~~~~~~ | | | size_t {aka long unsigned int} aproxy_malloc.c:4613:72: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Wformat=8;;] 4613 | "FAILURE WITH: oldsize = %u, av->system_mem = %u \n", | ~^ | | | unsigned int | %lu 4614 | oldsize, av->system_mem); | ~~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} aproxy_malloc.c:4632:54: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Wformat=8;;] 4632 | "FAILURE2 WITH: oldsize = %u, av->system_mem = %u \n", | ~^ | | | unsigned int | %lu 4633 | oldsize, av->system_mem); | ~~~~~~~ | | | size_t {aka long unsigned int} aproxy_malloc.c:4632:75: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Wformat=8;;] 4632 | "FAILURE2 WITH: oldsize = %u, av->system_mem = %u \n", | ~^ | | | unsigned int | %lu 4633 | oldsize, av->system_mem); | ~~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} aproxy_malloc.c: In function 'malloc_printerr': aproxy_malloc.c:5565:51: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'void *' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Wformat=8;;] 5565 | fprintf (stderr, "*** glibc detected *** %s: 0x%x ***\n", | ~^ | | | unsigned int | %p 5566 | str, ptr); | ~~~ | | | void * aproxy_malloc.c: In function 'aproxy_int_realloc': aproxy_malloc.c:4615:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result8;;] 4615 | write(1, intbuf, intlen); | ^~~~~~~~~~~~~~~~~~~~~~~~ aproxy_malloc.c:4634:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result8;;] 4634 | write(1, intbuf, intlen); | ^~~~~~~~~~~~~~~~~~~~~~~~ modtest.c: In function 'elfsh_init': modtest.c:39:54: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 39 | revm_command_set(CMD_PRINT, mod_print, ERESI_ORIG, (u_int) ERESI_ORIG); | ^ modtest.c: In function 'elfsh_fini': modtest.c:46:54: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 46 | revm_command_set(CMD_PRINT, cmd_print, ERESI_ORIG, (u_int) ERESI_ORIG); | ^ ERESI modules built successfully. Doing tags ... gcc -D__STD_C -DMALLOC_DEBUG -DUSE_ARENAS -DSHARED -DUSE_TLS -fPIC -g3 -Iinclude -I../libelfsh/include/ -c -o aproxy_strdup.o aproxy_strdup.c ar rc liballocproxy.a aproxy_malloc.o aproxy_strdup.o ranlib liballocproxy.a ld -r aproxy_malloc.o aproxy_strdup.o -o liballocproxy.o make[1]: Leaving directory '/build/source/liballocproxy' Liballoc-proxy has been built successfully. Building libaspect.. make[1]: Entering directory '/build/source/libaspect' gcc -Wall -Werror=unused-variable -Iinclude -fPIC -g3 -O2 -DERESI32 -c -o vectors.32.o vectors.c gcc -Wall -Werror=unused-variable -Iinclude -fPIC -g3 -O2 -DERESI32 -c -o libhash.32.o libhash.c vectors.c: In function 'aspect_register_vector': vectors.c:232:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result8;;] 232 | write(1, "Invalid NULL parameters\n", 24); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vectors.c:237:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result8;;] 237 | write(1, "Invalid vector element type\n", 28); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libhash.c: In function 'hash_empty': libhash.c:141:3: warning: '__builtin___strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation8;;] 141 | strncpy(newname, name, strlen(name)); | ^ libhash.c:141:3: note: length computed here 141 | strncpy(newname, name, strlen(name)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -Werror=unused-variable -Iinclude -fPIC -g3 -O2 -DERESI32 -c -o libbtree.32.o libbtree.c libbtree.c: In function 'btree_insert_sort': libbtree.c:77:25: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 77 | btree_insert(proot, (u_int) elem, elem); | ^ libbtree.c: In function 'btree_debug_node': libbtree.c:225:38: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 225 | fprintf(opt->fp, BTREE_DEBUG_NODE, (int) root, (int) root, | ^ libbtree.c:225:50: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 225 | fprintf(opt->fp, BTREE_DEBUG_NODE, (int) root, (int) root, | ^ libbtree.c:226:11: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 226 | (int) root->left, (int) root->right); | ^ libbtree.c:226:29: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 226 | (int) root->left, (int) root->right); | ^ libbtree.c: In function 'btree_debug_link': libbtree.c:237:40: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 237 | fprintf(opt->fp, BTREE_DEBUG_LINK, (int) root, | ^ libbtree.c:238:18: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 238 | "L", (int) root->left, opt->link++); | ^ libbtree.c:240:40: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 240 | fprintf(opt->fp, BTREE_DEBUG_LINK, (int) root, "R", | ^ libbtree.c:241:13: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 241 | (int) root->right, opt->link++); | ^ gcc -Wall -Werror=unused-variable -Iinclude -fPIC -g3 -O2 -DERESI32 -c -o types.32.o types.c gcc -Wall -Werror=unused-variable -Iinclude -fPIC -g3 -O2 -DERESI32 -c -o init.32.o init.c gcc -Wall -Werror=unused-variable -Iinclude -fPIC -g3 -O2 -DERESI32 -c -o config.32.o config.c config.c: In function '__config_update_item': config.c:27:18: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 27 | item->val = (int)data; | ^ config.c: In function 'config_get_data': config.c:105:14: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 105 | return (int *)item->val; | ^ config.c: In function 'config_safemode': config.c:137:10: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 137 | return (int) config_get_data(CONFIG_NAME_SAFEMODE); | ^ gcc -Wall -Werror=unused-variable -Iinclude -fPIC -g3 -O2 -DERESI32 -c -o profiler.32.o profiler.c gcc -Wall -Werror=unused-variable -Iinclude -fPIC -g3 -O2 -DERESI32 -c -o liblist.32.o liblist.c profiler.c: In function 'profiler_print': profiler.c:335:33: warning: '%-50s' directive output may be truncated writing between 50 and 8191 bytes into a region of size 80 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-truncation-Wformat-truncation=8;;] 335 | snprintf(buff, sizeof(buff), "%-50s %s", buf, (msg ? msg : "")); | ^~~~~ ~~~ In file included from /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/stdio.h:970, from include/libaspect.h:18, from profiler.c:8: In function 'snprintf', inlined from 'profiler_print' at profiler.c:335:3: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 52 and 8193 bytes into a destination of size 80 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/string.h:548, from include/libaspect.h:21: In function 'strncpy', inlined from 'profiler_print' at profiler.c:385:5: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/string_fortified.h:100:10: warning: '__builtin___strncpy_chk' accessing 80 bytes at offsets [0, 1600] and [0, 1600] may overlap up to 80 bytes at offset [0, 79] [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-restrict-Wrestrict8;;] 100 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 101 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -Werror=unused-variable -Iinclude -fPIC -g3 -O2 -DERESI32 -c -o containers.32.o containers.c gcc -Wall -Werror=unused-variable -Iinclude -fPIC -g3 -O2 -DERESI64 -c -o vectors.64.o vectors.c vectors.c: In function 'aspect_register_vector': vectors.c:232:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result8;;] 232 | write(1, "Invalid NULL parameters\n", 24); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vectors.c:237:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result8;;] 237 | write(1, "Invalid vector element type\n", 28); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -Werror=unused-variable -Iinclude -fPIC -g3 -O2 -DERESI64 -c -o libhash.64.o libhash.c gcc -Wall -Werror=unused-variable -Iinclude -fPIC -g3 -O2 -DERESI64 -c -o libbtree.64.o libbtree.c libbtree.c: In function 'btree_insert_sort': libbtree.c:77:25: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 77 | btree_insert(proot, (u_int) elem, elem); | ^ libbtree.c: In function 'btree_debug_node': libbtree.c:225:38: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 225 | fprintf(opt->fp, BTREE_DEBUG_NODE, (int) root, (int) root, | ^ libbtree.c:225:50: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 225 | fprintf(opt->fp, BTREE_DEBUG_NODE, (int) root, (int) root, | ^ libbtree.c:226:11: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 226 | (int) root->left, (int) root->right); | ^ libbtree.c:226:29: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 226 | (int) root->left, (int) root->right); | ^ libbtree.c: In function 'btree_debug_link': libbtree.c:237:40: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 237 | fprintf(opt->fp, BTREE_DEBUG_LINK, (int) root, | ^ libbtree.c:238:18: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 238 | "L", (int) root->left, opt->link++); | ^ libbtree.c:240:40: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 240 | fprintf(opt->fp, BTREE_DEBUG_LINK, (int) root, "R", | ^ libbtree.c:241:13: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 241 | (int) root->right, opt->link++); | ^ libhash.c: In function 'hash_empty': libhash.c:141:3: warning: '__builtin___strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation8;;] 141 | strncpy(newname, name, strlen(name)); | ^ libhash.c:141:3: note: length computed here 141 | strncpy(newname, name, strlen(name)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -Werror=unused-variable -Iinclude -fPIC -g3 -O2 -DERESI64 -c -o types.64.o types.c gcc -Wall -Werror=unused-variable -Iinclude -fPIC -g3 -O2 -DERESI64 -c -o init.64.o init.c gcc -Wall -Werror=unused-variable -Iinclude -fPIC -g3 -O2 -DERESI64 -c -o config.64.o config.c config.c: In function '__config_update_item': config.c:27:18: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 27 | item->val = (int)data; | ^ config.c: In function 'config_get_data': config.c:105:14: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 105 | return (int *)item->val; | ^ config.c: In function 'config_safemode': config.c:137:10: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 137 | return (int) config_get_data(CONFIG_NAME_SAFEMODE); | ^ gcc -Wall -Werror=unused-variable -Iinclude -fPIC -g3 -O2 -DERESI64 -c -o profiler.64.o profiler.c profiler.c: In function 'profiler_print': profiler.c:335:33: warning: '%-50s' directive output may be truncated writing between 50 and 8191 bytes into a region of size 80 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-truncation-Wformat-truncation=8;;] 335 | snprintf(buff, sizeof(buff), "%-50s %s", buf, (msg ? msg : "")); | ^~~~~ ~~~ In file included from /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/stdio.h:970, from include/libaspect.h:18, from profiler.c:8: In function 'snprintf', inlined from 'profiler_print' at profiler.c:335:3: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 52 and 8193 bytes into a destination of size 80 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/string.h:548, from include/libaspect.h:21: In function 'strncpy', inlined from 'profiler_print' at profiler.c:385:5: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/string_fortified.h:100:10: warning: '__builtin___strncpy_chk' accessing 80 bytes at offsets [0, 1600] and [0, 1600] may overlap up to 80 bytes at offset [0, 79] [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-restrict-Wrestrict8;;] 100 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 101 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -Werror=unused-variable -Iinclude -fPIC -g3 -O2 -DERESI64 -c -o liblist.64.o liblist.c gcc -Wall -Werror=unused-variable -Iinclude -fPIC -g3 -O2 -DERESI64 -c -o containers.64.o containers.c ld -r vectors.32.o libhash.32.o libbtree.32.o types.32.o init.32.o config.32.o profiler.32.o liblist.32.o containers.32.o -o libaspect32.o ld -r vectors.64.o libhash.64.o libbtree.64.o types.64.o init.64.o config.64.o profiler.64.o liblist.64.o containers.64.o -o libaspect64.o make[1]: Leaving directory '/build/source/libaspect' Libaspect has been built successfully. Building libasm... make[1]: Entering directory '/build/source/libasm' IA32 Packed SPARC Packed MIPS Packed ARM Packed cat src/arch/ia32/handlers/*.c src/arch/ia32/operand_handlers/*.c > src/arch/ia32/packed_handlers.c cat src/arch/sparc/handlers/*.c src/arch/sparc/operand_handlers/*.c > src/arch/sparc/packed_handlers.c cat src/arch/mips/handlers/*.c src/arch/mips/operand_handlers/*.c > src/arch/mips/packed_handlers.c cat src/arch/arm/handlers/*.c src/arch/arm/operand_handlers/*.c > src/arch/arm/packed_handlers.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI32 -c -o src/generic.32.o src/generic.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI32 -c -o src/output.32.o src/output.c src/generic.c: In function 'asm_read_instr': src/generic.c:35:7: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 35 | if ((int) config_get_data(CONFIG_USE_ASMDEBUG)) | ^ src/generic.c: In function 'asm_config_set_endian': src/generic.c:385:44: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 385 | config_update_key(CONFIG_ASM_ENDIAN_FLAG,(void *) mode); | ^ src/generic.c: In function 'asm_config_get_endian': src/generic.c:393:10: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 393 | return (int) config_get_data(CONFIG_ASM_ENDIAN_FLAG); | ^ src/generic.c: In function 'asm_config_get_synthinstr': src/generic.c:401:10: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 401 | return (int) config_get_data(CONFIG_ASM_SYNTHINSTRS); | ^ gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI32 -c -o src/error.32.o src/error.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI32 -c -o src/operand.32.o src/operand.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI32 -c -o src/instruction.32.o src/instruction.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI32 -c -o src/register.32.o src/register.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI32 -c -o src/build.32.o src/build.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI32 -c -o src/vectors.32.o src/vectors.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI32 -c -o src/arch/ia32/init_i386.32.o src/arch/ia32/init_i386.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI32 -c -o src/arch/ia32/register.32.o src/arch/ia32/register.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI32 -c -o src/arch/ia32/tables_i386.32.o src/arch/ia32/tables_i386.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI32 -c -o src/arch/ia32/output_ia32.32.o src/arch/ia32/output_ia32.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI32 -c -o src/arch/ia32/operand_ia32.32.o src/arch/ia32/operand_ia32.c src/arch/ia32/output_ia32.c: In function 'asm_ia32_display_instr_att': src/arch/ia32/output_ia32.c:357:16: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 357 | margin = (int) config_get_data(CONFIG_ASM_ATT_MARGIN_FLAG); | ^ src/arch/ia32/operand_ia32.c: In function 'operand_rmb_ib': src/arch/ia32/operand_ia32.c:22:26: warning: variable 'modrm' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 22 | struct s_modrm *modrm; | ^~~~~ gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI32 -c -o src/arch/ia32/packed_handlers.32.o src/arch/ia32/packed_handlers.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI32 -c -o src/arch/sparc/init_sparc.32.o src/arch/sparc/init_sparc.c src/arch/ia32/packed_handlers.c: In function 'i386_bswap': src/arch/ia32/packed_handlers.c:101:26: warning: variable 'modrm' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 101 | struct s_modrm *modrm; | ^~~~~ src/arch/ia32/packed_handlers.c: In function 'i386_bt_rm_r': src/arch/ia32/packed_handlers.c:140:26: warning: variable 'modrm' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 140 | struct s_modrm *modrm; | ^~~~~ src/arch/ia32/packed_handlers.c: In function 'i386_mov_cr_rm': src/arch/ia32/packed_handlers.c:1656:26: warning: variable 'modrm' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 1656 | struct s_modrm *modrm; | ^~~~~ src/arch/ia32/packed_handlers.c: In function 'i386_mov_dr_rm': src/arch/ia32/packed_handlers.c:1696:26: warning: variable 'modrm' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 1696 | struct s_modrm *modrm; | ^~~~~ src/arch/ia32/packed_handlers.c: In function 'i386_mov_rm_cr': src/arch/ia32/packed_handlers.c:1735:26: warning: variable 'modrm' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 1735 | struct s_modrm *modrm; | ^~~~~ src/arch/ia32/packed_handlers.c: In function 'i386_shld': src/arch/ia32/packed_handlers.c:2591:26: warning: variable 'modrm' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 2591 | struct s_modrm *modrm; | ^~~~~ src/arch/ia32/packed_handlers.c: In function 'i386_xadd': src/arch/ia32/packed_handlers.c:2844:26: warning: variable 'modrm' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 2844 | struct s_modrm *modrm; | ^~~~~ src/arch/ia32/packed_handlers.c: In function 'op_dec_reg': src/arch/ia32/packed_handlers.c:4436:26: warning: variable 'modrm' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 4436 | struct s_modrm *modrm; | ^~~~~ src/arch/ia32/packed_handlers.c: In function 'op_inc_reg': src/arch/ia32/packed_handlers.c:6058:26: warning: variable 'modrm' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 6058 | struct s_modrm *modrm; | ^~~~~ src/arch/ia32/packed_handlers.c: In function 'op_mov_reg_iv': src/arch/ia32/packed_handlers.c:7518:26: warning: variable 'modrm' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 7518 | struct s_modrm *modrm; | ^~~~~ src/arch/ia32/packed_handlers.c: In function 'op_mov_rm_segr': src/arch/ia32/packed_handlers.c:7553:26: warning: variable 'modrm' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 7553 | struct s_modrm *modrm; | ^~~~~ src/arch/ia32/packed_handlers.c: In function 'op_mov_segr_rm': src/arch/ia32/packed_handlers.c:7804:26: warning: variable 'modrm' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 7804 | struct s_modrm *modrm; | ^~~~~ src/arch/ia32/packed_handlers.c: In function 'op_mov_subreg_ib': src/arch/ia32/packed_handlers.c:7850:26: warning: variable 'modrm' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 7850 | struct s_modrm *modrm; | ^~~~~ src/arch/ia32/packed_handlers.c: In function 'op_push_reg': src/arch/ia32/packed_handlers.c:9006:26: warning: variable 'modrm' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 9006 | struct s_modrm *modrm; | ^~~~~ gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI32 -c -o src/arch/sparc/register.32.o src/arch/sparc/register.c src/arch/sparc/register.c: In function 'asm_register_sparc': src/arch/sparc/register.c:25:9: warning: variable 'to_ret' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 25 | int to_ret; | ^~~~~~ gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI32 -c -o src/arch/sparc/tables_sparc.32.o src/arch/sparc/tables_sparc.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI32 -c -o src/arch/sparc/output_sparc.32.o src/arch/sparc/output_sparc.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI32 -c -o src/arch/sparc/sparc_convert.32.o src/arch/sparc/sparc_convert.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI32 -c -o src/arch/sparc/packed_handlers.32.o src/arch/sparc/packed_handlers.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI32 -c -o src/arch/mips/init_mips.32.o src/arch/mips/init_mips.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI32 -c -o src/arch/mips/output_mips.32.o src/arch/mips/output_mips.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI32 -c -o src/arch/mips/tables_mips.32.o src/arch/mips/tables_mips.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI32 -c -o src/arch/mips/mips_convert.32.o src/arch/mips/mips_convert.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI32 -c -o src/arch/mips/register_mips.32.o src/arch/mips/register_mips.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI32 -c -o src/arch/mips/packed_handlers.32.o src/arch/mips/packed_handlers.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI32 -c -o src/arch/arm/init_arm.32.o src/arch/arm/init_arm.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI32 -c -o src/arch/arm/register_arm.32.o src/arch/arm/register_arm.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI32 -c -o src/arch/arm/tables_arm.32.o src/arch/arm/tables_arm.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI32 -c -o src/arch/arm/output_arm.32.o src/arch/arm/output_arm.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI32 -c -o src/arch/arm/decode_arm.32.o src/arch/arm/decode_arm.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI32 -c -o src/arch/arm/arm_convert.32.o src/arch/arm/arm_convert.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI32 -c -o src/arch/arm/packed_handlers.32.o src/arch/arm/packed_handlers.c src/arch/arm/packed_handlers.c: In function 'asm_arm_pld': src/arch/arm/packed_handlers.c:1714:26: warning: variable 'inter' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 1714 | struct s_asm_proc_arm *inter; | ^~~~~ gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI64 -c -o src/generic.64.o src/generic.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI64 -c -o src/output.64.o src/output.c src/generic.c: In function 'asm_read_instr': src/generic.c:35:7: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 35 | if ((int) config_get_data(CONFIG_USE_ASMDEBUG)) | ^ src/generic.c: In function 'asm_config_set_endian': src/generic.c:385:44: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 385 | config_update_key(CONFIG_ASM_ENDIAN_FLAG,(void *) mode); | ^ src/generic.c: In function 'asm_config_get_endian': src/generic.c:393:10: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 393 | return (int) config_get_data(CONFIG_ASM_ENDIAN_FLAG); | ^ src/generic.c: In function 'asm_config_get_synthinstr': src/generic.c:401:10: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 401 | return (int) config_get_data(CONFIG_ASM_SYNTHINSTRS); | ^ gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI64 -c -o src/error.64.o src/error.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI64 -c -o src/operand.64.o src/operand.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI64 -c -o src/instruction.64.o src/instruction.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI64 -c -o src/register.64.o src/register.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI64 -c -o src/build.64.o src/build.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI64 -c -o src/vectors.64.o src/vectors.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI64 -c -o src/arch/ia32/init_i386.64.o src/arch/ia32/init_i386.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI64 -c -o src/arch/ia32/register.64.o src/arch/ia32/register.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI64 -c -o src/arch/ia32/tables_i386.64.o src/arch/ia32/tables_i386.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI64 -c -o src/arch/ia32/output_ia32.64.o src/arch/ia32/output_ia32.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI64 -c -o src/arch/ia32/operand_ia32.64.o src/arch/ia32/operand_ia32.c src/arch/ia32/output_ia32.c: In function 'asm_ia32_display_instr_att': src/arch/ia32/output_ia32.c:357:16: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 357 | margin = (int) config_get_data(CONFIG_ASM_ATT_MARGIN_FLAG); | ^ src/arch/ia32/operand_ia32.c: In function 'operand_rmb_ib': src/arch/ia32/operand_ia32.c:22:26: warning: variable 'modrm' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 22 | struct s_modrm *modrm; | ^~~~~ gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI64 -c -o src/arch/ia32/packed_handlers.64.o src/arch/ia32/packed_handlers.c src/arch/ia32/packed_handlers.c: In function 'i386_bswap': src/arch/ia32/packed_handlers.c:101:26: warning: variable 'modrm' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 101 | struct s_modrm *modrm; | ^~~~~ src/arch/ia32/packed_handlers.c: In function 'i386_bt_rm_r': src/arch/ia32/packed_handlers.c:140:26: warning: variable 'modrm' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 140 | struct s_modrm *modrm; | ^~~~~ src/arch/ia32/packed_handlers.c: In function 'i386_mov_cr_rm': src/arch/ia32/packed_handlers.c:1656:26: warning: variable 'modrm' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 1656 | struct s_modrm *modrm; | ^~~~~ src/arch/ia32/packed_handlers.c: In function 'i386_mov_dr_rm': src/arch/ia32/packed_handlers.c:1696:26: warning: variable 'modrm' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 1696 | struct s_modrm *modrm; | ^~~~~ src/arch/ia32/packed_handlers.c: In function 'i386_mov_rm_cr': src/arch/ia32/packed_handlers.c:1735:26: warning: variable 'modrm' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 1735 | struct s_modrm *modrm; | ^~~~~ src/arch/ia32/packed_handlers.c: In function 'i386_shld': src/arch/ia32/packed_handlers.c:2591:26: warning: variable 'modrm' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 2591 | struct s_modrm *modrm; | ^~~~~ src/arch/ia32/packed_handlers.c: In function 'i386_xadd': src/arch/ia32/packed_handlers.c:2844:26: warning: variable 'modrm' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 2844 | struct s_modrm *modrm; | ^~~~~ src/arch/ia32/packed_handlers.c: In function 'op_dec_reg': src/arch/ia32/packed_handlers.c:4436:26: warning: variable 'modrm' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 4436 | struct s_modrm *modrm; | ^~~~~ src/arch/ia32/packed_handlers.c: In function 'op_inc_reg': src/arch/ia32/packed_handlers.c:6058:26: warning: variable 'modrm' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 6058 | struct s_modrm *modrm; | ^~~~~ src/arch/ia32/packed_handlers.c: In function 'op_mov_reg_iv': src/arch/ia32/packed_handlers.c:7518:26: warning: variable 'modrm' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 7518 | struct s_modrm *modrm; | ^~~~~ src/arch/ia32/packed_handlers.c: In function 'op_mov_rm_segr': src/arch/ia32/packed_handlers.c:7553:26: warning: variable 'modrm' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 7553 | struct s_modrm *modrm; | ^~~~~ src/arch/ia32/packed_handlers.c: In function 'op_mov_segr_rm': src/arch/ia32/packed_handlers.c:7804:26: warning: variable 'modrm' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 7804 | struct s_modrm *modrm; | ^~~~~ src/arch/ia32/packed_handlers.c: In function 'op_mov_subreg_ib': src/arch/ia32/packed_handlers.c:7850:26: warning: variable 'modrm' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 7850 | struct s_modrm *modrm; | ^~~~~ src/arch/ia32/packed_handlers.c: In function 'op_push_reg': src/arch/ia32/packed_handlers.c:9006:26: warning: variable 'modrm' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 9006 | struct s_modrm *modrm; | ^~~~~ gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI64 -c -o src/arch/sparc/init_sparc.64.o src/arch/sparc/init_sparc.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI64 -c -o src/arch/sparc/register.64.o src/arch/sparc/register.c src/arch/sparc/register.c: In function 'asm_register_sparc': src/arch/sparc/register.c:25:9: warning: variable 'to_ret' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 25 | int to_ret; | ^~~~~~ gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI64 -c -o src/arch/sparc/tables_sparc.64.o src/arch/sparc/tables_sparc.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI64 -c -o src/arch/sparc/output_sparc.64.o src/arch/sparc/output_sparc.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI64 -c -o src/arch/sparc/sparc_convert.64.o src/arch/sparc/sparc_convert.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI64 -c -o src/arch/sparc/packed_handlers.64.o src/arch/sparc/packed_handlers.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI64 -c -o src/arch/mips/init_mips.64.o src/arch/mips/init_mips.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI64 -c -o src/arch/mips/output_mips.64.o src/arch/mips/output_mips.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI64 -c -o src/arch/mips/tables_mips.64.o src/arch/mips/tables_mips.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI64 -c -o src/arch/mips/mips_convert.64.o src/arch/mips/mips_convert.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI64 -c -o src/arch/mips/register_mips.64.o src/arch/mips/register_mips.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI64 -c -o src/arch/mips/packed_handlers.64.o src/arch/mips/packed_handlers.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI64 -c -o src/arch/arm/init_arm.64.o src/arch/arm/init_arm.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI64 -c -o src/arch/arm/register_arm.64.o src/arch/arm/register_arm.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI64 -c -o src/arch/arm/tables_arm.64.o src/arch/arm/tables_arm.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI64 -c -o src/arch/arm/output_arm.64.o src/arch/arm/output_arm.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI64 -c -o src/arch/arm/decode_arm.64.o src/arch/arm/decode_arm.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI64 -c -o src/arch/arm/arm_convert.64.o src/arch/arm/arm_convert.c gcc -DLIBASM_ENABLE_IA32 -DLIBASM_ENABLE_SPARC -DLIBASM_ENABLE_MIPS -DLIBASM_ENABLE_ARM -Iinclude -Isrc/include -Wall -g3 -fPIC -I../libaspect/include -DERESI64 -c -o src/arch/arm/packed_handlers.64.o src/arch/arm/packed_handlers.c src/arch/arm/packed_handlers.c: In function 'asm_arm_pld': src/arch/arm/packed_handlers.c:1714:26: warning: variable 'inter' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 1714 | struct s_asm_proc_arm *inter; | ^~~~~ ar rc libasm32.a src/generic.32.o src/output.32.o src/error.32.o src/operand.32.o src/instruction.32.o src/register.32.o src/build.32.o src/vectors.32.o src/arch/ia32/init_i386.32.o src/arch/ia32/register.32.o src/arch/ia32/tables_i386.32.o src/arch/ia32/output_ia32.32.o src/arch/ia32/operand_ia32.32.o src/arch/ia32/packed_handlers.32.o src/arch/sparc/init_sparc.32.o src/arch/sparc/register.32.o src/arch/sparc/tables_sparc.32.o src/arch/sparc/output_sparc.32.o src/arch/sparc/sparc_convert.32.o src/arch/sparc/packed_handlers.32.o src/arch/mips/init_mips.32.o src/arch/mips/output_mips.32.o src/arch/mips/tables_mips.32.o src/arch/mips/mips_convert.32.o src/arch/mips/register_mips.32.o src/arch/mips/packed_handlers.32.o src/arch/arm/init_arm.32.o src/arch/arm/register_arm.32.o src/arch/arm/tables_arm.32.o src/arch/arm/output_arm.32.o src/arch/arm/decode_arm.32.o src/arch/arm/arm_convert.32.o src/arch/arm/packed_handlers.32.o ranlib libasm32.a ld -r src/generic.32.o src/output.32.o src/error.32.o src/operand.32.o src/instruction.32.o src/register.32.o src/build.32.o src/vectors.32.o src/arch/ia32/init_i386.32.o src/arch/ia32/register.32.o src/arch/ia32/tables_i386.32.o src/arch/ia32/output_ia32.32.o src/arch/ia32/operand_ia32.32.o src/arch/ia32/packed_handlers.32.o src/arch/sparc/init_sparc.32.o src/arch/sparc/register.32.o src/arch/sparc/tables_sparc.32.o src/arch/sparc/output_sparc.32.o src/arch/sparc/sparc_convert.32.o src/arch/sparc/packed_handlers.32.o src/arch/mips/init_mips.32.o src/arch/mips/output_mips.32.o src/arch/mips/tables_mips.32.o src/arch/mips/mips_convert.32.o src/arch/mips/register_mips.32.o src/arch/mips/packed_handlers.32.o src/arch/arm/init_arm.32.o src/arch/arm/register_arm.32.o src/arch/arm/tables_arm.32.o src/arch/arm/output_arm.32.o src/arch/arm/decode_arm.32.o src/arch/arm/arm_convert.32.o src/arch/arm/packed_handlers.32.o -o libasm32.o gcc src/generic.32.o src/output.32.o src/error.32.o src/operand.32.o src/instruction.32.o src/register.32.o src/build.32.o src/vectors.32.o src/arch/ia32/init_i386.32.o src/arch/ia32/register.32.o src/arch/ia32/tables_i386.32.o src/arch/ia32/output_ia32.32.o src/arch/ia32/operand_ia32.32.o src/arch/ia32/packed_handlers.32.o src/arch/sparc/init_sparc.32.o src/arch/sparc/register.32.o src/arch/sparc/tables_sparc.32.o src/arch/sparc/output_sparc.32.o src/arch/sparc/sparc_convert.32.o src/arch/sparc/packed_handlers.32.o src/arch/mips/init_mips.32.o src/arch/mips/output_mips.32.o src/arch/mips/tables_mips.32.o src/arch/mips/mips_convert.32.o src/arch/mips/register_mips.32.o src/arch/mips/packed_handlers.32.o src/arch/arm/init_arm.32.o src/arch/arm/register_arm.32.o src/arch/arm/tables_arm.32.o src/arch/arm/output_arm.32.o src/arch/arm/decode_arm.32.o src/arch/arm/arm_convert.32.o src/arch/arm/packed_handlers.32.o -L../libaspect/ -laspect32 -o libasm32.so -shared ar rc libasm64.a src/generic.64.o src/output.64.o src/error.64.o src/operand.64.o src/instruction.64.o src/register.64.o src/build.64.o src/vectors.64.o src/arch/ia32/init_i386.64.o src/arch/ia32/register.64.o src/arch/ia32/tables_i386.64.o src/arch/ia32/output_ia32.64.o src/arch/ia32/operand_ia32.64.o src/arch/ia32/packed_handlers.64.o src/arch/sparc/init_sparc.64.o src/arch/sparc/register.64.o src/arch/sparc/tables_sparc.64.o src/arch/sparc/output_sparc.64.o src/arch/sparc/sparc_convert.64.o src/arch/sparc/packed_handlers.64.o src/arch/mips/init_mips.64.o src/arch/mips/output_mips.64.o src/arch/mips/tables_mips.64.o src/arch/mips/mips_convert.64.o src/arch/mips/register_mips.64.o src/arch/mips/packed_handlers.64.o src/arch/arm/init_arm.64.o src/arch/arm/register_arm.64.o src/arch/arm/tables_arm.64.o src/arch/arm/output_arm.64.o src/arch/arm/decode_arm.64.o src/arch/arm/arm_convert.64.o src/arch/arm/packed_handlers.64.o ranlib libasm64.a ld -r src/generic.64.o src/output.64.o src/error.64.o src/operand.64.o src/instruction.64.o src/register.64.o src/build.64.o src/vectors.64.o src/arch/ia32/init_i386.64.o src/arch/ia32/register.64.o src/arch/ia32/tables_i386.64.o src/arch/ia32/output_ia32.64.o src/arch/ia32/operand_ia32.64.o src/arch/ia32/packed_handlers.64.o src/arch/sparc/init_sparc.64.o src/arch/sparc/register.64.o src/arch/sparc/tables_sparc.64.o src/arch/sparc/output_sparc.64.o src/arch/sparc/sparc_convert.64.o src/arch/sparc/packed_handlers.64.o src/arch/mips/init_mips.64.o src/arch/mips/output_mips.64.o src/arch/mips/tables_mips.64.o src/arch/mips/mips_convert.64.o src/arch/mips/register_mips.64.o src/arch/mips/packed_handlers.64.o src/arch/arm/init_arm.64.o src/arch/arm/register_arm.64.o src/arch/arm/tables_arm.64.o src/arch/arm/output_arm.64.o src/arch/arm/decode_arm.64.o src/arch/arm/arm_convert.64.o src/arch/arm/packed_handlers.64.o -o libasm64.o gcc src/generic.64.o src/output.64.o src/error.64.o src/operand.64.o src/instruction.64.o src/register.64.o src/build.64.o src/vectors.64.o src/arch/ia32/init_i386.64.o src/arch/ia32/register.64.o src/arch/ia32/tables_i386.64.o src/arch/ia32/output_ia32.64.o src/arch/ia32/operand_ia32.64.o src/arch/ia32/packed_handlers.64.o src/arch/sparc/init_sparc.64.o src/arch/sparc/register.64.o src/arch/sparc/tables_sparc.64.o src/arch/sparc/output_sparc.64.o src/arch/sparc/sparc_convert.64.o src/arch/sparc/packed_handlers.64.o src/arch/mips/init_mips.64.o src/arch/mips/output_mips.64.o src/arch/mips/tables_mips.64.o src/arch/mips/mips_convert.64.o src/arch/mips/register_mips.64.o src/arch/mips/packed_handlers.64.o src/arch/arm/init_arm.64.o src/arch/arm/register_arm.64.o src/arch/arm/tables_arm.64.o src/arch/arm/output_arm.64.o src/arch/arm/decode_arm.64.o src/arch/arm/arm_convert.64.o src/arch/arm/packed_handlers.64.o -L../libaspect/ -laspect64 -o libasm64.so -shared make[1]: Leaving directory '/build/source/libasm' Libasm has been built successfully. Building libelfsh... make[1]: Entering directory '/build/source/libelfsh' gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o dynamic.32.o dynamic.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o dynsym.32.o dynsym.c dynsym.c: In function 'elfsh_set_dynsymbol_name': dynsym.c:82:5: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation8;;] 82 | strncpy(str, name, new_len + 1); | ^ dynsym.c:78:13: note: length computed here 78 | new_len = strlen(name); | ^~~~~~~~~~~~ gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o elf.32.o elf.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o fixup.32.o fixup.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o got.32.o got.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o hash.32.o hash.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o interp.32.o interp.c interp.c: In function 'elfsh_write_interp': interp.c:39:3: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation8;;] 39 | strncpy(elfsh_readmem(file->secthash[ELFSH_SECTION_INTERP]), interp, size1); | ^ interp.c:34:11: note: length computed here 34 | size1 = strlen(interp); | ^~~~~~~~~~~~~~ gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o pht.32.o pht.c pht.c: In function 'elfsh_get_parent_segment': pht.c:437:67: warning: comparison of constant '0' with boolean expression is always false [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wbool-compare-Wbool-compare8;;] 437 | (NULL == enew->parent->pht && elfsh_load_pht(enew->parent)) < 0) | ^ gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o plt.32.o plt.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o section.32.o section.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o sht.32.o sht.c sht.c: In function 'elfsh_get_sht_entry_by_name': sht.c:1315:25: warning: variable 'index' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 1315 | u_int index; | ^~~~~ sht.c: In function 'elfsh_set_section_name': sht.c:748:5: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation8;;] 748 | strncpy(str, name, new_len); | ^ sht.c:744:13: note: length computed here 744 | new_len = strlen(name); | ^~~~~~~~~~~~ gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o stab.32.o stab.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o symbol.32.o symbol.c symbol.c: In function 'elfsh_init_symbol_hashtables': symbol.c:302:54: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 302 | hash_add(&file->symhash, strdup(actual), (void *) idx); | ^ symbol.c:315:57: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 315 | hash_add(&file->dynsymhash, strdup(actual), (void *) idx); | ^ symbol.c: In function 'elfsh_insert_symbol': symbol.c:534:37: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 534 | hash_add(uptable, strdup(name), (void *) index); | ^ gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o notes.32.o notes.c symbol.c: In function 'elfsh_set_symbol_name': symbol.c:119:5: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation8;;] 119 | strncpy(str, name, new_len + 1); | ^ symbol.c:115:13: note: length computed here 115 | new_len = strlen(name); | ^~~~~~~~~~~~ gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o reloc.32.o reloc.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o ctors.32.o ctors.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o dtors.32.o dtors.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o search.32.o search.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o raw.32.o raw.c raw.c: In function 'elfsh_get_raw_by_addr': raw.c:27:13: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 27 | return ((void *) addr); | ^ raw.c:33:17: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 33 | return ((void *) sect->parent->rhdr.base + sect->shdr->sh_addr + offset); | ^ raw.c:37:17: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 37 | return ((void *) sect->shdr->sh_addr + offset); | ^ raw.c: In function 'elfsh_get_raw': raw.c:65:17: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 65 | dataptr = (void *) sect->shdr->sh_addr; | ^ raw.c: In function 'elfsh_raw_write': raw.c:120:37: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 120 | prot = elfsh_munprotect(file, (eresi_Addr) dst + sect_off, len); | ^ raw.c:122:28: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 122 | elfsh_mprotect(file, (eresi_Addr) dst + sect_off, len, prot); | ^ raw.c: In function 'elfsh_raw_read': raw.c:157:43: warning: passing argument 2 of 'elfsh_get_anonymous_section' discards 'volatile' qualifier from pointer target type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers8;;] 157 | src = elfsh_get_anonymous_section(file, sect); | ^~~~ In file included from raw.c:12: include/libelfsh.h:1239:77: note: expected 'elfshsect_t *' {aka 'struct s_sect *'} but argument is of type 'volatile elfshsect_t *' {aka 'volatile struct s_sect *'} 1239 | void *elfsh_get_anonymous_section(elfshobj_t *file, elfshsect_t *sect); | ~~~~~~~~~~~~~^~~~ raw.c:161:25: warning: passing argument 2 of 'memcpy' discards 'volatile' qualifier from pointer target type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers8;;] 161 | memcpy(dest_buff, src + sect_off, len); | ~~~~^~~~~~~~~~ In file included from /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/features.h:511, from /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/libc-header-start.h:33, from /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/stdlib.h:26, from include/libelfsh.h:17: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/string_fortified.h:26:1: note: expected 'const void *' but argument is of type 'volatile void *' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o map.32.o map.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o strtab.32.o strtab.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o sht_rebuild.32.o sht_rebuild.c sht_rebuild.c: In function 'elfsh_init_sht': sht_rebuild.c:218:34: warning: variable 'snames' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 218 | unsigned int tlsnames,ehnames,snames; | ^~~~~~ gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o comment.32.o comment.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o sym_common.32.o sym_common.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o hijack.32.o hijack.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o obj.32.o obj.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o pax.32.o pax.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o save.32.o save.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o copy.32.o copy.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o strip.32.o strip.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o remap.32.o remap.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o relinject.32.o relinject.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o sanitize.32.o sanitize.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o debug.32.o debug.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o bss.32.o bss.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o sort.32.o sort.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o hooks.32.o hooks.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o ia32.32.o ia32.c ia32.c: In function 'elfsh_extplt_ia32': ia32.c:91:27: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 91 | (eresi_Addr) reloc, | ^ ia32.c:95:18: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 95 | (eresi_Addr) reloc, | ^ ia32.c: In function 'elfsh_cflow_ia32': ia32.c:347:33: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 347 | prot = elfsh_munprotect(file, (eresi_Addr) hook, 16); | ^ ia32.c:354:24: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 354 | elfsh_mprotect(file, (eresi_Addr) hook, 16, prot); | ^ gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o sparc32.32.o sparc32.c sparc32.c: In function 'elfsh_cflow_sparc32': sparc32.c:72:33: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 72 | prot = elfsh_munprotect(file, (eresi_Addr) hook, 28); | ^ sparc32.c:87:24: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 87 | elfsh_mprotect(file, (eresi_Addr) hook, 28, prot); | ^ sparc32.c:94:9: warning: array subscript 1 is outside array bounds of 'u_char[4]' {aka 'unsigned char[4]'} [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Warray-bounds-Warray-bounds=8;;] 94 | opcode[1] = SPARC32_NOP; | ~~~~~~^~~ sparc32.c:31:25: note: at offset 4 into object 'buff' of size 4 31 | u_char buff[4]; | ^~~~ In file included from /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/string.h:548, from include/libelfsh.h:21, from sparc32.c:12: In function 'memcpy', inlined from 'elfsh_cflow_sparc32' at sparc32.c:79:3: gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o sparc64.32.o sparc64.c /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' forming offset [4, 7] is out of the bounds [0, 4] of object 'buff' with type 'u_char[4]' {aka 'unsigned char[4]'} [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Warray-bounds-Warray-bounds=8;;] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ sparc32.c: In function 'elfsh_cflow_sparc32': sparc32.c:31:25: note: 'buff' declared here 31 | u_char buff[4]; | ^~~~ gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o mips32.32.o mips32.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o alpha64.32.o alpha64.c mips32.c: In function 'elfsh_cflow_mips32': mips32.c:81:10: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 81 | hook = (char *) (hooks->shdr->sh_addr + hooks->curend); | ^ mips32.c:87:8: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 87 | if (((uint32_t) hook & 0xf0000000) != ((symbol->st_value + 0x8) & 0xf0000000)) | ^ mips32.c:95:39: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 95 | if (((uint32_t) symbol->st_value - (uint32_t) hook) & (0xffffffff<<16)) | ^ mips32.c:111:37: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 111 | (((uint32_t) symbol->st_value - (uint32_t)hook) & 0x0000ffff); | ^ mips32.c:129:39: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 129 | elfsh_insert_funcsym(file, bufname, (eresi_Addr) hook, | ^ gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o ia64.32.o ia64.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o mips64.32.o mips64.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o reginfo.32.o reginfo.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o altplt.32.o altplt.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o altgot.32.o altgot.c altgot.c: In function 'elfsh_shift_mips_relocs': altgot.c:57:20: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'long int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Wformat=8;;] 57 | printf("[DEBUG_SHIFTMIPS] Found dw/dw2 at address " XFMT " / " XFMT " (%s) -> %s \n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 58 | (eresi_Addr) current->shdr->sh_addr + ((char*) dword - (char *) current->data), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long int In file included from include/libelfsh.h:30, from altgot.c:12: ../libaspect/include/libaspect.h:141:31: note: format string is defined here 141 | #define XFMT "0x%08X" | ~~~^ | | | unsigned int | %08lX altgot.c:57:20: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'long int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Wformat=8;;] 57 | printf("[DEBUG_SHIFTMIPS] Found dw/dw2 at address " XFMT " / " XFMT " (%s) -> %s \n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 58 | (eresi_Addr) current->shdr->sh_addr + ((char*) dword - (char *) current->data), 59 | (eresi_Addr) current->shdr->sh_addr + ((char*) dword2 - (char *) current->data), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long int ../libaspect/include/libaspect.h:141:31: note: format string is defined here 141 | #define XFMT "0x%08X" | ~~~^ | | | unsigned int | %08lX gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o extplt.32.o extplt.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o runtime.32.o runtime.c runtime.c: In function 'elfsh_map_userland': runtime.c:47:10: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 47 | addr = (eresi_Addr) mmap(NULL, memsz, rights, flags, fd, 0); | ^ runtime.c: In function 'elfsh_munprotect_userland': runtime.c:97:21: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 97 | retval = mprotect((void *) (addr - addr % getpagesize()), | ^ gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o state.32.o state.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o inject.32.o inject.c inject.c: In function 'elfsh_insert_code_section': inject.c:46:17: warning: variable 'entrypoint' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 46 | eresi_Addr entrypoint; | ^~~~~~~~~~ inject.c: In function 'elfsh_insert_code_section_up': inject.c:280:17: warning: variable 'alignedsize' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 280 | u_int alignedsize; | ^~~~~~~~~~~ inject.c: In function 'elfsh_memcpy': gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o linkmap.32.o linkmap.c inject.c:1052:22: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 1052 | return (int)memcpy((void *) addr, buf, size); | ^ inject.c:1052:10: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 1052 | return (int)memcpy((void *) addr, buf, size); | ^ gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o bp.32.o bp.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o rpht.32.o rpht.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o version.32.o version.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o dwarf.32.o dwarf.c version.c: In function 'elfsh_get_verdauxnamelist': version.c:1046:12: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 1046 | offset = (u_int) hdef->aux; | ^ version.c: In function 'elfsh_load_deftable': version.c:1137:19: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 1137 | pdef->aux = (elfsh_Word *) offset + table->vd_aux; | ^ dwarf.c: In function 'elfsh_get_dwarf': dwarf.c:15:26: warning: variable 'data' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 15 | void *data; | ^~~~ gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o vectors_default.32.o vectors_default.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o vectors_register.32.o vectors_register.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o vectors_call.32.o vectors_call.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI32 -DM32 -c -o vectors_fetch.32.o vectors_fetch.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o dynamic.64.o dynamic.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o dynsym.64.o dynsym.c dynsym.c: In function 'elfsh_set_dynsymbol_name': dynsym.c:82:5: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation8;;] 82 | strncpy(str, name, new_len + 1); | ^ dynsym.c:78:13: note: length computed here 78 | new_len = strlen(name); | ^~~~~~~~~~~~ gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o elf.64.o elf.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o fixup.64.o fixup.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o got.64.o got.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o hash.64.o hash.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o interp.64.o interp.c interp.c: In function 'elfsh_write_interp': interp.c:39:3: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation8;;] 39 | strncpy(elfsh_readmem(file->secthash[ELFSH_SECTION_INTERP]), interp, size1); | ^ interp.c:34:11: note: length computed here 34 | size1 = strlen(interp); | ^~~~~~~~~~~~~~ gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o pht.64.o pht.c pht.c: In function 'elfsh_get_parent_segment': pht.c:437:67: warning: comparison of constant '0' with boolean expression is always false [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wbool-compare-Wbool-compare8;;] 437 | (NULL == enew->parent->pht && elfsh_load_pht(enew->parent)) < 0) | ^ gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o plt.64.o plt.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o section.64.o section.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o sht.64.o sht.c sht.c: In function 'elfsh_get_sht_entry_by_name': sht.c:1315:25: warning: variable 'index' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 1315 | u_int index; | ^~~~~ sht.c: In function 'elfsh_set_section_name': sht.c:748:5: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation8;;] 748 | strncpy(str, name, new_len); | ^ sht.c:744:13: note: length computed here 744 | new_len = strlen(name); | ^~~~~~~~~~~~ gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o stab.64.o stab.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o symbol.64.o symbol.c symbol.c: In function 'elfsh_init_symbol_hashtables': symbol.c:302:54: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 302 | hash_add(&file->symhash, strdup(actual), (void *) idx); | ^ symbol.c:315:57: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 315 | hash_add(&file->dynsymhash, strdup(actual), (void *) idx); | ^ symbol.c: In function 'elfsh_insert_symbol': symbol.c:534:37: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 534 | hash_add(uptable, strdup(name), (void *) index); | ^ symbol.c: In function 'elfsh_set_symbol_name': symbol.c:119:5: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation8;;] 119 | strncpy(str, name, new_len + 1); | ^ symbol.c:115:13: note: length computed here 115 | new_len = strlen(name); | ^~~~~~~~~~~~ gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o notes.64.o notes.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o reloc.64.o reloc.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o ctors.64.o ctors.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o dtors.64.o dtors.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o search.64.o search.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o raw.64.o raw.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o map.64.o map.c raw.c: In function 'elfsh_raw_read': raw.c:157:43: warning: passing argument 2 of 'elfsh_get_anonymous_section' discards 'volatile' qualifier from pointer target type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers8;;] 157 | src = elfsh_get_anonymous_section(file, sect); | ^~~~ In file included from raw.c:12: include/libelfsh.h:1239:77: note: expected 'elfshsect_t *' {aka 'struct s_sect *'} but argument is of type 'volatile elfshsect_t *' {aka 'volatile struct s_sect *'} 1239 | void *elfsh_get_anonymous_section(elfshobj_t *file, elfshsect_t *sect); | ~~~~~~~~~~~~~^~~~ raw.c:161:25: warning: passing argument 2 of 'memcpy' discards 'volatile' qualifier from pointer target type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers8;;] 161 | memcpy(dest_buff, src + sect_off, len); | ~~~~^~~~~~~~~~ In file included from /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/features.h:511, from /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/libc-header-start.h:33, from /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/stdlib.h:26, from include/libelfsh.h:17: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/string_fortified.h:26:1: note: expected 'const void *' but argument is of type 'volatile void *' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o strtab.64.o strtab.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o sht_rebuild.64.o sht_rebuild.c sht_rebuild.c: In function 'elfsh_init_sht': sht_rebuild.c:218:34: warning: variable 'snames' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 218 | unsigned int tlsnames,ehnames,snames; | ^~~~~~ gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o comment.64.o comment.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o sym_common.64.o sym_common.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o hijack.64.o hijack.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o obj.64.o obj.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o pax.64.o pax.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o save.64.o save.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o copy.64.o copy.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o strip.64.o strip.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o remap.64.o remap.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o relinject.64.o relinject.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o sanitize.64.o sanitize.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o debug.64.o debug.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o bss.64.o bss.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o sort.64.o sort.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o hooks.64.o hooks.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o ia32.64.o ia32.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o sparc32.64.o sparc32.c sparc32.c: In function 'elfsh_cflow_sparc32': sparc32.c:94:9: warning: array subscript 1 is outside array bounds of 'u_char[4]' {aka 'unsigned char[4]'} [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Warray-bounds-Warray-bounds=8;;] 94 | opcode[1] = SPARC32_NOP; | ~~~~~~^~~ sparc32.c:31:25: note: at offset 4 into object 'buff' of size 4 31 | u_char buff[4]; | ^~~~ In file included from /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/string.h:548, from include/libelfsh.h:21, from sparc32.c:12: In function 'memcpy', inlined from 'elfsh_cflow_sparc32' at sparc32.c:79:3: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' forming offset [4, 7] is out of the bounds [0, 4] of object 'buff' with type 'u_char[4]' {aka 'unsigned char[4]'} [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Warray-bounds-Warray-bounds=8;;] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ sparc32.c: In function 'elfsh_cflow_sparc32': sparc32.c:31:25: note: 'buff' declared here 31 | u_char buff[4]; | ^~~~ gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o sparc64.64.o sparc64.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o mips32.64.o mips32.c mips32.c: In function 'elfsh_cflow_mips32': mips32.c:87:8: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 87 | if (((uint32_t) hook & 0xf0000000) != ((symbol->st_value + 0x8) & 0xf0000000)) | ^ mips32.c:95:39: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 95 | if (((uint32_t) symbol->st_value - (uint32_t) hook) & (0xffffffff<<16)) | ^ mips32.c:111:37: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 111 | (((uint32_t) symbol->st_value - (uint32_t)hook) & 0x0000ffff); | ^ gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o alpha64.64.o alpha64.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o ia64.64.o ia64.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o mips64.64.o mips64.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o reginfo.64.o reginfo.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o altplt.64.o altplt.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o altgot.64.o altgot.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o extplt.64.o extplt.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o runtime.64.o runtime.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o state.64.o state.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o inject.64.o inject.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o linkmap.64.o linkmap.c inject.c: In function 'elfsh_insert_code_section': inject.c:46:17: warning: variable 'entrypoint' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 46 | eresi_Addr entrypoint; | ^~~~~~~~~~ inject.c: In function 'elfsh_insert_code_section_up': inject.c:280:17: warning: variable 'alignedsize' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 280 | u_int alignedsize; | ^~~~~~~~~~~ inject.c: In function 'elfsh_memcpy': inject.c:1052:10: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 1052 | return (int)memcpy((void *) addr, buf, size); | ^ gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o bp.64.o bp.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o rpht.64.o rpht.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o version.64.o version.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o dwarf.64.o dwarf.c version.c: In function 'elfsh_get_verdauxnamelist': version.c:1046:12: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 1046 | offset = (u_int) hdef->aux; | ^ version.c: In function 'elfsh_load_deftable': version.c:1137:19: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 1137 | pdef->aux = (elfsh_Word *) offset + table->vd_aux; | ^ dwarf.c: In function 'elfsh_get_dwarf': dwarf.c:15:26: warning: variable 'data' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 15 | void *data; | ^~~~ gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o vectors_default.64.o vectors_default.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o vectors_register.64.o vectors_register.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o vectors_call.64.o vectors_call.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -DERESI64 -DM32 -c -o vectors_fetch.64.o vectors_fetch.c make[1]: Leaving directory '/build/source/libelfsh' Libelfsh has been built successfully. Building libedfmt... make[1]: Entering directory '/build/source/libedfmt' gcc -Wall -Werror=unused-variable -Wall -fPIC -g3 -Iinclude -I ../libaspect/include/ -I../libelfsh/include/ -DERESI32 -c -o edfmt.32.o edfmt.c gcc -Wall -Werror=unused-variable -Wall -fPIC -g3 -Iinclude -I ../libaspect/include/ -I../libelfsh/include/ -DERESI32 -c -o edfmt-utils.32.o edfmt-utils.c gcc -Wall -Werror=unused-variable -Wall -fPIC -g3 -Iinclude -I ../libaspect/include/ -I../libelfsh/include/ -DERESI32 -c -o dwarf2.32.o dwarf2.c gcc -Wall -Werror=unused-variable -Wall -fPIC -g3 -Iinclude -I ../libaspect/include/ -I../libelfsh/include/ -DERESI32 -c -o dwarf2-utils.32.o dwarf2-utils.c gcc -Wall -Werror=unused-variable -Wall -fPIC -g3 -Iinclude -I ../libaspect/include/ -I../libelfsh/include/ -DERESI32 -c -o dwarf2-abbrev.32.o dwarf2-abbrev.c dwarf2-abbrev.c: In function 'edfmt_dwarf2_abbrev_enum': dwarf2-abbrev.c:123:25: warning: variable 'base' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 123 | u_int base; | ^~~~ gcc -Wall -Werror=unused-variable -Wall -fPIC -g3 -Iinclude -I ../libaspect/include/ -I../libelfsh/include/ -DERESI32 -c -o dwarf2-cfa.32.o dwarf2-cfa.c dwarf2-abbrev.c: In function 'edfmt_dwarf2_mac': dwarf2-abbrev.c:463:25: warning: variable 'line' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 463 | int line = 0, file = 0; | ^~~~ dwarf2-abbrev.c: In function 'edfmt_dwarf2_loc': dwarf2-abbrev.c:577:34: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 577 | stack[spos].value = *(eresi_Addr *) stack[spos].value; | ^ dwarf2-abbrev.c: In function 'edfmt_dwarf2_line_data': dwarf2-abbrev.c:907:25: warning: variable 'basic_block' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 907 | u_int basic_block; | ^~~~~~~~~~~ dwarf2-abbrev.c: In function 'edfmt_dwarf2_line': dwarf2-abbrev.c:1039:35: warning: variable 'tmpf' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 1039 | u_long prev_pos, tmpf; | ^~~~ dwarf2-cfa.c: In function 'edfmt_dwarf2_cfa_data': dwarf2-cfa.c:54:25: warning: variable 'cie' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 54 | int cie; | ^~~ dwarf2-cfa.c:49:40: warning: variable 'scfa' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 49 | u_char cfa, cfa_data, scfa, c_low, c_high; | ^~~~ gcc -Wall -Werror=unused-variable -Wall -fPIC -g3 -Iinclude -I ../libaspect/include/ -I../libelfsh/include/ -DERESI32 -c -o dwarf2-trans.32.o dwarf2-trans.c dwarf2-trans.c: In function 'edfmt_dwarf2_transform_abbrev_parse': dwarf2-trans.c:246:10: warning: 'fileid' may be used uninitialized [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized8;;] 246 | if (fileid > 0 && fileid < (int) current_cu->files_number) | ^ dwarf2-trans.c:213:25: note: 'fileid' was declared here 213 | int fileid, inc = 0, addtype = 1, base = 0, op = 0; | ^~~~~~ gcc -Wall -Werror=unused-variable -Wall -fPIC -g3 -Iinclude -I ../libaspect/include/ -I../libelfsh/include/ -DERESI32 -c -o stabs.32.o stabs.c gcc -Wall -Werror=unused-variable -Wall -fPIC -g3 -Iinclude -I ../libaspect/include/ -I../libelfsh/include/ -DERESI32 -c -o stabs-trans.32.o stabs-trans.c stabs.c: In function 'edfmt_stabs_data': stabs.c:751:33: warning: variable 'save_str' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 751 | char token, *save_str, link; | ^~~~~~~~ stabs-trans.c: In function 'edfmt_stabs_transform_type_adv': stabs-trans.c:40:26: warning: variable 'ftype' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 40 | edfmttype_t *ftype = NULL; | ^~~~~ gcc -Wall -Werror=unused-variable -Wall -fPIC -g3 -Iinclude -I ../libaspect/include/ -I../libelfsh/include/ -DERESI32 -c -o stabs-utils.32.o stabs-utils.c gcc -Wall -Werror=unused-variable -Wall -fPIC -g3 -Iinclude -I ../libaspect/include/ -I../libelfsh/include/ -DERESI32 -c -o api.32.o api.c gcc -Wall -Werror=unused-variable -Wall -fPIC -g3 -Iinclude -I ../libaspect/include/ -I../libelfsh/include/ -DERESI64 -c -o edfmt.64.o edfmt.c gcc -Wall -Werror=unused-variable -Wall -fPIC -g3 -Iinclude -I ../libaspect/include/ -I../libelfsh/include/ -DERESI64 -c -o edfmt-utils.64.o edfmt-utils.c gcc -Wall -Werror=unused-variable -Wall -fPIC -g3 -Iinclude -I ../libaspect/include/ -I../libelfsh/include/ -DERESI64 -c -o dwarf2.64.o dwarf2.c gcc -Wall -Werror=unused-variable -Wall -fPIC -g3 -Iinclude -I ../libaspect/include/ -I../libelfsh/include/ -DERESI64 -c -o dwarf2-utils.64.o dwarf2-utils.c gcc -Wall -Werror=unused-variable -Wall -fPIC -g3 -Iinclude -I ../libaspect/include/ -I../libelfsh/include/ -DERESI64 -c -o dwarf2-abbrev.64.o dwarf2-abbrev.c gcc -Wall -Werror=unused-variable -Wall -fPIC -g3 -Iinclude -I ../libaspect/include/ -I../libelfsh/include/ -DERESI64 -c -o dwarf2-cfa.64.o dwarf2-cfa.c dwarf2-abbrev.c: In function 'edfmt_dwarf2_abbrev_enum': dwarf2-abbrev.c:123:25: warning: variable 'base' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 123 | u_int base; | ^~~~ dwarf2-abbrev.c: In function 'edfmt_dwarf2_mac': dwarf2-abbrev.c:463:25: warning: variable 'line' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 463 | int line = 0, file = 0; | ^~~~ dwarf2-abbrev.c: In function 'edfmt_dwarf2_line_data': dwarf2-abbrev.c:907:25: warning: variable 'basic_block' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 907 | u_int basic_block; | ^~~~~~~~~~~ dwarf2-abbrev.c: In function 'edfmt_dwarf2_line': dwarf2-abbrev.c:1039:35: warning: variable 'tmpf' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 1039 | u_long prev_pos, tmpf; | ^~~~ dwarf2-cfa.c: In function 'edfmt_dwarf2_cfa_data': dwarf2-cfa.c:54:25: warning: variable 'cie' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 54 | int cie; | ^~~ dwarf2-cfa.c:49:40: warning: variable 'scfa' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 49 | u_char cfa, cfa_data, scfa, c_low, c_high; | ^~~~ gcc -Wall -Werror=unused-variable -Wall -fPIC -g3 -Iinclude -I ../libaspect/include/ -I../libelfsh/include/ -DERESI64 -c -o dwarf2-trans.64.o dwarf2-trans.c dwarf2-trans.c: In function 'edfmt_dwarf2_transform_abbrev_parse': dwarf2-trans.c:246:10: warning: 'fileid' may be used uninitialized [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized8;;] 246 | if (fileid > 0 && fileid < (int) current_cu->files_number) | ^ dwarf2-trans.c:213:25: note: 'fileid' was declared here 213 | int fileid, inc = 0, addtype = 1, base = 0, op = 0; | ^~~~~~ gcc -Wall -Werror=unused-variable -Wall -fPIC -g3 -Iinclude -I ../libaspect/include/ -I../libelfsh/include/ -DERESI64 -c -o stabs.64.o stabs.c stabs.c: In function 'edfmt_stabs_data': stabs.c:751:33: warning: variable 'save_str' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 751 | char token, *save_str, link; | ^~~~~~~~ gcc -Wall -Werror=unused-variable -Wall -fPIC -g3 -Iinclude -I ../libaspect/include/ -I../libelfsh/include/ -DERESI64 -c -o stabs-trans.64.o stabs-trans.c stabs-trans.c: In function 'edfmt_stabs_transform_type_adv': stabs-trans.c:40:26: warning: variable 'ftype' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 40 | edfmttype_t *ftype = NULL; | ^~~~~ gcc -Wall -Werror=unused-variable -Wall -fPIC -g3 -Iinclude -I ../libaspect/include/ -I../libelfsh/include/ -DERESI64 -c -o stabs-utils.64.o stabs-utils.c gcc -Wall -Werror=unused-variable -Wall -fPIC -g3 -Iinclude -I ../libaspect/include/ -I../libelfsh/include/ -DERESI64 -c -o api.64.o api.c make[1]: Leaving directory '/build/source/libedfmt' Libedfmt has been built successfully. Building libetrace... make[1]: Entering directory '/build/source/libetrace' gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -I../libelfsh/include/ -DERESI32 -DM32 -I../libedfmt/include/ -c -o errfunc.32.o errfunc.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -I../libelfsh/include/ -DERESI32 -DM32 -I../libedfmt/include/ -c -o save.32.o save.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -I../libelfsh/include/ -DERESI32 -DM32 -I../libedfmt/include/ -c -o search_addr.32.o search_addr.c save.c: In function 'etrace_save_tracing': save.c:583:74: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Wformat=8;;] 583 | "typedef struct trace_s_%1$d { void *ptr; char elm[%2$d]; } trace_arg_%1$d;\n", | ~~~^ | | | int | %2$ld 584 | index, index - sizeof(eresi_Addr)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -I../libelfsh/include/ -DERESI32 -DM32 -I../libedfmt/include/ -c -o delete.32.o delete.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -I../libelfsh/include/ -DERESI32 -DM32 -I../libedfmt/include/ -c -o check.32.o check.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -I../libelfsh/include/ -DERESI32 -DM32 -I../libedfmt/include/ -c -o check_untracable.32.o check_untracable.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -I../libelfsh/include/ -DERESI32 -DM32 -I../libedfmt/include/ -c -o func_add.32.o func_add.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -I../libelfsh/include/ -DERESI32 -DM32 -I../libedfmt/include/ -c -o func_remove.32.o func_remove.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -I../libelfsh/include/ -DERESI32 -DM32 -I../libedfmt/include/ -c -o func_exclude.32.o func_exclude.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -I../libelfsh/include/ -DERESI32 -DM32 -I../libedfmt/include/ -c -o func_enable.32.o func_enable.c func_exclude.c: In function 'traces_exclude': func_exclude.c:105:11: warning: this 'if' clause does not guard... [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmisleading-indentation-Wmisleading-indentation8;;] 105 | if (etrace_funcexclude(oreg[index]) < 0) | ^~ func_exclude.c:108:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 108 | snprintf(buf, BUFSIZ - 1, pattern, oreg[index]); | ^~~~~~~~ gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -I../libelfsh/include/ -DERESI32 -DM32 -I../libedfmt/include/ -c -o func_disable.32.o func_disable.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -I../libelfsh/include/ -DERESI32 -DM32 -I../libedfmt/include/ -c -o func_status.32.o func_status.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -I../libelfsh/include/ -DERESI32 -DM32 -I../libedfmt/include/ -c -o trace_create.32.o trace_create.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -I../libelfsh/include/ -DERESI32 -DM32 -I../libedfmt/include/ -c -o func_search.32.o func_search.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -I../libelfsh/include/ -DERESI32 -DM32 -I../libedfmt/include/ -c -o trace_list.32.o trace_list.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -I../libelfsh/include/ -DERESI32 -DM32 -I../libedfmt/include/ -c -o trace_flush.32.o trace_flush.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -I../libelfsh/include/ -DERESI32 -DM32 -I../libedfmt/include/ -c -o trace_run.32.o trace_run.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -I../libelfsh/include/ -DERESI32 -DM32 -I../libedfmt/include/ -c -o func_match.32.o func_match.c trace_run.c: In function 'traces_run': trace_run.c:51:17: warning: variable 'ret' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 51 | int ret; | ^~~ gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -I../libelfsh/include/ -DERESI64 -DM32 -I../libedfmt/include/ -c -o errfunc.64.o errfunc.c func_match.c: In function 'trace_match_funcname': func_match.c:235:29: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 254 and 255 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-truncation-Wformat-truncation=8;;] 235 | snprintf(funcreg, 255, "%s%s%s", | ^~ In file included from /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/stdio.h:970, from include/libetrace.h:19, from func_match.c:10: In function 'snprintf', inlined from 'trace_match_funcname' at func_match.c:235:3: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 1 and 258 bytes into a destination of size 255 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -I../libelfsh/include/ -DERESI64 -DM32 -I../libedfmt/include/ -c -o save.64.o save.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -I../libelfsh/include/ -DERESI64 -DM32 -I../libedfmt/include/ -c -o search_addr.64.o search_addr.c save.c: In function 'etrace_save_tracing': save.c:583:74: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Wformat=8;;] 583 | "typedef struct trace_s_%1$d { void *ptr; char elm[%2$d]; } trace_arg_%1$d;\n", | ~~~^ | | | int | %2$ld 584 | index, index - sizeof(eresi_Addr)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -I../libelfsh/include/ -DERESI64 -DM32 -I../libedfmt/include/ -c -o delete.64.o delete.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -I../libelfsh/include/ -DERESI64 -DM32 -I../libedfmt/include/ -c -o check.64.o check.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -I../libelfsh/include/ -DERESI64 -DM32 -I../libedfmt/include/ -c -o check_untracable.64.o check_untracable.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -I../libelfsh/include/ -DERESI64 -DM32 -I../libedfmt/include/ -c -o func_add.64.o func_add.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -I../libelfsh/include/ -DERESI64 -DM32 -I../libedfmt/include/ -c -o func_remove.64.o func_remove.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -I../libelfsh/include/ -DERESI64 -DM32 -I../libedfmt/include/ -c -o func_exclude.64.o func_exclude.c func_exclude.c: In function 'traces_exclude': func_exclude.c:105:11: warning: this 'if' clause does not guard... [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmisleading-indentation-Wmisleading-indentation8;;] 105 | if (etrace_funcexclude(oreg[index]) < 0) | ^~ func_exclude.c:108:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 108 | snprintf(buf, BUFSIZ - 1, pattern, oreg[index]); | ^~~~~~~~ gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -I../libelfsh/include/ -DERESI64 -DM32 -I../libedfmt/include/ -c -o func_enable.64.o func_enable.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -I../libelfsh/include/ -DERESI64 -DM32 -I../libedfmt/include/ -c -o func_disable.64.o func_disable.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -I../libelfsh/include/ -DERESI64 -DM32 -I../libedfmt/include/ -c -o func_status.64.o func_status.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -I../libelfsh/include/ -DERESI64 -DM32 -I../libedfmt/include/ -c -o trace_create.64.o trace_create.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -I../libelfsh/include/ -DERESI64 -DM32 -I../libedfmt/include/ -c -o func_search.64.o func_search.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -I../libelfsh/include/ -DERESI64 -DM32 -I../libedfmt/include/ -c -o trace_list.64.o trace_list.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -I../libelfsh/include/ -DERESI64 -DM32 -I../libedfmt/include/ -c -o trace_flush.64.o trace_flush.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -I../libelfsh/include/ -DERESI64 -DM32 -I../libedfmt/include/ -c -o trace_run.64.o trace_run.c gcc -Wall -Werror=unused-variable -Iinclude -Wall -fPIC -g3 -O2 -I../libasm/include/ -I../libaspect/include/ -I../libelfsh/include/ -DERESI64 -DM32 -I../libedfmt/include/ -c -o func_match.64.o func_match.c trace_run.c: In function 'traces_run': trace_run.c:51:17: warning: variable 'ret' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 51 | int ret; | ^~~ func_match.c: In function 'trace_match_funcname': func_match.c:235:29: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 254 and 255 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-truncation-Wformat-truncation=8;;] 235 | snprintf(funcreg, 255, "%s%s%s", | ^~ In file included from /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/stdio.h:970, from include/libetrace.h:19, from func_match.c:10: In function 'snprintf', inlined from 'trace_match_funcname' at func_match.c:235:3: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 1 and 258 bytes into a destination of size 255 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/build/source/libetrace' Libetrace has been built successfully. Building libui... make[1]: Entering directory '/build/source/libui' gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -Iinclude -rdynamic -DM32 -I../libelfsh/include/ -I../libdump/include/ -I../libasm/include/ -I../e2dbg/include/ -I /usr/pkg/include/ -I../elfsh/include/ -I../libmjollnir/include/ -I../libetrace/include/ -I../libedfmt/include/ -I../libaspect/include/ -DERESI32 -I../librevm/include/ -DUSE_READLN -c -o readln.32.o readln.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -Iinclude -rdynamic -DM32 -I../libelfsh/include/ -I../libdump/include/ -I../libasm/include/ -I../e2dbg/include/ -I /usr/pkg/include/ -I../elfsh/include/ -I../libmjollnir/include/ -I../libetrace/include/ -I../libedfmt/include/ -I../libaspect/include/ -DERESI64 -I../librevm/include/ -DUSE_READLN -c -o readln.64.o readln.c make[1]: Leaving directory '/build/source/libui' Libui has been built successfully. Building libmjollnir... make[1]: Entering directory '/build/source/libmjollnir' gcc -fPIC -I./include/ -I../libasm/include/ -I../libelfsh/include/ -I../libaspect/include -Wall -DERESI32 -g3 -c -o src/blocks.32.o src/blocks.c gcc -fPIC -I./include/ -I../libasm/include/ -I../libelfsh/include/ -I../libaspect/include -Wall -DERESI32 -g3 -c -o src/core.32.o src/core.c gcc -fPIC -I./include/ -I../libasm/include/ -I../libelfsh/include/ -I../libaspect/include -Wall -DERESI32 -g3 -c -o src/history.32.o src/history.c gcc -fPIC -I./include/ -I../libasm/include/ -I../libelfsh/include/ -I../libaspect/include -Wall -DERESI32 -g3 -c -o src/init.32.o src/init.c gcc -fPIC -I./include/ -I../libasm/include/ -I../libelfsh/include/ -I../libaspect/include -Wall -DERESI32 -g3 -c -o src/symtab.32.o src/symtab.c gcc -fPIC -I./include/ -I../libasm/include/ -I../libelfsh/include/ -I../libaspect/include -Wall -DERESI32 -g3 -c -o src/findentry.32.o src/findentry.c gcc -fPIC -I./include/ -I../libasm/include/ -I../libelfsh/include/ -I../libaspect/include -Wall -DERESI32 -g3 -c -o src/cfg.32.o src/cfg.c src/findentry.c: In function 'mjr_find_main': src/findentry.c:85:11: warning: 'arch_bin' may be used uninitialized [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized8;;] 85 | fprintf(stderr, " [*] %s-like start\n", arch_bin ? "FreeBSD" : "Linux"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/findentry.c:32:20: note: 'arch_bin' was declared here 32 | int arch_bin; | ^~~~~~~~ src/findentry.c:106:20: warning: 'init_addr' may be used uninitialized [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized8;;] 106 | if (main_addr == init_addr) | ^ src/findentry.c:30:20: note: 'init_addr' was declared here 30 | eresi_Addr init_addr; | ^~~~~~~~~ gcc -fPIC -I./include/ -I../libasm/include/ -I../libelfsh/include/ -I../libaspect/include -Wall -DERESI32 -g3 -c -o src/fingerprint.32.o src/fingerprint.c src/fingerprint.c: In function 'mjr_block_funcstart': src/fingerprint.c:21:19: warning: variable 'blk' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 21 | mjrblock_t *blk; | ^~~ gcc -fPIC -I./include/ -I../libasm/include/ -I../libelfsh/include/ -I../libaspect/include -Wall -DERESI32 -g3 -c -o src/display.32.o src/display.c gcc -fPIC -I./include/ -I../libasm/include/ -I../libelfsh/include/ -I../libaspect/include -Wall -DERESI32 -g3 -c -o src/links.32.o src/links.c gcc -fPIC -I./include/ -I../libasm/include/ -I../libelfsh/include/ -I../libaspect/include -Wall -DERESI32 -g3 -c -o src/ondisk.32.o src/ondisk.c gcc -fPIC -I./include/ -I../libasm/include/ -I../libelfsh/include/ -I../libaspect/include -Wall -DERESI32 -g3 -c -o src/function.32.o src/function.c src/ondisk.c: In function 'mjr_flow_load_links': src/ondisk.c:107:16: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 107 | off = (u_int) container->inlinks; | ^ src/ondisk.c:112:15: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 112 | off = (u_int) container->outlinks; | ^ src/ondisk.c: In function 'mjr_unit_save': src/ondisk.c:158:25: warning: variable 'size' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 158 | u_int size; | ^~~~ src/ondisk.c:157:25: warning: variable 'addr' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 157 | eresi_Addr addr; | ^~~~ src/ondisk.c: In function 'mjr_flow_store': src/ondisk.c:427:29: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 427 | container->inlinks = (list_t *) flow_off_in; | ^ src/ondisk.c:428:29: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 428 | container->outlinks = (list_t *) flow_off_out; | ^ src/function.c: In function 'mjr_function_dump': src/function.c:62:38: warning: the comparison will always evaluate as 'true' for the address of 'name' will never be NULL [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Waddress-Waddress8;;] 62 | where, f->vaddr, (f->name) ? f->name : NULL , | ^ In file included from ./include/libmjollnir.h:25, from src/function.c:13: ./include/libmjollnir-objects.h:41:17: note: 'name' declared here 41 | char name[64]; /* !< @brief Function name */ | ^~~~ src/function.c:63:20: warning: the comparison will always evaluate as 'true' for the address of 'md5' will never be NULL [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Waddress-Waddress8;;] 63 | (f->md5) ? f->md5 : NULL , c->id, c->outlinks->elmnbr, c->inlinks->elmnbr); | ^ ./include/libmjollnir-objects.h:43:17: note: 'md5' declared here 43 | char md5[34]; /* !< @brief MD5 Checksum */ | ^~~ src/function.c: In function 'mjr_fingerprint_function': src/function.c:184:7: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations8;;] 184 | MD5_Init(&md5ctx); | ^~~~~~~~ In file included from ./include/libmjollnir.h:20: /nix/store/7dp0ay805yh80xvxmdad49hwyqaqzg37-openssl-3.4.1-dev/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ src/function.c:185:7: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations8;;] 185 | MD5_Update(&md5ctx, fbuf, mlen); | ^~~~~~~~~~ /nix/store/7dp0ay805yh80xvxmdad49hwyqaqzg37-openssl-3.4.1-dev/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ src/function.c:186:7: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations8;;] 186 | MD5_Final(digest, &md5ctx); | ^~~~~~~~~ /nix/store/7dp0ay805yh80xvxmdad49hwyqaqzg37-openssl-3.4.1-dev/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ gcc -fPIC -I./include/ -I../libasm/include/ -I../libelfsh/include/ -I../libaspect/include -Wall -DERESI32 -g3 -c -o src/container.32.o src/container.c gcc -fPIC -I./include/ -I../libasm/include/ -I../libelfsh/include/ -I../libaspect/include -Wall -DERESI32 -g3 -c -o src/destroy.32.o src/destroy.c gcc -fPIC -I./include/ -I../libasm/include/ -I../libelfsh/include/ -I../libaspect/include -Wall -DERESI64 -g3 -c -o src/blocks.64.o src/blocks.c gcc -fPIC -I./include/ -I../libasm/include/ -I../libelfsh/include/ -I../libaspect/include -Wall -DERESI64 -g3 -c -o src/core.64.o src/core.c gcc -fPIC -I./include/ -I../libasm/include/ -I../libelfsh/include/ -I../libaspect/include -Wall -DERESI64 -g3 -c -o src/history.64.o src/history.c gcc -fPIC -I./include/ -I../libasm/include/ -I../libelfsh/include/ -I../libaspect/include -Wall -DERESI64 -g3 -c -o src/init.64.o src/init.c src/init.c: In function 'mjr_create_context': src/init.c:145:31: warning: format '%lX' expects argument of type 'long unsigned int', but argument 5 has type 'u_int' {aka 'unsigned int'} [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Wformat=8;;] 145 | snprintf(lname, BSIZE_SMALL, "%s"AFMT, (char *) "funcpath_", obj->id); | ^~~~ ~~~~~~~ | | | u_int {aka unsigned int} In file included from ../libelfsh/include/libelfsh.h:30, from ./include/libmjollnir.h:23, from src/init.c:9: ../libaspect/include/libaspect.h:160:31: note: format string is defined here 160 | #define AFMT "%016lX" | ~~~~~^ | | | long unsigned int | %016X gcc -fPIC -I./include/ -I../libasm/include/ -I../libelfsh/include/ -I../libaspect/include -Wall -DERESI64 -g3 -c -o src/symtab.64.o src/symtab.c gcc -fPIC -I./include/ -I../libasm/include/ -I../libelfsh/include/ -I../libaspect/include -Wall -DERESI64 -g3 -c -o src/findentry.64.o src/findentry.c gcc -fPIC -I./include/ -I../libasm/include/ -I../libelfsh/include/ -I../libaspect/include -Wall -DERESI64 -g3 -c -o src/cfg.64.o src/cfg.c src/findentry.c: In function 'mjr_find_main': src/findentry.c:85:11: warning: 'arch_bin' may be used uninitialized [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized8;;] 85 | fprintf(stderr, " [*] %s-like start\n", arch_bin ? "FreeBSD" : "Linux"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/findentry.c:32:20: note: 'arch_bin' was declared here 32 | int arch_bin; | ^~~~~~~~ src/findentry.c:106:20: warning: 'init_addr' may be used uninitialized [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized8;;] 106 | if (main_addr == init_addr) | ^ src/findentry.c:30:20: note: 'init_addr' was declared here 30 | eresi_Addr init_addr; | ^~~~~~~~~ gcc -fPIC -I./include/ -I../libasm/include/ -I../libelfsh/include/ -I../libaspect/include -Wall -DERESI64 -g3 -c -o src/fingerprint.64.o src/fingerprint.c src/fingerprint.c: In function 'mjr_block_funcstart': src/fingerprint.c:21:19: warning: variable 'blk' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 21 | mjrblock_t *blk; | ^~~ gcc -fPIC -I./include/ -I../libasm/include/ -I../libelfsh/include/ -I../libaspect/include -Wall -DERESI64 -g3 -c -o src/display.64.o src/display.c gcc -fPIC -I./include/ -I../libasm/include/ -I../libelfsh/include/ -I../libaspect/include -Wall -DERESI64 -g3 -c -o src/links.64.o src/links.c gcc -fPIC -I./include/ -I../libasm/include/ -I../libelfsh/include/ -I../libaspect/include -Wall -DERESI64 -g3 -c -o src/ondisk.64.o src/ondisk.c src/ondisk.c: In function 'mjr_flow_load_links': src/ondisk.c:107:16: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 107 | off = (u_int) container->inlinks; | ^ src/ondisk.c:112:15: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 112 | off = (u_int) container->outlinks; | ^ src/ondisk.c: In function 'mjr_unit_save': src/ondisk.c:158:25: warning: variable 'size' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 158 | u_int size; | ^~~~ src/ondisk.c:157:25: warning: variable 'addr' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 157 | eresi_Addr addr; | ^~~~ src/ondisk.c: In function 'mjr_flow_store': src/ondisk.c:427:29: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 427 | container->inlinks = (list_t *) flow_off_in; | ^ src/ondisk.c:428:29: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 428 | container->outlinks = (list_t *) flow_off_out; | ^ gcc -fPIC -I./include/ -I../libasm/include/ -I../libelfsh/include/ -I../libaspect/include -Wall -DERESI64 -g3 -c -o src/function.64.o src/function.c gcc -fPIC -I./include/ -I../libasm/include/ -I../libelfsh/include/ -I../libaspect/include -Wall -DERESI64 -g3 -c -o src/container.64.o src/container.c src/function.c: In function 'mjr_function_dump': src/function.c:62:38: warning: the comparison will always evaluate as 'true' for the address of 'name' will never be NULL [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Waddress-Waddress8;;] 62 | where, f->vaddr, (f->name) ? f->name : NULL , | ^ In file included from ./include/libmjollnir.h:25, from src/function.c:13: ./include/libmjollnir-objects.h:41:17: note: 'name' declared here 41 | char name[64]; /* !< @brief Function name */ | ^~~~ src/function.c:63:20: warning: the comparison will always evaluate as 'true' for the address of 'md5' will never be NULL [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Waddress-Waddress8;;] 63 | (f->md5) ? f->md5 : NULL , c->id, c->outlinks->elmnbr, c->inlinks->elmnbr); | ^ ./include/libmjollnir-objects.h:43:17: note: 'md5' declared here 43 | char md5[34]; /* !< @brief MD5 Checksum */ | ^~~ src/function.c: In function 'mjr_fingerprint_function': src/function.c:184:7: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations8;;] 184 | MD5_Init(&md5ctx); | ^~~~~~~~ In file included from ./include/libmjollnir.h:20: /nix/store/7dp0ay805yh80xvxmdad49hwyqaqzg37-openssl-3.4.1-dev/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ src/function.c:185:7: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations8;;] 185 | MD5_Update(&md5ctx, fbuf, mlen); | ^~~~~~~~~~ /nix/store/7dp0ay805yh80xvxmdad49hwyqaqzg37-openssl-3.4.1-dev/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ src/function.c:186:7: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations8;;] 186 | MD5_Final(digest, &md5ctx); | ^~~~~~~~~ /nix/store/7dp0ay805yh80xvxmdad49hwyqaqzg37-openssl-3.4.1-dev/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ gcc -fPIC -I./include/ -I../libasm/include/ -I../libelfsh/include/ -I../libaspect/include -Wall -DERESI64 -g3 -c -o src/destroy.64.o src/destroy.c make[1]: Leaving directory '/build/source/libmjollnir' Libmjollnir has been built successfully. Building librevm... make[1]: Entering directory '/build/source/librevm' make -C lang all32 make -C lang all64 make[2]: Entering directory '/build/source/librevm/lang' gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o access.32.o access.c make[2]: Entering directory '/build/source/librevm/lang' gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o access.64.o access.c access.c: In function 'revm_field_get': access.c:228:19: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 228 | *data = (void *) *(eresi_Addr *) *data; | ^ access.c:229:57: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 229 | *data = elfsh_readmema(world.curjob->curfile, (eresi_Addr) *data, NULL, 0); | ^ access.c: In function 'revm_object_create': access.c:279:18: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 279 | data = (void *) *(eresi_Addr *) data; | ^ access.c:280:56: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 280 | data = elfsh_readmema(world.curjob->curfile, (eresi_Addr) data, NULL, 0); | ^ access.c: In function 'revm_object_lookup_real': access.c:373:10: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 373 | data = (void *) annot->addr; | ^ access.c:375:50: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 375 | data = elfsh_readmema(world.curjob->curfile, (eresi_Addr) data, | ^ access.c: In function 'revm_hash_getobj': access.c:476:11: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 476 | return ((eresi_Addr) data); | ^ gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o convert.32.o convert.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o convert.64.o convert.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o grammar.32.o grammar.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o grammar.64.o grammar.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o lookup.32.o lookup.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o lookup.64.o lookup.c In file included from ../../libaspect/include/libaspect.h:197, from ../../libelfsh/include/libelfsh.h:30, from ../include/revm.h:62, from lookup.c:9: lookup.c: In function 'revm_lookup_string': lookup.c:324:18: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 324 | (char *) ptr->get_obj(ptr->parent))); | ^ ../../libaspect/include/libaspect-profiler.h:322:10: note: in definition of macro 'PROFILER_ROUT' 322 | return ret; \ | ^~~ gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o objects.64.o objects.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o objects.32.o objects.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o options.64.o options.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o options.32.o options.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o parser.64.o parser.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o parser.32.o parser.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o scanner.64.o scanner.c scanner.c: In function 'revm_input': scanner.c:273:7: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 273 | if ((int) buf == 0 || | ^ scanner.c:274:7: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 274 | (int) buf == REVM_INPUT_VOID || | ^ scanner.c:275:7: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 275 | (int) buf == REVM_INPUT_EXIT || | ^ scanner.c:276:7: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 276 | (int) buf == REVM_INPUT_TRANSFERED) | ^ scanner.c:302:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result8;;] 302 | write(world.fifo_c2s, buf, len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o scanner.32.o scanner.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o variables.64.o variables.c scanner.c: In function 'revm_input': scanner.c:273:7: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 273 | if ((int) buf == 0 || | ^ scanner.c:274:7: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 274 | (int) buf == REVM_INPUT_VOID || | ^ scanner.c:275:7: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 275 | (int) buf == REVM_INPUT_EXIT || | ^ scanner.c:276:7: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 276 | (int) buf == REVM_INPUT_TRANSFERED) | ^ scanner.c:302:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result8;;] 302 | write(world.fifo_c2s, buf, len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o variables.32.o variables.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o expressions.64.o expressions.c expressions.c: In function 'revm_expr_init': expressions.c:442:16: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 442 | else if ((int) newexpr == -1) { newexpr = NULL; continue; } | ^ gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o expressions.32.o expressions.c expressions.c: In function 'revm_expr_init_field': expressions.c:241:25: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 241 | (eresi_Addr) childata, newexpr, 0, 0); | ^ expressions.c: In function 'revm_expr_init_rec': expressions.c:312:59: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 312 | revm_inform_type_addr(childtype->name, strdup(recpath), (eresi_Addr) childata, newexpr, 0, 0); | ^ expressions.c: In function 'revm_expr_init': expressions.c:442:16: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 442 | else if ((int) newexpr == -1) { newexpr = NULL; continue; } | ^ expressions.c: In function 'revm_expr_extend': expressions.c:565:13: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 565 | newdata = (char *) expr->annot->addr; | ^ expressions.c: In function 'revm_expr_copyrec': expressions.c:814:62: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 814 | revm_inform_type_addr(type->name, strdup(newname), (eresi_Addr) childata, dest, 0, 0); | ^ expressions.c:839:62: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 839 | revm_inform_type_addr(type->name, strdup(newname), (eresi_Addr) childata, dest, 0, 0); | ^ expressions.c: In function 'revm_expr_copy': expressions.c:892:22: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 892 | memcpy(copydata, (char *) annot->addr, type->size); | ^ expressions.c:923:59: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 923 | if (!revm_inform_type_addr(type->name, strdup(dstname), (eresi_Addr) copydata, dest, 0, 0)) | ^ expressions.c: In function 'revm_expr_create_from_object': expressions.c:994:14: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 994 | data = (void *) copyme->get_obj(copyme->parent); | ^ expressions.c:998:60: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 998 | if (!revm_inform_type_addr(type->name, strdup(name), (eresi_Addr) data, dest, 0, 1)) | ^ expressions.c: In function 'revm_expr_create': expressions.c:1359:59: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 1359 | revm_inform_type_addr(datatype->name, strdup(realname), (eresi_Addr) databuff, NULL, 0, 0); | ^ expressions.c:1381:59: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 1381 | revm_inform_type_addr(datatype->name, strdup(realname), (eresi_Addr) databuff, expr, 0, 0); | ^ expressions.c: In function 'revm_expr_copy': expressions.c:904:3: warning: '__builtin_strncpy' specified bound 8096 equals destination size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation8;;] 904 | strncpy(newname, dstname, sizeof(newname)); | ^ expressions.c: In function 'revm_expr_copy': expressions.c:904:3: warning: '__builtin_strncpy' specified bound 8096 equals destination size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation8;;] 904 | strncpy(newname, dstname, sizeof(newname)); | ^ expressions.c: In function 'revm_expr_init': expressions.c:67:17: warning: 'beginning' may be used uninitialized [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized8;;] 67 | u_int beginning; | ^~~~~~~~~ expressions.c: In function 'revm_expr_init': expressions.c:67:17: warning: 'beginning' may be used uninitialized [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized8;;] 67 | u_int beginning; | ^~~~~~~~~ gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o arith.32.o arith.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o arith.64.o arith.c arith.c: In function 'revm_deref': arith.c:81:17: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 81 | if (!paddr || (eresi_Addr) paddr == addr) | ^ ld -r access.32.o convert.32.o grammar.32.o lookup.32.o objects.32.o options.32.o parser.32.o scanner.32.o variables.32.o expressions.32.o arith.32.o -o ../revm-lang.32.o ld -r access.64.o convert.64.o grammar.64.o lookup.64.o objects.64.o options.64.o parser.64.o scanner.64.o variables.64.o expressions.64.o arith.64.o -o ../revm-lang.64.o make[2]: Leaving directory '/build/source/librevm/lang' make -C vm all32 make[2]: Entering directory '/build/source/librevm/vm' gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o init.32.o init.c make[2]: Leaving directory '/build/source/librevm/lang' make -C vm all64 make[2]: Entering directory '/build/source/librevm/vm' gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o init.64.o init.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o loop.32.o loop.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o loop.64.o loop.c loop.c: In function 'revm_execscript': loop.c:232:7: warning: 'status' may be used uninitialized [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized8;;] 232 | switch (status) | ^~~~~~ loop.c:158:17: note: 'status' was declared here 158 | int status; | ^~~~~~ loop.c: In function 'revm_execscript': loop.c:232:7: warning: 'status' may be used uninitialized [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized8;;] 232 | switch (status) | ^~~~~~ loop.c:158:17: note: 'status' was declared here 158 | int status; | ^~~~~~ gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o tables.32.o tables.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o tables.64.o tables.c tables.c: In function 'setup_varshash': tables.c:772:18: warning: variable 'expr' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 772 | revmexpr_t *expr; | ^~~~ tables.c: In function 'setup_varshash': tables.c:772:18: warning: variable 'expr' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 772 | revmexpr_t *expr; | ^~~~ gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o fini.64.o fini.c fini.c: In function 'revm_postexec': fini.c:32:17: warning: variable 'ret' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 32 | int ret; | ^~~ gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o fini.32.o fini.c ld -r init.64.o loop.64.o tables.64.o fini.64.o -o ../revm-machine.64.o fini.c: In function 'revm_postexec': fini.c:32:17: warning: variable 'ret' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 32 | int ret; | ^~~ make[2]: Leaving directory '/build/source/librevm/vm' make -C io all64 make[2]: Entering directory '/build/source/librevm/io' gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -Iinclude -rdynamic -I../../libelfsh/include/ -I../../libedfmt/include/ -I../../libui/include/ -I../../libasm/include/ -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libdump/include/ -DERESI64 -DM32 -DUSE_READLN -c -o color.64.o color.c ld -r init.32.o loop.32.o tables.32.o fini.32.o -o ../revm-machine.32.o make[2]: Leaving directory '/build/source/librevm/vm' make -C io all32 make[2]: Entering directory '/build/source/librevm/io' gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libedfmt/include/ -I../../libui/include/ -I../../libasm/include/ -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libdump/include/ -DM32 -DERESI32 -DUSE_READLN -c -o color.32.o color.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -Iinclude -rdynamic -I../../libelfsh/include/ -I../../libedfmt/include/ -I../../libui/include/ -I../../libasm/include/ -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libdump/include/ -DERESI64 -DM32 -DUSE_READLN -c -o curjob.64.o curjob.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libedfmt/include/ -I../../libui/include/ -I../../libasm/include/ -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libdump/include/ -DM32 -DERESI32 -DUSE_READLN -c -o curjob.32.o curjob.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -Iinclude -rdynamic -I../../libelfsh/include/ -I../../libedfmt/include/ -I../../libui/include/ -I../../libasm/include/ -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libdump/include/ -DERESI64 -DM32 -DUSE_READLN -c -o input.64.o input.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libedfmt/include/ -I../../libui/include/ -I../../libasm/include/ -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libdump/include/ -DM32 -DERESI32 -DUSE_READLN -c -o input.32.o input.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -Iinclude -rdynamic -I../../libelfsh/include/ -I../../libedfmt/include/ -I../../libui/include/ -I../../libasm/include/ -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libdump/include/ -DERESI64 -DM32 -DUSE_READLN -c -o io.64.o io.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libedfmt/include/ -I../../libui/include/ -I../../libasm/include/ -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libdump/include/ -DM32 -DERESI32 -DUSE_READLN -c -o io.32.o io.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -Iinclude -rdynamic -I../../libelfsh/include/ -I../../libedfmt/include/ -I../../libui/include/ -I../../libasm/include/ -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libdump/include/ -DERESI64 -DM32 -DUSE_READLN -c -o log.64.o log.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libedfmt/include/ -I../../libui/include/ -I../../libasm/include/ -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libdump/include/ -DM32 -DERESI32 -DUSE_READLN -c -o log.32.o log.c log.c: In function 'logtofile': log.c:63:6: warning: 'stripvar' may be used uninitialized [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized8;;] 63 | if (stripvar && stripvar->immed_val.word) | ^ log.c:44:26: note: 'stripvar' was declared here 44 | revmobj_t *stripvar; | ^~~~~~~~ log.c: In function 'logtofile': log.c:63:6: warning: 'stripvar' may be used uninitialized [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized8;;] 63 | if (stripvar && stripvar->immed_val.word) | ^ log.c:44:26: note: 'stripvar' was declared here 44 | revmobj_t *stripvar; | ^~~~~~~~ gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -Iinclude -rdynamic -I../../libelfsh/include/ -I../../libedfmt/include/ -I../../libui/include/ -I../../libasm/include/ -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libdump/include/ -DERESI64 -DM32 -DUSE_READLN -c -o network.64.o network.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libedfmt/include/ -I../../libui/include/ -I../../libasm/include/ -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libdump/include/ -DM32 -DERESI32 -DUSE_READLN -c -o network.32.o network.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -Iinclude -rdynamic -I../../libelfsh/include/ -I../../libedfmt/include/ -I../../libui/include/ -I../../libasm/include/ -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libdump/include/ -DERESI64 -DM32 -DUSE_READLN -c -o output.64.o output.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libedfmt/include/ -I../../libui/include/ -I../../libasm/include/ -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libdump/include/ -DM32 -DERESI32 -DUSE_READLN -c -o output.32.o output.c output.c: In function 'revm_output': output.c:83:11: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 83 | || !(int)config_get_data(REVM_CONFIG_USEMORE)) | ^ output.c: In function 'revm_output': output.c:83:11: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 83 | || !(int)config_get_data(REVM_CONFIG_USEMORE)) | ^ gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -Iinclude -rdynamic -I../../libelfsh/include/ -I../../libedfmt/include/ -I../../libui/include/ -I../../libasm/include/ -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libdump/include/ -DERESI64 -DM32 -DUSE_READLN -c -o prompt.64.o prompt.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libedfmt/include/ -I../../libui/include/ -I../../libasm/include/ -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libdump/include/ -DM32 -DERESI32 -DUSE_READLN -c -o prompt.32.o prompt.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -Iinclude -rdynamic -I../../libelfsh/include/ -I../../libedfmt/include/ -I../../libui/include/ -I../../libasm/include/ -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libdump/include/ -DERESI64 -DM32 -DUSE_READLN -c -o select.64.o select.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libedfmt/include/ -I../../libui/include/ -I../../libasm/include/ -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libdump/include/ -DM32 -DERESI32 -DUSE_READLN -c -o select.32.o select.c select.c: In function 'revm_select': select.c:263:25: warning: variable 'init' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 263 | revmjob_t *init; | ^~~~ gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -Iinclude -rdynamic -I../../libelfsh/include/ -I../../libedfmt/include/ -I../../libui/include/ -I../../libasm/include/ -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libdump/include/ -DERESI64 -DM32 -DUSE_READLN -c -o readln.64.o readln.c select.c: In function 'revm_select': select.c:263:25: warning: variable 'init' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 263 | revmjob_t *init; | ^~~~ readln.c: In function 'revm_rlfifo_write': readln.c:243:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result8;;] 243 | write(world.fifo_c2s, "\n", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libedfmt/include/ -I../../libui/include/ -I../../libasm/include/ -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libdump/include/ -DM32 -DERESI32 -DUSE_READLN -c -o readln.32.o readln.c ld -r color.64.o curjob.64.o input.64.o io.64.o log.64.o network.64.o output.64.o prompt.64.o select.64.o readln.64.o -o ../revm-io.64.o make[2]: Leaving directory '/build/source/librevm/io' make -C api all64 make[2]: Entering directory '/build/source/librevm/api' gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o atomic.64.o atomic.c readln.c: In function 'revm_rlfifo_write': readln.c:243:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result8;;] 243 | write(world.fifo_c2s, "\n", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ld -r color.32.o curjob.32.o input.32.o io.32.o log.32.o network.32.o output.32.o prompt.32.o select.32.o readln.32.o -o ../revm-io.32.o make[2]: Leaving directory '/build/source/librevm/io' make -C api all32 make[2]: Entering directory '/build/source/librevm/api' gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o atomic.32.o atomic.c atomic.c: In function 'revm_hash_add': atomic.c:214:13: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 214 | src = (hash_t *) o->get_obj(o->parent); | ^ atomic.c:249:32: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 249 | elem = (eresi_Addr) strdup((char *) elem); | ^ atomic.c:249:12: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 249 | elem = (eresi_Addr) strdup((char *) elem); | ^ atomic.c:250:37: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 250 | hash_add(h, strdup((char *) key), (void *) elem); | ^ atomic.c: In function 'revm_elist_add': atomic.c:277:13: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 277 | src = (list_t *) o->get_obj(o->parent); | ^ atomic.c:314:32: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 314 | elem = (eresi_Addr) strdup((char *) elem); | ^ atomic.c:314:12: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 314 | elem = (eresi_Addr) strdup((char *) elem); | ^ atomic.c:315:21: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 315 | elist_add(h, key, (void *) elem); | ^ atomic.c: In function 'revm_hash_del': atomic.c:342:13: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 342 | src = (hash_t *) o->get_obj(o->parent); | ^ atomic.c:353:47: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 353 | name = (o->immed ? o->immed_val.str : (char *) o->get_obj(o->parent)); | ^ atomic.c: In function 'revm_elist_del': atomic.c:389:13: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 389 | src = (list_t *) o->get_obj(o->parent); | ^ atomic.c:400:47: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 400 | name = (o->immed ? o->immed_val.str : (char *) o->get_obj(o->parent)); | ^ atomic.c: In function 'revm_object_set': atomic.c:531:27: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 531 | (void *) (eresi_Addr) val8, ASPECT_TYPE_BYTE); | ^ atomic.c:534:27: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 534 | (void *) (eresi_Addr) val8, ASPECT_TYPE_BYTE); | ^ atomic.c:549:27: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 549 | (void *) (eresi_Addr) val16, ASPECT_TYPE_SHORT); | ^ atomic.c:552:28: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 552 | (void *) (eresi_Addr) val16, ASPECT_TYPE_SHORT); | ^ atomic.c:569:27: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 569 | (void *) (eresi_Addr) val32, ASPECT_TYPE_INT); | ^ atomic.c:572:28: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 572 | (void *) (eresi_Addr) val32, ASPECT_TYPE_INT); | ^ atomic.c:596:27: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 596 | (void *) val64, o1->otype->type); | ^ atomic.c:599:27: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 599 | (void *) val64, o1->otype->type); | ^ atomic.c:608:14: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 608 | hash = (hash_t *) o2->get_obj(o2->parent); | ^ atomic.c:619:14: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 619 | list = (list_t *) o2->get_obj(o2->parent); | ^ gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o commands.64.o commands.c commands.c: In function 'revm_command_set': commands.c:57:18: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 57 | if (needcur != (u_int) ERESI_ORIG) | ^ gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o commands.32.o commands.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o doswitch.64.o doswitch.c commands.c: In function 'revm_command_set': commands.c:57:18: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 57 | if (needcur != (u_int) ERESI_ORIG) | ^ gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o edfmt.64.o edfmt.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o doswitch.32.o doswitch.c edfmt.c: In function 'revm_edfmt_inform.isra': edfmt.c:222:24: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 239 and 249 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-truncation-Wformat-truncation=8;;] 222 | "array%d%s", var->type->size+1, var->type->parent->name); | ^~ In file included from /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/stdio.h:970, from ../include/revm.h:29, from edfmt.c:9: In function 'snprintf', inlined from 'revm_edfmt_inform.isra' at edfmt.c:221:7: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 7 and 272 bytes into a destination of size 255 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ edfmt.c: In function 'revm_edfmt_type_parse.isra': edfmt.c:158:23: warning: ':' directive output may be truncated writing 1 byte into a region of size between 0 and 255 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-truncation-Wformat-truncation=8;;] 158 | "%s:%s", child->name, child->child->name); | ^ In function 'snprintf', inlined from 'revm_edfmt_type_parse.isra' at edfmt.c:157:4: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 2 and 512 bytes into a destination of size 255 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ edfmt.c: In function 'revm_edfmt_type_parse.isra': edfmt.c:124:25: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 251 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-truncation-Wformat-truncation=8;;] 124 | "elm:%s", type->parent->name); | ^~ In function 'snprintf', inlined from 'revm_edfmt_type_parse.isra' at edfmt.c:123:4: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 5 and 260 bytes into a destination of size 255 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ edfmt.c: In function 'revm_edfmt_type_parse.isra': edfmt.c:110:25: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 251 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-truncation-Wformat-truncation=8;;] 110 | "elm:%s[%d]", type->parent->name, type->size+1); | ^~ In function 'snprintf', inlined from 'revm_edfmt_type_parse.isra' at edfmt.c:109:4: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 8 and 273 bytes into a destination of size 255 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ edfmt.c: In function 'revm_edfmt_type_parse.isra': edfmt.c:113:28: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 239 and 249 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-truncation-Wformat-truncation=8;;] 113 | "array%d%s", type->size+1, type->parent->name); | ^~ In function 'snprintf', inlined from 'revm_edfmt_type_parse.isra' at edfmt.c:112:4: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 7 and 272 bytes into a destination of size 255 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o filter.64.o filter.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o edfmt.32.o edfmt.c filter.c: In function 'revm_filter_zero': filter.c:28:37: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 28 | memmove(ptr + 1, ptr + 4, (u_int) buf + size - (u_int) (ptr + 4)); | ^ filter.c:28:58: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 28 | memmove(ptr + 1, ptr + 4, (u_int) buf + size - (u_int) (ptr + 4)); | ^ filter.c:38:37: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 38 | memmove(ptr + 1, ptr + 3, (u_int) buf + size - (u_int) (ptr + 3)); | ^ filter.c:38:58: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 38 | memmove(ptr + 1, ptr + 3, (u_int) buf + size - (u_int) (ptr + 3)); | ^ gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o job.64.o job.c edfmt.c: In function 'revm_edfmt_inform.isra': edfmt.c:222:24: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 239 and 249 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-truncation-Wformat-truncation=8;;] 222 | "array%d%s", var->type->size+1, var->type->parent->name); | ^~ In file included from /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/stdio.h:970, from ../include/revm.h:29, from edfmt.c:9: In function 'snprintf', inlined from 'revm_edfmt_inform.isra' at edfmt.c:221:7: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 7 and 272 bytes into a destination of size 255 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ edfmt.c: In function 'revm_edfmt_type_parse.isra': edfmt.c:158:23: warning: ':' directive output may be truncated writing 1 byte into a region of size between 0 and 255 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-truncation-Wformat-truncation=8;;] 158 | "%s:%s", child->name, child->child->name); | ^ In function 'snprintf', inlined from 'revm_edfmt_type_parse.isra' at edfmt.c:157:4: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 2 and 512 bytes into a destination of size 255 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ edfmt.c: In function 'revm_edfmt_type_parse.isra': edfmt.c:124:25: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 251 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-truncation-Wformat-truncation=8;;] 124 | "elm:%s", type->parent->name); | ^~ In function 'snprintf', inlined from 'revm_edfmt_type_parse.isra' at edfmt.c:123:4: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 5 and 260 bytes into a destination of size 255 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ edfmt.c: In function 'revm_edfmt_type_parse.isra': edfmt.c:110:25: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 251 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-truncation-Wformat-truncation=8;;] 110 | "elm:%s[%d]", type->parent->name, type->size+1); | ^~ In function 'snprintf', inlined from 'revm_edfmt_type_parse.isra' at edfmt.c:109:4: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 8 and 273 bytes into a destination of size 255 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ edfmt.c: In function 'revm_edfmt_type_parse.isra': edfmt.c:113:28: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 239 and 249 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-truncation-Wformat-truncation=8;;] 113 | "array%d%s", type->size+1, type->parent->name); | ^~ In function 'snprintf', inlined from 'revm_edfmt_type_parse.isra' at edfmt.c:112:4: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 7 and 272 bytes into a destination of size 255 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o implicit.64.o implicit.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o filter.32.o filter.c filter.c: In function 'revm_filter_zero': filter.c:28:37: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 28 | memmove(ptr + 1, ptr + 4, (u_int) buf + size - (u_int) (ptr + 4)); | ^ filter.c:28:58: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 28 | memmove(ptr + 1, ptr + 4, (u_int) buf + size - (u_int) (ptr + 4)); | ^ filter.c:38:37: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 38 | memmove(ptr + 1, ptr + 3, (u_int) buf + size - (u_int) (ptr + 3)); | ^ filter.c:38:58: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 38 | memmove(ptr + 1, ptr + 3, (u_int) buf + size - (u_int) (ptr + 3)); | ^ gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o misc.64.o misc.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o job.32.o job.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o implicit.32.o implicit.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o modlist.64.o modlist.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o misc.32.o misc.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o screen.64.o screen.c screen.c: In function 'revm_workspace_next': screen.c:107:24: warning: 'entrie' may be used uninitialized [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized8;;] 107 | for (entrie = (entrie+1) % keynbr; entrie < keynbr; entrie = (entrie+1) % keynbr) | ~~~~~~~^~~ screen.c:84:24: note: 'entrie' was declared here 84 | u_int index, entrie; | ^~~~~~ gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o stringtable.64.o stringtable.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o modlist.32.o modlist.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o inform.64.o inform.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o screen.32.o screen.c inform.c: In function 'revm_inform_toplevel': inform.c:258:36: warning: argument to 'sizeof' in 'snprintf' call is the same expression as the destination; did you mean to provide an explicit length? [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-sizeof-pointer-memaccess-Wsizeof-pointer-memaccess8;;] 258 | snprintf(realname, sizeof(realname), "%s_"AFMT, type, oaddr); | ^ screen.c: In function 'revm_workspace_next': screen.c:107:24: warning: 'entrie' may be used uninitialized [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized8;;] 107 | for (entrie = (entrie+1) % keynbr; entrie < keynbr; entrie = (entrie+1) % keynbr) | ~~~~~~~^~~ screen.c:84:24: note: 'entrie' was declared here 84 | u_int index, entrie; | ^~~~~~ inform.c:258:48: warning: '%016lX' directive output truncated writing 16 bytes into a region of size 7 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-truncation-Wformat-truncation=8;;] 258 | snprintf(realname, sizeof(realname), "%s_"AFMT, type, oaddr); | ^~~~~ In file included from ../../libelfsh/include/libelfsh.h:30, from ../include/revm.h:62, from inform.c:10: ../../libaspect/include/libaspect.h:160:26: note: format string is defined here 160 | #define AFMT "%016lX" | ^~~~~~ In file included from /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/stdio.h:970, from ../include/revm.h:29: In function 'snprintf', inlined from 'revm_inform_toplevel' at inform.c:258:4: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 18 or more bytes into a destination of size 8 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o stringtable.32.o stringtable.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o sourcing.64.o sourcing.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o inform.32.o inform.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o helping.64.o helping.c inform.c: In function 'revm_inform_toplevel': inform.c:258:36: warning: argument to 'sizeof' in 'snprintf' call is the same expression as the destination; did you mean to provide an explicit length? [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-sizeof-pointer-memaccess-Wsizeof-pointer-memaccess8;;] 258 | snprintf(realname, sizeof(realname), "%s_"AFMT, type, oaddr); | ^ inform.c:258:48: warning: '%08X' directive output truncated writing 8 bytes into a region of size 7 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-truncation-Wformat-truncation=8;;] 258 | snprintf(realname, sizeof(realname), "%s_"AFMT, type, oaddr); | ^~~~~ In file included from ../../libelfsh/include/libelfsh.h:30, from ../include/revm.h:62, from inform.c:10: ../../libaspect/include/libaspect.h:142:26: note: format string is defined here 142 | #define AFMT "%08X" | ^~~~ In file included from /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/stdio.h:970, from ../include/revm.h:29: In function 'snprintf', inlined from 'revm_inform_toplevel' at inform.c:258:4: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 10 or more bytes into a destination of size 8 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o printing.64.o printing.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o sourcing.32.o sourcing.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o typing.64.o typing.c typing.c: In function 'revm_type_print': typing.c:127:34: warning: argument to 'sizeof' in 'snprintf' call is the same expression as the destination; did you mean to provide an explicit length? [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-sizeof-pointer-memaccess-Wsizeof-pointer-memaccess8;;] 127 | snprintf(size, sizeof(size), "%s%s%s", | ^ gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o helping.32.o helping.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o printing.32.o printing.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o asmproc.64.o asmproc.c ld -r atomic.64.o commands.64.o doswitch.64.o edfmt.64.o filter.64.o job.64.o implicit.64.o misc.64.o modlist.64.o screen.64.o stringtable.64.o inform.64.o sourcing.64.o helping.64.o printing.64.o typing.64.o asmproc.64.o -o ../revm-api.64.o gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o typing.32.o typing.c make[2]: Leaving directory '/build/source/librevm/api' gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o asmproc.32.o asmproc.c typing.c: In function 'revm_type_print': typing.c:127:34: warning: argument to 'sizeof' in 'snprintf' call is the same expression as the destination; did you mean to provide an explicit length? [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-sizeof-pointer-memaccess-Wsizeof-pointer-memaccess8;;] 127 | snprintf(size, sizeof(size), "%s%s%s", | ^ typing.c: In function 'revm_type_reflect': typing.c:270:55: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 270 | result = revm_inform_type_addr(typename, logbuf, (eresi_Addr) data, NULL, 0, 1); | ^ gcc -shared *.64.o -o librevm64.so -L../libedfmt/ -ledfmt64 -L../libelfsh/ -lelfsh64 -L../libdump/ -L/usr/pkg/lib/ -L../libmjollnir/ -lmjollnir64 -lpthread -L../libasm/ -lasm64 -L../libui -lui64 -g3 -L../liballocproxy -L../libmjollnir/ -L../libaspect/ -laspect64 -lallocproxy -L/usr/freeware/lib32/ -rdynamic -L/opt/sfw/lib/ -lreadline -ldl \ -DUSE_READLN ld -r atomic.32.o commands.32.o doswitch.32.o edfmt.32.o filter.32.o job.32.o implicit.32.o misc.32.o modlist.32.o screen.32.o stringtable.32.o inform.32.o sourcing.32.o helping.32.o printing.32.o typing.32.o asmproc.32.o -o ../revm-api.32.o make[2]: Leaving directory '/build/source/librevm/api' gcc -shared *.32.o -o librevm32.so -L../libedfmt/ -ledfmt32 -L../libelfsh/ -lelfsh32 -L../libdump/ -L/usr/pkg/lib/ -L../libmjollnir/ -lmjollnir32 -lpthread -L../libasm/ -lasm32 -L../libui -lui32 -g3 -L../liballocproxy -L../libmjollnir/ -L../libaspect/ -laspect32 -lallocproxy -L/usr/freeware/lib32/ -rdynamic -L/opt/sfw/lib/ -lreadline -ldl \ -DUSE_READLN ar rc librevm64.a *.64.o ranlib librevm64.a LINKED LIBREVM64 ar rc librevm32.a *.32.o LINKED LIBREVM32 make[1]: Leaving directory '/build/source/librevm' Librevm has been built successfully. test -f config.h && cp config.h config.back cat config.h | grep -v READLN > t && mv t config.h Rebuilding librevm/io/ without readline make[1]: Entering directory '/build/source/librevm/io' make[1]: Leaving directory '/build/source/librevm/io' make[1]: Entering directory '/build/source/librevm/io' gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libedfmt/include/ -I../../libui/include/ -I../../libasm/include/ -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libdump/include/ -DM32 -DERESI32 -c -o color.32.o color.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libedfmt/include/ -I../../libui/include/ -I../../libasm/include/ -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libdump/include/ -DM32 -DERESI32 -c -o curjob.32.o curjob.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libedfmt/include/ -I../../libui/include/ -I../../libasm/include/ -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libdump/include/ -DM32 -DERESI32 -c -o input.32.o input.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libedfmt/include/ -I../../libui/include/ -I../../libasm/include/ -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libdump/include/ -DM32 -DERESI32 -c -o io.32.o io.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libedfmt/include/ -I../../libui/include/ -I../../libasm/include/ -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libdump/include/ -DM32 -DERESI32 -c -o log.32.o log.c log.c: In function 'logtofile': log.c:63:6: warning: 'stripvar' may be used uninitialized [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized8;;] 63 | if (stripvar && stripvar->immed_val.word) | ^ log.c:44:26: note: 'stripvar' was declared here 44 | revmobj_t *stripvar; | ^~~~~~~~ gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libedfmt/include/ -I../../libui/include/ -I../../libasm/include/ -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libdump/include/ -DM32 -DERESI32 -c -o network.32.o network.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libedfmt/include/ -I../../libui/include/ -I../../libasm/include/ -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libdump/include/ -DM32 -DERESI32 -c -o output.32.o output.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libedfmt/include/ -I../../libui/include/ -I../../libasm/include/ -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libdump/include/ -DM32 -DERESI32 -c -o prompt.32.o prompt.c output.c: In function 'revm_output': output.c:83:11: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 83 | || !(int)config_get_data(REVM_CONFIG_USEMORE)) | ^ gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libedfmt/include/ -I../../libui/include/ -I../../libasm/include/ -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libdump/include/ -DM32 -DERESI32 -c -o select.32.o select.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libedfmt/include/ -I../../libui/include/ -I../../libasm/include/ -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libdump/include/ -DM32 -DERESI32 -c -o readln.32.o readln.c select.c: In function 'revm_select': select.c:263:25: warning: variable 'init' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 263 | revmjob_t *init; | ^~~~ gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -Iinclude -rdynamic -I../../libelfsh/include/ -I../../libedfmt/include/ -I../../libui/include/ -I../../libasm/include/ -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libdump/include/ -DERESI64 -DM32 -c -o color.64.o color.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -Iinclude -rdynamic -I../../libelfsh/include/ -I../../libedfmt/include/ -I../../libui/include/ -I../../libasm/include/ -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libdump/include/ -DERESI64 -DM32 -c -o curjob.64.o curjob.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -Iinclude -rdynamic -I../../libelfsh/include/ -I../../libedfmt/include/ -I../../libui/include/ -I../../libasm/include/ -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libdump/include/ -DERESI64 -DM32 -c -o input.64.o input.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -Iinclude -rdynamic -I../../libelfsh/include/ -I../../libedfmt/include/ -I../../libui/include/ -I../../libasm/include/ -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libdump/include/ -DERESI64 -DM32 -c -o io.64.o io.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -Iinclude -rdynamic -I../../libelfsh/include/ -I../../libedfmt/include/ -I../../libui/include/ -I../../libasm/include/ -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libdump/include/ -DERESI64 -DM32 -c -o log.64.o log.c log.c: In function 'logtofile': log.c:63:6: warning: 'stripvar' may be used uninitialized [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized8;;] 63 | if (stripvar && stripvar->immed_val.word) | ^ log.c:44:26: note: 'stripvar' was declared here 44 | revmobj_t *stripvar; | ^~~~~~~~ gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -Iinclude -rdynamic -I../../libelfsh/include/ -I../../libedfmt/include/ -I../../libui/include/ -I../../libasm/include/ -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libdump/include/ -DERESI64 -DM32 -c -o network.64.o network.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -Iinclude -rdynamic -I../../libelfsh/include/ -I../../libedfmt/include/ -I../../libui/include/ -I../../libasm/include/ -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libdump/include/ -DERESI64 -DM32 -c -o output.64.o output.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -Iinclude -rdynamic -I../../libelfsh/include/ -I../../libedfmt/include/ -I../../libui/include/ -I../../libasm/include/ -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libdump/include/ -DERESI64 -DM32 -c -o prompt.64.o prompt.c output.c: In function 'revm_output': output.c:83:11: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 83 | || !(int)config_get_data(REVM_CONFIG_USEMORE)) | ^ gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -Iinclude -rdynamic -I../../libelfsh/include/ -I../../libedfmt/include/ -I../../libui/include/ -I../../libasm/include/ -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libdump/include/ -DERESI64 -DM32 -c -o select.64.o select.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -Iinclude -rdynamic -I../../libelfsh/include/ -I../../libedfmt/include/ -I../../libui/include/ -I../../libasm/include/ -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libdump/include/ -DERESI64 -DM32 -c -o readln.64.o readln.c select.c: In function 'revm_select': select.c:263:25: warning: variable 'init' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 263 | revmjob_t *init; | ^~~~ ld -r color.32.o curjob.32.o input.32.o io.32.o log.32.o network.32.o output.32.o prompt.32.o select.32.o readln.32.o -o ../revm-io.32.o ld -r color.64.o curjob.64.o input.64.o io.64.o log.64.o network.64.o output.64.o prompt.64.o select.64.o readln.64.o -o ../revm-io.64.o make[1]: Leaving directory '/build/source/librevm/io' cp config.back config.h Librevm has been rebuilt successfully. Building libstderesi... make[1]: Entering directory '/build/source/libstderesi' make -C elf all32 make -C elf all64 make[2]: Entering directory '/build/source/libstderesi/elf' gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libetrace/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -I../../librevm/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o comment.32.o comment.c make[2]: Entering directory '/build/source/libstderesi/elf' gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libetrace/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -I../../librevm/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o comment.64.o comment.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libetrace/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -I../../librevm/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o ctors.32.o ctors.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libetrace/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -I../../librevm/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o ctors.64.o ctors.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libetrace/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -I../../librevm/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o core.32.o core.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libetrace/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -I../../librevm/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o core.64.o core.c core.c: In function 'cmd_coreinfo': core.c:108:41: warning: variable 'regs' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 108 | elfsh_bsduregset_t regs; | ^~~~ core.c: In function 'cmd_coreinfo': core.c:108:41: warning: variable 'regs' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 108 | elfsh_bsduregset_t regs; | ^~~~ gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libetrace/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -I../../librevm/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o data.32.o data.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libetrace/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -I../../librevm/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o data.64.o data.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libetrace/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -I../../librevm/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o deps.32.o deps.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libetrace/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -I../../librevm/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o deps.64.o deps.c In file included from ../../librevm/include/revm.h:62, from ../include/libstderesi.h:44, from deps.c:13: deps.c: In function 'revm_update_depinfo': ../../libelfsh/include/libelfsh.h:861:63: warning: operation on 'cur->lastchildid' may be undefined [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-sequence-point-Wsequence-point8;;] 861 | #define ELFSH_CHILD_NEW(o) ELFSH_CHILD_BASE(o) + ++o->lastchildid | ^~~~~~~~~~~~~~~~ deps.c:102:15: note: in expansion of macro 'ELFSH_CHILD_NEW' 102 | newid = ELFSH_CHILD_NEW(cur); | ^~~~~~~~~~~~~~~ deps.c: In function 'revm_load_searchlib': deps.c:235:17: warning: variable 'len' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 235 | int len; | ^~~ deps.c: In function 'revm_load_dep': ../../libelfsh/include/libelfsh.h:861:63: warning: operation on 'parent->lastchildid' may be undefined [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-sequence-point-Wsequence-point8;;] 861 | #define ELFSH_CHILD_NEW(o) ELFSH_CHILD_BASE(o) + ++o->lastchildid | ^~~~~~~~~~~~~~~~ deps.c:450:13: note: in expansion of macro 'ELFSH_CHILD_NEW' 450 | new->id = ELFSH_CHILD_NEW(parent); | ^~~~~~~~~~~~~~~ In file included from ../../librevm/include/revm.h:62, from ../include/libstderesi.h:44, from deps.c:13: deps.c: In function 'revm_update_depinfo': ../../libelfsh/include/libelfsh.h:861:63: warning: operation on 'cur->lastchildid' may be undefined [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-sequence-point-Wsequence-point8;;] 861 | #define ELFSH_CHILD_NEW(o) ELFSH_CHILD_BASE(o) + ++o->lastchildid | ^~~~~~~~~~~~~~~~ deps.c:102:15: note: in expansion of macro 'ELFSH_CHILD_NEW' 102 | newid = ELFSH_CHILD_NEW(cur); | ^~~~~~~~~~~~~~~ deps.c: In function 'revm_load_searchlib': deps.c:235:17: warning: variable 'len' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 235 | int len; | ^~~ deps.c: In function 'revm_load_dep': ../../libelfsh/include/libelfsh.h:861:63: warning: operation on 'parent->lastchildid' may be undefined [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-sequence-point-Wsequence-point8;;] 861 | #define ELFSH_CHILD_NEW(o) ELFSH_CHILD_BASE(o) + ++o->lastchildid | ^~~~~~~~~~~~~~~~ deps.c:450:13: note: in expansion of macro 'ELFSH_CHILD_NEW' 450 | new->id = ELFSH_CHILD_NEW(parent); | ^~~~~~~~~~~~~~~ gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libetrace/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -I../../librevm/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o disasm.32.o disasm.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libetrace/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -I../../librevm/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o disasm.64.o disasm.c disasm.c: In function 'revm_array_display': disasm.c:464:34: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Wformat=8;;] 464 | snprintf(buf, sizeof(buf), " " AFMT " [foff: %u] \t %s[%0*u] = " XFMT, | ^~~ ...... 467 | foffset + index * sizeof(eresi_Addr), name, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int disasm.c:464:53: note: format string is defined here 464 | snprintf(buf, sizeof(buf), " " AFMT " [foff: %u] \t %s[%0*u] = " XFMT, | ~^ | | | unsigned int | %lu disasm.c: In function 'revm_object_display': disasm.c:607:14: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 607 | buff = (char *) vaddr; | ^ disasm.c:548:17: warning: variable 'base' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 548 | eresi_Addr base; | ^~~~ disasm.c: In function 'revm_instr_display': disasm.c:290:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result8;;] 290 | write(fd, s, strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~~ disasm.c: In function 'revm_array_display': disasm.c:464:34: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Wformat=8;;] 464 | snprintf(buf, sizeof(buf), " " AFMT " [foff: %u] \t %s[%0*u] = " XFMT, | ^~~ ...... 467 | foffset + index * sizeof(eresi_Addr), name, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int disasm.c:464:53: note: format string is defined here 464 | snprintf(buf, sizeof(buf), " " AFMT " [foff: %u] \t %s[%0*u] = " XFMT, | ~^ | | | unsigned int | %lu disasm.c: In function 'revm_object_display': disasm.c:548:17: warning: variable 'base' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 548 | eresi_Addr base; | ^~~~ disasm.c: In function 'revm_instr_display': disasm.c:290:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result8;;] 290 | write(fd, s, strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~~ disasm.c: In function 'revm_object_display': disasm.c:686:23: warning: 'wheretoread' may be used uninitialized [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized8;;] 686 | wheretoread += readnow; | ~~~~~~~~~~~~^~~~~~~~~~ disasm.c:549:17: note: 'wheretoread' was declared here 549 | eresi_Addr wheretoread; | ^~~~~~~~~~~ disasm.c:701:6: warning: 'value' may be used uninitialized [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized8;;] 701 | if (value == ESTD_DISASM_FAILED) | ^ disasm.c:546:17: note: 'value' was declared here 546 | int value; | ^~~~~ disasm.c: In function 'revm_object_display': disasm.c:686:23: warning: 'wheretoread' may be used uninitialized [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized8;;] 686 | wheretoread += readnow; | ~~~~~~~~~~~~^~~~~~~~~~ disasm.c:549:17: note: 'wheretoread' was declared here 549 | eresi_Addr wheretoread; | ^~~~~~~~~~~ disasm.c:701:6: warning: 'value' may be used uninitialized [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized8;;] 701 | if (value == ESTD_DISASM_FAILED) | ^ disasm.c:546:17: note: 'value' was declared here 546 | int value; | ^~~~~ gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libetrace/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -I../../librevm/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o dtors.64.o dtors.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libetrace/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -I../../librevm/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o dtors.32.o dtors.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libetrace/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -I../../librevm/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o dyn.64.o dyn.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libetrace/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -I../../librevm/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o dyn.32.o dyn.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libetrace/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -I../../librevm/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o findrel.64.o findrel.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libetrace/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -I../../librevm/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o findrel.32.o findrel.c findrel.c: In function 'cmd_findrel': findrel.c:189:23: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 189 | dword = (u_int) data + cur->rel[index].off_src; | ^ findrel.c: In function 'cmd_findrel': findrel.c:189:23: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 189 | dword = (u_int) data + cur->rel[index].off_src; | ^ gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libetrace/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -I../../librevm/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o flush.64.o flush.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libetrace/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -I../../librevm/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o flush.32.o flush.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libetrace/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -I../../librevm/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o got.32.o got.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libetrace/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -I../../librevm/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o got.64.o got.c got.c: In function 'cmd_got': got.c:57:19: warning: the comparison will always evaluate as 'true' for the address of 'off' will never be NULL [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Waddress-Waddress8;;] 57 | if (off != NULL) | ^~ got.c:24:17: note: 'off' declared here 24 | char off[50]; | ^~~ got.c: In function 'cmd_got': got.c:57:19: warning: the comparison will always evaluate as 'true' for the address of 'off' will never be NULL [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Waddress-Waddress8;;] 57 | if (off != NULL) | ^~ got.c:24:17: note: 'off' declared here 24 | char off[50]; | ^~~ gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libetrace/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -I../../librevm/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o hash.32.o hash.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libetrace/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -I../../librevm/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o hash.64.o hash.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libetrace/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -I../../librevm/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o hdr.32.o hdr.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libetrace/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -I../../librevm/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o hdr.64.o hdr.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libetrace/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -I../../librevm/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o interp.32.o interp.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libetrace/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -I../../librevm/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o interp.64.o interp.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libetrace/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -I../../librevm/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o notes.32.o notes.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libetrace/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -I../../librevm/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o notes.64.o notes.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libetrace/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -I../../librevm/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o pht.32.o pht.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libetrace/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -I../../librevm/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o pht.64.o pht.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libetrace/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -I../../librevm/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o rel.32.o rel.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libetrace/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -I../../librevm/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o rel.64.o rel.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libetrace/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -I../../librevm/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o sht.32.o sht.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libetrace/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -I../../librevm/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o sht.64.o sht.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libetrace/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -I../../librevm/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o sym.32.o sym.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libetrace/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -I../../librevm/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o version.32.o version.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libetrace/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -I../../librevm/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o sym.64.o sym.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libetrace/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -I../../librevm/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o version.64.o version.c ld -r comment.32.o ctors.32.o core.32.o data.32.o deps.32.o disasm.32.o dtors.32.o dyn.32.o findrel.32.o flush.32.o got.32.o hash.32.o hdr.32.o interp.32.o notes.32.o pht.32.o rel.32.o sht.32.o sym.32.o version.32.o -o ../std-elf.32.o make[2]: Leaving directory '/build/source/libstderesi/elf' make -C cmd all32 make[2]: Entering directory '/build/source/libstderesi/cmd' gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -I../../libetrace/include -I../../librevm/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o cat.32.o cat.c ld -r comment.64.o ctors.64.o core.64.o data.64.o deps.64.o disasm.64.o dtors.64.o dyn.64.o findrel.64.o flush.64.o got.64.o hash.64.o hdr.64.o interp.64.o notes.64.o pht.64.o rel.64.o sht.64.o sym.64.o version.64.o -o ../std-elf.64.o gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -I../../libetrace/include -I../../librevm/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o help.32.o help.c make[2]: Leaving directory '/build/source/libstderesi/elf' make -C cmd all64 make[2]: Entering directory '/build/source/libstderesi/cmd' gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../elibc/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -I../../libetrace/include -I../../librevm/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o cat.64.o cat.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../elibc/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -I../../libetrace/include -I../../librevm/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o help.64.o help.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -I../../libetrace/include -I../../librevm/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o prefixes.32.o prefixes.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../elibc/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -I../../libetrace/include -I../../librevm/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o prefixes.64.o prefixes.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -I../../libetrace/include -I../../librevm/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o profile.32.o profile.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../elibc/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -I../../libetrace/include -I../../librevm/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o profile.64.o profile.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -I../../libetrace/include -I../../librevm/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o source.32.o source.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../elibc/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -I../../libetrace/include -I../../librevm/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o source.64.o source.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -I../../libetrace/include -I../../librevm/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o info.32.o info.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../elibc/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -I../../libetrace/include -I../../librevm/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o info.64.o info.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -I../../libetrace/include -I../../librevm/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o net.32.o net.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../elibc/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -I../../libetrace/include -I../../librevm/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o net.64.o net.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -I../../libetrace/include -I../../librevm/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o print.32.o print.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../elibc/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -I../../libetrace/include -I../../librevm/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o print.64.o print.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../elibc/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -I../../libetrace/include -I../../librevm/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o quit.64.o quit.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -I../../libetrace/include -I../../librevm/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o quit.32.o quit.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../elibc/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -I../../libetrace/include -I../../librevm/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o script.64.o script.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -I../../libetrace/include -I../../librevm/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o script.32.o script.c script.c: In function 'cmd_script': script.c:25:26: warning: variable 'cmd' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 25 | revmargv_t *cmd; | ^~~ script.c: In function 'cmd_script': script.c:25:26: warning: variable 'cmd' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 25 | revmargv_t *cmd; | ^~~ gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -I../../libetrace/include -I../../librevm/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o utils.32.o utils.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../elibc/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -I../../libetrace/include -I../../librevm/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o utils.64.o utils.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -I../../libetrace/include -I../../librevm/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o configure.32.o configure.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../elibc/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -I../../libetrace/include -I../../librevm/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o configure.64.o configure.c configure.c: In function 'cmd_configure': configure.c:57:31: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 57 | (void *) atoi(world.curjob->curcmd->param[1])); | ^ configure.c: In function 'cmd_configure': configure.c:57:31: warning: cast to pointer from integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast8;;] 57 | (void *) atoi(world.curjob->curcmd->param[1])); | ^ gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -I../../libetrace/include -I../../librevm/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o color.32.o color.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../elibc/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -I../../libetrace/include -I../../librevm/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o color.64.o color.c color.c: In function 'cmd_color': color.c:62:18: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 62 | icolor = (u_int) hash_get(&fg_color_hash, | ^ color.c:65:18: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 65 | icolor = (u_int) hash_get(&bg_color_hash, | ^ color.c: In function 'cmd_color': color.c:62:18: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 62 | icolor = (u_int) hash_get(&fg_color_hash, | ^ color.c:65:18: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 65 | icolor = (u_int) hash_get(&bg_color_hash, | ^ gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -I../../libetrace/include -I../../librevm/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o log.32.o log.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../elibc/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -I../../libetrace/include -I../../librevm/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o log.64.o log.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -I../../libetrace/include -I../../librevm/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o modules.32.o modules.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../elibc/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -I../../libetrace/include -I../../librevm/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o modules.64.o modules.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -I../../libetrace/include -I../../librevm/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o exec.32.o exec.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../elibc/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -I../../libetrace/include -I../../librevm/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o exec.64.o exec.c exec.c: In function 'cmd_exec': exec.c:25:7: warning: '__builtin___strncat_chk' specified bound 8096 equals destination size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation8;;] 25 | strncat (buf, world.curjob->curcmd->param[i], BUFSIZ); | ^ In file included from /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/string.h:548, from ../../librevm/include/revm.h:39, from ../include/libstderesi.h:44, from exec.c:9: In function 'strncat', inlined from 'cmd_exec' at exec.c:25:7: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/string_fortified.h:149:10: warning: '__builtin___strncat_chk' specified bound 8096 equals destination size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-overflow-Wstringop-overflow=8;;] 149 | return __builtin___strncat_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 150 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -I../../libetrace/include -I../../librevm/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o job.32.o job.c exec.c: In function 'cmd_exec': exec.c:25:7: warning: '__builtin___strncat_chk' specified bound 8096 equals destination size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation8;;] 25 | strncat (buf, world.curjob->curcmd->param[i], BUFSIZ); | ^ In file included from /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/string.h:548, from ../../librevm/include/revm.h:39, from ../include/libstderesi.h:44, from exec.c:9: In function 'strncat', inlined from 'cmd_exec' at exec.c:25:7: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/string_fortified.h:149:10: warning: '__builtin___strncat_chk' specified bound 8096 equals destination size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-overflow-Wstringop-overflow=8;;] 149 | return __builtin___strncat_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 150 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../elibc/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -I../../libetrace/include -I../../librevm/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o job.64.o job.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -I../../libetrace/include -I../../librevm/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o define.32.o define.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libui/include/ -DM32 -I../../libmjollnir/include/ -I../../libaspect/include/ -I../../libedfmt/include/ -I../../libetrace/include -I../../librevm/include/ -DERESI32 -I../../e2dbg/include/ -DUSE_READLN -c -o init.32.o init.c gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../elibc/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -I../../libetrace/include -I../../librevm/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o define.64.o define.c init.c: In function 'eresi_commands_init': init.c:333:36: error: passing argument 2 of 'revm_command_add' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;] 333 | revm_command_add(CMD_GRAPH , cmd_graph , revm_getvarparams, 1, HLP_GRAPH); | ^~~~~~~~~ | | | int (*)(void) In file included from ../include/libstderesi.h:44, from init.c:8: ../../librevm/include/revm.h:132:51: note: expected 'int (*)(void *, void *)' but argument is of type 'int (*)(void)' 132 | int revm_command_add(char *cmd, int (*exec)(void*,void*), void *reg, | ~~~~~~^~~~~~~~~~~~~~~~~~ init.c:334:36: error: passing argument 2 of 'revm_command_add' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;] 334 | revm_command_add(CMD_INSPECT , cmd_inspect , revm_getoption, 1, HLP_INSPECT); | ^~~~~~~~~~~ | | | int (*)(void) ../../librevm/include/revm.h:132:51: note: expected 'int (*)(void *, void *)' but argument is of type 'int (*)(void)' 132 | int revm_command_add(char *cmd, int (*exec)(void*,void*), void *reg, | ~~~~~~^~~~~~~~~~~~~~~~~~ init.c:335:36: error: passing argument 2 of 'revm_command_add' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;] 335 | revm_command_add(CMD_FLOWJACK , cmd_flowjack , revm_getoption2, 1, HLP_FLOWJACK); | ^~~~~~~~~~~~ | | | int (*)(void) ../../librevm/include/revm.h:132:51: note: expected 'int (*)(void *, void *)' but argument is of type 'int (*)(void)' 132 | int revm_command_add(char *cmd, int (*exec)(void*,void*), void *reg, | ~~~~~~^~~~~~~~~~~~~~~~~~ init.c:336:36: error: passing argument 2 of 'revm_command_add' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;] 336 | revm_command_add(CMD_ADDGOTO , cmd_addgoto , revm_getoption2, 1, HLP_ADDGOTO); | ^~~~~~~~~~~ | | | int (*)(void) ../../librevm/include/revm.h:132:51: note: expected 'int (*)(void *, void *)' but argument is of type 'int (*)(void)' 132 | int revm_command_add(char *cmd, int (*exec)(void*,void*), void *reg, | ~~~~~~^~~~~~~~~~~~~~~~~~ init.c:337:36: error: passing argument 2 of 'revm_command_add' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;] 337 | revm_command_add(CMD_SETGVL , cmd_setgvl , revm_getoption, 1, HLP_SETGVL); | ^~~~~~~~~~ | | | int (*)(void) ../../librevm/include/revm.h:132:51: note: expected 'int (*)(void *, void *)' but argument is of type 'int (*)(void)' 132 | int revm_command_add(char *cmd, int (*exec)(void*,void*), void *reg, | ~~~~~~^~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:55: init.32.o] Error 1 make[2]: Leaving directory '/build/source/libstderesi/cmd' make[1]: *** [Makefile:44: mod32] Error 2 make[1]: *** Waiting for unfinished jobs.... gcc -Wall -Werror=unused-variable -fPIC -g3 -Wall -I../include -rdynamic -I../../libelfsh/include/ -I../../elibc/include/ -I../../libdump/include/ -I../../libasm/include/ -I/usr/pkg/include/ -I../../libaspect/include/ -I../../libui/include/ -I../../libmjollnir/include/ -I../../libedfmt/include/ -I../../libetrace/include -I../../librevm/include/ -DERESI64 -DM32 -I../../e2dbg/include/ -DUSE_READLN -c -o init.64.o init.c init.c: In function 'eresi_commands_init': init.c:333:36: error: passing argument 2 of 'revm_command_add' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;] 333 | revm_command_add(CMD_GRAPH , cmd_graph , revm_getvarparams, 1, HLP_GRAPH); | ^~~~~~~~~ | | | int (*)(void) In file included from ../include/libstderesi.h:44, from init.c:8: ../../librevm/include/revm.h:132:51: note: expected 'int (*)(void *, void *)' but argument is of type 'int (*)(void)' 132 | int revm_command_add(char *cmd, int (*exec)(void*,void*), void *reg, | ~~~~~~^~~~~~~~~~~~~~~~~~ init.c:334:36: error: passing argument 2 of 'revm_command_add' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;] 334 | revm_command_add(CMD_INSPECT , cmd_inspect , revm_getoption, 1, HLP_INSPECT); | ^~~~~~~~~~~ | | | int (*)(void) ../../librevm/include/revm.h:132:51: note: expected 'int (*)(void *, void *)' but argument is of type 'int (*)(void)' 132 | int revm_command_add(char *cmd, int (*exec)(void*,void*), void *reg, | ~~~~~~^~~~~~~~~~~~~~~~~~ init.c:335:36: error: passing argument 2 of 'revm_command_add' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;] 335 | revm_command_add(CMD_FLOWJACK , cmd_flowjack , revm_getoption2, 1, HLP_FLOWJACK); | ^~~~~~~~~~~~ | | | int (*)(void) ../../librevm/include/revm.h:132:51: note: expected 'int (*)(void *, void *)' but argument is of type 'int (*)(void)' 132 | int revm_command_add(char *cmd, int (*exec)(void*,void*), void *reg, | ~~~~~~^~~~~~~~~~~~~~~~~~ init.c:336:36: error: passing argument 2 of 'revm_command_add' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;] 336 | revm_command_add(CMD_ADDGOTO , cmd_addgoto , revm_getoption2, 1, HLP_ADDGOTO); | ^~~~~~~~~~~ | | | int (*)(void) ../../librevm/include/revm.h:132:51: note: expected 'int (*)(void *, void *)' but argument is of type 'int (*)(void)' 132 | int revm_command_add(char *cmd, int (*exec)(void*,void*), void *reg, | ~~~~~~^~~~~~~~~~~~~~~~~~ init.c:337:36: error: passing argument 2 of 'revm_command_add' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;] 337 | revm_command_add(CMD_SETGVL , cmd_setgvl , revm_getoption, 1, HLP_SETGVL); | ^~~~~~~~~~ | | | int (*)(void) ../../librevm/include/revm.h:132:51: note: expected 'int (*)(void *, void *)' but argument is of type 'int (*)(void)' 132 | int revm_command_add(char *cmd, int (*exec)(void*,void*), void *reg, | ~~~~~~^~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:57: init.64.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/build/source/libstderesi/cmd' make[1]: *** [Makefile:63: mod64] Error 2 make[1]: Leaving directory '/build/source/libstderesi' make: *** [Makefile:73: world] Error 2