Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 1442118 Details for
Bug 1582780
hardening-wrapper: FTBFS in Fedora 28
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
build.log
<fdopen> (text/plain), 41.72 KB, created by
Fedora Release Engineering
on 2018-05-26 19:03:27 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Fedora Release Engineering
Created:
2018-05-26 19:03:27 UTC
Size:
41.72 KB
patch
obsolete
>Mock Version: 1.3.4 >Mock Version: 1.3.4 >ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/hardening-wrapper.spec'], chrootPath='/var/lib/mock/f29-build-12532465-917154/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fff7d121f98>timeout=172800uid=1000gid=425user='mockbuild'nspawn_args=[]printOutput=False) >Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/hardening-wrapper.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False >Building target platforms: ppc64le >Building for target ppc64le >Wrote: /builddir/build/SRPMS/hardening-wrapper-2.6-5.fc29.src.rpm >Child return code was: 0 >ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/hardening-wrapper.spec'], chrootPath='/var/lib/mock/f29-build-12532465-917154/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fff7d121f98>timeout=172800uid=1000gid=425user='mockbuild'nspawn_args=[]printOutput=False) >Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/hardening-wrapper.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False >Building target platforms: ppc64le >Building for target ppc64le >Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.C7Hs5Q >+ umask 022 >+ cd /builddir/build/BUILD >+ cd /builddir/build/BUILD >+ rm -rf hardening-wrapper-2.6 >+ /usr/bin/mkdir -p hardening-wrapper-2.6 >+ cd hardening-wrapper-2.6 >+ /usr/bin/xz -dc /builddir/build/SOURCES/hardening-wrapper_2.6.tar.xz >+ /usr/bin/tar -xof - >+ STATUS=0 >+ '[' 0 -ne 0 ']' >+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . >+ /usr/bin/cat /builddir/build/SOURCES/hardening-wrapper-2.6-fix_perl.patch >+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch >+ /usr/bin/sed -i.debian -e '/^[ \t]*if \[ -z \"\$.DEB_/d' hardening-wrapper/Makefile >+ exit 0 >Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Melxas >+ umask 022 >+ cd /builddir/build/BUILD >+ cd hardening-wrapper-2.6 >+ /usr/bin/make -O -j4 -C hardening-wrapper >make: Entering directory '/builddir/build/BUILD/hardening-wrapper-2.6/hardening-wrapper' >mkdir -p build-tree ># Construct wrappers. >install hardened-cc hardened-ld build-tree/ ># Set defaults, based on OS and ARCH. >perl -pi -e 's/ #OS#/ '""'/; s/ #ARCH#/ '""'/;' build-tree/hardened-cc build-tree/hardened-ld >perl -pi -e "s/default\{'DEB_BUILD_HARDENING_PIE'\}=1;/default{'DEB_BUILD_HARDENING_PIE'}=0;/;" build-tree/hardened-cc build-tree/hardened-ld >perl -pi -e "s/default\{'DEB_BUILD_HARDENING_STACKPROTECTOR'\}=1;/default{'DEB_BUILD_HARDENING_STACKPROTECTOR'}=1;/;" build-tree/hardened-cc build-tree/hardened-ld ># Duplicate cc wrapper to c++. >install build-tree/hardened-cc build-tree/hardened-c++ >perl -pi -e 's/hardened-cc/hardened-c++/g; s|/usr/bin/cc|/usr/bin/c++|g;' build-tree/hardened-c++ ># Construct tools. >install hardening.make hardening-check build-tree/ ># Do not use "shell" here because it eats newlines. We want those. >perl -pi -e "s/^my %libc;/my %libc = (\n$(perl hardening-check --find-libc-functions /bin/ls)\n);/;" build-tree/hardening-check ># Construct man pages. >install hardened-cc.1 hardened-ld.1 build-tree/ >pod2man hardening-check > build-tree/hardening-check.1 ># Duplicate cc man page to c++. >install build-tree/hardened-cc.1 build-tree/hardened-c++.1 >perl -pi -e 's/hardened-cc/hardened-c++/g; s/gcc/g++/g;' build-tree/hardened-c++.1 >touch build-tree/stamp-build >make: Leaving directory '/builddir/build/BUILD/hardening-wrapper-2.6/hardening-wrapper' >Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.J3nus3 >+ exit 0 >+ umask 022 >+ cd /builddir/build/BUILD >+ '[' /builddir/build/BUILDROOT/hardening-wrapper-2.6-5.fc29.ppc64le '!=' / ']' >+ rm -rf /builddir/build/BUILDROOT/hardening-wrapper-2.6-5.fc29.ppc64le >++ dirname /builddir/build/BUILDROOT/hardening-wrapper-2.6-5.fc29.ppc64le >+ mkdir -p /builddir/build/BUILDROOT >+ mkdir /builddir/build/BUILDROOT/hardening-wrapper-2.6-5.fc29.ppc64le >+ cd hardening-wrapper-2.6 >+ /usr/bin/install -Dpm 0755 hardening-wrapper/build-tree/hardening-check /builddir/build/BUILDROOT/hardening-wrapper-2.6-5.fc29.ppc64le/usr/bin/hardening-check >+ /usr/bin/install -Dpm 0644 hardening-wrapper/build-tree/hardening-check.1 /builddir/build/BUILDROOT/hardening-wrapper-2.6-5.fc29.ppc64le/usr/share/man/man1/hardening-check.1 >+ /usr/lib/rpm/check-buildroot >+ /usr/lib/rpm/redhat/brp-ldconfig >/sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory >+ /usr/lib/rpm/brp-compress >+ /usr/lib/rpm/brp-strip /usr/bin/strip >+ /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump >+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip >+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 >+ /usr/lib/rpm/brp-python-hardlink >+ /usr/lib/rpm/redhat/brp-mangle-shebangs >Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.tkarNE >+ umask 022 >+ cd /builddir/build/BUILD >+ cd hardening-wrapper-2.6 >+ /usr/bin/make -O -j4 -C hardening-wrapper check >make: Entering directory '/builddir/build/BUILD/hardening-wrapper-2.6/hardening-wrapper' >make -C tests check >make[1]: Entering directory '/builddir/build/BUILD/hardening-wrapper-2.6/hardening-wrapper/tests' >make[1]: Leaving directory '/builddir/build/BUILD/hardening-wrapper-2.6/hardening-wrapper/tests' >make[1]: Entering directory '/builddir/build/BUILD/hardening-wrapper-2.6/hardening-wrapper/tests' ># Check the stack protector and PIE options directly, just to have ># a historical record in the build logs. >cc -Wall -fstack-protector hello.c -o ../build-tree/cc-test || true >../build-tree/cc-test || true >../build-tree/cc-test: ok (0x100006bc) >cc -Wall -fstack-protector-strong hello.c -o ../build-tree/cc-test || true >../build-tree/cc-test || true >../build-tree/cc-test: ok (0x100006bc) >cc -Wall -fPIE -pie hello.c -o ../build-tree/cc-test || true >../build-tree/cc-test || true >../build-tree/cc-test: ok (0x10c5a085c) >../build-tree/cc-test || true >../build-tree/cc-test: ok (0x1086c085c) >make -f Makefile.wrapper check >make[2]: Entering directory '/builddir/build/BUILD/hardening-wrapper-2.6/hardening-wrapper/tests' ># Test basic perl syntax >for script in ../build-tree/hardened-cc ../build-tree/hardened-ld ../build-tree/hardened-c++; do perl -c $script; done >touch syntax.stamp ># Compiler and linker options disabled. >DEB_BUILD_HARDENING=0 ../build-tree/hardened-cc -B ../build-tree/ -o ../build-tree/wrapper-test-stock hello.c >readelf -ldrsW ../build-tree/wrapper-test-stock >Elf file type is EXEC (Executable file) >Entry point 0x100004e0 >There are 9 program headers, starting at offset 64 >Program Headers: > Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align > PHDR 0x000040 0x0000000010000040 0x0000000010000040 0x0001f8 0x0001f8 R 0x8 > INTERP 0x000238 0x0000000010000238 0x0000000010000238 0x000011 0x000011 R 0x1 > [Requesting program interpreter: /lib64/ld64.so.2] > LOAD 0x000000 0x0000000010000000 0x0000000010000000 0x000a48 0x000a48 R E 0x10000 > LOAD 0x00fd00 0x000000001001fd00 0x000000001001fd00 0x000334 0x000338 RW 0x10000 > DYNAMIC 0x00fd10 0x000000001001fd10 0x000000001001fd10 0x0001f0 0x0001f0 RW 0x8 > NOTE 0x00024c 0x000000001000024c 0x000000001000024c 0x000044 0x000044 R 0x4 > GNU_EH_FRAME 0x000920 0x0000000010000920 0x0000000010000920 0x000044 0x000044 R 0x4 > GNU_STACK 0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x000000 RW 0x10 > GNU_RELRO 0x00fd00 0x000000001001fd00 0x000000001001fd00 0x000300 0x000300 R 0x1 > Section to Segment mapping: > Segment Sections... > 00 > 01 .interp > 02 .interp .note.ABI-tag .note.gnu.build-id .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rela.dyn .rela.plt .init .text .fini .rodata .eh_frame_hdr .eh_frame > 03 .init_array .fini_array .dynamic .got .plt .data .bss > 04 .dynamic > 05 .note.ABI-tag .note.gnu.build-id > 06 .eh_frame_hdr > 07 > 08 .init_array .fini_array .dynamic .got >Dynamic section at offset 0xfd10 contains 26 entries: > Tag Type Name/Value > 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] > 0x000000000000000c (INIT) 0x10000440 > 0x000000000000000d (FINI) 0x100008b0 > 0x0000000000000019 (INIT_ARRAY) 0x1001fd00 > 0x000000000000001b (INIT_ARRAYSZ) 8 (bytes) > 0x000000000000001a (FINI_ARRAY) 0x1001fd08 > 0x000000000000001c (FINI_ARRAYSZ) 8 (bytes) > 0x000000006ffffef5 (GNU_HASH) 0x10000290 > 0x0000000000000005 (STRTAB) 0x10000328 > 0x0000000000000006 (SYMTAB) 0x100002b0 > 0x000000000000000a (STRSZ) 64 (bytes) > 0x000000000000000b (SYMENT) 24 (bytes) > 0x0000000000000015 (DEBUG) 0x0 > 0x0000000000000003 (PLTGOT) 0x10020000 > 0x0000000000000002 (PLTRELSZ) 96 (bytes) > 0x0000000000000014 (PLTREL) RELA > 0x0000000000000017 (JMPREL) 0x100003b0 > 0x0000000070000000 (PPC64_GLINK) 0x10000880 > 0x0000000070000003 (PPC64_OPT) 0x0 > 0x0000000000000007 (RELA) 0x10000398 > 0x0000000000000008 (RELASZ) 24 (bytes) > 0x0000000000000009 (RELAENT) 24 (bytes) > 0x000000006ffffffe (VERNEED) 0x10000378 > 0x000000006fffffff (VERNEEDNUM) 1 > 0x000000006ffffff0 (VERSYM) 0x10000368 > 0x0000000000000000 (NULL) 0x0 >Relocation section '.rela.dyn' at offset 0x398 contains 1 entry: > Offset Info Type Symbol's Value Symbol's Name + Addend >000000001001ff08 0000000300000026 R_PPC64_ADDR64 0000000000000000 __gmon_start__ + 0 >Relocation section '.rela.plt' at offset 0x3b0 contains 4 entries: > Offset Info Type Symbol's Value Symbol's Name + Addend >0000000010020010 0000000100000015 R_PPC64_JMP_SLOT 0000000000000000 snprintf@GLIBC_2.17 + 0 >0000000010020018 0000000200000015 R_PPC64_JMP_SLOT 0000000000000000 __libc_start_main@GLIBC_2.17 + 0 >0000000010020020 0000000300000015 R_PPC64_JMP_SLOT 0000000000000000 __gmon_start__ + 0 >0000000010020028 0000000400000015 R_PPC64_JMP_SLOT 0000000000000000 printf@GLIBC_2.17 + 0 >Symbol table '.dynsym' contains 5 entries: > Num: Value Size Type Bind Vis Ndx Name > 0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND > 1: 0000000000000000 0 FUNC GLOBAL DEFAULT UND snprintf@GLIBC_2.17 (2) [<localentry>: 8] > 2: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __libc_start_main@GLIBC_2.17 (2) [<localentry>: 8] > 3: 0000000000000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__ > 4: 0000000000000000 0 FUNC GLOBAL DEFAULT UND printf@GLIBC_2.17 (2) [<localentry>: 8] >Symbol table '.symtab' contains 75 entries: > Num: Value Size Type Bind Vis Ndx Name > 0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND > 1: 0000000010000238 0 SECTION LOCAL DEFAULT 1 > 2: 000000001000024c 0 SECTION LOCAL DEFAULT 2 > 3: 000000001000026c 0 SECTION LOCAL DEFAULT 3 > 4: 0000000010000290 0 SECTION LOCAL DEFAULT 4 > 5: 00000000100002b0 0 SECTION LOCAL DEFAULT 5 > 6: 0000000010000328 0 SECTION LOCAL DEFAULT 6 > 7: 0000000010000368 0 SECTION LOCAL DEFAULT 7 > 8: 0000000010000378 0 SECTION LOCAL DEFAULT 8 > 9: 0000000010000398 0 SECTION LOCAL DEFAULT 9 > 10: 00000000100003b0 0 SECTION LOCAL DEFAULT 10 > 11: 0000000010000420 0 SECTION LOCAL DEFAULT 11 > 12: 0000000010000480 0 SECTION LOCAL DEFAULT 12 > 13: 00000000100008b0 0 SECTION LOCAL DEFAULT 13 > 14: 00000000100008d8 0 SECTION LOCAL DEFAULT 14 > 15: 0000000010000920 0 SECTION LOCAL DEFAULT 15 > 16: 0000000010000964 0 SECTION LOCAL DEFAULT 16 > 17: 000000001001fd00 0 SECTION LOCAL DEFAULT 17 > 18: 000000001001fd08 0 SECTION LOCAL DEFAULT 18 > 19: 000000001001fd10 0 SECTION LOCAL DEFAULT 19 > 20: 000000001001ff00 0 SECTION LOCAL DEFAULT 20 > 21: 0000000010020000 0 SECTION LOCAL DEFAULT 21 > 22: 0000000010020030 0 SECTION LOCAL DEFAULT 22 > 23: 0000000010020034 0 SECTION LOCAL DEFAULT 23 > 24: 0000000000000000 0 SECTION LOCAL DEFAULT 24 > 25: 0000000000000000 0 SECTION LOCAL DEFAULT 25 > 26: 0000000000000000 0 FILE LOCAL DEFAULT ABS /usr/lib/gcc/ppc64le-redhat-linux/8/../../../../lib64/crt1.o > 27: 0000000010000526 0 NOTYPE LOCAL HIDDEN 12 init.c > 28: 0000000010000524 0 NOTYPE LOCAL DEFAULT 12 init.c_end > 29: 0000000010000526 0 NOTYPE LOCAL HIDDEN 12 static_reloc.c > 30: 0000000010000524 0 NOTYPE LOCAL DEFAULT 12 static_reloc.c_end > 31: 0000000000000000 0 FILE LOCAL DEFAULT ABS crtstuff.c > 32: 0000000010000530 0 FUNC LOCAL DEFAULT 12 deregister_tm_clones [<localentry>: 8] > 33: 0000000010000590 0 FUNC LOCAL DEFAULT 12 register_tm_clones [<localentry>: 8] > 34: 0000000010000600 0 FUNC LOCAL DEFAULT 12 __do_global_dtors_aux [<localentry>: 8] > 35: 0000000010020034 1 OBJECT LOCAL DEFAULT 23 completed.9287 > 36: 000000001001fd08 0 OBJECT LOCAL DEFAULT 18 __do_global_dtors_aux_fini_array_entry > 37: 0000000010000650 0 FUNC LOCAL DEFAULT 12 frame_dummy [<localentry>: 8] > 38: 000000001001fd00 0 OBJECT LOCAL DEFAULT 17 __frame_dummy_init_array_entry > 39: 0000000000000000 0 FILE LOCAL DEFAULT ABS hello.c > 40: 0000000000000000 0 FILE LOCAL DEFAULT ABS elf-init.oS > 41: 0000000010000772 0 NOTYPE LOCAL HIDDEN 12 elf_init.c > 42: 0000000010000860 0 NOTYPE LOCAL DEFAULT 12 elf_init.c_end > 43: 0000000000000000 0 FILE LOCAL DEFAULT ABS crtstuff.c > 44: 0000000010000a44 0 OBJECT LOCAL DEFAULT 16 __FRAME_END__ > 45: 0000000000000000 0 FILE LOCAL DEFAULT ABS > 46: 0000000010000480 0 NOTYPE LOCAL DEFAULT 12 00000018.plt_call.__libc_start_main@@GLIBC_2.17 > 47: 0000000010000868 0 NOTYPE LOCAL DEFAULT 12 __glink_PLTresolve > 48: 000000001001fd08 0 NOTYPE LOCAL DEFAULT 17 __init_array_end > 49: 00000000100004a0 0 NOTYPE LOCAL DEFAULT 12 00000018.plt_call.snprintf@@GLIBC_2.17 > 50: 0000000010000420 0 NOTYPE LOCAL DEFAULT 11 00000026.plt_call.__gmon_start__ > 51: 00000000100004c0 0 NOTYPE LOCAL DEFAULT 12 00000018.plt_call.printf@@GLIBC_2.17 > 52: 000000001001fd10 0 OBJECT LOCAL DEFAULT 19 _DYNAMIC > 53: 000000001001fd00 0 NOTYPE LOCAL DEFAULT 17 __init_array_start > 54: 0000000010000920 0 NOTYPE LOCAL DEFAULT 15 __GNU_EH_FRAME_HDR > 55: 0000000010027f00 0 OBJECT LOCAL DEFAULT 20 .TOC. > 56: 0000000010000850 16 FUNC GLOBAL DEFAULT 12 __libc_csu_fini > 57: 0000000010020030 0 NOTYPE WEAK DEFAULT 22 data_start > 58: 0000000010020034 0 NOTYPE GLOBAL DEFAULT 22 _edata > 59: 0000000000000000 0 FUNC GLOBAL DEFAULT UND snprintf@@GLIBC_2.17 [<localentry>: 8] > 60: 00000000100008b0 0 FUNC GLOBAL DEFAULT 13 _fini [<localentry>: 8] > 61: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __libc_start_main@@GLIBC_2.17 [<localentry>: 8] > 62: 0000000010020030 0 NOTYPE GLOBAL DEFAULT 22 __data_start > 63: 0000000000000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__ > 64: 0000000010000900 0 OBJECT GLOBAL HIDDEN 14 __dso_handle > 65: 000000001000065c 136 FUNC GLOBAL DEFAULT 12 announcement [<localentry>: 8] > 66: 00000000100008f8 4 OBJECT GLOBAL DEFAULT 14 _IO_stdin_used > 67: 0000000010000770 212 FUNC GLOBAL DEFAULT 12 __libc_csu_init [<localentry>: 8] > 68: 0000000010020038 0 NOTYPE GLOBAL DEFAULT 23 _end > 69: 00000000100004e0 68 FUNC GLOBAL DEFAULT 12 _start [<localentry>: 8] > 70: 0000000010020034 0 NOTYPE GLOBAL DEFAULT 23 __bss_start > 71: 00000000100006e4 128 FUNC GLOBAL DEFAULT 12 main [<localentry>: 8] > 72: 0000000010020038 0 OBJECT GLOBAL HIDDEN 22 __TMC_END__ > 73: 0000000000000000 0 FUNC GLOBAL DEFAULT UND printf@@GLIBC_2.17 [<localentry>: 8] > 74: 0000000010000440 0 FUNC GLOBAL DEFAULT 11 _init [<localentry>: 8] >../build-tree/wrapper-test-stock >../build-tree/wrapper-test-stock: ok (0x1000065c) ># Compiler options enabled. (linker is not wrapper) >../build-tree/hardened-cc -B ../build-tree/ -O2 -o ../build-tree/wrapper-test-compiled hello.c >readelf -ldrsW ../build-tree/wrapper-test-compiled >Elf file type is EXEC (Executable file) >Entry point 0x10000584 >There are 9 program headers, starting at offset 64 >Program Headers: > Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align > PHDR 0x000040 0x0000000010000040 0x0000000010000040 0x0001f8 0x0001f8 R 0x8 > INTERP 0x000238 0x0000000010000238 0x0000000010000238 0x000011 0x000011 R 0x1 > [Requesting program interpreter: /lib64/ld64.so.2] > LOAD 0x000000 0x0000000010000000 0x0000000010000000 0x000a78 0x000a78 R E 0x10000 > LOAD 0x00fd00 0x000000001001fd00 0x000000001001fd00 0x00033c 0x000340 RW 0x10000 > DYNAMIC 0x00fd10 0x000000001001fd10 0x000000001001fd10 0x0001f0 0x0001f0 RW 0x8 > NOTE 0x00024c 0x000000001000024c 0x000000001000024c 0x000044 0x000044 R 0x4 > GNU_EH_FRAME 0x000950 0x0000000010000950 0x0000000010000950 0x000044 0x000044 R 0x4 > GNU_STACK 0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x000000 RW 0x10 > GNU_RELRO 0x00fd00 0x000000001001fd00 0x000000001001fd00 0x000300 0x000300 R 0x1 > Section to Segment mapping: > Segment Sections... > 00 > 01 .interp > 02 .interp .note.ABI-tag .note.gnu.build-id .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rela.dyn .rela.plt .init .text .fini .rodata .eh_frame_hdr .eh_frame > 03 .init_array .fini_array .dynamic .got .plt .data .bss > 04 .dynamic > 05 .note.ABI-tag .note.gnu.build-id > 06 .eh_frame_hdr > 07 > 08 .init_array .fini_array .dynamic .got >Dynamic section at offset 0xfd10 contains 26 entries: > Tag Type Name/Value > 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] > 0x000000000000000c (INIT) 0x10000480 > 0x000000000000000d (FINI) 0x100008e4 > 0x0000000000000019 (INIT_ARRAY) 0x1001fd00 > 0x000000000000001b (INIT_ARRAYSZ) 8 (bytes) > 0x000000000000001a (FINI_ARRAY) 0x1001fd08 > 0x000000000000001c (FINI_ARRAYSZ) 8 (bytes) > 0x000000006ffffef5 (GNU_HASH) 0x10000290 > 0x0000000000000005 (STRTAB) 0x10000340 > 0x0000000000000006 (SYMTAB) 0x100002b0 > 0x000000000000000a (STRSZ) 94 (bytes) > 0x000000000000000b (SYMENT) 24 (bytes) > 0x0000000000000015 (DEBUG) 0x0 > 0x0000000000000003 (PLTGOT) 0x10020000 > 0x0000000000000002 (PLTRELSZ) 120 (bytes) > 0x0000000000000014 (PLTREL) RELA > 0x0000000000000017 (JMPREL) 0x100003e8 > 0x0000000070000000 (PPC64_GLINK) 0x100008b0 > 0x0000000070000003 (PPC64_OPT) 0x0 > 0x0000000000000007 (RELA) 0x100003d0 > 0x0000000000000008 (RELASZ) 24 (bytes) > 0x0000000000000009 (RELAENT) 24 (bytes) > 0x000000006ffffffe (VERNEED) 0x100003b0 > 0x000000006fffffff (VERNEEDNUM) 1 > 0x000000006ffffff0 (VERSYM) 0x1000039e > 0x0000000000000000 (NULL) 0x0 >Relocation section '.rela.dyn' at offset 0x3d0 contains 1 entry: > Offset Info Type Symbol's Value Symbol's Name + Addend >000000001001ff08 0000000500000026 R_PPC64_ADDR64 0000000000000000 __gmon_start__ + 0 >Relocation section '.rela.plt' at offset 0x3e8 contains 5 entries: > Offset Info Type Symbol's Value Symbol's Name + Addend >0000000010020010 0000000100000015 R_PPC64_JMP_SLOT 0000000000000000 snprintf@GLIBC_2.17 + 0 >0000000010020018 0000000200000015 R_PPC64_JMP_SLOT 0000000000000000 __libc_start_main@GLIBC_2.17 + 0 >0000000010020020 0000000300000015 R_PPC64_JMP_SLOT 0000000000000000 __printf_chk@GLIBC_2.17 + 0 >0000000010020028 0000000400000015 R_PPC64_JMP_SLOT 0000000000000000 __stack_chk_fail@GLIBC_2.17 + 0 >0000000010020030 0000000500000015 R_PPC64_JMP_SLOT 0000000000000000 __gmon_start__ + 0 >Symbol table '.dynsym' contains 6 entries: > Num: Value Size Type Bind Vis Ndx Name > 0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND > 1: 0000000000000000 0 FUNC GLOBAL DEFAULT UND snprintf@GLIBC_2.17 (2) [<localentry>: 8] > 2: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __libc_start_main@GLIBC_2.17 (2) [<localentry>: 8] > 3: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __printf_chk@GLIBC_2.17 (2) [<localentry>: 8] > 4: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __stack_chk_fail@GLIBC_2.17 (2) [<localentry>: 8] > 5: 0000000000000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__ >Symbol table '.symtab' contains 77 entries: > Num: Value Size Type Bind Vis Ndx Name > 0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND > 1: 0000000010000238 0 SECTION LOCAL DEFAULT 1 > 2: 000000001000024c 0 SECTION LOCAL DEFAULT 2 > 3: 000000001000026c 0 SECTION LOCAL DEFAULT 3 > 4: 0000000010000290 0 SECTION LOCAL DEFAULT 4 > 5: 00000000100002b0 0 SECTION LOCAL DEFAULT 5 > 6: 0000000010000340 0 SECTION LOCAL DEFAULT 6 > 7: 000000001000039e 0 SECTION LOCAL DEFAULT 7 > 8: 00000000100003b0 0 SECTION LOCAL DEFAULT 8 > 9: 00000000100003d0 0 SECTION LOCAL DEFAULT 9 > 10: 00000000100003e8 0 SECTION LOCAL DEFAULT 10 > 11: 0000000010000460 0 SECTION LOCAL DEFAULT 11 > 12: 00000000100004c0 0 SECTION LOCAL DEFAULT 12 > 13: 00000000100008e4 0 SECTION LOCAL DEFAULT 13 > 14: 0000000010000908 0 SECTION LOCAL DEFAULT 14 > 15: 0000000010000950 0 SECTION LOCAL DEFAULT 15 > 16: 0000000010000994 0 SECTION LOCAL DEFAULT 16 > 17: 000000001001fd00 0 SECTION LOCAL DEFAULT 17 > 18: 000000001001fd08 0 SECTION LOCAL DEFAULT 18 > 19: 000000001001fd10 0 SECTION LOCAL DEFAULT 19 > 20: 000000001001ff00 0 SECTION LOCAL DEFAULT 20 > 21: 0000000010020000 0 SECTION LOCAL DEFAULT 21 > 22: 0000000010020038 0 SECTION LOCAL DEFAULT 22 > 23: 000000001002003c 0 SECTION LOCAL DEFAULT 23 > 24: 0000000000000000 0 SECTION LOCAL DEFAULT 24 > 25: 0000000000000000 0 SECTION LOCAL DEFAULT 25 > 26: 0000000000000000 0 FILE LOCAL DEFAULT ABS /usr/lib/gcc/ppc64le-redhat-linux/8/../../../../lib64/crt1.o > 27: 00000000100005ca 0 NOTYPE LOCAL HIDDEN 12 init.c > 28: 00000000100005c8 0 NOTYPE LOCAL DEFAULT 12 init.c_end > 29: 00000000100005ca 0 NOTYPE LOCAL HIDDEN 12 static_reloc.c > 30: 00000000100005c8 0 NOTYPE LOCAL DEFAULT 12 static_reloc.c_end > 31: 0000000000000000 0 FILE LOCAL DEFAULT ABS hello.c > 32: 0000000000000000 0 FILE LOCAL DEFAULT ABS crtstuff.c > 33: 00000000100005d0 0 FUNC LOCAL DEFAULT 12 deregister_tm_clones [<localentry>: 8] > 34: 0000000010000630 0 FUNC LOCAL DEFAULT 12 register_tm_clones [<localentry>: 8] > 35: 00000000100006a0 0 FUNC LOCAL DEFAULT 12 __do_global_dtors_aux [<localentry>: 8] > 36: 000000001002003c 1 OBJECT LOCAL DEFAULT 23 completed.9287 > 37: 000000001001fd08 0 OBJECT LOCAL DEFAULT 18 __do_global_dtors_aux_fini_array_entry > 38: 00000000100006f0 0 FUNC LOCAL DEFAULT 12 frame_dummy [<localentry>: 8] > 39: 000000001001fd00 0 OBJECT LOCAL DEFAULT 17 __frame_dummy_init_array_entry > 40: 0000000000000000 0 FILE LOCAL DEFAULT ABS elf-init.oS > 41: 00000000100007a2 0 NOTYPE LOCAL HIDDEN 12 elf_init.c > 42: 0000000010000890 0 NOTYPE LOCAL DEFAULT 12 elf_init.c_end > 43: 0000000000000000 0 FILE LOCAL DEFAULT ABS crtstuff.c > 44: 0000000010000a74 0 OBJECT LOCAL DEFAULT 16 __FRAME_END__ > 45: 0000000000000000 0 FILE LOCAL DEFAULT ABS > 46: 0000000010000898 0 NOTYPE LOCAL DEFAULT 12 __glink_PLTresolve > 47: 000000001001fd08 0 NOTYPE LOCAL DEFAULT 17 __init_array_end > 48: 00000000100004c0 0 NOTYPE LOCAL DEFAULT 12 00000038.plt_call.__libc_start_main@@GLIBC_2.17 > 49: 0000000010000460 0 NOTYPE LOCAL DEFAULT 11 00000026.plt_call.__gmon_start__ > 50: 0000000010000500 0 NOTYPE LOCAL DEFAULT 12 00000038.plt_call.__printf_chk@@GLIBC_2.17 > 51: 00000000100004e0 0 NOTYPE LOCAL DEFAULT 12 00000038.plt_call.snprintf@@GLIBC_2.17 > 52: 000000001001fd10 0 OBJECT LOCAL DEFAULT 19 _DYNAMIC > 53: 000000001001fd00 0 NOTYPE LOCAL DEFAULT 17 __init_array_start > 54: 0000000010000950 0 NOTYPE LOCAL DEFAULT 15 __GNU_EH_FRAME_HDR > 55: 0000000010027f00 0 OBJECT LOCAL DEFAULT 20 .TOC. > 56: 0000000010000520 0 NOTYPE LOCAL DEFAULT 12 00000038.plt_call.__stack_chk_fail@@GLIBC_2.17 > 57: 0000000010000880 16 FUNC GLOBAL DEFAULT 12 __libc_csu_fini > 58: 0000000010020038 0 NOTYPE WEAK DEFAULT 22 data_start > 59: 000000001002003c 0 NOTYPE GLOBAL DEFAULT 22 _edata > 60: 0000000000000000 0 FUNC GLOBAL DEFAULT UND snprintf@@GLIBC_2.17 [<localentry>: 8] > 61: 00000000100008e4 0 FUNC GLOBAL DEFAULT 13 _fini [<localentry>: 8] > 62: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __libc_start_main@@GLIBC_2.17 [<localentry>: 8] > 63: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __printf_chk@@GLIBC_2.17 [<localentry>: 8] > 64: 0000000010020038 0 NOTYPE GLOBAL DEFAULT 22 __data_start > 65: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __stack_chk_fail@@GLIBC_2.17 [<localentry>: 8] > 66: 0000000000000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__ > 67: 0000000010000930 0 OBJECT GLOBAL HIDDEN 14 __dso_handle > 68: 0000000010000700 148 FUNC GLOBAL DEFAULT 12 announcement [<localentry>: 8] > 69: 0000000010000928 4 OBJECT GLOBAL DEFAULT 14 _IO_stdin_used > 70: 00000000100007a0 212 FUNC GLOBAL DEFAULT 12 __libc_csu_init [<localentry>: 8] > 71: 0000000010020040 0 NOTYPE GLOBAL DEFAULT 23 _end > 72: 0000000010000584 68 FUNC GLOBAL DEFAULT 12 _start [<localentry>: 8] > 73: 000000001002003c 0 NOTYPE GLOBAL DEFAULT 23 __bss_start > 74: 0000000010000540 68 FUNC GLOBAL DEFAULT 12 main [<localentry>: 8] > 75: 0000000010020040 0 OBJECT GLOBAL HIDDEN 22 __TMC_END__ > 76: 0000000010000480 0 FUNC GLOBAL DEFAULT 11 _init [<localentry>: 8] ># Run twice to show off PIE, if available in kernel >../build-tree/wrapper-test-compiled >../build-tree/wrapper-test-compiled: ok (0x10000700) >../build-tree/wrapper-test-compiled >../build-tree/wrapper-test-compiled: ok (0x10000700) ># Enable symlink for ld to trick gcc into doing wrapped linking >(cd ../build-tree && ln -s hardened-ld ld) >(cd ../build-tree && ln -s hardened-ld ld.gold) ># Compiler and linker options enabled. >../build-tree/hardened-cc -B ../build-tree/ -O2 -o ../build-tree/wrapper-test-linked hello.c >readelf -ldrsW ../build-tree/wrapper-test-linked >Elf file type is EXEC (Executable file) >Entry point 0x10000584 >There are 9 program headers, starting at offset 64 >Program Headers: > Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align > PHDR 0x000040 0x0000000010000040 0x0000000010000040 0x0001f8 0x0001f8 R 0x8 > INTERP 0x000238 0x0000000010000238 0x0000000010000238 0x000011 0x000011 R 0x1 > [Requesting program interpreter: /lib64/ld64.so.2] > LOAD 0x000000 0x0000000010000000 0x0000000010000000 0x000a78 0x000a78 R E 0x10000 > LOAD 0x00fca8 0x000000001001fca8 0x000000001001fca8 0x00035c 0x000360 RW 0x10000 > DYNAMIC 0x00fcb8 0x000000001001fcb8 0x000000001001fcb8 0x000210 0x000210 RW 0x8 > NOTE 0x00024c 0x000000001000024c 0x000000001000024c 0x000044 0x000044 R 0x4 > GNU_EH_FRAME 0x000950 0x0000000010000950 0x0000000010000950 0x000044 0x000044 R 0x4 > GNU_STACK 0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x000000 RW 0x10 > GNU_RELRO 0x00fca8 0x000000001001fca8 0x000000001001fca8 0x000358 0x000358 R 0x1 > Section to Segment mapping: > Segment Sections... > 00 > 01 .interp > 02 .interp .note.ABI-tag .note.gnu.build-id .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rela.dyn .rela.plt .init .text .fini .rodata .eh_frame_hdr .eh_frame > 03 .init_array .fini_array .dynamic .plt .got .data .bss > 04 .dynamic > 05 .note.ABI-tag .note.gnu.build-id > 06 .eh_frame_hdr > 07 > 08 .init_array .fini_array .dynamic .plt .got >Dynamic section at offset 0xfcb8 contains 28 entries: > Tag Type Name/Value > 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] > 0x000000000000000c (INIT) 0x10000480 > 0x000000000000000d (FINI) 0x100008e4 > 0x0000000000000019 (INIT_ARRAY) 0x1001fca8 > 0x000000000000001b (INIT_ARRAYSZ) 8 (bytes) > 0x000000000000001a (FINI_ARRAY) 0x1001fcb0 > 0x000000000000001c (FINI_ARRAYSZ) 8 (bytes) > 0x000000006ffffef5 (GNU_HASH) 0x10000290 > 0x0000000000000005 (STRTAB) 0x10000340 > 0x0000000000000006 (SYMTAB) 0x100002b0 > 0x000000000000000a (STRSZ) 94 (bytes) > 0x000000000000000b (SYMENT) 24 (bytes) > 0x0000000000000015 (DEBUG) 0x0 > 0x0000000000000003 (PLTGOT) 0x1001fec8 > 0x0000000000000002 (PLTRELSZ) 120 (bytes) > 0x0000000000000014 (PLTREL) RELA > 0x0000000000000017 (JMPREL) 0x100003e8 > 0x0000000070000000 (PPC64_GLINK) 0x100008b0 > 0x0000000070000003 (PPC64_OPT) 0x0 > 0x0000000000000007 (RELA) 0x100003d0 > 0x0000000000000008 (RELASZ) 24 (bytes) > 0x0000000000000009 (RELAENT) 24 (bytes) > 0x0000000000000018 (BIND_NOW) > 0x000000006ffffffb (FLAGS_1) Flags: NOW > 0x000000006ffffffe (VERNEED) 0x100003b0 > 0x000000006fffffff (VERNEEDNUM) 1 > 0x000000006ffffff0 (VERSYM) 0x1000039e > 0x0000000000000000 (NULL) 0x0 >Relocation section '.rela.dyn' at offset 0x3d0 contains 1 entry: > Offset Info Type Symbol's Value Symbol's Name + Addend >000000001001ff08 0000000500000026 R_PPC64_ADDR64 0000000000000000 __gmon_start__ + 0 >Relocation section '.rela.plt' at offset 0x3e8 contains 5 entries: > Offset Info Type Symbol's Value Symbol's Name + Addend >000000001001fed8 0000000100000015 R_PPC64_JMP_SLOT 0000000000000000 snprintf@GLIBC_2.17 + 0 >000000001001fee0 0000000200000015 R_PPC64_JMP_SLOT 0000000000000000 __libc_start_main@GLIBC_2.17 + 0 >000000001001fee8 0000000300000015 R_PPC64_JMP_SLOT 0000000000000000 __printf_chk@GLIBC_2.17 + 0 >000000001001fef0 0000000400000015 R_PPC64_JMP_SLOT 0000000000000000 __stack_chk_fail@GLIBC_2.17 + 0 >000000001001fef8 0000000500000015 R_PPC64_JMP_SLOT 0000000000000000 __gmon_start__ + 0 >Symbol table '.dynsym' contains 6 entries: > Num: Value Size Type Bind Vis Ndx Name > 0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND > 1: 0000000000000000 0 FUNC GLOBAL DEFAULT UND snprintf@GLIBC_2.17 (2) [<localentry>: 8] > 2: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __libc_start_main@GLIBC_2.17 (2) [<localentry>: 8] > 3: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __printf_chk@GLIBC_2.17 (2) [<localentry>: 8] > 4: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __stack_chk_fail@GLIBC_2.17 (2) [<localentry>: 8] > 5: 0000000000000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__ >Symbol table '.symtab' contains 77 entries: > Num: Value Size Type Bind Vis Ndx Name > 0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND > 1: 0000000010000238 0 SECTION LOCAL DEFAULT 1 > 2: 000000001000024c 0 SECTION LOCAL DEFAULT 2 > 3: 000000001000026c 0 SECTION LOCAL DEFAULT 3 > 4: 0000000010000290 0 SECTION LOCAL DEFAULT 4 > 5: 00000000100002b0 0 SECTION LOCAL DEFAULT 5 > 6: 0000000010000340 0 SECTION LOCAL DEFAULT 6 > 7: 000000001000039e 0 SECTION LOCAL DEFAULT 7 > 8: 00000000100003b0 0 SECTION LOCAL DEFAULT 8 > 9: 00000000100003d0 0 SECTION LOCAL DEFAULT 9 > 10: 00000000100003e8 0 SECTION LOCAL DEFAULT 10 > 11: 0000000010000460 0 SECTION LOCAL DEFAULT 11 > 12: 00000000100004c0 0 SECTION LOCAL DEFAULT 12 > 13: 00000000100008e4 0 SECTION LOCAL DEFAULT 13 > 14: 0000000010000908 0 SECTION LOCAL DEFAULT 14 > 15: 0000000010000950 0 SECTION LOCAL DEFAULT 15 > 16: 0000000010000994 0 SECTION LOCAL DEFAULT 16 > 17: 000000001001fca8 0 SECTION LOCAL DEFAULT 17 > 18: 000000001001fcb0 0 SECTION LOCAL DEFAULT 18 > 19: 000000001001fcb8 0 SECTION LOCAL DEFAULT 19 > 20: 000000001001fec8 0 SECTION LOCAL DEFAULT 20 > 21: 000000001001ff00 0 SECTION LOCAL DEFAULT 21 > 22: 0000000010020000 0 SECTION LOCAL DEFAULT 22 > 23: 0000000010020004 0 SECTION LOCAL DEFAULT 23 > 24: 0000000000000000 0 SECTION LOCAL DEFAULT 24 > 25: 0000000000000000 0 SECTION LOCAL DEFAULT 25 > 26: 0000000000000000 0 FILE LOCAL DEFAULT ABS /usr/lib/gcc/ppc64le-redhat-linux/8/../../../../lib64/crt1.o > 27: 00000000100005ca 0 NOTYPE LOCAL HIDDEN 12 init.c > 28: 00000000100005c8 0 NOTYPE LOCAL DEFAULT 12 init.c_end > 29: 00000000100005ca 0 NOTYPE LOCAL HIDDEN 12 static_reloc.c > 30: 00000000100005c8 0 NOTYPE LOCAL DEFAULT 12 static_reloc.c_end > 31: 0000000000000000 0 FILE LOCAL DEFAULT ABS hello.c > 32: 0000000000000000 0 FILE LOCAL DEFAULT ABS crtstuff.c > 33: 00000000100005d0 0 FUNC LOCAL DEFAULT 12 deregister_tm_clones [<localentry>: 8] > 34: 0000000010000630 0 FUNC LOCAL DEFAULT 12 register_tm_clones [<localentry>: 8] > 35: 00000000100006a0 0 FUNC LOCAL DEFAULT 12 __do_global_dtors_aux [<localentry>: 8] > 36: 0000000010020004 1 OBJECT LOCAL DEFAULT 23 completed.9287 > 37: 000000001001fcb0 0 OBJECT LOCAL DEFAULT 18 __do_global_dtors_aux_fini_array_entry > 38: 00000000100006f0 0 FUNC LOCAL DEFAULT 12 frame_dummy [<localentry>: 8] > 39: 000000001001fca8 0 OBJECT LOCAL DEFAULT 17 __frame_dummy_init_array_entry > 40: 0000000000000000 0 FILE LOCAL DEFAULT ABS elf-init.oS > 41: 00000000100007a2 0 NOTYPE LOCAL HIDDEN 12 elf_init.c > 42: 0000000010000890 0 NOTYPE LOCAL DEFAULT 12 elf_init.c_end > 43: 0000000000000000 0 FILE LOCAL DEFAULT ABS crtstuff.c > 44: 0000000010000a74 0 OBJECT LOCAL DEFAULT 16 __FRAME_END__ > 45: 0000000000000000 0 FILE LOCAL DEFAULT ABS > 46: 0000000010000898 0 NOTYPE LOCAL DEFAULT 12 __glink_PLTresolve > 47: 000000001001fcb0 0 NOTYPE LOCAL DEFAULT 17 __init_array_end > 48: 00000000100004c0 0 NOTYPE LOCAL DEFAULT 12 00000038.plt_call.__libc_start_main@@GLIBC_2.17 > 49: 0000000010000460 0 NOTYPE LOCAL DEFAULT 11 00000026.plt_call.__gmon_start__ > 50: 0000000010000500 0 NOTYPE LOCAL DEFAULT 12 00000038.plt_call.__printf_chk@@GLIBC_2.17 > 51: 00000000100004e0 0 NOTYPE LOCAL DEFAULT 12 00000038.plt_call.snprintf@@GLIBC_2.17 > 52: 000000001001fcb8 0 OBJECT LOCAL DEFAULT 19 _DYNAMIC > 53: 000000001001fca8 0 NOTYPE LOCAL DEFAULT 17 __init_array_start > 54: 0000000010000950 0 NOTYPE LOCAL DEFAULT 15 __GNU_EH_FRAME_HDR > 55: 0000000010027f00 0 OBJECT LOCAL DEFAULT 21 .TOC. > 56: 0000000010000520 0 NOTYPE LOCAL DEFAULT 12 00000038.plt_call.__stack_chk_fail@@GLIBC_2.17 > 57: 0000000010000880 16 FUNC GLOBAL DEFAULT 12 __libc_csu_fini > 58: 0000000010020000 0 NOTYPE WEAK DEFAULT 22 data_start > 59: 0000000010020004 0 NOTYPE GLOBAL DEFAULT 22 _edata > 60: 0000000000000000 0 FUNC GLOBAL DEFAULT UND snprintf@@GLIBC_2.17 [<localentry>: 8] > 61: 00000000100008e4 0 FUNC GLOBAL DEFAULT 13 _fini [<localentry>: 8] > 62: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __libc_start_main@@GLIBC_2.17 [<localentry>: 8] > 63: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __printf_chk@@GLIBC_2.17 [<localentry>: 8] > 64: 0000000010020000 0 NOTYPE GLOBAL DEFAULT 22 __data_start > 65: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __stack_chk_fail@@GLIBC_2.17 [<localentry>: 8] > 66: 0000000000000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__ > 67: 0000000010000930 0 OBJECT GLOBAL HIDDEN 14 __dso_handle > 68: 0000000010000700 148 FUNC GLOBAL DEFAULT 12 announcement [<localentry>: 8] > 69: 0000000010000928 4 OBJECT GLOBAL DEFAULT 14 _IO_stdin_used > 70: 00000000100007a0 212 FUNC GLOBAL DEFAULT 12 __libc_csu_init [<localentry>: 8] > 71: 0000000010020008 0 NOTYPE GLOBAL DEFAULT 23 _end > 72: 0000000010000584 68 FUNC GLOBAL DEFAULT 12 _start [<localentry>: 8] > 73: 0000000010020004 0 NOTYPE GLOBAL DEFAULT 23 __bss_start > 74: 0000000010000540 68 FUNC GLOBAL DEFAULT 12 main [<localentry>: 8] > 75: 0000000010020008 0 OBJECT GLOBAL HIDDEN 22 __TMC_END__ > 76: 0000000010000480 0 FUNC GLOBAL DEFAULT 11 _init [<localentry>: 8] ># Run twice to show off PIE, if available in kernel >../build-tree/wrapper-test-linked >../build-tree/wrapper-test-linked: ok (0x10000700) >../build-tree/wrapper-test-linked >../build-tree/wrapper-test-linked: ok (0x10000700) ># Check state of hardening features via check script >perl ../build-tree/hardening-check -p ../build-tree/wrapper-test-linked >make[2]: Leaving directory '/builddir/build/BUILD/hardening-wrapper-2.6/hardening-wrapper/tests' >make[1]: Leaving directory '/builddir/build/BUILD/hardening-wrapper-2.6/hardening-wrapper/tests' >make: Leaving directory '/builddir/build/BUILD/hardening-wrapper-2.6/hardening-wrapper' >RPM build errors: >make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. >../build-tree/hardened-cc syntax OK >../build-tree/hardened-ld syntax OK >../build-tree/hardened-c++ syntax OK >/usr/bin/gcc -B ../build-tree/ -o ../build-tree/wrapper-test-stock hello.c >/usr/bin/gcc -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -B ../build-tree/ -O2 -o ../build-tree/wrapper-test-compiled hello.c >/usr/bin/gcc -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -B ../build-tree/ -O2 -o ../build-tree/wrapper-test-linked hello.c >/usr/bin/ld.bfd -z relro -z now -plugin /usr/libexec/gcc/ppc64le-redhat-linux/8/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/ppc64le-redhat-linux/8/lto-wrapper -plugin-opt=-fresolution=/tmp/ccSMYspd.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf64lppc -dynamic-linker /lib64/ld64.so.2 -o ../build-tree/wrapper-test-linked /usr/lib/gcc/ppc64le-redhat-linux/8/../../../../lib64/crt1.o /usr/lib/gcc/ppc64le-redhat-linux/8/../../../../lib64/crti.o /usr/lib/gcc/ppc64le-redhat-linux/8/crtbegin.o -L../build-tree -L/usr/lib/gcc/ppc64le-redhat-linux/8 -L/usr/lib/gcc/ppc64le-redhat-linux/8/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/ppc64le-redhat-linux/8/../../.. /tmp/ccMUjoGB.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/ppc64le-redhat-linux/8/crtend.o /usr/lib/gcc/ppc64le-redhat-linux/8/../../../../lib64/crtn.o >List of libc functions not defined! at ../build-tree/hardening-check line 165. >make[2]: *** [Makefile.common:85: ../build-tree/wrapper-test-linked] Error 255 >make[1]: *** [Makefile:6: check] Error 2 >make: *** [Makefile:41: check] Error 2 >error: Bad exit status from /var/tmp/rpm-tmp.tkarNE (%check) > Bad exit status from /var/tmp/rpm-tmp.tkarNE (%check) >Child return code was: 1 >EXCEPTION: [Error()] >Traceback (most recent call last): > File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 89, in trace > result = func(*args, **kw) > File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 582, in do > raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) >mockbuild.exception.Error: Command failed. See logs for output. > # bash --login -c /usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/hardening-wrapper.spec
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1582780
:
1442117
| 1442118 |
1442119