=>> Building devel/elfsh build started at Sat Apr 6 04:13:45 BST 2024 port directory: /usr/ports/devel/elfsh package name: elfsh-0.51b3_5 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 504 Mar 8 2023 /usr/ports/devel/elfsh/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: c014f9c79a Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 18 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 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.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/18/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 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=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=/ccache/libexec/ccache:/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 CCACHE_DIR="/root/.ccache" --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=/ccache/libexec/ccache:/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 -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" 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=13.2 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--- 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 #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---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 --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-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... 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-builder.dan.net.uk] Installing gmake-4.4.1... [pkg-builder.dan.net.uk] `-- Installing gettext-runtime-0.22.3_1... [pkg-builder.dan.net.uk] | `-- Installing indexinfo-0.3.1... [pkg-builder.dan.net.uk] | `-- Extracting indexinfo-0.3.1: . done [pkg-builder.dan.net.uk] `-- Extracting gettext-runtime-0.22.3_1: .......... done [pkg-builder.dan.net.uk] 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 =========================================================================== =================================================== ===== 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.2.10.pkg [pkg-builder.dan.net.uk] Installing readline-8.2.10... [pkg-builder.dan.net.uk] Extracting readline-8.2.10: .......... 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: 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 dynsym.o dynsym.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 elf.o elf.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 fixup.o fixup.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 got.o got.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] got = elfsh_get_got(file, &nbr); ^~~~ got.c:14:47: note: passing argument to parameter 'num' here u_long *elfsh_get_got(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 hash.o hash.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 interp.o interp.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 pht.o pht.c 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] (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] if (elfsh_get_pht(file, &nbr) == NULL) ^~~~ include/libelfsh.h:487:45: note: passing argument to parameter 'num' here 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 plt.o plt.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 section.o section.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 sht.o sht.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 error.o error.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 stab.o stab.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] &index, &strindex, &nbr); ^~~~~~ include/libelfsh.h:552:71: note: passing argument to parameter here 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] &index, &strindex, &nbr); ^~~~~~~~~ include/libelfsh.h:552:78: note: passing argument to parameter here 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] &index, &strindex, &nbr); ^~~~ include/libelfsh.h:552:85: note: passing argument to parameter here 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] return ((void *) ((int) (s->value))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. 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: 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] end = elfsh_get_dynsymbol_by_name(sect->parent, "_END_"); ^ symbol.c:230:3: note: previous statement is here 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] end = elfsh_get_symbol_by_name(sect->parent, "_END_"); ^ symbol.c:245:3: note: previous statement is here 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] 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] 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] actual = elfsh_get_section_by_type(file, SHT_SYMTAB, 0, NULL, NULL, &nbr); ^~~~ include/libelfsh.h:550:96: note: passing argument to parameter here elfshsect_t *elfsh_get_section_by_type(elfshobj_t *, u_int type, int range, int *, int *, int *); ^ 5 warnings generated. 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: 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 reloc.o reloc.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] 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] 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 blocks.o blocks.c 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] elfshblock_t *prev_fct; ^ 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 ctors.o ctors.c 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] ctors = elfsh_get_ctors(file, &nbr); ^~~~ ctors.c:12:49: note: passing argument to parameter 'num' here u_long *elfsh_get_ctors(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 dtors.o dtors.c 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] dtors = elfsh_get_dtors(file, &nbr); ^~~~ dtors.c:12:49: note: passing argument to parameter 'num' here 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 raw.o raw.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 map.o map.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 strtab.o strtab.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 sht_rebuild.o sht_rebuild.c 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] 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] if (!elfsh_get_pht(file, &num) || init_sht(file, num) < 0) ^~~~ include/libelfsh.h:487:45: note: passing argument to parameter 'num' here 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 comment.o comment.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] NULL, NULL, &size); ^~~~~ include/libelfsh.h:552:85: note: passing argument to parameter here 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 sym_common.o sym_common.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 hijack.o hijack.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 obj.o obj.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 pax.o pax.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 save.o save.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 copy.o copy.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 strip.o strip.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 remap.o remap.c cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] remap.c:314:26: warning: if statement has empty body [-Wempty-body] 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 -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] 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] if (elfsh_relocate_entry(new, cur, dword, addr) < 0) ^~~~~ relinject.c:192:58: note: passing argument to parameter 'dword' here u_long *dword, ^ relinject.c:331:9: warning: variable 'writable' set but not used [-Wunused-but-set-variable] 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] sym = elfsh_get_symtab(rel, &symnbr); ^~~~~~~ include/libelfsh.h:332:48: note: passing argument to parameter 'num' here void *elfsh_get_symtab(elfshobj_t *file, int *num); ^ 3 warnings 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: 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 debug.o debug.c 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] (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] (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] (u_int) actual->next, ^~~~~~~~~~~~~~~~~~~~ 3 warnings 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] 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] symtab = elfsh_get_symtab(rel, &size); ^~~~~ include/libelfsh.h:332:48: note: passing argument to parameter 'num' here void *elfsh_get_symtab(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 sort.o sort.c cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] 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: 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] char isptr; ^ 1 warning 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 disasm.o disasm.c 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] vaddr + index * sizeof(long), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ disasm.c:172:6: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] 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] sect = elfsh_get_parent_section(file, loff, &sct_index); ^~~~~~~~~~ ../libelfsh/include/libelfsh.h:553:74: note: passing argument to parameter 'offset' here 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] s = elfsh_reverse_symbol(file, loff, &idx_bytes); ^~~~~~~~~~ ../libelfsh/include/libelfsh.h:330:69: note: passing argument to parameter 'offset' here 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] s = elfsh_reverse_dynsymbol(file, loff, &idx_bytes); ^~~~~~~~~~ ../libelfsh/include/libelfsh.h:343:72: note: passing argument to parameter 'offset' here char *elfsh_reverse_dynsymbol(elfshobj_t *file, u_int sym_value, int *offset); ^ 5 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 dyn.o dyn.c 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 hdr.o hdr.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] name = elfsh_reverse_metasym(world.current, header->e_entry, &offset); ^~~~~~~ ../libelfsh/include/libelfsh.h:368:66: note: passing argument to parameter 'off' here 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] header->e_ehsize, (void *) header->e_entry, ^~~~~~~~~~~~~~~~~~~~~~~~ 2 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 main.o main.c 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 got.o got.c 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] if (off != NULL) ^~~ ~~~~ got.c:49:9: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] world.current->secthash[ELFSH_SECTION_GOT]->shdr->sh_addr + (index * sizeof(u_long)), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 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 interp.o interp.c 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 notes.o notes.c 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 pht.o pht.c 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 rel.o rel.c 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] (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] (void *) elfsh_get_reloffset(rel), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 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 sht.o sht.c 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] shdr = elfsh_get_sht(world.current, &num); ^~~~ ../libelfsh/include/libelfsh.h:436:45: note: passing argument to parameter 'num' here 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] 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] 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] if (!tmp || (tmp && !regexec(tmp, buff, 0, 0, 0))) ^ sht.c:73:8: note: previous statement is here 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 stab.o stab.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] entry = elfsh_get_stab(world.current, &num); ^~~~ ../libelfsh/include/libelfsh.h:428:46: note: passing argument to parameter 'num' here void *elfsh_get_stab(elfshobj_t *file, int *num); ^ 1 warning 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 sym.o sym.c 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] 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] 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] symtab = elfsh_get_symtab(world.current, &num); ^~~~ ../libelfsh/include/libelfsh.h:332:48: note: passing argument to parameter 'num' here 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] dynsym = elfsh_get_dynsymtab(world.current, &num); ^~~~ ../libelfsh/include/libelfsh.h:342:51: note: passing argument to parameter 'num' here 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 quit.o quit.c 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 data.o data.c 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 ctors.o ctors.c 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] if (off) ~~ ^~~ 1 warning 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 dtors.o dtors.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] if (off) ~~ ^~~ 1 warning 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 fileops.o fileops.c 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 comment.o comment.c 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 save.o save.c 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 load.o load.c 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 unload.o unload.c 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 list.o list.c 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 doswitch.o doswitch.c 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 tables.o tables.c 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 help.o help.c 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 info.o info.c 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] readln.c:46:24: warning: implicit declaration of function 'completion_matches' is invalid in C99 [-Wimplicit-function-declaration] matches = (char **)completion_matches (text, command_generator); ^ readln.c:46:15: warning: cast to 'char **' from smaller integer type 'int' [-Wint-to-pointer-cast] matches = (char **)completion_matches (text, command_generator); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 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 print.o print.c 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 lexer.o lexer.c 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] 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] argv = lexer_doargv(nbr, argc, buf); ^~~~ lexer.c:138:46: note: passing argument to parameter 'argc' here static char **lexer_doargv(u_int nbr, u_int *argc, char *buf) ^ 2 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: 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 atomic.o atomic.c 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 opt.o opt.c 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 implicit.o implicit.c 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 exec.o exec.c 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 modules.o modules.c 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: 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] dword = (u_int) cur->data + cur->rel[index].off_src; ^~~~~~~~~~~~~~~~~ 1 warning 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 objects.o objects.c 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 cmdapi.o cmdapi.c 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] if (needcur != (u_int) ELFSH_ORIG) ^~~~~~~~~~~~~~~~~~ 1 warning 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 filter.o filter.c 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] 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] 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] 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] memmove(ptr + 1, ptr + 3, (u_int) obj->immed_val.str + obj->size - (u_int) (ptr + 3)); ^~~~~~~~~~~~~~~~~ 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 reladd.o reladd.c 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 fcthijack.o fcthijack.c 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 -fstack-protector-strong -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: 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] 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] vm_setcmd(CMD_PRINT, cmd_print, ELFSH_ORIG, (u_int) ELFSH_ORIG); ^~~~~~~~~~~~~~~~~~ 2 warnings generated. 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] gmake[1]: Leaving directory '/wrkdirs/usr/ports/devel/elfsh/work/elfsh-0.51b3/modules' ELFsh modules suite built successfully. #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=2024-04-06T03:13:45+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=c014f9c79a' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' 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 Sat Apr 6 04:14:11 BST 2024 build time: 00:00:27