mold: 1.10.0: test suite is failing with core dumps in SIGABRT
Looks like test suite is failing in some units with SIGABRT.
+ CC=/usr/bin/gcc
+ CXX=/usr/bin/g++
+ FC=/usr/bin/gfortran
+ AR=/usr/bin/gcc-ar
+ NM=/usr/bin/gcc-nm
+ RANLIB=/usr/bin/gcc-ranlib
+ export ASMFLAGS CFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS VALAFLAGS CC CXX FC AR NM RANLIB
+ cd mold-1.10.0
+ /usr/bin/ctest --test-dir x86_64-redhat-linux-gnu --output-on-failure --force-new-ctest-process -j48
Internal ctest changing into directory: /home/tkloczko/rpmbuild/BUILD/mold-1.10.0/x86_64-redhat-linux-gnu
Test project /home/tkloczko/rpmbuild/BUILD/mold-1.10.0/x86_64-redhat-linux-gnu
Start 157: x86_64-lto-archive
Start 159: x86_64-lto-gcc
Start 164: x86_64-mergeable-strings
Start 190: x86_64-range-extension-thunk
Start 236: x86_64-tail-call
Start 297: x86_64-wrap-lto
Start 163: x86_64-many-sections2
Start 162: x86_64-many-sections
Start 96: x86_64-exception
Start 25: x86_64-x86_64_reloc
Start 90: x86_64-emit-relocs-dead-sections
Start 195: x86_64-relocatable-exception
Start 193: x86_64-relocatable-archive
Start 244: x86_64-tls-gd-to-ie
Start 215: x86_64-shuffle-sections-seed
Start 53: x86_64-build-id
Start 259: x86_64-tlsdesc
Start 152: x86_64-linker-script-relocatable
Start 216: x86_64-shuffle-sections
Start 112: x86_64-gdb-index-dwarf4
Start 194: x86_64-relocatable-debug-info
Start 196: x86_64-relocatable-merge-sections
Start 167: x86_64-mold-wrapper
Start 198: x86_64-relocatable
Start 111: x86_64-gdb-index-dwarf3
Start 113: x86_64-gdb-index-dwarf5
Start 197: x86_64-relocatable-no-ehframe
Start 29: x86_64-x86_64_tls-gd-to-ie
Start 168: x86_64-mold-wrapper2
Start 274: x86_64-version-script17
Start 144: x86_64-issue646
Start 110: x86_64-gdb-index-dwarf2
Start 284: x86_64-version
Start 64: x86_64-copyrel-alignment
Start 81: x86_64-dt-needed
Start 245: x86_64-tls-gd
Start 263: x86_64-unresolved-symbols
Start 256: x86_64-tls-small-alignment
Start 97: x86_64-exclude-libs
Start 115: x86_64-gdb-index-split-dwarf
Start 247: x86_64-tls-irregular-start-addr
Start 109: x86_64-gdb-index-compress-output
Start 158: x86_64-lto-dso
Start 138: x86_64-init-array-priorities
Start 243: x86_64-tls-gd-noplt
Start 293: x86_64-weak-undef-dso
Start 248: x86_64-tls-large-alignment
Start 234: x86_64-sysroot
1/309 Test #256: x86_64-tls-small-alignment .............. Passed 0.62 sec
Start 58: x86_64-common-archive
2/309 Test #247: x86_64-tls-irregular-start-addr ......... Passed 0.73 sec
Start 79: x86_64-dso-undef
3/309 Test #263: x86_64-unresolved-symbols ............... Passed 0.74 sec
Start 160: x86_64-lto-llvm
4/309 Test #158: x86_64-lto-dso .......................... Passed 0.73 sec
Start 213: x86_64-shared-abs-sym
5/309 Test #243: x86_64-tls-gd-noplt ..................... Passed 0.75 sec
Start 209: x86_64-run
6/309 Test #245: x86_64-tls-gd ........................... Passed 0.78 sec
Start 277: x86_64-version-script3
7/309 Test #248: x86_64-tls-large-alignment .............. Passed 0.79 sec
Start 294: x86_64-weak-undef
8/309 Test #259: x86_64-tlsdesc .......................... Passed 0.96 sec
Start 211: x86_64-section-order
9/309 Test #144: x86_64-issue646 ......................... Passed 0.97 sec
Start 172: x86_64-nocopyreloc
10/309 Test #244: x86_64-tls-gd-to-ie ..................... Passed 1.02 sec
Start 85: x86_64-dynamic-list
11/309 Test #196: x86_64-relocatable-merge-sections ....... Passed 1.02 sec
Start 149: x86_64-large-text
12/309 Test #64: x86_64-copyrel-alignment ................ Passed 1.01 sec
Start 301: x86_64-z-dynamic-undefined-weak
13/309 Test #138: x86_64-init-array-priorities ............ Passed 1.00 sec
Start 296: x86_64-whole-archive
14/309 Test #109: x86_64-gdb-index-compress-output ........ Passed 1.01 sec
Start 71: x86_64-defsym-lto
15/309 Test #81: x86_64-dt-needed ........................ Passed 1.04 sec
Start 298: x86_64-wrap
16/309 Test #234: x86_64-sysroot .......................... Passed 1.00 sec
Start 238: x86_64-thread-count
17/309 Test #293: x86_64-weak-undef-dso ................... Passed 1.04 sec
Start 86: x86_64-dynamic-list2
18/309 Test #197: x86_64-relocatable-no-ehframe ........... Passed 1.08 sec
Start 300: x86_64-z-defs
19/309 Test #111: x86_64-gdb-index-dwarf3 ................. Passed 1.09 sec
Start 279: x86_64-version-script5
20/309 Test #198: x86_64-relocatable ...................... Passed 1.14 sec
Start 200: x86_64-repro
21/309 Test #274: x86_64-version-script17 ................. Passed 1.16 sec
Start 46: x86_64-as-needed
22/309 Test #167: x86_64-mold-wrapper ..................... Passed 1.20 sec
Start 43: x86_64-allow-multiple-definition
23/309 Test #277: x86_64-version-script3 .................. Passed 0.40 sec
Start 206: x86_64-rosegment
24/309 Test #152: x86_64-linker-script-relocatable ........ Passed 1.25 sec
Start 75: x86_64-demangle
25/309 Test #115: x86_64-gdb-index-split-dwarf ............ Passed 1.22 sec
Start 219: x86_64-start-stop-symbol
26/309 Test #216: x86_64-shuffle-sections ................. Passed 1.31 sec
Start 290: x86_64-warn-unresolved-symbols
27/309 Test #168: x86_64-mold-wrapper2 .................... Passed 1.30 sec
Start 161: x86_64-lto-version-script
28/309 Test #194: x86_64-relocatable-debug-info ........... Passed 1.32 sec
Start 45: x86_64-as-needed-weak
29/309 Test #110: x86_64-gdb-index-dwarf2 ................. Passed 1.31 sec
Start 260: x86_64-trace-symbol
30/309 Test #97: x86_64-exclude-libs ..................... Passed 1.31 sec
Start 251: x86_64-tls-ld
31/309 Test #279: x86_64-version-script5 .................. Passed 0.27 sec
Start 80: x86_64-dt-init
32/309 Test #172: x86_64-nocopyreloc ...................... Passed 0.45 sec
Start 287: x86_64-warn-common
33/309 Test #193: x86_64-relocatable-archive .............. Passed 1.47 sec
Start 232: x86_64-synthetic-symbols
34/309 Test #29: x86_64-x86_64_tls-gd-to-ie .............. Passed 1.48 sec
Start 108: x86_64-gc-sections
35/309 Test #112: x86_64-gdb-index-dwarf4 ................. Passed 1.52 sec
Start 70: x86_64-default-symver
36/309 Test #238: x86_64-thread-count ..................... Passed 0.57 sec
Start 291: x86_64-weak-export-dso
37/309 Test #284: x86_64-version .......................... Passed 1.67 sec
Start 32: x86_64-x86_64_tls-module-base
38/309 Test #79: x86_64-dso-undef ........................ Passed 0.95 sec
Start 276: x86_64-version-script2
39/309 Test #215: x86_64-shuffle-sections-seed ............ Passed 1.74 sec
Start 199: x86_64-relro
40/309 Test #236: x86_64-tail-call ........................***Failed 1.82 sec
++ dirname /home/tkloczko/rpmbuild/BUILD/mold-1.10.0/test/elf/tail-call.sh
+ . /home/tkloczko/rpmbuild/BUILD/mold-1.10.0/test/elf/common.inc
++ export LC_ALL=C
++ LC_ALL=C
++++ uname -m
+++ canonical_name x86_64
+++ case $1 in
+++ echo x86_64
++ HOST=x86_64
++ '[' -n '' ']'
++ MACHINE=x86_64
++ '[' -n '' ']'
++ CC=cc
++ CXX=c++
++ GCC=gcc
++ GXX=g++
++ OBJDUMP=objdump
++ OBJCOPY=objcopy
++ STRIP=strip
++ QEMU=
++ trap 'on_error $LINENO' ERR
++ trap on_exit EXIT
+++ basename /home/tkloczko/rpmbuild/BUILD/mold-1.10.0/test/elf/tail-call.sh .sh
++ testname=tail-call
++ echo -n 'Testing tail-call ... '
Testing tail-call ... ++ t=out/test/elf/x86_64/tail-call
++ mkdir -p out/test/elf/x86_64/tail-call
+ cat
+ cc -O2 -o out/test/elf/x86_64/tail-call/a.o -c -xc -
+ cat
+ cc -O2 -o out/test/elf/x86_64/tail-call/b.o -c -xc -
+ cat
+ cc -O2 -o out/test/elf/x86_64/tail-call/c.o -c -xc -
+ cc -B. -o out/test/elf/x86_64/tail-call/exe out/test/elf/x86_64/tail-call/a.o out/test/elf/x86_64/tail-call/b.o out/test/elf/x86_64/tail-call/c.o
/usr/include/c++/12/span:278: constexpr std::span<_Type, _Extent>::element_type& std::span<_Type, _Extent>::operator[](size_type) const [with _Type = mold::elf::ElfSym<mold::elf::X86_64>; long unsigned int _Extent = 18446744073709551615; reference = mold::elf::ElfSym<mold::elf::X86_64>&; size_type = long unsigned int]: Assertion '__idx < size()' failed.
collect2: fatal error: ld terminated with signal 6 [Aborted], core dumped
compilation terminated.
++ on_error 23
++ code=1
++ echo 'command failed: 23: $CC -B. -o $t/exe $t/a.o $t/b.o $t/c.o'
command failed: 23: $CC -B. -o $t/exe $t/a.o $t/b.o $t/c.o
++ trap - EXIT
++ exit 1
Start 47: x86_64-as-needed2
41/309 Test #53: x86_64-build-id ......................... Passed 1.81 sec
Start 212: x86_64-section-start
42/309 Test #58: x86_64-common-archive ................... Passed 1.16 sec
Start 269: x86_64-version-script12
43/309 Test #160: x86_64-lto-llvm ......................... Passed 1.05 sec
Start 285: x86_64-versioned-undef
44/309 Test #213: x86_64-shared-abs-sym ................... Passed 1.07 sec
Start 302: x86_64-z-max-page-size
45/309 Test #206: x86_64-rosegment ........................ Passed 0.66 sec
Start 150: x86_64-link-order
46/309 Test #290: x86_64-warn-unresolved-symbols .......... Passed 0.60 sec
Start 286: x86_64-visibility
47/309 Test #43: x86_64-allow-multiple-definition ........ Passed 0.71 sec
Start 270: x86_64-version-script13
48/309 Test #85: x86_64-dynamic-list ..................... Passed 0.91 sec
Start 28: x86_64-x86_64_tls-gd-mcmodel-large
49/309 Test #149: x86_64-large-text ....................... Passed 0.90 sec
Start 272: x86_64-version-script15
50/309 Test #300: x86_64-z-defs ........................... Passed 0.85 sec
Start 214: x86_64-shared
51/309 Test #164: x86_64-mergeable-strings ................***Failed 1.97 sec
++ dirname /home/tkloczko/rpmbuild/BUILD/mold-1.10.0/test/elf/mergeable-strings.sh
+ . /home/tkloczko/rpmbuild/BUILD/mold-1.10.0/test/elf/common.inc
++ export LC_ALL=C
++ LC_ALL=C
++++ uname -m
+++ canonical_name x86_64
+++ case $1 in
+++ echo x86_64
++ HOST=x86_64
++ '[' -n '' ']'
++ MACHINE=x86_64
++ '[' -n '' ']'
++ CC=cc
++ CXX=c++
++ GCC=gcc
++ GXX=g++
++ OBJDUMP=objdump
++ OBJCOPY=objcopy
++ STRIP=strip
++ QEMU=
++ trap 'on_error $LINENO' ERR
++ trap on_exit EXIT
+++ basename /home/tkloczko/rpmbuild/BUILD/mold-1.10.0/test/elf/mergeable-strings.sh .sh
++ testname=mergeable-strings
++ echo -n 'Testing mergeable-strings ... '
Testing mergeable-strings ... ++ t=out/test/elf/x86_64/mergeable-strings
++ mkdir -p out/test/elf/x86_64/mergeable-strings
+ cat
+ cc -o out/test/elf/x86_64/mergeable-strings/a.o -c -xc - -O2
+ cat
+ cc -o out/test/elf/x86_64/mergeable-strings/b.o -c -xc - -O2
+ cc -o out/test/elf/x86_64/mergeable-strings/exe1 out/test/elf/x86_64/mergeable-strings/a.o out/test/elf/x86_64/mergeable-strings/b.o -no-pie
+ grep -Eq '^(\S+) \1 (\S+) \2 (\S+) \3 (\S+) \4$'
+ out/test/elf/x86_64/mergeable-strings/exe1
+ cc -B. -o out/test/elf/x86_64/mergeable-strings/exe2 out/test/elf/x86_64/mergeable-strings/a.o out/test/elf/x86_64/mergeable-strings/b.o -no-pie
/usr/include/c++/12/span:278: constexpr std::span<_Type, _Extent>::element_type& std::span<_Type, _Extent>::operator[](size_type) const [with _Type = mold::elf::ElfSym<mold::elf::X86_64>; long unsigned int _Extent = 18446744073709551615; reference = mold::elf::ElfSym<mold::elf::X86_64>&; size_type = long unsigned int]: Assertion '__idx < size()' failed.
collect2: fatal error: ld terminated with signal 6 [Aborted], core dumped
compilation terminated.
++ on_error 40
++ code=1
++ echo 'command failed: 40: $CC -B. -o $t/exe2 $t/a.o $t/b.o -no-pie'
command failed: 40: $CC -B. -o $t/exe2 $t/a.o $t/b.o -no-pie
++ trap - EXIT
++ exit 1
Start 246: x86_64-tls-ie
52/309 Test #190: x86_64-range-extension-thunk ............***Failed 1.97 sec
++ dirname /home/tkloczko/rpmbuild/BUILD/mold-1.10.0/test/elf/range-extension-thunk.sh
+ . /home/tkloczko/rpmbuild/BUILD/mold-1.10.0/test/elf/common.inc
++ export LC_ALL=C
++ LC_ALL=C
++++ uname -m
+++ canonical_name x86_64
+++ case $1 in
+++ echo x86_64
++ HOST=x86_64
++ '[' -n '' ']'
++ MACHINE=x86_64
++ '[' -n '' ']'
++ CC=cc
++ CXX=c++
++ GCC=gcc
++ GXX=g++
++ OBJDUMP=objdump
++ OBJCOPY=objcopy
++ STRIP=strip
++ QEMU=
++ trap 'on_error $LINENO' ERR
++ trap on_exit EXIT
+++ basename /home/tkloczko/rpmbuild/BUILD/mold-1.10.0/test/elf/range-extension-thunk.sh .sh
++ testname=range-extension-thunk
++ echo -n 'Testing range-extension-thunk ... '
Testing range-extension-thunk ... ++ t=out/test/elf/x86_64/range-extension-thunk
++ mkdir -p out/test/elf/x86_64/range-extension-thunk
+ '[' x86_64 = i386 ']'
+ '[' x86_64 = riscv32 ']'
+ '[' x86_64 = sparc64 ']'
+ cat
+ cat
+ cc -c -o out/test/elf/x86_64/range-extension-thunk/c.o out/test/elf/x86_64/range-extension-thunk/a.c -O0
+ cc -c -o out/test/elf/x86_64/range-extension-thunk/d.o out/test/elf/x86_64/range-extension-thunk/b.c -O0
+ cc -B. -o out/test/elf/x86_64/range-extension-thunk/exe1 out/test/elf/x86_64/range-extension-thunk/c.o out/test/elf/x86_64/range-extension-thunk/d.o -Wl,--section-start=.low=0x10000000,--section-start=.high=0x20000000
+ grep -q 'main fn1 fn3 fn2 fn4'
+ out/test/elf/x86_64/range-extension-thunk/exe1
+ cc -c -o out/test/elf/x86_64/range-extension-thunk/e.o out/test/elf/x86_64/range-extension-thunk/a.c -O2
+ cc -c -o out/test/elf/x86_64/range-extension-thunk/f.o out/test/elf/x86_64/range-extension-thunk/b.c -O2
+ cc -B. -o out/test/elf/x86_64/range-extension-thunk/exe2 out/test/elf/x86_64/range-extension-thunk/e.o out/test/elf/x86_64/range-extension-thunk/f.o -Wl,--section-start=.low=0x10000000,--section-start=.high=0x20000000
/usr/include/c++/12/span:278: constexpr std::span<_Type, _Extent>::element_type& std::span<_Type, _Extent>::operator[](size_type) const [with _Type = mold::elf::ElfSym<mold::elf::X86_64>; long unsigned int _Extent = 18446744073709551615; reference = mold::elf::ElfSym<mold::elf::X86_64>&; size_type = long unsigned int]: Assertion '__idx < size()' failed.
/usr/include/c++/12/span:278: constexpr std::span<_Type, _Extent>::element_type& std::span<_Type, _Extent>::operator[](size_type) const [with _Type = mold::elf::ElfSym<mold::elf::X86_64>; long unsigned int _Extent = 18446744073709551615; reference = mold::elf::ElfSym<mold::elf::X86_64>&; size_type = long unsigned int]: Assertion '__idx < size()' failed.
collect2: fatal error: ld terminated with signal 6 [Aborted], core dumped
compilation terminated.
++ on_error 47
++ code=1
++ echo 'command failed: 47: $CC -B. -o $t/exe2 $t/e.o $t/f.o -Wl,--section-start=.low=0x10000000,--section-start=.high=0x20000000'
command failed: 47: $CC -B. -o $t/exe2 $t/e.o $t/f.o -Wl,--section-start=.low=0x10000000,--section-start=.high=0x20000000
++ trap - EXIT
++ exit 1
Start 237: x86_64-thin-archive
53/309 Test #211: x86_64-section-order .................... Passed 1.00 sec
Start 189: x86_64-push-pop-state
54/309 Test #90: x86_64-emit-relocs-dead-sections ........ Passed 1.98 sec
Start 282: x86_64-version-script8
55/309 Test #296: x86_64-whole-archive .................... Passed 0.92 sec
Start 275: x86_64-version-script18
56/309 Test #113: x86_64-gdb-index-dwarf5 ................. Passed 1.96 sec
Start 221: x86_64-static-archive
57/309 Test #70: x86_64-default-symver ................... Passed 0.50 sec
Start 83: x86_64-dynamic-dt-debug
58/309 Test #287: x86_64-warn-common ...................... Passed 0.61 sec
Start 107: x86_64-func-addr
59/309 Test #75: x86_64-demangle ......................... Passed 0.82 sec
Start 68: x86_64-dead-debug-sections
60/309 Test #46: x86_64-as-needed ........................ Passed 0.90 sec
Start 235: x86_64-sysroot2
61/309 Test #209: x86_64-run .............................. Passed 1.29 sec
Start 218: x86_64-start-lib
62/309 Test #260: x86_64-trace-symbol ..................... Passed 0.78 sec
Start 307: x86_64-z-separate-code
63/309 Test #301: x86_64-z-dynamic-undefined-weak ......... Passed 1.13 sec
Start 100: x86_64-execstack
64/309 Test #298: x86_64-wrap ............................. Passed 1.15 sec
Start 88: x86_64-dynamic
65/309 Test #200: x86_64-repro ............................ Passed 1.11 sec
Start 299: x86_64-z-cet-report
66/309 Test #291: x86_64-weak-export-dso .................. Passed 0.61 sec
Start 16: x86_64-x86_64_note-property2
67/309 Test #251: x86_64-tls-ld ........................... Passed 0.92 sec
Start 217: x86_64-soname
68/309 Test #161: x86_64-lto-version-script ............... Passed 0.95 sec
Start 54: x86_64-canonical-plt
69/309 Test #269: x86_64-version-script12 ................. Passed 0.45 sec
Start 278: x86_64-version-script4
70/309 Test #45: x86_64-as-needed-weak ................... Passed 0.96 sec
Start 77: x86_64-disable-new-dtags
71/309 Test #219: x86_64-start-stop-symbol ................ Passed 1.03 sec
Start 103: x86_64-export-from-exe
72/309 Test #272: x86_64-version-script15 ................. Passed 0.36 sec
Start 201: x86_64-require-defined
73/309 Test #86: x86_64-dynamic-list2 .................... Passed 1.25 sec
Start 204: x86_64-reverse-sections
74/309 Test #270: x86_64-version-script13 ................. Passed 0.42 sec
Start 280: x86_64-version-script6
75/309 Test #294: x86_64-weak-undef ....................... Passed 1.49 sec
Start 173: x86_64-noinhibit-exec
76/309 Test #108: x86_64-gc-sections ...................... Passed 0.86 sec
Start 145: x86_64-large-alignment-dso
77/309 Test #214: x86_64-shared ........................... Passed 0.44 sec
Start 187: x86_64-protected-dynsym
78/309 Test #80: x86_64-dt-init .......................... Passed 1.02 sec
Start 87: x86_64-dynamic-list3
79/309 Test #232: x86_64-synthetic-symbols ................ Passed 0.93 sec
Start 250: x86_64-tls-ld-noplt
80/309 Test #199: x86_64-relro ............................ Passed 0.65 sec
Start 153: x86_64-linker-script
81/309 Test #96: x86_64-exception ........................ Passed 2.45 sec
Start 125: x86_64-hidden-undef
82/309 Test #276: x86_64-version-script2 .................. Passed 0.72 sec
Start 137: x86_64-image-base
83/309 Test #212: x86_64-section-start .................... Passed 0.66 sec
Start 288: x86_64-warn-once
84/309 Test #275: x86_64-version-script18 ................. Passed 0.53 sec
Start 257: x86_64-tlsdesc-import
85/309 Test #282: x86_64-version-script8 .................. Passed 0.58 sec
Start 253: x86_64-tls-le
86/309 Test #195: x86_64-relocatable-exception ............ Passed 2.57 sec
Start 191: x86_64-relax-got-load
87/309 Test #286: x86_64-visibility ....................... Passed 0.66 sec
Start 133: x86_64-ifunc-funcptr
88/309 Test #83: x86_64-dynamic-dt-debug ................. Passed 0.55 sec
Start 95: x86_64-entry
89/309 Test #237: x86_64-thin-archive ..................... Passed 0.62 sec
Start 67: x86_64-copyrel
90/309 Test #285: x86_64-versioned-undef .................. Passed 0.76 sec
Start 281: x86_64-version-script7
91/309 Test #157: x86_64-lto-archive ......................***Failed 2.62 sec
++ dirname /home/tkloczko/rpmbuild/BUILD/mold-1.10.0/test/elf/lto-archive.sh
+ . /home/tkloczko/rpmbuild/BUILD/mold-1.10.0/test/elf/common.inc
++ export LC_ALL=C
++ LC_ALL=C
++++ uname -m
+++ canonical_name x86_64
+++ case $1 in
+++ echo x86_64
++ HOST=x86_64
++ '[' -n '' ']'
++ MACHINE=x86_64
++ '[' -n '' ']'
++ CC=cc
++ CXX=c++
++ GCC=gcc
++ GXX=g++
++ OBJDUMP=objdump
++ OBJCOPY=objcopy
++ STRIP=strip
++ QEMU=
++ trap 'on_error $LINENO' ERR
++ trap on_exit EXIT
+++ basename /home/tkloczko/rpmbuild/BUILD/mold-1.10.0/test/elf/lto-archive.sh .sh
++ testname=lto-archive
++ echo -n 'Testing lto-archive ... '
Testing lto-archive ... ++ t=out/test/elf/x86_64/lto-archive
++ mkdir -p out/test/elf/x86_64/lto-archive
+ '[' cc = cc ']'
+ echo 'int main() {}'
+ cc -flto -o /dev/null -xc -
+ cc -o out/test/elf/x86_64/lto-archive/a.o -c -flto -xc -
+ cat
+ cat
+ cc -o out/test/elf/x86_64/lto-archive/b.o -c -flto -xc -
+ rm -f out/test/elf/x86_64/lto-archive/c.a
+ ar rc out/test/elf/x86_64/lto-archive/c.a out/test/elf/x86_64/lto-archive/a.o out/test/elf/x86_64/lto-archive/b.o
+ cat
+ cc -o out/test/elf/x86_64/lto-archive/d.o -c -flto -xc -
+ cc -B. -o out/test/elf/x86_64/lto-archive/exe -flto out/test/elf/x86_64/lto-archive/d.o out/test/elf/x86_64/lto-archive/c.a
/usr/include/c++/12/span:278: constexpr std::span<_Type, _Extent>::element_type& std::span<_Type, _Extent>::operator[](size_type) const [with _Type = mold::elf::ElfSym<mold::elf::X86_64>; long unsigned int _Extent = 18446744073709551615; reference = mold::elf::ElfSym<mold::elf::X86_64>&; size_type = long unsigned int]: Assertion '__idx < size()' failed.
collect2: fatal error: ld terminated with signal 6 [Aborted], core dumped
compilation terminated.
++ on_error 33
++ code=1
++ echo 'command failed: 33: $CC -B. -o $t/exe -flto $t/d.o $t/c.a'
command failed: 33: $CC -B. -o $t/exe -flto $t/d.o $t/c.a
++ trap - EXIT
++ exit 1
Start 78: x86_64-discard
92/309 Test #88: x86_64-dynamic .......................... Passed 0.42 sec
Start 271: x86_64-version-script14
93/309 Test #221: x86_64-static-archive ................... Passed 0.71 sec
Start 65: x86_64-copyrel-protected
94/309 Test #246: x86_64-tls-ie ........................... Passed 0.75 sec
Start 151: x86_64-linker-script-defsym
95/309 Test #47: x86_64-as-needed2 ....................... Passed 0.92 sec
Start 130: x86_64-ifunc-dso
96/309 Test #278: x86_64-version-script4 .................. Passed 0.46 sec
Start 59: x86_64-common-ref
97/309 Test #145: x86_64-large-alignment-dso .............. Passed 0.43 sec
Start 208: x86_64-run-clang
98/309 Test #189: x86_64-push-pop-state ................... Passed 0.83 sec
Start 179: x86_64-pack-dyn-relocs-relr
99/309 Test #281: x86_64-version-script7 .................. Passed 0.28 sec
Start 60: x86_64-common
100/309 Test #235: x86_64-sysroot2 ......................... Passed 0.79 sec
Start 205: x86_64-rodata-name
101/309 Test #302: x86_64-z-max-page-size .................. Passed 1.04 sec
Start 155: x86_64-linker-script3
102/309 Test #107: x86_64-func-addr ........................ Passed 0.83 sec
Start 119: x86_64-gnu-unique
103/309 Test #32: x86_64-x86_64_tls-module-base ........... Passed 1.19 sec
Start 176: x86_64-now
104/309 Test #299: x86_64-z-cet-report ..................... Passed 0.64 sec
Start 139: x86_64-init-in-dso
105/309 Test #280: x86_64-version-script6 .................. Passed 0.56 sec
Start 140: x86_64-init
106/309 Test #68: x86_64-dead-debug-sections .............. Passed 0.85 sec
Start 233: x86_64-sysroot-linker-script
107/309 Test #100: x86_64-execstack ........................ Passed 0.75 sec
Start 225: x86_64-symbol-rank
108/309 Test #137: x86_64-image-base ....................... Passed 0.53 sec
Start 99: x86_64-exclude-libs3
109/309 Test #271: x86_64-version-script14 ................. Passed 0.37 sec
Start 63: x86_64-compressed-debug-info
110/309 Test #77: x86_64-disable-new-dtags ................ Passed 0.76 sec
Start 74: x86_64-demangle-rust
111/309 Test #218: x86_64-start-lib ........................ Passed 0.99 sec
Start 223: x86_64-stdout
112/309 Test #217: x86_64-soname ........................... Passed 0.85 sec
Start 239: x86_64-tls-alignment-multi
113/309 Test #297: x86_64-wrap-lto .........................***Failed 3.14 sec
++ dirname /home/tkloczko/rpmbuild/BUILD/mold-1.10.0/test/elf/wrap-lto.sh
+ . /home/tkloczko/rpmbuild/BUILD/mold-1.10.0/test/elf/common.inc
++ export LC_ALL=C
++ LC_ALL=C
++++ uname -m
+++ canonical_name x86_64
+++ case $1 in
+++ echo x86_64
++ HOST=x86_64
++ '[' -n '' ']'
++ MACHINE=x86_64
++ '[' -n '' ']'
++ CC=cc
++ CXX=c++
++ GCC=gcc
++ GXX=g++
++ OBJDUMP=objdump
++ OBJCOPY=objcopy
++ STRIP=strip
++ QEMU=
++ trap 'on_error $LINENO' ERR
++ trap on_exit EXIT
+++ basename /home/tkloczko/rpmbuild/BUILD/mold-1.10.0/test/elf/wrap-lto.sh .sh
++ testname=wrap-lto
++ echo -n 'Testing wrap-lto ... '
Testing wrap-lto ... ++ t=out/test/elf/x86_64/wrap-lto
++ mkdir -p out/test/elf/x86_64/wrap-lto
+ cat
+ cc -fPIC -shared -o out/test/elf/x86_64/wrap-lto/a.so -xc -
+ cc -c -o out/test/elf/x86_64/wrap-lto/b.o -xc - -flto
+ cat
+ cat
+ cc -c -o out/test/elf/x86_64/wrap-lto/c.o -xc - -flto
+ cc -B. -o out/test/elf/x86_64/wrap-lto/exe out/test/elf/x86_64/wrap-lto/a.so out/test/elf/x86_64/wrap-lto/b.o -flto
/usr/include/c++/12/span:278: constexpr std::span<_Type, _Extent>::element_type& std::span<_Type, _Extent>::operator[](size_type) const [with _Type = mold::elf::ElfSym<mold::elf::X86_64>; long unsigned int _Extent = 18446744073709551615; reference = mold::elf::ElfSym<mold::elf::X86_64>&; size_type = long unsigned int]: Assertion '__idx < size()' failed.
collect2: fatal error: ld terminated with signal 6 [Aborted], core dumped
compilation terminated.
++ on_error 36
++ code=1
++ echo 'command failed: 36: $CC -B. -o $t/exe $t/a.so $t/b.o -flto'
command failed: 36: $CC -B. -o $t/exe $t/a.so $t/b.o -flto
++ trap - EXIT
++ exit 1
Start 72: x86_64-defsym
114/309 Test #307: x86_64-z-separate-code .................. Passed 0.98 sec
Start 292: x86_64-weak-export-exe
115/309 Test #54: x86_64-canonical-plt .................... Passed 0.87 sec
Start 131: x86_64-ifunc-dynamic
116/309 Test #187: x86_64-protected-dynsym ................. Passed 0.78 sec
Start 146: x86_64-large-alignment
117/309 Test #250: x86_64-tls-ld-noplt ..................... Passed 0.78 sec
Start 289: x86_64-warn-symbol-type
118/309 Test #288: x86_64-warn-once ........................ Passed 0.72 sec
Start 265: x86_64-version-script-search-paths
119/309 Test #257: x86_64-tlsdesc-import ................... Passed 0.72 sec
Start 38: x86_64-x86_64_z-ibtplt
120/309 Test #191: x86_64-relax-got-load ................... Passed 0.70 sec
Start 295: x86_64-weak-undef2
121/309 Test #95: x86_64-entry ............................ Passed 0.68 sec
Start 183: x86_64-plt-dso
122/309 Test #28: x86_64-x86_64_tls-gd-mcmodel-large ...... Passed 1.34 sec
Start 117: x86_64-global-offset-table
123/309 Test #87: x86_64-dynamic-list3 .................... Passed 0.88 sec
Start 255: x86_64-tls-pic
124/309 Test #125: x86_64-hidden-undef ..................... Passed 0.84 sec
Start 229: x86_64-symtab-dso
125/309 Test #103: x86_64-export-from-exe .................. Passed 1.01 sec
Start 44: x86_64-ar-alignment
126/309 Test #150: x86_64-link-order ....................... Passed 1.45 sec
Start 5: x86_64-x86_64_gnu-retain
127/309 Test #253: x86_64-tls-le ........................... Passed 0.79 sec
Start 174: x86_64-non-canonical-plt
128/309 Test #153: x86_64-linker-script .................... Passed 0.94 sec
Start 184: x86_64-pltgot
129/309 Test #78: x86_64-discard .......................... Passed 0.77 sec
Start 207: x86_64-rpath
130/309 Test #204: x86_64-reverse-sections ................. Passed 1.07 sec
Start 89: x86_64-emit-relocs-cpp
131/309 Test #16: x86_64-x86_64_note-property2 ............ Passed 1.16 sec
Start 51: x86_64-bsymbolic
132/309 Test #67: x86_64-copyrel .......................... Passed 0.85 sec
Start 203: x86_64-retain-symbols-file
133/309 Test #65: x86_64-copyrel-protected ................ Passed 0.74 sec
Start 226: x86_64-symbol-version
134/309 Test #173: x86_64-noinhibit-exec ................... Passed 1.13 sec
Start 254: x86_64-tls-nopic
135/309 Test #159: x86_64-lto-gcc ..........................***Failed 3.50 sec
++ dirname /home/tkloczko/rpmbuild/BUILD/mold-1.10.0/test/elf/lto-gcc.sh
+ . /home/tkloczko/rpmbuild/BUILD/mold-1.10.0/test/elf/common.inc
++ export LC_ALL=C
++ LC_ALL=C
++++ uname -m
+++ canonical_name x86_64
+++ case $1 in
+++ echo x86_64
++ HOST=x86_64
++ '[' -n '' ']'
++ MACHINE=x86_64
++ '[' -n '' ']'
++ CC=cc
++ CXX=c++
++ GCC=gcc
++ GXX=g++
++ OBJDUMP=objdump
++ OBJCOPY=objcopy
++ STRIP=strip
++ QEMU=
++ trap 'on_error $LINENO' ERR
++ trap on_exit EXIT
+++ basename /home/tkloczko/rpmbuild/BUILD/mold-1.10.0/test/elf/lto-gcc.sh .sh
++ testname=lto-gcc
++ echo -n 'Testing lto-gcc ... '
Testing lto-gcc ... ++ t=out/test/elf/x86_64/lto-gcc
++ mkdir -p out/test/elf/x86_64/lto-gcc
+ echo 'int main() {}'
+ gcc -flto -o /dev/null -xc -
+ gcc -flto -c -o out/test/elf/x86_64/lto-gcc/a.o -xc -
+ cat
+ gcc -B. -o out/test/elf/x86_64/lto-gcc/exe1 -flto out/test/elf/x86_64/lto-gcc/a.o
/usr/include/c++/12/span:278: constexpr std::span<_Type, _Extent>::element_type& std::span<_Type, _Extent>::operator[](size_type) const [with _Type = mold::elf::ElfSym<mold::elf::X86_64>; long unsigned int _Extent = 18446744073709551615; reference = mold::elf::ElfSym<mold::elf::X86_64>&; size_type = long unsigned int]: Assertion '__idx < size()' failed.
collect2: fatal error: ld terminated with signal 6 [Aborted], core dumped
compilation terminated.
++ on_error 14
++ code=1
++ echo 'command failed: 14: $GCC -B. -o $t/exe1 -flto $t/a.o'
command failed: 14: $GCC -B. -o $t/exe1 -flto $t/a.o
++ trap - EXIT
++ exit 1
Start 186: x86_64-print-dependencies
136/309 Test #155: x86_64-linker-script3 ................... Passed 0.61 sec
Start 273: x86_64-version-script16
137/309 Test #201: x86_64-require-defined .................. Passed 1.20 sec
Start 154: x86_64-linker-script2
138/309 Test #133: x86_64-ifunc-funcptr .................... Passed 0.94 sec
Start 268: x86_64-version-script11
139/309 Test #151: x86_64-linker-script-defsym ............. Passed 0.81 sec
Start 41: x86_64-abs-error
140/309 Test #130: x86_64-ifunc-dso ........................ Passed 0.79 sec
Start 188: x86_64-protected
141/309 Test #208: x86_64-run-clang ........................ Passed 0.74 sec
Start 305: x86_64-z-now
142/309 Test #179: x86_64-pack-dyn-relocs-relr ............. Passed 0.74 sec
Start 91: x86_64-emit-relocs
143/309 Test #60: x86_64-common ........................... Passed 0.68 sec
Start 303: x86_64-z-nodefaultlib
144/309 Test #205: x86_64-rodata-name ...................... Passed 0.69 sec
Start 66: x86_64-copyrel-relro
145/309 Test #119: x86_64-gnu-unique ....................... Passed 0.68 sec
Start 50: x86_64-bsymbolic-functions
146/309 Test #140: x86_64-init ............................. Passed 0.67 sec
Start 62: x86_64-compress-debug-sections
147/309 Test #99: x86_64-exclude-libs3 .................... Passed 0.61 sec
Start 134: x86_64-ifunc-noplt
148/309 Test #63: x86_64-compressed-debug-info ............ Passed 0.57 sec
Start 98: x86_64-exclude-libs2
149/309 Test #74: x86_64-demangle-rust .................... Passed 0.55 sec
Start 242: x86_64-tls-dso
150/309 Test #223: x86_64-stdout ........................... Passed 0.50 sec
Start 304: x86_64-z-nodump
151/309 Test #72: x86_64-defsym ........................... Passed 0.49 sec
Start 227: x86_64-symbol-version2
152/309 Test #292: x86_64-weak-export-exe .................. Passed 0.48 sec
Start 49: x86_64-bno-symbolic
153/309 Test #146: x86_64-large-alignment .................. Passed 0.46 sec
Start 266: x86_64-version-script
154/309 Test #295: x86_64-weak-undef2 ...................... Passed 0.38 sec
Start 306: x86_64-z-origin
155/309 Test #59: x86_64-common-ref ....................... Passed 0.93 sec
Start 126: x86_64-hidden-weak-undef
156/309 Test #239: x86_64-tls-alignment-multi .............. Passed 0.56 sec
Start 128: x86_64-icf
157/309 Test #183: x86_64-plt-dso .......................... Passed 0.42 sec
Start 129: x86_64-ifunc-alias
158/309 Test #139: x86_64-init-in-dso ...................... Passed 0.79 sec
Start 69: x86_64-debug-macro-section
159/309 Test #229: x86_64-symtab-dso ....................... Passed 0.40 sec
Start 264: x86_64-verbose
160/309 Test #265: x86_64-version-script-search-paths ...... Passed 0.49 sec
Start 84: x86_64-dynamic-linker
161/309 Test #176: x86_64-now .............................. Passed 0.86 sec
Start 156: x86_64-linker-script4
162/309 Test #289: x86_64-warn-symbol-type ................. Passed 0.58 sec
Start 181: x86_64-physical-image-base
163/309 Test #255: x86_64-tls-pic .......................... Passed 0.51 sec
Start 102: x86_64-export-dynamic
164/309 Test #117: x86_64-global-offset-table .............. Passed 0.52 sec
Start 10: x86_64-x86_64_init-array-readonly
165/309 Test #25: x86_64-x86_64_reloc ..................... Passed 3.81 sec
Start 40: x86_64-x86_64_z-text
166/309 Test #71: x86_64-defsym-lto .......................***Failed 2.75 sec
++ dirname /home/tkloczko/rpmbuild/BUILD/mold-1.10.0/test/elf/defsym-lto.sh
+ . /home/tkloczko/rpmbuild/BUILD/mold-1.10.0/test/elf/common.inc
++ export LC_ALL=C
++ LC_ALL=C
++++ uname -m
+++ canonical_name x86_64
+++ case $1 in
+++ echo x86_64
++ HOST=x86_64
++ '[' -n '' ']'
++ MACHINE=x86_64
++ '[' -n '' ']'
++ CC=cc
++ CXX=c++
++ GCC=gcc
++ GXX=g++
++ OBJDUMP=objdump
++ OBJCOPY=objcopy
++ STRIP=strip
++ QEMU=
++ trap 'on_error $LINENO' ERR
++ trap on_exit EXIT
+++ basename /home/tkloczko/rpmbuild/BUILD/mold-1.10.0/test/elf/defsym-lto.sh .sh
++ testname=defsym-lto
++ echo -n 'Testing defsym-lto ... '
Testing defsym-lto ... ++ t=out/test/elf/x86_64/defsym-lto
++ mkdir -p out/test/elf/x86_64/defsym-lto
+ cc -flto -o /dev/null -xc -
+ echo 'int main() {}'
+ cc -flto -fPIC -o out/test/elf/x86_64/defsym-lto/a.o -c -xc -
+ cat
+ cc -B. -flto -o out/test/elf/x86_64/defsym-lto/exe out/test/elf/x86_64/defsym-lto/a.o -Wl,-defsym,live_func=dead_func
terminate called after throwing an instance of 'std::runtime_error'
what(): pthread_create has failed: Resource temporarily unavailable
terminate called recursively
collect2: fatal error: ld terminated with signal 6 [Aborted], core dumped
compilation terminated.
++ on_error 20
++ code=1
++ echo 'command failed: 20: $CC -B. -flto -o $t/exe $t/a.o -Wl,-defsym,live_func=dead_func'
command failed: 20: $CC -B. -flto -o $t/exe $t/a.o -Wl,-defsym,live_func=dead_func
++ trap - EXIT
++ exit 1
Start 73: x86_64-defsym2
167/309 Test #233: x86_64-sysroot-linker-script ............ Passed 0.89 sec
Start 42: x86_64-absolute-symbols
168/309 Test #225: x86_64-symbol-rank ...................... Passed 0.86 sec
Start 116: x86_64-glibc-2.22-bug
169/309 Test #38: x86_64-x86_64_z-ibtplt .................. Passed 0.58 sec
Start 27: x86_64-x86_64_section-name
170/309 Test #207: x86_64-rpath ............................ Passed 0.47 sec
Start 210: x86_64-section-align
171/309 Test #203: x86_64-retain-symbols-file .............. Passed 0.42 sec
Start 39: x86_64-x86_64_z-shstk
172/309 Test #226: x86_64-symbol-version ................... Passed 0.42 sec
Start 252: x86_64-tls-le-error
173/309 Test #254: x86_64-tls-nopic ........................ Passed 0.39 sec
Start 228: x86_64-symbol-version3
174/309 Test #186: x86_64-print-dependencies ............... Passed 0.42 sec
Start 76: x86_64-dependency-file
175/309 Test #44: x86_64-ar-alignment ..................... Passed 0.60 sec
Start 241: x86_64-tls-df-static-tls
176/309 Test #273: x86_64-version-script16 ................. Passed 0.43 sec
Start 267: x86_64-version-script10
177/309 Test #131: x86_64-ifunc-dynamic .................... Passed 0.79 sec
Start 30: x86_64-x86_64_tls-large-tbss
178/309 Test #154: x86_64-linker-script2 ................... Passed 0.44 sec
Start 92: x86_64-empty-file
179/309 Test #268: x86_64-version-script11 ................. Passed 0.43 sec
Start 185: x86_64-preinit-array
180/309 Test #41: x86_64-abs-error ........................ Passed 0.43 sec
Start 180: x86_64-package-metadata
181/309 Test #305: x86_64-z-now ............................ Passed 0.42 sec
Start 147: x86_64-large-max-page-size-strip
182/309 Test #91: x86_64-emit-relocs ...................... Passed 0.42 sec
Start 104: x86_64-fatal-warnings
183/309 Test #303: x86_64-z-nodefaultlib ................... Passed 0.41 sec
Start 22: x86_64-x86_64_relax
184/309 Test #62: x86_64-compress-debug-sections .......... Passed 0.39 sec
Start 35: x86_64-x86_64_warn-shared-textrel
185/309 Test #227: x86_64-symbol-version2 .................. Passed 0.35 sec
Start 31: x86_64-x86_64_tls-ld-mcmodel-large
186/309 Test #5: x86_64-x86_64_gnu-retain ................ Passed 0.64 sec
Start 57: x86_64-comment
187/309 Test #89: x86_64-emit-relocs-cpp .................. Passed 0.58 sec
Start 56: x86_64-color-diagnostics
188/309 Test #51: x86_64-bsymbolic ........................ Passed 0.58 sec
Start 182: x86_64-pie
189/309 Test #188: x86_64-protected ........................ Passed 0.49 sec
Start 82: x86_64-duplicate-error
190/309 Test #66: x86_64-copyrel-relro .................... Passed 0.52 sec
Start 26: x86_64-x86_64_section-alignment
191/309 Test #98: x86_64-exclude-libs2 .................... Passed 0.51 sec
Start 143: x86_64-invalid-version-script
192/309 Test #126: x86_64-hidden-weak-undef ................ Passed 0.44 sec
Start 141: x86_64-initfirst
193/309 Test #128: x86_64-icf .............................. Passed 0.43 sec
Start 127: x86_64-icf-small
194/309 Test #264: x86_64-verbose .......................... Passed 0.42 sec
Start 118: x86_64-gnu-hash
195/309 Test #84: x86_64-dynamic-linker ................... Passed 0.43 sec
Start 224: x86_64-strip
196/309 Test #174: x86_64-non-canonical-plt ................ Passed 0.79 sec
Start 120: x86_64-gnu-warning
197/309 Test #134: x86_64-ifunc-noplt ...................... Passed 0.56 sec
Start 52: x86_64-bug178
198/309 Test #242: x86_64-tls-dso .......................... Passed 0.54 sec
Start 261: x86_64-trace
199/309 Test #304: x86_64-z-nodump ......................... Passed 0.54 sec
Start 142: x86_64-interpose
200/309 Test #252: x86_64-tls-le-error ..................... Passed 0.31 sec
Start 101: x86_64-execute-only
201/309 Test #76: x86_64-dependency-file .................. Passed 0.27 sec
Start 249: x86_64-tls-large-static-image
202/309 Test #102: x86_64-export-dynamic ................... Passed 0.40 sec
Start 122: x86_64-hello-dynamic
203/309 Test #156: x86_64-linker-script4 ................... Passed 0.44 sec
Start 37: x86_64-x86_64_z-ibt
204/309 Test #266: x86_64-version-script ................... Passed 0.56 sec
Start 132: x86_64-ifunc-export
205/309 Test #184: x86_64-pltgot ........................... Passed 0.85 sec
Start 240: x86_64-tls-common
206/309 Test #306: x86_64-z-origin ......................... Passed 0.57 sec
Start 121: x86_64-hash-style
207/309 Test #42: x86_64-absolute-symbols ................. Passed 0.41 sec
Start 202: x86_64-response-file
208/309 Test #39: x86_64-x86_64_z-shstk ................... Passed 0.39 sec
Start 175: x86_64-nostdlib
209/309 Test #92: x86_64-empty-file ....................... Passed 0.31 sec
Start 3: x86_64-x86_64_execstack-if-needed
210/309 Test #10: x86_64-x86_64_init-array-readonly ....... Passed 0.46 sec
Start 148: x86_64-large-max-page-size
211/309 Test #73: x86_64-defsym2 .......................... Passed 0.45 sec
Start 94: x86_64-empty-version
212/309 Test #50: x86_64-bsymbolic-functions .............. Passed 0.69 sec
Start 283: x86_64-version-script9
213/309 Test #82: x86_64-duplicate-error .................. Passed 0.25 sec
Start 36: x86_64-x86_64_warn-textrel
214/309 Test #129: x86_64-ifunc-alias ...................... Passed 0.59 sec
Start 55: x86_64-cmdline
215/309 Test #69: x86_64-debug-macro-section .............. Passed 0.59 sec
Start 165: x86_64-missing-but-ok
216/309 Test #116: x86_64-glibc-2.22-bug ................... Passed 0.47 sec
Start 106: x86_64-filter
217/309 Test #40: x86_64-x86_64_z-text .................... Passed 0.50 sec
Start 170: x86_64-no-quick-exit
218/309 Test #267: x86_64-version-script10 ................. Passed 0.38 sec
Start 220: x86_64-start-stop
219/309 Test #49: x86_64-bno-symbolic ..................... Passed 0.70 sec
Start 18: x86_64-x86_64_note2
220/309 Test #181: x86_64-physical-image-base .............. Passed 0.55 sec
Start 21: x86_64-x86_64_preinit-array
221/309 Test #27: x86_64-x86_64_section-name .............. Passed 0.50 sec
Start 231: x86_64-symtab
222/309 Test #228: x86_64-symbol-version3 .................. Passed 0.44 sec
Start 166: x86_64-missing-error
223/309 Test #241: x86_64-tls-df-static-tls ................ Passed 0.42 sec
Start 169: x86_64-no-eh-frame-header
224/309 Test #30: x86_64-x86_64_tls-large-tbss ............ Passed 0.42 sec
Start 114: x86_64-gdb-index-empty
225/309 Test #147: x86_64-large-max-page-size-strip ........ Passed 0.39 sec
Start 177: x86_64-oformat-binary
226/309 Test #35: x86_64-x86_64_warn-shared-textrel ....... Passed 0.41 sec
Start 15: x86_64-x86_64_note-property
227/309 Test #57: x86_64-comment .......................... Passed 0.45 sec
Start 230: x86_64-symtab-section-symbols
228/309 Test #56: x86_64-color-diagnostics ................ Passed 0.44 sec
Start 12: x86_64-x86_64_large-bss
229/309 Test #143: x86_64-invalid-version-script ........... Passed 0.34 sec
Start 171: x86_64-no-undefined-version
230/309 Test #127: x86_64-icf-small ........................ Passed 0.32 sec
Start 24: x86_64-x86_64_reloc-zero
231/309 Test #118: x86_64-gnu-hash ......................... Passed 0.33 sec
Start 34: x86_64-x86_64_warn-execstack
232/309 Test #224: x86_64-strip ............................ Passed 0.33 sec
Start 4: x86_64-x86_64_gnu-linkonce
233/309 Test #141: x86_64-initfirst ........................ Passed 0.35 sec
Start 48: x86_64-auxiliary
234/309 Test #121: x86_64-hash-style ....................... Passed 0.25 sec
Start 2: x86_64-x86_64_exception-mcmodel-large
235/309 Test #210: x86_64-section-align .................... Passed 0.62 sec
Start 33: x86_64-x86_64_unique
236/309 Test #22: x86_64-x86_64_relax ..................... Passed 0.51 sec
Start 93: x86_64-empty-input
237/309 Test #175: x86_64-nostdlib ......................... Passed 0.24 sec
Start 192: x86_64-reloc-rodata
238/309 Test #94: x86_64-empty-version .................... Passed 0.23 sec
Start 309: x86_64-z-unknown
239/309 Test #283: x86_64-version-script9 .................. Passed 0.24 sec
Start 11: x86_64-x86_64_init-array
240/309 Test #55: x86_64-cmdline .......................... Passed 0.23 sec
Start 20: x86_64-x86_64_pltgot
241/309 Test #165: x86_64-missing-but-ok ................... Passed 0.23 sec
Start 19: x86_64-x86_64_plt
242/309 Test #31: x86_64-x86_64_tls-ld-mcmodel-large ...... Passed 0.55 sec
Start 308: x86_64-z-start-stop-visibility
243/309 Test #180: x86_64-package-metadata ................. Passed 0.57 sec
Start 124: x86_64-help
244/309 Test #142: x86_64-interpose ........................ Passed 0.37 sec
Start 23: x86_64-x86_64_reloc-overflow
245/309 Test #106: x86_64-filter ........................... Passed 0.24 sec
Start 1: x86_64-x86_64_emulation-deduction
246/309 Test #52: x86_64-bug178 ........................... Passed 0.40 sec
Start 6: x86_64-x86_64_ifunc-alias
247/309 Test #182: x86_64-pie .............................. Passed 0.54 sec
Start 7: x86_64-x86_64_incompatible-libs
248/309 Test #185: x86_64-preinit-array .................... Passed 0.61 sec
Start 8: x86_64-x86_64_incompatible-libs2
249/309 Test #26: x86_64-x86_64_section-alignment ......... Passed 0.48 sec
Start 9: x86_64-x86_64_incompatible-obj
250/309 Test #120: x86_64-gnu-warning ...................... Passed 0.44 sec
Start 13: x86_64-x86_64_mergeable-records
251/309 Test #122: x86_64-hello-dynamic .................... Passed 0.39 sec
Start 14: x86_64-x86_64_mergeable-strings
252/309 Test #261: x86_64-trace ............................ Passed 0.43 sec
Start 17: x86_64-x86_64_note
253/309 Test #240: x86_64-tls-common ....................... Passed 0.38 sec
Start 61: x86_64-compress-debug-sections-zstd
254/309 Test #202: x86_64-response-file .................... Passed 0.38 sec
Start 105: x86_64-filler
255/309 Test #3: x86_64-x86_64_execstack-if-needed ....... Passed 0.37 sec
Start 123: x86_64-hello-static
256/309 Test #148: x86_64-large-max-page-size .............. Passed 0.37 sec
Start 135: x86_64-ifunc-static-pie
257/309 Test #36: x86_64-x86_64_warn-textrel .............. Passed 0.36 sec
Start 136: x86_64-ifunc-static
258/309 Test #170: x86_64-no-quick-exit .................... Passed 0.36 sec
Start 178: x86_64-omagic
259/309 Test #220: x86_64-start-stop ....................... Passed 0.37 sec
Start 222: x86_64-static-pie
260/309 Test #132: x86_64-ifunc-export ..................... Passed 0.49 sec
Start 258: x86_64-tlsdesc-static
261/309 Test #37: x86_64-x86_64_z-ibt ..................... Passed 0.50 sec
Start 262: x86_64-undefined
262/309 Test #249: x86_64-tls-large-static-image ........... Passed 0.51 sec
263/309 Test #21: x86_64-x86_64_preinit-array ............. Passed 0.37 sec
264/309 Test #231: x86_64-symtab ........................... Passed 0.36 sec
265/309 Test #166: x86_64-missing-error .................... Passed 0.36 sec
266/309 Test #169: x86_64-no-eh-frame-header ............... Passed 0.35 sec
267/309 Test #114: x86_64-gdb-index-empty .................. Passed 0.35 sec
268/309 Test #177: x86_64-oformat-binary ................... Passed 0.35 sec
269/309 Test #12: x86_64-x86_64_large-bss ................. Passed 0.26 sec
270/309 Test #104: x86_64-fatal-warnings ................... Passed 0.74 sec
271/309 Test #101: x86_64-execute-only ..................... Passed 0.52 sec
272/309 Test #48: x86_64-auxiliary ........................ Passed 0.24 sec
273/309 Test #93: x86_64-empty-input ...................... Passed 0.22 sec
274/309 Test #192: x86_64-reloc-rodata ..................... Passed 0.22 sec
275/309 Test #309: x86_64-z-unknown ........................ Passed 0.20 sec
276/309 Test #308: x86_64-z-start-stop-visibility .......... Passed 0.18 sec
277/309 Test #124: x86_64-help ............................. Passed 0.18 sec
278/309 Test #18: x86_64-x86_64_note2 ..................... Passed 0.38 sec
279/309 Test #15: x86_64-x86_64_note-property ............. Passed 0.33 sec
280/309 Test #230: x86_64-symtab-section-symbols ........... Passed 0.27 sec
281/309 Test #171: x86_64-no-undefined-version ............. Passed 0.27 sec
282/309 Test #24: x86_64-x86_64_reloc-zero ................ Passed 0.26 sec
283/309 Test #34: x86_64-x86_64_warn-execstack ............ Passed 0.25 sec
284/309 Test #33: x86_64-x86_64_unique .................... Passed 0.23 sec
285/309 Test #11: x86_64-x86_64_init-array ................ Passed 0.20 sec
286/309 Test #20: x86_64-x86_64_pltgot .................... Passed 0.20 sec
287/309 Test #19: x86_64-x86_64_plt ....................... Passed 0.19 sec
288/309 Test #23: x86_64-x86_64_reloc-overflow ............ Passed 0.18 sec
289/309 Test #1: x86_64-x86_64_emulation-deduction ....... Passed 0.17 sec
290/309 Test #6: x86_64-x86_64_ifunc-alias ...............***Skipped 0.16 sec
291/309 Test #7: x86_64-x86_64_incompatible-libs .........***Skipped 0.15 sec
292/309 Test #8: x86_64-x86_64_incompatible-libs2 ........***Skipped 0.15 sec
293/309 Test #9: x86_64-x86_64_incompatible-obj ..........***Skipped 0.14 sec
294/309 Test #13: x86_64-x86_64_mergeable-records .........***Skipped 0.13 sec
295/309 Test #14: x86_64-x86_64_mergeable-strings .........***Skipped 0.13 sec
296/309 Test #17: x86_64-x86_64_note ......................***Skipped 0.13 sec
297/309 Test #61: x86_64-compress-debug-sections-zstd .....***Skipped 0.12 sec
298/309 Test #135: x86_64-ifunc-static-pie .................***Skipped 0.08 sec
299/309 Test #4: x86_64-x86_64_gnu-linkonce .............. Passed 0.25 sec
300/309 Test #123: x86_64-hello-static .....................***Skipped 0.09 sec
301/309 Test #105: x86_64-filler ...........................***Skipped 0.11 sec
302/309 Test #136: x86_64-ifunc-static .....................***Skipped 0.08 sec
303/309 Test #2: x86_64-x86_64_exception-mcmodel-large ... Passed 0.26 sec
304/309 Test #178: x86_64-omagic ...........................***Skipped 0.06 sec
305/309 Test #222: x86_64-static-pie .......................***Skipped 0.04 sec
306/309 Test #258: x86_64-tlsdesc-static ...................***Skipped 0.04 sec
307/309 Test #262: x86_64-undefined ........................***Skipped 0.04 sec
308/309 Test #162: x86_64-many-sections .................... Passed 4.81 sec
309/309 Test #163: x86_64-many-sections2 ................... Passed 6.25 sec
98% tests passed, 7 tests failed out of 309
Total Test time (real) = 6.28 sec
The following tests did not run:
6 - x86_64-x86_64_ifunc-alias (Skipped)
7 - x86_64-x86_64_incompatible-libs (Skipped)
8 - x86_64-x86_64_incompatible-libs2 (Skipped)
9 - x86_64-x86_64_incompatible-obj (Skipped)
13 - x86_64-x86_64_mergeable-records (Skipped)
14 - x86_64-x86_64_mergeable-strings (Skipped)
17 - x86_64-x86_64_note (Skipped)
61 - x86_64-compress-debug-sections-zstd (Skipped)
105 - x86_64-filler (Skipped)
123 - x86_64-hello-static (Skipped)
135 - x86_64-ifunc-static-pie (Skipped)
136 - x86_64-ifunc-static (Skipped)
178 - x86_64-omagic (Skipped)
222 - x86_64-static-pie (Skipped)
258 - x86_64-tlsdesc-static (Skipped)
262 - x86_64-undefined (Skipped)
The following tests FAILED:
71 - x86_64-defsym-lto (Failed)
157 - x86_64-lto-archive (Failed)
159 - x86_64-lto-gcc (Failed)
164 - x86_64-mergeable-strings (Failed)
190 - x86_64-range-extension-thunk (Failed)
236 - x86_64-tail-call (Failed)
297 - x86_64-wrap-lto (Failed)
Errors while running CTest
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 24 (12 by maintainers)
It should be fixed by the above patch. It’s worth for a new release, so I’ll create 1.10.1 including this fix on this weekend.
Yup, thank you for asking and first of all, thank you for filing the bug!
Test suite also fails on Arch Linux.
ctest output