=>> Building devel/elfsh build started at Fri Mar 13 03:11:39 EDT 2026 port directory: /usr/ports/devel/elfsh package name: elfsh-0.51b3_5 building for: FreeBSD pkg.DaveG.ca 14.4-RELEASE FreeBSD 14.4-RELEASE 1404000 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 504 Aug 27 2024 /usr/ports/devel/elfsh/Makefile Ports top last git commit: 26b198eb3ee3 Ports top unclean checkout: no Port dir last git commit: fb16dfecae4a Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1404000 Job Id: 11 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1404000 UNAME_v=FreeBSD 14.4-RELEASE 1404000 UNAME_r=14.4-RELEASE BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_14_4_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_14_4_x64-HEAD-ALL/11/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_14_4_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_14_4_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=/usr/local/bin/gmake XDG_DATA_HOME=/wrkdirs/usr/ports/devel/elfsh/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/elfsh/work XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/elfsh/work/.cache HOME=/wrkdirs/usr/ports/devel/elfsh/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/elfsh/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/elfsh/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/devel/elfsh/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/elfsh/work XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/elfsh/work/.cache HOME=/wrkdirs/usr/ports/devel/elfsh/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/elfsh/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/elfsh/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-I/usr/local/include" LDFLAGS=" -L/usr/local/lib " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=14.4 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/elfsh" EXAMPLESDIR="share/examples/elfsh" DATADIR="share/elfsh" WWWDIR="www/elfsh" ETCDIR="etc/elfsh" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/elfsh DOCSDIR=/usr/local/share/doc/elfsh EXAMPLESDIR=/usr/local/share/examples/elfsh WWWDIR=/usr/local/www/elfsh ETCDIR=/usr/local/etc/elfsh --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The elfsh port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> elfsh-0.51b3_5 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.6.2.pkg [pkg.DaveG.ca] Installing pkg-2.6.2... [pkg.DaveG.ca] Extracting pkg-2.6.2: .......... done ===> elfsh-0.51b3_5 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of elfsh-0.51b3_5 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The elfsh port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by elfsh-0.51b3_5 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The elfsh port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by elfsh-0.51b3_5 for building => SHA256 Checksum OK for elfsh-0.51b3-portable.tgz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The elfsh port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by elfsh-0.51b3_5 for building ===> Extracting for elfsh-0.51b3_5 => SHA256 Checksum OK for elfsh-0.51b3-portable.tgz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for elfsh-0.51b3_5 ===> Applying FreeBSD patches for elfsh-0.51b3_5 from /usr/ports/devel/elfsh/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> elfsh-0.51b3_5 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [pkg.DaveG.ca] Installing gmake-4.4.1... [pkg.DaveG.ca] `-- Installing gettext-runtime-0.26... [pkg.DaveG.ca] | `-- Installing indexinfo-0.3.1_1... [pkg.DaveG.ca] | `-- Extracting indexinfo-0.3.1_1: . done [pkg.DaveG.ca] `-- Extracting gettext-runtime-0.26: .......... done [pkg.DaveG.ca] Extracting gmake-4.4.1: .......... done ===> elfsh-0.51b3_5 depends on package: gmake>=4.4.1 - found ===> Returning to build of elfsh-0.51b3_5 ===> elfsh-0.51b3_5 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> elfsh-0.51b3_5 depends on file: /usr/local/bin/ccache - found ===> Returning to build of elfsh-0.51b3_5 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> elfsh-0.51b3_5 depends on shared library: libreadline.so.8 - not found ===> Installing existing package /packages/All/readline-8.3.3.pkg [pkg.DaveG.ca] Installing readline-8.3.3... [pkg.DaveG.ca] Extracting readline-8.3.3: .......... done ===> elfsh-0.51b3_5 depends on shared library: libreadline.so.8 - found (/usr/local/lib/libreadline.so.8) ===> Returning to build of elfsh-0.51b3_5 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for elfsh-0.51b3_5 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for elfsh-0.51b3_5 Builting libelfsh... gmake[1]: Entering directory '/wrkdirs/usr/ports/devel/elfsh/work/elfsh-0.51b3/libelfsh' cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o dynamic.o dynamic.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o dynsym.o dynsym.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o elf.o elf.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o fixup.o fixup.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o got.o got.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o hash.o hash.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o interp.o interp.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o pht.o pht.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o plt.o plt.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o section.o section.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o sht.o sht.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o error.o error.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o stab.o stab.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o symbol.o symbol.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o notes.o notes.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o reloc.o reloc.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o blocks.o blocks.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o ctors.o ctors.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o dtors.o dtors.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o raw.o raw.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o map.o map.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o strtab.o strtab.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o sht_rebuild.o sht_rebuild.c cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o comment.o comment.c cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] got.c:109:29: warning: passing 'u_int *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 109 | got = elfsh_get_got(file, &nbr); | ^~~~ got.c:14:47: note: passing argument to parameter 'num' here 14 | u_long *elfsh_get_got(elfshobj_t *file, int *num) | ^ 1 warning generated. cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o sym_common.o sym_common.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o hijack.o hijack.c cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o obj.o obj.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o pax.o pax.c cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] stab.c:50:12: warning: passing 'u_int *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 50 | &index, &strindex, &nbr); | ^~~~~~ include/libelfsh.h:552:71: note: passing argument to parameter here 552 | elfshsect_t *elfsh_get_section_by_name(elfshobj_t *, char *name, int *, int *, int *); | ^ stab.c:50:20: warning: passing 'u_int *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 50 | &index, &strindex, &nbr); | ^~~~~~~~~ include/libelfsh.h:552:78: note: passing argument to parameter here 552 | elfshsect_t *elfsh_get_section_by_name(elfshobj_t *, char *name, int *, int *, int *); | ^ stab.c:50:31: warning: passing 'u_int *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 50 | &index, &strindex, &nbr); | ^~~~ include/libelfsh.h:552:85: note: passing argument to parameter here 552 | elfshsect_t *elfsh_get_section_by_name(elfshobj_t *, char *name, int *, int *, int *); | ^ stab.c:89:11: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 89 | return ((void *) ((int) (s->value))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] blocks.c:17:18: warning: variable 'prev_fct' set but not used [-Wunused-but-set-variable] 17 | elfshblock_t *prev_fct; | ^ 1 warning generated. cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] pht.c:221:65: warning: result of comparison of constant 0 with boolean expression is always false [-Wtautological-constant-compare] 221 | (NULL == new->parent->pht && elfsh_load_pht(new->parent)) < 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ pht.c:252:27: warning: passing 'u_int *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 252 | if (elfsh_get_pht(file, &nbr) == NULL) | ^~~~ include/libelfsh.h:487:45: note: passing argument to parameter 'num' here 487 | void *elfsh_get_pht(elfshobj_t *file, int *num); | ^ 2 warnings generated. cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] ctors.c:106:33: warning: passing 'u_int *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 106 | ctors = elfsh_get_ctors(file, &nbr); | ^~~~ ctors.c:12:49: note: passing argument to parameter 'num' here 12 | u_long *elfsh_get_ctors(elfshobj_t *file, int *num) | ^ 1 warning generated. cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] symbol.c:234:5: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 234 | end = elfsh_get_dynsymbol_by_name(sect->parent, "_END_"); | ^ symbol.c:230:3: note: previous statement is here 230 | if (end != NULL && sym->st_value + sym->st_size > end->st_value) | ^ symbol.c:249:5: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 249 | end = elfsh_get_symbol_by_name(sect->parent, "_END_"); | ^ symbol.c:245:3: note: previous statement is here 245 | if (end != NULL && sym->st_value + sym->st_size > end->st_value) | ^ symbol.c:280:14: warning: cast to smaller integer type 'u_int' (aka 'unsigned int') from 'Elf32_Sym *' [-Wpointer-to-int-cast] 280 | return (((u_int) orig - (u_int) sect->data) / ELFSH_SYMTAB_ENTRY_SIZE); | ^~~~~~~~~~~~ symbol.c:280:29: warning: cast to smaller integer type 'u_int' (aka 'unsigned int') from 'void *' [-Wvoid-pointer-to-int-cast] 280 | return (((u_int) orig - (u_int) sect->data) / ELFSH_SYMTAB_ENTRY_SIZE); | ^~~~~~~~~~~~~~~~~~ symbol.c:363:71: warning: passing 'u_int *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 363 | actual = elfsh_get_section_by_type(file, SHT_SYMTAB, 0, NULL, NULL, &nbr); | ^~~~ include/libelfsh.h:550:96: note: passing argument to parameter here 550 | elfshsect_t *elfsh_get_section_by_type(elfshobj_t *, u_int type, int range, int *, int *, int *); | ^ 5 warnings generated. cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] sht_rebuild.c:253:8: warning: variable 'flags' set but not used [-Wunused-but-set-variable] 253 | int flags; | ^ sht_rebuild.c:360:28: warning: passing 'u_int *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 360 | if (!elfsh_get_pht(file, &num) || init_sht(file, num) < 0) | ^~~~ include/libelfsh.h:487:45: note: passing argument to parameter 'num' here 487 | void *elfsh_get_pht(elfshobj_t *file, int *num); | ^ 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o save.o save.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o copy.o copy.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o strip.o strip.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o remap.o remap.c cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] reloc.c:307:34: warning: cast to smaller integer type 'u_int' (aka 'unsigned int') from 'char *' [-Wpointer-to-int-cast] 307 | vaddr = sect->shdr->sh_addr + (u_int) str - (u_int) sect->data; | ^~~~~~~~~~~ reloc.c:307:48: warning: cast to smaller integer type 'u_int' (aka 'unsigned int') from 'void *' [-Wvoid-pointer-to-int-cast] 307 | vaddr = sect->shdr->sh_addr + (u_int) str - (u_int) sect->data; | ^~~~~~~~~~~~~~~~~~ 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o relinject.o relinject.c cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] dtors.c:98:33: warning: passing 'u_int *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 98 | dtors = elfsh_get_dtors(file, &nbr); | ^~~~ dtors.c:12:49: note: passing argument to parameter 'num' here 12 | u_long *elfsh_get_dtors(elfshobj_t *file, int *num) | ^ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o sanitize.o sanitize.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o debug.o debug.c cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] comment.c:22:19: warning: passing 'u_int *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 22 | NULL, NULL, &size); | ^~~~~ include/libelfsh.h:552:85: note: passing argument to parameter here 552 | elfshsect_t *elfsh_get_section_by_name(elfshobj_t *, char *name, int *, int *, int *); | ^ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o bss.o bss.c cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o sort.o sort.c cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] debug.c:35:7: warning: cast to smaller integer type 'u_int' (aka 'unsigned int') from 'struct s_sect *' [-Wpointer-to-int-cast] 35 | (u_int) actual->prev, | ^~~~~~~~~~~~~~~~~~~~ debug.c:36:7: warning: cast to smaller integer type 'u_int' (aka 'unsigned int') from 'elfshsect_t *' (aka 'struct s_sect *') [-Wpointer-to-int-cast] 36 | (u_int) actual, | ^~~~~~~~~~~~~~ debug.c:37:7: warning: cast to smaller integer type 'u_int' (aka 'unsigned int') from 'struct s_sect *' [-Wpointer-to-int-cast] 37 | (u_int) actual->next, | ^~~~~~~~~~~~~~~~~~~~ 3 warnings generated. cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] bss.c:210:34: warning: passing 'u_int *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 210 | symtab = elfsh_get_symtab(rel, &size); | ^~~~~ include/libelfsh.h:332:48: note: passing argument to parameter 'num' here 332 | void *elfsh_get_symtab(elfshobj_t *file, int *num); | ^ 1 warning generated. cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] remap.c:314:26: warning: if statement has empty body [-Wempty-body] 314 | if (diff == (u_int) -1); | ^ remap.c:314:26: note: put the semicolon on a separate line to silence this warning 1 warning generated. cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] relinject.c:316:42: warning: passing 'long *' to parameter of type 'u_long *' (aka 'unsigned long *') converts between pointers to integer types with different sign [-Wpointer-sign] 316 | if (elfsh_relocate_entry(new, cur, dword, addr) < 0) | ^~~~~ relinject.c:192:58: note: passing argument to parameter 'dword' here 192 | u_long *dword, | ^ relinject.c:331:9: warning: variable 'writable' set but not used [-Wunused-but-set-variable] 331 | char writable; | ^ relinject.c:433:31: warning: passing 'u_int *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 433 | sym = elfsh_get_symtab(rel, &symnbr); | ^~~~~~~ include/libelfsh.h:332:48: note: passing argument to parameter 'num' here 332 | void *elfsh_get_symtab(elfshobj_t *file, int *num); | ^ 3 warnings generated. gmake[1]: Leaving directory '/wrkdirs/usr/ports/devel/elfsh/work/elfsh-0.51b3/libelfsh' Libelfsh has been built successfully. Builting libhashelfsh... Libhash has been built successfully. Builting ELFsh... gmake[1]: Entering directory '/wrkdirs/usr/ports/devel/elfsh/work/elfsh-0.51b3/vm' cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o grammar.o grammar.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o disasm.o disasm.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o dyn.o dyn.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o hdr.o hdr.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o main.o main.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o got.o got.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o interp.o interp.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o notes.o notes.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o pht.o pht.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o rel.o rel.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o sht.o sht.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o stab.o stab.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o sym.o sym.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o quit.o quit.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o data.o data.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o ctors.o ctors.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o dtors.o dtors.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o fileops.o fileops.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o comment.o comment.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o save.o save.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o load.o load.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o unload.o unload.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o list.o list.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o doswitch.o doswitch.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o tables.o tables.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o help.o help.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o info.o info.c cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] stab.c:25:41: warning: passing 'u_int *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 25 | entry = elfsh_get_stab(world.current, &num); | ^~~~ ../libelfsh/include/libelfsh.h:428:46: note: passing argument to parameter 'num' here 428 | void *elfsh_get_stab(elfshobj_t *file, int *num); | ^ 1 warning generated. cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] grammar.c:21:10: warning: variable 'isptr' set but not used [-Wunused-but-set-variable] 21 | char isptr; | ^ 1 warning generated. cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] rel.c:110:8: warning: cast to 'void *' from smaller integer type 'Elf32_Addr' (aka 'unsigned int') [-Wint-to-void-pointer-cast] 110 | (void *) elfsh_get_reloffset(rel), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rel.c:117:8: warning: cast to 'void *' from smaller integer type 'Elf32_Addr' (aka 'unsigned int') [-Wint-to-void-pointer-cast] 117 | (void *) elfsh_get_reloffset(rel), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] got.c:44:11: warning: comparison of array 'off' not equal to a null pointer is always true [-Wtautological-pointer-compare] 44 | if (off != NULL) | ^~~ ~~~~ got.c:49:9: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] 48 | snprintf(buff, sizeof(buff), " [%08X:%5u] 0x%08X \t <%s%s>", | ~~~~ | %08lX 49 | world.current->secthash[ELFSH_SECTION_GOT]->shdr->sh_addr + (index * sizeof(u_long)), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o readln.o readln.c cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o print.o print.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o lexer.o lexer.c cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] hdr.c:74:64: warning: passing 'u_int *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 74 | name = elfsh_reverse_metasym(world.current, header->e_entry, &offset); | ^~~~~~~ ../libelfsh/include/libelfsh.h:368:66: note: passing argument to parameter 'off' here 368 | char *elfsh_reverse_metasym(elfshobj_t *file, u_int vaddr, int *off); | ^ hdr.c:115:21: warning: cast to 'void *' from smaller integer type 'Elf32_Addr' (aka 'unsigned int') [-Wint-to-void-pointer-cast] 115 | header->e_ehsize, (void *) header->e_entry, | ^~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] ctors.c:45:11: warning: address of array 'off' will always evaluate to 'true' [-Wpointer-bool-conversion] 45 | if (off) | ~~ ^~~ 1 warning generated. cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] sym.c:96:13: warning: cast to 'void *' from smaller integer type 'Elf32_Addr' (aka 'unsigned int') [-Wint-to-void-pointer-cast] 96 | index, (void *) elfsh_get_symbol_value(table + index), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sym.c:107:13: warning: cast to 'void *' from smaller integer type 'Elf32_Addr' (aka 'unsigned int') [-Wint-to-void-pointer-cast] 107 | index, (void *) elfsh_get_symbol_value(table + index), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sym.c:134:44: warning: passing 'u_int *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 134 | symtab = elfsh_get_symtab(world.current, &num); | ^~~~ ../libelfsh/include/libelfsh.h:332:48: note: passing argument to parameter 'num' here 332 | void *elfsh_get_symtab(elfshobj_t *file, int *num); | ^ sym.c:154:47: warning: passing 'u_int *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 154 | dynsym = elfsh_get_dynsymtab(world.current, &num); | ^~~~ ../libelfsh/include/libelfsh.h:342:51: note: passing argument to parameter 'num' here 342 | void *elfsh_get_dynsymtab(elfshobj_t *file, int *num); | ^ 4 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o misc.o misc.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o atomic.o atomic.c cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] disasm.c:171:6: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] 170 | snprintf(buf, sizeof(buf), " %08X [foff: %u] \t %s[%0*u] = %08X", | ~~~~ | %08lX 171 | vaddr + index * sizeof(long), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ disasm.c:172:6: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] 170 | snprintf(buf, sizeof(buf), " %08X [foff: %u] \t %s[%0*u] = %08X", | ~~ | %lu 171 | vaddr + index * sizeof(long), 172 | foffset + index * sizeof(long), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ disasm.c:180:48: warning: passing 'u_int *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 180 | sect = elfsh_get_parent_section(file, loff, &sct_index); | ^~~~~~~~~~ ../libelfsh/include/libelfsh.h:553:74: note: passing argument to parameter 'offset' here 553 | elfshsect_t *elfsh_get_parent_section(elfshobj_t *file, u_int addr, int *offset); | ^ disasm.c:188:45: warning: passing 'u_int *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 188 | s = elfsh_reverse_symbol(file, loff, &idx_bytes); | ^~~~~~~~~~ ../libelfsh/include/libelfsh.h:330:69: note: passing argument to parameter 'offset' here 330 | char *elfsh_reverse_symbol(elfshobj_t *file, u_int sym_value, int *offset); | ^ disasm.c:190:43: warning: passing 'u_int *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 190 | s = elfsh_reverse_dynsymbol(file, loff, &idx_bytes); | ^~~~~~~~~~ ../libelfsh/include/libelfsh.h:343:72: note: passing argument to parameter 'offset' here 343 | char *elfsh_reverse_dynsymbol(elfshobj_t *file, u_int sym_value, int *offset); | ^ 5 warnings generated. cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] sht.c:25:40: warning: passing 'u_int *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 25 | shdr = elfsh_get_sht(world.current, &num); | ^~~~ ../libelfsh/include/libelfsh.h:436:45: note: passing argument to parameter 'num' here 436 | void *elfsh_get_sht(elfshobj_t *file, int *num); | ^ sht.c:57:12: warning: cast to 'void *' from smaller integer type 'Elf32_Addr' (aka 'unsigned int') [-Wint-to-void-pointer-cast] 57 | index, (void *) elfsh_get_section_addr(shdr + index), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sht.c:76:12: warning: cast to 'void *' from smaller integer type 'Elf32_Addr' (aka 'unsigned int') [-Wint-to-void-pointer-cast] 76 | index, (void *) elfsh_get_section_addr(shdr + index), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sht.c:89:3: warning: misleading indentation; statement is not part of the previous 'else' [-Wmisleading-indentation] 89 | if (!tmp || (tmp && !regexec(tmp, buff, 0, 0, 0))) | ^ sht.c:73:8: note: previous statement is here 73 | else | ^ 4 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o opt.o opt.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o implicit.o implicit.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o exec.o exec.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o modules.o modules.c cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] dtors.c:45:11: warning: address of array 'off' will always evaluate to 'true' [-Wpointer-bool-conversion] 45 | if (off) | ~~ ^~~ 1 warning generated. cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o findrel.o findrel.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o objects.o objects.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o cmdapi.o cmdapi.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o filter.o filter.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o reladd.o reladd.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -rdynamic -fPIC -g3 -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -DUSE_READLN -I/usr/local/include -c -o fcthijack.o fcthijack.c cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] readln.c:46:24: warning: call to undeclared function 'completion_matches'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 46 | matches = (char **)completion_matches (text, command_generator); | ^ readln.c:46:15: warning: cast to 'char **' from smaller integer type 'int' [-Wint-to-pointer-cast] 46 | matches = (char **)completion_matches (text, command_generator); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] filter.c:25:30: warning: cast to smaller integer type 'u_int' (aka 'unsigned int') from 'char *' [-Wpointer-to-int-cast] 25 | memmove(ptr + 1, ptr + 4, (u_int) obj->immed_val.str + obj->size - (u_int) (ptr + 4)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ filter.c:25:71: warning: cast to smaller integer type 'u_int' (aka 'unsigned int') from 'char *' [-Wpointer-to-int-cast] 25 | memmove(ptr + 1, ptr + 4, (u_int) obj->immed_val.str + obj->size - (u_int) (ptr + 4)); | ^~~~~~~~~~~~~~~~~ filter.c:35:30: warning: cast to smaller integer type 'u_int' (aka 'unsigned int') from 'char *' [-Wpointer-to-int-cast] 35 | memmove(ptr + 1, ptr + 3, (u_int) obj->immed_val.str + obj->size - (u_int) (ptr + 3)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ filter.c:35:71: warning: cast to smaller integer type 'u_int' (aka 'unsigned int') from 'char *' [-Wpointer-to-int-cast] 35 | memmove(ptr + 1, ptr + 3, (u_int) obj->immed_val.str + obj->size - (u_int) (ptr + 3)); | ^~~~~~~~~~~~~~~~~ 4 warnings generated. cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] lexer.c:96:8: warning: variable 'index' set but not used [-Wunused-but-set-variable] 96 | int index; | ^ lexer.c:197:28: warning: passing 'int *' to parameter of type 'u_int *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 197 | argv = lexer_doargv(nbr, argc, buf); | ^~~~ lexer.c:138:46: note: passing argument to parameter 'argc' here 138 | static char **lexer_doargv(u_int nbr, u_int *argc, char *buf) | ^ 2 warnings generated. cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cmdapi.c:43:18: warning: cast to smaller integer type 'u_int' (aka 'unsigned int') from 'void *' [-Wvoid-pointer-to-int-cast] 43 | if (needcur != (u_int) ELFSH_ORIG) | ^~~~~~~~~~~~~~~~~~ 1 warning generated. cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] findrel.c:163:16: warning: cast to smaller integer type 'u_int' (aka 'unsigned int') from 'void *' [-Wvoid-pointer-to-int-cast] 163 | dword = (u_int) cur->data + cur->rel[index].off_src; | ^~~~~~~~~~~~~~~~~ 1 warning generated. cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] cc grammar.o disasm.o dyn.o hdr.o main.o got.o interp.o notes.o pht.o rel.o sht.o stab.o sym.o quit.o data.o ctors.o dtors.o fileops.o comment.o save.o load.o unload.o list.o doswitch.o tables.o help.o info.o readln.o print.o lexer.o misc.o atomic.o opt.o implicit.o exec.o modules.o findrel.o objects.o cmdapi.o filter.o reladd.o fcthijack.o -o elfsh -L/usr/local/lib -L../libelfsh/ -lelfsh -L../libhash/ -lhashelfsh -rdynamic -g3 -lreadline -lncurses gmake[1]: Leaving directory '/wrkdirs/usr/ports/devel/elfsh/work/elfsh-0.51b3/vm' ELFsh has been built successfully. Building ELFsh modules suite... gmake[1]: Entering directory '/wrkdirs/usr/ports/devel/elfsh/work/elfsh-0.51b3/modules' cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I../vm/include/ -I../libhash/include/ -I../libelfsh/include/ -Wall -g3 -fPIC -rdynamic -DELFSH_INTERN -I/usr/local/include -c -o modtest.o modtest.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I../vm/include/ -I../libhash/include/ -I../libelfsh/include/ -Wall -g3 -fPIC -rdynamic -DELFSH_INTERN -I/usr/local/include -c -o modremap.o modremap.c cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] modtest.c:26:50: warning: cast to smaller integer type 'u_int' (aka 'unsigned int') from 'void *' [-Wvoid-pointer-to-int-cast] 26 | vm_setcmd(CMD_PRINT, my_cmd_print, ELFSH_ORIG, (u_int) ELFSH_ORIG); | ^~~~~~~~~~~~~~~~~~ modtest.c:33:47: warning: cast to smaller integer type 'u_int' (aka 'unsigned int') from 'void *' [-Wvoid-pointer-to-int-cast] 33 | vm_setcmd(CMD_PRINT, cmd_print, ELFSH_ORIG, (u_int) ELFSH_ORIG); | ^~~~~~~~~~~~~~~~~~ 2 warnings generated. cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] gmake[1]: Leaving directory '/wrkdirs/usr/ports/devel/elfsh/work/elfsh-0.51b3/modules' ELFsh modules suite built successfully. #/usr/local/bin/gmake -s tags =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for elfsh-0.51b3_5 ===> Generating temporary packing list ELFsh and Libelfsh installed successfully . ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2026-03-13T07:11:39+0000' 'PKG_NOTE_ports_top_git_hash=26b198eb3ee3' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=fb16dfecae4a' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for elfsh-0.51b3_5 ===> Building elfsh-0.51b3_5 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for elfsh-0.51b3_5 build of devel/elfsh | elfsh-0.51b3_5 ended at Fri Mar 13 03:12:28 EDT 2026 build time: 00:00:49