=> Building devel/elfsh Started : Thursday, 30 AUG 2018 at 14:50:19 UTC Platform: 5.3-DEVELOPMENT DragonFly 5.3-DEVELOPMENT #140: Wed Aug 29 22:06:30 PDT 2018 root@test.backplane.com:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.3-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.3-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- MAKE=gmake XDG_DATA_HOME=/construction/devel/elfsh XDG_CONFIG_HOME=/construction/devel/elfsh HOME=/construction/devel/elfsh TMPDIR="/tmp" PATH=/construction/devel/elfsh/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/devel/elfsh XDG_CONFIG_HOME=/construction/devel/elfsh HOME=/construction/devel/elfsh TMPDIR="/tmp" PATH=/construction/devel/elfsh/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="-I/usr/local/include" LDFLAGS=" -L/usr/local/lib -Wl,-rpath=/usr/local/lib -L/usr/local/lib" LIBS="" CXX="c++" CXXFLAGS=" -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" 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" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/devel/elfsh/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" OSREL=5.3 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/elfsh" EXAMPLESDIR="share/examples/elfsh" DATADIR="share/elfsh" WWWDIR="www/elfsh" ETCDIR="etc/elfsh" -------------------------------------------------- -- 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 -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=LiveSystem USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=12 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=32 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500316 OSVERSION=9999999 OSREL=5.3 _OSRELEASE=5.3-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> elfsh-0.51b3_4 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_1.txz Installing pkg-1.10.5_1... Extracting pkg-1.10.5_1: .......... done ===> elfsh-0.51b3_4 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of elfsh-0.51b3_4 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by elfsh-0.51b3_4 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by elfsh-0.51b3_4 for building => SHA256 Checksum OK for elfsh-0.51b3-portable.tgz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by elfsh-0.51b3_4 for building ===> Extracting for elfsh-0.51b3_4 => SHA256 Checksum OK for elfsh-0.51b3-portable.tgz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for elfsh-0.51b3_4 ===> Applying ports patches for elfsh-0.51b3_4 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> elfsh-0.51b3_4 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_2.txz Installing gmake-4.2.1_2... `-- Installing gettext-runtime-0.19.8.1_1... | `-- Installing indexinfo-0.3.1... | `-- Extracting indexinfo-0.3.1: .... done `-- Extracting gettext-runtime-0.19.8.1_1: .......... done Extracting gmake-4.2.1_2: .......... done ===> elfsh-0.51b3_4 depends on executable: gmake - found ===> Returning to build of elfsh-0.51b3_4 ===> elfsh-0.51b3_4 depends on file: /usr/local/lib/libncurses.so.6 - not found ===> Installing existing package /packages/All/ncurses-6.0.0s20171223_1.txz Installing ncurses-6.0.0s20171223_1... Extracting ncurses-6.0.0s20171223_1: .......... done ===> elfsh-0.51b3_4 depends on file: /usr/local/lib/libncurses.so.6 - found ===> Returning to build of elfsh-0.51b3_4 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> elfsh-0.51b3_4 depends on shared library: libreadline.so.7 - not found ===> Installing existing package /packages/All/readline-7.0.3_1.txz Installing readline-7.0.3_1... Extracting readline-7.0.3_1: .......... done ===> elfsh-0.51b3_4 depends on shared library: libreadline.so.7 - found (/usr/local/lib/libreadline.so.7) ===> Returning to build of elfsh-0.51b3_4 -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for elfsh-0.51b3_4 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for elfsh-0.51b3_4 gmake[1]: Entering directory '/construction/devel/elfsh/elfsh-0.51b3' Builting libelfsh... gmake[2]: Entering directory '/construction/devel/elfsh/elfsh-0.51b3/libelfsh' cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o dynamic.o dynamic.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o dynsym.o dynsym.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o elf.o elf.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o fixup.o fixup.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o got.o got.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o hash.o hash.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o interp.o interp.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o pht.o pht.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o plt.o plt.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o section.o section.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o sht.o sht.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o error.o error.c sht.c: In function 'elfsh_sort_sht': sht.c:81:39: warning: operation on 'actual->prev' may be undefined [-Wsequence-point] actual->prev->next = actual->prev = actual->next; ^ sht.c: In function 'elfsh_get_sht_entry_by_name': sht.c:762:11: warning: variable 'index' set but not used [-Wunused-but-set-variable] u_int index; ^ got.c: In function 'elfsh_get_got_entry_by_name': got.c:109:29: warning: pointer targets in passing argument 2 of 'elfsh_get_got' differ in signedness [-Wpointer-sign] got = elfsh_get_got(file, &nbr); ^ got.c:14:10: note: expected 'int *' but argument is of type 'u_int * {aka unsigned int *}' u_long *elfsh_get_got(elfshobj_t *file, int *num) ^ pht.c: In function 'elfsh_get_object_baseaddr': pht.c:252:27: warning: pointer targets in passing argument 2 of 'elfsh_get_pht' differ in signedness [-Wpointer-sign] if (elfsh_get_pht(file, &nbr) == NULL) ^ In file included from pht.c:7:0: include/libelfsh.h:487:8: note: expected 'int *' but argument is of type 'u_int * {aka unsigned int *}' void *elfsh_get_pht(elfshobj_t *file, int *num); ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o stab.o stab.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o symbol.o symbol.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o notes.o notes.c stab.c: In function 'elfsh_get_stab': stab.c:50:12: warning: pointer targets in passing argument 3 of 'elfsh_get_section_by_name' differ in signedness [-Wpointer-sign] &index, &strindex, &nbr); ^ In file included from stab.c:7:0: include/libelfsh.h:552:14: note: expected 'int *' but argument is of type 'u_int * {aka unsigned int *}' elfshsect_t *elfsh_get_section_by_name(elfshobj_t *, char *name, int *, int *, int *); ^ stab.c:50:20: warning: pointer targets in passing argument 4 of 'elfsh_get_section_by_name' differ in signedness [-Wpointer-sign] &index, &strindex, &nbr); ^ In file included from stab.c:7:0: include/libelfsh.h:552:14: note: expected 'int *' but argument is of type 'u_int * {aka unsigned int *}' elfshsect_t *elfsh_get_section_by_name(elfshobj_t *, char *name, int *, int *, int *); ^ stab.c:50:31: warning: pointer targets in passing argument 5 of 'elfsh_get_section_by_name' differ in signedness [-Wpointer-sign] &index, &strindex, &nbr); ^ In file included from stab.c:7:0: include/libelfsh.h:552:14: note: expected 'int *' but argument is of type 'u_int * {aka unsigned int *}' elfshsect_t *elfsh_get_section_by_name(elfshobj_t *, char *name, int *, int *, int *); ^ stab.c: In function 'elfsh_get_stab_offset': stab.c:89:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return ((void *) ((int) (s->value))); ^ symbol.c: In function 'elfsh_insert_symbol': symbol.c:280:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return (((u_int) orig - (u_int) sect->data) / ELFSH_SYMTAB_ENTRY_SIZE); ^ symbol.c:280:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return (((u_int) orig - (u_int) sect->data) / ELFSH_SYMTAB_ENTRY_SIZE); ^ symbol.c: In function 'elfsh_shift_symtab': symbol.c:363:71: warning: pointer targets in passing argument 6 of 'elfsh_get_section_by_type' differ in signedness [-Wpointer-sign] actual = elfsh_get_section_by_type(file, SHT_SYMTAB, 0, NULL, NULL, &nbr); ^ In file included from symbol.c:7:0: include/libelfsh.h:550:14: note: expected 'int *' but argument is of type 'u_int * {aka unsigned int *}' elfshsect_t *elfsh_get_section_by_type(elfshobj_t *, u_int type, int range, int *, int *, int *); ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o reloc.o reloc.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o blocks.o blocks.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o ctors.o ctors.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o dtors.o dtors.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o raw.o raw.c blocks.c: In function 'elfsh_scan_blocks': blocks.c:17:18: warning: variable 'prev_fct' set but not used [-Wunused-but-set-variable] elfshblock_t *prev_fct; ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o map.o map.c reloc.c: In function 'elfsh_find_rel': reloc.c:307:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] vaddr = sect->shdr->sh_addr + (u_int) str - (u_int) sect->data; ^ reloc.c:307:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] vaddr = sect->shdr->sh_addr + (u_int) str - (u_int) sect->data; ^ dtors.c: In function 'elfsh_get_dtors_entry_by_name': dtors.c:98:33: warning: pointer targets in passing argument 2 of 'elfsh_get_dtors' differ in signedness [-Wpointer-sign] dtors = elfsh_get_dtors(file, &nbr); ^ dtors.c:12:10: note: expected 'int *' but argument is of type 'u_int * {aka unsigned int *}' u_long *elfsh_get_dtors(elfshobj_t *file, int *num) ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o strtab.o strtab.c ctors.c: In function 'elfsh_get_ctors_entry_by_name': ctors.c:106:33: warning: pointer targets in passing argument 2 of 'elfsh_get_ctors' differ in signedness [-Wpointer-sign] ctors = elfsh_get_ctors(file, &nbr); ^ ctors.c:12:10: note: expected 'int *' but argument is of type 'u_int * {aka unsigned int *}' u_long *elfsh_get_ctors(elfshobj_t *file, int *num) ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o sht_rebuild.o sht_rebuild.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o comment.o comment.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o sym_common.o sym_common.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o hijack.o hijack.c comment.c: In function 'elfsh_get_comments': comment.c:22:19: warning: pointer targets in passing argument 5 of 'elfsh_get_section_by_name' differ in signedness [-Wpointer-sign] NULL, NULL, &size); ^ In file included from comment.c:10:0: include/libelfsh.h:552:14: note: expected 'int *' but argument is of type 'u_int * {aka unsigned int *}' elfshsect_t *elfsh_get_section_by_name(elfshobj_t *, char *name, int *, int *, int *); ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o obj.o obj.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o pax.o pax.c sht_rebuild.c: In function 'elfsh_rebuild_sht': sht_rebuild.c:360:28: warning: pointer targets in passing argument 2 of 'elfsh_get_pht' differ in signedness [-Wpointer-sign] if (!elfsh_get_pht(file, &num) || init_sht(file, num) < 0) ^ In file included from sht_rebuild.c:11:0: include/libelfsh.h:487:8: note: expected 'int *' but argument is of type 'u_int * {aka unsigned int *}' void *elfsh_get_pht(elfshobj_t *file, int *num); ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o save.o save.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o copy.o copy.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o strip.o strip.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o remap.o remap.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o relinject.o relinject.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o sanitize.o sanitize.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o debug.o debug.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o bss.o bss.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -rdynamic -Iinclude -Wall -fPIC -g3 -DELFSH_INTERN -I/usr/local/include -c -o sort.o sort.c relinject.c: In function 'elfsh_relocate_etrel_section': relinject.c:316:42: warning: pointer targets in passing argument 3 of 'elfsh_relocate_entry' differ in signedness [-Wpointer-sign] if (elfsh_relocate_entry(new, cur, dword, addr) < 0) ^ relinject.c:190:17: note: expected 'u_long * {aka long unsigned int *}' but argument is of type 'long int *' static int elfsh_relocate_entry(elfshsect_t *new, ^ relinject.c: In function 'elfsh_inject_etrel_section': relinject.c:331:9: warning: variable 'writable' set but not used [-Wunused-but-set-variable] char writable; ^ relinject.c: In function 'elfsh_inject_etrel': relinject.c:433:31: warning: pointer targets in passing argument 2 of 'elfsh_get_symtab' differ in signedness [-Wpointer-sign] sym = elfsh_get_symtab(rel, &symnbr); ^ In file included from relinject.c:9:0: include/libelfsh.h:332:8: note: expected 'int *' but argument is of type 'u_int * {aka unsigned int *}' void *elfsh_get_symtab(elfshobj_t *file, int *num); ^ bss.c: In function 'elfsh_find_bsslen': bss.c:210:34: warning: pointer targets in passing argument 2 of 'elfsh_get_symtab' differ in signedness [-Wpointer-sign] symtab = elfsh_get_symtab(rel, &size); ^ In file included from bss.c:7:0: include/libelfsh.h:332:8: note: expected 'int *' but argument is of type 'u_int * {aka unsigned int *}' void *elfsh_get_symtab(elfshobj_t *file, int *num); ^ debug.c: In function 'elfsh_print_sectlist': debug.c:35:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (u_int) actual->prev, ^ debug.c:36:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (u_int) actual, ^ debug.c:37:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (u_int) actual->next, ^ gmake[2]: Leaving directory '/construction/devel/elfsh/elfsh-0.51b3/libelfsh' Libelfsh has been built successfully. Builting libhashelfsh... gmake[2]: Entering directory '/construction/devel/elfsh/elfsh-0.51b3/libhash' gmake[2]: Leaving directory '/construction/devel/elfsh/elfsh-0.51b3/libhash' Libhash has been built successfully. Builting ELFsh... gmake[2]: Entering directory '/construction/devel/elfsh/elfsh-0.51b3/vm' cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 disasm.c: In function 'display_object': disasm.c:170:31: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] snprintf(buf, sizeof(buf), " %08X [foff: %u] \t %s[%0*u] = %08X", ^ disasm.c:170:31: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] disasm.c:170:31: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] disasm.c:170:31: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] disasm.c:180:48: warning: pointer targets in passing argument 3 of 'elfsh_get_parent_section' differ in signedness [-Wpointer-sign] sect = elfsh_get_parent_section(file, loff, &sct_index); ^ In file included from include/elfsh.h:23:0, from disasm.c:7: ../libelfsh/include/libelfsh.h:553:14: note: expected 'int *' but argument is of type 'u_int * {aka unsigned int *}' elfshsect_t *elfsh_get_parent_section(elfshobj_t *file, u_int addr, int *offset); ^ disasm.c:188:45: warning: pointer targets in passing argument 3 of 'elfsh_reverse_symbol' differ in signedness [-Wpointer-sign] s = elfsh_reverse_symbol(file, loff, &idx_bytes); ^ In file included from include/elfsh.h:23:0, from disasm.c:7: ../libelfsh/include/libelfsh.h:330:8: note: expected 'int *' but argument is of type 'u_int * {aka unsigned int *}' char *elfsh_reverse_symbol(elfshobj_t *file, u_int sym_value, int *offset); ^ disasm.c:190:43: warning: pointer targets in passing argument 3 of 'elfsh_reverse_dynsymbol' differ in signedness [-Wpointer-sign] s = elfsh_reverse_dynsymbol(file, loff, &idx_bytes); ^ In file included from include/elfsh.h:23:0, from disasm.c:7: ../libelfsh/include/libelfsh.h:343:8: note: expected 'int *' but argument is of type 'u_int * {aka unsigned int *}' char *elfsh_reverse_dynsymbol(elfshobj_t *file, u_int sym_value, int *offset); ^ grammar.c: In function 'lookup_immed': grammar.c:21:10: warning: variable 'isptr' set but not used [-Wunused-but-set-variable] char isptr; ^ hdr.c: In function 'cmd_elf': hdr.c:74:64: warning: pointer targets in passing argument 3 of 'elfsh_reverse_metasym' differ in signedness [-Wpointer-sign] name = elfsh_reverse_metasym(world.current, header->e_entry, &offset); ^ In file included from include/elfsh.h:23:0, from hdr.c:7: ../libelfsh/include/libelfsh.h:368:8: note: expected 'int *' but argument is of type 'u_int * {aka unsigned int *}' char *elfsh_reverse_metasym(elfshobj_t *file, u_int vaddr, int *off); ^ hdr.c:115:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] header->e_ehsize, (void *) header->e_entry, ^ sht.c: In function 'cmd_sht': sht.c:25:40: warning: pointer targets in passing argument 2 of 'elfsh_get_sht' differ in signedness [-Wpointer-sign] shdr = elfsh_get_sht(world.current, &num); ^ In file included from include/elfsh.h:23:0, from sht.c:7: ../libelfsh/include/libelfsh.h:436:8: note: expected 'int *' but argument is of type 'u_int * {aka unsigned int *}' void *elfsh_get_sht(elfshobj_t *file, int *num); ^ sht.c:57:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] index, (void *) elfsh_get_section_addr(shdr + index), ^ sht.c:76:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] index, (void *) elfsh_get_section_addr(shdr + index), ^ got.c: In function 'cmd_got': got.c:48:36: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] snprintf(buff, sizeof(buff), " [%08X:%5u] 0x%08X \t <%s%s>", ^ got.c:48:36: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] rel.c: In function 'cmd_rel': rel.c:110:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void *) elfsh_get_reloffset(rel), ^ rel.c:117:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void *) elfsh_get_reloffset(rel), ^ stab.c: In function 'cmd_stab': stab.c:25:41: warning: pointer targets in passing argument 2 of 'elfsh_get_stab' differ in signedness [-Wpointer-sign] entry = elfsh_get_stab(world.current, &num); ^ In file included from include/elfsh.h:23:0, from stab.c:7: ../libelfsh/include/libelfsh.h:428:8: note: expected 'int *' but argument is of type 'u_int * {aka unsigned int *}' void *elfsh_get_stab(elfshobj_t *file, int *num); ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 sym.c: In function 'ds': sym.c:96:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] index, (void *) elfsh_get_symbol_value(table + index), ^ sym.c:107:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] index, (void *) elfsh_get_symbol_value(table + index), ^ sym.c: In function 'cmd_sym': sym.c:134:44: warning: pointer targets in passing argument 2 of 'elfsh_get_symtab' differ in signedness [-Wpointer-sign] symtab = elfsh_get_symtab(world.current, &num); ^ In file included from include/elfsh.h:23:0, from sym.c:7: ../libelfsh/include/libelfsh.h:332:8: note: expected 'int *' but argument is of type 'u_int * {aka unsigned int *}' void *elfsh_get_symtab(elfshobj_t *file, int *num); ^ sym.c: In function 'cmd_dynsym': sym.c:154:47: warning: pointer targets in passing argument 2 of 'elfsh_get_dynsymtab' differ in signedness [-Wpointer-sign] dynsym = elfsh_get_dynsymtab(world.current, &num); ^ In file included from include/elfsh.h:23:0, from sym.c:7: ../libelfsh/include/libelfsh.h:342:8: note: expected 'int *' but argument is of type 'u_int * {aka unsigned int *}' void *elfsh_get_dynsymtab(elfshobj_t *file, int *num); ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 dtors.c: In function 'cmd_dtors': dtors.c:45:11: warning: the address of 'off' will always evaluate as 'true' [-Waddress] if (off) ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 ctors.c: In function 'cmd_ctors': ctors.c:45:11: warning: the address of 'off' will always evaluate as 'true' [-Waddress] if (off) ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 readln.c: In function 'coustom_completion': readln.c:46:24: warning: implicit declaration of function 'completion_matches' [-Wimplicit-function-declaration] matches = (char **)completion_matches (text, command_generator); ^ readln.c:46:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] matches = (char **)completion_matches (text, command_generator); ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 lexer.c: In function 'lexer_findblanks': lexer.c:96:8: warning: variable 'index' set but not used [-Wunused-but-set-variable] int index; ^ lexer.c: In function 'vm_getln': lexer.c:197:28: warning: pointer targets in passing argument 2 of 'lexer_doargv' differ in signedness [-Wpointer-sign] argv = lexer_doargv(nbr, argc, buf); ^ lexer.c:138:15: note: expected 'u_int * {aka unsigned int *}' but argument is of type 'int *' static char **lexer_doargv(u_int nbr, u_int *argc, char *buf) ^ findrel.c: In function 'cmd_findrel': findrel.c:163:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] dword = (u_int) cur->data + cur->rel[index].off_src; ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 cmdapi.c: In function 'vm_setcmd': cmdapi.c:43:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (needcur != (u_int) ELFSH_ORIG) ^ filter.c: In function 'vm_filter_zero': filter.c:25:30: warning: cast from pointer to integer of different size [-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 from pointer to integer of different size [-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 from pointer to integer of different size [-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 from pointer to integer of different size [-Wpointer-to-int-cast] memmove(ptr + 1, ptr + 3, (u_int) obj->immed_val.str + obj->size - (u_int) (ptr + 3)); ^ 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 -Wl,-rpath=/usr/local/lib -L/usr/local/lib -L../libelfsh/ -lelfsh -L../libhash/ -lhashelfsh -rdynamic -g3 -lreadline -lncurses gmake[2]: Leaving directory '/construction/devel/elfsh/elfsh-0.51b3/vm' ELFsh has been built successfully. Building ELFsh modules suite... gmake[2]: Entering directory '/construction/devel/elfsh/elfsh-0.51b3/modules' cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -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 modtest.c: In function 'elfsh_init': modtest.c:26:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] vm_setcmd(CMD_PRINT, my_cmd_print, ELFSH_ORIG, (u_int) ELFSH_ORIG); ^ modtest.c: In function 'elfsh_fini': modtest.c:33:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] vm_setcmd(CMD_PRINT, cmd_print, ELFSH_ORIG, (u_int) ELFSH_ORIG); ^ gmake[2]: Leaving directory '/construction/devel/elfsh/elfsh-0.51b3/modules' ELFsh modules suite built successfully. #gmake -s tags gmake[1]: Leaving directory '/construction/devel/elfsh/elfsh-0.51b3' -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> elfsh-0.51b3_4 depends on file: /usr/local/lib/libncurses.so.6 - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for elfsh-0.51b3_4 ===> Generating temporary packing list gmake[1]: Entering directory '/construction/devel/elfsh/elfsh-0.51b3' ELFsh and Libelfsh installed successfully . gmake[1]: Leaving directory '/construction/devel/elfsh/elfsh-0.51b3' ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for elfsh-0.51b3_4 file sizes/checksums [9]: . done packing files [9]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Thursday, 30 AUG 2018 at 14:50:37 UTC Duration: 00:00:17