Diff of the two buildlogs: -- --- b1/build.log 2024-01-11 04:12:16.924465248 +0000 +++ b2/build.log 2024-01-11 04:24:23.842072479 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Feb 11 22:17:30 -12 2025 -I: pbuilder-time-stamp: 1739355450 +I: Current time: Thu Jan 11 18:12:20 +14 2024 +I: pbuilder-time-stamp: 1704946340 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -25,49 +25,81 @@ dpkg-source: info: unpacking mold_1.10.1+dfsg-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3794910/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/78045/tmp/hooks/D01_modify_environment starting +debug: Running on ionos11-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jan 11 04:12 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/78045/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/78045/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16 ' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15 ' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='a6533f81ce764fc38a3b5cea16c17edb' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='3794910' - PS1='# ' - PS2='> ' + INVOCATION_ID=aff81c997b05487db87b31a690b55b8d + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=78045 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.uGGOp65T/pbuilderrc_jpPF --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.uGGOp65T/b1 --logfile b1/build.log mold_1.10.1+dfsg-1.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.uGGOp65T/pbuilderrc_fBV5 --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.uGGOp65T/b2 --logfile b2/build.log mold_1.10.1+dfsg-1.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos15-amd64 6.5.0-0.deb12.4-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.5.10-1~bpo12+1 (2023-11-23) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-17-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.69-1 (2023-12-30) x86_64 GNU/Linux I: ls -l /bin total 5632 -rwxr-xr-x 1 root root 1265648 Apr 23 2023 bash @@ -125,15 +157,15 @@ -rwxr-xr-x 1 root root 52112 Sep 20 2022 readlink -rwxr-xr-x 1 root root 72752 Sep 20 2022 rm -rwxr-xr-x 1 root root 56240 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 27560 Jul 28 2023 run-parts + -rwxr-xr-x 1 root root 27560 Jul 28 23:46 run-parts -rwxr-xr-x 1 root root 126424 Jan 5 2023 sed - lrwxrwxrwx 1 root root 4 Jan 5 2023 sh -> dash + lrwxrwxrwx 1 root root 9 Jan 11 04:12 sh -> /bin/bash -rwxr-xr-x 1 root root 43888 Sep 20 2022 sleep -rwxr-xr-x 1 root root 85008 Sep 20 2022 stty -rwsr-xr-x 1 root root 72000 Mar 23 2023 su -rwxr-xr-x 1 root root 39824 Sep 20 2022 sync -rwxr-xr-x 1 root root 531984 Apr 6 2023 tar - -rwxr-xr-x 1 root root 14520 Jul 28 2023 tempfile + -rwxr-xr-x 1 root root 14520 Jul 28 23:46 tempfile -rwxr-xr-x 1 root root 109616 Sep 20 2022 touch -rwxr-xr-x 1 root root 35664 Sep 20 2022 true -rwxr-xr-x 1 root root 14568 Mar 23 2023 ulockmgr_server @@ -153,7 +185,7 @@ -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew -I: user script /srv/workspace/pbuilder/3794910/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/78045/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -289,7 +321,7 @@ Get: 80 http://deb.debian.org/debian bookworm/main amd64 pkgconf amd64 1.8.1-1 [25.9 kB] Get: 81 http://deb.debian.org/debian bookworm/main amd64 pkg-config amd64 1.8.1-1 [13.7 kB] Get: 82 http://deb.debian.org/debian bookworm/main amd64 zlib1g-dev amd64 1:1.2.13.dfsg-1 [916 kB] -Fetched 48.9 MB in 1s (38.2 MB/s) +Fetched 48.9 MB in 3s (16.8 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 18148 files and directories currently installed.) @@ -634,7 +666,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/mold-1.10.1+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../mold_1.10.1+dfsg-1_source.changes +I: user script /srv/workspace/pbuilder/78045/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bookworm +I: user script /srv/workspace/pbuilder/78045/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/mold-1.10.1+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../mold_1.10.1+dfsg-1_source.changes dpkg-buildpackage: info: source package mold dpkg-buildpackage: info: source version 1.10.1+dfsg-1 dpkg-buildpackage: info: source distribution unstable @@ -746,7 +782,7 @@ -- Build files have been written to: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu make[1]: Leaving directory '/build/reproducible-path/mold-1.10.1+dfsg' dh_auto_build - cd obj-x86_64-linux-gnu && make -j16 "INSTALL=install --strip-program=true" VERBOSE=1 + cd obj-x86_64-linux-gnu && make -j15 "INSTALL=install --strip-program=true" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu' /usr/bin/cmake -P /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/VerifyGlobs.cmake /usr/bin/cmake -S/build/reproducible-path/mold-1.10.1+dfsg -B/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 @@ -758,71 +794,69 @@ cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/mold-1.10.1+dfsg /build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb/CMakeFiles/tbb.dir/DependInfo.cmake --color= make -f CMakeFiles/git_hash.dir/build.make CMakeFiles/git_hash.dir/depend make[3]: Entering directory '/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu' -cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/mold-1.10.1+dfsg /build/reproducible-path/mold-1.10.1+dfsg /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/git_hash.dir/DependInfo.cmake --color= make -f third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/build.make third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/depend -make[3]: Entering directory '/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu' +cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/mold-1.10.1+dfsg /build/reproducible-path/mold-1.10.1+dfsg /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/git_hash.dir/DependInfo.cmake --color= make -f third-party/mimalloc/CMakeFiles/mimalloc-static.dir/build.make third-party/mimalloc/CMakeFiles/mimalloc-static.dir/depend +make[3]: Entering directory '/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu' cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/mold-1.10.1+dfsg /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/DependInfo.cmake --color= make[3]: Entering directory '/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu' -cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/mold-1.10.1+dfsg /build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc/CMakeFiles/mimalloc-static.dir/DependInfo.cmake --color= make -f CMakeFiles/mold-wrapper.dir/build.make CMakeFiles/mold-wrapper.dir/depend +cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/mold-1.10.1+dfsg /build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc/CMakeFiles/mimalloc-static.dir/DependInfo.cmake --color= make[3]: Leaving directory '/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu' cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/mold-1.10.1+dfsg /build/reproducible-path/mold-1.10.1+dfsg /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/mold-wrapper.dir/DependInfo.cmake --color= make -f third-party/tbb/src/tbb/CMakeFiles/tbb.dir/build.make third-party/tbb/src/tbb/CMakeFiles/tbb.dir/build +make[3]: Entering directory '/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu' make -f CMakeFiles/git_hash.dir/build.make CMakeFiles/git_hash.dir/build -make[3]: Entering directory '/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu' -make[3]: Entering directory '/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu' -/usr/bin/cmake -DSOURCE_DIR=/build/reproducible-path/mold-1.10.1+dfsg -DOUTPUT_FILE=/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/git-hash.cc -P /build/reproducible-path/mold-1.10.1+dfsg/common/update-git-hash.cmake +make[3]: Leaving directory '/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu' +make[3]: Leaving directory '/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu' Dependee "/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/DependInfo.cmake" is newer than depender "/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/depend.internal". Dependee "/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/depend.internal". Scanning dependencies of target libzstd_static -make[3]: Leaving directory '/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu' -make -f third-party/mimalloc/CMakeFiles/mimalloc-static.dir/build.make third-party/mimalloc/CMakeFiles/mimalloc-static.dir/build -make[3]: Leaving directory '/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu' -make[3]: Leaving directory '/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu' +make[3]: Entering directory '/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu' +/usr/bin/cmake -DSOURCE_DIR=/build/reproducible-path/mold-1.10.1+dfsg -DOUTPUT_FILE=/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/git-hash.cc -P /build/reproducible-path/mold-1.10.1+dfsg/common/update-git-hash.cmake make[3]: Leaving directory '/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu' make -f third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/build.make third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/build -make[3]: Entering directory '/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu' -make[3]: Entering directory '/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu' -make -f CMakeFiles/mold-wrapper.dir/build.make CMakeFiles/mold-wrapper.dir/build -[ 0%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/address_waiter.cpp.o [ 0%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/allocator.cpp.o +[ 0%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/address_waiter.cpp.o +make -f third-party/mimalloc/CMakeFiles/mimalloc-static.dir/build.make third-party/mimalloc/CMakeFiles/mimalloc-static.dir/build +cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -std=c++11 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/address_waiter.cpp.o -MF CMakeFiles/tbb.dir/address_waiter.cpp.o.d -o CMakeFiles/tbb.dir/address_waiter.cpp.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/address_waiter.cpp make[3]: Entering directory '/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu' [ 1%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/arena.cpp.o -cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -std=c++11 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/address_waiter.cpp.o -MF CMakeFiles/tbb.dir/address_waiter.cpp.o.d -o CMakeFiles/tbb.dir/address_waiter.cpp.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/address_waiter.cpp -[ 1%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/arena_slot.cpp.o +make -f CMakeFiles/mold-wrapper.dir/build.make CMakeFiles/mold-wrapper.dir/build +make[3]: Entering directory '/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu' cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -std=c++11 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/allocator.cpp.o -MF CMakeFiles/tbb.dir/allocator.cpp.o.d -o CMakeFiles/tbb.dir/allocator.cpp.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/allocator.cpp -[ 1%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/debug.c.o -[ 1%] Built target git_hash -[ 1%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/concurrent_bounded_queue.cpp.o -[ 2%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/stats.c.o -[ 2%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/random.c.o -cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -std=gnu11 -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/random.c.o -MF CMakeFiles/mimalloc-static.dir/src/random.c.o.d -o CMakeFiles/mimalloc-static.dir/src/random.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/src/random.c +[ 1%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/arena_slot.cpp.o cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -std=c++11 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/arena.cpp.o -MF CMakeFiles/tbb.dir/arena.cpp.o.d -o CMakeFiles/tbb.dir/arena.cpp.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/arena.cpp +make[3]: Entering directory '/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu' +make[3]: Leaving directory '/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu' cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -std=c++11 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/arena_slot.cpp.o -MF CMakeFiles/tbb.dir/arena_slot.cpp.o.d -o CMakeFiles/tbb.dir/arena_slot.cpp.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/arena_slot.cpp +[ 1%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/debug.c.o +[ 1%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/concurrent_bounded_queue.cpp.o cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/debug.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/common/debug.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/common/debug.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/common/debug.c -cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -std=gnu11 -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/stats.c.o -MF CMakeFiles/mimalloc-static.dir/src/stats.c.o.d -o CMakeFiles/mimalloc-static.dir/src/stats.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/src/stats.c cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -std=c++11 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/concurrent_bounded_queue.cpp.o -MF CMakeFiles/tbb.dir/concurrent_bounded_queue.cpp.o.d -o CMakeFiles/tbb.dir/concurrent_bounded_queue.cpp.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/concurrent_bounded_queue.cpp +[ 1%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/entropy_common.c.o +[ 1%] Built target git_hash +cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/entropy_common.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/common/entropy_common.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/common/entropy_common.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/common/entropy_common.c +[ 2%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/stats.c.o [ 2%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/error_private.c.o -[ 2%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/arena.c.o -[ 2%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/dynamic_link.cpp.o -[ 2%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/os.c.o -cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/error_private.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/common/error_private.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/common/error_private.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/common/error_private.c [ 2%] Building C object CMakeFiles/mold-wrapper.dir/elf/mold-wrapper.c.o -cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -std=gnu11 -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/os.c.o -MF CMakeFiles/mimalloc-static.dir/src/os.c.o.d -o CMakeFiles/mimalloc-static.dir/src/os.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/src/os.c -cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -std=c++11 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/dynamic_link.cpp.o -MF CMakeFiles/tbb.dir/dynamic_link.cpp.o.d -o CMakeFiles/tbb.dir/dynamic_link.cpp.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/dynamic_link.cpp +[ 2%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/random.c.o +cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/error_private.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/common/error_private.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/common/error_private.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/common/error_private.c +cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -std=gnu11 -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/stats.c.o -MF CMakeFiles/mimalloc-static.dir/src/stats.c.o.d -o CMakeFiles/mimalloc-static.dir/src/stats.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/src/stats.c /usr/bin/cc -Dmold_wrapper_EXPORTS -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT CMakeFiles/mold-wrapper.dir/elf/mold-wrapper.c.o -MF CMakeFiles/mold-wrapper.dir/elf/mold-wrapper.c.o.d -o CMakeFiles/mold-wrapper.dir/elf/mold-wrapper.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/elf/mold-wrapper.c -cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -std=gnu11 -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/arena.c.o -MF CMakeFiles/mimalloc-static.dir/src/arena.c.o.d -o CMakeFiles/mimalloc-static.dir/src/arena.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/src/arena.c -[ 2%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/entropy_common.c.o -cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/entropy_common.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/common/entropy_common.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/common/entropy_common.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/common/entropy_common.c +[ 2%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/os.c.o +cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -std=gnu11 -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/random.c.o -MF CMakeFiles/mimalloc-static.dir/src/random.c.o.d -o CMakeFiles/mimalloc-static.dir/src/random.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/src/random.c +cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -std=gnu11 -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/os.c.o -MF CMakeFiles/mimalloc-static.dir/src/os.c.o.d -o CMakeFiles/mimalloc-static.dir/src/os.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/src/os.c [ 2%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/bitmap.c.o -[ 2%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/fse_decompress.c.o +[ 3%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/exception.cpp.o +[ 3%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/dynamic_link.cpp.o +cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -std=c++11 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/dynamic_link.cpp.o -MF CMakeFiles/tbb.dir/dynamic_link.cpp.o.d -o CMakeFiles/tbb.dir/dynamic_link.cpp.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/dynamic_link.cpp cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -std=gnu11 -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/bitmap.c.o -MF CMakeFiles/mimalloc-static.dir/src/bitmap.c.o.d -o CMakeFiles/mimalloc-static.dir/src/bitmap.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/src/bitmap.c +cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -std=c++11 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/exception.cpp.o -MF CMakeFiles/tbb.dir/exception.cpp.o.d -o CMakeFiles/tbb.dir/exception.cpp.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/exception.cpp +[ 3%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/fse_decompress.c.o cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/fse_decompress.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/common/fse_decompress.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/common/fse_decompress.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/common/fse_decompress.c -[ 3%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/pool.c.o -cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/pool.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/common/pool.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/common/pool.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/common/pool.c /build/reproducible-path/mold-1.10.1+dfsg/elf/mold-wrapper.c: In function 'execvpe': /build/reproducible-path/mold-1.10.1+dfsg/elf/mold-wrapper.c:76:27: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 76 | typeof(execvpe) *real = dlsym(RTLD_NEXT, "execvp"); @@ -835,49 +869,57 @@ /build/reproducible-path/mold-1.10.1+dfsg/elf/mold-wrapper.c:131:31: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 131 | typeof(posix_spawn) *real = dlsym(RTLD_NEXT, "posix_spawn"); | ^~~~~ +[ 4%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/pool.c.o /build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/src/stats.c: In function 'mi_stats_print': /build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/src/stats.c:396:22: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 396 | mi_stats_print_out((mi_output_fun*)out, NULL); | ^ -[ 3%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/threading.c.o -cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/threading.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/common/threading.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/common/threading.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/common/threading.c -[ 3%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/xxhash.c.o -cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/xxhash.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/common/xxhash.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/common/xxhash.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/common/xxhash.c -[ 3%] Linking C shared library mold-wrapper.so +cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/pool.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/common/pool.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/common/pool.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/common/pool.c +[ 4%] Linking C shared library mold-wrapper.so /usr/bin/cmake -E cmake_link_script CMakeFiles/mold-wrapper.dir/link.txt --verbose=1 /usr/bin/cc -fPIC -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -shared -Wl,-soname,mold-wrapper.so -o mold-wrapper.so "CMakeFiles/mold-wrapper.dir/elf/mold-wrapper.c.o" -ldl make[3]: Leaving directory '/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu' -[ 3%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/zstd_common.c.o +[ 4%] Built target mold-wrapper +[ 4%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/threading.c.o +cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/threading.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/common/threading.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/common/threading.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/common/threading.c +[ 4%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/xxhash.c.o +cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/xxhash.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/common/xxhash.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/common/xxhash.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/common/xxhash.c +[ 4%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/arena.c.o +cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -std=gnu11 -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/arena.c.o -MF CMakeFiles/mimalloc-static.dir/src/arena.c.o.d -o CMakeFiles/mimalloc-static.dir/src/arena.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/src/arena.c +[ 4%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/zstd_common.c.o cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/zstd_common.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/common/zstd_common.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/common/zstd_common.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/common/zstd_common.c -[ 3%] Built target mold-wrapper -[ 4%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/segment-cache.c.o -cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -std=gnu11 -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/segment-cache.c.o -MF CMakeFiles/mimalloc-static.dir/src/segment-cache.c.o.d -o CMakeFiles/mimalloc-static.dir/src/segment-cache.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/src/segment-cache.c -[ 4%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/segment.c.o -cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -std=gnu11 -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/segment.c.o -MF CMakeFiles/mimalloc-static.dir/src/segment.c.o.d -o CMakeFiles/mimalloc-static.dir/src/segment.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/src/segment.c [ 6%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/fse_compress.c.o cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/fse_compress.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/fse_compress.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/fse_compress.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/compress/fse_compress.c -[ 6%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/hist.c.o +[ 7%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/segment-cache.c.o +cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -std=gnu11 -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/segment-cache.c.o -MF CMakeFiles/mimalloc-static.dir/src/segment-cache.c.o.d -o CMakeFiles/mimalloc-static.dir/src/segment-cache.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/src/segment-cache.c +[ 7%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/segment.c.o +cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -std=gnu11 -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/segment.c.o -MF CMakeFiles/mimalloc-static.dir/src/segment.c.o.d -o CMakeFiles/mimalloc-static.dir/src/segment.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/src/segment.c +[ 7%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/hist.c.o cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/hist.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/hist.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/hist.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/compress/hist.c -[ 6%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/huf_compress.c.o -[ 6%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/page.c.o +[ 7%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/huf_compress.c.o cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/huf_compress.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/huf_compress.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/huf_compress.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/compress/huf_compress.c +[ 7%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/page.c.o cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -std=gnu11 -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/page.c.o -MF CMakeFiles/mimalloc-static.dir/src/page.c.o.d -o CMakeFiles/mimalloc-static.dir/src/page.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/src/page.c -[ 7%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/exception.cpp.o -cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -std=c++11 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/exception.cpp.o -MF CMakeFiles/tbb.dir/exception.cpp.o.d -o CMakeFiles/tbb.dir/exception.cpp.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/exception.cpp -[ 7%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc.c.o -cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -std=gnu11 -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc.c.o -MF CMakeFiles/mimalloc-static.dir/src/alloc.c.o.d -o CMakeFiles/mimalloc-static.dir/src/alloc.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/src/alloc.c -[ 8%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc-aligned.c.o -cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -std=gnu11 -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc-aligned.c.o -MF CMakeFiles/mimalloc-static.dir/src/alloc-aligned.c.o.d -o CMakeFiles/mimalloc-static.dir/src/alloc-aligned.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/src/alloc-aligned.c -[ 8%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress.c.o +[ 7%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress.c.o cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/compress/zstd_compress.c -[ 8%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc-posix.c.o -cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -std=gnu11 -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc-posix.c.o -MF CMakeFiles/mimalloc-static.dir/src/alloc-posix.c.o.d -o CMakeFiles/mimalloc-static.dir/src/alloc-posix.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/src/alloc-posix.c -[ 8%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/heap.c.o -cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -std=gnu11 -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/heap.c.o -MF CMakeFiles/mimalloc-static.dir/src/heap.c.o.d -o CMakeFiles/mimalloc-static.dir/src/heap.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/src/heap.c -[ 9%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_literals.c.o +[ 8%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_literals.c.o cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_literals.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_literals.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_literals.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/compress/zstd_compress_literals.c +[ 8%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc.c.o +cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -std=gnu11 -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc.c.o -MF CMakeFiles/mimalloc-static.dir/src/alloc.c.o.d -o CMakeFiles/mimalloc-static.dir/src/alloc.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/src/alloc.c +[ 9%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc-aligned.c.o +cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -std=gnu11 -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc-aligned.c.o -MF CMakeFiles/mimalloc-static.dir/src/alloc-aligned.c.o.d -o CMakeFiles/mimalloc-static.dir/src/alloc-aligned.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/src/alloc-aligned.c [ 9%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_sequences.c.o cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_sequences.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_sequences.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_sequences.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/compress/zstd_compress_sequences.c +[ 9%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_superblock.c.o +cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_superblock.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_superblock.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_superblock.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/compress/zstd_compress_superblock.c +[ 9%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc-posix.c.o +cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -std=gnu11 -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc-posix.c.o -MF CMakeFiles/mimalloc-static.dir/src/alloc-posix.c.o.d -o CMakeFiles/mimalloc-static.dir/src/alloc-posix.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/src/alloc-posix.c +[ 9%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_double_fast.c.o +cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_double_fast.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_double_fast.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_double_fast.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/compress/zstd_double_fast.c +[ 9%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/heap.c.o +cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -std=gnu11 -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/heap.c.o -MF CMakeFiles/mimalloc-static.dir/src/heap.c.o.d -o CMakeFiles/mimalloc-static.dir/src/heap.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/src/heap.c +[ 9%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_fast.c.o +cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_fast.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_fast.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_fast.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/compress/zstd_fast.c /build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/src/heap.c: In function 'mi_heap_visit_areas_page': /build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/src/heap.c:560:33: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 560 | mi_heap_area_visit_fun* fun = (mi_heap_area_visit_fun*)vfun; @@ -888,8 +930,8 @@ | ^ [ 9%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/options.c.o cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -std=gnu11 -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/options.c.o -MF CMakeFiles/mimalloc-static.dir/src/options.c.o.d -o CMakeFiles/mimalloc-static.dir/src/options.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/src/options.c -[ 9%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_superblock.c.o -cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_superblock.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_superblock.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_superblock.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/compress/zstd_compress_superblock.c +[ 10%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/init.c.o +cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -std=gnu11 -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/init.c.o -MF CMakeFiles/mimalloc-static.dir/src/init.c.o.d -o CMakeFiles/mimalloc-static.dir/src/init.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/src/init.c /build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/src/options.c: In function '_mi_fputs': /build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/src/options.c:330:20: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 330 | if (out==NULL || (FILE*)out==stdout || (FILE*)out==stderr) { // TODO: use mi_out_stderr for stderr? @@ -897,18 +939,12 @@ /build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/src/options.c:330:42: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 330 | if (out==NULL || (FILE*)out==stdout || (FILE*)out==stderr) { // TODO: use mi_out_stderr for stderr? | ^ -[ 10%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/init.c.o -cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -std=gnu11 -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/init.c.o -MF CMakeFiles/mimalloc-static.dir/src/init.c.o.d -o CMakeFiles/mimalloc-static.dir/src/init.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/src/init.c -[ 10%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_double_fast.c.o -cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_double_fast.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_double_fast.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_double_fast.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/compress/zstd_double_fast.c -[ 10%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_fast.c.o -cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_fast.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_fast.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_fast.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/compress/zstd_fast.c -[ 10%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/governor.cpp.o -cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -std=c++11 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/governor.cpp.o -MF CMakeFiles/tbb.dir/governor.cpp.o.d -o CMakeFiles/tbb.dir/governor.cpp.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/governor.cpp -[ 10%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/global_control.cpp.o -cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -std=c++11 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/global_control.cpp.o -MF CMakeFiles/tbb.dir/global_control.cpp.o.d -o CMakeFiles/tbb.dir/global_control.cpp.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/global_control.cpp [ 12%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_lazy.c.o cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_lazy.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_lazy.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_lazy.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/compress/zstd_lazy.c +[ 12%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/governor.cpp.o +cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -std=c++11 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/governor.cpp.o -MF CMakeFiles/tbb.dir/governor.cpp.o.d -o CMakeFiles/tbb.dir/governor.cpp.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/governor.cpp +[ 12%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/global_control.cpp.o +cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -std=c++11 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/global_control.cpp.o -MF CMakeFiles/tbb.dir/global_control.cpp.o.d -o CMakeFiles/tbb.dir/global_control.cpp.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/global_control.cpp [ 12%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_ldm.c.o cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_ldm.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_ldm.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_ldm.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/compress/zstd_ldm.c [ 12%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/itt_notify.cpp.o @@ -918,66 +954,66 @@ cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cmake -E cmake_link_script CMakeFiles/mimalloc-static.dir/link.txt --verbose=1 /usr/bin/ar qc libmimalloc.a "CMakeFiles/mimalloc-static.dir/src/stats.c.o" "CMakeFiles/mimalloc-static.dir/src/random.c.o" "CMakeFiles/mimalloc-static.dir/src/os.c.o" "CMakeFiles/mimalloc-static.dir/src/bitmap.c.o" "CMakeFiles/mimalloc-static.dir/src/arena.c.o" "CMakeFiles/mimalloc-static.dir/src/segment-cache.c.o" "CMakeFiles/mimalloc-static.dir/src/segment.c.o" "CMakeFiles/mimalloc-static.dir/src/page.c.o" "CMakeFiles/mimalloc-static.dir/src/alloc.c.o" "CMakeFiles/mimalloc-static.dir/src/alloc-aligned.c.o" "CMakeFiles/mimalloc-static.dir/src/alloc-posix.c.o" "CMakeFiles/mimalloc-static.dir/src/heap.c.o" "CMakeFiles/mimalloc-static.dir/src/options.c.o" "CMakeFiles/mimalloc-static.dir/src/init.c.o" /usr/bin/ranlib libmimalloc.a -make[3]: Leaving directory '/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu' -[ 12%] Built target mimalloc-static [ 13%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/main.cpp.o cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -std=c++11 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/main.cpp.o -MF CMakeFiles/tbb.dir/main.cpp.o.d -o CMakeFiles/tbb.dir/main.cpp.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/main.cpp +make[3]: Leaving directory '/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu' [ 13%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/market.cpp.o cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -std=c++11 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/market.cpp.o -MF CMakeFiles/tbb.dir/market.cpp.o.d -o CMakeFiles/tbb.dir/market.cpp.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/market.cpp +[ 13%] Built target mimalloc-static [ 13%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_opt.c.o +[ 13%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/misc.cpp.o cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_opt.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_opt.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_opt.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/compress/zstd_opt.c +cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -std=c++11 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/misc.cpp.o -MF CMakeFiles/tbb.dir/misc.cpp.o.d -o CMakeFiles/tbb.dir/misc.cpp.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/misc.cpp [ 13%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstdmt_compress.c.o cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstdmt_compress.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstdmt_compress.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstdmt_compress.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/compress/zstdmt_compress.c -[ 13%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/misc.cpp.o -cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -std=c++11 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/misc.cpp.o -MF CMakeFiles/tbb.dir/misc.cpp.o.d -o CMakeFiles/tbb.dir/misc.cpp.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/misc.cpp [ 13%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/misc_ex.cpp.o cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -std=c++11 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/misc_ex.cpp.o -MF CMakeFiles/tbb.dir/misc_ex.cpp.o.d -o CMakeFiles/tbb.dir/misc_ex.cpp.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/misc_ex.cpp -[ 13%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/observer_proxy.cpp.o -cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -std=c++11 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/observer_proxy.cpp.o -MF CMakeFiles/tbb.dir/observer_proxy.cpp.o.d -o CMakeFiles/tbb.dir/observer_proxy.cpp.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/observer_proxy.cpp -[ 14%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/parallel_pipeline.cpp.o -cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -std=c++11 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/parallel_pipeline.cpp.o -MF CMakeFiles/tbb.dir/parallel_pipeline.cpp.o.d -o CMakeFiles/tbb.dir/parallel_pipeline.cpp.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/parallel_pipeline.cpp -[ 14%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/private_server.cpp.o -cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -std=c++11 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/private_server.cpp.o -MF CMakeFiles/tbb.dir/private_server.cpp.o.d -o CMakeFiles/tbb.dir/private_server.cpp.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/private_server.cpp -[ 15%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/huf_decompress.c.o +[ 14%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/huf_decompress.c.o cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/huf_decompress.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/huf_decompress.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/huf_decompress.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/decompress/huf_decompress.c -[ 15%] Building ASM object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/huf_decompress_amd64.S.o +[ 14%] Building ASM object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/huf_decompress_amd64.S.o cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -fPIC -o CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/huf_decompress_amd64.S.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/decompress/huf_decompress_amd64.S -[ 15%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_ddict.c.o +[ 14%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_ddict.c.o cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_ddict.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_ddict.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_ddict.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/decompress/zstd_ddict.c -[ 15%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress.c.o +[ 14%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress.c.o cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/decompress/zstd_decompress.c -[ 15%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/profiling.cpp.o +[ 15%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress_block.c.o +cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress_block.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress_block.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress_block.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/decompress/zstd_decompress_block.c +[ 15%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/observer_proxy.cpp.o +cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -std=c++11 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/observer_proxy.cpp.o -MF CMakeFiles/tbb.dir/observer_proxy.cpp.o.d -o CMakeFiles/tbb.dir/observer_proxy.cpp.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/observer_proxy.cpp +[ 16%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/parallel_pipeline.cpp.o +cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -std=c++11 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/parallel_pipeline.cpp.o -MF CMakeFiles/tbb.dir/parallel_pipeline.cpp.o.d -o CMakeFiles/tbb.dir/parallel_pipeline.cpp.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/parallel_pipeline.cpp +[ 16%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/private_server.cpp.o +cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -std=c++11 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/private_server.cpp.o -MF CMakeFiles/tbb.dir/private_server.cpp.o.d -o CMakeFiles/tbb.dir/private_server.cpp.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/private_server.cpp +[ 16%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/profiling.cpp.o cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -std=c++11 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/profiling.cpp.o -MF CMakeFiles/tbb.dir/profiling.cpp.o.d -o CMakeFiles/tbb.dir/profiling.cpp.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/profiling.cpp -[ 15%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/rml_tbb.cpp.o +[ 16%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/rml_tbb.cpp.o cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -std=c++11 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/rml_tbb.cpp.o -MF CMakeFiles/tbb.dir/rml_tbb.cpp.o.d -o CMakeFiles/tbb.dir/rml_tbb.cpp.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/rml_tbb.cpp -[ 16%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/rtm_mutex.cpp.o +[ 18%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/rtm_mutex.cpp.o cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -std=c++11 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/rtm_mutex.cpp.o -MF CMakeFiles/tbb.dir/rtm_mutex.cpp.o.d -o CMakeFiles/tbb.dir/rtm_mutex.cpp.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/rtm_mutex.cpp -[ 16%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/rtm_rw_mutex.cpp.o +[ 18%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/cover.c.o +cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/cover.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/cover.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/cover.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/dictBuilder/cover.c +[ 18%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/divsufsort.c.o +cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/divsufsort.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/divsufsort.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/divsufsort.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/dictBuilder/divsufsort.c +[ 18%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/fastcover.c.o +cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/fastcover.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/fastcover.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/fastcover.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/dictBuilder/fastcover.c +[ 18%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/zdict.c.o +cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/zdict.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/zdict.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/zdict.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/dictBuilder/zdict.c +[ 18%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/rtm_rw_mutex.cpp.o +[ 18%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/semaphore.cpp.o cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -std=c++11 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/rtm_rw_mutex.cpp.o -MF CMakeFiles/tbb.dir/rtm_rw_mutex.cpp.o.d -o CMakeFiles/tbb.dir/rtm_rw_mutex.cpp.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/rtm_rw_mutex.cpp -[ 16%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/semaphore.cpp.o cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -std=c++11 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/semaphore.cpp.o -MF CMakeFiles/tbb.dir/semaphore.cpp.o.d -o CMakeFiles/tbb.dir/semaphore.cpp.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/semaphore.cpp -[ 16%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/small_object_pool.cpp.o +[ 18%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/small_object_pool.cpp.o cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -std=c++11 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/small_object_pool.cpp.o -MF CMakeFiles/tbb.dir/small_object_pool.cpp.o.d -o CMakeFiles/tbb.dir/small_object_pool.cpp.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/small_object_pool.cpp -[ 18%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/task.cpp.o +[ 19%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/task.cpp.o cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -std=c++11 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/task.cpp.o -MF CMakeFiles/tbb.dir/task.cpp.o.d -o CMakeFiles/tbb.dir/task.cpp.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/task.cpp -[ 19%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress_block.c.o -cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress_block.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress_block.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress_block.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/decompress/zstd_decompress_block.c [ 19%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/task_dispatcher.cpp.o cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -std=c++11 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/task_dispatcher.cpp.o -MF CMakeFiles/tbb.dir/task_dispatcher.cpp.o.d -o CMakeFiles/tbb.dir/task_dispatcher.cpp.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/task_dispatcher.cpp -[ 19%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/cover.c.o -cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/cover.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/cover.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/cover.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/dictBuilder/cover.c -[ 19%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/divsufsort.c.o -cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/divsufsort.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/divsufsort.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/divsufsort.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/dictBuilder/divsufsort.c [ 19%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/task_group_context.cpp.o cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -std=c++11 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/task_group_context.cpp.o -MF CMakeFiles/tbb.dir/task_group_context.cpp.o.d -o CMakeFiles/tbb.dir/task_group_context.cpp.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/task_group_context.cpp [ 19%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/version.cpp.o cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -std=c++11 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/version.cpp.o -MF CMakeFiles/tbb.dir/version.cpp.o.d -o CMakeFiles/tbb.dir/version.cpp.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/version.cpp [ 19%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/queuing_rw_mutex.cpp.o cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -std=c++11 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/queuing_rw_mutex.cpp.o -MF CMakeFiles/tbb.dir/queuing_rw_mutex.cpp.o.d -o CMakeFiles/tbb.dir/queuing_rw_mutex.cpp.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/queuing_rw_mutex.cpp -[ 19%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/fastcover.c.o -cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/fastcover.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/fastcover.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/fastcover.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/dictBuilder/fastcover.c -[ 19%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/zdict.c.o -cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=0 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/build/cmake/../../lib/common -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/zdict.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/zdict.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/zdict.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib/dictBuilder/zdict.c [ 20%] Linking CXX static library ../../../../gnu_12.2_cxx11_64_none/libtbb.a cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/cmake -P CMakeFiles/tbb.dir/cmake_clean_target.cmake cd /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/cmake -E cmake_link_script CMakeFiles/tbb.dir/link.txt --verbose=1 @@ -1003,36 +1039,36 @@ [ 21%] Building C object CMakeFiles/mold.dir/third-party/rust-demangle/rust-demangle.c.o /usr/bin/cc -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-sign-compare -Wno-unused-function -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/third-party/rust-demangle/rust-demangle.c.o -MF CMakeFiles/mold.dir/third-party/rust-demangle/rust-demangle.c.o.d -o CMakeFiles/mold.dir/third-party/rust-demangle/rust-demangle.c.o -c /build/reproducible-path/mold-1.10.1+dfsg/third-party/rust-demangle/rust-demangle.c [ 21%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.I386.cc.o +[ 21%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.X86_64.cc.o +[ 21%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.ARM32.cc.o [ 22%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.ARM64.cc.o -[ 22%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.X86_64.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-sign-compare -Wno-unused-function -ggnu-pubnames -pthread -fpch-preprocess -std=gnu++20 -Winvalid-pch -include /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/mold.dir/cmake_pch.hxx -MD -MT CMakeFiles/mold.dir/elf/cmdline.cc.I386.cc.o -MF CMakeFiles/mold.dir/elf/cmdline.cc.I386.cc.o.d -o CMakeFiles/mold.dir/elf/cmdline.cc.I386.cc.o -c /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/elf/cmdline.cc.I386.cc /usr/bin/c++ -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-sign-compare -Wno-unused-function -ggnu-pubnames -pthread -fpch-preprocess -std=gnu++20 -Winvalid-pch -include /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/mold.dir/cmake_pch.hxx -MD -MT CMakeFiles/mold.dir/elf/cmdline.cc.X86_64.cc.o -MF CMakeFiles/mold.dir/elf/cmdline.cc.X86_64.cc.o.d -o CMakeFiles/mold.dir/elf/cmdline.cc.X86_64.cc.o -c /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/elf/cmdline.cc.X86_64.cc +/usr/bin/c++ -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-sign-compare -Wno-unused-function -ggnu-pubnames -pthread -fpch-preprocess -std=gnu++20 -Winvalid-pch -include /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/mold.dir/cmake_pch.hxx -MD -MT CMakeFiles/mold.dir/elf/cmdline.cc.I386.cc.o -MF CMakeFiles/mold.dir/elf/cmdline.cc.I386.cc.o.d -o CMakeFiles/mold.dir/elf/cmdline.cc.I386.cc.o -c /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/elf/cmdline.cc.I386.cc +[ 22%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.RV32LE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-sign-compare -Wno-unused-function -ggnu-pubnames -pthread -fpch-preprocess -std=gnu++20 -Winvalid-pch -include /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/mold.dir/cmake_pch.hxx -MD -MT CMakeFiles/mold.dir/elf/cmdline.cc.ARM64.cc.o -MF CMakeFiles/mold.dir/elf/cmdline.cc.ARM64.cc.o.d -o CMakeFiles/mold.dir/elf/cmdline.cc.ARM64.cc.o -c /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/elf/cmdline.cc.ARM64.cc -[ 22%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.ARM32.cc.o [ 22%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.RV32BE.cc.o -[ 22%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.RV32LE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-sign-compare -Wno-unused-function -ggnu-pubnames -pthread -fpch-preprocess -std=gnu++20 -Winvalid-pch -include /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/mold.dir/cmake_pch.hxx -MD -MT CMakeFiles/mold.dir/elf/cmdline.cc.ARM32.cc.o -MF CMakeFiles/mold.dir/elf/cmdline.cc.ARM32.cc.o.d -o CMakeFiles/mold.dir/elf/cmdline.cc.ARM32.cc.o -c /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/elf/cmdline.cc.ARM32.cc /usr/bin/c++ -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-sign-compare -Wno-unused-function -ggnu-pubnames -pthread -fpch-preprocess -std=gnu++20 -Winvalid-pch -include /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/mold.dir/cmake_pch.hxx -MD -MT CMakeFiles/mold.dir/elf/cmdline.cc.RV32LE.cc.o -MF CMakeFiles/mold.dir/elf/cmdline.cc.RV32LE.cc.o.d -o CMakeFiles/mold.dir/elf/cmdline.cc.RV32LE.cc.o -c /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/elf/cmdline.cc.RV32LE.cc -/usr/bin/c++ -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-sign-compare -Wno-unused-function -ggnu-pubnames -pthread -fpch-preprocess -std=gnu++20 -Winvalid-pch -include /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/mold.dir/cmake_pch.hxx -MD -MT CMakeFiles/mold.dir/elf/cmdline.cc.RV32BE.cc.o -MF CMakeFiles/mold.dir/elf/cmdline.cc.RV32BE.cc.o.d -o CMakeFiles/mold.dir/elf/cmdline.cc.RV32BE.cc.o -c /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/elf/cmdline.cc.RV32BE.cc [ 24%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.RV64LE.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-sign-compare -Wno-unused-function -ggnu-pubnames -pthread -fpch-preprocess -std=gnu++20 -Winvalid-pch -include /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/mold.dir/cmake_pch.hxx -MD -MT CMakeFiles/mold.dir/elf/cmdline.cc.RV32BE.cc.o -MF CMakeFiles/mold.dir/elf/cmdline.cc.RV32BE.cc.o.d -o CMakeFiles/mold.dir/elf/cmdline.cc.RV32BE.cc.o -c /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/elf/cmdline.cc.RV32BE.cc /usr/bin/c++ -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-sign-compare -Wno-unused-function -ggnu-pubnames -pthread -fpch-preprocess -std=gnu++20 -Winvalid-pch -include /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/mold.dir/cmake_pch.hxx -MD -MT CMakeFiles/mold.dir/elf/cmdline.cc.RV64LE.cc.o -MF CMakeFiles/mold.dir/elf/cmdline.cc.RV64LE.cc.o.d -o CMakeFiles/mold.dir/elf/cmdline.cc.RV64LE.cc.o -c /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/elf/cmdline.cc.RV64LE.cc -[ 24%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.PPC32.cc.o [ 24%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.RV64BE.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-sign-compare -Wno-unused-function -ggnu-pubnames -pthread -fpch-preprocess -std=gnu++20 -Winvalid-pch -include /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/mold.dir/cmake_pch.hxx -MD -MT CMakeFiles/mold.dir/elf/cmdline.cc.PPC32.cc.o -MF CMakeFiles/mold.dir/elf/cmdline.cc.PPC32.cc.o.d -o CMakeFiles/mold.dir/elf/cmdline.cc.PPC32.cc.o -c /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/elf/cmdline.cc.PPC32.cc +[ 24%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.PPC32.cc.o [ 24%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.PPC64V1.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-sign-compare -Wno-unused-function -ggnu-pubnames -pthread -fpch-preprocess -std=gnu++20 -Winvalid-pch -include /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/mold.dir/cmake_pch.hxx -MD -MT CMakeFiles/mold.dir/elf/cmdline.cc.RV64BE.cc.o -MF CMakeFiles/mold.dir/elf/cmdline.cc.RV64BE.cc.o.d -o CMakeFiles/mold.dir/elf/cmdline.cc.RV64BE.cc.o -c /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/elf/cmdline.cc.RV64BE.cc -/usr/bin/c++ -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-sign-compare -Wno-unused-function -ggnu-pubnames -pthread -fpch-preprocess -std=gnu++20 -Winvalid-pch -include /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/mold.dir/cmake_pch.hxx -MD -MT CMakeFiles/mold.dir/elf/cmdline.cc.PPC64V1.cc.o -MF CMakeFiles/mold.dir/elf/cmdline.cc.PPC64V1.cc.o.d -o CMakeFiles/mold.dir/elf/cmdline.cc.PPC64V1.cc.o -c /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/elf/cmdline.cc.PPC64V1.cc [ 24%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.PPC64V2.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-sign-compare -Wno-unused-function -ggnu-pubnames -pthread -fpch-preprocess -std=gnu++20 -Winvalid-pch -include /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/mold.dir/cmake_pch.hxx -MD -MT CMakeFiles/mold.dir/elf/cmdline.cc.PPC64V2.cc.o -MF CMakeFiles/mold.dir/elf/cmdline.cc.PPC64V2.cc.o.d -o CMakeFiles/mold.dir/elf/cmdline.cc.PPC64V2.cc.o -c /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/elf/cmdline.cc.PPC64V2.cc +/usr/bin/c++ -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-sign-compare -Wno-unused-function -ggnu-pubnames -pthread -fpch-preprocess -std=gnu++20 -Winvalid-pch -include /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/mold.dir/cmake_pch.hxx -MD -MT CMakeFiles/mold.dir/elf/cmdline.cc.PPC32.cc.o -MF CMakeFiles/mold.dir/elf/cmdline.cc.PPC32.cc.o.d -o CMakeFiles/mold.dir/elf/cmdline.cc.PPC32.cc.o -c /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/elf/cmdline.cc.PPC32.cc [ 25%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.S390X.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-sign-compare -Wno-unused-function -ggnu-pubnames -pthread -fpch-preprocess -std=gnu++20 -Winvalid-pch -include /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/mold.dir/cmake_pch.hxx -MD -MT CMakeFiles/mold.dir/elf/cmdline.cc.S390X.cc.o -MF CMakeFiles/mold.dir/elf/cmdline.cc.S390X.cc.o.d -o CMakeFiles/mold.dir/elf/cmdline.cc.S390X.cc.o -c /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/elf/cmdline.cc.S390X.cc +/usr/bin/c++ -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-sign-compare -Wno-unused-function -ggnu-pubnames -pthread -fpch-preprocess -std=gnu++20 -Winvalid-pch -include /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/mold.dir/cmake_pch.hxx -MD -MT CMakeFiles/mold.dir/elf/cmdline.cc.PPC64V1.cc.o -MF CMakeFiles/mold.dir/elf/cmdline.cc.PPC64V1.cc.o.d -o CMakeFiles/mold.dir/elf/cmdline.cc.PPC64V1.cc.o -c /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/elf/cmdline.cc.PPC64V1.cc [ 25%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.SPARC64.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-sign-compare -Wno-unused-function -ggnu-pubnames -pthread -fpch-preprocess -std=gnu++20 -Winvalid-pch -include /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/mold.dir/cmake_pch.hxx -MD -MT CMakeFiles/mold.dir/elf/cmdline.cc.PPC64V2.cc.o -MF CMakeFiles/mold.dir/elf/cmdline.cc.PPC64V2.cc.o.d -o CMakeFiles/mold.dir/elf/cmdline.cc.PPC64V2.cc.o -c /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/elf/cmdline.cc.PPC64V2.cc +/usr/bin/c++ -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-sign-compare -Wno-unused-function -ggnu-pubnames -pthread -fpch-preprocess -std=gnu++20 -Winvalid-pch -include /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/mold.dir/cmake_pch.hxx -MD -MT CMakeFiles/mold.dir/elf/cmdline.cc.S390X.cc.o -MF CMakeFiles/mold.dir/elf/cmdline.cc.S390X.cc.o.d -o CMakeFiles/mold.dir/elf/cmdline.cc.S390X.cc.o -c /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/elf/cmdline.cc.S390X.cc /usr/bin/c++ -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-sign-compare -Wno-unused-function -ggnu-pubnames -pthread -fpch-preprocess -std=gnu++20 -Winvalid-pch -include /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/mold.dir/cmake_pch.hxx -MD -MT CMakeFiles/mold.dir/elf/cmdline.cc.SPARC64.cc.o -MF CMakeFiles/mold.dir/elf/cmdline.cc.SPARC64.cc.o.d -o CMakeFiles/mold.dir/elf/cmdline.cc.SPARC64.cc.o -c /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/elf/cmdline.cc.SPARC64.cc [ 25%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.M68K.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-sign-compare -Wno-unused-function -ggnu-pubnames -pthread -fpch-preprocess -std=gnu++20 -Winvalid-pch -include /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/mold.dir/cmake_pch.hxx -MD -MT CMakeFiles/mold.dir/elf/cmdline.cc.M68K.cc.o -MF CMakeFiles/mold.dir/elf/cmdline.cc.M68K.cc.o.d -o CMakeFiles/mold.dir/elf/cmdline.cc.M68K.cc.o -c /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/elf/cmdline.cc.M68K.cc [ 25%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.SH4.cc.o -[ 26%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.ALPHA.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-sign-compare -Wno-unused-function -ggnu-pubnames -pthread -fpch-preprocess -std=gnu++20 -Winvalid-pch -include /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/mold.dir/cmake_pch.hxx -MD -MT CMakeFiles/mold.dir/elf/cmdline.cc.SH4.cc.o -MF CMakeFiles/mold.dir/elf/cmdline.cc.SH4.cc.o.d -o CMakeFiles/mold.dir/elf/cmdline.cc.SH4.cc.o -c /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/elf/cmdline.cc.SH4.cc +[ 26%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.ALPHA.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-sign-compare -Wno-unused-function -ggnu-pubnames -pthread -fpch-preprocess -std=gnu++20 -Winvalid-pch -include /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/mold.dir/cmake_pch.hxx -MD -MT CMakeFiles/mold.dir/elf/cmdline.cc.ALPHA.cc.o -MF CMakeFiles/mold.dir/elf/cmdline.cc.ALPHA.cc.o.d -o CMakeFiles/mold.dir/elf/cmdline.cc.ALPHA.cc.o -c /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/elf/cmdline.cc.ALPHA.cc [ 26%] Building CXX object CMakeFiles/mold.dir/elf/dwarf.cc.X86_64.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-sign-compare -Wno-unused-function -ggnu-pubnames -pthread -fpch-preprocess -std=gnu++20 -Winvalid-pch -include /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/mold.dir/cmake_pch.hxx -MD -MT CMakeFiles/mold.dir/elf/dwarf.cc.X86_64.cc.o -MF CMakeFiles/mold.dir/elf/dwarf.cc.X86_64.cc.o.d -o CMakeFiles/mold.dir/elf/dwarf.cc.X86_64.cc.o -c /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/elf/dwarf.cc.X86_64.cc @@ -1073,9 +1109,9 @@ [ 31%] Building CXX object CMakeFiles/mold.dir/elf/elf-main.cc.ARM64.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-sign-compare -Wno-unused-function -ggnu-pubnames -pthread -fpch-preprocess -std=gnu++20 -Winvalid-pch -include /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/mold.dir/cmake_pch.hxx -MD -MT CMakeFiles/mold.dir/elf/elf-main.cc.ARM64.cc.o -MF CMakeFiles/mold.dir/elf/elf-main.cc.ARM64.cc.o.d -o CMakeFiles/mold.dir/elf/elf-main.cc.ARM64.cc.o -c /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/elf/elf-main.cc.ARM64.cc [ 31%] Building CXX object CMakeFiles/mold.dir/elf/elf-main.cc.ARM32.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-sign-compare -Wno-unused-function -ggnu-pubnames -pthread -fpch-preprocess -std=gnu++20 -Winvalid-pch -include /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/mold.dir/cmake_pch.hxx -MD -MT CMakeFiles/mold.dir/elf/elf-main.cc.ARM32.cc.o -MF CMakeFiles/mold.dir/elf/elf-main.cc.ARM32.cc.o.d -o CMakeFiles/mold.dir/elf/elf-main.cc.ARM32.cc.o -c /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/elf/elf-main.cc.ARM32.cc [ 31%] Building CXX object CMakeFiles/mold.dir/elf/elf-main.cc.RV32LE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-sign-compare -Wno-unused-function -ggnu-pubnames -pthread -fpch-preprocess -std=gnu++20 -Winvalid-pch -include /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/mold.dir/cmake_pch.hxx -MD -MT CMakeFiles/mold.dir/elf/elf-main.cc.RV32LE.cc.o -MF CMakeFiles/mold.dir/elf/elf-main.cc.RV32LE.cc.o.d -o CMakeFiles/mold.dir/elf/elf-main.cc.RV32LE.cc.o -c /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/elf/elf-main.cc.RV32LE.cc +/usr/bin/c++ -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-sign-compare -Wno-unused-function -ggnu-pubnames -pthread -fpch-preprocess -std=gnu++20 -Winvalid-pch -include /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/mold.dir/cmake_pch.hxx -MD -MT CMakeFiles/mold.dir/elf/elf-main.cc.ARM32.cc.o -MF CMakeFiles/mold.dir/elf/elf-main.cc.ARM32.cc.o.d -o CMakeFiles/mold.dir/elf/elf-main.cc.ARM32.cc.o -c /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/elf/elf-main.cc.ARM32.cc [ 32%] Building CXX object CMakeFiles/mold.dir/elf/elf-main.cc.RV32BE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-sign-compare -Wno-unused-function -ggnu-pubnames -pthread -fpch-preprocess -std=gnu++20 -Winvalid-pch -include /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/mold.dir/cmake_pch.hxx -MD -MT CMakeFiles/mold.dir/elf/elf-main.cc.RV32BE.cc.o -MF CMakeFiles/mold.dir/elf/elf-main.cc.RV32BE.cc.o.d -o CMakeFiles/mold.dir/elf/elf-main.cc.RV32BE.cc.o -c /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/elf/elf-main.cc.RV32BE.cc [ 32%] Building CXX object CMakeFiles/mold.dir/elf/elf-main.cc.RV64LE.cc.o @@ -1124,10 +1160,10 @@ /usr/bin/c++ -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-sign-compare -Wno-unused-function -ggnu-pubnames -pthread -fpch-preprocess -std=gnu++20 -Winvalid-pch -include /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/mold.dir/cmake_pch.hxx -MD -MT CMakeFiles/mold.dir/elf/gc-sections.cc.S390X.cc.o -MF CMakeFiles/mold.dir/elf/gc-sections.cc.S390X.cc.o.d -o CMakeFiles/mold.dir/elf/gc-sections.cc.S390X.cc.o -c /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/elf/gc-sections.cc.S390X.cc [ 38%] Building CXX object CMakeFiles/mold.dir/elf/gc-sections.cc.SPARC64.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-sign-compare -Wno-unused-function -ggnu-pubnames -pthread -fpch-preprocess -std=gnu++20 -Winvalid-pch -include /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/mold.dir/cmake_pch.hxx -MD -MT CMakeFiles/mold.dir/elf/gc-sections.cc.SPARC64.cc.o -MF CMakeFiles/mold.dir/elf/gc-sections.cc.SPARC64.cc.o.d -o CMakeFiles/mold.dir/elf/gc-sections.cc.SPARC64.cc.o -c /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/elf/gc-sections.cc.SPARC64.cc -[ 38%] Building CXX object CMakeFiles/mold.dir/elf/gc-sections.cc.SH4.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-sign-compare -Wno-unused-function -ggnu-pubnames -pthread -fpch-preprocess -std=gnu++20 -Winvalid-pch -include /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/mold.dir/cmake_pch.hxx -MD -MT CMakeFiles/mold.dir/elf/gc-sections.cc.SH4.cc.o -MF CMakeFiles/mold.dir/elf/gc-sections.cc.SH4.cc.o.d -o CMakeFiles/mold.dir/elf/gc-sections.cc.SH4.cc.o -c /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/elf/gc-sections.cc.SH4.cc [ 38%] Building CXX object CMakeFiles/mold.dir/elf/gc-sections.cc.M68K.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-sign-compare -Wno-unused-function -ggnu-pubnames -pthread -fpch-preprocess -std=gnu++20 -Winvalid-pch -include /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/mold.dir/cmake_pch.hxx -MD -MT CMakeFiles/mold.dir/elf/gc-sections.cc.M68K.cc.o -MF CMakeFiles/mold.dir/elf/gc-sections.cc.M68K.cc.o.d -o CMakeFiles/mold.dir/elf/gc-sections.cc.M68K.cc.o -c /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/elf/gc-sections.cc.M68K.cc +[ 38%] Building CXX object CMakeFiles/mold.dir/elf/gc-sections.cc.SH4.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-sign-compare -Wno-unused-function -ggnu-pubnames -pthread -fpch-preprocess -std=gnu++20 -Winvalid-pch -include /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/mold.dir/cmake_pch.hxx -MD -MT CMakeFiles/mold.dir/elf/gc-sections.cc.SH4.cc.o -MF CMakeFiles/mold.dir/elf/gc-sections.cc.SH4.cc.o.d -o CMakeFiles/mold.dir/elf/gc-sections.cc.SH4.cc.o -c /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/elf/gc-sections.cc.SH4.cc [ 39%] Building CXX object CMakeFiles/mold.dir/elf/gc-sections.cc.ALPHA.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-sign-compare -Wno-unused-function -ggnu-pubnames -pthread -fpch-preprocess -std=gnu++20 -Winvalid-pch -include /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/mold.dir/cmake_pch.hxx -MD -MT CMakeFiles/mold.dir/elf/gc-sections.cc.ALPHA.cc.o -MF CMakeFiles/mold.dir/elf/gc-sections.cc.ALPHA.cc.o.d -o CMakeFiles/mold.dir/elf/gc-sections.cc.ALPHA.cc.o -c /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/elf/gc-sections.cc.ALPHA.cc [ 39%] Building CXX object CMakeFiles/mold.dir/elf/icf.cc.X86_64.cc.o @@ -1439,8 +1475,8 @@ [ 81%] Building CXX object CMakeFiles/mold.dir/elf/subprocess.cc.PPC64V1.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-sign-compare -Wno-unused-function -ggnu-pubnames -pthread -fpch-preprocess -std=gnu++20 -Winvalid-pch -include /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/mold.dir/cmake_pch.hxx -MD -MT CMakeFiles/mold.dir/elf/subprocess.cc.PPC64V1.cc.o -MF CMakeFiles/mold.dir/elf/subprocess.cc.PPC64V1.cc.o.d -o CMakeFiles/mold.dir/elf/subprocess.cc.PPC64V1.cc.o -c /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/elf/subprocess.cc.PPC64V1.cc [ 81%] Building CXX object CMakeFiles/mold.dir/elf/subprocess.cc.PPC64V2.cc.o -[ 81%] Building CXX object CMakeFiles/mold.dir/elf/subprocess.cc.S390X.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-sign-compare -Wno-unused-function -ggnu-pubnames -pthread -fpch-preprocess -std=gnu++20 -Winvalid-pch -include /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/mold.dir/cmake_pch.hxx -MD -MT CMakeFiles/mold.dir/elf/subprocess.cc.PPC64V2.cc.o -MF CMakeFiles/mold.dir/elf/subprocess.cc.PPC64V2.cc.o.d -o CMakeFiles/mold.dir/elf/subprocess.cc.PPC64V2.cc.o -c /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/elf/subprocess.cc.PPC64V2.cc +[ 81%] Building CXX object CMakeFiles/mold.dir/elf/subprocess.cc.S390X.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-sign-compare -Wno-unused-function -ggnu-pubnames -pthread -fpch-preprocess -std=gnu++20 -Winvalid-pch -include /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/mold.dir/cmake_pch.hxx -MD -MT CMakeFiles/mold.dir/elf/subprocess.cc.S390X.cc.o -MF CMakeFiles/mold.dir/elf/subprocess.cc.S390X.cc.o.d -o CMakeFiles/mold.dir/elf/subprocess.cc.S390X.cc.o -c /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/elf/subprocess.cc.S390X.cc [ 81%] Building CXX object CMakeFiles/mold.dir/elf/subprocess.cc.SPARC64.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-1.10.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-1.10.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-sign-compare -Wno-unused-function -ggnu-pubnames -pthread -fpch-preprocess -std=gnu++20 -Winvalid-pch -include /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/mold.dir/cmake_pch.hxx -MD -MT CMakeFiles/mold.dir/elf/subprocess.cc.SPARC64.cc.o -MF CMakeFiles/mold.dir/elf/subprocess.cc.SPARC64.cc.o.d -o CMakeFiles/mold.dir/elf/subprocess.cc.SPARC64.cc.o -c /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/elf/subprocess.cc.SPARC64.cc @@ -1574,10 +1610,10 @@ /usr/bin/cmake -E cmake_progress_start /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles 0 make[1]: Leaving directory '/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu' dh_auto_test - cd obj-x86_64-linux-gnu && make -j16 test ARGS\+=--verbose ARGS\+=-j16 + cd obj-x86_64-linux-gnu && make -j15 test ARGS\+=--verbose ARGS\+=-j15 make[1]: Entering directory '/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu' Running tests... -/usr/bin/ctest --force-new-ctest-process --verbose -j16 +/usr/bin/ctest --force-new-ctest-process --verbose -j15 UpdateCTestConfiguration from :/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/DartConfiguration.tcl Parse Config file:/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/DartConfiguration.tcl UpdateCTestConfiguration from :/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/DartConfiguration.tcl @@ -1679,12 +1715,6 @@ 15: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_note-property.sh" 15: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 15: Test timeout computed to be: 1500 -test 16 - Start 16: x86_64-x86_64_note-property2 - -16: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_note-property2.sh" -16: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -16: Test timeout computed to be: 1500 1: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_emulation-deduction.sh 1: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 1: ++ export LC_ALL=C @@ -1713,15 +1743,8 @@ 1: Testing x86_64_emulation-deduction ... ++ t=out/test/elf/x86_64/x86_64_emulation-deduction 1: ++ mkdir -p out/test/elf/x86_64/x86_64_emulation-deduction 1: + '[' x86_64 = x86_64 ']' -1: + cc -o out/test/elf/x86_64/x86_64_emulation-deduction/a.o -c -xc - 1: + cat -1: + ./mold -o out/test/elf/x86_64/x86_64_emulation-deduction/exe out/test/elf/x86_64/x86_64_emulation-deduction/a.o -1: + readelf --file-header out/test/elf/x86_64/x86_64_emulation-deduction/exe -1: + grep -qi x86-64 -1: + on_exit -1: + echo OK -1: OK -1: + exit 0 +1: + cc -o out/test/elf/x86_64/x86_64_emulation-deduction/a.o -c -xc - 2: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_exception-mcmodel-large.sh 2: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 2: ++ export LC_ALL=C @@ -1752,7 +1775,6 @@ 2: + '[' x86_64 = x86_64 ']' 2: + cat 2: + c++ -c -o out/test/elf/x86_64/x86_64_exception-mcmodel-large/a.o -xc++ -fPIC - -2: + c++ -B. -o out/test/elf/x86_64/x86_64_exception-mcmodel-large/exe out/test/elf/x86_64/x86_64_exception-mcmodel-large/a.o -mcmodel=large 3: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_execstack-if-needed.sh 3: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 3: ++ export LC_ALL=C @@ -1812,12 +1834,9 @@ 4: Testing x86_64_gnu-linkonce ... ++ t=out/test/elf/x86_64/x86_64_gnu-linkonce 4: ++ mkdir -p out/test/elf/x86_64/x86_64_gnu-linkonce 4: + '[' x86_64 = x86_64 ']' -4: + cc -o out/test/elf/x86_64/x86_64_gnu-linkonce/a.o -c -x assembler - -4: + cat -4: + cc -o out/test/elf/x86_64/x86_64_gnu-linkonce/b.o -c -x assembler - 4: + cat +4: + cc -o out/test/elf/x86_64/x86_64_gnu-linkonce/a.o -c -x assembler - 4: + cat -4: + cc -o out/test/elf/x86_64/x86_64_gnu-linkonce/c.o -c -xc - 5: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_gnu-retain.sh 5: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 5: ++ export LC_ALL=C @@ -1878,11 +1897,8 @@ 6: Testing x86_64_ifunc-alias ... ++ t=out/test/elf/x86_64/x86_64_ifunc-alias 6: ++ mkdir -p out/test/elf/x86_64/x86_64_ifunc-alias 6: + supports_ifunc -6: + cc -c -o /dev/null -xc - 6: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -6: + test_cflags -static -6: + cc -static -o /dev/null -xc - -6: + echo 'int main() {}' +6: + cc -c -o /dev/null -xc - 7: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_incompatible-libs.sh 7: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 7: ++ export LC_ALL=C @@ -1941,8 +1957,8 @@ 8: Testing x86_64_incompatible-libs2 ... ++ t=out/test/elf/x86_64/x86_64_incompatible-libs2 8: ++ mkdir -p out/test/elf/x86_64/x86_64_incompatible-libs2 8: + '[' x86_64 = x86_64 ']' -8: + echo 'int main() {}' 8: + cc -m32 -o out/test/elf/x86_64/x86_64_incompatible-libs2/exe -xc - +8: + echo 'int main() {}' 9: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_incompatible-obj.sh 9: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 9: ++ export LC_ALL=C @@ -1971,7 +1987,6 @@ 9: Testing x86_64_incompatible-obj ... ++ t=out/test/elf/x86_64/x86_64_incompatible-obj 9: ++ mkdir -p out/test/elf/x86_64/x86_64_incompatible-obj 9: + '[' x86_64 = x86_64 ']' -9: + echo 'int main() {}' 9: + cc -m32 -o out/test/elf/x86_64/x86_64_incompatible-obj/exe -xc - 10: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_init-array-readonly.sh 10: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc @@ -2000,9 +2015,6 @@ 10: ++ echo -n 'Testing x86_64_init-array-readonly ... ' 10: Testing x86_64_init-array-readonly ... ++ t=out/test/elf/x86_64/x86_64_init-array-readonly 10: ++ mkdir -p out/test/elf/x86_64/x86_64_init-array-readonly -10: + '[' x86_64 = x86_64 ']' -10: + cat -10: + cc -c -o out/test/elf/x86_64/x86_64_init-array-readonly/a.o -x assembler - 11: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_init-array.sh 11: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 11: ++ export LC_ALL=C @@ -2030,35 +2042,7 @@ 11: ++ echo -n 'Testing x86_64_init-array ... ' 11: Testing x86_64_init-array ... ++ t=out/test/elf/x86_64/x86_64_init-array 11: ++ mkdir -p out/test/elf/x86_64/x86_64_init-array -12: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_large-bss.sh -12: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -12: ++ export LC_ALL=C -12: ++ LC_ALL=C -12: ++++ uname -m -12: +++ canonical_name x86_64 -12: +++ case $1 in -12: +++ echo x86_64 -12: ++ HOST=x86_64 -12: ++ '[' -n '' ']' -12: ++ MACHINE=x86_64 -12: ++ '[' -n '' ']' -12: ++ CC=cc -12: ++ CXX=c++ -12: ++ GCC=gcc -12: ++ GXX=g++ -12: ++ OBJDUMP=objdump -12: ++ OBJCOPY=objcopy -12: ++ STRIP=strip -12: ++ QEMU= -12: ++ trap 'on_error $LINENO' ERR -12: ++ trap on_exit EXIT -12: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_large-bss.sh .sh -12: ++ testname=x86_64_large-bss -12: ++ echo -n 'Testing x86_64_large-bss ... ' -12: Testing x86_64_large-bss ... ++ t=out/test/elf/x86_64/x86_64_large-bss -12: ++ mkdir -p out/test/elf/x86_64/x86_64_large-bss -12: + '[' x86_64 = x86_64 ']' -12: + cat +11: + '[' x86_64 = x86_64 ']' 13: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_mergeable-records.sh 13: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 13: ++ export LC_ALL=C @@ -2081,108 +2065,93 @@ 13: ++ QEMU= 13: ++ trap 'on_error $LINENO' ERR 13: ++ trap on_exit EXIT -13: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_mergeable-records.sh .sh 14: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_mergeable-strings.sh 14: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 14: ++ export LC_ALL=C 14: ++ LC_ALL=C +4: + cc -o out/test/elf/x86_64/x86_64_gnu-linkonce/b.o -c -x assembler - +12: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_large-bss.sh +11: + cat 14: ++++ uname -m +13: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_mergeable-records.sh .sh +10: + '[' x86_64 = x86_64 ']' +9: + echo 'int main() {}' +15: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_note-property.sh +13: ++ testname=x86_64_mergeable-records +13: ++ echo -n 'Testing x86_64_mergeable-records ... ' +13: Testing x86_64_mergeable-records ... ++ t=out/test/elf/x86_64/x86_64_mergeable-records +13: ++ mkdir -p out/test/elf/x86_64/x86_64_mergeable-records 14: +++ canonical_name x86_64 14: +++ case $1 in 14: +++ echo x86_64 +1: + ./mold -o out/test/elf/x86_64/x86_64_emulation-deduction/exe out/test/elf/x86_64/x86_64_emulation-deduction/a.o +10: + cc -c -o out/test/elf/x86_64/x86_64_init-array-readonly/a.o -x assembler - 14: ++ HOST=x86_64 14: ++ '[' -n '' ']' 14: ++ MACHINE=x86_64 14: ++ '[' -n '' ']' 14: ++ CC=cc 14: ++ CXX=c++ +15: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 14: ++ GCC=gcc 14: ++ GXX=g++ 14: ++ OBJDUMP=objdump 14: ++ OBJCOPY=objcopy 14: ++ STRIP=strip 14: ++ QEMU= -14: ++ trap 'on_error $LINENO' ERR -14: ++ trap on_exit EXIT -15: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_note-property.sh -15: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 15: ++ export LC_ALL=C 15: ++ LC_ALL=C - 1/309 Test #1: x86_64-x86_64_emulation-deduction ....... Passed 0.18 sec -test 17 - Start 17: x86_64-x86_64_note - -17: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_note.sh" -17: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -17: Test timeout computed to be: 1500 -4: + cc -B. -o out/test/elf/x86_64/x86_64_gnu-linkonce/exe out/test/elf/x86_64/x86_64_gnu-linkonce/a.o out/test/elf/x86_64/x86_64_gnu-linkonce/b.o out/test/elf/x86_64/x86_64_gnu-linkonce/c.o -7: + skip -7: + echo skipped -7: skipped -7: + trap - EXIT -7: + exit 0 -10: + cc -c -o out/test/elf/x86_64/x86_64_init-array-readonly/b.o -x assembler - -11: + '[' x86_64 = x86_64 ']' -12: + cc -o out/test/elf/x86_64/x86_64_large-bss/a.o -c -xc - -13: ++ testname=x86_64_mergeable-records -13: ++ echo -n 'Testing x86_64_mergeable-records ... ' -13: Testing x86_64_mergeable-records ... ++ t=out/test/elf/x86_64/x86_64_mergeable-records -13: ++ mkdir -p out/test/elf/x86_64/x86_64_mergeable-records +14: ++ trap 'on_error $LINENO' ERR +14: ++ trap on_exit EXIT +12: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +12: ++ export LC_ALL=C +12: ++ LC_ALL=C +14: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_mergeable-strings.sh .sh 13: + '[' x86_64 = x86_64 ']' 13: + test_cflags -static -13: + echo 'int main() {}' +12: ++++ uname -m 13: + cc -static -o /dev/null -xc - -14: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_mergeable-strings.sh .sh +10: + cat +12: +++ canonical_name x86_64 +12: +++ case $1 in +12: +++ echo x86_64 +4: + cc -o out/test/elf/x86_64/x86_64_gnu-linkonce/c.o -c -xc - +11: + cc -c -o out/test/elf/x86_64/x86_64_init-array/a.o -x assembler - +12: ++ HOST=x86_64 +12: ++ '[' -n '' ']' +12: ++ MACHINE=x86_64 +12: ++ '[' -n '' ']' +12: ++ CC=cc +12: ++ CXX=c++ +12: ++ GCC=gcc +12: ++ GXX=g++ +12: ++ OBJDUMP=objdump +12: ++ OBJCOPY=objcopy +12: ++ STRIP=strip +12: ++ QEMU= +12: ++ trap 'on_error $LINENO' ERR +12: ++ trap on_exit EXIT +12: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_large-bss.sh .sh +12: ++ testname=x86_64_large-bss +12: ++ echo -n 'Testing x86_64_large-bss ... ' +12: Testing x86_64_large-bss ... ++ t=out/test/elf/x86_64/x86_64_large-bss +12: ++ mkdir -p out/test/elf/x86_64/x86_64_large-bss +13: + echo 'int main() {}' 14: ++ testname=x86_64_mergeable-strings 14: ++ echo -n 'Testing x86_64_mergeable-strings ... ' 14: Testing x86_64_mergeable-strings ... ++ t=out/test/elf/x86_64/x86_64_mergeable-strings 14: ++ mkdir -p out/test/elf/x86_64/x86_64_mergeable-strings +4: + cat 15: ++++ uname -m -16: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_note-property2.sh -16: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -16: ++ export LC_ALL=C -16: ++ LC_ALL=C -16: ++++ uname -m - 2/309 Test #7: x86_64-x86_64_incompatible-libs .........***Skipped 0.14 sec -test 18 - Start 18: x86_64-x86_64_note2 - -18: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_note2.sh" -18: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -18: Test timeout computed to be: 1500 -10: + cat -11: + cc -c -o out/test/elf/x86_64/x86_64_init-array/a.o -x assembler - -11: + cat 15: +++ canonical_name x86_64 15: +++ case $1 in 15: +++ echo x86_64 -16: +++ canonical_name x86_64 -16: +++ case $1 in -16: +++ echo x86_64 -16: ++ HOST=x86_64 -16: ++ '[' -n '' ']' -16: ++ MACHINE=x86_64 -16: ++ '[' -n '' ']' -16: ++ CC=cc -16: ++ CXX=c++ -16: ++ GCC=gcc -16: ++ GXX=g++ -16: ++ OBJDUMP=objdump -16: ++ OBJCOPY=objcopy -16: ++ STRIP=strip -16: ++ QEMU= -16: ++ trap 'on_error $LINENO' ERR -16: ++ trap on_exit EXIT -2: + out/test/elf/x86_64/x86_64_exception-mcmodel-large/exe -2: + cc -o /dev/null -xc - -static -17: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_note.sh -18: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_note2.sh -18: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -18: ++ export LC_ALL=C -18: ++ LC_ALL=C +2: + c++ -B. -o out/test/elf/x86_64/x86_64_exception-mcmodel-large/exe out/test/elf/x86_64/x86_64_exception-mcmodel-large/a.o -mcmodel=large +6: + test_cflags -static +6: + echo 'int main() {}' +12: + '[' x86_64 = x86_64 ']' 14: + test_cflags -static -14: + echo 'int main() {}' -2: + echo 'int main() {}' +10: + cat 15: ++ HOST=x86_64 15: ++ '[' -n '' ']' 15: ++ MACHINE=x86_64 @@ -2198,50 +2167,92 @@ 15: ++ trap 'on_error $LINENO' ERR 15: ++ trap on_exit EXIT 15: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_note-property.sh .sh -16: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_note-property2.sh .sh -16: ++ testname=x86_64_note-property2 -16: ++ echo -n 'Testing x86_64_note-property2 ... ' -16: Testing x86_64_note-property2 ... ++ t=out/test/elf/x86_64/x86_64_note-property2 -16: ++ mkdir -p out/test/elf/x86_64/x86_64_note-property2 +14: + echo 'int main() {}' +14: + cc -static -o /dev/null -xc - +12: + cc -o out/test/elf/x86_64/x86_64_large-bss/a.o -c -xc - 15: ++ testname=x86_64_note-property 15: ++ echo -n 'Testing x86_64_note-property ... ' 15: Testing x86_64_note-property ... ++ t=out/test/elf/x86_64/x86_64_note-property 15: ++ mkdir -p out/test/elf/x86_64/x86_64_note-property -14: + cc -static -o /dev/null -xc - -16: + '[' x86_64 = x86_64 ']' -16: + test_cflags -Xassembler -mx86-used-note=no +5: + cc -o out/test/elf/x86_64/x86_64_gnu-retain/b.o -c -xassembler - +5: + cat +6: + cc -static -o /dev/null -xc - +12: + cat +1: + grep -qi x86-64 +11: + cat +10: + cc -c -o out/test/elf/x86_64/x86_64_init-array-readonly/b.o -x assembler - +1: + readelf --file-header out/test/elf/x86_64/x86_64_emulation-deduction/exe +15: + '[' x86_64 = x86_64 ']' +15: + cc -fcf-protection=branch -c /dev/null -o /dev/null -xc +1: + on_exit +1: + echo OK +1: OK +1: + exit 0 + 1/309 Test #1: x86_64-x86_64_emulation-deduction ....... Passed 0.09 sec +test 16 + Start 16: x86_64-x86_64_note-property2 + +16: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_note-property2.sh" +16: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +16: Test timeout computed to be: 1500 +11: + cc -c -o out/test/elf/x86_64/x86_64_init-array/b.o -xc - +5: + cat +5: + cc -o out/test/elf/x86_64/x86_64_gnu-retain/c.o -c -xassembler - +15: + cat +8: + skip +8: + echo skipped +8: skipped +8: + trap - EXIT +8: + exit 0 +10: + sed -i -e s/init_xxxxx/init_array/g out/test/elf/x86_64/x86_64_init-array-readonly/b.o + 2/309 Test #8: x86_64-x86_64_incompatible-libs2 ........***Skipped 0.08 sec +test 17 + Start 17: x86_64-x86_64_note + +17: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_note.sh" +17: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +17: Test timeout computed to be: 1500 +15: + cc -fcf-protection=branch -c -o out/test/elf/x86_64/x86_64_note-property/a.o -xc - +4: + cc -B. -o out/test/elf/x86_64/x86_64_gnu-linkonce/exe out/test/elf/x86_64/x86_64_gnu-linkonce/a.o out/test/elf/x86_64/x86_64_gnu-linkonce/b.o out/test/elf/x86_64/x86_64_gnu-linkonce/c.o +16: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_note-property2.sh +16: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +16: ++ export LC_ALL=C +16: ++ LC_ALL=C +10: + cat +10: + cc -c -o out/test/elf/x86_64/x86_64_init-array-readonly/c.o -xc - +9: + skip +9: + echo skipped +9: skipped +9: + trap - EXIT +9: + exit 0 +5: + cc -B. -o out/test/elf/x86_64/x86_64_gnu-retain/exe1 out/test/elf/x86_64/x86_64_gnu-retain/a.o out/test/elf/x86_64/x86_64_gnu-retain/b.o -Wl,-gc-sections + 3/309 Test #9: x86_64-x86_64_incompatible-obj ..........***Skipped 0.09 sec +test 18 + Start 18: x86_64-x86_64_note2 + +18: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_note2.sh" +18: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +18: Test timeout computed to be: 1500 +17: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_note.sh 17: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 17: ++ export LC_ALL=C 17: ++ LC_ALL=C -11: + cc -c -o out/test/elf/x86_64/x86_64_init-array/b.o -xc - -18: ++++ uname -m -10: + sed -i -e s/init_xxxxx/init_array/g out/test/elf/x86_64/x86_64_init-array-readonly/b.o -18: +++ canonical_name x86_64 -18: +++ case $1 in -18: +++ echo x86_64 -15: + '[' x86_64 = x86_64 ']' -15: + cc -fcf-protection=branch -c /dev/null -o /dev/null -xc 17: ++++ uname -m -18: ++ HOST=x86_64 -18: ++ '[' -n '' ']' -18: ++ MACHINE=x86_64 -18: ++ '[' -n '' ']' -18: ++ CC=cc -18: ++ CXX=c++ -18: ++ GCC=gcc -18: ++ GXX=g++ -18: ++ OBJDUMP=objdump -18: ++ OBJCOPY=objcopy -18: ++ STRIP=strip -18: ++ QEMU= -18: ++ trap 'on_error $LINENO' ERR -18: ++ trap on_exit EXIT -11: + cat -16: + cc -Xassembler -mx86-used-note=no -o /dev/null -xc - +7: + skip +7: + echo skipped +7: skipped +7: + trap - EXIT +7: + exit 0 17: +++ canonical_name x86_64 + 4/309 Test #7: x86_64-x86_64_incompatible-libs .........***Skipped 0.10 sec +test 19 + Start 19: x86_64-x86_64_plt + +19: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_plt.sh" +19: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +19: Test timeout computed to be: 1500 17: +++ case $1 in 17: +++ echo x86_64 -18: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_note2.sh .sh 17: ++ HOST=x86_64 17: ++ '[' -n '' ']' 17: ++ MACHINE=x86_64 @@ -2256,70 +2267,87 @@ 17: ++ QEMU= 17: ++ trap 'on_error $LINENO' ERR 17: ++ trap on_exit EXIT -16: + echo 'int main() {}' -10: + cat -10: + cc -c -o out/test/elf/x86_64/x86_64_init-array-readonly/c.o -xc - -18: ++ testname=x86_64_note2 -18: ++ echo -n 'Testing x86_64_note2 ... ' -18: Testing x86_64_note2 ... ++ t=out/test/elf/x86_64/x86_64_note2 -18: ++ mkdir -p out/test/elf/x86_64/x86_64_note2 -15: + cat -3: + readelf --segments -W out/test/elf/x86_64/x86_64_execstack-if-needed/exe -3: + grep -q 'GNU_STACK.* RW ' -8: + skip -8: + echo skipped -8: skipped -8: + trap - EXIT -8: + exit 0 - 3/309 Test #8: x86_64-x86_64_incompatible-libs2 ........***Skipped 0.17 sec -test 19 - Start 19: x86_64-x86_64_plt - -19: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_plt.sh" -19: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -19: Test timeout computed to be: 1500 -3: + cc -B. -o out/test/elf/x86_64/x86_64_execstack-if-needed/exe out/test/elf/x86_64/x86_64_execstack-if-needed/a.o -Wl,-z,execstack-if-needed -15: + cc -fcf-protection=branch -c -o out/test/elf/x86_64/x86_64_note-property/a.o -xc - 17: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_note.sh .sh +18: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_note2.sh +18: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +18: ++ export LC_ALL=C +18: ++ LC_ALL=C +18: ++++ uname -m +18: +++ canonical_name x86_64 +18: +++ case $1 in +18: +++ echo x86_64 +18: ++ HOST=x86_64 +18: ++ '[' -n '' ']' +18: ++ MACHINE=x86_64 +18: ++ '[' -n '' ']' +18: ++ CC=cc +18: ++ CXX=c++ +18: ++ GCC=gcc +18: ++ GXX=g++ +18: ++ OBJDUMP=objdump +18: ++ OBJCOPY=objcopy +18: ++ STRIP=strip +18: ++ QEMU= +18: ++ trap 'on_error $LINENO' ERR +18: ++ trap on_exit EXIT +3: + grep -q 'GNU_STACK.* RW ' 17: ++ testname=x86_64_note 17: ++ echo -n 'Testing x86_64_note ... ' 17: Testing x86_64_note ... ++ t=out/test/elf/x86_64/x86_64_note 17: ++ mkdir -p out/test/elf/x86_64/x86_64_note +3: + readelf --segments -W out/test/elf/x86_64/x86_64_execstack-if-needed/exe +12: + cc -B. -o out/test/elf/x86_64/x86_64_large-bss/exe out/test/elf/x86_64/x86_64_large-bss/a.o +3: + cc -B. -o out/test/elf/x86_64/x86_64_execstack-if-needed/exe out/test/elf/x86_64/x86_64_execstack-if-needed/a.o -Wl,-z,execstack-if-needed +18: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_note2.sh .sh +17: + test_cflags -static +16: ++++ uname -m +19: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_plt.sh +18: ++ testname=x86_64_note2 +18: ++ echo -n 'Testing x86_64_note2 ... ' +18: Testing x86_64_note2 ... ++ t=out/test/elf/x86_64/x86_64_note2 +18: ++ mkdir -p out/test/elf/x86_64/x86_64_note2 +16: +++ canonical_name x86_64 +16: +++ case $1 in +16: +++ echo x86_64 +16: ++ HOST=x86_64 +16: ++ '[' -n '' ']' +16: ++ MACHINE=x86_64 +16: ++ '[' -n '' ']' +16: ++ CC=cc +16: ++ CXX=c++ +16: ++ GCC=gcc +16: ++ GXX=g++ +16: ++ OBJDUMP=objdump +16: ++ OBJCOPY=objcopy +16: ++ STRIP=strip +16: ++ QEMU= +16: ++ trap 'on_error $LINENO' ERR +16: ++ trap on_exit EXIT +16: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_note-property2.sh .sh +17: + cc -static -o /dev/null -xc - 18: + '[' x86_64 = x86_64 ']' 18: + test_cflags -Xassembler -mx86-used-note=no 18: + echo 'int main() {}' 18: + cc -Xassembler -mx86-used-note=no -o /dev/null -xc - -19: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_plt.sh +16: ++ testname=x86_64_note-property2 +16: ++ echo -n 'Testing x86_64_note-property2 ... ' 19: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +16: Testing x86_64_note-property2 ... ++ t=out/test/elf/x86_64/x86_64_note-property2 +16: ++ mkdir -p out/test/elf/x86_64/x86_64_note-property2 19: ++ export LC_ALL=C 19: ++ LC_ALL=C -5: + cc -o out/test/elf/x86_64/x86_64_gnu-retain/b.o -c -xassembler - -17: + test_cflags -static -17: + cc -static -o /dev/null -xc - -12: + cc -B. -o out/test/elf/x86_64/x86_64_large-bss/exe out/test/elf/x86_64/x86_64_large-bss/a.o -9: + skip -9: + echo skipped -9: skipped -9: + trap - EXIT -9: + exit 0 17: + echo 'int main() {}' - 4/309 Test #9: x86_64-x86_64_incompatible-obj ..........***Skipped 0.18 sec -test 20 - Start 20: x86_64-x86_64_pltgot - -20: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_pltgot.sh" -20: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -20: Test timeout computed to be: 1500 -5: + cat -20: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_pltgot.sh -20: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -20: ++ export LC_ALL=C -20: ++ LC_ALL=C 19: ++++ uname -m -5: + cat +15: + cat +11: + cc -B. -o out/test/elf/x86_64/x86_64_init-array/exe out/test/elf/x86_64/x86_64_init-array/a.o out/test/elf/x86_64/x86_64_init-array/b.o +16: + '[' x86_64 = x86_64 ']' +16: + test_cflags -Xassembler -mx86-used-note=no +16: + echo 'int main() {}' 19: +++ canonical_name x86_64 19: +++ case $1 in 19: +++ echo x86_64 +16: + cc -Xassembler -mx86-used-note=no -o /dev/null -xc - +15: + cc -fcf-protection=none -c -o out/test/elf/x86_64/x86_64_note-property/b.o -xc - 19: ++ HOST=x86_64 19: ++ '[' -n '' ']' 19: ++ MACHINE=x86_64 @@ -2334,17 +2362,78 @@ 19: ++ QEMU= 19: ++ trap 'on_error $LINENO' ERR 19: ++ trap on_exit EXIT -5: + cc -o out/test/elf/x86_64/x86_64_gnu-retain/c.o -c -xassembler - -15: + cat 19: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_plt.sh .sh 19: ++ testname=x86_64_plt 19: ++ echo -n 'Testing x86_64_plt ... ' 19: Testing x86_64_plt ... ++ t=out/test/elf/x86_64/x86_64_plt 19: ++ mkdir -p out/test/elf/x86_64/x86_64_plt +19: + '[' x86_64 = x86_64 ']' +19: + cat +19: + cc -o out/test/elf/x86_64/x86_64_plt/a.o -c -x assembler - +10: + cc -B. -o out/test/elf/x86_64/x86_64_init-array-readonly/exe out/test/elf/x86_64/x86_64_init-array-readonly/a.o out/test/elf/x86_64/x86_64_init-array-readonly/b.o out/test/elf/x86_64/x86_64_init-array-readonly/c.o +15: + ./mold -o out/test/elf/x86_64/x86_64_note-property/exe out/test/elf/x86_64/x86_64_note-property/a.o +2: + out/test/elf/x86_64/x86_64_exception-mcmodel-large/exe +19: + cc -B. -o out/test/elf/x86_64/x86_64_plt/exe out/test/elf/x86_64/x86_64_plt/a.o +2: + cc -o /dev/null -xc - -static +2: + echo 'int main() {}' +6: + cat +6: + c++ -o out/test/elf/x86_64/x86_64_ifunc-alias/a.o -c -xc++ - -fno-PIE +5: + nm out/test/elf/x86_64/x86_64_gnu-retain/exe1 +5: + grep -q foo +15: + readelf -n out/test/elf/x86_64/x86_64_note-property/exe +14: + '[' x86_64 = x86_64 ']' +15: + grep -q 'x86 feature: IBT' +14: + cat +14: + cc -o out/test/elf/x86_64/x86_64_mergeable-strings/a.o -c -x assembler - +5: + cc -B. -o out/test/elf/x86_64/x86_64_gnu-retain/exe1 out/test/elf/x86_64/x86_64_gnu-retain/a.o out/test/elf/x86_64/x86_64_gnu-retain/c.o -Wl,-gc-sections +15: + ./mold -o out/test/elf/x86_64/x86_64_note-property/exe out/test/elf/x86_64/x86_64_note-property/b.o +14: + cc -B. -static -o out/test/elf/x86_64/x86_64_mergeable-strings/exe out/test/elf/x86_64/x86_64_mergeable-strings/a.o +13: + cc -o out/test/elf/x86_64/x86_64_mergeable-records/a.o -c -x assembler - +4: + grep -A1 '<__x86.get_pc_thunk.bx>:' +13: + cat +4: + grep -Fq 'puts$plt' +4: + objdump -d out/test/elf/x86_64/x86_64_gnu-linkonce/exe +13: + cc -B. -static -o out/test/elf/x86_64/x86_64_mergeable-records/exe out/test/elf/x86_64/x86_64_mergeable-records/a.o +4: + on_exit +4: + echo OK +4: OK +4: + exit 0 + 5/309 Test #4: x86_64-x86_64_gnu-linkonce .............. Passed 0.25 sec +test 20 + Start 20: x86_64-x86_64_pltgot + +20: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_pltgot.sh" +20: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +20: Test timeout computed to be: 1500 +16: + CFLAGS='-Xassembler -mx86-used-note=no' +16: + readelf -v +16: + grep -q -E 'GNU readelf .+ (2\.3[6-9]|2\.[4-9]|[3-9])' +3: + grep -q 'GNU_STACK.* RWE ' +3: + readelf --segments -W out/test/elf/x86_64/x86_64_execstack-if-needed/exe +20: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_pltgot.sh +20: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +20: ++ export LC_ALL=C +20: ++ LC_ALL=C 20: ++++ uname -m 20: +++ canonical_name x86_64 20: +++ case $1 in 20: +++ echo x86_64 +16: + cat +16: + cc -Xassembler -mx86-used-note=no -c -o out/test/elf/x86_64/x86_64_note-property2/a.o -xassembler-with-cpp - +18: + CFLAGS='-Xassembler -mx86-used-note=no' +18: + cc -Xassembler -mx86-used-note=no -o out/test/elf/x86_64/x86_64_note2/a.o -c -x assembler - +12: + out/test/elf/x86_64/x86_64_large-bss/exe +3: + on_exit +3: + echo OK +3: OK +3: + exit 0 + 6/309 Test #3: x86_64-x86_64_execstack-if-needed ....... Passed 0.26 sec +test 21 + Start 21: x86_64-x86_64_preinit-array + +21: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_preinit-array.sh" +21: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +21: Test timeout computed to be: 1500 20: ++ HOST=x86_64 20: ++ '[' -n '' ']' 20: ++ MACHINE=x86_64 @@ -2357,49 +2446,40 @@ 20: ++ OBJCOPY=objcopy 20: ++ STRIP=strip 20: ++ QEMU= -15: + cc -fcf-protection=none -c -o out/test/elf/x86_64/x86_64_note-property/b.o -xc - 20: ++ trap 'on_error $LINENO' ERR 20: ++ trap on_exit EXIT -19: + '[' x86_64 = x86_64 ']' -5: + cc -B. -o out/test/elf/x86_64/x86_64_gnu-retain/exe1 out/test/elf/x86_64/x86_64_gnu-retain/a.o out/test/elf/x86_64/x86_64_gnu-retain/b.o -Wl,-gc-sections -19: + cc -o out/test/elf/x86_64/x86_64_plt/a.o -c -x assembler - -4: + objdump -d out/test/elf/x86_64/x86_64_gnu-linkonce/exe -4: + grep -A1 '<__x86.get_pc_thunk.bx>:' -10: + cc -B. -o out/test/elf/x86_64/x86_64_init-array-readonly/exe out/test/elf/x86_64/x86_64_init-array-readonly/a.o out/test/elf/x86_64/x86_64_init-array-readonly/b.o out/test/elf/x86_64/x86_64_init-array-readonly/c.o 20: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_pltgot.sh .sh 20: ++ testname=x86_64_pltgot 20: ++ echo -n 'Testing x86_64_pltgot ... ' 20: Testing x86_64_pltgot ... ++ t=out/test/elf/x86_64/x86_64_pltgot 20: ++ mkdir -p out/test/elf/x86_64/x86_64_pltgot -19: + cat -11: + cc -B. -o out/test/elf/x86_64/x86_64_init-array/exe out/test/elf/x86_64/x86_64_init-array/a.o out/test/elf/x86_64/x86_64_init-array/b.o -4: + grep -Fq 'puts$plt' -20: + '[' x86_64 = x86_64 ']' -20: + cc -fPIC -shared -Wl,-z,noexecstack -o out/test/elf/x86_64/x86_64_pltgot/a.so -x assembler - -4: + on_exit -4: + echo OK -4: OK -4: + exit 0 -20: + cat - 5/309 Test #4: x86_64-x86_64_gnu-linkonce .............. Passed 0.31 sec -test 21 - Start 21: x86_64-x86_64_preinit-array +18: + cat +12: + on_exit +12: + echo OK +12: OK +12: + exit 0 + 7/309 Test #12: x86_64-x86_64_large-bss ................. Passed 0.24 sec +test 22 + Start 22: x86_64-x86_64_relax -21: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_preinit-array.sh" -21: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -21: Test timeout computed to be: 1500 -19: + cc -B. -o out/test/elf/x86_64/x86_64_plt/exe out/test/elf/x86_64/x86_64_plt/a.o +22: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_relax.sh" +22: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +22: Test timeout computed to be: 1500 +15: + readelf -n out/test/elf/x86_64/x86_64_note-property/exe 21: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_preinit-array.sh 21: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 21: ++ export LC_ALL=C 21: ++ LC_ALL=C -6: + c++ -o out/test/elf/x86_64/x86_64_ifunc-alias/a.o -c -xc++ - -fno-PIE -6: + cat 21: ++++ uname -m +20: + '[' x86_64 = x86_64 ']' +22: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_relax.sh +15: + grep -q 'x86 feature: IBT' 21: +++ canonical_name x86_64 21: +++ case $1 in 21: +++ echo x86_64 -3: + grep -q 'GNU_STACK.* RWE ' +22: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +22: ++ export LC_ALL=C +22: ++ LC_ALL=C 21: ++ HOST=x86_64 21: ++ '[' -n '' ']' 21: ++ MACHINE=x86_64 @@ -2414,112 +2494,57 @@ 21: ++ QEMU= 21: ++ trap 'on_error $LINENO' ERR 21: ++ trap on_exit EXIT +20: + cat +10: + grep -q 'init1 init2' 21: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_preinit-array.sh .sh -12: + out/test/elf/x86_64/x86_64_large-bss/exe +15: + on_exit +15: + echo OK +15: OK +15: + exit 0 21: ++ testname=x86_64_preinit-array 21: ++ echo -n 'Testing x86_64_preinit-array ... ' 21: Testing x86_64_preinit-array ... ++ t=out/test/elf/x86_64/x86_64_preinit-array 21: ++ mkdir -p out/test/elf/x86_64/x86_64_preinit-array -3: + readelf --segments -W out/test/elf/x86_64/x86_64_execstack-if-needed/exe -3: + on_exit -3: + echo OK -3: OK -3: + exit 0 - 6/309 Test #3: x86_64-x86_64_execstack-if-needed ....... Passed 0.37 sec -test 22 - Start 22: x86_64-x86_64_relax - -22: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_relax.sh" -22: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -22: Test timeout computed to be: 1500 -18: + CFLAGS='-Xassembler -mx86-used-note=no' -18: + cat -18: + cc -Xassembler -mx86-used-note=no -o out/test/elf/x86_64/x86_64_note2/a.o -c -x assembler - -21: + ldd --help -15: + ./mold -o out/test/elf/x86_64/x86_64_note-property/exe out/test/elf/x86_64/x86_64_note-property/a.o -12: + on_exit -12: + echo OK -12: OK -12: + exit 0 10: + out/test/elf/x86_64/x86_64_init-array-readonly/exe -16: + CFLAGS='-Xassembler -mx86-used-note=no' -20: + cat - 7/309 Test #12: x86_64-x86_64_large-bss ................. Passed 0.29 sec +10: + on_exit +10: + echo OK +10: OK +10: + exit 0 + 8/309 Test #10: x86_64-x86_64_init-array-readonly ....... Passed 0.26 sec test 23 Start 23: x86_64-x86_64_reloc-overflow 23: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_reloc-overflow.sh" 23: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 23: Test timeout computed to be: 1500 -21: + grep -q musl -10: + grep -q 'init1 init2' -16: + grep -q -E 'GNU readelf .+ (2\.3[6-9]|2\.[4-9]|[3-9])' -20: + cc -c -o out/test/elf/x86_64/x86_64_pltgot/b.o -x assembler - -22: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_relax.sh -13: + cat -22: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -22: ++ export LC_ALL=C -22: ++ LC_ALL=C -21: + '[' x86_64 = x86_64 ']' -10: + on_exit -10: + echo OK -10: OK -10: + exit 0 -23: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_reloc-overflow.sh - 8/309 Test #10: x86_64-x86_64_init-array-readonly ....... Passed 0.32 sec + 9/309 Test #15: x86_64-x86_64_note-property ............. Passed 0.25 sec test 24 Start 24: x86_64-x86_64_reloc-zero 24: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_reloc-zero.sh" 24: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 24: Test timeout computed to be: 1500 -14: + '[' x86_64 = x86_64 ']' -14: + cc -o out/test/elf/x86_64/x86_64_mergeable-strings/a.o -c -x assembler - -16: + readelf -v -16: + cc -Xassembler -mx86-used-note=no -c -o out/test/elf/x86_64/x86_64_note-property2/a.o -xassembler-with-cpp - -13: + cc -o out/test/elf/x86_64/x86_64_mergeable-records/a.o -c -x assembler - -21: + cc -c -o out/test/elf/x86_64/x86_64_preinit-array/a.o -x assembler - -21: + cat +20: + cc -fPIC -shared -Wl,-z,noexecstack -o out/test/elf/x86_64/x86_64_pltgot/a.so -x assembler - +18: + cat 18: + cc -Xassembler -mx86-used-note=no -o out/test/elf/x86_64/x86_64_note2/b.o -c -x assembler - -20: + ./mold -z separate-loadable-segments -pie -o out/test/elf/x86_64/x86_64_pltgot/exe out/test/elf/x86_64/x86_64_pltgot/b.o out/test/elf/x86_64/x86_64_pltgot/a.so -23: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -23: ++ export LC_ALL=C -23: ++ LC_ALL=C -24: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_reloc-zero.sh -14: + cat -14: + cc -B. -static -o out/test/elf/x86_64/x86_64_mergeable-strings/exe out/test/elf/x86_64/x86_64_mergeable-strings/a.o -5: + nm out/test/elf/x86_64/x86_64_gnu-retain/exe1 -22: ++++ uname -m -23: ++++ uname -m -24: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -24: ++ export LC_ALL=C -24: ++ LC_ALL=C -5: + grep -q foo 18: + cat -23: +++ canonical_name x86_64 -23: +++ case $1 in -23: +++ echo x86_64 +18: + cc -Xassembler -mx86-used-note=no -o out/test/elf/x86_64/x86_64_note2/c.o -c -x assembler - +21: + grep -q musl +21: + ldd --help +21: + '[' x86_64 = x86_64 ']' +21: + cat +21: + cc -c -o out/test/elf/x86_64/x86_64_preinit-array/a.o -x assembler - +11: + grep -q 'init1 init2 fini2 fini1' +11: + out/test/elf/x86_64/x86_64_init-array/exe +11: + on_exit +11: + echo OK +11: OK +11: + exit 0 +16: + cat +22: ++++ uname -m 22: +++ canonical_name x86_64 22: +++ case $1 in 22: +++ echo x86_64 -23: ++ HOST=x86_64 -23: ++ '[' -n '' ']' -23: ++ MACHINE=x86_64 -23: ++ '[' -n '' ']' -23: ++ CC=cc -23: ++ CXX=c++ -23: ++ GCC=gcc -23: ++ GXX=g++ -23: ++ OBJDUMP=objdump -23: ++ OBJCOPY=objcopy -23: ++ STRIP=strip -23: ++ QEMU= -23: ++ trap 'on_error $LINENO' ERR -23: ++ trap on_exit EXIT -16: + cat -24: ++++ uname -m -5: + cc -B. -o out/test/elf/x86_64/x86_64_gnu-retain/exe1 out/test/elf/x86_64/x86_64_gnu-retain/a.o out/test/elf/x86_64/x86_64_gnu-retain/c.o -Wl,-gc-sections -15: + readelf -n out/test/elf/x86_64/x86_64_note-property/exe 22: ++ HOST=x86_64 22: ++ '[' -n '' ']' 22: ++ MACHINE=x86_64 @@ -2534,95 +2559,94 @@ 22: ++ QEMU= 22: ++ trap 'on_error $LINENO' ERR 22: ++ trap on_exit EXIT -13: + cc -B. -static -o out/test/elf/x86_64/x86_64_mergeable-records/exe out/test/elf/x86_64/x86_64_mergeable-records/a.o -23: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_reloc-overflow.sh .sh -24: +++ canonical_name x86_64 -24: +++ case $1 in -24: +++ echo x86_64 -24: ++ HOST=x86_64 -24: ++ '[' -n '' ']' -24: ++ MACHINE=x86_64 -24: ++ '[' -n '' ']' -24: ++ CC=cc -24: ++ CXX=c++ -24: ++ GCC=gcc -24: ++ GXX=g++ -24: ++ OBJDUMP=objdump -24: ++ OBJCOPY=objcopy -24: ++ STRIP=strip -24: ++ QEMU= -24: ++ trap 'on_error $LINENO' ERR -24: ++ trap on_exit EXIT -15: + grep -q 'x86 feature: IBT' -21: + cc -c -o out/test/elf/x86_64/x86_64_preinit-array/b.o -xc - -23: ++ testname=x86_64_reloc-overflow -23: ++ echo -n 'Testing x86_64_reloc-overflow ... ' -23: Testing x86_64_reloc-overflow ... ++ t=out/test/elf/x86_64/x86_64_reloc-overflow -23: ++ mkdir -p out/test/elf/x86_64/x86_64_reloc-overflow -21: + cat -20: + objdump -d -j .plt.got out/test/elf/x86_64/x86_64_pltgot/exe -24: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_reloc-zero.sh .sh -24: ++ testname=x86_64_reloc-zero -24: ++ echo -n 'Testing x86_64_reloc-zero ... ' -24: Testing x86_64_reloc-zero ... ++ t=out/test/elf/x86_64/x86_64_reloc-zero -24: ++ mkdir -p out/test/elf/x86_64/x86_64_reloc-zero -18: + cc -Xassembler -mx86-used-note=no -o out/test/elf/x86_64/x86_64_note2/c.o -c -x assembler - 22: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_relax.sh .sh -15: + ./mold -o out/test/elf/x86_64/x86_64_note-property/exe out/test/elf/x86_64/x86_64_note-property/b.o 22: ++ testname=x86_64_relax 22: ++ echo -n 'Testing x86_64_relax ... ' 22: Testing x86_64_relax ... ++ t=out/test/elf/x86_64/x86_64_relax 22: ++ mkdir -p out/test/elf/x86_64/x86_64_relax -20: + grep -Eq '1034:.*jmp.* ' out/test/elf/x86_64/x86_64_pltgot/log -18: + cat -23: + '[' x86_64 = x86_64 ']' -20: + on_exit -20: + echo OK -20: OK -20: + exit 0 - 9/309 Test #20: x86_64-x86_64_pltgot .................... Passed 0.19 sec + 10/309 Test #11: x86_64-x86_64_init-array ................ Passed 0.28 sec test 25 Start 25: x86_64-x86_64_reloc 25: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_reloc.sh" 25: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 25: Test timeout computed to be: 1500 -23: + cat -23: + cc -o out/test/elf/x86_64/x86_64_reloc-overflow/a.o -c -x assembler - -6: + c++ -B. -o out/test/elf/x86_64/x86_64_ifunc-alias/exe out/test/elf/x86_64/x86_64_ifunc-alias/a.o -static -24: + '[' x86_64 = x86_64 ']' +18: + cat +18: + cc -Xassembler -mx86-used-note=no -o out/test/elf/x86_64/x86_64_note2/d.o -c -xc - +21: + cat +21: + cc -c -o out/test/elf/x86_64/x86_64_preinit-array/b.o -xc - +16: + cc -Xassembler -mx86-used-note=no -c -o out/test/elf/x86_64/x86_64_note-property2/b.o -xassembler-with-cpp - 22: + '[' x86_64 = x86_64 ']' -24: + cat 22: + cat +22: + cc -o out/test/elf/x86_64/x86_64_relax/a.o -c -x assembler -Wa,-mrelax-relocations=yes - +23: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_reloc-overflow.sh +23: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +23: ++ export LC_ALL=C +23: ++ LC_ALL=C +23: ++++ uname -m +23: +++ canonical_name x86_64 +23: +++ case $1 in +23: +++ echo x86_64 +22: + cat +22: + cc -o out/test/elf/x86_64/x86_64_relax/b.o -c -xc - +23: ++ HOST=x86_64 +23: ++ '[' -n '' ']' +23: ++ MACHINE=x86_64 +23: ++ '[' -n '' ']' +23: ++ CC=cc +23: ++ CXX=c++ +23: ++ GCC=gcc +23: ++ GXX=g++ +23: ++ OBJDUMP=objdump +23: ++ OBJCOPY=objcopy +23: ++ STRIP=strip +23: ++ QEMU= +24: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_reloc-zero.sh +23: ++ trap 'on_error $LINENO' ERR +23: ++ trap on_exit EXIT +23: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_reloc-overflow.sh .sh +20: + cat +6: + c++ -B. -o out/test/elf/x86_64/x86_64_ifunc-alias/exe out/test/elf/x86_64/x86_64_ifunc-alias/a.o -static +20: + cc -c -o out/test/elf/x86_64/x86_64_pltgot/b.o -x assembler - 25: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_reloc.sh -18: + cat -18: + cc -Xassembler -mx86-used-note=no -o out/test/elf/x86_64/x86_64_note2/d.o -c -xc - +24: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +24: ++ export LC_ALL=C +24: ++ LC_ALL=C +23: ++ testname=x86_64_reloc-overflow +23: ++ echo -n 'Testing x86_64_reloc-overflow ... ' +23: Testing x86_64_reloc-overflow ... ++ t=out/test/elf/x86_64/x86_64_reloc-overflow +23: ++ mkdir -p out/test/elf/x86_64/x86_64_reloc-overflow 25: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 25: ++ export LC_ALL=C 25: ++ LC_ALL=C -24: + cc -o out/test/elf/x86_64/x86_64_reloc-zero/a.o -c -x assembler - -22: + cc -o out/test/elf/x86_64/x86_64_relax/a.o -c -x assembler -Wa,-mrelax-relocations=yes - -16: + cc -Xassembler -mx86-used-note=no -c -o out/test/elf/x86_64/x86_64_note-property2/b.o -xassembler-with-cpp - -16: + cat -19: + readelf --sections out/test/elf/x86_64/x86_64_plt/exe -19: + grep -Fq .got -23: + ./mold -e foo -o out/test/elf/x86_64/x86_64_reloc-overflow/exe out/test/elf/x86_64/x86_64_reloc-overflow/a.o +24: ++++ uname -m +25: ++++ uname -m 17: + '[' x86_64 = x86_64 ']' 17: + test_cflags -Xassembler -mx86-used-note=no +23: + '[' x86_64 = x86_64 ']' +5: + nm out/test/elf/x86_64/x86_64_gnu-retain/exe1 17: + echo 'int main() {}' -25: ++++ uname -m -17: + cc -Xassembler -mx86-used-note=no -o /dev/null -xc - -19: + readelf --sections out/test/elf/x86_64/x86_64_plt/exe -11: + out/test/elf/x86_64/x86_64_init-array/exe -11: + grep -q 'init1 init2 fini2 fini1' -11: + on_exit -11: + echo OK -11: OK -11: + exit 0 -24: + cc -o out/test/elf/x86_64/x86_64_reloc-zero/b.o -c -xc - +24: +++ canonical_name x86_64 +24: +++ case $1 in +24: +++ echo x86_64 25: +++ canonical_name x86_64 25: +++ case $1 in 25: +++ echo x86_64 +24: ++ HOST=x86_64 +24: ++ '[' -n '' ']' +24: ++ MACHINE=x86_64 +24: ++ '[' -n '' ']' +24: ++ CC=cc +24: ++ CXX=c++ +24: ++ GCC=gcc +24: ++ GXX=g++ +24: ++ OBJDUMP=objdump +24: ++ OBJCOPY=objcopy +24: ++ STRIP=strip +24: ++ QEMU= +24: ++ trap 'on_error $LINENO' ERR +24: ++ trap on_exit EXIT +23: + cat 25: ++ HOST=x86_64 25: ++ '[' -n '' ']' 25: ++ MACHINE=x86_64 @@ -2637,120 +2661,117 @@ 25: ++ QEMU= 25: ++ trap 'on_error $LINENO' ERR 25: ++ trap on_exit EXIT -19: + grep -Fq .got.plt - 10/309 Test #11: x86_64-x86_64_init-array ................ Passed 0.40 sec +24: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_reloc-zero.sh .sh +25: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_reloc.sh .sh +17: + cc -Xassembler -mx86-used-note=no -o /dev/null -xc - +25: ++ testname=x86_64_reloc +25: ++ echo -n 'Testing x86_64_reloc ... ' +25: Testing x86_64_reloc ... ++ t=out/test/elf/x86_64/x86_64_reloc +25: ++ mkdir -p out/test/elf/x86_64/x86_64_reloc +23: + cc -o out/test/elf/x86_64/x86_64_reloc-overflow/a.o -c -x assembler - +24: ++ testname=x86_64_reloc-zero +24: ++ echo -n 'Testing x86_64_reloc-zero ... ' +24: Testing x86_64_reloc-zero ... ++ t=out/test/elf/x86_64/x86_64_reloc-zero +24: ++ mkdir -p out/test/elf/x86_64/x86_64_reloc-zero +5: + grep -q foo out/test/elf/x86_64/x86_64_gnu-retain/log +20: + ./mold -z separate-loadable-segments -pie -o out/test/elf/x86_64/x86_64_pltgot/exe out/test/elf/x86_64/x86_64_pltgot/b.o out/test/elf/x86_64/x86_64_pltgot/a.so +25: + '[' x86_64 = x86_64 ']' +19: + readelf --sections out/test/elf/x86_64/x86_64_plt/exe +19: + grep -Fq .got +25: + cat +25: + cc -fPIC -c -o out/test/elf/x86_64/x86_64_reloc/a.o -x assembler - +23: + ./mold -e foo -o out/test/elf/x86_64/x86_64_reloc-overflow/exe out/test/elf/x86_64/x86_64_reloc-overflow/a.o +5: + on_exit +5: + echo OK +5: OK +5: + exit 0 +18: + ./mold -o out/test/elf/x86_64/x86_64_note2/exe out/test/elf/x86_64/x86_64_note2/a.o out/test/elf/x86_64/x86_64_note2/b.o out/test/elf/x86_64/x86_64_note2/c.o out/test/elf/x86_64/x86_64_note2/d.o + 11/309 Test #5: x86_64-x86_64_gnu-retain ................ Passed 0.34 sec test 26 Start 26: x86_64-x86_64_section-alignment 26: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_section-alignment.sh" 26: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 26: Test timeout computed to be: 1500 -19: + grep -q 'Hello world' +24: + '[' x86_64 = x86_64 ']' +24: + cc -o out/test/elf/x86_64/x86_64_reloc-zero/a.o -c -x assembler - +24: + cat +24: + cat +19: + grep -Fq .got.plt +19: + readelf --sections out/test/elf/x86_64/x86_64_plt/exe 19: + out/test/elf/x86_64/x86_64_plt/exe +19: + grep -q 'Hello world' 19: + on_exit 19: + echo OK 19: OK 19: + exit 0 -25: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_reloc.sh .sh -2: + c++ -B. -o out/test/elf/x86_64/x86_64_exception-mcmodel-large/exe out/test/elf/x86_64/x86_64_exception-mcmodel-large/a.o -static -mcmodel=large -15: + grep -q 'x86 feature: IBT' -15: + readelf -n out/test/elf/x86_64/x86_64_note-property/exe -22: + cc -o out/test/elf/x86_64/x86_64_relax/b.o -c -xc - -24: + cat - 11/309 Test #19: x86_64-x86_64_plt ....................... Passed 0.28 sec +16: + cat +16: + cc -Xassembler -mx86-used-note=no -c -o out/test/elf/x86_64/x86_64_note-property2/c.o -xassembler-with-cpp - +20: + objdump -d -j .plt.got out/test/elf/x86_64/x86_64_pltgot/exe +20: + grep -Eq '1034:.*jmp.* ' out/test/elf/x86_64/x86_64_pltgot/log +20: + on_exit +20: + echo OK +20: OK +20: + exit 0 +25: + cat +25: + cc -fPIC -c -o out/test/elf/x86_64/x86_64_reloc/b.o -xc - +22: + cc -B. -o out/test/elf/x86_64/x86_64_relax/exe out/test/elf/x86_64/x86_64_relax/a.o out/test/elf/x86_64/x86_64_relax/b.o + 12/309 Test #19: x86_64-x86_64_plt ....................... Passed 0.26 sec test 27 Start 27: x86_64-x86_64_section-name 27: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_section-name.sh" 27: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 27: Test timeout computed to be: 1500 -25: ++ testname=x86_64_reloc -25: ++ echo -n 'Testing x86_64_reloc ... ' -25: Testing x86_64_reloc ... ++ t=out/test/elf/x86_64/x86_64_reloc -25: ++ mkdir -p out/test/elf/x86_64/x86_64_reloc -25: + '[' x86_64 = x86_64 ']' -25: + cc -fPIC -c -o out/test/elf/x86_64/x86_64_reloc/a.o -x assembler - -25: + cat -15: + on_exit -15: + echo OK -15: OK -15: + exit 0 -22: + cat - 12/309 Test #15: x86_64-x86_64_note-property ............. Passed 0.38 sec + 13/309 Test #20: x86_64-x86_64_pltgot .................... Passed 0.13 sec test 28 Start 28: x86_64-x86_64_tls-gd-mcmodel-large 28: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_tls-gd-mcmodel-large.sh" 28: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 28: Test timeout computed to be: 1500 +24: + cc -o out/test/elf/x86_64/x86_64_reloc-zero/b.o -c -xc - +16: + ./mold -nostdlib -o out/test/elf/x86_64/x86_64_note-property2/exe1 out/test/elf/x86_64/x86_64_note-property2/a.o out/test/elf/x86_64/x86_64_note-property2/b.o +2: + c++ -B. -o out/test/elf/x86_64/x86_64_exception-mcmodel-large/exe out/test/elf/x86_64/x86_64_exception-mcmodel-large/a.o -static -mcmodel=large +26: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_section-alignment.sh +26: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +26: ++ export LC_ALL=C +26: ++ LC_ALL=C +18: + readelf --segments out/test/elf/x86_64/x86_64_note2/exe 23: + grep -Fq 'relocation R_X86_64_16 against foo out of range' out/test/elf/x86_64/x86_64_reloc-overflow/log 21: + cc -B. -o out/test/elf/x86_64/x86_64_preinit-array/exe out/test/elf/x86_64/x86_64_preinit-array/a.o out/test/elf/x86_64/x86_64_preinit-array/b.o +27: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_section-name.sh +27: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +27: ++ export LC_ALL=C +27: ++ LC_ALL=C 23: + on_exit 23: + echo OK 23: OK 23: + exit 0 -5: + nm out/test/elf/x86_64/x86_64_gnu-retain/exe1 -18: + ./mold -o out/test/elf/x86_64/x86_64_note2/exe out/test/elf/x86_64/x86_64_note2/a.o out/test/elf/x86_64/x86_64_note2/b.o out/test/elf/x86_64/x86_64_note2/c.o out/test/elf/x86_64/x86_64_note2/d.o - 13/309 Test #23: x86_64-x86_64_reloc-overflow ............ Passed 0.14 sec + 14/309 Test #23: x86_64-x86_64_reloc-overflow ............ Passed 0.11 sec test 29 Start 29: x86_64-x86_64_tls-gd-to-ie 29: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_tls-gd-to-ie.sh" 29: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 29: Test timeout computed to be: 1500 -26: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_section-alignment.sh -26: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -26: ++ export LC_ALL=C -26: ++ LC_ALL=C -16: + cat -16: + cc -Xassembler -mx86-used-note=no -c -o out/test/elf/x86_64/x86_64_note-property2/c.o -xassembler-with-cpp - -27: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_section-name.sh -27: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -27: ++ export LC_ALL=C -27: ++ LC_ALL=C -28: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_tls-gd-mcmodel-large.sh -5: + grep -q foo out/test/elf/x86_64/x86_64_gnu-retain/log -25: + cat -28: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -28: ++ export LC_ALL=C -28: ++ LC_ALL=C -25: + cc -fPIC -c -o out/test/elf/x86_64/x86_64_reloc/b.o -xc - +18: + grep -Fq '01 .note.a .note.c .note.b' out/test/elf/x86_64/x86_64_note2/log +18: + on_exit +18: + echo OK +18: OK +18: + exit 0 26: ++++ uname -m -28: ++++ uname -m -28: +++ canonical_name x86_64 -28: +++ case $1 in -28: +++ echo x86_64 -29: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_tls-gd-to-ie.sh -5: + on_exit -5: + echo OK -5: OK -5: + exit 0 -27: ++++ uname -m -28: ++ HOST=x86_64 - 14/309 Test #5: x86_64-x86_64_gnu-retain ................ Passed 0.52 sec +26: +++ canonical_name x86_64 +26: +++ case $1 in +26: +++ echo x86_64 +28: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_tls-gd-mcmodel-large.sh + 15/309 Test #18: x86_64-x86_64_note2 ..................... Passed 0.29 sec test 30 Start 30: x86_64-x86_64_tls-large-tbss 30: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_tls-large-tbss.sh" 30: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 30: Test timeout computed to be: 1500 -28: ++ '[' -n '' ']' -28: ++ MACHINE=x86_64 -28: ++ '[' -n '' ']' -28: ++ CC=cc -28: ++ CXX=c++ -28: ++ GCC=gcc -28: ++ GXX=g++ -28: ++ OBJDUMP=objdump -28: ++ OBJCOPY=objcopy -28: ++ STRIP=strip -28: ++ QEMU= -28: ++ trap 'on_error $LINENO' ERR -28: ++ trap on_exit EXIT -28: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_tls-gd-mcmodel-large.sh .sh -26: +++ canonical_name x86_64 -26: +++ case $1 in -26: +++ echo x86_64 26: ++ HOST=x86_64 26: ++ '[' -n '' ']' 26: ++ MACHINE=x86_64 @@ -2770,6 +2791,35 @@ 26: ++ echo -n 'Testing x86_64_section-alignment ... ' 26: Testing x86_64_section-alignment ... ++ t=out/test/elf/x86_64/x86_64_section-alignment 26: ++ mkdir -p out/test/elf/x86_64/x86_64_section-alignment +26: + '[' x86_64 = x86_64 ']' +26: + cat +28: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +28: ++ export LC_ALL=C +28: ++ LC_ALL=C +28: ++++ uname -m +28: +++ canonical_name x86_64 +28: +++ case $1 in +28: +++ echo x86_64 +28: ++ HOST=x86_64 +28: ++ '[' -n '' ']' +28: ++ MACHINE=x86_64 +28: ++ '[' -n '' ']' +28: ++ CC=cc +28: ++ CXX=c++ +28: ++ GCC=gcc +28: ++ GXX=g++ +28: ++ OBJDUMP=objdump +28: ++ OBJCOPY=objcopy +28: ++ STRIP=strip +28: ++ QEMU= +28: ++ trap 'on_error $LINENO' ERR +28: ++ trap on_exit EXIT +28: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_tls-gd-mcmodel-large.sh .sh +28: ++ testname=x86_64_tls-gd-mcmodel-large +28: ++ echo -n 'Testing x86_64_tls-gd-mcmodel-large ... ' +28: Testing x86_64_tls-gd-mcmodel-large ... ++ t=out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large +28: ++ mkdir -p out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large +29: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_tls-gd-to-ie.sh 29: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 29: ++ export LC_ALL=C 29: ++ LC_ALL=C @@ -2777,25 +2827,6 @@ 29: +++ canonical_name x86_64 29: +++ case $1 in 29: +++ echo x86_64 -24: + cc -B. -no-pie -o out/test/elf/x86_64/x86_64_reloc-zero/exe out/test/elf/x86_64/x86_64_reloc-zero/a.o out/test/elf/x86_64/x86_64_reloc-zero/b.o -27: +++ canonical_name x86_64 -27: +++ case $1 in -27: +++ echo x86_64 -27: ++ HOST=x86_64 -27: ++ '[' -n '' ']' -27: ++ MACHINE=x86_64 -27: ++ '[' -n '' ']' -27: ++ CC=cc -27: ++ CXX=c++ -27: ++ GCC=gcc -27: ++ GXX=g++ -27: ++ OBJDUMP=objdump -27: ++ OBJCOPY=objcopy -27: ++ STRIP=strip -27: ++ QEMU= -27: ++ trap 'on_error $LINENO' ERR -27: ++ trap on_exit EXIT -18: + readelf --segments out/test/elf/x86_64/x86_64_note2/exe 29: ++ HOST=x86_64 29: ++ '[' -n '' ']' 29: ++ MACHINE=x86_64 @@ -2810,35 +2841,61 @@ 29: ++ QEMU= 29: ++ trap 'on_error $LINENO' ERR 29: ++ trap on_exit EXIT -28: ++ testname=x86_64_tls-gd-mcmodel-large -28: ++ echo -n 'Testing x86_64_tls-gd-mcmodel-large ... ' -28: Testing x86_64_tls-gd-mcmodel-large ... ++ t=out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large -28: ++ mkdir -p out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large 29: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_tls-gd-to-ie.sh .sh -13: + out/test/elf/x86_64/x86_64_mergeable-records/exe -30: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_tls-large-tbss.sh -30: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -30: ++ export LC_ALL=C -30: ++ LC_ALL=C -18: + grep -Fq '01 .note.a .note.c .note.b' out/test/elf/x86_64/x86_64_note2/log 29: ++ testname=x86_64_tls-gd-to-ie 29: ++ echo -n 'Testing x86_64_tls-gd-to-ie ... ' 29: Testing x86_64_tls-gd-to-ie ... ++ t=out/test/elf/x86_64/x86_64_tls-gd-to-ie 29: ++ mkdir -p out/test/elf/x86_64/x86_64_tls-gd-to-ie -16: + ./mold -nostdlib -o out/test/elf/x86_64/x86_64_note-property2/exe1 out/test/elf/x86_64/x86_64_note-property2/a.o out/test/elf/x86_64/x86_64_note-property2/b.o -26: + '[' x86_64 = x86_64 ']' +29: + cat +27: ++++ uname -m +27: +++ canonical_name x86_64 +27: +++ case $1 in +27: +++ echo x86_64 +27: ++ HOST=x86_64 +27: ++ '[' -n '' ']' +27: ++ MACHINE=x86_64 +27: ++ '[' -n '' ']' +27: ++ CC=cc +27: ++ CXX=c++ +27: ++ GCC=gcc +27: ++ GXX=g++ +27: ++ OBJDUMP=objdump +27: ++ OBJCOPY=objcopy +27: ++ STRIP=strip +27: ++ QEMU= +27: ++ trap 'on_error $LINENO' ERR +27: ++ trap on_exit EXIT 27: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_section-name.sh .sh -13: + grep -q '^abcdef$' -26: + cc -c -o out/test/elf/x86_64/x86_64_section-alignment/a.o -xc - -28: + '[' x86_64 = x86_64 ']' -28: + gcc -mtls-dialect=gnu -fPIC -c -o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/a.o -xc - -mcmodel=large -26: + cat -28: + cat -30: ++++ uname -m 27: ++ testname=x86_64_section-name 27: ++ echo -n 'Testing x86_64_section-name ... ' 27: Testing x86_64_section-name ... ++ t=out/test/elf/x86_64/x86_64_section-name 27: ++ mkdir -p out/test/elf/x86_64/x86_64_section-name +27: + '[' x86_64 = x86_64 ']' +24: + cc -B. -no-pie -o out/test/elf/x86_64/x86_64_reloc-zero/exe out/test/elf/x86_64/x86_64_reloc-zero/a.o out/test/elf/x86_64/x86_64_reloc-zero/b.o +30: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_tls-large-tbss.sh +26: + cc -c -o out/test/elf/x86_64/x86_64_section-alignment/a.o -xc - +16: + readelf -n out/test/elf/x86_64/x86_64_note-property2/exe1 +16: + grep -q 'x86 feature: SHSTK' +27: + cc -o out/test/elf/x86_64/x86_64_section-name/a.o -c -x assembler - +30: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +30: ++ export LC_ALL=C +30: ++ LC_ALL=C +27: + cat +28: + '[' x86_64 = x86_64 ']' +16: + readelf -n out/test/elf/x86_64/x86_64_note-property2/exe1 +16: + grep -q 'x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' +29: + gcc -fPIC -c -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/a.o -xc - -mcmodel=large +25: + cc -shared -o out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/a.o out/test/elf/x86_64/x86_64_reloc/b.o -Wl,-z,noexecstack +27: + ./mold -o out/test/elf/x86_64/x86_64_section-name/exe out/test/elf/x86_64/x86_64_section-name/a.o -z keep-text-section-prefix +28: + gcc -mtls-dialect=gnu -fPIC -c -o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/a.o -xc - -mcmodel=large +16: + readelf -n out/test/elf/x86_64/x86_64_note-property2/exe1 +16: + grep -q 'x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' +30: ++++ uname -m +28: + cat +16: + ./mold -nostdlib -o out/test/elf/x86_64/x86_64_note-property2/exe2 out/test/elf/x86_64/x86_64_note-property2/a.o out/test/elf/x86_64/x86_64_note-property2/b.o out/test/elf/x86_64/x86_64_note-property2/c.o +17: + CFLAGS='-Xassembler -mx86-used-note=no' +17: + cat +17: + cc -Xassembler -mx86-used-note=no -o out/test/elf/x86_64/x86_64_note/a.o -c -x assembler - 30: +++ canonical_name x86_64 30: +++ case $1 in 30: +++ echo x86_64 @@ -2857,66 +2914,97 @@ 30: ++ trap 'on_error $LINENO' ERR 30: ++ trap on_exit EXIT 30: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_tls-large-tbss.sh .sh -18: + on_exit -18: + echo OK -18: OK -18: + exit 0 - 15/309 Test #18: x86_64-x86_64_note2 ..................... Passed 0.41 sec -test 31 - Start 31: x86_64-x86_64_tls-ld-mcmodel-large - -31: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_tls-ld-mcmodel-large.sh" -31: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -31: Test timeout computed to be: 1500 -13: + out/test/elf/x86_64/x86_64_mergeable-records/exe -13: + grep -q '^bcdef$' -13: + grep -q '^ijkl$' 30: ++ testname=x86_64_tls-large-tbss 30: ++ echo -n 'Testing x86_64_tls-large-tbss ... ' 30: Testing x86_64_tls-large-tbss ... ++ t=out/test/elf/x86_64/x86_64_tls-large-tbss 30: ++ mkdir -p out/test/elf/x86_64/x86_64_tls-large-tbss -22: + cc -B. -o out/test/elf/x86_64/x86_64_relax/exe out/test/elf/x86_64/x86_64_relax/a.o out/test/elf/x86_64/x86_64_relax/b.o -29: + gcc -fPIC -c -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/a.o -xc - -mcmodel=large -13: + out/test/elf/x86_64/x86_64_mergeable-records/exe -13: + grep -q '^pqr$' -29: + cat +17: + ./mold -static -o out/test/elf/x86_64/x86_64_note/exe out/test/elf/x86_64/x86_64_note/a.o 30: + '[' x86_64 = x86_64 ']' -27: + '[' x86_64 = x86_64 ']' -27: + cc -o out/test/elf/x86_64/x86_64_section-name/a.o -c -x assembler - 30: + cat 30: + cc -c -o out/test/elf/x86_64/x86_64_tls-large-tbss/a.o -x assembler - -13: + out/test/elf/x86_64/x86_64_mergeable-records/exe -31: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_tls-ld-mcmodel-large.sh -25: + cc -shared -o out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/a.o out/test/elf/x86_64/x86_64_reloc/b.o -Wl,-z,noexecstack -27: + cat -27: + ./mold -o out/test/elf/x86_64/x86_64_section-name/exe out/test/elf/x86_64/x86_64_section-name/a.o -z keep-text-section-prefix -31: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -31: ++ export LC_ALL=C -31: ++ LC_ALL=C +27: + readelf -p .text.hot out/test/elf/x86_64/x86_64_section-name/exe +27: + grep -Fq '.text.hot .text.hot.foo' +30: + cat +30: + cc -c -o out/test/elf/x86_64/x86_64_tls-large-tbss/b.o -xc - +27: + readelf -p .text.unknown out/test/elf/x86_64/x86_64_section-name/exe 16: + grep -q 'x86 feature: SHSTK' -13: + grep -q '^mnopqr$' +16: + readelf -n out/test/elf/x86_64/x86_64_note-property2/exe2 +27: + grep -Fq '.text.unknown .text.unknown.foo' +27: + readelf -p .text.unlikely out/test/elf/x86_64/x86_64_section-name/exe +16: + grep -q 'x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' +16: + readelf -n out/test/elf/x86_64/x86_64_note-property2/exe2 13: + out/test/elf/x86_64/x86_64_mergeable-records/exe -16: + readelf -n out/test/elf/x86_64/x86_64_note-property2/exe1 -13: + on_exit -13: + echo OK -13: OK -13: + exit 0 -16: + readelf -n out/test/elf/x86_64/x86_64_note-property2/exe1 -31: ++++ uname -m +27: + grep -Fq '.text.unlikely .text.unlikely.foo' +16: + readelf -n out/test/elf/x86_64/x86_64_note-property2/exe2 14: + grep -q 'Hello world' - 16/309 Test #13: x86_64-x86_64_mergeable-records ......... Passed 0.52 sec +13: + grep -q '^abcdef$' +14: + out/test/elf/x86_64/x86_64_mergeable-strings/exe +16: + grep -q 'x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' +27: + readelf -p .text.startup out/test/elf/x86_64/x86_64_section-name/exe +14: + grep -Eq '[0-9] foo$' +14: + readelf -sW out/test/elf/x86_64/x86_64_mergeable-strings/exe +13: + out/test/elf/x86_64/x86_64_mergeable-records/exe +22: + grep -A20 ':' +22: + objdump -d out/test/elf/x86_64/x86_64_relax/exe +17: + readelf -W --sections out/test/elf/x86_64/x86_64_note/exe +16: + ./mold --relocatable -o out/test/elf/x86_64/x86_64_note-property2/d.o out/test/elf/x86_64/x86_64_note-property2/a.o out/test/elf/x86_64/x86_64_note-property2/b.o +21: + out/test/elf/x86_64/x86_64_preinit-array/exe +14: + on_exit +14: + echo OK +14: OK +14: + exit 0 + 16/309 Test #14: x86_64-x86_64_mergeable-strings ......... Passed 0.46 sec +test 31 + Start 31: x86_64-x86_64_tls-ld-mcmodel-large + +31: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_tls-ld-mcmodel-large.sh" +31: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +31: Test timeout computed to be: 1500 +13: + grep -q '^bcdef$' +13: + out/test/elf/x86_64/x86_64_mergeable-records/exe +13: + grep -q '^ijkl$' +17: + grep -Eq '.note.bar\s+NOTE.+000008 00 A 0 0 4' out/test/elf/x86_64/x86_64_note/log +17: + grep -Eq '.note.baz\s+NOTE.+000008 00 A 0 0 8' out/test/elf/x86_64/x86_64_note/log +27: + grep -Fq '.text.startup .text.startup.foo' +27: + readelf -p .text.exit out/test/elf/x86_64/x86_64_section-name/exe +27: + grep -Fq '.text.exit .text.exit.foo' +21: + grep -q 'preinit init fini' +21: + on_exit +21: + echo OK +21: OK +21: + exit 0 +22: + grep -Eq 'lea \s*0x.+\(%rip\),%rax .*' out/test/elf/x86_64/x86_64_relax/log + 17/309 Test #21: x86_64-x86_64_preinit-array ............. Passed 0.25 sec test 32 Start 32: x86_64-x86_64_tls-module-base 32: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_tls-module-base.sh" 32: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 32: Test timeout computed to be: 1500 -14: + out/test/elf/x86_64/x86_64_mergeable-strings/exe -14: + grep -Eq '[0-9] foo$' -14: + readelf -sW out/test/elf/x86_64/x86_64_mergeable-strings/exe +17: + grep -Eq '.note.nonalloc\s+NOTE.+000008 00 0 0 1' out/test/elf/x86_64/x86_64_note/log +22: + grep -Eq 'lea \s*0x.+\(%rip\),%rcx .*' out/test/elf/x86_64/x86_64_relax/log +28: + cat +31: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_tls-ld-mcmodel-large.sh +31: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +31: ++ export LC_ALL=C +31: ++ LC_ALL=C +17: + readelf --segments out/test/elf/x86_64/x86_64_note/exe +13: + grep -q '^pqr$' +26: + cc -B. -o out/test/elf/x86_64/x86_64_section-alignment/exe out/test/elf/x86_64/x86_64_section-alignment/a.o +13: + out/test/elf/x86_64/x86_64_mergeable-records/exe +30: + cc -B. -o out/test/elf/x86_64/x86_64_tls-large-tbss/exe out/test/elf/x86_64/x86_64_tls-large-tbss/a.o out/test/elf/x86_64/x86_64_tls-large-tbss/b.o +27: + grep -Fq '.text .text.foo' +22: + grep -Eq 'lea \s*0x.+\(%rip\),%rdx .*' out/test/elf/x86_64/x86_64_relax/log +31: ++++ uname -m +32: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_tls-module-base.sh +27: + readelf -p .text out/test/elf/x86_64/x86_64_section-name/exe +28: + gcc -mtls-dialect=gnu -fPIC -c -o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/b.o -xc - -mcmodel=large 31: +++ canonical_name x86_64 31: +++ case $1 in 31: +++ echo x86_64 +32: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +32: ++ export LC_ALL=C +32: ++ LC_ALL=C 31: ++ HOST=x86_64 31: ++ '[' -n '' ']' 31: ++ MACHINE=x86_64 @@ -2929,102 +3017,123 @@ 31: ++ OBJCOPY=objcopy 31: ++ STRIP=strip 31: ++ QEMU= +17: + grep -Fq '01 .note.baz .note.foo .note.bar' out/test/elf/x86_64/x86_64_note/log 31: ++ trap 'on_error $LINENO' ERR 31: ++ trap on_exit EXIT +16: + readelf -n out/test/elf/x86_64/x86_64_note-property2/d.o +17: + grep -q 'NOTE.*0x0000000000000000 0x0000000000000000' out/test/elf/x86_64/x86_64_note/log +27: + grep -Fq '.data.rel.ro .data.rel.ro.foo' +32: ++++ uname -m +22: + grep -Eq 'lea \s*0x.+\(%rip\),%rbx .*' out/test/elf/x86_64/x86_64_relax/log +16: + grep -q 'x86 feature: SHSTK' 31: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_tls-ld-mcmodel-large.sh .sh -31: ++ testname=x86_64_tls-ld-mcmodel-large -31: ++ echo -n 'Testing x86_64_tls-ld-mcmodel-large ... ' -31: Testing x86_64_tls-ld-mcmodel-large ... ++ t=out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large -31: ++ mkdir -p out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large -30: + cat -30: + cc -c -o out/test/elf/x86_64/x86_64_tls-large-tbss/b.o -xc - -21: + out/test/elf/x86_64/x86_64_preinit-array/exe -17: + CFLAGS='-Xassembler -mx86-used-note=no' -17: + cat +13: + grep -q '^mnopqr$' +32: +++ canonical_name x86_64 +32: +++ case $1 in +32: +++ echo x86_64 +32: ++ HOST=x86_64 +32: ++ '[' -n '' ']' +32: ++ MACHINE=x86_64 +32: ++ '[' -n '' ']' +32: ++ CC=cc +32: ++ CXX=c++ +32: ++ GCC=gcc +32: ++ GXX=g++ +32: ++ OBJDUMP=objdump +32: ++ OBJCOPY=objcopy +32: ++ STRIP=strip +32: ++ QEMU= +32: ++ trap 'on_error $LINENO' ERR +32: ++ trap on_exit EXIT +32: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_tls-module-base.sh .sh +17: + on_exit +17: + echo OK +17: OK +17: + exit 0 +29: + cat +29: + cc -fPIC -c -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/b.o -xc - +13: + out/test/elf/x86_64/x86_64_mergeable-records/exe +27: + readelf -p .data.rel.ro out/test/elf/x86_64/x86_64_section-name/exe 16: + grep -q 'x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' -21: + grep -q 'preinit init fini' -21: + on_exit -21: + echo OK -21: OK -21: + exit 0 -31: + '[' x86_64 = x86_64 ']' -31: + cat -27: + grep -Fq '.text.hot .text.hot.foo' -17: + cc -Xassembler -mx86-used-note=no -o out/test/elf/x86_64/x86_64_note/a.o -c -x assembler - -16: + readelf -n out/test/elf/x86_64/x86_64_note-property2/exe1 - 17/309 Test #21: x86_64-x86_64_preinit-array ............. Passed 0.33 sec +22: + grep -Eq 'lea \s*0x.+\(%rip\),%rbp .*' out/test/elf/x86_64/x86_64_relax/log + 18/309 Test #17: x86_64-x86_64_note ...................... Passed 0.44 sec test 33 Start 33: x86_64-x86_64_unique 33: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_unique.sh" 33: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 33: Test timeout computed to be: 1500 -14: + on_exit -14: + echo OK -14: OK -14: + exit 0 -31: + gcc -ftls-model=local-dynamic -fPIC -c -o out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/a.o -xc - -mcmodel=large -27: + readelf -p .text.hot out/test/elf/x86_64/x86_64_section-name/exe -6: + out/test/elf/x86_64/x86_64_ifunc-alias/exe +27: + readelf -p .data out/test/elf/x86_64/x86_64_section-name/exe +27: + grep -Fq '.data .data.foo' +16: + readelf -n out/test/elf/x86_64/x86_64_note-property2/d.o 16: + grep -q 'x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' -26: + cc -B. -o out/test/elf/x86_64/x86_64_section-alignment/exe out/test/elf/x86_64/x86_64_section-alignment/a.o - 18/309 Test #14: x86_64-x86_64_mergeable-strings ......... Passed 0.54 sec +16: + readelf -n out/test/elf/x86_64/x86_64_note-property2/d.o +22: + grep -Eq 'lea \s*0x.+\(%rip\),%rsi .*' out/test/elf/x86_64/x86_64_relax/log +31: ++ testname=x86_64_tls-ld-mcmodel-large +31: ++ echo -n 'Testing x86_64_tls-ld-mcmodel-large ... ' +31: Testing x86_64_tls-ld-mcmodel-large ... ++ t=out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large +31: ++ mkdir -p out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large +31: + '[' x86_64 = x86_64 ']' +31: + cat +25: + cat +25: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -no-pie +13: + on_exit +13: + echo OK +13: OK +13: + exit 0 +32: ++ testname=x86_64_tls-module-base +32: ++ echo -n 'Testing x86_64_tls-module-base ... ' +32: Testing x86_64_tls-module-base ... ++ t=out/test/elf/x86_64/x86_64_tls-module-base +32: ++ mkdir -p out/test/elf/x86_64/x86_64_tls-module-base +32: + '[' x86_64 = x86_64 ']' +32: + cat +24: + on_exit +24: + echo OK +24: OK +24: + exit 0 + 19/309 Test #13: x86_64-x86_64_mergeable-records ......... Passed 0.51 sec test 34 Start 34: x86_64-x86_64_warn-execstack 34: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_warn-execstack.sh" 34: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 34: Test timeout computed to be: 1500 -27: + grep -Fq '.text.unknown .text.unknown.foo' -6: + on_exit -6: + echo OK -6: OK -6: + exit 0 -16: + ./mold -nostdlib -o out/test/elf/x86_64/x86_64_note-property2/exe2 out/test/elf/x86_64/x86_64_note-property2/a.o out/test/elf/x86_64/x86_64_note-property2/b.o out/test/elf/x86_64/x86_64_note-property2/c.o -32: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_tls-module-base.sh -32: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -32: ++ export LC_ALL=C -32: ++ LC_ALL=C -33: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_unique.sh -33: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -33: ++ export LC_ALL=C -33: ++ LC_ALL=C -17: + ./mold -static -o out/test/elf/x86_64/x86_64_note/exe out/test/elf/x86_64/x86_64_note/a.o - 19/309 Test #6: x86_64-x86_64_ifunc-alias ............... Passed 0.64 sec + 20/309 Test #24: x86_64-x86_64_reloc-zero ................ Passed 0.26 sec test 35 Start 35: x86_64-x86_64_warn-shared-textrel 35: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_warn-shared-textrel.sh" 35: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 35: Test timeout computed to be: 1500 -27: + readelf -p .text.unknown out/test/elf/x86_64/x86_64_section-name/exe -32: ++++ uname -m -32: +++ canonical_name x86_64 -32: +++ case $1 in -32: +++ echo x86_64 -32: ++ HOST=x86_64 -32: ++ '[' -n '' ']' -32: ++ MACHINE=x86_64 -32: ++ '[' -n '' ']' -32: ++ CC=cc -32: ++ CXX=c++ -32: ++ GCC=gcc -32: ++ GXX=g++ -32: ++ OBJDUMP=objdump -32: ++ OBJCOPY=objcopy -32: ++ STRIP=strip -32: ++ QEMU= -32: ++ trap 'on_error $LINENO' ERR -32: ++ trap on_exit EXIT -17: + readelf -W --sections out/test/elf/x86_64/x86_64_note/exe -34: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_warn-execstack.sh -34: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -34: ++ export LC_ALL=C -34: ++ LC_ALL=C -34: ++++ uname -m -29: + cat -29: + cc -fPIC -c -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/b.o -xc - -28: + gcc -mtls-dialect=gnu -fPIC -c -o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/b.o -xc - -mcmodel=large +27: + grep -Fq '.rodata .rodata.foo' +27: + readelf -p .rodata out/test/elf/x86_64/x86_64_section-name/exe +27: + ./mold -o out/test/elf/x86_64/x86_64_section-name/exe out/test/elf/x86_64/x86_64_section-name/a.o +16: + on_exit +16: + echo OK +16: OK +16: + exit 0 + 21/309 Test #16: x86_64-x86_64_note-property2 ............ Passed 0.48 sec +test 36 + Start 36: x86_64-x86_64_warn-textrel + +36: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_warn-textrel.sh" +36: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +36: Test timeout computed to be: 1500 +22: + grep -Eq 'lea \s*0x.+\(%rip\),%rdi .*' out/test/elf/x86_64/x86_64_relax/log +22: + grep -Eq 'lea \s*0x.+\(%rip\),%r8 .*' out/test/elf/x86_64/x86_64_relax/log +22: + grep -Eq 'lea \s*0x.+\(%rip\),%r9 .*' out/test/elf/x86_64/x86_64_relax/log +22: + grep -Eq 'lea \s*0x.+\(%rip\),%r10 .*' out/test/elf/x86_64/x86_64_relax/log +22: + grep -Eq 'lea \s*0x.+\(%rip\),%r11 .*' out/test/elf/x86_64/x86_64_relax/log +22: + grep -Eq 'lea \s*0x.+\(%rip\),%r12 .*' out/test/elf/x86_64/x86_64_relax/log +22: + grep -Eq 'lea \s*0x.+\(%rip\),%r13 .*' out/test/elf/x86_64/x86_64_relax/log +31: + gcc -ftls-model=local-dynamic -fPIC -c -o out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/a.o -xc - -mcmodel=large +32: + cc -fPIC -o out/test/elf/x86_64/x86_64_tls-module-base/a.o -c -xassembler - +32: + cat +32: + cc -o out/test/elf/x86_64/x86_64_tls-module-base/b.o -c -xc - +33: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_unique.sh +33: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +33: ++ export LC_ALL=C +33: ++ LC_ALL=C 33: ++++ uname -m 33: +++ canonical_name x86_64 33: +++ case $1 in @@ -3043,12 +3152,18 @@ 33: ++ QEMU= 33: ++ trap 'on_error $LINENO' ERR 33: ++ trap on_exit EXIT -35: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_warn-shared-textrel.sh -27: + grep -Fq '.text.unlikely .text.unlikely.foo' -27: + readelf -p .text.unlikely out/test/elf/x86_64/x86_64_section-name/exe +34: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_warn-execstack.sh +34: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +34: ++ export LC_ALL=C +34: ++ LC_ALL=C +34: ++++ uname -m 34: +++ canonical_name x86_64 34: +++ case $1 in 34: +++ echo x86_64 +27: + grep -Fq .text.hot +27: + readelf --sections out/test/elf/x86_64/x86_64_section-name/exe +27: + ./mold -o out/test/elf/x86_64/x86_64_section-name/exe out/test/elf/x86_64/x86_64_section-name/a.o -z nokeep-text-section-prefix +22: + grep -Eq 'lea \s*0x.+\(%rip\),%r14 .*' out/test/elf/x86_64/x86_64_relax/log 34: ++ HOST=x86_64 34: ++ '[' -n '' ']' 34: ++ MACHINE=x86_64 @@ -3063,56 +3178,11 @@ 34: ++ QEMU= 34: ++ trap 'on_error $LINENO' ERR 34: ++ trap on_exit EXIT -28: + cat -17: + grep -Eq '.note.bar\s+NOTE.+000008 00 A 0 0 4' out/test/elf/x86_64/x86_64_note/log -33: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_unique.sh .sh -32: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_tls-module-base.sh .sh +35: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_warn-shared-textrel.sh 35: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 35: ++ export LC_ALL=C 35: ++ LC_ALL=C -24: + on_exit -24: + echo OK -24: OK -24: + exit 0 - 20/309 Test #24: x86_64-x86_64_reloc-zero ................ Passed 0.31 sec -test 36 - Start 36: x86_64-x86_64_warn-textrel - -36: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_warn-textrel.sh" -36: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -36: Test timeout computed to be: 1500 -34: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_warn-execstack.sh .sh -34: ++ testname=x86_64_warn-execstack -34: ++ echo -n 'Testing x86_64_warn-execstack ... ' -34: Testing x86_64_warn-execstack ... ++ t=out/test/elf/x86_64/x86_64_warn-execstack -34: ++ mkdir -p out/test/elf/x86_64/x86_64_warn-execstack -34: + '[' x86_64 = x86_64 ']' -27: + grep -Fq '.text.startup .text.startup.foo' -27: + readelf -p .text.startup out/test/elf/x86_64/x86_64_section-name/exe -27: + grep -Fq '.text.exit .text.exit.foo' -27: + readelf -p .text.exit out/test/elf/x86_64/x86_64_section-name/exe -33: ++ testname=x86_64_unique -33: ++ echo -n 'Testing x86_64_unique ... ' -33: Testing x86_64_unique ... ++ t=out/test/elf/x86_64/x86_64_unique -33: ++ mkdir -p out/test/elf/x86_64/x86_64_unique -33: + '[' x86_64 = x86_64 ']' -33: + cat -32: ++ testname=x86_64_tls-module-base -32: ++ echo -n 'Testing x86_64_tls-module-base ... ' -32: Testing x86_64_tls-module-base ... ++ t=out/test/elf/x86_64/x86_64_tls-module-base -32: ++ mkdir -p out/test/elf/x86_64/x86_64_tls-module-base -32: + '[' x86_64 = x86_64 ']' -32: + cat -17: + grep -Eq '.note.baz\s+NOTE.+000008 00 A 0 0 8' out/test/elf/x86_64/x86_64_note/log -30: + cc -B. -o out/test/elf/x86_64/x86_64_tls-large-tbss/exe out/test/elf/x86_64/x86_64_tls-large-tbss/a.o out/test/elf/x86_64/x86_64_tls-large-tbss/b.o -22: + grep -A20 ':' 35: ++++ uname -m -25: + cat -2: + out/test/elf/x86_64/x86_64_exception-mcmodel-large/exe -17: + grep -Eq '.note.nonalloc\s+NOTE.+000008 00 0 0 1' out/test/elf/x86_64/x86_64_note/log -36: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_warn-textrel.sh -22: + objdump -d out/test/elf/x86_64/x86_64_relax/exe -34: + cat 35: +++ canonical_name x86_64 35: +++ case $1 in 35: +++ echo x86_64 @@ -3130,35 +3200,44 @@ 35: ++ QEMU= 35: ++ trap 'on_error $LINENO' ERR 35: ++ trap on_exit EXIT -32: + cc -fPIC -o out/test/elf/x86_64/x86_64_tls-module-base/a.o -c -xassembler - -34: + cc -o out/test/elf/x86_64/x86_64_warn-execstack/a.o -c -xassembler - -33: + cc -c -o out/test/elf/x86_64/x86_64_unique/a.o -x assembler - -16: + readelf -n out/test/elf/x86_64/x86_64_note-property2/exe2 +35: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_warn-shared-textrel.sh .sh +28: + cat +28: + gcc -mtls-dialect=gnu -fPIC -c -o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/c.o -xc - -mcmodel=large +36: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_warn-textrel.sh 36: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 36: ++ export LC_ALL=C 36: ++ LC_ALL=C -16: + grep -q 'x86 feature: SHSTK' -17: + readelf --segments out/test/elf/x86_64/x86_64_note/exe -2: + on_exit -2: + echo OK -2: OK -2: + exit 0 - 21/309 Test #2: x86_64-x86_64_exception-mcmodel-large ... Passed 0.73 sec -test 37 - Start 37: x86_64-x86_64_z-ibt - -37: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_z-ibt.sh" -37: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -37: Test timeout computed to be: 1500 -27: + grep -Fq '.text .text.foo' -27: + readelf -p .text out/test/elf/x86_64/x86_64_section-name/exe -25: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -no-pie -33: + cc -B. -o out/test/elf/x86_64/x86_64_unique/exe out/test/elf/x86_64/x86_64_unique/a.o -nostdlib '-Wl,-unique=*foo*' -17: + grep -Fq '01 .note.baz .note.foo .note.bar' out/test/elf/x86_64/x86_64_note/log +6: + out/test/elf/x86_64/x86_64_ifunc-alias/exe +33: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_unique.sh .sh +35: ++ testname=x86_64_warn-shared-textrel +35: ++ echo -n 'Testing x86_64_warn-shared-textrel ... ' +35: Testing x86_64_warn-shared-textrel ... ++ t=out/test/elf/x86_64/x86_64_warn-shared-textrel +35: ++ mkdir -p out/test/elf/x86_64/x86_64_warn-shared-textrel +33: ++ testname=x86_64_unique +33: ++ echo -n 'Testing x86_64_unique ... ' +33: Testing x86_64_unique ... ++ t=out/test/elf/x86_64/x86_64_unique +33: ++ mkdir -p out/test/elf/x86_64/x86_64_unique +34: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_warn-execstack.sh .sh +22: + grep -Eq 'lea \s*0x.+\(%rip\),%r15 .*' out/test/elf/x86_64/x86_64_relax/log 36: ++++ uname -m +35: + ldd --help +34: ++ testname=x86_64_warn-execstack +34: ++ echo -n 'Testing x86_64_warn-execstack ... ' +34: Testing x86_64_warn-execstack ... ++ t=out/test/elf/x86_64/x86_64_warn-execstack +34: ++ mkdir -p out/test/elf/x86_64/x86_64_warn-execstack +33: + '[' x86_64 = x86_64 ']' +33: + cat +33: + cc -c -o out/test/elf/x86_64/x86_64_unique/a.o -x assembler - 36: +++ canonical_name x86_64 36: +++ case $1 in 36: +++ echo x86_64 +22: + grep -Eq 'call.*' out/test/elf/x86_64/x86_64_relax/log +29: + cc -B. -shared -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/c.so out/test/elf/x86_64/x86_64_tls-gd-to-ie/a.o +34: + '[' x86_64 = x86_64 ']' +6: + on_exit +6: + echo OK +6: OK +6: + exit 0 36: ++ HOST=x86_64 36: ++ '[' -n '' ']' 36: ++ MACHINE=x86_64 @@ -3170,40 +3249,37 @@ 36: ++ OBJDUMP=objdump 36: ++ OBJCOPY=objcopy 36: ++ STRIP=strip +34: + cc -o out/test/elf/x86_64/x86_64_warn-execstack/a.o -c -xassembler - + 22/309 Test #6: x86_64-x86_64_ifunc-alias ............... Passed 0.58 sec +test 37 + Start 37: x86_64-x86_64_z-ibt + +37: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_z-ibt.sh" +37: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +37: Test timeout computed to be: 1500 36: ++ QEMU= -37: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_z-ibt.sh -16: + readelf -n out/test/elf/x86_64/x86_64_note-property2/exe2 -22: + grep -Eq 'lea \s*0x.+\(%rip\),%rax .*' out/test/elf/x86_64/x86_64_relax/log -31: + cat -31: + gcc -ftls-model=local-dynamic -fPIC -c -o out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/b.o -xc - -mcmodel=large -27: + grep -Fq '.data.rel.ro .data.rel.ro.foo' -35: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_warn-shared-textrel.sh .sh 36: ++ trap 'on_error $LINENO' ERR 36: ++ trap on_exit EXIT -35: ++ testname=x86_64_warn-shared-textrel -35: ++ echo -n 'Testing x86_64_warn-shared-textrel ... ' -35: Testing x86_64_warn-shared-textrel ... ++ t=out/test/elf/x86_64/x86_64_warn-shared-textrel -35: ++ mkdir -p out/test/elf/x86_64/x86_64_warn-shared-textrel +36: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_warn-textrel.sh .sh +36: ++ testname=x86_64_warn-textrel +36: ++ echo -n 'Testing x86_64_warn-textrel ... ' +36: Testing x86_64_warn-textrel ... ++ t=out/test/elf/x86_64/x86_64_warn-textrel +36: ++ mkdir -p out/test/elf/x86_64/x86_64_warn-textrel +32: + cc -o out/test/elf/x86_64/x86_64_tls-module-base/c.o -c -xc - +32: + cat +33: + cc -B. -o out/test/elf/x86_64/x86_64_unique/exe out/test/elf/x86_64/x86_64_unique/a.o -nostdlib '-Wl,-unique=*foo*' +36: + ldd --help +36: + grep -q musl +37: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_z-ibt.sh 37: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 37: ++ export LC_ALL=C 37: ++ LC_ALL=C -37: ++++ uname -m 34: + cat -16: + grep -q 'x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' -22: + grep -Eq 'lea \s*0x.+\(%rip\),%rcx .*' out/test/elf/x86_64/x86_64_relax/log -16: + readelf -n out/test/elf/x86_64/x86_64_note-property2/exe2 -17: + grep -q 'NOTE.*0x0000000000000000 0x0000000000000000' out/test/elf/x86_64/x86_64_note/log +35: + grep -q musl +37: ++++ uname -m 37: +++ canonical_name x86_64 37: +++ case $1 in 37: +++ echo x86_64 -27: + readelf -p .data.rel.ro out/test/elf/x86_64/x86_64_section-name/exe -36: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_warn-textrel.sh .sh -28: + gcc -mtls-dialect=gnu -fPIC -c -o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/c.o -xc - -mcmodel=large -34: + cc -o out/test/elf/x86_64/x86_64_warn-execstack/b.o -c -xc - -36: ++ testname=x86_64_warn-textrel -36: ++ echo -n 'Testing x86_64_warn-textrel ... ' -36: Testing x86_64_warn-textrel ... ++ t=out/test/elf/x86_64/x86_64_warn-textrel -36: ++ mkdir -p out/test/elf/x86_64/x86_64_warn-textrel 37: ++ HOST=x86_64 37: ++ '[' -n '' ']' 37: ++ MACHINE=x86_64 @@ -3218,77 +3294,81 @@ 37: ++ QEMU= 37: ++ trap 'on_error $LINENO' ERR 37: ++ trap on_exit EXIT -28: + cat -16: + grep -q 'x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' -35: + grep -q musl -22: + grep -Eq 'lea \s*0x.+\(%rip\),%rdx .*' out/test/elf/x86_64/x86_64_relax/log -17: + on_exit -17: + echo OK -17: OK -17: + exit 0 -36: + grep -q musl -36: + ldd --help -16: + ./mold --relocatable -o out/test/elf/x86_64/x86_64_note-property2/d.o out/test/elf/x86_64/x86_64_note-property2/a.o out/test/elf/x86_64/x86_64_note-property2/b.o -35: + ldd --help -32: + cc -o out/test/elf/x86_64/x86_64_tls-module-base/b.o -c -xc - - 22/309 Test #17: x86_64-x86_64_note ...................... Passed 0.60 sec +22: + grep -Eq 'jmp.*' out/test/elf/x86_64/x86_64_relax/log +35: + '[' x86_64 = x86_64 ']' +35: + cc -c -o out/test/elf/x86_64/x86_64_warn-shared-textrel/a.o -x assembler - +22: + on_exit +22: + echo OK +22: OK +22: + exit 0 + 23/309 Test #22: x86_64-x86_64_relax ..................... Passed 0.34 sec test 38 Start 38: x86_64-x86_64_z-ibtplt 38: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_z-ibtplt.sh" 38: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 38: Test timeout computed to be: 1500 -22: + grep -Eq 'lea \s*0x.+\(%rip\),%rbx .*' out/test/elf/x86_64/x86_64_relax/log -32: + cat -27: + readelf -p .data out/test/elf/x86_64/x86_64_section-name/exe -27: + grep -Fq '.data .data.foo' -35: + '[' x86_64 = x86_64 ']' -35: + cc -c -o out/test/elf/x86_64/x86_64_warn-shared-textrel/a.o -x assembler - +36: + '[' x86_64 = x86_64 ']' +36: + cat +36: + cc -c -o out/test/elf/x86_64/x86_64_warn-textrel/a.o -x assembler - +35: + cat +34: + cat +34: + cc -o out/test/elf/x86_64/x86_64_warn-execstack/b.o -c -xc - +38: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_z-ibtplt.sh +38: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +38: ++ export LC_ALL=C +38: ++ LC_ALL=C 37: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_z-ibt.sh .sh +30: + out/test/elf/x86_64/x86_64_tls-large-tbss/exe 37: ++ testname=x86_64_z-ibt 37: ++ echo -n 'Testing x86_64_z-ibt ... ' 37: Testing x86_64_z-ibt ... ++ t=out/test/elf/x86_64/x86_64_z-ibt 37: ++ mkdir -p out/test/elf/x86_64/x86_64_z-ibt -27: + grep -Fq '.rodata .rodata.foo' -22: + grep -Eq 'lea \s*0x.+\(%rip\),%rbp .*' out/test/elf/x86_64/x86_64_relax/log -29: + cc -B. -shared -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/c.so out/test/elf/x86_64/x86_64_tls-gd-to-ie/a.o +36: + cat +36: + cc -c -o out/test/elf/x86_64/x86_64_warn-textrel/b.o -fPIC -xc - +35: + cc -c -o out/test/elf/x86_64/x86_64_warn-shared-textrel/b.o -fPIC -xc - 26: + out/test/elf/x86_64/x86_64_section-alignment/exe 26: + grep -q '^0 0 0$' -36: + '[' x86_64 = x86_64 ']' -35: + cat -27: + readelf -p .rodata out/test/elf/x86_64/x86_64_section-name/exe -37: + '[' x86_64 = x86_64 ']' -38: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_z-ibtplt.sh +28: + cc -B. -shared -o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/d.so out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/b.o -mcmodel=large +31: + cat +31: + gcc -ftls-model=local-dynamic -fPIC -c -o out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/b.o -xc - -mcmodel=large +30: + grep -q '^3 0 5 0 0 0$' 26: + on_exit 26: + echo OK 26: OK 26: + exit 0 -27: + ./mold -o out/test/elf/x86_64/x86_64_section-name/exe out/test/elf/x86_64/x86_64_section-name/a.o -36: + cc -c -o out/test/elf/x86_64/x86_64_warn-textrel/a.o -x assembler - -36: + cat -38: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -38: ++ export LC_ALL=C -38: ++ LC_ALL=C - 23/309 Test #26: x86_64-x86_64_section-alignment ......... Passed 0.29 sec +38: ++++ uname -m + 24/309 Test #26: x86_64-x86_64_section-alignment ......... Passed 0.29 sec test 39 Start 39: x86_64-x86_64_z-shstk 39: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_z-shstk.sh" 39: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 39: Test timeout computed to be: 1500 -33: + grep -q ab -33: + readelf -x .data.foo.1 out/test/elf/x86_64/x86_64_unique/exe -31: + cc -B. -o out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/exe out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/a.o out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/b.o -mcmodel=large +37: + '[' x86_64 = x86_64 ']' 37: + cat -22: + grep -Eq 'lea \s*0x.+\(%rip\),%rsi .*' out/test/elf/x86_64/x86_64_relax/log -38: ++++ uname -m +37: + cc -o out/test/elf/x86_64/x86_64_z-ibt/a.o -c -x assembler - +30: + on_exit +30: + echo OK +30: OK +30: + exit 0 +33: + readelf -x .data.foo.1 out/test/elf/x86_64/x86_64_unique/exe +33: + grep -q ab + 25/309 Test #30: x86_64-x86_64_tls-large-tbss ............ Passed 0.24 sec +test 40 + Start 40: x86_64-x86_64_z-text + +40: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_z-text.sh" +40: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +40: Test timeout computed to be: 1500 +37: + cc -B. -o out/test/elf/x86_64/x86_64_z-ibt/exe out/test/elf/x86_64/x86_64_z-ibt/a.o +33: + grep -q c +33: + readelf -x .data.foo.2 out/test/elf/x86_64/x86_64_unique/exe +33: + readelf -x .data out/test/elf/x86_64/x86_64_unique/exe +33: + grep -q de 38: +++ canonical_name x86_64 38: +++ case $1 in 38: +++ echo x86_64 -36: + cc -c -o out/test/elf/x86_64/x86_64_warn-textrel/b.o -fPIC -xc - -36: + cat -37: + cc -o out/test/elf/x86_64/x86_64_z-ibt/a.o -c -x assembler - -35: + cat 38: ++ HOST=x86_64 38: ++ '[' -n '' ']' 38: ++ MACHINE=x86_64 @@ -3303,44 +3383,19 @@ 38: ++ QEMU= 38: ++ trap 'on_error $LINENO' ERR 38: ++ trap on_exit EXIT -16: + readelf -n out/test/elf/x86_64/x86_64_note-property2/d.o -35: + cc -c -o out/test/elf/x86_64/x86_64_warn-shared-textrel/b.o -fPIC -xc - -39: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_z-shstk.sh 38: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_z-ibtplt.sh .sh -33: + grep -q c -37: + cc -B. -o out/test/elf/x86_64/x86_64_z-ibt/exe out/test/elf/x86_64/x86_64_z-ibt/a.o -27: + grep -Fq .text.hot -27: + readelf --sections out/test/elf/x86_64/x86_64_section-name/exe -39: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -39: ++ export LC_ALL=C -39: ++ LC_ALL=C -33: + readelf -x .data.foo.2 out/test/elf/x86_64/x86_64_unique/exe -16: + grep -q 'x86 feature: SHSTK' 38: ++ testname=x86_64_z-ibtplt 38: ++ echo -n 'Testing x86_64_z-ibtplt ... ' 38: Testing x86_64_z-ibtplt ... ++ t=out/test/elf/x86_64/x86_64_z-ibtplt 38: ++ mkdir -p out/test/elf/x86_64/x86_64_z-ibtplt -22: + grep -Eq 'lea \s*0x.+\(%rip\),%rdi .*' out/test/elf/x86_64/x86_64_relax/log -38: + '[' x86_64 = x86_64 ']' -27: + ./mold -o out/test/elf/x86_64/x86_64_section-name/exe out/test/elf/x86_64/x86_64_section-name/a.o -z nokeep-text-section-prefix -33: + readelf -x .data out/test/elf/x86_64/x86_64_unique/exe -33: + grep -q de -28: + cc -B. -shared -o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/d.so out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/b.o -mcmodel=large -16: + grep -q 'x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' -16: + readelf -n out/test/elf/x86_64/x86_64_note-property2/d.o -38: + cat -33: + on_exit -33: + echo OK -33: OK -33: + exit 0 - 24/309 Test #33: x86_64-x86_64_unique .................... Passed 0.18 sec -test 40 - Start 40: x86_64-x86_64_z-text - -40: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_z-text.sh" -40: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -40: Test timeout computed to be: 1500 -38: + cc -fPIC -o out/test/elf/x86_64/x86_64_z-ibtplt/a.o -c -xc - +25: + grep -q '^42$' +25: + out/test/elf/x86_64/x86_64_reloc/exe +25: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -pie +35: + cat +39: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_z-shstk.sh +39: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +39: ++ export LC_ALL=C +39: ++ LC_ALL=C 39: ++++ uname -m 39: +++ canonical_name x86_64 39: +++ case $1 in @@ -3357,54 +3412,56 @@ 39: ++ OBJCOPY=objcopy 39: ++ STRIP=strip 39: ++ QEMU= -39: ++ trap 'on_error $LINENO' ERR -39: ++ trap on_exit EXIT -32: + cat -32: + cc -o out/test/elf/x86_64/x86_64_tls-module-base/c.o -c -xc - -16: + grep -q 'x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' -22: + grep -Eq 'lea \s*0x.+\(%rip\),%r8 .*' out/test/elf/x86_64/x86_64_relax/log -40: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_z-text.sh -16: + readelf -n out/test/elf/x86_64/x86_64_note-property2/d.o -34: + grep -q 'may cause a segmentation fault' -34: + gcc -B. -o out/test/elf/x86_64/x86_64_warn-execstack/exe out/test/elf/x86_64/x86_64_warn-execstack/a.o out/test/elf/x86_64/x86_64_warn-execstack/b.o -39: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_z-shstk.sh .sh -40: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -40: ++ export LC_ALL=C -40: ++ LC_ALL=C -22: + grep -Eq 'lea \s*0x.+\(%rip\),%r9 .*' out/test/elf/x86_64/x86_64_relax/log -16: + on_exit -16: + echo OK -16: OK -16: + exit 0 - 25/309 Test #16: x86_64-x86_64_note-property2 ............ Passed 0.69 sec +27: + readelf --sections out/test/elf/x86_64/x86_64_section-name/exe +27: + grep -Fq .text.hot +27: + on_exit +27: + echo OK +27: OK +27: + exit 0 + 26/309 Test #27: x86_64-x86_64_section-name .............. Passed 0.28 sec test 41 Start 41: x86_64-abs-error 41: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/abs-error.sh" 41: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 41: Test timeout computed to be: 1500 -30: + out/test/elf/x86_64/x86_64_tls-large-tbss/exe -30: + grep -q '^3 0 5 0 0 0$' +33: + on_exit +33: + echo OK +33: OK +33: + exit 0 +38: + '[' x86_64 = x86_64 ']' +38: + cat +39: ++ trap 'on_error $LINENO' ERR +39: ++ trap on_exit EXIT +39: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_z-shstk.sh .sh 39: ++ testname=x86_64_z-shstk 39: ++ echo -n 'Testing x86_64_z-shstk ... ' 39: Testing x86_64_z-shstk ... ++ t=out/test/elf/x86_64/x86_64_z-shstk 39: ++ mkdir -p out/test/elf/x86_64/x86_64_z-shstk +40: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_z-text.sh + 27/309 Test #33: x86_64-x86_64_unique .................... Passed 0.12 sec +test 42 + Start 42: x86_64-absolute-symbols + +42: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/absolute-symbols.sh" +42: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +42: Test timeout computed to be: 1500 +38: + cc -fPIC -o out/test/elf/x86_64/x86_64_z-ibtplt/a.o -c -xc - 39: + '[' x86_64 = x86_64 ']' -22: + grep -Eq 'lea \s*0x.+\(%rip\),%r10 .*' out/test/elf/x86_64/x86_64_relax/log -40: ++++ uname -m -22: + grep -Eq 'lea \s*0x.+\(%rip\),%r11 .*' out/test/elf/x86_64/x86_64_relax/log -41: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/abs-error.sh +39: + cat 39: + cc -o out/test/elf/x86_64/x86_64_z-shstk/a.o -c -x assembler - +40: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +40: ++ export LC_ALL=C +40: ++ LC_ALL=C +40: ++++ uname -m +32: + cc -B. -o out/test/elf/x86_64/x86_64_tls-module-base/exe1 out/test/elf/x86_64/x86_64_tls-module-base/a.o out/test/elf/x86_64/x86_64_tls-module-base/b.o out/test/elf/x86_64/x86_64_tls-module-base/c.o +36: + cc -B. -o out/test/elf/x86_64/x86_64_warn-textrel/exe out/test/elf/x86_64/x86_64_warn-textrel/a.o out/test/elf/x86_64/x86_64_warn-textrel/b.o -pie -Wl,-warn-textrel +39: + cc -B. -o out/test/elf/x86_64/x86_64_z-shstk/exe out/test/elf/x86_64/x86_64_z-shstk/a.o +42: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/absolute-symbols.sh 40: +++ canonical_name x86_64 40: +++ case $1 in 40: +++ echo x86_64 -30: + on_exit -30: + echo OK -30: OK -30: + exit 0 -25: + grep -q '^42$' -25: + out/test/elf/x86_64/x86_64_reloc/exe -39: + cat +41: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/abs-error.sh 40: ++ HOST=x86_64 40: ++ '[' -n '' ']' 40: ++ MACHINE=x86_64 @@ -3419,24 +3476,25 @@ 40: ++ QEMU= 40: ++ trap 'on_error $LINENO' ERR 40: ++ trap on_exit EXIT - 26/309 Test #30: x86_64-x86_64_tls-large-tbss ............ Passed 0.32 sec -test 42 - Start 42: x86_64-absolute-symbols - -42: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/absolute-symbols.sh" -42: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -42: Test timeout computed to be: 1500 -22: + grep -Eq 'lea \s*0x.+\(%rip\),%r12 .*' out/test/elf/x86_64/x86_64_relax/log +31: + cc -B. -o out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/exe out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/a.o out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/b.o -mcmodel=large 41: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +42: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 41: ++ export LC_ALL=C 41: ++ LC_ALL=C +42: ++ export LC_ALL=C +42: ++ LC_ALL=C +40: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_z-text.sh .sh +40: ++ testname=x86_64_z-text +40: ++ echo -n 'Testing x86_64_z-text ... ' +40: Testing x86_64_z-text ... ++ t=out/test/elf/x86_64/x86_64_z-text +40: ++ mkdir -p out/test/elf/x86_64/x86_64_z-text 41: ++++ uname -m 41: +++ canonical_name x86_64 +40: + ldd --help 41: +++ case $1 in 41: +++ echo x86_64 -29: + cc -B. -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe1 out/test/elf/x86_64/x86_64_tls-gd-to-ie/b.o out/test/elf/x86_64/x86_64_tls-gd-to-ie/c.so -25: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -pie -40: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/x86_64_z-text.sh .sh +40: + grep -q musl +42: ++++ uname -m 41: ++ HOST=x86_64 41: ++ '[' -n '' ']' 41: ++ MACHINE=x86_64 @@ -3451,43 +3509,15 @@ 41: ++ QEMU= 41: ++ trap 'on_error $LINENO' ERR 41: ++ trap on_exit EXIT -22: + grep -Eq 'lea \s*0x.+\(%rip\),%r13 .*' out/test/elf/x86_64/x86_64_relax/log -40: ++ testname=x86_64_z-text -40: ++ echo -n 'Testing x86_64_z-text ... ' -40: Testing x86_64_z-text ... ++ t=out/test/elf/x86_64/x86_64_z-text -40: ++ mkdir -p out/test/elf/x86_64/x86_64_z-text -36: + cc -B. -o out/test/elf/x86_64/x86_64_warn-textrel/exe out/test/elf/x86_64/x86_64_warn-textrel/a.o out/test/elf/x86_64/x86_64_warn-textrel/b.o -pie -Wl,-warn-textrel -41: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/abs-error.sh .sh -22: + grep -Eq 'lea \s*0x.+\(%rip\),%r14 .*' out/test/elf/x86_64/x86_64_relax/log -41: ++ testname=abs-error -41: ++ echo -n 'Testing abs-error ... ' -41: Testing abs-error ... ++ t=out/test/elf/x86_64/abs-error -41: ++ mkdir -p out/test/elf/x86_64/abs-error -42: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/absolute-symbols.sh -40: + ldd --help -41: + '[' x86_64 = aarch64 ']' -41: + '[' x86_64 = ppc64 ']' -41: + '[' x86_64 = ppc64le ']' -41: + '[' x86_64 = s390x ']' -41: + '[' x86_64 = alpha ']' -42: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -42: ++ export LC_ALL=C -42: ++ LC_ALL=C -40: + grep -q musl -41: + cat +35: + cc -B. -shared -o out/test/elf/x86_64/x86_64_warn-shared-textrel/c.so out/test/elf/x86_64/x86_64_warn-shared-textrel/a.o out/test/elf/x86_64/x86_64_warn-shared-textrel/b.o -Wl,-warn-shared-textrel +34: + grep -q 'may cause a segmentation fault' 40: + '[' x86_64 = x86_64 ']' -39: + cc -B. -o out/test/elf/x86_64/x86_64_z-shstk/exe out/test/elf/x86_64/x86_64_z-shstk/a.o -42: ++++ uname -m 40: + cat 40: + cc -c -o out/test/elf/x86_64/x86_64_z-text/a.o -x assembler - -22: + grep -Eq 'lea \s*0x.+\(%rip\),%r15 .*' out/test/elf/x86_64/x86_64_relax/log -41: + cc -fPIC -c -o out/test/elf/x86_64/abs-error/a.o -xassembler - -27: + grep -Fq .text.hot -27: + readelf --sections out/test/elf/x86_64/x86_64_section-name/exe +34: + gcc -B. -o out/test/elf/x86_64/x86_64_warn-execstack/exe out/test/elf/x86_64/x86_64_warn-execstack/a.o out/test/elf/x86_64/x86_64_warn-execstack/b.o 42: +++ canonical_name x86_64 42: +++ case $1 in 42: +++ echo x86_64 -38: + cc -B. -o out/test/elf/x86_64/x86_64_z-ibtplt/b.so -shared out/test/elf/x86_64/x86_64_z-ibtplt/a.o -Wl,-z,ibtplt 42: ++ HOST=x86_64 42: ++ '[' -n '' ']' 42: ++ MACHINE=x86_64 @@ -3502,73 +3532,56 @@ 42: ++ QEMU= 42: ++ trap 'on_error $LINENO' ERR 42: ++ trap on_exit EXIT -22: + grep -Eq 'call.*' out/test/elf/x86_64/x86_64_relax/log -27: + on_exit -27: + echo OK -27: OK -27: + exit 0 - 27/309 Test #27: x86_64-x86_64_section-name .............. Passed 0.40 sec -test 43 - Start 43: x86_64-allow-multiple-definition - -43: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/allow-multiple-definition.sh" -43: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -43: Test timeout computed to be: 1500 -35: + cc -B. -shared -o out/test/elf/x86_64/x86_64_warn-shared-textrel/c.so out/test/elf/x86_64/x86_64_warn-shared-textrel/a.o out/test/elf/x86_64/x86_64_warn-shared-textrel/b.o -Wl,-warn-shared-textrel -22: + grep -Eq 'jmp.*' out/test/elf/x86_64/x86_64_relax/log -22: + on_exit -22: + echo OK -22: OK -22: + exit 0 +29: + cc -B. -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe1 out/test/elf/x86_64/x86_64_tls-gd-to-ie/b.o out/test/elf/x86_64/x86_64_tls-gd-to-ie/c.so +41: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/abs-error.sh .sh +41: ++ testname=abs-error +41: ++ echo -n 'Testing abs-error ... ' +41: Testing abs-error ... ++ t=out/test/elf/x86_64/abs-error +41: ++ mkdir -p out/test/elf/x86_64/abs-error +41: + '[' x86_64 = aarch64 ']' +41: + '[' x86_64 = ppc64 ']' +41: + '[' x86_64 = ppc64le ']' +41: + '[' x86_64 = s390x ']' +41: + '[' x86_64 = alpha ']' 42: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/absolute-symbols.sh .sh +41: + cat +41: + cc -fPIC -c -o out/test/elf/x86_64/abs-error/a.o -xassembler - 42: ++ testname=absolute-symbols 42: ++ echo -n 'Testing absolute-symbols ... ' 42: Testing absolute-symbols ... ++ t=out/test/elf/x86_64/absolute-symbols 42: ++ mkdir -p out/test/elf/x86_64/absolute-symbols -41: + cc -fno-PIC -c -o out/test/elf/x86_64/abs-error/b.o -xc - -41: + cat -32: + cc -B. -o out/test/elf/x86_64/x86_64_tls-module-base/exe1 out/test/elf/x86_64/x86_64_tls-module-base/a.o out/test/elf/x86_64/x86_64_tls-module-base/b.o out/test/elf/x86_64/x86_64_tls-module-base/c.o - 28/309 Test #22: x86_64-x86_64_relax ..................... Passed 0.55 sec -test 44 - Start 44: x86_64-ar-alignment - -44: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/ar-alignment.sh" -44: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -44: Test timeout computed to be: 1500 42: + '[' x86_64 = sparc64 ']' +42: + cat +40: + cat 42: + cc -o out/test/elf/x86_64/absolute-symbols/a.o -c -x assembler - 40: + cc -c -o out/test/elf/x86_64/x86_64_z-text/b.o -fPIC -xc - -40: + cat -34: + on_exit -34: + echo OK -34: OK -34: + exit 0 -31: + grep -q '3 5 3 5' -43: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/allow-multiple-definition.sh - 29/309 Test #34: x86_64-x86_64_warn-execstack ............ Passed 0.27 sec -test 45 - Start 45: x86_64-as-needed-weak +2: + out/test/elf/x86_64/x86_64_exception-mcmodel-large/exe +41: + cat +38: + cc -B. -o out/test/elf/x86_64/x86_64_z-ibtplt/b.so -shared out/test/elf/x86_64/x86_64_z-ibtplt/a.o -Wl,-z,ibtplt +2: + on_exit +2: + echo OK +2: OK +2: + exit 0 + 28/309 Test #2: x86_64-x86_64_exception-mcmodel-large ... Passed 0.72 sec +test 43 + Start 43: x86_64-allow-multiple-definition -45: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/as-needed-weak.sh" -45: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -45: Test timeout computed to be: 1500 +43: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/allow-multiple-definition.sh" +43: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +43: Test timeout computed to be: 1500 42: + cat -31: + out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/exe -31: + cc -B. -o out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/exe out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/a.o out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/b.o -Wl,-no-relax -mcmodel=large +42: + cc -o out/test/elf/x86_64/absolute-symbols/b.o -c -fno-PIC -xc - +41: + cc -fno-PIC -c -o out/test/elf/x86_64/abs-error/b.o -xc - +43: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/allow-multiple-definition.sh 43: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 43: ++ export LC_ALL=C 43: ++ LC_ALL=C 43: ++++ uname -m -44: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/ar-alignment.sh -44: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -44: ++ export LC_ALL=C -44: ++ LC_ALL=C -28: + cc -B. -shared -o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/e.so out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/c.o -Wl,--no-relax -mcmodel=large -37: + readelf --notes out/test/elf/x86_64/x86_64_z-ibt/exe 43: +++ canonical_name x86_64 43: +++ case $1 in 43: +++ echo x86_64 43: ++ HOST=x86_64 +28: + cc -B. -shared -o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/e.so out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/c.o -Wl,--no-relax -mcmodel=large 43: ++ '[' -n '' ']' 43: ++ MACHINE=x86_64 43: ++ '[' -n '' ']' @@ -3583,20 +3596,76 @@ 43: ++ trap 'on_error $LINENO' ERR 43: ++ trap on_exit EXIT 43: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/allow-multiple-definition.sh .sh -42: + cat -45: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/as-needed-weak.sh -44: ++++ uname -m 43: ++ testname=allow-multiple-definition 43: ++ echo -n 'Testing allow-multiple-definition ... ' 43: Testing allow-multiple-definition ... ++ t=out/test/elf/x86_64/allow-multiple-definition 43: ++ mkdir -p out/test/elf/x86_64/allow-multiple-definition +43: + echo 'int main() { return 0; }' +43: + cc -c -o out/test/elf/x86_64/allow-multiple-definition/a.o -xc - +37: + readelf --notes out/test/elf/x86_64/x86_64_z-ibt/exe 37: + grep -qw SHSTK out/test/elf/x86_64/x86_64_z-ibt/log -45: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -45: ++ export LC_ALL=C -45: ++ LC_ALL=C +37: + cc -B. -o out/test/elf/x86_64/x86_64_z-ibt/exe out/test/elf/x86_64/x86_64_z-ibt/a.o -Wl,-z,ibt +35: + grep -q 'relocation against symbol `main'\'' in read-only section' out/test/elf/x86_64/x86_64_warn-shared-textrel/log +35: + grep -q 'creating a DT_TEXTREL in an output file' out/test/elf/x86_64/x86_64_warn-shared-textrel/log +35: + on_exit +35: + echo OK +35: OK +35: + exit 0 +25: + grep -q '^42$' + 29/309 Test #35: x86_64-x86_64_warn-shared-textrel ....... Passed 0.22 sec +test 44 + Start 44: x86_64-ar-alignment + +44: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/ar-alignment.sh" +44: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +44: Test timeout computed to be: 1500 +25: + out/test/elf/x86_64/x86_64_reloc/exe +25: + cat +32: + out/test/elf/x86_64/x86_64_tls-module-base/exe1 +32: + grep -q '^20 3$' +32: + cc -B. -o out/test/elf/x86_64/x86_64_tls-module-base/exe2 out/test/elf/x86_64/x86_64_tls-module-base/a.o out/test/elf/x86_64/x86_64_tls-module-base/b.o out/test/elf/x86_64/x86_64_tls-module-base/c.o -Wl,-no-relax +34: + on_exit +34: + echo OK +34: OK +34: + exit 0 +44: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/ar-alignment.sh +25: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -no-pie +41: + 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 + 30/309 Test #34: x86_64-x86_64_warn-execstack ............ Passed 0.24 sec +test 45 + Start 45: x86_64-as-needed-weak + +45: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/as-needed-weak.sh" +45: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +45: Test timeout computed to be: 1500 +44: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +44: ++ export LC_ALL=C +44: ++ LC_ALL=C +39: + readelf --notes out/test/elf/x86_64/x86_64_z-shstk/exe +39: + grep -qw SHSTK out/test/elf/x86_64/x86_64_z-shstk/log +39: + cc -B. -o out/test/elf/x86_64/x86_64_z-shstk/exe out/test/elf/x86_64/x86_64_z-shstk/a.o -Wl,-z,shstk +40: + cc -B. -pie -o out/test/elf/x86_64/x86_64_z-text/exe out/test/elf/x86_64/x86_64_z-text/a.o out/test/elf/x86_64/x86_64_z-text/b.o +36: + grep -q 'relocation against symbol `main'\'' in read-only section' out/test/elf/x86_64/x86_64_warn-textrel/log +36: + grep -q 'creating a DT_TEXTREL in an output file' out/test/elf/x86_64/x86_64_warn-textrel/log +36: + on_exit +36: + echo OK +36: OK +36: + exit 0 +44: ++++ uname -m 44: +++ canonical_name x86_64 44: +++ case $1 in 44: +++ echo x86_64 +45: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/as-needed-weak.sh +45: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +45: ++ export LC_ALL=C +45: ++ LC_ALL=C + 31/309 Test #36: x86_64-x86_64_warn-textrel .............. Passed 0.23 sec +test 46 + Start 46: x86_64-as-needed + +46: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/as-needed.sh" +46: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +46: Test timeout computed to be: 1500 44: ++ HOST=x86_64 44: ++ '[' -n '' ']' 44: ++ MACHINE=x86_64 @@ -3611,13 +3680,12 @@ 44: ++ QEMU= 44: ++ trap 'on_error $LINENO' ERR 44: ++ trap on_exit EXIT -42: + cc -o out/test/elf/x86_64/absolute-symbols/b.o -c -fno-PIC -xc - -37: + cc -B. -o out/test/elf/x86_64/x86_64_z-ibt/exe out/test/elf/x86_64/x86_64_z-ibt/a.o -Wl,-z,ibt -43: + cc -c -o out/test/elf/x86_64/allow-multiple-definition/a.o -xc - -36: + grep -q 'relocation against symbol `main'\'' in read-only section' out/test/elf/x86_64/x86_64_warn-textrel/log -36: + grep -q 'creating a DT_TEXTREL in an output file' out/test/elf/x86_64/x86_64_warn-textrel/log +44: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/ar-alignment.sh .sh +44: ++ testname=ar-alignment +44: ++ echo -n 'Testing ar-alignment ... ' +44: Testing ar-alignment ... ++ t=out/test/elf/x86_64/ar-alignment +44: ++ mkdir -p out/test/elf/x86_64/ar-alignment 45: ++++ uname -m -43: + echo 'int main() { return 0; }' 45: +++ canonical_name x86_64 45: +++ case $1 in 45: +++ echo x86_64 @@ -3636,46 +3704,33 @@ 45: ++ trap 'on_error $LINENO' ERR 45: ++ trap on_exit EXIT 45: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/as-needed-weak.sh .sh -36: + on_exit -36: + echo OK -36: OK -36: + exit 0 - 30/309 Test #36: x86_64-x86_64_warn-textrel .............. Passed 0.28 sec -test 46 - Start 46: x86_64-as-needed - -46: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/as-needed.sh" -46: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -46: Test timeout computed to be: 1500 -44: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/ar-alignment.sh .sh -44: ++ testname=ar-alignment -44: ++ echo -n 'Testing ar-alignment ... ' -44: Testing ar-alignment ... ++ t=out/test/elf/x86_64/ar-alignment -44: ++ mkdir -p out/test/elf/x86_64/ar-alignment +43: + echo 'int main() { return 1; }' +43: + cc -c -o out/test/elf/x86_64/allow-multiple-definition/b.o -xc - +38: + cat +38: + cc -o out/test/elf/x86_64/x86_64_z-ibtplt/c.o -c -xc - 45: ++ testname=as-needed-weak 45: ++ echo -n 'Testing as-needed-weak ... ' 45: Testing as-needed-weak ... ++ t=out/test/elf/x86_64/as-needed-weak 45: ++ mkdir -p out/test/elf/x86_64/as-needed-weak -41: + 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 -44: + cat -44: + cc -o out/test/elf/x86_64/ar-alignment/a.o -c -xc - -45: + cat -45: + cc -fPIC -o out/test/elf/x86_64/as-needed-weak/a.o -c -xc - 46: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/as-needed.sh -25: + grep -q '^42$' 46: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 46: ++ export LC_ALL=C 46: ++ LC_ALL=C -35: + grep -q 'relocation against symbol `main'\'' in read-only section' out/test/elf/x86_64/x86_64_warn-shared-textrel/log -25: + out/test/elf/x86_64/x86_64_reloc/exe -40: + cc -B. -pie -o out/test/elf/x86_64/x86_64_z-text/exe out/test/elf/x86_64/x86_64_z-text/a.o out/test/elf/x86_64/x86_64_z-text/b.o -39: + readelf --notes out/test/elf/x86_64/x86_64_z-shstk/exe -25: + cat -35: + grep -q 'creating a DT_TEXTREL in an output file' out/test/elf/x86_64/x86_64_warn-shared-textrel/log +31: + out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/exe +31: + grep -q '3 5 3 5' 46: ++++ uname -m +31: + cc -B. -o out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/exe out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/a.o out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/b.o -Wl,-no-relax -mcmodel=large +44: + cat +44: + cc -o out/test/elf/x86_64/ar-alignment/a.o -c -xc - +45: + cc -fPIC -o out/test/elf/x86_64/as-needed-weak/a.o -c -xc - +29: + out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe1 +29: + grep -q '1 2 3' 46: +++ canonical_name x86_64 46: +++ case $1 in 46: +++ echo x86_64 +29: + cc -B. -shared -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/d.so out/test/elf/x86_64/x86_64_tls-gd-to-ie/a.o -Wl,-no-relax +42: + 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 +45: + cat 46: ++ HOST=x86_64 46: ++ '[' -n '' ']' 46: ++ MACHINE=x86_64 @@ -3690,37 +3745,53 @@ 46: ++ QEMU= 46: ++ trap 'on_error $LINENO' ERR 46: ++ trap on_exit EXIT -25: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -no-pie -43: + echo 'int main() { return 1; }' -39: + grep -qw SHSTK out/test/elf/x86_64/x86_64_z-shstk/log -43: + cc -c -o out/test/elf/x86_64/allow-multiple-definition/b.o -xc - -35: + on_exit -35: + echo OK -35: OK -35: + exit 0 -29: + out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe1 -29: + grep -q '1 2 3' - 31/309 Test #35: x86_64-x86_64_warn-shared-textrel ....... Passed 0.35 sec -test 47 - Start 47: x86_64-as-needed2 - -47: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/as-needed2.sh" -47: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -47: Test timeout computed to be: 1500 46: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/as-needed.sh .sh -39: + cc -B. -o out/test/elf/x86_64/x86_64_z-shstk/exe out/test/elf/x86_64/x86_64_z-shstk/a.o -Wl,-z,shstk -29: + cc -B. -shared -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/d.so out/test/elf/x86_64/x86_64_tls-gd-to-ie/a.o -Wl,-no-relax 46: ++ testname=as-needed 46: ++ echo -n 'Testing as-needed ... ' 46: Testing as-needed ... ++ t=out/test/elf/x86_64/as-needed 46: ++ mkdir -p out/test/elf/x86_64/as-needed 28: + cc -B. -o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/exe out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/a.o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/d.so out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/e.so -mcmodel=large -47: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/as-needed2.sh +43: + 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 +37: + readelf --notes out/test/elf/x86_64/x86_64_z-ibt/exe 46: + cat +38: + cc -B. -o out/test/elf/x86_64/x86_64_z-ibtplt/exe out/test/elf/x86_64/x86_64_z-ibtplt/c.o out/test/elf/x86_64/x86_64_z-ibtplt/b.so -Wl,-z,ibtplt +46: + cc -o out/test/elf/x86_64/as-needed/a.o -c -xc - +41: + grep -q 'recompile with -fPIC' out/test/elf/x86_64/abs-error/log +37: + grep -qw IBT +41: + on_exit +41: + echo OK +41: OK +41: + exit 0 + 32/309 Test #41: x86_64-abs-error ........................ Passed 0.22 sec +test 47 + Start 47: x86_64-as-needed2 + +47: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/as-needed2.sh" +47: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +47: Test timeout computed to be: 1500 +37: + on_exit +37: + echo OK +37: OK +37: + exit 0 +44: + head -c 1 /dev/zero +44: + cat +40: + grep -q 3 + 33/309 Test #37: x86_64-x86_64_z-ibt ..................... Passed 0.29 sec +test 48 + Start 48: x86_64-auxiliary + +48: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/auxiliary.sh" +48: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +48: Test timeout computed to be: 1500 +44: + cc -o out/test/elf/x86_64/ar-alignment/b.o -c -xc - +40: + out/test/elf/x86_64/x86_64_z-text/exe +40: + readelf --dynamic out/test/elf/x86_64/x86_64_z-text/exe +40: + grep -Fq '(TEXTREL)' +40: + readelf --dynamic out/test/elf/x86_64/x86_64_z-text/exe +47: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/as-needed2.sh 47: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 47: ++ export LC_ALL=C 47: ++ LC_ALL=C -44: + head -c 1 /dev/zero 47: ++++ uname -m 47: +++ canonical_name x86_64 47: +++ case $1 in @@ -3739,87 +3810,38 @@ 47: ++ QEMU= 47: ++ trap 'on_error $LINENO' ERR 47: ++ trap on_exit EXIT -46: + cc -o out/test/elf/x86_64/as-needed/a.o -c -xc - -45: + cc -o out/test/elf/x86_64/as-needed-weak/b.so -shared -fPIC -Wl,-soname,libfoo.so -xc - -47: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/as-needed2.sh .sh -44: + cat -44: + cc -o out/test/elf/x86_64/ar-alignment/b.o -c -xc - +25: + out/test/elf/x86_64/x86_64_reloc/exe +25: + grep -q '^56$' +25: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -pie 45: + cat -47: ++ testname=as-needed2 -47: ++ echo -n 'Testing as-needed2 ... ' -47: Testing as-needed2 ... ++ t=out/test/elf/x86_64/as-needed2 -47: ++ mkdir -p out/test/elf/x86_64/as-needed2 -37: + readelf --notes out/test/elf/x86_64/x86_64_z-ibt/exe -43: + 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 -37: + grep -qw IBT -47: + cat -47: + cc -shared -fPIC -o out/test/elf/x86_64/as-needed2/a.so -xc - -37: + on_exit -37: + echo OK -37: OK -37: + exit 0 -41: + grep -q 'recompile with -fPIC' out/test/elf/x86_64/abs-error/log - 32/309 Test #37: x86_64-x86_64_z-ibt ..................... Passed 0.35 sec -test 48 - Start 48: x86_64-auxiliary - -48: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/auxiliary.sh" -48: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -48: Test timeout computed to be: 1500 -32: + grep -q '^20 3$' -32: + out/test/elf/x86_64/x86_64_tls-module-base/exe1 -41: + on_exit -41: + echo OK -41: OK -41: + exit 0 - 33/309 Test #41: x86_64-abs-error ........................ Passed 0.24 sec +45: + cc -o out/test/elf/x86_64/as-needed-weak/b.so -shared -fPIC -Wl,-soname,libfoo.so -xc - +40: + grep -q '\(FLAGS\).*TEXTREL' +40: + on_exit +40: + echo OK +40: OK +40: + exit 0 + 34/309 Test #40: x86_64-x86_64_z-text .................... Passed 0.26 sec test 49 Start 49: x86_64-bno-symbolic 49: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/bno-symbolic.sh" 49: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 49: Test timeout computed to be: 1500 -38: + cat -38: + cc -o out/test/elf/x86_64/x86_64_z-ibtplt/c.o -c -xc - -32: + cc -B. -o out/test/elf/x86_64/x86_64_tls-module-base/exe2 out/test/elf/x86_64/x86_64_tls-module-base/a.o out/test/elf/x86_64/x86_64_tls-module-base/b.o out/test/elf/x86_64/x86_64_tls-module-base/c.o -Wl,-no-relax -49: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/bno-symbolic.sh -49: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -49: ++ export LC_ALL=C -49: ++ LC_ALL=C +47: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/as-needed2.sh .sh +47: ++ testname=as-needed2 +47: ++ echo -n 'Testing as-needed2 ... ' +47: Testing as-needed2 ... ++ t=out/test/elf/x86_64/as-needed2 +47: ++ mkdir -p out/test/elf/x86_64/as-needed2 48: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/auxiliary.sh +46: + cat +46: + cc -o out/test/elf/x86_64/as-needed/b.so -shared -fPIC -Wl,-soname,libfoo.so -xc - 48: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 48: ++ export LC_ALL=C 48: ++ LC_ALL=C -49: ++++ uname -m -49: +++ canonical_name x86_64 -49: +++ case $1 in -49: +++ echo x86_64 -49: ++ HOST=x86_64 -49: ++ '[' -n '' ']' -49: ++ MACHINE=x86_64 -49: ++ '[' -n '' ']' -49: ++ CC=cc -49: ++ CXX=c++ -49: ++ GCC=gcc -49: ++ GXX=g++ -49: ++ OBJDUMP=objdump -49: ++ OBJCOPY=objcopy -49: ++ STRIP=strip -49: ++ QEMU= -49: ++ trap 'on_error $LINENO' ERR -49: ++ trap on_exit EXIT -46: + cc -o out/test/elf/x86_64/as-needed/b.so -shared -fPIC -Wl,-soname,libfoo.so -xc - -49: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/bno-symbolic.sh .sh -46: + cat -49: ++ testname=bno-symbolic -49: ++ echo -n 'Testing bno-symbolic ... ' -49: Testing bno-symbolic ... ++ t=out/test/elf/x86_64/bno-symbolic -49: ++ mkdir -p out/test/elf/x86_64/bno-symbolic -44: + cc -o out/test/elf/x86_64/ar-alignment/c.o -c -xc - -44: + cat +47: + cat +29: + cc -B. -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe2 out/test/elf/x86_64/x86_64_tls-gd-to-ie/b.o out/test/elf/x86_64/x86_64_tls-gd-to-ie/d.so 48: ++++ uname -m -49: + '[' x86_64 = s390x ']' -49: + cat +32: + out/test/elf/x86_64/x86_64_tls-module-base/exe2 48: +++ canonical_name x86_64 48: +++ case $1 in 48: +++ echo x86_64 @@ -3837,43 +3859,57 @@ 48: ++ QEMU= 48: ++ trap 'on_error $LINENO' ERR 48: ++ trap on_exit EXIT +48: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/auxiliary.sh .sh 39: + readelf --notes out/test/elf/x86_64/x86_64_z-shstk/exe 39: + grep -qw SHSTK -49: + cc -c -fPIC -oout/test/elf/x86_64/bno-symbolic/a.o -xc - -42: + 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 +48: ++ testname=auxiliary +48: ++ echo -n 'Testing auxiliary ... ' +48: Testing auxiliary ... ++ t=out/test/elf/x86_64/auxiliary +48: ++ mkdir -p out/test/elf/x86_64/auxiliary +49: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/bno-symbolic.sh 39: + on_exit 39: + echo OK 39: OK 39: + exit 0 -48: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/auxiliary.sh .sh - 34/309 Test #39: x86_64-x86_64_z-shstk ................... Passed 0.36 sec + 35/309 Test #39: x86_64-x86_64_z-shstk ................... Passed 0.28 sec test 50 Start 50: x86_64-bsymbolic-functions 50: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/bsymbolic-functions.sh" 50: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 50: Test timeout computed to be: 1500 -48: ++ testname=auxiliary -48: ++ echo -n 'Testing auxiliary ... ' -48: Testing auxiliary ... ++ t=out/test/elf/x86_64/auxiliary -48: ++ mkdir -p out/test/elf/x86_64/auxiliary -31: + grep -q '3 5 3 5' -31: + out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/exe +49: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +49: ++ export LC_ALL=C +49: ++ LC_ALL=C +49: ++++ uname -m +49: +++ canonical_name x86_64 +49: +++ case $1 in +49: +++ echo x86_64 +49: ++ HOST=x86_64 +49: ++ '[' -n '' ']' +49: ++ MACHINE=x86_64 +49: ++ '[' -n '' ']' +49: ++ CC=cc +49: ++ CXX=c++ +49: ++ GCC=gcc +49: ++ GXX=g++ +49: ++ OBJDUMP=objdump +49: ++ OBJCOPY=objcopy +49: ++ STRIP=strip +49: ++ QEMU= +49: ++ trap 'on_error $LINENO' ERR +49: ++ trap on_exit EXIT +49: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/bno-symbolic.sh .sh +49: ++ testname=bno-symbolic +49: ++ echo -n 'Testing bno-symbolic ... ' +49: Testing bno-symbolic ... ++ t=out/test/elf/x86_64/bno-symbolic +49: ++ mkdir -p out/test/elf/x86_64/bno-symbolic +32: + grep -q '^20 3$' +32: + cc -B. -o out/test/elf/x86_64/x86_64_tls-module-base/d.so out/test/elf/x86_64/x86_64_tls-module-base/a.o -shared +47: + cc -shared -fPIC -o out/test/elf/x86_64/as-needed2/a.so -xc - +48: + cat 48: + cc -o out/test/elf/x86_64/auxiliary/a.o -c -x assembler - 50: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/bsymbolic-functions.sh -48: + cat -43: + 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 -31: + on_exit -31: + echo OK -31: OK -31: + exit 0 - 35/309 Test #31: x86_64-x86_64_tls-ld-mcmodel-large ...... Passed 0.58 sec -test 51 - Start 51: x86_64-bsymbolic - -51: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/bsymbolic.sh" -51: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -51: Test timeout computed to be: 1500 50: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 50: ++ export LC_ALL=C 50: ++ LC_ALL=C @@ -3881,11 +3917,6 @@ 50: +++ canonical_name x86_64 50: +++ case $1 in 50: +++ echo x86_64 -25: + grep -q '^56$' -25: + out/test/elf/x86_64/x86_64_reloc/exe -28: + out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/exe -48: + ./mold -o out/test/elf/x86_64/auxiliary/b.so out/test/elf/x86_64/auxiliary/a.o -auxiliary foo -f bar -shared -25: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -pie 50: ++ HOST=x86_64 50: ++ '[' -n '' ']' 50: ++ MACHINE=x86_64 @@ -3900,49 +3931,68 @@ 50: ++ QEMU= 50: ++ trap 'on_error $LINENO' ERR 50: ++ trap on_exit EXIT -40: + out/test/elf/x86_64/x86_64_z-text/exe -40: + grep -q 3 -29: + cc -B. -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe2 out/test/elf/x86_64/x86_64_tls-gd-to-ie/b.o out/test/elf/x86_64/x86_64_tls-gd-to-ie/d.so -28: + grep -q '1 2 3 4 5 6' -28: + cc -B. -o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/exe out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/a.o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/d.so out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/e.so -Wl,-no-relax -mcmodel=large -45: + cc -o out/test/elf/x86_64/as-needed-weak/c.so -shared -fPIC -Wl,-soname,libbar.so -xc - -38: + cc -B. -o out/test/elf/x86_64/x86_64_z-ibtplt/exe out/test/elf/x86_64/x86_64_z-ibtplt/c.o out/test/elf/x86_64/x86_64_z-ibtplt/b.so -Wl,-z,ibtplt 50: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/bsymbolic-functions.sh .sh -40: + grep -Fq '(TEXTREL)' -40: + readelf --dynamic out/test/elf/x86_64/x86_64_z-text/exe -51: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/bsymbolic.sh -51: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -51: ++ export LC_ALL=C -51: ++ LC_ALL=C -49: + 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 -45: + cat +28: + grep -q '1 2 3 4 5 6' 50: ++ testname=bsymbolic-functions 50: ++ echo -n 'Testing bsymbolic-functions ... ' 50: Testing bsymbolic-functions ... ++ t=out/test/elf/x86_64/bsymbolic-functions 50: ++ mkdir -p out/test/elf/x86_64/bsymbolic-functions -40: + grep -q '\(FLAGS\).*TEXTREL' -40: + readelf --dynamic out/test/elf/x86_64/x86_64_z-text/exe +42: + out/test/elf/x86_64/absolute-symbols/exe +44: + cc -o out/test/elf/x86_64/ar-alignment/c.o -c -xc - +48: + ./mold -o out/test/elf/x86_64/auxiliary/b.so out/test/elf/x86_64/auxiliary/a.o -auxiliary foo -f bar -shared +49: + '[' x86_64 = s390x ']' +44: + cat +49: + cc -c -fPIC -oout/test/elf/x86_64/bno-symbolic/a.o -xc - +28: + out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/exe +49: + cat +42: + grep -q '^ip=0x80000.$' +28: + cc -B. -o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/exe out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/a.o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/d.so out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/e.so -Wl,-no-relax -mcmodel=large 50: + cat -40: + on_exit -40: + echo OK -40: OK -40: + exit 0 - 36/309 Test #40: x86_64-x86_64_z-text .................... Passed 0.38 sec +42: + on_exit +42: + echo OK +42: OK +42: + exit 0 + 36/309 Test #42: x86_64-absolute-symbols ................. Passed 0.30 sec +test 51 + Start 51: x86_64-bsymbolic + +51: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/bsymbolic.sh" +51: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +51: Test timeout computed to be: 1500 +43: + 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 +50: + cc -c -o out/test/elf/x86_64/bsymbolic-functions/a.o -fPIC -xc - +31: + out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/exe +31: + grep -q '3 5 3 5' +51: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/bsymbolic.sh +51: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +51: ++ export LC_ALL=C +51: ++ LC_ALL=C +31: + on_exit +31: + echo OK +31: OK +31: + exit 0 +51: ++++ uname -m + 37/309 Test #31: x86_64-x86_64_tls-ld-mcmodel-large ...... Passed 0.47 sec test 52 Start 52: x86_64-bug178 52: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/bug178.sh" 52: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 52: Test timeout computed to be: 1500 -51: ++++ uname -m -46: + cc -o out/test/elf/x86_64/as-needed/c.so -shared -fPIC -Wl,-soname,libbar.so -xc - -46: + cat -44: + rm -f out/test/elf/x86_64/ar-alignment/d.a -50: + cc -c -o out/test/elf/x86_64/bsymbolic-functions/a.o -fPIC -xc - -47: + cc -shared -fPIC -o out/test/elf/x86_64/as-needed2/b.so -xc - +48: + readelf --dynamic out/test/elf/x86_64/auxiliary/b.so +48: + grep -Fq 'Auxiliary library: [foo]' out/test/elf/x86_64/auxiliary/log +45: + cat +45: + cc -o out/test/elf/x86_64/as-needed-weak/c.so -shared -fPIC -Wl,-soname,libbar.so -xc - +52: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/bug178.sh +48: + grep -Fq 'Auxiliary library: [bar]' out/test/elf/x86_64/auxiliary/log 51: +++ canonical_name x86_64 51: +++ case $1 in 51: +++ echo x86_64 +48: + on_exit +48: + echo OK +48: OK +48: + exit 0 +25: + out/test/elf/x86_64/x86_64_reloc/exe 51: ++ HOST=x86_64 51: ++ '[' -n '' ']' 51: ++ MACHINE=x86_64 @@ -3957,42 +4007,47 @@ 51: ++ QEMU= 51: ++ trap 'on_error $LINENO' ERR 51: ++ trap on_exit EXIT -48: + readelf --dynamic out/test/elf/x86_64/auxiliary/b.so -47: + cat -52: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/bug178.sh -44: + 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 52: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 52: ++ export LC_ALL=C 52: ++ LC_ALL=C -48: + grep -Fq 'Auxiliary library: [foo]' out/test/elf/x86_64/auxiliary/log -51: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/bsymbolic.sh .sh -42: + grep -q '^ip=0x80000.$' -42: + out/test/elf/x86_64/absolute-symbols/exe -51: ++ testname=bsymbolic -51: ++ echo -n 'Testing bsymbolic ... ' -51: Testing bsymbolic ... ++ t=out/test/elf/x86_64/bsymbolic -51: ++ mkdir -p out/test/elf/x86_64/bsymbolic -42: + on_exit -42: + echo OK -42: OK -42: + exit 0 -52: ++++ uname -m -44: + 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 - 37/309 Test #42: x86_64-absolute-symbols ................. Passed 0.37 sec + 38/309 Test #48: x86_64-auxiliary ........................ Passed 0.11 sec test 53 Start 53: x86_64-build-id 53: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/build-id.sh" 53: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 53: Test timeout computed to be: 1500 -48: + grep -Fq 'Auxiliary library: [bar]' out/test/elf/x86_64/auxiliary/log -48: + on_exit -48: + echo OK -48: OK -48: + exit 0 +51: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/bsymbolic.sh .sh +51: ++ testname=bsymbolic +51: ++ echo -n 'Testing bsymbolic ... ' +51: Testing bsymbolic ... ++ t=out/test/elf/x86_64/bsymbolic +51: ++ mkdir -p out/test/elf/x86_64/bsymbolic +25: + grep -q '^56$' +25: + cat +44: + rm -f out/test/elf/x86_64/ar-alignment/d.a +44: + 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 +38: + out/test/elf/x86_64/x86_64_z-ibtplt/exe +51: + cat +46: + cat +51: + cc -c -fPIC -oout/test/elf/x86_64/bsymbolic/a.o -xc - +38: + grep -q 'Hello world' +53: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/build-id.sh +25: + cc -c -o out/test/elf/x86_64/x86_64_reloc/d.o out/test/elf/x86_64/x86_64_reloc/d.s +52: ++++ uname -m +46: + cc -o out/test/elf/x86_64/as-needed/c.so -shared -fPIC -Wl,-soname,libbar.so -xc - 52: +++ canonical_name x86_64 52: +++ case $1 in 52: +++ echo x86_64 +53: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +53: ++ export LC_ALL=C +53: ++ LC_ALL=C +44: + 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 +49: + 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 +38: + on_exit +38: + echo OK +38: OK +38: + exit 0 +32: + cc -B. -o out/test/elf/x86_64/x86_64_tls-module-base/exe3 out/test/elf/x86_64/x86_64_tls-module-base/b.o out/test/elf/x86_64/x86_64_tls-module-base/c.o out/test/elf/x86_64/x86_64_tls-module-base/d.so 52: ++ HOST=x86_64 52: ++ '[' -n '' ']' 52: ++ MACHINE=x86_64 @@ -4007,46 +4062,51 @@ 52: ++ QEMU= 52: ++ trap 'on_error $LINENO' ERR 52: ++ trap on_exit EXIT -52: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/bug178.sh .sh -52: ++ testname=bug178 -52: ++ echo -n 'Testing bug178 ... ' -52: Testing bug178 ... ++ t=out/test/elf/x86_64/bug178 -52: ++ mkdir -p out/test/elf/x86_64/bug178 -32: + out/test/elf/x86_64/x86_64_tls-module-base/exe2 -32: + grep -q '^20 3$' -32: + cc -B. -o out/test/elf/x86_64/x86_64_tls-module-base/d.so out/test/elf/x86_64/x86_64_tls-module-base/a.o -shared -51: + cat -51: + cc -c -fPIC -oout/test/elf/x86_64/bsymbolic/a.o -xc - - 38/309 Test #48: x86_64-auxiliary ........................ Passed 0.18 sec + 39/309 Test #38: x86_64-x86_64_z-ibtplt .................. Passed 0.39 sec test 54 Start 54: x86_64-canonical-plt 54: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/canonical-plt.sh" 54: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 54: Test timeout computed to be: 1500 -52: + cc -x assembler -c -o out/test/elf/x86_64/bug178/a.o - -52: + cat -53: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/build-id.sh -53: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -53: ++ export LC_ALL=C -53: ++ LC_ALL=C -54: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/canonical-plt.sh -49: + cc -c -o out/test/elf/x86_64/bno-symbolic/c.o -xc - -fno-PIE +52: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/bug178.sh .sh +52: ++ testname=bug178 +52: ++ echo -n 'Testing bug178 ... ' +52: Testing bug178 ... ++ t=out/test/elf/x86_64/bug178 +52: ++ mkdir -p out/test/elf/x86_64/bug178 53: ++++ uname -m +54: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/canonical-plt.sh 54: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 54: ++ export LC_ALL=C 54: ++ LC_ALL=C -52: + rm -f out/test/elf/x86_64/bug178/a.a -49: + cat 54: ++++ uname -m +52: + cat +52: + cc -x assembler -c -o out/test/elf/x86_64/bug178/a.o - 53: +++ canonical_name x86_64 53: +++ case $1 in 53: +++ echo x86_64 -52: + ar rcs out/test/elf/x86_64/bug178/a.a out/test/elf/x86_64/bug178/a.o +53: ++ HOST=x86_64 +53: ++ '[' -n '' ']' +53: ++ MACHINE=x86_64 +53: ++ '[' -n '' ']' +53: ++ CC=cc +53: ++ CXX=c++ +53: ++ GCC=gcc +53: ++ GXX=g++ +53: ++ OBJDUMP=objdump +53: ++ OBJCOPY=objcopy +53: ++ STRIP=strip +53: ++ QEMU= +53: ++ trap 'on_error $LINENO' ERR +53: ++ trap on_exit EXIT +25: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.o -no-pie +47: + cc -shared -fPIC -o out/test/elf/x86_64/as-needed2/b.so -xc - 54: +++ canonical_name x86_64 54: +++ case $1 in 54: +++ echo x86_64 +47: + cat 54: ++ HOST=x86_64 +50: + 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 54: ++ '[' -n '' ']' 54: ++ MACHINE=x86_64 54: ++ '[' -n '' ']' @@ -4060,98 +4120,69 @@ 54: ++ QEMU= 54: ++ trap 'on_error $LINENO' ERR 54: ++ trap on_exit EXIT -53: ++ HOST=x86_64 -53: ++ '[' -n '' ']' -53: ++ MACHINE=x86_64 -53: ++ '[' -n '' ']' -53: ++ CC=cc -53: ++ CXX=c++ -53: ++ GCC=gcc -53: ++ GXX=g++ -53: ++ OBJDUMP=objdump -53: ++ OBJCOPY=objcopy -53: ++ STRIP=strip -53: ++ QEMU= -53: ++ trap 'on_error $LINENO' ERR -53: ++ trap on_exit EXIT -29: + grep -q '1 2 3' -29: + out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe2 -29: + cc -B. -shared -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/e.so out/test/elf/x86_64/x86_64_tls-gd-to-ie/a.o -Wl,-z,nodlopen -54: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/canonical-plt.sh .sh 53: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/build-id.sh .sh 53: ++ testname=build-id 53: ++ echo -n 'Testing build-id ... ' 53: Testing build-id ... ++ t=out/test/elf/x86_64/build-id 53: ++ mkdir -p out/test/elf/x86_64/build-id -50: + 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 -45: + 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 +52: + rm -f out/test/elf/x86_64/bug178/a.a +52: + ar rcs out/test/elf/x86_64/bug178/a.a out/test/elf/x86_64/bug178/a.o +29: + out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe2 +29: + grep -q '1 2 3' +53: + echo 'int main() { return 0; }' +53: + cc -B. -o out/test/elf/x86_64/build-id/exe out/test/elf/x86_64/build-id/a.c -Wl,-build-id +54: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/canonical-plt.sh .sh 54: ++ testname=canonical-plt 54: ++ echo -n 'Testing canonical-plt ... ' 54: Testing canonical-plt ... ++ t=out/test/elf/x86_64/canonical-plt 54: ++ mkdir -p out/test/elf/x86_64/canonical-plt +29: + cc -B. -shared -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/e.so out/test/elf/x86_64/x86_64_tls-gd-to-ie/a.o -Wl,-z,nodlopen 52: + ./mold -o out/test/elf/x86_64/bug178/exe out/test/elf/x86_64/bug178/a.a 54: + '[' x86_64 = s390x ']' -54: + cat -53: + echo 'int main() { return 0; }' -53: + cc -B. -o out/test/elf/x86_64/build-id/exe out/test/elf/x86_64/build-id/a.c -Wl,-build-id 54: + cc -o out/test/elf/x86_64/canonical-plt/a.so -fPIC -shared -xc - -43: + 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 -25: + out/test/elf/x86_64/x86_64_reloc/exe -38: + out/test/elf/x86_64/x86_64_z-ibtplt/exe -46: + 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 -38: + grep -q 'Hello world' -38: + on_exit -38: + echo OK -38: OK -38: + exit 0 -25: + grep -q '^56$' - 39/309 Test #38: x86_64-x86_64_z-ibtplt .................. Passed 0.56 sec +54: + cat +51: + cc -B. -shared -fPIC -o out/test/elf/x86_64/bsymbolic/b.so out/test/elf/x86_64/bsymbolic/a.o -Wl,-Bsymbolic +28: + out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/exe +45: + 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 +28: + grep -q '1 2 3 4 5 6' +28: + on_exit +28: + echo OK +28: OK +28: + exit 0 + 40/309 Test #28: x86_64-x86_64_tls-gd-mcmodel-large ...... Passed 0.68 sec test 55 Start 55: x86_64-cmdline 55: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/cmdline.sh" 55: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 55: Test timeout computed to be: 1500 -25: + cat -49: + 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 -52: + on_exit -52: + echo OK -52: OK -52: + exit 0 -47: + cc -fPIC -c -o out/test/elf/x86_64/as-needed2/c.o -xc - -47: + cat 55: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/cmdline.sh +43: + 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 55: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 55: ++ export LC_ALL=C 55: ++ LC_ALL=C -25: + cc -c -o out/test/elf/x86_64/x86_64_reloc/d.o out/test/elf/x86_64/x86_64_reloc/d.s -51: + cc -B. -shared -fPIC -o out/test/elf/x86_64/bsymbolic/b.so out/test/elf/x86_64/bsymbolic/a.o -Wl,-Bsymbolic - 40/309 Test #52: x86_64-bug178 ........................... Passed 0.14 sec +46: + 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 +32: + out/test/elf/x86_64/x86_64_tls-module-base/exe3 +32: + grep -q '^20 3$' +52: + on_exit +52: + echo OK +52: OK +52: + exit 0 +55: ++++ uname -m +55: +++ canonical_name x86_64 +55: +++ case $1 in +55: +++ echo x86_64 +32: + on_exit +32: + echo OK +32: OK +32: + exit 0 + 41/309 Test #52: x86_64-bug178 ........................... Passed 0.12 sec test 56 Start 56: x86_64-color-diagnostics 56: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/color-diagnostics.sh" 56: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 56: Test timeout computed to be: 1500 -32: + cc -B. -o out/test/elf/x86_64/x86_64_tls-module-base/exe3 out/test/elf/x86_64/x86_64_tls-module-base/b.o out/test/elf/x86_64/x86_64_tls-module-base/c.o out/test/elf/x86_64/x86_64_tls-module-base/d.so -28: + out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/exe -28: + grep -q '1 2 3 4 5 6' -28: + on_exit -28: + echo OK -28: OK -28: + exit 0 -25: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.o -no-pie -55: ++++ uname -m - 41/309 Test #28: x86_64-x86_64_tls-gd-mcmodel-large ...... Passed 0.85 sec -test 57 - Start 57: x86_64-comment - -57: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/comment.sh" -57: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -57: Test timeout computed to be: 1500 -55: +++ canonical_name x86_64 -55: +++ case $1 in -55: +++ echo x86_64 55: ++ HOST=x86_64 55: ++ '[' -n '' ']' 55: ++ MACHINE=x86_64 @@ -4167,58 +4198,35 @@ 55: ++ trap 'on_error $LINENO' ERR 55: ++ trap on_exit EXIT 55: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/cmdline.sh .sh -56: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/color-diagnostics.sh -56: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -56: ++ export LC_ALL=C -56: ++ LC_ALL=C 55: ++ testname=cmdline 55: ++ echo -n 'Testing cmdline ... ' 55: Testing cmdline ... ++ t=out/test/elf/x86_64/cmdline 55: ++ mkdir -p out/test/elf/x86_64/cmdline + 42/309 Test #32: x86_64-x86_64_tls-module-base ........... Passed 0.59 sec +test 57 + Start 57: x86_64-comment + +57: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/comment.sh" +57: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +57: Test timeout computed to be: 1500 +49: + cat +49: + cc -c -o out/test/elf/x86_64/bno-symbolic/c.o -xc - -fno-PIE +25: + out/test/elf/x86_64/x86_64_reloc/exe +25: + grep -q '^56$' +25: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -pie +55: + grep -q 'unknown command line option: -zfoo' +47: + cc -fPIC -c -o out/test/elf/x86_64/as-needed2/c.o -xc - +47: + cat 57: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/comment.sh +54: + cat +54: + cc -o out/test/elf/x86_64/canonical-plt/b.o -c -xc - -fPIC 57: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 57: ++ export LC_ALL=C 57: ++ LC_ALL=C -44: + on_exit -44: + echo OK -44: OK -44: + exit 0 -56: ++++ uname -m -50: + cat -50: + cc -c -o out/test/elf/x86_64/bsymbolic-functions/c.o -xc - -fno-PIE - 42/309 Test #44: x86_64-ar-alignment ..................... Passed 0.47 sec -test 58 - Start 58: x86_64-common-archive - -58: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/common-archive.sh" -58: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -58: Test timeout computed to be: 1500 -55: + grep -q 'unknown command line option: -zfoo' 57: ++++ uname -m -56: +++ canonical_name x86_64 -56: +++ case $1 in -56: +++ echo x86_64 -56: ++ HOST=x86_64 -56: ++ '[' -n '' ']' -56: ++ MACHINE=x86_64 -56: ++ '[' -n '' ']' -56: ++ CC=cc -56: ++ CXX=c++ -56: ++ GCC=gcc -56: ++ GXX=g++ -56: ++ OBJDUMP=objdump -56: ++ OBJCOPY=objcopy -56: ++ STRIP=strip -56: ++ QEMU= -56: ++ trap 'on_error $LINENO' ERR -56: ++ trap on_exit EXIT -47: + cc -shared -o out/test/elf/x86_64/as-needed2/c.so out/test/elf/x86_64/as-needed2/c.o out/test/elf/x86_64/as-needed2/a.so 57: +++ canonical_name x86_64 57: +++ case $1 in 57: +++ echo x86_64 -45: + readelf --dynamic out/test/elf/x86_64/as-needed-weak/exe -56: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/color-diagnostics.sh .sh -29: + cc -B. -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe3 out/test/elf/x86_64/x86_64_tls-gd-to-ie/b.o out/test/elf/x86_64/x86_64_tls-gd-to-ie/e.so 57: ++ HOST=x86_64 57: ++ '[' -n '' ']' 57: ++ MACHINE=x86_64 @@ -4233,39 +4241,79 @@ 57: ++ QEMU= 57: ++ trap 'on_error $LINENO' ERR 57: ++ trap on_exit EXIT -56: ++ testname=color-diagnostics -56: ++ echo -n 'Testing color-diagnostics ... ' -56: Testing color-diagnostics ... ++ t=out/test/elf/x86_64/color-diagnostics -56: ++ mkdir -p out/test/elf/x86_64/color-diagnostics -58: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common-archive.sh -45: + grep -Fq 'Shared library: [libfoo.so]' out/test/elf/x86_64/as-needed-weak/readelf +50: + cat +50: + cc -c -o out/test/elf/x86_64/bsymbolic-functions/c.o -xc - -fno-PIE 57: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/comment.sh .sh 57: ++ testname=comment 57: ++ echo -n 'Testing comment ... ' 57: Testing comment ... ++ t=out/test/elf/x86_64/comment 57: ++ mkdir -p out/test/elf/x86_64/comment 55: + grep -q 'unknown command line option: -z foo' -45: + grep -Fq 'Shared library: [libbar.so]' out/test/elf/x86_64/as-needed-weak/readelf -56: + cc -o out/test/elf/x86_64/color-diagnostics/a.o -c -xc - +56: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/color-diagnostics.sh +57: + cat +57: + cc -c -o out/test/elf/x86_64/comment/a.o -xc - +56: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +56: ++ export LC_ALL=C +56: ++ LC_ALL=C +56: ++++ uname -m +56: +++ canonical_name x86_64 +56: +++ case $1 in +56: +++ echo x86_64 +44: + on_exit +44: + echo OK +44: OK +44: + exit 0 +56: ++ HOST=x86_64 +56: ++ '[' -n '' ']' +56: ++ MACHINE=x86_64 +56: ++ '[' -n '' ']' +56: ++ CC=cc +56: ++ CXX=c++ +56: ++ GCC=gcc +56: ++ GXX=g++ +56: ++ OBJDUMP=objdump +56: ++ OBJCOPY=objcopy +56: ++ STRIP=strip +56: ++ QEMU= +56: ++ trap 'on_error $LINENO' ERR +56: ++ trap on_exit EXIT +55: + grep -q 'unknown command line option: -abcdefg' + 43/309 Test #44: x86_64-ar-alignment ..................... Passed 0.37 sec +test 58 + Start 58: x86_64-common-archive + +58: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/common-archive.sh" +58: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +58: Test timeout computed to be: 1500 +56: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/color-diagnostics.sh .sh +56: ++ testname=color-diagnostics +56: ++ echo -n 'Testing color-diagnostics ... ' +56: Testing color-diagnostics ... ++ t=out/test/elf/x86_64/color-diagnostics +56: ++ mkdir -p out/test/elf/x86_64/color-diagnostics 56: + cat +56: + cc -o out/test/elf/x86_64/color-diagnostics/a.o -c -xc - +47: + cc -shared -o out/test/elf/x86_64/as-needed2/c.so out/test/elf/x86_64/as-needed2/c.o out/test/elf/x86_64/as-needed2/a.so +58: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common-archive.sh 58: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 58: ++ export LC_ALL=C 58: ++ LC_ALL=C -45: + 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 -43: + on_exit -43: + echo OK -43: OK -43: + exit 0 -57: + cc -c -o out/test/elf/x86_64/comment/a.o -xc - -57: + cat - 43/309 Test #43: x86_64-allow-multiple-definition ........ Passed 0.53 sec +55: + grep -q 'unknown command line option: --abcdefg' +49: + 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 +54: + cat +54: + cc -o out/test/elf/x86_64/canonical-plt/c.o -c -xc - -fno-PIC +29: + cc -B. -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe3 out/test/elf/x86_64/x86_64_tls-gd-to-ie/b.o out/test/elf/x86_64/x86_64_tls-gd-to-ie/e.so +58: ++++ uname -m +55: + on_exit +55: + echo OK +55: OK +55: + exit 0 + 44/309 Test #55: x86_64-cmdline .......................... Passed 0.11 sec test 59 Start 59: x86_64-common-ref 59: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/common-ref.sh" 59: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 59: Test timeout computed to be: 1500 -58: ++++ uname -m 58: +++ canonical_name x86_64 58: +++ case $1 in 58: +++ echo x86_64 @@ -4283,49 +4331,47 @@ 58: ++ QEMU= 58: ++ trap 'on_error $LINENO' ERR 58: ++ trap on_exit EXIT -46: + readelf --dynamic out/test/elf/x86_64/as-needed/exe -54: + cat -54: + cc -o out/test/elf/x86_64/canonical-plt/b.o -c -xc - -fPIC -55: + grep -q 'unknown command line option: -abcdefg' -46: + grep -Fq 'Shared library: [libfoo.so]' out/test/elf/x86_64/as-needed/readelf -49: + grep -q '3 3 1' 58: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common-archive.sh .sh -59: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common-ref.sh 58: ++ testname=common-archive 58: ++ echo -n 'Testing common-archive ... ' 58: Testing common-archive ... ++ t=out/test/elf/x86_64/common-archive 58: ++ mkdir -p out/test/elf/x86_64/common-archive -59: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -59: ++ export LC_ALL=C -59: ++ LC_ALL=C -49: + out/test/elf/x86_64/bno-symbolic/exe -46: + grep -Fq 'Shared library: [libbar.so]' out/test/elf/x86_64/as-needed/readelf -32: + grep -q '^20 3$' -25: + grep -q '^56$' -49: + on_exit -49: + echo OK -49: OK -49: + exit 0 -32: + out/test/elf/x86_64/x86_64_tls-module-base/exe3 -46: + 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 - 44/309 Test #49: x86_64-bno-symbolic ..................... Passed 0.38 sec +51: + cat +51: + cc -c -o out/test/elf/x86_64/bsymbolic/c.o -xc - -fno-PIE +50: + 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 +57: + cc -B. -o out/test/elf/x86_64/comment/exe out/test/elf/x86_64/comment/a.o +47: + cat +47: + cc -c -o out/test/elf/x86_64/as-needed2/d.o -xc - +43: + on_exit +43: + echo OK +43: OK +43: + exit 0 + 45/309 Test #43: x86_64-allow-multiple-definition ........ Passed 0.47 sec test 60 Start 60: x86_64-common 60: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.sh" 60: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 60: Test timeout computed to be: 1500 -25: + out/test/elf/x86_64/x86_64_reloc/exe -25: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -pie -58: + cat -58: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-archive/a.o - -55: + grep -q 'unknown command line option: --abcdefg' -47: + cc -c -o out/test/elf/x86_64/as-needed2/d.o -xc - -47: + cat +59: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common-ref.sh +59: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +59: ++ export LC_ALL=C +59: ++ LC_ALL=C +53: + readelf -n out/test/elf/x86_64/build-id/exe +53: + grep -qv 'GNU.*0x00000010.*NT_GNU_BUILD_ID' +56: + ./mold -o out/test/elf/x86_64/color-diagnostics/exe out/test/elf/x86_64/color-diagnostics/a.o --color-diagnostics +45: + readelf --dynamic out/test/elf/x86_64/as-needed-weak/exe +53: + cc -B. -o out/test/elf/x86_64/build-id/exe out/test/elf/x86_64/build-id/a.c -Wl,-build-id=uuid +60: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.sh +60: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +60: ++ export LC_ALL=C +60: ++ LC_ALL=C 59: ++++ uname -m 59: +++ canonical_name x86_64 59: +++ case $1 in 59: +++ echo x86_64 +58: + cat +45: + grep -Fq 'Shared library: [libfoo.so]' out/test/elf/x86_64/as-needed-weak/readelf 59: ++ HOST=x86_64 59: ++ '[' -n '' ']' 59: ++ MACHINE=x86_64 @@ -4340,54 +4386,81 @@ 59: ++ QEMU= 59: ++ trap 'on_error $LINENO' ERR 59: ++ trap on_exit EXIT -32: + on_exit -32: + echo OK -32: OK -32: + exit 0 - 45/309 Test #32: x86_64-x86_64_tls-module-base ........... Passed 0.85 sec -test 61 - Start 61: x86_64-compress-debug-sections-zstd - -61: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/compress-debug-sections-zstd.sh" -61: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -61: Test timeout computed to be: 1500 -56: + ./mold -o out/test/elf/x86_64/color-diagnostics/exe out/test/elf/x86_64/color-diagnostics/a.o --color-diagnostics +45: + grep -Fq 'Shared library: [libbar.so]' out/test/elf/x86_64/as-needed-weak/readelf +60: ++++ uname -m 59: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common-ref.sh .sh 59: ++ testname=common-ref 59: ++ echo -n 'Testing common-ref ... ' 59: Testing common-ref ... ++ t=out/test/elf/x86_64/common-ref 59: ++ mkdir -p out/test/elf/x86_64/common-ref -57: + cc -B. -o out/test/elf/x86_64/comment/exe out/test/elf/x86_64/comment/a.o -60: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.sh -60: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -60: ++ export LC_ALL=C -60: ++ LC_ALL=C -61: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/compress-debug-sections-zstd.sh +58: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-archive/a.o - +60: +++ canonical_name x86_64 +60: +++ case $1 in +60: +++ echo x86_64 +60: ++ HOST=x86_64 +60: ++ '[' -n '' ']' +60: ++ MACHINE=x86_64 +60: ++ '[' -n '' ']' +60: ++ CC=cc +60: ++ CXX=c++ +60: ++ GCC=gcc +60: ++ GXX=g++ +60: ++ OBJDUMP=objdump +60: ++ OBJCOPY=objcopy +60: ++ STRIP=strip +60: ++ QEMU= +60: ++ trap 'on_error $LINENO' ERR +60: ++ trap on_exit EXIT +60: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.sh .sh 59: + cat -55: + on_exit -55: + echo OK -55: OK -55: + exit 0 - 46/309 Test #55: x86_64-cmdline .......................... Passed 0.17 sec -test 62 - Start 62: x86_64-compress-debug-sections - -62: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/compress-debug-sections.sh" -62: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -62: Test timeout computed to be: 1500 -51: + cc -c -o out/test/elf/x86_64/bsymbolic/c.o -xc - -fno-PIE -51: + cat +60: ++ testname=common +60: ++ echo -n 'Testing common ... ' +60: Testing common ... ++ t=out/test/elf/x86_64/common +60: ++ mkdir -p out/test/elf/x86_64/common +25: + grep -q '^56$' +56: + grep -q $'\E' out/test/elf/x86_64/color-diagnostics/log +54: + 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 +25: + out/test/elf/x86_64/x86_64_reloc/exe +25: + cat +25: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -no-pie +45: + 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 +56: + ./mold -o out/test/elf/x86_64/color-diagnostics/exe out/test/elf/x86_64/color-diagnostics/a.o --color-diagnostics=always +60: + cc -fcommon -xc -c -o out/test/elf/x86_64/common/a.o - +46: + readelf --dynamic out/test/elf/x86_64/as-needed/exe +51: + 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 +46: + grep -Fq 'Shared library: [libfoo.so]' out/test/elf/x86_64/as-needed/readelf +60: + cat +46: + grep -Fq 'Shared library: [libbar.so]' out/test/elf/x86_64/as-needed/readelf 59: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-ref/a.o - -53: + grep -qv 'GNU.*0x00000010.*NT_GNU_BUILD_ID' -53: + readelf -n out/test/elf/x86_64/build-id/exe +46: + 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 +49: + out/test/elf/x86_64/bno-symbolic/exe +47: + 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 +56: + grep -q $'\E' out/test/elf/x86_64/color-diagnostics/log +56: + ./mold -o out/test/elf/x86_64/color-diagnostics/exe out/test/elf/x86_64/color-diagnostics/a.o --color-diagnostics=never +49: + grep -q '3 3 1' +60: + cat +60: + cc -fcommon -xc -c -o out/test/elf/x86_64/common/b.o - +58: + cat +49: + on_exit +49: + echo OK +49: OK +49: + exit 0 +58: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-archive/b.o - + 46/309 Test #49: x86_64-bno-symbolic ..................... Passed 0.37 sec +test 61 + Start 61: x86_64-compress-debug-sections-zstd + +61: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/compress-debug-sections-zstd.sh" +61: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +61: Test timeout computed to be: 1500 +29: + grep -q '1 2 3' +29: + out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe3 +61: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/compress-debug-sections-zstd.sh 61: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 61: ++ export LC_ALL=C 61: ++ LC_ALL=C 61: ++++ uname -m -50: + 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 -54: + cc -o out/test/elf/x86_64/canonical-plt/c.o -c -xc - -fno-PIC -54: + cat -56: + grep -q $'\E' out/test/elf/x86_64/color-diagnostics/log +29: + cc -B. -shared -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/f.so out/test/elf/x86_64/x86_64_tls-gd-to-ie/a.o -Wl,-z,nodlopen -Wl,-no-relax 61: +++ canonical_name x86_64 61: +++ case $1 in 61: +++ echo x86_64 @@ -4405,41 +4478,27 @@ 61: ++ QEMU= 61: ++ trap 'on_error $LINENO' ERR 61: ++ trap on_exit EXIT -53: + cc -B. -o out/test/elf/x86_64/build-id/exe out/test/elf/x86_64/build-id/a.c -Wl,-build-id=uuid -60: ++++ uname -m -60: +++ canonical_name x86_64 -60: +++ case $1 in -60: +++ echo x86_64 -60: ++ HOST=x86_64 -60: ++ '[' -n '' ']' -60: ++ MACHINE=x86_64 -60: ++ '[' -n '' ']' -60: ++ CC=cc -60: ++ CXX=c++ -60: ++ GCC=gcc -60: ++ GXX=g++ -60: ++ OBJDUMP=objdump -60: ++ OBJCOPY=objcopy -60: ++ STRIP=strip -60: ++ QEMU= -60: ++ trap 'on_error $LINENO' ERR -60: ++ trap on_exit EXIT -56: + ./mold -o out/test/elf/x86_64/color-diagnostics/exe out/test/elf/x86_64/color-diagnostics/a.o --color-diagnostics=always -62: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/compress-debug-sections.sh +50: + grep -q '3 3 0' +50: + out/test/elf/x86_64/bsymbolic-functions/exe +50: + on_exit +50: + echo OK +50: OK +50: + exit 0 +58: + cat +58: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-archive/c.o - 61: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/compress-debug-sections-zstd.sh .sh -60: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.sh .sh 61: ++ testname=compress-debug-sections-zstd 61: ++ echo -n 'Testing compress-debug-sections-zstd ... ' 61: Testing compress-debug-sections-zstd ... ++ t=out/test/elf/x86_64/compress-debug-sections-zstd 61: ++ mkdir -p out/test/elf/x86_64/compress-debug-sections-zstd -62: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -62: ++ export LC_ALL=C -62: ++ LC_ALL=C -60: ++ testname=common -60: ++ echo -n 'Testing common ... ' -60: Testing common ... ++ t=out/test/elf/x86_64/common -60: ++ mkdir -p out/test/elf/x86_64/common -62: ++++ uname -m +59: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-ref/b.o - + 47/309 Test #50: x86_64-bsymbolic-functions .............. Passed 0.38 sec +test 62 + Start 62: x86_64-compress-debug-sections + +62: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/compress-debug-sections.sh" +62: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +62: Test timeout computed to be: 1500 61: + '[' x86_64 = arm ']' 61: + '[' x86_64 = riscv32 ']' 61: + command -v zstdcat @@ -4448,17 +4507,55 @@ 61: skipped 61: + trap - EXIT 61: + exit 0 -47: + 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 -60: + cc -fcommon -xc -c -o out/test/elf/x86_64/common/a.o - - 47/309 Test #61: x86_64-compress-debug-sections-zstd .....***Skipped 0.06 sec +47: + out/test/elf/x86_64/as-needed2/exe +47: + grep -q '^3$' +47: + readelf --dynamic out/test/elf/x86_64/as-needed2/exe +59: + cat +57: + grep -q '[ms]old' +62: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/compress-debug-sections.sh + 48/309 Test #61: x86_64-compress-debug-sections-zstd .....***Skipped 0.04 sec test 63 Start 63: x86_64-compressed-debug-info 63: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/compressed-debug-info.sh" 63: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 63: Test timeout computed to be: 1500 -45: + readelf --dynamic out/test/elf/x86_64/as-needed-weak/exe -45: + grep -Fq 'Shared library: [libfoo.so]' out/test/elf/x86_64/as-needed-weak/readelf +47: + grep -q /a.so out/test/elf/x86_64/as-needed2/log +57: + readelf -p .comment out/test/elf/x86_64/comment/exe +62: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +62: ++ export LC_ALL=C +62: ++ LC_ALL=C +54: + out/test/elf/x86_64/canonical-plt/exe +54: + grep -q '^1 1 1$' +47: + grep -q /c.so out/test/elf/x86_64/as-needed2/log +57: + readelf -SW out/test/elf/x86_64/comment/exe +54: + on_exit +54: + echo OK +54: OK +54: + exit 0 +57: + grep -Eq '\.comment.*\bMS\b' + 49/309 Test #54: x86_64-canonical-plt .................... Passed 0.32 sec +test 64 + Start 64: x86_64-copyrel-alignment + +64: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/copyrel-alignment.sh" +64: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +64: Test timeout computed to be: 1500 +51: + out/test/elf/x86_64/bsymbolic/exe +62: ++++ uname -m +25: + grep -q '^56$' +25: + out/test/elf/x86_64/x86_64_reloc/exe +57: + on_exit +57: + echo OK +57: OK +57: + exit 0 + 50/309 Test #57: x86_64-comment .......................... Passed 0.22 sec +test 65 + Start 65: x86_64-copyrel-protected + +65: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/copyrel-protected.sh" +65: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +65: Test timeout computed to be: 1500 62: +++ canonical_name x86_64 62: +++ case $1 in 62: +++ echo x86_64 @@ -4477,41 +4574,25 @@ 62: ++ trap 'on_error $LINENO' ERR 62: ++ trap on_exit EXIT 62: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/compress-debug-sections.sh .sh -60: + cat -63: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/compressed-debug-info.sh -63: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -63: ++ export LC_ALL=C -63: ++ LC_ALL=C -58: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-archive/b.o - -58: + cat 62: ++ testname=compress-debug-sections 62: ++ echo -n 'Testing compress-debug-sections ... ' 62: Testing compress-debug-sections ... ++ t=out/test/elf/x86_64/compress-debug-sections 62: ++ mkdir -p out/test/elf/x86_64/compress-debug-sections -56: + grep -q $'\E' out/test/elf/x86_64/color-diagnostics/log -29: + out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe3 -45: + grep -Fq 'Shared library: [libbar.so]' out/test/elf/x86_64/as-needed-weak/readelf -29: + grep -q '1 2 3' -29: + cc -B. -shared -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/f.so out/test/elf/x86_64/x86_64_tls-gd-to-ie/a.o -Wl,-z,nodlopen -Wl,-no-relax -62: + command -v dwarfdump -45: + on_exit -45: + echo OK -45: OK -45: + exit 0 +25: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -pie +60: + 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 +51: + grep -q '3 4' +51: + on_exit +51: + echo OK +51: OK +51: + exit 0 +63: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/compressed-debug-info.sh +63: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +63: ++ export LC_ALL=C +63: ++ LC_ALL=C 63: ++++ uname -m - 48/309 Test #45: x86_64-as-needed-weak ................... Passed 0.63 sec -test 64 - Start 64: x86_64-copyrel-alignment - -64: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/copyrel-alignment.sh" -64: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -64: Test timeout computed to be: 1500 -62: + cc -c -g -o out/test/elf/x86_64/compress-debug-sections/a.o -xc - 63: +++ canonical_name x86_64 63: +++ case $1 in 63: +++ echo x86_64 -56: + ./mold -o out/test/elf/x86_64/color-diagnostics/exe out/test/elf/x86_64/color-diagnostics/a.o --color-diagnostics=never -59: + cat 63: ++ HOST=x86_64 63: ++ '[' -n '' ']' 63: ++ MACHINE=x86_64 @@ -4524,38 +4605,14 @@ 63: ++ OBJCOPY=objcopy 63: ++ STRIP=strip 63: ++ QEMU= -62: + cat -63: ++ trap 'on_error $LINENO' ERR -63: ++ trap on_exit EXIT -63: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/compressed-debug-info.sh .sh -59: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-ref/b.o - -63: ++ testname=compressed-debug-info -63: ++ echo -n 'Testing compressed-debug-info ... ' -63: Testing compressed-debug-info ... ++ t=out/test/elf/x86_64/compressed-debug-info -63: ++ mkdir -p out/test/elf/x86_64/compressed-debug-info -63: + command -v dwarfdump 64: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/copyrel-alignment.sh 64: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 64: ++ export LC_ALL=C 64: ++ LC_ALL=C -63: + c++ -c -o out/test/elf/x86_64/compressed-debug-info/a.o -g -gz=zlib -xc++ - -63: + cat -60: + cc -fcommon -xc -c -o out/test/elf/x86_64/common/b.o - -60: + cat -46: + readelf --dynamic out/test/elf/x86_64/as-needed/exe -57: + grep -q '[ms]old' 64: ++++ uname -m -25: + out/test/elf/x86_64/x86_64_reloc/exe -57: + readelf -p .comment out/test/elf/x86_64/comment/exe -54: + 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 -46: + grep -Fq 'Shared library: [libfoo.so]' out/test/elf/x86_64/as-needed/readelf 64: +++ canonical_name x86_64 64: +++ case $1 in 64: +++ echo x86_64 -50: + grep -q '3 3 0' -50: + out/test/elf/x86_64/bsymbolic-functions/exe -25: + grep -q '^56$' -25: + cat 64: ++ HOST=x86_64 64: ++ '[' -n '' ']' 64: ++ MACHINE=x86_64 @@ -4571,79 +4628,46 @@ 64: ++ trap 'on_error $LINENO' ERR 64: ++ trap on_exit EXIT 64: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/copyrel-alignment.sh .sh -57: + readelf -SW out/test/elf/x86_64/comment/exe -57: + grep -Eq '\.comment.*\bMS\b' -50: + on_exit -50: + echo OK -50: OK -50: + exit 0 -51: + 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 -56: + grep -q $'\E' out/test/elf/x86_64/color-diagnostics/log -56: + ./mold -o out/test/elf/x86_64/color-diagnostics/exe out/test/elf/x86_64/color-diagnostics/a.o --color-diagnostics=auto +59: + rm -f out/test/elf/x86_64/common-ref/c.a +62: + command -v dwarfdump +62: + cat +62: + cc -c -g -o out/test/elf/x86_64/compress-debug-sections/a.o -xc - +63: ++ trap 'on_error $LINENO' ERR +63: ++ trap on_exit EXIT +63: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/compressed-debug-info.sh .sh 64: ++ testname=copyrel-alignment 64: ++ echo -n 'Testing copyrel-alignment ... ' 64: Testing copyrel-alignment ... ++ t=out/test/elf/x86_64/copyrel-alignment 64: ++ mkdir -p out/test/elf/x86_64/copyrel-alignment - 49/309 Test #50: x86_64-bsymbolic-functions .............. Passed 0.47 sec -test 65 - Start 65: x86_64-copyrel-protected + 51/309 Test #51: x86_64-bsymbolic ........................ Passed 0.37 sec +test 66 + Start 66: x86_64-copyrel-relro -65: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/copyrel-protected.sh" -65: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -65: Test timeout computed to be: 1500 +66: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/copyrel-relro.sh" +66: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +66: Test timeout computed to be: 1500 +63: ++ testname=compressed-debug-info +63: ++ echo -n 'Testing compressed-debug-info ... ' +63: Testing compressed-debug-info ... ++ t=out/test/elf/x86_64/compressed-debug-info +63: ++ mkdir -p out/test/elf/x86_64/compressed-debug-info +63: + command -v dwarfdump +63: + cat 64: + '[' x86_64 = ppc64 ']' 64: + '[' x86_64 = ppc64le ']' 64: + '[' x86_64 = alpha ']' 64: + cc -fPIC -shared -o out/test/elf/x86_64/copyrel-alignment/a.so -xc - 64: + cat -57: + on_exit -57: + echo OK -57: OK -57: + exit 0 -53: + readelf -nW out/test/elf/x86_64/build-id/exe -53: + grep -Eq 'GNU.*0x00000010.*NT_GNU_BUILD_ID.*Build ID: ............4...[89abcdef]' -53: + cc -B. -o out/test/elf/x86_64/build-id/exe out/test/elf/x86_64/build-id/a.c -Wl,-build-id=md5 -46: + grep -Fq 'Shared library: [libbar.so]' out/test/elf/x86_64/as-needed/readelf -46: + on_exit -46: + echo OK -46: OK -46: + exit 0 -25: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -no-pie -58: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-archive/c.o - -58: + cat -59: + rm -f out/test/elf/x86_64/common-ref/c.a 59: + ar rcs out/test/elf/x86_64/common-ref/c.a out/test/elf/x86_64/common-ref/b.o -62: + cc -B. -o out/test/elf/x86_64/compress-debug-sections/exe out/test/elf/x86_64/compress-debug-sections/a.o -Wl,--compress-debug-sections=zlib -56: + grep -q $'\E' out/test/elf/x86_64/color-diagnostics/log -63: + c++ -c -o out/test/elf/x86_64/compressed-debug-info/b.o -g -gz=zlib -xc++ - -63: + cat - 50/309 Test #46: x86_64-as-needed ........................ Passed 0.66 sec -test 66 - Start 66: x86_64-copyrel-relro - -66: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/copyrel-relro.sh" -66: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -66: Test timeout computed to be: 1500 - 51/309 Test #57: x86_64-comment .......................... Passed 0.29 sec -test 67 - Start 67: x86_64-copyrel - -67: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/copyrel.sh" -67: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -67: Test timeout computed to be: 1500 -59: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-ref/d.o - 59: + cat -56: + on_exit -56: + echo OK -56: OK -56: + exit 0 - 52/309 Test #56: x86_64-color-diagnostics ................ Passed 0.32 sec -test 68 - Start 68: x86_64-dead-debug-sections - -68: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/dead-debug-sections.sh" -68: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -68: Test timeout computed to be: 1500 +59: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-ref/d.o - +47: + grep -q /b.so out/test/elf/x86_64/as-needed2/log +47: + on_exit +47: + echo OK +47: OK +47: + exit 0 +53: + grep -Eq 'GNU.*0x00000010.*NT_GNU_BUILD_ID.*Build ID: ............4...[89abcdef]' +53: + readelf -nW out/test/elf/x86_64/build-id/exe +53: + cc -B. -o out/test/elf/x86_64/build-id/exe out/test/elf/x86_64/build-id/a.c -Wl,-build-id=md5 65: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/copyrel-protected.sh 65: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 65: ++ export LC_ALL=C @@ -4666,34 +4690,43 @@ 65: ++ QEMU= 65: ++ trap 'on_error $LINENO' ERR 65: ++ trap on_exit EXIT -60: + 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 -29: + cc -B. -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe4 out/test/elf/x86_64/x86_64_tls-gd-to-ie/b.o out/test/elf/x86_64/x86_64_tls-gd-to-ie/f.so -47: + grep -q '^3$' -47: + out/test/elf/x86_64/as-needed2/exe -47: + readelf --dynamic out/test/elf/x86_64/as-needed2/exe -47: + grep -q /a.so out/test/elf/x86_64/as-needed2/log -47: + grep -q /c.so out/test/elf/x86_64/as-needed2/log +65: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/copyrel-protected.sh .sh +65: ++ testname=copyrel-protected +65: ++ echo -n 'Testing copyrel-protected ... ' +65: Testing copyrel-protected ... ++ t=out/test/elf/x86_64/copyrel-protected +65: ++ mkdir -p out/test/elf/x86_64/copyrel-protected +56: + grep -q $'\E' out/test/elf/x86_64/color-diagnostics/log +56: + ./mold -o out/test/elf/x86_64/color-diagnostics/exe out/test/elf/x86_64/color-diagnostics/a.o --color-diagnostics=auto +45: + readelf --dynamic out/test/elf/x86_64/as-needed-weak/exe +45: + grep -Fq 'Shared library: [libfoo.so]' out/test/elf/x86_64/as-needed-weak/readelf +45: + grep -Fq 'Shared library: [libbar.so]' out/test/elf/x86_64/as-needed-weak/readelf +58: + cat +58: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-archive/d.o - + 52/309 Test #47: x86_64-as-needed2 ....................... Passed 0.47 sec +test 67 + Start 67: x86_64-copyrel + +67: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/copyrel.sh" +67: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +67: Test timeout computed to be: 1500 +63: + c++ -c -o out/test/elf/x86_64/compressed-debug-info/a.o -g -gz=zlib -xc++ - +65: + '[' x86_64 = ppc64 ']' +65: + '[' x86_64 = ppc64le ']' +65: + '[' x86_64 = alpha ']' +65: + cat +65: + cc -o out/test/elf/x86_64/copyrel-protected/a.o -c -xc -fno-PIE - +45: + on_exit +45: + echo OK +45: OK +45: + exit 0 66: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/copyrel-relro.sh 66: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 66: ++ export LC_ALL=C 66: ++ LC_ALL=C 66: ++++ uname -m -67: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/copyrel.sh -67: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -67: ++ export LC_ALL=C -67: ++ LC_ALL=C -67: ++++ uname -m -68: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/dead-debug-sections.sh -68: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -68: ++ export LC_ALL=C -68: ++ LC_ALL=C 66: +++ canonical_name x86_64 66: +++ case $1 in 66: +++ echo x86_64 -65: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/copyrel-protected.sh .sh -67: +++ canonical_name x86_64 -67: +++ case $1 in -67: +++ echo x86_64 66: ++ HOST=x86_64 66: ++ '[' -n '' ']' 66: ++ MACHINE=x86_64 @@ -4708,17 +4741,41 @@ 66: ++ QEMU= 66: ++ trap 'on_error $LINENO' ERR 66: ++ trap on_exit EXIT +46: + readelf --dynamic out/test/elf/x86_64/as-needed/exe + 53/309 Test #45: x86_64-as-needed-weak ................... Passed 0.59 sec +test 68 + Start 68: x86_64-dead-debug-sections + +68: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/dead-debug-sections.sh" +68: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +68: Test timeout computed to be: 1500 66: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/copyrel-relro.sh .sh -65: ++ testname=copyrel-protected -65: ++ echo -n 'Testing copyrel-protected ... ' -65: Testing copyrel-protected ... ++ t=out/test/elf/x86_64/copyrel-protected -65: ++ mkdir -p out/test/elf/x86_64/copyrel-protected -65: + '[' x86_64 = ppc64 ']' -65: + '[' x86_64 = ppc64le ']' -65: + '[' x86_64 = alpha ']' -65: + cat -47: + grep -q /b.so out/test/elf/x86_64/as-needed2/log -59: + rm -f out/test/elf/x86_64/common-ref/e.a +66: ++ testname=copyrel-relro +66: ++ echo -n 'Testing copyrel-relro ... ' +66: Testing copyrel-relro ... ++ t=out/test/elf/x86_64/copyrel-relro +66: ++ mkdir -p out/test/elf/x86_64/copyrel-relro +66: + cat +66: + cc -o out/test/elf/x86_64/copyrel-relro/a.o -c -xc -fno-PIE - +46: + grep -Fq 'Shared library: [libfoo.so]' out/test/elf/x86_64/as-needed/readelf +46: + grep -Fq 'Shared library: [libbar.so]' out/test/elf/x86_64/as-needed/readelf +46: + on_exit +46: + echo OK +46: OK +46: + exit 0 +29: + cc -B. -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe4 out/test/elf/x86_64/x86_64_tls-gd-to-ie/b.o out/test/elf/x86_64/x86_64_tls-gd-to-ie/f.so +56: + grep -q $'\E' out/test/elf/x86_64/color-diagnostics/log +56: + on_exit +56: + echo OK +56: OK +56: + exit 0 +67: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/copyrel.sh +67: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +67: ++ export LC_ALL=C +67: ++ LC_ALL=C +67: ++++ uname -m +67: +++ canonical_name x86_64 +67: +++ case $1 in +67: +++ echo x86_64 67: ++ HOST=x86_64 67: ++ '[' -n '' ']' 67: ++ MACHINE=x86_64 @@ -4733,108 +4790,52 @@ 67: ++ QEMU= 67: ++ trap 'on_error $LINENO' ERR 67: ++ trap on_exit EXIT -63: + cc -B. -o out/test/elf/x86_64/compressed-debug-info/exe out/test/elf/x86_64/compressed-debug-info/a.o out/test/elf/x86_64/compressed-debug-info/b.o -58: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-archive/d.o - -66: ++ testname=copyrel-relro -66: ++ echo -n 'Testing copyrel-relro ... ' -66: Testing copyrel-relro ... ++ t=out/test/elf/x86_64/copyrel-relro -66: ++ mkdir -p out/test/elf/x86_64/copyrel-relro -59: + ar rcs out/test/elf/x86_64/common-ref/e.a out/test/elf/x86_64/common-ref/d.o -67: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/copyrel.sh .sh -68: ++++ uname -m -68: +++ canonical_name x86_64 -68: +++ case $1 in -68: +++ echo x86_64 -47: + on_exit -47: + echo OK -47: OK -47: + exit 0 -65: + cc -o out/test/elf/x86_64/copyrel-protected/a.o -c -xc -fno-PIE - -58: + cat - 53/309 Test #47: x86_64-as-needed2 ....................... Passed 0.69 sec +58: + rm -f out/test/elf/x86_64/common-archive/e.a +58: + 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 + 54/309 Test #46: x86_64-as-needed ........................ Passed 0.59 sec test 69 Start 69: x86_64-debug-macro-section 69: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/debug-macro-section.sh" 69: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 69: Test timeout computed to be: 1500 -67: ++ testname=copyrel -67: ++ echo -n 'Testing copyrel ... ' -67: Testing copyrel ... ++ t=out/test/elf/x86_64/copyrel -67: ++ mkdir -p out/test/elf/x86_64/copyrel -68: ++ HOST=x86_64 -68: ++ '[' -n '' ']' -68: ++ MACHINE=x86_64 -68: ++ '[' -n '' ']' -68: ++ CC=cc -68: ++ CXX=c++ -68: ++ GCC=gcc -68: ++ GXX=g++ -68: ++ OBJDUMP=objdump -68: ++ OBJCOPY=objcopy -68: ++ STRIP=strip -68: ++ QEMU= -68: ++ trap 'on_error $LINENO' ERR -68: ++ trap on_exit EXIT -68: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/dead-debug-sections.sh .sh -68: ++ testname=dead-debug-sections -68: ++ echo -n 'Testing dead-debug-sections ... ' -68: Testing dead-debug-sections ... ++ t=out/test/elf/x86_64/dead-debug-sections -68: ++ mkdir -p out/test/elf/x86_64/dead-debug-sections -59: + 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 -51: + out/test/elf/x86_64/bsymbolic/exe -51: + grep -q '3 4' -51: + on_exit -51: + echo OK -51: OK -51: + exit 0 -25: + out/test/elf/x86_64/x86_64_reloc/exe -25: + grep -q '^56$' -66: + cat -66: + cc -o out/test/elf/x86_64/copyrel-relro/a.o -c -xc -fno-PIE - - 54/309 Test #51: x86_64-bsymbolic ........................ Passed 0.57 sec + 55/309 Test #56: x86_64-color-diagnostics ................ Passed 0.29 sec test 70 Start 70: x86_64-default-symver 70: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/default-symver.sh" 70: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 70: Test timeout computed to be: 1500 +67: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/copyrel.sh .sh +67: ++ testname=copyrel +67: ++ echo -n 'Testing copyrel ... ' +67: Testing copyrel ... ++ t=out/test/elf/x86_64/copyrel +67: ++ mkdir -p out/test/elf/x86_64/copyrel 67: + cat 67: + cc -fno-PIC -o out/test/elf/x86_64/copyrel/a.o -c -xc - -68: + command -v dwarfdump -68: + cat -25: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -pie -54: + out/test/elf/x86_64/canonical-plt/exe -54: + grep -q '^1 1 1$' -54: + on_exit -54: + echo OK -54: OK -54: + exit 0 +58: + 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 +59: + rm -f out/test/elf/x86_64/common-ref/e.a +59: + ar rcs out/test/elf/x86_64/common-ref/e.a out/test/elf/x86_64/common-ref/d.o +62: + cc -B. -o out/test/elf/x86_64/compress-debug-sections/exe out/test/elf/x86_64/compress-debug-sections/a.o -Wl,--compress-debug-sections=zlib +64: + cat +64: + cc -fPIC -shared -o out/test/elf/x86_64/copyrel-alignment/b.so -xc - +68: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/dead-debug-sections.sh +68: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +68: ++ export LC_ALL=C +68: ++ LC_ALL=C +65: + cc -shared -o out/test/elf/x86_64/copyrel-protected/b.so -xc - +65: + cat +60: + grep -q '0 5 42' 69: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/debug-macro-section.sh 69: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 69: ++ export LC_ALL=C 69: ++ LC_ALL=C -58: + rm -f out/test/elf/x86_64/common-archive/e.a -64: + cat -64: + cc -fPIC -shared -o out/test/elf/x86_64/copyrel-alignment/b.so -xc - - 55/309 Test #54: x86_64-canonical-plt .................... Passed 0.48 sec -test 71 - Start 71: x86_64-defsym-lto - -71: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/defsym-lto.sh" -71: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -71: Test timeout computed to be: 1500 -68: + c++ -c -o out/test/elf/x86_64/dead-debug-sections/a.o -g -xc++ - 69: ++++ uname -m 69: +++ canonical_name x86_64 69: +++ case $1 in 69: +++ echo x86_64 -58: + 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 -70: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/default-symver.sh -70: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -70: ++ export LC_ALL=C -70: ++ LC_ALL=C -62: + dwarfdump out/test/elf/x86_64/compress-debug-sections/exe +59: + 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 +60: + out/test/elf/x86_64/common/exe 69: ++ HOST=x86_64 69: ++ '[' -n '' ']' 69: ++ MACHINE=x86_64 @@ -4845,20 +4846,31 @@ 69: ++ GXX=g++ 69: ++ OBJDUMP=objdump 69: ++ OBJCOPY=objcopy +70: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/default-symver.sh 69: ++ STRIP=strip 69: ++ QEMU= 69: ++ trap 'on_error $LINENO' ERR 69: ++ trap on_exit EXIT -71: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/defsym-lto.sh -58: + 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 -71: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -71: ++ export LC_ALL=C -71: ++ LC_ALL=C -70: ++++ uname -m 69: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/debug-macro-section.sh .sh +63: + cat +70: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +70: ++ export LC_ALL=C +70: ++ LC_ALL=C +69: ++ testname=debug-macro-section +69: ++ echo -n 'Testing debug-macro-section ... ' +69: Testing debug-macro-section ... ++ t=out/test/elf/x86_64/debug-macro-section +69: ++ mkdir -p out/test/elf/x86_64/debug-macro-section +63: + c++ -c -o out/test/elf/x86_64/compressed-debug-info/b.o -g -gz=zlib -xc++ - +69: + cat +60: + readelf --sections out/test/elf/x86_64/common/exe +60: + grep -q '.common .*NOBITS' out/test/elf/x86_64/common/log +69: + gcc -o out/test/elf/x86_64/debug-macro-section/b.o -c -xc - -Iout/test/elf/x86_64/debug-macro-section -g3 +69: + cat +70: ++++ uname -m 70: +++ canonical_name x86_64 70: +++ case $1 in 70: +++ echo x86_64 +68: ++++ uname -m 70: ++ HOST=x86_64 70: ++ '[' -n '' ']' 70: ++ MACHINE=x86_64 @@ -4873,23 +4885,83 @@ 70: ++ QEMU= 70: ++ trap 'on_error $LINENO' ERR 70: ++ trap on_exit EXIT -69: ++ testname=debug-macro-section -69: ++ echo -n 'Testing debug-macro-section ... ' -69: Testing debug-macro-section ... ++ t=out/test/elf/x86_64/debug-macro-section -69: ++ mkdir -p out/test/elf/x86_64/debug-macro-section -62: + grep -Fq '.debug_info SHF_COMPRESSED' out/test/elf/x86_64/compress-debug-sections/log +68: +++ canonical_name x86_64 +68: +++ case $1 in +68: +++ echo x86_64 +68: ++ HOST=x86_64 +68: ++ '[' -n '' ']' +68: ++ MACHINE=x86_64 +68: ++ '[' -n '' ']' +68: ++ CC=cc +68: ++ CXX=c++ +68: ++ GCC=gcc +68: ++ GXX=g++ +68: ++ OBJDUMP=objdump +68: ++ OBJCOPY=objcopy +68: ++ STRIP=strip +68: ++ QEMU= 70: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/default-symver.sh .sh -71: ++++ uname -m -71: +++ canonical_name x86_64 -71: +++ case $1 in -71: +++ echo x86_64 -65: + cat +68: ++ trap 'on_error $LINENO' ERR +68: ++ trap on_exit EXIT +68: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/dead-debug-sections.sh .sh 70: ++ testname=default-symver 70: ++ echo -n 'Testing default-symver ... ' 70: Testing default-symver ... ++ t=out/test/elf/x86_64/default-symver 70: ++ mkdir -p out/test/elf/x86_64/default-symver -60: + grep -q '0 5 42' -60: + out/test/elf/x86_64/common/exe +68: ++ testname=dead-debug-sections +68: ++ echo -n 'Testing dead-debug-sections ... ' +68: Testing dead-debug-sections ... ++ t=out/test/elf/x86_64/dead-debug-sections +68: ++ mkdir -p out/test/elf/x86_64/dead-debug-sections +60: + on_exit +60: + echo OK +60: OK +60: + exit 0 +70: + cat + 56/309 Test #60: x86_64-common ........................... Passed 0.24 sec +test 71 + Start 71: x86_64-defsym-lto + +71: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/defsym-lto.sh" +71: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +71: Test timeout computed to be: 1500 +70: + cc -o out/test/elf/x86_64/default-symver/a.o -c -xc - +68: + command -v dwarfdump +68: + c++ -c -o out/test/elf/x86_64/dead-debug-sections/a.o -g -xc++ - +71: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/defsym-lto.sh +29: + out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe4 +29: + grep -q '1 2 3' +29: + on_exit +29: + echo OK +29: OK +29: + exit 0 +63: + cc -B. -o out/test/elf/x86_64/compressed-debug-info/exe out/test/elf/x86_64/compressed-debug-info/a.o out/test/elf/x86_64/compressed-debug-info/b.o + 57/309 Test #29: x86_64-x86_64_tls-gd-to-ie .............. Passed 1.04 sec +test 72 + Start 72: x86_64-defsym + +72: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/defsym.sh" +72: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +72: Test timeout computed to be: 1500 +71: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +71: ++ export LC_ALL=C +71: ++ LC_ALL=C +67: + cat +67: + cc -fno-PIC -o out/test/elf/x86_64/copyrel/b.o -c -xc - +66: + cat +66: + cc -fPIC -shared -o out/test/elf/x86_64/copyrel-relro/b.so -xc - +72: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/defsym.sh +25: + out/test/elf/x86_64/x86_64_reloc/exe +25: + grep -q '^56$' +68: + cat +72: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +72: ++ export LC_ALL=C +72: ++ LC_ALL=C +71: ++++ uname -m +25: + cat +25: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -no-pie +71: +++ canonical_name x86_64 +71: +++ case $1 in +71: +++ echo x86_64 71: ++ HOST=x86_64 71: ++ '[' -n '' ']' 71: ++ MACHINE=x86_64 @@ -4904,65 +4976,30 @@ 71: ++ QEMU= 71: ++ trap 'on_error $LINENO' ERR 71: ++ trap on_exit EXIT -60: + readelf --sections out/test/elf/x86_64/common/exe -69: + cat 71: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/defsym-lto.sh .sh -65: + cc -shared -o out/test/elf/x86_64/copyrel-protected/b.so -xc - -29: + out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe4 -62: + grep -Fq '.debug_str SHF_COMPRESSED' out/test/elf/x86_64/compress-debug-sections/log 71: ++ testname=defsym-lto 71: ++ echo -n 'Testing defsym-lto ... ' 71: Testing defsym-lto ... ++ t=out/test/elf/x86_64/defsym-lto 71: ++ mkdir -p out/test/elf/x86_64/defsym-lto -29: + grep -q '1 2 3' -70: + cat -62: + on_exit -62: + echo OK -62: OK -62: + exit 0 - 56/309 Test #62: x86_64-compress-debug-sections .......... Passed 0.30 sec -test 72 - Start 72: x86_64-defsym - -72: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/defsym.sh" -72: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -72: Test timeout computed to be: 1500 -60: + grep -q '.common .*NOBITS' out/test/elf/x86_64/common/log -60: + on_exit -60: + echo OK -60: OK -60: + exit 0 -29: + on_exit -29: + echo OK -29: OK -29: + exit 0 -67: + cat -67: + cc -fno-PIC -o out/test/elf/x86_64/copyrel/b.o -c -xc - -53: + readelf -n out/test/elf/x86_64/build-id/exe -53: + grep -q 'GNU.*0x00000010.*NT_GNU_BUILD_ID' -70: + cc -o out/test/elf/x86_64/default-symver/a.o -c -xc - -69: + cat -69: + gcc -o out/test/elf/x86_64/debug-macro-section/b.o -c -xc - -Iout/test/elf/x86_64/debug-macro-section -g3 -72: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/defsym.sh - 57/309 Test #29: x86_64-x86_64_tls-gd-to-ie .............. Passed 1.29 sec +70: + 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 +71: + echo 'int main() {}' +65: + 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 +72: ++++ uname -m +59: + grep -q 5 +59: + out/test/elf/x86_64/common-ref/exe +59: + on_exit +59: + echo OK +59: OK +59: + exit 0 + 58/309 Test #59: x86_64-common-ref ....................... Passed 0.31 sec test 73 Start 73: x86_64-defsym2 73: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/defsym2.sh" 73: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 73: Test timeout computed to be: 1500 - 58/309 Test #60: x86_64-common ........................... Passed 0.36 sec -test 74 - Start 74: x86_64-demangle-rust - -74: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/demangle-rust.sh" -74: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -74: Test timeout computed to be: 1500 -53: + cc -B. -o out/test/elf/x86_64/build-id/exe out/test/elf/x86_64/build-id/a.c -Wl,-build-id=sha1 -72: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -72: ++ export LC_ALL=C -72: ++ LC_ALL=C -72: ++++ uname -m +64: + cat +64: + cc -fPIC -shared -o out/test/elf/x86_64/copyrel-alignment/c.so -xc - 72: +++ canonical_name x86_64 72: +++ case $1 in 72: +++ echo x86_64 @@ -4980,57 +5017,36 @@ 72: ++ QEMU= 72: ++ trap 'on_error $LINENO' ERR 72: ++ trap on_exit EXIT -63: + dwarfdump out/test/elf/x86_64/compressed-debug-info/exe -71: + echo 'int main() {}' -71: + cc -flto -o /dev/null -xc - -63: + grep -Fq .debug_info -73: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/defsym2.sh -66: + cat -73: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -73: ++ export LC_ALL=C -73: ++ LC_ALL=C -59: + out/test/elf/x86_64/common-ref/exe -68: + c++ -c -o out/test/elf/x86_64/dead-debug-sections/b.o -g -xc++ - 72: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/defsym.sh .sh -66: + cc -fPIC -shared -o out/test/elf/x86_64/copyrel-relro/b.so -xc - -68: + cat -63: + readelf --sections out/test/elf/x86_64/compressed-debug-info/exe -59: + grep -q 5 -74: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/demangle-rust.sh 72: ++ testname=defsym 72: ++ echo -n 'Testing defsym ... ' 72: Testing defsym ... ++ t=out/test/elf/x86_64/defsym 72: ++ mkdir -p out/test/elf/x86_64/defsym -70: + 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 +71: + cc -flto -o /dev/null -xc - +66: + 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 +73: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/defsym2.sh +72: + cat +72: + cc -fPIC -o out/test/elf/x86_64/defsym/a.o -c -xc - +73: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +73: ++ export LC_ALL=C +73: ++ LC_ALL=C +62: + dwarfdump out/test/elf/x86_64/compress-debug-sections/exe +67: + cat +67: + cc -fPIC -o out/test/elf/x86_64/copyrel/c.o -c -xc - +62: + grep -Fq '.debug_info SHF_COMPRESSED' out/test/elf/x86_64/compress-debug-sections/log +69: + cat +62: + grep -Fq '.debug_str SHF_COMPRESSED' out/test/elf/x86_64/compress-debug-sections/log +69: + gcc -o out/test/elf/x86_64/debug-macro-section/c.o -c -xc - -Iout/test/elf/x86_64/debug-macro-section -g3 73: ++++ uname -m -74: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -74: ++ export LC_ALL=C -74: ++ LC_ALL=C -59: + on_exit -59: + echo OK -59: OK -59: + exit 0 -63: + on_exit -63: + echo OK -63: OK -63: + exit 0 - 59/309 Test #59: x86_64-common-ref ....................... Passed 0.42 sec -test 75 - Start 75: x86_64-demangle - -75: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/demangle.sh" -75: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -75: Test timeout computed to be: 1500 - 60/309 Test #63: x86_64-compressed-debug-info ............ Passed 0.32 sec -test 76 - Start 76: x86_64-dependency-file - -76: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/dependency-file.sh" -76: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -76: Test timeout computed to be: 1500 73: +++ canonical_name x86_64 73: +++ case $1 in 73: +++ echo x86_64 +62: + on_exit +62: + echo OK +62: OK +62: + exit 0 +58: + out/test/elf/x86_64/common-archive/exe +58: + grep -q '5 0 0 -1' 73: ++ HOST=x86_64 73: ++ '[' -n '' ']' 73: ++ MACHINE=x86_64 @@ -5045,28 +5061,65 @@ 73: ++ QEMU= 73: ++ trap 'on_error $LINENO' ERR 73: ++ trap on_exit EXIT +73: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/defsym2.sh .sh +73: ++ testname=defsym2 +73: ++ echo -n 'Testing defsym2 ... ' +73: Testing defsym2 ... ++ t=out/test/elf/x86_64/defsym2 +73: ++ mkdir -p out/test/elf/x86_64/defsym2 + 59/309 Test #62: x86_64-compress-debug-sections .......... Passed 0.23 sec +test 74 + Start 74: x86_64-demangle-rust + +74: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/demangle-rust.sh" +74: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +74: Test timeout computed to be: 1500 +63: + dwarfdump out/test/elf/x86_64/compressed-debug-info/exe +58: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-archive/f.o - +58: + cat +67: + cc -B. -shared -o out/test/elf/x86_64/copyrel/c.so out/test/elf/x86_64/copyrel/c.o +68: + cat +68: + c++ -c -o out/test/elf/x86_64/dead-debug-sections/b.o -g -xc++ - +63: + readelf --sections out/test/elf/x86_64/compressed-debug-info/exe +63: + grep -Fq .debug_info +63: + on_exit +63: + echo OK +63: OK +63: + exit 0 + 60/309 Test #63: x86_64-compressed-debug-info ............ Passed 0.23 sec +test 75 + Start 75: x86_64-demangle + +75: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/demangle.sh" +75: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +75: Test timeout computed to be: 1500 +74: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/demangle-rust.sh 75: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/demangle.sh +64: + cat +74: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 75: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 75: ++ export LC_ALL=C 75: ++ LC_ALL=C -73: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/defsym2.sh .sh +74: ++ export LC_ALL=C +74: ++ LC_ALL=C +65: + grep -Fq 'cannot make copy relocation for protected symbol' out/test/elf/x86_64/copyrel-protected/log 75: ++++ uname -m +73: + cat 74: ++++ uname -m +73: + cc -fPIC -o out/test/elf/x86_64/defsym2/a.o -c -xc - +65: + on_exit +65: + echo OK +65: OK +65: + exit 0 74: +++ canonical_name x86_64 74: +++ case $1 in 74: +++ echo x86_64 -72: + cat -25: + out/test/elf/x86_64/x86_64_reloc/exe -25: + grep -q '^56$' -73: ++ testname=defsym2 -73: ++ echo -n 'Testing defsym2 ... ' -73: Testing defsym2 ... ++ t=out/test/elf/x86_64/defsym2 -73: ++ mkdir -p out/test/elf/x86_64/defsym2 -64: + cat -25: + cat -75: +++ canonical_name x86_64 -75: +++ case $1 in -75: +++ echo x86_64 + 61/309 Test #65: x86_64-copyrel-protected ................ Passed 0.23 sec +test 76 + Start 76: x86_64-dependency-file + +76: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/dependency-file.sh" +76: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +76: Test timeout computed to be: 1500 74: ++ HOST=x86_64 74: ++ '[' -n '' ']' 74: ++ MACHINE=x86_64 @@ -5081,7 +5134,11 @@ 74: ++ QEMU= 74: ++ trap 'on_error $LINENO' ERR 74: ++ trap on_exit EXIT -72: + cc -fPIC -o out/test/elf/x86_64/defsym/a.o -c -xc - +75: +++ canonical_name x86_64 +75: +++ case $1 in +75: +++ echo x86_64 +72: + 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 +74: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/demangle-rust.sh .sh 75: ++ HOST=x86_64 75: ++ '[' -n '' ']' 75: ++ MACHINE=x86_64 @@ -5096,15 +5153,13 @@ 75: ++ QEMU= 75: ++ trap 'on_error $LINENO' ERR 75: ++ trap on_exit EXIT -65: + 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 76: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/dependency-file.sh -64: + cc -fPIC -shared -o out/test/elf/x86_64/copyrel-alignment/c.so -xc - -74: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/demangle-rust.sh .sh -25: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -no-pie 76: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 76: ++ export LC_ALL=C 76: ++ LC_ALL=C 75: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/demangle.sh .sh +69: + 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 +64: + cc -fno-PIE -o out/test/elf/x86_64/copyrel-alignment/d.o -c -xc - 75: ++ testname=demangle 75: ++ echo -n 'Testing demangle ... ' 75: Testing demangle ... ++ t=out/test/elf/x86_64/demangle @@ -5113,13 +5168,14 @@ 74: ++ echo -n 'Testing demangle-rust ... ' 74: Testing demangle-rust ... ++ t=out/test/elf/x86_64/demangle-rust 74: ++ mkdir -p out/test/elf/x86_64/demangle-rust -58: + out/test/elf/x86_64/common-archive/exe -58: + grep -q '5 0 0 -1' -73: + cc -fPIC -o out/test/elf/x86_64/defsym2/a.o -c -xc - 76: ++++ uname -m 76: +++ canonical_name x86_64 76: +++ case $1 in 76: +++ echo x86_64 +53: + readelf -n out/test/elf/x86_64/build-id/exe +58: + rm -f out/test/elf/x86_64/common-archive/f.a +75: + cc -c -o out/test/elf/x86_64/demangle/a.o -xc++ - +53: + grep -q 'GNU.*0x00000010.*NT_GNU_BUILD_ID' 76: ++ HOST=x86_64 76: ++ '[' -n '' ']' 76: ++ MACHINE=x86_64 @@ -5134,65 +5190,55 @@ 76: ++ QEMU= 76: ++ trap 'on_error $LINENO' ERR 76: ++ trap on_exit EXIT -74: + cc -c -o out/test/elf/x86_64/demangle-rust/a.o -xc - -73: + cat -58: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-archive/f.o - -67: + cat -67: + cc -fPIC -o out/test/elf/x86_64/copyrel/c.o -c -xc - -69: + cat -75: + cat -75: + cc -c -o out/test/elf/x86_64/demangle/a.o -xc++ - -58: + cat -68: + cat -74: + cat -69: + gcc -o out/test/elf/x86_64/debug-macro-section/c.o -c -xc - -Iout/test/elf/x86_64/debug-macro-section -g3 76: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/dependency-file.sh .sh -68: + c++ -o out/test/elf/x86_64/dead-debug-sections/c.o -c -xc++ -g - +53: + cc -B. -o out/test/elf/x86_64/build-id/exe out/test/elf/x86_64/build-id/a.c -Wl,-build-id=sha1 +74: + cat +75: + cat +58: + 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 76: ++ testname=dependency-file 76: ++ echo -n 'Testing dependency-file ... ' 76: Testing dependency-file ... ++ t=out/test/elf/x86_64/dependency-file 76: ++ mkdir -p out/test/elf/x86_64/dependency-file -66: + 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 -76: + cc -o out/test/elf/x86_64/dependency-file/a.o -c -xc - -76: + cat -72: + 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 -73: + cc -B. -o out/test/elf/x86_64/defsym2/b.so -shared -Wl,-defsym=bar=foo out/test/elf/x86_64/defsym2/a.o -70: + readelf --dyn-syms out/test/elf/x86_64/default-symver/b.so +74: + cc -c -o out/test/elf/x86_64/demangle-rust/a.o -xc - +58: + 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 70: + grep -q ' foo@@b\.so$' -67: + cc -B. -shared -o out/test/elf/x86_64/copyrel/c.so out/test/elf/x86_64/copyrel/c.o -75: + cc -B. -o out/test/elf/x86_64/demangle/exe out/test/elf/x86_64/demangle/a.o -Wl,-no-demangle +70: + readelf --dyn-syms out/test/elf/x86_64/default-symver/b.so +76: + cat +76: + cc -o out/test/elf/x86_64/dependency-file/a.o -c -xc - +25: + out/test/elf/x86_64/x86_64_reloc/exe 70: + 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 -69: + 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 -64: + cat -64: + cc -fno-PIE -o out/test/elf/x86_64/copyrel-alignment/d.o -c -xc - -74: + cc -B. -o out/test/elf/x86_64/demangle-rust/exe out/test/elf/x86_64/demangle-rust/a.o -65: + grep -Fq 'cannot make copy relocation for protected symbol' out/test/elf/x86_64/copyrel-protected/log -58: + rm -f out/test/elf/x86_64/common-archive/f.a -76: + 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 -65: + on_exit -65: + echo OK -65: OK -65: + exit 0 - 61/309 Test #65: x86_64-copyrel-protected ................ Passed 0.40 sec +68: + cat +68: + c++ -o out/test/elf/x86_64/dead-debug-sections/c.o -c -xc++ -g - +25: + grep -q '^76$' +25: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -pie +66: + out/test/elf/x86_64/copyrel-relro/exe +66: + grep -q '^sigsegv 0 1$' +73: + cc -B. -o out/test/elf/x86_64/defsym2/b.so -shared -Wl,-defsym=bar=foo out/test/elf/x86_64/defsym2/a.o +67: + 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 +66: + on_exit +66: + echo OK +66: OK +66: + exit 0 + 62/309 Test #66: x86_64-copyrel-relro .................... Passed 0.28 sec test 77 Start 77: x86_64-disable-new-dtags 77: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/disable-new-dtags.sh" 77: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 77: Test timeout computed to be: 1500 -58: + 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 -53: + grep -q 'GNU.*0x00000014.*NT_GNU_BUILD_ID' -53: + readelf -n out/test/elf/x86_64/build-id/exe -53: + cc -B. -o out/test/elf/x86_64/build-id/exe out/test/elf/x86_64/build-id/a.c -Wl,-build-id=sha256 +64: + cc -B. -o out/test/elf/x86_64/copyrel-alignment/exe1 out/test/elf/x86_64/copyrel-alignment/d.o out/test/elf/x86_64/copyrel-alignment/a.so -no-pie 77: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/disable-new-dtags.sh 77: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 77: ++ export LC_ALL=C 77: ++ LC_ALL=C +75: + cc -B. -o out/test/elf/x86_64/demangle/exe out/test/elf/x86_64/demangle/a.o -Wl,-no-demangle +69: + objdump --dwarf=macro out/test/elf/x86_64/debug-macro-section/exe +74: + cc -B. -o out/test/elf/x86_64/demangle-rust/exe out/test/elf/x86_64/demangle-rust/a.o 77: ++++ uname -m 77: +++ canonical_name x86_64 77: +++ case $1 in 77: +++ echo x86_64 -58: + 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 +76: + 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 77: ++ HOST=x86_64 77: ++ '[' -n '' ']' 77: ++ MACHINE=x86_64 @@ -5207,67 +5253,62 @@ 77: ++ QEMU= 77: ++ trap 'on_error $LINENO' ERR 77: ++ trap on_exit EXIT +69: + grep 'DW_MACRO_import -.* 0x0$' out/test/elf/x86_64/debug-macro-section/log 77: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/disable-new-dtags.sh .sh 77: ++ testname=disable-new-dtags 77: ++ echo -n 'Testing disable-new-dtags ... ' 77: Testing disable-new-dtags ... ++ t=out/test/elf/x86_64/disable-new-dtags 77: ++ mkdir -p out/test/elf/x86_64/disable-new-dtags -68: + c++ -o out/test/elf/x86_64/dead-debug-sections/exe out/test/elf/x86_64/dead-debug-sections/a.o out/test/elf/x86_64/dead-debug-sections/b.o out/test/elf/x86_64/dead-debug-sections/c.o -g -25: + out/test/elf/x86_64/x86_64_reloc/exe -73: + grep -q bar -64: + cc -B. -o out/test/elf/x86_64/copyrel-alignment/exe1 out/test/elf/x86_64/copyrel-alignment/d.o out/test/elf/x86_64/copyrel-alignment/a.so -no-pie -66: + grep -q '^sigsegv 0 1$' -25: + grep -q '^76$' -25: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -pie -66: + out/test/elf/x86_64/copyrel-relro/exe -72: + out/test/elf/x86_64/defsym/exe -72: + grep -q '^Hello 0x10 0x2000$' -66: + on_exit -66: + echo OK -66: OK -66: + exit 0 -77: + cc -o out/test/elf/x86_64/disable-new-dtags/a.o -c -xc -fPIC - - 62/309 Test #66: x86_64-copyrel-relro .................... Passed 0.43 sec +69: + on_exit +69: + echo OK +69: OK +69: + exit 0 + 63/309 Test #69: x86_64-debug-macro-section .............. Passed 0.28 sec test 78 Start 78: x86_64-discard 78: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/discard.sh" 78: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 78: Test timeout computed to be: 1500 +68: + c++ -o out/test/elf/x86_64/dead-debug-sections/exe out/test/elf/x86_64/dead-debug-sections/a.o out/test/elf/x86_64/dead-debug-sections/b.o out/test/elf/x86_64/dead-debug-sections/c.o -g +78: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/discard.sh +78: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +78: ++ export LC_ALL=C +78: ++ LC_ALL=C 77: + cat -73: + nm -D out/test/elf/x86_64/defsym2/b.so -73: + on_exit -73: + echo OK -73: OK -73: + exit 0 +77: + cc -o out/test/elf/x86_64/disable-new-dtags/a.o -c -xc -fPIC - +58: + grep -q '5 0 7 2' +58: + out/test/elf/x86_64/common-archive/exe +72: + out/test/elf/x86_64/defsym/exe +72: + grep -q '^Hello 0x10 0x2000$' 71: + cc -flto -fPIC -o out/test/elf/x86_64/defsym-lto/a.o -c -xc - -71: + cat -72: + on_exit -72: + echo OK -72: OK -72: + exit 0 -78: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/discard.sh - 63/309 Test #72: x86_64-defsym ........................... Passed 0.28 sec +58: + on_exit +58: + echo OK +58: OK +58: + exit 0 + 64/309 Test #58: x86_64-common-archive ................... Passed 0.55 sec test 79 Start 79: x86_64-dso-undef 79: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/dso-undef.sh" 79: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 79: Test timeout computed to be: 1500 - 64/309 Test #73: x86_64-defsym2 .......................... Passed 0.29 sec +72: + on_exit +72: + echo OK +72: OK +72: + exit 0 +78: ++++ uname -m +78: +++ canonical_name x86_64 +78: +++ case $1 in +78: +++ echo x86_64 +71: + cat + 65/309 Test #72: x86_64-defsym ........................... Passed 0.26 sec test 80 Start 80: x86_64-dt-init 80: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/dt-init.sh" 80: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 80: Test timeout computed to be: 1500 -78: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -78: ++ export LC_ALL=C -78: ++ LC_ALL=C -78: ++++ uname -m -78: +++ canonical_name x86_64 -78: +++ case $1 in -78: +++ echo x86_64 78: ++ HOST=x86_64 78: ++ '[' -n '' ']' 78: ++ MACHINE=x86_64 @@ -5287,53 +5328,16 @@ 78: ++ echo -n 'Testing discard ... ' 78: Testing discard ... ++ t=out/test/elf/x86_64/discard 78: ++ mkdir -p out/test/elf/x86_64/discard -75: + grep -q 'undefined symbol: _Z3fooii$' out/test/elf/x86_64/demangle/log -75: + cc -B. -o out/test/elf/x86_64/demangle/exe out/test/elf/x86_64/demangle/a.o -Wl,-demangle -69: + objdump --dwarf=macro out/test/elf/x86_64/debug-macro-section/exe -69: + grep 'DW_MACRO_import -.* 0x0$' out/test/elf/x86_64/debug-macro-section/log -69: + on_exit -69: + echo OK -69: OK -69: + exit 0 -70: + readelf --dyn-syms out/test/elf/x86_64/default-symver/b.so -70: + grep -q ' foo@@bar$' -70: + on_exit -70: + echo OK -70: OK -70: + exit 0 +78: + '[' x86_64 = riscv64 -o x86_64 = riscv32 ']' +78: + cc -o out/test/elf/x86_64/discard/a.o -c -x assembler -Wa,-L - 79: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/dso-undef.sh 79: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 79: ++ export LC_ALL=C 79: ++ LC_ALL=C - 65/309 Test #69: x86_64-debug-macro-section .............. Passed 0.41 sec -test 81 - Start 81: x86_64-dt-needed - -81: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/dt-needed.sh" -81: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -81: Test timeout computed to be: 1500 -78: + '[' x86_64 = riscv64 -o x86_64 = riscv32 ']' -78: + cat - 66/309 Test #70: x86_64-default-symver ................... Passed 0.40 sec -test 82 - Start 82: x86_64-duplicate-error - -82: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/duplicate-error.sh" -82: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -82: Test timeout computed to be: 1500 -80: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/dt-init.sh -80: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -80: ++ export LC_ALL=C -80: ++ LC_ALL=C -67: + 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 -78: + cc -o out/test/elf/x86_64/discard/a.o -c -x assembler -Wa,-L - -77: + 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 -81: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/dt-needed.sh 79: ++++ uname -m 79: +++ canonical_name x86_64 79: +++ case $1 in 79: +++ echo x86_64 -58: + out/test/elf/x86_64/common-archive/exe 79: ++ HOST=x86_64 79: ++ '[' -n '' ']' 79: ++ MACHINE=x86_64 @@ -5342,45 +5346,51 @@ 79: ++ CXX=c++ 79: ++ GCC=gcc 79: ++ GXX=g++ -81: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -81: ++ export LC_ALL=C -81: ++ LC_ALL=C -74: + grep -Fq ' as core::iter::iterator::Iterator>::rposition::::{closure#0}' out/test/elf/x86_64/demangle-rust/log 79: ++ OBJDUMP=objdump 79: ++ OBJCOPY=objcopy 79: ++ STRIP=strip 79: ++ QEMU= 79: ++ trap 'on_error $LINENO' ERR 79: ++ trap on_exit EXIT -58: + grep -q '5 0 7 2' -76: + grep -q 'dependency-file/exe:.*/a.o ' out/test/elf/x86_64/dependency-file/dep -82: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/duplicate-error.sh -82: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +67: + grep -q '42 42 1' +67: + out/test/elf/x86_64/copyrel/exe +67: + on_exit +67: + echo OK +67: OK +67: + exit 0 +70: + readelf --dyn-syms out/test/elf/x86_64/default-symver/b.so +70: + grep -q ' foo@@bar$' +70: + on_exit +70: + echo OK +70: OK +70: + exit 0 +78: + cat 79: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/dso-undef.sh .sh + 66/309 Test #67: x86_64-copyrel .......................... Passed 0.36 sec +test 81 + Start 81: x86_64-dt-needed + +81: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/dt-needed.sh" +81: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +81: Test timeout computed to be: 1500 + 67/309 Test #70: x86_64-default-symver ................... Passed 0.32 sec +test 82 + Start 82: x86_64-duplicate-error + +82: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/duplicate-error.sh" +82: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +82: Test timeout computed to be: 1500 +78: + ./mold -o out/test/elf/x86_64/discard/exe out/test/elf/x86_64/discard/a.o 79: ++ testname=dso-undef 79: ++ echo -n 'Testing dso-undef ... ' 79: Testing dso-undef ... ++ t=out/test/elf/x86_64/dso-undef 79: ++ mkdir -p out/test/elf/x86_64/dso-undef -82: ++ export LC_ALL=C -82: ++ LC_ALL=C -78: + ./mold -o out/test/elf/x86_64/discard/exe out/test/elf/x86_64/discard/a.o +79: + cc -fPIC -o out/test/elf/x86_64/dso-undef/a.o -c -xc - +80: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/dt-init.sh +80: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +80: ++ export LC_ALL=C +80: ++ LC_ALL=C 80: ++++ uname -m -58: + on_exit -58: + echo OK -58: OK -58: + exit 0 -81: ++++ uname -m -74: + on_exit -74: + echo OK -74: OK -74: + exit 0 - 67/309 Test #58: x86_64-common-archive ................... Passed 0.77 sec -test 83 - Start 83: x86_64-dynamic-dt-debug - -83: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/dynamic-dt-debug.sh" -83: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -83: Test timeout computed to be: 1500 80: +++ canonical_name x86_64 80: +++ case $1 in 80: +++ echo x86_64 @@ -5399,6 +5409,24 @@ 80: ++ trap 'on_error $LINENO' ERR 80: ++ trap on_exit EXIT 80: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/dt-init.sh .sh +80: ++ testname=dt-init +80: ++ echo -n 'Testing dt-init ... ' +80: Testing dt-init ... ++ t=out/test/elf/x86_64/dt-init +80: ++ mkdir -p out/test/elf/x86_64/dt-init +80: + '[' x86_64 = riscv64 -o x86_64 = riscv32 ']' +80: + '[' x86_64 = arm -o x86_64 = aarch64 ']' +80: + cc -c -fPIC -o out/test/elf/x86_64/dt-init/a.o -xc - +80: + cat +25: + grep -q '^76$' +25: + out/test/elf/x86_64/x86_64_reloc/exe +77: + 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 +73: + grep -q bar +73: + nm -D out/test/elf/x86_64/defsym2/b.so +81: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/dt-needed.sh +81: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +81: ++ export LC_ALL=C +81: ++ LC_ALL=C +81: ++++ uname -m 81: +++ canonical_name x86_64 81: +++ case $1 in 81: +++ echo x86_64 @@ -5416,30 +5444,58 @@ 81: ++ QEMU= 81: ++ trap 'on_error $LINENO' ERR 81: ++ trap on_exit EXIT -82: ++++ uname -m +81: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/dt-needed.sh .sh +81: ++ testname=dt-needed +81: ++ echo -n 'Testing dt-needed ... ' +81: Testing dt-needed ... ++ t=out/test/elf/x86_64/dt-needed +81: ++ mkdir -p out/test/elf/x86_64/dt-needed +25: + cat +81: + cat +71: + cc -B. -flto -o out/test/elf/x86_64/defsym-lto/exe out/test/elf/x86_64/defsym-lto/a.o -Wl,-defsym,live_func=dead_func +79: + cat +81: + cc -c -o out/test/elf/x86_64/dt-needed/a.o -xc - +73: + on_exit +73: + echo OK +73: OK +73: + exit 0 +25: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -no-pie + 68/309 Test #73: x86_64-defsym2 .......................... Passed 0.26 sec +test 83 + Start 83: x86_64-dynamic-dt-debug + +83: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/dynamic-dt-debug.sh" +83: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +83: Test timeout computed to be: 1500 +76: + grep -q 'dependency-file/exe:.*/a.o ' out/test/elf/x86_64/dependency-file/dep 76: + grep -q '.*/a.o:$' out/test/elf/x86_64/dependency-file/dep -79: + cc -fPIC -o out/test/elf/x86_64/dso-undef/a.o -c -xc - - 68/309 Test #74: x86_64-demangle-rust .................... Passed 0.34 sec +76: + on_exit +76: + echo OK +76: OK +76: + exit 0 +75: + grep -q 'undefined symbol: _Z3fooii$' out/test/elf/x86_64/demangle/log +82: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/duplicate-error.sh +82: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +82: ++ export LC_ALL=C +82: ++ LC_ALL=C + 69/309 Test #76: x86_64-dependency-file .................. Passed 0.19 sec test 84 Start 84: x86_64-dynamic-linker 84: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/dynamic-linker.sh" 84: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 84: Test timeout computed to be: 1500 -80: ++ testname=dt-init -80: ++ echo -n 'Testing dt-init ... ' -80: Testing dt-init ... ++ t=out/test/elf/x86_64/dt-init -80: ++ mkdir -p out/test/elf/x86_64/dt-init -80: + '[' x86_64 = riscv64 -o x86_64 = riscv32 ']' -80: + '[' x86_64 = arm -o x86_64 = aarch64 ']' -81: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/dt-needed.sh .sh -81: ++ testname=dt-needed -81: ++ echo -n 'Testing dt-needed ... ' -81: Testing dt-needed ... ++ t=out/test/elf/x86_64/dt-needed -81: ++ mkdir -p out/test/elf/x86_64/dt-needed +82: ++++ uname -m +83: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/dynamic-dt-debug.sh +83: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +83: ++ export LC_ALL=C +83: ++ LC_ALL=C 82: +++ canonical_name x86_64 82: +++ case $1 in 82: +++ echo x86_64 +83: ++++ uname -m +68: + out/test/elf/x86_64/dead-debug-sections/exe +84: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/dynamic-linker.sh +68: + grep -q 'Hello world' 82: ++ HOST=x86_64 82: ++ '[' -n '' ']' 82: ++ MACHINE=x86_64 @@ -5454,39 +5510,6 @@ 82: ++ QEMU= 82: ++ trap 'on_error $LINENO' ERR 82: ++ trap on_exit EXIT -82: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/duplicate-error.sh .sh -82: ++ testname=duplicate-error -82: ++ echo -n 'Testing duplicate-error ... ' -82: Testing duplicate-error ... ++ t=out/test/elf/x86_64/duplicate-error -82: ++ mkdir -p out/test/elf/x86_64/duplicate-error -76: + on_exit -76: + echo OK -76: OK -76: + exit 0 -79: + cat -83: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/dynamic-dt-debug.sh -83: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -83: ++ export LC_ALL=C -83: ++ LC_ALL=C -64: + out/test/elf/x86_64/copyrel-alignment/exe1 -64: + readelf -W --sections out/test/elf/x86_64/copyrel-alignment/exe1 -64: + grep -q '\.copyrel.* 32$' -71: + cc -B. -flto -o out/test/elf/x86_64/defsym-lto/exe out/test/elf/x86_64/defsym-lto/a.o -Wl,-defsym,live_func=dead_func -75: + grep -Eq 'undefined symbol: foo\(int, int\)$' out/test/elf/x86_64/demangle/log -78: + readelf --symbols out/test/elf/x86_64/discard/exe - 69/309 Test #76: x86_64-dependency-file .................. Passed 0.34 sec -test 85 - Start 85: x86_64-dynamic-list - -85: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/dynamic-list.sh" -85: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -85: Test timeout computed to be: 1500 -80: + cat -80: + cc -c -fPIC -o out/test/elf/x86_64/dt-init/a.o -xc - -81: + cc -c -o out/test/elf/x86_64/dt-needed/a.o -xc - -82: + cat -82: + cc -o out/test/elf/x86_64/duplicate-error/a.o -c -x assembler - -83: ++++ uname -m 83: +++ canonical_name x86_64 83: +++ case $1 in 83: +++ echo x86_64 @@ -5504,39 +5527,34 @@ 83: ++ QEMU= 83: ++ trap 'on_error $LINENO' ERR 83: ++ trap on_exit EXIT -64: + cc -B. -o out/test/elf/x86_64/copyrel-alignment/exe2 out/test/elf/x86_64/copyrel-alignment/d.o out/test/elf/x86_64/copyrel-alignment/b.so -no-pie -75: + cc -B. -o out/test/elf/x86_64/demangle/exe out/test/elf/x86_64/demangle/a.o -78: + grep -Fq _start out/test/elf/x86_64/discard/log -84: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/dynamic-linker.sh -81: + cat -83: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/dynamic-dt-debug.sh .sh -68: + out/test/elf/x86_64/dead-debug-sections/exe -82: + ./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 -78: + grep -Fq foo out/test/elf/x86_64/discard/log -68: + grep -q 'Hello world' -25: + out/test/elf/x86_64/x86_64_reloc/exe 84: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 84: ++ export LC_ALL=C -68: + dwarfdump out/test/elf/x86_64/dead-debug-sections/exe 84: ++ LC_ALL=C -85: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/dynamic-list.sh +82: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/duplicate-error.sh .sh +83: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/dynamic-dt-debug.sh .sh +82: ++ testname=duplicate-error +82: ++ echo -n 'Testing duplicate-error ... ' +82: Testing duplicate-error ... ++ t=out/test/elf/x86_64/duplicate-error +82: ++ mkdir -p out/test/elf/x86_64/duplicate-error 83: ++ testname=dynamic-dt-debug 83: ++ echo -n 'Testing dynamic-dt-debug ... ' 83: Testing dynamic-dt-debug ... ++ t=out/test/elf/x86_64/dynamic-dt-debug 83: ++ mkdir -p out/test/elf/x86_64/dynamic-dt-debug -85: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -85: ++ export LC_ALL=C -85: ++ LC_ALL=C -78: + grep -Fq .Lbar out/test/elf/x86_64/discard/log -25: + grep -q '^76$' +64: + out/test/elf/x86_64/copyrel-alignment/exe1 +68: + dwarfdump out/test/elf/x86_64/dead-debug-sections/exe +78: + readelf --symbols out/test/elf/x86_64/discard/exe +83: + cat +82: + cc -o out/test/elf/x86_64/duplicate-error/a.o -c -x assembler - 84: ++++ uname -m -25: + cat +75: + cc -B. -o out/test/elf/x86_64/demangle/exe out/test/elf/x86_64/demangle/a.o -Wl,-demangle +64: + readelf -W --sections out/test/elf/x86_64/copyrel-alignment/exe1 84: +++ canonical_name x86_64 84: +++ case $1 in 84: +++ echo x86_64 84: ++ HOST=x86_64 84: ++ '[' -n '' ']' 84: ++ MACHINE=x86_64 +82: + cat 84: ++ '[' -n '' ']' 84: ++ CC=cc 84: ++ CXX=c++ @@ -5548,37 +5566,78 @@ 84: ++ QEMU= 84: ++ trap 'on_error $LINENO' ERR 84: ++ trap on_exit EXIT -83: + cat -83: + cc -o out/test/elf/x86_64/dynamic-dt-debug/a.o -c -xc - +78: + grep -Fq _start out/test/elf/x86_64/discard/log +53: + grep -q 'GNU.*0x00000014.*NT_GNU_BUILD_ID' 68: + on_exit 68: + echo OK 68: OK 68: + exit 0 +83: + cc -o out/test/elf/x86_64/dynamic-dt-debug/a.o -c -xc - +80: + cat +53: + readelf -n out/test/elf/x86_64/build-id/exe +78: + grep -Fq foo out/test/elf/x86_64/discard/log +78: + grep -Fq .Lbar out/test/elf/x86_64/discard/log 84: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/dynamic-linker.sh .sh - 70/309 Test #68: x86_64-dead-debug-sections .............. Passed 0.56 sec -test 86 - Start 86: x86_64-dynamic-list2 +64: + grep -q '\.copyrel.* 32$' +80: + cc -c -fPIC -o out/test/elf/x86_64/dt-init/b.o -xc - +53: + cc -B. -o out/test/elf/x86_64/build-id/exe out/test/elf/x86_64/build-id/a.c -Wl,-build-id=sha256 +82: + ./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 + 70/309 Test #68: x86_64-dead-debug-sections .............. Passed 0.40 sec +test 85 + Start 85: x86_64-dynamic-list -86: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/dynamic-list2.sh" -86: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -86: Test timeout computed to be: 1500 +85: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/dynamic-list.sh" +85: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +85: Test timeout computed to be: 1500 +79: + cc -B. -o out/test/elf/x86_64/dso-undef/b.so -shared out/test/elf/x86_64/dso-undef/a.o 84: ++ testname=dynamic-linker 84: ++ echo -n 'Testing dynamic-linker ... ' 84: Testing dynamic-linker ... ++ t=out/test/elf/x86_64/dynamic-linker 84: ++ mkdir -p out/test/elf/x86_64/dynamic-linker -84: + cc -c -o out/test/elf/x86_64/dynamic-linker/a.o -x assembler - 84: + cat -25: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -no-pie +84: + cc -c -o out/test/elf/x86_64/dynamic-linker/a.o -x assembler - +64: + cc -B. -o out/test/elf/x86_64/copyrel-alignment/exe2 out/test/elf/x86_64/copyrel-alignment/d.o out/test/elf/x86_64/copyrel-alignment/b.so -no-pie 78: + ./mold -o out/test/elf/x86_64/discard/exe out/test/elf/x86_64/discard/a.o --discard-locals -67: + grep -q '42 42 1' -67: + out/test/elf/x86_64/copyrel/exe -67: + on_exit -67: + echo OK -67: OK -67: + exit 0 -53: + grep -q 'GNU.*0x00000020.*NT_GNU_BUILD_ID' -53: + readelf -n out/test/elf/x86_64/build-id/exe +81: + 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 +85: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/dynamic-list.sh +85: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +85: ++ export LC_ALL=C +85: ++ LC_ALL=C +84: + ./mold -o out/test/elf/x86_64/dynamic-linker/exe out/test/elf/x86_64/dynamic-linker/a.o +74: + grep -Fq ' as core::iter::iterator::Iterator>::rposition::::{closure#0}' out/test/elf/x86_64/demangle-rust/log +78: + readelf --symbols out/test/elf/x86_64/discard/exe +74: + on_exit +74: + echo OK +74: OK +74: + exit 0 + 71/309 Test #74: x86_64-demangle-rust .................... Passed 0.27 sec +test 86 + Start 86: x86_64-dynamic-list2 + +86: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/dynamic-list2.sh" +86: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +86: Test timeout computed to be: 1500 +78: + grep -Fq _start out/test/elf/x86_64/discard/log +86: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/dynamic-list2.sh +78: + grep -Fq foo out/test/elf/x86_64/discard/log +82: + grep -q 'duplicate symbol: .*\.o: .*\.o: main' out/test/elf/x86_64/duplicate-error/log +86: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +86: ++ export LC_ALL=C +86: ++ LC_ALL=C +78: + grep -Fq .Lbar out/test/elf/x86_64/discard/log 85: ++++ uname -m +82: + on_exit +82: + echo OK +82: OK +82: + exit 0 +86: ++++ uname -m + 72/309 Test #82: x86_64-duplicate-error .................. Passed 0.09 sec +test 87 + Start 87: x86_64-dynamic-list3 + +87: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/dynamic-list3.sh" +87: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +87: Test timeout computed to be: 1500 85: +++ canonical_name x86_64 85: +++ case $1 in 85: +++ echo x86_64 @@ -5596,42 +5655,16 @@ 85: ++ QEMU= 85: ++ trap 'on_error $LINENO' ERR 85: ++ trap on_exit EXIT -77: + readelf --dynamic out/test/elf/x86_64/disable-new-dtags/b.so -77: + grep -q 'RUNPATH.*/foo' - 71/309 Test #67: x86_64-copyrel .......................... Passed 0.59 sec -test 87 - Start 87: x86_64-dynamic-list3 - -87: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/dynamic-list3.sh" -87: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -87: Test timeout computed to be: 1500 -84: + ./mold -o out/test/elf/x86_64/dynamic-linker/exe out/test/elf/x86_64/dynamic-linker/a.o -53: + cc -B. -o out/test/elf/x86_64/build-id/exe out/test/elf/x86_64/build-id/a.c -Wl,-build-id=0xdeadbeefdeadbeef 85: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/dynamic-list.sh .sh 85: ++ testname=dynamic-list 85: ++ echo -n 'Testing dynamic-list ... ' 85: Testing dynamic-list ... ++ t=out/test/elf/x86_64/dynamic-list 85: ++ mkdir -p out/test/elf/x86_64/dynamic-list -77: + 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 -79: + cc -B. -o out/test/elf/x86_64/dso-undef/b.so -shared out/test/elf/x86_64/dso-undef/a.o -86: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/dynamic-list2.sh -80: + cc -c -fPIC -o out/test/elf/x86_64/dt-init/b.o -xc - -80: + cat -78: + readelf --symbols out/test/elf/x86_64/discard/exe -86: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -86: ++ export LC_ALL=C -86: ++ LC_ALL=C -82: + grep -q 'duplicate symbol: .*\.o: .*\.o: main' out/test/elf/x86_64/duplicate-error/log -87: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/dynamic-list3.sh -85: + cat -86: ++++ uname -m +83: + cc -B. -o out/test/elf/x86_64/dynamic-dt-debug/exe out/test/elf/x86_64/dynamic-dt-debug/a.o +78: + ./mold -o out/test/elf/x86_64/discard/exe out/test/elf/x86_64/discard/a.o --discard-all 86: +++ canonical_name x86_64 86: +++ case $1 in 86: +++ echo x86_64 -87: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -87: ++ export LC_ALL=C -87: ++ LC_ALL=C -78: + grep -Fq _start out/test/elf/x86_64/discard/log 86: ++ HOST=x86_64 86: ++ '[' -n '' ']' 86: ++ MACHINE=x86_64 @@ -5646,28 +5679,26 @@ 86: ++ QEMU= 86: ++ trap 'on_error $LINENO' ERR 86: ++ trap on_exit EXIT -82: + on_exit -82: + echo OK -82: OK -82: + exit 0 86: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/dynamic-list2.sh .sh -78: + grep -Fq foo out/test/elf/x86_64/discard/log -75: + grep -Eq 'undefined symbol: foo\(int, int\)$' out/test/elf/x86_64/demangle/log -85: + cc -o out/test/elf/x86_64/dynamic-list/a.o -c -xc - -87: ++++ uname -m - 72/309 Test #82: x86_64-duplicate-error .................. Passed 0.15 sec -test 88 - Start 88: x86_64-dynamic - -88: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/dynamic.sh" -88: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -88: Test timeout computed to be: 1500 86: ++ testname=dynamic-list2 86: ++ echo -n 'Testing dynamic-list2 ... ' 86: Testing dynamic-list2 ... ++ t=out/test/elf/x86_64/dynamic-list2 86: ++ mkdir -p out/test/elf/x86_64/dynamic-list2 +77: + readelf --dynamic out/test/elf/x86_64/disable-new-dtags/b.so +77: + grep -q 'RUNPATH.*/foo' +85: + cat +85: + cc -o out/test/elf/x86_64/dynamic-list/a.o -c -xc - +87: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/dynamic-list3.sh +86: + cat 86: + cc -o out/test/elf/x86_64/dynamic-list2/a.o -c -xc - -75: + cc -c -o out/test/elf/x86_64/demangle/b.o -xc - +77: + 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 +80: + cc -B. -o out/test/elf/x86_64/dt-init/c.so -shared out/test/elf/x86_64/dt-init/b.o +87: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +87: ++ export LC_ALL=C +87: ++ LC_ALL=C +87: ++++ uname -m +84: + readelf --sections out/test/elf/x86_64/dynamic-linker/exe +84: + grep -Fq .interp out/test/elf/x86_64/dynamic-linker/log 87: +++ canonical_name x86_64 87: +++ case $1 in 87: +++ echo x86_64 @@ -5685,33 +5716,86 @@ 87: ++ QEMU= 87: ++ trap 'on_error $LINENO' ERR 87: ++ trap on_exit EXIT +78: + readelf --symbols out/test/elf/x86_64/discard/exe +84: + readelf --dynamic out/test/elf/x86_64/dynamic-linker/exe 87: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/dynamic-list3.sh .sh 87: ++ testname=dynamic-list3 87: ++ echo -n 'Testing dynamic-list3 ... ' 87: Testing dynamic-list3 ... ++ t=out/test/elf/x86_64/dynamic-list3 87: ++ mkdir -p out/test/elf/x86_64/dynamic-list3 -83: + cc -B. -o out/test/elf/x86_64/dynamic-dt-debug/exe out/test/elf/x86_64/dynamic-dt-debug/a.o -81: + 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 -84: + readelf --sections out/test/elf/x86_64/dynamic-linker/exe +78: + grep -Fq _start out/test/elf/x86_64/discard/log +84: + ./mold -o out/test/elf/x86_64/dynamic-linker/exe out/test/elf/x86_64/dynamic-linker/a.o --dynamic-linker=/foo/bar +87: + cat +78: + grep -Fq foo out/test/elf/x86_64/discard/log 78: + grep -Fq .Lbar out/test/elf/x86_64/discard/log +78: + ./mold -o out/test/elf/x86_64/discard/exe out/test/elf/x86_64/discard/a.o --strip-all +79: + cat +79: + cc -o out/test/elf/x86_64/dso-undef/c.o -c -xc - 87: + cat -84: + grep -Fq .interp out/test/elf/x86_64/dynamic-linker/log +87: + c++ -fPIC -c -o out/test/elf/x86_64/dynamic-list3/b.o -xc - +25: + out/test/elf/x86_64/x86_64_reloc/exe +25: + grep -q '^76$' +25: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -pie 86: + cat -78: + ./mold -o out/test/elf/x86_64/discard/exe out/test/elf/x86_64/discard/a.o --discard-all +86: + c++ -o out/test/elf/x86_64/dynamic-list2/b.o -c -xc++ - +85: + cc -B. -o out/test/elf/x86_64/dynamic-list/exe out/test/elf/x86_64/dynamic-list/a.o +64: + out/test/elf/x86_64/copyrel-alignment/exe2 +75: + grep -Eq 'undefined symbol: foo\(int, int\)$' out/test/elf/x86_64/demangle/log +84: + readelf --sections out/test/elf/x86_64/dynamic-linker/exe +64: + readelf -W --sections out/test/elf/x86_64/copyrel-alignment/exe2 +75: + cc -B. -o out/test/elf/x86_64/demangle/exe out/test/elf/x86_64/demangle/a.o +78: + readelf --symbols out/test/elf/x86_64/discard/exe +64: + grep -q '\.copyrel.* 8$' +64: + cc -B. -o out/test/elf/x86_64/copyrel-alignment/exe3 out/test/elf/x86_64/copyrel-alignment/d.o out/test/elf/x86_64/copyrel-alignment/c.so -no-pie +84: + grep -Fq .interp out/test/elf/x86_64/dynamic-linker/log +79: + rm -f out/test/elf/x86_64/dso-undef/d.a +84: + on_exit +84: + echo OK +84: OK +84: + exit 0 + 73/309 Test #84: x86_64-dynamic-linker ................... Passed 0.15 sec +test 88 + Start 88: x86_64-dynamic + +88: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/dynamic.sh" +88: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +88: Test timeout computed to be: 1500 +78: + grep -Fq _start out/test/elf/x86_64/discard/log +78: + grep -Fq foo out/test/elf/x86_64/discard/log +78: + grep -Fq .Lbar out/test/elf/x86_64/discard/log +79: + ar rcs out/test/elf/x86_64/dso-undef/d.a out/test/elf/x86_64/dso-undef/c.o +79: + cc -o out/test/elf/x86_64/dso-undef/e.o -c -xc - +81: + cc -B. -shared -o out/test/elf/x86_64/dt-needed/libbar.so out/test/elf/x86_64/dt-needed/a.o +83: + readelf --dynamic out/test/elf/x86_64/dynamic-dt-debug/exe +78: + on_exit +78: + echo OK +78: OK +78: + exit 0 +87: + 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 88: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/dynamic.sh + 74/309 Test #78: x86_64-discard .......................... Passed 0.24 sec +test 89 + Start 89: x86_64-emit-relocs-cpp + +89: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/emit-relocs-cpp.sh" +89: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +89: Test timeout computed to be: 1500 88: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 88: ++ export LC_ALL=C 88: ++ LC_ALL=C -75: + cat -84: + readelf --dynamic out/test/elf/x86_64/dynamic-linker/exe +79: + cat 88: ++++ uname -m +83: + grep -Fq '(DEBUG)' out/test/elf/x86_64/dynamic-dt-debug/log +80: + 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 88: +++ canonical_name x86_64 88: +++ case $1 in 88: +++ echo x86_64 +89: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/emit-relocs-cpp.sh 88: ++ HOST=x86_64 88: ++ '[' -n '' ']' 88: ++ MACHINE=x86_64 88: ++ '[' -n '' ']' +89: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 88: ++ CC=cc 88: ++ CXX=c++ 88: ++ GCC=gcc @@ -5720,71 +5804,26 @@ 88: ++ OBJCOPY=objcopy 88: ++ STRIP=strip 88: ++ QEMU= +89: ++ export LC_ALL=C +89: ++ LC_ALL=C 88: ++ trap 'on_error $LINENO' ERR 88: ++ trap on_exit EXIT -87: + c++ -fPIC -c -o out/test/elf/x86_64/dynamic-list3/b.o -xc - -87: + cat -84: + ./mold -o out/test/elf/x86_64/dynamic-linker/exe out/test/elf/x86_64/dynamic-linker/a.o --dynamic-linker=/foo/bar -80: + cc -B. -o out/test/elf/x86_64/dt-init/c.so -shared out/test/elf/x86_64/dt-init/b.o -78: + readelf --symbols out/test/elf/x86_64/discard/exe 88: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/dynamic.sh .sh -85: + cc -B. -o out/test/elf/x86_64/dynamic-list/exe out/test/elf/x86_64/dynamic-list/a.o +86: + 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 +53: + readelf -n out/test/elf/x86_64/build-id/exe +53: + grep -q 'GNU.*0x00000020.*NT_GNU_BUILD_ID' +83: + cat +53: + cc -B. -o out/test/elf/x86_64/build-id/exe out/test/elf/x86_64/build-id/a.c -Wl,-build-id=0xdeadbeefdeadbeef 88: ++ testname=dynamic 88: ++ echo -n 'Testing dynamic ... ' 88: Testing dynamic ... ++ t=out/test/elf/x86_64/dynamic 88: ++ mkdir -p out/test/elf/x86_64/dynamic -64: + out/test/elf/x86_64/copyrel-alignment/exe2 -78: + grep -Fq _start out/test/elf/x86_64/discard/log -88: + echo '.globl main; main:' -88: + cc -o out/test/elf/x86_64/dynamic/a.o -c -x assembler - -78: + grep -Fq foo out/test/elf/x86_64/discard/log -78: + grep -Fq .Lbar out/test/elf/x86_64/discard/log -79: + cc -o out/test/elf/x86_64/dso-undef/c.o -c -xc - -79: + cat -78: + ./mold -o out/test/elf/x86_64/discard/exe out/test/elf/x86_64/discard/a.o --strip-all -64: + grep -q '\.copyrel.* 8$' -64: + readelf -W --sections out/test/elf/x86_64/copyrel-alignment/exe2 -77: + readelf --dynamic out/test/elf/x86_64/disable-new-dtags/b.so -88: + cc -B. -o out/test/elf/x86_64/dynamic/exe out/test/elf/x86_64/dynamic/a.o -86: + c++ -o out/test/elf/x86_64/dynamic-list2/b.o -c -xc++ - -64: + cc -B. -o out/test/elf/x86_64/copyrel-alignment/exe3 out/test/elf/x86_64/copyrel-alignment/d.o out/test/elf/x86_64/copyrel-alignment/c.so -no-pie -86: + cat -77: + grep -q 'RUNPATH.*/foo' -87: + 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 -83: + readelf --dynamic out/test/elf/x86_64/dynamic-dt-debug/exe -84: + readelf --sections out/test/elf/x86_64/dynamic-linker/exe -77: + 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 -25: + grep -q '^76$' -25: + out/test/elf/x86_64/x86_64_reloc/exe -84: + grep -Fq .interp out/test/elf/x86_64/dynamic-linker/log -83: + grep -Fq '(DEBUG)' out/test/elf/x86_64/dynamic-dt-debug/log -75: + cc -B. -o out/test/elf/x86_64/demangle/exe out/test/elf/x86_64/demangle/b.o -Wl,-demangle -25: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -pie -79: + rm -f out/test/elf/x86_64/dso-undef/d.a -83: + cc -o out/test/elf/x86_64/dynamic-dt-debug/b.o -c -xc - -83: + cat -79: + ar rcs out/test/elf/x86_64/dso-undef/d.a out/test/elf/x86_64/dso-undef/c.o -84: + on_exit -84: + echo OK -84: OK -84: + exit 0 - 73/309 Test #84: x86_64-dynamic-linker ................... Passed 0.24 sec -test 89 - Start 89: x86_64-emit-relocs-cpp - -89: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/emit-relocs-cpp.sh" -89: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -89: Test timeout computed to be: 1500 -80: + 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 -78: + readelf --symbols out/test/elf/x86_64/discard/exe -89: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/emit-relocs-cpp.sh -89: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -89: ++ export LC_ALL=C -89: ++ LC_ALL=C 89: ++++ uname -m 89: +++ canonical_name x86_64 89: +++ case $1 in 89: +++ echo x86_64 +88: + echo '.globl main; main:' +88: + cc -o out/test/elf/x86_64/dynamic/a.o -c -x assembler - 89: ++ HOST=x86_64 89: ++ '[' -n '' ']' 89: ++ MACHINE=x86_64 @@ -5799,59 +5838,73 @@ 89: ++ QEMU= 89: ++ trap 'on_error $LINENO' ERR 89: ++ trap on_exit EXIT -78: + grep -Fq _start out/test/elf/x86_64/discard/log -79: + cc -o out/test/elf/x86_64/dso-undef/e.o -c -xc - -79: + cat -81: + cc -B. -shared -o out/test/elf/x86_64/dt-needed/libbar.so out/test/elf/x86_64/dt-needed/a.o -78: + grep -Fq foo out/test/elf/x86_64/discard/log 89: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/emit-relocs-cpp.sh .sh -78: + grep -Fq .Lbar out/test/elf/x86_64/discard/log +79: + 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 +85: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list/exe +88: + cc -B. -o out/test/elf/x86_64/dynamic/exe out/test/elf/x86_64/dynamic/a.o +83: + cc -o out/test/elf/x86_64/dynamic-dt-debug/b.o -c -xc - 89: ++ testname=emit-relocs-cpp 89: ++ echo -n 'Testing emit-relocs-cpp ... ' 89: Testing emit-relocs-cpp ... ++ t=out/test/elf/x86_64/emit-relocs-cpp 89: ++ mkdir -p out/test/elf/x86_64/emit-relocs-cpp -83: + cc -B. -o out/test/elf/x86_64/dynamic-dt-debug/c.so out/test/elf/x86_64/dynamic-dt-debug/b.o -shared -78: + on_exit -78: + echo OK -78: OK -78: + exit 0 - 74/309 Test #78: x86_64-discard .......................... Passed 0.38 sec -test 90 - Start 90: x86_64-emit-relocs-dead-sections - -90: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/emit-relocs-dead-sections.sh" -90: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -90: Test timeout computed to be: 1500 -85: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list/exe 85: + grep -q ' foo$' out/test/elf/x86_64/dynamic-list/log +85: + grep -q ' bar$' out/test/elf/x86_64/dynamic-list/log 89: + '[' x86_64 = arm ']' 89: + cat -53: + grep -q 'Build ID: deadbeefdeadbeef' 89: + c++ -o out/test/elf/x86_64/emit-relocs-cpp/a.o -c -fPIC -xc++ - -53: + readelf -n out/test/elf/x86_64/build-id/exe -90: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/emit-relocs-dead-sections.sh +85: + cat +77: + readelf --dynamic out/test/elf/x86_64/disable-new-dtags/b.so +77: + grep -q 'RUNPATH.*/foo' +77: + 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 +85: + 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 +81: + cat +81: + cc -c -o out/test/elf/x86_64/dt-needed/b.o -xc - +75: + grep -Eq 'undefined symbol: foo\(int, int\)$' out/test/elf/x86_64/demangle/log +25: + out/test/elf/x86_64/x86_64_reloc/exe +25: + grep -q '^76$' +25: + cat +80: + 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 +83: + cc -B. -o out/test/elf/x86_64/dynamic-dt-debug/c.so out/test/elf/x86_64/dynamic-dt-debug/b.o -shared +75: + cc -c -o out/test/elf/x86_64/demangle/b.o -xc - +87: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list3/exe1 +25: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s +75: + cat +87: + grep -q ' xyz$' out/test/elf/x86_64/dynamic-list3/log1 +87: + grep -q ' foobarzx$' out/test/elf/x86_64/dynamic-list3/log1 +87: + grep -q ' foobarcx$' out/test/elf/x86_64/dynamic-list3/log1 +87: + grep -q ' foo123bar456bx$' out/test/elf/x86_64/dynamic-list3/log1 +87: + grep -q ' foo123bar456c$' out/test/elf/x86_64/dynamic-list3/log1 +89: + c++ -B. -o out/test/elf/x86_64/emit-relocs-cpp/exe out/test/elf/x86_64/emit-relocs-cpp/a.o -Wl,-emit-relocs +64: + out/test/elf/x86_64/copyrel-alignment/exe3 +87: + grep -q ' foo123bar456x$' out/test/elf/x86_64/dynamic-list3/log1 +87: + 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 +88: + readelf --dynamic out/test/elf/x86_64/dynamic/exe +75: + cc -B. -o out/test/elf/x86_64/demangle/exe out/test/elf/x86_64/demangle/b.o -Wl,-demangle +64: + grep -q '\.copyrel.* 256$' +64: + readelf -W --sections out/test/elf/x86_64/copyrel-alignment/exe3 +86: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list2/exe +88: + grep -Eq 'Shared library:.*\blibc\b' out/test/elf/x86_64/dynamic/log +64: + on_exit +64: + echo OK +64: OK +64: + exit 0 +81: + 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 +88: + readelf -W --dyn-syms --use-dynamic out/test/elf/x86_64/dynamic/exe +86: + grep -q ' foo$' out/test/elf/x86_64/dynamic-list2/log +86: + grep -q ' bar$' out/test/elf/x86_64/dynamic-list2/log + 75/309 Test #64: x86_64-copyrel-alignment ................ Passed 0.73 sec +test 90 + Start 90: x86_64-emit-relocs-dead-sections + +90: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/emit-relocs-dead-sections.sh" +90: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +90: Test timeout computed to be: 1500 +86: + cat +86: + 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 +90: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/emit-relocs-dead-sections.sh 90: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 90: ++ export LC_ALL=C 90: ++ LC_ALL=C -53: + on_exit -53: + echo OK -53: OK -53: + exit 0 -77: + grep -q 'RPATH.*/foo' -87: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list3/exe1 - 75/309 Test #53: x86_64-build-id ......................... Passed 1.24 sec -test 91 - Start 91: x86_64-emit-relocs - -91: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/emit-relocs.sh" -91: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -91: Test timeout computed to be: 1500 -77: + readelf --dynamic out/test/elf/x86_64/disable-new-dtags/b.so -77: + on_exit -77: + echo OK -77: OK -77: + exit 0 -87: + grep -q ' xyz$' out/test/elf/x86_64/dynamic-list3/log1 90: ++++ uname -m 90: +++ canonical_name x86_64 90: +++ case $1 in @@ -5870,44 +5923,52 @@ 90: ++ QEMU= 90: ++ trap 'on_error $LINENO' ERR 90: ++ trap on_exit EXIT -75: + grep -q 'undefined symbol: Pi$' out/test/elf/x86_64/demangle/log -86: + 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 +88: + grep -Eq 'FUNC\s+GLOBAL\s+DEFAULT.*UND\s+__libc_start_main' out/test/elf/x86_64/dynamic/log2 +90: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/emit-relocs-dead-sections.sh .sh +90: ++ testname=emit-relocs-dead-sections +90: ++ echo -n 'Testing emit-relocs-dead-sections ... ' +90: Testing emit-relocs-dead-sections ... ++ t=out/test/elf/x86_64/emit-relocs-dead-sections +90: ++ mkdir -p out/test/elf/x86_64/emit-relocs-dead-sections +88: + cc -c -fPIC -o out/test/elf/x86_64/dynamic/b.o -xc - +79: + readelf --dyn-syms out/test/elf/x86_64/dso-undef/exe +79: + grep -q ' foo$' +88: + cat +79: + on_exit +79: + echo OK +79: OK +79: + exit 0 + 76/309 Test #79: x86_64-dso-undef ........................ Passed 0.40 sec +test 91 + Start 91: x86_64-emit-relocs + +91: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/emit-relocs.sh" +91: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +91: Test timeout computed to be: 1500 +90: + '[' x86_64 = sh4 ']' +90: + c++ -o out/test/elf/x86_64/emit-relocs-dead-sections/a.o -c -fPIC -xc++ -g -ffunction-sections - +90: + cat +53: + readelf -n out/test/elf/x86_64/build-id/exe +53: + grep -q 'Build ID: deadbeefdeadbeef' +71: + out/test/elf/x86_64/defsym-lto/exe +77: + readelf --dynamic out/test/elf/x86_64/disable-new-dtags/b.so 91: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/emit-relocs.sh +85: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list/exe1 +77: + grep -q 'RPATH.*/foo' 91: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 91: ++ export LC_ALL=C 91: ++ LC_ALL=C - 76/309 Test #77: x86_64-disable-new-dtags ................ Passed 0.47 sec +77: + on_exit +77: + echo OK +77: OK +77: + exit 0 +91: ++++ uname -m + 77/309 Test #77: x86_64-disable-new-dtags ................ Passed 0.48 sec test 92 Start 92: x86_64-empty-file 92: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/empty-file.sh" 92: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 92: Test timeout computed to be: 1500 -87: + grep -q ' foobarzx$' out/test/elf/x86_64/dynamic-list3/log1 -90: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/emit-relocs-dead-sections.sh .sh -90: ++ testname=emit-relocs-dead-sections -90: ++ echo -n 'Testing emit-relocs-dead-sections ... ' -90: Testing emit-relocs-dead-sections ... ++ t=out/test/elf/x86_64/emit-relocs-dead-sections -90: ++ mkdir -p out/test/elf/x86_64/emit-relocs-dead-sections -85: + grep -q ' bar$' out/test/elf/x86_64/dynamic-list/log -79: + 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 -64: + out/test/elf/x86_64/copyrel-alignment/exe3 -88: + readelf --dynamic out/test/elf/x86_64/dynamic/exe -75: + on_exit -75: + echo OK -75: OK -75: + exit 0 - 77/309 Test #75: x86_64-demangle ......................... Passed 0.65 sec -test 93 - Start 93: x86_64-empty-input - -93: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/empty-input.sh" -93: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -93: Test timeout computed to be: 1500 -90: + '[' x86_64 = sh4 ']' -90: + cat -90: + c++ -o out/test/elf/x86_64/emit-relocs-dead-sections/a.o -c -fPIC -xc++ -g -ffunction-sections - -91: ++++ uname -m 91: +++ canonical_name x86_64 91: +++ case $1 in 91: +++ echo x86_64 @@ -5925,64 +5986,57 @@ 91: ++ QEMU= 91: ++ trap 'on_error $LINENO' ERR 91: ++ trap on_exit EXIT -92: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/empty-file.sh -92: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -92: ++ export LC_ALL=C -92: ++ LC_ALL=C -85: + cat -85: + 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 -64: + readelf -W --sections out/test/elf/x86_64/copyrel-alignment/exe3 -64: + grep -q '\.copyrel.* 256$' -64: + on_exit -64: + echo OK -64: OK -64: + exit 0 -88: + grep -Eq 'Shared library:.*\blibc\b' out/test/elf/x86_64/dynamic/log -87: + grep -q ' foobarcx$' out/test/elf/x86_64/dynamic-list3/log1 - 78/309 Test #64: x86_64-copyrel-alignment ................ Passed 0.95 sec +53: + on_exit +53: + echo OK +53: OK +53: + exit 0 +71: + grep -q '^OK$' +85: + grep -q ' foo$' out/test/elf/x86_64/dynamic-list/log1 + 78/309 Test #53: x86_64-build-id ......................... Passed 1.12 sec +test 93 + Start 93: x86_64-empty-input + +93: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/empty-input.sh" +93: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +93: Test timeout computed to be: 1500 +71: + on_exit +71: + echo OK +71: OK +71: + exit 0 +85: + grep -q ' bar$' out/test/elf/x86_64/dynamic-list/log1 +85: + 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 +93: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/empty-input.sh + 79/309 Test #71: x86_64-defsym-lto ....................... Passed 0.69 sec test 94 Start 94: x86_64-empty-version 94: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/empty-version.sh" 94: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 94: Test timeout computed to be: 1500 +93: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +93: ++ export LC_ALL=C +93: ++ LC_ALL=C +93: ++++ uname -m 91: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/emit-relocs.sh .sh 91: ++ testname=emit-relocs 91: ++ echo -n 'Testing emit-relocs ... ' 91: Testing emit-relocs ... ++ t=out/test/elf/x86_64/emit-relocs 91: ++ mkdir -p out/test/elf/x86_64/emit-relocs -92: ++++ uname -m -92: +++ canonical_name x86_64 -92: +++ case $1 in -92: +++ echo x86_64 -92: ++ HOST=x86_64 -92: ++ '[' -n '' ']' -92: ++ MACHINE=x86_64 -92: ++ '[' -n '' ']' -92: ++ CC=cc -92: ++ CXX=c++ -92: ++ GCC=gcc -92: ++ GXX=g++ -92: ++ OBJDUMP=objdump -92: ++ OBJCOPY=objcopy -92: ++ STRIP=strip -92: ++ QEMU= -92: ++ trap 'on_error $LINENO' ERR -92: ++ trap on_exit EXIT -88: + readelf -W --dyn-syms --use-dynamic out/test/elf/x86_64/dynamic/exe -87: + grep -q ' foo123bar456bx$' out/test/elf/x86_64/dynamic-list3/log1 -87: + grep -q ' foo123bar456c$' out/test/elf/x86_64/dynamic-list3/log1 -93: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/empty-input.sh -93: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -93: ++ export LC_ALL=C -93: ++ LC_ALL=C -93: ++++ uname -m +91: + cat +91: + cc -o out/test/elf/x86_64/emit-relocs/a.o -c -fPIC -xc - 25: + out/test/elf/x86_64/x86_64_reloc/exe -25: + grep -q '^76$' +25: + grep -q '^26$' 25: + cat -83: + readelf --dynamic out/test/elf/x86_64/dynamic-dt-debug/c.so -83: + grep -Fq '(DEBUG)' out/test/elf/x86_64/dynamic-dt-debug/log -71: + out/test/elf/x86_64/defsym-lto/exe +94: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/empty-version.sh +25: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s +94: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +94: ++ export LC_ALL=C +94: ++ LC_ALL=C +92: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/empty-file.sh +89: + out/test/elf/x86_64/emit-relocs-cpp/exe +92: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +92: ++ export LC_ALL=C +92: ++ LC_ALL=C 93: +++ canonical_name x86_64 93: +++ case $1 in 93: +++ echo x86_64 @@ -5998,58 +6052,14 @@ 93: ++ OBJCOPY=objcopy 93: ++ STRIP=strip 93: ++ QEMU= +92: ++++ uname -m 93: ++ trap 'on_error $LINENO' ERR 93: ++ trap on_exit EXIT -92: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/empty-file.sh .sh -88: + grep -Eq 'FUNC\s+GLOBAL\s+DEFAULT.*UND\s+__libc_start_main' out/test/elf/x86_64/dynamic/log2 -81: + cat -83: + on_exit -83: + echo OK -83: OK -83: + exit 0 -92: ++ testname=empty-file -92: ++ echo -n 'Testing empty-file ... ' -92: Testing empty-file ... ++ t=out/test/elf/x86_64/empty-file -92: ++ mkdir -p out/test/elf/x86_64/empty-file -71: + grep -q '^OK$' -71: + on_exit -71: + echo OK -71: OK -71: + exit 0 -25: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -91: + cat +94: ++++ uname -m +80: + 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 93: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/empty-input.sh .sh - 79/309 Test #71: x86_64-defsym-lto ....................... Passed 0.81 sec -test 95 - Start 95: x86_64-entry - -95: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/entry.sh" -95: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -95: Test timeout computed to be: 1500 - 80/309 Test #83: x86_64-dynamic-dt-debug ................. Passed 0.41 sec -test 96 - Start 96: x86_64-exception - -96: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/exception.sh" -96: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -96: Test timeout computed to be: 1500 -91: + cc -o out/test/elf/x86_64/emit-relocs/a.o -c -fPIC -xc - 93: ++ testname=empty-input 93: ++ echo -n 'Testing empty-input ... ' -93: Testing empty-input ... ++ t=out/test/elf/x86_64/empty-input -93: ++ mkdir -p out/test/elf/x86_64/empty-input -93: + rm -f out/test/elf/x86_64/empty-input/a.o -93: + touch out/test/elf/x86_64/empty-input/a.o -87: + grep -q ' foo123bar456x$' out/test/elf/x86_64/dynamic-list3/log1 -87: + 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 -81: + cc -c -o out/test/elf/x86_64/dt-needed/b.o -xc - -88: + cat -88: + cc -c -fPIC -o out/test/elf/x86_64/dynamic/b.o -xc - -94: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/empty-version.sh -94: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -94: ++ export LC_ALL=C -94: ++ LC_ALL=C -94: ++++ uname -m 94: +++ canonical_name x86_64 94: +++ case $1 in 94: +++ echo x86_64 @@ -6067,24 +6077,103 @@ 94: ++ QEMU= 94: ++ trap 'on_error $LINENO' ERR 94: ++ trap on_exit EXIT -92: + cc -o out/test/elf/x86_64/empty-file/a.o -c -xc - -92: + cat -80: + 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 -93: + cc -B. -o out/test/elf/x86_64/empty-input/exe out/test/elf/x86_64/empty-input/a.o +92: +++ canonical_name x86_64 +92: +++ case $1 in +92: +++ echo x86_64 +92: ++ HOST=x86_64 +92: ++ '[' -n '' ']' +92: ++ MACHINE=x86_64 +93: Testing empty-input ... ++ t=out/test/elf/x86_64/empty-input +93: ++ mkdir -p out/test/elf/x86_64/empty-input 94: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/empty-version.sh .sh -96: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/exception.sh +89: + grep -q 'Hello world' +92: ++ '[' -n '' ']' +92: ++ CC=cc +92: ++ CXX=c++ +92: ++ GCC=gcc +92: ++ GXX=g++ +92: ++ OBJDUMP=objdump +92: ++ OBJCOPY=objcopy +92: ++ STRIP=strip +92: ++ QEMU= +92: ++ trap 'on_error $LINENO' ERR +92: ++ trap on_exit EXIT 94: ++ testname=empty-version 94: ++ echo -n 'Testing empty-version ... ' 94: Testing empty-version ... ++ t=out/test/elf/x86_64/empty-version 94: ++ mkdir -p out/test/elf/x86_64/empty-version -89: + c++ -B. -o out/test/elf/x86_64/emit-relocs-cpp/exe out/test/elf/x86_64/emit-relocs-cpp/a.o -Wl,-emit-relocs +92: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/empty-file.sh .sh +92: ++ testname=empty-file +92: ++ echo -n 'Testing empty-file ... ' +92: Testing empty-file ... ++ t=out/test/elf/x86_64/empty-file +92: ++ mkdir -p out/test/elf/x86_64/empty-file +94: + cat +92: + cat +92: + cc -o out/test/elf/x86_64/empty-file/a.o -c -xc - +89: + grep -Eq 'rela?\.text' +94: + cc -fPIC -c -o out/test/elf/x86_64/empty-version/a.o -xc - +89: + readelf -SW out/test/elf/x86_64/emit-relocs-cpp/exe +93: + rm -f out/test/elf/x86_64/empty-input/a.o +88: + on_exit +88: + echo OK +88: OK +88: + exit 0 +89: + readelf -SW out/test/elf/x86_64/emit-relocs-cpp/exe + 80/309 Test #88: x86_64-dynamic .......................... Passed 0.26 sec +test 95 + Start 95: x86_64-entry + +95: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/entry.sh" +95: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +95: Test timeout computed to be: 1500 +89: + grep -Eq 'rela?\.eh_frame' +89: + on_exit +89: + echo OK +89: OK +89: + exit 0 +93: + touch out/test/elf/x86_64/empty-input/a.o +93: + cc -B. -o out/test/elf/x86_64/empty-input/exe out/test/elf/x86_64/empty-input/a.o +83: + readelf --dynamic out/test/elf/x86_64/dynamic-dt-debug/c.so +83: + grep -Fq '(DEBUG)' out/test/elf/x86_64/dynamic-dt-debug/log +83: + on_exit +83: + echo OK +83: OK +83: + exit 0 +91: + cc -B. -o out/test/elf/x86_64/emit-relocs/exe out/test/elf/x86_64/emit-relocs/a.o -Wl,-emit-relocs +81: + readelf --dynamic out/test/elf/x86_64/dt-needed/exe +75: + grep -q 'undefined symbol: Pi$' out/test/elf/x86_64/demangle/log + 81/309 Test #83: x86_64-dynamic-dt-debug ................. Passed 0.44 sec +test 96 + Start 96: x86_64-exception + +96: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/exception.sh" +96: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +96: Test timeout computed to be: 1500 + 82/309 Test #89: x86_64-emit-relocs-cpp .................. Passed 0.28 sec +test 97 + Start 97: x86_64-exclude-libs + +97: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/exclude-libs.sh" +97: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +97: Test timeout computed to be: 1500 +81: + grep -Fq 'Shared library: [libfoo]' +81: + 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 +75: + on_exit +75: + echo OK +75: OK +75: + exit 0 + 83/309 Test #75: x86_64-demangle ......................... Passed 0.65 sec +test 98 + Start 98: x86_64-exclude-libs2 + +98: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/exclude-libs2.sh" +98: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +98: Test timeout computed to be: 1500 95: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/entry.sh -85: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list/exe1 95: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 95: ++ export LC_ALL=C 95: ++ LC_ALL=C 95: ++++ uname -m -79: + grep -q ' foo$' 95: +++ canonical_name x86_64 95: +++ case $1 in 95: +++ echo x86_64 @@ -6102,36 +6191,18 @@ 95: ++ QEMU= 95: ++ trap 'on_error $LINENO' ERR 95: ++ trap on_exit EXIT -79: + readelf --dyn-syms out/test/elf/x86_64/dso-undef/exe +87: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list3/exe2 +87: + grep -q ' xyz$' out/test/elf/x86_64/dynamic-list3/log2 +87: + grep -q ' foobarzx$' out/test/elf/x86_64/dynamic-list3/log2 +87: + grep -q ' foobarcx$' out/test/elf/x86_64/dynamic-list3/log2 +92: + rm -f out/test/elf/x86_64/empty-file/b.script +92: + touch out/test/elf/x86_64/empty-file/b.script +92: + 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 +96: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/exception.sh 96: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 96: ++ export LC_ALL=C 96: ++ LC_ALL=C -94: + cc -fPIC -c -o out/test/elf/x86_64/empty-version/a.o -xc - -95: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/entry.sh .sh -85: + grep -q ' foo$' out/test/elf/x86_64/dynamic-list/log1 -79: + on_exit -79: + echo OK -79: OK -79: + exit 0 - 81/309 Test #79: x86_64-dso-undef ........................ Passed 0.53 sec -test 97 - Start 97: x86_64-exclude-libs - -97: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/exclude-libs.sh" -97: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -97: Test timeout computed to be: 1500 -95: ++ testname=entry -95: ++ echo -n 'Testing entry ... ' -95: Testing entry ... ++ t=out/test/elf/x86_64/entry -95: ++ mkdir -p out/test/elf/x86_64/entry -91: + cc -B. -o out/test/elf/x86_64/emit-relocs/exe out/test/elf/x86_64/emit-relocs/a.o -Wl,-emit-relocs -86: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list2/exe -85: + grep -q ' bar$' out/test/elf/x86_64/dynamic-list/log1 -94: + cat 96: ++++ uname -m -86: + grep -q ' foo$' out/test/elf/x86_64/dynamic-list2/log -85: + 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 -81: + 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 96: +++ canonical_name x86_64 96: +++ case $1 in 96: +++ echo x86_64 @@ -6149,39 +6220,33 @@ 96: ++ QEMU= 96: ++ trap 'on_error $LINENO' ERR 96: ++ trap on_exit EXIT -97: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/exclude-libs.sh -95: + '[' x86_64 = ppc64 ']' -86: + grep -q ' bar$' out/test/elf/x86_64/dynamic-list2/log -95: + cat -97: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -97: ++ export LC_ALL=C -97: ++ LC_ALL=C 96: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/exception.sh .sh -95: + cc -o out/test/elf/x86_64/entry/a.o -c -x assembler - +95: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/entry.sh .sh +95: ++ testname=entry +95: ++ echo -n 'Testing entry ... ' +95: Testing entry ... ++ t=out/test/elf/x86_64/entry +95: ++ mkdir -p out/test/elf/x86_64/entry +87: + grep -q ' foo123bar456bx$' out/test/elf/x86_64/dynamic-list3/log2 96: ++ testname=exception 96: ++ echo -n 'Testing exception ... ' 96: Testing exception ... ++ t=out/test/elf/x86_64/exception 96: ++ mkdir -p out/test/elf/x86_64/exception -86: + cat -88: + on_exit -88: + echo OK -88: OK -88: + exit 0 +86: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list2/exe1 +86: + grep -q ' foo$' out/test/elf/x86_64/dynamic-list2/log1 +97: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/exclude-libs.sh +97: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +97: ++ export LC_ALL=C +97: ++ LC_ALL=C +94: + cc -B. -shared -o out/test/elf/x86_64/empty-version/b.so out/test/elf/x86_64/empty-version/a.o +98: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/exclude-libs2.sh +98: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +98: ++ export LC_ALL=C +98: ++ LC_ALL=C 97: ++++ uname -m -92: + rm -f out/test/elf/x86_64/empty-file/b.script - 82/309 Test #88: x86_64-dynamic .......................... Passed 0.36 sec -test 98 - Start 98: x86_64-exclude-libs2 - -98: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/exclude-libs2.sh" -98: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -98: Test timeout computed to be: 1500 -96: + '[' x86_64 = sh4 ']' -96: + static= -96: + test_cflags -static -96: + echo 'int main() {}' -96: + cc -static -o /dev/null -xc - -86: + 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 +87: + grep -q ' foo123bar456c$' out/test/elf/x86_64/dynamic-list3/log2 +86: + grep -q ' bar$' out/test/elf/x86_64/dynamic-list2/log1 +87: + grep -q ' foo123bar456x$' out/test/elf/x86_64/dynamic-list3/log2 +25: + out/test/elf/x86_64/x86_64_reloc/exe 97: +++ canonical_name x86_64 97: +++ case $1 in 97: +++ echo x86_64 @@ -6193,32 +6258,57 @@ 97: ++ CXX=c++ 97: ++ GCC=gcc 97: ++ GXX=g++ +96: + '[' x86_64 = sh4 ']' +96: + static= +96: + test_cflags -static +96: + echo 'int main() {}' +96: + cc -static -o /dev/null -xc - 97: ++ OBJDUMP=objdump 97: ++ OBJCOPY=objcopy 97: ++ STRIP=strip 97: ++ QEMU= 97: ++ trap 'on_error $LINENO' ERR 97: ++ trap on_exit EXIT -95: + cat -95: + cc -o out/test/elf/x86_64/entry/b.o -c -xc - +87: + on_exit +87: + echo OK +87: OK +87: + exit 0 +95: + '[' x86_64 = ppc64 ']' +86: + grep -q ' _Z3bazi$' out/test/elf/x86_64/dynamic-list2/log1 +25: + grep -q '^61$' + 84/309 Test #87: x86_64-dynamic-list3 .................... Passed 0.42 sec +test 99 + Start 99: x86_64-exclude-libs3 + +99: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/exclude-libs3.sh" +99: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +99: Test timeout computed to be: 1500 97: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/exclude-libs.sh .sh 97: ++ testname=exclude-libs 97: ++ echo -n 'Testing exclude-libs ... ' 97: Testing exclude-libs ... ++ t=out/test/elf/x86_64/exclude-libs 97: ++ mkdir -p out/test/elf/x86_64/exclude-libs -92: + touch out/test/elf/x86_64/empty-file/b.script -98: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/exclude-libs2.sh -98: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -98: ++ export LC_ALL=C -98: ++ LC_ALL=C -87: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list3/exe2 -92: + 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 -97: + cat -87: + grep -q ' xyz$' out/test/elf/x86_64/dynamic-list3/log2 -97: + cc -fPIC -xc -c -o out/test/elf/x86_64/exclude-libs/a.o - +95: + cc -o out/test/elf/x86_64/entry/a.o -c -x assembler - +86: + 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 +25: + cat 93: + grep -q 'unknown file type' out/test/elf/x86_64/empty-input/log -87: + grep -q ' foobarzx$' out/test/elf/x86_64/dynamic-list3/log2 +93: + on_exit +93: + echo OK +93: OK +93: + exit 0 +85: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list/exe2 98: ++++ uname -m +95: + cat + 85/309 Test #93: x86_64-empty-input ...................... Passed 0.12 sec +test 100 + Start 100: x86_64-execstack + +100: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/execstack.sh" +100: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +100: Test timeout computed to be: 1500 +95: + cat +95: + cc -o out/test/elf/x86_64/entry/b.o -c -xc - +25: + cc -c -o out/test/elf/x86_64/x86_64_reloc/e.o out/test/elf/x86_64/x86_64_reloc/e.c -mcmodel=large -fPIC 98: +++ canonical_name x86_64 98: +++ case $1 in 98: +++ echo x86_64 @@ -6236,77 +6326,32 @@ 98: ++ QEMU= 98: ++ trap 'on_error $LINENO' ERR 98: ++ trap on_exit EXIT -87: + grep -q ' foobarcx$' out/test/elf/x86_64/dynamic-list3/log2 -94: + cc -B. -shared -o out/test/elf/x86_64/empty-version/b.so out/test/elf/x86_64/empty-version/a.o -93: + on_exit -93: + echo OK -93: OK -93: + exit 0 98: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/exclude-libs2.sh .sh 98: ++ testname=exclude-libs2 98: ++ echo -n 'Testing exclude-libs2 ... ' 98: Testing exclude-libs2 ... ++ t=out/test/elf/x86_64/exclude-libs2 98: ++ mkdir -p out/test/elf/x86_64/exclude-libs2 -87: + grep -q ' foo123bar456bx$' out/test/elf/x86_64/dynamic-list3/log2 -25: + grep -q '^26$' - 83/309 Test #93: x86_64-empty-input ...................... Passed 0.20 sec -test 99 - Start 99: x86_64-exclude-libs3 - -99: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/exclude-libs3.sh" -99: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -99: Test timeout computed to be: 1500 -87: + grep -q ' foo123bar456c$' out/test/elf/x86_64/dynamic-list3/log2 -87: + grep -q ' foo123bar456x$' out/test/elf/x86_64/dynamic-list3/log2 -87: + on_exit -87: + echo OK -87: OK -87: + exit 0 -25: + out/test/elf/x86_64/x86_64_reloc/exe -25: + cat -25: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -80: + 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 -98: + cc -x assembler -c -o out/test/elf/x86_64/exclude-libs2/a.o - -98: + cat -85: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list/exe2 -85: + grep -q ' foo$' out/test/elf/x86_64/dynamic-list/log2 -95: + cc -B. -o out/test/elf/x86_64/entry/exe1 -Wl,-e,foo out/test/elf/x86_64/entry/a.o out/test/elf/x86_64/entry/b.o - 84/309 Test #87: x86_64-dynamic-list3 .................... Passed 0.48 sec -test 100 - Start 100: x86_64-execstack - -100: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/execstack.sh" -100: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -100: Test timeout computed to be: 1500 -98: + rm -f out/test/elf/x86_64/exclude-libs2/b.a -85: + grep -q ' bar$' out/test/elf/x86_64/dynamic-list/log2 -97: + cc -fPIC -xc -c -o out/test/elf/x86_64/exclude-libs/b.o - -99: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/exclude-libs3.sh -99: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -99: ++ export LC_ALL=C -99: ++ LC_ALL=C -81: + grep -Fq 'Shared library: [libfoo]' 100: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/execstack.sh -81: + readelf --dynamic out/test/elf/x86_64/dt-needed/exe -91: + out/test/elf/x86_64/emit-relocs/exe -91: + grep -q 'Hello world' 97: + cat -85: + 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 -86: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list2/exe1 -89: + grep -q 'Hello world' -89: + out/test/elf/x86_64/emit-relocs-cpp/exe -99: ++++ uname -m 100: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 100: ++ export LC_ALL=C 100: ++ LC_ALL=C -98: + ar crs out/test/elf/x86_64/exclude-libs2/b.a out/test/elf/x86_64/exclude-libs2/a.o -91: + grep -Eq 'rela?\.text' -81: + 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 +99: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/exclude-libs3.sh +97: + cc -fPIC -xc -c -o out/test/elf/x86_64/exclude-libs/a.o - +99: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +99: ++ export LC_ALL=C +99: ++ LC_ALL=C +100: ++++ uname -m +85: + grep -q ' foo$' out/test/elf/x86_64/dynamic-list/log2 +98: + cat +98: + cc -x assembler -c -o out/test/elf/x86_64/exclude-libs2/a.o - +99: ++++ uname -m +100: +++ canonical_name x86_64 +100: +++ case $1 in +100: +++ echo x86_64 99: +++ canonical_name x86_64 99: +++ case $1 in 99: +++ echo x86_64 -91: + readelf -S out/test/elf/x86_64/emit-relocs/exe -89: + grep -Eq 'rela?\.text' 99: ++ HOST=x86_64 99: ++ '[' -n '' ']' 99: ++ MACHINE=x86_64 @@ -6321,32 +6366,6 @@ 99: ++ QEMU= 99: ++ trap 'on_error $LINENO' ERR 99: ++ trap on_exit EXIT -86: + grep -q ' foo$' out/test/elf/x86_64/dynamic-list2/log1 -89: + readelf -SW out/test/elf/x86_64/emit-relocs-cpp/exe -91: + on_exit -91: + echo OK -91: OK -91: + exit 0 - 85/309 Test #91: x86_64-emit-relocs ...................... Passed 0.28 sec -test 101 - Start 101: x86_64-execute-only - -101: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/execute-only.sh" -101: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -101: Test timeout computed to be: 1500 -100: ++++ uname -m -100: +++ canonical_name x86_64 -100: +++ case $1 in -100: +++ echo x86_64 -99: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/exclude-libs3.sh .sh -99: ++ testname=exclude-libs3 -99: ++ echo -n 'Testing exclude-libs3 ... ' -99: Testing exclude-libs3 ... ++ t=out/test/elf/x86_64/exclude-libs3 -99: ++ mkdir -p out/test/elf/x86_64/exclude-libs3 -89: + grep -Eq 'rela?\.eh_frame' -89: + readelf -SW out/test/elf/x86_64/emit-relocs-cpp/exe -86: + grep -q ' bar$' out/test/elf/x86_64/dynamic-list2/log1 -98: + cat 100: ++ HOST=x86_64 100: ++ '[' -n '' ']' 100: ++ MACHINE=x86_64 @@ -6361,88 +6380,103 @@ 100: ++ QEMU= 100: ++ trap 'on_error $LINENO' ERR 100: ++ trap on_exit EXIT -89: + on_exit -89: + echo OK -89: OK -89: + exit 0 +100: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/execstack.sh .sh +99: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/exclude-libs3.sh .sh +99: ++ testname=exclude-libs3 +99: ++ echo -n 'Testing exclude-libs3 ... ' +99: Testing exclude-libs3 ... ++ t=out/test/elf/x86_64/exclude-libs3 +99: ++ mkdir -p out/test/elf/x86_64/exclude-libs3 +100: ++ testname=execstack +100: ++ echo -n 'Testing execstack ... ' +100: Testing execstack ... ++ t=out/test/elf/x86_64/execstack +100: ++ mkdir -p out/test/elf/x86_64/execstack +98: + rm -f out/test/elf/x86_64/exclude-libs2/b.a +85: + grep -q ' bar$' out/test/elf/x86_64/dynamic-list/log2 +99: + cc -fPIC -xc -c -o out/test/elf/x86_64/exclude-libs3/a.o - +85: + 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 +99: + cat +91: + grep -q 'Hello world' +91: + out/test/elf/x86_64/emit-relocs/exe +80: + out/test/elf/x86_64/dt-init/exe1 +80: + out/test/elf/x86_64/dt-init/exe2 +25: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/e.o +98: + ar crs out/test/elf/x86_64/exclude-libs2/b.a out/test/elf/x86_64/exclude-libs2/a.o +100: + cat +100: + cc -c -xc -o out/test/elf/x86_64/execstack/a.o - +91: + readelf -S out/test/elf/x86_64/emit-relocs/exe +91: + grep -Eq 'rela?\.text' +80: + grep -q init out/test/elf/x86_64/dt-init/log1 +80: + grep -q fini out/test/elf/x86_64/dt-init/log1 +91: + on_exit +91: + echo OK +91: OK +91: + exit 0 +92: + out/test/elf/x86_64/empty-file/exe +92: + grep -q 'Hello world' +92: + on_exit +92: + echo OK +92: OK +92: + exit 0 + 86/309 Test #91: x86_64-emit-relocs ...................... Passed 0.20 sec +test 101 + Start 101: x86_64-execute-only + +101: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/execute-only.sh" +101: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +101: Test timeout computed to be: 1500 +98: + cat 98: + cc -xc -c -o out/test/elf/x86_64/exclude-libs2/c.o - - 86/309 Test #89: x86_64-emit-relocs-cpp .................. Passed 0.36 sec +97: + cc -fPIC -xc -c -o out/test/elf/x86_64/exclude-libs/b.o - +97: + cat +80: + grep -q init out/test/elf/x86_64/dt-init/log2 +80: + grep -q fini out/test/elf/x86_64/dt-init/log2 +81: + grep -Fq 'Shared library: [libfoo]' +81: + readelf --dynamic out/test/elf/x86_64/dt-needed/exe +95: + cc -B. -o out/test/elf/x86_64/entry/exe1 -Wl,-e,foo out/test/elf/x86_64/entry/a.o out/test/elf/x86_64/entry/b.o + 87/309 Test #92: x86_64-empty-file ....................... Passed 0.20 sec test 102 Start 102: x86_64-export-dynamic 102: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/export-dynamic.sh" 102: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 102: Test timeout computed to be: 1500 +81: + 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 +94: + grep -q 'bar1$' +102: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/export-dynamic.sh +99: + rm -f out/test/elf/x86_64/exclude-libs3/b.a +99: + ar crs out/test/elf/x86_64/exclude-libs3/b.a out/test/elf/x86_64/exclude-libs3/a.o 101: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/execute-only.sh +80: + on_exit +80: + echo OK +80: OK +80: + exit 0 +94: + readelf --dyn-syms out/test/elf/x86_64/empty-version/b.so +102: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +102: ++ export LC_ALL=C +102: ++ LC_ALL=C 101: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 101: ++ export LC_ALL=C 101: ++ LC_ALL=C -92: + grep -q 'Hello world' -92: + out/test/elf/x86_64/empty-file/exe -92: + on_exit -92: + echo OK -92: OK -92: + exit 0 -100: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/execstack.sh .sh - 87/309 Test #92: x86_64-empty-file ....................... Passed 0.30 sec +100: + cc -B. -o out/test/elf/x86_64/execstack/exe out/test/elf/x86_64/execstack/a.o -Wl,-z,execstack +99: + cat + 88/309 Test #80: x86_64-dt-init .......................... Passed 0.62 sec test 103 Start 103: x86_64-export-from-exe 103: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/export-from-exe.sh" 103: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 103: Test timeout computed to be: 1500 -86: + grep -q ' _Z3bazi$' out/test/elf/x86_64/dynamic-list2/log1 -99: + cat -99: + cc -fPIC -xc -c -o out/test/elf/x86_64/exclude-libs3/a.o - -100: ++ testname=execstack -100: ++ echo -n 'Testing execstack ... ' -100: Testing execstack ... ++ t=out/test/elf/x86_64/execstack -100: ++ mkdir -p out/test/elf/x86_64/execstack -100: + cc -c -xc -o out/test/elf/x86_64/execstack/a.o - -100: + cat -101: ++++ uname -m -101: +++ canonical_name x86_64 -101: +++ case $1 in -101: +++ echo x86_64 -101: ++ HOST=x86_64 -101: ++ '[' -n '' ']' -101: ++ MACHINE=x86_64 -101: ++ '[' -n '' ']' -101: ++ CC=cc -101: ++ CXX=c++ -101: ++ GCC=gcc -101: ++ GXX=g++ -101: ++ OBJDUMP=objdump -101: ++ OBJCOPY=objcopy -101: ++ STRIP=strip -101: ++ QEMU= -101: ++ trap 'on_error $LINENO' ERR -101: ++ trap on_exit EXIT -97: + rm -f out/test/elf/x86_64/exclude-libs/c.a -102: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/export-dynamic.sh -86: + 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 -101: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/execute-only.sh .sh -101: ++ testname=execute-only -101: ++ echo -n 'Testing execute-only ... ' -101: Testing execute-only ... ++ t=out/test/elf/x86_64/execute-only -101: ++ mkdir -p out/test/elf/x86_64/execute-only -102: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -102: ++ export LC_ALL=C -102: ++ LC_ALL=C -94: + readelf --dyn-syms out/test/elf/x86_64/empty-version/b.so -97: + ar crs out/test/elf/x86_64/exclude-libs/c.a out/test/elf/x86_64/exclude-libs/a.o -101: + '[' x86_64 = sparc64 ']' -101: + cat -94: + grep -q 'bar1$' -101: + cc -o out/test/elf/x86_64/execute-only/a.o -c -xc - -80: + out/test/elf/x86_64/dt-init/exe1 +99: + cc -fPIC -xc -c -o out/test/elf/x86_64/exclude-libs3/c.o - 102: ++++ uname -m -98: + 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 +103: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/export-from-exe.sh +103: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +103: ++ export LC_ALL=C +103: ++ LC_ALL=C 102: +++ canonical_name x86_64 102: +++ case $1 in 102: +++ echo x86_64 -97: + rm -f out/test/elf/x86_64/exclude-libs/d.a 102: ++ HOST=x86_64 +97: + rm -f out/test/elf/x86_64/exclude-libs/c.a 102: ++ '[' -n '' ']' 102: ++ MACHINE=x86_64 102: ++ '[' -n '' ']' @@ -6455,35 +6489,11 @@ 102: ++ STRIP=strip 102: ++ QEMU= 102: ++ trap 'on_error $LINENO' ERR +103: ++++ uname -m 102: ++ trap on_exit EXIT -103: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/export-from-exe.sh -103: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -103: ++ export LC_ALL=C -103: ++ LC_ALL=C -80: + out/test/elf/x86_64/dt-init/exe2 -97: + ar crs out/test/elf/x86_64/exclude-libs/d.a out/test/elf/x86_64/exclude-libs/b.o -94: + grep -q 'bar2$' 94: + readelf --dyn-syms out/test/elf/x86_64/empty-version/b.so -102: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/export-dynamic.sh .sh -94: + on_exit -94: + echo OK -94: OK -94: + exit 0 - 88/309 Test #94: x86_64-empty-version .................... Passed 0.32 sec -test 104 - Start 104: x86_64-fatal-warnings - -104: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/fatal-warnings.sh" -104: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -104: Test timeout computed to be: 1500 -80: + grep -q init out/test/elf/x86_64/dt-init/log1 -102: ++ testname=export-dynamic -102: ++ echo -n 'Testing export-dynamic ... ' -102: Testing export-dynamic ... ++ t=out/test/elf/x86_64/export-dynamic -102: ++ mkdir -p out/test/elf/x86_64/export-dynamic -102: + cc -o out/test/elf/x86_64/export-dynamic/a.o -c -x assembler - -102: + cat -103: ++++ uname -m +94: + grep -q 'bar2$' +101: ++++ uname -m 103: +++ canonical_name x86_64 103: +++ case $1 in 103: +++ echo x86_64 @@ -6502,42 +6512,70 @@ 103: ++ trap 'on_error $LINENO' ERR 103: ++ trap on_exit EXIT 103: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/export-from-exe.sh .sh +98: + 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 +97: + ar crs out/test/elf/x86_64/exclude-libs/c.a out/test/elf/x86_64/exclude-libs/a.o +102: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/export-dynamic.sh .sh +102: ++ testname=export-dynamic +102: ++ echo -n 'Testing export-dynamic ... ' +102: Testing export-dynamic ... ++ t=out/test/elf/x86_64/export-dynamic +102: ++ mkdir -p out/test/elf/x86_64/export-dynamic +94: + on_exit +94: + echo OK +94: OK +94: + exit 0 +101: +++ canonical_name x86_64 +101: +++ case $1 in +101: +++ echo x86_64 +101: ++ HOST=x86_64 +101: ++ '[' -n '' ']' +101: ++ MACHINE=x86_64 +101: ++ '[' -n '' ']' +101: ++ CC=cc +101: ++ CXX=c++ +101: ++ GCC=gcc +101: ++ GXX=g++ +101: ++ OBJDUMP=objdump +101: ++ OBJCOPY=objcopy +101: ++ STRIP=strip +101: ++ QEMU= +101: ++ trap 'on_error $LINENO' ERR +101: ++ trap on_exit EXIT 103: ++ testname=export-from-exe 103: ++ echo -n 'Testing export-from-exe ... ' 103: Testing export-from-exe ... ++ t=out/test/elf/x86_64/export-from-exe 103: ++ mkdir -p out/test/elf/x86_64/export-from-exe -95: + readelf -e out/test/elf/x86_64/entry/exe1 +97: + rm -f out/test/elf/x86_64/exclude-libs/d.a +97: + ar crs out/test/elf/x86_64/exclude-libs/d.a out/test/elf/x86_64/exclude-libs/b.o + 89/309 Test #94: x86_64-empty-version .................... Passed 0.22 sec +test 104 + Start 104: x86_64-fatal-warnings + +104: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/fatal-warnings.sh" +104: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +104: Test timeout computed to be: 1500 +103: + cat +103: + cc -o out/test/elf/x86_64/export-from-exe/a.o -c -xc - 97: + cat +102: + cat +102: + cc -o out/test/elf/x86_64/export-dynamic/a.o -c -x assembler - 104: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/fatal-warnings.sh -85: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list/exe3 -95: + grep -q 'Entry point address:.*0x1000$' out/test/elf/x86_64/entry/log -99: + rm -f out/test/elf/x86_64/exclude-libs3/b.a 104: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 104: ++ export LC_ALL=C 104: ++ LC_ALL=C -97: + cc -fPIC -xc -c -o out/test/elf/x86_64/exclude-libs/e.o - -85: + grep -q ' foo$' out/test/elf/x86_64/dynamic-list/log3 -103: + cc -o out/test/elf/x86_64/export-from-exe/a.o -c -xc - -85: + grep -q ' bar$' out/test/elf/x86_64/dynamic-list/log3 -80: + grep -q fini out/test/elf/x86_64/dt-init/log1 -95: + cc -B. -o out/test/elf/x86_64/entry/exe2 -Wl,-e,bar out/test/elf/x86_64/entry/a.o out/test/elf/x86_64/entry/b.o -99: + ar crs out/test/elf/x86_64/exclude-libs3/b.a out/test/elf/x86_64/exclude-libs3/a.o +101: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/execute-only.sh .sh 102: + cc -shared -fPIC -o out/test/elf/x86_64/export-dynamic/b.so -xc /dev/null -25: + out/test/elf/x86_64/x86_64_reloc/exe -25: + grep -q '^61$' -85: + on_exit -85: + echo OK -85: OK -85: + exit 0 -80: + grep -q init out/test/elf/x86_64/dt-init/log2 - 89/309 Test #85: x86_64-dynamic-list ..................... Passed 0.67 sec -test 105 - Start 105: x86_64-filler - -105: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/filler.sh" -105: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -105: Test timeout computed to be: 1500 +101: ++ testname=execute-only +101: ++ echo -n 'Testing execute-only ... ' +101: Testing execute-only ... ++ t=out/test/elf/x86_64/execute-only +101: ++ mkdir -p out/test/elf/x86_64/execute-only +101: + '[' x86_64 = sparc64 ']' +101: + cat +97: + cc -fPIC -xc -c -o out/test/elf/x86_64/exclude-libs/e.o - +86: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list2/exe2 104: ++++ uname -m +101: + cc -o out/test/elf/x86_64/execute-only/a.o -c -xc - +86: + grep -q ' foo$' out/test/elf/x86_64/dynamic-list2/log2 +99: + 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 104: +++ canonical_name x86_64 104: +++ case $1 in 104: +++ echo x86_64 @@ -6555,41 +6593,58 @@ 104: ++ QEMU= 104: ++ trap 'on_error $LINENO' ERR 104: ++ trap on_exit EXIT +86: + grep -q ' bar$' out/test/elf/x86_64/dynamic-list2/log2 +104: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/fatal-warnings.sh .sh +86: + grep -q ' _Z3bazi$' out/test/elf/x86_64/dynamic-list2/log2 +104: ++ testname=fatal-warnings +104: ++ echo -n 'Testing fatal-warnings ... ' +104: Testing fatal-warnings ... ++ t=out/test/elf/x86_64/fatal-warnings +104: ++ mkdir -p out/test/elf/x86_64/fatal-warnings +104: + cat +104: + cc -fcommon -xc -c -o out/test/elf/x86_64/fatal-warnings/a.o - +85: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list/exe3 +86: + on_exit +86: + echo OK +86: OK +86: + exit 0 + 90/309 Test #86: x86_64-dynamic-list2 .................... Passed 0.58 sec +test 105 + Start 105: x86_64-filler + +105: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/filler.sh" +105: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +105: Test timeout computed to be: 1500 103: + cat -25: + cat -25: + cc -c -o out/test/elf/x86_64/x86_64_reloc/e.o out/test/elf/x86_64/x86_64_reloc/e.c -mcmodel=large -fPIC -100: + cc -B. -o out/test/elf/x86_64/execstack/exe out/test/elf/x86_64/execstack/a.o -Wl,-z,execstack -80: + grep -q fini out/test/elf/x86_64/dt-init/log2 -99: + cc -fPIC -xc -c -o out/test/elf/x86_64/exclude-libs3/c.o - -99: + cat +103: + cc -shared -fPIC -o out/test/elf/x86_64/export-from-exe/b.so -xc - +97: + 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 105: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/filler.sh 105: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 105: ++ export LC_ALL=C 105: ++ LC_ALL=C -104: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/fatal-warnings.sh .sh -80: + on_exit -80: + echo OK -80: OK -80: + exit 0 - 90/309 Test #80: x86_64-dt-init .......................... Passed 0.79 sec +85: + grep -q ' foo$' out/test/elf/x86_64/dynamic-list/log3 +25: + grep -q '^56000003$' +96: + static=-static +96: + static='-static -pthread' +96: + cat +85: + grep -q ' bar$' out/test/elf/x86_64/dynamic-list/log3 +25: + out/test/elf/x86_64/x86_64_reloc/exe +96: + c++ -c -o out/test/elf/x86_64/exception/b.o out/test/elf/x86_64/exception/a.cc -fPIC +85: + on_exit +85: + echo OK +85: OK +85: + exit 0 +25: + cat +81: + readelf --dynamic out/test/elf/x86_64/dt-needed/exe +81: + grep -Eq 'Shared library: \[.*dt-needed/libbar\.so\]' +100: + readelf --segments -W out/test/elf/x86_64/execstack/exe +105: ++++ uname -m + 91/309 Test #85: x86_64-dynamic-list ..................... Passed 0.65 sec test 106 Start 106: x86_64-filter 106: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/filter.sh" 106: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 106: Test timeout computed to be: 1500 -104: ++ testname=fatal-warnings -104: ++ echo -n 'Testing fatal-warnings ... ' -104: Testing fatal-warnings ... ++ t=out/test/elf/x86_64/fatal-warnings -104: ++ mkdir -p out/test/elf/x86_64/fatal-warnings -81: + grep -Fq 'Shared library: [libfoo]' -105: ++++ uname -m -106: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/filter.sh -81: + readelf --dynamic out/test/elf/x86_64/dt-needed/exe -106: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -106: ++ export LC_ALL=C -106: ++ LC_ALL=C -101: + cc -B. -o out/test/elf/x86_64/execute-only/exe out/test/elf/x86_64/execute-only/a.o -Wl,--execute-only 105: +++ canonical_name x86_64 105: +++ case $1 in 105: +++ echo x86_64 @@ -6607,15 +6662,53 @@ 105: ++ QEMU= 105: ++ trap 'on_error $LINENO' ERR 105: ++ trap on_exit EXIT -81: + 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 -106: ++++ uname -m 105: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/filler.sh .sh +100: + grep -q 'GNU_STACK.* RWE ' +100: + cc -B. -o out/test/elf/x86_64/execstack/exe out/test/elf/x86_64/execstack/a.o -Wl,-z,execstack -Wl,-z,noexecstack +104: + cc -fcommon -xc -c -o out/test/elf/x86_64/fatal-warnings/b.o - +104: + cat +101: + cc -B. -o out/test/elf/x86_64/execute-only/exe out/test/elf/x86_64/execute-only/a.o -Wl,--execute-only +25: + cc -c -o out/test/elf/x86_64/x86_64_reloc/f.o out/test/elf/x86_64/x86_64_reloc/f.s +81: + 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 +106: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/filter.sh +105: ++ testname=filler +105: ++ echo -n 'Testing filler ... ' +105: Testing filler ... ++ t=out/test/elf/x86_64/filler +105: ++ mkdir -p out/test/elf/x86_64/filler +25: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/f.o +98: + readelf --dyn-syms out/test/elf/x86_64/exclude-libs2/d.so +106: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +106: ++ export LC_ALL=C +106: ++ LC_ALL=C +102: + ./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 +98: + grep -Fq foo out/test/elf/x86_64/exclude-libs2/log +105: + test_cflags -static +105: + cc -static -o /dev/null -xc - +98: + on_exit +98: + echo OK +98: OK +98: + exit 0 + 92/309 Test #98: x86_64-exclude-libs2 .................... Passed 0.25 sec +test 107 + Start 107: x86_64-func-addr + +107: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/func-addr.sh" +107: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +107: Test timeout computed to be: 1500 +95: + readelf -e out/test/elf/x86_64/entry/exe1 +105: + echo 'int main() {}' +106: ++++ uname -m 106: +++ canonical_name x86_64 106: +++ case $1 in 106: +++ echo x86_64 +107: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/func-addr.sh +95: + grep -q 'Entry point address:.*0x1000$' out/test/elf/x86_64/entry/log 106: ++ HOST=x86_64 106: ++ '[' -n '' ']' 106: ++ MACHINE=x86_64 +107: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +107: ++ export LC_ALL=C +107: ++ LC_ALL=C 106: ++ '[' -n '' ']' 106: ++ CC=cc 106: ++ CXX=c++ @@ -6627,82 +6720,38 @@ 106: ++ QEMU= 106: ++ trap 'on_error $LINENO' ERR 106: ++ trap on_exit EXIT -105: ++ testname=filler -105: ++ echo -n 'Testing filler ... ' -105: Testing filler ... ++ t=out/test/elf/x86_64/filler -105: ++ mkdir -p out/test/elf/x86_64/filler +96: + c++ -c -o out/test/elf/x86_64/exception/c.o out/test/elf/x86_64/exception/a.cc -fno-PIC +99: + readelf --dyn-syms out/test/elf/x86_64/exclude-libs3/d.so +104: + 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 +103: + 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 106: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/filter.sh .sh -103: + cat -103: + cc -shared -fPIC -o out/test/elf/x86_64/export-from-exe/b.so -xc - -105: + test_cflags -static -105: + cc -static -o /dev/null -xc - -104: + cat +95: + cc -B. -o out/test/elf/x86_64/entry/exe2 -Wl,-e,bar out/test/elf/x86_64/entry/a.o out/test/elf/x86_64/entry/b.o +102: + readelf --dyn-syms out/test/elf/x86_64/export-dynamic/exe 106: ++ testname=filter 106: ++ echo -n 'Testing filter ... ' 106: Testing filter ... ++ t=out/test/elf/x86_64/filter 106: ++ mkdir -p out/test/elf/x86_64/filter -104: + cc -fcommon -xc -c -o out/test/elf/x86_64/fatal-warnings/a.o - -99: + 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 -97: + 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 -105: + echo 'int main() {}' -106: + cc -o out/test/elf/x86_64/filter/a.o -c -x assembler - -95: + readelf -e out/test/elf/x86_64/entry/exe2 -106: + cat -98: + readelf --dyn-syms out/test/elf/x86_64/exclude-libs2/d.so -106: + ./mold -o out/test/elf/x86_64/filter/b.so out/test/elf/x86_64/filter/a.o --filter foo -F bar -shared -86: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list2/exe2 -102: + ./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 -95: + grep -q 'Entry point address:.*0x2000$' out/test/elf/x86_64/entry/log -95: + on_exit -95: + echo OK -95: OK -95: + exit 0 -25: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/e.o - 91/309 Test #95: x86_64-entry ............................ Passed 0.41 sec -test 107 - Start 107: x86_64-func-addr - -107: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/func-addr.sh" -107: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -107: Test timeout computed to be: 1500 -98: + grep -Fq foo out/test/elf/x86_64/exclude-libs2/log -86: + grep -q ' foo$' out/test/elf/x86_64/dynamic-list2/log2 -98: + on_exit -98: + echo OK -98: OK -98: + exit 0 -96: + static=-static -96: + static='-static -pthread' -96: + cat -107: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/func-addr.sh - 92/309 Test #98: x86_64-exclude-libs2 .................... Passed 0.34 sec +99: + grep -Fq foo out/test/elf/x86_64/exclude-libs3/log +99: + on_exit +99: + echo OK +99: OK +99: + exit 0 + 93/309 Test #99: x86_64-exclude-libs3 .................... Passed 0.25 sec test 108 Start 108: x86_64-gc-sections 108: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/gc-sections.sh" 108: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 108: Test timeout computed to be: 1500 -107: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -107: ++ export LC_ALL=C -107: ++ LC_ALL=C -96: + c++ -c -o out/test/elf/x86_64/exception/b.o out/test/elf/x86_64/exception/a.cc -fPIC -86: + grep -q ' bar$' out/test/elf/x86_64/dynamic-list2/log2 -104: + cc -fcommon -xc -c -o out/test/elf/x86_64/fatal-warnings/b.o - -104: + cat -101: + grep -q 'Hello world' 107: ++++ uname -m -108: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/gc-sections.sh -102: + readelf --dyn-syms out/test/elf/x86_64/export-dynamic/exe -108: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -108: ++ export LC_ALL=C -108: ++ LC_ALL=C -86: + grep -q ' _Z3bazi$' out/test/elf/x86_64/dynamic-list2/log2 107: +++ canonical_name x86_64 107: +++ case $1 in 107: +++ echo x86_64 +102: + grep -Eq 'NOTYPE\s+GLOBAL DEFAULT\s+[0-9]+ bar' out/test/elf/x86_64/export-dynamic/log 107: ++ HOST=x86_64 107: ++ '[' -n '' ']' 107: ++ MACHINE=x86_64 +108: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/gc-sections.sh 107: ++ '[' -n '' ']' 107: ++ CC=cc 107: ++ CXX=c++ @@ -6714,34 +6763,12 @@ 107: ++ QEMU= 107: ++ trap 'on_error $LINENO' ERR 107: ++ trap on_exit EXIT -101: + out/test/elf/x86_64/execute-only/exe -101: + readelf -W --segments out/test/elf/x86_64/execute-only/exe -101: + grep -Eq 'LOAD\s.*[0-9a-f] E 0x' +108: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +108: ++ export LC_ALL=C +108: ++ LC_ALL=C 108: ++++ uname -m -102: + grep -Eq 'NOTYPE\s+GLOBAL DEFAULT\s+[0-9]+ bar' out/test/elf/x86_64/export-dynamic/log -101: + on_exit -101: + echo OK -101: OK -101: + exit 0 -107: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/func-addr.sh .sh - 93/309 Test #101: x86_64-execute-only ..................... Passed 0.24 sec -test 109 - Start 109: x86_64-gdb-index-compress-output - -109: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/gdb-index-compress-output.sh" -109: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -109: Test timeout computed to be: 1500 -107: ++ testname=func-addr -107: ++ echo -n 'Testing func-addr ... ' -107: Testing func-addr ... ++ t=out/test/elf/x86_64/func-addr -107: ++ mkdir -p out/test/elf/x86_64/func-addr -100: + readelf --segments -W out/test/elf/x86_64/execstack/exe -100: + grep -q 'GNU_STACK.* RWE ' -100: + cc -B. -o out/test/elf/x86_64/execstack/exe out/test/elf/x86_64/execstack/a.o -Wl,-z,execstack -Wl,-z,noexecstack -86: + on_exit -86: + echo OK -86: OK -86: + exit 0 +106: + cat +106: + cc -o out/test/elf/x86_64/filter/a.o -c -x assembler - 108: +++ canonical_name x86_64 108: +++ case $1 in 108: +++ echo x86_64 @@ -6759,48 +6786,45 @@ 108: ++ QEMU= 108: ++ trap 'on_error $LINENO' ERR 108: ++ trap on_exit EXIT +107: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/func-addr.sh .sh +107: ++ testname=func-addr +107: ++ echo -n 'Testing func-addr ... ' +107: Testing func-addr ... ++ t=out/test/elf/x86_64/func-addr +107: ++ mkdir -p out/test/elf/x86_64/func-addr 108: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/gc-sections.sh .sh +106: + ./mold -o out/test/elf/x86_64/filter/b.so out/test/elf/x86_64/filter/a.o --filter foo -F bar -shared +107: + cat +97: + readelf --dyn-syms out/test/elf/x86_64/exclude-libs/f.so +102: + grep -Eq 'NOTYPE\s+GLOBAL DEFAULT\s+[0-9]+ _start' out/test/elf/x86_64/export-dynamic/log +107: + cc -shared -o out/test/elf/x86_64/func-addr/a.so -xc - 108: ++ testname=gc-sections 108: ++ echo -n 'Testing gc-sections ... ' 108: Testing gc-sections ... ++ t=out/test/elf/x86_64/gc-sections 108: ++ mkdir -p out/test/elf/x86_64/gc-sections -106: + readelf --dynamic out/test/elf/x86_64/filter/b.so -81: + readelf --dynamic out/test/elf/x86_64/dt-needed/exe -81: + grep -Eq 'Shared library: \[.*dt-needed/libbar\.so\]' -102: + grep -Eq 'NOTYPE\s+GLOBAL DEFAULT\s+[0-9]+ _start' out/test/elf/x86_64/export-dynamic/log - 94/309 Test #86: x86_64-dynamic-list2 .................... Passed 0.79 sec -test 110 - Start 110: x86_64-gdb-index-dwarf2 - -110: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/gdb-index-dwarf2.sh" -110: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -110: Test timeout computed to be: 1500 -107: + cat -107: + cc -shared -o out/test/elf/x86_64/func-addr/a.so -xc - -108: + cat -108: + c++ -B. -o out/test/elf/x86_64/gc-sections/exe1 out/test/elf/x86_64/gc-sections/a.cc -ffunction-sections -fdata-sections -106: + grep -Fq 'Filter library: [foo]' out/test/elf/x86_64/filter/log -106: + grep -Fq 'Filter library: [bar]' out/test/elf/x86_64/filter/log -81: + 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 102: + on_exit 102: + echo OK 102: OK 102: + exit 0 +97: + grep -Fq foo out/test/elf/x86_64/exclude-libs/log + 94/309 Test #102: x86_64-export-dynamic ................... Passed 0.20 sec +test 109 + Start 109: x86_64-gdb-index-compress-output + +109: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/gdb-index-compress-output.sh" +109: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +109: Test timeout computed to be: 1500 +97: + grep -Fq bar out/test/elf/x86_64/exclude-libs/log +97: + grep -Fq baz out/test/elf/x86_64/exclude-libs/log +96: + c++ -B. -o out/test/elf/x86_64/exception/exe1 out/test/elf/x86_64/exception/b.o -static -pthread +108: + cat +108: + c++ -B. -o out/test/elf/x86_64/gc-sections/exe1 out/test/elf/x86_64/gc-sections/a.cc -ffunction-sections -fdata-sections +106: + readelf --dynamic out/test/elf/x86_64/filter/b.so 109: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/gdb-index-compress-output.sh +97: + 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 109: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 109: ++ export LC_ALL=C 109: ++ LC_ALL=C - 95/309 Test #102: x86_64-export-dynamic ................... Passed 0.26 sec -test 111 - Start 111: x86_64-gdb-index-dwarf3 - -111: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/gdb-index-dwarf3.sh" -111: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -111: Test timeout computed to be: 1500 -106: + on_exit -106: + echo OK -106: OK -106: + exit 0 +106: + grep -Fq 'Filter library: [foo]' out/test/elf/x86_64/filter/log 109: ++++ uname -m 109: +++ canonical_name x86_64 109: +++ case $1 in @@ -6819,12 +6843,51 @@ 109: ++ QEMU= 109: ++ trap 'on_error $LINENO' ERR 109: ++ trap on_exit EXIT -96: + c++ -c -o out/test/elf/x86_64/exception/c.o out/test/elf/x86_64/exception/a.cc -fno-PIC +109: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/gdb-index-compress-output.sh .sh +106: + grep -Fq 'Filter library: [bar]' out/test/elf/x86_64/filter/log +100: + readelf --segments -W out/test/elf/x86_64/execstack/exe +100: + grep -q 'GNU_STACK.* RW ' +25: + readelf -x .foo -x .bar out/test/elf/x86_64/x86_64_reloc/exe +106: + on_exit +106: + echo OK +106: OK +106: + exit 0 +109: ++ testname=gdb-index-compress-output +109: ++ echo -n 'Testing gdb-index-compress-output ... ' +109: Testing gdb-index-compress-output ... ++ t=out/test/elf/x86_64/gdb-index-compress-output +109: ++ mkdir -p out/test/elf/x86_64/gdb-index-compress-output + 95/309 Test #106: x86_64-filter ........................... Passed 0.12 sec +test 110 + Start 110: x86_64-gdb-index-dwarf2 + +110: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/gdb-index-dwarf2.sh" +110: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +110: Test timeout computed to be: 1500 +100: + cc -B. -o out/test/elf/x86_64/execstack/exe out/test/elf/x86_64/execstack/a.o +25: + grep -Fq '0x00000010 00000000 00000000 10000000 00000000' out/test/elf/x86_64/x86_64_reloc/log +25: + grep -Fq '0x00000010 18000000 00000000' out/test/elf/x86_64/x86_64_reloc/log +109: + '[' x86_64 = x86_64 ']' +109: + '[' x86_64 = riscv64 -o x86_64 = riscv32 -o x86_64 = sparc64 ']' +109: + command -v gdb +81: + readelf --dynamic out/test/elf/x86_64/dt-needed/exe 110: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/gdb-index-dwarf2.sh +25: + on_exit +25: + echo OK +25: OK +25: + exit 0 + 96/309 Test #25: x86_64-x86_64_reloc ..................... Passed 2.25 sec +test 111 + Start 111: x86_64-gdb-index-dwarf3 + +111: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/gdb-index-dwarf3.sh" +111: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +111: Test timeout computed to be: 1500 110: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 110: ++ export LC_ALL=C 110: ++ LC_ALL=C 110: ++++ uname -m +109: + cc -c -o out/test/elf/x86_64/gdb-index-compress-output/a.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -ffunction-sections +81: + grep -Fq 'Shared library: [libbar.so]' 110: +++ canonical_name x86_64 110: +++ case $1 in 110: +++ echo x86_64 @@ -6843,21 +6906,18 @@ 110: ++ trap 'on_error $LINENO' ERR 110: ++ trap on_exit EXIT 110: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/gdb-index-dwarf2.sh .sh -103: + 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 -104: + 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 -97: + readelf --dyn-syms out/test/elf/x86_64/exclude-libs/f.so - 96/309 Test #106: x86_64-filter ........................... Passed 0.17 sec +81: + on_exit +81: + echo OK +81: OK +81: + exit 0 +111: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/gdb-index-dwarf3.sh + 97/309 Test #81: x86_64-dt-needed ........................ Passed 0.85 sec test 112 Start 112: x86_64-gdb-index-dwarf4 112: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/gdb-index-dwarf4.sh" 112: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 112: Test timeout computed to be: 1500 -109: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/gdb-index-compress-output.sh .sh -109: ++ testname=gdb-index-compress-output -109: ++ echo -n 'Testing gdb-index-compress-output ... ' -109: Testing gdb-index-compress-output ... ++ t=out/test/elf/x86_64/gdb-index-compress-output -109: ++ mkdir -p out/test/elf/x86_64/gdb-index-compress-output 110: ++ testname=gdb-index-dwarf2 110: ++ echo -n 'Testing gdb-index-dwarf2 ... ' 110: Testing gdb-index-dwarf2 ... ++ t=out/test/elf/x86_64/gdb-index-dwarf2 @@ -6867,9 +6927,6 @@ 110: + command -v gdb 110: + echo 'int main() {}' 110: + cc -o /dev/null -xc -gdwarf-2 -g - -97: + grep -Fq foo out/test/elf/x86_64/exclude-libs/log -97: + grep -Fq bar out/test/elf/x86_64/exclude-libs/log -111: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/gdb-index-dwarf3.sh 111: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 111: ++ export LC_ALL=C 111: ++ LC_ALL=C @@ -6877,6 +6934,30 @@ 111: +++ canonical_name x86_64 111: +++ case $1 in 111: +++ echo x86_64 +109: + cat +103: + readelf --dyn-syms out/test/elf/x86_64/export-from-exe/exe +103: + grep -q expfn2 +103: + grep -q expfn1 +103: + readelf --dyn-syms out/test/elf/x86_64/export-from-exe/exe +103: + on_exit +103: + echo OK +103: OK +103: + exit 0 +101: + grep -q 'Hello world' +101: + out/test/elf/x86_64/execute-only/exe +101: + grep -Eq 'LOAD\s.*[0-9a-f] E 0x' +112: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/gdb-index-dwarf4.sh + 98/309 Test #103: x86_64-export-from-exe .................. Passed 0.27 sec +test 113 + Start 113: x86_64-gdb-index-dwarf5 + +113: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/gdb-index-dwarf5.sh" +113: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +113: Test timeout computed to be: 1500 +112: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +112: ++ export LC_ALL=C +112: ++ LC_ALL=C +112: ++++ uname -m 111: ++ HOST=x86_64 111: ++ '[' -n '' ']' 111: ++ MACHINE=x86_64 @@ -6892,33 +6973,43 @@ 111: ++ trap 'on_error $LINENO' ERR 111: ++ trap on_exit EXIT 111: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/gdb-index-dwarf3.sh .sh -99: + readelf --dyn-syms out/test/elf/x86_64/exclude-libs3/d.so 111: ++ testname=gdb-index-dwarf3 111: ++ echo -n 'Testing gdb-index-dwarf3 ... ' 111: Testing gdb-index-dwarf3 ... ++ t=out/test/elf/x86_64/gdb-index-dwarf3 111: ++ mkdir -p out/test/elf/x86_64/gdb-index-dwarf3 -109: + '[' x86_64 = x86_64 ']' -109: + '[' x86_64 = riscv64 -o x86_64 = riscv32 -o x86_64 = sparc64 ']' -109: + command -v gdb -97: + grep -Fq baz out/test/elf/x86_64/exclude-libs/log -112: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/gdb-index-dwarf4.sh -112: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -112: ++ export LC_ALL=C -112: ++ LC_ALL=C -109: + cc -c -o out/test/elf/x86_64/gdb-index-compress-output/a.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -ffunction-sections -109: + cat -111: + '[' x86_64 = x86_64 ']' -111: + '[' x86_64 = riscv64 -o x86_64 = riscv32 -o x86_64 = sparc64 ']' -111: + command -v gdb -111: + test_cflags -gdwarf-3 -111: + echo 'int main() {}' -99: + grep -Fq foo out/test/elf/x86_64/exclude-libs3/log -112: ++++ uname -m +95: + readelf -e out/test/elf/x86_64/entry/exe2 +95: + grep -q 'Entry point address:.*0x2000$' out/test/elf/x86_64/entry/log +95: + on_exit +95: + echo OK +95: OK +95: + exit 0 +101: + readelf -W --segments out/test/elf/x86_64/execute-only/exe +101: + on_exit +101: + echo OK +101: OK +101: + exit 0 +107: + cat +107: + cc -o out/test/elf/x86_64/func-addr/b.o -c -xc -fno-PIC - +104: + 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 +97: + readelf --dyn-syms out/test/elf/x86_64/exclude-libs/f.so +97: + grep -Fq foo out/test/elf/x86_64/exclude-libs/log + 99/309 Test #95: x86_64-entry ............................ Passed 0.45 sec +test 114 + Start 114: x86_64-gdb-index-empty + +114: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/gdb-index-empty.sh" +114: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +114: Test timeout computed to be: 1500 +100/309 Test #101: x86_64-execute-only ..................... Passed 0.32 sec +test 115 + Start 115: x86_64-gdb-index-split-dwarf + +115: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/gdb-index-split-dwarf.sh" +115: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +115: Test timeout computed to be: 1500 112: +++ canonical_name x86_64 112: +++ case $1 in 112: +++ echo x86_64 -105: + cc -o out/test/elf/x86_64/filler/a.o -c -xc - -105: + cat 112: ++ HOST=x86_64 112: ++ '[' -n '' ']' 112: ++ MACHINE=x86_64 @@ -6933,36 +7024,27 @@ 112: ++ QEMU= 112: ++ trap 'on_error $LINENO' ERR 112: ++ trap on_exit EXIT -99: + on_exit -99: + echo OK -99: OK -99: + exit 0 - 97/309 Test #99: x86_64-exclude-libs3 .................... Passed 0.41 sec -test 113 - Start 113: x86_64-gdb-index-dwarf5 - -113: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/gdb-index-dwarf5.sh" -113: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -113: Test timeout computed to be: 1500 -25: + grep -q '^56000003$' -25: + out/test/elf/x86_64/x86_64_reloc/exe -97: + 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 +112: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/gdb-index-dwarf4.sh .sh +112: ++ testname=gdb-index-dwarf4 +112: ++ echo -n 'Testing gdb-index-dwarf4 ... ' +112: Testing gdb-index-dwarf4 ... ++ t=out/test/elf/x86_64/gdb-index-dwarf4 +112: ++ mkdir -p out/test/elf/x86_64/gdb-index-dwarf4 +112: + '[' x86_64 = x86_64 ']' +112: + '[' x86_64 = riscv64 -o x86_64 = riscv32 -o x86_64 = sparc64 ']' +112: + command -v gdb +112: + test_cflags -gdwarf-4 -g +112: + cc -gdwarf-4 -g -o /dev/null -xc - +111: + '[' x86_64 = x86_64 ']' +111: + '[' x86_64 = riscv64 -o x86_64 = riscv32 -o x86_64 = sparc64 ']' +111: + command -v gdb +111: + test_cflags -gdwarf-3 +111: + echo 'int main() {}' 111: + cc -gdwarf-3 -o /dev/null -xc - -107: + cc -o out/test/elf/x86_64/func-addr/b.o -c -xc -fno-PIC - -107: + cat -25: + cat -96: + c++ -B. -o out/test/elf/x86_64/exception/exe1 out/test/elf/x86_64/exception/b.o -static -pthread 113: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/gdb-index-dwarf5.sh -112: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/gdb-index-dwarf4.sh .sh 113: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 113: ++ export LC_ALL=C 113: ++ LC_ALL=C 113: ++++ uname -m -100: + readelf --segments -W out/test/elf/x86_64/execstack/exe -112: ++ testname=gdb-index-dwarf4 -112: ++ echo -n 'Testing gdb-index-dwarf4 ... ' -112: Testing gdb-index-dwarf4 ... ++ t=out/test/elf/x86_64/gdb-index-dwarf4 -112: ++ mkdir -p out/test/elf/x86_64/gdb-index-dwarf4 113: +++ canonical_name x86_64 113: +++ case $1 in 113: +++ echo x86_64 @@ -6980,72 +7062,17 @@ 113: ++ QEMU= 113: ++ trap 'on_error $LINENO' ERR 113: ++ trap on_exit EXIT -113: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/gdb-index-dwarf5.sh .sh -100: + grep -q 'GNU_STACK.* RW ' -100: + cc -B. -o out/test/elf/x86_64/execstack/exe out/test/elf/x86_64/execstack/a.o -103: + readelf --dyn-syms out/test/elf/x86_64/export-from-exe/exe -103: + grep -q expfn2 -112: + '[' x86_64 = x86_64 ']' -112: + '[' x86_64 = riscv64 -o x86_64 = riscv32 -o x86_64 = sparc64 ']' -112: + command -v gdb -112: + test_cflags -gdwarf-4 -g -25: + cc -c -o out/test/elf/x86_64/x86_64_reloc/f.o out/test/elf/x86_64/x86_64_reloc/f.s -112: + echo 'int main() {}' -112: + cc -gdwarf-4 -g -o /dev/null -xc - -113: ++ testname=gdb-index-dwarf5 -113: ++ echo -n 'Testing gdb-index-dwarf5 ... ' -113: Testing gdb-index-dwarf5 ... ++ t=out/test/elf/x86_64/gdb-index-dwarf5 -113: ++ mkdir -p out/test/elf/x86_64/gdb-index-dwarf5 -113: + '[' x86_64 = x86_64 ']' -113: + '[' x86_64 = riscv64 -o x86_64 = riscv32 -o x86_64 = sparc64 ']' -113: + command -v gdb -113: + test_cflags -gdwarf-5 -g -81: + grep -Fq 'Shared library: [libbar.so]' -81: + readelf --dynamic out/test/elf/x86_64/dt-needed/exe -113: + cc -gdwarf-5 -g -o /dev/null -xc - -25: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/f.o -113: + echo 'int main() {}' -103: + readelf --dyn-syms out/test/elf/x86_64/export-from-exe/exe -103: + grep -q expfn1 -81: + on_exit -81: + echo OK -81: OK -81: + exit 0 -103: + on_exit -103: + echo OK -103: OK -103: + exit 0 - 98/309 Test #81: x86_64-dt-needed ........................ Passed 1.05 sec -test 114 - Start 114: x86_64-gdb-index-empty - -114: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/gdb-index-empty.sh" -114: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -114: Test timeout computed to be: 1500 - 99/309 Test #103: x86_64-export-from-exe .................. Passed 0.39 sec -test 115 - Start 115: x86_64-gdb-index-split-dwarf - -115: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/gdb-index-split-dwarf.sh" -115: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -115: Test timeout computed to be: 1500 -104: + 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 -105: + cc -B. -static -Wl,--filler,0xfe -o out/test/elf/x86_64/filler/exe1 out/test/elf/x86_64/filler/a.o +105: + cat +105: + cc -o out/test/elf/x86_64/filler/a.o -c -xc - +109: + cc -B. -shared -o out/test/elf/x86_64/gdb-index-compress-output/b.so out/test/elf/x86_64/gdb-index-compress-output/a.o -Wl,--gdb-index -Wl,--compress-debug-sections=zlib-gabi 114: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/gdb-index-empty.sh 114: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 114: ++ export LC_ALL=C 114: ++ LC_ALL=C -107: + 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 -115: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/gdb-index-split-dwarf.sh -115: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -115: ++ export LC_ALL=C -115: ++ LC_ALL=C -109: + cc -B. -shared -o out/test/elf/x86_64/gdb-index-compress-output/b.so out/test/elf/x86_64/gdb-index-compress-output/a.o -Wl,--gdb-index -Wl,--compress-debug-sections=zlib-gabi 114: ++++ uname -m 114: +++ canonical_name x86_64 114: +++ case $1 in 114: +++ echo x86_64 -97: + readelf --dyn-syms out/test/elf/x86_64/exclude-libs/f.so 114: ++ HOST=x86_64 114: ++ '[' -n '' ']' 114: ++ MACHINE=x86_64 @@ -7060,15 +7087,26 @@ 114: ++ QEMU= 114: ++ trap 'on_error $LINENO' ERR 114: ++ trap on_exit EXIT -110: + cat -110: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf2/a.o -fPIC -g -ggnu-pubnames -gdwarf-2 -xc - -ffunction-sections +115: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/gdb-index-split-dwarf.sh +97: + grep -Fq bar out/test/elf/x86_64/exclude-libs/log 114: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/gdb-index-empty.sh .sh -115: ++++ uname -m -97: + grep -Fq foo out/test/elf/x86_64/exclude-libs/log +97: + grep -Fq baz out/test/elf/x86_64/exclude-libs/log 114: ++ testname=gdb-index-empty 114: ++ echo -n 'Testing gdb-index-empty ... ' 114: Testing gdb-index-empty ... ++ t=out/test/elf/x86_64/gdb-index-empty 114: ++ mkdir -p out/test/elf/x86_64/gdb-index-empty +112: + echo 'int main() {}' +97: + 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 +115: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +115: ++ export LC_ALL=C +115: ++ LC_ALL=C +115: ++++ uname -m +114: + echo 'void _start() {}' +113: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/gdb-index-dwarf5.sh .sh +113: ++ testname=gdb-index-dwarf5 +113: ++ echo -n 'Testing gdb-index-dwarf5 ... ' +113: Testing gdb-index-dwarf5 ... ++ t=out/test/elf/x86_64/gdb-index-dwarf5 +113: ++ mkdir -p out/test/elf/x86_64/gdb-index-dwarf5 115: +++ canonical_name x86_64 115: +++ case $1 in 115: +++ echo x86_64 @@ -7087,141 +7125,170 @@ 115: ++ trap 'on_error $LINENO' ERR 115: ++ trap on_exit EXIT 115: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/gdb-index-split-dwarf.sh .sh +113: + '[' x86_64 = x86_64 ']' +113: + '[' x86_64 = riscv64 -o x86_64 = riscv32 -o x86_64 = sparc64 ']' +113: + command -v gdb +113: + test_cflags -gdwarf-5 -g +113: + echo 'int main() {}' +113: + cc -gdwarf-5 -g -o /dev/null -xc - +107: + 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 +114: + cc -c -o out/test/elf/x86_64/gdb-index-empty/a.o -xc - 115: ++ testname=gdb-index-split-dwarf 115: ++ echo -n 'Testing gdb-index-split-dwarf ... ' 115: Testing gdb-index-split-dwarf ... ++ t=out/test/elf/x86_64/gdb-index-split-dwarf 115: ++ mkdir -p out/test/elf/x86_64/gdb-index-split-dwarf -97: + grep -Fq bar out/test/elf/x86_64/exclude-libs/log 115: + '[' x86_64 = x86_64 ']' 115: + '[' x86_64 = riscv64 -o x86_64 = riscv32 -o x86_64 = sparc64 ']' 115: + command -v gdb 115: + test_cflags -gdwarf-5 -g -111: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf3/a.o -fPIC -g -ggnu-pubnames -gdwarf-3 -xc - -ffunction-sections -111: + cat -114: + echo 'void _start() {}' 115: + cc -gdwarf-5 -g -o /dev/null -xc - -114: + cc -c -o out/test/elf/x86_64/gdb-index-empty/a.o -xc - -97: + grep -Fq baz out/test/elf/x86_64/exclude-libs/log 115: + echo 'int main() {}' -97: + 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 -104: + on_exit -104: + echo OK -104: OK -104: + exit 0 -100/309 Test #104: x86_64-fatal-warnings ................... Passed 0.44 sec +100: + readelf --segments -W out/test/elf/x86_64/execstack/exe +100: + grep -q 'GNU_STACK.* RW ' +100: + on_exit +100: + echo OK +100: OK +100: + exit 0 +101/309 Test #100: x86_64-execstack ........................ Passed 0.45 sec test 116 Start 116: x86_64-glibc-2.22-bug 116: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/glibc-2.22-bug.sh" 116: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 116: Test timeout computed to be: 1500 -25: + readelf -x .foo -x .bar out/test/elf/x86_64/x86_64_reloc/exe 116: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/glibc-2.22-bug.sh -100: + readelf --segments -W out/test/elf/x86_64/execstack/exe -100: + grep -q 'GNU_STACK.* RW ' -25: + grep -Fq '0x00000010 00000000 00000000 10000000 00000000' out/test/elf/x86_64/x86_64_reloc/log -113: + cat -108: + readelf --symbols out/test/elf/x86_64/gc-sections/exe1 +105: + cc -B. -static -Wl,--filler,0xfe -o out/test/elf/x86_64/filler/exe1 out/test/elf/x86_64/filler/a.o 116: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 116: ++ export LC_ALL=C 116: ++ LC_ALL=C -113: + cat -100: + on_exit -100: + echo OK -100: OK -100: + exit 0 -107: + grep -q 1 -101/309 Test #100: x86_64-execstack ........................ Passed 0.58 sec +110: + cat +110: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf2/a.o -fPIC -g -ggnu-pubnames -gdwarf-2 -xc - -ffunction-sections +116: ++++ uname -m +116: +++ canonical_name x86_64 +116: +++ case $1 in +116: +++ echo x86_64 +116: ++ HOST=x86_64 +116: ++ '[' -n '' ']' +116: ++ MACHINE=x86_64 +116: ++ '[' -n '' ']' +116: ++ CC=cc +116: ++ CXX=c++ +116: ++ GCC=gcc +116: ++ GXX=g++ +116: ++ OBJDUMP=objdump +116: ++ OBJCOPY=objcopy +116: ++ STRIP=strip +116: ++ QEMU= +116: ++ trap 'on_error $LINENO' ERR +116: ++ trap on_exit EXIT +116: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/glibc-2.22-bug.sh .sh +116: ++ testname=glibc-2.22-bug +116: ++ echo -n 'Testing glibc-2.22-bug ... ' +116: Testing glibc-2.22-bug ... ++ t=out/test/elf/x86_64/glibc-2.22-bug +116: ++ mkdir -p out/test/elf/x86_64/glibc-2.22-bug +116: + '[' x86_64 = alpha ']' +116: + cat +116: + cc -o out/test/elf/x86_64/glibc-2.22-bug/a.o -fPIC -c -xc - +104: + on_exit +104: + echo OK +104: OK +104: + exit 0 +102/309 Test #104: x86_64-fatal-warnings ................... Passed 0.37 sec test 117 Start 117: x86_64-global-offset-table 117: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/global-offset-table.sh" 117: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 117: Test timeout computed to be: 1500 -25: + grep -Fq '0x00000010 18000000 00000000' out/test/elf/x86_64/x86_64_reloc/log -25: + on_exit -25: + echo OK -25: OK -25: + exit 0 +114: + ./mold -o out/test/elf/x86_64/gdb-index-empty/exe out/test/elf/x86_64/gdb-index-empty/a.o -gdb-index +117: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/global-offset-table.sh +111: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf3/a.o -fPIC -g -ggnu-pubnames -gdwarf-3 -xc - -ffunction-sections +117: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +117: ++ export LC_ALL=C +117: ++ LC_ALL=C +97: + readelf --dyn-syms out/test/elf/x86_64/exclude-libs/f.so +111: + cat +117: ++++ uname -m +110: + cat +117: +++ canonical_name x86_64 +117: +++ case $1 in +117: +++ echo x86_64 +110: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf2/b.o -fPIC -g -ggnu-pubnames -gdwarf-2 -xc - -ffunction-sections +97: + grep -Fq foo out/test/elf/x86_64/exclude-libs/log +117: ++ HOST=x86_64 +117: ++ '[' -n '' ']' +117: ++ MACHINE=x86_64 +117: ++ '[' -n '' ']' +117: ++ CC=cc +117: ++ CXX=c++ +117: ++ GCC=gcc +117: ++ GXX=g++ +117: ++ OBJDUMP=objdump +117: ++ OBJCOPY=objcopy +117: ++ STRIP=strip +117: ++ QEMU= +117: ++ trap 'on_error $LINENO' ERR +117: ++ trap on_exit EXIT +97: + grep -Fq bar out/test/elf/x86_64/exclude-libs/log +117: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/global-offset-table.sh .sh +97: + grep -Fq baz out/test/elf/x86_64/exclude-libs/log +112: + cat +112: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf4/a.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -ffunction-sections +108: + readelf --symbols out/test/elf/x86_64/gc-sections/exe1 +97: + 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 108: + grep -qv live_fn1 out/test/elf/x86_64/gc-sections/log.1 +117: ++ testname=global-offset-table +117: ++ echo -n 'Testing global-offset-table ... ' +117: Testing global-offset-table ... ++ t=out/test/elf/x86_64/global-offset-table +117: ++ mkdir -p out/test/elf/x86_64/global-offset-table 108: + grep -qv live_fn2 out/test/elf/x86_64/gc-sections/log.1 +114: + readelf -WS out/test/elf/x86_64/gdb-index-empty/exe +117: + '[' x86_64 = ppc64le ']' +116: + 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 +96: + out/test/elf/x86_64/exception/exe1 107: + out/test/elf/x86_64/func-addr/exe +108: + grep -qv dead_fn1 out/test/elf/x86_64/gc-sections/log.1 +114: + grep -Fq .gdb_index out/test/elf/x86_64/gdb-index-empty/log +107: + grep -q 1 +117: + cat 107: + on_exit 107: + echo OK 107: OK 107: + exit 0 -116: ++++ uname -m -110: + cat -102/309 Test #25: x86_64-x86_64_reloc ..................... Passed 2.88 sec +103/309 Test #107: x86_64-func-addr ........................ Passed 0.32 sec test 118 Start 118: x86_64-gnu-hash 118: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/gnu-hash.sh" 118: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 118: Test timeout computed to be: 1500 -108: + grep -qv dead_fn1 out/test/elf/x86_64/gc-sections/log.1 -103/309 Test #107: x86_64-func-addr ........................ Passed 0.37 sec +114: + on_exit +114: + echo OK +114: OK +114: + exit 0 +96: + c++ -B. -o out/test/elf/x86_64/exception/exe2 out/test/elf/x86_64/exception/c.o -static -pthread +117: + cc -fPIC -c -o out/test/elf/x86_64/global-offset-table/a.o -xc - +108: + grep -qv dead_fn2 out/test/elf/x86_64/gc-sections/log.1 +104/309 Test #114: x86_64-gdb-index-empty .................. Passed 0.16 sec test 119 Start 119: x86_64-gnu-unique 119: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/gnu-unique.sh" 119: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 119: Test timeout computed to be: 1500 -116: +++ canonical_name x86_64 -116: +++ case $1 in -116: +++ echo x86_64 -116: ++ HOST=x86_64 -116: ++ '[' -n '' ']' -116: ++ MACHINE=x86_64 -116: ++ '[' -n '' ']' -116: ++ CC=cc -116: ++ CXX=c++ -116: ++ GCC=gcc -116: ++ GXX=g++ -116: ++ OBJDUMP=objdump -116: ++ OBJCOPY=objcopy -116: ++ STRIP=strip -116: ++ QEMU= -116: ++ trap 'on_error $LINENO' ERR -116: ++ trap on_exit EXIT -110: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf2/b.o -fPIC -g -ggnu-pubnames -gdwarf-2 -xc - -ffunction-sections -117: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/global-offset-table.sh -117: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -117: ++ export LC_ALL=C -117: ++ LC_ALL=C -109: + readelf -WS out/test/elf/x86_64/gdb-index-compress-output/b.so -109: + grep -Fq .gdb_index -113: + cat +108: + grep -qv live_var1 out/test/elf/x86_64/gc-sections/log.1 118: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/gnu-hash.sh +119: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/gnu-unique.sh 118: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 118: ++ export LC_ALL=C 118: ++ LC_ALL=C -112: + cat -112: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf4/a.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -ffunction-sections -108: + grep -qv dead_fn2 out/test/elf/x86_64/gc-sections/log.1 -119: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/gnu-unique.sh 119: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 119: ++ export LC_ALL=C 119: ++ LC_ALL=C -109: + cc -c -o out/test/elf/x86_64/gdb-index-compress-output/c.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -gz -113: + cat -116: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/glibc-2.22-bug.sh .sh -117: ++++ uname -m -116: ++ testname=glibc-2.22-bug -116: ++ echo -n 'Testing glibc-2.22-bug ... ' -116: Testing glibc-2.22-bug ... ++ t=out/test/elf/x86_64/glibc-2.22-bug -116: ++ mkdir -p out/test/elf/x86_64/glibc-2.22-bug 118: ++++ uname -m -111: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf3/b.o -fPIC -g -ggnu-pubnames -gdwarf-3 -xc - -ffunction-sections 118: +++ canonical_name x86_64 118: +++ case $1 in 118: +++ echo x86_64 -113: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf5/a.o out/test/elf/x86_64/gdb-index-dwarf5/a.c -fPIC -g -ggnu-pubnames -gdwarf-5 -ffunction-sections -108: + grep -qv live_var1 out/test/elf/x86_64/gc-sections/log.1 -117: +++ canonical_name x86_64 -117: +++ case $1 in -117: +++ echo x86_64 -109: + cat 118: ++ HOST=x86_64 118: ++ '[' -n '' ']' 118: ++ MACHINE=x86_64 @@ -7236,49 +7303,25 @@ 118: ++ QEMU= 118: ++ trap 'on_error $LINENO' ERR 118: ++ trap on_exit EXIT -117: ++ HOST=x86_64 -117: ++ '[' -n '' ']' -117: ++ MACHINE=x86_64 -117: ++ '[' -n '' ']' -117: ++ CC=cc -117: ++ CXX=c++ -117: ++ GCC=gcc -117: ++ GXX=g++ -117: ++ OBJDUMP=objdump -117: ++ OBJCOPY=objcopy -117: ++ STRIP=strip -117: ++ QEMU= -117: ++ trap 'on_error $LINENO' ERR -117: ++ trap on_exit EXIT -111: + cat -116: + '[' x86_64 = alpha ']' -96: + out/test/elf/x86_64/exception/exe1 +108: + grep -qv live_var2 out/test/elf/x86_64/gc-sections/log.1 118: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/gnu-hash.sh .sh -116: + cat -116: + cc -o out/test/elf/x86_64/glibc-2.22-bug/a.o -fPIC -c -xc - -117: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/global-offset-table.sh .sh -97: + readelf --dyn-syms out/test/elf/x86_64/exclude-libs/f.so +108: + grep -qv dead_var1 out/test/elf/x86_64/gc-sections/log.1 118: ++ testname=gnu-hash 118: ++ echo -n 'Testing gnu-hash ... ' 118: Testing gnu-hash ... ++ t=out/test/elf/x86_64/gnu-hash 118: ++ mkdir -p out/test/elf/x86_64/gnu-hash -96: + c++ -B. -o out/test/elf/x86_64/exception/exe2 out/test/elf/x86_64/exception/c.o -static -pthread -117: ++ testname=global-offset-table -117: ++ echo -n 'Testing global-offset-table ... ' -117: Testing global-offset-table ... ++ t=out/test/elf/x86_64/global-offset-table -117: ++ mkdir -p out/test/elf/x86_64/global-offset-table -108: + grep -qv live_var2 out/test/elf/x86_64/gc-sections/log.1 -117: + '[' x86_64 = ppc64le ']' -117: + cc -fPIC -c -o out/test/elf/x86_64/global-offset-table/a.o -xc - -117: + cat +111: + cat +111: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf3/b.o -fPIC -g -ggnu-pubnames -gdwarf-3 -xc - -ffunction-sections +108: + grep -qv dead_var2 out/test/elf/x86_64/gc-sections/log.1 119: ++++ uname -m +118: + cat +110: + cc -B. -shared -o out/test/elf/x86_64/gdb-index-dwarf2/c.so out/test/elf/x86_64/gdb-index-dwarf2/a.o out/test/elf/x86_64/gdb-index-dwarf2/b.o -Wl,--gdb-index +118: + cc -c -o out/test/elf/x86_64/gnu-hash/a.o -xc - +108: + out/test/elf/x86_64/gc-sections/exe1 +108: + grep -q '1 2' 119: +++ canonical_name x86_64 119: +++ case $1 in 119: +++ echo x86_64 -97: + grep -Fq foo out/test/elf/x86_64/exclude-libs/log -105: + sed -i -e 's/--filler 0xfe/--filler 0x00/' out/test/elf/x86_64/filler/exe1 -114: + ./mold -o out/test/elf/x86_64/gdb-index-empty/exe out/test/elf/x86_64/gdb-index-empty/a.o -gdb-index -97: + grep -Fq bar out/test/elf/x86_64/exclude-libs/log 119: ++ HOST=x86_64 119: ++ '[' -n '' ']' 119: ++ MACHINE=x86_64 @@ -7291,54 +7334,56 @@ 119: ++ OBJCOPY=objcopy 119: ++ STRIP=strip 119: ++ QEMU= -118: + cc -c -o out/test/elf/x86_64/gnu-hash/a.o -xc - 119: ++ trap 'on_error $LINENO' ERR 119: ++ trap on_exit EXIT -118: + cat 119: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/gnu-unique.sh .sh -108: + grep -qv dead_var1 out/test/elf/x86_64/gc-sections/log.1 -108: + grep -qv dead_var2 out/test/elf/x86_64/gc-sections/log.1 -97: + grep -Fq baz out/test/elf/x86_64/exclude-libs/log -112: + cat -112: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf4/b.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -ffunction-sections +108: + 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 119: ++ testname=gnu-unique 119: ++ echo -n 'Testing gnu-unique ... ' 119: Testing gnu-unique ... ++ t=out/test/elf/x86_64/gnu-unique 119: ++ mkdir -p out/test/elf/x86_64/gnu-unique -97: + 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 -108: + grep -q '1 2' -105: + od -x out/test/elf/x86_64/filler/exe1 +112: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf4/b.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -ffunction-sections +112: + cat 119: + command -v g++ -109: + cc -B. -o out/test/elf/x86_64/gdb-index-compress-output/exe out/test/elf/x86_64/gdb-index-compress-output/b.so out/test/elf/x86_64/gdb-index-compress-output/c.o -Wl,--gdb-index -Wl,--compress-debug-sections=zlib -108: + out/test/elf/x86_64/gc-sections/exe1 -119: + cat -113: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf5/b.o out/test/elf/x86_64/gdb-index-dwarf5/b.c -fPIC -g -ggnu-pubnames -gdwarf-4 -ffunction-sections -110: + cc -B. -shared -o out/test/elf/x86_64/gdb-index-dwarf2/c.so out/test/elf/x86_64/gdb-index-dwarf2/a.o out/test/elf/x86_64/gdb-index-dwarf2/b.o -Wl,--gdb-index -114: + readelf -WS out/test/elf/x86_64/gdb-index-empty/exe -108: + 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 -114: + grep -Fq .gdb_index out/test/elf/x86_64/gdb-index-empty/log 119: + g++ -o out/test/elf/x86_64/gnu-unique/a.o -c -std=c++17 -fno-gnu-unique -xc++ - +115: + cat +119: + cat +115: + cat +109: + grep -Fq .gdb_index +109: + readelf -WS out/test/elf/x86_64/gdb-index-compress-output/b.so +115: + cat +113: + cat +97: + readelf --dyn-syms out/test/elf/x86_64/exclude-libs/f.so +97: + grep -Fq foo out/test/elf/x86_64/exclude-libs/log +113: + cat +109: + cat +109: + cc -c -o out/test/elf/x86_64/gdb-index-compress-output/c.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -gz +115: + cat +115: + cc -c -o out/test/elf/x86_64/gdb-index-split-dwarf/a.o out/test/elf/x86_64/gdb-index-split-dwarf/a.c -fPIC -g -ggnu-pubnames -gdwarf-5 -gsplit-dwarf +97: + grep -Fq bar out/test/elf/x86_64/exclude-libs/log +117: + 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_ +97: + grep -Fq baz out/test/elf/x86_64/exclude-libs/log 118: + 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 -116: + 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 -114: + on_exit -114: + echo OK -114: OK -114: + exit 0 -104/309 Test #114: x86_64-gdb-index-empty .................. Passed 0.29 sec +97: + on_exit +97: + echo OK +97: OK +97: + exit 0 +113: + cat +111: + cc -B. -shared -o out/test/elf/x86_64/gdb-index-dwarf3/c.so out/test/elf/x86_64/gdb-index-dwarf3/a.o out/test/elf/x86_64/gdb-index-dwarf3/b.o -Wl,--gdb-index +105/309 Test #97: x86_64-exclude-libs ..................... Passed 0.68 sec test 120 Start 120: x86_64-gnu-warning 120: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/gnu-warning.sh" 120: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 120: Test timeout computed to be: 1500 +113: + cat +113: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf5/a.o out/test/elf/x86_64/gdb-index-dwarf5/a.c -fPIC -g -ggnu-pubnames -gdwarf-5 -ffunction-sections +112: + cc -B. -shared -o out/test/elf/x86_64/gdb-index-dwarf4/c.so out/test/elf/x86_64/gdb-index-dwarf4/a.o out/test/elf/x86_64/gdb-index-dwarf4/b.o -Wl,--gdb-index 120: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/gnu-warning.sh 120: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 120: ++ export LC_ALL=C 120: ++ LC_ALL=C -115: + cat -111: + cc -B. -shared -o out/test/elf/x86_64/gdb-index-dwarf3/c.so out/test/elf/x86_64/gdb-index-dwarf3/a.o out/test/elf/x86_64/gdb-index-dwarf3/b.o -Wl,--gdb-index -117: + 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_ -115: + cat 120: ++++ uname -m 120: +++ canonical_name x86_64 120: +++ case $1 in @@ -7357,64 +7402,90 @@ 120: ++ QEMU= 120: ++ trap 'on_error $LINENO' ERR 120: ++ trap on_exit EXIT -115: + cat -113: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf5/c.o out/test/elf/x86_64/gdb-index-dwarf5/c.c -fPIC -g -ggnu-pubnames -gdwarf-5 -97: + readelf --dyn-syms out/test/elf/x86_64/exclude-libs/f.so -112: + cc -B. -shared -o out/test/elf/x86_64/gdb-index-dwarf4/c.so out/test/elf/x86_64/gdb-index-dwarf4/a.o out/test/elf/x86_64/gdb-index-dwarf4/b.o -Wl,--gdb-index 120: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/gnu-warning.sh .sh +105: + sed -i -e 's/--filler 0xfe/--filler 0x00/' out/test/elf/x86_64/filler/exe1 120: ++ testname=gnu-warning 120: ++ echo -n 'Testing gnu-warning ... ' 120: Testing gnu-warning ... ++ t=out/test/elf/x86_64/gnu-warning 120: ++ mkdir -p out/test/elf/x86_64/gnu-warning -97: + grep -Fq foo out/test/elf/x86_64/exclude-libs/log +109: + cc -B. -o out/test/elf/x86_64/gdb-index-compress-output/exe out/test/elf/x86_64/gdb-index-compress-output/b.so out/test/elf/x86_64/gdb-index-compress-output/c.o -Wl,--gdb-index -Wl,--compress-debug-sections=zlib 119: + cat -115: + cat -97: + grep -Fq bar out/test/elf/x86_64/exclude-libs/log -115: + cc -c -o out/test/elf/x86_64/gdb-index-split-dwarf/a.o out/test/elf/x86_64/gdb-index-split-dwarf/a.c -fPIC -g -ggnu-pubnames -gdwarf-5 -gsplit-dwarf -97: + grep -Fq baz out/test/elf/x86_64/exclude-libs/log -97: + on_exit -97: + echo OK -97: OK -97: + exit 0 -120: + gcc -c -o out/test/elf/x86_64/gnu-warning/a.o -xc - 119: + g++ -o out/test/elf/x86_64/gnu-unique/b.o -c -std=c++17 -fgnu-unique -xc++ - -105/309 Test #97: x86_64-exclude-libs ..................... Passed 0.93 sec +116: + readelf -W --sections out/test/elf/x86_64/glibc-2.22-bug/b.so +116: + grep -Eq '\.rela?\.plt' +116: + grep -E -A1 '\.rela?\.dyn' +120: + cat +120: + gcc -c -o out/test/elf/x86_64/gnu-warning/a.o -xc - +105: + od -x out/test/elf/x86_64/filler/exe1 +116: + on_exit +116: + echo OK +116: OK +116: + exit 0 +106/309 Test #116: x86_64-glibc-2.22-bug ................... Passed 0.23 sec test 121 Start 121: x86_64-hash-style 121: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/hash-style.sh" 121: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 121: Test timeout computed to be: 1500 -109: + readelf -WS out/test/elf/x86_64/gdb-index-compress-output/exe -109: + grep -Fq .gdb_index -120: + cat +115: + cc -c -o out/test/elf/x86_64/gdb-index-split-dwarf/b.o out/test/elf/x86_64/gdb-index-split-dwarf/b.c -fPIC -g -ggnu-pubnames -gdwarf-4 -gsplit-dwarf +121: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/hash-style.sh +113: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf5/b.o out/test/elf/x86_64/gdb-index-dwarf5/b.c -fPIC -g -ggnu-pubnames -gdwarf-4 -ffunction-sections +121: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +121: ++ export LC_ALL=C +121: ++ LC_ALL=C +90: + c++ -o out/test/elf/x86_64/emit-relocs-dead-sections/b.o -c -fPIC -xc++ -g -ffunction-sections - +90: + cat +121: ++++ uname -m +121: +++ canonical_name x86_64 +121: +++ case $1 in +121: +++ echo x86_64 +121: ++ HOST=x86_64 +121: ++ '[' -n '' ']' +121: ++ MACHINE=x86_64 +121: ++ '[' -n '' ']' +121: ++ CC=cc +121: ++ CXX=c++ +121: ++ GCC=gcc +121: ++ GXX=g++ +121: ++ OBJDUMP=objdump +121: ++ OBJCOPY=objcopy +121: ++ STRIP=strip +121: ++ QEMU= +121: ++ trap 'on_error $LINENO' ERR +121: ++ trap on_exit EXIT +121: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/hash-style.sh .sh +110: + grep -Fq .gdb_index +121: ++ testname=hash-style +121: ++ echo -n 'Testing hash-style ... ' +121: Testing hash-style ... ++ t=out/test/elf/x86_64/hash-style +121: ++ mkdir -p out/test/elf/x86_64/hash-style 118: + on_exit 118: + echo OK 118: OK 118: + exit 0 -106/309 Test #118: x86_64-gnu-hash ......................... Passed 0.23 sec +107/309 Test #118: x86_64-gnu-hash ......................... Passed 0.18 sec test 122 Start 122: x86_64-hello-dynamic 122: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/hello-dynamic.sh" 122: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 122: Test timeout computed to be: 1500 -109: + grep -q 'Hello world' -121: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/hash-style.sh -121: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -121: ++ export LC_ALL=C -121: ++ LC_ALL=C +121: + cat +110: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf2/c.so +111: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf3/c.so +121: + cc -o out/test/elf/x86_64/hash-style/a.o -c -xc - +110: + cat 122: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/hello-dynamic.sh +111: + grep -Fq .gdb_index +119: + 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 +110: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf2/d.o -fPIC -g -ggnu-pubnames -gdwarf-2 -xc - -gz 122: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 122: ++ export LC_ALL=C 122: ++ LC_ALL=C -109: + out/test/elf/x86_64/gdb-index-compress-output/exe +120: + cc -B. -o out/test/elf/x86_64/gnu-warning/exe out/test/elf/x86_64/gnu-warning/a.o 122: ++++ uname -m -109: + DEBUGINFOD_URLS= -109: + gdb out/test/elf/x86_64/gdb-index-compress-output/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit -116: + readelf -W --sections out/test/elf/x86_64/glibc-2.22-bug/b.so -116: + grep -E -A1 '\.rela?\.dyn' -116: + grep -Eq '\.rela?\.plt' +111: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf3/d.o -fPIC -g -ggnu-pubnames -gdwarf-3 -xc - -gz 122: +++ canonical_name x86_64 122: +++ case $1 in 122: +++ echo x86_64 @@ -7432,61 +7503,49 @@ 122: ++ QEMU= 122: ++ trap 'on_error $LINENO' ERR 122: ++ trap on_exit EXIT -113: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf5/d.o out/test/elf/x86_64/gdb-index-dwarf5/d.c -fPIC -g -ggnu-pubnames -gdwarf-5 -ffunction-sections 122: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/hello-dynamic.sh .sh -110: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf2/c.so -121: ++++ uname -m -110: + grep -Fq .gdb_index +117: + out/test/elf/x86_64/global-offset-table/exe 122: ++ testname=hello-dynamic 122: ++ echo -n 'Testing hello-dynamic ... ' 122: Testing hello-dynamic ... ++ t=out/test/elf/x86_64/hello-dynamic 122: ++ mkdir -p out/test/elf/x86_64/hello-dynamic -121: +++ canonical_name x86_64 -121: +++ case $1 in -121: +++ echo x86_64 -121: ++ HOST=x86_64 -121: ++ '[' -n '' ']' -121: ++ MACHINE=x86_64 -121: ++ '[' -n '' ']' -121: ++ CC=cc -121: ++ CXX=c++ -121: ++ GCC=gcc -121: ++ GXX=g++ -121: ++ OBJDUMP=objdump -121: ++ OBJCOPY=objcopy -121: ++ STRIP=strip -121: ++ QEMU= -121: ++ trap 'on_error $LINENO' ERR -121: ++ trap on_exit EXIT -116: + on_exit -116: + echo OK -116: OK -116: + exit 0 -107/309 Test #116: x86_64-glibc-2.22-bug ................... Passed 0.31 sec +111: + cat +117: ++ out/test/elf/x86_64/global-offset-table/exe +117: + GOT_ADDR=203858 +117: + '[' x86_64 = x86_64 -o x86_64 = i386 ']' +112: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf4/c.so +117: + readelf -WS out/test/elf/x86_64/global-offset-table/exe +112: + grep -Fq .gdb_index +117: + grep -q '\.got\.plt .*203858 ' +112: + cat +112: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf4/d.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -gz +122: + cat +117: + on_exit +117: + echo OK +117: OK +117: + exit 0 +122: + cc -o out/test/elf/x86_64/hello-dynamic/a.o -c -xc - -fno-PIE +108/309 Test #117: x86_64-global-offset-table .............. Passed 0.29 sec test 123 Start 123: x86_64-hello-static 123: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/hello-static.sh" 123: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 123: Test timeout computed to be: 1500 -110: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf2/d.o -fPIC -g -ggnu-pubnames -gdwarf-2 -xc - -gz -110: + cat -122: + cc -o out/test/elf/x86_64/hello-dynamic/a.o -c -xc - -fno-PIE +115: + cc -c -o out/test/elf/x86_64/gdb-index-split-dwarf/c.o out/test/elf/x86_64/gdb-index-split-dwarf/c.c -fPIC -g -ggnu-pubnames -gdwarf-5 +121: + ./mold -shared -o out/test/elf/x86_64/hash-style/b.so out/test/elf/x86_64/hash-style/a.o 123: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/hello-static.sh -122: + cat -121: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/hash-style.sh .sh 123: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 123: ++ export LC_ALL=C 123: ++ LC_ALL=C -121: ++ testname=hash-style -121: ++ echo -n 'Testing hash-style ... ' -121: Testing hash-style ... ++ t=out/test/elf/x86_64/hash-style -121: ++ mkdir -p out/test/elf/x86_64/hash-style -108: + readelf --symbols out/test/elf/x86_64/gc-sections/exe2 +109: + readelf -WS out/test/elf/x86_64/gdb-index-compress-output/exe +113: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf5/c.o out/test/elf/x86_64/gdb-index-dwarf5/c.c -fPIC -g -ggnu-pubnames -gdwarf-5 +109: + grep -Fq .gdb_index +110: + cc -B. -o out/test/elf/x86_64/gdb-index-dwarf2/exe out/test/elf/x86_64/gdb-index-dwarf2/c.so out/test/elf/x86_64/gdb-index-dwarf2/d.o -Wl,--gdb-index +109: + out/test/elf/x86_64/gdb-index-compress-output/exe +111: + cc -B. -o out/test/elf/x86_64/gdb-index-dwarf3/exe out/test/elf/x86_64/gdb-index-dwarf3/c.so out/test/elf/x86_64/gdb-index-dwarf3/d.o -Wl,--gdb-index +109: + grep -q 'Hello world' 123: ++++ uname -m -121: + cat -121: + cc -o out/test/elf/x86_64/hash-style/a.o -c -xc - -96: + out/test/elf/x86_64/exception/exe2 123: +++ canonical_name x86_64 123: +++ case $1 in 123: +++ echo x86_64 @@ -7504,79 +7563,44 @@ 123: ++ QEMU= 123: ++ trap 'on_error $LINENO' ERR 123: ++ trap on_exit EXIT -108: + grep -q live_fn1 out/test/elf/x86_64/gc-sections/log.2 -108: + grep -q live_fn2 out/test/elf/x86_64/gc-sections/log.2 -96: + c++ -B. -o out/test/elf/x86_64/exception/exe3 out/test/elf/x86_64/exception/b.o -pie 123: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/hello-static.sh .sh +109: + DEBUGINFOD_URLS= +109: + gdb out/test/elf/x86_64/gdb-index-compress-output/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit 123: ++ testname=hello-static 123: ++ echo -n 'Testing hello-static ... ' 123: Testing hello-static ... ++ t=out/test/elf/x86_64/hello-static 123: ++ mkdir -p out/test/elf/x86_64/hello-static -111: + grep -Fq .gdb_index -111: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf3/c.so -117: + out/test/elf/x86_64/global-offset-table/exe -108: + grep -qv dead_fn1 out/test/elf/x86_64/gc-sections/log.2 -111: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf3/d.o -fPIC -g -ggnu-pubnames -gdwarf-3 -xc - -gz 123: + test_cflags -static -115: + cc -c -o out/test/elf/x86_64/gdb-index-split-dwarf/b.o out/test/elf/x86_64/gdb-index-split-dwarf/b.c -fPIC -g -ggnu-pubnames -gdwarf-4 -gsplit-dwarf -111: + cat -108: + grep -qv dead_fn2 out/test/elf/x86_64/gc-sections/log.2 -112: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf4/c.so -120: + cc -B. -o out/test/elf/x86_64/gnu-warning/exe out/test/elf/x86_64/gnu-warning/a.o 123: + echo 'int main() {}' 123: + cc -static -o /dev/null -xc - -112: + grep -Fq .gdb_index -108: + grep -q live_var1 out/test/elf/x86_64/gc-sections/log.2 -117: ++ out/test/elf/x86_64/global-offset-table/exe -117: + GOT_ADDR=203858 -117: + '[' x86_64 = x86_64 -o x86_64 = i386 ']' -108: + grep -q live_var2 out/test/elf/x86_64/gc-sections/log.2 -112: + cat -117: + grep -q '\.got\.plt .*203858 ' -108: + grep -qv dead_var1 out/test/elf/x86_64/gc-sections/log.2 -112: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf4/d.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -gz -117: + readelf -WS out/test/elf/x86_64/global-offset-table/exe -108: + grep -qv dead_var2 out/test/elf/x86_64/gc-sections/log.2 -110: + cc -B. -o out/test/elf/x86_64/gdb-index-dwarf2/exe out/test/elf/x86_64/gdb-index-dwarf2/c.so out/test/elf/x86_64/gdb-index-dwarf2/d.o -Wl,--gdb-index -117: + on_exit -117: + echo OK -117: OK -117: + exit 0 -108/309 Test #117: x86_64-global-offset-table .............. Passed 0.37 sec +112: + cc -B. -o out/test/elf/x86_64/gdb-index-dwarf4/exe out/test/elf/x86_64/gdb-index-dwarf4/c.so out/test/elf/x86_64/gdb-index-dwarf4/d.o -Wl,--gdb-index +120: + out/test/elf/x86_64/gnu-warning/exe +120: + grep -q 'Hello world' +96: + out/test/elf/x86_64/exception/exe2 +113: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf5/d.o out/test/elf/x86_64/gdb-index-dwarf5/d.c -fPIC -g -ggnu-pubnames -gdwarf-5 -ffunction-sections +120: + on_exit +120: + echo OK +120: OK +120: + exit 0 +96: + c++ -B. -o out/test/elf/x86_64/exception/exe3 out/test/elf/x86_64/exception/b.o -pie +109/309 Test #120: x86_64-gnu-warning ...................... Passed 0.20 sec test 124 Start 124: x86_64-help 124: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/help.sh" 124: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 124: Test timeout computed to be: 1500 -122: + cc -B. -o out/test/elf/x86_64/hello-dynamic/exe out/test/elf/x86_64/hello-dynamic/a.o -no-pie -113: + cc -B. -shared -o out/test/elf/x86_64/gdb-index-dwarf5/e.so out/test/elf/x86_64/gdb-index-dwarf5/a.o out/test/elf/x86_64/gdb-index-dwarf5/b.o out/test/elf/x86_64/gdb-index-dwarf5/c.o out/test/elf/x86_64/gdb-index-dwarf5/d.o -Wl,--gdb-index -108: + grep -q '1 2' -119: + 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 -108: + out/test/elf/x86_64/gc-sections/exe2 124: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/help.sh -121: + ./mold -shared -o out/test/elf/x86_64/hash-style/b.so out/test/elf/x86_64/hash-style/a.o 124: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 124: ++ export LC_ALL=C 124: ++ LC_ALL=C -111: + cc -B. -o out/test/elf/x86_64/gdb-index-dwarf3/exe out/test/elf/x86_64/gdb-index-dwarf3/c.so out/test/elf/x86_64/gdb-index-dwarf3/d.o -Wl,--gdb-index -90: + c++ -o out/test/elf/x86_64/emit-relocs-dead-sections/b.o -c -fPIC -xc++ -g -ffunction-sections - -108: + on_exit -108: + echo OK -108: OK -108: + exit 0 -90: + cat -109/309 Test #108: x86_64-gc-sections ...................... Passed 0.74 sec -test 125 - Start 125: x86_64-hidden-undef - -125: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/hidden-undef.sh" -125: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -125: Test timeout computed to be: 1500 124: ++++ uname -m +121: + grep -Fq ' .hash' 124: +++ canonical_name x86_64 124: +++ case $1 in 124: +++ echo x86_64 +121: + readelf -WS out/test/elf/x86_64/hash-style/b.so +108: + readelf --symbols out/test/elf/x86_64/gc-sections/exe2 124: ++ HOST=x86_64 124: ++ '[' -n '' ']' 124: ++ MACHINE=x86_64 @@ -7592,28 +7616,35 @@ 124: ++ trap 'on_error $LINENO' ERR 124: ++ trap on_exit EXIT 124: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/help.sh .sh +121: + readelf -WS out/test/elf/x86_64/hash-style/b.so +121: + grep -Fq ' .gnu.hash' +108: + grep -q live_fn1 out/test/elf/x86_64/gc-sections/log.2 124: ++ testname=help 124: ++ echo -n 'Testing help ... ' 124: Testing help ... ++ t=out/test/elf/x86_64/help 124: ++ mkdir -p out/test/elf/x86_64/help -112: + cc -B. -o out/test/elf/x86_64/gdb-index-dwarf4/exe out/test/elf/x86_64/gdb-index-dwarf4/c.so out/test/elf/x86_64/gdb-index-dwarf4/d.o -Wl,--gdb-index -115: + cc -c -o out/test/elf/x86_64/gdb-index-split-dwarf/c.o out/test/elf/x86_64/gdb-index-split-dwarf/c.c -fPIC -g -ggnu-pubnames -gdwarf-5 -96: + out/test/elf/x86_64/exception/exe3 -121: + grep -Fq ' .hash' +121: + on_exit +121: + echo OK +121: OK +121: + exit 0 +110/309 Test #121: x86_64-hash-style ....................... Passed 0.17 sec +test 125 + Start 125: x86_64-hidden-undef + +125: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/hidden-undef.sh" +125: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +125: Test timeout computed to be: 1500 +108: + grep -q live_fn2 out/test/elf/x86_64/gc-sections/log.2 +108: + grep -qv dead_fn1 out/test/elf/x86_64/gc-sections/log.2 125: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/hidden-undef.sh 125: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 125: ++ export LC_ALL=C 125: ++ LC_ALL=C -96: + c++ -B. -o out/test/elf/x86_64/exception/exe4 out/test/elf/x86_64/exception/c.o -no-pie -124: + grep -q Usage -124: + ./mold --help -121: + readelf -WS out/test/elf/x86_64/hash-style/b.so +108: + grep -qv dead_fn2 out/test/elf/x86_64/gc-sections/log.2 125: ++++ uname -m -121: + grep -Fq ' .gnu.hash' -124: + on_exit -124: + echo OK -124: OK -124: + exit 0 +115: + cc -c -o out/test/elf/x86_64/gdb-index-split-dwarf/d.o out/test/elf/x86_64/gdb-index-split-dwarf/d.c -fPIC -g -ggnu-pubnames -gdwarf-5 -gsplit-dwarf +122: + cc -B. -o out/test/elf/x86_64/hello-dynamic/exe out/test/elf/x86_64/hello-dynamic/a.o -no-pie +108: + grep -q live_var1 out/test/elf/x86_64/gc-sections/log.2 125: +++ canonical_name x86_64 125: +++ case $1 in 125: +++ echo x86_64 @@ -7631,93 +7662,47 @@ 125: ++ QEMU= 125: ++ trap 'on_error $LINENO' ERR 125: ++ trap on_exit EXIT -122: + out/test/elf/x86_64/hello-dynamic/exe -120: + grep -q 'Hello world' -110/309 Test #124: x86_64-help ............................. Passed 0.09 sec +125: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/hidden-undef.sh .sh +108: + grep -q live_var2 out/test/elf/x86_64/gc-sections/log.2 +119: + out/test/elf/x86_64/gnu-unique/exe +119: + grep -q foo=5 +124: + ./mold --help +124: + grep -q Usage +119: + on_exit +119: + echo OK +119: OK +119: + exit 0 +111/309 Test #119: x86_64-gnu-unique ....................... Passed 0.33 sec test 126 Start 126: x86_64-hidden-weak-undef 126: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/hidden-weak-undef.sh" 126: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 126: Test timeout computed to be: 1500 -122: + grep -q 'Hello world' -122: + on_exit -122: + echo OK -122: OK -122: + exit 0 -120: + out/test/elf/x86_64/gnu-warning/exe -120: + on_exit -120: + echo OK -120: OK -120: + exit 0 -121: + readelf -WS out/test/elf/x86_64/hash-style/b.so -121: + on_exit -121: + echo OK -121: OK -121: + exit 0 -105: + cc -B. -static -Wl,--filler,0x00 -o out/test/elf/x86_64/filler/exe2 out/test/elf/x86_64/filler/a.o -125: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/hidden-undef.sh .sh -119: + out/test/elf/x86_64/gnu-unique/exe -119: + grep -q foo=5 -111/309 Test #120: x86_64-gnu-warning ...................... Passed 0.33 sec -test 127 - Start 127: x86_64-icf-small - -127: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/icf-small.sh" -127: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -127: Test timeout computed to be: 1500 -112/309 Test #121: x86_64-hash-style ....................... Passed 0.27 sec -test 128 - Start 128: x86_64-icf - -128: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/icf.sh" -128: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -128: Test timeout computed to be: 1500 -113/309 Test #122: x86_64-hello-dynamic .................... Passed 0.27 sec -test 129 - Start 129: x86_64-ifunc-alias - -129: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/ifunc-alias.sh" -129: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -129: Test timeout computed to be: 1500 125: ++ testname=hidden-undef 125: ++ echo -n 'Testing hidden-undef ... ' 125: Testing hidden-undef ... ++ t=out/test/elf/x86_64/hidden-undef 125: ++ mkdir -p out/test/elf/x86_64/hidden-undef 125: + cat -125: + cc -o out/test/elf/x86_64/hidden-undef/a.so -shared -fPIC -xc - -119: + on_exit -119: + echo OK -119: OK -119: + exit 0 -114/309 Test #119: x86_64-gnu-unique ....................... Passed 0.51 sec -test 130 - Start 130: x86_64-ifunc-dso - -130: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/ifunc-dso.sh" -130: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -130: Test timeout computed to be: 1500 -111: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf3/exe -111: + grep -Fq .gdb_index -111: + out/test/elf/x86_64/gdb-index-dwarf3/exe -111: + grep -q 'Hello world' -111: + DEBUGINFOD_URLS= -111: + gdb out/test/elf/x86_64/gdb-index-dwarf3/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit -110: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf2/exe -110: + grep -Fq .gdb_index -110: + out/test/elf/x86_64/gdb-index-dwarf2/exe -110: + grep -q 'Hello world' -110: + DEBUGINFOD_URLS= -110: + gdb out/test/elf/x86_64/gdb-index-dwarf2/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit 126: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/hidden-weak-undef.sh +113: + cc -B. -shared -o out/test/elf/x86_64/gdb-index-dwarf5/e.so out/test/elf/x86_64/gdb-index-dwarf5/a.o out/test/elf/x86_64/gdb-index-dwarf5/b.o out/test/elf/x86_64/gdb-index-dwarf5/c.o out/test/elf/x86_64/gdb-index-dwarf5/d.o -Wl,--gdb-index 126: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 126: ++ export LC_ALL=C 126: ++ LC_ALL=C +108: + grep -qv dead_var1 out/test/elf/x86_64/gc-sections/log.2 126: ++++ uname -m +125: + cc -o out/test/elf/x86_64/hidden-undef/a.so -shared -fPIC -xc - 126: +++ canonical_name x86_64 126: +++ case $1 in 126: +++ echo x86_64 126: ++ HOST=x86_64 +110: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf2/exe +110: + grep -Fq .gdb_index +108: + grep -qv dead_var2 out/test/elf/x86_64/gc-sections/log.2 +124: + on_exit +124: + echo OK +124: OK +124: + exit 0 126: ++ '[' -n '' ']' 126: ++ MACHINE=x86_64 126: ++ '[' -n '' ']' @@ -7732,18 +7717,46 @@ 126: ++ trap 'on_error $LINENO' ERR 126: ++ trap on_exit EXIT 126: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/hidden-weak-undef.sh .sh +110: + out/test/elf/x86_64/gdb-index-dwarf2/exe +112/309 Test #124: x86_64-help ............................. Passed 0.06 sec +test 127 + Start 127: x86_64-icf-small + +127: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/icf-small.sh" +127: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +127: Test timeout computed to be: 1500 +110: + grep -q 'Hello world' 126: ++ testname=hidden-weak-undef 126: ++ echo -n 'Testing hidden-weak-undef ... ' 126: Testing hidden-weak-undef ... ++ t=out/test/elf/x86_64/hidden-weak-undef 126: ++ mkdir -p out/test/elf/x86_64/hidden-weak-undef 126: + cc -o out/test/elf/x86_64/hidden-weak-undef/a.o -fPIC -c -xc - -126: + cat -115: + cc -c -o out/test/elf/x86_64/gdb-index-split-dwarf/d.o out/test/elf/x86_64/gdb-index-split-dwarf/d.c -fPIC -g -ggnu-pubnames -gdwarf-5 -gsplit-dwarf +108: + grep -q '1 2' +111: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf3/exe 127: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/icf-small.sh +110: + DEBUGINFOD_URLS= +110: + gdb out/test/elf/x86_64/gdb-index-dwarf2/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit +108: + out/test/elf/x86_64/gc-sections/exe2 +112: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf4/exe 127: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 127: ++ export LC_ALL=C 127: ++ LC_ALL=C +112: + grep -Fq .gdb_index +111: + grep -Fq .gdb_index 127: ++++ uname -m +126: + cat +108: + on_exit +108: + echo OK +108: OK +108: + exit 0 +112: + grep -q 'Hello world' +113/309 Test #108: x86_64-gc-sections ...................... Passed 0.66 sec +test 128 + Start 128: x86_64-icf + +128: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/icf.sh" +128: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +128: Test timeout computed to be: 1500 127: +++ canonical_name x86_64 127: +++ case $1 in 127: +++ echo x86_64 @@ -7766,11 +7779,22 @@ 127: ++ echo -n 'Testing icf-small ... ' 127: Testing icf-small ... ++ t=out/test/elf/x86_64/icf-small 127: ++ mkdir -p out/test/elf/x86_64/icf-small +112: + out/test/elf/x86_64/gdb-index-dwarf4/exe +112: + DEBUGINFOD_URLS= +112: + gdb out/test/elf/x86_64/gdb-index-dwarf4/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit +111: + out/test/elf/x86_64/gdb-index-dwarf3/exe +111: + grep -q 'Hello world' +127: + cat +111: + DEBUGINFOD_URLS= +111: + gdb out/test/elf/x86_64/gdb-index-dwarf3/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit 128: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/icf.sh +127: + cc -o out/test/elf/x86_64/icf-small/a.o -c -ffunction-sections -xc - 128: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 128: ++ export LC_ALL=C 128: ++ LC_ALL=C +126: + cc -B. -shared -o out/test/elf/x86_64/hidden-weak-undef/b.so out/test/elf/x86_64/hidden-weak-undef/a.o 128: ++++ uname -m +115: + cc -B. -shared -o out/test/elf/x86_64/gdb-index-split-dwarf/e.so out/test/elf/x86_64/gdb-index-split-dwarf/a.o out/test/elf/x86_64/gdb-index-split-dwarf/b.o out/test/elf/x86_64/gdb-index-split-dwarf/c.o out/test/elf/x86_64/gdb-index-split-dwarf/d.o -Wl,--gdb-index 128: +++ canonical_name x86_64 128: +++ case $1 in 128: +++ echo x86_64 @@ -7788,16 +7812,42 @@ 128: ++ QEMU= 128: ++ trap 'on_error $LINENO' ERR 128: ++ trap on_exit EXIT +128: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/icf.sh .sh +122: + out/test/elf/x86_64/hello-dynamic/exe +128: ++ testname=icf +128: ++ echo -n 'Testing icf ... ' +128: Testing icf ... ++ t=out/test/elf/x86_64/icf +128: ++ mkdir -p out/test/elf/x86_64/icf +122: + grep -q 'Hello world' +113: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf5/e.so +96: + out/test/elf/x86_64/exception/exe3 +113: + grep -Fq .gdb_index +113: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf5/f.o -fPIC -g -ggnu-pubnames -gdwarf-5 -xc - -gz +113: + cat +125: + cat +96: + c++ -B. -o out/test/elf/x86_64/exception/exe4 out/test/elf/x86_64/exception/c.o -no-pie +125: + cc -o out/test/elf/x86_64/hidden-undef/b.o -fPIC -c -xc - +122: + on_exit +122: + echo OK +122: OK +122: + exit 0 +114/309 Test #122: x86_64-hello-dynamic .................... Passed 0.26 sec +test 129 + Start 129: x86_64-ifunc-alias + +129: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/ifunc-alias.sh" +129: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +129: Test timeout computed to be: 1500 +128: + '[' x86_64 = ppc64 ']' 129: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/ifunc-alias.sh 129: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 129: ++ export LC_ALL=C 129: ++ LC_ALL=C +127: + ./mold -o out/test/elf/x86_64/icf-small/exe -icf=all out/test/elf/x86_64/icf-small/a.o +128: + cat +128: + cc -c -o out/test/elf/x86_64/icf/a.o -ffunction-sections -fdata-sections -xc - +105: + cc -B. -static -Wl,--filler,0x00 -o out/test/elf/x86_64/filler/exe2 out/test/elf/x86_64/filler/a.o 129: ++++ uname -m -112: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf4/exe -112: + grep -Fq .gdb_index -113: + grep -Fq .gdb_index -113: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf5/e.so -96: + out/test/elf/x86_64/exception/exe4 129: +++ canonical_name x86_64 129: +++ case $1 in 129: +++ echo x86_64 @@ -7815,41 +7865,52 @@ 129: ++ QEMU= 129: ++ trap 'on_error $LINENO' ERR 129: ++ trap on_exit EXIT -96: + c++ -B. -o out/test/elf/x86_64/exception/exe5 out/test/elf/x86_64/exception/b.o -pie -Wl,--gc-sections -130: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/ifunc-dso.sh -112: + grep -q 'Hello world' -112: + out/test/elf/x86_64/gdb-index-dwarf4/exe +125: + 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 129: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/ifunc-alias.sh .sh -128: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/icf.sh .sh -130: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -130: ++ export LC_ALL=C -130: ++ LC_ALL=C -127: + cat -127: + cc -o out/test/elf/x86_64/icf-small/a.o -c -ffunction-sections -xc - -112: + DEBUGINFOD_URLS= -112: + gdb out/test/elf/x86_64/gdb-index-dwarf4/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit -113: + cat 129: ++ testname=ifunc-alias 129: ++ echo -n 'Testing ifunc-alias ... ' 129: Testing ifunc-alias ... ++ t=out/test/elf/x86_64/ifunc-alias 129: ++ mkdir -p out/test/elf/x86_64/ifunc-alias -128: ++ testname=icf -128: ++ echo -n 'Testing icf ... ' -128: Testing icf ... ++ t=out/test/elf/x86_64/icf -128: ++ mkdir -p out/test/elf/x86_64/icf -113: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf5/f.o -fPIC -g -ggnu-pubnames -gdwarf-5 -xc - -gz -128: + '[' x86_64 = ppc64 ']' 129: + supports_ifunc -130: ++++ uname -m +129: + cc -c -o /dev/null -xc - +115: + readelf -WS out/test/elf/x86_64/gdb-index-split-dwarf/e.so +127: + on_exit +127: + echo OK +127: OK +127: + exit 0 +115/309 Test #127: x86_64-icf-small ........................ Passed 0.15 sec +test 130 + Start 130: x86_64-ifunc-dso + +130: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/ifunc-dso.sh" +130: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +130: Test timeout computed to be: 1500 129: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -128: + cc -c -o out/test/elf/x86_64/icf/a.o -ffunction-sections -fdata-sections -xc - +115: + grep -Fq .gdb_index +115: + cc -c -o out/test/elf/x86_64/gdb-index-split-dwarf/f.o -fPIC -g -ggnu-pubnames -gdwarf-5 -gsplit-dwarf -xc - -gz +123: + cat +113: + cc -B. -o out/test/elf/x86_64/gdb-index-dwarf5/exe out/test/elf/x86_64/gdb-index-dwarf5/e.so out/test/elf/x86_64/gdb-index-dwarf5/f.o -Wl,--gdb-index +126: + readelf -W --dyn-syms out/test/elf/x86_64/hidden-weak-undef/b.so +115: + cat +126: + grep -qw foo out/test/elf/x86_64/hidden-weak-undef/log +130: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/ifunc-dso.sh +123: + cc -o out/test/elf/x86_64/hello-static/a.o -c -xc - +130: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +130: ++ export LC_ALL=C +130: ++ LC_ALL=C +130: ++++ uname -m 130: +++ canonical_name x86_64 130: +++ case $1 in 130: +++ echo x86_64 -128: + cat +126: + grep -qw bar out/test/elf/x86_64/hidden-weak-undef/log +128: + cc -B. -o out/test/elf/x86_64/icf/exe out/test/elf/x86_64/icf/a.o -Wl,-icf=all 130: ++ HOST=x86_64 130: ++ '[' -n '' ']' 130: ++ MACHINE=x86_64 +126: + on_exit +126: + echo OK +126: OK +126: + exit 0 130: ++ '[' -n '' ']' 130: ++ CC=cc 130: ++ CXX=c++ @@ -7861,53 +7922,28 @@ 130: ++ QEMU= 130: ++ trap 'on_error $LINENO' ERR 130: ++ trap on_exit EXIT -129: + cc -c -o /dev/null -xc - -130: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/ifunc-dso.sh .sh -130: ++ testname=ifunc-dso -130: ++ echo -n 'Testing ifunc-dso ... ' -130: Testing ifunc-dso ... ++ t=out/test/elf/x86_64/ifunc-dso -130: ++ mkdir -p out/test/elf/x86_64/ifunc-dso -130: + supports_ifunc -130: + cc -c -o /dev/null -xc - -130: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -125: + cat -115: + cc -B. -shared -o out/test/elf/x86_64/gdb-index-split-dwarf/e.so out/test/elf/x86_64/gdb-index-split-dwarf/a.o out/test/elf/x86_64/gdb-index-split-dwarf/b.o out/test/elf/x86_64/gdb-index-split-dwarf/c.o out/test/elf/x86_64/gdb-index-split-dwarf/d.o -Wl,--gdb-index -126: + cc -B. -shared -o out/test/elf/x86_64/hidden-weak-undef/b.so out/test/elf/x86_64/hidden-weak-undef/a.o -125: + cc -o out/test/elf/x86_64/hidden-undef/b.o -fPIC -c -xc - -127: + ./mold -o out/test/elf/x86_64/icf-small/exe -icf=all out/test/elf/x86_64/icf-small/a.o -123: + cat -113: + cc -B. -o out/test/elf/x86_64/gdb-index-dwarf5/exe out/test/elf/x86_64/gdb-index-dwarf5/e.so out/test/elf/x86_64/gdb-index-dwarf5/f.o -Wl,--gdb-index -105: + od -x out/test/elf/x86_64/filler/exe2 -123: + cc -o out/test/elf/x86_64/hello-static/a.o -c -xc - -129: + cat -130: + cc -fPIC -o out/test/elf/x86_64/ifunc-dso/a.o -c -xc - -129: + cc -fPIC -o out/test/elf/x86_64/ifunc-alias/a.o -c -xc - -130: + cat -128: + cc -B. -o out/test/elf/x86_64/icf/exe out/test/elf/x86_64/icf/a.o -Wl,-icf=all -127: + on_exit -127: + echo OK -127: OK -127: + exit 0 -96: + out/test/elf/x86_64/exception/exe5 -115/309 Test #127: x86_64-icf-small ........................ Passed 0.24 sec +116/309 Test #126: x86_64-hidden-weak-undef ................ Passed 0.21 sec test 131 Start 131: x86_64-ifunc-dynamic 131: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/ifunc-dynamic.sh" 131: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 131: Test timeout computed to be: 1500 -96: + c++ -B. -o out/test/elf/x86_64/exception/exe6 out/test/elf/x86_64/exception/c.o -static -pthread -Wl,--gc-sections +130: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/ifunc-dso.sh .sh +130: ++ testname=ifunc-dso +130: ++ echo -n 'Testing ifunc-dso ... ' +130: Testing ifunc-dso ... ++ t=out/test/elf/x86_64/ifunc-dso +130: ++ mkdir -p out/test/elf/x86_64/ifunc-dso +96: + out/test/elf/x86_64/exception/exe4 131: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/ifunc-dynamic.sh +96: + c++ -B. -o out/test/elf/x86_64/exception/exe5 out/test/elf/x86_64/exception/b.o -pie -Wl,--gc-sections +130: + supports_ifunc +130: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +130: + cc -c -o /dev/null -xc - 131: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 131: ++ export LC_ALL=C 131: ++ LC_ALL=C -125: + 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 -115: + readelf -WS out/test/elf/x86_64/gdb-index-split-dwarf/e.so -115: + grep -Fq .gdb_index 131: ++++ uname -m -115: + cat -115: + cc -c -o out/test/elf/x86_64/gdb-index-split-dwarf/f.o -fPIC -g -ggnu-pubnames -gdwarf-5 -gsplit-dwarf -xc - -gz -113: + grep -Fq .gdb_index 131: +++ canonical_name x86_64 131: +++ case $1 in 131: +++ echo x86_64 @@ -7925,48 +7961,44 @@ 131: ++ QEMU= 131: ++ trap 'on_error $LINENO' ERR 131: ++ trap on_exit EXIT -130: + cat -130: + cc -fPIC -shared -o out/test/elf/x86_64/ifunc-dso/b.so -xc - 131: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/ifunc-dynamic.sh .sh -113: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf5/exe 131: ++ testname=ifunc-dynamic 131: ++ echo -n 'Testing ifunc-dynamic ... ' 131: Testing ifunc-dynamic ... ++ t=out/test/elf/x86_64/ifunc-dynamic 131: ++ mkdir -p out/test/elf/x86_64/ifunc-dynamic -129: + cc -B. -o out/test/elf/x86_64/ifunc-alias/exe out/test/elf/x86_64/ifunc-alias/a.o -126: + readelf -W --dyn-syms out/test/elf/x86_64/hidden-weak-undef/b.so -113: + out/test/elf/x86_64/gdb-index-dwarf5/exe 131: + supports_ifunc -113: + grep -q 'Hello world' -131: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -113: + DEBUGINFOD_URLS= -113: + gdb out/test/elf/x86_64/gdb-index-dwarf5/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit 131: + cc -c -o /dev/null -xc - -126: + grep -qw foo out/test/elf/x86_64/hidden-weak-undef/log +129: + cat +129: + cc -fPIC -o out/test/elf/x86_64/ifunc-alias/a.o -c -xc - +131: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' 123: + cc -B. -o out/test/elf/x86_64/hello-static/exe out/test/elf/x86_64/hello-static/a.o -static -126: + grep -qw bar out/test/elf/x86_64/hidden-weak-undef/log -126: + on_exit -126: + echo OK -126: OK -126: + exit 0 -116/309 Test #126: x86_64-hidden-weak-undef ................ Passed 0.39 sec +115: + cc -B. -o out/test/elf/x86_64/gdb-index-split-dwarf/exe out/test/elf/x86_64/gdb-index-split-dwarf/e.so out/test/elf/x86_64/gdb-index-split-dwarf/f.o -Wl,--gdb-index +125: + grep -q 'undefined symbol: foo' out/test/elf/x86_64/hidden-undef/log +125: + on_exit +125: + echo OK +125: OK +125: + exit 0 +117/309 Test #125: x86_64-hidden-undef ..................... Passed 0.30 sec test 132 Start 132: x86_64-ifunc-export 132: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/ifunc-export.sh" 132: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 132: Test timeout computed to be: 1500 -125: + grep -q 'undefined symbol: foo' out/test/elf/x86_64/hidden-undef/log -131: + cat -131: + cc -o out/test/elf/x86_64/ifunc-dynamic/a.o -c -xc - 132: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/ifunc-export.sh 132: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 132: ++ export LC_ALL=C 132: ++ LC_ALL=C +113: + grep -Fq .gdb_index +113: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf5/exe +113: + out/test/elf/x86_64/gdb-index-dwarf5/exe 132: ++++ uname -m +130: + cat +130: + cc -fPIC -o out/test/elf/x86_64/ifunc-dso/a.o -c -xc - 132: +++ canonical_name x86_64 132: +++ case $1 in 132: +++ echo x86_64 +113: + grep -q 'Hello world' 132: ++ HOST=x86_64 132: ++ '[' -n '' ']' 132: ++ MACHINE=x86_64 @@ -7981,44 +8013,46 @@ 132: ++ QEMU= 132: ++ trap 'on_error $LINENO' ERR 132: ++ trap on_exit EXIT -125: + on_exit -125: + echo OK -125: OK -125: + exit 0 -117/309 Test #125: x86_64-hidden-undef ..................... Passed 0.47 sec -test 133 - Start 133: x86_64-ifunc-funcptr - -133: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/ifunc-funcptr.sh" -133: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -133: Test timeout computed to be: 1500 132: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/ifunc-export.sh .sh 132: ++ testname=ifunc-export +113: + DEBUGINFOD_URLS= +113: + gdb out/test/elf/x86_64/gdb-index-dwarf5/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit 132: ++ echo -n 'Testing ifunc-export ... ' 132: Testing ifunc-export ... ++ t=out/test/elf/x86_64/ifunc-export 132: ++ mkdir -p out/test/elf/x86_64/ifunc-export -115: + cc -B. -o out/test/elf/x86_64/gdb-index-split-dwarf/exe out/test/elf/x86_64/gdb-index-split-dwarf/e.so out/test/elf/x86_64/gdb-index-split-dwarf/f.o -Wl,--gdb-index 132: + supports_ifunc -128: + out/test/elf/x86_64/icf/exe -133: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/ifunc-funcptr.sh -133: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -133: ++ export LC_ALL=C -133: ++ LC_ALL=C -132: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +129: + cc -B. -o out/test/elf/x86_64/ifunc-alias/exe out/test/elf/x86_64/ifunc-alias/a.o +131: + cat +131: + cc -o out/test/elf/x86_64/ifunc-dynamic/a.o -c -xc - 132: + cc -c -o /dev/null -xc - +132: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +105: + od -x out/test/elf/x86_64/filler/exe2 +130: + cc -fPIC -shared -o out/test/elf/x86_64/ifunc-dso/b.so -xc - +130: + cat 128: + grep -q '1 0' +128: + out/test/elf/x86_64/icf/exe 128: + on_exit 128: + echo OK 128: OK 128: + exit 0 -133: ++++ uname -m -118/309 Test #128: x86_64-icf .............................. Passed 0.43 sec -test 134 - Start 134: x86_64-ifunc-noplt +118/309 Test #128: x86_64-icf .............................. Passed 0.35 sec +test 133 + Start 133: x86_64-ifunc-funcptr -134: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/ifunc-noplt.sh" -134: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -134: Test timeout computed to be: 1500 +133: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/ifunc-funcptr.sh" +133: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +133: Test timeout computed to be: 1500 +132: + cat +133: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/ifunc-funcptr.sh +133: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +133: ++ export LC_ALL=C +133: ++ LC_ALL=C +131: + cc -B. -o out/test/elf/x86_64/ifunc-dynamic/exe1 out/test/elf/x86_64/ifunc-dynamic/a.o -Wl,-z,lazy +132: + cc -c -fPIC -o out/test/elf/x86_64/ifunc-export/a.o -xc - +115: + readelf -WS out/test/elf/x86_64/gdb-index-split-dwarf/exe +115: + grep -Fq .gdb_index +133: ++++ uname -m +96: + out/test/elf/x86_64/exception/exe5 133: +++ canonical_name x86_64 133: +++ case $1 in 133: +++ echo x86_64 @@ -8036,22 +8070,54 @@ 133: ++ QEMU= 133: ++ trap 'on_error $LINENO' ERR 133: ++ trap on_exit EXIT -134: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/ifunc-noplt.sh -134: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -134: ++ export LC_ALL=C -134: ++ LC_ALL=C -134: ++++ uname -m 133: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/ifunc-funcptr.sh .sh 133: ++ testname=ifunc-funcptr 133: ++ echo -n 'Testing ifunc-funcptr ... ' 133: Testing ifunc-funcptr ... ++ t=out/test/elf/x86_64/ifunc-funcptr 133: ++ mkdir -p out/test/elf/x86_64/ifunc-funcptr 133: + supports_ifunc -130: + cc -B. -o out/test/elf/x86_64/ifunc-dso/exe out/test/elf/x86_64/ifunc-dso/a.o out/test/elf/x86_64/ifunc-dso/b.so +115: + grep -q 'Hello world' +129: + grep -Eq '^(\S+) \1$' +129: + out/test/elf/x86_64/ifunc-alias/exe +96: + c++ -B. -o out/test/elf/x86_64/exception/exe6 out/test/elf/x86_64/exception/c.o -static -pthread -Wl,--gc-sections +115: + out/test/elf/x86_64/gdb-index-split-dwarf/exe +129: + on_exit +129: + echo OK +129: OK +129: + exit 0 +115: + on_exit +115: + echo OK +115: OK +115: + exit 0 +119/309 Test #115: x86_64-gdb-index-split-dwarf ............ Passed 0.94 sec +test 134 + Start 134: x86_64-ifunc-noplt + +134: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/ifunc-noplt.sh" +134: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +134: Test timeout computed to be: 1500 +120/309 Test #129: x86_64-ifunc-alias ...................... Passed 0.34 sec +test 135 + Start 135: x86_64-ifunc-static-pie + +135: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/ifunc-static-pie.sh" +135: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +135: Test timeout computed to be: 1500 +133: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +133: + cc -c -o /dev/null -xc - +132: + cc -B. -shared -o out/test/elf/x86_64/ifunc-export/b.so out/test/elf/x86_64/ifunc-export/a.o +134: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/ifunc-noplt.sh +135: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/ifunc-static-pie.sh +135: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +135: ++ export LC_ALL=C +135: ++ LC_ALL=C +134: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +134: ++ export LC_ALL=C +134: ++ LC_ALL=C +134: ++++ uname -m 134: +++ canonical_name x86_64 134: +++ case $1 in 134: +++ echo x86_64 -132: + cat 134: ++ HOST=x86_64 134: ++ '[' -n '' ']' 134: ++ MACHINE=x86_64 @@ -8066,9 +8132,6 @@ 134: ++ QEMU= 134: ++ trap 'on_error $LINENO' ERR 134: ++ trap on_exit EXIT -132: + cc -c -fPIC -o out/test/elf/x86_64/ifunc-export/a.o -xc - -133: + cc -c -o /dev/null -xc - -133: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' 134: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/ifunc-noplt.sh .sh 134: ++ testname=ifunc-noplt 134: ++ echo -n 'Testing ifunc-noplt ... ' @@ -8077,76 +8140,13 @@ 134: + supports_ifunc 134: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' 134: + cc -c -o /dev/null -xc - -131: + cc -B. -o out/test/elf/x86_64/ifunc-dynamic/exe1 out/test/elf/x86_64/ifunc-dynamic/a.o -Wl,-z,lazy -129: + grep -Eq '^(\S+) \1$' -129: + out/test/elf/x86_64/ifunc-alias/exe -133: + cat -129: + on_exit -129: + echo OK -129: OK -129: + exit 0 -133: + cc -c -fPIC -o out/test/elf/x86_64/ifunc-funcptr/a.o -c -xc - -132: + cc -B. -shared -o out/test/elf/x86_64/ifunc-export/b.so out/test/elf/x86_64/ifunc-export/a.o -119/309 Test #129: x86_64-ifunc-alias ...................... Passed 0.50 sec -test 135 - Start 135: x86_64-ifunc-static-pie - -135: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/ifunc-static-pie.sh" -135: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -135: Test timeout computed to be: 1500 -115: + grep -Fq .gdb_index -135: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/ifunc-static-pie.sh -135: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -135: ++ export LC_ALL=C -135: ++ LC_ALL=C -115: + readelf -WS out/test/elf/x86_64/gdb-index-split-dwarf/exe -130: + out/test/elf/x86_64/ifunc-dso/exe -130: + grep -q 'Hello world' -123: + grep -q 'Hello world' -123: + out/test/elf/x86_64/hello-static/exe -130: + on_exit -130: + echo OK -130: OK -130: + exit 0 -120/309 Test #130: x86_64-ifunc-dso ........................ Passed 0.51 sec -test 136 - Start 136: x86_64-ifunc-static - -136: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/ifunc-static.sh" -136: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -136: Test timeout computed to be: 1500 -115: + grep -q 'Hello world' -115: + out/test/elf/x86_64/gdb-index-split-dwarf/exe -123: + on_exit -123: + echo OK -123: OK -123: + exit 0 -121/309 Test #123: x86_64-hello-static ..................... Passed 0.77 sec -test 137 - Start 137: x86_64-image-base - -137: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/image-base.sh" -137: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -137: Test timeout computed to be: 1500 135: ++++ uname -m 135: +++ canonical_name x86_64 135: +++ case $1 in 135: +++ echo x86_64 -115: + on_exit -115: + echo OK -115: OK -115: + exit 0 135: ++ HOST=x86_64 135: ++ '[' -n '' ']' 135: ++ MACHINE=x86_64 -136: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/ifunc-static.sh -122/309 Test #115: x86_64-gdb-index-split-dwarf ............ Passed 1.18 sec -test 138 - Start 138: x86_64-init-array-priorities - -138: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/init-array-priorities.sh" -138: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -138: Test timeout computed to be: 1500 135: ++ '[' -n '' ']' 135: ++ CC=cc 135: ++ CXX=c++ @@ -8164,11 +8164,35 @@ 135: Testing ifunc-static-pie ... ++ t=out/test/elf/x86_64/ifunc-static-pie 135: ++ mkdir -p out/test/elf/x86_64/ifunc-static-pie 135: + test_cflags -static-pie +135: + echo 'int main() {}' 135: + cc -static-pie -o /dev/null -xc - +123: + out/test/elf/x86_64/hello-static/exe +123: + grep -q 'Hello world' +131: + out/test/elf/x86_64/ifunc-dynamic/exe1 +131: + grep -q 'Hello world' +123: + on_exit +123: + echo OK +123: OK +123: + exit 0 +131: + cc -B. -o out/test/elf/x86_64/ifunc-dynamic/exe2 out/test/elf/x86_64/ifunc-dynamic/a.o -Wl,-z,now +121/309 Test #123: x86_64-hello-static ..................... Passed 0.63 sec +test 136 + Start 136: x86_64-ifunc-static + +136: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/ifunc-static.sh" +136: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +136: Test timeout computed to be: 1500 +134: + cc -fPIC -o out/test/elf/x86_64/ifunc-noplt/a.o -c -xc - -fno-plt +134: + cat +130: + cc -B. -o out/test/elf/x86_64/ifunc-dso/exe out/test/elf/x86_64/ifunc-dso/a.o out/test/elf/x86_64/ifunc-dso/b.so +136: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/ifunc-static.sh 136: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 136: ++ export LC_ALL=C 136: ++ LC_ALL=C +133: + cc -c -fPIC -o out/test/elf/x86_64/ifunc-funcptr/a.o -c -xc - +133: + cat 136: ++++ uname -m +132: + grep -Eq '(IFUNC|: 10)\s+GLOBAL DEFAULT.* foobar' 136: +++ canonical_name x86_64 136: +++ case $1 in 136: +++ echo x86_64 @@ -8187,28 +8211,65 @@ 136: ++ trap 'on_error $LINENO' ERR 136: ++ trap on_exit EXIT 136: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/ifunc-static.sh .sh +132: + readelf --dyn-syms out/test/elf/x86_64/ifunc-export/b.so 136: ++ testname=ifunc-static 136: ++ echo -n 'Testing ifunc-static ... ' 136: Testing ifunc-static ... ++ t=out/test/elf/x86_64/ifunc-static 136: ++ mkdir -p out/test/elf/x86_64/ifunc-static +105: + diff -q out/test/elf/x86_64/filler/txt1 out/test/elf/x86_64/filler/txt2 +132: + on_exit +132: + echo OK +132: OK +132: + exit 0 +136: + test_cflags -static +122/309 Test #132: x86_64-ifunc-export ..................... Passed 0.29 sec +test 137 + Start 137: x86_64-image-base + +137: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/image-base.sh" +137: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +137: Test timeout computed to be: 1500 +105: + on_exit +105: + echo OK +105: OK +105: + exit 0 +136: + echo 'int main() {}' +136: + cc -static -o /dev/null -xc - +123/309 Test #105: x86_64-filler ........................... Passed 1.30 sec +test 138 + Start 138: x86_64-init-array-priorities + +138: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/init-array-priorities.sh" +138: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +138: Test timeout computed to be: 1500 +112: + grep -q 'hello2 () at .*:7' out/test/elf/x86_64/gdb-index-dwarf4/log 137: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/image-base.sh 137: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 137: ++ export LC_ALL=C 137: ++ LC_ALL=C -96: + out/test/elf/x86_64/exception/exe6 -96: + '[' x86_64 = x86_64 ']' -96: + c++ -c -o out/test/elf/x86_64/exception/d.o out/test/elf/x86_64/exception/a.cc -mcmodel=large -fPIC -135: + echo 'int main() {}' -136: + test_cflags -static -136: + cc -static -o /dev/null -xc - -137: ++++ uname -m -134: + cat -134: + cc -fPIC -o out/test/elf/x86_64/ifunc-noplt/a.o -c -xc - -fno-plt +109: + grep -q 'hello () at .*:7' out/test/elf/x86_64/gdb-index-compress-output/log +133: + cat +112: + grep -q 'hello () at .*:4' out/test/elf/x86_64/gdb-index-dwarf4/log +110: + grep -q 'hello2 () at .*:7' out/test/elf/x86_64/gdb-index-dwarf2/log 138: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/init-array-priorities.sh -136: + echo 'int main() {}' +112: + grep -q 'greet () at .*:8' out/test/elf/x86_64/gdb-index-dwarf4/log +112: + grep -q 'main () at .*:4' out/test/elf/x86_64/gdb-index-dwarf4/log 138: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 138: ++ export LC_ALL=C 138: ++ LC_ALL=C +133: + cc -c -fPIC -o out/test/elf/x86_64/ifunc-funcptr/b.o -xc - +137: ++++ uname -m +112: + on_exit +112: + echo OK +112: OK +112: + exit 0 +124/309 Test #112: x86_64-gdb-index-dwarf4 ................. Passed 1.15 sec +test 139 + Start 139: x86_64-init-in-dso + +139: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/init-in-dso.sh" +139: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +139: Test timeout computed to be: 1500 137: +++ canonical_name x86_64 137: +++ case $1 in 137: +++ echo x86_64 @@ -8226,16 +8287,7 @@ 137: ++ QEMU= 137: ++ trap 'on_error $LINENO' ERR 137: ++ trap on_exit EXIT -131: + grep -q 'Hello world' -131: + out/test/elf/x86_64/ifunc-dynamic/exe1 -133: + cat 137: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/image-base.sh .sh -137: ++ testname=image-base -137: ++ echo -n 'Testing image-base ... ' -137: Testing image-base ... ++ t=out/test/elf/x86_64/image-base -137: ++ mkdir -p out/test/elf/x86_64/image-base -131: + cc -B. -o out/test/elf/x86_64/ifunc-dynamic/exe2 out/test/elf/x86_64/ifunc-dynamic/a.o -Wl,-z,now -133: + cc -c -fPIC -o out/test/elf/x86_64/ifunc-funcptr/b.o -xc - 138: ++++ uname -m 138: +++ canonical_name x86_64 138: +++ case $1 in @@ -8255,55 +8307,53 @@ 138: ++ trap 'on_error $LINENO' ERR 138: ++ trap on_exit EXIT 138: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/init-array-priorities.sh .sh -137: + cat +109: + grep -q 'greet () at .*:11' out/test/elf/x86_64/gdb-index-compress-output/log +109: + grep -q 'main () at .*:4' out/test/elf/x86_64/gdb-index-compress-output/log +111: + grep -q 'hello2 () at .*:7' out/test/elf/x86_64/gdb-index-dwarf3/log +110: + grep -q 'hello () at .*:4' out/test/elf/x86_64/gdb-index-dwarf2/log +137: ++ testname=image-base +137: ++ echo -n 'Testing image-base ... ' +137: Testing image-base ... ++ t=out/test/elf/x86_64/image-base +137: ++ mkdir -p out/test/elf/x86_64/image-base 138: ++ testname=init-array-priorities 138: ++ echo -n 'Testing init-array-priorities ... ' 138: Testing init-array-priorities ... ++ t=out/test/elf/x86_64/init-array-priorities 138: ++ mkdir -p out/test/elf/x86_64/init-array-priorities -137: + cc -o out/test/elf/x86_64/image-base/a.o -c -xc - -96: + c++ -B. -o out/test/elf/x86_64/exception/exe7 out/test/elf/x86_64/exception/d.o -static -pthread -138: + ldd --help -138: + grep -q musl -132: + grep -Eq '(IFUNC|: 10)\s+GLOBAL DEFAULT.* foobar' -132: + readelf --dyn-syms out/test/elf/x86_64/ifunc-export/b.so -138: + cat -138: + cc -c -o out/test/elf/x86_64/init-array-priorities/a.o -xc - -132: + on_exit -132: + echo OK -132: OK -132: + exit 0 -123/309 Test #132: x86_64-ifunc-export ..................... Passed 0.31 sec -test 139 - Start 139: x86_64-init-in-dso - -139: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/init-in-dso.sh" -139: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -139: Test timeout computed to be: 1500 -134: + cc -B. -o out/test/elf/x86_64/ifunc-noplt/exe out/test/elf/x86_64/ifunc-noplt/a.o -133: + cat -105: + diff -q out/test/elf/x86_64/filler/txt1 out/test/elf/x86_64/filler/txt2 -133: + cc -c -fPIC -o out/test/elf/x86_64/ifunc-funcptr/c.o -xc - +130: + grep -q 'Hello world' +130: + out/test/elf/x86_64/ifunc-dso/exe +111: + grep -q 'hello () at .*:4' out/test/elf/x86_64/gdb-index-dwarf3/log +110: + grep -q 'greet () at .*:8' out/test/elf/x86_64/gdb-index-dwarf2/log 139: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/init-in-dso.sh -105: + on_exit -105: + echo OK -105: OK -105: + exit 0 -139: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -139: ++ export LC_ALL=C -139: ++ LC_ALL=C -124/309 Test #105: x86_64-filler ........................... Passed 1.65 sec +130: + on_exit +130: + echo OK +130: OK +130: + exit 0 +137: + cc -o out/test/elf/x86_64/image-base/a.o -c -xc - +125/309 Test #130: x86_64-ifunc-dso ........................ Passed 0.46 sec test 140 Start 140: x86_64-init 140: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/init.sh" 140: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 140: Test timeout computed to be: 1500 -131: + out/test/elf/x86_64/ifunc-dynamic/exe2 -131: + grep -q 'Hello world' -131: + on_exit -131: + echo OK -131: OK -131: + exit 0 +110: + grep -q 'main () at .*:4' out/test/elf/x86_64/gdb-index-dwarf2/log +110: + on_exit +110: + echo OK +110: OK +110: + exit 0 +111: + grep -q 'greet () at .*:8' out/test/elf/x86_64/gdb-index-dwarf3/log +137: + cat +139: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +139: ++ export LC_ALL=C +139: ++ LC_ALL=C +126/309 Test #110: x86_64-gdb-index-dwarf2 ................. Passed 1.20 sec +test 141 + Start 141: x86_64-initfirst + +141: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/initfirst.sh" +141: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +141: Test timeout computed to be: 1500 +111: + grep -q 'main () at .*:4' out/test/elf/x86_64/gdb-index-dwarf3/log 139: ++++ uname -m 139: +++ canonical_name x86_64 139: +++ case $1 in @@ -8323,32 +8373,34 @@ 139: ++ trap 'on_error $LINENO' ERR 139: ++ trap on_exit EXIT 139: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/init-in-dso.sh .sh +109: + on_exit +109: + echo OK +109: OK +109: + exit 0 140: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/init.sh -125/309 Test #131: x86_64-ifunc-dynamic .................... Passed 0.51 sec -test 141 - Start 141: x86_64-initfirst +140: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +140: ++ export LC_ALL=C +140: ++ LC_ALL=C +140: ++++ uname -m +127/309 Test #109: x86_64-gdb-index-compress-output ........ Passed 1.24 sec +test 142 + Start 142: x86_64-interpose -141: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/initfirst.sh" -141: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -141: Test timeout computed to be: 1500 +142: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/interpose.sh" +142: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +142: Test timeout computed to be: 1500 +111: + on_exit +111: + echo OK +111: OK +111: + exit 0 139: ++ testname=init-in-dso 139: ++ echo -n 'Testing init-in-dso ... ' 139: Testing init-in-dso ... ++ t=out/test/elf/x86_64/init-in-dso 139: ++ mkdir -p out/test/elf/x86_64/init-in-dso 139: + cc -shared -o out/test/elf/x86_64/init-in-dso/a.so -xc - -140: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -140: ++ export LC_ALL=C -140: ++ LC_ALL=C -140: ++++ uname -m -137: + 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 -138: + cc -c -o out/test/elf/x86_64/init-array-priorities/b.o -xc - -138: + cat -139: + cat -135: + supports_ifunc 140: +++ canonical_name x86_64 140: +++ case $1 in 140: +++ echo x86_64 -141: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/initfirst.sh 140: ++ HOST=x86_64 140: ++ '[' -n '' ']' 140: ++ MACHINE=x86_64 @@ -8363,18 +8415,55 @@ 140: ++ QEMU= 140: ++ trap 'on_error $LINENO' ERR 140: ++ trap on_exit EXIT +128/309 Test #111: x86_64-gdb-index-dwarf3 ................. Passed 1.20 sec +test 143 + Start 143: x86_64-invalid-version-script + +143: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/invalid-version-script.sh" +143: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +143: Test timeout computed to be: 1500 +139: + cat +138: + grep -q musl +138: + ldd --help +142: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/interpose.sh +142: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +142: ++ export LC_ALL=C +142: ++ LC_ALL=C +134: + cc -B. -o out/test/elf/x86_64/ifunc-noplt/exe out/test/elf/x86_64/ifunc-noplt/a.o +143: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/invalid-version-script.sh +133: + cat +143: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +143: ++ export LC_ALL=C +143: ++ LC_ALL=C +140: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/init.sh .sh +141: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/initfirst.sh +142: ++++ uname -m 141: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 141: ++ export LC_ALL=C 141: ++ LC_ALL=C -135: + cc -c -o /dev/null -xc - -135: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -140: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/init.sh .sh 140: ++ testname=init 140: ++ echo -n 'Testing init ... ' 140: Testing init ... ++ t=out/test/elf/x86_64/init 140: ++ mkdir -p out/test/elf/x86_64/init +142: +++ canonical_name x86_64 +142: +++ case $1 in +142: +++ echo x86_64 141: ++++ uname -m -133: + cc -B. -o out/test/elf/x86_64/ifunc-funcptr/exe out/test/elf/x86_64/ifunc-funcptr/a.o out/test/elf/x86_64/ifunc-funcptr/b.o out/test/elf/x86_64/ifunc-funcptr/c.o +142: ++ HOST=x86_64 +142: ++ '[' -n '' ']' +142: ++ MACHINE=x86_64 +142: ++ '[' -n '' ']' +142: ++ CC=cc +142: ++ CXX=c++ +142: ++ GCC=gcc +142: ++ GXX=g++ +142: ++ OBJDUMP=objdump +142: ++ OBJCOPY=objcopy +142: ++ STRIP=strip +142: ++ QEMU= +142: ++ trap 'on_error $LINENO' ERR +142: ++ trap on_exit EXIT +133: + cc -c -fPIC -o out/test/elf/x86_64/ifunc-funcptr/c.o -xc - 141: +++ canonical_name x86_64 141: +++ case $1 in 141: +++ echo x86_64 @@ -8392,122 +8481,74 @@ 141: ++ QEMU= 141: ++ trap 'on_error $LINENO' ERR 141: ++ trap on_exit EXIT -136: + supports_ifunc -136: + cc -c -o /dev/null -xc - -136: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -140: + cat -141: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/initfirst.sh .sh 140: + cc -o out/test/elf/x86_64/init/a.o -c -xc - +141: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/initfirst.sh .sh +140: + cat +138: + cat +138: + cc -c -o out/test/elf/x86_64/init-array-priorities/a.o -xc - +142: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/interpose.sh .sh 141: ++ testname=initfirst 141: ++ echo -n 'Testing initfirst ... ' 141: Testing initfirst ... ++ t=out/test/elf/x86_64/initfirst 141: ++ mkdir -p out/test/elf/x86_64/initfirst -135: + cat -135: + cc -o out/test/elf/x86_64/ifunc-static-pie/a.o -c -xc - -fPIC -138: + cat -141: + cc -c -fPIC -o out/test/elf/x86_64/initfirst/a.o -xc - -134: + out/test/elf/x86_64/ifunc-noplt/exe -138: + cc -c -o out/test/elf/x86_64/init-array-priorities/c.o -xc - -141: + cat -134: + grep -q 'Hello world' -111: + grep -q 'hello2 () at .*:7' out/test/elf/x86_64/gdb-index-dwarf3/log -134: + on_exit -134: + echo OK -134: OK -134: + exit 0 -126/309 Test #134: x86_64-ifunc-noplt ...................... Passed 0.42 sec -test 142 - Start 142: x86_64-interpose - -142: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/interpose.sh" -142: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -142: Test timeout computed to be: 1500 -111: + grep -q 'hello () at .*:4' out/test/elf/x86_64/gdb-index-dwarf3/log -142: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/interpose.sh -142: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -142: ++ export LC_ALL=C -142: ++ LC_ALL=C -111: + grep -q 'greet () at .*:8' out/test/elf/x86_64/gdb-index-dwarf3/log -137: + grep -q 'Hello world' -136: + cc -o out/test/elf/x86_64/ifunc-static/a.o -c -xc - -140: + cc -B. -o out/test/elf/x86_64/init/exe out/test/elf/x86_64/init/a.o -Wl,-init,foo -137: + out/test/elf/x86_64/image-base/exe1 -142: ++++ uname -m -142: +++ canonical_name x86_64 -142: +++ case $1 in -142: +++ echo x86_64 -136: + cat -111: + grep -q 'main () at .*:4' out/test/elf/x86_64/gdb-index-dwarf3/log -142: ++ HOST=x86_64 -142: ++ '[' -n '' ']' -142: ++ MACHINE=x86_64 -142: ++ '[' -n '' ']' -142: ++ CC=cc -142: ++ CXX=c++ -142: ++ GCC=gcc -142: ++ GXX=g++ -142: ++ OBJDUMP=objdump -142: ++ OBJCOPY=objcopy -142: ++ STRIP=strip -142: ++ QEMU= -142: ++ trap 'on_error $LINENO' ERR -142: ++ trap on_exit EXIT -133: + grep -q '^3$' -137: + readelf -W --sections out/test/elf/x86_64/image-base/exe1 -111: + on_exit -111: + echo OK -111: OK -111: + exit 0 -142: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/interpose.sh .sh -127/309 Test #111: x86_64-gdb-index-dwarf3 ................. Passed 1.67 sec -test 143 - Start 143: x86_64-invalid-version-script - -143: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/invalid-version-script.sh" -143: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -143: Test timeout computed to be: 1500 -141: + cc -B. -shared -o out/test/elf/x86_64/initfirst/b.so out/test/elf/x86_64/initfirst/a.o -Wl,-z,initfirst -137: + grep -Eq '.interp\s+PROGBITS\s+0*8000...\b' -137: + cc -o out/test/elf/x86_64/image-base/b.o -c -xc - -139: + cc -o out/test/elf/x86_64/init-in-dso/b.o -c -xc - -139: + cat -133: + out/test/elf/x86_64/ifunc-funcptr/exe -133: + on_exit -133: + echo OK -133: OK -133: + exit 0 +143: ++++ uname -m 142: ++ testname=interpose 142: ++ echo -n 'Testing interpose ... ' 142: Testing interpose ... ++ t=out/test/elf/x86_64/interpose 142: ++ mkdir -p out/test/elf/x86_64/interpose -128/309 Test #133: x86_64-ifunc-funcptr .................... Passed 0.53 sec +131: + out/test/elf/x86_64/ifunc-dynamic/exe2 +141: + cat +141: + cc -c -fPIC -o out/test/elf/x86_64/initfirst/a.o -xc - +143: +++ canonical_name x86_64 +143: +++ case $1 in +143: +++ echo x86_64 +143: ++ HOST=x86_64 +143: ++ '[' -n '' ']' +143: ++ MACHINE=x86_64 +143: ++ '[' -n '' ']' +143: ++ CC=cc +143: ++ CXX=c++ +143: ++ GCC=gcc +143: ++ GXX=g++ +143: ++ OBJDUMP=objdump +143: ++ OBJCOPY=objcopy +143: ++ STRIP=strip +143: ++ QEMU= +143: ++ trap 'on_error $LINENO' ERR +143: ++ trap on_exit EXIT +143: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/invalid-version-script.sh .sh +143: ++ testname=invalid-version-script +143: ++ echo -n 'Testing invalid-version-script ... ' +143: Testing invalid-version-script ... ++ t=out/test/elf/x86_64/invalid-version-script +143: ++ mkdir -p out/test/elf/x86_64/invalid-version-script +131: + grep -q 'Hello world' +131: + on_exit +131: + echo OK +131: OK +131: + exit 0 +135: + supports_ifunc +135: + cc -c -o /dev/null -xc - +129/309 Test #131: x86_64-ifunc-dynamic .................... Passed 0.47 sec test 144 Start 144: x86_64-issue646 144: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/issue646.sh" 144: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 144: Test timeout computed to be: 1500 -137: + cat -96: + out/test/elf/x86_64/exception/exe7 -143: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/invalid-version-script.sh -96: + c++ -B. -o out/test/elf/x86_64/exception/exe8 out/test/elf/x86_64/exception/d.o -pie +137: + 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 +142: + cc -c -fPIC -o out/test/elf/x86_64/interpose/a.o -xc - +142: + cat +135: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +143: + cc -c -o out/test/elf/x86_64/invalid-version-script/a.o -xc - +143: + echo 'int main() {}' 144: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/issue646.sh 144: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 144: ++ export LC_ALL=C 144: ++ LC_ALL=C -143: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -143: ++ export LC_ALL=C -143: ++ LC_ALL=C -142: + cat 144: ++++ uname -m 144: +++ canonical_name x86_64 144: +++ case $1 in 144: +++ echo x86_64 -135: + cc -B. -o out/test/elf/x86_64/ifunc-static-pie/exe2 out/test/elf/x86_64/ifunc-static-pie/a.o -static-pie -142: + cc -c -fPIC -o out/test/elf/x86_64/interpose/a.o -xc - -143: ++++ uname -m -138: + cat -138: + cc -c -o out/test/elf/x86_64/init-array-priorities/d.o -xc - 144: ++ HOST=x86_64 144: ++ '[' -n '' ']' 144: ++ MACHINE=x86_64 @@ -8522,88 +8563,63 @@ 144: ++ QEMU= 144: ++ trap 'on_error $LINENO' ERR 144: ++ trap on_exit EXIT +139: + cc -o out/test/elf/x86_64/init-in-dso/b.o -c -xc - +138: + cc -c -o out/test/elf/x86_64/init-array-priorities/b.o -xc - +140: + cc -B. -o out/test/elf/x86_64/init/exe out/test/elf/x86_64/init/a.o -Wl,-init,foo +139: + cat +133: + cc -B. -o out/test/elf/x86_64/ifunc-funcptr/exe out/test/elf/x86_64/ifunc-funcptr/a.o out/test/elf/x86_64/ifunc-funcptr/b.o out/test/elf/x86_64/ifunc-funcptr/c.o 144: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/issue646.sh .sh -143: +++ canonical_name x86_64 -143: +++ case $1 in -143: +++ echo x86_64 -143: ++ HOST=x86_64 -143: ++ '[' -n '' ']' -143: ++ MACHINE=x86_64 -143: ++ '[' -n '' ']' -143: ++ CC=cc -143: ++ CXX=c++ -143: ++ GCC=gcc -143: ++ GXX=g++ -143: ++ OBJDUMP=objdump -143: ++ OBJCOPY=objcopy -143: ++ STRIP=strip -143: ++ QEMU= -143: ++ trap 'on_error $LINENO' ERR -143: ++ trap on_exit EXIT 144: ++ testname=issue646 144: ++ echo -n 'Testing issue646 ... ' 144: Testing issue646 ... ++ t=out/test/elf/x86_64/issue646 144: ++ mkdir -p out/test/elf/x86_64/issue646 -110: + grep -q 'hello2 () at .*:7' out/test/elf/x86_64/gdb-index-dwarf2/log -143: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/invalid-version-script.sh .sh +135: + cat +135: + cc -o out/test/elf/x86_64/ifunc-static-pie/a.o -c -xc - -fPIC +138: + cat 144: + '[' x86_64 = sh4 ']' +141: + cc -B. -shared -o out/test/elf/x86_64/initfirst/b.so out/test/elf/x86_64/initfirst/a.o -Wl,-z,initfirst 144: + c++ -o out/test/elf/x86_64/issue646/a.o -c -xc++ - -143: ++ testname=invalid-version-script -143: ++ echo -n 'Testing invalid-version-script ... ' -143: Testing invalid-version-script ... ++ t=out/test/elf/x86_64/invalid-version-script -143: ++ mkdir -p out/test/elf/x86_64/invalid-version-script -136: + cc -B. -o out/test/elf/x86_64/ifunc-static/exe out/test/elf/x86_64/ifunc-static/a.o -static -110: + grep -q 'hello () at .*:4' out/test/elf/x86_64/gdb-index-dwarf2/log -110: + grep -q 'greet () at .*:8' out/test/elf/x86_64/gdb-index-dwarf2/log +96: + out/test/elf/x86_64/exception/exe6 +142: + cc -B. -shared -o out/test/elf/x86_64/interpose/b.so out/test/elf/x86_64/interpose/a.o -Wl,-z,interpose +96: + '[' x86_64 = x86_64 ']' +96: + c++ -c -o out/test/elf/x86_64/exception/d.o out/test/elf/x86_64/exception/a.cc -mcmodel=large -fPIC 144: + cat -143: + echo 'int main() {}' -143: + cc -c -o out/test/elf/x86_64/invalid-version-script/a.o -xc - -110: + grep -q 'main () at .*:4' out/test/elf/x86_64/gdb-index-dwarf2/log -110: + on_exit -110: + echo OK -110: OK -110: + exit 0 -129/309 Test #110: x86_64-gdb-index-dwarf2 ................. Passed 1.77 sec +143: + echo 'VER1 { foo[12; };' +143: + 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 +134: + out/test/elf/x86_64/ifunc-noplt/exe +134: + grep -q 'Hello world' +134: + on_exit +134: + echo OK +134: OK +134: + exit 0 +130/309 Test #134: x86_64-ifunc-noplt ...................... Passed 0.33 sec test 145 Start 145: x86_64-large-alignment-dso 145: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/large-alignment-dso.sh" 145: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 145: Test timeout computed to be: 1500 -139: + 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 -137: + '[' x86_64 = x86-64 -o x86_64 = aarch64 ']' -137: + on_exit -137: + echo OK -137: OK -137: + exit 0 -130/309 Test #137: x86_64-image-base ....................... Passed 0.44 sec -test 146 - Start 146: x86_64-large-alignment - -146: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/large-alignment.sh" -146: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -146: Test timeout computed to be: 1500 +136: + supports_ifunc +136: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +136: + cc -c -o /dev/null -xc - 145: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/large-alignment-dso.sh 145: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 145: ++ export LC_ALL=C 145: ++ LC_ALL=C -138: + cc -c -o out/test/elf/x86_64/init-array-priorities/e.o -xc - -140: + readelf --dynamic out/test/elf/x86_64/init/exe -140: + grep -Fq '(INIT)' -146: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/large-alignment.sh -146: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -146: ++ export LC_ALL=C -146: ++ LC_ALL=C -140: + cc -B. -o out/test/elf/x86_64/init/exe out/test/elf/x86_64/init/a.o -Wl,-init,no-such-symbol +139: + 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 138: + cat +138: + cc -c -o out/test/elf/x86_64/init-array-priorities/c.o -xc - +135: + cc -B. -o out/test/elf/x86_64/ifunc-static-pie/exe2 out/test/elf/x86_64/ifunc-static-pie/a.o -static-pie +137: + grep -q 'Hello world' 145: ++++ uname -m +96: + c++ -B. -o out/test/elf/x86_64/exception/exe7 out/test/elf/x86_64/exception/d.o -static -pthread 141: + readelf --dynamic out/test/elf/x86_64/initfirst/b.so -141: + grep -q 'Flags:.*INITFIRST' -96: + out/test/elf/x86_64/exception/exe8 +137: + out/test/elf/x86_64/image-base/exe1 145: +++ canonical_name x86_64 145: +++ case $1 in 145: +++ echo x86_64 -142: + cc -B. -shared -o out/test/elf/x86_64/interpose/b.so out/test/elf/x86_64/interpose/a.o -Wl,-z,interpose +137: + readelf -W --sections out/test/elf/x86_64/image-base/exe1 +137: + grep -Eq '.interp\s+PROGBITS\s+0*8000...\b' 145: ++ HOST=x86_64 145: ++ '[' -n '' ']' 145: ++ MACHINE=x86_64 @@ -8618,21 +8634,36 @@ 145: ++ QEMU= 145: ++ trap 'on_error $LINENO' ERR 145: ++ trap on_exit EXIT -96: + '[' x86_64 = x86_64 -o x86_64 = aarch64 ']' -96: + c++ -c -o out/test/elf/x86_64/exception/e.o out/test/elf/x86_64/exception/a.cc -mcmodel=large -fno-PIC -146: ++++ uname -m -109: + grep -q 'hello () at .*:7' out/test/elf/x86_64/gdb-index-compress-output/log +141: + grep -q 'Flags:.*INITFIRST' +145: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/large-alignment-dso.sh .sh +145: ++ testname=large-alignment-dso +145: ++ echo -n 'Testing large-alignment-dso ... ' +145: Testing large-alignment-dso ... ++ t=out/test/elf/x86_64/large-alignment-dso +145: ++ mkdir -p out/test/elf/x86_64/large-alignment-dso +137: + cat +137: + cc -o out/test/elf/x86_64/image-base/b.o -c -xc - 141: + on_exit 141: + echo OK 141: OK 141: + exit 0 -131/309 Test #141: x86_64-initfirst ........................ Passed 0.29 sec -test 147 - Start 147: x86_64-large-max-page-size-strip +131/309 Test #141: x86_64-initfirst ........................ Passed 0.18 sec +test 146 + Start 146: x86_64-large-alignment -147: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/large-max-page-size-strip.sh" -147: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -147: Test timeout computed to be: 1500 +146: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/large-alignment.sh" +146: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +146: Test timeout computed to be: 1500 +145: + '[' x86_64 = i386 ']' +136: + cat +145: + cc -o out/test/elf/x86_64/large-alignment-dso/a.o -c -xc - -ffunction-sections -fPIC +136: + cc -o out/test/elf/x86_64/ifunc-static/a.o -c -xc - +146: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/large-alignment.sh +146: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +146: ++ export LC_ALL=C +146: ++ LC_ALL=C +143: + grep -q 'invalid version pattern' out/test/elf/x86_64/invalid-version-script/log +145: + cat +146: ++++ uname -m 146: +++ canonical_name x86_64 146: +++ case $1 in 146: +++ echo x86_64 @@ -8650,77 +8681,70 @@ 146: ++ QEMU= 146: ++ trap 'on_error $LINENO' ERR 146: ++ trap on_exit EXIT -145: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/large-alignment-dso.sh .sh -145: ++ testname=large-alignment-dso -145: ++ echo -n 'Testing large-alignment-dso ... ' -145: Testing large-alignment-dso ... ++ t=out/test/elf/x86_64/large-alignment-dso -145: ++ mkdir -p out/test/elf/x86_64/large-alignment-dso +143: + on_exit +143: + echo OK +143: OK +143: + exit 0 +133: + out/test/elf/x86_64/ifunc-funcptr/exe +132/309 Test #143: x86_64-invalid-version-script ........... Passed 0.20 sec +test 147 + Start 147: x86_64-large-max-page-size-strip + +147: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/large-max-page-size-strip.sh" +147: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +147: Test timeout computed to be: 1500 +133: + grep -q '^3$' +133: + on_exit +133: + echo OK +133: OK +133: + exit 0 +133/309 Test #133: x86_64-ifunc-funcptr .................... Passed 0.47 sec +test 148 + Start 148: x86_64-large-max-page-size + +148: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/large-max-page-size.sh" +148: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +148: Test timeout computed to be: 1500 146: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/large-alignment.sh .sh -143: + echo 'VER1 { foo[12; };' -143: + 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 -147: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/large-max-page-size-strip.sh 146: ++ testname=large-alignment 146: ++ echo -n 'Testing large-alignment ... ' 146: Testing large-alignment ... ++ t=out/test/elf/x86_64/large-alignment 146: ++ mkdir -p out/test/elf/x86_64/large-alignment -109: + grep -q 'greet () at .*:11' out/test/elf/x86_64/gdb-index-compress-output/log +137: + '[' x86_64 = x86-64 -o x86_64 = aarch64 ']' +137: + on_exit +137: + echo OK +137: OK +137: + exit 0 +134/309 Test #137: x86_64-image-base ....................... Passed 0.29 sec +test 149 + Start 149: x86_64-large-text + +149: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/large-text.sh" +149: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +149: Test timeout computed to be: 1500 +147: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/large-max-page-size-strip.sh 147: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 147: ++ export LC_ALL=C 147: ++ LC_ALL=C +138: + cc -c -o out/test/elf/x86_64/init-array-priorities/d.o -xc - +138: + cat 146: + '[' x86_64 = i386 ']' -109: + grep -q 'main () at .*:4' out/test/elf/x86_64/gdb-index-compress-output/log -146: + cc -o out/test/elf/x86_64/large-alignment/a.o -c -xc - -ffunction-sections 146: + cat -145: + '[' x86_64 = i386 ']' -109: + on_exit -109: + echo OK -109: OK -109: + exit 0 -132/309 Test #109: x86_64-gdb-index-compress-output ........ Passed 1.86 sec -test 148 - Start 148: x86_64-large-max-page-size - -148: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/large-max-page-size.sh" -148: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -148: Test timeout computed to be: 1500 -145: + cc -o out/test/elf/x86_64/large-alignment-dso/a.o -c -xc - -ffunction-sections -fPIC -145: + cat -112: + grep -q 'hello2 () at .*:7' out/test/elf/x86_64/gdb-index-dwarf4/log -112: + grep -q 'hello () at .*:4' out/test/elf/x86_64/gdb-index-dwarf4/log -147: ++++ uname -m -147: +++ canonical_name x86_64 -147: +++ case $1 in -147: +++ echo x86_64 -147: ++ HOST=x86_64 -147: ++ '[' -n '' ']' -147: ++ MACHINE=x86_64 -147: ++ '[' -n '' ']' -147: ++ CC=cc -147: ++ CXX=c++ -147: ++ GCC=gcc -147: ++ GXX=g++ -147: ++ OBJDUMP=objdump -147: ++ OBJCOPY=objcopy -147: ++ STRIP=strip -147: ++ QEMU= -147: ++ trap 'on_error $LINENO' ERR -147: ++ trap on_exit EXIT -147: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/large-max-page-size-strip.sh .sh -112: + grep -q 'greet () at .*:8' out/test/elf/x86_64/gdb-index-dwarf4/log +146: + cc -o out/test/elf/x86_64/large-alignment/a.o -c -xc - -ffunction-sections 148: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/large-max-page-size.sh 148: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 148: ++ export LC_ALL=C 148: ++ LC_ALL=C -112: + grep -q 'main () at .*:4' out/test/elf/x86_64/gdb-index-dwarf4/log +149: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/large-text.sh +142: + readelf --dynamic out/test/elf/x86_64/interpose/b.so 148: ++++ uname -m -147: ++ testname=large-max-page-size-strip -147: ++ echo -n 'Testing large-max-page-size-strip ... ' -147: Testing large-max-page-size-strip ... ++ t=out/test/elf/x86_64/large-max-page-size-strip -147: ++ mkdir -p out/test/elf/x86_64/large-max-page-size-strip +142: + grep -q 'Flags:.*INTERPOSE' +149: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +149: ++ export LC_ALL=C +149: ++ LC_ALL=C 148: +++ canonical_name x86_64 148: +++ case $1 in 148: +++ echo x86_64 -138: + cat 148: ++ HOST=x86_64 148: ++ '[' -n '' ']' 148: ++ MACHINE=x86_64 @@ -8735,42 +8759,59 @@ 148: ++ QEMU= 148: ++ trap 'on_error $LINENO' ERR 148: ++ trap on_exit EXIT -148: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/large-max-page-size.sh .sh -138: + cc -c -o out/test/elf/x86_64/init-array-priorities/f.o -xc - -112: + on_exit -112: + echo OK -112: OK -112: + exit 0 -133/309 Test #112: x86_64-gdb-index-dwarf4 ................. Passed 1.85 sec -test 149 - Start 149: x86_64-large-text +142: + on_exit +142: + echo OK +142: OK +142: + exit 0 +135/309 Test #142: x86_64-interpose ........................ Passed 0.23 sec +test 150 + Start 150: x86_64-link-order -149: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/large-text.sh" -149: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -149: Test timeout computed to be: 1500 +150: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/link-order.sh" +150: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +150: Test timeout computed to be: 1500 +148: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/large-max-page-size.sh .sh 148: ++ testname=large-max-page-size 148: ++ echo -n 'Testing large-max-page-size ... ' 148: Testing large-max-page-size ... ++ t=out/test/elf/x86_64/large-max-page-size 148: ++ mkdir -p out/test/elf/x86_64/large-max-page-size -96: + c++ -B. -o out/test/elf/x86_64/exception/exe9 out/test/elf/x86_64/exception/e.o -static -pthread -147: + '[' x86_64 = arm ']' -147: + strip=strip -147: + command -v strip -149: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/large-text.sh -149: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -149: ++ export LC_ALL=C -149: ++ LC_ALL=C -147: + cc -o out/test/elf/x86_64/large-max-page-size-strip/a.o -c -xc - -fPIC -113: + grep -q 'fn8 () at .*/d.c:6' out/test/elf/x86_64/gdb-index-dwarf5/log +148: + cat +148: + cc -o out/test/elf/x86_64/large-max-page-size/a.o -c -xc - -fPIC +147: ++++ uname -m +150: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/link-order.sh 149: ++++ uname -m -147: + cat 149: +++ canonical_name x86_64 +147: +++ canonical_name x86_64 149: +++ case $1 in +147: +++ case $1 in +147: +++ echo x86_64 149: +++ echo x86_64 +147: ++ HOST=x86_64 +147: ++ '[' -n '' ']' +147: ++ MACHINE=x86_64 +147: ++ '[' -n '' ']' +147: ++ CC=cc +147: ++ CXX=c++ +147: ++ GCC=gcc +147: ++ GXX=g++ +147: ++ OBJDUMP=objdump +147: ++ OBJCOPY=objcopy +147: ++ STRIP=strip +147: ++ QEMU= +147: ++ trap 'on_error $LINENO' ERR +147: ++ trap on_exit EXIT +147: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/large-max-page-size-strip.sh .sh +136: + cc -B. -o out/test/elf/x86_64/ifunc-static/exe out/test/elf/x86_64/ifunc-static/a.o -static +147: ++ testname=large-max-page-size-strip +147: ++ echo -n 'Testing large-max-page-size-strip ... ' +147: Testing large-max-page-size-strip ... ++ t=out/test/elf/x86_64/large-max-page-size-strip +147: ++ mkdir -p out/test/elf/x86_64/large-max-page-size-strip 149: ++ HOST=x86_64 -148: + cc -o out/test/elf/x86_64/large-max-page-size/a.o -c -xc - -fPIC +150: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 149: ++ '[' -n '' ']' 149: ++ MACHINE=x86_64 +150: ++ export LC_ALL=C +150: ++ LC_ALL=C 149: ++ '[' -n '' ']' 149: ++ CC=cc 149: ++ CXX=c++ @@ -8782,82 +8823,19 @@ 149: ++ QEMU= 149: ++ trap 'on_error $LINENO' ERR 149: ++ trap on_exit EXIT -148: + cat -139: + readelf --dynamic out/test/elf/x86_64/init-in-dso/exe -145: + cc -B. -o out/test/elf/x86_64/large-alignment-dso/b.so out/test/elf/x86_64/large-alignment-dso/a.o -shared -146: + cc -B. -o out/test/elf/x86_64/large-alignment/exe out/test/elf/x86_64/large-alignment/a.o +113: + grep -q 'fn8 () at .*/d.c:6' out/test/elf/x86_64/gdb-index-dwarf5/log +147: + '[' x86_64 = arm ']' +147: + strip=strip +147: + command -v strip +140: + grep -Fq '(INIT)' +147: + cat +150: ++++ uname -m 149: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/large-text.sh .sh -113: + grep -q 'fn7 () at .*/d.c:10' out/test/elf/x86_64/gdb-index-dwarf5/log -149: ++ testname=large-text -149: ++ echo -n 'Testing large-text ... ' -149: Testing large-text ... ++ t=out/test/elf/x86_64/large-text -149: ++ mkdir -p out/test/elf/x86_64/large-text -139: + grep -Fq '(INIT)' out/test/elf/x86_64/init-in-dso/log -143: + grep -q 'invalid version pattern' out/test/elf/x86_64/invalid-version-script/log -139: + on_exit -139: + echo OK -139: OK -139: + exit 0 -134/309 Test #139: x86_64-init-in-dso ...................... Passed 0.47 sec -test 150 - Start 150: x86_64-link-order - -150: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/link-order.sh" -150: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -150: Test timeout computed to be: 1500 -149: + cc -o out/test/elf/x86_64/large-text/a.o -c -xassembler - -113: + grep -q 'fn6 () at .*/c.c:4' out/test/elf/x86_64/gdb-index-dwarf5/log 140: + readelf --dynamic out/test/elf/x86_64/init/exe -143: + on_exit -143: + echo OK -143: OK -143: + exit 0 -135/309 Test #143: x86_64-invalid-version-script ........... Passed 0.25 sec -test 151 - Start 151: x86_64-linker-script-defsym - -151: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/linker-script-defsym.sh" -151: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -151: Test timeout computed to be: 1500 -149: + cat -113: + grep -q 'fn5 () at .*/c.c:8' out/test/elf/x86_64/gdb-index-dwarf5/log -140: + grep -Fq '(INIT)' out/test/elf/x86_64/init/log -140: + on_exit -140: + echo OK -140: OK -140: + exit 0 -142: + readelf --dynamic out/test/elf/x86_64/interpose/b.so -142: + grep -q 'Flags:.*INTERPOSE' -142: + on_exit -142: + echo OK -142: OK -142: + exit 0 -150: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/link-order.sh -150: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -150: ++ export LC_ALL=C -150: ++ LC_ALL=C -135: + grep -q 'Hello world' -135: + out/test/elf/x86_64/ifunc-static-pie/exe2 -136/309 Test #140: x86_64-init ............................. Passed 0.46 sec -test 152 - Start 152: x86_64-linker-script-relocatable - -152: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/linker-script-relocatable.sh" -152: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -152: Test timeout computed to be: 1500 -137/309 Test #142: x86_64-interpose ........................ Passed 0.32 sec -test 153 - Start 153: x86_64-linker-script - -153: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/linker-script.sh" -153: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -153: Test timeout computed to be: 1500 -113: + grep -q 'fn4 () at .*/b.c:4' out/test/elf/x86_64/gdb-index-dwarf5/log -113: + grep -q 'fn3 () at .*/b.c:8' out/test/elf/x86_64/gdb-index-dwarf5/log -150: ++++ uname -m 150: +++ canonical_name x86_64 150: +++ case $1 in 150: +++ echo x86_64 +147: + cc -o out/test/elf/x86_64/large-max-page-size-strip/a.o -c -xc - -fPIC 150: ++ HOST=x86_64 150: ++ '[' -n '' ']' 150: ++ MACHINE=x86_64 @@ -8872,36 +8850,60 @@ 150: ++ QEMU= 150: ++ trap 'on_error $LINENO' ERR 150: ++ trap on_exit EXIT +113: + grep -q 'fn7 () at .*/d.c:10' out/test/elf/x86_64/gdb-index-dwarf5/log 150: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/link-order.sh .sh +149: ++ testname=large-text +149: ++ echo -n 'Testing large-text ... ' +149: Testing large-text ... ++ t=out/test/elf/x86_64/large-text +149: ++ mkdir -p out/test/elf/x86_64/large-text 150: ++ testname=link-order 150: ++ echo -n 'Testing link-order ... ' +140: + cc -B. -o out/test/elf/x86_64/init/exe out/test/elf/x86_64/init/a.o -Wl,-init,no-such-symbol 150: Testing link-order ... ++ t=out/test/elf/x86_64/link-order 150: ++ mkdir -p out/test/elf/x86_64/link-order -135: + on_exit -135: + echo OK -135: OK -135: + exit 0 -138/309 Test #135: x86_64-ifunc-static-pie ................. Passed 0.67 sec -test 154 - Start 154: x86_64-linker-script2 - -154: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/linker-script2.sh" -154: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -154: Test timeout computed to be: 1500 -136: + out/test/elf/x86_64/ifunc-static/exe -136: + grep -q 'Hello world' -136: + on_exit -136: + echo OK -136: OK -136: + exit 0 -139/309 Test #136: x86_64-ifunc-static ..................... Passed 0.66 sec -test 155 - Start 155: x86_64-linker-script3 +113: + grep -q 'fn6 () at .*/c.c:4' out/test/elf/x86_64/gdb-index-dwarf5/log +149: + cc -o out/test/elf/x86_64/large-text/a.o -c -xassembler - +149: + cat +90: + c++ -B. -o out/test/elf/x86_64/emit-relocs-dead-sections/exe out/test/elf/x86_64/emit-relocs-dead-sections/a.o out/test/elf/x86_64/emit-relocs-dead-sections/b.o -Wl,-emit-relocs +113: + grep -q 'fn5 () at .*/c.c:8' out/test/elf/x86_64/gdb-index-dwarf5/log +113: + grep -q 'fn4 () at .*/b.c:4' out/test/elf/x86_64/gdb-index-dwarf5/log +138: + cat +146: + cc -B. -o out/test/elf/x86_64/large-alignment/exe out/test/elf/x86_64/large-alignment/a.o +150: + cat +150: + cc -fPIC -c -o out/test/elf/x86_64/link-order/a.o -xc - +113: + grep -q 'fn3 () at .*/b.c:8' out/test/elf/x86_64/gdb-index-dwarf5/log +138: + cc -c -o out/test/elf/x86_64/init-array-priorities/e.o -xc - +113: + grep -q 'fn2 () at .*/a.c:4' out/test/elf/x86_64/gdb-index-dwarf5/log +113: + grep -q 'fn1 () at .*/a.c:8' out/test/elf/x86_64/gdb-index-dwarf5/log +145: + cc -B. -o out/test/elf/x86_64/large-alignment-dso/b.so out/test/elf/x86_64/large-alignment-dso/a.o -shared +113: + on_exit +113: + echo OK +113: OK +113: + exit 0 +136/309 Test #113: x86_64-gdb-index-dwarf5 ................. Passed 1.46 sec +test 151 + Start 151: x86_64-linker-script-defsym -155: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/linker-script3.sh" -155: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -155: Test timeout computed to be: 1500 +151: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/linker-script-defsym.sh" +151: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +151: Test timeout computed to be: 1500 +148: + cc -B. -o out/test/elf/x86_64/large-max-page-size/exe out/test/elf/x86_64/large-max-page-size/a.o -pie -Wl,-zmax-page-size=0x200000 151: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/linker-script-defsym.sh +139: + readelf --dynamic out/test/elf/x86_64/init-in-dso/exe +139: + grep -Fq '(INIT)' out/test/elf/x86_64/init-in-dso/log +139: + on_exit +139: + echo OK +139: OK +139: + exit 0 +149: + cat +149: + cc -o out/test/elf/x86_64/large-text/b.o -c -xc - +137/309 Test #139: x86_64-init-in-dso ...................... Passed 0.36 sec +test 152 + Start 152: x86_64-linker-script-relocatable + +152: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/linker-script-relocatable.sh" +152: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +152: Test timeout computed to be: 1500 151: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 151: ++ export LC_ALL=C 151: ++ LC_ALL=C @@ -8925,9 +8927,17 @@ 151: ++ trap on_exit EXIT 151: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/linker-script-defsym.sh .sh 152: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/linker-script-relocatable.sh +151: ++ testname=linker-script-defsym +151: ++ echo -n 'Testing linker-script-defsym ... ' +151: Testing linker-script-defsym ... ++ t=out/test/elf/x86_64/linker-script-defsym +151: ++ mkdir -p out/test/elf/x86_64/linker-script-defsym 152: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 152: ++ export LC_ALL=C 152: ++ LC_ALL=C +151: + cc -o out/test/elf/x86_64/linker-script-defsym/a.o -c -xc - +151: + cat +150: + cc -B. -shared -o out/test/elf/x86_64/link-order/libfoo.so out/test/elf/x86_64/link-order/a.o +147: + cc -B. -o out/test/elf/x86_64/large-max-page-size-strip/exe out/test/elf/x86_64/large-max-page-size-strip/a.o -pie -Wl,-zmax-page-size=0x200000 152: ++++ uname -m 152: +++ canonical_name x86_64 152: +++ case $1 in @@ -8951,50 +8961,49 @@ 152: ++ echo -n 'Testing linker-script-relocatable ... ' 152: Testing linker-script-relocatable ... ++ t=out/test/elf/x86_64/linker-script-relocatable 152: ++ mkdir -p out/test/elf/x86_64/linker-script-relocatable -113: + grep -q 'fn2 () at .*/a.c:4' out/test/elf/x86_64/gdb-index-dwarf5/log -113: + grep -q 'fn1 () at .*/a.c:8' out/test/elf/x86_64/gdb-index-dwarf5/log -150: + cat -147: + cc -B. -o out/test/elf/x86_64/large-max-page-size-strip/exe out/test/elf/x86_64/large-max-page-size-strip/a.o -pie -Wl,-zmax-page-size=0x200000 -145: + cat -145: + cc -o out/test/elf/x86_64/large-alignment-dso/c.o -c -xc - -153: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/linker-script.sh -153: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -153: ++ export LC_ALL=C -153: ++ LC_ALL=C +152: + grep -q __tsan_init +152: + nm mold +151: + cat +138: + cat +138: + cc -c -o out/test/elf/x86_64/init-array-priorities/f.o -xc - +149: + cc -B. -o out/test/elf/x86_64/large-text/exe out/test/elf/x86_64/large-text/a.o out/test/elf/x86_64/large-text/b.o +151: + 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 146: + out/test/elf/x86_64/large-alignment/exe +145: + cc -o out/test/elf/x86_64/large-alignment-dso/c.o -c -xc - 146: + grep -q 'Hello world' -138: + cat -138: + cc -c -o out/test/elf/x86_64/init-array-priorities/g.o -xc - -154: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/linker-script2.sh -154: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -154: ++ export LC_ALL=C -154: ++ LC_ALL=C -152: + grep -q __tsan_init 146: + on_exit 146: + echo OK 146: OK 146: + exit 0 +145: + cat +138/309 Test #146: x86_64-large-alignment .................. Passed 0.24 sec +test 153 + Start 153: x86_64-linker-script + +153: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/linker-script.sh" +153: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +153: Test timeout computed to be: 1500 +153: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/linker-script.sh +135: + out/test/elf/x86_64/ifunc-static-pie/exe2 +135: + grep -q 'Hello world' +153: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +153: ++ export LC_ALL=C +153: ++ LC_ALL=C 153: ++++ uname -m +135: + on_exit +135: + echo OK +135: OK +135: + exit 0 +139/309 Test #135: x86_64-ifunc-static-pie ................. Passed 0.63 sec +test 154 + Start 154: x86_64-linker-script2 + +154: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/linker-script2.sh" +154: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +154: Test timeout computed to be: 1500 153: +++ canonical_name x86_64 153: +++ case $1 in 153: +++ echo x86_64 -140/309 Test #146: x86_64-large-alignment .................. Passed 0.22 sec -test 156 - Start 156: x86_64-linker-script4 - -156: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/linker-script4.sh" -156: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -156: Test timeout computed to be: 1500 -152: + nm mold -150: + cc -fPIC -c -o out/test/elf/x86_64/link-order/a.o -xc - -151: ++ testname=linker-script-defsym -151: ++ echo -n 'Testing linker-script-defsym ... ' -151: Testing linker-script-defsym ... ++ t=out/test/elf/x86_64/linker-script-defsym -151: ++ mkdir -p out/test/elf/x86_64/linker-script-defsym -155: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/linker-script3.sh -155: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -155: ++ export LC_ALL=C -155: ++ LC_ALL=C 153: ++ HOST=x86_64 153: ++ '[' -n '' ']' 153: ++ MACHINE=x86_64 @@ -9009,7 +9018,18 @@ 153: ++ QEMU= 153: ++ trap 'on_error $LINENO' ERR 153: ++ trap on_exit EXIT -148: + cc -B. -o out/test/elf/x86_64/large-max-page-size/exe out/test/elf/x86_64/large-max-page-size/a.o -pie -Wl,-zmax-page-size=0x200000 +154: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/linker-script2.sh +153: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/linker-script.sh .sh +153: ++ testname=linker-script +153: ++ echo -n 'Testing linker-script ... ' +153: Testing linker-script ... ++ t=out/test/elf/x86_64/linker-script +153: ++ mkdir -p out/test/elf/x86_64/linker-script +154: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +154: ++ export LC_ALL=C +154: ++ LC_ALL=C +96: + out/test/elf/x86_64/exception/exe7 +96: + c++ -B. -o out/test/elf/x86_64/exception/exe8 out/test/elf/x86_64/exception/d.o -pie +153: + cc -o out/test/elf/x86_64/linker-script/a.o -c -xc - 154: ++++ uname -m 154: +++ canonical_name x86_64 154: +++ case $1 in @@ -9028,33 +9048,69 @@ 154: ++ QEMU= 154: ++ trap 'on_error $LINENO' ERR 154: ++ trap on_exit EXIT +153: + cat +140: + readelf --dynamic out/test/elf/x86_64/init/exe +145: + 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 +150: + ar crs out/test/elf/x86_64/link-order/libfoo.a out/test/elf/x86_64/link-order/a.o 154: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/linker-script2.sh .sh -113: + on_exit -113: + echo OK -113: OK -113: + exit 0 -153: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/linker-script.sh .sh -153: ++ testname=linker-script -153: ++ echo -n 'Testing linker-script ... ' -153: Testing linker-script ... ++ t=out/test/elf/x86_64/linker-script -153: ++ mkdir -p out/test/elf/x86_64/linker-script +138: + cc -c -o out/test/elf/x86_64/init-array-priorities/g.o -xc - +140: + grep -Fq '(INIT)' out/test/elf/x86_64/init/log +136: + out/test/elf/x86_64/ifunc-static/exe +138: + cat 154: ++ testname=linker-script2 154: ++ echo -n 'Testing linker-script2 ... ' 154: Testing linker-script2 ... ++ t=out/test/elf/x86_64/linker-script2 154: ++ mkdir -p out/test/elf/x86_64/linker-script2 +150: + cc -c -o out/test/elf/x86_64/link-order/b.o -xc - +150: + cat +136: + grep -q 'Hello world' +140: + on_exit +140: + echo OK +140: OK +140: + exit 0 +140/309 Test #140: x86_64-init ............................. Passed 0.49 sec +test 155 + Start 155: x86_64-linker-script3 + +155: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/linker-script3.sh" +155: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +155: Test timeout computed to be: 1500 +148: + out/test/elf/x86_64/large-max-page-size/exe +136: + on_exit +136: + echo OK +136: OK +136: + exit 0 +141/309 Test #136: x86_64-ifunc-static ..................... Passed 0.60 sec +test 156 + Start 156: x86_64-linker-script4 + +156: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/linker-script4.sh" +156: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +156: Test timeout computed to be: 1500 +148: + grep -q 'Hello world' +154: + cat +154: + cc -o out/test/elf/x86_64/linker-script2/a.o -c -xc - +155: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/linker-script3.sh +155: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +155: ++ export LC_ALL=C +155: ++ LC_ALL=C +147: + strip out/test/elf/x86_64/large-max-page-size-strip/exe 155: ++++ uname -m -141/309 Test #113: x86_64-gdb-index-dwarf5 ................. Passed 1.93 sec +155: +++ canonical_name x86_64 +155: +++ case $1 in +155: +++ echo x86_64 +156: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/linker-script4.sh +148: + on_exit +148: + echo OK +148: OK +148: + exit 0 +142/309 Test #148: x86_64-large-max-page-size .............. Passed 0.28 sec test 157 Start 157: x86_64-lto-archive 157: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/lto-archive.sh" 157: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 157: Test timeout computed to be: 1500 -151: + cc -o out/test/elf/x86_64/linker-script-defsym/a.o -c -xc - -151: + cat -155: +++ canonical_name x86_64 -155: +++ case $1 in -155: +++ echo x86_64 155: ++ HOST=x86_64 155: ++ '[' -n '' ']' 155: ++ MACHINE=x86_64 @@ -9074,52 +9130,20 @@ 155: ++ echo -n 'Testing linker-script3 ... ' 155: Testing linker-script3 ... ++ t=out/test/elf/x86_64/linker-script3 155: ++ mkdir -p out/test/elf/x86_64/linker-script3 -156: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/linker-script4.sh -156: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -156: ++ export LC_ALL=C -156: ++ LC_ALL=C -153: + cc -o out/test/elf/x86_64/linker-script/a.o -c -xc - -153: + cat -154: + cc -o out/test/elf/x86_64/linker-script2/a.o -c -xc - -154: + cat -149: + cat -149: + cc -o out/test/elf/x86_64/large-text/b.o -c -xc - +147: + out/test/elf/x86_64/large-max-page-size-strip/exe +147: + grep -q 'Hello world' 157: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/lto-archive.sh -156: ++++ uname -m -156: +++ canonical_name x86_64 -156: +++ case $1 in -156: +++ echo x86_64 -156: ++ HOST=x86_64 -155: + mkdir -p out/test/elf/x86_64/linker-script3/foo 157: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 157: ++ export LC_ALL=C 157: ++ LC_ALL=C -145: + 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 -156: ++ '[' -n '' ']' -156: ++ MACHINE=x86_64 -156: ++ '[' -n '' ']' -156: ++ CC=cc -156: ++ CXX=c++ -156: ++ GCC=gcc -156: ++ GXX=g++ -156: ++ OBJDUMP=objdump -156: ++ OBJCOPY=objcopy -156: ++ STRIP=strip -156: ++ QEMU= -156: ++ trap 'on_error $LINENO' ERR -156: ++ trap on_exit EXIT -156: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/linker-script4.sh .sh -156: ++ testname=linker-script4 -156: ++ echo -n 'Testing linker-script4 ... ' -156: Testing linker-script4 ... ++ t=out/test/elf/x86_64/linker-script4 -156: ++ mkdir -p out/test/elf/x86_64/linker-script4 -138: + cc -c -o out/test/elf/x86_64/init-array-priorities/h.o -xc - -138: + cat +156: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +156: ++ export LC_ALL=C +156: ++ LC_ALL=C +90: + out/test/elf/x86_64/emit-relocs-dead-sections/exe 157: ++++ uname -m 157: +++ canonical_name x86_64 157: +++ case $1 in 157: +++ echo x86_64 -150: + cc -B. -shared -o out/test/elf/x86_64/link-order/libfoo.so out/test/elf/x86_64/link-order/a.o 157: ++ HOST=x86_64 157: ++ '[' -n '' ']' 157: ++ MACHINE=x86_64 @@ -9135,88 +9159,110 @@ 157: ++ trap 'on_error $LINENO' ERR 157: ++ trap on_exit EXIT 157: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/lto-archive.sh .sh -155: + cat -155: + cc -o out/test/elf/x86_64/linker-script3/foo/a.o -c -xc - -156: + echo 'VERSION { ver_x { global: *; }; };' -156: + cat -151: + cat 157: ++ testname=lto-archive 157: ++ echo -n 'Testing lto-archive ... ' 157: Testing lto-archive ... ++ t=out/test/elf/x86_64/lto-archive 157: ++ mkdir -p out/test/elf/x86_64/lto-archive -156: + 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 -147: + strip out/test/elf/x86_64/large-max-page-size-strip/exe -151: + 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 -157: + '[' cc = cc ']' -157: + cc -flto -o /dev/null -xc - -157: + echo 'int main() {}' -147: + grep -q 'Hello world' -154: + mkdir -p out/test/elf/x86_64/linker-script2/foo/bar -149: + cc -B. -o out/test/elf/x86_64/large-text/exe out/test/elf/x86_64/large-text/a.o out/test/elf/x86_64/large-text/b.o -147: + out/test/elf/x86_64/large-max-page-size-strip/exe +90: + grep -q 'Hello world' +90: + on_exit +90: + echo OK +90: OK +90: + exit 0 147: + on_exit 147: + echo OK 147: OK 147: + exit 0 -142/309 Test #147: x86_64-large-max-page-size-strip ........ Passed 0.31 sec +143/309 Test #90: x86_64-emit-relocs-dead-sections ........ Passed 2.20 sec test 158 Start 158: x86_64-lto-dso 158: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/lto-dso.sh" 158: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 158: Test timeout computed to be: 1500 -155: + cat -155: + 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 -154: + rm -f out/test/elf/x86_64/linker-script2/foo/bar/libfoo.a -154: + ar rcs out/test/elf/x86_64/linker-script2/foo/bar/libfoo.a out/test/elf/x86_64/linker-script2/a.o -153: + cat +155: + mkdir -p out/test/elf/x86_64/linker-script3/foo +157: + '[' cc = cc ']' +157: + echo 'int main() {}' +157: + cc -flto -o /dev/null -xc - 158: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/lto-dso.sh -138: + cc -c -o out/test/elf/x86_64/init-array-priorities/i.o -xc - -158: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -158: ++ export LC_ALL=C -158: ++ LC_ALL=C -154: + cat -138: + cat -154: + 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 -150: + ar crs out/test/elf/x86_64/link-order/libfoo.a out/test/elf/x86_64/link-order/a.o -153: + cc -B. -o out/test/elf/x86_64/linker-script/exe out/test/elf/x86_64/linker-script/script -148: + out/test/elf/x86_64/large-max-page-size/exe -145: + grep -q 'Hello world' -158: ++++ uname -m -145: + out/test/elf/x86_64/large-alignment-dso/exe -145: + on_exit -145: + echo OK -145: OK -145: + exit 0 -148: + grep -q 'Hello world' -143/309 Test #145: x86_64-large-alignment-dso .............. Passed 0.41 sec +144/309 Test #147: x86_64-large-max-page-size-strip ........ Passed 0.31 sec test 159 Start 159: x86_64-lto-gcc 159: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/lto-gcc.sh" 159: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 159: Test timeout computed to be: 1500 +155: + cat +155: + cc -o out/test/elf/x86_64/linker-script3/foo/a.o -c -xc - +158: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +158: ++ export LC_ALL=C +158: ++ LC_ALL=C +156: ++++ uname -m +156: +++ canonical_name x86_64 +156: +++ case $1 in +156: +++ echo x86_64 +156: ++ HOST=x86_64 +156: ++ '[' -n '' ']' +156: ++ MACHINE=x86_64 +156: ++ '[' -n '' ']' +156: ++ CC=cc +156: ++ CXX=c++ +156: ++ GCC=gcc +156: ++ GXX=g++ +156: ++ OBJDUMP=objdump +156: ++ OBJCOPY=objcopy +156: ++ STRIP=strip +156: ++ QEMU= +156: ++ trap 'on_error $LINENO' ERR +156: ++ trap on_exit EXIT +153: + cat +159: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/lto-gcc.sh +153: + cc -B. -o out/test/elf/x86_64/linker-script/exe out/test/elf/x86_64/linker-script/script +159: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +159: ++ export LC_ALL=C +159: ++ LC_ALL=C +156: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/linker-script4.sh .sh +159: ++++ uname -m +158: ++++ uname -m +156: ++ testname=linker-script4 +156: ++ echo -n 'Testing linker-script4 ... ' +156: Testing linker-script4 ... ++ t=out/test/elf/x86_64/linker-script4 +156: ++ mkdir -p out/test/elf/x86_64/linker-script4 +159: +++ canonical_name x86_64 +159: +++ case $1 in +159: +++ echo x86_64 +159: ++ HOST=x86_64 +159: ++ '[' -n '' ']' +159: ++ MACHINE=x86_64 +159: ++ '[' -n '' ']' +159: ++ CC=cc +159: ++ CXX=c++ +159: ++ GCC=gcc +159: ++ GXX=g++ +159: ++ OBJDUMP=objdump +159: ++ OBJCOPY=objcopy +159: ++ STRIP=strip +159: ++ QEMU= +159: ++ trap 'on_error $LINENO' ERR +159: ++ trap on_exit EXIT +159: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/lto-gcc.sh .sh +156: + echo 'VERSION { ver_x { global: *; }; };' +156: + cat 158: +++ canonical_name x86_64 158: +++ case $1 in 158: +++ echo x86_64 -148: + on_exit -148: + echo OK -148: OK -148: + exit 0 -150: + cc -c -o out/test/elf/x86_64/link-order/b.o -xc - -150: + cat -151: + grep -q 'FUNC .* bar' -144/309 Test #148: x86_64-large-max-page-size .............. Passed 0.34 sec -test 160 - Start 160: x86_64-lto-llvm - -160: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/lto-llvm.sh" -160: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -160: Test timeout computed to be: 1500 +154: + mkdir -p out/test/elf/x86_64/linker-script2/foo/bar +138: + cc -c -o out/test/elf/x86_64/init-array-priorities/h.o -xc - +138: + cat +150: + 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 +156: + 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 158: ++ HOST=x86_64 158: ++ '[' -n '' ']' 158: ++ MACHINE=x86_64 158: ++ '[' -n '' ']' +159: ++ testname=lto-gcc +159: ++ echo -n 'Testing lto-gcc ... ' +159: Testing lto-gcc ... ++ t=out/test/elf/x86_64/lto-gcc +159: ++ mkdir -p out/test/elf/x86_64/lto-gcc 158: ++ CC=cc 158: ++ CXX=c++ 158: ++ GCC=gcc @@ -9227,29 +9273,52 @@ 158: ++ QEMU= 158: ++ trap 'on_error $LINENO' ERR 158: ++ trap on_exit EXIT +154: + rm -f out/test/elf/x86_64/linker-script2/foo/bar/libfoo.a 158: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/lto-dso.sh .sh -151: + readelf -sW out/test/elf/x86_64/linker-script-defsym/b.so -159: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/lto-gcc.sh -159: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -159: ++ export LC_ALL=C -159: ++ LC_ALL=C -160: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/lto-llvm.sh -160: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -160: ++ export LC_ALL=C -160: ++ LC_ALL=C -138: + cc -B. -o out/test/elf/x86_64/init-array-priorities/exe out/test/elf/x86_64/init-array-priorities/a.o out/test/elf/x86_64/init-array-priorities/b.o out/test/elf/x86_64/init-array-priorities/c.o out/test/elf/x86_64/init-array-priorities/d.o out/test/elf/x86_64/init-array-priorities/e.o out/test/elf/x86_64/init-array-priorities/f.o out/test/elf/x86_64/init-array-priorities/g.o out/test/elf/x86_64/init-array-priorities/h.o out/test/elf/x86_64/init-array-priorities/i.o -151: + cc -o out/test/elf/x86_64/linker-script-defsym/c.o -c -xc - +151: + grep -q 'FUNC .* bar' +159: + gcc -flto -o /dev/null -xc - 158: ++ testname=lto-dso 158: ++ echo -n 'Testing lto-dso ... ' 158: Testing lto-dso ... ++ t=out/test/elf/x86_64/lto-dso 158: ++ mkdir -p out/test/elf/x86_64/lto-dso -156: + readelf --version-info out/test/elf/x86_64/linker-script4/c.so +151: + readelf -sW out/test/elf/x86_64/linker-script-defsym/b.so +159: + echo 'int main() {}' +151: + cc -o out/test/elf/x86_64/linker-script-defsym/c.o -c -xc - +154: + ar rcs out/test/elf/x86_64/linker-script2/foo/bar/libfoo.a out/test/elf/x86_64/linker-script2/a.o 151: + cat +158: + echo 'int main() {}' +154: + cat +158: + cc -flto -o /dev/null -xc - +154: + 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 +155: + cat +155: + 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 +96: + out/test/elf/x86_64/exception/exe8 +96: + '[' x86_64 = x86_64 -o x86_64 = aarch64 ']' +96: + c++ -c -o out/test/elf/x86_64/exception/e.o out/test/elf/x86_64/exception/a.cc -mcmodel=large -fno-PIC +145: + out/test/elf/x86_64/large-alignment-dso/exe +138: + cat +138: + cc -c -o out/test/elf/x86_64/init-array-priorities/i.o -xc - +145: + grep -q 'Hello world' +145: + on_exit +145: + echo OK +145: OK +145: + exit 0 +145/309 Test #145: x86_64-large-alignment-dso .............. Passed 0.47 sec +test 160 + Start 160: x86_64-lto-llvm + +160: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/lto-llvm.sh" +160: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +160: Test timeout computed to be: 1500 +160: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/lto-llvm.sh +151: + 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 +160: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +160: ++ export LC_ALL=C +160: ++ LC_ALL=C 160: ++++ uname -m 160: +++ canonical_name x86_64 160: +++ case $1 in 160: +++ echo x86_64 -158: + cc -flto -o /dev/null -xc - 160: ++ HOST=x86_64 160: ++ '[' -n '' ']' 160: ++ MACHINE=x86_64 @@ -9264,91 +9333,49 @@ 160: ++ QEMU= 160: ++ trap 'on_error $LINENO' ERR 160: ++ trap on_exit EXIT -158: + echo 'int main() {}' -159: ++++ uname -m -156: + grep -Fq 'Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x' out/test/elf/x86_64/linker-script4/log -159: +++ canonical_name x86_64 -159: +++ case $1 in -159: +++ echo x86_64 -159: ++ HOST=x86_64 -159: ++ '[' -n '' ']' -159: ++ MACHINE=x86_64 -159: ++ '[' -n '' ']' -159: ++ CC=cc -159: ++ CXX=c++ -159: ++ GCC=gcc -159: ++ GXX=g++ -159: ++ OBJDUMP=objdump -159: ++ OBJCOPY=objcopy -159: ++ STRIP=strip -159: ++ QEMU= -159: ++ trap 'on_error $LINENO' ERR -159: ++ trap on_exit EXIT -96: + out/test/elf/x86_64/exception/exe9 160: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/lto-llvm.sh .sh -156: + on_exit -156: + echo OK -156: OK -156: + exit 0 160: ++ testname=lto-llvm 160: ++ echo -n 'Testing lto-llvm ... ' 160: Testing lto-llvm ... ++ t=out/test/elf/x86_64/lto-llvm 160: ++ mkdir -p out/test/elf/x86_64/lto-llvm -96: + c++ -B. -o out/test/elf/x86_64/exception/exe10 out/test/elf/x86_64/exception/e.o -no-pie -145/309 Test #156: x86_64-linker-script4 ................... Passed 0.24 sec +149: + out/test/elf/x86_64/large-text/exe +149: + grep -q 'Hello world' +149: + on_exit +149: + echo OK +149: OK +149: + exit 0 +146/309 Test #149: x86_64-large-text ....................... Passed 0.43 sec test 161 Start 161: x86_64-lto-version-script 161: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/lto-version-script.sh" 161: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 161: Test timeout computed to be: 1500 -159: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/lto-gcc.sh .sh -159: ++ testname=lto-gcc -159: ++ echo -n 'Testing lto-gcc ... ' -159: Testing lto-gcc ... ++ t=out/test/elf/x86_64/lto-gcc -159: ++ mkdir -p out/test/elf/x86_64/lto-gcc -150: + 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 160: ++ uname -m +161: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/lto-version-script.sh +161: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +161: ++ export LC_ALL=C +161: ++ LC_ALL=C 160: + '[' x86_64 = x86_64 ']' -160: + clang -flto -o /dev/null -xc - -151: + 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 +138: + cc -B. -o out/test/elf/x86_64/init-array-priorities/exe out/test/elf/x86_64/init-array-priorities/a.o out/test/elf/x86_64/init-array-priorities/b.o out/test/elf/x86_64/init-array-priorities/c.o out/test/elf/x86_64/init-array-priorities/d.o out/test/elf/x86_64/init-array-priorities/e.o out/test/elf/x86_64/init-array-priorities/f.o out/test/elf/x86_64/init-array-priorities/g.o out/test/elf/x86_64/init-array-priorities/h.o out/test/elf/x86_64/init-array-priorities/i.o +153: + out/test/elf/x86_64/linker-script/exe +96: + c++ -B. -o out/test/elf/x86_64/exception/exe9 out/test/elf/x86_64/exception/e.o -static -pthread 160: + echo 'int main() {}' +160: + clang -flto -o /dev/null -xc - 160: + skip 160: + echo skipped 160: skipped 160: + trap - EXIT 160: + exit 0 -161: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/lto-version-script.sh -146/309 Test #160: x86_64-lto-llvm .........................***Skipped 0.09 sec +161: ++++ uname -m +147/309 Test #160: x86_64-lto-llvm .........................***Skipped 0.05 sec test 162 Start 162: x86_64-many-sections 162: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/many-sections.sh" 162: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 162: Test timeout computed to be: 1500 -161: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -161: ++ export LC_ALL=C -161: ++ LC_ALL=C -155: + on_exit -155: + echo OK -155: OK -155: + exit 0 -159: + gcc -flto -o /dev/null -xc - -159: + echo 'int main() {}' -147/309 Test #155: x86_64-linker-script3 ................... Passed 0.30 sec -test 163 - Start 163: x86_64-many-sections2 - -163: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/many-sections2.sh" -163: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -163: Test timeout computed to be: 1500 -162: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/many-sections.sh -162: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -162: ++ export LC_ALL=C -162: ++ LC_ALL=C 153: + grep -q 'Hello world' -153: + out/test/elf/x86_64/linker-script/exe -161: ++++ uname -m 153: + cc -B. -o out/test/elf/x86_64/linker-script/exe -Wl,-T,out/test/elf/x86_64/linker-script/script 161: +++ canonical_name x86_64 161: +++ case $1 in @@ -9367,11 +9394,27 @@ 161: ++ QEMU= 161: ++ trap 'on_error $LINENO' ERR 161: ++ trap on_exit EXIT -163: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/many-sections2.sh +161: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/lto-version-script.sh .sh +155: + on_exit +155: + echo OK +155: OK +155: + exit 0 +162: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/many-sections.sh +148/309 Test #155: x86_64-linker-script3 ................... Passed 0.19 sec +test 163 + Start 163: x86_64-many-sections2 + +163: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/many-sections2.sh" +163: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +163: Test timeout computed to be: 1500 +161: ++ testname=lto-version-script +161: ++ echo -n 'Testing lto-version-script ... ' +161: Testing lto-version-script ... ++ t=out/test/elf/x86_64/lto-version-script +161: ++ mkdir -p out/test/elf/x86_64/lto-version-script +162: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +162: ++ export LC_ALL=C +162: ++ LC_ALL=C 162: ++++ uname -m -163: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -163: ++ export LC_ALL=C -163: ++ LC_ALL=C 162: +++ canonical_name x86_64 162: +++ case $1 in 162: +++ echo x86_64 @@ -9389,46 +9432,36 @@ 162: ++ QEMU= 162: ++ trap 'on_error $LINENO' ERR 162: ++ trap on_exit EXIT -162: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/many-sections.sh .sh -161: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/lto-version-script.sh .sh -162: ++ testname=many-sections -162: ++ echo -n 'Testing many-sections ... ' -162: Testing many-sections ... ++ t=out/test/elf/x86_64/many-sections -162: ++ mkdir -p out/test/elf/x86_64/many-sections -162: + cc -c -xassembler -o out/test/elf/x86_64/many-sections/a.o - -162: + sed 's/.*/.section .data.\0,"aw"\n.word 0\n/g' -162: + seq 1 100000 -161: ++ testname=lto-version-script -161: ++ echo -n 'Testing lto-version-script ... ' -161: Testing lto-version-script ... ++ t=out/test/elf/x86_64/lto-version-script -161: ++ mkdir -p out/test/elf/x86_64/lto-version-script -163: ++++ uname -m 154: + on_exit 154: + echo OK 154: OK 154: + exit 0 -138: + out/test/elf/x86_64/init-array-priorities/exe -148/309 Test #154: x86_64-linker-script2 ................... Passed 0.36 sec +149/309 Test #154: x86_64-linker-script2 ................... Passed 0.25 sec test 164 Start 164: x86_64-mergeable-strings 164: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/mergeable-strings.sh" 164: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 164: Test timeout computed to be: 1500 -138: + grep -q 21348756 -138: + on_exit -138: + echo OK -138: OK -138: + exit 0 -149/309 Test #138: x86_64-init-array-priorities ............ Passed 0.99 sec -test 165 - Start 165: x86_64-missing-but-ok - -165: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/missing-but-ok.sh" -165: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -165: Test timeout computed to be: 1500 -161: + cc -flto -c -fPIC -o out/test/elf/x86_64/lto-version-script/a.o -xc - 161: + cat +162: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/many-sections.sh .sh +163: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/many-sections2.sh +162: ++ testname=many-sections +162: ++ echo -n 'Testing many-sections ... ' +162: Testing many-sections ... ++ t=out/test/elf/x86_64/many-sections +162: ++ mkdir -p out/test/elf/x86_64/many-sections +150: + readelf --dynamic out/test/elf/x86_64/link-order/exe +163: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +163: ++ export LC_ALL=C +163: ++ LC_ALL=C +164: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/mergeable-strings.sh +161: + cc -flto -c -fPIC -o out/test/elf/x86_64/lto-version-script/a.o -xc - +150: + grep -q libfoo +150: + 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 +164: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +164: ++ export LC_ALL=C +164: ++ LC_ALL=C +163: ++++ uname -m 163: +++ canonical_name x86_64 163: +++ case $1 in 163: +++ echo x86_64 @@ -9446,31 +9479,13 @@ 163: ++ QEMU= 163: ++ trap 'on_error $LINENO' ERR 163: ++ trap on_exit EXIT -149: + grep -q 'Hello world' +164: ++++ uname -m +162: + seq 1 100000 163: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/many-sections2.sh .sh -149: + out/test/elf/x86_64/large-text/exe -164: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/mergeable-strings.sh -150: + grep -q libfoo 163: ++ testname=many-sections2 163: ++ echo -n 'Testing many-sections2 ... ' 163: Testing many-sections2 ... ++ t=out/test/elf/x86_64/many-sections2 163: ++ mkdir -p out/test/elf/x86_64/many-sections2 -149: + on_exit -149: + echo OK -149: OK -149: + exit 0 -164: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -164: ++ export LC_ALL=C -164: ++ LC_ALL=C -165: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/missing-but-ok.sh -150/309 Test #149: x86_64-large-text ....................... Passed 0.47 sec -test 166 - Start 166: x86_64-missing-error - -166: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/missing-error.sh" -166: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -166: Test timeout computed to be: 1500 -164: ++++ uname -m 164: +++ canonical_name x86_64 164: +++ case $1 in 164: +++ echo x86_64 @@ -9488,34 +9503,62 @@ 164: ++ QEMU= 164: ++ trap 'on_error $LINENO' ERR 164: ++ trap on_exit EXIT -165: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -165: ++ export LC_ALL=C -165: ++ LC_ALL=C -150: + readelf --dynamic out/test/elf/x86_64/link-order/exe 164: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/mergeable-strings.sh .sh -150: + 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 -163: + grep -q __tsan_init +162: + cc -c -xassembler -o out/test/elf/x86_64/many-sections/a.o - +156: + readelf --version-info out/test/elf/x86_64/linker-script4/c.so +163: + nm mold +157: + cat +157: + cc -o out/test/elf/x86_64/lto-archive/a.o -c -flto -xc - 164: ++ testname=mergeable-strings 164: ++ echo -n 'Testing mergeable-strings ... ' 164: Testing mergeable-strings ... ++ t=out/test/elf/x86_64/mergeable-strings 164: ++ mkdir -p out/test/elf/x86_64/mergeable-strings -163: + nm mold -166: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/missing-error.sh -96: + out/test/elf/x86_64/exception/exe10 -164: + cc -o out/test/elf/x86_64/mergeable-strings/a.o -c -xc - -O2 +162: + sed 's/.*/.section .data.\0,"aw"\n.word 0\n/g' +163: + grep -q __tsan_init 164: + cat +151: + out/test/elf/x86_64/linker-script-defsym/exe +156: + grep -Fq 'Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x' out/test/elf/x86_64/linker-script4/log +156: + on_exit +156: + echo OK +156: OK +156: + exit 0 +151: + grep -q 42 +152: + cat +150/309 Test #156: x86_64-linker-script4 ................... Passed 0.25 sec +test 165 + Start 165: x86_64-missing-but-ok + +165: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/missing-but-ok.sh" +165: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +165: Test timeout computed to be: 1500 +152: + cc -c -o out/test/elf/x86_64/linker-script-relocatable/a.o -xc - +151: + on_exit +151: + echo OK +151: OK +151: + exit 0 +164: + cc -o out/test/elf/x86_64/mergeable-strings/a.o -c -xc - -O2 +151/309 Test #151: x86_64-linker-script-defsym ............. Passed 0.44 sec +test 166 + Start 166: x86_64-missing-error + +166: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/missing-error.sh" +166: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +166: Test timeout computed to be: 1500 +165: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/missing-but-ok.sh +159: + cat +159: + gcc -flto -c -o out/test/elf/x86_64/lto-gcc/a.o -xc - +166: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/missing-error.sh +165: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +165: ++ export LC_ALL=C +165: ++ LC_ALL=C 166: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 166: ++ export LC_ALL=C 166: ++ LC_ALL=C -151: + out/test/elf/x86_64/linker-script-defsym/exe 165: ++++ uname -m +166: ++++ uname -m 165: +++ canonical_name x86_64 165: +++ case $1 in 165: +++ echo x86_64 -151: + grep -q 42 -157: + cat -96: + '[' x86_64 '!=' riscv32 ']' -96: + c++ -B. -o out/test/elf/x86_64/exception/exe11 out/test/elf/x86_64/exception/b.o -pie 165: ++ HOST=x86_64 165: ++ '[' -n '' ']' 165: ++ MACHINE=x86_64 @@ -9530,19 +9573,6 @@ 165: ++ QEMU= 165: ++ trap 'on_error $LINENO' ERR 165: ++ trap on_exit EXIT -151: + on_exit -151: + echo OK -151: OK -151: + exit 0 -151/309 Test #151: x86_64-linker-script-defsym ............. Passed 0.47 sec -test 167 - Start 167: x86_64-mold-wrapper - -167: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/mold-wrapper.sh" -167: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -167: Test timeout computed to be: 1500 -157: + cc -o out/test/elf/x86_64/lto-archive/a.o -c -flto -xc - -166: ++++ uname -m 166: +++ canonical_name x86_64 166: +++ case $1 in 166: +++ echo x86_64 @@ -9571,23 +9601,68 @@ 165: Testing missing-but-ok ... ++ t=out/test/elf/x86_64/missing-but-ok 165: ++ mkdir -p out/test/elf/x86_64/missing-but-ok 161: + cat -153: + grep -q 'Hello world' +166: + cc -o out/test/elf/x86_64/missing-error/a.o -c -xc - +161: + cc -B. -shared -o out/test/elf/x86_64/lto-version-script/c.so -flto out/test/elf/x86_64/lto-version-script/a.o -Wl,-version-script=out/test/elf/x86_64/lto-version-script/b.script +165: + cat +166: + cat +157: + cc -o out/test/elf/x86_64/lto-archive/b.o -c -flto -xc - +157: + cat +165: + cc -o out/test/elf/x86_64/missing-but-ok/a.o -c -x assembler - 153: + out/test/elf/x86_64/linker-script/exe +165: + ./mold -o out/test/elf/x86_64/missing-but-ok/exe out/test/elf/x86_64/missing-but-ok/a.o +164: + cc -o out/test/elf/x86_64/mergeable-strings/b.o -c -xc - -O2 +138: + out/test/elf/x86_64/init-array-priorities/exe +138: + grep -q 21348756 +153: + grep -q 'Hello world' +138: + on_exit +138: + echo OK +138: OK +138: + exit 0 +152/309 Test #138: x86_64-init-array-priorities ............ Passed 0.86 sec +test 167 + Start 167: x86_64-mold-wrapper + +167: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/mold-wrapper.sh" +167: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +167: Test timeout computed to be: 1500 +150: + grep -q libfoo +150: + readelf --dynamic out/test/elf/x86_64/link-order/exe +150: + on_exit +150: + echo OK +150: OK +150: + exit 0 153: + cc -B. -o out/test/elf/x86_64/linker-script/exe -Wl,--script,out/test/elf/x86_64/linker-script/script -166: + cat +158: + cc -flto -c -fPIC -o out/test/elf/x86_64/lto-dso/a.o -xc - +158: + cat +164: + cat +152: + cc -c -o out/test/elf/x86_64/linker-script-relocatable/b.o -xc - 167: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/mold-wrapper.sh -165: + cat -161: + cc -B. -shared -o out/test/elf/x86_64/lto-version-script/c.so -flto out/test/elf/x86_64/lto-version-script/a.o -Wl,-version-script=out/test/elf/x86_64/lto-version-script/b.script -166: + cc -o out/test/elf/x86_64/missing-error/a.o -c -xc - +153/309 Test #150: x86_64-link-order ....................... Passed 0.57 sec +test 168 + Start 168: x86_64-mold-wrapper2 + +168: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/mold-wrapper2.sh" +168: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +168: Test timeout computed to be: 1500 +159: + gcc -B. -o out/test/elf/x86_64/lto-gcc/exe1 -flto out/test/elf/x86_64/lto-gcc/a.o 167: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 167: ++ export LC_ALL=C 167: ++ LC_ALL=C -165: + cc -o out/test/elf/x86_64/missing-but-ok/a.o -c -x assembler - -164: + cat +152: + cat 167: ++++ uname -m +158: + cc -B. -shared -o out/test/elf/x86_64/lto-dso/b.so -flto out/test/elf/x86_64/lto-dso/a.o +168: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/mold-wrapper2.sh +168: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +168: ++ export LC_ALL=C +168: ++ LC_ALL=C 167: +++ canonical_name x86_64 167: +++ case $1 in 167: +++ echo x86_64 +165: + on_exit +165: + echo OK +165: OK +165: + exit 0 +168: ++++ uname -m 167: ++ HOST=x86_64 167: ++ '[' -n '' ']' 167: ++ MACHINE=x86_64 @@ -9600,79 +9675,8 @@ 167: ++ OBJCOPY=objcopy 167: ++ STRIP=strip 167: ++ QEMU= -164: + cc -o out/test/elf/x86_64/mergeable-strings/b.o -c -xc - -O2 167: ++ trap 'on_error $LINENO' ERR 167: ++ trap on_exit EXIT -167: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/mold-wrapper.sh .sh -167: ++ testname=mold-wrapper -167: ++ echo -n 'Testing mold-wrapper ... ' -167: Testing mold-wrapper ... ++ t=out/test/elf/x86_64/mold-wrapper -167: ++ mkdir -p out/test/elf/x86_64/mold-wrapper -157: + cc -o out/test/elf/x86_64/lto-archive/b.o -c -flto -xc - -165: + ./mold -o out/test/elf/x86_64/missing-but-ok/exe out/test/elf/x86_64/missing-but-ok/a.o -157: + cat -167: + '[' cc = cc ']' -167: + grep -q libasan -167: + ldd mold-wrapper.so -150: + grep -q libfoo -150: + readelf --dynamic out/test/elf/x86_64/link-order/exe -96: + strip out/test/elf/x86_64/exception/exe11 -157: + rm -f out/test/elf/x86_64/lto-archive/c.a -150: + on_exit -150: + echo OK -150: OK -150: + exit 0 -159: + gcc -flto -c -o out/test/elf/x86_64/lto-gcc/a.o -xc - -159: + cat -165: + on_exit -165: + echo OK -165: OK -165: + exit 0 -152/309 Test #150: x86_64-link-order ....................... Passed 0.60 sec -test 168 - Start 168: x86_64-mold-wrapper2 - -168: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/mold-wrapper2.sh" -168: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -168: Test timeout computed to be: 1500 -153/309 Test #165: x86_64-missing-but-ok ................... Passed 0.19 sec -test 169 - Start 169: x86_64-no-eh-frame-header - -169: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/no-eh-frame-header.sh" -169: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -169: Test timeout computed to be: 1500 -166: + ./mold -o out/test/elf/x86_64/missing-error/exe out/test/elf/x86_64/missing-error/a.o -96: + out/test/elf/x86_64/exception/exe11 -90: + c++ -B. -o out/test/elf/x86_64/emit-relocs-dead-sections/exe out/test/elf/x86_64/emit-relocs-dead-sections/a.o out/test/elf/x86_64/emit-relocs-dead-sections/b.o -Wl,-emit-relocs -157: + ar rc out/test/elf/x86_64/lto-archive/c.a out/test/elf/x86_64/lto-archive/a.o out/test/elf/x86_64/lto-archive/b.o -153: + grep -q 'Hello world' -153: + out/test/elf/x86_64/linker-script/exe -169: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/no-eh-frame-header.sh -168: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/mold-wrapper2.sh -153: + on_exit -153: + echo OK -153: OK -153: + exit 0 -96: + c++ -B. -o out/test/elf/x86_64/exception/exe12 out/test/elf/x86_64/exception/c.o -no-pie -169: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -169: ++ export LC_ALL=C -169: ++ LC_ALL=C -154/309 Test #153: x86_64-linker-script .................... Passed 0.59 sec -test 170 - Start 170: x86_64-no-quick-exit - -170: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/no-quick-exit.sh" -170: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -170: Test timeout computed to be: 1500 -158: + cc -flto -c -fPIC -o out/test/elf/x86_64/lto-dso/a.o -xc - -158: + cat -157: + cat -157: + cc -o out/test/elf/x86_64/lto-archive/d.o -c -flto -xc - -168: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -168: ++ export LC_ALL=C -168: ++ LC_ALL=C -168: ++++ uname -m 168: +++ canonical_name x86_64 168: +++ case $1 in 168: +++ echo x86_64 @@ -9690,11 +9694,33 @@ 168: ++ QEMU= 168: ++ trap 'on_error $LINENO' ERR 168: ++ trap on_exit EXIT -170: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/no-quick-exit.sh +154/309 Test #165: x86_64-missing-but-ok ................... Passed 0.09 sec +test 169 + Start 169: x86_64-no-eh-frame-header + +169: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/no-eh-frame-header.sh" +169: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +169: Test timeout computed to be: 1500 +167: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/mold-wrapper.sh .sh +167: ++ testname=mold-wrapper +167: ++ echo -n 'Testing mold-wrapper ... ' +167: Testing mold-wrapper ... ++ t=out/test/elf/x86_64/mold-wrapper +166: + ./mold -o out/test/elf/x86_64/missing-error/exe out/test/elf/x86_64/missing-error/a.o +167: ++ mkdir -p out/test/elf/x86_64/mold-wrapper +152: + echo 'INPUT(out/test/elf/x86_64/linker-script-relocatable/a.o out/test/elf/x86_64/linker-script-relocatable/b.o)' +152: + ./mold --relocatable -o out/test/elf/x86_64/linker-script-relocatable/d.o out/test/elf/x86_64/linker-script-relocatable/c.script +169: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/no-eh-frame-header.sh +169: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +169: ++ export LC_ALL=C +169: ++ LC_ALL=C +168: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/mold-wrapper2.sh .sh +157: + rm -f out/test/elf/x86_64/lto-archive/c.a +167: + '[' cc = cc ']' 169: ++++ uname -m -170: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -170: ++ export LC_ALL=C -170: ++ LC_ALL=C +168: ++ testname=mold-wrapper2 +168: ++ echo -n 'Testing mold-wrapper2 ... ' +168: Testing mold-wrapper2 ... ++ t=out/test/elf/x86_64/mold-wrapper2 +168: ++ mkdir -p out/test/elf/x86_64/mold-wrapper2 169: +++ canonical_name x86_64 169: +++ case $1 in 169: +++ echo x86_64 @@ -9712,22 +9738,47 @@ 169: ++ QEMU= 169: ++ trap 'on_error $LINENO' ERR 169: ++ trap on_exit EXIT +169: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/no-eh-frame-header.sh .sh +157: + ar rc out/test/elf/x86_64/lto-archive/c.a out/test/elf/x86_64/lto-archive/a.o out/test/elf/x86_64/lto-archive/b.o +169: ++ testname=no-eh-frame-header +169: ++ echo -n 'Testing no-eh-frame-header ... ' +169: Testing no-eh-frame-header ... ++ t=out/test/elf/x86_64/no-eh-frame-header +169: ++ mkdir -p out/test/elf/x86_64/no-eh-frame-header +167: + grep -q libasan +167: + ldd mold-wrapper.so 164: + cc -o out/test/elf/x86_64/mergeable-strings/exe1 out/test/elf/x86_64/mergeable-strings/a.o out/test/elf/x86_64/mergeable-strings/b.o -no-pie -168: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/mold-wrapper2.sh .sh -168: ++ testname=mold-wrapper2 -168: ++ echo -n 'Testing mold-wrapper2 ... ' -168: Testing mold-wrapper2 ... ++ t=out/test/elf/x86_64/mold-wrapper2 -168: ++ mkdir -p out/test/elf/x86_64/mold-wrapper2 +169: + cat +168: + grep -q libasan +168: + ldd mold-wrapper.so +157: + cat +157: + cc -o out/test/elf/x86_64/lto-archive/d.o -c -flto -xc - +169: + cc -o out/test/elf/x86_64/no-eh-frame-header/a.o -c -xc - +152: + cc -B. -o out/test/elf/x86_64/linker-script-relocatable/exe out/test/elf/x86_64/linker-script-relocatable/d.o 166: + grep -q 'undefined symbol: foo' out/test/elf/x86_64/missing-error/log +166: + grep -q '>>> .*a\.o' out/test/elf/x86_64/missing-error/log +166: + on_exit +166: + echo OK +166: OK +166: + exit 0 +155/309 Test #166: x86_64-missing-error .................... Passed 0.15 sec +test 170 + Start 170: x86_64-no-quick-exit + +170: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/no-quick-exit.sh" +170: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +170: Test timeout computed to be: 1500 +167: + nm mold +167: + grep -q '__[at]san_init' +170: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/no-quick-exit.sh +170: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +170: ++ export LC_ALL=C +170: ++ LC_ALL=C 170: ++++ uname -m +168: + nm mold +168: + grep -q '__[at]san_init' 170: +++ canonical_name x86_64 170: +++ case $1 in 170: +++ echo x86_64 -166: + grep -q '>>> .*a\.o' out/test/elf/x86_64/missing-error/log -167: + grep -q '__[at]san_init' -169: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/no-eh-frame-header.sh .sh -167: + nm mold -159: + gcc -B. -o out/test/elf/x86_64/lto-gcc/exe1 -flto out/test/elf/x86_64/lto-gcc/a.o 170: ++ HOST=x86_64 170: ++ '[' -n '' ']' 170: ++ MACHINE=x86_64 @@ -9742,46 +9793,36 @@ 170: ++ QEMU= 170: ++ trap 'on_error $LINENO' ERR 170: ++ trap on_exit EXIT -169: ++ testname=no-eh-frame-header -169: ++ echo -n 'Testing no-eh-frame-header ... ' -169: Testing no-eh-frame-header ... ++ t=out/test/elf/x86_64/no-eh-frame-header -169: ++ mkdir -p out/test/elf/x86_64/no-eh-frame-header -168: + ldd mold-wrapper.so -169: + cat -169: + cc -o out/test/elf/x86_64/no-eh-frame-header/a.o -c -xc - +157: + cc -B. -o out/test/elf/x86_64/lto-archive/exe -flto out/test/elf/x86_64/lto-archive/d.o out/test/elf/x86_64/lto-archive/c.a 170: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/no-quick-exit.sh .sh 170: ++ testname=no-quick-exit 170: ++ echo -n 'Testing no-quick-exit ... ' 170: Testing no-quick-exit ... ++ t=out/test/elf/x86_64/no-quick-exit 170: ++ mkdir -p out/test/elf/x86_64/no-quick-exit -168: + grep -q libasan -157: + cc -B. -o out/test/elf/x86_64/lto-archive/exe -flto out/test/elf/x86_64/lto-archive/d.o out/test/elf/x86_64/lto-archive/c.a -158: + cc -B. -shared -o out/test/elf/x86_64/lto-dso/b.so -flto out/test/elf/x86_64/lto-dso/a.o -166: + on_exit -166: + echo OK -166: OK -166: + exit 0 -155/309 Test #166: x86_64-missing-error .................... Passed 0.26 sec +170: + cat +170: + cc -o out/test/elf/x86_64/no-quick-exit/a.o -c -xc - +153: + out/test/elf/x86_64/linker-script/exe +169: + 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 +153: + grep -q 'Hello world' +153: + on_exit +153: + echo OK +153: OK +153: + exit 0 +156/309 Test #153: x86_64-linker-script .................... Passed 0.52 sec test 171 Start 171: x86_64-no-undefined-version 171: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/no-undefined-version.sh" 171: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 171: Test timeout computed to be: 1500 -170: + cc -o out/test/elf/x86_64/no-quick-exit/a.o -c -xc - -170: + cat 171: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/no-undefined-version.sh 171: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 171: ++ export LC_ALL=C 171: ++ LC_ALL=C -90: + grep -q 'Hello world' 171: ++++ uname -m -90: + out/test/elf/x86_64/emit-relocs-dead-sections/exe 171: +++ canonical_name x86_64 171: +++ case $1 in 171: +++ echo x86_64 -168: + nm mold -168: + grep -q '__[at]san_init' 171: ++ HOST=x86_64 171: ++ '[' -n '' ']' 171: ++ MACHINE=x86_64 @@ -9797,32 +9838,59 @@ 171: ++ trap 'on_error $LINENO' ERR 171: ++ trap on_exit EXIT 171: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/no-undefined-version.sh .sh -90: + on_exit -90: + echo OK -90: OK -90: + exit 0 -156/309 Test #90: x86_64-emit-relocs-dead-sections ........ Passed 3.25 sec -test 172 - Start 172: x86_64-nocopyreloc - -172: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/nocopyreloc.sh" -172: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -172: Test timeout computed to be: 1500 +164: + out/test/elf/x86_64/mergeable-strings/exe1 +144: + c++ -B. -o out/test/elf/x86_64/issue646/exe out/test/elf/x86_64/issue646/a.o +170: + 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 171: ++ testname=no-undefined-version 171: ++ echo -n 'Testing no-undefined-version ... ' 171: Testing no-undefined-version ... ++ t=out/test/elf/x86_64/no-undefined-version 171: ++ mkdir -p out/test/elf/x86_64/no-undefined-version 171: + echo 'ver_x { global: foo; };' 171: + cat -96: + strip out/test/elf/x86_64/exception/exe12 +164: + grep -Eq '^(\S+) \1 (\S+) \2 (\S+) \3 (\S+) \4$' 171: + cc -o out/test/elf/x86_64/no-undefined-version/b.o -c -xc - +164: + cc -B. -o out/test/elf/x86_64/mergeable-strings/exe2 out/test/elf/x86_64/mergeable-strings/a.o out/test/elf/x86_64/mergeable-strings/b.o -no-pie +152: + out/test/elf/x86_64/linker-script-relocatable/exe +152: + grep -q Hello +152: + on_exit +152: + echo OK +152: OK +152: + exit 0 +157/309 Test #152: x86_64-linker-script-relocatable ........ Passed 0.68 sec +test 172 + Start 172: x86_64-nocopyreloc + +172: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/nocopyreloc.sh" +172: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +172: Test timeout computed to be: 1500 +163: + sed 's/.*/.section .data.\0,"aw"\n.globl x\0\nx\0: .word 0\n/g' +163: + cc -c -xassembler -o out/test/elf/x86_64/many-sections2/a.o - +163: + seq 1 100000 +169: + readelf -WS out/test/elf/x86_64/no-eh-frame-header/exe +169: + grep -F .eh_frame_hdr out/test/elf/x86_64/no-eh-frame-header/log +169: + out/test/elf/x86_64/no-eh-frame-header/exe +169: + on_exit +169: + echo OK +169: OK +169: + exit 0 +158/309 Test #169: x86_64-no-eh-frame-header ............... Passed 0.19 sec +test 173 + Start 173: x86_64-noinhibit-exec + +173: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/noinhibit-exec.sh" +173: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +173: Test timeout computed to be: 1500 172: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/nocopyreloc.sh +171: + cc -B. -o out/test/elf/x86_64/no-undefined-version/exe -Wl,--version-script,out/test/elf/x86_64/no-undefined-version/a.ver out/test/elf/x86_64/no-undefined-version/b.o 172: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 172: ++ export LC_ALL=C 172: ++ LC_ALL=C -152: + cc -c -o out/test/elf/x86_64/linker-script-relocatable/a.o -xc - -152: + cat 172: ++++ uname -m +173: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/noinhibit-exec.sh +173: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +173: ++ export LC_ALL=C +173: ++ LC_ALL=C +173: ++++ uname -m 172: +++ canonical_name x86_64 172: +++ case $1 in 172: +++ echo x86_64 @@ -9840,44 +9908,14 @@ 172: ++ QEMU= 172: ++ trap 'on_error $LINENO' ERR 172: ++ trap on_exit EXIT -96: + out/test/elf/x86_64/exception/exe12 -96: + on_exit -96: + echo OK -96: OK -96: + exit 0 -170: + 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 -164: + out/test/elf/x86_64/mergeable-strings/exe1 -157/309 Test #96: x86_64-exception ........................ Passed 3.17 sec -test 173 - Start 173: x86_64-noinhibit-exec - -173: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/noinhibit-exec.sh" -173: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -173: Test timeout computed to be: 1500 -169: + 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 172: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/nocopyreloc.sh .sh 172: ++ testname=nocopyreloc 172: ++ echo -n 'Testing nocopyreloc ... ' 172: Testing nocopyreloc ... ++ t=out/test/elf/x86_64/nocopyreloc 172: ++ mkdir -p out/test/elf/x86_64/nocopyreloc -164: + grep -Eq '^(\S+) \1 (\S+) \2 (\S+) \3 (\S+) \4$' -173: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/noinhibit-exec.sh -173: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -173: ++ export LC_ALL=C -173: ++ LC_ALL=C -172: + '[' x86_64 = i386 ']' -172: + '[' x86_64 = m68k ']' -172: + '[' x86_64 = arm ']' -172: + '[' x86_64 = ppc64 ']' -172: + '[' x86_64 = ppc64le ']' -172: + '[' x86_64 = sh4 ']' -172: + '[' x86_64 = alpha ']' -173: ++++ uname -m 173: +++ canonical_name x86_64 173: +++ case $1 in 173: +++ echo x86_64 -164: + cc -B. -o out/test/elf/x86_64/mergeable-strings/exe2 out/test/elf/x86_64/mergeable-strings/a.o out/test/elf/x86_64/mergeable-strings/b.o -no-pie -172: + cc -shared -o out/test/elf/x86_64/nocopyreloc/a.so -xc - 173: ++ HOST=x86_64 173: ++ '[' -n '' ']' 173: ++ MACHINE=x86_64 @@ -9897,80 +9935,85 @@ 173: ++ echo -n 'Testing noinhibit-exec ... ' 173: Testing noinhibit-exec ... ++ t=out/test/elf/x86_64/noinhibit-exec 173: ++ mkdir -p out/test/elf/x86_64/noinhibit-exec -172: + cat -171: + cc -B. -o out/test/elf/x86_64/no-undefined-version/exe -Wl,--version-script,out/test/elf/x86_64/no-undefined-version/a.ver out/test/elf/x86_64/no-undefined-version/b.o -173: + cat -173: + cc -o out/test/elf/x86_64/noinhibit-exec/a.o -c -xc - -fno-PIC -170: + out/test/elf/x86_64/no-quick-exit/exe -170: + grep -q 'Hello world' -152: + cc -c -o out/test/elf/x86_64/linker-script-relocatable/b.o -xc - -152: + cat -170: + on_exit -170: + echo OK -170: OK -170: + exit 0 161: + '[' x86_64 = ppc64 ']' +161: + nm -D out/test/elf/x86_64/lto-version-script/c.so 161: + grep -q 'T foo' +172: + '[' x86_64 = i386 ']' +172: + '[' x86_64 = m68k ']' +172: + '[' x86_64 = arm ']' +172: + '[' x86_64 = ppc64 ']' +172: + '[' x86_64 = ppc64le ']' +172: + '[' x86_64 = sh4 ']' +172: + '[' x86_64 = alpha ']' +161: + grep -q 'T bar' +172: + cc -shared -o out/test/elf/x86_64/nocopyreloc/a.so -xc - 161: + nm -D out/test/elf/x86_64/lto-version-script/c.so -158/309 Test #170: x86_64-no-quick-exit .................... Passed 0.28 sec +172: + cat +173: + cc -o out/test/elf/x86_64/noinhibit-exec/a.o -c -xc - -fno-PIC +161: + on_exit +161: + echo OK +161: OK +161: + exit 0 +159/309 Test #161: x86_64-lto-version-script ............... Passed 0.44 sec test 174 Start 174: x86_64-non-canonical-plt 174: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/non-canonical-plt.sh" 174: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 174: Test timeout computed to be: 1500 -172: + cat -169: + readelf -WS out/test/elf/x86_64/no-eh-frame-header/exe -161: + grep -q 'T bar' -161: + nm -D out/test/elf/x86_64/lto-version-script/c.so -172: + cc -fno-PIC -c -o out/test/elf/x86_64/nocopyreloc/b.o -xc - -161: + on_exit -161: + echo OK -161: OK -161: + exit 0 -159/309 Test #161: x86_64-lto-version-script ............... Passed 0.62 sec +173: + cat +174: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/non-canonical-plt.sh +174: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +174: ++ export LC_ALL=C +174: ++ LC_ALL=C +170: + grep -q 'Hello world' +96: + out/test/elf/x86_64/exception/exe9 +96: + c++ -B. -o out/test/elf/x86_64/exception/exe10 out/test/elf/x86_64/exception/e.o -no-pie +170: + out/test/elf/x86_64/no-quick-exit/exe +174: ++++ uname -m +174: +++ canonical_name x86_64 +174: +++ case $1 in +174: +++ echo x86_64 +170: + on_exit +170: + echo OK +170: OK +170: + exit 0 +158: + '[' x86_64 = ppc64 ']' +173: + cc -B. -shared -o out/test/elf/x86_64/noinhibit-exec/b.so out/test/elf/x86_64/noinhibit-exec/a.o +174: ++ HOST=x86_64 +174: ++ '[' -n '' ']' +174: ++ MACHINE=x86_64 +174: ++ '[' -n '' ']' +174: ++ CC=cc +174: ++ CXX=c++ +174: ++ GCC=gcc +174: ++ GXX=g++ +174: ++ OBJDUMP=objdump +174: ++ OBJCOPY=objcopy +174: ++ STRIP=strip +174: ++ QEMU= +174: ++ trap 'on_error $LINENO' ERR +174: ++ trap on_exit EXIT +160/309 Test #170: x86_64-no-quick-exit .................... Passed 0.23 sec test 175 Start 175: x86_64-nostdlib 175: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/nostdlib.sh" 175: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 175: Test timeout computed to be: 1500 -169: + grep -F .eh_frame_hdr out/test/elf/x86_64/no-eh-frame-header/log -174: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/non-canonical-plt.sh -174: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -174: ++ export LC_ALL=C -174: ++ LC_ALL=C -144: + c++ -B. -o out/test/elf/x86_64/issue646/exe out/test/elf/x86_64/issue646/a.o -169: + out/test/elf/x86_64/no-eh-frame-header/exe -171: + grep -Fq 'a.ver: cannot assign version `ver_x` to symbol `foo`: symbol not found' out/test/elf/x86_64/no-undefined-version/log -169: + on_exit -169: + echo OK -169: OK -169: + exit 0 +174: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/non-canonical-plt.sh .sh +158: + nm -D out/test/elf/x86_64/lto-dso/b.so +158: + grep -q 'T foo' +172: + cat 175: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/nostdlib.sh -160/309 Test #169: x86_64-no-eh-frame-header ............... Passed 0.35 sec -test 176 - Start 176: x86_64-now - -176: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/now.sh" -176: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -176: Test timeout computed to be: 1500 175: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 175: ++ export LC_ALL=C 175: ++ LC_ALL=C +174: ++ testname=non-canonical-plt +174: ++ echo -n 'Testing non-canonical-plt ... ' +174: Testing non-canonical-plt ... ++ t=out/test/elf/x86_64/non-canonical-plt +174: ++ mkdir -p out/test/elf/x86_64/non-canonical-plt 175: ++++ uname -m -174: ++++ uname -m -171: + on_exit -171: + echo OK -171: OK -171: + exit 0 -161/309 Test #171: x86_64-no-undefined-version ............. Passed 0.28 sec -test 177 - Start 177: x86_64-oformat-binary - -177: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/oformat-binary.sh" -177: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -177: Test timeout computed to be: 1500 175: +++ canonical_name x86_64 175: +++ case $1 in 175: +++ echo x86_64 @@ -9988,42 +10031,35 @@ 175: ++ QEMU= 175: ++ trap 'on_error $LINENO' ERR 175: ++ trap on_exit EXIT +158: + on_exit +158: + echo OK +158: OK +158: + exit 0 +172: + cc -fno-PIC -c -o out/test/elf/x86_64/nocopyreloc/b.o -xc - +161/309 Test #158: x86_64-lto-dso .......................... Passed 0.63 sec +test 176 + Start 176: x86_64-now + +176: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/now.sh" +176: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +176: Test timeout computed to be: 1500 175: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/nostdlib.sh .sh 175: ++ testname=nostdlib 175: ++ echo -n 'Testing nostdlib ... ' 175: Testing nostdlib ... ++ t=out/test/elf/x86_64/nostdlib 175: ++ mkdir -p out/test/elf/x86_64/nostdlib -174: +++ canonical_name x86_64 -174: +++ case $1 in -174: +++ echo x86_64 -174: ++ HOST=x86_64 -174: ++ '[' -n '' ']' -174: ++ MACHINE=x86_64 -174: ++ '[' -n '' ']' -174: ++ CC=cc -174: ++ CXX=c++ -174: ++ GCC=gcc -174: ++ GXX=g++ -174: ++ OBJDUMP=objdump -174: ++ OBJCOPY=objcopy -174: ++ STRIP=strip -174: ++ QEMU= -174: ++ trap 'on_error $LINENO' ERR -174: ++ trap on_exit EXIT -174: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/non-canonical-plt.sh .sh -174: ++ testname=non-canonical-plt -174: ++ echo -n 'Testing non-canonical-plt ... ' -174: Testing non-canonical-plt ... ++ t=out/test/elf/x86_64/non-canonical-plt -174: ++ mkdir -p out/test/elf/x86_64/non-canonical-plt -159: + out/test/elf/x86_64/lto-gcc/exe1 -159: + grep -q 'Hello world' -159: + cat -159: + gcc -flto -ffat-lto-objects -c -o out/test/elf/x86_64/lto-gcc/b.o -xc - -173: + cc -B. -shared -o out/test/elf/x86_64/noinhibit-exec/b.so out/test/elf/x86_64/noinhibit-exec/a.o +174: + cat +174: + cc -o out/test/elf/x86_64/non-canonical-plt/a.so -fPIC -shared -xc - 176: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/now.sh 176: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 176: ++ export LC_ALL=C 176: ++ LC_ALL=C +175: + cat +171: + grep -Fq 'a.ver: cannot assign version `ver_x` to symbol `foo`: symbol not found' out/test/elf/x86_64/no-undefined-version/log +171: + on_exit +171: + echo OK +171: OK +171: + exit 0 176: ++++ uname -m 176: +++ canonical_name x86_64 176: +++ case $1 in @@ -10042,44 +10078,48 @@ 176: ++ QEMU= 176: ++ trap 'on_error $LINENO' ERR 176: ++ trap on_exit EXIT -152: + echo 'INPUT(out/test/elf/x86_64/linker-script-relocatable/a.o out/test/elf/x86_64/linker-script-relocatable/b.o)' -152: + ./mold --relocatable -o out/test/elf/x86_64/linker-script-relocatable/d.o out/test/elf/x86_64/linker-script-relocatable/c.script 176: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/now.sh .sh -164: + out/test/elf/x86_64/mergeable-strings/exe2 -177: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/oformat-binary.sh -174: + cc -o out/test/elf/x86_64/non-canonical-plt/a.so -fPIC -shared -xc - -174: + cat -164: + grep -Eq '^(\S+) \1 (\S+) \2 (\S+) \3 (\S+) \4$' +162/309 Test #171: x86_64-no-undefined-version ............. Passed 0.22 sec +test 177 + Start 177: x86_64-oformat-binary + +177: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/oformat-binary.sh" +177: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +177: Test timeout computed to be: 1500 176: ++ testname=now 176: ++ echo -n 'Testing now ... ' 176: Testing now ... ++ t=out/test/elf/x86_64/now 176: ++ mkdir -p out/test/elf/x86_64/now -175: + cat +176: + cc -c -fPIC -o out/test/elf/x86_64/now/a.o -xc - +176: + cat +175: + cc -o out/test/elf/x86_64/nostdlib/a.o -c -xc - -fno-PIE +159: + out/test/elf/x86_64/lto-gcc/exe1 +159: + grep -q 'Hello world' +159: + cat +144: + grep -q 'error: exception' +177: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/oformat-binary.sh 177: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 177: ++ export LC_ALL=C 177: ++ LC_ALL=C -164: + on_exit -164: + echo OK -164: OK -164: + exit 0 -162/309 Test #164: x86_64-mergeable-strings ................ Passed 0.59 sec +159: + gcc -flto -ffat-lto-objects -c -o out/test/elf/x86_64/lto-gcc/b.o -xc - +144: + out/test/elf/x86_64/issue646/exe +167: + cat +144: + on_exit +144: + echo OK +144: OK +144: + exit 0 +163/309 Test #144: x86_64-issue646 ......................... Passed 1.15 sec test 178 Start 178: x86_64-omagic 178: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/omagic.sh" 178: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 178: Test timeout computed to be: 1500 -175: + cc -o out/test/elf/x86_64/nostdlib/a.o -c -xc - -fno-PIE 177: ++++ uname -m -172: + 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 177: +++ canonical_name x86_64 177: +++ case $1 in 177: +++ echo x86_64 -178: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/omagic.sh -176: + cc -c -fPIC -o out/test/elf/x86_64/now/a.o -xc - -178: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -178: ++ export LC_ALL=C -178: ++ LC_ALL=C +167: + chmod 755 out/test/elf/x86_64/mold-wrapper/a.sh 177: ++ HOST=x86_64 177: ++ '[' -n '' ']' 177: ++ MACHINE=x86_64 @@ -10094,16 +10134,35 @@ 177: ++ QEMU= 177: ++ trap 'on_error $LINENO' ERR 177: ++ trap on_exit EXIT -157: + out/test/elf/x86_64/lto-archive/exe -176: + cat -157: + grep -q 'Hello world' 177: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/oformat-binary.sh .sh +178: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/omagic.sh +178: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +178: ++ export LC_ALL=C +178: ++ LC_ALL=C +168: + rm -rf out/test/elf/x86_64/mold-wrapper2 177: ++ testname=oformat-binary 177: ++ echo -n 'Testing oformat-binary ... ' 177: Testing oformat-binary ... ++ t=out/test/elf/x86_64/oformat-binary 177: ++ mkdir -p out/test/elf/x86_64/oformat-binary -157: + nm out/test/elf/x86_64/lto-archive/exe +164: + out/test/elf/x86_64/mergeable-strings/exe2 +164: + grep -Eq '^(\S+) \1 (\S+) \2 (\S+) \3 (\S+) \4$' +168: + mkdir -p out/test/elf/x86_64/mold-wrapper2/bin out/test/elf/x86_64/mold-wrapper2/lib/mold +177: + cc -o out/test/elf/x86_64/oformat-binary/a.o -c -xc - -fno-PIE +177: + cat +164: + on_exit +164: + echo OK +164: OK +164: + exit 0 178: ++++ uname -m +164/309 Test #164: x86_64-mergeable-strings ................ Passed 0.53 sec +test 179 + Start 179: x86_64-pack-dyn-relocs-relr + +179: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/pack-dyn-relocs-relr.sh" +179: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +179: Test timeout computed to be: 1500 +167: + cat +167: + cc -xc -o out/test/elf/x86_64/mold-wrapper/exe - 178: +++ canonical_name x86_64 178: +++ case $1 in 178: +++ echo x86_64 @@ -10121,46 +10180,31 @@ 178: ++ QEMU= 178: ++ trap 'on_error $LINENO' ERR 178: ++ trap on_exit EXIT -152: + cc -B. -o out/test/elf/x86_64/linker-script-relocatable/exe out/test/elf/x86_64/linker-script-relocatable/d.o -177: + cat 178: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/omagic.sh .sh -157: + grep -q hello out/test/elf/x86_64/lto-archive/log -177: + cc -o out/test/elf/x86_64/oformat-binary/a.o -c -xc - -fno-PIE 178: ++ testname=omagic 178: ++ echo -n 'Testing omagic ... ' 178: Testing omagic ... ++ t=out/test/elf/x86_64/omagic 178: ++ mkdir -p out/test/elf/x86_64/omagic -157: + grep -q howdy out/test/elf/x86_64/lto-archive/log 178: + test_cflags -static +172: + 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 +168: + cp mold out/test/elf/x86_64/mold-wrapper2/bin 178: + cc -static -o /dev/null -xc - -157: + on_exit -157: + echo OK -157: OK -157: + exit 0 -163/309 Test #157: x86_64-lto-archive ...................... Passed 0.98 sec -test 179 - Start 179: x86_64-pack-dyn-relocs-relr - -179: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/pack-dyn-relocs-relr.sh" -179: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -179: Test timeout computed to be: 1500 178: + echo 'int main() {}' +174: + cc -o out/test/elf/x86_64/non-canonical-plt/b.o -c -xc - -fPIC +174: + cat 175: + ./mold -o out/test/elf/x86_64/nostdlib/exe out/test/elf/x86_64/nostdlib/a.o -159: + grep -q -- -fwpa -159: + gcc -B. -o out/test/elf/x86_64/lto-gcc/exe2 out/test/elf/x86_64/lto-gcc/b.o --verbose -158: + '[' x86_64 = ppc64 ']' -158: + grep -q 'T foo' +176: + cc -B. -shared -o out/test/elf/x86_64/now/b.so out/test/elf/x86_64/now/a.o -Wl,-z,now 179: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/pack-dyn-relocs-relr.sh 179: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 179: ++ export LC_ALL=C 179: ++ LC_ALL=C -158: + nm -D out/test/elf/x86_64/lto-dso/b.so 173: + 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 179: ++++ uname -m -175: + readelf -W --sections out/test/elf/x86_64/nostdlib/exe 179: +++ canonical_name x86_64 179: +++ case $1 in 179: +++ echo x86_64 +175: + readelf -W --sections out/test/elf/x86_64/nostdlib/exe +175: + grep -Fq ' .dynsym ' out/test/elf/x86_64/nostdlib/log 179: ++ HOST=x86_64 179: ++ '[' -n '' ']' 179: ++ MACHINE=x86_64 @@ -10175,12 +10219,15 @@ 179: ++ QEMU= 179: ++ trap 'on_error $LINENO' ERR 179: ++ trap on_exit EXIT -158: + on_exit -158: + echo OK -158: OK -158: + exit 0 -175: + grep -Fq ' .dynsym ' out/test/elf/x86_64/nostdlib/log -164/309 Test #158: x86_64-lto-dso .......................... Passed 0.90 sec +175: + grep -Fq ' .dynstr ' out/test/elf/x86_64/nostdlib/log +177: + ./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 +159: + grep -q -- -fwpa +159: + gcc -B. -o out/test/elf/x86_64/lto-gcc/exe2 out/test/elf/x86_64/lto-gcc/b.o --verbose +175: + on_exit +175: + echo OK +175: OK +175: + exit 0 +165/309 Test #175: x86_64-nostdlib ......................... Passed 0.13 sec test 180 Start 180: x86_64-package-metadata @@ -10195,64 +10242,31 @@ 179: + '[' x86_64 = m68k ']' 179: + '[' x86_64 = ppc ']' 179: + command -v llvm-readelf +96: + out/test/elf/x86_64/exception/exe10 +96: + '[' x86_64 '!=' riscv32 ']' +96: + c++ -B. -o out/test/elf/x86_64/exception/exe11 out/test/elf/x86_64/exception/b.o -pie +180: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/package-metadata.sh +180: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +180: ++ export LC_ALL=C +180: ++ LC_ALL=C 179: + skip 179: + echo skipped 179: skipped 179: + trap - EXIT 179: + exit 0 -165/309 Test #179: x86_64-pack-dyn-relocs-relr .............***Skipped 0.06 sec +166/309 Test #179: x86_64-pack-dyn-relocs-relr .............***Skipped 0.06 sec test 181 Start 181: x86_64-physical-image-base 181: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/physical-image-base.sh" 181: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 181: Test timeout computed to be: 1500 -175: + grep -Fq ' .dynstr ' out/test/elf/x86_64/nostdlib/log -175: + on_exit -175: + echo OK -175: OK -175: + exit 0 -152: + grep -q Hello -152: + out/test/elf/x86_64/linker-script-relocatable/exe -152: + on_exit -152: + echo OK -152: OK -152: + exit 0 -177: + ./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 -144: + out/test/elf/x86_64/issue646/exe -144: + grep -q 'error: exception' -180: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/package-metadata.sh -180: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -180: ++ export LC_ALL=C -180: ++ LC_ALL=C -174: + cc -o out/test/elf/x86_64/non-canonical-plt/b.o -c -xc - -fPIC 174: + cat -166/309 Test #152: x86_64-linker-script-relocatable ........ Passed 1.11 sec -test 182 - Start 182: x86_64-pie - -182: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/pie.sh" -182: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -182: Test timeout computed to be: 1500 -167/309 Test #175: x86_64-nostdlib ......................... Passed 0.23 sec -test 183 - Start 183: x86_64-plt-dso - -183: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/plt-dso.sh" -183: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -183: Test timeout computed to be: 1500 -177: + grep -Eq '^\s+0x4000\s+[0-9]+\s+[0-9]+\s+\.text$' out/test/elf/x86_64/oformat-binary/map -144: + on_exit -144: + echo OK -144: OK -144: + exit 0 -168/309 Test #144: x86_64-issue646 ......................... Passed 1.41 sec -test 184 - Start 184: x86_64-pltgot - -184: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/pltgot.sh" -184: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -184: Test timeout computed to be: 1500 +174: + cc -o out/test/elf/x86_64/non-canonical-plt/c.o -c -xc - -fPIC +157: + out/test/elf/x86_64/lto-archive/exe +157: + grep -q 'Hello world' +157: + nm out/test/elf/x86_64/lto-archive/exe +157: + grep -q hello out/test/elf/x86_64/lto-archive/log 180: ++++ uname -m 180: +++ canonical_name x86_64 180: +++ case $1 in @@ -10276,11 +10290,20 @@ 180: ++ echo -n 'Testing package-metadata ... ' 180: Testing package-metadata ... ++ t=out/test/elf/x86_64/package-metadata 180: ++ mkdir -p out/test/elf/x86_64/package-metadata +180: + cat +177: + grep -Eq '^\s+0x4000\s+[0-9]+\s+[0-9]+\s+\.text$' out/test/elf/x86_64/oformat-binary/map +177: + grep -Fq .strtab out/test/elf/x86_64/oformat-binary/map +177: + grep -Fq .shstrtab out/test/elf/x86_64/oformat-binary/map +173: + grep -q 'undefined symbol: no-such-sym' out/test/elf/x86_64/noinhibit-exec/log1 +157: + grep -q howdy out/test/elf/x86_64/lto-archive/log 181: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/physical-image-base.sh 181: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 181: ++ export LC_ALL=C 181: ++ LC_ALL=C +180: + cc -o out/test/elf/x86_64/package-metadata/a.o -c -xc - +173: + 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 181: ++++ uname -m +177: + grep -Fq .symtab out/test/elf/x86_64/oformat-binary/map 181: +++ canonical_name x86_64 181: +++ case $1 in 181: +++ echo x86_64 @@ -10299,37 +10322,78 @@ 181: ++ trap 'on_error $LINENO' ERR 181: ++ trap on_exit EXIT 181: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/physical-image-base.sh .sh +177: + grep -Fq .comment out/test/elf/x86_64/oformat-binary/map 181: ++ testname=physical-image-base 181: ++ echo -n 'Testing physical-image-base ... ' 181: Testing physical-image-base ... ++ t=out/test/elf/x86_64/physical-image-base 181: ++ mkdir -p out/test/elf/x86_64/physical-image-base -181: + '[' x86_64 = ppc64 ']' -181: + cat -181: + cc -o out/test/elf/x86_64/physical-image-base/a.o -c -xc - -176: + cc -B. -shared -o out/test/elf/x86_64/now/b.so out/test/elf/x86_64/now/a.o -Wl,-z,now +177: + on_exit +177: + echo OK +177: OK +177: + exit 0 +167/309 Test #177: x86_64-oformat-binary ................... Passed 0.15 sec +test 182 + Start 182: x86_64-pie + +182: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/pie.sh" +182: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +182: Test timeout computed to be: 1500 172: + out/test/elf/x86_64/nocopyreloc/exe 172: + grep -q '3 5' 172: + 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 +181: + '[' x86_64 = ppc64 ']' +181: + cc -o out/test/elf/x86_64/physical-image-base/a.o -c -xc - +181: + cat +157: + on_exit +157: + echo OK +157: OK +157: + exit 0 +168/309 Test #157: x86_64-lto-archive ...................... Passed 0.84 sec +test 183 + Start 183: x86_64-plt-dso + +183: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/plt-dso.sh" +183: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +183: Test timeout computed to be: 1500 182: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/pie.sh 182: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 182: ++ export LC_ALL=C 182: ++ LC_ALL=C -177: + grep -Fq .strtab out/test/elf/x86_64/oformat-binary/map -177: + grep -Fq .shstrtab out/test/elf/x86_64/oformat-binary/map -180: + cat +176: + grep -q 'Flags: NOW' +176: + readelf --dynamic out/test/elf/x86_64/now/b.so 183: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/plt-dso.sh +176: + 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 183: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 183: ++ export LC_ALL=C 183: ++ LC_ALL=C -184: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/pltgot.sh -184: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -184: ++ export LC_ALL=C -184: ++ LC_ALL=C +174: + 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 +183: ++++ uname -m +183: +++ canonical_name x86_64 +183: +++ case $1 in +183: +++ echo x86_64 +183: ++ HOST=x86_64 +183: ++ '[' -n '' ']' +183: ++ MACHINE=x86_64 +183: ++ '[' -n '' ']' +183: ++ CC=cc +183: ++ CXX=c++ +183: ++ GCC=gcc +183: ++ GXX=g++ +183: ++ OBJDUMP=objdump +183: ++ OBJCOPY=objcopy +183: ++ STRIP=strip +183: ++ QEMU= +183: ++ trap 'on_error $LINENO' ERR +183: ++ trap on_exit EXIT +183: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/plt-dso.sh .sh +183: ++ testname=plt-dso +183: ++ echo -n 'Testing plt-dso ... ' +183: Testing plt-dso ... ++ t=out/test/elf/x86_64/plt-dso +183: ++ mkdir -p out/test/elf/x86_64/plt-dso 182: ++++ uname -m 182: +++ canonical_name x86_64 182: +++ case $1 in 182: +++ echo x86_64 -177: + grep -Fq .symtab out/test/elf/x86_64/oformat-binary/map 182: ++ HOST=x86_64 182: ++ '[' -n '' ']' 182: ++ MACHINE=x86_64 @@ -10344,48 +10408,82 @@ 182: ++ QEMU= 182: ++ trap 'on_error $LINENO' ERR 182: ++ trap on_exit EXIT -180: + cc -o out/test/elf/x86_64/package-metadata/a.o -c -xc - -177: + grep -Fq .comment out/test/elf/x86_64/oformat-binary/map -183: ++++ uname -m -174: + cat -174: + cc -o out/test/elf/x86_64/non-canonical-plt/c.o -c -xc - -fPIC 182: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/pie.sh .sh -177: + on_exit -177: + echo OK -177: OK -177: + exit 0 +183: + cat +183: + cc -fPIC -c -o out/test/elf/x86_64/plt-dso/a.o -xc - +167: + grep -q 'a.sh execl' 182: ++ testname=pie 182: ++ echo -n 'Testing pie ... ' 182: Testing pie ... ++ t=out/test/elf/x86_64/pie 182: ++ mkdir -p out/test/elf/x86_64/pie -183: +++ canonical_name x86_64 -183: +++ case $1 in -183: +++ echo x86_64 -183: ++ HOST=x86_64 -183: ++ '[' -n '' ']' -183: ++ MACHINE=x86_64 -183: ++ '[' -n '' ']' -183: ++ CC=cc -183: ++ CXX=c++ -183: ++ GCC=gcc -183: ++ GXX=g++ -183: ++ OBJDUMP=objdump -183: ++ OBJCOPY=objcopy -183: ++ STRIP=strip -183: ++ QEMU= -183: ++ trap 'on_error $LINENO' ERR -183: ++ trap on_exit EXIT -184: ++++ uname -m -184: +++ canonical_name x86_64 -184: +++ case $1 in -184: +++ echo x86_64 -169/309 Test #177: x86_64-oformat-binary ................... Passed 0.24 sec +182: + cat +180: + 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"}' +167: ++ pwd +167: + LD_PRELOAD=/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so +167: + MOLD_PATH=out/test/elf/x86_64/mold-wrapper/a.sh +167: + out/test/elf/x86_64/mold-wrapper/exe execl +182: + cc -o out/test/elf/x86_64/pie/a.o -c -xc -fPIE - +167: + grep -q 'a.sh execlp' +181: + cc -B. -no-pie -o out/test/elf/x86_64/physical-image-base/exe1 out/test/elf/x86_64/physical-image-base/a.o -Wl,--image-base=0x200000 -Wl,--physical-image-base=0x800000 +178: + cat +178: + cc -c -o out/test/elf/x86_64/omagic/a.o -xc - -fno-PIC +167: ++ pwd +167: + LD_PRELOAD=/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so +167: + MOLD_PATH=out/test/elf/x86_64/mold-wrapper/a.sh +167: + out/test/elf/x86_64/mold-wrapper/exe execlp +172: + grep -q 'recompile with -fPIC' out/test/elf/x86_64/nocopyreloc/log +167: ++ pwd +167: + LD_PRELOAD=/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so +167: + MOLD_PATH=out/test/elf/x86_64/mold-wrapper/a.sh +167: + out/test/elf/x86_64/mold-wrapper/exe execle +167: + grep -q 'a.sh execle' +172: + on_exit +172: + echo OK +172: OK +172: + exit 0 +169/309 Test #172: x86_64-nocopyreloc ...................... Passed 0.43 sec +test 184 + Start 184: x86_64-pltgot + +184: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/pltgot.sh" +184: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +184: Test timeout computed to be: 1500 +173: + grep -q 'undefined symbol: no-such-sym' out/test/elf/x86_64/noinhibit-exec/log2 +167: + grep -q 'a.sh execv' +184: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/pltgot.sh +96: + strip out/test/elf/x86_64/exception/exe11 +167: ++ pwd +167: + LD_PRELOAD=/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so +167: + MOLD_PATH=out/test/elf/x86_64/mold-wrapper/a.sh +167: + out/test/elf/x86_64/mold-wrapper/exe execv +173: + on_exit +173: + echo OK +173: OK +173: + exit 0 +170/309 Test #173: x86_64-noinhibit-exec ................... Passed 0.42 sec test 185 Start 185: x86_64-preinit-array 185: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/preinit-array.sh" 185: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 185: Test timeout computed to be: 1500 +167: + grep -q 'a.sh execvp' +167: ++ pwd +167: + LD_PRELOAD=/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so +167: + MOLD_PATH=out/test/elf/x86_64/mold-wrapper/a.sh +167: + out/test/elf/x86_64/mold-wrapper/exe execvp +184: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +184: ++ export LC_ALL=C +184: ++ LC_ALL=C +184: ++++ uname -m +96: + out/test/elf/x86_64/exception/exe11 +96: + c++ -B. -o out/test/elf/x86_64/exception/exe12 out/test/elf/x86_64/exception/c.o -no-pie +182: + cc -B. -pie -o out/test/elf/x86_64/pie/exe out/test/elf/x86_64/pie/a.o +185: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/preinit-array.sh +167: + grep -q 'a.sh execvpe bar' +184: +++ canonical_name x86_64 +184: +++ case $1 in +184: +++ echo x86_64 184: ++ HOST=x86_64 184: ++ '[' -n '' ']' 184: ++ MACHINE=x86_64 @@ -10400,38 +10498,14 @@ 184: ++ QEMU= 184: ++ trap 'on_error $LINENO' ERR 184: ++ trap on_exit EXIT -184: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/pltgot.sh .sh -183: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/plt-dso.sh .sh -184: ++ testname=pltgot -184: ++ echo -n 'Testing pltgot ... ' -184: Testing pltgot ... ++ t=out/test/elf/x86_64/pltgot -184: ++ mkdir -p out/test/elf/x86_64/pltgot -183: ++ testname=plt-dso -183: ++ echo -n 'Testing plt-dso ... ' -183: Testing plt-dso ... ++ t=out/test/elf/x86_64/plt-dso -183: ++ mkdir -p out/test/elf/x86_64/plt-dso -182: + cc -o out/test/elf/x86_64/pie/a.o -c -xc -fPIE - -182: + cat -183: + cc -fPIC -c -o out/test/elf/x86_64/plt-dso/a.o -xc - -185: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/preinit-array.sh -181: + cc -B. -no-pie -o out/test/elf/x86_64/physical-image-base/exe1 out/test/elf/x86_64/physical-image-base/a.o -Wl,--image-base=0x200000 -Wl,--physical-image-base=0x800000 -173: + grep -q 'undefined symbol: no-such-sym' out/test/elf/x86_64/noinhibit-exec/log1 -183: + cat -184: + cat -163: + sed 's/.*/.section .data.\0,"aw"\n.globl x\0\nx\0: .word 0\n/g' -163: + seq 1 100000 -178: + cc -c -o out/test/elf/x86_64/omagic/a.o -xc - -fno-PIC 185: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 185: ++ export LC_ALL=C 185: ++ LC_ALL=C -184: + cc -o out/test/elf/x86_64/pltgot/a.o -c -xc - -fPIC -173: + 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 -163: + cc -c -xassembler -o out/test/elf/x86_64/many-sections2/a.o - +184: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/pltgot.sh .sh 185: ++++ uname -m 185: +++ canonical_name x86_64 185: +++ case $1 in 185: +++ echo x86_64 -178: + cat 185: ++ HOST=x86_64 185: ++ '[' -n '' ']' 185: ++ MACHINE=x86_64 @@ -10446,44 +10520,90 @@ 185: ++ QEMU= 185: ++ trap 'on_error $LINENO' ERR 185: ++ trap on_exit EXIT -172: + grep -q 'recompile with -fPIC' out/test/elf/x86_64/nocopyreloc/log +184: ++ testname=pltgot +184: ++ echo -n 'Testing pltgot ... ' +184: Testing pltgot ... ++ t=out/test/elf/x86_64/pltgot +184: ++ mkdir -p out/test/elf/x86_64/pltgot 185: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/preinit-array.sh .sh -180: + 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"}' +167: ++ pwd 185: ++ testname=preinit-array 185: ++ echo -n 'Testing preinit-array ... ' 185: Testing preinit-array ... ++ t=out/test/elf/x86_64/preinit-array 185: ++ mkdir -p out/test/elf/x86_64/preinit-array +167: + LD_PRELOAD=/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so +167: + MOLD_PATH=out/test/elf/x86_64/mold-wrapper/a.sh +167: + out/test/elf/x86_64/mold-wrapper/exe execvpe +174: + out/test/elf/x86_64/non-canonical-plt/exe +174: + grep -q '^1 1 1$' +183: + cc -B. -shared -o out/test/elf/x86_64/plt-dso/b.so out/test/elf/x86_64/plt-dso/a.o 185: + cat -172: + on_exit -172: + echo OK -172: OK -172: + exit 0 -176: + grep -q 'Flags: NOW' -170/309 Test #172: x86_64-nocopyreloc ...................... Passed 0.55 sec +174: + grep -q '00000000 .* foo' +184: + cat +167: + on_exit +167: + echo OK +167: OK +167: + exit 0 +171/309 Test #167: x86_64-mold-wrapper ..................... Passed 0.69 sec test 186 Start 186: x86_64-print-dependencies 186: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/print-dependencies.sh" 186: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 186: Test timeout computed to be: 1500 -176: + readelf --dynamic out/test/elf/x86_64/now/b.so +178: + cc -B. out/test/elf/x86_64/omagic/a.o -o out/test/elf/x86_64/omagic/exe -static -Wl,--omagic +174: + readelf --dyn-syms out/test/elf/x86_64/non-canonical-plt/exe +174: + grep -q '00000000 .* bar' +174: + readelf --dyn-syms out/test/elf/x86_64/non-canonical-plt/exe +184: + cc -o out/test/elf/x86_64/pltgot/a.o -c -xc - -fPIC 185: + cc -o out/test/elf/x86_64/preinit-array/a.o -c -xc - -176: + 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 +181: + grep -q 'Hello world' +181: + out/test/elf/x86_64/physical-image-base/exe1 +174: + on_exit +174: + echo OK +174: OK +174: + exit 0 +172/309 Test #174: x86_64-non-canonical-plt ................ Passed 0.41 sec +test 187 + Start 187: x86_64-protected-dynsym + +187: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/protected-dynsym.sh" +187: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +187: Test timeout computed to be: 1500 186: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/print-dependencies.sh +181: + grep -Eq 'LOAD\s+0x000000 0x0*200000 0x0*800000' +181: + readelf -W --segments out/test/elf/x86_64/physical-image-base/exe1 186: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 186: ++ export LC_ALL=C 186: ++ LC_ALL=C -183: + cc -B. -shared -o out/test/elf/x86_64/plt-dso/b.so out/test/elf/x86_64/plt-dso/a.o -182: + cc -B. -pie -o out/test/elf/x86_64/pie/exe out/test/elf/x86_64/pie/a.o -159: + gcc -flto -fno-use-linker-plugin -c -o out/test/elf/x86_64/lto-gcc/c.o -xc - -178: + cc -B. out/test/elf/x86_64/omagic/a.o -o out/test/elf/x86_64/omagic/exe -static -Wl,--omagic -159: + cat -174: + 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 +176: + readelf --dynamic out/test/elf/x86_64/now/b.so +181: + readelf -Ws out/test/elf/x86_64/physical-image-base/exe1 +181: + grep -q __phys_start_foo +187: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/protected-dynsym.sh +187: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +187: ++ export LC_ALL=C +187: ++ LC_ALL=C +176: + grep -q 'Flags: NOW' out/test/elf/x86_64/now/log +181: + cc -B. -no-pie -o out/test/elf/x86_64/physical-image-base/exe2 out/test/elf/x86_64/physical-image-base/a.o -Wl,--physical-image-base=0x800000 '-Wl,--section-order==0x800000 TEXT RODATA =0x900000 DATA BSS' 186: ++++ uname -m +176: + on_exit +176: + echo OK +176: OK +176: + exit 0 +187: ++++ uname -m +187: +++ canonical_name x86_64 +187: +++ case $1 in +187: +++ echo x86_64 +159: + cat 186: +++ canonical_name x86_64 186: +++ case $1 in 186: +++ echo x86_64 -181: + grep -q 'Hello world' +173/309 Test #176: x86_64-now .............................. Passed 0.39 sec +test 188 + Start 188: x86_64-protected + +188: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/protected.sh" +188: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +188: Test timeout computed to be: 1500 186: ++ HOST=x86_64 186: ++ '[' -n '' ']' 186: ++ MACHINE=x86_64 @@ -10498,47 +10618,13 @@ 186: ++ QEMU= 186: ++ trap 'on_error $LINENO' ERR 186: ++ trap on_exit EXIT -181: + out/test/elf/x86_64/physical-image-base/exe1 -173: + grep -q 'undefined symbol: no-such-sym' out/test/elf/x86_64/noinhibit-exec/log2 186: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/print-dependencies.sh .sh 186: ++ testname=print-dependencies 186: ++ echo -n 'Testing print-dependencies ... ' 186: Testing print-dependencies ... ++ t=out/test/elf/x86_64/print-dependencies 186: ++ mkdir -p out/test/elf/x86_64/print-dependencies -185: + ./mold -o out/test/elf/x86_64/preinit-array/exe1 out/test/elf/x86_64/preinit-array/a.o -181: + readelf -W --segments out/test/elf/x86_64/physical-image-base/exe1 -181: + grep -Eq 'LOAD\s+0x000000 0x0*200000 0x0*800000' -184: + cc -B. -shared -o out/test/elf/x86_64/pltgot/b.so out/test/elf/x86_64/pltgot/a.o -173: + on_exit -173: + echo OK -173: OK -173: + exit 0 -171/309 Test #173: x86_64-noinhibit-exec ................... Passed 0.59 sec -test 187 - Start 187: x86_64-protected-dynsym - -187: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/protected-dynsym.sh" -187: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -187: Test timeout computed to be: 1500 -181: + readelf -Ws out/test/elf/x86_64/physical-image-base/exe1 -181: + grep -q __phys_start_foo -181: + cc -B. -no-pie -o out/test/elf/x86_64/physical-image-base/exe2 out/test/elf/x86_64/physical-image-base/a.o -Wl,--physical-image-base=0x800000 '-Wl,--section-order==0x800000 TEXT RODATA =0x900000 DATA BSS' -186: + cat -186: + cc -o out/test/elf/x86_64/print-dependencies/a.o -c -xc - -187: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/protected-dynsym.sh -187: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -187: ++ export LC_ALL=C -187: ++ LC_ALL=C -168: + rm -rf out/test/elf/x86_64/mold-wrapper2 -159: + gcc -B. -o out/test/elf/x86_64/lto-gcc/exe3 -flto -fno-use-linker-plugin out/test/elf/x86_64/lto-gcc/c.o -185: + readelf -W --dynamic out/test/elf/x86_64/preinit-array/exe1 -187: ++++ uname -m -187: +++ canonical_name x86_64 -187: +++ case $1 in -187: +++ echo x86_64 -185: + grep -q PREINIT_ARRAY out/test/elf/x86_64/preinit-array/log1 -174: + grep -q '^1 1 1$' -183: + cc -c -o out/test/elf/x86_64/plt-dso/c.o -xc - +182: + grep -q -E '(Shared object file|Position-Independent Executable file)' +182: + readelf --file-header out/test/elf/x86_64/pie/exe 187: ++ HOST=x86_64 187: ++ '[' -n '' ']' 187: ++ MACHINE=x86_64 @@ -10553,103 +10639,27 @@ 187: ++ QEMU= 187: ++ trap 'on_error $LINENO' ERR 187: ++ trap on_exit EXIT -168: + mkdir -p out/test/elf/x86_64/mold-wrapper2/bin out/test/elf/x86_64/mold-wrapper2/lib/mold -182: + readelf --file-header out/test/elf/x86_64/pie/exe -182: + grep -q -E '(Shared object file|Position-Independent Executable file)' -176: + readelf --dynamic out/test/elf/x86_64/now/b.so -183: + cat -174: + out/test/elf/x86_64/non-canonical-plt/exe 187: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/protected-dynsym.sh .sh -168: + cp mold out/test/elf/x86_64/mold-wrapper2/bin -176: + grep -q 'Flags: NOW' out/test/elf/x86_64/now/log -182: + out/test/elf/x86_64/pie/exe -174: + grep -q '00000000 .* foo' -174: + readelf --dyn-syms out/test/elf/x86_64/non-canonical-plt/exe -185: + cc -o out/test/elf/x86_64/preinit-array/b.o -c -xc - -187: ++ testname=protected-dynsym -187: ++ echo -n 'Testing protected-dynsym ... ' -187: Testing protected-dynsym ... ++ t=out/test/elf/x86_64/protected-dynsym -187: ++ mkdir -p out/test/elf/x86_64/protected-dynsym -176: + on_exit -176: + echo OK -176: OK -176: + exit 0 -182: + grep -q 'Hello world' -172/309 Test #176: x86_64-now .............................. Passed 0.49 sec -test 188 - Start 188: x86_64-protected - -188: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/protected.sh" -188: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -188: Test timeout computed to be: 1500 -182: + on_exit -182: + echo OK -182: OK -182: + exit 0 180: + readelf -x .note.package out/test/elf/x86_64/package-metadata/exe 180: + grep -Fq '{"foo":"bar"}' +159: + gcc -flto -fno-use-linker-plugin -c -o out/test/elf/x86_64/lto-gcc/c.o -xc - +186: + cat +186: + cc -o out/test/elf/x86_64/print-dependencies/a.o -c -xc - 180: + on_exit 180: + echo OK 180: OK 180: + exit 0 -174: + grep -q '00000000 .* bar' -174: + readelf --dyn-syms out/test/elf/x86_64/non-canonical-plt/exe -185: + cat -187: + cc -fPIC -c -o out/test/elf/x86_64/protected-dynsym/a.o -xc - -187: + cat -173/309 Test #180: x86_64-package-metadata ................. Passed 0.36 sec -test 189 - Start 189: x86_64-push-pop-state - -189: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/push-pop-state.sh" -189: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -189: Test timeout computed to be: 1500 -174/309 Test #182: x86_64-pie .............................. Passed 0.33 sec -test 190 - Start 190: x86_64-range-extension-thunk - -190: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/range-extension-thunk.sh" -190: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -190: Test timeout computed to be: 1500 -174: + on_exit -174: + echo OK -174: OK -174: + exit 0 -175/309 Test #174: x86_64-non-canonical-plt ................ Passed 0.58 sec -test 191 - Start 191: x86_64-relax-got-load - -191: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/relax-got-load.sh" -191: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -191: Test timeout computed to be: 1500 188: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/protected.sh 188: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 188: ++ export LC_ALL=C 188: ++ LC_ALL=C -186: + cc -o out/test/elf/x86_64/print-dependencies/b.o -c -xc - -186: + cat -189: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/push-pop-state.sh -189: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -189: ++ export LC_ALL=C -189: ++ LC_ALL=C -190: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/range-extension-thunk.sh -190: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -190: ++ export LC_ALL=C -190: ++ LC_ALL=C -191: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/relax-got-load.sh -185: + cc -B. -o out/test/elf/x86_64/preinit-array/exe2 out/test/elf/x86_64/preinit-array/b.o 188: ++++ uname -m -191: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -191: ++ export LC_ALL=C -191: ++ LC_ALL=C 188: +++ canonical_name x86_64 188: +++ case $1 in 188: +++ echo x86_64 -189: ++++ uname -m 188: ++ HOST=x86_64 188: ++ '[' -n '' ']' 188: ++ MACHINE=x86_64 -181: + readelf -W --segments out/test/elf/x86_64/physical-image-base/exe2 188: ++ '[' -n '' ']' 188: ++ CC=cc 188: ++ CXX=c++ @@ -10661,40 +10671,48 @@ 188: ++ QEMU= 188: ++ trap 'on_error $LINENO' ERR 188: ++ trap on_exit EXIT -189: +++ canonical_name x86_64 -189: +++ case $1 in -189: +++ echo x86_64 -189: ++ HOST=x86_64 -189: ++ '[' -n '' ']' -189: ++ MACHINE=x86_64 -189: ++ '[' -n '' ']' -189: ++ CC=cc -189: ++ CXX=c++ -189: ++ GCC=gcc -189: ++ GXX=g++ -189: ++ OBJDUMP=objdump -189: ++ OBJCOPY=objcopy -189: ++ STRIP=strip -189: ++ QEMU= -189: ++ trap 'on_error $LINENO' ERR -189: ++ trap on_exit EXIT +185: + ./mold -o out/test/elf/x86_64/preinit-array/exe1 out/test/elf/x86_64/preinit-array/a.o +182: + out/test/elf/x86_64/pie/exe +182: + grep -q 'Hello world' +187: ++ testname=protected-dynsym +187: ++ echo -n 'Testing protected-dynsym ... ' +187: Testing protected-dynsym ... ++ t=out/test/elf/x86_64/protected-dynsym +187: ++ mkdir -p out/test/elf/x86_64/protected-dynsym +187: + cat +187: + cc -fPIC -c -o out/test/elf/x86_64/protected-dynsym/a.o -xc - +184: + cc -B. -shared -o out/test/elf/x86_64/pltgot/b.so out/test/elf/x86_64/pltgot/a.o +174/309 Test #180: x86_64-package-metadata ................. Passed 0.29 sec +test 189 + Start 189: x86_64-push-pop-state + +189: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/push-pop-state.sh" +189: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +189: Test timeout computed to be: 1500 +182: + on_exit +182: + echo OK +182: OK +182: + exit 0 188: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/protected.sh .sh -190: ++++ uname -m -189: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/push-pop-state.sh .sh 188: ++ testname=protected 188: ++ echo -n 'Testing protected ... ' 188: Testing protected ... ++ t=out/test/elf/x86_64/protected 188: ++ mkdir -p out/test/elf/x86_64/protected -191: ++++ uname -m -183: + 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 +175/309 Test #182: x86_64-pie .............................. Passed 0.24 sec +test 190 + Start 190: x86_64-range-extension-thunk + +190: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/range-extension-thunk.sh" +190: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +190: Test timeout computed to be: 1500 +190: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/range-extension-thunk.sh +190: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +190: ++ export LC_ALL=C +190: ++ LC_ALL=C +190: ++++ uname -m +189: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/push-pop-state.sh 190: +++ canonical_name x86_64 190: +++ case $1 in 190: +++ echo x86_64 -189: ++ testname=push-pop-state -189: ++ echo -n 'Testing push-pop-state ... ' -189: Testing push-pop-state ... ++ t=out/test/elf/x86_64/push-pop-state -189: ++ mkdir -p out/test/elf/x86_64/push-pop-state -184: + cc -o out/test/elf/x86_64/pltgot/c.o -c -xc - -fPIC 190: ++ HOST=x86_64 190: ++ '[' -n '' ']' 190: ++ MACHINE=x86_64 @@ -10710,75 +10728,102 @@ 190: ++ trap 'on_error $LINENO' ERR 190: ++ trap on_exit EXIT 190: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/range-extension-thunk.sh .sh -181: + grep -Eq 'LOAD\s+\S+\s+(\S+)\s\1.*R E 0' -187: + cat -187: + cc -fPIC -c -o out/test/elf/x86_64/protected-dynsym/b.o -fcommon -xc - -191: +++ canonical_name x86_64 -191: +++ case $1 in -191: +++ echo x86_64 -191: ++ HOST=x86_64 -191: ++ '[' -n '' ']' -191: ++ MACHINE=x86_64 -191: ++ '[' -n '' ']' -191: ++ CC=cc -191: ++ CXX=c++ -191: ++ GCC=gcc -191: ++ GXX=g++ -191: ++ OBJDUMP=objdump -191: ++ OBJCOPY=objcopy -191: ++ STRIP=strip -191: ++ QEMU= -191: ++ trap 'on_error $LINENO' ERR -191: ++ trap on_exit EXIT -184: + cat -189: + cc -shared -o out/test/elf/x86_64/push-pop-state/a.so -xc - 190: ++ testname=range-extension-thunk 190: ++ echo -n 'Testing range-extension-thunk ... ' 190: Testing range-extension-thunk ... ++ t=out/test/elf/x86_64/range-extension-thunk 190: ++ mkdir -p out/test/elf/x86_64/range-extension-thunk -191: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/relax-got-load.sh .sh -167: + cat -189: + cat -191: ++ testname=relax-got-load -191: ++ echo -n 'Testing relax-got-load ... ' -191: Testing relax-got-load ... ++ t=out/test/elf/x86_64/relax-got-load -191: ++ mkdir -p out/test/elf/x86_64/relax-got-load +189: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +189: ++ export LC_ALL=C +189: ++ LC_ALL=C 188: + cat +187: + cat +187: + cc -fPIC -c -o out/test/elf/x86_64/protected-dynsym/b.o -fcommon -xc - +189: ++++ uname -m +189: +++ canonical_name x86_64 +189: +++ case $1 in +189: +++ echo x86_64 +190: + '[' x86_64 = i386 ']' +190: + '[' x86_64 = riscv32 ']' +190: + '[' x86_64 = sparc64 ']' +190: + cat 188: + cc -fPIC -c -o out/test/elf/x86_64/protected/a.o -xc - +189: ++ HOST=x86_64 +189: ++ '[' -n '' ']' +189: ++ MACHINE=x86_64 +189: ++ '[' -n '' ']' +189: ++ CC=cc +189: ++ CXX=c++ +189: ++ GCC=gcc +189: ++ GXX=g++ +189: ++ OBJDUMP=objdump +189: ++ OBJCOPY=objcopy +189: ++ STRIP=strip +189: ++ QEMU= +189: ++ trap 'on_error $LINENO' ERR +189: ++ trap on_exit EXIT +186: + cc -o out/test/elf/x86_64/print-dependencies/b.o -c -xc - +190: + cat +189: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/push-pop-state.sh .sh +189: ++ testname=push-pop-state +189: ++ echo -n 'Testing push-pop-state ... ' +189: Testing push-pop-state ... ++ t=out/test/elf/x86_64/push-pop-state +189: ++ mkdir -p out/test/elf/x86_64/push-pop-state +190: + cc -c -o out/test/elf/x86_64/range-extension-thunk/c.o out/test/elf/x86_64/range-extension-thunk/a.c -O0 +185: + readelf -W --dynamic out/test/elf/x86_64/preinit-array/exe1 +186: + cat +183: + cc -c -o out/test/elf/x86_64/plt-dso/c.o -xc - +185: + grep -q PREINIT_ARRAY out/test/elf/x86_64/preinit-array/log1 +159: + gcc -B. -o out/test/elf/x86_64/lto-gcc/exe3 -flto -fno-use-linker-plugin out/test/elf/x86_64/lto-gcc/c.o +189: + cc -shared -o out/test/elf/x86_64/push-pop-state/a.so -xc - +183: + cat +187: + 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 +189: + cat +185: + cat +185: + cc -o out/test/elf/x86_64/preinit-array/b.o -c -xc - +96: + strip out/test/elf/x86_64/exception/exe12 +186: + 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 +96: + out/test/elf/x86_64/exception/exe12 +181: + grep -Eq 'LOAD\s+\S+\s+(\S+)\s\1.*R E 0' +188: + cc -B. -o out/test/elf/x86_64/protected/b.so -shared out/test/elf/x86_64/protected/a.o +96: + on_exit +96: + echo OK +96: OK +96: + exit 0 +176/309 Test #96: x86_64-exception ........................ Passed 3.22 sec +test 191 + Start 191: x86_64-relax-got-load + +191: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/relax-got-load.sh" +191: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +191: Test timeout computed to be: 1500 181: + readelf -W --segments out/test/elf/x86_64/physical-image-base/exe2 +190: + cc -c -o out/test/elf/x86_64/range-extension-thunk/d.o out/test/elf/x86_64/range-extension-thunk/b.c -O0 181: + grep -Eq 'LOAD\s+\S+\s+(\S+)\s\1.*R 0' -191: + cat -167: + chmod 755 out/test/elf/x86_64/mold-wrapper/a.sh +181: + readelf -W --segments out/test/elf/x86_64/physical-image-base/exe2 181: + on_exit 181: + echo OK 181: OK 181: + exit 0 -190: + '[' x86_64 = i386 ']' -190: + '[' x86_64 = riscv32 ']' -190: + '[' x86_64 = sparc64 ']' -190: + cat -176/309 Test #181: x86_64-physical-image-base .............. Passed 0.43 sec +191: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/relax-got-load.sh +177/309 Test #181: x86_64-physical-image-base .............. Passed 0.41 sec test 192 Start 192: x86_64-reloc-rodata 192: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/reloc-rodata.sh" 192: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 192: Test timeout computed to be: 1500 -191: + cc -o out/test/elf/x86_64/relax-got-load/a.o -c -xc - -fPIC -187: + 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 +191: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +191: ++ export LC_ALL=C +191: ++ LC_ALL=C +183: + 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 192: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/reloc-rodata.sh 192: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +184: + cat 192: ++ export LC_ALL=C 192: ++ LC_ALL=C -190: + cat -186: + 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 -167: + cc -xc -o out/test/elf/x86_64/mold-wrapper/exe - -167: + cat -190: + cc -c -o out/test/elf/x86_64/range-extension-thunk/c.o out/test/elf/x86_64/range-extension-thunk/a.c -O0 192: ++++ uname -m 192: +++ canonical_name x86_64 192: +++ case $1 in -184: + 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 192: +++ echo x86_64 192: ++ HOST=x86_64 192: ++ '[' -n '' ']' @@ -10794,97 +10839,81 @@ 192: ++ QEMU= 192: ++ trap 'on_error $LINENO' ERR 192: ++ trap on_exit EXIT -178: + readelf -W --segments out/test/elf/x86_64/omagic/exe -188: + cc -B. -o out/test/elf/x86_64/protected/b.so -shared out/test/elf/x86_64/protected/a.o +184: + cc -o out/test/elf/x86_64/pltgot/c.o -c -xc - -fPIC 192: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/reloc-rodata.sh .sh 192: ++ testname=reloc-rodata 192: ++ echo -n 'Testing reloc-rodata ... ' 192: Testing reloc-rodata ... ++ t=out/test/elf/x86_64/reloc-rodata 192: ++ mkdir -p out/test/elf/x86_64/reloc-rodata -185: + readelf -W --dynamic out/test/elf/x86_64/preinit-array/exe2 -178: + grep -qw RWE -178: + on_exit -178: + echo OK -178: OK -178: + exit 0 -177/309 Test #178: x86_64-omagic ........................... Passed 0.62 sec +191: ++++ uname -m +191: +++ canonical_name x86_64 +191: +++ case $1 in +191: +++ echo x86_64 +192: + exit +192: + on_exit +192: + echo OK +192: OK +192: + exit 0 +178: + readelf -W --segments out/test/elf/x86_64/omagic/exe +178/309 Test #192: x86_64-reloc-rodata ..................... Passed 0.02 sec test 193 Start 193: x86_64-relocatable-archive 193: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/relocatable-archive.sh" 193: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 193: Test timeout computed to be: 1500 -192: + exit -192: + on_exit -192: + echo OK -192: OK -192: + exit 0 -183: + out/test/elf/x86_64/plt-dso/exe -183: + grep -q 'Hello WORLD' -185: + grep -q PREINIT_ARRAY -185: + on_exit -185: + echo OK -185: OK -185: + exit 0 -178/309 Test #185: x86_64-preinit-array .................... Passed 0.42 sec +191: ++ HOST=x86_64 +191: ++ '[' -n '' ']' +191: ++ MACHINE=x86_64 +191: ++ '[' -n '' ']' +191: ++ CC=cc +191: ++ CXX=c++ +191: ++ GCC=gcc +191: ++ GXX=g++ +191: ++ OBJDUMP=objdump +191: ++ OBJCOPY=objcopy +191: ++ STRIP=strip +191: ++ QEMU= +191: ++ trap 'on_error $LINENO' ERR +191: ++ trap on_exit EXIT +191: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/relax-got-load.sh .sh +191: ++ testname=relax-got-load +191: ++ echo -n 'Testing relax-got-load ... ' +191: Testing relax-got-load ... ++ t=out/test/elf/x86_64/relax-got-load +191: ++ mkdir -p out/test/elf/x86_64/relax-got-load +178: + grep -qw RWE +178: + on_exit +178: + echo OK +178: OK +178: + exit 0 +189: + cat +189: + cc -shared -o out/test/elf/x86_64/push-pop-state/b.so -xc - +185: + cc -B. -o out/test/elf/x86_64/preinit-array/exe2 out/test/elf/x86_64/preinit-array/b.o +179/309 Test #178: x86_64-omagic ........................... Passed 0.53 sec test 194 Start 194: x86_64-relocatable-debug-info 194: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/relocatable-debug-info.sh" 194: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 194: Test timeout computed to be: 1500 -179/309 Test #192: x86_64-reloc-rodata ..................... Passed 0.09 sec -test 195 - Start 195: x86_64-relocatable-exception - -195: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/relocatable-exception.sh" -195: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -195: Test timeout computed to be: 1500 -183: + on_exit -183: + echo OK -183: OK -183: + exit 0 -180/309 Test #183: x86_64-plt-dso .......................... Passed 0.50 sec -test 196 - Start 196: x86_64-relocatable-merge-sections - -196: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/relocatable-merge-sections.sh" -196: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -196: Test timeout computed to be: 1500 +191: + cat +191: + cc -o out/test/elf/x86_64/relax-got-load/a.o -c -xc - -fPIC +187: + grep -Eq 'PROTECTED\b.*\bfoo\b' +187: + readelf --symbols out/test/elf/x86_64/protected-dynsym/c.so 193: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/relocatable-archive.sh 193: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 193: ++ export LC_ALL=C 193: ++ LC_ALL=C -193: ++++ uname -m -193: +++ canonical_name x86_64 -193: +++ case $1 in -193: +++ echo x86_64 -193: ++ HOST=x86_64 -193: ++ '[' -n '' ']' -193: ++ MACHINE=x86_64 -193: ++ '[' -n '' ']' -193: ++ CC=cc -193: ++ CXX=c++ -193: ++ GCC=gcc -193: ++ GXX=g++ -193: ++ OBJDUMP=objdump -193: ++ OBJCOPY=objcopy -193: ++ STRIP=strip -193: ++ QEMU= -193: ++ trap 'on_error $LINENO' ERR -193: ++ trap on_exit EXIT -193: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/relocatable-archive.sh .sh -193: ++ testname=relocatable-archive -193: ++ echo -n 'Testing relocatable-archive ... ' -193: Testing relocatable-archive ... ++ t=out/test/elf/x86_64/relocatable-archive -193: ++ mkdir -p out/test/elf/x86_64/relocatable-archive -189: + cat -189: + cc -shared -o out/test/elf/x86_64/push-pop-state/b.so -xc - +190: + cc -B. -o out/test/elf/x86_64/range-extension-thunk/exe1 out/test/elf/x86_64/range-extension-thunk/c.o out/test/elf/x86_64/range-extension-thunk/d.o -Wl,--section-start=.low=0x10000000,--section-start=.high=0x20000000 194: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/relocatable-debug-info.sh 194: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +187: + cat 194: ++ export LC_ALL=C 194: ++ LC_ALL=C +188: + cat +188: + cc -c -o out/test/elf/x86_64/protected/c.o -xc - -fno-PIE 194: ++++ uname -m +187: + cc -fPIC -c -o out/test/elf/x86_64/protected-dynsym/d.o -fno-common -xc - 194: +++ canonical_name x86_64 194: +++ case $1 in 194: +++ echo x86_64 @@ -10902,49 +10931,57 @@ 194: ++ QEMU= 194: ++ trap 'on_error $LINENO' ERR 194: ++ trap on_exit EXIT +184: + 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 +186: + grep -q 'b\.o.*a\.o.*foo$' out/test/elf/x86_64/print-dependencies/log +193: ++++ uname -m +186: + on_exit +186: + echo OK +186: OK +186: + exit 0 +193: +++ canonical_name x86_64 +193: +++ case $1 in +193: +++ echo x86_64 194: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/relocatable-debug-info.sh .sh +193: ++ HOST=x86_64 +193: ++ '[' -n '' ']' +193: ++ MACHINE=x86_64 +193: ++ '[' -n '' ']' +193: ++ CC=cc +193: ++ CXX=c++ +193: ++ GCC=gcc +193: ++ GXX=g++ +193: ++ OBJDUMP=objdump +193: ++ OBJCOPY=objcopy +193: ++ STRIP=strip +193: ++ QEMU= +193: ++ trap 'on_error $LINENO' ERR +193: ++ trap on_exit EXIT +193: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/relocatable-archive.sh .sh 194: ++ testname=relocatable-debug-info 194: ++ echo -n 'Testing relocatable-debug-info ... ' 194: Testing relocatable-debug-info ... ++ t=out/test/elf/x86_64/relocatable-debug-info 194: ++ mkdir -p out/test/elf/x86_64/relocatable-debug-info +180/309 Test #186: x86_64-print-dependencies ............... Passed 0.28 sec +test 195 + Start 195: x86_64-relocatable-exception + +195: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/relocatable-exception.sh" +195: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +195: Test timeout computed to be: 1500 +193: ++ testname=relocatable-archive +193: ++ echo -n 'Testing relocatable-archive ... ' +193: Testing relocatable-archive ... ++ t=out/test/elf/x86_64/relocatable-archive +193: ++ mkdir -p out/test/elf/x86_64/relocatable-archive +187: + 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 195: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/relocatable-exception.sh +193: + grep -q __tsan_init 195: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 195: ++ export LC_ALL=C 195: ++ LC_ALL=C -190: + cc -c -o out/test/elf/x86_64/range-extension-thunk/d.o out/test/elf/x86_64/range-extension-thunk/b.c -O0 -191: + cat -191: + cc -o out/test/elf/x86_64/relax-got-load/b.o -c -xc - -fPIC -186: + grep -q 'b\.o.*a\.o.*foo$' out/test/elf/x86_64/print-dependencies/log -194: + grep -q __tsan_init -184: + out/test/elf/x86_64/pltgot/exe -196: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/relocatable-merge-sections.sh -193: + grep -q __tsan_init -186: + on_exit -186: + echo OK -186: OK -186: + exit 0 -181/309 Test #186: x86_64-print-dependencies ............... Passed 0.39 sec -test 197 - Start 197: x86_64-relocatable-no-ehframe - -197: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/relocatable-no-ehframe.sh" -197: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -197: Test timeout computed to be: 1500 -194: + nm mold -196: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -196: ++ export LC_ALL=C -196: ++ LC_ALL=C -184: + grep -q 'Hello world' 195: ++++ uname -m -184: + on_exit -184: + echo OK -184: OK -184: + exit 0 195: +++ canonical_name x86_64 195: +++ case $1 in 195: +++ echo x86_64 -193: + nm mold -187: + grep -Eq 'PROTECTED\b.*\bfoo\b' 195: ++ HOST=x86_64 195: ++ '[' -n '' ']' 195: ++ MACHINE=x86_64 @@ -10957,21 +10994,71 @@ 195: ++ OBJCOPY=objcopy 195: ++ STRIP=strip 195: ++ QEMU= -182/309 Test #184: x86_64-pltgot ........................... Passed 0.52 sec -test 198 - Start 198: x86_64-relocatable - -198: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/relocatable.sh" -198: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -198: Test timeout computed to be: 1500 195: ++ trap 'on_error $LINENO' ERR 195: ++ trap on_exit EXIT 195: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/relocatable-exception.sh .sh +193: + nm mold +195: ++ testname=relocatable-exception +195: ++ echo -n 'Testing relocatable-exception ... ' +195: Testing relocatable-exception ... ++ t=out/test/elf/x86_64/relocatable-exception +195: ++ mkdir -p out/test/elf/x86_64/relocatable-exception +194: + nm mold +194: + grep -q __tsan_init +188: + 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 +189: + cat +195: + '[' x86_64 = sh4 ']' +195: + grep -q __tsan_init +195: + nm mold +189: + cc -c -o out/test/elf/x86_64/push-pop-state/c.o -xc - +183: + grep -q 'Hello WORLD' +191: + cat +191: + cc -o out/test/elf/x86_64/relax-got-load/b.o -c -xc - -fPIC +183: + out/test/elf/x86_64/plt-dso/exe +183: + on_exit +183: + echo OK +183: OK +183: + exit 0 +181/309 Test #183: x86_64-plt-dso .......................... Passed 0.50 sec +test 196 + Start 196: x86_64-relocatable-merge-sections + +196: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/relocatable-merge-sections.sh" +196: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +196: Test timeout computed to be: 1500 +196: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/relocatable-merge-sections.sh +196: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +196: ++ export LC_ALL=C +196: ++ LC_ALL=C +159: + out/test/elf/x86_64/lto-gcc/exe3 +184: + out/test/elf/x86_64/pltgot/exe +184: + grep -q 'Hello world' +184: + on_exit +184: + echo OK +184: OK +184: + exit 0 +182/309 Test #184: x86_64-pltgot ........................... Passed 0.44 sec +test 197 + Start 197: x86_64-relocatable-no-ehframe + +197: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/relocatable-no-ehframe.sh" +197: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +197: Test timeout computed to be: 1500 +159: + grep -q 'Hello world' 196: ++++ uname -m 196: +++ canonical_name x86_64 196: +++ case $1 in 196: +++ echo x86_64 -197: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/relocatable-no-ehframe.sh +185: + grep -q PREINIT_ARRAY +185: + readelf -W --dynamic out/test/elf/x86_64/preinit-array/exe2 +185: + on_exit +185: + echo OK +185: OK +185: + exit 0 +159: + on_exit +159: + echo OK +159: OK +159: + exit 0 +187: + readelf --symbols out/test/elf/x86_64/protected-dynsym/e.so 196: ++ HOST=x86_64 196: ++ '[' -n '' ']' 196: ++ MACHINE=x86_64 @@ -10986,40 +11073,37 @@ 196: ++ QEMU= 196: ++ trap 'on_error $LINENO' ERR 196: ++ trap on_exit EXIT +196: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/relocatable-merge-sections.sh .sh +197: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/relocatable-no-ehframe.sh 197: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 197: ++ export LC_ALL=C 197: ++ LC_ALL=C -187: + readelf --symbols out/test/elf/x86_64/protected-dynsym/c.so -198: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/relocatable.sh -195: ++ testname=relocatable-exception -195: ++ echo -n 'Testing relocatable-exception ... ' -195: Testing relocatable-exception ... ++ t=out/test/elf/x86_64/relocatable-exception -195: ++ mkdir -p out/test/elf/x86_64/relocatable-exception -196: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/relocatable-merge-sections.sh .sh -188: + cc -c -o out/test/elf/x86_64/protected/c.o -xc - -fno-PIE -188: + cat -198: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -198: ++ export LC_ALL=C -198: ++ LC_ALL=C +189: + 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 +190: + out/test/elf/x86_64/range-extension-thunk/exe1 +190: + grep -q 'main fn1 fn3 fn2 fn4' +183/309 Test #159: x86_64-lto-gcc .......................... Passed 1.38 sec +test 198 + Start 198: x86_64-relocatable + +198: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/relocatable.sh" +198: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +198: Test timeout computed to be: 1500 +184/309 Test #185: x86_64-preinit-array .................... Passed 0.45 sec +test 199 + Start 199: x86_64-relro + +199: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/relro.sh" +199: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +199: Test timeout computed to be: 1500 196: ++ testname=relocatable-merge-sections 196: ++ echo -n 'Testing relocatable-merge-sections ... ' 196: Testing relocatable-merge-sections ... ++ t=out/test/elf/x86_64/relocatable-merge-sections 196: ++ mkdir -p out/test/elf/x86_64/relocatable-merge-sections -195: + '[' x86_64 = sh4 ']' -195: + nm mold -187: + cc -fPIC -c -o out/test/elf/x86_64/protected-dynsym/d.o -fno-common -xc - -187: + cat -159: + out/test/elf/x86_64/lto-gcc/exe3 +196: + nm mold 197: ++++ uname -m 197: +++ canonical_name x86_64 197: +++ case $1 in 197: +++ echo x86_64 -195: + grep -q __tsan_init -159: + grep -q 'Hello world' -198: ++++ uname -m -198: +++ canonical_name x86_64 -198: +++ case $1 in -198: +++ echo x86_64 197: ++ HOST=x86_64 197: ++ '[' -n '' ']' 197: ++ MACHINE=x86_64 @@ -11034,6 +11118,45 @@ 197: ++ QEMU= 197: ++ trap 'on_error $LINENO' ERR 197: ++ trap on_exit EXIT +197: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/relocatable-no-ehframe.sh .sh +197: ++ testname=relocatable-no-ehframe +197: ++ echo -n 'Testing relocatable-no-ehframe ... ' +197: Testing relocatable-no-ehframe ... ++ t=out/test/elf/x86_64/relocatable-no-ehframe +197: ++ mkdir -p out/test/elf/x86_64/relocatable-no-ehframe +197: + '[' x86_64 = alpha ']' +197: + nm mold +197: + grep -q __tsan_init +190: + cc -c -o out/test/elf/x86_64/range-extension-thunk/e.o out/test/elf/x86_64/range-extension-thunk/a.c -O2 +191: + cc -B. -o out/test/elf/x86_64/relax-got-load/exe out/test/elf/x86_64/relax-got-load/a.o out/test/elf/x86_64/relax-got-load/b.o +187: + grep -Eq 'PROTECTED\b.*\bfoo\b' +187: + on_exit +187: + echo OK +187: OK +187: + exit 0 +185/309 Test #187: x86_64-protected-dynsym ................. Passed 0.41 sec +test 200 + Start 200: x86_64-repro + +200: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/repro.sh" +200: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +200: Test timeout computed to be: 1500 +196: + grep -q __tsan_init +198: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/relocatable.sh +198: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +198: ++ export LC_ALL=C +198: ++ LC_ALL=C +199: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/relro.sh +199: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +199: ++ export LC_ALL=C +199: ++ LC_ALL=C +200: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/repro.sh +200: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +200: ++ export LC_ALL=C +200: ++ LC_ALL=C +198: ++++ uname -m +198: +++ canonical_name x86_64 +198: +++ case $1 in +198: +++ echo x86_64 198: ++ HOST=x86_64 198: ++ '[' -n '' ']' 198: ++ MACHINE=x86_64 @@ -11048,45 +11171,22 @@ 198: ++ QEMU= 198: ++ trap 'on_error $LINENO' ERR 198: ++ trap on_exit EXIT -159: + on_exit -159: + echo OK -159: OK -159: + exit 0 -196: + nm mold -196: + grep -q __tsan_init -183/309 Test #159: x86_64-lto-gcc .......................... Passed 1.49 sec -test 199 - Start 199: x86_64-relro - -199: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/relro.sh" -199: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -199: Test timeout computed to be: 1500 -197: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/relocatable-no-ehframe.sh .sh -197: ++ testname=relocatable-no-ehframe -197: ++ echo -n 'Testing relocatable-no-ehframe ... ' -197: Testing relocatable-no-ehframe ... ++ t=out/test/elf/x86_64/relocatable-no-ehframe -197: ++ mkdir -p out/test/elf/x86_64/relocatable-no-ehframe -197: + '[' x86_64 = alpha ']' -197: + nm mold -197: + grep -q __tsan_init 198: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/relocatable.sh .sh 198: ++ testname=relocatable 198: ++ echo -n 'Testing relocatable ... ' 198: Testing relocatable ... ++ t=out/test/elf/x86_64/relocatable 198: ++ mkdir -p out/test/elf/x86_64/relocatable -191: + cc -B. -o out/test/elf/x86_64/relax-got-load/exe out/test/elf/x86_64/relax-got-load/a.o out/test/elf/x86_64/relax-got-load/b.o -190: + cc -B. -o out/test/elf/x86_64/range-extension-thunk/exe1 out/test/elf/x86_64/range-extension-thunk/c.o out/test/elf/x86_64/range-extension-thunk/d.o -Wl,--section-start=.low=0x10000000,--section-start=.high=0x20000000 -199: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/relro.sh -199: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -199: ++ export LC_ALL=C -199: ++ LC_ALL=C -198: + nm mold -198: + grep -q __tsan_init 199: ++++ uname -m +188: + grep -q '3 4 0' 199: +++ canonical_name x86_64 199: +++ case $1 in 199: +++ echo x86_64 -187: + 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 +200: ++++ uname -m +200: +++ canonical_name x86_64 +200: +++ case $1 in +200: +++ echo x86_64 +198: + nm mold +198: + grep -q __tsan_init 199: ++ HOST=x86_64 199: ++ '[' -n '' ']' 199: ++ MACHINE=x86_64 @@ -11101,71 +11201,16 @@ 199: ++ QEMU= 199: ++ trap 'on_error $LINENO' ERR 199: ++ trap on_exit EXIT -189: + cc -c -o out/test/elf/x86_64/push-pop-state/c.o -xc - -189: + cat 199: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/relro.sh .sh +188: + out/test/elf/x86_64/protected/exe +188: + on_exit +188: + echo OK 199: ++ testname=relro 199: ++ echo -n 'Testing relro ... ' 199: Testing relro ... ++ t=out/test/elf/x86_64/relro 199: ++ mkdir -p out/test/elf/x86_64/relro -199: + cc -c -xc -o out/test/elf/x86_64/relro/a.o - -199: + cat -188: + 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 -167: + grep -q 'a.sh execl' -167: ++ pwd -167: + LD_PRELOAD=/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so -167: + MOLD_PATH=out/test/elf/x86_64/mold-wrapper/a.sh -167: + out/test/elf/x86_64/mold-wrapper/exe execl -167: + grep -q 'a.sh execlp' -167: ++ pwd -167: + LD_PRELOAD=/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so -167: + MOLD_PATH=out/test/elf/x86_64/mold-wrapper/a.sh -167: + out/test/elf/x86_64/mold-wrapper/exe execlp -191: + grep -q 'Hello world' -191: + out/test/elf/x86_64/relax-got-load/exe -191: + on_exit -191: + echo OK -191: OK -191: + exit 0 -184/309 Test #191: x86_64-relax-got-load ................... Passed 0.42 sec -test 200 - Start 200: x86_64-repro - -200: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/repro.sh" -200: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -200: Test timeout computed to be: 1500 -187: + readelf --symbols out/test/elf/x86_64/protected-dynsym/e.so -189: + 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 -187: + grep -Eq 'PROTECTED\b.*\bfoo\b' -167: + grep -q 'a.sh execle' -187: + on_exit -187: + echo OK -187: OK -187: + exit 0 -167: ++ pwd -167: + LD_PRELOAD=/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so -167: + MOLD_PATH=out/test/elf/x86_64/mold-wrapper/a.sh -167: + out/test/elf/x86_64/mold-wrapper/exe execle -185/309 Test #187: x86_64-protected-dynsym ................. Passed 0.56 sec -test 201 - Start 201: x86_64-require-defined - -201: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/require-defined.sh" -201: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -201: Test timeout computed to be: 1500 -200: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/repro.sh -200: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -200: ++ export LC_ALL=C -200: ++ LC_ALL=C -201: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/require-defined.sh -201: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -201: ++ export LC_ALL=C -201: ++ LC_ALL=C -190: + grep -q 'main fn1 fn3 fn2 fn4' -200: ++++ uname -m -200: +++ canonical_name x86_64 -200: +++ case $1 in -200: +++ echo x86_64 +188: OK +188: + exit 0 200: ++ HOST=x86_64 200: ++ '[' -n '' ']' 200: ++ MACHINE=x86_64 @@ -11180,13 +11225,40 @@ 200: ++ QEMU= 200: ++ trap 'on_error $LINENO' ERR 200: ++ trap on_exit EXIT -167: ++ pwd -167: + grep -q 'a.sh execv' -167: + LD_PRELOAD=/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so -167: + MOLD_PATH=out/test/elf/x86_64/mold-wrapper/a.sh -167: + out/test/elf/x86_64/mold-wrapper/exe execv -190: + out/test/elf/x86_64/range-extension-thunk/exe1 -190: + cc -c -o out/test/elf/x86_64/range-extension-thunk/e.o out/test/elf/x86_64/range-extension-thunk/a.c -O2 +186/309 Test #188: x86_64-protected ........................ Passed 0.44 sec +test 201 + Start 201: x86_64-require-defined + +201: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/require-defined.sh" +201: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +201: Test timeout computed to be: 1500 +200: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/repro.sh .sh +200: ++ testname=repro +200: ++ echo -n 'Testing repro ... ' +200: Testing repro ... ++ t=out/test/elf/x86_64/repro +200: ++ mkdir -p out/test/elf/x86_64/repro +200: + cat +200: + cc -c -o out/test/elf/x86_64/repro/a.o -xc - +191: + out/test/elf/x86_64/relax-got-load/exe +191: + grep -q 'Hello world' +191: + on_exit +191: + echo OK +191: OK +191: + exit 0 +199: + cc -c -xc -o out/test/elf/x86_64/relro/a.o - +199: + cat +201: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/require-defined.sh +187/309 Test #191: x86_64-relax-got-load ................... Passed 0.34 sec +test 202 + Start 202: x86_64-response-file + +202: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/response-file.sh" +202: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +202: Test timeout computed to be: 1500 +201: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +201: ++ export LC_ALL=C +201: ++ LC_ALL=C +190: + cc -c -o out/test/elf/x86_64/range-extension-thunk/f.o out/test/elf/x86_64/range-extension-thunk/b.c -O2 201: ++++ uname -m 201: +++ canonical_name x86_64 201: +++ case $1 in @@ -11205,83 +11277,12 @@ 201: ++ QEMU= 201: ++ trap 'on_error $LINENO' ERR 201: ++ trap on_exit EXIT -199: + cc -B. -o out/test/elf/x86_64/relro/exe1 out/test/elf/x86_64/relro/a.o -Wl,-z,relro,-z,lazy -200: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/repro.sh .sh -201: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/require-defined.sh .sh -201: ++ testname=require-defined -201: ++ echo -n 'Testing require-defined ... ' -201: Testing require-defined ... ++ t=out/test/elf/x86_64/require-defined -201: ++ mkdir -p out/test/elf/x86_64/require-defined -167: + grep -q 'a.sh execvp' -200: ++ testname=repro -200: ++ echo -n 'Testing repro ... ' -200: Testing repro ... ++ t=out/test/elf/x86_64/repro -200: ++ mkdir -p out/test/elf/x86_64/repro -167: ++ pwd -167: + LD_PRELOAD=/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so -167: + MOLD_PATH=out/test/elf/x86_64/mold-wrapper/a.sh -167: + out/test/elf/x86_64/mold-wrapper/exe execvp -200: + cat -200: + cc -c -o out/test/elf/x86_64/repro/a.o -xc - -201: + cat -167: + grep -q 'a.sh execvpe bar' -167: ++ pwd -201: + cc -o out/test/elf/x86_64/require-defined/a.o -c -xc - -167: + LD_PRELOAD=/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so -167: + MOLD_PATH=out/test/elf/x86_64/mold-wrapper/a.sh -167: + out/test/elf/x86_64/mold-wrapper/exe execvpe -189: + readelf --dynamic out/test/elf/x86_64/push-pop-state/exe -167: + on_exit -167: + echo OK -167: OK -167: + exit 0 -186/309 Test #167: x86_64-mold-wrapper ..................... Passed 1.56 sec -test 202 - Start 202: x86_64-response-file - -202: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/response-file.sh" -202: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -202: Test timeout computed to be: 1500 -189: + grep -Fq a.so out/test/elf/x86_64/push-pop-state/log -189: + grep -Fq b.so out/test/elf/x86_64/push-pop-state/log -188: + out/test/elf/x86_64/protected/exe 202: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/response-file.sh -194: + cc -c -o out/test/elf/x86_64/relocatable-debug-info/a.o -xc - -g -194: + cat -189: + on_exit -189: + echo OK -189: OK -189: + exit 0 202: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 202: ++ export LC_ALL=C 202: ++ LC_ALL=C -187/309 Test #189: x86_64-push-pop-state ................... Passed 0.60 sec -test 203 - Start 203: x86_64-retain-symbols-file - -203: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/retain-symbols-file.sh" -203: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -203: Test timeout computed to be: 1500 -188: + grep -q '3 4 0' -188: + on_exit -188: + echo OK -188: OK -188: + exit 0 -188/309 Test #188: x86_64-protected ........................ Passed 0.63 sec -test 204 - Start 204: x86_64-reverse-sections - -204: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/reverse-sections.sh" -204: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -204: Test timeout computed to be: 1500 -201: + rm -f out/test/elf/x86_64/require-defined/b.a -190: + cc -c -o out/test/elf/x86_64/range-extension-thunk/f.o out/test/elf/x86_64/range-extension-thunk/b.c -O2 202: ++++ uname -m -200: + rm -rf out/test/elf/x86_64/repro/exe.repro out/test/elf/x86_64/repro/exe.repro.tar -203: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/retain-symbols-file.sh -201: + ar rcs out/test/elf/x86_64/require-defined/b.a out/test/elf/x86_64/require-defined/a.o -204: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/reverse-sections.sh -200: + cc -B. -o out/test/elf/x86_64/repro/exe out/test/elf/x86_64/repro/a.o +201: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/require-defined.sh .sh 202: +++ canonical_name x86_64 202: +++ case $1 in 202: +++ echo x86_64 @@ -11299,48 +11300,51 @@ 202: ++ QEMU= 202: ++ trap 'on_error $LINENO' ERR 202: ++ trap on_exit EXIT -203: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -203: ++ export LC_ALL=C -203: ++ LC_ALL=C -199: + grep -q 'Hello world' -204: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -204: ++ export LC_ALL=C -204: ++ LC_ALL=C -201: + cc -o out/test/elf/x86_64/require-defined/c.o -c -xc - +201: ++ testname=require-defined +201: ++ echo -n 'Testing require-defined ... ' +201: Testing require-defined ... ++ t=out/test/elf/x86_64/require-defined +201: ++ mkdir -p out/test/elf/x86_64/require-defined 202: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/response-file.sh .sh -199: + out/test/elf/x86_64/relro/exe1 -204: ++++ uname -m -201: + cat 202: ++ testname=response-file 202: ++ echo -n 'Testing response-file ... ' 202: Testing response-file ... ++ t=out/test/elf/x86_64/response-file 202: ++ mkdir -p out/test/elf/x86_64/response-file -199: + readelf --segments -W out/test/elf/x86_64/relro/exe1 -204: +++ canonical_name x86_64 -204: +++ case $1 in -204: +++ echo x86_64 -204: ++ HOST=x86_64 -204: ++ '[' -n '' ']' -204: ++ MACHINE=x86_64 -204: ++ '[' -n '' ']' -204: ++ CC=cc -204: ++ CXX=c++ -204: ++ GCC=gcc -204: ++ GXX=g++ -204: ++ OBJDUMP=objdump -204: ++ OBJCOPY=objcopy -204: ++ STRIP=strip -204: ++ QEMU= -204: ++ trap 'on_error $LINENO' ERR -204: ++ trap on_exit EXIT +200: + rm -rf out/test/elf/x86_64/repro/exe.repro out/test/elf/x86_64/repro/exe.repro.tar +200: + cc -B. -o out/test/elf/x86_64/repro/exe out/test/elf/x86_64/repro/a.o +201: + cat +201: + cc -o out/test/elf/x86_64/require-defined/a.o -c -xc - +202: + cc -c -o out/test/elf/x86_64/response-file/a.o -xc - +199: + cc -B. -o out/test/elf/x86_64/relro/exe1 out/test/elf/x86_64/relro/a.o -Wl,-z,relro,-z,lazy +202: + cat +190: + cc -B. -o out/test/elf/x86_64/range-extension-thunk/exe2 out/test/elf/x86_64/range-extension-thunk/e.o out/test/elf/x86_64/range-extension-thunk/f.o -Wl,--section-start=.low=0x10000000,--section-start=.high=0x20000000 +189: + readelf --dynamic out/test/elf/x86_64/push-pop-state/exe +189: + grep -Fq a.so out/test/elf/x86_64/push-pop-state/log +189: + grep -Fq b.so out/test/elf/x86_64/push-pop-state/log +189: + on_exit +189: + echo OK +189: OK +189: + exit 0 +188/309 Test #189: x86_64-push-pop-state ................... Passed 0.57 sec +test 203 + Start 203: x86_64-retain-symbols-file + +203: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/retain-symbols-file.sh" +203: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +203: Test timeout computed to be: 1500 +201: + rm -f out/test/elf/x86_64/require-defined/b.a +201: + ar rcs out/test/elf/x86_64/require-defined/b.a out/test/elf/x86_64/require-defined/a.o 194: + cat -194: + cc -c -o out/test/elf/x86_64/relocatable-debug-info/b.o -xc - -g -204: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/reverse-sections.sh .sh +194: + cc -c -o out/test/elf/x86_64/relocatable-debug-info/a.o -xc - -g +203: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/retain-symbols-file.sh +203: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +203: ++ export LC_ALL=C +203: ++ LC_ALL=C +202: + cat +202: + cc -c -o out/test/elf/x86_64/response-file/b.o -xc - 203: ++++ uname -m +201: + cc -o out/test/elf/x86_64/require-defined/c.o -c -xc - 203: +++ canonical_name x86_64 203: +++ case $1 in -202: + cat -202: + cc -c -o out/test/elf/x86_64/response-file/a.o -xc - 203: +++ echo x86_64 203: ++ HOST=x86_64 203: ++ '[' -n '' ']' @@ -11356,58 +11360,125 @@ 203: ++ QEMU= 203: ++ trap 'on_error $LINENO' ERR 203: ++ trap on_exit EXIT -204: ++ testname=reverse-sections -204: ++ echo -n 'Testing reverse-sections ... ' -204: Testing reverse-sections ... ++ t=out/test/elf/x86_64/reverse-sections -204: ++ mkdir -p out/test/elf/x86_64/reverse-sections -199: + grep -q 'GNU_RELRO ' out/test/elf/x86_64/relro/log1 +201: + cat 203: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/retain-symbols-file.sh .sh 203: ++ testname=retain-symbols-file 203: ++ echo -n 'Testing retain-symbols-file ... ' 203: Testing retain-symbols-file ... ++ t=out/test/elf/x86_64/retain-symbols-file 203: ++ mkdir -p out/test/elf/x86_64/retain-symbols-file -204: + cat -199: + cc -B. -o out/test/elf/x86_64/relro/exe2 out/test/elf/x86_64/relro/a.o -Wl,-z,relro,-z,now -204: + cc -o out/test/elf/x86_64/reverse-sections/a.o -c -xc++ - +196: + cat +195: + cat +196: + cc -c -o out/test/elf/x86_64/relocatable-merge-sections/a.o -xc -ffunction-sections - 203: + cat 203: + cc -c -o out/test/elf/x86_64/retain-symbols-file/a.o -xc - -201: + 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 -190: + cc -B. -o out/test/elf/x86_64/range-extension-thunk/exe2 out/test/elf/x86_64/range-extension-thunk/e.o out/test/elf/x86_64/range-extension-thunk/f.o -Wl,--section-start=.low=0x10000000,--section-start=.high=0x20000000 -202: + cat -202: + cc -c -o out/test/elf/x86_64/response-file/b.o -xc - -194: + ./mold --relocatable -o out/test/elf/x86_64/relocatable-debug-info/c.o out/test/elf/x86_64/relocatable-debug-info/a.o out/test/elf/x86_64/relocatable-debug-info/b.o -203: + cat -203: + 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 -194: + cc -B. -o out/test/elf/x86_64/relocatable-debug-info/exe out/test/elf/x86_64/relocatable-debug-info/c.o -202: + cat 202: + cc -c -o out/test/elf/x86_64/response-file/c.o -xc - +195: + c++ -c -o out/test/elf/x86_64/relocatable-exception/a.o -xc++ - +202: + cat +199: + out/test/elf/x86_64/relro/exe1 +199: + grep -q 'Hello world' +199: + readelf --segments -W out/test/elf/x86_64/relro/exe1 +194: + cc -c -o out/test/elf/x86_64/relocatable-debug-info/b.o -xc - -g +194: + cat 200: + '[' -f out/test/elf/x86_64/repro/exe.repro.tar ']' 200: + cc -B. -o out/test/elf/x86_64/repro/exe out/test/elf/x86_64/repro/a.o -Wl,-repro -204: + cat -204: + cc -o out/test/elf/x86_64/reverse-sections/b.o -c -xc++ - -199: + out/test/elf/x86_64/relro/exe2 -199: + grep -q 'Hello world' -199: + readelf --segments -W out/test/elf/x86_64/relro/exe2 -199: + grep -q 'GNU_RELRO ' out/test/elf/x86_64/relro/log2 -190: + grep -q 'main fn1 fn3 fn2 fn4' +199: + grep -q 'GNU_RELRO ' out/test/elf/x86_64/relro/log1 +201: + 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 +199: + cc -B. -o out/test/elf/x86_64/relro/exe2 out/test/elf/x86_64/relro/a.o -Wl,-z,relro,-z,now +193: + cc -c -o out/test/elf/x86_64/relocatable-archive/a.o -xc - +193: + cat 202: + echo ''\''out/test/elf/x86_64/response-file/b.o'\'' '\''out/test/elf/x86_64/response-file/c.o'\''' 202: + 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 -199: + cc -B. -o out/test/elf/x86_64/relro/exe3 out/test/elf/x86_64/relro/a.o -Wl,-z,norelro +195: + cat +203: + cat +196: + ./mold --relocatable -o out/test/elf/x86_64/relocatable-merge-sections/b.o out/test/elf/x86_64/relocatable-merge-sections/a.o +195: + c++ -c -o out/test/elf/x86_64/relocatable-exception/b.o -xc++ - +194: + ./mold --relocatable -o out/test/elf/x86_64/relocatable-debug-info/c.o out/test/elf/x86_64/relocatable-debug-info/a.o out/test/elf/x86_64/relocatable-debug-info/b.o +203: + 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 +198: + cc -c -o out/test/elf/x86_64/relocatable/a.o -xc - +198: + cat 190: + out/test/elf/x86_64/range-extension-thunk/exe2 +190: + grep -q 'main fn1 fn3 fn2 fn4' +193: + cat +194: + cc -B. -o out/test/elf/x86_64/relocatable-debug-info/exe out/test/elf/x86_64/relocatable-debug-info/c.o 190: + on_exit 190: + echo OK 190: OK 190: + exit 0 -189/309 Test #190: x86_64-range-extension-thunk ............ Passed 0.85 sec +189/309 Test #190: x86_64-range-extension-thunk ............ Passed 0.76 sec +test 204 + Start 204: x86_64-reverse-sections + +204: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/reverse-sections.sh" +204: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +204: Test timeout computed to be: 1500 +193: + cc -c -o out/test/elf/x86_64/relocatable-archive/b.o -xc - +204: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/reverse-sections.sh +196: + readelf -WS out/test/elf/x86_64/relocatable-merge-sections/b.o +204: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +204: ++ export LC_ALL=C +204: ++ LC_ALL=C +204: ++++ uname -m +204: +++ canonical_name x86_64 +204: +++ case $1 in +204: +++ echo x86_64 +204: ++ HOST=x86_64 +204: ++ '[' -n '' ']' +204: ++ MACHINE=x86_64 +204: ++ '[' -n '' ']' +204: ++ CC=cc +204: ++ CXX=c++ +204: ++ GCC=gcc +204: ++ GXX=g++ +204: ++ OBJDUMP=objdump +204: ++ OBJCOPY=objcopy +204: ++ STRIP=strip +204: ++ QEMU= +204: ++ trap 'on_error $LINENO' ERR +204: ++ trap on_exit EXIT +204: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/reverse-sections.sh .sh +204: ++ testname=reverse-sections +204: ++ echo -n 'Testing reverse-sections ... ' +204: Testing reverse-sections ... ++ t=out/test/elf/x86_64/reverse-sections +204: ++ mkdir -p out/test/elf/x86_64/reverse-sections +200: + tar -C out/test/elf/x86_64/repro -xf out/test/elf/x86_64/repro/exe.repro.tar +204: + cat +196: + grep -Fq .text.foo out/test/elf/x86_64/relocatable-merge-sections/log1 +196: + grep -Fq .text.bar out/test/elf/x86_64/relocatable-merge-sections/log1 +204: + cc -o out/test/elf/x86_64/reverse-sections/a.o -c -xc++ - +198: + cat +198: + cc -c -o out/test/elf/x86_64/relocatable/b.o -xc - +203: + readelf -W --symbols out/test/elf/x86_64/retain-symbols-file/exe +196: + ./mold --relocatable -o out/test/elf/x86_64/relocatable-merge-sections/c.o out/test/elf/x86_64/relocatable-merge-sections/a.o --relocatable-merge-sections +203: + grep -qw foo out/test/elf/x86_64/retain-symbols-file/log +197: + cc -c -o out/test/elf/x86_64/relocatable-no-ehframe/a.o -xc -fno-unwind-tables -fno-asynchronous-unwind-tables - +203: + grep -qw bar out/test/elf/x86_64/retain-symbols-file/log +200: + grep -q /a.o out/test/elf/x86_64/repro/exe.repro/response.txt +200: + grep -q '[ms]old' out/test/elf/x86_64/repro/exe.repro/version.txt +203: + grep -qw main out/test/elf/x86_64/retain-symbols-file/log +197: + cat +200: + rm -rf out/test/elf/x86_64/repro/exe.repro out/test/elf/x86_64/repro/exe.repro.tar +201: + grep -q foobar +201: + readelf --symbols out/test/elf/x86_64/require-defined/exe +200: + MOLD_REPRO=1 +200: + cc -B. -o out/test/elf/x86_64/repro/exe out/test/elf/x86_64/repro/a.o +193: + cc -c -o out/test/elf/x86_64/relocatable-archive/c.o -xc - +203: + grep -qw baz out/test/elf/x86_64/retain-symbols-file/log +193: + cat +203: + on_exit +203: + echo OK +203: OK +203: + exit 0 +201: + 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 +190/309 Test #203: x86_64-retain-symbols-file .............. Passed 0.28 sec test 205 Start 205: x86_64-rodata-name 205: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/rodata-name.sh" 205: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 205: Test timeout computed to be: 1500 -203: + readelf -W --symbols out/test/elf/x86_64/retain-symbols-file/exe +198: + ./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 +196: + readelf -WS out/test/elf/x86_64/relocatable-merge-sections/c.o 205: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/rodata-name.sh -203: + grep -qw foo out/test/elf/x86_64/retain-symbols-file/log 205: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 205: ++ export LC_ALL=C 205: ++ LC_ALL=C @@ -11415,9 +11486,6 @@ 205: +++ canonical_name x86_64 205: +++ case $1 in 205: +++ echo x86_64 -201: + readelf --symbols out/test/elf/x86_64/require-defined/exe -201: + grep -q foobar -203: + grep -qw bar out/test/elf/x86_64/retain-symbols-file/log 205: ++ HOST=x86_64 205: ++ '[' -n '' ']' 205: ++ MACHINE=x86_64 @@ -11432,75 +11500,74 @@ 205: ++ QEMU= 205: ++ trap 'on_error $LINENO' ERR 205: ++ trap on_exit EXIT -201: + 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 -203: + grep -qw main out/test/elf/x86_64/retain-symbols-file/log -194: + out/test/elf/x86_64/relocatable-debug-info/exe -203: + grep -qw baz out/test/elf/x86_64/retain-symbols-file/log +196: + grep -Fq .text.foo out/test/elf/x86_64/relocatable-merge-sections/log2 +197: + readelf -WS out/test/elf/x86_64/relocatable-no-ehframe/a.o +196: + grep -Fq .text.bar out/test/elf/x86_64/relocatable-merge-sections/log2 +196: + on_exit +196: + echo OK +196: OK +196: + exit 0 205: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/rodata-name.sh .sh -194: Hello world -194: + on_exit -194: + echo OK -194: OK -194: + exit 0 -204: + cat -203: + on_exit -203: + echo OK -203: OK -203: + exit 0 205: ++ testname=rodata-name 205: ++ echo -n 'Testing rodata-name ... ' -190/309 Test #194: x86_64-relocatable-debug-info ........... Passed 0.74 sec +205: Testing rodata-name ... ++ t=out/test/elf/x86_64/rodata-name +205: ++ mkdir -p out/test/elf/x86_64/rodata-name +191/309 Test #196: x86_64-relocatable-merge-sections ....... Passed 0.59 sec test 206 Start 206: x86_64-rosegment 206: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/rosegment.sh" 206: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 206: Test timeout computed to be: 1500 -191/309 Test #203: x86_64-retain-symbols-file .............. Passed 0.33 sec +202: + on_exit +202: + echo OK +202: OK +202: + exit 0 +205: + '[' x86_64 = arm ']' +205: + cc -c -o out/test/elf/x86_64/rodata-name/a.o -x assembler - +205: + cat +194: + out/test/elf/x86_64/relocatable-debug-info/exe +194: Hello world +194: + on_exit +194: + echo OK +194: OK +194: + exit 0 +197: + grep -Fq .eh_frame out/test/elf/x86_64/relocatable-no-ehframe/log1 +197: + ./mold --relocatable -o out/test/elf/x86_64/relocatable-no-ehframe/b.o out/test/elf/x86_64/relocatable-no-ehframe/a.o +204: + cat +204: + cc -o out/test/elf/x86_64/reverse-sections/b.o -c -xc++ - +193: + cat +192/309 Test #194: x86_64-relocatable-debug-info ........... Passed 0.71 sec test 207 Start 207: x86_64-rpath 207: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/rpath.sh" 207: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 207: Test timeout computed to be: 1500 -205: Testing rodata-name ... ++ t=out/test/elf/x86_64/rodata-name -205: ++ mkdir -p out/test/elf/x86_64/rodata-name -205: + '[' x86_64 = arm ']' -205: + cc -c -o out/test/elf/x86_64/rodata-name/a.o -x assembler - -205: + cat -204: + cc -o out/test/elf/x86_64/reverse-sections/c.o -c -xc++ - -198: + cc -c -o out/test/elf/x86_64/relocatable/a.o -xc - -198: + cat -200: + tar -C out/test/elf/x86_64/repro -xf out/test/elf/x86_64/repro/exe.repro.tar -202: + on_exit -202: + echo OK -202: OK -202: + exit 0 -206: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/rosegment.sh -206: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -206: ++ export LC_ALL=C -206: ++ LC_ALL=C -192/309 Test #202: x86_64-response-file .................... Passed 0.38 sec +193/309 Test #202: x86_64-response-file .................... Passed 0.45 sec test 208 Start 208: x86_64-run-clang 208: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/run-clang.sh" 208: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 208: Test timeout computed to be: 1500 -207: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/rpath.sh -207: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -207: ++ export LC_ALL=C -207: ++ LC_ALL=C -193: + cat +205: + cc -c -o out/test/elf/x86_64/rodata-name/b.o -xc - +205: + cat +193: + cc -c -o out/test/elf/x86_64/relocatable-archive/d.o -xc - +206: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/rosegment.sh +206: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +206: ++ export LC_ALL=C +206: ++ LC_ALL=C 206: ++++ uname -m -200: + grep -q /a.o out/test/elf/x86_64/repro/exe.repro/response.txt -208: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/run-clang.sh -208: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -208: ++ export LC_ALL=C -208: ++ LC_ALL=C 206: +++ canonical_name x86_64 206: +++ case $1 in 206: +++ echo x86_64 +199: + grep -q 'Hello world' +199: + out/test/elf/x86_64/relro/exe2 +199: + readelf --segments -W out/test/elf/x86_64/relro/exe2 +198: + cc -B. -o out/test/elf/x86_64/relocatable/exe out/test/elf/x86_64/relocatable/c.o +207: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/rpath.sh +208: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/run-clang.sh 206: ++ HOST=x86_64 206: ++ '[' -n '' ']' 206: ++ MACHINE=x86_64 @@ -11515,19 +11582,18 @@ 206: ++ QEMU= 206: ++ trap 'on_error $LINENO' ERR 206: ++ trap on_exit EXIT -205: + cat -205: + cc -c -o out/test/elf/x86_64/rodata-name/b.o -xc - -193: + cc -c -o out/test/elf/x86_64/relocatable-archive/a.o -xc - +206: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/rosegment.sh .sh +206: ++ testname=rosegment +206: ++ echo -n 'Testing rosegment ... ' +206: Testing rosegment ... ++ t=out/test/elf/x86_64/rosegment +206: ++ mkdir -p out/test/elf/x86_64/rosegment +207: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +207: ++ export LC_ALL=C +207: ++ LC_ALL=C 207: ++++ uname -m -208: ++++ uname -m 207: +++ canonical_name x86_64 207: +++ case $1 in 207: +++ echo x86_64 -200: + grep -q '[ms]old' out/test/elf/x86_64/repro/exe.repro/version.txt -206: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/rosegment.sh .sh -208: +++ canonical_name x86_64 -208: +++ case $1 in -208: +++ echo x86_64 207: ++ HOST=x86_64 207: ++ '[' -n '' ']' 207: ++ MACHINE=x86_64 @@ -11542,10 +11608,15 @@ 207: ++ QEMU= 207: ++ trap 'on_error $LINENO' ERR 207: ++ trap on_exit EXIT -206: ++ testname=rosegment -206: ++ echo -n 'Testing rosegment ... ' -206: Testing rosegment ... ++ t=out/test/elf/x86_64/rosegment -206: ++ mkdir -p out/test/elf/x86_64/rosegment +207: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/rpath.sh .sh +208: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +208: ++ export LC_ALL=C +208: ++ LC_ALL=C +208: ++++ uname -m +208: +++ canonical_name x86_64 +208: +++ case $1 in +208: +++ echo x86_64 +197: + readelf -WS out/test/elf/x86_64/relocatable-no-ehframe/b.o 208: ++ HOST=x86_64 208: ++ '[' -n '' ']' 208: ++ MACHINE=x86_64 @@ -11560,77 +11631,46 @@ 208: ++ QEMU= 208: ++ trap 'on_error $LINENO' ERR 208: ++ trap on_exit EXIT -199: + grep -q 'Hello world' -199: + out/test/elf/x86_64/relro/exe3 -207: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/rpath.sh .sh -207: ++ testname=rpath -207: ++ echo -n 'Testing rpath ... ' -207: Testing rpath ... ++ t=out/test/elf/x86_64/rpath -207: ++ mkdir -p out/test/elf/x86_64/rpath 208: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/run-clang.sh .sh 208: ++ testname=run-clang 208: ++ echo -n 'Testing run-clang ... ' 208: Testing run-clang ... ++ t=out/test/elf/x86_64/run-clang 208: ++ mkdir -p out/test/elf/x86_64/run-clang +197: + grep -Fq .eh_frame out/test/elf/x86_64/relocatable-no-ehframe/log2 +197: + on_exit +197: + echo OK +197: OK +197: + exit 0 +207: ++ testname=rpath +207: ++ echo -n 'Testing rpath ... ' +207: Testing rpath ... ++ t=out/test/elf/x86_64/rpath +207: ++ mkdir -p out/test/elf/x86_64/rpath 207: + cc -o out/test/elf/x86_64/rpath/a.o -c -x assembler - -200: + rm -rf out/test/elf/x86_64/repro/exe.repro out/test/elf/x86_64/repro/exe.repro.tar -199: + readelf --segments -W out/test/elf/x86_64/relro/exe3 -206: + cc -o out/test/elf/x86_64/rosegment/a.o -c -xc - -197: + cc -c -o out/test/elf/x86_64/relocatable-no-ehframe/a.o -xc -fno-unwind-tables -fno-asynchronous-unwind-tables - +199: + grep -q 'GNU_RELRO ' out/test/elf/x86_64/relro/log2 206: + cat -197: + cat -201: + grep -q foobar -207: + cat -208: + '[' cc = cc ']' -201: + readelf --symbols out/test/elf/x86_64/require-defined/exe -204: + 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 -208: + nm mold-wrapper.so -208: + grep -q '__[at]san_init' -201: + 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 -200: + MOLD_REPRO=1 -200: + cc -B. -o out/test/elf/x86_64/repro/exe out/test/elf/x86_64/repro/a.o -207: + cc -B. -o out/test/elf/x86_64/rpath/exe1 out/test/elf/x86_64/rpath/a.o -Wl,-rpath,/foo,-rpath,/bar,-R/no/such/directory,-R/ -208: + clang --version -208: + skip -208: + echo skipped -208: skipped -208: + trap - EXIT -208: + exit 0 -199: + grep -q 'GNU_RELRO ' out/test/elf/x86_64/relro/log3 -198: + cat -193/309 Test #208: x86_64-run-clang ........................***Skipped 0.08 sec +194/309 Test #197: x86_64-relocatable-no-ehframe ........... Passed 0.60 sec test 209 Start 209: x86_64-run 209: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/run.sh" 209: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 209: Test timeout computed to be: 1500 -199: + on_exit -199: + echo OK -199: OK -199: + exit 0 -198: + cc -c -o out/test/elf/x86_64/relocatable/b.o -xc - -194/309 Test #199: x86_64-relro ............................ Passed 0.77 sec -test 210 - Start 210: x86_64-section-align - -210: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/section-align.sh" -210: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -210: Test timeout computed to be: 1500 -193: + cc -c -o out/test/elf/x86_64/relocatable-archive/b.o -xc - -193: + cat +199: + cc -B. -o out/test/elf/x86_64/relro/exe3 out/test/elf/x86_64/relro/a.o -Wl,-z,norelro +207: + cat +206: + cc -o out/test/elf/x86_64/rosegment/a.o -c -xc - +208: + '[' cc = cc ']' +207: + cc -B. -o out/test/elf/x86_64/rpath/exe1 out/test/elf/x86_64/rpath/a.o -Wl,-rpath,/foo,-rpath,/bar,-R/no/such/directory,-R/ 209: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/run.sh 209: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 209: ++ export LC_ALL=C 209: ++ LC_ALL=C 209: ++++ uname -m +208: + grep -q '__[at]san_init' 209: +++ canonical_name x86_64 209: +++ case $1 in 209: +++ echo x86_64 -197: + readelf -WS out/test/elf/x86_64/relocatable-no-ehframe/a.o -197: + grep -Fq .eh_frame out/test/elf/x86_64/relocatable-no-ehframe/log1 205: + 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 -210: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/section-align.sh +208: + nm mold-wrapper.so 209: ++ HOST=x86_64 209: ++ '[' -n '' ']' 209: ++ MACHINE=x86_64 @@ -11645,21 +11685,53 @@ 209: ++ QEMU= 209: ++ trap 'on_error $LINENO' ERR 209: ++ trap on_exit EXIT +193: + 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 +208: + clang --version 209: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/run.sh .sh -210: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -210: ++ export LC_ALL=C -210: ++ LC_ALL=C +200: + tar -C out/test/elf/x86_64/repro -xf out/test/elf/x86_64/repro/exe.repro.tar +193: + ./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 209: ++ testname=run 209: ++ echo -n 'Testing run ... ' 209: Testing run ... ++ t=out/test/elf/x86_64/run 209: ++ mkdir -p out/test/elf/x86_64/run -206: + cc -B. -o out/test/elf/x86_64/rosegment/exe1 out/test/elf/x86_64/rosegment/a.o -198: + ./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 +208: + skip +208: + echo skipped +208: skipped +208: + trap - EXIT +208: + exit 0 +201: + readelf --symbols out/test/elf/x86_64/require-defined/exe 209: + '[' cc = cc ']' -197: + ./mold --relocatable -o out/test/elf/x86_64/relocatable-no-ehframe/b.o out/test/elf/x86_64/relocatable-no-ehframe/a.o +195/309 Test #208: x86_64-run-clang ........................***Skipped 0.08 sec +test 210 + Start 210: x86_64-section-align + +210: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/section-align.sh" +210: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +210: Test timeout computed to be: 1500 +201: + grep -q foobar 209: + nm mold-wrapper.so +204: + cc -o out/test/elf/x86_64/reverse-sections/c.o -c -xc++ - +210: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/section-align.sh +210: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +210: ++ export LC_ALL=C +210: ++ LC_ALL=C +204: + cat +201: + 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 209: + grep -q '__[at]san_init' +200: + grep -q /a.o out/test/elf/x86_64/repro/exe.repro/response.txt +200: + grep -q '[ms]old' out/test/elf/x86_64/repro/exe.repro/version.txt +200: + on_exit +200: + echo OK +200: OK +200: + exit 0 210: ++++ uname -m +196/309 Test #200: x86_64-repro ............................ Passed 0.64 sec +test 211 + Start 211: x86_64-section-order + +211: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/section-order.sh" +211: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +211: Test timeout computed to be: 1500 210: +++ canonical_name x86_64 210: +++ case $1 in 210: +++ echo x86_64 @@ -11677,56 +11749,24 @@ 210: ++ QEMU= 210: ++ trap 'on_error $LINENO' ERR 210: ++ trap on_exit EXIT -209: + cc -xc -c -o out/test/elf/x86_64/run/a.o - -198: + cc -B. -o out/test/elf/x86_64/relocatable/exe out/test/elf/x86_64/relocatable/c.o -209: + cat 210: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/section-align.sh .sh -197: + readelf -WS out/test/elf/x86_64/relocatable-no-ehframe/b.o 210: ++ testname=section-align 210: ++ echo -n 'Testing section-align ... ' +209: + cc -xc -c -o out/test/elf/x86_64/run/a.o - +209: + cat +206: + cc -B. -o out/test/elf/x86_64/rosegment/exe1 out/test/elf/x86_64/rosegment/a.o +193: + readelf --symbols out/test/elf/x86_64/relocatable-archive/f.o 210: Testing section-align ... ++ t=out/test/elf/x86_64/section-align 210: ++ mkdir -p out/test/elf/x86_64/section-align -197: + grep -Fq .eh_frame out/test/elf/x86_64/relocatable-no-ehframe/log2 -193: + cat -193: + cc -c -o out/test/elf/x86_64/relocatable-archive/c.o -xc - -201: + grep -q 'undefined symbol: xyz' out/test/elf/x86_64/require-defined/log -197: + on_exit -197: + echo OK -197: OK -197: + exit 0 -195/309 Test #197: x86_64-relocatable-no-ehframe ........... Passed 0.93 sec -test 211 - Start 211: x86_64-section-order - -211: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/section-order.sh" -211: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -211: Test timeout computed to be: 1500 -210: + cc -o out/test/elf/x86_64/section-align/a.o -c -xc -fno-PIC - -200: + tar -C out/test/elf/x86_64/repro -xf out/test/elf/x86_64/repro/exe.repro.tar -201: + on_exit -201: + echo OK -201: OK -201: + exit 0 -196/309 Test #201: x86_64-require-defined .................. Passed 0.69 sec -test 212 - Start 212: x86_64-section-start - -212: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/section-start.sh" -212: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -212: Test timeout computed to be: 1500 -210: + cat 211: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/section-order.sh 211: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 211: ++ export LC_ALL=C 211: ++ LC_ALL=C -200: + grep -q /a.o out/test/elf/x86_64/repro/exe.repro/response.txt +193: + grep -q 'foo\b' out/test/elf/x86_64/relocatable-archive/log +193: + grep -q 'bar\b' out/test/elf/x86_64/relocatable-archive/log +210: + cc -o out/test/elf/x86_64/section-align/a.o -c -xc -fno-PIC - 211: ++++ uname -m -212: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/section-start.sh -212: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -200: + grep -q '[ms]old' out/test/elf/x86_64/repro/exe.repro/version.txt 211: +++ canonical_name x86_64 -212: ++ export LC_ALL=C -212: ++ LC_ALL=C 211: +++ case $1 in 211: +++ echo x86_64 211: ++ HOST=x86_64 @@ -11743,42 +11783,66 @@ 211: ++ QEMU= 211: ++ trap 'on_error $LINENO' ERR 211: ++ trap on_exit EXIT +210: + cat 211: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/section-order.sh .sh 211: ++ testname=section-order 211: ++ echo -n 'Testing section-order ... ' 211: Testing section-order ... ++ t=out/test/elf/x86_64/section-order 211: ++ mkdir -p out/test/elf/x86_64/section-order -200: + on_exit -200: + echo OK -200: OK -200: + exit 0 +193: + grep -q 'baz\b' out/test/elf/x86_64/relocatable-archive/log +211: + '[' -z '' ']' +211: + cc -o out/test/elf/x86_64/section-order/a.o -c -xc -fno-PIC - +199: + grep -q 'Hello world' +199: + out/test/elf/x86_64/relro/exe3 +211: + cat +199: + readelf --segments -W out/test/elf/x86_64/relro/exe3 +193: + on_exit +193: + echo OK +193: OK +193: + exit 0 +197/309 Test #193: x86_64-relocatable-archive .............. Passed 0.90 sec +test 212 + Start 212: x86_64-section-start + +212: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/section-start.sh" +212: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +212: Test timeout computed to be: 1500 +199: + grep -q 'GNU_RELRO ' out/test/elf/x86_64/relro/log3 +199: + on_exit +199: + echo OK +199: OK +199: + exit 0 209: ++ pwd -197/309 Test #200: x86_64-repro ............................ Passed 0.76 sec +209: + LD_PRELOAD=/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so +209: ++ pwd +209: + MOLD_PATH=/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/mold +209: + gcc -o out/test/elf/x86_64/run/exe out/test/elf/x86_64/run/a.o -B/usr/bin +198/309 Test #199: x86_64-relro ............................ Passed 0.73 sec test 213 Start 213: x86_64-shared-abs-sym 213: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/shared-abs-sym.sh" 213: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 213: Test timeout computed to be: 1500 -209: + LD_PRELOAD=/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so -204: + out/test/elf/x86_64/reverse-sections/exe1 -204: + grep -q 'foo1 foo2 foo3 foo4 foo5 foo6' -193: + cc -c -o out/test/elf/x86_64/relocatable-archive/d.o -xc - -193: + cat -212: ++++ uname -m +207: + grep -Fq 'Library runpath: [/foo:/bar:/no/such/directory:/]' 207: + readelf --dynamic out/test/elf/x86_64/rpath/exe1 -209: ++ pwd -209: + MOLD_PATH=/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/mold -209: + gcc -o out/test/elf/x86_64/run/exe out/test/elf/x86_64/run/a.o -B/usr/bin -204: + 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 -211: + '[' -z '' ']' +207: + cc -B. -o out/test/elf/x86_64/rpath/exe2 out/test/elf/x86_64/rpath/a.o -Wl,-rpath,/foo,-rpath,/bar,-rpath,/foo,-rpath,/baz +168: + cp mold-wrapper.so out/test/elf/x86_64/mold-wrapper2/bin +168: + out/test/elf/x86_64/mold-wrapper2/bin/mold -run bash -c 'echo $LD_PRELOAD' +168: + grep -q /bin/mold-wrapper.so +205: + readelf -p .rodata.str out/test/elf/x86_64/rodata-name/exe +205: + grep -q Hello +205: + readelf -p .rodata.str out/test/elf/x86_64/rodata-name/exe +205: + grep -q world +204: + 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 +212: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/section-start.sh +212: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +212: ++ export LC_ALL=C +212: ++ LC_ALL=C +212: ++++ uname -m 212: +++ canonical_name x86_64 212: +++ case $1 in 212: +++ echo x86_64 -213: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/shared-abs-sym.sh -213: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -213: ++ export LC_ALL=C -213: ++ LC_ALL=C 212: ++ HOST=x86_64 212: ++ '[' -n '' ']' 212: ++ MACHINE=x86_64 @@ -11794,12 +11858,47 @@ 212: ++ trap 'on_error $LINENO' ERR 212: ++ trap on_exit EXIT 212: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/section-start.sh .sh -211: + cat -211: + cc -o out/test/elf/x86_64/section-order/a.o -c -xc -fno-PIC - 212: ++ testname=section-start 212: ++ echo -n 'Testing section-start ... ' 212: Testing section-start ... ++ t=out/test/elf/x86_64/section-start 212: ++ mkdir -p out/test/elf/x86_64/section-start +205: + readelf -p .rodata.str out/test/elf/x86_64/rodata-name/exe +205: + grep -q foobar +205: + readelf -p .rodata.cst out/test/elf/x86_64/rodata-name/exe +201: + grep -q 'undefined symbol: xyz' out/test/elf/x86_64/require-defined/log +201: + on_exit +201: + echo OK +201: OK +201: + exit 0 +210: + cc -B. -o out/test/elf/x86_64/section-align/exe1 out/test/elf/x86_64/section-align/a.o -Wl,--section-align=.foo=0x2000 +168: + on_exit +168: + echo OK +168: OK +168: + exit 0 +199/309 Test #168: x86_64-mold-wrapper2 .................... Passed 1.84 sec +test 214 + Start 214: x86_64-shared + +214: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/shared.sh" +214: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +214: Test timeout computed to be: 1500 +200/309 Test #201: x86_64-require-defined .................. Passed 0.69 sec +test 215 + Start 215: x86_64-shuffle-sections-seed + +215: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/shuffle-sections-seed.sh" +215: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +215: Test timeout computed to be: 1500 +212: + '[' x86_64 = ppc64 ']' +212: + '[' x86_64 = arm ']' +212: + cat +212: + cc -o out/test/elf/x86_64/section-start/a.o -c -xc -fno-PIC - +205: + grep -q abcdefgh +205: + readelf -p .rodatabar out/test/elf/x86_64/rodata-name/exe +213: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/shared-abs-sym.sh +213: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +213: ++ export LC_ALL=C +213: ++ LC_ALL=C 213: ++++ uname -m 213: +++ canonical_name x86_64 213: +++ case $1 in @@ -11818,52 +11917,35 @@ 213: ++ QEMU= 213: ++ trap 'on_error $LINENO' ERR 213: ++ trap on_exit EXIT -206: + readelf -W --segments out/test/elf/x86_64/rosegment/exe1 -207: + grep -Fq 'Library runpath: [/foo:/bar:/no/such/directory:/]' 213: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/shared-abs-sym.sh .sh -212: + '[' x86_64 = ppc64 ']' -212: + '[' x86_64 = arm ']' -206: + grep -q '\.interp .* \.text' out/test/elf/x86_64/rosegment/log1 -207: + cc -B. -o out/test/elf/x86_64/rpath/exe2 out/test/elf/x86_64/rpath/a.o -Wl,-rpath,/foo,-rpath,/bar,-rpath,/foo,-rpath,/baz -212: + cat +211: + cc -B. -o out/test/elf/x86_64/section-order/exe1 out/test/elf/x86_64/section-order/a.o -no-pie '-Wl,--section-order==0x100000 PHDR =0x200000 .fn2 TEXT =0x300000 .fn1 DATA BSS RODATA' +214: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/shared.sh +214: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +214: ++ export LC_ALL=C +214: ++ LC_ALL=C +205: + grep -q bar 213: ++ testname=shared-abs-sym 213: ++ echo -n 'Testing shared-abs-sym ... ' 213: Testing shared-abs-sym ... ++ t=out/test/elf/x86_64/shared-abs-sym 213: ++ mkdir -p out/test/elf/x86_64/shared-abs-sym -206: + cc -B. -o out/test/elf/x86_64/rosegment/exe2 out/test/elf/x86_64/rosegment/a.o -Wl,--rosegment -212: + cc -o out/test/elf/x86_64/section-start/a.o -c -xc -fno-PIC - -205: + grep -q Hello -205: + readelf -p .rodata.str out/test/elf/x86_64/rodata-name/exe -213: + cat -198: + out/test/elf/x86_64/relocatable/exe -213: + cc -fPIC -c -o out/test/elf/x86_64/shared-abs-sym/a.o -xassembler - -210: + cc -B. -o out/test/elf/x86_64/section-align/exe1 out/test/elf/x86_64/section-align/a.o -Wl,--section-align=.foo=0x2000 -198: Hello world -198: + on_exit -198: + echo OK -198: OK -198: + exit 0 -193: + 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 -205: + readelf -p .rodata.str out/test/elf/x86_64/rodata-name/exe -198/309 Test #198: x86_64-relocatable ...................... Passed 1.04 sec -test 214 - Start 214: x86_64-shared +205: + on_exit +205: + echo OK +205: OK +205: + exit 0 +201/309 Test #205: x86_64-rodata-name ...................... Passed 0.27 sec +test 216 + Start 216: x86_64-shuffle-sections -214: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/shared.sh" -214: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -214: Test timeout computed to be: 1500 -205: + grep -q world -213: + cc -B. -shared -o out/test/elf/x86_64/shared-abs-sym/b.so out/test/elf/x86_64/shared-abs-sym/a.o -205: + grep -q foobar -193: + ./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 -205: + readelf -p .rodata.str out/test/elf/x86_64/rodata-name/exe -214: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/shared.sh -214: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -214: ++ export LC_ALL=C -214: ++ LC_ALL=C -205: + readelf -p .rodata.cst out/test/elf/x86_64/rodata-name/exe +216: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/shuffle-sections.sh" +216: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +216: Test timeout computed to be: 1500 +206: + readelf -W --segments out/test/elf/x86_64/rosegment/exe1 +215: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/shuffle-sections-seed.sh 214: ++++ uname -m -205: + grep -q abcdefgh +215: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +215: ++ export LC_ALL=C +215: ++ LC_ALL=C +213: + cc -fPIC -c -o out/test/elf/x86_64/shared-abs-sym/a.o -xassembler - 214: +++ canonical_name x86_64 214: +++ case $1 in 214: +++ echo x86_64 @@ -11881,78 +11963,47 @@ 214: ++ QEMU= 214: ++ trap 'on_error $LINENO' ERR 214: ++ trap on_exit EXIT -205: + grep -q bar 214: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/shared.sh .sh -205: + readelf -p .rodatabar out/test/elf/x86_64/rodata-name/exe -211: + cc -B. -o out/test/elf/x86_64/section-order/exe1 out/test/elf/x86_64/section-order/a.o -no-pie '-Wl,--section-order==0x100000 PHDR =0x200000 .fn2 TEXT =0x300000 .fn1 DATA BSS RODATA' +198: + out/test/elf/x86_64/relocatable/exe 214: ++ testname=shared 214: ++ echo -n 'Testing shared ... ' 214: Testing shared ... ++ t=out/test/elf/x86_64/shared 214: ++ mkdir -p out/test/elf/x86_64/shared -205: + on_exit -205: + echo OK -205: OK -205: + exit 0 -199/309 Test #205: x86_64-rodata-name ...................... Passed 0.47 sec -test 215 - Start 215: x86_64-shuffle-sections-seed - -215: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/shuffle-sections-seed.sh" -215: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -215: Test timeout computed to be: 1500 -209: + readelf -p .comment out/test/elf/x86_64/run/exe +216: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/shuffle-sections.sh +213: + cat 214: + cc -fPIC -c -o out/test/elf/x86_64/shared/a.o -xc - +206: + grep -q '\.interp .* \.text' out/test/elf/x86_64/rosegment/log1 +216: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +216: ++ export LC_ALL=C +216: ++ LC_ALL=C +216: ++++ uname -m +213: + cc -B. -shared -o out/test/elf/x86_64/shared-abs-sym/b.so out/test/elf/x86_64/shared-abs-sym/a.o +216: +++ canonical_name x86_64 +216: +++ case $1 in +216: +++ echo x86_64 +216: ++ HOST=x86_64 +216: ++ '[' -n '' ']' +216: ++ MACHINE=x86_64 +216: ++ '[' -n '' ']' +216: ++ CC=cc +216: ++ CXX=c++ +216: ++ GCC=gcc +216: ++ GXX=g++ +216: ++ OBJDUMP=objdump +216: ++ OBJCOPY=objcopy +216: ++ STRIP=strip +216: ++ QEMU= +216: ++ trap 'on_error $LINENO' ERR +216: ++ trap on_exit EXIT +206: + cc -B. -o out/test/elf/x86_64/rosegment/exe2 out/test/elf/x86_64/rosegment/a.o -Wl,--rosegment 214: + cat -195: + c++ -c -o out/test/elf/x86_64/relocatable-exception/a.o -xc++ - -209: + grep -q '[ms]old' out/test/elf/x86_64/run/log -193: + readelf --symbols out/test/elf/x86_64/relocatable-archive/f.o -195: + cat -204: + out/test/elf/x86_64/reverse-sections/exe2 -206: + readelf -W --segments out/test/elf/x86_64/rosegment/exe2 -196: + cat -196: + cc -c -o out/test/elf/x86_64/relocatable-merge-sections/a.o -xc -ffunction-sections - -193: + grep -q 'foo\b' out/test/elf/x86_64/relocatable-archive/log -215: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/shuffle-sections-seed.sh -215: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -215: ++ export LC_ALL=C -215: ++ LC_ALL=C -212: + cc -B. -o out/test/elf/x86_64/section-start/exe1 out/test/elf/x86_64/section-start/a.o -no-pie -Wl,--section-start=.fn1=0x10000000,--section-start=.fn2=0x20000000 -204: + grep -q 'foo5 foo6 foo3 foo4 foo1 foo2' -193: + grep -q 'bar\b' out/test/elf/x86_64/relocatable-archive/log -209: + ./mold -run env -193: + grep -q 'baz\b' out/test/elf/x86_64/relocatable-archive/log -204: + on_exit -204: + echo OK -204: OK -204: + exit 0 -200/309 Test #204: x86_64-reverse-sections ................. Passed 0.75 sec -test 216 - Start 216: x86_64-shuffle-sections - -216: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/shuffle-sections.sh" -216: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -216: Test timeout computed to be: 1500 -206: + grep -q '\.interp .* \.text' out/test/elf/x86_64/rosegment/log2 -193: + on_exit -193: + echo OK -193: OK -193: + exit 0 -209: + grep -q '^MOLD_PATH=.*/mold$' 215: ++++ uname -m -201/309 Test #193: x86_64-relocatable-archive .............. Passed 1.22 sec -test 217 - Start 217: x86_64-soname - -217: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/soname.sh" -217: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -217: Test timeout computed to be: 1500 215: +++ canonical_name x86_64 215: +++ case $1 in 215: +++ echo x86_64 215: ++ HOST=x86_64 215: ++ '[' -n '' ']' 215: ++ MACHINE=x86_64 -210: + grep -q '\.foo.* 8192$' 215: ++ '[' -n '' ']' 215: ++ CC=cc 215: ++ CXX=c++ @@ -11962,37 +12013,38 @@ 215: ++ OBJCOPY=objcopy 215: ++ STRIP=strip 215: ++ QEMU= -210: + readelf -WS out/test/elf/x86_64/section-align/exe1 215: ++ trap 'on_error $LINENO' ERR 215: ++ trap on_exit EXIT -206: + cc -B. -o out/test/elf/x86_64/rosegment/exe3 out/test/elf/x86_64/rosegment/a.o -Wl,--no-rosegment -210: + cc -B. -o out/test/elf/x86_64/section-align/exe2 out/test/elf/x86_64/section-align/a.o -Wl,--section-align=.foo=256 -216: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/shuffle-sections.sh 215: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/shuffle-sections-seed.sh .sh -207: + grep -Fq 'Library runpath: [/foo:/bar:/baz]' -209: + ./mold -run /usr/bin/ld --version +198: Hello world +198: + on_exit +198: + echo OK +198: OK +198: + exit 0 +202/309 Test #198: x86_64-relocatable ...................... Passed 0.81 sec +test 217 + Start 217: x86_64-soname + +217: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/soname.sh" +217: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +217: Test timeout computed to be: 1500 +215: ++ testname=shuffle-sections-seed +215: ++ echo -n 'Testing shuffle-sections-seed ... ' +215: Testing shuffle-sections-seed ... ++ t=out/test/elf/x86_64/shuffle-sections-seed +215: ++ mkdir -p out/test/elf/x86_64/shuffle-sections-seed +215: + cc -o out/test/elf/x86_64/shuffle-sections-seed/a.o -ffunction-sections -c -xc - +215: + cat +216: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/shuffle-sections.sh .sh +216: ++ testname=shuffle-sections +216: ++ echo -n 'Testing shuffle-sections ... ' +216: Testing shuffle-sections ... ++ t=out/test/elf/x86_64/shuffle-sections +216: ++ mkdir -p out/test/elf/x86_64/shuffle-sections 217: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/soname.sh -207: + readelf --dynamic out/test/elf/x86_64/rpath/exe2 -216: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -216: ++ export LC_ALL=C -216: ++ LC_ALL=C -209: + grep -q '[ms]old' 217: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 217: ++ export LC_ALL=C 217: ++ LC_ALL=C -213: + cat -207: + on_exit -207: + echo OK -207: OK -207: + exit 0 -202/309 Test #207: x86_64-rpath ............................ Passed 0.47 sec -test 218 - Start 218: x86_64-start-lib - -218: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/start-lib.sh" -218: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -218: Test timeout computed to be: 1500 217: ++++ uname -m +212: + cc -B. -o out/test/elf/x86_64/section-start/exe1 out/test/elf/x86_64/section-start/a.o -no-pie -Wl,--section-start=.fn1=0x10000000,--section-start=.fn2=0x20000000 217: +++ canonical_name x86_64 217: +++ case $1 in 217: +++ echo x86_64 @@ -12010,128 +12062,23 @@ 217: ++ QEMU= 217: ++ trap 'on_error $LINENO' ERR 217: ++ trap on_exit EXIT -215: ++ testname=shuffle-sections-seed -215: ++ echo -n 'Testing shuffle-sections-seed ... ' -215: Testing shuffle-sections-seed ... ++ t=out/test/elf/x86_64/shuffle-sections-seed -215: ++ mkdir -p out/test/elf/x86_64/shuffle-sections-seed -213: + cc -fPIC -c -o out/test/elf/x86_64/shared-abs-sym/d.o out/test/elf/x86_64/shared-abs-sym/c.c -217: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/soname.sh .sh -216: ++++ uname -m +210: + grep -q '\.foo.* 8192$' +216: + cat +216: + cc -o out/test/elf/x86_64/shuffle-sections/a.o -ffunction-sections -c -xc - 214: + cc -B. -shared -o out/test/elf/x86_64/shared/b.so out/test/elf/x86_64/shared/a.o -215: + cat -215: + cc -o out/test/elf/x86_64/shuffle-sections-seed/a.o -ffunction-sections -c -xc - +210: + readelf -WS out/test/elf/x86_64/section-align/exe1 +217: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/soname.sh .sh 217: ++ testname=soname 217: ++ echo -n 'Testing soname ... ' 217: Testing soname ... ++ t=out/test/elf/x86_64/soname 217: ++ mkdir -p out/test/elf/x86_64/soname -218: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/start-lib.sh -216: +++ canonical_name x86_64 -216: +++ case $1 in -216: +++ echo x86_64 -216: ++ HOST=x86_64 -216: ++ '[' -n '' ']' -216: ++ MACHINE=x86_64 -216: ++ '[' -n '' ']' -216: ++ CC=cc -216: ++ CXX=c++ -216: ++ GCC=gcc -216: ++ GXX=g++ -216: ++ OBJDUMP=objdump -216: ++ OBJCOPY=objcopy -216: ++ STRIP=strip -216: ++ QEMU= -216: ++ trap 'on_error $LINENO' ERR -216: ++ trap on_exit EXIT -216: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/shuffle-sections.sh .sh -218: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -218: ++ export LC_ALL=C -218: ++ LC_ALL=C -216: ++ testname=shuffle-sections -216: ++ echo -n 'Testing shuffle-sections ... ' -216: Testing shuffle-sections ... ++ t=out/test/elf/x86_64/shuffle-sections -216: ++ mkdir -p out/test/elf/x86_64/shuffle-sections -209: + grep -q '[ms]old' -209: + ./mold -run /usr/bin/ld.lld --version +210: + cc -B. -o out/test/elf/x86_64/section-align/exe2 out/test/elf/x86_64/section-align/a.o -Wl,--section-align=.foo=256 217: + cat 217: + cc -fPIC -c -o out/test/elf/x86_64/soname/a.o -xc - -218: ++++ uname -m -216: + cat -218: +++ canonical_name x86_64 -218: +++ case $1 in -218: +++ echo x86_64 -211: + out/test/elf/x86_64/section-order/exe1 -211: + grep -q Hello -218: ++ HOST=x86_64 -218: ++ '[' -n '' ']' -218: ++ MACHINE=x86_64 -218: ++ '[' -n '' ']' -218: ++ CC=cc -218: ++ CXX=c++ -218: ++ GCC=gcc -218: ++ GXX=g++ -218: ++ OBJDUMP=objdump -218: ++ OBJCOPY=objcopy -218: ++ STRIP=strip -218: ++ QEMU= -218: ++ trap 'on_error $LINENO' ERR -218: ++ trap on_exit EXIT -216: + cc -o out/test/elf/x86_64/shuffle-sections/a.o -ffunction-sections -c -xc - -196: + ./mold --relocatable -o out/test/elf/x86_64/relocatable-merge-sections/b.o out/test/elf/x86_64/relocatable-merge-sections/a.o -195: + cat -211: + grep -q '\.fn2 .*00200000' -195: + c++ -c -o out/test/elf/x86_64/relocatable-exception/b.o -xc++ - -209: + ./mold -run /usr/bin/ld.gold --version -209: + grep -q '[ms]old' -211: + readelf -SW out/test/elf/x86_64/section-order/exe1 -218: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/start-lib.sh .sh -218: ++ testname=start-lib -218: ++ echo -n 'Testing start-lib ... ' -218: Testing start-lib ... ++ t=out/test/elf/x86_64/start-lib -218: ++ mkdir -p out/test/elf/x86_64/start-lib -211: + grep -q '\.fn1 .*00300000' -210: + grep -q '\.foo.* 256$' -210: + readelf -WS out/test/elf/x86_64/section-align/exe2 -196: + readelf -WS out/test/elf/x86_64/relocatable-merge-sections/b.o -211: + readelf -SW out/test/elf/x86_64/section-order/exe1 -218: + cat -218: + cc -o out/test/elf/x86_64/start-lib/a.o -c -xc - -209: + rm -f out/test/elf/x86_64/run/ld out/test/elf/x86_64/run/ld.lld out/test/elf/x86_64/run/ld.gold out/test/elf/x86_64/run/foo.ld -196: + grep -Fq .text.foo out/test/elf/x86_64/relocatable-merge-sections/log1 -210: + cc -B. -o out/test/elf/x86_64/section-align/exe3 out/test/elf/x86_64/section-align/a.o -Wl,--section-align=.foo=3 -209: + touch out/test/elf/x86_64/run/ld out/test/elf/x86_64/run/ld.lld out/test/elf/x86_64/run/ld.gold -210: + grep -q 'must be a power of 2' -196: + grep -Fq .text.bar out/test/elf/x86_64/relocatable-merge-sections/log1 -211: + readelf -sw out/test/elf/x86_64/section-order/exe1 -209: + echo '#!/bin/sh' -209: + chmod 755 out/test/elf/x86_64/run/ld out/test/elf/x86_64/run/ld.lld out/test/elf/x86_64/run/ld.gold out/test/elf/x86_64/run/foo.ld -211: + grep -Eq ': 0+\s.*\s__ehdr_start$' -212: + grep -q 'main fn1 fn2 0x10000000 0x20000000' -211: + cc -B. -o out/test/elf/x86_64/section-order/exe2 out/test/elf/x86_64/section-order/a.o -no-pie '-Wl,--section-order==0x200000 EHDR RODATA =0x300000 PHDR =0x400000 .fn2 TEXT DATA BSS' -196: + ./mold --relocatable -o out/test/elf/x86_64/relocatable-merge-sections/c.o out/test/elf/x86_64/relocatable-merge-sections/a.o --relocatable-merge-sections -209: + ./mold -run out/test/elf/x86_64/run/ld --version -212: + out/test/elf/x86_64/section-start/exe1 -209: + grep -q '[ms]old' -210: + on_exit -210: + echo OK -210: OK -210: + exit 0 -212: + readelf -W --segments out/test/elf/x86_64/section-start/exe1 -203/309 Test #210: x86_64-section-align .................... Passed 0.48 sec -test 219 - Start 219: x86_64-start-stop-symbol - -219: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/start-stop-symbol.sh" -219: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -219: Test timeout computed to be: 1500 -213: + 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 -206: + readelf -W --segments out/test/elf/x86_64/rosegment/exe3 -212: + grep ' LOAD ' -212: + sed 's/0x[0-9a-f]*//' +207: + readelf --dynamic out/test/elf/x86_64/rpath/exe2 +209: + readelf -p .comment out/test/elf/x86_64/run/exe 215: ++ seq 1 1000 -217: + cc -o out/test/elf/x86_64/soname/b.so -shared out/test/elf/x86_64/soname/a.o -196: + readelf -WS out/test/elf/x86_64/relocatable-merge-sections/c.o -206: + grep -q '\.interp .* \.text' out/test/elf/x86_64/rosegment/log3 -212: + diff out/test/elf/x86_64/section-start/log1 /dev/fd/63 +215: + cc -o out/test/elf/x86_64/shuffle-sections-seed/b.o -ffunction-sections -c -xc - 215: + for i in `seq 1 1000` 215: + echo 'void fn1() {}' 215: + for i in `seq 1 1000` @@ -12153,6 +12100,7 @@ 215: + for i in `seq 1 1000` 215: + echo 'void fn10() {}' 215: + for i in `seq 1 1000` +209: + grep -q '[ms]old' out/test/elf/x86_64/run/log 215: + echo 'void fn11() {}' 215: + for i in `seq 1 1000` 215: + echo 'void fn12() {}' @@ -12213,6 +12161,7 @@ 215: + for i in `seq 1 1000` 215: + echo 'void fn40() {}' 215: + for i in `seq 1 1000` +207: + grep -Fq 'Library runpath: [/foo:/bar:/baz]' 215: + echo 'void fn41() {}' 215: + for i in `seq 1 1000` 215: + echo 'void fn42() {}' @@ -12628,9 +12577,6 @@ 215: + echo 'void fn247() {}' 215: + for i in `seq 1 1000` 215: + echo 'void fn248() {}' -196: + grep -Fq .text.foo out/test/elf/x86_64/relocatable-merge-sections/log2 -212: ++ sort out/test/elf/x86_64/section-start/log1 -215: + cc -o out/test/elf/x86_64/shuffle-sections-seed/b.o -ffunction-sections -c -xc - 215: + for i in `seq 1 1000` 215: + echo 'void fn249() {}' 215: + for i in `seq 1 1000` @@ -13155,40 +13101,6 @@ 215: + echo 'void fn509() {}' 215: + for i in `seq 1 1000` 215: + echo 'void fn510() {}' -214: + readelf --dyn-syms out/test/elf/x86_64/shared/b.so -214: + grep -q '00000000 0 NOTYPE GLOBAL DEFAULT UND fn2' out/test/elf/x86_64/shared/log -209: + ./mold -run out/test/elf/x86_64/run/ld.lld --version -209: + grep -q '[ms]old' -219: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/start-stop-symbol.sh -219: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -219: ++ export LC_ALL=C -219: ++ LC_ALL=C -219: ++++ uname -m -219: +++ canonical_name x86_64 -219: +++ case $1 in -219: +++ echo x86_64 -219: ++ HOST=x86_64 -219: ++ '[' -n '' ']' -219: ++ MACHINE=x86_64 -219: ++ '[' -n '' ']' -219: ++ CC=cc -219: ++ CXX=c++ -219: ++ GCC=gcc -219: ++ GXX=g++ -219: ++ OBJDUMP=objdump -219: ++ OBJCOPY=objcopy -219: ++ STRIP=strip -219: ++ QEMU= -219: ++ trap 'on_error $LINENO' ERR -219: ++ trap on_exit EXIT -218: + cat -218: + cc -o out/test/elf/x86_64/start-lib/b.o -c -xc - -196: + grep -Fq .text.bar out/test/elf/x86_64/relocatable-merge-sections/log2 -196: + on_exit -196: + echo OK -196: OK -196: + exit 0 -212: + cc -B. -o out/test/elf/x86_64/section-start/exe2 out/test/elf/x86_64/section-start/a.o -no-pie -Wl,--section-start=.fn1=0x20000000,--section-start=.fn2=0x10000000 215: + for i in `seq 1 1000` 215: + echo 'void fn511() {}' 215: + for i in `seq 1 1000` @@ -13736,6 +13648,17 @@ 215: + for i in `seq 1 1000` 215: + echo 'void fn783() {}' 215: + for i in `seq 1 1000` +207: + on_exit +207: + echo OK +207: OK +207: + exit 0 +203/309 Test #207: x86_64-rpath ............................ Passed 0.37 sec +test 218 + Start 218: x86_64-start-lib + +218: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/start-lib.sh" +218: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +218: Test timeout computed to be: 1500 215: + echo 'void fn784() {}' 215: + for i in `seq 1 1000` 215: + echo 'void fn785() {}' @@ -14169,31 +14092,12 @@ 215: + echo 'void fn999() {}' 215: + for i in `seq 1 1000` 215: + echo 'void fn1000() {}' -214: + grep -Eq 'FUNC GLOBAL DEFAULT .* fn1' out/test/elf/x86_64/shared/log -209: + ./mold -run out/test/elf/x86_64/run/ld.gold --version +209: + grep -q '^MOLD_PATH=.*/mold$' +209: + ./mold -run env 209: + grep -q '[ms]old' -206: + on_exit -206: + echo OK -206: OK -206: + exit 0 +209: + ./mold -run /usr/bin/ld --version 216: + cc -o out/test/elf/x86_64/shuffle-sections/b.o -ffunction-sections -c -xc - 216: ++ seq 1 1000 -204/309 Test #196: x86_64-relocatable-merge-sections ....... Passed 1.40 sec -test 220 - Start 220: x86_64-start-stop - -220: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/start-stop.sh" -220: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -220: Test timeout computed to be: 1500 -205/309 Test #206: x86_64-rosegment ........................ Passed 0.70 sec -test 221 - Start 221: x86_64-static-archive - -221: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/static-archive.sh" -221: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -221: Test timeout computed to be: 1500 -214: + cat -214: + cc -fPIC -c -o out/test/elf/x86_64/shared/c.o -xc - 216: + for i in `seq 1 1000` 216: + echo 'void fn1() {}' 216: + for i in `seq 1 1000` @@ -15098,20 +15002,6 @@ 216: + echo 'void fn451() {}' 216: + for i in `seq 1 1000` 216: + echo 'void fn452() {}' -217: + readelf --dynamic out/test/elf/x86_64/soname/b.so -217: + grep -Fq 'Library soname' out/test/elf/x86_64/soname/log -217: + cc -B. -o out/test/elf/x86_64/soname/b.so -shared out/test/elf/x86_64/soname/a.o -Wl,-soname,foo -219: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/start-stop-symbol.sh .sh -219: ++ testname=start-stop-symbol -219: ++ echo -n 'Testing start-stop-symbol ... ' -219: Testing start-stop-symbol ... ++ t=out/test/elf/x86_64/start-stop-symbol -219: ++ mkdir -p out/test/elf/x86_64/start-stop-symbol -219: + cat -219: + cc -c -o out/test/elf/x86_64/start-stop-symbol/a.o -xc - -221: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/static-archive.sh -221: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -221: ++ export LC_ALL=C -221: ++ LC_ALL=C 216: + for i in `seq 1 1000` 216: + echo 'void fn453() {}' 216: + for i in `seq 1 1000` @@ -16154,6 +16044,26 @@ 216: + echo 'void fn972() {}' 216: + for i in `seq 1 1000` 216: + echo 'void fn973() {}' +204: + grep -q 'foo1 foo2 foo3 foo4 foo5 foo6' +204: + out/test/elf/x86_64/reverse-sections/exe1 +204: + 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 +211: + grep -q Hello +211: + out/test/elf/x86_64/section-order/exe1 +211: + readelf -SW out/test/elf/x86_64/section-order/exe1 +211: + grep -q '\.fn2 .*00200000' +211: + readelf -SW out/test/elf/x86_64/section-order/exe1 +211: + grep -q '\.fn1 .*00300000' +211: + grep -Eq ': 0+\s.*\s__ehdr_start$' +211: + readelf -sw out/test/elf/x86_64/section-order/exe1 +213: + cat +213: + cc -fPIC -c -o out/test/elf/x86_64/shared-abs-sym/d.o out/test/elf/x86_64/shared-abs-sym/c.c +212: + out/test/elf/x86_64/section-start/exe1 +212: + grep -q 'main fn1 fn2 0x10000000 0x20000000' +212: + readelf -W --segments out/test/elf/x86_64/section-start/exe1 +212: + grep ' LOAD ' +212: + sed 's/0x[0-9a-f]*//' +212: + diff out/test/elf/x86_64/section-start/log1 /dev/fd/63 +212: ++ sort out/test/elf/x86_64/section-start/log1 216: + for i in `seq 1 1000` 216: + echo 'void fn974() {}' 216: + for i in `seq 1 1000` @@ -16208,35 +16118,151 @@ 216: + echo 'void fn999() {}' 216: + for i in `seq 1 1000` 216: + echo 'void fn1000() {}' +217: + cc -o out/test/elf/x86_64/soname/b.so -shared out/test/elf/x86_64/soname/a.o +206: + readelf -W --segments out/test/elf/x86_64/rosegment/exe2 +218: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/start-lib.sh +218: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +218: ++ export LC_ALL=C +218: ++ LC_ALL=C +211: + cc -B. -o out/test/elf/x86_64/section-order/exe2 out/test/elf/x86_64/section-order/a.o -no-pie '-Wl,--section-order==0x200000 EHDR RODATA =0x300000 PHDR =0x400000 .fn2 TEXT DATA BSS' +212: + cc -B. -o out/test/elf/x86_64/section-start/exe2 out/test/elf/x86_64/section-start/a.o -no-pie -Wl,--section-start=.fn1=0x20000000,--section-start=.fn2=0x10000000 +206: + grep -q '\.interp .* \.text' out/test/elf/x86_64/rosegment/log2 +218: ++++ uname -m +218: +++ canonical_name x86_64 +218: +++ case $1 in +218: +++ echo x86_64 +218: ++ HOST=x86_64 +218: ++ '[' -n '' ']' +218: ++ MACHINE=x86_64 +218: ++ '[' -n '' ']' +218: ++ CC=cc +218: ++ CXX=c++ +218: ++ GCC=gcc +218: ++ GXX=g++ +218: ++ OBJDUMP=objdump +218: ++ OBJCOPY=objcopy +218: ++ STRIP=strip +218: ++ QEMU= +218: ++ trap 'on_error $LINENO' ERR +218: ++ trap on_exit EXIT +206: + cc -B. -o out/test/elf/x86_64/rosegment/exe3 out/test/elf/x86_64/rosegment/a.o -Wl,--no-rosegment +218: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/start-lib.sh .sh +218: ++ testname=start-lib +218: ++ echo -n 'Testing start-lib ... ' +218: Testing start-lib ... ++ t=out/test/elf/x86_64/start-lib +218: ++ mkdir -p out/test/elf/x86_64/start-lib +209: + ./mold -run /usr/bin/ld.lld --version +209: + grep -q '[ms]old' +214: + readelf --dyn-syms out/test/elf/x86_64/shared/b.so +217: + readelf --dynamic out/test/elf/x86_64/soname/b.so +214: + grep -q '00000000 0 NOTYPE GLOBAL DEFAULT UND fn2' out/test/elf/x86_64/shared/log +214: + grep -Eq 'FUNC GLOBAL DEFAULT .* fn1' out/test/elf/x86_64/shared/log +214: + cc -fPIC -c -o out/test/elf/x86_64/shared/c.o -xc - +218: + cat +218: + cc -o out/test/elf/x86_64/start-lib/a.o -c -xc - +217: + grep -Fq 'Library soname' out/test/elf/x86_64/soname/log +214: + cat +217: + cc -B. -o out/test/elf/x86_64/soname/b.so -shared out/test/elf/x86_64/soname/a.o -Wl,-soname,foo +213: + 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 +210: + grep -q '\.foo.* 256$' +210: + readelf -WS out/test/elf/x86_64/section-align/exe2 +209: + grep -q '[ms]old' +210: + cc -B. -o out/test/elf/x86_64/section-align/exe3 out/test/elf/x86_64/section-align/a.o -Wl,--section-align=.foo=3 +210: + grep -q 'must be a power of 2' +209: + ./mold -run /usr/bin/ld.gold --version +210: + on_exit +210: + echo OK +210: OK +210: + exit 0 +209: + rm -f out/test/elf/x86_64/run/ld out/test/elf/x86_64/run/ld.lld out/test/elf/x86_64/run/ld.gold out/test/elf/x86_64/run/foo.ld +204/309 Test #210: x86_64-section-align .................... Passed 0.39 sec +test 219 + Start 219: x86_64-start-stop-symbol + +219: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/start-stop-symbol.sh" +219: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +219: Test timeout computed to be: 1500 +209: + touch out/test/elf/x86_64/run/ld out/test/elf/x86_64/run/ld.lld out/test/elf/x86_64/run/ld.gold +214: + 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 +206: + readelf -W --segments out/test/elf/x86_64/rosegment/exe3 +218: + cat +209: + echo '#!/bin/sh' +209: + chmod 755 out/test/elf/x86_64/run/ld out/test/elf/x86_64/run/ld.lld out/test/elf/x86_64/run/ld.gold out/test/elf/x86_64/run/foo.ld +219: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/start-stop-symbol.sh +206: + grep -q '\.interp .* \.text' out/test/elf/x86_64/rosegment/log3 +218: + cc -o out/test/elf/x86_64/start-lib/b.o -c -xc - +209: + grep -q '[ms]old' +209: + ./mold -run out/test/elf/x86_64/run/ld --version +206: + on_exit +206: + echo OK +206: OK +206: + exit 0 +205/309 Test #206: x86_64-rosegment ........................ Passed 0.52 sec +test 220 + Start 220: x86_64-start-stop + +220: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/start-stop.sh" +220: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +220: Test timeout computed to be: 1500 +204: + out/test/elf/x86_64/reverse-sections/exe2 +204: + grep -q 'foo5 foo6 foo3 foo4 foo1 foo2' +219: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +219: ++ export LC_ALL=C +219: ++ LC_ALL=C +219: ++++ uname -m +204: + on_exit +204: + echo OK +204: OK +204: + exit 0 +219: +++ canonical_name x86_64 +219: +++ case $1 in +219: +++ echo x86_64 +206/309 Test #204: x86_64-reverse-sections ................. Passed 0.63 sec +test 221 + Start 221: x86_64-static-archive + +221: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/static-archive.sh" +221: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +221: Test timeout computed to be: 1500 220: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/start-stop.sh 220: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 220: ++ export LC_ALL=C 220: ++ LC_ALL=C -213: + out/test/elf/x86_64/shared-abs-sym/exe1 -213: + grep -q foo=0x3 -213: + nm -D out/test/elf/x86_64/shared-abs-sym/exe1 -221: ++++ uname -m +211: + readelf -SW out/test/elf/x86_64/section-order/exe2 +211: + grep -q '\.fn2 .*00400000' +211: + readelf -sW out/test/elf/x86_64/section-order/exe2 +211: + grep -Eq ': 0+200000\s.*\s__ehdr_start$' +219: ++ HOST=x86_64 +219: ++ '[' -n '' ']' +219: ++ MACHINE=x86_64 +219: ++ '[' -n '' ']' +219: ++ CC=cc +219: ++ CXX=c++ +219: ++ GCC=gcc +219: ++ GXX=g++ +219: ++ OBJDUMP=objdump +219: ++ OBJCOPY=objcopy +219: ++ STRIP=strip +219: ++ QEMU= +219: ++ trap 'on_error $LINENO' ERR +219: ++ trap on_exit EXIT +219: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/start-stop-symbol.sh .sh +219: ++ testname=start-stop-symbol +219: ++ echo -n 'Testing start-stop-symbol ... ' +219: Testing start-stop-symbol ... ++ t=out/test/elf/x86_64/start-stop-symbol +219: ++ mkdir -p out/test/elf/x86_64/start-stop-symbol +212: + grep -q 'main fn1 fn2 0x20000000 0x10000000' +212: + out/test/elf/x86_64/section-start/exe2 +209: + ./mold -run out/test/elf/x86_64/run/ld.lld --version +221: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/static-archive.sh +221: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +221: ++ export LC_ALL=C +221: ++ LC_ALL=C 209: + grep -q '[ms]old' -209: + ./mold -run out/test/elf/x86_64/run/foo.ld --version -221: +++ canonical_name x86_64 -221: +++ case $1 in -221: +++ echo x86_64 -221: ++ HOST=x86_64 -221: ++ '[' -n '' ']' -221: ++ MACHINE=x86_64 -221: ++ '[' -n '' ']' -221: ++ CC=cc -221: ++ CXX=c++ -221: ++ GCC=gcc -221: ++ GXX=g++ -221: ++ OBJDUMP=objdump -221: ++ OBJCOPY=objcopy -221: ++ STRIP=strip -221: ++ QEMU= -221: ++ trap 'on_error $LINENO' ERR -221: ++ trap on_exit EXIT -218: + cat -218: + cc -o out/test/elf/x86_64/start-lib/c.o -c -xc - +212: + sed 's/0x[0-9a-f]*//' +211: + readelf -W --segments out/test/elf/x86_64/section-order/exe2 +211: + grep -Eq 'PHDR\s.*0x0+300000\s' +211: + cc -B. -o out/test/elf/x86_64/section-order/exe3 out/test/elf/x86_64/section-order/a.o -no-pie '-Wl,--section-order==0x200000 !ehdr_start EHDR %0x20 !rodata_start RODATA =0x300000 !phdr_start PHDR %4096 !phdr_end =0x400000 !text_start TEXT DATA BSS' 220: ++++ uname -m 220: +++ canonical_name x86_64 220: +++ case $1 in @@ -16255,54 +16281,54 @@ 220: ++ QEMU= 220: ++ trap 'on_error $LINENO' ERR 220: ++ trap on_exit EXIT -209: + cat -221: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/static-archive.sh .sh -221: ++ testname=static-archive -221: ++ echo -n 'Testing static-archive ... ' -221: Testing static-archive ... ++ t=out/test/elf/x86_64/static-archive -221: ++ mkdir -p out/test/elf/x86_64/static-archive -209: + chmod 755 out/test/elf/x86_64/run/sh 220: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/start-stop.sh .sh +212: + grep ' LOAD ' 220: ++ testname=start-stop 220: ++ echo -n 'Testing start-stop ... ' 220: Testing start-stop ... ++ t=out/test/elf/x86_64/start-stop 220: ++ mkdir -p out/test/elf/x86_64/start-stop -213: + grep -q foo out/test/elf/x86_64/shared-abs-sym/log1 -209: + ./mold -run out/test/elf/x86_64/run/sh ld --version -209: + grep -q '[ms]old' +212: + readelf -W --segments out/test/elf/x86_64/section-start/exe2 220: + cat -213: + cc -fPIC -c -o out/test/elf/x86_64/shared-abs-sym/e.o out/test/elf/x86_64/shared-abs-sym/c.c 220: + cc -c -o out/test/elf/x86_64/start-stop/a.o -xc - -221: + cc -o out/test/elf/x86_64/static-archive/long-long-long-filename.o -c -xc - -219: + ar rcs out/test/elf/x86_64/start-stop-symbol/b.a out/test/elf/x86_64/start-stop-symbol/a.o -221: + cat -214: + 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 -218: + 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 -219: + cc -c -o out/test/elf/x86_64/start-stop-symbol/c.o -xc - -211: + readelf -SW out/test/elf/x86_64/section-order/exe2 +209: + ./mold -run out/test/elf/x86_64/run/ld.gold --version +209: + grep -q '[ms]old' +221: ++++ uname -m 219: + cat -211: + grep -q '\.fn2 .*00400000' -212: + out/test/elf/x86_64/section-start/exe2 -212: + grep -q 'main fn1 fn2 0x20000000 0x10000000' -211: + readelf -sW out/test/elf/x86_64/section-order/exe2 -212: + sed 's/0x[0-9a-f]*//' -168: + cp mold-wrapper.so out/test/elf/x86_64/mold-wrapper2/bin -212: + readelf -W --segments out/test/elf/x86_64/section-start/exe2 -212: + grep ' LOAD ' -211: + grep -Eq ': 0+200000\s.*\s__ehdr_start$' -220: + cc -B. -o out/test/elf/x86_64/start-stop/exe1 out/test/elf/x86_64/start-stop/a.o -Wl,--start-stop +219: + cc -c -o out/test/elf/x86_64/start-stop-symbol/a.o -xc - 212: + diff out/test/elf/x86_64/section-start/log2 /dev/fd/63 +218: + cat +162: + cat +162: + cc -c -xc -o out/test/elf/x86_64/many-sections/b.o - +221: +++ canonical_name x86_64 +221: +++ case $1 in +221: +++ echo x86_64 +221: ++ HOST=x86_64 +221: ++ '[' -n '' ']' +221: ++ MACHINE=x86_64 +221: ++ '[' -n '' ']' +221: ++ CC=cc +221: ++ CXX=c++ +221: ++ GCC=gcc +221: ++ GXX=g++ +221: ++ OBJDUMP=objdump +221: ++ OBJCOPY=objcopy +221: ++ STRIP=strip +221: ++ QEMU= +221: ++ trap 'on_error $LINENO' ERR +221: ++ trap on_exit EXIT +221: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/static-archive.sh .sh +221: ++ testname=static-archive +221: ++ echo -n 'Testing static-archive ... ' +221: Testing static-archive ... ++ t=out/test/elf/x86_64/static-archive +221: ++ mkdir -p out/test/elf/x86_64/static-archive 212: ++ sort out/test/elf/x86_64/section-start/log2 -211: + readelf -W --segments out/test/elf/x86_64/section-order/exe2 -168: + out/test/elf/x86_64/mold-wrapper2/bin/mold -run bash -c 'echo $LD_PRELOAD' -209: + ./mold -run out/test/elf/x86_64/run/sh foo.ld --version -209: + grep -q '[ms]old' -211: + grep -Eq 'PHDR\s.*0x0+300000\s' 212: + on_exit 212: + echo OK 212: OK 212: + exit 0 -206/309 Test #212: x86_64-section-start .................... Passed 0.60 sec +218: + cc -o out/test/elf/x86_64/start-lib/c.o -c -xc - +217: + readelf --dynamic out/test/elf/x86_64/soname/b.so +207/309 Test #212: x86_64-section-start .................... Passed 0.40 sec test 222 Start 222: x86_64-static-pie @@ -16310,50 +16336,28 @@ 222: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 222: Test timeout computed to be: 1500 217: + grep -Fq 'Library soname: [foo]' -217: + readelf --dynamic out/test/elf/x86_64/soname/b.so -168: + grep -q /bin/mold-wrapper.so -211: + cc -B. -o out/test/elf/x86_64/section-order/exe3 out/test/elf/x86_64/section-order/a.o -no-pie '-Wl,--section-order==0x200000 !ehdr_start EHDR %0x20 !rodata_start RODATA =0x300000 !phdr_start PHDR %4096 !phdr_end =0x400000 !text_start TEXT DATA BSS' -222: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/static-pie.sh 217: + on_exit 217: + echo OK 217: OK 217: + exit 0 221: + cat -207/309 Test #217: x86_64-soname ........................... Passed 0.41 sec +221: + cc -o out/test/elf/x86_64/static-archive/long-long-long-filename.o -c -xc - +213: + grep -q foo=0x3 +213: + out/test/elf/x86_64/shared-abs-sym/exe1 +222: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/static-pie.sh +208/309 Test #217: x86_64-soname ........................... Passed 0.32 sec test 223 Start 223: x86_64-stdout 223: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/stdout.sh" 223: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 223: Test timeout computed to be: 1500 -221: + cc -o out/test/elf/x86_64/static-archive/b.o -c -xc - -168: + on_exit -168: + echo OK -168: OK -168: + exit 0 -209: + grep -q '[ms]old' -209: + ./mold -run out/test/elf/x86_64/run/sh out/test/elf/x86_64/run/ld --version +213: + nm -D out/test/elf/x86_64/shared-abs-sym/exe1 +213: + grep -q foo out/test/elf/x86_64/shared-abs-sym/log1 222: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 222: ++ export LC_ALL=C 222: ++ LC_ALL=C -213: + 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 -208/309 Test #168: x86_64-mold-wrapper2 .................... Passed 2.68 sec -test 224 - Start 224: x86_64-strip - -224: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/strip.sh" -224: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -224: Test timeout computed to be: 1500 222: ++++ uname -m -219: + 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 -223: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/stdout.sh -223: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -223: ++ export LC_ALL=C -223: ++ LC_ALL=C -224: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/strip.sh -224: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -224: ++ export LC_ALL=C -224: ++ LC_ALL=C 222: +++ canonical_name x86_64 222: +++ case $1 in 222: +++ echo x86_64 @@ -16371,44 +16375,39 @@ 222: ++ QEMU= 222: ++ trap 'on_error $LINENO' ERR 222: ++ trap on_exit EXIT -218: + nm out/test/elf/x86_64/start-lib/exe -214: + out/test/elf/x86_64/shared/exe -214: + grep -q hello 222: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/static-pie.sh .sh -218: + grep -q ' foo$' out/test/elf/x86_64/start-lib/log -224: ++++ uname -m -224: +++ canonical_name x86_64 -224: +++ case $1 in -224: +++ echo x86_64 222: ++ testname=static-pie 222: ++ echo -n 'Testing static-pie ... ' 222: Testing static-pie ... ++ t=out/test/elf/x86_64/static-pie 222: ++ mkdir -p out/test/elf/x86_64/static-pie -214: + grep -q fn3 -224: ++ HOST=x86_64 -224: ++ '[' -n '' ']' -224: ++ MACHINE=x86_64 -224: ++ '[' -n '' ']' -224: ++ CC=cc -224: ++ CXX=c++ -224: ++ GCC=gcc -224: ++ GXX=g++ -224: ++ OBJDUMP=objdump -224: ++ OBJCOPY=objcopy -224: ++ STRIP=strip -224: ++ QEMU= -224: ++ trap 'on_error $LINENO' ERR -224: ++ trap on_exit EXIT +222: + test_cflags -static-pie +222: + echo 'int main() {}' +222: + cc -static-pie -o /dev/null -xc - +209: + ./mold -run out/test/elf/x86_64/run/foo.ld --version +209: + grep -q '[ms]old' +209: + cat +219: + ar rcs out/test/elf/x86_64/start-stop-symbol/b.a out/test/elf/x86_64/start-stop-symbol/a.o +219: + cc -c -o out/test/elf/x86_64/start-stop-symbol/c.o -xc - +220: + cc -B. -o out/test/elf/x86_64/start-stop/exe1 out/test/elf/x86_64/start-stop/a.o -Wl,--start-stop +213: + cc -fPIC -c -o out/test/elf/x86_64/shared-abs-sym/e.o out/test/elf/x86_64/shared-abs-sym/c.c +219: + cat +209: + chmod 755 out/test/elf/x86_64/run/sh +209: + ./mold -run out/test/elf/x86_64/run/sh ld --version +209: + grep -q '[ms]old' +223: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/stdout.sh +223: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +223: ++ export LC_ALL=C +223: ++ LC_ALL=C +221: + cat +218: + 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 +214: + grep -q hello +214: + out/test/elf/x86_64/shared/exe +221: + cc -o out/test/elf/x86_64/static-archive/b.o -c -xc - 223: ++++ uname -m -214: + readelf --symbols out/test/elf/x86_64/shared/exe -214: + on_exit -214: + echo OK -214: OK -214: + exit 0 -218: + grep -q ' bar$' out/test/elf/x86_64/start-lib/log 223: +++ canonical_name x86_64 223: +++ case $1 in 223: +++ echo x86_64 +214: + readelf --symbols out/test/elf/x86_64/shared/exe 223: ++ HOST=x86_64 223: ++ '[' -n '' ']' 223: ++ MACHINE=x86_64 @@ -16423,102 +16422,169 @@ 223: ++ QEMU= 223: ++ trap 'on_error $LINENO' ERR 223: ++ trap on_exit EXIT -162: + cc -c -xc -o out/test/elf/x86_64/many-sections/b.o - -162: + cat -209/309 Test #214: x86_64-shared ........................... Passed 0.58 sec -test 225 - Start 225: x86_64-symbol-rank - -225: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/symbol-rank.sh" -225: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -225: Test timeout computed to be: 1500 -218: + on_exit -218: + echo OK -218: OK -218: + exit 0 +211: + readelf -sW out/test/elf/x86_64/section-order/exe3 +162: + 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 +211: + grep -Eq '\b0+200000 .* ehdr_start$' out/test/elf/x86_64/section-order/log3 +214: + grep -q fn3 +211: + grep -Eq '\b0+200040 .* rodata_start$' out/test/elf/x86_64/section-order/log3 +214: + on_exit +214: + echo OK +214: OK +214: + exit 0 223: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/stdout.sh .sh +209/309 Test #214: x86_64-shared ........................... Passed 0.45 sec +test 224 + Start 224: x86_64-strip + +224: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/strip.sh" +224: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +224: Test timeout computed to be: 1500 +211: + grep -Eq '\b0+300000 .* phdr_start$' out/test/elf/x86_64/section-order/log3 223: ++ testname=stdout 223: ++ echo -n 'Testing stdout ... ' 223: Testing stdout ... ++ t=out/test/elf/x86_64/stdout 223: ++ mkdir -p out/test/elf/x86_64/stdout +224: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/strip.sh +224: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +224: ++ export LC_ALL=C +224: ++ LC_ALL=C +209: + ./mold -run out/test/elf/x86_64/run/sh foo.ld --version +219: + 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 +209: + grep -q '[ms]old' 223: + cat -223: + cc -o out/test/elf/x86_64/stdout/a.o -c -xc - +211: + grep -Eq '\b0+301000 .* phdr_end$' out/test/elf/x86_64/section-order/log3 +224: ++++ uname -m +209: + grep -q '[ms]old' +209: + ./mold -run out/test/elf/x86_64/run/sh out/test/elf/x86_64/run/ld --version +224: +++ canonical_name x86_64 +224: +++ case $1 in +224: +++ echo x86_64 +224: ++ HOST=x86_64 +224: ++ '[' -n '' ']' +224: ++ MACHINE=x86_64 +224: ++ '[' -n '' ']' +224: ++ CC=cc +224: ++ CXX=c++ +224: ++ GCC=gcc +224: ++ GXX=g++ +224: ++ OBJDUMP=objdump +224: ++ OBJCOPY=objcopy +224: ++ STRIP=strip +224: ++ QEMU= +224: ++ trap 'on_error $LINENO' ERR +224: ++ trap on_exit EXIT 224: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/strip.sh .sh +213: + 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 +223: + cc -o out/test/elf/x86_64/stdout/a.o -c -xc - +211: + grep -Eq '\b0+400000 .* text_start$' out/test/elf/x86_64/section-order/log3 +211: + on_exit +211: + echo OK +211: OK +211: + exit 0 224: ++ testname=strip 224: ++ echo -n 'Testing strip ... ' 224: Testing strip ... ++ t=out/test/elf/x86_64/strip 224: ++ mkdir -p out/test/elf/x86_64/strip -224: + cat +210/309 Test #211: x86_64-section-order .................... Passed 0.58 sec +test 225 + Start 225: x86_64-symbol-rank + +225: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/symbol-rank.sh" +225: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +225: Test timeout computed to be: 1500 224: + cc -x assembler -c -o out/test/elf/x86_64/strip/a.o -Wa,-L - -222: + test_cflags -static-pie -222: + cc -static-pie -o /dev/null -xc - -222: + echo 'int main() {}' -220: + readelf -sW out/test/elf/x86_64/start-stop/exe1 -220: + grep -q __start_text -209: + ./mold -run out/test/elf/x86_64/run/sh out/test/elf/x86_64/run/ld.lld --version +224: + cat +221: + cat +221: + cc -o out/test/elf/x86_64/static-archive/c.o -c -xc - +225: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/symbol-rank.sh +224: + ./mold -o out/test/elf/x86_64/strip/exe out/test/elf/x86_64/strip/a.o 209: + grep -q '[ms]old' -210/309 Test #218: x86_64-start-lib ........................ Passed 0.47 sec +225: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +225: ++ export LC_ALL=C +225: ++ LC_ALL=C +209: + ./mold -run out/test/elf/x86_64/run/sh out/test/elf/x86_64/run/ld.lld --version +225: ++++ uname -m +225: +++ canonical_name x86_64 +225: +++ case $1 in +225: +++ echo x86_64 +225: ++ HOST=x86_64 +218: + nm out/test/elf/x86_64/start-lib/exe +225: ++ '[' -n '' ']' +225: ++ MACHINE=x86_64 +225: ++ '[' -n '' ']' +225: ++ CC=cc +225: ++ CXX=c++ +225: ++ GCC=gcc +225: ++ GXX=g++ +225: ++ OBJDUMP=objdump +225: ++ OBJCOPY=objcopy +225: ++ STRIP=strip +225: ++ QEMU= +225: ++ trap 'on_error $LINENO' ERR +225: ++ trap on_exit EXIT +218: + grep -q ' foo$' out/test/elf/x86_64/start-lib/log +224: + readelf --symbols out/test/elf/x86_64/strip/exe +225: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/symbol-rank.sh .sh +223: + cc -B. -Wl,-build-id=sha1 out/test/elf/x86_64/stdout/a.o -o - +218: + grep -q ' bar$' out/test/elf/x86_64/start-lib/log +218: + on_exit +218: + echo OK +218: OK +218: + exit 0 +221: + rm -f out/test/elf/x86_64/static-archive/d.a +220: + grep -q __start_text +225: ++ testname=symbol-rank +225: ++ echo -n 'Testing symbol-rank ... ' +225: Testing symbol-rank ... ++ t=out/test/elf/x86_64/symbol-rank +225: ++ mkdir -p out/test/elf/x86_64/symbol-rank +211/309 Test #218: x86_64-start-lib ........................ Passed 0.38 sec test 226 Start 226: x86_64-symbol-version 226: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/symbol-version.sh" 226: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 226: Test timeout computed to be: 1500 -224: + ./mold -o out/test/elf/x86_64/strip/exe out/test/elf/x86_64/strip/a.o -220: + grep -q __stop_text 220: + readelf -sW out/test/elf/x86_64/start-stop/exe1 +220: + readelf -sW out/test/elf/x86_64/start-stop/exe1 +220: + grep -q __stop_text 220: + on_exit 220: + echo OK 220: OK 220: + exit 0 -221: + cat -221: + cc -o out/test/elf/x86_64/static-archive/c.o -c -xc - -225: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/symbol-rank.sh -225: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -225: ++ export LC_ALL=C -225: ++ LC_ALL=C -211: + readelf -sW out/test/elf/x86_64/section-order/exe3 -211/309 Test #220: x86_64-start-stop ....................... Passed 0.30 sec +221: + cd out/test/elf/x86_64/static-archive +221: + ar rcs d.a long-long-long-filename.o b.o +221: + 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 +209: + grep -q '[ms]old' +209: + ./mold -run out/test/elf/x86_64/run/sh out/test/elf/x86_64/run/ld.gold --version +224: + grep -Fq _start out/test/elf/x86_64/strip/log +226: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/symbol-version.sh +212/309 Test #220: x86_64-start-stop ....................... Passed 0.27 sec test 227 Start 227: x86_64-symbol-version2 227: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/symbol-version2.sh" 227: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 227: Test timeout computed to be: 1500 -209: + ./mold -run out/test/elf/x86_64/run/sh out/test/elf/x86_64/run/ld.gold --version -209: + grep -q '[ms]old' -226: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/symbol-version.sh 226: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 226: ++ export LC_ALL=C 226: ++ LC_ALL=C -226: ++++ uname -m -211: + grep -Eq '\b0+200000 .* ehdr_start$' out/test/elf/x86_64/section-order/log3 +225: + cat 227: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/symbol-version2.sh 227: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 227: ++ export LC_ALL=C 227: ++ LC_ALL=C -225: ++++ uname -m -225: +++ canonical_name x86_64 -225: +++ case $1 in -225: +++ echo x86_64 -225: ++ HOST=x86_64 +224: + grep -Fq foo out/test/elf/x86_64/strip/log +225: + cc -o out/test/elf/x86_64/symbol-rank/a.o -c -xc - +224: + grep -Fq bar out/test/elf/x86_64/strip/log +226: ++++ uname -m +224: + '[' x86_64 '!=' riscv32 ']' +224: + '[' x86_64 '!=' riscv64 ']' +224: + grep -Fq .L.baz out/test/elf/x86_64/strip/log +222: + cc -o out/test/elf/x86_64/static-pie/a.o -c -xc - -fPIE 226: +++ canonical_name x86_64 226: +++ case $1 in 226: +++ echo x86_64 -225: ++ '[' -n '' ']' -225: ++ MACHINE=x86_64 -225: ++ '[' -n '' ']' -225: ++ CC=cc -225: ++ CXX=c++ -225: ++ GCC=gcc -225: ++ GXX=g++ -225: ++ OBJDUMP=objdump -225: ++ OBJCOPY=objcopy -225: ++ STRIP=strip -225: ++ QEMU= -211: + grep -Eq '\b0+200040 .* rodata_start$' out/test/elf/x86_64/section-order/log3 -225: ++ trap 'on_error $LINENO' ERR -225: ++ trap on_exit EXIT +224: + ./mold -o out/test/elf/x86_64/strip/exe out/test/elf/x86_64/strip/a.o -strip-all 226: ++ HOST=x86_64 226: ++ '[' -n '' ']' 226: ++ MACHINE=x86_64 @@ -16533,21 +16599,10 @@ 226: ++ QEMU= 226: ++ trap 'on_error $LINENO' ERR 226: ++ trap on_exit EXIT -219: + grep -q 'section foo section foo' -219: + out/test/elf/x86_64/start-stop-symbol/exe -226: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/symbol-version.sh .sh -162: + 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 227: ++++ uname -m -225: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/symbol-rank.sh .sh -226: ++ testname=symbol-version -226: ++ echo -n 'Testing symbol-version ... ' -226: Testing symbol-version ... ++ t=out/test/elf/x86_64/symbol-version -226: ++ mkdir -p out/test/elf/x86_64/symbol-version 227: +++ canonical_name x86_64 227: +++ case $1 in 227: +++ echo x86_64 -219: + 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 -211: + grep -Eq '\b0+300000 .* phdr_start$' out/test/elf/x86_64/section-order/log3 227: ++ HOST=x86_64 227: ++ '[' -n '' ']' 227: ++ MACHINE=x86_64 @@ -16562,92 +16617,87 @@ 227: ++ QEMU= 227: ++ trap 'on_error $LINENO' ERR 227: ++ trap on_exit EXIT -225: ++ testname=symbol-rank -225: ++ echo -n 'Testing symbol-rank ... ' -225: Testing symbol-rank ... ++ t=out/test/elf/x86_64/symbol-rank -225: ++ mkdir -p out/test/elf/x86_64/symbol-rank 227: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/symbol-version2.sh .sh +222: + cat +209: + grep -q '[ms]old' +209: + ./mold -run out/test/elf/x86_64/run/sh out/test/elf/x86_64/run/foo.ld --version +219: + out/test/elf/x86_64/start-stop-symbol/exe 227: ++ testname=symbol-version2 227: ++ echo -n 'Testing symbol-version2 ... ' 227: Testing symbol-version2 ... ++ t=out/test/elf/x86_64/symbol-version2 227: ++ mkdir -p out/test/elf/x86_64/symbol-version2 +226: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/symbol-version.sh .sh +226: ++ testname=symbol-version +226: ++ echo -n 'Testing symbol-version ... ' +226: Testing symbol-version ... ++ t=out/test/elf/x86_64/symbol-version +226: ++ mkdir -p out/test/elf/x86_64/symbol-version +219: + grep -q 'section foo section foo' +227: + cc -o out/test/elf/x86_64/symbol-version2/a.o -c -xc - +219: + 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 +227: + cat 224: + readelf --symbols out/test/elf/x86_64/strip/exe -209: + grep -q '[ms]old' -223: + cc -B. -Wl,-build-id=sha1 out/test/elf/x86_64/stdout/a.o -o - -211: + grep -Eq '\b0+301000 .* phdr_end$' out/test/elf/x86_64/section-order/log3 -211: + grep -Eq '\b0+400000 .* text_start$' out/test/elf/x86_64/section-order/log3 -209: + ./mold -run out/test/elf/x86_64/run/sh out/test/elf/x86_64/run/foo.ld --version 226: + cc -fPIC -c -o out/test/elf/x86_64/symbol-version/a.o -xc - -224: + grep -Fq _start out/test/elf/x86_64/strip/log -213: + out/test/elf/x86_64/shared-abs-sym/exe2 213: + grep -q foo=0x3 +225: + cat 226: + cat -211: + on_exit -211: + echo OK -211: OK -211: + exit 0 -212/309 Test #211: x86_64-section-order .................... Passed 0.82 sec +213: + out/test/elf/x86_64/shared-abs-sym/exe2 +224: + grep -Fq _start out/test/elf/x86_64/strip/log +225: + cc -o out/test/elf/x86_64/symbol-rank/b.o -c -xc - -fcommon +213: + nm -D out/test/elf/x86_64/shared-abs-sym/exe2 +223: + chmod 755 out/test/elf/x86_64/stdout/exe +222: + cc -B. -o out/test/elf/x86_64/static-pie/exe1 out/test/elf/x86_64/static-pie/a.o -static-pie +213: + grep -q foo out/test/elf/x86_64/shared-abs-sym/log2 +209: + on_exit +209: + echo OK +209: OK +209: + exit 0 +224: + grep -Fq foo out/test/elf/x86_64/strip/log +213/309 Test #209: x86_64-run .............................. Passed 0.83 sec test 228 Start 228: x86_64-symbol-version3 228: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/symbol-version3.sh" 228: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 228: Test timeout computed to be: 1500 -213: + nm -D out/test/elf/x86_64/shared-abs-sym/exe2 -225: + cc -o out/test/elf/x86_64/symbol-rank/a.o -c -xc - -225: + cat -221: + rm -f out/test/elf/x86_64/static-archive/d.a -227: + cat -227: + cc -o out/test/elf/x86_64/symbol-version2/a.o -c -xc - -224: + grep -Fq foo out/test/elf/x86_64/strip/log -213: + grep -q foo out/test/elf/x86_64/shared-abs-sym/log2 -228: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/symbol-version3.sh -228: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -228: ++ export LC_ALL=C -228: ++ LC_ALL=C -224: + grep -Fq bar out/test/elf/x86_64/strip/log -221: + cd out/test/elf/x86_64/static-archive -221: + ar rcs d.a long-long-long-filename.o b.o 213: + on_exit 213: + echo OK 213: OK 213: + exit 0 -213/309 Test #213: x86_64-shared-abs-sym ................... Passed 0.79 sec +223: + out/test/elf/x86_64/stdout/exe +223: + grep -q 'Hello world' +221: + grep -Fq 'static-archive/d.a(long-long-long-filename.o)' out/test/elf/x86_64/static-archive/log +214/309 Test #213: x86_64-shared-abs-sym ................... Passed 0.68 sec test 229 Start 229: x86_64-symtab-dso 229: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/symtab-dso.sh" 229: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 229: Test timeout computed to be: 1500 -224: + '[' x86_64 '!=' riscv32 ']' -224: + '[' x86_64 '!=' riscv64 ']' -224: + grep -Fq .L.baz out/test/elf/x86_64/strip/log -209: + on_exit -209: + echo OK -209: OK -209: + exit 0 -214/309 Test #209: x86_64-run .............................. Passed 0.97 sec +223: + on_exit +223: + echo OK +223: OK +223: + exit 0 +221: + grep -Fq 'static-archive/d.a(b.o)' out/test/elf/x86_64/static-archive/log +221: + grep -Fq static-archive/c.o out/test/elf/x86_64/static-archive/log +227: + cat +224: + grep -Fq bar out/test/elf/x86_64/strip/log +228: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/symbol-version3.sh +228: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +228: ++ export LC_ALL=C +228: ++ LC_ALL=C +229: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/symtab-dso.sh +215/309 Test #223: x86_64-stdout ........................... Passed 0.30 sec test 230 Start 230: x86_64-symtab-section-symbols 230: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/symtab-section-symbols.sh" 230: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 230: Test timeout computed to be: 1500 -224: + ./mold -o out/test/elf/x86_64/strip/exe out/test/elf/x86_64/strip/a.o -strip-all -229: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/symtab-dso.sh -229: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -229: ++ export LC_ALL=C -229: ++ LC_ALL=C -221: + 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 +227: + 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 228: ++++ uname -m -225: + cat -225: + cc -o out/test/elf/x86_64/symbol-rank/b.o -c -xc - -fcommon -226: + echo 'VER1 { local: *; }; VER2 { local: *; }; VER3 { local: *; };' -226: + 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 228: +++ canonical_name x86_64 228: +++ case $1 in 228: +++ echo x86_64 -230: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/symtab-section-symbols.sh 228: ++ HOST=x86_64 228: ++ '[' -n '' ']' 228: ++ MACHINE=x86_64 @@ -16663,13 +16713,35 @@ 228: ++ trap 'on_error $LINENO' ERR 228: ++ trap on_exit EXIT 228: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/symbol-version3.sh .sh +229: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +229: ++ export LC_ALL=C +229: ++ LC_ALL=C 229: ++++ uname -m -230: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -230: ++ export LC_ALL=C -230: ++ LC_ALL=C +225: + cat +162: + grep -q Hello +224: + '[' x86_64 '!=' riscv32 ']' +224: + '[' x86_64 '!=' riscv64 ']' +224: + grep -Fq .L.baz out/test/elf/x86_64/strip/log +221: + grep -q 8 +228: ++ testname=symbol-version3 +228: ++ echo -n 'Testing symbol-version3 ... ' +228: Testing symbol-version3 ... ++ t=out/test/elf/x86_64/symbol-version3 +228: ++ mkdir -p out/test/elf/x86_64/symbol-version3 +224: + on_exit +224: + echo OK +224: OK +224: + exit 0 229: +++ canonical_name x86_64 229: +++ case $1 in 229: +++ echo x86_64 +230: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/symtab-section-symbols.sh +216/309 Test #224: x86_64-strip ............................ Passed 0.24 sec +test 231 + Start 231: x86_64-symtab + +231: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/symtab.sh" +231: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +231: Test timeout computed to be: 1500 229: ++ HOST=x86_64 229: ++ '[' -n '' ']' 229: ++ MACHINE=x86_64 @@ -16684,21 +16756,20 @@ 229: ++ QEMU= 229: ++ trap 'on_error $LINENO' ERR 229: ++ trap on_exit EXIT -228: ++ testname=symbol-version3 -228: ++ echo -n 'Testing symbol-version3 ... ' -228: Testing symbol-version3 ... ++ t=out/test/elf/x86_64/symbol-version3 -228: ++ mkdir -p out/test/elf/x86_64/symbol-version3 229: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/symtab-dso.sh .sh 229: ++ testname=symtab-dso 229: ++ echo -n 'Testing symtab-dso ... ' 229: Testing symtab-dso ... ++ t=out/test/elf/x86_64/symtab-dso 229: ++ mkdir -p out/test/elf/x86_64/symtab-dso +229: + cat +230: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +230: ++ export LC_ALL=C +230: ++ LC_ALL=C 230: ++++ uname -m 230: +++ canonical_name x86_64 230: +++ case $1 in 230: +++ echo x86_64 230: ++ HOST=x86_64 -224: + readelf --symbols out/test/elf/x86_64/strip/exe 230: ++ '[' -n '' ']' 230: ++ MACHINE=x86_64 230: ++ '[' -n '' ']' @@ -16712,99 +16783,61 @@ 230: ++ QEMU= 230: ++ trap 'on_error $LINENO' ERR 230: ++ trap on_exit EXIT -230: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/symtab-section-symbols.sh .sh -224: + grep -Fq _start out/test/elf/x86_64/strip/log -224: + grep -Fq foo out/test/elf/x86_64/strip/log -230: ++ testname=symtab-section-symbols -230: ++ echo -n 'Testing symtab-section-symbols ... ' -230: Testing symtab-section-symbols ... ++ t=out/test/elf/x86_64/symtab-section-symbols -230: ++ mkdir -p out/test/elf/x86_64/symtab-section-symbols -228: + cc -o out/test/elf/x86_64/symbol-version3/a.o -c -xc - -224: + grep -Fq bar out/test/elf/x86_64/strip/log -228: + cat -229: + cat -224: + '[' x86_64 '!=' riscv32 ']' -224: + '[' x86_64 '!=' riscv64 ']' -224: + grep -Fq .L.baz out/test/elf/x86_64/strip/log -230: + cat -229: + cc -o out/test/elf/x86_64/symtab-dso/a.o -c -xc - -230: + cc -o out/test/elf/x86_64/symtab-section-symbols/a.o -c -xc - -224: + on_exit -224: + echo OK -224: OK -224: + exit 0 -215/309 Test #224: x86_64-strip ............................ Passed 0.26 sec -test 231 - Start 231: x86_64-symtab - -231: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/symtab.sh" -231: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -231: Test timeout computed to be: 1500 -227: + cat 225: + cc -o out/test/elf/x86_64/symbol-rank/c.o -c -xc - -219: + out/test/elf/x86_64/start-stop-symbol/exe -219: + grep -q 'section foo section foo' -219: + on_exit -219: + echo OK -219: OK -219: + exit 0 -225: + cat +221: + out/test/elf/x86_64/static-archive/exe +221: + on_exit +221: + echo OK +221: OK +221: + exit 0 +162: + out/test/elf/x86_64/many-sections/exe +228: + cc -o out/test/elf/x86_64/symbol-version3/a.o -c -xc - 231: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/symtab.sh -223: + chmod 755 out/test/elf/x86_64/stdout/exe -216/309 Test #219: x86_64-start-stop-symbol ................ Passed 0.56 sec +231: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +231: ++ export LC_ALL=C +231: ++ LC_ALL=C +217/309 Test #221: x86_64-static-archive ................... Passed 0.39 sec test 232 Start 232: x86_64-synthetic-symbols 232: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/synthetic-symbols.sh" 232: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 232: Test timeout computed to be: 1500 -223: + out/test/elf/x86_64/stdout/exe -223: + grep -q 'Hello world' -231: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -231: ++ export LC_ALL=C -231: ++ LC_ALL=C -227: + 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 -222: + cat -222: + cc -o out/test/elf/x86_64/static-pie/a.o -c -xc - -fPIE -232: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/synthetic-symbols.sh -231: ++++ uname -m -231: +++ canonical_name x86_64 -231: +++ case $1 in -231: +++ echo x86_64 -223: + on_exit -223: + echo OK -223: OK -223: + exit 0 -217/309 Test #223: x86_64-stdout ........................... Passed 0.32 sec +229: + cc -o out/test/elf/x86_64/symtab-dso/a.o -c -xc - +230: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/symtab-section-symbols.sh .sh +230: ++ testname=symtab-section-symbols +230: ++ echo -n 'Testing symtab-section-symbols ... ' +230: Testing symtab-section-symbols ... ++ t=out/test/elf/x86_64/symtab-section-symbols +230: ++ mkdir -p out/test/elf/x86_64/symtab-section-symbols +162: + on_exit +162: + echo OK +162: OK +162: + exit 0 +228: + cat +226: + echo 'VER1 { local: *; }; VER2 { local: *; }; VER3 { local: *; };' +226: + 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 +215: + 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 +218/309 Test #162: x86_64-many-sections .................... Passed 2.68 sec test 233 Start 233: x86_64-sysroot-linker-script 233: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/sysroot-linker-script.sh" 233: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 233: Test timeout computed to be: 1500 -231: ++ HOST=x86_64 -231: ++ '[' -n '' ']' -231: ++ MACHINE=x86_64 -231: ++ '[' -n '' ']' -231: ++ CC=cc -231: ++ CXX=c++ -231: ++ GCC=gcc -231: ++ GXX=g++ -231: ++ OBJDUMP=objdump -231: ++ OBJCOPY=objcopy -231: ++ STRIP=strip -231: ++ QEMU= -231: ++ trap 'on_error $LINENO' ERR -231: ++ trap on_exit EXIT -231: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/symtab.sh .sh +232: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/synthetic-symbols.sh 232: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 232: ++ export LC_ALL=C 232: ++ LC_ALL=C +231: ++++ uname -m +231: +++ canonical_name x86_64 +231: +++ case $1 in +231: +++ echo x86_64 232: ++++ uname -m +230: + cc -o out/test/elf/x86_64/symtab-section-symbols/a.o -c -xc - +230: + cat 232: +++ canonical_name x86_64 232: +++ case $1 in 232: +++ echo x86_64 -228: + cat +233: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/sysroot-linker-script.sh 232: ++ HOST=x86_64 232: ++ '[' -n '' ']' 232: ++ MACHINE=x86_64 @@ -16820,34 +16853,53 @@ 232: ++ trap 'on_error $LINENO' ERR 232: ++ trap on_exit EXIT 232: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/synthetic-symbols.sh .sh -221: + grep -Fq 'static-archive/d.a(long-long-long-filename.o)' out/test/elf/x86_64/static-archive/log -231: ++ testname=symtab -231: ++ echo -n 'Testing symtab ... ' -231: Testing symtab ... ++ t=out/test/elf/x86_64/symtab -231: ++ mkdir -p out/test/elf/x86_64/symtab -226: + readelf --symbols out/test/elf/x86_64/symbol-version/c.so +231: ++ HOST=x86_64 +231: ++ '[' -n '' ']' +231: ++ MACHINE=x86_64 +231: ++ '[' -n '' ']' +231: ++ CC=cc +231: ++ CXX=c++ +231: ++ GCC=gcc +231: ++ GXX=g++ +231: ++ OBJDUMP=objdump +231: ++ OBJCOPY=objcopy +231: ++ STRIP=strip +231: ++ QEMU= +231: ++ trap 'on_error $LINENO' ERR +231: ++ trap on_exit EXIT +231: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/symtab.sh .sh +233: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +233: ++ export LC_ALL=C +233: ++ LC_ALL=C +219: + out/test/elf/x86_64/start-stop-symbol/exe +219: + grep -q 'section foo section foo' 232: ++ testname=synthetic-symbols 232: ++ echo -n 'Testing synthetic-symbols ... ' 232: Testing synthetic-symbols ... ++ t=out/test/elf/x86_64/synthetic-symbols 232: ++ mkdir -p out/test/elf/x86_64/synthetic-symbols -226: + grep -Fq foo@VER1 out/test/elf/x86_64/symbol-version/log -233: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/sysroot-linker-script.sh -231: + cc -o out/test/elf/x86_64/symtab/a.o -c -x assembler - -228: + 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 -233: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -233: ++ export LC_ALL=C -233: ++ LC_ALL=C -232: + cc -c -o out/test/elf/x86_64/synthetic-symbols/a.o -xc - -226: + grep -Fq foo@VER2 out/test/elf/x86_64/symbol-version/log 232: + cat +219: + on_exit +219: + echo OK +219: OK +219: + exit 0 +232: + cc -c -o out/test/elf/x86_64/synthetic-symbols/a.o -xc - +219/309 Test #219: x86_64-start-stop-symbol ................ Passed 0.44 sec +test 234 + Start 234: x86_64-sysroot + +234: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/sysroot.sh" +234: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +234: Test timeout computed to be: 1500 +231: ++ testname=symtab +231: ++ echo -n 'Testing symtab ... ' +231: Testing symtab ... ++ t=out/test/elf/x86_64/symtab +231: ++ mkdir -p out/test/elf/x86_64/symtab +231: + cat +231: + cc -o out/test/elf/x86_64/symtab/a.o -c -x assembler - 233: ++++ uname -m 233: +++ canonical_name x86_64 233: +++ case $1 in 233: +++ echo x86_64 -221: + grep -Fq 'static-archive/d.a(b.o)' out/test/elf/x86_64/static-archive/log -231: + cat -226: + grep -Fq foo@@VER3 out/test/elf/x86_64/symbol-version/log -221: + grep -Fq static-archive/c.o out/test/elf/x86_64/static-archive/log 233: ++ HOST=x86_64 233: ++ '[' -n '' ']' 233: ++ MACHINE=x86_64 @@ -16863,59 +16915,31 @@ 233: ++ trap 'on_error $LINENO' ERR 233: ++ trap on_exit EXIT 233: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/sysroot-linker-script.sh .sh -226: + on_exit -226: + echo OK -226: OK -226: + exit 0 -218/309 Test #226: x86_64-symbol-version ................... Passed 0.28 sec -test 234 - Start 234: x86_64-sysroot - -234: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/sysroot.sh" -234: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -234: Test timeout computed to be: 1500 -225: + cat -225: + cc -o out/test/elf/x86_64/symbol-rank/d.o -c -xc - -fcommon 233: ++ testname=sysroot-linker-script 233: ++ echo -n 'Testing sysroot-linker-script ... ' 233: Testing sysroot-linker-script ... ++ t=out/test/elf/x86_64/sysroot-linker-script 233: ++ mkdir -p out/test/elf/x86_64/sysroot-linker-script -221: + out/test/elf/x86_64/static-archive/exe -221: + grep -q 8 -221: + on_exit -221: + echo OK -221: OK -221: + exit 0 -229: + cc -B. -o out/test/elf/x86_64/symtab-dso/exe out/test/elf/x86_64/symtab-dso/a.o -231: + cat -231: + cc -o out/test/elf/x86_64/symtab/b.o -c -x assembler - -219/309 Test #221: x86_64-static-archive ................... Passed 0.57 sec -test 235 - Start 235: x86_64-sysroot2 - -235: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/sysroot2.sh" -235: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -235: Test timeout computed to be: 1500 233: + cat 233: + cc -o out/test/elf/x86_64/sysroot-linker-script/a.o -c -xc - -231: + echo '{ local: module_local; global: *; };' -231: + ./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 +225: + cat +225: + cc -o out/test/elf/x86_64/symbol-rank/d.o -c -xc - -fcommon +195: + ./mold --relocatable -o out/test/elf/x86_64/relocatable-exception/c.o out/test/elf/x86_64/relocatable-exception/a.o out/test/elf/x86_64/relocatable-exception/b.o 234: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/sysroot.sh +228: + cat +231: + cc -o out/test/elf/x86_64/symtab/b.o -c -x assembler - 234: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 234: ++ export LC_ALL=C 234: ++ LC_ALL=C -232: + cc -c -o out/test/elf/x86_64/synthetic-symbols/b.o -xc - +216: + 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 232: + cat -230: + cc -B. -o out/test/elf/x86_64/symtab-section-symbols/exe out/test/elf/x86_64/symtab-section-symbols/a.o -222: + cc -B. -o out/test/elf/x86_64/static-pie/exe1 out/test/elf/x86_64/static-pie/a.o -static-pie +232: + cc -c -o out/test/elf/x86_64/synthetic-symbols/b.o -xc - +229: + cc -B. -o out/test/elf/x86_64/symtab-dso/exe out/test/elf/x86_64/symtab-dso/a.o +231: + cat 234: ++++ uname -m -235: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/sysroot2.sh -235: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -235: ++ export LC_ALL=C -235: ++ LC_ALL=C 234: +++ canonical_name x86_64 234: +++ case $1 in 234: +++ echo x86_64 +228: + 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 234: ++ HOST=x86_64 234: ++ '[' -n '' ']' 234: ++ MACHINE=x86_64 @@ -16928,88 +16952,92 @@ 234: ++ OBJCOPY=objcopy 234: ++ STRIP=strip 234: ++ QEMU= -162: + out/test/elf/x86_64/many-sections/exe -162: + grep -q Hello 234: ++ trap 'on_error $LINENO' ERR 234: ++ trap on_exit EXIT 227: + readelf -W --dyn-syms out/test/elf/x86_64/symbol-version2/c.so -162: + on_exit -162: + echo OK -162: OK -162: + exit 0 -220/309 Test #162: x86_64-many-sections .................... Passed 3.35 sec -test 236 - Start 236: x86_64-tail-call - -236: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/tail-call.sh" -236: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -236: Test timeout computed to be: 1500 +230: + cc -B. -o out/test/elf/x86_64/symtab-section-symbols/exe out/test/elf/x86_64/symtab-section-symbols/a.o +195: + c++ -B. -o out/test/elf/x86_64/relocatable-exception/exe out/test/elf/x86_64/relocatable-exception/c.o 234: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/sysroot.sh .sh +231: + echo '{ local: module_local; global: *; };' +231: + ./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 +226: + readelf --symbols out/test/elf/x86_64/symbol-version/c.so +233: + mkdir -p out/test/elf/x86_64/sysroot-linker-script/foo/bar 234: ++ testname=sysroot 234: ++ echo -n 'Testing sysroot ... ' 234: Testing sysroot ... ++ t=out/test/elf/x86_64/sysroot 234: ++ mkdir -p out/test/elf/x86_64/sysroot -234: + cat -235: ++++ uname -m -235: +++ canonical_name x86_64 -235: +++ case $1 in -235: +++ echo x86_64 -235: ++ HOST=x86_64 -235: ++ '[' -n '' ']' -235: ++ MACHINE=x86_64 -235: ++ '[' -n '' ']' -235: ++ CC=cc -235: ++ CXX=c++ -235: ++ GCC=gcc -235: ++ GXX=g++ -235: ++ OBJDUMP=objdump -235: ++ OBJCOPY=objcopy -235: ++ STRIP=strip -235: ++ QEMU= -235: ++ trap 'on_error $LINENO' ERR -235: ++ trap on_exit EXIT 227: + grep -q ' foo@TEST$' out/test/elf/x86_64/symbol-version2/log -225: + rm -f out/test/elf/x86_64/symbol-rank/x.a -225: + 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 227: + grep -q ' bar@TEST$' out/test/elf/x86_64/symbol-version2/log -235: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/sysroot2.sh .sh -231: + readelf --symbols out/test/elf/x86_64/symtab/exe -236: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tail-call.sh -235: ++ testname=sysroot2 -235: ++ echo -n 'Testing sysroot2 ... ' -235: Testing sysroot2 ... ++ t=out/test/elf/x86_64/sysroot2 -235: ++ mkdir -p out/test/elf/x86_64/sysroot2 -233: + mkdir -p out/test/elf/x86_64/sysroot-linker-script/foo/bar -234: + cc -c -o out/test/elf/x86_64/sysroot/a.o -xc - -225: + 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 -228: + readelf -W --dyn-syms out/test/elf/x86_64/symbol-version3/c.so -228: + grep -q ' foo@@TEST1$' out/test/elf/x86_64/symbol-version3/log +227: + grep -q ' bar1$' out/test/elf/x86_64/symbol-version2/log 233: + rm -f out/test/elf/x86_64/sysroot-linker-script/foo/bar/libfoo.a -236: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -236: ++ export LC_ALL=C -236: ++ LC_ALL=C +226: + grep -Fq foo@VER1 out/test/elf/x86_64/symbol-version/log +234: + cat +234: + cc -c -o out/test/elf/x86_64/sysroot/a.o -xc - +231: + readelf --symbols out/test/elf/x86_64/symtab/exe +227: + grep -q ' foo@@TEST$' out/test/elf/x86_64/symbol-version2/log +233: + ar rcs out/test/elf/x86_64/sysroot-linker-script/foo/bar/libfoo.a out/test/elf/x86_64/sysroot-linker-script/a.o 231: + grep -Eq '0 NOTYPE LOCAL DEFAULT .* local1' out/test/elf/x86_64/symtab/log -235: + mkdir -p out/test/elf/x86_64/sysroot2/bin out/test/elf/x86_64/sysroot2/sysroot/foo +226: + grep -Fq foo@VER2 out/test/elf/x86_64/symbol-version/log 231: + grep -Eq '0 NOTYPE LOCAL DEFAULT .* local2' out/test/elf/x86_64/symtab/log -228: + grep -q ' foo@TEST2$' out/test/elf/x86_64/symbol-version3/log -227: + grep -q ' bar1$' out/test/elf/x86_64/symbol-version2/log -233: + ar rcs out/test/elf/x86_64/sysroot-linker-script/foo/bar/libfoo.a out/test/elf/x86_64/sysroot-linker-script/a.o -228: + grep -q ' foo@TEST3$' out/test/elf/x86_64/symbol-version3/log +233: + cat +226: + grep -Fq foo@@VER3 out/test/elf/x86_64/symbol-version/log 231: + grep -Eq '0 NOTYPE LOCAL DEFAULT .* module_local' out/test/elf/x86_64/symtab/log +231: + grep -Eq '0 NOTYPE GLOBAL DEFAULT .* foo' out/test/elf/x86_64/symtab/log +231: + grep -Eq '0 NOTYPE GLOBAL DEFAULT .* bar' out/test/elf/x86_64/symtab/log +227: + on_exit +227: + echo OK +227: OK +227: + exit 0 +220/309 Test #227: x86_64-symbol-version2 .................. Passed 0.26 sec +test 235 + Start 235: x86_64-sysroot2 + +235: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/sysroot2.sh" +235: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +235: Test timeout computed to be: 1500 +231: + grep -Eq '0 NOTYPE GLOBAL DEFAULT .* this_is_global' out/test/elf/x86_64/symtab/log +235: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/sysroot2.sh +215: + out/test/elf/x86_64/shuffle-sections-seed/exe1 +215: + grep -q 'Hello world' +226: + on_exit +226: + echo OK +226: OK +226: + exit 0 +221/309 Test #226: x86_64-symbol-version ................... Passed 0.28 sec +test 236 + Start 236: x86_64-tail-call + +236: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/tail-call.sh" +236: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +236: Test timeout computed to be: 1500 +233: + cc -o out/test/elf/x86_64/sysroot-linker-script/c.o -c -xc - +231: + on_exit +231: + echo OK +231: OK +231: + exit 0 +225: + rm -f out/test/elf/x86_64/symbol-rank/x.a +235: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +235: ++ export LC_ALL=C +235: ++ LC_ALL=C +236: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tail-call.sh +222/309 Test #231: x86_64-symtab ........................... Passed 0.15 sec +test 237 + Start 237: x86_64-thin-archive + +237: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/thin-archive.sh" +237: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +237: Test timeout computed to be: 1500 233: + cat -227: + grep -q ' foo@@TEST$' out/test/elf/x86_64/symbol-version2/log -235: + cat +225: + 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 +236: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +236: ++ export LC_ALL=C +236: ++ LC_ALL=C 236: ++++ uname -m -228: + grep -q ' foo$' out/test/elf/x86_64/symbol-version3/log -229: + grep -q 'U puts$' +232: + 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 +215: + 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 236: +++ canonical_name x86_64 236: +++ case $1 in 236: +++ echo x86_64 -228: + on_exit -228: + echo OK -228: OK -228: + exit 0 -229: + nm out/test/elf/x86_64/symtab-dso/exe 236: ++ HOST=x86_64 236: ++ '[' -n '' ']' 236: ++ MACHINE=x86_64 @@ -17024,77 +17052,130 @@ 236: ++ QEMU= 236: ++ trap 'on_error $LINENO' ERR 236: ++ trap on_exit EXIT -227: + on_exit -227: + echo OK -227: OK -227: + exit 0 236: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tail-call.sh .sh -221/309 Test #227: x86_64-symbol-version2 .................. Passed 0.39 sec -test 237 - Start 237: x86_64-thin-archive - -237: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/thin-archive.sh" -237: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -237: Test timeout computed to be: 1500 -222/309 Test #228: x86_64-symbol-version3 .................. Passed 0.34 sec -test 238 - Start 238: x86_64-thread-count - -238: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/thread-count.sh" -238: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -238: Test timeout computed to be: 1500 +237: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/thin-archive.sh +237: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +237: ++ export LC_ALL=C +237: ++ LC_ALL=C +225: + 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 236: ++ testname=tail-call 236: ++ echo -n 'Testing tail-call ... ' 236: Testing tail-call ... ++ t=out/test/elf/x86_64/tail-call 236: ++ mkdir -p out/test/elf/x86_64/tail-call -231: + grep -Eq '0 NOTYPE GLOBAL DEFAULT .* foo' out/test/elf/x86_64/symtab/log -231: + grep -Eq '0 NOTYPE GLOBAL DEFAULT .* bar' out/test/elf/x86_64/symtab/log +237: ++++ uname -m +235: ++++ uname -m +237: +++ canonical_name x86_64 +237: +++ case $1 in +237: +++ echo x86_64 +237: ++ HOST=x86_64 +237: ++ '[' -n '' ']' +237: ++ MACHINE=x86_64 +237: ++ '[' -n '' ']' +237: ++ CC=cc +237: ++ CXX=c++ +237: ++ GCC=gcc +237: ++ GXX=g++ +237: ++ OBJDUMP=objdump +237: ++ OBJCOPY=objcopy +237: ++ STRIP=strip +237: ++ QEMU= +237: ++ trap 'on_error $LINENO' ERR +237: ++ trap on_exit EXIT +237: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/thin-archive.sh .sh +222: + out/test/elf/x86_64/static-pie/exe1 +235: +++ canonical_name x86_64 +235: +++ case $1 in +235: +++ echo x86_64 +222: + grep -q 'Hello world' +235: ++ HOST=x86_64 +235: ++ '[' -n '' ']' +235: ++ MACHINE=x86_64 +237: ++ testname=thin-archive +237: ++ echo -n 'Testing thin-archive ... ' +237: Testing thin-archive ... ++ t=out/test/elf/x86_64/thin-archive +237: ++ mkdir -p out/test/elf/x86_64/thin-archive +235: ++ '[' -n '' ']' +235: ++ CC=cc +235: ++ CXX=c++ +235: ++ GCC=gcc +235: ++ GXX=g++ +235: ++ OBJDUMP=objdump +235: ++ OBJCOPY=objcopy +235: ++ STRIP=strip +235: ++ QEMU= +235: ++ trap 'on_error $LINENO' ERR +235: ++ trap on_exit EXIT +235: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/sysroot2.sh .sh +236: + cc -O2 -o out/test/elf/x86_64/tail-call/a.o -c -xc - +236: + cat +235: ++ testname=sysroot2 +235: ++ echo -n 'Testing sysroot2 ... ' +235: Testing sysroot2 ... ++ t=out/test/elf/x86_64/sysroot2 +235: ++ mkdir -p out/test/elf/x86_64/sysroot2 +237: + cc -o out/test/elf/x86_64/thin-archive/long-long-long-filename.o -c -xc - +234: + cat +234: + cc -c -o out/test/elf/x86_64/sysroot/b.o -xc - +222: + cc -B. -o out/test/elf/x86_64/static-pie/exe2 out/test/elf/x86_64/static-pie/a.o -static-pie -Wl,--no-relax +235: + mkdir -p out/test/elf/x86_64/sysroot2/bin out/test/elf/x86_64/sysroot2/sysroot/foo +237: + cat 235: + cat +233: + 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 235: + cat 235: + cc -c -o out/test/elf/x86_64/sysroot2/sysroot/foo/x.o -xc - -233: + cat -233: + cc -o out/test/elf/x86_64/sysroot-linker-script/c.o -c -xc - -229: + on_exit -229: + echo OK -229: OK -229: + exit 0 -237: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/thin-archive.sh -223/309 Test #229: x86_64-symtab-dso ....................... Passed 0.32 sec +216: + out/test/elf/x86_64/shuffle-sections/exe1 +216: + grep -q 'Hello world' +230: + grep -q 'SECTION LOCAL DEFAULT' +230: + readelf -s out/test/elf/x86_64/symtab-section-symbols/exe +195: + out/test/elf/x86_64/relocatable-exception/exe +235: + cat +216: + 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 +230: + on_exit +230: + echo OK +230: OK +230: + exit 0 +195: 0 +223/309 Test #230: x86_64-symtab-section-symbols ........... Passed 0.23 sec +test 238 + Start 238: x86_64-thread-count + +238: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/thread-count.sh" +238: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +238: Test timeout computed to be: 1500 +195: + on_exit +195: + echo OK +195: OK +195: + exit 0 +228: + readelf -W --dyn-syms out/test/elf/x86_64/symbol-version3/c.so +228: + grep -q ' foo@@TEST1$' out/test/elf/x86_64/symbol-version3/log +238: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/thread-count.sh +224/309 Test #195: x86_64-relocatable-exception ............ Passed 1.80 sec test 239 Start 239: x86_64-tls-alignment-multi 239: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-alignment-multi.sh" 239: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 239: Test timeout computed to be: 1500 +228: + grep -q ' foo@TEST2$' out/test/elf/x86_64/symbol-version3/log 236: + cat -236: + cc -O2 -o out/test/elf/x86_64/tail-call/a.o -c -xc - -231: + grep -Eq '0 NOTYPE GLOBAL DEFAULT .* this_is_global' out/test/elf/x86_64/symtab/log -231: + on_exit -231: + echo OK -231: OK -231: + exit 0 -237: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -237: ++ export LC_ALL=C -237: ++ LC_ALL=C -238: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/thread-count.sh +236: + cc -O2 -o out/test/elf/x86_64/tail-call/b.o -c -xc - +234: + mkdir -p out/test/elf/x86_64/sysroot/foo/bar +234: + rm -f out/test/elf/x86_64/sysroot/foo/bar/libfoo.a 238: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 238: ++ export LC_ALL=C 238: ++ LC_ALL=C +237: + cat +229: + grep -q 'U puts$' +228: + grep -q ' foo@TEST3$' out/test/elf/x86_64/symbol-version3/log +232: + out/test/elf/x86_64/synthetic-symbols/exe +229: + nm out/test/elf/x86_64/symtab-dso/exe +237: + cc -o out/test/elf/x86_64/thin-archive/b.o -c -xc - 238: ++++ uname -m +239: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-alignment-multi.sh +228: + grep -q ' foo$' out/test/elf/x86_64/symbol-version3/log 238: +++ canonical_name x86_64 238: +++ case $1 in 238: +++ echo x86_64 -232: + 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 -234: + cc -c -o out/test/elf/x86_64/sysroot/b.o -xc - -234: + cat -224/309 Test #231: x86_64-symtab ........................... Passed 0.27 sec -test 240 - Start 240: x86_64-tls-common - -240: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-common.sh" -240: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -240: Test timeout computed to be: 1500 -237: ++++ uname -m +232: + grep -q '^__ehdr_start=0x40000$' out/test/elf/x86_64/synthetic-symbols/log 238: ++ HOST=x86_64 238: ++ '[' -n '' ']' 238: ++ MACHINE=x86_64 @@ -17110,88 +17191,28 @@ 238: ++ trap 'on_error $LINENO' ERR 238: ++ trap on_exit EXIT 238: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/thread-count.sh .sh +239: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +239: ++ export LC_ALL=C +239: ++ LC_ALL=C +232: + grep -q '^__executable_start=0x40000$' out/test/elf/x86_64/synthetic-symbols/log +239: ++++ uname -m +234: + 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 238: ++ testname=thread-count 238: ++ echo -n 'Testing thread-count ... ' 238: Testing thread-count ... ++ t=out/test/elf/x86_64/thread-count 238: ++ mkdir -p out/test/elf/x86_64/thread-count -222: + out/test/elf/x86_64/static-pie/exe1 -222: + grep -q 'Hello world' -222: + cc -B. -o out/test/elf/x86_64/static-pie/exe2 out/test/elf/x86_64/static-pie/a.o -static-pie -Wl,--no-relax -237: +++ canonical_name x86_64 -237: +++ case $1 in -237: +++ echo x86_64 -237: ++ HOST=x86_64 -237: ++ '[' -n '' ']' -237: ++ MACHINE=x86_64 -237: ++ '[' -n '' ']' -237: ++ CC=cc -237: ++ CXX=c++ -237: ++ GCC=gcc -237: ++ GXX=g++ -237: ++ OBJDUMP=objdump -237: ++ OBJCOPY=objcopy -237: ++ STRIP=strip -237: ++ QEMU= -237: ++ trap 'on_error $LINENO' ERR -237: ++ trap on_exit EXIT -233: + 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 -240: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-common.sh -237: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/thin-archive.sh .sh -240: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -240: ++ export LC_ALL=C -240: ++ LC_ALL=C -237: ++ testname=thin-archive -237: ++ echo -n 'Testing thin-archive ... ' -237: Testing thin-archive ... ++ t=out/test/elf/x86_64/thin-archive -237: ++ mkdir -p out/test/elf/x86_64/thin-archive -239: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-alignment-multi.sh -240: ++++ uname -m -240: +++ canonical_name x86_64 -240: +++ case $1 in -240: +++ echo x86_64 -239: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -239: ++ export LC_ALL=C -239: ++ LC_ALL=C -238: + cc -o out/test/elf/x86_64/thread-count/a.o -c -xc - -240: ++ HOST=x86_64 -240: ++ '[' -n '' ']' -240: ++ MACHINE=x86_64 -240: ++ '[' -n '' ']' -240: ++ CC=cc -240: ++ CXX=c++ -240: ++ GCC=gcc -240: ++ GXX=g++ -240: ++ OBJDUMP=objdump -240: ++ OBJCOPY=objcopy -240: ++ STRIP=strip -240: ++ QEMU= -240: ++ trap 'on_error $LINENO' ERR -240: ++ trap on_exit EXIT +228: + on_exit +228: + echo OK +228: OK +228: + exit 0 225: + grep -q '^0 0 0 5$' -238: + cat -230: + readelf -s out/test/elf/x86_64/symtab-section-symbols/exe -230: + grep -q 'SECTION LOCAL DEFAULT' -240: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-common.sh .sh -237: + cc -o out/test/elf/x86_64/thin-archive/long-long-long-filename.o -c -xc - -240: ++ testname=tls-common -240: ++ echo -n 'Testing tls-common ... ' -240: Testing tls-common ... ++ t=out/test/elf/x86_64/tls-common -240: ++ mkdir -p out/test/elf/x86_64/tls-common -237: + cat -239: ++++ uname -m -225: + out/test/elf/x86_64/symbol-rank/exe -234: + mkdir -p out/test/elf/x86_64/sysroot/foo/bar -230: + on_exit -230: + echo OK -230: OK -230: + exit 0 -225/309 Test #230: x86_64-symtab-section-symbols ........... Passed 0.38 sec -test 241 - Start 241: x86_64-tls-df-static-tls +225/309 Test #228: x86_64-symbol-version3 .................. Passed 0.29 sec +test 240 + Start 240: x86_64-tls-common -241: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-df-static-tls.sh" -241: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -241: Test timeout computed to be: 1500 +240: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-common.sh" +240: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +240: Test timeout computed to be: 1500 239: +++ canonical_name x86_64 239: +++ case $1 in 239: +++ echo x86_64 @@ -17210,46 +17231,64 @@ 239: ++ trap 'on_error $LINENO' ERR 239: ++ trap on_exit EXIT 239: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-alignment-multi.sh .sh +229: + on_exit +229: + echo OK +229: OK +229: + exit 0 +232: + grep -q '^__dso_handle=' out/test/elf/x86_64/synthetic-symbols/log +232: + grep -q '^section foo$' out/test/elf/x86_64/synthetic-symbols/log +215: + out/test/elf/x86_64/shuffle-sections-seed/exe2 +215: + grep -q 'Hello world' +215: + 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 +238: + cc -o out/test/elf/x86_64/thread-count/a.o -c -xc - +225: + out/test/elf/x86_64/symbol-rank/exe +226/309 Test #229: x86_64-symtab-dso ....................... Passed 0.28 sec +test 241 + Start 241: x86_64-tls-df-static-tls + +241: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-df-static-tls.sh" +241: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +241: Test timeout computed to be: 1500 239: ++ testname=tls-alignment-multi 239: ++ echo -n 'Testing tls-alignment-multi ... ' 239: Testing tls-alignment-multi ... ++ t=out/test/elf/x86_64/tls-alignment-multi 239: ++ mkdir -p out/test/elf/x86_64/tls-alignment-multi +232: + cat +232: + cc -c -o out/test/elf/x86_64/synthetic-symbols/c.o -xc - +238: + cat 225: + on_exit 225: + echo OK 225: OK 225: + exit 0 -234: + rm -f out/test/elf/x86_64/sysroot/foo/bar/libfoo.a -234: + 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 -240: + gcc -o out/test/elf/x86_64/tls-common/a.o -c -xassembler - -240: + cat -226/309 Test #225: x86_64-symbol-rank ...................... Passed 0.55 sec +234: + cat +234: + cc -c -o out/test/elf/x86_64/sysroot/c.o -xc - +227/309 Test #225: x86_64-symbol-rank ...................... Passed 0.47 sec test 242 Start 242: x86_64-tls-dso 242: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-dso.sh" 242: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 242: Test timeout computed to be: 1500 +239: + cat 239: + cc -fPIC -c -o out/test/elf/x86_64/tls-alignment-multi/a.o -xc - +235: + cat +235: + cc -c -o out/test/elf/x86_64/sysroot2/sysroot/foo/y.o -xc - 241: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-df-static-tls.sh +242: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-dso.sh 241: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 241: ++ export LC_ALL=C 241: ++ LC_ALL=C -236: + cc -O2 -o out/test/elf/x86_64/tail-call/b.o -c -xc - -239: + cat -236: + cat -234: + cat -235: + cc -c -o out/test/elf/x86_64/sysroot2/sysroot/foo/y.o -xc - -234: + cc -c -o out/test/elf/x86_64/sysroot/c.o -xc - -242: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-dso.sh -240: + cat -235: + cat +242: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +242: ++ export LC_ALL=C +242: ++ LC_ALL=C +240: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-common.sh +240: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +240: ++ export LC_ALL=C +240: ++ LC_ALL=C 241: ++++ uname -m 241: +++ canonical_name x86_64 241: +++ case $1 in 241: +++ echo x86_64 -242: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -242: ++ export LC_ALL=C -242: ++ LC_ALL=C 241: ++ HOST=x86_64 241: ++ '[' -n '' ']' 241: ++ MACHINE=x86_64 @@ -17264,23 +17303,38 @@ 241: ++ QEMU= 241: ++ trap 'on_error $LINENO' ERR 241: ++ trap on_exit EXIT -240: + cc -o out/test/elf/x86_64/tls-common/b.o -c -xc -std=c11 - +240: ++++ uname -m 241: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-df-static-tls.sh .sh +240: +++ canonical_name x86_64 +240: +++ case $1 in +240: +++ echo x86_64 +240: ++ HOST=x86_64 +240: ++ '[' -n '' ']' +240: ++ MACHINE=x86_64 +240: ++ '[' -n '' ']' +240: ++ CC=cc +240: ++ CXX=c++ +240: ++ GCC=gcc +240: ++ GXX=g++ +240: ++ OBJDUMP=objdump +240: ++ OBJCOPY=objcopy +240: ++ STRIP=strip +240: ++ QEMU= +240: ++ trap 'on_error $LINENO' ERR +240: ++ trap on_exit EXIT +240: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-common.sh .sh 241: ++ testname=tls-df-static-tls 241: ++ echo -n 'Testing tls-df-static-tls ... ' 241: Testing tls-df-static-tls ... ++ t=out/test/elf/x86_64/tls-df-static-tls 241: ++ mkdir -p out/test/elf/x86_64/tls-df-static-tls -232: + out/test/elf/x86_64/synthetic-symbols/exe -238: + cc -B. -o out/test/elf/x86_64/thread-count/exe out/test/elf/x86_64/thread-count/a.o -Wl,-no-threads 242: ++++ uname -m -232: + grep -q '^__ehdr_start=0x40000$' out/test/elf/x86_64/synthetic-symbols/log -233: + on_exit -233: + echo OK -233: OK -233: + exit 0 +240: ++ testname=tls-common 242: +++ canonical_name x86_64 242: +++ case $1 in 242: +++ echo x86_64 +240: ++ echo -n 'Testing tls-common ... ' +240: Testing tls-common ... ++ t=out/test/elf/x86_64/tls-common +240: ++ mkdir -p out/test/elf/x86_64/tls-common 242: ++ HOST=x86_64 242: ++ '[' -n '' ']' 242: ++ MACHINE=x86_64 @@ -17295,40 +17349,60 @@ 242: ++ QEMU= 242: ++ trap 'on_error $LINENO' ERR 242: ++ trap on_exit EXIT -241: + cat +240: + gcc -o out/test/elf/x86_64/tls-common/a.o -c -xassembler - +240: + cat +236: + cc -O2 -o out/test/elf/x86_64/tail-call/c.o -c -xc - +242: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-dso.sh .sh +242: ++ testname=tls-dso +242: ++ echo -n 'Testing tls-dso ... ' +242: Testing tls-dso ... ++ t=out/test/elf/x86_64/tls-dso +242: ++ mkdir -p out/test/elf/x86_64/tls-dso 241: + cc -fPIC -ftls-model=initial-exec -c -o out/test/elf/x86_64/tls-df-static-tls/a.o -xc - -232: + grep -q '^__executable_start=0x40000$' out/test/elf/x86_64/synthetic-symbols/log -227/309 Test #233: x86_64-sysroot-linker-script ............ Passed 0.37 sec +241: + cat +238: + cc -B. -o out/test/elf/x86_64/thread-count/exe out/test/elf/x86_64/thread-count/a.o -Wl,-no-threads +236: + cat +242: + cat +242: + cc -fPIC -shared -o out/test/elf/x86_64/tls-dso/a.so -xc - +237: + cat +237: + cc -o out/test/elf/x86_64/thin-archive/c.o -c -xc - +216: + grep -q 'Hello world' +240: + cat +234: + 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 +240: + cc -o out/test/elf/x86_64/tls-common/b.o -c -xc -std=c11 - +233: + on_exit +233: + echo OK +233: OK +233: + exit 0 +216: + out/test/elf/x86_64/shuffle-sections/exe2 +228/309 Test #233: x86_64-sysroot-linker-script ............ Passed 0.31 sec test 243 Start 243: x86_64-tls-gd-noplt 243: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-gd-noplt.sh" 243: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 243: Test timeout computed to be: 1500 -237: + cat -237: + cc -o out/test/elf/x86_64/thin-archive/b.o -c -xc - -242: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-dso.sh .sh -242: ++ testname=tls-dso -242: ++ echo -n 'Testing tls-dso ... ' -242: Testing tls-dso ... ++ t=out/test/elf/x86_64/tls-dso -242: ++ mkdir -p out/test/elf/x86_64/tls-dso -232: + grep -q '^__dso_handle=' out/test/elf/x86_64/synthetic-symbols/log -239: + cat -239: + cc -fPIC -c -o out/test/elf/x86_64/tls-alignment-multi/b.o -xc - -235: + cc -c -o out/test/elf/x86_64/sysroot2/c.o -xc - -235: + cat -242: + cc -fPIC -shared -o out/test/elf/x86_64/tls-dso/a.so -xc - -242: + cat -232: + grep -q '^section foo$' out/test/elf/x86_64/synthetic-symbols/log +232: + 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 +216: + diff out/test/elf/x86_64/shuffle-sections/exe1 out/test/elf/x86_64/shuffle-sections/exe2 243: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-gd-noplt.sh 243: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 243: ++ export LC_ALL=C 243: ++ LC_ALL=C -234: + 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 -216: + 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 +235: + cat +216: + on_exit +216: + echo OK +216: OK +216: + exit 0 +235: + cc -c -o out/test/elf/x86_64/sysroot2/c.o -xc - +229/309 Test #216: x86_64-shuffle-sections ................. Passed 1.01 sec +test 244 + Start 244: x86_64-tls-gd-to-ie + +244: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-gd-to-ie.sh" +244: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +244: Test timeout computed to be: 1500 +239: + cc -fPIC -c -o out/test/elf/x86_64/tls-alignment-multi/b.o -xc - +239: + cat 243: ++++ uname -m -232: + cat -240: + 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 243: +++ canonical_name x86_64 243: +++ case $1 in 243: +++ echo x86_64 @@ -17347,96 +17421,101 @@ 243: ++ trap 'on_error $LINENO' ERR 243: ++ trap on_exit EXIT 243: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-gd-noplt.sh .sh -232: + cc -c -o out/test/elf/x86_64/synthetic-symbols/c.o -xc - -237: + cc -o out/test/elf/x86_64/thin-archive/c.o -c -xc - -236: + cat -236: + cc -O2 -o out/test/elf/x86_64/tail-call/c.o -c -xc - +236: + 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 +237: + cc -o out/test/elf/x86_64/thin-archive/d.o -c -xc - +244: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-gd-to-ie.sh 243: ++ testname=tls-gd-noplt 243: ++ echo -n 'Testing tls-gd-noplt ... ' 243: Testing tls-gd-noplt ... ++ t=out/test/elf/x86_64/tls-gd-noplt 243: ++ mkdir -p out/test/elf/x86_64/tls-gd-noplt +244: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +244: ++ export LC_ALL=C +244: ++ LC_ALL=C 237: + cat 243: + gcc -fPIC -fno-plt -c -o out/test/elf/x86_64/tls-gd-noplt/a.o -xc - 238: + cc -B. -o out/test/elf/x86_64/thread-count/exe out/test/elf/x86_64/thread-count/a.o -Wl,-thread-count=1 +242: + cat +241: + cc -B. -shared -o out/test/elf/x86_64/tls-df-static-tls/b.so out/test/elf/x86_64/tls-df-static-tls/a.o -Wl,--relax +240: + 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 +242: + cc -c -o out/test/elf/x86_64/tls-dso/b.o -xc - +244: ++++ uname -m +244: +++ canonical_name x86_64 +244: +++ case $1 in +244: +++ echo x86_64 +244: ++ HOST=x86_64 +244: ++ '[' -n '' ']' +244: ++ MACHINE=x86_64 +244: ++ '[' -n '' ']' +244: ++ CC=cc +244: ++ CXX=c++ +244: ++ GCC=gcc +244: ++ GXX=g++ +244: ++ OBJDUMP=objdump +244: ++ OBJCOPY=objcopy +244: ++ STRIP=strip +244: ++ QEMU= +244: ++ trap 'on_error $LINENO' ERR +244: ++ trap on_exit EXIT +244: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-gd-to-ie.sh .sh 243: + cat 235: + 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 -241: + cc -B. -shared -o out/test/elf/x86_64/tls-df-static-tls/b.so out/test/elf/x86_64/tls-df-static-tls/a.o -Wl,--relax -239: + cc -B. -shared -o out/test/elf/x86_64/tls-alignment-multi/a.so out/test/elf/x86_64/tls-alignment-multi/a.o -195: + ./mold --relocatable -o out/test/elf/x86_64/relocatable-exception/c.o out/test/elf/x86_64/relocatable-exception/a.o out/test/elf/x86_64/relocatable-exception/b.o -216: + out/test/elf/x86_64/shuffle-sections/exe1 -216: + grep -q 'Hello world' +244: ++ testname=tls-gd-to-ie +244: ++ echo -n 'Testing tls-gd-to-ie ... ' +244: Testing tls-gd-to-ie ... ++ t=out/test/elf/x86_64/tls-gd-to-ie +244: ++ mkdir -p out/test/elf/x86_64/tls-gd-to-ie 222: + out/test/elf/x86_64/static-pie/exe2 -216: + 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 -242: + cc -c -o out/test/elf/x86_64/tls-dso/b.o -xc - -242: + cat +215: + grep -q 'Hello world' +215: + out/test/elf/x86_64/shuffle-sections-seed/exe3 +215: + 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 +232: + out/test/elf/x86_64/synthetic-symbols/exe 222: + grep -q 'Hello world' 222: + on_exit 222: + echo OK 222: OK 222: + exit 0 -240: + out/test/elf/x86_64/tls-common/exe -228/309 Test #222: x86_64-static-pie ....................... Passed 0.88 sec -test 244 - Start 244: x86_64-tls-gd-to-ie - -244: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-gd-to-ie.sh" -244: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -244: Test timeout computed to be: 1500 -237: + cat -237: + cc -o out/test/elf/x86_64/thin-archive/d.o -c -xc - -240: + grep -q '^foo=0$' -240: + on_exit -240: + echo OK -240: OK -240: + exit 0 -234: + 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 -229/309 Test #240: x86_64-tls-common ....................... Passed 0.32 sec +239: + cc -B. -shared -o out/test/elf/x86_64/tls-alignment-multi/a.so out/test/elf/x86_64/tls-alignment-multi/a.o +230/309 Test #222: x86_64-static-pie ....................... Passed 0.75 sec test 245 Start 245: x86_64-tls-gd 245: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-gd.sh" 245: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 245: Test timeout computed to be: 1500 -244: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-gd-to-ie.sh -195: + c++ -B. -o out/test/elf/x86_64/relocatable-exception/exe out/test/elf/x86_64/relocatable-exception/c.o -243: + cat +244: + gcc -fPIC -c -o out/test/elf/x86_64/tls-gd-to-ie/a.o -xc - +244: + cat +232: + grep -q '^end=foo$' out/test/elf/x86_64/synthetic-symbols/log +232: + grep -q '^etext=foo$' out/test/elf/x86_64/synthetic-symbols/log +234: + 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 +237: + rm -f out/test/elf/x86_64/thin-archive/d.a 245: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-gd.sh +232: + grep -q '^edata=foo$' out/test/elf/x86_64/synthetic-symbols/log +237: + cd out/test/elf/x86_64/thin-archive +237: ++ pwd 245: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 245: ++ export LC_ALL=C 245: ++ LC_ALL=C -241: + readelf --dynamic out/test/elf/x86_64/tls-df-static-tls/b.so -244: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -244: ++ export LC_ALL=C -244: ++ LC_ALL=C -243: + gcc -fPIC -fno-plt -c -o out/test/elf/x86_64/tls-gd-noplt/b.o -xc - -241: + grep -q STATIC_TLS -236: + 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 -241: + cc -B. -shared -o out/test/elf/x86_64/tls-df-static-tls/c.so out/test/elf/x86_64/tls-df-static-tls/a.o -Wl,--no-relax -235: ++ realpath out/test/elf/x86_64/sysroot2 -244: ++++ uname -m +237: + ar rcsT d.a long-long-long-filename.o b.o /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/out/test/elf/x86_64/thin-archive/c.o +232: + grep -q '^__ehdr_start=0x40000$' out/test/elf/x86_64/synthetic-symbols/log +237: + 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 +232: + grep -q '^__executable_start=0x40000$' out/test/elf/x86_64/synthetic-symbols/log +232: + grep -q '^section foo$' out/test/elf/x86_64/synthetic-symbols/log +242: + 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 245: ++++ uname -m -244: +++ canonical_name x86_64 -244: +++ case $1 in -244: +++ echo x86_64 -235: + cc -B. -o out/test/elf/x86_64/sysroot2/exe -Wl,--sysroot=/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/out/test/elf/x86_64/sysroot2/bin/../sysroot out/test/elf/x86_64/sysroot2/a.script out/test/elf/x86_64/sysroot2/sysroot/b.script out/test/elf/x86_64/sysroot2/c.o +232: + on_exit +232: + echo OK +232: OK +232: + exit 0 +231/309 Test #232: x86_64-synthetic-symbols ................ Passed 0.44 sec +test 246 + Start 246: x86_64-tls-ie + +246: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-ie.sh" +246: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +246: Test timeout computed to be: 1500 +238: + cc -B. -o out/test/elf/x86_64/thread-count/exe out/test/elf/x86_64/thread-count/a.o -Wl,-threads 245: +++ canonical_name x86_64 245: +++ case $1 in 245: +++ echo x86_64 -244: ++ HOST=x86_64 -244: ++ '[' -n '' ']' -244: ++ MACHINE=x86_64 -244: ++ '[' -n '' ']' -244: ++ CC=cc -244: ++ CXX=c++ -244: ++ GCC=gcc -244: ++ GXX=g++ -244: ++ OBJDUMP=objdump -244: ++ OBJCOPY=objcopy -244: ++ STRIP=strip -244: ++ QEMU= -244: ++ trap 'on_error $LINENO' ERR -244: ++ trap on_exit EXIT -238: + cc -B. -o out/test/elf/x86_64/thread-count/exe out/test/elf/x86_64/thread-count/a.o -Wl,-threads 245: ++ HOST=x86_64 245: ++ '[' -n '' ']' 245: ++ MACHINE=x86_64 @@ -17452,51 +17531,24 @@ 245: ++ trap 'on_error $LINENO' ERR 245: ++ trap on_exit EXIT 245: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-gd.sh .sh -242: + 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 -244: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-gd-to-ie.sh .sh -244: ++ testname=tls-gd-to-ie -244: ++ echo -n 'Testing tls-gd-to-ie ... ' -244: Testing tls-gd-to-ie ... ++ t=out/test/elf/x86_64/tls-gd-to-ie -244: ++ mkdir -p out/test/elf/x86_64/tls-gd-to-ie 245: ++ testname=tls-gd 245: ++ echo -n 'Testing tls-gd ... ' 245: Testing tls-gd ... ++ t=out/test/elf/x86_64/tls-gd 245: ++ mkdir -p out/test/elf/x86_64/tls-gd -239: + cc -B. -ldl -pthread -o out/test/elf/x86_64/tls-alignment-multi/exe out/test/elf/x86_64/tls-alignment-multi/b.o -Wl,-rpath,out/test/elf/x86_64/tls-alignment-multi -232: + 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 -245: + cat -244: + gcc -fPIC -c -o out/test/elf/x86_64/tls-gd-to-ie/a.o -xc - -244: + cat -245: + gcc -fPIC -c -o out/test/elf/x86_64/tls-gd/a.o -xc - -237: + rm -f out/test/elf/x86_64/thin-archive/d.a -241: + grep -q STATIC_TLS -237: + cd out/test/elf/x86_64/thin-archive -241: + readelf --dynamic out/test/elf/x86_64/tls-df-static-tls/c.so -215: + 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 -241: + on_exit -241: + echo OK -241: OK -241: + exit 0 -237: ++ pwd -230/309 Test #241: x86_64-tls-df-static-tls ................ Passed 0.39 sec -test 246 - Start 246: x86_64-tls-ie - -246: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-ie.sh" -246: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -246: Test timeout computed to be: 1500 -237: + ar rcsT d.a long-long-long-filename.o b.o /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/out/test/elf/x86_64/thin-archive/c.o -243: + cat -243: + gcc -fPIC -fno-plt -c -o out/test/elf/x86_64/tls-gd-noplt/c.o -xc - 246: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-ie.sh +236: + out/test/elf/x86_64/tail-call/exe +236: + grep -q 42 246: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 246: ++ export LC_ALL=C 246: ++ LC_ALL=C -237: + 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 -216: + grep -q 'Hello world' 246: ++++ uname -m -195: + out/test/elf/x86_64/relocatable-exception/exe -216: + out/test/elf/x86_64/shuffle-sections/exe2 +245: + cat +245: + gcc -fPIC -c -o out/test/elf/x86_64/tls-gd/a.o -xc - +236: + '[' x86_64 = riscv32 -o x86_64 = riscv64 ']' +236: + on_exit +236: + echo OK +236: OK +236: + exit 0 246: +++ canonical_name x86_64 246: +++ case $1 in 246: +++ echo x86_64 @@ -17514,13 +17566,10 @@ 246: ++ QEMU= 246: ++ trap 'on_error $LINENO' ERR 246: ++ trap on_exit EXIT -195: 0 -195: + on_exit -195: + echo OK -195: OK -195: + exit 0 246: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-ie.sh .sh -231/309 Test #195: x86_64-relocatable-exception ............ Passed 2.61 sec +244: + cat +244: + cc -fPIC -c -o out/test/elf/x86_64/tls-gd-to-ie/b.o -xc - +232/309 Test #236: x86_64-tail-call ........................ Passed 0.33 sec test 247 Start 247: x86_64-tls-irregular-start-addr @@ -17531,55 +17580,15 @@ 246: ++ echo -n 'Testing tls-ie ... ' 246: Testing tls-ie ... ++ t=out/test/elf/x86_64/tls-ie 246: ++ mkdir -p out/test/elf/x86_64/tls-ie -246: + gcc -fPIC -c -o out/test/elf/x86_64/tls-ie/a.o -xc - -216: + diff out/test/elf/x86_64/shuffle-sections/exe1 out/test/elf/x86_64/shuffle-sections/exe2 -216: + on_exit -216: + echo OK -216: OK -216: + exit 0 -234: + 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 -245: + cat -236: + grep -q 42 -236: + out/test/elf/x86_64/tail-call/exe -239: + out/test/elf/x86_64/tls-alignment-multi/exe -232/309 Test #216: x86_64-shuffle-sections ................. Passed 1.45 sec -test 248 - Start 248: x86_64-tls-large-alignment - -248: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-large-alignment.sh" -248: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -248: Test timeout computed to be: 1500 -246: + cat -245: + gcc -fPIC -c -o out/test/elf/x86_64/tls-gd/b.o -xc - -236: + '[' x86_64 = riscv32 -o x86_64 = riscv64 ']' -236: + on_exit -236: + echo OK -236: OK -236: + exit 0 -239: + on_exit -239: + echo OK -239: OK -239: + exit 0 -238: + cc -B. -o out/test/elf/x86_64/thread-count/exe out/test/elf/x86_64/thread-count/a.o -Wl,-threads=1 247: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-irregular-start-addr.sh -244: + cc -fPIC -c -o out/test/elf/x86_64/tls-gd-to-ie/b.o -xc - -233/309 Test #236: x86_64-tail-call ........................ Passed 0.60 sec -test 249 - Start 249: x86_64-tls-large-static-image - -249: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-large-static-image.sh" -249: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -249: Test timeout computed to be: 1500 -234/309 Test #239: x86_64-tls-alignment-multi .............. Passed 0.53 sec -test 250 - Start 250: x86_64-tls-ld-noplt - -250: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-ld-noplt.sh" -250: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -250: Test timeout computed to be: 1500 +246: + cat +246: + gcc -fPIC -c -o out/test/elf/x86_64/tls-ie/a.o -xc - 247: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 247: ++ export LC_ALL=C 247: ++ LC_ALL=C +239: + cc -B. -ldl -pthread -o out/test/elf/x86_64/tls-alignment-multi/exe out/test/elf/x86_64/tls-alignment-multi/b.o -Wl,-rpath,out/test/elf/x86_64/tls-alignment-multi +243: + cat +243: + gcc -fPIC -fno-plt -c -o out/test/elf/x86_64/tls-gd-noplt/b.o -xc - 247: ++++ uname -m 247: +++ canonical_name x86_64 247: +++ case $1 in @@ -17599,23 +17608,78 @@ 247: ++ trap 'on_error $LINENO' ERR 247: ++ trap on_exit EXIT 247: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-irregular-start-addr.sh .sh -244: + cat +247: ++ testname=tls-irregular-start-addr +247: ++ echo -n 'Testing tls-irregular-start-addr ... ' +247: Testing tls-irregular-start-addr ... ++ t=out/test/elf/x86_64/tls-irregular-start-addr +247: ++ mkdir -p out/test/elf/x86_64/tls-irregular-start-addr +244: + cc -B. -shared -o out/test/elf/x86_64/tls-gd-to-ie/c.so out/test/elf/x86_64/tls-gd-to-ie/a.o +247: + cat +240: + out/test/elf/x86_64/tls-common/exe +240: + grep -q '^foo=0$' +245: + gcc -fPIC -c -o out/test/elf/x86_64/tls-gd/b.o -xc - +240: + on_exit +240: + echo OK +240: OK +240: + exit 0 +245: + cat +233/309 Test #240: x86_64-tls-common ....................... Passed 0.27 sec +test 248 + Start 248: x86_64-tls-large-alignment + +248: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-large-alignment.sh" +248: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +248: Test timeout computed to be: 1500 +247: + cc -fPIC -c -o out/test/elf/x86_64/tls-irregular-start-addr/a.o -xc - +243: + gcc -fPIC -fno-plt -c -o out/test/elf/x86_64/tls-gd-noplt/c.o -xc - +235: ++ realpath out/test/elf/x86_64/sysroot2 +243: + cat 248: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-large-alignment.sh +242: + out/test/elf/x86_64/tls-dso/exe +242: + grep -q '5 3 5 3 5 3' +235: + cc -B. -o out/test/elf/x86_64/sysroot2/exe -Wl,--sysroot=/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/out/test/elf/x86_64/sysroot2/bin/../sysroot out/test/elf/x86_64/sysroot2/a.script out/test/elf/x86_64/sysroot2/sysroot/b.script out/test/elf/x86_64/sysroot2/c.o 248: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 248: ++ export LC_ALL=C 248: ++ LC_ALL=C -248: ++++ uname -m -243: + cc -B. -shared -o out/test/elf/x86_64/tls-gd-noplt/d.so out/test/elf/x86_64/tls-gd-noplt/b.o -242: + grep -q '5 3 5 3 5 3' -242: + out/test/elf/x86_64/tls-dso/exe +241: + readelf --dynamic out/test/elf/x86_64/tls-df-static-tls/b.so +241: + grep -q STATIC_TLS +241: + cc -B. -shared -o out/test/elf/x86_64/tls-df-static-tls/c.so out/test/elf/x86_64/tls-df-static-tls/a.o -Wl,--no-relax 242: + on_exit 242: + echo OK 242: OK 242: + exit 0 +246: + cc -B. -shared -o out/test/elf/x86_64/tls-ie/b.so out/test/elf/x86_64/tls-ie/a.o +234/309 Test #242: x86_64-tls-dso .......................... Passed 0.28 sec +test 249 + Start 249: x86_64-tls-large-static-image + +249: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-large-static-image.sh" +249: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +249: Test timeout computed to be: 1500 +234: + 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 249: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-large-static-image.sh 249: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 249: ++ export LC_ALL=C 249: ++ LC_ALL=C +248: ++++ uname -m +248: +++ canonical_name x86_64 +248: +++ case $1 in +248: +++ echo x86_64 +248: ++ HOST=x86_64 +248: ++ '[' -n '' ']' +248: ++ MACHINE=x86_64 +248: ++ '[' -n '' ']' +248: ++ CC=cc +248: ++ CXX=c++ +248: ++ GCC=gcc +248: ++ GXX=g++ +248: ++ OBJDUMP=objdump +248: ++ OBJCOPY=objcopy +248: ++ STRIP=strip +248: ++ QEMU= +248: ++ trap 'on_error $LINENO' ERR +248: ++ trap on_exit EXIT +238: + cc -B. -o out/test/elf/x86_64/thread-count/exe out/test/elf/x86_64/thread-count/a.o -Wl,-threads=1 +248: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-large-alignment.sh .sh 249: ++++ uname -m 249: +++ canonical_name x86_64 249: +++ case $1 in @@ -17634,69 +17698,100 @@ 249: ++ QEMU= 249: ++ trap 'on_error $LINENO' ERR 249: ++ trap on_exit EXIT -247: ++ testname=tls-irregular-start-addr -247: ++ echo -n 'Testing tls-irregular-start-addr ... ' -247: Testing tls-irregular-start-addr ... ++ t=out/test/elf/x86_64/tls-irregular-start-addr -247: ++ mkdir -p out/test/elf/x86_64/tls-irregular-start-addr +237: + grep -Eq 'thin-archive/d.a\(.*long-long-long-filename.o\)' out/test/elf/x86_64/thin-archive/log 249: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-large-static-image.sh .sh -235/309 Test #242: x86_64-tls-dso .......................... Passed 0.46 sec +248: ++ testname=tls-large-alignment +248: ++ echo -n 'Testing tls-large-alignment ... ' +248: Testing tls-large-alignment ... ++ t=out/test/elf/x86_64/tls-large-alignment +248: ++ mkdir -p out/test/elf/x86_64/tls-large-alignment +215: + grep -q 'Hello world' +249: ++ testname=tls-large-static-image +249: ++ echo -n 'Testing tls-large-static-image ... ' +249: Testing tls-large-static-image ... ++ t=out/test/elf/x86_64/tls-large-static-image +249: ++ mkdir -p out/test/elf/x86_64/tls-large-static-image +248: + cc -fPIC -std=c11 -c -o out/test/elf/x86_64/tls-large-alignment/a.o -xc - +237: + grep -Eq 'thin-archive/d.a\(.*/b.o\)' out/test/elf/x86_64/thin-archive/log +248: + cat +215: + out/test/elf/x86_64/shuffle-sections-seed/exe4 +215: + diff out/test/elf/x86_64/shuffle-sections-seed/exe1 out/test/elf/x86_64/shuffle-sections-seed/exe2 +249: + cat +239: + out/test/elf/x86_64/tls-alignment-multi/exe +215: + diff out/test/elf/x86_64/shuffle-sections-seed/exe2 out/test/elf/x86_64/shuffle-sections-seed/exe3 +245: + cat +245: + gcc -fPIC -c -o out/test/elf/x86_64/tls-gd/c.o -xc - +249: + cc -fPIC -c -o out/test/elf/x86_64/tls-large-static-image/a.o -xc - +215: + diff out/test/elf/x86_64/shuffle-sections-seed/exe3 out/test/elf/x86_64/shuffle-sections-seed/exe4 +237: + grep -Fq thin-archive/d.o out/test/elf/x86_64/thin-archive/log +215: + on_exit +215: + echo OK +215: OK +215: + exit 0 +235/309 Test #215: x86_64-shuffle-sections-seed ............ Passed 1.26 sec +test 250 + Start 250: x86_64-tls-ld-noplt + +250: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-ld-noplt.sh" +250: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +250: Test timeout computed to be: 1500 +237: + out/test/elf/x86_64/thin-archive/exe +237: + grep -q 15 +237: + on_exit +237: + echo OK +237: OK +237: + exit 0 +247: + cc -B. -o out/test/elf/x86_64/tls-irregular-start-addr/exe1 out/test/elf/x86_64/tls-irregular-start-addr/a.o -pie -Wl,-section-start=.tdata=0x100001 -Wl,-relax +239: + on_exit +239: + echo OK +239: OK +239: + exit 0 +235: + on_exit +235: + echo OK +235: OK +235: + exit 0 +243: + cc -B. -shared -o out/test/elf/x86_64/tls-gd-noplt/d.so out/test/elf/x86_64/tls-gd-noplt/b.o +163: + ./mold --relocatable -o out/test/elf/x86_64/many-sections2/b.o out/test/elf/x86_64/many-sections2/a.o +241: + readelf --dynamic out/test/elf/x86_64/tls-df-static-tls/c.so +241: + grep -q STATIC_TLS +241: + on_exit +241: + echo OK +241: OK +241: + exit 0 +236/309 Test #235: x86_64-sysroot2 ......................... Passed 0.48 sec test 251 Start 251: x86_64-tls-ld 251: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-ld.sh" 251: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 251: Test timeout computed to be: 1500 -247: + cc -fPIC -c -o out/test/elf/x86_64/tls-irregular-start-addr/a.o -xc - -247: + cat -249: ++ testname=tls-large-static-image -249: ++ echo -n 'Testing tls-large-static-image ... ' -249: Testing tls-large-static-image ... ++ t=out/test/elf/x86_64/tls-large-static-image -249: ++ mkdir -p out/test/elf/x86_64/tls-large-static-image -248: +++ canonical_name x86_64 -248: +++ case $1 in -248: +++ echo x86_64 -248: ++ HOST=x86_64 -248: ++ '[' -n '' ']' -248: ++ MACHINE=x86_64 -248: ++ '[' -n '' ']' -248: ++ CC=cc -248: ++ CXX=c++ -248: ++ GCC=gcc -248: ++ GXX=g++ -248: ++ OBJDUMP=objdump -248: ++ OBJCOPY=objcopy -248: ++ STRIP=strip -248: ++ QEMU= -248: ++ trap 'on_error $LINENO' ERR -248: ++ trap on_exit EXIT +237/309 Test #237: x86_64-thin-archive ..................... Passed 0.46 sec +test 252 + Start 252: x86_64-tls-le-error + +252: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-le-error.sh" +252: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +252: Test timeout computed to be: 1500 +238/309 Test #239: x86_64-tls-alignment-multi .............. Passed 0.39 sec +test 253 + Start 253: x86_64-tls-le + +253: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-le.sh" +253: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +253: Test timeout computed to be: 1500 +239/309 Test #241: x86_64-tls-df-static-tls ................ Passed 0.37 sec +test 254 + Start 254: x86_64-tls-nopic + +254: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-nopic.sh" +254: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +254: Test timeout computed to be: 1500 250: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-ld-noplt.sh -232: + out/test/elf/x86_64/synthetic-symbols/exe -251: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-ld.sh -251: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -251: ++ export LC_ALL=C -251: ++ LC_ALL=C -215: + out/test/elf/x86_64/shuffle-sections-seed/exe1 250: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 250: ++ export LC_ALL=C 250: ++ LC_ALL=C -232: + grep -q '^end=foo$' out/test/elf/x86_64/synthetic-symbols/log -244: + cc -B. -shared -o out/test/elf/x86_64/tls-gd-to-ie/c.so out/test/elf/x86_64/tls-gd-to-ie/a.o -215: + grep -q 'Hello world' -215: + 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 -248: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-large-alignment.sh .sh -248: ++ testname=tls-large-alignment -248: ++ echo -n 'Testing tls-large-alignment ... ' -248: Testing tls-large-alignment ... ++ t=out/test/elf/x86_64/tls-large-alignment -248: ++ mkdir -p out/test/elf/x86_64/tls-large-alignment -249: + cat 250: ++++ uname -m 250: +++ canonical_name x86_64 250: +++ case $1 in 250: +++ echo x86_64 -235: + on_exit -235: + echo OK -235: OK -235: + exit 0 250: ++ HOST=x86_64 250: ++ '[' -n '' ']' 250: ++ MACHINE=x86_64 @@ -17711,17 +17806,22 @@ 250: ++ QEMU= 250: ++ trap 'on_error $LINENO' ERR 250: ++ trap on_exit EXIT -246: + cc -B. -shared -o out/test/elf/x86_64/tls-ie/b.so out/test/elf/x86_64/tls-ie/a.o +250: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-ld-noplt.sh .sh +250: ++ testname=tls-ld-noplt +250: ++ echo -n 'Testing tls-ld-noplt ... ' +250: Testing tls-ld-noplt ... ++ t=out/test/elf/x86_64/tls-ld-noplt +250: ++ mkdir -p out/test/elf/x86_64/tls-ld-noplt +250: + cat +250: + gcc -fPIC -ftls-model=local-dynamic -fno-plt -c -o out/test/elf/x86_64/tls-ld-noplt/a.o -xc - +249: + cat +249: + cc -fPIC -c -o out/test/elf/x86_64/tls-large-static-image/b.o -xc - +248: + cat +248: + cc -fPIC -std=c11 -c -o out/test/elf/x86_64/tls-large-alignment/b.o -xc - +251: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-ld.sh +251: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +251: ++ export LC_ALL=C +251: ++ LC_ALL=C 251: ++++ uname -m -249: + cc -fPIC -c -o out/test/elf/x86_64/tls-large-static-image/a.o -xc - -232: + grep -q '^etext=foo$' out/test/elf/x86_64/synthetic-symbols/log -236/309 Test #235: x86_64-sysroot2 ......................... Passed 0.71 sec -test 252 - Start 252: x86_64-tls-le-error - -252: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-le-error.sh" -252: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -252: Test timeout computed to be: 1500 251: +++ canonical_name x86_64 251: +++ case $1 in 251: +++ echo x86_64 @@ -17740,37 +17840,14 @@ 251: ++ trap 'on_error $LINENO' ERR 251: ++ trap on_exit EXIT 251: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-ld.sh .sh -251: ++ testname=tls-ld -251: ++ echo -n 'Testing tls-ld ... ' -251: Testing tls-ld ... ++ t=out/test/elf/x86_64/tls-ld -251: ++ mkdir -p out/test/elf/x86_64/tls-ld -232: + grep -q '^edata=foo$' out/test/elf/x86_64/synthetic-symbols/log -232: + grep -q '^__ehdr_start=0x40000$' out/test/elf/x86_64/synthetic-symbols/log -250: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-ld-noplt.sh .sh -250: ++ testname=tls-ld-noplt -250: ++ echo -n 'Testing tls-ld-noplt ... ' -250: Testing tls-ld-noplt ... ++ t=out/test/elf/x86_64/tls-ld-noplt -250: ++ mkdir -p out/test/elf/x86_64/tls-ld-noplt 252: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-le-error.sh -238: + cc -B. -o out/test/elf/x86_64/thread-count/exe out/test/elf/x86_64/thread-count/a.o -Wl,--threads=1 252: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 252: ++ export LC_ALL=C 252: ++ LC_ALL=C -251: + cc -fPIC -ftls-model=local-dynamic -c -o out/test/elf/x86_64/tls-ld/a.o -xc - -245: + cat -245: + gcc -fPIC -c -o out/test/elf/x86_64/tls-gd/c.o -xc - -237: + grep -Eq 'thin-archive/d.a\(.*long-long-long-filename.o\)' out/test/elf/x86_64/thin-archive/log -250: + cat -232: + grep -q '^__executable_start=0x40000$' out/test/elf/x86_64/synthetic-symbols/log -248: + cat -251: + cat -250: + gcc -fPIC -ftls-model=local-dynamic -fno-plt -c -o out/test/elf/x86_64/tls-ld-noplt/a.o -xc - -232: + grep -q '^section foo$' out/test/elf/x86_64/synthetic-symbols/log 252: ++++ uname -m 252: +++ canonical_name x86_64 252: +++ case $1 in 252: +++ echo x86_64 -237: + grep -Eq 'thin-archive/d.a\(.*/b.o\)' out/test/elf/x86_64/thin-archive/log 252: ++ HOST=x86_64 252: ++ '[' -n '' ']' 252: ++ MACHINE=x86_64 @@ -17785,55 +17862,33 @@ 252: ++ QEMU= 252: ++ trap 'on_error $LINENO' ERR 252: ++ trap on_exit EXIT -248: + cc -fPIC -std=c11 -c -o out/test/elf/x86_64/tls-large-alignment/a.o -xc - 252: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-le-error.sh .sh 252: ++ testname=tls-le-error 252: ++ echo -n 'Testing tls-le-error ... ' 252: Testing tls-le-error ... ++ t=out/test/elf/x86_64/tls-le-error 252: ++ mkdir -p out/test/elf/x86_64/tls-le-error -232: + on_exit -232: + echo OK -232: OK -232: + exit 0 -249: + cc -fPIC -c -o out/test/elf/x86_64/tls-large-static-image/b.o -xc - -237/309 Test #232: x86_64-synthetic-symbols ................ Passed 0.86 sec -test 253 - Start 253: x86_64-tls-le - -253: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-le.sh" -253: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -253: Test timeout computed to be: 1500 -249: + cat -243: + 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 -237: + grep -Fq thin-archive/d.o out/test/elf/x86_64/thin-archive/log -237: + grep -q 15 -237: + out/test/elf/x86_64/thin-archive/exe -247: + cc -B. -o out/test/elf/x86_64/tls-irregular-start-addr/exe1 out/test/elf/x86_64/tls-irregular-start-addr/a.o -pie -Wl,-section-start=.tdata=0x100001 -Wl,-relax 252: + cat 252: + gcc -fPIC -c -o out/test/elf/x86_64/tls-le-error/a.o -xc - -245: + cc -B. -shared -o out/test/elf/x86_64/tls-gd/d.so out/test/elf/x86_64/tls-gd/b.o -234: + 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 -237: + on_exit +251: ++ testname=tls-ld +251: ++ echo -n 'Testing tls-ld ... ' +251: Testing tls-ld ... ++ t=out/test/elf/x86_64/tls-ld +251: ++ mkdir -p out/test/elf/x86_64/tls-ld +251: + cat +238: + cc -B. -o out/test/elf/x86_64/thread-count/exe out/test/elf/x86_64/thread-count/a.o -Wl,--threads=1 253: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-le.sh -237: + echo OK -237: OK -237: + exit 0 -238/309 Test #237: x86_64-thin-archive ..................... Passed 0.68 sec -test 254 - Start 254: x86_64-tls-nopic - -254: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-nopic.sh" -254: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -254: Test timeout computed to be: 1500 253: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 253: ++ export LC_ALL=C 253: ++ LC_ALL=C 253: ++++ uname -m +244: + cc -B. -o out/test/elf/x86_64/tls-gd-to-ie/exe1 out/test/elf/x86_64/tls-gd-to-ie/b.o out/test/elf/x86_64/tls-gd-to-ie/c.so +245: + cc -B. -shared -o out/test/elf/x86_64/tls-gd/d.so out/test/elf/x86_64/tls-gd/b.o +254: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-nopic.sh +254: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +254: ++ export LC_ALL=C +254: ++ LC_ALL=C 253: +++ canonical_name x86_64 253: +++ case $1 in 253: +++ echo x86_64 -251: + cat -254: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-nopic.sh 253: ++ HOST=x86_64 253: ++ '[' -n '' ']' 253: ++ MACHINE=x86_64 @@ -17848,32 +17903,7 @@ 253: ++ QEMU= 253: ++ trap 'on_error $LINENO' ERR 253: ++ trap on_exit EXIT -244: + cc -B. -o out/test/elf/x86_64/tls-gd-to-ie/exe1 out/test/elf/x86_64/tls-gd-to-ie/b.o out/test/elf/x86_64/tls-gd-to-ie/c.so -251: + gcc -fPIC -ftls-model=local-dynamic -c -o out/test/elf/x86_64/tls-ld/b.o -xc - -254: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -254: ++ export LC_ALL=C -254: ++ LC_ALL=C -253: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-le.sh .sh -253: ++ testname=tls-le -253: ++ echo -n 'Testing tls-le ... ' -253: Testing tls-le ... ++ t=out/test/elf/x86_64/tls-le -253: ++ mkdir -p out/test/elf/x86_64/tls-le -250: + gcc -fPIC -ftls-model=local-dynamic -fno-plt -c -o out/test/elf/x86_64/tls-ld-noplt/b.o -xc - -215: + grep -q 'Hello world' -238: + on_exit -238: + echo OK -238: OK -238: + exit 0 -215: + out/test/elf/x86_64/shuffle-sections-seed/exe2 254: ++++ uname -m -239/309 Test #238: x86_64-thread-count ..................... Passed 0.71 sec -test 255 - Start 255: x86_64-tls-pic - -255: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-pic.sh" -255: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -255: Test timeout computed to be: 1500 -215: + 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 254: +++ canonical_name x86_64 254: +++ case $1 in 254: +++ echo x86_64 @@ -17891,131 +17921,146 @@ 254: ++ QEMU= 254: ++ trap 'on_error $LINENO' ERR 254: ++ trap on_exit EXIT +248: + cat +248: + cc -fPIC -c -o out/test/elf/x86_64/tls-large-alignment/c.o -xc - +253: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-le.sh .sh +253: ++ testname=tls-le +253: ++ echo -n 'Testing tls-le ... ' +253: Testing tls-le ... ++ t=out/test/elf/x86_64/tls-le +253: ++ mkdir -p out/test/elf/x86_64/tls-le 254: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-nopic.sh .sh +251: + cc -fPIC -ftls-model=local-dynamic -c -o out/test/elf/x86_64/tls-ld/a.o -xc - +253: + gcc -fPIC -c -o out/test/elf/x86_64/tls-le/a.o -xc - +253: + cat 254: ++ testname=tls-nopic 254: ++ echo -n 'Testing tls-nopic ... ' 254: Testing tls-nopic ... ++ t=out/test/elf/x86_64/tls-nopic 254: ++ mkdir -p out/test/elf/x86_64/tls-nopic -250: + cat -248: + cc -fPIC -std=c11 -c -o out/test/elf/x86_64/tls-large-alignment/b.o -xc - -248: + cat -253: + cat -253: + gcc -fPIC -c -o out/test/elf/x86_64/tls-le/a.o -xc - -255: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-pic.sh -246: + cat 246: + gcc -c -o out/test/elf/x86_64/tls-ie/c.o -xc - -251: + cc -B. -o out/test/elf/x86_64/tls-ld/exe1 out/test/elf/x86_64/tls-ld/a.o out/test/elf/x86_64/tls-ld/b.o -Wl,-relax -255: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -255: ++ export LC_ALL=C -255: ++ LC_ALL=C +246: + cat 249: + 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 +254: + gcc -c -o out/test/elf/x86_64/tls-nopic/a.o -xc - +234: + 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 252: + cc -B. -shared -o out/test/elf/x86_64/tls-le-error/b.so out/test/elf/x86_64/tls-le-error/a.o 254: + cat -254: + gcc -c -o out/test/elf/x86_64/tls-nopic/a.o -xc - -255: ++++ uname -m -255: +++ canonical_name x86_64 -255: +++ case $1 in -255: +++ echo x86_64 -255: ++ HOST=x86_64 -255: ++ '[' -n '' ']' -255: ++ MACHINE=x86_64 -255: ++ '[' -n '' ']' -255: ++ CC=cc -255: ++ CXX=c++ -255: ++ GCC=gcc -255: ++ GXX=g++ -255: ++ OBJDUMP=objdump -255: ++ OBJCOPY=objcopy -255: ++ STRIP=strip -255: ++ QEMU= -255: ++ trap 'on_error $LINENO' ERR -255: ++ trap on_exit EXIT -255: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-pic.sh .sh -250: + 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 -255: ++ testname=tls-pic -255: ++ echo -n 'Testing tls-pic ... ' -255: Testing tls-pic ... ++ t=out/test/elf/x86_64/tls-pic -255: ++ mkdir -p out/test/elf/x86_64/tls-pic -245: + 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 -255: + gcc -fPIC -c -o out/test/elf/x86_64/tls-pic/a.o -xc - -255: + cat -248: + cat -248: + cc -fPIC -c -o out/test/elf/x86_64/tls-large-alignment/c.o -xc - -234: + cc -B. -o out/test/elf/x86_64/sysroot/exe out/test/elf/x86_64/sysroot/c.o -lfoo -247: + grep -q '^42$' +250: + cat +250: + gcc -fPIC -ftls-model=local-dynamic -fno-plt -c -o out/test/elf/x86_64/tls-ld-noplt/b.o -xc - +243: + 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 247: + out/test/elf/x86_64/tls-irregular-start-addr/exe1 +247: + grep -q '^42$' 247: + cc -B. -o out/test/elf/x86_64/tls-irregular-start-addr/exe2 out/test/elf/x86_64/tls-irregular-start-addr/a.o -pie -Wl,-section-start=.tdata=0x100001 -Wl,-no-relax +251: + cat +251: + gcc -fPIC -ftls-model=local-dynamic -c -o out/test/elf/x86_64/tls-ld/b.o -xc - +248: + cc -B. -shared -o out/test/elf/x86_64/tls-large-alignment/d.so out/test/elf/x86_64/tls-large-alignment/a.o out/test/elf/x86_64/tls-large-alignment/b.o +245: + 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 +250: + 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 +253: + gcc -fPIC -c -o out/test/elf/x86_64/tls-le/b.o -xc - +253: + cat +246: + 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 +238: + on_exit +238: + echo OK +238: OK +238: + exit 0 +240/309 Test #238: x86_64-thread-count ..................... Passed 0.53 sec +test 255 + Start 255: x86_64-tls-pic + +255: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-pic.sh" +255: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +255: Test timeout computed to be: 1500 +251: + cc -B. -o out/test/elf/x86_64/tls-ld/exe1 out/test/elf/x86_64/tls-ld/a.o out/test/elf/x86_64/tls-ld/b.o -Wl,-relax 244: + out/test/elf/x86_64/tls-gd-to-ie/exe1 -243: + 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 244: + grep -q '1 2 3' +254: + cat +254: + cc -xc -c -o out/test/elf/x86_64/tls-nopic/b.o - +253: + 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 244: + cc -B. -shared -o out/test/elf/x86_64/tls-gd-to-ie/d.so out/test/elf/x86_64/tls-gd-to-ie/a.o -Wl,-no-relax -246: + 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 -249: + grep -q '^1 2 3 0 5$' -249: + out/test/elf/x86_64/tls-large-static-image/exe -249: + on_exit -249: + echo OK -249: OK -249: + exit 0 -250: + out/test/elf/x86_64/tls-ld-noplt/exe -250: + grep -q '3 5 3 5' -240/309 Test #249: x86_64-tls-large-static-image ........... Passed 0.32 sec +234: + cc -B. -o out/test/elf/x86_64/sysroot/exe out/test/elf/x86_64/sysroot/c.o -lfoo +255: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-pic.sh +248: + cc -B. -o out/test/elf/x86_64/tls-large-alignment/exe1 out/test/elf/x86_64/tls-large-alignment/a.o out/test/elf/x86_64/tls-large-alignment/b.o out/test/elf/x86_64/tls-large-alignment/c.o +252: + grep -q 'relocation .* against `foo` can not be used when making a shared object; recompile with -fPIC' out/test/elf/x86_64/tls-le-error/log +255: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +255: ++ export LC_ALL=C +255: ++ LC_ALL=C +252: + on_exit +252: + echo OK +252: OK +252: + exit 0 +241/309 Test #252: x86_64-tls-le-error ..................... Passed 0.17 sec test 256 Start 256: x86_64-tls-small-alignment 256: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-small-alignment.sh" 256: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 256: Test timeout computed to be: 1500 -248: + cc -B. -shared -o out/test/elf/x86_64/tls-large-alignment/d.so out/test/elf/x86_64/tls-large-alignment/a.o out/test/elf/x86_64/tls-large-alignment/b.o -250: + 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 -253: + cat -253: + gcc -fPIC -c -o out/test/elf/x86_64/tls-le/b.o -xc - -256: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-small-alignment.sh -215: + grep -q 'Hello world' -254: + cc -xc -c -o out/test/elf/x86_64/tls-nopic/b.o - -215: + out/test/elf/x86_64/shuffle-sections-seed/exe3 -254: + cat -256: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -256: ++ export LC_ALL=C -256: ++ LC_ALL=C -215: + 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 -234: + 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 -255: + cc -xc -c -o out/test/elf/x86_64/tls-pic/b.o - -252: + grep -q 'relocation .* against `foo` can not be used when making a shared object; recompile with -fPIC' out/test/elf/x86_64/tls-le-error/log -255: + cat -251: + out/test/elf/x86_64/tls-ld/exe1 -251: + grep -q '3 5 3 5' -251: + cc -B. -o out/test/elf/x86_64/tls-ld/exe2 out/test/elf/x86_64/tls-ld/a.o out/test/elf/x86_64/tls-ld/b.o -Wl,-no-relax -252: + on_exit -252: + echo OK -252: OK -252: + exit 0 -241/309 Test #252: x86_64-tls-le-error ..................... Passed 0.30 sec +249: + out/test/elf/x86_64/tls-large-static-image/exe +249: + grep -q '^1 2 3 0 5$' +249: + on_exit +249: + echo OK +249: OK +249: + exit 0 +242/309 Test #249: x86_64-tls-large-static-image ........... Passed 0.24 sec test 257 Start 257: x86_64-tlsdesc-import 257: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/tlsdesc-import.sh" 257: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 257: Test timeout computed to be: 1500 +255: ++++ uname -m +255: +++ canonical_name x86_64 +255: +++ case $1 in +255: +++ echo x86_64 +256: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-small-alignment.sh +256: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +256: ++ export LC_ALL=C +256: ++ LC_ALL=C 254: + 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 -256: ++++ uname -m -244: + cc -B. -o out/test/elf/x86_64/tls-gd-to-ie/exe2 out/test/elf/x86_64/tls-gd-to-ie/b.o out/test/elf/x86_64/tls-gd-to-ie/d.so 257: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tlsdesc-import.sh 257: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 257: ++ export LC_ALL=C 257: ++ LC_ALL=C -243: + grep -q '1 2 3 4 5 6' -243: + out/test/elf/x86_64/tls-gd-noplt/exe -247: + out/test/elf/x86_64/tls-irregular-start-addr/exe2 -247: + grep -q '^42$' +256: ++++ uname -m +257: ++++ uname -m +255: ++ HOST=x86_64 +255: ++ '[' -n '' ']' +255: ++ MACHINE=x86_64 +255: ++ '[' -n '' ']' +255: ++ CC=cc +255: ++ CXX=c++ +255: ++ GCC=gcc +255: ++ GXX=g++ +255: ++ OBJDUMP=objdump +255: ++ OBJCOPY=objcopy +255: ++ STRIP=strip +255: ++ QEMU= +255: ++ trap 'on_error $LINENO' ERR +255: ++ trap on_exit EXIT +255: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-pic.sh .sh 256: +++ canonical_name x86_64 256: +++ case $1 in 256: +++ echo x86_64 +245: + cc -B. -o out/test/elf/x86_64/tls-gd/exe1 out/test/elf/x86_64/tls-gd/a.o out/test/elf/x86_64/tls-gd/d.so out/test/elf/x86_64/tls-gd/e.so +257: +++ canonical_name x86_64 +257: +++ case $1 in +257: +++ echo x86_64 +257: ++ HOST=x86_64 256: ++ HOST=x86_64 256: ++ '[' -n '' ']' +257: ++ '[' -n '' ']' +257: ++ MACHINE=x86_64 256: ++ MACHINE=x86_64 256: ++ '[' -n '' ']' 256: ++ CC=cc 256: ++ CXX=c++ +257: ++ '[' -n '' ']' +257: ++ CC=cc +257: ++ CXX=c++ +257: ++ GCC=gcc +257: ++ GXX=g++ +257: ++ OBJDUMP=objdump +257: ++ OBJCOPY=objcopy +257: ++ STRIP=strip +257: ++ QEMU= 256: ++ GCC=gcc 256: ++ GXX=g++ 256: ++ OBJDUMP=objdump @@ -18024,135 +18069,80 @@ 256: ++ QEMU= 256: ++ trap 'on_error $LINENO' ERR 256: ++ trap on_exit EXIT +257: ++ trap 'on_error $LINENO' ERR +257: ++ trap on_exit EXIT 256: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tls-small-alignment.sh .sh -247: + cc -B. -o out/test/elf/x86_64/tls-irregular-start-addr/exe3 out/test/elf/x86_64/tls-irregular-start-addr/a.o -pie -Wl,-section-start=.tdata=0x10000f -Wl,-relax +255: ++ testname=tls-pic +255: ++ echo -n 'Testing tls-pic ... ' +255: Testing tls-pic ... ++ t=out/test/elf/x86_64/tls-pic +255: ++ mkdir -p out/test/elf/x86_64/tls-pic 256: ++ testname=tls-small-alignment 256: ++ echo -n 'Testing tls-small-alignment ... ' 256: Testing tls-small-alignment ... ++ t=out/test/elf/x86_64/tls-small-alignment 256: ++ mkdir -p out/test/elf/x86_64/tls-small-alignment -245: + cc -B. -o out/test/elf/x86_64/tls-gd/exe1 out/test/elf/x86_64/tls-gd/a.o out/test/elf/x86_64/tls-gd/d.so out/test/elf/x86_64/tls-gd/e.so -253: + 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 -243: + 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 -256: + cat -257: ++++ uname -m -246: + out/test/elf/x86_64/tls-ie/exe +255: + gcc -fPIC -c -o out/test/elf/x86_64/tls-pic/a.o -xc - 256: + cc -fPIC -c -o out/test/elf/x86_64/tls-small-alignment/a.o -xassembler - -257: +++ canonical_name x86_64 -257: +++ case $1 in -257: +++ echo x86_64 -255: + 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 -257: ++ HOST=x86_64 -257: ++ '[' -n '' ']' -257: ++ MACHINE=x86_64 -257: ++ '[' -n '' ']' -257: ++ CC=cc -257: ++ CXX=c++ -246: + grep -q '^0 0 3 5 7$' -257: ++ GCC=gcc -257: ++ GXX=g++ -257: ++ OBJDUMP=objdump -257: ++ OBJCOPY=objcopy -257: ++ STRIP=strip -257: ++ QEMU= -257: ++ trap 'on_error $LINENO' ERR -257: ++ trap on_exit EXIT 257: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tlsdesc-import.sh .sh -246: + 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 +255: + cat 257: ++ testname=tlsdesc-import 257: ++ echo -n 'Testing tlsdesc-import ... ' +256: + cat 257: Testing tlsdesc-import ... ++ t=out/test/elf/x86_64/tlsdesc-import 257: ++ mkdir -p out/test/elf/x86_64/tlsdesc-import +243: + 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 +256: + cat +256: + cc -fPIC -std=c11 -c -o out/test/elf/x86_64/tls-small-alignment/b.o -xc - 257: + '[' x86_64 = x86_64 -o x86_64 = arm ']' 257: + dialect=gnu2 -256: + cc -fPIC -std=c11 -c -o out/test/elf/x86_64/tls-small-alignment/b.o -xc - -257: + gcc -fPIC -mtls-dialect=gnu2 -c -o out/test/elf/x86_64/tlsdesc-import/a.o -xc - 257: + cat +257: + gcc -fPIC -mtls-dialect=gnu2 -c -o out/test/elf/x86_64/tlsdesc-import/a.o -xc - +234: + 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 +250: + grep -q '3 5 3 5' +253: + out/test/elf/x86_64/tls-le/exe +253: + grep -q '3 5 3 5' 250: + out/test/elf/x86_64/tls-ld-noplt/exe +253: + 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 +246: + grep -q '^0 0 3 5 7$' +246: + out/test/elf/x86_64/tls-ie/exe +250: + 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 +256: + cc -fPIC -c -o out/test/elf/x86_64/tls-small-alignment/c.o -xc - +246: + 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 256: + cat -248: + cc -B. -o out/test/elf/x86_64/tls-large-alignment/exe1 out/test/elf/x86_64/tls-large-alignment/a.o out/test/elf/x86_64/tls-large-alignment/b.o out/test/elf/x86_64/tls-large-alignment/c.o -251: + out/test/elf/x86_64/tls-ld/exe2 +251: + out/test/elf/x86_64/tls-ld/exe1 251: + grep -q '3 5 3 5' -250: + grep -q '3 5 3 5' -250: + on_exit -250: + echo OK -250: OK -250: + exit 0 -251: + on_exit -251: + echo OK -242/309 Test #250: x86_64-tls-ld-noplt ..................... Passed 0.44 sec +244: + cc -B. -o out/test/elf/x86_64/tls-gd-to-ie/exe2 out/test/elf/x86_64/tls-gd-to-ie/b.o out/test/elf/x86_64/tls-gd-to-ie/d.so +255: + cat +251: + cc -B. -o out/test/elf/x86_64/tls-ld/exe2 out/test/elf/x86_64/tls-ld/a.o out/test/elf/x86_64/tls-ld/b.o -Wl,-no-relax +247: + out/test/elf/x86_64/tls-irregular-start-addr/exe2 +255: + cc -xc -c -o out/test/elf/x86_64/tls-pic/b.o - +247: + grep -q '^42$' +247: + cc -B. -o out/test/elf/x86_64/tls-irregular-start-addr/exe3 out/test/elf/x86_64/tls-irregular-start-addr/a.o -pie -Wl,-section-start=.tdata=0x10000f -Wl,-relax +248: + out/test/elf/x86_64/tls-large-alignment/exe1 +257: + gcc -fPIC -mtls-dialect=gnu2 -shared -o out/test/elf/x86_64/tlsdesc-import/b.so -xc - +257: + cat +248: + grep -q '^42 1 2 3$' +234: + on_exit +234: + echo OK +234: OK +234: + exit 0 +243/309 Test #234: x86_64-sysroot .......................... Passed 0.88 sec test 258 Start 258: x86_64-tlsdesc-static 258: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/tlsdesc-static.sh" 258: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 258: Test timeout computed to be: 1500 -251: OK -251: + exit 0 -243/309 Test #251: x86_64-tls-ld ........................... Passed 0.43 sec -test 259 - Start 259: x86_64-tlsdesc - -259: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/tlsdesc.sh" -259: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -259: Test timeout computed to be: 1500 -234: + on_exit -234: + echo OK -234: OK -234: + exit 0 +248: + cc -B. -o out/test/elf/x86_64/tls-large-alignment/exe2 out/test/elf/x86_64/tls-large-alignment/c.o out/test/elf/x86_64/tls-large-alignment/d.so +254: + grep -q '3 5 3 5' 258: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tlsdesc-static.sh +243: + out/test/elf/x86_64/tls-gd-noplt/exe +243: + grep -q '1 2 3 4 5 6' 258: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 258: ++ export LC_ALL=C 258: ++ LC_ALL=C -215: + out/test/elf/x86_64/shuffle-sections-seed/exe4 -215: + grep -q 'Hello world' -215: + diff out/test/elf/x86_64/shuffle-sections-seed/exe1 out/test/elf/x86_64/shuffle-sections-seed/exe2 -215: + diff out/test/elf/x86_64/shuffle-sections-seed/exe2 out/test/elf/x86_64/shuffle-sections-seed/exe3 -244/309 Test #234: x86_64-sysroot .......................... Passed 1.16 sec -test 260 - Start 260: x86_64-trace-symbol - -260: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/trace-symbol.sh" -260: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -260: Test timeout computed to be: 1500 -215: + diff out/test/elf/x86_64/shuffle-sections-seed/exe3 out/test/elf/x86_64/shuffle-sections-seed/exe4 -244: + grep -q '1 2 3' -244: + out/test/elf/x86_64/tls-gd-to-ie/exe2 -244: + cc -B. -shared -o out/test/elf/x86_64/tls-gd-to-ie/e.so out/test/elf/x86_64/tls-gd-to-ie/a.o -Wl,-z,nodlopen -256: + cc -fPIC -c -o out/test/elf/x86_64/tls-small-alignment/c.o -xc - -256: + cat 254: + out/test/elf/x86_64/tls-nopic/exe -254: + grep -q '3 5 3 5' -259: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tlsdesc.sh -259: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -259: ++ export LC_ALL=C -259: ++ LC_ALL=C -247: + out/test/elf/x86_64/tls-irregular-start-addr/exe3 -254: + on_exit -254: + echo OK -254: OK -254: + exit 0 -247: + grep -q '^42$' -215: + on_exit -215: + echo OK -215: OK -215: + exit 0 +243: + 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 258: ++++ uname -m -253: + grep -q '3 5 3 5' -245/309 Test #215: x86_64-shuffle-sections-seed ............ Passed 2.00 sec -test 261 - Start 261: x86_64-trace - -261: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/trace.sh" -261: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -261: Test timeout computed to be: 1500 -246/309 Test #254: x86_64-tls-nopic ........................ Passed 0.36 sec -test 262 - Start 262: x86_64-undefined - -262: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/undefined.sh" -262: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -262: Test timeout computed to be: 1500 -247: + cc -B. -o out/test/elf/x86_64/tls-irregular-start-addr/exe4 out/test/elf/x86_64/tls-irregular-start-addr/a.o -pie -Wl,-section-start=.tdata=0x10000f -Wl,-no-relax 258: +++ canonical_name x86_64 258: +++ case $1 in 258: +++ echo x86_64 @@ -18170,13 +18160,31 @@ 258: ++ QEMU= 258: ++ trap 'on_error $LINENO' ERR 258: ++ trap on_exit EXIT +254: + on_exit +254: + echo OK +254: OK +254: + exit 0 +255: + 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 +244/309 Test #254: x86_64-tls-nopic ........................ Passed 0.30 sec +test 259 + Start 259: x86_64-tlsdesc + +259: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/tlsdesc.sh" +259: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +259: Test timeout computed to be: 1500 258: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tlsdesc-static.sh .sh 258: ++ testname=tlsdesc-static 258: ++ echo -n 'Testing tlsdesc-static ... ' 258: Testing tlsdesc-static ... ++ t=out/test/elf/x86_64/tlsdesc-static 258: ++ mkdir -p out/test/elf/x86_64/tlsdesc-static -253: + out/test/elf/x86_64/tls-le/exe -253: + 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 +256: + cc -B. -shared -o out/test/elf/x86_64/tls-small-alignment/d.so out/test/elf/x86_64/tls-small-alignment/a.o out/test/elf/x86_64/tls-small-alignment/b.o +259: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tlsdesc.sh +259: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +259: ++ export LC_ALL=C +259: ++ LC_ALL=C +258: + test_cflags -static +258: + echo 'int main() {}' +258: + cc -static -o /dev/null -xc - 259: ++++ uname -m 259: +++ canonical_name x86_64 259: +++ case $1 in @@ -18195,31 +18203,74 @@ 259: ++ QEMU= 259: ++ trap 'on_error $LINENO' ERR 259: ++ trap on_exit EXIT -257: + cat -257: + gcc -fPIC -mtls-dialect=gnu2 -shared -o out/test/elf/x86_64/tlsdesc-import/b.so -xc - +259: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tlsdesc.sh .sh +259: ++ testname=tlsdesc +259: ++ echo -n 'Testing tlsdesc ... ' +259: Testing tlsdesc ... ++ t=out/test/elf/x86_64/tlsdesc +259: ++ mkdir -p out/test/elf/x86_64/tlsdesc +259: + '[' x86_64 = x86_64 -o x86_64 = arm ']' +259: + dialect=gnu2 +259: + cat +250: + grep -q '3 5 3 5' +250: + out/test/elf/x86_64/tls-ld-noplt/exe +257: + 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 +253: + out/test/elf/x86_64/tls-le/exe +250: + on_exit +250: + echo OK +250: OK +250: + exit 0 +245/309 Test #250: x86_64-tls-ld-noplt ..................... Passed 0.38 sec +test 260 + Start 260: x86_64-trace-symbol + +260: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/trace-symbol.sh" +260: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +260: Test timeout computed to be: 1500 +253: + grep -q '3 5 3 5' +246: + out/test/elf/x86_64/tls-ie/exe +246: + grep -q '^0 0 3 5 7$' +253: + on_exit +253: + echo OK +253: OK +253: + exit 0 +246/309 Test #253: x86_64-tls-le ........................... Passed 0.35 sec +test 261 + Start 261: x86_64-trace + +261: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/trace.sh" +261: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +261: Test timeout computed to be: 1500 +246: + on_exit +246: + echo OK +246: OK +246: + exit 0 260: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/trace-symbol.sh 260: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 260: ++ export LC_ALL=C 260: ++ LC_ALL=C -243: + out/test/elf/x86_64/tls-gd-noplt/exe -243: + grep -q '1 2 3 4 5 6' +259: + gcc -fPIC -mtls-dialect=gnu2 -c -o out/test/elf/x86_64/tlsdesc/a.o -xc - +245: + grep -q '1 2 3 4 5 6' +245: + out/test/elf/x86_64/tls-gd/exe1 +247/309 Test #246: x86_64-tls-ie ........................... Passed 0.54 sec +test 262 + Start 262: x86_64-undefined + +262: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/undefined.sh" +262: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +262: Test timeout computed to be: 1500 261: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/trace.sh -243: + on_exit -243: + echo OK -243: OK -243: + exit 0 261: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 261: ++ export LC_ALL=C 261: ++ LC_ALL=C -259: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/tlsdesc.sh .sh -247/309 Test #243: x86_64-tls-gd-noplt ..................... Passed 0.88 sec -test 263 - Start 263: x86_64-unresolved-symbols - -263: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/unresolved-symbols.sh" -263: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -263: Test timeout computed to be: 1500 +262: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/undefined.sh +247: + out/test/elf/x86_64/tls-irregular-start-addr/exe3 +245: + cc -B. -o out/test/elf/x86_64/tls-gd/exe2 out/test/elf/x86_64/tls-gd/a.o out/test/elf/x86_64/tls-gd/d.so out/test/elf/x86_64/tls-gd/e.so -Wl,-no-relax 260: ++++ uname -m +261: ++++ uname -m +262: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +262: ++ export LC_ALL=C +262: ++ LC_ALL=C +262: ++++ uname -m 260: +++ canonical_name x86_64 260: +++ case $1 in 260: +++ echo x86_64 @@ -18237,26 +18288,6 @@ 260: ++ QEMU= 260: ++ trap 'on_error $LINENO' ERR 260: ++ trap on_exit EXIT -260: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/trace-symbol.sh .sh -259: ++ testname=tlsdesc -259: ++ echo -n 'Testing tlsdesc ... ' -259: Testing tlsdesc ... ++ t=out/test/elf/x86_64/tlsdesc -259: ++ mkdir -p out/test/elf/x86_64/tlsdesc -259: + '[' x86_64 = x86_64 -o x86_64 = arm ']' -259: + dialect=gnu2 -259: + cat -245: + out/test/elf/x86_64/tls-gd/exe1 -245: + grep -q '1 2 3 4 5 6' -245: + cc -B. -o out/test/elf/x86_64/tls-gd/exe2 out/test/elf/x86_64/tls-gd/a.o out/test/elf/x86_64/tls-gd/d.so out/test/elf/x86_64/tls-gd/e.so -Wl,-no-relax -255: + out/test/elf/x86_64/tls-pic/exe -255: + grep -q '3 5 3 5' -262: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/undefined.sh -262: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -262: ++ export LC_ALL=C -262: ++ LC_ALL=C -258: + test_cflags -static -258: + echo 'int main() {}' -261: ++++ uname -m 261: +++ canonical_name x86_64 261: +++ case $1 in 261: +++ echo x86_64 @@ -18274,23 +18305,8 @@ 261: ++ QEMU= 261: ++ trap 'on_error $LINENO' ERR 261: ++ trap on_exit EXIT -260: ++ testname=trace-symbol -260: ++ echo -n 'Testing trace-symbol ... ' -260: Testing trace-symbol ... ++ t=out/test/elf/x86_64/trace-symbol -260: ++ mkdir -p out/test/elf/x86_64/trace-symbol -255: + on_exit -255: + echo OK -255: OK -255: + exit 0 -262: ++++ uname -m -263: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/unresolved-symbols.sh -248/309 Test #255: x86_64-tls-pic .......................... Passed 0.36 sec -test 264 - Start 264: x86_64-verbose - -264: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/verbose.sh" -264: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -264: Test timeout computed to be: 1500 +261: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/trace.sh .sh +247: + grep -q '^42$' 262: +++ canonical_name x86_64 262: +++ case $1 in 262: +++ echo x86_64 @@ -18308,32 +18324,62 @@ 262: ++ QEMU= 262: ++ trap 'on_error $LINENO' ERR 262: ++ trap on_exit EXIT +247: + cc -B. -o out/test/elf/x86_64/tls-irregular-start-addr/exe4 out/test/elf/x86_64/tls-irregular-start-addr/a.o -pie -Wl,-section-start=.tdata=0x10000f -Wl,-no-relax 262: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/undefined.sh .sh +248: + grep -q '^42 1 2 3$' +248: + out/test/elf/x86_64/tls-large-alignment/exe2 262: ++ testname=undefined 262: ++ echo -n 'Testing undefined ... ' 262: Testing undefined ... ++ t=out/test/elf/x86_64/undefined 262: ++ mkdir -p out/test/elf/x86_64/undefined -261: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/trace.sh .sh +251: + grep -q '3 5 3 5' +260: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/trace-symbol.sh .sh 261: ++ testname=trace 261: ++ echo -n 'Testing trace ... ' 261: Testing trace ... ++ t=out/test/elf/x86_64/trace 261: ++ mkdir -p out/test/elf/x86_64/trace +260: ++ testname=trace-symbol +260: ++ echo -n 'Testing trace-symbol ... ' +260: Testing trace-symbol ... ++ t=out/test/elf/x86_64/trace-symbol +260: ++ mkdir -p out/test/elf/x86_64/trace-symbol +248: + on_exit +248: + echo OK +248: OK +248: + exit 0 +251: + out/test/elf/x86_64/tls-ld/exe2 +248/309 Test #248: x86_64-tls-large-alignment .............. Passed 0.49 sec +test 263 + Start 263: x86_64-unresolved-symbols + +263: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/unresolved-symbols.sh" +263: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +263: Test timeout computed to be: 1500 +262: + test_cflags -static +262: + echo 'int main() {}' +261: + cc -c -o out/test/elf/x86_64/trace/a.o -xc - 261: + cat -256: + cc -B. -shared -o out/test/elf/x86_64/tls-small-alignment/d.so out/test/elf/x86_64/tls-small-alignment/a.o out/test/elf/x86_64/tls-small-alignment/b.o +251: + on_exit +251: + echo OK +251: OK +251: + exit 0 +262: + cc -static -o /dev/null -xc - +249/309 Test #251: x86_64-tls-ld ........................... Passed 0.41 sec +test 264 + Start 264: x86_64-verbose + +264: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/verbose.sh" +264: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +264: Test timeout computed to be: 1500 +263: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/unresolved-symbols.sh 263: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 263: ++ export LC_ALL=C 263: ++ LC_ALL=C -259: + gcc -fPIC -mtls-dialect=gnu2 -c -o out/test/elf/x86_64/tlsdesc/a.o -xc - -258: + cc -static -o /dev/null -xc - -264: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/verbose.sh -264: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -264: ++ export LC_ALL=C -264: ++ LC_ALL=C 263: ++++ uname -m 260: + cat -248: + grep -q '^42 1 2 3$' -261: + cc -c -o out/test/elf/x86_64/trace/a.o -xc - -262: + test_cflags -static +260: + cc -c -o out/test/elf/x86_64/trace-symbol/a.o -xc - +244: + out/test/elf/x86_64/tls-gd-to-ie/exe2 +244: + grep -q '1 2 3' +264: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/verbose.sh 263: +++ canonical_name x86_64 263: +++ case $1 in 263: +++ echo x86_64 @@ -18351,15 +18397,31 @@ 263: ++ QEMU= 263: ++ trap 'on_error $LINENO' ERR 263: ++ trap on_exit EXIT -260: + cc -c -o out/test/elf/x86_64/trace-symbol/a.o -xc - -262: + cc -static -o /dev/null -xc - +264: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +264: ++ export LC_ALL=C +264: ++ LC_ALL=C +243: + out/test/elf/x86_64/tls-gd-noplt/exe +243: + grep -q '1 2 3 4 5 6' +263: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/unresolved-symbols.sh .sh +263: ++ testname=unresolved-symbols +263: ++ echo -n 'Testing unresolved-symbols ... ' +263: Testing unresolved-symbols ... ++ t=out/test/elf/x86_64/unresolved-symbols +263: ++ mkdir -p out/test/elf/x86_64/unresolved-symbols +243: + on_exit +243: + echo OK +243: OK +243: + exit 0 264: ++++ uname -m -248: + out/test/elf/x86_64/tls-large-alignment/exe1 +250/309 Test #243: x86_64-tls-gd-noplt ..................... Passed 0.71 sec +test 265 + Start 265: x86_64-version-script-search-paths + +265: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script-search-paths.sh" +265: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +265: Test timeout computed to be: 1500 264: +++ canonical_name x86_64 264: +++ case $1 in 264: +++ echo x86_64 -246: + grep -q '^0 0 3 5 7$' -262: + echo 'int main() {}' 264: ++ HOST=x86_64 264: ++ '[' -n '' ']' 264: ++ MACHINE=x86_64 @@ -18374,71 +18436,40 @@ 264: ++ QEMU= 264: ++ trap 'on_error $LINENO' ERR 264: ++ trap on_exit EXIT -263: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/unresolved-symbols.sh .sh -263: ++ testname=unresolved-symbols -263: ++ echo -n 'Testing unresolved-symbols ... ' -263: Testing unresolved-symbols ... ++ t=out/test/elf/x86_64/unresolved-symbols -263: ++ mkdir -p out/test/elf/x86_64/unresolved-symbols -248: + cc -B. -o out/test/elf/x86_64/tls-large-alignment/exe2 out/test/elf/x86_64/tls-large-alignment/c.o out/test/elf/x86_64/tls-large-alignment/d.so 264: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/verbose.sh .sh 264: ++ testname=verbose 264: ++ echo -n 'Testing verbose ... ' 264: Testing verbose ... ++ t=out/test/elf/x86_64/verbose 264: ++ mkdir -p out/test/elf/x86_64/verbose -244: + cc -B. -o out/test/elf/x86_64/tls-gd-to-ie/exe3 out/test/elf/x86_64/tls-gd-to-ie/b.o out/test/elf/x86_64/tls-gd-to-ie/e.so +259: + cat +259: + gcc -fPIC -mtls-dialect=gnu2 -c -o out/test/elf/x86_64/tlsdesc/b.o -xc - 263: + cat -246: + out/test/elf/x86_64/tls-ie/exe -264: + cat -257: + 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 -246: + on_exit -246: + echo OK -246: OK -246: + exit 0 -249/309 Test #246: x86_64-tls-ie ........................... Passed 0.67 sec -test 265 - Start 265: x86_64-version-script-search-paths - -265: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script-search-paths.sh" -265: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -265: Test timeout computed to be: 1500 -247: + out/test/elf/x86_64/tls-irregular-start-addr/exe4 -247: + grep -q '^42$' -247: + on_exit -247: + echo OK -247: OK -247: + exit 0 263: + cc -c -o out/test/elf/x86_64/unresolved-symbols/a.o -xc - -264: + cc -c -xc -o out/test/elf/x86_64/verbose/a.o - -250/309 Test #247: x86_64-tls-irregular-start-addr ......... Passed 0.66 sec +256: + cc -B. -o out/test/elf/x86_64/tls-small-alignment/exe1 out/test/elf/x86_64/tls-small-alignment/a.o out/test/elf/x86_64/tls-small-alignment/b.o out/test/elf/x86_64/tls-small-alignment/c.o +244: + cc -B. -shared -o out/test/elf/x86_64/tls-gd-to-ie/e.so out/test/elf/x86_64/tls-gd-to-ie/a.o -Wl,-z,nodlopen +255: + out/test/elf/x86_64/tls-pic/exe +255: + grep -q '3 5 3 5' +255: + on_exit +255: + echo OK +255: OK +255: + exit 0 +265: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script-search-paths.sh +251/309 Test #255: x86_64-tls-pic .......................... Passed 0.30 sec test 266 Start 266: x86_64-version-script 266: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script.sh" 266: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 266: Test timeout computed to be: 1500 -265: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script-search-paths.sh 265: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 265: ++ export LC_ALL=C 265: ++ LC_ALL=C -253: + grep -q '3 5 3 5' -253: + out/test/elf/x86_64/tls-le/exe -253: + on_exit -253: + echo OK -253: OK -253: + exit 0 -245: + grep -q '1 2 3 4 5 6' -245: + out/test/elf/x86_64/tls-gd/exe2 -251/309 Test #253: x86_64-tls-le ........................... Passed 0.52 sec -test 267 - Start 267: x86_64-version-script10 - -267: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script10.sh" -267: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -267: Test timeout computed to be: 1500 265: ++++ uname -m 265: +++ canonical_name x86_64 265: +++ case $1 in 265: +++ echo x86_64 +264: + cc -c -xc -o out/test/elf/x86_64/verbose/a.o - +264: + cat 265: ++ HOST=x86_64 265: ++ '[' -n '' ']' 265: ++ MACHINE=x86_64 @@ -18453,27 +18484,19 @@ 265: ++ QEMU= 265: ++ trap 'on_error $LINENO' ERR 265: ++ trap on_exit EXIT -245: + test_cflags -static -245: + cc -static -o /dev/null -xc - -261: + cc -B. -o out/test/elf/x86_64/trace/exe out/test/elf/x86_64/trace/a.o -Wl,-trace -266: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script.sh -266: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -266: ++ export LC_ALL=C -266: ++ LC_ALL=C -259: + gcc -fPIC -mtls-dialect=gnu2 -c -o out/test/elf/x86_64/tlsdesc/b.o -xc - -259: + cat -256: + cc -B. -o out/test/elf/x86_64/tls-small-alignment/exe1 out/test/elf/x86_64/tls-small-alignment/a.o out/test/elf/x86_64/tls-small-alignment/b.o out/test/elf/x86_64/tls-small-alignment/c.o 265: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script-search-paths.sh .sh 265: ++ testname=version-script-search-paths 265: ++ echo -n 'Testing version-script-search-paths ... ' 265: Testing version-script-search-paths ... ++ t=out/test/elf/x86_64/version-script-search-paths 265: ++ mkdir -p out/test/elf/x86_64/version-script-search-paths -245: + echo 'int main() {}' -267: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script10.sh -267: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -267: ++ export LC_ALL=C -267: ++ LC_ALL=C +266: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script.sh +266: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +266: ++ export LC_ALL=C +266: ++ LC_ALL=C +265: + mkdir -p out/test/elf/x86_64/version-script-search-paths/foo/bar 266: ++++ uname -m +265: + echo 'ver_x { global: *; };' +265: + cat 266: +++ canonical_name x86_64 266: +++ case $1 in 266: +++ echo x86_64 @@ -18491,25 +18514,54 @@ 266: ++ QEMU= 266: ++ trap 'on_error $LINENO' ERR 266: ++ trap on_exit EXIT -265: + mkdir -p out/test/elf/x86_64/version-script-search-paths/foo/bar +261: + cc -B. -o out/test/elf/x86_64/trace/exe out/test/elf/x86_64/trace/a.o -Wl,-trace +265: + cc -B. -shared -o out/test/elf/x86_64/version-script-search-paths/c.so -Wl,-Lout/test/elf/x86_64/version-script-search-paths/foo/bar -Wl,-version-script,a.ver out/test/elf/x86_64/version-script-search-paths/b.s 266: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script.sh .sh -263: + grep -q 'undefined.*foo' 260: + cat -267: ++++ uname -m +260: + cc -c -o out/test/elf/x86_64/trace-symbol/b.o -xc - 266: ++ testname=version-script 266: ++ echo -n 'Testing version-script ... ' 266: Testing version-script ... ++ t=out/test/elf/x86_64/version-script 266: ++ mkdir -p out/test/elf/x86_64/version-script -244: + grep -q '1 2 3' +245: + grep -q '1 2 3 4 5 6' +266: + echo 'ver_x { global: *; };' +266: + cat +245: + out/test/elf/x86_64/tls-gd/exe2 +245: + test_cflags -static +257: + out/test/elf/x86_64/tlsdesc-import/exe +257: + grep -q '5 7' +245: + cc -static -o /dev/null -xc - +245: + echo 'int main() {}' +266: + 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 +263: + grep -q 'undefined.*foo' 263: + cc -B. -o out/test/elf/x86_64/unresolved-symbols/exe out/test/elf/x86_64/unresolved-symbols/a.o -260: + cc -c -o out/test/elf/x86_64/trace-symbol/b.o -xc - -265: + echo 'ver_x { global: *; };' -265: + cat -244: + out/test/elf/x86_64/tls-gd-to-ie/exe3 +257: + on_exit +257: + echo OK +257: OK +257: + exit 0 +252/309 Test #257: x86_64-tlsdesc-import ................... Passed 0.32 sec +test 267 + Start 267: x86_64-version-script10 + +267: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script10.sh" +267: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +267: Test timeout computed to be: 1500 +244: + cc -B. -o out/test/elf/x86_64/tls-gd-to-ie/exe3 out/test/elf/x86_64/tls-gd-to-ie/b.o out/test/elf/x86_64/tls-gd-to-ie/e.so +259: + 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 +267: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script10.sh +258: + '[' x86_64 = x86_64 -o x86_64 = arm ']' +258: + dialect=gnu2 +258: + cat +267: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +267: ++ export LC_ALL=C +267: ++ LC_ALL=C +264: + cc -B. -Wl,--verbose -o out/test/elf/x86_64/verbose/exe out/test/elf/x86_64/verbose/a.o +258: + gcc -fPIC -mtls-dialect=gnu2 -c -o out/test/elf/x86_64/tlsdesc-static/a.o -xc - +267: ++++ uname -m +260: + cat 267: +++ canonical_name x86_64 267: +++ case $1 in 267: +++ echo x86_64 -248: + grep -q '^42 1 2 3$' 267: ++ HOST=x86_64 267: ++ '[' -n '' ']' 267: ++ MACHINE=x86_64 @@ -18524,51 +18576,69 @@ 267: ++ QEMU= 267: ++ trap 'on_error $LINENO' ERR 267: ++ trap on_exit EXIT -244: + cc -B. -shared -o out/test/elf/x86_64/tls-gd-to-ie/f.so out/test/elf/x86_64/tls-gd-to-ie/a.o -Wl,-z,nodlopen -Wl,-no-relax -248: + out/test/elf/x86_64/tls-large-alignment/exe2 -248: + on_exit -248: + echo OK -248: OK -248: + exit 0 -266: + echo 'ver_x { global: *; };' -266: + cat -252/309 Test #248: x86_64-tls-large-alignment .............. Passed 0.71 sec +267: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script10.sh .sh +267: ++ testname=version-script10 +267: ++ echo -n 'Testing version-script10 ... ' +267: Testing version-script10 ... ++ t=out/test/elf/x86_64/version-script10 +267: ++ mkdir -p out/test/elf/x86_64/version-script10 +260: + cc -shared -o out/test/elf/x86_64/trace-symbol/c.so -xc - +267: + echo 'VER1 { foo[12]; }; VER2 {};' +267: + cat +256: + grep -q '^42$' +256: + out/test/elf/x86_64/tls-small-alignment/exe1 +267: + 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 +256: + cc -B. -o out/test/elf/x86_64/tls-small-alignment/exe2 out/test/elf/x86_64/tls-small-alignment/c.o out/test/elf/x86_64/tls-small-alignment/d.so +247: + out/test/elf/x86_64/tls-irregular-start-addr/exe4 +247: + grep -q '^42$' +258: + gcc -fPIC -mtls-dialect=gnu2 -c -o out/test/elf/x86_64/tlsdesc-static/b.o -xc - +247: + on_exit +247: + echo OK +247: OK +247: + exit 0 +253/309 Test #247: x86_64-tls-irregular-start-addr ......... Passed 0.71 sec test 268 Start 268: x86_64-version-script11 268: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script11.sh" 268: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 268: Test timeout computed to be: 1500 -266: + 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 -265: + cc -B. -shared -o out/test/elf/x86_64/version-script-search-paths/c.so -Wl,-Lout/test/elf/x86_64/version-script-search-paths/foo/bar -Wl,-version-script,a.ver out/test/elf/x86_64/version-script-search-paths/b.s +262: + cat +262: + cc -o out/test/elf/x86_64/undefined/a.o -c -x assembler - +244: + out/test/elf/x86_64/tls-gd-to-ie/exe3 +244: + grep -q '1 2 3' 268: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script11.sh -267: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script10.sh .sh 268: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 268: ++ export LC_ALL=C 268: ++ LC_ALL=C -267: ++ testname=version-script10 -267: ++ echo -n 'Testing version-script10 ... ' -267: Testing version-script10 ... ++ t=out/test/elf/x86_64/version-script10 -267: ++ mkdir -p out/test/elf/x86_64/version-script10 -257: + out/test/elf/x86_64/tlsdesc-import/exe -259: + 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 -257: + grep -q '5 7' -264: + cc -B. -Wl,--verbose -o out/test/elf/x86_64/verbose/exe out/test/elf/x86_64/verbose/a.o -257: + on_exit -257: + echo OK -257: OK -257: + exit 0 -268: ++++ uname -m -253/309 Test #257: x86_64-tlsdesc-import ................... Passed 0.37 sec +265: + readelf --version-info out/test/elf/x86_64/version-script-search-paths/c.so +258: + cat +265: + grep -Fq 'Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x' out/test/elf/x86_64/version-script-search-paths/log +244: + cc -B. -shared -o out/test/elf/x86_64/tls-gd-to-ie/f.so out/test/elf/x86_64/tls-gd-to-ie/a.o -Wl,-z,nodlopen -Wl,-no-relax +262: + cc -o out/test/elf/x86_64/undefined/b.o -c -x assembler - +265: + on_exit +265: + echo OK +265: OK +265: + exit 0 +254/309 Test #265: x86_64-version-script-search-paths ...... Passed 0.17 sec test 269 Start 269: x86_64-version-script12 269: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script12.sh" 269: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 269: Test timeout computed to be: 1500 -267: + echo 'VER1 { foo[12]; }; VER2 {};' -267: + cat -267: + 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 +262: + cat +259: + out/test/elf/x86_64/tlsdesc/exe +269: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script12.sh +258: + 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 +269: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +269: ++ export LC_ALL=C +269: ++ LC_ALL=C +269: ++++ uname -m +259: + grep -q '42 5' +268: ++++ uname -m +269: +++ canonical_name x86_64 +269: +++ case $1 in +269: +++ echo x86_64 268: +++ canonical_name x86_64 268: +++ case $1 in 268: +++ echo x86_64 @@ -18586,36 +18656,6 @@ 268: ++ QEMU= 268: ++ trap 'on_error $LINENO' ERR 268: ++ trap on_exit EXIT -268: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script11.sh .sh -268: ++ testname=version-script11 -268: ++ echo -n 'Testing version-script11 ... ' -268: Testing version-script11 ... ++ t=out/test/elf/x86_64/version-script11 -268: ++ mkdir -p out/test/elf/x86_64/version-script11 -269: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script12.sh -269: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -269: ++ export LC_ALL=C -269: ++ LC_ALL=C -268: + cat -260: + cc -shared -o out/test/elf/x86_64/trace-symbol/c.so -xc - -260: + cat -268: + cat -268: + c++ -fPIC -c -o out/test/elf/x86_64/version-script11/b.o -xc - -261: + grep -q '/a\.o$' out/test/elf/x86_64/trace/log -261: + on_exit -261: + echo OK -261: OK -261: + exit 0 -254/309 Test #261: x86_64-trace ............................ Passed 0.29 sec -test 270 - Start 270: x86_64-version-script13 - -270: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script13.sh" -270: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -270: Test timeout computed to be: 1500 -269: ++++ uname -m -269: +++ canonical_name x86_64 -269: +++ case $1 in -269: +++ echo x86_64 269: ++ HOST=x86_64 269: ++ '[' -n '' ']' 269: ++ MACHINE=x86_64 @@ -18628,22 +18668,61 @@ 269: ++ OBJCOPY=objcopy 269: ++ STRIP=strip 269: ++ QEMU= +259: + 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 +268: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script11.sh .sh 269: ++ trap 'on_error $LINENO' ERR 269: ++ trap on_exit EXIT +266: + readelf --version-info out/test/elf/x86_64/version-script/c.so 269: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script12.sh .sh -256: + grep -q '^42$' +262: + cat +268: ++ testname=version-script11 +268: ++ echo -n 'Testing version-script11 ... ' +268: Testing version-script11 ... ++ t=out/test/elf/x86_64/version-script11 +268: ++ mkdir -p out/test/elf/x86_64/version-script11 +266: + grep -Fq 'Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x' out/test/elf/x86_64/version-script/log +262: + cc -o out/test/elf/x86_64/undefined/c.o -c -x assembler - 269: ++ testname=version-script12 269: ++ echo -n 'Testing version-script12 ... ' 269: Testing version-script12 ... ++ t=out/test/elf/x86_64/version-script12 269: ++ mkdir -p out/test/elf/x86_64/version-script12 +263: + 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 +266: + on_exit +266: + echo OK +266: OK +266: + exit 0 +255/309 Test #266: x86_64-version-script ................... Passed 0.18 sec +test 270 + Start 270: x86_64-version-script13 + +270: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script13.sh" +270: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +270: Test timeout computed to be: 1500 +268: + cat +263: + grep -q 'undefined.*foo' +268: + c++ -fPIC -c -o out/test/elf/x86_64/version-script11/b.o -xc - +262: + rm -f out/test/elf/x86_64/undefined/d.a +268: + cat +269: + cat 270: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script13.sh +260: + 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 +261: + grep -q '/a\.o$' out/test/elf/x86_64/trace/log +269: + cat +269: + c++ -fPIC -c -o out/test/elf/x86_64/version-script12/b.o -xc - 270: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 270: ++ export LC_ALL=C 270: ++ LC_ALL=C -256: + out/test/elf/x86_64/tls-small-alignment/exe1 +261: + on_exit +261: + echo OK +261: OK +261: + exit 0 270: ++++ uname -m -256: + cc -B. -o out/test/elf/x86_64/tls-small-alignment/exe2 out/test/elf/x86_64/tls-small-alignment/c.o out/test/elf/x86_64/tls-small-alignment/d.so -269: + cat +256/309 Test #261: x86_64-trace ............................ Passed 0.27 sec +test 271 + Start 271: x86_64-version-script14 + +271: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script14.sh" +271: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +271: Test timeout computed to be: 1500 270: +++ canonical_name x86_64 270: +++ case $1 in 270: +++ echo x86_64 @@ -18660,58 +18739,64 @@ 270: ++ STRIP=strip 270: ++ QEMU= 270: ++ trap 'on_error $LINENO' ERR -264: + on_exit -264: + echo OK -264: OK -264: + exit 0 270: ++ trap on_exit EXIT -163: + ./mold --relocatable -o out/test/elf/x86_64/many-sections2/b.o out/test/elf/x86_64/many-sections2/a.o -263: + 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 -255/309 Test #264: x86_64-verbose .......................... Passed 0.28 sec -test 271 - Start 271: x86_64-version-script14 - -271: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script14.sh" -271: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -271: Test timeout computed to be: 1500 270: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script13.sh .sh 270: ++ testname=version-script13 270: ++ echo -n 'Testing version-script13 ... ' 270: Testing version-script13 ... ++ t=out/test/elf/x86_64/version-script13 270: ++ mkdir -p out/test/elf/x86_64/version-script13 270: + cat +270: + cat 270: + c++ -fPIC -c -o out/test/elf/x86_64/version-script13/b.o -xc - -263: + grep -q 'undefined.*foo' -244: + cc -B. -o out/test/elf/x86_64/tls-gd-to-ie/exe4 out/test/elf/x86_64/tls-gd-to-ie/b.o out/test/elf/x86_64/tls-gd-to-ie/f.so -269: + c++ -fPIC -c -o out/test/elf/x86_64/version-script12/b.o -xc - -269: + cat -259: + out/test/elf/x86_64/tlsdesc/exe -259: + grep -q '42 5' -259: + 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 -266: + readelf --version-info out/test/elf/x86_64/version-script/c.so +262: + 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 +262: + ./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 +245: + cc -B. -o out/test/elf/x86_64/tls-gd/exe3 out/test/elf/x86_64/tls-gd/a.o out/test/elf/x86_64/tls-gd/b.o out/test/elf/x86_64/tls-gd/c.o -static +256: + out/test/elf/x86_64/tls-small-alignment/exe2 +256: + grep -q '^42$' +256: + on_exit +256: + echo OK +256: OK +256: + exit 0 +262: + readelf --symbols out/test/elf/x86_64/undefined/exe 271: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script14.sh -266: + grep -Fq 'Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x' out/test/elf/x86_64/version-script/log -271: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -271: ++ export LC_ALL=C -271: ++ LC_ALL=C -266: + on_exit -266: + echo OK -266: OK -266: + exit 0 -256/309 Test #266: x86_64-version-script ................... Passed 0.24 sec +268: + 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 +257/309 Test #256: x86_64-tls-small-alignment .............. Passed 0.50 sec test 272 Start 272: x86_64-version-script15 272: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script15.sh" 272: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 272: Test timeout computed to be: 1500 -270: + cat -258: + '[' x86_64 = x86_64 -o x86_64 = arm ']' -258: + dialect=gnu2 +262: + grep -q foo out/test/elf/x86_64/undefined/log +262: + grep -q bar out/test/elf/x86_64/undefined/log +262: + ./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 +271: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +271: ++ export LC_ALL=C +271: ++ LC_ALL=C 271: ++++ uname -m +267: + readelf --dyn-syms out/test/elf/x86_64/version-script10/c.so +267: + grep -q ' foo1@@VER1$' out/test/elf/x86_64/version-script10/log +264: + on_exit +264: + echo OK +264: OK +264: + exit 0 +272: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script15.sh +269: + 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 +258/309 Test #264: x86_64-verbose .......................... Passed 0.27 sec +test 273 + Start 273: x86_64-version-script16 + +273: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script16.sh" +273: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +273: Test timeout computed to be: 1500 +272: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +272: ++ export LC_ALL=C +272: ++ LC_ALL=C 271: +++ canonical_name x86_64 271: +++ case $1 in 271: +++ echo x86_64 +267: + grep -q ' foo2@@VER1$' out/test/elf/x86_64/version-script10/log +267: + grep -q ' foo3@@VER1$' out/test/elf/x86_64/version-script10/log 271: ++ HOST=x86_64 271: ++ '[' -n '' ']' 271: ++ MACHINE=x86_64 @@ -18724,121 +18809,50 @@ 271: ++ OBJCOPY=objcopy 271: ++ STRIP=strip 271: ++ QEMU= +273: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script16.sh 271: ++ trap 'on_error $LINENO' ERR 271: ++ trap on_exit EXIT -262: + cc -o out/test/elf/x86_64/undefined/a.o -c -x assembler - -262: + cat -267: + readelf --dyn-syms out/test/elf/x86_64/version-script10/c.so -268: + 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 -258: + gcc -fPIC -mtls-dialect=gnu2 -c -o out/test/elf/x86_64/tlsdesc-static/a.o -xc - -260: + 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 -258: + cat -272: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script15.sh 271: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script14.sh .sh -267: + grep -q ' foo1@@VER1$' out/test/elf/x86_64/version-script10/log -272: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -272: ++ export LC_ALL=C -272: ++ LC_ALL=C -271: ++ testname=version-script14 -271: ++ echo -n 'Testing version-script14 ... ' -271: Testing version-script14 ... ++ t=out/test/elf/x86_64/version-script14 -271: ++ mkdir -p out/test/elf/x86_64/version-script14 -272: ++++ uname -m -272: +++ canonical_name x86_64 -272: +++ case $1 in -272: +++ echo x86_64 -265: + readelf --version-info out/test/elf/x86_64/version-script-search-paths/c.so -262: + cc -o out/test/elf/x86_64/undefined/b.o -c -x assembler - -272: ++ HOST=x86_64 -272: ++ '[' -n '' ']' -272: ++ MACHINE=x86_64 -272: ++ '[' -n '' ']' -272: ++ CC=cc -272: ++ CXX=c++ -272: ++ GCC=gcc -272: ++ GXX=g++ -272: ++ OBJDUMP=objdump -272: ++ OBJCOPY=objcopy -272: ++ STRIP=strip -272: ++ QEMU= -272: ++ trap 'on_error $LINENO' ERR -272: ++ trap on_exit EXIT -271: + cat -262: + cat -267: + grep -q ' foo2@@VER1$' out/test/elf/x86_64/version-script10/log -269: + 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 -271: + cat -265: + grep -Fq 'Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x' out/test/elf/x86_64/version-script-search-paths/log -271: + c++ -fPIC -c -o out/test/elf/x86_64/version-script14/b.o -xc - -272: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script15.sh .sh -270: + 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 -272: ++ testname=version-script15 -272: ++ echo -n 'Testing version-script15 ... ' -272: Testing version-script15 ... ++ t=out/test/elf/x86_64/version-script15 -272: ++ mkdir -p out/test/elf/x86_64/version-script15 -262: + cat -262: + cc -o out/test/elf/x86_64/undefined/c.o -c -x assembler - -267: + grep -q ' foo3@@VER1$' out/test/elf/x86_64/version-script10/log -272: + cat -265: + on_exit -265: + echo OK -265: OK -265: + exit 0 -257/309 Test #265: x86_64-version-script-search-paths ...... Passed 0.33 sec -test 273 - Start 273: x86_64-version-script16 - -273: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script16.sh" -273: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -273: Test timeout computed to be: 1500 +273: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +273: ++ export LC_ALL=C +273: ++ LC_ALL=C 267: + on_exit 267: + echo OK 267: OK 267: + exit 0 -256: + out/test/elf/x86_64/tls-small-alignment/exe2 -258/309 Test #267: x86_64-version-script10 ................. Passed 0.29 sec +259/309 Test #267: x86_64-version-script10 ................. Passed 0.20 sec test 274 Start 274: x86_64-version-script17 274: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script17.sh" 274: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 274: Test timeout computed to be: 1500 -256: + grep -q '^42$' -256: + on_exit -256: + echo OK -256: OK -256: + exit 0 -258: + cat -258: + gcc -fPIC -mtls-dialect=gnu2 -c -o out/test/elf/x86_64/tlsdesc-static/b.o -xc - -272: + c++ -fPIC -c -o out/test/elf/x86_64/version-script15/b.o -xc - -272: + cat -273: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script16.sh -273: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -273: ++ export LC_ALL=C -273: ++ LC_ALL=C -262: + rm -f out/test/elf/x86_64/undefined/d.a -259/309 Test #256: x86_64-tls-small-alignment .............. Passed 0.64 sec -test 275 - Start 275: x86_64-version-script18 - -275: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script18.sh" -275: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -275: Test timeout computed to be: 1500 -273: ++++ uname -m +271: ++ testname=version-script14 +271: ++ echo -n 'Testing version-script14 ... ' +271: Testing version-script14 ... ++ t=out/test/elf/x86_64/version-script14 +271: ++ mkdir -p out/test/elf/x86_64/version-script14 274: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script17.sh 274: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 274: ++ export LC_ALL=C 274: ++ LC_ALL=C -245: + cc -B. -o out/test/elf/x86_64/tls-gd/exe3 out/test/elf/x86_64/tls-gd/a.o out/test/elf/x86_64/tls-gd/b.o out/test/elf/x86_64/tls-gd/c.o -static +272: ++++ uname -m +270: + 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 +262: + readelf --symbols out/test/elf/x86_64/undefined/exe +273: ++++ uname -m +271: + cat +262: + grep -q foo out/test/elf/x86_64/undefined/log 273: +++ canonical_name x86_64 273: +++ case $1 in 273: +++ echo x86_64 -275: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script18.sh +272: +++ canonical_name x86_64 +272: +++ case $1 in +272: +++ echo x86_64 +259: + grep -q '42 5' +262: + grep -q bar out/test/elf/x86_64/undefined/log 273: ++ HOST=x86_64 273: ++ '[' -n '' ']' 273: ++ MACHINE=x86_64 273: ++ '[' -n '' ']' -262: + 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 273: ++ CC=cc 273: ++ CXX=c++ 273: ++ GCC=gcc @@ -18847,16 +18861,44 @@ 273: ++ OBJCOPY=objcopy 273: ++ STRIP=strip 273: ++ QEMU= -259: + out/test/elf/x86_64/tlsdesc/exe 273: ++ trap 'on_error $LINENO' ERR 273: ++ trap on_exit EXIT +273: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script16.sh .sh +262: + ./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 +273: ++ testname=version-script16 +273: ++ echo -n 'Testing version-script16 ... ' +273: Testing version-script16 ... ++ t=out/test/elf/x86_64/version-script16 +273: ++ mkdir -p out/test/elf/x86_64/version-script16 +272: ++ HOST=x86_64 +272: ++ '[' -n '' ']' +272: ++ MACHINE=x86_64 +272: ++ '[' -n '' ']' +272: ++ CC=cc +272: ++ CXX=c++ +272: ++ GCC=gcc +272: ++ GXX=g++ +272: ++ OBJDUMP=objdump +272: ++ OBJCOPY=objcopy +272: ++ STRIP=strip +272: ++ QEMU= +272: ++ trap 'on_error $LINENO' ERR +272: ++ trap on_exit EXIT +272: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script15.sh .sh +273: + cat +259: + out/test/elf/x86_64/tlsdesc/exe +271: + cat 274: ++++ uname -m +273: + cat +244: + cc -B. -o out/test/elf/x86_64/tls-gd-to-ie/exe4 out/test/elf/x86_64/tls-gd-to-ie/b.o out/test/elf/x86_64/tls-gd-to-ie/f.so +271: + c++ -fPIC -c -o out/test/elf/x86_64/version-script14/b.o -xc - +272: ++ testname=version-script15 +272: ++ echo -n 'Testing version-script15 ... ' +272: Testing version-script15 ... ++ t=out/test/elf/x86_64/version-script15 +272: ++ mkdir -p out/test/elf/x86_64/version-script15 +259: + cc -B. -shared -o out/test/elf/x86_64/tlsdesc/c.so out/test/elf/x86_64/tlsdesc/a.o 274: +++ canonical_name x86_64 274: +++ case $1 in 274: +++ echo x86_64 -275: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -275: ++ export LC_ALL=C -275: ++ LC_ALL=C 274: ++ HOST=x86_64 274: ++ '[' -n '' ']' 274: ++ MACHINE=x86_64 @@ -18871,145 +18913,120 @@ 274: ++ QEMU= 274: ++ trap 'on_error $LINENO' ERR 274: ++ trap on_exit EXIT -273: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script16.sh .sh -273: ++ testname=version-script16 -273: ++ echo -n 'Testing version-script16 ... ' -273: Testing version-script16 ... ++ t=out/test/elf/x86_64/version-script16 -273: ++ mkdir -p out/test/elf/x86_64/version-script16 -263: + 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 -262: + ./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 -271: + 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 -259: + grep -q '42 5' -259: + cc -B. -shared -o out/test/elf/x86_64/tlsdesc/c.so out/test/elf/x86_64/tlsdesc/a.o -273: + cat -258: + 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 -268: + readelf --dyn-syms out/test/elf/x86_64/version-script11/c.so +272: + cat 274: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script17.sh .sh -275: ++++ uname -m 274: ++ testname=version-script17 274: ++ echo -n 'Testing version-script17 ... ' 274: Testing version-script17 ... ++ t=out/test/elf/x86_64/version-script17 274: ++ mkdir -p out/test/elf/x86_64/version-script17 -268: + grep -q 'foo@@VER_X1$' out/test/elf/x86_64/version-script11/log -275: +++ canonical_name x86_64 -275: +++ case $1 in -275: +++ echo x86_64 -268: + grep -q ' bar$' out/test/elf/x86_64/version-script11/log -275: ++ HOST=x86_64 -275: ++ '[' -n '' ']' -275: ++ MACHINE=x86_64 -275: ++ '[' -n '' ']' -275: ++ CC=cc -275: ++ CXX=c++ -275: ++ GCC=gcc -275: ++ GXX=g++ -275: ++ OBJDUMP=objdump -275: ++ OBJCOPY=objcopy -275: ++ STRIP=strip -275: ++ QEMU= -275: ++ trap 'on_error $LINENO' ERR -275: ++ trap on_exit EXIT +272: + c++ -fPIC -c -o out/test/elf/x86_64/version-script15/b.o -xc - +272: + cat +263: + 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 273: + cc -fPIC -c -o out/test/elf/x86_64/version-script16/b.o -xc - -273: + cat -268: + grep -q ' baz$' out/test/elf/x86_64/version-script11/log 262: + readelf --symbols out/test/elf/x86_64/undefined/exe +262: + grep -q foo out/test/elf/x86_64/undefined/log +274: + cat 274: + cc -fPIC -c -o out/test/elf/x86_64/version-script17/a.o -xc - -244: + out/test/elf/x86_64/tls-gd-to-ie/exe4 +262: + grep -q bar out/test/elf/x86_64/undefined/log +262: + on_exit +262: + echo OK +262: OK +262: + exit 0 +260/309 Test #262: x86_64-undefined ........................ Passed 0.41 sec +test 275 + Start 275: x86_64-version-script18 + +275: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script18.sh" +275: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +275: Test timeout computed to be: 1500 +260: + grep -q 'trace-symbol: .*/a.o: reference to foo' out/test/elf/x86_64/trace-symbol/log +260: + grep -q 'trace-symbol: .*/b.o: definition of foo' out/test/elf/x86_64/trace-symbol/log 269: + readelf --dyn-syms out/test/elf/x86_64/version-script12/c.so -270: + readelf --dyn-syms out/test/elf/x86_64/version-script13/c.so -268: + on_exit -268: + echo OK -268: OK -268: + exit 0 -244: + grep -q '1 2 3' -244: + on_exit -244: + echo OK -244: OK -244: + exit 0 -275: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script18.sh .sh -260/309 Test #244: x86_64-tls-gd-to-ie ..................... Passed 1.21 sec +275: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script18.sh +260: + grep -q 'trace-symbol: .*/c.so: definition of baz' out/test/elf/x86_64/trace-symbol/log +269: + grep -q ' xyz$' out/test/elf/x86_64/version-script12/log +271: + 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 +275: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +275: ++ export LC_ALL=C +275: ++ LC_ALL=C +260: + on_exit +260: + echo OK +260: OK +260: + exit 0 +269: + grep -q ' foo_bar$' out/test/elf/x86_64/version-script12/log +261/309 Test #260: x86_64-trace-symbol ..................... Passed 0.44 sec test 276 Start 276: x86_64-version-script2 276: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script2.sh" 276: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 276: Test timeout computed to be: 1500 -261/309 Test #268: x86_64-version-script11 ................. Passed 0.33 sec +269: + grep -q ' foo$' out/test/elf/x86_64/version-script12/log +269: + on_exit +269: + echo OK +269: OK +269: + exit 0 +262/309 Test #269: x86_64-version-script12 ................. Passed 0.21 sec test 277 Start 277: x86_64-version-script3 277: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script3.sh" 277: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 277: Test timeout computed to be: 1500 -262: + grep -q foo out/test/elf/x86_64/undefined/log -262: + grep -q bar out/test/elf/x86_64/undefined/log -262: + ./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 -275: ++ testname=version-script18 -275: ++ echo -n 'Testing version-script18 ... ' -275: Testing version-script18 ... ++ t=out/test/elf/x86_64/version-script18 -275: ++ mkdir -p out/test/elf/x86_64/version-script18 -275: + cat -260: + grep -q 'trace-symbol: .*/a.o: reference to foo' out/test/elf/x86_64/trace-symbol/log -260: + grep -q 'trace-symbol: .*/b.o: definition of foo' out/test/elf/x86_64/trace-symbol/log -274: + cat -269: + grep -q ' xyz$' out/test/elf/x86_64/version-script12/log -269: + grep -q ' foo_bar$' out/test/elf/x86_64/version-script12/log -272: + 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 -270: + grep -q ' foobar$' out/test/elf/x86_64/version-script13/log -270: + grep -q ' foo$' out/test/elf/x86_64/version-script13/log 276: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script2.sh 276: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 276: ++ export LC_ALL=C 276: ++ LC_ALL=C -260: + grep -q 'trace-symbol: .*/c.so: definition of baz' out/test/elf/x86_64/trace-symbol/log -276: ++++ uname -m -269: + grep -q ' foo$' out/test/elf/x86_64/version-script12/log -270: + on_exit -270: + echo OK -270: OK -270: + exit 0 -275: + cat -262/309 Test #270: x86_64-version-script13 ................. Passed 0.27 sec -test 278 - Start 278: x86_64-version-script4 - -278: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script4.sh" -278: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -278: Test timeout computed to be: 1500 -275: + cc -fPIC -c -o out/test/elf/x86_64/version-script18/b.o -xc++ - +275: ++++ uname -m 277: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script3.sh -277: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -277: ++ export LC_ALL=C -277: ++ LC_ALL=C -260: + on_exit -260: + echo OK -260: OK -260: + exit 0 +275: +++ canonical_name x86_64 +275: +++ case $1 in +275: +++ echo x86_64 +276: ++++ uname -m +275: ++ HOST=x86_64 +275: ++ '[' -n '' ']' +275: ++ MACHINE=x86_64 +275: ++ '[' -n '' ']' +275: ++ CC=cc +275: ++ CXX=c++ +275: ++ GCC=gcc +275: ++ GXX=g++ +275: ++ OBJDUMP=objdump +275: ++ OBJCOPY=objcopy +275: ++ STRIP=strip +275: ++ QEMU= +275: ++ trap 'on_error $LINENO' ERR +275: ++ trap on_exit EXIT 276: +++ canonical_name x86_64 276: +++ case $1 in 276: +++ echo x86_64 -269: + on_exit -269: + echo OK -269: OK -269: + exit 0 -263/309 Test #260: x86_64-trace-symbol ..................... Passed 0.59 sec -test 279 - Start 279: x86_64-version-script5 - -279: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script5.sh" -279: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -279: Test timeout computed to be: 1500 -264/309 Test #269: x86_64-version-script12 ................. Passed 0.35 sec -test 280 - Start 280: x86_64-version-script6 - -280: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script6.sh" -280: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -280: Test timeout computed to be: 1500 +277: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +277: ++ export LC_ALL=C +277: ++ LC_ALL=C +276: ++ HOST=x86_64 +276: ++ '[' -n '' ']' +276: ++ MACHINE=x86_64 +276: ++ '[' -n '' ']' +276: ++ CC=cc +276: ++ CXX=c++ +276: ++ GCC=gcc +276: ++ GXX=g++ +276: ++ OBJDUMP=objdump +276: ++ OBJCOPY=objcopy +276: ++ STRIP=strip +276: ++ QEMU= +276: ++ trap 'on_error $LINENO' ERR +276: ++ trap on_exit EXIT 277: ++++ uname -m +276: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script2.sh .sh +275: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script18.sh .sh 277: +++ canonical_name x86_64 277: +++ case $1 in 277: +++ echo x86_64 +276: ++ testname=version-script2 +276: ++ echo -n 'Testing version-script2 ... ' +276: Testing version-script2 ... ++ t=out/test/elf/x86_64/version-script2 +276: ++ mkdir -p out/test/elf/x86_64/version-script2 277: ++ HOST=x86_64 277: ++ '[' -n '' ']' 277: ++ MACHINE=x86_64 @@ -19024,63 +19041,88 @@ 277: ++ QEMU= 277: ++ trap 'on_error $LINENO' ERR 277: ++ trap on_exit EXIT +275: ++ testname=version-script18 +275: ++ echo -n 'Testing version-script18 ... ' +275: Testing version-script18 ... ++ t=out/test/elf/x86_64/version-script18 +275: ++ mkdir -p out/test/elf/x86_64/version-script18 277: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script3.sh .sh +276: + cat 277: ++ testname=version-script3 277: ++ echo -n 'Testing version-script3 ... ' 277: Testing version-script3 ... ++ t=out/test/elf/x86_64/version-script3 277: ++ mkdir -p out/test/elf/x86_64/version-script3 +275: + cat +268: + readelf --dyn-syms out/test/elf/x86_64/version-script11/c.so +275: + cat 277: + cat -276: ++ HOST=x86_64 -276: ++ '[' -n '' ']' -276: ++ MACHINE=x86_64 -276: ++ '[' -n '' ']' -276: ++ CC=cc -276: ++ CXX=c++ -276: ++ GCC=gcc -276: ++ GXX=g++ -276: ++ OBJDUMP=objdump -276: ++ OBJCOPY=objcopy -276: ++ STRIP=strip -276: ++ QEMU= -276: ++ trap 'on_error $LINENO' ERR -276: ++ trap on_exit EXIT -276: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script2.sh .sh -276: ++ testname=version-script2 -276: ++ echo -n 'Testing version-script2 ... ' -276: Testing version-script2 ... ++ t=out/test/elf/x86_64/version-script2 -276: ++ mkdir -p out/test/elf/x86_64/version-script2 +268: + grep -q 'foo@@VER_X1$' out/test/elf/x86_64/version-script11/log 276: + cat +276: + 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 - +275: + cc -fPIC -c -o out/test/elf/x86_64/version-script18/b.o -xc++ - +268: + grep -q ' bar$' out/test/elf/x86_64/version-script11/log 273: + 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 -263: + grep -w foo -263: + readelf --dyn-syms out/test/elf/x86_64/unresolved-symbols/exe -274: + cat +277: + cat +272: + 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 +277: + 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 - +268: + grep -q ' baz$' out/test/elf/x86_64/version-script11/log +258: + out/test/elf/x86_64/tlsdesc-static/exe +258: + grep -q 42 +259: + 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 +258: + 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 274: + cc -B. -shared -fPIC -o out/test/elf/x86_64/version-script17/b.so -xc - +274: + cat +263: + readelf --dyn-syms out/test/elf/x86_64/unresolved-symbols/exe +270: + readelf --dyn-syms out/test/elf/x86_64/version-script13/c.so +263: + grep -w foo +263: + 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 +263: + grep -q 'undefined.*foo' +268: + on_exit +268: + echo OK +268: OK +268: + exit 0 +275: + cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script18/a.ver -o out/test/elf/x86_64/version-script18/c.so out/test/elf/x86_64/version-script18/b.o +263/309 Test #268: x86_64-version-script11 ................. Passed 0.30 sec +test 278 + Start 278: x86_64-version-script4 + +278: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script4.sh" +278: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +278: Test timeout computed to be: 1500 +270: + grep -q ' foobar$' out/test/elf/x86_64/version-script13/log +270: + grep -q ' foo$' out/test/elf/x86_64/version-script13/log +270: + on_exit +270: + echo OK +270: OK +270: + exit 0 +244: + out/test/elf/x86_64/tls-gd-to-ie/exe4 +264/309 Test #270: x86_64-version-script13 ................. Passed 0.27 sec +test 279 + Start 279: x86_64-version-script5 + +279: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script5.sh" +279: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +279: Test timeout computed to be: 1500 278: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script4.sh 278: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 278: ++ export LC_ALL=C 278: ++ LC_ALL=C -262: + readelf --symbols out/test/elf/x86_64/undefined/exe -259: + 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 +244: + grep -q '1 2 3' +244: + on_exit +244: + echo OK +244: OK +244: + exit 0 +265/309 Test #244: x86_64-tls-gd-to-ie ..................... Passed 1.16 sec +test 280 + Start 280: x86_64-version-script6 + +280: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script6.sh" +280: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +280: Test timeout computed to be: 1500 279: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script5.sh 279: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 279: ++ export LC_ALL=C 279: ++ LC_ALL=C -263: + grep -q 'undefined.*foo' -263: + 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 -280: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script6.sh -262: + grep -q foo out/test/elf/x86_64/undefined/log 279: ++++ uname -m -280: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -280: ++ export LC_ALL=C -280: ++ LC_ALL=C -276: + 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 - -276: + cat -278: ++++ uname -m -277: + 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 - -277: + cat -278: +++ canonical_name x86_64 -278: +++ case $1 in -278: +++ echo x86_64 279: +++ canonical_name x86_64 279: +++ case $1 in 279: +++ echo x86_64 @@ -19098,7 +19140,19 @@ 279: ++ QEMU= 279: ++ trap 'on_error $LINENO' ERR 279: ++ trap on_exit EXIT -275: + cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script18/a.ver -o out/test/elf/x86_64/version-script18/c.so out/test/elf/x86_64/version-script18/b.o +245: + out/test/elf/x86_64/tls-gd/exe3 +245: + grep -q '1 2 3 4 5 6' +245: + cc -B. -o out/test/elf/x86_64/tls-gd/exe4 out/test/elf/x86_64/tls-gd/a.o out/test/elf/x86_64/tls-gd/b.o out/test/elf/x86_64/tls-gd/c.o -static -Wl,-no-relax +271: + readelf --dyn-syms out/test/elf/x86_64/version-script14/c.so +271: + grep -q ' xyz$' out/test/elf/x86_64/version-script14/log +278: ++++ uname -m +278: +++ canonical_name x86_64 +278: +++ case $1 in +278: +++ echo x86_64 +280: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script6.sh +280: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +280: ++ export LC_ALL=C +280: ++ LC_ALL=C 278: ++ HOST=x86_64 278: ++ '[' -n '' ']' 278: ++ MACHINE=x86_64 @@ -19113,22 +19167,20 @@ 278: ++ QEMU= 278: ++ trap 'on_error $LINENO' ERR 278: ++ trap on_exit EXIT -262: + grep -q bar out/test/elf/x86_64/undefined/log +278: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script4.sh .sh +280: ++++ uname -m +278: ++ testname=version-script4 +278: ++ echo -n 'Testing version-script4 ... ' +278: Testing version-script4 ... ++ t=out/test/elf/x86_64/version-script4 +278: ++ mkdir -p out/test/elf/x86_64/version-script4 279: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script5.sh .sh -271: + readelf --dyn-syms out/test/elf/x86_64/version-script14/c.so +280: +++ canonical_name x86_64 +280: +++ case $1 in +280: +++ echo x86_64 279: ++ testname=version-script5 279: ++ echo -n 'Testing version-script5 ... ' 279: Testing version-script5 ... ++ t=out/test/elf/x86_64/version-script5 279: ++ mkdir -p out/test/elf/x86_64/version-script5 -279: + cat -262: + ./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 -271: + grep -q ' xyz$' out/test/elf/x86_64/version-script14/log -280: ++++ uname -m -280: +++ canonical_name x86_64 -280: +++ case $1 in -280: +++ echo x86_64 -271: + grep -q ' foobarzx$' out/test/elf/x86_64/version-script14/log -279: + c++ -fPIC -c -o out/test/elf/x86_64/version-script5/b.o -xc - 280: ++ HOST=x86_64 280: ++ '[' -n '' ']' 280: ++ MACHINE=x86_64 @@ -19143,124 +19195,91 @@ 280: ++ QEMU= 280: ++ trap 'on_error $LINENO' ERR 280: ++ trap on_exit EXIT +278: + cat 280: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script6.sh .sh -278: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script4.sh .sh -272: + readelf --dyn-syms out/test/elf/x86_64/version-script15/c.so -279: + cat +271: + grep -q ' foobarzx$' out/test/elf/x86_64/version-script14/log 280: ++ testname=version-script6 280: ++ echo -n 'Testing version-script6 ... ' 280: Testing version-script6 ... ++ t=out/test/elf/x86_64/version-script6 280: ++ mkdir -p out/test/elf/x86_64/version-script6 -271: + grep -q ' foobarcx$' out/test/elf/x86_64/version-script14/log -262: + readelf --symbols out/test/elf/x86_64/undefined/exe -278: ++ testname=version-script4 -278: ++ echo -n 'Testing version-script4 ... ' -278: Testing version-script4 ... ++ t=out/test/elf/x86_64/version-script4 -278: ++ mkdir -p out/test/elf/x86_64/version-script4 278: + cat -272: + grep -q ' azZ$' out/test/elf/x86_64/version-script15/log -271: + grep -q ' foo123bar456bx$' out/test/elf/x86_64/version-script14/log -280: + cat -278: + cat -271: + grep -q ' foo123bar456c$' out/test/elf/x86_64/version-script14/log -280: + c++ -fPIC -c -o out/test/elf/x86_64/version-script6/b.o -xc - -262: + grep -q foo out/test/elf/x86_64/undefined/log 280: + cat -262: + grep -q bar out/test/elf/x86_64/undefined/log 278: + c++ -fPIC -c -o out/test/elf/x86_64/version-script4/b.o -xc++ - -272: + grep -q ' czZ$' out/test/elf/x86_64/version-script15/log +271: + grep -q ' foobarcx$' out/test/elf/x86_64/version-script14/log +280: + cat +280: + c++ -fPIC -c -o out/test/elf/x86_64/version-script6/b.o -xc - +271: + grep -q ' foo123bar456bx$' out/test/elf/x86_64/version-script14/log +272: + readelf --dyn-syms out/test/elf/x86_64/version-script15/c.so +279: + cat +272: + grep -q ' azZ$' out/test/elf/x86_64/version-script15/log +271: + grep -q ' foo123bar456c$' out/test/elf/x86_64/version-script14/log +279: + cat +279: + c++ -fPIC -c -o out/test/elf/x86_64/version-script5/b.o -xc - +275: + readelf --wide --dyn-syms out/test/elf/x86_64/version-script18/c.so 271: + grep -q ' foo123bar456x$' out/test/elf/x86_64/version-script14/log -262: + on_exit -262: + echo OK -262: OK -262: + exit 0 -265/309 Test #262: x86_64-undefined ........................ Passed 0.68 sec +272: + grep -q ' czZ$' out/test/elf/x86_64/version-script15/log +280: + 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 +259: + grep -q '42 5' +272: + grep -q ' azC$' out/test/elf/x86_64/version-script15/log +275: + grep libalpha +275: + grep -q Bar +271: + on_exit +271: + echo OK +271: OK +271: + exit 0 +266/309 Test #271: x86_64-version-script14 ................. Passed 0.33 sec test 281 Start 281: x86_64-version-script7 281: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script7.sh" 281: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 281: Test timeout computed to be: 1500 -271: + on_exit -271: + echo OK -271: OK -271: + exit 0 -266/309 Test #271: x86_64-version-script14 ................. Passed 0.37 sec +272: + grep -q ' aaZ$' out/test/elf/x86_64/version-script15/log +259: + out/test/elf/x86_64/tlsdesc/exe +275: + on_exit +275: + echo OK +275: OK +275: + exit 0 +273: + grep -q foobar +281: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script7.sh +267/309 Test #275: x86_64-version-script18 ................. Passed 0.20 sec test 282 Start 282: x86_64-version-script8 282: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script8.sh" 282: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 282: Test timeout computed to be: 1500 -272: + grep -q ' azC$' out/test/elf/x86_64/version-script15/log -272: + grep -q ' aaZ$' out/test/elf/x86_64/version-script15/log -245: + grep -q '1 2 3 4 5 6' -245: + out/test/elf/x86_64/tls-gd/exe3 -245: + cc -B. -o out/test/elf/x86_64/tls-gd/exe4 out/test/elf/x86_64/tls-gd/a.o out/test/elf/x86_64/tls-gd/b.o out/test/elf/x86_64/tls-gd/c.o -static -Wl,-no-relax -259: + out/test/elf/x86_64/tlsdesc/exe -259: + grep -q '42 5' +272: + on_exit +272: + echo OK +272: OK +272: + exit 0 259: + cc -B. -shared -o out/test/elf/x86_64/tlsdesc/c.so out/test/elf/x86_64/tlsdesc/a.o -Wl,-no-relax -281: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script7.sh +273: + readelf --dyn-syms out/test/elf/x86_64/version-script16/c.so +273: + on_exit +273: + echo OK +273: OK +273: + exit 0 281: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 281: ++ export LC_ALL=C 281: ++ LC_ALL=C -274: + 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 -263: + 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 -282: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script8.sh +281: ++++ uname -m +278: + 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 263: + grep -q 'undefined.*foo' -273: + readelf --dyn-syms out/test/elf/x86_64/version-script16/c.so -273: + grep -q foobar -272: + on_exit -272: + echo OK -272: OK -272: + exit 0 -282: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -282: ++ export LC_ALL=C -282: ++ LC_ALL=C -267/309 Test #272: x86_64-version-script15 ................. Passed 0.36 sec +263: + 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 +268/309 Test #273: x86_64-version-script16 ................. Passed 0.30 sec test 283 Start 283: x86_64-version-script9 283: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script9.sh" 283: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 283: Test timeout computed to be: 1500 -282: ++++ uname -m -273: + on_exit -273: + echo OK -273: OK -273: + exit 0 -275: + readelf --wide --dyn-syms out/test/elf/x86_64/version-script18/c.so -275: + grep -q Bar -275: + grep libalpha -281: ++++ uname -m -268/309 Test #273: x86_64-version-script16 ................. Passed 0.30 sec +269/309 Test #272: x86_64-version-script15 ................. Passed 0.33 sec test 284 Start 284: x86_64-version 284: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/version.sh" 284: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 284: Test timeout computed to be: 1500 -282: +++ canonical_name x86_64 -282: +++ case $1 in -282: +++ echo x86_64 -282: ++ HOST=x86_64 -282: ++ '[' -n '' ']' -282: ++ MACHINE=x86_64 -282: ++ '[' -n '' ']' -282: ++ CC=cc -282: ++ CXX=c++ -282: ++ GCC=gcc -282: ++ GXX=g++ -282: ++ OBJDUMP=objdump -282: ++ OBJCOPY=objcopy -282: ++ STRIP=strip -282: ++ QEMU= -282: ++ trap 'on_error $LINENO' ERR -282: ++ trap on_exit EXIT -275: + on_exit -275: + echo OK -275: OK -275: + exit 0 281: +++ canonical_name x86_64 281: +++ case $1 in 281: +++ echo x86_64 @@ -19283,71 +19302,29 @@ 281: ++ echo -n 'Testing version-script7 ... ' 281: Testing version-script7 ... ++ t=out/test/elf/x86_64/version-script7 281: ++ mkdir -p out/test/elf/x86_64/version-script7 -279: + 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 -269/309 Test #275: x86_64-version-script18 ................. Passed 0.28 sec -test 285 - Start 285: x86_64-versioned-undef - -285: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/versioned-undef.sh" -285: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -285: Test timeout computed to be: 1500 -282: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script8.sh .sh -282: ++ testname=version-script8 -282: ++ echo -n 'Testing version-script8 ... ' -282: Testing version-script8 ... ++ t=out/test/elf/x86_64/version-script8 -282: ++ mkdir -p out/test/elf/x86_64/version-script8 +282: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script8.sh +282: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +282: ++ export LC_ALL=C +282: ++ LC_ALL=C +283: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script9.sh +283: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +283: ++ export LC_ALL=C +283: ++ LC_ALL=C 276: + cc -xc -c -o out/test/elf/x86_64/version-script2/c.o - -276: + cat 284: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version.sh -277: + cat -277: + cc -xc -c -o out/test/elf/x86_64/version-script3/c.o - -283: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script9.sh -280: + 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 284: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 284: ++ export LC_ALL=C 284: ++ LC_ALL=C -283: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -283: ++ export LC_ALL=C -283: ++ LC_ALL=C +276: + cat 281: + cat -285: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/versioned-undef.sh -285: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -285: ++ export LC_ALL=C -285: ++ LC_ALL=C -281: + c++ -fPIC -c -o out/test/elf/x86_64/version-script7/b.o -xc - -285: ++++ uname -m -285: +++ canonical_name x86_64 -285: +++ case $1 in -285: +++ echo x86_64 -282: + cat 281: + cat -285: ++ HOST=x86_64 -285: ++ '[' -n '' ']' -285: ++ MACHINE=x86_64 -285: ++ '[' -n '' ']' -285: ++ CC=cc -285: ++ CXX=c++ -285: ++ GCC=gcc -285: ++ GXX=g++ -285: ++ OBJDUMP=objdump -285: ++ OBJCOPY=objcopy -285: ++ STRIP=strip -285: ++ QEMU= -285: ++ trap 'on_error $LINENO' ERR -285: ++ trap on_exit EXIT -282: + cat -284: ++++ uname -m +281: + c++ -fPIC -c -o out/test/elf/x86_64/version-script7/b.o -xc - 283: ++++ uname -m -285: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/versioned-undef.sh .sh -285: ++ testname=versioned-undef -285: ++ echo -n 'Testing versioned-undef ... ' -285: Testing versioned-undef ... ++ t=out/test/elf/x86_64/versioned-undef -285: ++ mkdir -p out/test/elf/x86_64/versioned-undef -282: + 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 - +282: ++++ uname -m 283: +++ canonical_name x86_64 283: +++ case $1 in 283: +++ echo x86_64 -283: ++ HOST=x86_64 +284: ++++ uname -m 284: +++ canonical_name x86_64 284: +++ case $1 in 284: +++ echo x86_64 @@ -19365,6 +19342,7 @@ 284: ++ QEMU= 284: ++ trap 'on_error $LINENO' ERR 284: ++ trap on_exit EXIT +283: ++ HOST=x86_64 283: ++ '[' -n '' ']' 283: ++ MACHINE=x86_64 283: ++ '[' -n '' ']' @@ -19378,137 +19356,150 @@ 283: ++ QEMU= 283: ++ trap 'on_error $LINENO' ERR 283: ++ trap on_exit EXIT +282: +++ canonical_name x86_64 +282: +++ case $1 in +282: +++ echo x86_64 +282: ++ HOST=x86_64 +282: ++ '[' -n '' ']' +282: ++ MACHINE=x86_64 +282: ++ '[' -n '' ']' +282: ++ CC=cc +282: ++ CXX=c++ +282: ++ GCC=gcc +282: ++ GXX=g++ +282: ++ OBJDUMP=objdump +282: ++ OBJCOPY=objcopy +282: ++ STRIP=strip +282: ++ QEMU= +282: ++ trap 'on_error $LINENO' ERR +282: ++ trap on_exit EXIT 284: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version.sh .sh +282: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script8.sh .sh 284: ++ testname=version 284: ++ echo -n 'Testing version ... ' 284: Testing version ... ++ t=out/test/elf/x86_64/version 284: ++ mkdir -p out/test/elf/x86_64/version 283: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/version-script9.sh .sh -285: + ldd --help +282: ++ testname=version-script8 +282: ++ echo -n 'Testing version-script8 ... ' +282: Testing version-script8 ... ++ t=out/test/elf/x86_64/version-script8 +282: ++ mkdir -p out/test/elf/x86_64/version-script8 +277: + cat 283: ++ testname=version-script9 283: ++ echo -n 'Testing version-script9 ... ' 283: Testing version-script9 ... ++ t=out/test/elf/x86_64/version-script9 283: ++ mkdir -p out/test/elf/x86_64/version-script9 -285: + grep -q musl -276: + 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 +277: + cc -xc -c -o out/test/elf/x86_64/version-script3/c.o - +282: + cat 283: + echo 'VER1 { extern "C++" {}; foo; }; VER2 {};' 283: + cat -285: + cc -fPIC -c -o out/test/elf/x86_64/versioned-undef/a.o -xc - -258: + grep -q 42 +282: + cat +282: + 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 - 283: + 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 -284: + nm mold -285: + cat -258: + out/test/elf/x86_64/tlsdesc-static/exe -258: + 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 +276: + 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 284: + grep -q __tsan_init -277: + 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 -259: + 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 -274: + grep -q foo -278: + 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 -274: + nm -g out/test/elf/x86_64/version-script17/exe1 -280: + cat -274: + cat -281: + 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 -280: + c++ -fPIC -c -o out/test/elf/x86_64/version-script6/e.o -xc - +284: + nm mold +279: + 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 280: + cat -279: + readelf --dyn-syms out/test/elf/x86_64/version-script5/c.so +274: + 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 263: + 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 -274: + cc -B. -o out/test/elf/x86_64/version-script17/exe2 out/test/elf/x86_64/version-script17/a.o out/test/elf/x86_64/version-script17/b.so -Wl,--version-script=out/test/elf/x86_64/version-script17/c.ver -Wl,--undefined-version 263: + grep -q 'undefined.*foo' -279: + grep -Fq foo out/test/elf/x86_64/version-script5/log -285: + echo 'VER1 { local: *; }; VER2 { local: *; }; VER3 { local: *; };' -285: + cc -B. -shared -o out/test/elf/x86_64/versioned-undef/c.so out/test/elf/x86_64/versioned-undef/a.o -Wl,--version-script=out/test/elf/x86_64/versioned-undef/b.ver +277: + 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 +278: + readelf --dyn-syms out/test/elf/x86_64/version-script4/c.so +280: + cat +280: + c++ -fPIC -c -o out/test/elf/x86_64/version-script6/e.o -xc - +258: + grep -q 42 +281: + 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 +258: + out/test/elf/x86_64/tlsdesc-static/exe 245: + out/test/elf/x86_64/tls-gd/exe4 +278: + grep -Fq _ZN3foo3barE out/test/elf/x86_64/version-script4/log +258: + on_exit +258: + echo OK +258: OK +258: + exit 0 245: + grep -q '1 2 3 4 5 6' -279: + grep -Fq ' main' out/test/elf/x86_64/version-script5/log -280: + cc -B. -shared -Wl,-version-script,out/test/elf/x86_64/version-script6/d.ver -o out/test/elf/x86_64/version-script6/f.so out/test/elf/x86_64/version-script6/e.o out/test/elf/x86_64/version-script6/c.so -Wl,--undefined-version +270/309 Test #258: x86_64-tlsdesc-static ................... Passed 0.83 sec +test 285 + Start 285: x86_64-versioned-undef + +285: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/versioned-undef.sh" +285: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +285: Test timeout computed to be: 1500 +278: + grep -Fq ' bar' out/test/elf/x86_64/version-script4/log 245: + on_exit 245: + echo OK 245: OK 245: + exit 0 -270/309 Test #245: x86_64-tls-gd ........................... Passed 1.58 sec +271/309 Test #245: x86_64-tls-gd ........................... Passed 1.32 sec test 286 Start 286: x86_64-visibility 286: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/visibility.sh" 286: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 286: Test timeout computed to be: 1500 -279: + on_exit -279: + echo OK -279: OK -279: + exit 0 -271/309 Test #279: x86_64-version-script5 .................. Passed 0.36 sec +285: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/versioned-undef.sh +285: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +285: ++ export LC_ALL=C +285: ++ LC_ALL=C +259: + 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 +278: + on_exit +278: + echo OK +278: OK +278: + exit 0 +272/309 Test #278: x86_64-version-script4 .................. Passed 0.26 sec test 287 Start 287: x86_64-warn-common 287: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/warn-common.sh" 287: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 287: Test timeout computed to be: 1500 -277: + out/test/elf/x86_64/version-script3/exe -277: + readelf --dyn-syms out/test/elf/x86_64/version-script3/exe +285: ++++ uname -m +285: +++ canonical_name x86_64 +285: +++ case $1 in +285: +++ echo x86_64 +285: ++ HOST=x86_64 +285: ++ '[' -n '' ']' +285: ++ MACHINE=x86_64 +285: ++ '[' -n '' ']' +285: ++ CC=cc +285: ++ CXX=c++ +285: ++ GCC=gcc +285: ++ GXX=g++ +285: ++ OBJDUMP=objdump +285: ++ OBJCOPY=objcopy +285: ++ STRIP=strip +285: ++ QEMU= +285: ++ trap 'on_error $LINENO' ERR +285: ++ trap on_exit EXIT +285: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/versioned-undef.sh .sh +279: + readelf --dyn-syms out/test/elf/x86_64/version-script5/c.so 286: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/visibility.sh +285: ++ testname=versioned-undef +285: ++ echo -n 'Testing versioned-undef ... ' +285: Testing versioned-undef ... ++ t=out/test/elf/x86_64/versioned-undef +285: ++ mkdir -p out/test/elf/x86_64/versioned-undef +279: + grep -Fq foo out/test/elf/x86_64/version-script5/log +285: + ldd --help 286: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 286: ++ export LC_ALL=C 286: ++ LC_ALL=C -278: + readelf --dyn-syms out/test/elf/x86_64/version-script4/c.so -277: + grep -Fq foo@ver1 out/test/elf/x86_64/version-script3/log -278: + grep -Fq _ZN3foo3barE out/test/elf/x86_64/version-script4/log -277: + grep -Fq bar@ver2 out/test/elf/x86_64/version-script3/log -287: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/warn-common.sh -278: + grep -Fq ' bar' out/test/elf/x86_64/version-script4/log -276: + out/test/elf/x86_64/version-script2/exe -287: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -287: ++ export LC_ALL=C -287: ++ LC_ALL=C -277: + grep -Fq baz@ver2 out/test/elf/x86_64/version-script3/log -278: + on_exit -278: + echo OK -278: OK -278: + exit 0 -272/309 Test #278: x86_64-version-script4 .................. Passed 0.40 sec +286: ++++ uname -m +285: + grep -q musl +279: + grep -Fq ' main' out/test/elf/x86_64/version-script5/log +286: +++ canonical_name x86_64 +286: +++ case $1 in +286: +++ echo x86_64 +279: + on_exit +279: + echo OK +279: OK +279: + exit 0 +273/309 Test #279: x86_64-version-script5 .................. Passed 0.26 sec test 288 Start 288: x86_64-warn-once 288: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/warn-once.sh" 288: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 288: Test timeout computed to be: 1500 -277: + on_exit -277: + echo OK -277: OK -277: + exit 0 -276: + readelf --dyn-syms out/test/elf/x86_64/version-script2/exe -276: + grep -Fq foo@ver1 out/test/elf/x86_64/version-script2/log -287: ++++ uname -m -287: +++ canonical_name x86_64 -287: +++ case $1 in -287: +++ echo x86_64 -287: ++ HOST=x86_64 -287: ++ '[' -n '' ']' -287: ++ MACHINE=x86_64 -287: ++ '[' -n '' ']' -287: ++ CC=cc -287: ++ CXX=c++ -287: ++ GCC=gcc -287: ++ GXX=g++ -287: ++ OBJDUMP=objdump -287: ++ OBJCOPY=objcopy -287: ++ STRIP=strip -287: ++ QEMU= -287: ++ trap 'on_error $LINENO' ERR -287: ++ trap on_exit EXIT -287: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/warn-common.sh .sh -287: ++ testname=warn-common -287: ++ echo -n 'Testing warn-common ... ' -287: Testing warn-common ... ++ t=out/test/elf/x86_64/warn-common -287: ++ mkdir -p out/test/elf/x86_64/warn-common -283: + readelf --dyn-syms out/test/elf/x86_64/version-script9/c.so -281: + readelf --dyn-syms out/test/elf/x86_64/version-script7/c.so -281: + grep -q 'foo$' out/test/elf/x86_64/version-script7/log -281: + grep -q bar@@VER_X1 out/test/elf/x86_64/version-script7/log -286: ++++ uname -m -286: +++ canonical_name x86_64 -286: +++ case $1 in -286: +++ echo x86_64 286: ++ HOST=x86_64 286: ++ '[' -n '' ']' 286: ++ MACHINE=x86_64 @@ -19523,79 +19514,26 @@ 286: ++ QEMU= 286: ++ trap 'on_error $LINENO' ERR 286: ++ trap on_exit EXIT -273/309 Test #277: x86_64-version-script3 .................. Passed 0.44 sec -test 289 - Start 289: x86_64-warn-symbol-type - -289: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/warn-symbol-type.sh" -289: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -289: Test timeout computed to be: 1500 -276: + grep -Fq bar@ver2 out/test/elf/x86_64/version-script2/log -283: + grep -q ' foo@@VER1$' out/test/elf/x86_64/version-script9/log -283: + on_exit -283: + echo OK -283: OK -283: + exit 0 -281: + on_exit -281: + echo OK -281: OK -281: + exit 0 286: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/visibility.sh .sh 286: ++ testname=visibility 286: ++ echo -n 'Testing visibility ... ' 286: Testing visibility ... ++ t=out/test/elf/x86_64/visibility 286: ++ mkdir -p out/test/elf/x86_64/visibility -282: + cat -282: + cc -xc -c -o out/test/elf/x86_64/version-script8/c.o - -259: + out/test/elf/x86_64/tlsdesc/exe -259: + grep -q '42 5' -259: + on_exit -259: + echo OK -259: OK -259: + exit 0 +285: + cat +285: + cc -fPIC -c -o out/test/elf/x86_64/versioned-undef/a.o -xc - +280: + cc -B. -shared -Wl,-version-script,out/test/elf/x86_64/version-script6/d.ver -o out/test/elf/x86_64/version-script6/f.so out/test/elf/x86_64/version-script6/e.o out/test/elf/x86_64/version-script6/c.so -Wl,--undefined-version 288: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/warn-once.sh 288: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 288: ++ export LC_ALL=C 288: ++ LC_ALL=C -274/309 Test #281: x86_64-version-script7 .................. Passed 0.31 sec -test 290 - Start 290: x86_64-warn-unresolved-symbols - -290: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/warn-unresolved-symbols.sh" -290: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -290: Test timeout computed to be: 1500 -276: + grep -Fq baz@ver3 out/test/elf/x86_64/version-script2/log -276: + on_exit -276: + echo OK -276: OK -276: + exit 0 -275/309 Test #276: x86_64-version-script2 .................. Passed 0.49 sec -test 291 - Start 291: x86_64-weak-export-dso - -291: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/weak-export-dso.sh" -291: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -291: Test timeout computed to be: 1500 -276/309 Test #283: x86_64-version-script9 .................. Passed 0.31 sec -test 292 - Start 292: x86_64-weak-export-exe - -292: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/weak-export-exe.sh" -292: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -292: Test timeout computed to be: 1500 -286: + cc -xc -c -o out/test/elf/x86_64/visibility/a.o - 286: + cat -277/309 Test #259: x86_64-tlsdesc .......................... Passed 1.07 sec -test 293 - Start 293: x86_64-weak-undef-dso - -293: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/weak-undef-dso.sh" -293: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -293: Test timeout computed to be: 1500 +286: + cc -xc -c -o out/test/elf/x86_64/visibility/a.o - +283: + readelf --dyn-syms out/test/elf/x86_64/version-script9/c.so 288: ++++ uname -m 288: +++ canonical_name x86_64 288: +++ case $1 in 288: +++ echo x86_64 +287: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/warn-common.sh 288: ++ HOST=x86_64 288: ++ '[' -n '' ']' 288: ++ MACHINE=x86_64 @@ -19610,35 +19548,78 @@ 288: ++ QEMU= 288: ++ trap 'on_error $LINENO' ERR 288: ++ trap on_exit EXIT +287: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +287: ++ export LC_ALL=C +287: ++ LC_ALL=C 288: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/warn-once.sh .sh +287: ++++ uname -m 288: ++ testname=warn-once 288: ++ echo -n 'Testing warn-once ... ' 288: Testing warn-once ... ++ t=out/test/elf/x86_64/warn-once 288: ++ mkdir -p out/test/elf/x86_64/warn-once +287: +++ canonical_name x86_64 +287: +++ case $1 in +287: +++ echo x86_64 +287: ++ HOST=x86_64 +287: ++ '[' -n '' ']' +287: ++ MACHINE=x86_64 +287: ++ '[' -n '' ']' +287: ++ CC=cc +287: ++ CXX=c++ +287: ++ GCC=gcc +287: ++ GXX=g++ +287: ++ OBJDUMP=objdump +287: ++ OBJCOPY=objcopy +287: ++ STRIP=strip +287: ++ QEMU= +287: ++ trap 'on_error $LINENO' ERR +287: ++ trap on_exit EXIT +287: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/warn-common.sh .sh +287: ++ testname=warn-common +287: ++ echo -n 'Testing warn-common ... ' +287: Testing warn-common ... ++ t=out/test/elf/x86_64/warn-common +287: ++ mkdir -p out/test/elf/x86_64/warn-common +283: + grep -q ' foo@@VER1$' out/test/elf/x86_64/version-script9/log 288: + cat -263: + on_exit -263: + echo OK -263: OK -263: + exit 0 -278/309 Test #263: x86_64-unresolved-symbols ............... Passed 1.02 sec -test 294 - Start 294: x86_64-weak-undef +283: + on_exit +283: + echo OK +283: OK +283: + exit 0 +274/309 Test #283: x86_64-version-script9 .................. Passed 0.19 sec +test 289 + Start 289: x86_64-warn-symbol-type -294: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/weak-undef.sh" -294: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -294: Test timeout computed to be: 1500 +289: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/warn-symbol-type.sh" +289: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +289: Test timeout computed to be: 1500 +288: + cc -c -fPIC -xc -o out/test/elf/x86_64/warn-once/a.o - 287: + cat 287: + cc -fcommon -c -xc -o out/test/elf/x86_64/warn-common/a.o - -287: + cat -287: + cc -fcommon -c -xc -o out/test/elf/x86_64/warn-common/b.o - +276: + out/test/elf/x86_64/version-script2/exe +274: + grep -q foo 289: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/warn-symbol-type.sh 289: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 289: ++ export LC_ALL=C 289: ++ LC_ALL=C +286: + cat +286: + cc -xc -c -o out/test/elf/x86_64/visibility/b.o - +274: + nm -g out/test/elf/x86_64/version-script17/exe1 +276: + readelf --dyn-syms out/test/elf/x86_64/version-script2/exe +277: + out/test/elf/x86_64/version-script3/exe +274: + cat +277: + readelf --dyn-syms out/test/elf/x86_64/version-script3/exe 289: ++++ uname -m +274: + cc -B. -o out/test/elf/x86_64/version-script17/exe2 out/test/elf/x86_64/version-script17/a.o out/test/elf/x86_64/version-script17/b.so -Wl,--version-script=out/test/elf/x86_64/version-script17/c.ver -Wl,--undefined-version +276: + grep -Fq foo@ver1 out/test/elf/x86_64/version-script2/log +281: + readelf --dyn-syms out/test/elf/x86_64/version-script7/c.so +287: + cat +281: + grep -q 'foo$' out/test/elf/x86_64/version-script7/log +287: + cc -fcommon -c -xc -o out/test/elf/x86_64/warn-common/b.o - 289: +++ canonical_name x86_64 289: +++ case $1 in 289: +++ echo x86_64 +276: + grep -Fq bar@ver2 out/test/elf/x86_64/version-script2/log +277: + grep -Fq foo@ver1 out/test/elf/x86_64/version-script3/log 289: ++ HOST=x86_64 289: ++ '[' -n '' ']' 289: ++ MACHINE=x86_64 @@ -19653,81 +19634,71 @@ 289: ++ QEMU= 289: ++ trap 'on_error $LINENO' ERR 289: ++ trap on_exit EXIT +281: + grep -q bar@@VER_X1 out/test/elf/x86_64/version-script7/log +277: + grep -Fq bar@ver2 out/test/elf/x86_64/version-script3/log +286: + rm -f out/test/elf/x86_64/visibility/c.a +276: + grep -Fq baz@ver3 out/test/elf/x86_64/version-script2/log +277: + grep -Fq baz@ver2 out/test/elf/x86_64/version-script3/log +286: + 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 +282: + cat +281: + on_exit +281: + echo OK +281: OK +281: + exit 0 +275/309 Test #281: x86_64-version-script7 .................. Passed 0.26 sec +test 290 + Start 290: x86_64-warn-unresolved-symbols + +290: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/warn-unresolved-symbols.sh" +290: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +290: Test timeout computed to be: 1500 +282: + cc -xc -c -o out/test/elf/x86_64/version-script8/c.o - +276: + on_exit +276: + echo OK +276: OK +276: + exit 0 +277: + on_exit +277: + echo OK +277: OK +277: + exit 0 +285: + echo 'VER1 { local: *; }; VER2 { local: *; }; VER3 { local: *; };' +285: + cc -B. -shared -o out/test/elf/x86_64/versioned-undef/c.so out/test/elf/x86_64/versioned-undef/a.o -Wl,--version-script=out/test/elf/x86_64/versioned-undef/b.ver 289: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/warn-symbol-type.sh .sh +286: + cc -xc -fPIC -c -o out/test/elf/x86_64/visibility/d.o - +276/309 Test #276: x86_64-version-script2 .................. Passed 0.43 sec +test 291 + Start 291: x86_64-weak-export-dso + +291: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/weak-export-dso.sh" +291: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +291: Test timeout computed to be: 1500 +277/309 Test #277: x86_64-version-script3 .................. Passed 0.43 sec +test 292 + Start 292: x86_64-weak-export-exe + +292: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/weak-export-exe.sh" +292: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +292: Test timeout computed to be: 1500 289: ++ testname=warn-symbol-type 289: ++ echo -n 'Testing warn-symbol-type ... ' 289: Testing warn-symbol-type ... ++ t=out/test/elf/x86_64/warn-symbol-type 289: ++ mkdir -p out/test/elf/x86_64/warn-symbol-type -289: + cat 289: + cc -c -fPIC -xc -o out/test/elf/x86_64/warn-symbol-type/a.o - -280: + readelf --dyn-syms out/test/elf/x86_64/version-script6/f.so -280: + grep -q foo@VER_X1 out/test/elf/x86_64/version-script6/log -280: + grep -q bar@VER_X2 out/test/elf/x86_64/version-script6/log -280: + grep -q baz@@VER_Y2 out/test/elf/x86_64/version-script6/log -280: + on_exit -280: + echo OK -280: OK -280: + exit 0 -286: + cc -xc -c -o out/test/elf/x86_64/visibility/b.o - +289: + cat 286: + cat -288: + cc -c -fPIC -xc -o out/test/elf/x86_64/warn-once/a.o - -279/309 Test #280: x86_64-version-script6 .................. Passed 0.48 sec -test 295 - Start 295: x86_64-weak-undef2 - -295: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/weak-undef2.sh" -295: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -295: Test timeout computed to be: 1500 -274: + nm -g out/test/elf/x86_64/version-script17/exe2 -274: + grep -q foo out/test/elf/x86_64/version-script17/log2 -274: + cat -274: + 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 -290: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/warn-unresolved-symbols.sh -290: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -290: ++ export LC_ALL=C -290: ++ LC_ALL=C -290: ++++ uname -m -290: +++ canonical_name x86_64 -290: +++ case $1 in -290: +++ echo x86_64 -290: ++ HOST=x86_64 -290: ++ '[' -n '' ']' -290: ++ MACHINE=x86_64 -290: ++ '[' -n '' ']' -290: ++ CC=cc -290: ++ CXX=c++ -290: ++ GCC=gcc -290: ++ GXX=g++ -290: ++ OBJDUMP=objdump -290: ++ OBJCOPY=objcopy -290: ++ STRIP=strip -290: ++ QEMU= -290: ++ trap 'on_error $LINENO' ERR -290: ++ trap on_exit EXIT -290: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/warn-unresolved-symbols.sh .sh -290: ++ testname=warn-unresolved-symbols -290: ++ echo -n 'Testing warn-unresolved-symbols ... ' -290: Testing warn-unresolved-symbols ... ++ t=out/test/elf/x86_64/warn-unresolved-symbols -290: ++ mkdir -p out/test/elf/x86_64/warn-unresolved-symbols -290: + cat -290: + cc -c -o out/test/elf/x86_64/warn-unresolved-symbols/a.o -xc - -282: + 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 -285: + cc -c -o out/test/elf/x86_64/versioned-undef/d.o -xc - -285: + cat -258: + out/test/elf/x86_64/tlsdesc-static/exe -258: + grep -q 42 -258: + on_exit -258: + echo OK -258: OK -258: + exit 0 +288: + cat +288: + cc -c -fPIC -xc -o out/test/elf/x86_64/warn-once/b.o - 291: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/weak-export-dso.sh 291: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 291: ++ export LC_ALL=C 291: ++ LC_ALL=C 291: ++++ uname -m +290: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/warn-unresolved-symbols.sh +259: + grep -q '42 5' 291: +++ canonical_name x86_64 291: +++ case $1 in 291: +++ echo x86_64 +259: + out/test/elf/x86_64/tlsdesc/exe 291: ++ HOST=x86_64 291: ++ '[' -n '' ']' 291: ++ MACHINE=x86_64 @@ -19742,12 +19713,64 @@ 291: ++ QEMU= 291: ++ trap 'on_error $LINENO' ERR 291: ++ trap on_exit EXIT -291: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/weak-export-dso.sh .sh +290: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +290: ++ export LC_ALL=C +290: ++ LC_ALL=C +290: ++++ uname -m +290: +++ canonical_name x86_64 +290: +++ case $1 in +290: +++ echo x86_64 +290: ++ HOST=x86_64 +290: ++ '[' -n '' ']' +290: ++ MACHINE=x86_64 +290: ++ '[' -n '' ']' +290: ++ CC=cc +290: ++ CXX=c++ +290: ++ GCC=gcc +290: ++ GXX=g++ +290: ++ OBJDUMP=objdump +290: ++ OBJCOPY=objcopy +290: ++ STRIP=strip +290: ++ QEMU= 292: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/weak-export-exe.sh +259: + on_exit +259: + echo OK +259: OK +259: + exit 0 +290: ++ trap 'on_error $LINENO' ERR +290: ++ trap on_exit EXIT +278/309 Test #259: x86_64-tlsdesc .......................... Passed 0.94 sec +test 293 + Start 293: x86_64-weak-undef-dso + +293: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/weak-undef-dso.sh" +293: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +293: Test timeout computed to be: 1500 +290: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/warn-unresolved-symbols.sh .sh 292: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 292: ++ export LC_ALL=C 292: ++ LC_ALL=C 292: ++++ uname -m +291: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/weak-export-dso.sh .sh +291: ++ testname=weak-export-dso +291: ++ echo -n 'Testing weak-export-dso ... ' +291: Testing weak-export-dso ... ++ t=out/test/elf/x86_64/weak-export-dso +291: ++ mkdir -p out/test/elf/x86_64/weak-export-dso +280: + readelf --dyn-syms out/test/elf/x86_64/version-script6/f.so +280: + grep -q foo@VER_X1 out/test/elf/x86_64/version-script6/log +287: + 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 +263: + on_exit +263: + echo OK +263: OK +263: + exit 0 +293: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/weak-undef-dso.sh +279/309 Test #263: x86_64-unresolved-symbols ............... Passed 0.87 sec +test 294 + Start 294: x86_64-weak-undef + +294: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/weak-undef.sh" +294: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +294: Test timeout computed to be: 1500 292: +++ canonical_name x86_64 292: +++ case $1 in 292: +++ echo x86_64 @@ -19766,48 +19789,40 @@ 292: ++ trap 'on_error $LINENO' ERR 292: ++ trap on_exit EXIT 292: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/weak-export-exe.sh .sh -292: ++ testname=weak-export-exe -292: ++ echo -n 'Testing weak-export-exe ... ' -292: Testing weak-export-exe ... ++ t=out/test/elf/x86_64/weak-export-exe -292: ++ mkdir -p out/test/elf/x86_64/weak-export-exe -293: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/weak-undef-dso.sh +280: + grep -q bar@VER_X2 out/test/elf/x86_64/version-script6/log 293: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 293: ++ export LC_ALL=C 293: ++ LC_ALL=C -293: ++++ uname -m -293: +++ canonical_name x86_64 -293: +++ case $1 in -293: +++ echo x86_64 -293: ++ HOST=x86_64 -293: ++ '[' -n '' ']' -293: ++ MACHINE=x86_64 -293: ++ '[' -n '' ']' -293: ++ CC=cc -293: ++ CXX=c++ -293: ++ GCC=gcc -293: ++ GXX=g++ -293: ++ OBJDUMP=objdump -293: ++ OBJCOPY=objcopy -293: ++ STRIP=strip -293: ++ QEMU= -293: ++ trap 'on_error $LINENO' ERR -293: ++ trap on_exit EXIT +282: + 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 +280: + grep -q baz@@VER_Y2 out/test/elf/x86_64/version-script6/log 294: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/weak-undef.sh 294: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 294: ++ export LC_ALL=C 294: ++ LC_ALL=C +290: ++ testname=warn-unresolved-symbols +290: ++ echo -n 'Testing warn-unresolved-symbols ... ' +290: Testing warn-unresolved-symbols ... ++ t=out/test/elf/x86_64/warn-unresolved-symbols +290: ++ mkdir -p out/test/elf/x86_64/warn-unresolved-symbols 294: ++++ uname -m -286: + rm -f out/test/elf/x86_64/visibility/c.a +280: + on_exit +280: + echo OK +280: OK +280: + exit 0 +292: ++ testname=weak-export-exe +292: ++ echo -n 'Testing weak-export-exe ... ' +292: Testing weak-export-exe ... ++ t=out/test/elf/x86_64/weak-export-exe +292: ++ mkdir -p out/test/elf/x86_64/weak-export-exe +280/309 Test #280: x86_64-version-script6 .................. Passed 0.38 sec +test 295 + Start 295: x86_64-weak-undef2 + +295: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/weak-undef2.sh" +295: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +295: Test timeout computed to be: 1500 +286: + 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 294: +++ canonical_name x86_64 294: +++ case $1 in 294: +++ echo x86_64 -280/309 Test #258: x86_64-tlsdesc-static ................... Passed 1.14 sec -test 296 - Start 296: x86_64-whole-archive - -296: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/whole-archive.sh" -296: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -296: Test timeout computed to be: 1500 294: ++ HOST=x86_64 294: ++ '[' -n '' ']' 294: ++ MACHINE=x86_64 @@ -19822,43 +19837,16 @@ 294: ++ QEMU= 294: ++ trap 'on_error $LINENO' ERR 294: ++ trap on_exit EXIT -294: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/weak-undef.sh .sh +292: + cat +292: + cc -fPIC -c -o out/test/elf/x86_64/weak-export-exe/a.o -xc - 295: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/weak-undef2.sh 295: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 295: ++ export LC_ALL=C 295: ++ LC_ALL=C -293: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/weak-undef-dso.sh .sh -293: ++ testname=weak-undef-dso -293: ++ echo -n 'Testing weak-undef-dso ... ' -293: Testing weak-undef-dso ... ++ t=out/test/elf/x86_64/weak-undef-dso -293: ++ mkdir -p out/test/elf/x86_64/weak-undef-dso -291: ++ testname=weak-export-dso -291: ++ echo -n 'Testing weak-export-dso ... ' -291: Testing weak-export-dso ... ++ t=out/test/elf/x86_64/weak-export-dso -291: ++ mkdir -p out/test/elf/x86_64/weak-export-dso -286: + 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 -294: ++ testname=weak-undef -294: ++ echo -n 'Testing weak-undef ... ' -294: Testing weak-undef ... ++ t=out/test/elf/x86_64/weak-undef -294: ++ mkdir -p out/test/elf/x86_64/weak-undef -296: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/whole-archive.sh -291: + cat -291: + cc -fPIC -c -o out/test/elf/x86_64/weak-export-dso/a.o -xc - -286: + cat -286: + cc -xc -fPIC -c -o out/test/elf/x86_64/visibility/d.o - -292: + cc -fPIC -c -o out/test/elf/x86_64/weak-export-exe/a.o -xc - 295: ++++ uname -m -296: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -296: ++ export LC_ALL=C -296: ++ LC_ALL=C -287: + 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 -289: + cc -B. -shared -o out/test/elf/x86_64/warn-symbol-type/a.so out/test/elf/x86_64/warn-symbol-type/a.o 295: +++ canonical_name x86_64 295: +++ case $1 in 295: +++ echo x86_64 -292: + cat -293: + cat -288: + cc -c -fPIC -xc -o out/test/elf/x86_64/warn-once/b.o - 295: ++ HOST=x86_64 295: ++ '[' -n '' ']' 295: ++ MACHINE=x86_64 @@ -19873,92 +19861,147 @@ 295: ++ QEMU= 295: ++ trap 'on_error $LINENO' ERR 295: ++ trap on_exit EXIT -288: + cat -296: ++++ uname -m -296: +++ canonical_name x86_64 -296: +++ case $1 in -296: +++ echo x86_64 -294: + cc -c -o out/test/elf/x86_64/weak-undef/a.o -fPIC -xc - -296: ++ HOST=x86_64 -296: ++ '[' -n '' ']' -296: ++ MACHINE=x86_64 -296: ++ '[' -n '' ']' -296: ++ CC=cc -296: ++ CXX=c++ -296: ++ GCC=gcc -296: ++ GXX=g++ -296: ++ OBJDUMP=objdump -296: ++ OBJCOPY=objcopy -296: ++ STRIP=strip -296: ++ QEMU= -296: ++ trap 'on_error $LINENO' ERR -296: ++ trap on_exit EXIT -285: + cc -B. -o out/test/elf/x86_64/versioned-undef/exe out/test/elf/x86_64/versioned-undef/d.o out/test/elf/x86_64/versioned-undef/c.so -294: + cat -293: + cc -c -o out/test/elf/x86_64/weak-undef-dso/a.o -fPIC -xc - +289: + cc -B. -shared -o out/test/elf/x86_64/warn-symbol-type/a.so out/test/elf/x86_64/warn-symbol-type/a.o +293: ++++ uname -m +290: + cat +291: + cc -fPIC -c -o out/test/elf/x86_64/weak-export-dso/a.o -xc - 295: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/weak-undef2.sh .sh 295: ++ testname=weak-undef2 295: ++ echo -n 'Testing weak-undef2 ... ' 295: Testing weak-undef2 ... ++ t=out/test/elf/x86_64/weak-undef2 295: ++ mkdir -p out/test/elf/x86_64/weak-undef2 -296: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/whole-archive.sh .sh -296: ++ testname=whole-archive -296: ++ echo -n 'Testing whole-archive ... ' -296: Testing whole-archive ... ++ t=out/test/elf/x86_64/whole-archive -296: ++ mkdir -p out/test/elf/x86_64/whole-archive -295: + cc -c -o out/test/elf/x86_64/weak-undef2/a.o -xc - +293: +++ canonical_name x86_64 +293: +++ case $1 in +293: +++ echo x86_64 +290: + cc -c -o out/test/elf/x86_64/warn-unresolved-symbols/a.o -xc - +294: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/weak-undef.sh .sh +293: ++ HOST=x86_64 +293: ++ '[' -n '' ']' +293: ++ MACHINE=x86_64 +293: ++ '[' -n '' ']' +293: ++ CC=cc +293: ++ CXX=c++ +293: ++ GCC=gcc +293: ++ GXX=g++ +293: ++ OBJDUMP=objdump +293: ++ OBJCOPY=objcopy +293: ++ STRIP=strip +293: ++ QEMU= +293: ++ trap 'on_error $LINENO' ERR +293: ++ trap on_exit EXIT +294: ++ testname=weak-undef +294: ++ echo -n 'Testing weak-undef ... ' +294: Testing weak-undef ... ++ t=out/test/elf/x86_64/weak-undef +294: ++ mkdir -p out/test/elf/x86_64/weak-undef +291: + cat +293: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/weak-undef-dso.sh .sh +293: ++ testname=weak-undef-dso +293: ++ echo -n 'Testing weak-undef-dso ... ' +293: Testing weak-undef-dso ... ++ t=out/test/elf/x86_64/weak-undef-dso +293: ++ mkdir -p out/test/elf/x86_64/weak-undef-dso +293: + cat +293: + cc -c -o out/test/elf/x86_64/weak-undef-dso/a.o -fPIC -xc - +274: + nm -g out/test/elf/x86_64/version-script17/exe2 +294: + cc -c -o out/test/elf/x86_64/weak-undef/a.o -fPIC -xc - +294: + cat 295: + cat -296: + cc -o out/test/elf/x86_64/whole-archive/a.o -c -x assembler - -296: + cat -274: + nm -g out/test/elf/x86_64/version-script17/exe3 -274: + grep -q foo out/test/elf/x86_64/version-script17/log3 -290: + grep -q 'undefined symbol:.*foo' -290: + cc -B. -o out/test/elf/x86_64/warn-unresolved-symbols/exe out/test/elf/x86_64/warn-unresolved-symbols/a.o -296: + cc -o out/test/elf/x86_64/whole-archive/b.o -c -xc - 288: + 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 -296: + echo 'int fn1() { return 42; }' -274: + on_exit -274: + echo OK -274: OK -274: + exit 0 -281/309 Test #274: x86_64-version-script17 ................. Passed 0.74 sec -test 297 - Start 297: x86_64-wrap-lto - -297: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/wrap-lto.sh" -297: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -297: Test timeout computed to be: 1500 -282: + out/test/elf/x86_64/version-script8/exe -286: + 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 -293: + cc -B. -shared -o out/test/elf/x86_64/weak-undef-dso/b.so out/test/elf/x86_64/weak-undef-dso/a.o +274: + grep -q foo out/test/elf/x86_64/version-script17/log2 +295: + cc -c -o out/test/elf/x86_64/weak-undef2/a.o -xc - +274: + cat +274: + 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 292: + cc -B. -o out/test/elf/x86_64/weak-export-exe/exe out/test/elf/x86_64/weak-export-exe/a.o -294: + cat +293: + cc -B. -shared -o out/test/elf/x86_64/weak-undef-dso/b.so out/test/elf/x86_64/weak-undef-dso/a.o +285: + cat +285: + cc -c -o out/test/elf/x86_64/versioned-undef/d.o -xc - +291: + cc -B. -o out/test/elf/x86_64/weak-export-dso/b.so out/test/elf/x86_64/weak-export-dso/a.o -shared +282: + out/test/elf/x86_64/version-script8/exe +290: + cc -B. -o out/test/elf/x86_64/warn-unresolved-symbols/exe out/test/elf/x86_64/warn-unresolved-symbols/a.o +290: + grep -q 'undefined symbol:.*foo' 282: + readelf --dyn-syms out/test/elf/x86_64/version-script8/b.so -294: + cc -c -o out/test/elf/x86_64/weak-undef/b.o -fno-PIC -xc - -297: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/wrap-lto.sh +295: + cat +295: + cc -c -o out/test/elf/x86_64/weak-undef2/b.o -xc - +294: + cat 282: + grep -Fq foo@@ver1 out/test/elf/x86_64/version-script8/log -297: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -291: + cc -B. -o out/test/elf/x86_64/weak-export-dso/b.so out/test/elf/x86_64/weak-export-dso/a.o -shared -297: ++ export LC_ALL=C -297: ++ LC_ALL=C +294: + cc -c -o out/test/elf/x86_64/weak-undef/b.o -fno-PIC -xc - 282: + grep -Fq bar@@ver2 out/test/elf/x86_64/version-script8/log -289: + grep -q 'warning: symbol type mismatch: times' out/test/elf/x86_64/warn-symbol-type/log 282: + grep -Fq baz out/test/elf/x86_64/version-script8/log +289: + grep -q 'warning: symbol type mismatch: times' out/test/elf/x86_64/warn-symbol-type/log +286: + readelf --dyn-syms out/test/elf/x86_64/visibility/e.so 289: + on_exit 289: + echo OK 289: OK 289: + exit 0 -282/309 Test #289: x86_64-warn-symbol-type ................. Passed 0.25 sec +282: + on_exit +282: + echo OK +282: OK +282: + exit 0 +281/309 Test #282: x86_64-version-script8 .................. Passed 0.41 sec +test 296 + Start 296: x86_64-whole-archive + +296: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/whole-archive.sh" +296: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +296: Test timeout computed to be: 1500 +282/309 Test #289: x86_64-warn-symbol-type ................. Passed 0.21 sec +test 297 + Start 297: x86_64-wrap-lto + +297: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/wrap-lto.sh" +297: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +297: Test timeout computed to be: 1500 +286: + grep -Fq foo out/test/elf/x86_64/visibility/log +287: + grep -Fq 'multiple common symbols' out/test/elf/x86_64/warn-common/log +286: + on_exit +286: + echo OK +286: OK +286: + exit 0 +285: + cc -B. -o out/test/elf/x86_64/versioned-undef/exe out/test/elf/x86_64/versioned-undef/d.o out/test/elf/x86_64/versioned-undef/c.so +283/309 Test #286: x86_64-visibility ....................... Passed 0.27 sec test 298 Start 298: x86_64-wrap 298: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/wrap.sh" 298: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 298: Test timeout computed to be: 1500 +296: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/whole-archive.sh +296: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +296: ++ export LC_ALL=C +296: ++ LC_ALL=C +296: ++++ uname -m +296: +++ canonical_name x86_64 +296: +++ case $1 in +296: +++ echo x86_64 +297: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/wrap-lto.sh +287: + 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 +297: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +297: ++ export LC_ALL=C +297: ++ LC_ALL=C +296: ++ HOST=x86_64 +296: ++ '[' -n '' ']' +296: ++ MACHINE=x86_64 +296: ++ '[' -n '' ']' +296: ++ CC=cc +296: ++ CXX=c++ +296: ++ GCC=gcc +296: ++ GXX=g++ +296: ++ OBJDUMP=objdump +296: ++ OBJCOPY=objcopy +296: ++ STRIP=strip +296: ++ QEMU= +296: ++ trap 'on_error $LINENO' ERR +296: ++ trap on_exit EXIT +298: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/wrap.sh +298: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +298: ++ export LC_ALL=C +298: ++ LC_ALL=C 297: ++++ uname -m +274: + nm -g out/test/elf/x86_64/version-script17/exe3 297: +++ canonical_name x86_64 +298: ++++ uname -m 297: +++ case $1 in 297: +++ echo x86_64 +296: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/whole-archive.sh .sh 297: ++ HOST=x86_64 297: ++ '[' -n '' ']' 297: ++ MACHINE=x86_64 @@ -19973,54 +20016,33 @@ 297: ++ QEMU= 297: ++ trap 'on_error $LINENO' ERR 297: ++ trap on_exit EXIT -282: + on_exit -282: + echo OK -282: OK -282: + exit 0 -283/309 Test #282: x86_64-version-script8 .................. Passed 0.55 sec -test 299 - Start 299: x86_64-z-cet-report - -299: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-cet-report.sh" -299: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -299: Test timeout computed to be: 1500 -285: + out/test/elf/x86_64/versioned-undef/exe -285: + grep -q '^1 2 3 3$' -285: + on_exit -285: + echo OK -285: OK -285: + exit 0 -298: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/wrap.sh -298: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -298: ++ export LC_ALL=C -298: ++ LC_ALL=C -284/309 Test #285: x86_64-versioned-undef .................. Passed 0.51 sec -test 300 - Start 300: x86_64-z-defs - -300: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-defs.sh" -300: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -300: Test timeout computed to be: 1500 -299: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-cet-report.sh -299: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -299: ++ export LC_ALL=C -299: ++ LC_ALL=C 297: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/wrap-lto.sh .sh 297: ++ testname=wrap-lto 297: ++ echo -n 'Testing wrap-lto ... ' 297: Testing wrap-lto ... ++ t=out/test/elf/x86_64/wrap-lto 297: ++ mkdir -p out/test/elf/x86_64/wrap-lto -297: + cc -fPIC -shared -o out/test/elf/x86_64/wrap-lto/a.so -xc - -295: + cc -c -o out/test/elf/x86_64/weak-undef2/b.o -xc - -295: + cat -297: + cat -298: ++++ uname -m -299: ++++ uname -m -296: + cc -o out/test/elf/x86_64/whole-archive/c.o -c -xc - -296: + echo 'int fn2() { return 42; }' +296: ++ testname=whole-archive +296: ++ echo -n 'Testing whole-archive ... ' +296: Testing whole-archive ... ++ t=out/test/elf/x86_64/whole-archive +296: ++ mkdir -p out/test/elf/x86_64/whole-archive +292: + readelf --dyn-syms out/test/elf/x86_64/weak-export-exe/exe 298: +++ canonical_name x86_64 298: +++ case $1 in 298: +++ echo x86_64 +274: + grep -q foo out/test/elf/x86_64/version-script17/log3 +274: + on_exit +274: + echo OK +274: OK +274: + exit 0 +295: + cc -B. -o out/test/elf/x86_64/weak-undef2/exe out/test/elf/x86_64/weak-undef2/a.o out/test/elf/x86_64/weak-undef2/b.o +284/309 Test #274: x86_64-version-script17 ................. Passed 0.73 sec +test 299 + Start 299: x86_64-z-cet-report + +299: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-cet-report.sh" +299: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +299: Test timeout computed to be: 1500 +292: + grep -q 'WEAK DEFAULT UND foo' 298: ++ HOST=x86_64 298: ++ '[' -n '' ']' 298: ++ MACHINE=x86_64 @@ -20035,19 +20057,45 @@ 298: ++ QEMU= 298: ++ trap 'on_error $LINENO' ERR 298: ++ trap on_exit EXIT -300: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-defs.sh -287: + grep -Fq 'multiple common symbols' out/test/elf/x86_64/warn-common/log +297: + cc -fPIC -shared -o out/test/elf/x86_64/wrap-lto/a.so -xc - +297: + cat +291: + 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 +292: + out/test/elf/x86_64/weak-export-exe/exe +299: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-cet-report.sh +299: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +299: ++ export LC_ALL=C +299: ++ LC_ALL=C +296: + cat +296: + cc -o out/test/elf/x86_64/whole-archive/a.o -c -x assembler - +294: + cat +294: + cc -fcommon -xc -c -o out/test/elf/x86_64/weak-undef/c.o - 298: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/wrap.sh .sh +292: + grep -q '^3$' +292: + on_exit +292: + echo OK +292: OK +292: + exit 0 298: ++ testname=wrap 298: ++ echo -n 'Testing wrap ... ' 298: Testing wrap ... ++ t=out/test/elf/x86_64/wrap 298: ++ mkdir -p out/test/elf/x86_64/wrap -299: +++ canonical_name x86_64 -299: +++ case $1 in -299: +++ echo x86_64 +285/309 Test #292: x86_64-weak-export-exe .................. Passed 0.21 sec +test 300 + Start 300: x86_64-z-defs + +300: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-defs.sh" +300: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +300: Test timeout computed to be: 1500 +299: ++++ uname -m +296: + echo 'int fn1() { return 42; }' +300: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-defs.sh 300: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 300: ++ export LC_ALL=C 300: ++ LC_ALL=C +296: + cc -o out/test/elf/x86_64/whole-archive/b.o -c -xc - +299: +++ canonical_name x86_64 +299: +++ case $1 in +299: +++ echo x86_64 299: ++ HOST=x86_64 299: ++ '[' -n '' ']' 299: ++ MACHINE=x86_64 @@ -20062,21 +20110,15 @@ 299: ++ QEMU= 299: ++ trap 'on_error $LINENO' ERR 299: ++ trap on_exit EXIT -287: + 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 -294: + cat -294: + cc -fcommon -xc -c -o out/test/elf/x86_64/weak-undef/c.o - -286: + readelf --dyn-syms out/test/elf/x86_64/visibility/e.so -300: ++++ uname -m +288: ++ grep 'undefined symbol:.* foo$' out/test/elf/x86_64/warn-once/log 299: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-cet-report.sh .sh -298: + cc -fPIC -shared -o out/test/elf/x86_64/wrap/a.so -xc - -298: + cat -293: + cat -293: + cc -xc -c -o out/test/elf/x86_64/weak-undef-dso/c.o - 299: ++ testname=z-cet-report 299: ++ echo -n 'Testing z-cet-report ... ' 299: Testing z-cet-report ... ++ t=out/test/elf/x86_64/z-cet-report 299: ++ mkdir -p out/test/elf/x86_64/z-cet-report -286: + grep -Fq foo out/test/elf/x86_64/visibility/log +298: + cat +290: + 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 +300: ++++ uname -m 300: +++ canonical_name x86_64 300: +++ case $1 in 300: +++ echo x86_64 @@ -20094,75 +20136,47 @@ 300: ++ QEMU= 300: ++ trap 'on_error $LINENO' ERR 300: ++ trap on_exit EXIT -292: + grep -q 'WEAK DEFAULT UND foo' -286: + on_exit -286: + echo OK -286: OK -286: + exit 0 -285/309 Test #286: x86_64-visibility ....................... Passed 0.40 sec +299: + cat +298: + cc -fPIC -shared -o out/test/elf/x86_64/wrap/a.so -xc - +290: + grep -q 'undefined symbol:.*foo' +288: ++ wc -l +284: + ./mold -v +288: + '[' 1 = 1 ']' +288: + on_exit +288: + echo OK +288: OK +288: + exit 0 +286/309 Test #288: x86_64-warn-once ........................ Passed 0.33 sec test 301 Start 301: x86_64-z-dynamic-undefined-weak 301: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-dynamic-undefined-weak.sh" 301: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 301: Test timeout computed to be: 1500 -299: + cc -o out/test/elf/x86_64/z-cet-report/a.o -c -x assembler - -299: + cat 300: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-defs.sh .sh +299: + cc -o out/test/elf/x86_64/z-cet-report/a.o -c -x assembler - 300: ++ testname=z-defs 300: ++ echo -n 'Testing z-defs ... ' 300: Testing z-defs ... ++ t=out/test/elf/x86_64/z-defs 300: ++ mkdir -p out/test/elf/x86_64/z-defs +284: + grep -q '[ms]old .*compatible with GNU ld' 300: + cat -295: + cc -B. -o out/test/elf/x86_64/weak-undef2/exe out/test/elf/x86_64/weak-undef2/a.o out/test/elf/x86_64/weak-undef2/b.o -292: + readelf --dyn-syms out/test/elf/x86_64/weak-export-exe/exe -292: + grep -q '^3$' -288: ++ grep 'undefined symbol:.* foo$' out/test/elf/x86_64/warn-once/log -288: ++ wc -l -288: + '[' 1 = 1 ']' -288: + on_exit -288: + echo OK -288: OK -288: + exit 0 -290: + grep -q 'undefined symbol:.*foo' -290: + 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 -286/309 Test #288: x86_64-warn-once ........................ Passed 0.38 sec -test 302 - Start 302: x86_64-z-max-page-size - -302: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-max-page-size.sh" -302: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -302: Test timeout computed to be: 1500 -299: + cc -B. -o out/test/elf/x86_64/z-cet-report/exe out/test/elf/x86_64/z-cet-report/a.o 300: + cc -fPIC -c -o out/test/elf/x86_64/z-defs/a.o -xc - -292: + out/test/elf/x86_64/weak-export-exe/exe -292: + on_exit -292: + echo OK -292: OK -292: + exit 0 -296: + rm -f out/test/elf/x86_64/whole-archive/d.a -296: + 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 -296: + 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 -291: + 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 301: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-dynamic-undefined-weak.sh +294: + cc -B. -o out/test/elf/x86_64/weak-undef/exe1 out/test/elf/x86_64/weak-undef/a.o -pie 301: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 301: ++ export LC_ALL=C 301: ++ LC_ALL=C +293: + cc -xc -c -o out/test/elf/x86_64/weak-undef-dso/c.o - +293: + cat +299: + cc -B. -o out/test/elf/x86_64/z-cet-report/exe out/test/elf/x86_64/z-cet-report/a.o 284: + grep -q '[ms]old .*compatible with GNU ld' -287/309 Test #292: x86_64-weak-export-exe .................. Passed 0.33 sec -test 303 - Start 303: x86_64-z-nodefaultlib - -303: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-nodefaultlib.sh" -303: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -303: Test timeout computed to be: 1500 +284: + ./mold --version 301: ++++ uname -m -294: + cc -B. -o out/test/elf/x86_64/weak-undef/exe1 out/test/elf/x86_64/weak-undef/a.o -pie -293: + 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 301: +++ canonical_name x86_64 301: +++ case $1 in 301: +++ echo x86_64 -284: + ./mold -v +285: + out/test/elf/x86_64/versioned-undef/exe 301: ++ HOST=x86_64 301: ++ '[' -n '' ']' 301: ++ MACHINE=x86_64 @@ -20177,23 +20191,50 @@ 301: ++ QEMU= 301: ++ trap 'on_error $LINENO' ERR 301: ++ trap on_exit EXIT -302: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-max-page-size.sh +285: + grep -q '^1 2 3 3$' +296: + cc -o out/test/elf/x86_64/whole-archive/c.o -c -xc - +296: + echo 'int fn2() { return 42; }' 301: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-dynamic-undefined-weak.sh .sh -302: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -302: ++ export LC_ALL=C -302: ++ LC_ALL=C -303: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-nodefaultlib.sh +285: + on_exit +285: + echo OK +285: OK +285: + exit 0 +287/309 Test #285: x86_64-versioned-undef .................. Passed 0.41 sec +test 302 + Start 302: x86_64-z-max-page-size + +302: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-max-page-size.sh" +302: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +302: Test timeout computed to be: 1500 301: ++ testname=z-dynamic-undefined-weak 301: ++ echo -n 'Testing z-dynamic-undefined-weak ... ' 301: Testing z-dynamic-undefined-weak ... ++ t=out/test/elf/x86_64/z-dynamic-undefined-weak 301: ++ mkdir -p out/test/elf/x86_64/z-dynamic-undefined-weak -303: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -303: ++ export LC_ALL=C -303: ++ LC_ALL=C -302: ++++ uname -m +284: + ./mold -V +284: + grep -q '[ms]old .*compatible with GNU ld' +302: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-max-page-size.sh +302: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +302: ++ export LC_ALL=C +302: ++ LC_ALL=C +295: + grep -q 'undefined symbol: foo' out/test/elf/x86_64/weak-undef2/log 301: + cat 300: + cc -B. -shared -o out/test/elf/x86_64/z-defs/b.so out/test/elf/x86_64/z-defs/a.o 301: + cc -o out/test/elf/x86_64/z-dynamic-undefined-weak/a.o -c -xc - -fPIC +284: + grep -q elf_x86_64 +284: + ./mold -V +302: ++++ uname -m +287: + grep -Fq 'multiple common symbols' out/test/elf/x86_64/warn-common/log +295: + on_exit +295: + echo OK +295: OK +295: + exit 0 +288/309 Test #295: x86_64-weak-undef2 ...................... Passed 0.30 sec +test 303 + Start 303: x86_64-z-nodefaultlib + +303: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-nodefaultlib.sh" +303: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +303: Test timeout computed to be: 1500 302: +++ canonical_name x86_64 302: +++ case $1 in 302: +++ echo x86_64 @@ -20211,15 +20252,47 @@ 302: ++ QEMU= 302: ++ trap 'on_error $LINENO' ERR 302: ++ trap on_exit EXIT -303: ++++ uname -m 302: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-max-page-size.sh .sh 302: ++ testname=z-max-page-size 302: ++ echo -n 'Testing z-max-page-size ... ' 302: Testing z-max-page-size ... ++ t=out/test/elf/x86_64/z-max-page-size 302: ++ mkdir -p out/test/elf/x86_64/z-max-page-size +287: + on_exit +287: + echo OK +287: OK +287: + exit 0 +284: + ./mold -V +284: + grep -q elf_i386 +289/309 Test #287: x86_64-warn-common ...................... Passed 0.47 sec +test 304 + Start 304: x86_64-z-nodump + +304: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-nodump.sh" +304: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +304: Test timeout computed to be: 1500 +302: + cat +284: + cat +291: + grep -q 'WEAK DEFAULT UND foo' +291: + readelf --dyn-syms out/test/elf/x86_64/weak-export-dso/b.so +291: + readelf --dyn-syms out/test/elf/x86_64/weak-export-dso/c.so +291: + grep -q 'WEAK DEFAULT UND foo' +303: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-nodefaultlib.sh +303: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +303: ++ export LC_ALL=C +303: ++ LC_ALL=C +303: ++++ uname -m +296: + rm -f out/test/elf/x86_64/whole-archive/d.a +293: + 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 +302: + cc -o out/test/elf/x86_64/z-max-page-size/a.o -c -xc - 303: +++ canonical_name x86_64 303: +++ case $1 in 303: +++ echo x86_64 +296: + 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 +284: + cc -c -xc -o out/test/elf/x86_64/version/a.o - +291: + on_exit +291: + echo OK +291: OK +291: + exit 0 303: ++ HOST=x86_64 303: ++ '[' -n '' ']' 303: ++ MACHINE=x86_64 @@ -20234,73 +20307,41 @@ 303: ++ QEMU= 303: ++ trap 'on_error $LINENO' ERR 303: ++ trap on_exit EXIT -284: + grep -q '[ms]old .*compatible with GNU ld' -303: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-nodefaultlib.sh .sh -284: + ./mold --version -302: + cc -o out/test/elf/x86_64/z-max-page-size/a.o -c -xc - -303: ++ testname=z-nodefaultlib -303: ++ echo -n 'Testing z-nodefaultlib ... ' -303: Testing z-nodefaultlib ... ++ t=out/test/elf/x86_64/z-nodefaultlib -303: ++ mkdir -p out/test/elf/x86_64/z-nodefaultlib -297: + cat -296: + readelf --symbols out/test/elf/x86_64/whole-archive/exe -302: + cat -291: + readelf --dyn-syms out/test/elf/x86_64/weak-export-dso/b.so -297: + cc -c -o out/test/elf/x86_64/wrap-lto/b.o -xc - -flto -291: + grep -q 'WEAK DEFAULT UND foo' -284: + ./mold -V -287: + grep -Fq 'multiple common symbols' out/test/elf/x86_64/warn-common/log -284: + grep -q '[ms]old .*compatible with GNU ld' -303: + cat -303: + cc -o out/test/elf/x86_64/z-nodefaultlib/a.o -c -xc - -287: + on_exit -287: + echo OK -287: OK -287: + exit 0 -288/309 Test #287: x86_64-warn-common ...................... Passed 0.51 sec -test 304 - Start 304: x86_64-z-nodump - -304: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-nodump.sh" -304: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -304: Test timeout computed to be: 1500 -295: + grep -q 'undefined symbol: foo' out/test/elf/x86_64/weak-undef2/log -296: + grep -q fn1 out/test/elf/x86_64/whole-archive/readelf -284: + ./mold -V -291: + readelf --dyn-syms out/test/elf/x86_64/weak-export-dso/c.so -295: + on_exit -295: + echo OK -295: OK -295: + exit 0 -296: + grep -q fn2 out/test/elf/x86_64/whole-archive/readelf -304: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-nodump.sh -284: + grep -q elf_x86_64 -290: + 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 -291: + grep -q 'WEAK DEFAULT UND foo' -289/309 Test #295: x86_64-weak-undef2 ...................... Passed 0.39 sec +296: + 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 +290/309 Test #291: x86_64-weak-export-dso .................. Passed 0.41 sec test 305 Start 305: x86_64-z-now 305: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-now.sh" 305: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 305: Test timeout computed to be: 1500 -291: + on_exit -291: + echo OK -291: OK -291: + exit 0 -296: + 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 -290: + grep -q 'undefined symbol:.*foo' +304: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-nodump.sh 304: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 304: ++ export LC_ALL=C 304: ++ LC_ALL=C -290/309 Test #291: x86_64-weak-export-dso .................. Passed 0.45 sec -test 306 - Start 306: x86_64-z-origin - -306: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-origin.sh" -306: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -306: Test timeout computed to be: 1500 +303: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-nodefaultlib.sh .sh +303: ++ testname=z-nodefaultlib +303: ++ echo -n 'Testing z-nodefaultlib ... ' +303: Testing z-nodefaultlib ... ++ t=out/test/elf/x86_64/z-nodefaultlib +303: ++ mkdir -p out/test/elf/x86_64/z-nodefaultlib +294: + cc -B. -o out/test/elf/x86_64/weak-undef/exe2 out/test/elf/x86_64/weak-undef/b.o -no-pie +299: + 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 +301: + cc -B. -shared -o out/test/elf/x86_64/z-dynamic-undefined-weak/b.so out/test/elf/x86_64/z-dynamic-undefined-weak/a.o +290: + grep -q 'undefined symbol:.*foo' +297: + cat +290: + 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 304: ++++ uname -m +305: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-now.sh +305: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +305: ++ export LC_ALL=C +305: ++ LC_ALL=C +305: ++++ uname -m +303: + cc -o out/test/elf/x86_64/z-nodefaultlib/a.o -c -xc - +297: + cc -c -o out/test/elf/x86_64/wrap-lto/b.o -xc - -flto +303: + cat +305: +++ canonical_name x86_64 +305: +++ case $1 in +305: +++ echo x86_64 304: +++ canonical_name x86_64 304: +++ case $1 in 304: +++ echo x86_64 @@ -20318,41 +20359,9 @@ 304: ++ QEMU= 304: ++ trap 'on_error $LINENO' ERR 304: ++ trap on_exit EXIT -301: + cc -B. -shared -o out/test/elf/x86_64/z-dynamic-undefined-weak/b.so out/test/elf/x86_64/z-dynamic-undefined-weak/a.o -305: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-now.sh -305: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -305: ++ export LC_ALL=C -305: ++ LC_ALL=C -306: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-origin.sh -306: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -306: ++ export LC_ALL=C -306: ++ LC_ALL=C -284: + ./mold -V -304: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-nodump.sh .sh -304: ++ testname=z-nodump -304: ++ echo -n 'Testing z-nodump ... ' -304: Testing z-nodump ... ++ t=out/test/elf/x86_64/z-nodump -304: ++ mkdir -p out/test/elf/x86_64/z-nodump -284: + grep -q elf_i386 -293: + out/test/elf/x86_64/weak-undef-dso/exe1 -294: + cc -B. -o out/test/elf/x86_64/weak-undef/exe2 out/test/elf/x86_64/weak-undef/b.o -no-pie -293: + grep -q bar=-1 -302: + cc -B. -o out/test/elf/x86_64/z-max-page-size/exe1 out/test/elf/x86_64/z-max-page-size/a.o -Wl,-z,max-page-size=65536 -Wl,-z,separate-loadable-segments -284: + cc -c -xc -o out/test/elf/x86_64/version/a.o - -298: + cc -c -o out/test/elf/x86_64/wrap/b.o -xc - -297: + cat -297: + cc -c -o out/test/elf/x86_64/wrap-lto/c.o -xc - -flto -304: + cat -305: ++++ uname -m -305: +++ canonical_name x86_64 -305: +++ case $1 in -305: +++ echo x86_64 305: ++ HOST=x86_64 305: ++ '[' -n '' ']' 305: ++ MACHINE=x86_64 -293: + cc -xc -c -o out/test/elf/x86_64/weak-undef-dso/d.o - -293: + cat -304: + cc -c -o out/test/elf/x86_64/z-nodump/a.o -xc - 305: ++ '[' -n '' ']' 305: ++ CC=cc 305: ++ CXX=c++ @@ -20363,11 +20372,44 @@ 305: ++ STRIP=strip 305: ++ QEMU= 305: ++ trap 'on_error $LINENO' ERR -284: + cat 305: ++ trap on_exit EXIT +298: + cc -c -o out/test/elf/x86_64/wrap/b.o -xc - 298: + cat +305: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-now.sh .sh +305: ++ testname=z-now +305: ++ echo -n 'Testing z-now ... ' +305: Testing z-now ... ++ t=out/test/elf/x86_64/z-now +305: ++ mkdir -p out/test/elf/x86_64/z-now +304: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-nodump.sh .sh +304: ++ testname=z-nodump +304: ++ echo -n 'Testing z-nodump ... ' +304: Testing z-nodump ... ++ t=out/test/elf/x86_64/z-nodump +304: ++ mkdir -p out/test/elf/x86_64/z-nodump +305: + cat +305: + cc -o out/test/elf/x86_64/z-now/a.o -c -xc - +284: + rm -f out/test/elf/x86_64/version/exe +302: + cc -B. -o out/test/elf/x86_64/z-max-page-size/exe1 out/test/elf/x86_64/z-max-page-size/a.o -Wl,-z,max-page-size=65536 -Wl,-z,separate-loadable-segments +304: + cat +290: + on_exit +290: + echo OK +290: OK +290: + exit 0 +291/309 Test #290: x86_64-warn-unresolved-symbols .......... Passed 0.50 sec +test 306 + Start 306: x86_64-z-origin + +306: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-origin.sh" +306: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +306: Test timeout computed to be: 1500 +304: + cc -c -o out/test/elf/x86_64/z-nodump/a.o -xc - +284: + cc -B. -Wl,--version -o out/test/elf/x86_64/version/exe1 out/test/elf/x86_64/version/a.o +284: + grep -q '[ms]old' +306: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-origin.sh +306: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +306: ++ export LC_ALL=C +306: ++ LC_ALL=C 306: ++++ uname -m -299: + 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 +303: + cc -B. -o out/test/elf/x86_64/z-nodefaultlib/exe out/test/elf/x86_64/z-nodefaultlib/a.o -Wl,-z,nodefaultlib 306: +++ canonical_name x86_64 306: +++ case $1 in 306: +++ echo x86_64 @@ -20385,50 +20427,96 @@ 306: ++ QEMU= 306: ++ trap 'on_error $LINENO' ERR 306: ++ trap on_exit EXIT -296: + readelf --symbols out/test/elf/x86_64/whole-archive/exe -305: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-now.sh .sh -305: ++ testname=z-now -305: ++ echo -n 'Testing z-now ... ' -305: Testing z-now ... ++ t=out/test/elf/x86_64/z-now -305: ++ mkdir -p out/test/elf/x86_64/z-now 306: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-origin.sh .sh 306: ++ testname=z-origin 306: ++ echo -n 'Testing z-origin ... ' 306: Testing z-origin ... ++ t=out/test/elf/x86_64/z-origin 306: ++ mkdir -p out/test/elf/x86_64/z-origin -303: + cc -B. -o out/test/elf/x86_64/z-nodefaultlib/exe out/test/elf/x86_64/z-nodefaultlib/a.o -Wl,-z,nodefaultlib +293: + grep -q bar=-1 +297: + cat +296: + readelf --symbols out/test/elf/x86_64/whole-archive/exe +284: + '[' -f out/test/elf/x86_64/version/exe1 ']' +284: + cc -B. -Wl,-v -o out/test/elf/x86_64/version/exe2 out/test/elf/x86_64/version/a.o +284: + grep -q '[ms]old' 296: + grep -q fn1 out/test/elf/x86_64/whole-archive/readelf +306: + cat +298: + cat 306: + cc -c -o out/test/elf/x86_64/z-origin/a.o -xc - +297: + cc -c -o out/test/elf/x86_64/wrap-lto/c.o -xc - -flto 296: + grep -q fn2 out/test/elf/x86_64/whole-archive/readelf -290: + on_exit -290: + echo OK -290: OK -290: + exit 0 -305: + cc -o out/test/elf/x86_64/z-now/a.o -c -xc - -305: + cat +293: + out/test/elf/x86_64/weak-undef-dso/exe1 +298: + cc -c -o out/test/elf/x86_64/wrap/c.o -xc - +299: + grep -q 'a.o: -cet-report=warning: missing GNU_PROPERTY_X86_FEATURE_1_IBT' out/test/elf/x86_64/z-cet-report/log +296: + 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 +299: + grep -q 'a.o: -cet-report=warning: missing GNU_PROPERTY_X86_FEATURE_1_SHSTK' out/test/elf/x86_64/z-cet-report/log +293: + cat +305: + cc -B. -o out/test/elf/x86_64/z-now/exe out/test/elf/x86_64/z-now/a.o -Wl,-z,now +304: + cc -B. -shared -o out/test/elf/x86_64/z-nodump/b.so out/test/elf/x86_64/z-nodump/a.o +293: + cc -xc -c -o out/test/elf/x86_64/weak-undef-dso/d.o - +299: + 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 +301: + cc -B. -shared -o out/test/elf/x86_64/z-dynamic-undefined-weak/c.so out/test/elf/x86_64/z-dynamic-undefined-weak/a.o -Wl,-z,dynamic-undefined-weak 300: + cc -B. -shared -o out/test/elf/x86_64/z-defs/b.so out/test/elf/x86_64/z-defs/a.o -Wl,-z,undefs -306: + cat -291/309 Test #290: x86_64-warn-unresolved-symbols .......... Passed 0.55 sec +297: + cc -B. -o out/test/elf/x86_64/wrap-lto/exe out/test/elf/x86_64/wrap-lto/a.so out/test/elf/x86_64/wrap-lto/b.o -flto +296: + readelf --symbols out/test/elf/x86_64/whole-archive/exe +296: + grep -q fn1 out/test/elf/x86_64/whole-archive/readelf +296: + grep -q fn2 out/test/elf/x86_64/whole-archive/readelf +306: + cc -B. -o out/test/elf/x86_64/z-origin/exe out/test/elf/x86_64/z-origin/a.o -Wl,-z,origin +284: + grep -q 'Hello world' +284: + out/test/elf/x86_64/version/exe2 +284: + ./mold --v +294: + 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 +298: + cc -B. -o out/test/elf/x86_64/wrap/exe out/test/elf/x86_64/wrap/a.so out/test/elf/x86_64/wrap/b.o +296: + 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 +284: + grep -q 'unknown command line option:' out/test/elf/x86_64/version/log +293: + 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 +302: + out/test/elf/x86_64/z-max-page-size/exe1 +303: + readelf --dynamic out/test/elf/x86_64/z-nodefaultlib/exe +302: + grep -q 'Hello world' +284: + on_exit +284: + echo OK +284: OK +284: + exit 0 +303: + grep -q 'Flags:.*NODEFLIB' +303: + on_exit +303: + echo OK +303: OK +303: + exit 0 +292/309 Test #284: x86_64-version .......................... Passed 0.89 sec test 307 Start 307: x86_64-z-separate-code 307: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-separate-code.sh" 307: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu 307: Test timeout computed to be: 1500 -297: + cc -B. -o out/test/elf/x86_64/wrap-lto/exe out/test/elf/x86_64/wrap-lto/a.so out/test/elf/x86_64/wrap-lto/b.o -flto -304: + cc -B. -shared -o out/test/elf/x86_64/z-nodump/b.so out/test/elf/x86_64/z-nodump/a.o -296: + 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 -301: + cc -B. -shared -o out/test/elf/x86_64/z-dynamic-undefined-weak/c.so out/test/elf/x86_64/z-dynamic-undefined-weak/a.o -Wl,-z,dynamic-undefined-weak +293/309 Test #303: x86_64-z-nodefaultlib ................... Passed 0.33 sec +test 308 + Start 308: x86_64-z-start-stop-visibility + +308: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-start-stop-visibility.sh" +308: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +308: Test timeout computed to be: 1500 +302: + grep -q 'LOAD.*R 0x10000$' +302: + readelf -W --segments out/test/elf/x86_64/z-max-page-size/exe1 +302: + cc -B. -o out/test/elf/x86_64/z-max-page-size/exe2 out/test/elf/x86_64/z-max-page-size/a.o -Wl,-zmax-page-size=1048576 -Wl,-z,separate-loadable-segments +305: + out/test/elf/x86_64/z-now/exe +305: + grep -q 'Hello world' +305: + on_exit +305: + echo OK +305: OK +305: + exit 0 307: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-separate-code.sh -284: + rm -f out/test/elf/x86_64/version/exe -293: + 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 307: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 307: ++ export LC_ALL=C 307: ++ LC_ALL=C -298: + cc -c -o out/test/elf/x86_64/wrap/c.o -xc - -298: + cat +294/309 Test #305: x86_64-z-now ............................ Passed 0.27 sec +test 309 + Start 309: x86_64-z-unknown + +309: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-unknown.sh" +309: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu +309: Test timeout computed to be: 1500 307: ++++ uname -m -284: + cc -B. -Wl,--version -o out/test/elf/x86_64/version/exe1 out/test/elf/x86_64/version/a.o +299: + grep -q 'a.o: -cet-report=error: missing GNU_PROPERTY_X86_FEATURE_1_IBT' out/test/elf/x86_64/z-cet-report/log 307: +++ canonical_name x86_64 307: +++ case $1 in 307: +++ echo x86_64 @@ -20446,88 +20534,63 @@ 307: ++ QEMU= 307: ++ trap 'on_error $LINENO' ERR 307: ++ trap on_exit EXIT -284: + grep -q '[ms]old' +308: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-start-stop-visibility.sh +308: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc +308: ++ export LC_ALL=C +308: ++ LC_ALL=C 307: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-separate-code.sh .sh -294: + 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 307: ++ testname=z-separate-code 307: ++ echo -n 'Testing z-separate-code ... ' 307: Testing z-separate-code ... ++ t=out/test/elf/x86_64/z-separate-code 307: ++ mkdir -p out/test/elf/x86_64/z-separate-code -305: + cc -B. -o out/test/elf/x86_64/z-now/exe out/test/elf/x86_64/z-now/a.o -Wl,-z,now -307: + grep -q musl -306: + cc -B. -o out/test/elf/x86_64/z-origin/exe out/test/elf/x86_64/z-origin/a.o -Wl,-z,origin -307: + ldd --help -307: + cc -o out/test/elf/x86_64/z-separate-code/a.o -c -xc - -307: + cat -302: + out/test/elf/x86_64/z-max-page-size/exe1 -302: + grep -q 'Hello world' -302: + readelf -W --segments out/test/elf/x86_64/z-max-page-size/exe1 -284: + '[' -f out/test/elf/x86_64/version/exe1 ']' -284: + grep -q '[ms]old' -284: + cc -B. -Wl,-v -o out/test/elf/x86_64/version/exe2 out/test/elf/x86_64/version/a.o -303: + grep -q 'Flags:.*NODEFLIB' -303: + readelf --dynamic out/test/elf/x86_64/z-nodefaultlib/exe -302: + grep -q 'LOAD.*R 0x10000$' -300: + 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 -303: + on_exit -303: + echo OK -303: OK -303: + exit 0 -302: + cc -B. -o out/test/elf/x86_64/z-max-page-size/exe2 out/test/elf/x86_64/z-max-page-size/a.o -Wl,-zmax-page-size=1048576 -Wl,-z,separate-loadable-segments -298: + cc -B. -o out/test/elf/x86_64/wrap/exe out/test/elf/x86_64/wrap/a.so out/test/elf/x86_64/wrap/b.o -292/309 Test #303: x86_64-z-nodefaultlib ................... Passed 0.31 sec -test 308 - Start 308: x86_64-z-start-stop-visibility - -308: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-start-stop-visibility.sh" -308: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -308: Test timeout computed to be: 1500 -296: + readelf --symbols out/test/elf/x86_64/whole-archive/exe -299: + grep -q 'a.o: -cet-report=warning: missing GNU_PROPERTY_X86_FEATURE_1_IBT' out/test/elf/x86_64/z-cet-report/log -301: + cc -B. -shared -o out/test/elf/x86_64/z-dynamic-undefined-weak/d.so out/test/elf/x86_64/z-dynamic-undefined-weak/a.o -Wl,-z,nodynamic-undefined-weak +299: + grep -q 'a.o: -cet-report=error: missing GNU_PROPERTY_X86_FEATURE_1_SHSTK' out/test/elf/x86_64/z-cet-report/log +309: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-unknown.sh +308: ++++ uname -m +308: +++ canonical_name x86_64 +308: +++ case $1 in +308: +++ echo x86_64 304: + grep -Eq 'Flags:.*NODUMP' -296: + grep -q fn1 out/test/elf/x86_64/whole-archive/readelf -293: + grep -q bar=5 304: + readelf --dynamic out/test/elf/x86_64/z-nodump/b.so -299: + grep -q 'a.o: -cet-report=warning: missing GNU_PROPERTY_X86_FEATURE_1_SHSTK' out/test/elf/x86_64/z-cet-report/log -293: + out/test/elf/x86_64/weak-undef-dso/exe2 -293: + on_exit -293: + echo OK -293: OK -293: + exit 0 -293/309 Test #293: x86_64-weak-undef-dso ................... Passed 0.66 sec -test 309 - Start 309: x86_64-z-unknown - -309: Test command: /bin/bash "-x" "/build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-unknown.sh" -309: Working Directory: /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu -309: Test timeout computed to be: 1500 -304: + 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 -299: + 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 -296: + grep -q fn2 out/test/elf/x86_64/whole-archive/readelf -305: + out/test/elf/x86_64/z-now/exe -308: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-start-stop-visibility.sh -309: ++ dirname /build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-unknown.sh -296: + on_exit -296: + echo OK -296: OK -296: + exit 0 -305: + grep -q 'Hello world' -294/309 Test #296: x86_64-whole-archive .................... Passed 0.63 sec +299: + on_exit +299: + echo OK +299: OK +299: + exit 0 309: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc 309: ++ export LC_ALL=C 309: ++ LC_ALL=C -308: + . /build/reproducible-path/mold-1.10.1+dfsg/test/elf/common.inc -308: ++ export LC_ALL=C -308: ++ LC_ALL=C -305: + on_exit -305: + echo OK -305: OK -305: + exit 0 +308: ++ HOST=x86_64 +308: ++ '[' -n '' ']' +308: ++ MACHINE=x86_64 +308: ++ '[' -n '' ']' +308: ++ CC=cc +308: ++ CXX=c++ +308: ++ GCC=gcc +308: ++ GXX=g++ +308: ++ OBJDUMP=objdump +308: ++ OBJCOPY=objcopy +308: ++ STRIP=strip +308: ++ QEMU= +308: ++ trap 'on_error $LINENO' ERR +308: ++ trap on_exit EXIT +295/309 Test #299: x86_64-z-cet-report ..................... Passed 0.53 sec +300: + 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 +308: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-start-stop-visibility.sh .sh +307: + ldd --help +308: ++ testname=z-start-stop-visibility +308: ++ echo -n 'Testing z-start-stop-visibility ... ' +308: Testing z-start-stop-visibility ... ++ t=out/test/elf/x86_64/z-start-stop-visibility +308: ++ mkdir -p out/test/elf/x86_64/z-start-stop-visibility +304: + 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 +308: + ./mold -z start-stop-visibility=hidden --version +301: + cc -B. -shared -o out/test/elf/x86_64/z-dynamic-undefined-weak/d.so out/test/elf/x86_64/z-dynamic-undefined-weak/a.o -Wl,-z,nodynamic-undefined-weak +307: + grep -q musl 309: ++++ uname -m 309: +++ canonical_name x86_64 309: +++ case $1 in 309: +++ echo x86_64 +307: + cc -o out/test/elf/x86_64/z-separate-code/a.o -c -xc - +307: + cat +298: + out/test/elf/x86_64/wrap/exe 309: ++ HOST=x86_64 309: ++ '[' -n '' ']' 309: ++ MACHINE=x86_64 @@ -20542,191 +20605,164 @@ 309: ++ QEMU= 309: ++ trap 'on_error $LINENO' ERR 309: ++ trap on_exit EXIT -295/309 Test #305: x86_64-z-now ............................ Passed 0.27 sec 309: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-unknown.sh .sh +308: + ./mold -z start-stop-visibility=protected --version +306: + readelf --dynamic out/test/elf/x86_64/z-origin/exe 309: ++ testname=z-unknown 309: ++ echo -n 'Testing z-unknown ... ' 309: Testing z-unknown ... ++ t=out/test/elf/x86_64/z-unknown 309: ++ mkdir -p out/test/elf/x86_64/z-unknown -294: + 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 -284: + grep -q 'Hello world' -284: + out/test/elf/x86_64/version/exe2 -309: + grep -q 'unknown command line option: -z no-such-opt' -284: + ./mold --v -307: + cc -B. -o out/test/elf/x86_64/z-separate-code/exe1 out/test/elf/x86_64/z-separate-code/a.o -Wl,-z,separate-loadable-segments -306: + readelf --dynamic out/test/elf/x86_64/z-origin/exe -298: + out/test/elf/x86_64/wrap/exe -308: ++++ uname -m -309: + ./mold -z no-such-opt -298: + grep -q '^foo$' 306: + grep -Eq '\(FLAGS\)\s+ORIGIN' -308: +++ canonical_name x86_64 -308: +++ case $1 in -308: +++ echo x86_64 -308: ++ HOST=x86_64 -308: ++ '[' -n '' ']' -308: ++ MACHINE=x86_64 -308: ++ '[' -n '' ']' -308: ++ CC=cc -308: ++ CXX=c++ -308: ++ GCC=gcc -308: ++ GXX=g++ -308: ++ OBJDUMP=objdump -308: ++ OBJCOPY=objcopy -308: ++ STRIP=strip -308: ++ QEMU= -308: ++ trap 'on_error $LINENO' ERR -308: ++ trap on_exit EXIT -306: + grep -Eq 'Flags:.*ORIGIN' -298: + cc -B. -o out/test/elf/x86_64/wrap/exe out/test/elf/x86_64/wrap/a.so out/test/elf/x86_64/wrap/b.o -Wl,-wrap,foo +296: + readelf --symbols out/test/elf/x86_64/whole-archive/exe 306: + readelf --dynamic out/test/elf/x86_64/z-origin/exe -308: +++ basename /build/reproducible-path/mold-1.10.1+dfsg/test/elf/z-start-stop-visibility.sh .sh -300: + grep -q 'undefined symbol:.* foo' out/test/elf/x86_64/z-defs/log -284: + grep -q 'unknown command line option:' out/test/elf/x86_64/version/log -308: ++ testname=z-start-stop-visibility -308: ++ echo -n 'Testing z-start-stop-visibility ... ' -308: Testing z-start-stop-visibility ... ++ t=out/test/elf/x86_64/z-start-stop-visibility -308: ++ mkdir -p out/test/elf/x86_64/z-start-stop-visibility -309: + ./mold -zno-such-opt +306: + grep -Eq 'Flags:.*ORIGIN' +298: + grep -q '^foo$' +296: + grep -q fn1 out/test/elf/x86_64/whole-archive/readelf 306: + on_exit 306: + echo OK 306: OK 306: + exit 0 -296/309 Test #306: x86_64-z-origin ......................... Passed 0.32 sec -300: + 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 -284: + on_exit -284: + echo OK -284: OK -284: + exit 0 +296/309 Test #306: x86_64-z-origin ......................... Passed 0.25 sec +296: + grep -q fn2 out/test/elf/x86_64/whole-archive/readelf +298: + cc -B. -o out/test/elf/x86_64/wrap/exe out/test/elf/x86_64/wrap/a.so out/test/elf/x86_64/wrap/b.o -Wl,-wrap,foo +296: + on_exit +296: + echo OK +296: OK +296: + exit 0 +308: + grep -q 'unsupported visibility: protected' out/test/elf/x86_64/z-start-stop-visibility/log +297/309 Test #296: x86_64-whole-archive .................... Passed 0.60 sec +309: + ./mold -z no-such-opt +308: + on_exit +308: + echo OK +308: OK +308: + exit 0 +298/309 Test #308: x86_64-z-start-stop-visibility .......... Passed 0.08 sec +309: + grep -q 'unknown command line option: -z no-such-opt' +294: + 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 +309: + ./mold -zno-such-opt 309: + grep -q 'unknown command line option: -zno-such-opt' -297/309 Test #284: x86_64-version .......................... Passed 1.06 sec 309: + on_exit 309: + echo OK 309: OK 309: + exit 0 -308: + ./mold -z start-stop-visibility=hidden --version -298/309 Test #309: x86_64-z-unknown ........................ Passed 0.10 sec -308: + ./mold -z start-stop-visibility=protected --version -299: + grep -q 'a.o: -cet-report=error: missing GNU_PROPERTY_X86_FEATURE_1_IBT' out/test/elf/x86_64/z-cet-report/log -308: + grep -q 'unsupported visibility: protected' out/test/elf/x86_64/z-start-stop-visibility/log -302: + grep -q 'Hello world' +299/309 Test #309: x86_64-z-unknown ........................ Passed 0.10 sec +293: + out/test/elf/x86_64/weak-undef-dso/exe2 +293: + grep -q bar=5 +293: + on_exit +293: + echo OK +293: OK +293: + exit 0 +300/309 Test #293: x86_64-weak-undef-dso ................... Passed 0.77 sec +163: + readelf -WS out/test/elf/x86_64/many-sections2/b.o +163: + grep -Fq .data.100000 302: + out/test/elf/x86_64/z-max-page-size/exe2 +302: + grep -q 'Hello world' +302: + readelf -W --segments out/test/elf/x86_64/z-max-page-size/exe2 +302: + grep -q 'LOAD.*R 0x100000$' +300: + grep -q 'undefined symbol:.* foo' out/test/elf/x86_64/z-defs/log +300: + 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 +302: + cc -B. -o out/test/elf/x86_64/z-max-page-size/exe3 out/test/elf/x86_64/z-max-page-size/a.o -Wl,-zmax-page-size=1048576 +304: + grep -Eq 'Flags:.*NODUMP' +304: + readelf --dynamic out/test/elf/x86_64/z-nodump/b.so 301: + cat 301: + cc -o out/test/elf/x86_64/z-dynamic-undefined-weak/e.o -c -xc - -304: + readelf --dynamic out/test/elf/x86_64/z-nodump/b.so -304: + grep -Eq 'Flags:.*NODUMP' -308: + on_exit -308: + echo OK -308: OK -308: + exit 0 -299: + grep -q 'a.o: -cet-report=error: missing GNU_PROPERTY_X86_FEATURE_1_SHSTK' out/test/elf/x86_64/z-cet-report/log -299/309 Test #308: x86_64-z-start-stop-visibility .......... Passed 0.17 sec -302: + grep -q 'LOAD.*R 0x100000$' -302: + readelf -W --segments out/test/elf/x86_64/z-max-page-size/exe2 -299: + on_exit -299: + echo OK -299: OK -299: + exit 0 +307: + cc -B. -o out/test/elf/x86_64/z-separate-code/exe1 out/test/elf/x86_64/z-separate-code/a.o -Wl,-z,separate-loadable-segments 304: + on_exit 304: + echo OK 304: OK 304: + exit 0 -300/309 Test #299: x86_64-z-cet-report ..................... Passed 0.60 sec -301/309 Test #304: x86_64-z-nodump ......................... Passed 0.40 sec -302: + cc -B. -o out/test/elf/x86_64/z-max-page-size/exe3 out/test/elf/x86_64/z-max-page-size/a.o -Wl,-zmax-page-size=1048576 +163: + readelf -Ws out/test/elf/x86_64/many-sections2/b.o +163: + grep -Fq 'GLOBAL DEFAULT 100000' +301/309 Test #304: x86_64-z-nodump ......................... Passed 0.46 sec +298: + out/test/elf/x86_64/wrap/exe +298: + grep -q '^wrap_foo$' 294: + out/test/elf/x86_64/weak-undef/exe1 +298: + cc -B. -o out/test/elf/x86_64/wrap/exe out/test/elf/x86_64/wrap/a.so out/test/elf/x86_64/wrap/c.o -Wl,-wrap,foo 294: + grep -q '^-1$' 294: + out/test/elf/x86_64/weak-undef/exe2 294: + grep -q '^-1$' -294: + grep -q '^2$' -298: + grep -q '^wrap_foo$' -298: + out/test/elf/x86_64/wrap/exe 294: + out/test/elf/x86_64/weak-undef/exe3 -298: + cc -B. -o out/test/elf/x86_64/wrap/exe out/test/elf/x86_64/wrap/a.so out/test/elf/x86_64/wrap/c.o -Wl,-wrap,foo +294: + grep -q '^2$' 294: + out/test/elf/x86_64/weak-undef/exe4 -307: + out/test/elf/x86_64/z-separate-code/exe1 -307: + grep -q 'Hello world' -297: + out/test/elf/x86_64/wrap-lto/exe -307: + cc -B. -o out/test/elf/x86_64/z-separate-code/exe2 out/test/elf/x86_64/z-separate-code/a.o -Wl,-z,separate-code -Wl,-z,norelro -297: + grep -q '^foo$' 294: + grep -q '^2$' -300: + grep -q 'undefined symbol:.* foo' out/test/elf/x86_64/z-defs/log -297: + cc -B. -o out/test/elf/x86_64/wrap-lto/exe out/test/elf/x86_64/wrap-lto/a.so out/test/elf/x86_64/wrap-lto/b.o -Wl,-wrap,foo -flto -300: + 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 -301: + cc -B. -o out/test/elf/x86_64/z-dynamic-undefined-weak/exe1 out/test/elf/x86_64/z-dynamic-undefined-weak/e.o out/test/elf/x86_64/z-dynamic-undefined-weak/b.so 294: + on_exit 294: + echo OK 294: OK 294: + exit 0 -302/309 Test #294: x86_64-weak-undef ....................... Passed 0.86 sec +302/309 Test #294: x86_64-weak-undef ....................... Passed 0.83 sec +301: + cc -B. -o out/test/elf/x86_64/z-dynamic-undefined-weak/exe1 out/test/elf/x86_64/z-dynamic-undefined-weak/e.o out/test/elf/x86_64/z-dynamic-undefined-weak/b.so +300: + grep -q 'undefined symbol:.* foo' out/test/elf/x86_64/z-defs/log +300: + 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 +297: + grep -q '^foo$' +297: + out/test/elf/x86_64/wrap-lto/exe +297: + cc -B. -o out/test/elf/x86_64/wrap-lto/exe out/test/elf/x86_64/wrap-lto/a.so out/test/elf/x86_64/wrap-lto/b.o -Wl,-wrap,foo -flto +307: + out/test/elf/x86_64/z-separate-code/exe1 +307: + grep -q 'Hello world' +307: + cc -B. -o out/test/elf/x86_64/z-separate-code/exe2 out/test/elf/x86_64/z-separate-code/a.o -Wl,-z,separate-code -Wl,-z,norelro +302: + out/test/elf/x86_64/z-max-page-size/exe3 +302: + grep -q 'Hello world' +302: + readelf -W --segments out/test/elf/x86_64/z-max-page-size/exe3 +302: + grep -q 'LOAD.*R 0x100000$' +302: + on_exit +302: + echo OK +302: OK +302: + exit 0 +303/309 Test #302: x86_64-z-max-page-size .................. Passed 0.62 sec 298: + out/test/elf/x86_64/wrap/exe 298: + grep -q '^foo$' -301: + out/test/elf/x86_64/z-dynamic-undefined-weak/exe1 -301: + grep -q 1 -307: + grep -q 'Hello world' 298: + on_exit 298: + echo OK 298: OK 298: + exit 0 +304/309 Test #298: x86_64-wrap ............................. Passed 0.76 sec +301: + out/test/elf/x86_64/z-dynamic-undefined-weak/exe1 +301: + grep -q 1 301: + cc -B. -o out/test/elf/x86_64/z-dynamic-undefined-weak/exe2 out/test/elf/x86_64/z-dynamic-undefined-weak/e.o out/test/elf/x86_64/z-dynamic-undefined-weak/c.so -307: + out/test/elf/x86_64/z-separate-code/exe2 -303/309 Test #298: x86_64-wrap ............................. Passed 0.78 sec -307: + cc -B. -o out/test/elf/x86_64/z-separate-code/exe3 out/test/elf/x86_64/z-separate-code/a.o -Wl,-z,noseparate-code -Wl,-z,norelro -302: + out/test/elf/x86_64/z-max-page-size/exe3 -302: + grep -q 'Hello world' 300: + grep -q 'undefined symbol:.* foo$' out/test/elf/x86_64/z-defs/log -302: + readelf -W --segments out/test/elf/x86_64/z-max-page-size/exe3 -302: + grep -q 'LOAD.*R 0x100000$' 300: + on_exit 300: + echo OK 300: OK 300: + exit 0 -304/309 Test #300: x86_64-z-defs ........................... Passed 0.79 sec -302: + on_exit -302: + echo OK -302: OK -302: + exit 0 -305/309 Test #302: x86_64-z-max-page-size .................. Passed 0.71 sec +305/309 Test #300: x86_64-z-defs ........................... Passed 0.75 sec +307: + out/test/elf/x86_64/z-separate-code/exe2 307: + grep -q 'Hello world' -307: + out/test/elf/x86_64/z-separate-code/exe3 +307: + cc -B. -o out/test/elf/x86_64/z-separate-code/exe3 out/test/elf/x86_64/z-separate-code/a.o -Wl,-z,noseparate-code -Wl,-z,norelro 301: + out/test/elf/x86_64/z-dynamic-undefined-weak/exe2 301: + grep -q 1 +301: + cc -B. -o out/test/elf/x86_64/z-dynamic-undefined-weak/exe3 out/test/elf/x86_64/z-dynamic-undefined-weak/e.o out/test/elf/x86_64/z-dynamic-undefined-weak/d.so +307: + out/test/elf/x86_64/z-separate-code/exe3 +307: + grep -q 'Hello world' 307: + on_exit 307: + echo OK 307: OK 307: + exit 0 -301: + cc -B. -o out/test/elf/x86_64/z-dynamic-undefined-weak/exe3 out/test/elf/x86_64/z-dynamic-undefined-weak/e.o out/test/elf/x86_64/z-dynamic-undefined-weak/d.so -306/309 Test #307: x86_64-z-separate-code .................. Passed 0.63 sec -297: + grep -q '^wrap_foo$' +306/309 Test #307: x86_64-z-separate-code .................. Passed 0.38 sec 297: + out/test/elf/x86_64/wrap-lto/exe -297: + cc -B. -o out/test/elf/x86_64/wrap-lto/exe out/test/elf/x86_64/wrap-lto/a.so out/test/elf/x86_64/wrap-lto/c.o -Wl,-wrap,foo -flto -301: + grep -q 0 +297: + grep -q '^wrap_foo$' 301: + out/test/elf/x86_64/z-dynamic-undefined-weak/exe3 +301: + grep -q 0 +297: + cc -B. -o out/test/elf/x86_64/wrap-lto/exe out/test/elf/x86_64/wrap-lto/a.so out/test/elf/x86_64/wrap-lto/c.o -Wl,-wrap,foo -flto 301: + on_exit 301: + echo OK 301: OK 301: + exit 0 -307/309 Test #301: x86_64-z-dynamic-undefined-weak ......... Passed 1.02 sec -297: + grep -q '^foo$' +307/309 Test #301: x86_64-z-dynamic-undefined-weak ......... Passed 0.82 sec 297: + out/test/elf/x86_64/wrap-lto/exe +297: + grep -q '^foo$' 297: + on_exit 297: + echo OK 297: OK 297: + exit 0 -308/309 Test #297: x86_64-wrap-lto ......................... Passed 1.35 sec -163: + readelf -WS out/test/elf/x86_64/many-sections2/b.o -163: + grep -Fq .data.100000 -163: + readelf -Ws out/test/elf/x86_64/many-sections2/b.o -163: + grep -Fq 'GLOBAL DEFAULT 100000' +308/309 Test #297: x86_64-wrap-lto ......................... Passed 1.03 sec 163: + on_exit 163: + echo OK 163: OK 163: + exit 0 -309/309 Test #163: x86_64-many-sections2 ................... Passed 8.42 sec +309/309 Test #163: x86_64-many-sections2 ................... Passed 5.75 sec 100% tests passed, 0 tests failed out of 309 -Total Test time (real) = 13.77 sec +Total Test time (real) = 10.20 sec The following tests did not run: 7 - x86_64-x86_64_incompatible-libs (Skipped) @@ -20740,7 +20776,7 @@ create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install --destdir=debian/mold/ - cd obj-x86_64-linux-gnu && make -j16 install DESTDIR=/build/reproducible-path/mold-1.10.1\+dfsg/debian/mold AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" + cd obj-x86_64-linux-gnu && make -j15 install DESTDIR=/build/reproducible-path/mold-1.10.1\+dfsg/debian/mold AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu' /usr/bin/cmake -P /build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/VerifyGlobs.cmake /usr/bin/cmake -S/build/reproducible-path/mold-1.10.1+dfsg -B/build/reproducible-path/mold-1.10.1+dfsg/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 @@ -20780,8 +20816,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'mold-dbgsym' in '../mold-dbgsym_1.10.1+dfsg-1_amd64.deb'. dpkg-deb: building package 'mold' in '../mold_1.10.1+dfsg-1_amd64.deb'. +dpkg-deb: building package 'mold-dbgsym' in '../mold-dbgsym_1.10.1+dfsg-1_amd64.deb'. dpkg-genbuildinfo --build=binary -O../mold_1.10.1+dfsg-1_amd64.buildinfo dpkg-genchanges --build=binary -O../mold_1.10.1+dfsg-1_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -20789,12 +20825,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/78045/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/78045/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/3794910 and its subdirectories -I: Current time: Tue Feb 11 22:35:35 -12 2025 -I: pbuilder-time-stamp: 1739356535 +I: removing directory /srv/workspace/pbuilder/78045 and its subdirectories +I: Current time: Thu Jan 11 18:24:23 +14 2024 +I: pbuilder-time-stamp: 1704947063