=========================================== patchelf 0.18.0: tests/test-suite.log =========================================== # TOTAL: 56 # PASS: 52 # SKIP: 2 # XFAIL: 0 # FAIL: 2 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 SKIP: set-rpath-rel-map.sh ========================== No MIPS_RLD_MAP_REL dynamic section entry, skipping SKIP set-rpath-rel-map.sh (exit status: 77) FAIL: replace-add-needed.sh =========================== patching ELF file './libbar.so' new SONAME is 'libbar.so' SONAME is too long, resizing... DT_NULL index is 24 replacing section '.dynamic' with size 480 replacing section '.dynstr' with size 206 this is a dynamic library last page is 0x300000 first page is 0x0 needed space is 944 rewriting section '.gnu.hash' from offset 0x158 (size 36) to offset 0x102000 (size 36) rewriting section '.dynsym' from offset 0x180 (size 216) to offset 0x102028 (size 216) rewriting section '.dynstr' from offset 0x258 (size 196) to offset 0x102100 (size 206) rewriting section '.dynamic' from offset 0xffe30 (size 464) to offset 0x1021d0 (size 480) rewriting symbol table section 17 rewriting symbol table section 21 writing ./libbar.so patching ELF file './simple' DT_NULL index is 26 replacing section '.dynamic' with size 512 replacing section '.dynstr' with size 164 this is a dynamic library last page is 0x1300000 first page is 0x0 needed space is 1008 rewriting section '.interp' from offset 0x200 (size 21) to offset 0x102000 (size 21) rewriting section '.note.ABI-tag' from offset 0x218 (size 32) to offset 0x102018 (size 32) rewriting section '.gnu.hash' from offset 0x238 (size 28) to offset 0x102038 (size 28) rewriting section '.dynsym' from offset 0x258 (size 240) to offset 0x102058 (size 240) rewriting section '.dynstr' from offset 0x348 (size 153) to offset 0x102148 (size 164) rewriting section '.dynamic' from offset 0xffe10 (size 496) to offset 0x1021f0 (size 512) rewriting symbol table section 17 rewriting symbol table section 23 writing ./simple patching ELF file './libfoo.so' replacing DT_NEEDED entry 'libbar.so' with '/var/tmp/portage/dev-util/patchelf-0.18.0/work/patchelf-0.18.0/tests/scratch/replace-add-needed/libbar.so' resizing .dynstr ... keeping DT_NEEDED entry 'libc.so.6' found .gnu.version_r with 1 entries, strings in .dynstr keeping .gnu.version_r entry 'libc.so.6' replacing section '.dynstr' with size 260 this is a dynamic library last page is 0x300000 first page is 0x0 needed space is 576 rewriting section '.gnu.hash' from offset 0x1c8 (size 44) to offset 0x102000 (size 44) rewriting section '.dynsym' from offset 0x1f8 (size 264) to offset 0x102030 (size 264) rewriting section '.dynstr' from offset 0x300 (size 154) to offset 0x102138 (size 260) rewriting symbol table section 19 rewriting symbol table section 23 writing ./libfoo.so patching ELF file './simple' replacing DT_NEEDED entry 'libbar.so' with '/var/tmp/portage/dev-util/patchelf-0.18.0/work/patchelf-0.18.0/tests/scratch/replace-add-needed/libbar.so' resizing .dynstr ... replacing DT_NEEDED entry 'libc.so.6' with '/usr/lib64/libc.so.6' resizing .dynstr ... found .gnu.version_r with 1 entries, strings in .dynstr replacing .gnu.version_r entry 'libc.so.6' with '/usr/lib64/libc.so.6' replacing section '.dynstr' with size 291 this is a dynamic library last page is 0x1400000 first page is 0x0 needed space is 296 rewriting section '.dynstr' from offset 0x102148 (size 164) to offset 0x104000 (size 291) rewriting symbol table section 17 rewriting symbol table section 23 DT_NULL index is 27 replacing section '.dynamic' with size 528 replacing section '.dynstr' with size 398 this is a dynamic library last page is 0x1500000 first page is 0x0 needed space is 928 rewriting section '.dynamic' from offset 0x1021f0 (size 512) to offset 0x106000 (size 528) rewriting section '.dynstr' from offset 0x104000 (size 291) to offset 0x106210 (size 398) rewriting symbol table section 17 rewriting symbol table section 23 writing ./simple ./replace-add-needed.sh: line 33: 1231 Segmentation fault (core dumped) ./simple ldd: exited with unknown exit code (139) FAIL replace-add-needed.sh (exit status: 1) FAIL: repeated-updates.sh ========================= patching ELF file 'simple' DT_NULL index is 26 replacing section '.dynamic' with size 512 replacing section '.dynstr' with size 166 this is a dynamic library last page is 0x1300000 first page is 0x0 needed space is 1008 rewriting section '.interp' from offset 0x200 (size 21) to offset 0x102000 (size 21) rewriting section '.note.ABI-tag' from offset 0x218 (size 32) to offset 0x102018 (size 32) rewriting section '.gnu.hash' from offset 0x238 (size 28) to offset 0x102038 (size 28) rewriting section '.dynsym' from offset 0x258 (size 240) to offset 0x102058 (size 240) rewriting section '.dynstr' from offset 0x348 (size 153) to offset 0x102148 (size 166) rewriting section '.dynamic' from offset 0xffe10 (size 496) to offset 0x1021f0 (size 512) rewriting symbol table section 17 rewriting symbol table section 23 writing simple patching ELF file 'libbar.so' new SONAME is './libbar.so' SONAME is too long, resizing... DT_NULL index is 24 replacing section '.dynamic' with size 480 replacing section '.dynstr' with size 208 this is a dynamic library last page is 0x300000 first page is 0x0 needed space is 944 rewriting section '.gnu.hash' from offset 0x158 (size 36) to offset 0x102000 (size 36) rewriting section '.dynsym' from offset 0x180 (size 216) to offset 0x102028 (size 216) rewriting section '.dynstr' from offset 0x258 (size 196) to offset 0x102100 (size 208) rewriting section '.dynamic' from offset 0xffe30 (size 464) to offset 0x1021d0 (size 480) rewriting symbol table section 17 rewriting symbol table section 21 writing libbar.so patching ELF file 'libbar.so' new SONAME is 'libbar.so' SONAME is too long, resizing... replacing section '.dynstr' with size 218 this is a dynamic library last page is 0x400000 first page is 0x0 needed space is 224 rewriting section '.dynstr' from offset 0x102100 (size 208) to offset 0x104000 (size 218) rewriting symbol table section 17 rewriting symbol table section 21 writing libbar.so Hello World patching ELF file 'libbar.so' new SONAME is './libbar.so' SONAME is too long, resizing... replacing section '.dynstr' with size 230 this is a dynamic library last page is 0x500000 first page is 0x0 needed space is 232 rewriting section '.dynstr' from offset 0x104000 (size 218) to offset 0x106000 (size 230) rewriting symbol table section 17 rewriting symbol table section 21 writing libbar.so patching ELF file 'libbar.so' new SONAME is 'libbar.so' SONAME is too long, resizing... replacing section '.dynstr' with size 240 this is a dynamic library last page is 0x500000 first page is 0x0 needed space is 240 rewriting section '.dynstr' from offset 0x106000 (size 230) to offset 0x108000 (size 240) rewriting symbol table section 17 rewriting symbol table section 21 writing libbar.so ./simple: ./simple: no version information available (required by ./libbar.so) Hello World patching ELF file 'libbar.so' new SONAME is './libbar.so' SONAME is too long, resizing... replacing section '.dynstr' with size 252 this is a dynamic library last page is 0x500000 first page is 0x0 needed space is 256 rewriting section '.dynstr' from offset 0x108000 (size 240) to offset 0x10a000 (size 252) rewriting symbol table section 17 rewriting symbol table section 21 writing libbar.so patching ELF file 'libbar.so' new SONAME is 'libbar.so' SONAME is too long, resizing... replacing section '.dynstr' with size 262 this is a dynamic library last page is 0x500000 first page is 0x0 needed space is 264 rewriting section '.dynstr' from offset 0x10a000 (size 252) to offset 0x10c000 (size 262) rewriting symbol table section 17 rewriting symbol table section 21 writing libbar.so ./simple: ./simple: no version information available (required by ./libbar.so) Hello World patching ELF file 'libbar.so' new SONAME is './libbar.so' SONAME is too long, resizing... replacing section '.dynstr' with size 274 this is a dynamic library last page is 0x500000 first page is 0x0 needed space is 280 rewriting section '.dynstr' from offset 0x10c000 (size 262) to offset 0x10e000 (size 274) rewriting symbol table section 17 rewriting symbol table section 21 writing libbar.so patching ELF file 'libbar.so' new SONAME is 'libbar.so' SONAME is too long, resizing... replacing section '.dynstr' with size 284 this is a dynamic library last page is 0x500000 first page is 0x0 needed space is 288 rewriting section '.dynstr' from offset 0x10e000 (size 274) to offset 0x110000 (size 284) rewriting symbol table section 17 rewriting symbol table section 21 writing libbar.so ./simple: ./simple: no version information available (required by ./libbar.so) Hello World patching ELF file 'libbar.so' new SONAME is './libbar.so' SONAME is too long, resizing... replacing section '.dynstr' with size 296 this is a dynamic library last page is 0x500000 first page is 0x0 needed space is 296 rewriting section '.dynstr' from offset 0x110000 (size 284) to offset 0x112000 (size 296) rewriting symbol table section 17 rewriting symbol table section 21 writing libbar.so patching ELF file 'libbar.so' new SONAME is 'libbar.so' SONAME is too long, resizing... replacing section '.dynstr' with size 306 this is a dynamic library last page is 0x500000 first page is 0x0 needed space is 312 rewriting section '.dynstr' from offset 0x112000 (size 296) to offset 0x114000 (size 306) rewriting symbol table section 17 rewriting symbol table section 21 writing libbar.so ./repeated-updates.sh: line 23: 1268 Segmentation fault (core dumped) ./simple FAIL repeated-updates.sh (exit status: 1) SKIP: short-first-segment.sh ============================ skipping test: not supported on x86_64 Linux SKIP short-first-segment.sh (exit status: 77)