Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 850962 Details for
Bug 894260
sys-devel/mold-1.10.1 - fails x86_64-version test whereas this test passes when testsuite is run from git
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
LastTest.log
LastTest.log (text/plain), 679.03 KB, created by
ernsteiswuerfel
on 2023-02-14 00:47:10 UTC
(
hide
)
Description:
LastTest.log
Filename:
MIME Type:
Creator:
ernsteiswuerfel
Created:
2023-02-14 00:47:10 UTC
Size:
679.03 KB
patch
obsolete
>Start testing: Feb 09 00:19 CET >---------------------------------------------------------- >1/293 Testing: x86_64-x86_64_emulation-deduction >1/293 Test: x86_64-x86_64_emulation-deduction >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_emulation-deduction.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-x86_64_emulation-deduction" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_emulation-deduction.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_emulation-deduction.sh .sh >++ testname=x86_64_emulation-deduction >++ echo -n 'Testing x86_64_emulation-deduction ... ' >Testing x86_64_emulation-deduction ... ++ t=out/test/elf/x86_64/x86_64_emulation-deduction >++ mkdir -p out/test/elf/x86_64/x86_64_emulation-deduction >+ '[' x86_64 = x86_64 ']' >+ cat >+ cc -o out/test/elf/x86_64/x86_64_emulation-deduction/a.o -c -xc - >+ ./mold -o out/test/elf/x86_64/x86_64_emulation-deduction/exe out/test/elf/x86_64/x86_64_emulation-deduction/a.o >+ readelf --file-header out/test/elf/x86_64/x86_64_emulation-deduction/exe >+ grep -qi x86-64 >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.11 sec >---------------------------------------------------------- >Test Passed. >"x86_64-x86_64_emulation-deduction" end time: Feb 09 00:19 CET >"x86_64-x86_64_emulation-deduction" time elapsed: 00:00:00 >---------------------------------------------------------- > >2/293 Testing: x86_64-x86_64_exception-mcmodel-large >2/293 Test: x86_64-x86_64_exception-mcmodel-large >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_exception-mcmodel-large.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-x86_64_exception-mcmodel-large" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_exception-mcmodel-large.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_exception-mcmodel-large.sh .sh >++ testname=x86_64_exception-mcmodel-large >++ echo -n 'Testing x86_64_exception-mcmodel-large ... ' >Testing x86_64_exception-mcmodel-large ... ++ t=out/test/elf/x86_64/x86_64_exception-mcmodel-large >++ mkdir -p out/test/elf/x86_64/x86_64_exception-mcmodel-large >+ '[' x86_64 = x86_64 ']' >+ cat >+ c++ -c -o out/test/elf/x86_64/x86_64_exception-mcmodel-large/a.o -xc++ -fPIC - >+ c++ -B. -o out/test/elf/x86_64/x86_64_exception-mcmodel-large/exe out/test/elf/x86_64/x86_64_exception-mcmodel-large/a.o -mcmodel=large >+ out/test/elf/x86_64/x86_64_exception-mcmodel-large/exe >+ echo 'int main() {}' >+ cc -o /dev/null -xc - -static >+ c++ -B. -o out/test/elf/x86_64/x86_64_exception-mcmodel-large/exe out/test/elf/x86_64/x86_64_exception-mcmodel-large/a.o -static -mcmodel=large >+ out/test/elf/x86_64/x86_64_exception-mcmodel-large/exe >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.34 sec >---------------------------------------------------------- >Test Passed. >"x86_64-x86_64_exception-mcmodel-large" end time: Feb 09 00:19 CET >"x86_64-x86_64_exception-mcmodel-large" time elapsed: 00:00:00 >---------------------------------------------------------- > >3/293 Testing: x86_64-x86_64_execstack-if-needed >3/293 Test: x86_64-x86_64_execstack-if-needed >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_execstack-if-needed.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-x86_64_execstack-if-needed" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_execstack-if-needed.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_execstack-if-needed.sh .sh >++ testname=x86_64_execstack-if-needed >++ echo -n 'Testing x86_64_execstack-if-needed ... ' >Testing x86_64_execstack-if-needed ... ++ t=out/test/elf/x86_64/x86_64_execstack-if-needed >++ mkdir -p out/test/elf/x86_64/x86_64_execstack-if-needed >+ '[' x86_64 = x86_64 ']' >+ cat >+ cc -c -xassembler -o out/test/elf/x86_64/x86_64_execstack-if-needed/a.o - >+ cc -B. -o out/test/elf/x86_64/x86_64_execstack-if-needed/exe out/test/elf/x86_64/x86_64_execstack-if-needed/a.o >+ readelf --segments -W out/test/elf/x86_64/x86_64_execstack-if-needed/exe >+ grep -q 'GNU_STACK.* RW ' >+ cc -B. -o out/test/elf/x86_64/x86_64_execstack-if-needed/exe out/test/elf/x86_64/x86_64_execstack-if-needed/a.o -Wl,-z,execstack-if-needed >+ readelf --segments -W out/test/elf/x86_64/x86_64_execstack-if-needed/exe >+ grep -q 'GNU_STACK.* RWE ' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.21 sec >---------------------------------------------------------- >Test Passed. >"x86_64-x86_64_execstack-if-needed" end time: Feb 09 00:19 CET >"x86_64-x86_64_execstack-if-needed" time elapsed: 00:00:00 >---------------------------------------------------------- > >4/293 Testing: x86_64-x86_64_gnu-linkonce >4/293 Test: x86_64-x86_64_gnu-linkonce >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_gnu-linkonce.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-x86_64_gnu-linkonce" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_gnu-linkonce.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_gnu-linkonce.sh .sh >++ testname=x86_64_gnu-linkonce >++ echo -n 'Testing x86_64_gnu-linkonce ... ' >Testing x86_64_gnu-linkonce ... ++ t=out/test/elf/x86_64/x86_64_gnu-linkonce >++ mkdir -p out/test/elf/x86_64/x86_64_gnu-linkonce >+ '[' x86_64 = x86_64 ']' >+ cat >+ cc -o out/test/elf/x86_64/x86_64_gnu-linkonce/a.o -c -x assembler - >+ cat >+ cc -o out/test/elf/x86_64/x86_64_gnu-linkonce/b.o -c -x assembler - >+ cat >+ cc -o out/test/elf/x86_64/x86_64_gnu-linkonce/c.o -c -xc - >+ cc -B. -o out/test/elf/x86_64/x86_64_gnu-linkonce/exe out/test/elf/x86_64/x86_64_gnu-linkonce/a.o out/test/elf/x86_64/x86_64_gnu-linkonce/b.o out/test/elf/x86_64/x86_64_gnu-linkonce/c.o >+ objdump -d out/test/elf/x86_64/x86_64_gnu-linkonce/exe >+ grep -A1 '<__x86.get_pc_thunk.bx>:' >+ grep -Fq 'puts$plt' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.22 sec >---------------------------------------------------------- >Test Passed. >"x86_64-x86_64_gnu-linkonce" end time: Feb 09 00:19 CET >"x86_64-x86_64_gnu-linkonce" time elapsed: 00:00:00 >---------------------------------------------------------- > >5/293 Testing: x86_64-x86_64_gnu-retain >5/293 Test: x86_64-x86_64_gnu-retain >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_gnu-retain.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-x86_64_gnu-retain" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_gnu-retain.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_gnu-retain.sh .sh >++ testname=x86_64_gnu-retain >++ echo -n 'Testing x86_64_gnu-retain ... ' >Testing x86_64_gnu-retain ... ++ t=out/test/elf/x86_64/x86_64_gnu-retain >++ mkdir -p out/test/elf/x86_64/x86_64_gnu-retain >+ '[' x86_64 = x86_64 ']' >+ echo '.section foo,"R"' >+ cc -o /dev/null -c -xassembler - >+ cat >+ cc -o out/test/elf/x86_64/x86_64_gnu-retain/a.o -c -xc - >+ cat >+ cc -o out/test/elf/x86_64/x86_64_gnu-retain/b.o -c -xassembler - >+ cat >+ cc -o out/test/elf/x86_64/x86_64_gnu-retain/c.o -c -xassembler - >+ cc -B. -o out/test/elf/x86_64/x86_64_gnu-retain/exe1 out/test/elf/x86_64/x86_64_gnu-retain/a.o out/test/elf/x86_64/x86_64_gnu-retain/b.o -Wl,-gc-sections >+ nm out/test/elf/x86_64/x86_64_gnu-retain/exe1 >+ grep -q foo >+ cc -B. -o out/test/elf/x86_64/x86_64_gnu-retain/exe1 out/test/elf/x86_64/x86_64_gnu-retain/a.o out/test/elf/x86_64/x86_64_gnu-retain/c.o -Wl,-gc-sections >+ nm out/test/elf/x86_64/x86_64_gnu-retain/exe1 >+ grep -q foo out/test/elf/x86_64/x86_64_gnu-retain/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.37 sec >---------------------------------------------------------- >Test Passed. >"x86_64-x86_64_gnu-retain" end time: Feb 09 00:19 CET >"x86_64-x86_64_gnu-retain" time elapsed: 00:00:00 >---------------------------------------------------------- > >6/293 Testing: x86_64-x86_64_ifunc-alias >6/293 Test: x86_64-x86_64_ifunc-alias >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_ifunc-alias.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-x86_64_ifunc-alias" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_ifunc-alias.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_ifunc-alias.sh .sh >++ testname=x86_64_ifunc-alias >++ echo -n 'Testing x86_64_ifunc-alias ... ' >Testing x86_64_ifunc-alias ... ++ t=out/test/elf/x86_64/x86_64_ifunc-alias >++ mkdir -p out/test/elf/x86_64/x86_64_ifunc-alias >+ supports_ifunc >+ echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' >+ cc -c -o /dev/null -xc - >+ skip >+ echo skipped >skipped >+ trap - EXIT >+ exit 0 ><end of output> >Test time = 0.08 sec >---------------------------------------------------------- >Test Pass Reason: >Skip regular expression found in output. Regex=[skipped] >"x86_64-x86_64_ifunc-alias" end time: Feb 09 00:19 CET >"x86_64-x86_64_ifunc-alias" time elapsed: 00:00:00 >---------------------------------------------------------- > >7/293 Testing: x86_64-x86_64_incompatible-libs >7/293 Test: x86_64-x86_64_incompatible-libs >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_incompatible-libs.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-x86_64_incompatible-libs" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_incompatible-libs.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_incompatible-libs.sh .sh >++ testname=x86_64_incompatible-libs >++ echo -n 'Testing x86_64_incompatible-libs ... ' >Testing x86_64_incompatible-libs ... ++ t=out/test/elf/x86_64/x86_64_incompatible-libs >++ mkdir -p out/test/elf/x86_64/x86_64_incompatible-libs >+ '[' x86_64 = x86_64 ']' >+ echo 'int main() {}' >+ cc -m32 -o out/test/elf/x86_64/x86_64_incompatible-libs/exe -xc - >+ skip >+ echo skipped >skipped >+ trap - EXIT >+ exit 0 ><end of output> >Test time = 0.13 sec >---------------------------------------------------------- >Test Pass Reason: >Skip regular expression found in output. Regex=[skipped] >"x86_64-x86_64_incompatible-libs" end time: Feb 09 00:19 CET >"x86_64-x86_64_incompatible-libs" time elapsed: 00:00:00 >---------------------------------------------------------- > >8/293 Testing: x86_64-x86_64_incompatible-libs2 >8/293 Test: x86_64-x86_64_incompatible-libs2 >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_incompatible-libs2.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-x86_64_incompatible-libs2" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_incompatible-libs2.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_incompatible-libs2.sh .sh >++ testname=x86_64_incompatible-libs2 >++ echo -n 'Testing x86_64_incompatible-libs2 ... ' >Testing x86_64_incompatible-libs2 ... ++ t=out/test/elf/x86_64/x86_64_incompatible-libs2 >++ mkdir -p out/test/elf/x86_64/x86_64_incompatible-libs2 >+ '[' x86_64 = x86_64 ']' >+ echo 'int main() {}' >+ cc -m32 -o out/test/elf/x86_64/x86_64_incompatible-libs2/exe -xc - >+ skip >+ echo skipped >skipped >+ trap - EXIT >+ exit 0 ><end of output> >Test time = 0.14 sec >---------------------------------------------------------- >Test Pass Reason: >Skip regular expression found in output. Regex=[skipped] >"x86_64-x86_64_incompatible-libs2" end time: Feb 09 00:19 CET >"x86_64-x86_64_incompatible-libs2" time elapsed: 00:00:00 >---------------------------------------------------------- > >9/293 Testing: x86_64-x86_64_incompatible-obj >9/293 Test: x86_64-x86_64_incompatible-obj >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_incompatible-obj.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-x86_64_incompatible-obj" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_incompatible-obj.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_incompatible-obj.sh .sh >++ testname=x86_64_incompatible-obj >++ echo -n 'Testing x86_64_incompatible-obj ... ' >Testing x86_64_incompatible-obj ... ++ t=out/test/elf/x86_64/x86_64_incompatible-obj >++ mkdir -p out/test/elf/x86_64/x86_64_incompatible-obj >+ '[' x86_64 = x86_64 ']' >+ echo 'int main() {}' >+ cc -m32 -o out/test/elf/x86_64/x86_64_incompatible-obj/exe -xc - >+ skip >+ echo skipped >skipped >+ trap - EXIT >+ exit 0 ><end of output> >Test time = 0.14 sec >---------------------------------------------------------- >Test Pass Reason: >Skip regular expression found in output. Regex=[skipped] >"x86_64-x86_64_incompatible-obj" end time: Feb 09 00:19 CET >"x86_64-x86_64_incompatible-obj" time elapsed: 00:00:00 >---------------------------------------------------------- > >10/293 Testing: x86_64-x86_64_init-array-readonly >10/293 Test: x86_64-x86_64_init-array-readonly >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_init-array-readonly.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-x86_64_init-array-readonly" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_init-array-readonly.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_init-array-readonly.sh .sh >++ testname=x86_64_init-array-readonly >++ echo -n 'Testing x86_64_init-array-readonly ... ' >Testing x86_64_init-array-readonly ... ++ t=out/test/elf/x86_64/x86_64_init-array-readonly >++ mkdir -p out/test/elf/x86_64/x86_64_init-array-readonly >+ '[' x86_64 = x86_64 ']' >+ cat >+ cc -c -o out/test/elf/x86_64/x86_64_init-array-readonly/a.o -x assembler - >+ cat >+ cc -c -o out/test/elf/x86_64/x86_64_init-array-readonly/b.o -x assembler - >+ sed -i -e s/init_xxxxx/init_array/g out/test/elf/x86_64/x86_64_init-array-readonly/b.o >+ cat >+ cc -c -o out/test/elf/x86_64/x86_64_init-array-readonly/c.o -xc - >+ cc -B. -o out/test/elf/x86_64/x86_64_init-array-readonly/exe out/test/elf/x86_64/x86_64_init-array-readonly/a.o out/test/elf/x86_64/x86_64_init-array-readonly/b.o out/test/elf/x86_64/x86_64_init-array-readonly/c.o >+ out/test/elf/x86_64/x86_64_init-array-readonly/exe >+ grep -q 'init1 init2' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.22 sec >---------------------------------------------------------- >Test Passed. >"x86_64-x86_64_init-array-readonly" end time: Feb 09 00:19 CET >"x86_64-x86_64_init-array-readonly" time elapsed: 00:00:00 >---------------------------------------------------------- > >11/293 Testing: x86_64-x86_64_init-array >11/293 Test: x86_64-x86_64_init-array >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_init-array.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-x86_64_init-array" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_init-array.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_init-array.sh .sh >++ testname=x86_64_init-array >++ echo -n 'Testing x86_64_init-array ... ' >Testing x86_64_init-array ... ++ t=out/test/elf/x86_64/x86_64_init-array >++ mkdir -p out/test/elf/x86_64/x86_64_init-array >+ '[' x86_64 = x86_64 ']' >+ cat >+ cc -c -o out/test/elf/x86_64/x86_64_init-array/a.o -x assembler - >+ cat >+ cc -c -o out/test/elf/x86_64/x86_64_init-array/b.o -xc - >+ cc -B. -o out/test/elf/x86_64/x86_64_init-array/exe out/test/elf/x86_64/x86_64_init-array/a.o out/test/elf/x86_64/x86_64_init-array/b.o >+ out/test/elf/x86_64/x86_64_init-array/exe >+ grep -q 'init1 init2 fini2 fini1' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.19 sec >---------------------------------------------------------- >Test Passed. >"x86_64-x86_64_init-array" end time: Feb 09 00:19 CET >"x86_64-x86_64_init-array" time elapsed: 00:00:00 >---------------------------------------------------------- > >12/293 Testing: x86_64-x86_64_large-bss >12/293 Test: x86_64-x86_64_large-bss >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_large-bss.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-x86_64_large-bss" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_large-bss.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_large-bss.sh .sh >++ testname=x86_64_large-bss >++ echo -n 'Testing x86_64_large-bss ... ' >Testing x86_64_large-bss ... ++ t=out/test/elf/x86_64/x86_64_large-bss >++ mkdir -p out/test/elf/x86_64/x86_64_large-bss >+ '[' x86_64 = x86_64 ']' >+ cat >+ cc -o out/test/elf/x86_64/x86_64_large-bss/a.o -c -xc - >+ cc -B. -o out/test/elf/x86_64/x86_64_large-bss/exe out/test/elf/x86_64/x86_64_large-bss/a.o >+ out/test/elf/x86_64/x86_64_large-bss/exe >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.16 sec >---------------------------------------------------------- >Test Passed. >"x86_64-x86_64_large-bss" end time: Feb 09 00:19 CET >"x86_64-x86_64_large-bss" time elapsed: 00:00:00 >---------------------------------------------------------- > >13/293 Testing: x86_64-x86_64_mergeable-records >13/293 Test: x86_64-x86_64_mergeable-records >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_mergeable-records.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-x86_64_mergeable-records" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_mergeable-records.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_mergeable-records.sh .sh >++ testname=x86_64_mergeable-records >++ echo -n 'Testing x86_64_mergeable-records ... ' >Testing x86_64_mergeable-records ... ++ t=out/test/elf/x86_64/x86_64_mergeable-records >++ mkdir -p out/test/elf/x86_64/x86_64_mergeable-records >+ '[' x86_64 = x86_64 ']' >+ test_cflags -static >+ echo 'int main() {}' >+ cc -static -o /dev/null -xc - >+ cat >+ cc -o out/test/elf/x86_64/x86_64_mergeable-records/a.o -c -x assembler - >+ cc -B. -static -o out/test/elf/x86_64/x86_64_mergeable-records/exe out/test/elf/x86_64/x86_64_mergeable-records/a.o >+ out/test/elf/x86_64/x86_64_mergeable-records/exe >+ grep -q '^abcdef$' >+ out/test/elf/x86_64/x86_64_mergeable-records/exe >+ grep -q '^bcdef$' >+ out/test/elf/x86_64/x86_64_mergeable-records/exe >+ grep -q '^ijkl$' >+ out/test/elf/x86_64/x86_64_mergeable-records/exe >+ grep -q '^pqr$' >+ out/test/elf/x86_64/x86_64_mergeable-records/exe >+ grep -q '^mnopqr$' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.25 sec >---------------------------------------------------------- >Test Passed. >"x86_64-x86_64_mergeable-records" end time: Feb 09 00:19 CET >"x86_64-x86_64_mergeable-records" time elapsed: 00:00:00 >---------------------------------------------------------- > >14/293 Testing: x86_64-x86_64_mergeable-strings >14/293 Test: x86_64-x86_64_mergeable-strings >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_mergeable-strings.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-x86_64_mergeable-strings" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_mergeable-strings.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_mergeable-strings.sh .sh >++ testname=x86_64_mergeable-strings >++ echo -n 'Testing x86_64_mergeable-strings ... ' >Testing x86_64_mergeable-strings ... ++ t=out/test/elf/x86_64/x86_64_mergeable-strings >++ mkdir -p out/test/elf/x86_64/x86_64_mergeable-strings >+ test_cflags -static >+ echo 'int main() {}' >+ cc -static -o /dev/null -xc - >+ '[' x86_64 = x86_64 ']' >+ cat >+ cc -o out/test/elf/x86_64/x86_64_mergeable-strings/a.o -c -x assembler - >+ cc -B. -static -o out/test/elf/x86_64/x86_64_mergeable-strings/exe out/test/elf/x86_64/x86_64_mergeable-strings/a.o >+ out/test/elf/x86_64/x86_64_mergeable-strings/exe >+ grep -q 'Hello world' >+ readelf -sW out/test/elf/x86_64/x86_64_mergeable-strings/exe >+ grep -Eq '[0-9] foo$' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.22 sec >---------------------------------------------------------- >Test Passed. >"x86_64-x86_64_mergeable-strings" end time: Feb 09 00:19 CET >"x86_64-x86_64_mergeable-strings" time elapsed: 00:00:00 >---------------------------------------------------------- > >15/293 Testing: x86_64-x86_64_note-property >15/293 Test: x86_64-x86_64_note-property >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_note-property.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-x86_64_note-property" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_note-property.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_note-property.sh .sh >++ testname=x86_64_note-property >++ echo -n 'Testing x86_64_note-property ... ' >Testing x86_64_note-property ... ++ t=out/test/elf/x86_64/x86_64_note-property >++ mkdir -p out/test/elf/x86_64/x86_64_note-property >+ '[' x86_64 = x86_64 ']' >+ cc -fcf-protection=branch -c /dev/null -o /dev/null -xc >+ cat >+ cc -fcf-protection=branch -c -o out/test/elf/x86_64/x86_64_note-property/a.o -xc - >+ cat >+ cc -fcf-protection=none -c -o out/test/elf/x86_64/x86_64_note-property/b.o -xc - >+ ./mold -o out/test/elf/x86_64/x86_64_note-property/exe out/test/elf/x86_64/x86_64_note-property/a.o >+ readelf -n out/test/elf/x86_64/x86_64_note-property/exe >+ grep -q 'x86 feature: IBT' >+ ./mold -o out/test/elf/x86_64/x86_64_note-property/exe out/test/elf/x86_64/x86_64_note-property/b.o >+ readelf -n out/test/elf/x86_64/x86_64_note-property/exe >+ grep -q 'x86 feature: IBT' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.20 sec >---------------------------------------------------------- >Test Passed. >"x86_64-x86_64_note-property" end time: Feb 09 00:19 CET >"x86_64-x86_64_note-property" time elapsed: 00:00:00 >---------------------------------------------------------- > >16/293 Testing: x86_64-x86_64_note-property2 >16/293 Test: x86_64-x86_64_note-property2 >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_note-property2.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-x86_64_note-property2" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_note-property2.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_note-property2.sh .sh >++ testname=x86_64_note-property2 >++ echo -n 'Testing x86_64_note-property2 ... ' >Testing x86_64_note-property2 ... ++ t=out/test/elf/x86_64/x86_64_note-property2 >++ mkdir -p out/test/elf/x86_64/x86_64_note-property2 >+ '[' x86_64 = x86_64 ']' >+ test_cflags -Xassembler -mx86-used-note=no >+ echo 'int main() {}' >+ cc -Xassembler -mx86-used-note=no -o /dev/null -xc - >+ CFLAGS='-Xassembler -mx86-used-note=no' >+ readelf -v >+ grep -q -E 'GNU readelf .+ (2\.3[6-9]|2\.[4-9]|[3-9])' >+ cat >+ cc -Xassembler -mx86-used-note=no -c -o out/test/elf/x86_64/x86_64_note-property2/a.o -xassembler-with-cpp - >+ cat >+ cc -Xassembler -mx86-used-note=no -c -o out/test/elf/x86_64/x86_64_note-property2/b.o -xassembler-with-cpp - >+ cat >+ cc -Xassembler -mx86-used-note=no -c -o out/test/elf/x86_64/x86_64_note-property2/c.o -xassembler-with-cpp - >+ ./mold -nostdlib -o out/test/elf/x86_64/x86_64_note-property2/exe1 out/test/elf/x86_64/x86_64_note-property2/a.o out/test/elf/x86_64/x86_64_note-property2/b.o >+ readelf -n out/test/elf/x86_64/x86_64_note-property2/exe1 >+ grep -q 'x86 feature: SHSTK' >+ readelf -n out/test/elf/x86_64/x86_64_note-property2/exe1 >+ grep -q 'x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' >+ readelf -n out/test/elf/x86_64/x86_64_note-property2/exe1 >+ grep -q 'x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' >+ ./mold -nostdlib -o out/test/elf/x86_64/x86_64_note-property2/exe2 out/test/elf/x86_64/x86_64_note-property2/a.o out/test/elf/x86_64/x86_64_note-property2/b.o out/test/elf/x86_64/x86_64_note-property2/c.o >+ readelf -n out/test/elf/x86_64/x86_64_note-property2/exe2 >+ grep -q 'x86 feature: SHSTK' >+ readelf -n out/test/elf/x86_64/x86_64_note-property2/exe2 >+ grep -q 'x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' >+ readelf -n out/test/elf/x86_64/x86_64_note-property2/exe2 >+ grep -q 'x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' >+ ./mold --relocatable -o out/test/elf/x86_64/x86_64_note-property2/d.o out/test/elf/x86_64/x86_64_note-property2/a.o out/test/elf/x86_64/x86_64_note-property2/b.o >+ readelf -n out/test/elf/x86_64/x86_64_note-property2/d.o >+ grep -q 'x86 feature: SHSTK' >+ readelf -n out/test/elf/x86_64/x86_64_note-property2/d.o >+ grep -q 'x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' >+ readelf -n out/test/elf/x86_64/x86_64_note-property2/d.o >+ grep -q 'x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.42 sec >---------------------------------------------------------- >Test Passed. >"x86_64-x86_64_note-property2" end time: Feb 09 00:19 CET >"x86_64-x86_64_note-property2" time elapsed: 00:00:00 >---------------------------------------------------------- > >17/293 Testing: x86_64-x86_64_note >17/293 Test: x86_64-x86_64_note >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_note.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-x86_64_note" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_note.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_note.sh .sh >++ testname=x86_64_note >++ echo -n 'Testing x86_64_note ... ' >Testing x86_64_note ... ++ t=out/test/elf/x86_64/x86_64_note >++ mkdir -p out/test/elf/x86_64/x86_64_note >+ test_cflags -static >+ echo 'int main() {}' >+ cc -static -o /dev/null -xc - >+ '[' x86_64 = x86_64 ']' >+ test_cflags -Xassembler -mx86-used-note=no >+ echo 'int main() {}' >+ cc -Xassembler -mx86-used-note=no -o /dev/null -xc - >+ CFLAGS='-Xassembler -mx86-used-note=no' >+ cat >+ cc -Xassembler -mx86-used-note=no -o out/test/elf/x86_64/x86_64_note/a.o -c -x assembler - >+ ./mold -static -o out/test/elf/x86_64/x86_64_note/exe out/test/elf/x86_64/x86_64_note/a.o >+ readelf -W --sections out/test/elf/x86_64/x86_64_note/exe >+ grep -Eq '.note.bar\s+NOTE.+000008 00 A 0 0 4' out/test/elf/x86_64/x86_64_note/log >+ grep -Eq '.note.baz\s+NOTE.+000008 00 A 0 0 8' out/test/elf/x86_64/x86_64_note/log >+ grep -Eq '.note.nonalloc\s+NOTE.+000008 00 0 0 1' out/test/elf/x86_64/x86_64_note/log >+ readelf --segments out/test/elf/x86_64/x86_64_note/exe >+ grep -Fq '01 .note.baz .note.foo .note.bar' out/test/elf/x86_64/x86_64_note/log >+ grep -q 'NOTE.*0x0000000000000000 0x0000000000000000' out/test/elf/x86_64/x86_64_note/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.31 sec >---------------------------------------------------------- >Test Passed. >"x86_64-x86_64_note" end time: Feb 09 00:19 CET >"x86_64-x86_64_note" time elapsed: 00:00:00 >---------------------------------------------------------- > >18/293 Testing: x86_64-x86_64_note2 >18/293 Test: x86_64-x86_64_note2 >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_note2.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-x86_64_note2" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_note2.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_note2.sh .sh >++ testname=x86_64_note2 >++ echo -n 'Testing x86_64_note2 ... ' >Testing x86_64_note2 ... ++ t=out/test/elf/x86_64/x86_64_note2 >++ mkdir -p out/test/elf/x86_64/x86_64_note2 >+ '[' x86_64 = x86_64 ']' >+ test_cflags -Xassembler -mx86-used-note=no >+ echo 'int main() {}' >+ cc -Xassembler -mx86-used-note=no -o /dev/null -xc - >+ CFLAGS='-Xassembler -mx86-used-note=no' >+ cat >+ cc -Xassembler -mx86-used-note=no -o out/test/elf/x86_64/x86_64_note2/a.o -c -x assembler - >+ cat >+ cc -Xassembler -mx86-used-note=no -o out/test/elf/x86_64/x86_64_note2/b.o -c -x assembler - >+ cat >+ cc -Xassembler -mx86-used-note=no -o out/test/elf/x86_64/x86_64_note2/c.o -c -x assembler - >+ cat >+ cc -Xassembler -mx86-used-note=no -o out/test/elf/x86_64/x86_64_note2/d.o -c -xc - >+ ./mold -o out/test/elf/x86_64/x86_64_note2/exe out/test/elf/x86_64/x86_64_note2/a.o out/test/elf/x86_64/x86_64_note2/b.o out/test/elf/x86_64/x86_64_note2/c.o out/test/elf/x86_64/x86_64_note2/d.o >+ readelf --segments out/test/elf/x86_64/x86_64_note2/exe >+ grep -Fq '01 .note.a .note.c .note.b' out/test/elf/x86_64/x86_64_note2/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.27 sec >---------------------------------------------------------- >Test Passed. >"x86_64-x86_64_note2" end time: Feb 09 00:19 CET >"x86_64-x86_64_note2" time elapsed: 00:00:00 >---------------------------------------------------------- > >19/293 Testing: x86_64-x86_64_plt >19/293 Test: x86_64-x86_64_plt >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_plt.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-x86_64_plt" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_plt.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_plt.sh .sh >++ testname=x86_64_plt >++ echo -n 'Testing x86_64_plt ... ' >Testing x86_64_plt ... ++ t=out/test/elf/x86_64/x86_64_plt >++ mkdir -p out/test/elf/x86_64/x86_64_plt >+ '[' x86_64 = x86_64 ']' >+ cat >+ cc -o out/test/elf/x86_64/x86_64_plt/a.o -c -x assembler - >+ cc -B. -o out/test/elf/x86_64/x86_64_plt/exe out/test/elf/x86_64/x86_64_plt/a.o >+ readelf --sections out/test/elf/x86_64/x86_64_plt/exe >+ grep -Fq .got >+ readelf --sections out/test/elf/x86_64/x86_64_plt/exe >+ grep -Fq .got.plt >+ out/test/elf/x86_64/x86_64_plt/exe >+ grep -q 'Hello world' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.15 sec >---------------------------------------------------------- >Test Passed. >"x86_64-x86_64_plt" end time: Feb 09 00:19 CET >"x86_64-x86_64_plt" time elapsed: 00:00:00 >---------------------------------------------------------- > >20/293 Testing: x86_64-x86_64_pltgot >20/293 Test: x86_64-x86_64_pltgot >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_pltgot.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-x86_64_pltgot" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_pltgot.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_pltgot.sh .sh >++ testname=x86_64_pltgot >++ echo -n 'Testing x86_64_pltgot ... ' >Testing x86_64_pltgot ... ++ t=out/test/elf/x86_64/x86_64_pltgot >++ mkdir -p out/test/elf/x86_64/x86_64_pltgot >+ '[' x86_64 = x86_64 ']' >+ cat >+ cc -fPIC -shared -Wl,-z,noexecstack -o out/test/elf/x86_64/x86_64_pltgot/a.so -x assembler - >+ cat >+ cc -c -o out/test/elf/x86_64/x86_64_pltgot/b.o -x assembler - >+ ./mold -z separate-loadable-segments -pie -o out/test/elf/x86_64/x86_64_pltgot/exe out/test/elf/x86_64/x86_64_pltgot/b.o out/test/elf/x86_64/x86_64_pltgot/a.so >+ objdump -d -j .plt.got out/test/elf/x86_64/x86_64_pltgot/exe >+ grep -Eq '1034:.*jmp.* <ext2>' out/test/elf/x86_64/x86_64_pltgot/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.15 sec >---------------------------------------------------------- >Test Passed. >"x86_64-x86_64_pltgot" end time: Feb 09 00:19 CET >"x86_64-x86_64_pltgot" time elapsed: 00:00:00 >---------------------------------------------------------- > >21/293 Testing: x86_64-x86_64_preinit-array >21/293 Test: x86_64-x86_64_preinit-array >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_preinit-array.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-x86_64_preinit-array" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_preinit-array.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_preinit-array.sh .sh >++ testname=x86_64_preinit-array >++ echo -n 'Testing x86_64_preinit-array ... ' >Testing x86_64_preinit-array ... ++ t=out/test/elf/x86_64/x86_64_preinit-array >++ mkdir -p out/test/elf/x86_64/x86_64_preinit-array >+ ldd --help >+ grep -q musl >+ skip >+ echo skipped >skipped >+ trap - EXIT >+ exit 0 ><end of output> >Test time = 0.05 sec >---------------------------------------------------------- >Test Pass Reason: >Skip regular expression found in output. Regex=[skipped] >"x86_64-x86_64_preinit-array" end time: Feb 09 00:19 CET >"x86_64-x86_64_preinit-array" time elapsed: 00:00:00 >---------------------------------------------------------- > >22/293 Testing: x86_64-x86_64_relax >22/293 Test: x86_64-x86_64_relax >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_relax.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-x86_64_relax" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_relax.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_relax.sh .sh >++ testname=x86_64_relax >++ echo -n 'Testing x86_64_relax ... ' >Testing x86_64_relax ... ++ t=out/test/elf/x86_64/x86_64_relax >++ mkdir -p out/test/elf/x86_64/x86_64_relax >+ '[' x86_64 = x86_64 ']' >+ cat >+ cc -o out/test/elf/x86_64/x86_64_relax/a.o -c -x assembler -Wa,-mrelax-relocations=yes - >+ cat >+ cc -o out/test/elf/x86_64/x86_64_relax/b.o -c -xc - >+ cc -B. -o out/test/elf/x86_64/x86_64_relax/exe out/test/elf/x86_64/x86_64_relax/a.o out/test/elf/x86_64/x86_64_relax/b.o >+ objdump -d out/test/elf/x86_64/x86_64_relax/exe >+ grep -A20 '<bar>:' >+ grep -Eq 'lea \s*0x.+\(%rip\),%rax .*<foo>' out/test/elf/x86_64/x86_64_relax/log >+ grep -Eq 'lea \s*0x.+\(%rip\),%rcx .*<foo>' out/test/elf/x86_64/x86_64_relax/log >+ grep -Eq 'lea \s*0x.+\(%rip\),%rdx .*<foo>' out/test/elf/x86_64/x86_64_relax/log >+ grep -Eq 'lea \s*0x.+\(%rip\),%rbx .*<foo>' out/test/elf/x86_64/x86_64_relax/log >+ grep -Eq 'lea \s*0x.+\(%rip\),%rbp .*<foo>' out/test/elf/x86_64/x86_64_relax/log >+ grep -Eq 'lea \s*0x.+\(%rip\),%rsi .*<foo>' out/test/elf/x86_64/x86_64_relax/log >+ grep -Eq 'lea \s*0x.+\(%rip\),%rdi .*<foo>' out/test/elf/x86_64/x86_64_relax/log >+ grep -Eq 'lea \s*0x.+\(%rip\),%r8 .*<foo>' out/test/elf/x86_64/x86_64_relax/log >+ grep -Eq 'lea \s*0x.+\(%rip\),%r9 .*<foo>' out/test/elf/x86_64/x86_64_relax/log >+ grep -Eq 'lea \s*0x.+\(%rip\),%r10 .*<foo>' out/test/elf/x86_64/x86_64_relax/log >+ grep -Eq 'lea \s*0x.+\(%rip\),%r11 .*<foo>' out/test/elf/x86_64/x86_64_relax/log >+ grep -Eq 'lea \s*0x.+\(%rip\),%r12 .*<foo>' out/test/elf/x86_64/x86_64_relax/log >+ grep -Eq 'lea \s*0x.+\(%rip\),%r13 .*<foo>' out/test/elf/x86_64/x86_64_relax/log >+ grep -Eq 'lea \s*0x.+\(%rip\),%r14 .*<foo>' out/test/elf/x86_64/x86_64_relax/log >+ grep -Eq 'lea \s*0x.+\(%rip\),%r15 .*<foo>' out/test/elf/x86_64/x86_64_relax/log >+ grep -Eq 'call.*<foo>' out/test/elf/x86_64/x86_64_relax/log >+ grep -Eq 'jmp.*<foo>' out/test/elf/x86_64/x86_64_relax/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.30 sec >---------------------------------------------------------- >Test Passed. >"x86_64-x86_64_relax" end time: Feb 09 00:19 CET >"x86_64-x86_64_relax" time elapsed: 00:00:00 >---------------------------------------------------------- > >23/293 Testing: x86_64-x86_64_reloc-overflow >23/293 Test: x86_64-x86_64_reloc-overflow >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_reloc-overflow.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-x86_64_reloc-overflow" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_reloc-overflow.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_reloc-overflow.sh .sh >++ testname=x86_64_reloc-overflow >++ echo -n 'Testing x86_64_reloc-overflow ... ' >Testing x86_64_reloc-overflow ... ++ t=out/test/elf/x86_64/x86_64_reloc-overflow >++ mkdir -p out/test/elf/x86_64/x86_64_reloc-overflow >+ '[' x86_64 = x86_64 ']' >+ cat >+ cc -o out/test/elf/x86_64/x86_64_reloc-overflow/a.o -c -x assembler - >+ ./mold -e foo -o out/test/elf/x86_64/x86_64_reloc-overflow/exe out/test/elf/x86_64/x86_64_reloc-overflow/a.o >+ grep -Fq 'relocation R_X86_64_16 against foo out of range' out/test/elf/x86_64/x86_64_reloc-overflow/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.08 sec >---------------------------------------------------------- >Test Passed. >"x86_64-x86_64_reloc-overflow" end time: Feb 09 00:19 CET >"x86_64-x86_64_reloc-overflow" time elapsed: 00:00:00 >---------------------------------------------------------- > >24/293 Testing: x86_64-x86_64_reloc-zero >24/293 Test: x86_64-x86_64_reloc-zero >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_reloc-zero.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-x86_64_reloc-zero" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_reloc-zero.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_reloc-zero.sh .sh >++ testname=x86_64_reloc-zero >++ echo -n 'Testing x86_64_reloc-zero ... ' >Testing x86_64_reloc-zero ... ++ t=out/test/elf/x86_64/x86_64_reloc-zero >++ mkdir -p out/test/elf/x86_64/x86_64_reloc-zero >+ '[' x86_64 = x86_64 ']' >+ cat >+ cc -o out/test/elf/x86_64/x86_64_reloc-zero/a.o -c -x assembler - >+ cat >+ cc -o out/test/elf/x86_64/x86_64_reloc-zero/b.o -c -xc - >+ cc -B. -no-pie -o out/test/elf/x86_64/x86_64_reloc-zero/exe out/test/elf/x86_64/x86_64_reloc-zero/a.o out/test/elf/x86_64/x86_64_reloc-zero/b.o >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.18 sec >---------------------------------------------------------- >Test Passed. >"x86_64-x86_64_reloc-zero" end time: Feb 09 00:19 CET >"x86_64-x86_64_reloc-zero" time elapsed: 00:00:00 >---------------------------------------------------------- > >25/293 Testing: x86_64-x86_64_reloc >25/293 Test: x86_64-x86_64_reloc >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_reloc.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-x86_64_reloc" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_reloc.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_reloc.sh .sh >++ testname=x86_64_reloc >++ echo -n 'Testing x86_64_reloc ... ' >Testing x86_64_reloc ... ++ t=out/test/elf/x86_64/x86_64_reloc >++ mkdir -p out/test/elf/x86_64/x86_64_reloc >+ '[' x86_64 = x86_64 ']' >+ cat >+ cc -fPIC -c -o out/test/elf/x86_64/x86_64_reloc/a.o -x assembler - >+ cat >+ cc -fPIC -c -o out/test/elf/x86_64/x86_64_reloc/b.o -xc - >+ cc -shared -o out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/a.o out/test/elf/x86_64/x86_64_reloc/b.o -Wl,-z,noexecstack >+ cat >+ cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -no-pie >+ out/test/elf/x86_64/x86_64_reloc/exe >+ grep -q '^42$' >+ cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -pie >+ out/test/elf/x86_64/x86_64_reloc/exe >+ grep -q '^42$' >+ cat >+ cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -no-pie >+ out/test/elf/x86_64/x86_64_reloc/exe >+ grep -q '^56$' >+ cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -pie >+ out/test/elf/x86_64/x86_64_reloc/exe >+ grep -q '^56$' >+ cat >+ cc -c -o out/test/elf/x86_64/x86_64_reloc/d.o out/test/elf/x86_64/x86_64_reloc/d.s >+ cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.o -no-pie >+ out/test/elf/x86_64/x86_64_reloc/exe >+ grep -q '^56$' >+ cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -pie >+ out/test/elf/x86_64/x86_64_reloc/exe >+ grep -q '^56$' >+ cat >+ cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -no-pie >+ out/test/elf/x86_64/x86_64_reloc/exe >+ grep -q '^56$' >+ cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -pie >+ out/test/elf/x86_64/x86_64_reloc/exe >+ grep -q '^56$' >+ cat >+ cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -no-pie >+ out/test/elf/x86_64/x86_64_reloc/exe >+ grep -q '^76$' >+ cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -pie >+ out/test/elf/x86_64/x86_64_reloc/exe >+ grep -q '^76$' >+ cat >+ cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -no-pie >+ out/test/elf/x86_64/x86_64_reloc/exe >+ grep -q '^76$' >+ cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -pie >+ out/test/elf/x86_64/x86_64_reloc/exe >+ grep -q '^76$' >+ cat >+ cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s >+ out/test/elf/x86_64/x86_64_reloc/exe >+ grep -q '^26$' >+ cat >+ cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s >+ out/test/elf/x86_64/x86_64_reloc/exe >+ grep -q '^61$' >+ cat >+ cc -c -o out/test/elf/x86_64/x86_64_reloc/e.o out/test/elf/x86_64/x86_64_reloc/e.c -mcmodel=large -fPIC >+ cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/e.o >+ out/test/elf/x86_64/x86_64_reloc/exe >+ grep -q '^56000003$' >+ cat >+ cc -c -o out/test/elf/x86_64/x86_64_reloc/f.o out/test/elf/x86_64/x86_64_reloc/f.s >+ cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/f.o >+ readelf -x .foo -x .bar out/test/elf/x86_64/x86_64_reloc/exe >+ grep -Fq '0x00000010 00000000 00000000 10000000 00000000' out/test/elf/x86_64/x86_64_reloc/log >+ grep -Fq '0x00000010 18000000 00000000' out/test/elf/x86_64/x86_64_reloc/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 1.68 sec >---------------------------------------------------------- >Test Passed. >"x86_64-x86_64_reloc" end time: Feb 09 00:19 CET >"x86_64-x86_64_reloc" time elapsed: 00:00:01 >---------------------------------------------------------- > >26/293 Testing: x86_64-x86_64_section-alignment >26/293 Test: x86_64-x86_64_section-alignment >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_section-alignment.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-x86_64_section-alignment" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_section-alignment.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_section-alignment.sh .sh >++ testname=x86_64_section-alignment >++ echo -n 'Testing x86_64_section-alignment ... ' >Testing x86_64_section-alignment ... ++ t=out/test/elf/x86_64/x86_64_section-alignment >++ mkdir -p out/test/elf/x86_64/x86_64_section-alignment >+ '[' x86_64 = x86_64 ']' >+ cat >+ cc -c -o out/test/elf/x86_64/x86_64_section-alignment/a.o -xc - >+ cc -B. -o out/test/elf/x86_64/x86_64_section-alignment/exe out/test/elf/x86_64/x86_64_section-alignment/a.o >+ out/test/elf/x86_64/x86_64_section-alignment/exe >+ grep -q '^0 0 0$' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.17 sec >---------------------------------------------------------- >Test Passed. >"x86_64-x86_64_section-alignment" end time: Feb 09 00:19 CET >"x86_64-x86_64_section-alignment" time elapsed: 00:00:00 >---------------------------------------------------------- > >27/293 Testing: x86_64-x86_64_section-name >27/293 Test: x86_64-x86_64_section-name >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_section-name.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-x86_64_section-name" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_section-name.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_section-name.sh .sh >++ testname=x86_64_section-name >++ echo -n 'Testing x86_64_section-name ... ' >Testing x86_64_section-name ... ++ t=out/test/elf/x86_64/x86_64_section-name >++ mkdir -p out/test/elf/x86_64/x86_64_section-name >+ '[' x86_64 = x86_64 ']' >+ cat >+ cc -o out/test/elf/x86_64/x86_64_section-name/a.o -c -x assembler - >+ ./mold -o out/test/elf/x86_64/x86_64_section-name/exe out/test/elf/x86_64/x86_64_section-name/a.o -z keep-text-section-prefix >+ readelf -p .text.hot out/test/elf/x86_64/x86_64_section-name/exe >+ grep -Fq '.text.hot .text.hot.foo' >+ readelf -p .text.unknown out/test/elf/x86_64/x86_64_section-name/exe >+ grep -Fq '.text.unknown .text.unknown.foo' >+ readelf -p .text.unlikely out/test/elf/x86_64/x86_64_section-name/exe >+ grep -Fq '.text.unlikely .text.unlikely.foo' >+ readelf -p .text.startup out/test/elf/x86_64/x86_64_section-name/exe >+ grep -Fq '.text.startup .text.startup.foo' >+ readelf -p .text.exit out/test/elf/x86_64/x86_64_section-name/exe >+ grep -Fq '.text.exit .text.exit.foo' >+ readelf -p .text out/test/elf/x86_64/x86_64_section-name/exe >+ grep -Fq '.text .text.foo' >+ readelf -p .data.rel.ro out/test/elf/x86_64/x86_64_section-name/exe >+ grep -Fq '.data.rel.ro .data.rel.ro.foo' >+ readelf -p .data out/test/elf/x86_64/x86_64_section-name/exe >+ grep -Fq '.data .data.foo' >+ readelf -p .rodata out/test/elf/x86_64/x86_64_section-name/exe >+ grep -Fq '.rodata .rodata.foo' >+ ./mold -o out/test/elf/x86_64/x86_64_section-name/exe out/test/elf/x86_64/x86_64_section-name/a.o >+ readelf --sections out/test/elf/x86_64/x86_64_section-name/exe >+ grep -Fq .text.hot >+ ./mold -o out/test/elf/x86_64/x86_64_section-name/exe out/test/elf/x86_64/x86_64_section-name/a.o -z nokeep-text-section-prefix >+ readelf --sections out/test/elf/x86_64/x86_64_section-name/exe >+ grep -Fq .text.hot >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.22 sec >---------------------------------------------------------- >Test Passed. >"x86_64-x86_64_section-name" end time: Feb 09 00:19 CET >"x86_64-x86_64_section-name" time elapsed: 00:00:00 >---------------------------------------------------------- > >28/293 Testing: x86_64-x86_64_tls-gd-mcmodel-large >28/293 Test: x86_64-x86_64_tls-gd-mcmodel-large >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_tls-gd-mcmodel-large.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-x86_64_tls-gd-mcmodel-large" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_tls-gd-mcmodel-large.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_tls-gd-mcmodel-large.sh .sh >++ testname=x86_64_tls-gd-mcmodel-large >++ echo -n 'Testing x86_64_tls-gd-mcmodel-large ... ' >Testing x86_64_tls-gd-mcmodel-large ... ++ t=out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large >++ mkdir -p out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large >+ '[' x86_64 = x86_64 ']' >+ cat >+ gcc -mtls-dialect=gnu -fPIC -c -o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/a.o -xc - -mcmodel=large >+ cat >+ gcc -mtls-dialect=gnu -fPIC -c -o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/b.o -xc - -mcmodel=large >+ cat >+ gcc -mtls-dialect=gnu -fPIC -c -o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/c.o -xc - -mcmodel=large >+ cc -B. -shared -o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/d.so out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/b.o -mcmodel=large >+ cc -B. -shared -o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/e.so out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/c.o -Wl,--no-relax -mcmodel=large >+ cc -B. -o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/exe out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/a.o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/d.so out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/e.so -mcmodel=large >+ out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/exe >+ grep -q '1 2 3 4 5 6' >+ cc -B. -o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/exe out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/a.o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/d.so out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/e.so -Wl,-no-relax -mcmodel=large >+ out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/exe >+ grep -q '1 2 3 4 5 6' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.46 sec >---------------------------------------------------------- >Test Passed. >"x86_64-x86_64_tls-gd-mcmodel-large" end time: Feb 09 00:19 CET >"x86_64-x86_64_tls-gd-mcmodel-large" time elapsed: 00:00:00 >---------------------------------------------------------- > >29/293 Testing: x86_64-x86_64_tls-gd-to-ie >29/293 Test: x86_64-x86_64_tls-gd-to-ie >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_tls-gd-to-ie.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-x86_64_tls-gd-to-ie" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_tls-gd-to-ie.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_tls-gd-to-ie.sh .sh >++ testname=x86_64_tls-gd-to-ie >++ echo -n 'Testing x86_64_tls-gd-to-ie ... ' >Testing x86_64_tls-gd-to-ie ... ++ t=out/test/elf/x86_64/x86_64_tls-gd-to-ie >++ mkdir -p out/test/elf/x86_64/x86_64_tls-gd-to-ie >+ cat >+ gcc -fPIC -c -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/a.o -xc - -mcmodel=large >+ cat >+ cc -fPIC -c -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/b.o -xc - >+ cc -B. -shared -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/c.so out/test/elf/x86_64/x86_64_tls-gd-to-ie/a.o >+ cc -B. -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe1 out/test/elf/x86_64/x86_64_tls-gd-to-ie/b.o out/test/elf/x86_64/x86_64_tls-gd-to-ie/c.so >+ out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe1 >+ grep -q '1 2 3' >+ cc -B. -shared -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/d.so out/test/elf/x86_64/x86_64_tls-gd-to-ie/a.o -Wl,-no-relax >+ cc -B. -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe2 out/test/elf/x86_64/x86_64_tls-gd-to-ie/b.o out/test/elf/x86_64/x86_64_tls-gd-to-ie/d.so >+ out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe2 >+ grep -q '1 2 3' >+ cc -B. -shared -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/e.so out/test/elf/x86_64/x86_64_tls-gd-to-ie/a.o -Wl,-z,nodlopen >+ cc -B. -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe3 out/test/elf/x86_64/x86_64_tls-gd-to-ie/b.o out/test/elf/x86_64/x86_64_tls-gd-to-ie/e.so >+ out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe3 >+ grep -q '1 2 3' >+ cc -B. -shared -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/f.so out/test/elf/x86_64/x86_64_tls-gd-to-ie/a.o -Wl,-z,nodlopen -Wl,-no-relax >+ cc -B. -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe4 out/test/elf/x86_64/x86_64_tls-gd-to-ie/b.o out/test/elf/x86_64/x86_64_tls-gd-to-ie/f.so >+ out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe4 >+ grep -q '1 2 3' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.67 sec >---------------------------------------------------------- >Test Passed. >"x86_64-x86_64_tls-gd-to-ie" end time: Feb 09 00:19 CET >"x86_64-x86_64_tls-gd-to-ie" time elapsed: 00:00:00 >---------------------------------------------------------- > >30/293 Testing: x86_64-x86_64_tls-large-tbss >30/293 Test: x86_64-x86_64_tls-large-tbss >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_tls-large-tbss.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-x86_64_tls-large-tbss" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_tls-large-tbss.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_tls-large-tbss.sh .sh >++ testname=x86_64_tls-large-tbss >++ echo -n 'Testing x86_64_tls-large-tbss ... ' >Testing x86_64_tls-large-tbss ... ++ t=out/test/elf/x86_64/x86_64_tls-large-tbss >++ mkdir -p out/test/elf/x86_64/x86_64_tls-large-tbss >+ '[' x86_64 = x86_64 ']' >+ cat >+ cc -c -o out/test/elf/x86_64/x86_64_tls-large-tbss/a.o -x assembler - >+ cat >+ cc -c -o out/test/elf/x86_64/x86_64_tls-large-tbss/b.o -xc - >+ cc -B. -o out/test/elf/x86_64/x86_64_tls-large-tbss/exe out/test/elf/x86_64/x86_64_tls-large-tbss/a.o out/test/elf/x86_64/x86_64_tls-large-tbss/b.o >+ out/test/elf/x86_64/x86_64_tls-large-tbss/exe >+ grep -q '^3 0 5 0 0 0$' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.19 sec >---------------------------------------------------------- >Test Passed. >"x86_64-x86_64_tls-large-tbss" end time: Feb 09 00:19 CET >"x86_64-x86_64_tls-large-tbss" time elapsed: 00:00:00 >---------------------------------------------------------- > >31/293 Testing: x86_64-x86_64_tls-ld-mcmodel-large >31/293 Test: x86_64-x86_64_tls-ld-mcmodel-large >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_tls-ld-mcmodel-large.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-x86_64_tls-ld-mcmodel-large" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_tls-ld-mcmodel-large.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_tls-ld-mcmodel-large.sh .sh >++ testname=x86_64_tls-ld-mcmodel-large >++ echo -n 'Testing x86_64_tls-ld-mcmodel-large ... ' >Testing x86_64_tls-ld-mcmodel-large ... ++ t=out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large >++ mkdir -p out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large >+ '[' x86_64 = x86_64 ']' >+ cat >+ gcc -ftls-model=local-dynamic -fPIC -c -o out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/a.o -xc - -mcmodel=large >+ cat >+ gcc -ftls-model=local-dynamic -fPIC -c -o out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/b.o -xc - -mcmodel=large >+ cc -B. -o out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/exe out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/a.o out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/b.o -mcmodel=large >+ out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/exe >+ grep -q '3 5 3 5' >+ cc -B. -o out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/exe out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/a.o out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/b.o -Wl,-no-relax -mcmodel=large >+ out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/exe >+ grep -q '3 5 3 5' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.28 sec >---------------------------------------------------------- >Test Passed. >"x86_64-x86_64_tls-ld-mcmodel-large" end time: Feb 09 00:19 CET >"x86_64-x86_64_tls-ld-mcmodel-large" time elapsed: 00:00:00 >---------------------------------------------------------- > >32/293 Testing: x86_64-x86_64_tls-module-base >32/293 Test: x86_64-x86_64_tls-module-base >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_tls-module-base.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-x86_64_tls-module-base" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_tls-module-base.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_tls-module-base.sh .sh >++ testname=x86_64_tls-module-base >++ echo -n 'Testing x86_64_tls-module-base ... ' >Testing x86_64_tls-module-base ... ++ t=out/test/elf/x86_64/x86_64_tls-module-base >++ mkdir -p out/test/elf/x86_64/x86_64_tls-module-base >+ '[' x86_64 = x86_64 ']' >+ cat >+ cc -fPIC -o out/test/elf/x86_64/x86_64_tls-module-base/a.o -c -xassembler - >+ cat >+ cc -o out/test/elf/x86_64/x86_64_tls-module-base/b.o -c -xc - >+ cat >+ cc -o out/test/elf/x86_64/x86_64_tls-module-base/c.o -c -xc - >+ cc -B. -o out/test/elf/x86_64/x86_64_tls-module-base/exe1 out/test/elf/x86_64/x86_64_tls-module-base/a.o out/test/elf/x86_64/x86_64_tls-module-base/b.o out/test/elf/x86_64/x86_64_tls-module-base/c.o >+ out/test/elf/x86_64/x86_64_tls-module-base/exe1 >+ grep -q '^20 3$' >+ cc -B. -o out/test/elf/x86_64/x86_64_tls-module-base/exe2 out/test/elf/x86_64/x86_64_tls-module-base/a.o out/test/elf/x86_64/x86_64_tls-module-base/b.o out/test/elf/x86_64/x86_64_tls-module-base/c.o -Wl,-no-relax >+ out/test/elf/x86_64/x86_64_tls-module-base/exe2 >+ grep -q '^20 3$' >+ cc -B. -o out/test/elf/x86_64/x86_64_tls-module-base/d.so out/test/elf/x86_64/x86_64_tls-module-base/a.o -shared >+ cc -B. -o out/test/elf/x86_64/x86_64_tls-module-base/exe3 out/test/elf/x86_64/x86_64_tls-module-base/b.o out/test/elf/x86_64/x86_64_tls-module-base/c.o out/test/elf/x86_64/x86_64_tls-module-base/d.so >+ out/test/elf/x86_64/x86_64_tls-module-base/exe3 >+ grep -q '^20 3$' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.44 sec >---------------------------------------------------------- >Test Passed. >"x86_64-x86_64_tls-module-base" end time: Feb 09 00:19 CET >"x86_64-x86_64_tls-module-base" time elapsed: 00:00:00 >---------------------------------------------------------- > >33/293 Testing: x86_64-x86_64_unique >33/293 Test: x86_64-x86_64_unique >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_unique.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-x86_64_unique" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_unique.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_unique.sh .sh >++ testname=x86_64_unique >++ echo -n 'Testing x86_64_unique ... ' >Testing x86_64_unique ... ++ t=out/test/elf/x86_64/x86_64_unique >++ mkdir -p out/test/elf/x86_64/x86_64_unique >+ '[' x86_64 = x86_64 ']' >+ cat >+ cc -c -o out/test/elf/x86_64/x86_64_unique/a.o -x assembler - >+ cc -B. -o out/test/elf/x86_64/x86_64_unique/exe out/test/elf/x86_64/x86_64_unique/a.o -nostdlib '-Wl,-unique=*foo*' >+ readelf -x .data.foo.1 out/test/elf/x86_64/x86_64_unique/exe >+ grep -q ab >+ readelf -x .data.foo.2 out/test/elf/x86_64/x86_64_unique/exe >+ grep -q c >+ readelf -x .data out/test/elf/x86_64/x86_64_unique/exe >+ grep -q de >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.14 sec >---------------------------------------------------------- >Test Passed. >"x86_64-x86_64_unique" end time: Feb 09 00:19 CET >"x86_64-x86_64_unique" time elapsed: 00:00:00 >---------------------------------------------------------- > >34/293 Testing: x86_64-x86_64_warn-execstack >34/293 Test: x86_64-x86_64_warn-execstack >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_warn-execstack.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-x86_64_warn-execstack" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_warn-execstack.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_warn-execstack.sh .sh >++ testname=x86_64_warn-execstack >++ echo -n 'Testing x86_64_warn-execstack ... ' >Testing x86_64_warn-execstack ... ++ t=out/test/elf/x86_64/x86_64_warn-execstack >++ mkdir -p out/test/elf/x86_64/x86_64_warn-execstack >+ '[' x86_64 = x86_64 ']' >+ cat >+ cc -o out/test/elf/x86_64/x86_64_warn-execstack/a.o -c -xassembler - >+ cat >+ cc -o out/test/elf/x86_64/x86_64_warn-execstack/b.o -c -xc - >+ gcc -B. -o out/test/elf/x86_64/x86_64_warn-execstack/exe out/test/elf/x86_64/x86_64_warn-execstack/a.o out/test/elf/x86_64/x86_64_warn-execstack/b.o >+ grep -q 'may cause a segmentation fault' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.18 sec >---------------------------------------------------------- >Test Passed. >"x86_64-x86_64_warn-execstack" end time: Feb 09 00:19 CET >"x86_64-x86_64_warn-execstack" time elapsed: 00:00:00 >---------------------------------------------------------- > >35/293 Testing: x86_64-x86_64_warn-shared-textrel >35/293 Test: x86_64-x86_64_warn-shared-textrel >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_warn-shared-textrel.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-x86_64_warn-shared-textrel" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_warn-shared-textrel.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_warn-shared-textrel.sh .sh >++ testname=x86_64_warn-shared-textrel >++ echo -n 'Testing x86_64_warn-shared-textrel ... ' >Testing x86_64_warn-shared-textrel ... ++ t=out/test/elf/x86_64/x86_64_warn-shared-textrel >++ mkdir -p out/test/elf/x86_64/x86_64_warn-shared-textrel >+ ldd --help >+ grep -q musl >+ skip >+ echo skipped >skipped >+ trap - EXIT >+ exit 0 ><end of output> >Test time = 0.05 sec >---------------------------------------------------------- >Test Pass Reason: >Skip regular expression found in output. Regex=[skipped] >"x86_64-x86_64_warn-shared-textrel" end time: Feb 09 00:19 CET >"x86_64-x86_64_warn-shared-textrel" time elapsed: 00:00:00 >---------------------------------------------------------- > >36/293 Testing: x86_64-x86_64_warn-textrel >36/293 Test: x86_64-x86_64_warn-textrel >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_warn-textrel.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-x86_64_warn-textrel" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_warn-textrel.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_warn-textrel.sh .sh >++ testname=x86_64_warn-textrel >++ echo -n 'Testing x86_64_warn-textrel ... ' >Testing x86_64_warn-textrel ... ++ t=out/test/elf/x86_64/x86_64_warn-textrel >++ mkdir -p out/test/elf/x86_64/x86_64_warn-textrel >+ ldd --help >+ grep -q musl >+ skip >+ echo skipped >skipped >+ trap - EXIT >+ exit 0 ><end of output> >Test time = 0.05 sec >---------------------------------------------------------- >Test Pass Reason: >Skip regular expression found in output. Regex=[skipped] >"x86_64-x86_64_warn-textrel" end time: Feb 09 00:19 CET >"x86_64-x86_64_warn-textrel" time elapsed: 00:00:00 >---------------------------------------------------------- > >37/293 Testing: x86_64-x86_64_z-ibt >37/293 Test: x86_64-x86_64_z-ibt >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_z-ibt.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-x86_64_z-ibt" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_z-ibt.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_z-ibt.sh .sh >++ testname=x86_64_z-ibt >++ echo -n 'Testing x86_64_z-ibt ... ' >Testing x86_64_z-ibt ... ++ t=out/test/elf/x86_64/x86_64_z-ibt >++ mkdir -p out/test/elf/x86_64/x86_64_z-ibt >+ '[' x86_64 = x86_64 ']' >+ cat >+ cc -o out/test/elf/x86_64/x86_64_z-ibt/a.o -c -x assembler - >+ cc -B. -o out/test/elf/x86_64/x86_64_z-ibt/exe out/test/elf/x86_64/x86_64_z-ibt/a.o >+ readelf --notes out/test/elf/x86_64/x86_64_z-ibt/exe >+ grep -qw SHSTK out/test/elf/x86_64/x86_64_z-ibt/log >+ cc -B. -o out/test/elf/x86_64/x86_64_z-ibt/exe out/test/elf/x86_64/x86_64_z-ibt/a.o -Wl,-z,ibt >+ readelf --notes out/test/elf/x86_64/x86_64_z-ibt/exe >+ grep -qw IBT >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.21 sec >---------------------------------------------------------- >Test Passed. >"x86_64-x86_64_z-ibt" end time: Feb 09 00:19 CET >"x86_64-x86_64_z-ibt" time elapsed: 00:00:00 >---------------------------------------------------------- > >38/293 Testing: x86_64-x86_64_z-ibtplt >38/293 Test: x86_64-x86_64_z-ibtplt >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_z-ibtplt.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-x86_64_z-ibtplt" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_z-ibtplt.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_z-ibtplt.sh .sh >++ testname=x86_64_z-ibtplt >++ echo -n 'Testing x86_64_z-ibtplt ... ' >Testing x86_64_z-ibtplt ... ++ t=out/test/elf/x86_64/x86_64_z-ibtplt >++ mkdir -p out/test/elf/x86_64/x86_64_z-ibtplt >+ '[' x86_64 = x86_64 ']' >+ cat >+ cc -fPIC -o out/test/elf/x86_64/x86_64_z-ibtplt/a.o -c -xc - >+ cc -B. -o out/test/elf/x86_64/x86_64_z-ibtplt/b.so -shared out/test/elf/x86_64/x86_64_z-ibtplt/a.o -Wl,-z,ibtplt >+ cat >+ cc -o out/test/elf/x86_64/x86_64_z-ibtplt/c.o -c -xc - >+ cc -B. -o out/test/elf/x86_64/x86_64_z-ibtplt/exe out/test/elf/x86_64/x86_64_z-ibtplt/c.o out/test/elf/x86_64/x86_64_z-ibtplt/b.so -Wl,-z,ibtplt >+ out/test/elf/x86_64/x86_64_z-ibtplt/exe >+ grep -q 'Hello world' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.29 sec >---------------------------------------------------------- >Test Passed. >"x86_64-x86_64_z-ibtplt" end time: Feb 09 00:19 CET >"x86_64-x86_64_z-ibtplt" time elapsed: 00:00:00 >---------------------------------------------------------- > >39/293 Testing: x86_64-x86_64_z-shstk >39/293 Test: x86_64-x86_64_z-shstk >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_z-shstk.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-x86_64_z-shstk" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_z-shstk.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_z-shstk.sh .sh >++ testname=x86_64_z-shstk >++ echo -n 'Testing x86_64_z-shstk ... ' >Testing x86_64_z-shstk ... ++ t=out/test/elf/x86_64/x86_64_z-shstk >++ mkdir -p out/test/elf/x86_64/x86_64_z-shstk >+ '[' x86_64 = x86_64 ']' >+ cat >+ cc -o out/test/elf/x86_64/x86_64_z-shstk/a.o -c -x assembler - >+ cc -B. -o out/test/elf/x86_64/x86_64_z-shstk/exe out/test/elf/x86_64/x86_64_z-shstk/a.o >+ readelf --notes out/test/elf/x86_64/x86_64_z-shstk/exe >+ grep -qw SHSTK out/test/elf/x86_64/x86_64_z-shstk/log >+ cc -B. -o out/test/elf/x86_64/x86_64_z-shstk/exe out/test/elf/x86_64/x86_64_z-shstk/a.o -Wl,-z,shstk >+ readelf --notes out/test/elf/x86_64/x86_64_z-shstk/exe >+ grep -qw SHSTK >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.21 sec >---------------------------------------------------------- >Test Passed. >"x86_64-x86_64_z-shstk" end time: Feb 09 00:19 CET >"x86_64-x86_64_z-shstk" time elapsed: 00:00:00 >---------------------------------------------------------- > >40/293 Testing: x86_64-x86_64_z-text >40/293 Test: x86_64-x86_64_z-text >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_z-text.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-x86_64_z-text" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_z-text.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/x86_64_z-text.sh .sh >++ testname=x86_64_z-text >++ echo -n 'Testing x86_64_z-text ... ' >Testing x86_64_z-text ... ++ t=out/test/elf/x86_64/x86_64_z-text >++ mkdir -p out/test/elf/x86_64/x86_64_z-text >+ ldd --help >+ grep -q musl >+ skip >+ echo skipped >skipped >+ trap - EXIT >+ exit 0 ><end of output> >Test time = 0.05 sec >---------------------------------------------------------- >Test Pass Reason: >Skip regular expression found in output. Regex=[skipped] >"x86_64-x86_64_z-text" end time: Feb 09 00:19 CET >"x86_64-x86_64_z-text" time elapsed: 00:00:00 >---------------------------------------------------------- > >41/293 Testing: x86_64-abs-error >41/293 Test: x86_64-abs-error >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/abs-error.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-abs-error" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/abs-error.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/abs-error.sh .sh >++ testname=abs-error >++ echo -n 'Testing abs-error ... ' >Testing abs-error ... ++ t=out/test/elf/x86_64/abs-error >++ mkdir -p out/test/elf/x86_64/abs-error >+ '[' x86_64 = aarch64 ']' >+ '[' x86_64 = ppc64 ']' >+ '[' x86_64 = ppc64le ']' >+ '[' x86_64 = s390x ']' >+ '[' x86_64 = alpha ']' >+ cat >+ cc -fPIC -c -o out/test/elf/x86_64/abs-error/a.o -xassembler - >+ cat >+ cc -fno-PIC -c -o out/test/elf/x86_64/abs-error/b.o -xc - >+ cc -B. -o out/test/elf/x86_64/abs-error/exe -pie out/test/elf/x86_64/abs-error/a.o out/test/elf/x86_64/abs-error/b.o -Wl,-z,text >+ grep -q 'recompile with -fPIC' out/test/elf/x86_64/abs-error/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.19 sec >---------------------------------------------------------- >Test Passed. >"x86_64-abs-error" end time: Feb 09 00:19 CET >"x86_64-abs-error" time elapsed: 00:00:00 >---------------------------------------------------------- > >42/293 Testing: x86_64-absolute-symbols >42/293 Test: x86_64-absolute-symbols >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/absolute-symbols.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-absolute-symbols" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/absolute-symbols.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/absolute-symbols.sh .sh >++ testname=absolute-symbols >++ echo -n 'Testing absolute-symbols ... ' >Testing absolute-symbols ... ++ t=out/test/elf/x86_64/absolute-symbols >++ mkdir -p out/test/elf/x86_64/absolute-symbols >+ '[' x86_64 = sparc64 ']' >+ cat >+ cc -o out/test/elf/x86_64/absolute-symbols/a.o -c -x assembler - >+ cat >+ cc -o out/test/elf/x86_64/absolute-symbols/b.o -c -fno-PIC -xc - >+ cc -B. -o out/test/elf/x86_64/absolute-symbols/exe -no-pie out/test/elf/x86_64/absolute-symbols/a.o out/test/elf/x86_64/absolute-symbols/b.o >+ out/test/elf/x86_64/absolute-symbols/exe >+ grep -q '^ip=0x80000.$' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.18 sec >---------------------------------------------------------- >Test Passed. >"x86_64-absolute-symbols" end time: Feb 09 00:19 CET >"x86_64-absolute-symbols" time elapsed: 00:00:00 >---------------------------------------------------------- > >43/293 Testing: x86_64-allow-multiple-definition >43/293 Test: x86_64-allow-multiple-definition >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/allow-multiple-definition.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-allow-multiple-definition" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/allow-multiple-definition.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/allow-multiple-definition.sh .sh >++ testname=allow-multiple-definition >++ echo -n 'Testing allow-multiple-definition ... ' >Testing allow-multiple-definition ... ++ t=out/test/elf/x86_64/allow-multiple-definition >++ mkdir -p out/test/elf/x86_64/allow-multiple-definition >+ echo 'int main() { return 0; }' >+ cc -c -o out/test/elf/x86_64/allow-multiple-definition/a.o -xc - >+ echo 'int main() { return 1; }' >+ cc -c -o out/test/elf/x86_64/allow-multiple-definition/b.o -xc - >+ cc -B. -o out/test/elf/x86_64/allow-multiple-definition/exe out/test/elf/x86_64/allow-multiple-definition/a.o out/test/elf/x86_64/allow-multiple-definition/b.o >+ cc -B. -o out/test/elf/x86_64/allow-multiple-definition/exe out/test/elf/x86_64/allow-multiple-definition/a.o out/test/elf/x86_64/allow-multiple-definition/b.o -Wl,-allow-multiple-definition >+ cc -B. -o out/test/elf/x86_64/allow-multiple-definition/exe out/test/elf/x86_64/allow-multiple-definition/a.o out/test/elf/x86_64/allow-multiple-definition/b.o -Wl,-z,muldefs >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.33 sec >---------------------------------------------------------- >Test Passed. >"x86_64-allow-multiple-definition" end time: Feb 09 00:19 CET >"x86_64-allow-multiple-definition" time elapsed: 00:00:00 >---------------------------------------------------------- > >44/293 Testing: x86_64-ar-alignment >44/293 Test: x86_64-ar-alignment >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/ar-alignment.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-ar-alignment" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/ar-alignment.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/ar-alignment.sh .sh >++ testname=ar-alignment >++ echo -n 'Testing ar-alignment ... ' >Testing ar-alignment ... ++ t=out/test/elf/x86_64/ar-alignment >++ mkdir -p out/test/elf/x86_64/ar-alignment >+ cat >+ cc -o out/test/elf/x86_64/ar-alignment/a.o -c -xc - >+ head -c 1 /dev/zero >+ cat >+ cc -o out/test/elf/x86_64/ar-alignment/b.o -c -xc - >+ cat >+ cc -o out/test/elf/x86_64/ar-alignment/c.o -c -xc - >+ rm -f out/test/elf/x86_64/ar-alignment/d.a >+ ar rcs out/test/elf/x86_64/ar-alignment/d.a out/test/elf/x86_64/ar-alignment/a.o out/test/elf/x86_64/ar-alignment/b.o >+ cc -B. -o out/test/elf/x86_64/ar-alignment/exe out/test/elf/x86_64/ar-alignment/c.o out/test/elf/x86_64/ar-alignment/d.a >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.31 sec >---------------------------------------------------------- >Test Passed. >"x86_64-ar-alignment" end time: Feb 09 00:19 CET >"x86_64-ar-alignment" time elapsed: 00:00:00 >---------------------------------------------------------- > >45/293 Testing: x86_64-as-needed-weak >45/293 Test: x86_64-as-needed-weak >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/as-needed-weak.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-as-needed-weak" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/as-needed-weak.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/as-needed-weak.sh .sh >++ testname=as-needed-weak >++ echo -n 'Testing as-needed-weak ... ' >Testing as-needed-weak ... ++ t=out/test/elf/x86_64/as-needed-weak >++ mkdir -p out/test/elf/x86_64/as-needed-weak >+ cat >+ cc -fPIC -o out/test/elf/x86_64/as-needed-weak/a.o -c -xc - >+ cat >+ cc -o out/test/elf/x86_64/as-needed-weak/b.so -shared -fPIC -Wl,-soname,libfoo.so -xc - >+ cat >+ cc -o out/test/elf/x86_64/as-needed-weak/c.so -shared -fPIC -Wl,-soname,libbar.so -xc - >+ cc -B. -o out/test/elf/x86_64/as-needed-weak/exe out/test/elf/x86_64/as-needed-weak/a.o -Wl,-no-as-needed out/test/elf/x86_64/as-needed-weak/b.so out/test/elf/x86_64/as-needed-weak/c.so >+ readelf --dynamic out/test/elf/x86_64/as-needed-weak/exe >+ grep -Fq 'Shared library: [libfoo.so]' out/test/elf/x86_64/as-needed-weak/readelf >+ grep -Fq 'Shared library: [libbar.so]' out/test/elf/x86_64/as-needed-weak/readelf >+ cc -B. -o out/test/elf/x86_64/as-needed-weak/exe out/test/elf/x86_64/as-needed-weak/a.o -Wl,-as-needed out/test/elf/x86_64/as-needed-weak/b.so out/test/elf/x86_64/as-needed-weak/c.so >+ readelf --dynamic out/test/elf/x86_64/as-needed-weak/exe >+ grep -Fq 'Shared library: [libfoo.so]' out/test/elf/x86_64/as-needed-weak/readelf >+ grep -Fq 'Shared library: [libbar.so]' out/test/elf/x86_64/as-needed-weak/readelf >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.43 sec >---------------------------------------------------------- >Test Passed. >"x86_64-as-needed-weak" end time: Feb 09 00:19 CET >"x86_64-as-needed-weak" time elapsed: 00:00:00 >---------------------------------------------------------- > >46/293 Testing: x86_64-as-needed >46/293 Test: x86_64-as-needed >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/as-needed.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-as-needed" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/as-needed.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/as-needed.sh .sh >++ testname=as-needed >++ echo -n 'Testing as-needed ... ' >Testing as-needed ... ++ t=out/test/elf/x86_64/as-needed >++ mkdir -p out/test/elf/x86_64/as-needed >+ cat >+ cc -o out/test/elf/x86_64/as-needed/a.o -c -xc - >+ cat >+ cc -o out/test/elf/x86_64/as-needed/b.so -shared -fPIC -Wl,-soname,libfoo.so -xc - >+ cat >+ cc -o out/test/elf/x86_64/as-needed/c.so -shared -fPIC -Wl,-soname,libbar.so -xc - >+ cc -B. -o out/test/elf/x86_64/as-needed/exe out/test/elf/x86_64/as-needed/a.o -Wl,--no-as-needed out/test/elf/x86_64/as-needed/b.so out/test/elf/x86_64/as-needed/c.so >+ readelf --dynamic out/test/elf/x86_64/as-needed/exe >+ grep -Fq 'Shared library: [libfoo.so]' out/test/elf/x86_64/as-needed/readelf >+ grep -Fq 'Shared library: [libbar.so]' out/test/elf/x86_64/as-needed/readelf >+ cc -B. -o out/test/elf/x86_64/as-needed/exe out/test/elf/x86_64/as-needed/a.o -Wl,--as-needed out/test/elf/x86_64/as-needed/b.so out/test/elf/x86_64/as-needed/c.so >+ readelf --dynamic out/test/elf/x86_64/as-needed/exe >+ grep -Fq 'Shared library: [libfoo.so]' out/test/elf/x86_64/as-needed/readelf >+ grep -Fq 'Shared library: [libbar.so]' out/test/elf/x86_64/as-needed/readelf >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.43 sec >---------------------------------------------------------- >Test Passed. >"x86_64-as-needed" end time: Feb 09 00:19 CET >"x86_64-as-needed" time elapsed: 00:00:00 >---------------------------------------------------------- > >47/293 Testing: x86_64-as-needed2 >47/293 Test: x86_64-as-needed2 >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/as-needed2.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-as-needed2" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/as-needed2.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/as-needed2.sh .sh >++ testname=as-needed2 >++ echo -n 'Testing as-needed2 ... ' >Testing as-needed2 ... ++ t=out/test/elf/x86_64/as-needed2 >++ mkdir -p out/test/elf/x86_64/as-needed2 >+ cat >+ cc -shared -fPIC -o out/test/elf/x86_64/as-needed2/a.so -xc - >+ cat >+ cc -shared -fPIC -o out/test/elf/x86_64/as-needed2/b.so -xc - >+ cat >+ cc -fPIC -c -o out/test/elf/x86_64/as-needed2/c.o -xc - >+ cc -shared -o out/test/elf/x86_64/as-needed2/c.so out/test/elf/x86_64/as-needed2/c.o out/test/elf/x86_64/as-needed2/a.so >+ cat >+ cc -c -o out/test/elf/x86_64/as-needed2/d.o -xc - >+ cc -B. -o out/test/elf/x86_64/as-needed2/exe out/test/elf/x86_64/as-needed2/d.o -Wl,--as-needed out/test/elf/x86_64/as-needed2/c.so out/test/elf/x86_64/as-needed2/b.so out/test/elf/x86_64/as-needed2/a.so >+ out/test/elf/x86_64/as-needed2/exe >+ grep -q '^3$' >+ readelf --dynamic out/test/elf/x86_64/as-needed2/exe >+ grep -q /a.so out/test/elf/x86_64/as-needed2/log >+ grep -q /c.so out/test/elf/x86_64/as-needed2/log >+ grep -q /b.so out/test/elf/x86_64/as-needed2/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.48 sec >---------------------------------------------------------- >Test Passed. >"x86_64-as-needed2" end time: Feb 09 00:19 CET >"x86_64-as-needed2" time elapsed: 00:00:00 >---------------------------------------------------------- > >48/293 Testing: x86_64-auxiliary >48/293 Test: x86_64-auxiliary >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/auxiliary.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-auxiliary" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/auxiliary.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/auxiliary.sh .sh >++ testname=auxiliary >++ echo -n 'Testing auxiliary ... ' >Testing auxiliary ... ++ t=out/test/elf/x86_64/auxiliary >++ mkdir -p out/test/elf/x86_64/auxiliary >+ cat >+ cc -o out/test/elf/x86_64/auxiliary/a.o -c -x assembler - >+ ./mold -o out/test/elf/x86_64/auxiliary/b.so out/test/elf/x86_64/auxiliary/a.o -auxiliary foo -f bar -shared >+ readelf --dynamic out/test/elf/x86_64/auxiliary/b.so >+ grep -Fq 'Auxiliary library: [foo]' out/test/elf/x86_64/auxiliary/log >+ grep -Fq 'Auxiliary library: [bar]' out/test/elf/x86_64/auxiliary/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.11 sec >---------------------------------------------------------- >Test Passed. >"x86_64-auxiliary" end time: Feb 09 00:19 CET >"x86_64-auxiliary" time elapsed: 00:00:00 >---------------------------------------------------------- > >49/293 Testing: x86_64-bno-symbolic >49/293 Test: x86_64-bno-symbolic >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/bno-symbolic.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-bno-symbolic" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/bno-symbolic.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/bno-symbolic.sh .sh >++ testname=bno-symbolic >++ echo -n 'Testing bno-symbolic ... ' >Testing bno-symbolic ... ++ t=out/test/elf/x86_64/bno-symbolic >++ mkdir -p out/test/elf/x86_64/bno-symbolic >+ '[' x86_64 = s390x ']' >+ cat >+ cc -c -fPIC -oout/test/elf/x86_64/bno-symbolic/a.o -xc - >+ cc -B. -shared -fPIC -o out/test/elf/x86_64/bno-symbolic/b.so out/test/elf/x86_64/bno-symbolic/a.o -Wl,-Bsymbolic -Wl,-Bno-symbolic >+ cat >+ cc -c -o out/test/elf/x86_64/bno-symbolic/c.o -xc - -fno-PIE >+ cc -B. -no-pie -o out/test/elf/x86_64/bno-symbolic/exe out/test/elf/x86_64/bno-symbolic/c.o out/test/elf/x86_64/bno-symbolic/b.so >+ out/test/elf/x86_64/bno-symbolic/exe >+ grep -q '3 3 1' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.29 sec >---------------------------------------------------------- >Test Passed. >"x86_64-bno-symbolic" end time: Feb 09 00:19 CET >"x86_64-bno-symbolic" time elapsed: 00:00:00 >---------------------------------------------------------- > >50/293 Testing: x86_64-bsymbolic-functions >50/293 Test: x86_64-bsymbolic-functions >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/bsymbolic-functions.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-bsymbolic-functions" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/bsymbolic-functions.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/bsymbolic-functions.sh .sh >++ testname=bsymbolic-functions >++ echo -n 'Testing bsymbolic-functions ... ' >Testing bsymbolic-functions ... ++ t=out/test/elf/x86_64/bsymbolic-functions >++ mkdir -p out/test/elf/x86_64/bsymbolic-functions >+ cat >+ cc -c -o out/test/elf/x86_64/bsymbolic-functions/a.o -fPIC -xc - >+ cc -B. -shared -o out/test/elf/x86_64/bsymbolic-functions/b.so out/test/elf/x86_64/bsymbolic-functions/a.o -Wl,-Bsymbolic-functions >+ cat >+ cc -c -o out/test/elf/x86_64/bsymbolic-functions/c.o -xc - -fno-PIE >+ cc -B. -no-pie -o out/test/elf/x86_64/bsymbolic-functions/exe out/test/elf/x86_64/bsymbolic-functions/c.o out/test/elf/x86_64/bsymbolic-functions/b.so >+ out/test/elf/x86_64/bsymbolic-functions/exe >+ grep -q '3 3 0' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.28 sec >---------------------------------------------------------- >Test Passed. >"x86_64-bsymbolic-functions" end time: Feb 09 00:19 CET >"x86_64-bsymbolic-functions" time elapsed: 00:00:00 >---------------------------------------------------------- > >51/293 Testing: x86_64-bsymbolic >51/293 Test: x86_64-bsymbolic >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/bsymbolic.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-bsymbolic" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/bsymbolic.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/bsymbolic.sh .sh >++ testname=bsymbolic >++ echo -n 'Testing bsymbolic ... ' >Testing bsymbolic ... ++ t=out/test/elf/x86_64/bsymbolic >++ mkdir -p out/test/elf/x86_64/bsymbolic >+ cat >+ cc -c -fPIC -oout/test/elf/x86_64/bsymbolic/a.o -xc - >+ cc -B. -shared -fPIC -o out/test/elf/x86_64/bsymbolic/b.so out/test/elf/x86_64/bsymbolic/a.o -Wl,-Bsymbolic >+ cat >+ cc -c -o out/test/elf/x86_64/bsymbolic/c.o -xc - -fno-PIE >+ cc -B. -no-pie -o out/test/elf/x86_64/bsymbolic/exe out/test/elf/x86_64/bsymbolic/c.o out/test/elf/x86_64/bsymbolic/b.so >+ out/test/elf/x86_64/bsymbolic/exe >+ grep -q '3 4' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.28 sec >---------------------------------------------------------- >Test Passed. >"x86_64-bsymbolic" end time: Feb 09 00:19 CET >"x86_64-bsymbolic" time elapsed: 00:00:00 >---------------------------------------------------------- > >52/293 Testing: x86_64-bug178 >52/293 Test: x86_64-bug178 >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/bug178.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-bug178" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/bug178.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/bug178.sh .sh >++ testname=bug178 >++ echo -n 'Testing bug178 ... ' >Testing bug178 ... ++ t=out/test/elf/x86_64/bug178 >++ mkdir -p out/test/elf/x86_64/bug178 >+ cat >+ cc -x assembler -c -o out/test/elf/x86_64/bug178/a.o - >+ rm -f out/test/elf/x86_64/bug178/a.a >+ ar rcs out/test/elf/x86_64/bug178/a.a out/test/elf/x86_64/bug178/a.o >+ ./mold -o out/test/elf/x86_64/bug178/exe out/test/elf/x86_64/bug178/a.a >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.12 sec >---------------------------------------------------------- >Test Passed. >"x86_64-bug178" end time: Feb 09 00:19 CET >"x86_64-bug178" time elapsed: 00:00:00 >---------------------------------------------------------- > >53/293 Testing: x86_64-build-id >53/293 Test: x86_64-build-id >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/build-id.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-build-id" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/build-id.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/build-id.sh .sh >++ testname=build-id >++ echo -n 'Testing build-id ... ' >Testing build-id ... ++ t=out/test/elf/x86_64/build-id >++ mkdir -p out/test/elf/x86_64/build-id >+ echo 'int main() { return 0; }' >+ cc -B. -o out/test/elf/x86_64/build-id/exe out/test/elf/x86_64/build-id/a.c -Wl,-build-id >+ readelf -n out/test/elf/x86_64/build-id/exe >+ grep -qv 'GNU.*0x00000010.*NT_GNU_BUILD_ID' >+ cc -B. -o out/test/elf/x86_64/build-id/exe out/test/elf/x86_64/build-id/a.c -Wl,-build-id=uuid >+ readelf -nW out/test/elf/x86_64/build-id/exe >+ grep -Eq 'GNU.*0x00000010.*NT_GNU_BUILD_ID.*Build ID: ............4...[89abcdef]' >+ cc -B. -o out/test/elf/x86_64/build-id/exe out/test/elf/x86_64/build-id/a.c -Wl,-build-id=md5 >+ readelf -n out/test/elf/x86_64/build-id/exe >+ grep -q 'GNU.*0x00000010.*NT_GNU_BUILD_ID' >+ cc -B. -o out/test/elf/x86_64/build-id/exe out/test/elf/x86_64/build-id/a.c -Wl,-build-id=sha1 >+ readelf -n out/test/elf/x86_64/build-id/exe >+ grep -q 'GNU.*0x00000014.*NT_GNU_BUILD_ID' >+ cc -B. -o out/test/elf/x86_64/build-id/exe out/test/elf/x86_64/build-id/a.c -Wl,-build-id=sha256 >+ readelf -n out/test/elf/x86_64/build-id/exe >+ grep -q 'GNU.*0x00000020.*NT_GNU_BUILD_ID' >+ cc -B. -o out/test/elf/x86_64/build-id/exe out/test/elf/x86_64/build-id/a.c -Wl,-build-id=0xdeadbeefdeadbeef >+ readelf -n out/test/elf/x86_64/build-id/exe >+ grep -q 'Build ID: deadbeefdeadbeef' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.73 sec >---------------------------------------------------------- >Test Passed. >"x86_64-build-id" end time: Feb 09 00:19 CET >"x86_64-build-id" time elapsed: 00:00:00 >---------------------------------------------------------- > >54/293 Testing: x86_64-canonical-plt >54/293 Test: x86_64-canonical-plt >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/canonical-plt.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-canonical-plt" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/canonical-plt.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/canonical-plt.sh .sh >++ testname=canonical-plt >++ echo -n 'Testing canonical-plt ... ' >Testing canonical-plt ... ++ t=out/test/elf/x86_64/canonical-plt >++ mkdir -p out/test/elf/x86_64/canonical-plt >+ '[' x86_64 = s390x ']' >+ cat >+ cc -o out/test/elf/x86_64/canonical-plt/a.so -fPIC -shared -xc - >+ cat >+ cc -o out/test/elf/x86_64/canonical-plt/b.o -c -xc - -fPIC >+ cat >+ cc -o out/test/elf/x86_64/canonical-plt/c.o -c -xc - -fno-PIC >+ cc -B. -no-pie -o out/test/elf/x86_64/canonical-plt/exe out/test/elf/x86_64/canonical-plt/a.so out/test/elf/x86_64/canonical-plt/b.o out/test/elf/x86_64/canonical-plt/c.o >+ out/test/elf/x86_64/canonical-plt/exe >+ grep -q '^1 1 1$' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.31 sec >---------------------------------------------------------- >Test Passed. >"x86_64-canonical-plt" end time: Feb 09 00:19 CET >"x86_64-canonical-plt" time elapsed: 00:00:00 >---------------------------------------------------------- > >55/293 Testing: x86_64-cmdline >55/293 Test: x86_64-cmdline >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/cmdline.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-cmdline" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/cmdline.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/cmdline.sh .sh >++ testname=cmdline >++ echo -n 'Testing cmdline ... ' >Testing cmdline ... ++ t=out/test/elf/x86_64/cmdline >++ mkdir -p out/test/elf/x86_64/cmdline >+ grep -q 'unknown command line option: -zfoo' >+ grep -q 'unknown command line option: -z foo' >+ grep -q 'unknown command line option: -abcdefg' >+ grep -q 'unknown command line option: --abcdefg' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.10 sec >---------------------------------------------------------- >Test Passed. >"x86_64-cmdline" end time: Feb 09 00:19 CET >"x86_64-cmdline" time elapsed: 00:00:00 >---------------------------------------------------------- > >56/293 Testing: x86_64-color-diagnostics >56/293 Test: x86_64-color-diagnostics >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/color-diagnostics.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-color-diagnostics" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/color-diagnostics.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/color-diagnostics.sh .sh >++ testname=color-diagnostics >++ echo -n 'Testing color-diagnostics ... ' >Testing color-diagnostics ... ++ t=out/test/elf/x86_64/color-diagnostics >++ mkdir -p out/test/elf/x86_64/color-diagnostics >+ cat >+ cc -o out/test/elf/x86_64/color-diagnostics/a.o -c -xc - >+ ./mold -o out/test/elf/x86_64/color-diagnostics/exe out/test/elf/x86_64/color-diagnostics/a.o --color-diagnostics >+ grep -q $'\E' out/test/elf/x86_64/color-diagnostics/log >+ ./mold -o out/test/elf/x86_64/color-diagnostics/exe out/test/elf/x86_64/color-diagnostics/a.o --color-diagnostics=always >+ grep -q $'\E' out/test/elf/x86_64/color-diagnostics/log >+ ./mold -o out/test/elf/x86_64/color-diagnostics/exe out/test/elf/x86_64/color-diagnostics/a.o --color-diagnostics=never >+ grep -q $'\E' out/test/elf/x86_64/color-diagnostics/log >+ ./mold -o out/test/elf/x86_64/color-diagnostics/exe out/test/elf/x86_64/color-diagnostics/a.o --color-diagnostics=auto >+ grep -q $'\E' out/test/elf/x86_64/color-diagnostics/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.20 sec >---------------------------------------------------------- >Test Passed. >"x86_64-color-diagnostics" end time: Feb 09 00:19 CET >"x86_64-color-diagnostics" time elapsed: 00:00:00 >---------------------------------------------------------- > >57/293 Testing: x86_64-comment >57/293 Test: x86_64-comment >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/comment.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-comment" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/comment.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/comment.sh .sh >++ testname=comment >++ echo -n 'Testing comment ... ' >Testing comment ... ++ t=out/test/elf/x86_64/comment >++ mkdir -p out/test/elf/x86_64/comment >+ cat >+ cc -c -o out/test/elf/x86_64/comment/a.o -xc - >+ cc -B. -o out/test/elf/x86_64/comment/exe out/test/elf/x86_64/comment/a.o >+ readelf -p .comment out/test/elf/x86_64/comment/exe >+ grep -q '[ms]old' >+ readelf -SW out/test/elf/x86_64/comment/exe >+ grep -Eq '\.comment.*\bMS\b' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.18 sec >---------------------------------------------------------- >Test Passed. >"x86_64-comment" end time: Feb 09 00:19 CET >"x86_64-comment" time elapsed: 00:00:00 >---------------------------------------------------------- > >58/293 Testing: x86_64-common-archive >58/293 Test: x86_64-common-archive >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/common-archive.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-common-archive" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/common-archive.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/common-archive.sh .sh >++ testname=common-archive >++ echo -n 'Testing common-archive ... ' >Testing common-archive ... ++ t=out/test/elf/x86_64/common-archive >++ mkdir -p out/test/elf/x86_64/common-archive >+ cat >+ cc -fcommon -xc -c -o out/test/elf/x86_64/common-archive/a.o - >+ cat >+ cc -fcommon -xc -c -o out/test/elf/x86_64/common-archive/b.o - >+ cat >+ cc -fcommon -xc -c -o out/test/elf/x86_64/common-archive/c.o - >+ cat >+ cc -fcommon -xc -c -o out/test/elf/x86_64/common-archive/d.o - >+ rm -f out/test/elf/x86_64/common-archive/e.a >+ ar rcs out/test/elf/x86_64/common-archive/e.a out/test/elf/x86_64/common-archive/b.o out/test/elf/x86_64/common-archive/c.o out/test/elf/x86_64/common-archive/d.o >+ cc -B. -o out/test/elf/x86_64/common-archive/exe out/test/elf/x86_64/common-archive/a.o out/test/elf/x86_64/common-archive/e.a >+ out/test/elf/x86_64/common-archive/exe >+ grep -q '5 0 0 -1' >+ cat >+ cc -fcommon -xc -c -o out/test/elf/x86_64/common-archive/f.o - >+ rm -f out/test/elf/x86_64/common-archive/f.a >+ ar rcs out/test/elf/x86_64/common-archive/f.a out/test/elf/x86_64/common-archive/b.o out/test/elf/x86_64/common-archive/f.o >+ cc -B. -o out/test/elf/x86_64/common-archive/exe out/test/elf/x86_64/common-archive/a.o out/test/elf/x86_64/common-archive/f.a >+ out/test/elf/x86_64/common-archive/exe >+ grep -q '5 0 7 2' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.51 sec >---------------------------------------------------------- >Test Passed. >"x86_64-common-archive" end time: Feb 09 00:19 CET >"x86_64-common-archive" time elapsed: 00:00:00 >---------------------------------------------------------- > >59/293 Testing: x86_64-common-ref >59/293 Test: x86_64-common-ref >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/common-ref.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-common-ref" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/common-ref.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/common-ref.sh .sh >++ testname=common-ref >++ echo -n 'Testing common-ref ... ' >Testing common-ref ... ++ t=out/test/elf/x86_64/common-ref >++ mkdir -p out/test/elf/x86_64/common-ref >+ cat >+ cc -fcommon -xc -c -o out/test/elf/x86_64/common-ref/a.o - >+ cat >+ cc -fcommon -xc -c -o out/test/elf/x86_64/common-ref/b.o - >+ rm -f out/test/elf/x86_64/common-ref/c.a >+ ar rcs out/test/elf/x86_64/common-ref/c.a out/test/elf/x86_64/common-ref/b.o >+ cat >+ cc -fcommon -xc -c -o out/test/elf/x86_64/common-ref/d.o - >+ rm -f out/test/elf/x86_64/common-ref/e.a >+ ar rcs out/test/elf/x86_64/common-ref/e.a out/test/elf/x86_64/common-ref/d.o >+ cc -B. -o out/test/elf/x86_64/common-ref/exe out/test/elf/x86_64/common-ref/a.o out/test/elf/x86_64/common-ref/c.a out/test/elf/x86_64/common-ref/e.a >+ out/test/elf/x86_64/common-ref/exe >+ grep -q 5 >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.35 sec >---------------------------------------------------------- >Test Passed. >"x86_64-common-ref" end time: Feb 09 00:19 CET >"x86_64-common-ref" time elapsed: 00:00:00 >---------------------------------------------------------- > >60/293 Testing: x86_64-common >60/293 Test: x86_64-common >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/common.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-common" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/common.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/common.sh .sh >++ testname=common >++ echo -n 'Testing common ... ' >Testing common ... ++ t=out/test/elf/x86_64/common >++ mkdir -p out/test/elf/x86_64/common >+ cat >+ cc -fcommon -xc -c -o out/test/elf/x86_64/common/a.o - >+ cat >+ cc -fcommon -xc -c -o out/test/elf/x86_64/common/b.o - >+ cc -B. -o out/test/elf/x86_64/common/exe out/test/elf/x86_64/common/a.o out/test/elf/x86_64/common/b.o >+ out/test/elf/x86_64/common/exe >+ grep -q '0 5 42' >+ readelf --sections out/test/elf/x86_64/common/exe >+ grep -q '.common .*NOBITS' out/test/elf/x86_64/common/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.22 sec >---------------------------------------------------------- >Test Passed. >"x86_64-common" end time: Feb 09 00:19 CET >"x86_64-common" time elapsed: 00:00:00 >---------------------------------------------------------- > >61/293 Testing: x86_64-compress-debug-sections-zstd >61/293 Test: x86_64-compress-debug-sections-zstd >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/compress-debug-sections-zstd.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-compress-debug-sections-zstd" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/compress-debug-sections-zstd.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/compress-debug-sections-zstd.sh .sh >++ testname=compress-debug-sections-zstd >++ echo -n 'Testing compress-debug-sections-zstd ... ' >Testing compress-debug-sections-zstd ... ++ t=out/test/elf/x86_64/compress-debug-sections-zstd >++ mkdir -p out/test/elf/x86_64/compress-debug-sections-zstd >+ '[' x86_64 = arm ']' >+ '[' x86_64 = riscv32 ']' >+ command -v zstdcat >+ cat >+ cc -c -g -o out/test/elf/x86_64/compress-debug-sections-zstd/a.o -xc - >+ cc -B. -o out/test/elf/x86_64/compress-debug-sections-zstd/exe out/test/elf/x86_64/compress-debug-sections-zstd/a.o -Wl,--compress-debug-sections=zstd >+ objcopy --dump-section .debug_info=out/test/elf/x86_64/compress-debug-sections-zstd/debug_info out/test/elf/x86_64/compress-debug-sections-zstd/exe >+ dd if=out/test/elf/x86_64/compress-debug-sections-zstd/debug_info of=out/test/elf/x86_64/compress-debug-sections-zstd/debug_info.zstd bs=24 skip=1 status=none >+ zstdcat out/test/elf/x86_64/compress-debug-sections-zstd/debug_info.zstd >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.18 sec >---------------------------------------------------------- >Test Passed. >"x86_64-compress-debug-sections-zstd" end time: Feb 09 00:19 CET >"x86_64-compress-debug-sections-zstd" time elapsed: 00:00:00 >---------------------------------------------------------- > >62/293 Testing: x86_64-copyrel-alignment >62/293 Test: x86_64-copyrel-alignment >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/copyrel-alignment.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-copyrel-alignment" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/copyrel-alignment.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/copyrel-alignment.sh .sh >++ testname=copyrel-alignment >++ echo -n 'Testing copyrel-alignment ... ' >Testing copyrel-alignment ... ++ t=out/test/elf/x86_64/copyrel-alignment >++ mkdir -p out/test/elf/x86_64/copyrel-alignment >+ '[' x86_64 = ppc64 ']' >+ '[' x86_64 = ppc64le ']' >+ '[' x86_64 = alpha ']' >+ cat >+ cc -fPIC -shared -o out/test/elf/x86_64/copyrel-alignment/a.so -xc - >+ cat >+ cc -fPIC -shared -o out/test/elf/x86_64/copyrel-alignment/b.so -xc - >+ cat >+ cc -fPIC -shared -o out/test/elf/x86_64/copyrel-alignment/c.so -xc - >+ cat >+ cc -fno-PIE -o out/test/elf/x86_64/copyrel-alignment/d.o -c -xc - >+ cc -B. -o out/test/elf/x86_64/copyrel-alignment/exe1 out/test/elf/x86_64/copyrel-alignment/d.o out/test/elf/x86_64/copyrel-alignment/a.so -no-pie >+ out/test/elf/x86_64/copyrel-alignment/exe1 >+ readelf -W --sections out/test/elf/x86_64/copyrel-alignment/exe1 >+ grep -q '\.copyrel.* 32$' >+ cc -B. -o out/test/elf/x86_64/copyrel-alignment/exe2 out/test/elf/x86_64/copyrel-alignment/d.o out/test/elf/x86_64/copyrel-alignment/b.so -no-pie >+ out/test/elf/x86_64/copyrel-alignment/exe2 >+ readelf -W --sections out/test/elf/x86_64/copyrel-alignment/exe2 >+ grep -q '\.copyrel.* 8$' >+ cc -B. -o out/test/elf/x86_64/copyrel-alignment/exe3 out/test/elf/x86_64/copyrel-alignment/d.o out/test/elf/x86_64/copyrel-alignment/c.so -no-pie >+ out/test/elf/x86_64/copyrel-alignment/exe3 >+ readelf -W --sections out/test/elf/x86_64/copyrel-alignment/exe3 >+ grep -q '\.copyrel.* 256$' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.55 sec >---------------------------------------------------------- >Test Passed. >"x86_64-copyrel-alignment" end time: Feb 09 00:19 CET >"x86_64-copyrel-alignment" time elapsed: 00:00:00 >---------------------------------------------------------- > >63/293 Testing: x86_64-copyrel-protected >63/293 Test: x86_64-copyrel-protected >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/copyrel-protected.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-copyrel-protected" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/copyrel-protected.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/copyrel-protected.sh .sh >++ testname=copyrel-protected >++ echo -n 'Testing copyrel-protected ... ' >Testing copyrel-protected ... ++ t=out/test/elf/x86_64/copyrel-protected >++ mkdir -p out/test/elf/x86_64/copyrel-protected >+ '[' x86_64 = ppc64 ']' >+ '[' x86_64 = ppc64le ']' >+ '[' x86_64 = alpha ']' >+ cat >+ cc -o out/test/elf/x86_64/copyrel-protected/a.o -c -xc -fno-PIE - >+ cat >+ cc -shared -o out/test/elf/x86_64/copyrel-protected/b.so -xc - >+ cc -B. out/test/elf/x86_64/copyrel-protected/a.o out/test/elf/x86_64/copyrel-protected/b.so -o out/test/elf/x86_64/copyrel-protected/exe -no-pie >+ grep -Fq 'cannot make copy relocation for protected symbol' out/test/elf/x86_64/copyrel-protected/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.24 sec >---------------------------------------------------------- >Test Passed. >"x86_64-copyrel-protected" end time: Feb 09 00:19 CET >"x86_64-copyrel-protected" time elapsed: 00:00:00 >---------------------------------------------------------- > >64/293 Testing: x86_64-copyrel-relro >64/293 Test: x86_64-copyrel-relro >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/copyrel-relro.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-copyrel-relro" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/copyrel-relro.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/copyrel-relro.sh .sh >++ testname=copyrel-relro >++ echo -n 'Testing copyrel-relro ... ' >Testing copyrel-relro ... ++ t=out/test/elf/x86_64/copyrel-relro >++ mkdir -p out/test/elf/x86_64/copyrel-relro >+ cat >+ cc -o out/test/elf/x86_64/copyrel-relro/a.o -c -xc -fno-PIE - >+ cat >+ cc -fPIC -shared -o out/test/elf/x86_64/copyrel-relro/b.so -xc - >+ cc -B. out/test/elf/x86_64/copyrel-relro/a.o out/test/elf/x86_64/copyrel-relro/b.so -o out/test/elf/x86_64/copyrel-relro/exe -no-pie >+ out/test/elf/x86_64/copyrel-relro/exe >+ grep -q '^sigsegv 0 1$' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.25 sec >---------------------------------------------------------- >Test Passed. >"x86_64-copyrel-relro" end time: Feb 09 00:19 CET >"x86_64-copyrel-relro" time elapsed: 00:00:00 >---------------------------------------------------------- > >65/293 Testing: x86_64-copyrel >65/293 Test: x86_64-copyrel >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/copyrel.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-copyrel" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/copyrel.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/copyrel.sh .sh >++ testname=copyrel >++ echo -n 'Testing copyrel ... ' >Testing copyrel ... ++ t=out/test/elf/x86_64/copyrel >++ mkdir -p out/test/elf/x86_64/copyrel >+ cat >+ cc -fno-PIC -o out/test/elf/x86_64/copyrel/a.o -c -xc - >+ cat >+ cc -fno-PIC -o out/test/elf/x86_64/copyrel/b.o -c -xc - >+ cat >+ cc -fPIC -o out/test/elf/x86_64/copyrel/c.o -c -xc - >+ cc -B. -shared -o out/test/elf/x86_64/copyrel/c.so out/test/elf/x86_64/copyrel/c.o >+ cc -B. -no-pie -o out/test/elf/x86_64/copyrel/exe out/test/elf/x86_64/copyrel/a.o out/test/elf/x86_64/copyrel/b.o out/test/elf/x86_64/copyrel/c.so >+ out/test/elf/x86_64/copyrel/exe >+ grep -q '42 42 1' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.32 sec >---------------------------------------------------------- >Test Passed. >"x86_64-copyrel" end time: Feb 09 00:19 CET >"x86_64-copyrel" time elapsed: 00:00:00 >---------------------------------------------------------- > >66/293 Testing: x86_64-debug-macro-section >66/293 Test: x86_64-debug-macro-section >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/debug-macro-section.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-debug-macro-section" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/debug-macro-section.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/debug-macro-section.sh .sh >++ testname=debug-macro-section >++ echo -n 'Testing debug-macro-section ... ' >Testing debug-macro-section ... ++ t=out/test/elf/x86_64/debug-macro-section >++ mkdir -p out/test/elf/x86_64/debug-macro-section >+ cat >+ cat >+ gcc -o out/test/elf/x86_64/debug-macro-section/b.o -c -xc - -Iout/test/elf/x86_64/debug-macro-section -g3 >+ cat >+ gcc -o out/test/elf/x86_64/debug-macro-section/c.o -c -xc - -Iout/test/elf/x86_64/debug-macro-section -g3 >+ gcc -B. -o out/test/elf/x86_64/debug-macro-section/exe out/test/elf/x86_64/debug-macro-section/b.o out/test/elf/x86_64/debug-macro-section/c.o >+ objdump --dwarf=macro out/test/elf/x86_64/debug-macro-section/exe >+ grep 'DW_MACRO_import -.* 0x0$' out/test/elf/x86_64/debug-macro-section/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.24 sec >---------------------------------------------------------- >Test Passed. >"x86_64-debug-macro-section" end time: Feb 09 00:19 CET >"x86_64-debug-macro-section" time elapsed: 00:00:00 >---------------------------------------------------------- > >67/293 Testing: x86_64-default-symver >67/293 Test: x86_64-default-symver >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/default-symver.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-default-symver" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/default-symver.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/default-symver.sh .sh >++ testname=default-symver >++ echo -n 'Testing default-symver ... ' >Testing default-symver ... ++ t=out/test/elf/x86_64/default-symver >++ mkdir -p out/test/elf/x86_64/default-symver >+ cat >+ cc -o out/test/elf/x86_64/default-symver/a.o -c -xc - >+ cc -B. -o out/test/elf/x86_64/default-symver/b.so -shared out/test/elf/x86_64/default-symver/a.o -Wl,-default-symver >+ readelf --dyn-syms out/test/elf/x86_64/default-symver/b.so >+ grep -q ' foo@@b\.so$' >+ cc -B. -o out/test/elf/x86_64/default-symver/b.so -shared out/test/elf/x86_64/default-symver/a.o -Wl,--soname=bar -Wl,-default-symver >+ readelf --dyn-syms out/test/elf/x86_64/default-symver/b.so >+ grep -q ' foo@@bar$' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.23 sec >---------------------------------------------------------- >Test Passed. >"x86_64-default-symver" end time: Feb 09 00:19 CET >"x86_64-default-symver" time elapsed: 00:00:00 >---------------------------------------------------------- > >68/293 Testing: x86_64-defsym-lto >68/293 Test: x86_64-defsym-lto >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/defsym-lto.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-defsym-lto" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/defsym-lto.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 >+ echo 'int main() {}' >+ cc -flto -o /dev/null -xc - >+ cat >+ cc -flto -fPIC -o out/test/elf/x86_64/defsym-lto/a.o -c -xc - >+ 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 >+ out/test/elf/x86_64/defsym-lto/exe >+ grep -q '^OK$' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.50 sec >---------------------------------------------------------- >Test Passed. >"x86_64-defsym-lto" end time: Feb 09 00:19 CET >"x86_64-defsym-lto" time elapsed: 00:00:00 >---------------------------------------------------------- > >69/293 Testing: x86_64-defsym >69/293 Test: x86_64-defsym >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/defsym.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-defsym" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/defsym.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/defsym.sh .sh >++ testname=defsym >++ echo -n 'Testing defsym ... ' >Testing defsym ... ++ t=out/test/elf/x86_64/defsym >++ mkdir -p out/test/elf/x86_64/defsym >+ cat >+ cc -fPIC -o out/test/elf/x86_64/defsym/a.o -c -xc - >+ cc -B. -o out/test/elf/x86_64/defsym/exe out/test/elf/x86_64/defsym/a.o -pie -Wl,-defsym=foo=16 -Wl,-defsym=bar=0x2000 -Wl,-defsym=baz=print >+ out/test/elf/x86_64/defsym/exe >+ grep -q '^Hello 0x10 0x2000$' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.17 sec >---------------------------------------------------------- >Test Passed. >"x86_64-defsym" end time: Feb 09 00:19 CET >"x86_64-defsym" time elapsed: 00:00:00 >---------------------------------------------------------- > >70/293 Testing: x86_64-defsym2 >70/293 Test: x86_64-defsym2 >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/defsym2.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-defsym2" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/defsym2.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/defsym2.sh .sh >++ testname=defsym2 >++ echo -n 'Testing defsym2 ... ' >Testing defsym2 ... ++ t=out/test/elf/x86_64/defsym2 >++ mkdir -p out/test/elf/x86_64/defsym2 >+ cat >+ cc -fPIC -o out/test/elf/x86_64/defsym2/a.o -c -xc - >+ cc -B. -o out/test/elf/x86_64/defsym2/b.so -shared -Wl,-defsym=bar=foo out/test/elf/x86_64/defsym2/a.o >+ nm -D out/test/elf/x86_64/defsym2/b.so >+ grep -q bar >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.20 sec >---------------------------------------------------------- >Test Passed. >"x86_64-defsym2" end time: Feb 09 00:19 CET >"x86_64-defsym2" time elapsed: 00:00:00 >---------------------------------------------------------- > >71/293 Testing: x86_64-demangle-rust >71/293 Test: x86_64-demangle-rust >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/demangle-rust.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-demangle-rust" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/demangle-rust.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/demangle-rust.sh .sh >++ testname=demangle-rust >++ echo -n 'Testing demangle-rust ... ' >Testing demangle-rust ... ++ t=out/test/elf/x86_64/demangle-rust >++ mkdir -p out/test/elf/x86_64/demangle-rust >+ cat >+ cc -c -o out/test/elf/x86_64/demangle-rust/a.o -xc - >+ cc -B. -o out/test/elf/x86_64/demangle-rust/exe out/test/elf/x86_64/demangle-rust/a.o >+ grep -Fq '<core::slice::Iter<u8> as core::iter::iterator::Iterator>::rposition::<core::slice::memchr::memrchr::{closure#1}>::{closure#0}' out/test/elf/x86_64/demangle-rust/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.17 sec >---------------------------------------------------------- >Test Passed. >"x86_64-demangle-rust" end time: Feb 09 00:19 CET >"x86_64-demangle-rust" time elapsed: 00:00:00 >---------------------------------------------------------- > >72/293 Testing: x86_64-demangle >72/293 Test: x86_64-demangle >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/demangle.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-demangle" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/demangle.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/demangle.sh .sh >++ testname=demangle >++ echo -n 'Testing demangle ... ' >Testing demangle ... ++ t=out/test/elf/x86_64/demangle >++ mkdir -p out/test/elf/x86_64/demangle >+ cat >+ cc -c -o out/test/elf/x86_64/demangle/a.o -xc++ - >+ cc -B. -o out/test/elf/x86_64/demangle/exe out/test/elf/x86_64/demangle/a.o -Wl,-no-demangle >+ grep -q 'undefined symbol: _Z3fooii$' out/test/elf/x86_64/demangle/log >+ cc -B. -o out/test/elf/x86_64/demangle/exe out/test/elf/x86_64/demangle/a.o -Wl,-demangle >+ grep -Eq 'undefined symbol: foo\(int, int\)$' out/test/elf/x86_64/demangle/log >+ cc -B. -o out/test/elf/x86_64/demangle/exe out/test/elf/x86_64/demangle/a.o >+ grep -Eq 'undefined symbol: foo\(int, int\)$' out/test/elf/x86_64/demangle/log >+ cat >+ cc -c -o out/test/elf/x86_64/demangle/b.o -xc - >+ cc -B. -o out/test/elf/x86_64/demangle/exe out/test/elf/x86_64/demangle/b.o -Wl,-demangle >+ grep -q 'undefined symbol: Pi$' out/test/elf/x86_64/demangle/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.43 sec >---------------------------------------------------------- >Test Passed. >"x86_64-demangle" end time: Feb 09 00:19 CET >"x86_64-demangle" time elapsed: 00:00:00 >---------------------------------------------------------- > >73/293 Testing: x86_64-dependency-file >73/293 Test: x86_64-dependency-file >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/dependency-file.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-dependency-file" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/dependency-file.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/dependency-file.sh .sh >++ testname=dependency-file >++ echo -n 'Testing dependency-file ... ' >Testing dependency-file ... ++ t=out/test/elf/x86_64/dependency-file >++ mkdir -p out/test/elf/x86_64/dependency-file >+ cat >+ cc -o out/test/elf/x86_64/dependency-file/a.o -c -xc - >+ cc -B. -o out/test/elf/x86_64/dependency-file/exe out/test/elf/x86_64/dependency-file/a.o -Wl,-dependency-file=out/test/elf/x86_64/dependency-file/dep >+ grep -q 'dependency-file/exe:.*/a.o ' out/test/elf/x86_64/dependency-file/dep >+ grep -q '.*/a.o:$' out/test/elf/x86_64/dependency-file/dep >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.17 sec >---------------------------------------------------------- >Test Passed. >"x86_64-dependency-file" end time: Feb 09 00:19 CET >"x86_64-dependency-file" time elapsed: 00:00:00 >---------------------------------------------------------- > >74/293 Testing: x86_64-disable-new-dtags >74/293 Test: x86_64-disable-new-dtags >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/disable-new-dtags.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-disable-new-dtags" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/disable-new-dtags.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/disable-new-dtags.sh .sh >++ testname=disable-new-dtags >++ echo -n 'Testing disable-new-dtags ... ' >Testing disable-new-dtags ... ++ t=out/test/elf/x86_64/disable-new-dtags >++ mkdir -p out/test/elf/x86_64/disable-new-dtags >+ cat >+ cc -o out/test/elf/x86_64/disable-new-dtags/a.o -c -xc -fPIC - >+ cc -B. -shared -o out/test/elf/x86_64/disable-new-dtags/b.so out/test/elf/x86_64/disable-new-dtags/a.o -Wl,-rpath=/foo >+ readelf --dynamic out/test/elf/x86_64/disable-new-dtags/b.so >+ grep -q 'RUNPATH.*/foo' >+ cc -B. -shared -o out/test/elf/x86_64/disable-new-dtags/b.so out/test/elf/x86_64/disable-new-dtags/a.o -Wl,-rpath=/foo -Wl,-enable-new-dtags >+ readelf --dynamic out/test/elf/x86_64/disable-new-dtags/b.so >+ grep -q 'RUNPATH.*/foo' >+ cc -B. -shared -o out/test/elf/x86_64/disable-new-dtags/b.so out/test/elf/x86_64/disable-new-dtags/a.o -Wl,-rpath=/foo -Wl,-disable-new-dtags >+ readelf --dynamic out/test/elf/x86_64/disable-new-dtags/b.so >+ grep -q 'RPATH.*/foo' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.30 sec >---------------------------------------------------------- >Test Passed. >"x86_64-disable-new-dtags" end time: Feb 09 00:19 CET >"x86_64-disable-new-dtags" time elapsed: 00:00:00 >---------------------------------------------------------- > >75/293 Testing: x86_64-discard >75/293 Test: x86_64-discard >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/discard.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-discard" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/discard.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/discard.sh .sh >++ testname=discard >++ echo -n 'Testing discard ... ' >Testing discard ... ++ t=out/test/elf/x86_64/discard >++ mkdir -p out/test/elf/x86_64/discard >+ '[' x86_64 = riscv64 -o x86_64 = riscv32 ']' >+ cat >+ cc -o out/test/elf/x86_64/discard/a.o -c -x assembler -Wa,-L - >+ ./mold -o out/test/elf/x86_64/discard/exe out/test/elf/x86_64/discard/a.o >+ readelf --symbols out/test/elf/x86_64/discard/exe >+ grep -Fq _start out/test/elf/x86_64/discard/log >+ grep -Fq foo out/test/elf/x86_64/discard/log >+ grep -Fq .Lbar out/test/elf/x86_64/discard/log >+ ./mold -o out/test/elf/x86_64/discard/exe out/test/elf/x86_64/discard/a.o --discard-locals >+ readelf --symbols out/test/elf/x86_64/discard/exe >+ grep -Fq _start out/test/elf/x86_64/discard/log >+ grep -Fq foo out/test/elf/x86_64/discard/log >+ grep -Fq .Lbar out/test/elf/x86_64/discard/log >+ ./mold -o out/test/elf/x86_64/discard/exe out/test/elf/x86_64/discard/a.o --discard-all >+ readelf --symbols out/test/elf/x86_64/discard/exe >+ grep -Fq _start out/test/elf/x86_64/discard/log >+ grep -Fq foo out/test/elf/x86_64/discard/log >+ grep -Fq .Lbar out/test/elf/x86_64/discard/log >+ ./mold -o out/test/elf/x86_64/discard/exe out/test/elf/x86_64/discard/a.o --strip-all >+ readelf --symbols out/test/elf/x86_64/discard/exe >+ grep -Fq _start out/test/elf/x86_64/discard/log >+ grep -Fq foo out/test/elf/x86_64/discard/log >+ grep -Fq .Lbar out/test/elf/x86_64/discard/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.26 sec >---------------------------------------------------------- >Test Passed. >"x86_64-discard" end time: Feb 09 00:19 CET >"x86_64-discard" time elapsed: 00:00:00 >---------------------------------------------------------- > >76/293 Testing: x86_64-dso-undef >76/293 Test: x86_64-dso-undef >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/dso-undef.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-dso-undef" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/dso-undef.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/dso-undef.sh .sh >++ testname=dso-undef >++ echo -n 'Testing dso-undef ... ' >Testing dso-undef ... ++ t=out/test/elf/x86_64/dso-undef >++ mkdir -p out/test/elf/x86_64/dso-undef >+ cat >+ cc -fPIC -o out/test/elf/x86_64/dso-undef/a.o -c -xc - >+ cc -B. -o out/test/elf/x86_64/dso-undef/b.so -shared out/test/elf/x86_64/dso-undef/a.o >+ cat >+ cc -o out/test/elf/x86_64/dso-undef/c.o -c -xc - >+ rm -f out/test/elf/x86_64/dso-undef/d.a >+ ar rcs out/test/elf/x86_64/dso-undef/d.a out/test/elf/x86_64/dso-undef/c.o >+ cat >+ cc -o out/test/elf/x86_64/dso-undef/e.o -c -xc - >+ cc -B. -o out/test/elf/x86_64/dso-undef/exe out/test/elf/x86_64/dso-undef/b.so out/test/elf/x86_64/dso-undef/d.a out/test/elf/x86_64/dso-undef/e.o >+ readelf --dyn-syms out/test/elf/x86_64/dso-undef/exe >+ grep -q ' foo$' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.37 sec >---------------------------------------------------------- >Test Passed. >"x86_64-dso-undef" end time: Feb 09 00:19 CET >"x86_64-dso-undef" time elapsed: 00:00:00 >---------------------------------------------------------- > >77/293 Testing: x86_64-dt-init >77/293 Test: x86_64-dt-init >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/dt-init.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-dt-init" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/dt-init.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/dt-init.sh .sh >++ testname=dt-init >++ echo -n 'Testing dt-init ... ' >Testing dt-init ... ++ t=out/test/elf/x86_64/dt-init >++ mkdir -p out/test/elf/x86_64/dt-init >+ '[' x86_64 = riscv64 -o x86_64 = riscv32 ']' >+ '[' x86_64 = arm -o x86_64 = aarch64 ']' >+ cat >+ cc -c -fPIC -o out/test/elf/x86_64/dt-init/a.o -xc - >+ cat >+ cc -c -fPIC -o out/test/elf/x86_64/dt-init/b.o -xc - >+ cc -B. -o out/test/elf/x86_64/dt-init/c.so -shared out/test/elf/x86_64/dt-init/b.o >+ cc -B. -o out/test/elf/x86_64/dt-init/d.so -shared out/test/elf/x86_64/dt-init/b.o -Wl,-init,init -Wl,-fini,fini >+ cc -B. -o out/test/elf/x86_64/dt-init/exe1 out/test/elf/x86_64/dt-init/a.o out/test/elf/x86_64/dt-init/c.so >+ cc -B. -o out/test/elf/x86_64/dt-init/exe2 out/test/elf/x86_64/dt-init/a.o out/test/elf/x86_64/dt-init/d.so >+ out/test/elf/x86_64/dt-init/exe1 >+ out/test/elf/x86_64/dt-init/exe2 >+ grep -q init out/test/elf/x86_64/dt-init/log1 >+ grep -q fini out/test/elf/x86_64/dt-init/log1 >+ grep -q init out/test/elf/x86_64/dt-init/log2 >+ grep -q fini out/test/elf/x86_64/dt-init/log2 >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.43 sec >---------------------------------------------------------- >Test Passed. >"x86_64-dt-init" end time: Feb 09 00:19 CET >"x86_64-dt-init" time elapsed: 00:00:00 >---------------------------------------------------------- > >78/293 Testing: x86_64-dt-needed >78/293 Test: x86_64-dt-needed >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/dt-needed.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-dt-needed" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/dt-needed.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/dt-needed.sh .sh >++ testname=dt-needed >++ echo -n 'Testing dt-needed ... ' >Testing dt-needed ... ++ t=out/test/elf/x86_64/dt-needed >++ mkdir -p out/test/elf/x86_64/dt-needed >+ cat >+ cc -c -o out/test/elf/x86_64/dt-needed/a.o -xc - >+ cc -B. -shared -o out/test/elf/x86_64/dt-needed/libfoo.so out/test/elf/x86_64/dt-needed/a.o -Wl,--soname,libfoo >+ cc -B. -shared -o out/test/elf/x86_64/dt-needed/libbar.so out/test/elf/x86_64/dt-needed/a.o >+ cat >+ cc -c -o out/test/elf/x86_64/dt-needed/b.o -xc - >+ cc -B. -o out/test/elf/x86_64/dt-needed/exe out/test/elf/x86_64/dt-needed/b.o out/test/elf/x86_64/dt-needed/libfoo.so >+ readelf --dynamic out/test/elf/x86_64/dt-needed/exe >+ grep -Fq 'Shared library: [libfoo]' >+ cc -B. -o out/test/elf/x86_64/dt-needed/exe out/test/elf/x86_64/dt-needed/b.o -L out/test/elf/x86_64/dt-needed -lfoo >+ readelf --dynamic out/test/elf/x86_64/dt-needed/exe >+ grep -Fq 'Shared library: [libfoo]' >+ cc -B. -o out/test/elf/x86_64/dt-needed/exe out/test/elf/x86_64/dt-needed/b.o out/test/elf/x86_64/dt-needed/libbar.so >+ readelf --dynamic out/test/elf/x86_64/dt-needed/exe >+ grep -Eq 'Shared library: \[.*dt-needed/libbar\.so\]' >+ cc -B. -o out/test/elf/x86_64/dt-needed/exe out/test/elf/x86_64/dt-needed/b.o -Lout/test/elf/x86_64/dt-needed -lbar >+ readelf --dynamic out/test/elf/x86_64/dt-needed/exe >+ grep -Fq 'Shared library: [libbar.so]' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.56 sec >---------------------------------------------------------- >Test Passed. >"x86_64-dt-needed" end time: Feb 09 00:19 CET >"x86_64-dt-needed" time elapsed: 00:00:00 >---------------------------------------------------------- > >79/293 Testing: x86_64-duplicate-error >79/293 Test: x86_64-duplicate-error >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/duplicate-error.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-duplicate-error" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/duplicate-error.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/duplicate-error.sh .sh >++ testname=duplicate-error >++ echo -n 'Testing duplicate-error ... ' >Testing duplicate-error ... ++ t=out/test/elf/x86_64/duplicate-error >++ mkdir -p out/test/elf/x86_64/duplicate-error >+ cat >+ cc -o out/test/elf/x86_64/duplicate-error/a.o -c -x assembler - >+ ./mold -o out/test/elf/x86_64/duplicate-error/exe out/test/elf/x86_64/duplicate-error/a.o out/test/elf/x86_64/duplicate-error/a.o >+ grep -q 'duplicate symbol: .*\.o: .*\.o: main' out/test/elf/x86_64/duplicate-error/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.09 sec >---------------------------------------------------------- >Test Passed. >"x86_64-duplicate-error" end time: Feb 09 00:19 CET >"x86_64-duplicate-error" time elapsed: 00:00:00 >---------------------------------------------------------- > >80/293 Testing: x86_64-dynamic-dt-debug >80/293 Test: x86_64-dynamic-dt-debug >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/dynamic-dt-debug.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-dynamic-dt-debug" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/dynamic-dt-debug.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/dynamic-dt-debug.sh .sh >++ testname=dynamic-dt-debug >++ echo -n 'Testing dynamic-dt-debug ... ' >Testing dynamic-dt-debug ... ++ t=out/test/elf/x86_64/dynamic-dt-debug >++ mkdir -p out/test/elf/x86_64/dynamic-dt-debug >+ cat >+ cc -o out/test/elf/x86_64/dynamic-dt-debug/a.o -c -xc - >+ cc -B. -o out/test/elf/x86_64/dynamic-dt-debug/exe out/test/elf/x86_64/dynamic-dt-debug/a.o >+ readelf --dynamic out/test/elf/x86_64/dynamic-dt-debug/exe >+ grep -Fq '(DEBUG)' out/test/elf/x86_64/dynamic-dt-debug/log >+ cat >+ cc -o out/test/elf/x86_64/dynamic-dt-debug/b.o -c -xc - >+ cc -B. -o out/test/elf/x86_64/dynamic-dt-debug/c.so out/test/elf/x86_64/dynamic-dt-debug/b.o -shared >+ readelf --dynamic out/test/elf/x86_64/dynamic-dt-debug/c.so >+ grep -Fq '(DEBUG)' out/test/elf/x86_64/dynamic-dt-debug/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.30 sec >---------------------------------------------------------- >Test Passed. >"x86_64-dynamic-dt-debug" end time: Feb 09 00:19 CET >"x86_64-dynamic-dt-debug" time elapsed: 00:00:00 >---------------------------------------------------------- > >81/293 Testing: x86_64-dynamic-linker >81/293 Test: x86_64-dynamic-linker >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/dynamic-linker.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-dynamic-linker" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/dynamic-linker.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/dynamic-linker.sh .sh >++ testname=dynamic-linker >++ echo -n 'Testing dynamic-linker ... ' >Testing dynamic-linker ... ++ t=out/test/elf/x86_64/dynamic-linker >++ mkdir -p out/test/elf/x86_64/dynamic-linker >+ cat >+ cc -c -o out/test/elf/x86_64/dynamic-linker/a.o -x assembler - >+ ./mold -o out/test/elf/x86_64/dynamic-linker/exe out/test/elf/x86_64/dynamic-linker/a.o >+ readelf --sections out/test/elf/x86_64/dynamic-linker/exe >+ grep -Fq .interp out/test/elf/x86_64/dynamic-linker/log >+ readelf --dynamic out/test/elf/x86_64/dynamic-linker/exe >+ ./mold -o out/test/elf/x86_64/dynamic-linker/exe out/test/elf/x86_64/dynamic-linker/a.o --dynamic-linker=/foo/bar >+ readelf --sections out/test/elf/x86_64/dynamic-linker/exe >+ grep -Fq .interp out/test/elf/x86_64/dynamic-linker/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.14 sec >---------------------------------------------------------- >Test Passed. >"x86_64-dynamic-linker" end time: Feb 09 00:19 CET >"x86_64-dynamic-linker" time elapsed: 00:00:00 >---------------------------------------------------------- > >82/293 Testing: x86_64-dynamic-list >82/293 Test: x86_64-dynamic-list >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/dynamic-list.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-dynamic-list" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/dynamic-list.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/dynamic-list.sh .sh >++ testname=dynamic-list >++ echo -n 'Testing dynamic-list ... ' >Testing dynamic-list ... ++ t=out/test/elf/x86_64/dynamic-list >++ mkdir -p out/test/elf/x86_64/dynamic-list >+ cat >+ cc -o out/test/elf/x86_64/dynamic-list/a.o -c -xc - >+ cc -B. -o out/test/elf/x86_64/dynamic-list/exe out/test/elf/x86_64/dynamic-list/a.o >+ readelf --dyn-syms out/test/elf/x86_64/dynamic-list/exe >+ grep -q ' foo$' out/test/elf/x86_64/dynamic-list/log >+ grep -q ' bar$' out/test/elf/x86_64/dynamic-list/log >+ cat >+ cc -B. -o out/test/elf/x86_64/dynamic-list/exe1 out/test/elf/x86_64/dynamic-list/a.o -Wl,-dynamic-list=out/test/elf/x86_64/dynamic-list/dyn >+ readelf --dyn-syms out/test/elf/x86_64/dynamic-list/exe1 >+ grep -q ' foo$' out/test/elf/x86_64/dynamic-list/log1 >+ grep -q ' bar$' out/test/elf/x86_64/dynamic-list/log1 >+ cc -B. -o out/test/elf/x86_64/dynamic-list/exe2 out/test/elf/x86_64/dynamic-list/a.o -Wl,--export-dynamic-symbol-list=out/test/elf/x86_64/dynamic-list/dyn >+ readelf --dyn-syms out/test/elf/x86_64/dynamic-list/exe2 >+ grep -q ' foo$' out/test/elf/x86_64/dynamic-list/log2 >+ grep -q ' bar$' out/test/elf/x86_64/dynamic-list/log2 >+ cc -B. -o out/test/elf/x86_64/dynamic-list/exe3 out/test/elf/x86_64/dynamic-list/a.o -Wl,--export-dynamic-symbol=foo,--export-dynamic-symbol=bar >+ readelf --dyn-syms out/test/elf/x86_64/dynamic-list/exe3 >+ grep -q ' foo$' out/test/elf/x86_64/dynamic-list/log3 >+ grep -q ' bar$' out/test/elf/x86_64/dynamic-list/log3 >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.43 sec >---------------------------------------------------------- >Test Passed. >"x86_64-dynamic-list" end time: Feb 09 00:19 CET >"x86_64-dynamic-list" time elapsed: 00:00:00 >---------------------------------------------------------- > >83/293 Testing: x86_64-dynamic-list2 >83/293 Test: x86_64-dynamic-list2 >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/dynamic-list2.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-dynamic-list2" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/dynamic-list2.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/dynamic-list2.sh .sh >++ testname=dynamic-list2 >++ echo -n 'Testing dynamic-list2 ... ' >Testing dynamic-list2 ... ++ t=out/test/elf/x86_64/dynamic-list2 >++ mkdir -p out/test/elf/x86_64/dynamic-list2 >+ cat >+ cc -o out/test/elf/x86_64/dynamic-list2/a.o -c -xc - >+ cat >+ c++ -o out/test/elf/x86_64/dynamic-list2/b.o -c -xc++ - >+ c++ -B. -o out/test/elf/x86_64/dynamic-list2/exe out/test/elf/x86_64/dynamic-list2/a.o out/test/elf/x86_64/dynamic-list2/b.o >+ readelf --dyn-syms out/test/elf/x86_64/dynamic-list2/exe >+ grep -q ' foo$' out/test/elf/x86_64/dynamic-list2/log >+ grep -q ' bar$' out/test/elf/x86_64/dynamic-list2/log >+ cat >+ cc -B. -o out/test/elf/x86_64/dynamic-list2/exe1 out/test/elf/x86_64/dynamic-list2/a.o out/test/elf/x86_64/dynamic-list2/b.o -Wl,-dynamic-list=out/test/elf/x86_64/dynamic-list2/dyn >+ readelf --dyn-syms out/test/elf/x86_64/dynamic-list2/exe1 >+ grep -q ' foo$' out/test/elf/x86_64/dynamic-list2/log1 >+ grep -q ' bar$' out/test/elf/x86_64/dynamic-list2/log1 >+ grep -q ' _Z3bazi$' out/test/elf/x86_64/dynamic-list2/log1 >+ cc -B. -o out/test/elf/x86_64/dynamic-list2/exe2 out/test/elf/x86_64/dynamic-list2/a.o out/test/elf/x86_64/dynamic-list2/b.o -Wl,--export-dynamic-symbol-list=out/test/elf/x86_64/dynamic-list2/dyn >+ readelf --dyn-syms out/test/elf/x86_64/dynamic-list2/exe2 >+ grep -q ' foo$' out/test/elf/x86_64/dynamic-list2/log2 >+ grep -q ' bar$' out/test/elf/x86_64/dynamic-list2/log2 >+ grep -q ' _Z3bazi$' out/test/elf/x86_64/dynamic-list2/log2 >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.40 sec >---------------------------------------------------------- >Test Passed. >"x86_64-dynamic-list2" end time: Feb 09 00:19 CET >"x86_64-dynamic-list2" time elapsed: 00:00:00 >---------------------------------------------------------- > >84/293 Testing: x86_64-dynamic-list3 >84/293 Test: x86_64-dynamic-list3 >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/dynamic-list3.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-dynamic-list3" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/dynamic-list3.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/dynamic-list3.sh .sh >++ testname=dynamic-list3 >++ echo -n 'Testing dynamic-list3 ... ' >Testing dynamic-list3 ... ++ t=out/test/elf/x86_64/dynamic-list3 >++ mkdir -p out/test/elf/x86_64/dynamic-list3 >+ cat >+ cat >+ c++ -fPIC -c -o out/test/elf/x86_64/dynamic-list3/b.o -xc - >+ cc -B. -Wl,--dynamic-list=out/test/elf/x86_64/dynamic-list3/dyn -o out/test/elf/x86_64/dynamic-list3/exe1 out/test/elf/x86_64/dynamic-list3/b.o >+ readelf --dyn-syms out/test/elf/x86_64/dynamic-list3/exe1 >+ grep -q ' xyz$' out/test/elf/x86_64/dynamic-list3/log1 >+ grep -q ' foobarzx$' out/test/elf/x86_64/dynamic-list3/log1 >+ grep -q ' foobarcx$' out/test/elf/x86_64/dynamic-list3/log1 >+ grep -q ' foo123bar456bx$' out/test/elf/x86_64/dynamic-list3/log1 >+ grep -q ' foo123bar456c$' out/test/elf/x86_64/dynamic-list3/log1 >+ grep -q ' foo123bar456x$' out/test/elf/x86_64/dynamic-list3/log1 >+ cc -B. -Wl,--export-dynamic-symbol-list=out/test/elf/x86_64/dynamic-list3/dyn -o out/test/elf/x86_64/dynamic-list3/exe2 out/test/elf/x86_64/dynamic-list3/b.o >+ readelf --dyn-syms out/test/elf/x86_64/dynamic-list3/exe2 >+ grep -q ' xyz$' out/test/elf/x86_64/dynamic-list3/log2 >+ grep -q ' foobarzx$' out/test/elf/x86_64/dynamic-list3/log2 >+ grep -q ' foobarcx$' out/test/elf/x86_64/dynamic-list3/log2 >+ grep -q ' foo123bar456bx$' out/test/elf/x86_64/dynamic-list3/log2 >+ grep -q ' foo123bar456c$' out/test/elf/x86_64/dynamic-list3/log2 >+ grep -q ' foo123bar456x$' out/test/elf/x86_64/dynamic-list3/log2 >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.31 sec >---------------------------------------------------------- >Test Passed. >"x86_64-dynamic-list3" end time: Feb 09 00:19 CET >"x86_64-dynamic-list3" time elapsed: 00:00:00 >---------------------------------------------------------- > >85/293 Testing: x86_64-dynamic >85/293 Test: x86_64-dynamic >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/dynamic.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-dynamic" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/dynamic.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/dynamic.sh .sh >++ testname=dynamic >++ echo -n 'Testing dynamic ... ' >Testing dynamic ... ++ t=out/test/elf/x86_64/dynamic >++ mkdir -p out/test/elf/x86_64/dynamic >+ echo '.globl main; main:' >+ cc -o out/test/elf/x86_64/dynamic/a.o -c -x assembler - >+ cc -B. -o out/test/elf/x86_64/dynamic/exe out/test/elf/x86_64/dynamic/a.o >+ readelf --dynamic out/test/elf/x86_64/dynamic/exe >+ grep -Eq 'Shared library:.*\blibc\b' out/test/elf/x86_64/dynamic/log >+ readelf -W --dyn-syms --use-dynamic out/test/elf/x86_64/dynamic/exe >+ grep -Eq 'FUNC\s+GLOBAL\s+DEFAULT.*UND\s+__libc_start_main' out/test/elf/x86_64/dynamic/log2 >+ cat >+ cc -c -fPIC -o out/test/elf/x86_64/dynamic/b.o -xc - >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.20 sec >---------------------------------------------------------- >Test Passed. >"x86_64-dynamic" end time: Feb 09 00:19 CET >"x86_64-dynamic" time elapsed: 00:00:00 >---------------------------------------------------------- > >86/293 Testing: x86_64-emit-relocs-cpp >86/293 Test: x86_64-emit-relocs-cpp >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/emit-relocs-cpp.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-emit-relocs-cpp" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/emit-relocs-cpp.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/emit-relocs-cpp.sh .sh >++ testname=emit-relocs-cpp >++ echo -n 'Testing emit-relocs-cpp ... ' >Testing emit-relocs-cpp ... ++ t=out/test/elf/x86_64/emit-relocs-cpp >++ mkdir -p out/test/elf/x86_64/emit-relocs-cpp >+ '[' x86_64 = arm ']' >+ cat >+ c++ -o out/test/elf/x86_64/emit-relocs-cpp/a.o -c -fPIC -xc++ - >+ c++ -B. -o out/test/elf/x86_64/emit-relocs-cpp/exe out/test/elf/x86_64/emit-relocs-cpp/a.o -Wl,-emit-relocs >+ out/test/elf/x86_64/emit-relocs-cpp/exe >+ grep -q 'Hello world' >+ readelf -SW out/test/elf/x86_64/emit-relocs-cpp/exe >+ grep -Eq 'rela?\.text' >+ readelf -SW out/test/elf/x86_64/emit-relocs-cpp/exe >+ grep -Eq 'rela?\.eh_frame' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.18 sec >---------------------------------------------------------- >Test Passed. >"x86_64-emit-relocs-cpp" end time: Feb 09 00:19 CET >"x86_64-emit-relocs-cpp" time elapsed: 00:00:00 >---------------------------------------------------------- > >87/293 Testing: x86_64-emit-relocs-dead-sections >87/293 Test: x86_64-emit-relocs-dead-sections >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/emit-relocs-dead-sections.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-emit-relocs-dead-sections" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/emit-relocs-dead-sections.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/emit-relocs-dead-sections.sh .sh >++ testname=emit-relocs-dead-sections >++ echo -n 'Testing emit-relocs-dead-sections ... ' >Testing emit-relocs-dead-sections ... ++ t=out/test/elf/x86_64/emit-relocs-dead-sections >++ mkdir -p out/test/elf/x86_64/emit-relocs-dead-sections >+ '[' x86_64 = sh4 ']' >+ cat >+ c++ -o out/test/elf/x86_64/emit-relocs-dead-sections/a.o -c -fPIC -xc++ -g -ffunction-sections - >+ cat >+ c++ -o out/test/elf/x86_64/emit-relocs-dead-sections/b.o -c -fPIC -xc++ -g -ffunction-sections - >+ c++ -B. -o out/test/elf/x86_64/emit-relocs-dead-sections/exe out/test/elf/x86_64/emit-relocs-dead-sections/a.o out/test/elf/x86_64/emit-relocs-dead-sections/b.o -Wl,-emit-relocs >+ out/test/elf/x86_64/emit-relocs-dead-sections/exe >+ grep -q 'Hello world' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 1.07 sec >---------------------------------------------------------- >Test Passed. >"x86_64-emit-relocs-dead-sections" end time: Feb 09 00:19 CET >"x86_64-emit-relocs-dead-sections" time elapsed: 00:00:01 >---------------------------------------------------------- > >88/293 Testing: x86_64-emit-relocs >88/293 Test: x86_64-emit-relocs >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/emit-relocs.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-emit-relocs" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/emit-relocs.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/emit-relocs.sh .sh >++ testname=emit-relocs >++ echo -n 'Testing emit-relocs ... ' >Testing emit-relocs ... ++ t=out/test/elf/x86_64/emit-relocs >++ mkdir -p out/test/elf/x86_64/emit-relocs >+ cat >+ cc -o out/test/elf/x86_64/emit-relocs/a.o -c -fPIC -xc - >+ cc -B. -o out/test/elf/x86_64/emit-relocs/exe out/test/elf/x86_64/emit-relocs/a.o -Wl,-emit-relocs >+ out/test/elf/x86_64/emit-relocs/exe >+ grep -q 'Hello world' >+ readelf -S out/test/elf/x86_64/emit-relocs/exe >+ grep -Eq 'rela?\.text' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.17 sec >---------------------------------------------------------- >Test Passed. >"x86_64-emit-relocs" end time: Feb 09 00:19 CET >"x86_64-emit-relocs" time elapsed: 00:00:00 >---------------------------------------------------------- > >89/293 Testing: x86_64-empty-file >89/293 Test: x86_64-empty-file >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/empty-file.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-empty-file" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/empty-file.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/empty-file.sh .sh >++ testname=empty-file >++ echo -n 'Testing empty-file ... ' >Testing empty-file ... ++ t=out/test/elf/x86_64/empty-file >++ mkdir -p out/test/elf/x86_64/empty-file >+ cat >+ cc -o out/test/elf/x86_64/empty-file/a.o -c -xc - >+ rm -f out/test/elf/x86_64/empty-file/b.script >+ touch out/test/elf/x86_64/empty-file/b.script >+ cc -B. -o out/test/elf/x86_64/empty-file/exe out/test/elf/x86_64/empty-file/a.o -Wl,--version-script,out/test/elf/x86_64/empty-file/b.script >+ out/test/elf/x86_64/empty-file/exe >+ grep -q 'Hello world' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.18 sec >---------------------------------------------------------- >Test Passed. >"x86_64-empty-file" end time: Feb 09 00:19 CET >"x86_64-empty-file" time elapsed: 00:00:00 >---------------------------------------------------------- > >90/293 Testing: x86_64-empty-input >90/293 Test: x86_64-empty-input >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/empty-input.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-empty-input" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/empty-input.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/empty-input.sh .sh >++ testname=empty-input >++ echo -n 'Testing empty-input ... ' >Testing empty-input ... ++ t=out/test/elf/x86_64/empty-input >++ mkdir -p out/test/elf/x86_64/empty-input >+ rm -f out/test/elf/x86_64/empty-input/a.o >+ touch out/test/elf/x86_64/empty-input/a.o >+ cc -B. -o out/test/elf/x86_64/empty-input/exe out/test/elf/x86_64/empty-input/a.o >+ grep -q 'unknown file type' out/test/elf/x86_64/empty-input/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.12 sec >---------------------------------------------------------- >Test Passed. >"x86_64-empty-input" end time: Feb 09 00:19 CET >"x86_64-empty-input" time elapsed: 00:00:00 >---------------------------------------------------------- > >91/293 Testing: x86_64-empty-version >91/293 Test: x86_64-empty-version >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/empty-version.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-empty-version" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/empty-version.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/empty-version.sh .sh >++ testname=empty-version >++ echo -n 'Testing empty-version ... ' >Testing empty-version ... ++ t=out/test/elf/x86_64/empty-version >++ mkdir -p out/test/elf/x86_64/empty-version >+ cat >+ cc -fPIC -c -o out/test/elf/x86_64/empty-version/a.o -xc - >+ cc -B. -shared -o out/test/elf/x86_64/empty-version/b.so out/test/elf/x86_64/empty-version/a.o >+ readelf --dyn-syms out/test/elf/x86_64/empty-version/b.so >+ grep -q 'bar1$' >+ readelf --dyn-syms out/test/elf/x86_64/empty-version/b.so >+ grep -q 'bar2$' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.16 sec >---------------------------------------------------------- >Test Passed. >"x86_64-empty-version" end time: Feb 09 00:19 CET >"x86_64-empty-version" time elapsed: 00:00:00 >---------------------------------------------------------- > >92/293 Testing: x86_64-entry >92/293 Test: x86_64-entry >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/entry.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-entry" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/entry.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/entry.sh .sh >++ testname=entry >++ echo -n 'Testing entry ... ' >Testing entry ... ++ t=out/test/elf/x86_64/entry >++ mkdir -p out/test/elf/x86_64/entry >+ '[' x86_64 = ppc64 ']' >+ cat >+ cc -o out/test/elf/x86_64/entry/a.o -c -x assembler - >+ cat >+ cc -o out/test/elf/x86_64/entry/b.o -c -xc - >+ cc -B. -o out/test/elf/x86_64/entry/exe1 -Wl,-e,foo out/test/elf/x86_64/entry/a.o out/test/elf/x86_64/entry/b.o >+ readelf -e out/test/elf/x86_64/entry/exe1 >+ grep -q 'Entry point address:.*0x1000$' out/test/elf/x86_64/entry/log >+ cc -B. -o out/test/elf/x86_64/entry/exe2 -Wl,-e,bar out/test/elf/x86_64/entry/a.o out/test/elf/x86_64/entry/b.o >+ readelf -e out/test/elf/x86_64/entry/exe2 >+ grep -q 'Entry point address:.*0x2000$' out/test/elf/x86_64/entry/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.27 sec >---------------------------------------------------------- >Test Passed. >"x86_64-entry" end time: Feb 09 00:19 CET >"x86_64-entry" time elapsed: 00:00:00 >---------------------------------------------------------- > >93/293 Testing: x86_64-exception >93/293 Test: x86_64-exception >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/exception.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-exception" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/exception.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/exception.sh .sh >++ testname=exception >++ echo -n 'Testing exception ... ' >Testing exception ... ++ t=out/test/elf/x86_64/exception >++ mkdir -p out/test/elf/x86_64/exception >+ '[' x86_64 = sh4 ']' >+ static= >+ test_cflags -static >+ echo 'int main() {}' >+ cc -static -o /dev/null -xc - >+ static=-static >+ static='-static -pthread' >+ cat >+ c++ -c -o out/test/elf/x86_64/exception/b.o out/test/elf/x86_64/exception/a.cc -fPIC >+ c++ -c -o out/test/elf/x86_64/exception/c.o out/test/elf/x86_64/exception/a.cc -fno-PIC >+ c++ -B. -o out/test/elf/x86_64/exception/exe1 out/test/elf/x86_64/exception/b.o -static -pthread >+ out/test/elf/x86_64/exception/exe1 >+ c++ -B. -o out/test/elf/x86_64/exception/exe2 out/test/elf/x86_64/exception/c.o -static -pthread >+ out/test/elf/x86_64/exception/exe2 >+ c++ -B. -o out/test/elf/x86_64/exception/exe3 out/test/elf/x86_64/exception/b.o -pie >+ out/test/elf/x86_64/exception/exe3 >+ c++ -B. -o out/test/elf/x86_64/exception/exe4 out/test/elf/x86_64/exception/c.o -no-pie >+ out/test/elf/x86_64/exception/exe4 >+ c++ -B. -o out/test/elf/x86_64/exception/exe5 out/test/elf/x86_64/exception/b.o -pie -Wl,--gc-sections >+ out/test/elf/x86_64/exception/exe5 >+ c++ -B. -o out/test/elf/x86_64/exception/exe6 out/test/elf/x86_64/exception/c.o -static -pthread -Wl,--gc-sections >+ out/test/elf/x86_64/exception/exe6 >+ '[' x86_64 = x86_64 ']' >+ c++ -c -o out/test/elf/x86_64/exception/d.o out/test/elf/x86_64/exception/a.cc -mcmodel=large -fPIC >+ c++ -B. -o out/test/elf/x86_64/exception/exe7 out/test/elf/x86_64/exception/d.o -static -pthread >+ out/test/elf/x86_64/exception/exe7 >+ c++ -B. -o out/test/elf/x86_64/exception/exe8 out/test/elf/x86_64/exception/d.o -pie >+ out/test/elf/x86_64/exception/exe8 >+ '[' x86_64 = x86_64 -o x86_64 = aarch64 ']' >+ c++ -c -o out/test/elf/x86_64/exception/e.o out/test/elf/x86_64/exception/a.cc -mcmodel=large -fno-PIC >+ c++ -B. -o out/test/elf/x86_64/exception/exe9 out/test/elf/x86_64/exception/e.o -static -pthread >+ out/test/elf/x86_64/exception/exe9 >+ c++ -B. -o out/test/elf/x86_64/exception/exe10 out/test/elf/x86_64/exception/e.o -no-pie >+ out/test/elf/x86_64/exception/exe10 >+ '[' x86_64 '!=' riscv32 ']' >+ c++ -B. -o out/test/elf/x86_64/exception/exe11 out/test/elf/x86_64/exception/b.o -pie >+ strip out/test/elf/x86_64/exception/exe11 >+ out/test/elf/x86_64/exception/exe11 >+ c++ -B. -o out/test/elf/x86_64/exception/exe12 out/test/elf/x86_64/exception/c.o -no-pie >+ strip out/test/elf/x86_64/exception/exe12 >+ out/test/elf/x86_64/exception/exe12 >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 1.24 sec >---------------------------------------------------------- >Test Passed. >"x86_64-exception" end time: Feb 09 00:19 CET >"x86_64-exception" time elapsed: 00:00:01 >---------------------------------------------------------- > >94/293 Testing: x86_64-exclude-libs >94/293 Test: x86_64-exclude-libs >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/exclude-libs.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-exclude-libs" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/exclude-libs.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/exclude-libs.sh .sh >++ testname=exclude-libs >++ echo -n 'Testing exclude-libs ... ' >Testing exclude-libs ... ++ t=out/test/elf/x86_64/exclude-libs >++ mkdir -p out/test/elf/x86_64/exclude-libs >+ cat >+ cc -fPIC -xc -c -o out/test/elf/x86_64/exclude-libs/a.o - >+ cat >+ cc -fPIC -xc -c -o out/test/elf/x86_64/exclude-libs/b.o - >+ rm -f out/test/elf/x86_64/exclude-libs/c.a >+ ar crs out/test/elf/x86_64/exclude-libs/c.a out/test/elf/x86_64/exclude-libs/a.o >+ rm -f out/test/elf/x86_64/exclude-libs/d.a >+ ar crs out/test/elf/x86_64/exclude-libs/d.a out/test/elf/x86_64/exclude-libs/b.o >+ cat >+ cc -fPIC -xc -c -o out/test/elf/x86_64/exclude-libs/e.o - >+ cc -B. -shared -o out/test/elf/x86_64/exclude-libs/f.so out/test/elf/x86_64/exclude-libs/e.o out/test/elf/x86_64/exclude-libs/c.a out/test/elf/x86_64/exclude-libs/d.a >+ readelf --dyn-syms out/test/elf/x86_64/exclude-libs/f.so >+ grep -Fq foo out/test/elf/x86_64/exclude-libs/log >+ grep -Fq bar out/test/elf/x86_64/exclude-libs/log >+ grep -Fq baz out/test/elf/x86_64/exclude-libs/log >+ cc -B. -shared -o out/test/elf/x86_64/exclude-libs/f.so out/test/elf/x86_64/exclude-libs/e.o out/test/elf/x86_64/exclude-libs/c.a out/test/elf/x86_64/exclude-libs/d.a -Wl,-exclude-libs=c.a >+ readelf --dyn-syms out/test/elf/x86_64/exclude-libs/f.so >+ grep -Fq foo out/test/elf/x86_64/exclude-libs/log >+ grep -Fq bar out/test/elf/x86_64/exclude-libs/log >+ grep -Fq baz out/test/elf/x86_64/exclude-libs/log >+ cc -B. -shared -o out/test/elf/x86_64/exclude-libs/f.so out/test/elf/x86_64/exclude-libs/e.o out/test/elf/x86_64/exclude-libs/c.a out/test/elf/x86_64/exclude-libs/d.a -Wl,-exclude-libs=c.a -Wl,-exclude-libs=d.a >+ readelf --dyn-syms out/test/elf/x86_64/exclude-libs/f.so >+ grep -Fq foo out/test/elf/x86_64/exclude-libs/log >+ grep -Fq bar out/test/elf/x86_64/exclude-libs/log >+ grep -Fq baz out/test/elf/x86_64/exclude-libs/log >+ cc -B. -shared -o out/test/elf/x86_64/exclude-libs/f.so out/test/elf/x86_64/exclude-libs/e.o out/test/elf/x86_64/exclude-libs/c.a out/test/elf/x86_64/exclude-libs/d.a -Wl,-exclude-libs=ALL >+ readelf --dyn-syms out/test/elf/x86_64/exclude-libs/f.so >+ grep -Fq foo out/test/elf/x86_64/exclude-libs/log >+ grep -Fq bar out/test/elf/x86_64/exclude-libs/log >+ grep -Fq baz out/test/elf/x86_64/exclude-libs/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.63 sec >---------------------------------------------------------- >Test Passed. >"x86_64-exclude-libs" end time: Feb 09 00:19 CET >"x86_64-exclude-libs" time elapsed: 00:00:00 >---------------------------------------------------------- > >95/293 Testing: x86_64-exclude-libs2 >95/293 Test: x86_64-exclude-libs2 >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/exclude-libs2.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-exclude-libs2" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/exclude-libs2.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/exclude-libs2.sh .sh >++ testname=exclude-libs2 >++ echo -n 'Testing exclude-libs2 ... ' >Testing exclude-libs2 ... ++ t=out/test/elf/x86_64/exclude-libs2 >++ mkdir -p out/test/elf/x86_64/exclude-libs2 >+ cat >+ cc -x assembler -c -o out/test/elf/x86_64/exclude-libs2/a.o - >+ rm -f out/test/elf/x86_64/exclude-libs2/b.a >+ ar crs out/test/elf/x86_64/exclude-libs2/b.a out/test/elf/x86_64/exclude-libs2/a.o >+ cat >+ cc -xc -c -o out/test/elf/x86_64/exclude-libs2/c.o - >+ cc -B. -shared -o out/test/elf/x86_64/exclude-libs2/d.so out/test/elf/x86_64/exclude-libs2/c.o out/test/elf/x86_64/exclude-libs2/b.a -Wl,-exclude-libs=b.a >+ readelf --dyn-syms out/test/elf/x86_64/exclude-libs2/d.so >+ grep -Fq foo out/test/elf/x86_64/exclude-libs2/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.22 sec >---------------------------------------------------------- >Test Passed. >"x86_64-exclude-libs2" end time: Feb 09 00:19 CET >"x86_64-exclude-libs2" time elapsed: 00:00:00 >---------------------------------------------------------- > >96/293 Testing: x86_64-exclude-libs3 >96/293 Test: x86_64-exclude-libs3 >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/exclude-libs3.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-exclude-libs3" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/exclude-libs3.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/exclude-libs3.sh .sh >++ testname=exclude-libs3 >++ echo -n 'Testing exclude-libs3 ... ' >Testing exclude-libs3 ... ++ t=out/test/elf/x86_64/exclude-libs3 >++ mkdir -p out/test/elf/x86_64/exclude-libs3 >+ cat >+ cc -fPIC -xc -c -o out/test/elf/x86_64/exclude-libs3/a.o - >+ rm -f out/test/elf/x86_64/exclude-libs3/b.a >+ ar crs out/test/elf/x86_64/exclude-libs3/b.a out/test/elf/x86_64/exclude-libs3/a.o >+ cat >+ cc -fPIC -xc -c -o out/test/elf/x86_64/exclude-libs3/c.o - >+ cc -B. -shared -o out/test/elf/x86_64/exclude-libs3/d.so out/test/elf/x86_64/exclude-libs3/c.o out/test/elf/x86_64/exclude-libs3/b.a -Wl,-exclude-libs=ALL >+ readelf --dyn-syms out/test/elf/x86_64/exclude-libs3/d.so >+ grep -Fq foo out/test/elf/x86_64/exclude-libs3/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.27 sec >---------------------------------------------------------- >Test Passed. >"x86_64-exclude-libs3" end time: Feb 09 00:19 CET >"x86_64-exclude-libs3" time elapsed: 00:00:00 >---------------------------------------------------------- > >97/293 Testing: x86_64-execstack >97/293 Test: x86_64-execstack >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/execstack.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-execstack" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/execstack.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/execstack.sh .sh >++ testname=execstack >++ echo -n 'Testing execstack ... ' >Testing execstack ... ++ t=out/test/elf/x86_64/execstack >++ mkdir -p out/test/elf/x86_64/execstack >+ cat >+ cc -c -xc -o out/test/elf/x86_64/execstack/a.o - >+ cc -B. -o out/test/elf/x86_64/execstack/exe out/test/elf/x86_64/execstack/a.o -Wl,-z,execstack >+ readelf --segments -W out/test/elf/x86_64/execstack/exe >+ grep -q 'GNU_STACK.* RWE ' >+ cc -B. -o out/test/elf/x86_64/execstack/exe out/test/elf/x86_64/execstack/a.o -Wl,-z,execstack -Wl,-z,noexecstack >+ readelf --segments -W out/test/elf/x86_64/execstack/exe >+ grep -q 'GNU_STACK.* RW ' >+ cc -B. -o out/test/elf/x86_64/execstack/exe out/test/elf/x86_64/execstack/a.o >+ readelf --segments -W out/test/elf/x86_64/execstack/exe >+ grep -q 'GNU_STACK.* RW ' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.32 sec >---------------------------------------------------------- >Test Passed. >"x86_64-execstack" end time: Feb 09 00:19 CET >"x86_64-execstack" time elapsed: 00:00:00 >---------------------------------------------------------- > >98/293 Testing: x86_64-execute-only >98/293 Test: x86_64-execute-only >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/execute-only.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-execute-only" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/execute-only.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/execute-only.sh .sh >++ testname=execute-only >++ echo -n 'Testing execute-only ... ' >Testing execute-only ... ++ t=out/test/elf/x86_64/execute-only >++ mkdir -p out/test/elf/x86_64/execute-only >+ '[' x86_64 = sparc64 ']' >+ cat >+ cc -o out/test/elf/x86_64/execute-only/a.o -c -xc - >+ cc -B. -o out/test/elf/x86_64/execute-only/exe out/test/elf/x86_64/execute-only/a.o -Wl,--execute-only >+ out/test/elf/x86_64/execute-only/exe >+ grep -q 'Hello world' >+ readelf -W --segments out/test/elf/x86_64/execute-only/exe >+ grep -Eq 'LOAD\s.*[0-9a-f] E 0x' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.17 sec >---------------------------------------------------------- >Test Passed. >"x86_64-execute-only" end time: Feb 09 00:19 CET >"x86_64-execute-only" time elapsed: 00:00:00 >---------------------------------------------------------- > >99/293 Testing: x86_64-export-dynamic >99/293 Test: x86_64-export-dynamic >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/export-dynamic.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-export-dynamic" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/export-dynamic.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/export-dynamic.sh .sh >++ testname=export-dynamic >++ echo -n 'Testing export-dynamic ... ' >Testing export-dynamic ... ++ t=out/test/elf/x86_64/export-dynamic >++ mkdir -p out/test/elf/x86_64/export-dynamic >+ cat >+ cc -o out/test/elf/x86_64/export-dynamic/a.o -c -x assembler - >+ cc -shared -fPIC -o out/test/elf/x86_64/export-dynamic/b.so -xc /dev/null >+ ./mold -o out/test/elf/x86_64/export-dynamic/exe out/test/elf/x86_64/export-dynamic/a.o out/test/elf/x86_64/export-dynamic/b.so --export-dynamic >+ readelf --dyn-syms out/test/elf/x86_64/export-dynamic/exe >+ grep -Eq 'NOTYPE\s+GLOBAL DEFAULT\s+[0-9]+ bar' out/test/elf/x86_64/export-dynamic/log >+ grep -Eq 'NOTYPE\s+GLOBAL DEFAULT\s+[0-9]+ _start' out/test/elf/x86_64/export-dynamic/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.19 sec >---------------------------------------------------------- >Test Passed. >"x86_64-export-dynamic" end time: Feb 09 00:19 CET >"x86_64-export-dynamic" time elapsed: 00:00:00 >---------------------------------------------------------- > >100/293 Testing: x86_64-export-from-exe >100/293 Test: x86_64-export-from-exe >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/export-from-exe.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-export-from-exe" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/export-from-exe.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/export-from-exe.sh .sh >++ testname=export-from-exe >++ echo -n 'Testing export-from-exe ... ' >Testing export-from-exe ... ++ t=out/test/elf/x86_64/export-from-exe >++ mkdir -p out/test/elf/x86_64/export-from-exe >+ cat >+ cc -o out/test/elf/x86_64/export-from-exe/a.o -c -xc - >+ cat >+ cc -shared -fPIC -o out/test/elf/x86_64/export-from-exe/b.so -xc - >+ cc -B. -o out/test/elf/x86_64/export-from-exe/exe out/test/elf/x86_64/export-from-exe/a.o out/test/elf/x86_64/export-from-exe/b.so >+ readelf --dyn-syms out/test/elf/x86_64/export-from-exe/exe >+ grep -q expfn2 >+ readelf --dyn-syms out/test/elf/x86_64/export-from-exe/exe >+ grep -q expfn1 >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.29 sec >---------------------------------------------------------- >Test Passed. >"x86_64-export-from-exe" end time: Feb 09 00:19 CET >"x86_64-export-from-exe" time elapsed: 00:00:00 >---------------------------------------------------------- > >103/293 Testing: x86_64-filter >103/293 Test: x86_64-filter >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/filter.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-filter" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/filter.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/filter.sh .sh >++ testname=filter >++ echo -n 'Testing filter ... ' >Testing filter ... ++ t=out/test/elf/x86_64/filter >++ mkdir -p out/test/elf/x86_64/filter >+ cat >+ cc -o out/test/elf/x86_64/filter/a.o -c -x assembler - >+ ./mold -o out/test/elf/x86_64/filter/b.so out/test/elf/x86_64/filter/a.o --filter foo -F bar -shared >+ readelf --dynamic out/test/elf/x86_64/filter/b.so >+ grep -Fq 'Filter library: [foo]' out/test/elf/x86_64/filter/log >+ grep -Fq 'Filter library: [bar]' out/test/elf/x86_64/filter/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.14 sec >---------------------------------------------------------- >Test Passed. >"x86_64-filter" end time: Feb 09 00:19 CET >"x86_64-filter" time elapsed: 00:00:00 >---------------------------------------------------------- > >101/293 Testing: x86_64-fatal-warnings >101/293 Test: x86_64-fatal-warnings >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/fatal-warnings.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-fatal-warnings" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/fatal-warnings.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/fatal-warnings.sh .sh >++ testname=fatal-warnings >++ echo -n 'Testing fatal-warnings ... ' >Testing fatal-warnings ... ++ t=out/test/elf/x86_64/fatal-warnings >++ mkdir -p out/test/elf/x86_64/fatal-warnings >+ cat >+ cc -fcommon -xc -c -o out/test/elf/x86_64/fatal-warnings/a.o - >+ cat >+ cc -fcommon -xc -c -o out/test/elf/x86_64/fatal-warnings/b.o - >+ cc -B. -o out/test/elf/x86_64/fatal-warnings/exe out/test/elf/x86_64/fatal-warnings/a.o out/test/elf/x86_64/fatal-warnings/b.o -Wl,-warn-common >+ cc -B. -o out/test/elf/x86_64/fatal-warnings/exe out/test/elf/x86_64/fatal-warnings/a.o out/test/elf/x86_64/fatal-warnings/b.o -Wl,-warn-common -Wl,-fatal-warnings >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.41 sec >---------------------------------------------------------- >Test Passed. >"x86_64-fatal-warnings" end time: Feb 09 00:19 CET >"x86_64-fatal-warnings" time elapsed: 00:00:00 >---------------------------------------------------------- > >106/293 Testing: x86_64-gdb-index-empty >106/293 Test: x86_64-gdb-index-empty >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/gdb-index-empty.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-gdb-index-empty" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/gdb-index-empty.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/gdb-index-empty.sh .sh >++ testname=gdb-index-empty >++ echo -n 'Testing gdb-index-empty ... ' >Testing gdb-index-empty ... ++ t=out/test/elf/x86_64/gdb-index-empty >++ mkdir -p out/test/elf/x86_64/gdb-index-empty >+ echo 'void _start() {}' >+ cc -c -o out/test/elf/x86_64/gdb-index-empty/a.o -xc - >+ ./mold -o out/test/elf/x86_64/gdb-index-empty/exe out/test/elf/x86_64/gdb-index-empty/a.o -gdb-index >+ readelf -WS out/test/elf/x86_64/gdb-index-empty/exe >+ grep -Fq .gdb_index out/test/elf/x86_64/gdb-index-empty/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.21 sec >---------------------------------------------------------- >Test Passed. >"x86_64-gdb-index-empty" end time: Feb 09 00:19 CET >"x86_64-gdb-index-empty" time elapsed: 00:00:00 >---------------------------------------------------------- > >107/293 Testing: x86_64-gdb-index-split-dwarf >107/293 Test: x86_64-gdb-index-split-dwarf >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/gdb-index-split-dwarf.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-gdb-index-split-dwarf" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/gdb-index-split-dwarf.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/gdb-index-split-dwarf.sh .sh >++ testname=gdb-index-split-dwarf >++ echo -n 'Testing gdb-index-split-dwarf ... ' >Testing gdb-index-split-dwarf ... ++ t=out/test/elf/x86_64/gdb-index-split-dwarf >++ mkdir -p out/test/elf/x86_64/gdb-index-split-dwarf >+ '[' x86_64 = x86_64 ']' >+ '[' x86_64 = riscv64 -o x86_64 = riscv32 -o x86_64 = sparc64 ']' >+ command -v gdb >+ skip >+ echo skipped >skipped >+ trap - EXIT >+ exit 0 ><end of output> >Test time = 0.08 sec >---------------------------------------------------------- >Test Pass Reason: >Skip regular expression found in output. Regex=[skipped] >"x86_64-gdb-index-split-dwarf" end time: Feb 09 00:19 CET >"x86_64-gdb-index-split-dwarf" time elapsed: 00:00:00 >---------------------------------------------------------- > >104/293 Testing: x86_64-func-addr >104/293 Test: x86_64-func-addr >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/func-addr.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-func-addr" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/func-addr.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/func-addr.sh .sh >++ testname=func-addr >++ echo -n 'Testing func-addr ... ' >Testing func-addr ... ++ t=out/test/elf/x86_64/func-addr >++ mkdir -p out/test/elf/x86_64/func-addr >+ cat >+ cc -shared -o out/test/elf/x86_64/func-addr/a.so -xc - >+ cat >+ cc -o out/test/elf/x86_64/func-addr/b.o -c -xc -fno-PIC - >+ cc -B. -o out/test/elf/x86_64/func-addr/exe -no-pie out/test/elf/x86_64/func-addr/b.o out/test/elf/x86_64/func-addr/a.so >+ out/test/elf/x86_64/func-addr/exe >+ grep -q 1 >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.46 sec >---------------------------------------------------------- >Test Passed. >"x86_64-func-addr" end time: Feb 09 00:20 CET >"x86_64-func-addr" time elapsed: 00:00:00 >---------------------------------------------------------- > >102/293 Testing: x86_64-filler >102/293 Test: x86_64-filler >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/filler.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-filler" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/filler.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/filler.sh .sh >++ testname=filler >++ echo -n 'Testing filler ... ' >Testing filler ... ++ t=out/test/elf/x86_64/filler >++ mkdir -p out/test/elf/x86_64/filler >+ test_cflags -static >+ echo 'int main() {}' >+ cc -static -o /dev/null -xc - >+ cat >+ cc -o out/test/elf/x86_64/filler/a.o -c -xc - >+ cc -B. -static -Wl,--filler,0xfe -o out/test/elf/x86_64/filler/exe1 out/test/elf/x86_64/filler/a.o >+ sed -i -e 's/--filler 0xfe/--filler 0x00/' out/test/elf/x86_64/filler/exe1 >+ od -x out/test/elf/x86_64/filler/exe1 >+ cc -B. -static -Wl,--filler,0x00 -o out/test/elf/x86_64/filler/exe2 out/test/elf/x86_64/filler/a.o >+ od -x out/test/elf/x86_64/filler/exe2 >+ diff -q out/test/elf/x86_64/filler/txt1 out/test/elf/x86_64/filler/txt2 >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.60 sec >---------------------------------------------------------- >Test Passed. >"x86_64-filler" end time: Feb 09 00:20 CET >"x86_64-filler" time elapsed: 00:00:00 >---------------------------------------------------------- > >108/293 Testing: x86_64-glibc-2.22-bug >108/293 Test: x86_64-glibc-2.22-bug >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/glibc-2.22-bug.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-glibc-2.22-bug" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/glibc-2.22-bug.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/glibc-2.22-bug.sh .sh >++ testname=glibc-2.22-bug >++ echo -n 'Testing glibc-2.22-bug ... ' >Testing glibc-2.22-bug ... ++ t=out/test/elf/x86_64/glibc-2.22-bug >++ mkdir -p out/test/elf/x86_64/glibc-2.22-bug >+ '[' x86_64 = alpha ']' >+ cat >+ cc -o out/test/elf/x86_64/glibc-2.22-bug/a.o -fPIC -c -xc - >+ cc -B. -o out/test/elf/x86_64/glibc-2.22-bug/b.so -shared out/test/elf/x86_64/glibc-2.22-bug/a.o >+ readelf -W --sections out/test/elf/x86_64/glibc-2.22-bug/b.so >+ grep -E -A1 '\.rela?\.dyn' >+ grep -Eq '\.rela?\.plt' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.33 sec >---------------------------------------------------------- >Test Passed. >"x86_64-glibc-2.22-bug" end time: Feb 09 00:20 CET >"x86_64-glibc-2.22-bug" time elapsed: 00:00:00 >---------------------------------------------------------- > >110/293 Testing: x86_64-gnu-hash >110/293 Test: x86_64-gnu-hash >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/gnu-hash.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-gnu-hash" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/gnu-hash.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/gnu-hash.sh .sh >++ testname=gnu-hash >++ echo -n 'Testing gnu-hash ... ' >Testing gnu-hash ... ++ t=out/test/elf/x86_64/gnu-hash >++ mkdir -p out/test/elf/x86_64/gnu-hash >+ cat >+ cc -c -o out/test/elf/x86_64/gnu-hash/a.o -xc - >+ cc -B. -o out/test/elf/x86_64/gnu-hash/b.so out/test/elf/x86_64/gnu-hash/a.o -Wl,-hash-style=gnu -shared >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.30 sec >---------------------------------------------------------- >Test Passed. >"x86_64-gnu-hash" end time: Feb 09 00:20 CET >"x86_64-gnu-hash" time elapsed: 00:00:00 >---------------------------------------------------------- > >109/293 Testing: x86_64-global-offset-table >109/293 Test: x86_64-global-offset-table >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/global-offset-table.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-global-offset-table" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/global-offset-table.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/global-offset-table.sh .sh >++ testname=global-offset-table >++ echo -n 'Testing global-offset-table ... ' >Testing global-offset-table ... ++ t=out/test/elf/x86_64/global-offset-table >++ mkdir -p out/test/elf/x86_64/global-offset-table >+ '[' x86_64 = ppc64le ']' >+ cat >+ cc -fPIC -c -o out/test/elf/x86_64/global-offset-table/a.o -xc - >+ cc -B. -no-pie -o out/test/elf/x86_64/global-offset-table/exe out/test/elf/x86_64/global-offset-table/a.o -Wl,-defsym=foo=_GLOBAL_OFFSET_TABLE_ >+ out/test/elf/x86_64/global-offset-table/exe >++ out/test/elf/x86_64/global-offset-table/exe >+ GOT_ADDR=203798 >+ '[' x86_64 = x86_64 -o x86_64 = i386 ']' >+ readelf -WS out/test/elf/x86_64/global-offset-table/exe >+ grep -q '\.got\.plt .*203798 ' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.40 sec >---------------------------------------------------------- >Test Passed. >"x86_64-global-offset-table" end time: Feb 09 00:20 CET >"x86_64-global-offset-table" time elapsed: 00:00:00 >---------------------------------------------------------- > >111/293 Testing: x86_64-gnu-unique >111/293 Test: x86_64-gnu-unique >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/gnu-unique.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-gnu-unique" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/gnu-unique.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/gnu-unique.sh .sh >++ testname=gnu-unique >++ echo -n 'Testing gnu-unique ... ' >Testing gnu-unique ... ++ t=out/test/elf/x86_64/gnu-unique >++ mkdir -p out/test/elf/x86_64/gnu-unique >+ command -v g++ >+ cat >+ g++ -o out/test/elf/x86_64/gnu-unique/a.o -c -std=c++17 -fno-gnu-unique -xc++ - >+ cat >+ g++ -o out/test/elf/x86_64/gnu-unique/b.o -c -std=c++17 -fgnu-unique -xc++ - >+ cc -B. -o out/test/elf/x86_64/gnu-unique/exe out/test/elf/x86_64/gnu-unique/a.o out/test/elf/x86_64/gnu-unique/b.o >+ out/test/elf/x86_64/gnu-unique/exe >+ grep -q foo=5 >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.41 sec >---------------------------------------------------------- >Test Passed. >"x86_64-gnu-unique" end time: Feb 09 00:20 CET >"x86_64-gnu-unique" time elapsed: 00:00:00 >---------------------------------------------------------- > >112/293 Testing: x86_64-gnu-warning >112/293 Test: x86_64-gnu-warning >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/gnu-warning.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-gnu-warning" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/gnu-warning.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/gnu-warning.sh .sh >++ testname=gnu-warning >++ echo -n 'Testing gnu-warning ... ' >Testing gnu-warning ... ++ t=out/test/elf/x86_64/gnu-warning >++ mkdir -p out/test/elf/x86_64/gnu-warning >+ cat >+ gcc -c -o out/test/elf/x86_64/gnu-warning/a.o -xc - >+ cc -B. -o out/test/elf/x86_64/gnu-warning/exe out/test/elf/x86_64/gnu-warning/a.o >+ grep -q 'Hello world' >+ out/test/elf/x86_64/gnu-warning/exe >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.41 sec >---------------------------------------------------------- >Test Passed. >"x86_64-gnu-warning" end time: Feb 09 00:20 CET >"x86_64-gnu-warning" time elapsed: 00:00:00 >---------------------------------------------------------- > >113/293 Testing: x86_64-hash-style >113/293 Test: x86_64-hash-style >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/hash-style.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-hash-style" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/hash-style.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/hash-style.sh .sh >++ testname=hash-style >++ echo -n 'Testing hash-style ... ' >Testing hash-style ... ++ t=out/test/elf/x86_64/hash-style >++ mkdir -p out/test/elf/x86_64/hash-style >+ cat >+ cc -o out/test/elf/x86_64/hash-style/a.o -c -xc - >+ ./mold -shared -o out/test/elf/x86_64/hash-style/b.so out/test/elf/x86_64/hash-style/a.o >+ readelf -WS out/test/elf/x86_64/hash-style/b.so >+ grep -Fq ' .hash' >+ readelf -WS out/test/elf/x86_64/hash-style/b.so >+ grep -Fq ' .gnu.hash' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.26 sec >---------------------------------------------------------- >Test Passed. >"x86_64-hash-style" end time: Feb 09 00:20 CET >"x86_64-hash-style" time elapsed: 00:00:00 >---------------------------------------------------------- > >105/293 Testing: x86_64-gc-sections >105/293 Test: x86_64-gc-sections >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/gc-sections.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-gc-sections" start time: Feb 09 00:19 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/gc-sections.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/gc-sections.sh .sh >++ testname=gc-sections >++ echo -n 'Testing gc-sections ... ' >Testing gc-sections ... ++ t=out/test/elf/x86_64/gc-sections >++ mkdir -p out/test/elf/x86_64/gc-sections >+ cat >+ c++ -B. -o out/test/elf/x86_64/gc-sections/exe1 out/test/elf/x86_64/gc-sections/a.cc -ffunction-sections -fdata-sections >+ readelf --symbols out/test/elf/x86_64/gc-sections/exe1 >+ grep -qv live_fn1 out/test/elf/x86_64/gc-sections/log.1 >+ grep -qv live_fn2 out/test/elf/x86_64/gc-sections/log.1 >+ grep -qv dead_fn1 out/test/elf/x86_64/gc-sections/log.1 >+ grep -qv dead_fn2 out/test/elf/x86_64/gc-sections/log.1 >+ grep -qv live_var1 out/test/elf/x86_64/gc-sections/log.1 >+ grep -qv live_var2 out/test/elf/x86_64/gc-sections/log.1 >+ grep -qv dead_var1 out/test/elf/x86_64/gc-sections/log.1 >+ grep -qv dead_var2 out/test/elf/x86_64/gc-sections/log.1 >+ out/test/elf/x86_64/gc-sections/exe1 >+ grep -q '1 2' >+ c++ -B. -o out/test/elf/x86_64/gc-sections/exe2 out/test/elf/x86_64/gc-sections/a.cc -ffunction-sections -fdata-sections -Wl,-gc-sections >+ readelf --symbols out/test/elf/x86_64/gc-sections/exe2 >+ grep -q live_fn1 out/test/elf/x86_64/gc-sections/log.2 >+ grep -q live_fn2 out/test/elf/x86_64/gc-sections/log.2 >+ grep -qv dead_fn1 out/test/elf/x86_64/gc-sections/log.2 >+ grep -qv dead_fn2 out/test/elf/x86_64/gc-sections/log.2 >+ grep -q live_var1 out/test/elf/x86_64/gc-sections/log.2 >+ grep -q live_var2 out/test/elf/x86_64/gc-sections/log.2 >+ grep -qv dead_var1 out/test/elf/x86_64/gc-sections/log.2 >+ grep -qv dead_var2 out/test/elf/x86_64/gc-sections/log.2 >+ out/test/elf/x86_64/gc-sections/exe2 >+ grep -q '1 2' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.82 sec >---------------------------------------------------------- >Test Passed. >"x86_64-gc-sections" end time: Feb 09 00:20 CET >"x86_64-gc-sections" time elapsed: 00:00:00 >---------------------------------------------------------- > >116/293 Testing: x86_64-help >116/293 Test: x86_64-help >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/help.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-help" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/help.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/help.sh .sh >++ testname=help >++ echo -n 'Testing help ... ' >Testing help ... ++ t=out/test/elf/x86_64/help >++ mkdir -p out/test/elf/x86_64/help >+ ./mold --help >+ grep -q Usage >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.09 sec >---------------------------------------------------------- >Test Passed. >"x86_64-help" end time: Feb 09 00:20 CET >"x86_64-help" time elapsed: 00:00:00 >---------------------------------------------------------- > >114/293 Testing: x86_64-hello-dynamic >114/293 Test: x86_64-hello-dynamic >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/hello-dynamic.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-hello-dynamic" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/hello-dynamic.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/hello-dynamic.sh .sh >++ testname=hello-dynamic >++ echo -n 'Testing hello-dynamic ... ' >Testing hello-dynamic ... ++ t=out/test/elf/x86_64/hello-dynamic >++ mkdir -p out/test/elf/x86_64/hello-dynamic >+ cat >+ cc -o out/test/elf/x86_64/hello-dynamic/a.o -c -xc - -fno-PIE >+ cc -B. -o out/test/elf/x86_64/hello-dynamic/exe out/test/elf/x86_64/hello-dynamic/a.o -no-pie >+ out/test/elf/x86_64/hello-dynamic/exe >+ grep -q 'Hello world' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.33 sec >---------------------------------------------------------- >Test Passed. >"x86_64-hello-dynamic" end time: Feb 09 00:20 CET >"x86_64-hello-dynamic" time elapsed: 00:00:00 >---------------------------------------------------------- > >119/293 Testing: x86_64-icf-small >119/293 Test: x86_64-icf-small >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/icf-small.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-icf-small" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/icf-small.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/icf-small.sh .sh >++ testname=icf-small >++ echo -n 'Testing icf-small ... ' >Testing icf-small ... ++ t=out/test/elf/x86_64/icf-small >++ mkdir -p out/test/elf/x86_64/icf-small >+ cat >+ cc -o out/test/elf/x86_64/icf-small/a.o -c -ffunction-sections -xc - >+ ./mold -o out/test/elf/x86_64/icf-small/exe -icf=all out/test/elf/x86_64/icf-small/a.o >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.23 sec >---------------------------------------------------------- >Test Passed. >"x86_64-icf-small" end time: Feb 09 00:20 CET >"x86_64-icf-small" time elapsed: 00:00:00 >---------------------------------------------------------- > >121/293 Testing: x86_64-ifunc-alias >121/293 Test: x86_64-ifunc-alias >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/ifunc-alias.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-ifunc-alias" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/ifunc-alias.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/ifunc-alias.sh .sh >++ testname=ifunc-alias >++ echo -n 'Testing ifunc-alias ... ' >Testing ifunc-alias ... ++ t=out/test/elf/x86_64/ifunc-alias >++ mkdir -p out/test/elf/x86_64/ifunc-alias >+ supports_ifunc >+ echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' >+ cc -c -o /dev/null -xc - >+ skip >+ echo skipped >skipped >+ trap - EXIT >+ exit 0 ><end of output> >Test time = 0.17 sec >---------------------------------------------------------- >Test Pass Reason: >Skip regular expression found in output. Regex=[skipped] >"x86_64-ifunc-alias" end time: Feb 09 00:20 CET >"x86_64-ifunc-alias" time elapsed: 00:00:00 >---------------------------------------------------------- > >118/293 Testing: x86_64-hidden-weak-undef >118/293 Test: x86_64-hidden-weak-undef >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/hidden-weak-undef.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-hidden-weak-undef" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/hidden-weak-undef.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/hidden-weak-undef.sh .sh >++ testname=hidden-weak-undef >++ echo -n 'Testing hidden-weak-undef ... ' >Testing hidden-weak-undef ... ++ t=out/test/elf/x86_64/hidden-weak-undef >++ mkdir -p out/test/elf/x86_64/hidden-weak-undef >+ cat >+ cc -o out/test/elf/x86_64/hidden-weak-undef/a.o -fPIC -c -xc - >+ cc -B. -shared -o out/test/elf/x86_64/hidden-weak-undef/b.so out/test/elf/x86_64/hidden-weak-undef/a.o >+ readelf -W --dyn-syms out/test/elf/x86_64/hidden-weak-undef/b.so >+ grep -qw foo out/test/elf/x86_64/hidden-weak-undef/log >+ grep -qw bar out/test/elf/x86_64/hidden-weak-undef/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.35 sec >---------------------------------------------------------- >Test Passed. >"x86_64-hidden-weak-undef" end time: Feb 09 00:20 CET >"x86_64-hidden-weak-undef" time elapsed: 00:00:00 >---------------------------------------------------------- > >115/293 Testing: x86_64-hello-static >115/293 Test: x86_64-hello-static >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/hello-static.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-hello-static" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/hello-static.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/hello-static.sh .sh >++ testname=hello-static >++ echo -n 'Testing hello-static ... ' >Testing hello-static ... ++ t=out/test/elf/x86_64/hello-static >++ mkdir -p out/test/elf/x86_64/hello-static >+ test_cflags -static >+ echo 'int main() {}'+ cc -static -o /dev/null -xc - > >+ cat >+ cc -o out/test/elf/x86_64/hello-static/a.o -c -xc - >+ cc -B. -o out/test/elf/x86_64/hello-static/exe out/test/elf/x86_64/hello-static/a.o -static >+ out/test/elf/x86_64/hello-static/exe >+ grep -q 'Hello world' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.52 sec >---------------------------------------------------------- >Test Passed. >"x86_64-hello-static" end time: Feb 09 00:20 CET >"x86_64-hello-static" time elapsed: 00:00:00 >---------------------------------------------------------- > >120/293 Testing: x86_64-icf >120/293 Test: x86_64-icf >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/icf.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-icf" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/icf.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/icf.sh .sh >++ testname=icf >++ echo -n 'Testing icf ... ' >Testing icf ... ++ t=out/test/elf/x86_64/icf >++ mkdir -p out/test/elf/x86_64/icf >+ '[' x86_64 = ppc64 ']' >+ cat >+ cc -c -o out/test/elf/x86_64/icf/a.o -ffunction-sections -fdata-sections -xc - >+ cc -B. -o out/test/elf/x86_64/icf/exe out/test/elf/x86_64/icf/a.o -Wl,-icf=all >+ out/test/elf/x86_64/icf/exe >+ grep -q '1 0' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.35 sec >---------------------------------------------------------- >Test Passed. >"x86_64-icf" end time: Feb 09 00:20 CET >"x86_64-icf" time elapsed: 00:00:00 >---------------------------------------------------------- > >122/293 Testing: x86_64-ifunc-dso >122/293 Test: x86_64-ifunc-dso >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/ifunc-dso.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-ifunc-dso" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/ifunc-dso.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/ifunc-dso.sh .sh >++ testname=ifunc-dso >++ echo -n 'Testing ifunc-dso ... ' >Testing ifunc-dso ... ++ t=out/test/elf/x86_64/ifunc-dso >++ mkdir -p out/test/elf/x86_64/ifunc-dso >+ supports_ifunc >+ echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' >+ cc -c -o /dev/null -xc - >+ skip >+ echo skipped >skipped >+ trap - EXIT >+ exit 0 ><end of output> >Test time = 0.17 sec >---------------------------------------------------------- >Test Pass Reason: >Skip regular expression found in output. Regex=[skipped] >"x86_64-ifunc-dso" end time: Feb 09 00:20 CET >"x86_64-ifunc-dso" time elapsed: 00:00:00 >---------------------------------------------------------- > >123/293 Testing: x86_64-ifunc-dynamic >123/293 Test: x86_64-ifunc-dynamic >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/ifunc-dynamic.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-ifunc-dynamic" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/ifunc-dynamic.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/ifunc-dynamic.sh .sh >++ testname=ifunc-dynamic >++ echo -n 'Testing ifunc-dynamic ... ' >Testing ifunc-dynamic ... ++ t=out/test/elf/x86_64/ifunc-dynamic >++ mkdir -p out/test/elf/x86_64/ifunc-dynamic >+ supports_ifunc >+ echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' >+ cc -c -o /dev/null -xc - >+ skip >+ echo skipped >skipped >+ trap - EXIT >+ exit 0 ><end of output> >Test time = 0.17 sec >---------------------------------------------------------- >Test Pass Reason: >Skip regular expression found in output. Regex=[skipped] >"x86_64-ifunc-dynamic" end time: Feb 09 00:20 CET >"x86_64-ifunc-dynamic" time elapsed: 00:00:00 >---------------------------------------------------------- > >117/293 Testing: x86_64-hidden-undef >117/293 Test: x86_64-hidden-undef >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/hidden-undef.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-hidden-undef" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/hidden-undef.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/hidden-undef.sh .sh >++ testname=hidden-undef >++ echo -n 'Testing hidden-undef ... ' >Testing hidden-undef ... ++ t=out/test/elf/x86_64/hidden-undef >++ mkdir -p out/test/elf/x86_64/hidden-undef >+ cat >+ cc -o out/test/elf/x86_64/hidden-undef/a.so -shared -fPIC -xc - >+ cat >+ cc -o out/test/elf/x86_64/hidden-undef/b.o -fPIC -c -xc - >+ cc -B. -o out/test/elf/x86_64/hidden-undef/exe out/test/elf/x86_64/hidden-undef/a.so out/test/elf/x86_64/hidden-undef/b.o >+ grep -q 'undefined symbol: foo' out/test/elf/x86_64/hidden-undef/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.51 sec >---------------------------------------------------------- >Test Passed. >"x86_64-hidden-undef" end time: Feb 09 00:20 CET >"x86_64-hidden-undef" time elapsed: 00:00:00 >---------------------------------------------------------- > >124/293 Testing: x86_64-ifunc-export >124/293 Test: x86_64-ifunc-export >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/ifunc-export.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-ifunc-export" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/ifunc-export.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/ifunc-export.sh .sh >++ testname=ifunc-export >++ echo -n 'Testing ifunc-export ... ' >Testing ifunc-export ... ++ t=out/test/elf/x86_64/ifunc-export >++ mkdir -p out/test/elf/x86_64/ifunc-export >+ supports_ifunc >+ echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' >+ cc -c -o /dev/null -xc - >+ skip >+ echo skipped >skipped >+ trap - EXIT >+ exit 0 ><end of output> >Test time = 0.15 sec >---------------------------------------------------------- >Test Pass Reason: >Skip regular expression found in output. Regex=[skipped] >"x86_64-ifunc-export" end time: Feb 09 00:20 CET >"x86_64-ifunc-export" time elapsed: 00:00:00 >---------------------------------------------------------- > >125/293 Testing: x86_64-ifunc-funcptr >125/293 Test: x86_64-ifunc-funcptr >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/ifunc-funcptr.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-ifunc-funcptr" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/ifunc-funcptr.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/ifunc-funcptr.sh .sh >++ testname=ifunc-funcptr >++ echo -n 'Testing ifunc-funcptr ... ' >Testing ifunc-funcptr ... ++ t=out/test/elf/x86_64/ifunc-funcptr >++ mkdir -p out/test/elf/x86_64/ifunc-funcptr >+ supports_ifunc >+ echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' >+ cc -c -o /dev/null -xc - >+ skip >+ echo skipped >skipped >+ trap - EXIT >+ exit 0 ><end of output> >Test time = 0.15 sec >---------------------------------------------------------- >Test Pass Reason: >Skip regular expression found in output. Regex=[skipped] >"x86_64-ifunc-funcptr" end time: Feb 09 00:20 CET >"x86_64-ifunc-funcptr" time elapsed: 00:00:00 >---------------------------------------------------------- > >129/293 Testing: x86_64-init-array-priorities >129/293 Test: x86_64-init-array-priorities >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/init-array-priorities.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-init-array-priorities" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/init-array-priorities.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/init-array-priorities.sh .sh >++ testname=init-array-priorities >++ echo -n 'Testing init-array-priorities ... ' >Testing init-array-priorities ... ++ t=out/test/elf/x86_64/init-array-priorities >++ mkdir -p out/test/elf/x86_64/init-array-priorities >+ ldd --help >+ grep -q musl >+ skip >+ echo skipped >skipped >+ trap - EXIT >+ exit 0 ><end of output> >Test time = 0.09 sec >---------------------------------------------------------- >Test Pass Reason: >Skip regular expression found in output. Regex=[skipped] >"x86_64-init-array-priorities" end time: Feb 09 00:20 CET >"x86_64-init-array-priorities" time elapsed: 00:00:00 >---------------------------------------------------------- > >126/293 Testing: x86_64-ifunc-noplt >126/293 Test: x86_64-ifunc-noplt >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/ifunc-noplt.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-ifunc-noplt" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/ifunc-noplt.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/ifunc-noplt.sh .sh >++ testname=ifunc-noplt >++ echo -n 'Testing ifunc-noplt ... ' >Testing ifunc-noplt ... ++ t=out/test/elf/x86_64/ifunc-noplt >++ mkdir -p out/test/elf/x86_64/ifunc-noplt >+ supports_ifunc >+ echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' >+ cc -c -o /dev/null -xc - >+ skip >+ echo skipped >skipped >+ trap - EXIT >+ exit 0 ><end of output> >Test time = 0.18 sec >---------------------------------------------------------- >Test Pass Reason: >Skip regular expression found in output. Regex=[skipped] >"x86_64-ifunc-noplt" end time: Feb 09 00:20 CET >"x86_64-ifunc-noplt" time elapsed: 00:00:00 >---------------------------------------------------------- > >127/293 Testing: x86_64-ifunc-static >127/293 Test: x86_64-ifunc-static >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/ifunc-static.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-ifunc-static" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/ifunc-static.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/ifunc-static.sh .sh >++ testname=ifunc-static >++ echo -n 'Testing ifunc-static ... ' >Testing ifunc-static ... ++ t=out/test/elf/x86_64/ifunc-static >++ mkdir -p out/test/elf/x86_64/ifunc-static >+ test_cflags -static >+ echo 'int main() {}' >+ cc -static -o /dev/null -xc - >+ supports_ifunc >+ echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' >+ cc -c -o /dev/null -xc - >+ skip >+ echo skipped >skipped >+ trap - EXIT >+ exit 0 ><end of output> >Test time = 0.35 sec >---------------------------------------------------------- >Test Pass Reason: >Skip regular expression found in output. Regex=[skipped] >"x86_64-ifunc-static" end time: Feb 09 00:20 CET >"x86_64-ifunc-static" time elapsed: 00:00:00 >---------------------------------------------------------- > >128/293 Testing: x86_64-image-base >128/293 Test: x86_64-image-base >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/image-base.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-image-base" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/image-base.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/image-base.sh .sh >++ testname=image-base >++ echo -n 'Testing image-base ... ' >Testing image-base ... ++ t=out/test/elf/x86_64/image-base >++ mkdir -p out/test/elf/x86_64/image-base >+ cat >+ cc -o out/test/elf/x86_64/image-base/a.o -c -xc - >+ cc -B. -no-pie -o out/test/elf/x86_64/image-base/exe1 out/test/elf/x86_64/image-base/a.o -Wl,--image-base=0x8000000 >+ grep -q 'Hello world' >+ out/test/elf/x86_64/image-base/exe1 >+ readelf -W --sections out/test/elf/x86_64/image-base/exe1 >+ grep -Eq '.interp\s+PROGBITS\s+0*8000...\b' >+ cat >+ cc -o out/test/elf/x86_64/image-base/b.o -c -xc - >+ '[' x86_64 = x86-64 -o x86_64 = aarch64 ']' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.48 sec >---------------------------------------------------------- >Test Passed. >"x86_64-image-base" end time: Feb 09 00:20 CET >"x86_64-image-base" time elapsed: 00:00:00 >---------------------------------------------------------- > >132/293 Testing: x86_64-initfirst >132/293 Test: x86_64-initfirst >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/initfirst.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-initfirst" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/initfirst.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/initfirst.sh .sh >++ testname=initfirst >++ echo -n 'Testing initfirst ... ' >Testing initfirst ... ++ t=out/test/elf/x86_64/initfirst >++ mkdir -p out/test/elf/x86_64/initfirst >+ cat >+ cc -c -fPIC -o out/test/elf/x86_64/initfirst/a.o -xc - >+ cc -B. -shared -o out/test/elf/x86_64/initfirst/b.so out/test/elf/x86_64/initfirst/a.o -Wl,-z,initfirst >+ grep -q 'Flags:.*INITFIRST' >+ readelf --dynamic out/test/elf/x86_64/initfirst/b.so >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.37 sec >---------------------------------------------------------- >Test Passed. >"x86_64-initfirst" end time: Feb 09 00:20 CET >"x86_64-initfirst" time elapsed: 00:00:00 >---------------------------------------------------------- > >133/293 Testing: x86_64-interpose >133/293 Test: x86_64-interpose >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/interpose.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-interpose" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/interpose.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/interpose.sh .sh >++ testname=interpose >++ echo -n 'Testing interpose ... ' >Testing interpose ... ++ t=out/test/elf/x86_64/interpose >++ mkdir -p out/test/elf/x86_64/interpose >+ cat >+ cc -c -fPIC -o out/test/elf/x86_64/interpose/a.o -xc - >+ cc -B. -shared -o out/test/elf/x86_64/interpose/b.so out/test/elf/x86_64/interpose/a.o -Wl,-z,interpose >+ readelf --dynamic out/test/elf/x86_64/interpose/b.so >+ grep -q 'Flags:.*INTERPOSE' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.36 sec >---------------------------------------------------------- >Test Passed. >"x86_64-interpose" end time: Feb 09 00:20 CET >"x86_64-interpose" time elapsed: 00:00:00 >---------------------------------------------------------- > >131/293 Testing: x86_64-init >131/293 Test: x86_64-init >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/init.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-init" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/init.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/init.sh .sh >++ testname=init >++ echo -n 'Testing init ... ' >Testing init ... ++ t=out/test/elf/x86_64/init >++ mkdir -p out/test/elf/x86_64/init >+ cat >+ cc -o out/test/elf/x86_64/init/a.o -c -xc - >+ cc -B. -o out/test/elf/x86_64/init/exe out/test/elf/x86_64/init/a.o -Wl,-init,foo >+ readelf --dynamic out/test/elf/x86_64/init/exe >+ grep -Fq '(INIT)' >+ cc -B. -o out/test/elf/x86_64/init/exe out/test/elf/x86_64/init/a.o -Wl,-init,no-such-symbol >+ readelf --dynamic out/test/elf/x86_64/init/exe >+ grep -Fq '(INIT)' out/test/elf/x86_64/init/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.47 sec >---------------------------------------------------------- >Test Passed. >"x86_64-init" end time: Feb 09 00:20 CET >"x86_64-init" time elapsed: 00:00:00 >---------------------------------------------------------- > >130/293 Testing: x86_64-init-in-dso >130/293 Test: x86_64-init-in-dso >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/init-in-dso.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-init-in-dso" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/init-in-dso.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/init-in-dso.sh .sh >++ testname=init-in-dso >++ echo -n 'Testing init-in-dso ... ' >Testing init-in-dso ... ++ t=out/test/elf/x86_64/init-in-dso >++ mkdir -p out/test/elf/x86_64/init-in-dso >+ cat >+ cc -shared -o out/test/elf/x86_64/init-in-dso/a.so -xc - >+ cat >+ cc -o out/test/elf/x86_64/init-in-dso/b.o -c -xc - >+ cc -B. -o out/test/elf/x86_64/init-in-dso/exe out/test/elf/x86_64/init-in-dso/a.so out/test/elf/x86_64/init-in-dso/b.o -Wl,-init,foo >+ readelf --dynamic out/test/elf/x86_64/init-in-dso/exe >+ grep -Fq '(INIT)' out/test/elf/x86_64/init-in-dso/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.53 sec >---------------------------------------------------------- >Test Passed. >"x86_64-init-in-dso" end time: Feb 09 00:20 CET >"x86_64-init-in-dso" time elapsed: 00:00:00 >---------------------------------------------------------- > >134/293 Testing: x86_64-invalid-version-script >134/293 Test: x86_64-invalid-version-script >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/invalid-version-script.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-invalid-version-script" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/invalid-version-script.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/invalid-version-script.sh .sh >++ testname=invalid-version-script >++ echo -n 'Testing invalid-version-script ... ' >Testing invalid-version-script ... ++ t=out/test/elf/x86_64/invalid-version-script >++ mkdir -p out/test/elf/x86_64/invalid-version-script >+ echo 'int main() {}' >+ cc -c -o out/test/elf/x86_64/invalid-version-script/a.o -xc - >+ echo 'VER1 { foo[12; };' >+ cc -B. -shared -o out/test/elf/x86_64/invalid-version-script/c.so -Wl,-version-script,out/test/elf/x86_64/invalid-version-script/b.ver out/test/elf/x86_64/invalid-version-script/a.o >+ grep -q 'invalid version pattern' out/test/elf/x86_64/invalid-version-script/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.32 sec >---------------------------------------------------------- >Test Passed. >"x86_64-invalid-version-script" end time: Feb 09 00:20 CET >"x86_64-invalid-version-script" time elapsed: 00:00:00 >---------------------------------------------------------- > >137/293 Testing: x86_64-large-alignment >137/293 Test: x86_64-large-alignment >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/large-alignment.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-large-alignment" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/large-alignment.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/large-alignment.sh .sh >++ testname=large-alignment >++ echo -n 'Testing large-alignment ... ' >Testing large-alignment ... ++ t=out/test/elf/x86_64/large-alignment >++ mkdir -p out/test/elf/x86_64/large-alignment >+ '[' x86_64 = i386 ']' >+ cat >+ cc -o out/test/elf/x86_64/large-alignment/a.o -c -xc - -ffunction-sections >+ cc -B. -o out/test/elf/x86_64/large-alignment/exe out/test/elf/x86_64/large-alignment/a.o >+ out/test/elf/x86_64/large-alignment/exe >+ grep -q 'Hello world' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.35 sec >---------------------------------------------------------- >Test Passed. >"x86_64-large-alignment" end time: Feb 09 00:20 CET >"x86_64-large-alignment" time elapsed: 00:00:00 >---------------------------------------------------------- > >138/293 Testing: x86_64-large-max-page-size-strip >138/293 Test: x86_64-large-max-page-size-strip >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/large-max-page-size-strip.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-large-max-page-size-strip" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/large-max-page-size-strip.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/large-max-page-size-strip.sh .sh >++ testname=large-max-page-size-strip >++ echo -n 'Testing large-max-page-size-strip ... ' >Testing large-max-page-size-strip ... ++ t=out/test/elf/x86_64/large-max-page-size-strip >++ mkdir -p out/test/elf/x86_64/large-max-page-size-strip >+ '[' x86_64 = arm ']' >+ strip=strip >+ command -v strip >+ cc -o out/test/elf/x86_64/large-max-page-size-strip/a.o -c -xc - -fPIC >+ cat >+ cc -B. -o out/test/elf/x86_64/large-max-page-size-strip/exe out/test/elf/x86_64/large-max-page-size-strip/a.o -pie -Wl,-zmax-page-size=0x200000 >+ strip out/test/elf/x86_64/large-max-page-size-strip/exe >+ out/test/elf/x86_64/large-max-page-size-strip/exe >+ grep -q 'Hello world' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.35 sec >---------------------------------------------------------- >Test Passed. >"x86_64-large-max-page-size-strip" end time: Feb 09 00:20 CET >"x86_64-large-max-page-size-strip" time elapsed: 00:00:00 >---------------------------------------------------------- > >139/293 Testing: x86_64-large-max-page-size >139/293 Test: x86_64-large-max-page-size >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/large-max-page-size.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-large-max-page-size" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/large-max-page-size.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/large-max-page-size.sh .sh >++ testname=large-max-page-size >++ echo -n 'Testing large-max-page-size ... ' >Testing large-max-page-size ... ++ t=out/test/elf/x86_64/large-max-page-size >++ mkdir -p out/test/elf/x86_64/large-max-page-size >+ cc -o out/test/elf/x86_64/large-max-page-size/a.o -c -xc - + -fPIC >cat >+ cc -B. -o out/test/elf/x86_64/large-max-page-size/exe out/test/elf/x86_64/large-max-page-size/a.o -pie -Wl,-zmax-page-size=0x200000 >+ out/test/elf/x86_64/large-max-page-size/exe >+ grep -q 'Hello world' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.33 sec >---------------------------------------------------------- >Test Passed. >"x86_64-large-max-page-size" end time: Feb 09 00:20 CET >"x86_64-large-max-page-size" time elapsed: 00:00:00 >---------------------------------------------------------- > >136/293 Testing: x86_64-large-alignment-dso >136/293 Test: x86_64-large-alignment-dso >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/large-alignment-dso.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-large-alignment-dso" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/large-alignment-dso.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/large-alignment-dso.sh .sh >++ testname=large-alignment-dso >++ echo -n 'Testing large-alignment-dso ... ' >Testing large-alignment-dso ... ++ t=out/test/elf/x86_64/large-alignment-dso >++ mkdir -p out/test/elf/x86_64/large-alignment-dso >+ '[' x86_64 = i386 ']' >+ cat >+ cc -o out/test/elf/x86_64/large-alignment-dso/a.o -c -xc - -ffunction-sections -fPIC >+ cc -B. -o out/test/elf/x86_64/large-alignment-dso/b.so out/test/elf/x86_64/large-alignment-dso/a.o -shared >+ cat >+ cc -o out/test/elf/x86_64/large-alignment-dso/c.o -c -xc - >+ cc -B. -o out/test/elf/x86_64/large-alignment-dso/exe out/test/elf/x86_64/large-alignment-dso/c.o out/test/elf/x86_64/large-alignment-dso/b.so >+ out/test/elf/x86_64/large-alignment-dso/exe >+ grep -q 'Hello world' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.54 sec >---------------------------------------------------------- >Test Passed. >"x86_64-large-alignment-dso" end time: Feb 09 00:20 CET >"x86_64-large-alignment-dso" time elapsed: 00:00:00 >---------------------------------------------------------- > >140/293 Testing: x86_64-large-text >140/293 Test: x86_64-large-text >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/large-text.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-large-text" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/large-text.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/large-text.sh .sh >++ testname=large-text >++ echo -n 'Testing large-text ... ' >Testing large-text ... ++ t=out/test/elf/x86_64/large-text >++ mkdir -p out/test/elf/x86_64/large-text >+ cc -o out/test/elf/x86_64/large-text/a.o -c -xassembler - >+ cat >+ cc -o out/test/elf/x86_64/large-text/b.o -c -xc - >+ cat >+ cc -B. -o out/test/elf/x86_64/large-text/exe out/test/elf/x86_64/large-text/a.o out/test/elf/x86_64/large-text/b.o >+ out/test/elf/x86_64/large-text/exe >+ grep -q 'Hello world' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.59 sec >---------------------------------------------------------- >Test Passed. >"x86_64-large-text" end time: Feb 09 00:20 CET >"x86_64-large-text" time elapsed: 00:00:00 >---------------------------------------------------------- > >142/293 Testing: x86_64-linker-script-defsym >142/293 Test: x86_64-linker-script-defsym >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/linker-script-defsym.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-linker-script-defsym" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/linker-script-defsym.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/linker-script-defsym.sh .sh >++ testname=linker-script-defsym >++ echo -n 'Testing linker-script-defsym ... ' >Testing linker-script-defsym ... ++ t=out/test/elf/x86_64/linker-script-defsym >++ mkdir -p out/test/elf/x86_64/linker-script-defsym >+ cat >+ cc -o out/test/elf/x86_64/linker-script-defsym/a.o -c -xc - >+ cat >+ cc -B. -o out/test/elf/x86_64/linker-script-defsym/b.so -shared out/test/elf/x86_64/linker-script-defsym/script out/test/elf/x86_64/linker-script-defsym/a.o >+ readelf -sW out/test/elf/x86_64/linker-script-defsym/b.so >+ grep -q 'FUNC .* bar' >+ cat >+ cc -o out/test/elf/x86_64/linker-script-defsym/c.o -c -xc - >+ cc -B. -o out/test/elf/x86_64/linker-script-defsym/exe out/test/elf/x86_64/linker-script-defsym/c.o out/test/elf/x86_64/linker-script-defsym/b.so >+ out/test/elf/x86_64/linker-script-defsym/exe >+ grep -q 42 >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.44 sec >---------------------------------------------------------- >Test Passed. >"x86_64-linker-script-defsym" end time: Feb 09 00:20 CET >"x86_64-linker-script-defsym" time elapsed: 00:00:00 >---------------------------------------------------------- > >135/293 Testing: x86_64-issue646 >135/293 Test: x86_64-issue646 >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/issue646.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-issue646" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/issue646.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/issue646.sh .sh >++ testname=issue646 >++ echo -n 'Testing issue646 ... ' >Testing issue646 ... ++ t=out/test/elf/x86_64/issue646 >++ mkdir -p out/test/elf/x86_64/issue646 >+ '[' x86_64 = sh4 ']' >+ cat >+ c++ -o out/test/elf/x86_64/issue646/a.o -c -xc++ - >+ c++ -B. -o out/test/elf/x86_64/issue646/exe out/test/elf/x86_64/issue646/a.o >+ out/test/elf/x86_64/issue646/exe >+ grep -q 'error: exception' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.90 sec >---------------------------------------------------------- >Test Passed. >"x86_64-issue646" end time: Feb 09 00:20 CET >"x86_64-issue646" time elapsed: 00:00:00 >---------------------------------------------------------- > >144/293 Testing: x86_64-linker-script >144/293 Test: x86_64-linker-script >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/linker-script.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-linker-script" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/linker-script.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/linker-script.sh .sh >++ testname=linker-script >++ echo -n 'Testing linker-script ... ' >Testing linker-script ... ++ t=out/test/elf/x86_64/linker-script >++ mkdir -p out/test/elf/x86_64/linker-script >+ cat >+ cc -o out/test/elf/x86_64/linker-script/a.o -c -xc - >+ cat >+ cc -B. -o out/test/elf/x86_64/linker-script/exe out/test/elf/x86_64/linker-script/script >+ out/test/elf/x86_64/linker-script/exe >+ grep -q 'Hello world' >+ cc -B. -o out/test/elf/x86_64/linker-script/exe -Wl,-T,out/test/elf/x86_64/linker-script/script >+ out/test/elf/x86_64/linker-script/exe >+ grep -q 'Hello world' >+ cc -B. -o out/test/elf/x86_64/linker-script/exe -Wl,--script,out/test/elf/x86_64/linker-script/script >+ out/test/elf/x86_64/linker-script/exe >+ grep -q 'Hello world' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.51 sec >---------------------------------------------------------- >Test Passed. >"x86_64-linker-script" end time: Feb 09 00:20 CET >"x86_64-linker-script" time elapsed: 00:00:00 >---------------------------------------------------------- > >141/293 Testing: x86_64-link-order >141/293 Test: x86_64-link-order >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/link-order.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-link-order" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/link-order.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/link-order.sh .sh >++ testname=link-order >++ echo -n 'Testing link-order ... ' >Testing link-order ... ++ t=out/test/elf/x86_64/link-order >++ mkdir -p out/test/elf/x86_64/link-order >+ cat >+ cc -fPIC -c -o out/test/elf/x86_64/link-order/a.o -xc - >+ cc -B. -shared -o out/test/elf/x86_64/link-order/libfoo.so out/test/elf/x86_64/link-order/a.o >+ ar crs out/test/elf/x86_64/link-order/libfoo.a out/test/elf/x86_64/link-order/a.o >+ cat >+ cc -c -o out/test/elf/x86_64/link-order/b.o -xc - >+ cc -B. -o out/test/elf/x86_64/link-order/exe out/test/elf/x86_64/link-order/b.o -Wl,--as-needed out/test/elf/x86_64/link-order/libfoo.so out/test/elf/x86_64/link-order/libfoo.a >+ readelf --dynamic out/test/elf/x86_64/link-order/exe >+ grep -q libfoo >+ cc -B. -o out/test/elf/x86_64/link-order/exe out/test/elf/x86_64/link-order/b.o -Wl,--as-needed out/test/elf/x86_64/link-order/libfoo.a out/test/elf/x86_64/link-order/libfoo.so >+ readelf --dynamic out/test/elf/x86_64/link-order/exe >+ grep -q libfoo >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.71 sec >---------------------------------------------------------- >Test Passed. >"x86_64-link-order" end time: Feb 09 00:20 CET >"x86_64-link-order" time elapsed: 00:00:00 >---------------------------------------------------------- > >145/293 Testing: x86_64-linker-script2 >145/293 Test: x86_64-linker-script2 >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/linker-script2.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-linker-script2" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/linker-script2.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/linker-script2.sh .sh >++ testname=linker-script2 >++ echo -n 'Testing linker-script2 ... ' >Testing linker-script2 ... ++ t=out/test/elf/x86_64/linker-script2 >++ mkdir -p out/test/elf/x86_64/linker-script2 >+ cat >+ cc -o out/test/elf/x86_64/linker-script2/a.o -c -xc - >+ mkdir -p out/test/elf/x86_64/linker-script2/foo/bar >+ rm -f out/test/elf/x86_64/linker-script2/foo/bar/libfoo.a >+ ar rcs out/test/elf/x86_64/linker-script2/foo/bar/libfoo.a out/test/elf/x86_64/linker-script2/a.o >+ cat >+ cc -B. -o out/test/elf/x86_64/linker-script2/exe -Lout/test/elf/x86_64/linker-script2/foo/bar out/test/elf/x86_64/linker-script2/b.script >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.35 sec >---------------------------------------------------------- >Test Passed. >"x86_64-linker-script2" end time: Feb 09 00:20 CET >"x86_64-linker-script2" time elapsed: 00:00:00 >---------------------------------------------------------- > >147/293 Testing: x86_64-linker-script4 >147/293 Test: x86_64-linker-script4 >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/linker-script4.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-linker-script4" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/linker-script4.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/linker-script4.sh .sh >++ testname=linker-script4 >++ echo -n 'Testing linker-script4 ... ' >Testing linker-script4 ... ++ t=out/test/elf/x86_64/linker-script4 >++ mkdir -p out/test/elf/x86_64/linker-script4 >+ echo 'VERSION { ver_x { global: *; }; };' >+ cat >+ cc -B. -shared -o out/test/elf/x86_64/linker-script4/c.so out/test/elf/x86_64/linker-script4/a.script out/test/elf/x86_64/linker-script4/b.s >+ readelf --version-info out/test/elf/x86_64/linker-script4/c.so >+ grep -Fq 'Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x' out/test/elf/x86_64/linker-script4/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.25 sec >---------------------------------------------------------- >Test Passed. >"x86_64-linker-script4" end time: Feb 09 00:20 CET >"x86_64-linker-script4" time elapsed: 00:00:00 >---------------------------------------------------------- > >146/293 Testing: x86_64-linker-script3 >146/293 Test: x86_64-linker-script3 >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/linker-script3.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-linker-script3" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/linker-script3.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/linker-script3.sh .sh >++ testname=linker-script3 >++ echo -n 'Testing linker-script3 ... ' >Testing linker-script3 ... ++ t=out/test/elf/x86_64/linker-script3 >++ mkdir -p out/test/elf/x86_64/linker-script3 >+ mkdir -p out/test/elf/x86_64/linker-script3/foo >+ cat >+ cc -o out/test/elf/x86_64/linker-script3/foo/a.o -c -xc - >+ cat >+ cc -B. -o out/test/elf/x86_64/linker-script3/exe -Lout/test/elf/x86_64/linker-script3/foo out/test/elf/x86_64/linker-script3/b.script >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.30 sec >---------------------------------------------------------- >Test Passed. >"x86_64-linker-script3" end time: Feb 09 00:20 CET >"x86_64-linker-script3" time elapsed: 00:00:00 >---------------------------------------------------------- > >151/293 Testing: x86_64-missing-but-ok >151/293 Test: x86_64-missing-but-ok >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/missing-but-ok.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-missing-but-ok" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/missing-but-ok.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/missing-but-ok.sh .sh >++ testname=missing-but-ok >++ echo -n 'Testing missing-but-ok ... ' >Testing missing-but-ok ... ++ t=out/test/elf/x86_64/missing-but-ok >++ mkdir -p out/test/elf/x86_64/missing-but-ok >+ cc -o out/test/elf/x86_64/missing-but-ok/a.o -c -x assembler - >+ cat >+ ./mold -o out/test/elf/x86_64/missing-but-ok/exe out/test/elf/x86_64/missing-but-ok/a.o >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.14 sec >---------------------------------------------------------- >Test Passed. >"x86_64-missing-but-ok" end time: Feb 09 00:20 CET >"x86_64-missing-but-ok" time elapsed: 00:00:00 >---------------------------------------------------------- > >143/293 Testing: x86_64-linker-script-relocatable >143/293 Test: x86_64-linker-script-relocatable >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/linker-script-relocatable.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-linker-script-relocatable" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/linker-script-relocatable.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/linker-script-relocatable.sh .sh >++ testname=linker-script-relocatable >++ echo -n 'Testing linker-script-relocatable ... ' >Testing linker-script-relocatable ... ++ t=out/test/elf/x86_64/linker-script-relocatable >++ mkdir -p out/test/elf/x86_64/linker-script-relocatable >+ nm mold >+ grep -q __tsan_init >+ cat >+ cc -c -o out/test/elf/x86_64/linker-script-relocatable/a.o -xc - >+ cc -c -o + cat >out/test/elf/x86_64/linker-script-relocatable/b.o -xc - >+ echo 'INPUT(out/test/elf/x86_64/linker-script-relocatable/a.o out/test/elf/x86_64/linker-script-relocatable/b.o)' >+ ./mold --relocatable -o out/test/elf/x86_64/linker-script-relocatable/d.o out/test/elf/x86_64/linker-script-relocatable/c.script >+ cc -B. -o out/test/elf/x86_64/linker-script-relocatable/exe out/test/elf/x86_64/linker-script-relocatable/d.o >+ out/test/elf/x86_64/linker-script-relocatable/exe >+ grep -q Hello >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.91 sec >---------------------------------------------------------- >Test Passed. >"x86_64-linker-script-relocatable" end time: Feb 09 00:20 CET >"x86_64-linker-script-relocatable" time elapsed: 00:00:00 >---------------------------------------------------------- > >152/293 Testing: x86_64-missing-error >152/293 Test: x86_64-missing-error >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/missing-error.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-missing-error" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/missing-error.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/missing-error.sh .sh >++ testname=missing-error >++ echo -n 'Testing missing-error ... ' >Testing missing-error ... ++ t=out/test/elf/x86_64/missing-error >++ mkdir -p out/test/elf/x86_64/missing-error >+ cat >+ cc -o out/test/elf/x86_64/missing-error/a.o -c -xc - >+ ./mold -o out/test/elf/x86_64/missing-error/exe out/test/elf/x86_64/missing-error/a.o >+ grep -q 'undefined symbol: foo' out/test/elf/x86_64/missing-error/log >+ grep -q '>>> .*a\.o' out/test/elf/x86_64/missing-error/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.20 sec >---------------------------------------------------------- >Test Passed. >"x86_64-missing-error" end time: Feb 09 00:20 CET >"x86_64-missing-error" time elapsed: 00:00:00 >---------------------------------------------------------- > >150/293 Testing: x86_64-mergeable-strings >150/293 Test: x86_64-mergeable-strings >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/mergeable-strings.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-mergeable-strings" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/mergeable-strings.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 >+ cc -o out/test/elf/x86_64/mergeable-strings/a.o -c -xc - -O2 >+ cat >+ 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 >+ out/test/elf/x86_64/mergeable-strings/exe1 >+ grep -Eq '^(\S+) \1 (\S+) \2 (\S+) \3 (\S+) \4$' >+ 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 >+ out/test/elf/x86_64/mergeable-strings/exe2 >+ grep -Eq '^(\S+) \1 (\S+) \2 (\S+) \3 (\S+) \4$' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.44 sec >---------------------------------------------------------- >Test Passed. >"x86_64-mergeable-strings" end time: Feb 09 00:20 CET >"x86_64-mergeable-strings" time elapsed: 00:00:00 >---------------------------------------------------------- > >155/293 Testing: x86_64-no-eh-frame-header >155/293 Test: x86_64-no-eh-frame-header >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/no-eh-frame-header.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-no-eh-frame-header" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/no-eh-frame-header.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/no-eh-frame-header.sh .sh >++ testname=no-eh-frame-header >++ echo -n 'Testing no-eh-frame-header ... ' >Testing no-eh-frame-header ... ++ t=out/test/elf/x86_64/no-eh-frame-header >++ mkdir -p out/test/elf/x86_64/no-eh-frame-header >+ cat >+ cc -o out/test/elf/x86_64/no-eh-frame-header/a.o -c -xc - >+ cc -B. -Wl,--no-eh-frame-hdr -Wl,--thread-count=1 -O0 -o out/test/elf/x86_64/no-eh-frame-header/exe out/test/elf/x86_64/no-eh-frame-header/a.o >+ readelf -WS out/test/elf/x86_64/no-eh-frame-header/exe >+ grep -F .eh_frame_hdr out/test/elf/x86_64/no-eh-frame-header/log >+ out/test/elf/x86_64/no-eh-frame-header/exe >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.20 sec >---------------------------------------------------------- >Test Passed. >"x86_64-no-eh-frame-header" end time: Feb 09 00:20 CET >"x86_64-no-eh-frame-header" time elapsed: 00:00:00 >---------------------------------------------------------- > >156/293 Testing: x86_64-no-quick-exit >156/293 Test: x86_64-no-quick-exit >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/no-quick-exit.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-no-quick-exit" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/no-quick-exit.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/no-quick-exit.sh .sh >++ testname=no-quick-exit >++ echo -n 'Testing no-quick-exit ... ' >Testing no-quick-exit ... ++ t=out/test/elf/x86_64/no-quick-exit >++ mkdir -p out/test/elf/x86_64/no-quick-exit >+ cat >+ cc -o out/test/elf/x86_64/no-quick-exit/a.o -c -xc - >+ cc -B. -o out/test/elf/x86_64/no-quick-exit/exe out/test/elf/x86_64/no-quick-exit/a.o -Wl,-no-quick-exit >+ out/test/elf/x86_64/no-quick-exit/exe >+ grep -q 'Hello world' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.19 sec >---------------------------------------------------------- >Test Passed. >"x86_64-no-quick-exit" end time: Feb 09 00:20 CET >"x86_64-no-quick-exit" time elapsed: 00:00:00 >---------------------------------------------------------- > >157/293 Testing: x86_64-no-undefined-version >157/293 Test: x86_64-no-undefined-version >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/no-undefined-version.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-no-undefined-version" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/no-undefined-version.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/no-undefined-version.sh .sh >++ testname=no-undefined-version >++ echo -n 'Testing no-undefined-version ... ' >Testing no-undefined-version ... ++ t=out/test/elf/x86_64/no-undefined-version >++ mkdir -p out/test/elf/x86_64/no-undefined-version >+ echo 'ver_x { global: foo; };' >+ cat >+ cc -o out/test/elf/x86_64/no-undefined-version/b.o -c -xc - >+ cc -B. -o out/test/elf/x86_64/no-undefined-version/exe -Wl,--version-script,out/test/elf/x86_64/no-undefined-version/a.ver out/test/elf/x86_64/no-undefined-version/b.o >+ grep -Fq 'a.ver: cannot assign version `ver_x` to symbol `foo`: symbol not found' out/test/elf/x86_64/no-undefined-version/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.18 sec >---------------------------------------------------------- >Test Passed. >"x86_64-no-undefined-version" end time: Feb 09 00:20 CET >"x86_64-no-undefined-version" time elapsed: 00:00:00 >---------------------------------------------------------- > >154/293 Testing: x86_64-mold-wrapper2 >154/293 Test: x86_64-mold-wrapper2 >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/mold-wrapper2.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-mold-wrapper2" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/mold-wrapper2.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/mold-wrapper2.sh .sh >++ testname=mold-wrapper2 >++ echo -n 'Testing mold-wrapper2 ... ' >Testing mold-wrapper2 ... ++ t=out/test/elf/x86_64/mold-wrapper2 >++ mkdir -p out/test/elf/x86_64/mold-wrapper2 >+ ldd mold-wrapper.so >+ grep -q libasan >+ nm mold >+ grep -q '__[at]san_init' >+ rm -rf out/test/elf/x86_64/mold-wrapper2 >+ mkdir -p out/test/elf/x86_64/mold-wrapper2/bin out/test/elf/x86_64/mold-wrapper2/lib/mold >+ cp mold out/test/elf/x86_64/mold-wrapper2/bin >+ cp mold-wrapper.so out/test/elf/x86_64/mold-wrapper2/bin >+ out/test/elf/x86_64/mold-wrapper2/bin/mold -run bash -c 'echo $LD_PRELOAD' >+ grep -q /bin/mold-wrapper.so >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.64 sec >---------------------------------------------------------- >Test Passed. >"x86_64-mold-wrapper2" end time: Feb 09 00:20 CET >"x86_64-mold-wrapper2" time elapsed: 00:00:00 >---------------------------------------------------------- > >153/293 Testing: x86_64-mold-wrapper >153/293 Test: x86_64-mold-wrapper >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/mold-wrapper.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-mold-wrapper" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/mold-wrapper.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/mold-wrapper.sh .sh >++ testname=mold-wrapper >++ echo -n 'Testing mold-wrapper ... ' >Testing mold-wrapper ... ++ t=out/test/elf/x86_64/mold-wrapper >++ mkdir -p out/test/elf/x86_64/mold-wrapper >+ '[' cc = cc ']' >+ ldd mold-wrapper.so >+ grep -q libasan >+ nm mold >+ grep -q '__[at]san_init' >+ cat >+ chmod 755 out/test/elf/x86_64/mold-wrapper/a.sh >+ cat >+ cc -xc -o out/test/elf/x86_64/mold-wrapper/exe - >+ grep -q 'a.sh execl' >++ pwd >+ LD_PRELOAD='/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build/mold-wrapper.so libsandbox.so' >+ MOLD_PATH=out/test/elf/x86_64/mold-wrapper/a.sh >+ out/test/elf/x86_64/mold-wrapper/exe execl >++ pwd >+ LD_PRELOAD='/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build/mold-wrapper.so libsandbox.so' >+ MOLD_PATH=out/test/elf/x86_64/mold-wrapper/a.sh >+ out/test/elf/x86_64/mold-wrapper/exe execlp >+ grep -q 'a.sh execlp' >+ grep -q 'a.sh execle' >++ pwd >+ LD_PRELOAD='/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build/mold-wrapper.so libsandbox.so' >+ MOLD_PATH=out/test/elf/x86_64/mold-wrapper/a.sh >+ out/test/elf/x86_64/mold-wrapper/exe execle >+ grep -q 'a.sh execv' >++ pwd >+ LD_PRELOAD='/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build/mold-wrapper.so libsandbox.so' >+ MOLD_PATH=out/test/elf/x86_64/mold-wrapper/a.sh >+ out/test/elf/x86_64/mold-wrapper/exe execv >+ grep -q 'a.sh execvp' >++ pwd >+ LD_PRELOAD='/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build/mold-wrapper.so libsandbox.so' >+ MOLD_PATH=out/test/elf/x86_64/mold-wrapper/a.sh >+ out/test/elf/x86_64/mold-wrapper/exe execvp >+ grep -q 'a.sh execvpe bar' >++ pwd >+ LD_PRELOAD='/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build/mold-wrapper.so libsandbox.so' >+ MOLD_PATH=out/test/elf/x86_64/mold-wrapper/a.sh >+ out/test/elf/x86_64/mold-wrapper/exe execvpe >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.85 sec >---------------------------------------------------------- >Test Passed. >"x86_64-mold-wrapper" end time: Feb 09 00:20 CET >"x86_64-mold-wrapper" time elapsed: 00:00:00 >---------------------------------------------------------- > >158/293 Testing: x86_64-nocopyreloc >158/293 Test: x86_64-nocopyreloc >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/nocopyreloc.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-nocopyreloc" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/nocopyreloc.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/nocopyreloc.sh .sh >++ testname=nocopyreloc >++ echo -n 'Testing nocopyreloc ... ' >Testing nocopyreloc ... ++ t=out/test/elf/x86_64/nocopyreloc >++ mkdir -p out/test/elf/x86_64/nocopyreloc >+ '[' x86_64 = i386 ']' >+ '[' x86_64 = m68k ']' >+ '[' x86_64 = arm ']' >+ '[' x86_64 = ppc64 ']' >+ '[' x86_64 = ppc64le ']' >+ '[' x86_64 = sh4 ']' >+ '[' x86_64 = alpha ']' >+ cat >+ cc -shared -o out/test/elf/x86_64/nocopyreloc/a.so -xc - >+ cat >+ cc -fno-PIC -c -o out/test/elf/x86_64/nocopyreloc/b.o -xc - >+ cc -B. -no-pie -o out/test/elf/x86_64/nocopyreloc/exe out/test/elf/x86_64/nocopyreloc/a.so out/test/elf/x86_64/nocopyreloc/b.o >+ out/test/elf/x86_64/nocopyreloc/exe >+ grep -q '3 5' >+ cc -B. -o out/test/elf/x86_64/nocopyreloc/exe out/test/elf/x86_64/nocopyreloc/a.so out/test/elf/x86_64/nocopyreloc/b.o -no-pie -Wl,-z,nocopyreloc >+ grep -q 'recompile with -fPIC' out/test/elf/x86_64/nocopyreloc/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.53 sec >---------------------------------------------------------- >Test Passed. >"x86_64-nocopyreloc" end time: Feb 09 00:20 CET >"x86_64-nocopyreloc" time elapsed: 00:00:00 >---------------------------------------------------------- > >159/293 Testing: x86_64-noinhibit-exec >159/293 Test: x86_64-noinhibit-exec >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/noinhibit-exec.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-noinhibit-exec" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/noinhibit-exec.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/noinhibit-exec.sh .sh >++ testname=noinhibit-exec >++ echo -n 'Testing noinhibit-exec ... ' >Testing noinhibit-exec ... ++ t=out/test/elf/x86_64/noinhibit-exec >++ mkdir -p out/test/elf/x86_64/noinhibit-exec >+ cat >+ cc -o out/test/elf/x86_64/noinhibit-exec/a.o -c -xc - -fno-PIC >+ cc -B. -shared -o out/test/elf/x86_64/noinhibit-exec/b.so out/test/elf/x86_64/noinhibit-exec/a.o >+ cc -B. -o out/test/elf/x86_64/noinhibit-exec/b.so out/test/elf/x86_64/noinhibit-exec/a.o -Wl,-require-defined=no-such-sym >+ grep -q 'undefined symbol: no-such-sym' out/test/elf/x86_64/noinhibit-exec/log1 >+ cc -B. -shared -o out/test/elf/x86_64/noinhibit-exec/b.o out/test/elf/x86_64/noinhibit-exec/a.o -Wl,-require-defined=no-such-sym -Wl,-noinhibit-exec >+ grep -q 'undefined symbol: no-such-sym' out/test/elf/x86_64/noinhibit-exec/log2 >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.53 sec >---------------------------------------------------------- >Test Passed. >"x86_64-noinhibit-exec" end time: Feb 09 00:20 CET >"x86_64-noinhibit-exec" time elapsed: 00:00:00 >---------------------------------------------------------- > >161/293 Testing: x86_64-nostdlib >161/293 Test: x86_64-nostdlib >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/nostdlib.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-nostdlib" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/nostdlib.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/nostdlib.sh .sh >++ testname=nostdlib >++ echo -n 'Testing nostdlib ... ' >Testing nostdlib ... ++ t=out/test/elf/x86_64/nostdlib >++ mkdir -p out/test/elf/x86_64/nostdlib >+ cat >+ cc -o out/test/elf/x86_64/nostdlib/a.o -c -xc - -fno-PIE >+ ./mold -o out/test/elf/x86_64/nostdlib/exe out/test/elf/x86_64/nostdlib/a.o >+ readelf -W --sections out/test/elf/x86_64/nostdlib/exe >+ grep -Fq ' .dynsym ' out/test/elf/x86_64/nostdlib/log >+ grep -Fq ' .dynstr ' out/test/elf/x86_64/nostdlib/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.18 sec >---------------------------------------------------------- >Test Passed. >"x86_64-nostdlib" end time: Feb 09 00:20 CET >"x86_64-nostdlib" time elapsed: 00:00:00 >---------------------------------------------------------- > >160/293 Testing: x86_64-non-canonical-plt >160/293 Test: x86_64-non-canonical-plt >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/non-canonical-plt.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-non-canonical-plt" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/non-canonical-plt.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/non-canonical-plt.sh .sh >++ testname=non-canonical-plt >++ echo -n 'Testing non-canonical-plt ... ' >Testing non-canonical-plt ... ++ t=out/test/elf/x86_64/non-canonical-plt >++ mkdir -p out/test/elf/x86_64/non-canonical-plt >+ cc -o out/test/elf/x86_64/non-canonical-plt/a.so -fPIC -shared -xc - >+ cat >+ cat >+ cc -o out/test/elf/x86_64/non-canonical-plt/b.o -c -xc - -fPIC >+ cc -o out/test/elf/x86_64/non-canonical-plt/c.o -c -xc - -fPIC >+ cat >+ cc -B. -no-pie -o out/test/elf/x86_64/non-canonical-plt/exe out/test/elf/x86_64/non-canonical-plt/a.so out/test/elf/x86_64/non-canonical-plt/b.o out/test/elf/x86_64/non-canonical-plt/c.o >+ out/test/elf/x86_64/non-canonical-plt/exe >+ grep -q '^1 1 1$' >+ readelf --dyn-syms out/test/elf/x86_64/non-canonical-plt/exe >+ grep -q '00000000 .* foo' >+ readelf --dyn-syms out/test/elf/x86_64/non-canonical-plt/exe >+ grep -q '00000000 .* bar' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.54 sec >---------------------------------------------------------- >Test Passed. >"x86_64-non-canonical-plt" end time: Feb 09 00:20 CET >"x86_64-non-canonical-plt" time elapsed: 00:00:00 >---------------------------------------------------------- > >163/293 Testing: x86_64-oformat-binary >163/293 Test: x86_64-oformat-binary >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/oformat-binary.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-oformat-binary" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/oformat-binary.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/oformat-binary.sh .sh >++ testname=oformat-binary >++ echo -n 'Testing oformat-binary ... ' >Testing oformat-binary ... ++ t=out/test/elf/x86_64/oformat-binary >++ mkdir -p out/test/elf/x86_64/oformat-binary >+ cat >+ cc -o out/test/elf/x86_64/oformat-binary/a.o -c -xc - -fno-PIE >+ ./mold -o out/test/elf/x86_64/oformat-binary/exe out/test/elf/x86_64/oformat-binary/a.o --oformat=binary -Ttext=0x4000 -Map=out/test/elf/x86_64/oformat-binary/map >+ grep -Eq '^\s+0x4000\s+[0-9]+\s+[0-9]+\s+\.text$' out/test/elf/x86_64/oformat-binary/map >+ grep -Fq .strtab out/test/elf/x86_64/oformat-binary/map >+ grep -Fq .shstrtab out/test/elf/x86_64/oformat-binary/map >+ grep -Fq .symtab out/test/elf/x86_64/oformat-binary/map >+ grep -Fq .comment out/test/elf/x86_64/oformat-binary/map >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.23 sec >---------------------------------------------------------- >Test Passed. >"x86_64-oformat-binary" end time: Feb 09 00:20 CET >"x86_64-oformat-binary" time elapsed: 00:00:00 >---------------------------------------------------------- > >162/293 Testing: x86_64-now >162/293 Test: x86_64-now >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/now.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-now" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/now.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/now.sh .sh >++ testname=now >++ echo -n 'Testing now ... ' >Testing now ... ++ t=out/test/elf/x86_64/now >++ mkdir -p out/test/elf/x86_64/now >+ cat >+ cc -c -fPIC -o out/test/elf/x86_64/now/a.o -xc - >+ cc -B. -shared -o out/test/elf/x86_64/now/b.so out/test/elf/x86_64/now/a.o -Wl,-z,now >+ readelf --dynamic out/test/elf/x86_64/now/b.so >+ grep -q 'Flags: NOW' >+ cc -B. -shared -o out/test/elf/x86_64/now/b.so out/test/elf/x86_64/now/a.o -Wl,-z,now,-z,lazy >+ readelf --dynamic out/test/elf/x86_64/now/b.so >+ grep -q 'Flags: NOW' out/test/elf/x86_64/now/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.40 sec >---------------------------------------------------------- >Test Passed. >"x86_64-now" end time: Feb 09 00:20 CET >"x86_64-now" time elapsed: 00:00:00 >---------------------------------------------------------- > >164/293 Testing: x86_64-omagic >164/293 Test: x86_64-omagic >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/omagic.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-omagic" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/omagic.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/omagic.sh .sh >++ testname=omagic >++ echo -n 'Testing omagic ... ' >Testing omagic ... ++ t=out/test/elf/x86_64/omagic >++ mkdir -p out/test/elf/x86_64/omagic >+ test_cflags -static >+ echo 'int main() {}' >+ cc -static -o /dev/null -xc - >+ cat >+ cc -c -o out/test/elf/x86_64/omagic/a.o -xc - -fno-PIC >+ cc -B. out/test/elf/x86_64/omagic/a.o -o out/test/elf/x86_64/omagic/exe -static -Wl,--omagic >+ readelf -W --segments out/test/elf/x86_64/omagic/exe >+ grep -qw RWE >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.41 sec >---------------------------------------------------------- >Test Passed. >"x86_64-omagic" end time: Feb 09 00:20 CET >"x86_64-omagic" time elapsed: 00:00:00 >---------------------------------------------------------- > >166/293 Testing: x86_64-package-metadata >166/293 Test: x86_64-package-metadata >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/package-metadata.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-package-metadata" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/package-metadata.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/package-metadata.sh .sh >++ testname=package-metadata >++ echo -n 'Testing package-metadata ... ' >Testing package-metadata ... ++ t=out/test/elf/x86_64/package-metadata >++ mkdir -p out/test/elf/x86_64/package-metadata >+ cat >+ cc -o out/test/elf/x86_64/package-metadata/a.o -c -xc - >+ cc -B. -o out/test/elf/x86_64/package-metadata/exe out/test/elf/x86_64/package-metadata/a.o '-Wl,-package-metadata={"foo":"bar"}' >+ grep -Fq '{"foo":"bar"}' >+ readelf -x .note.package out/test/elf/x86_64/package-metadata/exe >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.30 sec >---------------------------------------------------------- >Test Passed. >"x86_64-package-metadata" end time: Feb 09 00:20 CET >"x86_64-package-metadata" time elapsed: 00:00:00 >---------------------------------------------------------- > >168/293 Testing: x86_64-pie >168/293 Test: x86_64-pie >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/pie.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-pie" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/pie.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/pie.sh .sh >++ testname=pie >++ echo -n 'Testing pie ... ' >Testing pie ... ++ t=out/test/elf/x86_64/pie >++ mkdir -p out/test/elf/x86_64/pie >+ cc -o out/test/elf/x86_64/pie/a.o -c -xc -fPIE - >+ cat >+ cc -B. -pie -o out/test/elf/x86_64/pie/exe out/test/elf/x86_64/pie/a.o >+ grep -q -E '(Shared object file|Position-Independent Executable file)' >+ readelf --file-header out/test/elf/x86_64/pie/exe >+ out/test/elf/x86_64/pie/exe >+ grep -q 'Hello world' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.33 sec >---------------------------------------------------------- >Test Passed. >"x86_64-pie" end time: Feb 09 00:20 CET >"x86_64-pie" time elapsed: 00:00:00 >---------------------------------------------------------- > >165/293 Testing: x86_64-pack-dyn-relocs-relr >165/293 Test: x86_64-pack-dyn-relocs-relr >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/pack-dyn-relocs-relr.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-pack-dyn-relocs-relr" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/pack-dyn-relocs-relr.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/pack-dyn-relocs-relr.sh .sh >++ testname=pack-dyn-relocs-relr >++ echo -n 'Testing pack-dyn-relocs-relr ... ' >Testing pack-dyn-relocs-relr ... ++ t=out/test/elf/x86_64/pack-dyn-relocs-relr >++ mkdir -p out/test/elf/x86_64/pack-dyn-relocs-relr >+ '[' x86_64 = m68k ']' >+ '[' x86_64 = ppc ']' >+ command -v llvm-readelf >+ cat >+ cc -o out/test/elf/x86_64/pack-dyn-relocs-relr/a.o -fPIC -c -xc - >+ cc -B. -o out/test/elf/x86_64/pack-dyn-relocs-relr/exe1 out/test/elf/x86_64/pack-dyn-relocs-relr/a.o -pie >+ grep RELATIVE >+ wc -l >+ llvm-readelf -r out/test/elf/x86_64/pack-dyn-relocs-relr/exe1 >+ cc -B. -o out/test/elf/x86_64/pack-dyn-relocs-relr/exe2 out/test/elf/x86_64/pack-dyn-relocs-relr/a.o -pie -Wl,-pack-dyn-relocs=relr >+ llvm-readelf -r out/test/elf/x86_64/pack-dyn-relocs-relr/exe2 >+ wc -l >+ grep RELATIVE >+ diff out/test/elf/x86_64/pack-dyn-relocs-relr/log1 out/test/elf/x86_64/pack-dyn-relocs-relr/log2 >+ llvm-readelf --dynamic out/test/elf/x86_64/pack-dyn-relocs-relr/exe2 >+ grep -wq RELR out/test/elf/x86_64/pack-dyn-relocs-relr/log3 >+ grep -wq RELRSZ out/test/elf/x86_64/pack-dyn-relocs-relr/log3 >+ grep -wq RELRENT out/test/elf/x86_64/pack-dyn-relocs-relr/log3 >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.63 sec >---------------------------------------------------------- >Test Passed. >"x86_64-pack-dyn-relocs-relr" end time: Feb 09 00:20 CET >"x86_64-pack-dyn-relocs-relr" time elapsed: 00:00:00 >---------------------------------------------------------- > >167/293 Testing: x86_64-physical-image-base >167/293 Test: x86_64-physical-image-base >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/physical-image-base.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-physical-image-base" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/physical-image-base.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/physical-image-base.sh .sh >++ testname=physical-image-base >++ echo -n 'Testing physical-image-base ... ' >Testing physical-image-base ... ++ t=out/test/elf/x86_64/physical-image-base >++ mkdir -p out/test/elf/x86_64/physical-image-base >+ '[' x86_64 = ppc64 ']' >+ cat >+ cc -o out/test/elf/x86_64/physical-image-base/a.o -c -xc - >+ cc -B. -no-pie -o out/test/elf/x86_64/physical-image-base/exe1 out/test/elf/x86_64/physical-image-base/a.o -Wl,--image-base=0x200000 -Wl,--physical-image-base=0x800000 >+ out/test/elf/x86_64/physical-image-base/exe1 >+ grep -q 'Hello world' >+ readelf -W --segments out/test/elf/x86_64/physical-image-base/exe1 >+ grep -Eq 'LOAD\s+0x000000 0x0*200000 0x0*800000' >+ readelf -Ws out/test/elf/x86_64/physical-image-base/exe1 >+ grep -q __phys_start_foo >+ cc -B. -no-pie -o out/test/elf/x86_64/physical-image-base/exe2 out/test/elf/x86_64/physical-image-base/a.o -Wl,--physical-image-base=0x800000 '-Wl,--section-order==0x800000 TEXT RODATA =0x900000 DATA BSS' >+ readelf -W --segments out/test/elf/x86_64/physical-image-base/exe2 >+ grep -Eq 'LOAD\s+\S+\s+(\S+)\s\1.*R E 0' >+ readelf -W --segments out/test/elf/x86_64/physical-image-base/exe2 >+ grep -Eq 'LOAD\s+\S+\s+(\S+)\s\1.*R 0' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.51 sec >---------------------------------------------------------- >Test Passed. >"x86_64-physical-image-base" end time: Feb 09 00:20 CET >"x86_64-physical-image-base" time elapsed: 00:00:00 >---------------------------------------------------------- > >148/293 Testing: x86_64-many-sections >148/293 Test: x86_64-many-sections >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/many-sections.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-many-sections" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/many-sections.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/many-sections.sh .sh >++ testname=many-sections >++ echo -n 'Testing many-sections ... ' >Testing many-sections ... ++ t=out/test/elf/x86_64/many-sections >++ mkdir -p out/test/elf/x86_64/many-sections >+ seq 1 100000 >+ sed 's/.*/.section .data.\0,"aw"\n.word 0\n/g' >+ cc -c -xassembler -o out/test/elf/x86_64/many-sections/a.o - >+ cat >+ cc -c -xc -o out/test/elf/x86_64/many-sections/b.o - >+ cc -B. -o out/test/elf/x86_64/many-sections/exe out/test/elf/x86_64/many-sections/a.o out/test/elf/x86_64/many-sections/b.o >+ out/test/elf/x86_64/many-sections/exe >+ grep -q Hello >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 2.30 sec >---------------------------------------------------------- >Test Passed. >"x86_64-many-sections" end time: Feb 09 00:20 CET >"x86_64-many-sections" time elapsed: 00:00:02 >---------------------------------------------------------- > >169/293 Testing: x86_64-plt-dso >169/293 Test: x86_64-plt-dso >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/plt-dso.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-plt-dso" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/plt-dso.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/plt-dso.sh .sh >++ testname=plt-dso >++ echo -n 'Testing plt-dso ... ' >Testing plt-dso ... ++ t=out/test/elf/x86_64/plt-dso >++ mkdir -p out/test/elf/x86_64/plt-dso >+ cat >+ cc -fPIC -c -o out/test/elf/x86_64/plt-dso/a.o -xc - >+ cc -B. -shared -o out/test/elf/x86_64/plt-dso/b.so out/test/elf/x86_64/plt-dso/a.o >+ cat >+ cc -c -o out/test/elf/x86_64/plt-dso/c.o -xc - >+ cc -B. -o out/test/elf/x86_64/plt-dso/exe -Wl,-rpath=out/test/elf/x86_64/plt-dso out/test/elf/x86_64/plt-dso/c.o out/test/elf/x86_64/plt-dso/b.so >+ out/test/elf/x86_64/plt-dso/exe >+ grep -q 'Hello WORLD' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.57 sec >---------------------------------------------------------- >Test Passed. >"x86_64-plt-dso" end time: Feb 09 00:20 CET >"x86_64-plt-dso" time elapsed: 00:00:00 >---------------------------------------------------------- > >171/293 Testing: x86_64-preinit-array >171/293 Test: x86_64-preinit-array >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/preinit-array.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-preinit-array" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/preinit-array.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/preinit-array.sh .sh >++ testname=preinit-array >++ echo -n 'Testing preinit-array ... ' >Testing preinit-array ... ++ t=out/test/elf/x86_64/preinit-array >++ mkdir -p out/test/elf/x86_64/preinit-array >+ cat >+ cc -o out/test/elf/x86_64/preinit-array/a.o -c -xc - >+ ./mold -o out/test/elf/x86_64/preinit-array/exe1 out/test/elf/x86_64/preinit-array/a.o >+ readelf -W --dynamic out/test/elf/x86_64/preinit-array/exe1 >+ grep -q PREINIT_ARRAY out/test/elf/x86_64/preinit-array/log1 >+ cat >+ cc -o out/test/elf/x86_64/preinit-array/b.o -c -xc - >+ cc -B. -o out/test/elf/x86_64/preinit-array/exe2 out/test/elf/x86_64/preinit-array/b.o >+ grep -q PREINIT_ARRAY >+ readelf -W --dynamic out/test/elf/x86_64/preinit-array/exe2 >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.42 sec >---------------------------------------------------------- >Test Passed. >"x86_64-preinit-array" end time: Feb 09 00:20 CET >"x86_64-preinit-array" time elapsed: 00:00:00 >---------------------------------------------------------- > >172/293 Testing: x86_64-print-dependencies >172/293 Test: x86_64-print-dependencies >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/print-dependencies.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-print-dependencies" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/print-dependencies.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/print-dependencies.sh .sh >++ testname=print-dependencies >++ echo -n 'Testing print-dependencies ... ' >Testing print-dependencies ... ++ t=out/test/elf/x86_64/print-dependencies >++ mkdir -p out/test/elf/x86_64/print-dependencies >+ cat >+ cc -o out/test/elf/x86_64/print-dependencies/a.o -c -xc - >+ cc -o out/test/elf/x86_64/print-dependencies/b.o -c -xc - >+ cat >+ cc -B. -o out/test/elf/x86_64/print-dependencies/exe out/test/elf/x86_64/print-dependencies/a.o out/test/elf/x86_64/print-dependencies/b.o -Wl,--print-dependencies >+ grep -q 'b\.o.*a\.o.*foo$' out/test/elf/x86_64/print-dependencies/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.38 sec >---------------------------------------------------------- >Test Passed. >"x86_64-print-dependencies" end time: Feb 09 00:20 CET >"x86_64-print-dependencies" time elapsed: 00:00:00 >---------------------------------------------------------- > >170/293 Testing: x86_64-pltgot >170/293 Test: x86_64-pltgot >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/pltgot.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-pltgot" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/pltgot.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/pltgot.sh .sh >++ testname=pltgot >++ echo -n 'Testing pltgot ... ' >Testing pltgot ... ++ t=out/test/elf/x86_64/pltgot >++ mkdir -p out/test/elf/x86_64/pltgot >+ cat >+ cc -o out/test/elf/x86_64/pltgot/a.o -c -xc - -fPIC >+ cc -B. -shared -o out/test/elf/x86_64/pltgot/b.so out/test/elf/x86_64/pltgot/a.o >+ cat >+ cc -o out/test/elf/x86_64/pltgot/c.o -c -xc - -fPIC >+ cc -B. -o out/test/elf/x86_64/pltgot/exe out/test/elf/x86_64/pltgot/c.o out/test/elf/x86_64/pltgot/b.so >+ grep -q 'Hello world' >+ out/test/elf/x86_64/pltgot/exe >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.53 sec >---------------------------------------------------------- >Test Passed. >"x86_64-pltgot" end time: Feb 09 00:20 CET >"x86_64-pltgot" time elapsed: 00:00:00 >---------------------------------------------------------- > >173/293 Testing: x86_64-protected-dynsym >173/293 Test: x86_64-protected-dynsym >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/protected-dynsym.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-protected-dynsym" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/protected-dynsym.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/protected-dynsym.sh .sh >++ testname=protected-dynsym >++ echo -n 'Testing protected-dynsym ... ' >Testing protected-dynsym ... ++ t=out/test/elf/x86_64/protected-dynsym >++ mkdir -p out/test/elf/x86_64/protected-dynsym >+ cat >+ cc -fPIC -c -o out/test/elf/x86_64/protected-dynsym/a.o -xc - >+ cat >+ cc -fPIC -c -o out/test/elf/x86_64/protected-dynsym/b.o -fcommon -xc - >+ cc -B. -shared -o out/test/elf/x86_64/protected-dynsym/c.so out/test/elf/x86_64/protected-dynsym/a.o out/test/elf/x86_64/protected-dynsym/b.o -Wl,-strip-all >+ readelf --symbols out/test/elf/x86_64/protected-dynsym/c.so >+ grep -Eq 'PROTECTED\b.*\bfoo\b' >+ cat >+ cc -fPIC -c -o out/test/elf/x86_64/protected-dynsym/d.o -fno-common -xc - >+ cc -B. -shared -o out/test/elf/x86_64/protected-dynsym/e.so out/test/elf/x86_64/protected-dynsym/a.o out/test/elf/x86_64/protected-dynsym/d.o -Wl,-strip-all >+ readelf --symbols out/test/elf/x86_64/protected-dynsym/e.so >+ grep -Eq 'PROTECTED\b.*\bfoo\b' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.59 sec >---------------------------------------------------------- >Test Passed. >"x86_64-protected-dynsym" end time: Feb 09 00:20 CET >"x86_64-protected-dynsym" time elapsed: 00:00:00 >---------------------------------------------------------- > >174/293 Testing: x86_64-protected >174/293 Test: x86_64-protected >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/protected.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-protected" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/protected.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/protected.sh .sh >++ testname=protected >++ echo -n 'Testing protected ... ' >Testing protected ... ++ t=out/test/elf/x86_64/protected >++ mkdir -p out/test/elf/x86_64/protected >+ + cc -fPIC -c -o out/test/elf/x86_64/protected/a.o -xc - >cat >+ cc -B. -o out/test/elf/x86_64/protected/b.so -shared out/test/elf/x86_64/protected/a.o >+ cat >+ cc -c -o out/test/elf/x86_64/protected/c.o -xc - -fno-PIE >+ cc -B. -no-pie -o out/test/elf/x86_64/protected/exe out/test/elf/x86_64/protected/c.o out/test/elf/x86_64/protected/b.so >+ out/test/elf/x86_64/protected/exe >+ grep -q '3 4 0' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.56 sec >---------------------------------------------------------- >Test Passed. >"x86_64-protected" end time: Feb 09 00:20 CET >"x86_64-protected" time elapsed: 00:00:00 >---------------------------------------------------------- > >178/293 Testing: x86_64-reloc-rodata >178/293 Test: x86_64-reloc-rodata >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/reloc-rodata.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-reloc-rodata" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/reloc-rodata.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/reloc-rodata.sh .sh >++ testname=reloc-rodata >++ echo -n 'Testing reloc-rodata ... ' >Testing reloc-rodata ... ++ t=out/test/elf/x86_64/reloc-rodata >++ mkdir -p out/test/elf/x86_64/reloc-rodata >+ exit >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.08 sec >---------------------------------------------------------- >Test Passed. >"x86_64-reloc-rodata" end time: Feb 09 00:20 CET >"x86_64-reloc-rodata" time elapsed: 00:00:00 >---------------------------------------------------------- > >177/293 Testing: x86_64-relax-got-load >177/293 Test: x86_64-relax-got-load >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/relax-got-load.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-relax-got-load" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/relax-got-load.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/relax-got-load.sh .sh >++ testname=relax-got-load >++ echo -n 'Testing relax-got-load ... ' >Testing relax-got-load ... ++ t=out/test/elf/x86_64/relax-got-load >++ mkdir -p out/test/elf/x86_64/relax-got-load >+ cat >+ cc -o out/test/elf/x86_64/relax-got-load/a.o -c -xc - -fPIC >+ cat >+ cc -o out/test/elf/x86_64/relax-got-load/b.o -c -xc - -fPIC >+ cc -B. -o out/test/elf/x86_64/relax-got-load/exe out/test/elf/x86_64/relax-got-load/a.o out/test/elf/x86_64/relax-got-load/b.o >+ out/test/elf/x86_64/relax-got-load/exe >+ grep -q 'Hello world' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.44 sec >---------------------------------------------------------- >Test Passed. >"x86_64-relax-got-load" end time: Feb 09 00:20 CET >"x86_64-relax-got-load" time elapsed: 00:00:00 >---------------------------------------------------------- > >175/293 Testing: x86_64-push-pop-state >175/293 Test: x86_64-push-pop-state >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/push-pop-state.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-push-pop-state" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/push-pop-state.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/push-pop-state.sh .sh >++ testname=push-pop-state >++ echo -n 'Testing push-pop-state ... ' >Testing push-pop-state ... ++ t=out/test/elf/x86_64/push-pop-state >++ mkdir -p out/test/elf/x86_64/push-pop-state >+ cat >+ cc -shared -o out/test/elf/x86_64/push-pop-state/a.so -xc - >+ cat >+ cc -shared -o out/test/elf/x86_64/push-pop-state/b.so -xc - >+ cc -c -o out/test/elf/x86_64/push-pop-state/c.o -xc - >+ cat >+ cc -B. -o out/test/elf/x86_64/push-pop-state/exe out/test/elf/x86_64/push-pop-state/c.o -Wl,-as-needed -Wl,-push-state -Wl,-no-as-needed out/test/elf/x86_64/push-pop-state/a.so -Wl,-pop-state out/test/elf/x86_64/push-pop-state/b.so >+ readelf --dynamic out/test/elf/x86_64/push-pop-state/exe >+ grep -Fq a.so out/test/elf/x86_64/push-pop-state/log >+ grep -Fq b.so out/test/elf/x86_64/push-pop-state/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.71 sec >---------------------------------------------------------- >Test Passed. >"x86_64-push-pop-state" end time: Feb 09 00:20 CET >"x86_64-push-pop-state" time elapsed: 00:00:00 >---------------------------------------------------------- > >176/293 Testing: x86_64-range-extension-thunk >176/293 Test: x86_64-range-extension-thunk >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/range-extension-thunk.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-range-extension-thunk" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/range-extension-thunk.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 >+ grep -q 'main fn1 fn3 fn2 fn4' >+ out/test/elf/x86_64/range-extension-thunk/exe2 >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.79 sec >---------------------------------------------------------- >Test Passed. >"x86_64-range-extension-thunk" end time: Feb 09 00:20 CET >"x86_64-range-extension-thunk" time elapsed: 00:00:00 >---------------------------------------------------------- > >180/293 Testing: x86_64-relocatable-debug-info >180/293 Test: x86_64-relocatable-debug-info >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/relocatable-debug-info.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-relocatable-debug-info" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/relocatable-debug-info.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/relocatable-debug-info.sh .sh >++ testname=relocatable-debug-info >++ echo -n 'Testing relocatable-debug-info ... ' >Testing relocatable-debug-info ... ++ t=out/test/elf/x86_64/relocatable-debug-info >++ mkdir -p out/test/elf/x86_64/relocatable-debug-info >+ grep -q __tsan_init >+ nm mold >+ cat >+ cc -c -o out/test/elf/x86_64/relocatable-debug-info/a.o -xc - -g >+ cat >+ cc -c -o out/test/elf/x86_64/relocatable-debug-info/b.o -xc - -g >+ ./mold --relocatable -o out/test/elf/x86_64/relocatable-debug-info/c.o out/test/elf/x86_64/relocatable-debug-info/a.o out/test/elf/x86_64/relocatable-debug-info/b.o >+ cc -B. -o out/test/elf/x86_64/relocatable-debug-info/exe out/test/elf/x86_64/relocatable-debug-info/c.o >+ out/test/elf/x86_64/relocatable-debug-info/exe >Hello world >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.82 sec >---------------------------------------------------------- >Test Passed. >"x86_64-relocatable-debug-info" end time: Feb 09 00:20 CET >"x86_64-relocatable-debug-info" time elapsed: 00:00:00 >---------------------------------------------------------- > >179/293 Testing: x86_64-relocatable-archive >179/293 Test: x86_64-relocatable-archive >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/relocatable-archive.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-relocatable-archive" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/relocatable-archive.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/relocatable-archive.sh .sh >++ testname=relocatable-archive >++ echo -n 'Testing relocatable-archive ... ' >Testing relocatable-archive ... ++ t=out/test/elf/x86_64/relocatable-archive >++ mkdir -p out/test/elf/x86_64/relocatable-archive >+ nm mold >+ grep -q __tsan_init >+ cat >+ cc -c -o out/test/elf/x86_64/relocatable-archive/a.o -xc - >+ cat >+ cc -c -o out/test/elf/x86_64/relocatable-archive/b.o -xc - >+ cat >+ cc -c -o out/test/elf/x86_64/relocatable-archive/c.o -xc - >+ cat >+ cc -c -o out/test/elf/x86_64/relocatable-archive/d.o -xc - >+ ar crs out/test/elf/x86_64/relocatable-archive/e.a out/test/elf/x86_64/relocatable-archive/a.o out/test/elf/x86_64/relocatable-archive/b.o out/test/elf/x86_64/relocatable-archive/c.o >+ ./mold -r -o out/test/elf/x86_64/relocatable-archive/f.o out/test/elf/x86_64/relocatable-archive/d.o out/test/elf/x86_64/relocatable-archive/e.a >+ readelf --symbols out/test/elf/x86_64/relocatable-archive/f.o >+ grep -q 'foo\b' out/test/elf/x86_64/relocatable-archive/log >+ grep -q 'bar\b' out/test/elf/x86_64/relocatable-archive/log >+ grep -q 'baz\b' out/test/elf/x86_64/relocatable-archive/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.91 sec >---------------------------------------------------------- >Test Passed. >"x86_64-relocatable-archive" end time: Feb 09 00:20 CET >"x86_64-relocatable-archive" time elapsed: 00:00:00 >---------------------------------------------------------- > >182/293 Testing: x86_64-relocatable-merge-sections >182/293 Test: x86_64-relocatable-merge-sections >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/relocatable-merge-sections.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-relocatable-merge-sections" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/relocatable-merge-sections.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/relocatable-merge-sections.sh .sh >++ testname=relocatable-merge-sections >++ echo -n 'Testing relocatable-merge-sections ... ' >Testing relocatable-merge-sections ... ++ t=out/test/elf/x86_64/relocatable-merge-sections >++ mkdir -p out/test/elf/x86_64/relocatable-merge-sections >+ nm mold >+ grep -q __tsan_init >+ cat >+ cc -c -o out/test/elf/x86_64/relocatable-merge-sections/a.o -xc -ffunction-sections - >+ ./mold --relocatable -o out/test/elf/x86_64/relocatable-merge-sections/b.o out/test/elf/x86_64/relocatable-merge-sections/a.o >+ readelf -WS out/test/elf/x86_64/relocatable-merge-sections/b.o >+ grep -Fq .text.foo out/test/elf/x86_64/relocatable-merge-sections/log1 >+ grep -Fq .text.bar out/test/elf/x86_64/relocatable-merge-sections/log1 >+ ./mold --relocatable -o out/test/elf/x86_64/relocatable-merge-sections/c.o out/test/elf/x86_64/relocatable-merge-sections/a.o --relocatable-merge-sections >+ readelf -WS out/test/elf/x86_64/relocatable-merge-sections/c.o >+ grep -Fq .text.foo out/test/elf/x86_64/relocatable-merge-sections/log2 >+ grep -Fq .text.bar out/test/elf/x86_64/relocatable-merge-sections/log2 >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.69 sec >---------------------------------------------------------- >Test Passed. >"x86_64-relocatable-merge-sections" end time: Feb 09 00:20 CET >"x86_64-relocatable-merge-sections" time elapsed: 00:00:00 >---------------------------------------------------------- > >183/293 Testing: x86_64-relocatable-no-ehframe >183/293 Test: x86_64-relocatable-no-ehframe >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/relocatable-no-ehframe.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-relocatable-no-ehframe" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/relocatable-no-ehframe.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/relocatable-no-ehframe.sh .sh >++ testname=relocatable-no-ehframe >++ echo -n 'Testing relocatable-no-ehframe ... ' >Testing relocatable-no-ehframe ... ++ t=out/test/elf/x86_64/relocatable-no-ehframe >++ mkdir -p out/test/elf/x86_64/relocatable-no-ehframe >+ '[' x86_64 = alpha ']' >+ nm mold >+ grep -q __tsan_init >+ cc -c -o out/test/elf/x86_64/relocatable-no-ehframe/a.o -xc -fno-unwind-tables -fno-asynchronous-unwind-tables - >+ cat >+ readelf -WS out/test/elf/x86_64/relocatable-no-ehframe/a.o >+ grep -Fq .eh_frame out/test/elf/x86_64/relocatable-no-ehframe/log1 >+ ./mold --relocatable -o out/test/elf/x86_64/relocatable-no-ehframe/b.o out/test/elf/x86_64/relocatable-no-ehframe/a.o >+ readelf -WS out/test/elf/x86_64/relocatable-no-ehframe/b.o >+ grep -Fq .eh_frame out/test/elf/x86_64/relocatable-no-ehframe/log2 >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.64 sec >---------------------------------------------------------- >Test Passed. >"x86_64-relocatable-no-ehframe" end time: Feb 09 00:20 CET >"x86_64-relocatable-no-ehframe" time elapsed: 00:00:00 >---------------------------------------------------------- > >185/293 Testing: x86_64-relro >185/293 Test: x86_64-relro >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/relro.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-relro" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/relro.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/relro.sh .sh >++ testname=relro >++ echo -n 'Testing relro ... ' >Testing relro ... ++ t=out/test/elf/x86_64/relro >++ mkdir -p out/test/elf/x86_64/relro >+ cat >+ cc -c -xc -o out/test/elf/x86_64/relro/a.o - >+ cc -B. -o out/test/elf/x86_64/relro/exe1 out/test/elf/x86_64/relro/a.o -Wl,-z,relro,-z,lazy >+ out/test/elf/x86_64/relro/exe1 >+ grep -q 'Hello world' >+ readelf --segments -W out/test/elf/x86_64/relro/exe1 >+ grep -q 'GNU_RELRO ' out/test/elf/x86_64/relro/log1 >+ cc -B. -o out/test/elf/x86_64/relro/exe2 out/test/elf/x86_64/relro/a.o -Wl,-z,relro,-z,now >+ out/test/elf/x86_64/relro/exe2 >+ grep -q 'Hello world' >+ readelf --segments -W out/test/elf/x86_64/relro/exe2 >+ grep -q 'GNU_RELRO ' out/test/elf/x86_64/relro/log2 >+ cc -B. -o out/test/elf/x86_64/relro/exe3 out/test/elf/x86_64/relro/a.o -Wl,-z,norelro >+ + grep -q 'Hello world' >out/test/elf/x86_64/relro/exe3 >+ readelf --segments -W out/test/elf/x86_64/relro/exe3 >+ grep -q 'GNU_RELRO ' out/test/elf/x86_64/relro/log3 >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.59 sec >---------------------------------------------------------- >Test Passed. >"x86_64-relro" end time: Feb 09 00:20 CET >"x86_64-relro" time elapsed: 00:00:00 >---------------------------------------------------------- > >186/293 Testing: x86_64-repro >186/293 Test: x86_64-repro >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/repro.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-repro" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/repro.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/repro.sh .sh >++ testname=repro >++ echo -n 'Testing repro ... ' >Testing repro ... ++ t=out/test/elf/x86_64/repro >++ mkdir -p out/test/elf/x86_64/repro >+ cat >+ cc -c -o out/test/elf/x86_64/repro/a.o -xc - >+ rm -rf out/test/elf/x86_64/repro/exe.repro out/test/elf/x86_64/repro/exe.repro.tar >+ cc -B. -o out/test/elf/x86_64/repro/exe out/test/elf/x86_64/repro/a.o >+ '[' -f out/test/elf/x86_64/repro/exe.repro.tar ']' >+ cc -B. -o out/test/elf/x86_64/repro/exe out/test/elf/x86_64/repro/a.o -Wl,-repro >+ tar -C out/test/elf/x86_64/repro -xf out/test/elf/x86_64/repro/exe.repro.tar >+ grep -q /a.o out/test/elf/x86_64/repro/exe.repro/response.txt >+ grep -q '[ms]old' out/test/elf/x86_64/repro/exe.repro/version.txt >+ rm -rf out/test/elf/x86_64/repro/exe.repro out/test/elf/x86_64/repro/exe.repro.tar >+ MOLD_REPRO=1 >+ cc -B. -o out/test/elf/x86_64/repro/exe out/test/elf/x86_64/repro/a.o >+ tar -C out/test/elf/x86_64/repro -xf out/test/elf/x86_64/repro/exe.repro.tar >+ grep -q /a.o out/test/elf/x86_64/repro/exe.repro/response.txt >+ grep -q '[ms]old' out/test/elf/x86_64/repro/exe.repro/version.txt >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.60 sec >---------------------------------------------------------- >Test Passed. >"x86_64-repro" end time: Feb 09 00:20 CET >"x86_64-repro" time elapsed: 00:00:00 >---------------------------------------------------------- > >181/293 Testing: x86_64-relocatable-exception >181/293 Test: x86_64-relocatable-exception >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/relocatable-exception.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-relocatable-exception" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/relocatable-exception.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/relocatable-exception.sh .sh >++ testname=relocatable-exception >++ echo -n 'Testing relocatable-exception ... ' >Testing relocatable-exception ... ++ t=out/test/elf/x86_64/relocatable-exception >++ mkdir -p out/test/elf/x86_64/relocatable-exception >+ '[' x86_64 = sh4 ']' >+ nm mold >+ grep -q __tsan_init >+ cat >+ c++ -c -o out/test/elf/x86_64/relocatable-exception/a.o -xc++ - >+ c++ -c -o out/test/elf/x86_64/relocatable-exception/b.o -xc++ - >+ cat >+ ./mold --relocatable -o out/test/elf/x86_64/relocatable-exception/c.o out/test/elf/x86_64/relocatable-exception/a.o out/test/elf/x86_64/relocatable-exception/b.o >+ c++ -B. -o out/test/elf/x86_64/relocatable-exception/exe out/test/elf/x86_64/relocatable-exception/c.o >+ out/test/elf/x86_64/relocatable-exception/exe >0 >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 1.57 sec >---------------------------------------------------------- >Test Passed. >"x86_64-relocatable-exception" end time: Feb 09 00:20 CET >"x86_64-relocatable-exception" time elapsed: 00:00:01 >---------------------------------------------------------- > >187/293 Testing: x86_64-require-defined >187/293 Test: x86_64-require-defined >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/require-defined.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-require-defined" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/require-defined.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/require-defined.sh .sh >++ testname=require-defined >++ echo -n 'Testing require-defined ... ' >Testing require-defined ... ++ t=out/test/elf/x86_64/require-defined >++ mkdir -p out/test/elf/x86_64/require-defined >+ cat >+ cc -o out/test/elf/x86_64/require-defined/a.o -c -xc - >+ rm -f out/test/elf/x86_64/require-defined/b.a >+ ar rcs out/test/elf/x86_64/require-defined/b.a out/test/elf/x86_64/require-defined/a.o >+ cat >+ cc -o out/test/elf/x86_64/require-defined/c.o -c -xc - >+ cc -B. -o out/test/elf/x86_64/require-defined/exe out/test/elf/x86_64/require-defined/c.o out/test/elf/x86_64/require-defined/b.a >+ grep -q foobar >+ readelf --symbols out/test/elf/x86_64/require-defined/exe >+ cc -B. -o out/test/elf/x86_64/require-defined/exe out/test/elf/x86_64/require-defined/c.o out/test/elf/x86_64/require-defined/b.a -Wl,-require-defined,foobar >+ readelf --symbols out/test/elf/x86_64/require-defined/exe >+ grep -q foobar >+ cc -B. -o out/test/elf/x86_64/require-defined/exe out/test/elf/x86_64/require-defined/c.o out/test/elf/x86_64/require-defined/b.a -Wl,-require-defined,xyz >+ grep -q 'undefined symbol: xyz' out/test/elf/x86_64/require-defined/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.67 sec >---------------------------------------------------------- >Test Passed. >"x86_64-require-defined" end time: Feb 09 00:20 CET >"x86_64-require-defined" time elapsed: 00:00:00 >---------------------------------------------------------- > >184/293 Testing: x86_64-relocatable >184/293 Test: x86_64-relocatable >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/relocatable.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-relocatable" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/relocatable.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/relocatable.sh .sh >++ testname=relocatable >++ echo -n 'Testing relocatable ... ' >Testing relocatable ... ++ t=out/test/elf/x86_64/relocatable >++ mkdir -p out/test/elf/x86_64/relocatable >+ nm mold >+ grep -q __tsan_init >+ cat >+ cc -c -o out/test/elf/x86_64/relocatable/a.o -xc - >+ cat >+ cc -c -o out/test/elf/x86_64/relocatable/b.o -xc - >+ ./mold --relocatable -o out/test/elf/x86_64/relocatable/c.o out/test/elf/x86_64/relocatable/a.o out/test/elf/x86_64/relocatable/b.o >+ cc -B. -o out/test/elf/x86_64/relocatable/exe out/test/elf/x86_64/relocatable/c.o >+ out/test/elf/x86_64/relocatable/exe >Hello world >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.88 sec >---------------------------------------------------------- >Test Passed. >"x86_64-relocatable" end time: Feb 09 00:20 CET >"x86_64-relocatable" time elapsed: 00:00:00 >---------------------------------------------------------- > >189/293 Testing: x86_64-retain-symbols-file >189/293 Test: x86_64-retain-symbols-file >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/retain-symbols-file.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-retain-symbols-file" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/retain-symbols-file.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/retain-symbols-file.sh .sh >++ testname=retain-symbols-file >++ echo -n 'Testing retain-symbols-file ... ' >Testing retain-symbols-file ... ++ t=out/test/elf/x86_64/retain-symbols-file >++ mkdir -p out/test/elf/x86_64/retain-symbols-file >+ cat >+ cc -c -o out/test/elf/x86_64/retain-symbols-file/a.o -xc - >+ cat >+ cc -B. -o out/test/elf/x86_64/retain-symbols-file/exe out/test/elf/x86_64/retain-symbols-file/a.o -Wl,--retain-symbols-file=out/test/elf/x86_64/retain-symbols-file/symbols >+ readelf -W --symbols out/test/elf/x86_64/retain-symbols-file/exe >+ grep -qw foo out/test/elf/x86_64/retain-symbols-file/log >+ grep -qw bar out/test/elf/x86_64/retain-symbols-file/log >+ grep -qw main out/test/elf/x86_64/retain-symbols-file/log >+ grep -qw baz out/test/elf/x86_64/retain-symbols-file/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.32 sec >---------------------------------------------------------- >Test Passed. >"x86_64-retain-symbols-file" end time: Feb 09 00:20 CET >"x86_64-retain-symbols-file" time elapsed: 00:00:00 >---------------------------------------------------------- > >188/293 Testing: x86_64-response-file >188/293 Test: x86_64-response-file >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/response-file.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-response-file" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/response-file.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/response-file.sh .sh >++ testname=response-file >++ echo -n 'Testing response-file ... ' >Testing response-file ... ++ t=out/test/elf/x86_64/response-file >++ mkdir -p out/test/elf/x86_64/response-file >+ cat >+ cc -c -o out/test/elf/x86_64/response-file/a.o -xc - >+ cc -c -o out/test/elf/x86_64/response-file/b.o -xc - >+ cat >+ cat >+ cc -c -o out/test/elf/x86_64/response-file/c.o -xc - >+ echo ''\''out/test/elf/x86_64/response-file/b.o'\'' '\''out/test/elf/x86_64/response-file/c.o'\''' >+ cc -o out/test/elf/x86_64/response-file/exe out/test/elf/x86_64/response-file/a.o -Wl,@out/test/elf/x86_64/response-file/rsp >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.45 sec >---------------------------------------------------------- >Test Passed. >"x86_64-response-file" end time: Feb 09 00:20 CET >"x86_64-response-file" time elapsed: 00:00:00 >---------------------------------------------------------- > >149/293 Testing: x86_64-many-sections2 >149/293 Test: x86_64-many-sections2 >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/many-sections2.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-many-sections2" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/many-sections2.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/many-sections2.sh .sh >++ testname=many-sections2 >++ echo -n 'Testing many-sections2 ... ' >Testing many-sections2 ... ++ t=out/test/elf/x86_64/many-sections2 >++ mkdir -p out/test/elf/x86_64/many-sections2 >+ nm mold >+ grep -q __tsan_init >+ seq 1 100000 >+ sed 's/.*/.section .data.\0,"aw"\n.globl x\0\nx\0: .word 0\n/g' >+ cc -c -xassembler -o out/test/elf/x86_64/many-sections2/a.o - >+ ./mold --relocatable -o out/test/elf/x86_64/many-sections2/b.o out/test/elf/x86_64/many-sections2/a.o >+ readelf -WS out/test/elf/x86_64/many-sections2/b.o >+ grep -Fq .data.100000 >+ readelf -Ws out/test/elf/x86_64/many-sections2/b.o >+ grep -Fq 'GLOBAL DEFAULT 100000' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 4.98 sec >---------------------------------------------------------- >Test Passed. >"x86_64-many-sections2" end time: Feb 09 00:20 CET >"x86_64-many-sections2" time elapsed: 00:00:04 >---------------------------------------------------------- > >191/293 Testing: x86_64-rodata-name >191/293 Test: x86_64-rodata-name >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/rodata-name.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-rodata-name" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/rodata-name.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/rodata-name.sh .sh >++ testname=rodata-name >++ echo -n 'Testing rodata-name ... ' >Testing rodata-name ... ++ t=out/test/elf/x86_64/rodata-name >++ mkdir -p out/test/elf/x86_64/rodata-name >+ '[' x86_64 = arm ']' >+ cat >+ cc -c -o out/test/elf/x86_64/rodata-name/a.o -x assembler - >+ cat >+ cc -c -o out/test/elf/x86_64/rodata-name/b.o -xc - >+ cc -B. -o out/test/elf/x86_64/rodata-name/exe out/test/elf/x86_64/rodata-name/a.o out/test/elf/x86_64/rodata-name/b.o >+ readelf -p .rodata.str out/test/elf/x86_64/rodata-name/exe >+ grep -q Hello >+ readelf -p .rodata.str out/test/elf/x86_64/rodata-name/exe >+ grep -q world >+ readelf -p .rodata.str out/test/elf/x86_64/rodata-name/exe >+ grep -q foobar >+ readelf -p .rodata.cst out/test/elf/x86_64/rodata-name/exe >+ grep -q abcdefgh >+ readelf -p .rodatabar out/test/elf/x86_64/rodata-name/exe >+ grep -q bar >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.43 sec >---------------------------------------------------------- >Test Passed. >"x86_64-rodata-name" end time: Feb 09 00:20 CET >"x86_64-rodata-name" time elapsed: 00:00:00 >---------------------------------------------------------- > >193/293 Testing: x86_64-rpath >193/293 Test: x86_64-rpath >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/rpath.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-rpath" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/rpath.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/rpath.sh .sh >++ testname=rpath >++ echo -n 'Testing rpath ... ' >Testing rpath ... ++ t=out/test/elf/x86_64/rpath >++ mkdir -p out/test/elf/x86_64/rpath >+ cc -o out/test/elf/x86_64/rpath/a.o -c -x assembler - >+ cat >+ cc -B. -o out/test/elf/x86_64/rpath/exe1 out/test/elf/x86_64/rpath/a.o -Wl,-rpath,/foo,-rpath,/bar,-R/no/such/directory,-R/ >+ readelf --dynamic out/test/elf/x86_64/rpath/exe1 >+ grep -Fq 'Library runpath: [/foo:/bar:/no/such/directory:/]' >+ cc -B. -o out/test/elf/x86_64/rpath/exe2 out/test/elf/x86_64/rpath/a.o -Wl,-rpath,/foo,-rpath,/bar,-rpath,/foo,-rpath,/baz >+ readelf --dynamic out/test/elf/x86_64/rpath/exe2 >+ grep -Fq 'Library runpath: [/foo:/bar:/baz]' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.37 sec >---------------------------------------------------------- >Test Passed. >"x86_64-rpath" end time: Feb 09 00:20 CET >"x86_64-rpath" time elapsed: 00:00:00 >---------------------------------------------------------- > >190/293 Testing: x86_64-reverse-sections >190/293 Test: x86_64-reverse-sections >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/reverse-sections.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-reverse-sections" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/reverse-sections.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/reverse-sections.sh .sh >++ testname=reverse-sections >++ echo -n 'Testing reverse-sections ... ' >Testing reverse-sections ... ++ t=out/test/elf/x86_64/reverse-sections >++ mkdir -p out/test/elf/x86_64/reverse-sections >+ cat >+ cc -o out/test/elf/x86_64/reverse-sections/a.o -c -xc++ - >+ cc -o out/test/elf/x86_64/reverse-sections/b.o -c -xc++ - >+ cat >+ cat >+ cc -o out/test/elf/x86_64/reverse-sections/c.o -c -xc++ - >+ c++ -B. -o out/test/elf/x86_64/reverse-sections/exe1 out/test/elf/x86_64/reverse-sections/a.o out/test/elf/x86_64/reverse-sections/b.o out/test/elf/x86_64/reverse-sections/c.o >+ + grep -q 'foo1 foo2 foo3 foo4 foo5 foo6' >out/test/elf/x86_64/reverse-sections/exe1 >+ c++ -B. -o out/test/elf/x86_64/reverse-sections/exe2 out/test/elf/x86_64/reverse-sections/a.o out/test/elf/x86_64/reverse-sections/b.o out/test/elf/x86_64/reverse-sections/c.o -Wl,--reverse-sections >+ out/test/elf/x86_64/reverse-sections/exe2 >+ grep -q 'foo5 foo6 foo3 foo4 foo1 foo2' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.74 sec >---------------------------------------------------------- >Test Passed. >"x86_64-reverse-sections" end time: Feb 09 00:20 CET >"x86_64-reverse-sections" time elapsed: 00:00:00 >---------------------------------------------------------- > >192/293 Testing: x86_64-rosegment >192/293 Test: x86_64-rosegment >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/rosegment.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-rosegment" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/rosegment.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/rosegment.sh .sh >++ testname=rosegment >++ echo -n 'Testing rosegment ... ' >Testing rosegment ... ++ t=out/test/elf/x86_64/rosegment >++ mkdir -p out/test/elf/x86_64/rosegment >+ cat >+ cc -o out/test/elf/x86_64/rosegment/a.o -c -xc - >+ cc -B. -o out/test/elf/x86_64/rosegment/exe1 out/test/elf/x86_64/rosegment/a.o >+ readelf -W --segments out/test/elf/x86_64/rosegment/exe1 >+ grep -q '\.interp .* \.text' out/test/elf/x86_64/rosegment/log1 >+ cc -B. -o out/test/elf/x86_64/rosegment/exe2 out/test/elf/x86_64/rosegment/a.o -Wl,--rosegment >+ readelf -W --segments out/test/elf/x86_64/rosegment/exe2 >+ grep -q '\.interp .* \.text' out/test/elf/x86_64/rosegment/log2 >+ cc -B. -o out/test/elf/x86_64/rosegment/exe3 out/test/elf/x86_64/rosegment/a.o -Wl,--no-rosegment >+ readelf -W --segments out/test/elf/x86_64/rosegment/exe3 >+ grep -q '\.interp .* \.text' out/test/elf/x86_64/rosegment/log3 >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.68 sec >---------------------------------------------------------- >Test Passed. >"x86_64-rosegment" end time: Feb 09 00:20 CET >"x86_64-rosegment" time elapsed: 00:00:00 >---------------------------------------------------------- > >194/293 Testing: x86_64-run-clang >194/293 Test: x86_64-run-clang >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/run-clang.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-run-clang" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/run-clang.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/run-clang.sh .sh >++ testname=run-clang >++ echo -n 'Testing run-clang ... ' >Testing run-clang ... ++ t=out/test/elf/x86_64/run-clang >++ mkdir -p out/test/elf/x86_64/run-clang >+ '[' cc = cc ']' >+ nm mold-wrapper.so >+ grep -q '__[at]san_init' >+ clang --version >+ cat >+ cc -xc -c -o out/test/elf/x86_64/run-clang/a.o - >++ pwd >+ LD_PRELOAD=/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build/mold-wrapper.so >++ pwd >+ MOLD_PATH=/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build/mold >+ clang -no-pie -o out/test/elf/x86_64/run-clang/exe out/test/elf/x86_64/run-clang/a.o -fuse-ld=/usr/bin/ld >+ readelf -p .comment out/test/elf/x86_64/run-clang/exe >+ grep -q '[ms]old' out/test/elf/x86_64/run-clang/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.55 sec >---------------------------------------------------------- >Test Passed. >"x86_64-run-clang" end time: Feb 09 00:20 CET >"x86_64-run-clang" time elapsed: 00:00:00 >---------------------------------------------------------- > >195/293 Testing: x86_64-section-align >195/293 Test: x86_64-section-align >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/section-align.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-section-align" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/section-align.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/section-align.sh .sh >++ testname=section-align >++ echo -n 'Testing section-align ... ' >Testing section-align ... ++ t=out/test/elf/x86_64/section-align >++ mkdir -p out/test/elf/x86_64/section-align >+ cat >+ cc -o out/test/elf/x86_64/section-align/a.o -c -xc -fno-PIC - >+ cc -B. -o out/test/elf/x86_64/section-align/exe1 out/test/elf/x86_64/section-align/a.o -Wl,--section-align=.foo=0x2000 >+ readelf -WS out/test/elf/x86_64/section-align/exe1 >+ grep -q '\.foo.* 8192$' >+ cc -B. -o out/test/elf/x86_64/section-align/exe2 out/test/elf/x86_64/section-align/a.o -Wl,--section-align=.foo=256 >+ grep -q '\.foo.* 256$' >+ readelf -WS out/test/elf/x86_64/section-align/exe2 >+ cc -B. -o out/test/elf/x86_64/section-align/exe3 out/test/elf/x86_64/section-align/a.o -Wl,--section-align=.foo=3 >+ grep -q 'must be a power of 2' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.61 sec >---------------------------------------------------------- >Test Passed. >"x86_64-section-align" end time: Feb 09 00:20 CET >"x86_64-section-align" time elapsed: 00:00:00 >---------------------------------------------------------- > >197/293 Testing: x86_64-section-start >197/293 Test: x86_64-section-start >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/section-start.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-section-start" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/section-start.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/section-start.sh .sh >++ testname=section-start >++ echo -n 'Testing section-start ... ' >Testing section-start ... ++ t=out/test/elf/x86_64/section-start >++ mkdir -p out/test/elf/x86_64/section-start >+ '[' x86_64 = ppc64 ']' >+ '[' x86_64 = arm ']' >+ cat >+ cc -o out/test/elf/x86_64/section-start/a.o -c -xc -fno-PIC - >+ cc -B. -o out/test/elf/x86_64/section-start/exe1 out/test/elf/x86_64/section-start/a.o -no-pie -Wl,--section-start=.fn1=0x10000000,--section-start=.fn2=0x20000000 >+ out/test/elf/x86_64/section-start/exe1 >+ grep -q 'main fn1 fn2 0x10000000 0x20000000' >+ grep ' LOAD ' >+ readelf -W --segments out/test/elf/x86_64/section-start/exe1 >+ sed 's/0x[0-9a-f]*//' >+ diff out/test/elf/x86_64/section-start/log1 /dev/fd/63 >++ sort out/test/elf/x86_64/section-start/log1 >+ cc -B. -o out/test/elf/x86_64/section-start/exe2 out/test/elf/x86_64/section-start/a.o -no-pie -Wl,--section-start=.fn1=0x20000000,--section-start=.fn2=0x10000000 >+ out/test/elf/x86_64/section-start/exe2 >+ grep -q 'main fn1 fn2 0x20000000 0x10000000' >+ readelf -W --segments out/test/elf/x86_64/section-start/exe2 >+ grep ' LOAD ' >+ sed 's/0x[0-9a-f]*//' >+ diff out/test/elf/x86_64/section-start/log2 /dev/fd/63 >++ sort out/test/elf/x86_64/section-start/log2 >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.64 sec >---------------------------------------------------------- >Test Passed. >"x86_64-section-start" end time: Feb 09 00:20 CET >"x86_64-section-start" time elapsed: 00:00:00 >---------------------------------------------------------- > >196/293 Testing: x86_64-section-order >196/293 Test: x86_64-section-order >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/section-order.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-section-order" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/section-order.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/section-order.sh .sh >++ testname=section-order >++ echo -n 'Testing section-order ... ' >Testing section-order ... ++ t=out/test/elf/x86_64/section-order >++ mkdir -p out/test/elf/x86_64/section-order >+ '[' -z '' ']' >+ cat >+ cc -o out/test/elf/x86_64/section-order/a.o -c -xc -fno-PIC - >+ cc -B. -o out/test/elf/x86_64/section-order/exe1 out/test/elf/x86_64/section-order/a.o -no-pie '-Wl,--section-order==0x100000 PHDR =0x200000 .fn2 TEXT =0x300000 .fn1 DATA BSS RODATA' >+ out/test/elf/x86_64/section-order/exe1 >+ grep -q Hello >+ readelf -SW out/test/elf/x86_64/section-order/exe1 >+ grep -q '\.fn2 .*00200000' >+ grep -q '\.fn1 .*00300000' >+ readelf -SW out/test/elf/x86_64/section-order/exe1 >+ readelf -sw out/test/elf/x86_64/section-order/exe1 >+ grep -Eq ': 0+\s.*\s__ehdr_start$' >+ cc -B. -o out/test/elf/x86_64/section-order/exe2 out/test/elf/x86_64/section-order/a.o -no-pie '-Wl,--section-order==0x200000 EHDR RODATA =0x300000 PHDR =0x400000 .fn2 TEXT DATA BSS' >+ readelf -SW out/test/elf/x86_64/section-order/exe2 >+ grep -q '\.fn2 .*00400000' >+ readelf -sW out/test/elf/x86_64/section-order/exe2 >+ grep -Eq ': 0+200000\s.*\s__ehdr_start$' >+ grep -Eq 'PHDR\s.*0x0+300000\s' >+ readelf -W --segments out/test/elf/x86_64/section-order/exe2 >+ cc -B. -o out/test/elf/x86_64/section-order/exe3 out/test/elf/x86_64/section-order/a.o -no-pie '-Wl,--section-order==0x200000 !ehdr_start EHDR %0x20 !rodata_start RODATA =0x300000 !phdr_start PHDR %4096 !phdr_end =0x400000 !text_start TEXT DATA BSS' >+ readelf -sW out/test/elf/x86_64/section-order/exe3 >+ grep -Eq '\b0+200000 .* ehdr_start$' out/test/elf/x86_64/section-order/log3 >+ grep -Eq '\b0+200040 .* rodata_start$' out/test/elf/x86_64/section-order/log3 >+ grep -Eq '\b0+300000 .* phdr_start$' out/test/elf/x86_64/section-order/log3 >+ grep -Eq '\b0+301000 .* phdr_end$' out/test/elf/x86_64/section-order/log3 >+ grep -Eq '\b0+400000 .* text_start$' out/test/elf/x86_64/section-order/log3 >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.87 sec >---------------------------------------------------------- >Test Passed. >"x86_64-section-order" end time: Feb 09 00:20 CET >"x86_64-section-order" time elapsed: 00:00:00 >---------------------------------------------------------- > >199/293 Testing: x86_64-shared >199/293 Test: x86_64-shared >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/shared.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-shared" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/shared.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/shared.sh .sh >++ testname=shared >++ echo -n 'Testing shared ... ' >Testing shared ... ++ t=out/test/elf/x86_64/shared >++ mkdir -p out/test/elf/x86_64/shared >+ cat >+ cc -fPIC -c -o out/test/elf/x86_64/shared/a.o -xc - >+ cc -B. -shared -o out/test/elf/x86_64/shared/b.so out/test/elf/x86_64/shared/a.o >+ readelf --dyn-syms out/test/elf/x86_64/shared/b.so >+ grep -q '00000000 0 NOTYPE GLOBAL DEFAULT UND fn2' out/test/elf/x86_64/shared/log >+ grep -Eq 'FUNC GLOBAL DEFAULT .* fn1' out/test/elf/x86_64/shared/log >+ cat >+ cc -fPIC -c -o out/test/elf/x86_64/shared/c.o -xc - >+ cc -B. -o out/test/elf/x86_64/shared/exe out/test/elf/x86_64/shared/c.o out/test/elf/x86_64/shared/b.so >+ out/test/elf/x86_64/shared/exe >+ grep -q hello >+ readelf --symbols out/test/elf/x86_64/shared/exe >+ grep -q fn3 >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.67 sec >---------------------------------------------------------- >Test Passed. >"x86_64-shared" end time: Feb 09 00:20 CET >"x86_64-shared" time elapsed: 00:00:00 >---------------------------------------------------------- > >198/293 Testing: x86_64-shared-abs-sym >198/293 Test: x86_64-shared-abs-sym >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/shared-abs-sym.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-shared-abs-sym" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/shared-abs-sym.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/shared-abs-sym.sh .sh >++ testname=shared-abs-sym >++ echo -n 'Testing shared-abs-sym ... ' >Testing shared-abs-sym ... ++ t=out/test/elf/x86_64/shared-abs-sym >++ mkdir -p out/test/elf/x86_64/shared-abs-sym >+ cat >+ cc -fPIC -c -o out/test/elf/x86_64/shared-abs-sym/a.o -xassembler - >+ cc -B. -shared -o out/test/elf/x86_64/shared-abs-sym/b.so out/test/elf/x86_64/shared-abs-sym/a.o >+ cat >+ cc -fPIC -c -o out/test/elf/x86_64/shared-abs-sym/d.o out/test/elf/x86_64/shared-abs-sym/c.c >+ cc -B. -o out/test/elf/x86_64/shared-abs-sym/exe1 -pie out/test/elf/x86_64/shared-abs-sym/d.o out/test/elf/x86_64/shared-abs-sym/b.so >+ out/test/elf/x86_64/shared-abs-sym/exe1 >+ grep -q foo=0x3 >+ nm -D out/test/elf/x86_64/shared-abs-sym/exe1 >+ grep -q foo out/test/elf/x86_64/shared-abs-sym/log1 >+ cc -fPIC -c -o out/test/elf/x86_64/shared-abs-sym/e.o out/test/elf/x86_64/shared-abs-sym/c.c >+ cc -B. -o out/test/elf/x86_64/shared-abs-sym/exe2 -no-pie out/test/elf/x86_64/shared-abs-sym/e.o out/test/elf/x86_64/shared-abs-sym/b.so >+ out/test/elf/x86_64/shared-abs-sym/exe2 >+ grep -q foo=0x3 >+ nm -D out/test/elf/x86_64/shared-abs-sym/exe2 >+ grep -q foo out/test/elf/x86_64/shared-abs-sym/log2 >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 1.01 sec >---------------------------------------------------------- >Test Passed. >"x86_64-shared-abs-sym" end time: Feb 09 00:20 CET >"x86_64-shared-abs-sym" time elapsed: 00:00:01 >---------------------------------------------------------- > >202/293 Testing: x86_64-soname >202/293 Test: x86_64-soname >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/soname.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-soname" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/soname.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/soname.sh .sh >++ testname=soname >++ echo -n 'Testing soname ... ' >Testing soname ... ++ t=out/test/elf/x86_64/soname >++ mkdir -p out/test/elf/x86_64/soname >+ cat >+ cc -fPIC -c -o out/test/elf/x86_64/soname/a.o -xc - >+ cc -o out/test/elf/x86_64/soname/b.so -shared out/test/elf/x86_64/soname/a.o >+ readelf --dynamic out/test/elf/x86_64/soname/b.so >+ grep -Fq 'Library soname' out/test/elf/x86_64/soname/log >+ cc -B. -o out/test/elf/x86_64/soname/b.so -shared out/test/elf/x86_64/soname/a.o -Wl,-soname,foo >+ grep -Fq 'Library soname: [foo]' >+ readelf --dynamic out/test/elf/x86_64/soname/b.so >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.48 sec >---------------------------------------------------------- >Test Passed. >"x86_64-soname" end time: Feb 09 00:20 CET >"x86_64-soname" time elapsed: 00:00:00 >---------------------------------------------------------- > >203/293 Testing: x86_64-start-lib >203/293 Test: x86_64-start-lib >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/start-lib.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-start-lib" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/start-lib.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/start-lib.sh .sh >++ testname=start-lib >++ echo -n 'Testing start-lib ... ' >Testing start-lib ... ++ t=out/test/elf/x86_64/start-lib >++ mkdir -p out/test/elf/x86_64/start-lib >+ cat >+ cc -o out/test/elf/x86_64/start-lib/a.o -c -xc - >+ cat >+ cc -o out/test/elf/x86_64/start-lib/b.o -c -xc - >+ cc -o out/test/elf/x86_64/start-lib/c.o -c -xc - >+ cat >+ cc -B. -o out/test/elf/x86_64/start-lib/exe -Wl,-start-lib out/test/elf/x86_64/start-lib/a.o -Wl,-end-lib out/test/elf/x86_64/start-lib/b.o out/test/elf/x86_64/start-lib/c.o >+ nm out/test/elf/x86_64/start-lib/exe >+ grep -q ' foo$' out/test/elf/x86_64/start-lib/log >+ grep -q ' bar$' out/test/elf/x86_64/start-lib/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.67 sec >---------------------------------------------------------- >Test Passed. >"x86_64-start-lib" end time: Feb 09 00:20 CET >"x86_64-start-lib" time elapsed: 00:00:00 >---------------------------------------------------------- > >205/293 Testing: x86_64-start-stop >205/293 Test: x86_64-start-stop >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/start-stop.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-start-stop" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/start-stop.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/start-stop.sh .sh >++ testname=start-stop >++ echo -n 'Testing start-stop ... ' >Testing start-stop ... ++ t=out/test/elf/x86_64/start-stop >++ mkdir -p out/test/elf/x86_64/start-stop >+ cat >+ cc -c -o out/test/elf/x86_64/start-stop/a.o -xc - >+ cc -B. -o out/test/elf/x86_64/start-stop/exe1 out/test/elf/x86_64/start-stop/a.o -Wl,--start-stop >+ readelf -sW out/test/elf/x86_64/start-stop/exe1 >+ grep -q __start_text >+ readelf -sW out/test/elf/x86_64/start-stop/exe1 >+ grep -q __stop_text >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.31 sec >---------------------------------------------------------- >Test Passed. >"x86_64-start-stop" end time: Feb 09 00:20 CET >"x86_64-start-stop" time elapsed: 00:00:00 >---------------------------------------------------------- > >204/293 Testing: x86_64-start-stop-symbol >204/293 Test: x86_64-start-stop-symbol >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/start-stop-symbol.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-start-stop-symbol" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/start-stop-symbol.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/start-stop-symbol.sh .sh >++ testname=start-stop-symbol >++ echo -n 'Testing start-stop-symbol ... ' >Testing start-stop-symbol ... ++ t=out/test/elf/x86_64/start-stop-symbol >++ mkdir -p out/test/elf/x86_64/start-stop-symbol >+ cat >+ cc -c -o out/test/elf/x86_64/start-stop-symbol/a.o -xc - >+ ar rcs out/test/elf/x86_64/start-stop-symbol/b.a out/test/elf/x86_64/start-stop-symbol/a.o >+ cat >+ cc -c -o out/test/elf/x86_64/start-stop-symbol/c.o -xc - >+ cc -B. -o out/test/elf/x86_64/start-stop-symbol/exe out/test/elf/x86_64/start-stop-symbol/c.o out/test/elf/x86_64/start-stop-symbol/b.a >+ grep -q 'section foo section foo' >+ out/test/elf/x86_64/start-stop-symbol/exe >+ cc -B. -o out/test/elf/x86_64/start-stop-symbol/exe out/test/elf/x86_64/start-stop-symbol/c.o out/test/elf/x86_64/start-stop-symbol/b.a -Wl,-gc-sections >+ out/test/elf/x86_64/start-stop-symbol/exe >+ grep -q 'section foo section foo' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.70 sec >---------------------------------------------------------- >Test Passed. >"x86_64-start-stop-symbol" end time: Feb 09 00:20 CET >"x86_64-start-stop-symbol" time elapsed: 00:00:00 >---------------------------------------------------------- > >207/293 Testing: x86_64-stdout >207/293 Test: x86_64-stdout >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/stdout.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-stdout" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/stdout.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/stdout.sh .sh >++ testname=stdout >++ echo -n 'Testing stdout ... ' >Testing stdout ... ++ t=out/test/elf/x86_64/stdout >++ mkdir -p out/test/elf/x86_64/stdout >+ cat >+ cc -o out/test/elf/x86_64/stdout/a.o -c -xc - >+ cc -B. -Wl,-build-id=sha1 out/test/elf/x86_64/stdout/a.o -o - >+ chmod 755 out/test/elf/x86_64/stdout/exe >+ out/test/elf/x86_64/stdout/exe >+ grep -q 'Hello world' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.33 sec >---------------------------------------------------------- >Test Passed. >"x86_64-stdout" end time: Feb 09 00:20 CET >"x86_64-stdout" time elapsed: 00:00:00 >---------------------------------------------------------- > >208/293 Testing: x86_64-strip >208/293 Test: x86_64-strip >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/strip.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-strip" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/strip.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/strip.sh .sh >++ testname=strip >++ echo -n 'Testing strip ... ' >Testing strip ... ++ t=out/test/elf/x86_64/strip >++ mkdir -p out/test/elf/x86_64/strip >+ cat >+ cc -x assembler -c -o out/test/elf/x86_64/strip/a.o -Wa,-L - >+ ./mold -o out/test/elf/x86_64/strip/exe out/test/elf/x86_64/strip/a.o >+ readelf --symbols out/test/elf/x86_64/strip/exe >+ grep -Fq _start out/test/elf/x86_64/strip/log >+ grep -Fq foo out/test/elf/x86_64/strip/log >+ grep -Fq bar out/test/elf/x86_64/strip/log >+ '[' x86_64 '!=' riscv32 ']' >+ '[' x86_64 '!=' riscv64 ']' >+ grep -Fq .L.baz out/test/elf/x86_64/strip/log >+ ./mold -o out/test/elf/x86_64/strip/exe out/test/elf/x86_64/strip/a.o -strip-all >+ readelf --symbols out/test/elf/x86_64/strip/exe >+ grep -Fq _start out/test/elf/x86_64/strip/log >+ grep -Fq foo out/test/elf/x86_64/strip/log >+ grep -Fq bar out/test/elf/x86_64/strip/log >+ '[' x86_64 '!=' riscv32 ']' >+ '[' x86_64 '!=' riscv64 ']' >+ grep -Fq .L.baz out/test/elf/x86_64/strip/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.33 sec >---------------------------------------------------------- >Test Passed. >"x86_64-strip" end time: Feb 09 00:20 CET >"x86_64-strip" time elapsed: 00:00:00 >---------------------------------------------------------- > >206/293 Testing: x86_64-static-archive >206/293 Test: x86_64-static-archive >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/static-archive.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-static-archive" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/static-archive.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/static-archive.sh .sh >++ testname=static-archive >++ echo -n 'Testing static-archive ... ' >Testing static-archive ... ++ t=out/test/elf/x86_64/static-archive >++ mkdir -p out/test/elf/x86_64/static-archive >+ cat >+ cc -o out/test/elf/x86_64/static-archive/long-long-long-filename.o -c -xc - >+ cat >+ cc -o out/test/elf/x86_64/static-archive/b.o -c -xc - >+ cc -o out/test/elf/x86_64/static-archive/c.o -c -xc - >+ cat >+ rm -f out/test/elf/x86_64/static-archive/d.a >+ cd out/test/elf/x86_64/static-archive >+ ar rcs d.a long-long-long-filename.o b.o >+ cc -B. -Wl,--trace -o out/test/elf/x86_64/static-archive/exe out/test/elf/x86_64/static-archive/c.o out/test/elf/x86_64/static-archive/d.a >+ grep -Fq 'static-archive/d.a(long-long-long-filename.o)' out/test/elf/x86_64/static-archive/log >+ grep -Fq 'static-archive/d.a(b.o)' out/test/elf/x86_64/static-archive/log >+ grep -Fq static-archive/c.o out/test/elf/x86_64/static-archive/log >+ out/test/elf/x86_64/static-archive/exe >+ grep -q 8 >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.64 sec >---------------------------------------------------------- >Test Passed. >"x86_64-static-archive" end time: Feb 09 00:20 CET >"x86_64-static-archive" time elapsed: 00:00:00 >---------------------------------------------------------- > >201/293 Testing: x86_64-shuffle-sections >201/293 Test: x86_64-shuffle-sections >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/shuffle-sections.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-shuffle-sections" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/shuffle-sections.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/shuffle-sections.sh .sh >++ testname=shuffle-sections >++ echo -n 'Testing shuffle-sections ... ' >Testing shuffle-sections ... ++ t=out/test/elf/x86_64/shuffle-sections >++ mkdir -p out/test/elf/x86_64/shuffle-sections >+ cc -o out/test/elf/x86_64/shuffle-sections/a.o -ffunction-sections -c -xc - >+ cat >+ cc -o out/test/elf/x86_64/shuffle-sections/b.o -ffunction-sections -c -xc - >++ seq 1 1000 >+ for i in `seq 1 1000` >+ echo 'void fn1() {}' >+ for i in `seq 1 1000` >+ echo 'void fn2() {}' >+ for i in `seq 1 1000` >+ echo 'void fn3() {}' >+ for i in `seq 1 1000` >+ echo 'void fn4() {}' >+ for i in `seq 1 1000` >+ echo 'void fn5() {}' >+ for i in `seq 1 1000` >+ echo 'void fn6() {}' >+ for i in `seq 1 1000` >+ echo 'void fn7() {}' >+ for i in `seq 1 1000` >+ echo 'void fn8() {}' >+ for i in `seq 1 1000` >+ echo 'void fn9() {}' >+ for i in `seq 1 1000` >+ echo 'void fn10() {}' >+ for i in `seq 1 1000` >+ echo 'void fn11() {}' >+ for i in `seq 1 1000` >+ echo 'void fn12() {}' >+ for i in `seq 1 1000` >+ echo 'void fn13() {}' >+ for i in `seq 1 1000` >+ echo 'void fn14() {}' >+ for i in `seq 1 1000` >+ echo 'void fn15() {}' >+ for i in `seq 1 1000` >+ echo 'void fn16() {}' >+ for i in `seq 1 1000` >+ echo 'void fn17() {}' >+ for i in `seq 1 1000` >+ echo 'void fn18() {}' >+ for i in `seq 1 1000` >+ echo 'void fn19() {}' >+ for i in `seq 1 1000` >+ echo 'void fn20() {}' >+ for i in `seq 1 1000` >+ echo 'void fn21() {}' >+ for i in `seq 1 1000` >+ echo 'void fn22() {}' >+ for i in `seq 1 1000` >+ echo 'void fn23() {}' >+ for i in `seq 1 1000` >+ echo 'void fn24() {}' >+ for i in `seq 1 1000` >+ echo 'void fn25() {}' >+ for i in `seq 1 1000` >+ echo 'void fn26() {}' >+ for i in `seq 1 1000` >+ echo 'void fn27() {}' >+ for i in `seq 1 1000` >+ echo 'void fn28() {}' >+ for i in `seq 1 1000` >+ echo 'void fn29() {}' >+ for i in `seq 1 1000` >+ echo 'void fn30() {}' >+ for i in `seq 1 1000` >+ echo 'void fn31() {}' >+ for i in `seq 1 1000` >+ echo 'void fn32() {}' >+ for i in `seq 1 1000` >+ echo 'void fn33() {}' >+ for i in `seq 1 1000` >+ echo 'void fn34() {}' >+ for i in `seq 1 1000` >+ echo 'void fn35() {}' >+ for i in `seq 1 1000` >+ echo 'void fn36() {}' >+ for i in `seq 1 1000` >+ echo 'void fn37() {}' >+ for i in `seq 1 1000` >+ echo 'void fn38() {}' >+ for i in `seq 1 1000` >+ echo 'void fn39() {}' >+ for i in `seq 1 1000` >+ echo 'void fn40() {}' >+ for i in `seq 1 1000` >+ echo 'void fn41() {}' >+ for i in `seq 1 1000` >+ echo 'void fn42() {}' >+ for i in `seq 1 1000` >+ echo 'void fn43() {}' >+ for i in `seq 1 1000` >+ echo 'void fn44() {}' >+ for i in `seq 1 1000` >+ echo 'void fn45() {}' >+ for i in `seq 1 1000` >+ echo 'void fn46() {}' >+ for i in `seq 1 1000` >+ echo 'void fn47() {}' >+ for i in `seq 1 1000` >+ echo 'void fn48() {}' >+ for i in `seq 1 1000` >+ echo 'void fn49() {}' >+ for i in `seq 1 1000` >+ echo 'void fn50() {}' >+ for i in `seq 1 1000` >+ echo 'void fn51() {}' >+ for i in `seq 1 1000` >+ echo 'void fn52() {}' >+ for i in `seq 1 1000` >+ echo 'void fn53() {}' >+ for i in `seq 1 1000` >+ echo 'void fn54() {}' >+ for i in `seq 1 1000` >+ echo 'void fn55() {}' >+ for i in `seq 1 1000` >+ echo 'void fn56() {}' >+ for i in `seq 1 1000` >+ echo 'void fn57() {}' >+ for i in `seq 1 1000` >+ echo 'void fn58() {}' >+ for i in `seq 1 1000` >+ echo 'void fn59() {}' >+ for i in `seq 1 1000` >+ echo 'void fn60() {}' >+ for i in `seq 1 1000` >+ echo 'void fn61() {}' >+ for i in `seq 1 1000` >+ echo 'void fn62() {}' >+ for i in `seq 1 1000` >+ echo 'void fn63() {}' >+ for i in `seq 1 1000` >+ echo 'void fn64() {}' >+ for i in `seq 1 1000` >+ echo 'void fn65() {}' >+ for i in `seq 1 1000` >+ echo 'void fn66() {}' >+ for i in `seq 1 1000` >+ echo 'void fn67() {}' >+ for i in `seq 1 1000` >+ echo 'void fn68() {}' >+ for i in `seq 1 1000` >+ echo 'void fn69() {}' >+ for i in `seq 1 1000` >+ echo 'void fn70() {}' >+ for i in `seq 1 1000` >+ echo 'void fn71() {}' >+ for i in `seq 1 1000` >+ echo 'void fn72() {}' >+ for i in `seq 1 1000` >+ echo 'void fn73() {}' >+ for i in `seq 1 1000` >+ echo 'void fn74() {}' >+ for i in `seq 1 1000` >+ echo 'void fn75() {}' >+ for i in `seq 1 1000` >+ echo 'void fn76() {}' >+ for i in `seq 1 1000` >+ echo 'void fn77() {}' >+ for i in `seq 1 1000` >+ echo 'void fn78() {}' >+ for i in `seq 1 1000` >+ echo 'void fn79() {}' >+ for i in `seq 1 1000` >+ echo 'void fn80() {}' >+ for i in `seq 1 1000` >+ echo 'void fn81() {}' >+ for i in `seq 1 1000` >+ echo 'void fn82() {}' >+ for i in `seq 1 1000` >+ echo 'void fn83() {}' >+ for i in `seq 1 1000` >+ echo 'void fn84() {}' >+ for i in `seq 1 1000` >+ echo 'void fn85() {}' >+ for i in `seq 1 1000` >+ echo 'void fn86() {}' >+ for i in `seq 1 1000` >+ echo 'void fn87() {}' >+ for i in `seq 1 1000` >+ echo 'void fn88() {}' >+ for i in `seq 1 1000` >+ echo 'void fn89() {}' >+ for i in `seq 1 1000` >+ echo 'void fn90() {}' >+ for i in `seq 1 1000` >+ echo 'void fn91() {}' >+ for i in `seq 1 1000` >+ echo 'void fn92() {}' >+ for i in `seq 1 1000` >+ echo 'void fn93() {}' >+ for i in `seq 1 1000` >+ echo 'void fn94() {}' >+ for i in `seq 1 1000` >+ echo 'void fn95() {}' >+ for i in `seq 1 1000` >+ echo 'void fn96() {}' >+ for i in `seq 1 1000` >+ echo 'void fn97() {}' >+ for i in `seq 1 1000` >+ echo 'void fn98() {}' >+ for i in `seq 1 1000` >+ echo 'void fn99() {}' >+ for i in `seq 1 1000` >+ echo 'void fn100() {}' >+ for i in `seq 1 1000` >+ echo 'void fn101() {}' >+ for i in `seq 1 1000` >+ echo 'void fn102() {}' >+ for i in `seq 1 1000` >+ echo 'void fn103() {}' >+ for i in `seq 1 1000` >+ echo 'void fn104() {}' >+ for i in `seq 1 1000` >+ echo 'void fn105() {}' >+ for i in `seq 1 1000` >+ echo 'void fn106() {}' >+ for i in `seq 1 1000` >+ echo 'void fn107() {}' >+ for i in `seq 1 1000` >+ echo 'void fn108() {}' >+ for i in `seq 1 1000` >+ echo 'void fn109() {}' >+ for i in `seq 1 1000` >+ echo 'void fn110() {}' >+ for i in `seq 1 1000` >+ echo 'void fn111() {}' >+ for i in `seq 1 1000` >+ echo 'void fn112() {}' >+ for i in `seq 1 1000` >+ echo 'void fn113() {}' >+ for i in `seq 1 1000` >+ echo 'void fn114() {}' >+ for i in `seq 1 1000` >+ echo 'void fn115() {}' >+ for i in `seq 1 1000` >+ echo 'void fn116() {}' >+ for i in `seq 1 1000` >+ echo 'void fn117() {}' >+ for i in `seq 1 1000` >+ echo 'void fn118() {}' >+ for i in `seq 1 1000` >+ echo 'void fn119() {}' >+ for i in `seq 1 1000` >+ echo 'void fn120() {}' >+ for i in `seq 1 1000` >+ echo 'void fn121() {}' >+ for i in `seq 1 1000` >+ echo 'void fn122() {}' >+ for i in `seq 1 1000` >+ echo 'void fn123() {}' >+ for i in `seq 1 1000` >+ echo 'void fn124() {}' >+ for i in `seq 1 1000` >+ echo 'void fn125() {}' >+ for i in `seq 1 1000` >+ echo 'void fn126() {}' >+ for i in `seq 1 1000` >+ echo 'void fn127() {}' >+ for i in `seq 1 1000` >+ echo 'void fn128() {}' >+ for i in `seq 1 1000` >+ echo 'void fn129() {}' >+ for i in `seq 1 1000` >+ echo 'void fn130() {}' >+ for i in `seq 1 1000` >+ echo 'void fn131() {}' >+ for i in `seq 1 1000` >+ echo 'void fn132() {}' >+ for i in `seq 1 1000` >+ echo 'void fn133() {}' >+ for i in `seq 1 1000` >+ echo 'void fn134() {}' >+ for i in `seq 1 1000` >+ echo 'void fn135() {}' >+ for i in `seq 1 1000` >+ echo 'void fn136() {}' >+ for i in `seq 1 1000` >+ echo 'void fn137() {}' >+ for i in `seq 1 1000` >+ echo 'void fn138() {}' >+ for i in `seq 1 1000` >+ echo 'void fn139() {}' >+ for i in `seq 1 1000` >+ echo 'void fn140() {}' >+ for i in `seq 1 1000` >+ echo 'void fn141() {}' >+ for i in `seq 1 1000` >+ echo 'void fn142() {}' >+ for i in `seq 1 1000` >+ echo 'void fn143() {}' >+ for i in `seq 1 1000` >+ echo 'void fn144() {}' >+ for i in `seq 1 1000` >+ echo 'void fn145() {}' >+ for i in `seq 1 1000` >+ echo 'void fn146() {}' >+ for i in `seq 1 1000` >+ echo 'void fn147() {}' >+ for i in `seq 1 1000` >+ echo 'void fn148() {}' >+ for i in `seq 1 1000` >+ echo 'void fn149() {}' >+ for i in `seq 1 1000` >+ echo 'void fn150() {}' >+ for i in `seq 1 1000` >+ echo 'void fn151() {}' >+ for i in `seq 1 1000` >+ echo 'void fn152() {}' >+ for i in `seq 1 1000` >+ echo 'void fn153() {}' >+ for i in `seq 1 1000` >+ echo 'void fn154() {}' >+ for i in `seq 1 1000` >+ echo 'void fn155() {}' >+ for i in `seq 1 1000` >+ echo 'void fn156() {}' >+ for i in `seq 1 1000` >+ echo 'void fn157() {}' >+ for i in `seq 1 1000` >+ echo 'void fn158() {}' >+ for i in `seq 1 1000` >+ echo 'void fn159() {}' >+ for i in `seq 1 1000` >+ echo 'void fn160() {}' >+ for i in `seq 1 1000` >+ echo 'void fn161() {}' >+ for i in `seq 1 1000` >+ echo 'void fn162() {}' >+ for i in `seq 1 1000` >+ echo 'void fn163() {}' >+ for i in `seq 1 1000` >+ echo 'void fn164() {}' >+ for i in `seq 1 1000` >+ echo 'void fn165() {}' >+ for i in `seq 1 1000` >+ echo 'void fn166() {}' >+ for i in `seq 1 1000` >+ echo 'void fn167() {}' >+ for i in `seq 1 1000` >+ echo 'void fn168() {}' >+ for i in `seq 1 1000` >+ echo 'void fn169() {}' >+ for i in `seq 1 1000` >+ echo 'void fn170() {}' >+ for i in `seq 1 1000` >+ echo 'void fn171() {}' >+ for i in `seq 1 1000` >+ echo 'void fn172() {}' >+ for i in `seq 1 1000` >+ echo 'void fn173() {}' >+ for i in `seq 1 1000` >+ echo 'void fn174() {}' >+ for i in `seq 1 1000` >+ echo 'void fn175() {}' >+ for i in `seq 1 1000` >+ echo 'void fn176() {}' >+ for i in `seq 1 1000` >+ echo 'void fn177() {}' >+ for i in `seq 1 1000` >+ echo 'void fn178() {}' >+ for i in `seq 1 1000` >+ echo 'void fn179() {}' >+ for i in `seq 1 1000` >+ echo 'void fn180() {}' >+ for i in `seq 1 1000` >+ echo 'void fn181() {}' >+ for i in `seq 1 1000` >+ echo 'void fn182() {}' >+ for i in `seq 1 1000` >+ echo 'void fn183() {}' >+ for i in `seq 1 1000` >+ echo 'void fn184() {}' >+ for i in `seq 1 1000` >+ echo 'void fn185() {}' >+ for i in `seq 1 1000` >+ echo 'void fn186() {}' >+ for i in `seq 1 1000` >+ echo 'void fn187() {}' >+ for i in `seq 1 1000` >+ echo 'void fn188() {}' >+ for i in `seq 1 1000` >+ echo 'void fn189() {}' >+ for i in `seq 1 1000` >+ echo 'void fn190() {}' >+ for i in `seq 1 1000` >+ echo 'void fn191() {}' >+ for i in `seq 1 1000` >+ echo 'void fn192() {}' >+ for i in `seq 1 1000` >+ echo 'void fn193() {}' >+ for i in `seq 1 1000` >+ echo 'void fn194() {}' >+ for i in `seq 1 1000` >+ echo 'void fn195() {}' >+ for i in `seq 1 1000` >+ echo 'void fn196() {}' >+ for i in `seq 1 1000` >+ echo 'void fn197() {}' >+ for i in `seq 1 1000` >+ echo 'void fn198() {}' >+ for i in `seq 1 1000` >+ echo 'void fn199() {}' >+ for i in `seq 1 1000` >+ echo 'void fn200() {}' >+ for i in `seq 1 1000` >+ echo 'void fn201() {}' >+ for i in `seq 1 1000` >+ echo 'void fn202() {}' >+ for i in `seq 1 1000` >+ echo 'void fn203() {}' >+ for i in `seq 1 1000` >+ echo 'void fn204() {}' >+ for i in `seq 1 1000` >+ echo 'void fn205() {}' >+ for i in `seq 1 1000` >+ echo 'void fn206() {}' >+ for i in `seq 1 1000` >+ echo 'void fn207() {}' >+ for i in `seq 1 1000` >+ echo 'void fn208() {}' >+ for i in `seq 1 1000` >+ echo 'void fn209() {}' >+ for i in `seq 1 1000` >+ echo 'void fn210() {}' >+ for i in `seq 1 1000` >+ echo 'void fn211() {}' >+ for i in `seq 1 1000` >+ echo 'void fn212() {}' >+ for i in `seq 1 1000` >+ echo 'void fn213() {}' >+ for i in `seq 1 1000` >+ echo 'void fn214() {}' >+ for i in `seq 1 1000` >+ echo 'void fn215() {}' >+ for i in `seq 1 1000` >+ echo 'void fn216() {}' >+ for i in `seq 1 1000` >+ echo 'void fn217() {}' >+ for i in `seq 1 1000` >+ echo 'void fn218() {}' >+ for i in `seq 1 1000` >+ echo 'void fn219() {}' >+ for i in `seq 1 1000` >+ echo 'void fn220() {}' >+ for i in `seq 1 1000` >+ echo 'void fn221() {}' >+ for i in `seq 1 1000` >+ echo 'void fn222() {}' >+ for i in `seq 1 1000` >+ echo 'void fn223() {}' >+ for i in `seq 1 1000` >+ echo 'void fn224() {}' >+ for i in `seq 1 1000` >+ echo 'void fn225() {}' >+ for i in `seq 1 1000` >+ echo 'void fn226() {}' >+ for i in `seq 1 1000` >+ echo 'void fn227() {}' >+ for i in `seq 1 1000` >+ echo 'void fn228() {}' >+ for i in `seq 1 1000` >+ echo 'void fn229() {}' >+ for i in `seq 1 1000` >+ echo 'void fn230() {}' >+ for i in `seq 1 1000` >+ echo 'void fn231() {}' >+ for i in `seq 1 1000` >+ echo 'void fn232() {}' >+ for i in `seq 1 1000` >+ echo 'void fn233() {}' >+ for i in `seq 1 1000` >+ echo 'void fn234() {}' >+ for i in `seq 1 1000` >+ echo 'void fn235() {}' >+ for i in `seq 1 1000` >+ echo 'void fn236() {}' >+ for i in `seq 1 1000` >+ echo 'void fn237() {}' >+ for i in `seq 1 1000` >+ echo 'void fn238() {}' >+ for i in `seq 1 1000` >+ echo 'void fn239() {}' >+ for i in `seq 1 1000` >+ echo 'void fn240() {}' >+ for i in `seq 1 1000` >+ echo 'void fn241() {}' >+ for i in `seq 1 1000` >+ echo 'void fn242() {}' >+ for i in `seq 1 1000` >+ echo 'void fn243() {}' >+ for i in `seq 1 1000` >+ echo 'void fn244() {}' >+ for i in `seq 1 1000` >+ echo 'void fn245() {}' >+ for i in `seq 1 1000` >+ echo 'void fn246() {}' >+ for i in `seq 1 1000` >+ echo 'void fn247() {}' >+ for i in `seq 1 1000` >+ echo 'void fn248() {}' >+ for i in `seq 1 1000` >+ echo 'void fn249() {}' >+ for i in `seq 1 1000` >+ echo 'void fn250() {}' >+ for i in `seq 1 1000` >+ echo 'void fn251() {}' >+ for i in `seq 1 1000` >+ echo 'void fn252() {}' >+ for i in `seq 1 1000` >+ echo 'void fn253() {}' >+ for i in `seq 1 1000` >+ echo 'void fn254() {}' >+ for i in `seq 1 1000` >+ echo 'void fn255() {}' >+ for i in `seq 1 1000` >+ echo 'void fn256() {}' >+ for i in `seq 1 1000` >+ echo 'void fn257() {}' >+ for i in `seq 1 1000` >+ echo 'void fn258() {}' >+ for i in `seq 1 1000` >+ echo 'void fn259() {}' >+ for i in `seq 1 1000` >+ echo 'void fn260() {}' >+ for i in `seq 1 1000` >+ echo 'void fn261() {}' >+ for i in `seq 1 1000` >+ echo 'void fn262() {}' >+ for i in `seq 1 1000` >+ echo 'void fn263() {}' >+ for i in `seq 1 1000` >+ echo 'void fn264() {}' >+ for i in `seq 1 1000` >+ echo 'void fn265() {}' >+ for i in `seq 1 1000` >+ echo 'void fn266() {}' >+ for i in `seq 1 1000` >+ echo 'void fn267() {}' >+ for i in `seq 1 1000` >+ echo 'void fn268() {}' >+ for i in `seq 1 1000` >+ echo 'void fn269() {}' >+ for i in `seq 1 1000` >+ echo 'void fn270() {}' >+ for i in `seq 1 1000` >+ echo 'void fn271() {}' >+ for i in `seq 1 1000` >+ echo 'void fn272() {}' >+ for i in `seq 1 1000` >+ echo 'void fn273() {}' >+ for i in `seq 1 1000` >+ echo 'void fn274() {}' >+ for i in `seq 1 1000` >+ echo 'void fn275() {}' >+ for i in `seq 1 1000` >+ echo 'void fn276() {}' >+ for i in `seq 1 1000` >+ echo 'void fn277() {}' >+ for i in `seq 1 1000` >+ echo 'void fn278() {}' >+ for i in `seq 1 1000` >+ echo 'void fn279() {}' >+ for i in `seq 1 1000` >+ echo 'void fn280() {}' >+ for i in `seq 1 1000` >+ echo 'void fn281() {}' >+ for i in `seq 1 1000` >+ echo 'void fn282() {}' >+ for i in `seq 1 1000` >+ echo 'void fn283() {}' >+ for i in `seq 1 1000` >+ echo 'void fn284() {}' >+ for i in `seq 1 1000` >+ echo 'void fn285() {}' >+ for i in `seq 1 1000` >+ echo 'void fn286() {}' >+ for i in `seq 1 1000` >+ echo 'void fn287() {}' >+ for i in `seq 1 1000` >+ echo 'void fn288() {}' >+ for i in `seq 1 1000` >+ echo 'void fn289() {}' >+ for i in `seq 1 1000` >+ echo 'void fn290() {}' >+ for i in `seq 1 1000` >+ echo 'void fn291() {}' >+ for i in `seq 1 1000` >+ echo 'void fn292() {}' >+ for i in `seq 1 1000` >+ echo 'void fn293() {}' >+ for i in `seq 1 1000` >+ echo 'void fn294() {}' >+ for i in `seq 1 1000` >+ echo 'void fn295() {}' >+ for i in `seq 1 1000` >+ echo 'void fn296() {}' >+ for i in `seq 1 1000` >+ echo 'void fn297() {}' >+ for i in `seq 1 1000` >+ echo 'void fn298() {}' >+ for i in `seq 1 1000` >+ echo 'void fn299() {}' >+ for i in `seq 1 1000` >+ echo 'void fn300() {}' >+ for i in `seq 1 1000` >+ echo 'void fn301() {}' >+ for i in `seq 1 1000` >+ echo 'void fn302() {}' >+ for i in `seq 1 1000` >+ echo 'void fn303() {}' >+ for i in `seq 1 1000` >+ echo 'void fn304() {}' >+ for i in `seq 1 1000` >+ echo 'void fn305() {}' >+ for i in `seq 1 1000` >+ echo 'void fn306() {}' >+ for i in `seq 1 1000` >+ echo 'void fn307() {}' >+ for i in `seq 1 1000` >+ echo 'void fn308() {}' >+ for i in `seq 1 1000` >+ echo 'void fn309() {}' >+ for i in `seq 1 1000` >+ echo 'void fn310() {}' >+ for i in `seq 1 1000` >+ echo 'void fn311() {}' >+ for i in `seq 1 1000` >+ echo 'void fn312() {}' >+ for i in `seq 1 1000` >+ echo 'void fn313() {}' >+ for i in `seq 1 1000` >+ echo 'void fn314() {}' >+ for i in `seq 1 1000` >+ echo 'void fn315() {}' >+ for i in `seq 1 1000` >+ echo 'void fn316() {}' >+ for i in `seq 1 1000` >+ echo 'void fn317() {}' >+ for i in `seq 1 1000` >+ echo 'void fn318() {}' >+ for i in `seq 1 1000` >+ echo 'void fn319() {}' >+ for i in `seq 1 1000` >+ echo 'void fn320() {}' >+ for i in `seq 1 1000` >+ echo 'void fn321() {}' >+ for i in `seq 1 1000` >+ echo 'void fn322() {}' >+ for i in `seq 1 1000` >+ echo 'void fn323() {}' >+ for i in `seq 1 1000` >+ echo 'void fn324() {}' >+ for i in `seq 1 1000` >+ echo 'void fn325() {}' >+ for i in `seq 1 1000` >+ echo 'void fn326() {}' >+ for i in `seq 1 1000` >+ echo 'void fn327() {}' >+ for i in `seq 1 1000` >+ echo 'void fn328() {}' >+ for i in `seq 1 1000` >+ echo 'void fn329() {}' >+ for i in `seq 1 1000` >+ echo 'void fn330() {}' >+ for i in `seq 1 1000` >+ echo 'void fn331() {}' >+ for i in `seq 1 1000` >+ echo 'void fn332() {}' >+ for i in `seq 1 1000` >+ echo 'void fn333() {}' >+ for i in `seq 1 1000` >+ echo 'void fn334() {}' >+ for i in `seq 1 1000` >+ echo 'void fn335() {}' >+ for i in `seq 1 1000` >+ echo 'void fn336() {}' >+ for i in `seq 1 1000` >+ echo 'void fn337() {}' >+ for i in `seq 1 1000` >+ echo 'void fn338() {}' >+ for i in `seq 1 1000` >+ echo 'void fn339() {}' >+ for i in `seq 1 1000` >+ echo 'void fn340() {}' >+ for i in `seq 1 1000` >+ echo 'void fn341() {}' >+ for i in `seq 1 1000` >+ echo 'void fn342() {}' >+ for i in `seq 1 1000` >+ echo 'void fn343() {}' >+ for i in `seq 1 1000` >+ echo 'void fn344() {}' >+ for i in `seq 1 1000` >+ echo 'void fn345() {}' >+ for i in `seq 1 1000` >+ echo 'void fn346() {}' >+ for i in `seq 1 1000` >+ echo 'void fn347() {}' >+ for i in `seq 1 1000` >+ echo 'void fn348() {}' >+ for i in `seq 1 1000` >+ echo 'void fn349() {}' >+ for i in `seq 1 1000` >+ echo 'void fn350() {}' >+ for i in `seq 1 1000` >+ echo 'void fn351() {}' >+ for i in `seq 1 1000` >+ echo 'void fn352() {}' >+ for i in `seq 1 1000` >+ echo 'void fn353() {}' >+ for i in `seq 1 1000` >+ echo 'void fn354() {}' >+ for i in `seq 1 1000` >+ echo 'void fn355() {}' >+ for i in `seq 1 1000` >+ echo 'void fn356() {}' >+ for i in `seq 1 1000` >+ echo 'void fn357() {}' >+ for i in `seq 1 1000` >+ echo 'void fn358() {}' >+ for i in `seq 1 1000` >+ echo 'void fn359() {}' >+ for i in `seq 1 1000` >+ echo 'void fn360() {}' >+ for i in `seq 1 1000` >+ echo 'void fn361() {}' >+ for i in `seq 1 1000` >+ echo 'void fn362() {}' >+ for i in `seq 1 1000` >+ echo 'void fn363() {}' >+ for i in `seq 1 1000` >+ echo 'void fn364() {}' >+ for i in `seq 1 1000` >+ echo 'void fn365() {}' >+ for i in `seq 1 1000` >+ echo 'void fn366() {}' >+ for i in `seq 1 1000` >+ echo 'void fn367() {}' >+ for i in `seq 1 1000` >+ echo 'void fn368() {}' >+ for i in `seq 1 1000` >+ echo 'void fn369() {}' >+ for i in `seq 1 1000` >+ echo 'void fn370() {}' >+ for i in `seq 1 1000` >+ echo 'void fn371() {}' >+ for i in `seq 1 1000` >+ echo 'void fn372() {}' >+ for i in `seq 1 1000` >+ echo 'void fn373() {}' >+ for i in `seq 1 1000` >+ echo 'void fn374() {}' >+ for i in `seq 1 1000` >+ echo 'void fn375() {}' >+ for i in `seq 1 1000` >+ echo 'void fn376() {}' >+ for i in `seq 1 1000` >+ echo 'void fn377() {}' >+ for i in `seq 1 1000` >+ echo 'void fn378() {}' >+ for i in `seq 1 1000` >+ echo 'void fn379() {}' >+ for i in `seq 1 1000` >+ echo 'void fn380() {}' >+ for i in `seq 1 1000` >+ echo 'void fn381() {}' >+ for i in `seq 1 1000` >+ echo 'void fn382() {}' >+ for i in `seq 1 1000` >+ echo 'void fn383() {}' >+ for i in `seq 1 1000` >+ echo 'void fn384() {}' >+ for i in `seq 1 1000` >+ echo 'void fn385() {}' >+ for i in `seq 1 1000` >+ echo 'void fn386() {}' >+ for i in `seq 1 1000` >+ echo 'void fn387() {}' >+ for i in `seq 1 1000` >+ echo 'void fn388() {}' >+ for i in `seq 1 1000` >+ echo 'void fn389() {}' >+ for i in `seq 1 1000` >+ echo 'void fn390() {}' >+ for i in `seq 1 1000` >+ echo 'void fn391() {}' >+ for i in `seq 1 1000` >+ echo 'void fn392() {}' >+ for i in `seq 1 1000` >+ echo 'void fn393() {}' >+ for i in `seq 1 1000` >+ echo 'void fn394() {}' >+ for i in `seq 1 1000` >+ echo 'void fn395() {}' >+ for i in `seq 1 1000` >+ echo 'void fn396() {}' >+ for i in `seq 1 1000` >+ echo 'void fn397() {}' >+ for i in `seq 1 1000` >+ echo 'void fn398() {}' >+ for i in `seq 1 1000` >+ echo 'void fn399() {}' >+ for i in `seq 1 1000` >+ echo 'void fn400() {}' >+ for i in `seq 1 1000` >+ echo 'void fn401() {}' >+ for i in `seq 1 1000` >+ echo 'void fn402() {}' >+ for i in `seq 1 1000` >+ echo 'void fn403() {}' >+ for i in `seq 1 1000` >+ echo 'void fn404() {}' >+ for i in `seq 1 1000` >+ echo 'void fn405() {}' >+ for i in `seq 1 1000` >+ echo 'void fn406() {}' >+ for i in `seq 1 1000` >+ echo 'void fn407() {}' >+ for i in `seq 1 1000` >+ echo 'void fn408() {}' >+ for i in `seq 1 1000` >+ echo 'void fn409() {}' >+ for i in `seq 1 1000` >+ echo 'void fn410() {}' >+ for i in `seq 1 1000` >+ echo 'void fn411() {}' >+ for i in `seq 1 1000` >+ echo 'void fn412() {}' >+ for i in `seq 1 1000` >+ echo 'void fn413() {}' >+ for i in `seq 1 1000` >+ echo 'void fn414() {}' >+ for i in `seq 1 1000` >+ echo 'void fn415() {}' >+ for i in `seq 1 1000` >+ echo 'void fn416() {}' >+ for i in `seq 1 1000` >+ echo 'void fn417() {}' >+ for i in `seq 1 1000` >+ echo 'void fn418() {}' >+ for i in `seq 1 1000` >+ echo 'void fn419() {}' >+ for i in `seq 1 1000` >+ echo 'void fn420() {}' >+ for i in `seq 1 1000` >+ echo 'void fn421() {}' >+ for i in `seq 1 1000` >+ echo 'void fn422() {}' >+ for i in `seq 1 1000` >+ echo 'void fn423() {}' >+ for i in `seq 1 1000` >+ echo 'void fn424() {}' >+ for i in `seq 1 1000` >+ echo 'void fn425() {}' >+ for i in `seq 1 1000` >+ echo 'void fn426() {}' >+ for i in `seq 1 1000` >+ echo 'void fn427() {}' >+ for i in `seq 1 1000` >+ echo 'void fn428() {}' >+ for i in `seq 1 1000` >+ echo 'void fn429() {}' >+ for i in `seq 1 1000` >+ echo 'void fn430() {}' >+ for i in `seq 1 1000` >+ echo 'void fn431() {}' >+ for i in `seq 1 1000` >+ echo 'void fn432() {}' >+ for i in `seq 1 1000` >+ echo 'void fn433() {}' >+ for i in `seq 1 1000` >+ echo 'void fn434() {}' >+ for i in `seq 1 1000` >+ echo 'void fn435() {}' >+ for i in `seq 1 1000` >+ echo 'void fn436() {}' >+ for i in `seq 1 1000` >+ echo 'void fn437() {}' >+ for i in `seq 1 1000` >+ echo 'void fn438() {}' >+ for i in `seq 1 1000` >+ echo 'void fn439() {}' >+ for i in `seq 1 1000` >+ echo 'void fn440() {}' >+ for i in `seq 1 1000` >+ echo 'void fn441() {}' >+ for i in `seq 1 1000` >+ echo 'void fn442() {}' >+ for i in `seq 1 1000` >+ echo 'void fn443() {}' >+ for i in `seq 1 1000` >+ echo 'void fn444() {}' >+ for i in `seq 1 1000` >+ echo 'void fn445() {}' >+ for i in `seq 1 1000` >+ echo 'void fn446() {}' >+ for i in `seq 1 1000` >+ echo 'void fn447() {}' >+ for i in `seq 1 1000` >+ echo 'void fn448() {}' >+ for i in `seq 1 1000` >+ echo 'void fn449() {}' >+ for i in `seq 1 1000` >+ echo 'void fn450() {}' >+ for i in `seq 1 1000` >+ echo 'void fn451() {}' >+ for i in `seq 1 1000` >+ echo 'void fn452() {}' >+ for i in `seq 1 1000` >+ echo 'void fn453() {}' >+ for i in `seq 1 1000` >+ echo 'void fn454() {}' >+ for i in `seq 1 1000` >+ echo 'void fn455() {}' >+ for i in `seq 1 1000` >+ echo 'void fn456() {}' >+ for i in `seq 1 1000` >+ echo 'void fn457() {}' >+ for i in `seq 1 1000` >+ echo 'void fn458() {}' >+ for i in `seq 1 1000` >+ echo 'void fn459() {}' >+ for i in `seq 1 1000` >+ echo 'void fn460() {}' >+ for i in `seq 1 1000` >+ echo 'void fn461() {}' >+ for i in `seq 1 1000` >+ echo 'void fn462() {}' >+ for i in `seq 1 1000` >+ echo 'void fn463() {}' >+ for i in `seq 1 1000` >+ echo 'void fn464() {}' >+ for i in `seq 1 1000` >+ echo 'void fn465() {}' >+ for i in `seq 1 1000` >+ echo 'void fn466() {}' >+ for i in `seq 1 1000` >+ echo 'void fn467() {}' >+ for i in `seq 1 1000` >+ echo 'void fn468() {}' >+ for i in `seq 1 1000` >+ echo 'void fn469() {}' >+ for i in `seq 1 1000` >+ echo 'void fn470() {}' >+ for i in `seq 1 1000` >+ echo 'void fn471() {}' >+ for i in `seq 1 1000` >+ echo 'void fn472() {}' >+ for i in `seq 1 1000` >+ echo 'void fn473() {}' >+ for i in `seq 1 1000` >+ echo 'void fn474() {}' >+ for i in `seq 1 1000` >+ echo 'void fn475() {}' >+ for i in `seq 1 1000` >+ echo 'void fn476() {}' >+ for i in `seq 1 1000` >+ echo 'void fn477() {}' >+ for i in `seq 1 1000` >+ echo 'void fn478() {}' >+ for i in `seq 1 1000` >+ echo 'void fn479() {}' >+ for i in `seq 1 1000` >+ echo 'void fn480() {}' >+ for i in `seq 1 1000` >+ echo 'void fn481() {}' >+ for i in `seq 1 1000` >+ echo 'void fn482() {}' >+ for i in `seq 1 1000` >+ echo 'void fn483() {}' >+ for i in `seq 1 1000` >+ echo 'void fn484() {}' >+ for i in `seq 1 1000` >+ echo 'void fn485() {}' >+ for i in `seq 1 1000` >+ echo 'void fn486() {}' >+ for i in `seq 1 1000` >+ echo 'void fn487() {}' >+ for i in `seq 1 1000` >+ echo 'void fn488() {}' >+ for i in `seq 1 1000` >+ echo 'void fn489() {}' >+ for i in `seq 1 1000` >+ echo 'void fn490() {}' >+ for i in `seq 1 1000` >+ echo 'void fn491() {}' >+ for i in `seq 1 1000` >+ echo 'void fn492() {}' >+ for i in `seq 1 1000` >+ echo 'void fn493() {}' >+ for i in `seq 1 1000` >+ echo 'void fn494() {}' >+ for i in `seq 1 1000` >+ echo 'void fn495() {}' >+ for i in `seq 1 1000` >+ echo 'void fn496() {}' >+ for i in `seq 1 1000` >+ echo 'void fn497() {}' >+ for i in `seq 1 1000` >+ echo 'void fn498() {}' >+ for i in `seq 1 1000` >+ echo 'void fn499() {}' >+ for i in `seq 1 1000` >+ echo 'void fn500() {}' >+ for i in `seq 1 1000` >+ echo 'void fn501() {}' >+ for i in `seq 1 1000` >+ echo 'void fn502() {}' >+ for i in `seq 1 1000` >+ echo 'void fn503() {}' >+ for i in `seq 1 1000` >+ echo 'void fn504() {}' >+ for i in `seq 1 1000` >+ echo 'void fn505() {}' >+ for i in `seq 1 1000` >+ echo 'void fn506() {}' >+ for i in `seq 1 1000` >+ echo 'void fn507() {}' >+ for i in `seq 1 1000` >+ echo 'void fn508() {}' >+ for i in `seq 1 1000` >+ echo 'void fn509() {}' >+ for i in `seq 1 1000` >+ echo 'void fn510() {}' >+ for i in `seq 1 1000` >+ echo 'void fn511() {}' >+ for i in `seq 1 1000` >+ echo 'void fn512() {}' >+ for i in `seq 1 1000` >+ echo 'void fn513() {}' >+ for i in `seq 1 1000` >+ echo 'void fn514() {}' >+ for i in `seq 1 1000` >+ echo 'void fn515() {}' >+ for i in `seq 1 1000` >+ echo 'void fn516() {}' >+ for i in `seq 1 1000` >+ echo 'void fn517() {}' >+ for i in `seq 1 1000` >+ echo 'void fn518() {}' >+ for i in `seq 1 1000` >+ echo 'void fn519() {}' >+ for i in `seq 1 1000` >+ echo 'void fn520() {}' >+ for i in `seq 1 1000` >+ echo 'void fn521() {}' >+ for i in `seq 1 1000` >+ echo 'void fn522() {}' >+ for i in `seq 1 1000` >+ echo 'void fn523() {}' >+ for i in `seq 1 1000` >+ echo 'void fn524() {}' >+ for i in `seq 1 1000` >+ echo 'void fn525() {}' >+ for i in `seq 1 1000` >+ echo 'void fn526() {}' >+ for i in `seq 1 1000` >+ echo 'void fn527() {}' >+ for i in `seq 1 1000` >+ echo 'void fn528() {}' >+ for i in `seq 1 1000` >+ echo 'void fn529() {}' >+ for i in `seq 1 1000` >+ echo 'void fn530() {}' >+ for i in `seq 1 1000` >+ echo 'void fn531() {}' >+ for i in `seq 1 1000` >+ echo 'void fn532() {}' >+ for i in `seq 1 1000` >+ echo 'void fn533() {}' >+ for i in `seq 1 1000` >+ echo 'void fn534() {}' >+ for i in `seq 1 1000` >+ echo 'void fn535() {}' >+ for i in `seq 1 1000` >+ echo 'void fn536() {}' >+ for i in `seq 1 1000` >+ echo 'void fn537() {}' >+ for i in `seq 1 1000` >+ echo 'void fn538() {}' >+ for i in `seq 1 1000` >+ echo 'void fn539() {}' >+ for i in `seq 1 1000` >+ echo 'void fn540() {}' >+ for i in `seq 1 1000` >+ echo 'void fn541() {}' >+ for i in `seq 1 1000` >+ echo 'void fn542() {}' >+ for i in `seq 1 1000` >+ echo 'void fn543() {}' >+ for i in `seq 1 1000` >+ echo 'void fn544() {}' >+ for i in `seq 1 1000` >+ echo 'void fn545() {}' >+ for i in `seq 1 1000` >+ echo 'void fn546() {}' >+ for i in `seq 1 1000` >+ echo 'void fn547() {}' >+ for i in `seq 1 1000` >+ echo 'void fn548() {}' >+ for i in `seq 1 1000` >+ echo 'void fn549() {}' >+ for i in `seq 1 1000` >+ echo 'void fn550() {}' >+ for i in `seq 1 1000` >+ echo 'void fn551() {}' >+ for i in `seq 1 1000` >+ echo 'void fn552() {}' >+ for i in `seq 1 1000` >+ echo 'void fn553() {}' >+ for i in `seq 1 1000` >+ echo 'void fn554() {}' >+ for i in `seq 1 1000` >+ echo 'void fn555() {}' >+ for i in `seq 1 1000` >+ echo 'void fn556() {}' >+ for i in `seq 1 1000` >+ echo 'void fn557() {}' >+ for i in `seq 1 1000` >+ echo 'void fn558() {}' >+ for i in `seq 1 1000` >+ echo 'void fn559() {}' >+ for i in `seq 1 1000` >+ echo 'void fn560() {}' >+ for i in `seq 1 1000` >+ echo 'void fn561() {}' >+ for i in `seq 1 1000` >+ echo 'void fn562() {}' >+ for i in `seq 1 1000` >+ echo 'void fn563() {}' >+ for i in `seq 1 1000` >+ echo 'void fn564() {}' >+ for i in `seq 1 1000` >+ echo 'void fn565() {}' >+ for i in `seq 1 1000` >+ echo 'void fn566() {}' >+ for i in `seq 1 1000` >+ echo 'void fn567() {}' >+ for i in `seq 1 1000` >+ echo 'void fn568() {}' >+ for i in `seq 1 1000` >+ echo 'void fn569() {}' >+ for i in `seq 1 1000` >+ echo 'void fn570() {}' >+ for i in `seq 1 1000` >+ echo 'void fn571() {}' >+ for i in `seq 1 1000` >+ echo 'void fn572() {}' >+ for i in `seq 1 1000` >+ echo 'void fn573() {}' >+ for i in `seq 1 1000` >+ echo 'void fn574() {}' >+ for i in `seq 1 1000` >+ echo 'void fn575() {}' >+ for i in `seq 1 1000` >+ echo 'void fn576() {}' >+ for i in `seq 1 1000` >+ echo 'void fn577() {}' >+ for i in `seq 1 1000` >+ echo 'void fn578() {}' >+ for i in `seq 1 1000` >+ echo 'void fn579() {}' >+ for i in `seq 1 1000` >+ echo 'void fn580() {}' >+ for i in `seq 1 1000` >+ echo 'void fn581() {}' >+ for i in `seq 1 1000` >+ echo 'void fn582() {}' >+ for i in `seq 1 1000` >+ echo 'void fn583() {}' >+ for i in `seq 1 1000` >+ echo 'void fn584() {}' >+ for i in `seq 1 1000` >+ echo 'void fn585() {}' >+ for i in `seq 1 1000` >+ echo 'void fn586() {}' >+ for i in `seq 1 1000` >+ echo 'void fn587() {}' >+ for i in `seq 1 1000` >+ echo 'void fn588() {}' >+ for i in `seq 1 1000` >+ echo 'void fn589() {}' >+ for i in `seq 1 1000` >+ echo 'void fn590() {}' >+ for i in `seq 1 1000` >+ echo 'void fn591() {}' >+ for i in `seq 1 1000` >+ echo 'void fn592() {}' >+ for i in `seq 1 1000` >+ echo 'void fn593() {}' >+ for i in `seq 1 1000` >+ echo 'void fn594() {}' >+ for i in `seq 1 1000` >+ echo 'void fn595() {}' >+ for i in `seq 1 1000` >+ echo 'void fn596() {}' >+ for i in `seq 1 1000` >+ echo 'void fn597() {}' >+ for i in `seq 1 1000` >+ echo 'void fn598() {}' >+ for i in `seq 1 1000` >+ echo 'void fn599() {}' >+ for i in `seq 1 1000` >+ echo 'void fn600() {}' >+ for i in `seq 1 1000` >+ echo 'void fn601() {}' >+ for i in `seq 1 1000` >+ echo 'void fn602() {}' >+ for i in `seq 1 1000` >+ echo 'void fn603() {}' >+ for i in `seq 1 1000` >+ echo 'void fn604() {}' >+ for i in `seq 1 1000` >+ echo 'void fn605() {}' >+ for i in `seq 1 1000` >+ echo 'void fn606() {}' >+ for i in `seq 1 1000` >+ echo 'void fn607() {}' >+ for i in `seq 1 1000` >+ echo 'void fn608() {}' >+ for i in `seq 1 1000` >+ echo 'void fn609() {}' >+ for i in `seq 1 1000` >+ echo 'void fn610() {}' >+ for i in `seq 1 1000` >+ echo 'void fn611() {}' >+ for i in `seq 1 1000` >+ echo 'void fn612() {}' >+ for i in `seq 1 1000` >+ echo 'void fn613() {}' >+ for i in `seq 1 1000` >+ echo 'void fn614() {}' >+ for i in `seq 1 1000` >+ echo 'void fn615() {}' >+ for i in `seq 1 1000` >+ echo 'void fn616() {}' >+ for i in `seq 1 1000` >+ echo 'void fn617() {}' >+ for i in `seq 1 1000` >+ echo 'void fn618() {}' >+ for i in `seq 1 1000` >+ echo 'void fn619() {}' >+ for i in `seq 1 1000` >+ echo 'void fn620() {}' >+ for i in `seq 1 1000` >+ echo 'void fn621() {}' >+ for i in `seq 1 1000` >+ echo 'void fn622() {}' >+ for i in `seq 1 1000` >+ echo 'void fn623() {}' >+ for i in `seq 1 1000` >+ echo 'void fn624() {}' >+ for i in `seq 1 1000` >+ echo 'void fn625() {}' >+ for i in `seq 1 1000` >+ echo 'void fn626() {}' >+ for i in `seq 1 1000` >+ echo 'void fn627() {}' >+ for i in `seq 1 1000` >+ echo 'void fn628() {}' >+ for i in `seq 1 1000` >+ echo 'void fn629() {}' >+ for i in `seq 1 1000` >+ echo 'void fn630() {}' >+ for i in `seq 1 1000` >+ echo 'void fn631() {}' >+ for i in `seq 1 1000` >+ echo 'void fn632() {}' >+ for i in `seq 1 1000` >+ echo 'void fn633() {}' >+ for i in `seq 1 1000` >+ echo 'void fn634() {}' >+ for i in `seq 1 1000` >+ echo 'void fn635() {}' >+ for i in `seq 1 1000` >+ echo 'void fn636() {}' >+ for i in `seq 1 1000` >+ echo 'void fn637() {}' >+ for i in `seq 1 1000` >+ echo 'void fn638() {}' >+ for i in `seq 1 1000` >+ echo 'void fn639() {}' >+ for i in `seq 1 1000` >+ echo 'void fn640() {}' >+ for i in `seq 1 1000` >+ echo 'void fn641() {}' >+ for i in `seq 1 1000` >+ echo 'void fn642() {}' >+ for i in `seq 1 1000` >+ echo 'void fn643() {}' >+ for i in `seq 1 1000` >+ echo 'void fn644() {}' >+ for i in `seq 1 1000` >+ echo 'void fn645() {}' >+ for i in `seq 1 1000` >+ echo 'void fn646() {}' >+ for i in `seq 1 1000` >+ echo 'void fn647() {}' >+ for i in `seq 1 1000` >+ echo 'void fn648() {}' >+ for i in `seq 1 1000` >+ echo 'void fn649() {}' >+ for i in `seq 1 1000` >+ echo 'void fn650() {}' >+ for i in `seq 1 1000` >+ echo 'void fn651() {}' >+ for i in `seq 1 1000` >+ echo 'void fn652() {}' >+ for i in `seq 1 1000` >+ echo 'void fn653() {}' >+ for i in `seq 1 1000` >+ echo 'void fn654() {}' >+ for i in `seq 1 1000` >+ echo 'void fn655() {}' >+ for i in `seq 1 1000` >+ echo 'void fn656() {}' >+ for i in `seq 1 1000` >+ echo 'void fn657() {}' >+ for i in `seq 1 1000` >+ echo 'void fn658() {}' >+ for i in `seq 1 1000` >+ echo 'void fn659() {}' >+ for i in `seq 1 1000` >+ echo 'void fn660() {}' >+ for i in `seq 1 1000` >+ echo 'void fn661() {}' >+ for i in `seq 1 1000` >+ echo 'void fn662() {}' >+ for i in `seq 1 1000` >+ echo 'void fn663() {}' >+ for i in `seq 1 1000` >+ echo 'void fn664() {}' >+ for i in `seq 1 1000` >+ echo 'void fn665() {}' >+ for i in `seq 1 1000` >+ echo 'void fn666() {}' >+ for i in `seq 1 1000` >+ echo 'void fn667() {}' >+ for i in `seq 1 1000` >+ echo 'void fn668() {}' >+ for i in `seq 1 1000` >+ echo 'void fn669() {}' >+ for i in `seq 1 1000` >+ echo 'void fn670() {}' >+ for i in `seq 1 1000` >+ echo 'void fn671() {}' >+ for i in `seq 1 1000` >+ echo 'void fn672() {}' >+ for i in `seq 1 1000` >+ echo 'void fn673() {}' >+ for i in `seq 1 1000` >+ echo 'void fn674() {}' >+ for i in `seq 1 1000` >+ echo 'void fn675() {}' >+ for i in `seq 1 1000` >+ echo 'void fn676() {}' >+ for i in `seq 1 1000` >+ echo 'void fn677() {}' >+ for i in `seq 1 1000` >+ echo 'void fn678() {}' >+ for i in `seq 1 1000` >+ echo 'void fn679() {}' >+ for i in `seq 1 1000` >+ echo 'void fn680() {}' >+ for i in `seq 1 1000` >+ echo 'void fn681() {}' >+ for i in `seq 1 1000` >+ echo 'void fn682() {}' >+ for i in `seq 1 1000` >+ echo 'void fn683() {}' >+ for i in `seq 1 1000` >+ echo 'void fn684() {}' >+ for i in `seq 1 1000` >+ echo 'void fn685() {}' >+ for i in `seq 1 1000` >+ echo 'void fn686() {}' >+ for i in `seq 1 1000` >+ echo 'void fn687() {}' >+ for i in `seq 1 1000` >+ echo 'void fn688() {}' >+ for i in `seq 1 1000` >+ echo 'void fn689() {}' >+ for i in `seq 1 1000` >+ echo 'void fn690() {}' >+ for i in `seq 1 1000` >+ echo 'void fn691() {}' >+ for i in `seq 1 1000` >+ echo 'void fn692() {}' >+ for i in `seq 1 1000` >+ echo 'void fn693() {}' >+ for i in `seq 1 1000` >+ echo 'void fn694() {}' >+ for i in `seq 1 1000` >+ echo 'void fn695() {}' >+ for i in `seq 1 1000` >+ echo 'void fn696() {}' >+ for i in `seq 1 1000` >+ echo 'void fn697() {}' >+ for i in `seq 1 1000` >+ echo 'void fn698() {}' >+ for i in `seq 1 1000` >+ echo 'void fn699() {}' >+ for i in `seq 1 1000` >+ echo 'void fn700() {}' >+ for i in `seq 1 1000` >+ echo 'void fn701() {}' >+ for i in `seq 1 1000` >+ echo 'void fn702() {}' >+ for i in `seq 1 1000` >+ echo 'void fn703() {}' >+ for i in `seq 1 1000` >+ echo 'void fn704() {}' >+ for i in `seq 1 1000` >+ echo 'void fn705() {}' >+ for i in `seq 1 1000` >+ echo 'void fn706() {}' >+ for i in `seq 1 1000` >+ echo 'void fn707() {}' >+ for i in `seq 1 1000` >+ echo 'void fn708() {}' >+ for i in `seq 1 1000` >+ echo 'void fn709() {}' >+ for i in `seq 1 1000` >+ echo 'void fn710() {}' >+ for i in `seq 1 1000` >+ echo 'void fn711() {}' >+ for i in `seq 1 1000` >+ echo 'void fn712() {}' >+ for i in `seq 1 1000` >+ echo 'void fn713() {}' >+ for i in `seq 1 1000` >+ echo 'void fn714() {}' >+ for i in `seq 1 1000` >+ echo 'void fn715() {}' >+ for i in `seq 1 1000` >+ echo 'void fn716() {}' >+ for i in `seq 1 1000` >+ echo 'void fn717() {}' >+ for i in `seq 1 1000` >+ echo 'void fn718() {}' >+ for i in `seq 1 1000` >+ echo 'void fn719() {}' >+ for i in `seq 1 1000` >+ echo 'void fn720() {}' >+ for i in `seq 1 1000` >+ echo 'void fn721() {}' >+ for i in `seq 1 1000` >+ echo 'void fn722() {}' >+ for i in `seq 1 1000` >+ echo 'void fn723() {}' >+ for i in `seq 1 1000` >+ echo 'void fn724() {}' >+ for i in `seq 1 1000` >+ echo 'void fn725() {}' >+ for i in `seq 1 1000` >+ echo 'void fn726() {}' >+ for i in `seq 1 1000` >+ echo 'void fn727() {}' >+ for i in `seq 1 1000` >+ echo 'void fn728() {}' >+ for i in `seq 1 1000` >+ echo 'void fn729() {}' >+ for i in `seq 1 1000` >+ echo 'void fn730() {}' >+ for i in `seq 1 1000` >+ echo 'void fn731() {}' >+ for i in `seq 1 1000` >+ echo 'void fn732() {}' >+ for i in `seq 1 1000` >+ echo 'void fn733() {}' >+ for i in `seq 1 1000` >+ echo 'void fn734() {}' >+ for i in `seq 1 1000` >+ echo 'void fn735() {}' >+ for i in `seq 1 1000` >+ echo 'void fn736() {}' >+ for i in `seq 1 1000` >+ echo 'void fn737() {}' >+ for i in `seq 1 1000` >+ echo 'void fn738() {}' >+ for i in `seq 1 1000` >+ echo 'void fn739() {}' >+ for i in `seq 1 1000` >+ echo 'void fn740() {}' >+ for i in `seq 1 1000` >+ echo 'void fn741() {}' >+ for i in `seq 1 1000` >+ echo 'void fn742() {}' >+ for i in `seq 1 1000` >+ echo 'void fn743() {}' >+ for i in `seq 1 1000` >+ echo 'void fn744() {}' >+ for i in `seq 1 1000` >+ echo 'void fn745() {}' >+ for i in `seq 1 1000` >+ echo 'void fn746() {}' >+ for i in `seq 1 1000` >+ echo 'void fn747() {}' >+ for i in `seq 1 1000` >+ echo 'void fn748() {}' >+ for i in `seq 1 1000` >+ echo 'void fn749() {}' >+ for i in `seq 1 1000` >+ echo 'void fn750() {}' >+ for i in `seq 1 1000` >+ echo 'void fn751() {}' >+ for i in `seq 1 1000` >+ echo 'void fn752() {}' >+ for i in `seq 1 1000` >+ echo 'void fn753() {}' >+ for i in `seq 1 1000` >+ echo 'void fn754() {}' >+ for i in `seq 1 1000` >+ echo 'void fn755() {}' >+ for i in `seq 1 1000` >+ echo 'void fn756() {}' >+ for i in `seq 1 1000` >+ echo 'void fn757() {}' >+ for i in `seq 1 1000` >+ echo 'void fn758() {}' >+ for i in `seq 1 1000` >+ echo 'void fn759() {}' >+ for i in `seq 1 1000` >+ echo 'void fn760() {}' >+ for i in `seq 1 1000` >+ echo 'void fn761() {}' >+ for i in `seq 1 1000` >+ echo 'void fn762() {}' >+ for i in `seq 1 1000` >+ echo 'void fn763() {}' >+ for i in `seq 1 1000` >+ echo 'void fn764() {}' >+ for i in `seq 1 1000` >+ echo 'void fn765() {}' >+ for i in `seq 1 1000` >+ echo 'void fn766() {}' >+ for i in `seq 1 1000` >+ echo 'void fn767() {}' >+ for i in `seq 1 1000` >+ echo 'void fn768() {}' >+ for i in `seq 1 1000` >+ echo 'void fn769() {}' >+ for i in `seq 1 1000` >+ echo 'void fn770() {}' >+ for i in `seq 1 1000` >+ echo 'void fn771() {}' >+ for i in `seq 1 1000` >+ echo 'void fn772() {}' >+ for i in `seq 1 1000` >+ echo 'void fn773() {}' >+ for i in `seq 1 1000` >+ echo 'void fn774() {}' >+ for i in `seq 1 1000` >+ echo 'void fn775() {}' >+ for i in `seq 1 1000` >+ echo 'void fn776() {}' >+ for i in `seq 1 1000` >+ echo 'void fn777() {}' >+ for i in `seq 1 1000` >+ echo 'void fn778() {}' >+ for i in `seq 1 1000` >+ echo 'void fn779() {}' >+ for i in `seq 1 1000` >+ echo 'void fn780() {}' >+ for i in `seq 1 1000` >+ echo 'void fn781() {}' >+ for i in `seq 1 1000` >+ echo 'void fn782() {}' >+ for i in `seq 1 1000` >+ echo 'void fn783() {}' >+ for i in `seq 1 1000` >+ echo 'void fn784() {}' >+ for i in `seq 1 1000` >+ echo 'void fn785() {}' >+ for i in `seq 1 1000` >+ echo 'void fn786() {}' >+ for i in `seq 1 1000` >+ echo 'void fn787() {}' >+ for i in `seq 1 1000` >+ echo 'void fn788() {}' >+ for i in `seq 1 1000` >+ echo 'void fn789() {}' >+ for i in `seq 1 1000` >+ echo 'void fn790() {}' >+ for i in `seq 1 1000` >+ echo 'void fn791() {}' >+ for i in `seq 1 1000` >+ echo 'void fn792() {}' >+ for i in `seq 1 1000` >+ echo 'void fn793() {}' >+ for i in `seq 1 1000` >+ echo 'void fn794() {}' >+ for i in `seq 1 1000` >+ echo 'void fn795() {}' >+ for i in `seq 1 1000` >+ echo 'void fn796() {}' >+ for i in `seq 1 1000` >+ echo 'void fn797() {}' >+ for i in `seq 1 1000` >+ echo 'void fn798() {}' >+ for i in `seq 1 1000` >+ echo 'void fn799() {}' >+ for i in `seq 1 1000` >+ echo 'void fn800() {}' >+ for i in `seq 1 1000` >+ echo 'void fn801() {}' >+ for i in `seq 1 1000` >+ echo 'void fn802() {}' >+ for i in `seq 1 1000` >+ echo 'void fn803() {}' >+ for i in `seq 1 1000` >+ echo 'void fn804() {}' >+ for i in `seq 1 1000` >+ echo 'void fn805() {}' >+ for i in `seq 1 1000` >+ echo 'void fn806() {}' >+ for i in `seq 1 1000` >+ echo 'void fn807() {}' >+ for i in `seq 1 1000` >+ echo 'void fn808() {}' >+ for i in `seq 1 1000` >+ echo 'void fn809() {}' >+ for i in `seq 1 1000` >+ echo 'void fn810() {}' >+ for i in `seq 1 1000` >+ echo 'void fn811() {}' >+ for i in `seq 1 1000` >+ echo 'void fn812() {}' >+ for i in `seq 1 1000` >+ echo 'void fn813() {}' >+ for i in `seq 1 1000` >+ echo 'void fn814() {}' >+ for i in `seq 1 1000` >+ echo 'void fn815() {}' >+ for i in `seq 1 1000` >+ echo 'void fn816() {}' >+ for i in `seq 1 1000` >+ echo 'void fn817() {}' >+ for i in `seq 1 1000` >+ echo 'void fn818() {}' >+ for i in `seq 1 1000` >+ echo 'void fn819() {}' >+ for i in `seq 1 1000` >+ echo 'void fn820() {}' >+ for i in `seq 1 1000` >+ echo 'void fn821() {}' >+ for i in `seq 1 1000` >+ echo 'void fn822() {}' >+ for i in `seq 1 1000` >+ echo 'void fn823() {}' >+ for i in `seq 1 1000` >+ echo 'void fn824() {}' >+ for i in `seq 1 1000` >+ echo 'void fn825() {}' >+ for i in `seq 1 1000` >+ echo 'void fn826() {}' >+ for i in `seq 1 1000` >+ echo 'void fn827() {}' >+ for i in `seq 1 1000` >+ echo 'void fn828() {}' >+ for i in `seq 1 1000` >+ echo 'void fn829() {}' >+ for i in `seq 1 1000` >+ echo 'void fn830() {}' >+ for i in `seq 1 1000` >+ echo 'void fn831() {}' >+ for i in `seq 1 1000` >+ echo 'void fn832() {}' >+ for i in `seq 1 1000` >+ echo 'void fn833() {}' >+ for i in `seq 1 1000` >+ echo 'void fn834() {}' >+ for i in `seq 1 1000` >+ echo 'void fn835() {}' >+ for i in `seq 1 1000` >+ echo 'void fn836() {}' >+ for i in `seq 1 1000` >+ echo 'void fn837() {}' >+ for i in `seq 1 1000` >+ echo 'void fn838() {}' >+ for i in `seq 1 1000` >+ echo 'void fn839() {}' >+ for i in `seq 1 1000` >+ echo 'void fn840() {}' >+ for i in `seq 1 1000` >+ echo 'void fn841() {}' >+ for i in `seq 1 1000` >+ echo 'void fn842() {}' >+ for i in `seq 1 1000` >+ echo 'void fn843() {}' >+ for i in `seq 1 1000` >+ echo 'void fn844() {}' >+ for i in `seq 1 1000` >+ echo 'void fn845() {}' >+ for i in `seq 1 1000` >+ echo 'void fn846() {}' >+ for i in `seq 1 1000` >+ echo 'void fn847() {}' >+ for i in `seq 1 1000` >+ echo 'void fn848() {}' >+ for i in `seq 1 1000` >+ echo 'void fn849() {}' >+ for i in `seq 1 1000` >+ echo 'void fn850() {}' >+ for i in `seq 1 1000` >+ echo 'void fn851() {}' >+ for i in `seq 1 1000` >+ echo 'void fn852() {}' >+ for i in `seq 1 1000` >+ echo 'void fn853() {}' >+ for i in `seq 1 1000` >+ echo 'void fn854() {}' >+ for i in `seq 1 1000` >+ echo 'void fn855() {}' >+ for i in `seq 1 1000` >+ echo 'void fn856() {}' >+ for i in `seq 1 1000` >+ echo 'void fn857() {}' >+ for i in `seq 1 1000` >+ echo 'void fn858() {}' >+ for i in `seq 1 1000` >+ echo 'void fn859() {}' >+ for i in `seq 1 1000` >+ echo 'void fn860() {}' >+ for i in `seq 1 1000` >+ echo 'void fn861() {}' >+ for i in `seq 1 1000` >+ echo 'void fn862() {}' >+ for i in `seq 1 1000` >+ echo 'void fn863() {}' >+ for i in `seq 1 1000` >+ echo 'void fn864() {}' >+ for i in `seq 1 1000` >+ echo 'void fn865() {}' >+ for i in `seq 1 1000` >+ echo 'void fn866() {}' >+ for i in `seq 1 1000` >+ echo 'void fn867() {}' >+ for i in `seq 1 1000` >+ echo 'void fn868() {}' >+ for i in `seq 1 1000` >+ echo 'void fn869() {}' >+ for i in `seq 1 1000` >+ echo 'void fn870() {}' >+ for i in `seq 1 1000` >+ echo 'void fn871() {}' >+ for i in `seq 1 1000` >+ echo 'void fn872() {}' >+ for i in `seq 1 1000` >+ echo 'void fn873() {}' >+ for i in `seq 1 1000` >+ echo 'void fn874() {}' >+ for i in `seq 1 1000` >+ echo 'void fn875() {}' >+ for i in `seq 1 1000` >+ echo 'void fn876() {}' >+ for i in `seq 1 1000` >+ echo 'void fn877() {}' >+ for i in `seq 1 1000` >+ echo 'void fn878() {}' >+ for i in `seq 1 1000` >+ echo 'void fn879() {}' >+ for i in `seq 1 1000` >+ echo 'void fn880() {}' >+ for i in `seq 1 1000` >+ echo 'void fn881() {}' >+ for i in `seq 1 1000` >+ echo 'void fn882() {}' >+ for i in `seq 1 1000` >+ echo 'void fn883() {}' >+ for i in `seq 1 1000` >+ echo 'void fn884() {}' >+ for i in `seq 1 1000` >+ echo 'void fn885() {}' >+ for i in `seq 1 1000` >+ echo 'void fn886() {}' >+ for i in `seq 1 1000` >+ echo 'void fn887() {}' >+ for i in `seq 1 1000` >+ echo 'void fn888() {}' >+ for i in `seq 1 1000` >+ echo 'void fn889() {}' >+ for i in `seq 1 1000` >+ echo 'void fn890() {}' >+ for i in `seq 1 1000` >+ echo 'void fn891() {}' >+ for i in `seq 1 1000` >+ echo 'void fn892() {}' >+ for i in `seq 1 1000` >+ echo 'void fn893() {}' >+ for i in `seq 1 1000` >+ echo 'void fn894() {}' >+ for i in `seq 1 1000` >+ echo 'void fn895() {}' >+ for i in `seq 1 1000` >+ echo 'void fn896() {}' >+ for i in `seq 1 1000` >+ echo 'void fn897() {}' >+ for i in `seq 1 1000` >+ echo 'void fn898() {}' >+ for i in `seq 1 1000` >+ echo 'void fn899() {}' >+ for i in `seq 1 1000` >+ echo 'void fn900() {}' >+ for i in `seq 1 1000` >+ echo 'void fn901() {}' >+ for i in `seq 1 1000` >+ echo 'void fn902() {}' >+ for i in `seq 1 1000` >+ echo 'void fn903() {}' >+ for i in `seq 1 1000` >+ echo 'void fn904() {}' >+ for i in `seq 1 1000` >+ echo 'void fn905() {}' >+ for i in `seq 1 1000` >+ echo 'void fn906() {}' >+ for i in `seq 1 1000` >+ echo 'void fn907() {}' >+ for i in `seq 1 1000` >+ echo 'void fn908() {}' >+ for i in `seq 1 1000` >+ echo 'void fn909() {}' >+ for i in `seq 1 1000` >+ echo 'void fn910() {}' >+ for i in `seq 1 1000` >+ echo 'void fn911() {}' >+ for i in `seq 1 1000` >+ echo 'void fn912() {}' >+ for i in `seq 1 1000` >+ echo 'void fn913() {}' >+ for i in `seq 1 1000` >+ echo 'void fn914() {}' >+ for i in `seq 1 1000` >+ echo 'void fn915() {}' >+ for i in `seq 1 1000` >+ echo 'void fn916() {}' >+ for i in `seq 1 1000` >+ echo 'void fn917() {}' >+ for i in `seq 1 1000` >+ echo 'void fn918() {}' >+ for i in `seq 1 1000` >+ echo 'void fn919() {}' >+ for i in `seq 1 1000` >+ echo 'void fn920() {}' >+ for i in `seq 1 1000` >+ echo 'void fn921() {}' >+ for i in `seq 1 1000` >+ echo 'void fn922() {}' >+ for i in `seq 1 1000` >+ echo 'void fn923() {}' >+ for i in `seq 1 1000` >+ echo 'void fn924() {}' >+ for i in `seq 1 1000` >+ echo 'void fn925() {}' >+ for i in `seq 1 1000` >+ echo 'void fn926() {}' >+ for i in `seq 1 1000` >+ echo 'void fn927() {}' >+ for i in `seq 1 1000` >+ echo 'void fn928() {}' >+ for i in `seq 1 1000` >+ echo 'void fn929() {}' >+ for i in `seq 1 1000` >+ echo 'void fn930() {}' >+ for i in `seq 1 1000` >+ echo 'void fn931() {}' >+ for i in `seq 1 1000` >+ echo 'void fn932() {}' >+ for i in `seq 1 1000` >+ echo 'void fn933() {}' >+ for i in `seq 1 1000` >+ echo 'void fn934() {}' >+ for i in `seq 1 1000` >+ echo 'void fn935() {}' >+ for i in `seq 1 1000` >+ echo 'void fn936() {}' >+ for i in `seq 1 1000` >+ echo 'void fn937() {}' >+ for i in `seq 1 1000` >+ echo 'void fn938() {}' >+ for i in `seq 1 1000` >+ echo 'void fn939() {}' >+ for i in `seq 1 1000` >+ echo 'void fn940() {}' >+ for i in `seq 1 1000` >+ echo 'void fn941() {}' >+ for i in `seq 1 1000` >+ echo 'void fn942() {}' >+ for i in `seq 1 1000` >+ echo 'void fn943() {}' >+ for i in `seq 1 1000` >+ echo 'void fn944() {}' >+ for i in `seq 1 1000` >+ echo 'void fn945() {}' >+ for i in `seq 1 1000` >+ echo 'void fn946() {}' >+ for i in `seq 1 1000` >+ echo 'void fn947() {}' >+ for i in `seq 1 1000` >+ echo 'void fn948() {}' >+ for i in `seq 1 1000` >+ echo 'void fn949() {}' >+ for i in `seq 1 1000` >+ echo 'void fn950() {}' >+ for i in `seq 1 1000` >+ echo 'void fn951() {}' >+ for i in `seq 1 1000` >+ echo 'void fn952() {}' >+ for i in `seq 1 1000` >+ echo 'void fn953() {}' >+ for i in `seq 1 1000` >+ echo 'void fn954() {}' >+ for i in `seq 1 1000` >+ echo 'void fn955() {}' >+ for i in `seq 1 1000` >+ echo 'void fn956() {}' >+ for i in `seq 1 1000` >+ echo 'void fn957() {}' >+ for i in `seq 1 1000` >+ echo 'void fn958() {}' >+ for i in `seq 1 1000` >+ echo 'void fn959() {}' >+ for i in `seq 1 1000` >+ echo 'void fn960() {}' >+ for i in `seq 1 1000` >+ echo 'void fn961() {}' >+ for i in `seq 1 1000` >+ echo 'void fn962() {}' >+ for i in `seq 1 1000` >+ echo 'void fn963() {}' >+ for i in `seq 1 1000` >+ echo 'void fn964() {}' >+ for i in `seq 1 1000` >+ echo 'void fn965() {}' >+ for i in `seq 1 1000` >+ echo 'void fn966() {}' >+ for i in `seq 1 1000` >+ echo 'void fn967() {}' >+ for i in `seq 1 1000` >+ echo 'void fn968() {}' >+ for i in `seq 1 1000` >+ echo 'void fn969() {}' >+ for i in `seq 1 1000` >+ echo 'void fn970() {}' >+ for i in `seq 1 1000` >+ echo 'void fn971() {}' >+ for i in `seq 1 1000` >+ echo 'void fn972() {}' >+ for i in `seq 1 1000` >+ echo 'void fn973() {}' >+ for i in `seq 1 1000` >+ echo 'void fn974() {}' >+ for i in `seq 1 1000` >+ echo 'void fn975() {}' >+ for i in `seq 1 1000` >+ echo 'void fn976() {}' >+ for i in `seq 1 1000` >+ echo 'void fn977() {}' >+ for i in `seq 1 1000` >+ echo 'void fn978() {}' >+ for i in `seq 1 1000` >+ echo 'void fn979() {}' >+ for i in `seq 1 1000` >+ echo 'void fn980() {}' >+ for i in `seq 1 1000` >+ echo 'void fn981() {}' >+ for i in `seq 1 1000` >+ echo 'void fn982() {}' >+ for i in `seq 1 1000` >+ echo 'void fn983() {}' >+ for i in `seq 1 1000` >+ echo 'void fn984() {}' >+ for i in `seq 1 1000` >+ echo 'void fn985() {}' >+ for i in `seq 1 1000` >+ echo 'void fn986() {}' >+ for i in `seq 1 1000` >+ echo 'void fn987() {}' >+ for i in `seq 1 1000` >+ echo 'void fn988() {}' >+ for i in `seq 1 1000` >+ echo 'void fn989() {}' >+ for i in `seq 1 1000` >+ echo 'void fn990() {}' >+ for i in `seq 1 1000` >+ echo 'void fn991() {}' >+ for i in `seq 1 1000` >+ echo 'void fn992() {}' >+ for i in `seq 1 1000` >+ echo 'void fn993() {}' >+ for i in `seq 1 1000` >+ echo 'void fn994() {}' >+ for i in `seq 1 1000` >+ echo 'void fn995() {}' >+ for i in `seq 1 1000` >+ echo 'void fn996() {}' >+ for i in `seq 1 1000` >+ echo 'void fn997() {}' >+ for i in `seq 1 1000` >+ echo 'void fn998() {}' >+ for i in `seq 1 1000` >+ echo 'void fn999() {}' >+ for i in `seq 1 1000` >+ echo 'void fn1000() {}' >+ cc -B. -o out/test/elf/x86_64/shuffle-sections/exe1 out/test/elf/x86_64/shuffle-sections/a.o out/test/elf/x86_64/shuffle-sections/b.o >+ out/test/elf/x86_64/shuffle-sections/exe1 >+ grep -q 'Hello world' >+ cc -B. -o out/test/elf/x86_64/shuffle-sections/exe2 out/test/elf/x86_64/shuffle-sections/a.o out/test/elf/x86_64/shuffle-sections/b.o -Wl,-shuffle-sections >+ out/test/elf/x86_64/shuffle-sections/exe2 >+ grep -q 'Hello world' >+ diff out/test/elf/x86_64/shuffle-sections/exe1 out/test/elf/x86_64/shuffle-sections/exe2 >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 1.69 sec >---------------------------------------------------------- >Test Passed. >"x86_64-shuffle-sections" end time: Feb 09 00:20 CET >"x86_64-shuffle-sections" time elapsed: 00:00:01 >---------------------------------------------------------- > >210/293 Testing: x86_64-symbol-version >210/293 Test: x86_64-symbol-version >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/symbol-version.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-symbol-version" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/symbol-version.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/symbol-version.sh .sh >++ testname=symbol-version >++ echo -n 'Testing symbol-version ... ' >Testing symbol-version ... ++ t=out/test/elf/x86_64/symbol-version >++ mkdir -p out/test/elf/x86_64/symbol-version >+ cat >+ cc -fPIC -c -o out/test/elf/x86_64/symbol-version/a.o -xc - >+ echo 'VER1 { local: *; }; VER2 { local: *; }; VER3 { local: *; };' >+ cc -B. -shared -o out/test/elf/x86_64/symbol-version/c.so out/test/elf/x86_64/symbol-version/a.o -Wl,--version-script=out/test/elf/x86_64/symbol-version/b.ver >+ readelf --symbols out/test/elf/x86_64/symbol-version/c.so >+ grep -Fq foo@VER1 out/test/elf/x86_64/symbol-version/log >+ grep -Fq foo@VER2 out/test/elf/x86_64/symbol-version/log >+ grep -Fq foo@@VER3 out/test/elf/x86_64/symbol-version/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.36 sec >---------------------------------------------------------- >Test Passed. >"x86_64-symbol-version" end time: Feb 09 00:20 CET >"x86_64-symbol-version" time elapsed: 00:00:00 >---------------------------------------------------------- > >211/293 Testing: x86_64-symbol-version2 >211/293 Test: x86_64-symbol-version2 >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/symbol-version2.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-symbol-version2" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/symbol-version2.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/symbol-version2.sh .sh >++ testname=symbol-version2 >++ echo -n 'Testing symbol-version2 ... ' >Testing symbol-version2 ... ++ t=out/test/elf/x86_64/symbol-version2 >++ mkdir -p out/test/elf/x86_64/symbol-version2 >+ cat >+ cc -o out/test/elf/x86_64/symbol-version2/a.o -c -xc - >+ cat >+ cc -B. -o out/test/elf/x86_64/symbol-version2/c.so -shared out/test/elf/x86_64/symbol-version2/a.o -Wl,--version-script=out/test/elf/x86_64/symbol-version2/b.version >+ readelf -W --dyn-syms out/test/elf/x86_64/symbol-version2/c.so >+ grep -q ' foo@TEST$' out/test/elf/x86_64/symbol-version2/log >+ grep -q ' bar@TEST$' out/test/elf/x86_64/symbol-version2/log >+ grep -q ' bar1$' out/test/elf/x86_64/symbol-version2/log >+ grep -q ' foo@@TEST$' out/test/elf/x86_64/symbol-version2/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.36 sec >---------------------------------------------------------- >Test Passed. >"x86_64-symbol-version2" end time: Feb 09 00:20 CET >"x86_64-symbol-version2" time elapsed: 00:00:00 >---------------------------------------------------------- > >209/293 Testing: x86_64-symbol-rank >209/293 Test: x86_64-symbol-rank >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/symbol-rank.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-symbol-rank" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/symbol-rank.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/symbol-rank.sh .sh >++ testname=symbol-rank >++ echo -n 'Testing symbol-rank ... ' >Testing symbol-rank ... ++ t=out/test/elf/x86_64/symbol-rank >++ mkdir -p out/test/elf/x86_64/symbol-rank >+ cat >+ cc -o out/test/elf/x86_64/symbol-rank/a.o -c -xc - >+ cat >+ cc -o out/test/elf/x86_64/symbol-rank/b.o -c -xc - -fcommon >+ cat >+ cc -o out/test/elf/x86_64/symbol-rank/c.o -c -xc - >+ cc -o out/test/elf/x86_64/symbol-rank/d.o -c -xc - -fcommon >+ cat >+ rm -f out/test/elf/x86_64/symbol-rank/x.a >+ ar rcs out/test/elf/x86_64/symbol-rank/x.a out/test/elf/x86_64/symbol-rank/a.o out/test/elf/x86_64/symbol-rank/b.o out/test/elf/x86_64/symbol-rank/c.o >+ cc -B. -o out/test/elf/x86_64/symbol-rank/exe out/test/elf/x86_64/symbol-rank/d.o out/test/elf/x86_64/symbol-rank/x.a >+ out/test/elf/x86_64/symbol-rank/exe >+ grep -q '^0 0 0 5$' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.66 sec >---------------------------------------------------------- >Test Passed. >"x86_64-symbol-rank" end time: Feb 09 00:20 CET >"x86_64-symbol-rank" time elapsed: 00:00:00 >---------------------------------------------------------- > >212/293 Testing: x86_64-symbol-version3 >212/293 Test: x86_64-symbol-version3 >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/symbol-version3.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-symbol-version3" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/symbol-version3.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/symbol-version3.sh .sh >++ testname=symbol-version3 >++ echo -n 'Testing symbol-version3 ... ' >Testing symbol-version3 ... ++ t=out/test/elf/x86_64/symbol-version3 >++ mkdir -p out/test/elf/x86_64/symbol-version3 >+ cat >+ cc -o out/test/elf/x86_64/symbol-version3/a.o -c -xc - >+ cat >+ cc -B. -o out/test/elf/x86_64/symbol-version3/c.so -shared out/test/elf/x86_64/symbol-version3/a.o -Wl,--version-script=out/test/elf/x86_64/symbol-version3/b.version >+ readelf -W --dyn-syms out/test/elf/x86_64/symbol-version3/c.so >+ grep -q ' foo@@TEST1$' out/test/elf/x86_64/symbol-version3/log >+ grep -q ' foo@TEST2$' out/test/elf/x86_64/symbol-version3/log >+ grep -q ' foo@TEST3$' out/test/elf/x86_64/symbol-version3/log >+ grep -q ' foo$' out/test/elf/x86_64/symbol-version3/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.40 sec >---------------------------------------------------------- >Test Passed. >"x86_64-symbol-version3" end time: Feb 09 00:20 CET >"x86_64-symbol-version3" time elapsed: 00:00:00 >---------------------------------------------------------- > >200/293 Testing: x86_64-shuffle-sections-seed >200/293 Test: x86_64-shuffle-sections-seed >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/shuffle-sections-seed.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-shuffle-sections-seed" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/shuffle-sections-seed.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/shuffle-sections-seed.sh .sh >++ testname=shuffle-sections-seed >++ echo -n 'Testing shuffle-sections-seed ... ' >Testing shuffle-sections-seed ... ++ t=out/test/elf/x86_64/shuffle-sections-seed >++ mkdir -p out/test/elf/x86_64/shuffle-sections-seed >+ cat >+ cc -o out/test/elf/x86_64/shuffle-sections-seed/a.o -ffunction-sections -c -xc - >+ cc -o out/test/elf/x86_64/shuffle-sections-seed/b.o -ffunction-sections -c ++ seq 1 1000 >-xc - >+ for i in `seq 1 1000` >+ echo 'void fn1() {}' >+ for i in `seq 1 1000` >+ echo 'void fn2() {}' >+ for i in `seq 1 1000` >+ echo 'void fn3() {}' >+ for i in `seq 1 1000` >+ echo 'void fn4() {}' >+ for i in `seq 1 1000` >+ echo 'void fn5() {}' >+ for i in `seq 1 1000` >+ echo 'void fn6() {}' >+ for i in `seq 1 1000` >+ echo 'void fn7() {}' >+ for i in `seq 1 1000` >+ echo 'void fn8() {}' >+ for i in `seq 1 1000` >+ echo 'void fn9() {}' >+ for i in `seq 1 1000` >+ echo 'void fn10() {}' >+ for i in `seq 1 1000` >+ echo 'void fn11() {}' >+ for i in `seq 1 1000` >+ echo 'void fn12() {}' >+ for i in `seq 1 1000` >+ echo 'void fn13() {}' >+ for i in `seq 1 1000` >+ echo 'void fn14() {}' >+ for i in `seq 1 1000` >+ echo 'void fn15() {}' >+ for i in `seq 1 1000` >+ echo 'void fn16() {}' >+ for i in `seq 1 1000` >+ echo 'void fn17() {}' >+ for i in `seq 1 1000` >+ echo 'void fn18() {}' >+ for i in `seq 1 1000` >+ echo 'void fn19() {}' >+ for i in `seq 1 1000` >+ echo 'void fn20() {}' >+ for i in `seq 1 1000` >+ echo 'void fn21() {}' >+ for i in `seq 1 1000` >+ echo 'void fn22() {}' >+ for i in `seq 1 1000` >+ echo 'void fn23() {}' >+ for i in `seq 1 1000` >+ echo 'void fn24() {}' >+ for i in `seq 1 1000` >+ echo 'void fn25() {}' >+ for i in `seq 1 1000` >+ echo 'void fn26() {}' >+ for i in `seq 1 1000` >+ echo 'void fn27() {}' >+ for i in `seq 1 1000` >+ echo 'void fn28() {}' >+ for i in `seq 1 1000` >+ echo 'void fn29() {}' >+ for i in `seq 1 1000` >+ echo 'void fn30() {}' >+ for i in `seq 1 1000` >+ echo 'void fn31() {}' >+ for i in `seq 1 1000` >+ echo 'void fn32() {}' >+ for i in `seq 1 1000` >+ echo 'void fn33() {}' >+ for i in `seq 1 1000` >+ echo 'void fn34() {}' >+ for i in `seq 1 1000` >+ echo 'void fn35() {}' >+ for i in `seq 1 1000` >+ echo 'void fn36() {}' >+ for i in `seq 1 1000` >+ echo 'void fn37() {}' >+ for i in `seq 1 1000` >+ echo 'void fn38() {}' >+ for i in `seq 1 1000` >+ echo 'void fn39() {}' >+ for i in `seq 1 1000` >+ echo 'void fn40() {}' >+ for i in `seq 1 1000` >+ echo 'void fn41() {}' >+ for i in `seq 1 1000` >+ echo 'void fn42() {}' >+ for i in `seq 1 1000` >+ echo 'void fn43() {}' >+ for i in `seq 1 1000` >+ echo 'void fn44() {}' >+ for i in `seq 1 1000` >+ echo 'void fn45() {}' >+ for i in `seq 1 1000` >+ echo 'void fn46() {}' >+ for i in `seq 1 1000` >+ echo 'void fn47() {}' >+ for i in `seq 1 1000` >+ echo 'void fn48() {}' >+ for i in `seq 1 1000` >+ echo 'void fn49() {}' >+ for i in `seq 1 1000` >+ echo 'void fn50() {}' >+ for i in `seq 1 1000` >+ echo 'void fn51() {}' >+ for i in `seq 1 1000` >+ echo 'void fn52() {}' >+ for i in `seq 1 1000` >+ echo 'void fn53() {}' >+ for i in `seq 1 1000` >+ echo 'void fn54() {}' >+ for i in `seq 1 1000` >+ echo 'void fn55() {}' >+ for i in `seq 1 1000` >+ echo 'void fn56() {}' >+ for i in `seq 1 1000` >+ echo 'void fn57() {}' >+ for i in `seq 1 1000` >+ echo 'void fn58() {}' >+ for i in `seq 1 1000` >+ echo 'void fn59() {}' >+ for i in `seq 1 1000` >+ echo 'void fn60() {}' >+ for i in `seq 1 1000` >+ echo 'void fn61() {}' >+ for i in `seq 1 1000` >+ echo 'void fn62() {}' >+ for i in `seq 1 1000` >+ echo 'void fn63() {}' >+ for i in `seq 1 1000` >+ echo 'void fn64() {}' >+ for i in `seq 1 1000` >+ echo 'void fn65() {}' >+ for i in `seq 1 1000` >+ echo 'void fn66() {}' >+ for i in `seq 1 1000` >+ echo 'void fn67() {}' >+ for i in `seq 1 1000` >+ echo 'void fn68() {}' >+ for i in `seq 1 1000` >+ echo 'void fn69() {}' >+ for i in `seq 1 1000` >+ echo 'void fn70() {}' >+ for i in `seq 1 1000` >+ echo 'void fn71() {}' >+ for i in `seq 1 1000` >+ echo 'void fn72() {}' >+ for i in `seq 1 1000` >+ echo 'void fn73() {}' >+ for i in `seq 1 1000` >+ echo 'void fn74() {}' >+ for i in `seq 1 1000` >+ echo 'void fn75() {}' >+ for i in `seq 1 1000` >+ echo 'void fn76() {}' >+ for i in `seq 1 1000` >+ echo 'void fn77() {}' >+ for i in `seq 1 1000` >+ echo 'void fn78() {}' >+ for i in `seq 1 1000` >+ echo 'void fn79() {}' >+ for i in `seq 1 1000` >+ echo 'void fn80() {}' >+ for i in `seq 1 1000` >+ echo 'void fn81() {}' >+ for i in `seq 1 1000` >+ echo 'void fn82() {}' >+ for i in `seq 1 1000` >+ echo 'void fn83() {}' >+ for i in `seq 1 1000` >+ echo 'void fn84() {}' >+ for i in `seq 1 1000` >+ echo 'void fn85() {}' >+ for i in `seq 1 1000` >+ echo 'void fn86() {}' >+ for i in `seq 1 1000` >+ echo 'void fn87() {}' >+ for i in `seq 1 1000` >+ echo 'void fn88() {}' >+ for i in `seq 1 1000` >+ echo 'void fn89() {}' >+ for i in `seq 1 1000` >+ echo 'void fn90() {}' >+ for i in `seq 1 1000` >+ echo 'void fn91() {}' >+ for i in `seq 1 1000` >+ echo 'void fn92() {}' >+ for i in `seq 1 1000` >+ echo 'void fn93() {}' >+ for i in `seq 1 1000` >+ echo 'void fn94() {}' >+ for i in `seq 1 1000` >+ echo 'void fn95() {}' >+ for i in `seq 1 1000` >+ echo 'void fn96() {}' >+ for i in `seq 1 1000` >+ echo 'void fn97() {}' >+ for i in `seq 1 1000` >+ echo 'void fn98() {}' >+ for i in `seq 1 1000` >+ echo 'void fn99() {}' >+ for i in `seq 1 1000` >+ echo 'void fn100() {}' >+ for i in `seq 1 1000` >+ echo 'void fn101() {}' >+ for i in `seq 1 1000` >+ echo 'void fn102() {}' >+ for i in `seq 1 1000` >+ echo 'void fn103() {}' >+ for i in `seq 1 1000` >+ echo 'void fn104() {}' >+ for i in `seq 1 1000` >+ echo 'void fn105() {}' >+ for i in `seq 1 1000` >+ echo 'void fn106() {}' >+ for i in `seq 1 1000` >+ echo 'void fn107() {}' >+ for i in `seq 1 1000` >+ echo 'void fn108() {}' >+ for i in `seq 1 1000` >+ echo 'void fn109() {}' >+ for i in `seq 1 1000` >+ echo 'void fn110() {}' >+ for i in `seq 1 1000` >+ echo 'void fn111() {}' >+ for i in `seq 1 1000` >+ echo 'void fn112() {}' >+ for i in `seq 1 1000` >+ echo 'void fn113() {}' >+ for i in `seq 1 1000` >+ echo 'void fn114() {}' >+ for i in `seq 1 1000` >+ echo 'void fn115() {}' >+ for i in `seq 1 1000` >+ echo 'void fn116() {}' >+ for i in `seq 1 1000` >+ echo 'void fn117() {}' >+ for i in `seq 1 1000` >+ echo 'void fn118() {}' >+ for i in `seq 1 1000` >+ echo 'void fn119() {}' >+ for i in `seq 1 1000` >+ echo 'void fn120() {}' >+ for i in `seq 1 1000` >+ echo 'void fn121() {}' >+ for i in `seq 1 1000` >+ echo 'void fn122() {}' >+ for i in `seq 1 1000` >+ echo 'void fn123() {}' >+ for i in `seq 1 1000` >+ echo 'void fn124() {}' >+ for i in `seq 1 1000` >+ echo 'void fn125() {}' >+ for i in `seq 1 1000` >+ echo 'void fn126() {}' >+ for i in `seq 1 1000` >+ echo 'void fn127() {}' >+ for i in `seq 1 1000` >+ echo 'void fn128() {}' >+ for i in `seq 1 1000` >+ echo 'void fn129() {}' >+ for i in `seq 1 1000` >+ echo 'void fn130() {}' >+ for i in `seq 1 1000` >+ echo 'void fn131() {}' >+ for i in `seq 1 1000` >+ echo 'void fn132() {}' >+ for i in `seq 1 1000` >+ echo 'void fn133() {}' >+ for i in `seq 1 1000` >+ echo 'void fn134() {}' >+ for i in `seq 1 1000` >+ echo 'void fn135() {}' >+ for i in `seq 1 1000` >+ echo 'void fn136() {}' >+ for i in `seq 1 1000` >+ echo 'void fn137() {}' >+ for i in `seq 1 1000` >+ echo 'void fn138() {}' >+ for i in `seq 1 1000` >+ echo 'void fn139() {}' >+ for i in `seq 1 1000` >+ echo 'void fn140() {}' >+ for i in `seq 1 1000` >+ echo 'void fn141() {}' >+ for i in `seq 1 1000` >+ echo 'void fn142() {}' >+ for i in `seq 1 1000` >+ echo 'void fn143() {}' >+ for i in `seq 1 1000` >+ echo 'void fn144() {}' >+ for i in `seq 1 1000` >+ echo 'void fn145() {}' >+ for i in `seq 1 1000` >+ echo 'void fn146() {}' >+ for i in `seq 1 1000` >+ echo 'void fn147() {}' >+ for i in `seq 1 1000` >+ echo 'void fn148() {}' >+ for i in `seq 1 1000` >+ echo 'void fn149() {}' >+ for i in `seq 1 1000` >+ echo 'void fn150() {}' >+ for i in `seq 1 1000` >+ echo 'void fn151() {}' >+ for i in `seq 1 1000` >+ echo 'void fn152() {}' >+ for i in `seq 1 1000` >+ echo 'void fn153() {}' >+ for i in `seq 1 1000` >+ echo 'void fn154() {}' >+ for i in `seq 1 1000` >+ echo 'void fn155() {}' >+ for i in `seq 1 1000` >+ echo 'void fn156() {}' >+ for i in `seq 1 1000` >+ echo 'void fn157() {}' >+ for i in `seq 1 1000` >+ echo 'void fn158() {}' >+ for i in `seq 1 1000` >+ echo 'void fn159() {}' >+ for i in `seq 1 1000` >+ echo 'void fn160() {}' >+ for i in `seq 1 1000` >+ echo 'void fn161() {}' >+ for i in `seq 1 1000` >+ echo 'void fn162() {}' >+ for i in `seq 1 1000` >+ echo 'void fn163() {}' >+ for i in `seq 1 1000` >+ echo 'void fn164() {}' >+ for i in `seq 1 1000` >+ echo 'void fn165() {}' >+ for i in `seq 1 1000` >+ echo 'void fn166() {}' >+ for i in `seq 1 1000` >+ echo 'void fn167() {}' >+ for i in `seq 1 1000` >+ echo 'void fn168() {}' >+ for i in `seq 1 1000` >+ echo 'void fn169() {}' >+ for i in `seq 1 1000` >+ echo 'void fn170() {}' >+ for i in `seq 1 1000` >+ echo 'void fn171() {}' >+ for i in `seq 1 1000` >+ echo 'void fn172() {}' >+ for i in `seq 1 1000` >+ echo 'void fn173() {}' >+ for i in `seq 1 1000` >+ echo 'void fn174() {}' >+ for i in `seq 1 1000` >+ echo 'void fn175() {}' >+ for i in `seq 1 1000` >+ echo 'void fn176() {}' >+ for i in `seq 1 1000` >+ echo 'void fn177() {}' >+ for i in `seq 1 1000` >+ echo 'void fn178() {}' >+ for i in `seq 1 1000` >+ echo 'void fn179() {}' >+ for i in `seq 1 1000` >+ echo 'void fn180() {}' >+ for i in `seq 1 1000` >+ echo 'void fn181() {}' >+ for i in `seq 1 1000` >+ echo 'void fn182() {}' >+ for i in `seq 1 1000` >+ echo 'void fn183() {}' >+ for i in `seq 1 1000` >+ echo 'void fn184() {}' >+ for i in `seq 1 1000` >+ echo 'void fn185() {}' >+ for i in `seq 1 1000` >+ echo 'void fn186() {}' >+ for i in `seq 1 1000` >+ echo 'void fn187() {}' >+ for i in `seq 1 1000` >+ echo 'void fn188() {}' >+ for i in `seq 1 1000` >+ echo 'void fn189() {}' >+ for i in `seq 1 1000` >+ echo 'void fn190() {}' >+ for i in `seq 1 1000` >+ echo 'void fn191() {}' >+ for i in `seq 1 1000` >+ echo 'void fn192() {}' >+ for i in `seq 1 1000` >+ echo 'void fn193() {}' >+ for i in `seq 1 1000` >+ echo 'void fn194() {}' >+ for i in `seq 1 1000` >+ echo 'void fn195() {}' >+ for i in `seq 1 1000` >+ echo 'void fn196() {}' >+ for i in `seq 1 1000` >+ echo 'void fn197() {}' >+ for i in `seq 1 1000` >+ echo 'void fn198() {}' >+ for i in `seq 1 1000` >+ echo 'void fn199() {}' >+ for i in `seq 1 1000` >+ echo 'void fn200() {}' >+ for i in `seq 1 1000` >+ echo 'void fn201() {}' >+ for i in `seq 1 1000` >+ echo 'void fn202() {}' >+ for i in `seq 1 1000` >+ echo 'void fn203() {}' >+ for i in `seq 1 1000` >+ echo 'void fn204() {}' >+ for i in `seq 1 1000` >+ echo 'void fn205() {}' >+ for i in `seq 1 1000` >+ echo 'void fn206() {}' >+ for i in `seq 1 1000` >+ echo 'void fn207() {}' >+ for i in `seq 1 1000` >+ echo 'void fn208() {}' >+ for i in `seq 1 1000` >+ echo 'void fn209() {}' >+ for i in `seq 1 1000` >+ echo 'void fn210() {}' >+ for i in `seq 1 1000` >+ echo 'void fn211() {}' >+ for i in `seq 1 1000` >+ echo 'void fn212() {}' >+ for i in `seq 1 1000` >+ echo 'void fn213() {}' >+ for i in `seq 1 1000` >+ echo 'void fn214() {}' >+ for i in `seq 1 1000` >+ echo 'void fn215() {}' >+ for i in `seq 1 1000` >+ echo 'void fn216() {}' >+ for i in `seq 1 1000` >+ echo 'void fn217() {}' >+ for i in `seq 1 1000` >+ echo 'void fn218() {}' >+ for i in `seq 1 1000` >+ echo 'void fn219() {}' >+ for i in `seq 1 1000` >+ echo 'void fn220() {}' >+ for i in `seq 1 1000` >+ echo 'void fn221() {}' >+ for i in `seq 1 1000` >+ echo 'void fn222() {}' >+ for i in `seq 1 1000` >+ echo 'void fn223() {}' >+ for i in `seq 1 1000` >+ echo 'void fn224() {}' >+ for i in `seq 1 1000` >+ echo 'void fn225() {}' >+ for i in `seq 1 1000` >+ echo 'void fn226() {}' >+ for i in `seq 1 1000` >+ echo 'void fn227() {}' >+ for i in `seq 1 1000` >+ echo 'void fn228() {}' >+ for i in `seq 1 1000` >+ echo 'void fn229() {}' >+ for i in `seq 1 1000` >+ echo 'void fn230() {}' >+ for i in `seq 1 1000` >+ echo 'void fn231() {}' >+ for i in `seq 1 1000` >+ echo 'void fn232() {}' >+ for i in `seq 1 1000` >+ echo 'void fn233() {}' >+ for i in `seq 1 1000` >+ echo 'void fn234() {}' >+ for i in `seq 1 1000` >+ echo 'void fn235() {}' >+ for i in `seq 1 1000` >+ echo 'void fn236() {}' >+ for i in `seq 1 1000` >+ echo 'void fn237() {}' >+ for i in `seq 1 1000` >+ echo 'void fn238() {}' >+ for i in `seq 1 1000` >+ echo 'void fn239() {}' >+ for i in `seq 1 1000` >+ echo 'void fn240() {}' >+ for i in `seq 1 1000` >+ echo 'void fn241() {}' >+ for i in `seq 1 1000` >+ echo 'void fn242() {}' >+ for i in `seq 1 1000` >+ echo 'void fn243() {}' >+ for i in `seq 1 1000` >+ echo 'void fn244() {}' >+ for i in `seq 1 1000` >+ echo 'void fn245() {}' >+ for i in `seq 1 1000` >+ echo 'void fn246() {}' >+ for i in `seq 1 1000` >+ echo 'void fn247() {}' >+ for i in `seq 1 1000` >+ echo 'void fn248() {}' >+ for i in `seq 1 1000` >+ echo 'void fn249() {}' >+ for i in `seq 1 1000` >+ echo 'void fn250() {}' >+ for i in `seq 1 1000` >+ echo 'void fn251() {}' >+ for i in `seq 1 1000` >+ echo 'void fn252() {}' >+ for i in `seq 1 1000` >+ echo 'void fn253() {}' >+ for i in `seq 1 1000` >+ echo 'void fn254() {}' >+ for i in `seq 1 1000` >+ echo 'void fn255() {}' >+ for i in `seq 1 1000` >+ echo 'void fn256() {}' >+ for i in `seq 1 1000` >+ echo 'void fn257() {}' >+ for i in `seq 1 1000` >+ echo 'void fn258() {}' >+ for i in `seq 1 1000` >+ echo 'void fn259() {}' >+ for i in `seq 1 1000` >+ echo 'void fn260() {}' >+ for i in `seq 1 1000` >+ echo 'void fn261() {}' >+ for i in `seq 1 1000` >+ echo 'void fn262() {}' >+ for i in `seq 1 1000` >+ echo 'void fn263() {}' >+ for i in `seq 1 1000` >+ echo 'void fn264() {}' >+ for i in `seq 1 1000` >+ echo 'void fn265() {}' >+ for i in `seq 1 1000` >+ echo 'void fn266() {}' >+ for i in `seq 1 1000` >+ echo 'void fn267() {}' >+ for i in `seq 1 1000` >+ echo 'void fn268() {}' >+ for i in `seq 1 1000` >+ echo 'void fn269() {}' >+ for i in `seq 1 1000` >+ echo 'void fn270() {}' >+ for i in `seq 1 1000` >+ echo 'void fn271() {}' >+ for i in `seq 1 1000` >+ echo 'void fn272() {}' >+ for i in `seq 1 1000` >+ echo 'void fn273() {}' >+ for i in `seq 1 1000` >+ echo 'void fn274() {}' >+ for i in `seq 1 1000` >+ echo 'void fn275() {}' >+ for i in `seq 1 1000` >+ echo 'void fn276() {}' >+ for i in `seq 1 1000` >+ echo 'void fn277() {}' >+ for i in `seq 1 1000` >+ echo 'void fn278() {}' >+ for i in `seq 1 1000` >+ echo 'void fn279() {}' >+ for i in `seq 1 1000` >+ echo 'void fn280() {}' >+ for i in `seq 1 1000` >+ echo 'void fn281() {}' >+ for i in `seq 1 1000` >+ echo 'void fn282() {}' >+ for i in `seq 1 1000` >+ echo 'void fn283() {}' >+ for i in `seq 1 1000` >+ echo 'void fn284() {}' >+ for i in `seq 1 1000` >+ echo 'void fn285() {}' >+ for i in `seq 1 1000` >+ echo 'void fn286() {}' >+ for i in `seq 1 1000` >+ echo 'void fn287() {}' >+ for i in `seq 1 1000` >+ echo 'void fn288() {}' >+ for i in `seq 1 1000` >+ echo 'void fn289() {}' >+ for i in `seq 1 1000` >+ echo 'void fn290() {}' >+ for i in `seq 1 1000` >+ echo 'void fn291() {}' >+ for i in `seq 1 1000` >+ echo 'void fn292() {}' >+ for i in `seq 1 1000` >+ echo 'void fn293() {}' >+ for i in `seq 1 1000` >+ echo 'void fn294() {}' >+ for i in `seq 1 1000` >+ echo 'void fn295() {}' >+ for i in `seq 1 1000` >+ echo 'void fn296() {}' >+ for i in `seq 1 1000` >+ echo 'void fn297() {}' >+ for i in `seq 1 1000` >+ echo 'void fn298() {}' >+ for i in `seq 1 1000` >+ echo 'void fn299() {}' >+ for i in `seq 1 1000` >+ echo 'void fn300() {}' >+ for i in `seq 1 1000` >+ echo 'void fn301() {}' >+ for i in `seq 1 1000` >+ echo 'void fn302() {}' >+ for i in `seq 1 1000` >+ echo 'void fn303() {}' >+ for i in `seq 1 1000` >+ echo 'void fn304() {}' >+ for i in `seq 1 1000` >+ echo 'void fn305() {}' >+ for i in `seq 1 1000` >+ echo 'void fn306() {}' >+ for i in `seq 1 1000` >+ echo 'void fn307() {}' >+ for i in `seq 1 1000` >+ echo 'void fn308() {}' >+ for i in `seq 1 1000` >+ echo 'void fn309() {}' >+ for i in `seq 1 1000` >+ echo 'void fn310() {}' >+ for i in `seq 1 1000` >+ echo 'void fn311() {}' >+ for i in `seq 1 1000` >+ echo 'void fn312() {}' >+ for i in `seq 1 1000` >+ echo 'void fn313() {}' >+ for i in `seq 1 1000` >+ echo 'void fn314() {}' >+ for i in `seq 1 1000` >+ echo 'void fn315() {}' >+ for i in `seq 1 1000` >+ echo 'void fn316() {}' >+ for i in `seq 1 1000` >+ echo 'void fn317() {}' >+ for i in `seq 1 1000` >+ echo 'void fn318() {}' >+ for i in `seq 1 1000` >+ echo 'void fn319() {}' >+ for i in `seq 1 1000` >+ echo 'void fn320() {}' >+ for i in `seq 1 1000` >+ echo 'void fn321() {}' >+ for i in `seq 1 1000` >+ echo 'void fn322() {}' >+ for i in `seq 1 1000` >+ echo 'void fn323() {}' >+ for i in `seq 1 1000` >+ echo 'void fn324() {}' >+ for i in `seq 1 1000` >+ echo 'void fn325() {}' >+ for i in `seq 1 1000` >+ echo 'void fn326() {}' >+ for i in `seq 1 1000` >+ echo 'void fn327() {}' >+ for i in `seq 1 1000` >+ echo 'void fn328() {}' >+ for i in `seq 1 1000` >+ echo 'void fn329() {}' >+ for i in `seq 1 1000` >+ echo 'void fn330() {}' >+ for i in `seq 1 1000` >+ echo 'void fn331() {}' >+ for i in `seq 1 1000` >+ echo 'void fn332() {}' >+ for i in `seq 1 1000` >+ echo 'void fn333() {}' >+ for i in `seq 1 1000` >+ echo 'void fn334() {}' >+ for i in `seq 1 1000` >+ echo 'void fn335() {}' >+ for i in `seq 1 1000` >+ echo 'void fn336() {}' >+ for i in `seq 1 1000` >+ echo 'void fn337() {}' >+ for i in `seq 1 1000` >+ echo 'void fn338() {}' >+ for i in `seq 1 1000` >+ echo 'void fn339() {}' >+ for i in `seq 1 1000` >+ echo 'void fn340() {}' >+ for i in `seq 1 1000` >+ echo 'void fn341() {}' >+ for i in `seq 1 1000` >+ echo 'void fn342() {}' >+ for i in `seq 1 1000` >+ echo 'void fn343() {}' >+ for i in `seq 1 1000` >+ echo 'void fn344() {}' >+ for i in `seq 1 1000` >+ echo 'void fn345() {}' >+ for i in `seq 1 1000` >+ echo 'void fn346() {}' >+ for i in `seq 1 1000` >+ echo 'void fn347() {}' >+ for i in `seq 1 1000` >+ echo 'void fn348() {}' >+ for i in `seq 1 1000` >+ echo 'void fn349() {}' >+ for i in `seq 1 1000` >+ echo 'void fn350() {}' >+ for i in `seq 1 1000` >+ echo 'void fn351() {}' >+ for i in `seq 1 1000` >+ echo 'void fn352() {}' >+ for i in `seq 1 1000` >+ echo 'void fn353() {}' >+ for i in `seq 1 1000` >+ echo 'void fn354() {}' >+ for i in `seq 1 1000` >+ echo 'void fn355() {}' >+ for i in `seq 1 1000` >+ echo 'void fn356() {}' >+ for i in `seq 1 1000` >+ echo 'void fn357() {}' >+ for i in `seq 1 1000` >+ echo 'void fn358() {}' >+ for i in `seq 1 1000` >+ echo 'void fn359() {}' >+ for i in `seq 1 1000` >+ echo 'void fn360() {}' >+ for i in `seq 1 1000` >+ echo 'void fn361() {}' >+ for i in `seq 1 1000` >+ echo 'void fn362() {}' >+ for i in `seq 1 1000` >+ echo 'void fn363() {}' >+ for i in `seq 1 1000` >+ echo 'void fn364() {}' >+ for i in `seq 1 1000` >+ echo 'void fn365() {}' >+ for i in `seq 1 1000` >+ echo 'void fn366() {}' >+ for i in `seq 1 1000` >+ echo 'void fn367() {}' >+ for i in `seq 1 1000` >+ echo 'void fn368() {}' >+ for i in `seq 1 1000` >+ echo 'void fn369() {}' >+ for i in `seq 1 1000` >+ echo 'void fn370() {}' >+ for i in `seq 1 1000` >+ echo 'void fn371() {}' >+ for i in `seq 1 1000` >+ echo 'void fn372() {}' >+ for i in `seq 1 1000` >+ echo 'void fn373() {}' >+ for i in `seq 1 1000` >+ echo 'void fn374() {}' >+ for i in `seq 1 1000` >+ echo 'void fn375() {}' >+ for i in `seq 1 1000` >+ echo 'void fn376() {}' >+ for i in `seq 1 1000` >+ echo 'void fn377() {}' >+ for i in `seq 1 1000` >+ echo 'void fn378() {}' >+ for i in `seq 1 1000` >+ echo 'void fn379() {}' >+ for i in `seq 1 1000` >+ echo 'void fn380() {}' >+ for i in `seq 1 1000` >+ echo 'void fn381() {}' >+ for i in `seq 1 1000` >+ echo 'void fn382() {}' >+ for i in `seq 1 1000` >+ echo 'void fn383() {}' >+ for i in `seq 1 1000` >+ echo 'void fn384() {}' >+ for i in `seq 1 1000` >+ echo 'void fn385() {}' >+ for i in `seq 1 1000` >+ echo 'void fn386() {}' >+ for i in `seq 1 1000` >+ echo 'void fn387() {}' >+ for i in `seq 1 1000` >+ echo 'void fn388() {}' >+ for i in `seq 1 1000` >+ echo 'void fn389() {}' >+ for i in `seq 1 1000` >+ echo 'void fn390() {}' >+ for i in `seq 1 1000` >+ echo 'void fn391() {}' >+ for i in `seq 1 1000` >+ echo 'void fn392() {}' >+ for i in `seq 1 1000` >+ echo 'void fn393() {}' >+ for i in `seq 1 1000` >+ echo 'void fn394() {}' >+ for i in `seq 1 1000` >+ echo 'void fn395() {}' >+ for i in `seq 1 1000` >+ echo 'void fn396() {}' >+ for i in `seq 1 1000` >+ echo 'void fn397() {}' >+ for i in `seq 1 1000` >+ echo 'void fn398() {}' >+ for i in `seq 1 1000` >+ echo 'void fn399() {}' >+ for i in `seq 1 1000` >+ echo 'void fn400() {}' >+ for i in `seq 1 1000` >+ echo 'void fn401() {}' >+ for i in `seq 1 1000` >+ echo 'void fn402() {}' >+ for i in `seq 1 1000` >+ echo 'void fn403() {}' >+ for i in `seq 1 1000` >+ echo 'void fn404() {}' >+ for i in `seq 1 1000` >+ echo 'void fn405() {}' >+ for i in `seq 1 1000` >+ echo 'void fn406() {}' >+ for i in `seq 1 1000` >+ echo 'void fn407() {}' >+ for i in `seq 1 1000` >+ echo 'void fn408() {}' >+ for i in `seq 1 1000` >+ echo 'void fn409() {}' >+ for i in `seq 1 1000` >+ echo 'void fn410() {}' >+ for i in `seq 1 1000` >+ echo 'void fn411() {}' >+ for i in `seq 1 1000` >+ echo 'void fn412() {}' >+ for i in `seq 1 1000` >+ echo 'void fn413() {}' >+ for i in `seq 1 1000` >+ echo 'void fn414() {}' >+ for i in `seq 1 1000` >+ echo 'void fn415() {}' >+ for i in `seq 1 1000` >+ echo 'void fn416() {}' >+ for i in `seq 1 1000` >+ echo 'void fn417() {}' >+ for i in `seq 1 1000` >+ echo 'void fn418() {}' >+ for i in `seq 1 1000` >+ echo 'void fn419() {}' >+ for i in `seq 1 1000` >+ echo 'void fn420() {}' >+ for i in `seq 1 1000` >+ echo 'void fn421() {}' >+ for i in `seq 1 1000` >+ echo 'void fn422() {}' >+ for i in `seq 1 1000` >+ echo 'void fn423() {}' >+ for i in `seq 1 1000` >+ echo 'void fn424() {}' >+ for i in `seq 1 1000` >+ echo 'void fn425() {}' >+ for i in `seq 1 1000` >+ echo 'void fn426() {}' >+ for i in `seq 1 1000` >+ echo 'void fn427() {}' >+ for i in `seq 1 1000` >+ echo 'void fn428() {}' >+ for i in `seq 1 1000` >+ echo 'void fn429() {}' >+ for i in `seq 1 1000` >+ echo 'void fn430() {}' >+ for i in `seq 1 1000` >+ echo 'void fn431() {}' >+ for i in `seq 1 1000` >+ echo 'void fn432() {}' >+ for i in `seq 1 1000` >+ echo 'void fn433() {}' >+ for i in `seq 1 1000` >+ echo 'void fn434() {}' >+ for i in `seq 1 1000` >+ echo 'void fn435() {}' >+ for i in `seq 1 1000` >+ echo 'void fn436() {}' >+ for i in `seq 1 1000` >+ echo 'void fn437() {}' >+ for i in `seq 1 1000` >+ echo 'void fn438() {}' >+ for i in `seq 1 1000` >+ echo 'void fn439() {}' >+ for i in `seq 1 1000` >+ echo 'void fn440() {}' >+ for i in `seq 1 1000` >+ echo 'void fn441() {}' >+ for i in `seq 1 1000` >+ echo 'void fn442() {}' >+ for i in `seq 1 1000` >+ echo 'void fn443() {}' >+ for i in `seq 1 1000` >+ echo 'void fn444() {}' >+ for i in `seq 1 1000` >+ echo 'void fn445() {}' >+ for i in `seq 1 1000` >+ echo 'void fn446() {}' >+ for i in `seq 1 1000` >+ echo 'void fn447() {}' >+ for i in `seq 1 1000` >+ echo 'void fn448() {}' >+ for i in `seq 1 1000` >+ echo 'void fn449() {}' >+ for i in `seq 1 1000` >+ echo 'void fn450() {}' >+ for i in `seq 1 1000` >+ echo 'void fn451() {}' >+ for i in `seq 1 1000` >+ echo 'void fn452() {}' >+ for i in `seq 1 1000` >+ echo 'void fn453() {}' >+ for i in `seq 1 1000` >+ echo 'void fn454() {}' >+ for i in `seq 1 1000` >+ echo 'void fn455() {}' >+ for i in `seq 1 1000` >+ echo 'void fn456() {}' >+ for i in `seq 1 1000` >+ echo 'void fn457() {}' >+ for i in `seq 1 1000` >+ echo 'void fn458() {}' >+ for i in `seq 1 1000` >+ echo 'void fn459() {}' >+ for i in `seq 1 1000` >+ echo 'void fn460() {}' >+ for i in `seq 1 1000` >+ echo 'void fn461() {}' >+ for i in `seq 1 1000` >+ echo 'void fn462() {}' >+ for i in `seq 1 1000` >+ echo 'void fn463() {}' >+ for i in `seq 1 1000` >+ echo 'void fn464() {}' >+ for i in `seq 1 1000` >+ echo 'void fn465() {}' >+ for i in `seq 1 1000` >+ echo 'void fn466() {}' >+ for i in `seq 1 1000` >+ echo 'void fn467() {}' >+ for i in `seq 1 1000` >+ echo 'void fn468() {}' >+ for i in `seq 1 1000` >+ echo 'void fn469() {}' >+ for i in `seq 1 1000` >+ echo 'void fn470() {}' >+ for i in `seq 1 1000` >+ echo 'void fn471() {}' >+ for i in `seq 1 1000` >+ echo 'void fn472() {}' >+ for i in `seq 1 1000` >+ echo 'void fn473() {}' >+ for i in `seq 1 1000` >+ echo 'void fn474() {}' >+ for i in `seq 1 1000` >+ echo 'void fn475() {}' >+ for i in `seq 1 1000` >+ echo 'void fn476() {}' >+ for i in `seq 1 1000` >+ echo 'void fn477() {}' >+ for i in `seq 1 1000` >+ echo 'void fn478() {}' >+ for i in `seq 1 1000` >+ echo 'void fn479() {}' >+ for i in `seq 1 1000` >+ echo 'void fn480() {}' >+ for i in `seq 1 1000` >+ echo 'void fn481() {}' >+ for i in `seq 1 1000` >+ echo 'void fn482() {}' >+ for i in `seq 1 1000` >+ echo 'void fn483() {}' >+ for i in `seq 1 1000` >+ echo 'void fn484() {}' >+ for i in `seq 1 1000` >+ echo 'void fn485() {}' >+ for i in `seq 1 1000` >+ echo 'void fn486() {}' >+ for i in `seq 1 1000` >+ echo 'void fn487() {}' >+ for i in `seq 1 1000` >+ echo 'void fn488() {}' >+ for i in `seq 1 1000` >+ echo 'void fn489() {}' >+ for i in `seq 1 1000` >+ echo 'void fn490() {}' >+ for i in `seq 1 1000` >+ echo 'void fn491() {}' >+ for i in `seq 1 1000` >+ echo 'void fn492() {}' >+ for i in `seq 1 1000` >+ echo 'void fn493() {}' >+ for i in `seq 1 1000` >+ echo 'void fn494() {}' >+ for i in `seq 1 1000` >+ echo 'void fn495() {}' >+ for i in `seq 1 1000` >+ echo 'void fn496() {}' >+ for i in `seq 1 1000` >+ echo 'void fn497() {}' >+ for i in `seq 1 1000` >+ echo 'void fn498() {}' >+ for i in `seq 1 1000` >+ echo 'void fn499() {}' >+ for i in `seq 1 1000` >+ echo 'void fn500() {}' >+ for i in `seq 1 1000` >+ echo 'void fn501() {}' >+ for i in `seq 1 1000` >+ echo 'void fn502() {}' >+ for i in `seq 1 1000` >+ echo 'void fn503() {}' >+ for i in `seq 1 1000` >+ echo 'void fn504() {}' >+ for i in `seq 1 1000` >+ echo 'void fn505() {}' >+ for i in `seq 1 1000` >+ echo 'void fn506() {}' >+ for i in `seq 1 1000` >+ echo 'void fn507() {}' >+ for i in `seq 1 1000` >+ echo 'void fn508() {}' >+ for i in `seq 1 1000` >+ echo 'void fn509() {}' >+ for i in `seq 1 1000` >+ echo 'void fn510() {}' >+ for i in `seq 1 1000` >+ echo 'void fn511() {}' >+ for i in `seq 1 1000` >+ echo 'void fn512() {}' >+ for i in `seq 1 1000` >+ echo 'void fn513() {}' >+ for i in `seq 1 1000` >+ echo 'void fn514() {}' >+ for i in `seq 1 1000` >+ echo 'void fn515() {}' >+ for i in `seq 1 1000` >+ echo 'void fn516() {}' >+ for i in `seq 1 1000` >+ echo 'void fn517() {}' >+ for i in `seq 1 1000` >+ echo 'void fn518() {}' >+ for i in `seq 1 1000` >+ echo 'void fn519() {}' >+ for i in `seq 1 1000` >+ echo 'void fn520() {}' >+ for i in `seq 1 1000` >+ echo 'void fn521() {}' >+ for i in `seq 1 1000` >+ echo 'void fn522() {}' >+ for i in `seq 1 1000` >+ echo 'void fn523() {}' >+ for i in `seq 1 1000` >+ echo 'void fn524() {}' >+ for i in `seq 1 1000` >+ echo 'void fn525() {}' >+ for i in `seq 1 1000` >+ echo 'void fn526() {}' >+ for i in `seq 1 1000` >+ echo 'void fn527() {}' >+ for i in `seq 1 1000` >+ echo 'void fn528() {}' >+ for i in `seq 1 1000` >+ echo 'void fn529() {}' >+ for i in `seq 1 1000` >+ echo 'void fn530() {}' >+ for i in `seq 1 1000` >+ echo 'void fn531() {}' >+ for i in `seq 1 1000` >+ echo 'void fn532() {}' >+ for i in `seq 1 1000` >+ echo 'void fn533() {}' >+ for i in `seq 1 1000` >+ echo 'void fn534() {}' >+ for i in `seq 1 1000` >+ echo 'void fn535() {}' >+ for i in `seq 1 1000` >+ echo 'void fn536() {}' >+ for i in `seq 1 1000` >+ echo 'void fn537() {}' >+ for i in `seq 1 1000` >+ echo 'void fn538() {}' >+ for i in `seq 1 1000` >+ echo 'void fn539() {}' >+ for i in `seq 1 1000` >+ echo 'void fn540() {}' >+ for i in `seq 1 1000` >+ echo 'void fn541() {}' >+ for i in `seq 1 1000` >+ echo 'void fn542() {}' >+ for i in `seq 1 1000` >+ echo 'void fn543() {}' >+ for i in `seq 1 1000` >+ echo 'void fn544() {}' >+ for i in `seq 1 1000` >+ echo 'void fn545() {}' >+ for i in `seq 1 1000` >+ echo 'void fn546() {}' >+ for i in `seq 1 1000` >+ echo 'void fn547() {}' >+ for i in `seq 1 1000` >+ echo 'void fn548() {}' >+ for i in `seq 1 1000` >+ echo 'void fn549() {}' >+ for i in `seq 1 1000` >+ echo 'void fn550() {}' >+ for i in `seq 1 1000` >+ echo 'void fn551() {}' >+ for i in `seq 1 1000` >+ echo 'void fn552() {}' >+ for i in `seq 1 1000` >+ echo 'void fn553() {}' >+ for i in `seq 1 1000` >+ echo 'void fn554() {}' >+ for i in `seq 1 1000` >+ echo 'void fn555() {}' >+ for i in `seq 1 1000` >+ echo 'void fn556() {}' >+ for i in `seq 1 1000` >+ echo 'void fn557() {}' >+ for i in `seq 1 1000` >+ echo 'void fn558() {}' >+ for i in `seq 1 1000` >+ echo 'void fn559() {}' >+ for i in `seq 1 1000` >+ echo 'void fn560() {}' >+ for i in `seq 1 1000` >+ echo 'void fn561() {}' >+ for i in `seq 1 1000` >+ echo 'void fn562() {}' >+ for i in `seq 1 1000` >+ echo 'void fn563() {}' >+ for i in `seq 1 1000` >+ echo 'void fn564() {}' >+ for i in `seq 1 1000` >+ echo 'void fn565() {}' >+ for i in `seq 1 1000` >+ echo 'void fn566() {}' >+ for i in `seq 1 1000` >+ echo 'void fn567() {}' >+ for i in `seq 1 1000` >+ echo 'void fn568() {}' >+ for i in `seq 1 1000` >+ echo 'void fn569() {}' >+ for i in `seq 1 1000` >+ echo 'void fn570() {}' >+ for i in `seq 1 1000` >+ echo 'void fn571() {}' >+ for i in `seq 1 1000` >+ echo 'void fn572() {}' >+ for i in `seq 1 1000` >+ echo 'void fn573() {}' >+ for i in `seq 1 1000` >+ echo 'void fn574() {}' >+ for i in `seq 1 1000` >+ echo 'void fn575() {}' >+ for i in `seq 1 1000` >+ echo 'void fn576() {}' >+ for i in `seq 1 1000` >+ echo 'void fn577() {}' >+ for i in `seq 1 1000` >+ echo 'void fn578() {}' >+ for i in `seq 1 1000` >+ echo 'void fn579() {}' >+ for i in `seq 1 1000` >+ echo 'void fn580() {}' >+ for i in `seq 1 1000` >+ echo 'void fn581() {}' >+ for i in `seq 1 1000` >+ echo 'void fn582() {}' >+ for i in `seq 1 1000` >+ echo 'void fn583() {}' >+ for i in `seq 1 1000` >+ echo 'void fn584() {}' >+ for i in `seq 1 1000` >+ echo 'void fn585() {}' >+ for i in `seq 1 1000` >+ echo 'void fn586() {}' >+ for i in `seq 1 1000` >+ echo 'void fn587() {}' >+ for i in `seq 1 1000` >+ echo 'void fn588() {}' >+ for i in `seq 1 1000` >+ echo 'void fn589() {}' >+ for i in `seq 1 1000` >+ echo 'void fn590() {}' >+ for i in `seq 1 1000` >+ echo 'void fn591() {}' >+ for i in `seq 1 1000` >+ echo 'void fn592() {}' >+ for i in `seq 1 1000` >+ echo 'void fn593() {}' >+ for i in `seq 1 1000` >+ echo 'void fn594() {}' >+ for i in `seq 1 1000` >+ echo 'void fn595() {}' >+ for i in `seq 1 1000` >+ echo 'void fn596() {}' >+ for i in `seq 1 1000` >+ echo 'void fn597() {}' >+ for i in `seq 1 1000` >+ echo 'void fn598() {}' >+ for i in `seq 1 1000` >+ echo 'void fn599() {}' >+ for i in `seq 1 1000` >+ echo 'void fn600() {}' >+ for i in `seq 1 1000` >+ echo 'void fn601() {}' >+ for i in `seq 1 1000` >+ echo 'void fn602() {}' >+ for i in `seq 1 1000` >+ echo 'void fn603() {}' >+ for i in `seq 1 1000` >+ echo 'void fn604() {}' >+ for i in `seq 1 1000` >+ echo 'void fn605() {}' >+ for i in `seq 1 1000` >+ echo 'void fn606() {}' >+ for i in `seq 1 1000` >+ echo 'void fn607() {}' >+ for i in `seq 1 1000` >+ echo 'void fn608() {}' >+ for i in `seq 1 1000` >+ echo 'void fn609() {}' >+ for i in `seq 1 1000` >+ echo 'void fn610() {}' >+ for i in `seq 1 1000` >+ echo 'void fn611() {}' >+ for i in `seq 1 1000` >+ echo 'void fn612() {}' >+ for i in `seq 1 1000` >+ echo 'void fn613() {}' >+ for i in `seq 1 1000` >+ echo 'void fn614() {}' >+ for i in `seq 1 1000` >+ echo 'void fn615() {}' >+ for i in `seq 1 1000` >+ echo 'void fn616() {}' >+ for i in `seq 1 1000` >+ echo 'void fn617() {}' >+ for i in `seq 1 1000` >+ echo 'void fn618() {}' >+ for i in `seq 1 1000` >+ echo 'void fn619() {}' >+ for i in `seq 1 1000` >+ echo 'void fn620() {}' >+ for i in `seq 1 1000` >+ echo 'void fn621() {}' >+ for i in `seq 1 1000` >+ echo 'void fn622() {}' >+ for i in `seq 1 1000` >+ echo 'void fn623() {}' >+ for i in `seq 1 1000` >+ echo 'void fn624() {}' >+ for i in `seq 1 1000` >+ echo 'void fn625() {}' >+ for i in `seq 1 1000` >+ echo 'void fn626() {}' >+ for i in `seq 1 1000` >+ echo 'void fn627() {}' >+ for i in `seq 1 1000` >+ echo 'void fn628() {}' >+ for i in `seq 1 1000` >+ echo 'void fn629() {}' >+ for i in `seq 1 1000` >+ echo 'void fn630() {}' >+ for i in `seq 1 1000` >+ echo 'void fn631() {}' >+ for i in `seq 1 1000` >+ echo 'void fn632() {}' >+ for i in `seq 1 1000` >+ echo 'void fn633() {}' >+ for i in `seq 1 1000` >+ echo 'void fn634() {}' >+ for i in `seq 1 1000` >+ echo 'void fn635() {}' >+ for i in `seq 1 1000` >+ echo 'void fn636() {}' >+ for i in `seq 1 1000` >+ echo 'void fn637() {}' >+ for i in `seq 1 1000` >+ echo 'void fn638() {}' >+ for i in `seq 1 1000` >+ echo 'void fn639() {}' >+ for i in `seq 1 1000` >+ echo 'void fn640() {}' >+ for i in `seq 1 1000` >+ echo 'void fn641() {}' >+ for i in `seq 1 1000` >+ echo 'void fn642() {}' >+ for i in `seq 1 1000` >+ echo 'void fn643() {}' >+ for i in `seq 1 1000` >+ echo 'void fn644() {}' >+ for i in `seq 1 1000` >+ echo 'void fn645() {}' >+ for i in `seq 1 1000` >+ echo 'void fn646() {}' >+ for i in `seq 1 1000` >+ echo 'void fn647() {}' >+ for i in `seq 1 1000` >+ echo 'void fn648() {}' >+ for i in `seq 1 1000` >+ echo 'void fn649() {}' >+ for i in `seq 1 1000` >+ echo 'void fn650() {}' >+ for i in `seq 1 1000` >+ echo 'void fn651() {}' >+ for i in `seq 1 1000` >+ echo 'void fn652() {}' >+ for i in `seq 1 1000` >+ echo 'void fn653() {}' >+ for i in `seq 1 1000` >+ echo 'void fn654() {}' >+ for i in `seq 1 1000` >+ echo 'void fn655() {}' >+ for i in `seq 1 1000` >+ echo 'void fn656() {}' >+ for i in `seq 1 1000` >+ echo 'void fn657() {}' >+ for i in `seq 1 1000` >+ echo 'void fn658() {}' >+ for i in `seq 1 1000` >+ echo 'void fn659() {}' >+ for i in `seq 1 1000` >+ echo 'void fn660() {}' >+ for i in `seq 1 1000` >+ echo 'void fn661() {}' >+ for i in `seq 1 1000` >+ echo 'void fn662() {}' >+ for i in `seq 1 1000` >+ echo 'void fn663() {}' >+ for i in `seq 1 1000` >+ echo 'void fn664() {}' >+ for i in `seq 1 1000` >+ echo 'void fn665() {}' >+ for i in `seq 1 1000` >+ echo 'void fn666() {}' >+ for i in `seq 1 1000` >+ echo 'void fn667() {}' >+ for i in `seq 1 1000` >+ echo 'void fn668() {}' >+ for i in `seq 1 1000` >+ echo 'void fn669() {}' >+ for i in `seq 1 1000` >+ echo 'void fn670() {}' >+ for i in `seq 1 1000` >+ echo 'void fn671() {}' >+ for i in `seq 1 1000` >+ echo 'void fn672() {}' >+ for i in `seq 1 1000` >+ echo 'void fn673() {}' >+ for i in `seq 1 1000` >+ echo 'void fn674() {}' >+ for i in `seq 1 1000` >+ echo 'void fn675() {}' >+ for i in `seq 1 1000` >+ echo 'void fn676() {}' >+ for i in `seq 1 1000` >+ echo 'void fn677() {}' >+ for i in `seq 1 1000` >+ echo 'void fn678() {}' >+ for i in `seq 1 1000` >+ echo 'void fn679() {}' >+ for i in `seq 1 1000` >+ echo 'void fn680() {}' >+ for i in `seq 1 1000` >+ echo 'void fn681() {}' >+ for i in `seq 1 1000` >+ echo 'void fn682() {}' >+ for i in `seq 1 1000` >+ echo 'void fn683() {}' >+ for i in `seq 1 1000` >+ echo 'void fn684() {}' >+ for i in `seq 1 1000` >+ echo 'void fn685() {}' >+ for i in `seq 1 1000` >+ echo 'void fn686() {}' >+ for i in `seq 1 1000` >+ echo 'void fn687() {}' >+ for i in `seq 1 1000` >+ echo 'void fn688() {}' >+ for i in `seq 1 1000` >+ echo 'void fn689() {}' >+ for i in `seq 1 1000` >+ echo 'void fn690() {}' >+ for i in `seq 1 1000` >+ echo 'void fn691() {}' >+ for i in `seq 1 1000` >+ echo 'void fn692() {}' >+ for i in `seq 1 1000` >+ echo 'void fn693() {}' >+ for i in `seq 1 1000` >+ echo 'void fn694() {}' >+ for i in `seq 1 1000` >+ echo 'void fn695() {}' >+ for i in `seq 1 1000` >+ echo 'void fn696() {}' >+ for i in `seq 1 1000` >+ echo 'void fn697() {}' >+ for i in `seq 1 1000` >+ echo 'void fn698() {}' >+ for i in `seq 1 1000` >+ echo 'void fn699() {}' >+ for i in `seq 1 1000` >+ echo 'void fn700() {}' >+ for i in `seq 1 1000` >+ echo 'void fn701() {}' >+ for i in `seq 1 1000` >+ echo 'void fn702() {}' >+ for i in `seq 1 1000` >+ echo 'void fn703() {}' >+ for i in `seq 1 1000` >+ echo 'void fn704() {}' >+ for i in `seq 1 1000` >+ echo 'void fn705() {}' >+ for i in `seq 1 1000` >+ echo 'void fn706() {}' >+ for i in `seq 1 1000` >+ echo 'void fn707() {}' >+ for i in `seq 1 1000` >+ echo 'void fn708() {}' >+ for i in `seq 1 1000` >+ echo 'void fn709() {}' >+ for i in `seq 1 1000` >+ echo 'void fn710() {}' >+ for i in `seq 1 1000` >+ echo 'void fn711() {}' >+ for i in `seq 1 1000` >+ echo 'void fn712() {}' >+ for i in `seq 1 1000` >+ echo 'void fn713() {}' >+ for i in `seq 1 1000` >+ echo 'void fn714() {}' >+ for i in `seq 1 1000` >+ echo 'void fn715() {}' >+ for i in `seq 1 1000` >+ echo 'void fn716() {}' >+ for i in `seq 1 1000` >+ echo 'void fn717() {}' >+ for i in `seq 1 1000` >+ echo 'void fn718() {}' >+ for i in `seq 1 1000` >+ echo 'void fn719() {}' >+ for i in `seq 1 1000` >+ echo 'void fn720() {}' >+ for i in `seq 1 1000` >+ echo 'void fn721() {}' >+ for i in `seq 1 1000` >+ echo 'void fn722() {}' >+ for i in `seq 1 1000` >+ echo 'void fn723() {}' >+ for i in `seq 1 1000` >+ echo 'void fn724() {}' >+ for i in `seq 1 1000` >+ echo 'void fn725() {}' >+ for i in `seq 1 1000` >+ echo 'void fn726() {}' >+ for i in `seq 1 1000` >+ echo 'void fn727() {}' >+ for i in `seq 1 1000` >+ echo 'void fn728() {}' >+ for i in `seq 1 1000` >+ echo 'void fn729() {}' >+ for i in `seq 1 1000` >+ echo 'void fn730() {}' >+ for i in `seq 1 1000` >+ echo 'void fn731() {}' >+ for i in `seq 1 1000` >+ echo 'void fn732() {}' >+ for i in `seq 1 1000` >+ echo 'void fn733() {}' >+ for i in `seq 1 1000` >+ echo 'void fn734() {}' >+ for i in `seq 1 1000` >+ echo 'void fn735() {}' >+ for i in `seq 1 1000` >+ echo 'void fn736() {}' >+ for i in `seq 1 1000` >+ echo 'void fn737() {}' >+ for i in `seq 1 1000` >+ echo 'void fn738() {}' >+ for i in `seq 1 1000` >+ echo 'void fn739() {}' >+ for i in `seq 1 1000` >+ echo 'void fn740() {}' >+ for i in `seq 1 1000` >+ echo 'void fn741() {}' >+ for i in `seq 1 1000` >+ echo 'void fn742() {}' >+ for i in `seq 1 1000` >+ echo 'void fn743() {}' >+ for i in `seq 1 1000` >+ echo 'void fn744() {}' >+ for i in `seq 1 1000` >+ echo 'void fn745() {}' >+ for i in `seq 1 1000` >+ echo 'void fn746() {}' >+ for i in `seq 1 1000` >+ echo 'void fn747() {}' >+ for i in `seq 1 1000` >+ echo 'void fn748() {}' >+ for i in `seq 1 1000` >+ echo 'void fn749() {}' >+ for i in `seq 1 1000` >+ echo 'void fn750() {}' >+ for i in `seq 1 1000` >+ echo 'void fn751() {}' >+ for i in `seq 1 1000` >+ echo 'void fn752() {}' >+ for i in `seq 1 1000` >+ echo 'void fn753() {}' >+ for i in `seq 1 1000` >+ echo 'void fn754() {}' >+ for i in `seq 1 1000` >+ echo 'void fn755() {}' >+ for i in `seq 1 1000` >+ echo 'void fn756() {}' >+ for i in `seq 1 1000` >+ echo 'void fn757() {}' >+ for i in `seq 1 1000` >+ echo 'void fn758() {}' >+ for i in `seq 1 1000` >+ echo 'void fn759() {}' >+ for i in `seq 1 1000` >+ echo 'void fn760() {}' >+ for i in `seq 1 1000` >+ echo 'void fn761() {}' >+ for i in `seq 1 1000` >+ echo 'void fn762() {}' >+ for i in `seq 1 1000` >+ echo 'void fn763() {}' >+ for i in `seq 1 1000` >+ echo 'void fn764() {}' >+ for i in `seq 1 1000` >+ echo 'void fn765() {}' >+ for i in `seq 1 1000` >+ echo 'void fn766() {}' >+ for i in `seq 1 1000` >+ echo 'void fn767() {}' >+ for i in `seq 1 1000` >+ echo 'void fn768() {}' >+ for i in `seq 1 1000` >+ echo 'void fn769() {}' >+ for i in `seq 1 1000` >+ echo 'void fn770() {}' >+ for i in `seq 1 1000` >+ echo 'void fn771() {}' >+ for i in `seq 1 1000` >+ echo 'void fn772() {}' >+ for i in `seq 1 1000` >+ echo 'void fn773() {}' >+ for i in `seq 1 1000` >+ echo 'void fn774() {}' >+ for i in `seq 1 1000` >+ echo 'void fn775() {}' >+ for i in `seq 1 1000` >+ echo 'void fn776() {}' >+ for i in `seq 1 1000` >+ echo 'void fn777() {}' >+ for i in `seq 1 1000` >+ echo 'void fn778() {}' >+ for i in `seq 1 1000` >+ echo 'void fn779() {}' >+ for i in `seq 1 1000` >+ echo 'void fn780() {}' >+ for i in `seq 1 1000` >+ echo 'void fn781() {}' >+ for i in `seq 1 1000` >+ echo 'void fn782() {}' >+ for i in `seq 1 1000` >+ echo 'void fn783() {}' >+ for i in `seq 1 1000` >+ echo 'void fn784() {}' >+ for i in `seq 1 1000` >+ echo 'void fn785() {}' >+ for i in `seq 1 1000` >+ echo 'void fn786() {}' >+ for i in `seq 1 1000` >+ echo 'void fn787() {}' >+ for i in `seq 1 1000` >+ echo 'void fn788() {}' >+ for i in `seq 1 1000` >+ echo 'void fn789() {}' >+ for i in `seq 1 1000` >+ echo 'void fn790() {}' >+ for i in `seq 1 1000` >+ echo 'void fn791() {}' >+ for i in `seq 1 1000` >+ echo 'void fn792() {}' >+ for i in `seq 1 1000` >+ echo 'void fn793() {}' >+ for i in `seq 1 1000` >+ echo 'void fn794() {}' >+ for i in `seq 1 1000` >+ echo 'void fn795() {}' >+ for i in `seq 1 1000` >+ echo 'void fn796() {}' >+ for i in `seq 1 1000` >+ echo 'void fn797() {}' >+ for i in `seq 1 1000` >+ echo 'void fn798() {}' >+ for i in `seq 1 1000` >+ echo 'void fn799() {}' >+ for i in `seq 1 1000` >+ echo 'void fn800() {}' >+ for i in `seq 1 1000` >+ echo 'void fn801() {}' >+ for i in `seq 1 1000` >+ echo 'void fn802() {}' >+ for i in `seq 1 1000` >+ echo 'void fn803() {}' >+ for i in `seq 1 1000` >+ echo 'void fn804() {}' >+ for i in `seq 1 1000` >+ echo 'void fn805() {}' >+ for i in `seq 1 1000` >+ echo 'void fn806() {}' >+ for i in `seq 1 1000` >+ echo 'void fn807() {}' >+ for i in `seq 1 1000` >+ echo 'void fn808() {}' >+ for i in `seq 1 1000` >+ echo 'void fn809() {}' >+ for i in `seq 1 1000` >+ echo 'void fn810() {}' >+ for i in `seq 1 1000` >+ echo 'void fn811() {}' >+ for i in `seq 1 1000` >+ echo 'void fn812() {}' >+ for i in `seq 1 1000` >+ echo 'void fn813() {}' >+ for i in `seq 1 1000` >+ echo 'void fn814() {}' >+ for i in `seq 1 1000` >+ echo 'void fn815() {}' >+ for i in `seq 1 1000` >+ echo 'void fn816() {}' >+ for i in `seq 1 1000` >+ echo 'void fn817() {}' >+ for i in `seq 1 1000` >+ echo 'void fn818() {}' >+ for i in `seq 1 1000` >+ echo 'void fn819() {}' >+ for i in `seq 1 1000` >+ echo 'void fn820() {}' >+ for i in `seq 1 1000` >+ echo 'void fn821() {}' >+ for i in `seq 1 1000` >+ echo 'void fn822() {}' >+ for i in `seq 1 1000` >+ echo 'void fn823() {}' >+ for i in `seq 1 1000` >+ echo 'void fn824() {}' >+ for i in `seq 1 1000` >+ echo 'void fn825() {}' >+ for i in `seq 1 1000` >+ echo 'void fn826() {}' >+ for i in `seq 1 1000` >+ echo 'void fn827() {}' >+ for i in `seq 1 1000` >+ echo 'void fn828() {}' >+ for i in `seq 1 1000` >+ echo 'void fn829() {}' >+ for i in `seq 1 1000` >+ echo 'void fn830() {}' >+ for i in `seq 1 1000` >+ echo 'void fn831() {}' >+ for i in `seq 1 1000` >+ echo 'void fn832() {}' >+ for i in `seq 1 1000` >+ echo 'void fn833() {}' >+ for i in `seq 1 1000` >+ echo 'void fn834() {}' >+ for i in `seq 1 1000` >+ echo 'void fn835() {}' >+ for i in `seq 1 1000` >+ echo 'void fn836() {}' >+ for i in `seq 1 1000` >+ echo 'void fn837() {}' >+ for i in `seq 1 1000` >+ echo 'void fn838() {}' >+ for i in `seq 1 1000` >+ echo 'void fn839() {}' >+ for i in `seq 1 1000` >+ echo 'void fn840() {}' >+ for i in `seq 1 1000` >+ echo 'void fn841() {}' >+ for i in `seq 1 1000` >+ echo 'void fn842() {}' >+ for i in `seq 1 1000` >+ echo 'void fn843() {}' >+ for i in `seq 1 1000` >+ echo 'void fn844() {}' >+ for i in `seq 1 1000` >+ echo 'void fn845() {}' >+ for i in `seq 1 1000` >+ echo 'void fn846() {}' >+ for i in `seq 1 1000` >+ echo 'void fn847() {}' >+ for i in `seq 1 1000` >+ echo 'void fn848() {}' >+ for i in `seq 1 1000` >+ echo 'void fn849() {}' >+ for i in `seq 1 1000` >+ echo 'void fn850() {}' >+ for i in `seq 1 1000` >+ echo 'void fn851() {}' >+ for i in `seq 1 1000` >+ echo 'void fn852() {}' >+ for i in `seq 1 1000` >+ echo 'void fn853() {}' >+ for i in `seq 1 1000` >+ echo 'void fn854() {}' >+ for i in `seq 1 1000` >+ echo 'void fn855() {}' >+ for i in `seq 1 1000` >+ echo 'void fn856() {}' >+ for i in `seq 1 1000` >+ echo 'void fn857() {}' >+ for i in `seq 1 1000` >+ echo 'void fn858() {}' >+ for i in `seq 1 1000` >+ echo 'void fn859() {}' >+ for i in `seq 1 1000` >+ echo 'void fn860() {}' >+ for i in `seq 1 1000` >+ echo 'void fn861() {}' >+ for i in `seq 1 1000` >+ echo 'void fn862() {}' >+ for i in `seq 1 1000` >+ echo 'void fn863() {}' >+ for i in `seq 1 1000` >+ echo 'void fn864() {}' >+ for i in `seq 1 1000` >+ echo 'void fn865() {}' >+ for i in `seq 1 1000` >+ echo 'void fn866() {}' >+ for i in `seq 1 1000` >+ echo 'void fn867() {}' >+ for i in `seq 1 1000` >+ echo 'void fn868() {}' >+ for i in `seq 1 1000` >+ echo 'void fn869() {}' >+ for i in `seq 1 1000` >+ echo 'void fn870() {}' >+ for i in `seq 1 1000` >+ echo 'void fn871() {}' >+ for i in `seq 1 1000` >+ echo 'void fn872() {}' >+ for i in `seq 1 1000` >+ echo 'void fn873() {}' >+ for i in `seq 1 1000` >+ echo 'void fn874() {}' >+ for i in `seq 1 1000` >+ echo 'void fn875() {}' >+ for i in `seq 1 1000` >+ echo 'void fn876() {}' >+ for i in `seq 1 1000` >+ echo 'void fn877() {}' >+ for i in `seq 1 1000` >+ echo 'void fn878() {}' >+ for i in `seq 1 1000` >+ echo 'void fn879() {}' >+ for i in `seq 1 1000` >+ echo 'void fn880() {}' >+ for i in `seq 1 1000` >+ echo 'void fn881() {}' >+ for i in `seq 1 1000` >+ echo 'void fn882() {}' >+ for i in `seq 1 1000` >+ echo 'void fn883() {}' >+ for i in `seq 1 1000` >+ echo 'void fn884() {}' >+ for i in `seq 1 1000` >+ echo 'void fn885() {}' >+ for i in `seq 1 1000` >+ echo 'void fn886() {}' >+ for i in `seq 1 1000` >+ echo 'void fn887() {}' >+ for i in `seq 1 1000` >+ echo 'void fn888() {}' >+ for i in `seq 1 1000` >+ echo 'void fn889() {}' >+ for i in `seq 1 1000` >+ echo 'void fn890() {}' >+ for i in `seq 1 1000` >+ echo 'void fn891() {}' >+ for i in `seq 1 1000` >+ echo 'void fn892() {}' >+ for i in `seq 1 1000` >+ echo 'void fn893() {}' >+ for i in `seq 1 1000` >+ echo 'void fn894() {}' >+ for i in `seq 1 1000` >+ echo 'void fn895() {}' >+ for i in `seq 1 1000` >+ echo 'void fn896() {}' >+ for i in `seq 1 1000` >+ echo 'void fn897() {}' >+ for i in `seq 1 1000` >+ echo 'void fn898() {}' >+ for i in `seq 1 1000` >+ echo 'void fn899() {}' >+ for i in `seq 1 1000` >+ echo 'void fn900() {}' >+ for i in `seq 1 1000` >+ echo 'void fn901() {}' >+ for i in `seq 1 1000` >+ echo 'void fn902() {}' >+ for i in `seq 1 1000` >+ echo 'void fn903() {}' >+ for i in `seq 1 1000` >+ echo 'void fn904() {}' >+ for i in `seq 1 1000` >+ echo 'void fn905() {}' >+ for i in `seq 1 1000` >+ echo 'void fn906() {}' >+ for i in `seq 1 1000` >+ echo 'void fn907() {}' >+ for i in `seq 1 1000` >+ echo 'void fn908() {}' >+ for i in `seq 1 1000` >+ echo 'void fn909() {}' >+ for i in `seq 1 1000` >+ echo 'void fn910() {}' >+ for i in `seq 1 1000` >+ echo 'void fn911() {}' >+ for i in `seq 1 1000` >+ echo 'void fn912() {}' >+ for i in `seq 1 1000` >+ echo 'void fn913() {}' >+ for i in `seq 1 1000` >+ echo 'void fn914() {}' >+ for i in `seq 1 1000` >+ echo 'void fn915() {}' >+ for i in `seq 1 1000` >+ echo 'void fn916() {}' >+ for i in `seq 1 1000` >+ echo 'void fn917() {}' >+ for i in `seq 1 1000` >+ echo 'void fn918() {}' >+ for i in `seq 1 1000` >+ echo 'void fn919() {}' >+ for i in `seq 1 1000` >+ echo 'void fn920() {}' >+ for i in `seq 1 1000` >+ echo 'void fn921() {}' >+ for i in `seq 1 1000` >+ echo 'void fn922() {}' >+ for i in `seq 1 1000` >+ echo 'void fn923() {}' >+ for i in `seq 1 1000` >+ echo 'void fn924() {}' >+ for i in `seq 1 1000` >+ echo 'void fn925() {}' >+ for i in `seq 1 1000` >+ echo 'void fn926() {}' >+ for i in `seq 1 1000` >+ echo 'void fn927() {}' >+ for i in `seq 1 1000` >+ echo 'void fn928() {}' >+ for i in `seq 1 1000` >+ echo 'void fn929() {}' >+ for i in `seq 1 1000` >+ echo 'void fn930() {}' >+ for i in `seq 1 1000` >+ echo 'void fn931() {}' >+ for i in `seq 1 1000` >+ echo 'void fn932() {}' >+ for i in `seq 1 1000` >+ echo 'void fn933() {}' >+ for i in `seq 1 1000` >+ echo 'void fn934() {}' >+ for i in `seq 1 1000` >+ echo 'void fn935() {}' >+ for i in `seq 1 1000` >+ echo 'void fn936() {}' >+ for i in `seq 1 1000` >+ echo 'void fn937() {}' >+ for i in `seq 1 1000` >+ echo 'void fn938() {}' >+ for i in `seq 1 1000` >+ echo 'void fn939() {}' >+ for i in `seq 1 1000` >+ echo 'void fn940() {}' >+ for i in `seq 1 1000` >+ echo 'void fn941() {}' >+ for i in `seq 1 1000` >+ echo 'void fn942() {}' >+ for i in `seq 1 1000` >+ echo 'void fn943() {}' >+ for i in `seq 1 1000` >+ echo 'void fn944() {}' >+ for i in `seq 1 1000` >+ echo 'void fn945() {}' >+ for i in `seq 1 1000` >+ echo 'void fn946() {}' >+ for i in `seq 1 1000` >+ echo 'void fn947() {}' >+ for i in `seq 1 1000` >+ echo 'void fn948() {}' >+ for i in `seq 1 1000` >+ echo 'void fn949() {}' >+ for i in `seq 1 1000` >+ echo 'void fn950() {}' >+ for i in `seq 1 1000` >+ echo 'void fn951() {}' >+ for i in `seq 1 1000` >+ echo 'void fn952() {}' >+ for i in `seq 1 1000` >+ echo 'void fn953() {}' >+ for i in `seq 1 1000` >+ echo 'void fn954() {}' >+ for i in `seq 1 1000` >+ echo 'void fn955() {}' >+ for i in `seq 1 1000` >+ echo 'void fn956() {}' >+ for i in `seq 1 1000` >+ echo 'void fn957() {}' >+ for i in `seq 1 1000` >+ echo 'void fn958() {}' >+ for i in `seq 1 1000` >+ echo 'void fn959() {}' >+ for i in `seq 1 1000` >+ echo 'void fn960() {}' >+ for i in `seq 1 1000` >+ echo 'void fn961() {}' >+ for i in `seq 1 1000` >+ echo 'void fn962() {}' >+ for i in `seq 1 1000` >+ echo 'void fn963() {}' >+ for i in `seq 1 1000` >+ echo 'void fn964() {}' >+ for i in `seq 1 1000` >+ echo 'void fn965() {}' >+ for i in `seq 1 1000` >+ echo 'void fn966() {}' >+ for i in `seq 1 1000` >+ echo 'void fn967() {}' >+ for i in `seq 1 1000` >+ echo 'void fn968() {}' >+ for i in `seq 1 1000` >+ echo 'void fn969() {}' >+ for i in `seq 1 1000` >+ echo 'void fn970() {}' >+ for i in `seq 1 1000` >+ echo 'void fn971() {}' >+ for i in `seq 1 1000` >+ echo 'void fn972() {}' >+ for i in `seq 1 1000` >+ echo 'void fn973() {}' >+ for i in `seq 1 1000` >+ echo 'void fn974() {}' >+ for i in `seq 1 1000` >+ echo 'void fn975() {}' >+ for i in `seq 1 1000` >+ echo 'void fn976() {}' >+ for i in `seq 1 1000` >+ echo 'void fn977() {}' >+ for i in `seq 1 1000` >+ echo 'void fn978() {}' >+ for i in `seq 1 1000` >+ echo 'void fn979() {}' >+ for i in `seq 1 1000` >+ echo 'void fn980() {}' >+ for i in `seq 1 1000` >+ echo 'void fn981() {}' >+ for i in `seq 1 1000` >+ echo 'void fn982() {}' >+ for i in `seq 1 1000` >+ echo 'void fn983() {}' >+ for i in `seq 1 1000` >+ echo 'void fn984() {}' >+ for i in `seq 1 1000` >+ echo 'void fn985() {}' >+ for i in `seq 1 1000` >+ echo 'void fn986() {}' >+ for i in `seq 1 1000` >+ echo 'void fn987() {}' >+ for i in `seq 1 1000` >+ echo 'void fn988() {}' >+ for i in `seq 1 1000` >+ echo 'void fn989() {}' >+ for i in `seq 1 1000` >+ echo 'void fn990() {}' >+ for i in `seq 1 1000` >+ echo 'void fn991() {}' >+ for i in `seq 1 1000` >+ echo 'void fn992() {}' >+ for i in `seq 1 1000` >+ echo 'void fn993() {}' >+ for i in `seq 1 1000` >+ echo 'void fn994() {}' >+ for i in `seq 1 1000` >+ echo 'void fn995() {}' >+ for i in `seq 1 1000` >+ echo 'void fn996() {}' >+ for i in `seq 1 1000` >+ echo 'void fn997() {}' >+ for i in `seq 1 1000` >+ echo 'void fn998() {}' >+ for i in `seq 1 1000` >+ echo 'void fn999() {}' >+ for i in `seq 1 1000` >+ echo 'void fn1000() {}' >+ cc -B. -o out/test/elf/x86_64/shuffle-sections-seed/exe1 out/test/elf/x86_64/shuffle-sections-seed/a.o out/test/elf/x86_64/shuffle-sections-seed/b.o >+ out/test/elf/x86_64/shuffle-sections-seed/exe1 >+ grep -q 'Hello world' >+ cc -B. -o out/test/elf/x86_64/shuffle-sections-seed/exe2 out/test/elf/x86_64/shuffle-sections-seed/a.o out/test/elf/x86_64/shuffle-sections-seed/b.o -Wl,-shuffle-sections=42 >+ grep -q 'Hello world' >+ out/test/elf/x86_64/shuffle-sections-seed/exe2 >+ cc -B. -o out/test/elf/x86_64/shuffle-sections-seed/exe3 out/test/elf/x86_64/shuffle-sections-seed/a.o out/test/elf/x86_64/shuffle-sections-seed/b.o -Wl,-shuffle-sections=42 >+ out/test/elf/x86_64/shuffle-sections-seed/exe3 >+ grep -q 'Hello world' >+ cc -B. -o out/test/elf/x86_64/shuffle-sections-seed/exe4 out/test/elf/x86_64/shuffle-sections-seed/a.o out/test/elf/x86_64/shuffle-sections-seed/b.o -Wl,-shuffle-sections=5 >+ out/test/elf/x86_64/shuffle-sections-seed/exe4 >+ grep -q 'Hello world' >+ diff out/test/elf/x86_64/shuffle-sections-seed/exe1 out/test/elf/x86_64/shuffle-sections-seed/exe2 >+ diff out/test/elf/x86_64/shuffle-sections-seed/exe2 out/test/elf/x86_64/shuffle-sections-seed/exe3 >+ diff out/test/elf/x86_64/shuffle-sections-seed/exe3 out/test/elf/x86_64/shuffle-sections-seed/exe4 >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 2.00 sec >---------------------------------------------------------- >Test Passed. >"x86_64-shuffle-sections-seed" end time: Feb 09 00:20 CET >"x86_64-shuffle-sections-seed" time elapsed: 00:00:01 >---------------------------------------------------------- > >213/293 Testing: x86_64-symtab-dso >213/293 Test: x86_64-symtab-dso >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/symtab-dso.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-symtab-dso" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/symtab-dso.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/symtab-dso.sh .sh >++ testname=symtab-dso >++ echo -n 'Testing symtab-dso ... ' >Testing symtab-dso ... ++ t=out/test/elf/x86_64/symtab-dso >++ mkdir -p out/test/elf/x86_64/symtab-dso >+ cat >+ cc -o out/test/elf/x86_64/symtab-dso/a.o -c -xc - >+ cc -B. -o out/test/elf/x86_64/symtab-dso/exe out/test/elf/x86_64/symtab-dso/a.o >+ nm out/test/elf/x86_64/symtab-dso/exe >+ grep -q 'U puts$' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.43 sec >---------------------------------------------------------- >Test Passed. >"x86_64-symtab-dso" end time: Feb 09 00:20 CET >"x86_64-symtab-dso" time elapsed: 00:00:00 >---------------------------------------------------------- > >214/293 Testing: x86_64-symtab-section-symbols >214/293 Test: x86_64-symtab-section-symbols >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/symtab-section-symbols.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-symtab-section-symbols" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/symtab-section-symbols.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/symtab-section-symbols.sh .sh >++ testname=symtab-section-symbols >++ echo -n 'Testing symtab-section-symbols ... ' >Testing symtab-section-symbols ... ++ t=out/test/elf/x86_64/symtab-section-symbols >++ mkdir -p out/test/elf/x86_64/symtab-section-symbols >+ cat >+ cc -o out/test/elf/x86_64/symtab-section-symbols/a.o -c -xc - >+ cc -B. -o out/test/elf/x86_64/symtab-section-symbols/exe out/test/elf/x86_64/symtab-section-symbols/a.o >+ readelf -s out/test/elf/x86_64/symtab-section-symbols/exe >+ grep -q 'SECTION LOCAL DEFAULT' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.34 sec >---------------------------------------------------------- >Test Passed. >"x86_64-symtab-section-symbols" end time: Feb 09 00:20 CET >"x86_64-symtab-section-symbols" time elapsed: 00:00:00 >---------------------------------------------------------- > >215/293 Testing: x86_64-symtab >215/293 Test: x86_64-symtab >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/symtab.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-symtab" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/symtab.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/symtab.sh .sh >++ testname=symtab >++ echo -n 'Testing symtab ... ' >Testing symtab ... ++ t=out/test/elf/x86_64/symtab >++ mkdir -p out/test/elf/x86_64/symtab >+ cat >+ cc -o out/test/elf/x86_64/symtab/a.o -c -x assembler - >+ cc -o out/test/elf/x86_64/symtab/b.o -c -x assembler - >+ cat >+ echo '{ local: module_local; global: *; };' >+ ./mold -o out/test/elf/x86_64/symtab/exe out/test/elf/x86_64/symtab/a.o out/test/elf/x86_64/symtab/b.o --version-script=out/test/elf/x86_64/symtab/c.map >+ readelf --symbols out/test/elf/x86_64/symtab/exe >+ grep -Eq '0 NOTYPE LOCAL DEFAULT .* local1' out/test/elf/x86_64/symtab/log >+ grep -Eq '0 NOTYPE LOCAL DEFAULT .* local2' out/test/elf/x86_64/symtab/log >+ grep -Eq '0 NOTYPE LOCAL DEFAULT .* module_local' out/test/elf/x86_64/symtab/log >+ grep -Eq '0 NOTYPE GLOBAL DEFAULT .* foo' out/test/elf/x86_64/symtab/log >+ grep -Eq '0 NOTYPE GLOBAL DEFAULT .* bar' out/test/elf/x86_64/symtab/log >+ grep -Eq '0 NOTYPE GLOBAL DEFAULT .* this_is_global' out/test/elf/x86_64/symtab/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.36 sec >---------------------------------------------------------- >Test Passed. >"x86_64-symtab" end time: Feb 09 00:20 CET >"x86_64-symtab" time elapsed: 00:00:00 >---------------------------------------------------------- > >217/293 Testing: x86_64-sysroot-linker-script >217/293 Test: x86_64-sysroot-linker-script >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/sysroot-linker-script.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-sysroot-linker-script" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/sysroot-linker-script.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/sysroot-linker-script.sh .sh >++ testname=sysroot-linker-script >++ echo -n 'Testing sysroot-linker-script ... ' >Testing sysroot-linker-script ... ++ t=out/test/elf/x86_64/sysroot-linker-script >++ mkdir -p out/test/elf/x86_64/sysroot-linker-script >+ cat >+ cc -o out/test/elf/x86_64/sysroot-linker-script/a.o -c -xc - >+ mkdir -p out/test/elf/x86_64/sysroot-linker-script/foo/bar >+ rm -f out/test/elf/x86_64/sysroot-linker-script/foo/bar/libfoo.a >+ ar rcs out/test/elf/x86_64/sysroot-linker-script/foo/bar/libfoo.a out/test/elf/x86_64/sysroot-linker-script/a.o >+ cat >+ cat >+ cc -o out/test/elf/x86_64/sysroot-linker-script/c.o -c -xc - >+ cc -B. -o out/test/elf/x86_64/sysroot-linker-script/exe out/test/elf/x86_64/sysroot-linker-script/c.o -Wl,--sysroot=out/test/elf/x86_64/sysroot-linker-script/ out/test/elf/x86_64/sysroot-linker-script/foo/bar/b.script >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.54 sec >---------------------------------------------------------- >Test Passed. >"x86_64-sysroot-linker-script" end time: Feb 09 00:20 CET >"x86_64-sysroot-linker-script" time elapsed: 00:00:00 >---------------------------------------------------------- > >216/293 Testing: x86_64-synthetic-symbols >216/293 Test: x86_64-synthetic-symbols >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/synthetic-symbols.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-synthetic-symbols" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/synthetic-symbols.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/synthetic-symbols.sh .sh >++ testname=synthetic-symbols >++ echo -n 'Testing synthetic-symbols ... ' >Testing synthetic-symbols ... ++ t=out/test/elf/x86_64/synthetic-symbols >++ mkdir -p out/test/elf/x86_64/synthetic-symbols >+ cat >+ cc -c -o out/test/elf/x86_64/synthetic-symbols/a.o -xc - >+ cc -c -o out/test/elf/x86_64/synthetic-symbols/b.o -xc - >+ cat >+ cc -B. -no-pie -Wl,--image-base=0x40000 -o out/test/elf/x86_64/synthetic-symbols/exe out/test/elf/x86_64/synthetic-symbols/a.o out/test/elf/x86_64/synthetic-symbols/b.o >+ out/test/elf/x86_64/synthetic-symbols/exe >+ grep -q '^__ehdr_start=0x40000$' out/test/elf/x86_64/synthetic-symbols/log >+ grep -q '^__executable_start=0x40000$' out/test/elf/x86_64/synthetic-symbols/log >+ grep -q '^__dso_handle=' out/test/elf/x86_64/synthetic-symbols/log >+ grep -q '^section foo$' out/test/elf/x86_64/synthetic-symbols/log >+ cat >+ cc -c -o out/test/elf/x86_64/synthetic-symbols/c.o -xc - >+ cc -B. -no-pie -Wl,--image-base=0x40000 -o out/test/elf/x86_64/synthetic-symbols/exe out/test/elf/x86_64/synthetic-symbols/a.o out/test/elf/x86_64/synthetic-symbols/c.o >+ out/test/elf/x86_64/synthetic-symbols/exe >+ grep -q '^end=foo$' out/test/elf/x86_64/synthetic-symbols/log >+ grep -q '^etext=foo$' out/test/elf/x86_64/synthetic-symbols/log >+ grep -q '^edata=foo$' out/test/elf/x86_64/synthetic-symbols/log >+ grep -q '^__ehdr_start=0x40000$' out/test/elf/x86_64/synthetic-symbols/log >+ grep -q '^__executable_start=0x40000$' out/test/elf/x86_64/synthetic-symbols/log >+ grep -q '^section foo$' out/test/elf/x86_64/synthetic-symbols/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.87 sec >---------------------------------------------------------- >Test Passed. >"x86_64-synthetic-symbols" end time: Feb 09 00:20 CET >"x86_64-synthetic-symbols" time elapsed: 00:00:00 >---------------------------------------------------------- > >220/293 Testing: x86_64-tail-call >220/293 Test: x86_64-tail-call >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tail-call.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-tail-call" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tail-call.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 >+ out/test/elf/x86_64/tail-call/exe >+ grep -q 42 >+ '[' x86_64 = riscv32 -o x86_64 = riscv64 ']' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.64 sec >---------------------------------------------------------- >Test Passed. >"x86_64-tail-call" end time: Feb 09 00:20 CET >"x86_64-tail-call" time elapsed: 00:00:00 >---------------------------------------------------------- > >219/293 Testing: x86_64-sysroot2 >219/293 Test: x86_64-sysroot2 >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/sysroot2.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-sysroot2" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/sysroot2.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/sysroot2.sh .sh >++ testname=sysroot2 >++ echo -n 'Testing sysroot2 ... ' >Testing sysroot2 ... ++ t=out/test/elf/x86_64/sysroot2 >++ mkdir -p out/test/elf/x86_64/sysroot2 >+ mkdir -p out/test/elf/x86_64/sysroot2/bin out/test/elf/x86_64/sysroot2/sysroot/foo >+ cat >+ cat >+ cat >+ cc -c -o out/test/elf/x86_64/sysroot2/sysroot/foo/x.o -xc - >+ cc -c -o out/test/elf/x86_64/sysroot2/sysroot/foo/y.o -xc - >+ cat >+ cat >+ cc -c -o out/test/elf/x86_64/sysroot2/c.o -xc - >+ cc -B. -o out/test/elf/x86_64/sysroot2/exe -Wl,--sysroot=out/test/elf/x86_64/sysroot2/sysroot out/test/elf/x86_64/sysroot2/a.script out/test/elf/x86_64/sysroot2/sysroot/b.script out/test/elf/x86_64/sysroot2/c.o >++ realpath out/test/elf/x86_64/sysroot2 >+ cc -B. -o out/test/elf/x86_64/sysroot2/exe -Wl,--sysroot=/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build/out/test/elf/x86_64/sysroot2/bin/../sysroot out/test/elf/x86_64/sysroot2/a.script out/test/elf/x86_64/sysroot2/sysroot/b.script out/test/elf/x86_64/sysroot2/c.o >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.79 sec >---------------------------------------------------------- >Test Passed. >"x86_64-sysroot2" end time: Feb 09 00:20 CET >"x86_64-sysroot2" time elapsed: 00:00:00 >---------------------------------------------------------- > >221/293 Testing: x86_64-thin-archive >221/293 Test: x86_64-thin-archive >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/thin-archive.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-thin-archive" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/thin-archive.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/thin-archive.sh .sh >++ testname=thin-archive >++ echo -n 'Testing thin-archive ... ' >Testing thin-archive ... ++ t=out/test/elf/x86_64/thin-archive >++ mkdir -p out/test/elf/x86_64/thin-archive >+ cat >+ cc -o out/test/elf/x86_64/thin-archive/long-long-long-filename.o -c -xc - >+ cc -o out/test/elf/x86_64/thin-archive/b.o -c -xc - >+ cat >+ cat >+ cc -o out/test/elf/x86_64/thin-archive/c.o -c -xc - >+ cat >+ cc -o out/test/elf/x86_64/thin-archive/d.o -c -xc - >+ rm -f out/test/elf/x86_64/thin-archive/d.a >+ cd out/test/elf/x86_64/thin-archive >++ pwd >+ ar rcsT d.a long-long-long-filename.o b.o /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build/out/test/elf/x86_64/thin-archive/c.o >+ cc -B. -Wl,--trace -o out/test/elf/x86_64/thin-archive/exe out/test/elf/x86_64/thin-archive/d.o out/test/elf/x86_64/thin-archive/d.a >+ grep -Eq 'thin-archive/d.a\(.*long-long-long-filename.o\)' out/test/elf/x86_64/thin-archive/log >+ grep -Eq 'thin-archive/d.a\(.*/b.o\)' out/test/elf/x86_64/thin-archive/log >+ grep -Fq thin-archive/d.o out/test/elf/x86_64/thin-archive/log >+ out/test/elf/x86_64/thin-archive/exe >+ grep -q 15 >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.83 sec >---------------------------------------------------------- >Test Passed. >"x86_64-thin-archive" end time: Feb 09 00:20 CET >"x86_64-thin-archive" time elapsed: 00:00:00 >---------------------------------------------------------- > >218/293 Testing: x86_64-sysroot >218/293 Test: x86_64-sysroot >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/sysroot.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-sysroot" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/sysroot.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/sysroot.sh .sh >++ testname=sysroot >++ echo -n 'Testing sysroot ... ' >Testing sysroot ... ++ t=out/test/elf/x86_64/sysroot >++ mkdir -p out/test/elf/x86_64/sysroot >+ cat >+ cc -c -o out/test/elf/x86_64/sysroot/a.o -xc - >+ cat >+ cc -c -o out/test/elf/x86_64/sysroot/b.o -xc - >+ mkdir -p out/test/elf/x86_64/sysroot/foo/bar >+ rm -f out/test/elf/x86_64/sysroot/foo/bar/libfoo.a >+ ar rcs out/test/elf/x86_64/sysroot/foo/bar/libfoo.a out/test/elf/x86_64/sysroot/a.o out/test/elf/x86_64/sysroot/b.o >+ cat >+ cc -c -o out/test/elf/x86_64/sysroot/c.o -xc - >+ cc -B. -o out/test/elf/x86_64/sysroot/exe out/test/elf/x86_64/sysroot/c.o -Wl,--sysroot=out/test/elf/x86_64/sysroot/ -Wl,-L=foo/bar -lfoo >+ cc -B. -o out/test/elf/x86_64/sysroot/exe out/test/elf/x86_64/sysroot/c.o -Wl,--sysroot=out/test/elf/x86_64/sysroot/ -Wl,-L=/foo/bar -lfoo >+ cc -B. -o out/test/elf/x86_64/sysroot/exe out/test/elf/x86_64/sysroot/c.o -Wl,--sysroot=out/test/elf/x86_64/sysroot/ '-Wl,-L$SYSROOTfoo/bar' -lfoo >+ cc -B. -o out/test/elf/x86_64/sysroot/exe out/test/elf/x86_64/sysroot/c.o -Wl,--sysroot=out/test/elf/x86_64/sysroot/ '-Wl,-L$SYSROOT/foo/bar' -lfoo >+ cc -B. -o out/test/elf/x86_64/sysroot/exe out/test/elf/x86_64/sysroot/c.o -lfoo >+ cc -B. -o out/test/elf/x86_64/sysroot/exe out/test/elf/x86_64/sysroot/c.o -Wl,--sysroot=out/test/elf/x86_64/sysroot -Wl,-Lfoo/bar -lfoo >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 1.22 sec >---------------------------------------------------------- >Test Passed. >"x86_64-sysroot" end time: Feb 09 00:20 CET >"x86_64-sysroot" time elapsed: 00:00:01 >---------------------------------------------------------- > >224/293 Testing: x86_64-tls-common >224/293 Test: x86_64-tls-common >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-common.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-tls-common" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-common.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-common.sh .sh >++ testname=tls-common >++ echo -n 'Testing tls-common ... ' >Testing tls-common ... ++ t=out/test/elf/x86_64/tls-common >++ mkdir -p out/test/elf/x86_64/tls-common >+ cat >+ gcc -o out/test/elf/x86_64/tls-common/a.o -c -xassembler - >+ cat >+ cc -o out/test/elf/x86_64/tls-common/b.o -c -xc -std=c11 - >+ cc -B. -o out/test/elf/x86_64/tls-common/exe out/test/elf/x86_64/tls-common/a.o out/test/elf/x86_64/tls-common/b.o >+ out/test/elf/x86_64/tls-common/exe >+ grep -q '^foo=0$' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.37 sec >---------------------------------------------------------- >Test Passed. >"x86_64-tls-common" end time: Feb 09 00:20 CET >"x86_64-tls-common" time elapsed: 00:00:00 >---------------------------------------------------------- > >222/293 Testing: x86_64-thread-count >222/293 Test: x86_64-thread-count >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/thread-count.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-thread-count" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/thread-count.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/thread-count.sh .sh >++ testname=thread-count >++ echo -n 'Testing thread-count ... ' >Testing thread-count ... ++ t=out/test/elf/x86_64/thread-count >++ mkdir -p out/test/elf/x86_64/thread-count >+ cc -o out/test/elf/x86_64/thread-count/a.o -c -xc - >+ cat >+ cc -B. -o out/test/elf/x86_64/thread-count/exe out/test/elf/x86_64/thread-count/a.o -Wl,-no-threads >+ cc -B. -o out/test/elf/x86_64/thread-count/exe out/test/elf/x86_64/thread-count/a.o -Wl,-thread-count=1 >+ cc -B. -o out/test/elf/x86_64/thread-count/exe out/test/elf/x86_64/thread-count/a.o -Wl,-threads >+ cc -B. -o out/test/elf/x86_64/thread-count/exe out/test/elf/x86_64/thread-count/a.o -Wl,-threads=1 >+ cc -B. -o out/test/elf/x86_64/thread-count/exe out/test/elf/x86_64/thread-count/a.o -Wl,--threads=1 >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.76 sec >---------------------------------------------------------- >Test Passed. >"x86_64-thread-count" end time: Feb 09 00:20 CET >"x86_64-thread-count" time elapsed: 00:00:00 >---------------------------------------------------------- > >223/293 Testing: x86_64-tls-alignment-multi >223/293 Test: x86_64-tls-alignment-multi >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-alignment-multi.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-tls-alignment-multi" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-alignment-multi.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-alignment-multi.sh .sh >++ testname=tls-alignment-multi >++ echo -n 'Testing tls-alignment-multi ... ' >Testing tls-alignment-multi ... ++ t=out/test/elf/x86_64/tls-alignment-multi >++ mkdir -p out/test/elf/x86_64/tls-alignment-multi >+ cat >+ cc -fPIC -c -o out/test/elf/x86_64/tls-alignment-multi/a.o -xc - >+ cat >+ cc -fPIC -c -o out/test/elf/x86_64/tls-alignment-multi/b.o -xc - >+ cc -B. -shared -o out/test/elf/x86_64/tls-alignment-multi/a.so out/test/elf/x86_64/tls-alignment-multi/a.o >+ cc -B. -ldl -pthread -o out/test/elf/x86_64/tls-alignment-multi/exe out/test/elf/x86_64/tls-alignment-multi/b.o -Wl,-rpath,out/test/elf/x86_64/tls-alignment-multi >+ out/test/elf/x86_64/tls-alignment-multi/exe >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.60 sec >---------------------------------------------------------- >Test Passed. >"x86_64-tls-alignment-multi" end time: Feb 09 00:20 CET >"x86_64-tls-alignment-multi" time elapsed: 00:00:00 >---------------------------------------------------------- > >225/293 Testing: x86_64-tls-df-static-tls >225/293 Test: x86_64-tls-df-static-tls >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-df-static-tls.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-tls-df-static-tls" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-df-static-tls.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-df-static-tls.sh .sh >++ testname=tls-df-static-tls >++ echo -n 'Testing tls-df-static-tls ... ' >Testing tls-df-static-tls ... ++ t=out/test/elf/x86_64/tls-df-static-tls >++ mkdir -p out/test/elf/x86_64/tls-df-static-tls >+ cat >+ cc -fPIC -ftls-model=initial-exec -c -o out/test/elf/x86_64/tls-df-static-tls/a.o -xc - >+ cc -B. -shared -o out/test/elf/x86_64/tls-df-static-tls/b.so out/test/elf/x86_64/tls-df-static-tls/a.o -Wl,--relax >+ readelf --dynamic out/test/elf/x86_64/tls-df-static-tls/b.so >+ grep -q STATIC_TLS >+ cc -B. -shared -o out/test/elf/x86_64/tls-df-static-tls/c.so out/test/elf/x86_64/tls-df-static-tls/a.o -Wl,--no-relax >+ readelf --dynamic out/test/elf/x86_64/tls-df-static-tls/c.so >+ grep -q STATIC_TLS >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.47 sec >---------------------------------------------------------- >Test Passed. >"x86_64-tls-df-static-tls" end time: Feb 09 00:20 CET >"x86_64-tls-df-static-tls" time elapsed: 00:00:00 >---------------------------------------------------------- > >226/293 Testing: x86_64-tls-dso >226/293 Test: x86_64-tls-dso >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-dso.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-tls-dso" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-dso.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-dso.sh .sh >++ testname=tls-dso >++ echo -n 'Testing tls-dso ... ' >Testing tls-dso ... ++ t=out/test/elf/x86_64/tls-dso >++ mkdir -p out/test/elf/x86_64/tls-dso >+ cat >+ cc -fPIC -shared -o out/test/elf/x86_64/tls-dso/a.so -xc - >+ cat >+ cc -c -o out/test/elf/x86_64/tls-dso/b.o -xc - >+ cc -B. -o out/test/elf/x86_64/tls-dso/exe out/test/elf/x86_64/tls-dso/a.so out/test/elf/x86_64/tls-dso/b.o >+ out/test/elf/x86_64/tls-dso/exe >+ grep -q '5 3 5 3 5 3' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.53 sec >---------------------------------------------------------- >Test Passed. >"x86_64-tls-dso" end time: Feb 09 00:20 CET >"x86_64-tls-dso" time elapsed: 00:00:00 >---------------------------------------------------------- > >227/293 Testing: x86_64-tls-gd-noplt >227/293 Test: x86_64-tls-gd-noplt >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-gd-noplt.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-tls-gd-noplt" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-gd-noplt.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-gd-noplt.sh .sh >++ testname=tls-gd-noplt >++ echo -n 'Testing tls-gd-noplt ... ' >Testing tls-gd-noplt ... ++ t=out/test/elf/x86_64/tls-gd-noplt >++ mkdir -p out/test/elf/x86_64/tls-gd-noplt >+ cat >+ gcc -fPIC -fno-plt -c -o out/test/elf/x86_64/tls-gd-noplt/a.o -xc - >+ gcc -fPIC -fno-plt -c -o out/test/elf/x86_64/tls-gd-noplt/b.o -xc - >+ cat >+ cat >+ gcc -fPIC -fno-plt -c -o out/test/elf/x86_64/tls-gd-noplt/c.o -xc - >+ cc -B. -shared -o out/test/elf/x86_64/tls-gd-noplt/d.so out/test/elf/x86_64/tls-gd-noplt/b.o >+ cc -B. -shared -o out/test/elf/x86_64/tls-gd-noplt/e.so out/test/elf/x86_64/tls-gd-noplt/c.o -Wl,--no-relax >+ cc -B. -o out/test/elf/x86_64/tls-gd-noplt/exe out/test/elf/x86_64/tls-gd-noplt/a.o out/test/elf/x86_64/tls-gd-noplt/d.so out/test/elf/x86_64/tls-gd-noplt/e.so >+ out/test/elf/x86_64/tls-gd-noplt/exe >+ grep -q '1 2 3 4 5 6' >+ cc -B. -o out/test/elf/x86_64/tls-gd-noplt/exe out/test/elf/x86_64/tls-gd-noplt/a.o out/test/elf/x86_64/tls-gd-noplt/d.so out/test/elf/x86_64/tls-gd-noplt/e.so -Wl,-no-relax >+ out/test/elf/x86_64/tls-gd-noplt/exe >+ grep -q '1 2 3 4 5 6' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.91 sec >---------------------------------------------------------- >Test Passed. >"x86_64-tls-gd-noplt" end time: Feb 09 00:20 CET >"x86_64-tls-gd-noplt" time elapsed: 00:00:00 >---------------------------------------------------------- > >230/293 Testing: x86_64-tls-ie >230/293 Test: x86_64-tls-ie >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-ie.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-tls-ie" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-ie.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-ie.sh .sh >++ testname=tls-ie >++ echo -n 'Testing tls-ie ... ' >Testing tls-ie ... ++ t=out/test/elf/x86_64/tls-ie >++ mkdir -p out/test/elf/x86_64/tls-ie >+ cat >+ gcc -fPIC -c -o out/test/elf/x86_64/tls-ie/a.o -xc - >+ cc -B. -shared -o out/test/elf/x86_64/tls-ie/b.so out/test/elf/x86_64/tls-ie/a.o >+ cat >+ gcc -c -o out/test/elf/x86_64/tls-ie/c.o -xc - >+ cc -B. -o out/test/elf/x86_64/tls-ie/exe out/test/elf/x86_64/tls-ie/b.so out/test/elf/x86_64/tls-ie/c.o >+ out/test/elf/x86_64/tls-ie/exe >+ grep -q '^0 0 3 5 7$' >+ cc -B. -o out/test/elf/x86_64/tls-ie/exe out/test/elf/x86_64/tls-ie/b.so out/test/elf/x86_64/tls-ie/c.o -Wl,-no-relax >+ out/test/elf/x86_64/tls-ie/exe >+ grep -q '^0 0 3 5 7$' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.72 sec >---------------------------------------------------------- >Test Passed. >"x86_64-tls-ie" end time: Feb 09 00:20 CET >"x86_64-tls-ie" time elapsed: 00:00:00 >---------------------------------------------------------- > >231/293 Testing: x86_64-tls-irregular-start-addr >231/293 Test: x86_64-tls-irregular-start-addr >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-irregular-start-addr.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-tls-irregular-start-addr" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-irregular-start-addr.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-irregular-start-addr.sh .sh >++ testname=tls-irregular-start-addr >++ echo -n 'Testing tls-irregular-start-addr ... ' >Testing tls-irregular-start-addr ... ++ t=out/test/elf/x86_64/tls-irregular-start-addr >++ mkdir -p out/test/elf/x86_64/tls-irregular-start-addr >+ cat >+ cc -fPIC -c -o out/test/elf/x86_64/tls-irregular-start-addr/a.o -xc - >+ cc -B. -o out/test/elf/x86_64/tls-irregular-start-addr/exe1 out/test/elf/x86_64/tls-irregular-start-addr/a.o -pie -Wl,-section-start=.tdata=0x100001 -Wl,-relax >+ out/test/elf/x86_64/tls-irregular-start-addr/exe1 >+ grep -q '^42$' >+ cc -B. -o out/test/elf/x86_64/tls-irregular-start-addr/exe2 out/test/elf/x86_64/tls-irregular-start-addr/a.o -pie -Wl,-section-start=.tdata=0x100001 -Wl,-no-relax >+ out/test/elf/x86_64/tls-irregular-start-addr/exe2 >+ grep -q '^42$' >+ cc -B. -o out/test/elf/x86_64/tls-irregular-start-addr/exe3 out/test/elf/x86_64/tls-irregular-start-addr/a.o -pie -Wl,-section-start=.tdata=0x10000f -Wl,-relax >+ out/test/elf/x86_64/tls-irregular-start-addr/exe3 >+ grep -q '^42$' >+ cc -B. -o out/test/elf/x86_64/tls-irregular-start-addr/exe4 out/test/elf/x86_64/tls-irregular-start-addr/a.o -pie -Wl,-section-start=.tdata=0x10000f -Wl,-no-relax >+ out/test/elf/x86_64/tls-irregular-start-addr/exe4 >+ grep -q '^42$' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.80 sec >---------------------------------------------------------- >Test Passed. >"x86_64-tls-irregular-start-addr" end time: Feb 09 00:20 CET >"x86_64-tls-irregular-start-addr" time elapsed: 00:00:00 >---------------------------------------------------------- > >232/293 Testing: x86_64-tls-large-alignment >232/293 Test: x86_64-tls-large-alignment >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-large-alignment.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-tls-large-alignment" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-large-alignment.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-large-alignment.sh .sh >++ testname=tls-large-alignment >++ echo -n 'Testing tls-large-alignment ... ' >Testing tls-large-alignment ... ++ t=out/test/elf/x86_64/tls-large-alignment >++ mkdir -p out/test/elf/x86_64/tls-large-alignment >+ cat >+ cc -fPIC -std=c11 -c -o out/test/elf/x86_64/tls-large-alignment/a.o -xc - >+ cat >+ cc -fPIC -std=c11 -c -o out/test/elf/x86_64/tls-large-alignment/b.o -xc - >+ cat >+ cc -fPIC -c -o out/test/elf/x86_64/tls-large-alignment/c.o -xc - >+ cc -B. -shared -o out/test/elf/x86_64/tls-large-alignment/d.so out/test/elf/x86_64/tls-large-alignment/a.o out/test/elf/x86_64/tls-large-alignment/b.o >+ cc -B. -o out/test/elf/x86_64/tls-large-alignment/exe1 out/test/elf/x86_64/tls-large-alignment/a.o out/test/elf/x86_64/tls-large-alignment/b.o out/test/elf/x86_64/tls-large-alignment/c.o >+ out/test/elf/x86_64/tls-large-alignment/exe1 >+ grep -q '^42 1 2 3$' >+ cc -B. -o out/test/elf/x86_64/tls-large-alignment/exe2 out/test/elf/x86_64/tls-large-alignment/c.o out/test/elf/x86_64/tls-large-alignment/d.so >+ out/test/elf/x86_64/tls-large-alignment/exe2 >+ grep -q '^42 1 2 3$' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.80 sec >---------------------------------------------------------- >Test Passed. >"x86_64-tls-large-alignment" end time: Feb 09 00:20 CET >"x86_64-tls-large-alignment" time elapsed: 00:00:00 >---------------------------------------------------------- > >233/293 Testing: x86_64-tls-large-static-image >233/293 Test: x86_64-tls-large-static-image >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-large-static-image.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-tls-large-static-image" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-large-static-image.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-large-static-image.sh .sh >++ testname=tls-large-static-image >++ echo -n 'Testing tls-large-static-image ... ' >Testing tls-large-static-image ... ++ t=out/test/elf/x86_64/tls-large-static-image >++ mkdir -p out/test/elf/x86_64/tls-large-static-image >+ cat >+ cc -fPIC -c -o out/test/elf/x86_64/tls-large-static-image/a.o -xc - >+ cc -fPIC -c -o out/test/elf/x86_64/tls-large-static-image/b.o -xc - >+ cat >+ cc -B. -o out/test/elf/x86_64/tls-large-static-image/exe out/test/elf/x86_64/tls-large-static-image/a.o out/test/elf/x86_64/tls-large-static-image/b.o >+ out/test/elf/x86_64/tls-large-static-image/exe >+ grep -q '^1 2 3 0 5$' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.40 sec >---------------------------------------------------------- >Test Passed. >"x86_64-tls-large-static-image" end time: Feb 09 00:20 CET >"x86_64-tls-large-static-image" time elapsed: 00:00:00 >---------------------------------------------------------- > >229/293 Testing: x86_64-tls-gd >229/293 Test: x86_64-tls-gd >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-gd.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-tls-gd" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-gd.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-gd.sh .sh >++ testname=tls-gd >++ echo -n 'Testing tls-gd ... ' >Testing tls-gd ... ++ t=out/test/elf/x86_64/tls-gd >++ mkdir -p out/test/elf/x86_64/tls-gd >+ gcc -fPIC -c -o out/test/elf/x86_64/tls-gd/a.o -xc - >+ cat >+ cat >+ gcc -fPIC -c -o out/test/elf/x86_64/tls-gd/b.o -xc - >+ gcc -fPIC -c -o out/test/elf/x86_64/tls-gd/c.o -xc - >+ cat >+ cc -B. -shared -o out/test/elf/x86_64/tls-gd/d.so out/test/elf/x86_64/tls-gd/b.o >+ cc -B. -shared -o out/test/elf/x86_64/tls-gd/e.so out/test/elf/x86_64/tls-gd/c.o -Wl,--no-relax >+ cc -B. -o out/test/elf/x86_64/tls-gd/exe1 out/test/elf/x86_64/tls-gd/a.o out/test/elf/x86_64/tls-gd/d.so out/test/elf/x86_64/tls-gd/e.so >+ out/test/elf/x86_64/tls-gd/exe1 >+ grep -q '1 2 3 4 5 6' >+ cc -B. -o out/test/elf/x86_64/tls-gd/exe2 out/test/elf/x86_64/tls-gd/a.o out/test/elf/x86_64/tls-gd/d.so out/test/elf/x86_64/tls-gd/e.so -Wl,-no-relax >+ out/test/elf/x86_64/tls-gd/exe2 >+ grep -q '1 2 3 4 5 6' >+ test_cflags -static >+ echo 'int main() {}' >+ cc -static -o /dev/null -xc - >+ cc -B. -o out/test/elf/x86_64/tls-gd/exe3 out/test/elf/x86_64/tls-gd/a.o out/test/elf/x86_64/tls-gd/b.o out/test/elf/x86_64/tls-gd/c.o -static >+ out/test/elf/x86_64/tls-gd/exe3 >+ grep -q '1 2 3 4 5 6' >+ cc -B. -o out/test/elf/x86_64/tls-gd/exe4 out/test/elf/x86_64/tls-gd/a.o out/test/elf/x86_64/tls-gd/b.o out/test/elf/x86_64/tls-gd/c.o -static -Wl,-no-relax >+ out/test/elf/x86_64/tls-gd/exe4 >+ grep -q '1 2 3 4 5 6' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 1.35 sec >---------------------------------------------------------- >Test Passed. >"x86_64-tls-gd" end time: Feb 09 00:20 CET >"x86_64-tls-gd" time elapsed: 00:00:01 >---------------------------------------------------------- > >228/293 Testing: x86_64-tls-gd-to-ie >228/293 Test: x86_64-tls-gd-to-ie >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-gd-to-ie.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-tls-gd-to-ie" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-gd-to-ie.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-gd-to-ie.sh .sh >++ testname=tls-gd-to-ie >++ echo -n 'Testing tls-gd-to-ie ... ' >Testing tls-gd-to-ie ... ++ t=out/test/elf/x86_64/tls-gd-to-ie >++ mkdir -p out/test/elf/x86_64/tls-gd-to-ie >+ cat >+ gcc -fPIC -c -o out/test/elf/x86_64/tls-gd-to-ie/a.o -xc - >+ cat >+ cc -fPIC -c -o out/test/elf/x86_64/tls-gd-to-ie/b.o -xc - >+ cc -B. -shared -o out/test/elf/x86_64/tls-gd-to-ie/c.so out/test/elf/x86_64/tls-gd-to-ie/a.o >+ cc -B. -o out/test/elf/x86_64/tls-gd-to-ie/exe1 out/test/elf/x86_64/tls-gd-to-ie/b.o out/test/elf/x86_64/tls-gd-to-ie/c.so >+ out/test/elf/x86_64/tls-gd-to-ie/exe1 >+ grep -q '1 2 3' >+ cc -B. -shared -o out/test/elf/x86_64/tls-gd-to-ie/d.so out/test/elf/x86_64/tls-gd-to-ie/a.o -Wl,-no-relax >+ cc -B. -o out/test/elf/x86_64/tls-gd-to-ie/exe2 out/test/elf/x86_64/tls-gd-to-ie/b.o out/test/elf/x86_64/tls-gd-to-ie/d.so >+ grep -q '1 2 3' >+ out/test/elf/x86_64/tls-gd-to-ie/exe2 >+ cc -B. -shared -o out/test/elf/x86_64/tls-gd-to-ie/e.so out/test/elf/x86_64/tls-gd-to-ie/a.o -Wl,-z,nodlopen >+ cc -B. -o out/test/elf/x86_64/tls-gd-to-ie/exe3 out/test/elf/x86_64/tls-gd-to-ie/b.o out/test/elf/x86_64/tls-gd-to-ie/e.so >+ grep -q '1 2 3' >+ out/test/elf/x86_64/tls-gd-to-ie/exe3 >+ cc -B. -shared -o out/test/elf/x86_64/tls-gd-to-ie/f.so out/test/elf/x86_64/tls-gd-to-ie/a.o -Wl,-z,nodlopen -Wl,-no-relax >+ cc -B. -o out/test/elf/x86_64/tls-gd-to-ie/exe4 out/test/elf/x86_64/tls-gd-to-ie/b.o out/test/elf/x86_64/tls-gd-to-ie/f.so >+ out/test/elf/x86_64/tls-gd-to-ie/exe4 >+ grep -q '1 2 3' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 1.45 sec >---------------------------------------------------------- >Test Passed. >"x86_64-tls-gd-to-ie" end time: Feb 09 00:20 CET >"x86_64-tls-gd-to-ie" time elapsed: 00:00:01 >---------------------------------------------------------- > >234/293 Testing: x86_64-tls-ld-noplt >234/293 Test: x86_64-tls-ld-noplt >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-ld-noplt.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-tls-ld-noplt" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-ld-noplt.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-ld-noplt.sh .sh >++ testname=tls-ld-noplt >++ echo -n 'Testing tls-ld-noplt ... ' >Testing tls-ld-noplt ... ++ t=out/test/elf/x86_64/tls-ld-noplt >++ mkdir -p out/test/elf/x86_64/tls-ld-noplt >+ cat >+ gcc -fPIC -ftls-model=local-dynamic -fno-plt -c -o out/test/elf/x86_64/tls-ld-noplt/a.o -xc - >+ cat >+ gcc -fPIC -ftls-model=local-dynamic -fno-plt -c -o out/test/elf/x86_64/tls-ld-noplt/b.o -xc - >+ cc -B. -o out/test/elf/x86_64/tls-ld-noplt/exe out/test/elf/x86_64/tls-ld-noplt/a.o out/test/elf/x86_64/tls-ld-noplt/b.o >+ out/test/elf/x86_64/tls-ld-noplt/exe >+ grep -q '3 5 3 5' >+ cc -B. -o out/test/elf/x86_64/tls-ld-noplt/exe out/test/elf/x86_64/tls-ld-noplt/a.o out/test/elf/x86_64/tls-ld-noplt/b.o -Wl,-no-relax >+ out/test/elf/x86_64/tls-ld-noplt/exe >+ grep -q '3 5 3 5' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.60 sec >---------------------------------------------------------- >Test Passed. >"x86_64-tls-ld-noplt" end time: Feb 09 00:20 CET >"x86_64-tls-ld-noplt" time elapsed: 00:00:00 >---------------------------------------------------------- > >236/293 Testing: x86_64-tls-le-error >236/293 Test: x86_64-tls-le-error >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-le-error.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-tls-le-error" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-le-error.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-le-error.sh .sh >++ testname=tls-le-error >++ echo -n 'Testing tls-le-error ... ' >Testing tls-le-error ... ++ t=out/test/elf/x86_64/tls-le-error >++ mkdir -p out/test/elf/x86_64/tls-le-error >+ cat >+ gcc -fPIC -c -o out/test/elf/x86_64/tls-le-error/a.o -xc - >+ cc -B. -shared -o out/test/elf/x86_64/tls-le-error/b.so out/test/elf/x86_64/tls-le-error/a.o >+ grep -q 'relocation .* against `foo` can not be used when making a shared object; recompile with -fPIC' out/test/elf/x86_64/tls-le-error/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.34 sec >---------------------------------------------------------- >Test Passed. >"x86_64-tls-le-error" end time: Feb 09 00:20 CET >"x86_64-tls-le-error" time elapsed: 00:00:00 >---------------------------------------------------------- > >235/293 Testing: x86_64-tls-ld >235/293 Test: x86_64-tls-ld >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-ld.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-tls-ld" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-ld.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-ld.sh .sh >++ testname=tls-ld >++ echo -n 'Testing tls-ld ... ' >Testing tls-ld ... ++ t=out/test/elf/x86_64/tls-ld >++ mkdir -p out/test/elf/x86_64/tls-ld >+ cat >+ cc -fPIC -ftls-model=local-dynamic -c -o out/test/elf/x86_64/tls-ld/a.o -xc - >+ cat >+ gcc -fPIC -ftls-model=local-dynamic -c -o out/test/elf/x86_64/tls-ld/b.o -xc - >+ cc -B. -o out/test/elf/x86_64/tls-ld/exe1 out/test/elf/x86_64/tls-ld/a.o out/test/elf/x86_64/tls-ld/b.o -Wl,-relax >+ grep -q '3 5 3 5' >+ out/test/elf/x86_64/tls-ld/exe1 >+ cc -B. -o out/test/elf/x86_64/tls-ld/exe2 out/test/elf/x86_64/tls-ld/a.o out/test/elf/x86_64/tls-ld/b.o -Wl,-no-relax >+ out/test/elf/x86_64/tls-ld/exe2 >+ grep -q '3 5 3 5' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.61 sec >---------------------------------------------------------- >Test Passed. >"x86_64-tls-ld" end time: Feb 09 00:20 CET >"x86_64-tls-ld" time elapsed: 00:00:00 >---------------------------------------------------------- > >238/293 Testing: x86_64-tls-nopic >238/293 Test: x86_64-tls-nopic >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-nopic.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-tls-nopic" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-nopic.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-nopic.sh .sh >++ testname=tls-nopic >++ echo -n 'Testing tls-nopic ... ' >Testing tls-nopic ... ++ t=out/test/elf/x86_64/tls-nopic >++ mkdir -p out/test/elf/x86_64/tls-nopic >+ cat >+ gcc -c -o out/test/elf/x86_64/tls-nopic/a.o -xc - >+ cat >+ cc -xc -c -o out/test/elf/x86_64/tls-nopic/b.o - >+ cc -B. -o out/test/elf/x86_64/tls-nopic/exe out/test/elf/x86_64/tls-nopic/a.o out/test/elf/x86_64/tls-nopic/b.o >+ out/test/elf/x86_64/tls-nopic/exe >+ grep -q '3 5 3 5' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.43 sec >---------------------------------------------------------- >Test Passed. >"x86_64-tls-nopic" end time: Feb 09 00:20 CET >"x86_64-tls-nopic" time elapsed: 00:00:00 >---------------------------------------------------------- > >239/293 Testing: x86_64-tls-pic >239/293 Test: x86_64-tls-pic >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-pic.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-tls-pic" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-pic.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-pic.sh .sh >++ testname=tls-pic >++ echo -n 'Testing tls-pic ... ' >Testing tls-pic ... ++ t=out/test/elf/x86_64/tls-pic >++ mkdir -p out/test/elf/x86_64/tls-pic >+ cat >+ gcc -fPIC -c -o out/test/elf/x86_64/tls-pic/a.o -xc - >+ cat >+ cc -xc -c -o out/test/elf/x86_64/tls-pic/b.o - >+ cc -B. -o out/test/elf/x86_64/tls-pic/exe out/test/elf/x86_64/tls-pic/a.o out/test/elf/x86_64/tls-pic/b.o >+ grep -q '3 5 3 5' >+ out/test/elf/x86_64/tls-pic/exe >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.44 sec >---------------------------------------------------------- >Test Passed. >"x86_64-tls-pic" end time: Feb 09 00:20 CET >"x86_64-tls-pic" time elapsed: 00:00:00 >---------------------------------------------------------- > >237/293 Testing: x86_64-tls-le >237/293 Test: x86_64-tls-le >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-le.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-tls-le" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-le.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-le.sh .sh >++ testname=tls-le >++ echo -n 'Testing tls-le ... ' >Testing tls-le ... ++ t=out/test/elf/x86_64/tls-le >++ mkdir -p out/test/elf/x86_64/tls-le >+ cat >+ gcc -fPIC -c -o out/test/elf/x86_64/tls-le/a.o -xc - >+ cat >+ gcc -fPIC -c -o out/test/elf/x86_64/tls-le/b.o -xc - >+ cc -B. -o out/test/elf/x86_64/tls-le/exe out/test/elf/x86_64/tls-le/a.o out/test/elf/x86_64/tls-le/b.o >+ out/test/elf/x86_64/tls-le/exe >+ grep -q '3 5 3 5' >+ cc -B. -o out/test/elf/x86_64/tls-le/exe out/test/elf/x86_64/tls-le/a.o out/test/elf/x86_64/tls-le/b.o -Wl,-no-relax >+ out/test/elf/x86_64/tls-le/exe >+ grep -q '3 5 3 5' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.66 sec >---------------------------------------------------------- >Test Passed. >"x86_64-tls-le" end time: Feb 09 00:20 CET >"x86_64-tls-le" time elapsed: 00:00:00 >---------------------------------------------------------- > >241/293 Testing: x86_64-tlsdesc-import >241/293 Test: x86_64-tlsdesc-import >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tlsdesc-import.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-tlsdesc-import" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tlsdesc-import.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tlsdesc-import.sh .sh >++ testname=tlsdesc-import >++ echo -n 'Testing tlsdesc-import ... ' >Testing tlsdesc-import ... ++ t=out/test/elf/x86_64/tlsdesc-import >++ mkdir -p out/test/elf/x86_64/tlsdesc-import >+ '[' x86_64 = x86_64 -o x86_64 = arm ']' >+ dialect=gnu2 >+ cat >+ gcc -fPIC -mtls-dialect=gnu2 -c -o out/test/elf/x86_64/tlsdesc-import/a.o -xc - >+ cat >+ gcc -fPIC -mtls-dialect=gnu2 -shared -o out/test/elf/x86_64/tlsdesc-import/b.so -xc - >+ cc -B. -o out/test/elf/x86_64/tlsdesc-import/exe out/test/elf/x86_64/tlsdesc-import/a.o out/test/elf/x86_64/tlsdesc-import/b.so >+ out/test/elf/x86_64/tlsdesc-import/exe >+ grep -q '5 7' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.53 sec >---------------------------------------------------------- >Test Passed. >"x86_64-tlsdesc-import" end time: Feb 09 00:20 CET >"x86_64-tlsdesc-import" time elapsed: 00:00:00 >---------------------------------------------------------- > >240/293 Testing: x86_64-tls-small-alignment >240/293 Test: x86_64-tls-small-alignment >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-small-alignment.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-tls-small-alignment" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-small-alignment.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tls-small-alignment.sh .sh >++ testname=tls-small-alignment >++ echo -n 'Testing tls-small-alignment ... ' >Testing tls-small-alignment ... ++ t=out/test/elf/x86_64/tls-small-alignment >++ mkdir -p out/test/elf/x86_64/tls-small-alignment >+ cat >+ cc -fPIC -c -o out/test/elf/x86_64/tls-small-alignment/a.o -xassembler - >+ cat >+ cc -fPIC -std=c11 -c -o out/test/elf/x86_64/tls-small-alignment/b.o -xc - >+ cat >+ cc -fPIC -c -o out/test/elf/x86_64/tls-small-alignment/c.o -xc - >+ cc -B. -shared -o out/test/elf/x86_64/tls-small-alignment/d.so out/test/elf/x86_64/tls-small-alignment/a.o out/test/elf/x86_64/tls-small-alignment/b.o >+ cc -B. -o out/test/elf/x86_64/tls-small-alignment/exe1 out/test/elf/x86_64/tls-small-alignment/a.o out/test/elf/x86_64/tls-small-alignment/b.o out/test/elf/x86_64/tls-small-alignment/c.o >+ out/test/elf/x86_64/tls-small-alignment/exe1 >+ grep -q '^42$' >+ cc -B. -o out/test/elf/x86_64/tls-small-alignment/exe2 out/test/elf/x86_64/tls-small-alignment/c.o out/test/elf/x86_64/tls-small-alignment/d.so >+ out/test/elf/x86_64/tls-small-alignment/exe2 >+ grep -q '^42$' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.80 sec >---------------------------------------------------------- >Test Passed. >"x86_64-tls-small-alignment" end time: Feb 09 00:20 CET >"x86_64-tls-small-alignment" time elapsed: 00:00:00 >---------------------------------------------------------- > >245/293 Testing: x86_64-trace >245/293 Test: x86_64-trace >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/trace.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-trace" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/trace.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/trace.sh .sh >++ testname=trace >++ echo -n 'Testing trace ... ' >Testing trace ... ++ t=out/test/elf/x86_64/trace >++ mkdir -p out/test/elf/x86_64/trace >+ + cat >cc -c -o out/test/elf/x86_64/trace/a.o -xc - >+ cc -B. -o out/test/elf/x86_64/trace/exe out/test/elf/x86_64/trace/a.o -Wl,-trace >+ grep -q '/a\.o$' out/test/elf/x86_64/trace/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.37 sec >---------------------------------------------------------- >Test Passed. >"x86_64-trace" end time: Feb 09 00:20 CET >"x86_64-trace" time elapsed: 00:00:00 >---------------------------------------------------------- > >242/293 Testing: x86_64-tlsdesc-static >242/293 Test: x86_64-tlsdesc-static >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tlsdesc-static.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-tlsdesc-static" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tlsdesc-static.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tlsdesc-static.sh .sh >++ testname=tlsdesc-static >++ echo -n 'Testing tlsdesc-static ... ' >Testing tlsdesc-static ... ++ t=out/test/elf/x86_64/tlsdesc-static >++ mkdir -p out/test/elf/x86_64/tlsdesc-static >+ test_cflags -static >+ echo 'int main() {}' >+ cc -static -o /dev/null -xc - >+ '[' x86_64 = x86_64 -o x86_64 = arm ']' >+ dialect=gnu2 >+ cat >+ gcc -fPIC -mtls-dialect=gnu2 -c -o out/test/elf/x86_64/tlsdesc-static/a.o -xc - >+ + gcc -fPIC -mtls-dialect=gnu2 -c -o out/test/elf/x86_64/tlsdesc-static/b.o -xc - >cat >+ cc -B. -o out/test/elf/x86_64/tlsdesc-static/exe out/test/elf/x86_64/tlsdesc-static/a.o out/test/elf/x86_64/tlsdesc-static/b.o -static >+ grep -q 42 >+ out/test/elf/x86_64/tlsdesc-static/exe >+ cc -B. -o out/test/elf/x86_64/tlsdesc-static/exe out/test/elf/x86_64/tlsdesc-static/a.o out/test/elf/x86_64/tlsdesc-static/b.o -static -Wl,-no-relax >+ out/test/elf/x86_64/tlsdesc-static/exe >+ grep -q 42 >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.81 sec >---------------------------------------------------------- >Test Passed. >"x86_64-tlsdesc-static" end time: Feb 09 00:20 CET >"x86_64-tlsdesc-static" time elapsed: 00:00:00 >---------------------------------------------------------- > >244/293 Testing: x86_64-trace-symbol >244/293 Test: x86_64-trace-symbol >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/trace-symbol.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-trace-symbol" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/trace-symbol.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/trace-symbol.sh .sh >++ testname=trace-symbol >++ echo -n 'Testing trace-symbol ... ' >Testing trace-symbol ... ++ t=out/test/elf/x86_64/trace-symbol >++ mkdir -p out/test/elf/x86_64/trace-symbol >+ cat >+ cc -c -o out/test/elf/x86_64/trace-symbol/a.o -xc - >+ cat >+ cc -c -o out/test/elf/x86_64/trace-symbol/b.o -xc - >+ cat >+ cc -shared -o out/test/elf/x86_64/trace-symbol/c.so -xc - >+ cc -B. -o out/test/elf/x86_64/trace-symbol/exe out/test/elf/x86_64/trace-symbol/a.o out/test/elf/x86_64/trace-symbol/b.o out/test/elf/x86_64/trace-symbol/c.so -Wl,-y,foo -Wl,--trace-symbol=baz >+ grep -q 'trace-symbol: .*/a.o: reference to foo' out/test/elf/x86_64/trace-symbol/log >+ grep -q 'trace-symbol: .*/b.o: definition of foo' out/test/elf/x86_64/trace-symbol/log >+ grep -q 'trace-symbol: .*/c.so: definition of baz' out/test/elf/x86_64/trace-symbol/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.66 sec >---------------------------------------------------------- >Test Passed. >"x86_64-trace-symbol" end time: Feb 09 00:20 CET >"x86_64-trace-symbol" time elapsed: 00:00:00 >---------------------------------------------------------- > >248/293 Testing: x86_64-verbose >248/293 Test: x86_64-verbose >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/verbose.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-verbose" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/verbose.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/verbose.sh .sh >++ testname=verbose >++ echo -n 'Testing verbose ... ' >Testing verbose ... ++ t=out/test/elf/x86_64/verbose >++ mkdir -p out/test/elf/x86_64/verbose >+ cc -c -xc -o out/test/elf/x86_64/verbose/a.o - >+ cat >+ cc -B. -Wl,--verbose -o out/test/elf/x86_64/verbose/exe out/test/elf/x86_64/verbose/a.o >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.32 sec >---------------------------------------------------------- >Test Passed. >"x86_64-verbose" end time: Feb 09 00:20 CET >"x86_64-verbose" time elapsed: 00:00:00 >---------------------------------------------------------- > >249/293 Testing: x86_64-version-script-search-paths >249/293 Test: x86_64-version-script-search-paths >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script-search-paths.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-version-script-search-paths" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script-search-paths.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script-search-paths.sh .sh >++ testname=version-script-search-paths >++ echo -n 'Testing version-script-search-paths ... ' >Testing version-script-search-paths ... ++ t=out/test/elf/x86_64/version-script-search-paths >++ mkdir -p out/test/elf/x86_64/version-script-search-paths >+ mkdir -p out/test/elf/x86_64/version-script-search-paths/foo/bar >+ echo 'ver_x { global: *; };' >+ cat >+ cc -B. -shared -o out/test/elf/x86_64/version-script-search-paths/c.so -Wl,-Lout/test/elf/x86_64/version-script-search-paths/foo/bar -Wl,-version-script,a.ver out/test/elf/x86_64/version-script-search-paths/b.s >+ readelf --version-info out/test/elf/x86_64/version-script-search-paths/c.so >+ grep -Fq 'Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x' out/test/elf/x86_64/version-script-search-paths/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.25 sec >---------------------------------------------------------- >Test Passed. >"x86_64-version-script-search-paths" end time: Feb 09 00:20 CET >"x86_64-version-script-search-paths" time elapsed: 00:00:00 >---------------------------------------------------------- > >246/293 Testing: x86_64-undefined >246/293 Test: x86_64-undefined >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/undefined.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-undefined" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/undefined.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/undefined.sh .sh >++ testname=undefined >++ echo -n 'Testing undefined ... ' >Testing undefined ... ++ t=out/test/elf/x86_64/undefined >++ mkdir -p out/test/elf/x86_64/undefined >+ test_cflags -static >+ echo 'int main() {}' >+ cc -static -o /dev/null -xc - >+ cat >+ cc -o out/test/elf/x86_64/undefined/a.o -c -x assembler - >+ cat >+ cc -o out/test/elf/x86_64/undefined/b.o -c -x assembler - >+ cat >+ cc -o out/test/elf/x86_64/undefined/c.o -c -x assembler - >+ rm -f out/test/elf/x86_64/undefined/d.a >+ ar cr out/test/elf/x86_64/undefined/d.a out/test/elf/x86_64/undefined/b.o out/test/elf/x86_64/undefined/c.o >+ ./mold -static -o out/test/elf/x86_64/undefined/exe out/test/elf/x86_64/undefined/a.o out/test/elf/x86_64/undefined/d.a >+ readelf --symbols out/test/elf/x86_64/undefined/exe >+ grep -q foo out/test/elf/x86_64/undefined/log >+ grep -q bar out/test/elf/x86_64/undefined/log >+ ./mold -static -o out/test/elf/x86_64/undefined/exe out/test/elf/x86_64/undefined/a.o out/test/elf/x86_64/undefined/d.a -u foo >+ readelf --symbols out/test/elf/x86_64/undefined/exe >+ grep -q foo out/test/elf/x86_64/undefined/log >+ grep -q bar out/test/elf/x86_64/undefined/log >+ ./mold -static -o out/test/elf/x86_64/undefined/exe out/test/elf/x86_64/undefined/a.o out/test/elf/x86_64/undefined/d.a -u foo --undefined=bar >+ readelf --symbols out/test/elf/x86_64/undefined/exe >+ grep -q foo out/test/elf/x86_64/undefined/log >+ grep -q bar out/test/elf/x86_64/undefined/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.65 sec >---------------------------------------------------------- >Test Passed. >"x86_64-undefined" end time: Feb 09 00:20 CET >"x86_64-undefined" time elapsed: 00:00:00 >---------------------------------------------------------- > >250/293 Testing: x86_64-version-script >250/293 Test: x86_64-version-script >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-version-script" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script.sh .sh >++ testname=version-script >++ echo -n 'Testing version-script ... ' >Testing version-script ... ++ t=out/test/elf/x86_64/version-script >++ mkdir -p out/test/elf/x86_64/version-script >+ echo 'ver_x { global: *; };' >+ cat >+ cc -B. -shared -o out/test/elf/x86_64/version-script/c.so -Wl,-version-script,out/test/elf/x86_64/version-script/a.ver out/test/elf/x86_64/version-script/b.s >+ readelf --version-info out/test/elf/x86_64/version-script/c.so >+ grep -Fq 'Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x' out/test/elf/x86_64/version-script/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.20 sec >---------------------------------------------------------- >Test Passed. >"x86_64-version-script" end time: Feb 09 00:20 CET >"x86_64-version-script" time elapsed: 00:00:00 >---------------------------------------------------------- > >243/293 Testing: x86_64-tlsdesc >243/293 Test: x86_64-tlsdesc >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tlsdesc.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-tlsdesc" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tlsdesc.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/tlsdesc.sh .sh >++ testname=tlsdesc >++ echo -n 'Testing tlsdesc ... ' >Testing tlsdesc ... ++ t=out/test/elf/x86_64/tlsdesc >++ mkdir -p out/test/elf/x86_64/tlsdesc >+ '[' x86_64 = x86_64 -o x86_64 = arm ']' >+ dialect=gnu2 >+ cat >+ gcc -fPIC -mtls-dialect=gnu2 -c -o out/test/elf/x86_64/tlsdesc/a.o -xc - >+ cat >+ gcc -fPIC -mtls-dialect=gnu2 -c -o out/test/elf/x86_64/tlsdesc/b.o -xc - >+ cc -B. -o out/test/elf/x86_64/tlsdesc/exe out/test/elf/x86_64/tlsdesc/a.o out/test/elf/x86_64/tlsdesc/b.o >+ out/test/elf/x86_64/tlsdesc/exe >+ grep -q '42 5' >+ cc -B. -o out/test/elf/x86_64/tlsdesc/exe out/test/elf/x86_64/tlsdesc/a.o out/test/elf/x86_64/tlsdesc/b.o -Wl,-no-relax >+ out/test/elf/x86_64/tlsdesc/exe >+ grep -q '42 5' >+ cc -B. -shared -o out/test/elf/x86_64/tlsdesc/c.so out/test/elf/x86_64/tlsdesc/a.o >+ cc -B. -o out/test/elf/x86_64/tlsdesc/exe out/test/elf/x86_64/tlsdesc/b.o out/test/elf/x86_64/tlsdesc/c.so >+ out/test/elf/x86_64/tlsdesc/exe >+ grep -q '42 5' >+ cc -B. -shared -o out/test/elf/x86_64/tlsdesc/c.so out/test/elf/x86_64/tlsdesc/a.o -Wl,-no-relax >+ cc -B. -o out/test/elf/x86_64/tlsdesc/exe out/test/elf/x86_64/tlsdesc/b.o out/test/elf/x86_64/tlsdesc/c.so -Wl,-no-relax >+ out/test/elf/x86_64/tlsdesc/exe >+ grep -q '42 5' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 1.02 sec >---------------------------------------------------------- >Test Passed. >"x86_64-tlsdesc" end time: Feb 09 00:20 CET >"x86_64-tlsdesc" time elapsed: 00:00:01 >---------------------------------------------------------- > >247/293 Testing: x86_64-unresolved-symbols >247/293 Test: x86_64-unresolved-symbols >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/unresolved-symbols.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-unresolved-symbols" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/unresolved-symbols.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/unresolved-symbols.sh .sh >++ testname=unresolved-symbols >++ echo -n 'Testing unresolved-symbols ... ' >Testing unresolved-symbols ... ++ t=out/test/elf/x86_64/unresolved-symbols >++ mkdir -p out/test/elf/x86_64/unresolved-symbols >+ cat >+ cc -c -o out/test/elf/x86_64/unresolved-symbols/a.o -xc - >+ cc -B. -o out/test/elf/x86_64/unresolved-symbols/exe out/test/elf/x86_64/unresolved-symbols/a.o >+ grep -q 'undefined.*foo' >+ cc -B. -o out/test/elf/x86_64/unresolved-symbols/exe out/test/elf/x86_64/unresolved-symbols/a.o -Wl,-unresolved-symbols=report-all >+ grep -q 'undefined.*foo' >+ cc -B. -o out/test/elf/x86_64/unresolved-symbols/exe out/test/elf/x86_64/unresolved-symbols/a.o -Wl,-unresolved-symbols=ignore-all >+ readelf --dyn-syms out/test/elf/x86_64/unresolved-symbols/exe >+ grep -w foo >+ cc -B. -o out/test/elf/x86_64/unresolved-symbols/exe out/test/elf/x86_64/unresolved-symbols/a.o -Wl,-unresolved-symbols=report-all -Wl,--warn-unresolved-symbols >+ grep -q 'undefined.*foo' >+ cc -B. -o out/test/elf/x86_64/unresolved-symbols/exe out/test/elf/x86_64/unresolved-symbols/a.o -Wl,-unresolved-symbols=ignore-in-object-files >+ grep -q 'undefined.*foo' >+ grep -q 'undefined.*foo' >+ cc -B. -o out/test/elf/x86_64/unresolved-symbols/exe out/test/elf/x86_64/unresolved-symbols/a.o -Wl,-unresolved-symbols=ignore-in-shared-libs >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.68 sec >---------------------------------------------------------- >Test Passed. >"x86_64-unresolved-symbols" end time: Feb 09 00:20 CET >"x86_64-unresolved-symbols" time elapsed: 00:00:00 >---------------------------------------------------------- > >251/293 Testing: x86_64-version-script10 >251/293 Test: x86_64-version-script10 >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script10.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-version-script10" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script10.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script10.sh .sh >++ testname=version-script10 >++ echo -n 'Testing version-script10 ... ' >Testing version-script10 ... ++ t=out/test/elf/x86_64/version-script10 >++ mkdir -p out/test/elf/x86_64/version-script10 >+ echo 'VER1 { foo[12]; }; VER2 {};' >+ cat >+ cc -B. -shared -o out/test/elf/x86_64/version-script10/c.so -Wl,-version-script,out/test/elf/x86_64/version-script10/a.ver out/test/elf/x86_64/version-script10/b.s >+ readelf --dyn-syms out/test/elf/x86_64/version-script10/c.so >+ grep -q ' foo1@@VER1$' out/test/elf/x86_64/version-script10/log >+ grep -q ' foo2@@VER1$' out/test/elf/x86_64/version-script10/log >+ grep -q ' foo3@@VER1$' out/test/elf/x86_64/version-script10/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.16 sec >---------------------------------------------------------- >Test Passed. >"x86_64-version-script10" end time: Feb 09 00:20 CET >"x86_64-version-script10" time elapsed: 00:00:00 >---------------------------------------------------------- > >252/293 Testing: x86_64-version-script11 >252/293 Test: x86_64-version-script11 >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script11.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-version-script11" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script11.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script11.sh .sh >++ testname=version-script11 >++ echo -n 'Testing version-script11 ... ' >Testing version-script11 ... ++ t=out/test/elf/x86_64/version-script11 >++ mkdir -p out/test/elf/x86_64/version-script11 >+ cat >+ cat >+ c++ -fPIC -c -o out/test/elf/x86_64/version-script11/b.o -xc - >+ cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script11/a.ver -o out/test/elf/x86_64/version-script11/c.so out/test/elf/x86_64/version-script11/b.o >+ readelf --dyn-syms out/test/elf/x86_64/version-script11/c.so >+ grep -q 'foo@@VER_X1$' out/test/elf/x86_64/version-script11/log >+ grep -q ' bar$' out/test/elf/x86_64/version-script11/log >+ grep -q ' baz$' out/test/elf/x86_64/version-script11/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.19 sec >---------------------------------------------------------- >Test Passed. >"x86_64-version-script11" end time: Feb 09 00:20 CET >"x86_64-version-script11" time elapsed: 00:00:00 >---------------------------------------------------------- > >253/293 Testing: x86_64-version-script12 >253/293 Test: x86_64-version-script12 >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script12.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-version-script12" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script12.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script12.sh .sh >++ testname=version-script12 >++ echo -n 'Testing version-script12 ... ' >Testing version-script12 ... ++ t=out/test/elf/x86_64/version-script12 >++ mkdir -p out/test/elf/x86_64/version-script12 >+ cat >+ cat >+ c++ -fPIC -c -o out/test/elf/x86_64/version-script12/b.o -xc - >+ cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script12/a.ver -o out/test/elf/x86_64/version-script12/c.so out/test/elf/x86_64/version-script12/b.o >+ readelf --dyn-syms out/test/elf/x86_64/version-script12/c.so >+ grep -q ' xyz$' out/test/elf/x86_64/version-script12/log >+ grep -q ' foo_bar$' out/test/elf/x86_64/version-script12/log >+ grep -q ' foo$' out/test/elf/x86_64/version-script12/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.19 sec >---------------------------------------------------------- >Test Passed. >"x86_64-version-script12" end time: Feb 09 00:20 CET >"x86_64-version-script12" time elapsed: 00:00:00 >---------------------------------------------------------- > >254/293 Testing: x86_64-version-script13 >254/293 Test: x86_64-version-script13 >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script13.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-version-script13" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script13.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script13.sh .sh >++ testname=version-script13 >++ echo -n 'Testing version-script13 ... ' >Testing version-script13 ... ++ t=out/test/elf/x86_64/version-script13 >++ mkdir -p out/test/elf/x86_64/version-script13 >+ cat >+ cat >+ c++ -fPIC -c -o out/test/elf/x86_64/version-script13/b.o -xc - >+ cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script13/a.ver -o out/test/elf/x86_64/version-script13/c.so out/test/elf/x86_64/version-script13/b.o >+ readelf --dyn-syms out/test/elf/x86_64/version-script13/c.so >+ grep -q ' foobar$' out/test/elf/x86_64/version-script13/log >+ grep -q ' foo$' out/test/elf/x86_64/version-script13/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.18 sec >---------------------------------------------------------- >Test Passed. >"x86_64-version-script13" end time: Feb 09 00:20 CET >"x86_64-version-script13" time elapsed: 00:00:00 >---------------------------------------------------------- > >255/293 Testing: x86_64-version-script14 >255/293 Test: x86_64-version-script14 >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script14.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-version-script14" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script14.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script14.sh .sh >++ testname=version-script14 >++ echo -n 'Testing version-script14 ... ' >Testing version-script14 ... ++ t=out/test/elf/x86_64/version-script14 >++ mkdir -p out/test/elf/x86_64/version-script14 >+ cat >+ cat >+ c++ -fPIC -c -o out/test/elf/x86_64/version-script14/b.o -xc - >+ cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script14/a.ver -o out/test/elf/x86_64/version-script14/c.so out/test/elf/x86_64/version-script14/b.o >+ readelf --dyn-syms out/test/elf/x86_64/version-script14/c.so >+ grep -q ' xyz$' out/test/elf/x86_64/version-script14/log >+ grep -q ' foobarzx$' out/test/elf/x86_64/version-script14/log >+ grep -q ' foobarcx$' out/test/elf/x86_64/version-script14/log >+ grep -q ' foo123bar456bx$' out/test/elf/x86_64/version-script14/log >+ grep -q ' foo123bar456c$' out/test/elf/x86_64/version-script14/log >+ grep -q ' foo123bar456x$' out/test/elf/x86_64/version-script14/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.21 sec >---------------------------------------------------------- >Test Passed. >"x86_64-version-script14" end time: Feb 09 00:20 CET >"x86_64-version-script14" time elapsed: 00:00:00 >---------------------------------------------------------- > >256/293 Testing: x86_64-version-script15 >256/293 Test: x86_64-version-script15 >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script15.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-version-script15" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script15.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script15.sh .sh >++ testname=version-script15 >++ echo -n 'Testing version-script15 ... ' >Testing version-script15 ... ++ t=out/test/elf/x86_64/version-script15 >++ mkdir -p out/test/elf/x86_64/version-script15 >+ cat >+ cat >+ c++ -fPIC -c -o out/test/elf/x86_64/version-script15/b.o -xc - >+ cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script15/a.ver -o out/test/elf/x86_64/version-script15/c.so out/test/elf/x86_64/version-script15/b.o >+ readelf --dyn-syms out/test/elf/x86_64/version-script15/c.so >+ grep -q ' azZ$' out/test/elf/x86_64/version-script15/log >+ grep -q ' czZ$' out/test/elf/x86_64/version-script15/log >+ grep -q ' azC$' out/test/elf/x86_64/version-script15/log >+ grep -q ' aaZ$' out/test/elf/x86_64/version-script15/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.20 sec >---------------------------------------------------------- >Test Passed. >"x86_64-version-script15" end time: Feb 09 00:20 CET >"x86_64-version-script15" time elapsed: 00:00:00 >---------------------------------------------------------- > >257/293 Testing: x86_64-version-script16 >257/293 Test: x86_64-version-script16 >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script16.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-version-script16" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script16.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script16.sh .sh >++ testname=version-script16 >++ echo -n 'Testing version-script16 ... ' >Testing version-script16 ... ++ t=out/test/elf/x86_64/version-script16 >++ mkdir -p out/test/elf/x86_64/version-script16 >+ cat >+ cat >+ cc -fPIC -c -o out/test/elf/x86_64/version-script16/b.o -xc - >+ cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script16/a.ver -o out/test/elf/x86_64/version-script16/c.so out/test/elf/x86_64/version-script16/b.o >+ readelf --dyn-syms out/test/elf/x86_64/version-script16/c.so >+ grep -q foobar >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.16 sec >---------------------------------------------------------- >Test Passed. >"x86_64-version-script16" end time: Feb 09 00:20 CET >"x86_64-version-script16" time elapsed: 00:00:00 >---------------------------------------------------------- > >258/293 Testing: x86_64-version-script17 >258/293 Test: x86_64-version-script17 >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script17.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-version-script17" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script17.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script17.sh .sh >++ testname=version-script17 >++ echo -n 'Testing version-script17 ... ' >Testing version-script17 ... ++ t=out/test/elf/x86_64/version-script17 >++ mkdir -p out/test/elf/x86_64/version-script17 >+ cat >+ cc -fPIC -c -o out/test/elf/x86_64/version-script17/a.o -xc - >+ cat >+ cc -B. -shared -fPIC -o out/test/elf/x86_64/version-script17/b.so -xc - >+ cc -B. -o out/test/elf/x86_64/version-script17/exe1 out/test/elf/x86_64/version-script17/a.o out/test/elf/x86_64/version-script17/b.so >+ nm -g out/test/elf/x86_64/version-script17/exe1 >+ grep -q foo >+ cat >+ cc -B. -o out/test/elf/x86_64/version-script17/exe2 out/test/elf/x86_64/version-script17/a.o out/test/elf/x86_64/version-script17/b.so -Wl,--version-script=out/test/elf/x86_64/version-script17/c.ver -Wl,--undefined-version >+ nm -g out/test/elf/x86_64/version-script17/exe2 >+ grep -q foo out/test/elf/x86_64/version-script17/log2 >+ cat >+ cc -B. -o out/test/elf/x86_64/version-script17/exe3 out/test/elf/x86_64/version-script17/a.o out/test/elf/x86_64/version-script17/b.so -Wl,--version-script=out/test/elf/x86_64/version-script17/d.ver >+ nm -g out/test/elf/x86_64/version-script17/exe3 >+ grep -q foo out/test/elf/x86_64/version-script17/log3 >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.53 sec >---------------------------------------------------------- >Test Passed. >"x86_64-version-script17" end time: Feb 09 00:20 CET >"x86_64-version-script17" time elapsed: 00:00:00 >---------------------------------------------------------- > >259/293 Testing: x86_64-version-script18 >259/293 Test: x86_64-version-script18 >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script18.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-version-script18" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script18.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script18.sh .sh >++ testname=version-script18 >++ echo -n 'Testing version-script18 ... ' >Testing version-script18 ... ++ t=out/test/elf/x86_64/version-script18 >++ mkdir -p out/test/elf/x86_64/version-script18 >+ cat >+ cat >+ cc -fPIC -c -o out/test/elf/x86_64/version-script18/b.o -xc++ - >+ cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script18/a.ver -o out/test/elf/x86_64/version-script18/c.so out/test/elf/x86_64/version-script18/b.o >+ readelf --wide --dyn-syms out/test/elf/x86_64/version-script18/c.so >+ grep libalpha >+ grep -q Bar >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.17 sec >---------------------------------------------------------- >Test Passed. >"x86_64-version-script18" end time: Feb 09 00:20 CET >"x86_64-version-script18" time elapsed: 00:00:00 >---------------------------------------------------------- > >260/293 Testing: x86_64-version-script2 >260/293 Test: x86_64-version-script2 >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script2.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-version-script2" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script2.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script2.sh .sh >++ testname=version-script2 >++ echo -n 'Testing version-script2 ... ' >Testing version-script2 ... ++ t=out/test/elf/x86_64/version-script2 >++ mkdir -p out/test/elf/x86_64/version-script2 >+ cat >+ cat >+ cc -B. -xc -shared -o out/test/elf/x86_64/version-script2/b.so -Wl,-version-script,out/test/elf/x86_64/version-script2/a.ver - >+ cat >+ cc -xc -c -o out/test/elf/x86_64/version-script2/c.o - >+ cc -B. -o out/test/elf/x86_64/version-script2/exe out/test/elf/x86_64/version-script2/c.o out/test/elf/x86_64/version-script2/b.so >+ out/test/elf/x86_64/version-script2/exe >+ readelf --dyn-syms out/test/elf/x86_64/version-script2/exe >+ grep -Fq foo@ver1 out/test/elf/x86_64/version-script2/log >+ grep -Fq bar@ver2 out/test/elf/x86_64/version-script2/log >+ grep -Fq baz@ver3 out/test/elf/x86_64/version-script2/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.30 sec >---------------------------------------------------------- >Test Passed. >"x86_64-version-script2" end time: Feb 09 00:20 CET >"x86_64-version-script2" time elapsed: 00:00:00 >---------------------------------------------------------- > >261/293 Testing: x86_64-version-script3 >261/293 Test: x86_64-version-script3 >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script3.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-version-script3" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script3.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script3.sh .sh >++ testname=version-script3 >++ echo -n 'Testing version-script3 ... ' >Testing version-script3 ... ++ t=out/test/elf/x86_64/version-script3 >++ mkdir -p out/test/elf/x86_64/version-script3 >+ cat >+ cat >+ cc -B. -xc -shared -o out/test/elf/x86_64/version-script3/b.so -Wl,-version-script,out/test/elf/x86_64/version-script3/a.ver - >+ cat >+ cc -xc -c -o out/test/elf/x86_64/version-script3/c.o - >+ cc -B. -o out/test/elf/x86_64/version-script3/exe out/test/elf/x86_64/version-script3/c.o out/test/elf/x86_64/version-script3/b.so >+ out/test/elf/x86_64/version-script3/exe >+ readelf --dyn-syms out/test/elf/x86_64/version-script3/exe >+ grep -Fq foo@ver1 out/test/elf/x86_64/version-script3/log >+ grep -Fq bar@ver2 out/test/elf/x86_64/version-script3/log >+ grep -Fq baz@ver2 out/test/elf/x86_64/version-script3/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.29 sec >---------------------------------------------------------- >Test Passed. >"x86_64-version-script3" end time: Feb 09 00:20 CET >"x86_64-version-script3" time elapsed: 00:00:00 >---------------------------------------------------------- > >262/293 Testing: x86_64-version-script4 >262/293 Test: x86_64-version-script4 >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script4.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-version-script4" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script4.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script4.sh .sh >++ testname=version-script4 >++ echo -n 'Testing version-script4 ... ' >Testing version-script4 ... ++ t=out/test/elf/x86_64/version-script4 >++ mkdir -p out/test/elf/x86_64/version-script4 >+ cat >+ cat >+ c++ -fPIC -c -o out/test/elf/x86_64/version-script4/b.o -xc++ - >+ cc -B. -shared -o out/test/elf/x86_64/version-script4/c.so -Wl,-version-script,out/test/elf/x86_64/version-script4/a.ver out/test/elf/x86_64/version-script4/b.o >+ readelf --dyn-syms out/test/elf/x86_64/version-script4/c.so >+ grep -Fq _ZN3foo3barE out/test/elf/x86_64/version-script4/log >+ grep -Fq ' bar' out/test/elf/x86_64/version-script4/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.18 sec >---------------------------------------------------------- >Test Passed. >"x86_64-version-script4" end time: Feb 09 00:20 CET >"x86_64-version-script4" time elapsed: 00:00:00 >---------------------------------------------------------- > >263/293 Testing: x86_64-version-script5 >263/293 Test: x86_64-version-script5 >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script5.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-version-script5" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script5.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script5.sh .sh >++ testname=version-script5 >++ echo -n 'Testing version-script5 ... ' >Testing version-script5 ... ++ t=out/test/elf/x86_64/version-script5 >++ mkdir -p out/test/elf/x86_64/version-script5 >+ cat >+ cat >+ c++ -fPIC -c -o out/test/elf/x86_64/version-script5/b.o -xc - >+ cc -B. -shared -o out/test/elf/x86_64/version-script5/c.so -Wl,-version-script,out/test/elf/x86_64/version-script5/a.ver out/test/elf/x86_64/version-script5/b.o >+ readelf --dyn-syms out/test/elf/x86_64/version-script5/c.so >+ grep -Fq foo out/test/elf/x86_64/version-script5/log >+ grep -Fq ' main' out/test/elf/x86_64/version-script5/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.17 sec >---------------------------------------------------------- >Test Passed. >"x86_64-version-script5" end time: Feb 09 00:20 CET >"x86_64-version-script5" time elapsed: 00:00:00 >---------------------------------------------------------- > >264/293 Testing: x86_64-version-script6 >264/293 Test: x86_64-version-script6 >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script6.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-version-script6" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script6.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script6.sh .sh >++ testname=version-script6 >++ echo -n 'Testing version-script6 ... ' >Testing version-script6 ... ++ t=out/test/elf/x86_64/version-script6 >++ mkdir -p out/test/elf/x86_64/version-script6 >+ cat >+ cat >+ c++ -fPIC -c -o out/test/elf/x86_64/version-script6/b.o -xc - >+ cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script6/a.ver -o out/test/elf/x86_64/version-script6/c.so out/test/elf/x86_64/version-script6/b.o >+ cat >+ cat >+ c++ -fPIC -c -o out/test/elf/x86_64/version-script6/e.o -xc - >+ cc -B. -shared -Wl,-version-script,out/test/elf/x86_64/version-script6/d.ver -o out/test/elf/x86_64/version-script6/f.so out/test/elf/x86_64/version-script6/e.o out/test/elf/x86_64/version-script6/c.so -Wl,--undefined-version >+ readelf --dyn-syms out/test/elf/x86_64/version-script6/f.so >+ grep -q foo@VER_X1 out/test/elf/x86_64/version-script6/log >+ grep -q bar@VER_X2 out/test/elf/x86_64/version-script6/log >+ grep -q baz@@VER_Y2 out/test/elf/x86_64/version-script6/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.30 sec >---------------------------------------------------------- >Test Passed. >"x86_64-version-script6" end time: Feb 09 00:20 CET >"x86_64-version-script6" time elapsed: 00:00:00 >---------------------------------------------------------- > >265/293 Testing: x86_64-version-script7 >265/293 Test: x86_64-version-script7 >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script7.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-version-script7" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script7.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script7.sh .sh >++ testname=version-script7 >++ echo -n 'Testing version-script7 ... ' >Testing version-script7 ... ++ t=out/test/elf/x86_64/version-script7 >++ mkdir -p out/test/elf/x86_64/version-script7 >+ cat >+ cat >+ c++ -fPIC -c -o out/test/elf/x86_64/version-script7/b.o -xc - >+ cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script7/a.ver -o out/test/elf/x86_64/version-script7/c.so out/test/elf/x86_64/version-script7/b.o >+ readelf --dyn-syms out/test/elf/x86_64/version-script7/c.so >+ grep -q 'foo$' out/test/elf/x86_64/version-script7/log >+ grep -q bar@@VER_X1 out/test/elf/x86_64/version-script7/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.17 sec >---------------------------------------------------------- >Test Passed. >"x86_64-version-script7" end time: Feb 09 00:20 CET >"x86_64-version-script7" time elapsed: 00:00:00 >---------------------------------------------------------- > >266/293 Testing: x86_64-version-script8 >266/293 Test: x86_64-version-script8 >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script8.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-version-script8" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script8.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script8.sh .sh >++ testname=version-script8 >++ echo -n 'Testing version-script8 ... ' >Testing version-script8 ... ++ t=out/test/elf/x86_64/version-script8 >++ mkdir -p out/test/elf/x86_64/version-script8 >+ cat >+ cat >+ cc -B. -xc -shared -o out/test/elf/x86_64/version-script8/b.so -Wl,-version-script,out/test/elf/x86_64/version-script8/a.ver - >+ cat >+ cc -xc -c -o out/test/elf/x86_64/version-script8/c.o - >+ cc -B. -o out/test/elf/x86_64/version-script8/exe out/test/elf/x86_64/version-script8/c.o out/test/elf/x86_64/version-script8/b.so >+ out/test/elf/x86_64/version-script8/exe >+ readelf --dyn-syms out/test/elf/x86_64/version-script8/b.so >+ grep -Fq foo@@ver1 out/test/elf/x86_64/version-script8/log >+ grep -Fq bar@@ver2 out/test/elf/x86_64/version-script8/log >+ grep -Fq baz out/test/elf/x86_64/version-script8/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.29 sec >---------------------------------------------------------- >Test Passed. >"x86_64-version-script8" end time: Feb 09 00:20 CET >"x86_64-version-script8" time elapsed: 00:00:00 >---------------------------------------------------------- > >267/293 Testing: x86_64-version-script9 >267/293 Test: x86_64-version-script9 >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script9.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-version-script9" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script9.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version-script9.sh .sh >++ testname=version-script9 >++ echo -n 'Testing version-script9 ... ' >Testing version-script9 ... ++ t=out/test/elf/x86_64/version-script9 >++ mkdir -p out/test/elf/x86_64/version-script9 >+ echo 'VER1 { extern "C++" {}; foo; }; VER2 {};' >+ cat >+ cc -B. -shared -o out/test/elf/x86_64/version-script9/c.so -Wl,-version-script,out/test/elf/x86_64/version-script9/a.ver out/test/elf/x86_64/version-script9/b.s >+ readelf --dyn-syms out/test/elf/x86_64/version-script9/c.so >+ grep -q ' foo@@VER1$' out/test/elf/x86_64/version-script9/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.14 sec >---------------------------------------------------------- >Test Passed. >"x86_64-version-script9" end time: Feb 09 00:20 CET >"x86_64-version-script9" time elapsed: 00:00:00 >---------------------------------------------------------- > >268/293 Testing: x86_64-version >268/293 Test: x86_64-version >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-version" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version.sh .sh >++ testname=version >++ echo -n 'Testing version ... ' >Testing version ... ++ t=out/test/elf/x86_64/version >++ mkdir -p out/test/elf/x86_64/version >+ nm mold >+ grep -q __tsan_init >+ ./mold -v >+ grep -q '[ms]old .*compatible with GNU ld' >+ ./mold --version >+ grep -q '[ms]old .*compatible with GNU ld' >+ ./mold -V >+ grep -q '[ms]old .*compatible with GNU ld' >+ ./mold -V >+ grep -q elf_x86_64 >+ ./mold -V >+ grep -q elf_i386 >+ cat >+ cc -c -xc -o out/test/elf/x86_64/version/a.o - >+ rm -f out/test/elf/x86_64/version/exe >+ cc -B. -Wl,--version -o out/test/elf/x86_64/version/exe1 out/test/elf/x86_64/version/a.o >+ grep -q '[ms]old' >+ '[' -f out/test/elf/x86_64/version/exe1 ']' >+ cc -B. -Wl,-v -o out/test/elf/x86_64/version/exe2 out/test/elf/x86_64/version/a.o >+ grep -q '[ms]old' >+ out/test/elf/x86_64/version/exe2 >+ grep -q 'Hello world' >/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/version.sh: line 27: out/test/elf/x86_64/version/exe2: No such file or directory >++ on_error 27 >++ code=1 >++ echo 'command failed: 27: grep -q '\''Hello world'\''' >command failed: 27: grep -q 'Hello world' >++ trap - EXIT >++ exit 1 ><end of output> >Test time = 0.58 sec >---------------------------------------------------------- >Test Failed. >"x86_64-version" end time: Feb 09 00:20 CET >"x86_64-version" time elapsed: 00:00:00 >---------------------------------------------------------- > >269/293 Testing: x86_64-versioned-undef >269/293 Test: x86_64-versioned-undef >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/versioned-undef.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-versioned-undef" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/versioned-undef.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/versioned-undef.sh .sh >++ testname=versioned-undef >++ echo -n 'Testing versioned-undef ... ' >Testing versioned-undef ... ++ t=out/test/elf/x86_64/versioned-undef >++ mkdir -p out/test/elf/x86_64/versioned-undef >+ ldd --help >+ grep -q musl >+ skip >+ echo skipped >skipped >+ trap - EXIT >+ exit 0 ><end of output> >Test time = 0.05 sec >---------------------------------------------------------- >Test Pass Reason: >Skip regular expression found in output. Regex=[skipped] >"x86_64-versioned-undef" end time: Feb 09 00:20 CET >"x86_64-versioned-undef" time elapsed: 00:00:00 >---------------------------------------------------------- > >270/293 Testing: x86_64-visibility >270/293 Test: x86_64-visibility >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/visibility.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-visibility" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/visibility.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/visibility.sh .sh >++ testname=visibility >++ echo -n 'Testing visibility ... ' >Testing visibility ... ++ t=out/test/elf/x86_64/visibility >++ mkdir -p out/test/elf/x86_64/visibility >+ cat >+ cc -xc -c -o out/test/elf/x86_64/visibility/a.o - >+ cat >+ cc -xc -c -o out/test/elf/x86_64/visibility/b.o - >+ rm -f out/test/elf/x86_64/visibility/c.a >+ ar crs out/test/elf/x86_64/visibility/c.a out/test/elf/x86_64/visibility/a.o out/test/elf/x86_64/visibility/b.o >+ cat >+ cc -xc -fPIC -c -o out/test/elf/x86_64/visibility/d.o - >+ cc -B. -shared -o out/test/elf/x86_64/visibility/e.so out/test/elf/x86_64/visibility/c.a out/test/elf/x86_64/visibility/d.o >+ readelf --dyn-syms out/test/elf/x86_64/visibility/e.so >+ grep -Fq foo out/test/elf/x86_64/visibility/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.30 sec >---------------------------------------------------------- >Test Passed. >"x86_64-visibility" end time: Feb 09 00:20 CET >"x86_64-visibility" time elapsed: 00:00:00 >---------------------------------------------------------- > >271/293 Testing: x86_64-warn-common >271/293 Test: x86_64-warn-common >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/warn-common.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-warn-common" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/warn-common.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/warn-common.sh .sh >++ testname=warn-common >++ echo -n 'Testing warn-common ... ' >Testing warn-common ... ++ t=out/test/elf/x86_64/warn-common >++ mkdir -p out/test/elf/x86_64/warn-common >+ cat >+ cc -fcommon -c -xc -o out/test/elf/x86_64/warn-common/a.o - >+ cat >+ cc -fcommon -c -xc -o out/test/elf/x86_64/warn-common/b.o - >+ cc -B. -o out/test/elf/x86_64/warn-common/exe out/test/elf/x86_64/warn-common/a.o out/test/elf/x86_64/warn-common/b.o >+ grep -Fq 'multiple common symbols' out/test/elf/x86_64/warn-common/log >+ cc -B. -o out/test/elf/x86_64/warn-common/exe out/test/elf/x86_64/warn-common/a.o out/test/elf/x86_64/warn-common/b.o -Wl,-warn-common >+ grep -Fq 'multiple common symbols' out/test/elf/x86_64/warn-common/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.26 sec >---------------------------------------------------------- >Test Passed. >"x86_64-warn-common" end time: Feb 09 00:20 CET >"x86_64-warn-common" time elapsed: 00:00:00 >---------------------------------------------------------- > >272/293 Testing: x86_64-warn-once >272/293 Test: x86_64-warn-once >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/warn-once.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-warn-once" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/warn-once.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/warn-once.sh .sh >++ testname=warn-once >++ echo -n 'Testing warn-once ... ' >Testing warn-once ... ++ t=out/test/elf/x86_64/warn-once >++ mkdir -p out/test/elf/x86_64/warn-once >+ cat >+ cc -c -fPIC -xc -o out/test/elf/x86_64/warn-once/a.o - >+ cat >+ cc -c -fPIC -xc -o out/test/elf/x86_64/warn-once/b.o - >+ cc -B. -o out/test/elf/x86_64/warn-once/exe out/test/elf/x86_64/warn-once/a.o out/test/elf/x86_64/warn-once/b.o -Wl,--warn-unresolved-symbols,--warn-once >++ grep 'undefined symbol:.* foo$' out/test/elf/x86_64/warn-once/log >++ wc -l >+ '[' 1 = 1 ']' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.22 sec >---------------------------------------------------------- >Test Passed. >"x86_64-warn-once" end time: Feb 09 00:20 CET >"x86_64-warn-once" time elapsed: 00:00:00 >---------------------------------------------------------- > >273/293 Testing: x86_64-warn-symbol-type >273/293 Test: x86_64-warn-symbol-type >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/warn-symbol-type.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-warn-symbol-type" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/warn-symbol-type.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/warn-symbol-type.sh .sh >++ testname=warn-symbol-type >++ echo -n 'Testing warn-symbol-type ... ' >Testing warn-symbol-type ... ++ t=out/test/elf/x86_64/warn-symbol-type >++ mkdir -p out/test/elf/x86_64/warn-symbol-type >+ cat >+ cc -c -fPIC -xc -o out/test/elf/x86_64/warn-symbol-type/a.o - >+ cc -B. -shared -o out/test/elf/x86_64/warn-symbol-type/a.so out/test/elf/x86_64/warn-symbol-type/a.o >+ grep -q 'warning: symbol type mismatch: times' out/test/elf/x86_64/warn-symbol-type/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.15 sec >---------------------------------------------------------- >Test Passed. >"x86_64-warn-symbol-type" end time: Feb 09 00:20 CET >"x86_64-warn-symbol-type" time elapsed: 00:00:00 >---------------------------------------------------------- > >274/293 Testing: x86_64-warn-unresolved-symbols >274/293 Test: x86_64-warn-unresolved-symbols >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/warn-unresolved-symbols.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-warn-unresolved-symbols" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/warn-unresolved-symbols.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/warn-unresolved-symbols.sh .sh >++ testname=warn-unresolved-symbols >++ echo -n 'Testing warn-unresolved-symbols ... ' >Testing warn-unresolved-symbols ... ++ t=out/test/elf/x86_64/warn-unresolved-symbols >++ mkdir -p out/test/elf/x86_64/warn-unresolved-symbols >+ cat >+ cc -c -o out/test/elf/x86_64/warn-unresolved-symbols/a.o -xc - >+ cc -B. -o out/test/elf/x86_64/warn-unresolved-symbols/exe out/test/elf/x86_64/warn-unresolved-symbols/a.o >+ grep -q 'undefined symbol:.*foo' >+ cc -B. -o out/test/elf/x86_64/warn-unresolved-symbols/exe out/test/elf/x86_64/warn-unresolved-symbols/a.o -Wl,-warn-unresolved-symbols >+ grep -q 'undefined symbol:.*foo' >+ cc -B. -o out/test/elf/x86_64/warn-unresolved-symbols/exe out/test/elf/x86_64/warn-unresolved-symbols/a.o -Wl,-warn-unresolved-symbols --error-unresolved-symbols >+ grep -q 'undefined symbol:.*foo' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.26 sec >---------------------------------------------------------- >Test Passed. >"x86_64-warn-unresolved-symbols" end time: Feb 09 00:20 CET >"x86_64-warn-unresolved-symbols" time elapsed: 00:00:00 >---------------------------------------------------------- > >275/293 Testing: x86_64-weak-export-dso >275/293 Test: x86_64-weak-export-dso >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/weak-export-dso.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-weak-export-dso" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/weak-export-dso.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/weak-export-dso.sh .sh >++ testname=weak-export-dso >++ echo -n 'Testing weak-export-dso ... ' >Testing weak-export-dso ... ++ t=out/test/elf/x86_64/weak-export-dso >++ mkdir -p out/test/elf/x86_64/weak-export-dso >+ cat >+ cc -fPIC -c -o out/test/elf/x86_64/weak-export-dso/a.o -xc - >+ cc -B. -o out/test/elf/x86_64/weak-export-dso/b.so out/test/elf/x86_64/weak-export-dso/a.o -shared >+ cc -B. -o out/test/elf/x86_64/weak-export-dso/c.so out/test/elf/x86_64/weak-export-dso/a.o -shared -Wl,-z,defs >+ readelf --dyn-syms out/test/elf/x86_64/weak-export-dso/b.so >+ grep -q 'WEAK DEFAULT UND foo' >+ readelf --dyn-syms out/test/elf/x86_64/weak-export-dso/c.so >+ grep -q 'WEAK DEFAULT UND foo' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.24 sec >---------------------------------------------------------- >Test Passed. >"x86_64-weak-export-dso" end time: Feb 09 00:20 CET >"x86_64-weak-export-dso" time elapsed: 00:00:00 >---------------------------------------------------------- > >276/293 Testing: x86_64-weak-export-exe >276/293 Test: x86_64-weak-export-exe >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/weak-export-exe.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-weak-export-exe" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/weak-export-exe.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/weak-export-exe.sh .sh >++ testname=weak-export-exe >++ echo -n 'Testing weak-export-exe ... ' >Testing weak-export-exe ... ++ t=out/test/elf/x86_64/weak-export-exe >++ mkdir -p out/test/elf/x86_64/weak-export-exe >+ cat >+ cc -fPIC -c -o out/test/elf/x86_64/weak-export-exe/a.o -xc - >+ cc -B. -o out/test/elf/x86_64/weak-export-exe/exe out/test/elf/x86_64/weak-export-exe/a.o >+ readelf --dyn-syms out/test/elf/x86_64/weak-export-exe/exe >+ grep -q 'WEAK DEFAULT UND foo' >+ out/test/elf/x86_64/weak-export-exe/exe >+ grep -q '^3$' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.17 sec >---------------------------------------------------------- >Test Passed. >"x86_64-weak-export-exe" end time: Feb 09 00:20 CET >"x86_64-weak-export-exe" time elapsed: 00:00:00 >---------------------------------------------------------- > >277/293 Testing: x86_64-weak-undef-dso >277/293 Test: x86_64-weak-undef-dso >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/weak-undef-dso.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-weak-undef-dso" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/weak-undef-dso.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/weak-undef-dso.sh .sh >++ testname=weak-undef-dso >++ echo -n 'Testing weak-undef-dso ... ' >Testing weak-undef-dso ... ++ t=out/test/elf/x86_64/weak-undef-dso >++ mkdir -p out/test/elf/x86_64/weak-undef-dso >+ cat >+ cc -c -o out/test/elf/x86_64/weak-undef-dso/a.o -fPIC -xc - >+ cc -B. -shared -o out/test/elf/x86_64/weak-undef-dso/b.so out/test/elf/x86_64/weak-undef-dso/a.o >+ cat >+ cc -xc -c -o out/test/elf/x86_64/weak-undef-dso/c.o - >+ cc -B. -o out/test/elf/x86_64/weak-undef-dso/exe1 out/test/elf/x86_64/weak-undef-dso/c.o out/test/elf/x86_64/weak-undef-dso/b.so >+ out/test/elf/x86_64/weak-undef-dso/exe1 >+ grep -q bar=-1 >+ cat >+ cc -xc -c -o out/test/elf/x86_64/weak-undef-dso/d.o - >+ cc -B. -o out/test/elf/x86_64/weak-undef-dso/exe2 out/test/elf/x86_64/weak-undef-dso/d.o out/test/elf/x86_64/weak-undef-dso/b.so >+ out/test/elf/x86_64/weak-undef-dso/exe2 >+ grep -q bar=5 >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.42 sec >---------------------------------------------------------- >Test Passed. >"x86_64-weak-undef-dso" end time: Feb 09 00:20 CET >"x86_64-weak-undef-dso" time elapsed: 00:00:00 >---------------------------------------------------------- > >278/293 Testing: x86_64-weak-undef >278/293 Test: x86_64-weak-undef >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/weak-undef.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-weak-undef" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/weak-undef.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/weak-undef.sh .sh >++ testname=weak-undef >++ echo -n 'Testing weak-undef ... ' >Testing weak-undef ... ++ t=out/test/elf/x86_64/weak-undef >++ mkdir -p out/test/elf/x86_64/weak-undef >+ cat >+ cc -c -o out/test/elf/x86_64/weak-undef/a.o -fPIC -xc - >+ cat >+ cc -c -o out/test/elf/x86_64/weak-undef/b.o -fno-PIC -xc - >+ cat >+ cc -fcommon -xc -c -o out/test/elf/x86_64/weak-undef/c.o - >+ cc -B. -o out/test/elf/x86_64/weak-undef/exe1 out/test/elf/x86_64/weak-undef/a.o -pie >+ cc -B. -o out/test/elf/x86_64/weak-undef/exe2 out/test/elf/x86_64/weak-undef/b.o -no-pie >+ cc -B. -o out/test/elf/x86_64/weak-undef/exe3 out/test/elf/x86_64/weak-undef/a.o out/test/elf/x86_64/weak-undef/c.o -pie >+ cc -B. -o out/test/elf/x86_64/weak-undef/exe4 out/test/elf/x86_64/weak-undef/b.o out/test/elf/x86_64/weak-undef/c.o -no-pie >+ out/test/elf/x86_64/weak-undef/exe1 >+ grep -q '^-1$' >+ out/test/elf/x86_64/weak-undef/exe2 >+ grep -q '^-1$' >+ out/test/elf/x86_64/weak-undef/exe3 >+ grep -q '^2$' >+ out/test/elf/x86_64/weak-undef/exe4 >+ grep -q '^2$' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.46 sec >---------------------------------------------------------- >Test Passed. >"x86_64-weak-undef" end time: Feb 09 00:20 CET >"x86_64-weak-undef" time elapsed: 00:00:00 >---------------------------------------------------------- > >279/293 Testing: x86_64-weak-undef2 >279/293 Test: x86_64-weak-undef2 >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/weak-undef2.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-weak-undef2" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/weak-undef2.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/weak-undef2.sh .sh >++ testname=weak-undef2 >++ echo -n 'Testing weak-undef2 ... ' >Testing weak-undef2 ... ++ t=out/test/elf/x86_64/weak-undef2 >++ mkdir -p out/test/elf/x86_64/weak-undef2 >+ cat >+ cc -c -o out/test/elf/x86_64/weak-undef2/a.o -xc - >+ cat >+ cc -c -o out/test/elf/x86_64/weak-undef2/b.o -xc - >+ cc -B. -o out/test/elf/x86_64/weak-undef2/exe out/test/elf/x86_64/weak-undef2/a.o out/test/elf/x86_64/weak-undef2/b.o >+ grep -q 'undefined symbol: foo' out/test/elf/x86_64/weak-undef2/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.22 sec >---------------------------------------------------------- >Test Passed. >"x86_64-weak-undef2" end time: Feb 09 00:20 CET >"x86_64-weak-undef2" time elapsed: 00:00:00 >---------------------------------------------------------- > >280/293 Testing: x86_64-whole-archive >280/293 Test: x86_64-whole-archive >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/whole-archive.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-whole-archive" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/whole-archive.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/whole-archive.sh .sh >++ testname=whole-archive >++ echo -n 'Testing whole-archive ... ' >Testing whole-archive ... ++ t=out/test/elf/x86_64/whole-archive >++ mkdir -p out/test/elf/x86_64/whole-archive >+ cat >+ cc -o out/test/elf/x86_64/whole-archive/a.o -c -x assembler - >+ echo 'int fn1() { return 42; }' >+ cc -o out/test/elf/x86_64/whole-archive/b.o -c -xc - >+ echo 'int fn2() { return 42; }' >+ cc -o out/test/elf/x86_64/whole-archive/c.o -c -xc - >+ rm -f out/test/elf/x86_64/whole-archive/d.a >+ ar cr out/test/elf/x86_64/whole-archive/d.a out/test/elf/x86_64/whole-archive/b.o out/test/elf/x86_64/whole-archive/c.o >+ cc -B. -nostdlib -o out/test/elf/x86_64/whole-archive/exe out/test/elf/x86_64/whole-archive/a.o out/test/elf/x86_64/whole-archive/d.a >+ readelf --symbols out/test/elf/x86_64/whole-archive/exe >+ grep -q fn1 out/test/elf/x86_64/whole-archive/readelf >+ grep -q fn2 out/test/elf/x86_64/whole-archive/readelf >+ cc -B. -nostdlib -o out/test/elf/x86_64/whole-archive/exe out/test/elf/x86_64/whole-archive/a.o -Wl,--whole-archive out/test/elf/x86_64/whole-archive/d.a >+ readelf --symbols out/test/elf/x86_64/whole-archive/exe >+ grep -q fn1 out/test/elf/x86_64/whole-archive/readelf >+ grep -q fn2 out/test/elf/x86_64/whole-archive/readelf >+ cc -B. -nostdlib -o out/test/elf/x86_64/whole-archive/exe out/test/elf/x86_64/whole-archive/a.o -Wl,--whole-archive -Wl,--no-whole-archive out/test/elf/x86_64/whole-archive/d.a >+ readelf --symbols out/test/elf/x86_64/whole-archive/exe >+ grep -q fn1 out/test/elf/x86_64/whole-archive/readelf >+ grep -q fn2 out/test/elf/x86_64/whole-archive/readelf >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.39 sec >---------------------------------------------------------- >Test Passed. >"x86_64-whole-archive" end time: Feb 09 00:20 CET >"x86_64-whole-archive" time elapsed: 00:00:00 >---------------------------------------------------------- > >281/293 Testing: x86_64-wrap-lto >281/293 Test: x86_64-wrap-lto >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/wrap-lto.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-wrap-lto" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/wrap-lto.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 - >+ cat >+ cc -c -o out/test/elf/x86_64/wrap-lto/b.o -xc - -flto >+ 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 >+ out/test/elf/x86_64/wrap-lto/exe >+ grep -q '^foo$' >+ 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 -Wl,-wrap,foo -flto >+ out/test/elf/x86_64/wrap-lto/exe >+ grep -q '^wrap_foo$' >+ 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/c.o -Wl,-wrap,foo -flto >+ out/test/elf/x86_64/wrap-lto/exe >+ grep -q '^foo$' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.90 sec >---------------------------------------------------------- >Test Passed. >"x86_64-wrap-lto" end time: Feb 09 00:20 CET >"x86_64-wrap-lto" time elapsed: 00:00:00 >---------------------------------------------------------- > >282/293 Testing: x86_64-wrap >282/293 Test: x86_64-wrap >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/wrap.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-wrap" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/wrap.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/wrap.sh .sh >++ testname=wrap >++ echo -n 'Testing wrap ... ' >Testing wrap ... ++ t=out/test/elf/x86_64/wrap >++ mkdir -p out/test/elf/x86_64/wrap >+ cat >+ cc -fPIC -shared -o out/test/elf/x86_64/wrap/a.so -xc - >+ cat >+ cc -c -o out/test/elf/x86_64/wrap/b.o -xc - >+ cat >+ cc -c -o out/test/elf/x86_64/wrap/c.o -xc - >+ cc -B. -o out/test/elf/x86_64/wrap/exe out/test/elf/x86_64/wrap/a.so out/test/elf/x86_64/wrap/b.o >+ out/test/elf/x86_64/wrap/exe >+ grep -q '^foo$' >+ cc -B. -o out/test/elf/x86_64/wrap/exe out/test/elf/x86_64/wrap/a.so out/test/elf/x86_64/wrap/b.o -Wl,-wrap,foo >+ out/test/elf/x86_64/wrap/exe >+ grep -q '^wrap_foo$' >+ cc -B. -o out/test/elf/x86_64/wrap/exe out/test/elf/x86_64/wrap/a.so out/test/elf/x86_64/wrap/c.o -Wl,-wrap,foo >+ out/test/elf/x86_64/wrap/exe >+ grep -q '^foo$' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.43 sec >---------------------------------------------------------- >Test Passed. >"x86_64-wrap" end time: Feb 09 00:20 CET >"x86_64-wrap" time elapsed: 00:00:00 >---------------------------------------------------------- > >283/293 Testing: x86_64-z-cet-report >283/293 Test: x86_64-z-cet-report >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/z-cet-report.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-z-cet-report" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/z-cet-report.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/z-cet-report.sh .sh >++ testname=z-cet-report >++ echo -n 'Testing z-cet-report ... ' >Testing z-cet-report ... ++ t=out/test/elf/x86_64/z-cet-report >++ mkdir -p out/test/elf/x86_64/z-cet-report >+ cat >+ cc -o out/test/elf/x86_64/z-cet-report/a.o -c -x assembler - >+ cc -B. -o out/test/elf/x86_64/z-cet-report/exe out/test/elf/x86_64/z-cet-report/a.o >+ cc -B. -o out/test/elf/x86_64/z-cet-report/exe out/test/elf/x86_64/z-cet-report/a.o -Wl,-z,cet-report=warning >+ grep -q 'a.o: -cet-report=warning: missing GNU_PROPERTY_X86_FEATURE_1_IBT' out/test/elf/x86_64/z-cet-report/log >+ grep -q 'a.o: -cet-report=warning: missing GNU_PROPERTY_X86_FEATURE_1_SHSTK' out/test/elf/x86_64/z-cet-report/log >+ cc -B. -o out/test/elf/x86_64/z-cet-report/exe out/test/elf/x86_64/z-cet-report/a.o -Wl,-z,cet-report=error >+ grep -q 'a.o: -cet-report=error: missing GNU_PROPERTY_X86_FEATURE_1_IBT' out/test/elf/x86_64/z-cet-report/log >+ grep -q 'a.o: -cet-report=error: missing GNU_PROPERTY_X86_FEATURE_1_SHSTK' out/test/elf/x86_64/z-cet-report/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.27 sec >---------------------------------------------------------- >Test Passed. >"x86_64-z-cet-report" end time: Feb 09 00:20 CET >"x86_64-z-cet-report" time elapsed: 00:00:00 >---------------------------------------------------------- > >284/293 Testing: x86_64-z-defs >284/293 Test: x86_64-z-defs >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/z-defs.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-z-defs" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/z-defs.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/z-defs.sh .sh >++ testname=z-defs >++ echo -n 'Testing z-defs ... ' >Testing z-defs ... ++ t=out/test/elf/x86_64/z-defs >++ mkdir -p out/test/elf/x86_64/z-defs >+ cat >+ cc -fPIC -c -o out/test/elf/x86_64/z-defs/a.o -xc - >+ cc -B. -shared -o out/test/elf/x86_64/z-defs/b.so out/test/elf/x86_64/z-defs/a.o >+ cc -B. -shared -o out/test/elf/x86_64/z-defs/b.so out/test/elf/x86_64/z-defs/a.o -Wl,-z,undefs >+ cc -B. -shared -o out/test/elf/x86_64/z-defs/b.so out/test/elf/x86_64/z-defs/a.o -Wl,-z,defs >+ grep -q 'undefined symbol:.* foo' out/test/elf/x86_64/z-defs/log >+ cc -B. -shared -o out/test/elf/x86_64/z-defs/b.so out/test/elf/x86_64/z-defs/a.o -Wl,-no-undefined >+ grep -q 'undefined symbol:.* foo' out/test/elf/x86_64/z-defs/log >+ cc -B. -shared -o out/test/elf/x86_64/z-defs/c.so out/test/elf/x86_64/z-defs/a.o -Wl,-z,defs -Wl,--warn-unresolved-symbols >+ grep -q 'undefined symbol:.* foo$' out/test/elf/x86_64/z-defs/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.40 sec >---------------------------------------------------------- >Test Passed. >"x86_64-z-defs" end time: Feb 09 00:20 CET >"x86_64-z-defs" time elapsed: 00:00:00 >---------------------------------------------------------- > >285/293 Testing: x86_64-z-dynamic-undefined-weak >285/293 Test: x86_64-z-dynamic-undefined-weak >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/z-dynamic-undefined-weak.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-z-dynamic-undefined-weak" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/z-dynamic-undefined-weak.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/z-dynamic-undefined-weak.sh .sh >++ testname=z-dynamic-undefined-weak >++ echo -n 'Testing z-dynamic-undefined-weak ... ' >Testing z-dynamic-undefined-weak ... ++ t=out/test/elf/x86_64/z-dynamic-undefined-weak >++ mkdir -p out/test/elf/x86_64/z-dynamic-undefined-weak >+ cat >+ cc -o out/test/elf/x86_64/z-dynamic-undefined-weak/a.o -c -xc - -fPIC >+ cc -B. -shared -o out/test/elf/x86_64/z-dynamic-undefined-weak/b.so out/test/elf/x86_64/z-dynamic-undefined-weak/a.o >+ cc -B. -shared -o out/test/elf/x86_64/z-dynamic-undefined-weak/c.so out/test/elf/x86_64/z-dynamic-undefined-weak/a.o -Wl,-z,dynamic-undefined-weak >+ cc -B. -shared -o out/test/elf/x86_64/z-dynamic-undefined-weak/d.so out/test/elf/x86_64/z-dynamic-undefined-weak/a.o -Wl,-z,nodynamic-undefined-weak >+ cat >+ cc -o out/test/elf/x86_64/z-dynamic-undefined-weak/e.o -c -xc - >+ cc -B. -o out/test/elf/x86_64/z-dynamic-undefined-weak/exe1 out/test/elf/x86_64/z-dynamic-undefined-weak/e.o out/test/elf/x86_64/z-dynamic-undefined-weak/b.so >+ out/test/elf/x86_64/z-dynamic-undefined-weak/exe1 >+ grep -q 1 >+ cc -B. -o out/test/elf/x86_64/z-dynamic-undefined-weak/exe2 out/test/elf/x86_64/z-dynamic-undefined-weak/e.o out/test/elf/x86_64/z-dynamic-undefined-weak/c.so >+ out/test/elf/x86_64/z-dynamic-undefined-weak/exe2 >+ grep -q 1 >+ cc -B. -o out/test/elf/x86_64/z-dynamic-undefined-weak/exe3 out/test/elf/x86_64/z-dynamic-undefined-weak/e.o out/test/elf/x86_64/z-dynamic-undefined-weak/d.so >+ out/test/elf/x86_64/z-dynamic-undefined-weak/exe3 >+ grep -q 0 >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.55 sec >---------------------------------------------------------- >Test Passed. >"x86_64-z-dynamic-undefined-weak" end time: Feb 09 00:20 CET >"x86_64-z-dynamic-undefined-weak" time elapsed: 00:00:00 >---------------------------------------------------------- > >286/293 Testing: x86_64-z-max-page-size >286/293 Test: x86_64-z-max-page-size >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/z-max-page-size.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-z-max-page-size" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/z-max-page-size.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/z-max-page-size.sh .sh >++ testname=z-max-page-size >++ echo -n 'Testing z-max-page-size ... ' >Testing z-max-page-size ... ++ t=out/test/elf/x86_64/z-max-page-size >++ mkdir -p out/test/elf/x86_64/z-max-page-size >+ cat >+ cc -o out/test/elf/x86_64/z-max-page-size/a.o -c -xc - >+ cc -B. -o out/test/elf/x86_64/z-max-page-size/exe1 out/test/elf/x86_64/z-max-page-size/a.o -Wl,-z,max-page-size=65536 -Wl,-z,separate-loadable-segments >+ out/test/elf/x86_64/z-max-page-size/exe1 >+ grep -q 'Hello world' >+ readelf -W --segments out/test/elf/x86_64/z-max-page-size/exe1 >+ grep -q 'LOAD.*R 0x10000$' >+ cc -B. -o out/test/elf/x86_64/z-max-page-size/exe2 out/test/elf/x86_64/z-max-page-size/a.o -Wl,-zmax-page-size=1048576 -Wl,-z,separate-loadable-segments >+ out/test/elf/x86_64/z-max-page-size/exe2 >+ grep -q 'Hello world' >+ readelf -W --segments out/test/elf/x86_64/z-max-page-size/exe2 >+ grep -q 'LOAD.*R 0x100000$' >+ cc -B. -o out/test/elf/x86_64/z-max-page-size/exe3 out/test/elf/x86_64/z-max-page-size/a.o -Wl,-zmax-page-size=1048576 >+ out/test/elf/x86_64/z-max-page-size/exe3 >+ grep -q 'Hello world' >+ readelf -W --segments out/test/elf/x86_64/z-max-page-size/exe3 >+ grep -q 'LOAD.*R 0x100000$' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.34 sec >---------------------------------------------------------- >Test Passed. >"x86_64-z-max-page-size" end time: Feb 09 00:20 CET >"x86_64-z-max-page-size" time elapsed: 00:00:00 >---------------------------------------------------------- > >287/293 Testing: x86_64-z-nodefaultlib >287/293 Test: x86_64-z-nodefaultlib >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/z-nodefaultlib.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-z-nodefaultlib" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/z-nodefaultlib.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/z-nodefaultlib.sh .sh >++ testname=z-nodefaultlib >++ echo -n 'Testing z-nodefaultlib ... ' >Testing z-nodefaultlib ... ++ t=out/test/elf/x86_64/z-nodefaultlib >++ mkdir -p out/test/elf/x86_64/z-nodefaultlib >+ cat >+ cc -o out/test/elf/x86_64/z-nodefaultlib/a.o -c -xc - >+ cc -B. -o out/test/elf/x86_64/z-nodefaultlib/exe out/test/elf/x86_64/z-nodefaultlib/a.o -Wl,-z,nodefaultlib >+ readelf --dynamic out/test/elf/x86_64/z-nodefaultlib/exe >+ grep -q 'Flags:.*NODEFLIB' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.17 sec >---------------------------------------------------------- >Test Passed. >"x86_64-z-nodefaultlib" end time: Feb 09 00:20 CET >"x86_64-z-nodefaultlib" time elapsed: 00:00:00 >---------------------------------------------------------- > >288/293 Testing: x86_64-z-nodump >288/293 Test: x86_64-z-nodump >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/z-nodump.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-z-nodump" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/z-nodump.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/z-nodump.sh .sh >++ testname=z-nodump >++ echo -n 'Testing z-nodump ... ' >Testing z-nodump ... ++ t=out/test/elf/x86_64/z-nodump >++ mkdir -p out/test/elf/x86_64/z-nodump >+ cat >+ cc -c -o out/test/elf/x86_64/z-nodump/a.o -xc - >+ cc -B. -shared -o out/test/elf/x86_64/z-nodump/b.so out/test/elf/x86_64/z-nodump/a.o >+ readelf --dynamic out/test/elf/x86_64/z-nodump/b.so >+ grep -Eq 'Flags:.*NODUMP' >+ cc -B. -shared -o out/test/elf/x86_64/z-nodump/b.so out/test/elf/x86_64/z-nodump/a.o -Wl,-z,nodump >+ readelf --dynamic out/test/elf/x86_64/z-nodump/b.so >+ grep -Eq 'Flags:.*NODUMP' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.22 sec >---------------------------------------------------------- >Test Passed. >"x86_64-z-nodump" end time: Feb 09 00:20 CET >"x86_64-z-nodump" time elapsed: 00:00:00 >---------------------------------------------------------- > >289/293 Testing: x86_64-z-now >289/293 Test: x86_64-z-now >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/z-now.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-z-now" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/z-now.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/z-now.sh .sh >++ testname=z-now >++ echo -n 'Testing z-now ... ' >Testing z-now ... ++ t=out/test/elf/x86_64/z-now >++ mkdir -p out/test/elf/x86_64/z-now >+ cat >+ cc -o out/test/elf/x86_64/z-now/a.o -c -xc - >+ cc -B. -o out/test/elf/x86_64/z-now/exe out/test/elf/x86_64/z-now/a.o -Wl,-z,now >+ out/test/elf/x86_64/z-now/exe >+ grep -q 'Hello world' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.17 sec >---------------------------------------------------------- >Test Passed. >"x86_64-z-now" end time: Feb 09 00:20 CET >"x86_64-z-now" time elapsed: 00:00:00 >---------------------------------------------------------- > >290/293 Testing: x86_64-z-origin >290/293 Test: x86_64-z-origin >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/z-origin.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-z-origin" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/z-origin.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/z-origin.sh .sh >++ testname=z-origin >++ echo -n 'Testing z-origin ... ' >Testing z-origin ... ++ t=out/test/elf/x86_64/z-origin >++ mkdir -p out/test/elf/x86_64/z-origin >+ cat >+ cc -c -o out/test/elf/x86_64/z-origin/a.o -xc - >+ cc -B. -o out/test/elf/x86_64/z-origin/exe out/test/elf/x86_64/z-origin/a.o -Wl,-z,origin >+ readelf --dynamic out/test/elf/x86_64/z-origin/exe >+ grep -Eq '\(FLAGS\)\s+ORIGIN' >+ readelf --dynamic out/test/elf/x86_64/z-origin/exe >+ grep -Eq 'Flags:.*ORIGIN' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.17 sec >---------------------------------------------------------- >Test Passed. >"x86_64-z-origin" end time: Feb 09 00:20 CET >"x86_64-z-origin" time elapsed: 00:00:00 >---------------------------------------------------------- > >291/293 Testing: x86_64-z-separate-code >291/293 Test: x86_64-z-separate-code >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/z-separate-code.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-z-separate-code" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/z-separate-code.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/z-separate-code.sh .sh >++ testname=z-separate-code >++ echo -n 'Testing z-separate-code ... ' >Testing z-separate-code ... ++ t=out/test/elf/x86_64/z-separate-code >++ mkdir -p out/test/elf/x86_64/z-separate-code >+ ldd --help >+ grep -q musl >+ skip >+ echo skipped >skipped >+ trap - EXIT >+ exit 0 ><end of output> >Test time = 0.05 sec >---------------------------------------------------------- >Test Pass Reason: >Skip regular expression found in output. Regex=[skipped] >"x86_64-z-separate-code" end time: Feb 09 00:20 CET >"x86_64-z-separate-code" time elapsed: 00:00:00 >---------------------------------------------------------- > >292/293 Testing: x86_64-z-start-stop-visibility >292/293 Test: x86_64-z-start-stop-visibility >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/z-start-stop-visibility.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-z-start-stop-visibility" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/z-start-stop-visibility.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/z-start-stop-visibility.sh .sh >++ testname=z-start-stop-visibility >++ echo -n 'Testing z-start-stop-visibility ... ' >Testing z-start-stop-visibility ... ++ t=out/test/elf/x86_64/z-start-stop-visibility >++ mkdir -p out/test/elf/x86_64/z-start-stop-visibility >+ ./mold -z start-stop-visibility=hidden --version >+ ./mold -z start-stop-visibility=protected --version >+ grep -q 'unsupported visibility: protected' out/test/elf/x86_64/z-start-stop-visibility/log >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.07 sec >---------------------------------------------------------- >Test Passed. >"x86_64-z-start-stop-visibility" end time: Feb 09 00:20 CET >"x86_64-z-start-stop-visibility" time elapsed: 00:00:00 >---------------------------------------------------------- > >293/293 Testing: x86_64-z-unknown >293/293 Test: x86_64-z-unknown >Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/z-unknown.sh" >Directory: /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1_build >"x86_64-z-unknown" start time: Feb 09 00:20 CET >Output: >---------------------------------------------------------- >++ dirname /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/z-unknown.sh >+ . /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/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 /var/tmp/portage/sys-devel/mold-1.10.1/work/mold-1.10.1/test/elf/z-unknown.sh .sh >++ testname=z-unknown >++ echo -n 'Testing z-unknown ... ' >Testing z-unknown ... ++ t=out/test/elf/x86_64/z-unknown >++ mkdir -p out/test/elf/x86_64/z-unknown >+ ./mold -z no-such-opt >+ grep -q 'unknown command line option: -z no-such-opt' >+ ./mold -zno-such-opt >+ grep -q 'unknown command line option: -zno-such-opt' >+ on_exit >+ echo OK >OK >+ exit 0 ><end of output> >Test time = 0.06 sec >---------------------------------------------------------- >Test Passed. >"x86_64-z-unknown" end time: Feb 09 00:20 CET >"x86_64-z-unknown" time elapsed: 00:00:00 >---------------------------------------------------------- > >End testing: Feb 09 00:20 CET
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 894260
:
850958
|
850960
| 850962 |
874708
|
874709