Diff of the two buildlogs: -- --- b1/build.log 2024-05-04 12:04:01.369067069 +0000 +++ b2/build.log 2024-05-04 12:13:36.600584694 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Jun 6 06:18:13 -12 2025 -I: pbuilder-time-stamp: 1749233893 +I: Current time: Sun May 5 02:04:05 +14 2024 +I: pbuilder-time-stamp: 1714824245 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -25,51 +25,83 @@ dpkg-source: info: unpacking mold_2.31.0+dfsg-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1333524/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2516192/tmp/hooks/D01_modify_environment starting +debug: Running on infom01-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 May 4 12:04 /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/2516192/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2516192/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' + 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]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.21(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=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='9befd9883dee49fdab79166b5b77624a' - 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='1333524' - PS1='# ' - PS2='> ' + INVOCATION_ID=dd61930020cc4234befab95a57a7168c + 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=2516192 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.ecKftl9U/pbuilderrc_YbYd --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.ecKftl9U/b1 --logfile b1/build.log mold_2.31.0+dfsg-1.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' + 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.ecKftl9U/pbuilderrc_xm7h --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.ecKftl9U/b2 --logfile b2/build.log mold_2.31.0+dfsg-1.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' I: uname -a - Linux infom02-amd64 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jun 6 14:05 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1333524/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 4 07:42 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2516192/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -205,7 +237,7 @@ Get: 82 http://deb.debian.org/debian unstable/main amd64 pkgconf amd64 1.8.1-1+b2 [26.2 kB] Get: 83 http://deb.debian.org/debian unstable/main amd64 pkg-config amd64 1.8.1-1+b2 [14.0 kB] Get: 84 http://deb.debian.org/debian unstable/main amd64 zlib1g-dev amd64 1:1.3.dfsg-3.1 [918 kB] -Fetched 52.1 MB in 0s (111 MB/s) +Fetched 52.1 MB in 1s (37.4 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 ... 19699 files and directories currently installed.) @@ -493,8 +525,8 @@ Setting up tzdata (2024a-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Fri Jun 6 18:18:57 UTC 2025. -Universal Time is now: Fri Jun 6 18:18:57 UTC 2025. +Local time is now: Sat May 4 12:05:21 UTC 2024. +Universal Time is now: Sat May 4 12:05:21 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libdwarf1:amd64 (20210528-1+b2) ... @@ -568,7 +600,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/mold-2.31.0+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_2.31.0+dfsg-1_source.changes +I: user script /srv/workspace/pbuilder/2516192/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/2516192/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/mold-2.31.0+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_2.31.0+dfsg-1_source.changes dpkg-buildpackage: info: source package mold dpkg-buildpackage: info: source version 2.31.0+dfsg-1 dpkg-buildpackage: info: source distribution unstable @@ -685,7 +721,7 @@ -- Performing Test HAVE_FULL_ATOMIC_SUPPORT - Success -- Looking for madvise -- Looking for madvise - found --- Configuring done (3.9s) +-- Configuring done (4.3s) -- Generating done (0.1s) CMake Warning: Manually-specified variables were not used by the project: @@ -706,74 +742,72 @@ make -f CMakeFiles/Makefile2 all make[2]: Entering directory '/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu' make -f third-party/tbb/src/tbb/CMakeFiles/tbb.dir/build.make third-party/tbb/src/tbb/CMakeFiles/tbb.dir/depend +make[3]: Entering directory '/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu' make -f CMakeFiles/git_hash.dir/build.make CMakeFiles/git_hash.dir/depend +cd /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/mold-2.31.0+dfsg /build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb/CMakeFiles/tbb.dir/DependInfo.cmake "--color=" make -f third-party/blake3/c/CMakeFiles/blake3.dir/build.make third-party/blake3/c/CMakeFiles/blake3.dir/depend 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 -f third-party/mimalloc/CMakeFiles/mimalloc-static.dir/build.make third-party/mimalloc/CMakeFiles/mimalloc-static.dir/depend +make -f CMakeFiles/mold-wrapper.dir/build.make CMakeFiles/mold-wrapper.dir/depend make[3]: Entering directory '/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu' cd /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/mold-2.31.0+dfsg /build/reproducible-path/mold-2.31.0+dfsg /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/CMakeFiles/git_hash.dir/DependInfo.cmake "--color=" -make -f CMakeFiles/mold-wrapper.dir/build.make CMakeFiles/mold-wrapper.dir/depend make[3]: Entering directory '/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu' cd /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/mold-2.31.0+dfsg /build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c/CMakeFiles/blake3.dir/DependInfo.cmake "--color=" make[3]: Entering directory '/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu' -cd /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/mold-2.31.0+dfsg /build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb/CMakeFiles/tbb.dir/DependInfo.cmake "--color=" -make[3]: Entering directory '/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu' -make[3]: Entering directory '/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu' -cd /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/mold-2.31.0+dfsg /build/reproducible-path/mold-2.31.0+dfsg /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/CMakeFiles/mold-wrapper.dir/DependInfo.cmake "--color=" cd /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/mold-2.31.0+dfsg /build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc/CMakeFiles/mimalloc-static.dir/DependInfo.cmake "--color=" make[3]: Entering directory '/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu' cd /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/mold-2.31.0+dfsg /build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/obj-x86_64-linux-gnu' +cd /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/mold-2.31.0+dfsg /build/reproducible-path/mold-2.31.0+dfsg /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/CMakeFiles/mold-wrapper.dir/DependInfo.cmake "--color=" Dependee "/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c/CMakeFiles/blake3.dir/DependInfo.cmake" is newer than depender "/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c/CMakeFiles/blake3.dir/depend.internal". Dependee "/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c/CMakeFiles/blake3.dir/depend.internal". Dependee "/build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/depend.internal". Dependee "/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/depend.internal". make[3]: Leaving directory '/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu' +make[3]: Leaving directory '/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu' +make -f third-party/tbb/src/tbb/CMakeFiles/tbb.dir/build.make third-party/tbb/src/tbb/CMakeFiles/tbb.dir/build +make -f third-party/mimalloc/CMakeFiles/mimalloc-static.dir/build.make third-party/mimalloc/CMakeFiles/mimalloc-static.dir/build Scanning dependencies of target libzstd_static +make[3]: Leaving directory '/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu' make -f CMakeFiles/mold-wrapper.dir/build.make CMakeFiles/mold-wrapper.dir/build Scanning dependencies of target blake3 +make[3]: Entering directory '/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu' +make[3]: Entering directory '/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/reproducible-path/mold-2.31.0+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 -f CMakeFiles/git_hash.dir/build.make CMakeFiles/git_hash.dir/build -make[3]: Leaving directory '/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu' -make[3]: Leaving directory '/build/reproducible-path/mold-2.31.0+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 -f third-party/blake3/c/CMakeFiles/blake3.dir/build.make third-party/blake3/c/CMakeFiles/blake3.dir/build make[3]: Entering directory '/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu' -/usr/bin/cmake -DSOURCE_DIR=/build/reproducible-path/mold-2.31.0+dfsg -DOUTPUT_FILE=/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/git-hash.cc -P /build/reproducible-path/mold-2.31.0+dfsg/common/update-git-hash.cmake -make[3]: Leaving directory '/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu' -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-2.31.0+dfsg/obj-x86_64-linux-gnu' -make[3]: Entering directory '/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu' +make[3]: Leaving directory '/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu' +[ 0%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc-aligned.c.o +[ 0%] Building C object CMakeFiles/mold-wrapper.dir/elf/mold-wrapper.c.o +/usr/bin/cc -Dmold_wrapper_EXPORTS -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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-2.31.0+dfsg/elf/mold-wrapper.c +cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -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-2.31.0+dfsg/third-party/mimalloc/src/alloc-aligned.c +make -f CMakeFiles/git_hash.dir/build.make CMakeFiles/git_hash.dir/build +[ 0%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/concurrent_bounded_queue.cpp.o +[ 0%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/arena.cpp.o +[ 0%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/address_waiter.cpp.o +cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/concurrent_bounded_queue.cpp +[ 0%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/arena_slot.cpp.o +[ 1%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/allocator.cpp.o +cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/address_waiter.cpp make[3]: Entering directory '/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu' -[ 0%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/entropy_common.c.o -[ 1%] Building C object CMakeFiles/mold-wrapper.dir/elf/mold-wrapper.c.o -[ 2%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/error_private.c.o -[ 1%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc.c.o -cd /build/reproducible-path/mold-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -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-2.31.0+dfsg/third-party/zstd/lib/common/entropy_common.c -[ 2%] Building C object third-party/blake3/c/CMakeFiles/blake3.dir/blake3.c.o +/usr/bin/cmake -DSOURCE_DIR=/build/reproducible-path/mold-2.31.0+dfsg -DOUTPUT_FILE=/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/git-hash.cc -P /build/reproducible-path/mold-2.31.0+dfsg/common/update-git-hash.cmake +cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/arena.cpp +[ 2%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc.c.o +cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/arena_slot.cpp [ 2%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc-posix.c.o -[ 2%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/debug.c.o -[ 2%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/address_waiter.cpp.o -make[3]: Leaving directory '/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu' -[ 2%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc-aligned.c.o -cd /build/reproducible-path/mold-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -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-2.31.0+dfsg/third-party/zstd/lib/common/error_private.c +cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/allocator.cpp cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -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-2.31.0+dfsg/third-party/mimalloc/src/alloc.c -cd /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cc -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c17 -fvisibility=hidden -MD -MT third-party/blake3/c/CMakeFiles/blake3.dir/blake3.c.o -MF CMakeFiles/blake3.dir/blake3.c.o.d -o CMakeFiles/blake3.dir/blake3.c.o -c /build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c/blake3.c -/usr/bin/cc -Dmold_wrapper_EXPORTS -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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-2.31.0+dfsg/elf/mold-wrapper.c +[ 2%] Building C object third-party/blake3/c/CMakeFiles/blake3.dir/blake3.c.o cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -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-2.31.0+dfsg/third-party/mimalloc/src/alloc-posix.c -cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/address_waiter.cpp +cd /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cc -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c17 -fvisibility=hidden -MD -MT third-party/blake3/c/CMakeFiles/blake3.dir/blake3.c.o -MF CMakeFiles/blake3.dir/blake3.c.o.d -o CMakeFiles/blake3.dir/blake3.c.o -c /build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c/blake3.c +[ 2%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/debug.c.o cd /build/reproducible-path/mold-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -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-2.31.0+dfsg/third-party/zstd/lib/common/debug.c -cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -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-2.31.0+dfsg/third-party/mimalloc/src/alloc-aligned.c -[ 2%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/arena.c.o -cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -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-2.31.0+dfsg/third-party/mimalloc/src/arena.c -[ 2%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/fse_decompress.c.o -cd /build/reproducible-path/mold-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -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-2.31.0+dfsg/third-party/zstd/lib/common/fse_decompress.c +make[3]: Leaving directory '/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu' [ 2%] Built target git_hash -[ 2%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/bitmap.c.o -cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -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-2.31.0+dfsg/third-party/mimalloc/src/bitmap.c /build/reproducible-path/mold-2.31.0+dfsg/elf/mold-wrapper.c: In function 'execvpe': /build/reproducible-path/mold-2.31.0+dfsg/elf/mold-wrapper.c:78:27: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 78 | typeof(execvpe) *real = dlsym(RTLD_NEXT, "execvp"); @@ -790,10 +824,23 @@ /build/reproducible-path/mold-2.31.0+dfsg/elf/mold-wrapper.c:144:32: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 144 | typeof(posix_spawnp) *real = dlsym(RTLD_NEXT, "posix_spawnp"); | ^~~~~ +[ 2%] Building C object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_dispatch.c.o +cd /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cc -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c17 -fvisibility=hidden -MD -MT third-party/blake3/c/CMakeFiles/blake3.dir/blake3_dispatch.c.o -MF CMakeFiles/blake3.dir/blake3_dispatch.c.o.d -o CMakeFiles/blake3.dir/blake3_dispatch.c.o -c /build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c/blake3_dispatch.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-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -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-2.31.0+dfsg/third-party/zstd/lib/common/entropy_common.c +[ 2%] Linking C shared library mold-wrapper.so +[ 2%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/arena.c.o +cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -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-2.31.0+dfsg/third-party/mimalloc/src/arena.c +/usr/bin/cmake -E cmake_link_script CMakeFiles/mold-wrapper.dir/link.txt --verbose=1 +/usr/bin/cc -fPIC -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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-2.31.0+dfsg/obj-x86_64-linux-gnu' +[ 2%] Built target mold-wrapper +[ 2%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/bitmap.c.o +cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -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-2.31.0+dfsg/third-party/mimalloc/src/bitmap.c [ 3%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/heap.c.o cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -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-2.31.0+dfsg/third-party/mimalloc/src/heap.c -[ 3%] Building C object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_dispatch.c.o -cd /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cc -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c17 -fvisibility=hidden -MD -MT third-party/blake3/c/CMakeFiles/blake3.dir/blake3_dispatch.c.o -MF CMakeFiles/blake3.dir/blake3_dispatch.c.o.d -o CMakeFiles/blake3.dir/blake3_dispatch.c.o -c /build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c/blake3_dispatch.c +[ 4%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/error_private.c.o +cd /build/reproducible-path/mold-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -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-2.31.0+dfsg/third-party/zstd/lib/common/error_private.c /build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/src/heap.c: In function 'mi_heap_visit_areas_page': /build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/src/heap.c:584:33: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 584 | mi_heap_area_visit_fun* fun = (mi_heap_area_visit_fun*)vfun; @@ -802,37 +849,16 @@ /build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/src/heap.c:601:75: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 601 | return mi_heap_visit_pages((mi_heap_t*)heap, &mi_heap_visit_areas_page, (void*)(visitor), arg); // note: function pointer to void* :-{ | ^ -[ 3%] Building C object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_portable.c.o -[ 3%] Linking C shared library mold-wrapper.so -cd /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cc -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c17 -fvisibility=hidden -MD -MT third-party/blake3/c/CMakeFiles/blake3.dir/blake3_portable.c.o -MF CMakeFiles/blake3.dir/blake3_portable.c.o.d -o CMakeFiles/blake3.dir/blake3_portable.c.o -c /build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c/blake3_portable.c -/usr/bin/cmake -E cmake_link_script CMakeFiles/mold-wrapper.dir/link.txt --verbose=1 -/usr/bin/cc -fPIC -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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-2.31.0+dfsg/obj-x86_64-linux-gnu' -[ 3%] Built target mold-wrapper -[ 3%] Building ASM object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_avx2_x86-64_unix.S.o -cd /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cc -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -o CMakeFiles/blake3.dir/blake3_avx2_x86-64_unix.S.o -c /build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c/blake3_avx2_x86-64_unix.S -[ 3%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/init.c.o +[ 4%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/fse_decompress.c.o +cd /build/reproducible-path/mold-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -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-2.31.0+dfsg/third-party/zstd/lib/common/fse_decompress.c +[ 4%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/init.c.o cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -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-2.31.0+dfsg/third-party/mimalloc/src/init.c -[ 3%] Building ASM object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_avx512_x86-64_unix.S.o -cd /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cc -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -o CMakeFiles/blake3.dir/blake3_avx512_x86-64_unix.S.o -c /build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c/blake3_avx512_x86-64_unix.S -[ 4%] Building ASM object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_sse2_x86-64_unix.S.o -cd /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cc -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -o CMakeFiles/blake3.dir/blake3_sse2_x86-64_unix.S.o -c /build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c/blake3_sse2_x86-64_unix.S -[ 4%] Building ASM object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_sse41_x86-64_unix.S.o +[ 4%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/options.c.o +cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -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-2.31.0+dfsg/third-party/mimalloc/src/options.c +[ 4%] Building C object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_portable.c.o [ 4%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/pool.c.o +cd /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cc -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c17 -fvisibility=hidden -MD -MT third-party/blake3/c/CMakeFiles/blake3.dir/blake3_portable.c.o -MF CMakeFiles/blake3.dir/blake3_portable.c.o.d -o CMakeFiles/blake3.dir/blake3_portable.c.o -c /build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c/blake3_portable.c cd /build/reproducible-path/mold-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -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-2.31.0+dfsg/third-party/zstd/lib/common/pool.c -cd /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cc -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -o CMakeFiles/blake3.dir/blake3_sse41_x86-64_unix.S.o -c /build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c/blake3_sse41_x86-64_unix.S -[ 6%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/allocator.cpp.o -cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/allocator.cpp -[ 6%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/threading.c.o -cd /build/reproducible-path/mold-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -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-2.31.0+dfsg/third-party/zstd/lib/common/threading.c -[ 6%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/xxhash.c.o -cd /build/reproducible-path/mold-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -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-2.31.0+dfsg/third-party/zstd/lib/common/xxhash.c -[ 6%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/os.c.o -cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -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-2.31.0+dfsg/third-party/mimalloc/src/os.c -[ 6%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/options.c.o -cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -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-2.31.0+dfsg/third-party/mimalloc/src/options.c -[ 6%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/arena.cpp.o -cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/arena.cpp /build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/src/options.c: In function '_mi_fputs': /build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/src/options.c:300:20: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 300 | if (out==NULL || (void*)out==(void*)stdout || (void*)out==(void*)stderr) { // TODO: use mi_out_stderr for stderr? @@ -840,73 +866,86 @@ /build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/src/options.c:300:49: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 300 | if (out==NULL || (void*)out==(void*)stdout || (void*)out==(void*)stderr) { // TODO: use mi_out_stderr for stderr? | ^ -[ 7%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/zstd_common.c.o +[ 4%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/os.c.o +cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -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-2.31.0+dfsg/third-party/mimalloc/src/os.c +[ 4%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/page.c.o +cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -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-2.31.0+dfsg/third-party/mimalloc/src/page.c +[ 4%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/threading.c.o +cd /build/reproducible-path/mold-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -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-2.31.0+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-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -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-2.31.0+dfsg/third-party/zstd/lib/common/xxhash.c +[ 6%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/zstd_common.c.o cd /build/reproducible-path/mold-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -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-2.31.0+dfsg/third-party/zstd/lib/common/zstd_common.c +[ 6%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/random.c.o +cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -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-2.31.0+dfsg/third-party/mimalloc/src/random.c +[ 7%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/segment.c.o +cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -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-2.31.0+dfsg/third-party/mimalloc/src/segment.c +[ 7%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/segment-map.c.o +cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/segment-map.c.o -MF CMakeFiles/mimalloc-static.dir/src/segment-map.c.o.d -o CMakeFiles/mimalloc-static.dir/src/segment-map.c.o -c /build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/src/segment-map.c +[ 7%] Building ASM object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_avx2_x86-64_unix.S.o +cd /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cc -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -o CMakeFiles/blake3.dir/blake3_avx2_x86-64_unix.S.o -c /build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c/blake3_avx2_x86-64_unix.S [ 7%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/fse_compress.c.o cd /build/reproducible-path/mold-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -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-2.31.0+dfsg/third-party/zstd/lib/compress/fse_compress.c -[ 7%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/arena_slot.cpp.o -cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/arena_slot.cpp -[ 7%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/concurrent_bounded_queue.cpp.o -cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/concurrent_bounded_queue.cpp -[ 7%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/hist.c.o +[ 7%] Building ASM object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_avx512_x86-64_unix.S.o +cd /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cc -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -o CMakeFiles/blake3.dir/blake3_avx512_x86-64_unix.S.o -c /build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c/blake3_avx512_x86-64_unix.S +[ 8%] Building ASM object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_sse2_x86-64_unix.S.o +cd /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cc -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -o CMakeFiles/blake3.dir/blake3_sse2_x86-64_unix.S.o -c /build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c/blake3_sse2_x86-64_unix.S +[ 8%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/hist.c.o cd /build/reproducible-path/mold-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -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-2.31.0+dfsg/third-party/zstd/lib/compress/hist.c -[ 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-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -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-2.31.0+dfsg/third-party/zstd/lib/compress/huf_compress.c -[ 7%] Linking C static library libblake3.a +[ 8%] Building ASM object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_sse41_x86-64_unix.S.o +cd /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cc -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -o CMakeFiles/blake3.dir/blake3_sse41_x86-64_unix.S.o -c /build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c/blake3_sse41_x86-64_unix.S +[ 8%] Linking C static library libblake3.a cd /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cmake -P CMakeFiles/blake3.dir/cmake_clean_target.cmake -[ 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-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -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-2.31.0+dfsg/third-party/zstd/lib/compress/zstd_compress.c +[ 8%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/stats.c.o +cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -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-2.31.0+dfsg/third-party/mimalloc/src/stats.c cd /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cmake -E cmake_link_script CMakeFiles/blake3.dir/link.txt --verbose=1 -[ 7%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/dynamic_link.cpp.o -cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/dynamic_link.cpp /usr/bin/ar qc libblake3.a CMakeFiles/blake3.dir/blake3.c.o CMakeFiles/blake3.dir/blake3_dispatch.c.o CMakeFiles/blake3.dir/blake3_portable.c.o "CMakeFiles/blake3.dir/blake3_avx2_x86-64_unix.S.o" "CMakeFiles/blake3.dir/blake3_avx512_x86-64_unix.S.o" "CMakeFiles/blake3.dir/blake3_sse2_x86-64_unix.S.o" "CMakeFiles/blake3.dir/blake3_sse41_x86-64_unix.S.o" /usr/bin/ranlib libblake3.a -[ 7%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/page.c.o +/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/src/stats.c: In function 'mi_stats_print': +/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/src/stats.c:408:22: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] + 408 | mi_stats_print_out((mi_output_fun*)out, NULL); + | ^ +[ 8%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/prim/prim.c.o +cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/prim/prim.c.o -MF CMakeFiles/mimalloc-static.dir/src/prim/prim.c.o.d -o CMakeFiles/mimalloc-static.dir/src/prim/prim.c.o -c /build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/src/prim/prim.c make[3]: Leaving directory '/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu' -cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -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-2.31.0+dfsg/third-party/mimalloc/src/page.c -[ 7%] Built target blake3 -[ 7%] 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/huf_compress.c.o +cd /build/reproducible-path/mold-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -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-2.31.0+dfsg/third-party/zstd/lib/compress/huf_compress.c +[ 8%] Built target blake3 +[ 8%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress.c.o +cd /build/reproducible-path/mold-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -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-2.31.0+dfsg/third-party/zstd/lib/compress/zstd_compress.c +[ 8%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/dynamic_link.cpp.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-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/dynamic_link.cpp cd /build/reproducible-path/mold-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -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-2.31.0+dfsg/third-party/zstd/lib/compress/zstd_compress_literals.c -[ 8%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_sequences.c.o +[ 9%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/exception.cpp.o +[ 9%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/governor.cpp.o +cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/exception.cpp +cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/governor.cpp +[ 10%] 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-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -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-2.31.0+dfsg/third-party/zstd/lib/compress/zstd_compress_sequences.c -[ 8%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_superblock.c.o -[ 8%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_double_fast.c.o +[ 10%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/global_control.cpp.o +cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/global_control.cpp +[ 10%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/itt_notify.cpp.o +cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/itt_notify.cpp.o -MF CMakeFiles/tbb.dir/itt_notify.cpp.o.d -o CMakeFiles/tbb.dir/itt_notify.cpp.o -c /build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/itt_notify.cpp +[ 10%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/main.cpp.o +cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/main.cpp +[ 10%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/market.cpp.o +cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/market.cpp +[ 10%] Linking C static library libmimalloc.a +cd /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cmake -P CMakeFiles/mimalloc-static.dir/cmake_clean_target.cmake +cd /build/reproducible-path/mold-2.31.0+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/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/arena.c.o" "CMakeFiles/mimalloc-static.dir/src/bitmap.c.o" "CMakeFiles/mimalloc-static.dir/src/heap.c.o" "CMakeFiles/mimalloc-static.dir/src/init.c.o" "CMakeFiles/mimalloc-static.dir/src/options.c.o" "CMakeFiles/mimalloc-static.dir/src/os.c.o" "CMakeFiles/mimalloc-static.dir/src/page.c.o" "CMakeFiles/mimalloc-static.dir/src/random.c.o" "CMakeFiles/mimalloc-static.dir/src/segment.c.o" "CMakeFiles/mimalloc-static.dir/src/segment-map.c.o" "CMakeFiles/mimalloc-static.dir/src/stats.c.o" "CMakeFiles/mimalloc-static.dir/src/prim/prim.c.o" +/usr/bin/ranlib libmimalloc.a +make[3]: Leaving directory '/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu' +[ 10%] 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-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -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-2.31.0+dfsg/third-party/zstd/lib/compress/zstd_compress_superblock.c +[ 10%] Built target mimalloc-static +[ 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-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -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-2.31.0+dfsg/third-party/zstd/lib/compress/zstd_double_fast.c -[ 8%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_fast.c.o +[ 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-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -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-2.31.0+dfsg/third-party/zstd/lib/compress/zstd_fast.c -[ 8%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/random.c.o -cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -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-2.31.0+dfsg/third-party/mimalloc/src/random.c -[ 8%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_lazy.c.o +[ 10%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_lazy.c.o cd /build/reproducible-path/mold-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -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-2.31.0+dfsg/third-party/zstd/lib/compress/zstd_lazy.c -[ 9%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/segment.c.o -cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -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-2.31.0+dfsg/third-party/mimalloc/src/segment.c -[ 10%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/exception.cpp.o -cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/exception.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-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -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-2.31.0+dfsg/third-party/zstd/lib/compress/zstd_ldm.c -[ 12%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/governor.cpp.o -cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/governor.cpp -[ 12%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/segment-map.c.o -cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/segment-map.c.o -MF CMakeFiles/mimalloc-static.dir/src/segment-map.c.o.d -o CMakeFiles/mimalloc-static.dir/src/segment-map.c.o -c /build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/src/segment-map.c -[ 12%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_opt.c.o -cd /build/reproducible-path/mold-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -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-2.31.0+dfsg/third-party/zstd/lib/compress/zstd_opt.c -[ 12%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstdmt_compress.c.o -cd /build/reproducible-path/mold-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -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-2.31.0+dfsg/third-party/zstd/lib/compress/zstdmt_compress.c -[ 12%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/huf_decompress.c.o -cd /build/reproducible-path/mold-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -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-2.31.0+dfsg/third-party/zstd/lib/decompress/huf_decompress.c -[ 12%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/global_control.cpp.o -cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/global_control.cpp -[ 12%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/stats.c.o -cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -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-2.31.0+dfsg/third-party/mimalloc/src/stats.c -/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/src/stats.c: In function 'mi_stats_print': -/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/src/stats.c:408:22: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] - 408 | mi_stats_print_out((mi_output_fun*)out, NULL); - | ^ -[ 12%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/itt_notify.cpp.o -cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/itt_notify.cpp.o -MF CMakeFiles/tbb.dir/itt_notify.cpp.o.d -o CMakeFiles/tbb.dir/itt_notify.cpp.o -c /build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/itt_notify.cpp -[ 12%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/prim/prim.c.o -cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/prim/prim.c.o -MF CMakeFiles/mimalloc-static.dir/src/prim/prim.c.o.d -o CMakeFiles/mimalloc-static.dir/src/prim/prim.c.o -c /build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/src/prim/prim.c In file included from /usr/include/c++/13/atomic:41, from /build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include/oneapi/tbb/detail/_utils.h:22, from /build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/task_dispatcher.h:20, @@ -919,49 +958,82 @@ | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In member function 'void tbb::detail::r1::concurrent_monitor_base::notify_one_relaxed() [with Context = long unsigned int]': cc1plus: note: destination object is likely at address zero -[ 12%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/main.cpp.o -cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/main.cpp -[ 12%] Linking C static library libmimalloc.a -cd /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cmake -P CMakeFiles/mimalloc-static.dir/cmake_clean_target.cmake -cd /build/reproducible-path/mold-2.31.0+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/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/arena.c.o" "CMakeFiles/mimalloc-static.dir/src/bitmap.c.o" "CMakeFiles/mimalloc-static.dir/src/heap.c.o" "CMakeFiles/mimalloc-static.dir/src/init.c.o" "CMakeFiles/mimalloc-static.dir/src/options.c.o" "CMakeFiles/mimalloc-static.dir/src/os.c.o" "CMakeFiles/mimalloc-static.dir/src/page.c.o" "CMakeFiles/mimalloc-static.dir/src/random.c.o" "CMakeFiles/mimalloc-static.dir/src/segment.c.o" "CMakeFiles/mimalloc-static.dir/src/segment-map.c.o" "CMakeFiles/mimalloc-static.dir/src/stats.c.o" "CMakeFiles/mimalloc-static.dir/src/prim/prim.c.o" -/usr/bin/ranlib libmimalloc.a -make[3]: Leaving directory '/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu' -[ 12%] Built target mimalloc-static -[ 12%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_ddict.c.o +[ 12%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/tcm_adaptor.cpp.o +cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/tcm_adaptor.cpp.o -MF CMakeFiles/tbb.dir/tcm_adaptor.cpp.o.d -o CMakeFiles/tbb.dir/tcm_adaptor.cpp.o -c /build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/tcm_adaptor.cpp +[ 12%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/misc.cpp.o +cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/misc.cpp +[ 12%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/misc_ex.cpp.o +cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/misc_ex.cpp +[ 12%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/observer_proxy.cpp.o +cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/observer_proxy.cpp +[ 12%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/parallel_pipeline.cpp.o +cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/parallel_pipeline.cpp +[ 13%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/private_server.cpp.o +cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/private_server.cpp +[ 13%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/profiling.cpp.o +[ 13%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/rml_tbb.cpp.o +cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/profiling.cpp +cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/rml_tbb.cpp +[ 14%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_ldm.c.o +cd /build/reproducible-path/mold-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -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-2.31.0+dfsg/third-party/zstd/lib/compress/zstd_ldm.c +[ 14%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/rtm_mutex.cpp.o +cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/rtm_mutex.cpp +[ 14%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_opt.c.o +cd /build/reproducible-path/mold-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -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-2.31.0+dfsg/third-party/zstd/lib/compress/zstd_opt.c +[ 14%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/rtm_rw_mutex.cpp.o +cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/rtm_rw_mutex.cpp +[ 15%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/semaphore.cpp.o +cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/semaphore.cpp +[ 15%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstdmt_compress.c.o +cd /build/reproducible-path/mold-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -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-2.31.0+dfsg/third-party/zstd/lib/compress/zstdmt_compress.c +[ 15%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/small_object_pool.cpp.o +cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/small_object_pool.cpp +[ 15%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/huf_decompress.c.o +cd /build/reproducible-path/mold-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -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-2.31.0+dfsg/third-party/zstd/lib/decompress/huf_decompress.c +[ 15%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/task.cpp.o +[ 15%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/task_dispatcher.cpp.o +cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/task.cpp +cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/task_dispatcher.cpp +[ 15%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/task_group_context.cpp.o +cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/task_group_context.cpp +[ 15%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_ddict.c.o cd /build/reproducible-path/mold-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -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-2.31.0+dfsg/third-party/zstd/lib/decompress/zstd_ddict.c -[ 12%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress.c.o +[ 15%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/thread_dispatcher.cpp.o +cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/thread_dispatcher.cpp.o -MF CMakeFiles/tbb.dir/thread_dispatcher.cpp.o.d -o CMakeFiles/tbb.dir/thread_dispatcher.cpp.o -c /build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/thread_dispatcher.cpp +[ 16%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/thread_request_serializer.cpp.o +cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/thread_request_serializer.cpp.o -MF CMakeFiles/tbb.dir/thread_request_serializer.cpp.o.d -o CMakeFiles/tbb.dir/thread_request_serializer.cpp.o -c /build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/thread_request_serializer.cpp +[ 16%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/threading_control.cpp.o +cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/threading_control.cpp.o -MF CMakeFiles/tbb.dir/threading_control.cpp.o.d -o CMakeFiles/tbb.dir/threading_control.cpp.o -c /build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/threading_control.cpp +[ 16%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress.c.o cd /build/reproducible-path/mold-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -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-2.31.0+dfsg/third-party/zstd/lib/decompress/zstd_decompress.c -[ 13%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress_block.c.o +[ 16%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/version.cpp.o +cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/version.cpp +[ 16%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/queuing_rw_mutex.cpp.o +cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/queuing_rw_mutex.cpp +[ 18%] 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-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -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-2.31.0+dfsg/third-party/zstd/lib/decompress/zstd_decompress_block.c -[ 13%] Building ASM object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/huf_decompress_amd64.S.o +[ 18%] 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-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -fPIC -o CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/huf_decompress_amd64.S.o -c /build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib/decompress/huf_decompress_amd64.S -[ 13%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/cover.c.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-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -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-2.31.0+dfsg/third-party/zstd/lib/dictBuilder/cover.c -[ 13%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/market.cpp.o -cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/market.cpp -[ 14%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/tcm_adaptor.cpp.o -cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/tcm_adaptor.cpp.o -MF CMakeFiles/tbb.dir/tcm_adaptor.cpp.o.d -o CMakeFiles/tbb.dir/tcm_adaptor.cpp.o -c /build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/tcm_adaptor.cpp -[ 14%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/misc.cpp.o -cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/misc.cpp -[ 14%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/misc_ex.cpp.o -cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/misc_ex.cpp -[ 14%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/divsufsort.c.o -[ 14%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/observer_proxy.cpp.o -cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/observer_proxy.cpp +[ 18%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/divsufsort.c.o cd /build/reproducible-path/mold-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -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-2.31.0+dfsg/third-party/zstd/lib/dictBuilder/divsufsort.c -[ 14%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/fastcover.c.o +[ 18%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/fastcover.c.o cd /build/reproducible-path/mold-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -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-2.31.0+dfsg/third-party/zstd/lib/dictBuilder/fastcover.c -[ 15%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/zdict.c.o +[ 19%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/zdict.c.o cd /build/reproducible-path/mold-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -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-2.31.0+dfsg/third-party/zstd/lib/dictBuilder/zdict.c -[ 15%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/parallel_pipeline.cpp.o -cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/parallel_pipeline.cpp -[ 15%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v01.c.o +[ 19%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v01.c.o cd /build/reproducible-path/mold-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v01.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v01.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v01.c.o -c /build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib/legacy/zstd_v01.c -[ 16%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/private_server.cpp.o -cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+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-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/profiling.cpp +[ 19%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v02.c.o +cd /build/reproducible-path/mold-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v02.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v02.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v02.c.o -c /build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib/legacy/zstd_v02.c +[ 19%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v03.c.o +cd /build/reproducible-path/mold-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v03.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v03.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v03.c.o -c /build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib/legacy/zstd_v03.c +[ 19%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v04.c.o +cd /build/reproducible-path/mold-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v04.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v04.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v04.c.o -c /build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib/legacy/zstd_v04.c +[ 20%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v05.c.o +cd /build/reproducible-path/mold-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v05.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v05.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v05.c.o -c /build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib/legacy/zstd_v05.c +[ 20%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v06.c.o +cd /build/reproducible-path/mold-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v06.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v06.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v06.c.o -c /build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib/legacy/zstd_v06.c In function 'ZSTDv01_decodeLiteralsBlock', inlined from 'ZSTD_decompressBlock' at /build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib/legacy/zstd_v01.c:1899:17: /build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib/legacy/zstd_v01.c:1505:20: warning: 'litbp.origSize' may be used uninitialized [-Wmaybe-uninitialized] @@ -1007,12 +1079,8 @@ /build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib/legacy/zstd_v01.c:1829:9: note: 'nbSeq' was declared here 1829 | int nbSeq; | ^~~~~ -[ 16%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v02.c.o -cd /build/reproducible-path/mold-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v02.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v02.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v02.c.o -c /build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib/legacy/zstd_v02.c -[ 16%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v03.c.o -cd /build/reproducible-path/mold-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v03.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v03.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v03.c.o -c /build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib/legacy/zstd_v03.c -[ 16%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/rml_tbb.cpp.o -cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/rml_tbb.cpp +[ 20%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v07.c.o +cd /build/reproducible-path/mold-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v07.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v07.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v07.c.o -c /build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib/legacy/zstd_v07.c /build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib/legacy/zstd_v01.c: In function 'ZSTDv01_decompressDCtx': /build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib/legacy/zstd_v01.c:1936:9: warning: '*(unsigned int *)((char *)&blockProperties + offsetof(blockProperties_t, blockType))' may be used uninitialized [-Wmaybe-uninitialized] 1936 | switch(blockProperties.blockType) @@ -1020,38 +1088,6 @@ /build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib/legacy/zstd_v01.c:1918:23: note: '*(unsigned int *)((char *)&blockProperties + offsetof(blockProperties_t, blockType))' was declared here 1918 | blockProperties_t blockProperties; | ^~~~~~~~~~~~~~~ -[ 16%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v04.c.o -cd /build/reproducible-path/mold-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v04.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v04.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v04.c.o -c /build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib/legacy/zstd_v04.c -[ 18%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v05.c.o -cd /build/reproducible-path/mold-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v05.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v05.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v05.c.o -c /build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib/legacy/zstd_v05.c -[ 18%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/rtm_mutex.cpp.o -cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/rtm_mutex.cpp -[ 18%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v06.c.o -cd /build/reproducible-path/mold-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v06.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v06.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v06.c.o -c /build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib/legacy/zstd_v06.c -[ 18%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/rtm_rw_mutex.cpp.o -cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/rtm_rw_mutex.cpp -[ 19%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/semaphore.cpp.o -cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/semaphore.cpp -[ 19%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/small_object_pool.cpp.o -cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/small_object_pool.cpp -[ 19%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v07.c.o -cd /build/reproducible-path/mold-2.31.0+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=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v07.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v07.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v07.c.o -c /build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib/legacy/zstd_v07.c -[ 19%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/task.cpp.o -cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/task.cpp -[ 19%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/task_dispatcher.cpp.o -cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/task_dispatcher.cpp -[ 19%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/task_group_context.cpp.o -cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/task_group_context.cpp -[ 19%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/thread_dispatcher.cpp.o -cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/thread_dispatcher.cpp.o -MF CMakeFiles/tbb.dir/thread_dispatcher.cpp.o.d -o CMakeFiles/tbb.dir/thread_dispatcher.cpp.o -c /build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/thread_dispatcher.cpp -[ 20%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/thread_request_serializer.cpp.o -[ 20%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/threading_control.cpp.o -cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/thread_request_serializer.cpp.o -MF CMakeFiles/tbb.dir/thread_request_serializer.cpp.o.d -o CMakeFiles/tbb.dir/thread_request_serializer.cpp.o -c /build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/thread_request_serializer.cpp -cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/threading_control.cpp.o -MF CMakeFiles/tbb.dir/threading_control.cpp.o.d -o CMakeFiles/tbb.dir/threading_control.cpp.o -c /build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/threading_control.cpp -[ 20%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/version.cpp.o -cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/version.cpp -[ 20%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/queuing_rw_mutex.cpp.o -cd /build/reproducible-path/mold-2.31.0+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-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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-2.31.0+dfsg/third-party/tbb/src/tbb/queuing_rw_mutex.cpp [ 20%] Linking CXX static library ../../../../gnu_13.2_cxx11_64_none/libtbb.a cd /build/reproducible-path/mold-2.31.0+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-2.31.0+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 @@ -1072,94 +1108,94 @@ make[3]: Leaving directory '/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu' make -f CMakeFiles/mold.dir/build.make CMakeFiles/mold.dir/build make[3]: Entering directory '/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu' -[ 20%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.ARM32.cc.o -[ 20%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.I386.cc.o [ 21%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.RV32BE.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.ARM32.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.ARM32.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.ARM32.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.ARM32.cc -[ 21%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.ARM64.cc.o +[ 21%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.I386.cc.o [ 21%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.PPC32.cc.o -[ 21%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.RV64LE.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.I386.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.I386.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.I386.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.I386.cc -/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.PPC32.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.PPC32.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.PPC32.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.PPC32.cc -[ 21%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.PPC64V1.cc.o -[ 21%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.PPC64V2.cc.o [ 22%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.X86_64.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.RV64LE.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.RV64LE.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.RV64LE.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.RV64LE.cc +[ 22%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.RV64LE.cc.o +[ 22%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.ARM64.cc.o [ 22%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.RV64BE.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.ARM64.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.ARM64.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.ARM64.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.ARM64.cc +/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.I386.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.I386.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.I386.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.I386.cc /usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.X86_64.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.X86_64.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.X86_64.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.X86_64.cc +[ 22%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.ARM32.cc.o +[ 22%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.RV32LE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.RV32BE.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.RV32BE.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.RV32BE.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.RV32BE.cc -/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.PPC64V1.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.PPC64V1.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.PPC64V1.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.PPC64V1.cc +/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.RV64LE.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.RV64LE.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.RV64LE.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.RV64LE.cc +/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.ARM64.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.ARM64.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.ARM64.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.ARM64.cc +[ 22%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.PPC64V2.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.PPC32.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.PPC32.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.PPC32.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.PPC32.cc /usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.RV64BE.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.RV64BE.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.RV64BE.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.RV64BE.cc +/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.ARM32.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.ARM32.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.ARM32.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.ARM32.cc +/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.RV32LE.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.RV32LE.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.RV32LE.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.RV32LE.cc [ 24%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.S390X.cc.o -[ 22%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.RV32LE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.PPC64V2.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.PPC64V2.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.PPC64V2.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.PPC64V2.cc /usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.S390X.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.S390X.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.S390X.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.S390X.cc -/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.RV32LE.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.RV32LE.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.RV32LE.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.RV32LE.cc +[ 24%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.PPC64V1.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.PPC64V1.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.PPC64V1.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.PPC64V1.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.PPC64V1.cc [ 24%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.SPARC64.cc.o [ 24%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.M68K.cc.o -[ 24%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.X86_64.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.M68K.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.M68K.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.M68K.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.M68K.cc +/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.SPARC64.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.SPARC64.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.SPARC64.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.SPARC64.cc +[ 24%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.SH4.cc.o [ 24%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.ALPHA.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.X86_64.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.X86_64.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.X86_64.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.X86_64.cc +[ 24%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.LOONGARCH64.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.SH4.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.SH4.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.SH4.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.SH4.cc [ 25%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.LOONGARCH32.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.SPARC64.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.SPARC64.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.SPARC64.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.SPARC64.cc -/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.M68K.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.M68K.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.M68K.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.M68K.cc -[ 25%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.SH4.cc.o -[ 25%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.I386.cc.o -[ 25%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.LOONGARCH64.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.ALPHA.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.ALPHA.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.ALPHA.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.ALPHA.cc -/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.LOONGARCH32.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.LOONGARCH32.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.LOONGARCH32.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.LOONGARCH32.cc -[ 25%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.ARM64.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.SH4.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.SH4.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.SH4.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.SH4.cc /usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.LOONGARCH64.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.LOONGARCH64.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.LOONGARCH64.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.LOONGARCH64.cc +/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.LOONGARCH32.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.LOONGARCH32.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.LOONGARCH32.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.LOONGARCH32.cc +[ 25%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.X86_64.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.X86_64.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.X86_64.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.X86_64.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.X86_64.cc +[ 25%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.I386.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.I386.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.I386.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.I386.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.I386.cc -[ 25%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.ARM32.cc.o +[ 25%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.ARM64.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.ARM64.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.ARM64.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.ARM64.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.ARM64.cc +[ 25%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.ARM32.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.ARM32.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.ARM32.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.ARM32.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.ARM32.cc -[ 25%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.RV32BE.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.RV32BE.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.RV32BE.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.RV32BE.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.RV32BE.cc [ 26%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.RV32LE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.RV32LE.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.RV32LE.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.RV32LE.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.RV32LE.cc +[ 26%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.RV32BE.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.RV32BE.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.RV32BE.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.RV32BE.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.RV32BE.cc +[ 26%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.PPC32.cc.o [ 26%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.RV64LE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.RV64LE.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.RV64LE.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.RV64LE.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.RV64LE.cc -[ 26%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.PPC64V2.cc.o -[ 26%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.RV64BE.cc.o -[ 26%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.PPC32.cc.o -[ 27%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.PPC64V1.cc.o -[ 27%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.S390X.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.RV64BE.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.RV64BE.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.RV64BE.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.RV64BE.cc /usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.PPC32.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.PPC32.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.PPC32.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.PPC32.cc +[ 27%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.PPC64V1.cc.o +[ 27%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.RV64BE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.PPC64V1.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.PPC64V1.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.PPC64V1.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.PPC64V1.cc +/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.RV64BE.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.RV64BE.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.RV64BE.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.RV64BE.cc +[ 27%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.PPC64V2.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.PPC64V2.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.PPC64V2.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.PPC64V2.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.PPC64V2.cc +[ 27%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.S390X.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.S390X.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.S390X.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.S390X.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.S390X.cc -[ 27%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.M68K.cc.o [ 27%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.SPARC64.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.M68K.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.M68K.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.M68K.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.M68K.cc -/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.SPARC64.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.SPARC64.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.SPARC64.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.SPARC64.cc -[ 27%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.ALPHA.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.ALPHA.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.ALPHA.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.ALPHA.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.ALPHA.cc +[ 27%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.M68K.cc.o [ 28%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.SH4.cc.o -[ 28%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.LOONGARCH64.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.SPARC64.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.SPARC64.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.SPARC64.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.SPARC64.cc +/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.M68K.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.M68K.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.M68K.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.M68K.cc /usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.SH4.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.SH4.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.SH4.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.SH4.cc -/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.LOONGARCH64.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.LOONGARCH64.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.LOONGARCH64.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.LOONGARCH64.cc +[ 28%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.ALPHA.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.ALPHA.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.ALPHA.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.ALPHA.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.ALPHA.cc [ 28%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.LOONGARCH32.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.LOONGARCH32.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.LOONGARCH32.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.LOONGARCH32.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.LOONGARCH32.cc +[ 28%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.LOONGARCH64.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.LOONGARCH64.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.LOONGARCH64.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.LOONGARCH64.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.LOONGARCH64.cc [ 28%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.X86_64.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -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-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/cmdline.cc.X86_64.cc [ 28%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.I386.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -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-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/cmdline.cc.I386.cc -[ 28%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.RV32LE.cc.o -[ 28%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.ARM32.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -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-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/cmdline.cc.RV32LE.cc -/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -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-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/cmdline.cc.ARM32.cc [ 30%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.ARM64.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -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-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/cmdline.cc.ARM64.cc +[ 30%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.ARM32.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -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-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/cmdline.cc.ARM32.cc +[ 30%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.RV32LE.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -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-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/cmdline.cc.RV32LE.cc [ 30%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.RV32BE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -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-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/cmdline.cc.RV32BE.cc +[ 30%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.RV64LE.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -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-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/cmdline.cc.RV64LE.cc [ 31%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.RV64BE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -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-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/cmdline.cc.RV64BE.cc -[ 31%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.RV64LE.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -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-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/cmdline.cc.RV64LE.cc [ 31%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.PPC32.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -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-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/cmdline.cc.PPC32.cc [ 31%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.PPC64V1.cc.o @@ -1222,10 +1258,10 @@ /usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/gdb-index.cc.I386.cc.o -MF CMakeFiles/mold.dir/elf/gdb-index.cc.I386.cc.o.d -o CMakeFiles/mold.dir/elf/gdb-index.cc.I386.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/gdb-index.cc.I386.cc [ 37%] Building CXX object CMakeFiles/mold.dir/elf/gdb-index.cc.ARM64.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/gdb-index.cc.ARM64.cc.o -MF CMakeFiles/mold.dir/elf/gdb-index.cc.ARM64.cc.o.d -o CMakeFiles/mold.dir/elf/gdb-index.cc.ARM64.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/gdb-index.cc.ARM64.cc -[ 37%] Building CXX object CMakeFiles/mold.dir/elf/gdb-index.cc.ARM32.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/gdb-index.cc.ARM32.cc.o -MF CMakeFiles/mold.dir/elf/gdb-index.cc.ARM32.cc.o.d -o CMakeFiles/mold.dir/elf/gdb-index.cc.ARM32.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/gdb-index.cc.ARM32.cc [ 38%] Building CXX object CMakeFiles/mold.dir/elf/gdb-index.cc.RV32LE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/gdb-index.cc.RV32LE.cc.o -MF CMakeFiles/mold.dir/elf/gdb-index.cc.RV32LE.cc.o.d -o CMakeFiles/mold.dir/elf/gdb-index.cc.RV32LE.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/gdb-index.cc.RV32LE.cc +[ 38%] Building CXX object CMakeFiles/mold.dir/elf/gdb-index.cc.ARM32.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/gdb-index.cc.ARM32.cc.o -MF CMakeFiles/mold.dir/elf/gdb-index.cc.ARM32.cc.o.d -o CMakeFiles/mold.dir/elf/gdb-index.cc.ARM32.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/gdb-index.cc.ARM32.cc [ 38%] Building CXX object CMakeFiles/mold.dir/elf/gdb-index.cc.RV32BE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/gdb-index.cc.RV32BE.cc.o -MF CMakeFiles/mold.dir/elf/gdb-index.cc.RV32BE.cc.o.d -o CMakeFiles/mold.dir/elf/gdb-index.cc.RV32BE.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/gdb-index.cc.RV32BE.cc [ 38%] Building CXX object CMakeFiles/mold.dir/elf/gdb-index.cc.RV64LE.cc.o @@ -1523,9 +1559,9 @@ [ 71%] Building CXX object CMakeFiles/mold.dir/elf/passes.cc.PPC32.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/passes.cc.PPC32.cc.o -MF CMakeFiles/mold.dir/elf/passes.cc.PPC32.cc.o.d -o CMakeFiles/mold.dir/elf/passes.cc.PPC32.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/passes.cc.PPC32.cc [ 71%] Building CXX object CMakeFiles/mold.dir/elf/passes.cc.PPC64V1.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/passes.cc.PPC64V1.cc.o -MF CMakeFiles/mold.dir/elf/passes.cc.PPC64V1.cc.o.d -o CMakeFiles/mold.dir/elf/passes.cc.PPC64V1.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/passes.cc.PPC64V1.cc [ 72%] Building CXX object CMakeFiles/mold.dir/elf/passes.cc.PPC64V2.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/passes.cc.PPC64V2.cc.o -MF CMakeFiles/mold.dir/elf/passes.cc.PPC64V2.cc.o.d -o CMakeFiles/mold.dir/elf/passes.cc.PPC64V2.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/passes.cc.PPC64V2.cc +/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/passes.cc.PPC64V1.cc.o -MF CMakeFiles/mold.dir/elf/passes.cc.PPC64V1.cc.o.d -o CMakeFiles/mold.dir/elf/passes.cc.PPC64V1.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/passes.cc.PPC64V1.cc [ 72%] Building CXX object CMakeFiles/mold.dir/elf/passes.cc.S390X.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/passes.cc.S390X.cc.o -MF CMakeFiles/mold.dir/elf/passes.cc.S390X.cc.o.d -o CMakeFiles/mold.dir/elf/passes.cc.S390X.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/passes.cc.S390X.cc [ 72%] Building CXX object CMakeFiles/mold.dir/elf/passes.cc.SPARC64.cc.o @@ -1612,10 +1648,10 @@ /usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/subprocess.cc.LOONGARCH32.cc.o -MF CMakeFiles/mold.dir/elf/subprocess.cc.LOONGARCH32.cc.o.d -o CMakeFiles/mold.dir/elf/subprocess.cc.LOONGARCH32.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/subprocess.cc.LOONGARCH32.cc [ 80%] Building CXX object CMakeFiles/mold.dir/elf/subprocess.cc.LOONGARCH64.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/subprocess.cc.LOONGARCH64.cc.o -MF CMakeFiles/mold.dir/elf/subprocess.cc.LOONGARCH64.cc.o.d -o CMakeFiles/mold.dir/elf/subprocess.cc.LOONGARCH64.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/subprocess.cc.LOONGARCH64.cc +[ 80%] Building CXX object CMakeFiles/mold.dir/elf/thunks.cc.I386.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/thunks.cc.I386.cc.o -MF CMakeFiles/mold.dir/elf/thunks.cc.I386.cc.o.d -o CMakeFiles/mold.dir/elf/thunks.cc.I386.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/thunks.cc.I386.cc [ 81%] Building CXX object CMakeFiles/mold.dir/elf/thunks.cc.X86_64.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/thunks.cc.X86_64.cc.o -MF CMakeFiles/mold.dir/elf/thunks.cc.X86_64.cc.o.d -o CMakeFiles/mold.dir/elf/thunks.cc.X86_64.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/thunks.cc.X86_64.cc -[ 81%] Building CXX object CMakeFiles/mold.dir/elf/thunks.cc.I386.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/thunks.cc.I386.cc.o -MF CMakeFiles/mold.dir/elf/thunks.cc.I386.cc.o.d -o CMakeFiles/mold.dir/elf/thunks.cc.I386.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/thunks.cc.I386.cc [ 81%] Building CXX object CMakeFiles/mold.dir/elf/thunks.cc.ARM64.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/thunks.cc.ARM64.cc.o -MF CMakeFiles/mold.dir/elf/thunks.cc.ARM64.cc.o.d -o CMakeFiles/mold.dir/elf/thunks.cc.ARM64.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/thunks.cc.ARM64.cc [ 81%] Building CXX object CMakeFiles/mold.dir/elf/thunks.cc.ARM32.cc.o @@ -1688,16 +1724,16 @@ /usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/lto-unix.cc.X86_64.cc.o -MF CMakeFiles/mold.dir/elf/lto-unix.cc.X86_64.cc.o.d -o CMakeFiles/mold.dir/elf/lto-unix.cc.X86_64.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/lto-unix.cc.X86_64.cc [ 90%] Building CXX object CMakeFiles/mold.dir/elf/lto-unix.cc.I386.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/lto-unix.cc.I386.cc.o -MF CMakeFiles/mold.dir/elf/lto-unix.cc.I386.cc.o.d -o CMakeFiles/mold.dir/elf/lto-unix.cc.I386.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/lto-unix.cc.I386.cc -[ 90%] Building CXX object CMakeFiles/mold.dir/elf/lto-unix.cc.ARM32.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/lto-unix.cc.ARM32.cc.o -MF CMakeFiles/mold.dir/elf/lto-unix.cc.ARM32.cc.o.d -o CMakeFiles/mold.dir/elf/lto-unix.cc.ARM32.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/lto-unix.cc.ARM32.cc [ 90%] Building CXX object CMakeFiles/mold.dir/elf/lto-unix.cc.ARM64.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/lto-unix.cc.ARM64.cc.o -MF CMakeFiles/mold.dir/elf/lto-unix.cc.ARM64.cc.o.d -o CMakeFiles/mold.dir/elf/lto-unix.cc.ARM64.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/lto-unix.cc.ARM64.cc +[ 90%] Building CXX object CMakeFiles/mold.dir/elf/lto-unix.cc.ARM32.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/lto-unix.cc.ARM32.cc.o -MF CMakeFiles/mold.dir/elf/lto-unix.cc.ARM32.cc.o.d -o CMakeFiles/mold.dir/elf/lto-unix.cc.ARM32.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/lto-unix.cc.ARM32.cc [ 90%] Building CXX object CMakeFiles/mold.dir/elf/lto-unix.cc.RV32LE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/lto-unix.cc.RV32LE.cc.o -MF CMakeFiles/mold.dir/elf/lto-unix.cc.RV32LE.cc.o.d -o CMakeFiles/mold.dir/elf/lto-unix.cc.RV32LE.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/lto-unix.cc.RV32LE.cc -[ 90%] Building CXX object CMakeFiles/mold.dir/elf/lto-unix.cc.RV32BE.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/lto-unix.cc.RV32BE.cc.o -MF CMakeFiles/mold.dir/elf/lto-unix.cc.RV32BE.cc.o.d -o CMakeFiles/mold.dir/elf/lto-unix.cc.RV32BE.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/lto-unix.cc.RV32BE.cc [ 90%] Building CXX object CMakeFiles/mold.dir/elf/lto-unix.cc.RV64LE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/lto-unix.cc.RV64LE.cc.o -MF CMakeFiles/mold.dir/elf/lto-unix.cc.RV64LE.cc.o.d -o CMakeFiles/mold.dir/elf/lto-unix.cc.RV64LE.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/lto-unix.cc.RV64LE.cc +[ 90%] Building CXX object CMakeFiles/mold.dir/elf/lto-unix.cc.RV32BE.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/lto-unix.cc.RV32BE.cc.o -MF CMakeFiles/mold.dir/elf/lto-unix.cc.RV32BE.cc.o.d -o CMakeFiles/mold.dir/elf/lto-unix.cc.RV32BE.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/lto-unix.cc.RV32BE.cc [ 91%] Building CXX object CMakeFiles/mold.dir/elf/lto-unix.cc.RV64BE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.31.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.31.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/lto-unix.cc.RV64BE.cc.o -MF CMakeFiles/mold.dir/elf/lto-unix.cc.RV64BE.cc.o.d -o CMakeFiles/mold.dir/elf/lto-unix.cc.RV64BE.cc.o -c /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/elf/lto-unix.cc.RV64BE.cc [ 91%] Building CXX object CMakeFiles/mold.dir/elf/lto-unix.cc.PPC32.cc.o @@ -1929,6 +1965,16 @@ 1: ++ trap 'on_error $LINENO' ERR 1: ++ trap on_exit EXIT 1: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_empty-mergeable-section.sh .sh +1: ++ testname=x86_64_empty-mergeable-section +1: ++ echo -n 'Testing x86_64_empty-mergeable-section ... ' +1: Testing x86_64_empty-mergeable-section ... ++ t=out/test/elf/x86_64/x86_64_empty-mergeable-section +1: ++ mkdir -p out/test/elf/x86_64/x86_64_empty-mergeable-section +1: + cat +1: + cc -o out/test/elf/x86_64/x86_64_empty-mergeable-section/a.o -c -xassembler - +1: + cat +1: + cc -o out/test/elf/x86_64/x86_64_empty-mergeable-section/b.o -c -xassembler - +1: + cc -o out/test/elf/x86_64/x86_64_empty-mergeable-section/c.o -c -xc - +1: + cat 2: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_emulation-deduction.sh 2: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 2: ++ export LC_ALL=C @@ -1952,6 +1998,9 @@ 2: ++ testname=x86_64_emulation-deduction 2: ++ echo -n 'Testing x86_64_emulation-deduction ... ' 2: Testing x86_64_emulation-deduction ... ++ t=out/test/elf/x86_64/x86_64_emulation-deduction +2: ++ mkdir -p out/test/elf/x86_64/x86_64_emulation-deduction +2: + cat +2: + cc -o out/test/elf/x86_64/x86_64_emulation-deduction/a.o -c -xc - 3: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_endbr.sh 3: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 3: ++ export LC_ALL=C @@ -1976,6 +2025,9 @@ 3: ++ echo -n 'Testing x86_64_endbr ... ' 3: Testing x86_64_endbr ... ++ t=out/test/elf/x86_64/x86_64_endbr 3: ++ mkdir -p out/test/elf/x86_64/x86_64_endbr +3: + test_cflags -fcf-protection +3: + echo 'int main() {}' +3: + cc -fcf-protection -o /dev/null -xc - 4: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_endbr2.sh 4: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 4: ++ export LC_ALL=C @@ -1996,6 +2048,13 @@ 4: ++ trap 'on_error $LINENO' ERR 4: ++ trap on_exit EXIT 4: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_endbr2.sh .sh +4: ++ testname=x86_64_endbr2 +4: ++ echo -n 'Testing x86_64_endbr2 ... ' +4: Testing x86_64_endbr2 ... ++ t=out/test/elf/x86_64/x86_64_endbr2 +4: ++ mkdir -p out/test/elf/x86_64/x86_64_endbr2 +4: + test_cflags -fcf-protection +4: + echo 'int main() {}' +4: + cc -fcf-protection -o /dev/null -xc - 5: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_exception-mcmodel-large.sh 5: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 5: ++ export LC_ALL=C @@ -2020,6 +2079,8 @@ 5: ++ echo -n 'Testing x86_64_exception-mcmodel-large ... ' 5: Testing x86_64_exception-mcmodel-large ... ++ t=out/test/elf/x86_64/x86_64_exception-mcmodel-large 5: ++ mkdir -p out/test/elf/x86_64/x86_64_exception-mcmodel-large +5: + cat +5: + c++ -c -o out/test/elf/x86_64/x86_64_exception-mcmodel-large/a.o -xc++ -fPIC - 6: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_execstack-if-needed.sh 6: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 6: ++ export LC_ALL=C @@ -2044,6 +2105,9 @@ 6: ++ echo -n 'Testing x86_64_execstack-if-needed ... ' 6: Testing x86_64_execstack-if-needed ... ++ t=out/test/elf/x86_64/x86_64_execstack-if-needed 6: ++ mkdir -p out/test/elf/x86_64/x86_64_execstack-if-needed +6: + cat +6: + cc -c -xassembler -o out/test/elf/x86_64/x86_64_execstack-if-needed/a.o - +6: + 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 7: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_gnu-linkonce.sh 7: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 7: ++ export LC_ALL=C @@ -2065,6 +2129,15 @@ 7: ++ trap on_exit EXIT 7: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_gnu-linkonce.sh .sh 7: ++ testname=x86_64_gnu-linkonce +7: ++ echo -n 'Testing x86_64_gnu-linkonce ... ' +7: Testing x86_64_gnu-linkonce ... ++ t=out/test/elf/x86_64/x86_64_gnu-linkonce +7: ++ mkdir -p out/test/elf/x86_64/x86_64_gnu-linkonce +7: + cat +7: + cc -o out/test/elf/x86_64/x86_64_gnu-linkonce/a.o -c -x assembler - +7: + cc -o out/test/elf/x86_64/x86_64_gnu-linkonce/b.o -c -x assembler - +7: + cat +7: + cc -o out/test/elf/x86_64/x86_64_gnu-linkonce/c.o -c -xc - +7: + cat 8: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_gnu-retain.sh 8: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 8: ++ export LC_ALL=C @@ -2113,18 +2186,8 @@ 9: ++ echo -n 'Testing x86_64_gotpcrelx ... ' 9: Testing x86_64_gotpcrelx ... ++ t=out/test/elf/x86_64/x86_64_gotpcrelx 9: ++ mkdir -p out/test/elf/x86_64/x86_64_gotpcrelx -1: ++ testname=x86_64_empty-mergeable-section -1: ++ echo -n 'Testing x86_64_empty-mergeable-section ... ' -1: Testing x86_64_empty-mergeable-section ... ++ t=out/test/elf/x86_64/x86_64_empty-mergeable-section -1: ++ mkdir -p out/test/elf/x86_64/x86_64_empty-mergeable-section -2: ++ mkdir -p out/test/elf/x86_64/x86_64_emulation-deduction -4: ++ testname=x86_64_endbr2 -4: ++ echo -n 'Testing x86_64_endbr2 ... ' -4: Testing x86_64_endbr2 ... ++ t=out/test/elf/x86_64/x86_64_endbr2 -4: ++ mkdir -p out/test/elf/x86_64/x86_64_endbr2 -7: ++ echo -n 'Testing x86_64_gnu-linkonce ... ' -7: Testing x86_64_gnu-linkonce ... ++ t=out/test/elf/x86_64/x86_64_gnu-linkonce -7: ++ mkdir -p out/test/elf/x86_64/x86_64_gnu-linkonce +9: + cat +9: + cc -o out/test/elf/x86_64/x86_64_gotpcrelx/a.o -c -xc - -fPIC 10: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_ifunc-alias.sh 10: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 10: ++ export LC_ALL=C @@ -2144,36 +2207,17 @@ 10: ++ tlsdesc_opt=-mtls-dialect=gnu2 10: ++ trap 'on_error $LINENO' ERR 10: ++ trap on_exit EXIT -11: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_incompatible-libs-linker-script.sh 10: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_ifunc-alias.sh .sh -11: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc -11: ++ export LC_ALL=C -11: ++ LC_ALL=C -11: ++ '[' -z x86_64 ']' -11: ++ '[' -z '' ']' -11: ++ TESTDIR=out/test/elf/x86_64 -11: ++ CC=cc -11: ++ CXX=c++ -11: ++ GCC=gcc -11: ++ GXX=g++ -11: ++ OBJDUMP=objdump -11: ++ OBJCOPY=objcopy -11: ++ STRIP=strip -11: ++ QEMU= -11: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' -11: ++ tlsdesc_opt=-mtls-dialect=gnu2 -11: ++ trap 'on_error $LINENO' ERR -11: ++ trap on_exit EXIT 10: ++ testname=x86_64_ifunc-alias 10: ++ echo -n 'Testing x86_64_ifunc-alias ... ' 10: Testing x86_64_ifunc-alias ... ++ t=out/test/elf/x86_64/x86_64_ifunc-alias 10: ++ mkdir -p out/test/elf/x86_64/x86_64_ifunc-alias -11: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_incompatible-libs-linker-script.sh .sh +10: + supports_ifunc +10: + is_musl +10: + ldd --version +10: + grep -q musl +8: + cc -o /dev/null -c -xassembler - 12: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_incompatible-libs-linker-script2.sh -11: ++ testname=x86_64_incompatible-libs-linker-script -11: ++ echo -n 'Testing x86_64_incompatible-libs-linker-script ... ' -11: Testing x86_64_incompatible-libs-linker-script ... ++ t=out/test/elf/x86_64/x86_64_incompatible-libs-linker-script -11: ++ mkdir -p out/test/elf/x86_64/x86_64_incompatible-libs-linker-script 12: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 12: ++ export LC_ALL=C 12: ++ LC_ALL=C @@ -2197,80 +2241,57 @@ 12: ++ echo -n 'Testing x86_64_incompatible-libs-linker-script2 ... ' 12: Testing x86_64_incompatible-libs-linker-script2 ... ++ t=out/test/elf/x86_64/x86_64_incompatible-libs-linker-script2 12: ++ mkdir -p out/test/elf/x86_64/x86_64_incompatible-libs-linker-script2 -10: + supports_ifunc -10: + is_musl -1: + cat -1: + cc -o out/test/elf/x86_64/x86_64_empty-mergeable-section/a.o -c -xassembler - -5: + c++ -c -o out/test/elf/x86_64/x86_64_exception-mcmodel-large/a.o -xc++ -fPIC - -5: + cat -8: + cc -o /dev/null -c -xassembler - +11: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_incompatible-libs-linker-script.sh 8: + echo '.section foo,"R"' -11: + echo 'int main() {}' -11: + cc -m32 -o out/test/elf/x86_64/x86_64_incompatible-libs-linker-script/exe -xc - -4: + test_cflags -fcf-protection -4: + echo 'int main() {}' -4: + cc -fcf-protection -o /dev/null -xc - -6: + cc -c -xassembler -o out/test/elf/x86_64/x86_64_execstack-if-needed/a.o - -6: + cat -10: + grep -q musl -10: + ldd --version -9: + cc -o out/test/elf/x86_64/x86_64_gotpcrelx/a.o -c -xc - -fPIC -9: + cat -7: + cat -7: + cc -o out/test/elf/x86_64/x86_64_gnu-linkonce/a.o -c -x assembler - -3: + test_cflags -fcf-protection -12: + echo 'int main() {}' 12: + cc -m32 -o out/test/elf/x86_64/x86_64_incompatible-libs-linker-script2/exe -xc - -2: + cc -o out/test/elf/x86_64/x86_64_emulation-deduction/a.o -c -xc - -3: + cc -fcf-protection -o /dev/null -xc - -2: + cat -6: + 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 -3: + echo 'int main() {}' -1: + cc -o out/test/elf/x86_64/x86_64_empty-mergeable-section/b.o -c -xassembler - -1: + cat -7: + cat -8: + cat -7: + cc -o out/test/elf/x86_64/x86_64_gnu-linkonce/b.o -c -x assembler - +11: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc +11: ++ export LC_ALL=C +11: ++ LC_ALL=C +11: ++ '[' -z x86_64 ']' +11: ++ '[' -z '' ']' +11: ++ TESTDIR=out/test/elf/x86_64 +11: ++ CC=cc +11: ++ CXX=c++ +11: ++ GCC=gcc +11: ++ GXX=g++ +11: ++ OBJDUMP=objdump +11: ++ OBJCOPY=objcopy +11: ++ STRIP=strip +11: ++ QEMU= +11: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' +11: ++ tlsdesc_opt=-mtls-dialect=gnu2 +11: ++ trap 'on_error $LINENO' ERR +11: ++ trap on_exit EXIT +12: + echo 'int main() {}' +11: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_incompatible-libs-linker-script.sh .sh 10: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' 10: + cc -c -o /dev/null -xc - +11: ++ testname=x86_64_incompatible-libs-linker-script +11: ++ echo -n 'Testing x86_64_incompatible-libs-linker-script ... ' +11: Testing x86_64_incompatible-libs-linker-script ... ++ t=out/test/elf/x86_64/x86_64_incompatible-libs-linker-script +11: ++ mkdir -p out/test/elf/x86_64/x86_64_incompatible-libs-linker-script +8: + cat 8: + cc -o out/test/elf/x86_64/x86_64_gnu-retain/a.o -c -xc - -1: + cat -1: + cc -o out/test/elf/x86_64/x86_64_empty-mergeable-section/c.o -c -xc - -7: + cat -7: + cc -o out/test/elf/x86_64/x86_64_gnu-linkonce/c.o -c -xc - +11: + echo 'int main() {}' +11: + cc -m32 -o out/test/elf/x86_64/x86_64_incompatible-libs-linker-script/exe -xc - 2: + ./mold -o out/test/elf/x86_64/x86_64_emulation-deduction/exe out/test/elf/x86_64/x86_64_emulation-deduction/a.o -9: + cat -9: + cc -o out/test/elf/x86_64/x86_64_gotpcrelx/b.o -c -xc - -fPIC +1: + cc -B. -o out/test/elf/x86_64/x86_64_empty-mergeable-section/exe out/test/elf/x86_64/x86_64_empty-mergeable-section/a.o out/test/elf/x86_64/x86_64_empty-mergeable-section/b.o out/test/elf/x86_64/x86_64_empty-mergeable-section/c.o 5: + 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 -2: + readelf --file-header out/test/elf/x86_64/x86_64_emulation-deduction/exe -2: + grep -qi x86-64 -8: + cat -8: + cc -o out/test/elf/x86_64/x86_64_gnu-retain/b.o -c -xassembler - -10: + test_cflags -static +6: + readelf --segments -W out/test/elf/x86_64/x86_64_execstack-if-needed/exe +6: + grep -q 'GNU_STACK.* RW ' 7: + 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 -10: + echo 'int main() {}' -10: + cc -static -o /dev/null -xc - -8: + cc -o out/test/elf/x86_64/x86_64_gnu-retain/c.o -c -xassembler - -8: + cat -4: + cc -o out/test/elf/x86_64/x86_64_endbr2/a.o -c -xc - -fno-function-sections -O -fcf-protection -8: + 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 -4: + cat -3: + cc -o out/test/elf/x86_64/x86_64_endbr/a.o -c -xc - -ffunction-sections -O -fcf-protection +9: + cc -o out/test/elf/x86_64/x86_64_gotpcrelx/b.o -c -xc - -fPIC +6: + 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 +9: + cat +2: + readelf --file-header out/test/elf/x86_64/x86_64_emulation-deduction/exe 3: + cat -1: + cc -B. -o out/test/elf/x86_64/x86_64_empty-mergeable-section/exe out/test/elf/x86_64/x86_64_empty-mergeable-section/a.o out/test/elf/x86_64/x86_64_empty-mergeable-section/b.o out/test/elf/x86_64/x86_64_empty-mergeable-section/c.o -9: + cc -B. -o out/test/elf/x86_64/x86_64_gotpcrelx/exe out/test/elf/x86_64/x86_64_gotpcrelx/a.o out/test/elf/x86_64/x86_64_gotpcrelx/b.o -12: + skip -12: + echo skipped -12: skipped -12: + trap - EXIT -12: + exit 0 -11: + skip -11: + echo skipped -11: skipped -11: + trap - EXIT -11: + exit 0 - 1/369 Test #11: x86_64-x86_64_incompatible-libs-linker-script ....***Skipped 0.14 sec - 2/369 Test #12: x86_64-x86_64_incompatible-libs-linker-script2 ...***Skipped 0.14 sec +3: + cc -o out/test/elf/x86_64/x86_64_endbr/a.o -c -xc - -ffunction-sections -O -fcf-protection +2: + grep -qi x86-64 +2: + on_exit +2: + echo OK +2: OK +2: + exit 0 + 1/369 Test #2: x86_64-x86_64_emulation-deduction ................ Passed 0.09 sec test 13 Start 13: x86_64-x86_64_incompatible-libs @@ -2280,50 +2301,25 @@ 13: MACHINE=x86_64 13: CPU= 13: Test timeout computed to be: 1500 -test 14 - Start 14: x86_64-x86_64_incompatible-libs2 - -14: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_incompatible-libs2.sh" -14: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -14: Environment variables: -14: MACHINE=x86_64 -14: CPU= -14: Test timeout computed to be: 1500 -4: + cat -4: + cc -o out/test/elf/x86_64/x86_64_endbr2/b.o -c -xc - -fno-function-sections -O -fcf-protection -3: + cc -o out/test/elf/x86_64/x86_64_endbr/b.o -c -xc - -ffunction-sections -O -fcf-protection -3: + cat -14: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_incompatible-libs2.sh 1: + out/test/elf/x86_64/x86_64_empty-mergeable-section/exe +1: + readelf -SW out/test/elf/x86_64/x86_64_empty-mergeable-section/exe 6: + readelf --segments -W out/test/elf/x86_64/x86_64_execstack-if-needed/exe +6: + grep -q 'GNU_STACK.* RWE ' +4: + cc -o out/test/elf/x86_64/x86_64_endbr2/a.o -c -xc - -fno-function-sections -O -fcf-protection +4: + cat +10: + test_cflags -static +10: + cc -static -o /dev/null -xc - +8: + cc -o out/test/elf/x86_64/x86_64_gnu-retain/b.o -c -xassembler - 7: + objdump -d out/test/elf/x86_64/x86_64_gnu-linkonce/exe -9: + out/test/elf/x86_64/x86_64_gotpcrelx/exe -6: + grep -q 'GNU_STACK.* RW ' +6: + on_exit +6: + echo OK +6: OK +6: + exit 0 +10: + echo 'int main() {}' 13: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_incompatible-libs.sh -14: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc -14: ++ export LC_ALL=C -14: ++ LC_ALL=C -14: ++ '[' -z x86_64 ']' -14: ++ '[' -z '' ']' -14: ++ TESTDIR=out/test/elf/x86_64 -14: ++ CC=cc -14: ++ CXX=c++ -14: ++ GCC=gcc -14: ++ GXX=g++ -14: ++ OBJDUMP=objdump -14: ++ OBJCOPY=objcopy -14: ++ STRIP=strip -14: ++ QEMU= -14: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' -14: ++ tlsdesc_opt=-mtls-dialect=gnu2 -14: ++ trap 'on_error $LINENO' ERR -14: ++ trap on_exit EXIT -8: + nm out/test/elf/x86_64/x86_64_gnu-retain/exe1 -8: + grep -q foo 13: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 13: ++ export LC_ALL=C 13: ++ LC_ALL=C -1: + readelf -SW out/test/elf/x86_64/x86_64_empty-mergeable-section/exe 13: ++ '[' -z x86_64 ']' 13: ++ '[' -z '' ']' 13: ++ TESTDIR=out/test/elf/x86_64 @@ -2339,18 +2335,33 @@ 13: ++ tlsdesc_opt=-mtls-dialect=gnu2 13: ++ trap 'on_error $LINENO' ERR 13: ++ trap on_exit EXIT -9: 0 0 -14: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_incompatible-libs2.sh .sh 13: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_incompatible-libs.sh .sh -9: + on_exit -9: + echo OK -9: OK -9: + exit 0 -14: ++ testname=x86_64_incompatible-libs2 -14: ++ echo -n 'Testing x86_64_incompatible-libs2 ... ' -14: Testing x86_64_incompatible-libs2 ... ++ t=out/test/elf/x86_64/x86_64_incompatible-libs2 -14: ++ mkdir -p out/test/elf/x86_64/x86_64_incompatible-libs2 - 3/369 Test #9: x86_64-x86_64_gotpcrelx .......................... Passed 0.17 sec +13: ++ testname=x86_64_incompatible-libs +13: ++ echo -n 'Testing x86_64_incompatible-libs ... ' +13: Testing x86_64_incompatible-libs ... ++ t=out/test/elf/x86_64/x86_64_incompatible-libs +13: ++ mkdir -p out/test/elf/x86_64/x86_64_incompatible-libs +8: + cat +8: + cat +1: + grep -q '.rodata.str1.1 .* AMS ' out/test/elf/x86_64/x86_64_empty-mergeable-section/log +1: + grep -q '.rodata.str1.1 .* AM ' out/test/elf/x86_64/x86_64_empty-mergeable-section/log +1: + on_exit +1: + echo OK +1: OK +1: + exit 0 +5: + out/test/elf/x86_64/x86_64_exception-mcmodel-large/exe +7: + objdump -d out/test/elf/x86_64/x86_64_gnu-linkonce/exe +7: + grep -A1 '<__x86.get_pc_thunk.bx>:' + 2/369 Test #1: x86_64-x86_64_empty-mergeable-section ............ Passed 0.13 sec + 3/369 Test #6: x86_64-x86_64_execstack-if-needed ................ Passed 0.17 sec +test 14 + Start 14: x86_64-x86_64_incompatible-libs2 + +14: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_incompatible-libs2.sh" +14: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +14: Environment variables: +14: MACHINE=x86_64 +14: CPU= +14: Test timeout computed to be: 1500 test 15 Start 15: x86_64-x86_64_incompatible-obj @@ -2360,23 +2371,56 @@ 15: MACHINE=x86_64 15: CPU= 15: Test timeout computed to be: 1500 -13: ++ testname=x86_64_incompatible-libs -13: ++ echo -n 'Testing x86_64_incompatible-libs ... ' -13: Testing x86_64_incompatible-libs ... ++ t=out/test/elf/x86_64/x86_64_incompatible-libs -13: ++ mkdir -p out/test/elf/x86_64/x86_64_incompatible-libs +5: + echo 'int main() {}' +5: + cc -o /dev/null -xc - -static +7: + grep -Fq 'puts$plt' +7: + on_exit +7: + echo OK +7: OK +7: + exit 0 + 4/369 Test #7: x86_64-x86_64_gnu-linkonce ....................... Passed 0.18 sec +8: + cc -o out/test/elf/x86_64/x86_64_gnu-retain/c.o -c -xassembler - +8: + 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 +9: + cc -B. -o out/test/elf/x86_64/x86_64_gotpcrelx/exe out/test/elf/x86_64/x86_64_gotpcrelx/a.o out/test/elf/x86_64/x86_64_gotpcrelx/b.o 13: + echo 'int main() {}' 13: + cc -m32 -o out/test/elf/x86_64/x86_64_incompatible-libs/exe -xc - +11: + skip +11: + echo skipped +11: skipped +11: + trap - EXIT +11: + exit 0 +12: + skip +12: + echo skipped +12: skipped +12: + trap - EXIT +12: + exit 0 +14: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_incompatible-libs2.sh +14: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc +14: ++ export LC_ALL=C +14: ++ LC_ALL=C +14: ++ '[' -z x86_64 ']' +14: ++ '[' -z '' ']' +14: ++ TESTDIR=out/test/elf/x86_64 +14: ++ CC=cc +14: ++ CXX=c++ +14: ++ GCC=gcc +14: ++ GXX=g++ +14: ++ OBJDUMP=objdump +14: ++ OBJCOPY=objcopy +14: ++ STRIP=strip +14: ++ QEMU= +14: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' +14: ++ tlsdesc_opt=-mtls-dialect=gnu2 +14: ++ trap 'on_error $LINENO' ERR +14: ++ trap on_exit EXIT +14: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_incompatible-libs2.sh .sh +14: ++ testname=x86_64_incompatible-libs2 +14: ++ echo -n 'Testing x86_64_incompatible-libs2 ... ' +14: Testing x86_64_incompatible-libs2 ... ++ t=out/test/elf/x86_64/x86_64_incompatible-libs2 +14: ++ mkdir -p out/test/elf/x86_64/x86_64_incompatible-libs2 14: + echo 'int main() {}' -14: + cc -m32 -o out/test/elf/x86_64/x86_64_incompatible-libs2/exe -xc - -5: + out/test/elf/x86_64/x86_64_exception-mcmodel-large/exe -3: + cc -B. -o out/test/elf/x86_64/x86_64_endbr/exe1 out/test/elf/x86_64/x86_64_endbr/a.o out/test/elf/x86_64/x86_64_endbr/b.o -4: + cc -B. -o out/test/elf/x86_64/x86_64_endbr2/exe1 out/test/elf/x86_64/x86_64_endbr2/a.o out/test/elf/x86_64/x86_64_endbr2/b.o -15: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_incompatible-obj.sh -2: + on_exit -2: + echo OK -2: OK -2: + exit 0 - 4/369 Test #2: x86_64-x86_64_emulation-deduction ................ Passed 0.20 sec + 5/369 Test #11: x86_64-x86_64_incompatible-libs-linker-script ....***Skipped 0.18 sec + 6/369 Test #12: x86_64-x86_64_incompatible-libs-linker-script2 ...***Skipped 0.17 sec test 16 Start 16: x86_64-x86_64_init-array-readonly @@ -2386,8 +2430,26 @@ 16: MACHINE=x86_64 16: CPU= 16: Test timeout computed to be: 1500 -1: + grep -q '.rodata.str1.1 .* AMS ' out/test/elf/x86_64/x86_64_empty-mergeable-section/log -1: + grep -q '.rodata.str1.1 .* AM ' out/test/elf/x86_64/x86_64_empty-mergeable-section/log +test 17 + Start 17: x86_64-x86_64_init-array + +17: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_init-array.sh" +17: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +17: Environment variables: +17: MACHINE=x86_64 +17: CPU= +17: Test timeout computed to be: 1500 +test 18 + Start 18: x86_64-x86_64_large-bss + +18: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_large-bss.sh" +18: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +18: Environment variables: +18: MACHINE=x86_64 +18: CPU= +18: Test timeout computed to be: 1500 +14: + cc -m32 -o out/test/elf/x86_64/x86_64_incompatible-libs2/exe -xc - +15: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_incompatible-obj.sh 15: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 15: ++ export LC_ALL=C 15: ++ LC_ALL=C @@ -2411,25 +2473,12 @@ 15: ++ echo -n 'Testing x86_64_incompatible-obj ... ' 15: Testing x86_64_incompatible-obj ... ++ t=out/test/elf/x86_64/x86_64_incompatible-obj 15: ++ mkdir -p out/test/elf/x86_64/x86_64_incompatible-obj -6: + 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 -5: + echo 'int main() {}' -5: + cc -o /dev/null -xc - -static -1: + on_exit -1: + echo OK -1: OK -1: + exit 0 15: + echo 'int main() {}' 15: + cc -m32 -o out/test/elf/x86_64/x86_64_incompatible-obj/exe -xc - - 5/369 Test #1: x86_64-x86_64_empty-mergeable-section ............ Passed 0.21 sec -test 17 - Start 17: x86_64-x86_64_init-array - -17: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_init-array.sh" -17: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -17: Environment variables: -17: MACHINE=x86_64 -17: CPU= -17: Test timeout computed to be: 1500 +3: + cc -o out/test/elf/x86_64/x86_64_endbr/b.o -c -xc - -ffunction-sections -O -fcf-protection +3: + cat +4: + cat +4: + cc -o out/test/elf/x86_64/x86_64_endbr2/b.o -c -xc - -fno-function-sections -O -fcf-protection 16: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_init-array-readonly.sh 16: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 16: ++ export LC_ALL=C @@ -2450,40 +2499,6 @@ 16: ++ trap 'on_error $LINENO' ERR 16: ++ trap on_exit EXIT 16: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_init-array-readonly.sh .sh -14: + skip -14: + echo skipped -14: skipped -14: + trap - EXIT -14: + exit 0 -16: ++ testname=x86_64_init-array-readonly -16: ++ echo -n 'Testing x86_64_init-array-readonly ... ' -16: Testing x86_64_init-array-readonly ... ++ t=out/test/elf/x86_64/x86_64_init-array-readonly -16: ++ mkdir -p out/test/elf/x86_64/x86_64_init-array-readonly -13: + skip -13: + echo skipped -13: skipped -13: + trap - EXIT -13: + exit 0 - 6/369 Test #13: x86_64-x86_64_incompatible-libs ..................***Skipped 0.06 sec - 7/369 Test #14: x86_64-x86_64_incompatible-libs2 .................***Skipped 0.06 sec -test 18 - Start 18: x86_64-x86_64_large-bss - -18: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_large-bss.sh" -18: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -18: Environment variables: -18: MACHINE=x86_64 -18: CPU= -18: Test timeout computed to be: 1500 -test 19 - Start 19: x86_64-x86_64_mergeable-records - -19: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_mergeable-records.sh" -19: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -19: Environment variables: -19: MACHINE=x86_64 -19: CPU= -19: Test timeout computed to be: 1500 17: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_init-array.sh 17: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 17: ++ export LC_ALL=C @@ -2503,37 +2518,20 @@ 17: ++ tlsdesc_opt=-mtls-dialect=gnu2 17: ++ trap 'on_error $LINENO' ERR 17: ++ trap on_exit EXIT -16: + cat -3: + objdump -dr out/test/elf/x86_64/x86_64_endbr/exe1 17: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_init-array.sh .sh -16: + cc -c -o out/test/elf/x86_64/x86_64_init-array-readonly/a.o -x assembler - -6: + readelf --segments -W out/test/elf/x86_64/x86_64_execstack-if-needed/exe -6: + grep -q 'GNU_STACK.* RWE ' +16: ++ testname=x86_64_init-array-readonly +16: ++ echo -n 'Testing x86_64_init-array-readonly ... ' +16: Testing x86_64_init-array-readonly ... ++ t=out/test/elf/x86_64/x86_64_init-array-readonly +16: ++ mkdir -p out/test/elf/x86_64/x86_64_init-array-readonly 17: ++ testname=x86_64_init-array 17: ++ echo -n 'Testing x86_64_init-array ... ' 17: Testing x86_64_init-array ... ++ t=out/test/elf/x86_64/x86_64_init-array 17: ++ mkdir -p out/test/elf/x86_64/x86_64_init-array -6: + on_exit -6: + echo OK -6: OK -6: + exit 0 -4: + objdump -dr out/test/elf/x86_64/x86_64_endbr2/exe1 - 8/369 Test #6: x86_64-x86_64_execstack-if-needed ................ Passed 0.23 sec -test 20 - Start 20: x86_64-x86_64_mergeable-strings - -20: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_mergeable-strings.sh" -20: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -20: Environment variables: -20: MACHINE=x86_64 -20: CPU= -20: Test timeout computed to be: 1500 -17: + cat -17: + cc -c -o out/test/elf/x86_64/x86_64_init-array/a.o -x assembler - -8: + 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 16: + cat -16: + cc -c -o out/test/elf/x86_64/x86_64_init-array-readonly/b.o -x assembler - +16: + cc -c -o out/test/elf/x86_64/x86_64_init-array-readonly/a.o -x assembler - 18: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_large-bss.sh +17: + cc -c -o out/test/elf/x86_64/x86_64_init-array/a.o -x assembler - +9: + out/test/elf/x86_64/x86_64_gotpcrelx/exe 18: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 18: ++ export LC_ALL=C 18: ++ LC_ALL=C @@ -2552,29 +2550,32 @@ 18: ++ tlsdesc_opt=-mtls-dialect=gnu2 18: ++ trap 'on_error $LINENO' ERR 18: ++ trap on_exit EXIT +17: + cat +9: 0 0 18: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_large-bss.sh .sh -15: + skip -15: + echo skipped -15: skipped -15: + trap - EXIT -15: + exit 0 - 9/369 Test #15: x86_64-x86_64_incompatible-obj ...................***Skipped 0.06 sec -test 21 - Start 21: x86_64-x86_64_note-property +9: + on_exit +9: + echo OK +9: OK +9: + exit 0 + 7/369 Test #9: x86_64-x86_64_gotpcrelx .......................... Passed 0.25 sec +test 19 + Start 19: x86_64-x86_64_mergeable-records -21: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_note-property.sh" -21: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -21: Environment variables: -21: MACHINE=x86_64 -21: CPU= -21: Test timeout computed to be: 1500 +19: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_mergeable-records.sh" +19: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +19: Environment variables: +19: MACHINE=x86_64 +19: CPU= +19: Test timeout computed to be: 1500 18: ++ testname=x86_64_large-bss 18: ++ echo -n 'Testing x86_64_large-bss ... ' 18: Testing x86_64_large-bss ... ++ t=out/test/elf/x86_64/x86_64_large-bss 18: ++ mkdir -p out/test/elf/x86_64/x86_64_large-bss -18: + cat 18: + cc -o out/test/elf/x86_64/x86_64_large-bss/a.o -c -xc - -mcmodel=large +17: + cat +17: + cc -c -o out/test/elf/x86_64/x86_64_init-array/b.o -xc - 19: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_mergeable-records.sh +18: + cat 19: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 19: ++ export LC_ALL=C 19: ++ LC_ALL=C @@ -2594,16 +2595,46 @@ 19: ++ trap 'on_error $LINENO' ERR 19: ++ trap on_exit EXIT 19: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_mergeable-records.sh .sh +16: + cat +16: + cc -c -o out/test/elf/x86_64/x86_64_init-array-readonly/b.o -x assembler - 19: ++ testname=x86_64_mergeable-records 19: ++ echo -n 'Testing x86_64_mergeable-records ... ' 19: Testing x86_64_mergeable-records ... ++ t=out/test/elf/x86_64/x86_64_mergeable-records 19: ++ mkdir -p out/test/elf/x86_64/x86_64_mergeable-records -16: + sed -i -e s/init_xxxxx/init_array/g out/test/elf/x86_64/x86_64_init-array-readonly/b.o -17: + cat -17: + cc -c -o out/test/elf/x86_64/x86_64_init-array/b.o -xc - 19: + test_cflags -static 19: + echo 'int main() {}' 19: + cc -static -o /dev/null -xc - +16: + sed -i -e s/init_xxxxx/init_array/g out/test/elf/x86_64/x86_64_init-array-readonly/b.o +13: + skip +13: + echo skipped +13: skipped +13: + trap - EXIT +13: + exit 0 +14: + skip +14: + echo skipped +14: skipped +14: + trap - EXIT +14: + exit 0 + 8/369 Test #13: x86_64-x86_64_incompatible-libs ..................***Skipped 0.19 sec +test 20 + Start 20: x86_64-x86_64_mergeable-strings + +20: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_mergeable-strings.sh" +20: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +20: Environment variables: +20: MACHINE=x86_64 +20: CPU= +20: Test timeout computed to be: 1500 + 9/369 Test #14: x86_64-x86_64_incompatible-libs2 .................***Skipped 0.14 sec +test 21 + Start 21: x86_64-x86_64_note-property + +21: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_note-property.sh" +21: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +21: Environment variables: +21: MACHINE=x86_64 +21: CPU= +21: Test timeout computed to be: 1500 20: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_mergeable-strings.sh 20: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 20: ++ export LC_ALL=C @@ -2624,11 +2655,11 @@ 20: ++ trap 'on_error $LINENO' ERR 20: ++ trap on_exit EXIT 20: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_mergeable-strings.sh .sh -21: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_note-property.sh 20: ++ testname=x86_64_mergeable-strings 20: ++ echo -n 'Testing x86_64_mergeable-strings ... ' 20: Testing x86_64_mergeable-strings ... ++ t=out/test/elf/x86_64/x86_64_mergeable-strings 20: ++ mkdir -p out/test/elf/x86_64/x86_64_mergeable-strings +21: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_note-property.sh 21: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 21: ++ export LC_ALL=C 21: ++ LC_ALL=C @@ -2648,30 +2679,32 @@ 21: ++ trap 'on_error $LINENO' ERR 21: ++ trap on_exit EXIT 21: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_note-property.sh .sh -20: + test_cflags -static -20: + echo 'int main() {}' 21: ++ testname=x86_64_note-property 21: ++ echo -n 'Testing x86_64_note-property ... ' 21: Testing x86_64_note-property ... ++ t=out/test/elf/x86_64/x86_64_note-property 21: ++ mkdir -p out/test/elf/x86_64/x86_64_note-property -20: + cc -static -o /dev/null -xc - -21: + echo endbr64 -18: + cat +20: + test_cflags -static +3: + cc -B. -o out/test/elf/x86_64/x86_64_endbr/exe1 out/test/elf/x86_64/x86_64_endbr/a.o out/test/elf/x86_64/x86_64_endbr/b.o +20: + echo 'int main() {}' 21: + cc -o /dev/null -c -xassembler - -18: + cc -o out/test/elf/x86_64/x86_64_large-bss/b.o -c -xc - -mcmodel=large -17: + 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: + cc -c -o out/test/elf/x86_64/x86_64_init-array-readonly/c.o -xc - +20: + cc -static -o /dev/null -xc - 16: + cat +5: + 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 +10: + cat +4: + cc -B. -o out/test/elf/x86_64/x86_64_endbr2/exe1 out/test/elf/x86_64/x86_64_endbr2/a.o out/test/elf/x86_64/x86_64_endbr2/b.o +16: + cc -c -o out/test/elf/x86_64/x86_64_init-array-readonly/c.o -xc - +18: + cc -o out/test/elf/x86_64/x86_64_large-bss/b.o -c -xc - -mcmodel=large +18: + cat +10: + c++ -o out/test/elf/x86_64/x86_64_ifunc-alias/a.o -c -xc++ - -fno-PIE +21: + echo endbr64 8: + nm out/test/elf/x86_64/x86_64_gnu-retain/exe1 +15: + skip +15: + echo skipped +15: skipped +15: + trap - EXIT +15: + exit 0 21: + cc -fcf-protection=branch -c /dev/null -o /dev/null -xc -21: + cat -8: + grep -q foo out/test/elf/x86_64/x86_64_gnu-retain/log -21: + cc -fcf-protection=branch -c -o out/test/elf/x86_64/x86_64_note-property/a.o -xc - -8: + on_exit -8: + echo OK -8: OK -8: + exit 0 - 10/369 Test #8: x86_64-x86_64_gnu-retain ......................... Passed 0.27 sec + 10/369 Test #15: x86_64-x86_64_incompatible-obj ...................***Skipped 0.15 sec test 22 Start 22: x86_64-x86_64_note-property2 @@ -2681,8 +2714,12 @@ 22: MACHINE=x86_64 22: CPU= 22: Test timeout computed to be: 1500 -18: + cc -B. -o out/test/elf/x86_64/x86_64_large-bss/exe out/test/elf/x86_64/x86_64_large-bss/a.o out/test/elf/x86_64/x86_64_large-bss/b.o +8: + grep -q foo +8: + 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 +21: + cc -fcf-protection=branch -c -o out/test/elf/x86_64/x86_64_note-property/a.o -xc - +21: + cat 22: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_note-property2.sh +17: + 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 22: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 22: ++ export LC_ALL=C 22: ++ LC_ALL=C @@ -2706,16 +2743,35 @@ 22: ++ echo -n 'Testing x86_64_note-property2 ... ' 22: Testing x86_64_note-property2 ... ++ t=out/test/elf/x86_64/x86_64_note-property2 22: ++ mkdir -p out/test/elf/x86_64/x86_64_note-property2 -17: + out/test/elf/x86_64/x86_64_init-array/exe -17: + grep -q 'init1 init2 fini2 fini1' -22: + nm mold 22: + grep -q __tsan_init +4: + objdump -dr out/test/elf/x86_64/x86_64_endbr2/exe1 +22: + nm mold +3: + objdump -dr out/test/elf/x86_64/x86_64_endbr/exe1 +4: + grep -q endbr64 +4: + grep -A1 ':' out/test/elf/x86_64/x86_64_endbr2/log1 +3: + grep -A1 ':' out/test/elf/x86_64/x86_64_endbr/log1 +3: + grep -q endbr64 +4: + grep -A1 ':' out/test/elf/x86_64/x86_64_endbr2/log1 +4: + grep -q endbr64 +3: + grep -A1 ':' out/test/elf/x86_64/x86_64_endbr/log1 +3: + grep -q endbr64 +4: + grep -A1 '
:' out/test/elf/x86_64/x86_64_endbr2/log1 +4: + grep -q endbr64 +3: + grep -A1 '
:' out/test/elf/x86_64/x86_64_endbr/log1 +3: + grep -q endbr64 +4: + cc -B. -o out/test/elf/x86_64/x86_64_endbr2/exe2 out/test/elf/x86_64/x86_64_endbr2/a.o out/test/elf/x86_64/x86_64_endbr2/b.o -Wl,-z,rewrite-endbr +3: + cc -B. -o out/test/elf/x86_64/x86_64_endbr/exe2 out/test/elf/x86_64/x86_64_endbr/a.o out/test/elf/x86_64/x86_64_endbr/b.o -Wl,-z,rewrite-endbr +18: + cc -B. -o out/test/elf/x86_64/x86_64_large-bss/exe out/test/elf/x86_64/x86_64_large-bss/a.o out/test/elf/x86_64/x86_64_large-bss/b.o 16: + 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 -17: + on_exit -17: + echo OK -17: OK -17: + exit 0 - 11/369 Test #17: x86_64-x86_64_init-array ......................... Passed 0.10 sec +5: + out/test/elf/x86_64/x86_64_exception-mcmodel-large/exe +5: + on_exit +5: + echo OK +5: OK +5: + exit 0 +8: + nm out/test/elf/x86_64/x86_64_gnu-retain/exe1 +17: + out/test/elf/x86_64/x86_64_init-array/exe +17: + grep -q 'init1 init2 fini2 fini1' + 11/369 Test #5: x86_64-x86_64_exception-mcmodel-large ............ Passed 0.45 sec test 23 Start 23: x86_64-x86_64_note @@ -2725,11 +2781,30 @@ 23: MACHINE=x86_64 23: CPU= 23: Test timeout computed to be: 1500 -21: + cc -fcf-protection=none -c -o out/test/elf/x86_64/x86_64_note-property/b.o -xc - 21: + cat +21: + cc -fcf-protection=none -c -o out/test/elf/x86_64/x86_64_note-property/b.o -xc - +17: + on_exit +17: + echo OK +17: OK +17: + exit 0 +8: + grep -q foo out/test/elf/x86_64/x86_64_gnu-retain/log +8: + on_exit +8: + echo OK +8: OK +8: + exit 0 + 12/369 Test #17: x86_64-x86_64_init-array ......................... Passed 0.25 sec +test 24 + Start 24: x86_64-x86_64_note2 + +24: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_note2.sh" +24: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +24: Environment variables: +24: MACHINE=x86_64 +24: CPU= +24: Test timeout computed to be: 1500 + 13/369 Test #8: x86_64-x86_64_gnu-retain ......................... Passed 0.45 sec +10: + 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 23: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_note.sh -18: + out/test/elf/x86_64/x86_64_large-bss/exe -18: + grep -Eq '^1 c0000000$' 23: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 23: ++ export LC_ALL=C 23: ++ LC_ALL=C @@ -2748,46 +2823,7 @@ 23: ++ tlsdesc_opt=-mtls-dialect=gnu2 23: ++ trap 'on_error $LINENO' ERR 23: ++ trap on_exit EXIT -18: + on_exit -18: + echo OK -18: OK -18: + exit 0 -4: + grep -A1 ':' out/test/elf/x86_64/x86_64_endbr2/log1 -4: + grep -q endbr64 23: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_note.sh .sh -3: + grep -A1 ':' out/test/elf/x86_64/x86_64_endbr/log1 -7: + objdump -d out/test/elf/x86_64/x86_64_gnu-linkonce/exe -7: + grep -A1 '<__x86.get_pc_thunk.bx>:' - 12/369 Test #18: x86_64-x86_64_large-bss .......................... Passed 0.10 sec -test 24 - Start 24: x86_64-x86_64_note2 - -24: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_note2.sh" -24: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -24: Environment variables: -24: MACHINE=x86_64 -24: CPU= -24: Test timeout computed to be: 1500 -23: ++ testname=x86_64_note -23: ++ echo -n 'Testing x86_64_note ... ' -23: Testing x86_64_note ... ++ t=out/test/elf/x86_64/x86_64_note -23: ++ mkdir -p out/test/elf/x86_64/x86_64_note -3: + grep -q endbr64 -3: + grep -A1 ':' out/test/elf/x86_64/x86_64_endbr/log1 -3: + grep -q endbr64 -7: + grep -Fq 'puts$plt' -4: + grep -A1 ':' out/test/elf/x86_64/x86_64_endbr2/log1 -4: + grep -q endbr64 -3: + grep -q endbr64 -3: + grep -A1 '
:' out/test/elf/x86_64/x86_64_endbr/log1 -7: + on_exit -7: + echo OK -7: OK -7: + exit 0 -23: + test_cflags -static -23: + echo 'int main() {}' -24: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_note2.sh - 13/369 Test #7: x86_64-x86_64_gnu-linkonce ....................... Passed 0.32 sec test 25 Start 25: x86_64-x86_64_plt @@ -2797,6 +2833,11 @@ 25: MACHINE=x86_64 25: CPU= 25: Test timeout computed to be: 1500 +23: ++ testname=x86_64_note +23: ++ echo -n 'Testing x86_64_note ... ' +23: Testing x86_64_note ... ++ t=out/test/elf/x86_64/x86_64_note +23: ++ mkdir -p out/test/elf/x86_64/x86_64_note +24: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_note2.sh 24: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 24: ++ export LC_ALL=C 24: ++ LC_ALL=C @@ -2815,37 +2856,8 @@ 24: ++ tlsdesc_opt=-mtls-dialect=gnu2 24: ++ trap 'on_error $LINENO' ERR 24: ++ trap on_exit EXIT -24: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_note2.sh .sh -24: ++ testname=x86_64_note2 -24: ++ echo -n 'Testing x86_64_note2 ... ' -24: Testing x86_64_note2 ... ++ t=out/test/elf/x86_64/x86_64_note2 -24: ++ mkdir -p out/test/elf/x86_64/x86_64_note2 -23: + cc -static -o /dev/null -xc - -4: + grep -A1 '
:' out/test/elf/x86_64/x86_64_endbr2/log1 -4: + grep -q endbr64 -4: + cc -B. -o out/test/elf/x86_64/x86_64_endbr2/exe2 out/test/elf/x86_64/x86_64_endbr2/a.o out/test/elf/x86_64/x86_64_endbr2/b.o -Wl,-z,rewrite-endbr -3: + cc -B. -o out/test/elf/x86_64/x86_64_endbr/exe2 out/test/elf/x86_64/x86_64_endbr/a.o out/test/elf/x86_64/x86_64_endbr/b.o -Wl,-z,rewrite-endbr -24: + test_cflags -Xassembler -mx86-used-note=no -21: + ./mold -o out/test/elf/x86_64/x86_64_note-property/exe out/test/elf/x86_64/x86_64_note-property/a.o -24: + cc -Xassembler -mx86-used-note=no -o /dev/null -xc - -24: + echo 'int main() {}' -16: + out/test/elf/x86_64/x86_64_init-array-readonly/exe -16: + grep -q 'init1 init2' 25: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_plt.sh -16: + on_exit -16: + echo OK -16: OK -16: + exit 0 - 14/369 Test #16: x86_64-x86_64_init-array-readonly ................ Passed 0.14 sec -test 26 - Start 26: x86_64-x86_64_preinit-array - -26: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_preinit-array.sh" -26: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -26: Environment variables: -26: MACHINE=x86_64 -26: CPU= -26: Test timeout computed to be: 1500 +4: + objdump -dr out/test/elf/x86_64/x86_64_endbr2/exe2 25: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 25: ++ export LC_ALL=C 25: ++ LC_ALL=C @@ -2862,20 +2874,60 @@ 25: ++ QEMU= 25: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 25: ++ tlsdesc_opt=-mtls-dialect=gnu2 +23: + test_cflags -static 25: ++ trap 'on_error $LINENO' ERR 25: ++ trap on_exit EXIT +24: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_note2.sh .sh 25: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_plt.sh .sh +23: + echo 'int main() {}' +24: ++ testname=x86_64_note2 +24: ++ echo -n 'Testing x86_64_note2 ... ' +24: Testing x86_64_note2 ... ++ t=out/test/elf/x86_64/x86_64_note2 +24: ++ mkdir -p out/test/elf/x86_64/x86_64_note2 +23: + cc -static -o /dev/null -xc - +18: + out/test/elf/x86_64/x86_64_large-bss/exe +18: + grep -Eq '^1 c0000000$' 25: ++ testname=x86_64_plt 25: ++ echo -n 'Testing x86_64_plt ... ' 25: Testing x86_64_plt ... ++ t=out/test/elf/x86_64/x86_64_plt 25: ++ mkdir -p out/test/elf/x86_64/x86_64_plt -21: + readelf -n out/test/elf/x86_64/x86_64_note-property/exe -21: + grep -q 'x86 feature: IBT' -21: + ./mold -o out/test/elf/x86_64/x86_64_note-property/exe out/test/elf/x86_64/x86_64_note-property/b.o -25: + cat +3: + objdump -dr out/test/elf/x86_64/x86_64_endbr/exe2 +18: + on_exit +18: + echo OK +18: OK +18: + exit 0 +4: + grep -q nop +4: + grep -A1 ':' out/test/elf/x86_64/x86_64_endbr2/log2 +24: + test_cflags -Xassembler -mx86-used-note=no +24: + cc -Xassembler -mx86-used-note=no -o /dev/null -xc - +24: + echo 'int main() {}' + 14/369 Test #18: x86_64-x86_64_large-bss .......................... Passed 0.27 sec +test 26 + Start 26: x86_64-x86_64_preinit-array + +26: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_preinit-array.sh" +26: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +26: Environment variables: +26: MACHINE=x86_64 +26: CPU= +26: Test timeout computed to be: 1500 +4: + grep -A1 ':' out/test/elf/x86_64/x86_64_endbr2/log2 +4: + grep -q nop +4: + grep -q endbr64 +3: + grep -q nop +3: + grep -A1 ':' out/test/elf/x86_64/x86_64_endbr/log2 +16: + grep -q 'init1 init2' 25: + cc -o out/test/elf/x86_64/x86_64_plt/a.o -c -x assembler - -25: + cc -B. -o out/test/elf/x86_64/x86_64_plt/exe out/test/elf/x86_64/x86_64_plt/a.o +25: + cat +3: + grep -q nop +16: + out/test/elf/x86_64/x86_64_init-array-readonly/exe +4: + grep -A1 '
:' out/test/elf/x86_64/x86_64_endbr2/log2 26: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_preinit-array.sh +3: + grep -A1 ':' out/test/elf/x86_64/x86_64_endbr/log2 +16: + on_exit +16: + echo OK +16: OK +16: + exit 0 26: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 26: ++ export LC_ALL=C 26: ++ LC_ALL=C @@ -2892,20 +2944,7 @@ 26: ++ QEMU= 26: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 26: ++ tlsdesc_opt=-mtls-dialect=gnu2 -26: ++ trap 'on_error $LINENO' ERR -26: ++ trap on_exit EXIT -26: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_preinit-array.sh .sh -21: + grep -q 'x86 feature: IBT' -21: + readelf -n out/test/elf/x86_64/x86_64_note-property/exe -26: ++ testname=x86_64_preinit-array -26: ++ echo -n 'Testing x86_64_preinit-array ... ' -26: Testing x86_64_preinit-array ... ++ t=out/test/elf/x86_64/x86_64_preinit-array -26: ++ mkdir -p out/test/elf/x86_64/x86_64_preinit-array -21: + on_exit -21: + echo OK -21: OK -21: + exit 0 - 15/369 Test #21: x86_64-x86_64_note-property ...................... Passed 0.12 sec + 15/369 Test #16: x86_64-x86_64_init-array-readonly ................ Passed 0.29 sec test 27 Start 27: x86_64-x86_64_relax @@ -2915,16 +2954,51 @@ 27: MACHINE=x86_64 27: CPU= 27: Test timeout computed to be: 1500 +26: ++ trap 'on_error $LINENO' ERR +26: ++ trap on_exit EXIT +26: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_preinit-array.sh .sh +26: ++ testname=x86_64_preinit-array +26: ++ echo -n 'Testing x86_64_preinit-array ... ' +26: Testing x86_64_preinit-array ... ++ t=out/test/elf/x86_64/x86_64_preinit-array +26: ++ mkdir -p out/test/elf/x86_64/x86_64_preinit-array 26: + is_musl -26: + ldd --version +3: + grep -q endbr64 +3: + grep -A1 '
:' out/test/elf/x86_64/x86_64_endbr/log2 +3: + on_exit +3: + echo OK +3: OK +3: + exit 0 +4: + on_exit +4: + echo OK +4: OK +4: + exit 0 +25: + cc -B. -o out/test/elf/x86_64/x86_64_plt/exe out/test/elf/x86_64/x86_64_plt/a.o + 16/369 Test #3: x86_64-x86_64_endbr .............................. Passed 0.49 sec + 17/369 Test #4: x86_64-x86_64_endbr2 ............................. Passed 0.49 sec +test 28 + Start 28: x86_64-x86_64_reloc-overflow + +28: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_reloc-overflow.sh" +28: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +28: Environment variables: +28: MACHINE=x86_64 +28: CPU= +28: Test timeout computed to be: 1500 +test 29 + Start 29: x86_64-x86_64_reloc-zero + +29: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_reloc-zero.sh" +29: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +29: Environment variables: +29: MACHINE=x86_64 +29: CPU= +29: Test timeout computed to be: 1500 26: + grep -q musl -4: + objdump -dr out/test/elf/x86_64/x86_64_endbr2/exe2 +26: + ldd --version 26: + cat -3: + objdump -dr out/test/elf/x86_64/x86_64_endbr/exe2 26: + cc -c -o out/test/elf/x86_64/x86_64_preinit-array/a.o -x assembler - +26: + cc -c -o out/test/elf/x86_64/x86_64_preinit-array/b.o -xc - 27: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_relax.sh -4: + grep -A1 ':' out/test/elf/x86_64/x86_64_endbr2/log2 -4: + grep -q nop 27: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 27: ++ export LC_ALL=C 27: ++ LC_ALL=C @@ -2943,54 +3017,16 @@ 27: ++ tlsdesc_opt=-mtls-dialect=gnu2 27: ++ trap 'on_error $LINENO' ERR 27: ++ trap on_exit EXIT -4: + grep -A1 ':' out/test/elf/x86_64/x86_64_endbr2/log2 -4: + grep -q nop 27: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_relax.sh .sh -3: + grep -A1 ':' out/test/elf/x86_64/x86_64_endbr/log2 -26: + cat -3: + grep -q nop -26: + cc -c -o out/test/elf/x86_64/x86_64_preinit-array/b.o -xc - -4: + grep -A1 '
:' out/test/elf/x86_64/x86_64_endbr2/log2 27: ++ testname=x86_64_relax 27: ++ echo -n 'Testing x86_64_relax ... ' 27: Testing x86_64_relax ... ++ t=out/test/elf/x86_64/x86_64_relax 27: ++ mkdir -p out/test/elf/x86_64/x86_64_relax -3: + grep -A1 ':' out/test/elf/x86_64/x86_64_endbr/log2 -4: + grep -q endbr64 -3: + grep -q nop -27: + echo ret -4: + on_exit -4: + echo OK -4: OK -4: + exit 0 -27: + cc -c -o /dev/null -xassembler -Wa,-mrelax-relocations=yes - -3: + grep -A1 '
:' out/test/elf/x86_64/x86_64_endbr/log2 - 16/369 Test #4: x86_64-x86_64_endbr2 ............................. Passed 0.38 sec -test 28 - Start 28: x86_64-x86_64_reloc-overflow - -28: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_reloc-overflow.sh" -28: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -28: Environment variables: -28: MACHINE=x86_64 -28: CPU= -28: Test timeout computed to be: 1500 -3: + grep -q endbr64 -3: + on_exit -3: + echo OK -3: OK -3: + exit 0 - 17/369 Test #3: x86_64-x86_64_endbr .............................. Passed 0.39 sec -test 29 - Start 29: x86_64-x86_64_reloc-zero - -29: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_reloc-zero.sh" -29: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -29: Environment variables: -29: MACHINE=x86_64 -29: CPU= -29: Test timeout computed to be: 1500 +19: + cc -o out/test/elf/x86_64/x86_64_mergeable-records/a.o -c -x assembler - +19: + cat +19: + 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 28: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_reloc-overflow.sh +26: + cat 28: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 28: ++ export LC_ALL=C 28: ++ LC_ALL=C @@ -3009,20 +3045,14 @@ 28: ++ tlsdesc_opt=-mtls-dialect=gnu2 28: ++ trap 'on_error $LINENO' ERR 28: ++ trap on_exit EXIT +27: + echo ret 28: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_reloc-overflow.sh .sh -25: + readelf --sections out/test/elf/x86_64/x86_64_plt/exe -25: + grep -Fq .got -27: + cat -27: + cc -o out/test/elf/x86_64/x86_64_relax/a.o -c -x assembler -Wa,-mrelax-relocations=yes - +29: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_reloc-zero.sh +27: + cc -c -o /dev/null -xassembler -Wa,-mrelax-relocations=yes - 28: ++ testname=x86_64_reloc-overflow 28: ++ echo -n 'Testing x86_64_reloc-overflow ... ' 28: Testing x86_64_reloc-overflow ... ++ t=out/test/elf/x86_64/x86_64_reloc-overflow 28: ++ mkdir -p out/test/elf/x86_64/x86_64_reloc-overflow -29: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_reloc-zero.sh -25: + readelf --sections out/test/elf/x86_64/x86_64_plt/exe -25: + grep -Fq .got.plt -28: + cat -28: + cc -o out/test/elf/x86_64/x86_64_reloc-overflow/a.o -c -x assembler - 29: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 29: ++ export LC_ALL=C 29: ++ LC_ALL=C @@ -3041,25 +3071,44 @@ 29: ++ tlsdesc_opt=-mtls-dialect=gnu2 29: ++ trap 'on_error $LINENO' ERR 29: ++ trap on_exit EXIT -24: + CFLAGS='-Xassembler -mx86-used-note=no' 29: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_reloc-zero.sh .sh -24: + cat -24: + cc -Xassembler -mx86-used-note=no -o out/test/elf/x86_64/x86_64_note2/a.o -c -x assembler - -25: + out/test/elf/x86_64/x86_64_plt/exe 29: ++ testname=x86_64_reloc-zero 29: ++ echo -n 'Testing x86_64_reloc-zero ... ' 29: Testing x86_64_reloc-zero ... ++ t=out/test/elf/x86_64/x86_64_reloc-zero 29: ++ mkdir -p out/test/elf/x86_64/x86_64_reloc-zero +28: + cat +28: + cc -o out/test/elf/x86_64/x86_64_reloc-overflow/a.o -c -x assembler - +29: + cc -o out/test/elf/x86_64/x86_64_reloc-zero/a.o -c -x assembler - +29: + cat +22: + test_cflags -Xassembler -mx86-used-note=no +22: + echo 'int main() {}' +22: + cc -Xassembler -mx86-used-note=no -o /dev/null -xc - 27: + cat -27: + cc -o out/test/elf/x86_64/x86_64_relax/b.o -c -xc - -25: + grep -q 'Hello world' +27: + cc -o out/test/elf/x86_64/x86_64_relax/a.o -c -x assembler -Wa,-mrelax-relocations=yes - +21: + ./mold -o out/test/elf/x86_64/x86_64_note-property/exe out/test/elf/x86_64/x86_64_note-property/a.o +25: + grep -Fq .got +25: + readelf --sections out/test/elf/x86_64/x86_64_plt/exe +25: + grep -Fq .got.plt +20: + cat +20: + cc -o out/test/elf/x86_64/x86_64_mergeable-strings/a.o -c -x assembler - +25: + readelf --sections out/test/elf/x86_64/x86_64_plt/exe 29: + cat -29: + cc -o out/test/elf/x86_64/x86_64_reloc-zero/a.o -c -x assembler - +29: + cc -o out/test/elf/x86_64/x86_64_reloc-zero/b.o -c -xc - +10: + out/test/elf/x86_64/x86_64_ifunc-alias/exe +25: + grep -q 'Hello world' +25: + out/test/elf/x86_64/x86_64_plt/exe 25: + on_exit 25: + echo OK 25: OK 25: + exit 0 - 18/369 Test #25: x86_64-x86_64_plt ................................ Passed 0.07 sec +10: + on_exit +10: + echo OK +10: OK +10: + exit 0 +28: + ./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 +20: + 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 +27: + cc -o out/test/elf/x86_64/x86_64_relax/b.o -c -xc - + 18/369 Test #25: x86_64-x86_64_plt ................................ Passed 0.10 sec test 30 Start 30: x86_64-x86_64_reloc @@ -3069,12 +3118,19 @@ 30: MACHINE=x86_64 30: CPU= 30: Test timeout computed to be: 1500 -28: + ./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: + cc -Xassembler -mx86-used-note=no -o out/test/elf/x86_64/x86_64_note2/b.o -c -x assembler - -24: + cat -29: + cat -29: + cc -o out/test/elf/x86_64/x86_64_reloc-zero/b.o -c -xc - +27: + cat + 19/369 Test #10: x86_64-x86_64_ifunc-alias ........................ Passed 0.55 sec +test 31 + Start 31: x86_64-x86_64_section-alignment + +31: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_section-alignment.sh" +31: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +31: Environment variables: +31: MACHINE=x86_64 +31: CPU= +31: Test timeout computed to be: 1500 30: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_reloc.sh +31: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_section-alignment.sh 30: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 30: ++ export LC_ALL=C 30: ++ LC_ALL=C @@ -3094,36 +3150,6 @@ 30: ++ trap 'on_error $LINENO' ERR 30: ++ trap on_exit EXIT 30: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_reloc.sh .sh -30: ++ testname=x86_64_reloc -30: ++ echo -n 'Testing x86_64_reloc ... ' -30: Testing x86_64_reloc ... ++ t=out/test/elf/x86_64/x86_64_reloc -30: ++ mkdir -p out/test/elf/x86_64/x86_64_reloc -24: + cat -24: + cc -Xassembler -mx86-used-note=no -o out/test/elf/x86_64/x86_64_note2/c.o -c -x assembler - -30: + cc -fPIC -c -o out/test/elf/x86_64/x86_64_reloc/a.o -x assembler - -30: + cat -30: + cat -28: + grep -Fq 'relocation R_X86_64_16 against foo out of range' out/test/elf/x86_64/x86_64_reloc-overflow/log -30: + cc -fPIC -c -o out/test/elf/x86_64/x86_64_reloc/b.o -xc - -24: + cat -24: + cc -Xassembler -mx86-used-note=no -o out/test/elf/x86_64/x86_64_note2/d.o -c -xc - -28: + on_exit -28: + echo OK -28: OK -28: + exit 0 - 19/369 Test #28: x86_64-x86_64_reloc-overflow ..................... Passed 0.03 sec -test 31 - Start 31: x86_64-x86_64_section-alignment - -31: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_section-alignment.sh" -31: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -31: Environment variables: -31: MACHINE=x86_64 -31: CPU= -31: Test timeout computed to be: 1500 -26: + 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: + 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 -31: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_section-alignment.sh 31: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 31: ++ export LC_ALL=C 31: ++ LC_ALL=C @@ -3142,24 +3168,51 @@ 31: ++ tlsdesc_opt=-mtls-dialect=gnu2 31: ++ trap 'on_error $LINENO' ERR 31: ++ trap on_exit EXIT -22: + test_cflags -Xassembler -mx86-used-note=no -29: + 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: ++ testname=x86_64_reloc +30: ++ echo -n 'Testing x86_64_reloc ... ' +30: Testing x86_64_reloc ... ++ t=out/test/elf/x86_64/x86_64_reloc +30: ++ mkdir -p out/test/elf/x86_64/x86_64_reloc 31: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_section-alignment.sh .sh -22: + echo 'int main() {}' -22: + cc -Xassembler -mx86-used-note=no -o /dev/null -xc - 31: ++ testname=x86_64_section-alignment 31: ++ echo -n 'Testing x86_64_section-alignment ... ' 31: Testing x86_64_section-alignment ... ++ t=out/test/elf/x86_64/x86_64_section-alignment 31: ++ mkdir -p out/test/elf/x86_64/x86_64_section-alignment +30: + cat +30: + cc -fPIC -c -o out/test/elf/x86_64/x86_64_reloc/a.o -x assembler - 31: + cat 31: + cc -c -o out/test/elf/x86_64/x86_64_section-alignment/a.o -xc - -30: + 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 -24: + ./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 -29: + on_exit -29: + echo OK -29: OK -29: + exit 0 - 20/369 Test #29: x86_64-x86_64_reloc-zero ......................... Passed 0.06 sec +21: + grep -q 'x86 feature: IBT' +21: + readelf -n out/test/elf/x86_64/x86_64_note-property/exe +26: + 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 +24: + CFLAGS='-Xassembler -mx86-used-note=no' +21: + ./mold -o out/test/elf/x86_64/x86_64_note-property/exe out/test/elf/x86_64/x86_64_note-property/b.o +30: + cc -fPIC -c -o out/test/elf/x86_64/x86_64_reloc/b.o -xc - +24: + cc -Xassembler -mx86-used-note=no -o out/test/elf/x86_64/x86_64_note2/a.o -c -x assembler - +24: + cat +30: + cat +23: + test_cflags -Xassembler -mx86-used-note=no +23: + cc -Xassembler -mx86-used-note=no -o /dev/null -xc - +23: + echo 'int main() {}' +19: + grep -q '^abcdef$' +19: + out/test/elf/x86_64/x86_64_mergeable-records/exe +19: + grep -q '^bcdef$' +24: + cc -Xassembler -mx86-used-note=no -o out/test/elf/x86_64/x86_64_note2/b.o -c -x assembler - +19: + out/test/elf/x86_64/x86_64_mergeable-records/exe +21: + grep -q 'x86 feature: IBT' +19: + grep -q '^ijkl$' +24: + cat +21: + readelf -n out/test/elf/x86_64/x86_64_note-property/exe +19: + out/test/elf/x86_64/x86_64_mergeable-records/exe +21: + on_exit +21: + echo OK +21: OK +21: + exit 0 +19: + grep -q '^pqr$' +19: + out/test/elf/x86_64/x86_64_mergeable-records/exe +19: + grep -q '^mnopqr$' +19: + out/test/elf/x86_64/x86_64_mergeable-records/exe +24: + cc -Xassembler -mx86-used-note=no -o out/test/elf/x86_64/x86_64_note2/c.o -c -x assembler - + 20/369 Test #21: x86_64-x86_64_note-property ...................... Passed 0.32 sec test 32 Start 32: x86_64-x86_64_section-name @@ -3169,14 +3222,39 @@ 32: MACHINE=x86_64 32: CPU= 32: Test timeout computed to be: 1500 -27: + objdump -d out/test/elf/x86_64/x86_64_relax/exe -27: + grep -A20 ':' -27: + grep -Eq 'lea \s*0x.+\(%rip\),%rax .*' out/test/elf/x86_64/x86_64_relax/log +19: + on_exit +19: + echo OK +19: OK +19: + exit 0 +24: + cat +28: + grep -Fq 'relocation R_X86_64_16 against foo out of range' out/test/elf/x86_64/x86_64_reloc-overflow/log +28: + on_exit +28: + echo OK +28: OK +28: + exit 0 + 21/369 Test #19: x86_64-x86_64_mergeable-records .................. Passed 0.38 sec + 22/369 Test #28: x86_64-x86_64_reloc-overflow ..................... Passed 0.15 sec +test 33 + Start 33: x86_64-x86_64_tls-gd-mcmodel-large + +33: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_tls-gd-mcmodel-large.sh" +33: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +33: Environment variables: +33: MACHINE=x86_64 +33: CPU= +33: Test timeout computed to be: 1500 +test 34 + Start 34: x86_64-x86_64_tls-gd-to-ie + +34: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_tls-gd-to-ie.sh" +34: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +34: Environment variables: +34: MACHINE=x86_64 +34: CPU= +34: Test timeout computed to be: 1500 +24: + cc -Xassembler -mx86-used-note=no -o out/test/elf/x86_64/x86_64_note2/d.o -c -xc - +24: + cat 32: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_section-name.sh -26: + out/test/elf/x86_64/x86_64_preinit-array/exe -26: + grep -q 'preinit init fini' -31: + cc -B. -o out/test/elf/x86_64/x86_64_section-alignment/exe out/test/elf/x86_64/x86_64_section-alignment/a.o -27: + grep -Eq 'lea \s*0x.+\(%rip\),%rcx .*' out/test/elf/x86_64/x86_64_relax/log 32: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 32: ++ export LC_ALL=C 32: ++ LC_ALL=C @@ -3195,55 +3273,19 @@ 32: ++ tlsdesc_opt=-mtls-dialect=gnu2 32: ++ trap 'on_error $LINENO' ERR 32: ++ trap on_exit EXIT -27: + grep -Eq 'lea \s*0x.+\(%rip\),%rdx .*' out/test/elf/x86_64/x86_64_relax/log 32: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_section-name.sh .sh -26: + on_exit -26: + echo OK -26: OK -26: + exit 0 -24: mold: warning: entry symbol is not defined: _start - 21/369 Test #26: x86_64-x86_64_preinit-array ...................... Passed 0.12 sec -test 33 - Start 33: x86_64-x86_64_tls-gd-mcmodel-large - -33: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_tls-gd-mcmodel-large.sh" -33: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -33: Environment variables: -33: MACHINE=x86_64 -33: CPU= -33: Test timeout computed to be: 1500 -27: + grep -Eq 'lea \s*0x.+\(%rip\),%rbx .*' out/test/elf/x86_64/x86_64_relax/log 32: ++ testname=x86_64_section-name 32: ++ echo -n 'Testing x86_64_section-name ... ' 32: Testing x86_64_section-name ... ++ t=out/test/elf/x86_64/x86_64_section-name 32: ++ mkdir -p out/test/elf/x86_64/x86_64_section-name 32: + cat -32: + cc -o out/test/elf/x86_64/x86_64_section-name/a.o -c -x assembler - -24: + readelf --segments out/test/elf/x86_64/x86_64_note2/exe -24: + grep -Fq '01 .note.a .note.c .note.b' out/test/elf/x86_64/x86_64_note2/log -27: + grep -Eq 'lea \s*0x.+\(%rip\),%rbp .*' out/test/elf/x86_64/x86_64_relax/log -24: + on_exit -24: + echo OK -24: OK -24: + exit 0 - 22/369 Test #24: x86_64-x86_64_note2 .............................. Passed 0.15 sec -test 34 - Start 34: x86_64-x86_64_tls-gd-to-ie - -34: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_tls-gd-to-ie.sh" -34: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -34: Environment variables: -34: MACHINE=x86_64 -34: CPU= -34: Test timeout computed to be: 1500 -27: + grep -Eq 'lea \s*0x.+\(%rip\),%rsi .*' out/test/elf/x86_64/x86_64_relax/log 33: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_tls-gd-mcmodel-large.sh -32: + ./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 +32: + cc -o out/test/elf/x86_64/x86_64_section-name/a.o -c -x assembler - +34: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_tls-gd-to-ie.sh 33: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 33: ++ export LC_ALL=C 33: ++ LC_ALL=C 33: ++ '[' -z x86_64 ']' -27: + grep -Eq 'lea \s*0x.+\(%rip\),%rdi .*' out/test/elf/x86_64/x86_64_relax/log 33: ++ '[' -z '' ']' 33: ++ TESTDIR=out/test/elf/x86_64 33: ++ CC=cc @@ -3259,12 +3301,8 @@ 33: ++ trap 'on_error $LINENO' ERR 33: ++ trap on_exit EXIT 33: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_tls-gd-mcmodel-large.sh .sh -34: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_tls-gd-to-ie.sh -27: + grep -Eq 'lea \s*0x.+\(%rip\),%r8 .*' out/test/elf/x86_64/x86_64_relax/log -33: ++ testname=x86_64_tls-gd-mcmodel-large -33: ++ echo -n 'Testing x86_64_tls-gd-mcmodel-large ... ' -33: Testing x86_64_tls-gd-mcmodel-large ... ++ t=out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large -33: ++ mkdir -p out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large +26: + out/test/elf/x86_64/x86_64_preinit-array/exe +26: + grep -q 'preinit init fini' 34: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 34: ++ export LC_ALL=C 34: ++ LC_ALL=C @@ -3283,42 +3321,16 @@ 34: ++ tlsdesc_opt=-mtls-dialect=gnu2 34: ++ trap 'on_error $LINENO' ERR 34: ++ trap on_exit EXIT +33: ++ testname=x86_64_tls-gd-mcmodel-large +33: ++ echo -n 'Testing x86_64_tls-gd-mcmodel-large ... ' +33: Testing x86_64_tls-gd-mcmodel-large ... ++ t=out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large +33: ++ mkdir -p out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large +26: + on_exit +26: + echo OK +26: OK +26: + exit 0 34: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_tls-gd-to-ie.sh .sh -27: + grep -Eq 'lea \s*0x.+\(%rip\),%r9 .*' out/test/elf/x86_64/x86_64_relax/log -33: + gcc -mtls-dialect=gnu -fPIC -c -o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/a.o -xc - -mcmodel=large -27: + grep -Eq 'lea \s*0x.+\(%rip\),%r10 .*' out/test/elf/x86_64/x86_64_relax/log -34: ++ testname=x86_64_tls-gd-to-ie -34: ++ echo -n 'Testing x86_64_tls-gd-to-ie ... ' -34: Testing x86_64_tls-gd-to-ie ... ++ t=out/test/elf/x86_64/x86_64_tls-gd-to-ie -34: ++ mkdir -p out/test/elf/x86_64/x86_64_tls-gd-to-ie -33: + cat -22: + CFLAGS='-Xassembler -mx86-used-note=no' -22: + readelf -v -22: + grep -q -E 'GNU readelf .+ (2\.3[6-9]|2\.[4-9]|[3-9])' -30: + cat -27: + grep -Eq 'lea \s*0x.+\(%rip\),%r11 .*' out/test/elf/x86_64/x86_64_relax/log -34: + cat -34: + gcc -fPIC -c -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/a.o -xc - -mcmodel=large -32: + readelf -p .text.hot out/test/elf/x86_64/x86_64_section-name/exe -27: + grep -Eq 'lea \s*0x.+\(%rip\),%r12 .*' out/test/elf/x86_64/x86_64_relax/log -22: + cat -32: + grep -Fq '.text.hot .text.hot.foo' -30: + 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 -22: + cc -Xassembler -mx86-used-note=no -c -o out/test/elf/x86_64/x86_64_note-property2/a.o -xassembler-with-cpp - -27: + grep -Eq 'lea \s*0x.+\(%rip\),%r13 .*' out/test/elf/x86_64/x86_64_relax/log -27: + grep -Eq 'lea \s*0x.+\(%rip\),%r14 .*' out/test/elf/x86_64/x86_64_relax/log -32: + readelf -p .text.unknown out/test/elf/x86_64/x86_64_section-name/exe -32: + grep -Fq '.text.unknown .text.unknown.foo' -31: + out/test/elf/x86_64/x86_64_section-alignment/exe -31: + grep -q '^0 0 0$' -27: + grep -Eq 'lea \s*0x.+\(%rip\),%r15 .*' out/test/elf/x86_64/x86_64_relax/log -32: + readelf -p .text.unlikely out/test/elf/x86_64/x86_64_section-name/exe -32: + grep -Fq '.text.unlikely .text.unlikely.foo' -31: + on_exit -31: + echo OK -31: OK -31: + exit 0 - 23/369 Test #31: x86_64-x86_64_section-alignment .................. Passed 0.07 sec + 23/369 Test #26: x86_64-x86_64_preinit-array ...................... Passed 0.17 sec test 35 Start 35: x86_64-x86_64_tls-large-tbss @@ -3328,28 +3340,17 @@ 35: MACHINE=x86_64 35: CPU= 35: Test timeout computed to be: 1500 -27: + grep -Eq 'call.*' out/test/elf/x86_64/x86_64_relax/log -27: + grep -Eq 'jmp.*' out/test/elf/x86_64/x86_64_relax/log -32: + readelf -p .text.startup out/test/elf/x86_64/x86_64_section-name/exe -32: + grep -Fq '.text.startup .text.startup.foo' -32: + readelf -p .text.exit out/test/elf/x86_64/x86_64_section-name/exe -32: + grep -Fq '.text.exit .text.exit.foo' -27: + on_exit -27: + echo OK -27: OK -27: + exit 0 - 24/369 Test #27: x86_64-x86_64_relax .............................. Passed 0.13 sec -test 36 - Start 36: x86_64-x86_64_tls-ld-mcmodel-large - -36: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_tls-ld-mcmodel-large.sh" -36: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -36: Environment variables: -36: MACHINE=x86_64 -36: CPU= -36: Test timeout computed to be: 1500 -32: + readelf -p .text out/test/elf/x86_64/x86_64_section-name/exe -32: + grep -Fq '.text .text.foo' +34: ++ testname=x86_64_tls-gd-to-ie +34: ++ echo -n 'Testing x86_64_tls-gd-to-ie ... ' +34: Testing x86_64_tls-gd-to-ie ... ++ t=out/test/elf/x86_64/x86_64_tls-gd-to-ie +34: ++ mkdir -p out/test/elf/x86_64/x86_64_tls-gd-to-ie +34: + cat +34: + gcc -fPIC -c -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/a.o -xc - -mcmodel=large +33: + cat +33: + gcc -mtls-dialect=gnu -fPIC -c -o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/a.o -xc - -mcmodel=large +32: + ./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 +20: + out/test/elf/x86_64/x86_64_mergeable-strings/exe +20: + grep -q 'Hello world' 35: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_tls-large-tbss.sh 35: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 35: ++ export LC_ALL=C @@ -3369,15 +3370,30 @@ 35: ++ tlsdesc_opt=-mtls-dialect=gnu2 35: ++ trap 'on_error $LINENO' ERR 35: ++ trap on_exit EXIT -32: + readelf -p .data.rel.ro out/test/elf/x86_64/x86_64_section-name/exe +20: + readelf -sW out/test/elf/x86_64/x86_64_mergeable-strings/exe +20: + grep -Eq '[0-9] foo$' 35: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_tls-large-tbss.sh .sh 35: ++ testname=x86_64_tls-large-tbss 35: ++ echo -n 'Testing x86_64_tls-large-tbss ... ' 35: Testing x86_64_tls-large-tbss ... ++ t=out/test/elf/x86_64/x86_64_tls-large-tbss 35: ++ mkdir -p out/test/elf/x86_64/x86_64_tls-large-tbss -32: + grep -Fq '.data.rel.ro .data.rel.ro.foo' +20: + on_exit +20: + echo OK +20: OK +20: + exit 0 + 24/369 Test #20: x86_64-x86_64_mergeable-strings .................. Passed 0.35 sec +test 36 + Start 36: x86_64-x86_64_tls-ld-mcmodel-large + +36: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_tls-ld-mcmodel-large.sh" +36: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +36: Environment variables: +36: MACHINE=x86_64 +36: CPU= +36: Test timeout computed to be: 1500 +35: + cat +35: + cc -c -o out/test/elf/x86_64/x86_64_tls-large-tbss/a.o -x assembler - 36: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_tls-ld-mcmodel-large.sh -22: + cat 36: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 36: ++ export LC_ALL=C 36: ++ LC_ALL=C @@ -3396,42 +3412,36 @@ 36: ++ tlsdesc_opt=-mtls-dialect=gnu2 36: ++ trap 'on_error $LINENO' ERR 36: ++ trap on_exit EXIT -22: + cc -Xassembler -mx86-used-note=no -c -o out/test/elf/x86_64/x86_64_note-property2/b.o -xassembler-with-cpp - -32: + readelf -p .data out/test/elf/x86_64/x86_64_section-name/exe +35: + cat +29: + 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 +24: + ./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 +27: + 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 +32: + grep -Fq '.text.hot .text.hot.foo' +35: + cc -c -o out/test/elf/x86_64/x86_64_tls-large-tbss/b.o -xc - 36: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_tls-ld-mcmodel-large.sh .sh -32: + grep -Fq '.data .data.foo' -35: + cc -c -o out/test/elf/x86_64/x86_64_tls-large-tbss/a.o -x assembler - +32: + readelf -p .text.hot out/test/elf/x86_64/x86_64_section-name/exe 36: ++ testname=x86_64_tls-ld-mcmodel-large 36: ++ echo -n 'Testing x86_64_tls-ld-mcmodel-large ... ' 36: Testing x86_64_tls-ld-mcmodel-large ... ++ t=out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large 36: ++ mkdir -p out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large -35: + cat -32: + grep -Fq '.rodata .rodata.foo' -32: + readelf -p .rodata out/test/elf/x86_64/x86_64_section-name/exe -36: + cat -36: + gcc -ftls-model=local-dynamic -fPIC -c -o out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/a.o -xc - -mcmodel=large -35: + cat -35: + cc -c -o out/test/elf/x86_64/x86_64_tls-large-tbss/b.o -xc - -32: + ./mold -o out/test/elf/x86_64/x86_64_section-name/exe out/test/elf/x86_64/x86_64_section-name/a.o -33: + cat +30: + 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 +31: + cc -B. -o out/test/elf/x86_64/x86_64_section-alignment/exe out/test/elf/x86_64/x86_64_section-alignment/a.o 33: + gcc -mtls-dialect=gnu -fPIC -c -o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/b.o -xc - -mcmodel=large -30: + out/test/elf/x86_64/x86_64_reloc/exe -30: + grep -q '^42$' -30: + 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 -32: + readelf --sections out/test/elf/x86_64/x86_64_section-name/exe -32: + grep -Fq .text.hot -22: + cat -22: + cc -Xassembler -mx86-used-note=no -c -o out/test/elf/x86_64/x86_64_note-property2/c.o -xassembler-with-cpp - -32: + ./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 -32: + grep -Fq .text.hot -32: + readelf --sections out/test/elf/x86_64/x86_64_section-name/exe -34: + cc -fPIC -c -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/b.o -xc - +33: + cat 34: + cat -32: + on_exit -32: + echo OK -32: OK -32: + exit 0 - 25/369 Test #32: x86_64-x86_64_section-name ....................... Passed 0.08 sec +36: + gcc -ftls-model=local-dynamic -fPIC -c -o out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/a.o -xc - -mcmodel=large +36: + cat +32: + grep -Fq '.text.unknown .text.unknown.foo' +24: mold: warning: entry symbol is not defined: _start +32: + readelf -p .text.unknown out/test/elf/x86_64/x86_64_section-name/exe +24: + readelf --segments out/test/elf/x86_64/x86_64_note2/exe +34: + cc -fPIC -c -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/b.o -xc - +24: + grep -Fq '01 .note.a .note.c .note.b' out/test/elf/x86_64/x86_64_note2/log +24: + on_exit +24: + echo OK +24: OK +24: + exit 0 + 25/369 Test #24: x86_64-x86_64_note2 .............................. Passed 0.26 sec test 37 Start 37: x86_64-x86_64_tls-module-base @@ -3441,8 +3451,28 @@ 37: MACHINE=x86_64 37: CPU= 37: Test timeout computed to be: 1500 -22: + ./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 +32: + grep -Fq '.text.unlikely .text.unlikely.foo' +32: + readelf -p .text.unlikely out/test/elf/x86_64/x86_64_section-name/exe +32: + readelf -p .text.startup out/test/elf/x86_64/x86_64_section-name/exe +32: + grep -Fq '.text.startup .text.startup.foo' +32: + readelf -p .text.exit out/test/elf/x86_64/x86_64_section-name/exe +32: + grep -Fq '.text.exit .text.exit.foo' +32: + readelf -p .text out/test/elf/x86_64/x86_64_section-name/exe +32: + grep -Fq '.text .text.foo' +32: + readelf -p .data.rel.ro out/test/elf/x86_64/x86_64_section-name/exe +32: + grep -Fq '.data.rel.ro .data.rel.ro.foo' +32: + readelf -p .data out/test/elf/x86_64/x86_64_section-name/exe +32: + grep -Fq '.data .data.foo' +32: + readelf -p .rodata out/test/elf/x86_64/x86_64_section-name/exe +32: + grep -Fq '.rodata .rodata.foo' +32: + ./mold -o out/test/elf/x86_64/x86_64_section-name/exe out/test/elf/x86_64/x86_64_section-name/a.o +23: + CFLAGS='-Xassembler -mx86-used-note=no' 37: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_tls-module-base.sh +22: + CFLAGS='-Xassembler -mx86-used-note=no' +22: + grep -q -E 'GNU readelf .+ (2\.3[6-9]|2\.[4-9]|[3-9])' +23: + cc -Xassembler -mx86-used-note=no -o out/test/elf/x86_64/x86_64_note/a.o -c -x assembler - +22: + readelf -v +23: + cat 37: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 37: ++ export LC_ALL=C 37: ++ LC_ALL=C @@ -3457,56 +3487,45 @@ 37: ++ OBJCOPY=objcopy 37: ++ STRIP=strip 37: ++ QEMU= -33: + cat 37: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 37: ++ tlsdesc_opt=-mtls-dialect=gnu2 37: ++ trap 'on_error $LINENO' ERR 37: ++ trap on_exit EXIT -33: + gcc -mtls-dialect=gnu -fPIC -c -o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/c.o -xc - -mcmodel=large -36: + cat -36: + 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 -A20 ':' +27: + objdump -d out/test/elf/x86_64/x86_64_relax/exe +22: + cc -Xassembler -mx86-used-note=no -c -o out/test/elf/x86_64/x86_64_note-property2/a.o -xassembler-with-cpp - +22: + cat 37: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_tls-module-base.sh .sh 37: ++ testname=x86_64_tls-module-base 37: ++ echo -n 'Testing x86_64_tls-module-base ... ' 37: Testing x86_64_tls-module-base ... ++ t=out/test/elf/x86_64/x86_64_tls-module-base 37: ++ mkdir -p out/test/elf/x86_64/x86_64_tls-module-base -22: mold: warning: entry symbol is not defined: _start +32: + readelf --sections out/test/elf/x86_64/x86_64_section-name/exe +32: + grep -Fq .text.hot 37: + cat 37: + cc -fPIC -o out/test/elf/x86_64/x86_64_tls-module-base/a.o -c -xassembler - -22: + grep -q 'x86 feature: SHSTK' -22: + readelf -n out/test/elf/x86_64/x86_64_note-property2/exe1 -30: + out/test/elf/x86_64/x86_64_reloc/exe -30: + grep -q '^42$' -30: + cat +29: + on_exit +29: + echo OK +29: OK +29: + exit 0 +32: + ./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 +27: + grep -Eq 'lea \s*0x.+\(%rip\),%rax .*' out/test/elf/x86_64/x86_64_relax/log +27: + grep -Eq 'lea \s*0x.+\(%rip\),%rcx .*' out/test/elf/x86_64/x86_64_relax/log +27: + grep -Eq 'lea \s*0x.+\(%rip\),%rdx .*' out/test/elf/x86_64/x86_64_relax/log 35: + 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: + readelf -n out/test/elf/x86_64/x86_64_note-property2/exe1 -22: + grep -q 'x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' -30: + 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 -37: + cat -37: + cc -o out/test/elf/x86_64/x86_64_tls-module-base/b.o -c -xc - -22: + readelf -n out/test/elf/x86_64/x86_64_note-property2/exe1 -22: + grep -q 'x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' -22: + ./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 -34: + 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: + 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 -22: mold: warning: entry symbol is not defined: _start -22: + readelf -n out/test/elf/x86_64/x86_64_note-property2/exe2 -22: + grep -q 'x86 feature: SHSTK' -22: + grep -q 'x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' -22: + readelf -n out/test/elf/x86_64/x86_64_note-property2/exe2 -37: + cat -37: + cc -o out/test/elf/x86_64/x86_64_tls-module-base/c.o -c -xc - -33: + 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 -22: + readelf -n out/test/elf/x86_64/x86_64_note-property2/exe2 -22: + grep -q 'x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' -22: + ./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: + out/test/elf/x86_64/x86_64_tls-large-tbss/exe -35: + grep -q '^3 0 5 0 0 0$' -35: + on_exit -35: + echo OK -35: OK -35: + exit 0 - 26/369 Test #35: x86_64-x86_64_tls-large-tbss ..................... Passed 0.10 sec +31: + out/test/elf/x86_64/x86_64_section-alignment/exe +31: + grep -q '^0 0 0$' +31: + on_exit +31: + echo OK +31: OK +31: + exit 0 +36: + gcc -ftls-model=local-dynamic -fPIC -c -o out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/b.o -xc - -mcmodel=large +36: + cat +30: + cat +33: + gcc -mtls-dialect=gnu -fPIC -c -o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/c.o -xc - -mcmodel=large +23: + ./mold -static -o out/test/elf/x86_64/x86_64_note/exe out/test/elf/x86_64/x86_64_note/a.o + 26/369 Test #29: x86_64-x86_64_reloc-zero ......................... Passed 0.31 sec + 27/369 Test #31: x86_64-x86_64_section-alignment .................. Passed 0.25 sec test 38 Start 38: x86_64-x86_64_tlsdesc @@ -3516,14 +3535,25 @@ 38: MACHINE=x86_64 38: CPU= 38: Test timeout computed to be: 1500 -34: + 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 -36: + out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/exe -36: + grep -q '3 5 3 5' -36: + 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 -30: + out/test/elf/x86_64/x86_64_reloc/exe -22: + grep -q 'x86 feature: SHSTK' -22: + readelf -n out/test/elf/x86_64/x86_64_note-property2/d.o -30: + grep -q '^56$' +test 39 + Start 39: x86_64-x86_64_unique + +39: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_unique.sh" +39: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +39: Environment variables: +39: MACHINE=x86_64 +39: CPU= +39: Test timeout computed to be: 1500 +33: + cat +37: + cc -o out/test/elf/x86_64/x86_64_tls-module-base/b.o -c -xc - +37: + cat +27: + grep -Eq 'lea \s*0x.+\(%rip\),%rbx .*' out/test/elf/x86_64/x86_64_relax/log +27: + grep -Eq 'lea \s*0x.+\(%rip\),%rbp .*' out/test/elf/x86_64/x86_64_relax/log +27: + grep -Eq 'lea \s*0x.+\(%rip\),%rsi .*' out/test/elf/x86_64/x86_64_relax/log +27: + grep -Eq 'lea \s*0x.+\(%rip\),%rdi .*' out/test/elf/x86_64/x86_64_relax/log +30: + 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 +34: + 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 +27: + grep -Eq 'lea \s*0x.+\(%rip\),%r8 .*' out/test/elf/x86_64/x86_64_relax/log 38: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_tlsdesc.sh 38: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 38: ++ export LC_ALL=C @@ -3541,40 +3571,18 @@ 38: ++ QEMU= 38: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 38: ++ tlsdesc_opt=-mtls-dialect=gnu2 -22: + readelf -n out/test/elf/x86_64/x86_64_note-property2/d.o -33: + 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 38: ++ trap 'on_error $LINENO' ERR 38: ++ trap on_exit EXIT 38: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_tlsdesc.sh .sh -30: + 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 -22: + grep -q 'x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' +27: + grep -Eq 'lea \s*0x.+\(%rip\),%r9 .*' out/test/elf/x86_64/x86_64_relax/log 38: ++ testname=x86_64_tlsdesc 38: ++ echo -n 'Testing x86_64_tlsdesc ... ' 38: Testing x86_64_tlsdesc ... ++ t=out/test/elf/x86_64/x86_64_tlsdesc 38: ++ mkdir -p out/test/elf/x86_64/x86_64_tlsdesc -37: + 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 -22: + readelf -n out/test/elf/x86_64/x86_64_note-property2/d.o -22: + grep -q 'x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' -38: + supports_tlsdesc -38: + '[' x86_64 = arm ']' -38: + '[' -n -mtls-dialect=gnu2 ']' -38: + cat -22: + on_exit -22: + echo OK -22: OK -22: + exit 0 - 27/369 Test #22: x86_64-x86_64_note-property2 ..................... Passed 0.33 sec -test 39 - Start 39: x86_64-x86_64_unique - -39: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_unique.sh" -39: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -39: Environment variables: -39: MACHINE=x86_64 -39: CPU= -39: Test timeout computed to be: 1500 -38: + gcc -c -o out/test/elf/x86_64/x86_64_tlsdesc/a.o -xassembler - +27: + grep -Eq 'lea \s*0x.+\(%rip\),%r10 .*' out/test/elf/x86_64/x86_64_relax/log 39: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_unique.sh +32: + readelf --sections out/test/elf/x86_64/x86_64_section-name/exe +32: + grep -Fq .text.hot 39: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 39: ++ export LC_ALL=C 39: ++ LC_ALL=C @@ -3593,26 +3601,25 @@ 39: ++ tlsdesc_opt=-mtls-dialect=gnu2 39: ++ trap 'on_error $LINENO' ERR 39: ++ trap on_exit EXIT -38: + gcc -fPIC -c -o out/test/elf/x86_64/x86_64_tlsdesc/b.o -xc - -mtls-dialect=gnu2 -38: + cat 39: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_unique.sh .sh +38: + supports_tlsdesc +38: + '[' x86_64 = arm ']' +38: + '[' -n -mtls-dialect=gnu2 ']' +38: + cat +23: + readelf -W --sections out/test/elf/x86_64/x86_64_note/exe +27: + grep -Eq 'lea \s*0x.+\(%rip\),%r11 .*' out/test/elf/x86_64/x86_64_relax/log 39: ++ testname=x86_64_unique 39: ++ echo -n 'Testing x86_64_unique ... ' 39: Testing x86_64_unique ... ++ t=out/test/elf/x86_64/x86_64_unique 39: ++ mkdir -p out/test/elf/x86_64/x86_64_unique -39: + cc -c -o out/test/elf/x86_64/x86_64_unique/a.o -x assembler - -39: + cat -34: + out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe1 -34: + grep -q '1 2 3' -36: + out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/exe -36: + grep -q '3 5 3 5' -34: + 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 -33: + 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 -36: + on_exit -36: + echo OK -36: OK -36: + exit 0 - 28/369 Test #36: x86_64-x86_64_tls-ld-mcmodel-large ............... Passed 0.14 sec +38: + gcc -c -o out/test/elf/x86_64/x86_64_tlsdesc/a.o -xassembler - +23: + grep -Eq '.note.bar\s+NOTE.+000008 00 A 0 0 4' out/test/elf/x86_64/x86_64_note/log +27: + grep -Eq 'lea \s*0x.+\(%rip\),%r12 .*' out/test/elf/x86_64/x86_64_relax/log +32: + on_exit +32: + echo OK +32: OK +32: + exit 0 + 28/369 Test #32: x86_64-x86_64_section-name ....................... Passed 0.19 sec test 40 Start 40: x86_64-x86_64_warn-execstack @@ -3622,8 +3629,20 @@ 40: MACHINE=x86_64 40: CPU= 40: Test timeout computed to be: 1500 -39: + 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*' +27: + grep -Eq 'lea \s*0x.+\(%rip\),%r13 .*' out/test/elf/x86_64/x86_64_relax/log +27: + grep -Eq 'lea \s*0x.+\(%rip\),%r14 .*' out/test/elf/x86_64/x86_64_relax/log +27: + grep -Eq 'lea \s*0x.+\(%rip\),%r15 .*' out/test/elf/x86_64/x86_64_relax/log +23: + grep -Eq '.note.baz\s+NOTE.+000008 00 A 0 0 8' out/test/elf/x86_64/x86_64_note/log +23: + grep -Eq '.note.nonalloc\s+NOTE.+000008 00 0 0 1' out/test/elf/x86_64/x86_64_note/log +39: + cc -c -o out/test/elf/x86_64/x86_64_unique/a.o -x assembler - +39: + cat +27: + grep -Eq 'call.*' out/test/elf/x86_64/x86_64_relax/log +38: + gcc -fPIC -c -o out/test/elf/x86_64/x86_64_tlsdesc/b.o -xc - -mtls-dialect=gnu2 +23: + readelf --segments out/test/elf/x86_64/x86_64_note/exe +38: + cat 40: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_warn-execstack.sh +39: + 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*' +27: + grep -Eq 'jmp.*' out/test/elf/x86_64/x86_64_relax/log 40: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 40: ++ export LC_ALL=C 40: ++ LC_ALL=C @@ -3643,31 +3662,15 @@ 40: ++ trap 'on_error $LINENO' ERR 40: ++ trap on_exit EXIT 40: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_warn-execstack.sh .sh -37: + out/test/elf/x86_64/x86_64_tls-module-base/exe1 -37: + grep -q '^20 3$' -39: + readelf -x .data.foo.1 out/test/elf/x86_64/x86_64_unique/exe -39: + grep -q ab +27: + on_exit +27: + echo OK +27: OK +27: + exit 0 40: ++ testname=x86_64_warn-execstack 40: ++ echo -n 'Testing x86_64_warn-execstack ... ' 40: Testing x86_64_warn-execstack ... ++ t=out/test/elf/x86_64/x86_64_warn-execstack 40: ++ mkdir -p out/test/elf/x86_64/x86_64_warn-execstack -37: + 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 -39: + readelf -x .data.foo.2 out/test/elf/x86_64/x86_64_unique/exe -39: + grep -q c -40: + cat -40: + cc -o out/test/elf/x86_64/x86_64_warn-execstack/a.o -c -xassembler - -34: + 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 -38: + cc -B. -o out/test/elf/x86_64/x86_64_tlsdesc/exe1 out/test/elf/x86_64/x86_64_tlsdesc/a.o out/test/elf/x86_64/x86_64_tlsdesc/b.o -30: + out/test/elf/x86_64/x86_64_reloc/exe -39: + grep -q de -39: + readelf -x .data out/test/elf/x86_64/x86_64_unique/exe -30: + grep -q '^56$' -30: + cat -39: + on_exit -39: + echo OK -39: OK -39: + exit 0 - 29/369 Test #39: x86_64-x86_64_unique ............................. Passed 0.05 sec + 29/369 Test #27: x86_64-x86_64_relax .............................. Passed 0.35 sec test 41 Start 41: x86_64-x86_64_warn-shared-textrel @@ -3677,14 +3680,26 @@ 41: MACHINE=x86_64 41: CPU= 41: Test timeout computed to be: 1500 -30: + cc -c -o out/test/elf/x86_64/x86_64_reloc/d.o out/test/elf/x86_64/x86_64_reloc/d.s 40: + cat -40: + cc -o out/test/elf/x86_64/x86_64_warn-execstack/b.o -c -xc - -33: + out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/exe -33: + grep -q '1 2 3 4 5 6' -33: + 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 -30: + 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 +40: + cc -o out/test/elf/x86_64/x86_64_warn-execstack/a.o -c -xassembler - +35: + out/test/elf/x86_64/x86_64_tls-large-tbss/exe +35: + grep -q '^3 0 5 0 0 0$' +34: + 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: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_warn-shared-textrel.sh +35: + on_exit +35: + echo OK +35: OK +35: + exit 0 + 30/369 Test #35: x86_64-x86_64_tls-large-tbss ..................... Passed 0.19 sec +test 42 + Start 42: x86_64-x86_64_warn-textrel + +42: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_warn-textrel.sh" +42: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +42: Environment variables: +42: MACHINE=x86_64 +42: CPU= +42: Test timeout computed to be: 1500 41: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 41: ++ export LC_ALL=C 41: ++ LC_ALL=C @@ -3704,48 +3719,16 @@ 41: ++ trap 'on_error $LINENO' ERR 41: ++ trap on_exit EXIT 41: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_warn-shared-textrel.sh .sh +40: + cat +40: + cc -o out/test/elf/x86_64/x86_64_warn-execstack/b.o -c -xc - 41: ++ testname=x86_64_warn-shared-textrel 41: ++ echo -n 'Testing x86_64_warn-shared-textrel ... ' 41: Testing x86_64_warn-shared-textrel ... ++ t=out/test/elf/x86_64/x86_64_warn-shared-textrel 41: ++ mkdir -p out/test/elf/x86_64/x86_64_warn-shared-textrel 41: + is_musl +42: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_warn-textrel.sh 41: + ldd --version -34: + out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe2 -34: + grep -q '1 2 3' 41: + grep -q musl -37: + out/test/elf/x86_64/x86_64_tls-module-base/exe2 -34: + 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 -37: + grep -q '^20 3$' -41: + cat -41: + cc -c -o out/test/elf/x86_64/x86_64_warn-shared-textrel/a.o -x assembler - -37: + 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 -38: + grep -q 42 -38: + out/test/elf/x86_64/x86_64_tlsdesc/exe1 -33: + out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/exe -33: + grep -q '1 2 3 4 5 6' -38: + cc -B. -o out/test/elf/x86_64/x86_64_tlsdesc/exe2 out/test/elf/x86_64/x86_64_tlsdesc/a.o out/test/elf/x86_64/x86_64_tlsdesc/b.o -Wl,-no-relax -33: + on_exit -33: + echo OK -33: OK -33: + exit 0 - 30/369 Test #33: x86_64-x86_64_tls-gd-mcmodel-large ............... Passed 0.24 sec -test 42 - Start 42: x86_64-x86_64_warn-textrel - -42: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_warn-textrel.sh" -42: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -42: Environment variables: -42: MACHINE=x86_64 -42: CPU= -42: Test timeout computed to be: 1500 -30: + out/test/elf/x86_64/x86_64_reloc/exe -30: + grep -q '^56$' -30: + 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: + 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 -40: + grep -q 'may cause a segmentation fault' -41: + cc -c -o out/test/elf/x86_64/x86_64_warn-shared-textrel/b.o -fPIC -xc - -41: + cat -42: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_warn-textrel.sh 42: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 42: ++ export LC_ALL=C 42: ++ LC_ALL=C @@ -3765,6 +3748,8 @@ 42: ++ trap 'on_error $LINENO' ERR 42: ++ trap on_exit EXIT 42: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_warn-textrel.sh .sh +41: + cat +41: + cc -c -o out/test/elf/x86_64/x86_64_warn-shared-textrel/a.o -x assembler - 42: ++ testname=x86_64_warn-textrel 42: ++ echo -n 'Testing x86_64_warn-textrel ... ' 42: Testing x86_64_warn-textrel ... ++ t=out/test/elf/x86_64/x86_64_warn-textrel @@ -3772,20 +3757,32 @@ 42: + is_musl 42: + ldd --version 42: + grep -q musl -42: + cc -c -o out/test/elf/x86_64/x86_64_warn-textrel/a.o -x assembler - -42: + cat -37: + 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 -34: + 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 -38: + out/test/elf/x86_64/x86_64_tlsdesc/exe2 -38: + grep -q 42 +39: + readelf -x .data.foo.1 out/test/elf/x86_64/x86_64_unique/exe +39: + grep -q ab +41: + cat +41: + cc -c -o out/test/elf/x86_64/x86_64_warn-shared-textrel/b.o -fPIC -xc - 42: + cat +42: + cc -c -o out/test/elf/x86_64/x86_64_warn-textrel/a.o -x assembler - +39: + grep -q c +23: + grep -Fq '01 .note.baz .note.foo .note.bar' out/test/elf/x86_64/x86_64_note/log +39: + readelf -x .data.foo.2 out/test/elf/x86_64/x86_64_unique/exe 42: + cc -c -o out/test/elf/x86_64/x86_64_warn-textrel/b.o -fPIC -xc - -38: + cc -B. -shared -o out/test/elf/x86_64/x86_64_tlsdesc/c.so out/test/elf/x86_64/x86_64_tlsdesc/a.o -40: + on_exit -40: + echo OK -40: OK -40: + exit 0 - 31/369 Test #40: x86_64-x86_64_warn-execstack ..................... Passed 0.12 sec +42: + cat +39: + grep -q de +39: + readelf -x .data out/test/elf/x86_64/x86_64_unique/exe +23: + grep -q 'NOTE.*0x0000000000000000 0x0000000000000000' out/test/elf/x86_64/x86_64_note/log +38: + cc -B. -o out/test/elf/x86_64/x86_64_tlsdesc/exe1 out/test/elf/x86_64/x86_64_tlsdesc/a.o out/test/elf/x86_64/x86_64_tlsdesc/b.o +23: + on_exit +23: + echo OK +23: OK +23: + exit 0 +39: + on_exit +39: + echo OK +39: OK +39: + exit 0 +37: + cat + 31/369 Test #23: x86_64-x86_64_note ............................... Passed 0.42 sec + 32/369 Test #39: x86_64-x86_64_unique ............................. Passed 0.06 sec test 43 Start 43: x86_64-x86_64_z-ibt @@ -3795,11 +3792,18 @@ 43: MACHINE=x86_64 43: CPU= 43: Test timeout computed to be: 1500 -41: + 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 -30: + out/test/elf/x86_64/x86_64_reloc/exe -30: + grep -q '^56$' -30: + cat -30: + 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 +test 44 + Start 44: x86_64-x86_64_z-ibtplt + +44: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_z-ibtplt.sh" +44: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +44: Environment variables: +44: MACHINE=x86_64 +44: CPU= +44: Test timeout computed to be: 1500 +22: + cat +22: + cc -Xassembler -mx86-used-note=no -c -o out/test/elf/x86_64/x86_64_note-property2/b.o -xassembler-with-cpp - +37: + cc -o out/test/elf/x86_64/x86_64_tls-module-base/c.o -c -xc - 43: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_z-ibt.sh 43: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 43: ++ export LC_ALL=C @@ -3817,40 +3821,16 @@ 43: ++ QEMU= 43: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 43: ++ tlsdesc_opt=-mtls-dialect=gnu2 -34: + grep -q '1 2 3' 43: ++ trap 'on_error $LINENO' ERR 43: ++ trap on_exit EXIT -34: + out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe3 43: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_z-ibt.sh .sh -37: + grep -q '^20 3$' -37: + out/test/elf/x86_64/x86_64_tls-module-base/exe3 43: ++ testname=x86_64_z-ibt 43: ++ echo -n 'Testing x86_64_z-ibt ... ' +34: + out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe1 43: Testing x86_64_z-ibt ... ++ t=out/test/elf/x86_64/x86_64_z-ibt 43: ++ mkdir -p out/test/elf/x86_64/x86_64_z-ibt -34: + 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 -42: + 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 -38: + cc -B. -o out/test/elf/x86_64/x86_64_tlsdesc/exe3 out/test/elf/x86_64/x86_64_tlsdesc/b.o out/test/elf/x86_64/x86_64_tlsdesc/c.so -37: + on_exit -37: + echo OK -37: OK -37: + exit 0 -43: + echo endbr64 - 32/369 Test #37: x86_64-x86_64_tls-module-base .................... Passed 0.24 sec -test 44 - Start 44: x86_64-x86_64_z-ibtplt - -44: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_z-ibtplt.sh" -44: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -44: Environment variables: -44: MACHINE=x86_64 -44: CPU= -44: Test timeout computed to be: 1500 -43: + cc -o /dev/null -c -xassembler - -43: + cc -o out/test/elf/x86_64/x86_64_z-ibt/a.o -c -x assembler - -43: + cat +34: + grep -q '1 2 3' 44: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_z-ibtplt.sh -41: + grep -q 'relocation against symbol `main'\'' in read-only section' out/test/elf/x86_64/x86_64_warn-shared-textrel/log 44: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 44: ++ export LC_ALL=C 44: ++ LC_ALL=C @@ -3869,18 +3849,51 @@ 44: ++ tlsdesc_opt=-mtls-dialect=gnu2 44: ++ trap 'on_error $LINENO' ERR 44: ++ trap on_exit EXIT +43: + cc -o /dev/null -c -xassembler - +43: + echo endbr64 44: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_z-ibtplt.sh .sh -41: + grep -q 'creating a DT_TEXTREL in an output file' out/test/elf/x86_64/x86_64_warn-shared-textrel/log -43: + cc -B. -o out/test/elf/x86_64/x86_64_z-ibt/exe out/test/elf/x86_64/x86_64_z-ibt/a.o +34: + 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 44: ++ testname=x86_64_z-ibtplt 44: ++ echo -n 'Testing x86_64_z-ibtplt ... ' 44: Testing x86_64_z-ibtplt ... ++ t=out/test/elf/x86_64/x86_64_z-ibtplt 44: ++ mkdir -p out/test/elf/x86_64/x86_64_z-ibtplt -41: + on_exit -41: + echo OK -41: OK -41: + exit 0 - 33/369 Test #41: x86_64-x86_64_warn-shared-textrel ................ Passed 0.12 sec +44: + cc -fPIC -o out/test/elf/x86_64/x86_64_z-ibtplt/a.o -c -xc - +44: + cat +43: + cat +43: + cc -o out/test/elf/x86_64/x86_64_z-ibt/a.o -c -x assembler - +36: + 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 +33: + 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 +22: + cat +22: + cc -Xassembler -mx86-used-note=no -c -o out/test/elf/x86_64/x86_64_note-property2/c.o -xassembler-with-cpp - +42: + 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: + 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 +40: + grep -q 'may cause a segmentation fault' +40: + 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 +43: + cc -B. -o out/test/elf/x86_64/x86_64_z-ibt/exe out/test/elf/x86_64/x86_64_z-ibt/a.o +30: + out/test/elf/x86_64/x86_64_reloc/exe +30: + grep -q '^42$' +37: + 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 +38: + grep -q 42 +34: + 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 +30: + 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 +38: + out/test/elf/x86_64/x86_64_tlsdesc/exe1 +38: + cc -B. -o out/test/elf/x86_64/x86_64_tlsdesc/exe2 out/test/elf/x86_64/x86_64_tlsdesc/a.o out/test/elf/x86_64/x86_64_tlsdesc/b.o -Wl,-no-relax +22: + ./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 +43: + readelf --notes out/test/elf/x86_64/x86_64_z-ibt/exe +33: + 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 +34: + grep -q '1 2 3' +22: mold: warning: entry symbol is not defined: _start +41: + grep -q 'relocation against symbol `main'\'' in read-only section' out/test/elf/x86_64/x86_64_warn-shared-textrel/log +36: + out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/exe +40: + on_exit +40: + echo OK +40: OK +40: + exit 0 +44: + 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 +43: + grep -qw SHSTK out/test/elf/x86_64/x86_64_z-ibt/log +34: + out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe2 +42: + grep -q 'relocation against symbol `main'\'' in read-only section' out/test/elf/x86_64/x86_64_warn-textrel/log + 33/369 Test #40: x86_64-x86_64_warn-execstack ..................... Passed 0.12 sec test 45 Start 45: x86_64-x86_64_z-shstk @@ -3890,14 +3903,37 @@ 45: MACHINE=x86_64 45: CPU= 45: Test timeout computed to be: 1500 -44: + cc -fPIC -o out/test/elf/x86_64/x86_64_z-ibtplt/a.o -c -xc - -44: + cat -38: + out/test/elf/x86_64/x86_64_tlsdesc/exe3 -38: + grep -q 42 -38: + cc -B. -shared -o out/test/elf/x86_64/x86_64_tlsdesc/c.so out/test/elf/x86_64/x86_64_tlsdesc/a.o -Wl,-no-relax +42: + grep -q 'creating a DT_TEXTREL in an output file' out/test/elf/x86_64/x86_64_warn-textrel/log +42: + on_exit +42: + echo OK +42: OK +42: + exit 0 +37: + out/test/elf/x86_64/x86_64_tls-module-base/exe1 +37: + grep -q '^20 3$' +37: + 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 +22: + readelf -n out/test/elf/x86_64/x86_64_note-property2/exe1 +22: + grep -q 'x86 feature: SHSTK' +22: + grep -q 'x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' +22: + readelf -n out/test/elf/x86_64/x86_64_note-property2/exe1 +36: + grep -q '3 5 3 5' +36: + 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 +34: + 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 +41: + grep -q 'creating a DT_TEXTREL in an output file' out/test/elf/x86_64/x86_64_warn-shared-textrel/log +43: + 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 + 34/369 Test #42: x86_64-x86_64_warn-textrel ....................... Passed 0.11 sec +test 46 + Start 46: x86_64-x86_64_z-text + +46: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_z-text.sh" +46: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +46: Environment variables: +46: MACHINE=x86_64 +46: CPU= +46: Test timeout computed to be: 1500 +22: + grep -q 'x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' +22: + readelf -n out/test/elf/x86_64/x86_64_note-property2/exe1 +22: + ./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 45: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_z-shstk.sh -34: + 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 -42: + grep -q 'relocation against symbol `main'\'' in read-only section' out/test/elf/x86_64/x86_64_warn-textrel/log 45: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 45: ++ export LC_ALL=C 45: ++ LC_ALL=C @@ -3917,32 +3953,28 @@ 45: ++ trap 'on_error $LINENO' ERR 45: ++ trap on_exit EXIT 45: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_z-shstk.sh .sh -30: + grep -q '^56$' -30: + out/test/elf/x86_64/x86_64_reloc/exe 45: ++ testname=x86_64_z-shstk -42: + grep -q 'creating a DT_TEXTREL in an output file' out/test/elf/x86_64/x86_64_warn-textrel/log 45: ++ echo -n 'Testing x86_64_z-shstk ... ' 45: Testing x86_64_z-shstk ... ++ t=out/test/elf/x86_64/x86_64_z-shstk 45: ++ mkdir -p out/test/elf/x86_64/x86_64_z-shstk -42: + on_exit -42: + echo OK -42: OK -42: + exit 0 - 34/369 Test #42: x86_64-x86_64_warn-textrel ....................... Passed 0.11 sec -test 46 - Start 46: x86_64-x86_64_z-text +41: + on_exit +41: + echo OK +41: OK +41: + exit 0 + 35/369 Test #41: x86_64-x86_64_warn-shared-textrel ................ Passed 0.12 sec +test 47 + Start 47: x86_64-abs-error -46: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_z-text.sh" -46: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -46: Environment variables: -46: MACHINE=x86_64 -46: CPU= -46: Test timeout computed to be: 1500 -30: + 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 +47: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/abs-error.sh" +47: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +47: Environment variables: +47: MACHINE=x86_64 +47: CPU= +47: Test timeout computed to be: 1500 45: + echo endbr64 -45: + cc -o /dev/null -c -xassembler - -45: + cat -45: + cc -o out/test/elf/x86_64/x86_64_z-shstk/a.o -c -x assembler - +38: + out/test/elf/x86_64/x86_64_tlsdesc/exe2 +38: + grep -q 42 +38: + cc -B. -shared -o out/test/elf/x86_64/x86_64_tlsdesc/c.so out/test/elf/x86_64/x86_64_tlsdesc/a.o 46: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_z-text.sh 46: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 46: ++ export LC_ALL=C @@ -3962,45 +3994,7 @@ 46: ++ tlsdesc_opt=-mtls-dialect=gnu2 46: ++ trap 'on_error $LINENO' ERR 46: ++ trap on_exit EXIT -46: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_z-text.sh .sh -46: ++ testname=x86_64_z-text -46: ++ echo -n 'Testing x86_64_z-text ... ' -46: Testing x86_64_z-text ... ++ t=out/test/elf/x86_64/x86_64_z-text -46: ++ mkdir -p out/test/elf/x86_64/x86_64_z-text -46: + is_musl -46: + ldd --version -46: + grep -q musl -43: + readelf --notes out/test/elf/x86_64/x86_64_z-ibt/exe -45: + cc -B. -o out/test/elf/x86_64/x86_64_z-shstk/exe out/test/elf/x86_64/x86_64_z-shstk/a.o -44: + 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 -43: + grep -qw SHSTK out/test/elf/x86_64/x86_64_z-ibt/log -46: + cc -c -o out/test/elf/x86_64/x86_64_z-text/a.o -x assembler - -46: + cat -43: + 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 -38: + cc -B. -o out/test/elf/x86_64/x86_64_tlsdesc/exe4 out/test/elf/x86_64/x86_64_tlsdesc/b.o out/test/elf/x86_64/x86_64_tlsdesc/c.so -Wl,-no-relax -46: + cat -46: + cc -c -o out/test/elf/x86_64/x86_64_z-text/b.o -fPIC -xc - -34: + out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe4 -34: + grep -q '1 2 3' -34: + on_exit -34: + echo OK -34: OK -34: + exit 0 - 35/369 Test #34: x86_64-x86_64_tls-gd-to-ie ....................... Passed 0.39 sec -test 47 - Start 47: x86_64-abs-error - -47: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/abs-error.sh" -47: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -47: Environment variables: -47: MACHINE=x86_64 -47: CPU= -47: Test timeout computed to be: 1500 -30: + out/test/elf/x86_64/x86_64_reloc/exe -30: + grep -q '^56$' 47: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/abs-error.sh -30: + cat -30: + 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 47: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 47: ++ export LC_ALL=C 47: ++ LC_ALL=C @@ -4008,9 +4002,6 @@ 47: ++ '[' -z '' ']' 47: ++ TESTDIR=out/test/elf/x86_64 47: ++ CC=cc -5: + 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 -43: + grep -qw IBT -43: + readelf --notes out/test/elf/x86_64/x86_64_z-ibt/exe 47: ++ CXX=c++ 47: ++ GCC=gcc 47: ++ GXX=g++ @@ -4022,16 +4013,45 @@ 47: ++ tlsdesc_opt=-mtls-dialect=gnu2 47: ++ trap 'on_error $LINENO' ERR 47: ++ trap on_exit EXIT +45: + cc -o /dev/null -c -xassembler - +22: mold: warning: entry symbol is not defined: _start +46: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/x86_64_z-text.sh .sh +22: + readelf -n out/test/elf/x86_64/x86_64_note-property2/exe2 +22: + grep -q 'x86 feature: SHSTK' 47: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/abs-error.sh .sh -43: + on_exit -43: + echo OK -43: OK -43: + exit 0 +44: + cc -o out/test/elf/x86_64/x86_64_z-ibtplt/c.o -c -xc - +36: + out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/exe 47: ++ testname=abs-error 47: ++ echo -n 'Testing abs-error ... ' 47: Testing abs-error ... ++ t=out/test/elf/x86_64/abs-error 47: ++ mkdir -p out/test/elf/x86_64/abs-error - 36/369 Test #43: x86_64-x86_64_z-ibt .............................. Passed 0.13 sec +34: + 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 +46: ++ testname=x86_64_z-text +46: ++ echo -n 'Testing x86_64_z-text ... ' +46: Testing x86_64_z-text ... ++ t=out/test/elf/x86_64/x86_64_z-text +46: ++ mkdir -p out/test/elf/x86_64/x86_64_z-text +36: + grep -q '3 5 3 5' +43: + grep -qw IBT +43: + readelf --notes out/test/elf/x86_64/x86_64_z-ibt/exe +47: + '[' x86_64 = aarch64 ']' +47: + '[' x86_64 = ppc64 ']' +47: + '[' x86_64 = ppc64le ']' +47: + '[' x86_64 = s390x ']' +47: + '[' x86_64 = alpha ']' +47: + [[ x86_64 = loongarch* ]] +45: + cat +45: + cc -o out/test/elf/x86_64/x86_64_z-shstk/a.o -c -x assembler - +30: + grep -q '^42$' +36: + on_exit +36: + echo OK +36: OK +36: + exit 0 +22: + readelf -n out/test/elf/x86_64/x86_64_note-property2/exe2 +22: + grep -q 'x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' +47: + cc -fPIC -c -o out/test/elf/x86_64/abs-error/a.o -xassembler - +47: + cat +44: + cat + 36/369 Test #36: x86_64-x86_64_tls-ld-mcmodel-large ............... Passed 0.32 sec test 48 Start 48: x86_64-absolute-symbols @@ -4041,38 +4061,45 @@ 48: MACHINE=x86_64 48: CPU= 48: Test timeout computed to be: 1500 -47: + '[' x86_64 = aarch64 ']' -47: + '[' x86_64 = ppc64 ']' -47: + '[' x86_64 = ppc64le ']' -47: + '[' x86_64 = s390x ']' -47: + '[' x86_64 = alpha ']' -47: + [[ x86_64 = loongarch* ]] +22: + grep -q 'x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' +22: + readelf -n out/test/elf/x86_64/x86_64_note-property2/exe2 +22: + ./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 +47: + cc -fno-PIC -c -o out/test/elf/x86_64/abs-error/b.o -xc - +30: + out/test/elf/x86_64/x86_64_reloc/exe +30: + cat +46: + is_musl +46: + grep -q musl +46: + ldd --version +46: + cc -c -o out/test/elf/x86_64/x86_64_z-text/a.o -x assembler - +33: + 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 +43: + on_exit +43: + echo OK +43: OK +43: + exit 0 +37: + grep -q '^20 3$' +37: + out/test/elf/x86_64/x86_64_tls-module-base/exe2 +37: + 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 + 37/369 Test #43: x86_64-x86_64_z-ibt .............................. Passed 0.12 sec +test 49 + Start 49: x86_64-allow-multiple-definition + +49: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/allow-multiple-definition.sh" +49: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +49: Environment variables: +49: MACHINE=x86_64 +49: CPU= +49: Test timeout computed to be: 1500 47: + cat -47: + cc -fPIC -c -o out/test/elf/x86_64/abs-error/a.o -xassembler - -19: + cc -o out/test/elf/x86_64/x86_64_mergeable-records/a.o -c -x assembler - -19: + cat -44: + cc -o out/test/elf/x86_64/x86_64_z-ibtplt/c.o -c -xc - -44: + cat -20: + cc -o out/test/elf/x86_64/x86_64_mergeable-strings/a.o -c -x assembler - -20: + cat -45: + readelf --notes out/test/elf/x86_64/x86_64_z-shstk/exe -19: + 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 -20: + 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 -45: + grep -qw SHSTK out/test/elf/x86_64/x86_64_z-shstk/log +30: + 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 +46: + cat +45: + cc -B. -o out/test/elf/x86_64/x86_64_z-shstk/exe out/test/elf/x86_64/x86_64_z-shstk/a.o +46: + cc -c -o out/test/elf/x86_64/x86_64_z-text/b.o -fPIC -xc - +46: + cat 48: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/absolute-symbols.sh -38: + out/test/elf/x86_64/x86_64_tlsdesc/exe4 -47: + cat -38: + grep -q 42 -47: + cc -fno-PIC -c -o out/test/elf/x86_64/abs-error/b.o -xc - -38: + on_exit -38: + echo OK -38: OK -45: + 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 48: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 48: ++ export LC_ALL=C 48: ++ LC_ALL=C 48: ++ '[' -z x86_64 ']' -38: + exit 0 48: ++ '[' -z '' ']' 48: ++ TESTDIR=out/test/elf/x86_64 48: ++ CC=cc @@ -4088,30 +4115,11 @@ 48: ++ trap 'on_error $LINENO' ERR 48: ++ trap on_exit EXIT 48: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/absolute-symbols.sh .sh - 37/369 Test #38: x86_64-x86_64_tlsdesc ............................ Passed 0.31 sec -test 49 - Start 49: x86_64-allow-multiple-definition - -49: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/allow-multiple-definition.sh" -49: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -49: Environment variables: -49: MACHINE=x86_64 -49: CPU= -49: Test timeout computed to be: 1500 -10: + cat -10: + c++ -o out/test/elf/x86_64/x86_64_ifunc-alias/a.o -c -xc++ - -fno-PIE +49: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/allow-multiple-definition.sh 48: ++ testname=absolute-symbols 48: ++ echo -n 'Testing absolute-symbols ... ' 48: Testing absolute-symbols ... ++ t=out/test/elf/x86_64/absolute-symbols 48: ++ mkdir -p out/test/elf/x86_64/absolute-symbols -48: + '[' x86_64 = sparc64 ']' -48: + cat -23: + test_cflags -Xassembler -mx86-used-note=no -23: + cc -Xassembler -mx86-used-note=no -o /dev/null -xc - -23: + echo 'int main() {}' -46: + 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 -48: + cc -o out/test/elf/x86_64/absolute-symbols/a.o -c -x assembler - -49: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/allow-multiple-definition.sh 49: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 49: ++ export LC_ALL=C 49: ++ LC_ALL=C @@ -4130,33 +4138,38 @@ 49: ++ tlsdesc_opt=-mtls-dialect=gnu2 49: ++ trap 'on_error $LINENO' ERR 49: ++ trap on_exit EXIT +22: + readelf -n out/test/elf/x86_64/x86_64_note-property2/d.o +22: + grep -q 'x86 feature: SHSTK' 49: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/allow-multiple-definition.sh .sh 49: ++ testname=allow-multiple-definition 49: ++ echo -n 'Testing allow-multiple-definition ... ' 49: Testing allow-multiple-definition ... ++ t=out/test/elf/x86_64/allow-multiple-definition 49: ++ mkdir -p out/test/elf/x86_64/allow-multiple-definition -48: + cc -o out/test/elf/x86_64/absolute-symbols/b.o -c -fno-PIC -xc - -48: + cat +48: + '[' x86_64 = sparc64 ']' +38: + cc -B. -o out/test/elf/x86_64/x86_64_tlsdesc/exe3 out/test/elf/x86_64/x86_64_tlsdesc/b.o out/test/elf/x86_64/x86_64_tlsdesc/c.so +44: + 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 49: + echo 'int main() { return 0; }' +22: + readelf -n out/test/elf/x86_64/x86_64_note-property2/d.o 49: + cc -c -o out/test/elf/x86_64/allow-multiple-definition/a.o -xc - -30: + out/test/elf/x86_64/x86_64_reloc/exe -30: + grep -q '^76$' -30: + 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 +34: + grep -q '1 2 3' +34: + out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe3 +48: + cat +34: + 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 +33: + out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/exe +33: + grep -q '1 2 3 4 5 6' +22: + grep -q 'x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' +33: + 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 +48: + cc -o out/test/elf/x86_64/absolute-symbols/a.o -c -x assembler - +22: + grep -q 'x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' +22: + readelf -n out/test/elf/x86_64/x86_64_note-property2/d.o +37: + 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 47: + 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: + 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: + out/test/elf/x86_64/x86_64_z-text/exe -46: + grep -q 3 -46: + readelf --dynamic out/test/elf/x86_64/x86_64_z-text/exe -46: + grep -Fq '(TEXTREL)' -45: + readelf --notes out/test/elf/x86_64/x86_64_z-shstk/exe -45: + grep -qw SHSTK -46: + readelf --dynamic out/test/elf/x86_64/x86_64_z-text/exe -46: + grep -q '\(FLAGS\).*TEXTREL' -45: + on_exit -45: + echo OK -45: OK -45: + exit 0 - 38/369 Test #45: x86_64-x86_64_z-shstk ............................ Passed 0.15 sec +48: + cat +22: + on_exit +22: + echo OK +22: OK +22: + exit 0 + 38/369 Test #22: x86_64-x86_64_note-property2 ..................... Passed 0.70 sec test 50 Start 50: x86_64-ar-alignment @@ -4166,49 +4179,8 @@ 50: MACHINE=x86_64 50: CPU= 50: Test timeout computed to be: 1500 -46: + on_exit -46: + echo OK -46: OK -46: + exit 0 - 39/369 Test #46: x86_64-x86_64_z-text ............................. Passed 0.13 sec -test 51 - Start 51: x86_64-as-needed-dso - -51: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/as-needed-dso.sh" -51: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -51: Environment variables: -51: MACHINE=x86_64 -51: CPU= -51: Test timeout computed to be: 1500 -10: + 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 -44: + out/test/elf/x86_64/x86_64_z-ibtplt/exe -44: + grep -q 'Hello world' -30: + out/test/elf/x86_64/x86_64_reloc/exe -30: + grep -q '^76$' +48: + cc -o out/test/elf/x86_64/absolute-symbols/b.o -c -fno-PIC -xc - 50: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/ar-alignment.sh -49: + echo 'int main() { return 1; }' -44: + on_exit -44: + echo OK -44: OK -44: + exit 0 -49: + cc -c -o out/test/elf/x86_64/allow-multiple-definition/b.o -xc - - 40/369 Test #44: x86_64-x86_64_z-ibtplt ........................... Passed 0.19 sec -test 52 - Start 52: x86_64-as-needed-dso2 - -52: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/as-needed-dso2.sh" -52: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -52: Environment variables: -52: MACHINE=x86_64 -52: CPU= -52: Test timeout computed to be: 1500 -47: + grep -q 'recompile with -fPIC' out/test/elf/x86_64/abs-error/log -47: + on_exit -47: + echo OK -47: OK -47: + exit 0 -30: + cat -30: + 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 50: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 50: ++ export LC_ALL=C 50: ++ LC_ALL=C @@ -4232,19 +4204,34 @@ 50: ++ echo -n 'Testing ar-alignment ... ' 50: Testing ar-alignment ... ++ t=out/test/elf/x86_64/ar-alignment 50: ++ mkdir -p out/test/elf/x86_64/ar-alignment - 41/369 Test #47: x86_64-abs-error ................................. Passed 0.10 sec -test 53 - Start 53: x86_64-as-needed-weak - -53: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/as-needed-weak.sh" -53: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -53: Environment variables: -53: MACHINE=x86_64 -53: CPU= -53: Test timeout computed to be: 1500 -50: + cat +34: + 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 50: + cc -o out/test/elf/x86_64/ar-alignment/a.o -c -xc - +46: + 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 +45: + readelf --notes out/test/elf/x86_64/x86_64_z-shstk/exe +50: + cat +49: + cc -c -o out/test/elf/x86_64/allow-multiple-definition/b.o -xc - +49: + echo 'int main() { return 1; }' +33: + out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/exe +33: + grep -q '1 2 3 4 5 6' +45: + grep -qw SHSTK out/test/elf/x86_64/x86_64_z-shstk/log +33: + on_exit +33: + echo OK +33: OK +33: + exit 0 + 39/369 Test #33: x86_64-x86_64_tls-gd-mcmodel-large ............... Passed 0.46 sec +test 51 + Start 51: x86_64-as-needed-dso + +51: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/as-needed-dso.sh" +51: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +51: Environment variables: +51: MACHINE=x86_64 +51: CPU= +51: Test timeout computed to be: 1500 +45: + 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 51: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/as-needed-dso.sh +38: + grep -q 42 +38: + out/test/elf/x86_64/x86_64_tlsdesc/exe3 51: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 51: ++ export LC_ALL=C 51: ++ LC_ALL=C @@ -4264,13 +4251,48 @@ 51: ++ trap 'on_error $LINENO' ERR 51: ++ trap on_exit EXIT 51: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/as-needed-dso.sh .sh +30: + grep -q '^56$' +30: + out/test/elf/x86_64/x86_64_reloc/exe +37: + grep -q '^20 3$' 51: ++ testname=as-needed-dso 51: ++ echo -n 'Testing as-needed-dso ... ' 51: Testing as-needed-dso ... ++ t=out/test/elf/x86_64/as-needed-dso 51: ++ mkdir -p out/test/elf/x86_64/as-needed-dso -51: + cat +37: + out/test/elf/x86_64/x86_64_tls-module-base/exe3 +38: + cc -B. -shared -o out/test/elf/x86_64/x86_64_tlsdesc/c.so out/test/elf/x86_64/x86_64_tlsdesc/a.o -Wl,-no-relax +30: + 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 51: + cc -o out/test/elf/x86_64/as-needed-dso/libfoo.so -shared -fPIC -Wl,-soname,libfoo.so -xc - -48: + 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 +37: + on_exit +37: + echo OK +37: OK +37: + exit 0 +44: + out/test/elf/x86_64/x86_64_z-ibtplt/exe + 40/369 Test #37: x86_64-x86_64_tls-module-base .................... Passed 0.40 sec +test 52 + Start 52: x86_64-as-needed-dso2 + +52: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/as-needed-dso2.sh" +52: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +52: Environment variables: +52: MACHINE=x86_64 +52: CPU= +52: Test timeout computed to be: 1500 +44: + grep -q 'Hello world' +44: + on_exit +44: + echo OK +44: OK +44: + exit 0 +51: + cat + 41/369 Test #44: x86_64-x86_64_z-ibtplt ........................... Passed 0.24 sec +test 53 + Start 53: x86_64-as-needed-weak + +53: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/as-needed-weak.sh" +53: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +53: Environment variables: +53: MACHINE=x86_64 +53: CPU= +53: Test timeout computed to be: 1500 52: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/as-needed-dso2.sh 52: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 52: ++ export LC_ALL=C @@ -4291,16 +4313,47 @@ 52: ++ trap 'on_error $LINENO' ERR 52: ++ trap on_exit EXIT 52: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/as-needed-dso2.sh .sh -23: + CFLAGS='-Xassembler -mx86-used-note=no' 52: ++ testname=as-needed-dso2 52: ++ echo -n 'Testing as-needed-dso2 ... ' 52: Testing as-needed-dso2 ... ++ t=out/test/elf/x86_64/as-needed-dso2 52: ++ mkdir -p out/test/elf/x86_64/as-needed-dso2 -23: + cat -23: + cc -Xassembler -mx86-used-note=no -o out/test/elf/x86_64/x86_64_note/a.o -c -x assembler - -52: + cat 52: + cc -c -fPIC -o out/test/elf/x86_64/as-needed-dso2/a.o -xc - -23: + ./mold -static -o out/test/elf/x86_64/x86_64_note/exe out/test/elf/x86_64/x86_64_note/a.o +52: + cat +46: + grep -q 3 +46: + out/test/elf/x86_64/x86_64_z-text/exe +46: + grep -Fq '(TEXTREL)' +46: + readelf --dynamic out/test/elf/x86_64/x86_64_z-text/exe +34: + grep -q '1 2 3' +34: + out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe4 +34: + on_exit +34: + echo OK +34: OK +34: + exit 0 + 42/369 Test #34: x86_64-x86_64_tls-gd-to-ie ....................... Passed 0.53 sec +test 54 + Start 54: x86_64-as-needed + +54: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/as-needed.sh" +54: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +54: Environment variables: +54: MACHINE=x86_64 +54: CPU= +54: Test timeout computed to be: 1500 +46: + readelf --dynamic out/test/elf/x86_64/x86_64_z-text/exe +46: + grep -q '\(FLAGS\).*TEXTREL' +46: + on_exit +46: + echo OK +46: OK +46: + exit 0 +50: + head -c 1 /dev/zero +50: + cat +50: + cc -o out/test/elf/x86_64/ar-alignment/b.o -c -xc - +47: + grep -q 'recompile with -fPIC' out/test/elf/x86_64/abs-error/log +47: + on_exit +47: + echo OK +47: OK +47: + exit 0 +49: + 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 53: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/as-needed-weak.sh 53: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 53: ++ export LC_ALL=C @@ -4318,52 +4371,18 @@ 53: ++ QEMU= 53: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 53: ++ tlsdesc_opt=-mtls-dialect=gnu2 -49: + 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 53: ++ trap 'on_error $LINENO' ERR 53: ++ trap on_exit EXIT 53: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/as-needed-weak.sh .sh -23: + readelf -W --sections out/test/elf/x86_64/x86_64_note/exe 53: ++ testname=as-needed-weak 53: ++ echo -n 'Testing as-needed-weak ... ' 53: Testing as-needed-weak ... ++ t=out/test/elf/x86_64/as-needed-weak 53: ++ mkdir -p out/test/elf/x86_64/as-needed-weak -50: + head -c 1 /dev/zero -23: + grep -Eq '.note.bar\s+NOTE.+000008 00 A 0 0 4' out/test/elf/x86_64/x86_64_note/log -53: + cat -53: + cc -fPIC -o out/test/elf/x86_64/as-needed-weak/a.o -c -xc - -30: + out/test/elf/x86_64/x86_64_reloc/exe -23: + grep -Eq '.note.baz\s+NOTE.+000008 00 A 0 0 8' out/test/elf/x86_64/x86_64_note/log -30: + grep -q '^76$' -30: + 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 -23: + grep -Eq '.note.nonalloc\s+NOTE.+000008 00 0 0 1' out/test/elf/x86_64/x86_64_note/log -48: + out/test/elf/x86_64/absolute-symbols/exe -48: + grep -q '^ip=0x80000.$' -23: + readelf --segments out/test/elf/x86_64/x86_64_note/exe -48: + on_exit -48: + echo OK -48: OK -48: + exit 0 - 42/369 Test #48: x86_64-absolute-symbols .......................... Passed 0.13 sec -test 54 - Start 54: x86_64-as-needed - -54: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/as-needed.sh" -54: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -54: Environment variables: -54: MACHINE=x86_64 -54: CPU= -54: Test timeout computed to be: 1500 -51: + cat -51: + cc -o out/test/elf/x86_64/as-needed-dso/libbar.so -shared -fPIC -Wl,-soname,libbar.so -xc - -23: + grep -Fq '01 .note.baz .note.foo .note.bar' out/test/elf/x86_64/x86_64_note/log -23: + grep -q 'NOTE.*0x0000000000000000 0x0000000000000000' out/test/elf/x86_64/x86_64_note/log -23: + on_exit -23: + echo OK -23: OK -23: + exit 0 -52: + cat -52: + cc -c -fPIC -o out/test/elf/x86_64/as-needed-dso2/b.o -xc - - 43/369 Test #23: x86_64-x86_64_note ............................... Passed 0.70 sec +48: + 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: + grep -qw SHSTK +45: + readelf --notes out/test/elf/x86_64/x86_64_z-shstk/exe + 43/369 Test #46: x86_64-x86_64_z-text ............................. Passed 0.27 sec + 44/369 Test #47: x86_64-abs-error ................................. Passed 0.30 sec test 55 Start 55: x86_64-auxiliary @@ -4373,12 +4392,23 @@ 55: MACHINE=x86_64 55: CPU= 55: Test timeout computed to be: 1500 -49: + 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: + cat -50: + cc -o out/test/elf/x86_64/ar-alignment/b.o -c -xc - -54: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/as-needed.sh +test 56 + Start 56: x86_64-bno-symbolic + +56: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/bno-symbolic.sh" +56: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +56: Environment variables: +56: MACHINE=x86_64 +56: CPU= +56: Test timeout computed to be: 1500 53: + cat -53: + cc -o out/test/elf/x86_64/as-needed-weak/libfoo.so -shared -fPIC -Wl,-soname,libfoo.so -xc - +53: + cc -fPIC -o out/test/elf/x86_64/as-needed-weak/a.o -c -xc - +45: + on_exit +45: + echo OK +45: OK +45: + exit 0 + 45/369 Test #45: x86_64-x86_64_z-shstk ............................ Passed 0.32 sec +54: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/as-needed.sh 54: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 54: ++ export LC_ALL=C 54: ++ LC_ALL=C @@ -4402,13 +4432,13 @@ 54: ++ echo -n 'Testing as-needed ... ' 54: Testing as-needed ... ++ t=out/test/elf/x86_64/as-needed 54: ++ mkdir -p out/test/elf/x86_64/as-needed -30: + out/test/elf/x86_64/x86_64_reloc/exe +54: + cc -o out/test/elf/x86_64/as-needed/a.o -c -xc - 54: + cat -52: + cat -30: + grep -q '^76$' -52: + cc -xc -c -o out/test/elf/x86_64/as-needed-dso2/c.o - +38: + cc -B. -o out/test/elf/x86_64/x86_64_tlsdesc/exe4 out/test/elf/x86_64/x86_64_tlsdesc/b.o out/test/elf/x86_64/x86_64_tlsdesc/c.so -Wl,-no-relax +30: + grep -q '^56$' +30: + out/test/elf/x86_64/x86_64_reloc/exe +30: + cat 55: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/auxiliary.sh -54: + cc -o out/test/elf/x86_64/as-needed/a.o -c -xc - 55: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 55: ++ export LC_ALL=C 55: ++ LC_ALL=C @@ -4427,51 +4457,11 @@ 55: ++ tlsdesc_opt=-mtls-dialect=gnu2 55: ++ trap 'on_error $LINENO' ERR 55: ++ trap on_exit EXIT -30: + cat 55: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/auxiliary.sh .sh 55: ++ testname=auxiliary 55: ++ echo -n 'Testing auxiliary ... ' 55: Testing auxiliary ... ++ t=out/test/elf/x86_64/auxiliary 55: ++ mkdir -p out/test/elf/x86_64/auxiliary -30: + 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 -49: + 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 -50: + cat -51: + cat -51: + cc -o out/test/elf/x86_64/as-needed-dso/a.o -c -xc - -50: + cc -o out/test/elf/x86_64/ar-alignment/c.o -c -xc - -55: + cat -55: + cc -o out/test/elf/x86_64/auxiliary/a.o -c -x assembler - -55: + ./mold -o out/test/elf/x86_64/auxiliary/b.so out/test/elf/x86_64/auxiliary/a.o -auxiliary foo -f bar -shared -52: + cc -B. -shared -o out/test/elf/x86_64/as-needed-dso2/libfoo.so out/test/elf/x86_64/as-needed-dso2/a.o -55: + readelf --dynamic out/test/elf/x86_64/auxiliary/b.so -54: + cat -54: + cc -o out/test/elf/x86_64/as-needed/b.so -shared -fPIC -Wl,-soname,libfoo.so -xc - -55: + grep -Fq 'Auxiliary library: [foo]' out/test/elf/x86_64/auxiliary/log -55: + grep -Fq 'Auxiliary library: [bar]' out/test/elf/x86_64/auxiliary/log -51: + cc -B. -o out/test/elf/x86_64/as-needed-dso/exe out/test/elf/x86_64/as-needed-dso/a.o -Lout/test/elf/x86_64/as-needed-dso -Wl,--as-needed -lbar -lfoo -50: + rm -f out/test/elf/x86_64/ar-alignment/d.a -55: + on_exit -55: + echo OK -55: OK -55: + exit 0 - 44/369 Test #55: x86_64-auxiliary ................................. Passed 0.07 sec -test 56 - Start 56: x86_64-bno-symbolic - -56: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/bno-symbolic.sh" -56: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -56: Environment variables: -56: MACHINE=x86_64 -56: CPU= -56: Test timeout computed to be: 1500 -53: + cat -53: + cc -o out/test/elf/x86_64/as-needed-weak/libbar.so -shared -fPIC -Wl,-soname,libbar.so -xc - -49: + on_exit -49: + echo OK -49: OK -49: + exit 0 -50: + 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 - 45/369 Test #49: x86_64-allow-multiple-definition ................. Passed 0.20 sec test 57 Start 57: x86_64-bsymbolic-functions @@ -4481,6 +4471,10 @@ 57: MACHINE=x86_64 57: CPU= 57: Test timeout computed to be: 1500 +55: + cat +55: + cc -o out/test/elf/x86_64/auxiliary/a.o -c -x assembler - +52: + cat +52: + cc -c -fPIC -o out/test/elf/x86_64/as-needed-dso2/b.o -xc - 56: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/bno-symbolic.sh 56: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 56: ++ export LC_ALL=C @@ -4500,26 +4494,16 @@ 56: ++ tlsdesc_opt=-mtls-dialect=gnu2 56: ++ trap 'on_error $LINENO' ERR 56: ++ trap on_exit EXIT -30: + out/test/elf/x86_64/x86_64_reloc/exe -30: + grep -q '^26$' -30: + cat 56: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/bno-symbolic.sh .sh -19: + out/test/elf/x86_64/x86_64_mergeable-records/exe -19: + grep -q '^abcdef$' 56: ++ testname=bno-symbolic 56: ++ echo -n 'Testing bno-symbolic ... ' 56: Testing bno-symbolic ... ++ t=out/test/elf/x86_64/bno-symbolic 56: ++ mkdir -p out/test/elf/x86_64/bno-symbolic 56: + '[' x86_64 = s390x ']' 56: + cat -30: + 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 -56: + cc -c -fPIC -oout/test/elf/x86_64/bno-symbolic/a.o -xc - +55: + ./mold -o out/test/elf/x86_64/auxiliary/b.so out/test/elf/x86_64/auxiliary/a.o -auxiliary foo -f bar -shared 57: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/bsymbolic-functions.sh -19: + out/test/elf/x86_64/x86_64_mergeable-records/exe -50: + 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 -19: + grep -q '^bcdef$' -20: + out/test/elf/x86_64/x86_64_mergeable-strings/exe -20: + grep -q 'Hello world' +56: + cc -c -fPIC -oout/test/elf/x86_64/bno-symbolic/a.o -xc - 57: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 57: ++ export LC_ALL=C 57: ++ LC_ALL=C @@ -4539,26 +4523,24 @@ 57: ++ trap 'on_error $LINENO' ERR 57: ++ trap on_exit EXIT 57: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/bsymbolic-functions.sh .sh -19: + out/test/elf/x86_64/x86_64_mergeable-records/exe -19: + grep -q '^ijkl$' -52: + cc -B. -shared -o out/test/elf/x86_64/as-needed-dso2/libbar.so out/test/elf/x86_64/as-needed-dso2/b.o 57: ++ testname=bsymbolic-functions 57: ++ echo -n 'Testing bsymbolic-functions ... ' 57: Testing bsymbolic-functions ... ++ t=out/test/elf/x86_64/bsymbolic-functions 57: ++ mkdir -p out/test/elf/x86_64/bsymbolic-functions -20: + readelf -sW out/test/elf/x86_64/x86_64_mergeable-strings/exe -20: + grep -Eq '[0-9] foo$' -19: + out/test/elf/x86_64/x86_64_mergeable-records/exe -19: + grep -q '^pqr$' -51: + readelf -W --dynamic out/test/elf/x86_64/as-needed-dso/exe +30: + cc -c -o out/test/elf/x86_64/x86_64_reloc/d.o out/test/elf/x86_64/x86_64_reloc/d.s 57: + cat -20: + on_exit -19: + out/test/elf/x86_64/x86_64_mergeable-records/exe -20: + echo OK -20: OK -20: + exit 0 57: + cc -c -o out/test/elf/x86_64/bsymbolic-functions/a.o -fPIC -xc - - 46/369 Test #20: x86_64-x86_64_mergeable-strings .................. Passed 0.89 sec +49: + 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 +51: + cc -o out/test/elf/x86_64/as-needed-dso/libbar.so -shared -fPIC -Wl,-soname,libbar.so -xc - +51: + cat +48: + grep -q '^ip=0x80000.$' +48: + out/test/elf/x86_64/absolute-symbols/exe +48: + on_exit +48: + echo OK +48: OK +48: + exit 0 +55: + readelf --dynamic out/test/elf/x86_64/auxiliary/b.so + 46/369 Test #48: x86_64-absolute-symbols .......................... Passed 0.34 sec test 58 Start 58: x86_64-bsymbolic-non-weak-functions @@ -4568,20 +4550,20 @@ 58: MACHINE=x86_64 58: CPU= 58: Test timeout computed to be: 1500 -51: + grep -q libbar out/test/elf/x86_64/as-needed-dso/log2 -19: + grep -q '^mnopqr$' -51: + grep -q libfoo out/test/elf/x86_64/as-needed-dso/log2 -58: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/bsymbolic-non-weak-functions.sh -19: + on_exit -19: + echo OK -19: OK -19: + exit 0 -51: + on_exit -51: + echo OK -51: OK -51: + exit 0 -54: + cc -o out/test/elf/x86_64/as-needed/c.so -shared -fPIC -Wl,-soname,libbar.so -xc - - 47/369 Test #51: x86_64-as-needed-dso ............................. Passed 0.18 sec +53: + cat +53: + cc -o out/test/elf/x86_64/as-needed-weak/libfoo.so -shared -fPIC -Wl,-soname,libfoo.so -xc - +55: + grep -Fq 'Auxiliary library: [foo]' out/test/elf/x86_64/auxiliary/log +55: + grep -Fq 'Auxiliary library: [bar]' out/test/elf/x86_64/auxiliary/log +30: + 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 +54: + cat +54: + cc -o out/test/elf/x86_64/as-needed/b.so -shared -fPIC -Wl,-soname,libfoo.so -xc - +50: + cat +50: + cc -o out/test/elf/x86_64/ar-alignment/c.o -c -xc - +55: + on_exit +55: + echo OK +55: OK +55: + exit 0 + 47/369 Test #55: x86_64-auxiliary ................................. Passed 0.07 sec test 59 Start 59: x86_64-bsymbolic-non-weak @@ -4591,8 +4573,9 @@ 59: MACHINE=x86_64 59: CPU= 59: Test timeout computed to be: 1500 -54: + cat -53: + cc -o out/test/elf/x86_64/as-needed-weak/exe1 out/test/elf/x86_64/as-needed-weak/a.o -Wl,-no-as-needed -Lout/test/elf/x86_64/as-needed-weak -lbar -lfoo +52: + cat +52: + cc -xc -c -o out/test/elf/x86_64/as-needed-dso2/c.o - +58: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/bsymbolic-non-weak-functions.sh 58: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 58: ++ export LC_ALL=C 58: ++ LC_ALL=C @@ -4616,35 +4599,9 @@ 58: ++ echo -n 'Testing bsymbolic-non-weak-functions ... ' 58: Testing bsymbolic-non-weak-functions ... ++ t=out/test/elf/x86_64/bsymbolic-non-weak-functions 58: ++ mkdir -p out/test/elf/x86_64/bsymbolic-non-weak-functions - 48/369 Test #19: x86_64-x86_64_mergeable-records .................. Passed 0.92 sec -test 60 - Start 60: x86_64-bsymbolic - -60: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/bsymbolic.sh" -60: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -60: Environment variables: -60: MACHINE=x86_64 -60: CPU= -60: Test timeout computed to be: 1500 58: + cat 58: + cc -c -o out/test/elf/x86_64/bsymbolic-non-weak-functions/a.o -fPIC -xc - -56: + 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 -50: + on_exit -50: + echo OK -50: OK -50: + exit 0 -57: + 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 59: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/bsymbolic-non-weak.sh - 49/369 Test #50: x86_64-ar-alignment .............................. Passed 0.21 sec -test 61 - Start 61: x86_64-bug178 - -61: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/bug178.sh" -61: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -61: Environment variables: -61: MACHINE=x86_64 -61: CPU= -61: Test timeout computed to be: 1500 59: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 59: ++ export LC_ALL=C 59: ++ LC_ALL=C @@ -4664,14 +4621,33 @@ 59: ++ trap 'on_error $LINENO' ERR 59: ++ trap on_exit EXIT 59: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/bsymbolic-non-weak.sh .sh -52: + cc -B. -o out/test/elf/x86_64/as-needed-dso2/exe out/test/elf/x86_64/as-needed-dso2/c.o -Lout/test/elf/x86_64/as-needed-dso2 -Wl,--as-needed -lfoo -lbar 59: ++ testname=bsymbolic-non-weak 59: ++ echo -n 'Testing bsymbolic-non-weak ... ' 59: Testing bsymbolic-non-weak ... ++ t=out/test/elf/x86_64/bsymbolic-non-weak 59: ++ mkdir -p out/test/elf/x86_64/bsymbolic-non-weak -30: + grep -q '^61$' -30: + out/test/elf/x86_64/x86_64_reloc/exe +38: + grep -q 42 +59: + cc -c -o out/test/elf/x86_64/bsymbolic-non-weak/a.o -fPIC -xc - +38: + out/test/elf/x86_64/x86_64_tlsdesc/exe4 +59: + cat +38: + on_exit +38: + echo OK +38: OK +38: + exit 0 + 48/369 Test #38: x86_64-x86_64_tlsdesc ............................ Passed 0.55 sec +test 60 + Start 60: x86_64-bsymbolic + +60: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/bsymbolic.sh" +60: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +60: Environment variables: +60: MACHINE=x86_64 +60: CPU= +60: Test timeout computed to be: 1500 +49: + 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 60: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/bsymbolic.sh +30: + out/test/elf/x86_64/x86_64_reloc/exe +30: + grep -q '^56$' +56: + 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 60: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 60: ++ export LC_ALL=C 60: ++ LC_ALL=C @@ -4690,18 +4666,40 @@ 60: ++ tlsdesc_opt=-mtls-dialect=gnu2 60: ++ trap 'on_error $LINENO' ERR 60: ++ trap on_exit EXIT -30: + cat 60: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/bsymbolic.sh .sh +30: + 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: ++ testname=bsymbolic 60: ++ echo -n 'Testing bsymbolic ... ' 60: Testing bsymbolic ... ++ t=out/test/elf/x86_64/bsymbolic 60: ++ mkdir -p out/test/elf/x86_64/bsymbolic -59: + cat -59: + cc -c -o out/test/elf/x86_64/bsymbolic-non-weak/a.o -fPIC -xc - -30: + 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 +52: + cc -B. -shared -o out/test/elf/x86_64/as-needed-dso2/libfoo.so out/test/elf/x86_64/as-needed-dso2/a.o 60: + cat +57: + 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 60: + cc -c -fPIC -oout/test/elf/x86_64/bsymbolic/a.o -xc - -53: + readelf --dynamic out/test/elf/x86_64/as-needed-weak/exe1 +58: + cc -B. -shared -o out/test/elf/x86_64/bsymbolic-non-weak-functions/b.so out/test/elf/x86_64/bsymbolic-non-weak-functions/a.o -Wl,-Bsymbolic-non-weak-functions +50: + rm -f out/test/elf/x86_64/ar-alignment/d.a +50: + 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 +56: + cat +56: + cc -c -o out/test/elf/x86_64/bno-symbolic/c.o -xc - -fno-PIE +52: + cc -B. -shared -o out/test/elf/x86_64/as-needed-dso2/libbar.so out/test/elf/x86_64/as-needed-dso2/b.o +49: + on_exit +49: + echo OK +49: OK +49: + exit 0 + 49/369 Test #49: x86_64-allow-multiple-definition ................. Passed 0.43 sec +test 61 + Start 61: x86_64-bug178 + +61: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/bug178.sh" +61: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +61: Environment variables: +61: MACHINE=x86_64 +61: CPU= +61: Test timeout computed to be: 1500 +57: + cat +57: + cc -c -o out/test/elf/x86_64/bsymbolic-functions/c.o -xc - -fno-PIE +58: + cat +58: + cc -c -o out/test/elf/x86_64/bsymbolic-non-weak-functions/c.o -xc - 61: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/bug178.sh 61: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 61: ++ export LC_ALL=C @@ -4720,34 +4718,37 @@ 61: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 61: ++ tlsdesc_opt=-mtls-dialect=gnu2 61: ++ trap 'on_error $LINENO' ERR -53: + grep -Fq 'Shared library: [libfoo.so]' out/test/elf/x86_64/as-needed-weak/log1 61: ++ trap on_exit EXIT -53: + grep -Fq 'Shared library: [libbar.so]' out/test/elf/x86_64/as-needed-weak/log1 -58: + cc -B. -shared -o out/test/elf/x86_64/bsymbolic-non-weak-functions/b.so out/test/elf/x86_64/bsymbolic-non-weak-functions/a.o -Wl,-Bsymbolic-non-weak-functions 61: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/bug178.sh .sh -54: + 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 61: ++ testname=bug178 61: ++ echo -n 'Testing bug178 ... ' 61: Testing bug178 ... ++ t=out/test/elf/x86_64/bug178 61: ++ mkdir -p out/test/elf/x86_64/bug178 -53: + cc -o out/test/elf/x86_64/as-needed-weak/exe2 out/test/elf/x86_64/as-needed-weak/a.o -Wl,-as-needed -Lout/test/elf/x86_64/as-needed-weak -lbar -lfoo -52: + readelf --dynamic out/test/elf/x86_64/as-needed-dso2/exe -56: + cat -56: + cc -c -o out/test/elf/x86_64/bno-symbolic/c.o -xc - -fno-PIE -61: + cat 61: + cc -x assembler -c -o out/test/elf/x86_64/bug178/a.o - -52: + grep libfoo.so out/test/elf/x86_64/as-needed-dso2/log -57: + cat -57: + cc -c -o out/test/elf/x86_64/bsymbolic-functions/c.o -xc - -fno-PIE -52: + grep -q libbar.so out/test/elf/x86_64/as-needed-dso2/log +61: + cat +50: + 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 61: + rm -f out/test/elf/x86_64/bug178/a.a -59: + cc -B. -shared -o out/test/elf/x86_64/bsymbolic-non-weak/b.so out/test/elf/x86_64/bsymbolic-non-weak/a.o -Wl,-Bsymbolic-non-weak 61: + ar rcs out/test/elf/x86_64/bug178/a.a out/test/elf/x86_64/bug178/a.o -52: + on_exit -52: + echo OK -52: OK -52: + exit 0 - 50/369 Test #52: x86_64-as-needed-dso2 ............................ Passed 0.24 sec +60: + cc -B. -shared -fPIC -o out/test/elf/x86_64/bsymbolic/b.so out/test/elf/x86_64/bsymbolic/a.o -Wl,-Bsymbolic +59: + cc -B. -shared -o out/test/elf/x86_64/bsymbolic-non-weak/b.so out/test/elf/x86_64/bsymbolic-non-weak/a.o -Wl,-Bsymbolic-non-weak +56: + 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 +51: + cc -o out/test/elf/x86_64/as-needed-dso/a.o -c -xc - +51: + cat +53: + cat +53: + cc -o out/test/elf/x86_64/as-needed-weak/libbar.so -shared -fPIC -Wl,-soname,libbar.so -xc - +54: + cc -o out/test/elf/x86_64/as-needed/c.so -shared -fPIC -Wl,-soname,libbar.so -xc - +54: + cat +52: + cc -B. -o out/test/elf/x86_64/as-needed-dso2/exe out/test/elf/x86_64/as-needed-dso2/c.o -Lout/test/elf/x86_64/as-needed-dso2 -Wl,--as-needed -lfoo -lbar +61: + ./mold -o out/test/elf/x86_64/bug178/exe out/test/elf/x86_64/bug178/a.a +58: + cc -B. -o out/test/elf/x86_64/bsymbolic-non-weak-functions/exe out/test/elf/x86_64/bsymbolic-non-weak-functions/c.o out/test/elf/x86_64/bsymbolic-non-weak-functions/b.so +30: + grep -q '^56$' +57: + 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 +50: + on_exit +50: + echo OK +50: OK +50: + exit 0 +30: + out/test/elf/x86_64/x86_64_reloc/exe + 50/369 Test #50: x86_64-ar-alignment .............................. Passed 0.51 sec test 62 Start 62: x86_64-build-id @@ -4757,12 +4758,13 @@ 62: MACHINE=x86_64 62: CPU= 62: Test timeout computed to be: 1500 -61: + ./mold -o out/test/elf/x86_64/bug178/exe out/test/elf/x86_64/bug178/a.a -30: + 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 -60: + cc -B. -shared -fPIC -o out/test/elf/x86_64/bsymbolic/b.so out/test/elf/x86_64/bsymbolic/a.o -Wl,-Bsymbolic +30: + cat +30: + 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 +51: + cc -B. -o out/test/elf/x86_64/as-needed-dso/exe out/test/elf/x86_64/as-needed-dso/a.o -Lout/test/elf/x86_64/as-needed-dso -Wl,--as-needed -lbar -lfoo +59: + cc -c -o out/test/elf/x86_64/bsymbolic-non-weak/c.o -xc - 62: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/build-id.sh +59: + cat 62: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc -61: mold: warning: entry symbol is not defined: _start 62: ++ export LC_ALL=C 62: ++ LC_ALL=C 62: ++ '[' -z x86_64 ']' @@ -4780,12 +4782,22 @@ 62: ++ tlsdesc_opt=-mtls-dialect=gnu2 62: ++ trap 'on_error $LINENO' ERR 62: ++ trap on_exit EXIT +56: + grep -q '3 3 1' +60: + cc -c -o out/test/elf/x86_64/bsymbolic/c.o -xc - -fno-PIE +60: + cat +61: mold: warning: entry symbol is not defined: _start 61: + on_exit 61: + echo OK 61: OK 61: + exit 0 +56: + out/test/elf/x86_64/bno-symbolic/exe +56: + on_exit +56: + echo OK +56: OK +56: + exit 0 62: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/build-id.sh .sh - 51/369 Test #61: x86_64-bug178 .................................... Passed 0.06 sec + 51/369 Test #56: x86_64-bno-symbolic .............................. Passed 0.29 sec + 52/369 Test #61: x86_64-bug178 .................................... Passed 0.14 sec test 63 Start 63: x86_64-canonical-plt @@ -4795,20 +4807,23 @@ 63: MACHINE=x86_64 63: CPU= 63: Test timeout computed to be: 1500 -58: + cc -c -o out/test/elf/x86_64/bsymbolic-non-weak-functions/c.o -xc - -58: + cat +test 64 + Start 64: x86_64-cmdline + +64: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/cmdline.sh" +64: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +64: Environment variables: +64: MACHINE=x86_64 +64: CPU= +64: Test timeout computed to be: 1500 62: ++ testname=build-id 62: ++ echo -n 'Testing build-id ... ' 62: Testing build-id ... ++ t=out/test/elf/x86_64/build-id 62: ++ mkdir -p out/test/elf/x86_64/build-id 62: + echo 'int main() { return 0; }' 62: + cc -B. -o out/test/elf/x86_64/build-id/exe out/test/elf/x86_64/build-id/a.c -Wl,-build-id -54: + readelf --dynamic out/test/elf/x86_64/as-needed/exe -53: + readelf --dynamic out/test/elf/x86_64/as-needed-weak/exe2 -59: + cc -c -o out/test/elf/x86_64/bsymbolic-non-weak/c.o -xc - -59: + cat +52: + readelf --dynamic out/test/elf/x86_64/as-needed-dso2/exe 63: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/canonical-plt.sh -54: + grep -Fq 'Shared library: [libfoo.so]' out/test/elf/x86_64/as-needed/readelf 63: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 63: ++ export LC_ALL=C 63: ++ LC_ALL=C @@ -4827,43 +4842,10 @@ 63: ++ tlsdesc_opt=-mtls-dialect=gnu2 63: ++ trap 'on_error $LINENO' ERR 63: ++ trap on_exit EXIT -60: + cc -c -o out/test/elf/x86_64/bsymbolic/c.o -xc - -fno-PIE 63: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/canonical-plt.sh .sh -60: + cat -53: + grep -Fq 'Shared library: [libfoo.so]' out/test/elf/x86_64/as-needed-weak/log2 -54: + grep -Fq 'Shared library: [libbar.so]' out/test/elf/x86_64/as-needed/readelf -56: + 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 -53: + grep -Fq 'Shared library: [libbar.so]' out/test/elf/x86_64/as-needed-weak/log2 -63: ++ testname=canonical-plt -63: ++ echo -n 'Testing canonical-plt ... ' -63: Testing canonical-plt ... ++ t=out/test/elf/x86_64/canonical-plt -63: ++ mkdir -p out/test/elf/x86_64/canonical-plt -54: + 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 -53: + on_exit -53: + echo OK -53: OK -53: + exit 0 -57: + 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 - 52/369 Test #53: x86_64-as-needed-weak ............................ Passed 0.28 sec -test 64 - Start 64: x86_64-cmdline - -64: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/cmdline.sh" -64: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -64: Environment variables: -64: MACHINE=x86_64 -64: CPU= -64: Test timeout computed to be: 1500 -63: + '[' x86_64 = s390x ']' -63: + cat -63: + cc -o out/test/elf/x86_64/canonical-plt/a.so -fPIC -shared -xc - -30: + grep -q '^56000003$' -30: + out/test/elf/x86_64/x86_64_reloc/exe -30: + cat -58: + cc -B. -o out/test/elf/x86_64/bsymbolic-non-weak-functions/exe out/test/elf/x86_64/bsymbolic-non-weak-functions/c.o out/test/elf/x86_64/bsymbolic-non-weak-functions/b.so -30: + cc -c -o out/test/elf/x86_64/x86_64_reloc/f.o out/test/elf/x86_64/x86_64_reloc/f.s 64: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/cmdline.sh -30: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/f.o +52: + grep libfoo.so out/test/elf/x86_64/as-needed-dso2/log +58: + out/test/elf/x86_64/bsymbolic-non-weak-functions/exe 64: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 64: ++ export LC_ALL=C 64: ++ LC_ALL=C @@ -4883,28 +4865,23 @@ 64: ++ trap 'on_error $LINENO' ERR 64: ++ trap on_exit EXIT 64: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/cmdline.sh .sh +63: ++ testname=canonical-plt +63: ++ echo -n 'Testing canonical-plt ... ' +63: Testing canonical-plt ... ++ t=out/test/elf/x86_64/canonical-plt +63: ++ mkdir -p out/test/elf/x86_64/canonical-plt +52: + grep -q libbar.so out/test/elf/x86_64/as-needed-dso2/log +52: + on_exit +52: + echo OK +52: OK +52: + exit 0 64: ++ testname=cmdline 64: ++ echo -n 'Testing cmdline ... ' 64: Testing cmdline ... ++ t=out/test/elf/x86_64/cmdline 64: ++ mkdir -p out/test/elf/x86_64/cmdline -59: + cc -B. -o out/test/elf/x86_64/bsymbolic-non-weak/exe out/test/elf/x86_64/bsymbolic-non-weak/c.o out/test/elf/x86_64/bsymbolic-non-weak/b.so -64: + grep -q 'unknown command line option: -zfoo' -56: + out/test/elf/x86_64/bno-symbolic/exe -60: + 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 -54: + readelf --dynamic out/test/elf/x86_64/as-needed/exe -56: + grep -q '3 3 1' -62: + readelf -n out/test/elf/x86_64/build-id/exe -57: + out/test/elf/x86_64/bsymbolic-functions/exe -62: + grep -qv 'GNU.*0x00000010.*NT_GNU_BUILD_ID' -54: + grep -Fq 'Shared library: [libfoo.so]' out/test/elf/x86_64/as-needed/readelf -64: + grep -q 'unknown command line option: -z foo' -57: + grep -q '3 3 0' -62: + cc -B. -o out/test/elf/x86_64/build-id/exe out/test/elf/x86_64/build-id/a.c -Wl,-build-id=uuid -56: + on_exit -56: + echo OK -56: OK -56: + exit 0 - 53/369 Test #56: x86_64-bno-symbolic .............................. Passed 0.21 sec +63: + '[' x86_64 = s390x ']' +63: + cat +63: + cc -o out/test/elf/x86_64/canonical-plt/a.so -fPIC -shared -xc - + 53/369 Test #52: x86_64-as-needed-dso2 ............................ Passed 0.47 sec test 65 Start 65: x86_64-color-diagnostics @@ -4914,18 +4891,20 @@ 65: MACHINE=x86_64 65: CPU= 65: Test timeout computed to be: 1500 -54: + grep -Fq 'Shared library: [libbar.so]' out/test/elf/x86_64/as-needed/readelf -64: + grep -q 'unknown command line option: -abcdefg' -54: + on_exit -54: + echo OK -54: OK -54: + exit 0 +64: + grep -q 'unknown command line option: -zfoo' +57: + grep -q '3 3 0' +57: + out/test/elf/x86_64/bsymbolic-functions/exe 57: + on_exit 57: + echo OK 57: OK 57: + exit 0 - 54/369 Test #54: x86_64-as-needed ................................. Passed 0.30 sec - 55/369 Test #57: x86_64-bsymbolic-functions ....................... Passed 0.21 sec +58: + grep -q '^3 3 3 3 3 7$' +58: + on_exit +58: + echo OK +58: OK +58: + exit 0 + 54/369 Test #57: x86_64-bsymbolic-functions ....................... Passed 0.30 sec + 55/369 Test #58: x86_64-bsymbolic-non-weak-functions .............. Passed 0.25 sec test 66 Start 66: x86_64-comment @@ -4944,14 +4923,10 @@ 67: MACHINE=x86_64 67: CPU= 67: Test timeout computed to be: 1500 -58: + out/test/elf/x86_64/bsymbolic-non-weak-functions/exe -58: + grep -q '^3 3 3 3 3 7$' -58: + on_exit -58: + echo OK -58: OK -58: + exit 0 -63: + cat -63: + cc -o out/test/elf/x86_64/canonical-plt/b.o -c -xc - -fPIC +64: + grep -q 'unknown command line option: -z foo' +51: + readelf -W --dynamic out/test/elf/x86_64/as-needed-dso/exe +51: + grep -q libbar out/test/elf/x86_64/as-needed-dso/log2 +51: + grep -q libfoo out/test/elf/x86_64/as-needed-dso/log2 65: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/color-diagnostics.sh 65: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 65: ++ export LC_ALL=C @@ -4972,9 +4947,39 @@ 65: ++ trap 'on_error $LINENO' ERR 65: ++ trap on_exit EXIT 65: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/color-diagnostics.sh .sh -64: + grep -q 'unknown command line option: --abcdefg' -30: + readelf -x .foo -x .bar out/test/elf/x86_64/x86_64_reloc/exe - 56/369 Test #58: x86_64-bsymbolic-non-weak-functions .............. Passed 0.19 sec +65: ++ testname=color-diagnostics +65: ++ echo -n 'Testing color-diagnostics ... ' +65: Testing color-diagnostics ... ++ t=out/test/elf/x86_64/color-diagnostics +65: ++ mkdir -p out/test/elf/x86_64/color-diagnostics +66: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/comment.sh +66: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc +66: ++ export LC_ALL=C +66: ++ LC_ALL=C +66: ++ '[' -z x86_64 ']' +64: + grep -q 'unknown command line option: -abcdefg' +66: ++ '[' -z '' ']' +66: ++ TESTDIR=out/test/elf/x86_64 +66: ++ CC=cc +66: ++ CXX=c++ +66: ++ GCC=gcc +66: ++ GXX=g++ +66: ++ OBJDUMP=objdump +66: ++ OBJCOPY=objcopy +66: ++ STRIP=strip +66: ++ QEMU= +66: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' +66: ++ tlsdesc_opt=-mtls-dialect=gnu2 +66: ++ trap 'on_error $LINENO' ERR +66: ++ trap on_exit EXIT +65: + cat +67: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common-archive.sh +65: + cc -o out/test/elf/x86_64/color-diagnostics/a.o -c -xc - +51: + on_exit +66: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/comment.sh .sh +51: + echo OK +51: OK +51: + exit 0 + 56/369 Test #51: x86_64-as-needed-dso ............................. Passed 0.49 sec test 68 Start 68: x86_64-common-ref @@ -4984,22 +4989,6 @@ 68: MACHINE=x86_64 68: CPU= 68: Test timeout computed to be: 1500 -65: ++ testname=color-diagnostics -65: ++ echo -n 'Testing color-diagnostics ... ' -65: Testing color-diagnostics ... ++ t=out/test/elf/x86_64/color-diagnostics -65: ++ mkdir -p out/test/elf/x86_64/color-diagnostics -64: + on_exit -64: + echo OK -64: OK -64: + exit 0 -66: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/comment.sh -59: + grep -q '^3 3 3 3 4 7$' -59: + out/test/elf/x86_64/bsymbolic-non-weak/exe -59: + on_exit -59: + echo OK -59: OK -59: + exit 0 -67: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common-archive.sh 67: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 67: ++ export LC_ALL=C 67: ++ LC_ALL=C @@ -5019,63 +5008,23 @@ 67: ++ trap 'on_error $LINENO' ERR 67: ++ trap on_exit EXIT 67: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common-archive.sh .sh - 57/369 Test #59: x86_64-bsymbolic-non-weak ........................ Passed 0.19 sec - 58/369 Test #64: x86_64-cmdline ................................... Passed 0.08 sec -test 69 - Start 69: x86_64-common - -69: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.sh" -69: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -69: Environment variables: -69: MACHINE=x86_64 -69: CPU= -69: Test timeout computed to be: 1500 -test 70 - Start 70: x86_64-compress-debug-sections-zstd - -70: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/compress-debug-sections-zstd.sh" -70: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -70: Environment variables: -70: MACHINE=x86_64 -70: CPU= -70: Test timeout computed to be: 1500 -65: + cat -65: + cc -o out/test/elf/x86_64/color-diagnostics/a.o -c -xc - -66: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc -66: ++ export LC_ALL=C -66: ++ LC_ALL=C -66: ++ '[' -z x86_64 ']' -66: ++ '[' -z '' ']' -66: ++ TESTDIR=out/test/elf/x86_64 -66: ++ CC=cc -66: ++ CXX=c++ -66: ++ GCC=gcc -66: ++ GXX=g++ -66: ++ OBJDUMP=objdump -66: ++ OBJCOPY=objcopy -66: ++ STRIP=strip -66: ++ QEMU= -66: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' -66: ++ tlsdesc_opt=-mtls-dialect=gnu2 -66: ++ trap 'on_error $LINENO' ERR -66: ++ trap on_exit EXIT -66: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/comment.sh .sh +66: ++ testname=comment +66: ++ echo -n 'Testing comment ... ' +66: Testing comment ... ++ t=out/test/elf/x86_64/comment +66: ++ mkdir -p out/test/elf/x86_64/comment +66: + cat +66: + cc -c -o out/test/elf/x86_64/comment/a.o -xc - 67: ++ testname=common-archive 67: ++ echo -n 'Testing common-archive ... ' 67: Testing common-archive ... ++ t=out/test/elf/x86_64/common-archive 67: ++ mkdir -p out/test/elf/x86_64/common-archive -67: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-archive/a.o - -67: + cat -30: + grep -Fq '0x00000010 00000000 00000000 10000000 00000000' out/test/elf/x86_64/x86_64_reloc/log -30: + grep -Fq '0x00000010 18000000 00000000' out/test/elf/x86_64/x86_64_reloc/log -30: + on_exit -30: + echo OK -30: OK -30: + exit 0 +64: + grep -q 'unknown command line option: --abcdefg' 68: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common-ref.sh +67: + cat 68: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 68: ++ export LC_ALL=C 68: ++ LC_ALL=C +67: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-archive/a.o - 68: ++ '[' -z x86_64 ']' 68: ++ '[' -z '' ']' 68: ++ TESTDIR=out/test/elf/x86_64 @@ -5096,7 +5045,23 @@ 68: ++ echo -n 'Testing common-ref ... ' 68: Testing common-ref ... ++ t=out/test/elf/x86_64/common-ref 68: ++ mkdir -p out/test/elf/x86_64/common-ref +64: + on_exit +64: + echo OK +64: OK +64: + exit 0 +53: + cc -o out/test/elf/x86_64/as-needed-weak/exe1 out/test/elf/x86_64/as-needed-weak/a.o -Wl,-no-as-needed -Lout/test/elf/x86_64/as-needed-weak -lbar -lfoo + 57/369 Test #64: x86_64-cmdline ................................... Passed 0.03 sec +test 69 + Start 69: x86_64-common + +69: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.sh" +69: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +69: Environment variables: +69: MACHINE=x86_64 +69: CPU= +69: Test timeout computed to be: 1500 68: + cat +68: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-ref/a.o - 69: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.sh 69: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 69: ++ export LC_ALL=C @@ -5116,28 +5081,38 @@ 69: ++ tlsdesc_opt=-mtls-dialect=gnu2 69: ++ trap 'on_error $LINENO' ERR 69: ++ trap on_exit EXIT - 59/369 Test #30: x86_64-x86_64_reloc .............................. Passed 0.94 sec -test 71 - Start 71: x86_64-compress-debug-sections - -71: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/compress-debug-sections.sh" -71: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -71: Environment variables: -71: MACHINE=x86_64 -71: CPU= -71: Test timeout computed to be: 1500 -66: ++ testname=comment -66: ++ echo -n 'Testing comment ... ' -66: Testing comment ... ++ t=out/test/elf/x86_64/comment -66: ++ mkdir -p out/test/elf/x86_64/comment -68: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-ref/a.o - 69: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.sh .sh +69: ++ testname=common +69: ++ echo -n 'Testing common ... ' +69: Testing common ... ++ t=out/test/elf/x86_64/common +69: ++ mkdir -p out/test/elf/x86_64/common +69: + cat +69: + cc -fcommon -xc -c -o out/test/elf/x86_64/common/a.o - +60: + 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 +65: + ./mold -o out/test/elf/x86_64/color-diagnostics/exe out/test/elf/x86_64/color-diagnostics/a.o --color-diagnostics +53: + readelf --dynamic out/test/elf/x86_64/as-needed-weak/exe1 +53: + grep -Fq 'Shared library: [libfoo.so]' out/test/elf/x86_64/as-needed-weak/log1 +53: + grep -Fq 'Shared library: [libbar.so]' out/test/elf/x86_64/as-needed-weak/log1 +53: + cc -o out/test/elf/x86_64/as-needed-weak/exe2 out/test/elf/x86_64/as-needed-weak/a.o -Wl,-as-needed -Lout/test/elf/x86_64/as-needed-weak -lbar -lfoo +65: + grep -q $'\E' out/test/elf/x86_64/color-diagnostics/log +65: + ./mold -o out/test/elf/x86_64/color-diagnostics/exe out/test/elf/x86_64/color-diagnostics/a.o --color-diagnostics=always +54: + 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 60: + out/test/elf/x86_64/bsymbolic/exe 60: + grep -q '3 4' 60: + on_exit 60: + echo OK 60: OK 60: + exit 0 + 58/369 Test #60: x86_64-bsymbolic ................................. Passed 0.26 sec +test 70 + Start 70: x86_64-compress-debug-sections-zstd + +70: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/compress-debug-sections-zstd.sh" +70: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +70: Environment variables: +70: MACHINE=x86_64 +70: CPU= +70: Test timeout computed to be: 1500 70: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/compress-debug-sections-zstd.sh 70: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 70: ++ export LC_ALL=C @@ -5158,11 +5133,37 @@ 70: ++ trap 'on_error $LINENO' ERR 70: ++ trap on_exit EXIT 70: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/compress-debug-sections-zstd.sh .sh +59: + cc -B. -o out/test/elf/x86_64/bsymbolic-non-weak/exe out/test/elf/x86_64/bsymbolic-non-weak/c.o out/test/elf/x86_64/bsymbolic-non-weak/b.so 70: ++ testname=compress-debug-sections-zstd 70: ++ echo -n 'Testing compress-debug-sections-zstd ... ' 70: Testing compress-debug-sections-zstd ... ++ t=out/test/elf/x86_64/compress-debug-sections-zstd 70: ++ mkdir -p out/test/elf/x86_64/compress-debug-sections-zstd - 60/369 Test #60: x86_64-bsymbolic ................................. Passed 0.19 sec +53: + readelf --dynamic out/test/elf/x86_64/as-needed-weak/exe2 +70: + '[' x86_64 = arm ']' +70: + '[' x86_64 = riscv32 ']' +70: + command -v zstdcat +53: + grep -Fq 'Shared library: [libfoo.so]' out/test/elf/x86_64/as-needed-weak/log2 +70: + skip +70: + echo skipped +70: skipped +70: + trap - EXIT +70: + exit 0 + 59/369 Test #70: x86_64-compress-debug-sections-zstd ..............***Skipped 0.01 sec +test 71 + Start 71: x86_64-compress-debug-sections + +71: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/compress-debug-sections.sh" +71: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +71: Environment variables: +71: MACHINE=x86_64 +71: CPU= +71: Test timeout computed to be: 1500 +53: + grep -Fq 'Shared library: [libbar.so]' out/test/elf/x86_64/as-needed-weak/log2 +53: + on_exit +53: + echo OK +53: OK +53: + exit 0 + 60/369 Test #53: x86_64-as-needed-weak ............................ Passed 0.49 sec test 72 Start 72: x86_64-compressed-debug-info @@ -5172,14 +5173,11 @@ 72: MACHINE=x86_64 72: CPU= 72: Test timeout computed to be: 1500 -66: + cat -66: + cc -c -o out/test/elf/x86_64/comment/a.o -xc - -69: ++ testname=common -69: ++ echo -n 'Testing common ... ' -69: Testing common ... ++ t=out/test/elf/x86_64/common -69: ++ mkdir -p out/test/elf/x86_64/common +54: + readelf --dynamic out/test/elf/x86_64/as-needed/exe 71: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/compress-debug-sections.sh 71: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc +65: + grep -q $'\E' out/test/elf/x86_64/color-diagnostics/log +54: + grep -Fq 'Shared library: [libfoo.so]' out/test/elf/x86_64/as-needed/readelf 71: ++ export LC_ALL=C 71: ++ LC_ALL=C 71: ++ '[' -z x86_64 ']' @@ -5198,36 +5196,16 @@ 71: ++ trap 'on_error $LINENO' ERR 71: ++ trap on_exit EXIT 71: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/compress-debug-sections.sh .sh -70: + '[' x86_64 = arm ']' -70: + '[' x86_64 = riscv32 ']' -70: + command -v zstdcat -70: + skip -70: + echo skipped -70: skipped -70: + trap - EXIT -70: + exit 0 - 61/369 Test #70: x86_64-compress-debug-sections-zstd ..............***Skipped 0.02 sec -test 73 - Start 73: x86_64-copyrel-alignment - -73: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/copyrel-alignment.sh" -73: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -73: Environment variables: -73: MACHINE=x86_64 -73: CPU= -73: Test timeout computed to be: 1500 -71: ++ testname=compress-debug-sections -71: ++ echo -n 'Testing compress-debug-sections ... ' -71: Testing compress-debug-sections ... ++ t=out/test/elf/x86_64/compress-debug-sections -71: ++ mkdir -p out/test/elf/x86_64/compress-debug-sections -71: + command -v dwarfdump -71: + cc -c -g -o out/test/elf/x86_64/compress-debug-sections/a.o -xc - -69: + cat -69: + cc -fcommon -xc -c -o out/test/elf/x86_64/common/a.o - 72: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/compressed-debug-info.sh +65: + ./mold -o out/test/elf/x86_64/color-diagnostics/exe out/test/elf/x86_64/color-diagnostics/a.o --color-diagnostics=never +54: + grep -Fq 'Shared library: [libbar.so]' out/test/elf/x86_64/as-needed/readelf 72: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 72: ++ export LC_ALL=C 72: ++ LC_ALL=C +71: ++ testname=compress-debug-sections +71: ++ echo -n 'Testing compress-debug-sections ... ' +71: Testing compress-debug-sections ... ++ t=out/test/elf/x86_64/compress-debug-sections +71: ++ mkdir -p out/test/elf/x86_64/compress-debug-sections 72: ++ '[' -z x86_64 ']' 72: ++ '[' -z '' ']' 72: ++ TESTDIR=out/test/elf/x86_64 @@ -5244,57 +5222,50 @@ 72: ++ trap 'on_error $LINENO' ERR 72: ++ trap on_exit EXIT 72: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/compressed-debug-info.sh .sh +54: + 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 +71: + command -v dwarfdump +71: + cat 72: ++ testname=compressed-debug-info 72: ++ echo -n 'Testing compressed-debug-info ... ' 72: Testing compressed-debug-info ... ++ t=out/test/elf/x86_64/compressed-debug-info 72: ++ mkdir -p out/test/elf/x86_64/compressed-debug-info +71: + cc -c -g -o out/test/elf/x86_64/compress-debug-sections/a.o -xc - 72: + command -v dwarfdump 72: + cat -10: + out/test/elf/x86_64/x86_64_ifunc-alias/exe -10: + on_exit -10: + echo OK -10: OK -10: + exit 0 - 62/369 Test #10: x86_64-x86_64_ifunc-alias ........................ Passed 1.34 sec -test 74 - Start 74: x86_64-copyrel-norelro - -74: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/copyrel-norelro.sh" -74: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -74: Environment variables: -74: MACHINE=x86_64 -74: CPU= -74: Test timeout computed to be: 1500 -71: + cat 72: + c++ -c -o out/test/elf/x86_64/compressed-debug-info/a.o -g -gz=zlib -xc++ - -63: + cat -63: + cc -o out/test/elf/x86_64/canonical-plt/c.o -c -xc - -fno-PIC +66: + cc -B. -o out/test/elf/x86_64/comment/exe out/test/elf/x86_64/comment/a.o +67: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-archive/b.o - +67: + cat +69: + cat +69: + cc -fcommon -xc -c -o out/test/elf/x86_64/common/b.o - +59: + grep -q '^3 3 3 3 4 7$' +59: + out/test/elf/x86_64/bsymbolic-non-weak/exe +59: + on_exit +59: + echo OK +59: OK +59: + exit 0 +68: + cat +68: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-ref/b.o - + 61/369 Test #59: x86_64-bsymbolic-non-weak ........................ Passed 0.34 sec +62: + grep -qv 'GNU.*0x00000010.*NT_GNU_BUILD_ID' +test 73 + Start 73: x86_64-copyrel-alignment + +73: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/copyrel-alignment.sh" +73: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +73: Environment variables: +73: MACHINE=x86_64 +73: CPU= +73: Test timeout computed to be: 1500 +62: + readelf -n out/test/elf/x86_64/build-id/exe +62: + cc -B. -o out/test/elf/x86_64/build-id/exe out/test/elf/x86_64/build-id/a.c -Wl,-build-id=uuid 73: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/copyrel-alignment.sh -74: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/copyrel-norelro.sh 73: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 73: ++ export LC_ALL=C 73: ++ LC_ALL=C 73: ++ '[' -z x86_64 ']' 73: ++ '[' -z '' ']' -74: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc -74: ++ export LC_ALL=C -74: ++ LC_ALL=C -74: ++ '[' -z x86_64 ']' 73: ++ TESTDIR=out/test/elf/x86_64 -74: ++ '[' -z '' ']' -74: ++ TESTDIR=out/test/elf/x86_64 -74: ++ CC=cc -74: ++ CXX=c++ -74: ++ GCC=gcc -74: ++ GXX=g++ -74: ++ OBJDUMP=objdump -74: ++ OBJCOPY=objcopy -74: ++ STRIP=strip -74: ++ QEMU= -74: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' -74: ++ tlsdesc_opt=-mtls-dialect=gnu2 -74: ++ trap 'on_error $LINENO' ERR -74: ++ trap on_exit EXIT 73: ++ CC=cc 73: ++ CXX=c++ 73: ++ GCC=gcc @@ -5307,38 +5278,78 @@ 73: ++ tlsdesc_opt=-mtls-dialect=gnu2 73: ++ trap 'on_error $LINENO' ERR 73: ++ trap on_exit EXIT -74: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/copyrel-norelro.sh .sh -74: ++ testname=copyrel-norelro -74: ++ echo -n 'Testing copyrel-norelro ... ' -74: Testing copyrel-norelro ... ++ t=out/test/elf/x86_64/copyrel-norelro +30: + grep -q '^56$' 73: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/copyrel-alignment.sh .sh -74: ++ mkdir -p out/test/elf/x86_64/copyrel-norelro 73: ++ testname=copyrel-alignment 73: ++ echo -n 'Testing copyrel-alignment ... ' 73: Testing copyrel-alignment ... ++ t=out/test/elf/x86_64/copyrel-alignment 73: ++ mkdir -p out/test/elf/x86_64/copyrel-alignment -5: + out/test/elf/x86_64/x86_64_exception-mcmodel-large/exe -74: + '[' x86_64 = alpha ']' -74: + [[ x86_64 = ppc64* ]] -74: + [[ x86_64 = loongarch* ]] -74: + cat -74: + cc -o out/test/elf/x86_64/copyrel-norelro/a.o -c -xc -fno-PIE - -65: + ./mold -o out/test/elf/x86_64/color-diagnostics/exe out/test/elf/x86_64/color-diagnostics/a.o --color-diagnostics +63: + cat +54: + readelf --dynamic out/test/elf/x86_64/as-needed/exe +63: + cc -o out/test/elf/x86_64/canonical-plt/b.o -c -xc - -fPIC +30: + out/test/elf/x86_64/x86_64_reloc/exe 73: + '[' x86_64 = ppc64 ']' 73: + '[' x86_64 = ppc64le ']' 73: + '[' x86_64 = alpha ']' 73: + [[ x86_64 = loongarch* ]] 73: + cat 73: + cc -fPIC -shared -o out/test/elf/x86_64/copyrel-alignment/a.so -xc - -62: + readelf -nW out/test/elf/x86_64/build-id/exe -62: + grep -Eq 'Build ID: ............4...[89abcdef]' -5: + on_exit -5: + echo OK -5: OK -5: + exit 0 -68: + cat -68: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-ref/b.o - - 63/369 Test #5: x86_64-x86_64_exception-mcmodel-large ............ Passed 1.37 sec +68: + rm -f out/test/elf/x86_64/common-ref/c.a +54: + grep -Fq 'Shared library: [libfoo.so]' out/test/elf/x86_64/as-needed/readelf +30: + 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 +71: + 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 +68: + ar rcs out/test/elf/x86_64/common-ref/c.a out/test/elf/x86_64/common-ref/b.o +67: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-archive/c.o - +54: + grep -Fq 'Shared library: [libbar.so]' out/test/elf/x86_64/as-needed/readelf +72: + c++ -c -o out/test/elf/x86_64/compressed-debug-info/b.o -g -gz=zlib -xc++ - +66: + readelf -p .comment out/test/elf/x86_64/comment/exe +65: + grep -q $'\E' out/test/elf/x86_64/color-diagnostics/log +54: + on_exit +54: + echo OK +54: OK +54: + exit 0 + 62/369 Test #54: x86_64-as-needed ................................. Passed 0.49 sec +test 74 + Start 74: x86_64-copyrel-norelro + +74: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/copyrel-norelro.sh" +74: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +74: Environment variables: +74: MACHINE=x86_64 +74: CPU= +74: Test timeout computed to be: 1500 +67: + cat +69: + 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 +72: + cat +66: + grep -q '[ms]old' +66: + readelf -SW out/test/elf/x86_64/comment/exe +66: + grep -Eq '\.comment.*\bMS\b' +74: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/copyrel-norelro.sh +74: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc +74: ++ export LC_ALL=C +74: ++ LC_ALL=C +74: ++ '[' -z x86_64 ']' +74: ++ '[' -z '' ']' +74: ++ TESTDIR=out/test/elf/x86_64 +74: ++ CC=cc +74: ++ CXX=c++ +74: ++ GCC=gcc +74: ++ GXX=g++ +74: ++ OBJDUMP=objdump +74: ++ OBJCOPY=objcopy +74: ++ STRIP=strip +74: ++ QEMU= +74: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' +74: ++ tlsdesc_opt=-mtls-dialect=gnu2 +74: ++ trap 'on_error $LINENO' ERR +74: ++ trap on_exit EXIT +74: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/copyrel-norelro.sh .sh +65: + ./mold -o out/test/elf/x86_64/color-diagnostics/exe out/test/elf/x86_64/color-diagnostics/a.o --color-diagnostics=auto +66: + on_exit +66: + echo OK +66: OK +66: + exit 0 + 63/369 Test #66: x86_64-comment ................................... Passed 0.13 sec test 75 Start 75: x86_64-copyrel-protected @@ -5348,12 +5359,17 @@ 75: MACHINE=x86_64 75: CPU= 75: Test timeout computed to be: 1500 -67: + cat -67: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-archive/b.o - -62: + cc -B. -o out/test/elf/x86_64/build-id/exe out/test/elf/x86_64/build-id/a.c -Wl,-build-id=md5 -66: + cc -B. -o out/test/elf/x86_64/comment/exe out/test/elf/x86_64/comment/a.o -69: + cat -69: + cc -fcommon -xc -c -o out/test/elf/x86_64/common/b.o - +74: ++ testname=copyrel-norelro +74: ++ echo -n 'Testing copyrel-norelro ... ' +74: Testing copyrel-norelro ... ++ t=out/test/elf/x86_64/copyrel-norelro +74: ++ mkdir -p out/test/elf/x86_64/copyrel-norelro +74: + '[' x86_64 = alpha ']' +74: + [[ x86_64 = ppc64* ]] +74: + [[ x86_64 = loongarch* ]] +74: + cc -o out/test/elf/x86_64/copyrel-norelro/a.o -c -xc -fno-PIE - +74: + cat +68: + cat +68: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-ref/d.o - 75: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/copyrel-protected.sh 75: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 75: ++ export LC_ALL=C @@ -5373,11 +5389,7 @@ 75: ++ tlsdesc_opt=-mtls-dialect=gnu2 75: ++ trap 'on_error $LINENO' ERR 75: ++ trap on_exit EXIT -68: + rm -f out/test/elf/x86_64/common-ref/c.a -65: + grep -q $'\E' out/test/elf/x86_64/color-diagnostics/log 75: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/copyrel-protected.sh .sh -68: + ar rcs out/test/elf/x86_64/common-ref/c.a out/test/elf/x86_64/common-ref/b.o -65: + ./mold -o out/test/elf/x86_64/color-diagnostics/exe out/test/elf/x86_64/color-diagnostics/a.o --color-diagnostics=always 75: ++ testname=copyrel-protected 75: ++ echo -n 'Testing copyrel-protected ... ' 75: Testing copyrel-protected ... ++ t=out/test/elf/x86_64/copyrel-protected @@ -5386,33 +5398,17 @@ 75: + '[' x86_64 = ppc64le ']' 75: + '[' x86_64 = alpha ']' 75: + [[ x86_64 = loongarch* ]] -75: + cc -o out/test/elf/x86_64/copyrel-protected/a.o -c -xc -fno-PIE - 75: + cat -63: + 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 -68: + cat -72: + cat -72: + c++ -c -o out/test/elf/x86_64/compressed-debug-info/b.o -g -gz=zlib -xc++ - 67: + cat -67: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-archive/c.o - -68: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-ref/d.o - -65: + grep -q $'\E' out/test/elf/x86_64/color-diagnostics/log -65: + ./mold -o out/test/elf/x86_64/color-diagnostics/exe out/test/elf/x86_64/color-diagnostics/a.o --color-diagnostics=never -74: + cat -74: + cc -B. -fPIC -shared -o out/test/elf/x86_64/copyrel-norelro/b.so -xc - +67: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-archive/d.o - +75: + cc -o out/test/elf/x86_64/copyrel-protected/a.o -c -xc -fno-PIE - 65: + grep -q $'\E' out/test/elf/x86_64/color-diagnostics/log -65: + ./mold -o out/test/elf/x86_64/color-diagnostics/exe out/test/elf/x86_64/color-diagnostics/a.o --color-diagnostics=auto -66: + grep -q '[ms]old' -71: + 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 -66: + readelf -p .comment out/test/elf/x86_64/comment/exe -69: + 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 -66: + grep -Eq '\.comment.*\bMS\b' -66: + readelf -SW out/test/elf/x86_64/comment/exe -73: + cat -66: + on_exit -66: + echo OK -66: OK -66: + exit 0 - 64/369 Test #66: x86_64-comment ................................... Passed 0.14 sec +65: + on_exit +65: + echo OK +65: OK +65: + exit 0 +63: + cat + 64/369 Test #65: x86_64-color-diagnostics ......................... Passed 0.16 sec test 76 Start 76: x86_64-copyrel-relro @@ -5422,40 +5418,10 @@ 76: MACHINE=x86_64 76: CPU= 76: Test timeout computed to be: 1500 -62: + readelf -n out/test/elf/x86_64/build-id/exe -62: + grep -q 'GNU.*0x00000010.*NT_GNU_BUILD_ID' -62: + cc -B. -o out/test/elf/x86_64/build-id/exe out/test/elf/x86_64/build-id/a.c -Wl,-build-id=sha1 -73: + cc -fPIC -shared -o out/test/elf/x86_64/copyrel-alignment/b.so -xc - -68: + rm -f out/test/elf/x86_64/common-ref/e.a -68: + ar rcs out/test/elf/x86_64/common-ref/e.a out/test/elf/x86_64/common-ref/d.o -63: + grep -q '^1 1 1$' -63: + out/test/elf/x86_64/canonical-plt/exe +71: + dwarfdump out/test/elf/x86_64/compress-debug-sections/exe +63: + cc -o out/test/elf/x86_64/canonical-plt/c.o -c -xc - -fno-PIC 72: + 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 -67: + cat -75: + cat -75: + cc -shared -o out/test/elf/x86_64/copyrel-protected/b.so -xc - -67: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-archive/d.o - 76: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/copyrel-relro.sh -68: + 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 -65: + grep -q $'\E' out/test/elf/x86_64/color-diagnostics/log -63: + on_exit -63: + echo OK -63: OK -63: + exit 0 - 65/369 Test #63: x86_64-canonical-plt ............................. Passed 0.24 sec -test 77 - Start 77: x86_64-copyrel-relro2 - -77: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/copyrel-relro2.sh" -77: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -77: Environment variables: -77: MACHINE=x86_64 -77: CPU= -77: Test timeout computed to be: 1500 -65: + on_exit -65: + echo OK -65: OK -65: + exit 0 76: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 76: ++ export LC_ALL=C 76: ++ LC_ALL=C @@ -5475,7 +5441,54 @@ 76: ++ trap 'on_error $LINENO' ERR 76: ++ trap on_exit EXIT 76: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/copyrel-relro.sh .sh - 66/369 Test #65: x86_64-color-diagnostics ......................... Passed 0.17 sec +69: + grep -q '0 5 42' +68: + rm -f out/test/elf/x86_64/common-ref/e.a +69: + out/test/elf/x86_64/common/exe +30: + out/test/elf/x86_64/x86_64_reloc/exe +76: ++ testname=copyrel-relro +76: ++ echo -n 'Testing copyrel-relro ... ' +76: Testing copyrel-relro ... ++ t=out/test/elf/x86_64/copyrel-relro +76: ++ mkdir -p out/test/elf/x86_64/copyrel-relro +68: + ar rcs out/test/elf/x86_64/common-ref/e.a out/test/elf/x86_64/common-ref/d.o +69: + readelf --sections out/test/elf/x86_64/common/exe +30: + grep -q '^56$' +30: + cat +71: + grep -Fq '.debug_info SHF_COMPRESSED' out/test/elf/x86_64/compress-debug-sections/log +76: + cat +76: + cc -o out/test/elf/x86_64/copyrel-relro/a.o -c -xc -fno-PIE - +67: + rm -f out/test/elf/x86_64/common-archive/e.a +68: + 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 +73: + cc -fPIC -shared -o out/test/elf/x86_64/copyrel-alignment/b.so -xc - +30: + 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 +73: + cat +62: + grep -Eq 'Build ID: ............4...[89abcdef]' +62: + readelf -nW out/test/elf/x86_64/build-id/exe +74: + cat +67: + 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 +74: + cc -B. -fPIC -shared -o out/test/elf/x86_64/copyrel-norelro/b.so -xc - +71: + grep -Fq '.debug_str SHF_COMPRESSED' out/test/elf/x86_64/compress-debug-sections/log +69: + grep -q '.common .*NOBITS' out/test/elf/x86_64/common/log +62: + cc -B. -o out/test/elf/x86_64/build-id/exe out/test/elf/x86_64/build-id/a.c -Wl,-build-id=md5 +69: + on_exit +69: + echo OK +69: OK +69: + exit 0 +67: + 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: + on_exit +71: + echo OK +71: OK +71: + exit 0 + 65/369 Test #69: x86_64-common .................................... Passed 0.18 sec + 66/369 Test #71: x86_64-compress-debug-sections ................... Passed 0.13 sec +test 77 + Start 77: x86_64-copyrel-relro2 + +77: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/copyrel-relro2.sh" +77: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +77: Environment variables: +77: MACHINE=x86_64 +77: CPU= +77: Test timeout computed to be: 1500 test 78 Start 78: x86_64-copyrel @@ -5485,13 +5498,9 @@ 78: MACHINE=x86_64 78: CPU= 78: Test timeout computed to be: 1500 -76: ++ testname=copyrel-relro -76: ++ echo -n 'Testing copyrel-relro ... ' -76: Testing copyrel-relro ... ++ t=out/test/elf/x86_64/copyrel-relro -76: ++ mkdir -p out/test/elf/x86_64/copyrel-relro -76: + cat -76: + cc -o out/test/elf/x86_64/copyrel-relro/a.o -c -xc -fno-PIE - -71: + dwarfdump out/test/elf/x86_64/compress-debug-sections/exe +75: + cat +75: + cc -shared -o out/test/elf/x86_64/copyrel-protected/b.so -xc - +63: + 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 77: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/copyrel-relro2.sh 77: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 77: ++ export LC_ALL=C @@ -5516,17 +5525,7 @@ 77: ++ echo -n 'Testing copyrel-relro2 ... ' 77: Testing copyrel-relro2 ... ++ t=out/test/elf/x86_64/copyrel-relro2 77: ++ mkdir -p out/test/elf/x86_64/copyrel-relro2 -67: + rm -f out/test/elf/x86_64/common-archive/e.a -67: + 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 -77: + cat -77: + cc -o out/test/elf/x86_64/copyrel-relro2/a.o -c -xc -fno-PIE - -69: + grep -q '0 5 42' -69: + out/test/elf/x86_64/common/exe -67: + 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 78: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/copyrel.sh -72: + dwarfdump out/test/elf/x86_64/compressed-debug-info/exe -74: + cc -B. out/test/elf/x86_64/copyrel-norelro/a.o out/test/elf/x86_64/copyrel-norelro/b.so -o out/test/elf/x86_64/copyrel-norelro/exe1 -no-pie -Wl,-z,relro -69: + readelf --sections out/test/elf/x86_64/common/exe 78: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 78: ++ export LC_ALL=C 78: ++ LC_ALL=C @@ -5550,18 +5549,26 @@ 78: ++ echo -n 'Testing copyrel ... ' 78: Testing copyrel ... ++ t=out/test/elf/x86_64/copyrel 78: ++ mkdir -p out/test/elf/x86_64/copyrel -71: + grep -Fq '.debug_info SHF_COMPRESSED' out/test/elf/x86_64/compress-debug-sections/log -69: + grep -q '.common .*NOBITS' out/test/elf/x86_64/common/log -73: + cc -fPIC -shared -o out/test/elf/x86_64/copyrel-alignment/c.so -xc - -73: + cat -72: + readelf --sections out/test/elf/x86_64/compressed-debug-info/exe -69: + on_exit -69: + echo OK -69: OK -69: + exit 0 +72: + dwarfdump out/test/elf/x86_64/compressed-debug-info/exe +77: + cc -o out/test/elf/x86_64/copyrel-relro2/a.o -c -xc -fno-PIE - +77: + cat 78: + cat +78: + cc -fno-PIC -o out/test/elf/x86_64/copyrel/a.o -c -xc - +72: + readelf --sections out/test/elf/x86_64/compressed-debug-info/exe +76: + cat +76: + cc -fPIC -shared -o out/test/elf/x86_64/copyrel-relro/b.so -xc - +72: + grep -Fq .debug_info +73: + cat +73: + cc -fPIC -shared -o out/test/elf/x86_64/copyrel-alignment/c.so -xc - +68: + grep -q 5 68: + out/test/elf/x86_64/common-ref/exe - 67/369 Test #69: x86_64-common .................................... Passed 0.18 sec +67: + out/test/elf/x86_64/common-archive/exe +72: + on_exit +72: + echo OK +72: OK +72: + exit 0 +67: + grep -q '5 0 0 -1' + 67/369 Test #72: x86_64-compressed-debug-info ..................... Passed 0.17 sec test 79 Start 79: x86_64-ctors-in-init-array @@ -5571,43 +5578,7 @@ 79: MACHINE=x86_64 79: CPU= 79: Test timeout computed to be: 1500 -71: + grep -Fq '.debug_str SHF_COMPRESSED' out/test/elf/x86_64/compress-debug-sections/log -71: + on_exit -71: + echo OK -71: OK -71: + exit 0 -72: + grep -Fq .debug_info -72: + on_exit -72: + echo OK -72: OK -72: + exit 0 -78: + cc -fno-PIC -o out/test/elf/x86_64/copyrel/a.o -c -xc - -68: + grep -q 5 79: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/ctors-in-init-array.sh - 68/369 Test #71: x86_64-compress-debug-sections ................... Passed 0.18 sec - 69/369 Test #72: x86_64-compressed-debug-info ..................... Passed 0.17 sec -test 80 - Start 80: x86_64-dead-debug-sections - -80: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/dead-debug-sections.sh" -80: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -80: Environment variables: -80: MACHINE=x86_64 -80: CPU= -80: Test timeout computed to be: 1500 -test 81 - Start 81: x86_64-debug-macro-section - -81: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/debug-macro-section.sh" -81: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -81: Environment variables: -81: MACHINE=x86_64 -81: CPU= -81: Test timeout computed to be: 1500 -68: + on_exit -68: + echo OK -68: OK -68: + exit 0 79: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 79: ++ export LC_ALL=C 79: ++ LC_ALL=C @@ -5631,27 +5602,28 @@ 79: ++ echo -n 'Testing ctors-in-init-array ... ' 79: Testing ctors-in-init-array ... ++ t=out/test/elf/x86_64/ctors-in-init-array 79: ++ mkdir -p out/test/elf/x86_64/ctors-in-init-array -75: + 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 -74: + readelf -W --sections out/test/elf/x86_64/copyrel-norelro/exe1 -74: + grep -Fq .copyrel.rel.ro out/test/elf/x86_64/copyrel-norelro/log1 -74: + cc -B. out/test/elf/x86_64/copyrel-norelro/a.o out/test/elf/x86_64/copyrel-norelro/b.so -o out/test/elf/x86_64/copyrel-norelro/exe2 -no-pie -Wl,-z,norelro -67: + grep -q '5 0 0 -1' -67: + out/test/elf/x86_64/common-archive/exe -67: + cat -67: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-archive/f.o - - 70/369 Test #68: x86_64-common-ref ................................ Passed 0.22 sec -test 82 - Start 82: x86_64-default-symver +68: + on_exit +68: + echo OK +68: OK +68: + exit 0 + 68/369 Test #68: x86_64-common-ref ................................ Passed 0.24 sec +test 80 + Start 80: x86_64-dead-debug-sections -82: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/default-symver.sh" -82: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -82: Environment variables: -82: MACHINE=x86_64 -82: CPU= -82: Test timeout computed to be: 1500 +80: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/dead-debug-sections.sh" +80: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +80: Environment variables: +80: MACHINE=x86_64 +80: CPU= +80: Test timeout computed to be: 1500 +67: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-archive/f.o - +67: + cat 79: + cat 79: + cc -o out/test/elf/x86_64/ctors-in-init-array/a.o -c -xc - 80: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/dead-debug-sections.sh +63: + out/test/elf/x86_64/canonical-plt/exe +63: + grep -q '^1 1 1$' +75: + 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 80: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 80: ++ export LC_ALL=C 80: ++ LC_ALL=C @@ -5675,6 +5647,32 @@ 80: ++ echo -n 'Testing dead-debug-sections ... ' 80: Testing dead-debug-sections ... ++ t=out/test/elf/x86_64/dead-debug-sections 80: ++ mkdir -p out/test/elf/x86_64/dead-debug-sections +74: + cc -B. out/test/elf/x86_64/copyrel-norelro/a.o out/test/elf/x86_64/copyrel-norelro/b.so -o out/test/elf/x86_64/copyrel-norelro/exe1 -no-pie -Wl,-z,relro +30: + out/test/elf/x86_64/x86_64_reloc/exe +63: + on_exit +63: + echo OK +63: OK +63: + exit 0 +80: + command -v dwarfdump +80: + cat +77: + cc -B. -fPIC -shared -o out/test/elf/x86_64/copyrel-relro2/b.so -xc - +77: + cat +62: + grep -q 'GNU.*0x00000010.*NT_GNU_BUILD_ID' +62: + readelf -n out/test/elf/x86_64/build-id/exe + 69/369 Test #63: x86_64-canonical-plt ............................. Passed 0.29 sec +test 81 + Start 81: x86_64-debug-macro-section + +81: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/debug-macro-section.sh" +81: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +81: Environment variables: +81: MACHINE=x86_64 +81: CPU= +81: Test timeout computed to be: 1500 +80: + c++ -c -o out/test/elf/x86_64/dead-debug-sections/a.o -g -xc++ - +62: + cc -B. -o out/test/elf/x86_64/build-id/exe out/test/elf/x86_64/build-id/a.c -Wl,-build-id=sha1 +30: + grep -q '^76$' +30: + 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 81: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/debug-macro-section.sh 81: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 81: ++ export LC_ALL=C @@ -5695,22 +5693,43 @@ 81: ++ trap 'on_error $LINENO' ERR 81: ++ trap on_exit EXIT 81: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/debug-macro-section.sh .sh -73: + cat 81: ++ testname=debug-macro-section 81: ++ echo -n 'Testing debug-macro-section ... ' 81: Testing debug-macro-section ... ++ t=out/test/elf/x86_64/debug-macro-section 81: ++ mkdir -p out/test/elf/x86_64/debug-macro-section -73: + cc -fno-PIE -o out/test/elf/x86_64/copyrel-alignment/d.o -c -xc - -80: + command -v dwarfdump -80: + cat -80: + c++ -c -o out/test/elf/x86_64/dead-debug-sections/a.o -g -xc++ - -77: + cat -77: + cc -B. -fPIC -shared -o out/test/elf/x86_64/copyrel-relro2/b.so -xc - +81: + cat +78: + cc -fno-PIC -o out/test/elf/x86_64/copyrel/b.o -c -xc - 78: + cat +74: + readelf -W --sections out/test/elf/x86_64/copyrel-norelro/exe1 +81: + gcc -o out/test/elf/x86_64/debug-macro-section/b.o -c -xc - -Iout/test/elf/x86_64/debug-macro-section -g3 +81: + cat +74: + grep -Fq .copyrel.rel.ro out/test/elf/x86_64/copyrel-norelro/log1 +74: + cc -B. out/test/elf/x86_64/copyrel-norelro/a.o out/test/elf/x86_64/copyrel-norelro/b.so -o out/test/elf/x86_64/copyrel-norelro/exe2 -no-pie -Wl,-z,norelro +76: + 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 +75: + grep -Fq 'cannot make copy relocation for protected symbol' out/test/elf/x86_64/copyrel-protected/log +79: + cat +80: + cat +67: + rm -f out/test/elf/x86_64/common-archive/f.a +79: + cc -o out/test/elf/x86_64/ctors-in-init-array/b.o -c -xc - +73: + cat +67: + 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 +73: + cc -fno-PIE -o out/test/elf/x86_64/copyrel-alignment/d.o -c -xc - +75: + on_exit +75: + echo OK +75: OK +75: + exit 0 +80: + c++ -c -o out/test/elf/x86_64/dead-debug-sections/b.o -g -xc++ - + 70/369 Test #75: x86_64-copyrel-protected ......................... Passed 0.21 sec +test 82 + Start 82: x86_64-default-symver + +82: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/default-symver.sh" +82: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +82: Environment variables: +82: MACHINE=x86_64 +82: CPU= +82: Test timeout computed to be: 1500 82: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/default-symver.sh -76: + cat -78: + cc -fno-PIC -o out/test/elf/x86_64/copyrel/b.o -c -xc - -76: + cc -fPIC -shared -o out/test/elf/x86_64/copyrel-relro/b.so -xc - 82: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 82: ++ export LC_ALL=C 82: ++ LC_ALL=C @@ -5729,33 +5748,27 @@ 82: ++ tlsdesc_opt=-mtls-dialect=gnu2 82: ++ trap 'on_error $LINENO' ERR 82: ++ trap on_exit EXIT -81: + cat -62: + readelf -n out/test/elf/x86_64/build-id/exe -62: + grep -q 'GNU.*0x00000014.*NT_GNU_BUILD_ID' 82: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/default-symver.sh .sh 82: ++ testname=default-symver 82: ++ echo -n 'Testing default-symver ... ' 82: Testing default-symver ... ++ t=out/test/elf/x86_64/default-symver 82: ++ mkdir -p out/test/elf/x86_64/default-symver -62: + cc -B. -o out/test/elf/x86_64/build-id/exe out/test/elf/x86_64/build-id/a.c -Wl,-build-id=sha256 +67: + 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 82: + cat -81: + gcc -o out/test/elf/x86_64/debug-macro-section/b.o -c -xc - -Iout/test/elf/x86_64/debug-macro-section -g3 82: + cc -o out/test/elf/x86_64/default-symver/a.o -c -xc - -81: + cat -67: + rm -f out/test/elf/x86_64/common-archive/f.a -67: + 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 -79: + cat -79: + cc -o out/test/elf/x86_64/ctors-in-init-array/b.o -c -xc - +77: + cc -B. out/test/elf/x86_64/copyrel-relro2/a.o out/test/elf/x86_64/copyrel-relro2/b.so -o out/test/elf/x86_64/copyrel-relro2/exe -no-pie 74: + readelf -W --sections out/test/elf/x86_64/copyrel-norelro/exe2 -75: + grep -Fq 'cannot make copy relocation for protected symbol' out/test/elf/x86_64/copyrel-protected/log -75: + on_exit -75: + echo OK -75: OK -67: + 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 -75: + exit 0 -73: + 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 +30: + grep -q '^76$' +30: + out/test/elf/x86_64/x86_64_reloc/exe +30: + cat 74: + grep -Fq .copyrel.rel.ro out/test/elf/x86_64/copyrel-norelro/log2 - 71/369 Test #75: x86_64-copyrel-protected ......................... Passed 0.20 sec +78: + cat +78: + cc -fPIC -o out/test/elf/x86_64/copyrel/c.o -c -xc - +74: + on_exit +74: + echo OK +74: OK +74: + exit 0 + 71/369 Test #74: x86_64-copyrel-norelro ........................... Passed 0.28 sec test 83 Start 83: x86_64-defsym-lto @@ -5765,24 +5778,6 @@ 83: MACHINE=x86_64 83: CPU= 83: Test timeout computed to be: 1500 -74: + on_exit -74: + echo OK -74: OK -74: + exit 0 -78: + cc -fPIC -o out/test/elf/x86_64/copyrel/c.o -c -xc - -78: + cat -80: + cat -80: + c++ -c -o out/test/elf/x86_64/dead-debug-sections/b.o -g -xc++ - - 72/369 Test #74: x86_64-copyrel-norelro ........................... Passed 0.23 sec -test 84 - Start 84: x86_64-defsym-missing-symbol - -84: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/defsym-missing-symbol.sh" -84: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -84: Environment variables: -84: MACHINE=x86_64 -84: CPU= -84: Test timeout computed to be: 1500 83: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/defsym-lto.sh 83: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 83: ++ export LC_ALL=C @@ -5802,15 +5797,31 @@ 83: ++ tlsdesc_opt=-mtls-dialect=gnu2 83: ++ trap 'on_error $LINENO' ERR 83: ++ trap on_exit EXIT +76: + grep -q '^sigsegv 0 1$' +76: + out/test/elf/x86_64/copyrel-relro/exe 83: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/defsym-lto.sh .sh 83: ++ testname=defsym-lto 83: ++ echo -n 'Testing defsym-lto ... ' 83: Testing defsym-lto ... ++ t=out/test/elf/x86_64/defsym-lto 83: ++ mkdir -p out/test/elf/x86_64/defsym-lto 83: + echo 'int main() {}' -76: + 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 -84: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/defsym-missing-symbol.sh +76: + on_exit +76: + echo OK +76: OK +76: + exit 0 83: + cc -flto -o /dev/null -xc - + 72/369 Test #76: x86_64-copyrel-relro ............................. Passed 0.26 sec +test 84 + Start 84: x86_64-defsym-missing-symbol + +84: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/defsym-missing-symbol.sh" +84: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +84: Environment variables: +84: MACHINE=x86_64 +84: CPU= +84: Test timeout computed to be: 1500 +30: + 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: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/defsym-missing-symbol.sh 84: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 84: ++ export LC_ALL=C 84: ++ LC_ALL=C @@ -5830,33 +5841,24 @@ 84: ++ trap 'on_error $LINENO' ERR 84: ++ trap on_exit EXIT 84: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/defsym-missing-symbol.sh .sh +78: + cc -B. -shared -o out/test/elf/x86_64/copyrel/c.so out/test/elf/x86_64/copyrel/c.o 82: + 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 +81: + gcc -o out/test/elf/x86_64/debug-macro-section/c.o -c -xc - -Iout/test/elf/x86_64/debug-macro-section -g3 84: ++ testname=defsym-missing-symbol 84: ++ echo -n 'Testing defsym-missing-symbol ... ' 84: Testing defsym-missing-symbol ... ++ t=out/test/elf/x86_64/defsym-missing-symbol 84: ++ mkdir -p out/test/elf/x86_64/defsym-missing-symbol -84: + cat -84: + cc -o out/test/elf/x86_64/defsym-missing-symbol/a.o -c -xc - -73: + out/test/elf/x86_64/copyrel-alignment/exe1 -73: + grep -q '\.copyrel.* 32$' -73: + readelf -W --sections out/test/elf/x86_64/copyrel-alignment/exe1 -81: + gcc -o out/test/elf/x86_64/debug-macro-section/c.o -c -xc - -Iout/test/elf/x86_64/debug-macro-section -g3 -81: + cat -78: + cc -B. -shared -o out/test/elf/x86_64/copyrel/c.so out/test/elf/x86_64/copyrel/c.o +77: + grep -q '^sigsegv 0 1$' 79: + cc -B. -o out/test/elf/x86_64/ctors-in-init-array/exe out/test/elf/x86_64/ctors-in-init-array/a.o out/test/elf/x86_64/ctors-in-init-array/b.o -80: + cat -80: + c++ -o out/test/elf/x86_64/dead-debug-sections/c.o -c -xc++ -g - -73: + 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 -77: + cc -B. out/test/elf/x86_64/copyrel-relro2/a.o out/test/elf/x86_64/copyrel-relro2/b.so -o out/test/elf/x86_64/copyrel-relro2/exe -no-pie -67: + out/test/elf/x86_64/common-archive/exe -76: + out/test/elf/x86_64/copyrel-relro/exe -76: + grep -q '^sigsegv 0 1$' -67: + grep -q '5 0 7 2' -76: + on_exit -76: + echo OK -76: OK -76: + exit 0 - 73/369 Test #76: x86_64-copyrel-relro ............................. Passed 0.20 sec +81: + cat +77: + out/test/elf/x86_64/copyrel-relro2/exe +73: + 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 +84: + cc -o out/test/elf/x86_64/defsym-missing-symbol/a.o -c -xc - +77: + on_exit +77: + echo OK +77: OK +77: + exit 0 + 73/369 Test #77: x86_64-copyrel-relro2 ............................ Passed 0.27 sec test 85 Start 85: x86_64-defsym @@ -5866,11 +5868,16 @@ 85: MACHINE=x86_64 85: CPU= 85: Test timeout computed to be: 1500 +84: + cat +80: + cat +67: + out/test/elf/x86_64/common-archive/exe +67: + grep -q '5 0 7 2' +80: + c++ -o out/test/elf/x86_64/dead-debug-sections/c.o -c -xc++ -g - 67: + on_exit 67: + echo OK 67: OK 67: + exit 0 - 74/369 Test #67: x86_64-common-archive ............................ Passed 0.34 sec + 74/369 Test #67: x86_64-common-archive ............................ Passed 0.47 sec test 86 Start 86: x86_64-defsym2 @@ -5880,15 +5887,6 @@ 86: MACHINE=x86_64 86: CPU= 86: Test timeout computed to be: 1500 -82: + grep -q ' foo@@b\.so' -82: + readelf --dyn-syms out/test/elf/x86_64/default-symver/b.so -82: + 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 -79: + out/test/elf/x86_64/ctors-in-init-array/exe -79: + grep -q 'ctor1 init1 ctor2 ctor3 ctor4 init2 fini2 dtor1 dtor2 dtor3 fini1 dtor4' -79: + on_exit -79: + echo OK -79: OK -79: + exit 0 85: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/defsym.sh 85: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 85: ++ export LC_ALL=C @@ -5908,35 +5906,8 @@ 85: ++ tlsdesc_opt=-mtls-dialect=gnu2 85: ++ trap 'on_error $LINENO' ERR 85: ++ trap on_exit EXIT -85: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/defsym.sh .sh -85: ++ testname=defsym -85: ++ echo -n 'Testing defsym ... ' -85: Testing defsym ... ++ t=out/test/elf/x86_64/defsym -85: ++ mkdir -p out/test/elf/x86_64/defsym -62: + readelf -n out/test/elf/x86_64/build-id/exe -62: + grep -q 'GNU.*0x00000020.*NT_GNU_BUILD_ID' -78: + 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 -84: + cc -B. -o out/test/elf/x86_64/defsym-missing-symbol/exe out/test/elf/x86_64/defsym-missing-symbol/a.o -Wl,-defsym=foo=bar -81: + 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 - 75/369 Test #79: x86_64-ctors-in-init-array ....................... Passed 0.15 sec -test 87 - Start 87: x86_64-demangle-cpp - -87: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/demangle-cpp.sh" -87: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -87: Environment variables: -87: MACHINE=x86_64 -87: CPU= -87: Test timeout computed to be: 1500 -62: + 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: + cat -85: + cc -fPIC -o out/test/elf/x86_64/defsym/a.o -c -xc - -87: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/demangle-cpp.sh 86: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/defsym2.sh -87: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc -87: ++ export LC_ALL=C 86: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc -87: ++ LC_ALL=C 86: ++ export LC_ALL=C 86: ++ LC_ALL=C 86: ++ '[' -z x86_64 ']' @@ -5955,6 +5926,56 @@ 86: ++ trap 'on_error $LINENO' ERR 86: ++ trap on_exit EXIT 86: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/defsym2.sh .sh +86: ++ testname=defsym2 +86: ++ echo -n 'Testing defsym2 ... ' +86: Testing defsym2 ... ++ t=out/test/elf/x86_64/defsym2 +86: ++ mkdir -p out/test/elf/x86_64/defsym2 +85: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/defsym.sh .sh +85: ++ testname=defsym +85: ++ echo -n 'Testing defsym ... ' +85: Testing defsym ... ++ t=out/test/elf/x86_64/defsym +85: ++ mkdir -p out/test/elf/x86_64/defsym +86: + cat +86: + cc -fPIC -o out/test/elf/x86_64/defsym2/a.o -c -xc - +82: + grep -q ' foo@@b\.so' +82: + readelf --dyn-syms out/test/elf/x86_64/default-symver/b.so +85: + cc -fPIC -o out/test/elf/x86_64/defsym/a.o -c -xc - +79: + grep -q 'ctor1 init1 ctor2 ctor3 ctor4 init2 fini2 dtor1 dtor2 dtor3 fini1 dtor4' +62: + readelf -n out/test/elf/x86_64/build-id/exe +85: + cat +79: + out/test/elf/x86_64/ctors-in-init-array/exe +30: + grep -q '^76$' +62: + grep -q 'GNU.*0x00000014.*NT_GNU_BUILD_ID' +30: + out/test/elf/x86_64/x86_64_reloc/exe +82: + 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 +62: + cc -B. -o out/test/elf/x86_64/build-id/exe out/test/elf/x86_64/build-id/a.c -Wl,-build-id=sha256 +30: + 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 +73: + out/test/elf/x86_64/copyrel-alignment/exe1 +84: + cc -B. -o out/test/elf/x86_64/defsym-missing-symbol/exe out/test/elf/x86_64/defsym-missing-symbol/a.o -Wl,-defsym=foo=bar +79: + on_exit +79: + echo OK +79: OK +79: + exit 0 + 75/369 Test #79: x86_64-ctors-in-init-array ....................... Passed 0.32 sec +test 87 + Start 87: x86_64-demangle-cpp + +87: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/demangle-cpp.sh" +87: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +87: Environment variables: +87: MACHINE=x86_64 +87: CPU= +87: Test timeout computed to be: 1500 +73: + grep -q '\.copyrel.* 32$' +73: + readelf -W --sections out/test/elf/x86_64/copyrel-alignment/exe1 +73: + 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 +81: + 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 +78: + 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 +80: + 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 +87: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/demangle-cpp.sh +87: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc +87: ++ export LC_ALL=C +87: ++ LC_ALL=C 87: ++ '[' -z x86_64 ']' 87: ++ '[' -z '' ']' 87: ++ TESTDIR=out/test/elf/x86_64 @@ -5975,31 +5996,24 @@ 87: ++ echo -n 'Testing demangle-cpp ... ' 87: Testing demangle-cpp ... ++ t=out/test/elf/x86_64/demangle-cpp 87: ++ mkdir -p out/test/elf/x86_64/demangle-cpp -86: ++ testname=defsym2 -86: ++ echo -n 'Testing defsym2 ... ' -86: Testing defsym2 ... ++ t=out/test/elf/x86_64/defsym2 -86: ++ mkdir -p out/test/elf/x86_64/defsym2 -86: + cc -fPIC -o out/test/elf/x86_64/defsym2/a.o -c -xc - -86: + cat -73: + out/test/elf/x86_64/copyrel-alignment/exe2 -87: + cat 87: + cc -c -o out/test/elf/x86_64/demangle-cpp/a.o -xc - -73: + readelf -W --sections out/test/elf/x86_64/copyrel-alignment/exe2 -73: + grep -q '\.copyrel.* 8$' -77: + out/test/elf/x86_64/copyrel-relro2/exe -73: + 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 -78: + out/test/elf/x86_64/copyrel/exe -77: + grep -q '^sigsegv 0 1$' -78: + grep -q '42 42 1' -78: + on_exit -78: + echo OK -78: OK -78: + exit 0 -77: + on_exit -77: + echo OK -77: OK -77: + exit 0 - 76/369 Test #77: x86_64-copyrel-relro2 ............................ Passed 0.23 sec +87: + cat +86: + cc -B. -o out/test/elf/x86_64/defsym2/b.so -shared -Wl,-defsym=bar=foo out/test/elf/x86_64/defsym2/a.o +85: + 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 +82: + grep -q ' foo@@bar' +82: + readelf --dyn-syms out/test/elf/x86_64/default-symver/b.so +81: + objdump --dwarf=macro out/test/elf/x86_64/debug-macro-section/exe +30: + out/test/elf/x86_64/x86_64_reloc/exe +73: + out/test/elf/x86_64/copyrel-alignment/exe2 +80: + out/test/elf/x86_64/dead-debug-sections/exe +80: + grep -q 'Hello world' +30: + grep -q '^76$' +30: + cat +82: + on_exit +82: + echo OK +82: OK +82: + exit 0 + 76/369 Test #82: x86_64-default-symver ............................ Passed 0.29 sec test 88 Start 88: x86_64-demangle-rust @@ -6009,8 +6023,18 @@ 88: MACHINE=x86_64 88: CPU= 88: Test timeout computed to be: 1500 - 77/369 Test #78: x86_64-copyrel ................................... Passed 0.22 sec -80: + 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 +80: + dwarfdump out/test/elf/x86_64/dead-debug-sections/exe +73: + grep -q '\.copyrel.* 8$' +73: + readelf -W --sections out/test/elf/x86_64/copyrel-alignment/exe2 +81: + grep 'DW_MACRO_import -.* 0x0$' out/test/elf/x86_64/debug-macro-section/log +30: + 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 +73: + 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 +88: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/demangle-rust.sh +80: + on_exit +80: + echo OK +80: OK +80: + exit 0 + 77/369 Test #80: x86_64-dead-debug-sections ....................... Passed 0.39 sec test 89 Start 89: x86_64-demangle @@ -6020,22 +6044,6 @@ 89: MACHINE=x86_64 89: CPU= 89: Test timeout computed to be: 1500 -84: + grep -q 'undefined symbol: bar' out/test/elf/x86_64/defsym-missing-symbol/log -84: + on_exit -84: + echo OK -84: OK -84: + exit 0 - 78/369 Test #84: x86_64-defsym-missing-symbol ..................... Passed 0.11 sec -test 90 - Start 90: x86_64-dependency-file - -90: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/dependency-file.sh" -90: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -90: Environment variables: -90: MACHINE=x86_64 -90: CPU= -90: Test timeout computed to be: 1500 -88: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/demangle-rust.sh 88: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 88: ++ export LC_ALL=C 88: ++ LC_ALL=C @@ -6059,6 +6067,27 @@ 88: ++ echo -n 'Testing demangle-rust ... ' 88: Testing demangle-rust ... ++ t=out/test/elf/x86_64/demangle-rust 88: ++ mkdir -p out/test/elf/x86_64/demangle-rust +88: + cat +88: + cc -c -o out/test/elf/x86_64/demangle-rust/a.o -xc - +81: + on_exit +81: + echo OK +81: OK +81: + exit 0 +84: + grep -q 'undefined symbol: bar' out/test/elf/x86_64/defsym-missing-symbol/log + 78/369 Test #81: x86_64-debug-macro-section ....................... Passed 0.37 sec +test 90 + Start 90: x86_64-dependency-file + +90: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/dependency-file.sh" +90: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +90: Environment variables: +90: MACHINE=x86_64 +90: CPU= +90: Test timeout computed to be: 1500 +84: + on_exit +84: + echo OK +84: OK +84: + exit 0 89: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/demangle.sh 89: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 89: ++ export LC_ALL=C @@ -6078,20 +6107,12 @@ 89: ++ tlsdesc_opt=-mtls-dialect=gnu2 89: ++ trap 'on_error $LINENO' ERR 89: ++ trap on_exit EXIT -82: + readelf --dyn-syms out/test/elf/x86_64/default-symver/b.so -82: + grep -q ' foo@@bar' -81: + objdump --dwarf=macro out/test/elf/x86_64/debug-macro-section/exe 89: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/demangle.sh .sh -82: + on_exit -82: + echo OK -82: OK -82: + exit 0 -89: ++ testname=demangle -89: ++ echo -n 'Testing demangle ... ' -89: Testing demangle ... ++ t=out/test/elf/x86_64/demangle -89: ++ mkdir -p out/test/elf/x86_64/demangle -88: + cat - 79/369 Test #82: x86_64-default-symver ............................ Passed 0.17 sec +87: + cc -B. -o out/test/elf/x86_64/demangle-cpp/exe1 out/test/elf/x86_64/demangle-cpp/a.o +62: + readelf -n out/test/elf/x86_64/build-id/exe +62: + grep -q 'GNU.*0x00000020.*NT_GNU_BUILD_ID' +62: + cc -B. -o out/test/elf/x86_64/build-id/exe out/test/elf/x86_64/build-id/a.c -Wl,-build-id=0xdeadbeefdeadbeef + 79/369 Test #84: x86_64-defsym-missing-symbol ..................... Passed 0.23 sec test 91 Start 91: x86_64-disable-new-dtags @@ -6101,6 +6122,12 @@ 91: MACHINE=x86_64 91: CPU= 91: Test timeout computed to be: 1500 +89: ++ testname=demangle +89: ++ echo -n 'Testing demangle ... ' +89: Testing demangle ... ++ t=out/test/elf/x86_64/demangle +89: ++ mkdir -p out/test/elf/x86_64/demangle +89: + cc -c -o out/test/elf/x86_64/demangle/a.o -xc++ - +89: + cat 90: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/dependency-file.sh 90: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 90: ++ export LC_ALL=C @@ -6121,18 +6148,22 @@ 90: ++ trap 'on_error $LINENO' ERR 90: ++ trap on_exit EXIT 90: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/dependency-file.sh .sh -81: + grep 'DW_MACRO_import -.* 0x0$' out/test/elf/x86_64/debug-macro-section/log -81: + on_exit -81: + echo OK -81: OK -81: + exit 0 -88: + cc -c -o out/test/elf/x86_64/demangle-rust/a.o -xc - -87: + cc -B. -o out/test/elf/x86_64/demangle-cpp/exe1 out/test/elf/x86_64/demangle-cpp/a.o -86: + cc -B. -o out/test/elf/x86_64/defsym2/b.so -shared -Wl,-defsym=bar=foo out/test/elf/x86_64/defsym2/a.o -85: + 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 -89: + cc -c -o out/test/elf/x86_64/demangle/a.o -xc++ - -89: + cat - 80/369 Test #81: x86_64-debug-macro-section ....................... Passed 0.19 sec +90: ++ testname=dependency-file +90: ++ echo -n 'Testing dependency-file ... ' +90: Testing dependency-file ... ++ t=out/test/elf/x86_64/dependency-file +90: ++ mkdir -p out/test/elf/x86_64/dependency-file +90: + cat +90: + cc -o out/test/elf/x86_64/dependency-file/a.o -c -xc - +78: + grep -q '42 42 1' +78: + out/test/elf/x86_64/copyrel/exe +78: + on_exit +78: + echo OK +78: OK +78: + exit 0 +85: + out/test/elf/x86_64/defsym/exe +85: + grep -q '^Hello 0x10 0x2000$' +91: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/disable-new-dtags.sh + 80/369 Test #78: x86_64-copyrel ................................... Passed 0.46 sec test 92 Start 92: x86_64-discard @@ -6142,12 +6173,6 @@ 92: MACHINE=x86_64 92: CPU= 92: Test timeout computed to be: 1500 -90: ++ testname=dependency-file -90: ++ echo -n 'Testing dependency-file ... ' -90: Testing dependency-file ... ++ t=out/test/elf/x86_64/dependency-file -90: ++ mkdir -p out/test/elf/x86_64/dependency-file -90: + cat -91: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/disable-new-dtags.sh 91: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 91: ++ export LC_ALL=C 91: ++ LC_ALL=C @@ -6171,15 +6196,26 @@ 91: ++ echo -n 'Testing disable-new-dtags ... ' 91: Testing disable-new-dtags ... ++ t=out/test/elf/x86_64/disable-new-dtags 91: ++ mkdir -p out/test/elf/x86_64/disable-new-dtags -73: + out/test/elf/x86_64/copyrel-alignment/exe3 -91: + cat -90: + cc -o out/test/elf/x86_64/dependency-file/a.o -c -xc - +85: + on_exit +85: + echo OK +85: OK +85: + exit 0 + 81/369 Test #85: x86_64-defsym .................................... Passed 0.20 sec +test 93 + Start 93: x86_64-dso-undef + +93: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/dso-undef.sh" +93: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +93: Environment variables: +93: MACHINE=x86_64 +93: CPU= +93: Test timeout computed to be: 1500 92: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/discard.sh +91: + cat 92: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 92: ++ export LC_ALL=C 92: ++ LC_ALL=C 92: ++ '[' -z x86_64 ']' -91: + cc -o out/test/elf/x86_64/disable-new-dtags/a.o -c -xc -fPIC - 92: ++ '[' -z '' ']' 92: ++ TESTDIR=out/test/elf/x86_64 92: ++ CC=cc @@ -6194,54 +6230,17 @@ 92: ++ tlsdesc_opt=-mtls-dialect=gnu2 92: ++ trap 'on_error $LINENO' ERR 92: ++ trap on_exit EXIT -73: + readelf -W --sections out/test/elf/x86_64/copyrel-alignment/exe3 -92: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/discard.sh .sh -73: + grep -q '\.copyrel.* 256$' -62: + readelf -n out/test/elf/x86_64/build-id/exe -73: + on_exit -73: + echo OK -73: OK -73: + exit 0 -92: ++ testname=discard -92: ++ echo -n 'Testing discard ... ' - 81/369 Test #73: x86_64-copyrel-alignment ......................... Passed 0.38 sec -test 93 - Start 93: x86_64-dso-undef - -93: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/dso-undef.sh" -93: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -93: Environment variables: -93: MACHINE=x86_64 -93: CPU= -93: Test timeout computed to be: 1500 -92: Testing discard ... ++ t=out/test/elf/x86_64/discard -92: ++ mkdir -p out/test/elf/x86_64/discard -62: + grep -q 'Build ID: deadbeefdeadbeef' -62: + on_exit -62: + echo OK -62: OK -62: + exit 0 -88: + cc -B. -o out/test/elf/x86_64/demangle-rust/exe out/test/elf/x86_64/demangle-rust/a.o - 82/369 Test #62: x86_64-build-id .................................. Passed 0.54 sec -test 94 - Start 94: x86_64-dt-init - -94: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/dt-init.sh" -94: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -94: Environment variables: -94: MACHINE=x86_64 -94: CPU= -94: Test timeout computed to be: 1500 -92: + '[' x86_64 = riscv64 -o x86_64 = riscv32 ']' -92: + cat -92: + cc -o out/test/elf/x86_64/discard/a.o -c -x assembler -Wa,-L - +73: + out/test/elf/x86_64/copyrel-alignment/exe3 93: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/dso-undef.sh +30: + grep -q '^26$' +91: + cc -o out/test/elf/x86_64/disable-new-dtags/a.o -c -xc -fPIC - 93: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 93: ++ export LC_ALL=C 93: ++ LC_ALL=C 93: ++ '[' -z x86_64 ']' 93: ++ '[' -z '' ']' 93: ++ TESTDIR=out/test/elf/x86_64 +73: + grep -q '\.copyrel.* 256$' 93: ++ CC=cc 93: ++ CXX=c++ 93: ++ GCC=gcc @@ -6254,18 +6253,63 @@ 93: ++ tlsdesc_opt=-mtls-dialect=gnu2 93: ++ trap 'on_error $LINENO' ERR 93: ++ trap on_exit EXIT +92: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/discard.sh .sh 93: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/dso-undef.sh .sh -92: + ./mold -o out/test/elf/x86_64/discard/exe out/test/elf/x86_64/discard/a.o +30: + out/test/elf/x86_64/x86_64_reloc/exe +73: + readelf -W --sections out/test/elf/x86_64/copyrel-alignment/exe3 93: ++ testname=dso-undef -86: + nm -D out/test/elf/x86_64/defsym2/b.so 93: ++ echo -n 'Testing dso-undef ... ' 93: Testing dso-undef ... ++ t=out/test/elf/x86_64/dso-undef 93: ++ mkdir -p out/test/elf/x86_64/dso-undef +92: ++ testname=discard +92: ++ echo -n 'Testing discard ... ' +92: Testing discard ... ++ t=out/test/elf/x86_64/discard +92: ++ mkdir -p out/test/elf/x86_64/discard +86: + nm -D out/test/elf/x86_64/defsym2/b.so +86: + grep -q bar +30: + cat +92: + '[' x86_64 = riscv64 -o x86_64 = riscv32 ']' +92: + cat +73: + on_exit +73: + echo OK +73: OK +73: + exit 0 +88: + cc -B. -o out/test/elf/x86_64/demangle-rust/exe out/test/elf/x86_64/demangle-rust/a.o +92: + cc -o out/test/elf/x86_64/discard/a.o -c -x assembler -Wa,-L - +93: + cat +93: + cc -fPIC -o out/test/elf/x86_64/dso-undef/a.o -c -xc - + 82/369 Test #73: x86_64-copyrel-alignment ......................... Passed 0.59 sec +test 94 + Start 94: x86_64-dt-init + +94: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/dt-init.sh" +94: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +94: Environment variables: +94: MACHINE=x86_64 +94: CPU= +94: Test timeout computed to be: 1500 +86: + on_exit +86: + echo OK +86: OK +86: + exit 0 +87: + grep -Fq 'ns::version()' out/test/elf/x86_64/demangle-cpp/log + 83/369 Test #86: x86_64-defsym2 ................................... Passed 0.21 sec +test 95 + Start 95: x86_64-dt-needed + +95: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/dt-needed.sh" +95: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +95: Environment variables: +95: MACHINE=x86_64 +95: CPU= +95: Test timeout computed to be: 1500 +87: + cat +87: + cc -c -o out/test/elf/x86_64/demangle-cpp/b.o -xc - +92: + ./mold -o out/test/elf/x86_64/discard/exe out/test/elf/x86_64/discard/a.o 94: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/dt-init.sh 94: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 94: ++ export LC_ALL=C 94: ++ LC_ALL=C -86: + grep -q bar 94: ++ '[' -z x86_64 ']' 94: ++ '[' -z '' ']' 94: ++ TESTDIR=out/test/elf/x86_64 @@ -6281,77 +6325,10 @@ 94: ++ tlsdesc_opt=-mtls-dialect=gnu2 94: ++ trap 'on_error $LINENO' ERR 94: ++ trap on_exit EXIT -85: + out/test/elf/x86_64/defsym/exe 94: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/dt-init.sh .sh -87: + grep -Fq 'ns::version()' out/test/elf/x86_64/demangle-cpp/log -93: + cat -93: + cc -fPIC -o out/test/elf/x86_64/dso-undef/a.o -c -xc - -94: ++ testname=dt-init -94: ++ echo -n 'Testing dt-init ... ' -94: Testing dt-init ... ++ t=out/test/elf/x86_64/dt-init -94: ++ mkdir -p out/test/elf/x86_64/dt-init -91: + 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 -85: + grep -q '^Hello 0x10 0x2000$' -80: + grep -q 'Hello world' -94: + '[' x86_64 = riscv64 -o x86_64 = riscv32 ']' -94: + [[ x86_64 = loongarch* ]] -94: + '[' x86_64 = arm -o x86_64 = aarch64 ']' -94: + cat -94: + cc -c -fPIC -o out/test/elf/x86_64/dt-init/a.o -xc - -86: + on_exit -86: + echo OK -86: OK -86: + exit 0 -92: + readelf --symbols out/test/elf/x86_64/discard/exe - 83/369 Test #86: x86_64-defsym2 ................................... Passed 0.11 sec -test 95 - Start 95: x86_64-dt-needed - -95: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/dt-needed.sh" -95: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -95: Environment variables: -95: MACHINE=x86_64 -95: CPU= -95: Test timeout computed to be: 1500 -80: + out/test/elf/x86_64/dead-debug-sections/exe -80: + dwarfdump out/test/elf/x86_64/dead-debug-sections/exe -80: + on_exit -80: + echo OK -80: OK -80: + exit 0 -87: + cc -c -o out/test/elf/x86_64/demangle-cpp/b.o -xc - -87: + cat -85: + on_exit -85: + echo OK -85: OK -85: + exit 0 -89: + cc -B. -o out/test/elf/x86_64/demangle/exe out/test/elf/x86_64/demangle/a.o -Wl,-no-demangle -92: + grep -Fq _start out/test/elf/x86_64/discard/log -92: + grep -Fq foo out/test/elf/x86_64/discard/log -92: + grep -Fq .Lbar out/test/elf/x86_64/discard/log -90: + 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 - 84/369 Test #80: x86_64-dead-debug-sections ....................... Passed 0.26 sec - 85/369 Test #85: x86_64-defsym .................................... Passed 0.13 sec -test 96 - Start 96: x86_64-duplicate-error-archive - -96: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/duplicate-error-archive.sh" -96: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -96: Environment variables: -96: MACHINE=x86_64 -96: CPU= -96: Test timeout computed to be: 1500 -test 97 - Start 97: x86_64-duplicate-error - -97: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/duplicate-error.sh" -97: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -97: Environment variables: -97: MACHINE=x86_64 -97: CPU= -97: Test timeout computed to be: 1500 -92: + ./mold -o out/test/elf/x86_64/discard/exe out/test/elf/x86_64/discard/a.o --discard-locals 95: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/dt-needed.sh +83: + cat +83: + cc -flto -fPIC -o out/test/elf/x86_64/defsym-lto/a.o -c -xc - 95: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 95: ++ export LC_ALL=C 95: ++ LC_ALL=C @@ -6370,12 +6347,44 @@ 95: ++ tlsdesc_opt=-mtls-dialect=gnu2 95: ++ trap 'on_error $LINENO' ERR 95: ++ trap on_exit EXIT +94: ++ testname=dt-init +94: ++ echo -n 'Testing dt-init ... ' +94: Testing dt-init ... ++ t=out/test/elf/x86_64/dt-init +94: ++ mkdir -p out/test/elf/x86_64/dt-init 95: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/dt-needed.sh .sh +94: + '[' x86_64 = riscv64 -o x86_64 = riscv32 ']' +94: + [[ x86_64 = loongarch* ]] +94: + '[' x86_64 = arm -o x86_64 = aarch64 ']' 95: ++ testname=dt-needed 95: ++ echo -n 'Testing dt-needed ... ' 95: Testing dt-needed ... ++ t=out/test/elf/x86_64/dt-needed 95: ++ mkdir -p out/test/elf/x86_64/dt-needed +94: + cat +94: + cc -c -fPIC -o out/test/elf/x86_64/dt-init/a.o -xc - +95: + cat +95: + cc -c -o out/test/elf/x86_64/dt-needed/a.o -xc - +92: + readelf --symbols out/test/elf/x86_64/discard/exe +92: + grep -Fq _start out/test/elf/x86_64/discard/log +92: + grep -Fq foo out/test/elf/x86_64/discard/log +92: + grep -Fq .Lbar out/test/elf/x86_64/discard/log +92: + ./mold -o out/test/elf/x86_64/discard/exe out/test/elf/x86_64/discard/a.o --discard-locals +88: + grep -Fq ' as core::iter::iterator::Iterator>::rposition::::{closure#0}' out/test/elf/x86_64/demangle-rust/log +88: + on_exit +88: + echo OK +88: OK +88: + exit 0 + 84/369 Test #88: x86_64-demangle-rust ............................. Passed 0.09 sec +test 96 + Start 96: x86_64-duplicate-error-archive + +96: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/duplicate-error-archive.sh" +96: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +96: Environment variables: +96: MACHINE=x86_64 +96: CPU= +96: Test timeout computed to be: 1500 96: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/duplicate-error-archive.sh +92: + readelf --symbols out/test/elf/x86_64/discard/exe 96: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 96: ++ export LC_ALL=C 96: ++ LC_ALL=C @@ -6394,13 +6403,51 @@ 96: ++ tlsdesc_opt=-mtls-dialect=gnu2 96: ++ trap 'on_error $LINENO' ERR 96: ++ trap on_exit EXIT -92: + readelf --symbols out/test/elf/x86_64/discard/exe 96: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/duplicate-error-archive.sh .sh -95: + cat -95: + cc -c -o out/test/elf/x86_64/dt-needed/a.o -xc - +96: ++ testname=duplicate-error-archive +96: ++ echo -n 'Testing duplicate-error-archive ... ' +96: Testing duplicate-error-archive ... ++ t=out/test/elf/x86_64/duplicate-error-archive +96: ++ mkdir -p out/test/elf/x86_64/duplicate-error-archive +96: + cat +96: + cc -o out/test/elf/x86_64/duplicate-error-archive/a.o -c -xc - +30: + 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 +92: + grep -Fq _start out/test/elf/x86_64/discard/log +92: + grep -Fq foo out/test/elf/x86_64/discard/log +92: + grep -Fq .Lbar out/test/elf/x86_64/discard/log +92: + ./mold -o out/test/elf/x86_64/discard/exe out/test/elf/x86_64/discard/a.o --discard-all +92: + readelf --symbols out/test/elf/x86_64/discard/exe +87: /tmp/cceJDTPs.s: Assembler messages: +87: /tmp/cceJDTPs.s:23: Warning: setting incorrect section attributes for .comment +87: + cc -B. -o out/test/elf/x86_64/demangle-cpp/exe2 out/test/elf/x86_64/demangle-cpp/b.o +91: + 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 +95: + 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 +83: + 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 +94: + cat +94: + cc -c -fPIC -o out/test/elf/x86_64/dt-init/b.o -xc - +89: + cc -B. -o out/test/elf/x86_64/demangle/exe out/test/elf/x86_64/demangle/a.o -Wl,-no-demangle +93: + cc -B. -o out/test/elf/x86_64/dso-undef/b.so -shared out/test/elf/x86_64/dso-undef/a.o +90: + 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 +95: + cc -B. -shared -o out/test/elf/x86_64/dt-needed/libbar.so out/test/elf/x86_64/dt-needed/a.o +62: + readelf -n out/test/elf/x86_64/build-id/exe +62: + grep -q 'Build ID: deadbeefdeadbeef' +62: + on_exit +62: + echo OK +62: OK +62: + exit 0 + 85/369 Test #62: x86_64-build-id .................................. Passed 0.82 sec +test 97 + Start 97: x86_64-duplicate-error + +97: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/duplicate-error.sh" +97: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +97: Environment variables: +97: MACHINE=x86_64 +97: CPU= +97: Test timeout computed to be: 1500 +90: + grep -q 'dependency-file/exe:.*/a.o ' out/test/elf/x86_64/dependency-file/dep 97: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/duplicate-error.sh -88: + grep -Fq ' as core::iter::iterator::Iterator>::rposition::::{closure#0}' out/test/elf/x86_64/demangle-rust/log 97: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc +90: + grep -q '.*/a.o:$' out/test/elf/x86_64/dependency-file/dep 97: ++ export LC_ALL=C 97: ++ LC_ALL=C 97: ++ '[' -z x86_64 ']' @@ -6419,21 +6466,14 @@ 97: ++ trap 'on_error $LINENO' ERR 97: ++ trap on_exit EXIT 97: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/duplicate-error.sh .sh +90: + on_exit +90: + echo OK +90: OK +90: + exit 0 91: + readelf --dynamic out/test/elf/x86_64/disable-new-dtags/b.so -96: ++ testname=duplicate-error-archive -96: ++ echo -n 'Testing duplicate-error-archive ... ' -96: Testing duplicate-error-archive ... ++ t=out/test/elf/x86_64/duplicate-error-archive -96: ++ mkdir -p out/test/elf/x86_64/duplicate-error-archive +89: + grep -q 'undefined symbol: _Z3fooii$' out/test/elf/x86_64/demangle/log 91: + grep -q 'RUNPATH.*/foo' -88: + on_exit -88: + echo OK -88: OK -88: + exit 0 -97: ++ testname=duplicate-error -97: ++ echo -n 'Testing duplicate-error ... ' -97: Testing duplicate-error ... ++ t=out/test/elf/x86_64/duplicate-error -97: ++ mkdir -p out/test/elf/x86_64/duplicate-error - 86/369 Test #88: x86_64-demangle-rust ............................. Passed 0.10 sec + 86/369 Test #90: x86_64-dependency-file ........................... Passed 0.14 sec test 98 Start 98: x86_64-dynamic-dt-debug @@ -6443,23 +6483,18 @@ 98: MACHINE=x86_64 98: CPU= 98: Test timeout computed to be: 1500 -92: + grep -Fq _start out/test/elf/x86_64/discard/log -92: + grep -Fq foo out/test/elf/x86_64/discard/log -92: + grep -Fq .Lbar out/test/elf/x86_64/discard/log 91: + 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 -93: + cc -B. -o out/test/elf/x86_64/dso-undef/b.so -shared out/test/elf/x86_64/dso-undef/a.o -87: /tmp/cc0uDJ59.s: Assembler messages: -87: /tmp/cc0uDJ59.s:23: Warning: setting incorrect section attributes for .comment -87: + cc -B. -o out/test/elf/x86_64/demangle-cpp/exe2 out/test/elf/x86_64/demangle-cpp/b.o -96: + cc -o out/test/elf/x86_64/duplicate-error-archive/a.o -c -xc - -96: + cat +97: ++ testname=duplicate-error +97: ++ echo -n 'Testing duplicate-error ... ' +97: Testing duplicate-error ... ++ t=out/test/elf/x86_64/duplicate-error +97: ++ mkdir -p out/test/elf/x86_64/duplicate-error 97: + cat +93: + cc -o out/test/elf/x86_64/dso-undef/c.o -c -xc - +93: + cat +89: + cc -B. -o out/test/elf/x86_64/demangle/exe out/test/elf/x86_64/demangle/a.o -Wl,-demangle 97: + cc -o out/test/elf/x86_64/duplicate-error/a.o -c -x assembler - -97: + ./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 -94: + cat -94: + cc -c -fPIC -o out/test/elf/x86_64/dt-init/b.o -xc - -92: + ./mold -o out/test/elf/x86_64/discard/exe out/test/elf/x86_64/discard/a.o --discard-all 98: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/dynamic-dt-debug.sh +97: + ./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 98: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 98: ++ export LC_ALL=C 98: ++ LC_ALL=C @@ -6478,22 +6513,22 @@ 98: ++ tlsdesc_opt=-mtls-dialect=gnu2 98: ++ trap 'on_error $LINENO' ERR 98: ++ trap on_exit EXIT -89: + grep -q 'undefined symbol: _Z3fooii$' out/test/elf/x86_64/demangle/log -90: + grep -q 'dependency-file/exe:.*/a.o ' out/test/elf/x86_64/dependency-file/dep 98: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/dynamic-dt-debug.sh .sh -89: + cc -B. -o out/test/elf/x86_64/demangle/exe out/test/elf/x86_64/demangle/a.o -Wl,-demangle 98: ++ testname=dynamic-dt-debug -90: + grep -q '.*/a.o:$' out/test/elf/x86_64/dependency-file/dep 98: ++ echo -n 'Testing dynamic-dt-debug ... ' 98: Testing dynamic-dt-debug ... ++ t=out/test/elf/x86_64/dynamic-dt-debug 98: ++ mkdir -p out/test/elf/x86_64/dynamic-dt-debug -92: + readelf --symbols out/test/elf/x86_64/discard/exe -90: + on_exit -90: + echo OK -90: OK -90: + exit 0 -97: + grep -q 'duplicate symbol: .*\.o: .*\.o: main' out/test/elf/x86_64/duplicate-error/log - 87/369 Test #90: x86_64-dependency-file ........................... Passed 0.12 sec +95: + cat +95: + cc -c -o out/test/elf/x86_64/dt-needed/b.o -xc - +92: + grep -Fq _start out/test/elf/x86_64/discard/log +87: + grep -Fq ns::versionv out/test/elf/x86_64/demangle-cpp/log +87: + on_exit +87: + echo OK +87: OK +87: + exit 0 +98: + cc -o out/test/elf/x86_64/dynamic-dt-debug/a.o -c -xc - +98: + cat + 87/369 Test #87: x86_64-demangle-cpp .............................. Passed 0.24 sec test 99 Start 99: x86_64-dynamic-linker @@ -6503,13 +6538,19 @@ 99: MACHINE=x86_64 99: CPU= 99: Test timeout computed to be: 1500 +92: + grep -Fq foo out/test/elf/x86_64/discard/log +92: + grep -Fq .Lbar out/test/elf/x86_64/discard/log +96: + rm -f out/test/elf/x86_64/duplicate-error-archive/b.a +96: + ar rcs out/test/elf/x86_64/duplicate-error-archive/b.a out/test/elf/x86_64/duplicate-error-archive/a.o +94: + cc -B. -o out/test/elf/x86_64/dt-init/c.so -shared out/test/elf/x86_64/dt-init/b.o +97: + grep -q 'duplicate symbol: .*\.o: .*\.o: main' out/test/elf/x86_64/duplicate-error/log +92: + ./mold -o out/test/elf/x86_64/discard/exe out/test/elf/x86_64/discard/a.o --strip-all 97: + on_exit 97: + echo OK 97: OK 97: + exit 0 -92: + grep -Fq _start out/test/elf/x86_64/discard/log -98: + cat - 88/369 Test #97: x86_64-duplicate-error ........................... Passed 0.04 sec +99: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/dynamic-linker.sh + 88/369 Test #97: x86_64-duplicate-error ........................... Passed 0.08 sec test 100 Start 100: x86_64-dynamic-list @@ -6519,12 +6560,6 @@ 100: MACHINE=x86_64 100: CPU= 100: Test timeout computed to be: 1500 -92: + grep -Fq foo out/test/elf/x86_64/discard/log -92: + grep -Fq .Lbar out/test/elf/x86_64/discard/log -92: + ./mold -o out/test/elf/x86_64/discard/exe out/test/elf/x86_64/discard/a.o --strip-all -98: + cc -o out/test/elf/x86_64/dynamic-dt-debug/a.o -c -xc - -95: + 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 -99: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/dynamic-linker.sh 99: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 99: ++ export LC_ALL=C 99: ++ LC_ALL=C @@ -6544,13 +6579,26 @@ 99: ++ trap 'on_error $LINENO' ERR 99: ++ trap on_exit EXIT 99: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/dynamic-linker.sh .sh -96: + rm -f out/test/elf/x86_64/duplicate-error-archive/b.a -91: + readelf --dynamic out/test/elf/x86_64/disable-new-dtags/b.so 99: ++ testname=dynamic-linker 99: ++ echo -n 'Testing dynamic-linker ... ' 99: Testing dynamic-linker ... ++ t=out/test/elf/x86_64/dynamic-linker 99: ++ mkdir -p out/test/elf/x86_64/dynamic-linker +99: + cat +99: + cc -c -o out/test/elf/x86_64/dynamic-linker/a.o -x assembler - +93: + rm -f out/test/elf/x86_64/dso-undef/d.a +91: + grep -q 'RUNPATH.*/foo' +91: + readelf --dynamic out/test/elf/x86_64/disable-new-dtags/b.so +92: + readelf --symbols out/test/elf/x86_64/discard/exe +89: + grep -Eq 'undefined symbol: foo\(int, int\)$' out/test/elf/x86_64/demangle/log +96: + cc -o out/test/elf/x86_64/duplicate-error-archive/c.o -c -xc - +96: + cat +92: + grep -Fq _start out/test/elf/x86_64/discard/log +91: + 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 +93: + ar rcs out/test/elf/x86_64/dso-undef/d.a out/test/elf/x86_64/dso-undef/c.o +89: + cc -B. -o out/test/elf/x86_64/demangle/exe out/test/elf/x86_64/demangle/a.o 100: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/dynamic-list.sh +93: + cat +93: + cc -o out/test/elf/x86_64/dso-undef/e.o -c -xc - 100: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 100: ++ export LC_ALL=C 100: ++ LC_ALL=C @@ -6569,33 +6617,21 @@ 100: ++ tlsdesc_opt=-mtls-dialect=gnu2 100: ++ trap 'on_error $LINENO' ERR 100: ++ trap on_exit EXIT +92: + grep -Fq foo out/test/elf/x86_64/discard/log +99: + ./mold -o out/test/elf/x86_64/dynamic-linker/exe out/test/elf/x86_64/dynamic-linker/a.o +95: + 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 100: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/dynamic-list.sh .sh +92: + grep -Fq .Lbar out/test/elf/x86_64/discard/log 100: ++ testname=dynamic-list 100: ++ echo -n 'Testing dynamic-list ... ' 100: Testing dynamic-list ... ++ t=out/test/elf/x86_64/dynamic-list 100: ++ mkdir -p out/test/elf/x86_64/dynamic-list -91: + grep -q 'RUNPATH.*/foo' -96: + ar rcs out/test/elf/x86_64/duplicate-error-archive/b.a out/test/elf/x86_64/duplicate-error-archive/a.o -93: + cat -91: + 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 -100: + cat -100: + cc -o out/test/elf/x86_64/dynamic-list/a.o -c -xc - -93: + cc -o out/test/elf/x86_64/dso-undef/c.o -c -xc - -99: + cat -99: + cc -c -o out/test/elf/x86_64/dynamic-linker/a.o -x assembler - -87: + grep -Fq ns::versionv out/test/elf/x86_64/demangle-cpp/log -92: + readelf --symbols out/test/elf/x86_64/discard/exe -96: + cat -96: + cc -o out/test/elf/x86_64/duplicate-error-archive/c.o -c -xc - -87: + on_exit -87: + echo OK -87: OK -87: + exit 0 -92: + grep -Fq _start out/test/elf/x86_64/discard/log -94: + cc -B. -o out/test/elf/x86_64/dt-init/c.so -shared out/test/elf/x86_64/dt-init/b.o -99: + ./mold -o out/test/elf/x86_64/dynamic-linker/exe out/test/elf/x86_64/dynamic-linker/a.o -92: + grep -Fq foo out/test/elf/x86_64/discard/log - 89/369 Test #87: x86_64-demangle-cpp .............................. Passed 0.20 sec +92: + on_exit +92: + echo OK +92: OK +92: + exit 0 +30: + grep -q '^61$' + 89/369 Test #92: x86_64-discard ................................... Passed 0.25 sec test 101 Start 101: x86_64-dynamic-list2 @@ -6605,29 +6641,14 @@ 101: MACHINE=x86_64 101: CPU= 101: Test timeout computed to be: 1500 -92: + grep -Fq .Lbar out/test/elf/x86_64/discard/log -89: + grep -Eq 'undefined symbol: foo\(int, int\)$' out/test/elf/x86_64/demangle/log -95: + cc -B. -shared -o out/test/elf/x86_64/dt-needed/libbar.so out/test/elf/x86_64/dt-needed/a.o +30: + out/test/elf/x86_64/x86_64_reloc/exe +30: + cat +100: + cc -o out/test/elf/x86_64/dynamic-list/a.o -c -xc - +100: + cat 98: + cc -B. -o out/test/elf/x86_64/dynamic-dt-debug/exe out/test/elf/x86_64/dynamic-dt-debug/a.o -89: + cc -B. -o out/test/elf/x86_64/demangle/exe out/test/elf/x86_64/demangle/a.o -92: + on_exit -93: + rm -f out/test/elf/x86_64/dso-undef/d.a -92: + echo OK -92: OK -92: + exit 0 99: + readelf --sections out/test/elf/x86_64/dynamic-linker/exe - 90/369 Test #92: x86_64-discard ................................... Passed 0.15 sec -test 102 - Start 102: x86_64-dynamic-list3 - -102: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/dynamic-list3.sh" -102: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -102: Environment variables: -102: MACHINE=x86_64 -102: CPU= -102: Test timeout computed to be: 1500 101: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/dynamic-list2.sh -99: + grep -Fq .interp out/test/elf/x86_64/dynamic-linker/log +30: + 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 101: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 101: ++ export LC_ALL=C 101: ++ LC_ALL=C @@ -6644,33 +6665,59 @@ 101: ++ QEMU= 101: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 101: ++ tlsdesc_opt=-mtls-dialect=gnu2 +99: + grep -Fq .interp out/test/elf/x86_64/dynamic-linker/log 101: ++ trap 'on_error $LINENO' ERR 101: ++ trap on_exit EXIT -93: + ar rcs out/test/elf/x86_64/dso-undef/d.a out/test/elf/x86_64/dso-undef/c.o 101: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/dynamic-list2.sh .sh -99: + readelf --dynamic out/test/elf/x86_64/dynamic-linker/exe 101: ++ testname=dynamic-list2 101: ++ echo -n 'Testing dynamic-list2 ... ' 101: Testing dynamic-list2 ... ++ t=out/test/elf/x86_64/dynamic-list2 101: ++ mkdir -p out/test/elf/x86_64/dynamic-list2 -99: + ./mold -o out/test/elf/x86_64/dynamic-linker/exe out/test/elf/x86_64/dynamic-linker/a.o --dynamic-linker=/foo/bar -93: + cat -93: + cc -o out/test/elf/x86_64/dso-undef/e.o -c -xc - -100: + cc -B. -o out/test/elf/x86_64/dynamic-list/exe out/test/elf/x86_64/dynamic-list/a.o -102: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/dynamic-list3.sh +99: + readelf --dynamic out/test/elf/x86_64/dynamic-linker/exe 101: + cat 101: + cc -o out/test/elf/x86_64/dynamic-list2/a.o -c -xc - -102: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc -91: + readelf --dynamic out/test/elf/x86_64/disable-new-dtags/b.so -102: ++ export LC_ALL=C -102: ++ LC_ALL=C -102: ++ '[' -z x86_64 ']' -102: ++ '[' -z '' ']' -102: ++ TESTDIR=out/test/elf/x86_64 -102: ++ CC=cc -102: ++ CXX=c++ -102: ++ GCC=gcc -102: ++ GXX=g++ +95: + readelf --dynamic out/test/elf/x86_64/dt-needed/exe +95: + grep -Fq 'Shared library: [libfoo]' +95: + 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 +98: + readelf --dynamic out/test/elf/x86_64/dynamic-dt-debug/exe +98: + grep -Fq '(DEBUG)' out/test/elf/x86_64/dynamic-dt-debug/log +98: + cat +98: + cc -o out/test/elf/x86_64/dynamic-dt-debug/b.o -c -xc - +95: + readelf --dynamic out/test/elf/x86_64/dt-needed/exe +95: + grep -Fq 'Shared library: [libfoo]' +95: + 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 +95: + readelf --dynamic out/test/elf/x86_64/dt-needed/exe +95: + grep -Eq 'Shared library: \[.*dt-needed/libbar\.so\]' +95: + 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 +96: + cc -B. -o out/test/elf/x86_64/duplicate-error-archive/exe out/test/elf/x86_64/duplicate-error-archive/c.o out/test/elf/x86_64/duplicate-error-archive/b.a out/test/elf/x86_64/duplicate-error-archive/b.a +94: + 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 +91: + readelf --dynamic out/test/elf/x86_64/disable-new-dtags/b.so +91: + grep -q 'RPATH.*/foo' +91: + on_exit +91: + echo OK +91: OK +91: + exit 0 + 90/369 Test #91: x86_64-disable-new-dtags ......................... Passed 0.40 sec +test 102 + Start 102: x86_64-dynamic-list3 + +102: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/dynamic-list3.sh" +102: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +102: Environment variables: +102: MACHINE=x86_64 +102: CPU= +102: Test timeout computed to be: 1500 +102: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/dynamic-list3.sh +102: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc +102: ++ export LC_ALL=C +102: ++ LC_ALL=C +102: ++ '[' -z x86_64 ']' +102: ++ '[' -z '' ']' +102: ++ TESTDIR=out/test/elf/x86_64 +102: ++ CC=cc +102: ++ CXX=c++ +102: ++ GCC=gcc +102: ++ GXX=g++ 102: ++ OBJDUMP=objdump 102: ++ OBJCOPY=objcopy 102: ++ STRIP=strip @@ -6679,13 +6726,21 @@ 102: ++ tlsdesc_opt=-mtls-dialect=gnu2 102: ++ trap 'on_error $LINENO' ERR 102: ++ trap on_exit EXIT -91: + grep -q 'RPATH.*/foo' 102: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/dynamic-list3.sh .sh -91: + on_exit -91: + echo OK -91: OK -91: + exit 0 - 91/369 Test #91: x86_64-disable-new-dtags ......................... Passed 0.18 sec +102: ++ testname=dynamic-list3 +102: ++ echo -n 'Testing dynamic-list3 ... ' +102: Testing dynamic-list3 ... ++ t=out/test/elf/x86_64/dynamic-list3 +102: ++ mkdir -p out/test/elf/x86_64/dynamic-list3 +102: + cat +102: + cat +102: + c++ -fPIC -c -o out/test/elf/x86_64/dynamic-list3/b.o -xc - +95: + readelf --dynamic out/test/elf/x86_64/dt-needed/exe +95: + grep -Fq 'Shared library: [libbar.so]' +95: + on_exit +95: + echo OK +95: OK +95: + exit 0 + 91/369 Test #95: x86_64-dt-needed ................................. Passed 0.38 sec test 103 Start 103: x86_64-dynamic-list4 @@ -6695,14 +6750,7 @@ 103: MACHINE=x86_64 103: CPU= 103: Test timeout computed to be: 1500 -102: ++ testname=dynamic-list3 -102: ++ echo -n 'Testing dynamic-list3 ... ' -102: Testing dynamic-list3 ... ++ t=out/test/elf/x86_64/dynamic-list3 -102: ++ mkdir -p out/test/elf/x86_64/dynamic-list3 -102: + cat -99: + readelf --sections out/test/elf/x86_64/dynamic-linker/exe -94: + 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 -96: + cc -B. -o out/test/elf/x86_64/duplicate-error-archive/exe out/test/elf/x86_64/duplicate-error-archive/c.o out/test/elf/x86_64/duplicate-error-archive/b.a out/test/elf/x86_64/duplicate-error-archive/b.a +94: + 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 103: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/dynamic-list4.sh 103: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 103: ++ export LC_ALL=C @@ -6722,22 +6770,21 @@ 103: ++ tlsdesc_opt=-mtls-dialect=gnu2 103: ++ trap 'on_error $LINENO' ERR 103: ++ trap on_exit EXIT -99: + grep -Fq .interp out/test/elf/x86_64/dynamic-linker/log 103: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/dynamic-list4.sh .sh -95: + cc -c -o out/test/elf/x86_64/dt-needed/b.o -xc - -102: + c++ -fPIC -c -o out/test/elf/x86_64/dynamic-list3/b.o -xc - -95: + cat -98: + readelf --dynamic out/test/elf/x86_64/dynamic-dt-debug/exe -99: + on_exit -99: + echo OK -99: OK -99: + exit 0 -102: + cat +96: + cc -B. -o out/test/elf/x86_64/duplicate-error-archive/exe out/test/elf/x86_64/duplicate-error-archive/c.o -Wl,--push-state,--whole-archive out/test/elf/x86_64/duplicate-error-archive/b.a out/test/elf/x86_64/duplicate-error-archive/b.a -Wl,--pop-state 103: ++ testname=dynamic-list4 103: ++ echo -n 'Testing dynamic-list4 ... ' 103: Testing dynamic-list4 ... ++ t=out/test/elf/x86_64/dynamic-list4 103: ++ mkdir -p out/test/elf/x86_64/dynamic-list4 - 92/369 Test #99: x86_64-dynamic-linker ............................ Passed 0.09 sec +103: + cat +103: + cc -o out/test/elf/x86_64/dynamic-list4/a.o -c -xc - -fPIC +94: + 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 +96: + grep -q 'duplicate symbol:.* foo' out/test/elf/x86_64/duplicate-error-archive/log +96: + on_exit +96: + echo OK +96: OK +96: + exit 0 + 92/369 Test #96: x86_64-duplicate-error-archive ................... Passed 0.40 sec test 104 Start 104: x86_64-dynamic @@ -6747,16 +6794,8 @@ 104: MACHINE=x86_64 104: CPU= 104: Test timeout computed to be: 1500 -98: + grep -Fq '(DEBUG)' out/test/elf/x86_64/dynamic-dt-debug/log -98: + cat -98: + cc -o out/test/elf/x86_64/dynamic-dt-debug/b.o -c -xc - -103: + cat -103: + cc -o out/test/elf/x86_64/dynamic-list4/a.o -c -xc - -fPIC -100: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list/exe -100: + grep -q ' foo' out/test/elf/x86_64/dynamic-list/log 104: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/dynamic.sh 104: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc -100: + grep -q ' bar' out/test/elf/x86_64/dynamic-list/log 104: ++ export LC_ALL=C 104: ++ LC_ALL=C 104: ++ '[' -z x86_64 ']' @@ -6779,36 +6818,20 @@ 104: ++ echo -n 'Testing dynamic ... ' 104: Testing dynamic ... ++ t=out/test/elf/x86_64/dynamic 104: ++ mkdir -p out/test/elf/x86_64/dynamic -100: + cat -100: + 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 104: + echo '.globl main; main:' 104: + cc -o out/test/elf/x86_64/dynamic/a.o -c -x assembler - -94: + 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 -96: + cc -B. -o out/test/elf/x86_64/duplicate-error-archive/exe out/test/elf/x86_64/duplicate-error-archive/c.o -Wl,--push-state,--whole-archive out/test/elf/x86_64/duplicate-error-archive/b.a out/test/elf/x86_64/duplicate-error-archive/b.a -Wl,--pop-state 104: + cc -B. -o out/test/elf/x86_64/dynamic/exe out/test/elf/x86_64/dynamic/a.o -89: + grep -Eq 'undefined symbol: foo\(int, int\)$' out/test/elf/x86_64/demangle/log -94: + 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 -101: + cat -101: + c++ -o out/test/elf/x86_64/dynamic-list2/b.o -c -xc++ - -89: + cc -c -o out/test/elf/x86_64/demangle/b.o -xc - -89: + cat -98: + cc -B. -o out/test/elf/x86_64/dynamic-dt-debug/c.so out/test/elf/x86_64/dynamic-dt-debug/b.o -shared -100: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list/exe1 -102: + 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 -95: + 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 -100: + grep -q ' foo' out/test/elf/x86_64/dynamic-list/log1 -96: + grep -q 'duplicate symbol:.* foo' out/test/elf/x86_64/duplicate-error-archive/log -103: + cat -100: + grep -q ' bar' out/test/elf/x86_64/dynamic-list/log1 -104: + readelf --dynamic out/test/elf/x86_64/dynamic/exe -96: + on_exit -93: + 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 -103: + cc -B. -shared -o out/test/elf/x86_64/dynamic-list4/b.so out/test/elf/x86_64/dynamic-list4/a.o -Wl,--dynamic-list=out/test/elf/x86_64/dynamic-list4/dyn -96: + echo OK -96: OK -96: + exit 0 -100: + 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/369 Test #96: x86_64-duplicate-error-archive ................... Passed 0.20 sec +94: + out/test/elf/x86_64/dt-init/exe1 +94: + out/test/elf/x86_64/dt-init/exe2 +94: + grep -q init out/test/elf/x86_64/dt-init/log1 +94: + grep -q fini out/test/elf/x86_64/dt-init/log1 +94: + grep -q init out/test/elf/x86_64/dt-init/log2 +94: + grep -q fini out/test/elf/x86_64/dt-init/log2 +94: + on_exit +94: + echo OK +94: OK +94: + exit 0 + 93/369 Test #94: x86_64-dt-init ................................... Passed 0.46 sec test 105 Start 105: x86_64-emit-relocs-cpp @@ -6818,7 +6841,6 @@ 105: MACHINE=x86_64 105: CPU= 105: Test timeout computed to be: 1500 -104: + grep -Eq 'Shared library:.*\blibc\b' out/test/elf/x86_64/dynamic/log 105: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/emit-relocs-cpp.sh 105: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 105: ++ export LC_ALL=C @@ -6844,27 +6866,38 @@ 105: Testing emit-relocs-cpp ... ++ t=out/test/elf/x86_64/emit-relocs-cpp 105: ++ mkdir -p out/test/elf/x86_64/emit-relocs-cpp 105: + '[' x86_64 = arm ']' +104: + readelf --dynamic out/test/elf/x86_64/dynamic/exe 105: + cat 105: + c++ -o out/test/elf/x86_64/emit-relocs-cpp/a.o -c -fPIC -xc++ - +104: + grep -Eq 'Shared library:.*\blibc\b' out/test/elf/x86_64/dynamic/log +99: + ./mold -o out/test/elf/x86_64/dynamic-linker/exe out/test/elf/x86_64/dynamic-linker/a.o --dynamic-linker=/foo/bar 104: + readelf -W --dyn-syms --use-dynamic out/test/elf/x86_64/dynamic/exe +89: + grep -Eq 'undefined symbol: foo\(int, int\)$' out/test/elf/x86_64/demangle/log 104: + grep -Eq 'FUNC\s+GLOBAL\s+DEFAULT.*UND\s+__libc_start_main' out/test/elf/x86_64/dynamic/log2 -101: + 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 +89: + cat +89: + cc -c -o out/test/elf/x86_64/demangle/b.o -xc - 104: + cat 104: + cc -c -fPIC -o out/test/elf/x86_64/dynamic/b.o -xc - -94: + out/test/elf/x86_64/dt-init/exe1 +100: + cc -B. -o out/test/elf/x86_64/dynamic-list/exe out/test/elf/x86_64/dynamic-list/a.o +93: + 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 +30: + 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: + cc -B. -o out/test/elf/x86_64/dynamic-dt-debug/c.so out/test/elf/x86_64/dynamic-dt-debug/b.o -shared +99: + readelf --sections out/test/elf/x86_64/dynamic-linker/exe +100: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list/exe +100: + grep -q ' foo' out/test/elf/x86_64/dynamic-list/log 98: + readelf --dynamic out/test/elf/x86_64/dynamic-dt-debug/c.so -94: + out/test/elf/x86_64/dt-init/exe2 -102: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list3/exe1 -89: + cc -B. -o out/test/elf/x86_64/demangle/exe out/test/elf/x86_64/demangle/b.o -Wl,-demangle -94: + grep -q init out/test/elf/x86_64/dt-init/log1 -102: + grep -q ' xyz' out/test/elf/x86_64/dynamic-list3/log1 -98: + grep -Fq '(DEBUG)' out/test/elf/x86_64/dynamic-dt-debug/log -94: + grep -q fini out/test/elf/x86_64/dt-init/log1 -98: + on_exit -98: + echo OK -98: OK -98: + exit 0 - 94/369 Test #98: x86_64-dynamic-dt-debug .......................... Passed 0.26 sec +100: + grep -q ' bar' out/test/elf/x86_64/dynamic-list/log +93: + readelf --dyn-syms out/test/elf/x86_64/dso-undef/exe +93: + grep -q ' foo$' +100: + cat +30: + out/test/elf/x86_64/x86_64_reloc/exe +30: + grep -q '^56000003$' +93: + on_exit +93: + echo OK +93: OK +93: + exit 0 +100: + 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 + 94/369 Test #93: x86_64-dso-undef ................................. Passed 0.53 sec test 106 Start 106: x86_64-emit-relocs-dead-sections @@ -6874,30 +6907,10 @@ 106: MACHINE=x86_64 106: CPU= 106: Test timeout computed to be: 1500 -102: + grep -q ' foobarzx' out/test/elf/x86_64/dynamic-list3/log1 -102: + grep -q ' foobarcx' out/test/elf/x86_64/dynamic-list3/log1 -102: + grep -q ' foo123bar456bx' out/test/elf/x86_64/dynamic-list3/log1 -102: + grep -q ' foo123bar456c' out/test/elf/x86_64/dynamic-list3/log1 -94: + grep -q init out/test/elf/x86_64/dt-init/log2 -94: + grep -q fini out/test/elf/x86_64/dt-init/log2 -94: + on_exit -94: + echo OK -94: OK -94: + exit 0 - 95/369 Test #94: x86_64-dt-init ................................... Passed 0.31 sec -test 107 - Start 107: x86_64-emit-relocs - -107: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/emit-relocs.sh" -107: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -107: Environment variables: -107: MACHINE=x86_64 -107: CPU= -107: Test timeout computed to be: 1500 -102: + grep -q ' foo123bar456x' out/test/elf/x86_64/dynamic-list3/log1 +30: + cat +30: + cc -c -o out/test/elf/x86_64/x86_64_reloc/f.o out/test/elf/x86_64/x86_64_reloc/f.s +30: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/f.o 106: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/emit-relocs-dead-sections.sh -103: + cc -o out/test/elf/x86_64/dynamic-list4/c.o -c -xc - -fPIC -103: + cat 106: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 106: ++ export LC_ALL=C 106: ++ LC_ALL=C @@ -6921,16 +6934,36 @@ 106: ++ echo -n 'Testing emit-relocs-dead-sections ... ' 106: Testing emit-relocs-dead-sections ... ++ t=out/test/elf/x86_64/emit-relocs-dead-sections 106: ++ mkdir -p out/test/elf/x86_64/emit-relocs-dead-sections -95: + grep -Fq 'Shared library: [libfoo]' -95: + readelf --dynamic out/test/elf/x86_64/dt-needed/exe -93: + readelf --dyn-syms out/test/elf/x86_64/dso-undef/exe -93: + grep -q ' foo$' -102: + 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 -100: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list/exe2 -107: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/emit-relocs.sh 106: + '[' x86_64 = m68k ']' 106: + '[' x86_64 = sh4 ']' +106: + cat +106: + c++ -o out/test/elf/x86_64/emit-relocs-dead-sections/a.o -c -fPIC -xc++ -g -ffunction-sections - +100: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list/exe1 +100: + grep -q ' foo' out/test/elf/x86_64/dynamic-list/log1 +100: + grep -q ' bar' out/test/elf/x86_64/dynamic-list/log1 +100: + 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 +100: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list/exe2 100: + grep -q ' foo' out/test/elf/x86_64/dynamic-list/log2 +100: + grep -q ' bar' out/test/elf/x86_64/dynamic-list/log2 +100: + 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 +100: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list/exe3 +100: + grep -q ' foo' out/test/elf/x86_64/dynamic-list/log3 +100: + grep -q ' bar' out/test/elf/x86_64/dynamic-list/log3 +100: + on_exit +100: + echo OK +100: OK +100: + exit 0 + 95/369 Test #100: x86_64-dynamic-list .............................. Passed 0.41 sec +test 107 + Start 107: x86_64-emit-relocs + +107: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/emit-relocs.sh" +107: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +107: Environment variables: +107: MACHINE=x86_64 +107: CPU= +107: Test timeout computed to be: 1500 +107: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/emit-relocs.sh 107: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 107: ++ export LC_ALL=C 107: ++ LC_ALL=C @@ -6949,15 +6982,26 @@ 107: ++ tlsdesc_opt=-mtls-dialect=gnu2 107: ++ trap 'on_error $LINENO' ERR 107: ++ trap on_exit EXIT -106: + cat -106: + c++ -o out/test/elf/x86_64/emit-relocs-dead-sections/a.o -c -fPIC -xc++ -g -ffunction-sections - -104: + on_exit -104: + echo OK -104: OK -104: + exit 0 107: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/emit-relocs.sh .sh -95: + 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 - 96/369 Test #104: x86_64-dynamic ................................... Passed 0.16 sec +107: ++ testname=emit-relocs +107: ++ echo -n 'Testing emit-relocs ... ' +107: Testing emit-relocs ... ++ t=out/test/elf/x86_64/emit-relocs +107: ++ mkdir -p out/test/elf/x86_64/emit-relocs +107: + cat +107: + cc -o out/test/elf/x86_64/emit-relocs/a.o -c -fPIC -xc - +101: + cat +101: + c++ -o out/test/elf/x86_64/dynamic-list2/b.o -c -xc++ - +103: + cat +103: + cc -B. -shared -o out/test/elf/x86_64/dynamic-list4/b.so out/test/elf/x86_64/dynamic-list4/a.o -Wl,--dynamic-list=out/test/elf/x86_64/dynamic-list4/dyn +102: + 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: + out/test/elf/x86_64/defsym-lto/exe +83: + grep -q '^OK$' +99: + grep -Fq .interp out/test/elf/x86_64/dynamic-linker/log +83: + on_exit +83: + echo OK +83: OK +83: + exit 0 + 96/369 Test #83: x86_64-defsym-lto ................................ Passed 0.95 sec test 108 Start 108: x86_64-empty-file @@ -6967,19 +7011,25 @@ 108: MACHINE=x86_64 108: CPU= 108: Test timeout computed to be: 1500 -93: + on_exit -93: + echo OK -93: OK -93: + exit 0 -107: ++ testname=emit-relocs -107: ++ echo -n 'Testing emit-relocs ... ' -107: Testing emit-relocs ... ++ t=out/test/elf/x86_64/emit-relocs -107: ++ mkdir -p out/test/elf/x86_64/emit-relocs -107: + cat -107: + cc -o out/test/elf/x86_64/emit-relocs/a.o -c -fPIC -xc - -100: + grep -q ' bar' out/test/elf/x86_64/dynamic-list/log2 -101: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list2/exe - 97/369 Test #93: x86_64-dso-undef ................................. Passed 0.34 sec +98: + grep -Fq '(DEBUG)' out/test/elf/x86_64/dynamic-dt-debug/log +98: + on_exit +98: + echo OK +98: OK +98: + exit 0 +99: + on_exit +99: + echo OK +99: OK +99: + exit 0 +105: + 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 +107: + cc -B. -o out/test/elf/x86_64/emit-relocs/exe out/test/elf/x86_64/emit-relocs/a.o -Wl,-emit-relocs +89: + cc -B. -o out/test/elf/x86_64/demangle/exe out/test/elf/x86_64/demangle/b.o -Wl,-demangle +104: + on_exit +104: + echo OK +104: OK +104: + exit 0 + 97/369 Test #98: x86_64-dynamic-dt-debug .......................... Passed 0.70 sec + 98/369 Test #99: x86_64-dynamic-linker ............................ Passed 0.63 sec + 99/369 Test #104: x86_64-dynamic ................................... Passed 0.37 sec test 109 Start 109: x86_64-empty-input @@ -6989,12 +7039,25 @@ 109: MACHINE=x86_64 109: CPU= 109: Test timeout computed to be: 1500 -100: + 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 -101: + grep -q ' foo' out/test/elf/x86_64/dynamic-list2/log -101: + grep -q ' bar' out/test/elf/x86_64/dynamic-list2/log +test 110 + Start 110: x86_64-empty-version + +110: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/empty-version.sh" +110: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +110: Environment variables: +110: MACHINE=x86_64 +110: CPU= +110: Test timeout computed to be: 1500 +test 111 + Start 111: x86_64-entry + +111: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/entry.sh" +111: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +111: Environment variables: +111: MACHINE=x86_64 +111: CPU= +111: Test timeout computed to be: 1500 108: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/empty-file.sh -105: + 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 -89: + grep -q 'undefined symbol: Pi$' out/test/elf/x86_64/demangle/log 108: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 108: ++ export LC_ALL=C 108: ++ LC_ALL=C @@ -7013,60 +7076,15 @@ 108: ++ tlsdesc_opt=-mtls-dialect=gnu2 108: ++ trap 'on_error $LINENO' ERR 108: ++ trap on_exit EXIT -89: + on_exit -89: + echo OK -89: OK -89: + exit 0 - 98/369 Test #89: x86_64-demangle .................................. Passed 0.39 sec -test 110 - Start 110: x86_64-empty-version - -110: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/empty-version.sh" -110: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -110: Environment variables: -110: MACHINE=x86_64 -110: CPU= -110: Test timeout computed to be: 1500 -108: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/empty-file.sh .sh -108: ++ testname=empty-file -108: ++ echo -n 'Testing empty-file ... ' -108: Testing empty-file ... ++ t=out/test/elf/x86_64/empty-file -108: ++ mkdir -p out/test/elf/x86_64/empty-file -109: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/empty-input.sh -109: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc -109: ++ export LC_ALL=C -109: ++ LC_ALL=C -109: ++ '[' -z x86_64 ']' -109: ++ '[' -z '' ']' -109: ++ TESTDIR=out/test/elf/x86_64 -109: ++ CC=cc -109: ++ CXX=c++ -109: ++ GCC=gcc -109: ++ GXX=g++ -109: ++ OBJDUMP=objdump -109: ++ OBJCOPY=objcopy -109: ++ STRIP=strip -109: ++ QEMU= -109: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' -109: ++ tlsdesc_opt=-mtls-dialect=gnu2 -109: ++ trap 'on_error $LINENO' ERR -109: ++ trap on_exit EXIT -109: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/empty-input.sh .sh -109: ++ testname=empty-input -109: ++ echo -n 'Testing empty-input ... ' -109: Testing empty-input ... ++ t=out/test/elf/x86_64/empty-input -109: ++ mkdir -p out/test/elf/x86_64/empty-input -101: + cat -101: + 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 -109: + rm -f out/test/elf/x86_64/empty-input/a.o -108: + cat -108: + cc -o out/test/elf/x86_64/empty-file/a.o -c -xc - -109: + touch out/test/elf/x86_64/empty-input/a.o +102: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list3/exe1 110: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/empty-version.sh +108: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/empty-file.sh .sh +103: + cat 110: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 110: ++ export LC_ALL=C 110: ++ LC_ALL=C 110: ++ '[' -z x86_64 ']' +103: + cc -o out/test/elf/x86_64/dynamic-list4/c.o -c -xc - -fPIC 110: ++ '[' -z '' ']' 110: ++ TESTDIR=out/test/elf/x86_64 110: ++ CC=cc @@ -7077,65 +7095,20 @@ 110: ++ OBJCOPY=objcopy 110: ++ STRIP=strip 110: ++ QEMU= +108: ++ testname=empty-file +108: ++ echo -n 'Testing empty-file ... ' +108: Testing empty-file ... ++ t=out/test/elf/x86_64/empty-file +108: ++ mkdir -p out/test/elf/x86_64/empty-file 110: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 110: ++ tlsdesc_opt=-mtls-dialect=gnu2 110: ++ trap 'on_error $LINENO' ERR 110: ++ trap on_exit EXIT -109: + cc -B. -o out/test/elf/x86_64/empty-input/exe out/test/elf/x86_64/empty-input/a.o +102: + grep -q ' xyz' out/test/elf/x86_64/dynamic-list3/log1 110: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/empty-version.sh .sh -110: ++ testname=empty-version -110: ++ echo -n 'Testing empty-version ... ' -110: Testing empty-version ... ++ t=out/test/elf/x86_64/empty-version -110: ++ mkdir -p out/test/elf/x86_64/empty-version -110: + cat -95: + grep -Fq 'Shared library: [libfoo]' -110: + cc -fPIC -c -o out/test/elf/x86_64/empty-version/a.o -xc - -95: + readelf --dynamic out/test/elf/x86_64/dt-needed/exe -100: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list/exe3 -102: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list3/exe2 -95: + 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 -102: + grep -q ' xyz' out/test/elf/x86_64/dynamic-list3/log2 -100: + grep -q ' foo' out/test/elf/x86_64/dynamic-list/log3 -105: + grep -q 'Hello world' -107: + cc -B. -o out/test/elf/x86_64/emit-relocs/exe out/test/elf/x86_64/emit-relocs/a.o -Wl,-emit-relocs -100: + grep -q ' bar' out/test/elf/x86_64/dynamic-list/log3 -103: + cc -B. -shared -o out/test/elf/x86_64/dynamic-list4/d.so out/test/elf/x86_64/dynamic-list4/c.o -105: + out/test/elf/x86_64/emit-relocs-cpp/exe -100: + on_exit -100: + echo OK -100: OK -100: + exit 0 -109: + grep -q 'unknown file type' out/test/elf/x86_64/empty-input/log - 99/369 Test #100: x86_64-dynamic-list .............................. Passed 0.31 sec -test 111 - Start 111: x86_64-entry - -111: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/entry.sh" -111: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -111: Environment variables: -111: MACHINE=x86_64 -111: CPU= -111: Test timeout computed to be: 1500 -105: + readelf -SW out/test/elf/x86_64/emit-relocs-cpp/exe -105: + grep -Eq 'rela?\.text' -109: + on_exit -109: + echo OK -109: OK -109: + exit 0 -102: + grep -q ' foobarzx' out/test/elf/x86_64/dynamic-list3/log2 -100/369 Test #109: x86_64-empty-input ............................... Passed 0.05 sec -test 112 - Start 112: x86_64-exception-multiple-ehframe - -112: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/exception-multiple-ehframe.sh" -112: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -112: Environment variables: -112: MACHINE=x86_64 -112: CPU= -112: Test timeout computed to be: 1500 -102: + grep -q ' foobarcx' out/test/elf/x86_64/dynamic-list3/log2 -102: + grep -q ' foo123bar456bx' out/test/elf/x86_64/dynamic-list3/log2 111: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/entry.sh +102: + grep -q ' foobarzx' out/test/elf/x86_64/dynamic-list3/log1 +108: + cat +108: + cc -o out/test/elf/x86_64/empty-file/a.o -c -xc - 111: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 111: ++ export LC_ALL=C 111: ++ LC_ALL=C @@ -7154,22 +7127,83 @@ 111: ++ tlsdesc_opt=-mtls-dialect=gnu2 111: ++ trap 'on_error $LINENO' ERR 111: ++ trap on_exit EXIT -101: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list2/exe1 -102: + grep -q ' foo123bar456c' out/test/elf/x86_64/dynamic-list3/log2 +110: ++ testname=empty-version +110: ++ echo -n 'Testing empty-version ... ' +110: Testing empty-version ... ++ t=out/test/elf/x86_64/empty-version +110: ++ mkdir -p out/test/elf/x86_64/empty-version 111: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/entry.sh .sh -105: + grep -Eq 'rela?\.eh_frame' 111: ++ testname=entry 111: ++ echo -n 'Testing entry ... ' 111: Testing entry ... ++ t=out/test/elf/x86_64/entry 111: ++ mkdir -p out/test/elf/x86_64/entry -102: + grep -q ' foo123bar456x' out/test/elf/x86_64/dynamic-list3/log2 -101: + grep -q ' foo' out/test/elf/x86_64/dynamic-list2/log1 +102: + grep -q ' foobarcx' out/test/elf/x86_64/dynamic-list3/log1 +110: + cat +110: + cc -fPIC -c -o out/test/elf/x86_64/empty-version/a.o -xc - +111: + '[' x86_64 = ppc64 ']' +111: + cat +102: + grep -q ' foo123bar456bx' out/test/elf/x86_64/dynamic-list3/log1 +102: + grep -q ' foo123bar456c' out/test/elf/x86_64/dynamic-list3/log1 +102: + grep -q ' foo123bar456x' out/test/elf/x86_64/dynamic-list3/log1 +111: + cc -o out/test/elf/x86_64/entry/a.o -c -x assembler - +102: + 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 +107: + out/test/elf/x86_64/emit-relocs/exe +107: + grep -q 'Hello world' +107: + readelf -S out/test/elf/x86_64/emit-relocs/exe +107: + grep -Eq 'rela?\.text' +109: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/empty-input.sh +109: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc +109: ++ export LC_ALL=C +109: ++ LC_ALL=C +107: + on_exit +107: + echo OK +107: OK +107: + exit 0 +109: ++ '[' -z x86_64 ']' +105: + out/test/elf/x86_64/emit-relocs-cpp/exe +109: ++ '[' -z '' ']' +109: ++ TESTDIR=out/test/elf/x86_64 +111: + cat +109: ++ CC=cc +109: ++ CXX=c++ +109: ++ GCC=gcc +109: ++ GXX=g++ +109: ++ OBJDUMP=objdump +109: ++ OBJCOPY=objcopy +109: ++ STRIP=strip +109: ++ QEMU= +109: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' +109: ++ tlsdesc_opt=-mtls-dialect=gnu2 +109: ++ trap 'on_error $LINENO' ERR +100/369 Test #107: x86_64-emit-relocs ............................... Passed 0.22 sec +test 112 + Start 112: x86_64-exception-multiple-ehframe + +112: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/exception-multiple-ehframe.sh" +112: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +112: Environment variables: +112: MACHINE=x86_64 +112: CPU= +112: Test timeout computed to be: 1500 +109: ++ trap on_exit EXIT +109: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/empty-input.sh .sh +109: ++ testname=empty-input +109: ++ echo -n 'Testing empty-input ... ' +109: Testing empty-input ... ++ t=out/test/elf/x86_64/empty-input +109: ++ mkdir -p out/test/elf/x86_64/empty-input +111: + cc -o out/test/elf/x86_64/entry/b.o -c -xc - +105: + grep -q 'Hello world' 105: + readelf -SW out/test/elf/x86_64/emit-relocs-cpp/exe -102: + on_exit -102: + echo OK -102: OK -102: + exit 0 -101/369 Test #102: x86_64-dynamic-list3 ............................. Passed 0.28 sec +105: + grep -Eq 'rela?\.text' +109: + rm -f out/test/elf/x86_64/empty-input/a.o +105: + readelf -SW out/test/elf/x86_64/emit-relocs-cpp/exe +105: + grep -Eq 'rela?\.eh_frame' +109: + touch out/test/elf/x86_64/empty-input/a.o +109: + cc -B. -o out/test/elf/x86_64/empty-input/exe out/test/elf/x86_64/empty-input/a.o +105: + on_exit +105: + echo OK +105: OK +105: + exit 0 +101/369 Test #105: x86_64-emit-relocs-cpp ........................... Passed 0.37 sec test 113 Start 113: x86_64-exception @@ -7179,27 +7213,7 @@ 113: MACHINE=x86_64 113: CPU= 113: Test timeout computed to be: 1500 -111: + '[' x86_64 = ppc64 ']' -111: + cc -o out/test/elf/x86_64/entry/a.o -c -x assembler - -111: + cat 112: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/exception-multiple-ehframe.sh -101: + grep -q ' bar' out/test/elf/x86_64/dynamic-list2/log1 -105: + on_exit -105: + echo OK -105: OK -105: + exit 0 -102/369 Test #105: x86_64-emit-relocs-cpp ........................... Passed 0.18 sec -test 114 - Start 114: x86_64-exclude-libs - -114: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/exclude-libs.sh" -114: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -114: Environment variables: -114: MACHINE=x86_64 -114: CPU= -114: Test timeout computed to be: 1500 -111: + cat -111: + cc -o out/test/elf/x86_64/entry/b.o -c -xc - 112: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 112: ++ export LC_ALL=C 112: ++ LC_ALL=C @@ -7223,14 +7237,30 @@ 112: ++ echo -n 'Testing exception-multiple-ehframe ... ' 112: Testing exception-multiple-ehframe ... ++ t=out/test/elf/x86_64/exception-multiple-ehframe 112: ++ mkdir -p out/test/elf/x86_64/exception-multiple-ehframe -101: + grep -q ' _Z3bazi' out/test/elf/x86_64/dynamic-list2/log1 -101: + 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 -107: + grep -q 'Hello world' -107: + out/test/elf/x86_64/emit-relocs/exe -107: + grep -Eq 'rela?\.text' -107: + readelf -S out/test/elf/x86_64/emit-relocs/exe -110: + cc -B. -shared -o out/test/elf/x86_64/empty-version/b.so out/test/elf/x86_64/empty-version/a.o +112: + nm mold +112: + grep -q __tsan_init +102: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list3/exe2 +109: + grep -q 'unknown file type' out/test/elf/x86_64/empty-input/log +102: + grep -q ' xyz' out/test/elf/x86_64/dynamic-list3/log2 +109: + on_exit +109: + echo OK +109: OK +109: + exit 0 +102/369 Test #109: x86_64-empty-input ............................... Passed 0.05 sec +test 114 + Start 114: x86_64-exclude-libs + +114: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/exclude-libs.sh" +114: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +114: Environment variables: +114: MACHINE=x86_64 +114: CPU= +114: Test timeout computed to be: 1500 +102: + grep -q ' foobarzx' out/test/elf/x86_64/dynamic-list3/log2 +102: + grep -q ' foobarcx' out/test/elf/x86_64/dynamic-list3/log2 +102: + grep -q ' foo123bar456bx' out/test/elf/x86_64/dynamic-list3/log2 113: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/exception.sh +102: + grep -q ' foo123bar456c' out/test/elf/x86_64/dynamic-list3/log2 113: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 113: ++ export LC_ALL=C 113: ++ LC_ALL=C @@ -7249,19 +7279,17 @@ 113: ++ tlsdesc_opt=-mtls-dialect=gnu2 113: ++ trap 'on_error $LINENO' ERR 113: ++ trap on_exit EXIT -108: + rm -f out/test/elf/x86_64/empty-file/b.script -108: + touch out/test/elf/x86_64/empty-file/b.script 113: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/exception.sh .sh -112: + nm mold -108: + 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 -107: + on_exit -107: + echo OK -107: OK -107: + exit 0 -112: + grep -q __tsan_init -83: + cat -83: + cc -flto -fPIC -o out/test/elf/x86_64/defsym-lto/a.o -c -xc - -103/369 Test #107: x86_64-emit-relocs ............................... Passed 0.12 sec +102: + grep -q ' foo123bar456x' out/test/elf/x86_64/dynamic-list3/log2 +113: ++ testname=exception +113: ++ echo -n 'Testing exception ... ' +113: Testing exception ... ++ t=out/test/elf/x86_64/exception +113: ++ mkdir -p out/test/elf/x86_64/exception +102: + on_exit +102: + echo OK +102: OK +102: + exit 0 +103/369 Test #102: x86_64-dynamic-list3 ............................. Passed 0.49 sec test 115 Start 115: x86_64-exclude-libs2 @@ -7271,25 +7299,16 @@ 115: MACHINE=x86_64 115: CPU= 115: Test timeout computed to be: 1500 -95: + readelf --dynamic out/test/elf/x86_64/dt-needed/exe -95: + grep -Eq 'Shared library: \[.*dt-needed/libbar\.so\]' -113: ++ testname=exception -113: ++ echo -n 'Testing exception ... ' -113: Testing exception ... ++ t=out/test/elf/x86_64/exception -113: ++ mkdir -p out/test/elf/x86_64/exception 113: + '[' x86_64 = m68k ']' 113: + '[' x86_64 = sh4 ']' 113: + static= 113: + test_cflags -static -103: + cat -103: + cc -o out/test/elf/x86_64/dynamic-list4/e.o -c -xc - -95: + 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 113: + echo 'int main() {}' +113: + cc -static -o /dev/null -xc - 114: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/exclude-libs.sh 114: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 114: ++ export LC_ALL=C 114: ++ LC_ALL=C -113: + cc -static -o /dev/null -xc - 114: ++ '[' -z x86_64 ']' 114: ++ '[' -z '' ']' 114: ++ TESTDIR=out/test/elf/x86_64 @@ -7305,8 +7324,14 @@ 114: ++ tlsdesc_opt=-mtls-dialect=gnu2 114: ++ trap 'on_error $LINENO' ERR 114: ++ trap on_exit EXIT -115: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/exclude-libs2.sh 114: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/exclude-libs.sh .sh +114: ++ testname=exclude-libs +114: ++ echo -n 'Testing exclude-libs ... ' +114: Testing exclude-libs ... ++ t=out/test/elf/x86_64/exclude-libs +114: ++ mkdir -p out/test/elf/x86_64/exclude-libs +114: + cat +114: + cc -fPIC -xc -c -o out/test/elf/x86_64/exclude-libs/a.o - +115: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/exclude-libs2.sh 115: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 115: ++ export LC_ALL=C 115: ++ LC_ALL=C @@ -7325,31 +7350,29 @@ 115: ++ tlsdesc_opt=-mtls-dialect=gnu2 115: ++ trap 'on_error $LINENO' ERR 115: ++ trap on_exit EXIT -114: ++ testname=exclude-libs -114: ++ echo -n 'Testing exclude-libs ... ' -114: Testing exclude-libs ... ++ t=out/test/elf/x86_64/exclude-libs -114: ++ mkdir -p out/test/elf/x86_64/exclude-libs 115: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/exclude-libs2.sh .sh 115: ++ testname=exclude-libs2 115: ++ echo -n 'Testing exclude-libs2 ... ' 115: Testing exclude-libs2 ... ++ t=out/test/elf/x86_64/exclude-libs2 115: ++ mkdir -p out/test/elf/x86_64/exclude-libs2 -114: + cat -114: + cc -fPIC -xc -c -o out/test/elf/x86_64/exclude-libs/a.o - -111: + 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 -110: + grep -q ' bar1' -110: + readelf --dyn-syms out/test/elf/x86_64/empty-version/b.so 115: + cat 115: + cc -x assembler -c -o out/test/elf/x86_64/exclude-libs2/a.o - -110: + readelf --dyn-syms out/test/elf/x86_64/empty-version/b.so -110: + grep -q ' bar2' 115: + rm -f out/test/elf/x86_64/exclude-libs2/b.a 115: + ar crs out/test/elf/x86_64/exclude-libs2/b.a out/test/elf/x86_64/exclude-libs2/a.o -110: + on_exit -110: + echo OK -110: OK -110: + exit 0 -104/369 Test #110: x86_64-empty-version ............................. Passed 0.13 sec +112: + command -v perl +112: + '[' x86_64 = m68k ']' +112: + '[' x86_64 = sh4 ']' +112: + cat +112: + c++ -o out/test/elf/x86_64/exception-multiple-ehframe/a.o -c -xc++ - +101: + 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 +89: + grep -q 'undefined symbol: Pi$' out/test/elf/x86_64/demangle/log +115: + cat +115: + cc -xc -c -o out/test/elf/x86_64/exclude-libs2/c.o - +89: + on_exit +89: + echo OK +89: OK +89: + exit 0 +104/369 Test #89: x86_64-demangle .................................. Passed 1.03 sec test 116 Start 116: x86_64-exclude-libs3 @@ -7359,18 +7382,18 @@ 116: MACHINE=x86_64 116: CPU= 116: Test timeout computed to be: 1500 -103: + cc -B. -o out/test/elf/x86_64/dynamic-list4/exe1 out/test/elf/x86_64/dynamic-list4/e.o -Wl,-push-state,-no-as-needed out/test/elf/x86_64/dynamic-list4/b.so -Wl,-pop-state -108: + out/test/elf/x86_64/empty-file/exe -108: + grep -q 'Hello world' -115: + cc -xc -c -o out/test/elf/x86_64/exclude-libs2/c.o - -101: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list2/exe2 -101: + grep -q ' foo' out/test/elf/x86_64/dynamic-list2/log2 -115: + cat -108: + on_exit -108: + echo OK -108: OK -108: + exit 0 -105/369 Test #108: x86_64-empty-file ................................ Passed 0.15 sec +30: + readelf -x .foo -x .bar out/test/elf/x86_64/x86_64_reloc/exe +30: + grep -Fq '0x00000010 00000000 00000000 10000000 00000000' out/test/elf/x86_64/x86_64_reloc/log +110: + cc -B. -shared -o out/test/elf/x86_64/empty-version/b.so out/test/elf/x86_64/empty-version/a.o +108: + rm -f out/test/elf/x86_64/empty-file/b.script +108: + touch out/test/elf/x86_64/empty-file/b.script +30: + grep -Fq '0x00000010 18000000 00000000' out/test/elf/x86_64/x86_64_reloc/log +111: + 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 +30: + on_exit +30: + echo OK +30: OK +30: + exit 0 +105/369 Test #30: x86_64-x86_64_reloc .............................. Passed 2.71 sec test 117 Start 117: x86_64-execstack @@ -7380,6 +7403,7 @@ 117: MACHINE=x86_64 117: CPU= 117: Test timeout computed to be: 1500 +108: + 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 116: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/exclude-libs3.sh 116: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 116: ++ export LC_ALL=C @@ -7399,24 +7423,15 @@ 116: ++ tlsdesc_opt=-mtls-dialect=gnu2 116: ++ trap 'on_error $LINENO' ERR 116: ++ trap on_exit EXIT +106: + cat +106: + c++ -o out/test/elf/x86_64/emit-relocs-dead-sections/b.o -c -fPIC -xc++ -g -ffunction-sections - 116: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/exclude-libs3.sh .sh -101: + grep -q ' bar' out/test/elf/x86_64/dynamic-list2/log2 -83: + 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 -114: + cat -114: + cc -fPIC -xc -c -o out/test/elf/x86_64/exclude-libs/b.o - -101: + grep -q ' _Z3bazi' out/test/elf/x86_64/dynamic-list2/log2 116: ++ testname=exclude-libs3 116: ++ echo -n 'Testing exclude-libs3 ... ' 116: Testing exclude-libs3 ... ++ t=out/test/elf/x86_64/exclude-libs3 116: ++ mkdir -p out/test/elf/x86_64/exclude-libs3 -95: + readelf --dynamic out/test/elf/x86_64/dt-needed/exe -95: + grep -Fq 'Shared library: [libbar.so]' 116: + cat 116: + cc -fPIC -xc -c -o out/test/elf/x86_64/exclude-libs3/a.o - -101: + on_exit -101: + echo OK -101: OK -101: + exit 0 117: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/execstack.sh 117: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 117: ++ export LC_ALL=C @@ -7441,7 +7456,20 @@ 117: ++ echo -n 'Testing execstack ... ' 117: Testing execstack ... ++ t=out/test/elf/x86_64/execstack 117: ++ mkdir -p out/test/elf/x86_64/execstack -106/369 Test #101: x86_64-dynamic-list2 ............................. Passed 0.39 sec +101: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list2/exe +110: + readelf --dyn-syms out/test/elf/x86_64/empty-version/b.so +110: + grep -q ' bar1' +117: + cat +117: + cc -c -xc -o out/test/elf/x86_64/execstack/a.o - +110: + readelf --dyn-syms out/test/elf/x86_64/empty-version/b.so +110: + grep -q ' bar2' +101: + grep -q ' foo' out/test/elf/x86_64/dynamic-list2/log +101: + grep -q ' bar' out/test/elf/x86_64/dynamic-list2/log +110: + on_exit +110: + echo OK +110: OK +110: + exit 0 +106/369 Test #110: x86_64-empty-version ............................. Passed 0.22 sec test 118 Start 118: x86_64-execute-only @@ -7451,14 +7479,15 @@ 118: MACHINE=x86_64 118: CPU= 118: Test timeout computed to be: 1500 -117: + cc -c -xc -o out/test/elf/x86_64/execstack/a.o - -103: + grep -q 'foo1 bar1 baz1' -103: + out/test/elf/x86_64/dynamic-list4/exe1 -95: + on_exit -95: + echo OK -95: OK -95: + exit 0 -107/369 Test #95: x86_64-dt-needed ................................. Passed 0.49 sec +101: + cat +101: + 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 +108: + out/test/elf/x86_64/empty-file/exe +108: + grep -q 'Hello world' +108: + on_exit +108: + echo OK +108: OK +108: + exit 0 +107/369 Test #108: x86_64-empty-file ................................ Passed 0.23 sec test 119 Start 119: x86_64-export-dynamic @@ -7468,13 +7497,12 @@ 119: MACHINE=x86_64 119: CPU= 119: Test timeout computed to be: 1500 -117: + cat -103: + cc -B. -o out/test/elf/x86_64/dynamic-list4/exe2 out/test/elf/x86_64/dynamic-list4/e.o -Wl,-push-state,-no-as-needed out/test/elf/x86_64/dynamic-list4/d.so out/test/elf/x86_64/dynamic-list4/b.so -Wl,-pop-state +111: + readelf -e out/test/elf/x86_64/entry/exe1 +111: + grep -q 'Entry point address:.*0x1000$' out/test/elf/x86_64/entry/log 118: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/execute-only.sh 118: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 118: ++ export LC_ALL=C 118: ++ LC_ALL=C -119: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/export-dynamic.sh 118: ++ '[' -z x86_64 ']' 118: ++ '[' -z '' ']' 118: ++ TESTDIR=out/test/elf/x86_64 @@ -7490,6 +7518,18 @@ 118: ++ tlsdesc_opt=-mtls-dialect=gnu2 118: ++ trap 'on_error $LINENO' ERR 118: ++ trap on_exit EXIT +118: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/execute-only.sh .sh +111: + 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 +118: ++ testname=execute-only +118: ++ echo -n 'Testing execute-only ... ' +118: Testing execute-only ... ++ t=out/test/elf/x86_64/execute-only +118: ++ mkdir -p out/test/elf/x86_64/execute-only +118: + '[' x86_64 = sparc64 ']' +118: + '[' x86_64 = ppc64 ']' +118: + '[' x86_64 = ppc64le ']' +118: + cat +118: + cc -o out/test/elf/x86_64/execute-only/a.o -c -xc - +119: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/export-dynamic.sh 119: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 119: ++ export LC_ALL=C 119: ++ LC_ALL=C @@ -7509,48 +7549,29 @@ 119: ++ trap 'on_error $LINENO' ERR 119: ++ trap on_exit EXIT 119: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/export-dynamic.sh .sh -118: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/execute-only.sh .sh 119: ++ testname=export-dynamic 119: ++ echo -n 'Testing export-dynamic ... ' 119: Testing export-dynamic ... ++ t=out/test/elf/x86_64/export-dynamic 119: ++ mkdir -p out/test/elf/x86_64/export-dynamic -118: ++ testname=execute-only -118: ++ echo -n 'Testing execute-only ... ' -118: Testing execute-only ... ++ t=out/test/elf/x86_64/execute-only -118: ++ mkdir -p out/test/elf/x86_64/execute-only -111: + readelf -e out/test/elf/x86_64/entry/exe1 -118: + '[' x86_64 = sparc64 ']' -118: + '[' x86_64 = ppc64 ']' -118: + '[' x86_64 = ppc64le ']' -118: + cat -115: + 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 -118: + cc -o out/test/elf/x86_64/execute-only/a.o -c -xc - -111: + grep -q 'Entry point address:.*0x1000$' out/test/elf/x86_64/entry/log -119: + cc -o out/test/elf/x86_64/export-dynamic/a.o -c -x assembler - -111: + 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 119: + cat -114: + rm -f out/test/elf/x86_64/exclude-libs/c.a +119: + cc -o out/test/elf/x86_64/export-dynamic/a.o -c -x assembler - 119: + cc -shared -fPIC -o out/test/elf/x86_64/export-dynamic/b.so -xc /dev/null -116: + rm -f out/test/elf/x86_64/exclude-libs3/b.a -114: + ar crs out/test/elf/x86_64/exclude-libs/c.a out/test/elf/x86_64/exclude-libs/a.o -116: + ar crs out/test/elf/x86_64/exclude-libs3/b.a out/test/elf/x86_64/exclude-libs3/a.o -117: + cc -B. -o out/test/elf/x86_64/execstack/exe out/test/elf/x86_64/execstack/a.o -Wl,-z,execstack -114: + rm -f out/test/elf/x86_64/exclude-libs/d.a -114: + ar crs out/test/elf/x86_64/exclude-libs/d.a out/test/elf/x86_64/exclude-libs/b.o -116: + cat -116: + cc -fPIC -xc -c -o out/test/elf/x86_64/exclude-libs3/c.o - -114: + cat -114: + cc -fPIC -xc -c -o out/test/elf/x86_64/exclude-libs/e.o - -103: + out/test/elf/x86_64/dynamic-list4/exe2 -103: + grep -q 'foo2 bar2 baz1' -113: + static=-static -113: + static='-static -pthread' -113: + cat -103: + on_exit -103: + echo OK -103: OK -103: + exit 0 -108/369 Test #103: x86_64-dynamic-list4 ............................. Passed 0.41 sec +101: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list2/exe1 +101: + grep -q ' foo' out/test/elf/x86_64/dynamic-list2/log1 +101: + grep -q ' bar' out/test/elf/x86_64/dynamic-list2/log1 +101: + grep -q ' _Z3bazi' out/test/elf/x86_64/dynamic-list2/log1 +101: + 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 +111: + readelf -e out/test/elf/x86_64/entry/exe2 +103: + cc -B. -shared -o out/test/elf/x86_64/dynamic-list4/d.so out/test/elf/x86_64/dynamic-list4/c.o +101: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list2/exe2 +101: + grep -q ' foo' out/test/elf/x86_64/dynamic-list2/log2 +101: + grep -q ' bar' out/test/elf/x86_64/dynamic-list2/log2 +101: + grep -q ' _Z3bazi' out/test/elf/x86_64/dynamic-list2/log2 +101: + on_exit +101: + echo OK +101: OK +101: + exit 0 +108/369 Test #101: x86_64-dynamic-list2 ............................. Passed 0.85 sec test 120 Start 120: x86_64-export-from-exe @@ -7560,9 +7581,8 @@ 120: MACHINE=x86_64 120: CPU= 120: Test timeout computed to be: 1500 -113: + c++ -c -o out/test/elf/x86_64/exception/b.o out/test/elf/x86_64/exception/a.cc -fPIC -115: + readelf --dyn-syms out/test/elf/x86_64/exclude-libs2/d.so -118: + cc -B. -o out/test/elf/x86_64/execute-only/exe out/test/elf/x86_64/execute-only/a.o -Wl,--execute-only +103: + cat +103: + cc -o out/test/elf/x86_64/dynamic-list4/e.o -c -xc - 120: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/export-from-exe.sh 120: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 120: ++ export LC_ALL=C @@ -7587,14 +7607,18 @@ 120: ++ echo -n 'Testing export-from-exe ... ' 120: Testing export-from-exe ... ++ t=out/test/elf/x86_64/export-from-exe 120: ++ mkdir -p out/test/elf/x86_64/export-from-exe -115: + grep -Fq foo out/test/elf/x86_64/exclude-libs2/log 120: + cat 120: + cc -o out/test/elf/x86_64/export-from-exe/a.o -c -xc - -115: + on_exit -115: + echo OK -115: OK -115: + exit 0 -109/369 Test #115: x86_64-exclude-libs2 ............................. Passed 0.15 sec +112: + cat +112: + c++ -o out/test/elf/x86_64/exception-multiple-ehframe/b.o -c -xc++ - +111: + grep -q 'Entry point address:.*0x2000$' out/test/elf/x86_64/entry/log +114: + cat +114: + cc -fPIC -xc -c -o out/test/elf/x86_64/exclude-libs/b.o - +111: + on_exit +111: + echo OK +111: OK +111: + exit 0 +109/369 Test #111: x86_64-entry ..................................... Passed 0.33 sec test 121 Start 121: x86_64-fatal-warnings @@ -7604,17 +7628,11 @@ 121: MACHINE=x86_64 121: CPU= 121: Test timeout computed to be: 1500 -111: + readelf -e out/test/elf/x86_64/entry/exe2 -114: + 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 -111: + grep -q 'Entry point address:.*0x2000$' out/test/elf/x86_64/entry/log +116: + rm -f out/test/elf/x86_64/exclude-libs3/b.a +118: + cc -B. -o out/test/elf/x86_64/execute-only/exe out/test/elf/x86_64/execute-only/a.o -Wl,--execute-only +116: + ar crs out/test/elf/x86_64/exclude-libs3/b.a out/test/elf/x86_64/exclude-libs3/a.o +103: + cc -B. -o out/test/elf/x86_64/dynamic-list4/exe1 out/test/elf/x86_64/dynamic-list4/e.o -Wl,-push-state,-no-as-needed out/test/elf/x86_64/dynamic-list4/b.so -Wl,-pop-state 121: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/fatal-warnings.sh -117: + readelf --segments -W out/test/elf/x86_64/execstack/exe -111: + on_exit -111: + echo OK -111: OK -111: + exit 0 -119: + ./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 -117: + grep -q 'GNU_STACK.* RWE ' 121: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 121: ++ export LC_ALL=C 121: ++ LC_ALL=C @@ -7633,7 +7651,25 @@ 121: ++ tlsdesc_opt=-mtls-dialect=gnu2 121: ++ trap 'on_error $LINENO' ERR 121: ++ trap on_exit EXIT -110/369 Test #111: x86_64-entry ..................................... Passed 0.20 sec +121: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/fatal-warnings.sh .sh +121: ++ testname=fatal-warnings +121: ++ echo -n 'Testing fatal-warnings ... ' +121: Testing fatal-warnings ... ++ t=out/test/elf/x86_64/fatal-warnings +121: ++ mkdir -p out/test/elf/x86_64/fatal-warnings +117: + cc -B. -o out/test/elf/x86_64/execstack/exe out/test/elf/x86_64/execstack/a.o -Wl,-z,execstack +121: + cat +121: + cc -fcommon -xc -c -o out/test/elf/x86_64/fatal-warnings/a.o - +118: + out/test/elf/x86_64/execute-only/exe +118: + grep -q 'Hello world' +118: + readelf -W --segments out/test/elf/x86_64/execute-only/exe +118: + grep -Eq 'LOAD\s.*[0-9a-f] E 0x' +103: + out/test/elf/x86_64/dynamic-list4/exe1 +103: + grep -q 'foo1 bar1 baz1' +118: + on_exit +118: + echo OK +118: OK +118: + exit 0 +110/369 Test #118: x86_64-execute-only .............................. Passed 0.15 sec test 122 Start 122: x86_64-filler @@ -7643,13 +7679,10 @@ 122: MACHINE=x86_64 122: CPU= 122: Test timeout computed to be: 1500 -121: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/fatal-warnings.sh .sh +103: + cc -B. -o out/test/elf/x86_64/dynamic-list4/exe2 out/test/elf/x86_64/dynamic-list4/e.o -Wl,-push-state,-no-as-needed out/test/elf/x86_64/dynamic-list4/d.so out/test/elf/x86_64/dynamic-list4/b.so -Wl,-pop-state +117: + readelf --segments -W out/test/elf/x86_64/execstack/exe +117: + grep -q 'GNU_STACK.* RWE ' 117: + cc -B. -o out/test/elf/x86_64/execstack/exe out/test/elf/x86_64/execstack/a.o -Wl,-z,execstack -Wl,-z,noexecstack -116: + 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 -121: ++ testname=fatal-warnings -121: ++ echo -n 'Testing fatal-warnings ... ' -121: Testing fatal-warnings ... ++ t=out/test/elf/x86_64/fatal-warnings -121: ++ mkdir -p out/test/elf/x86_64/fatal-warnings 122: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/filler.sh 122: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 122: ++ export LC_ALL=C @@ -7670,35 +7703,27 @@ 122: ++ trap 'on_error $LINENO' ERR 122: ++ trap on_exit EXIT 122: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/filler.sh .sh -121: + cc -fcommon -xc -c -o out/test/elf/x86_64/fatal-warnings/a.o - 122: ++ testname=filler 122: ++ echo -n 'Testing filler ... ' 122: Testing filler ... ++ t=out/test/elf/x86_64/filler 122: ++ mkdir -p out/test/elf/x86_64/filler -121: + cat -119: + readelf --dyn-syms out/test/elf/x86_64/export-dynamic/exe 122: + test_cflags -static -122: + cc -static -o /dev/null -xc - -120: + cat -120: + cc -shared -fPIC -o out/test/elf/x86_64/export-from-exe/b.so -xc - -119: + grep -Eq 'NOTYPE\s+GLOBAL DEFAULT\s+[0-9]+ bar' out/test/elf/x86_64/export-dynamic/log -118: + out/test/elf/x86_64/execute-only/exe -118: + grep -q 'Hello world' -119: + grep -Eq 'NOTYPE\s+GLOBAL DEFAULT\s+[0-9]+ _start' out/test/elf/x86_64/export-dynamic/log +113: + static=-static +113: + static='-static -pthread' +113: + cat 122: + echo 'int main() {}' -112: + command -v perl -112: + '[' x86_64 = m68k ']' -112: + '[' x86_64 = sh4 ']' -118: + grep -Eq 'LOAD\s.*[0-9a-f] E 0x' -112: + cat -112: + c++ -o out/test/elf/x86_64/exception-multiple-ehframe/a.o -c -xc++ - -113: + c++ -c -o out/test/elf/x86_64/exception/c.o out/test/elf/x86_64/exception/a.cc -fno-PIC -119: + on_exit -119: + echo OK -119: OK -119: + exit 0 -118: + readelf -W --segments out/test/elf/x86_64/execute-only/exe -111/369 Test #119: x86_64-export-dynamic ............................ Passed 0.12 sec +122: + cc -static -o /dev/null -xc - +113: + c++ -c -o out/test/elf/x86_64/exception/b.o out/test/elf/x86_64/exception/a.cc -fPIC +117: + readelf --segments -W out/test/elf/x86_64/execstack/exe +117: + grep -q 'GNU_STACK.* RW ' +103: + out/test/elf/x86_64/dynamic-list4/exe2 +103: + grep -q 'foo2 bar2 baz1' +103: + on_exit +103: + echo OK +103: OK +103: + exit 0 +117: + cc -B. -o out/test/elf/x86_64/execstack/exe out/test/elf/x86_64/execstack/a.o +111/369 Test #103: x86_64-dynamic-list4 ............................. Passed 0.82 sec test 123 Start 123: x86_64-filter @@ -7708,15 +7733,40 @@ 123: MACHINE=x86_64 123: CPU= 123: Test timeout computed to be: 1500 -118: + on_exit -118: + echo OK -118: OK -118: + exit 0 -114: + readelf --dyn-syms out/test/elf/x86_64/exclude-libs/f.so -114: + grep -Fq foo out/test/elf/x86_64/exclude-libs/log -83: + out/test/elf/x86_64/defsym-lto/exe -83: + grep -q '^OK$' -112/369 Test #118: x86_64-execute-only .............................. Passed 0.13 sec +123: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/filter.sh +123: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc +123: ++ export LC_ALL=C +123: ++ LC_ALL=C +123: ++ '[' -z x86_64 ']' +123: ++ '[' -z '' ']' +123: ++ TESTDIR=out/test/elf/x86_64 +123: ++ CC=cc +123: ++ CXX=c++ +123: ++ GCC=gcc +123: ++ GXX=g++ +123: ++ OBJDUMP=objdump +123: ++ OBJCOPY=objcopy +123: ++ STRIP=strip +123: ++ QEMU= +123: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' +123: ++ tlsdesc_opt=-mtls-dialect=gnu2 +123: ++ trap 'on_error $LINENO' ERR +123: ++ trap on_exit EXIT +123: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/filter.sh .sh +123: ++ testname=filter +123: ++ echo -n 'Testing filter ... ' +123: Testing filter ... ++ t=out/test/elf/x86_64/filter +123: ++ mkdir -p out/test/elf/x86_64/filter +123: + cat +123: + cc -o out/test/elf/x86_64/filter/a.o -c -x assembler - +123: + ./mold -o out/test/elf/x86_64/filter/b.so out/test/elf/x86_64/filter/a.o --filter foo -F bar -shared +117: + readelf --segments -W out/test/elf/x86_64/execstack/exe +117: + grep -q 'GNU_STACK.* RW ' +117: + on_exit +117: + echo OK +117: OK +117: + exit 0 +112/369 Test #117: x86_64-execstack ................................. Passed 0.24 sec test 124 Start 124: x86_64-func-addr @@ -7726,33 +7776,15 @@ 124: MACHINE=x86_64 124: CPU= 124: Test timeout computed to be: 1500 -114: + grep -Fq bar out/test/elf/x86_64/exclude-libs/log -114: + grep -Fq baz out/test/elf/x86_64/exclude-libs/log -83: + on_exit -83: + echo OK -83: OK -83: + exit 0 -116: + readelf --dyn-syms out/test/elf/x86_64/exclude-libs3/d.so -116: + grep -Fq foo out/test/elf/x86_64/exclude-libs3/log -117: + readelf --segments -W out/test/elf/x86_64/execstack/exe -117: + grep -q 'GNU_STACK.* RW ' -113/369 Test #83: x86_64-defsym-lto ................................ Passed 0.80 sec -test 125 - Start 125: x86_64-gc-sections - -125: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/gc-sections.sh" -125: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -125: Environment variables: -125: MACHINE=x86_64 -125: CPU= -125: Test timeout computed to be: 1500 -117: + cc -B. -o out/test/elf/x86_64/execstack/exe out/test/elf/x86_64/execstack/a.o +123: + readelf --dynamic out/test/elf/x86_64/filter/b.so +123: + grep -Fq 'Filter library: [foo]' out/test/elf/x86_64/filter/log +123: + grep -Fq 'Filter library: [bar]' out/test/elf/x86_64/filter/log 124: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/func-addr.sh +123: + on_exit +123: + echo OK +123: OK +123: + exit 0 124: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc -123: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/filter.sh -123: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc -121: + cat -121: + cc -fcommon -xc -c -o out/test/elf/x86_64/fatal-warnings/b.o - 124: ++ export LC_ALL=C 124: ++ LC_ALL=C 124: ++ '[' -z x86_64 ']' @@ -7766,42 +7798,27 @@ 124: ++ OBJCOPY=objcopy 124: ++ STRIP=strip 124: ++ QEMU= +113/369 Test #123: x86_64-filter .................................... Passed 0.04 sec +test 125 + Start 125: x86_64-gc-sections + +125: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/gc-sections.sh" +125: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +125: Environment variables: +125: MACHINE=x86_64 +125: CPU= +125: Test timeout computed to be: 1500 124: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 124: ++ tlsdesc_opt=-mtls-dialect=gnu2 124: ++ trap 'on_error $LINENO' ERR 124: ++ trap on_exit EXIT -123: ++ export LC_ALL=C -123: ++ LC_ALL=C -123: ++ '[' -z x86_64 ']' -123: ++ '[' -z '' ']' -123: ++ TESTDIR=out/test/elf/x86_64 -123: ++ CC=cc -123: ++ CXX=c++ -123: ++ GCC=gcc -123: ++ GXX=g++ -123: ++ OBJDUMP=objdump -123: ++ OBJCOPY=objcopy -123: ++ STRIP=strip -123: ++ QEMU= -123: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' -123: ++ tlsdesc_opt=-mtls-dialect=gnu2 -123: ++ trap 'on_error $LINENO' ERR -123: ++ trap on_exit EXIT -114: + 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 -116: + on_exit -116: + echo OK -116: OK -116: + exit 0 -114/369 Test #116: x86_64-exclude-libs3 ............................. Passed 0.17 sec -test 126 - Start 126: x86_64-gdb-index-compress-output - -126: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/gdb-index-compress-output.sh" -126: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -126: Environment variables: -126: MACHINE=x86_64 -126: CPU= -126: Test timeout computed to be: 1500 +124: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/func-addr.sh .sh +124: ++ testname=func-addr +124: ++ echo -n 'Testing func-addr ... ' +124: Testing func-addr ... ++ t=out/test/elf/x86_64/func-addr +124: ++ mkdir -p out/test/elf/x86_64/func-addr +124: + cat +124: + cc -shared -o out/test/elf/x86_64/func-addr/a.so -xc - 125: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/gc-sections.sh 125: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 125: ++ export LC_ALL=C @@ -7822,19 +7839,58 @@ 125: ++ trap 'on_error $LINENO' ERR 125: ++ trap on_exit EXIT 125: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/gc-sections.sh .sh -123: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/filter.sh .sh -123: ++ testname=filter -123: ++ echo -n 'Testing filter ... ' -123: Testing filter ... ++ t=out/test/elf/x86_64/filter -123: ++ mkdir -p out/test/elf/x86_64/filter -124: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/func-addr.sh .sh 125: ++ testname=gc-sections 125: ++ echo -n 'Testing gc-sections ... ' 125: Testing gc-sections ... ++ t=out/test/elf/x86_64/gc-sections 125: ++ mkdir -p out/test/elf/x86_64/gc-sections +125: + cat +125: + c++ -B. -o out/test/elf/x86_64/gc-sections/exe1 out/test/elf/x86_64/gc-sections/a.cc -ffunction-sections -fdata-sections +120: + cat +120: + cc -shared -fPIC -o out/test/elf/x86_64/export-from-exe/b.so -xc - +116: + cat +116: + cc -fPIC -xc -c -o out/test/elf/x86_64/exclude-libs3/c.o - +115: + 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 +114: + rm -f out/test/elf/x86_64/exclude-libs/c.a +112: + perl -i -0777 -pe 's/\.eh_frame/.EH_FRAME/g' out/test/elf/x86_64/exception-multiple-ehframe/a.o +113: + c++ -c -o out/test/elf/x86_64/exception/c.o out/test/elf/x86_64/exception/a.cc -fno-PIC +121: + cat +121: + cc -fcommon -xc -c -o out/test/elf/x86_64/fatal-warnings/b.o - +114: + ar crs out/test/elf/x86_64/exclude-libs/c.a out/test/elf/x86_64/exclude-libs/a.o +119: + ./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 +119: + readelf --dyn-syms out/test/elf/x86_64/export-dynamic/exe +119: + grep -Eq 'NOTYPE\s+GLOBAL DEFAULT\s+[0-9]+ bar' out/test/elf/x86_64/export-dynamic/log +115: + readelf --dyn-syms out/test/elf/x86_64/exclude-libs2/d.so +119: + grep -Eq 'NOTYPE\s+GLOBAL DEFAULT\s+[0-9]+ _start' out/test/elf/x86_64/export-dynamic/log +115: + grep -Fq foo out/test/elf/x86_64/exclude-libs2/log +119: + on_exit +119: + echo OK +119: OK +119: + exit 0 +114/369 Test #119: x86_64-export-dynamic ............................ Passed 0.52 sec +test 126 + Start 126: x86_64-gdb-index-compress-output + +126: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/gdb-index-compress-output.sh" +126: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +126: Environment variables: +126: MACHINE=x86_64 +126: CPU= +126: Test timeout computed to be: 1500 +115: + on_exit +115: + echo OK +115: OK +115: + exit 0 +115/369 Test #115: x86_64-exclude-libs2 ............................. Passed 0.69 sec +test 127 + Start 127: x86_64-gdb-index-dwarf2 + +127: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/gdb-index-dwarf2.sh" +127: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +127: Environment variables: +127: MACHINE=x86_64 +127: CPU= +127: Test timeout computed to be: 1500 126: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/gdb-index-compress-output.sh -123: + cc -o out/test/elf/x86_64/filter/a.o -c -x assembler - -123: + cat 126: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 126: ++ export LC_ALL=C 126: ++ LC_ALL=C @@ -7853,58 +7909,84 @@ 126: ++ tlsdesc_opt=-mtls-dialect=gnu2 126: ++ trap 'on_error $LINENO' ERR 126: ++ trap on_exit EXIT -124: ++ testname=func-addr -124: ++ echo -n 'Testing func-addr ... ' -124: Testing func-addr ... ++ t=out/test/elf/x86_64/func-addr -124: ++ mkdir -p out/test/elf/x86_64/func-addr -125: + cat -123: + ./mold -o out/test/elf/x86_64/filter/b.so out/test/elf/x86_64/filter/a.o --filter foo -F bar -shared -112: + c++ -o out/test/elf/x86_64/exception-multiple-ehframe/b.o -c -xc++ - -112: + cat +127: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/gdb-index-dwarf2.sh 126: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/gdb-index-compress-output.sh .sh -125: + c++ -B. -o out/test/elf/x86_64/gc-sections/exe1 out/test/elf/x86_64/gc-sections/a.cc -ffunction-sections -fdata-sections +127: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc +127: ++ export LC_ALL=C +127: ++ LC_ALL=C +127: ++ '[' -z x86_64 ']' +127: ++ '[' -z '' ']' +127: ++ TESTDIR=out/test/elf/x86_64 +127: ++ CC=cc +127: ++ CXX=c++ +127: ++ GCC=gcc +127: ++ GXX=g++ +127: ++ OBJDUMP=objdump +127: ++ OBJCOPY=objcopy +127: ++ STRIP=strip +127: ++ QEMU= +127: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' +127: ++ tlsdesc_opt=-mtls-dialect=gnu2 +127: ++ trap 'on_error $LINENO' ERR +127: ++ trap on_exit EXIT 126: ++ testname=gdb-index-compress-output 126: ++ echo -n 'Testing gdb-index-compress-output ... ' 126: Testing gdb-index-compress-output ... ++ t=out/test/elf/x86_64/gdb-index-compress-output 126: ++ mkdir -p out/test/elf/x86_64/gdb-index-compress-output -113: + c++ -B. -o out/test/elf/x86_64/exception/exe1 out/test/elf/x86_64/exception/b.o -static -pthread -124: + cat -124: + cc -shared -o out/test/elf/x86_64/func-addr/a.so -xc - +127: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/gdb-index-dwarf2.sh .sh +127: ++ testname=gdb-index-dwarf2 +127: ++ echo -n 'Testing gdb-index-dwarf2 ... ' +127: Testing gdb-index-dwarf2 ... ++ t=out/test/elf/x86_64/gdb-index-dwarf2 +127: ++ mkdir -p out/test/elf/x86_64/gdb-index-dwarf2 126: + on_qemu 126: + '[' '' '!=' '' ']' 126: + grep -qw qemu /proc/cpuinfo +127: + on_qemu +127: + '[' '' '!=' '' ']' +127: + grep -qw qemu /proc/cpuinfo 126: + '[' x86_64 = riscv64 -o x86_64 = riscv32 -o x86_64 = sparc64 ']' 126: + command -v gdb 126: + cat 126: + cc -c -o out/test/elf/x86_64/gdb-index-compress-output/a.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -ffunction-sections -123: + readelf --dynamic out/test/elf/x86_64/filter/b.so -117: + readelf --segments -W out/test/elf/x86_64/execstack/exe -120: + 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 -117: + grep -q 'GNU_STACK.* RW ' -123: + grep -Fq 'Filter library: [foo]' out/test/elf/x86_64/filter/log -123: + grep -Fq 'Filter library: [bar]' out/test/elf/x86_64/filter/log -117: + on_exit -117: + echo OK -117: OK -117: + exit 0 -115/369 Test #117: x86_64-execstack ................................. Passed 0.19 sec -test 127 - Start 127: x86_64-gdb-index-dwarf2 - -127: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/gdb-index-dwarf2.sh" -127: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -127: Environment variables: -127: MACHINE=x86_64 -127: CPU= -127: Test timeout computed to be: 1500 -123: + on_exit -123: + echo OK -123: OK -123: + exit 0 +127: + '[' x86_64 = riscv64 -o x86_64 = riscv32 -o x86_64 = sparc64 ']' +127: + command -v gdb +127: + echo 'int main() {}' +127: + cc -o /dev/null -xc -gdwarf-2 -g - +114: + rm -f out/test/elf/x86_64/exclude-libs/d.a +112: + ./mold -r -o out/test/elf/x86_64/exception-multiple-ehframe/c.o out/test/elf/x86_64/exception-multiple-ehframe/a.o out/test/elf/x86_64/exception-multiple-ehframe/b.o +114: + ar crs out/test/elf/x86_64/exclude-libs/d.a out/test/elf/x86_64/exclude-libs/b.o +114: + cc -fPIC -xc -c -o out/test/elf/x86_64/exclude-libs/e.o - 121: + 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 -114: + readelf --dyn-syms out/test/elf/x86_64/exclude-libs/f.so -112: + perl -i -0777 -pe 's/\.eh_frame/.EH_FRAME/g' out/test/elf/x86_64/exception-multiple-ehframe/a.o -116/369 Test #123: x86_64-filter .................................... Passed 0.05 sec +114: + cat +113: + c++ -B. -o out/test/elf/x86_64/exception/exe1 out/test/elf/x86_64/exception/b.o -static -pthread +106: + 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 +116: + 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 +126: + 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 +112: + perl -i -0777 -pe 's/\.EH_FRAME/.eh_frame/g' out/test/elf/x86_64/exception-multiple-ehframe/c.o +112: + cat +112: + c++ -o out/test/elf/x86_64/exception-multiple-ehframe/d.o -c -xc++ - +120: + 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 +124: + cat +124: + cc -o out/test/elf/x86_64/func-addr/b.o -c -xc -fno-PIC - +127: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf2/a.o -fPIC -g -ggnu-pubnames -gdwarf-2 -xc - -ffunction-sections +127: + cat +116: + readelf --dyn-syms out/test/elf/x86_64/exclude-libs3/d.so +121: + 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 +126: + readelf -WS out/test/elf/x86_64/gdb-index-compress-output/b.so +126: + grep -Fq .gdb_index +114: + 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 +126: + cat +126: + cc -c -o out/test/elf/x86_64/gdb-index-compress-output/c.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -gz +116: + grep -Fq foo out/test/elf/x86_64/exclude-libs3/log +122: + cat +122: + cc -o out/test/elf/x86_64/filler/a.o -c -xc - +116: + on_exit +116: + echo OK +116: OK +116: + exit 0 +112: + c++ -B. -o out/test/elf/x86_64/exception-multiple-ehframe/exe1 out/test/elf/x86_64/exception-multiple-ehframe/d.o out/test/elf/x86_64/exception-multiple-ehframe/c.o +125: + readelf --symbols out/test/elf/x86_64/gc-sections/exe1 +116/369 Test #116: x86_64-exclude-libs3 ............................. Passed 0.84 sec test 128 Start 128: x86_64-gdb-index-dwarf3 @@ -7914,29 +7996,28 @@ 128: MACHINE=x86_64 128: CPU= 128: Test timeout computed to be: 1500 -112: + ./mold -r -o out/test/elf/x86_64/exception-multiple-ehframe/c.o out/test/elf/x86_64/exception-multiple-ehframe/a.o out/test/elf/x86_64/exception-multiple-ehframe/b.o -127: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/gdb-index-dwarf2.sh -127: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc -127: ++ export LC_ALL=C -127: ++ LC_ALL=C -127: ++ '[' -z x86_64 ']' -127: ++ '[' -z '' ']' -114: + grep -Fq foo out/test/elf/x86_64/exclude-libs/log -127: ++ TESTDIR=out/test/elf/x86_64 -127: ++ CC=cc -127: ++ CXX=c++ -114: + grep -Fq bar out/test/elf/x86_64/exclude-libs/log -127: ++ GCC=gcc -127: ++ GXX=g++ -127: ++ OBJDUMP=objdump -127: ++ OBJCOPY=objcopy -127: ++ STRIP=strip -127: ++ QEMU= -127: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' -127: ++ tlsdesc_opt=-mtls-dialect=gnu2 -127: ++ trap 'on_error $LINENO' ERR -127: ++ trap on_exit EXIT -127: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/gdb-index-dwarf2.sh .sh +125: + grep -qv live_fn1 out/test/elf/x86_64/gc-sections/log.1 +106: + grep -q 'Hello world' +106: + out/test/elf/x86_64/emit-relocs-dead-sections/exe +106: + on_exit +106: + echo OK +106: OK +106: + exit 0 +120: + readelf --dyn-syms out/test/elf/x86_64/export-from-exe/exe +120: + grep -q expfn2 +117/369 Test #106: x86_64-emit-relocs-dead-sections ................. Passed 1.32 sec +test 129 + Start 129: x86_64-gdb-index-dwarf4 + +129: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/gdb-index-dwarf4.sh" +129: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +129: Environment variables: +129: MACHINE=x86_64 +129: CPU= +129: Test timeout computed to be: 1500 +125: + grep -qv live_fn2 out/test/elf/x86_64/gc-sections/log.1 +120: + readelf --dyn-syms out/test/elf/x86_64/export-from-exe/exe +120: + grep -q expfn1 128: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/gdb-index-dwarf3.sh 128: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 128: ++ export LC_ALL=C @@ -7957,68 +8038,55 @@ 128: ++ trap 'on_error $LINENO' ERR 128: ++ trap on_exit EXIT 128: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/gdb-index-dwarf3.sh .sh -114: + grep -Fq baz out/test/elf/x86_64/exclude-libs/log -127: ++ testname=gdb-index-dwarf2 -127: ++ echo -n 'Testing gdb-index-dwarf2 ... ' -127: Testing gdb-index-dwarf2 ... ++ t=out/test/elf/x86_64/gdb-index-dwarf2 -127: ++ mkdir -p out/test/elf/x86_64/gdb-index-dwarf2 -127: + on_qemu -127: + '[' '' '!=' '' ']' -127: + grep -qw qemu /proc/cpuinfo -114: + 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 -127: + '[' x86_64 = riscv64 -o x86_64 = riscv32 -o x86_64 = sparc64 ']' -127: + command -v gdb 128: ++ testname=gdb-index-dwarf3 128: ++ echo -n 'Testing gdb-index-dwarf3 ... ' 128: Testing gdb-index-dwarf3 ... ++ t=out/test/elf/x86_64/gdb-index-dwarf3 128: ++ mkdir -p out/test/elf/x86_64/gdb-index-dwarf3 -127: + echo 'int main() {}' -112: + perl -i -0777 -pe 's/\.EH_FRAME/.eh_frame/g' out/test/elf/x86_64/exception-multiple-ehframe/c.o -127: + cc -o /dev/null -xc -gdwarf-2 -g - 128: + on_qemu 128: + '[' '' '!=' '' ']' 128: + grep -qw qemu /proc/cpuinfo -112: + cat -112: + c++ -o out/test/elf/x86_64/exception-multiple-ehframe/d.o -c -xc++ - 128: + '[' x86_64 = riscv64 -o x86_64 = riscv32 -o x86_64 = sparc64 ']' 128: + command -v gdb 128: + test_cflags -gdwarf-3 -128: + echo 'int main() {}' -128: + cc -gdwarf-3 -o /dev/null -xc - -122: + cat -121: + 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 -124: + cat -124: + cc -o out/test/elf/x86_64/func-addr/b.o -c -xc -fno-PIC - -122: + cc -o out/test/elf/x86_64/filler/a.o -c -xc - -120: + grep -q expfn2 -120: + readelf --dyn-syms out/test/elf/x86_64/export-from-exe/exe -126: + 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: + readelf --dyn-syms out/test/elf/x86_64/exclude-libs/f.so -120: + grep -q expfn1 -120: + readelf --dyn-syms out/test/elf/x86_64/export-from-exe/exe -114: + grep -Fq foo out/test/elf/x86_64/exclude-libs/log -114: + grep -Fq bar out/test/elf/x86_64/exclude-libs/log +121: + on_exit +121: + echo OK +121: OK +121: + exit 0 +124: + 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 +118/369 Test #121: x86_64-fatal-warnings ............................ Passed 0.75 sec +test 130 + Start 130: x86_64-gdb-index-dwarf5 + +130: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/gdb-index-dwarf5.sh" +130: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +130: Environment variables: +130: MACHINE=x86_64 +130: CPU= +130: Test timeout computed to be: 1500 +125: + grep -qv dead_fn1 out/test/elf/x86_64/gc-sections/log.1 +125: + grep -qv dead_fn2 out/test/elf/x86_64/gc-sections/log.1 120: + on_exit 120: + echo OK 120: OK 120: + exit 0 -117/369 Test #120: x86_64-export-from-exe ........................... Passed 0.19 sec -test 129 - Start 129: x86_64-gdb-index-dwarf4 - -129: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/gdb-index-dwarf4.sh" -129: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -129: Environment variables: -129: MACHINE=x86_64 -129: CPU= -129: Test timeout computed to be: 1500 -125: + readelf --symbols out/test/elf/x86_64/gc-sections/exe1 -125: + grep -qv live_fn1 out/test/elf/x86_64/gc-sections/log.1 +128: + cc -gdwarf-3 -o /dev/null -xc - +128: + echo 'int main() {}' 113: + out/test/elf/x86_64/exception/exe1 113: + c++ -B. -o out/test/elf/x86_64/exception/exe2 out/test/elf/x86_64/exception/c.o -no-pie -static -pthread -114: + grep -Fq baz out/test/elf/x86_64/exclude-libs/log -114: + 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 +127: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf2/b.o -fPIC -g -ggnu-pubnames -gdwarf-2 -xc - -ffunction-sections +127: + cat 129: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/gdb-index-dwarf4.sh +119/369 Test #120: x86_64-export-from-exe ........................... Passed 0.80 sec +test 131 + Start 131: x86_64-gdb-index-dwarf64 + +131: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/gdb-index-dwarf64.sh" +131: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +131: Environment variables: +131: MACHINE=x86_64 +131: CPU= +131: Test timeout computed to be: 1500 +125: + grep -qv live_var1 out/test/elf/x86_64/gc-sections/log.1 129: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 129: ++ export LC_ALL=C 129: ++ LC_ALL=C @@ -8038,52 +8106,7 @@ 129: ++ trap 'on_error $LINENO' ERR 129: ++ trap on_exit EXIT 129: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/gdb-index-dwarf4.sh .sh -125: + grep -qv live_fn2 out/test/elf/x86_64/gc-sections/log.1 -125: + grep -qv dead_fn1 out/test/elf/x86_64/gc-sections/log.1 -125: + grep -qv dead_fn2 out/test/elf/x86_64/gc-sections/log.1 -129: ++ testname=gdb-index-dwarf4 -129: ++ echo -n 'Testing gdb-index-dwarf4 ... ' -129: Testing gdb-index-dwarf4 ... ++ t=out/test/elf/x86_64/gdb-index-dwarf4 -129: ++ mkdir -p out/test/elf/x86_64/gdb-index-dwarf4 -129: + on_qemu -129: + '[' '' '!=' '' ']' -129: + grep -qw qemu /proc/cpuinfo -125: + grep -qv live_var1 out/test/elf/x86_64/gc-sections/log.1 -122: + cc -B. -static -Wl,--filler,0xfe -o out/test/elf/x86_64/filler/exe1 out/test/elf/x86_64/filler/a.o -129: + '[' x86_64 = riscv64 -o x86_64 = riscv32 -o x86_64 = sparc64 ']' -129: + command -v gdb -121: + on_exit -129: + test_cflags -gdwarf-4 -g -121: + echo OK -121: OK -121: + exit 0 -129: + cc -gdwarf-4 -g -o /dev/null -xc - -129: + echo 'int main() {}' -118/369 Test #121: x86_64-fatal-warnings ............................ Passed 0.20 sec -test 130 - Start 130: x86_64-gdb-index-dwarf5 - -130: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/gdb-index-dwarf5.sh" -130: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -130: Environment variables: -130: MACHINE=x86_64 -130: CPU= -130: Test timeout computed to be: 1500 -125: + grep -qv live_var2 out/test/elf/x86_64/gc-sections/log.1 -125: + grep -qv dead_var1 out/test/elf/x86_64/gc-sections/log.1 -125: + grep -qv dead_var2 out/test/elf/x86_64/gc-sections/log.1 -125: + out/test/elf/x86_64/gc-sections/exe1 -112: + c++ -B. -o out/test/elf/x86_64/exception-multiple-ehframe/exe1 out/test/elf/x86_64/exception-multiple-ehframe/d.o out/test/elf/x86_64/exception-multiple-ehframe/c.o -125: + grep -q '1 2' -126: + readelf -WS out/test/elf/x86_64/gdb-index-compress-output/b.so -125: + 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 -126: + grep -Fq .gdb_index -126: + cat -126: + cc -c -o out/test/elf/x86_64/gdb-index-compress-output/c.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -gz -127: + cat 130: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/gdb-index-dwarf5.sh -127: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf2/a.o -fPIC -g -ggnu-pubnames -gdwarf-2 -xc - -ffunction-sections -124: + 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 130: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 130: ++ export LC_ALL=C 130: ++ LC_ALL=C @@ -8102,59 +8125,28 @@ 130: ++ tlsdesc_opt=-mtls-dialect=gnu2 130: ++ trap 'on_error $LINENO' ERR 130: ++ trap on_exit EXIT +125: + grep -qv live_var2 out/test/elf/x86_64/gc-sections/log.1 130: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/gdb-index-dwarf5.sh .sh +129: ++ testname=gdb-index-dwarf4 +129: ++ echo -n 'Testing gdb-index-dwarf4 ... ' +129: Testing gdb-index-dwarf4 ... ++ t=out/test/elf/x86_64/gdb-index-dwarf4 +129: ++ mkdir -p out/test/elf/x86_64/gdb-index-dwarf4 +125: + grep -qv dead_var1 out/test/elf/x86_64/gc-sections/log.1 130: ++ testname=gdb-index-dwarf5 130: ++ echo -n 'Testing gdb-index-dwarf5 ... ' 130: Testing gdb-index-dwarf5 ... ++ t=out/test/elf/x86_64/gdb-index-dwarf5 130: ++ mkdir -p out/test/elf/x86_64/gdb-index-dwarf5 +125: + grep -qv dead_var2 out/test/elf/x86_64/gc-sections/log.1 +125: + out/test/elf/x86_64/gc-sections/exe1 +125: + grep -q '1 2' +125: + 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 +131: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/gdb-index-dwarf64.sh +129: + on_qemu +129: + '[' '' '!=' '' ']' +129: + grep -qw qemu /proc/cpuinfo 130: + on_qemu 130: + '[' '' '!=' '' ']' 130: + grep -qw qemu /proc/cpuinfo -130: + '[' x86_64 = riscv64 -o x86_64 = riscv32 -o x86_64 = sparc64 ']' -130: + command -v gdb -130: + test_cflags -gdwarf-5 -g -130: + echo 'int main() {}' -130: + cc -gdwarf-5 -g -o /dev/null -xc - -128: + cat -128: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf3/a.o -fPIC -g -ggnu-pubnames -gdwarf-3 -xc - -ffunction-sections -114: + readelf --dyn-syms out/test/elf/x86_64/exclude-libs/f.so -114: + grep -Fq foo out/test/elf/x86_64/exclude-libs/log -126: + 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 -114: + grep -Fq bar out/test/elf/x86_64/exclude-libs/log -114: + grep -Fq baz out/test/elf/x86_64/exclude-libs/log -114: + on_exit -114: + echo OK -114: OK -114: + exit 0 -119/369 Test #114: x86_64-exclude-libs .............................. Passed 0.42 sec -test 131 - Start 131: x86_64-gdb-index-dwarf64 - -131: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/gdb-index-dwarf64.sh" -131: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -131: Environment variables: -131: MACHINE=x86_64 -131: CPU= -131: Test timeout computed to be: 1500 -127: + cat -127: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf2/b.o -fPIC -g -ggnu-pubnames -gdwarf-2 -xc - -ffunction-sections -124: + grep -q 1 -124: + out/test/elf/x86_64/func-addr/exe -131: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/gdb-index-dwarf64.sh -124: + on_exit -124: + echo OK -124: OK -124: + exit 0 -120/369 Test #124: x86_64-func-addr ................................. Passed 0.21 sec -test 132 - Start 132: x86_64-gdb-index-empty - -132: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/gdb-index-empty.sh" -132: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -132: Environment variables: -132: MACHINE=x86_64 -132: CPU= -132: Test timeout computed to be: 1500 131: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 131: ++ export LC_ALL=C 131: ++ LC_ALL=C @@ -8178,10 +8170,47 @@ 131: ++ echo -n 'Testing gdb-index-dwarf64 ... ' 131: Testing gdb-index-dwarf64 ... ++ t=out/test/elf/x86_64/gdb-index-dwarf64 131: ++ mkdir -p out/test/elf/x86_64/gdb-index-dwarf64 -128: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf3/b.o -fPIC -g -ggnu-pubnames -gdwarf-3 -xc - -ffunction-sections -128: + cat -112: + out/test/elf/x86_64/exception-multiple-ehframe/exe1 +129: + '[' x86_64 = riscv64 -o x86_64 = riscv32 -o x86_64 = sparc64 ']' +129: + command -v gdb +129: + test_cflags -gdwarf-4 -g +129: + cc -gdwarf-4 -g -o /dev/null -xc - 112: + grep -q '^1 3$' +112: + out/test/elf/x86_64/exception-multiple-ehframe/exe1 +129: + echo 'int main() {}' +131: + on_qemu +131: + '[' '' '!=' '' ']' +131: + grep -qw qemu /proc/cpuinfo +131: + '[' x86_64 = riscv64 -o x86_64 = riscv32 -o x86_64 = sparc64 ']' +131: + command -v gdb +131: + test_cflags -gdwarf-5 -g -gdwarf64 +131: + cc -gdwarf-5 -g -gdwarf64 -o /dev/null -xc - +131: + echo 'int main() {}' +126: + 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 +130: + '[' x86_64 = riscv64 -o x86_64 = riscv32 -o x86_64 = sparc64 ']' +130: + command -v gdb +130: + test_cflags -gdwarf-5 -g +130: + echo 'int main() {}' +130: + cc -gdwarf-5 -g -o /dev/null -xc - +122: + cc -B. -static -Wl,--filler,0xfe -o out/test/elf/x86_64/filler/exe1 out/test/elf/x86_64/filler/a.o +112: + on_exit +112: + echo OK +112: OK +112: + exit 0 +114: + readelf --dyn-syms out/test/elf/x86_64/exclude-libs/f.so +120/369 Test #112: x86_64-exception-multiple-ehframe ................ Passed 1.12 sec +test 132 + Start 132: x86_64-gdb-index-empty + +132: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/gdb-index-empty.sh" +132: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +132: Environment variables: +132: MACHINE=x86_64 +132: CPU= +132: Test timeout computed to be: 1500 +114: + grep -Fq foo out/test/elf/x86_64/exclude-libs/log +114: + grep -Fq bar out/test/elf/x86_64/exclude-libs/log +114: + grep -Fq baz out/test/elf/x86_64/exclude-libs/log +114: + 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 132: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/gdb-index-empty.sh 132: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 132: ++ export LC_ALL=C @@ -8206,15 +8235,18 @@ 132: ++ echo -n 'Testing gdb-index-empty ... ' 132: Testing gdb-index-empty ... ++ t=out/test/elf/x86_64/gdb-index-empty 132: ++ mkdir -p out/test/elf/x86_64/gdb-index-empty +113: + out/test/elf/x86_64/exception/exe2 +113: + c++ -B. -o out/test/elf/x86_64/exception/exe3 out/test/elf/x86_64/exception/b.o -pie +127: + 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 +132: + cc -c -o out/test/elf/x86_64/gdb-index-empty/a.o -xc - +124: + grep -q 1 +124: + out/test/elf/x86_64/func-addr/exe 132: + echo 'void _start() {}' -112: + on_exit -112: + echo OK -112: OK -112: + exit 0 -131: + on_qemu -131: + '[' '' '!=' '' ']' -131: + grep -qw qemu /proc/cpuinfo -121/369 Test #112: x86_64-exception-multiple-ehframe ................ Passed 0.47 sec +124: + on_exit +124: + echo OK +124: OK +124: + exit 0 +121/369 Test #124: x86_64-func-addr ................................. Passed 0.78 sec test 133 Start 133: x86_64-gdb-index-split-dwarf @@ -8224,24 +8256,8 @@ 133: MACHINE=x86_64 133: CPU= 133: Test timeout computed to be: 1500 -131: + '[' x86_64 = riscv64 -o x86_64 = riscv32 -o x86_64 = sparc64 ']' -131: + command -v gdb -131: + test_cflags -gdwarf-5 -g -gdwarf64 -131: + echo 'int main() {}' -131: + cc -gdwarf-5 -g -gdwarf64 -o /dev/null -xc - -129: + cat -129: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf4/a.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -ffunction-sections -132: + cc -c -o out/test/elf/x86_64/gdb-index-empty/a.o -xc - -113: + out/test/elf/x86_64/exception/exe2 -122: + sed -i -e 's/--filler 0xfe/--filler 0x00/' out/test/elf/x86_64/filler/exe1 -113: + c++ -B. -o out/test/elf/x86_64/exception/exe3 out/test/elf/x86_64/exception/b.o -pie -122: + od -x out/test/elf/x86_64/filler/exe1 -127: + 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 133: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/gdb-index-split-dwarf.sh -126: + readelf -WS out/test/elf/x86_64/gdb-index-compress-output/exe -126: + grep -Fq .gdb_index 133: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc -126: + out/test/elf/x86_64/gdb-index-compress-output/exe 133: ++ export LC_ALL=C 133: ++ LC_ALL=C 133: ++ '[' -z x86_64 ']' @@ -8259,50 +8275,63 @@ 133: ++ tlsdesc_opt=-mtls-dialect=gnu2 133: ++ trap 'on_error $LINENO' ERR 133: ++ trap on_exit EXIT -126: + grep -q 'Hello world' 133: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/gdb-index-split-dwarf.sh .sh -126: + DEBUGINFOD_URLS= -126: + 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 +126: + grep -Fq .gdb_index 133: ++ testname=gdb-index-split-dwarf 133: ++ echo -n 'Testing gdb-index-split-dwarf ... ' 133: Testing gdb-index-split-dwarf ... ++ t=out/test/elf/x86_64/gdb-index-split-dwarf 133: ++ mkdir -p out/test/elf/x86_64/gdb-index-split-dwarf +126: + readelf -WS out/test/elf/x86_64/gdb-index-compress-output/exe +122: + sed -i -e 's/--filler 0xfe/--filler 0x00/' out/test/elf/x86_64/filler/exe1 +126: + out/test/elf/x86_64/gdb-index-compress-output/exe +126: + grep -q 'Hello world' 133: + on_qemu 133: + '[' '' '!=' '' ']' 133: + grep -qw qemu /proc/cpuinfo -128: + 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 -125: + readelf --symbols out/test/elf/x86_64/gc-sections/exe2 +126: + DEBUGINFOD_URLS= +126: + 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 133: + '[' x86_64 = riscv64 -o x86_64 = riscv32 -o x86_64 = sparc64 ']' 133: + command -v gdb 133: + test_cflags -gdwarf-5 -g +133: + echo 'int main() {}' 133: + cc -gdwarf-5 -g -o /dev/null -xc - +122: + od -x out/test/elf/x86_64/filler/exe1 +114: + readelf --dyn-syms out/test/elf/x86_64/exclude-libs/f.so +127: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf2/c.so +113: + out/test/elf/x86_64/exception/exe3 +128: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf3/a.o -fPIC -g -ggnu-pubnames -gdwarf-3 -xc - -ffunction-sections +128: + cat +127: + grep -Fq .gdb_index +113: + c++ -B. -o out/test/elf/x86_64/exception/exe4 out/test/elf/x86_64/exception/c.o -no-pie +127: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf2/d.o -fPIC -g -ggnu-pubnames -gdwarf-2 -xc - -gz +127: + cat +132: + ./mold -o out/test/elf/x86_64/gdb-index-empty/exe out/test/elf/x86_64/gdb-index-empty/a.o -gdb-index +125: + readelf --symbols out/test/elf/x86_64/gc-sections/exe2 125: + grep -q live_fn1 out/test/elf/x86_64/gc-sections/log.2 -133: + echo 'int main() {}' 125: + grep -q live_fn2 out/test/elf/x86_64/gc-sections/log.2 -130: + cat 125: + grep -qv dead_fn1 out/test/elf/x86_64/gc-sections/log.2 -130: + cat 125: + grep -qv dead_fn2 out/test/elf/x86_64/gc-sections/log.2 -130: + cat -132: + ./mold -o out/test/elf/x86_64/gdb-index-empty/exe out/test/elf/x86_64/gdb-index-empty/a.o -gdb-index -130: + cat +131: + cat 125: + grep -q live_var1 out/test/elf/x86_64/gc-sections/log.2 -130: + 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 -128: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf3/c.so -128: + grep -Fq .gdb_index +130: + cat +131: + cat 132: + readelf -WS out/test/elf/x86_64/gdb-index-empty/exe +131: + cat +129: + cat 125: + grep -q live_var2 out/test/elf/x86_64/gc-sections/log.2 +130: + cat +129: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf4/a.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -ffunction-sections +131: + cat 132: + grep -Fq .gdb_index out/test/elf/x86_64/gdb-index-empty/log -128: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf3/d.o -fPIC -g -ggnu-pubnames -gdwarf-3 -xc - -gz -129: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf4/b.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -ffunction-sections -128: + cat -129: + cat +130: + cat +125: + grep -qv dead_var1 out/test/elf/x86_64/gc-sections/log.2 +131: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf64/a.o out/test/elf/x86_64/gdb-index-dwarf64/a.c -fPIC -g -ggnu-pubnames -gdwarf-5 -gdwarf64 -ffunction-sections 132: + on_exit 132: + echo OK 132: OK 132: + exit 0 -125: + grep -qv dead_var1 out/test/elf/x86_64/gc-sections/log.2 -122/369 Test #132: x86_64-gdb-index-empty ........................... Passed 0.09 sec +130: + cat +122/369 Test #132: x86_64-gdb-index-empty ........................... Passed 0.18 sec test 134 Start 134: x86_64-glibc-2.22-bug @@ -8312,15 +8341,15 @@ 134: MACHINE=x86_64 134: CPU= 134: Test timeout computed to be: 1500 +130: + 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 125: + grep -qv dead_var2 out/test/elf/x86_64/gc-sections/log.2 -125: + out/test/elf/x86_64/gc-sections/exe2 125: + grep -q '1 2' -134: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/glibc-2.22-bug.sh +125: + out/test/elf/x86_64/gc-sections/exe2 125: + on_exit 125: + echo OK 125: OK 125: + exit 0 -123/369 Test #125: x86_64-gc-sections ............................... Passed 0.30 sec +123/369 Test #125: x86_64-gc-sections ............................... Passed 0.89 sec test 135 Start 135: x86_64-global-offset-table @@ -8330,37 +8359,10 @@ 135: MACHINE=x86_64 135: CPU= 135: Test timeout computed to be: 1500 -134: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc -134: ++ export LC_ALL=C -134: ++ LC_ALL=C -134: ++ '[' -z x86_64 ']' -134: ++ '[' -z '' ']' -134: ++ TESTDIR=out/test/elf/x86_64 -134: ++ CC=cc -134: ++ CXX=c++ -134: ++ GCC=gcc -134: ++ GXX=g++ -134: ++ OBJDUMP=objdump -134: ++ OBJCOPY=objcopy -134: ++ STRIP=strip -134: ++ QEMU= -134: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' -134: ++ tlsdesc_opt=-mtls-dialect=gnu2 -134: ++ trap 'on_error $LINENO' ERR -134: ++ trap on_exit EXIT -134: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/glibc-2.22-bug.sh .sh -134: ++ testname=glibc-2.22-bug -127: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf2/c.so -127: + grep -Fq .gdb_index -134: ++ echo -n 'Testing glibc-2.22-bug ... ' -134: Testing glibc-2.22-bug ... ++ t=out/test/elf/x86_64/glibc-2.22-bug -134: ++ mkdir -p out/test/elf/x86_64/glibc-2.22-bug -113: + out/test/elf/x86_64/exception/exe3 135: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/global-offset-table.sh 135: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 135: ++ export LC_ALL=C 135: ++ LC_ALL=C -134: + '[' x86_64 = alpha ']' 135: ++ '[' -z x86_64 ']' 135: ++ '[' -z '' ']' 135: ++ TESTDIR=out/test/elf/x86_64 @@ -8376,65 +8378,80 @@ 135: ++ tlsdesc_opt=-mtls-dialect=gnu2 135: ++ trap 'on_error $LINENO' ERR 135: ++ trap on_exit EXIT -134: + cat -113: + c++ -B. -o out/test/elf/x86_64/exception/exe4 out/test/elf/x86_64/exception/c.o -no-pie 135: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/global-offset-table.sh .sh -127: + cat -127: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf2/d.o -fPIC -g -ggnu-pubnames -gdwarf-2 -xc - -gz +134: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/glibc-2.22-bug.sh +134: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc +134: ++ export LC_ALL=C +134: ++ LC_ALL=C +134: ++ '[' -z x86_64 ']' +134: ++ '[' -z '' ']' +134: ++ TESTDIR=out/test/elf/x86_64 +134: ++ CC=cc +134: ++ CXX=c++ +134: ++ GCC=gcc +134: ++ GXX=g++ +134: ++ OBJDUMP=objdump +134: ++ OBJCOPY=objcopy +134: ++ STRIP=strip +134: ++ QEMU= +134: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' +134: ++ tlsdesc_opt=-mtls-dialect=gnu2 +134: ++ trap 'on_error $LINENO' ERR +134: ++ trap on_exit EXIT +134: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/glibc-2.22-bug.sh .sh 135: ++ testname=global-offset-table 135: ++ echo -n 'Testing global-offset-table ... ' 135: Testing global-offset-table ... ++ t=out/test/elf/x86_64/global-offset-table 135: ++ mkdir -p out/test/elf/x86_64/global-offset-table +134: ++ testname=glibc-2.22-bug +134: ++ echo -n 'Testing glibc-2.22-bug ... ' +134: Testing glibc-2.22-bug ... ++ t=out/test/elf/x86_64/glibc-2.22-bug +134: ++ mkdir -p out/test/elf/x86_64/glibc-2.22-bug 135: + '[' x86_64 = ppc64le ']' -134: + cc -o out/test/elf/x86_64/glibc-2.22-bug/a.o -fPIC -c -xc - -131: + cat -131: + cat 135: + cat 135: + cc -fPIC -c -o out/test/elf/x86_64/global-offset-table/a.o -xc - -131: + cat -131: + cat -131: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf64/a.o out/test/elf/x86_64/gdb-index-dwarf64/a.c -fPIC -g -ggnu-pubnames -gdwarf-5 -gdwarf64 -ffunction-sections -130: + 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 -129: + 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 -128: + 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 -127: + 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 -134: + 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 113: + out/test/elf/x86_64/exception/exe4 -106: + cat -106: + c++ -o out/test/elf/x86_64/emit-relocs-dead-sections/b.o -c -fPIC -xc++ -g -ffunction-sections - -131: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf64/b.o out/test/elf/x86_64/gdb-index-dwarf64/b.c -fPIC -g -ggnu-pubnames -gdwarf-4 -gdwarf64 -ffunction-sections -122: + cc -B. -static -Wl,--filler,0x00 -o out/test/elf/x86_64/filler/exe2 out/test/elf/x86_64/filler/a.o -133: + cat +134: + '[' x86_64 = alpha ']' +134: + cat +134: + cc -o out/test/elf/x86_64/glibc-2.22-bug/a.o -fPIC -c -xc - 113: + c++ -B. -o out/test/elf/x86_64/exception/exe5 out/test/elf/x86_64/exception/b.o -pie -Wl,--gc-sections +114: + grep -Fq foo out/test/elf/x86_64/exclude-libs/log +122: + cc -B. -static -Wl,--filler,0x00 -o out/test/elf/x86_64/filler/exe2 out/test/elf/x86_64/filler/a.o +114: + grep -Fq bar out/test/elf/x86_64/exclude-libs/log +131: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf64/b.o out/test/elf/x86_64/gdb-index-dwarf64/b.c -fPIC -g -ggnu-pubnames -gdwarf-4 -gdwarf64 -ffunction-sections +114: + grep -Fq baz out/test/elf/x86_64/exclude-libs/log +128: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf3/b.o -fPIC -g -ggnu-pubnames -gdwarf-3 -xc - -ffunction-sections +128: + cat +127: + 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 +113: + out/test/elf/x86_64/exception/exe5 +130: + 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 +129: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf4/b.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -ffunction-sections +114: + 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 +129: + cat +113: + c++ -B. -o out/test/elf/x86_64/exception/exe6 out/test/elf/x86_64/exception/c.o -no-pie -static -pthread -Wl,--gc-sections 135: + 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_ -133: + cat -133: + cat -133: + cat -130: + 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 -133: + 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 -129: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf4/c.so -129: + grep -Fq .gdb_index -128: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf3/exe -128: + grep -Fq .gdb_index -127: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf2/exe +114: + readelf --dyn-syms out/test/elf/x86_64/exclude-libs/f.so 127: + grep -Fq .gdb_index -129: + cat -129: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf4/d.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -gz -134: + readelf -W --sections out/test/elf/x86_64/glibc-2.22-bug/b.so -128: + out/test/elf/x86_64/gdb-index-dwarf3/exe -134: + grep -E -A1 '\.rela?\.dyn' -131: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf64/c.o out/test/elf/x86_64/gdb-index-dwarf64/c.c -fPIC -g -ggnu-pubnames -gdwarf-5 -gdwarf64 -128: + grep -q 'Hello world' -134: + grep -Eq '\.rela?\.plt' -128: + DEBUGINFOD_URLS= -128: + 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 +127: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf2/exe 127: + grep -q 'Hello world' 127: + out/test/elf/x86_64/gdb-index-dwarf2/exe -134: + on_exit -134: + echo OK -134: OK -134: + exit 0 -124/369 Test #134: x86_64-glibc-2.22-bug ............................ Passed 0.10 sec +127: + DEBUGINFOD_URLS= +127: + 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 +114: + grep -Fq foo out/test/elf/x86_64/exclude-libs/log +114: + grep -Fq bar out/test/elf/x86_64/exclude-libs/log +131: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf64/c.o out/test/elf/x86_64/gdb-index-dwarf64/c.c -fPIC -g -ggnu-pubnames -gdwarf-5 -gdwarf64 +129: + 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 +114: + grep -Fq baz out/test/elf/x86_64/exclude-libs/log +128: + 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 +114: + 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 +126: + grep -q 'hello () at .*:7' out/test/elf/x86_64/gdb-index-compress-output/log +126: + grep -q 'greet () at .*:11' out/test/elf/x86_64/gdb-index-compress-output/log +126: + grep -q 'main () at .*:4' out/test/elf/x86_64/gdb-index-compress-output/log +126: + on_exit +126: + echo OK +126: OK +126: + exit 0 +124/369 Test #126: x86_64-gdb-index-compress-output ................. Passed 0.85 sec test 136 Start 136: x86_64-gnu-hash @@ -8444,33 +8461,6 @@ 136: MACHINE=x86_64 136: CPU= 136: Test timeout computed to be: 1500 -127: + DEBUGINFOD_URLS= -127: + 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 -135: + out/test/elf/x86_64/global-offset-table/exe -113: + out/test/elf/x86_64/exception/exe5 -135: ++ out/test/elf/x86_64/global-offset-table/exe -130: + 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 -135: + GOT_ADDR=203878 -135: + '[' x86_64 = x86_64 -o x86_64 = i686 ']' -135: + readelf -WS out/test/elf/x86_64/global-offset-table/exe -135: + grep -q '\.got\.plt .*203878 ' -113: + c++ -B. -o out/test/elf/x86_64/exception/exe6 out/test/elf/x86_64/exception/c.o -no-pie -static -pthread -Wl,--gc-sections -135: + on_exit -135: + echo OK -135: OK -135: + exit 0 -125/369 Test #135: x86_64-global-offset-table ....................... Passed 0.11 sec -test 137 - Start 137: x86_64-gnu-unique - -137: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/gnu-unique.sh" -137: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -137: Environment variables: -137: MACHINE=x86_64 -137: CPU= -137: Test timeout computed to be: 1500 -129: + 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 -122: + od -x out/test/elf/x86_64/filler/exe2 136: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/gnu-hash.sh 136: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 136: ++ export LC_ALL=C @@ -8497,6 +8487,52 @@ 136: ++ mkdir -p out/test/elf/x86_64/gnu-hash 136: + cat 136: + cc -c -o out/test/elf/x86_64/gnu-hash/a.o -xc - +130: + 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 +134: + 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 +135: + out/test/elf/x86_64/global-offset-table/exe +122: + od -x out/test/elf/x86_64/filler/exe2 +135: ++ out/test/elf/x86_64/global-offset-table/exe +135: + GOT_ADDR=203878 +135: + '[' x86_64 = x86_64 -o x86_64 = i686 ']' +135: + readelf -WS out/test/elf/x86_64/global-offset-table/exe +135: + grep -q '\.got\.plt .*203878 ' +135: + on_exit +135: + echo OK +135: OK +135: + exit 0 +125/369 Test #135: x86_64-global-offset-table ....................... Passed 0.28 sec +test 137 + Start 137: x86_64-gnu-unique + +137: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/gnu-unique.sh" +137: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +137: Environment variables: +137: MACHINE=x86_64 +137: CPU= +137: Test timeout computed to be: 1500 +113: + out/test/elf/x86_64/exception/exe6 +113: + '[' x86_64 = x86_64 ']' +113: + c++ -c -o out/test/elf/x86_64/exception/d.o out/test/elf/x86_64/exception/a.cc -mcmodel=large -fPIC +133: + cat +134: + grep -Eq '\.rela?\.plt' +134: + readelf -W --sections out/test/elf/x86_64/glibc-2.22-bug/b.so +134: + grep -E -A1 '\.rela?\.dyn' +134: + on_exit +134: + echo OK +134: OK +134: + exit 0 +114: + readelf --dyn-syms out/test/elf/x86_64/exclude-libs/f.so +126/369 Test #134: x86_64-glibc-2.22-bug ............................ Passed 0.34 sec +test 138 + Start 138: x86_64-gnu-warning + +138: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/gnu-warning.sh" +138: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +138: Environment variables: +138: MACHINE=x86_64 +138: CPU= +138: Test timeout computed to be: 1500 +133: + cat 137: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/gnu-unique.sh 137: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 137: ++ export LC_ALL=C @@ -8517,51 +8553,16 @@ 137: ++ trap 'on_error $LINENO' ERR 137: ++ trap on_exit EXIT 137: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/gnu-unique.sh .sh +133: + cat 137: ++ testname=gnu-unique 137: ++ echo -n 'Testing gnu-unique ... ' 137: Testing gnu-unique ... ++ t=out/test/elf/x86_64/gnu-unique 137: ++ mkdir -p out/test/elf/x86_64/gnu-unique +133: + cat +138: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/gnu-warning.sh 137: + command -v g++ -133: + 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 -131: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf64/d.o out/test/elf/x86_64/gdb-index-dwarf64/d.c -fPIC -g -ggnu-pubnames -gdwarf-5 -gdwarf64 -ffunction-sections 137: + cat -137: + g++ -o out/test/elf/x86_64/gnu-unique/a.o -c -std=c++17 -fno-gnu-unique -xc++ - -130: + 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 -129: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf4/exe -129: + grep -Fq .gdb_index -136: + 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 -129: + out/test/elf/x86_64/gdb-index-dwarf4/exe -129: + grep -q 'Hello world' -129: + DEBUGINFOD_URLS= -129: + 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: + out/test/elf/x86_64/exception/exe6 -113: + '[' x86_64 = x86_64 ']' -137: + cat -113: + c++ -c -o out/test/elf/x86_64/exception/d.o out/test/elf/x86_64/exception/a.cc -mcmodel=large -fPIC -133: + 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 -131: + cc -B. -shared -o out/test/elf/x86_64/gdb-index-dwarf64/e.so out/test/elf/x86_64/gdb-index-dwarf64/a.o out/test/elf/x86_64/gdb-index-dwarf64/b.o out/test/elf/x86_64/gdb-index-dwarf64/c.o out/test/elf/x86_64/gdb-index-dwarf64/d.o -137: + g++ -o out/test/elf/x86_64/gnu-unique/b.o -c -std=c++17 -fgnu-unique -xc++ - -130: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf5/e.so -130: + grep -Fq .gdb_index -130: + cat -130: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf5/f.o -fPIC -g -ggnu-pubnames -gdwarf-5 -xc - -gz -136: + on_exit -136: + echo OK -136: OK -136: + exit 0 -126/369 Test #136: x86_64-gnu-hash .................................. Passed 0.10 sec -test 138 - Start 138: x86_64-gnu-warning - -138: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/gnu-warning.sh" -138: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -138: Environment variables: -138: MACHINE=x86_64 -138: CPU= -138: Test timeout computed to be: 1500 -122: + diff -q out/test/elf/x86_64/filler/txt1 out/test/elf/x86_64/filler/txt2 -113: + c++ -B. -o out/test/elf/x86_64/exception/exe7 out/test/elf/x86_64/exception/d.o -static -pthread -138: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/gnu-warning.sh +133: + 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 138: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 138: ++ export LC_ALL=C 138: ++ LC_ALL=C @@ -8580,22 +8581,38 @@ 138: ++ tlsdesc_opt=-mtls-dialect=gnu2 138: ++ trap 'on_error $LINENO' ERR 138: ++ trap on_exit EXIT +137: + g++ -o out/test/elf/x86_64/gnu-unique/a.o -c -std=c++17 -fno-gnu-unique -xc++ - 138: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/gnu-warning.sh .sh -133: + 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 138: ++ testname=gnu-warning 138: ++ echo -n 'Testing gnu-warning ... ' 138: Testing gnu-warning ... ++ t=out/test/elf/x86_64/gnu-warning 138: ++ mkdir -p out/test/elf/x86_64/gnu-warning -137: + 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 -no-pie -138: + cat +128: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf3/c.so +128: + grep -Fq .gdb_index +129: + grep -Fq .gdb_index +129: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf4/c.so 138: + gcc -c -o out/test/elf/x86_64/gnu-warning/a.o -xc - -131: + cc -B. -shared -o out/test/elf/x86_64/gdb-index-dwarf64/f.so out/test/elf/x86_64/gdb-index-dwarf64/a.o out/test/elf/x86_64/gdb-index-dwarf64/b.o out/test/elf/x86_64/gdb-index-dwarf64/c.o out/test/elf/x86_64/gdb-index-dwarf64/d.o -Wl,--gdb-index -130: + 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 -122: + on_exit -122: + echo OK -122: OK -122: + exit 0 -127/369 Test #122: x86_64-filler .................................... Passed 0.58 sec +138: + cat +128: + cat +128: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf3/d.o -fPIC -g -ggnu-pubnames -gdwarf-3 -xc - -gz +129: + cat +129: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf4/d.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -gz +114: + grep -Fq foo out/test/elf/x86_64/exclude-libs/log +114: + grep -Fq bar out/test/elf/x86_64/exclude-libs/log +114: + grep -Fq baz out/test/elf/x86_64/exclude-libs/log +114: + on_exit +114: + echo OK +114: OK +114: + exit 0 +130: + 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 +136: + 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 +113: + c++ -B. -o out/test/elf/x86_64/exception/exe7 out/test/elf/x86_64/exception/d.o -static -pthread +131: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf64/d.o out/test/elf/x86_64/gdb-index-dwarf64/d.c -fPIC -g -ggnu-pubnames -gdwarf-5 -gdwarf64 -ffunction-sections +137: + cat +137: + g++ -o out/test/elf/x86_64/gnu-unique/b.o -c -std=c++17 -fgnu-unique -xc++ - +128: + 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 +129: + 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 +127/369 Test #114: x86_64-exclude-libs .............................. Passed 1.72 sec test 139 Start 139: x86_64-hash-style @@ -8606,13 +8623,11 @@ 139: CPU= 139: Test timeout computed to be: 1500 138: + cc -B. -o out/test/elf/x86_64/gnu-warning/exe out/test/elf/x86_64/gnu-warning/a.o -no-pie -133: + 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 139: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/hash-style.sh 139: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 139: ++ export LC_ALL=C 139: ++ LC_ALL=C 139: ++ '[' -z x86_64 ']' -137: + grep -q foo=5 139: ++ '[' -z '' ']' 139: ++ TESTDIR=out/test/elf/x86_64 139: ++ CC=cc @@ -8623,17 +8638,23 @@ 139: ++ OBJCOPY=objcopy 139: ++ STRIP=strip 139: ++ QEMU= -137: + out/test/elf/x86_64/gnu-unique/exe 139: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 139: ++ tlsdesc_opt=-mtls-dialect=gnu2 139: ++ trap 'on_error $LINENO' ERR 139: ++ trap on_exit EXIT 139: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/hash-style.sh .sh -137: + on_exit -137: + echo OK -137: OK -137: + exit 0 -128/369 Test #137: x86_64-gnu-unique ................................ Passed 0.16 sec +139: ++ testname=hash-style +139: ++ echo -n 'Testing hash-style ... ' +139: Testing hash-style ... ++ t=out/test/elf/x86_64/hash-style +139: ++ mkdir -p out/test/elf/x86_64/hash-style +139: + cc -o out/test/elf/x86_64/hash-style/a.o -c -xc - +139: + cat +122: + diff -q out/test/elf/x86_64/filler/txt1 out/test/elf/x86_64/filler/txt2 +136: + on_exit +136: + echo OK +136: OK +136: + exit 0 +128/369 Test #136: x86_64-gnu-hash .................................. Passed 0.20 sec test 140 Start 140: x86_64-hello-dynamic @@ -8643,24 +8664,22 @@ 140: MACHINE=x86_64 140: CPU= 140: Test timeout computed to be: 1500 -139: ++ testname=hash-style -139: ++ echo -n 'Testing hash-style ... ' -139: Testing hash-style ... ++ t=out/test/elf/x86_64/hash-style -139: ++ mkdir -p out/test/elf/x86_64/hash-style -139: + cat -131: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf64/f.so -131: + grep -Fq .gdb_index -130: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf5/exe -130: + grep -Fq .gdb_index -139: + cc -o out/test/elf/x86_64/hash-style/a.o -c -xc - -131: + cat -131: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf64/g.o -fPIC -g -ggnu-pubnames -gdwarf-5 -xc - -gz -130: + out/test/elf/x86_64/gdb-index-dwarf5/exe -130: + grep -q 'Hello world' -113: + out/test/elf/x86_64/exception/exe7 -113: + c++ -B. -o out/test/elf/x86_64/exception/exe8 out/test/elf/x86_64/exception/d.o -pie -130: + DEBUGINFOD_URLS= -130: + 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 +122: + on_exit +122: + echo OK +122: OK +122: + exit 0 +129: + grep -Fq .gdb_index +129/369 Test #122: x86_64-filler .................................... Passed 1.42 sec +test 141 + Start 141: x86_64-hello-static + +141: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/hello-static.sh" +141: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +141: Environment variables: +141: MACHINE=x86_64 +141: CPU= +141: Test timeout computed to be: 1500 +129: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf4/exe 140: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/hello-dynamic.sh 140: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 140: ++ export LC_ALL=C @@ -8680,43 +8699,6 @@ 140: ++ tlsdesc_opt=-mtls-dialect=gnu2 140: ++ trap 'on_error $LINENO' ERR 140: ++ trap on_exit EXIT -140: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/hello-dynamic.sh .sh -140: ++ testname=hello-dynamic -140: ++ echo -n 'Testing hello-dynamic ... ' -140: Testing hello-dynamic ... ++ t=out/test/elf/x86_64/hello-dynamic -140: ++ mkdir -p out/test/elf/x86_64/hello-dynamic -140: + cat -133: + readelf -WS out/test/elf/x86_64/gdb-index-split-dwarf/e.so -140: + cc -o out/test/elf/x86_64/hello-dynamic/a.o -c -xc - -fno-PIE -133: + grep -Fq .gdb_index -133: + cat -133: + cc -c -o out/test/elf/x86_64/gdb-index-split-dwarf/f.o -fPIC -g -ggnu-pubnames -gdwarf-5 -gsplit-dwarf -xc - -gz -139: + ./mold -shared -o out/test/elf/x86_64/hash-style/b.so out/test/elf/x86_64/hash-style/a.o -138: + out/test/elf/x86_64/gnu-warning/exe -131: + cc -B. -o out/test/elf/x86_64/gdb-index-dwarf64/exe1 out/test/elf/x86_64/gdb-index-dwarf64/e.so out/test/elf/x86_64/gdb-index-dwarf64/g.o -138: + grep -q 'Hello world' -138: + on_exit -138: + echo OK -138: OK -138: + exit 0 -129/369 Test #138: x86_64-gnu-warning ............................... Passed 0.11 sec -test 141 - Start 141: x86_64-hello-static - -141: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/hello-static.sh" -141: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -141: Environment variables: -141: MACHINE=x86_64 -141: CPU= -141: Test timeout computed to be: 1500 -139: + readelf -WS out/test/elf/x86_64/hash-style/b.so -139: + grep -Fq ' .hash' -139: + readelf -WS out/test/elf/x86_64/hash-style/b.so -113: + out/test/elf/x86_64/exception/exe8 -139: + grep -Fq ' .gnu.hash' -139: + ./mold -shared -o out/test/elf/x86_64/hash-style/c.so out/test/elf/x86_64/hash-style/a.o --hash-style=both --hash-style=none -113: + '[' x86_64 = x86_64 -o x86_64 = aarch64 ']' -113: + c++ -c -o out/test/elf/x86_64/exception/e.o out/test/elf/x86_64/exception/a.cc -mcmodel=large -fno-PIC 141: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/hello-static.sh 141: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 141: ++ export LC_ALL=C @@ -8736,26 +8718,44 @@ 141: ++ tlsdesc_opt=-mtls-dialect=gnu2 141: ++ trap 'on_error $LINENO' ERR 141: ++ trap on_exit EXIT -140: + cc -B. -o out/test/elf/x86_64/hello-dynamic/exe out/test/elf/x86_64/hello-dynamic/a.o -no-pie +133: + 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 +129: + out/test/elf/x86_64/gdb-index-dwarf4/exe +129: + grep -q 'Hello world' 141: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/hello-static.sh .sh +128: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf3/exe +140: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/hello-dynamic.sh .sh +128: + grep -Fq .gdb_index 141: ++ testname=hello-static 141: ++ echo -n 'Testing hello-static ... ' 141: Testing hello-static ... ++ t=out/test/elf/x86_64/hello-static 141: ++ mkdir -p out/test/elf/x86_64/hello-static -139: + readelf -WS out/test/elf/x86_64/hash-style/c.so -131: + DEBUGINFOD_URLS= -131: + gdb out/test/elf/x86_64/gdb-index-dwarf64/exe1 -nx -batch -ex 'b main' -ex r -ex quit -133: + 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 -139: + grep -Fq ' .hash' out/test/elf/x86_64/hash-style/log +129: + DEBUGINFOD_URLS= +129: + 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 +140: ++ testname=hello-dynamic +140: ++ echo -n 'Testing hello-dynamic ... ' +140: Testing hello-dynamic ... ++ t=out/test/elf/x86_64/hello-dynamic +140: ++ mkdir -p out/test/elf/x86_64/hello-dynamic +127: + grep -q 'hello2 () at .*:7' out/test/elf/x86_64/gdb-index-dwarf2/log +127: + grep -q 'hello () at .*:4' out/test/elf/x86_64/gdb-index-dwarf2/log 141: + test_cflags -static -141: + echo 'int main() {}' 141: + cc -static -o /dev/null -xc - -139: + grep -Fq ' .gnu.hash' out/test/elf/x86_64/hash-style/log -139: + on_exit -139: + echo OK -139: OK -139: + exit 0 -130/369 Test #139: x86_64-hash-style ................................ Passed 0.11 sec +127: + grep -q 'greet () at .*:8' out/test/elf/x86_64/gdb-index-dwarf2/log +137: + 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 -no-pie +130: + 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 +140: + cc -o out/test/elf/x86_64/hello-dynamic/a.o -c -xc - -fno-PIE +128: + out/test/elf/x86_64/gdb-index-dwarf3/exe +127: + grep -q 'main () at .*:4' out/test/elf/x86_64/gdb-index-dwarf2/log +128: + grep -q 'Hello world' +141: + echo 'int main() {}' +131: + cc -B. -shared -o out/test/elf/x86_64/gdb-index-dwarf64/e.so out/test/elf/x86_64/gdb-index-dwarf64/a.o out/test/elf/x86_64/gdb-index-dwarf64/b.o out/test/elf/x86_64/gdb-index-dwarf64/c.o out/test/elf/x86_64/gdb-index-dwarf64/d.o +140: + cat +128: + DEBUGINFOD_URLS= +128: + 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 +127: + on_exit +127: + echo OK +127: OK +127: + exit 0 +130/369 Test #127: x86_64-gdb-index-dwarf2 .......................... Passed 1.12 sec test 142 Start 142: x86_64-help @@ -8765,9 +8765,25 @@ 142: MACHINE=x86_64 142: CPU= 142: Test timeout computed to be: 1500 -113: + c++ -B. -o out/test/elf/x86_64/exception/exe9 out/test/elf/x86_64/exception/e.o -no-pie -static -pthread -140: + out/test/elf/x86_64/hello-dynamic/exe -140: + grep -q 'Hello world' +113: + out/test/elf/x86_64/exception/exe7 +113: + c++ -B. -o out/test/elf/x86_64/exception/exe8 out/test/elf/x86_64/exception/d.o -pie +138: + grep -q 'Hello world' +138: + out/test/elf/x86_64/gnu-warning/exe +138: + on_exit +138: + echo OK +138: OK +138: + exit 0 +139: + ./mold -shared -o out/test/elf/x86_64/hash-style/b.so out/test/elf/x86_64/hash-style/a.o +131/369 Test #138: x86_64-gnu-warning ............................... Passed 0.20 sec +test 143 + Start 143: x86_64-hidden-undef + +143: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/hidden-undef.sh" +143: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +143: Environment variables: +143: MACHINE=x86_64 +143: CPU= +143: Test timeout computed to be: 1500 142: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/help.sh 142: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 142: ++ export LC_ALL=C @@ -8787,51 +8803,14 @@ 142: ++ tlsdesc_opt=-mtls-dialect=gnu2 142: ++ trap 'on_error $LINENO' ERR 142: ++ trap on_exit EXIT +143: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/hidden-undef.sh 142: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/help.sh .sh -140: + on_exit -140: + echo OK -140: OK -140: + exit 0 +139: + readelf -WS out/test/elf/x86_64/hash-style/b.so 142: ++ testname=help 142: ++ echo -n 'Testing help ... ' 142: Testing help ... ++ t=out/test/elf/x86_64/help 142: ++ mkdir -p out/test/elf/x86_64/help -131/369 Test #140: x86_64-hello-dynamic ............................. Passed 0.09 sec -test 143 - Start 143: x86_64-hidden-undef - -143: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/hidden-undef.sh" -143: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -143: Environment variables: -143: MACHINE=x86_64 -143: CPU= -143: Test timeout computed to be: 1500 -142: + ./mold --help -142: + grep -q Usage -133: + readelf -WS out/test/elf/x86_64/gdb-index-split-dwarf/exe -133: + grep -Fq .gdb_index -142: + on_exit -142: + echo OK -142: OK -142: + exit 0 -132/369 Test #142: x86_64-help ...................................... Passed 0.03 sec -test 144 - Start 144: x86_64-hidden-weak-undef - -144: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/hidden-weak-undef.sh" -144: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -144: Environment variables: -144: MACHINE=x86_64 -144: CPU= -144: Test timeout computed to be: 1500 -143: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/hidden-undef.sh 143: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc -133: + out/test/elf/x86_64/gdb-index-split-dwarf/exe -133: + grep -q 'Hello world' -133: + on_exit -133: + echo OK -133: OK -133: + exit 0 143: ++ export LC_ALL=C 143: ++ LC_ALL=C 143: ++ '[' -z x86_64 ']' @@ -8849,17 +8828,36 @@ 143: ++ tlsdesc_opt=-mtls-dialect=gnu2 143: ++ trap 'on_error $LINENO' ERR 143: ++ trap on_exit EXIT -133/369 Test #133: x86_64-gdb-index-split-dwarf ..................... Passed 0.45 sec -test 145 - Start 145: x86_64-icf-safe - -145: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/icf-safe.sh" -145: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -145: Environment variables: -145: MACHINE=x86_64 -145: CPU= -145: Test timeout computed to be: 1500 143: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/hidden-undef.sh .sh +139: + grep -Fq ' .hash' +139: + grep -Fq ' .gnu.hash' +139: + readelf -WS out/test/elf/x86_64/hash-style/b.so +143: ++ testname=hidden-undef +143: ++ echo -n 'Testing hidden-undef ... ' +143: Testing hidden-undef ... ++ t=out/test/elf/x86_64/hidden-undef +143: ++ mkdir -p out/test/elf/x86_64/hidden-undef +142: + ./mold --help +139: + ./mold -shared -o out/test/elf/x86_64/hash-style/c.so out/test/elf/x86_64/hash-style/a.o --hash-style=both --hash-style=none +142: + grep -q Usage +143: + cc -o out/test/elf/x86_64/hidden-undef/a.so -shared -fPIC -xc - +143: + cat +142: + on_exit +142: + echo OK +142: OK +142: + exit 0 +132/369 Test #142: x86_64-help ...................................... Passed 0.02 sec +test 144 + Start 144: x86_64-hidden-weak-undef + +144: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/hidden-weak-undef.sh" +144: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +144: Environment variables: +144: MACHINE=x86_64 +144: CPU= +144: Test timeout computed to be: 1500 +137: + grep -q foo=5 +139: + readelf -WS out/test/elf/x86_64/hash-style/c.so +137: + out/test/elf/x86_64/gnu-unique/exe 144: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/hidden-weak-undef.sh 144: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 144: ++ export LC_ALL=C @@ -8877,10 +8875,6 @@ 144: ++ QEMU= 144: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 144: ++ tlsdesc_opt=-mtls-dialect=gnu2 -143: ++ testname=hidden-undef -143: ++ echo -n 'Testing hidden-undef ... ' -143: Testing hidden-undef ... ++ t=out/test/elf/x86_64/hidden-undef -143: ++ mkdir -p out/test/elf/x86_64/hidden-undef 144: ++ trap 'on_error $LINENO' ERR 144: ++ trap on_exit EXIT 144: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/hidden-weak-undef.sh .sh @@ -8888,9 +8882,36 @@ 144: ++ echo -n 'Testing hidden-weak-undef ... ' 144: Testing hidden-weak-undef ... ++ t=out/test/elf/x86_64/hidden-weak-undef 144: ++ mkdir -p out/test/elf/x86_64/hidden-weak-undef -143: + cat -143: + cc -o out/test/elf/x86_64/hidden-undef/a.so -shared -fPIC -xc - +137: + on_exit +137: + echo OK +137: OK +137: + exit 0 +133/369 Test #137: x86_64-gnu-unique ................................ Passed 0.25 sec +test 145 + Start 145: x86_64-icf-safe + +145: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/icf-safe.sh" +145: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +145: Environment variables: +145: MACHINE=x86_64 +145: CPU= +145: Test timeout computed to be: 1500 +131: + cc -B. -shared -o out/test/elf/x86_64/gdb-index-dwarf64/f.so out/test/elf/x86_64/gdb-index-dwarf64/a.o out/test/elf/x86_64/gdb-index-dwarf64/b.o out/test/elf/x86_64/gdb-index-dwarf64/c.o out/test/elf/x86_64/gdb-index-dwarf64/d.o -Wl,--gdb-index +144: + cc -o out/test/elf/x86_64/hidden-weak-undef/a.o -fPIC -c -xc - +139: + grep -Fq ' .hash' out/test/elf/x86_64/hash-style/log +140: + cc -B. -o out/test/elf/x86_64/hello-dynamic/exe out/test/elf/x86_64/hello-dynamic/a.o -no-pie +130: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf5/e.so +130: + grep -Fq .gdb_index +144: + cat +113: + out/test/elf/x86_64/exception/exe8 +139: + grep -Fq ' .gnu.hash' out/test/elf/x86_64/hash-style/log 145: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/icf-safe.sh +130: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf5/f.o -fPIC -g -ggnu-pubnames -gdwarf-5 -xc - -gz +130: + cat +139: + on_exit +139: + echo OK +139: OK +139: + exit 0 145: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 145: ++ export LC_ALL=C 145: ++ LC_ALL=C @@ -8909,33 +8930,9 @@ 145: ++ tlsdesc_opt=-mtls-dialect=gnu2 145: ++ trap 'on_error $LINENO' ERR 145: ++ trap on_exit EXIT -144: + cat -144: + cc -o out/test/elf/x86_64/hidden-weak-undef/a.o -fPIC -c -xc - -145: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/icf-safe.sh .sh -145: ++ testname=icf-safe -145: ++ echo -n 'Testing icf-safe ... ' -145: Testing icf-safe ... ++ t=out/test/elf/x86_64/icf-safe -145: ++ mkdir -p out/test/elf/x86_64/icf-safe -145: + '[' x86_64 = s390x ']' -145: + cat -145: + cc -c -o out/test/elf/x86_64/icf-safe/a.o -ffunction-sections -fdata-sections -xc - -144: + cc -B. -shared -o out/test/elf/x86_64/hidden-weak-undef/b.so out/test/elf/x86_64/hidden-weak-undef/a.o -113: + out/test/elf/x86_64/exception/exe9 -113: + c++ -B. -o out/test/elf/x86_64/exception/exe10 out/test/elf/x86_64/exception/e.o -no-pie -145: + cat -145: + cc -c -o out/test/elf/x86_64/icf-safe/b.o -ffunction-sections -fdata-sections -xc - -143: + cat -143: + cc -o out/test/elf/x86_64/hidden-undef/b.o -fPIC -c -xc - -141: + cat -141: + cc -o out/test/elf/x86_64/hello-static/a.o -c -xc - -144: + readelf -W --dyn-syms out/test/elf/x86_64/hidden-weak-undef/b.so -144: + grep -qw foo out/test/elf/x86_64/hidden-weak-undef/log -144: + grep -qw bar out/test/elf/x86_64/hidden-weak-undef/log -144: + on_exit -144: + echo OK -144: OK -144: + exit 0 -134/369 Test #144: x86_64-hidden-weak-undef ......................... Passed 0.09 sec +113: + '[' x86_64 = x86_64 -o x86_64 = aarch64 ']' +113: + c++ -c -o out/test/elf/x86_64/exception/e.o out/test/elf/x86_64/exception/a.cc -mcmodel=large -fno-PIC +134/369 Test #139: x86_64-hash-style ................................ Passed 0.17 sec test 146 Start 146: x86_64-icf-small @@ -8945,11 +8942,14 @@ 146: MACHINE=x86_64 146: CPU= 146: Test timeout computed to be: 1500 -143: + 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 -145: + cc -B. -o out/test/elf/x86_64/icf-safe/exe1 -Wl,-icf=safe out/test/elf/x86_64/icf-safe/a.o out/test/elf/x86_64/icf-safe/b.o -113: + out/test/elf/x86_64/exception/exe10 -113: + '[' x86_64 '!=' riscv32 ']' -113: + c++ -B. -o out/test/elf/x86_64/exception/exe11 out/test/elf/x86_64/exception/b.o -pie +145: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/icf-safe.sh .sh +145: ++ testname=icf-safe +145: ++ echo -n 'Testing icf-safe ... ' +145: Testing icf-safe ... ++ t=out/test/elf/x86_64/icf-safe +145: ++ mkdir -p out/test/elf/x86_64/icf-safe +145: + '[' x86_64 = s390x ']' +145: + cat +145: + cc -c -o out/test/elf/x86_64/icf-safe/a.o -ffunction-sections -fdata-sections -xc - 146: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/icf-small.sh 146: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 146: ++ export LC_ALL=C @@ -8974,17 +8974,15 @@ 146: ++ echo -n 'Testing icf-small ... ' 146: Testing icf-small ... ++ t=out/test/elf/x86_64/icf-small 146: ++ mkdir -p out/test/elf/x86_64/icf-small -141: + cc -B. -o out/test/elf/x86_64/hello-static/exe out/test/elf/x86_64/hello-static/a.o -static 146: + cat 146: + cc -o out/test/elf/x86_64/icf-small/a.o -c -ffunction-sections -xc - -143: + grep -q 'undefined symbol: foo' out/test/elf/x86_64/hidden-undef/log -145: + out/test/elf/x86_64/icf-safe/exe1 -145: + grep -q '^0 0$' -143: + on_exit -143: + echo OK -143: OK -143: + exit 0 -135/369 Test #143: x86_64-hidden-undef .............................. Passed 0.13 sec +140: + out/test/elf/x86_64/hello-dynamic/exe +140: + grep -q 'Hello world' +140: + on_exit +140: + echo OK +140: OK +140: + exit 0 +135/369 Test #140: x86_64-hello-dynamic ............................. Passed 0.17 sec test 147 Start 147: x86_64-icf @@ -8994,15 +8992,11 @@ 147: MACHINE=x86_64 147: CPU= 147: Test timeout computed to be: 1500 -145: + cat -145: + cc -c -o out/test/elf/x86_64/icf-safe/c.o -ffunction-sections -fdata-sections -xc - -113: + strip out/test/elf/x86_64/exception/exe11 -146: + ./mold -o out/test/elf/x86_64/icf-small/exe -icf=all out/test/elf/x86_64/icf-small/a.o +131: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf64/f.so +131: + grep -Fq .gdb_index +131: + cat +131: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf64/g.o -fPIC -g -ggnu-pubnames -gdwarf-5 -xc - -gz 147: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/icf.sh -146: + on_exit -146: + echo OK -146: OK -146: + exit 0 147: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 147: ++ export LC_ALL=C 147: ++ LC_ALL=C @@ -9021,16 +9015,6 @@ 147: ++ tlsdesc_opt=-mtls-dialect=gnu2 147: ++ trap 'on_error $LINENO' ERR 147: ++ trap on_exit EXIT -136/369 Test #146: x86_64-icf-small ................................. Passed 0.06 sec -test 148 - Start 148: x86_64-ifunc-address-equality-exported - -148: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/ifunc-address-equality-exported.sh" -148: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -148: Environment variables: -148: MACHINE=x86_64 -148: CPU= -148: Test timeout computed to be: 1500 147: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/icf.sh .sh 147: ++ testname=icf 147: ++ echo -n 'Testing icf ... ' @@ -9039,27 +9023,32 @@ 147: + '[' x86_64 = ppc64 ']' 147: + cat 147: + cc -c -o out/test/elf/x86_64/icf/a.o -ffunction-sections -fdata-sections -xc - -141: + out/test/elf/x86_64/hello-static/exe -141: + grep -q 'Hello world' -113: + out/test/elf/x86_64/exception/exe11 -141: + on_exit -141: + echo OK -141: OK -141: + exit 0 -137/369 Test #141: x86_64-hello-static .............................. Passed 0.21 sec -test 149 - Start 149: x86_64-ifunc-address-equality +133: + 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 +146: + ./mold -o out/test/elf/x86_64/icf-small/exe -icf=all out/test/elf/x86_64/icf-small/a.o +113: + c++ -B. -o out/test/elf/x86_64/exception/exe9 out/test/elf/x86_64/exception/e.o -no-pie -static -pthread +144: + cc -B. -shared -o out/test/elf/x86_64/hidden-weak-undef/b.so out/test/elf/x86_64/hidden-weak-undef/a.o +130: + 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 +145: + cat +145: + cc -c -o out/test/elf/x86_64/icf-safe/b.o -ffunction-sections -fdata-sections -xc - +131: + cc -B. -o out/test/elf/x86_64/gdb-index-dwarf64/exe1 out/test/elf/x86_64/gdb-index-dwarf64/e.so out/test/elf/x86_64/gdb-index-dwarf64/g.o +146: + on_exit +146: + echo OK +146: OK +146: + exit 0 +136/369 Test #146: x86_64-icf-small ................................. Passed 0.10 sec +test 148 + Start 148: x86_64-ifunc-address-equality-exported -149: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/ifunc-address-equality.sh" -149: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -149: Environment variables: -149: MACHINE=x86_64 -149: CPU= -149: Test timeout computed to be: 1500 +148: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/ifunc-address-equality-exported.sh" +148: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +148: Environment variables: +148: MACHINE=x86_64 +148: CPU= +148: Test timeout computed to be: 1500 +147: + cc -B. -o out/test/elf/x86_64/icf/exe out/test/elf/x86_64/icf/a.o -Wl,-icf=all 148: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/ifunc-address-equality-exported.sh -113: + c++ -B. -o out/test/elf/x86_64/exception/exe12 out/test/elf/x86_64/exception/c.o -no-pie -106: + 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 -145: + cc -B. -o out/test/elf/x86_64/icf-safe/exe2 -Wl,-icf=safe out/test/elf/x86_64/icf-safe/a.o out/test/elf/x86_64/icf-safe/c.o +143: + cc -o out/test/elf/x86_64/hidden-undef/b.o -fPIC -c -xc - +143: + cat 148: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 148: ++ export LC_ALL=C 148: ++ LC_ALL=C @@ -9083,10 +9072,33 @@ 148: ++ echo -n 'Testing ifunc-address-equality-exported ... ' 148: Testing ifunc-address-equality-exported ... ++ t=out/test/elf/x86_64/ifunc-address-equality-exported 148: ++ mkdir -p out/test/elf/x86_64/ifunc-address-equality-exported +144: + readelf -W --dyn-syms out/test/elf/x86_64/hidden-weak-undef/b.so +141: + cat +141: + cc -o out/test/elf/x86_64/hello-static/a.o -c -xc - +144: + grep -qw foo out/test/elf/x86_64/hidden-weak-undef/log 148: + supports_ifunc 148: + is_musl 148: + ldd --version 148: + grep -q musl +144: + grep -qw bar out/test/elf/x86_64/hidden-weak-undef/log +148: + cc -c -o /dev/null -xc - +148: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +144: + on_exit +144: + echo OK +144: OK +144: + exit 0 +137/369 Test #144: x86_64-hidden-weak-undef ......................... Passed 0.19 sec +test 149 + Start 149: x86_64-ifunc-address-equality + +149: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/ifunc-address-equality.sh" +149: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +149: Environment variables: +149: MACHINE=x86_64 +149: CPU= +149: Test timeout computed to be: 1500 +133: + 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 +145: + cc -B. -o out/test/elf/x86_64/icf-safe/exe1 -Wl,-icf=safe out/test/elf/x86_64/icf-safe/a.o out/test/elf/x86_64/icf-safe/b.o 149: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/ifunc-address-equality.sh 149: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 149: ++ export LC_ALL=C @@ -9106,9 +9118,9 @@ 149: ++ tlsdesc_opt=-mtls-dialect=gnu2 149: ++ trap 'on_error $LINENO' ERR 149: ++ trap on_exit EXIT -148: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -148: + cc -c -o /dev/null -xc - 149: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/ifunc-address-equality.sh .sh +131: + DEBUGINFOD_URLS= +131: + gdb out/test/elf/x86_64/gdb-index-dwarf64/exe1 -nx -batch -ex 'b main' -ex r -ex quit 149: ++ testname=ifunc-address-equality 149: ++ echo -n 'Testing ifunc-address-equality ... ' 149: Testing ifunc-address-equality ... ++ t=out/test/elf/x86_64/ifunc-address-equality @@ -9117,17 +9129,18 @@ 149: + is_musl 149: + grep -q musl 149: + ldd --version -147: + cc -B. -o out/test/elf/x86_64/icf/exe out/test/elf/x86_64/icf/a.o -Wl,-icf=all +147: + out/test/elf/x86_64/icf/exe +147: + grep -q '1 0' 149: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' 149: + cc -c -o /dev/null -xc - -145: + out/test/elf/x86_64/icf-safe/exe2 -145: + grep foo2 out/test/elf/x86_64/icf-safe/log2 -113: + strip out/test/elf/x86_64/exception/exe12 -145: + on_exit -145: + echo OK -145: OK -145: + exit 0 -138/369 Test #145: x86_64-icf-safe .................................. Passed 0.19 sec +143: + 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 +130: + grep -Fq .gdb_index +130: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf5/exe +147: + on_exit +147: + echo OK +147: OK +147: + exit 0 +138/369 Test #147: x86_64-icf ....................................... Passed 0.14 sec test 150 Start 150: x86_64-ifunc-alias @@ -9137,30 +9150,10 @@ 150: MACHINE=x86_64 150: CPU= 150: Test timeout computed to be: 1500 -113: + out/test/elf/x86_64/exception/exe12 -113: + on_exit -113: + echo OK -113: OK -113: + exit 0 -148: + cat -148: + cc -c -fPIC -o out/test/elf/x86_64/ifunc-address-equality-exported/a.o -xc - -139/369 Test #113: x86_64-exception ................................. Passed 1.12 sec -test 151 - Start 151: x86_64-ifunc-dlopen - -151: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/ifunc-dlopen.sh" -151: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -151: Environment variables: -151: MACHINE=x86_64 -151: CPU= -151: Test timeout computed to be: 1500 -106: + out/test/elf/x86_64/emit-relocs-dead-sections/exe -106: + grep -q 'Hello world' -106: + on_exit -106: + echo OK -106: OK -106: + exit 0 +130: + out/test/elf/x86_64/gdb-index-dwarf5/exe +141: + cc -B. -o out/test/elf/x86_64/hello-static/exe out/test/elf/x86_64/hello-static/a.o -static 150: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/ifunc-alias.sh +113: + out/test/elf/x86_64/exception/exe9 150: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 150: ++ export LC_ALL=C 150: ++ LC_ALL=C @@ -9179,33 +9172,51 @@ 150: ++ tlsdesc_opt=-mtls-dialect=gnu2 150: ++ trap 'on_error $LINENO' ERR 150: ++ trap on_exit EXIT +130: + grep -q 'Hello world' +113: + c++ -B. -o out/test/elf/x86_64/exception/exe10 out/test/elf/x86_64/exception/e.o -no-pie +130: + DEBUGINFOD_URLS= +130: + 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 150: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/ifunc-alias.sh .sh 150: ++ testname=ifunc-alias 150: ++ echo -n 'Testing ifunc-alias ... ' 150: Testing ifunc-alias ... ++ t=out/test/elf/x86_64/ifunc-alias 150: ++ mkdir -p out/test/elf/x86_64/ifunc-alias -140/369 Test #106: x86_64-emit-relocs-dead-sections ................. Passed 1.22 sec -test 152 - Start 152: x86_64-ifunc-dso - -152: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/ifunc-dso.sh" -152: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -152: Environment variables: -152: MACHINE=x86_64 -152: CPU= -152: Test timeout computed to be: 1500 +149: + cat +149: + cc -c -fno-PIE -o out/test/elf/x86_64/ifunc-address-equality/a.o -xc - 150: + supports_ifunc 150: + is_musl -150: + grep -q musl 150: + ldd --version -152: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/ifunc-dso.sh -151: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/ifunc-dlopen.sh -149: + cc -c -fno-PIE -o out/test/elf/x86_64/ifunc-address-equality/a.o -xc - -149: + cat -147: + grep -q '1 0' +150: + grep -q musl +148: + cc -c -fPIC -o out/test/elf/x86_64/ifunc-address-equality-exported/a.o -xc - +148: + cat 150: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' 150: + cc -c -o /dev/null -xc - -147: + out/test/elf/x86_64/icf/exe +129: + grep -q 'hello2 () at .*:7' out/test/elf/x86_64/gdb-index-dwarf4/log +145: + out/test/elf/x86_64/icf-safe/exe1 +145: + grep -q '^0 0$' +129: + grep -q 'hello () at .*:4' out/test/elf/x86_64/gdb-index-dwarf4/log +129: + grep -q 'greet () at .*:8' out/test/elf/x86_64/gdb-index-dwarf4/log +145: + cat +129: + grep -q 'main () at .*:4' out/test/elf/x86_64/gdb-index-dwarf4/log +129: + on_exit +129: + echo OK +129: OK +129: + exit 0 +139/369 Test #129: x86_64-gdb-index-dwarf4 .......................... Passed 1.05 sec +test 151 + Start 151: x86_64-ifunc-dlopen + +151: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/ifunc-dlopen.sh" +151: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +151: Environment variables: +151: MACHINE=x86_64 +151: CPU= +151: Test timeout computed to be: 1500 +128: + grep -q 'hello2 () at .*:7' out/test/elf/x86_64/gdb-index-dwarf3/log +145: + cc -c -o out/test/elf/x86_64/icf-safe/c.o -ffunction-sections -fdata-sections -xc - +133: + 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: + grep -q 'hello () at .*:4' out/test/elf/x86_64/gdb-index-dwarf3/log +151: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/ifunc-dlopen.sh 151: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 151: ++ export LC_ALL=C 151: ++ LC_ALL=C @@ -9225,6 +9236,41 @@ 151: ++ trap 'on_error $LINENO' ERR 151: ++ trap on_exit EXIT 151: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/ifunc-dlopen.sh .sh +151: ++ testname=ifunc-dlopen +151: ++ echo -n 'Testing ifunc-dlopen ... ' +151: Testing ifunc-dlopen ... ++ t=out/test/elf/x86_64/ifunc-dlopen +151: ++ mkdir -p out/test/elf/x86_64/ifunc-dlopen +151: + supports_ifunc +151: + is_musl +128: + grep -q 'greet () at .*:8' out/test/elf/x86_64/gdb-index-dwarf3/log +113: + out/test/elf/x86_64/exception/exe10 +150: + cat +151: + grep -q musl +150: + cc -fPIC -o out/test/elf/x86_64/ifunc-alias/a.o -c -xc - +128: + grep -q 'main () at .*:4' out/test/elf/x86_64/gdb-index-dwarf3/log +151: + ldd --version +128: + on_exit +128: + echo OK +128: OK +128: + exit 0 +140/369 Test #128: x86_64-gdb-index-dwarf3 .......................... Passed 1.13 sec +test 152 + Start 152: x86_64-ifunc-dso + +152: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/ifunc-dso.sh" +152: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +152: Environment variables: +152: MACHINE=x86_64 +152: CPU= +152: Test timeout computed to be: 1500 +151: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +151: + cc -c -o /dev/null -xc - +148: + cc -B. -shared -o out/test/elf/x86_64/ifunc-address-equality-exported/b.so out/test/elf/x86_64/ifunc-address-equality-exported/a.o +113: + '[' x86_64 '!=' riscv32 ']' +113: + c++ -B. -o out/test/elf/x86_64/exception/exe11 out/test/elf/x86_64/exception/b.o -pie +149: + cat +149: + cc -c -fPIC -o out/test/elf/x86_64/ifunc-address-equality/b.o -xc - +152: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/ifunc-dso.sh 152: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 152: ++ export LC_ALL=C 152: ++ LC_ALL=C @@ -9243,16 +9289,23 @@ 152: ++ tlsdesc_opt=-mtls-dialect=gnu2 152: ++ trap 'on_error $LINENO' ERR 152: ++ trap on_exit EXIT -147: + on_exit -147: + echo OK -147: OK -147: + exit 0 -151: ++ testname=ifunc-dlopen -151: ++ echo -n 'Testing ifunc-dlopen ... ' -151: Testing ifunc-dlopen ... ++ t=out/test/elf/x86_64/ifunc-dlopen -151: ++ mkdir -p out/test/elf/x86_64/ifunc-dlopen 152: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/ifunc-dso.sh .sh -141/369 Test #147: x86_64-icf ....................................... Passed 0.11 sec +152: ++ testname=ifunc-dso +152: ++ echo -n 'Testing ifunc-dso ... ' +152: Testing ifunc-dso ... ++ t=out/test/elf/x86_64/ifunc-dso +152: ++ mkdir -p out/test/elf/x86_64/ifunc-dso +152: + supports_ifunc +152: + is_musl +145: + cc -B. -o out/test/elf/x86_64/icf-safe/exe2 -Wl,-icf=safe out/test/elf/x86_64/icf-safe/a.o out/test/elf/x86_64/icf-safe/c.o +141: + out/test/elf/x86_64/hello-static/exe +141: + grep -q 'Hello world' +152: + ldd --version +152: + grep -q musl +141: + on_exit +141: + echo OK +141: OK +141: + exit 0 +141/369 Test #141: x86_64-hello-static .............................. Passed 0.40 sec test 153 Start 153: x86_64-ifunc-dynamic @@ -9262,29 +9315,33 @@ 153: MACHINE=x86_64 153: CPU= 153: Test timeout computed to be: 1500 -152: ++ testname=ifunc-dso -152: ++ echo -n 'Testing ifunc-dso ... ' -152: Testing ifunc-dso ... ++ t=out/test/elf/x86_64/ifunc-dso -152: ++ mkdir -p out/test/elf/x86_64/ifunc-dso -152: + supports_ifunc -152: + is_musl -151: + supports_ifunc -151: + is_musl -152: + ldd --version -152: + grep -q musl -151: + ldd --version -151: + grep -q musl -152: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' 152: + cc -c -o /dev/null -xc - -151: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -151: + cc -c -o /dev/null -xc - -148: + cc -B. -shared -o out/test/elf/x86_64/ifunc-address-equality-exported/b.so out/test/elf/x86_64/ifunc-address-equality-exported/a.o +152: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +143: + grep -q 'undefined symbol: foo' out/test/elf/x86_64/hidden-undef/log +133: + readelf -WS out/test/elf/x86_64/gdb-index-split-dwarf/e.so +151: + cat 153: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/ifunc-dynamic.sh +143: + on_exit +143: + echo OK +143: OK +143: + exit 0 +150: + cc -B. -o out/test/elf/x86_64/ifunc-alias/exe1 out/test/elf/x86_64/ifunc-alias/a.o -pie +133: + grep -Fq .gdb_index 153: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 153: ++ export LC_ALL=C 153: ++ LC_ALL=C 153: ++ '[' -z x86_64 ']' 153: ++ '[' -z '' ']' +142/369 Test #143: x86_64-hidden-undef .............................. Passed 0.33 sec +test 154 + Start 154: x86_64-ifunc-export + +154: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/ifunc-export.sh" +154: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +154: Environment variables: +154: MACHINE=x86_64 +154: CPU= +154: Test timeout computed to be: 1500 153: ++ TESTDIR=out/test/elf/x86_64 153: ++ CC=cc 153: ++ CXX=c++ @@ -9305,56 +9362,15 @@ 153: ++ mkdir -p out/test/elf/x86_64/ifunc-dynamic 153: + supports_ifunc 153: + is_musl -153: + ldd --version 153: + grep -q musl -150: + cat -150: + cc -fPIC -o out/test/elf/x86_64/ifunc-alias/a.o -c -xc - -152: + cat -152: + cc -fPIC -o out/test/elf/x86_64/ifunc-dso/a.o -c -xc - -153: + cc -c -o /dev/null -xc - -153: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -149: + cat -149: + cc -c -fPIC -o out/test/elf/x86_64/ifunc-address-equality/b.o -xc - -151: + cat +153: + ldd --version +133: + cat +133: + cc -c -o out/test/elf/x86_64/gdb-index-split-dwarf/f.o -fPIC -g -ggnu-pubnames -gdwarf-5 -gsplit-dwarf -xc - -gz 151: + cc -fno-PIE -o out/test/elf/x86_64/ifunc-dlopen/a.o -c -xc - -148: + cc -c -fno-PIE -o out/test/elf/x86_64/ifunc-address-equality-exported/c.o -xc - -148: + cat -153: + cc -o out/test/elf/x86_64/ifunc-dynamic/a.o -c -xc - -153: + cat 149: + cat 149: + cc -c -fno-PIE -o out/test/elf/x86_64/ifunc-address-equality/c.o -xc - -150: + cc -B. -o out/test/elf/x86_64/ifunc-alias/exe1 out/test/elf/x86_64/ifunc-alias/a.o -pie -152: + cat -152: + cc -fPIC -o out/test/elf/x86_64/ifunc-dso/b.o -c -xc - -151: + cat -151: + cc -fPIC -o out/test/elf/x86_64/ifunc-dlopen/b.o -c -xc - -148: + cc -B. -o out/test/elf/x86_64/ifunc-address-equality-exported/exe out/test/elf/x86_64/ifunc-address-equality-exported/c.o out/test/elf/x86_64/ifunc-address-equality-exported/b.so -no-pie -153: + cc -B. -o out/test/elf/x86_64/ifunc-dynamic/exe1 out/test/elf/x86_64/ifunc-dynamic/a.o -Wl,-z,lazy -151: + cc -B. -o out/test/elf/x86_64/ifunc-dlopen/c.so out/test/elf/x86_64/ifunc-dlopen/b.o -shared -152: + cc -B. -o out/test/elf/x86_64/ifunc-dso/c.so out/test/elf/x86_64/ifunc-dso/b.o -shared -149: + cc -B. -o out/test/elf/x86_64/ifunc-address-equality/exe1 out/test/elf/x86_64/ifunc-address-equality/a.o out/test/elf/x86_64/ifunc-address-equality/b.o out/test/elf/x86_64/ifunc-address-equality/c.o -no-pie -150: + out/test/elf/x86_64/ifunc-alias/exe1 -150: + grep -Eq '^(\S+) \1$' -148: + out/test/elf/x86_64/ifunc-address-equality-exported/exe -148: + grep -Eq '^(\S+) \1' -148: + on_exit -148: + echo OK -148: OK -148: + exit 0 -150: + cc -B. -o out/test/elf/x86_64/ifunc-alias/exe2 out/test/elf/x86_64/ifunc-alias/a.o -no-pie -153: + grep -q 'Hello world' -153: + out/test/elf/x86_64/ifunc-dynamic/exe1 -153: + cc -B. -o out/test/elf/x86_64/ifunc-dynamic/exe2 out/test/elf/x86_64/ifunc-dynamic/a.o -Wl,-z,now -142/369 Test #148: x86_64-ifunc-address-equality-exported ........... Passed 0.21 sec -test 154 - Start 154: x86_64-ifunc-export - -154: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/ifunc-export.sh" -154: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -154: Environment variables: -154: MACHINE=x86_64 -154: CPU= -154: Test timeout computed to be: 1500 +148: + cat +148: + cc -c -fno-PIE -o out/test/elf/x86_64/ifunc-address-equality-exported/c.o -xc - 154: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/ifunc-export.sh 154: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 154: ++ export LC_ALL=C @@ -9374,30 +9390,29 @@ 154: ++ tlsdesc_opt=-mtls-dialect=gnu2 154: ++ trap 'on_error $LINENO' ERR 154: ++ trap on_exit EXIT -152: + readelf -W --dyn-syms out/test/elf/x86_64/ifunc-dso/c.so -152: + grep -Eq '(IFUNC|: 10).*foobar' +153: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +153: + cc -c -o /dev/null -xc - 154: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/ifunc-export.sh .sh -151: + cc -B. -o out/test/elf/x86_64/ifunc-dlopen/exe out/test/elf/x86_64/ifunc-dlopen/a.o out/test/elf/x86_64/ifunc-dlopen/c.so -no-pie -ldl 154: ++ testname=ifunc-export 154: ++ echo -n 'Testing ifunc-export ... ' 154: Testing ifunc-export ... ++ t=out/test/elf/x86_64/ifunc-export 154: ++ mkdir -p out/test/elf/x86_64/ifunc-export -152: + 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/c.so 154: + supports_ifunc 154: + is_musl -149: + grep -Eq '^(\S+) \1 (\S+) \2' -149: + out/test/elf/x86_64/ifunc-address-equality/exe1 -154: + ldd --version +152: + cat +152: + cc -fPIC -o out/test/elf/x86_64/ifunc-dso/a.o -c -xc - +145: + out/test/elf/x86_64/icf-safe/exe2 +113: + strip out/test/elf/x86_64/exception/exe11 154: + grep -q musl -149: + readelf --dynamic out/test/elf/x86_64/ifunc-address-equality/exe1 +154: + ldd --version +145: + grep foo2 out/test/elf/x86_64/icf-safe/log2 154: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' 154: + cc -c -o /dev/null -xc - -149: + grep -q TEXTREL out/test/elf/x86_64/ifunc-address-equality/log1 -149: + on_exit -149: + echo OK -149: OK -149: + exit 0 -143/369 Test #149: x86_64-ifunc-address-equality .................... Passed 0.24 sec +145: + on_exit +145: + echo OK +145: OK +145: + exit 0 +143/369 Test #145: x86_64-icf-safe .................................. Passed 0.30 sec test 155 Start 155: x86_64-ifunc-funcptr @@ -9407,28 +9422,6 @@ 155: MACHINE=x86_64 155: CPU= 155: Test timeout computed to be: 1500 -153: + out/test/elf/x86_64/ifunc-dynamic/exe2 -153: + grep -q 'Hello world' -150: + out/test/elf/x86_64/ifunc-alias/exe2 -150: + grep -Eq '^(\S+) \1$' -153: + on_exit -153: + echo OK -153: OK -153: + exit 0 -144/369 Test #153: x86_64-ifunc-dynamic ............................. Passed 0.18 sec -test 156 - Start 156: x86_64-ifunc-noplt - -156: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/ifunc-noplt.sh" -156: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -156: Environment variables: -156: MACHINE=x86_64 -156: CPU= -156: Test timeout computed to be: 1500 -150: + on_exit -150: + echo OK -150: OK -150: + exit 0 155: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/ifunc-funcptr.sh 155: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 155: ++ export LC_ALL=C @@ -9448,26 +9441,71 @@ 155: ++ tlsdesc_opt=-mtls-dialect=gnu2 155: ++ trap 'on_error $LINENO' ERR 155: ++ trap on_exit EXIT +149: + cc -B. -o out/test/elf/x86_64/ifunc-address-equality/exe1 out/test/elf/x86_64/ifunc-address-equality/a.o out/test/elf/x86_64/ifunc-address-equality/b.o out/test/elf/x86_64/ifunc-address-equality/c.o -no-pie 155: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/ifunc-funcptr.sh .sh -145/369 Test #150: x86_64-ifunc-alias ............................... Passed 0.21 sec -test 157 - Start 157: x86_64-ifunc-static-pie - -157: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/ifunc-static-pie.sh" -157: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -157: Environment variables: -157: MACHINE=x86_64 -157: CPU= -157: Test timeout computed to be: 1500 155: ++ testname=ifunc-funcptr 155: ++ echo -n 'Testing ifunc-funcptr ... ' 155: Testing ifunc-funcptr ... ++ t=out/test/elf/x86_64/ifunc-funcptr 155: ++ mkdir -p out/test/elf/x86_64/ifunc-funcptr +113: + out/test/elf/x86_64/exception/exe11 155: + supports_ifunc 155: + is_musl 155: + ldd --version 155: + grep -q musl +155: + cc -c -o /dev/null -xc - +155: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +150: + grep -Eq '^(\S+) \1$' +150: + out/test/elf/x86_64/ifunc-alias/exe1 +148: + cc -B. -o out/test/elf/x86_64/ifunc-address-equality-exported/exe out/test/elf/x86_64/ifunc-address-equality-exported/c.o out/test/elf/x86_64/ifunc-address-equality-exported/b.so -no-pie +133: + 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 +113: + c++ -B. -o out/test/elf/x86_64/exception/exe12 out/test/elf/x86_64/exception/c.o -no-pie +151: + cat +150: + cc -B. -o out/test/elf/x86_64/ifunc-alias/exe2 out/test/elf/x86_64/ifunc-alias/a.o -no-pie +151: + cc -fPIC -o out/test/elf/x86_64/ifunc-dlopen/b.o -c -xc - +152: + cc -fPIC -o out/test/elf/x86_64/ifunc-dso/b.o -c -xc - +152: + cat +149: + out/test/elf/x86_64/ifunc-address-equality/exe1 +149: + grep -Eq '^(\S+) \1 (\S+) \2' +154: + cat +154: + cc -c -fPIC -o out/test/elf/x86_64/ifunc-export/a.o -xc - +153: + cat +153: + cc -o out/test/elf/x86_64/ifunc-dynamic/a.o -c -xc - +150: + out/test/elf/x86_64/ifunc-alias/exe2 +150: + grep -Eq '^(\S+) \1$' +150: + on_exit +150: + echo OK +150: OK +150: + exit 0 +113: + strip out/test/elf/x86_64/exception/exe12 +149: + readelf --dynamic out/test/elf/x86_64/ifunc-address-equality/exe1 +144/369 Test #150: x86_64-ifunc-alias ............................... Passed 0.19 sec +test 156 + Start 156: x86_64-ifunc-noplt + +156: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/ifunc-noplt.sh" +156: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +156: Environment variables: +156: MACHINE=x86_64 +156: CPU= +156: Test timeout computed to be: 1500 +149: + grep -q TEXTREL out/test/elf/x86_64/ifunc-address-equality/log1 +155: + cc -c -fPIC -o out/test/elf/x86_64/ifunc-funcptr/a.o -c -xc - +155: + cat +149: + on_exit +149: + echo OK +149: OK +149: + exit 0 156: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/ifunc-noplt.sh +145/369 Test #149: x86_64-ifunc-address-equality .................... Passed 0.22 sec +test 157 + Start 157: x86_64-ifunc-static-pie + +157: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/ifunc-static-pie.sh" +157: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +157: Environment variables: +157: MACHINE=x86_64 +157: CPU= +157: Test timeout computed to be: 1500 156: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 156: ++ export LC_ALL=C 156: ++ LC_ALL=C @@ -9491,35 +9529,17 @@ 156: ++ echo -n 'Testing ifunc-noplt ... ' 156: Testing ifunc-noplt ... ++ t=out/test/elf/x86_64/ifunc-noplt 156: ++ mkdir -p out/test/elf/x86_64/ifunc-noplt -151: + grep -q 'foo foo' -151: + out/test/elf/x86_64/ifunc-dlopen/exe -151: + on_exit -151: + echo OK -151: OK -151: + exit 0 -154: + cat -154: + cc -c -fPIC -o out/test/elf/x86_64/ifunc-export/a.o -xc - -146/369 Test #151: x86_64-ifunc-dlopen .............................. Passed 0.21 sec -test 158 - Start 158: x86_64-ifunc-static - -158: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/ifunc-static.sh" -158: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -158: Environment variables: -158: MACHINE=x86_64 -158: CPU= -158: Test timeout computed to be: 1500 -155: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -155: + cc -c -o /dev/null -xc - -156: + supports_ifunc -156: + is_musl -156: + ldd --version -156: + grep -q musl +148: + grep -Eq '^(\S+) \1' +148: + out/test/elf/x86_64/ifunc-address-equality-exported/exe 157: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/ifunc-static-pie.sh 157: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 157: ++ export LC_ALL=C 157: ++ LC_ALL=C 157: ++ '[' -z x86_64 ']' +156: + supports_ifunc +156: + is_musl +156: + ldd --version +156: + grep -q musl 157: ++ '[' -z '' ']' 157: ++ TESTDIR=out/test/elf/x86_64 157: ++ CC=cc @@ -9534,19 +9554,42 @@ 157: ++ tlsdesc_opt=-mtls-dialect=gnu2 157: ++ trap 'on_error $LINENO' ERR 157: ++ trap on_exit EXIT +113: + out/test/elf/x86_64/exception/exe12 157: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/ifunc-static-pie.sh .sh -152: + out/test/elf/x86_64/ifunc-dso/exe -152: + grep -q 'Hello world' +148: + on_exit +148: + echo OK +148: OK +148: + exit 0 +133: + readelf -WS out/test/elf/x86_64/gdb-index-split-dwarf/exe +146/369 Test #148: x86_64-ifunc-address-equality-exported ........... Passed 0.26 sec +test 158 + Start 158: x86_64-ifunc-static + +158: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/ifunc-static.sh" +158: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +158: Environment variables: +158: MACHINE=x86_64 +158: CPU= +158: Test timeout computed to be: 1500 +133: + grep -Fq .gdb_index 157: ++ testname=ifunc-static-pie 157: ++ echo -n 'Testing ifunc-static-pie ... ' 157: Testing ifunc-static-pie ... ++ t=out/test/elf/x86_64/ifunc-static-pie 157: ++ mkdir -p out/test/elf/x86_64/ifunc-static-pie +156: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' 156: + cc -c -o /dev/null -xc - -152: + on_exit -152: + echo OK -152: OK -152: + exit 0 -147/369 Test #152: x86_64-ifunc-dso ................................. Passed 0.21 sec +151: + cc -B. -o out/test/elf/x86_64/ifunc-dlopen/c.so out/test/elf/x86_64/ifunc-dlopen/b.o -shared +157: + test_cflags -static-pie +157: + cc -static-pie -o /dev/null -xc - +157: + echo 'int main() {}' +113: + on_exit +113: + echo OK +113: OK +113: + exit 0 +133: + grep -q 'Hello world' +133: + out/test/elf/x86_64/gdb-index-split-dwarf/exe +158: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/ifunc-static.sh +147/369 Test #113: x86_64-exception ................................. Passed 2.28 sec test 159 Start 159: x86_64-image-base @@ -9556,11 +9599,6 @@ 159: MACHINE=x86_64 159: CPU= 159: Test timeout computed to be: 1500 -157: + test_cflags -static-pie -157: + echo 'int main() {}' -157: + cc -static-pie -o /dev/null -xc - -156: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -158: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/ifunc-static.sh 158: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 158: ++ export LC_ALL=C 158: ++ LC_ALL=C @@ -9585,6 +9623,27 @@ 158: Testing ifunc-static ... ++ t=out/test/elf/x86_64/ifunc-static 158: ++ mkdir -p out/test/elf/x86_64/ifunc-static 158: + test_cflags -static +158: + cc -static -o /dev/null -xc - +158: + echo 'int main() {}' +133: + on_exit +133: + echo OK +133: OK +133: + exit 0 +154: + cc -B. -shared -o out/test/elf/x86_64/ifunc-export/b.so out/test/elf/x86_64/ifunc-export/a.o +152: + cc -B. -o out/test/elf/x86_64/ifunc-dso/c.so out/test/elf/x86_64/ifunc-dso/b.o -shared +148/369 Test #133: x86_64-gdb-index-split-dwarf ..................... Passed 1.11 sec +test 160 + Start 160: x86_64-init-array-priorities + +160: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/init-array-priorities.sh" +160: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +160: Environment variables: +160: MACHINE=x86_64 +160: CPU= +160: Test timeout computed to be: 1500 +153: + cc -B. -o out/test/elf/x86_64/ifunc-dynamic/exe1 out/test/elf/x86_64/ifunc-dynamic/a.o -Wl,-z,lazy +155: + cc -c -fPIC -o out/test/elf/x86_64/ifunc-funcptr/b.o -xc - +155: + cat 159: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/image-base.sh 159: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 159: ++ export LC_ALL=C @@ -9609,35 +9668,6 @@ 159: ++ echo -n 'Testing image-base ... ' 159: Testing image-base ... ++ t=out/test/elf/x86_64/image-base 159: ++ mkdir -p out/test/elf/x86_64/image-base -158: + echo 'int main() {}' -158: + cc -static -o /dev/null -xc - -159: + cat -159: + cc -o out/test/elf/x86_64/image-base/a.o -c -xc - -156: + cat -156: + cc -fPIC -o out/test/elf/x86_64/ifunc-noplt/a.o -c -xc - -fno-plt -154: + cc -B. -shared -o out/test/elf/x86_64/ifunc-export/b.so out/test/elf/x86_64/ifunc-export/a.o -155: + cc -c -fPIC -o out/test/elf/x86_64/ifunc-funcptr/a.o -c -xc - -155: + cat -154: + readelf --dyn-syms out/test/elf/x86_64/ifunc-export/b.so -154: + grep -Eq '(IFUNC|: 10)\s+GLOBAL DEFAULT.* foobar' -154: + on_exit -154: + echo OK -154: OK -154: + exit 0 -148/369 Test #154: x86_64-ifunc-export .............................. Passed 0.12 sec -test 160 - Start 160: x86_64-init-array-priorities - -160: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/init-array-priorities.sh" -160: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -160: Environment variables: -160: MACHINE=x86_64 -160: CPU= -160: Test timeout computed to be: 1500 -156: + cc -B. -o out/test/elf/x86_64/ifunc-noplt/exe1 out/test/elf/x86_64/ifunc-noplt/a.o -pie -155: + cat -155: + cc -c -fPIC -o out/test/elf/x86_64/ifunc-funcptr/b.o -xc - -159: + 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 160: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/init-array-priorities.sh 160: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 160: ++ export LC_ALL=C @@ -9657,69 +9687,33 @@ 160: ++ tlsdesc_opt=-mtls-dialect=gnu2 160: ++ trap 'on_error $LINENO' ERR 160: ++ trap on_exit EXIT +159: + cat 160: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/init-array-priorities.sh .sh 160: ++ testname=init-array-priorities 160: ++ echo -n 'Testing init-array-priorities ... ' 160: Testing init-array-priorities ... ++ t=out/test/elf/x86_64/init-array-priorities 160: ++ mkdir -p out/test/elf/x86_64/init-array-priorities -157: + supports_ifunc -157: + is_musl -157: + ldd --version -157: + grep -q musl +151: + cc -B. -o out/test/elf/x86_64/ifunc-dlopen/exe out/test/elf/x86_64/ifunc-dlopen/a.o out/test/elf/x86_64/ifunc-dlopen/c.so -no-pie -ldl +159: + cc -o out/test/elf/x86_64/image-base/a.o -c -xc - +131: + grep -q 'DW_FORM_line_strp pointing outside of .debug_line_str' out/test/elf/x86_64/gdb-index-dwarf64/log1 +131: + cc -B. -o out/test/elf/x86_64/gdb-index-dwarf64/exe2 out/test/elf/x86_64/gdb-index-dwarf64/f.so out/test/elf/x86_64/gdb-index-dwarf64/g.o -Wl,--gdb-index 160: + is_musl -155: + cc -c -fPIC -o out/test/elf/x86_64/ifunc-funcptr/c.o -xc - -155: + cat 160: + ldd --version 160: + grep -q musl -157: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -157: + cc -c -o /dev/null -xc - 160: + cat 160: + cc -c -o out/test/elf/x86_64/init-array-priorities/a.o -xc - -159: + grep -q 'Hello world' -159: + out/test/elf/x86_64/image-base/exe1 -159: + grep -Eq '.interp\s+PROGBITS\s+0*8000...\b' -159: + readelf -W --sections out/test/elf/x86_64/image-base/exe1 -156: + out/test/elf/x86_64/ifunc-noplt/exe1 -159: + cat -159: + cc -o out/test/elf/x86_64/image-base/b.o -c -xc - -158: + supports_ifunc -158: + is_musl -158: + grep -q musl -156: + grep -q 'Hello world' -156: + cc -B. -o out/test/elf/x86_64/ifunc-noplt/exe2 out/test/elf/x86_64/ifunc-noplt/a.o -no-pie -158: + ldd --version -155: + cc -B. -o out/test/elf/x86_64/ifunc-funcptr/exe1 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 -pie -157: + cc -o out/test/elf/x86_64/ifunc-static-pie/a.o -c -xc - -fPIC -158: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -158: + cc -c -o /dev/null -xc - -157: + cat -131: + grep -q 'DW_FORM_line_strp pointing outside of .debug_line_str' out/test/elf/x86_64/gdb-index-dwarf64/log1 -127: + grep -q 'hello2 () at .*:7' out/test/elf/x86_64/gdb-index-dwarf2/log -131: + cc -B. -o out/test/elf/x86_64/gdb-index-dwarf64/exe2 out/test/elf/x86_64/gdb-index-dwarf64/f.so out/test/elf/x86_64/gdb-index-dwarf64/g.o -Wl,--gdb-index -127: + grep -q 'hello () at .*:4' out/test/elf/x86_64/gdb-index-dwarf2/log -126: + grep -q 'hello () at .*:7' out/test/elf/x86_64/gdb-index-compress-output/log -129: + grep -q 'hello2 () at .*:7' out/test/elf/x86_64/gdb-index-dwarf4/log -160: + cat -160: + cc -c -o out/test/elf/x86_64/init-array-priorities/b.o -xc - -129: + grep -q 'hello () at .*:4' out/test/elf/x86_64/gdb-index-dwarf4/log -128: + grep -q 'hello2 () at .*:7' out/test/elf/x86_64/gdb-index-dwarf3/log -129: + grep -q 'greet () at .*:8' out/test/elf/x86_64/gdb-index-dwarf4/log -127: + grep -q 'greet () at .*:8' out/test/elf/x86_64/gdb-index-dwarf2/log -127: + grep -q 'main () at .*:4' out/test/elf/x86_64/gdb-index-dwarf2/log -128: + grep -q 'hello () at .*:4' out/test/elf/x86_64/gdb-index-dwarf3/log -129: + grep -q 'main () at .*:4' out/test/elf/x86_64/gdb-index-dwarf4/log -126: + grep -q 'greet () at .*:11' out/test/elf/x86_64/gdb-index-compress-output/log -128: + grep -q 'greet () at .*:8' out/test/elf/x86_64/gdb-index-dwarf3/log -127: + on_exit -127: + echo OK -127: OK -127: + exit 0 -130: + grep -q 'fn8 () at .*/d.c:6' out/test/elf/x86_64/gdb-index-dwarf5/log -129: + on_exit -129: + echo OK -129: OK -129: + exit 0 -149/369 Test #127: x86_64-gdb-index-dwarf2 .......................... Passed 1.20 sec +156: + cc -fPIC -o out/test/elf/x86_64/ifunc-noplt/a.o -c -xc - -fno-plt +152: + readelf -W --dyn-syms out/test/elf/x86_64/ifunc-dso/c.so +156: + cat +152: + grep -Eq '(IFUNC|: 10).*foobar' +154: + grep -Eq '(IFUNC|: 10)\s+GLOBAL DEFAULT.* foobar' +154: + readelf --dyn-syms out/test/elf/x86_64/ifunc-export/b.so +152: + 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/c.so +154: + on_exit +154: + echo OK +154: OK +154: + exit 0 +149/369 Test #154: x86_64-ifunc-export .............................. Passed 0.16 sec test 161 Start 161: x86_64-init-in-dso @@ -9729,10 +9723,50 @@ 161: MACHINE=x86_64 161: CPU= 161: Test timeout computed to be: 1500 -128: + grep -q 'main () at .*:4' out/test/elf/x86_64/gdb-index-dwarf3/log +161: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/init-in-dso.sh +161: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc +161: ++ export LC_ALL=C +161: ++ LC_ALL=C +161: ++ '[' -z x86_64 ']' +161: ++ '[' -z '' ']' +161: ++ TESTDIR=out/test/elf/x86_64 +161: ++ CC=cc +161: ++ CXX=c++ +161: ++ GCC=gcc +161: ++ GXX=g++ +161: ++ OBJDUMP=objdump +161: ++ OBJCOPY=objcopy +161: ++ STRIP=strip +161: ++ QEMU= +161: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' +161: ++ tlsdesc_opt=-mtls-dialect=gnu2 +161: ++ trap 'on_error $LINENO' ERR +161: ++ trap on_exit EXIT +161: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/init-in-dso.sh .sh +161: ++ testname=init-in-dso +161: ++ echo -n 'Testing init-in-dso ... ' +161: Testing init-in-dso ... ++ t=out/test/elf/x86_64/init-in-dso +161: ++ mkdir -p out/test/elf/x86_64/init-in-dso +155: + cat +155: + cc -c -fPIC -o out/test/elf/x86_64/ifunc-funcptr/c.o -xc - +153: + out/test/elf/x86_64/ifunc-dynamic/exe1 +153: + grep -q 'Hello world' +161: + cc -shared -o out/test/elf/x86_64/init-in-dso/a.so -xc - +153: + cc -B. -o out/test/elf/x86_64/ifunc-dynamic/exe2 out/test/elf/x86_64/ifunc-dynamic/a.o -Wl,-z,now +161: + cat +159: + 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 +160: + cat +151: + out/test/elf/x86_64/ifunc-dlopen/exe +160: + cc -c -o out/test/elf/x86_64/init-array-priorities/b.o -xc - +130: + grep -q 'fn8 () at .*/d.c:6' out/test/elf/x86_64/gdb-index-dwarf5/log +151: + grep -q 'foo foo' 130: + grep -q 'fn7 () at .*/d.c:10' out/test/elf/x86_64/gdb-index-dwarf5/log +151: + on_exit +151: + echo OK +151: OK +151: + exit 0 130: + grep -q 'fn6 () at .*/c.c:4' out/test/elf/x86_64/gdb-index-dwarf5/log -150/369 Test #129: x86_64-gdb-index-dwarf4 .......................... Passed 1.12 sec +150/369 Test #151: x86_64-ifunc-dlopen .............................. Passed 0.27 sec test 162 Start 162: x86_64-init @@ -9742,57 +9776,14 @@ 162: MACHINE=x86_64 162: CPU= 162: Test timeout computed to be: 1500 -128: + on_exit -128: + echo OK -128: OK -128: + exit 0 130: + grep -q 'fn5 () at .*/c.c:8' out/test/elf/x86_64/gdb-index-dwarf5/log -126: + grep -q 'main () at .*:4' out/test/elf/x86_64/gdb-index-compress-output/log -126: + on_exit -126: + echo OK -126: OK -126: + exit 0 -156: + out/test/elf/x86_64/ifunc-noplt/exe2 -156: + grep -q 'Hello world' -156: + on_exit -156: + echo OK -156: OK -156: + exit 0 -151/369 Test #126: x86_64-gdb-index-compress-output ................. Passed 1.25 sec -152/369 Test #128: x86_64-gdb-index-dwarf3 .......................... Passed 1.20 sec -153/369 Test #156: x86_64-ifunc-noplt ............................... Passed 0.17 sec -test 163 - Start 163: x86_64-initfirst - -163: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/initfirst.sh" -163: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -163: Environment variables: -163: MACHINE=x86_64 -163: CPU= -163: Test timeout computed to be: 1500 -test 164 - Start 164: x86_64-interpose - -164: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/interpose.sh" -164: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -164: Environment variables: -164: MACHINE=x86_64 -164: CPU= -164: Test timeout computed to be: 1500 -test 165 - Start 165: x86_64-invalid-version-script - -165: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/invalid-version-script.sh" -165: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -165: Environment variables: -165: MACHINE=x86_64 -165: CPU= -165: Test timeout computed to be: 1500 130: + grep -q 'fn4 () at .*/b.c:4' out/test/elf/x86_64/gdb-index-dwarf5/log +156: + cc -B. -o out/test/elf/x86_64/ifunc-noplt/exe1 out/test/elf/x86_64/ifunc-noplt/a.o -pie 130: + grep -q 'fn3 () at .*/b.c:8' out/test/elf/x86_64/gdb-index-dwarf5/log -130: + grep -q 'fn2 () at .*/a.c:4' out/test/elf/x86_64/gdb-index-dwarf5/log -130: + grep -q 'fn1 () at .*/a.c:8' out/test/elf/x86_64/gdb-index-dwarf5/log 162: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/init.sh +131: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf64/exe2 +131: + grep -Fq .gdb_index +130: + grep -q 'fn2 () at .*/a.c:4' out/test/elf/x86_64/gdb-index-dwarf5/log 162: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 162: ++ export LC_ALL=C 162: ++ LC_ALL=C @@ -9816,48 +9807,30 @@ 162: ++ echo -n 'Testing init ... ' 162: Testing init ... ++ t=out/test/elf/x86_64/init 162: ++ mkdir -p out/test/elf/x86_64/init -162: + cat +131: + grep -q 'Hello world' +131: + out/test/elf/x86_64/gdb-index-dwarf64/exe2 +130: + grep -q 'fn1 () at .*/a.c:8' out/test/elf/x86_64/gdb-index-dwarf5/log +131: + DEBUGINFOD_URLS= +131: + gdb out/test/elf/x86_64/gdb-index-dwarf64/exe2 -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit +130: + on_exit +130: + echo OK +130: OK +130: + exit 0 +151/369 Test #130: x86_64-gdb-index-dwarf5 .......................... Passed 1.32 sec +test 163 + Start 163: x86_64-initfirst + +163: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/initfirst.sh" +163: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +163: Environment variables: +163: MACHINE=x86_64 +163: CPU= +163: Test timeout computed to be: 1500 162: + cc -o out/test/elf/x86_64/init/a.o -c -xc - -161: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/init-in-dso.sh -161: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc -161: ++ export LC_ALL=C -161: ++ LC_ALL=C -161: ++ '[' -z x86_64 ']' -161: ++ '[' -z '' ']' -161: ++ TESTDIR=out/test/elf/x86_64 -161: ++ CC=cc -161: ++ CXX=c++ -161: ++ GCC=gcc -161: ++ GXX=g++ -161: ++ OBJDUMP=objdump -161: ++ OBJCOPY=objcopy -161: ++ STRIP=strip -161: ++ QEMU= -161: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' -161: ++ tlsdesc_opt=-mtls-dialect=gnu2 -161: ++ trap 'on_error $LINENO' ERR -161: ++ trap on_exit EXIT -161: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/init-in-dso.sh .sh -161: ++ testname=init-in-dso -161: ++ echo -n 'Testing init-in-dso ... ' -161: Testing init-in-dso ... ++ t=out/test/elf/x86_64/init-in-dso -161: ++ mkdir -p out/test/elf/x86_64/init-in-dso -161: + cat -161: + cc -shared -o out/test/elf/x86_64/init-in-dso/a.so -xc - -155: + out/test/elf/x86_64/ifunc-funcptr/exe1 -155: + grep -q '^3$' -155: + cc -B. -o out/test/elf/x86_64/ifunc-funcptr/exe2 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 -no-pie -157: + cc -B. -o out/test/elf/x86_64/ifunc-static-pie/exe2 out/test/elf/x86_64/ifunc-static-pie/a.o -static-pie -159: + '[' x86_64 = x86-64 -o x86_64 = aarch64 ']' -159: + on_exit -159: + echo OK -159: OK -159: + exit 0 -158: + cat -158: + cc -o out/test/elf/x86_64/ifunc-static/a.o -c -xc - -160: + cat -160: + cc -c -o out/test/elf/x86_64/init-array-priorities/c.o -xc - -131: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf64/exe2 +162: + cat +155: + cc -B. -o out/test/elf/x86_64/ifunc-funcptr/exe1 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 -pie +152: + out/test/elf/x86_64/ifunc-dso/exe +152: + grep -q 'Hello world' 163: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/initfirst.sh 163: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 163: ++ export LC_ALL=C @@ -9877,7 +9850,38 @@ 163: ++ tlsdesc_opt=-mtls-dialect=gnu2 163: ++ trap 'on_error $LINENO' ERR 163: ++ trap on_exit EXIT +163: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/initfirst.sh .sh +152: + on_exit +152: + echo OK +152: OK +152: + exit 0 +163: ++ testname=initfirst +152/369 Test #152: x86_64-ifunc-dso ................................. Passed 0.26 sec +test 164 + Start 164: x86_64-interpose + +164: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/interpose.sh" +164: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +164: Environment variables: +164: MACHINE=x86_64 +164: CPU= +164: Test timeout computed to be: 1500 +163: ++ echo -n 'Testing initfirst ... ' +163: Testing initfirst ... ++ t=out/test/elf/x86_64/initfirst +163: ++ mkdir -p out/test/elf/x86_64/initfirst +163: + cat +163: + cc -c -fPIC -o out/test/elf/x86_64/initfirst/a.o -xc - +153: + grep -q 'Hello world' +153: + out/test/elf/x86_64/ifunc-dynamic/exe2 +158: + supports_ifunc +158: + is_musl +158: + grep -q musl +158: + ldd --version 164: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/interpose.sh +157: + supports_ifunc +157: + is_musl +160: + cc -c -o out/test/elf/x86_64/init-array-priorities/c.o -xc - +157: + grep -q musl 164: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 164: ++ export LC_ALL=C 164: ++ LC_ALL=C @@ -9896,34 +9900,39 @@ 164: ++ tlsdesc_opt=-mtls-dialect=gnu2 164: ++ trap 'on_error $LINENO' ERR 164: ++ trap on_exit EXIT -164: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/interpose.sh .sh -154/369 Test #159: x86_64-image-base ................................ Passed 0.16 sec -test 166 - Start 166: x86_64-issue646 +160: + cat +158: + cc -c -o /dev/null -xc - +158: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +153: + on_exit +153: + echo OK +153: OK +153: + exit 0 +153/369 Test #153: x86_64-ifunc-dynamic ............................. Passed 0.24 sec +test 165 + Start 165: x86_64-invalid-version-script -166: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/issue646.sh" -166: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -166: Environment variables: -166: MACHINE=x86_64 -166: CPU= -166: Test timeout computed to be: 1500 -130: + on_exit -130: + echo OK -130: OK -130: + exit 0 -131: + grep -Fq .gdb_index -163: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/initfirst.sh .sh -163: ++ testname=initfirst -163: ++ echo -n 'Testing initfirst ... ' -163: Testing initfirst ... ++ t=out/test/elf/x86_64/initfirst -163: ++ mkdir -p out/test/elf/x86_64/initfirst +165: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/invalid-version-script.sh" +165: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +165: Environment variables: +165: MACHINE=x86_64 +165: CPU= +165: Test timeout computed to be: 1500 +157: + ldd --version +157: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +157: + cc -c -o /dev/null -xc - +164: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/interpose.sh .sh 164: ++ testname=interpose 164: ++ echo -n 'Testing interpose ... ' 164: Testing interpose ... ++ t=out/test/elf/x86_64/interpose 164: ++ mkdir -p out/test/elf/x86_64/interpose -164: + cat 164: + cc -c -fPIC -o out/test/elf/x86_64/interpose/a.o -xc - +159: + out/test/elf/x86_64/image-base/exe1 +159: + grep -q 'Hello world' +164: + cat 165: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/invalid-version-script.sh +161: + cc -o out/test/elf/x86_64/init-in-dso/b.o -c -xc - +159: + readelf -W --sections out/test/elf/x86_64/image-base/exe1 +159: + grep -Eq '.interp\s+PROGBITS\s+0*8000...\b' 165: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 165: ++ export LC_ALL=C 165: ++ LC_ALL=C @@ -9942,7 +9951,56 @@ 165: ++ tlsdesc_opt=-mtls-dialect=gnu2 165: ++ trap 'on_error $LINENO' ERR 165: ++ trap on_exit EXIT -155/369 Test #130: x86_64-gdb-index-dwarf5 .......................... Passed 1.13 sec +161: + cat +159: + cat +159: + cc -o out/test/elf/x86_64/image-base/b.o -c -xc - +162: + cc -B. -o out/test/elf/x86_64/init/exe out/test/elf/x86_64/init/a.o -Wl,-init,foo +165: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/invalid-version-script.sh .sh +156: + grep -q 'Hello world' +156: + out/test/elf/x86_64/ifunc-noplt/exe1 +165: ++ testname=invalid-version-script +165: ++ echo -n 'Testing invalid-version-script ... ' +165: Testing invalid-version-script ... ++ t=out/test/elf/x86_64/invalid-version-script +165: ++ mkdir -p out/test/elf/x86_64/invalid-version-script +156: + cc -B. -o out/test/elf/x86_64/ifunc-noplt/exe2 out/test/elf/x86_64/ifunc-noplt/a.o -no-pie +155: + out/test/elf/x86_64/ifunc-funcptr/exe1 +165: + echo 'int main() {}' +165: + cc -c -o out/test/elf/x86_64/invalid-version-script/a.o -xc - +155: + grep -q '^3$' +158: + cat +158: + cc -o out/test/elf/x86_64/ifunc-static/a.o -c -xc - +163: + cc -B. -shared -o out/test/elf/x86_64/initfirst/b.so out/test/elf/x86_64/initfirst/a.o -Wl,-z,initfirst +155: + cc -B. -o out/test/elf/x86_64/ifunc-funcptr/exe2 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 -no-pie +157: + cc -o out/test/elf/x86_64/ifunc-static-pie/a.o -c -xc - -fPIC +157: + cat +159: + '[' x86_64 = x86-64 -o x86_64 = aarch64 ']' +159: + on_exit +159: + echo OK +159: OK +159: + exit 0 +154/369 Test #159: x86_64-image-base ................................ Passed 0.15 sec +test 166 + Start 166: x86_64-issue646 + +166: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/issue646.sh" +166: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +166: Environment variables: +166: MACHINE=x86_64 +166: CPU= +166: Test timeout computed to be: 1500 +160: + cat +160: + cc -c -o out/test/elf/x86_64/init-array-priorities/d.o -xc - +161: + 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 +164: + cc -B. -shared -o out/test/elf/x86_64/interpose/b.so out/test/elf/x86_64/interpose/a.o -Wl,-z,interpose +163: + readelf --dynamic out/test/elf/x86_64/initfirst/b.so +163: + grep -q 'Flags:.*INITFIRST' +158: + cc -B. -o out/test/elf/x86_64/ifunc-static/exe out/test/elf/x86_64/ifunc-static/a.o -static +163: + on_exit +163: + echo OK +163: OK +163: + exit 0 +162: + grep -Fq '(INIT)' +155/369 Test #163: x86_64-initfirst ................................. Passed 0.09 sec test 167 Start 167: x86_64-large-alignment-dso @@ -9952,51 +10010,30 @@ 167: MACHINE=x86_64 167: CPU= 167: Test timeout computed to be: 1500 -131: + out/test/elf/x86_64/gdb-index-dwarf64/exe2 -131: + grep -q 'Hello world' -165: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/invalid-version-script.sh .sh -165: ++ testname=invalid-version-script -165: ++ echo -n 'Testing invalid-version-script ... ' -165: Testing invalid-version-script ... ++ t=out/test/elf/x86_64/invalid-version-script -165: ++ mkdir -p out/test/elf/x86_64/invalid-version-script -131: + DEBUGINFOD_URLS= -131: + gdb out/test/elf/x86_64/gdb-index-dwarf64/exe2 -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit +162: + readelf --dynamic out/test/elf/x86_64/init/exe +162: + cc -B. -o out/test/elf/x86_64/init/exe out/test/elf/x86_64/init/a.o -Wl,-init,no-such-symbol +156: + out/test/elf/x86_64/ifunc-noplt/exe2 +156: + grep -q 'Hello world' +156: + on_exit +156: + echo OK +156: OK +156: + exit 0 +165: + echo 'VER1 { foo[12; };' +165: + 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 166: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/issue646.sh -163: + cat -163: + cc -c -fPIC -o out/test/elf/x86_64/initfirst/a.o -xc - -167: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/large-alignment-dso.sh 166: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 166: ++ export LC_ALL=C 166: ++ LC_ALL=C 166: ++ '[' -z x86_64 ']' -167: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc -167: ++ export LC_ALL=C -167: ++ LC_ALL=C 166: ++ '[' -z '' ']' 166: ++ TESTDIR=out/test/elf/x86_64 -167: ++ '[' -z x86_64 ']' 166: ++ CC=cc -167: ++ '[' -z '' ']' -167: ++ TESTDIR=out/test/elf/x86_64 -167: ++ CC=cc -167: ++ CXX=c++ -167: ++ GCC=gcc -167: ++ GXX=g++ -167: ++ OBJDUMP=objdump -167: ++ OBJCOPY=objcopy -167: ++ STRIP=strip -167: ++ QEMU= -167: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' -167: ++ tlsdesc_opt=-mtls-dialect=gnu2 166: ++ CXX=c++ -167: ++ trap 'on_error $LINENO' ERR -167: ++ trap on_exit EXIT 166: ++ GCC=gcc 166: ++ GXX=g++ 166: ++ OBJDUMP=objdump 166: ++ OBJCOPY=objcopy 166: ++ STRIP=strip -165: + cc -c -o out/test/elf/x86_64/invalid-version-script/a.o -xc - 166: ++ QEMU= 166: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 166: ++ tlsdesc_opt=-mtls-dialect=gnu2 @@ -10007,30 +10044,19 @@ 166: ++ echo -n 'Testing issue646 ... ' 166: Testing issue646 ... ++ t=out/test/elf/x86_64/issue646 166: ++ mkdir -p out/test/elf/x86_64/issue646 -167: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/large-alignment-dso.sh .sh -165: + echo 'int main() {}' -167: ++ testname=large-alignment-dso -167: ++ echo -n 'Testing large-alignment-dso ... ' -167: Testing large-alignment-dso ... ++ t=out/test/elf/x86_64/large-alignment-dso -167: ++ mkdir -p out/test/elf/x86_64/large-alignment-dso 166: + '[' x86_64 = m68k ']' 166: + '[' x86_64 = sh4 ']' 166: + cat -167: + '[' x86_64 = i686 ']' 166: + c++ -o out/test/elf/x86_64/issue646/a.o -c -xc++ - -167: + cat -167: + cc -o out/test/elf/x86_64/large-alignment-dso/a.o -c -xc - -ffunction-sections -fPIC -160: + cat -158: + cc -B. -o out/test/elf/x86_64/ifunc-static/exe out/test/elf/x86_64/ifunc-static/a.o -static -160: + cc -c -o out/test/elf/x86_64/init-array-priorities/d.o -xc - -155: + out/test/elf/x86_64/ifunc-funcptr/exe2 -163: + cc -B. -shared -o out/test/elf/x86_64/initfirst/b.so out/test/elf/x86_64/initfirst/a.o -Wl,-z,initfirst 155: + grep -q '^3$' +155: + out/test/elf/x86_64/ifunc-funcptr/exe2 155: + on_exit 155: + echo OK 155: OK 155: + exit 0 -156/369 Test #155: x86_64-ifunc-funcptr ............................. Passed 0.25 sec +157: + cc -B. -o out/test/elf/x86_64/ifunc-static-pie/exe2 out/test/elf/x86_64/ifunc-static-pie/a.o -static-pie +156/369 Test #155: x86_64-ifunc-funcptr ............................. Passed 0.28 sec +157/369 Test #156: x86_64-ifunc-noplt ............................... Passed 0.23 sec test 168 Start 168: x86_64-large-alignment @@ -10040,14 +10066,44 @@ 168: MACHINE=x86_64 168: CPU= 168: Test timeout computed to be: 1500 -164: + cc -B. -shared -o out/test/elf/x86_64/interpose/b.so out/test/elf/x86_64/interpose/a.o -Wl,-z,interpose -165: + echo 'VER1 { foo[12; };' -165: + 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 -162: + cc -B. -o out/test/elf/x86_64/init/exe out/test/elf/x86_64/init/a.o -Wl,-init,foo -160: + cat +test 169 + Start 169: x86_64-large-max-page-size-strip + +169: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/large-max-page-size-strip.sh" +169: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +169: Environment variables: +169: MACHINE=x86_64 +169: CPU= +169: Test timeout computed to be: 1500 160: + cc -c -o out/test/elf/x86_64/init-array-priorities/e.o -xc - -161: + cat -161: + cc -o out/test/elf/x86_64/init-in-dso/b.o -c -xc - +160: + cat +167: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/large-alignment-dso.sh +167: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc +167: ++ export LC_ALL=C +167: ++ LC_ALL=C +167: ++ '[' -z x86_64 ']' +167: ++ '[' -z '' ']' +167: ++ TESTDIR=out/test/elf/x86_64 +167: ++ CC=cc +167: ++ CXX=c++ +167: ++ GCC=gcc +167: ++ GXX=g++ +167: ++ OBJDUMP=objdump +167: ++ OBJCOPY=objcopy +167: ++ STRIP=strip +167: ++ QEMU= +167: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' +167: ++ tlsdesc_opt=-mtls-dialect=gnu2 +167: ++ trap 'on_error $LINENO' ERR +167: ++ trap on_exit EXIT +167: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/large-alignment-dso.sh .sh +167: ++ testname=large-alignment-dso +167: ++ echo -n 'Testing large-alignment-dso ... ' +167: Testing large-alignment-dso ... ++ t=out/test/elf/x86_64/large-alignment-dso +167: ++ mkdir -p out/test/elf/x86_64/large-alignment-dso +161: + readelf --dynamic out/test/elf/x86_64/init-in-dso/exe +164: + readelf --dynamic out/test/elf/x86_64/interpose/b.so +164: + grep -q 'Flags:.*INTERPOSE' 168: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/large-alignment.sh 168: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 168: ++ export LC_ALL=C @@ -10068,70 +10124,7 @@ 168: ++ trap 'on_error $LINENO' ERR 168: ++ trap on_exit EXIT 168: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/large-alignment.sh .sh -168: ++ testname=large-alignment -168: ++ echo -n 'Testing large-alignment ... ' -168: Testing large-alignment ... ++ t=out/test/elf/x86_64/large-alignment -168: ++ mkdir -p out/test/elf/x86_64/large-alignment -168: + '[' x86_64 = i686 ']' -168: + cat -168: + cc -o out/test/elf/x86_64/large-alignment/a.o -c -xc - -ffunction-sections -164: + readelf --dynamic out/test/elf/x86_64/interpose/b.so -167: + cc -B. -o out/test/elf/x86_64/large-alignment-dso/b.so out/test/elf/x86_64/large-alignment-dso/a.o -shared -164: + grep -q 'Flags:.*INTERPOSE' -164: + on_exit -164: + echo OK -164: OK -164: + exit 0 -157/369 Test #164: x86_64-interpose ................................. Passed 0.10 sec -test 169 - Start 169: x86_64-large-max-page-size-strip - -169: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/large-max-page-size-strip.sh" -169: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -169: Environment variables: -169: MACHINE=x86_64 -169: CPU= -169: Test timeout computed to be: 1500 -165: + grep -q 'invalid version pattern' out/test/elf/x86_64/invalid-version-script/log -165: + on_exit -165: + echo OK -165: OK -165: + exit 0 -160: + cc -c -o out/test/elf/x86_64/init-array-priorities/f.o -xc - -160: + cat -163: + readelf --dynamic out/test/elf/x86_64/initfirst/b.so -163: + grep -q 'Flags:.*INITFIRST' -163: + on_exit -163: + echo OK -163: OK -163: + exit 0 -157: + grep -q 'Hello world' 169: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/large-max-page-size-strip.sh -158/369 Test #163: x86_64-initfirst ................................. Passed 0.12 sec -159/369 Test #165: x86_64-invalid-version-script .................... Passed 0.11 sec -test 170 - Start 170: x86_64-large-max-page-size - -170: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/large-max-page-size.sh" -170: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -170: Environment variables: -170: MACHINE=x86_64 -170: CPU= -170: Test timeout computed to be: 1500 -test 171 - Start 171: x86_64-large-text - -171: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/large-text.sh" -171: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -171: Environment variables: -171: MACHINE=x86_64 -171: CPU= -171: Test timeout computed to be: 1500 -157: + out/test/elf/x86_64/ifunc-static-pie/exe2 -157: + on_exit -157: + echo OK -157: OK -157: + exit 0 169: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 169: ++ export LC_ALL=C 169: ++ LC_ALL=C @@ -10151,24 +10144,78 @@ 169: ++ trap 'on_error $LINENO' ERR 169: ++ trap on_exit EXIT 169: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/large-max-page-size-strip.sh .sh +168: ++ testname=large-alignment +168: ++ echo -n 'Testing large-alignment ... ' +168: Testing large-alignment ... ++ t=out/test/elf/x86_64/large-alignment +168: ++ mkdir -p out/test/elf/x86_64/large-alignment 169: ++ testname=large-max-page-size-strip 169: ++ echo -n 'Testing large-max-page-size-strip ... ' 169: Testing large-max-page-size-strip ... ++ t=out/test/elf/x86_64/large-max-page-size-strip 169: ++ mkdir -p out/test/elf/x86_64/large-max-page-size-strip +161: + grep -Fq '(INIT)' out/test/elf/x86_64/init-in-dso/log +167: + '[' x86_64 = i686 ']' +164: + on_exit +164: + echo OK +164: OK +164: + exit 0 +167: + cat +167: + cc -o out/test/elf/x86_64/large-alignment-dso/a.o -c -xc - -ffunction-sections -fPIC +158/369 Test #164: x86_64-interpose ................................. Passed 0.14 sec +test 170 + Start 170: x86_64-large-max-page-size + +170: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/large-max-page-size.sh" +170: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +170: Environment variables: +170: MACHINE=x86_64 +170: CPU= +170: Test timeout computed to be: 1500 +168: + '[' x86_64 = i686 ']' +168: + cat +168: + cc -o out/test/elf/x86_64/large-alignment/a.o -c -xc - -ffunction-sections +162: + readelf --dynamic out/test/elf/x86_64/init/exe 169: + '[' x86_64 = arm ']' 169: + strip=strip 169: + command -v strip -162: + readelf --dynamic out/test/elf/x86_64/init/exe -162: + grep -Fq '(INIT)' -162: + cc -B. -o out/test/elf/x86_64/init/exe out/test/elf/x86_64/init/a.o -Wl,-init,no-such-symbol +165: + grep -q 'invalid version pattern' out/test/elf/x86_64/invalid-version-script/log +161: + on_exit +161: + echo OK +161: OK +161: + exit 0 +159/369 Test #161: x86_64-init-in-dso ............................... Passed 0.20 sec +test 171 + Start 171: x86_64-large-text + +171: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/large-text.sh" +171: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +171: Environment variables: +171: MACHINE=x86_64 +171: CPU= +171: Test timeout computed to be: 1500 +162: + grep -Fq '(INIT)' out/test/elf/x86_64/init/log +169: + cat +169: + cc -o out/test/elf/x86_64/large-max-page-size-strip/a.o -c -xc - -fPIC 158: + out/test/elf/x86_64/ifunc-static/exe 158: + grep -q 'Hello world' +170: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/large-max-page-size.sh +162: + on_exit +162: + echo OK +162: OK +162: + exit 0 158: + on_exit 158: + echo OK 158: OK 158: + exit 0 -161: + 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 -170: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/large-max-page-size.sh +160/369 Test #162: x86_64-init ...................................... Passed 0.17 sec +test 172 + Start 172: x86_64-link-order + +172: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/link-order.sh" +172: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +172: Environment variables: +172: MACHINE=x86_64 +172: CPU= +172: Test timeout computed to be: 1500 170: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 170: ++ export LC_ALL=C 170: ++ LC_ALL=C @@ -10187,28 +10234,6 @@ 170: ++ tlsdesc_opt=-mtls-dialect=gnu2 170: ++ trap 'on_error $LINENO' ERR 170: ++ trap on_exit EXIT -160/369 Test #157: x86_64-ifunc-static-pie .......................... Passed 0.29 sec -161/369 Test #158: x86_64-ifunc-static .............................. Passed 0.29 sec -test 172 - Start 172: x86_64-link-order - -172: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/link-order.sh" -172: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -172: Environment variables: -172: MACHINE=x86_64 -172: CPU= -172: Test timeout computed to be: 1500 -test 173 - Start 173: x86_64-linker-script-defsym - -173: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/linker-script-defsym.sh" -173: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -173: Environment variables: -173: MACHINE=x86_64 -173: CPU= -173: Test timeout computed to be: 1500 -169: + cat -169: + cc -o out/test/elf/x86_64/large-max-page-size-strip/a.o -c -xc - -fPIC 170: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/large-max-page-size.sh .sh 170: ++ testname=large-max-page-size 170: ++ echo -n 'Testing large-max-page-size ... ' @@ -10234,42 +10259,44 @@ 171: ++ trap 'on_error $LINENO' ERR 171: ++ trap on_exit EXIT 171: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/large-text.sh .sh +165: + on_exit +165: + echo OK +165: OK +165: + exit 0 +157: + grep -q 'Hello world' +161/369 Test #158: x86_64-ifunc-static .............................. Passed 0.27 sec +162/369 Test #165: x86_64-invalid-version-script .................... Passed 0.14 sec +test 173 + Start 173: x86_64-linker-script-defsym + +173: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/linker-script-defsym.sh" +173: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +173: Environment variables: +173: MACHINE=x86_64 +173: CPU= +173: Test timeout computed to be: 1500 +test 174 + Start 174: x86_64-linker-script-relocatable + +174: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/linker-script-relocatable.sh" +174: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +174: Environment variables: +174: MACHINE=x86_64 +174: CPU= +174: Test timeout computed to be: 1500 +170: + cc -o out/test/elf/x86_64/large-max-page-size/a.o -c -xc - -fPIC +170: + cat 171: ++ testname=large-text 171: ++ echo -n 'Testing large-text ... ' 171: Testing large-text ... ++ t=out/test/elf/x86_64/large-text 171: ++ mkdir -p out/test/elf/x86_64/large-text -171: + cat 171: + cc -o out/test/elf/x86_64/large-text/a.o -c -xassembler - -167: + cat -167: + cc -o out/test/elf/x86_64/large-alignment-dso/c.o -c -xc - -168: + cc -B. -o out/test/elf/x86_64/large-alignment/exe out/test/elf/x86_64/large-alignment/a.o -172: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/link-order.sh -172: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc -172: ++ export LC_ALL=C -172: ++ LC_ALL=C -172: ++ '[' -z x86_64 ']' -172: ++ '[' -z '' ']' -172: ++ TESTDIR=out/test/elf/x86_64 -172: ++ CC=cc -172: ++ CXX=c++ -172: ++ GCC=gcc -172: ++ GXX=g++ -172: ++ OBJDUMP=objdump -172: ++ OBJCOPY=objcopy -172: ++ STRIP=strip -172: ++ QEMU= -172: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' -172: ++ tlsdesc_opt=-mtls-dialect=gnu2 -172: ++ trap 'on_error $LINENO' ERR -172: ++ trap on_exit EXIT -172: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/link-order.sh .sh -172: ++ testname=link-order -172: ++ echo -n 'Testing link-order ... ' -172: Testing link-order ... ++ t=out/test/elf/x86_64/link-order -172: ++ mkdir -p out/test/elf/x86_64/link-order -170: + cat -170: + cc -o out/test/elf/x86_64/large-max-page-size/a.o -c -xc - -fPIC -172: + cat +171: + cat +157: + out/test/elf/x86_64/ifunc-static-pie/exe2 +157: + on_exit +157: + echo OK +157: OK +157: + exit 0 173: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/linker-script-defsym.sh 173: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 173: ++ export LC_ALL=C @@ -10290,33 +10317,22 @@ 173: ++ trap 'on_error $LINENO' ERR 173: ++ trap on_exit EXIT 173: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/linker-script-defsym.sh .sh -172: + cc -fPIC -c -o out/test/elf/x86_64/link-order/a.o -xc - 173: ++ testname=linker-script-defsym 173: ++ echo -n 'Testing linker-script-defsym ... ' 173: Testing linker-script-defsym ... ++ t=out/test/elf/x86_64/linker-script-defsym 173: ++ mkdir -p out/test/elf/x86_64/linker-script-defsym -160: + cc -c -o out/test/elf/x86_64/init-array-priorities/g.o -xc - -160: + cat -173: + cc -o out/test/elf/x86_64/linker-script-defsym/a.o -c -xc - -173: + cat -167: + 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 -162: + readelf --dynamic out/test/elf/x86_64/init/exe -162: + grep -Fq '(INIT)' out/test/elf/x86_64/init/log -162: + on_exit -162: + echo OK -162: OK -162: + exit 0 -162/369 Test #162: x86_64-init ...................................... Passed 0.18 sec -test 174 - Start 174: x86_64-linker-script-relocatable +163/369 Test #157: x86_64-ifunc-static-pie .......................... Passed 0.28 sec +test 175 + Start 175: x86_64-linker-script -174: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/linker-script-relocatable.sh" -174: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -174: Environment variables: -174: MACHINE=x86_64 -174: CPU= -174: Test timeout computed to be: 1500 -169: + 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 +175: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/linker-script.sh" +175: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +175: Environment variables: +175: MACHINE=x86_64 +175: CPU= +175: Test timeout computed to be: 1500 +173: + cat +173: + cc -o out/test/elf/x86_64/linker-script-defsym/a.o -c -xc - 174: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/linker-script-relocatable.sh 174: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 174: ++ export LC_ALL=C @@ -10337,52 +10353,34 @@ 174: ++ trap 'on_error $LINENO' ERR 174: ++ trap on_exit EXIT 174: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/linker-script-relocatable.sh .sh -171: + cat -170: + 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 -171: + cc -o out/test/elf/x86_64/large-text/b.o -c -xc - 174: ++ testname=linker-script-relocatable 174: ++ echo -n 'Testing linker-script-relocatable ... ' 174: Testing linker-script-relocatable ... ++ t=out/test/elf/x86_64/linker-script-relocatable 174: ++ mkdir -p out/test/elf/x86_64/linker-script-relocatable -161: + readelf --dynamic out/test/elf/x86_64/init-in-dso/exe -173: + cat -172: + cc -B. -shared -o out/test/elf/x86_64/link-order/libfoo.so out/test/elf/x86_64/link-order/a.o -160: + cat -168: + out/test/elf/x86_64/large-alignment/exe -160: + cc -c -o out/test/elf/x86_64/init-array-priorities/h.o -xc - -173: + 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 -168: + grep -q 'Hello world' -161: + grep -Fq '(INIT)' out/test/elf/x86_64/init-in-dso/log -168: + on_exit -168: + echo OK -168: OK -168: + exit 0 -163/369 Test #168: x86_64-large-alignment ........................... Passed 0.13 sec -test 175 - Start 175: x86_64-linker-script - -175: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/linker-script.sh" -175: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -175: Environment variables: -175: MACHINE=x86_64 -175: CPU= -175: Test timeout computed to be: 1500 -161: + on_exit -161: + echo OK -161: OK -161: + exit 0 -174: + nm mold -164/369 Test #161: x86_64-init-in-dso ............................... Passed 0.22 sec -test 176 - Start 176: x86_64-linker-script2 - -176: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/linker-script2.sh" -176: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -176: Environment variables: -176: MACHINE=x86_64 -176: CPU= -176: Test timeout computed to be: 1500 -174: + grep -q __tsan_init +172: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/link-order.sh +172: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc +172: ++ export LC_ALL=C +172: ++ LC_ALL=C +172: ++ '[' -z x86_64 ']' +172: ++ '[' -z '' ']' +172: ++ TESTDIR=out/test/elf/x86_64 +172: ++ CC=cc +172: ++ CXX=c++ +172: ++ GCC=gcc +172: ++ GXX=g++ +172: ++ OBJDUMP=objdump +172: ++ OBJCOPY=objcopy +172: ++ STRIP=strip +172: ++ QEMU= +172: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' +172: ++ tlsdesc_opt=-mtls-dialect=gnu2 +172: ++ trap 'on_error $LINENO' ERR +172: ++ trap on_exit EXIT +172: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/link-order.sh .sh +172: ++ testname=link-order +172: ++ echo -n 'Testing link-order ... ' +172: Testing link-order ... ++ t=out/test/elf/x86_64/link-order +172: ++ mkdir -p out/test/elf/x86_64/link-order 175: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/linker-script.sh 175: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 175: ++ export LC_ALL=C @@ -10402,18 +10400,58 @@ 175: ++ tlsdesc_opt=-mtls-dialect=gnu2 175: ++ trap 'on_error $LINENO' ERR 175: ++ trap on_exit EXIT -167: + out/test/elf/x86_64/large-alignment-dso/exe 175: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/linker-script.sh .sh -167: + grep -q 'Hello world' 175: ++ testname=linker-script 175: ++ echo -n 'Testing linker-script ... ' 175: Testing linker-script ... ++ t=out/test/elf/x86_64/linker-script 175: ++ mkdir -p out/test/elf/x86_64/linker-script -167: + on_exit -167: + echo OK -167: OK -167: + exit 0 -165/369 Test #167: x86_64-large-alignment-dso ....................... Passed 0.20 sec +174: + nm mold +174: + grep -q __tsan_init +175: + cat +172: + cc -fPIC -c -o out/test/elf/x86_64/link-order/a.o -xc - +172: + cat +167: + cc -B. -o out/test/elf/x86_64/large-alignment-dso/b.so out/test/elf/x86_64/large-alignment-dso/a.o -shared +160: + cc -c -o out/test/elf/x86_64/init-array-priorities/f.o -xc - +160: + cat +175: + cc -o out/test/elf/x86_64/linker-script/a.o -c -xc - +170: + 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 +168: + cc -B. -o out/test/elf/x86_64/large-alignment/exe out/test/elf/x86_64/large-alignment/a.o +169: + 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 +167: + cat +167: + cc -o out/test/elf/x86_64/large-alignment-dso/c.o -c -xc - +171: + cc -o out/test/elf/x86_64/large-text/b.o -c -xc - +171: + cat +173: + cat +173: + 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 +131: + grep -q 'fn8 () at .*/d.c:6' out/test/elf/x86_64/gdb-index-dwarf64/log2 +168: + out/test/elf/x86_64/large-alignment/exe +131: + grep -q 'fn7 () at .*/d.c:10' out/test/elf/x86_64/gdb-index-dwarf64/log2 +170: + grep -q 'Hello world' +170: + out/test/elf/x86_64/large-max-page-size/exe +168: + grep -q 'Hello world' +170: + on_exit +170: + echo OK +170: OK +170: + exit 0 +164/369 Test #170: x86_64-large-max-page-size ....................... Passed 0.15 sec +test 176 + Start 176: x86_64-linker-script2 + +176: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/linker-script2.sh" +176: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +176: Environment variables: +176: MACHINE=x86_64 +176: CPU= +176: Test timeout computed to be: 1500 +168: + on_exit +168: + echo OK +168: OK +168: + exit 0 +131: + grep -q 'fn6 () at .*/c.c:4' out/test/elf/x86_64/gdb-index-dwarf64/log2 +131: + grep -q 'fn5 () at .*/c.c:8' out/test/elf/x86_64/gdb-index-dwarf64/log2 +131: + grep -q 'fn4 () at .*/b.c:4' out/test/elf/x86_64/gdb-index-dwarf64/log2 +169: + strip out/test/elf/x86_64/large-max-page-size-strip/exe +165/369 Test #168: x86_64-large-alignment ........................... Passed 0.19 sec test 177 Start 177: x86_64-linker-script3 @@ -10423,7 +10461,9 @@ 177: MACHINE=x86_64 177: CPU= 177: Test timeout computed to be: 1500 +131: + grep -q 'fn3 () at .*/b.c:8' out/test/elf/x86_64/gdb-index-dwarf64/log2 176: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/linker-script2.sh +131: + grep -q 'fn2 () at .*/a.c:4' out/test/elf/x86_64/gdb-index-dwarf64/log2 176: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 176: ++ export LC_ALL=C 176: ++ LC_ALL=C @@ -10443,17 +10483,26 @@ 176: ++ trap 'on_error $LINENO' ERR 176: ++ trap on_exit EXIT 176: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/linker-script2.sh .sh -169: + strip out/test/elf/x86_64/large-max-page-size-strip/exe -175: + cc -o out/test/elf/x86_64/linker-script/a.o -c -xc - -175: + cat +131: + grep -q 'fn1 () at .*/a.c:8' out/test/elf/x86_64/gdb-index-dwarf64/log2 +177: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/linker-script3.sh 176: ++ testname=linker-script2 176: ++ echo -n 'Testing linker-script2 ... ' 176: Testing linker-script2 ... ++ t=out/test/elf/x86_64/linker-script2 176: ++ mkdir -p out/test/elf/x86_64/linker-script2 -177: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/linker-script3.sh -176: + cat -176: + cc -o out/test/elf/x86_64/linker-script2/a.o -c -xc - -169: + out/test/elf/x86_64/large-max-page-size-strip/exe +131: + on_exit +131: + echo OK +131: OK +131: + exit 0 +166/369 Test #131: x86_64-gdb-index-dwarf64 ......................... Passed 1.63 sec +test 178 + Start 178: x86_64-linker-script4 + +178: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/linker-script4.sh" +178: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +178: Environment variables: +178: MACHINE=x86_64 +178: CPU= +178: Test timeout computed to be: 1500 177: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 177: ++ export LC_ALL=C 177: ++ LC_ALL=C @@ -10472,53 +10521,19 @@ 177: ++ tlsdesc_opt=-mtls-dialect=gnu2 177: ++ trap 'on_error $LINENO' ERR 177: ++ trap on_exit EXIT -169: + grep -q 'Hello world' 177: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/linker-script3.sh .sh -169: + on_exit -169: + echo OK -169: OK -169: + exit 0 -166/369 Test #169: x86_64-large-max-page-size-strip ................. Passed 0.13 sec -test 178 - Start 178: x86_64-linker-script4 - -178: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/linker-script4.sh" -178: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -178: Environment variables: -178: MACHINE=x86_64 -178: CPU= -178: Test timeout computed to be: 1500 -170: + grep -q 'Hello world' -170: + out/test/elf/x86_64/large-max-page-size/exe -170: + on_exit -170: + echo OK -170: OK -170: + exit 0 177: ++ testname=linker-script3 177: ++ echo -n 'Testing linker-script3 ... ' 177: Testing linker-script3 ... ++ t=out/test/elf/x86_64/linker-script3 177: ++ mkdir -p out/test/elf/x86_64/linker-script3 -177: + mkdir -p out/test/elf/x86_64/linker-script3/foo -171: + 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 -167/369 Test #170: x86_64-large-max-page-size ....................... Passed 0.12 sec -test 179 - Start 179: x86_64-linker-script5 - -179: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/linker-script5.sh" -179: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -179: Environment variables: -179: MACHINE=x86_64 -179: CPU= -179: Test timeout computed to be: 1500 -177: + cat -177: + cc -o out/test/elf/x86_64/linker-script3/foo/a.o -c -xc - -160: + cat -160: + cc -c -o out/test/elf/x86_64/init-array-priorities/i.o -xc - +176: + cat +176: + cc -o out/test/elf/x86_64/linker-script2/a.o -c -xc - +173: + readelf -sW out/test/elf/x86_64/linker-script-defsym/b.so +173: + grep -q 'FUNC .* bar' +174: + cat +174: + cc -c -o out/test/elf/x86_64/linker-script-relocatable/a.o -xc - 178: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/linker-script4.sh -172: + ar crs out/test/elf/x86_64/link-order/libfoo.a out/test/elf/x86_64/link-order/a.o -172: + cat -172: + cc -c -o out/test/elf/x86_64/link-order/b.o -xc - -179: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/linker-script5.sh +177: + mkdir -p out/test/elf/x86_64/linker-script3/foo 178: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 178: ++ export LC_ALL=C 178: ++ LC_ALL=C @@ -10537,6 +10552,46 @@ 178: ++ tlsdesc_opt=-mtls-dialect=gnu2 178: ++ trap 'on_error $LINENO' ERR 178: ++ trap on_exit EXIT +178: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/linker-script4.sh .sh +177: + cat +177: + cc -o out/test/elf/x86_64/linker-script3/foo/a.o -c -xc - +173: + cat +173: + cc -o out/test/elf/x86_64/linker-script-defsym/c.o -c -xc - +178: ++ testname=linker-script4 +178: ++ echo -n 'Testing linker-script4 ... ' +178: Testing linker-script4 ... ++ t=out/test/elf/x86_64/linker-script4 +178: ++ mkdir -p out/test/elf/x86_64/linker-script4 +178: + echo 'VERSION { ver_x { global: *; }; };' +178: + cat +178: + 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 +175: + cat +160: + cat +160: + cc -c -o out/test/elf/x86_64/init-array-priorities/g.o -xc - +175: + cc -B. -o out/test/elf/x86_64/linker-script/exe out/test/elf/x86_64/linker-script/script +169: + out/test/elf/x86_64/large-max-page-size-strip/exe +169: + grep -q 'Hello world' +167: + 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 +171: + 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 +172: + cc -B. -shared -o out/test/elf/x86_64/link-order/libfoo.so out/test/elf/x86_64/link-order/a.o +169: + on_exit +169: + echo OK +169: OK +169: + exit 0 +167/369 Test #169: x86_64-large-max-page-size-strip ................. Passed 0.26 sec +test 179 + Start 179: x86_64-linker-script5 + +179: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/linker-script5.sh" +179: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +179: Environment variables: +179: MACHINE=x86_64 +179: CPU= +179: Test timeout computed to be: 1500 +177: + cat +177: + 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 +174: + cat +174: + cc -c -o out/test/elf/x86_64/linker-script-relocatable/b.o -xc - +179: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/linker-script5.sh 179: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 179: ++ export LC_ALL=C 179: ++ LC_ALL=C @@ -10557,49 +10612,36 @@ 179: ++ trap on_exit EXIT 179: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/linker-script5.sh .sh 176: + mkdir -p out/test/elf/x86_64/linker-script2/foo/bar -173: + readelf -sW out/test/elf/x86_64/linker-script-defsym/b.so -178: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/linker-script4.sh .sh -178: ++ testname=linker-script4 -178: ++ echo -n 'Testing linker-script4 ... ' -173: + grep -q 'FUNC .* bar' -178: Testing linker-script4 ... ++ t=out/test/elf/x86_64/linker-script4 -178: ++ mkdir -p out/test/elf/x86_64/linker-script4 -173: + cat 179: ++ testname=linker-script5 179: ++ echo -n 'Testing linker-script5 ... ' 179: Testing linker-script5 ... ++ t=out/test/elf/x86_64/linker-script5 179: ++ mkdir -p out/test/elf/x86_64/linker-script5 -173: + cc -o out/test/elf/x86_64/linker-script-defsym/c.o -c -xc - -176: + rm -f out/test/elf/x86_64/linker-script2/foo/bar/libfoo.a -178: + echo 'VERSION { ver_x { global: *; }; };' -178: + cat 179: + mkdir -p out/test/elf/x86_64/linker-script5/foo -175: + cat -176: + ar rcs out/test/elf/x86_64/linker-script2/foo/bar/libfoo.a out/test/elf/x86_64/linker-script2/a.o -175: + cc -B. -o out/test/elf/x86_64/linker-script/exe out/test/elf/x86_64/linker-script/script -179: + cat 179: + cc -o out/test/elf/x86_64/linker-script5/foo/a.o -c -xc - -176: + cat -176: + 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 -160: + 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 -172: + 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 -178: + 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 -177: + cat -177: + 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 179: + cat -179: + cc -B. -o out/test/elf/x86_64/linker-script5/exe out/test/elf/x86_64/linker-script5/foo/b.script -175: + out/test/elf/x86_64/linker-script/exe +176: + rm -f out/test/elf/x86_64/linker-script2/foo/bar/libfoo.a +176: + ar rcs out/test/elf/x86_64/linker-script2/foo/bar/libfoo.a out/test/elf/x86_64/linker-script2/a.o +172: + ar crs out/test/elf/x86_64/link-order/libfoo.a out/test/elf/x86_64/link-order/a.o +178: + readelf --version-info out/test/elf/x86_64/linker-script4/c.so +160: + cc -c -o out/test/elf/x86_64/init-array-priorities/h.o -xc - +176: + cat +160: + cat 173: + 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 +178: + grep -Fq 'Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x' out/test/elf/x86_64/linker-script4/log +166: + c++ -B. -o out/test/elf/x86_64/issue646/exe out/test/elf/x86_64/issue646/a.o +172: + cat +175: + out/test/elf/x86_64/linker-script/exe 175: + grep -q 'Hello world' +172: + cc -c -o out/test/elf/x86_64/link-order/b.o -xc - +167: + grep -q 'Hello world' +167: + out/test/elf/x86_64/large-alignment-dso/exe +176: + 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 175: + cc -B. -o out/test/elf/x86_64/linker-script/exe -Wl,-T,out/test/elf/x86_64/linker-script/script -172: + readelf --dynamic out/test/elf/x86_64/link-order/exe -178: + readelf --version-info out/test/elf/x86_64/linker-script4/c.so -172: + grep -q libfoo -176: + on_exit -176: + echo OK -176: OK -176: + exit 0 -168/369 Test #176: x86_64-linker-script2 ............................ Passed 0.12 sec +178: + on_exit +178: + echo OK +178: OK +178: + exit 0 +168/369 Test #178: x86_64-linker-script4 ............................ Passed 0.20 sec test 180 Start 180: x86_64-linker-script6 @@ -10609,26 +10651,6 @@ 180: MACHINE=x86_64 180: CPU= 180: Test timeout computed to be: 1500 -177: + on_exit -177: + echo OK -177: OK -177: + exit 0 -172: + 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 -169/369 Test #177: x86_64-linker-script3 ............................ Passed 0.12 sec -test 181 - Start 181: x86_64-lto-archive - -181: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/lto-archive.sh" -181: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -181: Environment variables: -181: MACHINE=x86_64 -181: CPU= -181: Test timeout computed to be: 1500 -178: + grep -Fq 'Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x' out/test/elf/x86_64/linker-script4/log -178: + on_exit -178: + echo OK -178: OK -178: + exit 0 180: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/linker-script6.sh 180: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 180: ++ export LC_ALL=C @@ -10649,19 +10671,34 @@ 180: ++ trap 'on_error $LINENO' ERR 180: ++ trap on_exit EXIT 180: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/linker-script6.sh .sh -160: + out/test/elf/x86_64/init-array-priorities/exe -160: + grep -q 21348756 -160: + on_exit -160: + echo OK -160: OK -160: + exit 0 -171: + grep -q 'Hello world' -171: + out/test/elf/x86_64/large-text/exe -171: + on_exit -171: + echo OK -171: OK -171: + exit 0 -170/369 Test #178: x86_64-linker-script4 ............................ Passed 0.11 sec +180: ++ testname=linker-script6 +180: ++ echo -n 'Testing linker-script6 ... ' +180: Testing linker-script6 ... ++ t=out/test/elf/x86_64/linker-script6 +180: ++ mkdir -p out/test/elf/x86_64/linker-script6 +180: + mkdir -p out/test/elf/x86_64/linker-script6/foo +180: + cat +180: + cc -o out/test/elf/x86_64/linker-script6/foo/a.o -c -xc - +167: + on_exit +167: + echo OK +167: OK +167: + exit 0 +169/369 Test #167: x86_64-large-alignment-dso ....................... Passed 0.46 sec +test 181 + Start 181: x86_64-lto-archive + +181: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/lto-archive.sh" +181: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +181: Environment variables: +181: MACHINE=x86_64 +181: CPU= +181: Test timeout computed to be: 1500 +174: + echo 'INPUT(out/test/elf/x86_64/linker-script-relocatable/a.o out/test/elf/x86_64/linker-script-relocatable/b.o)' +174: + ./mold --relocatable -o out/test/elf/x86_64/linker-script-relocatable/d.o out/test/elf/x86_64/linker-script-relocatable/c.script +177: + on_exit +177: + echo OK +177: OK +177: + exit 0 +170/369 Test #177: x86_64-linker-script3 ............................ Passed 0.27 sec test 182 Start 182: x86_64-lto-archive2 @@ -10671,16 +10708,6 @@ 182: MACHINE=x86_64 182: CPU= 182: Test timeout computed to be: 1500 -180: ++ testname=linker-script6 -180: ++ echo -n 'Testing linker-script6 ... ' -180: Testing linker-script6 ... ++ t=out/test/elf/x86_64/linker-script6 -180: ++ mkdir -p out/test/elf/x86_64/linker-script6 -171/369 Test #160: x86_64-init-array-priorities ..................... Passed 0.44 sec -172/369 Test #171: x86_64-large-text ................................ Passed 0.23 sec -179: + on_exit -179: + echo OK -179: OK -179: + exit 0 181: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/lto-archive.sh 181: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 181: ++ export LC_ALL=C @@ -10700,7 +10727,21 @@ 181: ++ tlsdesc_opt=-mtls-dialect=gnu2 181: ++ trap 'on_error $LINENO' ERR 181: ++ trap on_exit EXIT -173/369 Test #179: x86_64-linker-script5 ............................ Passed 0.11 sec +181: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/lto-archive.sh .sh +181: ++ testname=lto-archive +181: ++ echo -n 'Testing lto-archive ... ' +181: Testing lto-archive ... ++ t=out/test/elf/x86_64/lto-archive +181: ++ mkdir -p out/test/elf/x86_64/lto-archive +181: + '[' cc = cc ']' +175: + grep -q 'Hello world' +175: + out/test/elf/x86_64/linker-script/exe +175: + cc -B. -o out/test/elf/x86_64/linker-script/exe -Wl,--script,out/test/elf/x86_64/linker-script/script +176: + on_exit +176: + echo OK +176: OK +176: + exit 0 +179: + cat +171/369 Test #176: x86_64-linker-script2 ............................ Passed 0.30 sec test 183 Start 183: x86_64-lto-dso @@ -10710,44 +10751,10 @@ 183: MACHINE=x86_64 183: CPU= 183: Test timeout computed to be: 1500 -test 184 - Start 184: x86_64-lto-gcc - -184: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/lto-gcc.sh" -184: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -184: Environment variables: -184: MACHINE=x86_64 -184: CPU= -184: Test timeout computed to be: 1500 -test 185 - Start 185: x86_64-lto-llvm - -185: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/lto-llvm.sh" -185: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -185: Environment variables: -185: MACHINE=x86_64 -185: CPU= -185: Test timeout computed to be: 1500 -180: + mkdir -p out/test/elf/x86_64/linker-script6/foo -180: + cat -180: + cc -o out/test/elf/x86_64/linker-script6/foo/a.o -c -xc - -181: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/lto-archive.sh .sh -181: ++ testname=lto-archive -181: ++ echo -n 'Testing lto-archive ... ' -181: Testing lto-archive ... ++ t=out/test/elf/x86_64/lto-archive -181: ++ mkdir -p out/test/elf/x86_64/lto-archive -181: + '[' cc = cc ']' 181: + cc -flto -o /dev/null -xc - 181: + echo 'int main() {}' -175: + grep -q 'Hello world' -175: + out/test/elf/x86_64/linker-script/exe -175: + cc -B. -o out/test/elf/x86_64/linker-script/exe -Wl,--script,out/test/elf/x86_64/linker-script/script -173: + grep -q 42 -173: + out/test/elf/x86_64/linker-script-defsym/exe -173: + on_exit -173: + echo OK -173: OK -173: + exit 0 +179: + cc -B. -o out/test/elf/x86_64/linker-script5/exe out/test/elf/x86_64/linker-script5/foo/b.script +174: + cc -B. -o out/test/elf/x86_64/linker-script-relocatable/exe out/test/elf/x86_64/linker-script-relocatable/d.o 182: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/lto-archive2.sh 182: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 182: ++ export LC_ALL=C @@ -10772,33 +10779,31 @@ 182: ++ echo -n 'Testing lto-archive2 ... ' 182: Testing lto-archive2 ... ++ t=out/test/elf/x86_64/lto-archive2 182: ++ mkdir -p out/test/elf/x86_64/lto-archive2 -182: + echo 'int main() {}' +180: + cat +180: + cc -B. -o out/test/elf/x86_64/linker-script6/exe out/test/elf/x86_64/linker-script6/foo/b.script +173: + grep -q 42 +173: + out/test/elf/x86_64/linker-script-defsym/exe +173: + on_exit +173: + echo OK +173: OK +173: + exit 0 +160: + cc -c -o out/test/elf/x86_64/init-array-priorities/i.o -xc - +160: + cat +172/369 Test #173: x86_64-linker-script-defsym ...................... Passed 0.44 sec +test 184 + Start 184: x86_64-lto-gcc + +184: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/lto-gcc.sh" +184: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +184: Environment variables: +184: MACHINE=x86_64 +184: CPU= +184: Test timeout computed to be: 1500 182: + cc -flto=auto -o /dev/null -xc - -183: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/lto-dso.sh -183: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc -183: ++ export LC_ALL=C -183: ++ LC_ALL=C -183: ++ '[' -z x86_64 ']' -183: ++ '[' -z '' ']' -183: ++ TESTDIR=out/test/elf/x86_64 -183: ++ CC=cc -183: ++ CXX=c++ -183: ++ GCC=gcc -183: ++ GXX=g++ -183: ++ OBJDUMP=objdump -183: ++ OBJCOPY=objcopy -183: ++ STRIP=strip -183: ++ QEMU= -183: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' -183: ++ tlsdesc_opt=-mtls-dialect=gnu2 -183: ++ trap 'on_error $LINENO' ERR -183: ++ trap on_exit EXIT -183: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/lto-dso.sh .sh -183: ++ testname=lto-dso -183: ++ echo -n 'Testing lto-dso ... ' -183: Testing lto-dso ... ++ t=out/test/elf/x86_64/lto-dso -183: ++ mkdir -p out/test/elf/x86_64/lto-dso +182: + echo 'int main() {}' +172: + 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 184: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/lto-gcc.sh +183: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/lto-dso.sh 184: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 184: ++ export LC_ALL=C 184: ++ LC_ALL=C @@ -10817,12 +10822,69 @@ 184: ++ tlsdesc_opt=-mtls-dialect=gnu2 184: ++ trap 'on_error $LINENO' ERR 184: ++ trap on_exit EXIT +183: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc +183: ++ export LC_ALL=C +183: ++ LC_ALL=C +183: ++ '[' -z x86_64 ']' +183: ++ '[' -z '' ']' +183: ++ TESTDIR=out/test/elf/x86_64 +183: ++ CC=cc +183: ++ CXX=c++ +183: ++ GCC=gcc +183: ++ GXX=g++ +183: ++ OBJDUMP=objdump +183: ++ OBJCOPY=objcopy +183: ++ STRIP=strip +183: ++ QEMU= +183: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' +183: ++ tlsdesc_opt=-mtls-dialect=gnu2 +183: ++ trap 'on_error $LINENO' ERR +183: ++ trap on_exit EXIT 184: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/lto-gcc.sh .sh 184: ++ testname=lto-gcc 184: ++ echo -n 'Testing lto-gcc ... ' 184: Testing lto-gcc ... ++ t=out/test/elf/x86_64/lto-gcc 184: ++ mkdir -p out/test/elf/x86_64/lto-gcc -174/369 Test #173: x86_64-linker-script-defsym ...................... Passed 0.23 sec +183: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/lto-dso.sh .sh +183: ++ testname=lto-dso +183: ++ echo -n 'Testing lto-dso ... ' +183: Testing lto-dso ... ++ t=out/test/elf/x86_64/lto-dso +183: ++ mkdir -p out/test/elf/x86_64/lto-dso +184: + echo 'int main() {}' +184: + gcc -flto -o /dev/null -xc - +183: + cc -flto -o /dev/null -xc - +183: + echo 'int main() {}' +166: + grep -q 'error: exception' +171: + out/test/elf/x86_64/large-text/exe +171: + grep -q 'Hello world' +175: + out/test/elf/x86_64/linker-script/exe +175: + grep -q 'Hello world' +166: + out/test/elf/x86_64/issue646/exe +171: + on_exit +171: + echo OK +171: OK +171: + exit 0 +160: + 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 +175: + on_exit +175: + echo OK +175: OK +175: + exit 0 +173/369 Test #171: x86_64-large-text ................................ Passed 0.51 sec +test 185 + Start 185: x86_64-lto-llvm + +185: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/lto-llvm.sh" +185: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +185: Environment variables: +185: MACHINE=x86_64 +185: CPU= +185: Test timeout computed to be: 1500 +174/369 Test #175: x86_64-linker-script ............................. Passed 0.50 sec +166: + on_exit +166: + echo OK +166: OK +166: + exit 0 +175/369 Test #166: x86_64-issue646 .................................. Passed 0.65 sec test 186 Start 186: x86_64-lto-nostdlib @@ -10832,14 +10894,16 @@ 186: MACHINE=x86_64 186: CPU= 186: Test timeout computed to be: 1500 -183: + echo 'int main() {}' -183: + cc -flto -o /dev/null -xc - -184: + echo 'int main() {}' -184: + gcc -flto -o /dev/null -xc - -172: + readelf --dynamic out/test/elf/x86_64/link-order/exe -172: + grep -q libfoo +test 187 + Start 187: x86_64-lto-version-script + +187: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/lto-version-script.sh" +187: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +187: Environment variables: +187: MACHINE=x86_64 +187: CPU= +187: Test timeout computed to be: 1500 185: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/lto-llvm.sh -186: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/lto-nostdlib.sh 185: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 185: ++ export LC_ALL=C 185: ++ LC_ALL=C @@ -10859,20 +10923,6 @@ 185: ++ trap 'on_error $LINENO' ERR 185: ++ trap on_exit EXIT 185: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/lto-llvm.sh .sh -172: + on_exit -172: + echo OK -172: OK -172: + exit 0 -175/369 Test #172: x86_64-link-order ................................ Passed 0.24 sec -test 187 - Start 187: x86_64-lto-version-script - -187: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/lto-version-script.sh" -187: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -187: Environment variables: -187: MACHINE=x86_64 -187: CPU= -187: Test timeout computed to be: 1500 185: ++ testname=lto-llvm 185: ++ echo -n 'Testing lto-llvm ... ' 185: Testing lto-llvm ... ++ t=out/test/elf/x86_64/lto-llvm @@ -10886,6 +10936,61 @@ 185: skipped 185: + trap - EXIT 185: + exit 0 +180: + on_exit +180: + echo OK +180: OK +180: + exit 0 +174: + out/test/elf/x86_64/linker-script-relocatable/exe +174: + grep -q Hello +174: + on_exit +174: + echo OK +174: OK +174: + exit 0 +179: + on_exit +179: + echo OK +179: OK +179: + exit 0 +186: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/lto-nostdlib.sh +176/369 Test #174: x86_64-linker-script-relocatable ................. Passed 0.55 sec +177/369 Test #179: x86_64-linker-script5 ............................ Passed 0.34 sec +178/369 Test #180: x86_64-linker-script6 ............................ Passed 0.21 sec +179/369 Test #185: x86_64-lto-llvm ..................................***Skipped 0.06 sec +test 188 + Start 188: x86_64-main-in-dso + +188: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/main-in-dso.sh" +188: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +188: Environment variables: +188: MACHINE=x86_64 +188: CPU= +188: Test timeout computed to be: 1500 +test 189 + Start 189: x86_64-many-sections + +189: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/many-sections.sh" +189: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +189: Environment variables: +189: MACHINE=x86_64 +189: CPU= +189: Test timeout computed to be: 1500 +test 190 + Start 190: x86_64-many-sections2 + +190: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/many-sections2.sh" +190: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +190: Environment variables: +190: MACHINE=x86_64 +190: CPU= +190: Test timeout computed to be: 1500 +test 191 + Start 191: x86_64-mergeable-strings + +191: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/mergeable-strings.sh" +191: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +191: Environment variables: +191: MACHINE=x86_64 +191: CPU= +191: Test timeout computed to be: 1500 186: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 186: ++ export LC_ALL=C 186: ++ LC_ALL=C @@ -10909,26 +11014,9 @@ 186: ++ echo -n 'Testing lto-nostdlib ... ' 186: Testing lto-nostdlib ... ++ t=out/test/elf/x86_64/lto-nostdlib 186: ++ mkdir -p out/test/elf/x86_64/lto-nostdlib -186: + cat 186: + cc -flto -c -o out/test/elf/x86_64/lto-nostdlib/a.o -xc - -131: + grep -q 'fn8 () at .*/d.c:6' out/test/elf/x86_64/gdb-index-dwarf64/log2 -131: + grep -q 'fn7 () at .*/d.c:10' out/test/elf/x86_64/gdb-index-dwarf64/log2 -131: + grep -q 'fn6 () at .*/c.c:4' out/test/elf/x86_64/gdb-index-dwarf64/log2 -176/369 Test #185: x86_64-lto-llvm ..................................***Skipped 0.02 sec -test 188 - Start 188: x86_64-main-in-dso - -188: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/main-in-dso.sh" -188: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -188: Environment variables: -188: MACHINE=x86_64 -188: CPU= -188: Test timeout computed to be: 1500 -131: + grep -q 'fn5 () at .*/c.c:8' out/test/elf/x86_64/gdb-index-dwarf64/log2 -131: + grep -q 'fn4 () at .*/b.c:4' out/test/elf/x86_64/gdb-index-dwarf64/log2 -180: + cat +186: + cat 187: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/lto-version-script.sh -131: + grep -q 'fn3 () at .*/b.c:8' out/test/elf/x86_64/gdb-index-dwarf64/log2 187: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 187: ++ export LC_ALL=C 187: ++ LC_ALL=C @@ -10947,6 +11035,19 @@ 187: ++ tlsdesc_opt=-mtls-dialect=gnu2 187: ++ trap 'on_error $LINENO' ERR 187: ++ trap on_exit EXIT +187: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/lto-version-script.sh .sh +187: ++ testname=lto-version-script +187: ++ echo -n 'Testing lto-version-script ... ' +187: Testing lto-version-script ... ++ t=out/test/elf/x86_64/lto-version-script +187: ++ mkdir -p out/test/elf/x86_64/lto-version-script +187: + cat +187: + cc -flto -c -fPIC -o out/test/elf/x86_64/lto-version-script/a.o -xc - +160: + out/test/elf/x86_64/init-array-priorities/exe +160: + grep -q 21348756 +160: + on_exit +160: + echo OK +160: OK +160: + exit 0 188: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/main-in-dso.sh 188: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 188: ++ export LC_ALL=C @@ -10967,54 +11068,13 @@ 188: ++ trap 'on_error $LINENO' ERR 188: ++ trap on_exit EXIT 188: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/main-in-dso.sh .sh -187: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/lto-version-script.sh .sh -180: + cc -B. -o out/test/elf/x86_64/linker-script6/exe out/test/elf/x86_64/linker-script6/foo/b.script -131: + grep -q 'fn2 () at .*/a.c:4' out/test/elf/x86_64/gdb-index-dwarf64/log2 -187: ++ testname=lto-version-script -187: ++ echo -n 'Testing lto-version-script ... ' -187: Testing lto-version-script ... ++ t=out/test/elf/x86_64/lto-version-script -187: ++ mkdir -p out/test/elf/x86_64/lto-version-script 188: ++ testname=main-in-dso 188: ++ echo -n 'Testing main-in-dso ... ' 188: Testing main-in-dso ... ++ t=out/test/elf/x86_64/main-in-dso 188: ++ mkdir -p out/test/elf/x86_64/main-in-dso -175: + out/test/elf/x86_64/linker-script/exe 188: + cat 188: + cc -o out/test/elf/x86_64/main-in-dso/a.o -c -xc - -fPIC -131: + grep -q 'fn1 () at .*/a.c:8' out/test/elf/x86_64/gdb-index-dwarf64/log2 -131: + on_exit -131: + echo OK -131: OK -131: + exit 0 -177/369 Test #131: x86_64-gdb-index-dwarf64 ......................... Passed 1.46 sec -test 189 - Start 189: x86_64-many-sections - -189: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/many-sections.sh" -189: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -189: Environment variables: -189: MACHINE=x86_64 -189: CPU= -189: Test timeout computed to be: 1500 -175: + grep -q 'Hello world' -175: + on_exit -175: + echo OK -175: OK -175: + exit 0 -187: + cc -flto -c -fPIC -o out/test/elf/x86_64/lto-version-script/a.o -xc - -187: + cat -178/369 Test #175: x86_64-linker-script ............................. Passed 0.21 sec -test 190 - Start 190: x86_64-many-sections2 - -190: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/many-sections2.sh" -190: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -190: Environment variables: -190: MACHINE=x86_64 -190: CPU= -190: Test timeout computed to be: 1500 189: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/many-sections.sh -190: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/many-sections2.sh 189: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 189: ++ export LC_ALL=C 189: ++ LC_ALL=C @@ -11033,9 +11093,28 @@ 189: ++ tlsdesc_opt=-mtls-dialect=gnu2 189: ++ trap 'on_error $LINENO' ERR 189: ++ trap on_exit EXIT +189: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/many-sections.sh .sh +189: ++ testname=many-sections +189: ++ echo -n 'Testing many-sections ... ' +189: Testing many-sections ... ++ t=out/test/elf/x86_64/many-sections +189: ++ mkdir -p out/test/elf/x86_64/many-sections +190: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/many-sections2.sh 190: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 190: ++ export LC_ALL=C 190: ++ LC_ALL=C +180/369 Test #160: x86_64-init-array-priorities ..................... Passed 0.82 sec +test 192 + Start 192: x86_64-missing-but-ok + +192: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/missing-but-ok.sh" +192: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +192: Environment variables: +192: MACHINE=x86_64 +192: CPU= +192: Test timeout computed to be: 1500 +189: + seq 1 100000 +189: + sed 's/.*/.section .data.\0,"aw"\n.word 0\n/g' +189: + cc -c -xassembler -o out/test/elf/x86_64/many-sections/a.o - 190: ++ '[' -z x86_64 ']' 190: ++ '[' -z '' ']' 190: ++ TESTDIR=out/test/elf/x86_64 @@ -11051,41 +11130,14 @@ 190: ++ tlsdesc_opt=-mtls-dialect=gnu2 190: ++ trap 'on_error $LINENO' ERR 190: ++ trap on_exit EXIT -189: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/many-sections.sh .sh -186: + cc -B. -o out/test/elf/x86_64/lto-nostdlib/exe -flto out/test/elf/x86_64/lto-nostdlib/a.o -nostdlib -189: ++ testname=many-sections -189: ++ echo -n 'Testing many-sections ... ' -189: Testing many-sections ... ++ t=out/test/elf/x86_64/many-sections -189: ++ mkdir -p out/test/elf/x86_64/many-sections 190: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/many-sections2.sh .sh 190: ++ testname=many-sections2 190: ++ echo -n 'Testing many-sections2 ... ' 190: Testing many-sections2 ... ++ t=out/test/elf/x86_64/many-sections2 190: ++ mkdir -p out/test/elf/x86_64/many-sections2 -189: + seq 1 100000 -189: + sed 's/.*/.section .data.\0,"aw"\n.word 0\n/g' -189: + cc -c -xassembler -o out/test/elf/x86_64/many-sections/a.o - -190: + nm mold -190: + grep -q __tsan_init -187: + cat -174: + cat -174: + cc -c -o out/test/elf/x86_64/linker-script-relocatable/a.o -xc - -187: + 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 -180: + on_exit -180: + echo OK -180: OK -180: + exit 0 -179/369 Test #180: x86_64-linker-script6 ............................ Passed 0.12 sec -test 191 - Start 191: x86_64-mergeable-strings - -191: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/mergeable-strings.sh" -191: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -191: Environment variables: -191: MACHINE=x86_64 -191: CPU= -191: Test timeout computed to be: 1500 -188: + cc -B. -shared -o out/test/elf/x86_64/main-in-dso/b.so out/test/elf/x86_64/main-in-dso/a.o +172: + readelf --dynamic out/test/elf/x86_64/link-order/exe +172: + grep -q libfoo +172: + 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 191: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/mergeable-strings.sh 191: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 191: ++ export LC_ALL=C @@ -11106,50 +11158,13 @@ 191: ++ trap 'on_error $LINENO' ERR 191: ++ trap on_exit EXIT 191: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/mergeable-strings.sh .sh +190: + nm mold +190: + grep -q __tsan_init 191: ++ testname=mergeable-strings 191: ++ echo -n 'Testing mergeable-strings ... ' 191: Testing mergeable-strings ... ++ t=out/test/elf/x86_64/mergeable-strings 191: ++ mkdir -p out/test/elf/x86_64/mergeable-strings -191: + cat -191: + cc -o out/test/elf/x86_64/mergeable-strings/a.o -c -xc - -O2 -174: + cat -174: + cc -c -o out/test/elf/x86_64/linker-script-relocatable/b.o -xc - -184: + cat -184: + gcc -flto -c -o out/test/elf/x86_64/lto-gcc/a.o -xc - -188: + cc -o out/test/elf/x86_64/main-in-dso/c.o -c -xc /dev/null -fPIC -181: + cc -o out/test/elf/x86_64/lto-archive/a.o -c -flto -xc - -191: + cat -181: + cat -191: + cc -o out/test/elf/x86_64/mergeable-strings/b.o -c -xc - -O2 -184: + gcc -B. -o out/test/elf/x86_64/lto-gcc/exe1 -flto out/test/elf/x86_64/lto-gcc/a.o -188: + cc -B. -o out/test/elf/x86_64/main-in-dso/exe1 out/test/elf/x86_64/main-in-dso/c.o out/test/elf/x86_64/main-in-dso/b.so -pie -174: + echo 'INPUT(out/test/elf/x86_64/linker-script-relocatable/a.o out/test/elf/x86_64/linker-script-relocatable/b.o)' -174: + ./mold --relocatable -o out/test/elf/x86_64/linker-script-relocatable/d.o out/test/elf/x86_64/linker-script-relocatable/c.script -186: + readelf -Ws out/test/elf/x86_64/lto-nostdlib/exe -186: + grep -Eq ' _start' -183: + cat -183: + cc -flto -c -fPIC -o out/test/elf/x86_64/lto-dso/a.o -xc - -186: + on_exit -186: + echo OK -186: OK -186: + exit 0 -180/369 Test #186: x86_64-lto-nostdlib .............................. Passed 0.15 sec -test 192 - Start 192: x86_64-missing-but-ok - -192: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/missing-but-ok.sh" -192: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -192: Environment variables: -192: MACHINE=x86_64 -192: CPU= -192: Test timeout computed to be: 1500 -182: + echo -182: + cc -o out/test/elf/x86_64/lto-archive2/a.o -c -flto=auto -xc - -174: + cc -B. -o out/test/elf/x86_64/linker-script-relocatable/exe out/test/elf/x86_64/linker-script-relocatable/d.o -181: + cc -o out/test/elf/x86_64/lto-archive/b.o -c -flto -xc - -181: + cat 192: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/missing-but-ok.sh -183: + cc -B. -shared -o out/test/elf/x86_64/lto-dso/b.so -flto out/test/elf/x86_64/lto-dso/a.o 192: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 192: ++ export LC_ALL=C 192: ++ LC_ALL=C @@ -11168,36 +11183,24 @@ 192: ++ tlsdesc_opt=-mtls-dialect=gnu2 192: ++ trap 'on_error $LINENO' ERR 192: ++ trap on_exit EXIT +191: + cat +191: + cc -o out/test/elf/x86_64/mergeable-strings/a.o -c -xc - -O2 192: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/missing-but-ok.sh .sh 192: ++ testname=missing-but-ok 192: ++ echo -n 'Testing missing-but-ok ... ' 192: Testing missing-but-ok ... ++ t=out/test/elf/x86_64/missing-but-ok 192: ++ mkdir -p out/test/elf/x86_64/missing-but-ok -166: + c++ -B. -o out/test/elf/x86_64/issue646/exe out/test/elf/x86_64/issue646/a.o 192: + cat 192: + cc -o out/test/elf/x86_64/missing-but-ok/a.o -c -x assembler - -191: + 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 -182: + rm -f out/test/elf/x86_64/lto-archive2/b.a -182: + ar rc out/test/elf/x86_64/lto-archive2/b.a out/test/elf/x86_64/lto-archive2/a.o -181: + rm -f out/test/elf/x86_64/lto-archive/c.a -190: + echo 'foo = 0x1000' 192: + ./mold -o out/test/elf/x86_64/missing-but-ok/exe out/test/elf/x86_64/missing-but-ok/a.o -187: + '[' x86_64 = ppc64 ']' -190: + seq 1 100000 -174: + out/test/elf/x86_64/linker-script-relocatable/exe -181: + 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 -174: + grep -q Hello -190: + sed 's/.*/.section .data.\0,"aw"\n.globl x\0\nx\0: .word 0\n/g' -182: + cc -o out/test/elf/x86_64/lto-archive2/c.o -c -xc - -182: + cat -187: + nm -D out/test/elf/x86_64/lto-version-script/c.so -187: + grep -q 'T foo' -188: + out/test/elf/x86_64/main-in-dso/exe1 -174: + on_exit -174: + echo OK -174: OK -174: + exit 0 -181/369 Test #174: x86_64-linker-script-relocatable ................. Passed 0.39 sec +186: + cc -B. -o out/test/elf/x86_64/lto-nostdlib/exe -flto out/test/elf/x86_64/lto-nostdlib/a.o -nostdlib +172: + readelf --dynamic out/test/elf/x86_64/link-order/exe +172: + grep -q libfoo +192: + on_exit +192: + echo OK +192: OK +192: + exit 0 +181/369 Test #192: x86_64-missing-but-ok ............................ Passed 0.04 sec test 193 Start 193: x86_64-missing-error @@ -11207,21 +11210,13 @@ 193: MACHINE=x86_64 193: CPU= 193: Test timeout computed to be: 1500 -188: + grep -q 'Hello world' -188: + cc -o out/test/elf/x86_64/main-in-dso/c.o -c -xc /dev/null -fno-PIC -181: + cat -181: + cc -o out/test/elf/x86_64/lto-archive/d.o -c -flto -xc - -187: + nm -D out/test/elf/x86_64/lto-version-script/c.so -187: + grep -q 'T bar' -187: + on_exit -187: + echo OK -187: OK -187: + exit 0 -192: + on_exit -192: + echo OK -192: OK -192: + exit 0 -182/369 Test #187: x86_64-lto-version-script ........................ Passed 0.20 sec +187: + cat +187: + 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 +172: + on_exit +172: + echo OK +172: OK +172: + exit 0 +182/369 Test #172: x86_64-link-order ................................ Passed 0.62 sec test 194 Start 194: x86_64-mold-wrapper @@ -11231,7 +11226,6 @@ 194: MACHINE=x86_64 194: CPU= 194: Test timeout computed to be: 1500 -183/369 Test #192: x86_64-missing-but-ok ............................ Passed 0.07 sec 193: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/missing-error.sh 193: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 193: ++ export LC_ALL=C @@ -11252,28 +11246,14 @@ 193: ++ trap 'on_error $LINENO' ERR 193: ++ trap on_exit EXIT 193: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/missing-error.sh .sh -193: ++ testname=missing-error -193: ++ echo -n 'Testing missing-error ... ' -193: Testing missing-error ... ++ t=out/test/elf/x86_64/missing-error -193: ++ mkdir -p out/test/elf/x86_64/missing-error -191: + grep -Eq '^(\S+) \1 (\S+) \2 (\S+) \3 (\S+) \4$' -191: + out/test/elf/x86_64/mergeable-strings/exe1 -191: + 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 -test 195 - Start 195: x86_64-mold-wrapper2 - -195: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/mold-wrapper2.sh" -195: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -195: Environment variables: -195: MACHINE=x86_64 -195: CPU= -195: Test timeout computed to be: 1500 -193: + cc -o out/test/elf/x86_64/missing-error/a.o -c -xc - -193: + cat 194: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/mold-wrapper.sh 194: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 194: ++ export LC_ALL=C 194: ++ LC_ALL=C +193: ++ testname=missing-error +193: ++ echo -n 'Testing missing-error ... ' +193: Testing missing-error ... ++ t=out/test/elf/x86_64/missing-error +193: ++ mkdir -p out/test/elf/x86_64/missing-error 194: ++ '[' -z x86_64 ']' 194: ++ '[' -z '' ']' 194: ++ TESTDIR=out/test/elf/x86_64 @@ -11290,19 +11270,43 @@ 194: ++ trap 'on_error $LINENO' ERR 194: ++ trap on_exit EXIT 194: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/mold-wrapper.sh .sh -166: + out/test/elf/x86_64/issue646/exe -182: + cc -B. -o out/test/elf/x86_64/lto-archive2/exe -flto=auto out/test/elf/x86_64/lto-archive2/c.o out/test/elf/x86_64/lto-archive2/b.a -181: + 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 +188: + cc -B. -shared -o out/test/elf/x86_64/main-in-dso/b.so out/test/elf/x86_64/main-in-dso/a.o 194: ++ testname=mold-wrapper -166: + grep -q 'error: exception' -195: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/mold-wrapper2.sh 194: ++ echo -n 'Testing mold-wrapper ... ' 194: Testing mold-wrapper ... ++ t=out/test/elf/x86_64/mold-wrapper 194: ++ mkdir -p out/test/elf/x86_64/mold-wrapper -166: + on_exit -166: + echo OK -166: OK -166: + exit 0 +194: + '[' cc = cc ']' +193: + cat +193: + cc -o out/test/elf/x86_64/missing-error/a.o -c -xc - +194: + grep -q libasan +194: + ldd mold-wrapper.so +194: + nm mold +194: + grep -q '__[at]san_init' +191: + cat +191: + cc -o out/test/elf/x86_64/mergeable-strings/b.o -c -xc - -O2 +188: + cc -o out/test/elf/x86_64/main-in-dso/c.o -c -xc /dev/null -fPIC +190: + echo 'foo = 0x1000' +190: + sed 's/.*/.section .data.\0,"aw"\n.globl x\0\nx\0: .word 0\n/g' +190: + seq 1 100000 +193: + ./mold -o out/test/elf/x86_64/missing-error/exe out/test/elf/x86_64/missing-error/a.o +193: + grep -q 'undefined symbol: foo' out/test/elf/x86_64/missing-error/log +193: + grep -q '>>> .*a\.o' out/test/elf/x86_64/missing-error/log +188: + cc -B. -o out/test/elf/x86_64/main-in-dso/exe1 out/test/elf/x86_64/main-in-dso/c.o out/test/elf/x86_64/main-in-dso/b.so -pie +193: + on_exit +193: + echo OK +193: OK +193: + exit 0 +183/369 Test #193: x86_64-missing-error ............................. Passed 0.14 sec +test 195 + Start 195: x86_64-mold-wrapper2 + +195: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/mold-wrapper2.sh" +195: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +195: Environment variables: +195: MACHINE=x86_64 +195: CPU= +195: Test timeout computed to be: 1500 +195: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/mold-wrapper2.sh 195: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 195: ++ export LC_ALL=C 195: ++ LC_ALL=C @@ -11322,16 +11326,65 @@ 195: ++ trap 'on_error $LINENO' ERR 195: ++ trap on_exit EXIT 195: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/mold-wrapper2.sh .sh -194: + '[' cc = cc ']' 195: ++ testname=mold-wrapper2 195: ++ echo -n 'Testing mold-wrapper2 ... ' 195: Testing mold-wrapper2 ... ++ t=out/test/elf/x86_64/mold-wrapper2 195: ++ mkdir -p out/test/elf/x86_64/mold-wrapper2 -194: + ldd mold-wrapper.so -194: + grep -q libasan -188: + cc -B. -o out/test/elf/x86_64/main-in-dso/exe2 out/test/elf/x86_64/main-in-dso/c.o out/test/elf/x86_64/main-in-dso/b.so -no-pie 195: + ldd mold-wrapper.so -184/369 Test #166: x86_64-issue646 .................................. Passed 0.59 sec +195: + grep -q libasan +195: + nm mold +195: + grep -q '__[at]san_init' +194: + cat +194: + chmod 755 out/test/elf/x86_64/mold-wrapper/a.sh +188: + out/test/elf/x86_64/main-in-dso/exe1 +188: + grep -q 'Hello world' +194: + cat +188: + cc -o out/test/elf/x86_64/main-in-dso/c.o -c -xc /dev/null -fno-PIC +194: + cc -xc -o out/test/elf/x86_64/mold-wrapper/exe - +190: + cc -c -xassembler -o out/test/elf/x86_64/many-sections2/a.o out/test/elf/x86_64/many-sections2/a.s +191: + 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 +183: + cat +183: + cc -flto -c -fPIC -o out/test/elf/x86_64/lto-dso/a.o -xc - +188: + cc -B. -o out/test/elf/x86_64/main-in-dso/exe2 out/test/elf/x86_64/main-in-dso/c.o out/test/elf/x86_64/main-in-dso/b.so -no-pie +191: + out/test/elf/x86_64/mergeable-strings/exe1 +191: + grep -Eq '^(\S+) \1 (\S+) \2 (\S+) \3 (\S+) \4$' +191: + 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 +194: + grep -q 'a.sh execl' +194: ++ pwd +194: + LD_PRELOAD=/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so +194: + MOLD_PATH=out/test/elf/x86_64/mold-wrapper/a.sh +194: + out/test/elf/x86_64/mold-wrapper/exe execl +194: + grep -q 'a.sh execlp' +194: ++ pwd +194: + LD_PRELOAD=/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so +194: + MOLD_PATH=out/test/elf/x86_64/mold-wrapper/a.sh +194: + out/test/elf/x86_64/mold-wrapper/exe execlp +194: + grep -q 'a.sh execle' +183: + cc -B. -shared -o out/test/elf/x86_64/lto-dso/b.so -flto out/test/elf/x86_64/lto-dso/a.o +194: ++ pwd +195: + grep -Fq mold-wrapper.so +194: + LD_PRELOAD=/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so +194: + MOLD_PATH=out/test/elf/x86_64/mold-wrapper/a.sh +194: + out/test/elf/x86_64/mold-wrapper/exe execle +195: + ./mold -run bash -c 'echo $LD_PRELOAD' +186: + readelf -Ws out/test/elf/x86_64/lto-nostdlib/exe +186: + grep -Eq ' _start' +194: + grep -q 'a.sh execv' +186: + on_exit +186: + echo OK +186: OK +186: + exit 0 +194: ++ pwd +194: + LD_PRELOAD=/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so +194: + MOLD_PATH=out/test/elf/x86_64/mold-wrapper/a.sh +194: + out/test/elf/x86_64/mold-wrapper/exe execv +188: + out/test/elf/x86_64/main-in-dso/exe2 +188: + grep -q 'Hello world' +188: + on_exit +188: + echo OK +188: OK +188: + exit 0 +184/369 Test #186: x86_64-lto-nostdlib .............................. Passed 0.34 sec test 196 Start 196: x86_64-nmagic @@ -11341,10 +11394,65 @@ 196: MACHINE=x86_64 196: CPU= 196: Test timeout computed to be: 1500 -195: + grep -q libasan -184: + out/test/elf/x86_64/lto-gcc/exe1 +181: + cat +181: + cc -o out/test/elf/x86_64/lto-archive/a.o -c -flto -xc - +195: + on_exit +195: + echo OK +195: OK +195: + exit 0 +184: + gcc -flto -c -o out/test/elf/x86_64/lto-gcc/a.o -xc - +184: + cat +194: + grep -q 'a.sh execvp' +194: ++ pwd +194: + LD_PRELOAD=/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so +194: + MOLD_PATH=out/test/elf/x86_64/mold-wrapper/a.sh +194: + out/test/elf/x86_64/mold-wrapper/exe execvp +187: + '[' x86_64 = ppc64 ']' +187: + nm -D out/test/elf/x86_64/lto-version-script/c.so +187: + grep -q 'T foo' +191: + out/test/elf/x86_64/mergeable-strings/exe2 +191: + grep -Eq '^(\S+) \1 (\S+) \2 (\S+) \3 (\S+) \4$' +191: + on_exit +191: + echo OK +191: OK +191: + exit 0 +185/369 Test #188: x86_64-main-in-dso ............................... Passed 0.34 sec +186/369 Test #195: x86_64-mold-wrapper2 ............................. Passed 0.15 sec +test 197 + Start 197: x86_64-no-eh-frame-header + +197: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/no-eh-frame-header.sh" +197: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +197: Environment variables: +197: MACHINE=x86_64 +197: CPU= +197: Test timeout computed to be: 1500 +test 198 + Start 198: x86_64-no-quick-exit + +198: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/no-quick-exit.sh" +198: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +198: Environment variables: +198: MACHINE=x86_64 +198: CPU= +198: Test timeout computed to be: 1500 +194: + grep -q 'a.sh execvpe bar' +194: ++ pwd +194: + LD_PRELOAD=/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so +194: + MOLD_PATH=out/test/elf/x86_64/mold-wrapper/a.sh +194: + out/test/elf/x86_64/mold-wrapper/exe execvpe +194: + on_exit +194: + echo OK +194: OK +194: + exit 0 +187: + nm -D out/test/elf/x86_64/lto-version-script/c.so +187: + grep -q 'T bar' +187: + on_exit +187: + echo OK +187: OK +187: + exit 0 +187/369 Test #191: x86_64-mergeable-strings ......................... Passed 0.33 sec 196: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/nmagic.sh -184: + grep -q 'Hello world' 196: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 196: ++ export LC_ALL=C 196: ++ LC_ALL=C @@ -11363,45 +11471,14 @@ 196: ++ tlsdesc_opt=-mtls-dialect=gnu2 196: ++ trap 'on_error $LINENO' ERR 196: ++ trap on_exit EXIT -184: + cat -184: + gcc -flto -ffat-lto-objects -c -o out/test/elf/x86_64/lto-gcc/b.o -xc - 196: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/nmagic.sh .sh 196: ++ testname=nmagic 196: ++ echo -n 'Testing nmagic ... ' 196: Testing nmagic ... ++ t=out/test/elf/x86_64/nmagic 196: ++ mkdir -p out/test/elf/x86_64/nmagic -195: + nm mold -195: + grep -q '__[at]san_init' 196: + cat 196: + cc -o out/test/elf/x86_64/nmagic/a.o -c -xc - -191: + out/test/elf/x86_64/mergeable-strings/exe2 -191: + grep -Eq '^(\S+) \1 (\S+) \2 (\S+) \3 (\S+) \4$' -194: + nm mold -194: + grep -q '__[at]san_init' -190: + cc -c -xassembler -o out/test/elf/x86_64/many-sections2/a.o out/test/elf/x86_64/many-sections2/a.s -191: + on_exit -191: + echo OK -191: OK -191: + exit 0 -185/369 Test #191: x86_64-mergeable-strings ......................... Passed 0.19 sec -test 197 - Start 197: x86_64-no-eh-frame-header - -197: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/no-eh-frame-header.sh" -197: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -197: Environment variables: -197: MACHINE=x86_64 -197: CPU= -197: Test timeout computed to be: 1500 -193: + ./mold -o out/test/elf/x86_64/missing-error/exe out/test/elf/x86_64/missing-error/a.o -182: + on_exit -182: + echo OK -182: OK -182: + exit 0 -188: + out/test/elf/x86_64/main-in-dso/exe2 197: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/no-eh-frame-header.sh -183: + '[' x86_64 = ppc64 ']' -183: + grep -q 'T foo' 197: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 197: ++ export LC_ALL=C 197: ++ LC_ALL=C @@ -11420,42 +11497,8 @@ 197: ++ tlsdesc_opt=-mtls-dialect=gnu2 197: ++ trap 'on_error $LINENO' ERR 197: ++ trap on_exit EXIT -188: + grep -q 'Hello world' -186/369 Test #182: x86_64-lto-archive2 .............................. Passed 0.30 sec -test 198 - Start 198: x86_64-no-quick-exit - -198: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/no-quick-exit.sh" -198: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -198: Environment variables: -198: MACHINE=x86_64 -198: CPU= -198: Test timeout computed to be: 1500 -183: + nm -D out/test/elf/x86_64/lto-dso/b.so -183: + on_exit -183: + echo OK -183: OK -183: + exit 0 197: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/no-eh-frame-header.sh .sh -197: ++ testname=no-eh-frame-header -197: ++ echo -n 'Testing no-eh-frame-header ... ' -197: Testing no-eh-frame-header ... ++ t=out/test/elf/x86_64/no-eh-frame-header -197: ++ mkdir -p out/test/elf/x86_64/no-eh-frame-header -197: + cat -188: + on_exit -188: + echo OK -188: OK -188: + exit 0 -196: + cc -B. -o out/test/elf/x86_64/nmagic/exe1 out/test/elf/x86_64/nmagic/a.o -nostdlib -Wl,-nmagic -193: + grep -q 'undefined symbol: foo' out/test/elf/x86_64/missing-error/log -193: + grep -q '>>> .*a\.o' out/test/elf/x86_64/missing-error/log -193: + on_exit -193: + echo OK -193: OK -193: + exit 0 -187/369 Test #183: x86_64-lto-dso ................................... Passed 0.30 sec -188/369 Test #188: x86_64-main-in-dso ............................... Passed 0.27 sec -189/369 Test #193: x86_64-missing-error ............................. Passed 0.10 sec +188/369 Test #194: x86_64-mold-wrapper .............................. Passed 0.29 sec test 199 Start 199: x86_64-no-undefined-version @@ -11474,15 +11517,11 @@ 200: MACHINE=x86_64 200: CPU= 200: Test timeout computed to be: 1500 -test 201 - Start 201: x86_64-noinhibit-exec - -201: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/noinhibit-exec.sh" -201: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -201: Environment variables: -201: MACHINE=x86_64 -201: CPU= -201: Test timeout computed to be: 1500 +189/369 Test #187: x86_64-lto-version-script ........................ Passed 0.36 sec +197: ++ testname=no-eh-frame-header +197: ++ echo -n 'Testing no-eh-frame-header ... ' +197: Testing no-eh-frame-header ... ++ t=out/test/elf/x86_64/no-eh-frame-header +197: ++ mkdir -p out/test/elf/x86_64/no-eh-frame-header 197: + cc -o out/test/elf/x86_64/no-eh-frame-header/a.o -c -xc - 198: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/no-quick-exit.sh 198: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc @@ -11509,9 +11548,17 @@ 198: Testing no-quick-exit ... ++ t=out/test/elf/x86_64/no-quick-exit 198: ++ mkdir -p out/test/elf/x86_64/no-quick-exit 198: + cat +test 201 + Start 201: x86_64-noinhibit-exec + +201: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/noinhibit-exec.sh" +201: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +201: Environment variables: +201: MACHINE=x86_64 +201: CPU= +201: Test timeout computed to be: 1500 +197: + cat 198: + cc -o out/test/elf/x86_64/no-quick-exit/a.o -c -xc - -184: + grep -q -- -fwpa -184: + gcc -B. -o out/test/elf/x86_64/lto-gcc/exe2 out/test/elf/x86_64/lto-gcc/b.o --verbose 199: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/no-undefined-version.sh 199: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 199: ++ export LC_ALL=C @@ -11534,10 +11581,18 @@ 199: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/no-undefined-version.sh .sh 199: ++ testname=no-undefined-version 199: ++ echo -n 'Testing no-undefined-version ... ' -200: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/nocopyreloc.sh 199: Testing no-undefined-version ... ++ t=out/test/elf/x86_64/no-undefined-version 199: ++ mkdir -p out/test/elf/x86_64/no-undefined-version +182: + echo +182: + cc -o out/test/elf/x86_64/lto-archive2/a.o -c -flto=auto -xc - 201: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/noinhibit-exec.sh +201: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc +201: ++ export LC_ALL=C +201: ++ LC_ALL=C +199: + echo 'ver_x { global: foo; };' +199: + cat +199: + cc -o out/test/elf/x86_64/no-undefined-version/b.o -c -xc - +200: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/nocopyreloc.sh 200: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 200: ++ export LC_ALL=C 200: ++ LC_ALL=C @@ -11556,11 +11611,7 @@ 200: ++ tlsdesc_opt=-mtls-dialect=gnu2 200: ++ trap 'on_error $LINENO' ERR 200: ++ trap on_exit EXIT -201: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc -201: ++ export LC_ALL=C -201: ++ LC_ALL=C 201: ++ '[' -z x86_64 ']' -200: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/nocopyreloc.sh .sh 201: ++ '[' -z '' ']' 201: ++ TESTDIR=out/test/elf/x86_64 201: ++ CC=cc @@ -11575,16 +11626,19 @@ 201: ++ tlsdesc_opt=-mtls-dialect=gnu2 201: ++ trap 'on_error $LINENO' ERR 201: ++ trap on_exit EXIT -196: + cc -B. -o out/test/elf/x86_64/nmagic/exe2 out/test/elf/x86_64/nmagic/a.o -nostdlib -200: ++ testname=nocopyreloc -200: ++ echo -n 'Testing nocopyreloc ... ' -200: Testing nocopyreloc ... ++ t=out/test/elf/x86_64/nocopyreloc -200: ++ mkdir -p out/test/elf/x86_64/nocopyreloc 201: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/noinhibit-exec.sh .sh +200: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/nocopyreloc.sh .sh 201: ++ testname=noinhibit-exec 201: ++ echo -n 'Testing noinhibit-exec ... ' 201: Testing noinhibit-exec ... ++ t=out/test/elf/x86_64/noinhibit-exec 201: ++ mkdir -p out/test/elf/x86_64/noinhibit-exec +200: ++ testname=nocopyreloc +200: ++ echo -n 'Testing nocopyreloc ... ' +200: Testing nocopyreloc ... ++ t=out/test/elf/x86_64/nocopyreloc +200: ++ mkdir -p out/test/elf/x86_64/nocopyreloc +184: + gcc -B. -o out/test/elf/x86_64/lto-gcc/exe1 -flto out/test/elf/x86_64/lto-gcc/a.o +181: + cat +181: + cc -o out/test/elf/x86_64/lto-archive/b.o -c -flto -xc - 200: + '[' x86_64 = i686 ']' 200: + '[' x86_64 = m68k ']' 200: + '[' x86_64 = arm ']' @@ -11593,32 +11647,43 @@ 200: + '[' x86_64 = sh4 ']' 200: + '[' x86_64 = alpha ']' 200: + [[ x86_64 = loongarch* ]] -199: + echo 'ver_x { global: foo; };' -200: + cc -shared -o out/test/elf/x86_64/nocopyreloc/a.so -xc - -199: + cat -199: + cc -o out/test/elf/x86_64/no-undefined-version/b.o -c -xc - 200: + cat +200: + cc -shared -o out/test/elf/x86_64/nocopyreloc/a.so -xc - +196: + cc -B. -o out/test/elf/x86_64/nmagic/exe1 out/test/elf/x86_64/nmagic/a.o -nostdlib -Wl,-nmagic 201: + cat -197: + 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 201: + cc -o out/test/elf/x86_64/noinhibit-exec/a.o -c -xc - -fno-PIC -196: ++ nm out/test/elf/x86_64/nmagic/exe1 -196: ++ grep ' end$' -196: ++ cut '-d ' -f1 -196: + end1=0000000000000410 -196: ++ grep ' end$' -196: ++ cut '-d ' -f1 -197: + readelf -WS out/test/elf/x86_64/no-eh-frame-header/exe +197: + 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 +182: + rm -f out/test/elf/x86_64/lto-archive2/b.a +182: + ar rc out/test/elf/x86_64/lto-archive2/b.a out/test/elf/x86_64/lto-archive2/a.o +182: + cc -o out/test/elf/x86_64/lto-archive2/c.o -c -xc - +182: + cat 198: + 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 -196: ++ nm out/test/elf/x86_64/nmagic/exe2 +196: + cc -B. -o out/test/elf/x86_64/nmagic/exe2 out/test/elf/x86_64/nmagic/a.o -nostdlib +181: + rm -f out/test/elf/x86_64/lto-archive/c.a 199: + 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 +181: + 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 +181: + cat +181: + cc -o out/test/elf/x86_64/lto-archive/d.o -c -flto -xc - +201: + cc -B. -shared -o out/test/elf/x86_64/noinhibit-exec/b.so out/test/elf/x86_64/noinhibit-exec/a.o +197: + readelf -WS out/test/elf/x86_64/no-eh-frame-header/exe +200: + cat +183: + '[' x86_64 = ppc64 ']' 197: + grep -F .eh_frame_hdr out/test/elf/x86_64/no-eh-frame-header/log +183: + grep -q 'T foo' +183: + nm -D out/test/elf/x86_64/lto-dso/b.so +200: + cc -fno-PIC -c -o out/test/elf/x86_64/nocopyreloc/b.o -xc - 197: + out/test/elf/x86_64/no-eh-frame-header/exe -201: + cc -B. -shared -o out/test/elf/x86_64/noinhibit-exec/b.so out/test/elf/x86_64/noinhibit-exec/a.o +182: + cc -B. -o out/test/elf/x86_64/lto-archive2/exe -flto=auto out/test/elf/x86_64/lto-archive2/c.o out/test/elf/x86_64/lto-archive2/b.a +183: + on_exit +183: + echo OK +183: OK +183: + exit 0 197: + on_exit 197: + echo OK 197: OK 197: + exit 0 -190/369 Test #197: x86_64-no-eh-frame-header ........................ Passed 0.07 sec +190/369 Test #183: x86_64-lto-dso ................................... Passed 0.56 sec +191/369 Test #197: x86_64-no-eh-frame-header ........................ Passed 0.11 sec test 202 Start 202: x86_64-non-canonical-plt @@ -11628,19 +11693,6 @@ 202: MACHINE=x86_64 202: CPU= 202: Test timeout computed to be: 1500 -200: + cc -fno-PIC -c -o out/test/elf/x86_64/nocopyreloc/b.o -xc - -200: + cat -184: + cat -184: + gcc -flto -fno-use-linker-plugin -c -o out/test/elf/x86_64/lto-gcc/c.o -xc - -181: + grep -q 'Hello world' -181: + out/test/elf/x86_64/lto-archive/exe -196: + end2=0000000000003480 -196: + '[' 1040 -lt 13440 ']' -196: + on_exit -196: + echo OK -196: OK -196: + exit 0 -191/369 Test #196: x86_64-nmagic .................................... Passed 0.12 sec test 203 Start 203: x86_64-nostdlib @@ -11650,7 +11702,6 @@ 203: MACHINE=x86_64 203: CPU= 203: Test timeout computed to be: 1500 -181: + nm out/test/elf/x86_64/lto-archive/exe 202: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/non-canonical-plt.sh 202: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 202: ++ export LC_ALL=C @@ -11670,12 +11721,12 @@ 202: ++ tlsdesc_opt=-mtls-dialect=gnu2 202: ++ trap 'on_error $LINENO' ERR 202: ++ trap on_exit EXIT +203: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/nostdlib.sh 202: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/non-canonical-plt.sh .sh 202: ++ testname=non-canonical-plt 202: ++ echo -n 'Testing non-canonical-plt ... ' 202: Testing non-canonical-plt ... ++ t=out/test/elf/x86_64/non-canonical-plt 202: ++ mkdir -p out/test/elf/x86_64/non-canonical-plt -203: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/nostdlib.sh 203: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 203: ++ export LC_ALL=C 203: ++ LC_ALL=C @@ -11694,20 +11745,32 @@ 203: ++ tlsdesc_opt=-mtls-dialect=gnu2 203: ++ trap 'on_error $LINENO' ERR 203: ++ trap on_exit EXIT -202: + cat 203: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/nostdlib.sh .sh -202: + cc -o out/test/elf/x86_64/non-canonical-plt/a.so -fPIC -shared -xc - -181: + grep -q hello out/test/elf/x86_64/lto-archive/log -181: + grep -q howdy out/test/elf/x86_64/lto-archive/log -181: + on_exit +201: + 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 +181: + 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 203: ++ testname=nostdlib 203: ++ echo -n 'Testing nostdlib ... ' 203: Testing nostdlib ... ++ t=out/test/elf/x86_64/nostdlib 203: ++ mkdir -p out/test/elf/x86_64/nostdlib -181: + echo OK -181: OK -181: + exit 0 -192/369 Test #181: x86_64-lto-archive ............................... Passed 0.40 sec +196: ++ nm out/test/elf/x86_64/nmagic/exe1 +196: ++ grep ' end$' +196: ++ cut '-d ' -f1 +198: + grep -q 'Hello world' +198: + out/test/elf/x86_64/no-quick-exit/exe +199: + grep -Fq 'a.ver: cannot assign version `ver_x` to symbol `foo`: symbol not found' out/test/elf/x86_64/no-undefined-version/log +198: + on_exit +198: + echo OK +198: OK +198: + exit 0 +199: + on_exit +199: + echo OK +199: OK +199: + exit 0 +202: + cat +203: + cc -o out/test/elf/x86_64/nostdlib/a.o -c -xc - -fno-PIE +203: + cat +192/369 Test #198: x86_64-no-quick-exit ............................. Passed 0.13 sec +193/369 Test #199: x86_64-no-undefined-version ...................... Passed 0.12 sec test 204 Start 204: x86_64-now @@ -11717,9 +11780,21 @@ 204: MACHINE=x86_64 204: CPU= 204: Test timeout computed to be: 1500 -203: + cat -199: + grep -Fq 'a.ver: cannot assign version `ver_x` to symbol `foo`: symbol not found' out/test/elf/x86_64/no-undefined-version/log +test 205 + Start 205: x86_64-oformat-binary + +205: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/oformat-binary.sh" +205: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +205: Environment variables: +205: MACHINE=x86_64 +205: CPU= +205: Test timeout computed to be: 1500 +202: + cc -o out/test/elf/x86_64/non-canonical-plt/a.so -fPIC -shared -xc - +196: + end1=0000000000000410 +196: ++ nm out/test/elf/x86_64/nmagic/exe2 +196: ++ cut '-d ' -f1 204: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/now.sh +196: ++ grep ' end$' 204: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 204: ++ export LC_ALL=C 204: ++ LC_ALL=C @@ -11738,39 +11813,13 @@ 204: ++ tlsdesc_opt=-mtls-dialect=gnu2 204: ++ trap 'on_error $LINENO' ERR 204: ++ trap on_exit EXIT -203: + cc -o out/test/elf/x86_64/nostdlib/a.o -c -xc - -fno-PIE -204: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/now.sh .sh -204: ++ testname=now -204: ++ echo -n 'Testing now ... ' -204: Testing now ... ++ t=out/test/elf/x86_64/now -204: ++ mkdir -p out/test/elf/x86_64/now -199: + on_exit -199: + echo OK -199: OK -199: + exit 0 -193/369 Test #199: x86_64-no-undefined-version ...................... Passed 0.09 sec -test 205 - Start 205: x86_64-oformat-binary - -205: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/oformat-binary.sh" -205: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -205: Environment variables: -205: MACHINE=x86_64 -205: CPU= -205: Test timeout computed to be: 1500 -204: + cat -204: + cc -c -fPIC -o out/test/elf/x86_64/now/a.o -xc - -184: + 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 -200: + 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 -205: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/oformat-binary.sh -198: + out/test/elf/x86_64/no-quick-exit/exe -201: + 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 -198: + grep -q 'Hello world' -198: + on_exit -198: + echo OK -198: OK -198: + exit 0 -194/369 Test #198: x86_64-no-quick-exit ............................. Passed 0.11 sec +196: + end2=0000000000003480 +196: + '[' 1040 -lt 13440 ']' +196: + on_exit +196: + echo OK +196: OK +196: + exit 0 +194/369 Test #196: x86_64-nmagic .................................... Passed 0.15 sec test 206 Start 206: x86_64-omagic @@ -11780,6 +11829,10 @@ 206: MACHINE=x86_64 206: CPU= 206: Test timeout computed to be: 1500 +200: + 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 +204: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/now.sh .sh +205: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/oformat-binary.sh +206: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/omagic.sh 205: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 205: ++ export LC_ALL=C 205: ++ LC_ALL=C @@ -11799,14 +11852,10 @@ 205: ++ trap 'on_error $LINENO' ERR 205: ++ trap on_exit EXIT 205: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/oformat-binary.sh .sh -205: ++ testname=oformat-binary -205: ++ echo -n 'Testing oformat-binary ... ' -205: Testing oformat-binary ... ++ t=out/test/elf/x86_64/oformat-binary -205: ++ mkdir -p out/test/elf/x86_64/oformat-binary -205: + cat -203: + ./mold -o out/test/elf/x86_64/nostdlib/exe out/test/elf/x86_64/nostdlib/a.o -205: + cc -o out/test/elf/x86_64/oformat-binary/a.o -c -xc - -fno-PIE -206: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/omagic.sh +204: ++ testname=now +204: ++ echo -n 'Testing now ... ' +204: Testing now ... ++ t=out/test/elf/x86_64/now +204: ++ mkdir -p out/test/elf/x86_64/now 206: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 206: ++ export LC_ALL=C 206: ++ LC_ALL=C @@ -11825,20 +11874,23 @@ 206: ++ tlsdesc_opt=-mtls-dialect=gnu2 206: ++ trap 'on_error $LINENO' ERR 206: ++ trap on_exit EXIT -195: + ./mold -run bash -c 'echo $LD_PRELOAD' -195: + grep -Fq mold-wrapper.so 206: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/omagic.sh .sh +204: + cc -c -fPIC -o out/test/elf/x86_64/now/a.o -xc - +204: + cat +205: ++ testname=oformat-binary +205: ++ echo -n 'Testing oformat-binary ... ' +205: Testing oformat-binary ... ++ t=out/test/elf/x86_64/oformat-binary +205: ++ mkdir -p out/test/elf/x86_64/oformat-binary 206: ++ testname=omagic 206: ++ echo -n 'Testing omagic ... ' 206: Testing omagic ... ++ t=out/test/elf/x86_64/omagic 206: ++ mkdir -p out/test/elf/x86_64/omagic -202: + cat -202: + cc -o out/test/elf/x86_64/non-canonical-plt/b.o -c -xc - -fPIC -195: + on_exit -195: + echo OK -195: OK -195: + exit 0 -195/369 Test #195: x86_64-mold-wrapper2 ............................. Passed 0.20 sec +182: + on_exit +182: + echo OK +182: OK +182: + exit 0 +206: + test_cflags -static +195/369 Test #182: x86_64-lto-archive2 .............................. Passed 0.61 sec test 207 Start 207: x86_64-pack-dyn-relocs-relr @@ -11848,15 +11900,19 @@ 207: MACHINE=x86_64 207: CPU= 207: Test timeout computed to be: 1500 -206: + test_cflags -static -206: + echo 'int main() {}' 206: + cc -static -o /dev/null -xc - -204: + cc -B. -shared -o out/test/elf/x86_64/now/b.so out/test/elf/x86_64/now/a.o -Wl,-z,now +206: + echo 'int main() {}' +205: + cc -o out/test/elf/x86_64/oformat-binary/a.o -c -xc - -fno-PIE +205: + cat +184: + out/test/elf/x86_64/lto-gcc/exe1 +184: + grep -q 'Hello world' +184: + cat +184: + gcc -flto -ffat-lto-objects -c -o out/test/elf/x86_64/lto-gcc/b.o -xc - +201: + grep -q 'undefined symbol: no-such-sym' out/test/elf/x86_64/noinhibit-exec/log1 207: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/pack-dyn-relocs-relr.sh 207: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 207: ++ export LC_ALL=C 207: ++ LC_ALL=C -200: + out/test/elf/x86_64/nocopyreloc/exe 207: ++ '[' -z x86_64 ']' 207: ++ '[' -z '' ']' 207: ++ TESTDIR=out/test/elf/x86_64 @@ -11870,16 +11926,14 @@ 207: ++ QEMU= 207: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 207: ++ tlsdesc_opt=-mtls-dialect=gnu2 -200: + grep -q '3 5' 207: ++ trap 'on_error $LINENO' ERR 207: ++ trap on_exit EXIT +201: + 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 207: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/pack-dyn-relocs-relr.sh .sh -203: + readelf -W --sections out/test/elf/x86_64/nostdlib/exe 207: ++ testname=pack-dyn-relocs-relr 207: ++ echo -n 'Testing pack-dyn-relocs-relr ... ' 207: Testing pack-dyn-relocs-relr ... ++ t=out/test/elf/x86_64/pack-dyn-relocs-relr 207: ++ mkdir -p out/test/elf/x86_64/pack-dyn-relocs-relr -200: + 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 207: + '[' x86_64 = m68k ']' 207: + '[' x86_64 = ppc ']' 207: + command -v llvm-readelf @@ -11888,11 +11942,6 @@ 207: skipped 207: + trap - EXIT 207: + exit 0 -201: + grep -q 'undefined symbol: no-such-sym' out/test/elf/x86_64/noinhibit-exec/log1 -194: + cat -194: + chmod 755 out/test/elf/x86_64/mold-wrapper/a.sh -203: + grep -Fq ' .dynsym ' out/test/elf/x86_64/nostdlib/log -203: + grep -Fq ' .dynstr ' out/test/elf/x86_64/nostdlib/log 196/369 Test #207: x86_64-pack-dyn-relocs-relr ......................***Skipped 0.02 sec test 208 Start 208: x86_64-package-metadata @@ -11903,23 +11952,7 @@ 208: MACHINE=x86_64 208: CPU= 208: Test timeout computed to be: 1500 -201: + 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 -194: + cat -203: + on_exit -203: + echo OK -203: OK -203: + exit 0 -197/369 Test #203: x86_64-nostdlib .................................. Passed 0.08 sec -test 209 - Start 209: x86_64-physical-image-base - -209: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/physical-image-base.sh" -209: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -209: Environment variables: -209: MACHINE=x86_64 -209: CPU= -209: Test timeout computed to be: 1500 -194: + cc -xc -o out/test/elf/x86_64/mold-wrapper/exe - +203: + ./mold -o out/test/elf/x86_64/nostdlib/exe out/test/elf/x86_64/nostdlib/a.o 208: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/package-metadata.sh 208: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 208: ++ export LC_ALL=C @@ -11940,7 +11973,49 @@ 208: ++ trap 'on_error $LINENO' ERR 208: ++ trap on_exit EXIT 208: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/package-metadata.sh .sh +208: ++ testname=package-metadata +208: ++ echo -n 'Testing package-metadata ... ' +208: Testing package-metadata ... ++ t=out/test/elf/x86_64/package-metadata +208: ++ mkdir -p out/test/elf/x86_64/package-metadata +203: + readelf -W --sections out/test/elf/x86_64/nostdlib/exe +208: + cc -o out/test/elf/x86_64/package-metadata/a.o -c -xc - +208: + cat +203: + grep -Fq ' .dynsym ' out/test/elf/x86_64/nostdlib/log +203: + grep -Fq ' .dynstr ' out/test/elf/x86_64/nostdlib/log 205: + ./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 +201: + grep -q 'undefined symbol: no-such-sym' out/test/elf/x86_64/noinhibit-exec/log2 +203: + on_exit +203: + echo OK +203: OK +203: + exit 0 +197/369 Test #203: x86_64-nostdlib .................................. Passed 0.09 sec +test 209 + Start 209: x86_64-physical-image-base + +209: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/physical-image-base.sh" +209: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +209: Environment variables: +209: MACHINE=x86_64 +209: CPU= +209: Test timeout computed to be: 1500 +200: + out/test/elf/x86_64/nocopyreloc/exe +200: + grep -q '3 5' +200: + 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 +204: + cc -B. -shared -o out/test/elf/x86_64/now/b.so out/test/elf/x86_64/now/a.o -Wl,-z,now +201: + on_exit +201: + echo OK +201: OK +201: + exit 0 +198/369 Test #201: x86_64-noinhibit-exec ............................ Passed 0.19 sec +test 210 + Start 210: x86_64-pie + +210: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/pie.sh" +210: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +210: Environment variables: +210: MACHINE=x86_64 +210: CPU= +210: Test timeout computed to be: 1500 209: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/physical-image-base.sh 209: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 209: ++ export LC_ALL=C @@ -11965,46 +12040,19 @@ 209: ++ echo -n 'Testing physical-image-base ... ' 209: Testing physical-image-base ... ++ t=out/test/elf/x86_64/physical-image-base 209: ++ mkdir -p out/test/elf/x86_64/physical-image-base -208: ++ testname=package-metadata -208: ++ echo -n 'Testing package-metadata ... ' -208: Testing package-metadata ... ++ t=out/test/elf/x86_64/package-metadata -208: ++ mkdir -p out/test/elf/x86_64/package-metadata 209: + '[' x86_64 = ppc64 ']' 209: + grep --version -209: + grep BusyBox +184: + gcc -B. -o out/test/elf/x86_64/lto-gcc/exe2 out/test/elf/x86_64/lto-gcc/b.o --verbose +184: + grep -q -- -fwpa +205: + grep -Eq '^\s+0x4000\s+[0-9]+\s+[0-9]+\s+\.text$' out/test/elf/x86_64/oformat-binary/map 202: + cat -202: + cc -o out/test/elf/x86_64/non-canonical-plt/c.o -c -xc - -fPIC -208: + cat -208: + cc -o out/test/elf/x86_64/package-metadata/a.o -c -xc - +209: + grep BusyBox +202: + cc -o out/test/elf/x86_64/non-canonical-plt/b.o -c -xc - -fPIC 209: + cat 209: + cc -o out/test/elf/x86_64/physical-image-base/a.o -c -xc - -204: + grep -q 'Flags: NOW' -204: + readelf --dynamic out/test/elf/x86_64/now/b.so -205: + grep -Eq '^\s+0x4000\s+[0-9]+\s+[0-9]+\s+\.text$' out/test/elf/x86_64/oformat-binary/map -200: + grep -q 'recompile with -fPIC' out/test/elf/x86_64/nocopyreloc/log -204: + 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 -200: + on_exit -200: + echo OK -200: OK -200: + exit 0 -198/369 Test #200: x86_64-nocopyreloc ............................... Passed 0.17 sec -test 210 - Start 210: x86_64-pie - -210: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/pie.sh" -210: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -210: Environment variables: -210: MACHINE=x86_64 -210: CPU= -210: Test timeout computed to be: 1500 205: + grep -Fq .strtab out/test/elf/x86_64/oformat-binary/map -201: + grep -q 'undefined symbol: no-such-sym' out/test/elf/x86_64/noinhibit-exec/log2 210: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/pie.sh 205: + grep -Fq .shstrtab out/test/elf/x86_64/oformat-binary/map -201: + on_exit -201: + echo OK -201: OK -201: + exit 0 210: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 210: ++ export LC_ALL=C 210: ++ LC_ALL=C @@ -12013,7 +12061,6 @@ 210: ++ TESTDIR=out/test/elf/x86_64 210: ++ CC=cc 210: ++ CXX=c++ -205: + grep -Fq .symtab out/test/elf/x86_64/oformat-binary/map 210: ++ GCC=gcc 210: ++ GXX=g++ 210: ++ OBJDUMP=objdump @@ -12022,7 +12069,15 @@ 210: ++ QEMU= 210: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 210: ++ tlsdesc_opt=-mtls-dialect=gnu2 -199/369 Test #201: x86_64-noinhibit-exec ............................ Passed 0.17 sec +210: ++ trap 'on_error $LINENO' ERR +210: ++ trap on_exit EXIT +205: + grep -Fq .symtab out/test/elf/x86_64/oformat-binary/map +205: + grep -Fq .comment out/test/elf/x86_64/oformat-binary/map +205: + on_exit +205: + echo OK +205: OK +205: + exit 0 +199/369 Test #205: x86_64-oformat-binary ............................ Passed 0.10 sec test 211 Start 211: x86_64-plt-dso @@ -12032,28 +12087,12 @@ 211: MACHINE=x86_64 211: CPU= 211: Test timeout computed to be: 1500 -210: ++ trap 'on_error $LINENO' ERR -210: ++ trap on_exit EXIT 210: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/pie.sh .sh -205: + grep -Fq .comment out/test/elf/x86_64/oformat-binary/map -205: + on_exit -205: + echo OK -205: OK -205: + exit 0 210: ++ testname=pie 210: ++ echo -n 'Testing pie ... ' 210: Testing pie ... ++ t=out/test/elf/x86_64/pie 210: ++ mkdir -p out/test/elf/x86_64/pie -200/369 Test #205: x86_64-oformat-binary ............................ Passed 0.10 sec -test 212 - Start 212: x86_64-pltgot - -212: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/pltgot.sh" -212: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -212: Environment variables: -212: MACHINE=x86_64 -212: CPU= -212: Test timeout computed to be: 1500 +208: + 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"}' 210: + cat 210: + cc -o out/test/elf/x86_64/pie/a.o -c -xc -fPIE - 211: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/plt-dso.sh @@ -12080,7 +12119,51 @@ 211: ++ echo -n 'Testing plt-dso ... ' 211: Testing plt-dso ... ++ t=out/test/elf/x86_64/plt-dso 211: ++ mkdir -p out/test/elf/x86_64/plt-dso +211: + cat +211: + cc -fPIC -c -o out/test/elf/x86_64/plt-dso/a.o -xc - +204: + readelf --dynamic out/test/elf/x86_64/now/b.so +204: + grep -q 'Flags: NOW' +204: + 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 +202: + cat +202: + cc -o out/test/elf/x86_64/non-canonical-plt/c.o -c -xc - -fPIC +200: + grep -q 'recompile with -fPIC' out/test/elf/x86_64/nocopyreloc/log +181: + out/test/elf/x86_64/lto-archive/exe +181: + grep -q 'Hello world' +206: + cat +206: + cc -c -o out/test/elf/x86_64/omagic/a.o -xc - -fno-PIC +200: + on_exit +200: + echo OK +200: OK +200: + exit 0 +181: + nm out/test/elf/x86_64/lto-archive/exe +200/369 Test #200: x86_64-nocopyreloc ............................... Passed 0.25 sec +test 212 + Start 212: x86_64-pltgot + +212: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/pltgot.sh" +212: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +212: Environment variables: +212: MACHINE=x86_64 +212: CPU= +212: Test timeout computed to be: 1500 +209: + 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 +181: + grep -q hello out/test/elf/x86_64/lto-archive/log +181: + grep -q howdy out/test/elf/x86_64/lto-archive/log +181: + on_exit +181: + echo OK +181: OK +181: + exit 0 212: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/pltgot.sh +201/369 Test #181: x86_64-lto-archive ............................... Passed 0.76 sec +test 213 + Start 213: x86_64-preinit-array + +213: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/preinit-array.sh" +213: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +213: Environment variables: +213: MACHINE=x86_64 +213: CPU= +213: Test timeout computed to be: 1500 212: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 212: ++ export LC_ALL=C 212: ++ LC_ALL=C @@ -12100,31 +12183,11 @@ 212: ++ trap 'on_error $LINENO' ERR 212: ++ trap on_exit EXIT 212: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/pltgot.sh .sh -211: + cat -211: + cc -fPIC -c -o out/test/elf/x86_64/plt-dso/a.o -xc - +213: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/preinit-array.sh 212: ++ testname=pltgot 212: ++ echo -n 'Testing pltgot ... ' 212: Testing pltgot ... ++ t=out/test/elf/x86_64/pltgot 212: ++ mkdir -p out/test/elf/x86_64/pltgot -212: + cat -212: + cc -o out/test/elf/x86_64/pltgot/a.o -c -xc - -fPIC -204: + readelf --dynamic out/test/elf/x86_64/now/b.so -204: + grep -q 'Flags: NOW' out/test/elf/x86_64/now/log -204: + on_exit -204: + echo OK -204: OK -204: + exit 0 -201/369 Test #204: x86_64-now ....................................... Passed 0.12 sec -test 213 - Start 213: x86_64-preinit-array - -213: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/preinit-array.sh" -213: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -213: Environment variables: -213: MACHINE=x86_64 -213: CPU= -213: Test timeout computed to be: 1500 -213: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/preinit-array.sh 213: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 213: ++ export LC_ALL=C 213: ++ LC_ALL=C @@ -12144,36 +12207,28 @@ 213: ++ trap 'on_error $LINENO' ERR 213: ++ trap on_exit EXIT 213: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/preinit-array.sh .sh +208: + grep -Fq '{"foo":"bar"}' 213: ++ testname=preinit-array 213: ++ echo -n 'Testing preinit-array ... ' 213: Testing preinit-array ... ++ t=out/test/elf/x86_64/preinit-array 213: ++ mkdir -p out/test/elf/x86_64/preinit-array +212: + cc -o out/test/elf/x86_64/pltgot/a.o -c -xc - -fPIC +210: + cc -B. -pie -o out/test/elf/x86_64/pie/exe out/test/elf/x86_64/pie/a.o +204: + readelf --dynamic out/test/elf/x86_64/now/b.so 213: + cat 213: + cc -o out/test/elf/x86_64/preinit-array/a.o -c -xc - -212: + cc -B. -shared -o out/test/elf/x86_64/pltgot/b.so out/test/elf/x86_64/pltgot/a.o -209: + 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 -213: + ./mold -o out/test/elf/x86_64/preinit-array/exe1 out/test/elf/x86_64/preinit-array/a.o -210: + cc -B. -pie -o out/test/elf/x86_64/pie/exe out/test/elf/x86_64/pie/a.o +212: + cat +208: + readelf -x .note.package out/test/elf/x86_64/package-metadata/exe 211: + cc -B. -shared -o out/test/elf/x86_64/plt-dso/b.so out/test/elf/x86_64/plt-dso/a.o -206: + cc -c -o out/test/elf/x86_64/omagic/a.o -xc - -fno-PIC -208: + 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"}' -206: + cat +184: + cat +184: + gcc -flto -fno-use-linker-plugin -c -o out/test/elf/x86_64/lto-gcc/c.o -xc - 202: + 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 -213: + readelf -W --dynamic out/test/elf/x86_64/preinit-array/exe1 -213: + grep -q PREINIT_ARRAY out/test/elf/x86_64/preinit-array/log1 -213: + cat -213: + cc -o out/test/elf/x86_64/preinit-array/b.o -c -xc - -202: + out/test/elf/x86_64/non-canonical-plt/exe -208: + grep -Fq '{"foo":"bar"}' -202: + grep -q '^1 1 1$' -208: + readelf -x .note.package out/test/elf/x86_64/package-metadata/exe +204: + grep -q 'Flags: NOW' out/test/elf/x86_64/now/log 208: + on_exit 208: + echo OK 208: OK 208: + exit 0 -202: + grep -q '00000000 .* foo' -202: + readelf --dyn-syms out/test/elf/x86_64/non-canonical-plt/exe -202/369 Test #208: x86_64-package-metadata .......................... Passed 0.39 sec +202/369 Test #208: x86_64-package-metadata .......................... Passed 0.14 sec test 214 Start 214: x86_64-print-dependencies @@ -12183,25 +12238,11 @@ 214: MACHINE=x86_64 214: CPU= 214: Test timeout computed to be: 1500 -212: + cat -212: + cc -o out/test/elf/x86_64/pltgot/c.o -c -xc - -fPIC -211: + cat -211: + cc -c -o out/test/elf/x86_64/plt-dso/c.o -xc - -209: + grep -q 'Hello world' -209: + out/test/elf/x86_64/physical-image-base/exe1 -209: + readelf -W --segments out/test/elf/x86_64/physical-image-base/exe1 -209: + grep -Eq 'LOAD\s+0x000000 0x0*200000 0x0*800000' -202: + readelf --dyn-syms out/test/elf/x86_64/non-canonical-plt/exe -202: + grep -q '00000000 .* bar' -202: + on_exit -202: + echo OK -202: OK -202: + exit 0 -210: + readelf --file-header out/test/elf/x86_64/pie/exe -210: + grep -q -E '(Shared object file|Position-Independent Executable file)' -210: + grep -q 'Hello world' -210: + out/test/elf/x86_64/pie/exe -203/369 Test #202: x86_64-non-canonical-plt ......................... Passed 0.49 sec +204: + on_exit +204: + echo OK +204: OK +204: + exit 0 +203/369 Test #204: x86_64-now ....................................... Passed 0.18 sec test 215 Start 215: x86_64-protected-dynsym @@ -12211,13 +12252,28 @@ 215: MACHINE=x86_64 215: CPU= 215: Test timeout computed to be: 1500 -209: + readelf -Ws out/test/elf/x86_64/physical-image-base/exe1 -209: + grep -q __phys_start_foo -209: + 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' -210: + on_exit -210: + echo OK -210: OK -210: + exit 0 +206: + cc -B. out/test/elf/x86_64/omagic/a.o -o out/test/elf/x86_64/omagic/exe -static -Wl,--omagic +209: + grep -q 'Hello world' +215: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/protected-dynsym.sh +209: + out/test/elf/x86_64/physical-image-base/exe1 +215: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc +215: ++ export LC_ALL=C +215: ++ LC_ALL=C +215: ++ '[' -z x86_64 ']' +215: ++ '[' -z '' ']' +215: ++ TESTDIR=out/test/elf/x86_64 +215: ++ CC=cc +215: ++ CXX=c++ +215: ++ GCC=gcc +215: ++ GXX=g++ +215: ++ OBJDUMP=objdump +215: ++ OBJCOPY=objcopy +215: ++ STRIP=strip +215: ++ QEMU= +215: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' +215: ++ tlsdesc_opt=-mtls-dialect=gnu2 +215: ++ trap 'on_error $LINENO' ERR +215: ++ trap on_exit EXIT 214: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/print-dependencies.sh 214: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 214: ++ export LC_ALL=C @@ -12237,12 +12293,34 @@ 214: ++ tlsdesc_opt=-mtls-dialect=gnu2 214: ++ trap 'on_error $LINENO' ERR 214: ++ trap on_exit EXIT +215: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/protected-dynsym.sh .sh +210: + readelf --file-header out/test/elf/x86_64/pie/exe +209: + readelf -W --segments out/test/elf/x86_64/physical-image-base/exe1 214: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/print-dependencies.sh .sh +210: + grep -q -E '(Shared object file|Position-Independent Executable file)' +215: ++ testname=protected-dynsym +215: ++ echo -n 'Testing protected-dynsym ... ' +215: Testing protected-dynsym ... ++ t=out/test/elf/x86_64/protected-dynsym +215: ++ mkdir -p out/test/elf/x86_64/protected-dynsym +209: + grep -Eq 'LOAD\s+0x000000 0x0*200000 0x0*800000' 214: ++ testname=print-dependencies 214: ++ echo -n 'Testing print-dependencies ... ' 214: Testing print-dependencies ... ++ t=out/test/elf/x86_64/print-dependencies 214: ++ mkdir -p out/test/elf/x86_64/print-dependencies -204/369 Test #210: x86_64-pie ....................................... Passed 0.37 sec +209: + readelf -Ws out/test/elf/x86_64/physical-image-base/exe1 +209: + grep -q __phys_start_foo +215: + cat +210: + grep -q 'Hello world' +214: + cat +215: + cc -fPIC -c -o out/test/elf/x86_64/protected-dynsym/a.o -xc - +210: + out/test/elf/x86_64/pie/exe +214: + cc -o out/test/elf/x86_64/print-dependencies/a.o -c -xc - +209: + 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' +210: + on_exit +210: + echo OK +210: OK +210: + exit 0 +204/369 Test #210: x86_64-pie ....................................... Passed 0.12 sec test 216 Start 216: x86_64-protected @@ -12252,33 +12330,9 @@ 216: MACHINE=x86_64 216: CPU= 216: Test timeout computed to be: 1500 -214: + cat -214: + cc -o out/test/elf/x86_64/print-dependencies/a.o -c -xc - -215: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/protected-dynsym.sh -215: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc -215: ++ export LC_ALL=C -215: ++ LC_ALL=C -215: ++ '[' -z x86_64 ']' -215: ++ '[' -z '' ']' -215: ++ TESTDIR=out/test/elf/x86_64 -215: ++ CC=cc -215: ++ CXX=c++ -215: ++ GCC=gcc -215: ++ GXX=g++ -215: ++ OBJDUMP=objdump -215: ++ OBJCOPY=objcopy -215: ++ STRIP=strip -215: ++ QEMU= -215: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' -215: ++ tlsdesc_opt=-mtls-dialect=gnu2 -215: ++ trap 'on_error $LINENO' ERR -215: ++ trap on_exit EXIT -215: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/protected-dynsym.sh .sh +211: + cat +211: + cc -c -o out/test/elf/x86_64/plt-dso/c.o -xc - 216: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/protected.sh -215: ++ testname=protected-dynsym -215: ++ echo -n 'Testing protected-dynsym ... ' -215: Testing protected-dynsym ... ++ t=out/test/elf/x86_64/protected-dynsym -215: ++ mkdir -p out/test/elf/x86_64/protected-dynsym 216: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 216: ++ export LC_ALL=C 216: ++ LC_ALL=C @@ -12297,24 +12351,30 @@ 216: ++ tlsdesc_opt=-mtls-dialect=gnu2 216: ++ trap 'on_error $LINENO' ERR 216: ++ trap on_exit EXIT +202: + out/test/elf/x86_64/non-canonical-plt/exe +202: + grep -q '^1 1 1$' 216: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/protected.sh .sh 216: ++ testname=protected 216: ++ echo -n 'Testing protected ... ' 216: Testing protected ... ++ t=out/test/elf/x86_64/protected 216: ++ mkdir -p out/test/elf/x86_64/protected -215: + cat -215: + cc -fPIC -c -o out/test/elf/x86_64/protected-dynsym/a.o -xc - +202: + grep -q '00000000 .* foo' +202: + readelf --dyn-syms out/test/elf/x86_64/non-canonical-plt/exe +212: + cc -B. -shared -o out/test/elf/x86_64/pltgot/b.so out/test/elf/x86_64/pltgot/a.o 216: + cat 216: + cc -fPIC -c -o out/test/elf/x86_64/protected/a.o -xc - +202: + readelf --dyn-syms out/test/elf/x86_64/non-canonical-plt/exe 209: + readelf -W --segments out/test/elf/x86_64/physical-image-base/exe2 209: + grep -Eq 'LOAD\s+\S+\s+(\S+)\s\1.*R E 0' -209: + readelf -W --segments out/test/elf/x86_64/physical-image-base/exe2 +202: + grep -q '00000000 .* bar' +213: + ./mold -o out/test/elf/x86_64/preinit-array/exe1 out/test/elf/x86_64/preinit-array/a.o +202: + on_exit +202: + echo OK +202: OK +202: + exit 0 +215: + cc -fPIC -c -o out/test/elf/x86_64/protected-dynsym/b.o -fcommon -xc - 209: + grep -Eq 'LOAD\s+\S+\s+(\S+)\s\1.*R 0' -209: + on_exit -209: + echo OK -209: OK -209: + exit 0 -205/369 Test #209: x86_64-physical-image-base ....................... Passed 0.43 sec +205/369 Test #202: x86_64-non-canonical-plt ......................... Passed 0.27 sec test 217 Start 217: x86_64-push-pop-state @@ -12324,6 +12384,29 @@ 217: MACHINE=x86_64 217: CPU= 217: Test timeout computed to be: 1500 +215: + cat +209: + readelf -W --segments out/test/elf/x86_64/physical-image-base/exe2 +206: + readelf -W --segments out/test/elf/x86_64/omagic/exe +206: + grep -qw RWE +206: + on_exit +206: + echo OK +206: OK +206: + exit 0 +184: + 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 +206/369 Test #206: x86_64-omagic .................................... Passed 0.24 sec +test 218 + Start 218: x86_64-range-extension-thunk + +218: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/range-extension-thunk.sh" +218: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +218: Environment variables: +218: MACHINE=x86_64 +218: CPU= +218: Test timeout computed to be: 1500 +209: + on_exit +209: + echo OK +209: OK +209: + exit 0 217: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/push-pop-state.sh 217: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 217: ++ export LC_ALL=C @@ -12348,57 +12431,9 @@ 217: ++ echo -n 'Testing push-pop-state ... ' 217: Testing push-pop-state ... ++ t=out/test/elf/x86_64/push-pop-state 217: ++ mkdir -p out/test/elf/x86_64/push-pop-state -217: + cat -217: + cc -shared -o out/test/elf/x86_64/push-pop-state/a.so -xc - -206: + cc -B. out/test/elf/x86_64/omagic/a.o -o out/test/elf/x86_64/omagic/exe -static -Wl,--omagic 214: + cat -212: + 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 -216: + cc -B. -o out/test/elf/x86_64/protected/b.so -shared out/test/elf/x86_64/protected/a.o -214: + cc -o out/test/elf/x86_64/print-dependencies/b.o -c -xc - -211: + 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 -215: + cc -fPIC -c -o out/test/elf/x86_64/protected-dynsym/b.o -fcommon -xc - -215: + cat -213: + cc -B. -o out/test/elf/x86_64/preinit-array/exe2 out/test/elf/x86_64/preinit-array/b.o -194: + grep -q 'a.sh execl' -194: ++ pwd -194: + LD_PRELOAD=/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so -194: + MOLD_PATH=out/test/elf/x86_64/mold-wrapper/a.sh -194: + out/test/elf/x86_64/mold-wrapper/exe execl -217: + cat -217: + cc -shared -o out/test/elf/x86_64/push-pop-state/b.so -xc - -194: + grep -q 'a.sh execlp' -194: ++ pwd -194: + LD_PRELOAD=/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so -194: + MOLD_PATH=out/test/elf/x86_64/mold-wrapper/a.sh -194: + out/test/elf/x86_64/mold-wrapper/exe execlp -212: + out/test/elf/x86_64/pltgot/exe -212: + grep -q 'Hello world' -212: + on_exit -212: + echo OK -212: OK -212: + exit 0 -213: + readelf -W --dynamic out/test/elf/x86_64/preinit-array/exe2 -213: + grep -q PREINIT_ARRAY -206/369 Test #212: x86_64-pltgot .................................... Passed 0.66 sec -test 218 - Start 218: x86_64-range-extension-thunk - -218: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/range-extension-thunk.sh" -218: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -218: Environment variables: -218: MACHINE=x86_64 -218: CPU= -218: Test timeout computed to be: 1500 -194: + grep -q 'a.sh execle' -194: ++ pwd -194: + LD_PRELOAD=/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so -194: + MOLD_PATH=out/test/elf/x86_64/mold-wrapper/a.sh -194: + out/test/elf/x86_64/mold-wrapper/exe execle -213: + on_exit -213: + echo OK -213: OK -213: + exit 0 -207/369 Test #213: x86_64-preinit-array ............................. Passed 0.65 sec +213: + readelf -W --dynamic out/test/elf/x86_64/preinit-array/exe1 +207/369 Test #209: x86_64-physical-image-base ....................... Passed 0.18 sec test 219 Start 219: x86_64-range-extension-thunk2 @@ -12408,11 +12443,10 @@ 219: MACHINE=x86_64 219: CPU= 219: Test timeout computed to be: 1500 -194: + grep -q 'a.sh execv' -194: ++ pwd -194: + LD_PRELOAD=/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so -194: + MOLD_PATH=out/test/elf/x86_64/mold-wrapper/a.sh -194: + out/test/elf/x86_64/mold-wrapper/exe execv +217: + cc -shared -o out/test/elf/x86_64/push-pop-state/a.so -xc - +217: + cat +214: + cc -o out/test/elf/x86_64/print-dependencies/b.o -c -xc - +213: + grep -q PREINIT_ARRAY out/test/elf/x86_64/preinit-array/log1 218: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/range-extension-thunk.sh 218: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 218: ++ export LC_ALL=C @@ -12437,29 +12471,20 @@ 218: ++ echo -n 'Testing range-extension-thunk ... ' 218: Testing range-extension-thunk ... ++ t=out/test/elf/x86_64/range-extension-thunk 218: ++ mkdir -p out/test/elf/x86_64/range-extension-thunk -216: + cc -c -o out/test/elf/x86_64/protected/c.o -xc - -fno-PIE -216: + cat +211: + 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 +212: + cat +212: + cc -o out/test/elf/x86_64/pltgot/c.o -c -xc - -fPIC +219: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/range-extension-thunk2.sh 218: + '[' x86_64 = i686 ']' 218: + '[' x86_64 = riscv32 ']' 218: + '[' x86_64 = sparc64 ']' 218: + on_qemu 218: + '[' '' '!=' '' ']' 218: + grep -qw qemu /proc/cpuinfo -211: + out/test/elf/x86_64/plt-dso/exe -194: + grep -q 'a.sh execvp' -219: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/range-extension-thunk2.sh -194: ++ pwd -206: + readelf -W --segments out/test/elf/x86_64/omagic/exe -211: + grep -q 'Hello WORLD' -194: + LD_PRELOAD=/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so -194: + MOLD_PATH=out/test/elf/x86_64/mold-wrapper/a.sh -194: + out/test/elf/x86_64/mold-wrapper/exe execvp -206: + grep -qw RWE 219: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 219: ++ export LC_ALL=C 219: ++ LC_ALL=C 219: ++ '[' -z x86_64 ']' -218: + cat 219: ++ '[' -z '' ']' 219: ++ TESTDIR=out/test/elf/x86_64 219: ++ CC=cc @@ -12474,12 +12499,30 @@ 219: ++ tlsdesc_opt=-mtls-dialect=gnu2 219: ++ trap 'on_error $LINENO' ERR 219: ++ trap on_exit EXIT +213: + cc -o out/test/elf/x86_64/preinit-array/b.o -c -xc - +215: + 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 +219: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/range-extension-thunk2.sh .sh +213: + cat +219: ++ testname=range-extension-thunk2 +219: ++ echo -n 'Testing range-extension-thunk2 ... ' +219: Testing range-extension-thunk2 ... ++ t=out/test/elf/x86_64/range-extension-thunk2 +219: ++ mkdir -p out/test/elf/x86_64/range-extension-thunk2 +216: + cc -B. -o out/test/elf/x86_64/protected/b.so -shared out/test/elf/x86_64/protected/a.o +218: + cat +218: + cat +219: + cat +219: + cc -o out/test/elf/x86_64/range-extension-thunk2/a.o -c -xc - -ffunction-sections +218: + cc -c -o out/test/elf/x86_64/range-extension-thunk/c.o out/test/elf/x86_64/range-extension-thunk/a.c -O0 +214: + 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 +213: + cc -B. -o out/test/elf/x86_64/preinit-array/exe2 out/test/elf/x86_64/preinit-array/b.o +212: + 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 +211: + grep -q 'Hello WORLD' +211: + out/test/elf/x86_64/plt-dso/exe 211: + on_exit 211: + echo OK 211: OK 211: + exit 0 -219: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/range-extension-thunk2.sh .sh -208/369 Test #211: x86_64-plt-dso ................................... Passed 0.69 sec +208/369 Test #211: x86_64-plt-dso ................................... Passed 0.24 sec test 220 Start 220: x86_64-relax-got-load @@ -12489,37 +12532,10 @@ 220: MACHINE=x86_64 220: CPU= 220: Test timeout computed to be: 1500 -219: ++ testname=range-extension-thunk2 -219: ++ echo -n 'Testing range-extension-thunk2 ... ' -219: Testing range-extension-thunk2 ... ++ t=out/test/elf/x86_64/range-extension-thunk2 -219: ++ mkdir -p out/test/elf/x86_64/range-extension-thunk2 -219: + cat -219: + cc -o out/test/elf/x86_64/range-extension-thunk2/a.o -c -xc - -ffunction-sections -218: + cat -218: + cc -c -o out/test/elf/x86_64/range-extension-thunk/c.o out/test/elf/x86_64/range-extension-thunk/a.c -O0 -206: + on_exit -206: + echo OK -206: OK -206: + exit 0 -194: + grep -q 'a.sh execvpe bar' -194: ++ pwd -194: + LD_PRELOAD=/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so -194: + MOLD_PATH=out/test/elf/x86_64/mold-wrapper/a.sh -194: + out/test/elf/x86_64/mold-wrapper/exe execvpe -209/369 Test #206: x86_64-omagic .................................... Passed 0.77 sec -test 221 - Start 221: x86_64-reloc-rodata - -221: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/reloc-rodata.sh" -221: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -221: Environment variables: -221: MACHINE=x86_64 -221: CPU= -221: Test timeout computed to be: 1500 -194: + on_exit -194: + echo OK -194: OK -194: + exit 0 +215: + grep -Eq 'PROTECTED\b.*\bfoo\b' +216: + cc -c -o out/test/elf/x86_64/protected/c.o -xc - -fno-PIE +216: + cat +215: + readelf --symbols out/test/elf/x86_64/protected-dynsym/c.so 220: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/relax-got-load.sh 220: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 220: ++ export LC_ALL=C @@ -12544,7 +12560,35 @@ 220: ++ echo -n 'Testing relax-got-load ... ' 220: Testing relax-got-load ... ++ t=out/test/elf/x86_64/relax-got-load 220: ++ mkdir -p out/test/elf/x86_64/relax-got-load -210/369 Test #194: x86_64-mold-wrapper .............................. Passed 0.96 sec +218: + cc -c -o out/test/elf/x86_64/range-extension-thunk/d.o out/test/elf/x86_64/range-extension-thunk/b.c -O0 +215: + cc -fPIC -c -o out/test/elf/x86_64/protected-dynsym/d.o -fno-common -xc - +215: + cat +220: + cat +217: + cat +220: + cc -o out/test/elf/x86_64/relax-got-load/a.o -c -xc - -fPIC +217: + cc -shared -o out/test/elf/x86_64/push-pop-state/b.so -xc - +214: + grep -q 'b\.o.*a\.o.*foo$' out/test/elf/x86_64/print-dependencies/log +213: + readelf -W --dynamic out/test/elf/x86_64/preinit-array/exe2 +213: + grep -q PREINIT_ARRAY +213: + on_exit +213: + echo OK +213: OK +213: + exit 0 +214: + on_exit +214: + echo OK +214: OK +214: + exit 0 +209/369 Test #213: x86_64-preinit-array ............................. Passed 0.23 sec +test 221 + Start 221: x86_64-reloc-rodata + +221: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/reloc-rodata.sh" +221: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +221: Environment variables: +221: MACHINE=x86_64 +221: CPU= +221: Test timeout computed to be: 1500 +210/369 Test #214: x86_64-print-dependencies ........................ Passed 0.20 sec test 222 Start 222: x86_64-relocatable-archive @@ -12554,8 +12598,6 @@ 222: MACHINE=x86_64 222: CPU= 222: Test timeout computed to be: 1500 -220: + cat -220: + cc -o out/test/elf/x86_64/relax-got-load/a.o -c -xc - -fPIC 221: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/reloc-rodata.sh 221: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 221: ++ export LC_ALL=C @@ -12581,6 +12623,29 @@ 221: Testing reloc-rodata ... ++ t=out/test/elf/x86_64/reloc-rodata 221: ++ mkdir -p out/test/elf/x86_64/reloc-rodata 222: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/relocatable-archive.sh +221: + exit +221: + on_exit +221: + echo OK +221: OK +221: + exit 0 +215: + 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 +212: + grep -q 'Hello world' +212: + out/test/elf/x86_64/pltgot/exe +216: + 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 +211/369 Test #221: x86_64-reloc-rodata .............................. Passed 0.01 sec +test 223 + Start 223: x86_64-relocatable-c++ + +223: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/relocatable-c++.sh" +223: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +223: Environment variables: +223: MACHINE=x86_64 +223: CPU= +223: Test timeout computed to be: 1500 +212: + on_exit +212: + echo OK +212: OK +212: + exit 0 222: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 222: ++ export LC_ALL=C 222: ++ LC_ALL=C @@ -12604,27 +12669,49 @@ 222: ++ echo -n 'Testing relocatable-archive ... ' 222: Testing relocatable-archive ... ++ t=out/test/elf/x86_64/relocatable-archive 222: ++ mkdir -p out/test/elf/x86_64/relocatable-archive -221: + exit -221: + on_exit -221: + echo OK -221: OK -221: + exit 0 -211/369 Test #221: x86_64-reloc-rodata .............................. Passed 0.05 sec -test 223 - Start 223: x86_64-relocatable-c++ +212/369 Test #212: x86_64-pltgot .................................... Passed 0.26 sec +test 224 + Start 224: x86_64-relocatable-compressed-debug-info -223: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/relocatable-c++.sh" -223: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -223: Environment variables: -223: MACHINE=x86_64 -223: CPU= -223: Test timeout computed to be: 1500 -222: + grep -q __tsan_init +224: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/relocatable-compressed-debug-info.sh" +224: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +224: Environment variables: +224: MACHINE=x86_64 +224: CPU= +224: Test timeout computed to be: 1500 222: + nm mold -214: + 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 -215: + 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 +218: + 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 +222: + grep -q __tsan_init +224: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/relocatable-compressed-debug-info.sh +224: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc +224: ++ export LC_ALL=C +224: ++ LC_ALL=C +224: ++ '[' -z x86_64 ']' +224: ++ '[' -z '' ']' +224: ++ TESTDIR=out/test/elf/x86_64 +224: ++ CC=cc +224: ++ CXX=c++ +224: ++ GCC=gcc +224: ++ GXX=g++ +224: ++ OBJDUMP=objdump +224: ++ OBJCOPY=objcopy +224: ++ STRIP=strip +224: ++ QEMU= +224: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' +224: ++ tlsdesc_opt=-mtls-dialect=gnu2 +224: ++ trap 'on_error $LINENO' ERR +224: ++ trap on_exit EXIT +224: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/relocatable-compressed-debug-info.sh .sh +220: + cc -o out/test/elf/x86_64/relax-got-load/b.o -c -xc - -fPIC +224: ++ testname=relocatable-compressed-debug-info +224: ++ echo -n 'Testing relocatable-compressed-debug-info ... ' +224: Testing relocatable-compressed-debug-info ... ++ t=out/test/elf/x86_64/relocatable-compressed-debug-info +224: ++ mkdir -p out/test/elf/x86_64/relocatable-compressed-debug-info +220: + cat 223: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/relocatable-c++.sh -216: + 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 +215: + grep -Eq 'PROTECTED\b.*\bfoo\b' +215: + readelf --symbols out/test/elf/x86_64/protected-dynsym/e.so +224: + nm mold 223: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 223: ++ export LC_ALL=C 223: ++ LC_ALL=C @@ -12643,42 +12730,17 @@ 223: ++ tlsdesc_opt=-mtls-dialect=gnu2 223: ++ trap 'on_error $LINENO' ERR 223: ++ trap on_exit EXIT +224: + grep -q __tsan_init 223: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/relocatable-c++.sh .sh 223: ++ testname=relocatable-c++ 223: ++ echo -n 'Testing relocatable-c++ ... ' 223: Testing relocatable-c++ ... ++ t=out/test/elf/x86_64/relocatable-c++ 223: ++ mkdir -p out/test/elf/x86_64/relocatable-c++ -223: + nm mold -223: + grep -q __tsan_init -217: + cat -217: + cc -c -o out/test/elf/x86_64/push-pop-state/c.o -xc - -218: + cc -c -o out/test/elf/x86_64/range-extension-thunk/d.o out/test/elf/x86_64/range-extension-thunk/b.c -O0 -214: + grep -q 'b\.o.*a\.o.*foo$' out/test/elf/x86_64/print-dependencies/log -215: + grep -Eq 'PROTECTED\b.*\bfoo\b' -216: + out/test/elf/x86_64/protected/exe -216: + grep -q '3 4 0' -214: + on_exit -214: + echo OK -214: OK -214: + exit 0 -212/369 Test #214: x86_64-print-dependencies ........................ Passed 0.48 sec -test 224 - Start 224: x86_64-relocatable-compressed-debug-info - -224: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/relocatable-compressed-debug-info.sh" -224: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -224: Environment variables: -224: MACHINE=x86_64 -224: CPU= -224: Test timeout computed to be: 1500 -216: + on_exit -216: + echo OK -216: OK -216: + exit 0 -215: + readelf --symbols out/test/elf/x86_64/protected-dynsym/c.so -215: + cc -fPIC -c -o out/test/elf/x86_64/protected-dynsym/d.o -fno-common -xc - -215: + cat -213/369 Test #216: x86_64-protected ................................. Passed 0.48 sec +215: + on_exit +215: + echo OK +215: OK +215: + exit 0 +213/369 Test #215: x86_64-protected-dynsym .......................... Passed 0.23 sec test 225 Start 225: x86_64-relocatable-debug-info @@ -12688,31 +12750,11 @@ 225: MACHINE=x86_64 225: CPU= 225: Test timeout computed to be: 1500 -224: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/relocatable-compressed-debug-info.sh -224: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc -224: ++ export LC_ALL=C -224: ++ LC_ALL=C -224: ++ '[' -z x86_64 ']' -224: ++ '[' -z '' ']' -224: ++ TESTDIR=out/test/elf/x86_64 -224: ++ CC=cc -224: ++ CXX=c++ -224: ++ GCC=gcc -224: ++ GXX=g++ -224: ++ OBJDUMP=objdump -224: ++ OBJCOPY=objcopy -224: ++ STRIP=strip -224: ++ QEMU= -224: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' -224: ++ tlsdesc_opt=-mtls-dialect=gnu2 -224: ++ trap 'on_error $LINENO' ERR -224: ++ trap on_exit EXIT -224: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/relocatable-compressed-debug-info.sh .sh +223: + nm mold +216: + grep -q '3 4 0' 225: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/relocatable-debug-info.sh -224: ++ testname=relocatable-compressed-debug-info -224: ++ echo -n 'Testing relocatable-compressed-debug-info ... ' -224: Testing relocatable-compressed-debug-info ... ++ t=out/test/elf/x86_64/relocatable-compressed-debug-info -224: ++ mkdir -p out/test/elf/x86_64/relocatable-compressed-debug-info +216: + out/test/elf/x86_64/protected/exe +223: + grep -q __tsan_init 225: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 225: ++ export LC_ALL=C 225: ++ LC_ALL=C @@ -12731,42 +12773,45 @@ 225: ++ tlsdesc_opt=-mtls-dialect=gnu2 225: ++ trap 'on_error $LINENO' ERR 225: ++ trap on_exit EXIT +216: + on_exit +216: + echo OK +216: OK +216: + exit 0 +214/369 Test #216: x86_64-protected ................................. Passed 0.22 sec +test 226 + Start 226: x86_64-relocatable-exception + +226: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/relocatable-exception.sh" +226: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +226: Environment variables: +226: MACHINE=x86_64 +226: CPU= +226: Test timeout computed to be: 1500 225: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/relocatable-debug-info.sh .sh 225: ++ testname=relocatable-debug-info 225: ++ echo -n 'Testing relocatable-debug-info ... ' 225: Testing relocatable-debug-info ... ++ t=out/test/elf/x86_64/relocatable-debug-info 225: ++ mkdir -p out/test/elf/x86_64/relocatable-debug-info -225: + nm mold -224: + nm mold -224: + grep -q __tsan_init -225: + grep -q __tsan_init -220: + cat -220: + cc -o out/test/elf/x86_64/relax-got-load/b.o -c -xc - -fPIC -217: + 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 -218: + 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 -184: + out/test/elf/x86_64/lto-gcc/exe3 +217: + cat +217: + cc -c -o out/test/elf/x86_64/push-pop-state/c.o -xc - 184: + grep -q 'Hello world' -222: + cat -222: + cc -c -o out/test/elf/x86_64/relocatable-archive/a.o -xc - -189: + cat -189: + cc -c -xc -o out/test/elf/x86_64/many-sections/b.o - -215: + 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 +184: + out/test/elf/x86_64/lto-gcc/exe3 184: + on_exit 184: + echo OK 184: OK 184: + exit 0 -214/369 Test #184: x86_64-lto-gcc ................................... Passed 1.40 sec -test 226 - Start 226: x86_64-relocatable-exception +215/369 Test #184: x86_64-lto-gcc ................................... Passed 1.02 sec +test 227 + Start 227: x86_64-relocatable-many-sections -226: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/relocatable-exception.sh" -226: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -226: Environment variables: -226: MACHINE=x86_64 -226: CPU= -226: Test timeout computed to be: 1500 -220: + 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 -217: + readelf --dynamic out/test/elf/x86_64/push-pop-state/exe +227: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/relocatable-many-sections.sh" +227: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +227: Environment variables: +227: MACHINE=x86_64 +227: CPU= +227: Test timeout computed to be: 1500 +225: + nm mold +225: + grep -q __tsan_init 226: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/relocatable-exception.sh 226: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 226: ++ export LC_ALL=C @@ -12793,40 +12838,13 @@ 226: ++ mkdir -p out/test/elf/x86_64/relocatable-exception 226: + '[' x86_64 = m68k ']' 226: + '[' x86_64 = sh4 ']' -226: + nm mold -226: + grep -q __tsan_init -217: + grep -Fq a.so out/test/elf/x86_64/push-pop-state/log -223: + '[' x86_64 = m68k ']' -223: + '[' x86_64 = sh4 ']' -223: + cat -223: + c++ -c -o out/test/elf/x86_64/relocatable-c++/a.o -xc++ - -217: + grep -Fq b.so out/test/elf/x86_64/push-pop-state/log -217: + on_exit -217: + echo OK -217: OK -217: + exit 0 -215/369 Test #217: x86_64-push-pop-state ............................ Passed 0.54 sec -test 227 - Start 227: x86_64-relocatable-many-sections - -227: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/relocatable-many-sections.sh" -227: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -227: Environment variables: -227: MACHINE=x86_64 -227: CPU= -227: Test timeout computed to be: 1500 -218: + out/test/elf/x86_64/range-extension-thunk/exe1 -218: + grep -q 'main fn1 fn3 fn2 fn4' -218: + cc -c -o out/test/elf/x86_64/range-extension-thunk/e.o out/test/elf/x86_64/range-extension-thunk/a.c -O2 -222: + cat -215: + readelf --symbols out/test/elf/x86_64/protected-dynsym/e.so -215: + grep -Eq 'PROTECTED\b.*\bfoo\b' -222: + cc -c -o out/test/elf/x86_64/relocatable-archive/b.o -xc - 227: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/relocatable-many-sections.sh +226: + grep -q __tsan_init 227: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 227: ++ export LC_ALL=C 227: ++ LC_ALL=C 227: ++ '[' -z x86_64 ']' +226: + nm mold 227: ++ '[' -z '' ']' 227: ++ TESTDIR=out/test/elf/x86_64 227: ++ CC=cc @@ -12842,12 +12860,25 @@ 227: ++ trap 'on_error $LINENO' ERR 227: ++ trap on_exit EXIT 227: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/relocatable-many-sections.sh .sh -189: + 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 -215: + on_exit -215: + echo OK -215: OK -215: + exit 0 -216/369 Test #215: x86_64-protected-dynsym .......................... Passed 0.59 sec +227: ++ testname=relocatable-many-sections +227: ++ echo -n 'Testing relocatable-many-sections ... ' +227: Testing relocatable-many-sections ... ++ t=out/test/elf/x86_64/relocatable-many-sections +227: ++ mkdir -p out/test/elf/x86_64/relocatable-many-sections +220: + 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 +218: + out/test/elf/x86_64/range-extension-thunk/exe1 +227: + nm mold +218: + grep -q 'main fn1 fn3 fn2 fn4' +227: + grep -q __tsan_init +218: + cc -c -o out/test/elf/x86_64/range-extension-thunk/e.o out/test/elf/x86_64/range-extension-thunk/a.c -O2 +217: + 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 +220: + out/test/elf/x86_64/relax-got-load/exe +220: + grep -q 'Hello world' +219: + cc -B. -o out/test/elf/x86_64/range-extension-thunk2/exe out/test/elf/x86_64/range-extension-thunk2/a.o +220: + on_exit +220: + echo OK +220: OK +220: + exit 0 +216/369 Test #220: x86_64-relax-got-load ............................ Passed 0.16 sec test 228 Start 228: x86_64-relocatable-merge-sections @@ -12857,23 +12888,28 @@ 228: MACHINE=x86_64 228: CPU= 228: Test timeout computed to be: 1500 -227: ++ testname=relocatable-many-sections -227: ++ echo -n 'Testing relocatable-many-sections ... ' -227: Testing relocatable-many-sections ... ++ t=out/test/elf/x86_64/relocatable-many-sections -227: ++ mkdir -p out/test/elf/x86_64/relocatable-many-sections -227: + nm mold -220: + out/test/elf/x86_64/relax-got-load/exe -220: + grep -q 'Hello world' -227: + grep -q __tsan_init +217: + readelf --dynamic out/test/elf/x86_64/push-pop-state/exe +217: + grep -Fq a.so out/test/elf/x86_64/push-pop-state/log +217: + grep -Fq b.so out/test/elf/x86_64/push-pop-state/log +217: + on_exit +217: + echo OK +217: OK +217: + exit 0 +217/369 Test #217: x86_64-push-pop-state ............................ Passed 0.27 sec +test 229 + Start 229: x86_64-relocatable-mergeable-sections + +229: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/relocatable-mergeable-sections.sh" +229: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +229: Environment variables: +229: MACHINE=x86_64 +229: CPU= +229: Test timeout computed to be: 1500 228: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/relocatable-merge-sections.sh 228: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 228: ++ export LC_ALL=C 228: ++ LC_ALL=C -220: + on_exit -220: + echo OK -220: OK 228: ++ '[' -z x86_64 ']' -220: + exit 0 228: ++ '[' -z '' ']' 228: ++ TESTDIR=out/test/elf/x86_64 228: ++ CC=cc @@ -12888,27 +12924,16 @@ 228: ++ tlsdesc_opt=-mtls-dialect=gnu2 228: ++ trap 'on_error $LINENO' ERR 228: ++ trap on_exit EXIT -217/369 Test #220: x86_64-relax-got-load ............................ Passed 0.28 sec -test 229 - Start 229: x86_64-relocatable-mergeable-sections - -229: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/relocatable-mergeable-sections.sh" -229: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -229: Environment variables: -229: MACHINE=x86_64 -229: CPU= -229: Test timeout computed to be: 1500 228: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/relocatable-merge-sections.sh .sh 228: ++ testname=relocatable-merge-sections 228: ++ echo -n 'Testing relocatable-merge-sections ... ' 228: Testing relocatable-merge-sections ... ++ t=out/test/elf/x86_64/relocatable-merge-sections 228: ++ mkdir -p out/test/elf/x86_64/relocatable-merge-sections +189: + cc -c -xc -o out/test/elf/x86_64/many-sections/b.o - 228: + grep -q __tsan_init 228: + nm mold 229: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/relocatable-mergeable-sections.sh -222: + cat -222: + cc -c -o out/test/elf/x86_64/relocatable-archive/c.o -xc - -223: + cat +189: + cat 229: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 229: ++ export LC_ALL=C 229: ++ LC_ALL=C @@ -12927,32 +12952,51 @@ 229: ++ tlsdesc_opt=-mtls-dialect=gnu2 229: ++ trap 'on_error $LINENO' ERR 229: ++ trap on_exit EXIT +226: + c++ -c -o out/test/elf/x86_64/relocatable-exception/a.o -xc++ - +218: + cc -c -o out/test/elf/x86_64/range-extension-thunk/f.o out/test/elf/x86_64/range-extension-thunk/b.c -O2 +224: + gcc -o /dev/null -xc -g3 -gz - +226: + cat +224: + echo 'int main() {}' 229: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/relocatable-mergeable-sections.sh .sh 229: ++ testname=relocatable-mergeable-sections 229: ++ echo -n 'Testing relocatable-mergeable-sections ... ' 229: Testing relocatable-mergeable-sections ... ++ t=out/test/elf/x86_64/relocatable-mergeable-sections 229: ++ mkdir -p out/test/elf/x86_64/relocatable-mergeable-sections -223: + c++ -c -o out/test/elf/x86_64/relocatable-c++/b.o -xc++ - +222: + cc -c -o out/test/elf/x86_64/relocatable-archive/a.o -xc - +225: + cc -c -o out/test/elf/x86_64/relocatable-debug-info/a.o -xc - -g +222: + cat +227: + sed 's/.*/.section .data.\0,"aw"\n.word 0\n/g' +225: + cat +227: + seq 1 80000 +227: + cc -c -xassembler -o out/test/elf/x86_64/relocatable-many-sections/a.o - +223: + '[' x86_64 = m68k ']' +223: + '[' x86_64 = sh4 ']' +223: + c++ -c -o out/test/elf/x86_64/relocatable-c++/a.o -xc++ - +223: + cat 229: + nm mold 229: + grep -q __tsan_init -218: + cc -c -o out/test/elf/x86_64/range-extension-thunk/f.o out/test/elf/x86_64/range-extension-thunk/b.c -O2 +226: + c++ -c -o out/test/elf/x86_64/relocatable-exception/b.o -xc++ - +218: + 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: + 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 +226: + cat 222: + cat -222: + cc -c -o out/test/elf/x86_64/relocatable-archive/d.o -xc - -224: + echo 'int main() {}' -224: + gcc -o /dev/null -xc -g3 -gz - -222: + 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 -225: + cc -c -o out/test/elf/x86_64/relocatable-debug-info/a.o -xc - -g +222: + cc -c -o out/test/elf/x86_64/relocatable-archive/b.o -xc - +225: + cc -c -o out/test/elf/x86_64/relocatable-debug-info/b.o -xc - -g 225: + cat -218: + 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 -219: + cc -B. -o out/test/elf/x86_64/range-extension-thunk2/exe out/test/elf/x86_64/range-extension-thunk2/a.o -222: + ./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 -189: + grep -q Hello -189: + out/test/elf/x86_64/many-sections/exe -189: + on_exit -189: + echo OK -189: OK -189: + exit 0 -218/369 Test #189: x86_64-many-sections ............................. Passed 1.54 sec +224: + cat +224: + gcc -c -o out/test/elf/x86_64/relocatable-compressed-debug-info/a.o -xc - -g3 -gz +223: + cat +223: + c++ -c -o out/test/elf/x86_64/relocatable-c++/b.o -xc++ - +222: + cat +222: + cc -c -o out/test/elf/x86_64/relocatable-archive/c.o -xc - +225: + ./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 +218: + out/test/elf/x86_64/range-extension-thunk/exe2 +218: + grep -q 'main fn1 fn3 fn2 fn4' +218: + on_exit +218: + echo OK +218: OK +218: + exit 0 +218/369 Test #218: x86_64-range-extension-thunk ..................... Passed 0.38 sec test 230 Start 230: x86_64-relocatable-no-ehframe @@ -12962,10 +13006,10 @@ 230: MACHINE=x86_64 230: CPU= 230: Test timeout computed to be: 1500 -226: + c++ -c -o out/test/elf/x86_64/relocatable-exception/a.o -xc++ - -226: + cat -222: + readelf --symbols out/test/elf/x86_64/relocatable-archive/f.o +225: + cc -B. -o out/test/elf/x86_64/relocatable-debug-info/exe out/test/elf/x86_64/relocatable-debug-info/c.o +219: + out/test/elf/x86_64/range-extension-thunk2/exe 230: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/relocatable-no-ehframe.sh +219: + grep -Eq '^0 9 1 8 2 7 3 6 4 5 10 19 11 18 12 17 13 16 14 15 0 $' 230: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 230: ++ export LC_ALL=C 230: ++ LC_ALL=C @@ -12984,31 +13028,16 @@ 230: ++ tlsdesc_opt=-mtls-dialect=gnu2 230: ++ trap 'on_error $LINENO' ERR 230: ++ trap on_exit EXIT -222: + grep -q 'foo\b' out/test/elf/x86_64/relocatable-archive/log 230: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/relocatable-no-ehframe.sh .sh +219: + on_exit +219: + echo OK +219: OK +219: + exit 0 230: ++ testname=relocatable-no-ehframe 230: ++ echo -n 'Testing relocatable-no-ehframe ... ' 230: Testing relocatable-no-ehframe ... ++ t=out/test/elf/x86_64/relocatable-no-ehframe 230: ++ mkdir -p out/test/elf/x86_64/relocatable-no-ehframe -222: + grep -q 'bar\b' out/test/elf/x86_64/relocatable-archive/log -230: + '[' x86_64 = alpha ']' -218: + out/test/elf/x86_64/range-extension-thunk/exe2 -218: + grep -q 'main fn1 fn3 fn2 fn4' -230: + nm mold -225: + cc -c -o out/test/elf/x86_64/relocatable-debug-info/b.o -xc - -g -225: + cat -222: + grep -q 'baz\b' out/test/elf/x86_64/relocatable-archive/log -222: + on_exit -222: + echo OK -222: OK -222: + exit 0 -218: + on_exit -218: + echo OK -218: OK -218: + exit 0 -230: + grep -q __tsan_init -219/369 Test #218: x86_64-range-extension-thunk ..................... Passed 0.45 sec -220/369 Test #222: x86_64-relocatable-archive ....................... Passed 0.43 sec +219/369 Test #219: x86_64-range-extension-thunk2 .................... Passed 0.36 sec test 231 Start 231: x86_64-relocatable @@ -13018,16 +13047,15 @@ 231: MACHINE=x86_64 231: CPU= 231: Test timeout computed to be: 1500 -test 232 - Start 232: x86_64-relro - -232: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/relro.sh" -232: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -232: Environment variables: -232: MACHINE=x86_64 -232: CPU= -232: Test timeout computed to be: 1500 -232: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/relro.sh +230: + '[' x86_64 = alpha ']' +230: + grep -q __tsan_init +230: + nm mold +222: + cat +222: + cc -c -o out/test/elf/x86_64/relocatable-archive/d.o -xc - +228: + cc -c -o out/test/elf/x86_64/relocatable-merge-sections/a.o -xc -ffunction-sections - +228: + cat +229: + cat +229: + cc -c -o out/test/elf/x86_64/relocatable-mergeable-sections/a.o -xassembler - 231: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/relocatable.sh 231: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 231: ++ export LC_ALL=C @@ -13047,6 +13075,33 @@ 231: ++ tlsdesc_opt=-mtls-dialect=gnu2 231: ++ trap 'on_error $LINENO' ERR 231: ++ trap on_exit EXIT +231: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/relocatable.sh .sh +231: ++ testname=relocatable +231: ++ echo -n 'Testing relocatable ... ' +231: Testing relocatable ... ++ t=out/test/elf/x86_64/relocatable +231: ++ mkdir -p out/test/elf/x86_64/relocatable +231: + nm mold +231: + grep -q __tsan_init +224: + gcc -c -o out/test/elf/x86_64/relocatable-compressed-debug-info/b.o -xc - -g3 -gz +224: + cat +229: + ./mold --relocatable -o out/test/elf/x86_64/relocatable-mergeable-sections/b.o out/test/elf/x86_64/relocatable-mergeable-sections/a.o +189: + out/test/elf/x86_64/many-sections/exe +189: + grep -q Hello +189: + on_exit +189: + echo OK +189: OK +189: + exit 0 +220/369 Test #189: x86_64-many-sections ............................. Passed 1.16 sec +test 232 + Start 232: x86_64-relro + +232: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/relro.sh" +232: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +232: Environment variables: +232: MACHINE=x86_64 +232: CPU= +232: Test timeout computed to be: 1500 +232: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/relro.sh 232: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 232: ++ export LC_ALL=C 232: ++ LC_ALL=C @@ -13066,48 +13121,20 @@ 232: ++ trap 'on_error $LINENO' ERR 232: ++ trap on_exit EXIT 232: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/relro.sh .sh -231: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/relocatable.sh .sh -231: ++ testname=relocatable -231: ++ echo -n 'Testing relocatable ... ' -231: Testing relocatable ... ++ t=out/test/elf/x86_64/relocatable -231: ++ mkdir -p out/test/elf/x86_64/relocatable -227: + seq 1 80000 -227: + sed 's/.*/.section .data.\0,"aw"\n.word 0\n/g' -227: + cc -c -xassembler -o out/test/elf/x86_64/relocatable-many-sections/a.o - 232: ++ testname=relro 232: ++ echo -n 'Testing relro ... ' 232: Testing relro ... ++ t=out/test/elf/x86_64/relro 232: ++ mkdir -p out/test/elf/x86_64/relro -231: + nm mold -231: + grep -q __tsan_init -232: + cat -232: + cc -c -xc -o out/test/elf/x86_64/relro/a.o - -226: + cat -226: + c++ -c -o out/test/elf/x86_64/relocatable-exception/b.o -xc++ - -190: + ./mold --relocatable -o out/test/elf/x86_64/many-sections2/b.o out/test/elf/x86_64/many-sections2/a.o -225: + ./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 -228: + cat -224: + cat -228: + cc -c -o out/test/elf/x86_64/relocatable-merge-sections/a.o -xc -ffunction-sections - -224: + gcc -c -o out/test/elf/x86_64/relocatable-compressed-debug-info/a.o -xc - -g3 -gz -225: + cc -B. -o out/test/elf/x86_64/relocatable-debug-info/exe out/test/elf/x86_64/relocatable-debug-info/c.o -229: + cat -229: + cc -c -o out/test/elf/x86_64/relocatable-mergeable-sections/a.o -xassembler - -232: + cc -B. -o out/test/elf/x86_64/relro/exe1 out/test/elf/x86_64/relro/a.o -Wl,-z,relro,-z,lazy -229: + ./mold --relocatable -o out/test/elf/x86_64/relocatable-mergeable-sections/b.o out/test/elf/x86_64/relocatable-mergeable-sections/a.o +225: + out/test/elf/x86_64/relocatable-debug-info/exe 228: + ./mold --relocatable -o out/test/elf/x86_64/relocatable-merge-sections/b.o out/test/elf/x86_64/relocatable-merge-sections/a.o -229: + readelf -W -p .rodata.str1.1 out/test/elf/x86_64/relocatable-mergeable-sections/b.o -229: + grep -Eq '\b0\b.*Hello' -219: + grep -Eq '^0 9 1 8 2 7 3 6 4 5 10 19 11 18 12 17 13 16 14 15 0 $' -229: + grep -Eq '\b7\b.*World' -229: + readelf -W -p .rodata.str1.1 out/test/elf/x86_64/relocatable-mergeable-sections/b.o -219: + out/test/elf/x86_64/range-extension-thunk2/exe -229: + on_exit -229: + echo OK -229: OK -229: + exit 0 -219: + on_exit -221/369 Test #229: x86_64-relocatable-mergeable-sections ............ Passed 0.28 sec +232: + cc -c -xc -o out/test/elf/x86_64/relro/a.o - +225: Hello world +225: + on_exit +225: + echo OK +225: OK +225: + exit 0 +232: + cat +221/369 Test #225: x86_64-relocatable-debug-info .................... Passed 0.29 sec test 233 Start 233: x86_64-repro @@ -13117,36 +13144,13 @@ 233: MACHINE=x86_64 233: CPU= 233: Test timeout computed to be: 1500 -219: + echo OK -219: OK -219: + exit 0 -225: + out/test/elf/x86_64/relocatable-debug-info/exe -225: Hello world -225: + on_exit -225: + echo OK -225: OK -225: + exit 0 -222/369 Test #219: x86_64-range-extension-thunk2 .................... Passed 0.58 sec -223/369 Test #225: x86_64-relocatable-debug-info .................... Passed 0.41 sec -test 234 - Start 234: x86_64-require-defined - -234: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/require-defined.sh" -234: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -234: Environment variables: -234: MACHINE=x86_64 -234: CPU= -234: Test timeout computed to be: 1500 -test 235 - Start 235: x86_64-response-file - -235: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/response-file.sh" -235: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -235: Environment variables: -235: MACHINE=x86_64 -235: CPU= -235: Test timeout computed to be: 1500 +222: + 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 +224: + ./mold --relocatable -o out/test/elf/x86_64/relocatable-compressed-debug-info/c.o out/test/elf/x86_64/relocatable-compressed-debug-info/a.o out/test/elf/x86_64/relocatable-compressed-debug-info/b.o +229: + readelf -W -p .rodata.str1.1 out/test/elf/x86_64/relocatable-mergeable-sections/b.o +229: + grep -Eq '\b0\b.*Hello' +229: + grep -Eq '\b7\b.*World' 233: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/repro.sh +229: + readelf -W -p .rodata.str1.1 out/test/elf/x86_64/relocatable-mergeable-sections/b.o 233: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 233: ++ export LC_ALL=C 233: ++ LC_ALL=C @@ -13165,39 +13169,32 @@ 233: ++ tlsdesc_opt=-mtls-dialect=gnu2 233: ++ trap 'on_error $LINENO' ERR 233: ++ trap on_exit EXIT +228: + readelf -WS out/test/elf/x86_64/relocatable-merge-sections/b.o 233: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/repro.sh .sh 233: ++ testname=repro 233: ++ echo -n 'Testing repro ... ' 233: Testing repro ... ++ t=out/test/elf/x86_64/repro 233: ++ mkdir -p out/test/elf/x86_64/repro -228: + readelf -WS out/test/elf/x86_64/relocatable-merge-sections/b.o +229: + on_exit +229: + echo OK +229: OK +229: + exit 0 228: + grep -Fq .text.foo out/test/elf/x86_64/relocatable-merge-sections/log1 -232: + out/test/elf/x86_64/relro/exe1 -232: + grep -q 'Hello world' -224: + cat -224: + gcc -c -o out/test/elf/x86_64/relocatable-compressed-debug-info/b.o -xc - -g3 -gz -234: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/require-defined.sh -235: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/response-file.sh -232: + readelf --segments -W out/test/elf/x86_64/relro/exe1 +222/369 Test #229: x86_64-relocatable-mergeable-sections ............ Passed 0.21 sec +test 234 + Start 234: x86_64-require-defined + +234: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/require-defined.sh" +234: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +234: Environment variables: +234: MACHINE=x86_64 +234: CPU= +234: Test timeout computed to be: 1500 +222: + ./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 +228: + grep -Fq .text.bar out/test/elf/x86_64/relocatable-merge-sections/log1 233: + cc -c -o out/test/elf/x86_64/repro/a.o -xc - -235: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc -235: ++ export LC_ALL=C -235: ++ LC_ALL=C -235: ++ '[' -z x86_64 ']' -235: ++ '[' -z '' ']' -235: ++ TESTDIR=out/test/elf/x86_64 -235: ++ CC=cc -235: ++ CXX=c++ -235: ++ GCC=gcc -235: ++ GXX=g++ -235: ++ OBJDUMP=objdump -235: ++ OBJCOPY=objcopy -235: ++ STRIP=strip -235: ++ QEMU= -235: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' -235: ++ tlsdesc_opt=-mtls-dialect=gnu2 -235: ++ trap 'on_error $LINENO' ERR -235: ++ trap on_exit EXIT +234: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/require-defined.sh +224: + cc -B. -o out/test/elf/x86_64/relocatable-compressed-debug-info/exe out/test/elf/x86_64/relocatable-compressed-debug-info/c.o 234: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 234: ++ export LC_ALL=C 234: ++ LC_ALL=C @@ -13216,39 +13213,46 @@ 234: ++ tlsdesc_opt=-mtls-dialect=gnu2 234: ++ trap 'on_error $LINENO' ERR 234: ++ trap on_exit EXIT -228: + grep -Fq .text.bar out/test/elf/x86_64/relocatable-merge-sections/log1 233: + cat -235: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/response-file.sh .sh 234: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/require-defined.sh .sh -232: + grep -q 'GNU_RELRO ' out/test/elf/x86_64/relro/log1 -235: ++ testname=response-file -235: ++ echo -n 'Testing response-file ... ' -235: Testing response-file ... ++ t=out/test/elf/x86_64/response-file -235: ++ mkdir -p out/test/elf/x86_64/response-file 234: ++ testname=require-defined 234: ++ echo -n 'Testing require-defined ... ' 234: Testing require-defined ... ++ t=out/test/elf/x86_64/require-defined 234: ++ mkdir -p out/test/elf/x86_64/require-defined -235: + cc -c -o out/test/elf/x86_64/response-file/a.o -xc - 228: + ./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 -232: + cc -B. -o out/test/elf/x86_64/relro/exe2 out/test/elf/x86_64/relro/a.o -Wl,-z,relro,-z,now -235: + cat -234: + cc -o out/test/elf/x86_64/require-defined/a.o -c -xc - +230: + cc -c -o out/test/elf/x86_64/relocatable-no-ehframe/a.o -xc -fno-unwind-tables -fno-asynchronous-unwind-tables - +230: + cat 234: + cat +234: + cc -o out/test/elf/x86_64/require-defined/a.o -c -xc - +232: + cc -B. -o out/test/elf/x86_64/relro/exe1 out/test/elf/x86_64/relro/a.o -Wl,-z,relro,-z,lazy +222: + readelf --symbols out/test/elf/x86_64/relocatable-archive/f.o +222: + grep -q 'foo\b' out/test/elf/x86_64/relocatable-archive/log +231: + cc -c -o out/test/elf/x86_64/relocatable/a.o -xc - +222: + grep -q 'bar\b' out/test/elf/x86_64/relocatable-archive/log +231: + cat 228: + readelf -WS out/test/elf/x86_64/relocatable-merge-sections/c.o -224: + ./mold --relocatable -o out/test/elf/x86_64/relocatable-compressed-debug-info/c.o out/test/elf/x86_64/relocatable-compressed-debug-info/a.o out/test/elf/x86_64/relocatable-compressed-debug-info/b.o +222: + grep -q 'baz\b' out/test/elf/x86_64/relocatable-archive/log +222: + on_exit +222: + echo OK +222: OK +222: + exit 0 +223/369 Test #222: x86_64-relocatable-archive ....................... Passed 0.41 sec +test 235 + Start 235: x86_64-response-file + +235: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/response-file.sh" +235: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +235: Environment variables: +235: MACHINE=x86_64 +235: CPU= +235: Test timeout computed to be: 1500 228: + grep -Fq .text.foo out/test/elf/x86_64/relocatable-merge-sections/log2 -235: + cc -c -o out/test/elf/x86_64/response-file/b.o -xc - -235: + cat 228: + grep -Fq .text.bar out/test/elf/x86_64/relocatable-merge-sections/log2 -230: + cat -233: + rm -rf out/test/elf/x86_64/repro/exe.repro out/test/elf/x86_64/repro/exe.repro.tar 228: + on_exit 228: + echo OK 228: OK 228: + exit 0 -230: + cc -c -o out/test/elf/x86_64/relocatable-no-ehframe/a.o -xc -fno-unwind-tables -fno-asynchronous-unwind-tables - -224/369 Test #228: x86_64-relocatable-merge-sections ................ Passed 0.36 sec +224/369 Test #228: x86_64-relocatable-merge-sections ................ Passed 0.33 sec test 236 Start 236: x86_64-response-file2 @@ -13258,17 +13262,39 @@ 236: MACHINE=x86_64 236: CPU= 236: Test timeout computed to be: 1500 -233: + cc -B. -o out/test/elf/x86_64/repro/exe out/test/elf/x86_64/repro/a.o -224: + cc -B. -o out/test/elf/x86_64/relocatable-compressed-debug-info/exe out/test/elf/x86_64/relocatable-compressed-debug-info/c.o -232: + out/test/elf/x86_64/relro/exe2 +234: + rm -f out/test/elf/x86_64/require-defined/b.a +234: + ar rcs out/test/elf/x86_64/require-defined/b.a out/test/elf/x86_64/require-defined/a.o +235: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/response-file.sh +235: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc +235: ++ export LC_ALL=C +235: ++ LC_ALL=C +235: ++ '[' -z x86_64 ']' +235: ++ '[' -z '' ']' +235: ++ TESTDIR=out/test/elf/x86_64 +235: ++ CC=cc +235: ++ CXX=c++ +235: ++ GCC=gcc +235: ++ GXX=g++ +235: ++ OBJDUMP=objdump +235: ++ OBJCOPY=objcopy +235: ++ STRIP=strip +235: ++ QEMU= +235: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' +235: ++ tlsdesc_opt=-mtls-dialect=gnu2 +235: ++ trap 'on_error $LINENO' ERR +235: ++ trap on_exit EXIT +235: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/response-file.sh .sh +235: ++ testname=response-file +235: ++ echo -n 'Testing response-file ... ' +235: Testing response-file ... ++ t=out/test/elf/x86_64/response-file +235: ++ mkdir -p out/test/elf/x86_64/response-file +230: + readelf -WS out/test/elf/x86_64/relocatable-no-ehframe/a.o 236: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/response-file2.sh -232: + grep -q 'Hello world' 236: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 236: ++ export LC_ALL=C 236: ++ LC_ALL=C 236: ++ '[' -z x86_64 ']' 236: ++ '[' -z '' ']' -232: + readelf --segments -W out/test/elf/x86_64/relro/exe2 236: ++ TESTDIR=out/test/elf/x86_64 236: ++ CC=cc 236: ++ CXX=c++ @@ -13282,37 +13308,35 @@ 236: ++ tlsdesc_opt=-mtls-dialect=gnu2 236: ++ trap 'on_error $LINENO' ERR 236: ++ trap on_exit EXIT +234: + cc -o out/test/elf/x86_64/require-defined/c.o -c -xc - 236: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/response-file2.sh .sh -234: + rm -f out/test/elf/x86_64/require-defined/b.a -232: + grep -q 'GNU_RELRO ' out/test/elf/x86_64/relro/log2 -234: + ar rcs out/test/elf/x86_64/require-defined/b.a out/test/elf/x86_64/require-defined/a.o +232: + out/test/elf/x86_64/relro/exe1 +232: + grep -q 'Hello world' 236: ++ testname=response-file2 236: ++ echo -n 'Testing response-file2 ... ' 236: Testing response-file2 ... ++ t=out/test/elf/x86_64/response-file2 236: ++ mkdir -p out/test/elf/x86_64/response-file2 -231: + cat -231: + cc -c -o out/test/elf/x86_64/relocatable/a.o -xc - -232: + cc -B. -o out/test/elf/x86_64/relro/exe3 out/test/elf/x86_64/relro/a.o -Wl,-z,norelro -236: + cat -236: + cc -c -o out/test/elf/x86_64/response-file2/a.o -xc - -234: + cc -o out/test/elf/x86_64/require-defined/c.o -c -xc - -234: + cat -235: + cc -c -o out/test/elf/x86_64/response-file/c.o -xc - 235: + cat -230: + readelf -WS out/test/elf/x86_64/relocatable-no-ehframe/a.o +235: + cc -c -o out/test/elf/x86_64/response-file/a.o -xc - 230: + grep -Fq .eh_frame out/test/elf/x86_64/relocatable-no-ehframe/log1 -224: + out/test/elf/x86_64/relocatable-compressed-debug-info/exe -224: + grep -q 'Hello world' +232: + readelf --segments -W out/test/elf/x86_64/relro/exe1 +234: + cat +190: + ./mold --relocatable -o out/test/elf/x86_64/many-sections2/b.o out/test/elf/x86_64/many-sections2/a.o +236: + cat +236: + cc -c -o out/test/elf/x86_64/response-file2/a.o -xc - 230: + ./mold --relocatable -o out/test/elf/x86_64/relocatable-no-ehframe/b.o out/test/elf/x86_64/relocatable-no-ehframe/a.o -232: + out/test/elf/x86_64/relro/exe3 +224: + grep -q 'Hello world' +224: + out/test/elf/x86_64/relocatable-compressed-debug-info/exe +232: + grep -q 'GNU_RELRO ' out/test/elf/x86_64/relro/log1 +231: + cat +231: + cc -c -o out/test/elf/x86_64/relocatable/b.o -xc - +233: + rm -rf out/test/elf/x86_64/repro/exe.repro out/test/elf/x86_64/repro/exe.repro.tar 224: + on_exit 224: + echo OK -233: + '[' -f out/test/elf/x86_64/repro/exe.repro.tar ']' -233: + cc -B. -o out/test/elf/x86_64/repro/exe out/test/elf/x86_64/repro/a.o -Wl,-repro -232: + grep -q 'Hello world' 224: OK 224: + exit 0 -225/369 Test #224: x86_64-relocatable-compressed-debug-info ......... Passed 0.53 sec +232: + cc -B. -o out/test/elf/x86_64/relro/exe2 out/test/elf/x86_64/relro/a.o -Wl,-z,relro,-z,now +225/369 Test #224: x86_64-relocatable-compressed-debug-info ......... Passed 0.51 sec test 237 Start 237: x86_64-retain-symbols-file @@ -13322,14 +13346,7 @@ 237: MACHINE=x86_64 237: CPU= 237: Test timeout computed to be: 1500 -232: + readelf --segments -W out/test/elf/x86_64/relro/exe3 -231: + cat -231: + cc -c -o out/test/elf/x86_64/relocatable/b.o -xc - -236: + cat -236: + cc -c -o out/test/elf/x86_64/response-file2/b.o -xc - -235: + echo ''\''out/test/elf/x86_64/response-file/b.o'\'' '\''out/test/elf/x86_64/response-file/c.o'\''' -235: + cc -B. -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 -232: + grep -q 'GNU_RELRO ' out/test/elf/x86_64/relro/log3 +233: + cc -B. -o out/test/elf/x86_64/repro/exe out/test/elf/x86_64/repro/a.o 237: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/retain-symbols-file.sh 230: + readelf -WS out/test/elf/x86_64/relocatable-no-ehframe/b.o 237: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc @@ -13341,7 +13358,6 @@ 237: ++ CC=cc 237: ++ CXX=c++ 237: ++ GCC=gcc -234: + 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 237: ++ GXX=g++ 237: ++ OBJDUMP=objdump 237: ++ OBJCOPY=objcopy @@ -13349,19 +13365,21 @@ 237: ++ QEMU= 237: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 237: ++ tlsdesc_opt=-mtls-dialect=gnu2 -230: + grep -Fq .eh_frame out/test/elf/x86_64/relocatable-no-ehframe/log2 237: ++ trap 'on_error $LINENO' ERR 237: ++ trap on_exit EXIT 237: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/retain-symbols-file.sh .sh -232: + on_exit -232: + echo OK -232: OK -232: + exit 0 +237: ++ testname=retain-symbols-file +237: ++ echo -n 'Testing retain-symbols-file ... ' +237: Testing retain-symbols-file ... ++ t=out/test/elf/x86_64/retain-symbols-file +237: ++ mkdir -p out/test/elf/x86_64/retain-symbols-file +237: + cc -c -o out/test/elf/x86_64/retain-symbols-file/a.o -xc - +230: + grep -Fq .eh_frame out/test/elf/x86_64/relocatable-no-ehframe/log2 +237: + cat 230: + on_exit 230: + echo OK 230: OK 230: + exit 0 -226/369 Test #232: x86_64-relro ..................................... Passed 0.25 sec +226/369 Test #230: x86_64-relocatable-no-ehframe .................... Passed 0.31 sec test 238 Start 238: x86_64-reverse-sections @@ -13371,22 +13389,6 @@ 238: MACHINE=x86_64 238: CPU= 238: Test timeout computed to be: 1500 -237: ++ testname=retain-symbols-file -237: ++ echo -n 'Testing retain-symbols-file ... ' -237: Testing retain-symbols-file ... ++ t=out/test/elf/x86_64/retain-symbols-file -237: ++ mkdir -p out/test/elf/x86_64/retain-symbols-file -227/369 Test #230: x86_64-relocatable-no-ehframe .................... Passed 0.28 sec -test 239 - Start 239: x86_64-rodata-name - -239: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/rodata-name.sh" -239: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -239: Environment variables: -239: MACHINE=x86_64 -239: CPU= -239: Test timeout computed to be: 1500 -237: + cc -c -o out/test/elf/x86_64/retain-symbols-file/a.o -xc - -237: + cat 238: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/reverse-sections.sh 238: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 238: ++ export LC_ALL=C @@ -13404,10 +13406,95 @@ 238: ++ QEMU= 238: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 238: ++ tlsdesc_opt=-mtls-dialect=gnu2 -239: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/rodata-name.sh 238: ++ trap 'on_error $LINENO' ERR 238: ++ trap on_exit EXIT 238: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/reverse-sections.sh .sh +238: ++ testname=reverse-sections +238: ++ echo -n 'Testing reverse-sections ... ' +238: Testing reverse-sections ... ++ t=out/test/elf/x86_64/reverse-sections +238: ++ mkdir -p out/test/elf/x86_64/reverse-sections +234: + 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 +238: + cc -o out/test/elf/x86_64/reverse-sections/a.o -c -xc++ - +235: + cc -c -o out/test/elf/x86_64/response-file/b.o -xc - +235: + cat +238: + cat +236: + cat +236: + cc -c -o out/test/elf/x86_64/response-file2/b.o -xc - +232: + out/test/elf/x86_64/relro/exe2 +232: + grep -q 'Hello world' +232: + readelf --segments -W out/test/elf/x86_64/relro/exe2 +226: + ./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 +233: + '[' -f out/test/elf/x86_64/repro/exe.repro.tar ']' +233: + cc -B. -o out/test/elf/x86_64/repro/exe out/test/elf/x86_64/repro/a.o -Wl,-repro +232: + grep -q 'GNU_RELRO ' out/test/elf/x86_64/relro/log2 +232: + cc -B. -o out/test/elf/x86_64/relro/exe3 out/test/elf/x86_64/relro/a.o -Wl,-z,norelro +234: + readelf --symbols out/test/elf/x86_64/require-defined/exe +234: + grep -q foobar +234: + 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 +236: + echo ''\''out/test/elf/x86_64/response-file2/b.o'\''' +236: + echo @out/test/elf/x86_64/response-file2/rsp1 +236: + cc -B. -o out/test/elf/x86_64/response-file2/exe out/test/elf/x86_64/response-file2/a.o -Wl,@out/test/elf/x86_64/response-file2/rsp2 +226: + c++ -B. -o out/test/elf/x86_64/relocatable-exception/exe out/test/elf/x86_64/relocatable-exception/c.o +238: + cat +238: + cc -o out/test/elf/x86_64/reverse-sections/b.o -c -xc++ - +231: + ./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 +237: + cat +237: + 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 +233: + tar -C out/test/elf/x86_64/repro -xf out/test/elf/x86_64/repro/exe.repro.tar +235: + cat +235: + cc -c -o out/test/elf/x86_64/response-file/c.o -xc - +231: + cc -B. -o out/test/elf/x86_64/relocatable/exe out/test/elf/x86_64/relocatable/c.o +223: + ./mold --relocatable -o out/test/elf/x86_64/relocatable-c++/c.o out/test/elf/x86_64/relocatable-c++/a.o +226: + out/test/elf/x86_64/relocatable-exception/exe +234: + grep -q foobar +234: + readelf --symbols out/test/elf/x86_64/require-defined/exe +234: + 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 +232: + grep -q 'Hello world' +232: + out/test/elf/x86_64/relro/exe3 +223: + ./mold --relocatable -o out/test/elf/x86_64/relocatable-c++/d.o out/test/elf/x86_64/relocatable-c++/b.o +226: 0 +226: + on_exit +226: + echo OK +226: OK +226: + exit 0 +238: + cc -o out/test/elf/x86_64/reverse-sections/c.o -c -xc++ - +238: + cat +233: + tar -C out/test/elf/x86_64/repro -tvf out/test/elf/x86_64/repro/exe.repro.tar +233: + grep -q ' exe.repro/.*/a.o' +233: + grep -q /a.o out/test/elf/x86_64/repro/exe.repro/response.txt +232: + readelf --segments -W out/test/elf/x86_64/relro/exe3 +227/369 Test #226: x86_64-relocatable-exception ..................... Passed 0.64 sec +test 239 + Start 239: x86_64-rodata-name + +239: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/rodata-name.sh" +239: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +239: Environment variables: +239: MACHINE=x86_64 +239: CPU= +239: Test timeout computed to be: 1500 +233: + grep -q '[ms]old' out/test/elf/x86_64/repro/exe.repro/version.txt +232: + grep -q 'GNU_RELRO ' out/test/elf/x86_64/relro/log3 +232: + on_exit +232: + echo OK +232: OK +232: + exit 0 +228/369 Test #232: x86_64-relro ..................................... Passed 0.38 sec +test 240 + Start 240: x86_64-rosegment + +240: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/rosegment.sh" +240: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +240: Environment variables: +240: MACHINE=x86_64 +240: CPU= +240: Test timeout computed to be: 1500 +233: + rm -rf out/test/elf/x86_64/repro/exe.repro out/test/elf/x86_64/repro/exe.repro.tar +233: + MOLD_REPRO=1 +233: + cc -B. -o out/test/elf/x86_64/repro/exe out/test/elf/x86_64/repro/a.o +237: + readelf -W --symbols out/test/elf/x86_64/retain-symbols-file/exe +237: + grep -qw foo out/test/elf/x86_64/retain-symbols-file/log +239: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/rodata-name.sh 239: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 239: ++ export LC_ALL=C 239: ++ LC_ALL=C @@ -13427,44 +13514,17 @@ 239: ++ trap 'on_error $LINENO' ERR 239: ++ trap on_exit EXIT 239: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/rodata-name.sh .sh -238: ++ testname=reverse-sections -238: ++ echo -n 'Testing reverse-sections ... ' -238: Testing reverse-sections ... ++ t=out/test/elf/x86_64/reverse-sections -238: ++ mkdir -p out/test/elf/x86_64/reverse-sections -236: + echo ''\''out/test/elf/x86_64/response-file2/b.o'\''' -236: + echo @out/test/elf/x86_64/response-file2/rsp1 -236: + cc -B. -o out/test/elf/x86_64/response-file2/exe out/test/elf/x86_64/response-file2/a.o -Wl,@out/test/elf/x86_64/response-file2/rsp2 -231: + ./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 +236: + on_exit +236: + echo OK +236: OK +236: + exit 0 +237: + grep -qw bar out/test/elf/x86_64/retain-symbols-file/log 239: ++ testname=rodata-name 239: ++ echo -n 'Testing rodata-name ... ' 239: Testing rodata-name ... ++ t=out/test/elf/x86_64/rodata-name 239: ++ mkdir -p out/test/elf/x86_64/rodata-name -238: + cat -238: + cc -o out/test/elf/x86_64/reverse-sections/a.o -c -xc++ - -239: + '[' x86_64 = arm ']' -239: + cat -239: + cc -c -o out/test/elf/x86_64/rodata-name/a.o -x assembler - -235: + on_exit -235: + echo OK -235: OK -235: + exit 0 -228/369 Test #235: x86_64-response-file ............................. Passed 0.15 sec -test 240 - Start 240: x86_64-rosegment - -240: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/rosegment.sh" -240: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -240: Environment variables: -240: MACHINE=x86_64 -240: CPU= -240: Test timeout computed to be: 1500 -234: + readelf --symbols out/test/elf/x86_64/require-defined/exe -234: + grep -q foobar -237: + cat -234: + 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 -239: + cat +229/369 Test #236: x86_64-response-file2 ............................ Passed 0.25 sec 240: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/rosegment.sh -233: + tar -C out/test/elf/x86_64/repro -xf out/test/elf/x86_64/repro/exe.repro.tar 240: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 240: ++ export LC_ALL=C 240: ++ LC_ALL=C @@ -13481,16 +13541,6 @@ 240: ++ QEMU= 240: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 240: ++ tlsdesc_opt=-mtls-dialect=gnu2 -240: ++ trap 'on_error $LINENO' ERR -240: ++ trap on_exit EXIT -239: + cc -c -o out/test/elf/x86_64/rodata-name/b.o -xc - -237: + 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 -231: + cc -B. -o out/test/elf/x86_64/relocatable/exe out/test/elf/x86_64/relocatable/c.o -236: + on_exit -236: + echo OK -236: OK -236: + exit 0 -229/369 Test #236: x86_64-response-file2 ............................ Passed 0.12 sec test 241 Start 241: x86_64-rpath @@ -13500,11 +13550,41 @@ 241: MACHINE=x86_64 241: CPU= 241: Test timeout computed to be: 1500 +237: + grep -qw main out/test/elf/x86_64/retain-symbols-file/log +237: + grep -qw baz out/test/elf/x86_64/retain-symbols-file/log +239: + '[' x86_64 = arm ']' +239: + cat +239: + cc -c -o out/test/elf/x86_64/rodata-name/a.o -x assembler - +240: ++ trap 'on_error $LINENO' ERR +240: ++ trap on_exit EXIT 240: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/rosegment.sh .sh 240: ++ testname=rosegment 240: ++ echo -n 'Testing rosegment ... ' 240: Testing rosegment ... ++ t=out/test/elf/x86_64/rosegment 240: ++ mkdir -p out/test/elf/x86_64/rosegment +231: + out/test/elf/x86_64/relocatable/exe +231: Hello world +231: + on_exit +231: + echo OK +231: OK +231: + exit 0 +223: + c++ -B. -o out/test/elf/x86_64/relocatable-c++/exe out/test/elf/x86_64/relocatable-c++/c.o out/test/elf/x86_64/relocatable-c++/d.o +230/369 Test #231: x86_64-relocatable ............................... Passed 0.44 sec +test 242 + Start 242: x86_64-run-clang + +242: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/run-clang.sh" +242: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +242: Environment variables: +242: MACHINE=x86_64 +242: CPU= +242: Test timeout computed to be: 1500 +237: + on_exit +237: + echo OK +237: OK +237: + exit 0 +231/369 Test #237: x86_64-retain-symbols-file ....................... Passed 0.19 sec +239: + cc -c -o out/test/elf/x86_64/rodata-name/b.o -xc - 240: + cat 240: + cc -o out/test/elf/x86_64/rosegment/a.o -c -xc - 241: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/rpath.sh @@ -13526,36 +13606,27 @@ 241: ++ tlsdesc_opt=-mtls-dialect=gnu2 241: ++ trap 'on_error $LINENO' ERR 241: ++ trap on_exit EXIT -233: + grep -q ' exe.repro/.*/a.o' -233: + tar -C out/test/elf/x86_64/repro -tvf out/test/elf/x86_64/repro/exe.repro.tar -233: + grep -q /a.o out/test/elf/x86_64/repro/exe.repro/response.txt 241: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/rpath.sh .sh -231: + out/test/elf/x86_64/relocatable/exe 241: ++ testname=rpath 241: ++ echo -n 'Testing rpath ... ' 241: Testing rpath ... ++ t=out/test/elf/x86_64/rpath 241: ++ mkdir -p out/test/elf/x86_64/rpath -231: Hello world -231: + on_exit -231: + echo OK -231: OK -231: + exit 0 -230/369 Test #231: x86_64-relocatable ............................... Passed 0.33 sec -test 242 - Start 242: x86_64-run-clang +test 243 + Start 243: x86_64-run -242: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/run-clang.sh" -242: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -242: Environment variables: -242: MACHINE=x86_64 -242: CPU= -242: Test timeout computed to be: 1500 -233: + grep -q '[ms]old' out/test/elf/x86_64/repro/exe.repro/version.txt +243: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/run.sh" +243: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +243: Environment variables: +243: MACHINE=x86_64 +243: CPU= +243: Test timeout computed to be: 1500 +239: + cat 241: + cat -241: + cc -o out/test/elf/x86_64/rpath/a.o -c -x assembler - -239: + 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 -233: + rm -rf out/test/elf/x86_64/repro/exe.repro out/test/elf/x86_64/repro/exe.repro.tar -237: + readelf -W --symbols out/test/elf/x86_64/retain-symbols-file/exe +234: + grep -q 'undefined symbol: xyz' out/test/elf/x86_64/require-defined/log +234: + on_exit +234: + echo OK +234: OK +234: + exit 0 242: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/run-clang.sh 242: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 242: ++ export LC_ALL=C @@ -13575,48 +13646,7 @@ 242: ++ tlsdesc_opt=-mtls-dialect=gnu2 242: ++ trap 'on_error $LINENO' ERR 242: ++ trap on_exit EXIT -238: + cc -o out/test/elf/x86_64/reverse-sections/b.o -c -xc++ - -237: + grep -qw foo out/test/elf/x86_64/retain-symbols-file/log -242: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/run-clang.sh .sh -238: + cat -242: ++ testname=run-clang -242: ++ echo -n 'Testing run-clang ... ' -242: Testing run-clang ... ++ t=out/test/elf/x86_64/run-clang -242: ++ mkdir -p out/test/elf/x86_64/run-clang -241: + 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/ -237: + grep -qw bar out/test/elf/x86_64/retain-symbols-file/log -234: + readelf --symbols out/test/elf/x86_64/require-defined/exe -242: + '[' cc = cc ']' -242: + nm mold-wrapper.so -242: + grep -q '__[at]san_init' -234: + grep -q foobar -233: + MOLD_REPRO=1 -233: + cc -B. -o out/test/elf/x86_64/repro/exe out/test/elf/x86_64/repro/a.o -237: + grep -qw main out/test/elf/x86_64/retain-symbols-file/log -234: + 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 -237: + grep -qw baz out/test/elf/x86_64/retain-symbols-file/log -242: + clang --version -242: + skip -242: + echo skipped -242: skipped -242: + trap - EXIT -242: + exit 0 -231/369 Test #242: x86_64-run-clang .................................***Skipped 0.02 sec -test 243 - Start 243: x86_64-run - -243: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/run.sh" -243: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -243: Environment variables: -243: MACHINE=x86_64 -243: CPU= -243: Test timeout computed to be: 1500 -240: + cc -B. -o out/test/elf/x86_64/rosegment/exe1 out/test/elf/x86_64/rosegment/a.o -237: + on_exit -237: + echo OK -237: OK -237: + exit 0 -232/369 Test #237: x86_64-retain-symbols-file ....................... Passed 0.11 sec +232/369 Test #234: x86_64-require-defined ........................... Passed 0.33 sec test 244 Start 244: x86_64-section-align @@ -13626,26 +13656,8 @@ 244: MACHINE=x86_64 244: CPU= 244: Test timeout computed to be: 1500 +241: + cc -o out/test/elf/x86_64/rpath/a.o -c -x assembler - 243: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/run.sh -244: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/section-align.sh -244: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc -244: ++ export LC_ALL=C -244: ++ LC_ALL=C -244: ++ '[' -z x86_64 ']' -244: ++ '[' -z '' ']' -244: ++ TESTDIR=out/test/elf/x86_64 -244: ++ CC=cc -244: ++ CXX=c++ -244: ++ GCC=gcc -244: ++ GXX=g++ -244: ++ OBJDUMP=objdump -244: ++ OBJCOPY=objcopy -244: ++ STRIP=strip -244: ++ QEMU= -244: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' -244: ++ tlsdesc_opt=-mtls-dialect=gnu2 -244: ++ trap 'on_error $LINENO' ERR -244: ++ trap on_exit EXIT 243: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 243: ++ export LC_ALL=C 243: ++ LC_ALL=C @@ -13664,49 +13676,54 @@ 243: ++ tlsdesc_opt=-mtls-dialect=gnu2 243: ++ trap 'on_error $LINENO' ERR 243: ++ trap on_exit EXIT +242: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/run-clang.sh .sh 243: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/run.sh .sh +242: ++ testname=run-clang +242: ++ echo -n 'Testing run-clang ... ' +242: Testing run-clang ... ++ t=out/test/elf/x86_64/run-clang +242: ++ mkdir -p out/test/elf/x86_64/run-clang 243: ++ testname=run 243: ++ echo -n 'Testing run ... ' 243: Testing run ... ++ t=out/test/elf/x86_64/run 243: ++ mkdir -p out/test/elf/x86_64/run +241: + 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/ +243: + '[' cc = cc ']' +243: + nm mold +243: + grep -q '__[at]san_init' +242: + '[' cc = cc ']' +242: + nm mold-wrapper.so +244: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/section-align.sh +244: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc +244: ++ export LC_ALL=C +244: ++ LC_ALL=C +244: ++ '[' -z x86_64 ']' +244: ++ '[' -z '' ']' +244: ++ TESTDIR=out/test/elf/x86_64 +244: ++ CC=cc +244: ++ CXX=c++ +244: ++ GCC=gcc +244: ++ GXX=g++ +244: ++ OBJDUMP=objdump +244: ++ OBJCOPY=objcopy +244: ++ STRIP=strip +244: ++ QEMU= +244: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' +244: ++ tlsdesc_opt=-mtls-dialect=gnu2 +244: ++ trap 'on_error $LINENO' ERR +244: ++ trap on_exit EXIT 244: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/section-align.sh .sh 244: ++ testname=section-align 244: ++ echo -n 'Testing section-align ... ' 244: Testing section-align ... ++ t=out/test/elf/x86_64/section-align 244: ++ mkdir -p out/test/elf/x86_64/section-align -243: + '[' cc = cc ']' -243: + nm mold -244: + cat -244: + cc -o out/test/elf/x86_64/section-align/a.o -c -xc -fno-PIC - -243: + grep -q '__[at]san_init' -239: + readelf -p .rodata.str1.1 out/test/elf/x86_64/rodata-name/exe -239: + grep -q Hello -239: + grep -q world -239: + readelf -p .rodata.str4.4 out/test/elf/x86_64/rodata-name/exe -238: + cc -o out/test/elf/x86_64/reverse-sections/c.o -c -xc++ - -238: + cat -239: + grep -q foobar -239: + readelf -p .rodata.str1.1 out/test/elf/x86_64/rodata-name/exe -240: + readelf -W --segments out/test/elf/x86_64/rosegment/exe1 -239: + grep -q abcdefgh -234: + grep -q 'undefined symbol: xyz' out/test/elf/x86_64/require-defined/log -240: + grep -q '\.interp .* \.text' out/test/elf/x86_64/rosegment/log1 -240: + cc -B. -o out/test/elf/x86_64/rosegment/exe2 out/test/elf/x86_64/rosegment/a.o -Wl,--rosegment -241: + readelf --dynamic out/test/elf/x86_64/rpath/exe1 -241: + grep -Fq 'Library runpath: [/foo:/bar:/no/such/directory:/]' -239: + readelf -p .rodata.cst8 out/test/elf/x86_64/rodata-name/exe -241: + 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 -239: + grep -q baz -239: + readelf -p .rodatabaz out/test/elf/x86_64/rodata-name/exe -233: + grep -q ' exe.repro/.*/a.o' -233: + tar -C out/test/elf/x86_64/repro -tvf out/test/elf/x86_64/repro/exe.repro.tar -244: + 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 -233: + tar -C out/test/elf/x86_64/repro -xf out/test/elf/x86_64/repro/exe.repro.tar -239: + on_exit -239: + echo OK -239: OK -239: + exit 0 -233/369 Test #239: x86_64-rodata-name ............................... Passed 0.17 sec +242: + grep -q '__[at]san_init' +242: + clang --version +242: + skip +242: + echo skipped +242: skipped +242: + trap - EXIT +242: + exit 0 +233/369 Test #242: x86_64-run-clang .................................***Skipped 0.03 sec test 245 Start 245: x86_64-section-attributes @@ -13716,21 +13733,13 @@ 245: MACHINE=x86_64 245: CPU= 245: Test timeout computed to be: 1500 -234: + on_exit -234: + echo OK -234: OK -234: + exit 0 -234/369 Test #234: x86_64-require-defined ........................... Passed 0.29 sec -test 246 - Start 246: x86_64-section-order - -246: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/section-order.sh" -246: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -246: Environment variables: -246: MACHINE=x86_64 -246: CPU= -246: Test timeout computed to be: 1500 +223: + out/test/elf/x86_64/relocatable-c++/exe +223: + grep -q 'Hello world' +233: + tar -C out/test/elf/x86_64/repro -tvf out/test/elf/x86_64/repro/exe.repro.tar 245: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/section-attributes.sh +233: + grep -q ' exe.repro/.*/a.o' +239: + 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 +244: + cc -o out/test/elf/x86_64/section-align/a.o -c -xc -fno-PIC - 245: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 245: ++ export LC_ALL=C 245: ++ LC_ALL=C @@ -13749,15 +13758,30 @@ 245: ++ tlsdesc_opt=-mtls-dialect=gnu2 245: ++ trap 'on_error $LINENO' ERR 245: ++ trap on_exit EXIT +244: + cat 245: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/section-attributes.sh .sh -233: + grep -q /a.o out/test/elf/x86_64/repro/exe.repro/response.txt -246: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/section-order.sh +223: + on_exit +223: + echo OK +223: OK +223: + exit 0 +233: + tar -C out/test/elf/x86_64/repro -xf out/test/elf/x86_64/repro/exe.repro.tar 245: ++ testname=section-attributes 245: ++ echo -n 'Testing section-attributes ... ' 245: Testing section-attributes ... ++ t=out/test/elf/x86_64/section-attributes 245: ++ mkdir -p out/test/elf/x86_64/section-attributes -233: + grep -q '[ms]old' out/test/elf/x86_64/repro/exe.repro/version.txt -238: + 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 +234/369 Test #223: x86_64-relocatable-c++ ........................... Passed 0.75 sec +test 246 + Start 246: x86_64-section-order + +246: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/section-order.sh" +246: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +246: Environment variables: +246: MACHINE=x86_64 +246: CPU= +246: Test timeout computed to be: 1500 +245: + cat +245: + cc -o out/test/elf/x86_64/section-attributes/a.o -c -xassembler - +246: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/section-order.sh 246: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 246: ++ export LC_ALL=C 246: ++ LC_ALL=C @@ -13776,15 +13800,27 @@ 246: ++ tlsdesc_opt=-mtls-dialect=gnu2 246: ++ trap 'on_error $LINENO' ERR 246: ++ trap on_exit EXIT +245: + cc -o out/test/elf/x86_64/section-attributes/b.o -c -xassembler - +245: + cat 246: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/section-order.sh .sh -223: + ./mold --relocatable -o out/test/elf/x86_64/relocatable-c++/c.o out/test/elf/x86_64/relocatable-c++/a.o +233: + grep -q /a.o out/test/elf/x86_64/repro/exe.repro/response.txt +246: ++ testname=section-order +246: ++ echo -n 'Testing section-order ... ' +246: Testing section-order ... ++ t=out/test/elf/x86_64/section-order +246: ++ mkdir -p out/test/elf/x86_64/section-order +246: + on_qemu +246: + '[' '' '!=' '' ']' +246: + grep -qw qemu /proc/cpuinfo +233: + grep -q '[ms]old' out/test/elf/x86_64/repro/exe.repro/version.txt 245: + cat +241: + readelf --dynamic out/test/elf/x86_64/rpath/exe1 +241: + grep -Fq 'Library runpath: [/foo:/bar:/no/such/directory:/]' 233: + on_exit 233: + echo OK 233: OK 233: + exit 0 -245: + cc -o out/test/elf/x86_64/section-attributes/a.o -c -xassembler - -235/369 Test #233: x86_64-repro ..................................... Passed 0.33 sec +245: + cc -o out/test/elf/x86_64/section-attributes/c.o -c -xassembler - +235/369 Test #233: x86_64-repro ..................................... Passed 0.44 sec test 247 Start 247: x86_64-section-start @@ -13794,21 +13830,11 @@ 247: MACHINE=x86_64 247: CPU= 247: Test timeout computed to be: 1500 -246: ++ testname=section-order -246: ++ echo -n 'Testing section-order ... ' -246: Testing section-order ... ++ t=out/test/elf/x86_64/section-order -246: ++ mkdir -p out/test/elf/x86_64/section-order -240: + readelf -W --segments out/test/elf/x86_64/rosegment/exe2 -246: + on_qemu -246: + '[' '' '!=' '' ']' -246: + grep -qw qemu /proc/cpuinfo -223: + ./mold --relocatable -o out/test/elf/x86_64/relocatable-c++/d.o out/test/elf/x86_64/relocatable-c++/b.o -245: + cat -245: + cc -o out/test/elf/x86_64/section-attributes/b.o -c -xassembler - -241: + readelf --dynamic out/test/elf/x86_64/rpath/exe2 -241: + grep -Fq 'Library runpath: [/foo:/bar:/baz]' +241: + 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 +246: + cc -o out/test/elf/x86_64/section-order/a.o -c -xc -fno-PIC - +246: + cat +238: + 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 247: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/section-start.sh -240: + grep -q '\.interp .* \.text' out/test/elf/x86_64/rosegment/log2 247: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 247: ++ export LC_ALL=C 247: ++ LC_ALL=C @@ -13828,16 +13854,37 @@ 247: ++ trap 'on_error $LINENO' ERR 247: ++ trap on_exit EXIT 247: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/section-start.sh .sh +245: + cat +245: + cc -o out/test/elf/x86_64/section-attributes/d.o -c -xc - 247: ++ testname=section-start 247: ++ echo -n 'Testing section-start ... ' 247: Testing section-start ... ++ t=out/test/elf/x86_64/section-start 247: ++ mkdir -p out/test/elf/x86_64/section-start -245: + cat -241: + on_exit -241: + echo OK -241: OK -241: + exit 0 -236/369 Test #241: x86_64-rpath ..................................... Passed 0.17 sec +235: + echo ''\''out/test/elf/x86_64/response-file/b.o'\'' '\''out/test/elf/x86_64/response-file/c.o'\''' +235: + cc -B. -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 +247: + '[' x86_64 = ppc64 ']' +247: + [[ x86_64 = loongarch* ]] +247: + '[' x86_64 = arm ']' +247: + cat +247: + cc -o out/test/elf/x86_64/section-start/a.o -c -xc -fno-PIC - +239: + readelf -p .rodata.str1.1 out/test/elf/x86_64/rodata-name/exe +239: + grep -q Hello +241: + readelf --dynamic out/test/elf/x86_64/rpath/exe2 +241: + grep -Fq 'Library runpath: [/foo:/bar:/baz]' +239: + readelf -p .rodata.str4.4 out/test/elf/x86_64/rodata-name/exe +239: + grep -q world +240: + cc -B. -o out/test/elf/x86_64/rosegment/exe1 out/test/elf/x86_64/rosegment/a.o +239: + readelf -p .rodata.str1.1 out/test/elf/x86_64/rodata-name/exe +239: + grep -q foobar +239: + readelf -p .rodata.cst8 out/test/elf/x86_64/rodata-name/exe +239: + grep -q abcdefgh +239: + readelf -p .rodatabaz out/test/elf/x86_64/rodata-name/exe +239: + grep -q baz +239: + on_exit +239: + echo OK +239: OK +239: + exit 0 +236/369 Test #239: x86_64-rodata-name ............................... Passed 0.12 sec test 248 Start 248: x86_64-shared-abs-sym @@ -13847,30 +13894,31 @@ 248: MACHINE=x86_64 248: CPU= 248: Test timeout computed to be: 1500 -240: + cc -B. -o out/test/elf/x86_64/rosegment/exe3 out/test/elf/x86_64/rosegment/a.o -Wl,--no-rosegment -246: + cat -246: + cc -o out/test/elf/x86_64/section-order/a.o -c -xc -fno-PIC - -245: + cc -o out/test/elf/x86_64/section-attributes/c.o -c -xassembler - -247: + '[' x86_64 = ppc64 ']' -247: + [[ x86_64 = loongarch* ]] -247: + '[' x86_64 = arm ']' -223: + c++ -B. -o out/test/elf/x86_64/relocatable-c++/exe out/test/elf/x86_64/relocatable-c++/c.o out/test/elf/x86_64/relocatable-c++/d.o -247: + cc -o out/test/elf/x86_64/section-start/a.o -c -xc -fno-PIC - -247: + cat +244: + 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 +241: + on_exit +241: + echo OK +241: OK +241: + exit 0 +246: + 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' +238: + grep -q 'foo1 foo2 foo3 foo4 foo5 foo6' +237/369 Test #241: x86_64-rpath ..................................... Passed 0.12 sec +test 249 + Start 249: x86_64-shared + +249: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/shared.sh" +249: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +249: Environment variables: +249: MACHINE=x86_64 +249: CPU= +249: Test timeout computed to be: 1500 238: + out/test/elf/x86_64/reverse-sections/exe1 +238: + 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 248: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/shared-abs-sym.sh -238: + grep -q 'foo1 foo2 foo3 foo4 foo5 foo6' -244: + grep -q '\.foo.* 8192$' -244: + readelf -WS out/test/elf/x86_64/section-align/exe1 -245: + cat 248: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 248: ++ export LC_ALL=C 248: ++ LC_ALL=C 248: ++ '[' -z x86_64 ']' 248: ++ '[' -z '' ']' -244: + 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 -245: + cc -o out/test/elf/x86_64/section-attributes/d.o -c -xc - -238: + 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 248: ++ TESTDIR=out/test/elf/x86_64 248: ++ CC=cc 248: ++ CXX=c++ @@ -13889,25 +13937,23 @@ 248: ++ echo -n 'Testing shared-abs-sym ... ' 248: Testing shared-abs-sym ... ++ t=out/test/elf/x86_64/shared-abs-sym 248: ++ mkdir -p out/test/elf/x86_64/shared-abs-sym -240: + readelf -W --segments out/test/elf/x86_64/rosegment/exe3 248: + cat +249: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/shared.sh 248: + cc -B. -fPIC -shared -o out/test/elf/x86_64/shared-abs-sym/a.so -xassembler - -240: + grep -q '\.interp .* \.text' out/test/elf/x86_64/rosegment/log3 -240: + on_exit -240: + echo OK -240: OK -240: + exit 0 -237/369 Test #240: x86_64-rosegment ................................. Passed 0.22 sec -test 249 - Start 249: x86_64-shared +235: + on_exit +235: + echo OK +235: OK +235: + exit 0 +238/369 Test #235: x86_64-response-file ............................. Passed 0.39 sec +test 250 + Start 250: x86_64-shuffle-sections-seed -249: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/shared.sh" -249: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -249: Environment variables: -249: MACHINE=x86_64 -249: CPU= -249: Test timeout computed to be: 1500 -249: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/shared.sh +250: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/shuffle-sections-seed.sh" +250: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +250: Environment variables: +250: MACHINE=x86_64 +250: CPU= +250: Test timeout computed to be: 1500 249: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 249: ++ export LC_ALL=C 249: ++ LC_ALL=C @@ -13932,36 +13978,58 @@ 249: ++ echo -n 'Testing shared ... ' 249: Testing shared ... ++ t=out/test/elf/x86_64/shared 249: ++ mkdir -p out/test/elf/x86_64/shared -244: + readelf -WS out/test/elf/x86_64/section-align/exe2 -244: + grep -q '\.foo.* 256$' 249: + cat -246: + 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' +250: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/shuffle-sections-seed.sh 249: + cc -fPIC -c -o out/test/elf/x86_64/shared/a.o -xc - -244: + 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 -244: + grep -q 'must be a power of 2' -247: + 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 -223: + grep -q 'Hello world' -223: + out/test/elf/x86_64/relocatable-c++/exe -223: + on_exit -223: + echo OK -223: OK -223: + exit 0 -238/369 Test #223: x86_64-relocatable-c++ ........................... Passed 0.93 sec -test 250 - Start 250: x86_64-shuffle-sections-seed - -250: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/shuffle-sections-seed.sh" -250: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -250: Environment variables: -250: MACHINE=x86_64 -250: CPU= -250: Test timeout computed to be: 1500 -238: + out/test/elf/x86_64/reverse-sections/exe2 +240: + readelf -W --segments out/test/elf/x86_64/rosegment/exe1 +240: + grep -q '\.interp .* \.text' out/test/elf/x86_64/rosegment/log1 +250: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc +250: ++ export LC_ALL=C +250: ++ LC_ALL=C +250: ++ '[' -z x86_64 ']' +250: ++ '[' -z '' ']' +250: ++ TESTDIR=out/test/elf/x86_64 +250: ++ CC=cc +250: ++ CXX=c++ +250: ++ GCC=gcc +250: ++ GXX=g++ +250: ++ OBJDUMP=objdump +250: ++ OBJCOPY=objcopy +250: ++ STRIP=strip +250: ++ QEMU= +250: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' +250: ++ tlsdesc_opt=-mtls-dialect=gnu2 +250: ++ trap 'on_error $LINENO' ERR +250: ++ trap on_exit EXIT +250: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/shuffle-sections-seed.sh .sh +250: ++ testname=shuffle-sections-seed +250: ++ echo -n 'Testing shuffle-sections-seed ... ' +250: Testing shuffle-sections-seed ... ++ t=out/test/elf/x86_64/shuffle-sections-seed +250: ++ mkdir -p out/test/elf/x86_64/shuffle-sections-seed +240: + cc -B. -o out/test/elf/x86_64/rosegment/exe2 out/test/elf/x86_64/rosegment/a.o -Wl,--rosegment +244: + readelf -WS out/test/elf/x86_64/section-align/exe1 +244: + grep -q '\.foo.* 8192$' +250: + cat +246: + out/test/elf/x86_64/section-order/exe1 +246: + grep -q Hello +250: + cc -o out/test/elf/x86_64/shuffle-sections-seed/a.o -ffunction-sections -c -xc - +244: + 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 +246: + grep -q '\.fn2 .*00200000' 238: + grep -q 'foo5 foo6 foo3 foo4 foo1 foo2' +246: + readelf -SW out/test/elf/x86_64/section-order/exe1 +238: + out/test/elf/x86_64/reverse-sections/exe2 +245: + readelf -W --sections out/test/elf/x86_64/section-attributes/exe +245: + grep -q 'foobar.*WAX' +246: + readelf -SW out/test/elf/x86_64/section-order/exe1 +246: + grep -q '\.fn1 .*00300000' 238: + on_exit 238: + echo OK 238: OK 238: + exit 0 +245: + on_exit +245: + echo OK +245: OK +245: + exit 0 239/369 Test #238: x86_64-reverse-sections .......................... Passed 0.30 sec test 251 Start 251: x86_64-shuffle-sections @@ -13972,16 +14040,10 @@ 251: MACHINE=x86_64 251: CPU= 251: Test timeout computed to be: 1500 -248: + cc -B. -fPIC -shared -o out/test/elf/x86_64/shared-abs-sym/b.so -xassembler - -248: + cat -245: + readelf -W --sections out/test/elf/x86_64/section-attributes/exe -245: + grep -q 'foobar.*WAX' -250: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/shuffle-sections-seed.sh -244: + on_exit -244: + echo OK -244: OK -244: + exit 0 -240/369 Test #244: x86_64-section-align ............................. Passed 0.20 sec +246: + readelf -sw out/test/elf/x86_64/section-order/exe1 +246: + grep -Eq ': 0+\s.*\s__ehdr_start$' +247: + 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 +240/369 Test #245: x86_64-section-attributes ........................ Passed 0.12 sec test 252 Start 252: x86_64-soname @@ -13991,44 +14053,15 @@ 252: MACHINE=x86_64 252: CPU= 252: Test timeout computed to be: 1500 -250: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc -250: ++ export LC_ALL=C -250: ++ LC_ALL=C -250: ++ '[' -z x86_64 ']' -250: ++ '[' -z '' ']' -250: ++ TESTDIR=out/test/elf/x86_64 -250: ++ CC=cc -250: ++ CXX=c++ -250: ++ GCC=gcc -250: ++ GXX=g++ -250: ++ OBJDUMP=objdump -250: ++ OBJCOPY=objcopy -250: ++ STRIP=strip -250: ++ QEMU= -250: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' -250: ++ tlsdesc_opt=-mtls-dialect=gnu2 -250: ++ trap 'on_error $LINENO' ERR -250: ++ trap on_exit EXIT -245: + on_exit -245: + echo OK -245: OK -245: + exit 0 +246: + 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' 251: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/shuffle-sections.sh -249: + cc -B. -shared -o out/test/elf/x86_64/shared/b.so out/test/elf/x86_64/shared/a.o -241/369 Test #245: x86_64-section-attributes ........................ Passed 0.14 sec -test 253 - Start 253: x86_64-spare-program-headers - -253: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/spare-program-headers.sh" -253: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -253: Environment variables: -253: MACHINE=x86_64 -253: CPU= -253: Test timeout computed to be: 1500 +243: + cat 251: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 251: ++ export LC_ALL=C 251: ++ LC_ALL=C +243: + cc -xc -c -o out/test/elf/x86_64/run/a.o - 251: ++ '[' -z x86_64 ']' +252: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/soname.sh 251: ++ '[' -z '' ']' 251: ++ TESTDIR=out/test/elf/x86_64 251: ++ CC=cc @@ -14044,22 +14077,6 @@ 251: ++ trap 'on_error $LINENO' ERR 251: ++ trap on_exit EXIT 251: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/shuffle-sections.sh .sh -251: ++ testname=shuffle-sections -251: ++ echo -n 'Testing shuffle-sections ... ' -251: Testing shuffle-sections ... ++ t=out/test/elf/x86_64/shuffle-sections -251: ++ mkdir -p out/test/elf/x86_64/shuffle-sections -250: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/shuffle-sections-seed.sh .sh -250: ++ testname=shuffle-sections-seed -250: ++ echo -n 'Testing shuffle-sections-seed ... ' -250: Testing shuffle-sections-seed ... ++ t=out/test/elf/x86_64/shuffle-sections-seed -250: ++ mkdir -p out/test/elf/x86_64/shuffle-sections-seed -250: + cc -o out/test/elf/x86_64/shuffle-sections-seed/a.o -ffunction-sections -c -xc - -250: + cat -246: + out/test/elf/x86_64/section-order/exe1 -246: + grep -q Hello -246: + grep -q '\.fn2 .*00200000' -246: + readelf -SW out/test/elf/x86_64/section-order/exe1 -252: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/soname.sh 252: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 252: ++ export LC_ALL=C 252: ++ LC_ALL=C @@ -14078,62 +14095,38 @@ 252: ++ tlsdesc_opt=-mtls-dialect=gnu2 252: ++ trap 'on_error $LINENO' ERR 252: ++ trap on_exit EXIT +251: ++ testname=shuffle-sections +251: ++ echo -n 'Testing shuffle-sections ... ' +251: Testing shuffle-sections ... ++ t=out/test/elf/x86_64/shuffle-sections +251: ++ mkdir -p out/test/elf/x86_64/shuffle-sections 252: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/soname.sh .sh -251: + cc -o out/test/elf/x86_64/shuffle-sections/a.o -ffunction-sections -c -xc - -226: + ./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 -253: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/spare-program-headers.sh 252: ++ testname=soname 252: ++ echo -n 'Testing soname ... ' 252: Testing soname ... ++ t=out/test/elf/x86_64/soname 252: ++ mkdir -p out/test/elf/x86_64/soname +227: + cc -c -xc -o out/test/elf/x86_64/relocatable-many-sections/b.o - +251: + cc -o out/test/elf/x86_64/shuffle-sections/a.o -ffunction-sections -c -xc - 251: + cat -253: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc -253: ++ export LC_ALL=C -253: ++ LC_ALL=C -253: ++ '[' -z x86_64 ']' -253: ++ '[' -z '' ']' -253: ++ TESTDIR=out/test/elf/x86_64 -253: ++ CC=cc -253: ++ CXX=c++ -253: ++ GCC=gcc -253: ++ GXX=g++ -253: ++ OBJDUMP=objdump -253: ++ OBJCOPY=objcopy -253: ++ STRIP=strip -253: ++ QEMU= -253: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' -253: ++ tlsdesc_opt=-mtls-dialect=gnu2 -253: ++ trap 'on_error $LINENO' ERR -253: ++ trap on_exit EXIT +227: + cat +244: + grep -q '\.foo.* 256$' +244: + readelf -WS out/test/elf/x86_64/section-align/exe2 +252: + cat +252: + cc -fPIC -c -o out/test/elf/x86_64/soname/a.o -xc - +240: + readelf -W --segments out/test/elf/x86_64/rosegment/exe2 +244: + 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 +244: + grep -q 'must be a power of 2' +240: + grep -q '\.interp .* \.text' out/test/elf/x86_64/rosegment/log2 247: + out/test/elf/x86_64/section-start/exe1 -253: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/spare-program-headers.sh .sh 247: + grep -q 'main fn1 fn2 0x10000000 0x20000000' -246: + grep -q '\.fn1 .*00300000' -253: ++ testname=spare-program-headers -253: ++ echo -n 'Testing spare-program-headers ... ' -253: Testing spare-program-headers ... ++ t=out/test/elf/x86_64/spare-program-headers -253: ++ mkdir -p out/test/elf/x86_64/spare-program-headers -246: + readelf -SW out/test/elf/x86_64/section-order/exe1 -252: + cc -fPIC -c -o out/test/elf/x86_64/soname/a.o -xc - -252: + cat -247: + readelf -W --segments out/test/elf/x86_64/section-start/exe1 +249: + cc -B. -shared -o out/test/elf/x86_64/shared/b.so out/test/elf/x86_64/shared/a.o 247: + grep ' LOAD ' +247: + readelf -W --segments out/test/elf/x86_64/section-start/exe1 247: + sed 's/0x[0-9a-f]*//' -246: + readelf -sw out/test/elf/x86_64/section-order/exe1 -253: + cat -247: + diff out/test/elf/x86_64/section-start/log1 /dev/fd/63 -253: + cc -o out/test/elf/x86_64/spare-program-headers/a.o -c -xc - -246: + grep -Eq ': 0+\s.*\s__ehdr_start$' -247: ++ sort out/test/elf/x86_64/section-start/log1 -246: + 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' -243: + cat -243: + cc -xc -c -o out/test/elf/x86_64/run/a.o - -226: + c++ -B. -o out/test/elf/x86_64/relocatable-exception/exe out/test/elf/x86_64/relocatable-exception/c.o -247: + 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 -248: + cat -249: + readelf --dyn-syms out/test/elf/x86_64/shared/b.so -248: + cc -fPIC -c -o out/test/elf/x86_64/shared-abs-sym/c.o -xc - +240: + cc -B. -o out/test/elf/x86_64/rosegment/exe3 out/test/elf/x86_64/rosegment/a.o -Wl,--no-rosegment +250: + cc -o out/test/elf/x86_64/shuffle-sections-seed/b.o -ffunction-sections -c -xc - 250: ++ seq 1 1000 +246: + grep -q '\.fn2 .*00400000' +246: + readelf -SW out/test/elf/x86_64/section-order/exe2 250: + for i in `seq 1 1000` 250: + echo 'void fn1() {}' 250: + for i in `seq 1 1000` @@ -14328,7 +14321,6 @@ 250: + echo 'void fn96() {}' 250: + for i in `seq 1 1000` 250: + echo 'void fn97() {}' -250: + cc -o out/test/elf/x86_64/shuffle-sections-seed/b.o -ffunction-sections -c -xc - 250: + for i in `seq 1 1000` 250: + echo 'void fn98() {}' 250: + for i in `seq 1 1000` @@ -14541,6 +14533,10 @@ 250: + echo 'void fn202() {}' 250: + for i in `seq 1 1000` 250: + echo 'void fn203() {}' +246: + grep -Eq ': 0+200000\s.*\s__ehdr_start$' +246: + readelf -sW out/test/elf/x86_64/section-order/exe2 +246: + readelf -W --segments out/test/elf/x86_64/section-order/exe2 +246: + grep -Eq 'PHDR\s.*0x0+300000\s' 250: + for i in `seq 1 1000` 250: + echo 'void fn204() {}' 250: + for i in `seq 1 1000` @@ -15437,11 +15433,6 @@ 250: + echo 'void fn650() {}' 250: + for i in `seq 1 1000` 250: + echo 'void fn651() {}' -249: + grep -q '00000000 0 NOTYPE GLOBAL DEFAULT UND fn2' out/test/elf/x86_64/shared/log -249: + grep -Eq 'FUNC GLOBAL DEFAULT .* fn1' out/test/elf/x86_64/shared/log -249: + cat -249: + cc -fPIC -c -o out/test/elf/x86_64/shared/c.o -xc - -252: + cc -o out/test/elf/x86_64/soname/b.so -shared out/test/elf/x86_64/soname/a.o 250: + for i in `seq 1 1000` 250: + echo 'void fn652() {}' 250: + for i in `seq 1 1000` @@ -16140,7 +16131,59 @@ 250: + echo 'void fn999() {}' 250: + for i in `seq 1 1000` 250: + echo 'void fn1000() {}' +248: + cc -B. -fPIC -shared -o out/test/elf/x86_64/shared-abs-sym/b.so -xassembler - +248: + cat +244: + on_exit +244: + echo OK +244: OK +244: + exit 0 +247: + diff out/test/elf/x86_64/section-start/log1 /dev/fd/63 +247: ++ sort out/test/elf/x86_64/section-start/log1 +247: + 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 +241/369 Test #244: x86_64-section-align ............................. Passed 0.24 sec +test 253 + Start 253: x86_64-spare-program-headers + +253: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/spare-program-headers.sh" +253: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +253: Environment variables: +253: MACHINE=x86_64 +253: CPU= +253: Test timeout computed to be: 1500 +246: + 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' +253: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/spare-program-headers.sh +253: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc +253: ++ export LC_ALL=C +253: ++ LC_ALL=C +253: ++ '[' -z x86_64 ']' +253: ++ '[' -z '' ']' +253: ++ TESTDIR=out/test/elf/x86_64 +253: ++ CC=cc +253: ++ CXX=c++ +253: ++ GCC=gcc +253: ++ GXX=g++ +253: ++ OBJDUMP=objdump +253: ++ OBJCOPY=objcopy +253: ++ STRIP=strip +253: ++ QEMU= +253: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' +253: ++ tlsdesc_opt=-mtls-dialect=gnu2 +253: ++ trap 'on_error $LINENO' ERR +253: ++ trap on_exit EXIT +253: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/spare-program-headers.sh .sh +253: ++ testname=spare-program-headers +253: ++ echo -n 'Testing spare-program-headers ... ' +253: Testing spare-program-headers ... ++ t=out/test/elf/x86_64/spare-program-headers +253: ++ mkdir -p out/test/elf/x86_64/spare-program-headers +253: + cat +253: + cc -o out/test/elf/x86_64/spare-program-headers/a.o -c -xc - +240: + readelf -W --segments out/test/elf/x86_64/rosegment/exe3 +227: + ./mold -r -o out/test/elf/x86_64/relocatable-many-sections/c.o out/test/elf/x86_64/relocatable-many-sections/a.o out/test/elf/x86_64/relocatable-many-sections/b.o 251: + cc -o out/test/elf/x86_64/shuffle-sections/b.o -ffunction-sections -c -xc - +252: + cc -o out/test/elf/x86_64/soname/b.so -shared out/test/elf/x86_64/soname/a.o +240: + grep -q '\.interp .* \.text' out/test/elf/x86_64/rosegment/log3 +243: ++ pwd +243: + LD_PRELOAD=/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so 251: ++ seq 1 1000 251: + for i in `seq 1 1000` 251: + echo 'void fn1() {}' @@ -16180,6 +16223,10 @@ 251: + echo 'void fn18() {}' 251: + for i in `seq 1 1000` 251: + echo 'void fn19() {}' +240: + on_exit +240: + echo OK +240: OK +240: + exit 0 251: + for i in `seq 1 1000` 251: + echo 'void fn20() {}' 251: + for i in `seq 1 1000` @@ -16872,6 +16919,16 @@ 251: + echo 'void fn364() {}' 251: + for i in `seq 1 1000` 251: + echo 'void fn365() {}' +242/369 Test #240: x86_64-rosegment ................................. Passed 0.32 sec +test 254 + Start 254: x86_64-start-lib + +254: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/start-lib.sh" +254: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +254: Environment variables: +254: MACHINE=x86_64 +254: CPU= +254: Test timeout computed to be: 1500 251: + for i in `seq 1 1000` 251: + echo 'void fn366() {}' 251: + for i in `seq 1 1000` @@ -17350,11 +17407,6 @@ 251: + echo 'void fn603() {}' 251: + for i in `seq 1 1000` 251: + echo 'void fn604() {}' -246: + readelf -SW out/test/elf/x86_64/section-order/exe2 -246: + grep -q '\.fn2 .*00400000' -246: + grep -Eq ': 0+200000\s.*\s__ehdr_start$' -246: + readelf -sW out/test/elf/x86_64/section-order/exe2 -253: + cc -B. -o out/test/elf/x86_64/spare-program-headers/exe1 out/test/elf/x86_64/spare-program-headers/a.o 251: + for i in `seq 1 1000` 251: + echo 'void fn605() {}' 251: + for i in `seq 1 1000` @@ -18147,55 +18199,14 @@ 251: + echo 'void fn999() {}' 251: + for i in `seq 1 1000` 251: + echo 'void fn1000() {}' -248: + cc -B. -o out/test/elf/x86_64/shared-abs-sym/exe1 -pie out/test/elf/x86_64/shared-abs-sym/c.o out/test/elf/x86_64/shared-abs-sym/a.so -247: + grep -q 'main fn1 fn2 0x20000000 0x10000000' -247: + out/test/elf/x86_64/section-start/exe2 -247: + readelf -W --segments out/test/elf/x86_64/section-start/exe2 -247: + grep ' LOAD ' -246: + grep -Eq 'PHDR\s.*0x0+300000\s' -246: + readelf -W --segments out/test/elf/x86_64/section-order/exe2 -246: + 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' -252: + readelf --dynamic out/test/elf/x86_64/soname/b.so -226: + out/test/elf/x86_64/relocatable-exception/exe -252: + grep -Fq 'Library soname' out/test/elf/x86_64/soname/log -247: + sed 's/0x[0-9a-f]*//' -247: + diff out/test/elf/x86_64/section-start/log2 /dev/fd/63 -226: 0 -226: + on_exit -226: + echo OK -226: OK -226: + exit 0 -252: + cc -B. -o out/test/elf/x86_64/soname/b.so -shared out/test/elf/x86_64/soname/a.o -Wl,-soname,foo -243: ++ pwd -242/369 Test #226: x86_64-relocatable-exception ..................... Passed 0.87 sec -test 254 - Start 254: x86_64-start-lib - -254: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/start-lib.sh" -254: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -254: Environment variables: -254: MACHINE=x86_64 -254: CPU= -254: Test timeout computed to be: 1500 -243: + LD_PRELOAD=/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so 243: ++ pwd 243: + MOLD_PATH=/build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/mold 243: + gcc -o out/test/elf/x86_64/run/exe out/test/elf/x86_64/run/a.o -B/usr/bin -247: ++ sort out/test/elf/x86_64/section-start/log2 -247: + on_exit -247: + echo OK -247: OK -247: + exit 0 -243/369 Test #247: x86_64-section-start ............................. Passed 0.21 sec -test 255 - Start 255: x86_64-start-stop-symbol - -255: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/start-stop-symbol.sh" -255: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -255: Environment variables: -255: MACHINE=x86_64 -255: CPU= -255: Test timeout computed to be: 1500 +246: + readelf -sW out/test/elf/x86_64/section-order/exe3 +249: + readelf --dyn-syms out/test/elf/x86_64/shared/b.so +249: + grep -q '00000000 0 NOTYPE GLOBAL DEFAULT UND fn2' out/test/elf/x86_64/shared/log +247: + out/test/elf/x86_64/section-start/exe2 +247: + grep -q 'main fn1 fn2 0x20000000 0x10000000' 254: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/start-lib.sh 254: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 254: ++ export LC_ALL=C @@ -18216,13 +18227,69 @@ 254: ++ trap 'on_error $LINENO' ERR 254: ++ trap on_exit EXIT 254: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/start-lib.sh .sh -253: + out/test/elf/x86_64/spare-program-headers/exe1 -253: + grep -q 'Hello world' -255: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/start-stop-symbol.sh 254: ++ testname=start-lib 254: ++ echo -n 'Testing start-lib ... ' 254: Testing start-lib ... ++ t=out/test/elf/x86_64/start-lib 254: ++ mkdir -p out/test/elf/x86_64/start-lib +254: + cat +254: + cc -o out/test/elf/x86_64/start-lib/a.o -c -xc - +249: + grep -Eq 'FUNC GLOBAL DEFAULT .* fn1' out/test/elf/x86_64/shared/log +247: + sed 's/0x[0-9a-f]*//' +247: + readelf -W --segments out/test/elf/x86_64/section-start/exe2 +246: + grep -Eq '\b0+200000 .* ehdr_start$' out/test/elf/x86_64/section-order/log3 +247: + grep ' LOAD ' +252: + readelf --dynamic out/test/elf/x86_64/soname/b.so +249: + cat +249: + cc -fPIC -c -o out/test/elf/x86_64/shared/c.o -xc - +247: + diff out/test/elf/x86_64/section-start/log2 /dev/fd/63 +246: + grep -Eq '\b0+200040 .* rodata_start$' out/test/elf/x86_64/section-order/log3 +246: + grep -Eq '\b0+300000 .* phdr_start$' out/test/elf/x86_64/section-order/log3 +252: + grep -Fq 'Library soname' out/test/elf/x86_64/soname/log +253: + cc -B. -o out/test/elf/x86_64/spare-program-headers/exe1 out/test/elf/x86_64/spare-program-headers/a.o +252: + cc -B. -o out/test/elf/x86_64/soname/b.so -shared out/test/elf/x86_64/soname/a.o -Wl,-soname,foo +243: + readelf -p .comment out/test/elf/x86_64/run/exe +190: + readelf -WS out/test/elf/x86_64/many-sections2/b.o +248: + cc -fPIC -c -o out/test/elf/x86_64/shared-abs-sym/c.o -xc - +254: + cc -o out/test/elf/x86_64/start-lib/b.o -c -xc - +247: ++ sort out/test/elf/x86_64/section-start/log2 +243: + grep -q '[ms]old' out/test/elf/x86_64/run/log +246: + grep -Eq '\b0+301000 .* phdr_end$' out/test/elf/x86_64/section-order/log3 +248: + cat +254: + cat +246: + grep -Eq '\b0+400000 .* text_start$' out/test/elf/x86_64/section-order/log3 +246: + on_exit +246: + echo OK +246: OK +246: + exit 0 +243: + grep -q '^MOLD_PATH=.*/mold$' +243: + ./mold -run env +243/369 Test #246: x86_64-section-order ............................. Passed 0.42 sec +test 255 + Start 255: x86_64-start-stop-symbol + +255: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/start-stop-symbol.sh" +255: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +255: Environment variables: +255: MACHINE=x86_64 +255: CPU= +255: Test timeout computed to be: 1500 +247: + on_exit +247: + echo OK +247: OK +247: + exit 0 +244/369 Test #247: x86_64-section-start ............................. Passed 0.41 sec +test 256 + Start 256: x86_64-start-stop + +256: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/start-stop.sh" +256: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +256: Environment variables: +256: MACHINE=x86_64 +256: CPU= +256: Test timeout computed to be: 1500 +243: + ./mold -run /usr/bin/ld --version +243: + grep -q '[ms]old' +255: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/start-stop-symbol.sh 255: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 255: ++ export LC_ALL=C 255: ++ LC_ALL=C @@ -18242,75 +18309,12 @@ 255: ++ trap 'on_error $LINENO' ERR 255: ++ trap on_exit EXIT 255: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/start-stop-symbol.sh .sh -249: + 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 -254: + cat -254: + cc -o out/test/elf/x86_64/start-lib/a.o -c -xc - -253: ++ readelf -Wl out/test/elf/x86_64/spare-program-headers/exe1 -253: ++ wc -l +256: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/start-stop.sh 255: ++ testname=start-stop-symbol 255: ++ echo -n 'Testing start-stop-symbol ... ' 255: Testing start-stop-symbol ... ++ t=out/test/elf/x86_64/start-stop-symbol 255: ++ mkdir -p out/test/elf/x86_64/start-stop-symbol -253: ++ grep NULL -253: + '[' 0 -eq 0 ']' -253: + cc -B. -o out/test/elf/x86_64/spare-program-headers/exe2 out/test/elf/x86_64/spare-program-headers/a.o -Wl,--spare-program-headers=0 -248: + out/test/elf/x86_64/shared-abs-sym/exe1 -248: + grep -q foo=0x3 -255: + cat -255: + cc -c -o out/test/elf/x86_64/start-stop-symbol/a.o -xc - -248: + LD_PRELOAD=out/test/elf/x86_64/shared-abs-sym/b.so -248: + out/test/elf/x86_64/shared-abs-sym/exe1 -248: + grep -q foo=0x5 -248: + cc -B. -o out/test/elf/x86_64/shared-abs-sym/exe2 -pie out/test/elf/x86_64/shared-abs-sym/c.o out/test/elf/x86_64/shared-abs-sym/a.so -249: + grep -q hello -243: + readelf -p .comment out/test/elf/x86_64/run/exe -249: + out/test/elf/x86_64/shared/exe -252: + readelf --dynamic out/test/elf/x86_64/soname/b.so -252: + grep -Fq 'Library soname: [foo]' -254: + cc -o out/test/elf/x86_64/start-lib/b.o -c -xc - -253: + out/test/elf/x86_64/spare-program-headers/exe2 -253: + grep -q 'Hello world' -246: + readelf -sW out/test/elf/x86_64/section-order/exe3 -252: + on_exit -252: + echo OK -252: OK -252: + exit 0 -255: + ar rcs out/test/elf/x86_64/start-stop-symbol/b.a out/test/elf/x86_64/start-stop-symbol/a.o -254: + cat -244/369 Test #252: x86_64-soname .................................... Passed 0.17 sec -test 256 - Start 256: x86_64-start-stop - -256: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/start-stop.sh" -256: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -256: Environment variables: -256: MACHINE=x86_64 -256: CPU= -256: Test timeout computed to be: 1500 -249: + readelf --symbols out/test/elf/x86_64/shared/exe -249: + grep -q fn3 -249: + on_exit -249: + echo OK -249: OK -249: + exit 0 -246: + grep -Eq '\b0+200000 .* ehdr_start$' out/test/elf/x86_64/section-order/log3 -245/369 Test #249: x86_64-shared .................................... Passed 0.23 sec -test 257 - Start 257: x86_64-static-archive - -257: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/static-archive.sh" -257: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -257: Environment variables: -257: MACHINE=x86_64 -257: CPU= -257: Test timeout computed to be: 1500 -246: + grep -Eq '\b0+200040 .* rodata_start$' out/test/elf/x86_64/section-order/log3 -246: + grep -Eq '\b0+300000 .* phdr_start$' out/test/elf/x86_64/section-order/log3 -255: + cat -243: + grep -q '[ms]old' out/test/elf/x86_64/run/log -256: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/start-stop.sh 256: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc -255: + cc -c -o out/test/elf/x86_64/start-stop-symbol/c.o -xc - 256: ++ export LC_ALL=C 256: ++ LC_ALL=C 256: ++ '[' -z x86_64 ']' @@ -18328,37 +18332,61 @@ 256: ++ tlsdesc_opt=-mtls-dialect=gnu2 256: ++ trap 'on_error $LINENO' ERR 256: ++ trap on_exit EXIT -246: + grep -Eq '\b0+301000 .* phdr_end$' out/test/elf/x86_64/section-order/log3 256: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/start-stop.sh .sh +256: ++ testname=start-stop +256: ++ echo -n 'Testing start-stop ... ' +256: Testing start-stop ... ++ t=out/test/elf/x86_64/start-stop +256: ++ mkdir -p out/test/elf/x86_64/start-stop +243: + ./mold -run /usr/bin/ld.lld --version +255: + cat +255: + cc -c -o out/test/elf/x86_64/start-stop-symbol/a.o -xc - +243: + grep -q '[ms]old' +243: + ./mold -run /usr/bin/ld.gold --version +243: + grep -q '[ms]old' +243: + 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 +243: + touch out/test/elf/x86_64/run/ld out/test/elf/x86_64/run/ld.lld out/test/elf/x86_64/run/ld.gold +243: + echo '#!/bin/sh' +243: + 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 +256: + cc -c -o out/test/elf/x86_64/start-stop/a.o -xc - +253: + grep -q 'Hello world' +256: + cat +253: + out/test/elf/x86_64/spare-program-headers/exe1 +243: + grep -q '[ms]old' +243: + ./mold -run out/test/elf/x86_64/run/ld --version +249: + 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 +253: ++ grep NULL +248: + cc -B. -o out/test/elf/x86_64/shared-abs-sym/exe1 -pie out/test/elf/x86_64/shared-abs-sym/c.o out/test/elf/x86_64/shared-abs-sym/a.so +252: + grep -Fq 'Library soname: [foo]' +190: + grep -Fq .data.100000 out/test/elf/x86_64/many-sections2/log1 +253: ++ readelf -Wl out/test/elf/x86_64/spare-program-headers/exe1 +252: + readelf --dynamic out/test/elf/x86_64/soname/b.so +190: + readelf -Ws out/test/elf/x86_64/many-sections2/b.o +253: ++ wc -l +252: + on_exit +252: + echo OK +252: OK +252: + exit 0 +253: + '[' 0 -eq 0 ']' +253: + cc -B. -o out/test/elf/x86_64/spare-program-headers/exe2 out/test/elf/x86_64/spare-program-headers/a.o -Wl,--spare-program-headers=0 +245/369 Test #252: x86_64-soname .................................... Passed 0.42 sec +test 257 + Start 257: x86_64-static-archive + +257: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/static-archive.sh" +257: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +257: Environment variables: +257: MACHINE=x86_64 +257: CPU= +257: Test timeout computed to be: 1500 +243: + ./mold -run out/test/elf/x86_64/run/ld.lld --version +243: + grep -q '[ms]old' 257: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/static-archive.sh -253: ++ readelf -Wl out/test/elf/x86_64/spare-program-headers/exe2 -246: + grep -Eq '\b0+400000 .* text_start$' out/test/elf/x86_64/section-order/log3 257: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 257: ++ export LC_ALL=C 257: ++ LC_ALL=C 257: ++ '[' -z x86_64 ']' 257: ++ '[' -z '' ']' 257: ++ TESTDIR=out/test/elf/x86_64 -253: ++ grep NULL -253: ++ wc -l -256: ++ testname=start-stop -256: ++ echo -n 'Testing start-stop ... ' -256: Testing start-stop ... ++ t=out/test/elf/x86_64/start-stop -256: ++ mkdir -p out/test/elf/x86_64/start-stop -246: + on_exit -246: + echo OK -246: OK -246: + exit 0 -246/369 Test #246: x86_64-section-order ............................. Passed 0.33 sec -test 258 - Start 258: x86_64-static-pie - -258: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/static-pie.sh" -258: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -258: Environment variables: -258: MACHINE=x86_64 -258: CPU= -258: Test timeout computed to be: 1500 257: ++ CC=cc 257: ++ CXX=c++ 257: ++ GCC=gcc @@ -18376,14 +18404,44 @@ 257: ++ echo -n 'Testing static-archive ... ' 257: Testing static-archive ... ++ t=out/test/elf/x86_64/static-archive 257: ++ mkdir -p out/test/elf/x86_64/static-archive -257: + cc -o out/test/elf/x86_64/static-archive/long-long-long-filename.o -c -xc - +243: + ./mold -run out/test/elf/x86_64/run/ld.gold --version +243: + grep -q '[ms]old' +243: + ./mold -run out/test/elf/x86_64/run/foo.ld --version +243: + grep -q '[ms]old' 257: + cat -253: + '[' 0 -eq 0 ']' -253: + cc -B. -o out/test/elf/x86_64/spare-program-headers/exe3 out/test/elf/x86_64/spare-program-headers/a.o -Wl,--spare-program-headers=1 -243: + grep -q '^MOLD_PATH=.*/mold$' -243: + ./mold -run env -256: + cc -c -o out/test/elf/x86_64/start-stop/a.o -xc - -256: + cat +257: + cc -o out/test/elf/x86_64/static-archive/long-long-long-filename.o -c -xc - +254: + cc -o out/test/elf/x86_64/start-lib/c.o -c -xc - +254: + cat +243: + cat +256: + cc -B. -o out/test/elf/x86_64/start-stop/exe1 out/test/elf/x86_64/start-stop/a.o -Wl,--start-stop +243: + chmod 755 out/test/elf/x86_64/run/sh +255: + ar rcs out/test/elf/x86_64/start-stop-symbol/b.a out/test/elf/x86_64/start-stop-symbol/a.o +249: + grep -q hello +249: + out/test/elf/x86_64/shared/exe +243: + grep -q '[ms]old' +243: + ./mold -run out/test/elf/x86_64/run/sh ld --version +253: + grep -q 'Hello world' +249: + grep -q fn3 +249: + readelf --symbols out/test/elf/x86_64/shared/exe +248: + out/test/elf/x86_64/shared-abs-sym/exe1 +248: + grep -q foo=0x3 +255: + cat +255: + cc -c -o out/test/elf/x86_64/start-stop-symbol/c.o -xc - +253: + out/test/elf/x86_64/spare-program-headers/exe2 +249: + on_exit +249: + echo OK +249: OK +249: + exit 0 +246/369 Test #249: x86_64-shared .................................... Passed 0.64 sec +test 258 + Start 258: x86_64-static-pie + +258: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/static-pie.sh" +258: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +258: Environment variables: +258: MACHINE=x86_64 +258: CPU= +258: Test timeout computed to be: 1500 258: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/static-pie.sh 258: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 258: ++ export LC_ALL=C @@ -18404,53 +18462,41 @@ 258: ++ trap 'on_error $LINENO' ERR 258: ++ trap on_exit EXIT 258: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/static-pie.sh .sh -248: + grep -q foo=0x3 258: ++ testname=static-pie 258: ++ echo -n 'Testing static-pie ... ' 258: Testing static-pie ... ++ t=out/test/elf/x86_64/static-pie 258: ++ mkdir -p out/test/elf/x86_64/static-pie -248: + out/test/elf/x86_64/shared-abs-sym/exe2 258: + test_cflags -static-pie 258: + cc -static-pie -o /dev/null -xc - -254: + cc -o out/test/elf/x86_64/start-lib/c.o -c -xc - -258: + echo 'int main() {}' -248: + LD_PRELOAD=out/test/elf/x86_64/shared-abs-sym/b.so -248: + out/test/elf/x86_64/shared-abs-sym/exe2 -248: + grep -q foo=0x5 -253: + out/test/elf/x86_64/spare-program-headers/exe3 -253: + grep -q 'Hello world' -248: + cc -B. -o out/test/elf/x86_64/shared-abs-sym/exe3 -no-pie out/test/elf/x86_64/shared-abs-sym/c.o out/test/elf/x86_64/shared-abs-sym/a.so 253: ++ grep NULL 253: ++ wc -l -253: ++ readelf -Wl out/test/elf/x86_64/spare-program-headers/exe3 -256: + cc -B. -o out/test/elf/x86_64/start-stop/exe1 out/test/elf/x86_64/start-stop/a.o -Wl,--start-stop +253: ++ readelf -Wl out/test/elf/x86_64/spare-program-headers/exe2 +248: + grep -q foo=0x5 +258: + echo 'int main() {}' +248: + LD_PRELOAD=out/test/elf/x86_64/shared-abs-sym/b.so +248: + out/test/elf/x86_64/shared-abs-sym/exe1 +253: + '[' 0 -eq 0 ']' +253: + cc -B. -o out/test/elf/x86_64/spare-program-headers/exe3 out/test/elf/x86_64/spare-program-headers/a.o -Wl,--spare-program-headers=1 +243: + ./mold -run out/test/elf/x86_64/run/sh foo.ld --version 243: + grep -q '[ms]old' -243: + ./mold -run /usr/bin/ld --version -254: + cat -253: + '[' 1 -eq 1 ']' -253: + cc -B. -o out/test/elf/x86_64/spare-program-headers/exe4 out/test/elf/x86_64/spare-program-headers/a.o -Wl,--spare-program-headers=5 -257: + cat -257: + cc -o out/test/elf/x86_64/static-archive/b.o -c -xc - -255: + 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 -254: + 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 +227: + cc -B. -o out/test/elf/x86_64/relocatable-many-sections/exe out/test/elf/x86_64/relocatable-many-sections/c.o +243: + ./mold -run out/test/elf/x86_64/run/sh out/test/elf/x86_64/run/ld --version 243: + grep -q '[ms]old' -243: + ./mold -run /usr/bin/ld.lld --version -248: + out/test/elf/x86_64/shared-abs-sym/exe3 -248: + grep -q foo=0x3 -257: + cc -o out/test/elf/x86_64/static-archive/c.o -c -xc - -248: + grep -q foo=0x5 +254: + 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 +248: + cc -B. -o out/test/elf/x86_64/shared-abs-sym/exe2 -pie out/test/elf/x86_64/shared-abs-sym/c.o out/test/elf/x86_64/shared-abs-sym/a.so +257: + cc -o out/test/elf/x86_64/static-archive/b.o -c -xc - 257: + cat 243: + grep -q '[ms]old' -256: + grep -q __start_text -243: + ./mold -run /usr/bin/ld.gold --version -256: + readelf -sW out/test/elf/x86_64/start-stop/exe1 -256: + readelf -sW out/test/elf/x86_64/start-stop/exe1 -256: + grep -q __stop_text -256: + on_exit -256: + echo OK -256: OK -256: + exit 0 -247/369 Test #256: x86_64-start-stop ................................ Passed 0.16 sec +243: + ./mold -run out/test/elf/x86_64/run/sh out/test/elf/x86_64/run/ld.lld --version +243: + ./mold -run out/test/elf/x86_64/run/sh out/test/elf/x86_64/run/ld.gold --version +243: + grep -q '[ms]old' +243: + ./mold -run out/test/elf/x86_64/run/sh out/test/elf/x86_64/run/foo.ld --version +243: + grep -q '[ms]old' +243: + on_exit +243: + echo OK +243: OK +243: + exit 0 +247/369 Test #243: x86_64-run ....................................... Passed 0.91 sec test 259 Start 259: x86_64-stdout @@ -18460,25 +18506,6 @@ 259: MACHINE=x86_64 259: CPU= 259: Test timeout computed to be: 1500 -253: + grep -q 'Hello world' -253: + out/test/elf/x86_64/spare-program-headers/exe4 -248: + LD_PRELOAD=out/test/elf/x86_64/shared-abs-sym/b.so -248: + out/test/elf/x86_64/shared-abs-sym/exe3 -248: + on_exit -248: + echo OK -248: OK -248: + exit 0 -253: ++ grep NULL -248/369 Test #248: x86_64-shared-abs-sym ............................ Passed 0.43 sec -test 260 - Start 260: x86_64-strip-debug - -260: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/strip-debug.sh" -260: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -260: Environment variables: -260: MACHINE=x86_64 -260: CPU= -260: Test timeout computed to be: 1500 259: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/stdout.sh 259: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 259: ++ export LC_ALL=C @@ -18499,38 +18526,42 @@ 259: ++ trap 'on_error $LINENO' ERR 259: ++ trap on_exit EXIT 259: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/stdout.sh .sh -243: + 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 -255: + out/test/elf/x86_64/start-stop-symbol/exe -255: + grep -q 'section foo section foo' -253: ++ readelf -Wl out/test/elf/x86_64/spare-program-headers/exe4 -253: ++ wc -l -243: + touch out/test/elf/x86_64/run/ld out/test/elf/x86_64/run/ld.lld out/test/elf/x86_64/run/ld.gold 259: ++ testname=stdout 259: ++ echo -n 'Testing stdout ... ' 259: Testing stdout ... ++ t=out/test/elf/x86_64/stdout 259: ++ mkdir -p out/test/elf/x86_64/stdout -255: + 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 -243: + echo '#!/bin/sh' -243: + 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 -253: + '[' 5 -eq 5 ']' -253: + on_exit -253: + echo OK -253: OK -253: + exit 0 -249/369 Test #253: x86_64-spare-program-headers ..................... Passed 0.35 sec -test 261 - Start 261: x86_64-strip - -261: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/strip.sh" -261: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -261: Environment variables: -261: MACHINE=x86_64 -261: CPU= -261: Test timeout computed to be: 1500 259: + cat 259: + cc -o out/test/elf/x86_64/stdout/a.o -c -xc - +253: + grep -q 'Hello world' +253: + out/test/elf/x86_64/spare-program-headers/exe3 +253: ++ grep NULL +253: ++ readelf -Wl out/test/elf/x86_64/spare-program-headers/exe3 +255: + 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 +253: ++ wc -l +256: + readelf -sW out/test/elf/x86_64/start-stop/exe1 +256: + grep -q __start_text +253: + '[' 1 -eq 1 ']' +253: + cc -B. -o out/test/elf/x86_64/spare-program-headers/exe4 out/test/elf/x86_64/spare-program-headers/a.o -Wl,--spare-program-headers=5 +256: + grep -q __stop_text +256: + readelf -sW out/test/elf/x86_64/start-stop/exe1 +256: + on_exit +256: + echo OK +256: OK +256: + exit 0 +248/369 Test #256: x86_64-start-stop ................................ Passed 0.48 sec +test 260 + Start 260: x86_64-strip-debug + +260: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/strip-debug.sh" +260: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +260: Environment variables: +260: MACHINE=x86_64 +260: CPU= +260: Test timeout computed to be: 1500 +254: + nm out/test/elf/x86_64/start-lib/exe +227: + out/test/elf/x86_64/relocatable-many-sections/exe 260: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/strip-debug.sh -257: + rm -f out/test/elf/x86_64/static-archive/d.a +227: + grep -q Hello 260: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 260: ++ export LC_ALL=C 260: ++ LC_ALL=C @@ -18549,9 +18580,57 @@ 260: ++ tlsdesc_opt=-mtls-dialect=gnu2 260: ++ trap 'on_error $LINENO' ERR 260: ++ trap on_exit EXIT +248: + grep -q foo=0x3 +248: + out/test/elf/x86_64/shared-abs-sym/exe2 +254: + grep -q ' foo$' out/test/elf/x86_64/start-lib/log +260: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/strip-debug.sh .sh +227: + on_exit +227: + echo OK +227: OK +227: + exit 0 +249/369 Test #227: x86_64-relocatable-many-sections ................. Passed 1.66 sec +test 261 + Start 261: x86_64-strip + +261: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/strip.sh" +261: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +261: Environment variables: +261: MACHINE=x86_64 +261: CPU= +261: Test timeout computed to be: 1500 +260: ++ testname=strip-debug +260: ++ echo -n 'Testing strip-debug ... ' +260: Testing strip-debug ... ++ t=out/test/elf/x86_64/strip-debug +260: ++ mkdir -p out/test/elf/x86_64/strip-debug +260: + cc -o out/test/elf/x86_64/strip-debug/a.o -c -xc - -g +260: + cat +254: + grep -q ' bar$' out/test/elf/x86_64/start-lib/log +254: + on_exit +254: + echo OK +254: OK +254: + exit 0 +248: + LD_PRELOAD=out/test/elf/x86_64/shared-abs-sym/b.so +248: + out/test/elf/x86_64/shared-abs-sym/exe2 +248: + grep -q foo=0x5 +248: + cc -B. -o out/test/elf/x86_64/shared-abs-sym/exe3 -no-pie out/test/elf/x86_64/shared-abs-sym/c.o out/test/elf/x86_64/shared-abs-sym/a.so +250/369 Test #254: x86_64-start-lib ................................. Passed 0.67 sec +test 262 + Start 262: x86_64-stt-common + +262: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/stt-common.sh" +262: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +262: Environment variables: +262: MACHINE=x86_64 +262: CPU= +262: Test timeout computed to be: 1500 +190: + grep -Fq 'GLOBAL DEFAULT 100000' out/test/elf/x86_64/many-sections2/log2 +190: + grep -Fq 'ABS foo' out/test/elf/x86_64/many-sections2/log2 +190: + grep -Fq 'ABS x68966' out/test/elf/x86_64/many-sections2/log2 +190: + on_exit +190: + echo OK +190: OK +190: + exit 0 261: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/strip.sh -243: + ./mold -run out/test/elf/x86_64/run/ld --version -243: + grep -q '[ms]old' 261: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 261: ++ export LC_ALL=C 261: ++ LC_ALL=C @@ -18570,46 +18649,32 @@ 261: ++ tlsdesc_opt=-mtls-dialect=gnu2 261: ++ trap 'on_error $LINENO' ERR 261: ++ trap on_exit EXIT -257: + cd out/test/elf/x86_64/static-archive -257: + ar rcs d.a long-long-long-filename.o b.o -260: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/strip-debug.sh .sh -260: ++ testname=strip-debug -260: ++ echo -n 'Testing strip-debug ... ' -260: Testing strip-debug ... ++ t=out/test/elf/x86_64/strip-debug -260: ++ mkdir -p out/test/elf/x86_64/strip-debug -257: + 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 -254: + nm out/test/elf/x86_64/start-lib/exe 261: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/strip.sh .sh +259: + cc -B. -Wl,-build-id=sha1 out/test/elf/x86_64/stdout/a.o -o - +251/369 Test #190: x86_64-many-sections2 ............................ Passed 2.61 sec +test 263 + Start 263: x86_64-symbol-rank + +263: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/symbol-rank.sh" +263: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +263: Environment variables: +263: MACHINE=x86_64 +263: CPU= +263: Test timeout computed to be: 1500 261: ++ testname=strip 261: ++ echo -n 'Testing strip ... ' 261: Testing strip ... ++ t=out/test/elf/x86_64/strip 261: ++ mkdir -p out/test/elf/x86_64/strip -254: + grep -q ' foo$' out/test/elf/x86_64/start-lib/log 261: + cc -x assembler -c -o out/test/elf/x86_64/strip/a.o -Wa,-L - -261: + cat -260: + cat -260: + cc -o out/test/elf/x86_64/strip-debug/a.o -c -xc - -g -254: + grep -q ' bar$' out/test/elf/x86_64/start-lib/log -254: + on_exit -254: + echo OK -254: OK -254: + exit 0 -261: + ./mold -o out/test/elf/x86_64/strip/exe out/test/elf/x86_64/strip/a.o -250/369 Test #254: x86_64-start-lib ................................. Passed 0.29 sec -test 262 - Start 262: x86_64-stt-common - -262: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/stt-common.sh" -262: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -262: Environment variables: -262: MACHINE=x86_64 -262: CPU= -262: Test timeout computed to be: 1500 -243: + grep -q '[ms]old' -243: + ./mold -run out/test/elf/x86_64/run/ld.lld --version +253: + grep -q 'Hello world' +253: + out/test/elf/x86_64/spare-program-headers/exe4 +253: ++ wc -l 255: + out/test/elf/x86_64/start-stop-symbol/exe -262: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/stt-common.sh 255: + grep -q 'section foo section foo' +255: + 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 +257: + cat +257: + cc -o out/test/elf/x86_64/static-archive/c.o -c -xc - +262: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/stt-common.sh 262: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 262: ++ export LC_ALL=C 262: ++ LC_ALL=C @@ -18628,34 +18693,30 @@ 262: ++ tlsdesc_opt=-mtls-dialect=gnu2 262: ++ trap 'on_error $LINENO' ERR 262: ++ trap on_exit EXIT -259: + cc -B. -Wl,-build-id=sha1 out/test/elf/x86_64/stdout/a.o -o - -255: + on_exit -255: + echo OK -255: OK -255: + exit 0 -251/369 Test #255: x86_64-start-stop-symbol ......................... Passed 0.31 sec -test 263 - Start 263: x86_64-symbol-rank - -263: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/symbol-rank.sh" -263: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -263: Environment variables: -263: MACHINE=x86_64 -263: CPU= -263: Test timeout computed to be: 1500 +261: + cat +253: ++ grep NULL +253: ++ readelf -Wl out/test/elf/x86_64/spare-program-headers/exe4 262: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/stt-common.sh .sh 262: ++ testname=stt-common 262: ++ echo -n 'Testing stt-common ... ' 262: Testing stt-common ... ++ t=out/test/elf/x86_64/stt-common 262: ++ mkdir -p out/test/elf/x86_64/stt-common -261: + readelf --symbols out/test/elf/x86_64/strip/exe -261: + grep -Fq _start out/test/elf/x86_64/strip/log +253: + '[' 5 -eq 5 ']' +253: + on_exit +253: + echo OK +253: OK +253: + exit 0 +252/369 Test #253: x86_64-spare-program-headers ..................... Passed 0.82 sec +test 264 + Start 264: x86_64-symbol-version-lto + +264: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/symbol-version-lto.sh" +264: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +264: Environment variables: +264: MACHINE=x86_64 +264: CPU= +264: Test timeout computed to be: 1500 263: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/symbol-rank.sh -243: + ./mold -run out/test/elf/x86_64/run/ld.gold --version -262: + cat -261: + grep -Fq foo out/test/elf/x86_64/strip/log -243: + grep -q '[ms]old' -262: + cc -fcommon -xc -c -o out/test/elf/x86_64/stt-common/a.o - -Wa,--elf-stt-common=yes 263: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 263: ++ export LC_ALL=C 263: ++ LC_ALL=C @@ -18675,52 +18736,19 @@ 263: ++ trap 'on_error $LINENO' ERR 263: ++ trap on_exit EXIT 263: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/symbol-rank.sh .sh +262: + cc -fcommon -xc -c -o out/test/elf/x86_64/stt-common/a.o - -Wa,--elf-stt-common=yes +262: + cat 263: ++ testname=symbol-rank 263: ++ echo -n 'Testing symbol-rank ... ' 263: Testing symbol-rank ... ++ t=out/test/elf/x86_64/symbol-rank 263: ++ mkdir -p out/test/elf/x86_64/symbol-rank -261: + grep -Fq bar out/test/elf/x86_64/strip/log -261: + '[' x86_64 '!=' riscv32 ']' -261: + '[' x86_64 '!=' riscv64 ']' -261: + grep -Fq .L.baz out/test/elf/x86_64/strip/log -263: + cat -263: + cc -o out/test/elf/x86_64/symbol-rank/a.o -c -xc - -257: + grep -Fq 'static-archive/d.a(long-long-long-filename.o)' out/test/elf/x86_64/static-archive/log +248: + grep -q foo=0x3 +248: + out/test/elf/x86_64/shared-abs-sym/exe3 260: + cc -B. -o out/test/elf/x86_64/strip-debug/exe out/test/elf/x86_64/strip-debug/a.o -Wl,--strip-debug -258: + cat -258: + cc -o out/test/elf/x86_64/static-pie/a.o -c -xc - -fPIE -190: + readelf -WS out/test/elf/x86_64/many-sections2/b.o -257: + grep -Fq 'static-archive/d.a(b.o)' out/test/elf/x86_64/static-archive/log -261: + ./mold -o out/test/elf/x86_64/strip/exe out/test/elf/x86_64/strip/a.o -strip-all -243: + ./mold -run out/test/elf/x86_64/run/foo.ld --version -257: + grep -Fq static-archive/c.o out/test/elf/x86_64/static-archive/log -243: + grep -q '[ms]old' -257: + grep -q 8 -257: + out/test/elf/x86_64/static-archive/exe -257: + on_exit -257: + echo OK -257: OK -257: + exit 0 -252/369 Test #257: x86_64-static-archive ............................ Passed 0.28 sec -test 264 - Start 264: x86_64-symbol-version-lto - -264: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/symbol-version-lto.sh" -264: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -264: Environment variables: -264: MACHINE=x86_64 -264: CPU= -264: Test timeout computed to be: 1500 -243: + cat -243: + chmod 755 out/test/elf/x86_64/run/sh -261: + readelf --symbols out/test/elf/x86_64/strip/exe -262: + cat -262: + cc -fcommon -xc -c -o out/test/elf/x86_64/stt-common/b.o - -Wa,--elf-stt-common=yes -261: + grep -Fq _start out/test/elf/x86_64/strip/log -243: + grep -q '[ms]old' -243: + ./mold -run out/test/elf/x86_64/run/sh ld --version 264: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/symbol-version-lto.sh -261: + grep -Fq foo out/test/elf/x86_64/strip/log +261: + ./mold -o out/test/elf/x86_64/strip/exe out/test/elf/x86_64/strip/a.o +258: + cat +263: + cc -o out/test/elf/x86_64/symbol-rank/a.o -c -xc - 264: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 264: ++ export LC_ALL=C 264: ++ LC_ALL=C @@ -18739,24 +18767,21 @@ 264: ++ tlsdesc_opt=-mtls-dialect=gnu2 264: ++ trap 'on_error $LINENO' ERR 264: ++ trap on_exit EXIT -263: + cc -o out/test/elf/x86_64/symbol-rank/b.o -c -xc - -fcommon 264: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/symbol-version-lto.sh .sh -261: + grep -Fq bar out/test/elf/x86_64/strip/log +248: + grep -q foo=0x5 263: + cat +248: + LD_PRELOAD=out/test/elf/x86_64/shared-abs-sym/b.so +248: + out/test/elf/x86_64/shared-abs-sym/exe3 +258: + cc -o out/test/elf/x86_64/static-pie/a.o -c -xc - -fPIE 264: ++ testname=symbol-version-lto 264: ++ echo -n 'Testing symbol-version-lto ... ' 264: Testing symbol-version-lto ... ++ t=out/test/elf/x86_64/symbol-version-lto 264: ++ mkdir -p out/test/elf/x86_64/symbol-version-lto -260: + readelf -W --sections out/test/elf/x86_64/strip-debug/exe -261: + '[' x86_64 '!=' riscv32 ']' -261: + '[' x86_64 '!=' riscv64 ']' -261: + grep -Fq .L.baz out/test/elf/x86_64/strip/log -260: + grep -Fq .debug_info out/test/elf/x86_64/strip-debug/log -261: + on_exit -261: + echo OK -261: OK -261: + exit 0 -253/369 Test #261: x86_64-strip ..................................... Passed 0.13 sec +248: + on_exit +248: + echo OK +248: OK +248: + exit 0 +253/369 Test #248: x86_64-shared-abs-sym ............................ Passed 1.01 sec test 265 Start 265: x86_64-symbol-version @@ -18766,29 +18791,28 @@ 265: MACHINE=x86_64 265: CPU= 265: Test timeout computed to be: 1500 -264: + cat 264: + cc -fPIC -c -o out/test/elf/x86_64/symbol-version-lto/a.o -xc - -flto -258: + cc -B. -o out/test/elf/x86_64/static-pie/exe1 out/test/elf/x86_64/static-pie/a.o -static-pie +264: + cat 259: + chmod 755 out/test/elf/x86_64/stdout/exe 259: + grep -q 'Hello world' +261: + readelf --symbols out/test/elf/x86_64/strip/exe 259: + out/test/elf/x86_64/stdout/exe +261: + grep -Fq _start out/test/elf/x86_64/strip/log +265: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/symbol-version.sh 259: + on_exit 259: + echo OK 259: OK 259: + exit 0 -260: + readelf -W --symbols out/test/elf/x86_64/strip-debug/exe -260: + grep -q ' bar' -260: + on_exit -260: + echo OK -260: OK -260: + exit 0 -243: + ./mold -run out/test/elf/x86_64/run/sh foo.ld --version -243: + grep -q '[ms]old' -243: + grep -q '[ms]old' -243: + ./mold -run out/test/elf/x86_64/run/sh out/test/elf/x86_64/run/ld --version -251: + 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 -250: + 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 -265: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/symbol-version.sh +254/369 Test #259: x86_64-stdout .................................... Passed 0.21 sec +test 266 + Start 266: x86_64-symbol-version2 + +266: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/symbol-version2.sh" +266: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +266: Environment variables: +266: MACHINE=x86_64 +266: CPU= +266: Test timeout computed to be: 1500 265: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 265: ++ export LC_ALL=C 265: ++ LC_ALL=C @@ -18808,36 +18832,19 @@ 265: ++ trap 'on_error $LINENO' ERR 265: ++ trap on_exit EXIT 265: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/symbol-version.sh .sh -254/369 Test #259: x86_64-stdout .................................... Passed 0.19 sec -255/369 Test #260: x86_64-strip-debug ............................... Passed 0.18 sec -test 266 - Start 266: x86_64-symbol-version2 - -266: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/symbol-version2.sh" -266: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -266: Environment variables: -266: MACHINE=x86_64 -266: CPU= -266: Test timeout computed to be: 1500 -test 267 - Start 267: x86_64-symbol-version3 - -267: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/symbol-version3.sh" -267: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -267: Environment variables: -267: MACHINE=x86_64 -267: CPU= -267: Test timeout computed to be: 1500 265: ++ testname=symbol-version 265: ++ echo -n 'Testing symbol-version ... ' 265: Testing symbol-version ... ++ t=out/test/elf/x86_64/symbol-version 265: ++ mkdir -p out/test/elf/x86_64/symbol-version -265: + cc -fPIC -c -o out/test/elf/x86_64/symbol-version/a.o -xc - 265: + cat -263: + cat -263: + cc -o out/test/elf/x86_64/symbol-rank/c.o -c -xc - -262: + cc -B. -o out/test/elf/x86_64/stt-common/exe out/test/elf/x86_64/stt-common/a.o out/test/elf/x86_64/stt-common/b.o -Wl,--fatal-warnings +261: + grep -Fq foo out/test/elf/x86_64/strip/log +261: + grep -Fq bar out/test/elf/x86_64/strip/log +261: + '[' x86_64 '!=' riscv32 ']' +261: + '[' x86_64 '!=' riscv64 ']' +261: + grep -Fq .L.baz out/test/elf/x86_64/strip/log +265: + cc -fPIC -c -o out/test/elf/x86_64/symbol-version/a.o -xc - 266: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/symbol-version2.sh +261: + ./mold -o out/test/elf/x86_64/strip/exe out/test/elf/x86_64/strip/a.o -strip-all 266: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 266: ++ export LC_ALL=C 266: ++ LC_ALL=C @@ -18861,19 +18868,44 @@ 266: ++ echo -n 'Testing symbol-version2 ... ' 266: Testing symbol-version2 ... ++ t=out/test/elf/x86_64/symbol-version2 266: ++ mkdir -p out/test/elf/x86_64/symbol-version2 +266: + cc -o out/test/elf/x86_64/symbol-version2/a.o -c -xc - 264: + echo 'VER1 { foo; };' 264: + cc -B. -shared -o out/test/elf/x86_64/symbol-version-lto/c.so out/test/elf/x86_64/symbol-version-lto/a.o -Wl,--version-script=out/test/elf/x86_64/symbol-version-lto/b.ver -flto +257: + rm -f out/test/elf/x86_64/static-archive/d.a +261: + readelf --symbols out/test/elf/x86_64/strip/exe +255: + out/test/elf/x86_64/start-stop-symbol/exe +263: + cc -o out/test/elf/x86_64/symbol-rank/b.o -c -xc - -fcommon +266: + cat +255: + grep -q 'section foo section foo' +262: + cat +262: + cc -fcommon -xc -c -o out/test/elf/x86_64/stt-common/b.o - -Wa,--elf-stt-common=yes +263: + cat +261: + grep -Fq _start out/test/elf/x86_64/strip/log +260: + readelf -W --sections out/test/elf/x86_64/strip-debug/exe +258: + cc -B. -o out/test/elf/x86_64/static-pie/exe1 out/test/elf/x86_64/static-pie/a.o -static-pie +255: + on_exit +255: + echo OK +255: OK +255: + exit 0 +255/369 Test #255: x86_64-start-stop-symbol ......................... Passed 0.76 sec +test 267 + Start 267: x86_64-symbol-version3 + +267: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/symbol-version3.sh" +267: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +267: Environment variables: +267: MACHINE=x86_64 +267: CPU= +267: Test timeout computed to be: 1500 +257: + cd out/test/elf/x86_64/static-archive +257: + ar rcs d.a long-long-long-filename.o b.o 267: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/symbol-version3.sh -266: + cc -o out/test/elf/x86_64/symbol-version2/a.o -c -xc - 267: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 267: ++ export LC_ALL=C 267: ++ LC_ALL=C -243: + ./mold -run out/test/elf/x86_64/run/sh out/test/elf/x86_64/run/ld.lld --version 267: ++ '[' -z x86_64 ']' -266: + cat 267: ++ '[' -z '' ']' 267: ++ TESTDIR=out/test/elf/x86_64 -243: + grep -q '[ms]old' 267: ++ CC=cc 267: ++ CXX=c++ 267: ++ GCC=gcc @@ -18891,25 +18923,27 @@ 267: ++ echo -n 'Testing symbol-version3 ... ' 267: Testing symbol-version3 ... ++ t=out/test/elf/x86_64/symbol-version3 267: ++ mkdir -p out/test/elf/x86_64/symbol-version3 +261: + grep -Fq foo out/test/elf/x86_64/strip/log +260: + grep -Fq .debug_info out/test/elf/x86_64/strip-debug/log +257: + 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 +261: + grep -Fq bar out/test/elf/x86_64/strip/log +260: + grep -q ' bar' +260: + readelf -W --symbols out/test/elf/x86_64/strip-debug/exe +261: + '[' x86_64 '!=' riscv32 ']' +261: + '[' x86_64 '!=' riscv64 ']' +261: + grep -Fq .L.baz out/test/elf/x86_64/strip/log 267: + cat 267: + cc -o out/test/elf/x86_64/symbol-version3/a.o -c -xc - -243: + grep -q '[ms]old' -263: + cc -o out/test/elf/x86_64/symbol-rank/d.o -c -xc - -fcommon -263: + cat -262: + out/test/elf/x86_64/stt-common/exe -243: + ./mold -run out/test/elf/x86_64/run/sh out/test/elf/x86_64/run/ld.gold --version -251: + out/test/elf/x86_64/shuffle-sections/exe1 -262: + grep -q '0 5 42' -251: + grep -q 'Hello world' -264: mold: warning: out/test/elf/x86_64/symbol-version-lto/b.ver: cannot assign version `VER1` to symbol `foo`: symbol not found -262: + readelf --sections out/test/elf/x86_64/stt-common/exe -251: + 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 -262: + grep -q '.common .*NOBITS' out/test/elf/x86_64/stt-common/log -262: + on_exit -262: + echo OK -262: OK -262: + exit 0 -256/369 Test #262: x86_64-stt-common ................................ Passed 0.19 sec +261: + on_exit +261: + echo OK +261: OK +261: + exit 0 +260: + on_exit +260: + echo OK +260: OK +260: + exit 0 +256/369 Test #260: x86_64-strip-debug ............................... Passed 0.29 sec +257/369 Test #261: x86_64-strip ..................................... Passed 0.28 sec test 268 Start 268: x86_64-symbol-version4 @@ -18919,20 +18953,24 @@ 268: MACHINE=x86_64 268: CPU= 268: Test timeout computed to be: 1500 -243: + ./mold -run out/test/elf/x86_64/run/sh out/test/elf/x86_64/run/foo.ld --version -243: + grep -q '[ms]old' -250: + out/test/elf/x86_64/shuffle-sections-seed/exe1 -250: + grep -q 'Hello world' -266: + cat -265: + echo 'VER1 { local: *; }; VER2 { local: *; }; VER3 { local: *; };' -265: + 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 -266: + 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 -250: + 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 -267: + cat +test 269 + Start 269: x86_64-symtab-dso + +269: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/symtab-dso.sh" +269: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +269: Environment variables: +269: MACHINE=x86_64 +269: CPU= +269: Test timeout computed to be: 1500 268: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/symbol-version4.sh +269: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/symtab-dso.sh 268: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 268: ++ export LC_ALL=C 268: ++ LC_ALL=C +269: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc +269: ++ export LC_ALL=C +269: ++ LC_ALL=C +269: ++ '[' -z x86_64 ']' 268: ++ '[' -z x86_64 ']' 268: ++ '[' -z '' ']' 268: ++ TESTDIR=out/test/elf/x86_64 @@ -18946,42 +18984,8 @@ 268: ++ QEMU= 268: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 268: ++ tlsdesc_opt=-mtls-dialect=gnu2 -258: + out/test/elf/x86_64/static-pie/exe1 268: ++ trap 'on_error $LINENO' ERR 268: ++ trap on_exit EXIT -258: + grep -q 'Hello world' -268: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/symbol-version4.sh .sh -267: + 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 -268: ++ testname=symbol-version4 -268: ++ echo -n 'Testing symbol-version4 ... ' -268: Testing symbol-version4 ... ++ t=out/test/elf/x86_64/symbol-version4 -268: ++ mkdir -p out/test/elf/x86_64/symbol-version4 -258: + 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 -190: + grep -Fq .data.100000 out/test/elf/x86_64/many-sections2/log1 -268: + cc -o out/test/elf/x86_64/symbol-version4/a.o -c -xc - -fPIC -268: + cat -263: + rm -f out/test/elf/x86_64/symbol-rank/x.a -243: + on_exit -243: + echo OK -243: OK -243: + exit 0 -257/369 Test #243: x86_64-run ....................................... Passed 0.84 sec -test 269 - Start 269: x86_64-symtab-dso - -269: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/symtab-dso.sh" -269: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -269: Environment variables: -269: MACHINE=x86_64 -269: CPU= -269: Test timeout computed to be: 1500 -190: + readelf -Ws out/test/elf/x86_64/many-sections2/b.o -263: + 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 -269: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/symtab-dso.sh -269: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc -269: ++ export LC_ALL=C -269: ++ LC_ALL=C -269: ++ '[' -z x86_64 ']' 269: ++ '[' -z '' ']' 269: ++ TESTDIR=out/test/elf/x86_64 269: ++ CC=cc @@ -18997,25 +19001,39 @@ 269: ++ trap 'on_error $LINENO' ERR 269: ++ trap on_exit EXIT 269: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/symtab-dso.sh .sh -266: + readelf -W --dyn-syms out/test/elf/x86_64/symbol-version2/c.so +268: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/symbol-version4.sh .sh +268: ++ testname=symbol-version4 +268: ++ echo -n 'Testing symbol-version4 ... ' +268: Testing symbol-version4 ... ++ t=out/test/elf/x86_64/symbol-version4 +268: ++ mkdir -p out/test/elf/x86_64/symbol-version4 269: ++ testname=symtab-dso 269: ++ echo -n 'Testing symtab-dso ... ' 269: Testing symtab-dso ... ++ t=out/test/elf/x86_64/symtab-dso 269: ++ mkdir -p out/test/elf/x86_64/symtab-dso -251: + out/test/elf/x86_64/shuffle-sections/exe2 -251: + grep -q 'Hello world' -265: + readelf --symbols out/test/elf/x86_64/symbol-version/c.so -251: + diff out/test/elf/x86_64/shuffle-sections/exe1 out/test/elf/x86_64/shuffle-sections/exe2 -263: + 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 -266: + grep -q ' foo@TEST' out/test/elf/x86_64/symbol-version2/log -265: + grep -Fq foo@VER1 out/test/elf/x86_64/symbol-version/log +268: + cc -o out/test/elf/x86_64/symbol-version4/a.o -c -xc - -fPIC +268: + cat 269: + cc -o out/test/elf/x86_64/symtab-dso/a.o -c -xc - -266: + grep -q ' bar@TEST' out/test/elf/x86_64/symbol-version2/log -251: + on_exit -251: + echo OK -251: OK -251: + exit 0 -258/369 Test #251: x86_64-shuffle-sections .......................... Passed 0.68 sec +263: + cat +263: + cc -o out/test/elf/x86_64/symbol-rank/c.o -c -xc - +265: + echo 'VER1 { local: *; }; VER2 { local: *; }; VER3 { local: *; };' +265: + 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 +266: + cat +269: + cat +264: mold: warning: out/test/elf/x86_64/symbol-version-lto/b.ver: cannot assign version `VER1` to symbol `foo`: symbol not found +266: + 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 +262: + cc -B. -o out/test/elf/x86_64/stt-common/exe out/test/elf/x86_64/stt-common/a.o out/test/elf/x86_64/stt-common/b.o -Wl,--fatal-warnings +257: + grep -Fq 'static-archive/d.a(long-long-long-filename.o)' out/test/elf/x86_64/static-archive/log +257: + grep -Fq 'static-archive/d.a(b.o)' out/test/elf/x86_64/static-archive/log +257: + grep -Fq static-archive/c.o out/test/elf/x86_64/static-archive/log +257: + out/test/elf/x86_64/static-archive/exe +257: + grep -q 8 +257: + on_exit +257: + echo OK +257: OK +257: + exit 0 +267: + cat +250: + 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 +258/369 Test #257: x86_64-static-archive ............................ Passed 0.82 sec test 270 Start 270: x86_64-symtab-section-symbols @@ -19025,30 +19043,6 @@ 270: MACHINE=x86_64 270: CPU= 270: Test timeout computed to be: 1500 -269: + cat -250: + grep -q 'Hello world' -250: + out/test/elf/x86_64/shuffle-sections-seed/exe2 -250: + 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 -267: + readelf -W --dyn-syms out/test/elf/x86_64/symbol-version3/c.so -267: + grep -q ' foo@@TEST1' out/test/elf/x86_64/symbol-version3/log -266: + grep -q ' bar1' out/test/elf/x86_64/symbol-version2/log -266: + grep -q ' foo@@TEST' out/test/elf/x86_64/symbol-version2/log -265: + grep -Fq foo@VER2 out/test/elf/x86_64/symbol-version/log -266: + on_exit -266: + echo OK -266: OK -266: + exit 0 -259/369 Test #266: x86_64-symbol-version2 ........................... Passed 0.16 sec -test 271 - Start 271: x86_64-symtab - -271: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/symtab.sh" -271: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -271: Environment variables: -271: MACHINE=x86_64 -271: CPU= -271: Test timeout computed to be: 1500 -267: + grep -q ' foo@TEST2' out/test/elf/x86_64/symbol-version3/log 270: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/symtab-section-symbols.sh 270: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 270: ++ export LC_ALL=C @@ -19068,45 +19062,54 @@ 270: ++ tlsdesc_opt=-mtls-dialect=gnu2 270: ++ trap 'on_error $LINENO' ERR 270: ++ trap on_exit EXIT -267: + grep -q ' foo@TEST3' out/test/elf/x86_64/symbol-version3/log -271: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/symtab.sh -265: + grep -Fq foo@@VER3 out/test/elf/x86_64/symbol-version/log -268: + cat 270: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/symtab-section-symbols.sh .sh -271: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc -271: ++ export LC_ALL=C -271: ++ LC_ALL=C -271: ++ '[' -z x86_64 ']' -267: + grep -q ' foo$' out/test/elf/x86_64/symbol-version3/log 270: ++ testname=symtab-section-symbols 270: ++ echo -n 'Testing symtab-section-symbols ... ' 270: Testing symtab-section-symbols ... ++ t=out/test/elf/x86_64/symtab-section-symbols 270: ++ mkdir -p out/test/elf/x86_64/symtab-section-symbols -268: + cc -B. -o out/test/elf/x86_64/symbol-version4/c.so -shared out/test/elf/x86_64/symbol-version4/a.o -Wl,--version-script=out/test/elf/x86_64/symbol-version4/b.version -271: ++ '[' -z '' ']' -271: ++ TESTDIR=out/test/elf/x86_64 -271: ++ CC=cc -271: ++ CXX=c++ -271: ++ GCC=gcc -271: ++ GXX=g++ -271: ++ OBJDUMP=objdump -271: ++ OBJCOPY=objcopy -271: ++ STRIP=strip -271: ++ QEMU= -271: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' -271: ++ tlsdesc_opt=-mtls-dialect=gnu2 -271: ++ trap 'on_error $LINENO' ERR -271: ++ trap on_exit EXIT +270: + cc -o out/test/elf/x86_64/symtab-section-symbols/a.o -c -xc - +270: + cat +267: + 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 +266: + readelf -W --dyn-syms out/test/elf/x86_64/symbol-version2/c.so +262: + grep -q '0 5 42' +262: + out/test/elf/x86_64/stt-common/exe +265: + readelf --symbols out/test/elf/x86_64/symbol-version/c.so +258: + out/test/elf/x86_64/static-pie/exe1 +258: + grep -q 'Hello world' +262: + readelf --sections out/test/elf/x86_64/stt-common/exe +266: + grep -q ' foo@TEST' out/test/elf/x86_64/symbol-version2/log +258: + 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 +265: + grep -Fq foo@VER1 out/test/elf/x86_64/symbol-version/log +266: + grep -q ' bar@TEST' out/test/elf/x86_64/symbol-version2/log +262: + grep -q '.common .*NOBITS' out/test/elf/x86_64/stt-common/log +265: + grep -Fq foo@VER2 out/test/elf/x86_64/symbol-version/log +266: + grep -q ' bar1' out/test/elf/x86_64/symbol-version2/log +262: + on_exit +262: + echo OK +262: OK +262: + exit 0 +265: + grep -Fq foo@@VER3 out/test/elf/x86_64/symbol-version/log +259/369 Test #262: x86_64-stt-common ................................ Passed 0.39 sec +test 271 + Start 271: x86_64-symtab + +271: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/symtab.sh" +271: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +271: Environment variables: +271: MACHINE=x86_64 +271: CPU= +271: Test timeout computed to be: 1500 +266: + grep -q ' foo@@TEST' out/test/elf/x86_64/symbol-version2/log +266: + on_exit +266: + echo OK +266: OK +266: + exit 0 265: + on_exit 265: + echo OK 265: OK 265: + exit 0 -270: + cat -267: + on_exit -267: + echo OK -267: OK -267: + exit 0 -260/369 Test #265: x86_64-symbol-version ............................ Passed 0.19 sec +260/369 Test #265: x86_64-symbol-version ............................ Passed 0.33 sec +261/369 Test #266: x86_64-symbol-version2 ........................... Passed 0.28 sec test 272 Start 272: x86_64-synthetic-symbols @@ -19116,15 +19119,6 @@ 272: MACHINE=x86_64 272: CPU= 272: Test timeout computed to be: 1500 -270: + cc -o out/test/elf/x86_64/symtab-section-symbols/a.o -c -xc - -271: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/symtab.sh .sh -271: ++ testname=symtab -271: ++ echo -n 'Testing symtab ... ' -271: Testing symtab ... ++ t=out/test/elf/x86_64/symtab -271: ++ mkdir -p out/test/elf/x86_64/symtab -271: + cat -264: + readelf --symbols out/test/elf/x86_64/symbol-version-lto/c.so -261/369 Test #267: x86_64-symbol-version3 ........................... Passed 0.18 sec test 273 Start 273: x86_64-sysroot-linker-script @@ -19134,7 +19128,30 @@ 273: MACHINE=x86_64 273: CPU= 273: Test timeout computed to be: 1500 -271: + cc -o out/test/elf/x86_64/symtab/a.o -c -x assembler - +271: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/symtab.sh +271: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc +271: ++ export LC_ALL=C +271: ++ LC_ALL=C +271: ++ '[' -z x86_64 ']' +271: ++ '[' -z '' ']' +271: ++ TESTDIR=out/test/elf/x86_64 +271: ++ CC=cc +271: ++ CXX=c++ +271: ++ GCC=gcc +271: ++ GXX=g++ +271: ++ OBJDUMP=objdump +271: ++ OBJCOPY=objcopy +271: ++ STRIP=strip +271: ++ QEMU= +271: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' +271: ++ tlsdesc_opt=-mtls-dialect=gnu2 +271: ++ trap 'on_error $LINENO' ERR +271: ++ trap on_exit EXIT +271: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/symtab.sh .sh +271: ++ testname=symtab +271: ++ echo -n 'Testing symtab ... ' +271: Testing symtab ... ++ t=out/test/elf/x86_64/symtab +271: ++ mkdir -p out/test/elf/x86_64/symtab 272: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/synthetic-symbols.sh 272: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 272: ++ export LC_ALL=C @@ -19154,35 +19171,14 @@ 272: ++ tlsdesc_opt=-mtls-dialect=gnu2 272: ++ trap 'on_error $LINENO' ERR 272: ++ trap on_exit EXIT -264: + grep -Fq foo@@VER1 out/test/elf/x86_64/symbol-version-lto/log +271: + cat +271: + cc -o out/test/elf/x86_64/symtab/a.o -c -x assembler - 272: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/synthetic-symbols.sh .sh 273: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/sysroot-linker-script.sh -271: + cat -264: + on_exit -264: + echo OK -264: OK -264: + exit 0 272: ++ testname=synthetic-symbols 272: ++ echo -n 'Testing synthetic-symbols ... ' 272: Testing synthetic-symbols ... ++ t=out/test/elf/x86_64/synthetic-symbols 272: ++ mkdir -p out/test/elf/x86_64/synthetic-symbols -271: + cc -o out/test/elf/x86_64/symtab/b.o -c -x assembler - -262/369 Test #264: x86_64-symbol-version-lto ........................ Passed 0.26 sec -test 274 - Start 274: x86_64-sysroot - -274: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/sysroot.sh" -274: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -274: Environment variables: -274: MACHINE=x86_64 -274: CPU= -274: Test timeout computed to be: 1500 -272: + cc -c -o out/test/elf/x86_64/synthetic-symbols/a.o -xc - -250: + out/test/elf/x86_64/shuffle-sections-seed/exe3 -250: + grep -q 'Hello world' -250: + 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 -269: + cc -B. -o out/test/elf/x86_64/symtab-dso/exe out/test/elf/x86_64/symtab-dso/a.o -272: + cat 273: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 273: ++ export LC_ALL=C 273: ++ LC_ALL=C @@ -19202,33 +19198,57 @@ 273: ++ trap 'on_error $LINENO' ERR 273: ++ trap on_exit EXIT 273: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/sysroot-linker-script.sh .sh -271: + echo '{ local: module_local; global: *; };' -271: + ./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 -263: + grep -q '^0 0 0 5$' -258: + grep -q 'Hello world' -258: + out/test/elf/x86_64/static-pie/exe2 -263: + out/test/elf/x86_64/symbol-rank/exe -268: + cc -o out/test/elf/x86_64/symbol-version4/d.o -c -xc - -fPIC +272: + cat +273: ++ testname=sysroot-linker-script +273: ++ echo -n 'Testing sysroot-linker-script ... ' +273: Testing sysroot-linker-script ... ++ t=out/test/elf/x86_64/sysroot-linker-script +273: ++ mkdir -p out/test/elf/x86_64/sysroot-linker-script +272: + cc -c -o out/test/elf/x86_64/synthetic-symbols/a.o -xc - +273: + [[ x86_64 = loongarch* ]] +273: + cat +273: + cc -o out/test/elf/x86_64/sysroot-linker-script/a.o -c -xc - +271: + cat +271: + cc -o out/test/elf/x86_64/symtab/b.o -c -x assembler - +250: + grep -q 'Hello world' +250: + out/test/elf/x86_64/shuffle-sections-seed/exe1 +250: + 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 +271: + echo '{ local: module_local; global: *; };' +271: + ./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 +267: + readelf -W --dyn-syms out/test/elf/x86_64/symbol-version3/c.so +267: + grep -q ' foo@@TEST1' out/test/elf/x86_64/symbol-version3/log +271: mold: warning: entry symbol is not defined: _start +267: + grep -q ' foo@TEST2' out/test/elf/x86_64/symbol-version3/log +271: + readelf --symbols out/test/elf/x86_64/symtab/exe +267: + grep -q ' foo@TEST3' out/test/elf/x86_64/symbol-version3/log +271: + grep -Eq '0 NOTYPE LOCAL DEFAULT .* local1' out/test/elf/x86_64/symtab/log +267: + grep -q ' foo$' out/test/elf/x86_64/symbol-version3/log +271: + grep -Eq '0 NOTYPE LOCAL DEFAULT .* local2' out/test/elf/x86_64/symtab/log +267: + on_exit +267: + echo OK +267: OK +267: + exit 0 +262/369 Test #267: x86_64-symbol-version3 ........................... Passed 0.25 sec +test 274 + Start 274: x86_64-sysroot + +274: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/sysroot.sh" +274: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +274: Environment variables: +274: MACHINE=x86_64 +274: CPU= +274: Test timeout computed to be: 1500 +271: + grep -Eq '0 NOTYPE LOCAL DEFAULT .* module_local' out/test/elf/x86_64/symtab/log +271: + grep -Eq '0 NOTYPE GLOBAL DEFAULT .* foo' out/test/elf/x86_64/symtab/log +273: + mkdir -p out/test/elf/x86_64/sysroot-linker-script/foo/bar +272: + cc -c -o out/test/elf/x86_64/synthetic-symbols/b.o -xc - 268: + cat -273: ++ testname=sysroot-linker-script -273: ++ echo -n 'Testing sysroot-linker-script ... ' -273: Testing sysroot-linker-script ... ++ t=out/test/elf/x86_64/sysroot-linker-script -273: ++ mkdir -p out/test/elf/x86_64/sysroot-linker-script -258: + on_exit -258: + echo OK -258: OK -258: + exit 0 +272: + cat +269: + cc -B. -o out/test/elf/x86_64/symtab-dso/exe out/test/elf/x86_64/symtab-dso/a.o +263: + cat +263: + cc -o out/test/elf/x86_64/symbol-rank/d.o -c -xc - -fcommon +271: + grep -Eq '0 NOTYPE GLOBAL DEFAULT .* bar' out/test/elf/x86_64/symtab/log +271: + grep -Eq '0 NOTYPE GLOBAL DEFAULT .* this_is_global' out/test/elf/x86_64/symtab/log 274: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/sysroot.sh -263/369 Test #258: x86_64-static-pie ................................ Passed 0.54 sec -test 275 - Start 275: x86_64-sysroot2 - -275: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/sysroot2.sh" -275: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -275: Environment variables: -275: MACHINE=x86_64 -275: CPU= -275: Test timeout computed to be: 1500 274: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 274: ++ export LC_ALL=C 274: ++ LC_ALL=C @@ -19247,21 +19267,71 @@ 274: ++ tlsdesc_opt=-mtls-dialect=gnu2 274: ++ trap 'on_error $LINENO' ERR 274: ++ trap on_exit EXIT +271: + on_exit +271: + echo OK +271: OK +271: + exit 0 +263/369 Test #271: x86_64-symtab .................................... Passed 0.09 sec +test 275 + Start 275: x86_64-sysroot2 + +275: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/sysroot2.sh" +275: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +275: Environment variables: +275: MACHINE=x86_64 +275: CPU= +275: Test timeout computed to be: 1500 274: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/sysroot.sh .sh 274: ++ testname=sysroot 274: ++ echo -n 'Testing sysroot ... ' 274: Testing sysroot ... ++ t=out/test/elf/x86_64/sysroot 274: ++ mkdir -p out/test/elf/x86_64/sysroot -273: + [[ x86_64 = loongarch* ]] -273: + cat -273: + cc -o out/test/elf/x86_64/sysroot-linker-script/a.o -c -xc - -263: + on_exit -263: + echo OK -263: OK -263: + exit 0 -271: mold: warning: entry symbol is not defined: _start -271: + readelf --symbols out/test/elf/x86_64/symtab/exe -264/369 Test #263: x86_64-symbol-rank ............................... Passed 0.33 sec +274: + [[ x86_64 = loongarch* ]] +274: + cc -c -o out/test/elf/x86_64/sysroot/a.o -xc - +274: + cat +270: + cc -B. -o out/test/elf/x86_64/symtab-section-symbols/exe out/test/elf/x86_64/symtab-section-symbols/a.o +273: + rm -f out/test/elf/x86_64/sysroot-linker-script/foo/bar/libfoo.a +273: + ar rcs out/test/elf/x86_64/sysroot-linker-script/foo/bar/libfoo.a out/test/elf/x86_64/sysroot-linker-script/a.o +268: + cc -B. -o out/test/elf/x86_64/symbol-version4/c.so -shared out/test/elf/x86_64/symbol-version4/a.o -Wl,--version-script=out/test/elf/x86_64/symbol-version4/b.version +250: + grep -q 'Hello world' +250: + out/test/elf/x86_64/shuffle-sections-seed/exe2 +250: + 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 +275: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/sysroot2.sh +275: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc +275: ++ export LC_ALL=C +275: ++ LC_ALL=C +275: ++ '[' -z x86_64 ']' +275: ++ '[' -z '' ']' +275: ++ TESTDIR=out/test/elf/x86_64 +275: ++ CC=cc +275: ++ CXX=c++ +275: ++ GCC=gcc +275: ++ GXX=g++ +275: ++ OBJDUMP=objdump +275: ++ OBJCOPY=objcopy +275: ++ STRIP=strip +275: ++ QEMU= +275: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' +275: ++ tlsdesc_opt=-mtls-dialect=gnu2 +275: ++ trap 'on_error $LINENO' ERR +275: ++ trap on_exit EXIT +275: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/sysroot2.sh .sh +275: ++ testname=sysroot2 +275: ++ echo -n 'Testing sysroot2 ... ' +275: Testing sysroot2 ... ++ t=out/test/elf/x86_64/sysroot2 +275: ++ mkdir -p out/test/elf/x86_64/sysroot2 +275: + [[ x86_64 = loongarch* ]] +275: + mkdir -p out/test/elf/x86_64/sysroot2/bin out/test/elf/x86_64/sysroot2/sysroot/foo +258: + grep -q 'Hello world' +275: + cat +258: + out/test/elf/x86_64/static-pie/exe2 +258: + on_exit +258: + echo OK +258: OK +258: + exit 0 +275: + cat +264/369 Test #258: x86_64-static-pie ................................ Passed 0.81 sec +251: + 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 test 276 Start 276: x86_64-tail-call @@ -19271,14 +19341,9 @@ 276: MACHINE=x86_64 276: CPU= 276: Test timeout computed to be: 1500 -274: + [[ x86_64 = loongarch* ]] -275: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/sysroot2.sh -274: + cat -270: + cc -B. -o out/test/elf/x86_64/symtab-section-symbols/exe out/test/elf/x86_64/symtab-section-symbols/a.o +275: + cat +275: + cc -c -o out/test/elf/x86_64/sysroot2/sysroot/foo/x.o -xc - 276: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tail-call.sh -272: + cc -c -o out/test/elf/x86_64/synthetic-symbols/b.o -xc - -272: + cat -274: + cc -c -o out/test/elf/x86_64/sysroot/a.o -xc - 276: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 276: ++ export LC_ALL=C 276: ++ LC_ALL=C @@ -19297,55 +19362,24 @@ 276: ++ tlsdesc_opt=-mtls-dialect=gnu2 276: ++ trap 'on_error $LINENO' ERR 276: ++ trap on_exit EXIT -271: + grep -Eq '0 NOTYPE LOCAL DEFAULT .* local1' out/test/elf/x86_64/symtab/log -275: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc -275: ++ export LC_ALL=C -275: ++ LC_ALL=C -275: ++ '[' -z x86_64 ']' -275: ++ '[' -z '' ']' -275: ++ TESTDIR=out/test/elf/x86_64 -275: ++ CC=cc -275: ++ CXX=c++ -275: ++ GCC=gcc -275: ++ GXX=g++ -275: ++ OBJDUMP=objdump -275: ++ OBJCOPY=objcopy -275: ++ STRIP=strip -275: ++ QEMU= -275: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' -275: ++ tlsdesc_opt=-mtls-dialect=gnu2 -275: ++ trap 'on_error $LINENO' ERR -275: ++ trap on_exit EXIT -271: + grep -Eq '0 NOTYPE LOCAL DEFAULT .* local2' out/test/elf/x86_64/symtab/log 276: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tail-call.sh .sh 276: ++ testname=tail-call 276: ++ echo -n 'Testing tail-call ... ' 276: Testing tail-call ... ++ t=out/test/elf/x86_64/tail-call 276: ++ mkdir -p out/test/elf/x86_64/tail-call -275: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/sysroot2.sh .sh -271: + grep -Eq '0 NOTYPE LOCAL DEFAULT .* module_local' out/test/elf/x86_64/symtab/log -275: ++ testname=sysroot2 -275: ++ echo -n 'Testing sysroot2 ... ' -275: Testing sysroot2 ... ++ t=out/test/elf/x86_64/sysroot2 -275: ++ mkdir -p out/test/elf/x86_64/sysroot2 -276: + cc -O2 -o out/test/elf/x86_64/tail-call/a.o -c -xc - -250: + grep -q 'Hello world' -276: + cat -250: + out/test/elf/x86_64/shuffle-sections-seed/exe4 -275: + [[ x86_64 = loongarch* ]] -275: + mkdir -p out/test/elf/x86_64/sysroot2/bin out/test/elf/x86_64/sysroot2/sysroot/foo -250: + diff out/test/elf/x86_64/shuffle-sections-seed/exe1 out/test/elf/x86_64/shuffle-sections-seed/exe2 -250: + diff out/test/elf/x86_64/shuffle-sections-seed/exe2 out/test/elf/x86_64/shuffle-sections-seed/exe3 -271: + grep -Eq '0 NOTYPE GLOBAL DEFAULT .* foo' out/test/elf/x86_64/symtab/log 269: + nm out/test/elf/x86_64/symtab-dso/exe 269: + grep -q 'U puts$' -275: + cat -250: + diff out/test/elf/x86_64/shuffle-sections-seed/exe3 out/test/elf/x86_64/shuffle-sections-seed/exe4 -250: + on_exit -250: + echo OK -250: OK -250: + exit 0 -265/369 Test #250: x86_64-shuffle-sections-seed ..................... Passed 0.79 sec +270: + readelf -s out/test/elf/x86_64/symtab-section-symbols/exe +276: + cc -O2 -o out/test/elf/x86_64/tail-call/a.o -c -xc - +276: + cat +268: + cat +268: + cc -o out/test/elf/x86_64/symbol-version4/d.o -c -xc - -fPIC +270: + grep -q 'SECTION LOCAL DEFAULT' +269: + on_exit +269: + echo OK +269: OK +269: + exit 0 +265/369 Test #269: x86_64-symtab-dso ................................ Passed 0.31 sec test 277 Start 277: x86_64-tbss-only @@ -19355,22 +19389,15 @@ 277: MACHINE=x86_64 277: CPU= 277: Test timeout computed to be: 1500 -269: + on_exit -269: + echo OK -269: OK -269: + exit 0 -271: + grep -Eq '0 NOTYPE GLOBAL DEFAULT .* bar' out/test/elf/x86_64/symtab/log -271: + grep -Eq '0 NOTYPE GLOBAL DEFAULT .* this_is_global' out/test/elf/x86_64/symtab/log -271: + on_exit -271: + echo OK -271: OK -271: + exit 0 -275: + cat -275: + cat -275: + cc -c -o out/test/elf/x86_64/sysroot2/sysroot/foo/x.o -xc - -273: + mkdir -p out/test/elf/x86_64/sysroot-linker-script/foo/bar -266/369 Test #269: x86_64-symtab-dso ................................ Passed 0.16 sec -267/369 Test #271: x86_64-symtab .................................... Passed 0.10 sec +270: + on_exit +270: + echo OK +270: OK +270: + exit 0 +251: + out/test/elf/x86_64/shuffle-sections/exe1 +251: + grep -q 'Hello world' +250: + grep -q 'Hello world' +250: + out/test/elf/x86_64/shuffle-sections-seed/exe3 +266/369 Test #270: x86_64-symtab-section-symbols .................... Passed 0.20 sec test 278 Start 278: x86_64-thin-archive @@ -19380,17 +19407,8 @@ 278: MACHINE=x86_64 278: CPU= 278: Test timeout computed to be: 1500 -test 279 - Start 279: x86_64-thread-count - -279: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/thread-count.sh" -279: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -279: Environment variables: -279: MACHINE=x86_64 -279: CPU= -279: Test timeout computed to be: 1500 -273: + rm -f out/test/elf/x86_64/sysroot-linker-script/foo/bar/libfoo.a -273: + ar rcs out/test/elf/x86_64/sysroot-linker-script/foo/bar/libfoo.a out/test/elf/x86_64/sysroot-linker-script/a.o +251: + 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 +250: + 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 277: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tbss-only.sh 277: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 277: ++ export LC_ALL=C @@ -19411,11 +19429,10 @@ 277: ++ trap 'on_error $LINENO' ERR 277: ++ trap on_exit EXIT 277: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tbss-only.sh .sh -268: + cat -268: + cc -B. -o out/test/elf/x86_64/symbol-version4/f.so -shared out/test/elf/x86_64/symbol-version4/d.o out/test/elf/x86_64/symbol-version4/c.so -Wl,--version-script=out/test/elf/x86_64/symbol-version4/e.version -274: + cat -274: + cc -c -o out/test/elf/x86_64/sysroot/b.o -xc - -272: + 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 +277: ++ testname=tbss-only +277: ++ echo -n 'Testing tbss-only ... ' +277: Testing tbss-only ... ++ t=out/test/elf/x86_64/tbss-only +277: ++ mkdir -p out/test/elf/x86_64/tbss-only 278: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/thin-archive.sh 278: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 278: ++ export LC_ALL=C @@ -19435,26 +19452,85 @@ 278: ++ tlsdesc_opt=-mtls-dialect=gnu2 278: ++ trap 'on_error $LINENO' ERR 278: ++ trap on_exit EXIT -277: ++ testname=tbss-only -277: ++ echo -n 'Testing tbss-only ... ' -277: Testing tbss-only ... ++ t=out/test/elf/x86_64/tbss-only -277: ++ mkdir -p out/test/elf/x86_64/tbss-only -270: + readelf -s out/test/elf/x86_64/symtab-section-symbols/exe +277: + cat +277: + cc -o out/test/elf/x86_64/tbss-only/a.o -c -xc - 278: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/thin-archive.sh .sh -276: + cat -276: + cc -O2 -o out/test/elf/x86_64/tail-call/b.o -c -xc - 278: ++ testname=thin-archive 278: ++ echo -n 'Testing thin-archive ... ' 278: Testing thin-archive ... ++ t=out/test/elf/x86_64/thin-archive 278: ++ mkdir -p out/test/elf/x86_64/thin-archive -270: + grep -q 'SECTION LOCAL DEFAULT' +278: + cat +278: + cc -o out/test/elf/x86_64/thin-archive/long-long-long-filename.o -c -xc - 273: + cat +268: + cat +273: + cat +273: + cc -o out/test/elf/x86_64/sysroot-linker-script/c.o -c -xc - +263: + rm -f out/test/elf/x86_64/symbol-rank/x.a +272: + 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 +277: + cc -B. -o out/test/elf/x86_64/tbss-only/exe out/test/elf/x86_64/tbss-only/a.o +274: + cat +276: + cat +276: + cc -O2 -o out/test/elf/x86_64/tail-call/b.o -c -xc - +274: + cc -c -o out/test/elf/x86_64/sysroot/b.o -xc - +268: + cc -B. -o out/test/elf/x86_64/symbol-version4/f.so -shared out/test/elf/x86_64/symbol-version4/d.o out/test/elf/x86_64/symbol-version4/c.so -Wl,--version-script=out/test/elf/x86_64/symbol-version4/e.version +250: + grep -q 'Hello world' +250: + out/test/elf/x86_64/shuffle-sections-seed/exe4 +251: + grep -q 'Hello world' +250: + diff out/test/elf/x86_64/shuffle-sections-seed/exe1 out/test/elf/x86_64/shuffle-sections-seed/exe2 +263: + 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 +275: + cat +251: + out/test/elf/x86_64/shuffle-sections/exe2 +275: + cc -c -o out/test/elf/x86_64/sysroot2/sysroot/foo/y.o -xc - +264: + readelf --symbols out/test/elf/x86_64/symbol-version-lto/c.so +250: + diff out/test/elf/x86_64/shuffle-sections-seed/exe2 out/test/elf/x86_64/shuffle-sections-seed/exe3 +251: + diff out/test/elf/x86_64/shuffle-sections/exe1 out/test/elf/x86_64/shuffle-sections/exe2 +278: + cc -o out/test/elf/x86_64/thin-archive/b.o -c -xc - +250: + diff out/test/elf/x86_64/shuffle-sections-seed/exe3 out/test/elf/x86_64/shuffle-sections-seed/exe4 +251: + on_exit +251: + echo OK +251: OK +251: + exit 0 278: + cat +264: + grep -Fq foo@@VER1 out/test/elf/x86_64/symbol-version-lto/log +267/369 Test #251: x86_64-shuffle-sections .......................... Passed 1.53 sec +test 279 + Start 279: x86_64-thread-count + +279: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/thread-count.sh" +279: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +279: Environment variables: +279: MACHINE=x86_64 +279: CPU= +279: Test timeout computed to be: 1500 +264: + on_exit +264: + echo OK +264: OK +264: + exit 0 +250: + on_exit +250: + echo OK +250: OK +250: + exit 0 +268/369 Test #250: x86_64-shuffle-sections-seed ..................... Passed 1.56 sec +269/369 Test #264: x86_64-symbol-version-lto ........................ Passed 0.58 sec +test 280 + Start 280: x86_64-tls-alignment-multi + +280: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-alignment-multi.sh" +280: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +280: Environment variables: +280: MACHINE=x86_64 +280: CPU= +280: Test timeout computed to be: 1500 +test 281 + Start 281: x86_64-tls-common + +281: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-common.sh" +281: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +281: Environment variables: +281: MACHINE=x86_64 +281: CPU= +281: Test timeout computed to be: 1500 279: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/thread-count.sh -270: + on_exit -270: + echo OK -270: OK -270: + exit 0 279: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 279: ++ export LC_ALL=C 279: ++ LC_ALL=C @@ -19471,34 +19547,20 @@ 279: ++ QEMU= 279: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 279: ++ tlsdesc_opt=-mtls-dialect=gnu2 -268/369 Test #270: x86_64-symtab-section-symbols .................... Passed 0.14 sec -test 280 - Start 280: x86_64-tls-alignment-multi - -280: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-alignment-multi.sh" -280: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -280: Environment variables: -280: MACHINE=x86_64 -280: CPU= -280: Test timeout computed to be: 1500 279: ++ trap 'on_error $LINENO' ERR 279: ++ trap on_exit EXIT 279: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/thread-count.sh .sh -227: + cat -227: + cc -c -xc -o out/test/elf/x86_64/relocatable-many-sections/b.o - -277: + cat -277: + cc -o out/test/elf/x86_64/tbss-only/a.o -c -xc - -278: + cc -o out/test/elf/x86_64/thin-archive/long-long-long-filename.o -c -xc - -273: + cat -273: + cc -o out/test/elf/x86_64/sysroot-linker-script/c.o -c -xc - -280: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-alignment-multi.sh 279: ++ testname=thread-count 279: ++ echo -n 'Testing thread-count ... ' 279: Testing thread-count ... ++ t=out/test/elf/x86_64/thread-count 279: ++ mkdir -p out/test/elf/x86_64/thread-count +280: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-alignment-multi.sh +279: + cc -o out/test/elf/x86_64/thread-count/a.o -c -xc - +281: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-common.sh 280: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 280: ++ export LC_ALL=C 280: ++ LC_ALL=C +263: + 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 280: ++ '[' -z x86_64 ']' 280: ++ '[' -z '' ']' 280: ++ TESTDIR=out/test/elf/x86_64 @@ -19514,70 +19576,8 @@ 280: ++ tlsdesc_opt=-mtls-dialect=gnu2 280: ++ trap 'on_error $LINENO' ERR 280: ++ trap on_exit EXIT -279: + cat -279: + cc -o out/test/elf/x86_64/thread-count/a.o -c -xc - 280: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-alignment-multi.sh .sh -280: ++ testname=tls-alignment-multi -280: ++ echo -n 'Testing tls-alignment-multi ... ' -280: Testing tls-alignment-multi ... ++ t=out/test/elf/x86_64/tls-alignment-multi -280: ++ mkdir -p out/test/elf/x86_64/tls-alignment-multi -280: + cc -fPIC -c -o out/test/elf/x86_64/tls-alignment-multi/a.o -xc - -275: + cc -c -o out/test/elf/x86_64/sysroot2/sysroot/foo/y.o -xc - -275: + cat -280: + cat -274: + mkdir -p out/test/elf/x86_64/sysroot/foo/bar -274: + rm -f out/test/elf/x86_64/sysroot/foo/bar/libfoo.a -276: + cc -O2 -o out/test/elf/x86_64/tail-call/c.o -c -xc - -276: + cat -278: + cc -o out/test/elf/x86_64/thin-archive/b.o -c -xc - -273: + 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 -278: + cat -274: + 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 -277: + cc -B. -o out/test/elf/x86_64/tbss-only/exe out/test/elf/x86_64/tbss-only/a.o -274: + cc -c -o out/test/elf/x86_64/sysroot/c.o -xc - -274: + cat -190: + grep -Fq 'GLOBAL DEFAULT 100000' out/test/elf/x86_64/many-sections2/log2 -227: + ./mold -r -o out/test/elf/x86_64/relocatable-many-sections/c.o out/test/elf/x86_64/relocatable-many-sections/a.o out/test/elf/x86_64/relocatable-many-sections/b.o 272: + out/test/elf/x86_64/synthetic-symbols/exe -268: + cat -268: + cc -o out/test/elf/x86_64/symbol-version4/g.o -c -xc - -280: + cat -272: + grep -q '^__ehdr_start=0x40000$' out/test/elf/x86_64/synthetic-symbols/log -280: + cc -fPIC -c -o out/test/elf/x86_64/tls-alignment-multi/b.o -xc - -279: + cc -B. -o out/test/elf/x86_64/thread-count/exe out/test/elf/x86_64/thread-count/a.o -Wl,-no-threads -272: + grep -q '^__executable_start=0x40000$' out/test/elf/x86_64/synthetic-symbols/log -276: + 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 -272: + grep -q '^__dso_handle=' out/test/elf/x86_64/synthetic-symbols/log -190: + grep -Fq 'ABS foo' out/test/elf/x86_64/many-sections2/log2 -278: + cat -278: + cc -o out/test/elf/x86_64/thin-archive/c.o -c -xc - -272: + grep -q '^section foo$' out/test/elf/x86_64/synthetic-symbols/log -273: + on_exit -273: + echo OK -273: OK -273: + exit 0 -269/369 Test #273: x86_64-sysroot-linker-script ..................... Passed 0.20 sec -test 281 - Start 281: x86_64-tls-common - -281: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-common.sh" -281: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -281: Environment variables: -281: MACHINE=x86_64 -281: CPU= -281: Test timeout computed to be: 1500 -272: + cat -272: + cc -c -o out/test/elf/x86_64/synthetic-symbols/c.o -xc - -190: + grep -Fq 'ABS x68966' out/test/elf/x86_64/many-sections2/log2 -275: + cat -275: + cc -c -o out/test/elf/x86_64/sysroot2/c.o -xc - -274: + 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 -277: + out/test/elf/x86_64/tbss-only/exe -281: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-common.sh -277: + on_exit -277: + echo OK -277: OK -277: + exit 0 281: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 281: ++ export LC_ALL=C 281: ++ LC_ALL=C @@ -19596,6 +19596,31 @@ 281: ++ tlsdesc_opt=-mtls-dialect=gnu2 281: ++ trap 'on_error $LINENO' ERR 281: ++ trap on_exit EXIT +280: ++ testname=tls-alignment-multi +280: ++ echo -n 'Testing tls-alignment-multi ... ' +280: Testing tls-alignment-multi ... ++ t=out/test/elf/x86_64/tls-alignment-multi +280: ++ mkdir -p out/test/elf/x86_64/tls-alignment-multi +279: + cat +272: + grep -q '^__ehdr_start=0x40000$' out/test/elf/x86_64/synthetic-symbols/log +276: + cc -O2 -o out/test/elf/x86_64/tail-call/c.o -c -xc - +276: + cat +275: + cc -c -o out/test/elf/x86_64/sysroot2/c.o -xc - +280: + cat +280: + cc -fPIC -c -o out/test/elf/x86_64/tls-alignment-multi/a.o -xc - +272: + grep -q '^__executable_start=0x40000$' out/test/elf/x86_64/synthetic-symbols/log +275: + cat +277: + out/test/elf/x86_64/tbss-only/exe +281: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-common.sh .sh +272: + grep -q '^__dso_handle=' out/test/elf/x86_64/synthetic-symbols/log +273: + 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 +277: + on_exit +277: + echo OK +277: OK +277: + exit 0 +281: ++ testname=tls-common +281: ++ echo -n 'Testing tls-common ... ' +281: Testing tls-common ... ++ t=out/test/elf/x86_64/tls-common +281: ++ mkdir -p out/test/elf/x86_64/tls-common 270/369 Test #277: x86_64-tbss-only ................................. Passed 0.14 sec test 282 Start 282: x86_64-tls-df-static-tls @@ -19606,27 +19631,16 @@ 282: MACHINE=x86_64 282: CPU= 282: Test timeout computed to be: 1500 -281: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-common.sh .sh -281: ++ testname=tls-common -281: ++ echo -n 'Testing tls-common ... ' -281: Testing tls-common ... ++ t=out/test/elf/x86_64/tls-common -281: ++ mkdir -p out/test/elf/x86_64/tls-common +281: + cat 281: + gcc -o out/test/elf/x86_64/tls-common/a.o -c -xassembler - -190: + on_exit -190: + echo OK -190: OK -190: + exit 0 -271/369 Test #190: x86_64-many-sections2 ............................ Passed 3.05 sec -test 283 - Start 283: x86_64-tls-dso - -283: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-dso.sh" -283: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -283: Environment variables: -283: MACHINE=x86_64 -283: CPU= -283: Test timeout computed to be: 1500 +272: + grep -q '^section foo$' out/test/elf/x86_64/synthetic-symbols/log +278: + cat +278: + cc -o out/test/elf/x86_64/thin-archive/c.o -c -xc - +281: + cc -o out/test/elf/x86_64/tls-common/b.o -c -xc -std=c11 - 281: + cat +272: + cc -c -o out/test/elf/x86_64/synthetic-symbols/c.o -xc - +272: + cat +274: + mkdir -p out/test/elf/x86_64/sysroot/foo/bar 282: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-df-static-tls.sh 282: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 282: ++ export LC_ALL=C @@ -19646,10 +19660,34 @@ 282: ++ tlsdesc_opt=-mtls-dialect=gnu2 282: ++ trap 'on_error $LINENO' ERR 282: ++ trap on_exit EXIT -280: + cc -B. -shared -o out/test/elf/x86_64/tls-alignment-multi/a.so out/test/elf/x86_64/tls-alignment-multi/a.o +282: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-df-static-tls.sh .sh +282: ++ testname=tls-df-static-tls +282: ++ echo -n 'Testing tls-df-static-tls ... ' +282: Testing tls-df-static-tls ... ++ t=out/test/elf/x86_64/tls-df-static-tls +282: ++ mkdir -p out/test/elf/x86_64/tls-df-static-tls +274: + rm -f out/test/elf/x86_64/sysroot/foo/bar/libfoo.a +274: + 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 +268: + cat +268: + cc -o out/test/elf/x86_64/symbol-version4/g.o -c -xc - +282: + cc -fPIC -ftls-model=initial-exec -c -o out/test/elf/x86_64/tls-df-static-tls/a.o -xc - +282: + cat +263: + out/test/elf/x86_64/symbol-rank/exe +263: + grep -q '^0 0 0 5$' +263: + on_exit +263: + echo OK +263: OK +263: + exit 0 +271/369 Test #263: x86_64-symbol-rank ............................... Passed 0.70 sec +test 283 + Start 283: x86_64-tls-dso + +283: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-dso.sh" +283: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +283: Environment variables: +283: MACHINE=x86_64 +283: CPU= +283: Test timeout computed to be: 1500 283: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-dso.sh -268: + cc -B. -o out/test/elf/x86_64/symbol-version4/exe out/test/elf/x86_64/symbol-version4/g.o out/test/elf/x86_64/symbol-version4/f.so out/test/elf/x86_64/symbol-version4/c.so -281: + cc -o out/test/elf/x86_64/tls-common/b.o -c -xc -std=c11 - 283: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 283: ++ export LC_ALL=C 283: ++ LC_ALL=C @@ -19669,33 +19707,15 @@ 283: ++ trap 'on_error $LINENO' ERR 283: ++ trap on_exit EXIT 283: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-dso.sh .sh -281: + cat +273: + on_exit +273: + echo OK +273: OK +273: + exit 0 283: ++ testname=tls-dso 283: ++ echo -n 'Testing tls-dso ... ' 283: Testing tls-dso ... ++ t=out/test/elf/x86_64/tls-dso 283: ++ mkdir -p out/test/elf/x86_64/tls-dso -282: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-df-static-tls.sh .sh -282: ++ testname=tls-df-static-tls -282: ++ echo -n 'Testing tls-df-static-tls ... ' -282: Testing tls-df-static-tls ... ++ t=out/test/elf/x86_64/tls-df-static-tls -282: ++ mkdir -p out/test/elf/x86_64/tls-df-static-tls -283: + cc -fPIC -shared -o out/test/elf/x86_64/tls-dso/a.so -xc - -279: + cc -B. -o out/test/elf/x86_64/thread-count/exe out/test/elf/x86_64/thread-count/a.o -Wl,-thread-count=1 -275: + 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 -283: + cat -272: + 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 -282: + cat -282: + cc -fPIC -ftls-model=initial-exec -c -o out/test/elf/x86_64/tls-df-static-tls/a.o -xc - -278: + cat -278: + cc -o out/test/elf/x86_64/thin-archive/d.o -c -xc - -276: + out/test/elf/x86_64/tail-call/exe -276: + grep -q 42 -276: + '[' x86_64 = riscv32 -o x86_64 = riscv64 ']' -276: + on_exit -276: + echo OK -276: OK -276: + exit 0 -272/369 Test #276: x86_64-tail-call ................................. Passed 0.23 sec +272/369 Test #273: x86_64-sysroot-linker-script ..................... Passed 0.32 sec test 284 Start 284: x86_64-tls-gd-dlopen @@ -19705,7 +19725,8 @@ 284: MACHINE=x86_64 284: CPU= 284: Test timeout computed to be: 1500 -274: + 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 +283: + cat +283: + cc -fPIC -shared -o out/test/elf/x86_64/tls-dso/a.so -xc - 284: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-gd-dlopen.sh 284: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 284: ++ export LC_ALL=C @@ -19725,27 +19746,31 @@ 284: ++ tlsdesc_opt=-mtls-dialect=gnu2 284: ++ trap 'on_error $LINENO' ERR 284: ++ trap on_exit EXIT -280: + 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 -279: + cc -B. -o out/test/elf/x86_64/thread-count/exe out/test/elf/x86_64/thread-count/a.o -Wl,-threads 284: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-gd-dlopen.sh .sh 284: ++ testname=tls-gd-dlopen 284: ++ echo -n 'Testing tls-gd-dlopen ... ' 284: Testing tls-gd-dlopen ... ++ t=out/test/elf/x86_64/tls-gd-dlopen 284: ++ mkdir -p out/test/elf/x86_64/tls-gd-dlopen 284: + cat -278: + rm -f out/test/elf/x86_64/thin-archive/d.a 284: + gcc -fPIC -c -o out/test/elf/x86_64/tls-gd-dlopen/a.o -xc - -281: + 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 -278: + cd out/test/elf/x86_64/thin-archive -268: + grep -q 'foo bar' -268: + out/test/elf/x86_64/symbol-version4/exe -275: ++ realpath out/test/elf/x86_64/sysroot2 -268: + on_exit -268: + echo OK -268: OK -268: + exit 0 -278: ++ pwd -273/369 Test #268: x86_64-symbol-version4 ........................... Passed 0.42 sec +274: + cat +274: + cc -c -o out/test/elf/x86_64/sysroot/c.o -xc - +276: + 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 +279: + cc -B. -o out/test/elf/x86_64/thread-count/exe out/test/elf/x86_64/thread-count/a.o -Wl,-no-threads +278: + cat +278: + cc -o out/test/elf/x86_64/thin-archive/d.o -c -xc - +272: + 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 +282: + 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 +268: + cc -B. -o out/test/elf/x86_64/symbol-version4/exe out/test/elf/x86_64/symbol-version4/g.o out/test/elf/x86_64/symbol-version4/f.so out/test/elf/x86_64/symbol-version4/c.so +279: + cc -B. -o out/test/elf/x86_64/thread-count/exe out/test/elf/x86_64/thread-count/a.o -Wl,-thread-count=1 +276: + out/test/elf/x86_64/tail-call/exe +276: + grep -q 42 +276: + '[' x86_64 = riscv32 -o x86_64 = riscv64 ']' +276: + on_exit +276: + echo OK +276: OK +276: + exit 0 +273/369 Test #276: x86_64-tail-call ................................. Passed 0.24 sec test 285 Start 285: x86_64-tls-gd-noplt @@ -19755,13 +19780,6 @@ 285: MACHINE=x86_64 285: CPU= 285: Test timeout computed to be: 1500 -283: + cat -283: + cc -c -o out/test/elf/x86_64/tls-dso/b.o -xc - -278: + ar rcsT d.a long-long-long-filename.o b.o /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/out/test/elf/x86_64/thin-archive/c.o -278: + 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 -282: + 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 -275: + cc -B. -o out/test/elf/x86_64/sysroot2/exe -Wl,--sysroot=/build/reproducible-path/mold-2.31.0+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 -274: + 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 272: + out/test/elf/x86_64/synthetic-symbols/exe 285: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-gd-noplt.sh 285: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc @@ -19783,20 +19801,30 @@ 285: ++ trap 'on_error $LINENO' ERR 285: ++ trap on_exit EXIT 285: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-gd-noplt.sh .sh -279: + cc -B. -o out/test/elf/x86_64/thread-count/exe out/test/elf/x86_64/thread-count/a.o -Wl,-threads=1 -280: + out/test/elf/x86_64/tls-alignment-multi/exe -272: + grep -q '^end=foo$' out/test/elf/x86_64/synthetic-symbols/log 285: ++ testname=tls-gd-noplt 285: ++ echo -n 'Testing tls-gd-noplt ... ' 285: Testing tls-gd-noplt ... ++ t=out/test/elf/x86_64/tls-gd-noplt 285: ++ mkdir -p out/test/elf/x86_64/tls-gd-noplt -285: + gcc -fPIC -fno-plt -c -o out/test/elf/x86_64/tls-gd-noplt/a.o -xc - -280: + on_exit -280: + echo OK -280: OK -280: + exit 0 +272: + grep -q '^end=foo$' out/test/elf/x86_64/synthetic-symbols/log +272: + grep -q '^etext=foo$' out/test/elf/x86_64/synthetic-symbols/log +281: + 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 +275: + 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 +280: + cc -fPIC -c -o out/test/elf/x86_64/tls-alignment-multi/b.o -xc - 285: + cat -274/369 Test #280: x86_64-tls-alignment-multi ....................... Passed 0.22 sec +285: + gcc -fPIC -fno-plt -c -o out/test/elf/x86_64/tls-gd-noplt/a.o -xc - +268: + grep -q 'foo bar' +272: + grep -q '^edata=foo$' out/test/elf/x86_64/synthetic-symbols/log +280: + cat +268: + out/test/elf/x86_64/symbol-version4/exe +279: + cc -B. -o out/test/elf/x86_64/thread-count/exe out/test/elf/x86_64/thread-count/a.o -Wl,-threads +282: + grep -q STATIC_TLS +268: + on_exit +268: + echo OK +268: OK +268: + exit 0 +272: + grep -q '^__ehdr_start=0x40000$' out/test/elf/x86_64/synthetic-symbols/log +282: + readelf --dynamic out/test/elf/x86_64/tls-df-static-tls/b.so +274/369 Test #268: x86_64-symbol-version4 ........................... Passed 0.56 sec test 286 Start 286: x86_64-tls-gd-to-ie @@ -19806,12 +19834,24 @@ 286: MACHINE=x86_64 286: CPU= 286: Test timeout computed to be: 1500 -272: + grep -q '^etext=foo$' out/test/elf/x86_64/synthetic-symbols/log -272: + grep -q '^edata=foo$' out/test/elf/x86_64/synthetic-symbols/log -284: + cc -B. -shared -o out/test/elf/x86_64/tls-gd-dlopen/b.so out/test/elf/x86_64/tls-gd-dlopen/a.o -272: + grep -q '^__ehdr_start=0x40000$' out/test/elf/x86_64/synthetic-symbols/log 272: + grep -q '^__executable_start=0x40000$' out/test/elf/x86_64/synthetic-symbols/log -278: + grep -Eq 'thin-archive/d.a\(.*long-long-long-filename.o\)' out/test/elf/x86_64/thin-archive/log +272: + grep -q '^section foo$' out/test/elf/x86_64/synthetic-symbols/log +274: + 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 +282: + 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 +272: + on_exit +272: + echo OK +272: OK +272: + exit 0 +275/369 Test #272: x86_64-synthetic-symbols ......................... Passed 0.40 sec +test 287 + Start 287: x86_64-tls-gd + +287: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-gd.sh" +287: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +287: Environment variables: +287: MACHINE=x86_64 +287: CPU= +287: Test timeout computed to be: 1500 286: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-gd-to-ie.sh 286: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 286: ++ export LC_ALL=C @@ -19823,7 +19863,6 @@ 286: ++ CXX=c++ 286: ++ GCC=gcc 286: ++ GXX=g++ -272: + grep -q '^section foo$' out/test/elf/x86_64/synthetic-symbols/log 286: ++ OBJDUMP=objdump 286: ++ OBJCOPY=objcopy 286: ++ STRIP=strip @@ -19837,56 +19876,20 @@ 286: ++ echo -n 'Testing tls-gd-to-ie ... ' 286: Testing tls-gd-to-ie ... ++ t=out/test/elf/x86_64/tls-gd-to-ie 286: ++ mkdir -p out/test/elf/x86_64/tls-gd-to-ie -272: + on_exit -272: + echo OK -272: OK -272: + exit 0 -274: + 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 -275/369 Test #272: x86_64-synthetic-symbols ......................... Passed 0.36 sec -test 287 - Start 287: x86_64-tls-gd - -287: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-gd.sh" -287: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -287: Environment variables: -287: MACHINE=x86_64 -287: CPU= -287: Test timeout computed to be: 1500 -282: + grep -q STATIC_TLS -282: + readelf --dynamic out/test/elf/x86_64/tls-df-static-tls/b.so -282: + 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 -278: + grep -Eq 'thin-archive/d.a\(.*/b.o\)' out/test/elf/x86_64/thin-archive/log -286: + gcc -fPIC -c -o out/test/elf/x86_64/tls-gd-to-ie/a.o -xc - -278: + grep -Fq thin-archive/d.o out/test/elf/x86_64/thin-archive/log -286: + cat +278: + rm -f out/test/elf/x86_64/thin-archive/d.a +284: + cc -B. -shared -o out/test/elf/x86_64/tls-gd-dlopen/b.so out/test/elf/x86_64/tls-gd-dlopen/a.o +278: + cd out/test/elf/x86_64/thin-archive +278: ++ pwd +278: + ar rcsT d.a long-long-long-filename.o b.o /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu/out/test/elf/x86_64/thin-archive/c.o 287: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-gd.sh -278: + out/test/elf/x86_64/thin-archive/exe -278: + grep -q 15 +286: + gcc -fPIC -c -o out/test/elf/x86_64/tls-gd-to-ie/a.o -xc - +278: + 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 287: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc -278: + on_exit -278: + echo OK -278: OK 287: ++ export LC_ALL=C -278: + exit 0 287: ++ LC_ALL=C 287: ++ '[' -z x86_64 ']' -279: + cc -B. -o out/test/elf/x86_64/thread-count/exe out/test/elf/x86_64/thread-count/a.o -Wl,--threads=1 -275: + on_exit -275: + echo OK 287: ++ '[' -z '' ']' -275: OK -275: + exit 0 287: ++ TESTDIR=out/test/elf/x86_64 -276/369 Test #275: x86_64-sysroot2 .................................. Passed 0.33 sec -test 288 - Start 288: x86_64-tls-ie - -288: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-ie.sh" -288: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -288: Environment variables: -288: MACHINE=x86_64 -288: CPU= -288: Test timeout computed to be: 1500 287: ++ CC=cc 287: ++ CXX=c++ 287: ++ GCC=gcc @@ -19899,28 +19902,37 @@ 287: ++ tlsdesc_opt=-mtls-dialect=gnu2 287: ++ trap 'on_error $LINENO' ERR 287: ++ trap on_exit EXIT +286: + cat 287: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-gd.sh .sh -281: + readelf -WS out/test/elf/x86_64/tls-common/exe -281: + grep -Fq .tls_common -277/369 Test #278: x86_64-thin-archive .............................. Passed 0.29 sec -test 289 - Start 289: x86_64-tls-irregular-start-addr - -289: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-irregular-start-addr.sh" -289: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -289: Environment variables: -289: MACHINE=x86_64 -289: CPU= -289: Test timeout computed to be: 1500 287: ++ testname=tls-gd 287: ++ echo -n 'Testing tls-gd ... ' 287: Testing tls-gd ... ++ t=out/test/elf/x86_64/tls-gd 287: ++ mkdir -p out/test/elf/x86_64/tls-gd -281: + grep -q '^foo=0$' -281: + out/test/elf/x86_64/tls-common/exe +279: + cc -B. -o out/test/elf/x86_64/thread-count/exe out/test/elf/x86_64/thread-count/a.o -Wl,-threads=1 +282: + grep -q STATIC_TLS +283: + cc -c -o out/test/elf/x86_64/tls-dso/b.o -xc - +280: + cc -B. -shared -o out/test/elf/x86_64/tls-alignment-multi/a.so out/test/elf/x86_64/tls-alignment-multi/a.o +282: + readelf --dynamic out/test/elf/x86_64/tls-df-static-tls/c.so +283: + cat +282: + on_exit +282: + echo OK +282: OK +282: + exit 0 +287: + cat +287: + gcc -fPIC -c -o out/test/elf/x86_64/tls-gd/a.o -xc - +276/369 Test #282: x86_64-tls-df-static-tls ......................... Passed 0.17 sec +test 288 + Start 288: x86_64-tls-ie + +288: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-ie.sh" +288: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +288: Environment variables: +288: MACHINE=x86_64 +288: CPU= +288: Test timeout computed to be: 1500 +285: + cat +285: + gcc -fPIC -fno-plt -c -o out/test/elf/x86_64/tls-gd-noplt/b.o -xc - 288: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-ie.sh -289: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-irregular-start-addr.sh -283: + 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 288: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 288: ++ export LC_ALL=C 288: ++ LC_ALL=C @@ -19939,11 +19951,43 @@ 288: ++ tlsdesc_opt=-mtls-dialect=gnu2 288: ++ trap 'on_error $LINENO' ERR 288: ++ trap on_exit EXIT -287: + cat 288: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-ie.sh .sh +288: ++ testname=tls-ie +288: ++ echo -n 'Testing tls-ie ... ' +288: Testing tls-ie ... ++ t=out/test/elf/x86_64/tls-ie +288: ++ mkdir -p out/test/elf/x86_64/tls-ie +280: + 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 +288: + cat +288: + gcc -fPIC -c -o out/test/elf/x86_64/tls-ie/a.o -xc - +284: + gcc -fPIC -c -o out/test/elf/x86_64/tls-gd-dlopen/c.o -xc - +281: + grep -Fq .tls_common +275: ++ realpath out/test/elf/x86_64/sysroot2 +284: + cat +281: + readelf -WS out/test/elf/x86_64/tls-common/exe +275: + cc -B. -o out/test/elf/x86_64/sysroot2/exe -Wl,--sysroot=/build/reproducible-path/mold-2.31.0+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 +274: + 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 +281: + out/test/elf/x86_64/tls-common/exe +279: + cc -B. -o out/test/elf/x86_64/thread-count/exe out/test/elf/x86_64/thread-count/a.o -Wl,--threads=1 +281: + grep -q '^foo=0$' +281: + on_exit +281: + echo OK +281: OK +281: + exit 0 +277/369 Test #281: x86_64-tls-common ................................ Passed 0.33 sec +test 289 + Start 289: x86_64-tls-irregular-start-addr + +289: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-irregular-start-addr.sh" +289: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +289: Environment variables: +289: MACHINE=x86_64 +289: CPU= +289: Test timeout computed to be: 1500 +283: + 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 +289: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-irregular-start-addr.sh +278: + grep -Eq 'thin-archive/d.a\(.*long-long-long-filename.o\)' out/test/elf/x86_64/thin-archive/log 289: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 289: ++ export LC_ALL=C -287: + gcc -fPIC -c -o out/test/elf/x86_64/tls-gd/a.o -xc - 289: ++ LC_ALL=C 289: ++ '[' -z x86_64 ']' 289: ++ '[' -z '' ']' @@ -19960,16 +20004,20 @@ 289: ++ tlsdesc_opt=-mtls-dialect=gnu2 289: ++ trap 'on_error $LINENO' ERR 289: ++ trap on_exit EXIT -288: ++ testname=tls-ie 289: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-irregular-start-addr.sh .sh -288: ++ echo -n 'Testing tls-ie ... ' -288: Testing tls-ie ... ++ t=out/test/elf/x86_64/tls-ie -288: ++ mkdir -p out/test/elf/x86_64/tls-ie -281: + on_exit -281: + echo OK -281: OK -281: + exit 0 -278/369 Test #281: x86_64-tls-common ................................ Passed 0.18 sec +289: ++ testname=tls-irregular-start-addr +289: ++ echo -n 'Testing tls-irregular-start-addr ... ' +289: Testing tls-irregular-start-addr ... ++ t=out/test/elf/x86_64/tls-irregular-start-addr +289: ++ mkdir -p out/test/elf/x86_64/tls-irregular-start-addr +278: + grep -Eq 'thin-archive/d.a\(.*/b.o\)' out/test/elf/x86_64/thin-archive/log +285: + gcc -fPIC -fno-plt -c -o out/test/elf/x86_64/tls-gd-noplt/c.o -xc - +289: + cc -fPIC -c -o out/test/elf/x86_64/tls-irregular-start-addr/a.o -xc - +279: + on_exit +279: + echo OK +279: OK +279: + exit 0 +274: + 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 +278/369 Test #279: x86_64-thread-count .............................. Passed 0.45 sec test 290 Start 290: x86_64-tls-large-alignment @@ -19979,33 +20027,13 @@ 290: MACHINE=x86_64 290: CPU= 290: Test timeout computed to be: 1500 -289: ++ testname=tls-irregular-start-addr -289: ++ echo -n 'Testing tls-irregular-start-addr ... ' -289: Testing tls-irregular-start-addr ... ++ t=out/test/elf/x86_64/tls-irregular-start-addr -289: ++ mkdir -p out/test/elf/x86_64/tls-irregular-start-addr +285: + cat 289: + cat -289: + cc -fPIC -c -o out/test/elf/x86_64/tls-irregular-start-addr/a.o -xc - -284: + gcc -fPIC -c -o out/test/elf/x86_64/tls-gd-dlopen/c.o -xc - -284: + cat -274: + cc -B. -o out/test/elf/x86_64/sysroot/exe out/test/elf/x86_64/sysroot/c.o -lfoo -288: + cat -288: + gcc -fPIC -c -o out/test/elf/x86_64/tls-ie/a.o -xc - +278: + grep -Fq thin-archive/d.o out/test/elf/x86_64/thin-archive/log +278: + out/test/elf/x86_64/thin-archive/exe +278: + grep -q 15 290: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-large-alignment.sh 290: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc -279: + on_exit -279: + echo OK -279: OK -279: + exit 0 -279/369 Test #279: x86_64-thread-count .............................. Passed 0.30 sec -test 291 - Start 291: x86_64-tls-large-static-image - -291: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-large-static-image.sh" -291: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -291: Environment variables: -291: MACHINE=x86_64 -291: CPU= -291: Test timeout computed to be: 1500 290: ++ export LC_ALL=C 290: ++ LC_ALL=C 290: ++ '[' -z x86_64 ']' @@ -20021,21 +20049,64 @@ 290: ++ QEMU= 290: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 290: ++ tlsdesc_opt=-mtls-dialect=gnu2 +275: + on_exit +275: + echo OK +275: OK +275: + exit 0 290: ++ trap 'on_error $LINENO' ERR 290: ++ trap on_exit EXIT 290: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-large-alignment.sh .sh +278: + on_exit +278: + echo OK +278: OK +278: + exit 0 +279/369 Test #275: x86_64-sysroot2 .................................. Passed 0.60 sec +test 291 + Start 291: x86_64-tls-large-static-image + +291: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-large-static-image.sh" +291: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +291: Environment variables: +291: MACHINE=x86_64 +291: CPU= +291: Test timeout computed to be: 1500 290: ++ testname=tls-large-alignment 290: ++ echo -n 'Testing tls-large-alignment ... ' 290: Testing tls-large-alignment ... ++ t=out/test/elf/x86_64/tls-large-alignment 290: ++ mkdir -p out/test/elf/x86_64/tls-large-alignment 290: + cc -fPIC -std=c11 -c -o out/test/elf/x86_64/tls-large-alignment/a.o -xc - 290: + cat -285: + cat -285: + gcc -fPIC -fno-plt -c -o out/test/elf/x86_64/tls-gd-noplt/b.o -xc - -282: + readelf --dynamic out/test/elf/x86_64/tls-df-static-tls/c.so -282: + grep -q STATIC_TLS -286: + cat +280/369 Test #278: x86_64-thin-archive .............................. Passed 0.55 sec +288: + cc -B. -shared -o out/test/elf/x86_64/tls-ie/b.so out/test/elf/x86_64/tls-ie/a.o +280: + out/test/elf/x86_64/tls-alignment-multi/exe +280: + on_exit +280: + echo OK +280: OK +280: + exit 0 286: + cc -fPIC -c -o out/test/elf/x86_64/tls-gd-to-ie/b.o -xc - +286: + cat +287: + gcc -fPIC -c -o out/test/elf/x86_64/tls-gd/b.o -xc - +287: + cat +284: + cc -B. -o out/test/elf/x86_64/tls-gd-dlopen/exe out/test/elf/x86_64/tls-gd-dlopen/c.o -ldl +281/369 Test #280: x86_64-tls-alignment-multi ....................... Passed 0.47 sec +test 292 + Start 292: x86_64-tls-ld-noplt + +292: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-ld-noplt.sh" +292: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +292: Environment variables: +292: MACHINE=x86_64 +292: CPU= +292: Test timeout computed to be: 1500 +test 293 + Start 293: x86_64-tls-ld + +293: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-ld.sh" +293: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +293: Environment variables: +293: MACHINE=x86_64 +293: CPU= +293: Test timeout computed to be: 1500 291: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-large-static-image.sh 291: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 291: ++ export LC_ALL=C @@ -20055,47 +20126,30 @@ 291: ++ tlsdesc_opt=-mtls-dialect=gnu2 291: ++ trap 'on_error $LINENO' ERR 291: ++ trap on_exit EXIT -282: + on_exit -282: + echo OK -282: OK -282: + exit 0 -280/369 Test #282: x86_64-tls-df-static-tls ......................... Passed 0.19 sec -test 292 - Start 292: x86_64-tls-ld-noplt - -292: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-ld-noplt.sh" -292: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -292: Environment variables: -292: MACHINE=x86_64 -292: CPU= -292: Test timeout computed to be: 1500 291: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-large-static-image.sh .sh 291: ++ testname=tls-large-static-image 291: ++ echo -n 'Testing tls-large-static-image ... ' 291: Testing tls-large-static-image ... ++ t=out/test/elf/x86_64/tls-large-static-image 291: ++ mkdir -p out/test/elf/x86_64/tls-large-static-image -291: + cat 291: + cc -fPIC -c -o out/test/elf/x86_64/tls-large-static-image/a.o -xc - -274: + 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 -288: + cc -B. -shared -o out/test/elf/x86_64/tls-ie/b.so out/test/elf/x86_64/tls-ie/a.o +291: + cat +283: + out/test/elf/x86_64/tls-dso/exe +283: + grep -q '5 3 5 3 5 3' +283: + on_exit +283: + echo OK +283: OK +283: + exit 0 292: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-ld-noplt.sh -284: + cc -B. -o out/test/elf/x86_64/tls-gd-dlopen/exe out/test/elf/x86_64/tls-gd-dlopen/c.o -ldl -285: + cat -290: + cc -fPIC -std=c11 -c -o out/test/elf/x86_64/tls-large-alignment/b.o -xc - -290: + cat 292: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc -285: + gcc -fPIC -fno-plt -c -o out/test/elf/x86_64/tls-gd-noplt/c.o -xc - 292: ++ export LC_ALL=C 292: ++ LC_ALL=C 292: ++ '[' -z x86_64 ']' 292: ++ '[' -z '' ']' 292: ++ TESTDIR=out/test/elf/x86_64 292: ++ CC=cc -287: + cat 292: ++ CXX=c++ 292: ++ GCC=gcc 292: ++ GXX=g++ -287: + gcc -fPIC -c -o out/test/elf/x86_64/tls-gd/b.o -xc - 292: ++ OBJDUMP=objdump 292: ++ OBJCOPY=objcopy 292: ++ STRIP=strip @@ -20104,36 +20158,7 @@ 292: ++ tlsdesc_opt=-mtls-dialect=gnu2 292: ++ trap 'on_error $LINENO' ERR 292: ++ trap on_exit EXIT -292: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-ld-noplt.sh .sh -292: ++ testname=tls-ld-noplt -292: ++ echo -n 'Testing tls-ld-noplt ... ' -292: Testing tls-ld-noplt ... ++ t=out/test/elf/x86_64/tls-ld-noplt -292: ++ mkdir -p out/test/elf/x86_64/tls-ld-noplt -283: + out/test/elf/x86_64/tls-dso/exe -283: + grep -q '5 3 5 3 5 3' -283: + on_exit -283: + echo OK -283: OK -283: + exit 0 -292: + cat -292: + gcc -fPIC -ftls-model=local-dynamic -fno-plt -c -o out/test/elf/x86_64/tls-ld-noplt/a.o -xc - -281/369 Test #283: x86_64-tls-dso ................................... Passed 0.21 sec -test 293 - Start 293: x86_64-tls-ld - -293: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-ld.sh" -293: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -293: Environment variables: -293: MACHINE=x86_64 -293: CPU= -293: Test timeout computed to be: 1500 -274: + on_exit -274: + echo OK -274: OK -274: + exit 0 -289: + 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 -286: + 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 -282/369 Test #274: x86_64-sysroot ................................... Passed 0.43 sec +282/369 Test #283: x86_64-tls-dso ................................... Passed 0.41 sec test 294 Start 294: x86_64-tls-le-error @@ -20143,6 +20168,12 @@ 294: MACHINE=x86_64 294: CPU= 294: Test timeout computed to be: 1500 +292: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-ld-noplt.sh .sh +292: ++ testname=tls-ld-noplt +292: ++ echo -n 'Testing tls-ld-noplt ... ' +292: Testing tls-ld-noplt ... ++ t=out/test/elf/x86_64/tls-ld-noplt +292: ++ mkdir -p out/test/elf/x86_64/tls-ld-noplt +292: + gcc -fPIC -ftls-model=local-dynamic -fno-plt -c -o out/test/elf/x86_64/tls-ld-noplt/a.o -xc - 293: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-ld.sh 293: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 293: ++ export LC_ALL=C @@ -20167,18 +20198,18 @@ 293: ++ echo -n 'Testing tls-ld ... ' 293: Testing tls-ld ... ++ t=out/test/elf/x86_64/tls-ld 293: ++ mkdir -p out/test/elf/x86_64/tls-ld +293: + cat +292: + cat +293: + cc -fPIC -ftls-model=local-dynamic -c -o out/test/elf/x86_64/tls-ld/a.o -xc - +285: + cc -B. -shared -o out/test/elf/x86_64/tls-gd-noplt/d.so out/test/elf/x86_64/tls-gd-noplt/b.o +289: + 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 288: + cat 288: + gcc -c -o out/test/elf/x86_64/tls-ie/c.o -xc - -fPIC -291: + cat 294: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-le-error.sh -291: + cc -fPIC -c -o out/test/elf/x86_64/tls-large-static-image/b.o -xc - -293: + cat 294: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 294: ++ export LC_ALL=C 294: ++ LC_ALL=C 294: ++ '[' -z x86_64 ']' -287: + gcc -fPIC -c -o out/test/elf/x86_64/tls-gd/c.o -xc - -287: + cat 294: ++ '[' -z '' ']' 294: ++ TESTDIR=out/test/elf/x86_64 294: ++ CC=cc @@ -20193,26 +20224,28 @@ 294: ++ tlsdesc_opt=-mtls-dialect=gnu2 294: ++ trap 'on_error $LINENO' ERR 294: ++ trap on_exit EXIT -293: + cc -fPIC -ftls-model=local-dynamic -c -o out/test/elf/x86_64/tls-ld/a.o -xc - +290: + cc -fPIC -std=c11 -c -o out/test/elf/x86_64/tls-large-alignment/b.o -xc - +290: + cat +274: + 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 +291: + cat +291: + cc -fPIC -c -o out/test/elf/x86_64/tls-large-static-image/b.o -xc - +286: + 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 +287: + cat 294: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-le-error.sh .sh -285: + cc -B. -shared -o out/test/elf/x86_64/tls-gd-noplt/d.so out/test/elf/x86_64/tls-gd-noplt/b.o -284: + out/test/elf/x86_64/tls-gd-dlopen/exe out/test/elf/x86_64/tls-gd-dlopen/b.so +287: + gcc -fPIC -c -o out/test/elf/x86_64/tls-gd/c.o -xc - 294: ++ testname=tls-le-error 294: ++ echo -n 'Testing tls-le-error ... ' 294: Testing tls-le-error ... ++ t=out/test/elf/x86_64/tls-le-error 294: ++ mkdir -p out/test/elf/x86_64/tls-le-error -290: + cc -fPIC -c -o out/test/elf/x86_64/tls-large-alignment/c.o -xc - -290: + cat +294: + gcc -fPIC -c -o out/test/elf/x86_64/tls-le-error/a.o -xc - 284: + grep -q '3 0 5' -292: + cat 294: + cat -292: + gcc -fPIC -ftls-model=local-dynamic -fno-plt -c -o out/test/elf/x86_64/tls-ld-noplt/b.o -xc - -294: + gcc -fPIC -c -o out/test/elf/x86_64/tls-le-error/a.o -xc - +284: + out/test/elf/x86_64/tls-gd-dlopen/exe out/test/elf/x86_64/tls-gd-dlopen/b.so 284: + on_exit 284: + echo OK 284: OK 284: + exit 0 -283/369 Test #284: x86_64-tls-gd-dlopen ............................. Passed 0.20 sec +283/369 Test #284: x86_64-tls-gd-dlopen ............................. Passed 0.43 sec test 295 Start 295: x86_64-tls-le @@ -20222,9 +20255,7 @@ 295: MACHINE=x86_64 295: CPU= 295: Test timeout computed to be: 1500 -288: + 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 295: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-le.sh -292: + 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 295: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 295: ++ export LC_ALL=C 295: ++ LC_ALL=C @@ -20244,56 +20275,55 @@ 295: ++ trap 'on_error $LINENO' ERR 295: ++ trap on_exit EXIT 295: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-le.sh .sh -294: + cc -B. -shared -o out/test/elf/x86_64/tls-le-error/b.so out/test/elf/x86_64/tls-le-error/a.o 295: ++ testname=tls-le 295: ++ echo -n 'Testing tls-le ... ' 295: Testing tls-le ... ++ t=out/test/elf/x86_64/tls-le 295: ++ mkdir -p out/test/elf/x86_64/tls-le -291: + 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 -289: + grep -q '^42$' -286: + 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 -289: + out/test/elf/x86_64/tls-irregular-start-addr/exe1 -289: + 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 295: + cat 295: + gcc -fPIC -c -o out/test/elf/x86_64/tls-le/a.o -xc - +290: + cat +290: + cc -fPIC -c -o out/test/elf/x86_64/tls-large-alignment/c.o -xc - +285: + 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 293: + cat +291: + 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 +292: + cat +274: + cc -B. -o out/test/elf/x86_64/sysroot/exe out/test/elf/x86_64/sysroot/c.o -lfoo +289: + out/test/elf/x86_64/tls-irregular-start-addr/exe1 +288: + 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 +292: + gcc -fPIC -ftls-model=local-dynamic -fno-plt -c -o out/test/elf/x86_64/tls-ld-noplt/b.o -xc - +289: + grep -q '^42$' 293: + gcc -fPIC -ftls-model=local-dynamic -c -o out/test/elf/x86_64/tls-ld/b.o -xc - +289: + 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 +294: + cc -B. -shared -o out/test/elf/x86_64/tls-le-error/b.so out/test/elf/x86_64/tls-le-error/a.o +286: + 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 287: + cc -B. -shared -o out/test/elf/x86_64/tls-gd/d.so out/test/elf/x86_64/tls-gd/b.o -285: + 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 -290: + 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 -292: + grep -q '3 5 3 5' +292: + 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 +285: + 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 293: + 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 -292: + out/test/elf/x86_64/tls-ld-noplt/exe -292: + 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 -288: + out/test/elf/x86_64/tls-ie/exe +274: + 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 +290: + 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 +295: + gcc -fPIC -c -o out/test/elf/x86_64/tls-le/b.o -xc - +295: + cat 288: + grep -q '^0 0 3 5 7$' +288: + out/test/elf/x86_64/tls-ie/exe +292: + out/test/elf/x86_64/tls-ld-noplt/exe +292: + grep -q '3 5 3 5' 288: + 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 -285: + 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 -287: + 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 -290: + 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 -295: + cat -295: + gcc -fPIC -c -o out/test/elf/x86_64/tls-le/b.o -xc - -286: + grep -q '1 2 3' 289: + out/test/elf/x86_64/tls-irregular-start-addr/exe2 -289: + grep -q '^42$' -293: + grep -q '3 5 3 5' -293: + out/test/elf/x86_64/tls-ld/exe1 -293: + 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 -289: + 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 -286: + out/test/elf/x86_64/tls-gd-to-ie/exe1 -291: + out/test/elf/x86_64/tls-large-static-image/exe -291: + grep -q '^1 2 3 0 5$' +292: + 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 295: + 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 -292: + out/test/elf/x86_64/tls-ld-noplt/exe -292: + grep -q '3 5 3 5' -285: + grep -q '1 2 3 4 5 6' -285: + out/test/elf/x86_64/tls-gd-noplt/exe +286: + out/test/elf/x86_64/tls-gd-to-ie/exe1 +286: + grep -q '1 2 3' +289: + grep -q '^42$' 286: + 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 -292: + on_exit -292: + echo OK -292: OK -292: + exit 0 -284/369 Test #292: x86_64-tls-ld-noplt .............................. Passed 0.17 sec +287: + 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 +294: + 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 +291: + grep -q '^1 2 3 0 5$' +294: + on_exit +294: + echo OK +294: OK +294: + exit 0 +284/369 Test #294: x86_64-tls-le-error .............................. Passed 0.12 sec test 296 Start 296: x86_64-tls-nopic @@ -20303,12 +20333,13 @@ 296: MACHINE=x86_64 296: CPU= 296: Test timeout computed to be: 1500 +289: + 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 +291: + out/test/elf/x86_64/tls-large-static-image/exe 291: + on_exit 291: + echo OK 291: OK 291: + exit 0 -285: + 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 -285/369 Test #291: x86_64-tls-large-static-image .................... Passed 0.20 sec +285/369 Test #291: x86_64-tls-large-static-image .................... Passed 0.16 sec test 297 Start 297: x86_64-tls-pic @@ -20318,23 +20349,7 @@ 297: MACHINE=x86_64 297: CPU= 297: Test timeout computed to be: 1500 -287: + 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 -294: + 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 -294: + on_exit -294: + echo OK -294: OK -294: + exit 0 296: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-nopic.sh -286/369 Test #294: x86_64-tls-le-error .............................. Passed 0.15 sec -test 298 - Start 298: x86_64-tls-small-alignment - -298: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-small-alignment.sh" -298: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -298: Environment variables: -298: MACHINE=x86_64 -298: CPU= -298: Test timeout computed to be: 1500 296: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 296: ++ export LC_ALL=C 296: ++ LC_ALL=C @@ -20354,11 +20369,31 @@ 296: ++ trap 'on_error $LINENO' ERR 296: ++ trap on_exit EXIT 296: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-nopic.sh .sh -288: + grep -q '^0 0 3 5 7$' -288: + out/test/elf/x86_64/tls-ie/exe +296: ++ testname=tls-nopic +296: ++ echo -n 'Testing tls-nopic ... ' +296: Testing tls-nopic ... ++ t=out/test/elf/x86_64/tls-nopic +296: ++ mkdir -p out/test/elf/x86_64/tls-nopic +296: + gcc -c -o out/test/elf/x86_64/tls-nopic/a.o -xc - +296: + cat +274: + on_exit +274: + echo OK +274: OK +274: + exit 0 +290: + 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 +285: + grep -q '1 2 3 4 5 6' +285: + out/test/elf/x86_64/tls-gd-noplt/exe +286/369 Test #274: x86_64-sysroot ................................... Passed 0.79 sec +test 298 + Start 298: x86_64-tls-small-alignment + +298: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-small-alignment.sh" +298: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +298: Environment variables: +298: MACHINE=x86_64 +298: CPU= +298: Test timeout computed to be: 1500 +285: + 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 297: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-pic.sh -290: + out/test/elf/x86_64/tls-large-alignment/exe1 -298: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-small-alignment.sh 297: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 297: ++ export LC_ALL=C 297: ++ LC_ALL=C @@ -20377,8 +20412,16 @@ 297: ++ tlsdesc_opt=-mtls-dialect=gnu2 297: ++ trap 'on_error $LINENO' ERR 297: ++ trap on_exit EXIT -293: + grep -q '3 5 3 5' 297: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-pic.sh .sh +297: ++ testname=tls-pic +297: ++ echo -n 'Testing tls-pic ... ' +297: Testing tls-pic ... ++ t=out/test/elf/x86_64/tls-pic +297: ++ mkdir -p out/test/elf/x86_64/tls-pic +287: + 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 +298: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-small-alignment.sh +297: + cat +289: + grep -q '^42$' +293: + grep -q '3 5 3 5' 298: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 298: ++ export LC_ALL=C 298: ++ LC_ALL=C @@ -20393,17 +20436,28 @@ 298: ++ OBJCOPY=objcopy 298: ++ STRIP=strip 298: ++ QEMU= +288: + out/test/elf/x86_64/tls-ie/exe +288: + grep -q '^0 0 3 5 7$' 298: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 298: ++ tlsdesc_opt=-mtls-dialect=gnu2 298: ++ trap 'on_error $LINENO' ERR 298: ++ trap on_exit EXIT +293: + out/test/elf/x86_64/tls-ld/exe1 +297: + gcc -fPIC -c -o out/test/elf/x86_64/tls-pic/a.o -xc - +289: + out/test/elf/x86_64/tls-irregular-start-addr/exe3 298: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tls-small-alignment.sh .sh -293: + out/test/elf/x86_64/tls-ld/exe2 +298: ++ testname=tls-small-alignment +298: ++ echo -n 'Testing tls-small-alignment ... ' +298: Testing tls-small-alignment ... ++ t=out/test/elf/x86_64/tls-small-alignment +298: ++ mkdir -p out/test/elf/x86_64/tls-small-alignment +295: + out/test/elf/x86_64/tls-le/exe +295: + grep -q '3 5 3 5' +293: + 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 288: + on_exit 288: + echo OK 288: OK 288: + exit 0 -287/369 Test #288: x86_64-tls-ie .................................... Passed 0.25 sec +287/369 Test #288: x86_64-tls-ie .................................... Passed 0.43 sec test 299 Start 299: x86_64-tlsdesc-dlopen @@ -20413,43 +20467,13 @@ 299: MACHINE=x86_64 299: CPU= 299: Test timeout computed to be: 1500 -298: ++ testname=tls-small-alignment -298: ++ echo -n 'Testing tls-small-alignment ... ' -298: Testing tls-small-alignment ... ++ t=out/test/elf/x86_64/tls-small-alignment -298: ++ mkdir -p out/test/elf/x86_64/tls-small-alignment -298: + cat -293: + on_exit -293: + echo OK -293: OK -293: + exit 0 -285: + out/test/elf/x86_64/tls-gd-noplt/exe -296: ++ testname=tls-nopic -296: ++ echo -n 'Testing tls-nopic ... ' -296: Testing tls-nopic ... ++ t=out/test/elf/x86_64/tls-nopic -296: ++ mkdir -p out/test/elf/x86_64/tls-nopic -297: ++ testname=tls-pic -297: ++ echo -n 'Testing tls-pic ... ' -297: Testing tls-pic ... ++ t=out/test/elf/x86_64/tls-pic -297: ++ mkdir -p out/test/elf/x86_64/tls-pic -290: + grep -q '^42 1 2 3$' -288/369 Test #293: x86_64-tls-ld .................................... Passed 0.18 sec -test 300 - Start 300: x86_64-tlsdesc-import - -300: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/tlsdesc-import.sh" -300: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -300: Environment variables: -300: MACHINE=x86_64 -300: CPU= -300: Test timeout computed to be: 1500 -298: + cc -fPIC -c -o out/test/elf/x86_64/tls-small-alignment/a.o -xassembler - -285: + grep -q '1 2 3 4 5 6' -296: + cat -296: + gcc -c -o out/test/elf/x86_64/tls-nopic/a.o -xc - -297: + cat -297: + gcc -fPIC -c -o out/test/elf/x86_64/tls-pic/a.o -xc - -290: + 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 +286: + 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 +289: + 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 +295: + 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 299: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tlsdesc-dlopen.sh +292: + out/test/elf/x86_64/tls-ld-noplt/exe +292: + grep -q '3 5 3 5' +298: + cc -fPIC -c -o out/test/elf/x86_64/tls-small-alignment/a.o -xassembler - 299: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 299: ++ export LC_ALL=C 299: ++ LC_ALL=C @@ -20466,31 +20490,37 @@ 299: ++ QEMU= 299: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 299: ++ tlsdesc_opt=-mtls-dialect=gnu2 +298: + cat 299: ++ trap 'on_error $LINENO' ERR 299: ++ trap on_exit EXIT -295: + out/test/elf/x86_64/tls-le/exe -295: + grep -q '3 5 3 5' -295: + 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 -289: + grep -q '^42$' -289: + out/test/elf/x86_64/tls-irregular-start-addr/exe3 299: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tlsdesc-dlopen.sh .sh -285: + on_exit -285: + echo OK -285: OK -285: + exit 0 -287: + grep -q '1 2 3 4 5 6' -289/369 Test #285: x86_64-tls-gd-noplt .............................. Passed 0.33 sec -test 301 - Start 301: x86_64-tlsdesc-initial-exec +292: + on_exit +292: + echo OK +292: OK +292: + exit 0 +288/369 Test #292: x86_64-tls-ld-noplt .............................. Passed 0.18 sec +test 300 + Start 300: x86_64-tlsdesc-import -301: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/tlsdesc-initial-exec.sh" -301: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -301: Environment variables: -301: MACHINE=x86_64 -301: CPU= -301: Test timeout computed to be: 1500 +300: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/tlsdesc-import.sh" +300: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +300: Environment variables: +300: MACHINE=x86_64 +300: CPU= +300: Test timeout computed to be: 1500 +299: ++ testname=tlsdesc-dlopen +299: ++ echo -n 'Testing tlsdesc-dlopen ... ' +299: Testing tlsdesc-dlopen ... ++ t=out/test/elf/x86_64/tlsdesc-dlopen +299: ++ mkdir -p out/test/elf/x86_64/tlsdesc-dlopen +299: + supports_tlsdesc +299: + '[' x86_64 = arm ']' +299: + '[' -n -mtls-dialect=gnu2 ']' +299: + gcc -fPIC -c -o out/test/elf/x86_64/tlsdesc-dlopen/a.o -xc - -mtls-dialect=gnu2 +296: + cc -xc -c -o out/test/elf/x86_64/tls-nopic/b.o - +296: + cat 298: + cat 298: + cc -fPIC -std=c11 -c -o out/test/elf/x86_64/tls-small-alignment/b.o -xc - +299: + cat 300: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tlsdesc-import.sh 300: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 300: ++ export LC_ALL=C @@ -20511,29 +20541,40 @@ 300: ++ trap 'on_error $LINENO' ERR 300: ++ trap on_exit EXIT 300: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tlsdesc-import.sh .sh -287: + out/test/elf/x86_64/tls-gd/exe1 -287: + 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 -299: ++ testname=tlsdesc-dlopen -299: ++ echo -n 'Testing tlsdesc-dlopen ... ' -299: Testing tlsdesc-dlopen ... ++ t=out/test/elf/x86_64/tlsdesc-dlopen -299: ++ mkdir -p out/test/elf/x86_64/tlsdesc-dlopen -299: + supports_tlsdesc -299: + '[' x86_64 = arm ']' -299: + '[' -n -mtls-dialect=gnu2 ']' 300: ++ testname=tlsdesc-import 300: ++ echo -n 'Testing tlsdesc-import ... ' 300: Testing tlsdesc-import ... ++ t=out/test/elf/x86_64/tlsdesc-import 300: ++ mkdir -p out/test/elf/x86_64/tlsdesc-import -289: + 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 -286: + 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 -299: + cat -299: + gcc -fPIC -c -o out/test/elf/x86_64/tlsdesc-dlopen/a.o -xc - -mtls-dialect=gnu2 300: + supports_tlsdesc 300: + '[' x86_64 = arm ']' 300: + '[' -n -mtls-dialect=gnu2 ']' 300: + cat -301: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tlsdesc-initial-exec.sh 300: + gcc -fPIC -c -o out/test/elf/x86_64/tlsdesc-import/a.o -xc - -mtls-dialect=gnu2 +285: + grep -q '1 2 3 4 5 6' +285: + out/test/elf/x86_64/tls-gd-noplt/exe +290: + out/test/elf/x86_64/tls-large-alignment/exe1 +290: + grep -q '^42 1 2 3$' +285: + on_exit +285: + echo OK +285: OK +285: + exit 0 +297: + cat +289/369 Test #285: x86_64-tls-gd-noplt .............................. Passed 0.56 sec +test 301 + Start 301: x86_64-tlsdesc-initial-exec + +301: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/tlsdesc-initial-exec.sh" +301: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +301: Environment variables: +301: MACHINE=x86_64 +301: CPU= +301: Test timeout computed to be: 1500 +296: + 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 -no-pie +289: + out/test/elf/x86_64/tls-irregular-start-addr/exe4 +289: + grep -q '^42$' +290: + 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 +297: + cc -xc -c -o out/test/elf/x86_64/tls-pic/b.o - +301: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tlsdesc-initial-exec.sh 301: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 301: ++ export LC_ALL=C 301: ++ LC_ALL=C @@ -20552,27 +20593,12 @@ 301: ++ tlsdesc_opt=-mtls-dialect=gnu2 301: ++ trap 'on_error $LINENO' ERR 301: ++ trap on_exit EXIT -301: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tlsdesc-initial-exec.sh .sh -301: ++ testname=tlsdesc-initial-exec -301: ++ echo -n 'Testing tlsdesc-initial-exec ... ' -301: Testing tlsdesc-initial-exec ... ++ t=out/test/elf/x86_64/tlsdesc-initial-exec -301: ++ mkdir -p out/test/elf/x86_64/tlsdesc-initial-exec -301: + supports_tlsdesc -301: + '[' x86_64 = arm ']' -301: + '[' -n -mtls-dialect=gnu2 ']' -301: + gcc -fPIC -fPIC -c -o out/test/elf/x86_64/tlsdesc-initial-exec/a.o -xc - -mtls-dialect=gnu2 -301: + cat -290: + out/test/elf/x86_64/tls-large-alignment/exe2 -296: + cc -xc -c -o out/test/elf/x86_64/tls-nopic/b.o - -290: + grep -q '^42 1 2 3$' -296: + cat -290: + on_exit -290: + echo OK -290: OK -290: + exit 0 -287: + out/test/elf/x86_64/tls-gd/exe2 -287: + grep -q '1 2 3 4 5 6' -290/369 Test #290: x86_64-tls-large-alignment ....................... Passed 0.29 sec +298: + cc -fPIC -c -o out/test/elf/x86_64/tls-small-alignment/c.o -xc - +289: + on_exit +289: + echo OK +289: OK +289: + exit 0 +290/369 Test #289: x86_64-tls-irregular-start-addr .................. Passed 0.36 sec test 302 Start 302: x86_64-tlsdesc-local-dynamic @@ -20582,28 +20608,22 @@ 302: MACHINE=x86_64 302: CPU= 302: Test timeout computed to be: 1500 -297: + cat -297: + cc -xc -c -o out/test/elf/x86_64/tls-pic/b.o - +293: + out/test/elf/x86_64/tls-ld/exe2 +293: + grep -q '3 5 3 5' +299: + cc -B. -shared -o out/test/elf/x86_64/tlsdesc-dlopen/b.so out/test/elf/x86_64/tlsdesc-dlopen/a.o +301: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tlsdesc-initial-exec.sh .sh +301: ++ testname=tlsdesc-initial-exec +301: ++ echo -n 'Testing tlsdesc-initial-exec ... ' +301: Testing tlsdesc-initial-exec ... ++ t=out/test/elf/x86_64/tlsdesc-initial-exec +301: ++ mkdir -p out/test/elf/x86_64/tlsdesc-initial-exec 298: + cat -298: + cc -fPIC -c -o out/test/elf/x86_64/tls-small-alignment/c.o -xc - -295: + grep -q '3 5 3 5' -295: + out/test/elf/x86_64/tls-le/exe -295: + on_exit -295: + echo OK -295: OK -295: + exit 0 -287: + test_cflags -static -287: + echo 'int main() {}' -287: + cc -static -o /dev/null -xc - -289: + out/test/elf/x86_64/tls-irregular-start-addr/exe4 -289: + grep -q '^42$' -289: + on_exit -289: + echo OK -289: OK -289: + exit 0 -286: + out/test/elf/x86_64/tls-gd-to-ie/exe2 -286: + grep -q '1 2 3' -291/369 Test #295: x86_64-tls-le .................................... Passed 0.21 sec +287: + grep -q '1 2 3 4 5 6' +287: + out/test/elf/x86_64/tls-gd/exe1 +293: + on_exit +293: + echo OK +293: OK +293: + exit 0 +291/369 Test #293: x86_64-tls-ld .................................... Passed 0.22 sec test 303 Start 303: x86_64-tlsdesc-static @@ -20613,10 +20633,18 @@ 303: MACHINE=x86_64 303: CPU= 303: Test timeout computed to be: 1500 -292/369 Test #289: x86_64-tls-irregular-start-addr .................. Passed 0.32 sec -286: + 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 -299: + cc -B. -shared -o out/test/elf/x86_64/tlsdesc-dlopen/b.so out/test/elf/x86_64/tlsdesc-dlopen/a.o -301: + cc -B. -shared -o out/test/elf/x86_64/tlsdesc-initial-exec/b.so out/test/elf/x86_64/tlsdesc-initial-exec/a.o +295: + out/test/elf/x86_64/tls-le/exe +295: + grep -q '3 5 3 5' +295: + on_exit +295: + echo OK +295: OK +295: + exit 0 +301: + supports_tlsdesc +301: + '[' x86_64 = arm ']' +301: + '[' -n -mtls-dialect=gnu2 ']' +301: + gcc -fPIC -fPIC -c -o out/test/elf/x86_64/tlsdesc-initial-exec/a.o -xc - -mtls-dialect=gnu2 +301: + cat +287: + 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 302: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tlsdesc-local-dynamic.sh 302: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 302: ++ export LC_ALL=C @@ -20636,6 +20664,7 @@ 302: ++ tlsdesc_opt=-mtls-dialect=gnu2 302: ++ trap 'on_error $LINENO' ERR 302: ++ trap on_exit EXIT +292/369 Test #295: x86_64-tls-le .................................... Passed 0.19 sec test 304 Start 304: x86_64-tlsdesc @@ -20650,6 +20679,11 @@ 302: ++ echo -n 'Testing tlsdesc-local-dynamic ... ' 302: Testing tlsdesc-local-dynamic ... ++ t=out/test/elf/x86_64/tlsdesc-local-dynamic 302: ++ mkdir -p out/test/elf/x86_64/tlsdesc-local-dynamic +286: + grep -q '1 2 3' +286: + out/test/elf/x86_64/tls-gd-to-ie/exe2 +286: + 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 +300: + gcc -fPIC -shared -o out/test/elf/x86_64/tlsdesc-import/b.so -xc - -mtls-dialect=gnu2 +300: + cat 303: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tlsdesc-static.sh 303: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 303: ++ export LC_ALL=C @@ -20674,16 +20708,15 @@ 303: ++ echo -n 'Testing tlsdesc-static ... ' 303: Testing tlsdesc-static ... ++ t=out/test/elf/x86_64/tlsdesc-static 303: ++ mkdir -p out/test/elf/x86_64/tlsdesc-static -300: + cat -300: + gcc -fPIC -shared -o out/test/elf/x86_64/tlsdesc-import/b.so -xc - -mtls-dialect=gnu2 -296: + 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 -no-pie -297: + 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 +302: + supports_tlsdesc +302: + '[' x86_64 = arm ']' +302: + '[' -n -mtls-dialect=gnu2 ']' +304: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tlsdesc.sh 303: + supports_tlsdesc 303: + '[' x86_64 = arm ']' 303: + '[' -n -mtls-dialect=gnu2 ']' 303: + test_cflags -static -304: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tlsdesc.sh -303: + cc -static -o /dev/null -xc - +302: + cat 304: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 304: ++ export LC_ALL=C 304: ++ LC_ALL=C @@ -20698,37 +20731,38 @@ 304: ++ OBJCOPY=objcopy 304: ++ STRIP=strip 304: ++ QEMU= +302: + gcc -fPIC -ftls-model=local-dynamic -c -o out/test/elf/x86_64/tlsdesc-local-dynamic/a.o -xc - -mtls-dialect=gnu2 +303: + cc -static -o /dev/null -xc - 304: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 304: ++ tlsdesc_opt=-mtls-dialect=gnu2 304: ++ trap 'on_error $LINENO' ERR 304: ++ trap on_exit EXIT -302: + supports_tlsdesc -302: + '[' x86_64 = arm ']' -302: + '[' -n -mtls-dialect=gnu2 ']' -302: + cat -302: + gcc -fPIC -ftls-model=local-dynamic -c -o out/test/elf/x86_64/tlsdesc-local-dynamic/a.o -xc - -mtls-dialect=gnu2 -303: + echo 'int main() {}' 304: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/tlsdesc.sh .sh -298: + 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 304: ++ testname=tlsdesc 304: ++ echo -n 'Testing tlsdesc ... ' 304: Testing tlsdesc ... ++ t=out/test/elf/x86_64/tlsdesc 304: ++ mkdir -p out/test/elf/x86_64/tlsdesc +303: + echo 'int main() {}' 304: + supports_tlsdesc 304: + '[' x86_64 = arm ']' 304: + '[' -n -mtls-dialect=gnu2 ']' +297: + 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 304: + cat 304: + gcc -fPIC -c -o out/test/elf/x86_64/tlsdesc/a.o -xc - -mtls-dialect=gnu2 +301: + cc -B. -shared -o out/test/elf/x86_64/tlsdesc-initial-exec/b.so out/test/elf/x86_64/tlsdesc-initial-exec/a.o +299: + gcc -fPIC -c -o out/test/elf/x86_64/tlsdesc-dlopen/c.o -xc - -mtls-dialect=gnu2 +299: + cat 296: + grep -q '3 5 3 5' +290: + grep -q '^42 1 2 3$' +290: + out/test/elf/x86_64/tls-large-alignment/exe2 296: + out/test/elf/x86_64/tls-nopic/exe -299: + cat -299: + gcc -fPIC -c -o out/test/elf/x86_64/tlsdesc-dlopen/c.o -xc - -mtls-dialect=gnu2 296: + on_exit 296: + echo OK 296: OK -301: + gcc -fPIC -fPIC -c -o out/test/elf/x86_64/tlsdesc-initial-exec/c.o -xc - -mtls-dialect=gnu2 296: + exit 0 -293/369 Test #296: x86_64-tls-nopic ................................. Passed 0.15 sec +287: + out/test/elf/x86_64/tls-gd/exe2 +287: + grep -q '1 2 3 4 5 6' +293/369 Test #296: x86_64-tls-nopic ................................. Passed 0.13 sec test 305 Start 305: x86_64-trace-symbol-symver @@ -20738,16 +20772,16 @@ 305: MACHINE=x86_64 305: CPU= 305: Test timeout computed to be: 1500 +287: + test_cflags -static +287: + echo 'int main() {}' +287: + cc -static -o /dev/null -xc - +290: + on_exit +290: + echo OK +290: OK +290: + exit 0 +298: + 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 286: + 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 -301: + cat -297: + out/test/elf/x86_64/tls-pic/exe -297: + grep -q '3 5 3 5' -305: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/trace-symbol-symver.sh -297: + on_exit -297: + echo OK -297: OK -297: + exit 0 -294/369 Test #297: x86_64-tls-pic ................................... Passed 0.15 sec +294/369 Test #290: x86_64-tls-large-alignment ....................... Passed 0.35 sec test 306 Start 306: x86_64-trace-symbol @@ -20757,6 +20791,7 @@ 306: MACHINE=x86_64 306: CPU= 306: Test timeout computed to be: 1500 +305: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/trace-symbol-symver.sh 305: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 305: ++ export LC_ALL=C 305: ++ LC_ALL=C @@ -20799,45 +20834,33 @@ 306: ++ tlsdesc_opt=-mtls-dialect=gnu2 306: ++ trap 'on_error $LINENO' ERR 306: ++ trap on_exit EXIT -298: + 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 -304: + cat -304: + gcc -fPIC -c -o out/test/elf/x86_64/tlsdesc/b.o -xc - -mtls-dialect=gnu2 306: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/trace-symbol.sh .sh -305: + cc -c -o out/test/elf/x86_64/trace-symbol-symver/a.o -xc - -305: + cat 306: ++ testname=trace-symbol 306: ++ echo -n 'Testing trace-symbol ... ' 306: Testing trace-symbol ... ++ t=out/test/elf/x86_64/trace-symbol 306: ++ mkdir -p out/test/elf/x86_64/trace-symbol 300: + 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 -306: + cc -c -o out/test/elf/x86_64/trace-symbol/a.o -xc - +305: + cat +304: + gcc -fPIC -c -o out/test/elf/x86_64/tlsdesc/b.o -xc - -mtls-dialect=gnu2 +304: + cat 306: + cat -299: + cc -B. -o out/test/elf/x86_64/tlsdesc-dlopen/exe out/test/elf/x86_64/tlsdesc-dlopen/c.o -ldl -301: + cat -301: + gcc -fPIC -fPIE -c -o out/test/elf/x86_64/tlsdesc-initial-exec/d.o -xc - -mtls-dialect=gnu2 -302: + gcc -fPIC -ftls-model=local-dynamic -c -o out/test/elf/x86_64/tlsdesc-local-dynamic/b.o -xc - -mtls-dialect=gnu2 +306: + cc -c -o out/test/elf/x86_64/trace-symbol/a.o -xc - +305: + cc -c -o out/test/elf/x86_64/trace-symbol-symver/a.o -xc - 302: + cat -305: + cat -305: + cc -B. -o out/test/elf/x86_64/trace-symbol-symver/c.so -shared out/test/elf/x86_64/trace-symbol-symver/a.o -Wl,--version-script=out/test/elf/x86_64/trace-symbol-symver/b.version -Wl,--trace-symbol=foo@VER1 -287: + 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 -304: + cc -B. -o out/test/elf/x86_64/tlsdesc/exe1 out/test/elf/x86_64/tlsdesc/a.o out/test/elf/x86_64/tlsdesc/b.o -286: + grep -q '1 2 3' +302: + gcc -fPIC -ftls-model=local-dynamic -c -o out/test/elf/x86_64/tlsdesc-local-dynamic/b.o -xc - -mtls-dialect=gnu2 +301: + cat +301: + gcc -fPIC -fPIC -c -o out/test/elf/x86_64/tlsdesc-initial-exec/c.o -xc - -mtls-dialect=gnu2 +298: + 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 +297: + out/test/elf/x86_64/tls-pic/exe +297: + grep -q '3 5 3 5' 286: + out/test/elf/x86_64/tls-gd-to-ie/exe3 +286: + grep -q '1 2 3' 286: + 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 -306: + cat -306: + cc -c -o out/test/elf/x86_64/trace-symbol/b.o -xc - -298: + out/test/elf/x86_64/tls-small-alignment/exe1 -298: + grep -q '^42$' -298: + 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 -300: + out/test/elf/x86_64/tlsdesc-import/exe -300: + grep -q '5 7' -300: + on_exit -305: + cc -c -o out/test/elf/x86_64/trace-symbol-symver/d.o -xc - -300: + echo OK -300: OK -300: + exit 0 -305: + cat -295/369 Test #300: x86_64-tlsdesc-import ............................ Passed 0.21 sec +297: + on_exit +297: + echo OK +297: OK +297: + exit 0 +295/369 Test #297: x86_64-tls-pic ................................... Passed 0.21 sec test 307 Start 307: x86_64-trace @@ -20847,23 +20870,6 @@ 307: MACHINE=x86_64 307: CPU= 307: Test timeout computed to be: 1500 -299: + out/test/elf/x86_64/tlsdesc-dlopen/exe out/test/elf/x86_64/tlsdesc-dlopen/b.so -299: + grep -q '3 0 5' -302: + cc -B. -o out/test/elf/x86_64/tlsdesc-local-dynamic/exe1 out/test/elf/x86_64/tlsdesc-local-dynamic/a.o out/test/elf/x86_64/tlsdesc-local-dynamic/b.o -299: + on_exit -299: + echo OK -299: OK -299: + exit 0 -296/369 Test #299: x86_64-tlsdesc-dlopen ............................ Passed 0.22 sec -test 308 - Start 308: x86_64-undefined-glob-gc-sections - -308: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/undefined-glob-gc-sections.sh" -308: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -308: Environment variables: -308: MACHINE=x86_64 -308: CPU= -308: Test timeout computed to be: 1500 307: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/trace.sh 307: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 307: ++ export LC_ALL=C @@ -20888,10 +20894,39 @@ 307: ++ echo -n 'Testing trace ... ' 307: Testing trace ... ++ t=out/test/elf/x86_64/trace 307: ++ mkdir -p out/test/elf/x86_64/trace -308: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/undefined-glob-gc-sections.sh -298: + out/test/elf/x86_64/tls-small-alignment/exe2 -304: + out/test/elf/x86_64/tlsdesc/exe1 +307: + cat +307: + cc -c -o out/test/elf/x86_64/trace/a.o -xc - +300: + out/test/elf/x86_64/tlsdesc-import/exe +300: + grep -q '5 7' +300: + on_exit +300: + echo OK +300: OK +300: + exit 0 +296/369 Test #300: x86_64-tlsdesc-import ............................ Passed 0.19 sec +test 308 + Start 308: x86_64-undefined-glob-gc-sections + +308: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/undefined-glob-gc-sections.sh" +308: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +308: Environment variables: +308: MACHINE=x86_64 +308: CPU= +308: Test timeout computed to be: 1500 +303: + cat +303: + gcc -fPIC -c -o out/test/elf/x86_64/tlsdesc-static/a.o -xc - -mtls-dialect=gnu2 +286: + 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 +299: + cc -B. -o out/test/elf/x86_64/tlsdesc-dlopen/exe out/test/elf/x86_64/tlsdesc-dlopen/c.o -ldl +305: + cat +304: + cc -B. -o out/test/elf/x86_64/tlsdesc/exe1 out/test/elf/x86_64/tlsdesc/a.o out/test/elf/x86_64/tlsdesc/b.o +298: + out/test/elf/x86_64/tls-small-alignment/exe1 298: + grep -q '^42$' +301: + cat +301: + gcc -fPIC -fPIE -c -o out/test/elf/x86_64/tlsdesc-initial-exec/d.o -xc - -mtls-dialect=gnu2 +305: + cc -B. -o out/test/elf/x86_64/trace-symbol-symver/c.so -shared out/test/elf/x86_64/trace-symbol-symver/a.o -Wl,--version-script=out/test/elf/x86_64/trace-symbol-symver/b.version -Wl,--trace-symbol=foo@VER1 +308: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/undefined-glob-gc-sections.sh +298: + 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 +306: + cat +306: + cc -c -o out/test/elf/x86_64/trace-symbol/b.o -xc - 308: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 308: ++ export LC_ALL=C 308: ++ LC_ALL=C @@ -20910,23 +20945,47 @@ 308: ++ tlsdesc_opt=-mtls-dialect=gnu2 308: ++ trap 'on_error $LINENO' ERR 308: ++ trap on_exit EXIT -303: + cat -304: + grep -q '42 3 5' -307: + cat +302: + cc -B. -o out/test/elf/x86_64/tlsdesc-local-dynamic/exe1 out/test/elf/x86_64/tlsdesc-local-dynamic/a.o out/test/elf/x86_64/tlsdesc-local-dynamic/b.o 308: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/undefined-glob-gc-sections.sh .sh -307: + cc -c -o out/test/elf/x86_64/trace/a.o -xc - -301: + cc -B. -o out/test/elf/x86_64/tlsdesc-initial-exec/exe1 out/test/elf/x86_64/tlsdesc-initial-exec/c.o out/test/elf/x86_64/tlsdesc-initial-exec/d.o out/test/elf/x86_64/tlsdesc-initial-exec/b.so 308: ++ testname=undefined-glob-gc-sections 308: ++ echo -n 'Testing undefined-glob-gc-sections ... ' 308: Testing undefined-glob-gc-sections ... ++ t=out/test/elf/x86_64/undefined-glob-gc-sections 308: ++ mkdir -p out/test/elf/x86_64/undefined-glob-gc-sections -303: + gcc -fPIC -c -o out/test/elf/x86_64/tlsdesc-static/a.o -xc - -mtls-dialect=gnu2 -306: + cc -shared -o out/test/elf/x86_64/trace-symbol/c.so -xc - +307: + cc -B. -o out/test/elf/x86_64/trace/exe out/test/elf/x86_64/trace/a.o -Wl,-trace +308: + test_cflags -static +308: + echo 'int main() {}' +308: + cc -static -o /dev/null -xc - +287: + 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 +303: + cat +303: + gcc -fPIC -c -o out/test/elf/x86_64/tlsdesc-static/b.o -xc - -mtls-dialect=gnu2 +299: + grep -q '3 0 5' +304: + grep -q '42 3 5' +304: + out/test/elf/x86_64/tlsdesc/exe1 +302: + out/test/elf/x86_64/tlsdesc-local-dynamic/exe1 +302: + grep -q '42 5' +299: + out/test/elf/x86_64/tlsdesc-dlopen/exe out/test/elf/x86_64/tlsdesc-dlopen/b.so +299: + on_exit +299: + echo OK +299: OK +299: + exit 0 +286: + out/test/elf/x86_64/tls-gd-to-ie/exe4 +286: + grep -q '1 2 3' +286: + on_exit +286: + echo OK +286: OK +286: + exit 0 +298: + out/test/elf/x86_64/tls-small-alignment/exe2 +298: + grep -q '^42$' 298: + on_exit 298: + echo OK 298: OK 298: + exit 0 -297/369 Test #298: x86_64-tls-small-alignment ....................... Passed 0.27 sec +304: + cc -B. -o out/test/elf/x86_64/tlsdesc/exe2 out/test/elf/x86_64/tlsdesc/a.o out/test/elf/x86_64/tlsdesc/b.o -Wl,-no-relax +302: + cc -B. -o out/test/elf/x86_64/tlsdesc-local-dynamic/exe2 out/test/elf/x86_64/tlsdesc-local-dynamic/a.o out/test/elf/x86_64/tlsdesc-local-dynamic/b.o -Wl,--no-relax +301: + cc -B. -o out/test/elf/x86_64/tlsdesc-initial-exec/exe1 out/test/elf/x86_64/tlsdesc-initial-exec/c.o out/test/elf/x86_64/tlsdesc-initial-exec/d.o out/test/elf/x86_64/tlsdesc-initial-exec/b.so +297/369 Test #286: x86_64-tls-gd-to-ie .............................. Passed 0.81 sec +298/369 Test #298: x86_64-tls-small-alignment ....................... Passed 0.34 sec +299/369 Test #299: x86_64-tlsdesc-dlopen ............................ Passed 0.32 sec test 309 Start 309: x86_64-undefined-glob @@ -20936,12 +20995,24 @@ 309: MACHINE=x86_64 309: CPU= 309: Test timeout computed to be: 1500 -308: + test_cflags -static -308: + cc -static -o /dev/null -xc - -306: + cat -304: + cc -B. -o out/test/elf/x86_64/tlsdesc/exe2 out/test/elf/x86_64/tlsdesc/a.o out/test/elf/x86_64/tlsdesc/b.o -Wl,-no-relax -308: + echo 'int main() {}' -302: + out/test/elf/x86_64/tlsdesc-local-dynamic/exe1 +test 310 + Start 310: x86_64-undefined + +310: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/undefined.sh" +310: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +310: Environment variables: +310: MACHINE=x86_64 +310: CPU= +310: Test timeout computed to be: 1500 +test 311 + Start 311: x86_64-undefined2 + +311: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/undefined2.sh" +311: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +311: Environment variables: +311: MACHINE=x86_64 +311: CPU= +311: Test timeout computed to be: 1500 309: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/undefined-glob.sh 309: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 309: ++ export LC_ALL=C @@ -20961,72 +21032,11 @@ 309: ++ tlsdesc_opt=-mtls-dialect=gnu2 309: ++ trap 'on_error $LINENO' ERR 309: ++ trap on_exit EXIT -287: + out/test/elf/x86_64/tls-gd/exe3 309: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/undefined-glob.sh .sh -287: + grep -q '1 2 3 4 5 6' -286: + 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 309: ++ testname=undefined-glob 309: ++ echo -n 'Testing undefined-glob ... ' 309: Testing undefined-glob ... ++ t=out/test/elf/x86_64/undefined-glob 309: ++ mkdir -p out/test/elf/x86_64/undefined-glob -287: + 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 -302: + grep -q '42 5' -302: + cc -B. -o out/test/elf/x86_64/tlsdesc-local-dynamic/exe2 out/test/elf/x86_64/tlsdesc-local-dynamic/a.o out/test/elf/x86_64/tlsdesc-local-dynamic/b.o -Wl,--no-relax -309: + test_cflags -static -309: + echo 'int main() {}' -309: + cc -static -o /dev/null -xc - -305: + cc -B. -o out/test/elf/x86_64/trace-symbol-symver/exe out/test/elf/x86_64/trace-symbol-symver/d.o out/test/elf/x86_64/trace-symbol-symver/c.so -Wl,--trace-symbol=foo@VER1 -303: + gcc -fPIC -c -o out/test/elf/x86_64/tlsdesc-static/b.o -xc - -mtls-dialect=gnu2 -303: + cat -301: + out/test/elf/x86_64/tlsdesc-initial-exec/exe1 -301: + grep -q '^5 5 5$' -301: + readelf -Wr out/test/elf/x86_64/tlsdesc-initial-exec/exe1 -301: + grep -Eq 'TLS.?DESC' out/test/elf/x86_64/tlsdesc-initial-exec/log1 -301: + cc -B. -o out/test/elf/x86_64/tlsdesc-initial-exec/exe1 out/test/elf/x86_64/tlsdesc-initial-exec/c.o out/test/elf/x86_64/tlsdesc-initial-exec/d.o out/test/elf/x86_64/tlsdesc-initial-exec/b.so -Wl,--no-relax -306: + 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 -304: + grep -q '42 3 5' -304: + out/test/elf/x86_64/tlsdesc/exe2 -304: + cc -B. -shared -o out/test/elf/x86_64/tlsdesc/c.so out/test/elf/x86_64/tlsdesc/a.o -286: + grep -q '1 2 3' -303: + cc -B. -o out/test/elf/x86_64/tlsdesc-static/exe1 out/test/elf/x86_64/tlsdesc-static/a.o out/test/elf/x86_64/tlsdesc-static/b.o -static -286: + out/test/elf/x86_64/tls-gd-to-ie/exe4 -305: + out/test/elf/x86_64/trace-symbol-symver/exe -286: + on_exit -286: + echo OK -286: OK -286: + exit 0 -298/369 Test #286: x86_64-tls-gd-to-ie .............................. Passed 0.64 sec -test 310 - Start 310: x86_64-undefined - -310: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/undefined.sh" -310: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -310: Environment variables: -310: MACHINE=x86_64 -310: CPU= -310: Test timeout computed to be: 1500 -305: + on_exit -305: + echo OK -305: OK -305: + exit 0 -302: + out/test/elf/x86_64/tlsdesc-local-dynamic/exe2 -299/369 Test #305: x86_64-trace-symbol-symver ....................... Passed 0.25 sec -test 311 - Start 311: x86_64-undefined2 - -311: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/undefined2.sh" -311: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -311: Environment variables: -311: MACHINE=x86_64 -311: CPU= -311: Test timeout computed to be: 1500 -302: + grep -q '42 5' -302: + on_exit -302: + echo OK -302: OK -302: + exit 0 -306: + grep -q 'trace-symbol: .*/a.o: reference to foo' out/test/elf/x86_64/trace-symbol/log -306: + grep -q 'trace-symbol: .*/b.o: definition of foo' out/test/elf/x86_64/trace-symbol/log 310: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/undefined.sh 310: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 310: ++ export LC_ALL=C @@ -21046,67 +21056,17 @@ 310: ++ tlsdesc_opt=-mtls-dialect=gnu2 310: ++ trap 'on_error $LINENO' ERR 310: ++ trap on_exit EXIT +309: + test_cflags -static +309: + cc -static -o /dev/null -xc - +309: + echo 'int main() {}' 310: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/undefined.sh .sh -307: + cc -B. -o out/test/elf/x86_64/trace/exe out/test/elf/x86_64/trace/a.o -Wl,-trace -300/369 Test #302: x86_64-tlsdesc-local-dynamic ..................... Passed 0.31 sec -test 312 - Start 312: x86_64-unkown-section-type - -312: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/unkown-section-type.sh" -312: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -312: Environment variables: -312: MACHINE=x86_64 -312: CPU= -312: Test timeout computed to be: 1500 -306: + grep -q 'trace-symbol: .*/c.so: definition of baz' out/test/elf/x86_64/trace-symbol/log -306: + on_exit -306: + echo OK -306: OK -306: + exit 0 310: ++ testname=undefined 310: ++ echo -n 'Testing undefined ... ' 310: Testing undefined ... ++ t=out/test/elf/x86_64/undefined 310: ++ mkdir -p out/test/elf/x86_64/undefined -310: + test_cflags -static -310: + echo 'int main() {}' -301: + out/test/elf/x86_64/tlsdesc-initial-exec/exe1 -301: + grep -q '^5 5 5$' -301: + readelf -Wr out/test/elf/x86_64/tlsdesc-initial-exec/exe1 -227: + cc -B. -o out/test/elf/x86_64/relocatable-many-sections/exe out/test/elf/x86_64/relocatable-many-sections/c.o -287: + out/test/elf/x86_64/tls-gd/exe4 -287: + grep -q '1 2 3 4 5 6' -287: + on_exit -287: + echo OK -287: OK -287: + exit 0 +305: + cat +305: + cc -c -o out/test/elf/x86_64/trace-symbol-symver/d.o -xc - 311: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/undefined2.sh -301/369 Test #287: x86_64-tls-gd .................................... Passed 0.64 sec -302/369 Test #306: x86_64-trace-symbol .............................. Passed 0.25 sec -test 313 - Start 313: x86_64-unresolved-symbols - -313: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/unresolved-symbols.sh" -313: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -313: Environment variables: -313: MACHINE=x86_64 -313: CPU= -313: Test timeout computed to be: 1500 -test 314 - Start 314: x86_64-verbose - -314: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/verbose.sh" -314: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -314: Environment variables: -314: MACHINE=x86_64 -314: CPU= -314: Test timeout computed to be: 1500 -310: + cc -static -o /dev/null -xc - -301: + grep -Eq 'TLS.?DESC' out/test/elf/x86_64/tlsdesc-initial-exec/log2 -301: + on_exit -301: + echo OK -301: OK -301: + exit 0 -303/369 Test #301: x86_64-tlsdesc-initial-exec ...................... Passed 0.37 sec 311: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 311: ++ export LC_ALL=C 311: ++ LC_ALL=C @@ -21130,10 +21090,51 @@ 311: ++ echo -n 'Testing undefined2 ... ' 311: Testing undefined2 ... ++ t=out/test/elf/x86_64/undefined2 311: ++ mkdir -p out/test/elf/x86_64/undefined2 +301: + out/test/elf/x86_64/tlsdesc-initial-exec/exe1 +301: + grep -q '^5 5 5$' +301: + readelf -Wr out/test/elf/x86_64/tlsdesc-initial-exec/exe1 +310: + test_cflags -static +304: + out/test/elf/x86_64/tlsdesc/exe2 +304: + grep -q '42 3 5' +307: + grep -q '/a\.o$' out/test/elf/x86_64/trace/log +310: + cc -static -o /dev/null -xc - +304: + cc -B. -shared -o out/test/elf/x86_64/tlsdesc/c.so out/test/elf/x86_64/tlsdesc/a.o 311: + test_cflags -static -311: + echo 'int main() {}' +310: + echo 'int main() {}' 311: + cc -static -o /dev/null -xc - -304: + cc -B. -o out/test/elf/x86_64/tlsdesc/exe3 out/test/elf/x86_64/tlsdesc/b.o out/test/elf/x86_64/tlsdesc/c.so +301: + grep -Eq 'TLS.?DESC' out/test/elf/x86_64/tlsdesc-initial-exec/log1 +307: + on_exit +307: + echo OK +307: OK +307: + exit 0 +302: + grep -q '42 5' +311: + echo 'int main() {}' +300/369 Test #307: x86_64-trace ..................................... Passed 0.17 sec +test 312 + Start 312: x86_64-unkown-section-type + +312: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/unkown-section-type.sh" +312: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +312: Environment variables: +312: MACHINE=x86_64 +312: CPU= +312: Test timeout computed to be: 1500 +301: + cc -B. -o out/test/elf/x86_64/tlsdesc-initial-exec/exe1 out/test/elf/x86_64/tlsdesc-initial-exec/c.o out/test/elf/x86_64/tlsdesc-initial-exec/d.o out/test/elf/x86_64/tlsdesc-initial-exec/b.so -Wl,--no-relax +302: + out/test/elf/x86_64/tlsdesc-local-dynamic/exe2 +302: + on_exit +302: + echo OK +302: OK +302: + exit 0 +301/369 Test #302: x86_64-tlsdesc-local-dynamic ..................... Passed 0.31 sec +test 313 + Start 313: x86_64-unresolved-symbols + +313: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/unresolved-symbols.sh" +313: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +313: Environment variables: +313: MACHINE=x86_64 +313: CPU= +313: Test timeout computed to be: 1500 312: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/unkown-section-type.sh 312: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 312: ++ export LC_ALL=C @@ -21165,6 +21166,7 @@ 313: ++ '[' -z x86_64 ']' 313: ++ '[' -z '' ']' 313: ++ TESTDIR=out/test/elf/x86_64 +312: + cat 313: ++ CC=cc 313: ++ CXX=c++ 313: ++ GCC=gcc @@ -21175,9 +21177,58 @@ 313: ++ QEMU= 313: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 313: ++ tlsdesc_opt=-mtls-dialect=gnu2 +312: + cc -o out/test/elf/x86_64/unkown-section-type/a.o -c -xassembler - 313: ++ trap 'on_error $LINENO' ERR 313: ++ trap on_exit EXIT 313: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/unresolved-symbols.sh .sh +313: ++ testname=unresolved-symbols +313: ++ echo -n 'Testing unresolved-symbols ... ' +313: Testing unresolved-symbols ... ++ t=out/test/elf/x86_64/unresolved-symbols +313: ++ mkdir -p out/test/elf/x86_64/unresolved-symbols +312: + cc -B. -o out/test/elf/x86_64/unkown-section-type/exe out/test/elf/x86_64/unkown-section-type/a.o +313: + cat +313: + cc -c -o out/test/elf/x86_64/unresolved-symbols/a.o -xc - +287: + out/test/elf/x86_64/tls-gd/exe3 +287: + grep -q '1 2 3 4 5 6' +287: + 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 +304: + cc -B. -o out/test/elf/x86_64/tlsdesc/exe3 out/test/elf/x86_64/tlsdesc/b.o out/test/elf/x86_64/tlsdesc/c.so +305: + cc -B. -o out/test/elf/x86_64/trace-symbol-symver/exe out/test/elf/x86_64/trace-symbol-symver/d.o out/test/elf/x86_64/trace-symbol-symver/c.so -Wl,--trace-symbol=foo@VER1 +303: + cc -B. -o out/test/elf/x86_64/tlsdesc-static/exe1 out/test/elf/x86_64/tlsdesc-static/a.o out/test/elf/x86_64/tlsdesc-static/b.o -static +301: + grep -q '^5 5 5$' +301: + out/test/elf/x86_64/tlsdesc-initial-exec/exe1 +287: + out/test/elf/x86_64/tls-gd/exe4 +313: + grep -q 'undefined.*foo' +312: + grep -q 'unsupported section type: 0x80000000' out/test/elf/x86_64/unkown-section-type/log1 +287: + grep -q '1 2 3 4 5 6' +301: + readelf -Wr out/test/elf/x86_64/tlsdesc-initial-exec/exe1 +306: + cc -shared -o out/test/elf/x86_64/trace-symbol/c.so -xc - +313: + cc -B. -o out/test/elf/x86_64/unresolved-symbols/exe out/test/elf/x86_64/unresolved-symbols/a.o +306: + cat +287: + on_exit +287: + echo OK +287: OK +287: + exit 0 +302/369 Test #287: x86_64-tls-gd .................................... Passed 1.01 sec +test 314 + Start 314: x86_64-verbose + +314: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/verbose.sh" +314: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +314: Environment variables: +314: MACHINE=x86_64 +314: CPU= +314: Test timeout computed to be: 1500 +301: + grep -Eq 'TLS.?DESC' out/test/elf/x86_64/tlsdesc-initial-exec/log2 +301: + on_exit +301: + echo OK +301: OK +301: + exit 0 +312: + on_exit +312: + echo OK +312: OK +312: + exit 0 +303/369 Test #301: x86_64-tlsdesc-initial-exec ...................... Passed 0.48 sec +304/369 Test #312: x86_64-unkown-section-type ....................... Passed 0.17 sec test 315 Start 315: x86_64-version-script-search-paths @@ -21187,11 +21238,15 @@ 315: MACHINE=x86_64 315: CPU= 315: Test timeout computed to be: 1500 -313: ++ testname=unresolved-symbols -313: ++ echo -n 'Testing unresolved-symbols ... ' -313: Testing unresolved-symbols ... ++ t=out/test/elf/x86_64/unresolved-symbols -313: ++ mkdir -p out/test/elf/x86_64/unresolved-symbols -312: + cat +test 316 + Start 316: x86_64-version-script + +316: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script.sh" +316: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +316: Environment variables: +316: MACHINE=x86_64 +316: CPU= +316: Test timeout computed to be: 1500 314: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/verbose.sh 314: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 314: ++ export LC_ALL=C @@ -21211,9 +21266,13 @@ 314: ++ tlsdesc_opt=-mtls-dialect=gnu2 314: ++ trap 'on_error $LINENO' ERR 314: ++ trap on_exit EXIT -315: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script-search-paths.sh 314: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/verbose.sh .sh -312: + cc -o out/test/elf/x86_64/unkown-section-type/a.o -c -xassembler - +314: ++ testname=verbose +314: ++ echo -n 'Testing verbose ... ' +314: Testing verbose ... ++ t=out/test/elf/x86_64/verbose +314: ++ mkdir -p out/test/elf/x86_64/verbose +304: + out/test/elf/x86_64/tlsdesc/exe3 +315: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script-search-paths.sh 315: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 315: ++ export LC_ALL=C 315: ++ LC_ALL=C @@ -21232,50 +21291,9 @@ 315: ++ tlsdesc_opt=-mtls-dialect=gnu2 315: ++ trap 'on_error $LINENO' ERR 315: ++ trap on_exit EXIT -314: ++ testname=verbose -314: ++ echo -n 'Testing verbose ... ' -314: Testing verbose ... ++ t=out/test/elf/x86_64/verbose -314: ++ mkdir -p out/test/elf/x86_64/verbose -308: + cat -308: + cc -o out/test/elf/x86_64/undefined-glob-gc-sections/a.o -c -xc - -315: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script-search-paths.sh .sh -314: + cat -315: ++ testname=version-script-search-paths -315: ++ echo -n 'Testing version-script-search-paths ... ' -315: Testing version-script-search-paths ... ++ t=out/test/elf/x86_64/version-script-search-paths -315: ++ mkdir -p out/test/elf/x86_64/version-script-search-paths -314: + cc -c -xc -o out/test/elf/x86_64/verbose/a.o - -312: + cc -B. -o out/test/elf/x86_64/unkown-section-type/exe out/test/elf/x86_64/unkown-section-type/a.o -315: + mkdir -p out/test/elf/x86_64/version-script-search-paths/foo/bar -313: + cat -313: + cc -c -o out/test/elf/x86_64/unresolved-symbols/a.o -xc - -307: + grep -q '/a\.o$' out/test/elf/x86_64/trace/log -307: + on_exit -307: + echo OK -307: OK -307: + exit 0 -304/369 Test #307: x86_64-trace ..................................... Passed 0.20 sec -test 316 - Start 316: x86_64-version-script - -316: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script.sh" -316: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -316: Environment variables: -316: MACHINE=x86_64 -316: CPU= -316: Test timeout computed to be: 1500 -304: + out/test/elf/x86_64/tlsdesc/exe3 304: + grep -q '42 3 5' -304: + cc -B. -shared -o out/test/elf/x86_64/tlsdesc/c.so out/test/elf/x86_64/tlsdesc/a.o -Wl,-no-relax -315: + echo 'ver_x { global: *; };' -315: + cat -315: + 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 -303: + grep -q 42 316: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script.sh -308: + cat -303: + out/test/elf/x86_64/tlsdesc-static/exe1 -308: + cc -o out/test/elf/x86_64/undefined-glob-gc-sections/b.o -c -xc - -303: + cc -B. -o out/test/elf/x86_64/tlsdesc-static/exe2 out/test/elf/x86_64/tlsdesc-static/a.o out/test/elf/x86_64/tlsdesc-static/b.o -static -Wl,-no-relax +315: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script-search-paths.sh .sh 316: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 316: ++ export LC_ALL=C 316: ++ LC_ALL=C @@ -21294,6 +21312,12 @@ 316: ++ tlsdesc_opt=-mtls-dialect=gnu2 316: ++ trap 'on_error $LINENO' ERR 316: ++ trap on_exit EXIT +304: + cc -B. -shared -o out/test/elf/x86_64/tlsdesc/c.so out/test/elf/x86_64/tlsdesc/a.o -Wl,-no-relax +314: + cat +315: ++ testname=version-script-search-paths +315: ++ echo -n 'Testing version-script-search-paths ... ' +315: Testing version-script-search-paths ... ++ t=out/test/elf/x86_64/version-script-search-paths +315: ++ mkdir -p out/test/elf/x86_64/version-script-search-paths 316: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script.sh .sh 316: ++ testname=version-script 316: ++ echo -n 'Testing version-script ... ' @@ -21301,15 +21325,18 @@ 316: ++ mkdir -p out/test/elf/x86_64/version-script 316: + echo 'ver_x { global: *; };' 316: + cat -309: + cat -309: + cc -o out/test/elf/x86_64/undefined-glob/a.o -c -xc - -312: + grep -q 'unsupported section type: 0x80000000' out/test/elf/x86_64/unkown-section-type/log1 +314: + cc -c -xc -o out/test/elf/x86_64/verbose/a.o - +315: + mkdir -p out/test/elf/x86_64/version-script-search-paths/foo/bar +315: + echo 'ver_x { global: *; };' +315: + cat 316: + 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 -312: + on_exit -312: + echo OK -312: OK -312: + exit 0 -305/369 Test #312: x86_64-unkown-section-type ....................... Passed 0.07 sec +315: + 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 +305: + out/test/elf/x86_64/trace-symbol-symver/exe +305: + on_exit +305: + echo OK +305: OK +305: + exit 0 +305/369 Test #305: x86_64-trace-symbol-symver ....................... Passed 0.40 sec test 317 Start 317: x86_64-version-script10 @@ -21319,14 +21346,11 @@ 317: MACHINE=x86_64 317: CPU= 317: Test timeout computed to be: 1500 -314: + cc -B. -Wl,--verbose -o out/test/elf/x86_64/verbose/exe out/test/elf/x86_64/verbose/a.o +313: + 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 313: + grep -q 'undefined.*foo' -313: + cc -B. -o out/test/elf/x86_64/unresolved-symbols/exe out/test/elf/x86_64/unresolved-symbols/a.o +308: + cc -o out/test/elf/x86_64/undefined-glob-gc-sections/a.o -c -xc - 308: + cat -308: + cc -o out/test/elf/x86_64/undefined-glob-gc-sections/c.o -c -xc - -304: + cc -B. -o out/test/elf/x86_64/tlsdesc/exe4 out/test/elf/x86_64/tlsdesc/b.o out/test/elf/x86_64/tlsdesc/c.so -Wl,-no-relax 317: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script10.sh -315: + readelf --version-info out/test/elf/x86_64/version-script-search-paths/c.so 317: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 317: ++ export LC_ALL=C 317: ++ LC_ALL=C @@ -21343,21 +21367,46 @@ 317: ++ QEMU= 317: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 317: ++ tlsdesc_opt=-mtls-dialect=gnu2 +304: + cc -B. -o out/test/elf/x86_64/tlsdesc/exe4 out/test/elf/x86_64/tlsdesc/b.o out/test/elf/x86_64/tlsdesc/c.so -Wl,-no-relax 317: ++ trap 'on_error $LINENO' ERR 317: ++ trap on_exit EXIT 317: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script10.sh .sh -309: + cat -309: + cc -o out/test/elf/x86_64/undefined-glob/b.o -c -xc - -315: + grep -Fq 'Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x' out/test/elf/x86_64/version-script-search-paths/log -315: + on_exit -315: + echo OK -315: OK -315: + exit 0 +310: + cat +310: + cc -o out/test/elf/x86_64/undefined/a.o -c -x assembler - +303: + grep -q 42 +303: + out/test/elf/x86_64/tlsdesc-static/exe1 +311: + cat +311: + cc -o out/test/elf/x86_64/undefined2/a.o -c -x assembler - +303: + cc -B. -o out/test/elf/x86_64/tlsdesc-static/exe2 out/test/elf/x86_64/tlsdesc-static/a.o out/test/elf/x86_64/tlsdesc-static/b.o -static -Wl,-no-relax 317: ++ testname=version-script10 317: ++ echo -n 'Testing version-script10 ... ' 317: Testing version-script10 ... ++ t=out/test/elf/x86_64/version-script10 317: ++ mkdir -p out/test/elf/x86_64/version-script10 -306/369 Test #315: x86_64-version-script-search-paths ............... Passed 0.08 sec +317: + echo 'VER1 { foo[12]; }; VER2 {};' +317: + cat +317: + 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 +310: + cat +310: + cc -o out/test/elf/x86_64/undefined/b.o -c -x assembler - +311: + cat +311: + cc -o out/test/elf/x86_64/undefined2/b.o -c -x assembler - +310: + cat +310: + cc -o out/test/elf/x86_64/undefined/c.o -c -x assembler - +311: + cat +311: + cc -o out/test/elf/x86_64/undefined2/c.o -c -x assembler - +310: + rm -f out/test/elf/x86_64/undefined/d.a +310: + 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 +313: + 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 +311: + rm -f out/test/elf/x86_64/undefined2/d.a +311: + ar cr out/test/elf/x86_64/undefined2/d.a out/test/elf/x86_64/undefined2/b.o out/test/elf/x86_64/undefined2/c.o +309: + cat +304: + grep -q '42 3 5' +304: + out/test/elf/x86_64/tlsdesc/exe4 +309: + cc -o out/test/elf/x86_64/undefined-glob/a.o -c -xc - +304: + on_exit +304: + echo OK +304: OK +304: + exit 0 +306/369 Test #304: x86_64-tlsdesc ................................... Passed 0.54 sec test 318 Start 318: x86_64-version-script11 @@ -21367,26 +21416,6 @@ 318: MACHINE=x86_64 318: CPU= 318: Test timeout computed to be: 1500 -227: + out/test/elf/x86_64/relocatable-many-sections/exe -227: + grep -q Hello -317: + echo 'VER1 { foo[12]; }; VER2 {};' -317: + cat -317: + 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 -308: + rm -f out/test/elf/x86_64/undefined-glob-gc-sections/d.a -227: + on_exit -227: + echo OK -227: OK -227: + exit 0 -307/369 Test #227: x86_64-relocatable-many-sections ................. Passed 2.54 sec -test 319 - Start 319: x86_64-version-script12 - -319: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script12.sh" -319: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -319: Environment variables: -319: MACHINE=x86_64 -319: CPU= -319: Test timeout computed to be: 1500 318: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script11.sh 318: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 318: ++ export LC_ALL=C @@ -21411,8 +21440,29 @@ 318: ++ echo -n 'Testing version-script11 ... ' 318: Testing version-script11 ... ++ t=out/test/elf/x86_64/version-script11 318: ++ mkdir -p out/test/elf/x86_64/version-script11 -308: + ar cr out/test/elf/x86_64/undefined-glob-gc-sections/d.a out/test/elf/x86_64/undefined-glob-gc-sections/a.o out/test/elf/x86_64/undefined-glob-gc-sections/b.o out/test/elf/x86_64/undefined-glob-gc-sections/c.o 318: + cat +318: + cat +318: + c++ -fPIC -c -o out/test/elf/x86_64/version-script11/b.o -xc - +313: + readelf --dyn-syms out/test/elf/x86_64/unresolved-symbols/exe +313: + grep -w foo +303: + out/test/elf/x86_64/tlsdesc-static/exe2 +303: + grep -q 42 +313: + 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 +313: + grep -q 'undefined.*foo' +303: + on_exit +303: + echo OK +303: OK +303: + exit 0 +307/369 Test #303: x86_64-tlsdesc-static ............................ Passed 0.56 sec +test 319 + Start 319: x86_64-version-script12 + +319: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script12.sh" +319: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +319: Environment variables: +319: MACHINE=x86_64 +319: CPU= +319: Test timeout computed to be: 1500 319: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script12.sh 319: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 319: ++ export LC_ALL=C @@ -21433,22 +21483,22 @@ 319: ++ trap 'on_error $LINENO' ERR 319: ++ trap on_exit EXIT 319: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script12.sh .sh -318: + cat -318: + c++ -fPIC -c -o out/test/elf/x86_64/version-script11/b.o -xc - 319: ++ testname=version-script12 319: ++ echo -n 'Testing version-script12 ... ' 319: Testing version-script12 ... ++ t=out/test/elf/x86_64/version-script12 319: ++ mkdir -p out/test/elf/x86_64/version-script12 -308: + cat -308: + cc -o out/test/elf/x86_64/undefined-glob-gc-sections/e.o -c -xc - -304: + grep -q '42 3 5' 319: + cat -304: + out/test/elf/x86_64/tlsdesc/exe4 -304: + on_exit -304: + echo OK -304: OK -304: + exit 0 -308/369 Test #304: x86_64-tlsdesc ................................... Passed 0.43 sec +319: + cat +319: + c++ -fPIC -c -o out/test/elf/x86_64/version-script12/b.o -xc - +313: + 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 +313: + grep -q 'undefined.*foo' +313: + 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 +313: + grep -q 'undefined.*foo' +313: + on_exit +313: + echo OK +313: OK +313: + exit 0 +308/369 Test #313: x86_64-unresolved-symbols ........................ Passed 0.33 sec test 320 Start 320: x86_64-version-script13 @@ -21458,32 +21508,6 @@ 320: MACHINE=x86_64 320: CPU= 320: Test timeout computed to be: 1500 -309: + cat -309: + cc -o out/test/elf/x86_64/undefined-glob/c.o -c -xc - -316: + readelf --version-info out/test/elf/x86_64/version-script/c.so -316: + grep -Fq 'Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x' out/test/elf/x86_64/version-script/log -319: + cat -319: + c++ -fPIC -c -o out/test/elf/x86_64/version-script12/b.o -xc - -314: + on_exit -314: + echo OK -314: OK -314: + exit 0 -309/369 Test #314: x86_64-verbose ................................... Passed 0.12 sec -test 321 - Start 321: x86_64-version-script14 - -321: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script14.sh" -321: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -321: Environment variables: -321: MACHINE=x86_64 -321: CPU= -321: Test timeout computed to be: 1500 -316: + on_exit -316: + echo OK -316: OK -316: + exit 0 -310: + cat -310: + cc -o out/test/elf/x86_64/undefined/a.o -c -x assembler - 320: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script13.sh 320: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 320: ++ export LC_ALL=C @@ -21503,32 +21527,49 @@ 320: ++ tlsdesc_opt=-mtls-dialect=gnu2 320: ++ trap 'on_error $LINENO' ERR 320: ++ trap on_exit EXIT -310/369 Test #316: x86_64-version-script ............................ Passed 0.10 sec -test 322 - Start 322: x86_64-version-script15 - -322: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script15.sh" -322: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -322: Environment variables: -322: MACHINE=x86_64 -322: CPU= -322: Test timeout computed to be: 1500 -310: + cc -o out/test/elf/x86_64/undefined/b.o -c -x assembler - -310: + cat 320: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script13.sh .sh 320: ++ testname=version-script13 320: ++ echo -n 'Testing version-script13 ... ' 320: Testing version-script13 ... ++ t=out/test/elf/x86_64/version-script13 320: ++ mkdir -p out/test/elf/x86_64/version-script13 -313: + grep -q 'undefined.*foo' -313: + 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 -311: + cat -311: + cc -o out/test/elf/x86_64/undefined2/a.o -c -x assembler - +320: + cat +320: + cat +320: + c++ -fPIC -c -o out/test/elf/x86_64/version-script13/b.o -xc - +310: + ./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 +311: + ./mold -static -o out/test/elf/x86_64/undefined2/exe out/test/elf/x86_64/undefined2/a.o out/test/elf/x86_64/undefined2/d.a -undefined foo +320: + 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 +319: + 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 +310: + readelf --symbols out/test/elf/x86_64/undefined/exe +310: + grep -q foo out/test/elf/x86_64/undefined/log +311: + readelf --symbols out/test/elf/x86_64/undefined2/exe +310: + grep -q bar out/test/elf/x86_64/undefined/log +311: + grep -q foo out/test/elf/x86_64/undefined2/log +310: + ./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 +311: + grep -q ndefined out/test/elf/x86_64/undefined2/log +311: + on_exit +311: + echo OK +311: OK +311: + exit 0 +309/369 Test #311: x86_64-undefined2 ................................ Passed 0.46 sec +test 321 + Start 321: x86_64-version-script14 + +321: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script14.sh" +321: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +321: Environment variables: +321: MACHINE=x86_64 +321: CPU= +321: Test timeout computed to be: 1500 321: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script14.sh +308: + cc -o out/test/elf/x86_64/undefined-glob-gc-sections/b.o -c -xc - +308: + cat +314: + cc -B. -Wl,--verbose -o out/test/elf/x86_64/verbose/exe out/test/elf/x86_64/verbose/a.o +310: + readelf --symbols out/test/elf/x86_64/undefined/exe 321: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 321: ++ export LC_ALL=C 321: ++ LC_ALL=C 321: ++ '[' -z x86_64 ']' +316: + readelf --version-info out/test/elf/x86_64/version-script/c.so 321: ++ '[' -z '' ']' 321: ++ TESTDIR=out/test/elf/x86_64 321: ++ CC=cc @@ -21543,28 +21584,68 @@ 321: ++ tlsdesc_opt=-mtls-dialect=gnu2 321: ++ trap 'on_error $LINENO' ERR 321: ++ trap on_exit EXIT -309: + rm -f out/test/elf/x86_64/undefined-glob/d.a -309: + ar cr out/test/elf/x86_64/undefined-glob/d.a out/test/elf/x86_64/undefined-glob/a.o out/test/elf/x86_64/undefined-glob/b.o out/test/elf/x86_64/undefined-glob/c.o -320: + cat -311: + cc -o out/test/elf/x86_64/undefined2/b.o -c -x assembler - -311: + cat +320: + readelf --dyn-syms out/test/elf/x86_64/version-script13/c.so +319: + readelf --dyn-syms out/test/elf/x86_64/version-script12/c.so 321: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script14.sh .sh -310: + cat -310: + cc -o out/test/elf/x86_64/undefined/c.o -c -x assembler - -309: + cat -309: + cc -o out/test/elf/x86_64/undefined-glob/e.o -c -xc - +316: + grep -Fq 'Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x' out/test/elf/x86_64/version-script/log 321: ++ testname=version-script14 321: ++ echo -n 'Testing version-script14 ... ' 321: Testing version-script14 ... ++ t=out/test/elf/x86_64/version-script14 321: ++ mkdir -p out/test/elf/x86_64/version-script14 -318: + 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 -320: + cat -320: + c++ -fPIC -c -o out/test/elf/x86_64/version-script13/b.o -xc - -308: + cc -B. -o out/test/elf/x86_64/undefined-glob-gc-sections/exe2 out/test/elf/x86_64/undefined-glob-gc-sections/d.a out/test/elf/x86_64/undefined-glob-gc-sections/e.o '-Wl,--undefined-glob=foo*' -Wl,--gc-sections +319: + grep -q ' xyz' out/test/elf/x86_64/version-script12/log +320: + grep -q ' foobar' out/test/elf/x86_64/version-script13/log +316: + on_exit +316: + echo OK +316: OK +316: + exit 0 +321: + cat +310/369 Test #316: x86_64-version-script ............................ Passed 0.28 sec +test 322 + Start 322: x86_64-version-script15 + +322: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script15.sh" +322: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +322: Environment variables: +322: MACHINE=x86_64 +322: CPU= +322: Test timeout computed to be: 1500 +321: + cat +321: + c++ -fPIC -c -o out/test/elf/x86_64/version-script14/b.o -xc - +319: + grep -q ' foo_bar' out/test/elf/x86_64/version-script12/log +319: + grep -q ' foo$' out/test/elf/x86_64/version-script12/log +320: + grep -q ' foo$' out/test/elf/x86_64/version-script13/log +320: + on_exit +320: + echo OK +320: OK +320: + exit 0 +311/369 Test #320: x86_64-version-script13 .......................... Passed 0.12 sec +test 323 + Start 323: x86_64-version-script16 + +323: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script16.sh" +323: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +323: Environment variables: +323: MACHINE=x86_64 +323: CPU= +323: Test timeout computed to be: 1500 +319: + on_exit +319: + echo OK +319: OK +319: + exit 0 322: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script15.sh 322: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 322: ++ export LC_ALL=C 322: ++ LC_ALL=C +312/369 Test #319: x86_64-version-script12 .......................... Passed 0.19 sec +test 324 + Start 324: x86_64-version-script17 + +324: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script17.sh" +324: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +324: Environment variables: +324: MACHINE=x86_64 +324: CPU= +324: Test timeout computed to be: 1500 322: ++ '[' -z x86_64 ']' 322: ++ '[' -z '' ']' 322: ++ TESTDIR=out/test/elf/x86_64 @@ -21580,50 +21661,19 @@ 322: ++ tlsdesc_opt=-mtls-dialect=gnu2 322: ++ trap 'on_error $LINENO' ERR 322: ++ trap on_exit EXIT -310: + rm -f out/test/elf/x86_64/undefined/d.a -303: + out/test/elf/x86_64/tlsdesc-static/exe2 -303: + grep -q 42 -303: + on_exit -303: + echo OK -303: OK -303: + exit 0 -317: + readelf --dyn-syms out/test/elf/x86_64/version-script10/c.so -310: + 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 -311/369 Test #303: x86_64-tlsdesc-static ............................ Passed 0.47 sec -test 323 - Start 323: x86_64-version-script16 - -323: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script16.sh" -323: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -323: Environment variables: -323: MACHINE=x86_64 -323: CPU= -323: Test timeout computed to be: 1500 322: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script15.sh .sh 322: ++ testname=version-script15 322: ++ echo -n 'Testing version-script15 ... ' 322: Testing version-script15 ... ++ t=out/test/elf/x86_64/version-script15 322: ++ mkdir -p out/test/elf/x86_64/version-script15 -311: + cat -311: + cc -o out/test/elf/x86_64/undefined2/c.o -c -x assembler - -311: + rm -f out/test/elf/x86_64/undefined2/d.a -311: + ar cr out/test/elf/x86_64/undefined2/d.a out/test/elf/x86_64/undefined2/b.o out/test/elf/x86_64/undefined2/c.o -317: + grep -q ' foo1@@VER1$' out/test/elf/x86_64/version-script10/log -321: + cat -321: + cat -321: + c++ -fPIC -c -o out/test/elf/x86_64/version-script14/b.o -xc - -319: + 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 -310: + ./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 -322: + cat 323: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script16.sh -322: + c++ -fPIC -c -o out/test/elf/x86_64/version-script15/b.o -xc - -322: + cat 323: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 323: ++ export LC_ALL=C 323: ++ LC_ALL=C 323: ++ '[' -z x86_64 ']' 323: ++ '[' -z '' ']' 323: ++ TESTDIR=out/test/elf/x86_64 +315: + readelf --version-info out/test/elf/x86_64/version-script-search-paths/c.so 323: ++ CC=cc 323: ++ CXX=c++ 323: ++ GCC=gcc @@ -21636,36 +21686,14 @@ 323: ++ tlsdesc_opt=-mtls-dialect=gnu2 323: ++ trap 'on_error $LINENO' ERR 323: ++ trap on_exit EXIT -317: + grep -q ' foo2@@VER1$' out/test/elf/x86_64/version-script10/log -317: + grep -q ' foo3@@VER1$' out/test/elf/x86_64/version-script10/log -317: + on_exit -317: + echo OK -317: OK -317: + exit 0 -311: + ./mold -static -o out/test/elf/x86_64/undefined2/exe out/test/elf/x86_64/undefined2/a.o out/test/elf/x86_64/undefined2/d.a -undefined foo -312/369 Test #317: x86_64-version-script10 .......................... Passed 0.11 sec -test 324 - Start 324: x86_64-version-script17 - -324: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script17.sh" -324: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -324: Environment variables: -324: MACHINE=x86_64 -324: CPU= -324: Test timeout computed to be: 1500 -313: + 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 -310: + readelf --symbols out/test/elf/x86_64/undefined/exe -310: + grep -q foo out/test/elf/x86_64/undefined/log -310: + grep -q bar out/test/elf/x86_64/undefined/log 323: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script16.sh .sh +322: + cat +324: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script17.sh +315: + grep -Fq 'Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x' out/test/elf/x86_64/version-script-search-paths/log 323: ++ testname=version-script16 323: ++ echo -n 'Testing version-script16 ... ' 323: Testing version-script16 ... ++ t=out/test/elf/x86_64/version-script16 323: ++ mkdir -p out/test/elf/x86_64/version-script16 -323: + cat -310: + ./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 -311: + readelf --symbols out/test/elf/x86_64/undefined2/exe -324: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script17.sh 324: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 324: ++ export LC_ALL=C 324: ++ LC_ALL=C @@ -21682,33 +21710,17 @@ 324: ++ QEMU= 324: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 324: ++ tlsdesc_opt=-mtls-dialect=gnu2 +322: + cat 324: ++ trap 'on_error $LINENO' ERR 324: ++ trap on_exit EXIT -318: + readelf --dyn-syms out/test/elf/x86_64/version-script11/c.so -323: + cat -323: + cc -fPIC -c -o out/test/elf/x86_64/version-script16/b.o -xc - +322: + c++ -fPIC -c -o out/test/elf/x86_64/version-script15/b.o -xc - +315: + on_exit +315: + echo OK +315: OK +315: + exit 0 324: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script17.sh .sh -324: ++ testname=version-script17 -318: + grep -q foo@@VER_X1 out/test/elf/x86_64/version-script11/log -309: + cc -B. -o out/test/elf/x86_64/undefined-glob/exe1 out/test/elf/x86_64/undefined-glob/d.a out/test/elf/x86_64/undefined-glob/e.o -324: ++ echo -n 'Testing version-script17 ... ' -324: Testing version-script17 ... ++ t=out/test/elf/x86_64/version-script17 -324: ++ mkdir -p out/test/elf/x86_64/version-script17 -311: + grep -q foo out/test/elf/x86_64/undefined2/log -318: + grep -q ' bar' out/test/elf/x86_64/version-script11/log -321: + 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 -319: + readelf --dyn-syms out/test/elf/x86_64/version-script12/c.so -310: + readelf --symbols out/test/elf/x86_64/undefined/exe -318: + grep -q ' baz' out/test/elf/x86_64/version-script11/log -324: + cat -311: + grep -q ndefined out/test/elf/x86_64/undefined2/log -324: + cc -fPIC -c -o out/test/elf/x86_64/version-script17/a.o -xc - -320: + 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 -318: + on_exit -318: + echo OK -318: OK -318: + exit 0 -313/369 Test #318: x86_64-version-script11 .......................... Passed 0.12 sec +323: + cat +313/369 Test #315: x86_64-version-script-search-paths ............... Passed 0.29 sec test 325 Start 325: x86_64-version-script18 @@ -21718,31 +21730,14 @@ 325: MACHINE=x86_64 325: CPU= 325: Test timeout computed to be: 1500 -319: + grep -q ' xyz' out/test/elf/x86_64/version-script12/log -319: + grep -q ' foo_bar' out/test/elf/x86_64/version-script12/log -310: + grep -q foo out/test/elf/x86_64/undefined/log -310: + grep -q bar out/test/elf/x86_64/undefined/log -311: + on_exit -311: + echo OK -311: OK -311: + exit 0 -308: + readelf -W --symbols out/test/elf/x86_64/undefined-glob-gc-sections/exe2 -314/369 Test #311: x86_64-undefined2 ................................ Passed 0.23 sec -test 326 - Start 326: x86_64-version-script19 - -326: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script19.sh" -326: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -326: Environment variables: -326: MACHINE=x86_64 -326: CPU= -326: Test timeout computed to be: 1500 -319: + grep -q ' foo$' out/test/elf/x86_64/version-script12/log -319: + on_exit -319: + echo OK -319: OK -319: + exit 0 -310: + ./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 +323: + cat +323: + cc -fPIC -c -o out/test/elf/x86_64/version-script16/b.o -xc - +324: ++ testname=version-script17 +324: ++ echo -n 'Testing version-script17 ... ' +324: Testing version-script17 ... ++ t=out/test/elf/x86_64/version-script17 +324: ++ mkdir -p out/test/elf/x86_64/version-script17 +324: + cat +324: + cc -fPIC -c -o out/test/elf/x86_64/version-script17/a.o -xc - 325: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script18.sh 325: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 325: ++ export LC_ALL=C @@ -21767,26 +21762,23 @@ 325: ++ echo -n 'Testing version-script18 ... ' 325: Testing version-script18 ... ++ t=out/test/elf/x86_64/version-script18 325: ++ mkdir -p out/test/elf/x86_64/version-script18 -313: + readelf --dyn-syms out/test/elf/x86_64/unresolved-symbols/exe -313: + grep -w foo -315/369 Test #319: x86_64-version-script12 .......................... Passed 0.12 sec -test 327 - Start 327: x86_64-version-script2 - -327: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script2.sh" -327: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -327: Environment variables: -327: MACHINE=x86_64 -327: CPU= -327: Test timeout computed to be: 1500 325: + cat 325: + cat 325: + cc -fPIC -c -o out/test/elf/x86_64/version-script18/b.o -xc++ - -313: + grep -q 'undefined.*foo' -313: + 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 -308: + grep -q foo out/test/elf/x86_64/undefined-glob-gc-sections/log2 -308: + grep -q foobar out/test/elf/x86_64/undefined-glob-gc-sections/log2 -322: + 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 +314: + on_exit +314: + echo OK +314: OK +314: + exit 0 +314/369 Test #314: x86_64-verbose ................................... Passed 0.31 sec +test 326 + Start 326: x86_64-version-script19 + +326: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script19.sh" +326: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +326: Environment variables: +326: MACHINE=x86_64 +326: CPU= +326: Test timeout computed to be: 1500 326: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script19.sh 326: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 326: ++ export LC_ALL=C @@ -21806,8 +21798,38 @@ 326: ++ tlsdesc_opt=-mtls-dialect=gnu2 326: ++ trap 'on_error $LINENO' ERR 326: ++ trap on_exit EXIT -327: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script2.sh 326: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script19.sh .sh +317: + readelf --dyn-syms out/test/elf/x86_64/version-script10/c.so +309: + cat +309: + cc -o out/test/elf/x86_64/undefined-glob/b.o -c -xc - +326: ++ testname=version-script19 +326: ++ echo -n 'Testing version-script19 ... ' +326: Testing version-script19 ... ++ t=out/test/elf/x86_64/version-script19 +326: ++ mkdir -p out/test/elf/x86_64/version-script19 +317: + grep -q ' foo1@@VER1$' out/test/elf/x86_64/version-script10/log +326: + cat +317: + grep -q ' foo2@@VER1$' out/test/elf/x86_64/version-script10/log +326: + cat +326: + cc -fPIC -c -o out/test/elf/x86_64/version-script19/b.o -xc++ - +317: + grep -q ' foo3@@VER1$' out/test/elf/x86_64/version-script10/log +317: + on_exit +317: + echo OK +317: OK +317: + exit 0 +315/369 Test #317: x86_64-version-script10 .......................... Passed 0.29 sec +test 327 + Start 327: x86_64-version-script2 + +327: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script2.sh" +327: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +327: Environment variables: +327: MACHINE=x86_64 +327: CPU= +327: Test timeout computed to be: 1500 +310: + grep -q foo out/test/elf/x86_64/undefined/log +318: + 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 +327: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script2.sh +310: + grep -q bar out/test/elf/x86_64/undefined/log 327: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 327: ++ export LC_ALL=C 327: ++ LC_ALL=C @@ -21826,29 +21848,34 @@ 327: ++ tlsdesc_opt=-mtls-dialect=gnu2 327: ++ trap 'on_error $LINENO' ERR 327: ++ trap on_exit EXIT -308: + grep -q baz out/test/elf/x86_64/undefined-glob-gc-sections/log2 -323: + 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 -310: + readelf --symbols out/test/elf/x86_64/undefined/exe +310: + ./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 327: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script2.sh .sh -310: + grep -q foo out/test/elf/x86_64/undefined/log -326: ++ testname=version-script19 -326: ++ echo -n 'Testing version-script19 ... ' -326: Testing version-script19 ... ++ t=out/test/elf/x86_64/version-script19 -326: ++ mkdir -p out/test/elf/x86_64/version-script19 -309: + readelf -W --symbols out/test/elf/x86_64/undefined-glob/exe1 +323: + 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 327: ++ testname=version-script2 327: ++ echo -n 'Testing version-script2 ... ' 327: Testing version-script2 ... ++ t=out/test/elf/x86_64/version-script2 327: ++ mkdir -p out/test/elf/x86_64/version-script2 -321: + readelf --dyn-syms out/test/elf/x86_64/version-script14/c.so -324: + cat +308: + cc -o out/test/elf/x86_64/undefined-glob-gc-sections/c.o -c -xc - +308: + cat +327: + cat +325: + 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 +322: + 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 +321: + 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 +309: + cat +309: + cc -o out/test/elf/x86_64/undefined-glob/c.o -c -xc - +310: + readelf --symbols out/test/elf/x86_64/undefined/exe 324: + cc -B. -shared -fPIC -o out/test/elf/x86_64/version-script17/b.so -xc - +327: + cat +327: + 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 - +324: + cat +310: + grep -q foo out/test/elf/x86_64/undefined/log +306: + 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 310: + grep -q bar out/test/elf/x86_64/undefined/log -308: + on_exit -308: + echo OK -308: OK -308: + exit 0 -316/369 Test #308: x86_64-undefined-glob-gc-sections ................ Passed 0.39 sec +310: + on_exit +310: + echo OK +310: OK +310: + exit 0 +316/369 Test #310: x86_64-undefined ................................. Passed 0.64 sec test 328 Start 328: x86_64-version-script20 @@ -21858,15 +21885,14 @@ 328: MACHINE=x86_64 328: CPU= 328: Test timeout computed to be: 1500 -309: + grep -q foo out/test/elf/x86_64/undefined-glob/log1 -326: + cat -327: + cat -321: + grep -q ' xyz' out/test/elf/x86_64/version-script14/log -310: + on_exit -310: + echo OK -310: OK -310: + exit 0 -317/369 Test #310: x86_64-undefined ................................. Passed 0.26 sec +323: + readelf --dyn-syms out/test/elf/x86_64/version-script16/c.so +323: + grep -q foobar +326: + cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script19/a.ver -o out/test/elf/x86_64/version-script19/c.so out/test/elf/x86_64/version-script19/b.o +323: + on_exit +323: + echo OK +323: OK +323: + exit 0 +317/369 Test #323: x86_64-version-script16 .......................... Passed 0.16 sec test 329 Start 329: x86_64-version-script21 @@ -21876,11 +21902,6 @@ 329: MACHINE=x86_64 329: CPU= 329: Test timeout computed to be: 1500 -320: + readelf --dyn-syms out/test/elf/x86_64/version-script13/c.so -309: + grep -q foobar out/test/elf/x86_64/undefined-glob/log1 -321: + grep -q ' foobarzx' out/test/elf/x86_64/version-script14/log -322: + readelf --dyn-syms out/test/elf/x86_64/version-script15/c.so -322: + grep -q ' azZ' out/test/elf/x86_64/version-script15/log 328: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script20.sh 328: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 328: ++ export LC_ALL=C @@ -21901,54 +21922,14 @@ 328: ++ trap 'on_error $LINENO' ERR 328: ++ trap on_exit EXIT 328: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script20.sh .sh -327: + cat -327: + 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 - -320: + grep -q ' foobar' out/test/elf/x86_64/version-script13/log -326: + cat -326: + cc -fPIC -c -o out/test/elf/x86_64/version-script19/b.o -xc++ - -309: + grep -q baz out/test/elf/x86_64/undefined-glob/log1 -320: + grep -q ' foo$' out/test/elf/x86_64/version-script13/log 328: ++ testname=version-script20 328: ++ echo -n 'Testing version-script20 ... ' 328: Testing version-script20 ... ++ t=out/test/elf/x86_64/version-script20 328: ++ mkdir -p out/test/elf/x86_64/version-script20 -322: + grep -q ' czZ' out/test/elf/x86_64/version-script15/log -321: + grep -q ' foobarcx' out/test/elf/x86_64/version-script14/log +328: + cat 329: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script21.sh -320: + on_exit -320: + echo OK -320: OK -320: + exit 0 -318/369 Test #320: x86_64-version-script13 .......................... Passed 0.12 sec -test 330 - Start 330: x86_64-version-script22 - -330: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script22.sh" -330: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -330: Environment variables: -330: MACHINE=x86_64 -330: CPU= -330: Test timeout computed to be: 1500 -322: + grep -q ' azC' out/test/elf/x86_64/version-script15/log -322: + grep -q ' aaZ' out/test/elf/x86_64/version-script15/log -322: + on_exit -322: + echo OK -322: OK -322: + exit 0 -321: + grep -q ' foo123bar456bx' out/test/elf/x86_64/version-script14/log -321: + grep -q ' foo123bar456c' out/test/elf/x86_64/version-script14/log -321: + grep -q ' foo123bar456x' out/test/elf/x86_64/version-script14/log -321: + on_exit -321: + echo OK -321: OK -321: + exit 0 -309: + cc -B. -o out/test/elf/x86_64/undefined-glob/exe2 out/test/elf/x86_64/undefined-glob/d.a out/test/elf/x86_64/undefined-glob/e.o '-Wl,--undefined-glob=foo*' -323: + readelf --dyn-syms out/test/elf/x86_64/version-script16/c.so -323: + grep -q foobar -323: + on_exit -323: + echo OK -323: OK -323: + exit 0 +328: + cat +328: + cc -fPIC -c -o out/test/elf/x86_64/version-script20/b.o -xc - 329: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 329: ++ export LC_ALL=C 329: ++ LC_ALL=C @@ -21967,49 +21948,77 @@ 329: ++ tlsdesc_opt=-mtls-dialect=gnu2 329: ++ trap 'on_error $LINENO' ERR 329: ++ trap on_exit EXIT -328: + cat -319/369 Test #321: x86_64-version-script14 .......................... Passed 0.13 sec -320/369 Test #322: x86_64-version-script15 .......................... Passed 0.12 sec -321/369 Test #323: x86_64-version-script16 .......................... Passed 0.10 sec -test 331 - Start 331: x86_64-version-script23 - -331: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script23.sh" -331: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -331: Environment variables: -331: MACHINE=x86_64 -331: CPU= -331: Test timeout computed to be: 1500 -test 332 - Start 332: x86_64-version-script3 - -332: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script3.sh" -332: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -332: Environment variables: -332: MACHINE=x86_64 -332: CPU= -332: Test timeout computed to be: 1500 -test 333 - Start 333: x86_64-version-script4 - -333: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script4.sh" -333: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -333: Environment variables: -333: MACHINE=x86_64 -333: CPU= -333: Test timeout computed to be: 1500 329: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script21.sh .sh +318: + readelf --dyn-syms out/test/elf/x86_64/version-script11/c.so 329: ++ testname=version-script21 329: ++ echo -n 'Testing version-script21 ... ' 329: Testing version-script21 ... ++ t=out/test/elf/x86_64/version-script21 329: ++ mkdir -p out/test/elf/x86_64/version-script21 +318: + grep -q foo@@VER_X1 out/test/elf/x86_64/version-script11/log 329: + cat +318: + grep -q ' bar' out/test/elf/x86_64/version-script11/log 329: + cat 329: + cc -fPIC -c -o out/test/elf/x86_64/version-script21/b.o -xc - -328: + cc -fPIC -c -o out/test/elf/x86_64/version-script20/b.o -xc - -328: + cat -325: + 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 +321: + readelf --dyn-syms out/test/elf/x86_64/version-script14/c.so +322: + readelf --dyn-syms out/test/elf/x86_64/version-script15/c.so +321: + grep -q ' xyz' out/test/elf/x86_64/version-script14/log +318: + grep -q ' baz' out/test/elf/x86_64/version-script11/log +322: + grep -q ' azZ' out/test/elf/x86_64/version-script15/log +321: + grep -q ' foobarzx' out/test/elf/x86_64/version-script14/log +318: + on_exit +318: + echo OK +318: OK +318: + exit 0 +318/369 Test #318: x86_64-version-script11 .......................... Passed 0.39 sec +test 330 + Start 330: x86_64-version-script22 + +330: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script22.sh" +330: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +330: Environment variables: +330: MACHINE=x86_64 +330: CPU= +330: Test timeout computed to be: 1500 +322: + grep -q ' czZ' out/test/elf/x86_64/version-script15/log +322: + grep -q ' azC' out/test/elf/x86_64/version-script15/log +322: + grep -q ' aaZ' out/test/elf/x86_64/version-script15/log +321: + grep -q ' foobarcx' out/test/elf/x86_64/version-script14/log +321: + grep -q ' foo123bar456bx' out/test/elf/x86_64/version-script14/log +306: + grep -q 'trace-symbol: .*/a.o: reference to foo' out/test/elf/x86_64/trace-symbol/log +306: + grep -q 'trace-symbol: .*/b.o: definition of foo' out/test/elf/x86_64/trace-symbol/log +325: + grep -q Bar +325: + grep libalpha +325: + readelf --wide --dyn-syms out/test/elf/x86_64/version-script18/c.so +322: + on_exit +322: + echo OK +322: OK +322: + exit 0 330: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script22.sh +321: + grep -q ' foo123bar456c' out/test/elf/x86_64/version-script14/log +319/369 Test #322: x86_64-version-script15 .......................... Passed 0.19 sec +test 331 + Start 331: x86_64-version-script23 + +331: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script23.sh" +331: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +331: Environment variables: +331: MACHINE=x86_64 +331: CPU= +331: Test timeout computed to be: 1500 +321: + grep -q ' foo123bar456x' out/test/elf/x86_64/version-script14/log +321: + on_exit +321: + echo OK +321: OK +321: + exit 0 +306: + grep -q 'trace-symbol: .*/c.so: definition of baz' out/test/elf/x86_64/trace-symbol/log +306: + on_exit +306: + echo OK +306: OK +306: + exit 0 +325: + on_exit +325: + echo OK +325: OK +325: + exit 0 330: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 330: ++ export LC_ALL=C 330: ++ LC_ALL=C @@ -22032,10 +22041,38 @@ 330: ++ testname=version-script22 330: ++ echo -n 'Testing version-script22 ... ' 330: Testing version-script22 ... ++ t=out/test/elf/x86_64/version-script22 +326: + readelf -W --dyn-syms out/test/elf/x86_64/version-script19/c.so +320/369 Test #306: x86_64-trace-symbol .............................. Passed 0.85 sec +321/369 Test #325: x86_64-version-script18 .......................... Passed 0.19 sec +test 332 + Start 332: x86_64-version-script3 + +332: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script3.sh" +332: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +332: Environment variables: +332: MACHINE=x86_64 +332: CPU= +332: Test timeout computed to be: 1500 +test 333 + Start 333: x86_64-version-script4 + +333: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script4.sh" +333: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +333: Environment variables: +333: MACHINE=x86_64 +333: CPU= +333: Test timeout computed to be: 1500 +322/369 Test #321: x86_64-version-script14 .......................... Passed 0.22 sec 330: ++ mkdir -p out/test/elf/x86_64/version-script22 330: + cat -313: + 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 -313: + grep -q 'undefined.*foo' +330: + cat +330: + cc -fPIC -c -o out/test/elf/x86_64/version-script22/b.o -xc - +326: + grep -Eq foobar out/test/elf/x86_64/version-script19/log +326: + grep -Eq 'GLOBAL.*baz' out/test/elf/x86_64/version-script19/log +326: + on_exit +326: + echo OK +326: OK +326: + exit 0 331: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script23.sh 331: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 331: ++ export LC_ALL=C @@ -22060,11 +22097,7 @@ 331: ++ echo -n 'Testing version-script23 ... ' 331: Testing version-script23 ... ++ t=out/test/elf/x86_64/version-script23 331: ++ mkdir -p out/test/elf/x86_64/version-script23 -331: + cat -330: + cat -326: + cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script19/a.ver -o out/test/elf/x86_64/version-script19/c.so out/test/elf/x86_64/version-script19/b.o 332: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script3.sh -330: + cc -fPIC -c -o out/test/elf/x86_64/version-script22/b.o -xc - 332: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 332: ++ export LC_ALL=C 332: ++ LC_ALL=C @@ -22083,7 +22116,35 @@ 332: ++ tlsdesc_opt=-mtls-dialect=gnu2 332: ++ trap 'on_error $LINENO' ERR 332: ++ trap on_exit EXIT +323/369 Test #326: x86_64-version-script19 .......................... Passed 0.18 sec +test 334 + Start 334: x86_64-version-script5 + +334: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script5.sh" +334: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +334: Environment variables: +334: MACHINE=x86_64 +334: CPU= +334: Test timeout computed to be: 1500 +test 335 + Start 335: x86_64-version-script6 + +335: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script6.sh" +335: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +335: Environment variables: +335: MACHINE=x86_64 +335: CPU= +335: Test timeout computed to be: 1500 +331: + cat +331: + cat +331: + cc -c -o out/test/elf/x86_64/version-script23/b.o -xassembler - 332: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script3.sh .sh +332: ++ testname=version-script3 +332: ++ echo -n 'Testing version-script3 ... ' +332: Testing version-script3 ... ++ t=out/test/elf/x86_64/version-script3 +332: ++ mkdir -p out/test/elf/x86_64/version-script3 +332: + cat +332: + cat 333: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script4.sh 333: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 333: ++ export LC_ALL=C @@ -22104,75 +22165,36 @@ 333: ++ trap 'on_error $LINENO' ERR 333: ++ trap on_exit EXIT 333: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script4.sh .sh -331: + cat 333: ++ testname=version-script4 333: ++ echo -n 'Testing version-script4 ... ' 333: Testing version-script4 ... ++ t=out/test/elf/x86_64/version-script4 333: ++ mkdir -p out/test/elf/x86_64/version-script4 -332: ++ testname=version-script3 -332: ++ echo -n 'Testing version-script3 ... ' -332: Testing version-script3 ... ++ t=out/test/elf/x86_64/version-script3 -332: ++ mkdir -p out/test/elf/x86_64/version-script3 -331: + cc -c -o out/test/elf/x86_64/version-script23/b.o -xassembler - -332: + cat -332: + 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 - -309: + readelf -W --symbols out/test/elf/x86_64/undefined-glob/exe2 -331: + cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script23/a.ver -o out/test/elf/x86_64/version-script23/c.so out/test/elf/x86_64/version-script23/b.o 333: + cat -332: + cat -309: + grep -q foo out/test/elf/x86_64/undefined-glob/log2 +331: + cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script23/a.ver -o out/test/elf/x86_64/version-script23/c.so out/test/elf/x86_64/version-script23/b.o +332: + 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 - 333: + cat 333: + c++ -fPIC -c -o out/test/elf/x86_64/version-script4/b.o -xc++ - -328: + cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script20/a.ver -o out/test/elf/x86_64/version-script20/c.so out/test/elf/x86_64/version-script20/b.o -313: + 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 -313: + grep -q 'undefined.*foo' -309: + grep -q foobar out/test/elf/x86_64/undefined-glob/log2 -324: + 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 -325: + readelf --wide --dyn-syms out/test/elf/x86_64/version-script18/c.so -309: + grep -q baz out/test/elf/x86_64/undefined-glob/log2 -325: + grep -q Bar -325: + grep libalpha -309: + on_exit -309: + echo OK -309: OK -309: + exit 0 -322/369 Test #309: x86_64-undefined-glob ............................ Passed 0.43 sec -test 334 - Start 334: x86_64-version-script5 - -334: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script5.sh" -334: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -334: Environment variables: -334: MACHINE=x86_64 -334: CPU= -334: Test timeout computed to be: 1500 -325: + on_exit -325: + echo OK -325: OK -325: + exit 0 -327: + cat -327: + cc -xc -c -o out/test/elf/x86_64/version-script2/c.o - -330: + cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script22/a.ver -o out/test/elf/x86_64/version-script22/c.so out/test/elf/x86_64/version-script22/b.o -329: + cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script21/a.ver -o out/test/elf/x86_64/version-script21/c.so out/test/elf/x86_64/version-script21/b.o -323/369 Test #325: x86_64-version-script18 .......................... Passed 0.11 sec -test 335 - Start 335: x86_64-version-script6 - -335: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script6.sh" -335: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -335: Environment variables: -335: MACHINE=x86_64 -335: CPU= -335: Test timeout computed to be: 1500 -326: + readelf -W --dyn-syms out/test/elf/x86_64/version-script19/c.so 334: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script5.sh -333: + 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 -326: + grep -Eq foobar out/test/elf/x86_64/version-script19/log +334: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc +334: ++ export LC_ALL=C +334: ++ LC_ALL=C +334: ++ '[' -z x86_64 ']' +334: ++ '[' -z '' ']' +334: ++ TESTDIR=out/test/elf/x86_64 +334: ++ CC=cc +334: ++ CXX=c++ +334: ++ GCC=gcc +334: ++ GXX=g++ +334: ++ OBJDUMP=objdump +334: ++ OBJCOPY=objcopy +334: ++ STRIP=strip +334: ++ QEMU= +334: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' +334: ++ tlsdesc_opt=-mtls-dialect=gnu2 +334: ++ trap 'on_error $LINENO' ERR +334: ++ trap on_exit EXIT 335: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script6.sh -313: + on_exit -313: + echo OK -313: OK -313: + exit 0 +334: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script5.sh .sh 335: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 335: ++ export LC_ALL=C 335: ++ LC_ALL=C @@ -22191,46 +22213,39 @@ 335: ++ tlsdesc_opt=-mtls-dialect=gnu2 335: ++ trap 'on_error $LINENO' ERR 335: ++ trap on_exit EXIT -326: + grep -Eq 'GLOBAL.*baz' out/test/elf/x86_64/version-script19/log -324/369 Test #313: x86_64-unresolved-symbols ........................ Passed 0.33 sec -test 336 - Start 336: x86_64-version-script7 - -336: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script7.sh" -336: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -336: Environment variables: -336: MACHINE=x86_64 -336: CPU= -336: Test timeout computed to be: 1500 335: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script6.sh .sh -334: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc -334: ++ export LC_ALL=C -334: ++ LC_ALL=C -334: ++ '[' -z x86_64 ']' -334: ++ '[' -z '' ']' -334: ++ TESTDIR=out/test/elf/x86_64 -334: ++ CC=cc -334: ++ CXX=c++ -334: ++ GCC=gcc -334: ++ GXX=g++ -334: ++ OBJDUMP=objdump -334: ++ OBJCOPY=objcopy -334: ++ STRIP=strip -334: ++ QEMU= -334: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' -334: ++ tlsdesc_opt=-mtls-dialect=gnu2 -334: ++ trap 'on_error $LINENO' ERR -334: ++ trap on_exit EXIT -334: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script5.sh .sh 334: ++ testname=version-script5 334: ++ echo -n 'Testing version-script5 ... ' 334: Testing version-script5 ... ++ t=out/test/elf/x86_64/version-script5 334: ++ mkdir -p out/test/elf/x86_64/version-script5 -331: + readelf -W --dyn-syms out/test/elf/x86_64/version-script23/c.so 335: ++ testname=version-script6 335: ++ echo -n 'Testing version-script6 ... ' 335: Testing version-script6 ... ++ t=out/test/elf/x86_64/version-script6 335: ++ mkdir -p out/test/elf/x86_64/version-script6 +335: + cat +334: + cat +335: + cat +335: + c++ -fPIC -c -o out/test/elf/x86_64/version-script6/b.o -xc - +334: + cat +334: + c++ -fPIC -c -o out/test/elf/x86_64/version-script5/b.o -xc - +308: + rm -f out/test/elf/x86_64/undefined-glob-gc-sections/d.a +308: + ar cr out/test/elf/x86_64/undefined-glob-gc-sections/d.a out/test/elf/x86_64/undefined-glob-gc-sections/a.o out/test/elf/x86_64/undefined-glob-gc-sections/b.o out/test/elf/x86_64/undefined-glob-gc-sections/c.o +331: + readelf -W --dyn-syms out/test/elf/x86_64/version-script23/c.so +331: + grep -Fq 'foo?@@VER1' out/test/elf/x86_64/version-script23/log +331: + on_exit +331: + echo OK +331: OK +331: + exit 0 +324/369 Test #331: x86_64-version-script23 .......................... Passed 0.05 sec +test 336 + Start 336: x86_64-version-script7 + +336: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script7.sh" +336: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +336: Environment variables: +336: MACHINE=x86_64 +336: CPU= +336: Test timeout computed to be: 1500 336: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script7.sh 336: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 336: ++ export LC_ALL=C @@ -22250,19 +22265,45 @@ 336: ++ tlsdesc_opt=-mtls-dialect=gnu2 336: ++ trap 'on_error $LINENO' ERR 336: ++ trap on_exit EXIT -334: + cat -331: + grep -Fq 'foo?@@VER1' out/test/elf/x86_64/version-script23/log -331: + on_exit -331: + echo OK -326: + on_exit -326: + echo OK -326: OK -326: + exit 0 -331: OK -331: + exit 0 -327: + 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 -325/369 Test #326: x86_64-version-script19 .......................... Passed 0.13 sec -326/369 Test #331: x86_64-version-script23 .......................... Passed 0.09 sec +336: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script7.sh .sh +336: ++ testname=version-script7 +336: ++ echo -n 'Testing version-script7 ... ' +336: Testing version-script7 ... ++ t=out/test/elf/x86_64/version-script7 +336: ++ mkdir -p out/test/elf/x86_64/version-script7 +336: + cat +336: + cat +336: + c++ -fPIC -c -o out/test/elf/x86_64/version-script7/b.o -xc - +308: + cat +308: + cc -o out/test/elf/x86_64/undefined-glob-gc-sections/e.o -c -xc - +309: + rm -f out/test/elf/x86_64/undefined-glob/d.a +330: + cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script22/a.ver -o out/test/elf/x86_64/version-script22/c.so out/test/elf/x86_64/version-script22/b.o +328: + cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script20/a.ver -o out/test/elf/x86_64/version-script20/c.so out/test/elf/x86_64/version-script20/b.o +335: + 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 +309: + ar cr out/test/elf/x86_64/undefined-glob/d.a out/test/elf/x86_64/undefined-glob/a.o out/test/elf/x86_64/undefined-glob/b.o out/test/elf/x86_64/undefined-glob/c.o +333: + 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 +329: + cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script21/a.ver -o out/test/elf/x86_64/version-script21/c.so out/test/elf/x86_64/version-script21/b.o +334: + 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 +336: + 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 +308: + cc -B. -o out/test/elf/x86_64/undefined-glob-gc-sections/exe2 out/test/elf/x86_64/undefined-glob-gc-sections/d.a out/test/elf/x86_64/undefined-glob-gc-sections/e.o '-Wl,--undefined-glob=foo*' -Wl,--gc-sections +324: + 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 +327: + cat +327: + cc -xc -c -o out/test/elf/x86_64/version-script2/c.o - +332: + cc -xc -c -o out/test/elf/x86_64/version-script3/c.o - +332: + cat +335: + cat +334: + readelf --dyn-syms out/test/elf/x86_64/version-script5/c.so +330: + readelf -W --dyn-syms out/test/elf/x86_64/version-script22/c.so +335: + cat +334: + grep -Fq foo out/test/elf/x86_64/version-script5/log +330: + grep -Fq foo_bar@@VER2 out/test/elf/x86_64/version-script22/log +335: + c++ -fPIC -c -o out/test/elf/x86_64/version-script6/e.o -xc - +334: + grep -Fq ' main' out/test/elf/x86_64/version-script5/log +330: + on_exit +330: + echo OK +330: OK +330: + exit 0 +328: + readelf -W --dyn-syms out/test/elf/x86_64/version-script20/c.so +325/369 Test #330: x86_64-version-script22 .......................... Passed 0.19 sec test 337 Start 337: x86_64-version-script8 @@ -22272,6 +22313,14 @@ 337: MACHINE=x86_64 337: CPU= 337: Test timeout computed to be: 1500 +333: + readelf --dyn-syms out/test/elf/x86_64/version-script4/c.so +334: + on_exit +334: + echo OK +334: OK +334: + exit 0 +328: + grep -Fq foo_x@@VER2 out/test/elf/x86_64/version-script20/log +328: + grep -Fq foo_y@@VER1 out/test/elf/x86_64/version-script20/log +326/369 Test #334: x86_64-version-script5 ........................... Passed 0.17 sec test 338 Start 338: x86_64-version-script9 @@ -22281,24 +22330,17 @@ 338: MACHINE=x86_64 338: CPU= 338: Test timeout computed to be: 1500 -336: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script7.sh .sh -336: ++ testname=version-script7 -336: ++ echo -n 'Testing version-script7 ... ' -336: Testing version-script7 ... ++ t=out/test/elf/x86_64/version-script7 -336: ++ mkdir -p out/test/elf/x86_64/version-script7 -336: + cat -334: + c++ -fPIC -c -o out/test/elf/x86_64/version-script5/b.o -xc - -334: + cat -335: + cat -335: + cat -335: + c++ -fPIC -c -o out/test/elf/x86_64/version-script6/b.o -xc - -328: + readelf -W --dyn-syms out/test/elf/x86_64/version-script20/c.so -328: + grep -Fq foo_x@@VER2 out/test/elf/x86_64/version-script20/log -328: + grep -Fq foo_y@@VER1 out/test/elf/x86_64/version-script20/log -332: + cat -332: + cc -xc -c -o out/test/elf/x86_64/version-script3/c.o - -324: + grep -q foo -324: + nm -g out/test/elf/x86_64/version-script17/exe1 +333: + grep -Fq _ZN3foo3barE out/test/elf/x86_64/version-script4/log +333: + grep -Fq ' bar' out/test/elf/x86_64/version-script4/log +333: + on_exit +333: + echo OK +333: OK +333: + exit 0 +328: + grep -Fq foo_z@@VER1 out/test/elf/x86_64/version-script20/log +328: + on_exit +328: + echo OK +328: OK +328: + exit 0 337: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script8.sh 337: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 337: ++ export LC_ALL=C @@ -22319,8 +22361,63 @@ 337: ++ trap 'on_error $LINENO' ERR 337: ++ trap on_exit EXIT 337: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script8.sh .sh -336: + cat -336: + c++ -fPIC -c -o out/test/elf/x86_64/version-script7/b.o -xc - +337: ++ testname=version-script8 +337: ++ echo -n 'Testing version-script8 ... ' +337: Testing version-script8 ... ++ t=out/test/elf/x86_64/version-script8 +337: ++ mkdir -p out/test/elf/x86_64/version-script8 +337: + cat +336: + readelf --dyn-syms out/test/elf/x86_64/version-script7/c.so +336: + grep -q 'foo$' out/test/elf/x86_64/version-script7/log +336: + grep -q bar@@VER_X1 out/test/elf/x86_64/version-script7/log +336: + on_exit +336: + echo OK +336: OK +336: + exit 0 +324: + nm -g out/test/elf/x86_64/version-script17/exe1 +324: + grep -q foo +324: + cat +324: + 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 +329: + readelf -W --dyn-syms out/test/elf/x86_64/version-script21/c.so +329: + grep -Fq foo_x@@VER1 out/test/elf/x86_64/version-script21/log +329: + grep -Fq foo_y@@VER2 out/test/elf/x86_64/version-script21/log +327/369 Test #328: x86_64-version-script20 .......................... Passed 0.23 sec +328/369 Test #333: x86_64-version-script4 ........................... Passed 0.19 sec +test 339 + Start 339: x86_64-version + +339: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/version.sh" +339: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +339: Environment variables: +339: MACHINE=x86_64 +339: CPU= +339: Test timeout computed to be: 1500 +test 340 + Start 340: x86_64-versioned-undef + +340: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/versioned-undef.sh" +340: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +340: Environment variables: +340: MACHINE=x86_64 +340: CPU= +340: Test timeout computed to be: 1500 +337: + cat +337: + 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 - +329/369 Test #336: x86_64-version-script7 ........................... Passed 0.15 sec +329: + grep -Fq foo_z@@VER2 out/test/elf/x86_64/version-script21/log +329: + on_exit +329: + echo OK +329: OK +329: + exit 0 +309: + cc -o out/test/elf/x86_64/undefined-glob/e.o -c -xc - +309: + cat +308: + readelf -W --symbols out/test/elf/x86_64/undefined-glob-gc-sections/exe2 +308: + grep -q foo out/test/elf/x86_64/undefined-glob-gc-sections/log2 +308: + grep -q foobar out/test/elf/x86_64/undefined-glob-gc-sections/log2 +308: + grep -q baz out/test/elf/x86_64/undefined-glob-gc-sections/log2 +308: + on_exit +308: + echo OK +308: OK +308: + exit 0 338: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script9.sh 338: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 338: ++ export LC_ALL=C @@ -22340,27 +22437,6 @@ 338: ++ tlsdesc_opt=-mtls-dialect=gnu2 338: ++ trap 'on_error $LINENO' ERR 338: ++ trap on_exit EXIT -329: + readelf -W --dyn-syms out/test/elf/x86_64/version-script21/c.so -328: + grep -Fq foo_z@@VER1 out/test/elf/x86_64/version-script20/log -337: ++ testname=version-script8 -337: ++ echo -n 'Testing version-script8 ... ' -337: Testing version-script8 ... ++ t=out/test/elf/x86_64/version-script8 -337: ++ mkdir -p out/test/elf/x86_64/version-script8 -324: + cat -328: + on_exit -328: + echo OK -328: OK -328: + exit 0 -327/369 Test #328: x86_64-version-script20 .......................... Passed 0.13 sec -test 339 - Start 339: x86_64-version - -339: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/version.sh" -339: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -339: Environment variables: -339: MACHINE=x86_64 -339: CPU= -339: Test timeout computed to be: 1500 338: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version-script9.sh .sh 338: ++ testname=version-script9 338: ++ echo -n 'Testing version-script9 ... ' @@ -22368,30 +22444,8 @@ 338: ++ mkdir -p out/test/elf/x86_64/version-script9 338: + echo 'VER1 { extern "C++" {}; foo; }; VER2 {};' 338: + cat -329: + grep -Fq foo_x@@VER1 out/test/elf/x86_64/version-script21/log -329: + grep -Fq foo_y@@VER2 out/test/elf/x86_64/version-script21/log -329: + grep -Fq foo_z@@VER2 out/test/elf/x86_64/version-script21/log -329: + on_exit -329: + echo OK -329: OK -329: + exit 0 -330: + readelf -W --dyn-syms out/test/elf/x86_64/version-script22/c.so -337: + cat -334: + 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 -335: + 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 -330: + grep -Fq foo_bar@@VER2 out/test/elf/x86_64/version-script22/log -324: + 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 338: + 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 -328/369 Test #329: x86_64-version-script21 .......................... Passed 0.13 sec -test 340 - Start 340: x86_64-versioned-undef - -340: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/versioned-undef.sh" -340: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -340: Environment variables: -340: MACHINE=x86_64 -340: CPU= -340: Test timeout computed to be: 1500 +332: + 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 339: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/version.sh 339: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 339: ++ export LC_ALL=C @@ -22416,18 +22470,8 @@ 339: ++ echo -n 'Testing version ... ' 339: Testing version ... ++ t=out/test/elf/x86_64/version 339: ++ mkdir -p out/test/elf/x86_64/version -330: + on_exit -330: + echo OK -330: OK -330: + exit 0 -337: + 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 - -337: + cat -333: + readelf --dyn-syms out/test/elf/x86_64/version-script4/c.so -333: + grep -Fq _ZN3foo3barE out/test/elf/x86_64/version-script4/log -333: + grep -Fq ' bar' out/test/elf/x86_64/version-script4/log -327: + out/test/elf/x86_64/version-script2/exe -327: + readelf --dyn-syms out/test/elf/x86_64/version-script2/exe -329/369 Test #330: x86_64-version-script22 .......................... Passed 0.13 sec +330/369 Test #308: x86_64-undefined-glob-gc-sections ................ Passed 0.97 sec +331/369 Test #329: x86_64-version-script21 .......................... Passed 0.24 sec test 341 Start 341: x86_64-visibility @@ -22437,16 +22481,6 @@ 341: MACHINE=x86_64 341: CPU= 341: Test timeout computed to be: 1500 -339: + nm mold -339: + grep -q __tsan_init -333: + on_exit -333: + echo OK -333: OK -333: + exit 0 -327: + grep -Fq foo@ver1 out/test/elf/x86_64/version-script2/log -340: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/versioned-undef.sh -332: + 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 -330/369 Test #333: x86_64-version-script4 ........................... Passed 0.12 sec test 342 Start 342: x86_64-warn-common @@ -22456,6 +22490,18 @@ 342: MACHINE=x86_64 342: CPU= 342: Test timeout computed to be: 1500 +test 343 + Start 343: x86_64-warn-once + +343: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/warn-once.sh" +343: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +343: Environment variables: +343: MACHINE=x86_64 +343: CPU= +343: Test timeout computed to be: 1500 +339: + nm mold +339: + grep -q __tsan_init +340: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/versioned-undef.sh 340: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 340: ++ export LC_ALL=C 340: ++ LC_ALL=C @@ -22475,6 +22521,16 @@ 340: ++ trap 'on_error $LINENO' ERR 340: ++ trap on_exit EXIT 340: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/versioned-undef.sh .sh +340: ++ testname=versioned-undef +340: ++ echo -n 'Testing versioned-undef ... ' +340: Testing versioned-undef ... ++ t=out/test/elf/x86_64/versioned-undef +340: ++ mkdir -p out/test/elf/x86_64/versioned-undef +340: + is_musl +340: + ldd --version +340: + grep -q musl +340: + cat +340: + cc -fPIC -c -o out/test/elf/x86_64/versioned-undef/a.o -xc - +327: + 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 341: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/visibility.sh 341: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 341: ++ export LC_ALL=C @@ -22499,12 +22555,7 @@ 341: ++ echo -n 'Testing visibility ... ' 341: Testing visibility ... ++ t=out/test/elf/x86_64/visibility 341: ++ mkdir -p out/test/elf/x86_64/visibility -340: ++ testname=versioned-undef -340: ++ echo -n 'Testing versioned-undef ... ' -340: Testing versioned-undef ... ++ t=out/test/elf/x86_64/versioned-undef -340: ++ mkdir -p out/test/elf/x86_64/versioned-undef -340: + is_musl -340: + ldd --version +341: + cat 342: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/warn-common.sh 342: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 342: ++ export LC_ALL=C @@ -22525,69 +22576,17 @@ 342: ++ trap 'on_error $LINENO' ERR 342: ++ trap on_exit EXIT 342: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/warn-common.sh .sh -327: + grep -Fq bar@ver2 out/test/elf/x86_64/version-script2/log -336: + 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 -340: + grep -q musl 342: ++ testname=warn-common 342: ++ echo -n 'Testing warn-common ... ' 342: Testing warn-common ... ++ t=out/test/elf/x86_64/warn-common 342: ++ mkdir -p out/test/elf/x86_64/warn-common -341: + cat 341: + cc -xc -c -o out/test/elf/x86_64/visibility/a.o - -327: + grep -Fq baz@ver3 out/test/elf/x86_64/version-script2/log 342: + cat -342: + cc -fcommon -c -xc -o out/test/elf/x86_64/warn-common/a.o - -335: + cat -327: + on_exit -327: + echo OK -327: OK -327: + exit 0 -335: + cat -324: + nm -g out/test/elf/x86_64/version-script17/exe2 -331/369 Test #327: x86_64-version-script2 ........................... Passed 0.19 sec -test 343 - Start 343: x86_64-warn-once - -343: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/warn-once.sh" -343: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -343: Environment variables: -343: MACHINE=x86_64 -343: CPU= -343: Test timeout computed to be: 1500 -335: + c++ -fPIC -c -o out/test/elf/x86_64/version-script6/e.o -xc - -340: + cat -340: + cc -fPIC -c -o out/test/elf/x86_64/versioned-undef/a.o -xc - -324: + grep -q foo out/test/elf/x86_64/version-script17/log2 -334: + readelf --dyn-syms out/test/elf/x86_64/version-script5/c.so -334: + grep -Fq foo out/test/elf/x86_64/version-script5/log -324: + cat -324: + 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 343: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/warn-once.sh -334: + grep -Fq ' main' out/test/elf/x86_64/version-script5/log 343: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 343: ++ export LC_ALL=C -334: + on_exit -334: + echo OK -334: OK -334: + exit 0 343: ++ LC_ALL=C 343: ++ '[' -z x86_64 ']' -332/369 Test #334: x86_64-version-script5 ........................... Passed 0.11 sec -test 344 - Start 344: x86_64-warn-symbol-type - -344: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/warn-symbol-type.sh" -344: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -344: Environment variables: -344: MACHINE=x86_64 -344: CPU= -344: Test timeout computed to be: 1500 -338: + readelf --dyn-syms out/test/elf/x86_64/version-script9/c.so -338: + grep -q ' foo@@VER1$' out/test/elf/x86_64/version-script9/log -338: + on_exit -338: + echo OK -338: OK -338: + exit 0 343: ++ '[' -z '' ']' 343: ++ TESTDIR=out/test/elf/x86_64 343: ++ CC=cc @@ -22607,23 +22606,38 @@ 343: ++ echo -n 'Testing warn-once ... ' 343: Testing warn-once ... ++ t=out/test/elf/x86_64/warn-once 343: ++ mkdir -p out/test/elf/x86_64/warn-once +342: + cc -fcommon -c -xc -o out/test/elf/x86_64/warn-common/a.o - +343: + cc -c -fPIC -xc -o out/test/elf/x86_64/warn-once/a.o - 343: + cat -341: + cat -341: + cc -xc -c -o out/test/elf/x86_64/visibility/b.o - 332: + out/test/elf/x86_64/version-script3/exe 332: + readelf --dyn-syms out/test/elf/x86_64/version-script3/exe -333/369 Test #338: x86_64-version-script9 ........................... Passed 0.08 sec -test 345 - Start 345: x86_64-warn-unresolved-symbols +324: + nm -g out/test/elf/x86_64/version-script17/exe2 +332: + grep -Fq foo@ver1 out/test/elf/x86_64/version-script3/log +324: + grep -q foo out/test/elf/x86_64/version-script17/log2 +332: + grep -Fq bar@ver2 out/test/elf/x86_64/version-script3/log +324: + cat +332: + grep -Fq baz@ver2 out/test/elf/x86_64/version-script3/log +324: + 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 +327: + out/test/elf/x86_64/version-script2/exe +332: + on_exit +332: + echo OK +332: OK +332: + exit 0 +332/369 Test #332: x86_64-version-script3 ........................... Passed 0.23 sec +test 344 + Start 344: x86_64-warn-symbol-type -345: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/warn-unresolved-symbols.sh" -345: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -345: Environment variables: -345: MACHINE=x86_64 -345: CPU= -345: Test timeout computed to be: 1500 -343: + cc -c -fPIC -xc -o out/test/elf/x86_64/warn-once/a.o - +344: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/warn-symbol-type.sh" +344: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +344: Environment variables: +344: MACHINE=x86_64 +344: CPU= +344: Test timeout computed to be: 1500 +327: + readelf --dyn-syms out/test/elf/x86_64/version-script2/exe +327: + grep -Fq foo@ver1 out/test/elf/x86_64/version-script2/log +327: + grep -Fq bar@ver2 out/test/elf/x86_64/version-script2/log 344: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/warn-symbol-type.sh +327: + grep -Fq baz@ver3 out/test/elf/x86_64/version-script2/log 344: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 344: ++ export LC_ALL=C 344: ++ LC_ALL=C @@ -22640,19 +22654,30 @@ 344: ++ QEMU= 344: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 344: ++ tlsdesc_opt=-mtls-dialect=gnu2 -335: + 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 344: ++ trap 'on_error $LINENO' ERR 344: ++ trap on_exit EXIT +327: + on_exit +327: + echo OK +327: OK +327: + exit 0 344: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/warn-symbol-type.sh .sh -332: + grep -Fq foo@ver1 out/test/elf/x86_64/version-script3/log -336: + readelf --dyn-syms out/test/elf/x86_64/version-script7/c.so -342: + cat -342: + cc -fcommon -c -xc -o out/test/elf/x86_64/warn-common/b.o - -340: + echo 'VER1 { local: *; }; VER2 { local: *; }; VER3 { local: *; };' -340: + 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 +333/369 Test #327: x86_64-version-script2 ........................... Passed 0.40 sec +test 345 + Start 345: x86_64-warn-unresolved-symbols + +345: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/warn-unresolved-symbols.sh" +345: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +345: Environment variables: +345: MACHINE=x86_64 +345: CPU= +345: Test timeout computed to be: 1500 +344: ++ testname=warn-symbol-type +344: ++ echo -n 'Testing warn-symbol-type ... ' +344: Testing warn-symbol-type ... ++ t=out/test/elf/x86_64/warn-symbol-type +344: ++ mkdir -p out/test/elf/x86_64/warn-symbol-type +344: + cat +344: + cc -c -fPIC -xc -o out/test/elf/x86_64/warn-symbol-type/a.o - 345: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/warn-unresolved-symbols.sh -341: + rm -f out/test/elf/x86_64/visibility/c.a -341: + 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 345: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 345: ++ export LC_ALL=C 345: ++ LC_ALL=C @@ -22671,31 +22696,20 @@ 345: ++ tlsdesc_opt=-mtls-dialect=gnu2 345: ++ trap 'on_error $LINENO' ERR 345: ++ trap on_exit EXIT -332: + grep -Fq bar@ver2 out/test/elf/x86_64/version-script3/log 345: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/warn-unresolved-symbols.sh .sh -337: + cat -337: + cc -xc -c -o out/test/elf/x86_64/version-script8/c.o - -344: ++ testname=warn-symbol-type -344: ++ echo -n 'Testing warn-symbol-type ... ' -344: Testing warn-symbol-type ... ++ t=out/test/elf/x86_64/warn-symbol-type -344: ++ mkdir -p out/test/elf/x86_64/warn-symbol-type 345: ++ testname=warn-unresolved-symbols 345: ++ echo -n 'Testing warn-unresolved-symbols ... ' 345: Testing warn-unresolved-symbols ... ++ t=out/test/elf/x86_64/warn-unresolved-symbols 345: ++ mkdir -p out/test/elf/x86_64/warn-unresolved-symbols -344: + cat -344: + cc -c -fPIC -xc -o out/test/elf/x86_64/warn-symbol-type/a.o - -336: + grep -q 'foo$' out/test/elf/x86_64/version-script7/log -336: + grep -q bar@@VER_X1 out/test/elf/x86_64/version-script7/log -345: + cc -c -o out/test/elf/x86_64/warn-unresolved-symbols/a.o -xc - -332: + grep -Fq baz@ver2 out/test/elf/x86_64/version-script3/log 345: + cat -341: + cat -332: + on_exit -332: + echo OK -332: OK -332: + exit 0 -334/369 Test #332: x86_64-version-script3 ........................... Passed 0.19 sec +345: + cc -c -o out/test/elf/x86_64/warn-unresolved-symbols/a.o -xc - +324: + nm -g out/test/elf/x86_64/version-script17/exe3 +324: + grep -q foo out/test/elf/x86_64/version-script17/log3 +324: + on_exit +324: + echo OK +324: OK +324: + exit 0 +334/369 Test #324: x86_64-version-script17 .......................... Passed 0.45 sec test 346 Start 346: x86_64-weak-export-dso @@ -22705,40 +22719,6 @@ 346: MACHINE=x86_64 346: CPU= 346: Test timeout computed to be: 1500 -341: + cc -xc -fPIC -c -o out/test/elf/x86_64/visibility/d.o - -324: + nm -g out/test/elf/x86_64/version-script17/exe3 -324: + grep -q foo out/test/elf/x86_64/version-script17/log3 -324: + on_exit -324: + echo OK -324: OK -324: + exit 0 -343: + cat -343: + cc -c -fPIC -xc -o out/test/elf/x86_64/warn-once/b.o - -336: + on_exit -336: + echo OK -336: OK -336: + exit 0 -335/369 Test #324: x86_64-version-script17 .......................... Passed 0.29 sec -336/369 Test #336: x86_64-version-script7 ........................... Passed 0.13 sec -test 347 - Start 347: x86_64-weak-export-dso2 - -347: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/weak-export-dso2.sh" -347: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -347: Environment variables: -347: MACHINE=x86_64 -347: CPU= -347: Test timeout computed to be: 1500 -test 348 - Start 348: x86_64-weak-export-exe - -348: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/weak-export-exe.sh" -348: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -348: Environment variables: -348: MACHINE=x86_64 -348: CPU= -348: Test timeout computed to be: 1500 -342: + 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 346: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/weak-export-dso.sh 346: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 346: ++ export LC_ALL=C @@ -22763,9 +22743,46 @@ 346: ++ echo -n 'Testing weak-export-dso ... ' 346: Testing weak-export-dso ... ++ t=out/test/elf/x86_64/weak-export-dso 346: ++ mkdir -p out/test/elf/x86_64/weak-export-dso -340: + cc -c -o out/test/elf/x86_64/versioned-undef/d.o -xc - -340: + cat -335: + readelf --dyn-syms out/test/elf/x86_64/version-script6/f.so +346: + cat +346: + cc -fPIC -c -o out/test/elf/x86_64/weak-export-dso/a.o -xc - +346: + cc -B. -o out/test/elf/x86_64/weak-export-dso/b.so out/test/elf/x86_64/weak-export-dso/a.o -shared +341: + cat +341: + cc -xc -c -o out/test/elf/x86_64/visibility/b.o - +339: + ./mold -v +339: + grep -q '[ms]old .*compatible with GNU ld' +340: + echo 'VER1 { local: *; }; VER2 { local: *; }; VER3 { local: *; };' +340: + 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 +342: + cat +342: + cc -fcommon -c -xc -o out/test/elf/x86_64/warn-common/b.o - +335: + 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 +339: + ./mold --version +339: + grep -q '[ms]old .*compatible with GNU ld' +309: + cc -B. -o out/test/elf/x86_64/undefined-glob/exe1 out/test/elf/x86_64/undefined-glob/d.a out/test/elf/x86_64/undefined-glob/e.o +339: + ./mold -V +339: + grep -q '[ms]old .*compatible with GNU ld' +339: + ./mold -V +339: + grep -q elf_x86_64 +339: + ./mold -V +339: + grep -q elf_i386 +338: + readelf --dyn-syms out/test/elf/x86_64/version-script9/c.so +339: + cat +338: + grep -q ' foo@@VER1$' out/test/elf/x86_64/version-script9/log +339: + cc -c -xc -o out/test/elf/x86_64/version/a.o - +338: + on_exit +338: + echo OK +338: OK +338: + exit 0 +335/369 Test #338: x86_64-version-script9 ........................... Passed 0.16 sec +test 347 + Start 347: x86_64-weak-export-dso2 + +347: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/weak-export-dso2.sh" +347: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +347: Environment variables: +347: MACHINE=x86_64 +347: CPU= +347: Test timeout computed to be: 1500 +346: + 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 347: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/weak-export-dso2.sh 347: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 347: ++ export LC_ALL=C @@ -22785,18 +22802,41 @@ 347: ++ tlsdesc_opt=-mtls-dialect=gnu2 347: ++ trap 'on_error $LINENO' ERR 347: ++ trap on_exit EXIT +335: + readelf --dyn-syms out/test/elf/x86_64/version-script6/f.so 347: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/weak-export-dso2.sh .sh 347: ++ testname=weak-export-dso2 347: ++ echo -n 'Testing weak-export-dso2 ... ' 347: Testing weak-export-dso2 ... ++ t=out/test/elf/x86_64/weak-export-dso2 347: ++ mkdir -p out/test/elf/x86_64/weak-export-dso2 -345: + cc -B. -o out/test/elf/x86_64/warn-unresolved-symbols/exe out/test/elf/x86_64/warn-unresolved-symbols/a.o 335: + grep -q foo@VER_X1 out/test/elf/x86_64/version-script6/log -346: + cat -345: + grep -q 'undefined symbol:.*foo' -337: + 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 -348: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/weak-export-exe.sh +309: + readelf -W --symbols out/test/elf/x86_64/undefined-glob/exe1 +347: + cat 335: + grep -q bar@VER_X2 out/test/elf/x86_64/version-script6/log +347: + cc -fPIC -c -o out/test/elf/x86_64/weak-export-dso2/a.o -xc - +309: + grep -q foo out/test/elf/x86_64/undefined-glob/log1 +340: + cat +340: + cc -c -o out/test/elf/x86_64/versioned-undef/d.o -xc - +335: + grep -q baz@@VER_Y2 out/test/elf/x86_64/version-script6/log +309: + grep -q foobar out/test/elf/x86_64/undefined-glob/log1 +335: + on_exit +335: + echo OK +335: OK +335: + exit 0 +336/369 Test #335: x86_64-version-script6 ........................... Passed 0.35 sec +test 348 + Start 348: x86_64-weak-export-exe + +348: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/weak-export-exe.sh" +348: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +348: Environment variables: +348: MACHINE=x86_64 +348: CPU= +348: Test timeout computed to be: 1500 +309: + grep -q baz out/test/elf/x86_64/undefined-glob/log1 +309: + cc -B. -o out/test/elf/x86_64/undefined-glob/exe2 out/test/elf/x86_64/undefined-glob/d.a out/test/elf/x86_64/undefined-glob/e.o '-Wl,--undefined-glob=foo*' +348: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/weak-export-exe.sh +345: + cc -B. -o out/test/elf/x86_64/warn-unresolved-symbols/exe out/test/elf/x86_64/warn-unresolved-symbols/a.o +345: + grep -q 'undefined symbol:.*foo' 348: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 348: ++ export LC_ALL=C 348: ++ LC_ALL=C @@ -22811,25 +22851,26 @@ 348: ++ OBJCOPY=objcopy 348: ++ STRIP=strip 348: ++ QEMU= -347: + cc -fPIC -c -o out/test/elf/x86_64/weak-export-dso2/a.o -xc - -347: + cat -346: + cc -fPIC -c -o out/test/elf/x86_64/weak-export-dso/a.o -xc - 348: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 348: ++ tlsdesc_opt=-mtls-dialect=gnu2 348: ++ trap 'on_error $LINENO' ERR 348: ++ trap on_exit EXIT -335: + grep -q baz@@VER_Y2 out/test/elf/x86_64/version-script6/log 348: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/weak-export-exe.sh .sh 348: ++ testname=weak-export-exe 348: ++ echo -n 'Testing weak-export-exe ... ' 348: Testing weak-export-exe ... ++ t=out/test/elf/x86_64/weak-export-exe 348: ++ mkdir -p out/test/elf/x86_64/weak-export-exe -343: + 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 -335: + on_exit -335: + echo OK -335: OK -335: + exit 0 -337/369 Test #335: x86_64-version-script6 ........................... Passed 0.17 sec +348: + cat +348: + cc -fPIC -c -o out/test/elf/x86_64/weak-export-exe/a.o -xc - +346: + readelf --dyn-syms out/test/elf/x86_64/weak-export-dso/b.so +346: + grep -q 'WEAK DEFAULT UND foo' +346: + readelf --dyn-syms out/test/elf/x86_64/weak-export-dso/c.so +346: + grep -q 'WEAK DEFAULT UND foo' +346: + on_exit +346: + echo OK +346: OK +346: + exit 0 +337/369 Test #346: x86_64-weak-export-dso ........................... Passed 0.12 sec test 349 Start 349: x86_64-weak-undef-dso @@ -22839,10 +22880,6 @@ 349: MACHINE=x86_64 349: CPU= 349: Test timeout computed to be: 1500 -344: + cc -B. -shared -o out/test/elf/x86_64/warn-symbol-type/a.so out/test/elf/x86_64/warn-symbol-type/a.o -348: + cc -fPIC -c -o out/test/elf/x86_64/weak-export-exe/a.o -xc - -341: + 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 -348: + cat 349: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/weak-undef-dso.sh 349: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 349: ++ export LC_ALL=C @@ -22867,27 +22904,19 @@ 349: ++ echo -n 'Testing weak-undef-dso ... ' 349: Testing weak-undef-dso ... ++ t=out/test/elf/x86_64/weak-undef-dso 349: ++ mkdir -p out/test/elf/x86_64/weak-undef-dso -342: + grep -Fq 'multiple common symbols' out/test/elf/x86_64/warn-common/log +309: + readelf -W --symbols out/test/elf/x86_64/undefined-glob/exe2 349: + cat 349: + cc -c -o out/test/elf/x86_64/weak-undef-dso/a.o -fPIC -xc - -340: + 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 -342: + 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 +309: + grep -q foo out/test/elf/x86_64/undefined-glob/log2 +309: + grep -q foobar out/test/elf/x86_64/undefined-glob/log2 +309: + grep -q baz out/test/elf/x86_64/undefined-glob/log2 345: + 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 345: + grep -q 'undefined symbol:.*foo' -343: ++ grep 'undefined symbol:.* foo$' out/test/elf/x86_64/warn-once/log -347: + cc -B. -o out/test/elf/x86_64/weak-export-dso2/b.so out/test/elf/x86_64/weak-export-dso2/a.o -shared -343: ++ wc -l -346: + cc -B. -o out/test/elf/x86_64/weak-export-dso/b.so out/test/elf/x86_64/weak-export-dso/a.o -shared -337: + out/test/elf/x86_64/version-script8/exe -341: + readelf --dyn-syms out/test/elf/x86_64/visibility/e.so -349: + cc -B. -shared -o out/test/elf/x86_64/weak-undef-dso/b.so out/test/elf/x86_64/weak-undef-dso/a.o -343: + '[' 1 = 1 ']' -343: + on_exit -343: + echo OK -343: OK -343: + exit 0 -337: + readelf --dyn-syms out/test/elf/x86_64/version-script8/b.so -338/369 Test #343: x86_64-warn-once ................................. Passed 0.13 sec +309: + on_exit +309: + echo OK +309: OK +309: + exit 0 +338/369 Test #309: x86_64-undefined-glob ............................ Passed 1.08 sec test 350 Start 350: x86_64-weak-undef @@ -22897,27 +22926,7 @@ 350: MACHINE=x86_64 350: CPU= 350: Test timeout computed to be: 1500 -337: + grep -Fq foo@@ver1 out/test/elf/x86_64/version-script8/log -348: + cc -B. -o out/test/elf/x86_64/weak-export-exe/exe out/test/elf/x86_64/weak-export-exe/a.o -344: + grep -q 'warning: symbol type mismatch: times' out/test/elf/x86_64/warn-symbol-type/log -341: + grep -Fq foo out/test/elf/x86_64/visibility/log -344: + on_exit -344: + echo OK -341: + on_exit -341: + echo OK -341: OK -341: + exit 0 350: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/weak-undef.sh -339/369 Test #341: x86_64-visibility ................................ Passed 0.16 sec -test 351 - Start 351: x86_64-weak-undef2 - -351: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/weak-undef2.sh" -351: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -351: Environment variables: -351: MACHINE=x86_64 -351: CPU= -351: Test timeout computed to be: 1500 350: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 350: ++ export LC_ALL=C 350: ++ LC_ALL=C @@ -22937,11 +22946,60 @@ 350: ++ trap 'on_error $LINENO' ERR 350: ++ trap on_exit EXIT 350: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/weak-undef.sh .sh +343: + cat +343: + cc -c -fPIC -xc -o out/test/elf/x86_64/warn-once/b.o - +350: ++ testname=weak-undef +350: ++ echo -n 'Testing weak-undef ... ' +350: Testing weak-undef ... ++ t=out/test/elf/x86_64/weak-undef +350: ++ mkdir -p out/test/elf/x86_64/weak-undef +350: + cat +341: + rm -f out/test/elf/x86_64/visibility/c.a +342: + 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 +350: + cc -c -o out/test/elf/x86_64/weak-undef/a.o -fPIC -xc - +344: + cc -B. -shared -o out/test/elf/x86_64/warn-symbol-type/a.so out/test/elf/x86_64/warn-symbol-type/a.o +341: + 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 +340: + 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 +347: + cc -B. -o out/test/elf/x86_64/weak-export-dso2/b.so out/test/elf/x86_64/weak-export-dso2/a.o -shared +349: + cc -B. -shared -o out/test/elf/x86_64/weak-undef-dso/b.so out/test/elf/x86_64/weak-undef-dso/a.o +339: + rm -f out/test/elf/x86_64/version/exe +345: + 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 +341: + cat +345: + grep -q 'undefined symbol:.*foo' +341: + cc -xc -fPIC -c -o out/test/elf/x86_64/visibility/d.o - +348: + cc -B. -o out/test/elf/x86_64/weak-export-exe/exe out/test/elf/x86_64/weak-export-exe/a.o +339: + grep -q '[ms]old' +339: + cc -B. -Wl,--version -o out/test/elf/x86_64/version/exe1 out/test/elf/x86_64/version/a.o +339: + '[' -f out/test/elf/x86_64/version/exe1 ']' +339: + cc -B. -Wl,-v -o out/test/elf/x86_64/version/exe2 out/test/elf/x86_64/version/a.o +339: + grep -q '[ms]old' +342: + grep -Fq 'multiple common symbols' out/test/elf/x86_64/warn-common/log +342: + 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 +337: + cc -xc -c -o out/test/elf/x86_64/version-script8/c.o - +337: + cat +345: + on_exit +345: + echo OK +345: OK +345: + exit 0 +339/369 Test #345: x86_64-warn-unresolved-symbols ................... Passed 0.27 sec +test 351 + Start 351: x86_64-weak-undef2 + +351: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/weak-undef2.sh" +351: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +351: Environment variables: +351: MACHINE=x86_64 +351: CPU= +351: Test timeout computed to be: 1500 +344: + grep -q 'warning: symbol type mismatch: times' out/test/elf/x86_64/warn-symbol-type/log +347: + cat +347: + cc -fPIC -c -o out/test/elf/x86_64/weak-export-dso2/c.o -xc - +349: + cat +349: + cc -xc -c -o out/test/elf/x86_64/weak-undef-dso/c.o - +344: + on_exit +344: + echo OK 344: OK 344: + exit 0 -340: + out/test/elf/x86_64/versioned-undef/exe -340: + grep -q '^1 2 3 3 4$' -340/369 Test #344: x86_64-warn-symbol-type .......................... Passed 0.12 sec +340/369 Test #344: x86_64-warn-symbol-type .......................... Passed 0.28 sec test 352 Start 352: x86_64-weak-undef4 @@ -22951,46 +23009,8 @@ 352: MACHINE=x86_64 352: CPU= 352: Test timeout computed to be: 1500 -350: ++ testname=weak-undef -350: ++ echo -n 'Testing weak-undef ... ' -350: Testing weak-undef ... ++ t=out/test/elf/x86_64/weak-undef -350: ++ mkdir -p out/test/elf/x86_64/weak-undef -350: + cat -350: + cc -c -o out/test/elf/x86_64/weak-undef/a.o -fPIC -xc - -340: + on_exit -340: + echo OK -340: OK -340: + exit 0 -337: + grep -Fq bar@@ver2 out/test/elf/x86_64/version-script8/log -337: + grep -Fq baz out/test/elf/x86_64/version-script8/log -337: + on_exit -337: + echo OK -337: OK -337: + exit 0 -345: + 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 -345: + grep -q 'undefined symbol:.*foo' 351: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/weak-undef2.sh 351: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc -341/369 Test #337: x86_64-version-script8 ........................... Passed 0.21 sec -342/369 Test #340: x86_64-versioned-undef ........................... Passed 0.19 sec -test 353 - Start 353: x86_64-whole-archive - -353: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/whole-archive.sh" -353: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -353: Environment variables: -353: MACHINE=x86_64 -353: CPU= -353: Test timeout computed to be: 1500 -test 354 - Start 354: x86_64-wrap-lto - -354: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/wrap-lto.sh" -354: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -354: Environment variables: -354: MACHINE=x86_64 -354: CPU= -354: Test timeout computed to be: 1500 351: ++ export LC_ALL=C 351: ++ LC_ALL=C 351: ++ '[' -z x86_64 ']' @@ -23013,7 +23033,6 @@ 351: ++ echo -n 'Testing weak-undef2 ... ' 351: Testing weak-undef2 ... ++ t=out/test/elf/x86_64/weak-undef2 351: ++ mkdir -p out/test/elf/x86_64/weak-undef2 -351: + cat 352: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/weak-undef4.sh 352: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 352: ++ export LC_ALL=C @@ -23038,35 +23057,45 @@ 352: ++ echo -n 'Testing weak-undef4 ... ' 352: Testing weak-undef4 ... ++ t=out/test/elf/x86_64/weak-undef4 352: ++ mkdir -p out/test/elf/x86_64/weak-undef4 +340: + out/test/elf/x86_64/versioned-undef/exe +340: + grep -q '^1 2 3 3 4$' +351: + cc -c -o out/test/elf/x86_64/weak-undef2/a.o -xc - +348: + grep -q 'WEAK DEFAULT UND foo' +340: + on_exit +340: + echo OK +340: OK +340: + exit 0 352: + cc -c -o out/test/elf/x86_64/weak-undef4/a.o -xc - 352: + cat -347: + cat -347: + cc -fPIC -c -o out/test/elf/x86_64/weak-export-dso2/c.o -xc - -346: + 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 -342: + grep -Fq 'multiple common symbols' out/test/elf/x86_64/warn-common/log -351: + cc -c -o out/test/elf/x86_64/weak-undef2/a.o -xc - -342: + on_exit -354: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/wrap-lto.sh -342: + echo OK -342: OK -342: + exit 0 -353: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/whole-archive.sh -354: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc -354: ++ export LC_ALL=C -354: ++ LC_ALL=C -354: ++ '[' -z x86_64 ']' -343/369 Test #342: x86_64-warn-common ............................... Passed 0.19 sec -test 355 - Start 355: x86_64-wrap +341/369 Test #340: x86_64-versioned-undef ........................... Passed 0.33 sec +test 353 + Start 353: x86_64-whole-archive -355: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/wrap.sh" -355: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -355: Environment variables: -355: MACHINE=x86_64 -355: CPU= -355: Test timeout computed to be: 1500 -349: + cc -xc -c -o out/test/elf/x86_64/weak-undef-dso/c.o - -349: + cat +353: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/whole-archive.sh" +353: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +353: Environment variables: +353: MACHINE=x86_64 +353: CPU= +353: Test timeout computed to be: 1500 +348: + readelf --dyn-syms out/test/elf/x86_64/weak-export-exe/exe +348: + out/test/elf/x86_64/weak-export-exe/exe +348: + grep -q '^3$' +351: + cat +348: + on_exit +348: + echo OK +348: OK +348: + exit 0 +342/369 Test #348: x86_64-weak-export-exe ........................... Passed 0.17 sec +test 354 + Start 354: x86_64-wrap-lto + +354: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/wrap-lto.sh" +354: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +354: Environment variables: +354: MACHINE=x86_64 +354: CPU= +354: Test timeout computed to be: 1500 +353: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/whole-archive.sh 353: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 353: ++ export LC_ALL=C 353: ++ LC_ALL=C @@ -23086,10 +23115,32 @@ 353: ++ trap 'on_error $LINENO' ERR 353: ++ trap on_exit EXIT 353: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/whole-archive.sh .sh -348: + readelf --dyn-syms out/test/elf/x86_64/weak-export-exe/exe -348: + grep -q 'WEAK DEFAULT UND foo' -348: + grep -q '^3$' -348: + out/test/elf/x86_64/weak-export-exe/exe +353: ++ testname=whole-archive +353: ++ echo -n 'Testing whole-archive ... ' +353: Testing whole-archive ... ++ t=out/test/elf/x86_64/whole-archive +353: ++ mkdir -p out/test/elf/x86_64/whole-archive +342: + grep -Fq 'multiple common symbols' out/test/elf/x86_64/warn-common/log +342: + on_exit +342: + echo OK +342: OK +342: + exit 0 +343/369 Test #342: x86_64-warn-common ............................... Passed 0.33 sec +test 355 + Start 355: x86_64-wrap + +355: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/wrap.sh" +355: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +355: Environment variables: +355: MACHINE=x86_64 +355: CPU= +355: Test timeout computed to be: 1500 +353: + cat +353: + cc -o out/test/elf/x86_64/whole-archive/a.o -c -x assembler - +354: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/wrap-lto.sh +354: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc +354: ++ export LC_ALL=C +354: ++ LC_ALL=C +354: ++ '[' -z x86_64 ']' 354: ++ '[' -z '' ']' 354: ++ TESTDIR=out/test/elf/x86_64 354: ++ CC=cc @@ -23104,32 +23155,14 @@ 354: ++ tlsdesc_opt=-mtls-dialect=gnu2 354: ++ trap 'on_error $LINENO' ERR 354: ++ trap on_exit EXIT +339: + out/test/elf/x86_64/version/exe2 +339: + grep -q 'Hello world' 354: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/wrap-lto.sh .sh +339: + ./mold --v 354: ++ testname=wrap-lto 354: ++ echo -n 'Testing wrap-lto ... ' 354: Testing wrap-lto ... ++ t=out/test/elf/x86_64/wrap-lto 354: ++ mkdir -p out/test/elf/x86_64/wrap-lto -353: ++ testname=whole-archive -353: ++ echo -n 'Testing whole-archive ... ' -353: Testing whole-archive ... ++ t=out/test/elf/x86_64/whole-archive -353: ++ mkdir -p out/test/elf/x86_64/whole-archive -354: + cat -354: + cc -fPIC -shared -o out/test/elf/x86_64/wrap-lto/a.so -xc - -348: + on_exit -348: + echo OK -348: OK -348: + exit 0 -353: + cat -344/369 Test #348: x86_64-weak-export-exe ........................... Passed 0.11 sec -test 356 - Start 356: x86_64-z-cet-report - -356: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-cet-report.sh" -356: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -356: Environment variables: -356: MACHINE=x86_64 -356: CPU= -356: Test timeout computed to be: 1500 355: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/wrap.sh 355: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 355: ++ export LC_ALL=C @@ -23149,45 +23182,32 @@ 355: ++ tlsdesc_opt=-mtls-dialect=gnu2 355: ++ trap 'on_error $LINENO' ERR 355: ++ trap on_exit EXIT +353: + echo 'int fn1() { return 42; }' +353: + cc -o out/test/elf/x86_64/whole-archive/b.o -c -xc - +354: + cat +354: + cc -fPIC -shared -o out/test/elf/x86_64/wrap-lto/a.so -xc - 355: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/wrap.sh .sh 355: ++ testname=wrap +339: + grep -q 'unknown command line option:' out/test/elf/x86_64/version/log 355: ++ echo -n 'Testing wrap ... ' 355: Testing wrap ... ++ t=out/test/elf/x86_64/wrap 355: ++ mkdir -p out/test/elf/x86_64/wrap -339: + ./mold -v -339: + grep -q '[ms]old .*compatible with GNU ld' -339: + ./mold --version -345: + on_exit -345: + echo OK -345: OK -345: + exit 0 -353: + cc -o out/test/elf/x86_64/whole-archive/a.o -c -x assembler - -346: + readelf --dyn-syms out/test/elf/x86_64/weak-export-dso/b.so -346: + grep -q 'WEAK DEFAULT UND foo' -350: + cat -345/369 Test #345: x86_64-warn-unresolved-symbols ................... Passed 0.16 sec -test 357 - Start 357: x86_64-z-defs +339: + on_exit +339: + echo OK +339: OK +339: + exit 0 +344/369 Test #339: x86_64-version ................................... Passed 0.35 sec +test 356 + Start 356: x86_64-z-cet-report -357: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-defs.sh" -357: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -357: Environment variables: -357: MACHINE=x86_64 -357: CPU= -357: Test timeout computed to be: 1500 +356: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-cet-report.sh" +356: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +356: Environment variables: +356: MACHINE=x86_64 +356: CPU= +356: Test timeout computed to be: 1500 355: + cat -339: + grep -q '[ms]old .*compatible with GNU ld' -339: + ./mold -V -339: + grep -q '[ms]old .*compatible with GNU ld' -353: + echo 'int fn1() { return 42; }' -353: + cc -o out/test/elf/x86_64/whole-archive/b.o -c -xc - -346: + readelf --dyn-syms out/test/elf/x86_64/weak-export-dso/c.so -346: + grep -q 'WEAK DEFAULT UND foo' -346: + on_exit -346: + echo OK -346: OK -346: + exit 0 -350: + cc -c -o out/test/elf/x86_64/weak-undef/b.o -fno-PIC -xc - +355: + cc -fPIC -shared -o out/test/elf/x86_64/wrap/a.so -xc - 356: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-cet-report.sh 356: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 356: ++ export LC_ALL=C @@ -23212,21 +23232,48 @@ 356: ++ echo -n 'Testing z-cet-report ... ' 356: Testing z-cet-report ... ++ t=out/test/elf/x86_64/z-cet-report 356: ++ mkdir -p out/test/elf/x86_64/z-cet-report -346/369 Test #346: x86_64-weak-export-dso ........................... Passed 0.15 sec -test 358 - Start 358: x86_64-z-dynamic-undefined-weak - -358: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-dynamic-undefined-weak.sh" -358: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -358: Environment variables: -358: MACHINE=x86_64 -358: CPU= -358: Test timeout computed to be: 1500 -355: + cc -fPIC -shared -o out/test/elf/x86_64/wrap/a.so -xc - -339: + ./mold -V -339: + grep -q elf_x86_64 356: + cat 356: + cc -o out/test/elf/x86_64/z-cet-report/a.o -c -x assembler - +356: + cc -B. -o out/test/elf/x86_64/z-cet-report/exe out/test/elf/x86_64/z-cet-report/a.o +356: + 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 +356: + grep -q 'a.o: -cet-report=warning: missing GNU_PROPERTY_X86_FEATURE_1_IBT' out/test/elf/x86_64/z-cet-report/log +356: + grep -q 'a.o: -cet-report=warning: missing GNU_PROPERTY_X86_FEATURE_1_SHSTK' out/test/elf/x86_64/z-cet-report/log +356: + 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 +341: + 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 +349: + 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 +337: + 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 +351: + cc -c -o out/test/elf/x86_64/weak-undef2/b.o -xc - +347: + cc -B. -o out/test/elf/x86_64/weak-export-dso2/d.so out/test/elf/x86_64/weak-export-dso2/c.o out/test/elf/x86_64/weak-export-dso2/b.so -shared +350: + cc -c -o out/test/elf/x86_64/weak-undef/b.o -fno-PIC -xc - +343: + 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 +353: + cc -o out/test/elf/x86_64/whole-archive/c.o -c -xc - +351: + cat +352: + cc -c -o out/test/elf/x86_64/weak-undef4/b.o -xc - +350: + cat +352: + cat +353: + echo 'int fn2() { return 42; }' +341: + readelf --dyn-syms out/test/elf/x86_64/visibility/e.so +354: + cat +354: + cc -c -o out/test/elf/x86_64/wrap-lto/b.o -xc - -flto +341: + grep -Fq foo out/test/elf/x86_64/visibility/log +349: + out/test/elf/x86_64/weak-undef-dso/exe1 +349: + grep -q bar=-1 +341: + on_exit +341: + echo OK +341: OK +341: + exit 0 +345/369 Test #341: x86_64-visibility ................................ Passed 0.50 sec +test 357 + Start 357: x86_64-z-defs + +357: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-defs.sh" +357: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +357: Environment variables: +357: MACHINE=x86_64 +357: CPU= +357: Test timeout computed to be: 1500 +349: + cat +349: + cc -xc -c -o out/test/elf/x86_64/weak-undef-dso/d.o - 357: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-defs.sh 357: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 357: ++ export LC_ALL=C @@ -23251,14 +23298,51 @@ 357: ++ echo -n 'Testing z-defs ... ' 357: Testing z-defs ... ++ t=out/test/elf/x86_64/z-defs 357: ++ mkdir -p out/test/elf/x86_64/z-defs -351: + cat -351: + cc -c -o out/test/elf/x86_64/weak-undef2/b.o -xc - -358: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-dynamic-undefined-weak.sh -339: + grep -q elf_i386 -339: + ./mold -V -357: + cc -fPIC -c -o out/test/elf/x86_64/z-defs/a.o -xc - -356: + cc -B. -o out/test/elf/x86_64/z-cet-report/exe out/test/elf/x86_64/z-cet-report/a.o +337: + out/test/elf/x86_64/version-script8/exe +347: + readelf -W --dyn-syms out/test/elf/x86_64/weak-export-dso2/d.so +347: + grep -q 'WEAK DEFAULT UND foo' +337: + readelf --dyn-syms out/test/elf/x86_64/version-script8/b.so 357: + cat +357: + cc -fPIC -c -o out/test/elf/x86_64/z-defs/a.o -xc - +343: ++ grep 'undefined symbol:.* foo$' out/test/elf/x86_64/warn-once/log +343: ++ wc -l +347: + on_exit +347: + echo OK +347: OK +347: + exit 0 +346/369 Test #347: x86_64-weak-export-dso2 .......................... Passed 0.38 sec +test 358 + Start 358: x86_64-z-dynamic-undefined-weak + +358: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-dynamic-undefined-weak.sh" +358: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +358: Environment variables: +358: MACHINE=x86_64 +358: CPU= +358: Test timeout computed to be: 1500 +337: + grep -Fq foo@@ver1 out/test/elf/x86_64/version-script8/log +337: + grep -Fq bar@@ver2 out/test/elf/x86_64/version-script8/log +343: + '[' 1 = 1 ']' +343: + on_exit +343: + echo OK +343: OK +343: + exit 0 +347/369 Test #343: x86_64-warn-once ................................. Passed 0.52 sec +test 359 + Start 359: x86_64-z-max-page-size + +359: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-max-page-size.sh" +359: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +359: Environment variables: +359: MACHINE=x86_64 +359: CPU= +359: Test timeout computed to be: 1500 +337: + grep -Fq baz out/test/elf/x86_64/version-script8/log +337: + on_exit +337: + echo OK +337: OK +337: + exit 0 +358: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-dynamic-undefined-weak.sh 358: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 358: ++ export LC_ALL=C 358: ++ LC_ALL=C @@ -23277,55 +23361,24 @@ 358: ++ tlsdesc_opt=-mtls-dialect=gnu2 358: ++ trap 'on_error $LINENO' ERR 358: ++ trap on_exit EXIT -349: + 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 -347: + cc -B. -o out/test/elf/x86_64/weak-export-dso2/d.so out/test/elf/x86_64/weak-export-dso2/c.o out/test/elf/x86_64/weak-export-dso2/b.so -shared 358: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-dynamic-undefined-weak.sh .sh -352: + cat +355: + cat +355: + cc -c -o out/test/elf/x86_64/wrap/b.o -xc - +348/369 Test #337: x86_64-version-script8 ........................... Passed 0.55 sec +test 360 + Start 360: x86_64-z-nodefaultlib + +360: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-nodefaultlib.sh" +360: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +360: Environment variables: +360: MACHINE=x86_64 +360: CPU= +360: Test timeout computed to be: 1500 358: ++ testname=z-dynamic-undefined-weak 358: ++ echo -n 'Testing z-dynamic-undefined-weak ... ' 358: Testing z-dynamic-undefined-weak ... ++ t=out/test/elf/x86_64/z-dynamic-undefined-weak 358: ++ mkdir -p out/test/elf/x86_64/z-dynamic-undefined-weak -352: + cc -c -o out/test/elf/x86_64/weak-undef4/b.o -xc - -339: + cat 358: + cat -358: + cc -o out/test/elf/x86_64/z-dynamic-undefined-weak/a.o -c -xc - -fPIC -339: + cc -c -xc -o out/test/elf/x86_64/version/a.o - -350: + cat -353: + echo 'int fn2() { return 42; }' -353: + cc -o out/test/elf/x86_64/whole-archive/c.o -c -xc - -350: + cc -fcommon -xc -c -o out/test/elf/x86_64/weak-undef/c.o - -351: + 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 -356: + 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 -357: + cc -B. -shared -o out/test/elf/x86_64/z-defs/b.so out/test/elf/x86_64/z-defs/a.o -354: + cat -354: + cc -c -o out/test/elf/x86_64/wrap-lto/b.o -xc - -flto -358: + 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 -352: + cat -352: + cc -fcommon -xc -c -o out/test/elf/x86_64/weak-undef4/c.o - -347: + grep -q 'WEAK DEFAULT UND foo' -347: + readelf -W --dyn-syms out/test/elf/x86_64/weak-export-dso2/d.so -347: + on_exit -347: + echo OK -347: OK -347: + exit 0 -347/369 Test #347: x86_64-weak-export-dso2 .......................... Passed 0.20 sec -test 359 - Start 359: x86_64-z-max-page-size - -359: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-max-page-size.sh" -359: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -359: Environment variables: -359: MACHINE=x86_64 -359: CPU= -359: Test timeout computed to be: 1500 -349: + grep -q bar=-1 -349: + out/test/elf/x86_64/weak-undef-dso/exe1 -349: + cat -349: + cc -xc -c -o out/test/elf/x86_64/weak-undef-dso/d.o - -353: + rm -f out/test/elf/x86_64/whole-archive/d.a -353: + 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 -355: + cat -355: + cc -c -o out/test/elf/x86_64/wrap/b.o -xc - 359: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-max-page-size.sh 359: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 359: ++ export LC_ALL=C @@ -23346,55 +23399,12 @@ 359: ++ trap 'on_error $LINENO' ERR 359: ++ trap on_exit EXIT 359: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-max-page-size.sh .sh -353: + 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 -350: + cc -B. -o out/test/elf/x86_64/weak-undef/exe1 out/test/elf/x86_64/weak-undef/a.o -pie -358: + 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 -339: + rm -f out/test/elf/x86_64/version/exe -354: + cc -c -o out/test/elf/x86_64/wrap-lto/c.o -xc - -flto +358: + cc -o out/test/elf/x86_64/z-dynamic-undefined-weak/a.o -c -xc - -fPIC 359: ++ testname=z-max-page-size 359: ++ echo -n 'Testing z-max-page-size ... ' 359: Testing z-max-page-size ... ++ t=out/test/elf/x86_64/z-max-page-size 359: ++ mkdir -p out/test/elf/x86_64/z-max-page-size -354: + cat -339: + cc -B. -Wl,--version -o out/test/elf/x86_64/version/exe1 out/test/elf/x86_64/version/a.o -339: + grep -q '[ms]old' -359: + cat -359: + cc -o out/test/elf/x86_64/z-max-page-size/a.o -c -xc - -357: + 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 -356: + grep -q 'a.o: -cet-report=warning: missing GNU_PROPERTY_X86_FEATURE_1_IBT' out/test/elf/x86_64/z-cet-report/log -351: + grep -q 'undefined symbol: foo' out/test/elf/x86_64/weak-undef2/log -339: + '[' -f out/test/elf/x86_64/version/exe1 ']' -356: + grep -q 'a.o: -cet-report=warning: missing GNU_PROPERTY_X86_FEATURE_1_SHSTK' out/test/elf/x86_64/z-cet-report/log -353: + readelf --symbols out/test/elf/x86_64/whole-archive/exe -339: + grep -q '[ms]old' -339: + cc -B. -Wl,-v -o out/test/elf/x86_64/version/exe2 out/test/elf/x86_64/version/a.o -351: + on_exit -351: + echo OK -351: OK -351: + exit 0 -356: + 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 -348/369 Test #351: x86_64-weak-undef2 ............................... Passed 0.16 sec -test 360 - Start 360: x86_64-z-nodefaultlib - -360: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-nodefaultlib.sh" -360: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -360: Environment variables: -360: MACHINE=x86_64 -360: CPU= -360: Test timeout computed to be: 1500 -352: + ar rcs out/test/elf/x86_64/weak-undef4/d.a out/test/elf/x86_64/weak-undef4/c.o -353: + grep -q fn1 out/test/elf/x86_64/whole-archive/readelf -355: + cc -c -o out/test/elf/x86_64/wrap/c.o -xc - -355: + cat -353: + grep -q fn2 out/test/elf/x86_64/whole-archive/readelf -350: + cc -B. -o out/test/elf/x86_64/weak-undef/exe2 out/test/elf/x86_64/weak-undef/b.o -no-pie 360: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-nodefaultlib.sh -354: + 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 -358: + 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 -352: + cc -B. -o out/test/elf/x86_64/weak-undef4/exe1 out/test/elf/x86_64/weak-undef4/a.o out/test/elf/x86_64/weak-undef4/d.a -353: + 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 -349: + 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 360: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 360: ++ export LC_ALL=C 360: ++ LC_ALL=C @@ -23414,30 +23424,21 @@ 360: ++ trap 'on_error $LINENO' ERR 360: ++ trap on_exit EXIT 360: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-nodefaultlib.sh .sh +359: + cat +359: + cc -o out/test/elf/x86_64/z-max-page-size/a.o -c -xc - 360: ++ testname=z-nodefaultlib 360: ++ echo -n 'Testing z-nodefaultlib ... ' 360: Testing z-nodefaultlib ... ++ t=out/test/elf/x86_64/z-nodefaultlib 360: ++ mkdir -p out/test/elf/x86_64/z-nodefaultlib 360: + cat 360: + cc -o out/test/elf/x86_64/z-nodefaultlib/a.o -c -xc - -339: + grep -q 'Hello world' -339: + out/test/elf/x86_64/version/exe2 -357: + 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 -339: + ./mold --v -353: + readelf --symbols out/test/elf/x86_64/whole-archive/exe -353: + grep -q fn1 out/test/elf/x86_64/whole-archive/readelf -352: + cc -B. -o out/test/elf/x86_64/weak-undef4/exe2 out/test/elf/x86_64/weak-undef4/b.o out/test/elf/x86_64/weak-undef4/d.a -359: + 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 356: + grep -q 'a.o: -cet-report=error: missing GNU_PROPERTY_X86_FEATURE_1_IBT' out/test/elf/x86_64/z-cet-report/log -339: + grep -q 'unknown command line option:' out/test/elf/x86_64/version/log -353: + grep -q fn2 out/test/elf/x86_64/whole-archive/readelf -349: + grep -q bar=5 -339: + on_exit -339: + echo OK -339: OK -339: + exit 0 -349: + out/test/elf/x86_64/weak-undef-dso/exe2 -349/369 Test #339: x86_64-version ................................... Passed 0.38 sec +356: + grep -q 'a.o: -cet-report=error: missing GNU_PROPERTY_X86_FEATURE_1_SHSTK' out/test/elf/x86_64/z-cet-report/log +356: + on_exit +356: + echo OK +356: OK +356: + exit 0 +349/369 Test #356: x86_64-z-cet-report .............................. Passed 0.26 sec test 361 Start 361: x86_64-z-nodump @@ -23447,23 +23448,19 @@ 361: MACHINE=x86_64 361: CPU= 361: Test timeout computed to be: 1500 -353: + 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 -350: + 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 -349: + on_exit -349: + echo OK -349: OK -349: + exit 0 -356: + grep -q 'a.o: -cet-report=error: missing GNU_PROPERTY_X86_FEATURE_1_SHSTK' out/test/elf/x86_64/z-cet-report/log -350/369 Test #349: x86_64-weak-undef-dso ............................ Passed 0.27 sec -test 362 - Start 362: x86_64-z-now - -362: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-now.sh" -362: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -362: Environment variables: -362: MACHINE=x86_64 -362: CPU= -362: Test timeout computed to be: 1500 +349: + 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 +354: + cc -c -o out/test/elf/x86_64/wrap-lto/c.o -xc - -flto +354: + cat +350: + cc -fcommon -xc -c -o out/test/elf/x86_64/weak-undef/c.o - +350: + cat +351: + 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 +353: + rm -f out/test/elf/x86_64/whole-archive/d.a +353: + 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 +360: + cc -B. -o out/test/elf/x86_64/z-nodefaultlib/exe out/test/elf/x86_64/z-nodefaultlib/a.o -Wl,-z,nodefaultlib +359: + 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 +352: + cc -fcommon -xc -c -o out/test/elf/x86_64/weak-undef4/c.o - +352: + cat +357: + cc -B. -shared -o out/test/elf/x86_64/z-defs/b.so out/test/elf/x86_64/z-defs/a.o 361: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-nodump.sh 361: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 361: ++ export LC_ALL=C @@ -23483,12 +23480,46 @@ 361: ++ tlsdesc_opt=-mtls-dialect=gnu2 361: ++ trap 'on_error $LINENO' ERR 361: ++ trap on_exit EXIT -356: + on_exit -356: + echo OK -356: OK -356: + exit 0 -358: + cc -o out/test/elf/x86_64/z-dynamic-undefined-weak/e.o -c -xc - -351/369 Test #356: x86_64-z-cet-report .............................. Passed 0.17 sec +361: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-nodump.sh .sh +361: ++ testname=z-nodump +361: ++ echo -n 'Testing z-nodump ... ' +361: Testing z-nodump ... ++ t=out/test/elf/x86_64/z-nodump +361: ++ mkdir -p out/test/elf/x86_64/z-nodump +361: + cat +361: + cc -c -o out/test/elf/x86_64/z-nodump/a.o -xc - +349: + out/test/elf/x86_64/weak-undef-dso/exe2 +360: + readelf --dynamic out/test/elf/x86_64/z-nodefaultlib/exe +360: + grep -q 'Flags:.*NODEFLIB' +349: + grep -q bar=5 +351: + grep -q 'undefined symbol: foo' out/test/elf/x86_64/weak-undef2/log +349: + on_exit +349: + echo OK +349: OK +349: + exit 0 +360: + on_exit +360: + echo OK +360: OK +360: + exit 0 +350/369 Test #349: x86_64-weak-undef-dso ............................ Passed 0.47 sec +test 362 + Start 362: x86_64-z-now + +362: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-now.sh" +362: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +362: Environment variables: +362: MACHINE=x86_64 +362: CPU= +362: Test timeout computed to be: 1500 +357: + 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 +351: + on_exit +351: + echo OK +351: OK +351: + exit 0 +359: + out/test/elf/x86_64/z-max-page-size/exe1 +359: + grep -q 'Hello world' +359: + readelf -W --segments out/test/elf/x86_64/z-max-page-size/exe1 +351/369 Test #351: x86_64-weak-undef2 ............................... Passed 0.34 sec +352/369 Test #360: x86_64-z-nodefaultlib ............................ Passed 0.12 sec test 363 Start 363: x86_64-z-origin @@ -23498,36 +23529,20 @@ 363: MACHINE=x86_64 363: CPU= 363: Test timeout computed to be: 1500 -358: + cat -355: + 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 +test 364 + Start 364: x86_64-z-pack-relative-relocs + +364: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-pack-relative-relocs.sh" +364: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +364: Environment variables: +364: MACHINE=x86_64 +364: CPU= +364: Test timeout computed to be: 1500 +359: + grep -q 'LOAD.*R 0x10000$' +359: + 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 362: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-now.sh 362: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc -361: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-nodump.sh .sh -361: ++ testname=z-nodump -361: ++ echo -n 'Testing z-nodump ... ' -361: Testing z-nodump ... ++ t=out/test/elf/x86_64/z-nodump -361: ++ mkdir -p out/test/elf/x86_64/z-nodump -363: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-origin.sh 362: ++ export LC_ALL=C -360: + cc -B. -o out/test/elf/x86_64/z-nodefaultlib/exe out/test/elf/x86_64/z-nodefaultlib/a.o -Wl,-z,nodefaultlib -363: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc -363: ++ export LC_ALL=C -363: ++ LC_ALL=C -363: ++ '[' -z x86_64 ']' -363: ++ '[' -z '' ']' -363: ++ TESTDIR=out/test/elf/x86_64 -363: ++ CC=cc -363: ++ CXX=c++ -363: ++ GCC=gcc -363: ++ GXX=g++ -363: ++ OBJDUMP=objdump -363: ++ OBJCOPY=objcopy -363: ++ STRIP=strip -363: ++ QEMU= -363: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' -363: ++ tlsdesc_opt=-mtls-dialect=gnu2 -363: ++ trap 'on_error $LINENO' ERR -363: ++ trap on_exit EXIT 362: ++ LC_ALL=C 362: ++ '[' -z x86_64 ']' 362: ++ '[' -z '' ']' @@ -23544,67 +23559,37 @@ 362: ++ tlsdesc_opt=-mtls-dialect=gnu2 362: ++ trap 'on_error $LINENO' ERR 362: ++ trap on_exit EXIT -363: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-origin.sh .sh 362: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-now.sh .sh -361: + cc -c -o out/test/elf/x86_64/z-nodump/a.o -xc - -361: + cat -363: ++ testname=z-origin -363: ++ echo -n 'Testing z-origin ... ' -363: Testing z-origin ... ++ t=out/test/elf/x86_64/z-origin -363: ++ mkdir -p out/test/elf/x86_64/z-origin -363: + cat -363: + cc -c -o out/test/elf/x86_64/z-origin/a.o -xc - -353: + readelf --symbols out/test/elf/x86_64/whole-archive/exe -353: + grep -q fn1 out/test/elf/x86_64/whole-archive/readelf 362: ++ testname=z-now 362: ++ echo -n 'Testing z-now ... ' 362: Testing z-now ... ++ t=out/test/elf/x86_64/z-now 362: ++ mkdir -p out/test/elf/x86_64/z-now -353: + grep -q fn2 out/test/elf/x86_64/whole-archive/readelf -362: + cat -350: + 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 -352: + out/test/elf/x86_64/weak-undef4/exe1 -352: + grep -q '^2$' -362: + cc -o out/test/elf/x86_64/z-now/a.o -c -xc - -352: + out/test/elf/x86_64/weak-undef4/exe2 -353: + on_exit -353: + echo OK -353: OK -353: + exit 0 -352/369 Test #353: x86_64-whole-archive ............................. Passed 0.23 sec -test 364 - Start 364: x86_64-z-pack-relative-relocs - -364: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-pack-relative-relocs.sh" -364: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -364: Environment variables: -364: MACHINE=x86_64 -364: CPU= -364: Test timeout computed to be: 1500 -352: + grep -q '^-1$' -352: + on_exit -352: + echo OK -352: OK -352: + exit 0 -357: + grep -q 'undefined symbol:.* foo' out/test/elf/x86_64/z-defs/log -353/369 Test #352: x86_64-weak-undef4 ............................... Passed 0.25 sec -test 365 - Start 365: x86_64-z-sectionheader - -365: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-sectionheader.sh" -365: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -365: Environment variables: -365: MACHINE=x86_64 -365: CPU= -365: Test timeout computed to be: 1500 -357: + 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 -358: + 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 -359: + grep -q 'Hello world' -359: + out/test/elf/x86_64/z-max-page-size/exe1 -359: + readelf -W --segments out/test/elf/x86_64/z-max-page-size/exe1 -359: + grep -q 'LOAD.*R 0x10000$' -359: + 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 +355: + cat +355: + cc -c -o out/test/elf/x86_64/wrap/c.o -xc - +363: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-origin.sh 364: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-pack-relative-relocs.sh +362: + cc -o out/test/elf/x86_64/z-now/a.o -c -xc - +358: + 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 +363: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc +363: ++ export LC_ALL=C +363: ++ LC_ALL=C +363: ++ '[' -z x86_64 ']' +363: ++ '[' -z '' ']' +363: ++ TESTDIR=out/test/elf/x86_64 +363: ++ CC=cc +363: ++ CXX=c++ +363: ++ GCC=gcc +363: ++ GXX=g++ +363: ++ OBJDUMP=objdump +363: ++ OBJCOPY=objcopy +363: ++ STRIP=strip +363: ++ QEMU= +363: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' +363: ++ tlsdesc_opt=-mtls-dialect=gnu2 +363: ++ trap 'on_error $LINENO' ERR +363: ++ trap on_exit EXIT +353: + 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 +350: + cc -B. -o out/test/elf/x86_64/weak-undef/exe1 out/test/elf/x86_64/weak-undef/a.o -pie 364: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 364: ++ export LC_ALL=C 364: ++ LC_ALL=C @@ -23623,24 +23608,77 @@ 364: ++ tlsdesc_opt=-mtls-dialect=gnu2 364: ++ trap 'on_error $LINENO' ERR 364: ++ trap on_exit EXIT +352: + ar rcs out/test/elf/x86_64/weak-undef4/d.a out/test/elf/x86_64/weak-undef4/c.o +354: + 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 +362: + cat 364: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-pack-relative-relocs.sh .sh 364: ++ testname=z-pack-relative-relocs 364: ++ echo -n 'Testing z-pack-relative-relocs ... ' 364: Testing z-pack-relative-relocs ... ++ t=out/test/elf/x86_64/z-pack-relative-relocs 364: ++ mkdir -p out/test/elf/x86_64/z-pack-relative-relocs +363: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-origin.sh .sh +363: ++ testname=z-origin +363: ++ echo -n 'Testing z-origin ... ' +363: Testing z-origin ... ++ t=out/test/elf/x86_64/z-origin +363: ++ mkdir -p out/test/elf/x86_64/z-origin +361: + cc -B. -shared -o out/test/elf/x86_64/z-nodump/b.so out/test/elf/x86_64/z-nodump/a.o +357: + 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 364: + cc -o out/test/elf/x86_64/z-pack-relative-relocs/a.o -fPIC -c -xc - +363: + cc -c -o out/test/elf/x86_64/z-origin/a.o -xc - +363: + cat 364: + cat -355: + grep -q '^foo$' +353: + readelf --symbols out/test/elf/x86_64/whole-archive/exe +353: + grep -q fn1 out/test/elf/x86_64/whole-archive/readelf +353: + grep -q fn2 out/test/elf/x86_64/whole-archive/readelf +358: + 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 +352: + cc -B. -o out/test/elf/x86_64/weak-undef4/exe1 out/test/elf/x86_64/weak-undef4/a.o out/test/elf/x86_64/weak-undef4/d.a +353: + 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 +362: + cc -B. -o out/test/elf/x86_64/z-now/exe out/test/elf/x86_64/z-now/a.o -Wl,-z,now +355: + 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 +361: + readelf --dynamic out/test/elf/x86_64/z-nodump/b.so +350: + cc -B. -o out/test/elf/x86_64/weak-undef/exe2 out/test/elf/x86_64/weak-undef/b.o -no-pie +361: + grep -Eq 'Flags:.*NODUMP' +364: + cc -B. -o out/test/elf/x86_64/z-pack-relative-relocs/exe out/test/elf/x86_64/z-pack-relative-relocs/a.o -pie -Wl,-z,pack-relative-relocs +361: + 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 +357: + grep -q 'undefined symbol:.* foo' out/test/elf/x86_64/z-defs/log +359: + out/test/elf/x86_64/z-max-page-size/exe2 +357: + 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 +359: + grep -q 'Hello world' +359: + readelf -W --segments out/test/elf/x86_64/z-max-page-size/exe2 +359: + grep -q 'LOAD.*R 0x100000$' +359: + 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 +353: + readelf --symbols out/test/elf/x86_64/whole-archive/exe +352: + cc -B. -o out/test/elf/x86_64/weak-undef4/exe2 out/test/elf/x86_64/weak-undef4/b.o out/test/elf/x86_64/weak-undef4/d.a +350: + 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 +358: + 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 +362: + out/test/elf/x86_64/z-now/exe +361: + readelf --dynamic out/test/elf/x86_64/z-nodump/b.so +362: + grep -q 'Hello world' 355: + out/test/elf/x86_64/wrap/exe +355: + grep -q '^foo$' +364: + readelf -W -V out/test/elf/x86_64/z-pack-relative-relocs/exe +361: + grep -Eq 'Flags:.*NODUMP' +362: + on_exit 355: + 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 -360: + readelf --dynamic out/test/elf/x86_64/z-nodefaultlib/exe -360: + grep -q 'Flags:.*NODEFLIB' -360: + on_exit -360: + echo OK -360: OK -360: + exit 0 -361: + cc -B. -shared -o out/test/elf/x86_64/z-nodump/b.so out/test/elf/x86_64/z-nodump/a.o -354/369 Test #360: x86_64-z-nodefaultlib ............................ Passed 0.11 sec +364: + grep -Fq GLIBC_2. out/test/elf/x86_64/z-pack-relative-relocs/log +362: + echo OK +362: OK +362: + exit 0 +361: + on_exit +361: + echo OK +361: OK +361: + exit 0 +353/369 Test #361: x86_64-z-nodump .................................. Passed 0.28 sec +354/369 Test #362: x86_64-z-now ..................................... Passed 0.25 sec +test 365 + Start 365: x86_64-z-sectionheader + +365: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-sectionheader.sh" +365: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +365: Environment variables: +365: MACHINE=x86_64 +365: CPU= +365: Test timeout computed to be: 1500 test 366 Start 366: x86_64-z-separate-code @@ -23650,10 +23688,22 @@ 366: MACHINE=x86_64 366: CPU= 366: Test timeout computed to be: 1500 -354: + out/test/elf/x86_64/wrap-lto/exe -354: + grep -q '^foo$' -354: + 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 +364: + grep -q GLIBC_ABI_DT_RELR out/test/elf/x86_64/z-pack-relative-relocs/log +364: + on_exit +364: + echo OK +364: OK +364: + exit 0 365: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-sectionheader.sh +355/369 Test #364: x86_64-z-pack-relative-relocs .................... Passed 0.25 sec +test 367 + Start 367: x86_64-z-stack-size + +367: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-stack-size.sh" +367: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +367: Environment variables: +367: MACHINE=x86_64 +367: CPU= +367: Test timeout computed to be: 1500 365: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 365: ++ export LC_ALL=C 365: ++ LC_ALL=C @@ -23673,18 +23723,11 @@ 365: ++ trap 'on_error $LINENO' ERR 365: ++ trap on_exit EXIT 365: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-sectionheader.sh .sh -363: + cc -B. -o out/test/elf/x86_64/z-origin/exe out/test/elf/x86_64/z-origin/a.o -Wl,-z,origin -350: + out/test/elf/x86_64/weak-undef/exe1 -350: + grep -q '^-1$' -362: + cc -B. -o out/test/elf/x86_64/z-now/exe out/test/elf/x86_64/z-now/a.o -Wl,-z,now -366: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-separate-code.sh 365: ++ testname=z-sectionheader 365: ++ echo -n 'Testing z-sectionheader ... ' 365: Testing z-sectionheader ... ++ t=out/test/elf/x86_64/z-sectionheader 365: ++ mkdir -p out/test/elf/x86_64/z-sectionheader -350: + grep -q '^-1$' -350: + out/test/elf/x86_64/weak-undef/exe2 -365: + cat +366: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-separate-code.sh 366: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 366: ++ export LC_ALL=C 366: ++ LC_ALL=C @@ -23703,45 +23746,10 @@ 366: ++ tlsdesc_opt=-mtls-dialect=gnu2 366: ++ trap 'on_error $LINENO' ERR 366: ++ trap on_exit EXIT -365: + cc -o out/test/elf/x86_64/z-sectionheader/a.o -c -xc - 366: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-separate-code.sh .sh -358: + out/test/elf/x86_64/z-dynamic-undefined-weak/exe1 -358: + grep -q 1 -350: + out/test/elf/x86_64/weak-undef/exe3 -350: + grep -q '^2$' -358: + 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 -366: ++ testname=z-separate-code -366: ++ echo -n 'Testing z-separate-code ... ' -366: Testing z-separate-code ... ++ t=out/test/elf/x86_64/z-separate-code -366: ++ mkdir -p out/test/elf/x86_64/z-separate-code -350: + out/test/elf/x86_64/weak-undef/exe4 -350: + grep -q '^2$' -350: + on_exit -350: + echo OK -350: OK -350: + exit 0 -355/369 Test #350: x86_64-weak-undef ................................ Passed 0.30 sec -test 367 - Start 367: x86_64-z-stack-size - -367: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-stack-size.sh" -367: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -367: Environment variables: -367: MACHINE=x86_64 -367: CPU= -367: Test timeout computed to be: 1500 -366: + is_musl -366: + grep -q musl -366: + ldd --version -361: + grep -Eq 'Flags:.*NODUMP' -361: + readelf --dynamic out/test/elf/x86_64/z-nodump/b.so -357: + grep -q 'undefined symbol:.* foo' out/test/elf/x86_64/z-defs/log -363: + readelf --dynamic out/test/elf/x86_64/z-origin/exe -363: + grep -Eq '\(FLAGS\)\s+ORIGIN' -361: + 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 -357: + 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 -355: + grep -q '^wrap_foo$' +365: + cat 367: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-stack-size.sh +365: + cc -o out/test/elf/x86_64/z-sectionheader/a.o -c -xc - 367: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 367: ++ export LC_ALL=C 367: ++ LC_ALL=C @@ -23760,20 +23768,30 @@ 367: ++ tlsdesc_opt=-mtls-dialect=gnu2 367: ++ trap 'on_error $LINENO' ERR 367: ++ trap on_exit EXIT +366: ++ testname=z-separate-code +366: ++ echo -n 'Testing z-separate-code ... ' +366: Testing z-separate-code ... ++ t=out/test/elf/x86_64/z-separate-code +366: ++ mkdir -p out/test/elf/x86_64/z-separate-code 367: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-stack-size.sh .sh -363: + grep -Eq 'Flags:.*ORIGIN' -363: + readelf --dynamic out/test/elf/x86_64/z-origin/exe -355: + out/test/elf/x86_64/wrap/exe +366: + is_musl +366: + grep -q musl +352: + out/test/elf/x86_64/weak-undef4/exe1 +352: + grep -q '^2$' +366: + ldd --version +359: + grep -q 'Hello world' +352: + out/test/elf/x86_64/weak-undef4/exe2 +352: + grep -q '^-1$' +359: + out/test/elf/x86_64/z-max-page-size/exe3 367: ++ testname=z-stack-size 367: ++ echo -n 'Testing z-stack-size ... ' 367: Testing z-stack-size ... ++ t=out/test/elf/x86_64/z-stack-size 367: ++ mkdir -p out/test/elf/x86_64/z-stack-size -366: + cat -363: + on_exit -363: + echo OK -363: OK -363: + exit 0 -356/369 Test #363: x86_64-z-origin .................................. Passed 0.09 sec +359: + readelf -W --segments out/test/elf/x86_64/z-max-page-size/exe3 +352: + on_exit +352: + echo OK +352: OK +352: + exit 0 +356/369 Test #352: x86_64-weak-undef4 ............................... Passed 0.60 sec test 368 Start 368: x86_64-z-start-stop-visibility @@ -23783,12 +23801,30 @@ 368: MACHINE=x86_64 368: CPU= 368: Test timeout computed to be: 1500 -364: + cc -B. -o out/test/elf/x86_64/z-pack-relative-relocs/exe out/test/elf/x86_64/z-pack-relative-relocs/a.o -pie -Wl,-z,pack-relative-relocs +366: + cat 366: + cc -o out/test/elf/x86_64/z-separate-code/a.o -c -xc - -367: + cc -o out/test/elf/x86_64/z-stack-size/a.o -c -xc - +359: + grep -q 'LOAD.*R 0x100000$' +359: + on_exit +359: + echo OK +359: OK +359: + exit 0 367: + cat +367: + cc -o out/test/elf/x86_64/z-stack-size/a.o -c -xc - +350: + 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 +358: + cat +357/369 Test #359: x86_64-z-max-page-size ........................... Passed 0.39 sec +test 369 + Start 369: x86_64-z-unknown + +369: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-unknown.sh" +369: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu +369: Environment variables: +369: MACHINE=x86_64 +369: CPU= +369: Test timeout computed to be: 1500 +358: + cc -o out/test/elf/x86_64/z-dynamic-undefined-weak/e.o -c -xc - 368: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-start-stop-visibility.sh -355: + 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 +369: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-unknown.sh 368: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 368: ++ export LC_ALL=C 368: ++ LC_ALL=C @@ -23807,45 +23843,13 @@ 368: ++ tlsdesc_opt=-mtls-dialect=gnu2 368: ++ trap 'on_error $LINENO' ERR 368: ++ trap on_exit EXIT -358: + grep -q 1 -358: + out/test/elf/x86_64/z-dynamic-undefined-weak/exe2 -368: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-start-stop-visibility.sh .sh -358: + 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 -362: + out/test/elf/x86_64/z-now/exe -362: + grep -q 'Hello world' -362: + on_exit -362: + echo OK -362: OK -362: + exit 0 -368: ++ testname=z-start-stop-visibility -368: ++ echo -n 'Testing z-start-stop-visibility ... ' -368: Testing z-start-stop-visibility ... ++ t=out/test/elf/x86_64/z-start-stop-visibility -368: ++ mkdir -p out/test/elf/x86_64/z-start-stop-visibility -357/369 Test #362: x86_64-z-now ..................................... Passed 0.11 sec -test 369 - Start 369: x86_64-z-unknown - -369: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-unknown.sh" -369: Working Directory: /build/reproducible-path/mold-2.31.0+dfsg/obj-x86_64-linux-gnu -369: Environment variables: -369: MACHINE=x86_64 -369: CPU= -369: Test timeout computed to be: 1500 -368: + cat -368: + cc -o out/test/elf/x86_64/z-start-stop-visibility/a.o -c -xc - -359: + out/test/elf/x86_64/z-max-page-size/exe2 -359: + grep -q 'Hello world' -365: + cc -B. -o out/test/elf/x86_64/z-sectionheader/exe out/test/elf/x86_64/z-sectionheader/a.o -Wl,-z,nosectionheader -359: + readelf -W --segments out/test/elf/x86_64/z-max-page-size/exe2 -359: + grep -q 'LOAD.*R 0x100000$' -359: + 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 -369: ++ dirname /build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-unknown.sh 369: + . /build/reproducible-path/mold-2.31.0+dfsg/test/elf/common.inc 369: ++ export LC_ALL=C 369: ++ LC_ALL=C 369: ++ '[' -z x86_64 ']' 369: ++ '[' -z '' ']' 369: ++ TESTDIR=out/test/elf/x86_64 +368: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-start-stop-visibility.sh .sh 369: ++ CC=cc 369: ++ CXX=c++ 369: ++ GCC=gcc @@ -23859,125 +23863,157 @@ 369: ++ trap 'on_error $LINENO' ERR 369: ++ trap on_exit EXIT 369: +++ basename /build/reproducible-path/mold-2.31.0+dfsg/test/elf/z-unknown.sh .sh -357: + grep -q 'undefined symbol:.* foo$' out/test/elf/x86_64/z-defs/log +368: ++ testname=z-start-stop-visibility +368: ++ echo -n 'Testing z-start-stop-visibility ... ' +368: Testing z-start-stop-visibility ... ++ t=out/test/elf/x86_64/z-start-stop-visibility +368: ++ mkdir -p out/test/elf/x86_64/z-start-stop-visibility +355: + out/test/elf/x86_64/wrap/exe +355: + grep -q '^wrap_foo$' 369: ++ testname=z-unknown 369: ++ echo -n 'Testing z-unknown ... ' 369: Testing z-unknown ... ++ t=out/test/elf/x86_64/z-unknown 369: ++ mkdir -p out/test/elf/x86_64/z-unknown -355: + out/test/elf/x86_64/wrap/exe -355: + grep -q '^foo$' +355: + 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 369: + ./mold -z no-such-opt -357: + on_exit -357: + echo OK -357: OK -357: + exit 0 -358/369 Test #357: x86_64-z-defs .................................... Passed 0.30 sec -355: + on_exit -355: + echo OK -355: OK -355: + exit 0 -359/369 Test #355: x86_64-wrap ...................................... Passed 0.32 sec 369: + grep -q 'unknown command line option: -z no-such-opt' -366: + 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 -369: + grep -q 'unknown command line option: -zno-such-opt' +368: + cat +368: + cc -o out/test/elf/x86_64/z-start-stop-visibility/a.o -c -xc - 369: + ./mold -zno-such-opt -361: + grep -Eq 'Flags:.*NODUMP' -361: + readelf --dynamic out/test/elf/x86_64/z-nodump/b.so -364: + readelf -W -V out/test/elf/x86_64/z-pack-relative-relocs/exe -367: + cc -B. -o out/test/elf/x86_64/z-stack-size/exe out/test/elf/x86_64/z-stack-size/a.o -Wl,-z,stack-size=0x900000 -364: + grep -Fq GLIBC_2. out/test/elf/x86_64/z-pack-relative-relocs/log -361: + on_exit -361: + echo OK -361: OK -361: + exit 0 +369: + grep -q 'unknown command line option: -zno-such-opt' +363: + cc -B. -o out/test/elf/x86_64/z-origin/exe out/test/elf/x86_64/z-origin/a.o -Wl,-z,origin 369: + on_exit 369: + echo OK 369: OK 369: + exit 0 -358: + out/test/elf/x86_64/z-dynamic-undefined-weak/exe3 -358: + grep -q 0 -358: + on_exit -358: + echo OK -358: OK -358: + exit 0 -360/369 Test #358: x86_64-z-dynamic-undefined-weak .................. Passed 0.31 sec -361/369 Test #361: x86_64-z-nodump .................................. Passed 0.16 sec -362/369 Test #369: x86_64-z-unknown ................................. Passed 0.04 sec +358/369 Test #369: x86_64-z-unknown ................................. Passed 0.02 sec +350: + out/test/elf/x86_64/weak-undef/exe1 +350: + grep -q '^-1$' +350: + out/test/elf/x86_64/weak-undef/exe2 +350: + grep -q '^-1$' +350: + out/test/elf/x86_64/weak-undef/exe3 +350: + grep -q '^2$' +350: + out/test/elf/x86_64/weak-undef/exe4 +350: + grep -q '^2$' +350: + on_exit +350: + echo OK +350: OK +350: + exit 0 +359/369 Test #350: x86_64-weak-undef ................................ Passed 0.75 sec +355: + out/test/elf/x86_64/wrap/exe +355: + grep -q '^foo$' +355: + on_exit +355: + echo OK +355: OK +355: + exit 0 +360/369 Test #355: x86_64-wrap ...................................... Passed 0.62 sec +363: + readelf --dynamic out/test/elf/x86_64/z-origin/exe +363: + grep -Eq '\(FLAGS\)\s+ORIGIN' +363: + readelf --dynamic out/test/elf/x86_64/z-origin/exe +363: + grep -Eq 'Flags:.*ORIGIN' +363: + on_exit +363: + echo OK +363: OK +363: + exit 0 +361/369 Test #363: x86_64-z-origin .................................. Passed 0.31 sec +353: + grep -q fn1 out/test/elf/x86_64/whole-archive/readelf +357: + grep -q 'undefined symbol:.* foo' out/test/elf/x86_64/z-defs/log +353: + grep -q fn2 out/test/elf/x86_64/whole-archive/readelf +357: + 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 +353: + 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 +365: + cc -B. -o out/test/elf/x86_64/z-sectionheader/exe out/test/elf/x86_64/z-sectionheader/a.o -Wl,-z,nosectionheader +368: + cc -B. -o out/test/elf/x86_64/z-start-stop-visibility/exe1 out/test/elf/x86_64/z-start-stop-visibility/a.o +358: + 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 365: + out/test/elf/x86_64/z-sectionheader/exe -364: + grep -q GLIBC_ABI_DT_RELR out/test/elf/x86_64/z-pack-relative-relocs/log -354: + grep -q '^wrap_foo$' -354: + out/test/elf/x86_64/wrap-lto/exe 365: + grep -q 'Hello world' -354: + 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 -364: + on_exit -364: + echo OK -364: OK -364: + exit 0 -363/369 Test #364: x86_64-z-pack-relative-relocs .................... Passed 0.12 sec -365: + grep -Eq 'Size of section headers:\s+0 ' +367: + cc -B. -o out/test/elf/x86_64/z-stack-size/exe out/test/elf/x86_64/z-stack-size/a.o -Wl,-z,stack-size=0x900000 365: + readelf -h out/test/elf/x86_64/z-sectionheader/exe -359: + out/test/elf/x86_64/z-max-page-size/exe3 -368: + cc -B. -o out/test/elf/x86_64/z-start-stop-visibility/exe1 out/test/elf/x86_64/z-start-stop-visibility/a.o -359: + grep -q 'Hello world' -366: + out/test/elf/x86_64/z-separate-code/exe1 -366: + grep -q 'Hello world' +365: + grep -Eq 'Size of section headers:\s+0 ' +366: + 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 365: + on_exit 365: + echo OK 365: OK 365: + exit 0 -364/369 Test #365: x86_64-z-sectionheader ........................... Passed 0.12 sec -359: + readelf -W --segments out/test/elf/x86_64/z-max-page-size/exe3 -359: + grep -q 'LOAD.*R 0x100000$' -366: + 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 -359: + on_exit -359: + echo OK -359: OK -359: + exit 0 -365/369 Test #359: x86_64-z-max-page-size ........................... Passed 0.26 sec +362/369 Test #365: x86_64-z-sectionheader ........................... Passed 0.25 sec +357: + grep -q 'undefined symbol:.* foo$' out/test/elf/x86_64/z-defs/log +357: + on_exit +357: + echo OK +357: OK +357: + exit 0 +363/369 Test #357: x86_64-z-defs .................................... Passed 0.69 sec 367: + readelf -W --segments out/test/elf/x86_64/z-stack-size/exe 367: + grep -q 'GNU_STACK .* 0x900000 RW' +368: + readelf -W --dyn-syms out/test/elf/x86_64/z-start-stop-visibility/exe1 +366: + out/test/elf/x86_64/z-separate-code/exe1 +366: + grep -q 'Hello world' 367: + on_exit 367: + echo OK 367: OK 367: + exit 0 -366/369 Test #367: x86_64-z-stack-size .............................. Passed 0.10 sec -368: + readelf -W --dyn-syms out/test/elf/x86_64/z-start-stop-visibility/exe1 368: + grep -q __start_hello out/test/elf/x86_64/z-start-stop-visibility/log1 +364/369 Test #367: x86_64-z-stack-size .............................. Passed 0.32 sec +366: + 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 368: + grep -q __stop_hello out/test/elf/x86_64/z-start-stop-visibility/log1 +358: + out/test/elf/x86_64/z-dynamic-undefined-weak/exe1 +358: + grep -q 1 +358: + 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 368: + cc -B. -o out/test/elf/x86_64/z-start-stop-visibility/exe2 out/test/elf/x86_64/z-start-stop-visibility/a.o -Wl,-z,start-stop-visibility=hidden +353: + readelf --symbols out/test/elf/x86_64/whole-archive/exe +354: + out/test/elf/x86_64/wrap-lto/exe +354: + grep -q '^foo$' +354: + 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 366: + out/test/elf/x86_64/z-separate-code/exe2 366: + grep -q 'Hello world' 366: + 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 +358: + out/test/elf/x86_64/z-dynamic-undefined-weak/exe2 +358: + grep -q 1 +358: + 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 368: + readelf -W --dyn-syms out/test/elf/x86_64/z-start-stop-visibility/exe2 +368: + grep -q __start_hello out/test/elf/x86_64/z-start-stop-visibility/log2 +368: + grep -q __stop_hello out/test/elf/x86_64/z-start-stop-visibility/log2 +368: + cc -B. -o out/test/elf/x86_64/z-start-stop-visibility/exe3 out/test/elf/x86_64/z-start-stop-visibility/a.o -Wl,-z,start-stop-visibility=protected +353: + grep -q fn1 out/test/elf/x86_64/whole-archive/readelf +353: + grep -q fn2 out/test/elf/x86_64/whole-archive/readelf +353: + on_exit +353: + echo OK +353: OK +353: + exit 0 +365/369 Test #353: x86_64-whole-archive ............................. Passed 0.94 sec +368: + readelf -W --dyn-syms out/test/elf/x86_64/z-start-stop-visibility/exe3 366: + out/test/elf/x86_64/z-separate-code/exe3 366: + grep -q 'Hello world' -368: + grep -q __start_hello out/test/elf/x86_64/z-start-stop-visibility/log2 366: + on_exit 366: + echo OK 366: OK 366: + exit 0 -367/369 Test #366: x86_64-z-separate-code ........................... Passed 0.16 sec -368: + grep -q __stop_hello out/test/elf/x86_64/z-start-stop-visibility/log2 -368: + cc -B. -o out/test/elf/x86_64/z-start-stop-visibility/exe3 out/test/elf/x86_64/z-start-stop-visibility/a.o -Wl,-z,start-stop-visibility=protected -354: + out/test/elf/x86_64/wrap-lto/exe -354: + grep -q '^foo$' -354: + on_exit -354: + echo OK -354: OK -354: + exit 0 -368/369 Test #354: x86_64-wrap-lto .................................. Passed 0.42 sec -368: + readelf -W --dyn-syms out/test/elf/x86_64/z-start-stop-visibility/exe3 368: + grep -q __start_hello out/test/elf/x86_64/z-start-stop-visibility/log3 +366/369 Test #366: x86_64-z-separate-code ........................... Passed 0.61 sec 368: + grep -q __stop_hello out/test/elf/x86_64/z-start-stop-visibility/log3 368: + on_exit 368: + echo OK 368: OK 368: + exit 0 -369/369 Test #368: x86_64-z-start-stop-visibility ................... Passed 0.16 sec +367/369 Test #368: x86_64-z-start-stop-visibility ................... Passed 0.59 sec +358: + out/test/elf/x86_64/z-dynamic-undefined-weak/exe3 +358: + grep -q 0 +358: + on_exit +358: + echo OK +358: OK +358: + exit 0 +368/369 Test #358: x86_64-z-dynamic-undefined-weak .................. Passed 0.99 sec +354: + out/test/elf/x86_64/wrap-lto/exe +354: + grep -q '^wrap_foo$' +354: + 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 +354: + out/test/elf/x86_64/wrap-lto/exe +354: + grep -q '^foo$' +354: + on_exit +354: + echo OK +354: OK +354: + exit 0 +369/369 Test #354: x86_64-wrap-lto .................................. Passed 2.51 sec 100% tests passed, 0 tests failed out of 369 -Total Test time (real) = 8.89 sec +Total Test time (real) = 14.17 sec The following tests did not run: 11 - x86_64-x86_64_incompatible-libs-linker-script (Skipped) @@ -24043,12 +24079,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/2516192/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2516192/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/1333524 and its subdirectories -I: Current time: Fri Jun 6 06:27:00 -12 2025 -I: pbuilder-time-stamp: 1749234420 +I: removing directory /srv/workspace/pbuilder/2516192 and its subdirectories +I: Current time: Sun May 5 02:13:35 +14 2024 +I: pbuilder-time-stamp: 1714824815