Skip to content

Instantly share code, notes, and snippets.

@eqyiel
Created October 14, 2017 01:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eqyiel/f94e59565cea5fd487f53dee9dc7044d to your computer and use it in GitHub Desktop.
Save eqyiel/f94e59565cea5fd487f53dee9dc7044d to your computer and use it in GitHub Desktop.
[1] root@tomoyo> nix-shell /nix/store/d2kl6ic7ydi9llfq6ggcq35yq8drpn0d-libelf-0.8.13-armv7l-unknown-linux-gnueabi.drv ~
[nix-shell:~]$ genericBuild
unpacking sources
unpacking source archive /nix/store/ggpgsklddx6h8dk0wkmlnk4brcxdb0jh-libelf-0.8.13.tar.gz
source root is libelf-0.8.13
setting SOURCE_DATE_EPOCH to timestamp 1257080996 of file libelf-0.8.13/MANIFEST
patching sources
applying patch /nix/store/lzmxj8jf7dsy73injx2q3x6j329fjlk2-dont-hardcode-ar.patch
patching file lib/Makefile.in
configuring
configure flags: --prefix=/nix/store/dfmyq8xjf2laq0plr4rgflzq96xg6z6m-libelf-0.8.13-armv7l-unknown-linux-gnueabi --build=x86_64-unknown-linux-gnu --host=armv7l-unknown-linux-gnueabi
creating cache ./config.cache
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for a BSD compatible install... /nix/store/d4yib20lqn7krrqmm0wwbwjxjfa78xqp-coreutils-8.28/bin/install -c
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for ANSI C header files... yes
checking for unistd.h... yes
checking for stdint.h... yes
checking for fcntl.h... yes
checking for elf.h... yes
checking for sys/elf.h... no
checking for link.h... yes
checking for sys/link.h... no
checking if gcc can compile elf.h... yes
checking for ar.h... yes
checking for libelf.h... no
checking for nlist.h... no
checking for gelf.h... no
checking whether to install <libelf.h>, <nlist.h> and <gelf.h>... yes
checking for working const... yes
checking for off_t... yes
checking for size_t... yes
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking size of __int64... 0
checking for struct Elf32_Dyn... yes
checking for struct nlist in elf.h... no
checking for struct Elf64_Ehdr... yes
checking for Elf64_Addr... yes
checking for struct Elf64_Rel... yes
checking for Elf32_Verdef... yes
checking for Elf64_Verdef... yes
checking for SHT_SUNW_verdef... no
checking for SHT_GNU_verdef... yes
checking for 64-bit integer... long
checking for 32-bit integer... int
checking for 16-bit integer... short
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for ftruncate... yes
checking for memcmp... yes
checking for memcpy... yes
checking for memmove... yes
checking for memset... yes
checking whether overlapping arrays are copied correctly... yes
checking the coffee machine... empty - operator may not work as expected
checking whether 64-bit ELF support is sufficient... yes
checking whether to include 64-bit support... yes
checking whether versioning support is sufficient... yes
checking whether to include versioning support... yes
checking whether NLS is requested... yes
checking for dgettext... yes
checking for msgfmt... /nix/store/wx061qkgvapwy001hhf3nznchkxr079c-gettext-0.19.8/bin/msgfmt
checking for gmsgfmt... /nix/store/wx061qkgvapwy001hhf3nznchkxr079c-gettext-0.19.8/bin/msgfmt
checking for xgettext... /nix/store/wx061qkgvapwy001hhf3nznchkxr079c-gettext-0.19.8/bin/xgettext
checking for msgmerge... /nix/store/wx061qkgvapwy001hhf3nznchkxr079c-gettext-0.19.8/bin/msgmerge
checking for GNU gettext... yes
checking for losing catgets-based GNU gettext... no
checking for pure GNU gettext... yes
checking for catalogs to be installed... de
checking for gettext in -lintl... no
checking host system type... armv7l-unknown-linux-gnueabi
checking whether to build a shared library... yes
checking whether GNU naming conventions are requested... no
checking for ld... /run/current-system/sw/bin/ld
checking for native ELF system... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating lib/Makefile
creating po/Makefile
creating libelf.pc
creating config.h
creating lib/sys_elf.h
building
build flags: SHELL=/nix/store/flb9ar1xdd13c606aa4my9miy3iv4vyk-bash-4.4-p12/bin/bash
making all in lib
make[1]: Entering directory '/root/libelf-0.8.13/lib'
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC begin.c && mv -f begin.o begin.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 begin.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC cntl.c && mv -f cntl.o cntl.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 cntl.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC end.c && mv -f end.o end.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 end.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC errmsg.c && mv -f errmsg.o errmsg.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 errmsg.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC errno.c && mv -f errno.o errno.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 errno.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC fill.c && mv -f fill.o fill.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 fill.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC flag.c && mv -f flag.o flag.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 flag.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC getarhdr.c && mv -f getarhdr.o getarhdr.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 getarhdr.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC getarsym.c && mv -f getarsym.o getarsym.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 getarsym.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC getbase.c && mv -f getbase.o getbase.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 getbase.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC getdata.c && mv -f getdata.o getdata.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 getdata.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC getident.c && mv -f getident.o getident.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 getident.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC getscn.c && mv -f getscn.o getscn.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 getscn.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC hash.c && mv -f hash.o hash.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 hash.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC kind.c && mv -f kind.o kind.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 kind.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC ndxscn.c && mv -f ndxscn.o ndxscn.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 ndxscn.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC newdata.c && mv -f newdata.o newdata.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 newdata.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC newscn.c && mv -f newscn.o newscn.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 newscn.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC next.c && mv -f next.o next.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 next.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC nextscn.c && mv -f nextscn.o nextscn.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 nextscn.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC rand.c && mv -f rand.o rand.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 rand.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC rawdata.c && mv -f rawdata.o rawdata.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 rawdata.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC rawfile.c && mv -f rawfile.o rawfile.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 rawfile.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC strptr.c && mv -f strptr.o strptr.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 strptr.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC update.c && mv -f update.o update.os; \
else true; fi
update.c: In function ‘_elf_output’:
update.c:917:5: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
ftruncate(fd, 0);
^~~~~~~~~~~~~~~~
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 update.c
update.c: In function ‘_elf_output’:
update.c:917:5: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
ftruncate(fd, 0);
^~~~~~~~~~~~~~~~
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC version.c && mv -f version.o version.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 version.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC checksum.c && mv -f checksum.o checksum.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 checksum.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC getaroff.c && mv -f getaroff.o getaroff.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 getaroff.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC 32.fsize.c && mv -f 32.fsize.o 32.fsize.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 32.fsize.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC 32.getehdr.c && mv -f 32.getehdr.o 32.getehdr.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 32.getehdr.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC 32.getphdr.c && mv -f 32.getphdr.o 32.getphdr.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 32.getphdr.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC 32.getshdr.c && mv -f 32.getshdr.o 32.getshdr.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 32.getshdr.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC 32.newehdr.c && mv -f 32.newehdr.o 32.newehdr.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 32.newehdr.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC 32.newphdr.c && mv -f 32.newphdr.o 32.newphdr.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 32.newphdr.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC 32.xlatetof.c && mv -f 32.xlatetof.o 32.xlatetof.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 32.xlatetof.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC cook.c && mv -f cook.o cook.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 cook.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC data.c && mv -f data.o data.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 data.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC input.c && mv -f input.o input.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 input.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC assert.c && mv -f assert.o assert.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 assert.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC nlist.c && mv -f nlist.o nlist.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 nlist.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC opt.delscn.c && mv -f opt.delscn.o opt.delscn.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 opt.delscn.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC x.remscn.c && mv -f x.remscn.o x.remscn.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 x.remscn.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC x.movscn.c && mv -f x.movscn.o x.movscn.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 x.movscn.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC x.elfext.c && mv -f x.elfext.o x.elfext.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 x.elfext.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC 64.xlatetof.c && mv -f 64.xlatetof.o 64.xlatetof.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 64.xlatetof.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC gelfehdr.c && mv -f gelfehdr.o gelfehdr.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 gelfehdr.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC gelfphdr.c && mv -f gelfphdr.o gelfphdr.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 gelfphdr.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC gelfshdr.c && mv -f gelfshdr.o gelfshdr.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 gelfshdr.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC gelftrans.c && mv -f gelftrans.o gelftrans.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 gelftrans.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC swap64.c && mv -f swap64.o swap64.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 swap64.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC verdef_32_tof.c && mv -f verdef_32_tof.o verdef_32_tof.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 verdef_32_tof.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC verdef_32_tom.c && mv -f verdef_32_tom.o verdef_32_tom.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 verdef_32_tom.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC verdef_64_tof.c && mv -f verdef_64_tof.o verdef_64_tof.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 verdef_64_tof.c
if test -n "-fPIC -DPIC"; then \
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 -fPIC -DPIC verdef_64_tom.c && mv -f verdef_64_tom.o verdef_64_tom.os; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I.. -I. -I. -g -O2 verdef_64_tom.c
ar rcv libelf.a begin.o cntl.o end.o errmsg.o errno.o fill.o flag.o getarhdr.o getarsym.o getbase.o getdata.o getident.o getscn.o hash.o kind.o ndxscn.o newdata.o newscn.o next.o nextscn.o rand.o rawdata.o rawfile.o strptr.o update.o version.o checksum.o getaroff.o 32.fsize.o 32.getehdr.o 32.getphdr.o 32.getshdr.o 32.newehdr.o 32.newphdr.o 32.xlatetof.o cook.o data.o input.o assert.o nlist.o opt.delscn.o x.remscn.o x.movscn.o x.elfext.o 64.xlatetof.o gelfehdr.o gelfphdr.o gelfshdr.o gelftrans.o swap64.o verdef_32_tof.o verdef_32_tom.o verdef_64_tof.o verdef_64_tom.o
a - begin.o
a - cntl.o
a - end.o
a - errmsg.o
a - errno.o
a - fill.o
a - flag.o
a - getarhdr.o
a - getarsym.o
a - getbase.o
a - getdata.o
a - getident.o
a - getscn.o
a - hash.o
a - kind.o
a - ndxscn.o
a - newdata.o
a - newscn.o
a - next.o
a - nextscn.o
a - rand.o
a - rawdata.o
a - rawfile.o
a - strptr.o
a - update.o
a - version.o
a - checksum.o
a - getaroff.o
a - 32.fsize.o
a - 32.getehdr.o
a - 32.getphdr.o
a - 32.getshdr.o
a - 32.newehdr.o
a - 32.newphdr.o
a - 32.xlatetof.o
a - cook.o
a - data.o
a - input.o
a - assert.o
a - nlist.o
a - opt.delscn.o
a - x.remscn.o
a - x.movscn.o
a - x.elfext.o
a - 64.xlatetof.o
a - gelfehdr.o
a - gelfphdr.o
a - gelfshdr.o
a - gelftrans.o
a - swap64.o
a - verdef_32_tof.o
a - verdef_32_tom.o
a - verdef_64_tof.o
a - verdef_64_tom.o
ranlib libelf.a
gcc -shared -Wl,-soname,libelf.so.0 -o libelf.so.0.8.13 begin.os cntl.os end.os errmsg.os errno.os fill.os flag.os getarhdr.os getarsym.os getbase.os getdata.os getident.os getscn.os hash.os kind.os ndxscn.os newdata.os newscn.os next.os nextscn.os rand.os rawdata.os rawfile.os strptr.os update.os version.os checksum.os getaroff.os 32.fsize.os 32.getehdr.os 32.getphdr.os 32.getshdr.os 32.newehdr.os 32.newphdr.os 32.xlatetof.os cook.os data.os input.os assert.os nlist.os opt.delscn.os x.remscn.os x.movscn.os x.elfext.os 64.xlatetof.os gelfehdr.os gelfphdr.os gelfshdr.os gelftrans.os swap64.os verdef_32_tof.os verdef_32_tom.os verdef_64_tof.os verdef_64_tom.os -lc
if test "libelf.so.0" = "libelf.so.0.8.13"; then true; else \
rm -f libelf.so.0 && ln -s libelf.so.0.8.13 libelf.so.0; \
fi
if test "libelf.so" = "libelf.so.0.8.13"; then true; else \
rm -f libelf.so && ln -s libelf.so.0.8.13 libelf.so; \
fi
make[1]: Leaving directory '/root/libelf-0.8.13/lib'
making all in po
make[1]: Entering directory '/root/libelf-0.8.13/po'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/root/libelf-0.8.13/po'
running tests
check flags: SHELL=/nix/store/flb9ar1xdd13c606aa4my9miy3iv4vyk-bash-4.4-p12/bin/bash VERBOSE=y check
making check in lib
make[1]: Entering directory '/root/libelf-0.8.13/lib'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/root/libelf-0.8.13/lib'
making check in po
make[1]: Entering directory '/root/libelf-0.8.13/po'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/root/libelf-0.8.13/po'
installing
install flags: install SHELL=/nix/store/flb9ar1xdd13c606aa4my9miy3iv4vyk-bash-4.4-p12/bin/bash
making install in lib
make[1]: Entering directory '/root/libelf-0.8.13/lib'
dirs="/nix/store/dfmyq8xjf2laq0plr4rgflzq96xg6z6m-libelf-0.8.13-armv7l-unknown-linux-gnueabi/lib /nix/store/dfmyq8xjf2laq0plr4rgflzq96xg6z6m-libelf-0.8.13-armv7l-unknown-linux-gnueabi/include /nix/store/dfmyq8xjf2laq0plr4rgflzq96xg6z6m-libelf-0.8.13-armv7l-unknown-linux-gnueabi/include/libelf"; for dir in $dirs; do \
/nix/store/flb9ar1xdd13c606aa4my9miy3iv4vyk-bash-4.4-p12/bin/bash ../mkinstalldirs $dir; \
done
mkdir /nix/store/dfmyq8xjf2laq0plr4rgflzq96xg6z6m-libelf-0.8.13-armv7l-unknown-linux-gnueabi/lib
mkdir /nix/store/dfmyq8xjf2laq0plr4rgflzq96xg6z6m-libelf-0.8.13-armv7l-unknown-linux-gnueabi/include
mkdir /nix/store/dfmyq8xjf2laq0plr4rgflzq96xg6z6m-libelf-0.8.13-armv7l-unknown-linux-gnueabi/include/libelf
/nix/store/d4yib20lqn7krrqmm0wwbwjxjfa78xqp-coreutils-8.28/bin/install -c -m 644 libelf.a /nix/store/dfmyq8xjf2laq0plr4rgflzq96xg6z6m-libelf-0.8.13-armv7l-unknown-linux-gnueabi/lib
cd /nix/store/dfmyq8xjf2laq0plr4rgflzq96xg6z6m-libelf-0.8.13-armv7l-unknown-linux-gnueabi/lib && ranlib libelf.a
files="libelf.h nlist.h gelf.h sys_elf.h elf_repl.h"; for file in $files; do \
if test -r $file; then \
/nix/store/d4yib20lqn7krrqmm0wwbwjxjfa78xqp-coreutils-8.28/bin/install -c -m 644 $file /nix/store/dfmyq8xjf2laq0plr4rgflzq96xg6z6m-libelf-0.8.13-armv7l-unknown-linux-gnueabi/include/libelf; \
else \
/nix/store/d4yib20lqn7krrqmm0wwbwjxjfa78xqp-coreutils-8.28/bin/install -c -m 644 ./$file /nix/store/dfmyq8xjf2laq0plr4rgflzq96xg6z6m-libelf-0.8.13-armv7l-unknown-linux-gnueabi/include/libelf; \
fi; \
done
/nix/store/d4yib20lqn7krrqmm0wwbwjxjfa78xqp-coreutils-8.28/bin/install -c libelf.so.0.8.13 /nix/store/dfmyq8xjf2laq0plr4rgflzq96xg6z6m-libelf-0.8.13-armv7l-unknown-linux-gnueabi/lib
if test "libelf.so.0" = "libelf.so.0.8.13"; then true; else \
cd /nix/store/dfmyq8xjf2laq0plr4rgflzq96xg6z6m-libelf-0.8.13-armv7l-unknown-linux-gnueabi/lib && rm -f libelf.so.0 && ln -s libelf.so.0.8.13 libelf.so.0; \
fi
if test "libelf.so" = "libelf.so.0.8.13"; then true; else \
cd /nix/store/dfmyq8xjf2laq0plr4rgflzq96xg6z6m-libelf-0.8.13-armv7l-unknown-linux-gnueabi/lib && rm -f libelf.so && ln -s libelf.so.0.8.13 libelf.so; \
fi
files="libelf.h nlist.h gelf.h"; for file in $files; do \
if test -f /nix/store/dfmyq8xjf2laq0plr4rgflzq96xg6z6m-libelf-0.8.13-armv7l-unknown-linux-gnueabi/include/$file; then true; else \
echo "#include <libelf/$file>" > /nix/store/dfmyq8xjf2laq0plr4rgflzq96xg6z6m-libelf-0.8.13-armv7l-unknown-linux-gnueabi/include/$file; \
fi; \
done
make[1]: Leaving directory '/root/libelf-0.8.13/lib'
making install in po
make[1]: Entering directory '/root/libelf-0.8.13/po'
catalogs="de.gmo"; for cat in $catalogs; do \
lang=`echo $cat | sed 's,.gmo$,,'`; \
dir=/nix/store/dfmyq8xjf2laq0plr4rgflzq96xg6z6m-libelf-0.8.13-armv7l-unknown-linux-gnueabi/share/locale/$lang/LC_MESSAGES; \
/nix/store/flb9ar1xdd13c606aa4my9miy3iv4vyk-bash-4.4-p12/bin/bash ../mkinstalldirs $dir; \
if test -r $cat; then \
/nix/store/d4yib20lqn7krrqmm0wwbwjxjfa78xqp-coreutils-8.28/bin/install -c -m 644 $cat $dir/libelf.mo; \
else \
/nix/store/d4yib20lqn7krrqmm0wwbwjxjfa78xqp-coreutils-8.28/bin/install -c -m 644 ./$cat $dir/libelf.mo; \
fi; \
done
mkdir /nix/store/dfmyq8xjf2laq0plr4rgflzq96xg6z6m-libelf-0.8.13-armv7l-unknown-linux-gnueabi/share
mkdir /nix/store/dfmyq8xjf2laq0plr4rgflzq96xg6z6m-libelf-0.8.13-armv7l-unknown-linux-gnueabi/share/locale
mkdir /nix/store/dfmyq8xjf2laq0plr4rgflzq96xg6z6m-libelf-0.8.13-armv7l-unknown-linux-gnueabi/share/locale/de
mkdir /nix/store/dfmyq8xjf2laq0plr4rgflzq96xg6z6m-libelf-0.8.13-armv7l-unknown-linux-gnueabi/share/locale/de/LC_MESSAGES
make[1]: Leaving directory '/root/libelf-0.8.13/po'
/nix/store/flb9ar1xdd13c606aa4my9miy3iv4vyk-bash-4.4-p12/bin/bash ./mkinstalldirs /nix/store/dfmyq8xjf2laq0plr4rgflzq96xg6z6m-libelf-0.8.13-armv7l-unknown-linux-gnueabi/lib/pkgconfig
mkdir /nix/store/dfmyq8xjf2laq0plr4rgflzq96xg6z6m-libelf-0.8.13-armv7l-unknown-linux-gnueabi/lib/pkgconfig
/nix/store/d4yib20lqn7krrqmm0wwbwjxjfa78xqp-coreutils-8.28/bin/install -c -m 644 libelf.pc /nix/store/dfmyq8xjf2laq0plr4rgflzq96xg6z6m-libelf-0.8.13-armv7l-unknown-linux-gnueabi/lib/pkgconfig
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/dfmyq8xjf2laq0plr4rgflzq96xg6z6m-libelf-0.8.13-armv7l-unknown-linux-gnueabi
shrinking /nix/store/dfmyq8xjf2laq0plr4rgflzq96xg6z6m-libelf-0.8.13-armv7l-unknown-linux-gnueabi/lib/libelf.so.0.8.13
stripping (with flags -S) in /nix/store/dfmyq8xjf2laq0plr4rgflzq96xg6z6m-libelf-0.8.13-armv7l-unknown-linux-gnueabi/lib
patching script interpreter paths in /nix/store/dfmyq8xjf2laq0plr4rgflzq96xg6z6m-libelf-0.8.13-armv7l-unknown-linux-gnueabi
checking for references to /run/user/0 in /nix/store/dfmyq8xjf2laq0plr4rgflzq96xg6z6m-libelf-0.8.13-armv7l-unknown-linux-gnueabi...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment