* Package: app-admin/paxtest-0.9.15-r1 * Repository: gentoo * Maintainer: blueness@gentoo.org hardened@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking paxtest-0.9.15.tar.gz to /var/tmp/portage/app-admin/paxtest-0.9.15-r1/work >>> Source unpacked in /var/tmp/portage/app-admin/paxtest-0.9.15-r1/work >>> Preparing source in /var/tmp/portage/app-admin/paxtest-0.9.15-r1/work/paxtest-0.9.15 ... * Applying paxtest-0.9.13-Makefile.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-admin/paxtest-0.9.15-r1/work/paxtest-0.9.15 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-admin/paxtest-0.9.15-r1/work/paxtest-0.9.15 ... make -j4 RUNDIR=/usr/lib64/paxtest x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o chpax-0.7/aout.o -c chpax-0.7/aout.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o chpax-0.7/chpax.o -c chpax-0.7/chpax.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o chpax-0.7/elf32.o -c chpax-0.7/elf32.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o chpax-0.7/elf64.o -c chpax-0.7/elf64.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o chpax-0.7/flags.o -c chpax-0.7/flags.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o chpax-0.7/io.o -c chpax-0.7/io.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -fPIC -o shlibtest.o -c shlibtest.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -fPIC -o shlibtest2.o -c shlibtest2.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o body.o -c body.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o shlibbss.o -c shlibbss.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o shlibdata.o -c shlibdata.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o randbody.o -c randbody.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o fastrandbody.o -c fastrandbody.c grep: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/: Is a directory x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o retbody.o -c body.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o getamap.o -c getamap.c grep: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/: Is a directory x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o getheap1.o -c getheap.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -fPIE -o getheap2.o -c getheap.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -fPIE -o getmain2.o -c getmain.c grep: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/: Is a directory x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o getmain1.o -c getmain.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o getshlib.o -c getshlib.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 getvdso.c -o getvdso x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o getstack.o -c getstack.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o getarg.o -c getarg.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o getexhaust1.o -c getexhaust1.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o getexhaust2.o -c getexhaust2.c grep: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/: Is a directory x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o getshlibdelta1.o -c getshlibdelta.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -fPIE -o getshlibdelta2.o -c getshlibdelta.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o chpax chpax-0.7/aout.o chpax-0.7/chpax.o chpax-0.7/elf32.o chpax-0.7/elf64.o chpax-0.7/flags.o chpax-0.7/io.o x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -o shlibtest.so shlibtest.o x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -o shlibtest2.so shlibtest2.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o anonmap.o -c anonmap.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o execbss.o -c execbss.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o execdata.o -c execdata.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o execheap.o -c execheap.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o anonmap body.o anonmap.o -lpthread x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o execbss body.o execbss.o -lpthread x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o execdata body.o execdata.o -lpthread x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o execheap body.o execheap.o -lpthread x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o execstack.o -c execstack.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o shlibbss body.o shlibbss.o shlibtest.so shlibtest2.so -ldl -lpthread x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o shlibdata body.o shlibdata.o shlibtest.so shlibtest2.so -ldl -lpthread x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o mprotanon.o -c mprotanon.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o mprotbss.o -c mprotbss.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o mprotdata.o -c mprotdata.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o execstack body.o execstack.o -lpthread x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o mprotanon body.o mprotanon.o -lpthread x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o mprotheap.o -c mprotheap.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o mprotbss body.o mprotbss.o -lpthread x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o mprotdata body.o mprotdata.o -lpthread x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o mprotstack.o -c mprotstack.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o mprotshbss.o -c mprotshbss.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o mprotshdata.o -c mprotshdata.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o mprotheap body.o mprotheap.o -lpthread x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o mprotstack body.o mprotstack.o -lpthread x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o writetext.o -c writetext.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o mprotshbss mprotshbss.o body.o shlibtest.so -ldl -lpthread x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o mprotshdata mprotshdata.o body.o shlibtest.so -ldl -lpthread x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o randamap.o -c randamap.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o randamap randbody.o randamap.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o randheap1.o -c randheap1.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o randheap2.o -c randheap2.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o writetext writetext.o body.o shlibtest.so -ldl -lpthread x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o randheap1 randbody.o randheap1.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o randmain1.o -c randmain1.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o randheap2 randbody.o randheap2.o x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o randmain1 randbody.o randmain1.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o randmain2.o -c randmain2.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o randshlib.o -c randshlib.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o randvdso.o -c randvdso.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o randshlib randbody.o randshlib.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o randstack1.o -c randstack1.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o randmain2 randbody.o randmain2.o x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o randvdso randbody.o randvdso.o x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o randstack1 randbody.o randstack1.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o randstack2.o -c randstack2.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o randarg1.o -c randarg1.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o randarg2.o -c randarg2.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o randshlibdelta1.o -c randshlibdelta1.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o randstack2 randbody.o randstack2.o x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o randarg1 randbody.o randarg1.o x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o randshlibdelta1 randbody.o randshlibdelta1.o x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o randarg2 randbody.o randarg2.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o randshlibdelta2.o -c randshlibdelta2.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o randexhaust1.o -c randexhaust1.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o randexhaust2.o -c randexhaust2.c grep: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/: Is a directory x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o randshlibdelta2 randbody.o randshlibdelta2.o x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o randexhaust1 fastrandbody.o randexhaust1.o grep: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/: Is a directory x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o randexhaust2 fastrandbody.o randexhaust2.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o rettofunc1.o -c rettofunc1.c grep: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/: Is a directory grep: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/: Is a directory x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o rettofunc2.o -c rettofunc2.c grep: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/: Is a directory In file included from rettofunc1.c:11: In function ‘forced_strcpy’, inlined from ‘doit’ at rettofunc1.c:27:3: paxtest.h:23:2: warning: ‘strcpy’ writing between 10 and 256 bytes into a region of size 8 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wstringop-overflow=-Wstringop-overflow=]8;;] 23 | strcpy(dst, src); | ^~~~~~~~~~~~~~~~ rettofunc1.c: In function ‘doit’: rettofunc1.c:24:7: note: at offset 0 to object ‘buf’ with size 8 declared here 24 | char buf[sizeof(unsigned long)]; | ^~~ In file included from rettofunc1.c:11: In function ‘forced_strcpy’, inlined from ‘doit’ at rettofunc1.c:27:3: paxtest.h:23:2: warning: ‘__builtin_memcpy’ writing between 10 and 256 bytes into a region of size 8 overflows the destination []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wstringop-overflow=-Wstringop-overflow=]8;;] 23 | strcpy(dst, src); | ^~~~~~~~~~~~~~~~ grep: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/: Is a directory x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o rettofunc1x.o -c rettofunc1x.c grep: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/: Is a directory grep: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/: Is a directory x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o rettofunc1 retbody.o rettofunc1.o -lpthread x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -U_FORTIFY_SOURCE -DRUNDIR=\"/usr/lib64/paxtest\" -fno-stack-protector -ftrampolines -o rettofunc2x.o -c rettofunc2x.c In file included from rettofunc2.c:10: In function ‘forced_memcpy’, inlined from ‘doit’ at rettofunc2.c:25:2: paxtest.h:31:2: warning: ‘memcpy’ writing 256 bytes into a region of size 8 overflows the destination []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wstringop-overflow=-Wstringop-overflow=]8;;] 31 | memcpy(dst, src, n); | ^~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o rettofunc2 retbody.o rettofunc2.o -lpthread x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o getamap getamap.o In file included from rettofunc1x.c:11: In function ‘forced_strcpy’, inlined from ‘doit’ at rettofunc1x.c:27:3: paxtest.h:23:2: warning: ‘strcpy’ writing between 10 and 256 bytes into a region of size 8 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wstringop-overflow=-Wstringop-overflow=]8;;] 23 | strcpy(dst, src); | ^~~~~~~~~~~~~~~~ rettofunc1x.c: In function ‘doit’: rettofunc1x.c:24:7: note: at offset 0 to object ‘buf’ with size 8 declared here 24 | char buf[sizeof(unsigned long)]; | ^~~ In file included from rettofunc1x.c:11: In function ‘forced_strcpy’, inlined from ‘doit’ at rettofunc1x.c:27:3: paxtest.h:23:2: warning: ‘__builtin_memcpy’ writing between 10 and 256 bytes into a region of size 8 overflows the destination []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wstringop-overflow=-Wstringop-overflow=]8;;] 23 | strcpy(dst, src); | ^~~~~~~~~~~~~~~~ In file included from rettofunc2x.c:10: In function ‘forced_memcpy’, inlined from ‘doit’ at rettofunc2x.c:25:2: paxtest.h:31:2: warning: ‘memcpy’ writing 256 bytes into a region of size 8 overflows the destination []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wstringop-overflow=-Wstringop-overflow=]8;;] 31 | memcpy(dst, src, n); | ^~~~~~~~~~~~~~~~~~~ grep: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/: Is a directory x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o rettofunc1x retbody.o rettofunc1x.o -lpthread x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o rettofunc2x retbody.o rettofunc2x.o -lpthread x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o getheap1 getheap1.o x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -pie -o getheap2 getheap2.o || (echo -e "#!/bin/sh\necho getheap2 pie not implemented" > getheap2; chmod +x getheap2) grep: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/: Is a directory ./paxbin -C rettofunc1x ./paxbin -C rettofunc2x file rettofunc1x cannot have a PT_PAX_FLAGS program header, creation failed x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o getmain1 getmain1.o file rettofunc2x cannot have a PT_PAX_FLAGS program header, creation failed ./paxbin -SPXM rettofunc1x ./paxbin -SPXM rettofunc2x x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -pie -o getmain2 getmain2.o || (echo -e "#!/bin/sh\necho getmain2 pie not implemented" > getmain2; chmod +x getmain2) file rettofunc1x does not have a PT_PAX_FLAGS program header, try conversion file rettofunc2x does not have a PT_PAX_FLAGS program header, try conversion x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o getshlib getshlib.o -ldl x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o getstack1 getstack.o ./paxbin -C getmain1 file getmain1 cannot have a PT_PAX_FLAGS program header, creation failed ./paxbin -SPRXM getmain1 file getmain1 does not have a PT_PAX_FLAGS program header, try conversion x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o getstack2 getstack.o x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o getarg1 getarg.o x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o getarg2 getarg.o ./paxbin -C getstack1 file getstack1 cannot have a PT_PAX_FLAGS program header, creation failed ./paxbin -SRpm getstack1 file getstack1 does not have a PT_PAX_FLAGS program header, try conversion x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o getexhaust1 getexhaust1.o # disable segmexec, kernel else overrides pageexec ./paxbin -C getarg1 # disable segmexec, kernel else overrides pageexec ./paxbin -C getstack2 ./paxbin -C getarg2 file getarg1 cannot have a PT_PAX_FLAGS program header, creation failed file getstack2 cannot have a PT_PAX_FLAGS program header, creation failed ./paxbin -SRpm getarg1 file getarg2 cannot have a PT_PAX_FLAGS program header, creation failed ./paxbin -PRsm getstack2 ./paxbin -PRsm getarg2 file getarg1 does not have a PT_PAX_FLAGS program header, try conversion file getstack2 does not have a PT_PAX_FLAGS program header, try conversion file getarg2 does not have a PT_PAX_FLAGS program header, try conversion ./paxbin -C getexhaust1 x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o getexhaust2 getexhaust2.o file getexhaust1 cannot have a PT_PAX_FLAGS program header, creation failed grep: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/: Is a directory x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o getshlibdelta1 getshlibdelta1.o -ldl ./paxbin -SRpm getexhaust1 x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -pie -o getshlibdelta2 getshlibdelta2.o -ldl || (echo -e "#!/bin/sh\necho getshlibdelta2 pie not implemented" > getshlibdelta2; chmod +x getshlibdelta2) file getexhaust1 does not have a PT_PAX_FLAGS program header, try conversion sh genpaxtest x86_64-pc-linux-gnu-gcc anonmap execbss execdata execheap execstack shlibbss shlibdata mprotanon mprotbss mprotdata mprotheap mprotstack mprotshbss mprotshdata writetext randamap randheap1 randheap2 randmain1 randmain2 randshlib randvdso randstack1 randstack2 randarg1 randarg2 randshlibdelta1 randshlibdelta2 randexhaust1 randexhaust2 rettofunc1 rettofunc2 rettofunc1x rettofunc2x /usr/lib64/paxtest ./paxbin -C getexhaust2 ./paxbin -C getshlibdelta1 file getexhaust2 cannot have a PT_PAX_FLAGS program header, creation failed file getshlibdelta1 cannot have a PT_PAX_FLAGS program header, creation failed ./paxbin -SRpm getexhaust2 ./paxbin -SPRXM getshlibdelta1 file getexhaust2 does not have a PT_PAX_FLAGS program header, try conversion file getshlibdelta1 does not have a PT_PAX_FLAGS program header, try conversion rm shlibtest2.o shlibtest.o >>> Source compiled. >>> Test phase: app-admin/paxtest-0.9.15-r1 >>> Completed testing app-admin/paxtest-0.9.15-r1 >>> Install app-admin/paxtest-0.9.15-r1 into /var/tmp/portage/app-admin/paxtest-0.9.15-r1/image/ make -j4 DESTDIR=/var/tmp/portage/app-admin/paxtest-0.9.15-r1/image/ BINDIR=/usr/bin RUNDIR=/usr/lib64/paxtest install mkdir -p /var/tmp/portage/app-admin/paxtest-0.9.15-r1/image///usr/lib64/paxtest cp shlibtest.so shlibtest2.so anonmap execbss execdata execheap execstack shlibbss shlibdata mprotanon mprotbss mprotdata mprotheap mprotstack mprotshbss mprotshdata writetext randamap randheap1 randheap2 randmain1 randmain2 randshlib randvdso randstack1 randstack2 randarg1 randarg2 randshlibdelta1 randshlibdelta2 randexhaust1 randexhaust2 rettofunc1 rettofunc2 rettofunc1x rettofunc2x getamap getheap1 getheap2 getmain1 getmain2 getshlib getvdso getstack1 getstack2 getarg1 getarg2 getexhaust1 getexhaust2 getshlibdelta1 getshlibdelta2 /var/tmp/portage/app-admin/paxtest-0.9.15-r1/image///usr/lib64/paxtest mkdir -p /var/tmp/portage/app-admin/paxtest-0.9.15-r1/image///usr/bin cp paxtest /var/tmp/portage/app-admin/paxtest-0.9.15-r1/image///usr/bin chmod 755 /var/tmp/portage/app-admin/paxtest-0.9.15-r1/image///usr/bin/paxtest >>> Completed installing app-admin/paxtest-0.9.15-r1 into /var/tmp/portage/app-admin/paxtest-0.9.15-r1/image/ * Final size of build directory: 2180 KiB (2.1 MiB) * Final size of installed tree: 1476 KiB (1.4 MiB) * QA Notice: Unresolved soname dependencies: * * /usr/lib64/paxtest/writetext: shlibtest.so * >>> Done. emerge --info: Portage 2.3.99 (python 3.7.7-final-0, default/linux/amd64/17.1, gcc-10.1.0, glibc-2.31-r2, 5.4.0-1009-aws x86_64) ================================================================= System uname: Linux-5.4.0-1009-aws-x86_64-AMD_EPYC_7571-with-gentoo-2.7 KiB Mem: 16011344 total, 3833544 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Sun, 10 May 2020 08:39:28 +0000 sh bash 5.0_p17 ld GNU ld (Gentoo 2.34 p1) 2.34.0 app-shells/bash: 5.0_p17::gentoo dev-lang/perl: 5.30.2::gentoo dev-lang/python: 2.7.18::gentoo, 3.7.7-r2::gentoo, 3.8.2-r2::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.18::gentoo sys-devel/autoconf: 2.69-r5::gentoo sys-devel/automake: 1.16.2::gentoo sys-devel/binutils: 2.34::gentoo sys-devel/gcc: 10.1.0::gentoo sys-devel/gcc-config: 2.2.1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.6::gentoo (virtual/os-headers) sys-libs/glibc: 2.31-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: yes ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CC="x86_64-pc-linux-gnu-gcc" CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXX="x86_64-pc-linux-gnu-g++" CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -b -k" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j4" PKGDIR="/root/.packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 berkdb bzip2 cli crypt dri fortran gdbm iconv ipv6 libtirpc multilib ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS