Start testing: Oct 07 08:28 UTC ---------------------------------------------------------- 1/256 Testing: x86_64-abs-error.sh 1/256 Test: x86_64-abs-error.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/abs-error.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-abs-error.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 -o x86_64 = ppc64le ']' + 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 + echo OK OK Test time = 0.13 sec ---------------------------------------------------------- Test Passed. "x86_64-abs-error.sh" end time: Oct 07 08:28 UTC "x86_64-abs-error.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 2/256 Testing: x86_64-absolute-symbols.sh 2/256 Test: x86_64-absolute-symbols.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/absolute-symbols.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-absolute-symbols.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 = x86_64 ']' + 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=0x800000$' + echo OK OK Test time = 0.14 sec ---------------------------------------------------------- Test Passed. "x86_64-absolute-symbols.sh" end time: Oct 07 08:28 UTC "x86_64-absolute-symbols.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 5/256 Testing: x86_64-arm32-thumb-interwork.sh 5/256 Test: x86_64-arm32-thumb-interwork.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/arm32-thumb-interwork.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-arm32-thumb-interwork.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/arm32-thumb-interwork.sh .sh + testname=arm32-thumb-interwork + echo -n 'Testing arm32-thumb-interwork ... ' Testing arm32-thumb-interwork ... + t=out/test/elf/x86_64/arm32-thumb-interwork + mkdir -p out/test/elf/x86_64/arm32-thumb-interwork + [[ x86_64 == arm* ]] + echo skipped skipped + exit Test time = 0.02 sec ---------------------------------------------------------- Test Passed. "x86_64-arm32-thumb-interwork.sh" end time: Oct 07 08:28 UTC "x86_64-arm32-thumb-interwork.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 4/256 Testing: x86_64-ar-alignment.sh 4/256 Test: x86_64-ar-alignment.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/ar-alignment.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-ar-alignment.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.21 sec ---------------------------------------------------------- Test Passed. "x86_64-ar-alignment.sh" end time: Oct 07 08:28 UTC "x86_64-ar-alignment.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 3/256 Testing: x86_64-allow-multiple-definition.sh 3/256 Test: x86_64-allow-multiple-definition.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/allow-multiple-definition.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-allow-multiple-definition.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.26 sec ---------------------------------------------------------- Test Passed. "x86_64-allow-multiple-definition.sh" end time: Oct 07 08:28 UTC "x86_64-allow-multiple-definition.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 9/256 Testing: x86_64-auxiliary.sh 9/256 Test: x86_64-auxiliary.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/auxiliary.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-auxiliary.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.05 sec ---------------------------------------------------------- Test Passed. "x86_64-auxiliary.sh" end time: Oct 07 08:28 UTC "x86_64-auxiliary.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 10/256 Testing: x86_64-basic.sh 10/256 Test: x86_64-basic.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/basic.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-basic.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/basic.sh .sh + testname=basic + echo -n 'Testing basic ... ' Testing basic ... + t=out/test/elf/x86_64/basic + mkdir -p out/test/elf/x86_64/basic + '[' x86_64 = x86_64 ']' + echo 'int main() {}' + cc -o /dev/null -xc - -static + echo '.globl _start; _start: jmp loop' + cc -o out/test/elf/x86_64/basic/a.o -c -x assembler - + echo '.globl loop; loop: jmp loop' + cc -o out/test/elf/x86_64/basic/b.o -c -x assembler - + ./mold -static -o out/test/elf/x86_64/basic/exe out/test/elf/x86_64/basic/a.o out/test/elf/x86_64/basic/b.o + objdump -d out/test/elf/x86_64/basic/exe + file out/test/elf/x86_64/basic/exe + grep -q ELF + echo OK OK Test time = 0.12 sec ---------------------------------------------------------- Test Passed. "x86_64-basic.sh" end time: Oct 07 08:28 UTC "x86_64-basic.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 7/256 Testing: x86_64-as-needed.sh 7/256 Test: x86_64-as-needed.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/as-needed.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-as-needed.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.30 sec ---------------------------------------------------------- Test Passed. "x86_64-as-needed.sh" end time: Oct 07 08:28 UTC "x86_64-as-needed.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 6/256 Testing: x86_64-as-needed-weak.sh 6/256 Test: x86_64-as-needed-weak.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/as-needed-weak.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-as-needed-weak.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.32 sec ---------------------------------------------------------- Test Passed. "x86_64-as-needed-weak.sh" end time: Oct 07 08:28 UTC "x86_64-as-needed-weak.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 8/256 Testing: x86_64-as-needed2.sh 8/256 Test: x86_64-as-needed2.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/as-needed2.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-as-needed2.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 -shared -fPIC -o out/test/elf/x86_64/as-needed2/c.so -xc - + 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 + 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 + echo OK OK Test time = 0.34 sec ---------------------------------------------------------- Test Passed. "x86_64-as-needed2.sh" end time: Oct 07 08:28 UTC "x86_64-as-needed2.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 14/256 Testing: x86_64-bug178.sh 14/256 Test: x86_64-bug178.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/bug178.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-bug178.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.05 sec ---------------------------------------------------------- Test Passed. "x86_64-bug178.sh" end time: Oct 07 08:28 UTC "x86_64-bug178.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 11/256 Testing: x86_64-bno-symbolic.sh 11/256 Test: x86_64-bno-symbolic.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/bno-symbolic.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-bno-symbolic.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + 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' + echo OK OK Test time = 0.21 sec ---------------------------------------------------------- Test Passed. "x86_64-bno-symbolic.sh" end time: Oct 07 08:28 UTC "x86_64-bno-symbolic.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 12/256 Testing: x86_64-bsymbolic-functions.sh 12/256 Test: x86_64-bsymbolic-functions.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/bsymbolic-functions.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-bsymbolic-functions.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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' + echo OK OK Test time = 0.21 sec ---------------------------------------------------------- Test Passed. "x86_64-bsymbolic-functions.sh" end time: Oct 07 08:28 UTC "x86_64-bsymbolic-functions.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 13/256 Testing: x86_64-bsymbolic.sh 13/256 Test: x86_64-bsymbolic.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/bsymbolic.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-bsymbolic.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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' + echo OK OK Test time = 0.22 sec ---------------------------------------------------------- Test Passed. "x86_64-bsymbolic.sh" end time: Oct 07 08:28 UTC "x86_64-bsymbolic.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 17/256 Testing: x86_64-cmdline.sh 17/256 Test: x86_64-cmdline.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/cmdline.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-cmdline.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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' + echo OK OK Test time = 0.05 sec ---------------------------------------------------------- Test Passed. "x86_64-cmdline.sh" end time: Oct 07 08:28 UTC "x86_64-cmdline.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 18/256 Testing: x86_64-color-diagnostics.sh 18/256 Test: x86_64-color-diagnostics.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/color-diagnostics.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-color-diagnostics.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.12 sec ---------------------------------------------------------- Test Passed. "x86_64-color-diagnostics.sh" end time: Oct 07 08:28 UTC "x86_64-color-diagnostics.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 19/256 Testing: x86_64-comment.sh 19/256 Test: x86_64-comment.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/comment.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-comment.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 mold + echo OK OK Test time = 0.11 sec ---------------------------------------------------------- Test Passed. "x86_64-comment.sh" end time: Oct 07 08:28 UTC "x86_64-comment.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 16/256 Testing: x86_64-canonical-plt.sh 16/256 Test: x86_64-canonical-plt.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/canonical-plt.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-canonical-plt.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + 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$' + echo OK OK Test time = 0.24 sec ---------------------------------------------------------- Test Passed. "x86_64-canonical-plt.sh" end time: Oct 07 08:28 UTC "x86_64-canonical-plt.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 22/256 Testing: x86_64-common.sh 22/256 Test: x86_64-common.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/common.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-common.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.16 sec ---------------------------------------------------------- Test Passed. "x86_64-common.sh" end time: Oct 07 08:28 UTC "x86_64-common.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 21/256 Testing: x86_64-common-ref.sh 21/256 Test: x86_64-common-ref.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/common-ref.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-common-ref.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.22 sec ---------------------------------------------------------- Test Passed. "x86_64-common-ref.sh" end time: Oct 07 08:28 UTC "x86_64-common-ref.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 20/256 Testing: x86_64-common-archive.sh 20/256 Test: x86_64-common-archive.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/common-archive.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-common-archive.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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' + echo OK OK Test time = 0.34 sec ---------------------------------------------------------- Test Passed. "x86_64-common-archive.sh" end time: Oct 07 08:28 UTC "x86_64-common-archive.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 23/256 Testing: x86_64-compress-debug-sections-zstd.sh 23/256 Test: x86_64-compress-debug-sections-zstd.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/compress-debug-sections-zstd.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-compress-debug-sections-zstd.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 == x86_64 ']' + 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 + echo OK OK Test time = 0.13 sec ---------------------------------------------------------- Test Passed. "x86_64-compress-debug-sections-zstd.sh" end time: Oct 07 08:28 UTC "x86_64-compress-debug-sections-zstd.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 15/256 Testing: x86_64-build-id.sh 15/256 Test: x86_64-build-id.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/build-id.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-build-id.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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' + echo OK OK Test time = 0.58 sec ---------------------------------------------------------- Test Passed. "x86_64-build-id.sh" end time: Oct 07 08:28 UTC "x86_64-build-id.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 24/256 Testing: x86_64-copyrel-protected.sh 24/256 Test: x86_64-copyrel-protected.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/copyrel-protected.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-copyrel-protected.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 = ppc64le ']' + 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 + echo OK OK Test time = 0.17 sec ---------------------------------------------------------- Test Passed. "x86_64-copyrel-protected.sh" end time: Oct 07 08:28 UTC "x86_64-copyrel-protected.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 25/256 Testing: x86_64-copyrel-relro.sh 25/256 Test: x86_64-copyrel-relro.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/copyrel-relro.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-copyrel-relro.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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$' + echo OK OK Test time = 0.18 sec ---------------------------------------------------------- Test Passed. "x86_64-copyrel-relro.sh" end time: Oct 07 08:28 UTC "x86_64-copyrel-relro.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 28/256 Testing: x86_64-default-symver.sh 28/256 Test: x86_64-default-symver.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/default-symver.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-default-symver.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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$' + echo OK OK Test time = 0.16 sec ---------------------------------------------------------- Test Passed. "x86_64-default-symver.sh" end time: Oct 07 08:28 UTC "x86_64-default-symver.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 27/256 Testing: x86_64-debug-macro-section.sh 27/256 Test: x86_64-debug-macro-section.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/debug-macro-section.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-debug-macro-section.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.19 sec ---------------------------------------------------------- Test Passed. "x86_64-debug-macro-section.sh" end time: Oct 07 08:28 UTC "x86_64-debug-macro-section.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 26/256 Testing: x86_64-copyrel.sh 26/256 Test: x86_64-copyrel.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/copyrel.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-copyrel.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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' + echo OK OK Test time = 0.24 sec ---------------------------------------------------------- Test Passed. "x86_64-copyrel.sh" end time: Oct 07 08:28 UTC "x86_64-copyrel.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 29/256 Testing: x86_64-defsym.sh 29/256 Test: x86_64-defsym.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/defsym.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-defsym.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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$' + echo OK OK Test time = 0.12 sec ---------------------------------------------------------- Test Passed. "x86_64-defsym.sh" end time: Oct 07 08:28 UTC "x86_64-defsym.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 31/256 Testing: x86_64-demangle-rust.sh 31/256 Test: x86_64-demangle-rust.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/demangle-rust.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-demangle-rust.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + '[' x86_64 = x86_64 ']' + cat + cc -c -o out/test/elf/x86_64/demangle-rust/a.o -xassembler - + cc -B. -o out/test/elf/x86_64/demangle-rust/exe out/test/elf/x86_64/demangle-rust/a.o + grep -Fq ' as core::iter::iterator::Iterator>::rposition::::{closure#0}' out/test/elf/x86_64/demangle-rust/log + echo OK OK Test time = 0.08 sec ---------------------------------------------------------- Test Passed. "x86_64-demangle-rust.sh" end time: Oct 07 08:28 UTC "x86_64-demangle-rust.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 30/256 Testing: x86_64-defsym2.sh 30/256 Test: x86_64-defsym2.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/defsym2.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-defsym2.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.11 sec ---------------------------------------------------------- Test Passed. "x86_64-defsym2.sh" end time: Oct 07 08:28 UTC "x86_64-defsym2.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 33/256 Testing: x86_64-dependency-file.sh 33/256 Test: x86_64-dependency-file.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/dependency-file.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-dependency-file.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.12 sec ---------------------------------------------------------- Test Passed. "x86_64-dependency-file.sh" end time: Oct 07 08:28 UTC "x86_64-dependency-file.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 35/256 Testing: x86_64-discard.sh 35/256 Test: x86_64-discard.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/discard.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-discard.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.13 sec ---------------------------------------------------------- Test Passed. "x86_64-discard.sh" end time: Oct 07 08:28 UTC "x86_64-discard.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 34/256 Testing: x86_64-disable-new-dtags.sh 34/256 Test: x86_64-disable-new-dtags.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/disable-new-dtags.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-disable-new-dtags.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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' + echo OK OK Test time = 0.22 sec ---------------------------------------------------------- Test Passed. "x86_64-disable-new-dtags.sh" end time: Oct 07 08:28 UTC "x86_64-disable-new-dtags.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 32/256 Testing: x86_64-demangle.sh 32/256 Test: x86_64-demangle.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/demangle.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-demangle.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.33 sec ---------------------------------------------------------- Test Passed. "x86_64-demangle.sh" end time: Oct 07 08:28 UTC "x86_64-demangle.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 39/256 Testing: x86_64-duplicate-error.sh 39/256 Test: x86_64-duplicate-error.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/duplicate-error.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-duplicate-error.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.04 sec ---------------------------------------------------------- Test Passed. "x86_64-duplicate-error.sh" end time: Oct 07 08:28 UTC "x86_64-duplicate-error.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 36/256 Testing: x86_64-dso-undef.sh 36/256 Test: x86_64-dso-undef.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/dso-undef.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-dso-undef.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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$' + echo OK OK Test time = 0.25 sec ---------------------------------------------------------- Test Passed. "x86_64-dso-undef.sh" end time: Oct 07 08:28 UTC "x86_64-dso-undef.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 41/256 Testing: x86_64-dynamic-linker.sh 41/256 Test: x86_64-dynamic-linker.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/dynamic-linker.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-dynamic-linker.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.07 sec ---------------------------------------------------------- Test Passed. "x86_64-dynamic-linker.sh" end time: Oct 07 08:28 UTC "x86_64-dynamic-linker.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 37/256 Testing: x86_64-dt-init.sh 37/256 Test: x86_64-dt-init.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/dt-init.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-dt-init.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 ']' + 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 + echo OK OK Test time = 0.33 sec ---------------------------------------------------------- Test Passed. "x86_64-dt-init.sh" end time: Oct 07 08:28 UTC "x86_64-dt-init.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 40/256 Testing: x86_64-dynamic-dt-debug.sh 40/256 Test: x86_64-dynamic-dt-debug.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/dynamic-dt-debug.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-dynamic-dt-debug.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.23 sec ---------------------------------------------------------- Test Passed. "x86_64-dynamic-dt-debug.sh" end time: Oct 07 08:28 UTC "x86_64-dynamic-dt-debug.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 38/256 Testing: x86_64-dt-needed.sh 38/256 Test: x86_64-dt-needed.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/dt-needed.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-dt-needed.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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]' + echo OK OK Test time = 0.41 sec ---------------------------------------------------------- Test Passed. "x86_64-dt-needed.sh" end time: Oct 07 08:28 UTC "x86_64-dt-needed.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 42/256 Testing: x86_64-dynamic-list.sh 42/256 Test: x86_64-dynamic-list.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/dynamic-list.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-dynamic-list.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.31 sec ---------------------------------------------------------- Test Passed. "x86_64-dynamic-list.sh" end time: Oct 07 08:28 UTC "x86_64-dynamic-list.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 44/256 Testing: x86_64-dynamic-list3.sh 44/256 Test: x86_64-dynamic-list3.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/dynamic-list3.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-dynamic-list3.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.22 sec ---------------------------------------------------------- Test Passed. "x86_64-dynamic-list3.sh" end time: Oct 07 08:28 UTC "x86_64-dynamic-list3.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 45/256 Testing: x86_64-dynamic.sh 45/256 Test: x86_64-dynamic.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/dynamic.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-dynamic.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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\s+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 - + echo OK OK Test time = 0.15 sec ---------------------------------------------------------- Test Passed. "x86_64-dynamic.sh" end time: Oct 07 08:28 UTC "x86_64-dynamic.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 43/256 Testing: x86_64-dynamic-list2.sh 43/256 Test: x86_64-dynamic-list2.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/dynamic-list2.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-dynamic-list2.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.31 sec ---------------------------------------------------------- Test Passed. "x86_64-dynamic-list2.sh" end time: Oct 07 08:28 UTC "x86_64-dynamic-list2.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 48/256 Testing: x86_64-empty-input.sh 48/256 Test: x86_64-empty-input.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/empty-input.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-empty-input.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.06 sec ---------------------------------------------------------- Test Passed. "x86_64-empty-input.sh" end time: Oct 07 08:28 UTC "x86_64-empty-input.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 46/256 Testing: x86_64-emit-relocs.sh 46/256 Test: x86_64-emit-relocs.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/emit-relocs.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-emit-relocs.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + '[' x86_64 = x86_64 ']' + 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' + echo OK OK Test time = 0.12 sec ---------------------------------------------------------- Test Passed. "x86_64-emit-relocs.sh" end time: Oct 07 08:28 UTC "x86_64-emit-relocs.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 47/256 Testing: x86_64-empty-file.sh 47/256 Test: x86_64-empty-file.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/empty-file.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-empty-file.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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' + echo OK OK Test time = 0.12 sec ---------------------------------------------------------- Test Passed. "x86_64-empty-file.sh" end time: Oct 07 08:28 UTC "x86_64-empty-file.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 49/256 Testing: x86_64-empty-version.sh 49/256 Test: x86_64-empty-version.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/empty-version.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-empty-version.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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$' + echo OK OK Test time = 0.12 sec ---------------------------------------------------------- Test Passed. "x86_64-empty-version.sh" end time: Oct 07 08:28 UTC "x86_64-empty-version.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 50/256 Testing: x86_64-emulation-deduction.sh 50/256 Test: x86_64-emulation-deduction.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/emulation-deduction.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-emulation-deduction.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/emulation-deduction.sh .sh + testname=emulation-deduction + echo -n 'Testing emulation-deduction ... ' Testing emulation-deduction ... + t=out/test/elf/x86_64/emulation-deduction + mkdir -p out/test/elf/x86_64/emulation-deduction + '[' x86_64 = x86_64 ']' + cat + cc -o out/test/elf/x86_64/emulation-deduction/a.o -c -xc - + ./mold -o out/test/elf/x86_64/emulation-deduction/exe out/test/elf/x86_64/emulation-deduction/a.o + readelf --file-header out/test/elf/x86_64/emulation-deduction/exe + grep -qi x86-64 + echo OK OK Test time = 0.08 sec ---------------------------------------------------------- Test Passed. "x86_64-emulation-deduction.sh" end time: Oct 07 08:28 UTC "x86_64-emulation-deduction.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 51/256 Testing: x86_64-entry.sh 51/256 Test: x86_64-entry.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/entry.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-entry.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 = x86_64 ']' + cat + cc -o out/test/elf/x86_64/entry/a.o -c -x assembler - + ./mold -e foo -o out/test/elf/x86_64/entry/exe out/test/elf/x86_64/entry/a.o + readelf -e out/test/elf/x86_64/entry/exe + grep -q 'Entry point address:.*0x201000' out/test/elf/x86_64/entry/log + ./mold -e bar -o out/test/elf/x86_64/entry/exe out/test/elf/x86_64/entry/a.o + readelf -e out/test/elf/x86_64/entry/exe + grep -q 'Entry point address:.*0x201008' out/test/elf/x86_64/entry/log + ./mold -o out/test/elf/x86_64/entry/exe out/test/elf/x86_64/entry/a.o + readelf -e out/test/elf/x86_64/entry/exe + grep -q 'Entry point address:.*0x201000' out/test/elf/x86_64/entry/log + echo OK OK Test time = 0.09 sec ---------------------------------------------------------- Test Passed. "x86_64-entry.sh" end time: Oct 07 08:28 UTC "x86_64-entry.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 55/256 Testing: x86_64-exclude-libs2.sh 55/256 Test: x86_64-exclude-libs2.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/exclude-libs2.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-exclude-libs2.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.13 sec ---------------------------------------------------------- Test Passed. "x86_64-exclude-libs2.sh" end time: Oct 07 08:28 UTC "x86_64-exclude-libs2.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 52/256 Testing: x86_64-exception-mcmodel-large.sh 52/256 Test: x86_64-exception-mcmodel-large.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/exception-mcmodel-large.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-exception-mcmodel-large.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/exception-mcmodel-large.sh .sh + testname=exception-mcmodel-large + echo -n 'Testing exception-mcmodel-large ... ' Testing exception-mcmodel-large ... + t=out/test/elf/x86_64/exception-mcmodel-large + mkdir -p out/test/elf/x86_64/exception-mcmodel-large + '[' x86_64 = x86_64 ']' + cat + c++ -c -o out/test/elf/x86_64/exception-mcmodel-large/a.o -xc++ -fPIC - + c++ -B. -o out/test/elf/x86_64/exception-mcmodel-large/exe out/test/elf/x86_64/exception-mcmodel-large/a.o -mcmodel=large + out/test/elf/x86_64/exception-mcmodel-large/exe + echo 'int main() {}' + cc -o /dev/null -xc - -static + c++ -B. -o out/test/elf/x86_64/exception-mcmodel-large/exe out/test/elf/x86_64/exception-mcmodel-large/a.o -static -mcmodel=large + out/test/elf/x86_64/exception-mcmodel-large/exe + echo OK OK Test time = 0.24 sec ---------------------------------------------------------- Test Passed. "x86_64-exception-mcmodel-large.sh" end time: Oct 07 08:28 UTC "x86_64-exception-mcmodel-large.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 56/256 Testing: x86_64-exclude-libs3.sh 56/256 Test: x86_64-exclude-libs3.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/exclude-libs3.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-exclude-libs3.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.18 sec ---------------------------------------------------------- Test Passed. "x86_64-exclude-libs3.sh" end time: Oct 07 08:28 UTC "x86_64-exclude-libs3.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 57/256 Testing: x86_64-execstack-if-needed.sh 57/256 Test: x86_64-execstack-if-needed.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/execstack-if-needed.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-execstack-if-needed.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/execstack-if-needed.sh .sh + testname=execstack-if-needed + echo -n 'Testing execstack-if-needed ... ' Testing execstack-if-needed ... + t=out/test/elf/x86_64/execstack-if-needed + mkdir -p out/test/elf/x86_64/execstack-if-needed + '[' x86_64 = x86_64 ']' + cat + cc -c -xassembler -o out/test/elf/x86_64/execstack-if-needed/a.o - + cc -B. -o out/test/elf/x86_64/execstack-if-needed/exe out/test/elf/x86_64/execstack-if-needed/a.o + readelf --segments -W out/test/elf/x86_64/execstack-if-needed/exe + grep -q 'GNU_STACK.* RW ' + cc -B. -o out/test/elf/x86_64/execstack-if-needed/exe out/test/elf/x86_64/execstack-if-needed/a.o -Wl,-z,execstack-if-needed + readelf --segments -W out/test/elf/x86_64/execstack-if-needed/exe + grep -q 'GNU_STACK.* RWE ' + echo OK OK Test time = 0.14 sec ---------------------------------------------------------- Test Passed. "x86_64-execstack-if-needed.sh" end time: Oct 07 08:28 UTC "x86_64-execstack-if-needed.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 54/256 Testing: x86_64-exclude-libs.sh 54/256 Test: x86_64-exclude-libs.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/exclude-libs.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-exclude-libs.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.41 sec ---------------------------------------------------------- Test Passed. "x86_64-exclude-libs.sh" end time: Oct 07 08:28 UTC "x86_64-exclude-libs.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 59/256 Testing: x86_64-export-dynamic.sh 59/256 Test: x86_64-export-dynamic.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/export-dynamic.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-export-dynamic.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 GLOBAL DEFAULT [0-9]+ bar' out/test/elf/x86_64/export-dynamic/log + grep -Eq 'NOTYPE GLOBAL DEFAULT [0-9]+ _start' out/test/elf/x86_64/export-dynamic/log + echo OK OK Test time = 0.11 sec ---------------------------------------------------------- Test Passed. "x86_64-export-dynamic.sh" end time: Oct 07 08:28 UTC "x86_64-export-dynamic.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 58/256 Testing: x86_64-execstack.sh 58/256 Test: x86_64-execstack.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/execstack.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-execstack.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 ' + echo OK OK Test time = 0.22 sec ---------------------------------------------------------- Test Passed. "x86_64-execstack.sh" end time: Oct 07 08:28 UTC "x86_64-execstack.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 60/256 Testing: x86_64-export-from-exe.sh 60/256 Test: x86_64-export-from-exe.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/export-from-exe.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-export-from-exe.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.20 sec ---------------------------------------------------------- Test Passed. "x86_64-export-from-exe.sh" end time: Oct 07 08:28 UTC "x86_64-export-from-exe.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 63/256 Testing: x86_64-filter.sh 63/256 Test: x86_64-filter.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/filter.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-filter.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.05 sec ---------------------------------------------------------- Test Passed. "x86_64-filter.sh" end time: Oct 07 08:28 UTC "x86_64-filter.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 61/256 Testing: x86_64-fatal-warnings.sh 61/256 Test: x86_64-fatal-warnings.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/fatal-warnings.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-fatal-warnings.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.21 sec ---------------------------------------------------------- Test Passed. "x86_64-fatal-warnings.sh" end time: Oct 07 08:28 UTC "x86_64-fatal-warnings.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 64/256 Testing: x86_64-func-addr.sh 64/256 Test: x86_64-func-addr.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/func-addr.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-func-addr.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.19 sec ---------------------------------------------------------- Test Passed. "x86_64-func-addr.sh" end time: Oct 07 08:28 UTC "x86_64-func-addr.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 53/256 Testing: x86_64-exception.sh 53/256 Test: x86_64-exception.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/exception.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-exception.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + static=1 + echo 'int main() {}' + cc -o /dev/null -xc - -static + 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 + '[' 1 = 1 ']' + c++ -B. -o out/test/elf/x86_64/exception/exe1 out/test/elf/x86_64/exception/b.o -static + out/test/elf/x86_64/exception/exe1 + '[' 1 = 1 ']' + c++ -B. -o out/test/elf/x86_64/exception/exe2 out/test/elf/x86_64/exception/c.o -static + 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 + '[' 1 = 1 ']' + c++ -B. -o out/test/elf/x86_64/exception/exe6 out/test/elf/x86_64/exception/c.o -static -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 + '[' 1 = 1 ']' + c++ -B. -o out/test/elf/x86_64/exception/exe7 out/test/elf/x86_64/exception/d.o -static + 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 + '[' 1 = 1 ']' + c++ -B. -o out/test/elf/x86_64/exception/exe9 out/test/elf/x86_64/exception/e.o -static + 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 + echo OK OK Test time = 0.88 sec ---------------------------------------------------------- Test Passed. "x86_64-exception.sh" end time: Oct 07 08:28 UTC "x86_64-exception.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 62/256 Testing: x86_64-filler.sh 62/256 Test: x86_64-filler.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/filler.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-filler.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo 'int main() {}' + cc -o /dev/null -xc - -static + 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 + hexdump -C 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 + hexdump -C out/test/elf/x86_64/filler/exe2 + diff -q out/test/elf/x86_64/filler/txt1 out/test/elf/x86_64/filler/txt2 + echo OK OK Test time = 0.32 sec ---------------------------------------------------------- Test Passed. "x86_64-filler.sh" end time: Oct 07 08:28 UTC "x86_64-filler.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 66/256 Testing: x86_64-gdb-index-empty.sh 66/256 Test: x86_64-gdb-index-empty.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/gdb-index-empty.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-gdb-index-empty.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.08 sec ---------------------------------------------------------- Test Passed. "x86_64-gdb-index-empty.sh" end time: Oct 07 08:28 UTC "x86_64-gdb-index-empty.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 65/256 Testing: x86_64-gc-sections.sh 65/256 Test: x86_64-gc-sections.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/gc-sections.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-gc-sections.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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' + echo OK OK Test time = 0.29 sec ---------------------------------------------------------- Test Passed. "x86_64-gc-sections.sh" end time: Oct 07 08:28 UTC "x86_64-gc-sections.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 67/256 Testing: x86_64-glibc-2.22-bug.sh 67/256 Test: x86_64-glibc-2.22-bug.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/glibc-2.22-bug.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-glibc-2.22-bug.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + 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' + echo OK OK Test time = 0.11 sec ---------------------------------------------------------- Test Passed. "x86_64-glibc-2.22-bug.sh" end time: Oct 07 08:28 UTC "x86_64-glibc-2.22-bug.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 68/256 Testing: x86_64-global-offset-table.sh 68/256 Test: x86_64-global-offset-table.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/global-offset-table.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-global-offset-table.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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=203000 + '[' x86_64 = x86_64 -o x86_64 = i386 -o x86_64 = i686 ']' + readelf -WS out/test/elf/x86_64/global-offset-table/exe + grep -q '\.got\.plt .*203000 ' + echo OK OK Test time = 0.12 sec ---------------------------------------------------------- Test Passed. "x86_64-global-offset-table.sh" end time: Oct 07 08:28 UTC "x86_64-global-offset-table.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 69/256 Testing: x86_64-gnu-hash.sh 69/256 Test: x86_64-gnu-hash.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/gnu-hash.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-gnu-hash.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.11 sec ---------------------------------------------------------- Test Passed. "x86_64-gnu-hash.sh" end time: Oct 07 08:28 UTC "x86_64-gnu-hash.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 70/256 Testing: x86_64-gnu-linkonce.sh 70/256 Test: x86_64-gnu-linkonce.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/gnu-linkonce.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-gnu-linkonce.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/gnu-linkonce.sh .sh + testname=gnu-linkonce + echo -n 'Testing gnu-linkonce ... ' Testing gnu-linkonce ... + t=out/test/elf/x86_64/gnu-linkonce + mkdir -p out/test/elf/x86_64/gnu-linkonce + '[' x86_64 = x86_64 ']' + cat + cc -o out/test/elf/x86_64/gnu-linkonce/a.o -c -x assembler - + cat + cc -o out/test/elf/x86_64/gnu-linkonce/b.o -c -x assembler - + cat + cc -o out/test/elf/x86_64/gnu-linkonce/c.o -c -xc - + cc -B. -o out/test/elf/x86_64/gnu-linkonce/exe out/test/elf/x86_64/gnu-linkonce/a.o out/test/elf/x86_64/gnu-linkonce/b.o out/test/elf/x86_64/gnu-linkonce/c.o + objdump -d out/test/elf/x86_64/gnu-linkonce/exe + grep -A1 '<__x86.get_pc_thunk.bx>:' + grep -Fq _PROCEDURE_LINKAGE_TABLE_ + echo OK OK Test time = 0.14 sec ---------------------------------------------------------- Test Passed. "x86_64-gnu-linkonce.sh" end time: Oct 07 08:28 UTC "x86_64-gnu-linkonce.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 72/256 Testing: x86_64-gnu-unique.sh 72/256 Test: x86_64-gnu-unique.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/gnu-unique.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-gnu-unique.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.16 sec ---------------------------------------------------------- Test Passed. "x86_64-gnu-unique.sh" end time: Oct 07 08:28 UTC "x86_64-gnu-unique.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 71/256 Testing: x86_64-gnu-retain.sh 71/256 Test: x86_64-gnu-retain.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/gnu-retain.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-gnu-retain.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/gnu-retain.sh .sh + testname=gnu-retain + echo -n 'Testing gnu-retain ... ' Testing gnu-retain ... + t=out/test/elf/x86_64/gnu-retain + mkdir -p out/test/elf/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/gnu-retain/a.o -c -xc - + cat + cc -o out/test/elf/x86_64/gnu-retain/b.o -c -xassembler - + cat + cc -o out/test/elf/x86_64/gnu-retain/c.o -c -xassembler - + cc -B. -o out/test/elf/x86_64/gnu-retain/exe1 out/test/elf/x86_64/gnu-retain/a.o out/test/elf/x86_64/gnu-retain/b.o -Wl,-gc-sections + nm out/test/elf/x86_64/gnu-retain/exe1 + grep -q foo + cc -B. -o out/test/elf/x86_64/gnu-retain/exe1 out/test/elf/x86_64/gnu-retain/a.o out/test/elf/x86_64/gnu-retain/c.o -Wl,-gc-sections + nm out/test/elf/x86_64/gnu-retain/exe1 + grep -q foo out/test/elf/x86_64/gnu-retain/log + echo OK OK Test time = 0.21 sec ---------------------------------------------------------- Test Passed. "x86_64-gnu-retain.sh" end time: Oct 07 08:28 UTC "x86_64-gnu-retain.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 74/256 Testing: x86_64-hash-style.sh 74/256 Test: x86_64-hash-style.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/hash-style.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-hash-style.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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' + echo OK OK Test time = 0.09 sec ---------------------------------------------------------- Test Passed. "x86_64-hash-style.sh" end time: Oct 07 08:28 UTC "x86_64-hash-style.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 73/256 Testing: x86_64-gnu-warning.sh 73/256 Test: x86_64-gnu-warning.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/gnu-warning.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-gnu-warning.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 - + cat + cc -c -o out/test/elf/x86_64/gnu-warning/b.o -xc - + cc -B. -o out/test/elf/x86_64/gnu-warning/exe out/test/elf/x86_64/gnu-warning/a.o out/test/elf/x86_64/gnu-warning/b.o + readelf --sections out/test/elf/x86_64/gnu-warning/exe + grep -Fq .gnu.warning + echo OK OK Test time = 0.16 sec ---------------------------------------------------------- Test Passed. "x86_64-gnu-warning.sh" end time: Oct 07 08:28 UTC "x86_64-gnu-warning.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 77/256 Testing: x86_64-help.sh 77/256 Test: x86_64-help.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/help.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-help.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.02 sec ---------------------------------------------------------- Test Passed. "x86_64-help.sh" end time: Oct 07 08:28 UTC "x86_64-help.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 75/256 Testing: x86_64-hello-dynamic.sh 75/256 Test: x86_64-hello-dynamic.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/hello-dynamic.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-hello-dynamic.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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' + echo OK OK Test time = 0.12 sec ---------------------------------------------------------- Test Passed. "x86_64-hello-dynamic.sh" end time: Oct 07 08:28 UTC "x86_64-hello-dynamic.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 79/256 Testing: x86_64-hidden-weak-undef.sh 79/256 Test: x86_64-hidden-weak-undef.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/hidden-weak-undef.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-hidden-weak-undef.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.11 sec ---------------------------------------------------------- Test Passed. "x86_64-hidden-weak-undef.sh" end time: Oct 07 08:28 UTC "x86_64-hidden-weak-undef.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 80/256 Testing: x86_64-icf-small.sh 80/256 Test: x86_64-icf-small.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/icf-small.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-icf-small.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.08 sec ---------------------------------------------------------- Test Passed. "x86_64-icf-small.sh" end time: Oct 07 08:28 UTC "x86_64-icf-small.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 76/256 Testing: x86_64-hello-static.sh 76/256 Test: x86_64-hello-static.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/hello-static.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-hello-static.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo 'int main() {}' + cc -o /dev/null -xc - -static + 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' + echo OK OK Test time = 0.18 sec ---------------------------------------------------------- Test Passed. "x86_64-hello-static.sh" end time: Oct 07 08:28 UTC "x86_64-hello-static.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 82/256 Testing: x86_64-ifunc-dso.sh 82/256 Test: x86_64-ifunc-dso.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/ifunc-dso.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-ifunc-dso.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + '[' x86_64 = riscv64 -o x86_64 = riscv32 ']' + ldd --help + grep -q musl + echo skipped skipped + exit Test time = 0.02 sec ---------------------------------------------------------- Test Passed. "x86_64-ifunc-dso.sh" end time: Oct 07 08:28 UTC "x86_64-ifunc-dso.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 83/256 Testing: x86_64-ifunc-dynamic.sh 83/256 Test: x86_64-ifunc-dynamic.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/ifunc-dynamic.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-ifunc-dynamic.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + '[' x86_64 = riscv32 ']' + '[' x86_64 = riscv64 ']' + ldd --help + grep -q musl + echo skipped skipped + exit Test time = 0.02 sec ---------------------------------------------------------- Test Passed. "x86_64-ifunc-dynamic.sh" end time: Oct 07 08:28 UTC "x86_64-ifunc-dynamic.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 84/256 Testing: x86_64-ifunc-export.sh 84/256 Test: x86_64-ifunc-export.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/ifunc-export.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-ifunc-export.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + '[' x86_64 = riscv32 ']' + '[' x86_64 = riscv64 ']' + ldd --help + grep -q musl + echo skipped skipped + exit Test time = 0.02 sec ---------------------------------------------------------- Test Passed. "x86_64-ifunc-export.sh" end time: Oct 07 08:28 UTC "x86_64-ifunc-export.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 78/256 Testing: x86_64-hidden-undef.sh 78/256 Test: x86_64-hidden-undef.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/hidden-undef.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-hidden-undef.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.19 sec ---------------------------------------------------------- Test Passed. "x86_64-hidden-undef.sh" end time: Oct 07 08:28 UTC "x86_64-hidden-undef.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 81/256 Testing: x86_64-icf.sh 81/256 Test: x86_64-icf.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/icf.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-icf.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + 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' + echo OK OK Test time = 0.13 sec ---------------------------------------------------------- Test Passed. "x86_64-icf.sh" end time: Oct 07 08:28 UTC "x86_64-icf.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 85/256 Testing: x86_64-ifunc-static.sh 85/256 Test: x86_64-ifunc-static.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/ifunc-static.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-ifunc-static.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo 'int main() {}' + cc -o /dev/null -xc - -static + '[' x86_64 = riscv64 -o x86_64 = riscv32 ']' + ldd --help + grep -q musl + echo skipped skipped + exit Test time = 0.09 sec ---------------------------------------------------------- Test Passed. "x86_64-ifunc-static.sh" end time: Oct 07 08:28 UTC "x86_64-ifunc-static.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 87/256 Testing: x86_64-incompatible-libs.sh 87/256 Test: x86_64-incompatible-libs.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/incompatible-libs.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-incompatible-libs.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/incompatible-libs.sh .sh + testname=incompatible-libs + echo -n 'Testing incompatible-libs ... ' Testing incompatible-libs ... + t=out/test/elf/x86_64/incompatible-libs + mkdir -p out/test/elf/x86_64/incompatible-libs + '[' x86_64 = x86_64 ']' + echo 'int main() {}' + cc -m32 -o out/test/elf/x86_64/incompatible-libs/exe -xc - + echo skipped skipped + exit Test time = 0.08 sec ---------------------------------------------------------- Test Passed. "x86_64-incompatible-libs.sh" end time: Oct 07 08:28 UTC "x86_64-incompatible-libs.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 90/256 Testing: x86_64-init-array-priorities.sh 90/256 Test: x86_64-init-array-priorities.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/init-array-priorities.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-init-array-priorities.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo skipped skipped + exit Test time = 0.02 sec ---------------------------------------------------------- Test Passed. "x86_64-init-array-priorities.sh" end time: Oct 07 08:28 UTC "x86_64-init-array-priorities.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 88/256 Testing: x86_64-incompatible-libs2.sh 88/256 Test: x86_64-incompatible-libs2.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/incompatible-libs2.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-incompatible-libs2.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/incompatible-libs2.sh .sh + testname=incompatible-libs2 + echo -n 'Testing incompatible-libs2 ... ' Testing incompatible-libs2 ... + t=out/test/elf/x86_64/incompatible-libs2 + mkdir -p out/test/elf/x86_64/incompatible-libs2 + '[' x86_64 = x86_64 ']' + echo 'int main() {}' + cc -m32 -o out/test/elf/x86_64/incompatible-libs2/exe -xc - + echo skipped skipped + exit Test time = 0.08 sec ---------------------------------------------------------- Test Passed. "x86_64-incompatible-libs2.sh" end time: Oct 07 08:28 UTC "x86_64-incompatible-libs2.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 89/256 Testing: x86_64-incompatible-obj.sh 89/256 Test: x86_64-incompatible-obj.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/incompatible-obj.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-incompatible-obj.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/incompatible-obj.sh .sh + testname=incompatible-obj + echo -n 'Testing incompatible-obj ... ' Testing incompatible-obj ... + t=out/test/elf/x86_64/incompatible-obj + mkdir -p out/test/elf/x86_64/incompatible-obj + '[' x86_64 = x86_64 ']' + echo 'int main() {}' + cc -m32 -o out/test/elf/x86_64/incompatible-obj/exe -xc - + echo skipped skipped + exit Test time = 0.08 sec ---------------------------------------------------------- Test Passed. "x86_64-incompatible-obj.sh" end time: Oct 07 08:28 UTC "x86_64-incompatible-obj.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 86/256 Testing: x86_64-image-base.sh 86/256 Test: x86_64-image-base.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/image-base.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-image-base.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + '[' x86_64 = x86_64 ']' + 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 + out/test/elf/x86_64/image-base/exe1 + grep -q 'Hello world' + readelf -W --sections out/test/elf/x86_64/image-base/exe1 + grep -Eq '.interp\s+PROGBITS\s+0000000008000...\b' + cat + cc -o out/test/elf/x86_64/image-base/b.o -c -xc - + cc -B. -no-pie -o out/test/elf/x86_64/image-base/exe2 out/test/elf/x86_64/image-base/b.o -nostdlib -Wl,--image-base=0xffffffff80000000 + readelf -W --sections out/test/elf/x86_64/image-base/exe2 + grep -Eq '.interp\s+PROGBITS\s+ffffffff80000...\b' + echo OK OK Test time = 0.20 sec ---------------------------------------------------------- Test Passed. "x86_64-image-base.sh" end time: Oct 07 08:28 UTC "x86_64-image-base.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 91/256 Testing: x86_64-init-array-readonly.sh 91/256 Test: x86_64-init-array-readonly.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/init-array-readonly.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-init-array-readonly.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/init-array-readonly.sh .sh + testname=init-array-readonly + echo -n 'Testing init-array-readonly ... ' Testing init-array-readonly ... + t=out/test/elf/x86_64/init-array-readonly + mkdir -p out/test/elf/x86_64/init-array-readonly + '[' x86_64 = x86_64 ']' + cat + cc -c -o out/test/elf/x86_64/init-array-readonly/a.o -x assembler - + cat + cc -c -o out/test/elf/x86_64/init-array-readonly/b.o -x assembler - + sed -i -e s/init_xxxxx/init_array/g out/test/elf/x86_64/init-array-readonly/b.o + cat + cc -c -o out/test/elf/x86_64/init-array-readonly/c.o -xc - + cc -B. -o out/test/elf/x86_64/init-array-readonly/exe out/test/elf/x86_64/init-array-readonly/a.o out/test/elf/x86_64/init-array-readonly/b.o out/test/elf/x86_64/init-array-readonly/c.o + out/test/elf/x86_64/init-array-readonly/exe + grep -q 'init1 init2' + echo OK OK Test time = 0.15 sec ---------------------------------------------------------- Test Passed. "x86_64-init-array-readonly.sh" end time: Oct 07 08:28 UTC "x86_64-init-array-readonly.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 92/256 Testing: x86_64-init-array.sh 92/256 Test: x86_64-init-array.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/init-array.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-init-array.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/init-array.sh .sh + testname=init-array + echo -n 'Testing init-array ... ' Testing init-array ... + t=out/test/elf/x86_64/init-array + mkdir -p out/test/elf/x86_64/init-array + '[' x86_64 = x86_64 ']' + cat + cc -c -o out/test/elf/x86_64/init-array/a.o -x assembler - + cat + cc -c -o out/test/elf/x86_64/init-array/b.o -xc - + cc -B. -o out/test/elf/x86_64/init-array/exe out/test/elf/x86_64/init-array/a.o out/test/elf/x86_64/init-array/b.o + out/test/elf/x86_64/init-array/exe + grep -q 'init1 init2 fini2 fini1' + echo OK OK Test time = 0.13 sec ---------------------------------------------------------- Test Passed. "x86_64-init-array.sh" end time: Oct 07 08:28 UTC "x86_64-init-array.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 93/256 Testing: x86_64-init-in-dso.sh 93/256 Test: x86_64-init-in-dso.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/init-in-dso.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-init-in-dso.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.18 sec ---------------------------------------------------------- Test Passed. "x86_64-init-in-dso.sh" end time: Oct 07 08:28 UTC "x86_64-init-in-dso.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 94/256 Testing: x86_64-init.sh 94/256 Test: x86_64-init.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/init.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-init.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.16 sec ---------------------------------------------------------- Test Passed. "x86_64-init.sh" end time: Oct 07 08:28 UTC "x86_64-init.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 95/256 Testing: x86_64-initfirst.sh 95/256 Test: x86_64-initfirst.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/initfirst.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-initfirst.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + readelf --dynamic out/test/elf/x86_64/initfirst/b.so + grep -q 'Flags:.*INITFIRST' + echo OK OK Test time = 0.12 sec ---------------------------------------------------------- Test Passed. "x86_64-initfirst.sh" end time: Oct 07 08:28 UTC "x86_64-initfirst.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 96/256 Testing: x86_64-interpose.sh 96/256 Test: x86_64-interpose.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/interpose.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-interpose.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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' + echo OK OK Test time = 0.12 sec ---------------------------------------------------------- Test Passed. "x86_64-interpose.sh" end time: Oct 07 08:28 UTC "x86_64-interpose.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 97/256 Testing: x86_64-invalid-version-script.sh 97/256 Test: x86_64-invalid-version-script.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/invalid-version-script.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-invalid-version-script.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.12 sec ---------------------------------------------------------- Test Passed. "x86_64-invalid-version-script.sh" end time: Oct 07 08:28 UTC "x86_64-invalid-version-script.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 100/256 Testing: x86_64-large-alignment.sh 100/256 Test: x86_64-large-alignment.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/large-alignment.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-large-alignment.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 -o x86_64 = i686 ']' + 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' + echo OK OK Test time = 0.13 sec ---------------------------------------------------------- Test Passed. "x86_64-large-alignment.sh" end time: Oct 07 08:28 UTC "x86_64-large-alignment.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 99/256 Testing: x86_64-large-alignment-dso.sh 99/256 Test: x86_64-large-alignment-dso.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/large-alignment-dso.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-large-alignment-dso.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 -o x86_64 = i686 ']' + 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' + echo OK OK Test time = 0.22 sec ---------------------------------------------------------- Test Passed. "x86_64-large-alignment-dso.sh" end time: Oct 07 08:28 UTC "x86_64-large-alignment-dso.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 101/256 Testing: x86_64-link-order.sh 101/256 Test: x86_64-link-order.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/link-order.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-link-order.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.27 sec ---------------------------------------------------------- Test Passed. "x86_64-link-order.sh" end time: Oct 07 08:28 UTC "x86_64-link-order.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 102/256 Testing: x86_64-linker-script-defsym.sh 102/256 Test: x86_64-linker-script-defsym.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/linker-script-defsym.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-linker-script-defsym.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.22 sec ---------------------------------------------------------- Test Passed. "x86_64-linker-script-defsym.sh" end time: Oct 07 08:28 UTC "x86_64-linker-script-defsym.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 103/256 Testing: x86_64-linker-script.sh 103/256 Test: x86_64-linker-script.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/linker-script.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-linker-script.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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' + echo OK OK Test time = 0.22 sec ---------------------------------------------------------- Test Passed. "x86_64-linker-script.sh" end time: Oct 07 08:28 UTC "x86_64-linker-script.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 104/256 Testing: x86_64-linker-script2.sh 104/256 Test: x86_64-linker-script2.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/linker-script2.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-linker-script2.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.13 sec ---------------------------------------------------------- Test Passed. "x86_64-linker-script2.sh" end time: Oct 07 08:28 UTC "x86_64-linker-script2.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 105/256 Testing: x86_64-linker-script3.sh 105/256 Test: x86_64-linker-script3.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/linker-script3.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-linker-script3.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.12 sec ---------------------------------------------------------- Test Passed. "x86_64-linker-script3.sh" end time: Oct 07 08:28 UTC "x86_64-linker-script3.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 106/256 Testing: x86_64-linker-script4.sh 106/256 Test: x86_64-linker-script4.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/linker-script4.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-linker-script4.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.08 sec ---------------------------------------------------------- Test Passed. "x86_64-linker-script4.sh" end time: Oct 07 08:28 UTC "x86_64-linker-script4.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 108/256 Testing: x86_64-mergeable-records.sh 108/256 Test: x86_64-mergeable-records.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/mergeable-records.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-mergeable-records.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/mergeable-records.sh .sh + testname=mergeable-records + echo -n 'Testing mergeable-records ... ' Testing mergeable-records ... + t=out/test/elf/x86_64/mergeable-records + mkdir -p out/test/elf/x86_64/mergeable-records + echo 'int main() {}' + cc -o /dev/null -xc - -static + '[' x86_64 = x86_64 ']' + cat + cc -o out/test/elf/x86_64/mergeable-records/a.o -c -x assembler - + cc -B. -static -o out/test/elf/x86_64/mergeable-records/exe out/test/elf/x86_64/mergeable-records/a.o + out/test/elf/x86_64/mergeable-records/exe + grep -q '^abcdef$' + out/test/elf/x86_64/mergeable-records/exe + grep -q '^bcdef$' + out/test/elf/x86_64/mergeable-records/exe + grep -q '^ijkl$' + out/test/elf/x86_64/mergeable-records/exe + grep -q '^pqr$' + out/test/elf/x86_64/mergeable-records/exe + grep -q '^mnopqr$' + echo OK OK Test time = 0.16 sec ---------------------------------------------------------- Test Passed. "x86_64-mergeable-records.sh" end time: Oct 07 08:28 UTC "x86_64-mergeable-records.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 109/256 Testing: x86_64-mergeable-strings.sh 109/256 Test: x86_64-mergeable-strings.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/mergeable-strings.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-mergeable-strings.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo 'int main() {}' + cc -o /dev/null -xc - -static + '[' x86_64 = x86_64 ']' + cat + cc -o out/test/elf/x86_64/mergeable-strings/a.o -c -x assembler - + cc -B. -static -o out/test/elf/x86_64/mergeable-strings/exe out/test/elf/x86_64/mergeable-strings/a.o + out/test/elf/x86_64/mergeable-strings/exe + grep -q 'Hello world' + readelf -sW out/test/elf/x86_64/mergeable-strings/exe + grep -Eq '[0-9] foo$' + echo OK OK Test time = 0.15 sec ---------------------------------------------------------- Test Passed. "x86_64-mergeable-strings.sh" end time: Oct 07 08:28 UTC "x86_64-mergeable-strings.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 110/256 Testing: x86_64-missing-but-ok.sh 110/256 Test: x86_64-missing-but-ok.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/missing-but-ok.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-missing-but-ok.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + cat + cc -o out/test/elf/x86_64/missing-but-ok/a.o -c -x assembler - + ./mold -o out/test/elf/x86_64/missing-but-ok/exe out/test/elf/x86_64/missing-but-ok/a.o + echo OK OK Test time = 0.04 sec ---------------------------------------------------------- Test Passed. "x86_64-missing-but-ok.sh" end time: Oct 07 08:28 UTC "x86_64-missing-but-ok.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 111/256 Testing: x86_64-missing-error.sh 111/256 Test: x86_64-missing-error.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/missing-error.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-missing-error.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.06 sec ---------------------------------------------------------- Test Passed. "x86_64-missing-error.sh" end time: Oct 07 08:28 UTC "x86_64-missing-error.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 98/256 Testing: x86_64-issue646.sh 98/256 Test: x86_64-issue646.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/issue646.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-issue646.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + 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' + echo OK OK Test time = 0.81 sec ---------------------------------------------------------- Test Passed. "x86_64-issue646.sh" end time: Oct 07 08:28 UTC "x86_64-issue646.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 114/256 Testing: x86_64-no-eh-frame-header.sh 114/256 Test: x86_64-no-eh-frame-header.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/no-eh-frame-header.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-no-eh-frame-header.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.11 sec ---------------------------------------------------------- Test Passed. "x86_64-no-eh-frame-header.sh" end time: Oct 07 08:28 UTC "x86_64-no-eh-frame-header.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 115/256 Testing: x86_64-no-quick-exit.sh 115/256 Test: x86_64-no-quick-exit.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/no-quick-exit.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-no-quick-exit.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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' + echo OK OK Test time = 0.11 sec ---------------------------------------------------------- Test Passed. "x86_64-no-quick-exit.sh" end time: Oct 07 08:28 UTC "x86_64-no-quick-exit.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 113/256 Testing: x86_64-mold-wrapper2.sh 113/256 Test: x86_64-mold-wrapper2.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/mold-wrapper2.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-mold-wrapper2.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.30 sec ---------------------------------------------------------- Test Passed. "x86_64-mold-wrapper2.sh" end time: Oct 07 08:28 UTC "x86_64-mold-wrapper2.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 112/256 Testing: x86_64-mold-wrapper.sh 112/256 Test: x86_64-mold-wrapper.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/mold-wrapper.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-mold-wrapper.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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.5.1/work/mold-1.5.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 + grep -q 'a.sh execlp' ++ pwd + LD_PRELOAD='/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 execle' ++ pwd + LD_PRELOAD='/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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.5.1/work/mold-1.5.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.5.1/work/mold-1.5.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.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.38 sec ---------------------------------------------------------- Test Passed. "x86_64-mold-wrapper.sh" end time: Oct 07 08:28 UTC "x86_64-mold-wrapper.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 117/256 Testing: x86_64-noinhibit-exec.sh 117/256 Test: x86_64-noinhibit-exec.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/noinhibit-exec.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-noinhibit-exec.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.20 sec ---------------------------------------------------------- Test Passed. "x86_64-noinhibit-exec.sh" end time: Oct 07 08:28 UTC "x86_64-noinhibit-exec.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 116/256 Testing: x86_64-nocopyreloc.sh 116/256 Test: x86_64-nocopyreloc.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/nocopyreloc.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-nocopyreloc.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 = ppc64le ']' + 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 + echo OK OK Test time = 0.23 sec ---------------------------------------------------------- Test Passed. "x86_64-nocopyreloc.sh" end time: Oct 07 08:28 UTC "x86_64-nocopyreloc.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 118/256 Testing: x86_64-non-canonical-plt.sh 118/256 Test: x86_64-non-canonical-plt.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/non-canonical-plt.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-non-canonical-plt.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + cat + cc -o out/test/elf/x86_64/non-canonical-plt/a.so -fPIC -shared -xc - + cat + cc -o out/test/elf/x86_64/non-canonical-plt/b.o -c -xc - -fPIC + cat + cc -o out/test/elf/x86_64/non-canonical-plt/c.o -c -xc - -fPIC + 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' + echo OK OK Test time = 0.24 sec ---------------------------------------------------------- Test Passed. "x86_64-non-canonical-plt.sh" end time: Oct 07 08:28 UTC "x86_64-non-canonical-plt.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 119/256 Testing: x86_64-nostdlib.sh 119/256 Test: x86_64-nostdlib.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/nostdlib.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-nostdlib.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.09 sec ---------------------------------------------------------- Test Passed. "x86_64-nostdlib.sh" end time: Oct 07 08:28 UTC "x86_64-nostdlib.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 120/256 Testing: x86_64-note-property.sh 120/256 Test: x86_64-note-property.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/note-property.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-note-property.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/note-property.sh .sh + testname=note-property + echo -n 'Testing note-property ... ' Testing note-property ... + t=out/test/elf/x86_64/note-property + mkdir -p out/test/elf/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/note-property/a.o -xc - + cat + cc -fcf-protection=none -c -o out/test/elf/x86_64/note-property/b.o -xc - + ./mold -o out/test/elf/x86_64/note-property/exe out/test/elf/x86_64/note-property/a.o + readelf -n out/test/elf/x86_64/note-property/exe + grep -q 'x86 feature: IBT' + ./mold -o out/test/elf/x86_64/note-property/exe out/test/elf/x86_64/note-property/b.o + readelf -n out/test/elf/x86_64/note-property/exe + grep -q 'x86 feature: IBT' + echo OK OK Test time = 0.15 sec ---------------------------------------------------------- Test Passed. "x86_64-note-property.sh" end time: Oct 07 08:28 UTC "x86_64-note-property.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 122/256 Testing: x86_64-note2.sh 122/256 Test: x86_64-note2.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/note2.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-note2.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/note2.sh .sh + testname=note2 + echo -n 'Testing note2 ... ' Testing note2 ... + t=out/test/elf/x86_64/note2 + mkdir -p out/test/elf/x86_64/note2 + '[' x86_64 = x86_64 ']' + cat + cc -o out/test/elf/x86_64/note2/a.o -c -x assembler - + cat + cc -o out/test/elf/x86_64/note2/b.o -c -x assembler - + cat + cc -o out/test/elf/x86_64/note2/c.o -c -x assembler - + cat + cc -o out/test/elf/x86_64/note2/d.o -c -xc - + ./mold -o out/test/elf/x86_64/note2/exe out/test/elf/x86_64/note2/a.o out/test/elf/x86_64/note2/b.o out/test/elf/x86_64/note2/c.o out/test/elf/x86_64/note2/d.o + readelf --segments out/test/elf/x86_64/note2/exe + grep -Fq '01 .note.a .note.c .note.b' out/test/elf/x86_64/note2/log + echo OK OK Test time = 0.12 sec ---------------------------------------------------------- Test Passed. "x86_64-note2.sh" end time: Oct 07 08:28 UTC "x86_64-note2.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 121/256 Testing: x86_64-note.sh 121/256 Test: x86_64-note.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/note.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-note.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/note.sh .sh + testname=note + echo -n 'Testing note ... ' Testing note ... + t=out/test/elf/x86_64/note + mkdir -p out/test/elf/x86_64/note + echo 'int main() {}' + cc -o /dev/null -xc - -static + '[' x86_64 = x86_64 ']' + cat + cc -o out/test/elf/x86_64/note/a.o -c -x assembler - + ./mold -static -o out/test/elf/x86_64/note/exe out/test/elf/x86_64/note/a.o + readelf -W --sections out/test/elf/x86_64/note/exe + grep -Eq '.note.bar\s+NOTE.+000008 00 A 0 0 4' out/test/elf/x86_64/note/log + grep -Eq '.note.baz\s+NOTE.+000008 00 A 0 0 8' out/test/elf/x86_64/note/log + grep -Eq '.note.nonalloc\s+NOTE.+000008 00 0 0 1' out/test/elf/x86_64/note/log + readelf --segments out/test/elf/x86_64/note/exe + grep -Fq '01 .note.baz .note.foo .note.bar' out/test/elf/x86_64/note/log + grep -q 'NOTE.*0x0000000000000000 0x0000000000000000' out/test/elf/x86_64/note/log + echo OK OK Test time = 0.13 sec ---------------------------------------------------------- Test Passed. "x86_64-note.sh" end time: Oct 07 08:28 UTC "x86_64-note.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 124/256 Testing: x86_64-oformat-binary.sh 124/256 Test: x86_64-oformat-binary.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/oformat-binary.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-oformat-binary.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.08 sec ---------------------------------------------------------- Test Passed. "x86_64-oformat-binary.sh" end time: Oct 07 08:28 UTC "x86_64-oformat-binary.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 126/256 Testing: x86_64-pack-dyn-relocs-relr.sh 126/256 Test: x86_64-pack-dyn-relocs-relr.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/pack-dyn-relocs-relr.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-pack-dyn-relocs-relr.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + command -v llvm-readelf + echo skipped skipped + exit Test time = 0.02 sec ---------------------------------------------------------- Test Passed. "x86_64-pack-dyn-relocs-relr.sh" end time: Oct 07 08:28 UTC "x86_64-pack-dyn-relocs-relr.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 123/256 Testing: x86_64-now.sh 123/256 Test: x86_64-now.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/now.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-now.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.17 sec ---------------------------------------------------------- Test Passed. "x86_64-now.sh" end time: Oct 07 08:28 UTC "x86_64-now.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 125/256 Testing: x86_64-omagic.sh 125/256 Test: x86_64-omagic.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/omagic.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-omagic.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo 'int main() {}' + cc -o /dev/null -xc - -static + 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 + echo OK OK Test time = 0.17 sec ---------------------------------------------------------- Test Passed. "x86_64-omagic.sh" end time: Oct 07 08:28 UTC "x86_64-omagic.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 127/256 Testing: x86_64-package-metadata.sh 127/256 Test: x86_64-package-metadata.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/package-metadata.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-package-metadata.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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"}' + readelf -x .note.package out/test/elf/x86_64/package-metadata/exe + grep -Fq '{"foo":"bar"}' + echo OK OK Test time = 0.11 sec ---------------------------------------------------------- Test Passed. "x86_64-package-metadata.sh" end time: Oct 07 08:28 UTC "x86_64-package-metadata.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 128/256 Testing: x86_64-pie.sh 128/256 Test: x86_64-pie.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/pie.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-pie.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + cat + cc -o out/test/elf/x86_64/pie/a.o -c -xc -fPIE - + cc -B. -pie -o out/test/elf/x86_64/pie/exe out/test/elf/x86_64/pie/a.o + readelf --file-header out/test/elf/x86_64/pie/exe + grep -q -E '(Shared object file|Position-Independent Executable file)' + out/test/elf/x86_64/pie/exe + grep -q 'Hello world' + echo OK OK Test time = 0.11 sec ---------------------------------------------------------- Test Passed. "x86_64-pie.sh" end time: Oct 07 08:28 UTC "x86_64-pie.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 107/256 Testing: x86_64-many-sections.sh 107/256 Test: x86_64-many-sections.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/many-sections.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-many-sections.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + '[' x86_64 = x86_64 ']' + seq 1 65500 + sed 's/.*/.section .text.\0, "ax",@progbits/' + cc -c -o out/test/elf/x86_64/many-sections/a.o out/test/elf/x86_64/many-sections/a.s + 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 + echo OK OK Test time = 1.27 sec ---------------------------------------------------------- Test Passed. "x86_64-many-sections.sh" end time: Oct 07 08:28 UTC "x86_64-many-sections.sh" time elapsed: 00:00:01 ---------------------------------------------------------- 130/256 Testing: x86_64-plt.sh 130/256 Test: x86_64-plt.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/plt.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-plt.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/plt.sh .sh + testname=plt + echo -n 'Testing plt ... ' Testing plt ... + t=out/test/elf/x86_64/plt + mkdir -p out/test/elf/x86_64/plt + '[' x86_64 = x86_64 ']' + cat + cc -o out/test/elf/x86_64/plt/a.o -c -x assembler - + cc -B. -o out/test/elf/x86_64/plt/exe out/test/elf/x86_64/plt/a.o + readelf --sections out/test/elf/x86_64/plt/exe + grep -Fq .got + readelf --sections out/test/elf/x86_64/plt/exe + grep -Fq .got.plt + out/test/elf/x86_64/plt/exe + grep -q 'Hello world' + echo OK OK Test time = 0.09 sec ---------------------------------------------------------- Test Passed. "x86_64-plt.sh" end time: Oct 07 08:28 UTC "x86_64-plt.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 131/256 Testing: x86_64-pltgot-x86-64.sh 131/256 Test: x86_64-pltgot-x86-64.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/pltgot-x86-64.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-pltgot-x86-64.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/pltgot-x86-64.sh .sh + testname=pltgot-x86-64 + echo -n 'Testing pltgot-x86-64 ... ' Testing pltgot-x86-64 ... + t=out/test/elf/x86_64/pltgot-x86-64 + mkdir -p out/test/elf/x86_64/pltgot-x86-64 + '[' x86_64 = x86_64 ']' + cat + cc -fPIC -shared -Wl,-z,noexecstack -o out/test/elf/x86_64/pltgot-x86-64/a.so -x assembler - + cat + cc -c -o out/test/elf/x86_64/pltgot-x86-64/b.o -x assembler - + ./mold --pie -o out/test/elf/x86_64/pltgot-x86-64/exe out/test/elf/x86_64/pltgot-x86-64/b.o out/test/elf/x86_64/pltgot-x86-64/a.so + objdump -d -j .plt.got out/test/elf/x86_64/pltgot-x86-64/exe + grep -Eq '1034:.*jmp.* ' out/test/elf/x86_64/pltgot-x86-64/log + echo OK OK Test time = 0.09 sec ---------------------------------------------------------- Test Passed. "x86_64-pltgot-x86-64.sh" end time: Oct 07 08:28 UTC "x86_64-pltgot-x86-64.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 133/256 Testing: x86_64-preinit-array.sh 133/256 Test: x86_64-preinit-array.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/preinit-array.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-preinit-array.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + ldd --help + grep -q musl + echo skipped skipped + exit Test time = 0.02 sec ---------------------------------------------------------- Test Passed. "x86_64-preinit-array.sh" end time: Oct 07 08:28 UTC "x86_64-preinit-array.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 129/256 Testing: x86_64-plt-dso.sh 129/256 Test: x86_64-plt-dso.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/plt-dso.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-plt-dso.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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' + echo OK OK Test time = 0.22 sec ---------------------------------------------------------- Test Passed. "x86_64-plt-dso.sh" end time: Oct 07 08:28 UTC "x86_64-plt-dso.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 134/256 Testing: x86_64-print-dependencies.sh 134/256 Test: x86_64-print-dependencies.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/print-dependencies.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-print-dependencies.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 - + cat + cc -o out/test/elf/x86_64/print-dependencies/b.o -c -xc - + 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=full + grep -q 'b\.o.*a\.o.*foo$' out/test/elf/x86_64/print-dependencies/log + echo OK OK Test time = 0.15 sec ---------------------------------------------------------- Test Passed. "x86_64-print-dependencies.sh" end time: Oct 07 08:28 UTC "x86_64-print-dependencies.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 132/256 Testing: x86_64-pltgot.sh 132/256 Test: x86_64-pltgot.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/pltgot.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-pltgot.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + out/test/elf/x86_64/pltgot/exe + grep -q 'Hello world' + echo OK OK Test time = 0.21 sec ---------------------------------------------------------- Test Passed. "x86_64-pltgot.sh" end time: Oct 07 08:28 UTC "x86_64-pltgot.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 138/256 Testing: x86_64-range-extension-thunk-arm32.sh 138/256 Test: x86_64-range-extension-thunk-arm32.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/range-extension-thunk-arm32.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-range-extension-thunk-arm32.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/range-extension-thunk-arm32.sh .sh + testname=range-extension-thunk-arm32 + echo -n 'Testing range-extension-thunk-arm32 ... ' Testing range-extension-thunk-arm32 ... + t=out/test/elf/x86_64/range-extension-thunk-arm32 + mkdir -p out/test/elf/x86_64/range-extension-thunk-arm32 + [[ x86_64 = arm* ]] + echo skipped skipped + exit Test time = 0.01 sec ---------------------------------------------------------- Test Passed. "x86_64-range-extension-thunk-arm32.sh" end time: Oct 07 08:28 UTC "x86_64-range-extension-thunk-arm32.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 135/256 Testing: x86_64-protected-dynsym.sh 135/256 Test: x86_64-protected-dynsym.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/protected-dynsym.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-protected-dynsym.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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' + echo OK OK Test time = 0.21 sec ---------------------------------------------------------- Test Passed. "x86_64-protected-dynsym.sh" end time: Oct 07 08:28 UTC "x86_64-protected-dynsym.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 136/256 Testing: x86_64-protected.sh 136/256 Test: x86_64-protected.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/protected.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-protected.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + cat + cc -fPIC -c -o out/test/elf/x86_64/protected/a.o -xc - + 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' + echo OK OK Test time = 0.21 sec ---------------------------------------------------------- Test Passed. "x86_64-protected.sh" end time: Oct 07 08:28 UTC "x86_64-protected.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 141/256 Testing: x86_64-reloc-overflow.sh 141/256 Test: x86_64-reloc-overflow.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/reloc-overflow.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-reloc-overflow.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/reloc-overflow.sh .sh + testname=reloc-overflow + echo -n 'Testing reloc-overflow ... ' Testing reloc-overflow ... + t=out/test/elf/x86_64/reloc-overflow + mkdir -p out/test/elf/x86_64/reloc-overflow + '[' x86_64 = x86_64 ']' + cat + cc -o out/test/elf/x86_64/reloc-overflow/a.o -c -x assembler - + ./mold -e foo -o out/test/elf/x86_64/reloc-overflow/exe out/test/elf/x86_64/reloc-overflow/a.o + grep -Fq 'relocation R_X86_64_16 against foo out of range' out/test/elf/x86_64/reloc-overflow/log + echo OK OK Test time = 0.04 sec ---------------------------------------------------------- Test Passed. "x86_64-reloc-overflow.sh" end time: Oct 07 08:28 UTC "x86_64-reloc-overflow.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 142/256 Testing: x86_64-reloc-rodata.sh 142/256 Test: x86_64-reloc-rodata.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/reloc-rodata.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-reloc-rodata.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + exit Test time = 0.01 sec ---------------------------------------------------------- Test Passed. "x86_64-reloc-rodata.sh" end time: Oct 07 08:28 UTC "x86_64-reloc-rodata.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 137/256 Testing: x86_64-push-pop-state.sh 137/256 Test: x86_64-push-pop-state.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/push-pop-state.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-push-pop-state.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 - + cat + cc -c -o out/test/elf/x86_64/push-pop-state/c.o -xc - + 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 + echo OK OK Test time = 0.24 sec ---------------------------------------------------------- Test Passed. "x86_64-push-pop-state.sh" end time: Oct 07 08:28 UTC "x86_64-push-pop-state.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 143/256 Testing: x86_64-reloc-zero.sh 143/256 Test: x86_64-reloc-zero.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/reloc-zero.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-reloc-zero.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/reloc-zero.sh .sh + testname=reloc-zero + echo -n 'Testing reloc-zero ... ' Testing reloc-zero ... + t=out/test/elf/x86_64/reloc-zero + mkdir -p out/test/elf/x86_64/reloc-zero + '[' x86_64 = x86_64 ']' + cat + cc -o out/test/elf/x86_64/reloc-zero/a.o -c -x assembler - + cat + cc -o out/test/elf/x86_64/reloc-zero/b.o -c -xc - + cc -B. -no-pie -o out/test/elf/x86_64/reloc-zero/exe out/test/elf/x86_64/reloc-zero/a.o out/test/elf/x86_64/reloc-zero/b.o + echo OK OK Test time = 0.12 sec ---------------------------------------------------------- Test Passed. "x86_64-reloc-zero.sh" end time: Oct 07 08:28 UTC "x86_64-reloc-zero.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 140/256 Testing: x86_64-relax.sh 140/256 Test: x86_64-relax.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/relax.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-relax.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/relax.sh .sh + testname=relax + echo -n 'Testing relax ... ' Testing relax ... + t=out/test/elf/x86_64/relax + mkdir -p out/test/elf/x86_64/relax + '[' x86_64 = x86_64 ']' + cat + cc -o out/test/elf/x86_64/relax/a.o -c -x assembler -Wa,-mrelax-relocations=yes - + cat + cc -o out/test/elf/x86_64/relax/b.o -c -xc - + cc -B. -o out/test/elf/x86_64/relax/exe out/test/elf/x86_64/relax/a.o out/test/elf/x86_64/relax/b.o + objdump -d out/test/elf/x86_64/relax/exe + grep -A20 ':' + grep -Eq 'lea \s*0x.+\(%rip\),%rax .*' out/test/elf/x86_64/relax/log + grep -Eq 'lea \s*0x.+\(%rip\),%rcx .*' out/test/elf/x86_64/relax/log + grep -Eq 'lea \s*0x.+\(%rip\),%rdx .*' out/test/elf/x86_64/relax/log + grep -Eq 'lea \s*0x.+\(%rip\),%rbx .*' out/test/elf/x86_64/relax/log + grep -Eq 'lea \s*0x.+\(%rip\),%rbp .*' out/test/elf/x86_64/relax/log + grep -Eq 'lea \s*0x.+\(%rip\),%rsi .*' out/test/elf/x86_64/relax/log + grep -Eq 'lea \s*0x.+\(%rip\),%rdi .*' out/test/elf/x86_64/relax/log + grep -Eq 'lea \s*0x.+\(%rip\),%r8 .*' out/test/elf/x86_64/relax/log + grep -Eq 'lea \s*0x.+\(%rip\),%r9 .*' out/test/elf/x86_64/relax/log + grep -Eq 'lea \s*0x.+\(%rip\),%r10 .*' out/test/elf/x86_64/relax/log + grep -Eq 'lea \s*0x.+\(%rip\),%r11 .*' out/test/elf/x86_64/relax/log + grep -Eq 'lea \s*0x.+\(%rip\),%r12 .*' out/test/elf/x86_64/relax/log + grep -Eq 'lea \s*0x.+\(%rip\),%r13 .*' out/test/elf/x86_64/relax/log + grep -Eq 'lea \s*0x.+\(%rip\),%r14 .*' out/test/elf/x86_64/relax/log + grep -Eq 'lea \s*0x.+\(%rip\),%r15 .*' out/test/elf/x86_64/relax/log + grep -Eq 'call.*' out/test/elf/x86_64/relax/log + grep -Eq 'jmp.*' out/test/elf/x86_64/relax/log + cc -B. -o out/test/elf/x86_64/relax/exe out/test/elf/x86_64/relax/a.o out/test/elf/x86_64/relax/b.o -Wl,-no-relax + objdump -d out/test/elf/x86_64/relax/exe + grep -A20 ':' + grep -Eq 'mov \s*0x.+\(%rip\),%rax' out/test/elf/x86_64/relax/log + grep -Eq 'mov \s*0x.+\(%rip\),%rcx' out/test/elf/x86_64/relax/log + grep -Eq 'mov \s*0x.+\(%rip\),%rdx' out/test/elf/x86_64/relax/log + grep -Eq 'mov \s*0x.+\(%rip\),%rbx' out/test/elf/x86_64/relax/log + grep -Eq 'mov \s*0x.+\(%rip\),%rbp' out/test/elf/x86_64/relax/log + grep -Eq 'mov \s*0x.+\(%rip\),%rsi' out/test/elf/x86_64/relax/log + grep -Eq 'mov \s*0x.+\(%rip\),%rdi' out/test/elf/x86_64/relax/log + grep -Eq 'mov \s*0x.+\(%rip\),%r8 ' out/test/elf/x86_64/relax/log + grep -Eq 'mov \s*0x.+\(%rip\),%r9 ' out/test/elf/x86_64/relax/log + grep -Eq 'mov \s*0x.+\(%rip\),%r10' out/test/elf/x86_64/relax/log + grep -Eq 'mov \s*0x.+\(%rip\),%r11' out/test/elf/x86_64/relax/log + grep -Eq 'mov \s*0x.+\(%rip\),%r12' out/test/elf/x86_64/relax/log + grep -Eq 'mov \s*0x.+\(%rip\),%r13' out/test/elf/x86_64/relax/log + grep -Eq 'mov \s*0x.+\(%rip\),%r14' out/test/elf/x86_64/relax/log + grep -Eq 'mov \s*0x.+\(%rip\),%r15' out/test/elf/x86_64/relax/log + grep -Eq 'call.*\(%rip\)' out/test/elf/x86_64/relax/log + grep -Eq 'jmp.*\(%rip\)' out/test/elf/x86_64/relax/log + echo OK OK Test time = 0.29 sec ---------------------------------------------------------- Test Passed. "x86_64-relax.sh" end time: Oct 07 08:28 UTC "x86_64-relax.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 139/256 Testing: x86_64-range-extension-thunk.sh 139/256 Test: x86_64-range-extension-thunk.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/range-extension-thunk.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-range-extension-thunk.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 -o x86_64 = i686 ']' + '[' x86_64 = arm32 ']' + '[' 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/exe 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 + out/test/elf/x86_64/range-extension-thunk/exe + grep -q 'main fn1 fn3 fn2 fn4' + 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/exe 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 + out/test/elf/x86_64/range-extension-thunk/exe + grep -q 'main fn1 fn3 fn2 fn4' + echo OK OK Test time = 0.35 sec ---------------------------------------------------------- Test Passed. "x86_64-range-extension-thunk.sh" end time: Oct 07 08:28 UTC "x86_64-range-extension-thunk.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 145/256 Testing: x86_64-relocatable-archive.sh 145/256 Test: x86_64-relocatable-archive.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/relocatable-archive.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-relocatable-archive.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + 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$' out/test/elf/x86_64/relocatable-archive/log + grep -q 'bar$' out/test/elf/x86_64/relocatable-archive/log + grep -q 'baz$' out/test/elf/x86_64/relocatable-archive/log + echo OK OK Test time = 0.23 sec ---------------------------------------------------------- Test Passed. "x86_64-relocatable-archive.sh" end time: Oct 07 08:28 UTC "x86_64-relocatable-archive.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 147/256 Testing: x86_64-relro.sh 147/256 Test: x86_64-relro.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/relro.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-relro.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + out/test/elf/x86_64/relro/exe3 + grep -q 'Hello world' + readelf --segments -W out/test/elf/x86_64/relro/exe3 + grep -q 'GNU_RELRO ' out/test/elf/x86_64/relro/log3 + echo OK OK Test time = 0.24 sec ---------------------------------------------------------- Test Passed. "x86_64-relro.sh" end time: Oct 07 08:28 UTC "x86_64-relro.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 148/256 Testing: x86_64-repro.sh 148/256 Test: x86_64-repro.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/repro.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-repro.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 -Fq /a.o out/test/elf/x86_64/repro/exe.repro/response.txt + grep -Fq mold 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 -Fq /a.o out/test/elf/x86_64/repro/exe.repro/response.txt + grep -Fq mold out/test/elf/x86_64/repro/exe.repro/version.txt + echo OK OK Test time = 0.28 sec ---------------------------------------------------------- Test Passed. "x86_64-repro.sh" end time: Oct 07 08:28 UTC "x86_64-repro.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 149/256 Testing: x86_64-require-defined.sh 149/256 Test: x86_64-require-defined.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/require-defined.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-require-defined.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + 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,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 + echo OK OK Test time = 0.29 sec ---------------------------------------------------------- Test Passed. "x86_64-require-defined.sh" end time: Oct 07 08:28 UTC "x86_64-require-defined.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 150/256 Testing: x86_64-response-file.sh 150/256 Test: x86_64-response-file.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/response-file.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-response-file.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + '[' x86_64 = x86_64 ']' + cat + cc -c -o out/test/elf/x86_64/response-file/a.o -xc - + cat + cc -c -o out/test/elf/x86_64/response-file/b.o -xc - + 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 + echo OK OK Test time = 0.19 sec ---------------------------------------------------------- Test Passed. "x86_64-response-file.sh" end time: Oct 07 08:28 UTC "x86_64-response-file.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 151/256 Testing: x86_64-retain-symbols-file.sh 151/256 Test: x86_64-retain-symbols-file.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/retain-symbols-file.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-retain-symbols-file.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 --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 + echo OK OK Test time = 0.13 sec ---------------------------------------------------------- Test Passed. "x86_64-retain-symbols-file.sh" end time: Oct 07 08:28 UTC "x86_64-retain-symbols-file.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 153/256 Testing: x86_64-riscv-norvc.sh 153/256 Test: x86_64-riscv-norvc.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/riscv-norvc.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-riscv-norvc.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/riscv-norvc.sh .sh + testname=riscv-norvc + echo -n 'Testing riscv-norvc ... ' Testing riscv-norvc ... + t=out/test/elf/x86_64/riscv-norvc + mkdir -p out/test/elf/x86_64/riscv-norvc + '[' x86_64 = riscv64 -o x86_64 = riscv32 ']' + echo skipped skipped + exit Test time = 0.01 sec ---------------------------------------------------------- Test Passed. "x86_64-riscv-norvc.sh" end time: Oct 07 08:28 UTC "x86_64-riscv-norvc.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 154/256 Testing: x86_64-rodata-name.sh 154/256 Test: x86_64-rodata-name.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/rodata-name.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-rodata-name.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + 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 + echo OK OK Test time = 0.15 sec ---------------------------------------------------------- Test Passed. "x86_64-rodata-name.sh" end time: Oct 07 08:28 UTC "x86_64-rodata-name.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 146/256 Testing: x86_64-relocatable.sh 146/256 Test: x86_64-relocatable.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/relocatable.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-relocatable.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + '[' x86_64 = i386 -o x86_64 = i686 ']' + cat + c++ -c -o out/test/elf/x86_64/relocatable/a.o -xc++ - + cat + c++ -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 + '[' -f out/test/elf/x86_64/relocatable/c.o ']' + '[' -x t/c.o ']' + cat + c++ -c -o out/test/elf/x86_64/relocatable/d.o -xc++ - + c++ -B. -o out/test/elf/x86_64/relocatable/exe out/test/elf/x86_64/relocatable/c.o out/test/elf/x86_64/relocatable/d.o + out/test/elf/x86_64/relocatable/exe + grep -q '^1 2 3$' + echo OK OK Test time = 0.93 sec ---------------------------------------------------------- Test Passed. "x86_64-relocatable.sh" end time: Oct 07 08:28 UTC "x86_64-relocatable.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 156/256 Testing: x86_64-rpath.sh 156/256 Test: x86_64-rpath.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/rpath.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-rpath.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + cat + cc -o out/test/elf/x86_64/rpath/a.o -c -x assembler - + cc -B. -o out/test/elf/x86_64/rpath/exe out/test/elf/x86_64/rpath/a.o -Wl,-rpath,/foo -Wl,-rpath,/bar -Wl,-R/no/such/directory -Wl,-R/ + readelf --dynamic out/test/elf/x86_64/rpath/exe + grep -Fq 'Library runpath: [/foo:/bar:/no/such/directory:/]' + echo OK OK Test time = 0.08 sec ---------------------------------------------------------- Test Passed. "x86_64-rpath.sh" end time: Oct 07 08:28 UTC "x86_64-rpath.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 144/256 Testing: x86_64-reloc.sh 144/256 Test: x86_64-reloc.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/reloc.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-reloc.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/reloc.sh .sh + testname=reloc + echo -n 'Testing reloc ... ' Testing reloc ... + t=out/test/elf/x86_64/reloc + mkdir -p out/test/elf/x86_64/reloc + '[' x86_64 = x86_64 ']' + cat + cc -fPIC -c -o out/test/elf/x86_64/reloc/a.o -x assembler - + cat + cc -fPIC -c -o out/test/elf/x86_64/reloc/b.o -xc - + cc -shared -o out/test/elf/x86_64/reloc/c.so out/test/elf/x86_64/reloc/a.o out/test/elf/x86_64/reloc/b.o -Wl,-z,noexecstack + cat + cc -B. -o out/test/elf/x86_64/reloc/exe out/test/elf/x86_64/reloc/c.so out/test/elf/x86_64/reloc/d.s -no-pie + out/test/elf/x86_64/reloc/exe + grep -q '^42$' + cc -B. -o out/test/elf/x86_64/reloc/exe out/test/elf/x86_64/reloc/c.so out/test/elf/x86_64/reloc/d.s -pie + out/test/elf/x86_64/reloc/exe + grep -q '^42$' + cat + cc -B. -o out/test/elf/x86_64/reloc/exe out/test/elf/x86_64/reloc/c.so out/test/elf/x86_64/reloc/d.s -no-pie + out/test/elf/x86_64/reloc/exe + grep -q '^56$' + cc -B. -o out/test/elf/x86_64/reloc/exe out/test/elf/x86_64/reloc/c.so out/test/elf/x86_64/reloc/d.s -pie + out/test/elf/x86_64/reloc/exe + grep -q '^56$' + cat + cc -c -o out/test/elf/x86_64/reloc/d.o out/test/elf/x86_64/reloc/d.s + cc -B. -o out/test/elf/x86_64/reloc/exe out/test/elf/x86_64/reloc/c.so out/test/elf/x86_64/reloc/d.o -no-pie + out/test/elf/x86_64/reloc/exe + grep -q '^56$' + cc -B. -o out/test/elf/x86_64/reloc/exe out/test/elf/x86_64/reloc/c.so out/test/elf/x86_64/reloc/d.s -pie + out/test/elf/x86_64/reloc/exe + grep -q '^56$' + cat + cc -B. -o out/test/elf/x86_64/reloc/exe out/test/elf/x86_64/reloc/c.so out/test/elf/x86_64/reloc/d.s -no-pie + out/test/elf/x86_64/reloc/exe + grep -q '^56$' + cc -B. -o out/test/elf/x86_64/reloc/exe out/test/elf/x86_64/reloc/c.so out/test/elf/x86_64/reloc/d.s -pie + out/test/elf/x86_64/reloc/exe + grep -q '^56$' + cat + cc -B. -o out/test/elf/x86_64/reloc/exe out/test/elf/x86_64/reloc/c.so out/test/elf/x86_64/reloc/d.s -no-pie + out/test/elf/x86_64/reloc/exe + grep -q '^76$' + cc -B. -o out/test/elf/x86_64/reloc/exe out/test/elf/x86_64/reloc/c.so out/test/elf/x86_64/reloc/d.s -pie + out/test/elf/x86_64/reloc/exe + grep -q '^76$' + cat + cc -B. -o out/test/elf/x86_64/reloc/exe out/test/elf/x86_64/reloc/c.so out/test/elf/x86_64/reloc/d.s -no-pie + out/test/elf/x86_64/reloc/exe + grep -q '^76$' + cc -B. -o out/test/elf/x86_64/reloc/exe out/test/elf/x86_64/reloc/c.so out/test/elf/x86_64/reloc/d.s -pie + out/test/elf/x86_64/reloc/exe + grep -q '^76$' + cat + cc -B. -o out/test/elf/x86_64/reloc/exe out/test/elf/x86_64/reloc/c.so out/test/elf/x86_64/reloc/d.s + out/test/elf/x86_64/reloc/exe + grep -q '^26$' + cat + cc -B. -o out/test/elf/x86_64/reloc/exe out/test/elf/x86_64/reloc/c.so out/test/elf/x86_64/reloc/d.s + out/test/elf/x86_64/reloc/exe + grep -q '^61$' + cat + cc -c -o out/test/elf/x86_64/reloc/e.o out/test/elf/x86_64/reloc/e.c -mcmodel=large -fPIC + cc -B. -o out/test/elf/x86_64/reloc/exe out/test/elf/x86_64/reloc/c.so out/test/elf/x86_64/reloc/e.o + out/test/elf/x86_64/reloc/exe + grep -q '^56000003$' + cat + cc -c -o out/test/elf/x86_64/reloc/f.o out/test/elf/x86_64/reloc/f.s + cc -B. -o out/test/elf/x86_64/reloc/exe out/test/elf/x86_64/reloc/f.o + readelf -x .foo -x .bar out/test/elf/x86_64/reloc/exe + grep -Fq '0x00000010 00000000 00000000 10000000 00000000' out/test/elf/x86_64/reloc/log + grep -Fq '0x00000010 18000000 00000000' out/test/elf/x86_64/reloc/log + echo OK OK Test time = 1.15 sec ---------------------------------------------------------- Test Passed. "x86_64-reloc.sh" end time: Oct 07 08:28 UTC "x86_64-reloc.sh" time elapsed: 00:00:01 ---------------------------------------------------------- 157/256 Testing: x86_64-run-clang.sh 157/256 Test: x86_64-run-clang.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/run-clang.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-run-clang.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo skipped skipped + exit Test time = 0.02 sec ---------------------------------------------------------- Test Passed. "x86_64-run-clang.sh" end time: Oct 07 08:28 UTC "x86_64-run-clang.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 155/256 Testing: x86_64-rosegment.sh 155/256 Test: x86_64-rosegment.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/rosegment.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-rosegment.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.22 sec ---------------------------------------------------------- Test Passed. "x86_64-rosegment.sh" end time: Oct 07 08:28 UTC "x86_64-rosegment.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 158/256 Testing: x86_64-section-alignment.sh 158/256 Test: x86_64-section-alignment.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/section-alignment.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-section-alignment.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/section-alignment.sh .sh + testname=section-alignment + echo -n 'Testing section-alignment ... ' Testing section-alignment ... + t=out/test/elf/x86_64/section-alignment + mkdir -p out/test/elf/x86_64/section-alignment + '[' x86_64 = x86_64 ']' + cat + cc -c -o out/test/elf/x86_64/section-alignment/a.o -xc - + cc -B. -o out/test/elf/x86_64/section-alignment/exe out/test/elf/x86_64/section-alignment/a.o + out/test/elf/x86_64/section-alignment/exe + grep -q '^0 0 0$' + echo OK OK Test time = 0.12 sec ---------------------------------------------------------- Test Passed. "x86_64-section-alignment.sh" end time: Oct 07 08:28 UTC "x86_64-section-alignment.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 159/256 Testing: x86_64-section-name.sh 159/256 Test: x86_64-section-name.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/section-name.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-section-name.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/section-name.sh .sh + testname=section-name + echo -n 'Testing section-name ... ' Testing section-name ... + t=out/test/elf/x86_64/section-name + mkdir -p out/test/elf/x86_64/section-name + '[' x86_64 = x86_64 ']' + cat + cc -o out/test/elf/x86_64/section-name/a.o -c -x assembler - + ./mold -o out/test/elf/x86_64/section-name/exe out/test/elf/x86_64/section-name/a.o -z keep-text-section-prefix + readelf -p .text.hot out/test/elf/x86_64/section-name/exe + grep -Fq '.text.hot .text.hot.foo' + readelf -p .text.unknown out/test/elf/x86_64/section-name/exe + grep -Fq '.text.unknown .text.unknown.foo' + readelf -p .text.unlikely out/test/elf/x86_64/section-name/exe + grep -Fq '.text.unlikely .text.unlikely.foo' + readelf -p .text.startup out/test/elf/x86_64/section-name/exe + grep -Fq '.text.startup .text.startup.foo' + readelf -p .text.exit out/test/elf/x86_64/section-name/exe + grep -Fq '.text.exit .text.exit.foo' + readelf -p .text out/test/elf/x86_64/section-name/exe + grep -Fq '.text .text.foo' + readelf -p .data.rel.ro out/test/elf/x86_64/section-name/exe + grep -Fq '.data.rel.ro .data.rel.ro.foo' + readelf -p .data out/test/elf/x86_64/section-name/exe + grep -Fq '.data .data.foo' + readelf -p .rodata out/test/elf/x86_64/section-name/exe + grep -Fq '.rodata .rodata.foo' + ./mold -o out/test/elf/x86_64/section-name/exe out/test/elf/x86_64/section-name/a.o + readelf --sections out/test/elf/x86_64/section-name/exe + grep -Fq .text.hot + ./mold -o out/test/elf/x86_64/section-name/exe out/test/elf/x86_64/section-name/a.o -z nokeep-text-section-prefix + readelf --sections out/test/elf/x86_64/section-name/exe + grep -Fq .text.hot + echo OK OK Test time = 0.11 sec ---------------------------------------------------------- Test Passed. "x86_64-section-name.sh" end time: Oct 07 08:28 UTC "x86_64-section-name.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 160/256 Testing: x86_64-section-start.sh 160/256 Test: x86_64-section-start.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/section-start.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-section-start.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + 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/exe out/test/elf/x86_64/section-start/a.o -no-pie -Wl,-section-start=.text=0x610000 + out/test/elf/x86_64/section-start/exe + grep -q 'Hello world' + readelf -W --sections out/test/elf/x86_64/section-start/exe + grep -q '\.text .*00610000' + cc -B. -o out/test/elf/x86_64/section-start/exe out/test/elf/x86_64/section-start/a.o -no-pie -Wl,-Ttext=840000 + out/test/elf/x86_64/section-start/exe + grep -q 'Hello world' + readelf -W --sections out/test/elf/x86_64/section-start/exe + grep -q '\.text .*00840000' + echo OK OK Test time = 0.18 sec ---------------------------------------------------------- Test Passed. "x86_64-section-start.sh" end time: Oct 07 08:28 UTC "x86_64-section-start.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 162/256 Testing: x86_64-shared.sh 162/256 Test: x86_64-shared.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/shared.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-shared.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.23 sec ---------------------------------------------------------- Test Passed. "x86_64-shared.sh" end time: Oct 07 08:28 UTC "x86_64-shared.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 161/256 Testing: x86_64-shared-abs-sym.sh 161/256 Test: x86_64-shared-abs-sym.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/shared-abs-sym.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-shared-abs-sym.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.29 sec ---------------------------------------------------------- Test Passed. "x86_64-shared-abs-sym.sh" end time: Oct 07 08:28 UTC "x86_64-shared-abs-sym.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 165/256 Testing: x86_64-soname.sh 165/256 Test: x86_64-soname.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/soname.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-soname.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + readelf --dynamic out/test/elf/x86_64/soname/b.so + grep -Fq 'Library soname: [foo]' + echo OK OK Test time = 0.14 sec ---------------------------------------------------------- Test Passed. "x86_64-soname.sh" end time: Oct 07 08:28 UTC "x86_64-soname.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 166/256 Testing: x86_64-start-lib.sh 166/256 Test: x86_64-start-lib.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/start-lib.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-start-lib.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 - + cat + cc -o out/test/elf/x86_64/start-lib/c.o -c -xc - + 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 + echo OK OK Test time = 0.20 sec ---------------------------------------------------------- Test Passed. "x86_64-start-lib.sh" end time: Oct 07 08:28 UTC "x86_64-start-lib.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 167/256 Testing: x86_64-start-stop-symbol.sh 167/256 Test: x86_64-start-stop-symbol.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/start-stop-symbol.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-start-stop-symbol.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + out/test/elf/x86_64/start-stop-symbol/exe + grep -q 'section foo section foo' + 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' + echo OK OK Test time = 0.20 sec ---------------------------------------------------------- Test Passed. "x86_64-start-stop-symbol.sh" end time: Oct 07 08:28 UTC "x86_64-start-stop-symbol.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 164/256 Testing: x86_64-shuffle-sections.sh 164/256 Test: x86_64-shuffle-sections.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/shuffle-sections.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-shuffle-sections.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + cat + cc -o out/test/elf/x86_64/shuffle-sections/a.o -ffunction-sections -c -xc - + 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 + echo OK OK Test time = 0.80 sec ---------------------------------------------------------- Test Passed. "x86_64-shuffle-sections.sh" end time: Oct 07 08:28 UTC "x86_64-shuffle-sections.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 163/256 Testing: x86_64-shuffle-sections-seed.sh 163/256 Test: x86_64-shuffle-sections-seed.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/shuffle-sections-seed.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-shuffle-sections-seed.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 -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-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 + out/test/elf/x86_64/shuffle-sections-seed/exe2 + grep -q 'Hello world' + 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 + echo OK OK Test time = 0.92 sec ---------------------------------------------------------- Test Passed. "x86_64-shuffle-sections-seed.sh" end time: Oct 07 08:28 UTC "x86_64-shuffle-sections-seed.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 168/256 Testing: x86_64-static-archive.sh 168/256 Test: x86_64-static-archive.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/static-archive.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-static-archive.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 - + cat + cc -o out/test/elf/x86_64/static-archive/c.o -c -xc - + 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 + echo OK OK Test time = 0.23 sec ---------------------------------------------------------- Test Passed. "x86_64-static-archive.sh" end time: Oct 07 08:28 UTC "x86_64-static-archive.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 170/256 Testing: x86_64-strip.sh 170/256 Test: x86_64-strip.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/strip.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-strip.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.08 sec ---------------------------------------------------------- Test Passed. "x86_64-strip.sh" end time: Oct 07 08:28 UTC "x86_64-strip.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 169/256 Testing: x86_64-stdout.sh 169/256 Test: x86_64-stdout.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/stdout.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-stdout.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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' + echo OK OK Test time = 0.11 sec ---------------------------------------------------------- Test Passed. "x86_64-stdout.sh" end time: Oct 07 08:28 UTC "x86_64-stdout.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 172/256 Testing: x86_64-symbol-version.sh 172/256 Test: x86_64-symbol-version.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/symbol-version.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-symbol-version.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.12 sec ---------------------------------------------------------- Test Passed. "x86_64-symbol-version.sh" end time: Oct 07 08:28 UTC "x86_64-symbol-version.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 173/256 Testing: x86_64-symbol-version2.sh 173/256 Test: x86_64-symbol-version2.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/symbol-version2.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-symbol-version2.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.12 sec ---------------------------------------------------------- Test Passed. "x86_64-symbol-version2.sh" end time: Oct 07 08:28 UTC "x86_64-symbol-version2.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 171/256 Testing: x86_64-symbol-rank.sh 171/256 Test: x86_64-symbol-rank.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/symbol-rank.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-symbol-rank.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 - + cat + cc -o out/test/elf/x86_64/symbol-rank/d.o -c -xc - -fcommon + 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$' + echo OK OK Test time = 0.22 sec ---------------------------------------------------------- Test Passed. "x86_64-symbol-rank.sh" end time: Oct 07 08:28 UTC "x86_64-symbol-rank.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 174/256 Testing: x86_64-symbol-version3.sh 174/256 Test: x86_64-symbol-version3.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/symbol-version3.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-symbol-version3.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.13 sec ---------------------------------------------------------- Test Passed. "x86_64-symbol-version3.sh" end time: Oct 07 08:28 UTC "x86_64-symbol-version3.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 175/256 Testing: x86_64-symtab-dso.sh 175/256 Test: x86_64-symtab-dso.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/symtab-dso.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-symtab-dso.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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$' + echo OK OK Test time = 0.11 sec ---------------------------------------------------------- Test Passed. "x86_64-symtab-dso.sh" end time: Oct 07 08:28 UTC "x86_64-symtab-dso.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 176/256 Testing: x86_64-symtab-section-symbols.sh 176/256 Test: x86_64-symtab-section-symbols.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/symtab-section-symbols.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-symtab-section-symbols.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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' + echo OK OK Test time = 0.11 sec ---------------------------------------------------------- Test Passed. "x86_64-symtab-section-symbols.sh" end time: Oct 07 08:28 UTC "x86_64-symtab-section-symbols.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 177/256 Testing: x86_64-symtab.sh 177/256 Test: x86_64-symtab.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/symtab.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-symtab.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 - + cat + cc -o out/test/elf/x86_64/symtab/b.o -c -x assembler - + 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 + echo OK OK Test time = 0.08 sec ---------------------------------------------------------- Test Passed. "x86_64-symtab.sh" end time: Oct 07 08:28 UTC "x86_64-symtab.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 179/256 Testing: x86_64-sysroot-linker-script.sh 179/256 Test: x86_64-sysroot-linker-script.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/sysroot-linker-script.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-sysroot-linker-script.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.17 sec ---------------------------------------------------------- Test Passed. "x86_64-sysroot-linker-script.sh" end time: Oct 07 08:28 UTC "x86_64-sysroot-linker-script.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 178/256 Testing: x86_64-synthetic-symbols.sh 178/256 Test: x86_64-synthetic-symbols.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/synthetic-symbols.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-synthetic-symbols.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + '[' x86_64 = x86_64 ']' + cat + cc -c -o out/test/elf/x86_64/synthetic-symbols/a.o -x assembler - + cat + cc -c -o out/test/elf/x86_64/synthetic-symbols/b.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/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 + echo OK OK Test time = 0.27 sec ---------------------------------------------------------- Test Passed. "x86_64-synthetic-symbols.sh" end time: Oct 07 08:28 UTC "x86_64-synthetic-symbols.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 152/256 Testing: x86_64-reverse-sections.sh 152/256 Test: x86_64-reverse-sections.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/reverse-sections.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-reverse-sections.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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++ - + cat + cc -o out/test/elf/x86_64/reverse-sections/b.o -c -xc++ - + 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 + out/test/elf/x86_64/reverse-sections/exe1 + grep -q 'foo1 foo2 foo3 foo4 foo5 foo6' + 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' + echo OK OK Test time = 2.20 sec ---------------------------------------------------------- Test Passed. "x86_64-reverse-sections.sh" end time: Oct 07 08:28 UTC "x86_64-reverse-sections.sh" time elapsed: 00:00:02 ---------------------------------------------------------- 181/256 Testing: x86_64-sysroot2.sh 181/256 Test: x86_64-sysroot2.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/sysroot2.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-sysroot2.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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/sysroot/foo + cat + cat + cat + cc -c -o out/test/elf/x86_64/sysroot2/sysroot/foo/x.o -xc - + cat + cc -c -o out/test/elf/x86_64/sysroot2/sysroot/foo/y.o -xc - + 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 + echo OK OK Test time = 0.22 sec ---------------------------------------------------------- Test Passed. "x86_64-sysroot2.sh" end time: Oct 07 08:28 UTC "x86_64-sysroot2.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 182/256 Testing: x86_64-tail-call.sh 182/256 Test: x86_64-tail-call.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/tail-call.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-tail-call.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 ']' + echo OK OK Test time = 0.21 sec ---------------------------------------------------------- Test Passed. "x86_64-tail-call.sh" end time: Oct 07 08:28 UTC "x86_64-tail-call.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 180/256 Testing: x86_64-sysroot.sh 180/256 Test: x86_64-sysroot.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/sysroot.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-sysroot.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.43 sec ---------------------------------------------------------- Test Passed. "x86_64-sysroot.sh" end time: Oct 07 08:28 UTC "x86_64-sysroot.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 183/256 Testing: x86_64-thin-archive.sh 183/256 Test: x86_64-thin-archive.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/thin-archive.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-thin-archive.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 - + cat + cc -o out/test/elf/x86_64/thin-archive/b.o -c -xc - + 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.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.28 sec ---------------------------------------------------------- Test Passed. "x86_64-thin-archive.sh" end time: Oct 07 08:28 UTC "x86_64-thin-archive.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 185/256 Testing: x86_64-tls-common.sh 185/256 Test: x86_64-tls-common.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/tls-common.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-tls-common.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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$' + echo OK OK Test time = 0.13 sec ---------------------------------------------------------- Test Passed. "x86_64-tls-common.sh" end time: Oct 07 08:28 UTC "x86_64-tls-common.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 186/256 Testing: x86_64-tls-dso.sh 186/256 Test: x86_64-tls-dso.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/tls-dso.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-tls-dso.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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' + echo OK OK Test time = 0.19 sec ---------------------------------------------------------- Test Passed. "x86_64-tls-dso.sh" end time: Oct 07 08:28 UTC "x86_64-tls-dso.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 184/256 Testing: x86_64-thread-count.sh 184/256 Test: x86_64-thread-count.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/thread-count.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-thread-count.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + cat + cc -o out/test/elf/x86_64/thread-count/a.o -c -xc - + 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 + echo OK OK Test time = 0.32 sec ---------------------------------------------------------- Test Passed. "x86_64-thread-count.sh" end time: Oct 07 08:28 UTC "x86_64-thread-count.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 190/256 Testing: x86_64-tls-gd2.sh 190/256 Test: x86_64-tls-gd2.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/tls-gd2.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-tls-gd2.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/tls-gd2.sh .sh + testname=tls-gd2 + echo -n 'Testing tls-gd2 ... ' Testing tls-gd2 ... + t=out/test/elf/x86_64/tls-gd2 + mkdir -p out/test/elf/x86_64/tls-gd2 + '[' x86_64 = x86_64 ']' + mtls=-mtls-dialect=gnu + echo '{ global: bar; local: *; };' + cat + gcc -mtls-dialect=gnu -fPIC -c -o out/test/elf/x86_64/tls-gd2/b.o -xc - + cc -B. -shared -o out/test/elf/x86_64/tls-gd2/c.so out/test/elf/x86_64/tls-gd2/b.o -Wl,--version-script=out/test/elf/x86_64/tls-gd2/a.ver -Wl,--no-relax + readelf -W --dyn-syms out/test/elf/x86_64/tls-gd2/c.so + grep -Eq 'TLS LOCAL DEFAULT .* foo' + echo OK OK Test time = 0.11 sec ---------------------------------------------------------- Test Passed. "x86_64-tls-gd2.sh" end time: Oct 07 08:28 UTC "x86_64-tls-gd2.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 187/256 Testing: x86_64-tls-gd-mcmodel-large.sh 187/256 Test: x86_64-tls-gd-mcmodel-large.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/tls-gd-mcmodel-large.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-tls-gd-mcmodel-large.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/tls-gd-mcmodel-large.sh .sh + testname=tls-gd-mcmodel-large + echo -n 'Testing tls-gd-mcmodel-large ... ' Testing tls-gd-mcmodel-large ... + t=out/test/elf/x86_64/tls-gd-mcmodel-large + mkdir -p out/test/elf/x86_64/tls-gd-mcmodel-large + '[' x86_64 = x86_64 ']' + cat + gcc -mtls-dialect=gnu -fPIC -c -o out/test/elf/x86_64/tls-gd-mcmodel-large/a.o -xc - -mcmodel=large + cat + gcc -mtls-dialect=gnu -fPIC -c -o out/test/elf/x86_64/tls-gd-mcmodel-large/b.o -xc - -mcmodel=large + cat + gcc -mtls-dialect=gnu -fPIC -c -o out/test/elf/x86_64/tls-gd-mcmodel-large/c.o -xc - -mcmodel=large + cc -B. -shared -o out/test/elf/x86_64/tls-gd-mcmodel-large/d.so out/test/elf/x86_64/tls-gd-mcmodel-large/b.o -mcmodel=large + cc -B. -shared -o out/test/elf/x86_64/tls-gd-mcmodel-large/e.so out/test/elf/x86_64/tls-gd-mcmodel-large/c.o -Wl,--no-relax -mcmodel=large + cc -B. -o out/test/elf/x86_64/tls-gd-mcmodel-large/exe out/test/elf/x86_64/tls-gd-mcmodel-large/a.o out/test/elf/x86_64/tls-gd-mcmodel-large/d.so out/test/elf/x86_64/tls-gd-mcmodel-large/e.so -mcmodel=large + out/test/elf/x86_64/tls-gd-mcmodel-large/exe + grep -q '1 2 3 4 5 6' + cc -B. -o out/test/elf/x86_64/tls-gd-mcmodel-large/exe out/test/elf/x86_64/tls-gd-mcmodel-large/a.o out/test/elf/x86_64/tls-gd-mcmodel-large/d.so out/test/elf/x86_64/tls-gd-mcmodel-large/e.so -Wl,-no-relax -mcmodel=large + out/test/elf/x86_64/tls-gd-mcmodel-large/exe + grep -q '1 2 3 4 5 6' + echo OK OK Test time = 0.36 sec ---------------------------------------------------------- Test Passed. "x86_64-tls-gd-mcmodel-large.sh" end time: Oct 07 08:28 UTC "x86_64-tls-gd-mcmodel-large.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 188/256 Testing: x86_64-tls-gd-noplt.sh 188/256 Test: x86_64-tls-gd-noplt.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/tls-gd-noplt.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-tls-gd-noplt.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + '[' x86_64 = x86_64 ']' + mtls=-mtls-dialect=gnu + cat + gcc -mtls-dialect=gnu -fPIC -fno-plt -c -o out/test/elf/x86_64/tls-gd-noplt/a.o -xc - + cat + gcc -mtls-dialect=gnu -fPIC -fno-plt -c -o out/test/elf/x86_64/tls-gd-noplt/b.o -xc - + cat + gcc -mtls-dialect=gnu -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' + echo OK OK Test time = 0.37 sec ---------------------------------------------------------- Test Passed. "x86_64-tls-gd-noplt.sh" end time: Oct 07 08:28 UTC "x86_64-tls-gd-noplt.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 193/256 Testing: x86_64-tls-large-tbss.sh 193/256 Test: x86_64-tls-large-tbss.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/tls-large-tbss.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-tls-large-tbss.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/tls-large-tbss.sh .sh + testname=tls-large-tbss + echo -n 'Testing tls-large-tbss ... ' Testing tls-large-tbss ... + t=out/test/elf/x86_64/tls-large-tbss + mkdir -p out/test/elf/x86_64/tls-large-tbss + [[ x86_64 = x86_64 ]] + cat + cc -c -o out/test/elf/x86_64/tls-large-tbss/a.o -x assembler - + cat + cc -c -o out/test/elf/x86_64/tls-large-tbss/b.o -xc - + cc -B. -o out/test/elf/x86_64/tls-large-tbss/exe out/test/elf/x86_64/tls-large-tbss/a.o out/test/elf/x86_64/tls-large-tbss/b.o + out/test/elf/x86_64/tls-large-tbss/exe + grep -q '^3 0 5 0 0 0$' + echo OK OK Test time = 0.14 sec ---------------------------------------------------------- Test Passed. "x86_64-tls-large-tbss.sh" end time: Oct 07 08:28 UTC "x86_64-tls-large-tbss.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 192/256 Testing: x86_64-tls-large-static-image.sh 192/256 Test: x86_64-tls-large-static-image.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/tls-large-static-image.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-tls-large-static-image.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 - + cat + cc -fPIC -c -o out/test/elf/x86_64/tls-large-static-image/b.o -xc - + 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$' + echo OK OK Test time = 0.17 sec ---------------------------------------------------------- Test Passed. "x86_64-tls-large-static-image.sh" end time: Oct 07 08:28 UTC "x86_64-tls-large-static-image.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 191/256 Testing: x86_64-tls-ie.sh 191/256 Test: x86_64-tls-ie.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/tls-ie.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-tls-ie.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + '[' x86_64 = x86_64 ']' + mtls=-mtls-dialect=gnu + cat + gcc -ftls-model=initial-exec -mtls-dialect=gnu -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$' + echo OK OK Test time = 0.28 sec ---------------------------------------------------------- Test Passed. "x86_64-tls-ie.sh" end time: Oct 07 08:28 UTC "x86_64-tls-ie.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 189/256 Testing: x86_64-tls-gd.sh 189/256 Test: x86_64-tls-gd.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/tls-gd.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-tls-gd.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + '[' x86_64 = x86_64 ']' + mtls=-mtls-dialect=gnu + cat + gcc -mtls-dialect=gnu -fPIC -c -o out/test/elf/x86_64/tls-gd/a.o -xc - + cat + gcc -mtls-dialect=gnu -fPIC -c -o out/test/elf/x86_64/tls-gd/b.o -xc - + cat + gcc -mtls-dialect=gnu -fPIC -c -o out/test/elf/x86_64/tls-gd/c.o -xc - + 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/exe 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/exe + grep -q '1 2 3 4 5 6' + cc -B. -o out/test/elf/x86_64/tls-gd/exe 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/exe + grep -q '1 2 3 4 5 6' + echo 'int main() {}' + cc -o /dev/null -xc - -static + cc -B. -o out/test/elf/x86_64/tls-gd/exe 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/exe + grep -q '1 2 3 4 5 6' + echo OK OK Test time = 0.49 sec ---------------------------------------------------------- Test Passed. "x86_64-tls-gd.sh" end time: Oct 07 08:28 UTC "x86_64-tls-gd.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 194/256 Testing: x86_64-tls-ld-mcmodel-large.sh 194/256 Test: x86_64-tls-ld-mcmodel-large.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/tls-ld-mcmodel-large.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-tls-ld-mcmodel-large.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/tls-ld-mcmodel-large.sh .sh + testname=tls-ld-mcmodel-large + echo -n 'Testing tls-ld-mcmodel-large ... ' Testing tls-ld-mcmodel-large ... + t=out/test/elf/x86_64/tls-ld-mcmodel-large + mkdir -p out/test/elf/x86_64/tls-ld-mcmodel-large + '[' x86_64 = x86_64 ']' + gcc -ftls-model=local-dynamic -mtls-dialect=gnu -fPIC -c -o out/test/elf/x86_64/tls-ld-mcmodel-large/a.o -xc - -mcmodel=large + cat + cat + gcc -ftls-model=local-dynamic -mtls-dialect=gnu -fPIC -c -o out/test/elf/x86_64/tls-ld-mcmodel-large/b.o -xc - -mcmodel=large + cc -B. -o out/test/elf/x86_64/tls-ld-mcmodel-large/exe out/test/elf/x86_64/tls-ld-mcmodel-large/a.o out/test/elf/x86_64/tls-ld-mcmodel-large/b.o -mcmodel=large + out/test/elf/x86_64/tls-ld-mcmodel-large/exe + grep -q '3 5 3 5' + cc -B. -o out/test/elf/x86_64/tls-ld-mcmodel-large/exe out/test/elf/x86_64/tls-ld-mcmodel-large/a.o out/test/elf/x86_64/tls-ld-mcmodel-large/b.o -Wl,-no-relax -mcmodel=large + out/test/elf/x86_64/tls-ld-mcmodel-large/exe + grep -q '3 5 3 5' + echo OK OK Test time = 0.21 sec ---------------------------------------------------------- Test Passed. "x86_64-tls-ld-mcmodel-large.sh" end time: Oct 07 08:28 UTC "x86_64-tls-ld-mcmodel-large.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 195/256 Testing: x86_64-tls-ld-noplt.sh 195/256 Test: x86_64-tls-ld-noplt.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/tls-ld-noplt.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-tls-ld-noplt.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + '[' x86_64 = x86_64 -o x86_64 = i386 -o x86_64 = i686 ']' + mtls=-mtls-dialect=gnu + cat + gcc -ftls-model=local-dynamic -mtls-dialect=gnu -fPIC -fno-plt -c -o out/test/elf/x86_64/tls-ld-noplt/a.o -xc - + cat + gcc -ftls-model=local-dynamic -mtls-dialect=gnu -fPIC -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' + echo OK OK Test time = 0.22 sec ---------------------------------------------------------- Test Passed. "x86_64-tls-ld-noplt.sh" end time: Oct 07 08:28 UTC "x86_64-tls-ld-noplt.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 198/256 Testing: x86_64-tls-module-base-i386.sh 198/256 Test: x86_64-tls-module-base-i386.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/tls-module-base-i386.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-tls-module-base-i386.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/tls-module-base-i386.sh .sh + testname=tls-module-base-i386 + echo -n 'Testing tls-module-base-i386 ... ' Testing tls-module-base-i386 ... + t=out/test/elf/x86_64/tls-module-base-i386 + mkdir -p out/test/elf/x86_64/tls-module-base-i386 + '[' x86_64 = i386 -o x86_64 = i686 ']' + echo skipped skipped + exit Test time = 0.02 sec ---------------------------------------------------------- Test Passed. "x86_64-tls-module-base-i386.sh" end time: Oct 07 08:28 UTC "x86_64-tls-module-base-i386.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 196/256 Testing: x86_64-tls-ld.sh 196/256 Test: x86_64-tls-ld.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/tls-ld.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-tls-ld.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + '[' x86_64 = x86_64 -o x86_64 = i386 -o x86_64 = i686 ']' + mtls=-mtls-dialect=gnu + cat + gcc -ftls-model=local-dynamic -mtls-dialect=gnu -fPIC -c -o out/test/elf/x86_64/tls-ld/a.o -xc - + cat + gcc -ftls-model=local-dynamic -mtls-dialect=gnu -fPIC -c -o out/test/elf/x86_64/tls-ld/b.o -xc - + cc -B. -o out/test/elf/x86_64/tls-ld/exe out/test/elf/x86_64/tls-ld/a.o out/test/elf/x86_64/tls-ld/b.o + out/test/elf/x86_64/tls-ld/exe + grep -q '3 5 3 5' + cc -B. -o out/test/elf/x86_64/tls-ld/exe 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/exe + grep -q '3 5 3 5' + echo OK OK Test time = 0.21 sec ---------------------------------------------------------- Test Passed. "x86_64-tls-ld.sh" end time: Oct 07 08:28 UTC "x86_64-tls-ld.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 197/256 Testing: x86_64-tls-le.sh 197/256 Test: x86_64-tls-le.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/tls-le.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-tls-le.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + '[' x86_64 = x86_64 -o x86_64 = i386 -o x86_64 = i686 ']' + mtls=-mtls-dialect=gnu + cat + gcc -ftls-model=local-exec -mtls-dialect=gnu -fPIC -c -o out/test/elf/x86_64/tls-le/a.o -xc - + cat + gcc -ftls-model=local-exec -mtls-dialect=gnu -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' + echo OK OK Test time = 0.21 sec ---------------------------------------------------------- Test Passed. "x86_64-tls-le.sh" end time: Oct 07 08:28 UTC "x86_64-tls-le.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 202/256 Testing: x86_64-tlsdesc-arm.sh 202/256 Test: x86_64-tlsdesc-arm.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/tlsdesc-arm.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-tlsdesc-arm.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/tlsdesc-arm.sh .sh + testname=tlsdesc-arm + echo -n 'Testing tlsdesc-arm ... ' Testing tlsdesc-arm ... + t=out/test/elf/x86_64/tlsdesc-arm + mkdir -p out/test/elf/x86_64/tlsdesc-arm + [[ x86_64 = arm* ]] + echo skipped skipped + exit Test time = 0.01 sec ---------------------------------------------------------- Test Passed. "x86_64-tlsdesc-arm.sh" end time: Oct 07 08:28 UTC "x86_64-tlsdesc-arm.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 200/256 Testing: x86_64-tls-nopic.sh 200/256 Test: x86_64-tls-nopic.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/tls-nopic.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-tls-nopic.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + '[' x86_64 = x86_64 -o x86_64 = i386 -o x86_64 = i686 ']' + mtls=-mtls-dialect=gnu + cat + gcc -mtls-dialect=gnu -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' + echo OK OK Test time = 0.15 sec ---------------------------------------------------------- Test Passed. "x86_64-tls-nopic.sh" end time: Oct 07 08:28 UTC "x86_64-tls-nopic.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 201/256 Testing: x86_64-tls-pic.sh 201/256 Test: x86_64-tls-pic.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/tls-pic.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-tls-pic.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + '[' x86_64 = x86_64 -o x86_64 = i386 -o x86_64 = i686 ']' + mtls=-mtls-dialect=gnu + cat + gcc -mtls-dialect=gnu -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 + out/test/elf/x86_64/tls-pic/exe + grep -q '3 5 3 5' + echo OK OK Test time = 0.15 sec ---------------------------------------------------------- Test Passed. "x86_64-tls-pic.sh" end time: Oct 07 08:28 UTC "x86_64-tls-pic.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 203/256 Testing: x86_64-tlsdesc-import.sh 203/256 Test: x86_64-tlsdesc-import.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/tlsdesc-import.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-tlsdesc-import.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 ']' + 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' + echo OK OK Test time = 0.17 sec ---------------------------------------------------------- Test Passed. "x86_64-tlsdesc-import.sh" end time: Oct 07 08:28 UTC "x86_64-tlsdesc-import.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 199/256 Testing: x86_64-tls-module-base-x86-64.sh 199/256 Test: x86_64-tls-module-base-x86-64.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/tls-module-base-x86-64.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-tls-module-base-x86-64.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/tls-module-base-x86-64.sh .sh + testname=tls-module-base-x86-64 + echo -n 'Testing tls-module-base-x86-64 ... ' Testing tls-module-base-x86-64 ... + t=out/test/elf/x86_64/tls-module-base-x86-64 + mkdir -p out/test/elf/x86_64/tls-module-base-x86-64 + '[' x86_64 = x86_64 ']' + cat + cc -fPIC -o out/test/elf/x86_64/tls-module-base-x86-64/a.o -c -xassembler - + cat + cc -o out/test/elf/x86_64/tls-module-base-x86-64/b.o -c -xc - + cat + cc -o out/test/elf/x86_64/tls-module-base-x86-64/c.o -c -xc - + cc -B. -o out/test/elf/x86_64/tls-module-base-x86-64/exe1 out/test/elf/x86_64/tls-module-base-x86-64/a.o out/test/elf/x86_64/tls-module-base-x86-64/b.o out/test/elf/x86_64/tls-module-base-x86-64/c.o + out/test/elf/x86_64/tls-module-base-x86-64/exe1 + grep -q '^20 3$' + cc -B. -o out/test/elf/x86_64/tls-module-base-x86-64/exe2 out/test/elf/x86_64/tls-module-base-x86-64/a.o out/test/elf/x86_64/tls-module-base-x86-64/b.o out/test/elf/x86_64/tls-module-base-x86-64/c.o -Wl,-no-relax + out/test/elf/x86_64/tls-module-base-x86-64/exe2 + grep -q '^20 3$' + cc -B. -o out/test/elf/x86_64/tls-module-base-x86-64/d.so out/test/elf/x86_64/tls-module-base-x86-64/a.o -shared + cc -B. -o out/test/elf/x86_64/tls-module-base-x86-64/exe3 out/test/elf/x86_64/tls-module-base-x86-64/b.o out/test/elf/x86_64/tls-module-base-x86-64/c.o out/test/elf/x86_64/tls-module-base-x86-64/d.so + out/test/elf/x86_64/tls-module-base-x86-64/exe3 + grep -q '^20 3$' + echo OK OK Test time = 0.31 sec ---------------------------------------------------------- Test Passed. "x86_64-tls-module-base-x86-64.sh" end time: Oct 07 08:28 UTC "x86_64-tls-module-base-x86-64.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 207/256 Testing: x86_64-trace.sh 207/256 Test: x86_64-trace.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/trace.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-trace.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.13 sec ---------------------------------------------------------- Test Passed. "x86_64-trace.sh" end time: Oct 07 08:28 UTC "x86_64-trace.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 204/256 Testing: x86_64-tlsdesc-static.sh 204/256 Test: x86_64-tlsdesc-static.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/tlsdesc-static.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-tlsdesc-static.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo 'int main() {}' + cc -o /dev/null -xc - -static + '[' x86_64 = x86_64 ']' + dialect=gnu2 + cat + gcc -fPIC -mtls-dialect=gnu2 -c -o out/test/elf/x86_64/tlsdesc-static/a.o -xc - + cat + gcc -fPIC -mtls-dialect=gnu2 -c -o out/test/elf/x86_64/tlsdesc-static/b.o -xc - + 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 + out/test/elf/x86_64/tlsdesc-static/exe + grep -q 42 + 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 + echo OK OK Test time = 0.28 sec ---------------------------------------------------------- Test Passed. "x86_64-tlsdesc-static.sh" end time: Oct 07 08:28 UTC "x86_64-tlsdesc-static.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 206/256 Testing: x86_64-trace-symbol.sh 206/256 Test: x86_64-trace-symbol.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/trace-symbol.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-trace-symbol.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.24 sec ---------------------------------------------------------- Test Passed. "x86_64-trace-symbol.sh" end time: Oct 07 08:28 UTC "x86_64-trace-symbol.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 209/256 Testing: x86_64-unique.sh 209/256 Test: x86_64-unique.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/unique.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-unique.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/unique.sh .sh + testname=unique + echo -n 'Testing unique ... ' Testing unique ... + t=out/test/elf/x86_64/unique + mkdir -p out/test/elf/x86_64/unique + '[' x86_64 = x86_64 ']' + cat + cc -c -o out/test/elf/x86_64/unique/a.o -x assembler - + cc -B. -o out/test/elf/x86_64/unique/exe out/test/elf/x86_64/unique/a.o -nostdlib '-Wl,-unique=*foo*' + readelf -x .data.foo.1 out/test/elf/x86_64/unique/exe + grep -q ab + readelf -x .data.foo.2 out/test/elf/x86_64/unique/exe + grep -q c + readelf -x .data out/test/elf/x86_64/unique/exe + grep -q de + echo OK OK Test time = 0.06 sec ---------------------------------------------------------- Test Passed. "x86_64-unique.sh" end time: Oct 07 08:28 UTC "x86_64-unique.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 205/256 Testing: x86_64-tlsdesc.sh 205/256 Test: x86_64-tlsdesc.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/tlsdesc.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-tlsdesc.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 ']' + 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' + echo OK OK Test time = 0.42 sec ---------------------------------------------------------- Test Passed. "x86_64-tlsdesc.sh" end time: Oct 07 08:28 UTC "x86_64-tlsdesc.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 211/256 Testing: x86_64-verbose.sh 211/256 Test: x86_64-verbose.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/verbose.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-verbose.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + cat + cc -c -xc -o out/test/elf/x86_64/verbose/a.o - + cc -B. -Wl,--verbose -o out/test/elf/x86_64/verbose/exe out/test/elf/x86_64/verbose/a.o + echo OK OK Test time = 0.12 sec ---------------------------------------------------------- Test Passed. "x86_64-verbose.sh" end time: Oct 07 08:28 UTC "x86_64-verbose.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 208/256 Testing: x86_64-undefined.sh 208/256 Test: x86_64-undefined.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/undefined.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-undefined.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo 'int main() {}' + cc -o /dev/null -xc - -static + 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 + echo OK OK Test time = 0.20 sec ---------------------------------------------------------- Test Passed. "x86_64-undefined.sh" end time: Oct 07 08:28 UTC "x86_64-undefined.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 212/256 Testing: x86_64-version-script.sh 212/256 Test: x86_64-version-script.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/version-script.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-version-script.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.08 sec ---------------------------------------------------------- Test Passed. "x86_64-version-script.sh" end time: Oct 07 08:28 UTC "x86_64-version-script.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 213/256 Testing: x86_64-version-script10.sh 213/256 Test: x86_64-version-script10.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/version-script10.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-version-script10.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.08 sec ---------------------------------------------------------- Test Passed. "x86_64-version-script10.sh" end time: Oct 07 08:28 UTC "x86_64-version-script10.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 214/256 Testing: x86_64-version-script11.sh 214/256 Test: x86_64-version-script11.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/version-script11.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-version-script11.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.13 sec ---------------------------------------------------------- Test Passed. "x86_64-version-script11.sh" end time: Oct 07 08:28 UTC "x86_64-version-script11.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 215/256 Testing: x86_64-version-script12.sh 215/256 Test: x86_64-version-script12.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/version-script12.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-version-script12.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.14 sec ---------------------------------------------------------- Test Passed. "x86_64-version-script12.sh" end time: Oct 07 08:28 UTC "x86_64-version-script12.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 216/256 Testing: x86_64-version-script13.sh 216/256 Test: x86_64-version-script13.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/version-script13.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-version-script13.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.12 sec ---------------------------------------------------------- Test Passed. "x86_64-version-script13.sh" end time: Oct 07 08:28 UTC "x86_64-version-script13.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 210/256 Testing: x86_64-unresolved-symbols.sh 210/256 Test: x86_64-unresolved-symbols.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/unresolved-symbols.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-unresolved-symbols.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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' + 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 + grep -q 'undefined.*foo' + echo OK OK Test time = 0.38 sec ---------------------------------------------------------- Test Passed. "x86_64-unresolved-symbols.sh" end time: Oct 07 08:28 UTC "x86_64-unresolved-symbols.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 217/256 Testing: x86_64-version-script14.sh 217/256 Test: x86_64-version-script14.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/version-script14.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-version-script14.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.15 sec ---------------------------------------------------------- Test Passed. "x86_64-version-script14.sh" end time: Oct 07 08:28 UTC "x86_64-version-script14.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 218/256 Testing: x86_64-version-script15.sh 218/256 Test: x86_64-version-script15.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/version-script15.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-version-script15.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.14 sec ---------------------------------------------------------- Test Passed. "x86_64-version-script15.sh" end time: Oct 07 08:28 UTC "x86_64-version-script15.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 219/256 Testing: x86_64-version-script16.sh 219/256 Test: x86_64-version-script16.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/version-script16.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-version-script16.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.12 sec ---------------------------------------------------------- Test Passed. "x86_64-version-script16.sh" end time: Oct 07 08:28 UTC "x86_64-version-script16.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 223/256 Testing: x86_64-version-script4.sh 223/256 Test: x86_64-version-script4.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/version-script4.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-version-script4.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.13 sec ---------------------------------------------------------- Test Passed. "x86_64-version-script4.sh" end time: Oct 07 08:28 UTC "x86_64-version-script4.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 221/256 Testing: x86_64-version-script2.sh 221/256 Test: x86_64-version-script2.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/version-script2.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-version-script2.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.22 sec ---------------------------------------------------------- Test Passed. "x86_64-version-script2.sh" end time: Oct 07 08:28 UTC "x86_64-version-script2.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 222/256 Testing: x86_64-version-script3.sh 222/256 Test: x86_64-version-script3.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/version-script3.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-version-script3.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.23 sec ---------------------------------------------------------- Test Passed. "x86_64-version-script3.sh" end time: Oct 07 08:28 UTC "x86_64-version-script3.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 220/256 Testing: x86_64-version-script17.sh 220/256 Test: x86_64-version-script17.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/version-script17.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-version-script17.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + 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 + echo OK OK Test time = 0.33 sec ---------------------------------------------------------- Test Passed. "x86_64-version-script17.sh" end time: Oct 07 08:28 UTC "x86_64-version-script17.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 224/256 Testing: x86_64-version-script5.sh 224/256 Test: x86_64-version-script5.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/version-script5.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-version-script5.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.13 sec ---------------------------------------------------------- Test Passed. "x86_64-version-script5.sh" end time: Oct 07 08:28 UTC "x86_64-version-script5.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 228/256 Testing: x86_64-version-script9.sh 228/256 Test: x86_64-version-script9.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/version-script9.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-version-script9.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.08 sec ---------------------------------------------------------- Test Passed. "x86_64-version-script9.sh" end time: Oct 07 08:28 UTC "x86_64-version-script9.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 226/256 Testing: x86_64-version-script7.sh 226/256 Test: x86_64-version-script7.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/version-script7.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-version-script7.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.13 sec ---------------------------------------------------------- Test Passed. "x86_64-version-script7.sh" end time: Oct 07 08:28 UTC "x86_64-version-script7.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 230/256 Testing: x86_64-versioned-undef.sh 230/256 Test: x86_64-versioned-undef.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/versioned-undef.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-versioned-undef.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo skipped skipped + exit Test time = 0.02 sec ---------------------------------------------------------- Test Passed. "x86_64-versioned-undef.sh" end time: Oct 07 08:28 UTC "x86_64-versioned-undef.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 225/256 Testing: x86_64-version-script6.sh 225/256 Test: x86_64-version-script6.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/version-script6.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-version-script6.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + 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 + echo OK OK Test time = 0.21 sec ---------------------------------------------------------- Test Passed. "x86_64-version-script6.sh" end time: Oct 07 08:28 UTC "x86_64-version-script6.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 227/256 Testing: x86_64-version-script8.sh 227/256 Test: x86_64-version-script8.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/version-script8.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-version-script8.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.22 sec ---------------------------------------------------------- Test Passed. "x86_64-version-script8.sh" end time: Oct 07 08:28 UTC "x86_64-version-script8.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 229/256 Testing: x86_64-version.sh 229/256 Test: x86_64-version.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/version.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-version.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + ./mold -v + grep -q 'mold .*compatible with GNU ld' + ./mold --version + grep -q 'mold .*compatible with GNU ld' + ./mold -V + grep -q 'mold .*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/exe out/test/elf/x86_64/version/a.o + grep -q mold + '[' -f out/test/elf/x86_64/version/exe ']' + cc -B. -Wl,-v -o out/test/elf/x86_64/version/exe out/test/elf/x86_64/version/a.o + grep -q mold + out/test/elf/x86_64/version/exe + grep -q 'Hello world' /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/version.sh: line 35: out/test/elf/x86_64/version/exe: No such file or directory Test time = 0.17 sec ---------------------------------------------------------- Test Failed. "x86_64-version.sh" end time: Oct 07 08:28 UTC "x86_64-version.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 231/256 Testing: x86_64-visibility.sh 231/256 Test: x86_64-visibility.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/visibility.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-visibility.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.19 sec ---------------------------------------------------------- Test Passed. "x86_64-visibility.sh" end time: Oct 07 08:28 UTC "x86_64-visibility.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 235/256 Testing: x86_64-warn-shared-textrel.sh 235/256 Test: x86_64-warn-shared-textrel.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/warn-shared-textrel.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-warn-shared-textrel.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/warn-shared-textrel.sh .sh + testname=warn-shared-textrel + echo -n 'Testing warn-shared-textrel ... ' Testing warn-shared-textrel ... + t=out/test/elf/x86_64/warn-shared-textrel + mkdir -p out/test/elf/x86_64/warn-shared-textrel + ldd --help + grep -q musl + echo skipped skipped + exit Test time = 0.02 sec ---------------------------------------------------------- Test Passed. "x86_64-warn-shared-textrel.sh" end time: Oct 07 08:28 UTC "x86_64-warn-shared-textrel.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 233/256 Testing: x86_64-warn-execstack.sh 233/256 Test: x86_64-warn-execstack.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/warn-execstack.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-warn-execstack.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/warn-execstack.sh .sh + testname=warn-execstack + echo -n 'Testing warn-execstack ... ' Testing warn-execstack ... + t=out/test/elf/x86_64/warn-execstack + mkdir -p out/test/elf/x86_64/warn-execstack + '[' x86_64 = x86_64 ']' + cat + cc -o out/test/elf/x86_64/warn-execstack/a.o -c -xassembler - + cat + cc -o out/test/elf/x86_64/warn-execstack/b.o -c -xc - + gcc -B. -o out/test/elf/x86_64/warn-execstack/exe out/test/elf/x86_64/warn-execstack/a.o out/test/elf/x86_64/warn-execstack/b.o + grep -q 'may cause a segmentation fault' + echo OK OK Test time = 0.12 sec ---------------------------------------------------------- Test Passed. "x86_64-warn-execstack.sh" end time: Oct 07 08:28 UTC "x86_64-warn-execstack.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 232/256 Testing: x86_64-warn-common.sh 232/256 Test: x86_64-warn-common.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/warn-common.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-warn-common.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.20 sec ---------------------------------------------------------- Test Passed. "x86_64-warn-common.sh" end time: Oct 07 08:28 UTC "x86_64-warn-common.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 236/256 Testing: x86_64-warn-textrel.sh 236/256 Test: x86_64-warn-textrel.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/warn-textrel.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-warn-textrel.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/warn-textrel.sh .sh + testname=warn-textrel + echo -n 'Testing warn-textrel ... ' Testing warn-textrel ... + t=out/test/elf/x86_64/warn-textrel + mkdir -p out/test/elf/x86_64/warn-textrel + ldd --help + grep -q musl + echo skipped skipped + exit Test time = 0.02 sec ---------------------------------------------------------- Test Passed. "x86_64-warn-textrel.sh" end time: Oct 07 08:28 UTC "x86_64-warn-textrel.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 234/256 Testing: x86_64-warn-once.sh 234/256 Test: x86_64-warn-once.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/warn-once.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-warn-once.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 ']' + echo OK OK Test time = 0.17 sec ---------------------------------------------------------- Test Passed. "x86_64-warn-once.sh" end time: Oct 07 08:28 UTC "x86_64-warn-once.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 239/256 Testing: x86_64-weak-export-exe.sh 239/256 Test: x86_64-weak-export-exe.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/weak-export-exe.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-weak-export-exe.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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$' + echo OK OK Test time = 0.13 sec ---------------------------------------------------------- Test Passed. "x86_64-weak-export-exe.sh" end time: Oct 07 08:28 UTC "x86_64-weak-export-exe.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 238/256 Testing: x86_64-weak-export-dso.sh 238/256 Test: x86_64-weak-export-dso.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/weak-export-dso.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-weak-export-dso.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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' + echo OK OK Test time = 0.17 sec ---------------------------------------------------------- Test Passed. "x86_64-weak-export-dso.sh" end time: Oct 07 08:28 UTC "x86_64-weak-export-dso.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 237/256 Testing: x86_64-warn-unresolved-symbols.sh 237/256 Test: x86_64-warn-unresolved-symbols.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/warn-unresolved-symbols.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-warn-unresolved-symbols.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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' + echo OK OK Test time = 0.22 sec ---------------------------------------------------------- Test Passed. "x86_64-warn-unresolved-symbols.sh" end time: Oct 07 08:28 UTC "x86_64-warn-unresolved-symbols.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 240/256 Testing: x86_64-weak-undef-dso.sh 240/256 Test: x86_64-weak-undef-dso.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/weak-undef-dso.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-weak-undef-dso.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.31 sec ---------------------------------------------------------- Test Passed. "x86_64-weak-undef-dso.sh" end time: Oct 07 08:28 UTC "x86_64-weak-undef-dso.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 242/256 Testing: x86_64-whole-archive.sh 242/256 Test: x86_64-whole-archive.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/whole-archive.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-whole-archive.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.24 sec ---------------------------------------------------------- Test Passed. "x86_64-whole-archive.sh" end time: Oct 07 08:28 UTC "x86_64-whole-archive.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 241/256 Testing: x86_64-weak-undef.sh 241/256 Test: x86_64-weak-undef.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/weak-undef.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-weak-undef.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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$' + echo OK OK Test time = 0.37 sec ---------------------------------------------------------- Test Passed. "x86_64-weak-undef.sh" end time: Oct 07 08:28 UTC "x86_64-weak-undef.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 243/256 Testing: x86_64-wrap.sh 243/256 Test: x86_64-wrap.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/wrap.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-wrap.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 -c -o out/test/elf/x86_64/wrap/a.o -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.o 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.o 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.o out/test/elf/x86_64/wrap/c.o -Wl,-wrap,foo + out/test/elf/x86_64/wrap/exe + grep -q '^foo$' + echo OK OK Test time = 0.32 sec ---------------------------------------------------------- Test Passed. "x86_64-wrap.sh" end time: Oct 07 08:28 UTC "x86_64-wrap.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 244/256 Testing: x86_64-z-cet-report.sh 244/256 Test: x86_64-z-cet-report.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/z-cet-report.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-z-cet-report.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo OK OK Test time = 0.20 sec ---------------------------------------------------------- Test Passed. "x86_64-z-cet-report.sh" end time: Oct 07 08:28 UTC "x86_64-z-cet-report.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 246/256 Testing: x86_64-z-ibt.sh 246/256 Test: x86_64-z-ibt.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/z-ibt.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-z-ibt.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/z-ibt.sh .sh + testname=z-ibt + echo -n 'Testing z-ibt ... ' Testing z-ibt ... + t=out/test/elf/x86_64/z-ibt + mkdir -p out/test/elf/x86_64/z-ibt + '[' x86_64 = x86_64 ']' + cat + cc -o out/test/elf/x86_64/z-ibt/a.o -c -x assembler - + cc -B. -o out/test/elf/x86_64/z-ibt/exe out/test/elf/x86_64/z-ibt/a.o + readelf --notes out/test/elf/x86_64/z-ibt/exe + grep -qw SHSTK out/test/elf/x86_64/z-ibt/log + cc -B. -o out/test/elf/x86_64/z-ibt/exe out/test/elf/x86_64/z-ibt/a.o -Wl,-z,ibt + readelf --notes out/test/elf/x86_64/z-ibt/exe + grep -qw IBT + echo OK OK Test time = 0.14 sec ---------------------------------------------------------- Test Passed. "x86_64-z-ibt.sh" end time: Oct 07 08:28 UTC "x86_64-z-ibt.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 245/256 Testing: x86_64-z-defs.sh 245/256 Test: x86_64-z-defs.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/z-defs.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-z-defs.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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,nodefs + 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 + readelf --dyn-syms out/test/elf/x86_64/z-defs/c.so + grep -q ' foo$' + echo OK OK Test time = 0.32 sec ---------------------------------------------------------- Test Passed. "x86_64-z-defs.sh" end time: Oct 07 08:28 UTC "x86_64-z-defs.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 247/256 Testing: x86_64-z-ibtplt.sh 247/256 Test: x86_64-z-ibtplt.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/z-ibtplt.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-z-ibtplt.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/z-ibtplt.sh .sh + testname=z-ibtplt + echo -n 'Testing z-ibtplt ... ' Testing z-ibtplt ... + t=out/test/elf/x86_64/z-ibtplt + mkdir -p out/test/elf/x86_64/z-ibtplt + '[' x86_64 = x86_64 ']' + cat + cc -fPIC -o out/test/elf/x86_64/z-ibtplt/a.o -c -xc - + cc -B. -o out/test/elf/x86_64/z-ibtplt/b.so -shared out/test/elf/x86_64/z-ibtplt/a.o -Wl,-z,ibtplt + cat + cc -o out/test/elf/x86_64/z-ibtplt/c.o -c -xc - + cc -B. -o out/test/elf/x86_64/z-ibtplt/exe out/test/elf/x86_64/z-ibtplt/c.o out/test/elf/x86_64/z-ibtplt/b.so -Wl,-z,ibtplt + out/test/elf/x86_64/z-ibtplt/exe + grep -q 'Hello world' + echo OK OK Test time = 0.22 sec ---------------------------------------------------------- Test Passed. "x86_64-z-ibtplt.sh" end time: Oct 07 08:28 UTC "x86_64-z-ibtplt.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 249/256 Testing: x86_64-z-nodefaultlib.sh 249/256 Test: x86_64-z-nodefaultlib.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/z-nodefaultlib.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-z-nodefaultlib.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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' + echo OK OK Test time = 0.12 sec ---------------------------------------------------------- Test Passed. "x86_64-z-nodefaultlib.sh" end time: Oct 07 08:28 UTC "x86_64-z-nodefaultlib.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 248/256 Testing: x86_64-z-max-page-size.sh 248/256 Test: x86_64-z-max-page-size.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/z-max-page-size.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-z-max-page-size.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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/exe out/test/elf/x86_64/z-max-page-size/a.o -Wl,-z,max-page-size=65536 + out/test/elf/x86_64/z-max-page-size/exe + grep -q 'Hello world' + readelf -W --segments out/test/elf/x86_64/z-max-page-size/exe + grep -q 'LOAD.*R 0x10000$' + cc -B. -o out/test/elf/x86_64/z-max-page-size/exe 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/exe + grep -q 'Hello world' + readelf -W --segments out/test/elf/x86_64/z-max-page-size/exe + grep -q 'LOAD.*R 0x100000$' + echo OK OK Test time = 0.19 sec ---------------------------------------------------------- Test Passed. "x86_64-z-max-page-size.sh" end time: Oct 07 08:28 UTC "x86_64-z-max-page-size.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 253/256 Testing: x86_64-z-separate-code.sh 253/256 Test: x86_64-z-separate-code.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/z-separate-code.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-z-separate-code.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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 + echo skipped skipped + exit Test time = 0.02 sec ---------------------------------------------------------- Test Passed. "x86_64-z-separate-code.sh" end time: Oct 07 08:28 UTC "x86_64-z-separate-code.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 251/256 Testing: x86_64-z-now.sh 251/256 Test: x86_64-z-now.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/z-now.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-z-now.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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' + echo OK OK Test time = 0.12 sec ---------------------------------------------------------- Test Passed. "x86_64-z-now.sh" end time: Oct 07 08:28 UTC "x86_64-z-now.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 252/256 Testing: x86_64-z-origin.sh 252/256 Test: x86_64-z-origin.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/z-origin.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-z-origin.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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' + echo OK OK Test time = 0.12 sec ---------------------------------------------------------- Test Passed. "x86_64-z-origin.sh" end time: Oct 07 08:28 UTC "x86_64-z-origin.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 250/256 Testing: x86_64-z-nodump.sh 250/256 Test: x86_64-z-nodump.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/z-nodump.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-z-nodump.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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' + echo OK OK Test time = 0.17 sec ---------------------------------------------------------- Test Passed. "x86_64-z-nodump.sh" end time: Oct 07 08:28 UTC "x86_64-z-nodump.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 255/256 Testing: x86_64-z-text.sh 255/256 Test: x86_64-z-text.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/z-text.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-z-text.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/z-text.sh .sh + testname=z-text + echo -n 'Testing z-text ... ' Testing z-text ... + t=out/test/elf/x86_64/z-text + mkdir -p out/test/elf/x86_64/z-text + ldd --help + grep -q musl + echo skipped skipped + exit Test time = 0.02 sec ---------------------------------------------------------- Test Passed. "x86_64-z-text.sh" end time: Oct 07 08:28 UTC "x86_64-z-text.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 256/256 Testing: x86_64-z-unknown.sh 256/256 Test: x86_64-z-unknown.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/z-unknown.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-z-unknown.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.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' + echo OK OK Test time = 0.03 sec ---------------------------------------------------------- Test Passed. "x86_64-z-unknown.sh" end time: Oct 07 08:28 UTC "x86_64-z-unknown.sh" time elapsed: 00:00:00 ---------------------------------------------------------- 254/256 Testing: x86_64-z-shstk.sh 254/256 Test: x86_64-z-shstk.sh Command: "/bin/bash" "-x" "/var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/z-shstk.sh" Directory: /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1_build "x86_64-z-shstk.sh" start time: Oct 07 08:28 UTC Output: ---------------------------------------------------------- + export LC_ALL=C + LC_ALL=C + set -e + CC=cc + CXX=c++ + GCC=gcc + GXX=g++ + OBJDUMP=objdump ++ uname -m + MACHINE=x86_64 ++ basename /var/tmp/portage/sys-devel/mold-1.5.1/work/mold-1.5.1/test/elf/z-shstk.sh .sh + testname=z-shstk + echo -n 'Testing z-shstk ... ' Testing z-shstk ... + t=out/test/elf/x86_64/z-shstk + mkdir -p out/test/elf/x86_64/z-shstk + '[' x86_64 = x86_64 ']' + cat + cc -o out/test/elf/x86_64/z-shstk/a.o -c -x assembler - + cc -B. -o out/test/elf/x86_64/z-shstk/exe out/test/elf/x86_64/z-shstk/a.o + readelf --notes out/test/elf/x86_64/z-shstk/exe + grep -qw SHSTK out/test/elf/x86_64/z-shstk/log + cc -B. -o out/test/elf/x86_64/z-shstk/exe out/test/elf/x86_64/z-shstk/a.o -Wl,-z,shstk + readelf --notes out/test/elf/x86_64/z-shstk/exe + grep -qw SHSTK + echo OK OK Test time = 0.13 sec ---------------------------------------------------------- Test Passed. "x86_64-z-shstk.sh" end time: Oct 07 08:28 UTC "x86_64-z-shstk.sh" time elapsed: 00:00:00 ---------------------------------------------------------- End testing: Oct 07 08:28 UTC