Diff of the two buildlogs: -- --- b1/build.log 2024-11-13 23:40:36.513568930 +0000 +++ b2/build.log 2024-11-13 23:50:00.729484763 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Dec 16 17:55:11 -12 2025 -I: pbuilder-time-stamp: 1765950911 +I: Current time: Thu Nov 14 13:40:42 +14 2024 +I: pbuilder-time-stamp: 1731541242 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -28,52 +28,84 @@ dpkg-source: info: applying cherry-pick-fix-1342.diff I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/682609/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/229097/tmp/hooks/D01_modify_environment starting +debug: Running on codethink02-arm64. +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 Nov 13 23:40 /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/229097/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/229097/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='arm64' - 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]="32" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='e8aa32b2db884b929ea3a332e23d1d23' - 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='682609' - PS1='# ' - PS2='> ' + INVOCATION_ID=2c4c0307d33e4fc7b1e058383a400e5b + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=229097 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.IbWx6OyT/pbuilderrc_sF0g --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.IbWx6OyT/b1 --logfile b1/build.log mold_2.34.1+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' - http_proxy='http://192.168.101.4:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.IbWx6OyT/pbuilderrc_MRjB --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.IbWx6OyT/b2 --logfile b2/build.log mold_2.34.1+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' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink03-arm64 6.1.0-27-cloud-arm64 #1 SMP Debian 6.1.115-1 (2024-11-01) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-27-cloud-arm64 #1 SMP Debian 6.1.115-1 (2024-11-01) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/682609/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/229097/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -214,7 +246,7 @@ Get: 87 http://deb.debian.org/debian trixie/main arm64 pkgconf arm64 1.8.1-4 [26.1 kB] Get: 88 http://deb.debian.org/debian trixie/main arm64 pkg-config arm64 1.8.1-4 [14.0 kB] Get: 89 http://deb.debian.org/debian trixie/main arm64 zlib1g-dev arm64 1:1.3.dfsg+really1.3.1-1+b1 [917 kB] -Fetched 51.8 MB in 0s (187 MB/s) +Fetched 51.8 MB in 0s (199 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 ... 20091 files and directories currently installed.) @@ -521,8 +553,8 @@ Setting up tzdata (2024b-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Wed Dec 17 05:55:29 UTC 2025. -Universal Time is now: Wed Dec 17 05:55:29 UTC 2025. +Local time is now: Wed Nov 13 23:41:01 UTC 2024. +Universal Time is now: Wed Nov 13 23:41:01 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libdwarf1:arm64 (20210528-1+b3) ... @@ -599,7 +631,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/mold-2.34.1+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../mold_2.34.1+dfsg-1_source.changes +I: user script /srv/workspace/pbuilder/229097/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/229097/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/mold-2.34.1+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../mold_2.34.1+dfsg-1_source.changes dpkg-buildpackage: info: source package mold dpkg-buildpackage: info: source version 2.34.1+dfsg-1 dpkg-buildpackage: info: source distribution unstable @@ -714,7 +750,7 @@ -- Performing Test HAVE_FULL_ATOMIC_SUPPORT - Success -- Looking for madvise -- Looking for madvise - found --- Configuring done (7.6s) +-- Configuring done (6.4s) -- Generating done (0.1s) CMake Warning: Manually-specified variables were not used by the project: @@ -737,69 +773,66 @@ make -f third-party/tbb/src/tbb/CMakeFiles/tbb.dir/build.make third-party/tbb/src/tbb/CMakeFiles/tbb.dir/depend make -f CMakeFiles/git_hash.dir/build.make CMakeFiles/git_hash.dir/depend 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[3]: Entering directory '/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu' cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/mold-2.34.1+dfsg /build/reproducible-path/mold-2.34.1+dfsg /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/CMakeFiles/git_hash.dir/DependInfo.cmake "--color=" make[3]: Entering directory '/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu' make[3]: Entering directory '/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu' cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/mold-2.34.1+dfsg /build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/tbb/src/tbb /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/tbb/src/tbb/CMakeFiles/tbb.dir/DependInfo.cmake "--color=" +make -f third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/build.make third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/depend cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/mold-2.34.1+dfsg /build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/blake3/c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/blake3/c/CMakeFiles/blake3.dir/DependInfo.cmake "--color=" make[3]: Entering directory '/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu' -make -f CMakeFiles/mold-wrapper.dir/build.make CMakeFiles/mold-wrapper.dir/depend +cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/mold-2.34.1+dfsg /build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/DependInfo.cmake "--color=" +make -f third-party/mimalloc/CMakeFiles/mimalloc-static.dir/build.make third-party/mimalloc/CMakeFiles/mimalloc-static.dir/depend +make[3]: Entering directory '/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu' cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/mold-2.34.1+dfsg /build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/mimalloc /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/mimalloc/CMakeFiles/mimalloc-static.dir/DependInfo.cmake "--color=" +make -f CMakeFiles/mold-wrapper.dir/build.make CMakeFiles/mold-wrapper.dir/depend make[3]: Entering directory '/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu' cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/mold-2.34.1+dfsg /build/reproducible-path/mold-2.34.1+dfsg /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/CMakeFiles/mold-wrapper.dir/DependInfo.cmake "--color=" -make[3]: Entering directory '/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu' -cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/mold-2.34.1+dfsg /build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/DependInfo.cmake "--color=" -make[3]: Leaving directory '/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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]: Leaving directory '/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu' +make -f CMakeFiles/git_hash.dir/build.make CMakeFiles/git_hash.dir/build make[3]: Leaving directory '/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu' -make -f CMakeFiles/git_hash.dir/build.make CMakeFiles/git_hash.dir/build +/usr/bin/cmake -DSOURCE_DIR=/build/reproducible-path/mold-2.34.1+dfsg -DOUTPUT_FILE=/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/git-hash.cc -P /build/reproducible-path/mold-2.34.1+dfsg/lib/update-git-hash.cmake +make[3]: Leaving directory '/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu' make[3]: Entering directory '/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu' make -f third-party/blake3/c/CMakeFiles/blake3.dir/build.make third-party/blake3/c/CMakeFiles/blake3.dir/build -/usr/bin/cmake -DSOURCE_DIR=/build/reproducible-path/mold-2.34.1+dfsg -DOUTPUT_FILE=/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/git-hash.cc -P /build/reproducible-path/mold-2.34.1+dfsg/lib/update-git-hash.cmake make[3]: Leaving directory '/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu' make[3]: Leaving directory '/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu' +make[3]: Entering directory '/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu' +make -f third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/build.make third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/build +make[3]: Leaving directory '/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu' make -f third-party/mimalloc/CMakeFiles/mimalloc-static.dir/build.make third-party/mimalloc/CMakeFiles/mimalloc-static.dir/build make[3]: Entering directory '/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu' -[ 0%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/allocator.cpp.o +make[3]: Leaving directory '/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu' +[ 0%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/address_waiter.cpp.o [ 0%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/arena_slot.cpp.o +cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/address_waiter.cpp make -f CMakeFiles/mold-wrapper.dir/build.make CMakeFiles/mold-wrapper.dir/build -cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/allocator.cpp +[ 0%] Building C object third-party/blake3/c/CMakeFiles/blake3.dir/blake3.c.o make[3]: Entering directory '/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu' make[3]: Entering directory '/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu' -cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/arena_slot.cpp -[ 0%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/address_waiter.cpp.o +cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/blake3/c && /usr/bin/cc -DBLAKE3_USE_NEON=1 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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.34.1+dfsg/third-party/blake3/c/blake3.c [ 0%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/arena.cpp.o -make[3]: Leaving directory '/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu' -cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/address_waiter.cpp -cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/arena.cpp -make[3]: Leaving directory '/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 [ 0%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/concurrent_bounded_queue.cpp.o -cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/concurrent_bounded_queue.cpp -make[3]: Entering directory '/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu' -[ 0%] Built target git_hash +[ 0%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/allocator.cpp.o [ 0%] Building C object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_dispatch.c.o -[ 0%] Building C object third-party/blake3/c/CMakeFiles/blake3.dir/blake3.c.o -[ 0%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc.c.o -cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/blake3/c && /usr/bin/cc -DBLAKE3_USE_NEON=1 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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.34.1+dfsg/third-party/blake3/c/blake3_dispatch.c -cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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.34.1+dfsg/third-party/mimalloc/src/alloc.c -[ 0%] Building C object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_portable.c.o +cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/allocator.cpp [ 0%] Building C object CMakeFiles/mold-wrapper.dir/src/mold-wrapper.c.o -cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/blake3/c && /usr/bin/cc -DBLAKE3_USE_NEON=1 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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.34.1+dfsg/third-party/blake3/c/blake3.c +cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/blake3/c && /usr/bin/cc -DBLAKE3_USE_NEON=1 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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.34.1+dfsg/third-party/blake3/c/blake3_dispatch.c [ 0%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/debug.c.o cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/common/debug.c /usr/bin/cc -Dmold_wrapper_EXPORTS -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT CMakeFiles/mold-wrapper.dir/src/mold-wrapper.c.o -MF CMakeFiles/mold-wrapper.dir/src/mold-wrapper.c.o.d -o CMakeFiles/mold-wrapper.dir/src/mold-wrapper.c.o -c /build/reproducible-path/mold-2.34.1+dfsg/src/mold-wrapper.c -cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/blake3/c && /usr/bin/cc -DBLAKE3_USE_NEON=1 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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.34.1+dfsg/third-party/blake3/c/blake3_portable.c +[ 1%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/dynamic_link.cpp.o +[ 0%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc.c.o +cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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.34.1+dfsg/third-party/mimalloc/src/alloc.c +cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/arena.cpp +[ 1%] Built target git_hash /build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c/blake3_dispatch.c:112:5: warning: 'get_cpu_features' defined but not used [-Wunused-function] 112 | get_cpu_features(void) { | ^~~~~~~~~~~~~~~~ -[ 1%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/dynamic_link.cpp.o -cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/dynamic_link.cpp +cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/arena_slot.cpp +cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/concurrent_bounded_queue.cpp /build/reproducible-path/mold-2.34.1+dfsg/src/mold-wrapper.c: In function 'execvpe': /build/reproducible-path/mold-2.34.1+dfsg/src/mold-wrapper.c:78:27: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 78 | typeof(execvpe) *real = dlsym(RTLD_NEXT, "execvp"); @@ -816,68 +849,69 @@ /build/reproducible-path/mold-2.34.1+dfsg/src/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"); | ^~~~~ -[ 1%] Building C object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_neon.c.o -cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/blake3/c && /usr/bin/cc -DBLAKE3_USE_NEON=1 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c17 -fvisibility=hidden -MD -MT third-party/blake3/c/CMakeFiles/blake3.dir/blake3_neon.c.o -MF CMakeFiles/blake3.dir/blake3_neon.c.o.d -o CMakeFiles/blake3.dir/blake3_neon.c.o -c /build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c/blake3_neon.c -[ 1%] 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.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/dynamic_link.cpp +[ 2%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc-aligned.c.o +cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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.34.1+dfsg/third-party/mimalloc/src/alloc-aligned.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.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/common/entropy_common.c -[ 2%] Linking C shared library mold-wrapper.so +[ 2%] Building C object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_portable.c.o +cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/blake3/c && /usr/bin/cc -DBLAKE3_USE_NEON=1 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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.34.1+dfsg/third-party/blake3/c/blake3_portable.c +[ 3%] Linking C shared library mold-wrapper.so /usr/bin/cmake -E cmake_link_script CMakeFiles/mold-wrapper.dir/link.txt --verbose=1 /usr/bin/cc -fPIC -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/src/mold-wrapper.c.o" -ldl make[3]: Leaving directory '/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu' -[ 2%] Built target mold-wrapper -[ 2%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/exception.cpp.o -cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/exception.cpp -[ 3%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/error_private.c.o +[ 3%] Built target mold-wrapper +[ 3%] Building C object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_neon.c.o +cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/blake3/c && /usr/bin/cc -DBLAKE3_USE_NEON=1 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c17 -fvisibility=hidden -MD -MT third-party/blake3/c/CMakeFiles/blake3.dir/blake3_neon.c.o -MF CMakeFiles/blake3.dir/blake3_neon.c.o.d -o CMakeFiles/blake3.dir/blake3_neon.c.o -c /build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c/blake3_neon.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.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/common/error_private.c -[ 3%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/governor.cpp.o -cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/governor.cpp -[ 3%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc-posix.c.o -[ 4%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc-aligned.c.o +[ 4%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc-posix.c.o cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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.34.1+dfsg/third-party/mimalloc/src/alloc-posix.c -cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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.34.1+dfsg/third-party/mimalloc/src/alloc-aligned.c -[ 4%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/global_control.cpp.o -cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/global_control.cpp -[ 4%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/itt_notify.cpp.o [ 4%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/arena.c.o cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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.34.1+dfsg/third-party/mimalloc/src/arena.c -cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/itt_notify.cpp -[ 5%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/main.cpp.o -cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/main.cpp -[ 5%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/fse_decompress.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.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/common/fse_decompress.c -[ 5%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/market.cpp.o -cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/market.cpp -[ 5%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/tcm_adaptor.cpp.o -cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/tcm_adaptor.cpp -[ 5%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/bitmap.c.o +[ 4%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/exception.cpp.o +cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/exception.cpp +[ 4%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/governor.cpp.o +cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/governor.cpp +[ 4%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/bitmap.c.o cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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.34.1+dfsg/third-party/mimalloc/src/bitmap.c -[ 5%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/heap.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.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/common/pool.c +[ 4%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/global_control.cpp.o +cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/global_control.cpp +[ 4%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/itt_notify.cpp.o +cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/itt_notify.cpp +[ 4%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/heap.c.o cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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.34.1+dfsg/third-party/mimalloc/src/heap.c +[ 4%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/init.c.o +cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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.34.1+dfsg/third-party/mimalloc/src/init.c +[ 5%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/main.cpp.o /build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/src/heap.c: In function 'mi_heap_visit_areas_page': /build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/src/heap.c:611:33: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 611 | mi_heap_area_visit_fun* fun = (mi_heap_area_visit_fun*)vfun; | ^ +cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/main.cpp /build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/src/heap.c: In function 'mi_heap_visit_areas': /build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/src/heap.c:628:75: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 628 | return mi_heap_visit_pages((mi_heap_t*)heap, &mi_heap_visit_areas_page, (void*)(visitor), arg); // note: function pointer to void* :-{ | ^ [ 5%] Linking C static library libblake3.a cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/blake3/c && /usr/bin/cmake -P CMakeFiles/blake3.dir/cmake_clean_target.cmake -[ 5%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/misc.cpp.o -cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/misc.cpp +[ 5%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/market.cpp.o +cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/market.cpp cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/blake3/c && /usr/bin/cmake -E cmake_link_script CMakeFiles/blake3.dir/link.txt --verbose=1 /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_neon.c.o -/usr/bin/ranlib libblake3.a -make[3]: Leaving directory '/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu' -[ 5%] Built target blake3 -[ 5%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/init.c.o -cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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.34.1+dfsg/third-party/mimalloc/src/init.c [ 7%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/libc.c.o cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/libc.c.o -MF CMakeFiles/mimalloc-static.dir/src/libc.c.o.d -o CMakeFiles/mimalloc-static.dir/src/libc.c.o -c /build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/src/libc.c +/usr/bin/ranlib libblake3.a +make[3]: Leaving directory '/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu' +[ 7%] Built target blake3 [ 7%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/options.c.o cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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.34.1+dfsg/third-party/mimalloc/src/options.c -[ 7%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/pool.c.o -cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/common/pool.c +[ 7%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/threading.c.o +cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/common/threading.c /build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/src/options.c: In function '_mi_fputs': /build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/src/options.c:311:20: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 311 | if (out==NULL || (void*)out==(void*)stdout || (void*)out==(void*)stderr) { // TODO: use mi_out_stderr for stderr? @@ -885,10 +919,49 @@ /build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/src/options.c:311:49: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 311 | if (out==NULL || (void*)out==(void*)stdout || (void*)out==(void*)stderr) { // TODO: use mi_out_stderr for stderr? | ^ -[ 7%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/os.c.o +[ 7%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/xxhash.c.o +cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/common/xxhash.c +[ 8%] 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.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/common/zstd_common.c +[ 8%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/os.c.o cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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.34.1+dfsg/third-party/mimalloc/src/os.c -[ 7%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/page.c.o +[ 8%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/page.c.o cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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.34.1+dfsg/third-party/mimalloc/src/page.c +[ 8%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/random.c.o +cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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.34.1+dfsg/third-party/mimalloc/src/random.c +[ 9%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/segment.c.o +cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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.34.1+dfsg/third-party/mimalloc/src/segment.c +[ 9%] 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.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/compress/fse_compress.c +[ 9%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/tcm_adaptor.cpp.o +cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/tcm_adaptor.cpp +[ 9%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/hist.c.o +cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/compress/hist.c +[ 9%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/segment-map.c.o +cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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.34.1+dfsg/third-party/mimalloc/src/segment-map.c +[ 9%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/stats.c.o +cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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.34.1+dfsg/third-party/mimalloc/src/stats.c +[ 9%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/misc.cpp.o +cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/misc.cpp +[ 9%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/prim/prim.c.o +cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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.34.1+dfsg/third-party/mimalloc/src/prim/prim.c +/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/src/stats.c: In function 'mi_stats_print': +/build/reproducible-path/mold-2.34.1+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); + | ^ +[ 9%] 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.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/compress/huf_compress.c +/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/src/segment.c: In function 'mi_segment_span_free_coalesce': +/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/src/segment.c:665:30: warning: '__atomic_load_8' writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] + 665 | const bool is_abandoned = (segment->thread_id == 0); // mi_segment_is_abandoned(segment); + | ^~~~~~~ +cc1: note: destination object is likely at address zero +[ 9%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/misc_ex.cpp.o +cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/misc_ex.cpp +[ 9%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/observer_proxy.cpp.o +cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/observer_proxy.cpp +[ 10%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/parallel_pipeline.cpp.o +cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/parallel_pipeline.cpp In file included from /usr/include/c++/14/atomic:50, from /build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include/oneapi/tbb/detail/_utils.h:22, from /build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/task_dispatcher.h:20, @@ -901,38 +974,8 @@ | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 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 -[ 7%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/random.c.o -[ 7%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/misc_ex.cpp.o -cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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.34.1+dfsg/third-party/mimalloc/src/random.c -cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/misc_ex.cpp -[ 7%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/observer_proxy.cpp.o -cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/observer_proxy.cpp -[ 7%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/threading.c.o -cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/common/threading.c -[ 8%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/segment.c.o -cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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.34.1+dfsg/third-party/mimalloc/src/segment.c -[ 8%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/xxhash.c.o -cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/common/xxhash.c -[ 8%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/segment-map.c.o -cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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.34.1+dfsg/third-party/mimalloc/src/segment-map.c -[ 8%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/profiling.cpp.o -cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/profiling.cpp -[ 8%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/private_server.cpp.o -[ 9%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/parallel_pipeline.cpp.o +[ 10%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/private_server.cpp.o cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/private_server.cpp -cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/parallel_pipeline.cpp -[ 10%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/zstd_common.c.o -[ 10%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/stats.c.o -cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/common/zstd_common.c -cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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.34.1+dfsg/third-party/mimalloc/src/stats.c -[ 10%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/prim/prim.c.o -cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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.34.1+dfsg/third-party/mimalloc/src/prim/prim.c -/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/src/stats.c: In function 'mi_stats_print': -/build/reproducible-path/mold-2.34.1+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); - | ^ -[ 10%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/rml_tbb.cpp.o -cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/rml_tbb.cpp In file included from /build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include/mimalloc/atomic.h:41, from /build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include/mimalloc/types.h:27, from /build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include/mimalloc/internal.h:17, @@ -951,46 +994,45 @@ | ^~~~~~~~~~~~~~~~~~~~~~ In function '_mi_page_free': cc1: note: destination object is likely at address zero -[ 10%] 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.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/compress/fse_compress.c -/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/src/segment.c: In function 'mi_segment_span_free_coalesce': -/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/src/segment.c:665:30: warning: '__atomic_load_8' writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] - 665 | const bool is_abandoned = (segment->thread_id == 0); // mi_segment_is_abandoned(segment); - | ^~~~~~~ -cc1: note: destination object is likely at address zero +[ 10%] 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.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/compress/zstd_compress.c +[ 10%] 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.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/compress/zstd_compress_literals.c +[ 10%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/profiling.cpp.o +cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/profiling.cpp +[ 10%] Linking C static library libmimalloc.a +cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/mimalloc && /usr/bin/cmake -P CMakeFiles/mimalloc-static.dir/cmake_clean_target.cmake +[ 10%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/rml_tbb.cpp.o +cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/rml_tbb.cpp +cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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/libc.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.34.1+dfsg/obj-aarch64-linux-gnu' +[ 10%] Built target mimalloc-static [ 10%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/rtm_mutex.cpp.o cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/rtm_mutex.cpp -[ 11%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/rtm_rw_mutex.cpp.o +[ 11%] 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.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/compress/zstd_compress_sequences.c +[ 13%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/rtm_rw_mutex.cpp.o cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/rtm_rw_mutex.cpp -[ 11%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/hist.c.o -cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/compress/hist.c -[ 11%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/small_object_pool.cpp.o -[ 11%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/semaphore.cpp.o -cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/small_object_pool.cpp +[ 13%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/semaphore.cpp.o cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/semaphore.cpp -[ 11%] 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.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/compress/huf_compress.c -[ 11%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/task.cpp.o +[ 13%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/small_object_pool.cpp.o +[ 13%] 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.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/compress/zstd_compress_superblock.c +cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/small_object_pool.cpp +[ 13%] 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.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/compress/zstd_double_fast.c +[ 13%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/task.cpp.o cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/task.cpp -[ 11%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/task_dispatcher.cpp.o +[ 13%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/task_dispatcher.cpp.o cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/task_dispatcher.cpp -[ 11%] 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.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/compress/zstd_compress_literals.c -[ 11%] 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.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/compress/zstd_compress.c -[ 13%] 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.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/compress/zstd_compress_sequences.c -[ 13%] Linking C static library libmimalloc.a -cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/mimalloc && /usr/bin/cmake -P CMakeFiles/mimalloc-static.dir/cmake_clean_target.cmake -cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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/libc.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 [ 13%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/task_group_context.cpp.o cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/task_group_context.cpp -make[3]: Leaving directory '/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu' +[ 13%] 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.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/compress/zstd_fast.c [ 14%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/thread_dispatcher.cpp.o cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/thread_dispatcher.cpp -[ 14%] Built target mimalloc-static [ 14%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/thread_request_serializer.cpp.o cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/thread_request_serializer.cpp [ 14%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/threading_control.cpp.o @@ -999,12 +1041,6 @@ cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/version.cpp [ 14%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/queuing_rw_mutex.cpp.o cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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 -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -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.34.1+dfsg/third-party/tbb/src/tbb/queuing_rw_mutex.cpp -[ 14%] 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.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/compress/zstd_compress_superblock.c -[ 14%] 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.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/compress/zstd_double_fast.c -[ 14%] 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.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/compress/zstd_fast.c [ 14%] 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.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/compress/zstd_lazy.c [ 15%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_ldm.c.o @@ -1027,25 +1063,29 @@ cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/dictBuilder/divsufsort.c [ 16%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/fastcover.c.o cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/dictBuilder/fastcover.c +[ 16%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/zdict.c.o +cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/dictBuilder/zdict.c [ 17%] Linking CXX static library ../../../../gnu_14.2_cxx11_64_none/libtbb.a cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/cmake -P CMakeFiles/tbb.dir/cmake_clean_target.cmake cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/cmake -E cmake_link_script CMakeFiles/tbb.dir/link.txt --verbose=1 /usr/bin/ar qc ../../../../gnu_14.2_cxx11_64_none/libtbb.a CMakeFiles/tbb.dir/address_waiter.cpp.o CMakeFiles/tbb.dir/allocator.cpp.o CMakeFiles/tbb.dir/arena.cpp.o CMakeFiles/tbb.dir/arena_slot.cpp.o CMakeFiles/tbb.dir/concurrent_bounded_queue.cpp.o CMakeFiles/tbb.dir/dynamic_link.cpp.o CMakeFiles/tbb.dir/exception.cpp.o CMakeFiles/tbb.dir/governor.cpp.o CMakeFiles/tbb.dir/global_control.cpp.o CMakeFiles/tbb.dir/itt_notify.cpp.o CMakeFiles/tbb.dir/main.cpp.o CMakeFiles/tbb.dir/market.cpp.o CMakeFiles/tbb.dir/tcm_adaptor.cpp.o CMakeFiles/tbb.dir/misc.cpp.o CMakeFiles/tbb.dir/misc_ex.cpp.o CMakeFiles/tbb.dir/observer_proxy.cpp.o CMakeFiles/tbb.dir/parallel_pipeline.cpp.o CMakeFiles/tbb.dir/private_server.cpp.o CMakeFiles/tbb.dir/profiling.cpp.o CMakeFiles/tbb.dir/rml_tbb.cpp.o CMakeFiles/tbb.dir/rtm_mutex.cpp.o CMakeFiles/tbb.dir/rtm_rw_mutex.cpp.o CMakeFiles/tbb.dir/semaphore.cpp.o CMakeFiles/tbb.dir/small_object_pool.cpp.o CMakeFiles/tbb.dir/task.cpp.o CMakeFiles/tbb.dir/task_dispatcher.cpp.o CMakeFiles/tbb.dir/task_group_context.cpp.o CMakeFiles/tbb.dir/thread_dispatcher.cpp.o CMakeFiles/tbb.dir/thread_request_serializer.cpp.o CMakeFiles/tbb.dir/threading_control.cpp.o CMakeFiles/tbb.dir/version.cpp.o CMakeFiles/tbb.dir/queuing_rw_mutex.cpp.o -/usr/bin/ranlib ../../../../gnu_14.2_cxx11_64_none/libtbb.a -make[3]: Leaving directory '/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu' -[ 17%] Built target tbb -[ 17%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/zdict.c.o -cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/dictBuilder/zdict.c [ 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.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/legacy/zstd_v01.c +/usr/bin/ranlib ../../../../gnu_14.2_cxx11_64_none/libtbb.a +make[3]: Leaving directory '/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu' +[ 19%] Built target tbb [ 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.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+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.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+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.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/legacy/zstd_v02.c cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/legacy/zstd_v04.c [ 19%] 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.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/legacy/zstd_v05.c +[ 19%] 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.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/legacy/zstd_v06.c +[ 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.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/legacy/zstd_v07.c In function 'ZSTDv01_decodeLiteralsBlock', inlined from 'ZSTD_decompressBlock' at /build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib/legacy/zstd_v01.c:1899:17: /build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib/legacy/zstd_v01.c:1505:20: warning: 'litbp.origSize' may be used uninitialized [-Wmaybe-uninitialized] @@ -1091,8 +1131,6 @@ /build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib/legacy/zstd_v01.c:1829:9: note: 'nbSeq' was declared here 1829 | int nbSeq; | ^~~~~ -[ 19%] 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.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/legacy/zstd_v06.c /build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib/legacy/zstd_v01.c: In function 'ZSTDv01_decompressDCtx': /build/reproducible-path/mold-2.34.1+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) @@ -1100,8 +1138,6 @@ /build/reproducible-path/mold-2.34.1+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; | ^~~~~~~~~~~~~~~ -[ 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.34.1+dfsg/obj-aarch64-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.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -DZSTD_DISABLE_ASM -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.34.1+dfsg/third-party/zstd/lib/legacy/zstd_v07.c [ 20%] Linking C static library libzstd.a cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cmake -P CMakeFiles/libzstd_static.dir/cmake_clean_target.cmake cd /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cmake -E cmake_link_script CMakeFiles/libzstd_static.dir/link.txt --verbose=1 @@ -1115,83 +1151,83 @@ make[3]: Leaving directory '/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu' make -f CMakeFiles/mold.dir/build.make CMakeFiles/mold.dir/build make[3]: Entering directory '/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu' -[ 20%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.ARM64.cc.o -[ 20%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.X86_64.cc.o [ 21%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.I386.cc.o [ 21%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.ARM32.cc.o -[ 21%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.RV32BE.cc.o [ 21%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.RV32LE.cc.o -[ 21%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.RV64BE.cc.o -[ 22%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.RV64LE.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-loongarch.cc.X86_64.cc.o -MF CMakeFiles/mold.dir/src/arch-loongarch.cc.X86_64.cc.o.d -o CMakeFiles/mold.dir/src/arch-loongarch.cc.X86_64.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.X86_64.cc +[ 21%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.RV32BE.cc.o +[ 21%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.ARM64.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-loongarch.cc.I386.cc.o -MF CMakeFiles/mold.dir/src/arch-loongarch.cc.I386.cc.o.d -o CMakeFiles/mold.dir/src/arch-loongarch.cc.I386.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.I386.cc +[ 22%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.RV64LE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-loongarch.cc.ARM64.cc.o -MF CMakeFiles/mold.dir/src/arch-loongarch.cc.ARM64.cc.o.d -o CMakeFiles/mold.dir/src/arch-loongarch.cc.ARM64.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.ARM64.cc /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-loongarch.cc.ARM32.cc.o -MF CMakeFiles/mold.dir/src/arch-loongarch.cc.ARM32.cc.o.d -o CMakeFiles/mold.dir/src/arch-loongarch.cc.ARM32.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.ARM32.cc /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-loongarch.cc.RV32LE.cc.o -MF CMakeFiles/mold.dir/src/arch-loongarch.cc.RV32LE.cc.o.d -o CMakeFiles/mold.dir/src/arch-loongarch.cc.RV32LE.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.RV32LE.cc /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-loongarch.cc.RV32BE.cc.o -MF CMakeFiles/mold.dir/src/arch-loongarch.cc.RV32BE.cc.o.d -o CMakeFiles/mold.dir/src/arch-loongarch.cc.RV32BE.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.RV32BE.cc +[ 22%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.RV64BE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-loongarch.cc.RV64LE.cc.o -MF CMakeFiles/mold.dir/src/arch-loongarch.cc.RV64LE.cc.o.d -o CMakeFiles/mold.dir/src/arch-loongarch.cc.RV64LE.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.RV64LE.cc -[ 22%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.PPC32.cc.o -[ 22%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.PPC64V1.cc.o -[ 22%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.PPC64V2.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-loongarch.cc.RV64BE.cc.o -MF CMakeFiles/mold.dir/src/arch-loongarch.cc.RV64BE.cc.o.d -o CMakeFiles/mold.dir/src/arch-loongarch.cc.RV64BE.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.RV64BE.cc +[ 22%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.X86_64.cc.o +[ 22%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.PPC64V1.cc.o +[ 22%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.PPC32.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-loongarch.cc.X86_64.cc.o -MF CMakeFiles/mold.dir/src/arch-loongarch.cc.X86_64.cc.o.d -o CMakeFiles/mold.dir/src/arch-loongarch.cc.X86_64.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.X86_64.cc /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-loongarch.cc.PPC32.cc.o -MF CMakeFiles/mold.dir/src/arch-loongarch.cc.PPC32.cc.o.d -o CMakeFiles/mold.dir/src/arch-loongarch.cc.PPC32.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.PPC32.cc /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-loongarch.cc.PPC64V1.cc.o -MF CMakeFiles/mold.dir/src/arch-loongarch.cc.PPC64V1.cc.o.d -o CMakeFiles/mold.dir/src/arch-loongarch.cc.PPC64V1.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.PPC64V1.cc +[ 22%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.PPC64V2.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-loongarch.cc.PPC64V2.cc.o -MF CMakeFiles/mold.dir/src/arch-loongarch.cc.PPC64V2.cc.o.d -o CMakeFiles/mold.dir/src/arch-loongarch.cc.PPC64V2.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.PPC64V2.cc +[ 22%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.S390X.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-loongarch.cc.S390X.cc.o -MF CMakeFiles/mold.dir/src/arch-loongarch.cc.S390X.cc.o.d -o CMakeFiles/mold.dir/src/arch-loongarch.cc.S390X.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.S390X.cc +[ 22%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.SH4.cc.o [ 22%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.M68K.cc.o [ 23%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.SPARC64.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-loongarch.cc.M68K.cc.o -MF CMakeFiles/mold.dir/src/arch-loongarch.cc.M68K.cc.o.d -o CMakeFiles/mold.dir/src/arch-loongarch.cc.M68K.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.M68K.cc -/usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-loongarch.cc.SPARC64.cc.o -MF CMakeFiles/mold.dir/src/arch-loongarch.cc.SPARC64.cc.o.d -o CMakeFiles/mold.dir/src/arch-loongarch.cc.SPARC64.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.SPARC64.cc -[ 23%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.S390X.cc.o [ 23%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.LOONGARCH32.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-loongarch.cc.S390X.cc.o -MF CMakeFiles/mold.dir/src/arch-loongarch.cc.S390X.cc.o.d -o CMakeFiles/mold.dir/src/arch-loongarch.cc.S390X.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.S390X.cc -/usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-loongarch.cc.LOONGARCH32.cc.o -MF CMakeFiles/mold.dir/src/arch-loongarch.cc.LOONGARCH32.cc.o.d -o CMakeFiles/mold.dir/src/arch-loongarch.cc.LOONGARCH32.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.LOONGARCH32.cc +/usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-loongarch.cc.SPARC64.cc.o -MF CMakeFiles/mold.dir/src/arch-loongarch.cc.SPARC64.cc.o.d -o CMakeFiles/mold.dir/src/arch-loongarch.cc.SPARC64.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.SPARC64.cc [ 23%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.LOONGARCH64.cc.o -[ 23%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.SH4.cc.o -[ 25%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.X86_64.cc.o -[ 25%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.I386.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-loongarch.cc.M68K.cc.o -MF CMakeFiles/mold.dir/src/arch-loongarch.cc.M68K.cc.o.d -o CMakeFiles/mold.dir/src/arch-loongarch.cc.M68K.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.M68K.cc /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-loongarch.cc.SH4.cc.o -MF CMakeFiles/mold.dir/src/arch-loongarch.cc.SH4.cc.o.d -o CMakeFiles/mold.dir/src/arch-loongarch.cc.SH4.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.SH4.cc +/usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-loongarch.cc.LOONGARCH32.cc.o -MF CMakeFiles/mold.dir/src/arch-loongarch.cc.LOONGARCH32.cc.o.d -o CMakeFiles/mold.dir/src/arch-loongarch.cc.LOONGARCH32.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.LOONGARCH32.cc /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-loongarch.cc.LOONGARCH64.cc.o -MF CMakeFiles/mold.dir/src/arch-loongarch.cc.LOONGARCH64.cc.o.d -o CMakeFiles/mold.dir/src/arch-loongarch.cc.LOONGARCH64.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.LOONGARCH64.cc +[ 25%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.X86_64.cc.o +[ 25%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.I386.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-riscv.cc.X86_64.cc.o -MF CMakeFiles/mold.dir/src/arch-riscv.cc.X86_64.cc.o.d -o CMakeFiles/mold.dir/src/arch-riscv.cc.X86_64.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.X86_64.cc +[ 25%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.ARM32.cc.o +[ 25%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.RV32LE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-riscv.cc.I386.cc.o -MF CMakeFiles/mold.dir/src/arch-riscv.cc.I386.cc.o.d -o CMakeFiles/mold.dir/src/arch-riscv.cc.I386.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.I386.cc [ 25%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.ARM64.cc.o -[ 25%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.ARM32.cc.o +[ 26%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.RV32BE.cc.o +[ 26%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.RV64LE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-riscv.cc.ARM64.cc.o -MF CMakeFiles/mold.dir/src/arch-riscv.cc.ARM64.cc.o.d -o CMakeFiles/mold.dir/src/arch-riscv.cc.ARM64.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.ARM64.cc /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-riscv.cc.ARM32.cc.o -MF CMakeFiles/mold.dir/src/arch-riscv.cc.ARM32.cc.o.d -o CMakeFiles/mold.dir/src/arch-riscv.cc.ARM32.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.ARM32.cc -[ 25%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.RV32LE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-riscv.cc.RV32LE.cc.o -MF CMakeFiles/mold.dir/src/arch-riscv.cc.RV32LE.cc.o.d -o CMakeFiles/mold.dir/src/arch-riscv.cc.RV32LE.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.RV32LE.cc -[ 25%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.RV32BE.cc.o -[ 25%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.RV64BE.cc.o -[ 26%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.RV64LE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-riscv.cc.RV32BE.cc.o -MF CMakeFiles/mold.dir/src/arch-riscv.cc.RV32BE.cc.o.d -o CMakeFiles/mold.dir/src/arch-riscv.cc.RV32BE.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.RV32BE.cc -/usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-riscv.cc.RV64BE.cc.o -MF CMakeFiles/mold.dir/src/arch-riscv.cc.RV64BE.cc.o.d -o CMakeFiles/mold.dir/src/arch-riscv.cc.RV64BE.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.RV64BE.cc /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-riscv.cc.RV64LE.cc.o -MF CMakeFiles/mold.dir/src/arch-riscv.cc.RV64LE.cc.o.d -o CMakeFiles/mold.dir/src/arch-riscv.cc.RV64LE.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.RV64LE.cc +[ 26%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.RV64BE.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-riscv.cc.RV64BE.cc.o -MF CMakeFiles/mold.dir/src/arch-riscv.cc.RV64BE.cc.o.d -o CMakeFiles/mold.dir/src/arch-riscv.cc.RV64BE.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.RV64BE.cc [ 26%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.PPC32.cc.o [ 26%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.PPC64V1.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-riscv.cc.PPC32.cc.o -MF CMakeFiles/mold.dir/src/arch-riscv.cc.PPC32.cc.o.d -o CMakeFiles/mold.dir/src/arch-riscv.cc.PPC32.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.PPC32.cc -/usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-riscv.cc.PPC64V1.cc.o -MF CMakeFiles/mold.dir/src/arch-riscv.cc.PPC64V1.cc.o.d -o CMakeFiles/mold.dir/src/arch-riscv.cc.PPC64V1.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.PPC64V1.cc [ 26%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.PPC64V2.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-riscv.cc.PPC64V2.cc.o -MF CMakeFiles/mold.dir/src/arch-riscv.cc.PPC64V2.cc.o.d -o CMakeFiles/mold.dir/src/arch-riscv.cc.PPC64V2.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.PPC64V2.cc +/usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-riscv.cc.PPC64V1.cc.o -MF CMakeFiles/mold.dir/src/arch-riscv.cc.PPC64V1.cc.o.d -o CMakeFiles/mold.dir/src/arch-riscv.cc.PPC64V1.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.PPC64V1.cc [ 26%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.SPARC64.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-riscv.cc.PPC64V2.cc.o -MF CMakeFiles/mold.dir/src/arch-riscv.cc.PPC64V2.cc.o.d -o CMakeFiles/mold.dir/src/arch-riscv.cc.PPC64V2.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.PPC64V2.cc +/usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-riscv.cc.SPARC64.cc.o -MF CMakeFiles/mold.dir/src/arch-riscv.cc.SPARC64.cc.o.d -o CMakeFiles/mold.dir/src/arch-riscv.cc.SPARC64.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.SPARC64.cc [ 27%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.S390X.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-riscv.cc.S390X.cc.o -MF CMakeFiles/mold.dir/src/arch-riscv.cc.S390X.cc.o.d -o CMakeFiles/mold.dir/src/arch-riscv.cc.S390X.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.S390X.cc -/usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-riscv.cc.SPARC64.cc.o -MF CMakeFiles/mold.dir/src/arch-riscv.cc.SPARC64.cc.o.d -o CMakeFiles/mold.dir/src/arch-riscv.cc.SPARC64.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.SPARC64.cc [ 27%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.M68K.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-riscv.cc.M68K.cc.o -MF CMakeFiles/mold.dir/src/arch-riscv.cc.M68K.cc.o.d -o CMakeFiles/mold.dir/src/arch-riscv.cc.M68K.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.M68K.cc +[ 27%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.LOONGARCH32.cc.o [ 27%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.SH4.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-riscv.cc.SH4.cc.o -MF CMakeFiles/mold.dir/src/arch-riscv.cc.SH4.cc.o.d -o CMakeFiles/mold.dir/src/arch-riscv.cc.SH4.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.SH4.cc -[ 27%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.LOONGARCH32.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-riscv.cc.LOONGARCH32.cc.o -MF CMakeFiles/mold.dir/src/arch-riscv.cc.LOONGARCH32.cc.o.d -o CMakeFiles/mold.dir/src/arch-riscv.cc.LOONGARCH32.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.LOONGARCH32.cc [ 27%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.LOONGARCH64.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-riscv.cc.LOONGARCH32.cc.o -MF CMakeFiles/mold.dir/src/arch-riscv.cc.LOONGARCH32.cc.o.d -o CMakeFiles/mold.dir/src/arch-riscv.cc.LOONGARCH32.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.LOONGARCH32.cc /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-riscv.cc.LOONGARCH64.cc.o -MF CMakeFiles/mold.dir/src/arch-riscv.cc.LOONGARCH64.cc.o.d -o CMakeFiles/mold.dir/src/arch-riscv.cc.LOONGARCH64.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.LOONGARCH64.cc -[ 27%] Building CXX object CMakeFiles/mold.dir/src/cmdline.cc.ARM64.cc.o -[ 27%] Building CXX object CMakeFiles/mold.dir/src/cmdline.cc.I386.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/cmdline.cc.ARM64.cc.o -MF CMakeFiles/mold.dir/src/cmdline.cc.ARM64.cc.o.d -o CMakeFiles/mold.dir/src/cmdline.cc.ARM64.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/cmdline.cc.ARM64.cc [ 28%] Building CXX object CMakeFiles/mold.dir/src/cmdline.cc.X86_64.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/cmdline.cc.I386.cc.o -MF CMakeFiles/mold.dir/src/cmdline.cc.I386.cc.o.d -o CMakeFiles/mold.dir/src/cmdline.cc.I386.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/cmdline.cc.I386.cc /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/cmdline.cc.X86_64.cc.o -MF CMakeFiles/mold.dir/src/cmdline.cc.X86_64.cc.o.d -o CMakeFiles/mold.dir/src/cmdline.cc.X86_64.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/cmdline.cc.X86_64.cc +[ 28%] Building CXX object CMakeFiles/mold.dir/src/cmdline.cc.I386.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/cmdline.cc.I386.cc.o -MF CMakeFiles/mold.dir/src/cmdline.cc.I386.cc.o.d -o CMakeFiles/mold.dir/src/cmdline.cc.I386.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/cmdline.cc.I386.cc +[ 28%] Building CXX object CMakeFiles/mold.dir/src/cmdline.cc.ARM64.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/cmdline.cc.ARM64.cc.o -MF CMakeFiles/mold.dir/src/cmdline.cc.ARM64.cc.o.d -o CMakeFiles/mold.dir/src/cmdline.cc.ARM64.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/cmdline.cc.ARM64.cc [ 28%] Building CXX object CMakeFiles/mold.dir/src/cmdline.cc.ARM32.cc.o -[ 28%] Building CXX object CMakeFiles/mold.dir/src/cmdline.cc.RV32LE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/cmdline.cc.ARM32.cc.o -MF CMakeFiles/mold.dir/src/cmdline.cc.ARM32.cc.o.d -o CMakeFiles/mold.dir/src/cmdline.cc.ARM32.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/cmdline.cc.ARM32.cc +[ 28%] Building CXX object CMakeFiles/mold.dir/src/cmdline.cc.RV32LE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/cmdline.cc.RV32LE.cc.o -MF CMakeFiles/mold.dir/src/cmdline.cc.RV32LE.cc.o.d -o CMakeFiles/mold.dir/src/cmdline.cc.RV32LE.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/cmdline.cc.RV32LE.cc [ 29%] Building CXX object CMakeFiles/mold.dir/src/cmdline.cc.RV32BE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/cmdline.cc.RV32BE.cc.o -MF CMakeFiles/mold.dir/src/cmdline.cc.RV32BE.cc.o.d -o CMakeFiles/mold.dir/src/cmdline.cc.RV32BE.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/cmdline.cc.RV32BE.cc @@ -1257,10 +1293,10 @@ /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/gdb-index.cc.I386.cc.o -MF CMakeFiles/mold.dir/src/gdb-index.cc.I386.cc.o.d -o CMakeFiles/mold.dir/src/gdb-index.cc.I386.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/gdb-index.cc.I386.cc [ 35%] Building CXX object CMakeFiles/mold.dir/src/gdb-index.cc.ARM64.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/gdb-index.cc.ARM64.cc.o -MF CMakeFiles/mold.dir/src/gdb-index.cc.ARM64.cc.o.d -o CMakeFiles/mold.dir/src/gdb-index.cc.ARM64.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/gdb-index.cc.ARM64.cc -[ 35%] Building CXX object CMakeFiles/mold.dir/src/gdb-index.cc.RV32LE.cc.o [ 35%] Building CXX object CMakeFiles/mold.dir/src/gdb-index.cc.ARM32.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/gdb-index.cc.RV32LE.cc.o -MF CMakeFiles/mold.dir/src/gdb-index.cc.RV32LE.cc.o.d -o CMakeFiles/mold.dir/src/gdb-index.cc.RV32LE.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/gdb-index.cc.RV32LE.cc /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/gdb-index.cc.ARM32.cc.o -MF CMakeFiles/mold.dir/src/gdb-index.cc.ARM32.cc.o.d -o CMakeFiles/mold.dir/src/gdb-index.cc.ARM32.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/gdb-index.cc.ARM32.cc +[ 35%] Building CXX object CMakeFiles/mold.dir/src/gdb-index.cc.RV32LE.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/gdb-index.cc.RV32LE.cc.o -MF CMakeFiles/mold.dir/src/gdb-index.cc.RV32LE.cc.o.d -o CMakeFiles/mold.dir/src/gdb-index.cc.RV32LE.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/gdb-index.cc.RV32LE.cc [ 36%] Building CXX object CMakeFiles/mold.dir/src/gdb-index.cc.RV32BE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/gdb-index.cc.RV32BE.cc.o -MF CMakeFiles/mold.dir/src/gdb-index.cc.RV32BE.cc.o.d -o CMakeFiles/mold.dir/src/gdb-index.cc.RV32BE.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/gdb-index.cc.RV32BE.cc [ 36%] Building CXX object CMakeFiles/mold.dir/src/gdb-index.cc.RV64LE.cc.o @@ -1291,20 +1327,20 @@ /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/icf.cc.I386.cc.o -MF CMakeFiles/mold.dir/src/icf.cc.I386.cc.o.d -o CMakeFiles/mold.dir/src/icf.cc.I386.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/icf.cc.I386.cc [ 39%] Building CXX object CMakeFiles/mold.dir/src/icf.cc.ARM64.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/icf.cc.ARM64.cc.o -MF CMakeFiles/mold.dir/src/icf.cc.ARM64.cc.o.d -o CMakeFiles/mold.dir/src/icf.cc.ARM64.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/icf.cc.ARM64.cc -[ 39%] Building CXX object CMakeFiles/mold.dir/src/icf.cc.ARM32.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/icf.cc.ARM32.cc.o -MF CMakeFiles/mold.dir/src/icf.cc.ARM32.cc.o.d -o CMakeFiles/mold.dir/src/icf.cc.ARM32.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/icf.cc.ARM32.cc [ 40%] Building CXX object CMakeFiles/mold.dir/src/icf.cc.RV32LE.cc.o +[ 40%] Building CXX object CMakeFiles/mold.dir/src/icf.cc.ARM32.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/icf.cc.RV32LE.cc.o -MF CMakeFiles/mold.dir/src/icf.cc.RV32LE.cc.o.d -o CMakeFiles/mold.dir/src/icf.cc.RV32LE.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/icf.cc.RV32LE.cc +/usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/icf.cc.ARM32.cc.o -MF CMakeFiles/mold.dir/src/icf.cc.ARM32.cc.o.d -o CMakeFiles/mold.dir/src/icf.cc.ARM32.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/icf.cc.ARM32.cc [ 40%] Building CXX object CMakeFiles/mold.dir/src/icf.cc.RV32BE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/icf.cc.RV32BE.cc.o -MF CMakeFiles/mold.dir/src/icf.cc.RV32BE.cc.o.d -o CMakeFiles/mold.dir/src/icf.cc.RV32BE.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/icf.cc.RV32BE.cc [ 40%] Building CXX object CMakeFiles/mold.dir/src/icf.cc.RV64LE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/icf.cc.RV64LE.cc.o -MF CMakeFiles/mold.dir/src/icf.cc.RV64LE.cc.o.d -o CMakeFiles/mold.dir/src/icf.cc.RV64LE.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/icf.cc.RV64LE.cc [ 40%] Building CXX object CMakeFiles/mold.dir/src/icf.cc.RV64BE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/icf.cc.RV64BE.cc.o -MF CMakeFiles/mold.dir/src/icf.cc.RV64BE.cc.o.d -o CMakeFiles/mold.dir/src/icf.cc.RV64BE.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/icf.cc.RV64BE.cc -[ 40%] Building CXX object CMakeFiles/mold.dir/src/icf.cc.PPC32.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/icf.cc.PPC32.cc.o -MF CMakeFiles/mold.dir/src/icf.cc.PPC32.cc.o.d -o CMakeFiles/mold.dir/src/icf.cc.PPC32.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/icf.cc.PPC32.cc [ 40%] Building CXX object CMakeFiles/mold.dir/src/icf.cc.PPC64V1.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/icf.cc.PPC64V1.cc.o -MF CMakeFiles/mold.dir/src/icf.cc.PPC64V1.cc.o.d -o CMakeFiles/mold.dir/src/icf.cc.PPC64V1.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/icf.cc.PPC64V1.cc +[ 40%] Building CXX object CMakeFiles/mold.dir/src/icf.cc.PPC32.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/icf.cc.PPC32.cc.o -MF CMakeFiles/mold.dir/src/icf.cc.PPC32.cc.o.d -o CMakeFiles/mold.dir/src/icf.cc.PPC32.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/icf.cc.PPC32.cc [ 41%] Building CXX object CMakeFiles/mold.dir/src/icf.cc.PPC64V2.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/icf.cc.PPC64V2.cc.o -MF CMakeFiles/mold.dir/src/icf.cc.PPC64V2.cc.o.d -o CMakeFiles/mold.dir/src/icf.cc.PPC64V2.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/icf.cc.PPC64V2.cc [ 41%] Building CXX object CMakeFiles/mold.dir/src/icf.cc.S390X.cc.o @@ -1315,10 +1351,10 @@ /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/icf.cc.M68K.cc.o -MF CMakeFiles/mold.dir/src/icf.cc.M68K.cc.o.d -o CMakeFiles/mold.dir/src/icf.cc.M68K.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/icf.cc.M68K.cc [ 41%] Building CXX object CMakeFiles/mold.dir/src/icf.cc.SH4.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/icf.cc.SH4.cc.o -MF CMakeFiles/mold.dir/src/icf.cc.SH4.cc.o.d -o CMakeFiles/mold.dir/src/icf.cc.SH4.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/icf.cc.SH4.cc +[ 41%] Building CXX object CMakeFiles/mold.dir/src/icf.cc.LOONGARCH64.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/icf.cc.LOONGARCH64.cc.o -MF CMakeFiles/mold.dir/src/icf.cc.LOONGARCH64.cc.o.d -o CMakeFiles/mold.dir/src/icf.cc.LOONGARCH64.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/icf.cc.LOONGARCH64.cc [ 42%] Building CXX object CMakeFiles/mold.dir/src/icf.cc.LOONGARCH32.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/icf.cc.LOONGARCH32.cc.o -MF CMakeFiles/mold.dir/src/icf.cc.LOONGARCH32.cc.o.d -o CMakeFiles/mold.dir/src/icf.cc.LOONGARCH32.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/icf.cc.LOONGARCH32.cc -[ 42%] Building CXX object CMakeFiles/mold.dir/src/icf.cc.LOONGARCH64.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/icf.cc.LOONGARCH64.cc.o -MF CMakeFiles/mold.dir/src/icf.cc.LOONGARCH64.cc.o.d -o CMakeFiles/mold.dir/src/icf.cc.LOONGARCH64.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/icf.cc.LOONGARCH64.cc [ 42%] Building CXX object CMakeFiles/mold.dir/src/input-files.cc.X86_64.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/input-files.cc.X86_64.cc.o -MF CMakeFiles/mold.dir/src/input-files.cc.X86_64.cc.o.d -o CMakeFiles/mold.dir/src/input-files.cc.X86_64.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/input-files.cc.X86_64.cc [ 42%] Building CXX object CMakeFiles/mold.dir/src/input-files.cc.I386.cc.o @@ -1440,8 +1476,8 @@ [ 55%] Building CXX object CMakeFiles/mold.dir/src/main.cc.PPC32.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/main.cc.PPC32.cc.o -MF CMakeFiles/mold.dir/src/main.cc.PPC32.cc.o.d -o CMakeFiles/mold.dir/src/main.cc.PPC32.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/main.cc.PPC32.cc [ 55%] Building CXX object CMakeFiles/mold.dir/src/main.cc.PPC64V1.cc.o -[ 55%] Building CXX object CMakeFiles/mold.dir/src/main.cc.PPC64V2.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/main.cc.PPC64V1.cc.o -MF CMakeFiles/mold.dir/src/main.cc.PPC64V1.cc.o.d -o CMakeFiles/mold.dir/src/main.cc.PPC64V1.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/main.cc.PPC64V1.cc +[ 55%] Building CXX object CMakeFiles/mold.dir/src/main.cc.PPC64V2.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/main.cc.PPC64V2.cc.o -MF CMakeFiles/mold.dir/src/main.cc.PPC64V2.cc.o.d -o CMakeFiles/mold.dir/src/main.cc.PPC64V2.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/main.cc.PPC64V2.cc [ 55%] Building CXX object CMakeFiles/mold.dir/src/main.cc.S390X.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/main.cc.S390X.cc.o -MF CMakeFiles/mold.dir/src/main.cc.S390X.cc.o.d -o CMakeFiles/mold.dir/src/main.cc.S390X.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/main.cc.S390X.cc @@ -1656,17 +1692,17 @@ [ 78%] Building CXX object CMakeFiles/mold.dir/src/thunks.cc.SH4.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/thunks.cc.SH4.cc.o -MF CMakeFiles/mold.dir/src/thunks.cc.SH4.cc.o.d -o CMakeFiles/mold.dir/src/thunks.cc.SH4.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/thunks.cc.SH4.cc [ 78%] Building CXX object CMakeFiles/mold.dir/src/thunks.cc.LOONGARCH32.cc.o -[ 78%] Building CXX object CMakeFiles/mold.dir/src/thunks.cc.LOONGARCH64.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/thunks.cc.LOONGARCH32.cc.o -MF CMakeFiles/mold.dir/src/thunks.cc.LOONGARCH32.cc.o.d -o CMakeFiles/mold.dir/src/thunks.cc.LOONGARCH32.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/thunks.cc.LOONGARCH32.cc +[ 78%] Building CXX object CMakeFiles/mold.dir/src/thunks.cc.LOONGARCH64.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/thunks.cc.LOONGARCH64.cc.o -MF CMakeFiles/mold.dir/src/thunks.cc.LOONGARCH64.cc.o.d -o CMakeFiles/mold.dir/src/thunks.cc.LOONGARCH64.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/thunks.cc.LOONGARCH64.cc [ 79%] Building CXX object CMakeFiles/mold.dir/src/tls.cc.X86_64.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/tls.cc.X86_64.cc.o -MF CMakeFiles/mold.dir/src/tls.cc.X86_64.cc.o.d -o CMakeFiles/mold.dir/src/tls.cc.X86_64.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/tls.cc.X86_64.cc [ 79%] Building CXX object CMakeFiles/mold.dir/src/tls.cc.I386.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/tls.cc.I386.cc.o -MF CMakeFiles/mold.dir/src/tls.cc.I386.cc.o.d -o CMakeFiles/mold.dir/src/tls.cc.I386.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/tls.cc.I386.cc -[ 79%] Building CXX object CMakeFiles/mold.dir/src/tls.cc.ARM64.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/tls.cc.ARM64.cc.o -MF CMakeFiles/mold.dir/src/tls.cc.ARM64.cc.o.d -o CMakeFiles/mold.dir/src/tls.cc.ARM64.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/tls.cc.ARM64.cc [ 79%] Building CXX object CMakeFiles/mold.dir/src/tls.cc.ARM32.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/tls.cc.ARM32.cc.o -MF CMakeFiles/mold.dir/src/tls.cc.ARM32.cc.o.d -o CMakeFiles/mold.dir/src/tls.cc.ARM32.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/tls.cc.ARM32.cc +[ 79%] Building CXX object CMakeFiles/mold.dir/src/tls.cc.ARM64.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/tls.cc.ARM64.cc.o -MF CMakeFiles/mold.dir/src/tls.cc.ARM64.cc.o.d -o CMakeFiles/mold.dir/src/tls.cc.ARM64.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/tls.cc.ARM64.cc [ 79%] Building CXX object CMakeFiles/mold.dir/src/tls.cc.RV32LE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/tls.cc.RV32LE.cc.o -MF CMakeFiles/mold.dir/src/tls.cc.RV32LE.cc.o.d -o CMakeFiles/mold.dir/src/tls.cc.RV32LE.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/src/tls.cc.RV32LE.cc [ 80%] Building CXX object CMakeFiles/mold.dir/src/tls.cc.RV32BE.cc.o @@ -1826,9 +1862,9 @@ [ 96%] Building CXX object CMakeFiles/mold.dir/src/arch-i386.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-i386.cc.o -MF CMakeFiles/mold.dir/src/arch-i386.cc.o.d -o CMakeFiles/mold.dir/src/arch-i386.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/src/arch-i386.cc [ 97%] Building CXX object CMakeFiles/mold.dir/src/arch-m68k.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-m68k.cc.o -MF CMakeFiles/mold.dir/src/arch-m68k.cc.o.d -o CMakeFiles/mold.dir/src/arch-m68k.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/src/arch-m68k.cc [ 97%] Building CXX object CMakeFiles/mold.dir/src/arch-ppc32.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-ppc32.cc.o -MF CMakeFiles/mold.dir/src/arch-ppc32.cc.o.d -o CMakeFiles/mold.dir/src/arch-ppc32.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/src/arch-ppc32.cc -/usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-m68k.cc.o -MF CMakeFiles/mold.dir/src/arch-m68k.cc.o.d -o CMakeFiles/mold.dir/src/arch-m68k.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/src/arch-m68k.cc [ 97%] Building CXX object CMakeFiles/mold.dir/src/arch-ppc64v1.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.34.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.34.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -MD -MT CMakeFiles/mold.dir/src/arch-ppc64v1.cc.o -MF CMakeFiles/mold.dir/src/arch-ppc64v1.cc.o.d -o CMakeFiles/mold.dir/src/arch-ppc64v1.cc.o -c /build/reproducible-path/mold-2.34.1+dfsg/src/arch-ppc64v1.cc [ 97%] Building CXX object CMakeFiles/mold.dir/src/arch-ppc64v2.cc.o @@ -2015,6 +2051,7 @@ 1: ++ set -x 1: + cat 1: + cc -c -o out/test/aarch64/arch-aarch64-range-extension-thunk-disassembly/a.o -fPIC -xc - +1: + cc -B. -o out/test/aarch64/arch-aarch64-range-extension-thunk-disassembly/exe out/test/aarch64/arch-aarch64-range-extension-thunk-disassembly/a.o -Wl,--section-start=.low=0x10000000,--section-start=.high=0x20000000 2: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/arch-aarch64-variant-pcs.sh 2: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 2: ++ export LC_ALL=C @@ -2045,6 +2082,8 @@ 2: + cat 2: + cc -c -o out/test/aarch64/arch-aarch64-variant-pcs/a.o -fPIC -xassembler - 2: + cc -B. -shared -o out/test/aarch64/arch-aarch64-variant-pcs/b.so out/test/aarch64/arch-aarch64-variant-pcs/a.o +2: + grep -Fq '[VARIANT_PCS]' +2: + grep foo 3: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/abs-error.sh 3: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 3: ++ export LC_ALL=C @@ -2108,6 +2147,8 @@ 4: + '[' aarch64 = sparc64 ']' 4: + cat 4: + cc -o out/test/aarch64/absolute-symbols/a.o -c -x assembler - +4: + cc -o out/test/aarch64/absolute-symbols/b.o -c -fno-PIC -xc - +4: + cat 5: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/allow-multiple-definition.sh 5: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 5: ++ export LC_ALL=C @@ -2135,8 +2176,10 @@ 5: Testing allow-multiple-definition ... ++ t=out/test/aarch64/allow-multiple-definition 5: ++ mkdir -p out/test/aarch64/allow-multiple-definition 5: ++ set -x -5: + echo 'int main() { return 0; }' 5: + cc -c -o out/test/aarch64/allow-multiple-definition/a.o -xc - +5: + echo 'int main() { return 0; }' +5: + cc -c -o out/test/aarch64/allow-multiple-definition/b.o -xc - +5: + echo 'int main() { return 1; }' 6: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/ar-alignment.sh 6: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 6: ++ export LC_ALL=C @@ -2164,8 +2207,8 @@ 6: Testing ar-alignment ... ++ t=out/test/aarch64/ar-alignment 6: ++ mkdir -p out/test/aarch64/ar-alignment 6: ++ set -x -6: + cat 6: + cc -o out/test/aarch64/ar-alignment/a.o -c -xc - +6: + cat 7: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/as-needed-dso.sh 7: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 7: ++ export LC_ALL=C @@ -2193,8 +2236,8 @@ 7: Testing as-needed-dso ... ++ t=out/test/aarch64/as-needed-dso 7: ++ mkdir -p out/test/aarch64/as-needed-dso 7: ++ set -x -7: + cc -o out/test/aarch64/as-needed-dso/libfoo.so -shared -fPIC -Wl,-soname,libfoo.so -xc - 7: + cat +7: + cc -o out/test/aarch64/as-needed-dso/libfoo.so -shared -fPIC -Wl,-soname,libfoo.so -xc - 8: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/as-needed-dso2.sh 8: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 8: ++ export LC_ALL=C @@ -2223,6 +2266,7 @@ 8: ++ mkdir -p out/test/aarch64/as-needed-dso2 8: ++ set -x 8: + cat +8: + cc -c -fPIC -o out/test/aarch64/as-needed-dso2/a.o -xc - 9: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/as-needed-weak.sh 9: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 9: ++ export LC_ALL=C @@ -2251,7 +2295,6 @@ 9: ++ mkdir -p out/test/aarch64/as-needed-weak 9: ++ set -x 9: + cat -9: + cc -fPIC -o out/test/aarch64/as-needed-weak/a.o -c -xc - 10: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/as-needed.sh 10: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 10: ++ export LC_ALL=C @@ -2279,8 +2322,6 @@ 10: Testing as-needed ... ++ t=out/test/aarch64/as-needed 10: ++ mkdir -p out/test/aarch64/as-needed 10: ++ set -x -10: + cat -10: + cc -o out/test/aarch64/as-needed/a.o -c -xc - 11: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/auxiliary.sh 11: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 11: ++ export LC_ALL=C @@ -2298,7 +2339,7 @@ 11: ++ QEMU= 11: ++ case $MACHINE in 11: ++ tlsdesc_opt=-mtls-dialect=desc - 1/336 Test #3: aarch64-abs-error ........................................***Skipped 0.06 sec + 1/336 Test #3: aarch64-abs-error ........................................***Skipped 0.20 sec test 13 Start 13: aarch64-bsymbolic-functions @@ -2308,14 +2349,23 @@ 13: MACHINE=aarch64 13: CPU= 13: Test timeout computed to be: 1500 -4: + cc -o out/test/aarch64/absolute-symbols/b.o -c -fno-PIC -xc - -4: + cat -8: + cc -c -fPIC -o out/test/aarch64/as-needed-dso2/a.o -xc - +2: + readelf -W --dyn-syms out/test/aarch64/arch-aarch64-variant-pcs/b.so +2: + cc -c -o out/test/aarch64/arch-aarch64-variant-pcs/c.o -xc - +2: + cat +6: + head -c 1 /dev/zero +6: + cat +9: + cc -fPIC -o out/test/aarch64/as-needed-weak/a.o -c -xc - +10: + cc -o out/test/aarch64/as-needed/a.o -c -xc - +10: + cat 11: +++ uname 11: ++ '[' Linux = FreeBSD ']' 11: ++ trap 'on_error $LINENO' ERR 11: ++ trap on_exit EXIT 11: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/auxiliary.sh .sh +11: ++ testname=auxiliary +11: ++ echo -n 'Testing auxiliary ... ' +11: Testing auxiliary ... ++ t=out/test/aarch64/auxiliary +11: ++ mkdir -p out/test/aarch64/auxiliary 12: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/bno-symbolic.sh 12: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 12: ++ export LC_ALL=C @@ -2334,24 +2384,18 @@ 12: ++ case $MACHINE in 12: ++ tlsdesc_opt=-mtls-dialect=desc 12: +++ uname -11: ++ testname=auxiliary -11: ++ echo -n 'Testing auxiliary ... ' -11: Testing auxiliary ... ++ t=out/test/aarch64/auxiliary -11: ++ mkdir -p out/test/aarch64/auxiliary 12: ++ '[' Linux = FreeBSD ']' 12: ++ trap 'on_error $LINENO' ERR 12: ++ trap on_exit EXIT 12: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/bno-symbolic.sh .sh -11: ++ set -x -11: + cc -o out/test/aarch64/auxiliary/a.o -c -x assembler - 12: ++ testname=bno-symbolic 12: ++ echo -n 'Testing bno-symbolic ... ' 12: Testing bno-symbolic ... ++ t=out/test/aarch64/bno-symbolic 12: ++ mkdir -p out/test/aarch64/bno-symbolic -11: + cat +5: + cc -B. -o out/test/aarch64/allow-multiple-definition/exe out/test/aarch64/allow-multiple-definition/a.o out/test/aarch64/allow-multiple-definition/b.o +6: + cc -o out/test/aarch64/ar-alignment/b.o -c -xc - +8: + cc -c -fPIC -o out/test/aarch64/as-needed-dso2/b.o -xc - 13: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/bsymbolic-functions.sh -12: ++ set -x -12: + '[' aarch64 = s390x ']' 13: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 13: ++ export LC_ALL=C 13: ++ LC_ALL=C @@ -2368,49 +2412,37 @@ 13: ++ QEMU= 13: ++ case $MACHINE in 13: ++ tlsdesc_opt=-mtls-dialect=desc -12: + cat 13: +++ uname +12: ++ set -x +12: + '[' aarch64 = s390x ']' 13: ++ '[' Linux = FreeBSD ']' 13: ++ trap 'on_error $LINENO' ERR 13: ++ trap on_exit EXIT +8: + cat +12: + cat +11: ++ set -x 12: + cc -c -fPIC -oout/test/aarch64/bno-symbolic/a.o -xc - 13: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/bsymbolic-functions.sh .sh 13: ++ testname=bsymbolic-functions 13: ++ echo -n 'Testing bsymbolic-functions ... ' 13: Testing bsymbolic-functions ... ++ t=out/test/aarch64/bsymbolic-functions 13: ++ mkdir -p out/test/aarch64/bsymbolic-functions -5: + cc -c -o out/test/aarch64/allow-multiple-definition/b.o -xc - -13: ++ set -x -13: + cat -6: + head -c 1 /dev/zero -1: + cc -B. -o out/test/aarch64/arch-aarch64-range-extension-thunk-disassembly/exe out/test/aarch64/arch-aarch64-range-extension-thunk-disassembly/a.o -Wl,--section-start=.low=0x10000000,--section-start=.high=0x20000000 -11: + ./mold -o out/test/aarch64/auxiliary/b.so out/test/aarch64/auxiliary/a.o -auxiliary foo -f bar -shared -5: + echo 'int main() { return 1; }' -13: + cc -c -o out/test/aarch64/bsymbolic-functions/a.o -fPIC -xc - -10: + cc -o out/test/aarch64/as-needed/b.so -shared -fPIC -Wl,-soname,libfoo.so -xc - -10: + cat -2: + grep -Fq '[VARIANT_PCS]' -2: + grep foo -2: + readelf -W --dyn-syms out/test/aarch64/arch-aarch64-variant-pcs/b.so -2: + cat -11: + readelf --dynamic out/test/aarch64/auxiliary/b.so -2: + cc -c -o out/test/aarch64/arch-aarch64-variant-pcs/c.o -xc - -6: + cc -o out/test/aarch64/ar-alignment/b.o -c -xc - 7: + cc -o out/test/aarch64/as-needed-dso/libbar.so -shared -fPIC -Wl,-soname,libbar.so -xc - -6: + cat +7: + cat 9: + cc -o out/test/aarch64/as-needed-weak/libfoo.so -shared -fPIC -Wl,-soname,libfoo.so -xc - +11: + cat +11: + cc -o out/test/aarch64/auxiliary/a.o -c -x assembler - 9: + cat -7: + cat -11: + grep -Fq 'Auxiliary library: [foo]' out/test/aarch64/auxiliary/log -8: + cc -c -fPIC -o out/test/aarch64/as-needed-dso2/b.o -xc - -8: + cat -11: + grep -Fq 'Auxiliary library: [bar]' out/test/aarch64/auxiliary/log -5: + cc -B. -o out/test/aarch64/allow-multiple-definition/exe out/test/aarch64/allow-multiple-definition/a.o out/test/aarch64/allow-multiple-definition/b.o -11: + on_exit -11: + echo OK -11: OK -11: + exit 0 - 2/336 Test #11: aarch64-auxiliary ........................................ Passed 0.09 sec +11: + ./mold -o out/test/aarch64/auxiliary/b.so out/test/aarch64/auxiliary/a.o -auxiliary foo -f bar -shared +13: ++ set -x +1: + grep -Fq ':' +1: + objdump -dr out/test/aarch64/arch-aarch64-range-extension-thunk-disassembly/exe +13: + cat +1: + on_exit +1: + echo OK +1: OK +1: + exit 0 + 2/336 Test #1: aarch64-arch-aarch64-range-extension-thunk-disassembly ... Passed 0.32 sec test 14 Start 14: aarch64-bsymbolic-non-weak-functions @@ -2420,7 +2452,14 @@ 14: MACHINE=aarch64 14: CPU= 14: Test timeout computed to be: 1500 -12: + cc -B. -shared -fPIC -o out/test/aarch64/bno-symbolic/b.so out/test/aarch64/bno-symbolic/a.o -Wl,-Bsymbolic -Wl,-Bno-symbolic +2: + cc -B. -o out/test/aarch64/arch-aarch64-variant-pcs/exe out/test/aarch64/arch-aarch64-variant-pcs/c.o out/test/aarch64/arch-aarch64-variant-pcs/b.so +13: + cc -c -o out/test/aarch64/bsymbolic-functions/a.o -fPIC -xc - +10: + cc -o out/test/aarch64/as-needed/b.so -shared -fPIC -Wl,-soname,libfoo.so -xc - +10: + cat +11: + readelf --dynamic out/test/aarch64/auxiliary/b.so +4: + cc -B. -o out/test/aarch64/absolute-symbols/exe -no-pie out/test/aarch64/absolute-symbols/a.o out/test/aarch64/absolute-symbols/b.o +8: + cat +6: + cat 14: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/bsymbolic-non-weak-functions.sh 14: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 14: ++ export LC_ALL=C @@ -2438,40 +2477,26 @@ 14: ++ QEMU= 14: ++ case $MACHINE in 14: ++ tlsdesc_opt=-mtls-dialect=desc +8: + cc -xc -c -o out/test/aarch64/as-needed-dso2/c.o - +11: + grep -Fq 'Auxiliary library: [foo]' out/test/aarch64/auxiliary/log +11: + grep -Fq 'Auxiliary library: [bar]' out/test/aarch64/auxiliary/log 6: + cc -o out/test/aarch64/ar-alignment/c.o -c -xc - -2: + cc -B. -o out/test/aarch64/arch-aarch64-variant-pcs/exe out/test/aarch64/arch-aarch64-variant-pcs/c.o out/test/aarch64/arch-aarch64-variant-pcs/b.so 14: +++ uname +12: + cc -B. -shared -fPIC -o out/test/aarch64/bno-symbolic/b.so out/test/aarch64/bno-symbolic/a.o -Wl,-Bsymbolic -Wl,-Bno-symbolic 14: ++ '[' Linux = FreeBSD ']' 14: ++ trap 'on_error $LINENO' ERR 14: ++ trap on_exit EXIT -6: + cat 14: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/bsymbolic-non-weak-functions.sh .sh +5: + cc -B. -o out/test/aarch64/allow-multiple-definition/exe out/test/aarch64/allow-multiple-definition/a.o out/test/aarch64/allow-multiple-definition/b.o -Wl,-allow-multiple-definition 14: ++ testname=bsymbolic-non-weak-functions 14: ++ echo -n 'Testing bsymbolic-non-weak-functions ... ' 14: Testing bsymbolic-non-weak-functions ... ++ t=out/test/aarch64/bsymbolic-non-weak-functions 14: ++ mkdir -p out/test/aarch64/bsymbolic-non-weak-functions -13: + cc -B. -shared -o out/test/aarch64/bsymbolic-functions/b.so out/test/aarch64/bsymbolic-functions/a.o -Wl,-Bsymbolic-functions -14: ++ set -x -14: + cc -c -o out/test/aarch64/bsymbolic-non-weak-functions/a.o -fPIC -xc - -14: + cat -4: + cc -B. -o out/test/aarch64/absolute-symbols/exe -no-pie out/test/aarch64/absolute-symbols/a.o out/test/aarch64/absolute-symbols/b.o -10: + cc -o out/test/aarch64/as-needed/c.so -shared -fPIC -Wl,-soname,libbar.so -xc - -10: + cat -8: + cc -xc -c -o out/test/aarch64/as-needed-dso2/c.o - -8: + cat -1: + grep -Fq ':' -1: + objdump -dr out/test/aarch64/arch-aarch64-range-extension-thunk-disassembly/exe -9: + cat -9: + cc -o out/test/aarch64/as-needed-weak/libbar.so -shared -fPIC -Wl,-soname,libbar.so -xc - -7: + cc -o out/test/aarch64/as-needed-dso/a.o -c -xc - -12: + cc -c -o out/test/aarch64/bno-symbolic/c.o -xc - -fno-PIE -12: + cat -7: + cat -1: + on_exit -1: + echo OK -1: OK -1: + exit 0 - 3/336 Test #1: aarch64-arch-aarch64-range-extension-thunk-disassembly ... Passed 0.17 sec +11: + on_exit +11: + echo OK +11: OK +11: + exit 0 + 3/336 Test #11: aarch64-auxiliary ........................................ Passed 0.21 sec test 15 Start 15: aarch64-bsymbolic-non-weak @@ -2481,10 +2506,16 @@ 15: MACHINE=aarch64 15: CPU= 15: Test timeout computed to be: 1500 -14: + cc -B. -shared -o out/test/aarch64/bsymbolic-non-weak-functions/b.so out/test/aarch64/bsymbolic-non-weak-functions/a.o -Wl,-Bsymbolic-non-weak-functions -6: + rm -f out/test/aarch64/ar-alignment/d.a +14: ++ set -x +9: + cat +9: + cc -o out/test/aarch64/as-needed-weak/libbar.so -shared -fPIC -Wl,-soname,libbar.so -xc - +7: + cc -o out/test/aarch64/as-needed-dso/a.o -c -xc - +7: + cat +13: + cc -B. -shared -o out/test/aarch64/bsymbolic-functions/b.so out/test/aarch64/bsymbolic-functions/a.o -Wl,-Bsymbolic-functions 15: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/bsymbolic-non-weak.sh -2: + grep -q AARCH64_VARIANT_PCS +8: + cc -B. -shared -o out/test/aarch64/as-needed-dso2/libfoo.so out/test/aarch64/as-needed-dso2/a.o +14: + cat +14: + cc -c -o out/test/aarch64/bsymbolic-non-weak-functions/a.o -fPIC -xc - 15: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 15: ++ export LC_ALL=C 15: ++ LC_ALL=C @@ -2501,14 +2532,13 @@ 15: ++ QEMU= 15: ++ case $MACHINE in 15: ++ tlsdesc_opt=-mtls-dialect=desc -6: + ar rcs out/test/aarch64/ar-alignment/d.a out/test/aarch64/ar-alignment/a.o out/test/aarch64/ar-alignment/b.o 2: + readelf -W --dynamic out/test/aarch64/arch-aarch64-variant-pcs/exe -10: + cc -B. -o out/test/aarch64/as-needed/exe out/test/aarch64/as-needed/a.o -Wl,--no-as-needed out/test/aarch64/as-needed/b.so out/test/aarch64/as-needed/c.so +2: + grep -q AARCH64_VARIANT_PCS 2: + on_exit 2: + echo OK 2: OK 2: + exit 0 - 4/336 Test #2: aarch64-arch-aarch64-variant-pcs ......................... Passed 0.18 sec + 4/336 Test #2: aarch64-arch-aarch64-variant-pcs ......................... Passed 0.41 sec test 16 Start 16: aarch64-bsymbolic @@ -2518,22 +2548,42 @@ 16: MACHINE=aarch64 16: CPU= 16: Test timeout computed to be: 1500 -13: + cat -13: + cc -c -o out/test/aarch64/bsymbolic-functions/c.o -xc - -fno-PIE -8: + cc -B. -shared -o out/test/aarch64/as-needed-dso2/libfoo.so out/test/aarch64/as-needed-dso2/a.o -5: + cc -B. -o out/test/aarch64/allow-multiple-definition/exe out/test/aarch64/allow-multiple-definition/a.o out/test/aarch64/allow-multiple-definition/b.o -Wl,-allow-multiple-definition 15: +++ uname 15: ++ '[' Linux = FreeBSD ']' 15: ++ trap 'on_error $LINENO' ERR 15: ++ trap on_exit EXIT -7: + cc -B. -o out/test/aarch64/as-needed-dso/exe out/test/aarch64/as-needed-dso/a.o -Lout/test/aarch64/as-needed-dso -Wl,--as-needed -lbar -lfoo -6: + cc -B. -o out/test/aarch64/ar-alignment/exe out/test/aarch64/ar-alignment/c.o out/test/aarch64/ar-alignment/d.a +10: + cat 15: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/bsymbolic-non-weak.sh .sh -16: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/bsymbolic.sh 15: ++ testname=bsymbolic-non-weak 15: ++ echo -n 'Testing bsymbolic-non-weak ... ' 15: Testing bsymbolic-non-weak ... ++ t=out/test/aarch64/bsymbolic-non-weak 15: ++ mkdir -p out/test/aarch64/bsymbolic-non-weak +4: + out/test/aarch64/absolute-symbols/exe +15: ++ set -x +15: + cc -c -o out/test/aarch64/bsymbolic-non-weak/a.o -fPIC -xc - +4: + grep -q '^ip=0xa0000.$' +15: + cat +4: + on_exit +4: + echo OK +4: OK +4: + exit 0 + 5/336 Test #4: aarch64-absolute-symbols ................................. Passed 0.41 sec +test 17 + Start 17: aarch64-build-id + +17: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/build-id.sh" +17: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +17: Environment variables: +17: MACHINE=aarch64 +17: CPU= +17: Test timeout computed to be: 1500 +6: + rm -f out/test/aarch64/ar-alignment/d.a +6: + ar rcs out/test/aarch64/ar-alignment/d.a out/test/aarch64/ar-alignment/a.o out/test/aarch64/ar-alignment/b.o +6: + cc -B. -o out/test/aarch64/ar-alignment/exe out/test/aarch64/ar-alignment/c.o out/test/aarch64/ar-alignment/d.a +10: + cc -o out/test/aarch64/as-needed/c.so -shared -fPIC -Wl,-soname,libbar.so -xc - +14: + cc -B. -shared -o out/test/aarch64/bsymbolic-non-weak-functions/b.so out/test/aarch64/bsymbolic-non-weak-functions/a.o -Wl,-Bsymbolic-non-weak-functions +5: + cc -B. -o out/test/aarch64/allow-multiple-definition/exe out/test/aarch64/allow-multiple-definition/a.o out/test/aarch64/allow-multiple-definition/b.o -Wl,-z,muldefs +16: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/bsymbolic.sh 16: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 16: ++ export LC_ALL=C 16: ++ LC_ALL=C @@ -2554,35 +2604,14 @@ 16: ++ '[' Linux = FreeBSD ']' 16: ++ trap 'on_error $LINENO' ERR 16: ++ trap on_exit EXIT +7: + cc -B. -o out/test/aarch64/as-needed-dso/exe out/test/aarch64/as-needed-dso/a.o -Lout/test/aarch64/as-needed-dso -Wl,--as-needed -lbar -lfoo +8: + cc -B. -shared -o out/test/aarch64/as-needed-dso2/libbar.so out/test/aarch64/as-needed-dso2/b.o +17: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/build-id.sh 16: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/bsymbolic.sh .sh 16: ++ testname=bsymbolic 16: ++ echo -n 'Testing bsymbolic ... ' 16: Testing bsymbolic ... ++ t=out/test/aarch64/bsymbolic 16: ++ mkdir -p out/test/aarch64/bsymbolic -4: + grep -q '^ip=0xa0000.$' -15: ++ set -x -16: ++ set -x -15: + cc -c -o out/test/aarch64/bsymbolic-non-weak/a.o -fPIC -xc - -16: + cat -4: + out/test/aarch64/absolute-symbols/exe -4: + on_exit -4: + echo OK -4: OK -4: + exit 0 - 5/336 Test #4: aarch64-absolute-symbols ................................. Passed 0.19 sec -test 17 - Start 17: aarch64-build-id - -17: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/build-id.sh" -17: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -17: Environment variables: -17: MACHINE=aarch64 -17: CPU= -17: Test timeout computed to be: 1500 -15: + cat -16: + cc -c -fPIC -oout/test/aarch64/bsymbolic/a.o -xc - -12: + cc -B. -no-pie -o out/test/aarch64/bno-symbolic/exe out/test/aarch64/bno-symbolic/c.o out/test/aarch64/bno-symbolic/b.so -17: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/build-id.sh 17: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 17: ++ export LC_ALL=C 17: ++ LC_ALL=C @@ -2599,27 +2628,38 @@ 17: ++ QEMU= 17: ++ case $MACHINE in 17: ++ tlsdesc_opt=-mtls-dialect=desc +16: ++ set -x +9: + cc -B. -o out/test/aarch64/as-needed-weak/exe1 out/test/aarch64/as-needed-weak/a.o -Wl,-no-as-needed -Lout/test/aarch64/as-needed-weak -lbar -lfoo +16: + cat +15: + cc -B. -shared -o out/test/aarch64/bsymbolic-non-weak/b.so out/test/aarch64/bsymbolic-non-weak/a.o -Wl,-Bsymbolic-non-weak +12: + cat 17: +++ uname 17: ++ '[' Linux = FreeBSD ']' 17: ++ trap 'on_error $LINENO' ERR 17: ++ trap on_exit EXIT +12: + cc -c -o out/test/aarch64/bno-symbolic/c.o -xc - -fno-PIE +16: + cc -c -fPIC -oout/test/aarch64/bsymbolic/a.o -xc - 17: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/build-id.sh .sh -8: + cc -B. -shared -o out/test/aarch64/as-needed-dso2/libbar.so out/test/aarch64/as-needed-dso2/b.o 17: ++ testname=build-id 17: ++ echo -n 'Testing build-id ... ' 17: Testing build-id ... ++ t=out/test/aarch64/build-id 17: ++ mkdir -p out/test/aarch64/build-id -13: + cc -B. -no-pie -o out/test/aarch64/bsymbolic-functions/exe out/test/aarch64/bsymbolic-functions/c.o out/test/aarch64/bsymbolic-functions/b.so -10: + readelf --dynamic out/test/aarch64/as-needed/exe -9: + cc -B. -o out/test/aarch64/as-needed-weak/exe1 out/test/aarch64/as-needed-weak/a.o -Wl,-no-as-needed -Lout/test/aarch64/as-needed-weak -lbar -lfoo +10: + cc -B. -o out/test/aarch64/as-needed/exe out/test/aarch64/as-needed/a.o -Wl,--no-as-needed out/test/aarch64/as-needed/b.so out/test/aarch64/as-needed/c.so 17: ++ set -x 17: + echo 'int main() { return 0; }' 17: + cc -B. -o out/test/aarch64/build-id/exe out/test/aarch64/build-id/a.c -Wl,-build-id -6: + on_exit -6: + echo OK -6: OK -6: + exit 0 - 6/336 Test #6: aarch64-ar-alignment ..................................... Passed 0.20 sec +8: + cc -B. -o out/test/aarch64/as-needed-dso2/exe out/test/aarch64/as-needed-dso2/c.o -Lout/test/aarch64/as-needed-dso2 -Wl,--as-needed -lfoo -lbar +13: + cc -c -o out/test/aarch64/bsymbolic-functions/c.o -xc - -fno-PIE +13: + cat +16: + cc -B. -shared -fPIC -o out/test/aarch64/bsymbolic/b.so out/test/aarch64/bsymbolic/a.o -Wl,-Bsymbolic +7: + readelf -W --dynamic out/test/aarch64/as-needed-dso/exe +5: + on_exit +5: + echo OK +5: OK +5: + exit 0 +14: + cat +14: + cc -c -o out/test/aarch64/bsymbolic-non-weak-functions/c.o -xc - + 6/336 Test #5: aarch64-allow-multiple-definition ........................ Passed 0.52 sec test 18 Start 18: aarch64-canonical-plt @@ -2629,11 +2669,28 @@ 18: MACHINE=aarch64 18: CPU= 18: Test timeout computed to be: 1500 -14: + cc -c -o out/test/aarch64/bsymbolic-non-weak-functions/c.o -xc - -14: + cat -7: + readelf -W --dynamic out/test/aarch64/as-needed-dso/exe +7: + grep -q libbar out/test/aarch64/as-needed-dso/log2 +8: + readelf --dynamic out/test/aarch64/as-needed-dso2/exe +8: + grep libfoo.so out/test/aarch64/as-needed-dso2/log +12: + cc -B. -no-pie -o out/test/aarch64/bno-symbolic/exe out/test/aarch64/bno-symbolic/c.o out/test/aarch64/bno-symbolic/b.so +6: + on_exit +6: + echo OK +6: OK +6: + exit 0 +9: + readelf --dynamic out/test/aarch64/as-needed-weak/exe1 + 7/336 Test #6: aarch64-ar-alignment ..................................... Passed 0.52 sec +test 19 + Start 19: aarch64-cmdline + +19: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/cmdline.sh" +19: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +19: Environment variables: +19: MACHINE=aarch64 +19: CPU= +19: Test timeout computed to be: 1500 +8: + grep -q libbar.so out/test/aarch64/as-needed-dso2/log +7: + grep -q libfoo out/test/aarch64/as-needed-dso/log2 18: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/canonical-plt.sh -15: + cc -B. -shared -o out/test/aarch64/bsymbolic-non-weak/b.so out/test/aarch64/bsymbolic-non-weak/a.o -Wl,-Bsymbolic-non-weak 18: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 18: ++ export LC_ALL=C 18: ++ LC_ALL=C @@ -2650,40 +2707,25 @@ 18: ++ QEMU= 18: ++ case $MACHINE in 18: ++ tlsdesc_opt=-mtls-dialect=desc -7: + grep -q libbar out/test/aarch64/as-needed-dso/log2 -10: + grep -Fq 'Shared library: [libfoo.so]' out/test/aarch64/as-needed/log 18: +++ uname -18: ++ '[' Linux = FreeBSD ']' -18: ++ trap 'on_error $LINENO' ERR -18: ++ trap on_exit EXIT -7: + grep -q libfoo out/test/aarch64/as-needed-dso/log2 -10: + grep -Fq 'Shared library: [libbar.so]' out/test/aarch64/as-needed/log 7: + on_exit 7: + echo OK 7: OK 7: + exit 0 -10: + cc -B. -o out/test/aarch64/as-needed/exe out/test/aarch64/as-needed/a.o -Wl,--as-needed out/test/aarch64/as-needed/b.so out/test/aarch64/as-needed/c.so - 7/336 Test #7: aarch64-as-needed-dso .................................... Passed 0.21 sec -test 19 - Start 19: aarch64-cmdline - -19: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/cmdline.sh" -19: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -19: Environment variables: -19: MACHINE=aarch64 -19: CPU= -19: Test timeout computed to be: 1500 -18: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/canonical-plt.sh .sh -18: ++ testname=canonical-plt -18: ++ echo -n 'Testing canonical-plt ... ' -18: Testing canonical-plt ... ++ t=out/test/aarch64/canonical-plt -18: ++ mkdir -p out/test/aarch64/canonical-plt -18: ++ set -x -18: + '[' aarch64 = s390x ']' -18: + cc -o out/test/aarch64/canonical-plt/a.so -fPIC -shared -xc - -5: + cc -B. -o out/test/aarch64/allow-multiple-definition/exe out/test/aarch64/allow-multiple-definition/a.o out/test/aarch64/allow-multiple-definition/b.o -Wl,-z,muldefs -18: + cat 19: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/cmdline.sh +9: + grep -Fq 'Shared library: [libfoo.so]' out/test/aarch64/as-needed-weak/log1 + 8/336 Test #7: aarch64-as-needed-dso .................................... Passed 0.52 sec +test 20 + Start 20: aarch64-color-diagnostics + +20: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/color-diagnostics.sh" +20: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +20: Environment variables: +20: MACHINE=aarch64 +20: CPU= +20: Test timeout computed to be: 1500 +9: + grep -Fq 'Shared library: [libbar.so]' out/test/aarch64/as-needed-weak/log1 +9: + cc -B. -o out/test/aarch64/as-needed-weak/exe2 out/test/aarch64/as-needed-weak/a.o -Wl,-as-needed -Lout/test/aarch64/as-needed-weak -lbar -lfoo 19: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 19: ++ export LC_ALL=C 19: ++ LC_ALL=C @@ -2700,46 +2742,37 @@ 19: ++ QEMU= 19: ++ case $MACHINE in 19: ++ tlsdesc_opt=-mtls-dialect=desc -16: + cc -B. -shared -fPIC -o out/test/aarch64/bsymbolic/b.so out/test/aarch64/bsymbolic/a.o -Wl,-Bsymbolic 19: +++ uname 19: ++ '[' Linux = FreeBSD ']' 19: ++ trap 'on_error $LINENO' ERR 19: ++ trap on_exit EXIT -8: + cc -B. -o out/test/aarch64/as-needed-dso2/exe out/test/aarch64/as-needed-dso2/c.o -Lout/test/aarch64/as-needed-dso2 -Wl,--as-needed -lfoo -lbar 19: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/cmdline.sh .sh 19: ++ testname=cmdline 19: ++ echo -n 'Testing cmdline ... ' 19: Testing cmdline ... ++ t=out/test/aarch64/cmdline 19: ++ mkdir -p out/test/aarch64/cmdline -13: + grep -q '3 3 0' -12: + grep -q '3 3 1' -12: + out/test/aarch64/bno-symbolic/exe 19: ++ set -x -12: + on_exit -12: + echo OK -12: OK -12: + exit 0 - 8/336 Test #12: aarch64-bno-symbolic ..................................... Passed 0.22 sec -test 20 - Start 20: aarch64-color-diagnostics - -20: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/color-diagnostics.sh" -20: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -20: Environment variables: -20: MACHINE=aarch64 -20: CPU= -20: Test timeout computed to be: 1500 -13: + out/test/aarch64/bsymbolic-functions/exe -13: + on_exit -13: + echo OK -13: OK -13: + exit 0 19: + grep -q 'unknown command line option: -zfoo' -15: + cat +18: ++ '[' Linux = FreeBSD ']' +18: ++ trap 'on_error $LINENO' ERR +18: ++ trap on_exit EXIT +18: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/canonical-plt.sh .sh +18: ++ testname=canonical-plt +18: ++ echo -n 'Testing canonical-plt ... ' +18: Testing canonical-plt ... ++ t=out/test/aarch64/canonical-plt +18: ++ mkdir -p out/test/aarch64/canonical-plt +18: ++ set -x +18: + '[' aarch64 = s390x ']' +18: + cat +8: + on_exit +8: + echo OK +8: OK +8: + exit 0 +10: + readelf --dynamic out/test/aarch64/as-needed/exe 15: + cc -c -o out/test/aarch64/bsymbolic-non-weak/c.o -xc - -9: + readelf --dynamic out/test/aarch64/as-needed-weak/exe1 -20: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/color-diagnostics.sh - 9/336 Test #13: aarch64-bsymbolic-functions .............................. Passed 0.20 sec +15: + cat +13: + cc -B. -no-pie -o out/test/aarch64/bsymbolic-functions/exe out/test/aarch64/bsymbolic-functions/c.o out/test/aarch64/bsymbolic-functions/b.so + 9/336 Test #8: aarch64-as-needed-dso2 ................................... Passed 0.53 sec test 21 Start 21: aarch64-comment @@ -2749,9 +2782,10 @@ 21: MACHINE=aarch64 21: CPU= 21: Test timeout computed to be: 1500 -19: + grep -q 'unknown command line option: -z foo' -9: + grep -Fq 'Shared library: [libfoo.so]' out/test/aarch64/as-needed-weak/log1 -9: + grep -Fq 'Shared library: [libbar.so]' out/test/aarch64/as-needed-weak/log1 +18: + cc -o out/test/aarch64/canonical-plt/a.so -fPIC -shared -xc - +10: + grep -Fq 'Shared library: [libfoo.so]' out/test/aarch64/as-needed/log +14: + cc -B. -o out/test/aarch64/bsymbolic-non-weak-functions/exe out/test/aarch64/bsymbolic-non-weak-functions/c.o out/test/aarch64/bsymbolic-non-weak-functions/b.so +20: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/color-diagnostics.sh 20: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 20: ++ export LC_ALL=C 20: ++ LC_ALL=C @@ -2768,24 +2802,12 @@ 20: ++ QEMU= 20: ++ case $MACHINE in 20: ++ tlsdesc_opt=-mtls-dialect=desc +10: + grep -Fq 'Shared library: [libbar.so]' out/test/aarch64/as-needed/log +19: + grep -q 'unknown command line option: -z foo' 20: +++ uname 20: ++ '[' Linux = FreeBSD ']' -20: ++ trap 'on_error $LINENO' ERR -20: ++ trap on_exit EXIT -20: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/color-diagnostics.sh .sh -20: ++ testname=color-diagnostics -20: ++ echo -n 'Testing color-diagnostics ... ' -20: Testing color-diagnostics ... ++ t=out/test/aarch64/color-diagnostics -20: ++ mkdir -p out/test/aarch64/color-diagnostics -14: + cc -B. -o out/test/aarch64/bsymbolic-non-weak-functions/exe out/test/aarch64/bsymbolic-non-weak-functions/c.o out/test/aarch64/bsymbolic-non-weak-functions/b.so -5: + on_exit -5: + echo OK -5: OK -5: + exit 0 -10: + readelf --dynamic out/test/aarch64/as-needed/exe -10: + grep -Fq 'Shared library: [libfoo.so]' out/test/aarch64/as-needed/log -18: + cc -o out/test/aarch64/canonical-plt/b.o -c -xc - -fPIC 21: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/comment.sh +10: + cc -B. -o out/test/aarch64/as-needed/exe out/test/aarch64/as-needed/a.o -Wl,--as-needed out/test/aarch64/as-needed/b.so out/test/aarch64/as-needed/c.so 21: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 21: ++ export LC_ALL=C 21: ++ LC_ALL=C @@ -2802,7 +2824,36 @@ 21: ++ QEMU= 21: ++ case $MACHINE in 21: ++ tlsdesc_opt=-mtls-dialect=desc - 10/336 Test #5: aarch64-allow-multiple-definition ........................ Passed 0.27 sec +20: ++ trap 'on_error $LINENO' ERR +20: ++ trap on_exit EXIT +17: + grep -qv 'GNU.*0x00000010.*NT_GNU_BUILD_ID' +21: +++ uname +21: ++ '[' Linux = FreeBSD ']' +21: ++ trap 'on_error $LINENO' ERR +21: ++ trap on_exit EXIT +17: + readelf -n out/test/aarch64/build-id/exe +17: + cc -B. -o out/test/aarch64/build-id/exe out/test/aarch64/build-id/a.c -Wl,-build-id=uuid +20: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/color-diagnostics.sh .sh +21: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/comment.sh .sh +20: ++ testname=color-diagnostics +20: ++ echo -n 'Testing color-diagnostics ... ' +20: Testing color-diagnostics ... ++ t=out/test/aarch64/color-diagnostics +20: ++ mkdir -p out/test/aarch64/color-diagnostics +21: ++ testname=comment +21: ++ echo -n 'Testing comment ... ' +21: Testing comment ... ++ t=out/test/aarch64/comment +21: ++ mkdir -p out/test/aarch64/comment +16: + cat +16: + cc -c -o out/test/aarch64/bsymbolic/c.o -xc - -fno-PIE +12: + grep -q '3 3 1' +12: + out/test/aarch64/bno-symbolic/exe +12: + on_exit +12: + echo OK +12: OK +12: + exit 0 +19: + grep -q 'unknown command line option: -abcdefg' +9: + readelf --dynamic out/test/aarch64/as-needed-weak/exe2 + 10/336 Test #12: aarch64-bno-symbolic ..................................... Passed 0.53 sec test 22 Start 22: aarch64-common-archive @@ -2812,32 +2863,17 @@ 22: MACHINE=aarch64 22: CPU= 22: Test timeout computed to be: 1500 -19: + grep -q 'unknown command line option: -abcdefg' -9: + cc -B. -o out/test/aarch64/as-needed-weak/exe2 out/test/aarch64/as-needed-weak/a.o -Wl,-as-needed -Lout/test/aarch64/as-needed-weak -lbar -lfoo +21: ++ set -x +21: + cat +15: + cc -B. -o out/test/aarch64/bsymbolic-non-weak/exe out/test/aarch64/bsymbolic-non-weak/c.o out/test/aarch64/bsymbolic-non-weak/b.so 20: ++ set -x -20: + cat -20: + cc -o out/test/aarch64/color-diagnostics/a.o -c -xc - -10: + grep -Fq 'Shared library: [libbar.so]' out/test/aarch64/as-needed/log +19: + grep -q 'unknown command line option: --abcdefg' +18: + cc -o out/test/aarch64/canonical-plt/b.o -c -xc - -fPIC +9: + grep -Fq 'Shared library: [libfoo.so]' out/test/aarch64/as-needed-weak/log2 18: + cat -21: +++ uname -21: ++ '[' Linux = FreeBSD ']' -21: ++ trap 'on_error $LINENO' ERR -21: ++ trap on_exit EXIT -10: + on_exit -10: + echo OK -10: OK -10: + exit 0 +21: + cc -c -o out/test/aarch64/comment/a.o -xc - 22: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/common-archive.sh - 11/336 Test #10: aarch64-as-needed ........................................ Passed 0.25 sec -test 23 - Start 23: aarch64-common-ref - -23: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/common-ref.sh" -23: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -23: Environment variables: -23: MACHINE=aarch64 -23: CPU= -23: Test timeout computed to be: 1500 +9: + grep -Fq 'Shared library: [libbar.so]' out/test/aarch64/as-needed-weak/log2 22: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 22: ++ export LC_ALL=C 22: ++ LC_ALL=C @@ -2854,6 +2890,32 @@ 22: ++ QEMU= 22: ++ case $MACHINE in 22: ++ tlsdesc_opt=-mtls-dialect=desc +20: + cc -o out/test/aarch64/color-diagnostics/a.o -c -xc - +13: + out/test/aarch64/bsymbolic-functions/exe +20: + cat +13: + grep -q '3 3 0' +13: + on_exit +13: + echo OK +13: OK +13: + exit 0 +19: + on_exit +19: + echo OK +19: OK +19: + exit 0 + 11/336 Test #13: aarch64-bsymbolic-functions .............................. Passed 0.52 sec +test 23 + Start 23: aarch64-common-ref + +23: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/common-ref.sh" +23: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +23: Environment variables: +23: MACHINE=aarch64 +23: CPU= +23: Test timeout computed to be: 1500 +9: + on_exit +9: + echo OK +9: OK +9: + exit 0 22: +++ uname 22: ++ '[' Linux = FreeBSD ']' 22: ++ trap 'on_error $LINENO' ERR @@ -2863,20 +2925,8 @@ 22: ++ echo -n 'Testing common-archive ... ' 22: Testing common-archive ... ++ t=out/test/aarch64/common-archive 22: ++ mkdir -p out/test/aarch64/common-archive -19: + grep -q 'unknown command line option: --abcdefg' -19: + on_exit -19: + echo OK -19: OK -19: + exit 0 -16: + cat -16: + cc -c -o out/test/aarch64/bsymbolic/c.o -xc - -fno-PIE -21: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/comment.sh .sh -21: ++ testname=comment -21: ++ echo -n 'Testing comment ... ' -21: Testing comment ... ++ t=out/test/aarch64/comment -21: ++ mkdir -p out/test/aarch64/comment -8: + readelf --dynamic out/test/aarch64/as-needed-dso2/exe - 12/336 Test #19: aarch64-cmdline .......................................... Passed 0.07 sec + 12/336 Test #9: aarch64-as-needed-weak ................................... Passed 0.65 sec + 13/336 Test #19: aarch64-cmdline .......................................... Passed 0.17 sec test 24 Start 24: aarch64-common-symbols @@ -2886,11 +2936,19 @@ 24: MACHINE=aarch64 24: CPU= 24: Test timeout computed to be: 1500 +test 25 + Start 25: aarch64-compress-debug-sections-zstd + +25: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/compress-debug-sections-zstd.sh" +25: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +25: Environment variables: +25: MACHINE=aarch64 +25: CPU= +25: Test timeout computed to be: 1500 22: ++ set -x -22: + cc -fcommon -xc -c -o out/test/aarch64/common-archive/a.o - 22: + cat -21: ++ set -x -15: + cc -B. -o out/test/aarch64/bsymbolic-non-weak/exe out/test/aarch64/bsymbolic-non-weak/c.o out/test/aarch64/bsymbolic-non-weak/b.so +22: + cc -fcommon -xc -c -o out/test/aarch64/common-archive/a.o - +21: + cc -B. -o out/test/aarch64/comment/exe out/test/aarch64/comment/a.o 23: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/common-ref.sh 23: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 23: ++ export LC_ALL=C @@ -2912,20 +2970,10 @@ 23: ++ '[' Linux = FreeBSD ']' 23: ++ trap 'on_error $LINENO' ERR 23: ++ trap on_exit EXIT -23: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/common-ref.sh .sh -21: + cc -c -o out/test/aarch64/comment/a.o -xc - -23: ++ testname=common-ref -23: ++ echo -n 'Testing common-ref ... ' -23: Testing common-ref ... ++ t=out/test/aarch64/common-ref -23: ++ mkdir -p out/test/aarch64/common-ref -23: ++ set -x -8: + grep libfoo.so out/test/aarch64/as-needed-dso2/log -18: + cat +10: + readelf --dynamic out/test/aarch64/as-needed/exe +16: + cc -B. -no-pie -o out/test/aarch64/bsymbolic/exe out/test/aarch64/bsymbolic/c.o out/test/aarch64/bsymbolic/b.so +14: + grep -q '^3 3 3 3 3 7$' 24: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/common-symbols.sh -18: + cc -o out/test/aarch64/canonical-plt/c.o -c -xc - -fno-PIC -8: + grep -q libbar.so out/test/aarch64/as-needed-dso2/log -23: + cat -23: + cc -fcommon -xc -c -o out/test/aarch64/common-ref/a.o - 24: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 24: ++ export LC_ALL=C 24: ++ LC_ALL=C @@ -2942,41 +2990,18 @@ 24: ++ QEMU= 24: ++ case $MACHINE in 24: ++ tlsdesc_opt=-mtls-dialect=desc -21: + cat -24: +++ uname -8: + on_exit -8: + echo OK -8: OK -8: + exit 0 -24: ++ '[' Linux = FreeBSD ']' -24: ++ trap 'on_error $LINENO' ERR -24: ++ trap on_exit EXIT -14: + grep -q '^3 3 3 3 3 7$' -24: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/common-symbols.sh .sh - 13/336 Test #8: aarch64-as-needed-dso2 ................................... Passed 0.28 sec -test 25 - Start 25: aarch64-compress-debug-sections-zstd - -25: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/compress-debug-sections-zstd.sh" -25: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -25: Environment variables: -25: MACHINE=aarch64 -25: CPU= -25: Test timeout computed to be: 1500 -24: ++ testname=common-symbols -24: ++ echo -n 'Testing common-symbols ... ' -24: Testing common-symbols ... ++ t=out/test/aarch64/common-symbols -24: ++ mkdir -p out/test/aarch64/common-symbols -24: ++ set -x -24: + cc -fcommon -xc -c -o out/test/aarch64/common-symbols/a.o - -24: + cat 14: + out/test/aarch64/bsymbolic-non-weak-functions/exe +15: + grep -q '^3 3 3 3 4 7$' 14: + on_exit 14: + echo OK 14: OK 14: + exit 0 -20: + ./mold -o out/test/aarch64/color-diagnostics/exe out/test/aarch64/color-diagnostics/a.o --color-diagnostics - 14/336 Test #14: aarch64-bsymbolic-non-weak-functions ..................... Passed 0.20 sec +23: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/common-ref.sh .sh +23: ++ testname=common-ref +23: ++ echo -n 'Testing common-ref ... ' +23: Testing common-ref ... ++ t=out/test/aarch64/common-ref +23: ++ mkdir -p out/test/aarch64/common-ref + 14/336 Test #14: aarch64-bsymbolic-non-weak-functions ..................... Passed 0.50 sec test 26 Start 26: aarch64-compress-debug-sections @@ -2986,9 +3011,13 @@ 26: MACHINE=aarch64 26: CPU= 26: Test timeout computed to be: 1500 -20: + grep -q $'\E' out/test/aarch64/color-diagnostics/log -17: + grep -qv 'GNU.*0x00000010.*NT_GNU_BUILD_ID' -17: + readelf -n out/test/aarch64/build-id/exe +24: +++ uname +24: ++ '[' Linux = FreeBSD ']' +24: ++ trap 'on_error $LINENO' ERR +24: ++ trap on_exit EXIT +24: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/common-symbols.sh .sh +10: + grep -Fq 'Shared library: [libfoo.so]' out/test/aarch64/as-needed/log +18: + cat 25: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/compress-debug-sections-zstd.sh 25: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 25: ++ export LC_ALL=C @@ -3006,18 +3035,34 @@ 25: ++ QEMU= 25: ++ case $MACHINE in 25: ++ tlsdesc_opt=-mtls-dialect=desc -25: +++ uname -25: ++ '[' Linux = FreeBSD ']' -25: ++ trap 'on_error $LINENO' ERR -25: ++ trap on_exit EXIT -26: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/compress-debug-sections.sh -20: + ./mold -o out/test/aarch64/color-diagnostics/exe out/test/aarch64/color-diagnostics/a.o --color-diagnostics=always -16: + cc -B. -no-pie -o out/test/aarch64/bsymbolic/exe out/test/aarch64/bsymbolic/c.o out/test/aarch64/bsymbolic/b.so -15: + grep -q '^3 3 3 3 4 7$' -17: + cc -B. -o out/test/aarch64/build-id/exe out/test/aarch64/build-id/a.c -Wl,-build-id=uuid -21: + cc -B. -o out/test/aarch64/comment/exe out/test/aarch64/comment/a.o 15: + out/test/aarch64/bsymbolic-non-weak/exe -25: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/compress-debug-sections-zstd.sh .sh +24: ++ testname=common-symbols +24: ++ echo -n 'Testing common-symbols ... ' +24: Testing common-symbols ... ++ t=out/test/aarch64/common-symbols +24: ++ mkdir -p out/test/aarch64/common-symbols +23: ++ set -x +20: + ./mold -o out/test/aarch64/color-diagnostics/exe out/test/aarch64/color-diagnostics/a.o --color-diagnostics +15: + on_exit +15: + echo OK +15: OK +15: + exit 0 +18: + cc -o out/test/aarch64/canonical-plt/c.o -c -xc - -fno-PIC + 15/336 Test #15: aarch64-bsymbolic-non-weak ............................... Passed 0.45 sec +test 27 + Start 27: aarch64-compressed-debug-info + +27: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/compressed-debug-info.sh" +27: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +27: Environment variables: +27: MACHINE=aarch64 +27: CPU= +27: Test timeout computed to be: 1500 +23: + cat +23: + cc -fcommon -xc -c -o out/test/aarch64/common-ref/a.o - +17: + grep -Eq 'Build ID: ............4...[89abcdef]' +17: + readelf -nW out/test/aarch64/build-id/exe +17: + cc -B. -o out/test/aarch64/build-id/exe out/test/aarch64/build-id/a.c -Wl,-build-id=md5 +26: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/compress-debug-sections.sh 26: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 26: ++ export LC_ALL=C 26: ++ LC_ALL=C @@ -3034,36 +3079,23 @@ 26: ++ QEMU= 26: ++ case $MACHINE in 26: ++ tlsdesc_opt=-mtls-dialect=desc +26: +++ uname +10: + grep -Fq 'Shared library: [libbar.so]' out/test/aarch64/as-needed/log +10: + on_exit +10: + echo OK +10: OK +10: + exit 0 +25: +++ uname +25: ++ '[' Linux = FreeBSD ']' +25: ++ trap 'on_error $LINENO' ERR +25: ++ trap on_exit EXIT +25: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/compress-debug-sections-zstd.sh .sh 25: ++ testname=compress-debug-sections-zstd 25: ++ echo -n 'Testing compress-debug-sections-zstd ... ' 25: Testing compress-debug-sections-zstd ... ++ t=out/test/aarch64/compress-debug-sections-zstd 25: ++ mkdir -p out/test/aarch64/compress-debug-sections-zstd -24: + cc -fcommon -xc -c -o out/test/aarch64/common-symbols/b.o - -24: + cat -25: ++ set -x -25: + '[' aarch64 = arm ']' -25: + '[' aarch64 = riscv32 ']' -25: + command -v zstdcat -25: + skip -25: + echo skipped -25: skipped -25: + trap - EXIT -25: + exit 0 -15: + on_exit -15: + echo OK -15: OK -15: + exit 0 - 15/336 Test #15: aarch64-bsymbolic-non-weak ............................... Passed 0.16 sec - 16/336 Test #25: aarch64-compress-debug-sections-zstd .....................***Skipped 0.02 sec -test 27 - Start 27: aarch64-compressed-debug-info - -27: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/compressed-debug-info.sh" -27: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -27: Environment variables: -27: MACHINE=aarch64 -27: CPU= -27: Test timeout computed to be: 1500 +24: ++ set -x + 16/336 Test #10: aarch64-as-needed ........................................ Passed 0.70 sec test 28 Start 28: aarch64-copyrel-alignment @@ -3073,9 +3105,16 @@ 28: MACHINE=aarch64 28: CPU= 28: Test timeout computed to be: 1500 -9: + readelf --dynamic out/test/aarch64/as-needed-weak/exe2 -22: + cat -22: + cc -fcommon -xc -c -o out/test/aarch64/common-archive/b.o - +26: ++ '[' Linux = FreeBSD ']' +26: ++ trap 'on_error $LINENO' ERR +26: ++ trap on_exit EXIT +26: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/compress-debug-sections.sh .sh +26: ++ testname=compress-debug-sections +26: ++ echo -n 'Testing compress-debug-sections ... ' +26: Testing compress-debug-sections ... ++ t=out/test/aarch64/compress-debug-sections +26: ++ mkdir -p out/test/aarch64/compress-debug-sections +24: + cat +24: + cc -fcommon -xc -c -o out/test/aarch64/common-symbols/a.o - 27: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/compressed-debug-info.sh 27: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 27: ++ export LC_ALL=C @@ -3093,9 +3132,27 @@ 27: ++ QEMU= 27: ++ case $MACHINE in 27: ++ tlsdesc_opt=-mtls-dialect=desc -18: + cc -B. -no-pie -o out/test/aarch64/canonical-plt/exe out/test/aarch64/canonical-plt/a.so out/test/aarch64/canonical-plt/b.o out/test/aarch64/canonical-plt/c.o +20: + grep -q $'\E' out/test/aarch64/color-diagnostics/log +25: ++ set -x +25: + '[' aarch64 = arm ']' +25: + '[' aarch64 = riscv32 ']' +25: + command -v zstdcat +25: + skip +25: + echo skipped +25: skipped +25: + trap - EXIT +25: + exit 0 + 17/336 Test #25: aarch64-compress-debug-sections-zstd .....................***Skipped 0.08 sec +test 29 + Start 29: aarch64-copyrel-norelro + +29: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/copyrel-norelro.sh" +29: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +29: Environment variables: +29: MACHINE=aarch64 +29: CPU= +29: Test timeout computed to be: 1500 28: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/copyrel-alignment.sh -26: +++ uname 28: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 28: ++ export LC_ALL=C 28: ++ LC_ALL=C @@ -3112,70 +3169,21 @@ 28: ++ QEMU= 28: ++ case $MACHINE in 28: ++ tlsdesc_opt=-mtls-dialect=desc -26: ++ '[' Linux = FreeBSD ']' -26: ++ trap 'on_error $LINENO' ERR -26: ++ trap on_exit EXIT -20: + grep -q $'\E' out/test/aarch64/color-diagnostics/log +26: ++ set -x +26: + command -v dwarfdump +26: + cat +26: + cc -c -g -o out/test/aarch64/compress-debug-sections/a.o -xc - 27: +++ uname -20: + ./mold -o out/test/aarch64/color-diagnostics/exe out/test/aarch64/color-diagnostics/a.o --color-diagnostics=never -26: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/compress-debug-sections.sh .sh 27: ++ '[' Linux = FreeBSD ']' 27: ++ trap 'on_error $LINENO' ERR 27: ++ trap on_exit EXIT -23: + cc -fcommon -xc -c -o out/test/aarch64/common-ref/b.o - -23: + cat -26: ++ testname=compress-debug-sections -26: ++ echo -n 'Testing compress-debug-sections ... ' -26: Testing compress-debug-sections ... ++ t=out/test/aarch64/compress-debug-sections -26: ++ mkdir -p out/test/aarch64/compress-debug-sections +20: + ./mold -o out/test/aarch64/color-diagnostics/exe out/test/aarch64/color-diagnostics/a.o --color-diagnostics=always +22: + cat +22: + cc -fcommon -xc -c -o out/test/aarch64/common-archive/b.o - 28: +++ uname 28: ++ '[' Linux = FreeBSD ']' 28: ++ trap 'on_error $LINENO' ERR 28: ++ trap on_exit EXIT -28: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/copyrel-alignment.sh .sh -28: ++ testname=copyrel-alignment -28: ++ echo -n 'Testing copyrel-alignment ... ' -28: Testing copyrel-alignment ... ++ t=out/test/aarch64/copyrel-alignment -28: ++ mkdir -p out/test/aarch64/copyrel-alignment -28: ++ set -x -28: + '[' aarch64 = ppc64 ']' -28: + '[' aarch64 = ppc64le ']' -28: + [[ aarch64 = loongarch* ]] -26: ++ set -x -26: + command -v dwarfdump -26: + cc -c -g -o out/test/aarch64/compress-debug-sections/a.o -xc - -26: + cat -9: + grep -Fq 'Shared library: [libfoo.so]' out/test/aarch64/as-needed-weak/log2 -9: + grep -Fq 'Shared library: [libbar.so]' out/test/aarch64/as-needed-weak/log2 -9: + on_exit -9: + echo OK -9: OK -9: + exit 0 -20: + grep -q $'\E' out/test/aarch64/color-diagnostics/log -20: + ./mold -o out/test/aarch64/color-diagnostics/exe out/test/aarch64/color-diagnostics/a.o --color-diagnostics=auto - 17/336 Test #9: aarch64-as-needed-weak ................................... Passed 0.32 sec -test 29 - Start 29: aarch64-copyrel-norelro - -29: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/copyrel-norelro.sh" -29: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -29: Environment variables: -29: MACHINE=aarch64 -29: CPU= -29: Test timeout computed to be: 1500 -28: + cc -fPIC -shared -o out/test/aarch64/copyrel-alignment/a.so -xc - -28: + cat -27: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/compressed-debug-info.sh .sh -27: ++ testname=compressed-debug-info -27: ++ echo -n 'Testing compressed-debug-info ... ' -27: Testing compressed-debug-info ... ++ t=out/test/aarch64/compressed-debug-info -27: ++ mkdir -p out/test/aarch64/compressed-debug-info -27: ++ set -x -27: + command -v dwarfdump -22: + cat -27: + cat -22: + cc -fcommon -xc -c -o out/test/aarch64/common-archive/c.o - -27: + c++ -c -o out/test/aarch64/compressed-debug-info/a.o -g -gz=zlib -xc++ - 29: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/copyrel-norelro.sh 29: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 29: ++ export LC_ALL=C @@ -3193,35 +3201,58 @@ 29: ++ QEMU= 29: ++ case $MACHINE in 29: ++ tlsdesc_opt=-mtls-dialect=desc +27: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/compressed-debug-info.sh .sh +27: ++ testname=compressed-debug-info +27: ++ echo -n 'Testing compressed-debug-info ... ' +27: Testing compressed-debug-info ... ++ t=out/test/aarch64/compressed-debug-info +27: ++ mkdir -p out/test/aarch64/compressed-debug-info +28: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/copyrel-alignment.sh .sh 29: +++ uname +28: ++ testname=copyrel-alignment +28: ++ echo -n 'Testing copyrel-alignment ... ' +28: Testing copyrel-alignment ... ++ t=out/test/aarch64/copyrel-alignment +28: ++ mkdir -p out/test/aarch64/copyrel-alignment 29: ++ '[' Linux = FreeBSD ']' 29: ++ trap 'on_error $LINENO' ERR 29: ++ trap on_exit EXIT +21: + grep -q mold +28: ++ set -x +28: + '[' aarch64 = ppc64 ']' +28: + '[' aarch64 = ppc64le ']' +28: + [[ aarch64 = loongarch* ]] +28: + cat +24: + cat +24: + cc -fcommon -xc -c -o out/test/aarch64/common-symbols/b.o - 29: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/copyrel-norelro.sh .sh +27: ++ set -x +27: + command -v dwarfdump +21: + readelf -p .comment out/test/aarch64/comment/exe 29: ++ testname=copyrel-norelro 29: ++ echo -n 'Testing copyrel-norelro ... ' 29: Testing copyrel-norelro ... ++ t=out/test/aarch64/copyrel-norelro 29: ++ mkdir -p out/test/aarch64/copyrel-norelro -23: + rm -f out/test/aarch64/common-ref/c.a -24: + cc -B. -o out/test/aarch64/common-symbols/exe out/test/aarch64/common-symbols/a.o out/test/aarch64/common-symbols/b.o +27: + c++ -c -o out/test/aarch64/compressed-debug-info/a.o -g -gz=zlib -xc++ - +22: + cc -fcommon -xc -c -o out/test/aarch64/common-archive/c.o - 29: ++ set -x 29: + [[ aarch64 = ppc64* ]] 29: + [[ aarch64 = loongarch* ]] -21: + readelf -p .comment out/test/aarch64/comment/exe -29: + cat -29: + cc -o out/test/aarch64/copyrel-norelro/a.o -c -xc -fno-PIE - -18: + grep -q '^1 1 1$' +28: + cc -fPIC -shared -o out/test/aarch64/copyrel-alignment/a.so -xc - +21: + readelf -SW out/test/aarch64/comment/exe 20: + grep -q $'\E' out/test/aarch64/color-diagnostics/log -18: + out/test/aarch64/canonical-plt/exe -18: + on_exit -18: + echo OK -18: OK -18: + exit 0 -20: + on_exit -20: + echo OK -20: OK -20: + exit 0 - 18/336 Test #20: aarch64-color-diagnostics ................................ Passed 0.11 sec +20: + ./mold -o out/test/aarch64/color-diagnostics/exe out/test/aarch64/color-diagnostics/a.o --color-diagnostics=never +29: + cc -o out/test/aarch64/copyrel-norelro/a.o -c -xc -fno-PIE - +29: + cat +23: + cc -fcommon -xc -c -o out/test/aarch64/common-ref/b.o - +18: + cc -B. -no-pie -o out/test/aarch64/canonical-plt/exe out/test/aarch64/canonical-plt/a.so out/test/aarch64/canonical-plt/b.o out/test/aarch64/canonical-plt/c.o +27: + cat +23: + cat +22: + cat +21: + grep -Eq '\.comment.*\bMS\b' +21: + on_exit +21: + echo OK +21: OK +21: + exit 0 + 18/336 Test #21: aarch64-comment .......................................... Passed 0.29 sec test 30 Start 30: aarch64-copyrel-protected @@ -3231,19 +3262,8 @@ 30: MACHINE=aarch64 30: CPU= 30: Test timeout computed to be: 1500 - 19/336 Test #18: aarch64-canonical-plt .................................... Passed 0.16 sec -23: + ar rcs out/test/aarch64/common-ref/c.a out/test/aarch64/common-ref/b.o -test 31 - Start 31: aarch64-copyrel-relro - -31: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/copyrel-relro.sh" -31: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -31: Environment variables: -31: MACHINE=aarch64 -31: CPU= -31: Test timeout computed to be: 1500 -23: + cc -fcommon -xc -c -o out/test/aarch64/common-ref/d.o - -23: + cat +16: + out/test/aarch64/bsymbolic/exe +16: + grep -q '3 4' 30: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/copyrel-protected.sh 30: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 30: ++ export LC_ALL=C @@ -3263,31 +3283,28 @@ 30: ++ tlsdesc_opt=-mtls-dialect=desc 30: +++ uname 30: ++ '[' Linux = FreeBSD ']' -30: ++ trap 'on_error $LINENO' ERR -30: ++ trap on_exit EXIT -30: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/copyrel-protected.sh .sh -30: ++ testname=copyrel-protected -30: ++ echo -n 'Testing copyrel-protected ... ' -30: Testing copyrel-protected ... ++ t=out/test/aarch64/copyrel-protected -30: ++ mkdir -p out/test/aarch64/copyrel-protected -26: + cc -B. -o out/test/aarch64/compress-debug-sections/exe out/test/aarch64/compress-debug-sections/a.o -Wl,--compress-debug-sections=zlib -21: + grep -q mold -21: + readelf -SW out/test/aarch64/comment/exe -21: + grep -Eq '\.comment.*\bMS\b' -21: + on_exit -21: + echo OK -21: OK -21: + exit 0 -28: + cc -fPIC -shared -o out/test/aarch64/copyrel-alignment/b.so -xc - -28: + cat -17: + readelf -nW out/test/aarch64/build-id/exe -17: + grep -Eq 'Build ID: ............4...[89abcdef]' -16: + grep -q '3 4' -16: + out/test/aarch64/bsymbolic/exe 16: + on_exit 16: + echo OK 16: OK +16: + exit 0 +30: ++ trap 'on_error $LINENO' ERR +30: ++ trap on_exit EXIT + 19/336 Test #16: aarch64-bsymbolic ........................................ Passed 0.53 sec +test 31 + Start 31: aarch64-copyrel-relro + +31: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/copyrel-relro.sh" +31: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +31: Environment variables: +31: MACHINE=aarch64 +31: CPU= +31: Test timeout computed to be: 1500 +27: + cat +20: + grep -q $'\E' out/test/aarch64/color-diagnostics/log +27: + c++ -c -o out/test/aarch64/compressed-debug-info/b.o -g -gz=zlib -xc++ - 31: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/copyrel-relro.sh +30: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/copyrel-protected.sh .sh +20: + ./mold -o out/test/aarch64/color-diagnostics/exe out/test/aarch64/color-diagnostics/a.o --color-diagnostics=auto 31: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 31: ++ export LC_ALL=C 31: ++ LC_ALL=C @@ -3304,7 +3321,47 @@ 31: ++ QEMU= 31: ++ case $MACHINE in 31: ++ tlsdesc_opt=-mtls-dialect=desc - 20/336 Test #21: aarch64-comment .......................................... Passed 0.13 sec +30: ++ testname=copyrel-protected +30: ++ echo -n 'Testing copyrel-protected ... ' +30: Testing copyrel-protected ... ++ t=out/test/aarch64/copyrel-protected +30: ++ mkdir -p out/test/aarch64/copyrel-protected +31: +++ uname +31: ++ '[' Linux = FreeBSD ']' +31: ++ trap 'on_error $LINENO' ERR +31: ++ trap on_exit EXIT +29: + cc -B. -fPIC -shared -o out/test/aarch64/copyrel-norelro/b.so -xc - +29: + cat +23: + rm -f out/test/aarch64/common-ref/c.a +26: + cc -B. -o out/test/aarch64/compress-debug-sections/exe out/test/aarch64/compress-debug-sections/a.o -Wl,--compress-debug-sections=zlib +24: + cc -B. -o out/test/aarch64/common-symbols/exe out/test/aarch64/common-symbols/a.o out/test/aarch64/common-symbols/b.o +23: + ar rcs out/test/aarch64/common-ref/c.a out/test/aarch64/common-ref/b.o +22: + cat +22: + cc -fcommon -xc -c -o out/test/aarch64/common-archive/d.o - +30: ++ set -x +30: + '[' aarch64 = ppc64 ']' +30: + '[' aarch64 = ppc64le ']' +30: + [[ aarch64 = loongarch* ]] +17: + grep -q 'GNU.*0x00000010.*NT_GNU_BUILD_ID' +31: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/copyrel-relro.sh .sh +17: + readelf -n out/test/aarch64/build-id/exe +18: + grep -q '^1 1 1$' +31: ++ testname=copyrel-relro +31: ++ echo -n 'Testing copyrel-relro ... ' +31: Testing copyrel-relro ... ++ t=out/test/aarch64/copyrel-relro +31: ++ mkdir -p out/test/aarch64/copyrel-relro +30: + cat +23: + cc -fcommon -xc -c -o out/test/aarch64/common-ref/d.o - +18: + out/test/aarch64/canonical-plt/exe +18: + on_exit +18: + echo OK +18: OK +18: + exit 0 +23: + cat +17: + cc -B. -o out/test/aarch64/build-id/exe out/test/aarch64/build-id/a.c -Wl,-build-id=sha1 +28: + cc -fPIC -shared -o out/test/aarch64/copyrel-alignment/b.so -xc - +28: + cat +30: + cc -o out/test/aarch64/copyrel-protected/a.o -c -xc -fno-PIE - + 20/336 Test #18: aarch64-canonical-plt .................................... Passed 0.44 sec test 32 Start 32: aarch64-copyrel-relro2 @@ -3314,19 +3371,16 @@ 32: MACHINE=aarch64 32: CPU= 32: Test timeout computed to be: 1500 -30: ++ set -x -30: + '[' aarch64 = ppc64 ']' -30: + '[' aarch64 = ppc64le ']' -30: + [[ aarch64 = loongarch* ]] -30: + cat -30: + cc -o out/test/aarch64/copyrel-protected/a.o -c -xc -fno-PIE - -17: + cc -B. -o out/test/aarch64/build-id/exe out/test/aarch64/build-id/a.c -Wl,-build-id=md5 -16: + exit 0 - 21/336 Test #16: aarch64-bsymbolic ........................................ Passed 0.22 sec -31: +++ uname -31: ++ '[' Linux = FreeBSD ']' -31: ++ trap 'on_error $LINENO' ERR -31: ++ trap on_exit EXIT +20: + grep -q $'\E' out/test/aarch64/color-diagnostics/log +31: ++ set -x +22: + rm -f out/test/aarch64/common-archive/e.a +20: + on_exit +20: + echo OK +20: OK +20: + exit 0 +31: + cc -o out/test/aarch64/copyrel-relro/a.o -c -xc -fno-PIE - +32: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/copyrel-relro2.sh + 21/336 Test #20: aarch64-color-diagnostics ................................ Passed 0.42 sec test 33 Start 33: aarch64-copyrel @@ -3336,14 +3390,7 @@ 33: MACHINE=aarch64 33: CPU= 33: Test timeout computed to be: 1500 -31: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/copyrel-relro.sh .sh -31: ++ testname=copyrel-relro -31: ++ echo -n 'Testing copyrel-relro ... ' -31: Testing copyrel-relro ... ++ t=out/test/aarch64/copyrel-relro -31: ++ mkdir -p out/test/aarch64/copyrel-relro -23: + rm -f out/test/aarch64/common-ref/e.a -23: + ar rcs out/test/aarch64/common-ref/e.a out/test/aarch64/common-ref/d.o -32: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/copyrel-relro2.sh +31: + cat 32: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 32: ++ export LC_ALL=C 32: ++ LC_ALL=C @@ -3360,24 +3407,21 @@ 32: ++ QEMU= 32: ++ case $MACHINE in 32: ++ tlsdesc_opt=-mtls-dialect=desc -29: + cat -29: + cc -B. -fPIC -shared -o out/test/aarch64/copyrel-norelro/b.so -xc - 32: +++ uname 32: ++ '[' Linux = FreeBSD ']' 32: ++ trap 'on_error $LINENO' ERR 32: ++ trap on_exit EXIT +22: + ar rcs out/test/aarch64/common-archive/e.a out/test/aarch64/common-archive/b.o out/test/aarch64/common-archive/c.o out/test/aarch64/common-archive/d.o +22: + cc -B. -o out/test/aarch64/common-archive/exe out/test/aarch64/common-archive/a.o out/test/aarch64/common-archive/e.a +27: + cc -B. -o out/test/aarch64/compressed-debug-info/exe out/test/aarch64/compressed-debug-info/a.o out/test/aarch64/compressed-debug-info/b.o +30: + cc -shared -o out/test/aarch64/copyrel-protected/b.so -xc - +33: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/copyrel.sh 32: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/copyrel-relro2.sh .sh +23: + rm -f out/test/aarch64/common-ref/e.a 32: ++ testname=copyrel-relro2 32: ++ echo -n 'Testing copyrel-relro2 ... ' 32: Testing copyrel-relro2 ... ++ t=out/test/aarch64/copyrel-relro2 32: ++ mkdir -p out/test/aarch64/copyrel-relro2 -23: + cc -B. -o out/test/aarch64/common-ref/exe out/test/aarch64/common-ref/a.o out/test/aarch64/common-ref/c.a out/test/aarch64/common-ref/e.a -32: ++ set -x -33: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/copyrel.sh -24: + out/test/aarch64/common-symbols/exe -24: + grep -q '0 5 42' -32: + cc -o out/test/aarch64/copyrel-relro2/a.o -c -xc -fno-PIE - -27: + cat 33: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 33: ++ export LC_ALL=C 33: ++ LC_ALL=C @@ -3394,24 +3438,36 @@ 33: ++ QEMU= 33: ++ case $MACHINE in 33: ++ tlsdesc_opt=-mtls-dialect=desc -27: + c++ -c -o out/test/aarch64/compressed-debug-info/b.o -g -gz=zlib -xc++ - -32: + cat -22: + cat -24: + readelf --sections out/test/aarch64/common-symbols/exe -31: ++ set -x +30: + cat +23: + ar rcs out/test/aarch64/common-ref/e.a out/test/aarch64/common-ref/d.o +32: ++ set -x +32: + cc -o out/test/aarch64/copyrel-relro2/a.o -c -xc -fno-PIE - +23: + cc -B. -o out/test/aarch64/common-ref/exe out/test/aarch64/common-ref/a.o out/test/aarch64/common-ref/c.a out/test/aarch64/common-ref/e.a 33: +++ uname -24: + grep -q '.common .*NOBITS' out/test/aarch64/common-symbols/log -31: + cc -o out/test/aarch64/copyrel-relro/a.o -c -xc -fno-PIE - -31: + cat -22: + cc -fcommon -xc -c -o out/test/aarch64/common-archive/d.o - 33: ++ '[' Linux = FreeBSD ']' 33: ++ trap 'on_error $LINENO' ERR 33: ++ trap on_exit EXIT +33: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/copyrel.sh .sh +33: ++ testname=copyrel +33: ++ echo -n 'Testing copyrel ... ' +33: Testing copyrel ... ++ t=out/test/aarch64/copyrel +33: ++ mkdir -p out/test/aarch64/copyrel +32: + cat +29: + cc -B. out/test/aarch64/copyrel-norelro/a.o out/test/aarch64/copyrel-norelro/b.so -o out/test/aarch64/copyrel-norelro/exe1 -no-pie -Wl,-z,relro +24: + grep -q '0 5 42' +24: + out/test/aarch64/common-symbols/exe +24: + readelf --sections out/test/aarch64/common-symbols/exe +33: ++ set -x +24: + grep -q '.common .*NOBITS' out/test/aarch64/common-symbols/log +28: + cc -fPIC -shared -o out/test/aarch64/copyrel-alignment/c.so -xc - +33: + cat +28: + cat 24: + on_exit 24: + echo OK 24: OK 24: + exit 0 - 22/336 Test #24: aarch64-common-symbols ................................... Passed 0.12 sec +33: + cc -fno-PIC -o out/test/aarch64/copyrel/a.o -c -xc - + 22/336 Test #24: aarch64-common-symbols ................................... Passed 0.33 sec test 34 Start 34: aarch64-ctors-in-init-array @@ -3421,15 +3477,8 @@ 34: MACHINE=aarch64 34: CPU= 34: Test timeout computed to be: 1500 -28: + cc -fPIC -shared -o out/test/aarch64/copyrel-alignment/c.so -xc - -30: + cc -shared -o out/test/aarch64/copyrel-protected/b.so -xc - -30: + cat -33: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/copyrel.sh .sh -33: ++ testname=copyrel -33: ++ echo -n 'Testing copyrel ... ' -33: Testing copyrel ... ++ t=out/test/aarch64/copyrel -33: ++ mkdir -p out/test/aarch64/copyrel -28: + cat +26: + dwarfdump out/test/aarch64/compress-debug-sections/exe +26: + grep -Fq '.debug_info SHF_COMPRESSED' out/test/aarch64/compress-debug-sections/log 34: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/ctors-in-init-array.sh 34: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 34: ++ export LC_ALL=C @@ -3447,11 +3496,8 @@ 34: ++ QEMU= 34: ++ case $MACHINE in 34: ++ tlsdesc_opt=-mtls-dialect=desc -33: ++ set -x -33: + cat -33: + cc -fno-PIC -o out/test/aarch64/copyrel/a.o -c -xc - -26: + dwarfdump out/test/aarch64/compress-debug-sections/exe 34: +++ uname +26: + grep -Fq '.debug_str SHF_COMPRESSED' out/test/aarch64/compress-debug-sections/log 34: ++ '[' Linux = FreeBSD ']' 34: ++ trap 'on_error $LINENO' ERR 34: ++ trap on_exit EXIT @@ -3460,20 +3506,20 @@ 34: ++ echo -n 'Testing ctors-in-init-array ... ' 34: Testing ctors-in-init-array ... ++ t=out/test/aarch64/ctors-in-init-array 34: ++ mkdir -p out/test/aarch64/ctors-in-init-array -26: + grep -Fq '.debug_info SHF_COMPRESSED' out/test/aarch64/compress-debug-sections/log -27: + cc -B. -o out/test/aarch64/compressed-debug-info/exe out/test/aarch64/compressed-debug-info/a.o out/test/aarch64/compressed-debug-info/b.o -22: + rm -f out/test/aarch64/common-archive/e.a -26: + grep -Fq '.debug_str SHF_COMPRESSED' out/test/aarch64/compress-debug-sections/log -34: ++ set -x -34: + cc -o out/test/aarch64/ctors-in-init-array/a.o -c -xc - -22: + ar rcs out/test/aarch64/common-archive/e.a out/test/aarch64/common-archive/b.o out/test/aarch64/common-archive/c.o out/test/aarch64/common-archive/d.o -34: + cat -23: + grep -q 5 26: + on_exit 26: + echo OK 26: OK 26: + exit 0 - 23/336 Test #26: aarch64-compress-debug-sections .......................... Passed 0.13 sec +23: + grep -q 5 +23: + out/test/aarch64/common-ref/exe +23: + on_exit +23: + echo OK +23: OK +23: + exit 0 +22: + out/test/aarch64/common-archive/exe +22: + grep -q '5 0 0 -1' +32: + cc -B. -fPIC -shared -o out/test/aarch64/copyrel-relro2/b.so -xc - + 23/336 Test #26: aarch64-compress-debug-sections .......................... Passed 0.34 sec test 35 Start 35: aarch64-dead-debug-sections @@ -3483,15 +3529,15 @@ 35: MACHINE=aarch64 35: CPU= 35: Test timeout computed to be: 1500 -31: + cat +32: + cat +30: + cc -B. out/test/aarch64/copyrel-protected/a.o out/test/aarch64/copyrel-protected/b.so -o out/test/aarch64/copyrel-protected/exe -no-pie +22: + cat +22: + cc -fcommon -xc -c -o out/test/aarch64/common-archive/f.o - +34: ++ set -x +34: + cat +34: + cc -o out/test/aarch64/ctors-in-init-array/a.o -c -xc - + 24/336 Test #23: aarch64-common-ref ....................................... Passed 0.40 sec 31: + cc -fPIC -shared -o out/test/aarch64/copyrel-relro/b.so -xc - -23: + out/test/aarch64/common-ref/exe -23: + on_exit -23: + echo OK -23: OK -23: + exit 0 -32: + cc -B. -fPIC -shared -o out/test/aarch64/copyrel-relro2/b.so -xc - - 24/336 Test #23: aarch64-common-ref ....................................... Passed 0.17 sec test 36 Start 36: aarch64-debug-macro-section @@ -3501,8 +3547,7 @@ 36: MACHINE=aarch64 36: CPU= 36: Test timeout computed to be: 1500 -32: + cat -22: + cc -B. -o out/test/aarch64/common-archive/exe out/test/aarch64/common-archive/a.o out/test/aarch64/common-archive/e.a +31: + cat 35: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/dead-debug-sections.sh 35: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 35: ++ export LC_ALL=C @@ -3524,21 +3569,16 @@ 35: ++ '[' Linux = FreeBSD ']' 35: ++ trap 'on_error $LINENO' ERR 35: ++ trap on_exit EXIT +17: + readelf -n out/test/aarch64/build-id/exe +17: + grep -q 'GNU.*0x00000014.*NT_GNU_BUILD_ID' +17: + cc -B. -o out/test/aarch64/build-id/exe out/test/aarch64/build-id/a.c -Wl,-build-id=sha256 +36: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/debug-macro-section.sh 35: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/dead-debug-sections.sh .sh +29: + readelf -W --sections out/test/aarch64/copyrel-norelro/exe1 35: ++ testname=dead-debug-sections 35: ++ echo -n 'Testing dead-debug-sections ... ' 35: Testing dead-debug-sections ... ++ t=out/test/aarch64/dead-debug-sections 35: ++ mkdir -p out/test/aarch64/dead-debug-sections -30: + cc -B. out/test/aarch64/copyrel-protected/a.o out/test/aarch64/copyrel-protected/b.so -o out/test/aarch64/copyrel-protected/exe -no-pie -28: + cat -28: + cc -fno-PIE -o out/test/aarch64/copyrel-alignment/d.o -c -xc - -29: + cc -B. out/test/aarch64/copyrel-norelro/a.o out/test/aarch64/copyrel-norelro/b.so -o out/test/aarch64/copyrel-norelro/exe1 -no-pie -Wl,-z,relro -33: + cat -33: + cc -fno-PIC -o out/test/aarch64/copyrel/b.o -c -xc - -35: ++ set -x -35: + command -v dwarfdump -36: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/debug-macro-section.sh -35: + c++ -c -o out/test/aarch64/dead-debug-sections/a.o -g -xc++ - 36: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 36: ++ export LC_ALL=C 36: ++ LC_ALL=C @@ -3555,34 +3595,34 @@ 36: ++ QEMU= 36: ++ case $MACHINE in 36: ++ tlsdesc_opt=-mtls-dialect=desc -35: + cat 36: +++ uname +29: + grep -Fq .copyrel.rel.ro out/test/aarch64/copyrel-norelro/log1 +28: + cat +33: + cat +33: + cc -fno-PIC -o out/test/aarch64/copyrel/b.o -c -xc - +35: ++ set -x +35: + command -v dwarfdump 27: + dwarfdump out/test/aarch64/compressed-debug-info/exe +35: + cat +35: + c++ -c -o out/test/aarch64/dead-debug-sections/a.o -g -xc++ - 36: ++ '[' Linux = FreeBSD ']' 36: ++ trap 'on_error $LINENO' ERR 36: ++ trap on_exit EXIT -17: + readelf -n out/test/aarch64/build-id/exe -17: + grep -q 'GNU.*0x00000010.*NT_GNU_BUILD_ID' -31: + cc -B. out/test/aarch64/copyrel-relro/a.o out/test/aarch64/copyrel-relro/b.so -o out/test/aarch64/copyrel-relro/exe -no-pie -27: + readelf --sections out/test/aarch64/compressed-debug-info/exe -17: + cc -B. -o out/test/aarch64/build-id/exe out/test/aarch64/build-id/a.c -Wl,-build-id=sha1 +28: + cc -fno-PIE -o out/test/aarch64/copyrel-alignment/d.o -c -xc - +29: + cc -B. out/test/aarch64/copyrel-norelro/a.o out/test/aarch64/copyrel-norelro/b.so -o out/test/aarch64/copyrel-norelro/exe2 -no-pie -Wl,-z,norelro 36: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/debug-macro-section.sh .sh +27: + readelf --sections out/test/aarch64/compressed-debug-info/exe +22: + rm -f out/test/aarch64/common-archive/f.a 36: ++ testname=debug-macro-section 36: ++ echo -n 'Testing debug-macro-section ... ' 36: Testing debug-macro-section ... ++ t=out/test/aarch64/debug-macro-section 36: ++ mkdir -p out/test/aarch64/debug-macro-section -28: + cc -B. -o out/test/aarch64/copyrel-alignment/exe1 out/test/aarch64/copyrel-alignment/d.o out/test/aarch64/copyrel-alignment/a.so -no-pie -36: ++ set -x -36: + cat -34: + cc -o out/test/aarch64/ctors-in-init-array/b.o -c -xc - -34: + cat 27: + grep -Fq .debug_info -30: + grep -Fq 'cannot create a copy relocation for protected symbol' out/test/aarch64/copyrel-protected/log 27: + on_exit 27: + echo OK 27: OK 27: + exit 0 - 25/336 Test #27: aarch64-compressed-debug-info ............................ Passed 0.16 sec + 25/336 Test #27: aarch64-compressed-debug-info ............................ Passed 0.39 sec test 37 Start 37: aarch64-default-symver @@ -3592,15 +3632,43 @@ 37: MACHINE=aarch64 37: CPU= 37: Test timeout computed to be: 1500 -36: + gcc -o out/test/aarch64/debug-macro-section/b.o -c -xc - -Iout/test/aarch64/debug-macro-section -g3 +22: + ar rcs out/test/aarch64/common-archive/f.a out/test/aarch64/common-archive/b.o out/test/aarch64/common-archive/f.o +36: ++ set -x 36: + cat -33: + cc -fPIC -o out/test/aarch64/copyrel/c.o -c -xc - -33: + cat -30: + on_exit -30: + echo OK -30: OK -30: + exit 0 - 26/336 Test #30: aarch64-copyrel-protected ................................ Passed 0.13 sec +22: + cc -B. -o out/test/aarch64/common-archive/exe out/test/aarch64/common-archive/a.o out/test/aarch64/common-archive/f.a +36: + cat +37: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/default-symver.sh +37: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc +37: ++ export LC_ALL=C +37: ++ LC_ALL=C +37: ++ '[' -z aarch64 ']' +37: ++ '[' -z '' ']' +37: ++ TESTDIR=out/test/aarch64 +37: ++ CC=cc +37: ++ CXX=c++ +37: ++ GCC=gcc +37: ++ GXX=g++ +37: ++ OBJDUMP=objdump +37: ++ OBJCOPY=objcopy +37: ++ STRIP=strip +37: ++ QEMU= +37: ++ case $MACHINE in +37: ++ tlsdesc_opt=-mtls-dialect=desc +29: + readelf -W --sections out/test/aarch64/copyrel-norelro/exe2 +36: + gcc -o out/test/aarch64/debug-macro-section/b.o -c -xc - -Iout/test/aarch64/debug-macro-section -g3 +29: + grep -Fq .copyrel.rel.ro out/test/aarch64/copyrel-norelro/log2 +37: +++ uname +37: ++ '[' Linux = FreeBSD ']' +37: ++ trap 'on_error $LINENO' ERR +37: ++ trap on_exit EXIT +35: + c++ -c -o out/test/aarch64/dead-debug-sections/b.o -g -xc++ - +34: + cc -o out/test/aarch64/ctors-in-init-array/b.o -c -xc - +34: + cat +29: + on_exit +29: + echo OK +29: OK +29: + exit 0 + 26/336 Test #29: aarch64-copyrel-norelro .................................. Passed 0.39 sec test 38 Start 38: aarch64-defsym-lto @@ -3610,7 +3678,22 @@ 38: MACHINE=aarch64 38: CPU= 38: Test timeout computed to be: 1500 +32: + cc -B. out/test/aarch64/copyrel-relro2/a.o out/test/aarch64/copyrel-relro2/b.so -o out/test/aarch64/copyrel-relro2/exe -no-pie +33: + cat +37: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/default-symver.sh .sh +37: ++ testname=default-symver +37: ++ echo -n 'Testing default-symver ... ' +37: Testing default-symver ... ++ t=out/test/aarch64/default-symver +37: ++ mkdir -p out/test/aarch64/default-symver +35: + cat +33: + cc -fPIC -o out/test/aarch64/copyrel/c.o -c -xc - +30: + grep -Fq 'cannot create a copy relocation for protected symbol' out/test/aarch64/copyrel-protected/log +28: + cc -B. -o out/test/aarch64/copyrel-alignment/exe1 out/test/aarch64/copyrel-alignment/d.o out/test/aarch64/copyrel-alignment/a.so -no-pie +31: + cc -B. out/test/aarch64/copyrel-relro/a.o out/test/aarch64/copyrel-relro/b.so -o out/test/aarch64/copyrel-relro/exe -no-pie +37: ++ set -x 38: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/defsym-lto.sh +36: + cat +36: + gcc -o out/test/aarch64/debug-macro-section/c.o -c -xc - -Iout/test/aarch64/debug-macro-section -g3 38: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 38: ++ export LC_ALL=C 38: ++ LC_ALL=C @@ -3628,68 +3711,16 @@ 38: ++ case $MACHINE in 38: ++ tlsdesc_opt=-mtls-dialect=desc 38: +++ uname -37: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/default-symver.sh 38: ++ '[' Linux = FreeBSD ']' 38: ++ trap 'on_error $LINENO' ERR 38: ++ trap on_exit EXIT -29: + readelf -W --sections out/test/aarch64/copyrel-norelro/exe1 -37: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc -37: ++ export LC_ALL=C -37: ++ LC_ALL=C -37: ++ '[' -z aarch64 ']' -37: ++ '[' -z '' ']' -37: ++ TESTDIR=out/test/aarch64 -37: ++ CC=cc -37: ++ CXX=c++ -37: ++ GCC=gcc -37: ++ GXX=g++ -37: ++ OBJDUMP=objdump -37: ++ OBJCOPY=objcopy -37: ++ STRIP=strip -37: ++ QEMU= -37: ++ case $MACHINE in -37: ++ tlsdesc_opt=-mtls-dialect=desc -35: + c++ -c -o out/test/aarch64/dead-debug-sections/b.o -g -xc++ - -35: + cat -29: + grep -Fq .copyrel.rel.ro out/test/aarch64/copyrel-norelro/log1 -37: +++ uname -29: + cc -B. out/test/aarch64/copyrel-norelro/a.o out/test/aarch64/copyrel-norelro/b.so -o out/test/aarch64/copyrel-norelro/exe2 -no-pie -Wl,-z,norelro -33: + cc -B. -shared -o out/test/aarch64/copyrel/c.so out/test/aarch64/copyrel/c.o -37: ++ '[' Linux = FreeBSD ']' -37: ++ trap 'on_error $LINENO' ERR -37: ++ trap on_exit EXIT -37: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/default-symver.sh .sh -37: ++ testname=default-symver -37: ++ echo -n 'Testing default-symver ... ' -37: Testing default-symver ... ++ t=out/test/aarch64/default-symver -37: ++ mkdir -p out/test/aarch64/default-symver -38: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/defsym-lto.sh .sh -22: + out/test/aarch64/common-archive/exe -22: + grep -q '5 0 0 -1' -32: + cc -B. out/test/aarch64/copyrel-relro2/a.o out/test/aarch64/copyrel-relro2/b.so -o out/test/aarch64/copyrel-relro2/exe -no-pie -36: + gcc -o out/test/aarch64/debug-macro-section/c.o -c -xc - -Iout/test/aarch64/debug-macro-section -g3 -36: + cat -22: + cc -fcommon -xc -c -o out/test/aarch64/common-archive/f.o - -22: + cat -38: ++ testname=defsym-lto -38: ++ echo -n 'Testing defsym-lto ... ' -38: Testing defsym-lto ... ++ t=out/test/aarch64/defsym-lto -38: ++ mkdir -p out/test/aarch64/defsym-lto -37: ++ set -x 37: + cc -o out/test/aarch64/default-symver/a.o -c -xc - 37: + cat -31: + out/test/aarch64/copyrel-relro/exe -34: + cc -B. -o out/test/aarch64/ctors-in-init-array/exe out/test/aarch64/ctors-in-init-array/a.o out/test/aarch64/ctors-in-init-array/b.o -38: ++ set -x -38: + test_cflags -flto -38: + echo 'int main() {}' -31: + grep -q '^sigsegv 0 1$' -31: + on_exit -31: + echo OK -31: OK -31: + exit 0 -29: + readelf -W --sections out/test/aarch64/copyrel-norelro/exe2 - 27/336 Test #31: aarch64-copyrel-relro .................................... Passed 0.16 sec +30: + on_exit +30: + echo OK +30: OK +30: + exit 0 + 27/336 Test #30: aarch64-copyrel-protected ................................ Passed 0.36 sec test 39 Start 39: aarch64-defsym-missing-symbol @@ -3699,14 +3730,27 @@ 39: MACHINE=aarch64 39: CPU= 39: Test timeout computed to be: 1500 -38: + cc -B. -flto -o /dev/null -xc - -29: + grep -Fq .copyrel.rel.ro out/test/aarch64/copyrel-norelro/log2 +22: + grep -q '5 0 7 2' +32: + out/test/aarch64/copyrel-relro2/exe +32: + grep -q '^sigsegv 0 1$' +22: + out/test/aarch64/common-archive/exe +38: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/defsym-lto.sh .sh +38: ++ testname=defsym-lto +38: ++ echo -n 'Testing defsym-lto ... ' +38: Testing defsym-lto ... ++ t=out/test/aarch64/defsym-lto +38: ++ mkdir -p out/test/aarch64/defsym-lto +35: + cat 39: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/defsym-missing-symbol.sh -29: + on_exit -29: + echo OK -29: OK -29: + exit 0 - 28/336 Test #29: aarch64-copyrel-norelro .................................. Passed 0.19 sec +32: + on_exit +32: + echo OK +32: OK +32: + exit 0 +22: + on_exit +22: + echo OK +22: OK +22: + exit 0 + 28/336 Test #22: aarch64-common-archive ................................... Passed 0.60 sec + 29/336 Test #32: aarch64-copyrel-relro2 ................................... Passed 0.30 sec test 40 Start 40: aarch64-defsym @@ -3716,6 +3760,20 @@ 40: MACHINE=aarch64 40: CPU= 40: Test timeout computed to be: 1500 +test 41 + Start 41: aarch64-defsym2 + +41: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/defsym2.sh" +41: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +41: Environment variables: +41: MACHINE=aarch64 +41: CPU= +41: Test timeout computed to be: 1500 +34: + cc -B. -o out/test/aarch64/ctors-in-init-array/exe out/test/aarch64/ctors-in-init-array/a.o out/test/aarch64/ctors-in-init-array/b.o +17: + readelf -n out/test/aarch64/build-id/exe +17: + grep -q 'GNU.*0x00000020.*NT_GNU_BUILD_ID' +17: + cc -B. -o out/test/aarch64/build-id/exe out/test/aarch64/build-id/a.c -Wl,-build-id=fast +35: + c++ -o out/test/aarch64/dead-debug-sections/c.o -c -xc++ -g - 39: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 39: ++ export LC_ALL=C 39: ++ LC_ALL=C @@ -3732,15 +3790,37 @@ 39: ++ QEMU= 39: ++ case $MACHINE in 39: ++ tlsdesc_opt=-mtls-dialect=desc -35: + cat -35: + c++ -o out/test/aarch64/dead-debug-sections/c.o -c -xc++ -g - -28: + out/test/aarch64/copyrel-alignment/exe1 39: +++ uname 39: ++ '[' Linux = FreeBSD ']' 39: ++ trap 'on_error $LINENO' ERR 39: ++ trap on_exit EXIT +33: + cc -B. -shared -o out/test/aarch64/copyrel/c.so out/test/aarch64/copyrel/c.o +36: + gcc -B. -o out/test/aarch64/debug-macro-section/exe out/test/aarch64/debug-macro-section/b.o out/test/aarch64/debug-macro-section/c.o +38: ++ set -x +38: + test_cflags -flto +38: + cc -B. -flto -o /dev/null -xc - +41: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/defsym2.sh +41: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc +41: ++ export LC_ALL=C +41: ++ LC_ALL=C +41: ++ '[' -z aarch64 ']' +41: ++ '[' -z '' ']' +41: ++ TESTDIR=out/test/aarch64 +41: ++ CC=cc +41: ++ CXX=c++ +41: ++ GCC=gcc +41: ++ GXX=g++ +41: ++ OBJDUMP=objdump +41: ++ OBJCOPY=objcopy +41: ++ STRIP=strip +41: ++ QEMU= +41: ++ case $MACHINE in +41: ++ tlsdesc_opt=-mtls-dialect=desc +41: +++ uname 40: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/defsym.sh -28: + readelf -W --sections out/test/aarch64/copyrel-alignment/exe1 +41: ++ '[' Linux = FreeBSD ']' +41: ++ trap 'on_error $LINENO' ERR +41: ++ trap on_exit EXIT 40: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 40: ++ export LC_ALL=C 40: ++ LC_ALL=C @@ -3758,86 +3838,51 @@ 40: ++ case $MACHINE in 40: ++ tlsdesc_opt=-mtls-dialect=desc 39: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/defsym-missing-symbol.sh .sh +38: + echo 'int main() {}' 39: ++ testname=defsym-missing-symbol 39: ++ echo -n 'Testing defsym-missing-symbol ... ' 39: Testing defsym-missing-symbol ... ++ t=out/test/aarch64/defsym-missing-symbol 39: ++ mkdir -p out/test/aarch64/defsym-missing-symbol -37: + cc -B. -o out/test/aarch64/default-symver/b.so -shared out/test/aarch64/default-symver/a.o -Wl,-default-symver -39: ++ set -x -22: + rm -f out/test/aarch64/common-archive/f.a +28: + out/test/aarch64/copyrel-alignment/exe1 28: + grep -q '\.copyrel.* 32$' -28: + cc -B. -o out/test/aarch64/copyrel-alignment/exe2 out/test/aarch64/copyrel-alignment/d.o out/test/aarch64/copyrel-alignment/b.so -no-pie +28: + readelf -W --sections out/test/aarch64/copyrel-alignment/exe1 40: +++ uname +41: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/defsym2.sh .sh +28: + cc -B. -o out/test/aarch64/copyrel-alignment/exe2 out/test/aarch64/copyrel-alignment/d.o out/test/aarch64/copyrel-alignment/b.so -no-pie +41: ++ testname=defsym2 +41: ++ echo -n 'Testing defsym2 ... ' +41: Testing defsym2 ... ++ t=out/test/aarch64/defsym2 +41: ++ mkdir -p out/test/aarch64/defsym2 +37: + cc -B. -o out/test/aarch64/default-symver/b.so -shared out/test/aarch64/default-symver/a.o -Wl,-default-symver 40: ++ '[' Linux = FreeBSD ']' -39: + cc -o out/test/aarch64/defsym-missing-symbol/a.o -c -xc - 40: ++ trap 'on_error $LINENO' ERR 40: ++ trap on_exit EXIT -17: + readelf -n out/test/aarch64/build-id/exe -17: + grep -q 'GNU.*0x00000014.*NT_GNU_BUILD_ID' -39: + cat -36: + gcc -B. -o out/test/aarch64/debug-macro-section/exe out/test/aarch64/debug-macro-section/b.o out/test/aarch64/debug-macro-section/c.o -22: + ar rcs out/test/aarch64/common-archive/f.a out/test/aarch64/common-archive/b.o out/test/aarch64/common-archive/f.o +33: + cc -B. -no-pie -o out/test/aarch64/copyrel/exe out/test/aarch64/copyrel/a.o out/test/aarch64/copyrel/b.o out/test/aarch64/copyrel/c.so 40: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/defsym.sh .sh -32: + grep -q '^sigsegv 0 1$' -17: + cc -B. -o out/test/aarch64/build-id/exe out/test/aarch64/build-id/a.c -Wl,-build-id=sha256 +41: ++ set -x 40: ++ testname=defsym -33: + cc -B. -no-pie -o out/test/aarch64/copyrel/exe out/test/aarch64/copyrel/a.o out/test/aarch64/copyrel/b.o out/test/aarch64/copyrel/c.so 40: ++ echo -n 'Testing defsym ... ' 40: Testing defsym ... ++ t=out/test/aarch64/defsym 40: ++ mkdir -p out/test/aarch64/defsym +41: + cat +39: ++ set -x +39: + cc -o out/test/aarch64/defsym-missing-symbol/a.o -c -xc - +41: + cc -fPIC -o out/test/aarch64/defsym2/a.o -c -xc - +35: + c++ -o out/test/aarch64/dead-debug-sections/exe out/test/aarch64/dead-debug-sections/a.o out/test/aarch64/dead-debug-sections/b.o out/test/aarch64/dead-debug-sections/c.o -g 40: ++ set -x -32: + out/test/aarch64/copyrel-relro2/exe -22: + cc -B. -o out/test/aarch64/common-archive/exe out/test/aarch64/common-archive/a.o out/test/aarch64/common-archive/f.a -32: + on_exit -32: + echo OK -32: OK -32: + exit 0 - 29/336 Test #32: aarch64-copyrel-relro2 ................................... Passed 0.17 sec -test 41 - Start 41: aarch64-defsym2 - -41: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/defsym2.sh" -41: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -41: Environment variables: -41: MACHINE=aarch64 -41: CPU= -41: Test timeout computed to be: 1500 -40: + cat 40: + cc -fPIC -o out/test/aarch64/defsym/a.o -c -xc - -41: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/defsym2.sh -41: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc -41: ++ export LC_ALL=C -41: ++ LC_ALL=C -41: ++ '[' -z aarch64 ']' -41: ++ '[' -z '' ']' -41: ++ TESTDIR=out/test/aarch64 -41: ++ CC=cc -41: ++ CXX=c++ -41: ++ GCC=gcc -41: ++ GXX=g++ -41: ++ OBJDUMP=objdump -41: ++ OBJCOPY=objcopy -41: ++ STRIP=strip -41: ++ QEMU= -41: ++ case $MACHINE in -41: ++ tlsdesc_opt=-mtls-dialect=desc -41: +++ uname -41: ++ '[' Linux = FreeBSD ']' -41: ++ trap 'on_error $LINENO' ERR -41: ++ trap on_exit EXIT -41: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/defsym2.sh .sh -41: ++ testname=defsym2 -41: ++ echo -n 'Testing defsym2 ... ' -41: Testing defsym2 ... ++ t=out/test/aarch64/defsym2 -41: ++ mkdir -p out/test/aarch64/defsym2 -34: + out/test/aarch64/ctors-in-init-array/exe +31: + out/test/aarch64/copyrel-relro/exe +40: + cat +39: + cat +36: + objdump --dwarf=macro out/test/aarch64/debug-macro-section/exe 34: + grep -q 'ctor1 init1 ctor2 ctor3 ctor4 init2 fini2 dtor1 dtor2 dtor3 fini1 dtor4' +34: + out/test/aarch64/ctors-in-init-array/exe 34: + on_exit 34: + echo OK 34: OK 34: + exit 0 -41: ++ set -x - 30/336 Test #34: aarch64-ctors-in-init-array .............................. Passed 0.17 sec +36: + grep 'DW_MACRO_import -.* 0x0$' out/test/aarch64/debug-macro-section/log + 30/336 Test #34: aarch64-ctors-in-init-array .............................. Passed 0.30 sec test 42 Start 42: aarch64-demangle-cpp @@ -3847,24 +3892,35 @@ 42: MACHINE=aarch64 42: CPU= 42: Test timeout computed to be: 1500 -41: + cc -fPIC -o out/test/aarch64/defsym2/a.o -c -xc - -41: + cat -39: + cc -B. -o out/test/aarch64/defsym-missing-symbol/exe out/test/aarch64/defsym-missing-symbol/a.o -Wl,-defsym=foo=bar -35: + c++ -o out/test/aarch64/dead-debug-sections/exe out/test/aarch64/dead-debug-sections/a.o out/test/aarch64/dead-debug-sections/b.o out/test/aarch64/dead-debug-sections/c.o -g -36: + objdump --dwarf=macro out/test/aarch64/debug-macro-section/exe -33: + grep -q '42 42 1' -22: + grep -q '5 0 7 2' -33: + out/test/aarch64/copyrel/exe -28: + out/test/aarch64/copyrel-alignment/exe2 -22: + out/test/aarch64/common-archive/exe -33: + on_exit -33: + echo OK -33: OK -33: + exit 0 -22: + on_exit -22: + echo OK -22: OK -22: + exit 0 +36: + on_exit +36: + echo OK +36: OK +36: + exit 0 +31: + grep -q '^sigsegv 0 1$' +31: + on_exit +31: + echo OK +31: OK +31: + exit 0 + 31/336 Test #31: aarch64-copyrel-relro .................................... Passed 0.47 sec + 32/336 Test #36: aarch64-debug-macro-section .............................. Passed 0.27 sec +test 43 + Start 43: aarch64-demangle-rust + +43: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/demangle-rust.sh" +43: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +43: Environment variables: +43: MACHINE=aarch64 +43: CPU= +43: Test timeout computed to be: 1500 +test 44 + Start 44: aarch64-demangle + +44: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/demangle.sh" +44: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +44: Environment variables: +44: MACHINE=aarch64 +44: CPU= +44: Test timeout computed to be: 1500 42: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/demangle-cpp.sh 42: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 42: ++ export LC_ALL=C @@ -3887,59 +3943,45 @@ 42: ++ trap 'on_error $LINENO' ERR 42: ++ trap on_exit EXIT 42: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/demangle-cpp.sh .sh -28: + grep -q '\.copyrel.* 8$' -28: + readelf -W --sections out/test/aarch64/copyrel-alignment/exe2 -28: + cc -B. -o out/test/aarch64/copyrel-alignment/exe3 out/test/aarch64/copyrel-alignment/d.o out/test/aarch64/copyrel-alignment/c.so -no-pie -37: + grep -q ' foo@@b\.so' -37: + readelf --dyn-syms out/test/aarch64/default-symver/b.so -37: + cc -B. -o out/test/aarch64/default-symver/b.so -shared out/test/aarch64/default-symver/a.o -Wl,--soname=bar -Wl,-default-symver -36: + grep 'DW_MACRO_import -.* 0x0$' out/test/aarch64/debug-macro-section/log 42: ++ testname=demangle-cpp 42: ++ echo -n 'Testing demangle-cpp ... ' 42: Testing demangle-cpp ... ++ t=out/test/aarch64/demangle-cpp 42: ++ mkdir -p out/test/aarch64/demangle-cpp - 31/336 Test #22: aarch64-common-archive ................................... Passed 0.33 sec - 32/336 Test #33: aarch64-copyrel .......................................... Passed 0.21 sec -test 43 - Start 43: aarch64-demangle-rust - -43: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/demangle-rust.sh" -43: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -43: Environment variables: -43: MACHINE=aarch64 -43: CPU= -43: Test timeout computed to be: 1500 -test 44 - Start 44: aarch64-demangle - -44: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/demangle.sh" -44: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -44: Environment variables: -44: MACHINE=aarch64 -44: CPU= -44: Test timeout computed to be: 1500 -42: ++ set -x -42: + cat -42: + cc -c -o out/test/aarch64/demangle-cpp/a.o -xc - -36: + on_exit -36: + echo OK -36: OK -36: + exit 0 -40: + cc -B. -o out/test/aarch64/defsym/exe out/test/aarch64/defsym/a.o -pie -Wl,-defsym=foo=16 -Wl,-defsym=bar=0x2000 -Wl,-defsym=baz=print +41: + cc -B. -o out/test/aarch64/defsym2/b.so -shared -Wl,-defsym=bar=foo out/test/aarch64/defsym2/a.o +39: + cc -B. -o out/test/aarch64/defsym-missing-symbol/exe out/test/aarch64/defsym-missing-symbol/a.o -Wl,-defsym=foo=bar +28: + out/test/aarch64/copyrel-alignment/exe2 43: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/demangle-rust.sh - 33/336 Test #36: aarch64-debug-macro-section .............................. Passed 0.16 sec -test 45 - Start 45: aarch64-dependency-file-response-file - -45: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/dependency-file-response-file.sh" -45: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -45: Environment variables: -45: MACHINE=aarch64 -45: CPU= -45: Test timeout computed to be: 1500 43: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 43: ++ export LC_ALL=C 43: ++ LC_ALL=C +43: ++ '[' -z aarch64 ']' +43: ++ '[' -z '' ']' +43: ++ TESTDIR=out/test/aarch64 +43: ++ CC=cc +43: ++ CXX=c++ +43: ++ GCC=gcc +43: ++ GXX=g++ +43: ++ OBJDUMP=objdump +43: ++ OBJCOPY=objcopy +43: ++ STRIP=strip +43: ++ QEMU= +43: ++ case $MACHINE in +43: ++ tlsdesc_opt=-mtls-dialect=desc +35: + out/test/aarch64/dead-debug-sections/exe +35: + grep -q 'Hello world' +42: ++ set -x +43: +++ uname +43: ++ '[' Linux = FreeBSD ']' +43: ++ trap 'on_error $LINENO' ERR +43: ++ trap on_exit EXIT +42: + cc -c -o out/test/aarch64/demangle-cpp/a.o -xc - +40: + cc -B. -o out/test/aarch64/defsym/exe out/test/aarch64/defsym/a.o -pie -Wl,-defsym=foo=16 -Wl,-defsym=bar=0x2000 -Wl,-defsym=baz=print +35: + dwarfdump out/test/aarch64/dead-debug-sections/exe +28: + grep -q '\.copyrel.* 8$' +42: + cat +28: + readelf -W --sections out/test/aarch64/copyrel-alignment/exe2 +43: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/demangle-rust.sh .sh +37: + grep -q ' foo@@b\.so' 44: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/demangle.sh 44: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 44: ++ export LC_ALL=C @@ -3957,42 +3999,55 @@ 44: ++ QEMU= 44: ++ case $MACHINE in 44: ++ tlsdesc_opt=-mtls-dialect=desc +43: ++ testname=demangle-rust +43: ++ echo -n 'Testing demangle-rust ... ' +43: Testing demangle-rust ... ++ t=out/test/aarch64/demangle-rust +43: ++ mkdir -p out/test/aarch64/demangle-rust +37: + readelf --dyn-syms out/test/aarch64/default-symver/b.so 44: +++ uname +35: + on_exit +35: + echo OK +35: OK +35: + exit 0 +28: + cc -B. -o out/test/aarch64/copyrel-alignment/exe3 out/test/aarch64/copyrel-alignment/d.o out/test/aarch64/copyrel-alignment/c.so -no-pie + 33/336 Test #35: aarch64-dead-debug-sections .............................. Passed 0.32 sec +test 45 + Start 45: aarch64-dependency-file-response-file + +45: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/dependency-file-response-file.sh" +45: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +45: Environment variables: +45: MACHINE=aarch64 +45: CPU= +45: Test timeout computed to be: 1500 +37: + cc -B. -o out/test/aarch64/default-symver/b.so -shared out/test/aarch64/default-symver/a.o -Wl,--soname=bar -Wl,-default-symver 44: ++ '[' Linux = FreeBSD ']' 44: ++ trap 'on_error $LINENO' ERR 44: ++ trap on_exit EXIT -43: ++ '[' -z aarch64 ']' -43: ++ '[' -z '' ']' -43: ++ TESTDIR=out/test/aarch64 -43: ++ CC=cc -43: ++ CXX=c++ -43: ++ GCC=gcc -43: ++ GXX=g++ -43: ++ OBJDUMP=objdump -43: ++ OBJCOPY=objcopy -43: ++ STRIP=strip -43: ++ QEMU= -43: ++ case $MACHINE in -43: ++ tlsdesc_opt=-mtls-dialect=desc 44: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/demangle.sh .sh -43: +++ uname 44: ++ testname=demangle +33: + grep -q '42 42 1' +33: + out/test/aarch64/copyrel/exe +17: + grep -q 'GNU.*0x00000020.*NT_GNU_BUILD_ID' 44: ++ echo -n 'Testing demangle ... ' 44: Testing demangle ... ++ t=out/test/aarch64/demangle 44: ++ mkdir -p out/test/aarch64/demangle -43: ++ '[' Linux = FreeBSD ']' -43: ++ trap 'on_error $LINENO' ERR -43: ++ trap on_exit EXIT -44: ++ set -x -44: + cat -43: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/demangle-rust.sh .sh -43: ++ testname=demangle-rust -43: ++ echo -n 'Testing demangle-rust ... ' -43: Testing demangle-rust ... ++ t=out/test/aarch64/demangle-rust -43: ++ mkdir -p out/test/aarch64/demangle-rust -41: + cc -B. -o out/test/aarch64/defsym2/b.so -shared -Wl,-defsym=bar=foo out/test/aarch64/defsym2/a.o -43: ++ set -x +17: + readelf -n out/test/aarch64/build-id/exe +33: + on_exit +33: + echo OK +33: OK +33: + exit 0 45: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/dependency-file-response-file.sh + 34/336 Test #33: aarch64-copyrel .......................................... Passed 0.45 sec +test 46 + Start 46: aarch64-dependency-file + +46: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/dependency-file.sh" +46: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +46: Environment variables: +46: MACHINE=aarch64 +46: CPU= +46: Test timeout computed to be: 1500 45: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 45: ++ export LC_ALL=C 45: ++ LC_ALL=C @@ -4009,47 +4064,23 @@ 45: ++ QEMU= 45: ++ case $MACHINE in 45: ++ tlsdesc_opt=-mtls-dialect=desc -44: + cc -c -o out/test/aarch64/demangle/a.o -xc++ - -43: + cc -c -o out/test/aarch64/demangle-rust/a.o -xc - -45: +++ uname -39: + grep -q 'undefined symbol: bar' out/test/aarch64/defsym-missing-symbol/log -37: + readelf --dyn-syms out/test/aarch64/default-symver/b.so -37: + grep -q ' foo@@bar' -37: + on_exit -37: + echo OK -37: OK -37: + exit 0 -39: + on_exit -39: + echo OK -39: OK -39: + exit 0 -35: + grep -q 'Hello world' - 34/336 Test #39: aarch64-defsym-missing-symbol ............................ Passed 0.10 sec -test 46 - Start 46: aarch64-dependency-file - -46: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/dependency-file.sh" -46: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -46: Environment variables: -46: MACHINE=aarch64 -46: CPU= -46: Test timeout computed to be: 1500 -35: + out/test/aarch64/dead-debug-sections/exe -35: + dwarfdump out/test/aarch64/dead-debug-sections/exe +17: + cc -B. -o out/test/aarch64/build-id/exe out/test/aarch64/build-id/a.c -Wl,-build-id=0xdeadbeefdeadbeef +43: ++ set -x 43: + cat +44: ++ set -x +41: + grep -q bar +41: + nm -D out/test/aarch64/defsym2/b.so +45: +++ uname 45: ++ '[' Linux = FreeBSD ']' 45: ++ trap 'on_error $LINENO' ERR 45: ++ trap on_exit EXIT -45: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/dependency-file-response-file.sh .sh -45: ++ testname=dependency-file-response-file -45: ++ echo -n 'Testing dependency-file-response-file ... ' -45: Testing dependency-file-response-file ... ++ t=out/test/aarch64/dependency-file-response-file -45: ++ mkdir -p out/test/aarch64/dependency-file-response-file -45: ++ set -x -42: + cc -B. -o out/test/aarch64/demangle-cpp/exe1 out/test/aarch64/demangle-cpp/a.o -17: + readelf -n out/test/aarch64/build-id/exe -17: + grep -q 'GNU.*0x00000020.*NT_GNU_BUILD_ID' - 35/336 Test #37: aarch64-default-symver ................................... Passed 0.15 sec +44: + cat +46: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/dependency-file.sh +41: + on_exit +41: + echo OK +41: OK +41: + exit 0 + 35/336 Test #41: aarch64-defsym2 .......................................... Passed 0.17 sec test 47 Start 47: aarch64-disable-new-dtags @@ -4059,13 +4090,12 @@ 47: MACHINE=aarch64 47: CPU= 47: Test timeout computed to be: 1500 -35: + on_exit -35: + echo OK -35: OK -35: + exit 0 -45: + cc -o out/test/aarch64/dependency-file-response-file/a.o -c -xc - -17: + cc -B. -o out/test/aarch64/build-id/exe out/test/aarch64/build-id/a.c -Wl,-build-id=fast -46: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/dependency-file.sh +40: + out/test/aarch64/defsym/exe +40: + grep -q '^Hello 0x10 0x2000$' +40: + on_exit +40: + echo OK +40: OK +40: + exit 0 46: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 46: ++ export LC_ALL=C 46: ++ LC_ALL=C @@ -4087,22 +4117,22 @@ 46: ++ trap 'on_error $LINENO' ERR 46: ++ trap on_exit EXIT 46: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/dependency-file.sh .sh -47: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/disable-new-dtags.sh - 36/336 Test #35: aarch64-dead-debug-sections .............................. Passed 0.20 sec -test 48 - Start 48: aarch64-discard - -48: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/discard.sh" -48: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -48: Environment variables: -48: MACHINE=aarch64 -48: CPU= -48: Test timeout computed to be: 1500 -45: + cat 46: ++ testname=dependency-file 46: ++ echo -n 'Testing dependency-file ... ' 46: Testing dependency-file ... ++ t=out/test/aarch64/dependency-file 46: ++ mkdir -p out/test/aarch64/dependency-file +45: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/dependency-file-response-file.sh .sh +45: ++ testname=dependency-file-response-file +45: ++ echo -n 'Testing dependency-file-response-file ... ' +45: Testing dependency-file-response-file ... ++ t=out/test/aarch64/dependency-file-response-file +45: ++ mkdir -p out/test/aarch64/dependency-file-response-file +45: ++ set -x +43: + cc -c -o out/test/aarch64/demangle-rust/a.o -xc - +44: + cc -c -o out/test/aarch64/demangle/a.o -xc++ - +46: ++ set -x +42: + cc -B. -o out/test/aarch64/demangle-cpp/exe1 out/test/aarch64/demangle-cpp/a.o +47: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/disable-new-dtags.sh +45: + cc -o out/test/aarch64/dependency-file-response-file/a.o -c -xc - 47: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 47: ++ export LC_ALL=C 47: ++ LC_ALL=C @@ -4119,12 +4149,50 @@ 47: ++ QEMU= 47: ++ case $MACHINE in 47: ++ tlsdesc_opt=-mtls-dialect=desc +46: + cc -o out/test/aarch64/dependency-file/a.o -c -xc - 47: +++ uname + 36/336 Test #40: aarch64-defsym ........................................... Passed 0.21 sec +46: + cat +test 48 + Start 48: aarch64-discard + +48: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/discard.sh" +48: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +48: Environment variables: +48: MACHINE=aarch64 +48: CPU= +48: Test timeout computed to be: 1500 47: ++ '[' Linux = FreeBSD ']' 47: ++ trap 'on_error $LINENO' ERR 47: ++ trap on_exit EXIT +47: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/disable-new-dtags.sh .sh +47: ++ testname=disable-new-dtags +47: ++ echo -n 'Testing disable-new-dtags ... ' +47: Testing disable-new-dtags ... ++ t=out/test/aarch64/disable-new-dtags +47: ++ mkdir -p out/test/aarch64/disable-new-dtags +45: + cat 28: + out/test/aarch64/copyrel-alignment/exe3 -28: + grep -q '\.copyrel.* 256$' +39: + grep -q 'undefined symbol: bar' out/test/aarch64/defsym-missing-symbol/log +47: ++ set -x +47: + cat +44: + cc -B. -o out/test/aarch64/demangle/exe out/test/aarch64/demangle/a.o -Wl,-no-demangle +43: + cc -B. -o out/test/aarch64/demangle-rust/exe out/test/aarch64/demangle-rust/a.o +47: + cc -o out/test/aarch64/disable-new-dtags/a.o -c -xc -fPIC - +39: + on_exit +39: + echo OK +39: OK +39: + exit 0 +28: + readelf -W --sections out/test/aarch64/copyrel-alignment/exe3 + 37/336 Test #39: aarch64-defsym-missing-symbol ............................ Passed 0.26 sec +test 49 + Start 49: aarch64-dso-undef + +49: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/dso-undef.sh" +49: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +49: Environment variables: +49: MACHINE=aarch64 +49: CPU= +49: Test timeout computed to be: 1500 48: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/discard.sh 48: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 48: ++ export LC_ALL=C @@ -4142,55 +4210,24 @@ 48: ++ QEMU= 48: ++ case $MACHINE in 48: ++ tlsdesc_opt=-mtls-dialect=desc -46: ++ set -x -28: + readelf -W --sections out/test/aarch64/copyrel-alignment/exe3 48: +++ uname -47: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/disable-new-dtags.sh .sh -47: ++ testname=disable-new-dtags -47: ++ echo -n 'Testing disable-new-dtags ... ' -47: Testing disable-new-dtags ... ++ t=out/test/aarch64/disable-new-dtags -47: ++ mkdir -p out/test/aarch64/disable-new-dtags +48: ++ '[' Linux = FreeBSD ']' +48: ++ trap 'on_error $LINENO' ERR +48: ++ trap on_exit EXIT +37: + readelf --dyn-syms out/test/aarch64/default-symver/b.so +37: + grep -q ' foo@@bar' +37: + on_exit +37: + echo OK +37: OK +37: + exit 0 +45: + echo 'out/test/aarch64/dependency-file-response-file/a.o -Wl,-dependency-file=out/test/aarch64/dependency-file-response-file/dep' +45: + cc -B. -o out/test/aarch64/dependency-file-response-file/exe @out/test/aarch64/dependency-file-response-file/rsp +28: + grep -q '\.copyrel.* 256$' 28: + on_exit 28: + echo OK 28: OK 28: + exit 0 - 37/336 Test #28: aarch64-copyrel-alignment ................................ Passed 0.33 sec -test 49 - Start 49: aarch64-dso-undef - -49: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/dso-undef.sh" -49: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -49: Environment variables: -49: MACHINE=aarch64 -49: CPU= -49: Test timeout computed to be: 1500 -46: + cat -46: + cc -o out/test/aarch64/dependency-file/a.o -c -xc - -48: ++ '[' Linux = FreeBSD ']' -48: ++ trap 'on_error $LINENO' ERR -48: ++ trap on_exit EXIT -48: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/discard.sh .sh -48: ++ testname=discard -48: ++ echo -n 'Testing discard ... ' -48: Testing discard ... ++ t=out/test/aarch64/discard -48: ++ mkdir -p out/test/aarch64/discard -40: + out/test/aarch64/defsym/exe -41: + nm -D out/test/aarch64/defsym2/b.so -40: + grep -q '^Hello 0x10 0x2000$' -49: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/dso-undef.sh -48: ++ set -x -48: + [[ aarch64 = riscv* ]] -48: + [[ aarch64 = loongarch* ]] -40: + on_exit -40: + echo OK -40: OK -40: + exit 0 -43: + cc -B. -o out/test/aarch64/demangle-rust/exe out/test/aarch64/demangle-rust/a.o -49: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc -49: ++ export LC_ALL=C -49: ++ LC_ALL=C -49: ++ '[' -z aarch64 ']' - 38/336 Test #40: aarch64-defsym ........................................... Passed 0.12 sec + 38/336 Test #37: aarch64-default-symver ................................... Passed 0.37 sec test 50 Start 50: aarch64-dt-init @@ -4200,6 +4237,21 @@ 50: MACHINE=aarch64 50: CPU= 50: Test timeout computed to be: 1500 + 39/336 Test #28: aarch64-copyrel-alignment ................................ Passed 0.74 sec +test 51 + Start 51: aarch64-dt-needed + +51: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/dt-needed.sh" +51: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +51: Environment variables: +51: MACHINE=aarch64 +51: CPU= +51: Test timeout computed to be: 1500 +49: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/dso-undef.sh +49: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc +49: ++ export LC_ALL=C +49: ++ LC_ALL=C +49: ++ '[' -z aarch64 ']' 49: ++ '[' -z '' ']' 49: ++ TESTDIR=out/test/aarch64 49: ++ CC=cc @@ -4216,36 +4268,19 @@ 49: ++ '[' Linux = FreeBSD ']' 49: ++ trap 'on_error $LINENO' ERR 49: ++ trap on_exit EXIT +48: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/discard.sh .sh +48: ++ testname=discard +48: ++ echo -n 'Testing discard ... ' +48: Testing discard ... ++ t=out/test/aarch64/discard +48: ++ mkdir -p out/test/aarch64/discard 49: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/dso-undef.sh .sh 49: ++ testname=dso-undef 49: ++ echo -n 'Testing dso-undef ... ' 49: Testing dso-undef ... ++ t=out/test/aarch64/dso-undef 49: ++ mkdir -p out/test/aarch64/dso-undef -49: ++ set -x -49: + cat -49: + cc -fPIC -o out/test/aarch64/dso-undef/a.o -c -xc - -48: + cat -48: + cc -o out/test/aarch64/discard/a.o -c -x assembler -Wa,-L - -47: ++ set -x -47: + cc -o out/test/aarch64/disable-new-dtags/a.o -c -xc -fPIC - -47: + cat -44: + cc -B. -o out/test/aarch64/demangle/exe out/test/aarch64/demangle/a.o -Wl,-no-demangle -41: + grep -q bar -41: + on_exit -41: + echo OK -41: OK -41: + exit 0 - 39/336 Test #41: aarch64-defsym2 .......................................... Passed 0.11 sec -test 51 - Start 51: aarch64-dt-needed - -51: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/dt-needed.sh" -51: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -51: Environment variables: -51: MACHINE=aarch64 -51: CPU= -51: Test timeout computed to be: 1500 +46: + cc -B. -o out/test/aarch64/dependency-file/exe out/test/aarch64/dependency-file/a.o -Wl,-dependency-file=out/test/aarch64/dependency-file/dep 50: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/dt-init.sh +51: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/dt-needed.sh 50: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 50: ++ export LC_ALL=C 50: ++ LC_ALL=C @@ -4262,7 +4297,9 @@ 50: ++ QEMU= 50: ++ case $MACHINE in 50: ++ tlsdesc_opt=-mtls-dialect=desc -51: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/dt-needed.sh +48: ++ set -x +48: + [[ aarch64 = riscv* ]] +48: + [[ aarch64 = loongarch* ]] 51: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 51: ++ export LC_ALL=C 51: ++ LC_ALL=C @@ -4279,45 +4316,37 @@ 51: ++ QEMU= 51: ++ case $MACHINE in 51: ++ tlsdesc_opt=-mtls-dialect=desc -48: + ./mold -o out/test/aarch64/discard/exe out/test/aarch64/discard/a.o +48: + cc -o out/test/aarch64/discard/a.o -c -x assembler -Wa,-L - 50: +++ uname -45: + echo 'out/test/aarch64/dependency-file-response-file/a.o -Wl,-dependency-file=out/test/aarch64/dependency-file-response-file/dep' -45: + cc -B. -o out/test/aarch64/dependency-file-response-file/exe @out/test/aarch64/dependency-file-response-file/rsp -51: +++ uname 50: ++ '[' Linux = FreeBSD ']' 50: ++ trap 'on_error $LINENO' ERR 50: ++ trap on_exit EXIT +47: + cc -B. -shared -o out/test/aarch64/disable-new-dtags/b.so out/test/aarch64/disable-new-dtags/a.o -Wl,-rpath=/foo +48: + cat +51: +++ uname +43: + grep -Fq ' as core::iter::iterator::Iterator>::rposition::::{closure#0}' out/test/aarch64/demangle-rust/log +42: + grep -Fq 'ns::version()' out/test/aarch64/demangle-cpp/log 51: ++ '[' Linux = FreeBSD ']' 51: ++ trap 'on_error $LINENO' ERR 51: ++ trap on_exit EXIT -51: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/dt-needed.sh .sh -42: + grep -Fq 'ns::version()' out/test/aarch64/demangle-cpp/log -49: + cc -B. -o out/test/aarch64/dso-undef/b.so -shared out/test/aarch64/dso-undef/a.o -51: ++ testname=dt-needed -51: ++ echo -n 'Testing dt-needed ... ' -51: Testing dt-needed ... ++ t=out/test/aarch64/dt-needed -51: ++ mkdir -p out/test/aarch64/dt-needed +49: ++ set -x 50: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/dt-init.sh .sh -51: ++ set -x -51: + cc -c -o out/test/aarch64/dt-needed/a.o -xc - -48: + readelf --symbols out/test/aarch64/discard/exe -42: + cc -c -o out/test/aarch64/demangle-cpp/b.o -xc - 50: ++ testname=dt-init 50: ++ echo -n 'Testing dt-init ... ' 50: Testing dt-init ... ++ t=out/test/aarch64/dt-init 50: ++ mkdir -p out/test/aarch64/dt-init -51: + cat -47: + cc -B. -shared -o out/test/aarch64/disable-new-dtags/b.so out/test/aarch64/disable-new-dtags/a.o -Wl,-rpath=/foo -48: + grep -Fq _start out/test/aarch64/discard/log -46: + cc -B. -o out/test/aarch64/dependency-file/exe out/test/aarch64/dependency-file/a.o -Wl,-dependency-file=out/test/aarch64/dependency-file/dep -42: + cat -48: + grep -Fq foo out/test/aarch64/discard/log -43: + grep -Fq ' as core::iter::iterator::Iterator>::rposition::::{closure#0}' out/test/aarch64/demangle-rust/log +50: ++ set -x +50: + '[' aarch64 = riscv64 -o aarch64 = riscv32 ']' +50: + [[ aarch64 = loongarch* ]] +50: + '[' aarch64 = arm -o aarch64 = aarch64 ']' +50: + is_musl 43: + on_exit 43: + echo OK 43: OK 43: + exit 0 - 40/336 Test #43: aarch64-demangle-rust .................................... Passed 0.10 sec +42: + cat +44: + grep -q 'undefined symbol: _Z3fooii$' out/test/aarch64/demangle/log + 40/336 Test #43: aarch64-demangle-rust .................................... Passed 0.22 sec test 52 Start 52: aarch64-duplicate-error-archive @@ -4327,8 +4356,19 @@ 52: MACHINE=aarch64 52: CPU= 52: Test timeout computed to be: 1500 +50: + ldd --version +44: + cc -B. -o out/test/aarch64/demangle/exe out/test/aarch64/demangle/a.o -Wl,-demangle +51: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/dt-needed.sh .sh +51: ++ testname=dt-needed +51: ++ echo -n 'Testing dt-needed ... ' +51: Testing dt-needed ... ++ t=out/test/aarch64/dt-needed +51: ++ mkdir -p out/test/aarch64/dt-needed +17: + readelf -n out/test/aarch64/build-id/exe +17: + grep -q 'Build ID: deadbeefdeadbeef' +48: + ./mold -o out/test/aarch64/discard/exe out/test/aarch64/discard/a.o +49: + cat +49: + cc -fPIC -o out/test/aarch64/dso-undef/a.o -c -xc - 52: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/duplicate-error-archive.sh -44: + grep -q 'undefined symbol: _Z3fooii$' out/test/aarch64/demangle/log 52: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 52: ++ export LC_ALL=C 52: ++ LC_ALL=C @@ -4345,49 +4385,20 @@ 52: ++ QEMU= 52: ++ case $MACHINE in 52: ++ tlsdesc_opt=-mtls-dialect=desc -50: ++ set -x -50: + '[' aarch64 = riscv64 -o aarch64 = riscv32 ']' -50: + [[ aarch64 = loongarch* ]] -50: + '[' aarch64 = arm -o aarch64 = aarch64 ']' -50: + is_musl -50: + grep -q musl 52: +++ uname -44: + cc -B. -o out/test/aarch64/demangle/exe out/test/aarch64/demangle/a.o -Wl,-demangle 52: ++ '[' Linux = FreeBSD ']' 52: ++ trap 'on_error $LINENO' ERR 52: ++ trap on_exit EXIT -50: + ldd --version -52: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/duplicate-error-archive.sh .sh -48: + grep -Fq .Lbar out/test/aarch64/discard/log -50: + cat -50: + cc -c -fPIC -o out/test/aarch64/dt-init/a.o -xc - -52: ++ testname=duplicate-error-archive -52: ++ echo -n 'Testing duplicate-error-archive ... ' -52: Testing duplicate-error-archive ... ++ t=out/test/aarch64/duplicate-error-archive -52: ++ mkdir -p out/test/aarch64/duplicate-error-archive -52: ++ set -x -51: + cc -B. -shared -o out/test/aarch64/dt-needed/libfoo.so out/test/aarch64/dt-needed/a.o -Wl,--soname,libfoo -52: + cc -o out/test/aarch64/duplicate-error-archive/a.o -c -xc - -52: + cat -48: + ./mold -o out/test/aarch64/discard/exe out/test/aarch64/discard/a.o --discard-locals -45: + grep -q '/exe:.*/a.o ' out/test/aarch64/dependency-file-response-file/dep -42: /tmp/ccSFBbvc.s: Assembler messages: -42: /tmp/ccSFBbvc.s:26: Warning: setting incorrect section attributes for .comment -49: + cc -o out/test/aarch64/dso-undef/c.o -c -xc - -42: + cc -B. -o out/test/aarch64/demangle-cpp/exe2 out/test/aarch64/demangle-cpp/b.o -49: + cat -48: + readelf --symbols out/test/aarch64/discard/exe -45: + grep -q '/a.o:$' out/test/aarch64/dependency-file-response-file/dep -45: + grep -q '^/tmp' out/test/aarch64/dependency-file-response-file/dep -45: + on_exit -45: + echo OK -45: OK -45: + exit 0 -48: + grep -Fq _start out/test/aarch64/discard/log -48: + grep -Fq foo out/test/aarch64/discard/log -17: + grep -q 'GNU.*0x00000020.*NT_GNU_BUILD_ID' -17: + readelf -n out/test/aarch64/build-id/exe - 41/336 Test #45: aarch64-dependency-file-response-file .................... Passed 0.12 sec +17: + on_exit +17: + echo OK +17: OK +17: + exit 0 +51: ++ set -x +51: + cc -c -o out/test/aarch64/dt-needed/a.o -xc - +50: + grep -q musl +38: + cat +42: + cc -c -o out/test/aarch64/demangle-cpp/b.o -xc - + 41/336 Test #17: aarch64-build-id ......................................... Passed 1.21 sec test 53 Start 53: aarch64-duplicate-error @@ -4397,22 +4408,20 @@ 53: MACHINE=aarch64 53: CPU= 53: Test timeout computed to be: 1500 +45: + grep -q '/exe:.*/a.o ' out/test/aarch64/dependency-file-response-file/dep +45: + grep -q '/a.o:$' out/test/aarch64/dependency-file-response-file/dep +45: + grep -q '^/tmp' out/test/aarch64/dependency-file-response-file/dep +45: + on_exit +45: + echo OK +45: OK +45: + exit 0 +51: + cat +50: + cc -c -fPIC -o out/test/aarch64/dt-init/a.o -xc - +50: + cat +38: + cc -flto -fPIC -o out/test/aarch64/defsym-lto/a.o -c -xc - +52: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/duplicate-error-archive.sh .sh 46: + grep -q 'dependency-file/exe:.*/a.o ' out/test/aarch64/dependency-file/dep -17: + cc -B. -o out/test/aarch64/build-id/exe out/test/aarch64/build-id/a.c -Wl,-build-id=0xdeadbeefdeadbeef -48: + grep -Fq .Lbar out/test/aarch64/discard/log -50: + cc -c -fPIC -o out/test/aarch64/dt-init/b.o -xc - -46: + grep -q '.*/a.o:$' out/test/aarch64/dependency-file/dep -46: + on_exit -46: + echo OK -46: OK -46: + exit 0 -53: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/duplicate-error.sh -53: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc -53: ++ export LC_ALL=C -53: ++ LC_ALL=C -53: ++ '[' -z aarch64 ']' -53: ++ '[' -z '' ']' - 42/336 Test #46: aarch64-dependency-file .................................. Passed 0.11 sec + 42/336 Test #45: aarch64-dependency-file-response-file .................... Passed 0.22 sec test 54 Start 54: aarch64-dynamic-dt-debug @@ -4422,6 +4431,17 @@ 54: MACHINE=aarch64 54: CPU= 54: Test timeout computed to be: 1500 +46: + grep -q '.*/a.o:$' out/test/aarch64/dependency-file/dep +52: ++ testname=duplicate-error-archive +52: ++ echo -n 'Testing duplicate-error-archive ... ' +52: Testing duplicate-error-archive ... ++ t=out/test/aarch64/duplicate-error-archive +52: ++ mkdir -p out/test/aarch64/duplicate-error-archive +53: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/duplicate-error.sh +53: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc +53: ++ export LC_ALL=C +53: ++ LC_ALL=C +53: ++ '[' -z aarch64 ']' +53: ++ '[' -z '' ']' 53: ++ TESTDIR=out/test/aarch64 53: ++ CC=cc 53: ++ CXX=c++ @@ -4433,24 +4453,10 @@ 53: ++ QEMU= 53: ++ case $MACHINE in 53: ++ tlsdesc_opt=-mtls-dialect=desc -50: + cat -38: + cat -38: + cc -flto -fPIC -o out/test/aarch64/defsym-lto/a.o -c -xc - -52: + rm -f out/test/aarch64/duplicate-error-archive/b.a -52: + ar rcs out/test/aarch64/duplicate-error-archive/b.a out/test/aarch64/duplicate-error-archive/a.o -48: + ./mold -o out/test/aarch64/discard/exe out/test/aarch64/discard/a.o --discard-all -47: + grep -q 'RUNPATH.*/foo' -47: + readelf --dynamic out/test/aarch64/disable-new-dtags/b.so -47: + cc -B. -shared -o out/test/aarch64/disable-new-dtags/b.so out/test/aarch64/disable-new-dtags/a.o -Wl,-rpath=/foo -Wl,-enable-new-dtags -49: + rm -f out/test/aarch64/dso-undef/d.a -49: + ar rcs out/test/aarch64/dso-undef/d.a out/test/aarch64/dso-undef/c.o -51: + cc -B. -shared -o out/test/aarch64/dt-needed/libbar.so out/test/aarch64/dt-needed/a.o -53: +++ uname -52: + cc -o out/test/aarch64/duplicate-error-archive/c.o -c -xc - +48: + readelf --symbols out/test/aarch64/discard/exe +48: + grep -Fq _start out/test/aarch64/discard/log +51: + cc -B. -shared -o out/test/aarch64/dt-needed/libfoo.so out/test/aarch64/dt-needed/a.o -Wl,--soname,libfoo 54: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/dynamic-dt-debug.sh -53: ++ '[' Linux = FreeBSD ']' -53: ++ trap 'on_error $LINENO' ERR -53: ++ trap on_exit EXIT 54: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 54: ++ export LC_ALL=C 54: ++ LC_ALL=C @@ -4467,45 +4473,29 @@ 54: ++ QEMU= 54: ++ case $MACHINE in 54: ++ tlsdesc_opt=-mtls-dialect=desc -53: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/duplicate-error.sh .sh -52: + cat 54: +++ uname +52: ++ set -x 54: ++ '[' Linux = FreeBSD ']' 54: ++ trap 'on_error $LINENO' ERR 54: ++ trap on_exit EXIT -53: ++ testname=duplicate-error -53: ++ echo -n 'Testing duplicate-error ... ' -53: Testing duplicate-error ... ++ t=out/test/aarch64/duplicate-error -53: ++ mkdir -p out/test/aarch64/duplicate-error -49: + cat -49: + cc -o out/test/aarch64/dso-undef/e.o -c -xc - 54: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/dynamic-dt-debug.sh .sh +52: + cat +42: /tmp/cc1pJlIy.s: Assembler messages: +42: /tmp/cc1pJlIy.s:26: Warning: setting incorrect section attributes for .comment 54: ++ testname=dynamic-dt-debug 54: ++ echo -n 'Testing dynamic-dt-debug ... ' 54: Testing dynamic-dt-debug ... ++ t=out/test/aarch64/dynamic-dt-debug 54: ++ mkdir -p out/test/aarch64/dynamic-dt-debug -53: ++ set -x -48: + readelf --symbols out/test/aarch64/discard/exe -44: + grep -Eq 'undefined symbol: foo\(int, int\)$' out/test/aarch64/demangle/log -53: + cc -o out/test/aarch64/duplicate-error/a.o -c -x assembler - -53: + cat 54: ++ set -x +42: + cc -B. -o out/test/aarch64/demangle-cpp/exe2 out/test/aarch64/demangle-cpp/b.o 54: + cat -48: + grep -Fq _start out/test/aarch64/discard/log -44: + cc -B. -o out/test/aarch64/demangle/exe out/test/aarch64/demangle/a.o -48: + grep -Fq foo out/test/aarch64/discard/log -53: + ./mold -o out/test/aarch64/duplicate-error/exe out/test/aarch64/duplicate-error/a.o out/test/aarch64/duplicate-error/a.o -48: + grep -Fq .Lbar out/test/aarch64/discard/log -38: + cc -B. -flto -o out/test/aarch64/defsym-lto/exe out/test/aarch64/defsym-lto/a.o -Wl,-defsym,live_func=dead_func -50: + cc -B. -o out/test/aarch64/dt-init/c.so -shared out/test/aarch64/dt-init/b.o -48: + ./mold -o out/test/aarch64/discard/exe out/test/aarch64/discard/a.o --strip-all 54: + cc -o out/test/aarch64/dynamic-dt-debug/a.o -c -xc - -42: + grep -Fq ns::versionv out/test/aarch64/demangle-cpp/log -42: + on_exit -42: + echo OK -42: OK -42: + exit 0 - 43/336 Test #42: aarch64-demangle-cpp ..................................... Passed 0.20 sec +46: + on_exit +46: + echo OK +46: OK +46: + exit 0 +53: +++ uname + 43/336 Test #46: aarch64-dependency-file .................................. Passed 0.23 sec test 55 Start 55: aarch64-dynamic-linker @@ -4515,26 +4505,25 @@ 55: MACHINE=aarch64 55: CPU= 55: Test timeout computed to be: 1500 -52: + cc -B. -o out/test/aarch64/duplicate-error-archive/exe out/test/aarch64/duplicate-error-archive/c.o out/test/aarch64/duplicate-error-archive/b.a out/test/aarch64/duplicate-error-archive/b.a -53: + grep -q 'duplicate symbol: .*\.o: .*\.o: main' out/test/aarch64/duplicate-error/log -49: + cc -B. -o out/test/aarch64/dso-undef/exe out/test/aarch64/dso-undef/b.so out/test/aarch64/dso-undef/d.a out/test/aarch64/dso-undef/e.o -53: + on_exit -53: + echo OK -53: OK -53: + exit 0 - 44/336 Test #53: aarch64-duplicate-error .................................. Passed 0.05 sec -test 56 - Start 56: aarch64-dynamic-list-data - -56: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/dynamic-list-data.sh" -56: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -56: Environment variables: -56: MACHINE=aarch64 -56: CPU= -56: Test timeout computed to be: 1500 -48: + readelf --symbols out/test/aarch64/discard/exe -48: + grep -Fq _start out/test/aarch64/discard/log +53: ++ '[' Linux = FreeBSD ']' +53: ++ trap 'on_error $LINENO' ERR +53: ++ trap on_exit EXIT 48: + grep -Fq foo out/test/aarch64/discard/log +47: + grep -q 'RUNPATH.*/foo' +47: + readelf --dynamic out/test/aarch64/disable-new-dtags/b.so +47: + cc -B. -shared -o out/test/aarch64/disable-new-dtags/b.so out/test/aarch64/disable-new-dtags/a.o -Wl,-rpath=/foo -Wl,-enable-new-dtags +49: + cc -B. -o out/test/aarch64/dso-undef/b.so -shared out/test/aarch64/dso-undef/a.o +52: + cc -o out/test/aarch64/duplicate-error-archive/a.o -c -xc - +48: + grep -Fq .Lbar out/test/aarch64/discard/log +50: + cat +53: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/duplicate-error.sh .sh +53: ++ testname=duplicate-error +53: ++ echo -n 'Testing duplicate-error ... ' +53: Testing duplicate-error ... ++ t=out/test/aarch64/duplicate-error +53: ++ mkdir -p out/test/aarch64/duplicate-error +53: ++ set -x +53: + cat +53: + cc -o out/test/aarch64/duplicate-error/a.o -c -x assembler - 55: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/dynamic-linker.sh 55: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 55: ++ export LC_ALL=C @@ -4552,17 +4541,50 @@ 55: ++ QEMU= 55: ++ case $MACHINE in 55: ++ tlsdesc_opt=-mtls-dialect=desc -51: + cc -c -o out/test/aarch64/dt-needed/b.o -xc - 55: +++ uname +38: + cc -B. -flto -o out/test/aarch64/defsym-lto/exe out/test/aarch64/defsym-lto/a.o -Wl,-defsym,live_func=dead_func +54: + cc -B. -o out/test/aarch64/dynamic-dt-debug/exe out/test/aarch64/dynamic-dt-debug/a.o +48: + ./mold -o out/test/aarch64/discard/exe out/test/aarch64/discard/a.o --discard-locals +53: + ./mold -o out/test/aarch64/duplicate-error/exe out/test/aarch64/duplicate-error/a.o out/test/aarch64/duplicate-error/a.o 55: ++ '[' Linux = FreeBSD ']' 55: ++ trap 'on_error $LINENO' ERR 55: ++ trap on_exit EXIT -48: + grep -Fq .Lbar out/test/aarch64/discard/log -51: + cat 55: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/dynamic-linker.sh .sh -56: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/dynamic-list-data.sh -47: + readelf --dynamic out/test/aarch64/disable-new-dtags/b.so +50: + cc -c -fPIC -o out/test/aarch64/dt-init/b.o -xc - +55: ++ testname=dynamic-linker +55: ++ echo -n 'Testing dynamic-linker ... ' +55: Testing dynamic-linker ... ++ t=out/test/aarch64/dynamic-linker +55: ++ mkdir -p out/test/aarch64/dynamic-linker +48: + readelf --symbols out/test/aarch64/discard/exe +44: + grep -Eq 'undefined symbol: foo\(int, int\)$' out/test/aarch64/demangle/log +42: + grep -Fq ns::versionv out/test/aarch64/demangle-cpp/log 47: + grep -q 'RUNPATH.*/foo' +47: + readelf --dynamic out/test/aarch64/disable-new-dtags/b.so +47: + cc -B. -shared -o out/test/aarch64/disable-new-dtags/b.so out/test/aarch64/disable-new-dtags/a.o -Wl,-rpath=/foo -Wl,-disable-new-dtags +53: + grep -q 'duplicate symbol: .*\.o: .*\.o: main' out/test/aarch64/duplicate-error/log +44: + cc -B. -o out/test/aarch64/demangle/exe out/test/aarch64/demangle/a.o +48: + grep -Fq _start out/test/aarch64/discard/log +55: ++ set -x +42: + on_exit +42: + echo OK +42: OK +42: + exit 0 +55: + cc -c -o out/test/aarch64/dynamic-linker/a.o -x assembler - +51: + cc -B. -shared -o out/test/aarch64/dt-needed/libbar.so out/test/aarch64/dt-needed/a.o + 44/336 Test #42: aarch64-demangle-cpp ..................................... Passed 0.38 sec +test 56 + Start 56: aarch64-dynamic-list-data + +56: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/dynamic-list-data.sh" +56: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +56: Environment variables: +56: MACHINE=aarch64 +56: CPU= +56: Test timeout computed to be: 1500 +55: + cat +48: + grep -Fq foo out/test/aarch64/discard/log +48: + grep -Fq .Lbar out/test/aarch64/discard/log +56: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/dynamic-list-data.sh 56: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 56: ++ export LC_ALL=C 56: ++ LC_ALL=C @@ -4579,12 +4601,12 @@ 56: ++ QEMU= 56: ++ case $MACHINE in 56: ++ tlsdesc_opt=-mtls-dialect=desc -56: +++ uname -48: + on_exit -48: + echo OK -48: OK -48: + exit 0 - 45/336 Test #48: aarch64-discard .......................................... Passed 0.16 sec +53: + on_exit +53: + echo OK +53: OK +53: + exit 0 +52: + rm -f out/test/aarch64/duplicate-error-archive/b.a + 45/336 Test #53: aarch64-duplicate-error .................................. Passed 0.13 sec test 57 Start 57: aarch64-dynamic-list @@ -4594,24 +4616,16 @@ 57: MACHINE=aarch64 57: CPU= 57: Test timeout computed to be: 1500 -56: ++ '[' Linux = FreeBSD ']' -56: ++ trap 'on_error $LINENO' ERR -56: ++ trap on_exit EXIT -56: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/dynamic-list-data.sh .sh -56: ++ testname=dynamic-list-data -56: ++ echo -n 'Testing dynamic-list-data ... ' -56: Testing dynamic-list-data ... ++ t=out/test/aarch64/dynamic-list-data -56: ++ mkdir -p out/test/aarch64/dynamic-list-data -55: ++ testname=dynamic-linker -55: ++ echo -n 'Testing dynamic-linker ... ' -55: Testing dynamic-linker ... ++ t=out/test/aarch64/dynamic-linker -55: ++ mkdir -p out/test/aarch64/dynamic-linker -55: ++ set -x -47: + cc -B. -shared -o out/test/aarch64/disable-new-dtags/b.so out/test/aarch64/disable-new-dtags/a.o -Wl,-rpath=/foo -Wl,-disable-new-dtags +52: + ar rcs out/test/aarch64/duplicate-error-archive/b.a out/test/aarch64/duplicate-error-archive/a.o +54: + readelf --dynamic out/test/aarch64/dynamic-dt-debug/exe +48: + ./mold -o out/test/aarch64/discard/exe out/test/aarch64/discard/a.o --discard-all +55: + ./mold -o out/test/aarch64/dynamic-linker/exe out/test/aarch64/dynamic-linker/a.o +52: + cc -o out/test/aarch64/duplicate-error-archive/c.o -c -xc - +52: + cat +50: + cc -B. -o out/test/aarch64/dt-init/c.so -shared out/test/aarch64/dt-init/b.o +54: + grep -Fq '(DEBUG)' out/test/aarch64/dynamic-dt-debug/log +54: + cc -o out/test/aarch64/dynamic-dt-debug/b.o -c -xc - 57: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/dynamic-list.sh -55: + cat -17: + readelf -n out/test/aarch64/build-id/exe -50: + cc -B. -o out/test/aarch64/dt-init/d.so -shared out/test/aarch64/dt-init/b.o -Wl,-init,init -Wl,-fini,fini 57: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 57: ++ export LC_ALL=C 57: ++ LC_ALL=C @@ -4628,16 +4642,38 @@ 57: ++ QEMU= 57: ++ case $MACHINE in 57: ++ tlsdesc_opt=-mtls-dialect=desc -17: + grep -q 'Build ID: deadbeefdeadbeef' -17: + on_exit -17: + echo OK -17: OK -17: + exit 0 -54: + cc -B. -o out/test/aarch64/dynamic-dt-debug/exe out/test/aarch64/dynamic-dt-debug/a.o -55: + cc -c -o out/test/aarch64/dynamic-linker/a.o -x assembler - -56: ++ set -x +56: +++ uname 57: +++ uname - 46/336 Test #17: aarch64-build-id ......................................... Passed 0.63 sec +56: ++ '[' Linux = FreeBSD ']' +56: ++ trap 'on_error $LINENO' ERR +56: ++ trap on_exit EXIT +56: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/dynamic-list-data.sh .sh +56: ++ testname=dynamic-list-data +56: ++ echo -n 'Testing dynamic-list-data ... ' +56: Testing dynamic-list-data ... ++ t=out/test/aarch64/dynamic-list-data +56: ++ mkdir -p out/test/aarch64/dynamic-list-data +56: ++ set -x +47: + grep -q 'RPATH.*/foo' +48: + readelf --symbols out/test/aarch64/discard/exe +57: ++ '[' Linux = FreeBSD ']' +57: ++ trap 'on_error $LINENO' ERR +57: ++ trap on_exit EXIT +57: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/dynamic-list.sh .sh +57: ++ testname=dynamic-list +57: ++ echo -n 'Testing dynamic-list ... ' +57: Testing dynamic-list ... ++ t=out/test/aarch64/dynamic-list +57: ++ mkdir -p out/test/aarch64/dynamic-list +57: ++ set -x +55: + readelf --sections out/test/aarch64/dynamic-linker/exe +47: + readelf --dynamic out/test/aarch64/disable-new-dtags/b.so +49: + cat +55: + grep -Fq .interp out/test/aarch64/dynamic-linker/log +54: + cat +47: + on_exit +47: + echo OK +47: OK +47: + exit 0 + 46/336 Test #47: aarch64-disable-new-dtags ................................ Passed 0.34 sec test 58 Start 58: aarch64-dynamic-list2 @@ -4647,28 +4683,11 @@ 58: MACHINE=aarch64 58: CPU= 58: Test timeout computed to be: 1500 -56: + cc -o out/test/aarch64/dynamic-list-data/a.o -c -xc - -57: ++ '[' Linux = FreeBSD ']' -57: ++ trap 'on_error $LINENO' ERR -57: ++ trap on_exit EXIT -57: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/dynamic-list.sh .sh -57: ++ testname=dynamic-list -57: ++ echo -n 'Testing dynamic-list ... ' -57: Testing dynamic-list ... ++ t=out/test/aarch64/dynamic-list -57: ++ mkdir -p out/test/aarch64/dynamic-list -51: + cc -B. -o out/test/aarch64/dt-needed/exe out/test/aarch64/dt-needed/b.o out/test/aarch64/dt-needed/libfoo.so -44: + grep -Eq 'undefined symbol: foo\(int, int\)$' out/test/aarch64/demangle/log -55: + ./mold -o out/test/aarch64/dynamic-linker/exe out/test/aarch64/dynamic-linker/a.o 56: + cat -49: + readelf --dyn-syms out/test/aarch64/dso-undef/exe -49: + grep -q ' foo$' -49: + on_exit -49: + echo OK -49: OK -49: + exit 0 -57: ++ set -x -57: + cat -57: + cc -o out/test/aarch64/dynamic-list/a.o -c -xc - +56: + cc -o out/test/aarch64/dynamic-list-data/a.o -c -xc - +48: + grep -Fq _start out/test/aarch64/discard/log +55: + readelf --dynamic out/test/aarch64/dynamic-linker/exe +49: + cc -o out/test/aarch64/dso-undef/c.o -c -xc - 58: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/dynamic-list2.sh 58: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 58: ++ export LC_ALL=C @@ -4686,36 +4705,57 @@ 58: ++ QEMU= 58: ++ case $MACHINE in 58: ++ tlsdesc_opt=-mtls-dialect=desc -55: + readelf --sections out/test/aarch64/dynamic-linker/exe - 47/336 Test #49: aarch64-dso-undef ........................................ Passed 0.17 sec -test 59 - Start 59: aarch64-dynamic-list3 - -59: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/dynamic-list3.sh" -59: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -59: Environment variables: -59: MACHINE=aarch64 -59: CPU= -59: Test timeout computed to be: 1500 +57: + cat +57: + cc -o out/test/aarch64/dynamic-list/a.o -c -xc - +44: + grep -Eq 'undefined symbol: foo\(int, int\)$' out/test/aarch64/demangle/log +55: + ./mold -o out/test/aarch64/dynamic-linker/exe out/test/aarch64/dynamic-linker/a.o --dynamic-linker=/foo/bar +52: + cc -B. -o out/test/aarch64/duplicate-error-archive/exe out/test/aarch64/duplicate-error-archive/c.o out/test/aarch64/duplicate-error-archive/b.a out/test/aarch64/duplicate-error-archive/b.a 58: +++ uname 58: ++ '[' Linux = FreeBSD ']' +48: + grep -Fq foo out/test/aarch64/discard/log 58: ++ trap 'on_error $LINENO' ERR 58: ++ trap on_exit EXIT +51: + cat +51: + cc -c -o out/test/aarch64/dt-needed/b.o -xc - +48: + grep -Fq .Lbar out/test/aarch64/discard/log +54: + cc -B. -o out/test/aarch64/dynamic-dt-debug/c.so out/test/aarch64/dynamic-dt-debug/b.o -shared +49: + rm -f out/test/aarch64/dso-undef/d.a 58: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/dynamic-list2.sh .sh +49: + ar rcs out/test/aarch64/dso-undef/d.a out/test/aarch64/dso-undef/c.o +44: + cc -c -o out/test/aarch64/demangle/b.o -xc - +48: + ./mold -o out/test/aarch64/discard/exe out/test/aarch64/discard/a.o --strip-all 58: ++ testname=dynamic-list2 58: ++ echo -n 'Testing dynamic-list2 ... ' 58: Testing dynamic-list2 ... ++ t=out/test/aarch64/dynamic-list2 58: ++ mkdir -p out/test/aarch64/dynamic-list2 58: ++ set -x -52: + cc -B. -o out/test/aarch64/duplicate-error-archive/exe out/test/aarch64/duplicate-error-archive/c.o -Wl,--push-state,--whole-archive out/test/aarch64/duplicate-error-archive/b.a out/test/aarch64/duplicate-error-archive/b.a -Wl,--pop-state +55: + readelf --sections out/test/aarch64/dynamic-linker/exe +48: + readelf --symbols out/test/aarch64/discard/exe 44: + cat +50: + cc -B. -o out/test/aarch64/dt-init/d.so -shared out/test/aarch64/dt-init/b.o -Wl,-init,init -Wl,-fini,fini 55: + grep -Fq .interp out/test/aarch64/dynamic-linker/log +49: + cc -o out/test/aarch64/dso-undef/e.o -c -xc - +55: + on_exit +55: + echo OK +55: OK +55: + exit 0 58: + cc -o out/test/aarch64/dynamic-list2/a.o -c -xc - -55: + readelf --dynamic out/test/aarch64/dynamic-linker/exe -44: + cc -c -o out/test/aarch64/demangle/b.o -xc - -59: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/dynamic-list3.sh 58: + cat -55: + ./mold -o out/test/aarch64/dynamic-linker/exe out/test/aarch64/dynamic-linker/a.o --dynamic-linker=/foo/bar +57: + cc -B. -o out/test/aarch64/dynamic-list/exe out/test/aarch64/dynamic-list/a.o +49: + cat + 47/336 Test #55: aarch64-dynamic-linker ................................... Passed 0.20 sec +test 59 + Start 59: aarch64-dynamic-list3 + +59: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/dynamic-list3.sh" +59: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +59: Environment variables: +59: MACHINE=aarch64 +59: CPU= +59: Test timeout computed to be: 1500 +48: + grep -Fq _start out/test/aarch64/discard/log +56: + cc -B. -o out/test/aarch64/dynamic-list-data/exe out/test/aarch64/dynamic-list-data/a.o -Wl,-dynamic-list-data +59: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/dynamic-list3.sh 59: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 59: ++ export LC_ALL=C 59: ++ LC_ALL=C @@ -4732,30 +4772,17 @@ 59: ++ QEMU= 59: ++ case $MACHINE in 59: ++ tlsdesc_opt=-mtls-dialect=desc -56: + cc -B. -o out/test/aarch64/dynamic-list-data/exe out/test/aarch64/dynamic-list-data/a.o -Wl,-dynamic-list-data -50: + cc -B. -o out/test/aarch64/dt-init/exe1 out/test/aarch64/dt-init/a.o out/test/aarch64/dt-init/c.so -59: +++ uname -59: ++ '[' Linux = FreeBSD ']' -59: ++ trap 'on_error $LINENO' ERR -59: ++ trap on_exit EXIT -47: + readelf --dynamic out/test/aarch64/disable-new-dtags/b.so -55: + readelf --sections out/test/aarch64/dynamic-linker/exe -57: + cc -B. -o out/test/aarch64/dynamic-list/exe out/test/aarch64/dynamic-list/a.o -54: + readelf --dynamic out/test/aarch64/dynamic-dt-debug/exe -47: + grep -q 'RPATH.*/foo' -51: + grep -Fq 'Shared library: [libfoo]' -55: + grep -Fq .interp out/test/aarch64/dynamic-linker/log -59: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/dynamic-list3.sh .sh -59: ++ testname=dynamic-list3 -55: + on_exit -55: + echo OK -55: OK -55: + exit 0 -47: + on_exit -47: + echo OK -47: OK -47: + exit 0 - 48/336 Test #55: aarch64-dynamic-linker ................................... Passed 0.08 sec +54: + readelf --dynamic out/test/aarch64/dynamic-dt-debug/c.so +48: + grep -Fq foo out/test/aarch64/discard/log +51: + cc -B. -o out/test/aarch64/dt-needed/exe out/test/aarch64/dt-needed/b.o out/test/aarch64/dt-needed/libfoo.so +54: + grep -Fq '(DEBUG)' out/test/aarch64/dynamic-dt-debug/log +48: + grep -Fq .Lbar out/test/aarch64/discard/log +44: + cc -B. -o out/test/aarch64/demangle/exe out/test/aarch64/demangle/b.o -Wl,-demangle +54: + on_exit +54: + echo OK +54: OK +54: + exit 0 + 48/336 Test #54: aarch64-dynamic-dt-debug ................................. Passed 0.28 sec test 60 Start 60: aarch64-dynamic-list4 @@ -4765,19 +4792,15 @@ 60: MACHINE=aarch64 60: CPU= 60: Test timeout computed to be: 1500 -59: ++ echo -n 'Testing dynamic-list3 ... ' -59: Testing dynamic-list3 ... ++ t=out/test/aarch64/dynamic-list3 -59: ++ mkdir -p out/test/aarch64/dynamic-list3 -59: ++ set -x -59: + cat - 49/336 Test #47: aarch64-disable-new-dtags ................................ Passed 0.22 sec -51: + readelf --dynamic out/test/aarch64/dt-needed/exe -51: + cc -B. -o out/test/aarch64/dt-needed/exe out/test/aarch64/dt-needed/b.o -L out/test/aarch64/dt-needed -lfoo -54: + grep -Fq '(DEBUG)' out/test/aarch64/dynamic-dt-debug/log -54: + cc -o out/test/aarch64/dynamic-dt-debug/b.o -c -xc - -54: + cat -58: + cat -58: + c++ -o out/test/aarch64/dynamic-list2/b.o -c -xc++ - +59: +++ uname +59: ++ '[' Linux = FreeBSD ']' +59: ++ trap 'on_error $LINENO' ERR +59: ++ trap on_exit EXIT +48: + on_exit +48: + echo OK +48: OK +48: + exit 0 + 49/336 Test #48: aarch64-discard .......................................... Passed 0.45 sec test 61 Start 61: aarch64-dynamic @@ -4787,8 +4810,15 @@ 61: MACHINE=aarch64 61: CPU= 61: Test timeout computed to be: 1500 -59: + c++ -fPIC -c -o out/test/aarch64/dynamic-list3/b.o -xc - +59: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/dynamic-list3.sh .sh +59: ++ testname=dynamic-list3 +59: ++ echo -n 'Testing dynamic-list3 ... ' +59: Testing dynamic-list3 ... ++ t=out/test/aarch64/dynamic-list3 +59: ++ mkdir -p out/test/aarch64/dynamic-list3 +59: ++ set -x 59: + cat +49: + cc -B. -o out/test/aarch64/dso-undef/exe out/test/aarch64/dso-undef/b.so out/test/aarch64/dso-undef/d.a out/test/aarch64/dso-undef/e.o +50: + cc -B. -o out/test/aarch64/dt-init/exe1 out/test/aarch64/dt-init/a.o out/test/aarch64/dt-init/c.so 60: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/dynamic-list4.sh 60: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 60: ++ export LC_ALL=C @@ -4806,17 +4836,13 @@ 60: ++ QEMU= 60: ++ case $MACHINE in 60: ++ tlsdesc_opt=-mtls-dialect=desc +52: + cc -B. -o out/test/aarch64/duplicate-error-archive/exe out/test/aarch64/duplicate-error-archive/c.o -Wl,--push-state,--whole-archive out/test/aarch64/duplicate-error-archive/b.a out/test/aarch64/duplicate-error-archive/b.a -Wl,--pop-state +58: + cat +58: + c++ -o out/test/aarch64/dynamic-list2/b.o -c -xc++ - 60: +++ uname 60: ++ '[' Linux = FreeBSD ']' 60: ++ trap 'on_error $LINENO' ERR 60: ++ trap on_exit EXIT -60: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/dynamic-list4.sh .sh -44: + cc -B. -o out/test/aarch64/demangle/exe out/test/aarch64/demangle/b.o -Wl,-demangle -52: + grep -q 'duplicate symbol:.* foo' out/test/aarch64/duplicate-error-archive/log -60: ++ testname=dynamic-list4 -60: ++ echo -n 'Testing dynamic-list4 ... ' -60: Testing dynamic-list4 ... ++ t=out/test/aarch64/dynamic-list4 -60: ++ mkdir -p out/test/aarch64/dynamic-list4 61: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/dynamic.sh 61: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 61: ++ export LC_ALL=C @@ -4834,23 +4860,37 @@ 61: ++ QEMU= 61: ++ case $MACHINE in 61: ++ tlsdesc_opt=-mtls-dialect=desc +59: + cat +59: + c++ -fPIC -c -o out/test/aarch64/dynamic-list3/b.o -xc - +60: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/dynamic-list4.sh .sh +60: ++ testname=dynamic-list4 +60: ++ echo -n 'Testing dynamic-list4 ... ' +60: Testing dynamic-list4 ... ++ t=out/test/aarch64/dynamic-list4 +60: ++ mkdir -p out/test/aarch64/dynamic-list4 61: +++ uname 61: ++ '[' Linux = FreeBSD ']' 61: ++ trap 'on_error $LINENO' ERR 61: ++ trap on_exit EXIT +61: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/dynamic.sh .sh +57: + readelf --dyn-syms out/test/aarch64/dynamic-list/exe +61: ++ testname=dynamic +61: ++ echo -n 'Testing dynamic ... ' +61: Testing dynamic ... ++ t=out/test/aarch64/dynamic +61: ++ mkdir -p out/test/aarch64/dynamic +61: ++ set -x +61: + cc -o out/test/aarch64/dynamic/a.o -c -x assembler - 60: ++ set -x +38: + out/test/aarch64/defsym-lto/exe +61: + echo '.globl main; main:' +61: + cc -B. -o out/test/aarch64/dynamic/exe out/test/aarch64/dynamic/a.o 60: + cat -60: + cc -o out/test/aarch64/dynamic-list4/a.o -c -xc - -fPIC -56: + readelf -W --dyn-syms out/test/aarch64/dynamic-list-data/exe -61: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/dynamic.sh .sh -52: + on_exit -52: + echo OK -52: OK -52: + exit 0 -50: + cc -B. -o out/test/aarch64/dt-init/exe2 out/test/aarch64/dt-init/a.o out/test/aarch64/dt-init/d.so -58: + c++ -B. -o out/test/aarch64/dynamic-list2/exe out/test/aarch64/dynamic-list2/a.o out/test/aarch64/dynamic-list2/b.o -54: + cc -B. -o out/test/aarch64/dynamic-dt-debug/c.so out/test/aarch64/dynamic-dt-debug/b.o -shared - 50/336 Test #52: aarch64-duplicate-error-archive .......................... Passed 0.19 sec +57: + grep -q ' foo' out/test/aarch64/dynamic-list/log +38: + grep -q '^OK$' +38: + on_exit +38: + echo OK +38: OK +38: + exit 0 + 50/336 Test #38: aarch64-defsym-lto ....................................... Passed 0.79 sec test 62 Start 62: aarch64-emit-relocs-cpp @@ -4860,22 +4900,26 @@ 62: MACHINE=aarch64 62: CPU= 62: Test timeout computed to be: 1500 -61: ++ testname=dynamic -61: ++ echo -n 'Testing dynamic ... ' -61: Testing dynamic ... ++ t=out/test/aarch64/dynamic -61: ++ mkdir -p out/test/aarch64/dynamic -61: ++ set -x -61: + echo '.globl main; main:' -61: + cc -o out/test/aarch64/dynamic/a.o -c -x assembler - +56: + readelf -W --dyn-syms out/test/aarch64/dynamic-list-data/exe +60: + cc -o out/test/aarch64/dynamic-list4/a.o -c -xc - -fPIC +57: + grep -q ' bar' out/test/aarch64/dynamic-list/log 56: + grep -wq foo out/test/aarch64/dynamic-list-data/log -57: + readelf --dyn-syms out/test/aarch64/dynamic-list/exe -59: + cc -B. -Wl,--dynamic-list=out/test/aarch64/dynamic-list3/dyn -o out/test/aarch64/dynamic-list3/exe1 out/test/aarch64/dynamic-list3/b.o -51: + grep -Fq 'Shared library: [libfoo]' -51: + readelf --dynamic out/test/aarch64/dt-needed/exe 56: + grep -wq bar out/test/aarch64/dynamic-list-data/log -51: + cc -B. -o out/test/aarch64/dt-needed/exe out/test/aarch64/dt-needed/b.o out/test/aarch64/dt-needed/libbar.so -61: + cc -B. -o out/test/aarch64/dynamic/exe out/test/aarch64/dynamic/a.o -57: + grep -q ' foo' out/test/aarch64/dynamic-list/log +56: + on_exit +56: + echo OK +56: OK +56: + exit 0 + 51/336 Test #56: aarch64-dynamic-list-data ................................ Passed 0.28 sec +test 63 + Start 63: aarch64-emit-relocs-dead-sections + +63: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/emit-relocs-dead-sections.sh" +63: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +63: Environment variables: +63: MACHINE=aarch64 +63: CPU= +63: Test timeout computed to be: 1500 +57: + cat 62: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/emit-relocs-cpp.sh 62: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 62: ++ export LC_ALL=C @@ -4893,38 +4937,15 @@ 62: ++ QEMU= 62: ++ case $MACHINE in 62: ++ tlsdesc_opt=-mtls-dialect=desc -62: +++ uname -62: ++ '[' Linux = FreeBSD ']' -62: ++ trap 'on_error $LINENO' ERR -62: ++ trap on_exit EXIT -56: + on_exit -56: + echo OK -56: OK -56: + exit 0 -57: + grep -q ' bar' out/test/aarch64/dynamic-list/log -57: + cat -57: + cc -B. -o out/test/aarch64/dynamic-list/exe1 out/test/aarch64/dynamic-list/a.o -Wl,-dynamic-list=out/test/aarch64/dynamic-list/dyn - 51/336 Test #56: aarch64-dynamic-list-data ................................ Passed 0.12 sec -test 63 - Start 63: aarch64-emit-relocs-dead-sections - -63: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/emit-relocs-dead-sections.sh" -63: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -63: Environment variables: -63: MACHINE=aarch64 -63: CPU= -63: Test timeout computed to be: 1500 -62: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/emit-relocs-cpp.sh .sh -62: ++ testname=emit-relocs-cpp -62: ++ echo -n 'Testing emit-relocs-cpp ... ' -62: Testing emit-relocs-cpp ... ++ t=out/test/aarch64/emit-relocs-cpp -62: ++ mkdir -p out/test/aarch64/emit-relocs-cpp 44: + grep -q 'undefined symbol: Pi$' out/test/aarch64/demangle/log +49: + readelf --dyn-syms out/test/aarch64/dso-undef/exe +49: + grep -q ' foo$' +57: + cc -B. -o out/test/aarch64/dynamic-list/exe1 out/test/aarch64/dynamic-list/a.o -Wl,-dynamic-list=out/test/aarch64/dynamic-list/dyn 44: + on_exit 44: + echo OK 44: OK 44: + exit 0 - 52/336 Test #44: aarch64-demangle ......................................... Passed 0.30 sec + 52/336 Test #44: aarch64-demangle ......................................... Passed 0.64 sec test 64 Start 64: aarch64-emit-relocs @@ -4934,9 +4955,14 @@ 64: MACHINE=aarch64 64: CPU= 64: Test timeout computed to be: 1500 -62: ++ set -x -62: + '[' aarch64 = arm ']' -62: + c++ -o out/test/aarch64/emit-relocs-cpp/a.o -c -fPIC -xc++ - +51: + readelf --dynamic out/test/aarch64/dt-needed/exe +51: + grep -Fq 'Shared library: [libfoo]' +51: + cc -B. -o out/test/aarch64/dt-needed/exe out/test/aarch64/dt-needed/b.o -L out/test/aarch64/dt-needed -lfoo +49: + on_exit +49: + echo OK +49: OK +49: + exit 0 +50: + cc -B. -o out/test/aarch64/dt-init/exe2 out/test/aarch64/dt-init/a.o out/test/aarch64/dt-init/d.so 63: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/emit-relocs-dead-sections.sh 63: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 63: ++ export LC_ALL=C @@ -4955,11 +4981,38 @@ 63: ++ case $MACHINE in 63: ++ tlsdesc_opt=-mtls-dialect=desc 63: +++ uname -54: + readelf --dynamic out/test/aarch64/dynamic-dt-debug/c.so -64: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/emit-relocs.sh 63: ++ '[' Linux = FreeBSD ']' 63: ++ trap 'on_error $LINENO' ERR 63: ++ trap on_exit EXIT +58: + c++ -B. -o out/test/aarch64/dynamic-list2/exe out/test/aarch64/dynamic-list2/a.o out/test/aarch64/dynamic-list2/b.o +62: +++ uname +62: ++ '[' Linux = FreeBSD ']' +62: ++ trap 'on_error $LINENO' ERR +62: ++ trap on_exit EXIT +62: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/emit-relocs-cpp.sh .sh +62: ++ testname=emit-relocs-cpp +62: ++ echo -n 'Testing emit-relocs-cpp ... ' +62: Testing emit-relocs-cpp ... ++ t=out/test/aarch64/emit-relocs-cpp +62: ++ mkdir -p out/test/aarch64/emit-relocs-cpp +59: + cc -B. -Wl,--dynamic-list=out/test/aarch64/dynamic-list3/dyn -o out/test/aarch64/dynamic-list3/exe1 out/test/aarch64/dynamic-list3/b.o +52: + grep -q 'duplicate symbol:.* foo' out/test/aarch64/duplicate-error-archive/log + 53/336 Test #49: aarch64-dso-undef ........................................ Passed 0.54 sec +test 65 + Start 65: aarch64-empty-arg + +65: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/empty-arg.sh" +65: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +65: Environment variables: +65: MACHINE=aarch64 +65: CPU= +65: Test timeout computed to be: 1500 +63: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/emit-relocs-dead-sections.sh .sh +63: ++ testname=emit-relocs-dead-sections +63: ++ echo -n 'Testing emit-relocs-dead-sections ... ' +63: Testing emit-relocs-dead-sections ... ++ t=out/test/aarch64/emit-relocs-dead-sections +63: ++ mkdir -p out/test/aarch64/emit-relocs-dead-sections +64: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/emit-relocs.sh +61: + readelf --dynamic out/test/aarch64/dynamic/exe 64: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 64: ++ export LC_ALL=C 64: ++ LC_ALL=C @@ -4976,58 +5029,28 @@ 64: ++ QEMU= 64: ++ case $MACHINE in 64: ++ tlsdesc_opt=-mtls-dialect=desc -62: + cat -60: + cat -54: + grep -Fq '(DEBUG)' out/test/aarch64/dynamic-dt-debug/log -63: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/emit-relocs-dead-sections.sh .sh -64: +++ uname -50: + out/test/aarch64/dt-init/exe1 -63: ++ testname=emit-relocs-dead-sections -63: ++ echo -n 'Testing emit-relocs-dead-sections ... ' -63: Testing emit-relocs-dead-sections ... ++ t=out/test/aarch64/emit-relocs-dead-sections -63: ++ mkdir -p out/test/aarch64/emit-relocs-dead-sections -59: + readelf --dyn-syms out/test/aarch64/dynamic-list3/exe1 -58: + readelf --dyn-syms out/test/aarch64/dynamic-list2/exe -50: + out/test/aarch64/dt-init/exe2 -60: + cc -B. -shared -o out/test/aarch64/dynamic-list4/b.so out/test/aarch64/dynamic-list4/a.o -Wl,--dynamic-list=out/test/aarch64/dynamic-list4/dyn -64: ++ '[' Linux = FreeBSD ']' -64: ++ trap 'on_error $LINENO' ERR -64: ++ trap on_exit EXIT -64: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/emit-relocs.sh .sh -50: + grep -q init out/test/aarch64/dt-init/log1 -59: + grep -q ' xyz' out/test/aarch64/dynamic-list3/log1 +52: + on_exit +52: + echo OK +52: OK +52: + exit 0 + 54/336 Test #52: aarch64-duplicate-error-archive .......................... Passed 0.47 sec +test 66 + Start 66: aarch64-empty-file + +66: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/empty-file.sh" +66: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +66: Environment variables: +66: MACHINE=aarch64 +66: CPU= +66: Test timeout computed to be: 1500 +61: + grep -Eq 'Shared library:.*\blibc\b' out/test/aarch64/dynamic/log +62: ++ set -x +62: + '[' aarch64 = arm ']' +62: + c++ -o out/test/aarch64/emit-relocs-cpp/a.o -c -fPIC -xc++ - 63: ++ set -x 63: + '[' aarch64 = m68k ']' 63: + '[' aarch64 = sh4 ']' -54: + on_exit -54: + echo OK -54: OK -54: + exit 0 - 53/336 Test #54: aarch64-dynamic-dt-debug ................................. Passed 0.19 sec -test 65 - Start 65: aarch64-empty-arg - -65: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/empty-arg.sh" -65: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -65: Environment variables: -65: MACHINE=aarch64 -65: CPU= -65: Test timeout computed to be: 1500 -50: + grep -q fini out/test/aarch64/dt-init/log1 -50: + grep -q init out/test/aarch64/dt-init/log2 -59: + grep -q ' foobarzx' out/test/aarch64/dynamic-list3/log1 -59: + grep -q ' foobarcx' out/test/aarch64/dynamic-list3/log1 -63: + c++ -o out/test/aarch64/emit-relocs-dead-sections/a.o -c -fPIC -xc++ -g -ffunction-sections - -63: + cat -64: ++ testname=emit-relocs -64: ++ echo -n 'Testing emit-relocs ... ' -64: Testing emit-relocs ... ++ t=out/test/aarch64/emit-relocs -64: ++ mkdir -p out/test/aarch64/emit-relocs -64: ++ set -x -64: + cc -o out/test/aarch64/emit-relocs/a.o -c -fPIC -xc - -57: + readelf --dyn-syms out/test/aarch64/dynamic-list/exe1 65: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/empty-arg.sh -64: + cat 65: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 65: ++ export LC_ALL=C 65: ++ LC_ALL=C @@ -5044,43 +5067,32 @@ 65: ++ QEMU= 65: ++ case $MACHINE in 65: ++ tlsdesc_opt=-mtls-dialect=desc -50: + grep -q fini out/test/aarch64/dt-init/log2 -57: + grep -q ' foo' out/test/aarch64/dynamic-list/log1 -58: + grep -q ' foo' out/test/aarch64/dynamic-list2/log +64: +++ uname 65: +++ uname +61: + readelf -W --dyn-syms --use-dynamic out/test/aarch64/dynamic/exe +63: + cat +64: ++ '[' Linux = FreeBSD ']' +64: ++ trap 'on_error $LINENO' ERR +64: ++ trap on_exit EXIT 65: ++ '[' Linux = FreeBSD ']' 65: ++ trap 'on_error $LINENO' ERR 65: ++ trap on_exit EXIT -50: + on_exit -50: + echo OK -50: OK -50: + exit 0 -57: + grep -q ' bar' out/test/aarch64/dynamic-list/log1 - 54/336 Test #50: aarch64-dt-init .......................................... Passed 0.28 sec -test 66 - Start 66: aarch64-empty-file - -66: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/empty-file.sh" -66: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -66: Environment variables: -66: MACHINE=aarch64 -66: CPU= -66: Test timeout computed to be: 1500 +62: + cat +63: + c++ -o out/test/aarch64/emit-relocs-dead-sections/a.o -c -fPIC -xc++ -g -ffunction-sections - +64: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/emit-relocs.sh .sh +64: ++ testname=emit-relocs +64: ++ echo -n 'Testing emit-relocs ... ' +64: Testing emit-relocs ... ++ t=out/test/aarch64/emit-relocs +64: ++ mkdir -p out/test/aarch64/emit-relocs +61: + grep -Eq 'FUNC\s+GLOBAL\s+DEFAULT.*UND\s+__libc_start' out/test/aarch64/dynamic/log2 +51: + grep -Fq 'Shared library: [libfoo]' 65: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/empty-arg.sh .sh 65: ++ testname=empty-arg +57: + readelf --dyn-syms out/test/aarch64/dynamic-list/exe1 +66: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/empty-file.sh 65: ++ echo -n 'Testing empty-arg ... ' 65: Testing empty-arg ... ++ t=out/test/aarch64/empty-arg 65: ++ mkdir -p out/test/aarch64/empty-arg -65: ++ set -x -65: + ./mold -m elf_x86_64 '' -57: + cc -B. -o out/test/aarch64/dynamic-list/exe2 out/test/aarch64/dynamic-list/a.o -Wl,--export-dynamic-symbol-list=out/test/aarch64/dynamic-list/dyn -61: + readelf --dynamic out/test/aarch64/dynamic/exe -61: + grep -Eq 'Shared library:.*\blibc\b' out/test/aarch64/dynamic/log -61: + readelf -W --dyn-syms --use-dynamic out/test/aarch64/dynamic/exe -58: + grep -q ' bar' out/test/aarch64/dynamic-list2/log -58: + cat -59: + grep -q ' foo123bar456bx' out/test/aarch64/dynamic-list3/log1 -66: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/empty-file.sh 66: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 66: ++ export LC_ALL=C 66: ++ LC_ALL=C @@ -5097,23 +5109,32 @@ 66: ++ QEMU= 66: ++ case $MACHINE in 66: ++ tlsdesc_opt=-mtls-dialect=desc -61: + grep -Eq 'FUNC\s+GLOBAL\s+DEFAULT.*UND\s+__libc_start' out/test/aarch64/dynamic/log2 -38: + grep -q '^OK$' +51: + readelf --dynamic out/test/aarch64/dt-needed/exe +51: + cc -B. -o out/test/aarch64/dt-needed/exe out/test/aarch64/dt-needed/b.o out/test/aarch64/dt-needed/libbar.so +60: + cat +57: + grep -q ' foo' out/test/aarch64/dynamic-list/log1 +64: ++ set -x +60: + cc -B. -shared -o out/test/aarch64/dynamic-list4/b.so out/test/aarch64/dynamic-list4/a.o -Wl,--dynamic-list=out/test/aarch64/dynamic-list4/dyn +64: + cat +64: + cc -o out/test/aarch64/emit-relocs/a.o -c -fPIC -xc - +57: + grep -q ' bar' out/test/aarch64/dynamic-list/log1 +65: ++ set -x +65: + ./mold -m elf_x86_64 '' 66: +++ uname -62: + c++ -B. -o out/test/aarch64/emit-relocs-cpp/exe out/test/aarch64/emit-relocs-cpp/a.o -Wl,-emit-relocs -61: + cat -59: + grep -q ' foo123bar456c' out/test/aarch64/dynamic-list3/log1 -58: + cc -B. -o out/test/aarch64/dynamic-list2/exe1 out/test/aarch64/dynamic-list2/a.o out/test/aarch64/dynamic-list2/b.o -Wl,-dynamic-list=out/test/aarch64/dynamic-list2/dyn -38: + out/test/aarch64/defsym-lto/exe +50: + out/test/aarch64/dt-init/exe1 +58: + readelf --dyn-syms out/test/aarch64/dynamic-list2/exe +57: + cc -B. -o out/test/aarch64/dynamic-list/exe2 out/test/aarch64/dynamic-list/a.o -Wl,--export-dynamic-symbol-list=out/test/aarch64/dynamic-list/dyn 66: ++ '[' Linux = FreeBSD ']' 66: ++ trap 'on_error $LINENO' ERR 66: ++ trap on_exit EXIT -38: + on_exit -38: + echo OK -38: OK -38: + exit 0 -66: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/empty-file.sh .sh - 55/336 Test #38: aarch64-defsym-lto ....................................... Passed 0.46 sec +65: + grep -q 'cannot open :' out/test/aarch64/empty-arg/log +65: + on_exit +65: + echo OK +65: OK +65: + exit 0 +50: + out/test/aarch64/dt-init/exe2 +61: + cat + 55/336 Test #65: aarch64-empty-arg ........................................ Passed 0.07 sec test 67 Start 67: aarch64-empty-input @@ -5123,18 +5144,19 @@ 67: MACHINE=aarch64 67: CPU= 67: Test timeout computed to be: 1500 +61: + cc -c -fPIC -o out/test/aarch64/dynamic/b.o -xc - +50: + grep -q init out/test/aarch64/dt-init/log1 +66: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/empty-file.sh .sh 66: ++ testname=empty-file 66: ++ echo -n 'Testing empty-file ... ' 66: Testing empty-file ... ++ t=out/test/aarch64/empty-file 66: ++ mkdir -p out/test/aarch64/empty-file +50: + grep -q fini out/test/aarch64/dt-init/log1 +50: + grep -q init out/test/aarch64/dt-init/log2 +58: + grep -q ' foo' out/test/aarch64/dynamic-list2/log 66: ++ set -x -66: + cat -51: + grep -Eq 'Shared library: \[.*dt-needed/libbar\.so\]' -51: + readelf --dynamic out/test/aarch64/dt-needed/exe -59: + grep -q ' foo123bar456x' out/test/aarch64/dynamic-list3/log1 67: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/empty-input.sh -66: + cc -o out/test/aarch64/empty-file/a.o -c -xc - -61: + cc -c -fPIC -o out/test/aarch64/dynamic/b.o -xc - +50: + grep -q fini out/test/aarch64/dt-init/log2 67: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 67: ++ export LC_ALL=C 67: ++ LC_ALL=C @@ -5151,40 +5173,49 @@ 67: ++ QEMU= 67: ++ case $MACHINE in 67: ++ tlsdesc_opt=-mtls-dialect=desc +58: + grep -q ' bar' out/test/aarch64/dynamic-list2/log +66: + cc -o out/test/aarch64/empty-file/a.o -c -xc - +62: + c++ -B. -o out/test/aarch64/emit-relocs-cpp/exe out/test/aarch64/emit-relocs-cpp/a.o -Wl,-emit-relocs +66: + cat +59: + readelf --dyn-syms out/test/aarch64/dynamic-list3/exe1 +58: + cat +50: + on_exit +50: + echo OK +50: OK +50: + exit 0 + 56/336 Test #50: aarch64-dt-init .......................................... Passed 0.63 sec +test 68 + Start 68: aarch64-empty-version + +68: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/empty-version.sh" +68: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +68: Environment variables: +68: MACHINE=aarch64 +68: CPU= +68: Test timeout computed to be: 1500 67: +++ uname 67: ++ '[' Linux = FreeBSD ']' 67: ++ trap 'on_error $LINENO' ERR 67: ++ trap on_exit EXIT -51: + cc -B. -o out/test/aarch64/dt-needed/exe out/test/aarch64/dt-needed/b.o -Lout/test/aarch64/dt-needed -lbar 67: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/empty-input.sh .sh +59: + grep -q ' xyz' out/test/aarch64/dynamic-list3/log1 +59: + grep -q ' foobarzx' out/test/aarch64/dynamic-list3/log1 67: ++ testname=empty-input 67: ++ echo -n 'Testing empty-input ... ' 67: Testing empty-input ... ++ t=out/test/aarch64/empty-input 67: ++ mkdir -p out/test/aarch64/empty-input -65: + grep -q 'cannot open :' out/test/aarch64/empty-arg/log +58: + cc -B. -o out/test/aarch64/dynamic-list2/exe1 out/test/aarch64/dynamic-list2/a.o out/test/aarch64/dynamic-list2/b.o -Wl,-dynamic-list=out/test/aarch64/dynamic-list2/dyn +59: + grep -q ' foobarcx' out/test/aarch64/dynamic-list3/log1 +64: + cc -B. -o out/test/aarch64/emit-relocs/exe out/test/aarch64/emit-relocs/a.o -Wl,-emit-relocs +59: + grep -q ' foo123bar456bx' out/test/aarch64/dynamic-list3/log1 +59: + grep -q ' foo123bar456c' out/test/aarch64/dynamic-list3/log1 +59: + grep -q ' foo123bar456x' out/test/aarch64/dynamic-list3/log1 +51: + grep -Eq 'Shared library: \[.*dt-needed/libbar\.so\]' +68: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/empty-version.sh 59: + cc -B. -Wl,--export-dynamic-symbol-list=out/test/aarch64/dynamic-list3/dyn -o out/test/aarch64/dynamic-list3/exe2 out/test/aarch64/dynamic-list3/b.o -65: + on_exit -65: + echo OK -65: OK -65: + exit 0 - 56/336 Test #65: aarch64-empty-arg ........................................ Passed 0.04 sec -test 68 - Start 68: aarch64-empty-version - -68: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/empty-version.sh" -68: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -68: Environment variables: -68: MACHINE=aarch64 -68: CPU= -68: Test timeout computed to be: 1500 -60: + cc -o out/test/aarch64/dynamic-list4/c.o -c -xc - -fPIC -60: + cat +51: + readelf --dynamic out/test/aarch64/dt-needed/exe 67: ++ set -x 67: + rm -f out/test/aarch64/empty-input/a.o -67: + touch out/test/aarch64/empty-input/a.o -64: + cc -B. -o out/test/aarch64/emit-relocs/exe out/test/aarch64/emit-relocs/a.o -Wl,-emit-relocs -67: + cc -B. -o out/test/aarch64/empty-input/exe out/test/aarch64/empty-input/a.o -68: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/empty-version.sh 68: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 68: ++ export LC_ALL=C 68: ++ LC_ALL=C @@ -5201,23 +5232,13 @@ 68: ++ QEMU= 68: ++ case $MACHINE in 68: ++ tlsdesc_opt=-mtls-dialect=desc -68: +++ uname -68: ++ '[' Linux = FreeBSD ']' -68: ++ trap 'on_error $LINENO' ERR -68: ++ trap on_exit EXIT -68: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/empty-version.sh .sh -57: + readelf --dyn-syms out/test/aarch64/dynamic-list/exe2 -62: + grep -q 'Hello world' -62: + out/test/aarch64/emit-relocs-cpp/exe -68: ++ testname=empty-version -68: ++ echo -n 'Testing empty-version ... ' -68: Testing empty-version ... ++ t=out/test/aarch64/empty-version -68: ++ mkdir -p out/test/aarch64/empty-version +67: + touch out/test/aarch64/empty-input/a.o +51: + cc -B. -o out/test/aarch64/dt-needed/exe out/test/aarch64/dt-needed/b.o -Lout/test/aarch64/dt-needed -lbar 61: + on_exit 61: + echo OK 61: OK 61: + exit 0 - 57/336 Test #61: aarch64-dynamic .......................................... Passed 0.13 sec + 57/336 Test #61: aarch64-dynamic .......................................... Passed 0.27 sec test 69 Start 69: aarch64-entry @@ -5227,21 +5248,12 @@ 69: MACHINE=aarch64 69: CPU= 69: Test timeout computed to be: 1500 -57: + grep -q ' foo' out/test/aarch64/dynamic-list/log2 -66: + rm -f out/test/aarch64/empty-file/b.script -66: + touch out/test/aarch64/empty-file/b.script -68: ++ set -x -62: + grep -Eq 'rela?\.text' -68: + cc -fPIC -c -o out/test/aarch64/empty-version/a.o -xc - -68: + cat -66: + cc -B. -o out/test/aarch64/empty-file/exe out/test/aarch64/empty-file/a.o -Wl,--version-script,out/test/aarch64/empty-file/b.script -62: + readelf -SW out/test/aarch64/emit-relocs-cpp/exe -57: + grep -q ' bar' out/test/aarch64/dynamic-list/log2 -58: + readelf --dyn-syms out/test/aarch64/dynamic-list2/exe1 +68: +++ uname +68: ++ '[' Linux = FreeBSD ']' +68: ++ trap 'on_error $LINENO' ERR +68: ++ trap on_exit EXIT +67: + cc -B. -o out/test/aarch64/empty-input/exe out/test/aarch64/empty-input/a.o 69: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/entry.sh -62: + grep -Eq 'rela?\.eh_frame' -58: + grep -q ' foo' out/test/aarch64/dynamic-list2/log1 -57: + cc -B. -o out/test/aarch64/dynamic-list/exe3 out/test/aarch64/dynamic-list/a.o -Wl,--export-dynamic-symbol=foo,--export-dynamic-symbol=bar 69: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 69: ++ export LC_ALL=C 69: ++ LC_ALL=C @@ -5258,17 +5270,48 @@ 69: ++ QEMU= 69: ++ case $MACHINE in 69: ++ tlsdesc_opt=-mtls-dialect=desc -58: + grep -q ' bar' out/test/aarch64/dynamic-list2/log1 +68: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/empty-version.sh .sh +60: + cc -o out/test/aarch64/dynamic-list4/c.o -c -xc - -fPIC +57: + readelf --dyn-syms out/test/aarch64/dynamic-list/exe2 +68: ++ testname=empty-version +68: ++ echo -n 'Testing empty-version ... ' +68: Testing empty-version ... ++ t=out/test/aarch64/empty-version +68: ++ mkdir -p out/test/aarch64/empty-version +60: + cat +69: +++ uname +57: + grep -q ' foo' out/test/aarch64/dynamic-list/log2 +69: ++ '[' Linux = FreeBSD ']' +69: ++ trap 'on_error $LINENO' ERR +69: ++ trap on_exit EXIT +68: ++ set -x +62: + grep -q 'Hello world' +57: + grep -q ' bar' out/test/aarch64/dynamic-list/log2 +62: + out/test/aarch64/emit-relocs-cpp/exe +69: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/entry.sh .sh +69: ++ testname=entry +69: ++ echo -n 'Testing entry ... ' +69: Testing entry ... ++ t=out/test/aarch64/entry +69: ++ mkdir -p out/test/aarch64/entry +68: + cc -fPIC -c -o out/test/aarch64/empty-version/a.o -xc - +66: + rm -f out/test/aarch64/empty-file/b.script +68: + cat +64: + out/test/aarch64/emit-relocs/exe +64: + grep -q 'Hello world' +62: + grep -Eq 'rela?\.text' +69: ++ set -x +69: + '[' aarch64 = ppc64 ']' 62: + readelf -SW out/test/aarch64/emit-relocs-cpp/exe -51: + grep -Fq 'Shared library: [libbar.so]' -58: + grep -q ' _Z3bazi' out/test/aarch64/dynamic-list2/log1 -60: + cc -B. -shared -o out/test/aarch64/dynamic-list4/d.so out/test/aarch64/dynamic-list4/c.o -62: + on_exit -62: + echo OK -62: OK -62: + exit 0 -51: + readelf --dynamic out/test/aarch64/dt-needed/exe - 58/336 Test #62: aarch64-emit-relocs-cpp .................................. Passed 0.12 sec +57: + cc -B. -o out/test/aarch64/dynamic-list/exe3 out/test/aarch64/dynamic-list/a.o -Wl,--export-dynamic-symbol=foo,--export-dynamic-symbol=bar +64: + grep -Eq 'rela?\.text' +69: + cat +69: + cc -o out/test/aarch64/entry/a.o -c -x assembler - +64: + readelf -S out/test/aarch64/emit-relocs/exe +66: + touch out/test/aarch64/empty-file/b.script +64: + on_exit +64: + echo OK +64: OK +64: + exit 0 + 58/336 Test #64: aarch64-emit-relocs ...................................... Passed 0.24 sec test 70 Start 70: aarch64-exception-multiple-ehframe @@ -5278,13 +5321,16 @@ 70: MACHINE=aarch64 70: CPU= 70: Test timeout computed to be: 1500 -58: + cc -B. -o out/test/aarch64/dynamic-list2/exe2 out/test/aarch64/dynamic-list2/a.o out/test/aarch64/dynamic-list2/b.o -Wl,--export-dynamic-symbol-list=out/test/aarch64/dynamic-list2/dyn -51: + on_exit -51: + echo OK -51: OK -51: + exit 0 -69: +++ uname - 59/336 Test #51: aarch64-dt-needed ........................................ Passed 0.34 sec +58: + readelf --dyn-syms out/test/aarch64/dynamic-list2/exe1 +58: + grep -q ' foo' out/test/aarch64/dynamic-list2/log1 +62: + readelf -SW out/test/aarch64/emit-relocs-cpp/exe +62: + grep -Eq 'rela?\.eh_frame' +62: + on_exit +62: + echo OK +62: OK +62: + exit 0 +66: + cc -B. -o out/test/aarch64/empty-file/exe out/test/aarch64/empty-file/a.o -Wl,--version-script,out/test/aarch64/empty-file/b.script + 59/336 Test #62: aarch64-emit-relocs-cpp .................................. Passed 0.29 sec test 71 Start 71: aarch64-exception @@ -5294,23 +5340,9 @@ 71: MACHINE=aarch64 71: CPU= 71: Test timeout computed to be: 1500 -69: ++ '[' Linux = FreeBSD ']' -69: ++ trap 'on_error $LINENO' ERR -69: ++ trap on_exit EXIT -69: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/entry.sh .sh -69: ++ testname=entry -69: ++ echo -n 'Testing entry ... ' -69: Testing entry ... ++ t=out/test/aarch64/entry -69: ++ mkdir -p out/test/aarch64/entry -64: + grep -q 'Hello world' -64: + out/test/aarch64/emit-relocs/exe -64: + readelf -S out/test/aarch64/emit-relocs/exe -64: + grep -Eq 'rela?\.text' -64: + on_exit -64: + echo OK -64: OK -64: + exit 0 +60: + cc -B. -shared -o out/test/aarch64/dynamic-list4/d.so out/test/aarch64/dynamic-list4/c.o 70: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/exception-multiple-ehframe.sh +69: + cc -o out/test/aarch64/entry/b.o -c -xc - 70: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 70: ++ export LC_ALL=C 70: ++ LC_ALL=C @@ -5327,28 +5359,10 @@ 70: ++ QEMU= 70: ++ case $MACHINE in 70: ++ tlsdesc_opt=-mtls-dialect=desc -70: +++ uname - 60/336 Test #64: aarch64-emit-relocs ...................................... Passed 0.11 sec -test 72 - Start 72: aarch64-exclude-libs - -72: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/exclude-libs.sh" -72: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -72: Environment variables: -72: MACHINE=aarch64 -72: CPU= -72: Test timeout computed to be: 1500 -69: ++ set -x -69: + '[' aarch64 = ppc64 ']' +58: + grep -q ' bar' out/test/aarch64/dynamic-list2/log1 +68: + cc -B. -shared -o out/test/aarch64/empty-version/b.so out/test/aarch64/empty-version/a.o 69: + cat -70: ++ '[' Linux = FreeBSD ']' -70: ++ trap 'on_error $LINENO' ERR -70: ++ trap on_exit EXIT -70: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/exception-multiple-ehframe.sh .sh -70: ++ testname=exception-multiple-ehframe -70: ++ echo -n 'Testing exception-multiple-ehframe ... ' -70: Testing exception-multiple-ehframe ... ++ t=out/test/aarch64/exception-multiple-ehframe -70: ++ mkdir -p out/test/aarch64/exception-multiple-ehframe +58: + grep -q ' _Z3bazi' out/test/aarch64/dynamic-list2/log1 71: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/exception.sh 71: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 71: ++ export LC_ALL=C @@ -5366,30 +5380,49 @@ 71: ++ QEMU= 71: ++ case $MACHINE in 71: ++ tlsdesc_opt=-mtls-dialect=desc +70: +++ uname +70: ++ '[' Linux = FreeBSD ']' +70: ++ trap 'on_error $LINENO' ERR +70: ++ trap on_exit EXIT +58: + cc -B. -o out/test/aarch64/dynamic-list2/exe2 out/test/aarch64/dynamic-list2/a.o out/test/aarch64/dynamic-list2/b.o -Wl,--export-dynamic-symbol-list=out/test/aarch64/dynamic-list2/dyn +67: + grep -q 'unknown file type' out/test/aarch64/empty-input/log +59: + readelf --dyn-syms out/test/aarch64/dynamic-list3/exe2 71: +++ uname 71: ++ '[' Linux = FreeBSD ']' 71: ++ trap 'on_error $LINENO' ERR 71: ++ trap on_exit EXIT +70: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/exception-multiple-ehframe.sh .sh +51: + grep -Fq 'Shared library: [libbar.so]' +67: + on_exit +67: + echo OK +67: OK +67: + exit 0 +51: + readelf --dynamic out/test/aarch64/dt-needed/exe + 60/336 Test #67: aarch64-empty-input ...................................... Passed 0.22 sec +test 72 + Start 72: aarch64-exclude-libs + +72: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/exclude-libs.sh" +72: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +72: Environment variables: +72: MACHINE=aarch64 +72: CPU= +72: Test timeout computed to be: 1500 +70: ++ testname=exception-multiple-ehframe +70: ++ echo -n 'Testing exception-multiple-ehframe ... ' +70: Testing exception-multiple-ehframe ... ++ t=out/test/aarch64/exception-multiple-ehframe +70: ++ mkdir -p out/test/aarch64/exception-multiple-ehframe +51: + on_exit +51: + echo OK +51: OK +51: + exit 0 +59: + grep -q ' xyz' out/test/aarch64/dynamic-list3/log2 71: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/exception.sh .sh 71: ++ testname=exception 71: ++ echo -n 'Testing exception ... ' 71: Testing exception ... ++ t=out/test/aarch64/exception 71: ++ mkdir -p out/test/aarch64/exception -71: ++ set -x -71: + static= -71: + test_cxxflags -static -71: + c++ -B. -static -o /dev/null -xc++ - -59: + readelf --dyn-syms out/test/aarch64/dynamic-list3/exe2 -59: + grep -q ' xyz' out/test/aarch64/dynamic-list3/log2 -59: + grep -q ' foobarzx' out/test/aarch64/dynamic-list3/log2 -59: + grep -q ' foobarcx' out/test/aarch64/dynamic-list3/log2 -68: + cc -B. -shared -o out/test/aarch64/empty-version/b.so out/test/aarch64/empty-version/a.o -67: + grep -q 'unknown file type' out/test/aarch64/empty-input/log -67: + on_exit -67: + echo OK -67: OK -67: + exit 0 - 61/336 Test #67: aarch64-empty-input ...................................... Passed 0.08 sec + 61/336 Test #51: aarch64-dt-needed ........................................ Passed 0.82 sec test 73 Start 73: aarch64-exclude-libs2 @@ -5399,19 +5432,11 @@ 73: MACHINE=aarch64 73: CPU= 73: Test timeout computed to be: 1500 -69: + cc -o out/test/aarch64/entry/a.o -c -x assembler - 70: ++ set -x -70: + grep -q __tsan_init -71: + echo 'int main() {}' -59: + grep -q ' foo123bar456bx' out/test/aarch64/dynamic-list3/log2 -59: + grep -q ' foo123bar456c' out/test/aarch64/dynamic-list3/log2 -59: + grep -q ' foo123bar456x' out/test/aarch64/dynamic-list3/log2 -66: + grep -q 'Hello world' -66: + out/test/aarch64/empty-file/exe -66: + on_exit -66: + echo OK -66: OK -66: + exit 0 +70: + nm mold +59: + grep -q ' foobarzx' out/test/aarch64/dynamic-list3/log2 +59: + grep -q ' foobarcx' out/test/aarch64/dynamic-list3/log2 +69: + cc -B. -o out/test/aarch64/entry/exe1 -Wl,-e,foo out/test/aarch64/entry/a.o out/test/aarch64/entry/b.o 72: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/exclude-libs.sh 72: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 72: ++ export LC_ALL=C @@ -5429,21 +5454,11 @@ 72: ++ QEMU= 72: ++ case $MACHINE in 72: ++ tlsdesc_opt=-mtls-dialect=desc -70: + nm mold - 62/336 Test #66: aarch64-empty-file ....................................... Passed 0.10 sec -test 74 - Start 74: aarch64-exclude-libs3 - -74: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/exclude-libs3.sh" -74: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -74: Environment variables: -74: MACHINE=aarch64 -74: CPU= -74: Test timeout computed to be: 1500 -60: + cc -o out/test/aarch64/dynamic-list4/e.o -c -xc - -60: + cat -69: + cc -o out/test/aarch64/entry/b.o -c -xc - -69: + cat +57: + readelf --dyn-syms out/test/aarch64/dynamic-list/exe3 +71: ++ set -x +71: + static= +71: + test_cxxflags -static +66: + grep -q 'Hello world' 72: +++ uname 72: ++ '[' Linux = FreeBSD ']' 72: ++ trap 'on_error $LINENO' ERR @@ -5465,29 +5480,37 @@ 73: ++ QEMU= 73: ++ case $MACHINE in 73: ++ tlsdesc_opt=-mtls-dialect=desc -59: + on_exit -59: + echo OK -59: OK -59: + exit 0 -58: + readelf --dyn-syms out/test/aarch64/dynamic-list2/exe2 -58: + grep -q ' foo' out/test/aarch64/dynamic-list2/log2 - 63/336 Test #59: aarch64-dynamic-list3 .................................... Passed 0.22 sec -test 75 - Start 75: aarch64-execstack +70: + grep -q __tsan_init +66: + out/test/aarch64/empty-file/exe +66: + on_exit +66: + echo OK +66: OK +66: + exit 0 + 62/336 Test #66: aarch64-empty-file ....................................... Passed 0.32 sec +test 74 + Start 74: aarch64-exclude-libs3 -75: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/execstack.sh" -75: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -75: Environment variables: -75: MACHINE=aarch64 -75: CPU= -75: Test timeout computed to be: 1500 +74: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/exclude-libs3.sh" +74: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +74: Environment variables: +74: MACHINE=aarch64 +74: CPU= +74: Test timeout computed to be: 1500 72: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/exclude-libs.sh .sh 72: ++ testname=exclude-libs 72: ++ echo -n 'Testing exclude-libs ... ' 72: Testing exclude-libs ... ++ t=out/test/aarch64/exclude-libs 72: ++ mkdir -p out/test/aarch64/exclude-libs 72: ++ set -x -58: + grep -q ' bar' out/test/aarch64/dynamic-list2/log2 +57: + grep -q ' foo' out/test/aarch64/dynamic-list/log3 +57: + grep -q ' bar' out/test/aarch64/dynamic-list/log3 +71: + echo 'int main() {}' +71: + c++ -B. -static -o /dev/null -xc++ - +59: + grep -q ' foo123bar456bx' out/test/aarch64/dynamic-list3/log2 +73: +++ uname +73: ++ '[' Linux = FreeBSD ']' +73: ++ trap 'on_error $LINENO' ERR +73: ++ trap on_exit EXIT 74: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/exclude-libs3.sh 74: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 74: ++ export LC_ALL=C @@ -5506,18 +5529,60 @@ 74: ++ case $MACHINE in 74: ++ tlsdesc_opt=-mtls-dialect=desc 74: +++ uname +73: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/exclude-libs2.sh .sh +73: ++ testname=exclude-libs2 +73: ++ echo -n 'Testing exclude-libs2 ... ' +73: Testing exclude-libs2 ... ++ t=out/test/aarch64/exclude-libs2 +73: ++ mkdir -p out/test/aarch64/exclude-libs2 +59: + grep -q ' foo123bar456c' out/test/aarch64/dynamic-list3/log2 +72: + cc -fPIC -xc -c -o out/test/aarch64/exclude-libs/a.o - 74: ++ '[' Linux = FreeBSD ']' 74: ++ trap 'on_error $LINENO' ERR 74: ++ trap on_exit EXIT +72: + cat 74: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/exclude-libs3.sh .sh +57: + on_exit +57: + echo OK +57: OK +57: + exit 0 + 63/336 Test #57: aarch64-dynamic-list ..................................... Passed 0.67 sec +test 75 + Start 75: aarch64-execstack + +75: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/execstack.sh" +75: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +75: Environment variables: +75: MACHINE=aarch64 +75: CPU= +75: Test timeout computed to be: 1500 74: ++ testname=exclude-libs3 74: ++ echo -n 'Testing exclude-libs3 ... ' 74: Testing exclude-libs3 ... ++ t=out/test/aarch64/exclude-libs3 -57: + readelf --dyn-syms out/test/aarch64/dynamic-list/exe3 -72: + cc -fPIC -xc -c -o out/test/aarch64/exclude-libs/a.o - 74: ++ mkdir -p out/test/aarch64/exclude-libs3 -75: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/execstack.sh +73: ++ set -x +73: + cat +59: + grep -q ' foo123bar456x' out/test/aarch64/dynamic-list3/log2 74: ++ set -x +74: + cat +59: + on_exit +59: + echo OK +59: OK +59: + exit 0 + 64/336 Test #59: aarch64-dynamic-list3 .................................... Passed 0.56 sec +test 76 + Start 76: aarch64-execute-only + +76: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/execute-only.sh" +76: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +76: Environment variables: +76: MACHINE=aarch64 +76: CPU= +76: Test timeout computed to be: 1500 +68: + grep -q ' bar1' +68: + readelf --dyn-syms out/test/aarch64/empty-version/b.so +73: + cc -x assembler -c -o out/test/aarch64/exclude-libs2/a.o - +60: + cat +75: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/execstack.sh 75: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 75: ++ export LC_ALL=C 75: ++ LC_ALL=C @@ -5534,57 +5599,62 @@ 75: ++ QEMU= 75: ++ case $MACHINE in 75: ++ tlsdesc_opt=-mtls-dialect=desc +60: + cc -o out/test/aarch64/dynamic-list4/e.o -c -xc - 74: + cc -fPIC -xc -c -o out/test/aarch64/exclude-libs3/a.o - -74: + cat -58: + grep -q ' _Z3bazi' out/test/aarch64/dynamic-list2/log2 +76: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/execute-only.sh +76: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc +76: ++ export LC_ALL=C +76: ++ LC_ALL=C +76: ++ '[' -z aarch64 ']' +76: ++ '[' -z '' ']' +76: ++ TESTDIR=out/test/aarch64 +76: ++ CC=cc +76: ++ CXX=c++ +76: ++ GCC=gcc +76: ++ GXX=g++ +76: ++ OBJDUMP=objdump +76: ++ OBJCOPY=objcopy +76: ++ STRIP=strip +76: ++ QEMU= +76: ++ case $MACHINE in +76: ++ tlsdesc_opt=-mtls-dialect=desc 75: +++ uname -72: + cat -73: +++ uname -73: ++ '[' Linux = FreeBSD ']' -73: ++ trap 'on_error $LINENO' ERR -73: ++ trap on_exit EXIT -73: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/exclude-libs2.sh .sh -58: + on_exit -58: + echo OK -58: OK -58: + exit 0 - 64/336 Test #58: aarch64-dynamic-list2 .................................... Passed 0.25 sec -test 76 - Start 76: aarch64-execute-only - -76: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/execute-only.sh" -76: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -76: Environment variables: -76: MACHINE=aarch64 -76: CPU= -76: Test timeout computed to be: 1500 +73: + rm -f out/test/aarch64/exclude-libs2/b.a 75: ++ '[' Linux = FreeBSD ']' 75: ++ trap 'on_error $LINENO' ERR 75: ++ trap on_exit EXIT +76: +++ uname 75: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/execstack.sh .sh -73: ++ testname=exclude-libs2 -73: ++ echo -n 'Testing exclude-libs2 ... ' -73: Testing exclude-libs2 ... ++ t=out/test/aarch64/exclude-libs2 -73: ++ mkdir -p out/test/aarch64/exclude-libs2 -73: ++ set -x -73: + cc -x assembler -c -o out/test/aarch64/exclude-libs2/a.o - -73: + cat -57: + grep -q ' foo' out/test/aarch64/dynamic-list/log3 -57: + grep -q ' bar' out/test/aarch64/dynamic-list/log3 -57: + on_exit -57: + echo OK -57: OK -57: + exit 0 -69: + cc -B. -o out/test/aarch64/entry/exe1 -Wl,-e,foo out/test/aarch64/entry/a.o out/test/aarch64/entry/b.o -68: + readelf --dyn-syms out/test/aarch64/empty-version/b.so -68: + grep -q ' bar1' +75: ++ testname=execstack +75: ++ echo -n 'Testing execstack ... ' +75: Testing execstack ... ++ t=out/test/aarch64/execstack +75: ++ mkdir -p out/test/aarch64/execstack 68: + grep -q ' bar2' +76: ++ '[' Linux = FreeBSD ']' +76: ++ trap 'on_error $LINENO' ERR +76: ++ trap on_exit EXIT +73: + ar crs out/test/aarch64/exclude-libs2/b.a out/test/aarch64/exclude-libs2/a.o +76: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/execute-only.sh .sh +75: ++ set -x +76: ++ testname=execute-only +76: ++ echo -n 'Testing execute-only ... ' +76: Testing execute-only ... ++ t=out/test/aarch64/execute-only +76: ++ mkdir -p out/test/aarch64/execute-only 68: + readelf --dyn-syms out/test/aarch64/empty-version/b.so +72: + cat +72: + cc -fPIC -xc -c -o out/test/aarch64/exclude-libs/b.o - +75: + cc -c -xc -o out/test/aarch64/execstack/a.o - +73: + cc -xc -c -o out/test/aarch64/exclude-libs2/c.o - 68: + on_exit 68: + echo OK 68: OK 68: + exit 0 - 65/336 Test #57: aarch64-dynamic-list ..................................... Passed 0.28 sec +75: + cat +76: ++ set -x +76: + '[' aarch64 = sparc64 ']' +76: + '[' aarch64 = ppc64 ']' +76: + '[' aarch64 = ppc64le ']' + 65/336 Test #68: aarch64-empty-version .................................... Passed 0.32 sec test 77 Start 77: aarch64-export-dynamic @@ -5594,24 +5664,11 @@ 77: MACHINE=aarch64 77: CPU= 77: Test timeout computed to be: 1500 -75: ++ testname=execstack -75: ++ echo -n 'Testing execstack ... ' -75: Testing execstack ... ++ t=out/test/aarch64/execstack -75: ++ mkdir -p out/test/aarch64/execstack -75: ++ set -x -75: + cat - 66/336 Test #68: aarch64-empty-version .................................... Passed 0.11 sec -60: + cc -B. -o out/test/aarch64/dynamic-list4/exe1 out/test/aarch64/dynamic-list4/e.o -Wl,-push-state,-no-as-needed out/test/aarch64/dynamic-list4/b.so -Wl,-pop-state -test 78 - Start 78: aarch64-export-from-exe - -78: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/export-from-exe.sh" -78: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -78: Environment variables: -78: MACHINE=aarch64 -78: CPU= -78: Test timeout computed to be: 1500 -73: + rm -f out/test/aarch64/exclude-libs2/b.a +73: + cat +58: + readelf --dyn-syms out/test/aarch64/dynamic-list2/exe2 +58: + grep -q ' foo' out/test/aarch64/dynamic-list2/log2 +76: + cc -o out/test/aarch64/execute-only/a.o -c -xc - +76: + cat 77: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/export-dynamic.sh 77: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 77: ++ export LC_ALL=C @@ -5630,52 +5687,51 @@ 77: ++ case $MACHINE in 77: ++ tlsdesc_opt=-mtls-dialect=desc 77: +++ uname +74: + rm -f out/test/aarch64/exclude-libs3/b.a 77: ++ '[' Linux = FreeBSD ']' 77: ++ trap 'on_error $LINENO' ERR 77: ++ trap on_exit EXIT +60: + cc -B. -o out/test/aarch64/dynamic-list4/exe1 out/test/aarch64/dynamic-list4/e.o -Wl,-push-state,-no-as-needed out/test/aarch64/dynamic-list4/b.so -Wl,-pop-state +69: + readelf -e out/test/aarch64/entry/exe1 +74: + ar crs out/test/aarch64/exclude-libs3/b.a out/test/aarch64/exclude-libs3/a.o 77: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/export-dynamic.sh .sh 77: ++ testname=export-dynamic 77: ++ echo -n 'Testing export-dynamic ... ' 77: Testing export-dynamic ... ++ t=out/test/aarch64/export-dynamic 77: ++ mkdir -p out/test/aarch64/export-dynamic -74: + rm -f out/test/aarch64/exclude-libs3/b.a -76: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/execute-only.sh -76: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc -76: ++ export LC_ALL=C -76: ++ LC_ALL=C -76: ++ '[' -z aarch64 ']' -76: ++ '[' -z '' ']' -76: ++ TESTDIR=out/test/aarch64 -76: ++ CC=cc -76: ++ CXX=c++ -76: ++ GCC=gcc -76: ++ GXX=g++ -76: ++ OBJDUMP=objdump -76: ++ OBJCOPY=objcopy -76: ++ STRIP=strip -76: ++ QEMU= -76: ++ case $MACHINE in -76: ++ tlsdesc_opt=-mtls-dialect=desc -76: +++ uname -76: ++ '[' Linux = FreeBSD ']' -76: ++ trap 'on_error $LINENO' ERR -76: ++ trap on_exit EXIT -76: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/execute-only.sh .sh -76: ++ testname=execute-only -76: ++ echo -n 'Testing execute-only ... ' -76: Testing execute-only ... ++ t=out/test/aarch64/execute-only -76: ++ mkdir -p out/test/aarch64/execute-only -73: + ar crs out/test/aarch64/exclude-libs2/b.a out/test/aarch64/exclude-libs2/a.o +69: + grep -q 'Entry point address:.*0x1000$' out/test/aarch64/entry/log +74: + cat +74: + cc -fPIC -xc -c -o out/test/aarch64/exclude-libs3/c.o - +73: + cc -B. -shared -o out/test/aarch64/exclude-libs2/d.so out/test/aarch64/exclude-libs2/c.o out/test/aarch64/exclude-libs2/b.a -Wl,-exclude-libs=b.a +58: + grep -q ' bar' out/test/aarch64/dynamic-list2/log2 +75: + cc -B. -o out/test/aarch64/execstack/exe out/test/aarch64/execstack/a.o -Wl,-z,execstack +72: + rm -f out/test/aarch64/exclude-libs/c.a +77: ++ set -x +69: + cc -B. -o out/test/aarch64/entry/exe2 -Wl,-e,bar out/test/aarch64/entry/a.o out/test/aarch64/entry/b.o +58: + grep -q ' _Z3bazi' out/test/aarch64/dynamic-list2/log2 +72: + ar crs out/test/aarch64/exclude-libs/c.a out/test/aarch64/exclude-libs/a.o +58: + on_exit +58: + echo OK +58: OK +58: + exit 0 + 66/336 Test #58: aarch64-dynamic-list2 .................................... Passed 0.77 sec +test 78 + Start 78: aarch64-export-from-exe + +78: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/export-from-exe.sh" +78: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +78: Environment variables: +78: MACHINE=aarch64 +78: CPU= +78: Test timeout computed to be: 1500 +77: + cat +77: + cc -o out/test/aarch64/export-dynamic/a.o -c -x assembler - +74: + cc -B. -shared -o out/test/aarch64/exclude-libs3/d.so out/test/aarch64/exclude-libs3/c.o out/test/aarch64/exclude-libs3/b.a -Wl,-exclude-libs=ALL +76: + cc -B. -o out/test/aarch64/execute-only/exe out/test/aarch64/execute-only/a.o -Wl,--execute-only 78: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/export-from-exe.sh -72: + cc -fPIC -xc -c -o out/test/aarch64/exclude-libs/b.o - -76: ++ set -x -76: + '[' aarch64 = sparc64 ']' -76: + '[' aarch64 = ppc64 ']' -76: + '[' aarch64 = ppc64le ']' 78: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 78: ++ export LC_ALL=C 78: ++ LC_ALL=C -77: ++ set -x 78: ++ '[' -z aarch64 ']' 78: ++ '[' -z '' ']' 78: ++ TESTDIR=out/test/aarch64 @@ -5689,61 +5745,48 @@ 78: ++ QEMU= 78: ++ case $MACHINE in 78: ++ tlsdesc_opt=-mtls-dialect=desc -72: + cat -76: + cc -o out/test/aarch64/execute-only/a.o -c -xc - -76: + cat -77: + cat -75: + cc -c -xc -o out/test/aarch64/execstack/a.o - -77: + cc -o out/test/aarch64/export-dynamic/a.o -c -x assembler - -74: + ar crs out/test/aarch64/exclude-libs3/b.a out/test/aarch64/exclude-libs3/a.o 78: +++ uname 78: ++ '[' Linux = FreeBSD ']' 78: ++ trap 'on_error $LINENO' ERR 78: ++ trap on_exit EXIT -73: + cc -xc -c -o out/test/aarch64/exclude-libs2/c.o - -74: + cat -74: + cc -fPIC -xc -c -o out/test/aarch64/exclude-libs3/c.o - -77: + cc -shared -fPIC -o out/test/aarch64/export-dynamic/b.so -xc /dev/null -73: + cat -69: + readelf -e out/test/aarch64/entry/exe1 78: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/export-from-exe.sh .sh +72: + rm -f out/test/aarch64/exclude-libs/d.a 78: ++ testname=export-from-exe 78: ++ echo -n 'Testing export-from-exe ... ' 78: Testing export-from-exe ... ++ t=out/test/aarch64/export-from-exe 78: ++ mkdir -p out/test/aarch64/export-from-exe -69: + grep -q 'Entry point address:.*0x1000$' out/test/aarch64/entry/log -72: + rm -f out/test/aarch64/exclude-libs/c.a -78: ++ set -x -78: + cat -78: + cc -o out/test/aarch64/export-from-exe/a.o -c -xc - -74: + cc -B. -shared -o out/test/aarch64/exclude-libs3/d.so out/test/aarch64/exclude-libs3/c.o out/test/aarch64/exclude-libs3/b.a -Wl,-exclude-libs=ALL -69: + cc -B. -o out/test/aarch64/entry/exe2 -Wl,-e,bar out/test/aarch64/entry/a.o out/test/aarch64/entry/b.o -73: + cc -B. -shared -o out/test/aarch64/exclude-libs2/d.so out/test/aarch64/exclude-libs2/c.o out/test/aarch64/exclude-libs2/b.a -Wl,-exclude-libs=b.a -72: + ar crs out/test/aarch64/exclude-libs/c.a out/test/aarch64/exclude-libs/a.o -76: + cc -B. -o out/test/aarch64/execute-only/exe out/test/aarch64/execute-only/a.o -Wl,--execute-only -60: + out/test/aarch64/dynamic-list4/exe1 -77: + ./mold -o out/test/aarch64/export-dynamic/exe out/test/aarch64/export-dynamic/a.o out/test/aarch64/export-dynamic/b.so --export-dynamic -72: + rm -f out/test/aarch64/exclude-libs/d.a -60: + grep -q 'foo1 bar1 baz1' -60: + cc -B. -o out/test/aarch64/dynamic-list4/exe2 out/test/aarch64/dynamic-list4/e.o -Wl,-push-state,-no-as-needed out/test/aarch64/dynamic-list4/d.so out/test/aarch64/dynamic-list4/b.so -Wl,-pop-state -72: + ar crs out/test/aarch64/exclude-libs/d.a out/test/aarch64/exclude-libs/b.o -77: + readelf --dyn-syms out/test/aarch64/export-dynamic/exe +77: + cc -shared -fPIC -o out/test/aarch64/export-dynamic/b.so -xc /dev/null 71: + static=-static 71: + static='-static -pthread' 71: + cat -77: + grep -Eq 'NOTYPE\s+GLOBAL DEFAULT\s+[0-9]+ bar' out/test/aarch64/export-dynamic/log -78: + cat +72: + ar crs out/test/aarch64/exclude-libs/d.a out/test/aarch64/exclude-libs/b.o +78: ++ set -x +72: + cat 72: + cc -fPIC -xc -c -o out/test/aarch64/exclude-libs/e.o - +78: + cc -o out/test/aarch64/export-from-exe/a.o -c -xc - +75: + readelf --segments -W out/test/aarch64/execstack/exe +78: + cat 71: + c++ -c -o out/test/aarch64/exception/b.o out/test/aarch64/exception/a.cc -fPIC -72: + cat -77: + grep -Eq 'NOTYPE\s+GLOBAL DEFAULT\s+[0-9]+ _start' out/test/aarch64/export-dynamic/log -75: + cc -B. -o out/test/aarch64/execstack/exe out/test/aarch64/execstack/a.o -Wl,-z,execstack -78: + cc -shared -fPIC -o out/test/aarch64/export-from-exe/b.so -xc - -77: + on_exit -77: + echo OK -77: OK -77: + exit 0 - 67/336 Test #77: aarch64-export-dynamic ................................... Passed 0.07 sec +75: + grep -q 'GNU_STACK.* RWE ' +75: + cc -B. -o out/test/aarch64/execstack/exe out/test/aarch64/execstack/a.o -Wl,-z,execstack -Wl,-z,noexecstack +70: + command -v perl +70: + '[' aarch64 = sh4 ']' +70: + c++ -o out/test/aarch64/exception-multiple-ehframe/a.o -c -xc++ - +70: + cat +74: + readelf --dyn-syms out/test/aarch64/exclude-libs3/d.so +73: + readelf --dyn-syms out/test/aarch64/exclude-libs2/d.so +69: + readelf -e out/test/aarch64/entry/exe2 +73: + grep -Fq foo out/test/aarch64/exclude-libs2/log +72: + cc -B. -shared -o out/test/aarch64/exclude-libs/f.so out/test/aarch64/exclude-libs/e.o out/test/aarch64/exclude-libs/c.a out/test/aarch64/exclude-libs/d.a +60: + grep -q 'foo1 bar1 baz1' +74: + grep -Fq foo out/test/aarch64/exclude-libs3/log +60: + out/test/aarch64/dynamic-list4/exe1 +73: + on_exit +73: + echo OK +73: OK +73: + exit 0 +77: + ./mold -o out/test/aarch64/export-dynamic/exe out/test/aarch64/export-dynamic/a.o out/test/aarch64/export-dynamic/b.so --export-dynamic + 67/336 Test #73: aarch64-exclude-libs2 .................................... Passed 0.32 sec test 79 Start 79: aarch64-fatal-warnings @@ -5753,7 +5796,27 @@ 79: MACHINE=aarch64 79: CPU= 79: Test timeout computed to be: 1500 -69: + readelf -e out/test/aarch64/entry/exe2 +76: + grep -q 'Hello world' +76: + out/test/aarch64/execute-only/exe +74: + on_exit +74: + echo OK +74: OK +74: + exit 0 +78: + cat + 68/336 Test #74: aarch64-exclude-libs3 .................................... Passed 0.30 sec +test 80 + Start 80: aarch64-filler + +80: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/filler.sh" +80: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +80: Environment variables: +80: MACHINE=aarch64 +80: CPU= +80: Test timeout computed to be: 1500 +76: + grep -Eq 'LOAD\s.*[0-9a-f] E 0x' +78: + cc -shared -fPIC -o out/test/aarch64/export-from-exe/b.so -xc - +60: + cc -B. -o out/test/aarch64/dynamic-list4/exe2 out/test/aarch64/dynamic-list4/e.o -Wl,-push-state,-no-as-needed out/test/aarch64/dynamic-list4/d.so out/test/aarch64/dynamic-list4/b.so -Wl,-pop-state +69: + grep -q 'Entry point address:.*0x2000$' out/test/aarch64/entry/log 79: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/fatal-warnings.sh 79: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 79: ++ export LC_ALL=C @@ -5771,38 +5834,12 @@ 79: ++ QEMU= 79: ++ case $MACHINE in 79: ++ tlsdesc_opt=-mtls-dialect=desc -69: + grep -q 'Entry point address:.*0x2000$' out/test/aarch64/entry/log -79: +++ uname -79: ++ '[' Linux = FreeBSD ']' -79: ++ trap 'on_error $LINENO' ERR -79: ++ trap on_exit EXIT 69: + on_exit 69: + echo OK 69: OK 69: + exit 0 - 68/336 Test #69: aarch64-entry ............................................ Passed 0.16 sec -test 80 - Start 80: aarch64-filler - -80: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/filler.sh" -80: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -80: Environment variables: -80: MACHINE=aarch64 -80: CPU= -80: Test timeout computed to be: 1500 -74: + readelf --dyn-syms out/test/aarch64/exclude-libs3/d.so -79: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/fatal-warnings.sh .sh -79: ++ testname=fatal-warnings -79: ++ echo -n 'Testing fatal-warnings ... ' -79: Testing fatal-warnings ... ++ t=out/test/aarch64/fatal-warnings -79: ++ mkdir -p out/test/aarch64/fatal-warnings -74: + grep -Fq foo out/test/aarch64/exclude-libs3/log -72: + cc -B. -shared -o out/test/aarch64/exclude-libs/f.so out/test/aarch64/exclude-libs/e.o out/test/aarch64/exclude-libs/c.a out/test/aarch64/exclude-libs/d.a -74: + on_exit -74: + echo OK -74: OK -74: + exit 0 - 69/336 Test #74: aarch64-exclude-libs3 .................................... Passed 0.12 sec +76: + readelf -W --segments out/test/aarch64/execute-only/exe + 69/336 Test #69: aarch64-entry ............................................ Passed 0.51 sec test 81 Start 81: aarch64-filter @@ -5812,34 +5849,20 @@ 81: MACHINE=aarch64 81: CPU= 81: Test timeout computed to be: 1500 -79: ++ set -x -81: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/filter.sh -71: + c++ -c -o out/test/aarch64/exception/c.o out/test/aarch64/exception/a.cc -fno-PIC -79: + cc -fcommon -xc -c -o out/test/aarch64/fatal-warnings/a.o - -81: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc -81: ++ export LC_ALL=C -81: ++ LC_ALL=C -81: ++ '[' -z aarch64 ']' -81: ++ '[' -z '' ']' -81: ++ TESTDIR=out/test/aarch64 -81: ++ CC=cc -81: ++ CXX=c++ -81: ++ GCC=gcc -81: ++ GXX=g++ -81: ++ OBJDUMP=objdump -81: ++ OBJCOPY=objcopy -81: ++ STRIP=strip -81: ++ QEMU= -81: ++ case $MACHINE in -81: ++ tlsdesc_opt=-mtls-dialect=desc -81: +++ uname +79: +++ uname +79: ++ '[' Linux = FreeBSD ']' +79: ++ trap 'on_error $LINENO' ERR +79: ++ trap on_exit EXIT +79: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/fatal-warnings.sh .sh +79: ++ testname=fatal-warnings +79: ++ echo -n 'Testing fatal-warnings ... ' +79: Testing fatal-warnings ... ++ t=out/test/aarch64/fatal-warnings +79: ++ mkdir -p out/test/aarch64/fatal-warnings +76: + on_exit +76: + echo OK +76: OK +76: + exit 0 80: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/filler.sh -73: + readelf --dyn-syms out/test/aarch64/exclude-libs2/d.so -81: ++ '[' Linux = FreeBSD ']' -81: ++ trap 'on_error $LINENO' ERR -81: ++ trap on_exit EXIT -79: + cat -73: + grep -Fq foo out/test/aarch64/exclude-libs2/log 80: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 80: ++ export LC_ALL=C 80: ++ LC_ALL=C @@ -5860,14 +5883,10 @@ 80: ++ '[' Linux = FreeBSD ']' 80: ++ trap 'on_error $LINENO' ERR 80: ++ trap on_exit EXIT -80: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/filler.sh .sh -73: + on_exit -73: + echo OK -73: OK -73: + exit 0 -80: ++ testname=filler -80: ++ echo -n 'Testing filler ... ' - 70/336 Test #73: aarch64-exclude-libs2 .................................... Passed 0.15 sec +77: + readelf --dyn-syms out/test/aarch64/export-dynamic/exe +77: + grep -Eq 'NOTYPE\s+GLOBAL DEFAULT\s+[0-9]+ bar' out/test/aarch64/export-dynamic/log +72: + readelf --dyn-syms out/test/aarch64/exclude-libs/f.so + 70/336 Test #76: aarch64-execute-only ..................................... Passed 0.31 sec test 82 Start 82: aarch64-func-addr @@ -5877,24 +5896,10 @@ 82: MACHINE=aarch64 82: CPU= 82: Test timeout computed to be: 1500 -80: Testing filler ... ++ t=out/test/aarch64/filler -80: ++ mkdir -p out/test/aarch64/filler -80: ++ set -x -80: + test_cflags -static -80: + cc -B. -static -o /dev/null -xc - -81: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/filter.sh .sh -81: ++ testname=filter -81: ++ echo -n 'Testing filter ... ' -81: Testing filter ... ++ t=out/test/aarch64/filter -81: ++ mkdir -p out/test/aarch64/filter -81: ++ set -x -76: + out/test/aarch64/execute-only/exe -76: + grep -q 'Hello world' -78: + cc -B. -o out/test/aarch64/export-from-exe/exe out/test/aarch64/export-from-exe/a.o out/test/aarch64/export-from-exe/b.so +72: + grep -Fq foo out/test/aarch64/exclude-libs/log +75: + readelf --segments -W out/test/aarch64/execstack/exe +79: ++ set -x 82: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/func-addr.sh -81: + cc -o out/test/aarch64/filter/a.o -c -x assembler - -81: + cat -80: + echo 'int main() {}' 82: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 82: ++ export LC_ALL=C 82: ++ LC_ALL=C @@ -5911,24 +5916,65 @@ 82: ++ QEMU= 82: ++ case $MACHINE in 82: ++ tlsdesc_opt=-mtls-dialect=desc +75: + grep -q 'GNU_STACK.* RW ' +75: + cc -B. -o out/test/aarch64/execstack/exe out/test/aarch64/execstack/a.o +70: + c++ -o out/test/aarch64/exception-multiple-ehframe/b.o -c -xc++ - +70: + cat +80: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/filler.sh .sh +80: ++ testname=filler +80: ++ echo -n 'Testing filler ... ' +80: Testing filler ... ++ t=out/test/aarch64/filler +80: ++ mkdir -p out/test/aarch64/filler +71: + c++ -c -o out/test/aarch64/exception/c.o out/test/aarch64/exception/a.cc -fno-PIC +78: + cc -B. -o out/test/aarch64/export-from-exe/exe out/test/aarch64/export-from-exe/a.o out/test/aarch64/export-from-exe/b.so +81: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/filter.sh +81: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc +81: ++ export LC_ALL=C +81: ++ LC_ALL=C +81: ++ '[' -z aarch64 ']' +81: ++ '[' -z '' ']' +81: ++ TESTDIR=out/test/aarch64 +81: ++ CC=cc +81: ++ CXX=c++ +81: ++ GCC=gcc +81: ++ GXX=g++ +81: ++ OBJDUMP=objdump +81: ++ OBJCOPY=objcopy +81: ++ STRIP=strip +81: ++ QEMU= +81: ++ case $MACHINE in +81: ++ tlsdesc_opt=-mtls-dialect=desc 82: +++ uname -76: + grep -Eq 'LOAD\s.*[0-9a-f] E 0x' -76: + readelf -W --segments out/test/aarch64/execute-only/exe +77: + grep -Eq 'NOTYPE\s+GLOBAL DEFAULT\s+[0-9]+ _start' out/test/aarch64/export-dynamic/log +72: + grep -Fq bar out/test/aarch64/exclude-libs/log +72: + grep -Fq baz out/test/aarch64/exclude-libs/log +72: + cc -B. -shared -o out/test/aarch64/exclude-libs/f.so out/test/aarch64/exclude-libs/e.o out/test/aarch64/exclude-libs/c.a out/test/aarch64/exclude-libs/d.a -Wl,-exclude-libs=c.a 82: ++ '[' Linux = FreeBSD ']' 82: ++ trap 'on_error $LINENO' ERR 82: ++ trap on_exit EXIT -75: + grep -q 'GNU_STACK.* RWE ' +79: + cc -fcommon -xc -c -o out/test/aarch64/fatal-warnings/a.o - +79: + cat +81: +++ uname +82: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/func-addr.sh .sh +82: ++ testname=func-addr +82: ++ echo -n 'Testing func-addr ... ' +82: Testing func-addr ... ++ t=out/test/aarch64/func-addr +82: ++ mkdir -p out/test/aarch64/func-addr +80: ++ set -x +80: + test_cflags -static +60: + out/test/aarch64/dynamic-list4/exe2 +81: ++ '[' Linux = FreeBSD ']' +81: ++ trap 'on_error $LINENO' ERR +81: ++ trap on_exit EXIT 71: + c++ -B. -o out/test/aarch64/exception/exe1 out/test/aarch64/exception/b.o -static -pthread -75: + readelf --segments -W out/test/aarch64/execstack/exe -81: + ./mold -o out/test/aarch64/filter/b.so out/test/aarch64/filter/a.o --filter foo -F bar -shared 60: + grep -q 'foo2 bar2 baz1' -75: + cc -B. -o out/test/aarch64/execstack/exe out/test/aarch64/execstack/a.o -Wl,-z,execstack -Wl,-z,noexecstack -60: + out/test/aarch64/dynamic-list4/exe2 60: + on_exit 60: + echo OK 60: OK 60: + exit 0 - 71/336 Test #60: aarch64-dynamic-list4 .................................... Passed 0.34 sec +82: ++ set -x +82: + cc -shared -o out/test/aarch64/func-addr/a.so -xc - + 71/336 Test #60: aarch64-dynamic-list4 .................................... Passed 0.86 sec test 83 Start 83: aarch64-gc-sections @@ -5938,18 +5984,20 @@ 83: MACHINE=aarch64 83: CPU= 83: Test timeout computed to be: 1500 -82: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/func-addr.sh .sh -82: ++ testname=func-addr -82: ++ echo -n 'Testing func-addr ... ' -82: Testing func-addr ... ++ t=out/test/aarch64/func-addr -82: ++ mkdir -p out/test/aarch64/func-addr -79: + cat -79: + cc -fcommon -xc -c -o out/test/aarch64/fatal-warnings/b.o - -76: + on_exit -76: + echo OK -76: OK -76: + exit 0 - 72/336 Test #76: aarch64-execute-only ..................................... Passed 0.14 sec +80: + echo 'int main() {}' +80: + cc -B. -static -o /dev/null -xc - +81: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/filter.sh .sh +81: ++ testname=filter +81: ++ echo -n 'Testing filter ... ' +81: Testing filter ... ++ t=out/test/aarch64/filter +81: ++ mkdir -p out/test/aarch64/filter +77: + on_exit +77: + echo OK +77: OK +77: + exit 0 +82: + cat +70: + perl -i -0777 -pe 's/\.eh_frame/.EH_FRAME/g' out/test/aarch64/exception-multiple-ehframe/a.o + 72/336 Test #77: aarch64-export-dynamic ................................... Passed 0.31 sec test 84 Start 84: aarch64-gdb-index-compress-output @@ -5959,20 +6007,9 @@ 84: MACHINE=aarch64 84: CPU= 84: Test timeout computed to be: 1500 -82: ++ set -x -82: + cat -82: + cc -shared -o out/test/aarch64/func-addr/a.so -xc - -81: + readelf --dynamic out/test/aarch64/filter/b.so -81: + grep -Fq 'Filter library: [foo]' out/test/aarch64/filter/log -81: + grep -Fq 'Filter library: [bar]' out/test/aarch64/filter/log -81: + on_exit -81: + echo OK -81: OK -81: + exit 0 -70: + command -v perl -70: + '[' aarch64 = sh4 ']' -70: + c++ -o out/test/aarch64/exception-multiple-ehframe/a.o -c -xc++ - -70: + cat +81: ++ set -x +81: + cat +70: + ./mold -r -o out/test/aarch64/exception-multiple-ehframe/c.o out/test/aarch64/exception-multiple-ehframe/a.o out/test/aarch64/exception-multiple-ehframe/b.o 83: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/gc-sections.sh 83: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 83: ++ export LC_ALL=C @@ -5990,25 +6027,15 @@ 83: ++ QEMU= 83: ++ case $MACHINE in 83: ++ tlsdesc_opt=-mtls-dialect=desc +81: + cc -o out/test/aarch64/filter/a.o -c -x assembler - 83: +++ uname 83: ++ '[' Linux = FreeBSD ']' 83: ++ trap 'on_error $LINENO' ERR 83: ++ trap on_exit EXIT -72: + readelf --dyn-syms out/test/aarch64/exclude-libs/f.so 84: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/gdb-index-compress-output.sh 84: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 84: ++ export LC_ALL=C 84: ++ LC_ALL=C - 73/336 Test #81: aarch64-filter ........................................... Passed 0.05 sec -test 85 - Start 85: aarch64-gdb-index-dwarf2 - -85: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/gdb-index-dwarf2.sh" -85: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -85: Environment variables: -85: MACHINE=aarch64 -85: CPU= -85: Test timeout computed to be: 1500 84: ++ '[' -z aarch64 ']' 84: ++ '[' -z '' ']' 84: ++ TESTDIR=out/test/aarch64 @@ -6022,22 +6049,72 @@ 84: ++ QEMU= 84: ++ case $MACHINE in 84: ++ tlsdesc_opt=-mtls-dialect=desc -72: + grep -Fq foo out/test/aarch64/exclude-libs/log -83: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/gc-sections.sh .sh -83: ++ testname=gc-sections -83: ++ echo -n 'Testing gc-sections ... ' -83: Testing gc-sections ... ++ t=out/test/aarch64/gc-sections -83: ++ mkdir -p out/test/aarch64/gc-sections +79: + cc -fcommon -xc -c -o out/test/aarch64/fatal-warnings/b.o - 84: +++ uname +78: + readelf --dyn-syms out/test/aarch64/export-from-exe/exe 84: ++ '[' Linux = FreeBSD ']' 84: ++ trap 'on_error $LINENO' ERR 84: ++ trap on_exit EXIT +79: + cat +83: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/gc-sections.sh .sh +81: + ./mold -o out/test/aarch64/filter/b.so out/test/aarch64/filter/a.o --filter foo -F bar -shared +78: + grep -q expfn2 84: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/gdb-index-compress-output.sh .sh -85: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/gdb-index-dwarf2.sh +78: + grep -q expfn1 +78: + readelf --dyn-syms out/test/aarch64/export-from-exe/exe 84: ++ testname=gdb-index-compress-output 84: ++ echo -n 'Testing gdb-index-compress-output ... ' 84: Testing gdb-index-compress-output ... ++ t=out/test/aarch64/gdb-index-compress-output 84: ++ mkdir -p out/test/aarch64/gdb-index-compress-output +83: ++ testname=gc-sections +83: ++ echo -n 'Testing gc-sections ... ' +83: Testing gc-sections ... ++ t=out/test/aarch64/gc-sections +83: ++ mkdir -p out/test/aarch64/gc-sections +75: + grep -q 'GNU_STACK.* RW ' +75: + readelf --segments -W out/test/aarch64/execstack/exe +72: + readelf --dyn-syms out/test/aarch64/exclude-libs/f.so +78: + on_exit +78: + echo OK +78: OK +78: + exit 0 +75: + on_exit +75: + echo OK +75: OK +75: + exit 0 +72: + grep -Fq foo out/test/aarch64/exclude-libs/log +70: + perl -i -0777 -pe 's/\.EH_FRAME/.eh_frame/g' out/test/aarch64/exception-multiple-ehframe/c.o + 73/336 Test #75: aarch64-execstack ........................................ Passed 0.44 sec + 74/336 Test #78: aarch64-export-from-exe .................................. Passed 0.28 sec +test 85 + Start 85: aarch64-gdb-index-dwarf2 + +85: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/gdb-index-dwarf2.sh" +85: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +85: Environment variables: +85: MACHINE=aarch64 +85: CPU= +85: Test timeout computed to be: 1500 +test 86 + Start 86: aarch64-gdb-index-dwarf3 + +86: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/gdb-index-dwarf3.sh" +86: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +86: Environment variables: +86: MACHINE=aarch64 +86: CPU= +86: Test timeout computed to be: 1500 +70: + c++ -o out/test/aarch64/exception-multiple-ehframe/d.o -c -xc++ - +84: ++ set -x +84: + on_qemu +84: + '[' '' '!=' '' ']' +84: + grep -qw qemu /proc/cpuinfo +84: + '[' aarch64 = riscv64 -o aarch64 = riscv32 -o aarch64 = sparc64 ']' +84: + command -v gdb +83: ++ set -x +83: + cat +83: + c++ -B. -o out/test/aarch64/gc-sections/exe1 out/test/aarch64/gc-sections/a.cc -ffunction-sections -fdata-sections +72: + grep -Fq bar out/test/aarch64/exclude-libs/log +85: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/gdb-index-dwarf2.sh 85: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 85: ++ export LC_ALL=C 85: ++ LC_ALL=C @@ -6050,66 +6127,20 @@ 85: ++ GXX=g++ 85: ++ OBJDUMP=objdump 85: ++ OBJCOPY=objcopy -83: ++ set -x -83: + cat 85: ++ STRIP=strip 85: ++ QEMU= 85: ++ case $MACHINE in 85: ++ tlsdesc_opt=-mtls-dialect=desc -78: + grep -q expfn2 -78: + readelf --dyn-syms out/test/aarch64/export-from-exe/exe -85: +++ uname -79: + cc -B. -o out/test/aarch64/fatal-warnings/exe out/test/aarch64/fatal-warnings/a.o out/test/aarch64/fatal-warnings/b.o -Wl,-warn-common -84: ++ set -x -84: + on_qemu -84: + '[' '' '!=' '' ']' -84: + grep -qw qemu /proc/cpuinfo -85: ++ '[' Linux = FreeBSD ']' -85: ++ trap 'on_error $LINENO' ERR -85: ++ trap on_exit EXIT -72: + grep -Fq bar out/test/aarch64/exclude-libs/log -83: + c++ -B. -o out/test/aarch64/gc-sections/exe1 out/test/aarch64/gc-sections/a.cc -ffunction-sections -fdata-sections +81: + readelf --dynamic out/test/aarch64/filter/b.so 72: + grep -Fq baz out/test/aarch64/exclude-libs/log -70: + c++ -o out/test/aarch64/exception-multiple-ehframe/b.o -c -xc++ - 70: + cat -84: + '[' aarch64 = riscv64 -o aarch64 = riscv32 -o aarch64 = sparc64 ']' -84: + command -v gdb -84: + cat -72: + cc -B. -shared -o out/test/aarch64/exclude-libs/f.so out/test/aarch64/exclude-libs/e.o out/test/aarch64/exclude-libs/c.a out/test/aarch64/exclude-libs/d.a -Wl,-exclude-libs=c.a +82: + cat 84: + cc -c -o out/test/aarch64/gdb-index-compress-output/a.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -ffunction-sections -78: + grep -q expfn1 -78: + readelf --dyn-syms out/test/aarch64/export-from-exe/exe -85: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/gdb-index-dwarf2.sh .sh -85: ++ testname=gdb-index-dwarf2 -85: ++ echo -n 'Testing gdb-index-dwarf2 ... ' -85: Testing gdb-index-dwarf2 ... ++ t=out/test/aarch64/gdb-index-dwarf2 -85: ++ mkdir -p out/test/aarch64/gdb-index-dwarf2 -75: + readelf --segments -W out/test/aarch64/execstack/exe -75: + grep -q 'GNU_STACK.* RW ' -85: ++ set -x -85: + on_qemu -85: + '[' '' '!=' '' ']' -85: + grep -qw qemu /proc/cpuinfo -75: + cc -B. -o out/test/aarch64/execstack/exe out/test/aarch64/execstack/a.o -78: + on_exit -78: + echo OK -78: OK -78: + exit 0 -85: + '[' aarch64 = riscv64 -o aarch64 = riscv32 -o aarch64 = sparc64 ']' -85: + command -v gdb -85: + echo 'int main() {}' -85: + cc -o /dev/null -xc -gdwarf-2 -g - - 74/336 Test #78: aarch64-export-from-exe .................................. Passed 0.17 sec -test 86 - Start 86: aarch64-gdb-index-dwarf3 - -86: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/gdb-index-dwarf3.sh" -86: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -86: Environment variables: -86: MACHINE=aarch64 -86: CPU= -86: Test timeout computed to be: 1500 86: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/gdb-index-dwarf3.sh +84: + cat +82: + cc -o out/test/aarch64/func-addr/b.o -c -xc -fno-PIC - +79: + cc -B. -o out/test/aarch64/fatal-warnings/exe out/test/aarch64/fatal-warnings/a.o out/test/aarch64/fatal-warnings/b.o -Wl,-warn-common +85: +++ uname 86: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 86: ++ export LC_ALL=C 86: ++ LC_ALL=C @@ -6126,38 +6157,33 @@ 86: ++ QEMU= 86: ++ case $MACHINE in 86: ++ tlsdesc_opt=-mtls-dialect=desc -82: + cat -82: + cc -o out/test/aarch64/func-addr/b.o -c -xc -fno-PIC - +85: ++ '[' Linux = FreeBSD ']' +85: ++ trap 'on_error $LINENO' ERR +85: ++ trap on_exit EXIT 86: +++ uname +85: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/gdb-index-dwarf2.sh .sh +80: + cat +72: + cc -B. -shared -o out/test/aarch64/exclude-libs/f.so out/test/aarch64/exclude-libs/e.o out/test/aarch64/exclude-libs/c.a out/test/aarch64/exclude-libs/d.a -Wl,-exclude-libs=c.a -Wl,-exclude-libs=d.a +81: + grep -Fq 'Filter library: [foo]' out/test/aarch64/filter/log +85: ++ testname=gdb-index-dwarf2 +85: ++ echo -n 'Testing gdb-index-dwarf2 ... ' +85: Testing gdb-index-dwarf2 ... ++ t=out/test/aarch64/gdb-index-dwarf2 +85: ++ mkdir -p out/test/aarch64/gdb-index-dwarf2 +81: + grep -Fq 'Filter library: [bar]' out/test/aarch64/filter/log 86: ++ '[' Linux = FreeBSD ']' 86: ++ trap 'on_error $LINENO' ERR 86: ++ trap on_exit EXIT +80: + cc -o out/test/aarch64/filler/a.o -c -xc - +81: + on_exit +81: + echo OK +81: OK +81: + exit 0 +85: ++ set -x +85: + on_qemu +85: + '[' '' '!=' '' ']' +85: + grep -qw qemu /proc/cpuinfo 86: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/gdb-index-dwarf3.sh .sh -70: + perl -i -0777 -pe 's/\.eh_frame/.EH_FRAME/g' out/test/aarch64/exception-multiple-ehframe/a.o -86: ++ testname=gdb-index-dwarf3 -86: ++ echo -n 'Testing gdb-index-dwarf3 ... ' -86: Testing gdb-index-dwarf3 ... ++ t=out/test/aarch64/gdb-index-dwarf3 -86: ++ mkdir -p out/test/aarch64/gdb-index-dwarf3 -70: + ./mold -r -o out/test/aarch64/exception-multiple-ehframe/c.o out/test/aarch64/exception-multiple-ehframe/a.o out/test/aarch64/exception-multiple-ehframe/b.o -71: + out/test/aarch64/exception/exe1 -86: ++ set -x -86: + on_qemu -86: + '[' '' '!=' '' ']' -86: + grep -qw qemu /proc/cpuinfo -71: + c++ -B. -o out/test/aarch64/exception/exe2 out/test/aarch64/exception/c.o -no-pie -static -pthread -72: + readelf --dyn-syms out/test/aarch64/exclude-libs/f.so -75: + grep -q 'GNU_STACK.* RW ' -86: + '[' aarch64 = riscv64 -o aarch64 = riscv32 -o aarch64 = sparc64 ']' -86: + command -v gdb -86: + test_cflags -gdwarf-3 -75: + readelf --segments -W out/test/aarch64/execstack/exe -86: + cc -B. -gdwarf-3 -o /dev/null -xc - -75: + on_exit -75: + echo OK -75: OK -75: + exit 0 -86: + echo 'int main() {}' - 75/336 Test #75: aarch64-execstack ........................................ Passed 0.23 sec + 75/336 Test #81: aarch64-filter ........................................... Passed 0.21 sec test 87 Start 87: aarch64-gdb-index-dwarf4 @@ -6167,9 +6193,19 @@ 87: MACHINE=aarch64 87: CPU= 87: Test timeout computed to be: 1500 +86: ++ testname=gdb-index-dwarf3 +86: ++ echo -n 'Testing gdb-index-dwarf3 ... ' +86: Testing gdb-index-dwarf3 ... ++ t=out/test/aarch64/gdb-index-dwarf3 +86: ++ mkdir -p out/test/aarch64/gdb-index-dwarf3 +85: + '[' aarch64 = riscv64 -o aarch64 = riscv32 -o aarch64 = sparc64 ']' +85: + command -v gdb +86: ++ set -x +86: + on_qemu +86: + '[' '' '!=' '' ']' +86: + grep -qw qemu /proc/cpuinfo +85: + echo 'int main() {}' +85: + cc -o /dev/null -xc -gdwarf-2 -g - 84: + cc -B. -shared -o out/test/aarch64/gdb-index-compress-output/b.so out/test/aarch64/gdb-index-compress-output/a.o -Wl,--gdb-index -Wl,--compress-debug-sections=zlib-gabi -72: + grep -Fq foo out/test/aarch64/exclude-libs/log -72: + grep -Fq bar out/test/aarch64/exclude-libs/log 87: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/gdb-index-dwarf4.sh 87: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 87: ++ export LC_ALL=C @@ -6187,60 +6223,50 @@ 87: ++ QEMU= 87: ++ case $MACHINE in 87: ++ tlsdesc_opt=-mtls-dialect=desc -70: + perl -i -0777 -pe 's/\.EH_FRAME/.eh_frame/g' out/test/aarch64/exception-multiple-ehframe/c.o +86: + '[' aarch64 = riscv64 -o aarch64 = riscv32 -o aarch64 = sparc64 ']' +86: + command -v gdb +86: + test_cflags -gdwarf-3 +86: + cc -B. -gdwarf-3 -o /dev/null -xc - +86: + echo 'int main() {}' +71: + out/test/aarch64/exception/exe1 +70: + c++ -B. -o out/test/aarch64/exception-multiple-ehframe/exe1 out/test/aarch64/exception-multiple-ehframe/d.o out/test/aarch64/exception-multiple-ehframe/c.o 87: +++ uname -79: + cc -B. -o out/test/aarch64/fatal-warnings/exe out/test/aarch64/fatal-warnings/a.o out/test/aarch64/fatal-warnings/b.o -Wl,-warn-common -Wl,-fatal-warnings +80: + cc -B. -static -Wl,--filler,0xfe -o out/test/aarch64/filler/exe1 out/test/aarch64/filler/a.o +82: + cc -B. -o out/test/aarch64/func-addr/exe -no-pie out/test/aarch64/func-addr/b.o out/test/aarch64/func-addr/a.so 87: ++ '[' Linux = FreeBSD ']' 87: ++ trap 'on_error $LINENO' ERR 87: ++ trap on_exit EXIT -72: + grep -Fq baz out/test/aarch64/exclude-libs/log +71: + c++ -B. -o out/test/aarch64/exception/exe2 out/test/aarch64/exception/c.o -no-pie -static -pthread 87: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/gdb-index-dwarf4.sh .sh 87: ++ testname=gdb-index-dwarf4 87: ++ echo -n 'Testing gdb-index-dwarf4 ... ' 87: Testing gdb-index-dwarf4 ... ++ t=out/test/aarch64/gdb-index-dwarf4 87: ++ mkdir -p out/test/aarch64/gdb-index-dwarf4 +72: + readelf --dyn-syms out/test/aarch64/exclude-libs/f.so +72: + grep -Fq foo out/test/aarch64/exclude-libs/log 87: ++ set -x 87: + on_qemu 87: + '[' '' '!=' '' ']' 87: + grep -qw qemu /proc/cpuinfo +79: + cc -B. -o out/test/aarch64/fatal-warnings/exe out/test/aarch64/fatal-warnings/a.o out/test/aarch64/fatal-warnings/b.o -Wl,-warn-common -Wl,-fatal-warnings 87: + '[' aarch64 = riscv64 -o aarch64 = riscv32 -o aarch64 = sparc64 ']' 87: + command -v gdb 87: + test_cflags -gdwarf-4 -g +72: + grep -Fq bar out/test/aarch64/exclude-libs/log 87: + echo 'int main() {}' -72: + cc -B. -shared -o out/test/aarch64/exclude-libs/f.so out/test/aarch64/exclude-libs/e.o out/test/aarch64/exclude-libs/c.a out/test/aarch64/exclude-libs/d.a -Wl,-exclude-libs=c.a -Wl,-exclude-libs=d.a 87: + cc -B. -gdwarf-4 -g -o /dev/null -xc - -82: + cc -B. -o out/test/aarch64/func-addr/exe -no-pie out/test/aarch64/func-addr/b.o out/test/aarch64/func-addr/a.so -70: + c++ -o out/test/aarch64/exception-multiple-ehframe/d.o -c -xc++ - -70: + cat -85: + cat -80: + cat -80: + cc -o out/test/aarch64/filler/a.o -c -xc - +63: + cat +63: + c++ -o out/test/aarch64/emit-relocs-dead-sections/b.o -c -fPIC -xc++ -g -ffunction-sections - +72: + grep -Fq baz out/test/aarch64/exclude-libs/log +72: + cc -B. -shared -o out/test/aarch64/exclude-libs/f.so out/test/aarch64/exclude-libs/e.o out/test/aarch64/exclude-libs/c.a out/test/aarch64/exclude-libs/d.a -Wl,-exclude-libs=c.a:d.a +70: + grep -q '^1 3$' +70: + out/test/aarch64/exception-multiple-ehframe/exe1 83: + readelf --symbols out/test/aarch64/gc-sections/exe1 -85: + cc -c -o out/test/aarch64/gdb-index-dwarf2/a.o -fPIC -g -ggnu-pubnames -gdwarf-2 -xc - -ffunction-sections -84: + grep -Fq .gdb_index -84: + readelf -WS out/test/aarch64/gdb-index-compress-output/b.so -83: + grep -qv live_fn1 out/test/aarch64/gc-sections/log.1 -84: + cc -c -o out/test/aarch64/gdb-index-compress-output/c.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -gz -83: + grep -qv live_fn2 out/test/aarch64/gc-sections/log.1 -84: + cat -83: + grep -qv dead_fn1 out/test/aarch64/gc-sections/log.1 -83: + grep -qv dead_fn2 out/test/aarch64/gc-sections/log.1 -83: + grep -qv live_var1 out/test/aarch64/gc-sections/log.1 -70: + c++ -B. -o out/test/aarch64/exception-multiple-ehframe/exe1 out/test/aarch64/exception-multiple-ehframe/d.o out/test/aarch64/exception-multiple-ehframe/c.o -83: + grep -qv live_var2 out/test/aarch64/gc-sections/log.1 -83: + grep -qv dead_var1 out/test/aarch64/gc-sections/log.1 -80: + cc -B. -static -Wl,--filler,0xfe -o out/test/aarch64/filler/exe1 out/test/aarch64/filler/a.o -85: + cc -c -o out/test/aarch64/gdb-index-dwarf2/b.o -fPIC -g -ggnu-pubnames -gdwarf-2 -xc - -ffunction-sections -83: + grep -qv dead_var2 out/test/aarch64/gc-sections/log.1 -82: + out/test/aarch64/func-addr/exe -83: + out/test/aarch64/gc-sections/exe1 -79: + on_exit -79: + echo OK -79: OK -79: + exit 0 -83: + grep -q '1 2' -82: + grep -q 1 - 76/336 Test #79: aarch64-fatal-warnings ................................... Passed 0.21 sec +70: + on_exit +70: + echo OK +70: OK +70: + exit 0 + 76/336 Test #70: aarch64-exception-multiple-ehframe ....................... Passed 0.79 sec test 88 Start 88: aarch64-gdb-index-dwarf5 @@ -6250,16 +6276,23 @@ 88: MACHINE=aarch64 88: CPU= 88: Test timeout computed to be: 1500 -83: + c++ -B. -o out/test/aarch64/gc-sections/exe2 out/test/aarch64/gc-sections/a.cc -ffunction-sections -fdata-sections -Wl,-gc-sections +85: + cc -c -o out/test/aarch64/gdb-index-dwarf2/a.o -fPIC -g -ggnu-pubnames -gdwarf-2 -xc - -ffunction-sections +85: + cat +83: + grep -qv live_fn1 out/test/aarch64/gc-sections/log.1 +82: + grep -q 1 +83: + grep -qv live_fn2 out/test/aarch64/gc-sections/log.1 +80: + sed -i -e 's/--filler 0xfe/--filler 0x00/' out/test/aarch64/filler/exe1 +82: + out/test/aarch64/func-addr/exe +88: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/gdb-index-dwarf5.sh 82: + on_exit 82: + echo OK 82: OK 82: + exit 0 -85: + cat -84: + cc -B. -o out/test/aarch64/gdb-index-compress-output/exe out/test/aarch64/gdb-index-compress-output/b.so out/test/aarch64/gdb-index-compress-output/c.o -Wl,--gdb-index -Wl,--compress-debug-sections=zlib -71: + out/test/aarch64/exception/exe2 -72: + readelf --dyn-syms out/test/aarch64/exclude-libs/f.so - 77/336 Test #82: aarch64-func-addr ........................................ Passed 0.18 sec +88: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc +88: ++ export LC_ALL=C +88: ++ LC_ALL=C +88: ++ '[' -z aarch64 ']' + 77/336 Test #82: aarch64-func-addr ........................................ Passed 0.35 sec test 89 Start 89: aarch64-gdb-index-dwarf64 @@ -6269,12 +6302,6 @@ 89: MACHINE=aarch64 89: CPU= 89: Test timeout computed to be: 1500 -72: + grep -Fq foo out/test/aarch64/exclude-libs/log -88: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/gdb-index-dwarf5.sh -88: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc -88: ++ export LC_ALL=C -88: ++ LC_ALL=C -88: ++ '[' -z aarch64 ']' 88: ++ '[' -z '' ']' 88: ++ TESTDIR=out/test/aarch64 88: ++ CC=cc @@ -6287,15 +6314,35 @@ 88: ++ QEMU= 88: ++ case $MACHINE in 88: ++ tlsdesc_opt=-mtls-dialect=desc -71: + c++ -B. -o out/test/aarch64/exception/exe3 out/test/aarch64/exception/b.o -pie 88: +++ uname +83: + grep -qv dead_fn1 out/test/aarch64/gc-sections/log.1 +83: + grep -qv dead_fn2 out/test/aarch64/gc-sections/log.1 +83: + grep -qv live_var1 out/test/aarch64/gc-sections/log.1 +83: + grep -qv live_var2 out/test/aarch64/gc-sections/log.1 +84: + readelf -WS out/test/aarch64/gdb-index-compress-output/b.so +84: + grep -Fq .gdb_index +80: + od -x out/test/aarch64/filler/exe1 88: ++ '[' Linux = FreeBSD ']' 88: ++ trap 'on_error $LINENO' ERR 88: ++ trap on_exit EXIT +79: + on_exit +79: + echo OK +79: OK +79: + exit 0 + 78/336 Test #79: aarch64-fatal-warnings ................................... Passed 0.43 sec +test 90 + Start 90: aarch64-gdb-index-empty + +90: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/gdb-index-empty.sh" +90: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +90: Environment variables: +90: MACHINE=aarch64 +90: CPU= +90: Test timeout computed to be: 1500 +83: + grep -qv dead_var1 out/test/aarch64/gc-sections/log.1 +86: + cc -c -o out/test/aarch64/gdb-index-dwarf3/a.o -fPIC -g -ggnu-pubnames -gdwarf-3 -xc - -ffunction-sections +86: + cat 89: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/gdb-index-dwarf64.sh -72: + grep -Fq bar out/test/aarch64/exclude-libs/log -72: + grep -Fq baz out/test/aarch64/exclude-libs/log -88: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/gdb-index-dwarf5.sh .sh 89: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 89: ++ export LC_ALL=C 89: ++ LC_ALL=C @@ -6312,61 +6359,18 @@ 89: ++ QEMU= 89: ++ case $MACHINE in 89: ++ tlsdesc_opt=-mtls-dialect=desc +84: + cc -c -o out/test/aarch64/gdb-index-compress-output/c.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -gz +84: + cat +88: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/gdb-index-dwarf5.sh .sh 88: ++ testname=gdb-index-dwarf5 88: ++ echo -n 'Testing gdb-index-dwarf5 ... ' 88: Testing gdb-index-dwarf5 ... ++ t=out/test/aarch64/gdb-index-dwarf5 88: ++ mkdir -p out/test/aarch64/gdb-index-dwarf5 -89: +++ uname -70: + out/test/aarch64/exception-multiple-ehframe/exe1 -85: + cc -B. -shared -o out/test/aarch64/gdb-index-dwarf2/c.so out/test/aarch64/gdb-index-dwarf2/a.o out/test/aarch64/gdb-index-dwarf2/b.o -Wl,--gdb-index +90: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/gdb-index-empty.sh 88: ++ set -x 88: + on_qemu 88: + '[' '' '!=' '' ']' 88: + grep -qw qemu /proc/cpuinfo -89: ++ '[' Linux = FreeBSD ']' -89: ++ trap 'on_error $LINENO' ERR -89: ++ trap on_exit EXIT -70: + grep -q '^1 3$' -70: + on_exit -70: + echo OK -70: OK -70: + exit 0 -72: + cc -B. -shared -o out/test/aarch64/exclude-libs/f.so out/test/aarch64/exclude-libs/e.o out/test/aarch64/exclude-libs/c.a out/test/aarch64/exclude-libs/d.a -Wl,-exclude-libs=c.a:d.a -88: + '[' aarch64 = riscv64 -o aarch64 = riscv32 -o aarch64 = sparc64 ']' -88: + command -v gdb -88: + test_cflags -gdwarf-5 -g -89: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/gdb-index-dwarf64.sh .sh -87: + cat -88: + echo 'int main() {}' - 78/336 Test #70: aarch64-exception-multiple-ehframe ....................... Passed 0.39 sec -test 90 - Start 90: aarch64-gdb-index-empty - -90: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/gdb-index-empty.sh" -90: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -90: Environment variables: -90: MACHINE=aarch64 -90: CPU= -90: Test timeout computed to be: 1500 -89: ++ testname=gdb-index-dwarf64 -89: ++ echo -n 'Testing gdb-index-dwarf64 ... ' -89: Testing gdb-index-dwarf64 ... ++ t=out/test/aarch64/gdb-index-dwarf64 -89: ++ mkdir -p out/test/aarch64/gdb-index-dwarf64 -89: ++ set -x -89: + on_qemu -89: + '[' '' '!=' '' ']' -89: + grep -qw qemu /proc/cpuinfo -88: + cc -B. -gdwarf-5 -g -o /dev/null -xc - -86: + cc -c -o out/test/aarch64/gdb-index-dwarf3/a.o -fPIC -g -ggnu-pubnames -gdwarf-3 -xc - -ffunction-sections -89: + '[' aarch64 = riscv64 -o aarch64 = riscv32 -o aarch64 = sparc64 ']' -89: + command -v gdb -89: + test_cflags -gdwarf-5 -g -gdwarf64 -89: + echo 'int main() {}' -87: + cc -c -o out/test/aarch64/gdb-index-dwarf4/a.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -ffunction-sections -90: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/gdb-index-empty.sh -63: + cat -86: + cat -89: + cc -B. -gdwarf-5 -g -gdwarf64 -o /dev/null -xc - 90: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 90: ++ export LC_ALL=C 90: ++ LC_ALL=C @@ -6383,71 +6387,76 @@ 90: ++ QEMU= 90: ++ case $MACHINE in 90: ++ tlsdesc_opt=-mtls-dialect=desc -63: + c++ -o out/test/aarch64/emit-relocs-dead-sections/b.o -c -fPIC -xc++ -g -ffunction-sections - +83: + grep -qv dead_var2 out/test/aarch64/gc-sections/log.1 +88: + '[' aarch64 = riscv64 -o aarch64 = riscv32 -o aarch64 = sparc64 ']' +88: + command -v gdb +88: + test_cflags -gdwarf-5 -g +88: + cc -B. -gdwarf-5 -g -o /dev/null -xc - 90: +++ uname -80: + sed -i -e 's/--filler 0xfe/--filler 0x00/' out/test/aarch64/filler/exe1 +89: +++ uname +83: + grep -q '1 2' +83: + out/test/aarch64/gc-sections/exe1 +71: + out/test/aarch64/exception/exe2 +89: ++ '[' Linux = FreeBSD ']' +89: ++ trap 'on_error $LINENO' ERR +89: ++ trap on_exit EXIT +83: + c++ -B. -o out/test/aarch64/gc-sections/exe2 out/test/aarch64/gc-sections/a.cc -ffunction-sections -fdata-sections -Wl,-gc-sections +88: + echo 'int main() {}' 90: ++ '[' Linux = FreeBSD ']' 90: ++ trap 'on_error $LINENO' ERR 90: ++ trap on_exit EXIT -80: + od -x out/test/aarch64/filler/exe1 72: + readelf --dyn-syms out/test/aarch64/exclude-libs/f.so -90: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/gdb-index-empty.sh .sh +85: + cc -c -o out/test/aarch64/gdb-index-dwarf2/b.o -fPIC -g -ggnu-pubnames -gdwarf-2 -xc - -ffunction-sections +71: + c++ -B. -o out/test/aarch64/exception/exe3 out/test/aarch64/exception/b.o -pie +89: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/gdb-index-dwarf64.sh .sh +89: ++ testname=gdb-index-dwarf64 +89: ++ echo -n 'Testing gdb-index-dwarf64 ... ' +89: Testing gdb-index-dwarf64 ... ++ t=out/test/aarch64/gdb-index-dwarf64 +89: ++ mkdir -p out/test/aarch64/gdb-index-dwarf64 72: + grep -Fq foo out/test/aarch64/exclude-libs/log +90: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/gdb-index-empty.sh .sh +89: ++ set -x +89: + on_qemu +89: + '[' '' '!=' '' ']' +89: + grep -qw qemu /proc/cpuinfo 90: ++ testname=gdb-index-empty 90: ++ echo -n 'Testing gdb-index-empty ... ' 90: Testing gdb-index-empty ... ++ t=out/test/aarch64/gdb-index-empty 90: ++ mkdir -p out/test/aarch64/gdb-index-empty +85: + cat +80: + cc -B. -static -Wl,--filler,0x00 -o out/test/aarch64/filler/exe2 out/test/aarch64/filler/a.o 72: + grep -Fq bar out/test/aarch64/exclude-libs/log +89: + '[' aarch64 = riscv64 -o aarch64 = riscv32 -o aarch64 = sparc64 ']' +89: + command -v gdb +89: + test_cflags -gdwarf-5 -g -gdwarf64 +90: ++ set -x +84: + cc -B. -o out/test/aarch64/gdb-index-compress-output/exe out/test/aarch64/gdb-index-compress-output/b.so out/test/aarch64/gdb-index-compress-output/c.o -Wl,--gdb-index -Wl,--compress-debug-sections=zlib +89: + cc -B. -gdwarf-5 -g -gdwarf64 -o /dev/null -xc - 72: + grep -Fq baz out/test/aarch64/exclude-libs/log -84: + grep -Fq .gdb_index -84: + readelf -WS out/test/aarch64/gdb-index-compress-output/exe +89: + echo 'int main() {}' +90: + cc -c -o out/test/aarch64/gdb-index-empty/a.o -xc - 86: + cat 86: + cc -c -o out/test/aarch64/gdb-index-dwarf3/b.o -fPIC -g -ggnu-pubnames -gdwarf-3 -xc - -ffunction-sections -90: ++ set -x +87: + cat +87: + cc -c -o out/test/aarch64/gdb-index-dwarf4/a.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -ffunction-sections 90: + echo 'void _start() {}' -90: + cc -c -o out/test/aarch64/gdb-index-empty/a.o -xc - -85: + readelf -WS out/test/aarch64/gdb-index-dwarf2/c.so -85: + grep -Fq .gdb_index 72: + cc -B. -shared -o out/test/aarch64/exclude-libs/f.so out/test/aarch64/exclude-libs/e.o out/test/aarch64/exclude-libs/c.a out/test/aarch64/exclude-libs/d.a -Wl,-exclude-libs=ALL +85: + cc -B. -shared -o out/test/aarch64/gdb-index-dwarf2/c.so out/test/aarch64/gdb-index-dwarf2/a.o out/test/aarch64/gdb-index-dwarf2/b.o -Wl,--gdb-index 71: + out/test/aarch64/exception/exe3 -84: + grep -q 'Hello world' -84: + out/test/aarch64/gdb-index-compress-output/exe -84: + DEBUGINFOD_URLS= -84: + gdb out/test/aarch64/gdb-index-compress-output/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit +90: + ./mold -o out/test/aarch64/gdb-index-empty/exe out/test/aarch64/gdb-index-empty/a.o -gdb-index 71: + c++ -B. -o out/test/aarch64/exception/exe4 out/test/aarch64/exception/c.o -no-pie -85: + cc -c -o out/test/aarch64/gdb-index-dwarf2/d.o -fPIC -g -ggnu-pubnames -gdwarf-2 -xc - -gz -87: + cat -85: + cat 87: + cc -c -o out/test/aarch64/gdb-index-dwarf4/b.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -ffunction-sections -83: + readelf --symbols out/test/aarch64/gc-sections/exe2 -83: + grep -q live_fn1 out/test/aarch64/gc-sections/log.2 -88: + cat -83: + grep -q live_fn2 out/test/aarch64/gc-sections/log.2 -88: + cat -80: + cc -B. -static -Wl,--filler,0x00 -o out/test/aarch64/filler/exe2 out/test/aarch64/filler/a.o -83: + grep -qv dead_fn1 out/test/aarch64/gc-sections/log.2 -90: + ./mold -o out/test/aarch64/gdb-index-empty/exe out/test/aarch64/gdb-index-empty/a.o -gdb-index -88: + cat +87: + cat 86: + cc -B. -shared -o out/test/aarch64/gdb-index-dwarf3/c.so out/test/aarch64/gdb-index-dwarf3/a.o out/test/aarch64/gdb-index-dwarf3/b.o -Wl,--gdb-index -83: + grep -qv dead_fn2 out/test/aarch64/gc-sections/log.2 -88: + cat -83: + grep -q live_var1 out/test/aarch64/gc-sections/log.2 90: + readelf -WS out/test/aarch64/gdb-index-empty/exe -83: + grep -q live_var2 out/test/aarch64/gc-sections/log.2 90: + grep -Fq .gdb_index out/test/aarch64/gdb-index-empty/log -88: + cc -c -o out/test/aarch64/gdb-index-dwarf5/a.o out/test/aarch64/gdb-index-dwarf5/a.c -fPIC -g -ggnu-pubnames -gdwarf-5 -ffunction-sections -83: + grep -qv dead_var1 out/test/aarch64/gc-sections/log.2 +84: + grep -Fq .gdb_index 90: + on_exit 90: + echo OK 90: OK 90: + exit 0 -83: + grep -qv dead_var2 out/test/aarch64/gc-sections/log.2 -85: + cc -B. -o out/test/aarch64/gdb-index-dwarf2/exe out/test/aarch64/gdb-index-dwarf2/c.so out/test/aarch64/gdb-index-dwarf2/d.o -Wl,--gdb-index 72: + readelf --dyn-syms out/test/aarch64/exclude-libs/f.so -72: + grep -Fq foo out/test/aarch64/exclude-libs/log -83: + grep -q '1 2' -72: + grep -Fq bar out/test/aarch64/exclude-libs/log - 79/336 Test #90: aarch64-gdb-index-empty .................................. Passed 0.11 sec + 79/336 Test #90: aarch64-gdb-index-empty .................................. Passed 0.21 sec test 91 Start 91: aarch64-gdb-index-split-dwarf @@ -6457,34 +6466,22 @@ 91: MACHINE=aarch64 91: CPU= 91: Test timeout computed to be: 1500 -89: + cat -89: + cat -83: + out/test/aarch64/gc-sections/exe2 -83: + on_exit -83: + echo OK -83: OK -83: + exit 0 -71: + out/test/aarch64/exception/exe4 +84: + readelf -WS out/test/aarch64/gdb-index-compress-output/exe +84: + out/test/aarch64/gdb-index-compress-output/exe +72: + grep -Fq foo out/test/aarch64/exclude-libs/log +72: + grep -Fq bar out/test/aarch64/exclude-libs/log +83: + readelf --symbols out/test/aarch64/gc-sections/exe2 87: + cc -B. -shared -o out/test/aarch64/gdb-index-dwarf4/c.so out/test/aarch64/gdb-index-dwarf4/a.o out/test/aarch64/gdb-index-dwarf4/b.o -Wl,--gdb-index +88: + cat +84: + grep -q 'Hello world' +84: + DEBUGINFOD_URLS= +84: + gdb out/test/aarch64/gdb-index-compress-output/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit +88: + cat 72: + grep -Fq baz out/test/aarch64/exclude-libs/log - 80/336 Test #83: aarch64-gc-sections ...................................... Passed 0.31 sec -test 92 - Start 92: aarch64-glibc-2.22-bug - -92: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/glibc-2.22-bug.sh" -92: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -92: Environment variables: -92: MACHINE=aarch64 -92: CPU= -92: Test timeout computed to be: 1500 -89: + cat -89: + cat -89: + cc -c -o out/test/aarch64/gdb-index-dwarf64/a.o out/test/aarch64/gdb-index-dwarf64/a.c -fPIC -g -ggnu-pubnames -gdwarf-5 -gdwarf64 -ffunction-sections -71: + c++ -B. -o out/test/aarch64/exception/exe5 out/test/aarch64/exception/b.o -pie -Wl,--gc-sections -72: + on_exit -72: + echo OK -72: OK -72: + exit 0 +88: + cat +83: + grep -q live_fn1 out/test/aarch64/gc-sections/log.2 +80: + od -x out/test/aarch64/filler/exe2 +88: + cat 91: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/gdb-index-split-dwarf.sh 91: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 91: ++ export LC_ALL=C @@ -6502,20 +6499,36 @@ 91: ++ QEMU= 91: ++ case $MACHINE in 91: ++ tlsdesc_opt=-mtls-dialect=desc - 81/336 Test #72: aarch64-exclude-libs ..................................... Passed 0.49 sec -test 93 - Start 93: aarch64-global-offset-table +72: + on_exit +72: + echo OK +72: OK +72: + exit 0 +88: + cc -c -o out/test/aarch64/gdb-index-dwarf5/a.o out/test/aarch64/gdb-index-dwarf5/a.c -fPIC -g -ggnu-pubnames -gdwarf-5 -ffunction-sections +83: + grep -q live_fn2 out/test/aarch64/gc-sections/log.2 + 80/336 Test #72: aarch64-exclude-libs ..................................... Passed 1.01 sec +test 92 + Start 92: aarch64-glibc-2.22-bug -93: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/global-offset-table.sh" -93: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -93: Environment variables: -93: MACHINE=aarch64 -93: CPU= -93: Test timeout computed to be: 1500 +92: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/glibc-2.22-bug.sh" +92: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +92: Environment variables: +92: MACHINE=aarch64 +92: CPU= +92: Test timeout computed to be: 1500 91: +++ uname 91: ++ '[' Linux = FreeBSD ']' 91: ++ trap 'on_error $LINENO' ERR 91: ++ trap on_exit EXIT +89: + cat +83: + grep -qv dead_fn1 out/test/aarch64/gc-sections/log.2 +89: + cat +91: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/gdb-index-split-dwarf.sh .sh +85: + grep -Fq .gdb_index +85: + readelf -WS out/test/aarch64/gdb-index-dwarf2/c.so +91: ++ testname=gdb-index-split-dwarf +91: ++ echo -n 'Testing gdb-index-split-dwarf ... ' +91: Testing gdb-index-split-dwarf ... ++ t=out/test/aarch64/gdb-index-split-dwarf +91: ++ mkdir -p out/test/aarch64/gdb-index-split-dwarf 92: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/glibc-2.22-bug.sh 92: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 92: ++ export LC_ALL=C @@ -6533,17 +6546,60 @@ 92: ++ QEMU= 92: ++ case $MACHINE in 92: ++ tlsdesc_opt=-mtls-dialect=desc -88: + cc -c -o out/test/aarch64/gdb-index-dwarf5/b.o out/test/aarch64/gdb-index-dwarf5/b.c -fPIC -g -ggnu-pubnames -gdwarf-4 -ffunction-sections -86: + grep -Fq .gdb_index -86: + readelf -WS out/test/aarch64/gdb-index-dwarf3/c.so +83: + grep -qv dead_fn2 out/test/aarch64/gc-sections/log.2 +89: + cat +85: + cc -c -o out/test/aarch64/gdb-index-dwarf2/d.o -fPIC -g -ggnu-pubnames -gdwarf-2 -xc - -gz +91: ++ set -x +91: + on_qemu +91: + '[' '' '!=' '' ']' +91: + grep -qw qemu /proc/cpuinfo +83: + grep -q live_var1 out/test/aarch64/gc-sections/log.2 +85: + cat 92: +++ uname -91: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/gdb-index-split-dwarf.sh .sh +80: + diff -q out/test/aarch64/filler/txt1 out/test/aarch64/filler/txt2 92: ++ '[' Linux = FreeBSD ']' 92: ++ trap 'on_error $LINENO' ERR 92: ++ trap on_exit EXIT +83: + grep -q live_var2 out/test/aarch64/gc-sections/log.2 +89: + cat +91: + '[' aarch64 = riscv64 -o aarch64 = riscv32 -o aarch64 = sparc64 ']' +91: + command -v gdb +91: + test_cflags -gdwarf-5 -g +86: + readelf -WS out/test/aarch64/gdb-index-dwarf3/c.so +80: + on_exit +80: + echo OK +80: OK +80: + exit 0 92: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/glibc-2.22-bug.sh .sh +92: ++ testname=glibc-2.22-bug +92: ++ echo -n 'Testing glibc-2.22-bug ... ' +92: Testing glibc-2.22-bug ... ++ t=out/test/aarch64/glibc-2.22-bug +92: ++ mkdir -p out/test/aarch64/glibc-2.22-bug +83: + grep -qv dead_var1 out/test/aarch64/gc-sections/log.2 +91: + echo 'int main() {}' + 81/336 Test #80: aarch64-filler ........................................... Passed 0.73 sec +test 93 + Start 93: aarch64-global-offset-table + +93: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/global-offset-table.sh" +93: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +93: Environment variables: +93: MACHINE=aarch64 +93: CPU= +93: Test timeout computed to be: 1500 +86: + grep -Fq .gdb_index +89: + cc -c -o out/test/aarch64/gdb-index-dwarf64/a.o out/test/aarch64/gdb-index-dwarf64/a.c -fPIC -g -ggnu-pubnames -gdwarf-5 -gdwarf64 -ffunction-sections +83: + grep -qv dead_var2 out/test/aarch64/gc-sections/log.2 +83: + out/test/aarch64/gc-sections/exe2 +92: ++ set -x +92: + cat +92: + cc -o out/test/aarch64/glibc-2.22-bug/a.o -fPIC -c -xc - +86: + cat 86: + cc -c -o out/test/aarch64/gdb-index-dwarf3/d.o -fPIC -g -ggnu-pubnames -gdwarf-3 -xc - -gz +71: + out/test/aarch64/exception/exe4 93: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/global-offset-table.sh +87: + grep -Fq .gdb_index +91: + cc -B. -gdwarf-5 -g -o /dev/null -xc - 93: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 93: ++ export LC_ALL=C 93: ++ LC_ALL=C @@ -6560,65 +6616,15 @@ 93: ++ QEMU= 93: ++ case $MACHINE in 93: ++ tlsdesc_opt=-mtls-dialect=desc -93: +++ uname -93: ++ '[' Linux = FreeBSD ']' -93: ++ trap 'on_error $LINENO' ERR -93: ++ trap on_exit EXIT -93: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/global-offset-table.sh .sh -91: ++ testname=gdb-index-split-dwarf -91: ++ echo -n 'Testing gdb-index-split-dwarf ... ' -91: Testing gdb-index-split-dwarf ... ++ t=out/test/aarch64/gdb-index-split-dwarf -91: ++ mkdir -p out/test/aarch64/gdb-index-split-dwarf -92: ++ testname=glibc-2.22-bug -92: ++ echo -n 'Testing glibc-2.22-bug ... ' -92: Testing glibc-2.22-bug ... ++ t=out/test/aarch64/glibc-2.22-bug -92: ++ mkdir -p out/test/aarch64/glibc-2.22-bug -93: ++ testname=global-offset-table -93: ++ echo -n 'Testing global-offset-table ... ' -93: Testing global-offset-table ... ++ t=out/test/aarch64/global-offset-table -93: ++ mkdir -p out/test/aarch64/global-offset-table -92: ++ set -x -86: + cat -91: ++ set -x -91: + on_qemu -91: + '[' '' '!=' '' ']' -91: + grep -qw qemu /proc/cpuinfo -85: + readelf -WS out/test/aarch64/gdb-index-dwarf2/exe -93: ++ set -x -93: + '[' aarch64 = ppc64le ']' -91: + '[' aarch64 = riscv64 -o aarch64 = riscv32 -o aarch64 = sparc64 ']' -91: + command -v gdb -91: + test_cflags -gdwarf-5 -g -92: + cat -92: + cc -o out/test/aarch64/glibc-2.22-bug/a.o -fPIC -c -xc - -91: + echo 'int main() {}' -91: + cc -B. -gdwarf-5 -g -o /dev/null -xc - -93: + cc -fPIC -c -o out/test/aarch64/global-offset-table/a.o -xc - -85: + grep -Fq .gdb_index -85: + grep -q 'Hello world' -89: + cc -c -o out/test/aarch64/gdb-index-dwarf64/b.o out/test/aarch64/gdb-index-dwarf64/b.c -fPIC -g -ggnu-pubnames -gdwarf-4 -gdwarf64 -ffunction-sections -80: + od -x out/test/aarch64/filler/exe2 -71: + out/test/aarch64/exception/exe5 -93: + cat -85: + out/test/aarch64/gdb-index-dwarf2/exe -85: + DEBUGINFOD_URLS= -85: + gdb out/test/aarch64/gdb-index-dwarf2/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit -71: + c++ -B. -o out/test/aarch64/exception/exe6 out/test/aarch64/exception/c.o -no-pie -static -pthread -Wl,--gc-sections -86: + cc -B. -o out/test/aarch64/gdb-index-dwarf3/exe out/test/aarch64/gdb-index-dwarf3/c.so out/test/aarch64/gdb-index-dwarf3/d.o -Wl,--gdb-index +88: + cc -c -o out/test/aarch64/gdb-index-dwarf5/b.o out/test/aarch64/gdb-index-dwarf5/b.c -fPIC -g -ggnu-pubnames -gdwarf-4 -ffunction-sections +71: + c++ -B. -o out/test/aarch64/exception/exe5 out/test/aarch64/exception/b.o -pie -Wl,--gc-sections +83: + grep -q '1 2' 87: + readelf -WS out/test/aarch64/gdb-index-dwarf4/c.so -87: + grep -Fq .gdb_index -88: + cc -c -o out/test/aarch64/gdb-index-dwarf5/c.o out/test/aarch64/gdb-index-dwarf5/c.c -fPIC -g -ggnu-pubnames -gdwarf-5 -87: + cc -c -o out/test/aarch64/gdb-index-dwarf4/d.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -gz -87: + cat -93: + cc -B. -no-pie -o out/test/aarch64/global-offset-table/exe out/test/aarch64/global-offset-table/a.o -Wl,-defsym=foo=_GLOBAL_OFFSET_TABLE_ -92: + cc -B. -o out/test/aarch64/glibc-2.22-bug/b.so -shared out/test/aarch64/glibc-2.22-bug/a.o -89: + cc -c -o out/test/aarch64/gdb-index-dwarf64/c.o out/test/aarch64/gdb-index-dwarf64/c.c -fPIC -g -ggnu-pubnames -gdwarf-5 -gdwarf64 -80: + diff -q out/test/aarch64/filler/txt1 out/test/aarch64/filler/txt2 -80: + on_exit -80: + echo OK -80: OK -80: + exit 0 - 82/336 Test #80: aarch64-filler ........................................... Passed 0.45 sec +83: + on_exit +83: + echo OK +83: OK +83: + exit 0 + 82/336 Test #83: aarch64-gc-sections ...................................... Passed 0.65 sec test 94 Start 94: aarch64-gnu-hash @@ -6628,7 +6634,8 @@ 94: MACHINE=aarch64 94: CPU= 94: Test timeout computed to be: 1500 -88: + cc -c -o out/test/aarch64/gdb-index-dwarf5/d.o out/test/aarch64/gdb-index-dwarf5/d.c -fPIC -g -ggnu-pubnames -gdwarf-5 -ffunction-sections +85: + cc -B. -o out/test/aarch64/gdb-index-dwarf2/exe out/test/aarch64/gdb-index-dwarf2/c.so out/test/aarch64/gdb-index-dwarf2/d.o -Wl,--gdb-index +87: + cc -c -o out/test/aarch64/gdb-index-dwarf4/d.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -gz 94: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/gnu-hash.sh 94: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 94: ++ export LC_ALL=C @@ -6646,38 +6653,53 @@ 94: ++ QEMU= 94: ++ case $MACHINE in 94: ++ tlsdesc_opt=-mtls-dialect=desc +87: + cat 94: +++ uname -87: + cc -B. -o out/test/aarch64/gdb-index-dwarf4/exe out/test/aarch64/gdb-index-dwarf4/c.so out/test/aarch64/gdb-index-dwarf4/d.o -Wl,--gdb-index +93: +++ uname 94: ++ '[' Linux = FreeBSD ']' 94: ++ trap 'on_error $LINENO' ERR 94: ++ trap on_exit EXIT -86: + readelf -WS out/test/aarch64/gdb-index-dwarf3/exe -86: + grep -Fq .gdb_index -89: + cc -c -o out/test/aarch64/gdb-index-dwarf64/d.o out/test/aarch64/gdb-index-dwarf64/d.c -fPIC -g -ggnu-pubnames -gdwarf-5 -gdwarf64 -ffunction-sections -92: + readelf -W --sections out/test/aarch64/glibc-2.22-bug/b.so 94: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/gnu-hash.sh .sh -86: + grep -q 'Hello world' -86: + out/test/aarch64/gdb-index-dwarf3/exe -92: + grep -E -A1 '\.rela?\.dyn' -91: + cat -86: + DEBUGINFOD_URLS= -86: + gdb out/test/aarch64/gdb-index-dwarf3/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit 94: ++ testname=gnu-hash 94: ++ echo -n 'Testing gnu-hash ... ' 94: Testing gnu-hash ... ++ t=out/test/aarch64/gnu-hash 94: ++ mkdir -p out/test/aarch64/gnu-hash -91: + cat +93: ++ '[' Linux = FreeBSD ']' +93: ++ trap 'on_error $LINENO' ERR +93: ++ trap on_exit EXIT +93: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/global-offset-table.sh .sh +93: ++ testname=global-offset-table +93: ++ echo -n 'Testing global-offset-table ... ' +93: Testing global-offset-table ... ++ t=out/test/aarch64/global-offset-table +93: ++ mkdir -p out/test/aarch64/global-offset-table 94: ++ set -x -92: + grep -Eq '\.rela?\.plt' -91: + cat -93: + out/test/aarch64/global-offset-table/exe 94: + cc -c -o out/test/aarch64/gnu-hash/a.o -xc - +93: ++ set -x +93: + '[' aarch64 = ppc64le ']' +93: + cat +93: + cc -fPIC -c -o out/test/aarch64/global-offset-table/a.o -xc - 94: + cat +87: + cc -B. -o out/test/aarch64/gdb-index-dwarf4/exe out/test/aarch64/gdb-index-dwarf4/c.so out/test/aarch64/gdb-index-dwarf4/d.o -Wl,--gdb-index +93: + cc -B. -no-pie -o out/test/aarch64/global-offset-table/exe out/test/aarch64/global-offset-table/a.o -Wl,-defsym=foo=_GLOBAL_OFFSET_TABLE_ +92: + cc -B. -o out/test/aarch64/glibc-2.22-bug/b.so -shared out/test/aarch64/glibc-2.22-bug/a.o +86: + cc -B. -o out/test/aarch64/gdb-index-dwarf3/exe out/test/aarch64/gdb-index-dwarf3/c.so out/test/aarch64/gdb-index-dwarf3/d.o -Wl,--gdb-index +89: + cc -c -o out/test/aarch64/gdb-index-dwarf64/b.o out/test/aarch64/gdb-index-dwarf64/b.c -fPIC -g -ggnu-pubnames -gdwarf-4 -gdwarf64 -ffunction-sections +85: + readelf -WS out/test/aarch64/gdb-index-dwarf2/exe +85: + grep -Fq .gdb_index +88: + cc -c -o out/test/aarch64/gdb-index-dwarf5/c.o out/test/aarch64/gdb-index-dwarf5/c.c -fPIC -g -ggnu-pubnames -gdwarf-5 +94: + cc -B. -o out/test/aarch64/gnu-hash/b.so out/test/aarch64/gnu-hash/a.o -Wl,-hash-style=gnu -shared +85: + grep -q 'Hello world' +85: + out/test/aarch64/gdb-index-dwarf2/exe +85: + DEBUGINFOD_URLS= +85: + gdb out/test/aarch64/gdb-index-dwarf2/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit +92: + grep -Eq '\.rela?\.plt' +92: + grep -E -A1 '\.rela?\.dyn' +92: + readelf -W --sections out/test/aarch64/glibc-2.22-bug/b.so 92: + on_exit 92: + echo OK 92: OK 92: + exit 0 - 83/336 Test #92: aarch64-glibc-2.22-bug ................................... Passed 0.12 sec + 83/336 Test #92: aarch64-glibc-2.22-bug ................................... Passed 0.20 sec test 95 Start 95: aarch64-gnu-property @@ -6687,10 +6709,12 @@ 95: MACHINE=aarch64 95: CPU= 95: Test timeout computed to be: 1500 -91: + cat -88: + cc -B. -shared -o out/test/aarch64/gdb-index-dwarf5/e.so out/test/aarch64/gdb-index-dwarf5/a.o out/test/aarch64/gdb-index-dwarf5/b.o out/test/aarch64/gdb-index-dwarf5/c.o out/test/aarch64/gdb-index-dwarf5/d.o -Wl,--gdb-index -91: + cc -c -o out/test/aarch64/gdb-index-split-dwarf/a.o out/test/aarch64/gdb-index-split-dwarf/a.c -fPIC -g -ggnu-pubnames -gdwarf-5 -gsplit-dwarf +71: + out/test/aarch64/exception/exe5 +71: + c++ -B. -o out/test/aarch64/exception/exe6 out/test/aarch64/exception/c.o -no-pie -static -pthread -Wl,--gc-sections 95: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/gnu-property.sh +86: + readelf -WS out/test/aarch64/gdb-index-dwarf3/exe +86: + grep -Fq .gdb_index +93: + out/test/aarch64/global-offset-table/exe 95: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 95: ++ export LC_ALL=C 95: ++ LC_ALL=C @@ -6707,27 +6731,30 @@ 95: ++ QEMU= 95: ++ case $MACHINE in 95: ++ tlsdesc_opt=-mtls-dialect=desc -95: +++ uname -95: ++ '[' Linux = FreeBSD ']' -95: ++ trap 'on_error $LINENO' ERR -95: ++ trap on_exit EXIT +88: + cc -c -o out/test/aarch64/gdb-index-dwarf5/d.o out/test/aarch64/gdb-index-dwarf5/d.c -fPIC -g -ggnu-pubnames -gdwarf-5 -ffunction-sections +91: + cat +91: + cat +89: + cc -c -o out/test/aarch64/gdb-index-dwarf64/c.o out/test/aarch64/gdb-index-dwarf64/c.c -fPIC -g -ggnu-pubnames -gdwarf-5 -gdwarf64 +86: + grep -q 'Hello world' +86: + out/test/aarch64/gdb-index-dwarf3/exe 93: ++ out/test/aarch64/global-offset-table/exe 93: + GOT_ADDR=220980 93: + '[' aarch64 = x86_64 -o aarch64 = i686 ']' -95: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/gnu-property.sh .sh +91: + cat +91: + cat +86: + DEBUGINFOD_URLS= +86: + gdb out/test/aarch64/gdb-index-dwarf3/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit 93: + readelf -WS out/test/aarch64/global-offset-table/exe 93: + grep -q '\.got .*220980 ' -95: ++ testname=gnu-property -95: ++ echo -n 'Testing gnu-property ... ' -95: Testing gnu-property ... ++ t=out/test/aarch64/gnu-property -95: ++ mkdir -p out/test/aarch64/gnu-property -94: + cc -B. -o out/test/aarch64/gnu-hash/b.so out/test/aarch64/gnu-hash/a.o -Wl,-hash-style=gnu -shared +95: +++ uname +95: ++ '[' Linux = FreeBSD ']' +95: ++ trap 'on_error $LINENO' ERR +95: ++ trap on_exit EXIT 93: + on_exit 93: + echo OK 93: OK 93: + exit 0 -95: ++ set -x - 84/336 Test #93: aarch64-global-offset-table .............................. Passed 0.14 sec + 84/336 Test #93: aarch64-global-offset-table .............................. Passed 0.20 sec test 96 Start 96: aarch64-gnu-retain @@ -6737,19 +6764,18 @@ 96: MACHINE=aarch64 96: CPU= 96: Test timeout computed to be: 1500 -71: + out/test/aarch64/exception/exe6 -71: + '[' aarch64 = x86_64 ']' -71: + '[' aarch64 = x86_64 -o aarch64 = aarch64 ']' -71: + c++ -c -o out/test/aarch64/exception/e.o out/test/aarch64/exception/a.cc -mcmodel=large -fno-PIC -95: + cat -95: + cc -o out/test/aarch64/gnu-property/a.o -c -xc - -87: + readelf -WS out/test/aarch64/gdb-index-dwarf4/exe -87: + grep -Fq .gdb_index -87: + grep -q 'Hello world' -89: + cc -B. -shared -o out/test/aarch64/gdb-index-dwarf64/e.so out/test/aarch64/gdb-index-dwarf64/a.o out/test/aarch64/gdb-index-dwarf64/b.o out/test/aarch64/gdb-index-dwarf64/c.o out/test/aarch64/gdb-index-dwarf64/d.o -88: + grep -Fq .gdb_index -88: + readelf -WS out/test/aarch64/gdb-index-dwarf5/e.so +91: + cc -c -o out/test/aarch64/gdb-index-split-dwarf/a.o out/test/aarch64/gdb-index-split-dwarf/a.c -fPIC -g -ggnu-pubnames -gdwarf-5 -gsplit-dwarf +95: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/gnu-property.sh .sh +95: ++ testname=gnu-property +95: ++ echo -n 'Testing gnu-property ... ' +95: Testing gnu-property ... ++ t=out/test/aarch64/gnu-property +95: ++ mkdir -p out/test/aarch64/gnu-property +95: ++ set -x 96: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/gnu-retain.sh +94: + on_exit +94: + echo OK +94: OK +94: + exit 0 96: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 96: ++ export LC_ALL=C 96: ++ LC_ALL=C @@ -6766,35 +6792,18 @@ 96: ++ QEMU= 96: ++ case $MACHINE in 96: ++ tlsdesc_opt=-mtls-dialect=desc +95: + cc -o out/test/aarch64/gnu-property/a.o -c -xc - +95: + cat +87: + readelf -WS out/test/aarch64/gdb-index-dwarf4/exe +88: + cc -B. -shared -o out/test/aarch64/gdb-index-dwarf5/e.so out/test/aarch64/gdb-index-dwarf5/a.o out/test/aarch64/gdb-index-dwarf5/b.o out/test/aarch64/gdb-index-dwarf5/c.o out/test/aarch64/gdb-index-dwarf5/d.o -Wl,--gdb-index +87: + grep -Fq .gdb_index 96: +++ uname -88: + grep -q 'fn1: .* \[global, function\]' +87: + grep -q 'Hello world' 96: ++ '[' Linux = FreeBSD ']' 96: ++ trap 'on_error $LINENO' ERR 96: ++ trap on_exit EXIT -88: + readelf --debug=gdb_index out/test/aarch64/gdb-index-dwarf5/e.so + 85/336 Test #94: aarch64-gnu-hash ......................................... Passed 0.24 sec 87: + out/test/aarch64/gdb-index-dwarf4/exe -87: + DEBUGINFOD_URLS= -87: + gdb out/test/aarch64/gdb-index-dwarf4/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit -88: + grep -q 'char: .* \[static, type\]' -88: + readelf --debug=gdb_index out/test/aarch64/gdb-index-dwarf5/e.so -88: + cat -96: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/gnu-retain.sh .sh -88: + cc -c -o out/test/aarch64/gdb-index-dwarf5/f.o -fPIC -g -ggnu-pubnames -gdwarf-5 -xc - -gz -96: ++ testname=gnu-retain -96: ++ echo -n 'Testing gnu-retain ... ' -96: Testing gnu-retain ... ++ t=out/test/aarch64/gnu-retain -96: ++ mkdir -p out/test/aarch64/gnu-retain -91: + cc -c -o out/test/aarch64/gdb-index-split-dwarf/b.o out/test/aarch64/gdb-index-split-dwarf/b.c -fPIC -g -ggnu-pubnames -gdwarf-4 -gsplit-dwarf -95: + cc -B. -o out/test/aarch64/gnu-property/exe out/test/aarch64/gnu-property/a.o -no-pie -94: + on_exit -94: + echo OK -94: OK -94: + exit 0 -96: ++ set -x -96: + '[' aarch64 = ppc64 ']' -71: + c++ -B. -o out/test/aarch64/exception/exe9 out/test/aarch64/exception/e.o -no-pie -static -pthread -96: + cc -c -o out/test/aarch64/gnu-retain/a.o -xc - -ffunction-sections - 85/336 Test #94: aarch64-gnu-hash ......................................... Passed 0.10 sec test 97 Start 97: aarch64-gnu-unique @@ -6804,8 +6813,13 @@ 97: MACHINE=aarch64 97: CPU= 97: Test timeout computed to be: 1500 -96: + cat -89: + cc -B. -shared -o out/test/aarch64/gdb-index-dwarf64/f.so out/test/aarch64/gdb-index-dwarf64/a.o out/test/aarch64/gdb-index-dwarf64/b.o out/test/aarch64/gdb-index-dwarf64/c.o out/test/aarch64/gdb-index-dwarf64/d.o -Wl,--gdb-index +87: + DEBUGINFOD_URLS= +87: + gdb out/test/aarch64/gdb-index-dwarf4/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit +96: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/gnu-retain.sh .sh +96: ++ testname=gnu-retain +96: ++ echo -n 'Testing gnu-retain ... ' +96: Testing gnu-retain ... ++ t=out/test/aarch64/gnu-retain +96: ++ mkdir -p out/test/aarch64/gnu-retain 97: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/gnu-unique.sh 97: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 97: ++ export LC_ALL=C @@ -6832,23 +6846,39 @@ 97: ++ echo -n 'Testing gnu-unique ... ' 97: Testing gnu-unique ... ++ t=out/test/aarch64/gnu-unique 97: ++ mkdir -p out/test/aarch64/gnu-unique -88: + cc -B. -o out/test/aarch64/gdb-index-dwarf5/exe out/test/aarch64/gdb-index-dwarf5/e.so out/test/aarch64/gdb-index-dwarf5/f.o -Wl,--gdb-index -96: + grep -q '\.text\.foo.*AXR' -96: + readelf -WS out/test/aarch64/gnu-retain/a.o -95: + readelf -W --sections out/test/aarch64/gnu-property/exe -95: + grep -Fqw .note.gnu.property -96: + cc -B. -o out/test/aarch64/gnu-retain/exe out/test/aarch64/gnu-retain/a.o -Wl,-gc-sections +95: + cc -B. -o out/test/aarch64/gnu-property/exe out/test/aarch64/gnu-property/a.o -no-pie +96: ++ set -x +96: + '[' aarch64 = ppc64 ']' +96: + cat +96: + cc -c -o out/test/aarch64/gnu-retain/a.o -xc - -ffunction-sections +91: + cc -c -o out/test/aarch64/gdb-index-split-dwarf/b.o out/test/aarch64/gdb-index-split-dwarf/b.c -fPIC -g -ggnu-pubnames -gdwarf-4 -gsplit-dwarf 97: ++ set -x 97: + command -v g++ +71: + out/test/aarch64/exception/exe6 97: + cat 97: + g++ -o out/test/aarch64/gnu-unique/a.o -c -std=c++17 -fno-gnu-unique -xc++ - +89: + cc -c -o out/test/aarch64/gdb-index-dwarf64/d.o out/test/aarch64/gdb-index-dwarf64/d.c -fPIC -g -ggnu-pubnames -gdwarf-5 -gdwarf64 -ffunction-sections +71: + '[' aarch64 = x86_64 ']' +71: + '[' aarch64 = x86_64 -o aarch64 = aarch64 ']' +71: + c++ -c -o out/test/aarch64/exception/e.o out/test/aarch64/exception/a.cc -mcmodel=large -fno-PIC +96: + readelf -WS out/test/aarch64/gnu-retain/a.o +96: + grep -q '\.text\.foo.*AXR' +96: + cc -B. -o out/test/aarch64/gnu-retain/exe out/test/aarch64/gnu-retain/a.o -Wl,-gc-sections +88: + grep -Fq .gdb_index +88: + readelf -WS out/test/aarch64/gdb-index-dwarf5/e.so +88: + readelf --debug=gdb_index out/test/aarch64/gdb-index-dwarf5/e.so +88: + grep -q 'fn1: .* \[global, function\]' +88: + readelf --debug=gdb_index out/test/aarch64/gdb-index-dwarf5/e.so +95: + readelf -W --sections out/test/aarch64/gnu-property/exe +88: + grep -q 'char: .* \[static, type\]' +95: + grep -Fqw .note.gnu.property +91: + cc -c -o out/test/aarch64/gdb-index-split-dwarf/c.o out/test/aarch64/gdb-index-split-dwarf/c.c -fPIC -g -ggnu-pubnames -gdwarf-5 95: + skip 95: + echo skipped 95: skipped 95: + trap - EXIT 95: + exit 0 -91: + cc -c -o out/test/aarch64/gdb-index-split-dwarf/c.o out/test/aarch64/gdb-index-split-dwarf/c.c -fPIC -g -ggnu-pubnames -gdwarf-5 - 86/336 Test #95: aarch64-gnu-property .....................................***Skipped 0.11 sec + 86/336 Test #95: aarch64-gnu-property .....................................***Skipped 0.25 sec test 98 Start 98: aarch64-gnu-warning @@ -6858,7 +6888,9 @@ 98: MACHINE=aarch64 98: CPU= 98: Test timeout computed to be: 1500 -89: + grep -Fq .gdb_index +88: + cc -c -o out/test/aarch64/gdb-index-dwarf5/f.o -fPIC -g -ggnu-pubnames -gdwarf-5 -xc - -gz +88: + cat +71: + c++ -B. -o out/test/aarch64/exception/exe9 out/test/aarch64/exception/e.o -no-pie -static -pthread 98: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/gnu-warning.sh 98: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 98: ++ export LC_ALL=C @@ -6876,41 +6908,32 @@ 98: ++ QEMU= 98: ++ case $MACHINE in 98: ++ tlsdesc_opt=-mtls-dialect=desc +89: + cc -B. -shared -o out/test/aarch64/gdb-index-dwarf64/e.so out/test/aarch64/gdb-index-dwarf64/a.o out/test/aarch64/gdb-index-dwarf64/b.o out/test/aarch64/gdb-index-dwarf64/c.o out/test/aarch64/gdb-index-dwarf64/d.o +97: + g++ -o out/test/aarch64/gnu-unique/b.o -c -std=c++17 -fgnu-unique -xc++ - +97: + cat 98: +++ uname 98: ++ '[' Linux = FreeBSD ']' 98: ++ trap 'on_error $LINENO' ERR 98: ++ trap on_exit EXIT 98: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/gnu-warning.sh .sh -89: + readelf -WS out/test/aarch64/gdb-index-dwarf64/f.so 98: ++ testname=gnu-warning 98: ++ echo -n 'Testing gnu-warning ... ' 98: Testing gnu-warning ... ++ t=out/test/aarch64/gnu-warning 98: ++ mkdir -p out/test/aarch64/gnu-warning -89: + cat -89: + cc -c -o out/test/aarch64/gdb-index-dwarf64/g.o -fPIC -g -ggnu-pubnames -gdwarf-5 -xc - -gz 96: + nm out/test/aarch64/gnu-retain/exe +98: ++ set -x 91: + cc -c -o out/test/aarch64/gdb-index-split-dwarf/d.o out/test/aarch64/gdb-index-split-dwarf/d.c -fPIC -g -ggnu-pubnames -gdwarf-5 -gsplit-dwarf 96: + grep -q foo out/test/aarch64/gnu-retain/log -97: + g++ -o out/test/aarch64/gnu-unique/b.o -c -std=c++17 -fgnu-unique -xc++ - -98: ++ set -x -97: + cat -88: + grep -Fq .gdb_index -88: + readelf -WS out/test/aarch64/gdb-index-dwarf5/exe -96: + grep -q bar out/test/aarch64/gnu-retain/log -88: + grep -q 'main: .* \[global, function\]' -88: + readelf --debug=gdb_index out/test/aarch64/gdb-index-dwarf5/exe -98: + gcc -c -o out/test/aarch64/gnu-warning/a.o -xc - -88: + grep -q 'Hello world' -88: + out/test/aarch64/gdb-index-dwarf5/exe -88: + DEBUGINFOD_URLS= -88: + gdb out/test/aarch64/gdb-index-dwarf5/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit 98: + cat +98: + gcc -c -o out/test/aarch64/gnu-warning/a.o -xc - +88: + cc -B. -o out/test/aarch64/gdb-index-dwarf5/exe out/test/aarch64/gdb-index-dwarf5/e.so out/test/aarch64/gdb-index-dwarf5/f.o -Wl,--gdb-index +96: + grep -q bar out/test/aarch64/gnu-retain/log +97: + cc -B. -o out/test/aarch64/gnu-unique/exe out/test/aarch64/gnu-unique/a.o out/test/aarch64/gnu-unique/b.o -no-pie 96: + on_exit 96: + echo OK 96: OK 96: + exit 0 -71: + out/test/aarch64/exception/exe9 - 87/336 Test #96: aarch64-gnu-retain ....................................... Passed 0.14 sec + 87/336 Test #96: aarch64-gnu-retain ....................................... Passed 0.30 sec test 99 Start 99: aarch64-hash-style @@ -6920,9 +6943,7 @@ 99: MACHINE=aarch64 99: CPU= 99: Test timeout computed to be: 1500 -71: + c++ -B. -o out/test/aarch64/exception/exe10 out/test/aarch64/exception/e.o -no-pie 99: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/hash-style.sh -84: + grep -q 'hello () at .*:7' out/test/aarch64/gdb-index-compress-output/log 99: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 99: ++ export LC_ALL=C 99: ++ LC_ALL=C @@ -6939,20 +6960,30 @@ 99: ++ QEMU= 99: ++ case $MACHINE in 99: ++ tlsdesc_opt=-mtls-dialect=desc -84: + grep -q 'greet () at .*:11' out/test/aarch64/gdb-index-compress-output/log -97: + cc -B. -o out/test/aarch64/gnu-unique/exe out/test/aarch64/gnu-unique/a.o out/test/aarch64/gnu-unique/b.o -no-pie 99: +++ uname -89: + cc -B. -o out/test/aarch64/gdb-index-dwarf64/exe1 out/test/aarch64/gdb-index-dwarf64/e.so out/test/aarch64/gdb-index-dwarf64/g.o 99: ++ '[' Linux = FreeBSD ']' 99: ++ trap 'on_error $LINENO' ERR 99: ++ trap on_exit EXIT -84: + grep -q 'main () at .*:4' out/test/aarch64/gdb-index-compress-output/log -84: + on_exit -84: + echo OK -84: OK -84: + exit 0 -91: + cc -B. -shared -o out/test/aarch64/gdb-index-split-dwarf/e.so out/test/aarch64/gdb-index-split-dwarf/a.o out/test/aarch64/gdb-index-split-dwarf/b.o out/test/aarch64/gdb-index-split-dwarf/c.o out/test/aarch64/gdb-index-split-dwarf/d.o -Wl,--gdb-index - 88/336 Test #84: aarch64-gdb-index-compress-output ........................ Passed 0.61 sec +99: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/hash-style.sh .sh +99: ++ testname=hash-style +99: ++ echo -n 'Testing hash-style ... ' +99: Testing hash-style ... ++ t=out/test/aarch64/hash-style +99: ++ mkdir -p out/test/aarch64/hash-style +89: + cc -B. -shared -o out/test/aarch64/gdb-index-dwarf64/f.so out/test/aarch64/gdb-index-dwarf64/a.o out/test/aarch64/gdb-index-dwarf64/b.o out/test/aarch64/gdb-index-dwarf64/c.o out/test/aarch64/gdb-index-dwarf64/d.o -Wl,--gdb-index +63: + c++ -B. -o out/test/aarch64/emit-relocs-dead-sections/exe out/test/aarch64/emit-relocs-dead-sections/a.o out/test/aarch64/emit-relocs-dead-sections/b.o -Wl,-emit-relocs +97: + out/test/aarch64/gnu-unique/exe +99: ++ set -x +99: + cc -o out/test/aarch64/hash-style/a.o -c -xc - +97: + grep -q foo=5 +99: + cat +97: + on_exit +97: + echo OK +97: OK +97: + exit 0 +88: + readelf -WS out/test/aarch64/gdb-index-dwarf5/exe +88: + grep -Fq .gdb_index + 88/336 Test #97: aarch64-gnu-unique ....................................... Passed 0.33 sec +98: + cc -B. -o out/test/aarch64/gnu-warning/exe out/test/aarch64/gnu-warning/a.o -no-pie test 100 Start 100: aarch64-hello-dynamic @@ -6962,15 +6993,7 @@ 100: MACHINE=aarch64 100: CPU= 100: Test timeout computed to be: 1500 -99: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/hash-style.sh .sh -99: ++ testname=hash-style -99: ++ echo -n 'Testing hash-style ... ' -99: Testing hash-style ... ++ t=out/test/aarch64/hash-style -99: ++ mkdir -p out/test/aarch64/hash-style -99: ++ set -x -99: + cat -99: + cc -o out/test/aarch64/hash-style/a.o -c -xc - -98: + cc -B. -o out/test/aarch64/gnu-warning/exe out/test/aarch64/gnu-warning/a.o -no-pie +88: + readelf --debug=gdb_index out/test/aarch64/gdb-index-dwarf5/exe 100: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/hello-dynamic.sh 100: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 100: ++ export LC_ALL=C @@ -6988,39 +7011,29 @@ 100: ++ QEMU= 100: ++ case $MACHINE in 100: ++ tlsdesc_opt=-mtls-dialect=desc +88: + grep -q 'main: .* \[global, function\]' +89: + grep -Fq .gdb_index +91: + cc -B. -shared -o out/test/aarch64/gdb-index-split-dwarf/e.so out/test/aarch64/gdb-index-split-dwarf/a.o out/test/aarch64/gdb-index-split-dwarf/b.o out/test/aarch64/gdb-index-split-dwarf/c.o out/test/aarch64/gdb-index-split-dwarf/d.o -Wl,--gdb-index 100: +++ uname +99: + ./mold -shared -o out/test/aarch64/hash-style/b.so out/test/aarch64/hash-style/a.o +88: + grep -q 'Hello world' 100: ++ '[' Linux = FreeBSD ']' 100: ++ trap 'on_error $LINENO' ERR 100: ++ trap on_exit EXIT +89: + readelf -WS out/test/aarch64/gdb-index-dwarf64/f.so +88: + out/test/aarch64/gdb-index-dwarf5/exe +88: + DEBUGINFOD_URLS= +88: + gdb out/test/aarch64/gdb-index-dwarf5/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit +89: + cc -c -o out/test/aarch64/gdb-index-dwarf64/g.o -fPIC -g -ggnu-pubnames -gdwarf-5 -xc - -gz +89: + cat +98: + grep -q 'Hello world' +98: + out/test/aarch64/gnu-warning/exe +98: + on_exit +98: + echo OK +98: OK +98: + exit 0 100: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/hello-dynamic.sh .sh -100: ++ testname=hello-dynamic -100: ++ echo -n 'Testing hello-dynamic ... ' -100: Testing hello-dynamic ... ++ t=out/test/aarch64/hello-dynamic -100: ++ mkdir -p out/test/aarch64/hello-dynamic -89: + DEBUGINFOD_URLS= -89: + gdb out/test/aarch64/gdb-index-dwarf64/exe1 -nx -batch -ex 'b main' -ex r -ex quit -71: + out/test/aarch64/exception/exe10 -71: + '[' aarch64 '!=' riscv32 ']' -71: + c++ -B. -o out/test/aarch64/exception/exe11 out/test/aarch64/exception/b.o -pie -100: ++ set -x -100: + cat -99: + ./mold -shared -o out/test/aarch64/hash-style/b.so out/test/aarch64/hash-style/a.o -85: + grep -q 'hello2 () at .*:7' out/test/aarch64/gdb-index-dwarf2/log -85: + grep -q 'hello () at .*:4' out/test/aarch64/gdb-index-dwarf2/log -100: + cc -o out/test/aarch64/hello-dynamic/a.o -c -xc - -fno-PIE -97: + grep -q foo=5 -97: + out/test/aarch64/gnu-unique/exe -63: + c++ -B. -o out/test/aarch64/emit-relocs-dead-sections/exe out/test/aarch64/emit-relocs-dead-sections/a.o out/test/aarch64/emit-relocs-dead-sections/b.o -Wl,-emit-relocs -99: + readelf -WS out/test/aarch64/hash-style/b.so -97: + on_exit -97: + echo OK -97: OK -97: + exit 0 -85: + grep -q 'greet () at .*:8' out/test/aarch64/gdb-index-dwarf2/log -99: + grep -Fq ' .hash' -99: + grep -Fq ' .gnu.hash' -99: + readelf -WS out/test/aarch64/hash-style/b.so - 89/336 Test #97: aarch64-gnu-unique ....................................... Passed 0.16 sec + 89/336 Test #98: aarch64-gnu-warning ...................................... Passed 0.25 sec test 101 Start 101: aarch64-hello-static @@ -7030,8 +7043,21 @@ 101: MACHINE=aarch64 101: CPU= 101: Test timeout computed to be: 1500 -85: + grep -q 'main () at .*:4' out/test/aarch64/gdb-index-dwarf2/log -99: + ./mold -shared -o out/test/aarch64/hash-style/c.so out/test/aarch64/hash-style/a.o --hash-style=both --hash-style=none +100: ++ testname=hello-dynamic +100: ++ echo -n 'Testing hello-dynamic ... ' +100: Testing hello-dynamic ... ++ t=out/test/aarch64/hello-dynamic +100: ++ mkdir -p out/test/aarch64/hello-dynamic +100: ++ set -x +84: + grep -q 'hello () at .*:7' out/test/aarch64/gdb-index-compress-output/log +63: + out/test/aarch64/emit-relocs-dead-sections/exe +63: + grep -q 'Hello world' +100: + cc -o out/test/aarch64/hello-dynamic/a.o -c -xc - -fno-PIE +71: + out/test/aarch64/exception/exe9 +63: + on_exit +63: + echo OK +63: OK +63: + exit 0 +100: + cat 101: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/hello-static.sh 101: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 101: ++ export LC_ALL=C @@ -7049,22 +7075,9 @@ 101: ++ QEMU= 101: ++ case $MACHINE in 101: ++ tlsdesc_opt=-mtls-dialect=desc -99: + readelf -WS out/test/aarch64/hash-style/c.so -91: + grep -Fq .gdb_index -91: + readelf -WS out/test/aarch64/gdb-index-split-dwarf/e.so -85: + on_exit -85: + echo OK -85: OK -85: + exit 0 -99: + grep -Fq ' .hash' out/test/aarch64/hash-style/log -99: + grep -Fq ' .gnu.hash' out/test/aarch64/hash-style/log -99: + on_exit -99: + echo OK -99: OK -99: + exit 0 -101: +++ uname - 90/336 Test #85: aarch64-gdb-index-dwarf2 ................................. Passed 0.66 sec - 91/336 Test #99: aarch64-hash-style ....................................... Passed 0.08 sec + 90/336 Test #63: aarch64-emit-relocs-dead-sections ........................ Passed 2.06 sec +84: + grep -q 'greet () at .*:11' out/test/aarch64/gdb-index-compress-output/log +71: + c++ -B. -o out/test/aarch64/exception/exe10 out/test/aarch64/exception/e.o -no-pie test 102 Start 102: aarch64-help @@ -7074,17 +7087,7 @@ 102: MACHINE=aarch64 102: CPU= 102: Test timeout computed to be: 1500 -test 103 - Start 103: aarch64-hidden-archive - -103: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/hidden-archive.sh" -103: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -103: Environment variables: -103: MACHINE=aarch64 -103: CPU= -103: Test timeout computed to be: 1500 -91: + cc -c -o out/test/aarch64/gdb-index-split-dwarf/f.o -fPIC -g -ggnu-pubnames -gdwarf-5 -gsplit-dwarf -xc - -gz -91: + cat +101: +++ uname 101: ++ '[' Linux = FreeBSD ']' 101: ++ trap 'on_error $LINENO' ERR 101: ++ trap on_exit EXIT @@ -7096,12 +7099,10 @@ 101: ++ set -x 101: + test_cflags -static 101: + echo 'int main() {}' -101: + cc -B. -static -o /dev/null -xc - -100: + cc -B. -o out/test/aarch64/hello-dynamic/exe out/test/aarch64/hello-dynamic/a.o -no-pie -71: + strip out/test/aarch64/exception/exe11 -71: + out/test/aarch64/exception/exe11 -63: + grep -q 'Hello world' -63: + out/test/aarch64/emit-relocs-dead-sections/exe +84: + grep -q 'main () at .*:4' out/test/aarch64/gdb-index-compress-output/log +99: + grep -Fq ' .hash' +99: + readelf -WS out/test/aarch64/hash-style/b.so +89: + cc -B. -o out/test/aarch64/gdb-index-dwarf64/exe1 out/test/aarch64/gdb-index-dwarf64/e.so out/test/aarch64/gdb-index-dwarf64/g.o 102: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/help.sh 102: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 102: ++ export LC_ALL=C @@ -7119,21 +7120,37 @@ 102: ++ QEMU= 102: ++ case $MACHINE in 102: ++ tlsdesc_opt=-mtls-dialect=desc +84: + on_exit +84: + echo OK +84: OK +84: + exit 0 +101: + cc -B. -static -o /dev/null -xc - + 91/336 Test #84: aarch64-gdb-index-compress-output ........................ Passed 1.31 sec +test 103 + Start 103: aarch64-hidden-archive + +103: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/hidden-archive.sh" +103: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +103: Environment variables: +103: MACHINE=aarch64 +103: CPU= +103: Test timeout computed to be: 1500 +99: + readelf -WS out/test/aarch64/hash-style/b.so +99: + grep -Fq ' .gnu.hash' +99: + ./mold -shared -o out/test/aarch64/hash-style/c.so out/test/aarch64/hash-style/a.o --hash-style=both --hash-style=none 102: +++ uname 102: ++ '[' Linux = FreeBSD ']' 102: ++ trap 'on_error $LINENO' ERR 102: ++ trap on_exit EXIT -103: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/hidden-archive.sh 102: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/help.sh .sh -71: + c++ -B. -o out/test/aarch64/exception/exe12 out/test/aarch64/exception/c.o -no-pie -63: + on_exit -63: + echo OK -63: OK -63: + exit 0 102: ++ testname=help 102: ++ echo -n 'Testing help ... ' 102: Testing help ... ++ t=out/test/aarch64/help 102: ++ mkdir -p out/test/aarch64/help +102: ++ set -x +102: + ./mold --help +100: + cc -B. -o out/test/aarch64/hello-dynamic/exe out/test/aarch64/hello-dynamic/a.o -no-pie +103: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/hidden-archive.sh 103: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 103: ++ export LC_ALL=C 103: ++ LC_ALL=C @@ -7150,20 +7167,8 @@ 103: ++ QEMU= 103: ++ case $MACHINE in 103: ++ tlsdesc_opt=-mtls-dialect=desc -103: +++ uname - 92/336 Test #63: aarch64-emit-relocs-dead-sections ........................ Passed 1.00 sec -test 104 - Start 104: aarch64-hidden-undef - -104: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/hidden-undef.sh" -104: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -104: Environment variables: -104: MACHINE=aarch64 -104: CPU= -104: Test timeout computed to be: 1500 -102: ++ set -x 102: + grep -q Usage -102: + ./mold --help +103: +++ uname 103: ++ '[' Linux = FreeBSD ']' 103: ++ trap 'on_error $LINENO' ERR 103: ++ trap on_exit EXIT @@ -7173,25 +7178,28 @@ 103: Testing hidden-archive ... ++ t=out/test/aarch64/hidden-archive 103: ++ mkdir -p out/test/aarch64/hidden-archive 103: ++ set -x -103: + cc -c -o out/test/aarch64/hidden-archive/a.o -fPIC -xc - -98: + grep -q 'Hello world' -103: + cat -98: + out/test/aarch64/gnu-warning/exe 102: + on_exit 102: + echo OK 102: OK 102: + exit 0 - 93/336 Test #102: aarch64-help ............................................. Passed 0.04 sec -test 105 - Start 105: aarch64-hidden-weak-undef +71: + out/test/aarch64/exception/exe10 +86: + grep -q 'hello2 () at .*:7' out/test/aarch64/gdb-index-dwarf3/log + 92/336 Test #102: aarch64-help ............................................. Passed 0.06 sec +test 104 + Start 104: aarch64-hidden-undef -105: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/hidden-weak-undef.sh" -105: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -105: Environment variables: -105: MACHINE=aarch64 -105: CPU= -105: Test timeout computed to be: 1500 +104: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/hidden-undef.sh" +104: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +104: Environment variables: +104: MACHINE=aarch64 +104: CPU= +104: Test timeout computed to be: 1500 +103: + cat +99: + readelf -WS out/test/aarch64/hash-style/c.so 104: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/hidden-undef.sh +103: + cc -c -o out/test/aarch64/hidden-archive/a.o -fPIC -xc - +99: + grep -Fq ' .hash' out/test/aarch64/hash-style/log +86: + grep -q 'hello () at .*:4' out/test/aarch64/gdb-index-dwarf3/log 104: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 104: ++ export LC_ALL=C 104: ++ LC_ALL=C @@ -7208,13 +7216,49 @@ 104: ++ QEMU= 104: ++ case $MACHINE in 104: ++ tlsdesc_opt=-mtls-dialect=desc -98: + on_exit -98: + echo OK -98: OK -98: + exit 0 -91: + cc -B. -o out/test/aarch64/gdb-index-split-dwarf/exe out/test/aarch64/gdb-index-split-dwarf/e.so out/test/aarch64/gdb-index-split-dwarf/f.o -Wl,--gdb-index -105: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/hidden-weak-undef.sh - 94/336 Test #98: aarch64-gnu-warning ...................................... Passed 0.18 sec +71: + '[' aarch64 '!=' riscv32 ']' +71: + c++ -B. -o out/test/aarch64/exception/exe11 out/test/aarch64/exception/b.o -pie +89: + DEBUGINFOD_URLS= +89: + gdb out/test/aarch64/gdb-index-dwarf64/exe1 -nx -batch -ex 'b main' -ex r -ex quit +86: + grep -q 'greet () at .*:8' out/test/aarch64/gdb-index-dwarf3/log +99: + grep -Fq ' .gnu.hash' out/test/aarch64/hash-style/log +104: +++ uname +104: ++ '[' Linux = FreeBSD ']' +104: ++ trap 'on_error $LINENO' ERR +104: ++ trap on_exit EXIT +99: + on_exit +99: + echo OK +99: OK +99: + exit 0 +100: + grep -q 'Hello world' +86: + grep -q 'main () at .*:4' out/test/aarch64/gdb-index-dwarf3/log +104: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/hidden-undef.sh .sh +104: ++ testname=hidden-undef +104: ++ echo -n 'Testing hidden-undef ... ' +104: Testing hidden-undef ... ++ t=out/test/aarch64/hidden-undef +104: ++ mkdir -p out/test/aarch64/hidden-undef + 93/336 Test #99: aarch64-hash-style ....................................... Passed 0.27 sec +test 105 + Start 105: aarch64-hidden-weak-undef + +105: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/hidden-weak-undef.sh" +105: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +105: Environment variables: +105: MACHINE=aarch64 +105: CPU= +105: Test timeout computed to be: 1500 +100: + out/test/aarch64/hello-dynamic/exe +100: + on_exit +100: + echo OK +100: OK +100: + exit 0 +86: + on_exit +86: + echo OK +86: OK +86: + exit 0 +103: + rm -f out/test/aarch64/hidden-archive/b.a + 94/336 Test #86: aarch64-gdb-index-dwarf3 ................................. Passed 1.33 sec + 95/336 Test #100: aarch64-hello-dynamic .................................... Passed 0.20 sec test 106 Start 106: aarch64-icf-safe @@ -7224,6 +7268,22 @@ 106: MACHINE=aarch64 106: CPU= 106: Test timeout computed to be: 1500 +test 107 + Start 107: aarch64-icf-small + +107: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/icf-small.sh" +107: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +107: Environment variables: +107: MACHINE=aarch64 +107: CPU= +107: Test timeout computed to be: 1500 +103: + ar rcs out/test/aarch64/hidden-archive/b.a out/test/aarch64/hidden-archive/a.o +103: + cc -shared -o out/test/aarch64/hidden-archive/c.so -fPIC -xc - +103: + cat +104: ++ set -x +104: + cat +104: + cc -o out/test/aarch64/hidden-undef/a.so -shared -fPIC -xc - +105: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/hidden-weak-undef.sh 105: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 105: ++ export LC_ALL=C 105: ++ LC_ALL=C @@ -7249,8 +7309,24 @@ 105: ++ echo -n 'Testing hidden-weak-undef ... ' 105: Testing hidden-weak-undef ... ++ t=out/test/aarch64/hidden-weak-undef 105: ++ mkdir -p out/test/aarch64/hidden-weak-undef -104: +++ uname -86: + grep -q 'hello2 () at .*:7' out/test/aarch64/gdb-index-dwarf3/log +91: + grep -Fq .gdb_index +107: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/icf-small.sh +107: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc +107: ++ export LC_ALL=C +107: ++ LC_ALL=C +107: ++ '[' -z aarch64 ']' +107: ++ '[' -z '' ']' +107: ++ TESTDIR=out/test/aarch64 +107: ++ CC=cc +107: ++ CXX=c++ +107: ++ GCC=gcc +107: ++ GXX=g++ +107: ++ OBJDUMP=objdump +107: ++ OBJCOPY=objcopy +107: ++ STRIP=strip +107: ++ QEMU= +107: ++ case $MACHINE in +107: ++ tlsdesc_opt=-mtls-dialect=desc 106: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/icf-safe.sh 106: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 106: ++ export LC_ALL=C @@ -7268,55 +7344,48 @@ 106: ++ QEMU= 106: ++ case $MACHINE in 106: ++ tlsdesc_opt=-mtls-dialect=desc -104: ++ '[' Linux = FreeBSD ']' -104: ++ trap 'on_error $LINENO' ERR -104: ++ trap on_exit EXIT -86: + grep -q 'hello () at .*:4' out/test/aarch64/gdb-index-dwarf3/log +85: + grep -q 'hello2 () at .*:7' out/test/aarch64/gdb-index-dwarf2/log +91: + readelf -WS out/test/aarch64/gdb-index-split-dwarf/e.so 106: +++ uname 106: ++ '[' Linux = FreeBSD ']' 106: ++ trap 'on_error $LINENO' ERR 106: ++ trap on_exit EXIT +107: +++ uname +107: ++ '[' Linux = FreeBSD ']' +107: ++ trap 'on_error $LINENO' ERR +107: ++ trap on_exit EXIT +85: + grep -q 'hello () at .*:4' out/test/aarch64/gdb-index-dwarf2/log +91: + cc -c -o out/test/aarch64/gdb-index-split-dwarf/f.o -fPIC -g -ggnu-pubnames -gdwarf-5 -gsplit-dwarf -xc - -gz +85: + grep -q 'greet () at .*:8' out/test/aarch64/gdb-index-dwarf2/log 106: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/icf-safe.sh .sh -86: + grep -q 'greet () at .*:8' out/test/aarch64/gdb-index-dwarf3/log -105: ++ set -x 106: ++ testname=icf-safe 106: ++ echo -n 'Testing icf-safe ... ' 106: Testing icf-safe ... ++ t=out/test/aarch64/icf-safe 106: ++ mkdir -p out/test/aarch64/icf-safe -105: + cc -o out/test/aarch64/hidden-weak-undef/a.o -fPIC -c -xc - -86: + grep -q 'main () at .*:4' out/test/aarch64/gdb-index-dwarf3/log +91: + cat +103: + cc -o out/test/aarch64/hidden-archive/d.o -fPIC -c -xc - +101: + cc -o out/test/aarch64/hello-static/a.o -c -xc - +105: ++ set -x +107: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/icf-small.sh .sh +103: + cat 105: + cat +107: ++ testname=icf-small +107: ++ echo -n 'Testing icf-small ... ' +107: Testing icf-small ... ++ t=out/test/aarch64/icf-small +107: ++ mkdir -p out/test/aarch64/icf-small +101: + cat +105: + cc -o out/test/aarch64/hidden-weak-undef/a.o -fPIC -c -xc - +107: ++ set -x +85: + grep -q 'main () at .*:4' out/test/aarch64/gdb-index-dwarf2/log +107: + cat +71: + strip out/test/aarch64/exception/exe11 +85: + on_exit +85: + echo OK +85: OK +85: + exit 0 106: ++ set -x 106: + '[' aarch64 = s390x ']' -106: + cc -c -o out/test/aarch64/icf-safe/a.o -ffunction-sections -fdata-sections -xc - -104: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/hidden-undef.sh .sh -104: ++ testname=hidden-undef -104: ++ echo -n 'Testing hidden-undef ... ' -104: Testing hidden-undef ... ++ t=out/test/aarch64/hidden-undef -104: ++ mkdir -p out/test/aarch64/hidden-undef -100: + out/test/aarch64/hello-dynamic/exe -86: + on_exit -86: + echo OK -86: OK -86: + exit 0 -100: + grep -q 'Hello world' - 95/336 Test #86: aarch64-gdb-index-dwarf3 ................................. Passed 0.69 sec -test 107 - Start 107: aarch64-icf-small - -107: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/icf-small.sh" -107: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -107: Environment variables: -107: MACHINE=aarch64 -107: CPU= -107: Test timeout computed to be: 1500 -100: + on_exit -100: + echo OK -100: OK -100: + exit 0 -103: + rm -f out/test/aarch64/hidden-archive/b.a -106: + cat - 96/336 Test #100: aarch64-hello-dynamic .................................... Passed 0.13 sec + 96/336 Test #85: aarch64-gdb-index-dwarf2 ................................. Passed 1.42 sec test 108 Start 108: aarch64-icf @@ -7326,25 +7395,13 @@ 108: MACHINE=aarch64 108: CPU= 108: Test timeout computed to be: 1500 +106: + cat +107: + cc -o out/test/aarch64/icf-small/a.o -c -ffunction-sections -xc - +71: + out/test/aarch64/exception/exe11 +106: + cc -c -o out/test/aarch64/icf-safe/a.o -ffunction-sections -fdata-sections -xc - +101: + cc -B. -o out/test/aarch64/hello-static/exe out/test/aarch64/hello-static/a.o -static 108: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/icf.sh -107: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/icf-small.sh -104: ++ set -x -107: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc -107: ++ export LC_ALL=C -107: ++ LC_ALL=C -107: ++ '[' -z aarch64 ']' -107: ++ '[' -z '' ']' -107: ++ TESTDIR=out/test/aarch64 -107: ++ CC=cc -107: ++ CXX=c++ -107: ++ GCC=gcc -107: ++ GXX=g++ -107: ++ OBJDUMP=objdump -107: ++ OBJCOPY=objcopy -107: ++ STRIP=strip -107: ++ QEMU= -107: ++ case $MACHINE in -107: ++ tlsdesc_opt=-mtls-dialect=desc +71: + c++ -B. -o out/test/aarch64/exception/exe12 out/test/aarch64/exception/c.o -no-pie 108: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 108: ++ export LC_ALL=C 108: ++ LC_ALL=C @@ -7361,13 +7418,7 @@ 108: ++ QEMU= 108: ++ case $MACHINE in 108: ++ tlsdesc_opt=-mtls-dialect=desc -104: + cc -o out/test/aarch64/hidden-undef/a.so -shared -fPIC -xc - -107: +++ uname 108: +++ uname -107: ++ '[' Linux = FreeBSD ']' -107: ++ trap 'on_error $LINENO' ERR -107: ++ trap on_exit EXIT -104: + cat 108: ++ '[' Linux = FreeBSD ']' 108: ++ trap 'on_error $LINENO' ERR 108: ++ trap on_exit EXIT @@ -7376,22 +7427,23 @@ 108: ++ echo -n 'Testing icf ... ' 108: Testing icf ... ++ t=out/test/aarch64/icf 108: ++ mkdir -p out/test/aarch64/icf -71: + strip out/test/aarch64/exception/exe12 -103: + ar rcs out/test/aarch64/hidden-archive/b.a out/test/aarch64/hidden-archive/a.o +104: + cc -o out/test/aarch64/hidden-undef/b.o -fPIC -c -xc - +104: + cat +107: + ./mold -o out/test/aarch64/icf-small/exe -icf=all out/test/aarch64/icf-small/a.o +103: + cc -B. -o out/test/aarch64/hidden-archive/exe out/test/aarch64/hidden-archive/d.o out/test/aarch64/hidden-archive/c.so out/test/aarch64/hidden-archive/b.a +91: + cc -B. -o out/test/aarch64/gdb-index-split-dwarf/exe out/test/aarch64/gdb-index-split-dwarf/e.so out/test/aarch64/gdb-index-split-dwarf/f.o -Wl,--gdb-index +105: + cc -B. -shared -o out/test/aarch64/hidden-weak-undef/b.so out/test/aarch64/hidden-weak-undef/a.o +106: + cat 108: ++ set -x 108: + '[' aarch64 = ppc64 ']' +106: + cc -c -o out/test/aarch64/icf-safe/b.o -ffunction-sections -fdata-sections -xc - 108: + cat -107: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/icf-small.sh .sh -71: + out/test/aarch64/exception/exe12 -107: ++ testname=icf-small -107: ++ echo -n 'Testing icf-small ... ' -107: Testing icf-small ... ++ t=out/test/aarch64/icf-small -107: ++ mkdir -p out/test/aarch64/icf-small -71: + on_exit -71: + echo OK -71: OK -71: + exit 0 - 97/336 Test #71: aarch64-exception ........................................ Passed 0.95 sec +108: + cc -c -o out/test/aarch64/icf/a.o -ffunction-sections -fdata-sections -xc - +107: + on_exit +107: + echo OK +107: OK +107: + exit 0 + 97/336 Test #107: aarch64-icf-small ........................................ Passed 0.15 sec test 109 Start 109: aarch64-ifunc-address-equality-exported @@ -7401,7 +7453,8 @@ 109: MACHINE=aarch64 109: CPU= 109: Test timeout computed to be: 1500 -108: + cc -c -o out/test/aarch64/icf/a.o -ffunction-sections -fdata-sections -xc - +105: + readelf -W --dyn-syms out/test/aarch64/hidden-weak-undef/b.so +105: + grep -qw foo out/test/aarch64/hidden-weak-undef/log 109: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/ifunc-address-equality-exported.sh 109: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 109: ++ export LC_ALL=C @@ -7423,34 +7476,24 @@ 109: ++ '[' Linux = FreeBSD ']' 109: ++ trap 'on_error $LINENO' ERR 109: ++ trap on_exit EXIT -103: + cat -107: ++ set -x -107: + cat -103: + cc -shared -o out/test/aarch64/hidden-archive/c.so -fPIC -xc - 109: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/ifunc-address-equality-exported.sh .sh 109: ++ testname=ifunc-address-equality-exported 109: ++ echo -n 'Testing ifunc-address-equality-exported ... ' 109: Testing ifunc-address-equality-exported ... ++ t=out/test/aarch64/ifunc-address-equality-exported 109: ++ mkdir -p out/test/aarch64/ifunc-address-equality-exported -105: + cc -B. -shared -o out/test/aarch64/hidden-weak-undef/b.so out/test/aarch64/hidden-weak-undef/a.o -107: + cc -o out/test/aarch64/icf-small/a.o -c -ffunction-sections -xc - -87: + grep -q 'hello2 () at .*:7' out/test/aarch64/gdb-index-dwarf4/log -106: + cc -c -o out/test/aarch64/icf-safe/b.o -ffunction-sections -fdata-sections -xc - -106: + cat -87: + grep -q 'hello () at .*:4' out/test/aarch64/gdb-index-dwarf4/log -87: + grep -q 'greet () at .*:8' out/test/aarch64/gdb-index-dwarf4/log -87: + grep -q 'main () at .*:4' out/test/aarch64/gdb-index-dwarf4/log -91: + grep -Fq .gdb_index -91: + readelf -WS out/test/aarch64/gdb-index-split-dwarf/exe +104: + cc -B. -o out/test/aarch64/hidden-undef/exe out/test/aarch64/hidden-undef/a.so out/test/aarch64/hidden-undef/b.o +108: + cc -B. -o out/test/aarch64/icf/exe out/test/aarch64/icf/a.o -Wl,-icf=all +105: + grep -qw bar out/test/aarch64/hidden-weak-undef/log +106: + cc -B. -o out/test/aarch64/icf-safe/exe1 -Wl,-icf=safe out/test/aarch64/icf-safe/a.o out/test/aarch64/icf-safe/b.o +71: + strip out/test/aarch64/exception/exe12 109: ++ set -x 109: + supports_ifunc 109: + is_musl -87: + on_exit -87: + echo OK -87: OK -87: + exit 0 -109: + grep -q musl - 98/336 Test #87: aarch64-gdb-index-dwarf4 ................................. Passed 0.71 sec +105: + on_exit +105: + echo OK +105: OK +105: + exit 0 + 98/336 Test #105: aarch64-hidden-weak-undef ................................ Passed 0.23 sec test 110 Start 110: aarch64-ifunc-address-equality @@ -7460,15 +7503,14 @@ 110: MACHINE=aarch64 110: CPU= 110: Test timeout computed to be: 1500 -91: + out/test/aarch64/gdb-index-split-dwarf/exe -91: + grep -q 'Hello world' -91: + on_exit -91: + echo OK -91: OK -91: + exit 0 -108: + cc -B. -o out/test/aarch64/icf/exe out/test/aarch64/icf/a.o -Wl,-icf=all +71: + out/test/aarch64/exception/exe12 +71: + on_exit +71: + echo OK +71: OK +71: + exit 0 109: + ldd --version - 99/336 Test #91: aarch64-gdb-index-split-dwarf ............................ Passed 0.49 sec +109: + grep -q musl + 99/336 Test #71: aarch64-exception ........................................ Passed 2.14 sec test 111 Start 111: aarch64-ifunc-alias @@ -7478,34 +7520,15 @@ 111: MACHINE=aarch64 111: CPU= 111: Test timeout computed to be: 1500 -109: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' 109: + cc -c -o /dev/null -xc - -104: + cat -104: + cc -o out/test/aarch64/hidden-undef/b.o -fPIC -c -xc - -107: + ./mold -o out/test/aarch64/icf-small/exe -icf=all out/test/aarch64/icf-small/a.o -111: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/ifunc-alias.sh -105: + readelf -W --dyn-syms out/test/aarch64/hidden-weak-undef/b.so -111: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc +109: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +101: + grep -q 'Hello world' +101: + out/test/aarch64/hello-static/exe +101: + on_exit +101: + echo OK +101: OK +101: + exit 0 110: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/ifunc-address-equality.sh -111: ++ export LC_ALL=C -111: ++ LC_ALL=C -111: ++ '[' -z aarch64 ']' -111: ++ '[' -z '' ']' -111: ++ TESTDIR=out/test/aarch64 -111: ++ CC=cc -111: ++ CXX=c++ -111: ++ GCC=gcc -111: ++ GXX=g++ -111: ++ OBJDUMP=objdump -111: ++ OBJCOPY=objcopy -111: ++ STRIP=strip -111: ++ QEMU= -111: ++ case $MACHINE in -111: ++ tlsdesc_opt=-mtls-dialect=desc -111: +++ uname -111: ++ '[' Linux = FreeBSD ']' -111: ++ trap 'on_error $LINENO' ERR -111: ++ trap on_exit EXIT 110: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 110: ++ export LC_ALL=C 110: ++ LC_ALL=C @@ -7522,13 +7545,13 @@ 110: ++ QEMU= 110: ++ case $MACHINE in 110: ++ tlsdesc_opt=-mtls-dialect=desc -103: + cc -o out/test/aarch64/hidden-archive/d.o -fPIC -c -xc - -103: + cat -107: + on_exit -107: + echo OK -107: OK -107: + exit 0 -100/336 Test #107: aarch64-icf-small ........................................ Passed 0.08 sec +103: + out/test/aarch64/hidden-archive/exe +103: + on_exit +103: + echo OK +103: OK +103: + exit 0 +100/336 Test #101: aarch64-hello-static ..................................... Passed 0.40 sec +101/336 Test #103: aarch64-hidden-archive ................................... Passed 0.35 sec test 112 Start 112: aarch64-ifunc-dlopen @@ -7538,14 +7561,75 @@ 112: MACHINE=aarch64 112: CPU= 112: Test timeout computed to be: 1500 -106: + cc -B. -o out/test/aarch64/icf-safe/exe1 -Wl,-icf=safe out/test/aarch64/icf-safe/a.o out/test/aarch64/icf-safe/b.o -105: + grep -qw foo out/test/aarch64/hidden-weak-undef/log -105: + grep -qw bar out/test/aarch64/hidden-weak-undef/log +test 113 + Start 113: aarch64-ifunc-dso + +113: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/ifunc-dso.sh" +113: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +113: Environment variables: +113: MACHINE=aarch64 +113: CPU= +113: Test timeout computed to be: 1500 +110: +++ uname +110: ++ '[' Linux = FreeBSD ']' +110: ++ trap 'on_error $LINENO' ERR +110: ++ trap on_exit EXIT +110: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/ifunc-address-equality.sh .sh +110: ++ testname=ifunc-address-equality +110: ++ echo -n 'Testing ifunc-address-equality ... ' +110: Testing ifunc-address-equality ... ++ t=out/test/aarch64/ifunc-address-equality +110: ++ mkdir -p out/test/aarch64/ifunc-address-equality +110: ++ set -x +110: + supports_ifunc +110: + is_musl +110: + grep -q musl +110: + ldd --version +111: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/ifunc-alias.sh +111: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc +111: ++ export LC_ALL=C +111: ++ LC_ALL=C +111: ++ '[' -z aarch64 ']' +111: ++ '[' -z '' ']' +111: ++ TESTDIR=out/test/aarch64 +111: ++ CC=cc +111: ++ CXX=c++ +111: ++ GCC=gcc +111: ++ GXX=g++ +111: ++ OBJDUMP=objdump +111: ++ OBJCOPY=objcopy +111: ++ STRIP=strip +111: ++ QEMU= +111: ++ case $MACHINE in +111: ++ tlsdesc_opt=-mtls-dialect=desc +111: +++ uname +111: ++ '[' Linux = FreeBSD ']' +111: ++ trap 'on_error $LINENO' ERR +111: ++ trap on_exit EXIT 111: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/ifunc-alias.sh .sh 111: ++ testname=ifunc-alias 111: ++ echo -n 'Testing ifunc-alias ... ' 111: Testing ifunc-alias ... ++ t=out/test/aarch64/ifunc-alias 111: ++ mkdir -p out/test/aarch64/ifunc-alias +111: ++ set -x +111: + supports_ifunc +111: + is_musl +108: + out/test/aarch64/icf/exe +108: + grep -q '1 0' +108: + on_exit +108: + echo OK +108: OK +108: + exit 0 +91: + readelf -WS out/test/aarch64/gdb-index-split-dwarf/exe +91: + grep -Fq .gdb_index +91: + out/test/aarch64/gdb-index-split-dwarf/exe +91: + grep -q 'Hello world' +91: + on_exit +91: + echo OK +91: OK +91: + exit 0 +87: + grep -q 'hello2 () at .*:7' out/test/aarch64/gdb-index-dwarf4/log +87: + grep -q 'hello () at .*:4' out/test/aarch64/gdb-index-dwarf4/log +87: + grep -q 'greet () at .*:8' out/test/aarch64/gdb-index-dwarf4/log 112: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/ifunc-dlopen.sh 112: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 112: ++ export LC_ALL=C @@ -7563,68 +7647,56 @@ 112: ++ QEMU= 112: ++ case $MACHINE in 112: ++ tlsdesc_opt=-mtls-dialect=desc -110: +++ uname 112: +++ uname -110: ++ '[' Linux = FreeBSD ']' -110: ++ trap 'on_error $LINENO' ERR -110: ++ trap on_exit EXIT 112: ++ '[' Linux = FreeBSD ']' 112: ++ trap 'on_error $LINENO' ERR 112: ++ trap on_exit EXIT -111: ++ set -x -111: + supports_ifunc -111: + is_musl +102/336 Test #91: aarch64-gdb-index-split-dwarf ............................ Passed 1.19 sec +103/336 Test #108: aarch64-icf .............................................. Passed 0.24 sec +test 114 + Start 114: aarch64-ifunc-dynamic + +114: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/ifunc-dynamic.sh" +114: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +114: Environment variables: +114: MACHINE=aarch64 +114: CPU= +114: Test timeout computed to be: 1500 +test 115 + Start 115: aarch64-ifunc-export + +115: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/ifunc-export.sh" +115: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +115: Environment variables: +115: MACHINE=aarch64 +115: CPU= +115: Test timeout computed to be: 1500 +110: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +110: + cc -c -o /dev/null -xc - +111: + ldd --version +111: + grep -q musl +111: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +111: + cc -c -o /dev/null -xc - +87: + grep -q 'main () at .*:4' out/test/aarch64/gdb-index-dwarf4/log +87: + on_exit +87: + echo OK +87: OK +87: + exit 0 112: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/ifunc-dlopen.sh .sh 112: ++ testname=ifunc-dlopen 112: ++ echo -n 'Testing ifunc-dlopen ... ' 112: Testing ifunc-dlopen ... ++ t=out/test/aarch64/ifunc-dlopen 112: ++ mkdir -p out/test/aarch64/ifunc-dlopen -111: + ldd --version -104: + cc -B. -o out/test/aarch64/hidden-undef/exe out/test/aarch64/hidden-undef/a.so out/test/aarch64/hidden-undef/b.o -110: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/ifunc-address-equality.sh .sh -101: + cc -o out/test/aarch64/hello-static/a.o -c -xc - -110: ++ testname=ifunc-address-equality -110: ++ echo -n 'Testing ifunc-address-equality ... ' -110: Testing ifunc-address-equality ... ++ t=out/test/aarch64/ifunc-address-equality -110: ++ mkdir -p out/test/aarch64/ifunc-address-equality -101: + cat -111: + grep -q musl -105: + on_exit -105: + echo OK -105: OK -105: + exit 0 -101/336 Test #105: aarch64-hidden-weak-undef ................................ Passed 0.12 sec -test 113 - Start 113: aarch64-ifunc-dso - -113: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/ifunc-dso.sh" -113: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -113: Environment variables: -113: MACHINE=aarch64 -113: CPU= -113: Test timeout computed to be: 1500 -110: ++ set -x -110: + supports_ifunc -110: + is_musl -110: + ldd --version -110: + grep -q musl -110: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -109: + cat -109: + cc -c -fPIC -o out/test/aarch64/ifunc-address-equality-exported/a.o -xc - -103: + cc -B. -o out/test/aarch64/hidden-archive/exe out/test/aarch64/hidden-archive/d.o out/test/aarch64/hidden-archive/c.so out/test/aarch64/hidden-archive/b.a 112: ++ set -x 112: + supports_ifunc 112: + is_musl -112: + ldd --version 112: + grep -q musl -111: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -111: + cc -c -o /dev/null -xc - -110: + cc -c -o /dev/null -xc - +112: + ldd --version +106: + grep -q '^0 0$' +106: + out/test/aarch64/icf-safe/exe1 +106: + cat +106: + cc -c -o out/test/aarch64/icf-safe/c.o -ffunction-sections -fdata-sections -xc - 113: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/ifunc-dso.sh -108: + grep -q '1 0' -108: + out/test/aarch64/icf/exe -112: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -112: + cc -c -o /dev/null -xc - 113: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 113: ++ export LC_ALL=C 113: ++ LC_ALL=C @@ -7641,20 +7713,6 @@ 113: ++ QEMU= 113: ++ case $MACHINE in 113: ++ tlsdesc_opt=-mtls-dialect=desc -108: + on_exit -108: + echo OK -108: OK -108: + exit 0 -102/336 Test #108: aarch64-icf .............................................. Passed 0.11 sec -test 114 - Start 114: aarch64-ifunc-dynamic - -114: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/ifunc-dynamic.sh" -114: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -114: Environment variables: -114: MACHINE=aarch64 -114: CPU= -114: Test timeout computed to be: 1500 113: +++ uname 113: ++ '[' Linux = FreeBSD ']' 113: ++ trap 'on_error $LINENO' ERR @@ -7664,16 +7722,18 @@ 113: ++ echo -n 'Testing ifunc-dso ... ' 113: Testing ifunc-dso ... ++ t=out/test/aarch64/ifunc-dso 113: ++ mkdir -p out/test/aarch64/ifunc-dso -106: + out/test/aarch64/icf-safe/exe1 -106: + grep -q '^0 0$' 113: ++ set -x 113: + supports_ifunc 113: + is_musl -101: + cc -B. -o out/test/aarch64/hello-static/exe out/test/aarch64/hello-static/a.o -static -114: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/ifunc-dynamic.sh -106: + cc -c -o out/test/aarch64/icf-safe/c.o -ffunction-sections -fdata-sections -xc - -109: + cc -B. -shared -o out/test/aarch64/ifunc-address-equality-exported/b.so out/test/aarch64/ifunc-address-equality-exported/a.o 113: + ldd --version +109: + cc -c -fPIC -o out/test/aarch64/ifunc-address-equality-exported/a.o -xc - +109: + cat +104: + grep -q 'undefined symbol: foo' out/test/aarch64/hidden-undef/log +104: + on_exit +104: + echo OK +104: OK +104: + exit 0 +114: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/ifunc-dynamic.sh 114: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 114: ++ export LC_ALL=C 114: ++ LC_ALL=C @@ -7690,41 +7750,38 @@ 114: ++ QEMU= 114: ++ case $MACHINE in 114: ++ tlsdesc_opt=-mtls-dialect=desc -106: + cat -113: + grep -q musl -104: + grep -q 'undefined symbol: foo' out/test/aarch64/hidden-undef/log -111: + cat -111: + cc -fPIC -o out/test/aarch64/ifunc-alias/a.o -c -xc - -113: + cc -c -o /dev/null -xc - -113: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' 114: +++ uname 114: ++ '[' Linux = FreeBSD ']' 114: ++ trap 'on_error $LINENO' ERR 114: ++ trap on_exit EXIT +104/336 Test #87: aarch64-gdb-index-dwarf4 ................................. Passed 1.64 sec +105/336 Test #104: aarch64-hidden-undef ..................................... Passed 0.42 sec +test 116 + Start 116: aarch64-ifunc-funcptr + +116: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/ifunc-funcptr.sh" +116: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +116: Environment variables: +116: MACHINE=aarch64 +116: CPU= +116: Test timeout computed to be: 1500 +test 117 + Start 117: aarch64-ifunc-noplt + +117: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/ifunc-noplt.sh" +117: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +117: Environment variables: +117: MACHINE=aarch64 +117: CPU= +117: Test timeout computed to be: 1500 +112: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +113: + grep -q musl +109: + cc -B. -shared -o out/test/aarch64/ifunc-address-equality-exported/b.so out/test/aarch64/ifunc-address-equality-exported/a.o 114: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/ifunc-dynamic.sh .sh 114: ++ testname=ifunc-dynamic 114: ++ echo -n 'Testing ifunc-dynamic ... ' 114: Testing ifunc-dynamic ... ++ t=out/test/aarch64/ifunc-dynamic 114: ++ mkdir -p out/test/aarch64/ifunc-dynamic -104: + on_exit -104: + echo OK -104: OK -104: + exit 0 -114: ++ set -x -114: + supports_ifunc -114: + is_musl -103/336 Test #104: aarch64-hidden-undef ..................................... Passed 0.17 sec -test 115 - Start 115: aarch64-ifunc-export - -115: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/ifunc-export.sh" -115: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -115: Environment variables: -115: MACHINE=aarch64 -115: CPU= -115: Test timeout computed to be: 1500 -114: + grep -q musl -114: + ldd --version 115: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/ifunc-export.sh 115: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 115: ++ export LC_ALL=C @@ -7742,47 +7799,17 @@ 115: ++ QEMU= 115: ++ case $MACHINE in 115: ++ tlsdesc_opt=-mtls-dialect=desc -112: + cat -112: + cc -fno-PIE -o out/test/aarch64/ifunc-dlopen/a.o -c -xc - -103: + out/test/aarch64/hidden-archive/exe -114: + cc -c -o /dev/null -xc - -114: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' 115: +++ uname 115: ++ '[' Linux = FreeBSD ']' 115: ++ trap 'on_error $LINENO' ERR 115: ++ trap on_exit EXIT -110: + cc -c -fno-PIE -o out/test/aarch64/ifunc-address-equality/a.o -xc - -110: + cat -106: + cc -B. -o out/test/aarch64/icf-safe/exe2 -Wl,-icf=safe out/test/aarch64/icf-safe/a.o out/test/aarch64/icf-safe/c.o -103: + on_exit -103: + echo OK -103: OK -103: + exit 0 -104/336 Test #103: aarch64-hidden-archive ................................... Passed 0.20 sec -test 116 - Start 116: aarch64-ifunc-funcptr - -116: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/ifunc-funcptr.sh" -116: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -116: Environment variables: -116: MACHINE=aarch64 -116: CPU= -116: Test timeout computed to be: 1500 -115: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/ifunc-export.sh .sh -115: ++ testname=ifunc-export -115: ++ echo -n 'Testing ifunc-export ... ' -115: Testing ifunc-export ... ++ t=out/test/aarch64/ifunc-export -115: ++ mkdir -p out/test/aarch64/ifunc-export -88: + grep -q 'fn8 () at .*/d.c:6' out/test/aarch64/gdb-index-dwarf5/log -115: ++ set -x -115: + supports_ifunc -115: + is_musl -88: + grep -q 'fn7 () at .*/d.c:10' out/test/aarch64/gdb-index-dwarf5/log -115: + grep -q musl -115: + ldd --version -114: + cc -o out/test/aarch64/ifunc-dynamic/a.o -c -xc - +114: ++ set -x +114: + supports_ifunc +114: + is_musl +113: + cc -c -o /dev/null -xc - +114: + ldd --version +112: + cc -c -o /dev/null -xc - 116: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/ifunc-funcptr.sh -113: + cat 116: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 116: ++ export LC_ALL=C 116: ++ LC_ALL=C @@ -7799,67 +7826,9 @@ 116: ++ QEMU= 116: ++ case $MACHINE in 116: ++ tlsdesc_opt=-mtls-dialect=desc -111: + cc -B. -o out/test/aarch64/ifunc-alias/exe1 out/test/aarch64/ifunc-alias/a.o -pie -88: + grep -q 'fn6 () at .*/c.c:4' out/test/aarch64/gdb-index-dwarf5/log -116: +++ uname -116: ++ '[' Linux = FreeBSD ']' -116: ++ trap 'on_error $LINENO' ERR -116: ++ trap on_exit EXIT -115: + cc -c -o /dev/null -xc - -115: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -116: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/ifunc-funcptr.sh .sh -116: ++ testname=ifunc-funcptr -116: ++ echo -n 'Testing ifunc-funcptr ... ' -116: Testing ifunc-funcptr ... ++ t=out/test/aarch64/ifunc-funcptr -116: ++ mkdir -p out/test/aarch64/ifunc-funcptr -114: + cat -113: + cc -fPIC -o out/test/aarch64/ifunc-dso/a.o -c -xc - -116: ++ set -x -116: + supports_ifunc -116: + is_musl -116: + ldd --version -88: + grep -q 'fn5 () at .*/c.c:8' out/test/aarch64/gdb-index-dwarf5/log -101: + grep -q 'Hello world' -88: + grep -q 'fn4 () at .*/b.c:4' out/test/aarch64/gdb-index-dwarf5/log -88: + grep -q 'fn3 () at .*/b.c:8' out/test/aarch64/gdb-index-dwarf5/log -116: + grep -q musl -109: + cc -c -fno-PIE -o out/test/aarch64/ifunc-address-equality-exported/c.o -xc - -101: + out/test/aarch64/hello-static/exe -109: + cat -116: + cc -c -o /dev/null -xc - -88: + grep -q 'fn2 () at .*/a.c:4' out/test/aarch64/gdb-index-dwarf5/log -116: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -112: + cc -fPIC -o out/test/aarch64/ifunc-dlopen/b.o -c -xc - -88: + grep -q 'fn1 () at .*/a.c:8' out/test/aarch64/gdb-index-dwarf5/log -101: + on_exit -101: + echo OK -101: OK -101: + exit 0 -105/336 Test #101: aarch64-hello-static ..................................... Passed 0.27 sec -test 117 - Start 117: aarch64-ifunc-noplt - -117: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/ifunc-noplt.sh" -117: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -117: Environment variables: -117: MACHINE=aarch64 -117: CPU= -117: Test timeout computed to be: 1500 -88: + on_exit -88: + echo OK -88: OK -88: + exit 0 -106/336 Test #88: aarch64-gdb-index-dwarf5 ................................. Passed 0.78 sec -test 118 - Start 118: aarch64-ifunc-static-pie - -118: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/ifunc-static-pie.sh" -118: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -118: Environment variables: -118: MACHINE=aarch64 -118: CPU= -118: Test timeout computed to be: 1500 +113: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' 117: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/ifunc-noplt.sh +111: + cat 117: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 117: ++ export LC_ALL=C 117: ++ LC_ALL=C @@ -7876,65 +7845,104 @@ 117: ++ QEMU= 117: ++ case $MACHINE in 117: ++ tlsdesc_opt=-mtls-dialect=desc +114: + grep -q musl +115: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/ifunc-export.sh .sh +115: ++ testname=ifunc-export +115: ++ echo -n 'Testing ifunc-export ... ' +115: Testing ifunc-export ... ++ t=out/test/aarch64/ifunc-export +115: ++ mkdir -p out/test/aarch64/ifunc-export +116: +++ uname +116: ++ '[' Linux = FreeBSD ']' +116: ++ trap 'on_error $LINENO' ERR +111: + cc -fPIC -o out/test/aarch64/ifunc-alias/a.o -c -xc - +116: ++ trap on_exit EXIT +114: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +114: + cc -c -o /dev/null -xc - 117: +++ uname -110: + cat 117: ++ '[' Linux = FreeBSD ']' 117: ++ trap 'on_error $LINENO' ERR 117: ++ trap on_exit EXIT -110: + cc -c -fPIC -o out/test/aarch64/ifunc-address-equality/b.o -xc - +106: + cc -B. -o out/test/aarch64/icf-safe/exe2 -Wl,-icf=safe out/test/aarch64/icf-safe/a.o out/test/aarch64/icf-safe/c.o +115: ++ set -x +115: + supports_ifunc +115: + is_musl +116: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/ifunc-funcptr.sh .sh +116: ++ testname=ifunc-funcptr +116: ++ echo -n 'Testing ifunc-funcptr ... ' +116: Testing ifunc-funcptr ... ++ t=out/test/aarch64/ifunc-funcptr +116: ++ mkdir -p out/test/aarch64/ifunc-funcptr 117: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/ifunc-noplt.sh .sh -118: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/ifunc-static-pie.sh +115: + ldd --version +115: + grep -q musl 117: ++ testname=ifunc-noplt 117: ++ echo -n 'Testing ifunc-noplt ... ' 117: Testing ifunc-noplt ... ++ t=out/test/aarch64/ifunc-noplt 117: ++ mkdir -p out/test/aarch64/ifunc-noplt -118: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc -118: ++ export LC_ALL=C -118: ++ LC_ALL=C -118: ++ '[' -z aarch64 ']' -118: ++ '[' -z '' ']' -118: ++ TESTDIR=out/test/aarch64 -118: ++ CC=cc -118: ++ CXX=c++ -118: ++ GCC=gcc -118: ++ GXX=g++ -118: ++ OBJDUMP=objdump -118: ++ OBJCOPY=objcopy -118: ++ STRIP=strip -118: ++ QEMU= -118: ++ case $MACHINE in -118: ++ tlsdesc_opt=-mtls-dialect=desc -112: + cat +116: ++ set -x +116: + supports_ifunc +116: + is_musl +110: + cc -c -fno-PIE -o out/test/aarch64/ifunc-address-equality/a.o -xc - +117: ++ set -x +117: + supports_ifunc +117: + is_musl +116: + grep -q musl +116: + ldd --version +115: + cc -c -o /dev/null -xc - +110: + cat +115: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +117: + grep -q musl +117: + ldd --version +116: + cc -c -o /dev/null -xc - +116: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' 113: + cat -118: +++ uname -118: ++ '[' Linux = FreeBSD ']' -118: ++ trap 'on_error $LINENO' ERR -118: ++ trap on_exit EXIT -118: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/ifunc-static-pie.sh .sh -118: ++ testname=ifunc-static-pie -118: ++ echo -n 'Testing ifunc-static-pie ... ' -118: Testing ifunc-static-pie ... ++ t=out/test/aarch64/ifunc-static-pie -118: ++ mkdir -p out/test/aarch64/ifunc-static-pie -118: ++ set -x -118: + test_cflags -static-pie -118: + cc -B. -static-pie -o /dev/null -xc - -118: + echo 'int main() {}' -113: + cc -fPIC -o out/test/aarch64/ifunc-dso/b.o -c -xc - -111: + grep -Eq '^(\S+) \1$' -111: + out/test/aarch64/ifunc-alias/exe1 +113: + cc -fPIC -o out/test/aarch64/ifunc-dso/a.o -c -xc - +117: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +117: + cc -c -o /dev/null -xc - +112: + cc -fno-PIE -o out/test/aarch64/ifunc-dlopen/a.o -c -xc - +109: + cc -c -fno-PIE -o out/test/aarch64/ifunc-address-equality-exported/c.o -xc - +112: + cat +114: + cat +110: + cc -c -fPIC -o out/test/aarch64/ifunc-address-equality/b.o -xc - +110: + cat +114: + cc -o out/test/aarch64/ifunc-dynamic/a.o -c -xc - +111: + cc -B. -o out/test/aarch64/ifunc-alias/exe1 out/test/aarch64/ifunc-alias/a.o -pie +109: + cat 106: + out/test/aarch64/icf-safe/exe2 +88: + grep -q 'fn8 () at .*/d.c:6' out/test/aarch64/gdb-index-dwarf5/log +88: + grep -q 'fn7 () at .*/d.c:10' out/test/aarch64/gdb-index-dwarf5/log 106: + grep foo2 out/test/aarch64/icf-safe/log2 +110: + cc -c -fno-PIE -o out/test/aarch64/ifunc-address-equality/c.o -xc - +110: + cat +113: + cat +113: + cc -fPIC -o out/test/aarch64/ifunc-dso/b.o -c -xc - 106: + on_exit 106: + echo OK 106: OK 106: + exit 0 -111: + cc -B. -o out/test/aarch64/ifunc-alias/exe2 out/test/aarch64/ifunc-alias/a.o -no-pie -117: ++ set -x -117: + supports_ifunc -117: + is_musl -117: + ldd --version +88: + grep -q 'fn6 () at .*/c.c:4' out/test/aarch64/gdb-index-dwarf5/log +88: + grep -q 'fn5 () at .*/c.c:8' out/test/aarch64/gdb-index-dwarf5/log +115: + cat 115: + cc -c -fPIC -o out/test/aarch64/ifunc-export/a.o -xc - -107/336 Test #106: aarch64-icf-safe ......................................... Passed 0.23 sec +88: + grep -q 'fn4 () at .*/b.c:4' out/test/aarch64/gdb-index-dwarf5/log +106/336 Test #106: aarch64-icf-safe ......................................... Passed 0.50 sec +test 118 + Start 118: aarch64-ifunc-static-pie + +118: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/ifunc-static-pie.sh" +118: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +118: Environment variables: +118: MACHINE=aarch64 +118: CPU= +118: Test timeout computed to be: 1500 +88: + grep -q 'fn3 () at .*/b.c:8' out/test/aarch64/gdb-index-dwarf5/log +88: + grep -q 'fn2 () at .*/a.c:4' out/test/aarch64/gdb-index-dwarf5/log +88: + grep -q 'fn1 () at .*/a.c:8' out/test/aarch64/gdb-index-dwarf5/log +88: + on_exit +88: + echo OK +88: OK +88: + exit 0 +117: + cat +107/336 Test #88: aarch64-gdb-index-dwarf5 ................................. Passed 1.66 sec test 119 Start 119: aarch64-ifunc-static @@ -7944,14 +7952,28 @@ 119: MACHINE=aarch64 119: CPU= 119: Test timeout computed to be: 1500 -117: + grep -q musl -115: + cat -114: + cc -B. -o out/test/aarch64/ifunc-dynamic/exe1 out/test/aarch64/ifunc-dynamic/a.o -Wl,-z,lazy -117: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -109: + cc -B. -o out/test/aarch64/ifunc-address-equality-exported/exe out/test/aarch64/ifunc-address-equality-exported/c.o out/test/aarch64/ifunc-address-equality-exported/b.so -no-pie -117: + cc -c -o /dev/null -xc - -110: + cc -c -fno-PIE -o out/test/aarch64/ifunc-address-equality/c.o -xc - +117: + cc -fPIC -o out/test/aarch64/ifunc-noplt/a.o -c -xc - -fno-plt +118: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/ifunc-static-pie.sh +118: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc +118: ++ export LC_ALL=C +118: ++ LC_ALL=C +118: ++ '[' -z aarch64 ']' +118: ++ '[' -z '' ']' +118: ++ TESTDIR=out/test/aarch64 +118: ++ CC=cc +118: ++ CXX=c++ +118: ++ GCC=gcc +118: ++ GXX=g++ +118: ++ OBJDUMP=objdump +118: ++ OBJCOPY=objcopy +118: ++ STRIP=strip +118: ++ QEMU= +118: ++ case $MACHINE in +118: ++ tlsdesc_opt=-mtls-dialect=desc +115: + cc -B. -shared -o out/test/aarch64/ifunc-export/b.so out/test/aarch64/ifunc-export/a.o +116: + cat 119: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/ifunc-static.sh +111: + out/test/aarch64/ifunc-alias/exe1 119: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 119: ++ export LC_ALL=C 119: ++ LC_ALL=C @@ -7968,29 +7990,50 @@ 119: ++ QEMU= 119: ++ case $MACHINE in 119: ++ tlsdesc_opt=-mtls-dialect=desc -116: + cat +111: + grep -Eq '^(\S+) \1$' +111: + cc -B. -o out/test/aarch64/ifunc-alias/exe2 out/test/aarch64/ifunc-alias/a.o -no-pie 116: + cc -c -fPIC -o out/test/aarch64/ifunc-funcptr/a.o -c -xc - -112: + cc -B. -o out/test/aarch64/ifunc-dlopen/c.so out/test/aarch64/ifunc-dlopen/b.o -shared -89: + grep -q 'DW_FORM_line_strp pointing outside of .debug_line_str' out/test/aarch64/gdb-index-dwarf64/log1 -89: + cc -B. -o out/test/aarch64/gdb-index-dwarf64/exe2 out/test/aarch64/gdb-index-dwarf64/f.so out/test/aarch64/gdb-index-dwarf64/g.o -Wl,--gdb-index -110: + cat +109: + cc -B. -o out/test/aarch64/ifunc-address-equality-exported/exe out/test/aarch64/ifunc-address-equality-exported/c.o out/test/aarch64/ifunc-address-equality-exported/b.so -no-pie +113: + cc -B. -o out/test/aarch64/ifunc-dso/c.so out/test/aarch64/ifunc-dso/b.o -shared +114: + cc -B. -o out/test/aarch64/ifunc-dynamic/exe1 out/test/aarch64/ifunc-dynamic/a.o -Wl,-z,lazy +118: +++ uname 119: +++ uname 119: ++ '[' Linux = FreeBSD ']' +118: ++ '[' Linux = FreeBSD ']' +118: ++ trap 'on_error $LINENO' ERR +118: ++ trap on_exit EXIT 119: ++ trap 'on_error $LINENO' ERR 119: ++ trap on_exit EXIT -111: + grep -Eq '^(\S+) \1$' +112: + cat +118: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/ifunc-static-pie.sh .sh +118: ++ testname=ifunc-static-pie +118: ++ echo -n 'Testing ifunc-static-pie ... ' +118: Testing ifunc-static-pie ... ++ t=out/test/aarch64/ifunc-static-pie +118: ++ mkdir -p out/test/aarch64/ifunc-static-pie +112: + cc -fPIC -o out/test/aarch64/ifunc-dlopen/b.o -c -xc - 119: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/ifunc-static.sh .sh -111: + out/test/aarch64/ifunc-alias/exe2 -115: + cc -B. -shared -o out/test/aarch64/ifunc-export/b.so out/test/aarch64/ifunc-export/a.o 119: ++ testname=ifunc-static 119: ++ echo -n 'Testing ifunc-static ... ' 119: Testing ifunc-static ... ++ t=out/test/aarch64/ifunc-static 119: ++ mkdir -p out/test/aarch64/ifunc-static -111: + on_exit -111: + echo OK -111: OK -111: + exit 0 -108/336 Test #111: aarch64-ifunc-alias ...................................... Passed 0.19 sec +119: ++ set -x +119: + test_cflags -static +119: + cc -B. -static -o /dev/null -xc - +119: + echo 'int main() {}' +110: + cc -B. -o out/test/aarch64/ifunc-address-equality/exe1 out/test/aarch64/ifunc-address-equality/a.o out/test/aarch64/ifunc-address-equality/b.o out/test/aarch64/ifunc-address-equality/c.o -no-pie +118: ++ set -x +118: + test_cflags -static-pie +118: + echo 'int main() {}' +89: + grep -q 'DW_FORM_line_strp pointing outside of .debug_line_str' out/test/aarch64/gdb-index-dwarf64/log1 +118: + cc -B. -static-pie -o /dev/null -xc - +115: + grep -Eq '(IFUNC|: 10)\s+GLOBAL DEFAULT.* foobar' +115: + readelf --dyn-syms out/test/aarch64/ifunc-export/b.so +89: + cc -B. -o out/test/aarch64/gdb-index-dwarf64/exe2 out/test/aarch64/gdb-index-dwarf64/f.so out/test/aarch64/gdb-index-dwarf64/g.o -Wl,--gdb-index +115: + on_exit +115: + echo OK +115: OK +115: + exit 0 +108/336 Test #115: aarch64-ifunc-export ..................................... Passed 0.27 sec test 120 Start 120: aarch64-image-base @@ -8000,29 +8043,9 @@ 120: MACHINE=aarch64 120: CPU= 120: Test timeout computed to be: 1500 -119: ++ set -x -119: + test_cflags -static -119: + cc -B. -static -o /dev/null -xc - -119: + echo 'int main() {}' -117: + cc -fPIC -o out/test/aarch64/ifunc-noplt/a.o -c -xc - -fno-plt -117: + cat -113: + cc -B. -o out/test/aarch64/ifunc-dso/c.so out/test/aarch64/ifunc-dso/b.o -shared -109: + out/test/aarch64/ifunc-address-equality-exported/exe -109: + grep -Eq '^(\S+) \1' -109: + on_exit -109: + echo OK -109: OK -109: + exit 0 -109/336 Test #109: aarch64-ifunc-address-equality-exported .................. Passed 0.25 sec -test 121 - Start 121: aarch64-init-array-priorities - -121: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/init-array-priorities.sh" -121: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -121: Environment variables: -121: MACHINE=aarch64 -121: CPU= -121: Test timeout computed to be: 1500 +116: + cat +116: + cc -c -fPIC -o out/test/aarch64/ifunc-funcptr/b.o -xc - +117: + cc -B. -o out/test/aarch64/ifunc-noplt/exe1 out/test/aarch64/ifunc-noplt/a.o -pie 120: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/image-base.sh 120: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 120: ++ export LC_ALL=C @@ -8040,23 +8063,48 @@ 120: ++ QEMU= 120: ++ case $MACHINE in 120: ++ tlsdesc_opt=-mtls-dialect=desc -120: +++ uname -120: ++ '[' Linux = FreeBSD ']' -114: + out/test/aarch64/ifunc-dynamic/exe1 +112: + cc -B. -o out/test/aarch64/ifunc-dlopen/c.so out/test/aarch64/ifunc-dlopen/b.o -shared 114: + grep -q 'Hello world' +114: + out/test/aarch64/ifunc-dynamic/exe1 114: + cc -B. -o out/test/aarch64/ifunc-dynamic/exe2 out/test/aarch64/ifunc-dynamic/a.o -Wl,-z,now -116: + cat -116: + cc -c -fPIC -o out/test/aarch64/ifunc-funcptr/b.o -xc - -110: + cc -B. -o out/test/aarch64/ifunc-address-equality/exe1 out/test/aarch64/ifunc-address-equality/a.o out/test/aarch64/ifunc-address-equality/b.o out/test/aarch64/ifunc-address-equality/c.o -no-pie +120: +++ uname +111: + out/test/aarch64/ifunc-alias/exe2 +120: ++ '[' Linux = FreeBSD ']' 120: ++ trap 'on_error $LINENO' ERR 120: ++ trap on_exit EXIT +116: + cc -c -fPIC -o out/test/aarch64/ifunc-funcptr/c.o -xc - +111: + grep -Eq '^(\S+) \1$' +110: + out/test/aarch64/ifunc-address-equality/exe1 +116: + cat +111: + on_exit +111: + echo OK +111: OK +111: + exit 0 +109/336 Test #111: aarch64-ifunc-alias ...................................... Passed 0.42 sec +test 121 + Start 121: aarch64-init-array-priorities + +121: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/init-array-priorities.sh" +121: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +121: Environment variables: +121: MACHINE=aarch64 +121: CPU= +121: Test timeout computed to be: 1500 +110: + grep -Eq '^(\S+) \1 (\S+) \2' +110: + readelf --dynamic out/test/aarch64/ifunc-address-equality/exe1 +110: + grep -q TEXTREL out/test/aarch64/ifunc-address-equality/log1 120: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/image-base.sh .sh 120: ++ testname=image-base 120: ++ echo -n 'Testing image-base ... ' 120: Testing image-base ... ++ t=out/test/aarch64/image-base 120: ++ mkdir -p out/test/aarch64/image-base +113: + grep -Eq '(IFUNC|: 10).*foobar' +113: + readelf -W --dyn-syms out/test/aarch64/ifunc-dso/c.so +113: + cc -B. -o out/test/aarch64/ifunc-dso/exe out/test/aarch64/ifunc-dso/a.o out/test/aarch64/ifunc-dso/c.so +109: + out/test/aarch64/ifunc-address-equality-exported/exe +120: ++ set -x +109: + grep -Eq '^(\S+) \1' 121: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/init-array-priorities.sh -112: + cc -B. -o out/test/aarch64/ifunc-dlopen/exe out/test/aarch64/ifunc-dlopen/a.o out/test/aarch64/ifunc-dlopen/c.so -no-pie -ldl 121: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 121: ++ export LC_ALL=C 121: ++ LC_ALL=C @@ -8073,50 +8121,47 @@ 121: ++ QEMU= 121: ++ case $MACHINE in 121: ++ tlsdesc_opt=-mtls-dialect=desc +110: + on_exit +110: + echo OK +110: OK +110: + exit 0 +110/336 Test #110: aarch64-ifunc-address-equality ........................... Passed 0.46 sec +test 122 + Start 122: aarch64-init-in-dso + +122: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/init-in-dso.sh" +122: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +122: Environment variables: +122: MACHINE=aarch64 +122: CPU= +122: Test timeout computed to be: 1500 +120: + cat +120: + cc -o out/test/aarch64/image-base/a.o -c -xc - +109: + on_exit +109: + echo OK +109: OK +109: + exit 0 121: +++ uname -120: ++ set -x 121: ++ '[' Linux = FreeBSD ']' 121: ++ trap 'on_error $LINENO' ERR 121: ++ trap on_exit EXIT +111/336 Test #109: aarch64-ifunc-address-equality-exported .................. Passed 0.53 sec +test 123 + Start 123: aarch64-init + +123: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/init.sh" +123: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +123: Environment variables: +123: MACHINE=aarch64 +123: CPU= +123: Test timeout computed to be: 1500 121: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/init-array-priorities.sh .sh 121: ++ testname=init-array-priorities 121: ++ echo -n 'Testing init-array-priorities ... ' 121: Testing init-array-priorities ... ++ t=out/test/aarch64/init-array-priorities 121: ++ mkdir -p out/test/aarch64/init-array-priorities -120: + cc -o out/test/aarch64/image-base/a.o -c -xc - -89: + readelf -WS out/test/aarch64/gdb-index-dwarf64/exe2 -120: + cat 121: ++ set -x 121: + is_musl -113: + readelf -W --dyn-syms out/test/aarch64/ifunc-dso/c.so -115: + readelf --dyn-syms out/test/aarch64/ifunc-export/b.so -89: + grep -Fq .gdb_index -121: + ldd --version -113: + grep -Eq '(IFUNC|: 10).*foobar' -89: + grep -q 'Hello world' -117: + cc -B. -o out/test/aarch64/ifunc-noplt/exe1 out/test/aarch64/ifunc-noplt/a.o -pie -115: + grep -Eq '(IFUNC|: 10)\s+GLOBAL DEFAULT.* foobar' -113: + cc -B. -o out/test/aarch64/ifunc-dso/exe out/test/aarch64/ifunc-dso/a.o out/test/aarch64/ifunc-dso/c.so -115: + on_exit -115: + echo OK -115: OK -115: + exit 0 -110/336 Test #115: aarch64-ifunc-export ..................................... Passed 0.16 sec -test 122 - Start 122: aarch64-init-in-dso - -122: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/init-in-dso.sh" -122: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -122: Environment variables: -122: MACHINE=aarch64 -122: CPU= -122: Test timeout computed to be: 1500 -89: + out/test/aarch64/gdb-index-dwarf64/exe2 -89: + DEBUGINFOD_URLS= -89: + gdb out/test/aarch64/gdb-index-dwarf64/exe2 -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit -118: + supports_ifunc -118: + is_musl -121: + grep -q musl 122: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/init-in-dso.sh 122: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 122: ++ export LC_ALL=C @@ -8134,63 +8179,18 @@ 122: ++ QEMU= 122: ++ case $MACHINE in 122: ++ tlsdesc_opt=-mtls-dialect=desc -116: + cc -c -fPIC -o out/test/aarch64/ifunc-funcptr/c.o -xc - 122: +++ uname -116: + cat +117: + out/test/aarch64/ifunc-noplt/exe1 +117: + grep -q 'Hello world' +117: + cc -B. -o out/test/aarch64/ifunc-noplt/exe2 out/test/aarch64/ifunc-noplt/a.o -no-pie +89: + grep -Fq .gdb_index +89: + readelf -WS out/test/aarch64/gdb-index-dwarf64/exe2 +121: + grep -q musl 122: ++ '[' Linux = FreeBSD ']' 122: ++ trap 'on_error $LINENO' ERR 122: ++ trap on_exit EXIT -122: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/init-in-dso.sh .sh -122: ++ testname=init-in-dso -122: ++ echo -n 'Testing init-in-dso ... ' -122: Testing init-in-dso ... ++ t=out/test/aarch64/init-in-dso -122: ++ mkdir -p out/test/aarch64/init-in-dso +121: + ldd --version 121: + cat -121: + cc -c -o out/test/aarch64/init-array-priorities/a.o -xc - -118: + ldd --version -122: ++ set -x -118: + grep -q musl -114: + out/test/aarch64/ifunc-dynamic/exe2 -114: + grep -q 'Hello world' -114: + on_exit -114: + echo OK -114: OK -114: + exit 0 -122: + cc -shared -o out/test/aarch64/init-in-dso/a.so -xc - -110: + grep -Eq '^(\S+) \1 (\S+) \2' -118: + cc -c -o /dev/null -xc - -118: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -120: + cc -B. -no-pie -o out/test/aarch64/image-base/exe1 out/test/aarch64/image-base/a.o -Wl,--image-base=0x8000000 -111/336 Test #114: aarch64-ifunc-dynamic .................................... Passed 0.21 sec -test 123 - Start 123: aarch64-init - -123: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/init.sh" -123: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -123: Environment variables: -123: MACHINE=aarch64 -123: CPU= -123: Test timeout computed to be: 1500 -112: + grep -q 'foo foo' -112: + out/test/aarch64/ifunc-dlopen/exe -112: + on_exit -112: + echo OK -112: OK -112: + exit 0 -122: + cat -117: + grep -q 'Hello world' -117: + out/test/aarch64/ifunc-noplt/exe1 -117: + cc -B. -o out/test/aarch64/ifunc-noplt/exe2 out/test/aarch64/ifunc-noplt/a.o -no-pie -112/336 Test #112: aarch64-ifunc-dlopen ..................................... Passed 0.25 sec -test 124 - Start 124: aarch64-initfirst - -124: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/initfirst.sh" -124: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -124: Environment variables: -124: MACHINE=aarch64 -124: CPU= -124: Test timeout computed to be: 1500 123: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/init.sh 123: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 123: ++ export LC_ALL=C @@ -8209,36 +8209,46 @@ 123: ++ case $MACHINE in 123: ++ tlsdesc_opt=-mtls-dialect=desc 123: +++ uname +122: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/init-in-dso.sh .sh +122: ++ testname=init-in-dso +122: ++ echo -n 'Testing init-in-dso ... ' +122: Testing init-in-dso ... ++ t=out/test/aarch64/init-in-dso +122: ++ mkdir -p out/test/aarch64/init-in-dso +116: + cc -B. -o out/test/aarch64/ifunc-funcptr/exe1 out/test/aarch64/ifunc-funcptr/a.o out/test/aarch64/ifunc-funcptr/b.o out/test/aarch64/ifunc-funcptr/c.o -pie +121: + cc -c -o out/test/aarch64/init-array-priorities/a.o -xc - 123: ++ '[' Linux = FreeBSD ']' 123: ++ trap 'on_error $LINENO' ERR 123: ++ trap on_exit EXIT +89: + grep -q 'Hello world' +122: ++ set -x +122: + cc -shared -o out/test/aarch64/init-in-dso/a.so -xc - +89: + out/test/aarch64/gdb-index-dwarf64/exe2 +89: + DEBUGINFOD_URLS= +89: + gdb out/test/aarch64/gdb-index-dwarf64/exe2 -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit +122: + cat +114: + grep -q 'Hello world' 123: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/init.sh .sh +114: + out/test/aarch64/ifunc-dynamic/exe2 123: ++ testname=init 123: ++ echo -n 'Testing init ... ' 123: Testing init ... ++ t=out/test/aarch64/init 123: ++ mkdir -p out/test/aarch64/init -123: ++ set -x -123: + cat -113: + grep -q 'Hello world' -113: + out/test/aarch64/ifunc-dso/exe -113: + on_exit -113: + echo OK -113: OK -113: + exit 0 -110: + out/test/aarch64/ifunc-address-equality/exe1 -110: + readelf --dynamic out/test/aarch64/ifunc-address-equality/exe1 -113/336 Test #113: aarch64-ifunc-dso ........................................ Passed 0.24 sec -test 125 - Start 125: aarch64-interpose +114: + on_exit +114: + echo OK +114: OK +114: + exit 0 +112/336 Test #114: aarch64-ifunc-dynamic .................................... Passed 0.44 sec +test 124 + Start 124: aarch64-initfirst -125: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/interpose.sh" -125: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -125: Environment variables: -125: MACHINE=aarch64 -125: CPU= -125: Test timeout computed to be: 1500 -123: + cc -o out/test/aarch64/init/a.o -c -xc - -110: + grep -q TEXTREL out/test/aarch64/ifunc-address-equality/log1 +124: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/initfirst.sh" +124: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +124: Environment variables: +124: MACHINE=aarch64 +124: CPU= +124: Test timeout computed to be: 1500 +113: + grep -q 'Hello world' +123: ++ set -x 124: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/initfirst.sh 124: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 124: ++ export LC_ALL=C @@ -8261,7 +8271,32 @@ 124: ++ trap 'on_error $LINENO' ERR 124: ++ trap on_exit EXIT 124: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/initfirst.sh .sh -116: + cc -B. -o out/test/aarch64/ifunc-funcptr/exe1 out/test/aarch64/ifunc-funcptr/a.o out/test/aarch64/ifunc-funcptr/b.o out/test/aarch64/ifunc-funcptr/c.o -pie +113: + out/test/aarch64/ifunc-dso/exe +124: ++ testname=initfirst +124: ++ echo -n 'Testing initfirst ... ' +124: Testing initfirst ... ++ t=out/test/aarch64/initfirst +124: ++ mkdir -p out/test/aarch64/initfirst +123: + cc -o out/test/aarch64/init/a.o -c -xc - +113: + on_exit +113: + echo OK +113: OK +113: + exit 0 +112: + cc -B. -o out/test/aarch64/ifunc-dlopen/exe out/test/aarch64/ifunc-dlopen/a.o out/test/aarch64/ifunc-dlopen/c.so -no-pie -ldl +123: + cat +113/336 Test #113: aarch64-ifunc-dso ........................................ Passed 0.50 sec +test 125 + Start 125: aarch64-interpose + +125: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/interpose.sh" +125: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +125: Environment variables: +125: MACHINE=aarch64 +125: CPU= +125: Test timeout computed to be: 1500 +120: + cc -B. -no-pie -o out/test/aarch64/image-base/exe1 out/test/aarch64/image-base/a.o -Wl,--image-base=0x8000000 +124: ++ set -x +124: + cat +124: + cc -c -fPIC -o out/test/aarch64/initfirst/a.o -xc - 125: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/interpose.sh 125: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 125: ++ export LC_ALL=C @@ -8279,15 +8314,34 @@ 125: ++ QEMU= 125: ++ case $MACHINE in 125: ++ tlsdesc_opt=-mtls-dialect=desc -124: ++ testname=initfirst -124: ++ echo -n 'Testing initfirst ... ' -124: Testing initfirst ... ++ t=out/test/aarch64/initfirst -124: ++ mkdir -p out/test/aarch64/initfirst -110: + on_exit -110: + echo OK -110: OK -110: + exit 0 -114/336 Test #110: aarch64-ifunc-address-equality ........................... Passed 0.30 sec +125: +++ uname +125: ++ '[' Linux = FreeBSD ']' +125: ++ trap 'on_error $LINENO' ERR +125: ++ trap on_exit EXIT +116: + out/test/aarch64/ifunc-funcptr/exe1 +116: + grep -q '^3$' +123: + cc -B. -o out/test/aarch64/init/exe out/test/aarch64/init/a.o -Wl,-init,foo +125: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/interpose.sh .sh +125: ++ testname=interpose +125: ++ echo -n 'Testing interpose ... ' +125: Testing interpose ... ++ t=out/test/aarch64/interpose +125: ++ mkdir -p out/test/aarch64/interpose +119: + supports_ifunc +119: + is_musl +119: + ldd --version +117: + grep -q 'Hello world' +116: + cc -B. -o out/test/aarch64/ifunc-funcptr/exe2 out/test/aarch64/ifunc-funcptr/a.o out/test/aarch64/ifunc-funcptr/b.o out/test/aarch64/ifunc-funcptr/c.o -no-pie +122: + cc -o out/test/aarch64/init-in-dso/b.o -c -xc - +117: + out/test/aarch64/ifunc-noplt/exe2 +121: + cat +121: + cc -c -o out/test/aarch64/init-array-priorities/b.o -xc - +117: + on_exit +117: + echo OK +117: OK +117: + exit 0 +122: + cat +119: + grep -q musl +114/336 Test #117: aarch64-ifunc-noplt ...................................... Passed 0.47 sec test 126 Start 126: aarch64-invalid-version-script @@ -8297,28 +8351,18 @@ 126: MACHINE=aarch64 126: CPU= 126: Test timeout computed to be: 1500 -119: + supports_ifunc -119: + is_musl -119: + grep -q musl -119: + ldd --version -124: ++ set -x -124: + cat -124: + cc -c -fPIC -o out/test/aarch64/initfirst/a.o -xc - -118: + cc -o out/test/aarch64/ifunc-static-pie/a.o -c -xc - -fPIC -118: + cat -125: +++ uname -121: + cat -126: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/invalid-version-script.sh -119: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +125: ++ set -x +125: + cc -c -fPIC -o out/test/aarch64/interpose/a.o -xc - +125: + cat +118: + supports_ifunc +118: + is_musl 119: + cc -c -o /dev/null -xc - -125: ++ '[' Linux = FreeBSD ']' -125: ++ trap 'on_error $LINENO' ERR -125: ++ trap on_exit EXIT -125: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/interpose.sh .sh -125: ++ testname=interpose -125: ++ echo -n 'Testing interpose ... ' -125: Testing interpose ... ++ t=out/test/aarch64/interpose -125: ++ mkdir -p out/test/aarch64/interpose +119: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +120: + grep -q 'Hello world' +120: + out/test/aarch64/image-base/exe1 +118: + ldd --version +118: + grep -q musl +126: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/invalid-version-script.sh 126: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 126: ++ export LC_ALL=C 126: ++ LC_ALL=C @@ -8335,33 +8379,19 @@ 126: ++ QEMU= 126: ++ case $MACHINE in 126: ++ tlsdesc_opt=-mtls-dialect=desc +120: + grep -Eq '.interp\s+PROGBITS\s+0*8000...\b' +120: + readelf -W --sections out/test/aarch64/image-base/exe1 +112: + out/test/aarch64/ifunc-dlopen/exe 126: +++ uname +118: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +112: + grep -q 'foo foo' +118: + cc -c -o /dev/null -xc - +112: + on_exit +112: + echo OK +112: OK +112: + exit 0 126: ++ '[' Linux = FreeBSD ']' -125: ++ set -x -126: ++ trap 'on_error $LINENO' ERR -126: ++ trap on_exit EXIT -120: + out/test/aarch64/image-base/exe1 -126: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/invalid-version-script.sh .sh -121: + cc -c -o out/test/aarch64/init-array-priorities/b.o -xc - -120: + grep -q 'Hello world' -125: + cc -c -fPIC -o out/test/aarch64/interpose/a.o -xc - -120: + readelf -W --sections out/test/aarch64/image-base/exe1 -120: + grep -Eq '.interp\s+PROGBITS\s+0*8000...\b' -117: + grep -q 'Hello world' -117: + out/test/aarch64/ifunc-noplt/exe2 -117: + on_exit -117: + echo OK -117: OK -117: + exit 0 -125: + cat -120: + cc -o out/test/aarch64/image-base/b.o -c -xc - -120: + cat -123: + cc -B. -o out/test/aarch64/init/exe out/test/aarch64/init/a.o -Wl,-init,foo -126: ++ testname=invalid-version-script -126: ++ echo -n 'Testing invalid-version-script ... ' -126: Testing invalid-version-script ... ++ t=out/test/aarch64/invalid-version-script -126: ++ mkdir -p out/test/aarch64/invalid-version-script -115/336 Test #117: aarch64-ifunc-noplt ...................................... Passed 0.18 sec +115/336 Test #112: aarch64-ifunc-dlopen ..................................... Passed 0.63 sec test 127 Start 127: aarch64-issue646 @@ -8371,13 +8401,20 @@ 127: MACHINE=aarch64 127: CPU= 127: Test timeout computed to be: 1500 -126: ++ set -x -126: + echo 'int main() {}' -126: + cc -c -o out/test/aarch64/invalid-version-script/a.o -xc - -122: + cc -o out/test/aarch64/init-in-dso/b.o -c -xc - -122: + cat +126: ++ trap 'on_error $LINENO' ERR +126: ++ trap on_exit EXIT +126: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/invalid-version-script.sh .sh +126: ++ testname=invalid-version-script +126: ++ echo -n 'Testing invalid-version-script ... ' +126: Testing invalid-version-script ... ++ t=out/test/aarch64/invalid-version-script +126: ++ mkdir -p out/test/aarch64/invalid-version-script +120: + cc -o out/test/aarch64/image-base/b.o -c -xc - +120: + cat +122: + cc -B. -o out/test/aarch64/init-in-dso/exe out/test/aarch64/init-in-dso/a.so out/test/aarch64/init-in-dso/b.o -Wl,-init,foo +121: + cat +121: + cc -c -o out/test/aarch64/init-array-priorities/c.o -xc - 124: + cc -B. -shared -o out/test/aarch64/initfirst/b.so out/test/aarch64/initfirst/a.o -Wl,-z,initfirst -119: + cat +126: ++ set -x 127: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/issue646.sh 127: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 127: ++ export LC_ALL=C @@ -8395,41 +8432,21 @@ 127: ++ QEMU= 127: ++ case $MACHINE in 127: ++ tlsdesc_opt=-mtls-dialect=desc +126: + cc -c -o out/test/aarch64/invalid-version-script/a.o -xc - +126: + echo 'int main() {}' 127: +++ uname -119: + cc -o out/test/aarch64/ifunc-static/a.o -c -xc - 127: ++ '[' Linux = FreeBSD ']' 127: ++ trap 'on_error $LINENO' ERR 127: ++ trap on_exit EXIT -127: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/issue646.sh .sh -127: ++ testname=issue646 -127: ++ echo -n 'Testing issue646 ... ' -127: Testing issue646 ... ++ t=out/test/aarch64/issue646 -127: ++ mkdir -p out/test/aarch64/issue646 -121: + cat -121: + cc -c -o out/test/aarch64/init-array-priorities/c.o -xc - -127: ++ set -x -127: + cat -120: + '[' aarch64 = x86-64 -o aarch64 = aarch64 ']' -120: + cc -B. -no-pie -o out/test/aarch64/image-base/exe2 out/test/aarch64/image-base/b.o -nostdlib -Wl,--image-base=0xffffffff80000000 -126: + echo 'VER1 { foo[12; };' -126: + cc -B. -shared -o out/test/aarch64/invalid-version-script/c.so -Wl,-version-script,out/test/aarch64/invalid-version-script/b.ver out/test/aarch64/invalid-version-script/a.o -118: + cc -B. -o out/test/aarch64/ifunc-static-pie/exe2 out/test/aarch64/ifunc-static-pie/a.o -static-pie -127: + c++ -o out/test/aarch64/issue646/a.o -c -xc++ - -125: + cc -B. -shared -o out/test/aarch64/interpose/b.so out/test/aarch64/interpose/a.o -Wl,-z,interpose -122: + cc -B. -o out/test/aarch64/init-in-dso/exe out/test/aarch64/init-in-dso/a.so out/test/aarch64/init-in-dso/b.o -Wl,-init,foo -116: + out/test/aarch64/ifunc-funcptr/exe1 -116: + grep -q '^3$' -116: + cc -B. -o out/test/aarch64/ifunc-funcptr/exe2 out/test/aarch64/ifunc-funcptr/a.o out/test/aarch64/ifunc-funcptr/b.o out/test/aarch64/ifunc-funcptr/c.o -no-pie -120: + grep -Eq '.interp\s+PROGBITS\s+ffffffff80000...\b' -120: + readelf -W --sections out/test/aarch64/image-base/exe2 123: + grep -Fq '(INIT)' +116: + out/test/aarch64/ifunc-funcptr/exe2 123: + readelf --dynamic out/test/aarch64/init/exe -124: + grep -q 'Flags:.*INITFIRST' -120: + on_exit -120: + echo OK -120: OK -120: + exit 0 -116/336 Test #120: aarch64-image-base ....................................... Passed 0.17 sec +116: + grep -q '^3$' +116: + on_exit +116: + echo OK +116: OK +116: + exit 0 +116/336 Test #116: aarch64-ifunc-funcptr .................................... Passed 0.58 sec test 128 Start 128: aarch64-large-alignment-dso @@ -8439,13 +8456,20 @@ 128: MACHINE=aarch64 128: CPU= 128: Test timeout computed to be: 1500 -124: + readelf --dynamic out/test/aarch64/initfirst/b.so -124: + on_exit -124: + echo OK -124: OK -124: + exit 0 123: + cc -B. -o out/test/aarch64/init/exe out/test/aarch64/init/a.o -Wl,-init,no-such-symbol -119: + cc -B. -o out/test/aarch64/ifunc-static/exe out/test/aarch64/ifunc-static/a.o -static +120: + '[' aarch64 = x86-64 -o aarch64 = aarch64 ']' +120: + cc -B. -no-pie -o out/test/aarch64/image-base/exe2 out/test/aarch64/image-base/b.o -nostdlib -Wl,--image-base=0xffffffff80000000 +119: + cc -o out/test/aarch64/ifunc-static/a.o -c -xc - +119: + cat +125: + cc -B. -shared -o out/test/aarch64/interpose/b.so out/test/aarch64/interpose/a.o -Wl,-z,interpose +127: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/issue646.sh .sh +127: ++ testname=issue646 +127: ++ echo -n 'Testing issue646 ... ' +127: Testing issue646 ... ++ t=out/test/aarch64/issue646 +127: ++ mkdir -p out/test/aarch64/issue646 +127: ++ set -x +118: + cat +122: + readelf --dynamic out/test/aarch64/init-in-dso/exe 128: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/large-alignment-dso.sh 128: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 128: ++ export LC_ALL=C @@ -8463,7 +8487,15 @@ 128: ++ QEMU= 128: ++ case $MACHINE in 128: ++ tlsdesc_opt=-mtls-dialect=desc -117/336 Test #124: aarch64-initfirst ........................................ Passed 0.10 sec +118: + cc -o out/test/aarch64/ifunc-static-pie/a.o -c -xc - -fPIC +122: + grep -Fq '(INIT)' out/test/aarch64/init-in-dso/log +127: + c++ -o out/test/aarch64/issue646/a.o -c -xc++ - +127: + cat +122: + on_exit +122: + echo OK +122: OK +122: + exit 0 +117/336 Test #122: aarch64-init-in-dso ...................................... Passed 0.29 sec test 129 Start 129: aarch64-large-alignment @@ -8473,15 +8505,13 @@ 129: MACHINE=aarch64 129: CPU= 129: Test timeout computed to be: 1500 +126: + echo 'VER1 { foo[12; };' +126: + cc -B. -shared -o out/test/aarch64/invalid-version-script/c.so -Wl,-version-script,out/test/aarch64/invalid-version-script/b.ver out/test/aarch64/invalid-version-script/a.o 128: +++ uname 128: ++ '[' Linux = FreeBSD ']' 128: ++ trap 'on_error $LINENO' ERR 128: ++ trap on_exit EXIT -128: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/large-alignment-dso.sh .sh -125: + grep -q 'Flags:.*INTERPOSE' 129: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/large-alignment.sh -125: + readelf --dynamic out/test/aarch64/interpose/b.so -121: + cc -c -o out/test/aarch64/init-array-priorities/d.o -xc - 129: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 129: ++ export LC_ALL=C 129: ++ LC_ALL=C @@ -8498,19 +8528,40 @@ 129: ++ QEMU= 129: ++ case $MACHINE in 129: ++ tlsdesc_opt=-mtls-dialect=desc -129: +++ uname -129: ++ '[' Linux = FreeBSD ']' -129: ++ trap 'on_error $LINENO' ERR -129: ++ trap on_exit EXIT +128: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/large-alignment-dso.sh .sh 128: ++ testname=large-alignment-dso 128: ++ echo -n 'Testing large-alignment-dso ... ' 128: Testing large-alignment-dso ... ++ t=out/test/aarch64/large-alignment-dso 128: ++ mkdir -p out/test/aarch64/large-alignment-dso -125: + on_exit -125: + echo OK -125: OK -125: + exit 0 -118/336 Test #125: aarch64-interpose ........................................ Passed 0.11 sec +129: +++ uname +129: ++ '[' Linux = FreeBSD ']' +129: ++ trap 'on_error $LINENO' ERR +129: ++ trap on_exit EXIT +128: ++ set -x +128: + '[' aarch64 = i686 ']' +129: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/large-alignment.sh .sh +129: ++ testname=large-alignment +129: ++ echo -n 'Testing large-alignment ... ' +129: Testing large-alignment ... ++ t=out/test/aarch64/large-alignment +129: ++ mkdir -p out/test/aarch64/large-alignment +128: + cat +128: + cc -o out/test/aarch64/large-alignment-dso/a.o -c -xc - -ffunction-sections -fPIC +119: + cc -B. -o out/test/aarch64/ifunc-static/exe out/test/aarch64/ifunc-static/a.o -static +121: + cc -c -o out/test/aarch64/init-array-priorities/d.o -xc - +129: ++ set -x +129: + '[' aarch64 = i686 ']' +129: + cc -o out/test/aarch64/large-alignment/a.o -c -xc - -ffunction-sections +121: + cat +118: + cc -B. -o out/test/aarch64/ifunc-static-pie/exe2 out/test/aarch64/ifunc-static-pie/a.o -static-pie +129: + cat +120: + readelf -W --sections out/test/aarch64/image-base/exe2 +124: + grep -q 'Flags:.*INITFIRST' +124: + readelf --dynamic out/test/aarch64/initfirst/b.so +124: + on_exit +124: + echo OK +124: OK +124: + exit 0 +118/336 Test #124: aarch64-initfirst ........................................ Passed 0.28 sec test 130 Start 130: aarch64-large-max-page-size-strip @@ -8520,19 +8571,23 @@ 130: MACHINE=aarch64 130: CPU= 130: Test timeout computed to be: 1500 -129: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/large-alignment.sh .sh -129: ++ testname=large-alignment -129: ++ echo -n 'Testing large-alignment ... ' -129: Testing large-alignment ... ++ t=out/test/aarch64/large-alignment -129: ++ mkdir -p out/test/aarch64/large-alignment -122: + readelf --dynamic out/test/aarch64/init-in-dso/exe -121: + cat -128: ++ set -x -128: + '[' aarch64 = i686 ']' -128: + cat -128: + cc -o out/test/aarch64/large-alignment-dso/a.o -c -xc - -ffunction-sections -fPIC -116: + out/test/aarch64/ifunc-funcptr/exe2 -122: + grep -Fq '(INIT)' out/test/aarch64/init-in-dso/log +120: + grep -Eq '.interp\s+PROGBITS\s+ffffffff80000...\b' +120: + on_exit +120: + echo OK +120: OK +120: + exit 0 +123: + readelf --dynamic out/test/aarch64/init/exe +119/336 Test #120: aarch64-image-base ....................................... Passed 0.44 sec +test 131 + Start 131: aarch64-large-max-page-size + +131: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/large-max-page-size.sh" +131: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +131: Environment variables: +131: MACHINE=aarch64 +131: CPU= +131: Test timeout computed to be: 1500 +123: + grep -Fq '(INIT)' out/test/aarch64/init/log 130: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/large-max-page-size-strip.sh 130: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 130: ++ export LC_ALL=C @@ -8550,38 +8605,22 @@ 130: ++ QEMU= 130: ++ case $MACHINE in 130: ++ tlsdesc_opt=-mtls-dialect=desc -122: + on_exit -122: + echo OK -122: OK -122: + exit 0 -119/336 Test #122: aarch64-init-in-dso ...................................... Passed 0.16 sec -test 131 - Start 131: aarch64-large-max-page-size +123: + on_exit +123: + echo OK +123: OK +123: + exit 0 +120/336 Test #123: aarch64-init ............................................. Passed 0.37 sec +test 132 + Start 132: aarch64-large-text -131: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/large-max-page-size.sh" -131: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -131: Environment variables: -131: MACHINE=aarch64 -131: CPU= -131: Test timeout computed to be: 1500 +132: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/large-text.sh" +132: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +132: Environment variables: +132: MACHINE=aarch64 +132: CPU= +132: Test timeout computed to be: 1500 130: +++ uname -130: ++ '[' Linux = FreeBSD ']' -130: ++ trap 'on_error $LINENO' ERR -130: ++ trap on_exit EXIT -130: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/large-max-page-size-strip.sh .sh -123: + readelf --dynamic out/test/aarch64/init/exe -123: + grep -Fq '(INIT)' out/test/aarch64/init/log -116: + grep -q '^3$' -130: ++ testname=large-max-page-size-strip -130: ++ echo -n 'Testing large-max-page-size-strip ... ' -130: Testing large-max-page-size-strip ... ++ t=out/test/aarch64/large-max-page-size-strip -130: ++ mkdir -p out/test/aarch64/large-max-page-size-strip 131: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/large-max-page-size.sh -130: ++ set -x -130: + '[' aarch64 = arm ']' -130: + strip=strip -130: + command -v strip -130: + cc -o out/test/aarch64/large-max-page-size-strip/a.o -c -xc - -fPIC 131: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 131: ++ export LC_ALL=C 131: ++ LC_ALL=C @@ -8598,42 +8637,27 @@ 131: ++ QEMU= 131: ++ case $MACHINE in 131: ++ tlsdesc_opt=-mtls-dialect=desc -123: + on_exit -123: + echo OK -123: OK -123: + exit 0 -116: + on_exit -116: + echo OK -116: OK -116: + exit 0 -120/336 Test #116: aarch64-ifunc-funcptr .................................... Passed 0.31 sec -129: ++ set -x -129: + '[' aarch64 = i686 ']' -test 132 - Start 132: aarch64-large-text - -132: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/large-text.sh" -132: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -132: Environment variables: -132: MACHINE=aarch64 -132: CPU= -132: Test timeout computed to be: 1500 -129: + cc -o out/test/aarch64/large-alignment/a.o -c -xc - -ffunction-sections -129: + cat -130: + cat +125: + grep -q 'Flags:.*INTERPOSE' +130: ++ '[' Linux = FreeBSD ']' +130: ++ trap 'on_error $LINENO' ERR +130: ++ trap on_exit EXIT +129: + cc -B. -o out/test/aarch64/large-alignment/exe out/test/aarch64/large-alignment/a.o +128: + cc -B. -o out/test/aarch64/large-alignment-dso/b.so out/test/aarch64/large-alignment-dso/a.o -shared +121: + cc -c -o out/test/aarch64/init-array-priorities/e.o -xc - +130: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/large-max-page-size-strip.sh .sh +121: + cat +125: + readelf --dynamic out/test/aarch64/interpose/b.so 126: + grep -q 'invalid version pattern' out/test/aarch64/invalid-version-script/log -126: + on_exit -126: + echo OK -126: OK -126: + exit 0 +132: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/large-text.sh 131: +++ uname +125: + on_exit +125: + echo OK +125: OK +125: + exit 0 131: ++ '[' Linux = FreeBSD ']' 131: ++ trap 'on_error $LINENO' ERR 131: ++ trap on_exit EXIT -121/336 Test #123: aarch64-init ............................................. Passed 0.15 sec -118: + out/test/aarch64/ifunc-static-pie/exe2 -118: + grep -q 'Hello world' -122/336 Test #126: aarch64-invalid-version-script ........................... Passed 0.12 sec +121/336 Test #125: aarch64-interpose ........................................ Passed 0.33 sec test 133 Start 133: aarch64-library @@ -8643,15 +8667,20 @@ 133: MACHINE=aarch64 133: CPU= 133: Test timeout computed to be: 1500 -test 134 - Start 134: aarch64-link-order - -134: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/link-order.sh" -134: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -134: Environment variables: -134: MACHINE=aarch64 -134: CPU= -134: Test timeout computed to be: 1500 +130: ++ testname=large-max-page-size-strip +130: ++ echo -n 'Testing large-max-page-size-strip ... ' +130: Testing large-max-page-size-strip ... ++ t=out/test/aarch64/large-max-page-size-strip +130: ++ mkdir -p out/test/aarch64/large-max-page-size-strip +130: ++ set -x +130: + '[' aarch64 = arm ']' +130: + strip=strip +130: + command -v strip +130: + cat +130: + cc -o out/test/aarch64/large-max-page-size-strip/a.o -c -xc - -fPIC +126: + on_exit +126: + echo OK +126: OK +126: + exit 0 131: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/large-max-page-size.sh .sh 131: ++ testname=large-max-page-size 131: ++ echo -n 'Testing large-max-page-size ... ' @@ -8659,11 +8688,7 @@ 131: ++ mkdir -p out/test/aarch64/large-max-page-size 131: ++ set -x 131: + cc -o out/test/aarch64/large-max-page-size/a.o -c -xc - -fPIC -118: + on_exit -118: + echo OK -118: OK -118: + exit 0 -132: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/large-text.sh +131: + cat 132: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 132: ++ export LC_ALL=C 132: ++ LC_ALL=C @@ -8689,8 +8714,23 @@ 132: ++ echo -n 'Testing large-text ... ' 132: Testing large-text ... ++ t=out/test/aarch64/large-text 132: ++ mkdir -p out/test/aarch64/large-text -132: ++ set -x -123/336 Test #118: aarch64-ifunc-static-pie ................................. Passed 0.29 sec +119: + grep -q 'Hello world' +119: + out/test/aarch64/ifunc-static/exe +119: + on_exit +119: + echo OK +119: OK +119: + exit 0 +122/336 Test #119: aarch64-ifunc-static ..................................... Passed 0.60 sec +123/336 Test #126: aarch64-invalid-version-script ........................... Passed 0.29 sec +test 134 + Start 134: aarch64-link-order + +134: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/link-order.sh" +134: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +134: Environment variables: +134: MACHINE=aarch64 +134: CPU= +134: Test timeout computed to be: 1500 test 135 Start 135: aarch64-linker-script-defsym @@ -8700,8 +8740,40 @@ 135: MACHINE=aarch64 135: CPU= 135: Test timeout computed to be: 1500 +130: + cc -B. -o out/test/aarch64/large-max-page-size-strip/exe out/test/aarch64/large-max-page-size-strip/a.o -pie -Wl,-zmax-page-size=0x200000 +132: ++ set -x 132: + cc -o out/test/aarch64/large-text/a.o -c -xassembler - 132: + cat +118: + grep -q 'Hello world' +118: + out/test/aarch64/ifunc-static-pie/exe2 +118: + on_exit +118: + echo OK +118: OK +118: + exit 0 +133: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/library.sh +133: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc +133: ++ export LC_ALL=C +133: ++ LC_ALL=C +133: ++ '[' -z aarch64 ']' +133: ++ '[' -z '' ']' +133: ++ TESTDIR=out/test/aarch64 +133: ++ CC=cc +133: ++ CXX=c++ +133: ++ GCC=gcc +133: ++ GXX=g++ +133: ++ OBJDUMP=objdump +133: ++ OBJCOPY=objcopy +133: ++ STRIP=strip +133: ++ QEMU= +133: ++ case $MACHINE in +133: ++ tlsdesc_opt=-mtls-dialect=desc +133: +++ uname +133: ++ '[' Linux = FreeBSD ']' +133: ++ trap 'on_error $LINENO' ERR +133: ++ trap on_exit EXIT +128: + cat +128: + cc -o out/test/aarch64/large-alignment-dso/c.o -c -xc - +121: + cat 134: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/link-order.sh 134: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 134: ++ export LC_ALL=C @@ -8719,15 +8791,25 @@ 134: ++ QEMU= 134: ++ case $MACHINE in 134: ++ tlsdesc_opt=-mtls-dialect=desc +124/336 Test #118: aarch64-ifunc-static-pie ................................. Passed 0.66 sec +test 136 + Start 136: aarch64-linker-script-error + +136: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/linker-script-error.sh" +136: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +136: Environment variables: +136: MACHINE=aarch64 +136: CPU= +136: Test timeout computed to be: 1500 +133: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/library.sh .sh +133: ++ testname=library +133: ++ echo -n 'Testing library ... ' +133: Testing library ... ++ t=out/test/aarch64/library +133: ++ mkdir -p out/test/aarch64/library 134: +++ uname 134: ++ '[' Linux = FreeBSD ']' 134: ++ trap 'on_error $LINENO' ERR 134: ++ trap on_exit EXIT -134: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/link-order.sh .sh -121: + cc -c -o out/test/aarch64/init-array-priorities/e.o -xc - -119: + grep -q 'Hello world' -119: + out/test/aarch64/ifunc-static/exe -133: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/library.sh 135: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/linker-script-defsym.sh 135: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 135: ++ export LC_ALL=C @@ -8745,72 +8827,11 @@ 135: ++ QEMU= 135: ++ case $MACHINE in 135: ++ tlsdesc_opt=-mtls-dialect=desc -131: + cat 135: +++ uname -133: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc -133: ++ export LC_ALL=C -133: ++ LC_ALL=C -121: + cat -133: ++ '[' -z aarch64 ']' -133: ++ '[' -z '' ']' -133: ++ TESTDIR=out/test/aarch64 -133: ++ CC=cc -133: ++ CXX=c++ -133: ++ GCC=gcc -133: ++ GXX=g++ -133: ++ OBJDUMP=objdump -133: ++ OBJCOPY=objcopy -133: ++ STRIP=strip -133: ++ QEMU= -133: ++ case $MACHINE in -133: ++ tlsdesc_opt=-mtls-dialect=desc -119: + on_exit -119: + echo OK -119: OK -119: + exit 0 135: ++ '[' Linux = FreeBSD ']' 135: ++ trap 'on_error $LINENO' ERR 135: ++ trap on_exit EXIT -134: ++ testname=link-order -134: ++ echo -n 'Testing link-order ... ' -134: Testing link-order ... ++ t=out/test/aarch64/link-order -134: ++ mkdir -p out/test/aarch64/link-order -124/336 Test #119: aarch64-ifunc-static ..................................... Passed 0.28 sec -test 136 - Start 136: aarch64-linker-script-error - -136: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/linker-script-error.sh" -136: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -136: Environment variables: -136: MACHINE=aarch64 -136: CPU= -136: Test timeout computed to be: 1500 -134: ++ set -x -134: + cat -134: + cc -fPIC -c -o out/test/aarch64/link-order/a.o -xc - -135: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/linker-script-defsym.sh .sh -135: ++ testname=linker-script-defsym -135: ++ echo -n 'Testing linker-script-defsym ... ' -135: Testing linker-script-defsym ... ++ t=out/test/aarch64/linker-script-defsym -135: ++ mkdir -p out/test/aarch64/linker-script-defsym -135: ++ set -x -135: + cat -135: + cc -o out/test/aarch64/linker-script-defsym/a.o -c -xc - -133: +++ uname -133: ++ '[' Linux = FreeBSD ']' -133: ++ trap 'on_error $LINENO' ERR -133: ++ trap on_exit EXIT -133: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/library.sh .sh -133: ++ testname=library -133: ++ echo -n 'Testing library ... ' -133: Testing library ... ++ t=out/test/aarch64/library -133: ++ mkdir -p out/test/aarch64/library -133: ++ set -x -133: + cc -o out/test/aarch64/library/a.o -c -xc - -fPIC -129: + cc -B. -o out/test/aarch64/large-alignment/exe out/test/aarch64/large-alignment/a.o -128: + cc -B. -o out/test/aarch64/large-alignment-dso/b.so out/test/aarch64/large-alignment-dso/a.o -shared -133: + cat -130: + cc -B. -o out/test/aarch64/large-max-page-size-strip/exe out/test/aarch64/large-max-page-size-strip/a.o -pie -Wl,-zmax-page-size=0x200000 +131: + cc -B. -o out/test/aarch64/large-max-page-size/exe out/test/aarch64/large-max-page-size/a.o -pie -Wl,-zmax-page-size=0x200000 136: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/linker-script-error.sh 136: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 136: ++ export LC_ALL=C @@ -8828,35 +8849,41 @@ 136: ++ QEMU= 136: ++ case $MACHINE in 136: ++ tlsdesc_opt=-mtls-dialect=desc +121: + cc -c -o out/test/aarch64/init-array-priorities/f.o -xc - 136: +++ uname 136: ++ '[' Linux = FreeBSD ']' 136: ++ trap 'on_error $LINENO' ERR 136: ++ trap on_exit EXIT -132: + cc -o out/test/aarch64/large-text/b.o -c -xc - -131: + cc -B. -o out/test/aarch64/large-max-page-size/exe out/test/aarch64/large-max-page-size/a.o -pie -Wl,-zmax-page-size=0x200000 136: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/linker-script-error.sh .sh +134: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/link-order.sh .sh 136: ++ testname=linker-script-error 136: ++ echo -n 'Testing linker-script-error ... ' 136: Testing linker-script-error ... ++ t=out/test/aarch64/linker-script-error 136: ++ mkdir -p out/test/aarch64/linker-script-error -135: + cat -134: + cc -B. -shared -o out/test/aarch64/link-order/libfoo.so out/test/aarch64/link-order/a.o -132: + cat -135: + cc -B. -o out/test/aarch64/linker-script-defsym/b.so -shared out/test/aarch64/linker-script-defsym/script out/test/aarch64/linker-script-defsym/a.o -121: + cc -c -o out/test/aarch64/init-array-priorities/f.o -xc - -133: + cc -B. -shared -o out/test/aarch64/library/libfoobar.so out/test/aarch64/library/a.o -121: + cat -136: ++ set -x -136: + cat -136: + cc -o out/test/aarch64/linker-script-error/a.o -c -xc - -129: + grep -q 'Hello world' +134: ++ testname=link-order +134: ++ echo -n 'Testing link-order ... ' +134: Testing link-order ... ++ t=out/test/aarch64/link-order +134: ++ mkdir -p out/test/aarch64/link-order +133: ++ set -x 129: + out/test/aarch64/large-alignment/exe +133: + cat +134: ++ set -x +134: + cat +134: + cc -fPIC -c -o out/test/aarch64/link-order/a.o -xc - +128: + cc -B. -o out/test/aarch64/large-alignment-dso/exe out/test/aarch64/large-alignment-dso/c.o out/test/aarch64/large-alignment-dso/b.so +129: + grep -q 'Hello world' +133: + cc -o out/test/aarch64/library/a.o -c -xc - -fPIC +135: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/linker-script-defsym.sh .sh +135: ++ testname=linker-script-defsym +135: ++ echo -n 'Testing linker-script-defsym ... ' +135: Testing linker-script-defsym ... ++ t=out/test/aarch64/linker-script-defsym +135: ++ mkdir -p out/test/aarch64/linker-script-defsym 129: + on_exit 129: + echo OK 129: OK 129: + exit 0 -132: + cc -B. -o out/test/aarch64/large-text/exe out/test/aarch64/large-text/a.o out/test/aarch64/large-text/b.o -125/336 Test #129: aarch64-large-alignment .................................. Passed 0.11 sec +136: ++ set -x +125/336 Test #129: aarch64-large-alignment .................................. Passed 0.24 sec test 137 Start 137: aarch64-linker-script-relocatable @@ -8866,11 +8893,7 @@ 137: MACHINE=aarch64 137: CPU= 137: Test timeout computed to be: 1500 -128: + cat -128: + cc -o out/test/aarch64/large-alignment-dso/c.o -c -xc - -135: + readelf -sW out/test/aarch64/linker-script-defsym/b.so -135: + grep -q 'FUNC .* bar' -135: + cat +136: + cc -o out/test/aarch64/linker-script-error/a.o -c -xc - 137: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/linker-script-relocatable.sh 137: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 137: ++ export LC_ALL=C @@ -8888,26 +8911,48 @@ 137: ++ QEMU= 137: ++ case $MACHINE in 137: ++ tlsdesc_opt=-mtls-dialect=desc -131: + out/test/aarch64/large-max-page-size/exe +136: + cat +135: ++ set -x +132: + cat +132: + cc -o out/test/aarch64/large-text/b.o -c -xc - +135: + cc -o out/test/aarch64/linker-script-defsym/a.o -c -xc - +135: + cat +121: + cc -c -o out/test/aarch64/init-array-priorities/g.o -xc - 137: +++ uname +121: + cat +134: + cc -B. -shared -o out/test/aarch64/link-order/libfoo.so out/test/aarch64/link-order/a.o 137: ++ '[' Linux = FreeBSD ']' 137: ++ trap 'on_error $LINENO' ERR 137: ++ trap on_exit EXIT -135: + cc -o out/test/aarch64/linker-script-defsym/c.o -c -xc - +130: + strip out/test/aarch64/large-max-page-size-strip/exe +133: + cc -B. -shared -o out/test/aarch64/library/libfoobar.so out/test/aarch64/library/a.o 137: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/linker-script-relocatable.sh .sh 137: ++ testname=linker-script-relocatable 137: ++ echo -n 'Testing linker-script-relocatable ... ' 137: Testing linker-script-relocatable ... ++ t=out/test/aarch64/linker-script-relocatable 137: ++ mkdir -p out/test/aarch64/linker-script-relocatable +89: + grep -q 'fn8 () at .*/d.c:6' out/test/aarch64/gdb-index-dwarf64/log2 +130: + out/test/aarch64/large-max-page-size-strip/exe +121: + cc -c -o out/test/aarch64/init-array-priorities/h.o -xc - 137: ++ set -x -137: + nm mold +136: + echo 'VERSION { ver_x /*' +136: + cc -B. -o out/test/aarch64/linker-script-error/exe out/test/aarch64/linker-script-error/a.o out/test/aarch64/linker-script-error/b.script +121: + cat +131: + out/test/aarch64/large-max-page-size/exe +130: + grep -q 'Hello world' +132: + cc -B. -o out/test/aarch64/large-text/exe out/test/aarch64/large-text/a.o out/test/aarch64/large-text/b.o +89: + grep -q 'fn7 () at .*/d.c:10' out/test/aarch64/gdb-index-dwarf64/log2 +130: + on_exit +130: + echo OK +130: OK +130: + exit 0 131: + grep -q 'Hello world' 131: + on_exit 131: + echo OK 131: OK 131: + exit 0 -137: + grep -q __tsan_init -126/336 Test #131: aarch64-large-max-page-size .............................. Passed 0.10 sec +126/336 Test #130: aarch64-large-max-page-size-strip ........................ Passed 0.24 sec +127/336 Test #131: aarch64-large-max-page-size .............................. Passed 0.22 sec test 138 Start 138: aarch64-linker-script @@ -8917,12 +8962,29 @@ 138: MACHINE=aarch64 138: CPU= 138: Test timeout computed to be: 1500 -136: + echo 'VERSION { ver_x /*' -136: + cc -B. -o out/test/aarch64/linker-script-error/exe out/test/aarch64/linker-script-error/a.o out/test/aarch64/linker-script-error/b.script -134: + ar crs out/test/aarch64/link-order/libfoo.a out/test/aarch64/link-order/a.o -130: + strip out/test/aarch64/large-max-page-size-strip/exe +test 139 + Start 139: aarch64-linker-script2 + +139: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/linker-script2.sh" +139: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +139: Environment variables: +139: MACHINE=aarch64 +139: CPU= +139: Test timeout computed to be: 1500 +137: + nm mold +137: + grep -q __tsan_init +89: + grep -q 'fn6 () at .*/c.c:4' out/test/aarch64/gdb-index-dwarf64/log2 +89: + grep -q 'fn5 () at .*/c.c:8' out/test/aarch64/gdb-index-dwarf64/log2 +89: + grep -q 'fn4 () at .*/b.c:4' out/test/aarch64/gdb-index-dwarf64/log2 +135: + cat +135: + cc -B. -o out/test/aarch64/linker-script-defsym/b.so -shared out/test/aarch64/linker-script-defsym/script out/test/aarch64/linker-script-defsym/a.o +128: + grep -q 'Hello world' +128: + out/test/aarch64/large-alignment-dso/exe +128: + on_exit +128: + echo OK +128: OK +128: + exit 0 138: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/linker-script.sh -121: + cat 138: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 138: ++ export LC_ALL=C 138: ++ LC_ALL=C @@ -8939,42 +9001,21 @@ 138: ++ QEMU= 138: ++ case $MACHINE in 138: ++ tlsdesc_opt=-mtls-dialect=desc -121: + cc -c -o out/test/aarch64/init-array-priorities/g.o -xc - 138: +++ uname 138: ++ '[' Linux = FreeBSD ']' 138: ++ trap 'on_error $LINENO' ERR 138: ++ trap on_exit EXIT -138: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/linker-script.sh .sh -138: ++ testname=linker-script -138: ++ echo -n 'Testing linker-script ... ' -138: Testing linker-script ... ++ t=out/test/aarch64/linker-script -138: ++ mkdir -p out/test/aarch64/linker-script -138: ++ set -x -130: + grep -q 'Hello world' -130: + out/test/aarch64/large-max-page-size-strip/exe -138: + cc -o out/test/aarch64/linker-script/a.o -c -xc - -134: + cc -c -o out/test/aarch64/link-order/b.o -xc - -134: + cat -130: + on_exit -130: + echo OK -130: OK -130: + exit 0 -127/336 Test #130: aarch64-large-max-page-size-strip ........................ Passed 0.13 sec -test 139 - Start 139: aarch64-linker-script2 - -139: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/linker-script2.sh" -139: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -139: Environment variables: -139: MACHINE=aarch64 -139: CPU= -139: Test timeout computed to be: 1500 -135: + cc -B. -o out/test/aarch64/linker-script-defsym/exe out/test/aarch64/linker-script-defsym/c.o out/test/aarch64/linker-script-defsym/b.so -128: + cc -B. -o out/test/aarch64/large-alignment-dso/exe out/test/aarch64/large-alignment-dso/c.o out/test/aarch64/large-alignment-dso/b.so -138: + cat 139: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/linker-script2.sh -133: + cc -o out/test/aarch64/library/c.o -c -xc - -133: + cat +128/336 Test #128: aarch64-large-alignment-dso .............................. Passed 0.37 sec +test 140 + Start 140: aarch64-linker-script3 + +140: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/linker-script3.sh" +140: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +140: Environment variables: +140: MACHINE=aarch64 +140: CPU= +140: Test timeout computed to be: 1500 139: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 139: ++ export LC_ALL=C 139: ++ LC_ALL=C @@ -8995,79 +9036,19 @@ 139: ++ '[' Linux = FreeBSD ']' 139: ++ trap 'on_error $LINENO' ERR 139: ++ trap on_exit EXIT +121: + cc -c -o out/test/aarch64/init-array-priorities/i.o -xc - +121: + cat +134: + ar crs out/test/aarch64/link-order/libfoo.a out/test/aarch64/link-order/a.o +89: + grep -q 'fn3 () at .*/b.c:8' out/test/aarch64/gdb-index-dwarf64/log2 +134: + cat 139: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/linker-script2.sh .sh 139: ++ testname=linker-script2 139: ++ echo -n 'Testing linker-script2 ... ' 139: Testing linker-script2 ... ++ t=out/test/aarch64/linker-script2 139: ++ mkdir -p out/test/aarch64/linker-script2 -139: ++ set -x -139: + cat -139: + cc -o out/test/aarch64/linker-script2/a.o -c -xc - -134: + cc -B. -o out/test/aarch64/link-order/exe out/test/aarch64/link-order/b.o -Wl,--as-needed out/test/aarch64/link-order/libfoo.so out/test/aarch64/link-order/libfoo.a -121: + cat -133: + cc -B. -o out/test/aarch64/library/exe1 out/test/aarch64/library/c.o -Lout/test/aarch64/library -Wl,--library,foobar -Wl,-rpath,out/test/aarch64/library -138: + cat -138: + cc -B. -o out/test/aarch64/linker-script/exe out/test/aarch64/linker-script/script -89: + grep -q 'fn8 () at .*/d.c:6' out/test/aarch64/gdb-index-dwarf64/log2 -121: + cc -c -o out/test/aarch64/init-array-priorities/h.o -xc - -89: + grep -q 'fn7 () at .*/d.c:10' out/test/aarch64/gdb-index-dwarf64/log2 -136: + grep -q 'unclosed comment' out/test/aarch64/linker-script-error/log -132: + grep -q 'Hello world' -132: + out/test/aarch64/large-text/exe -132: + on_exit -132: + echo OK -132: OK -132: + exit 0 -128/336 Test #132: aarch64-large-text ....................................... Passed 0.15 sec -test 140 - Start 140: aarch64-linker-script3 - -140: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/linker-script3.sh" -140: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -140: Environment variables: -140: MACHINE=aarch64 -140: CPU= -140: Test timeout computed to be: 1500 -128: + grep -q 'Hello world' -128: + out/test/aarch64/large-alignment-dso/exe -128: + on_exit -128: + echo OK -128: OK -128: + exit 0 -136: + on_exit -136: + echo OK -136: OK -136: + exit 0 -139: + mkdir -p out/test/aarch64/linker-script2/foo/bar -89: + grep -q 'fn6 () at .*/c.c:4' out/test/aarch64/gdb-index-dwarf64/log2 -129/336 Test #128: aarch64-large-alignment-dso .............................. Passed 0.20 sec -130/336 Test #136: aarch64-linker-script-error .............................. Passed 0.14 sec -test 141 - Start 141: aarch64-linker-script4 - -141: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/linker-script4.sh" -141: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -141: Environment variables: -141: MACHINE=aarch64 -141: CPU= -141: Test timeout computed to be: 1500 -test 142 - Start 142: aarch64-linker-script5 - -142: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/linker-script5.sh" -142: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -142: Environment variables: -142: MACHINE=aarch64 -142: CPU= -142: Test timeout computed to be: 1500 -139: + rm -f out/test/aarch64/linker-script2/foo/bar/libfoo.a -139: + ar rcs out/test/aarch64/linker-script2/foo/bar/libfoo.a out/test/aarch64/linker-script2/a.o -139: + cat -139: + cc -B. -o out/test/aarch64/linker-script2/exe -Lout/test/aarch64/linker-script2/foo/bar out/test/aarch64/linker-script2/b.script -89: + grep -q 'fn5 () at .*/c.c:8' out/test/aarch64/gdb-index-dwarf64/log2 -89: + grep -q 'fn4 () at .*/b.c:4' out/test/aarch64/gdb-index-dwarf64/log2 -89: + grep -q 'fn3 () at .*/b.c:8' out/test/aarch64/gdb-index-dwarf64/log2 +133: + cat 140: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/linker-script3.sh +138: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/linker-script.sh .sh 140: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 140: ++ export LC_ALL=C 140: ++ LC_ALL=C @@ -9095,14 +9076,39 @@ 140: ++ mkdir -p out/test/aarch64/linker-script3 140: ++ set -x 140: + mkdir -p out/test/aarch64/linker-script3/foo -140: + cc -o out/test/aarch64/linker-script3/foo/a.o -c -xc - +138: ++ testname=linker-script +138: ++ echo -n 'Testing linker-script ... ' +138: Testing linker-script ... ++ t=out/test/aarch64/linker-script +138: ++ mkdir -p out/test/aarch64/linker-script +89: + grep -q 'fn2 () at .*/a.c:4' out/test/aarch64/gdb-index-dwarf64/log2 +133: + cc -o out/test/aarch64/library/c.o -c -xc - +134: + cc -c -o out/test/aarch64/link-order/b.o -xc - +138: ++ set -x +139: ++ set -x +89: + grep -q 'fn1 () at .*/a.c:8' out/test/aarch64/gdb-index-dwarf64/log2 +139: + cc -o out/test/aarch64/linker-script2/a.o -c -xc - +138: + cc -o out/test/aarch64/linker-script/a.o -c -xc - +138: + cat +139: + cat +89: + on_exit +89: + echo OK +89: OK +89: + exit 0 +121: + cc -B. -o out/test/aarch64/init-array-priorities/exe out/test/aarch64/init-array-priorities/a.o out/test/aarch64/init-array-priorities/b.o out/test/aarch64/init-array-priorities/c.o out/test/aarch64/init-array-priorities/d.o out/test/aarch64/init-array-priorities/e.o out/test/aarch64/init-array-priorities/f.o out/test/aarch64/init-array-priorities/g.o out/test/aarch64/init-array-priorities/h.o out/test/aarch64/init-array-priorities/i.o +129/336 Test #89: aarch64-gdb-index-dwarf64 ................................ Passed 2.47 sec +test 141 + Start 141: aarch64-linker-script4 + +141: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/linker-script4.sh" +141: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +141: Environment variables: +141: MACHINE=aarch64 +141: CPU= +141: Test timeout computed to be: 1500 +133: + cc -B. -o out/test/aarch64/library/exe1 out/test/aarch64/library/c.o -Lout/test/aarch64/library -Wl,--library,foobar -Wl,-rpath,out/test/aarch64/library 140: + cat -135: + grep -q 42 -135: + out/test/aarch64/linker-script-defsym/exe -135: + on_exit -135: + echo OK -135: OK -135: + exit 0 +136: + grep -q 'unclosed comment' out/test/aarch64/linker-script-error/log +140: + cc -o out/test/aarch64/linker-script3/foo/a.o -c -xc - 141: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/linker-script4.sh 141: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 141: ++ export LC_ALL=C @@ -9120,7 +9126,54 @@ 141: ++ QEMU= 141: ++ case $MACHINE in 141: ++ tlsdesc_opt=-mtls-dialect=desc +136: + on_exit +136: + echo OK +136: OK +136: + exit 0 +130/336 Test #136: aarch64-linker-script-error .............................. Passed 0.21 sec +test 142 + Start 142: aarch64-linker-script5 + +142: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/linker-script5.sh" +142: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +142: Environment variables: +142: MACHINE=aarch64 +142: CPU= +142: Test timeout computed to be: 1500 +138: + cat +138: + cc -B. -o out/test/aarch64/linker-script/exe out/test/aarch64/linker-script/script +141: +++ uname +141: ++ '[' Linux = FreeBSD ']' +141: ++ trap 'on_error $LINENO' ERR +141: ++ trap on_exit EXIT +141: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/linker-script4.sh .sh +141: ++ testname=linker-script4 +141: ++ echo -n 'Testing linker-script4 ... ' +141: Testing linker-script4 ... ++ t=out/test/aarch64/linker-script4 +141: ++ mkdir -p out/test/aarch64/linker-script4 +139: + mkdir -p out/test/aarch64/linker-script2/foo/bar +132: + out/test/aarch64/large-text/exe +132: + grep -q 'Hello world' +141: ++ set -x +141: + echo 'VERSION { ver_x { global: *; }; };' +141: + cat +139: + rm -f out/test/aarch64/linker-script2/foo/bar/libfoo.a +139: + ar rcs out/test/aarch64/linker-script2/foo/bar/libfoo.a out/test/aarch64/linker-script2/a.o +132: + on_exit +132: + echo OK +132: OK +132: + exit 0 142: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/linker-script5.sh +131/336 Test #132: aarch64-large-text ....................................... Passed 0.35 sec +test 143 + Start 143: aarch64-linker-script6 + +143: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/linker-script6.sh" +143: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +143: Environment variables: +143: MACHINE=aarch64 +143: CPU= +143: Test timeout computed to be: 1500 142: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 142: ++ export LC_ALL=C 142: ++ LC_ALL=C @@ -9137,35 +9190,23 @@ 142: ++ QEMU= 142: ++ case $MACHINE in 142: ++ tlsdesc_opt=-mtls-dialect=desc -131/336 Test #135: aarch64-linker-script-defsym ............................. Passed 0.17 sec -test 143 - Start 143: aarch64-linker-script6 - -143: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/linker-script6.sh" -143: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -143: Environment variables: -143: MACHINE=aarch64 -143: CPU= -143: Test timeout computed to be: 1500 -142: +++ uname -133: + grep -q 'Hello world' +135: + grep -q 'FUNC .* bar' +135: + readelf -sW out/test/aarch64/linker-script-defsym/b.so +141: + cc -B. -shared -o out/test/aarch64/linker-script4/c.so out/test/aarch64/linker-script4/a.script out/test/aarch64/linker-script4/b.s +139: + cat +139: + cc -B. -o out/test/aarch64/linker-script2/exe -Lout/test/aarch64/linker-script2/foo/bar out/test/aarch64/linker-script2/b.script +135: + cat +135: + cc -o out/test/aarch64/linker-script-defsym/c.o -c -xc - 133: + out/test/aarch64/library/exe1 -133: + cc -B. -o out/test/aarch64/library/exe2 out/test/aarch64/library/c.o -Lout/test/aarch64/library -Wl,--library=foobar -Wl,-rpath,out/test/aarch64/library -121: + cc -c -o out/test/aarch64/init-array-priorities/i.o -xc - -121: + cat -134: + grep -q libfoo -89: + grep -q 'fn2 () at .*/a.c:4' out/test/aarch64/gdb-index-dwarf64/log2 -134: + readelf --dynamic out/test/aarch64/link-order/exe -89: + grep -q 'fn1 () at .*/a.c:8' out/test/aarch64/gdb-index-dwarf64/log2 +142: +++ uname 142: ++ '[' Linux = FreeBSD ']' 142: ++ trap 'on_error $LINENO' ERR 142: ++ trap on_exit EXIT -142: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/linker-script5.sh .sh -142: ++ testname=linker-script5 -142: ++ echo -n 'Testing linker-script5 ... ' -142: Testing linker-script5 ... ++ t=out/test/aarch64/linker-script5 -142: ++ mkdir -p out/test/aarch64/linker-script5 143: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/linker-script6.sh +133: + grep -q 'Hello world' +133: + cc -B. -o out/test/aarch64/library/exe2 out/test/aarch64/library/c.o -Lout/test/aarch64/library -Wl,--library=foobar -Wl,-rpath,out/test/aarch64/library +140: + cat +121: + grep -q 21348756 143: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 143: ++ export LC_ALL=C 143: ++ LC_ALL=C @@ -9182,16 +9223,18 @@ 143: ++ QEMU= 143: ++ case $MACHINE in 143: ++ tlsdesc_opt=-mtls-dialect=desc -141: +++ uname -141: ++ '[' Linux = FreeBSD ']' -141: ++ trap 'on_error $LINENO' ERR -141: ++ trap on_exit EXIT -134: + cc -B. -o out/test/aarch64/link-order/exe out/test/aarch64/link-order/b.o -Wl,--as-needed out/test/aarch64/link-order/libfoo.a out/test/aarch64/link-order/libfoo.so -89: + on_exit -89: + echo OK -89: OK -89: + exit 0 -132/336 Test #89: aarch64-gdb-index-dwarf64 ................................ Passed 1.23 sec +142: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/linker-script5.sh .sh +142: ++ testname=linker-script5 +142: ++ echo -n 'Testing linker-script5 ... ' +142: Testing linker-script5 ... ++ t=out/test/aarch64/linker-script5 +142: ++ mkdir -p out/test/aarch64/linker-script5 +140: + cc -B. -o out/test/aarch64/linker-script3/exe -Lout/test/aarch64/linker-script3/foo out/test/aarch64/linker-script3/b.script +121: + out/test/aarch64/init-array-priorities/exe +121: + on_exit +121: + echo OK +121: OK +121: + exit 0 +132/336 Test #121: aarch64-init-array-priorities ............................ Passed 0.80 sec test 144 Start 144: aarch64-lto-archive @@ -9201,13 +9244,16 @@ 144: MACHINE=aarch64 144: CPU= 144: Test timeout computed to be: 1500 +138: + grep -q 'Hello world' +138: + out/test/aarch64/linker-script/exe +138: + cc -B. -o out/test/aarch64/linker-script/exe -Wl,-T,out/test/aarch64/linker-script/script +134: + cc -B. -o out/test/aarch64/link-order/exe out/test/aarch64/link-order/b.o -Wl,--as-needed out/test/aarch64/link-order/libfoo.so out/test/aarch64/link-order/libfoo.a 142: ++ set -x 142: + mkdir -p out/test/aarch64/linker-script5/foo 143: +++ uname 143: ++ '[' Linux = FreeBSD ']' 143: ++ trap 'on_error $LINENO' ERR 143: ++ trap on_exit EXIT -143: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/linker-script6.sh .sh 144: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/lto-archive.sh 144: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 144: ++ export LC_ALL=C @@ -9225,41 +9271,37 @@ 144: ++ QEMU= 144: ++ case $MACHINE in 144: ++ tlsdesc_opt=-mtls-dialect=desc +143: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/linker-script6.sh .sh +143: ++ testname=linker-script6 +143: ++ echo -n 'Testing linker-script6 ... ' +143: Testing linker-script6 ... ++ t=out/test/aarch64/linker-script6 +143: ++ mkdir -p out/test/aarch64/linker-script6 +143: ++ set -x +143: + mkdir -p out/test/aarch64/linker-script6/foo +142: + cc -o out/test/aarch64/linker-script5/foo/a.o -c -xc - 144: +++ uname +142: + cat 144: ++ '[' Linux = FreeBSD ']' 144: ++ trap 'on_error $LINENO' ERR 144: ++ trap on_exit EXIT -139: + on_exit -139: + echo OK -139: OK -139: + exit 0 +141: + readelf --version-info out/test/aarch64/linker-script4/c.so 144: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/lto-archive.sh .sh 144: ++ testname=lto-archive 144: ++ echo -n 'Testing lto-archive ... ' 144: Testing lto-archive ... ++ t=out/test/aarch64/lto-archive 144: ++ mkdir -p out/test/aarch64/lto-archive -143: ++ testname=linker-script6 -143: ++ echo -n 'Testing linker-script6 ... ' -143: Testing linker-script6 ... ++ t=out/test/aarch64/linker-script6 -143: ++ mkdir -p out/test/aarch64/linker-script6 -141: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/linker-script4.sh .sh -141: ++ testname=linker-script4 -141: ++ echo -n 'Testing linker-script4 ... ' -141: Testing linker-script4 ... ++ t=out/test/aarch64/linker-script4 -141: ++ mkdir -p out/test/aarch64/linker-script4 -138: + grep -q 'Hello world' -138: + out/test/aarch64/linker-script/exe -138: + cc -B. -o out/test/aarch64/linker-script/exe -Wl,-T,out/test/aarch64/linker-script/script -141: ++ set -x -141: + echo 'VERSION { ver_x { global: *; }; };' -141: + cat -140: + cat -133/336 Test #139: aarch64-linker-script2 ................................... Passed 0.10 sec -142: + cat -142: + cc -o out/test/aarch64/linker-script5/foo/a.o -c -xc - +143: + cc -o out/test/aarch64/linker-script6/foo/a.o -c -xc - +141: + grep -Fq 'Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x' out/test/aarch64/linker-script4/log +143: + cat +139: + on_exit +139: + echo OK +139: OK +139: + exit 0 +135: + cc -B. -o out/test/aarch64/linker-script-defsym/exe out/test/aarch64/linker-script-defsym/c.o out/test/aarch64/linker-script-defsym/b.so 144: ++ set -x 144: + '[' cc = cc ']' 144: + test_cflags -flto +133/336 Test #139: aarch64-linker-script2 ................................... Passed 0.23 sec test 145 Start 145: aarch64-lto-archive2 @@ -9269,15 +9311,48 @@ 145: MACHINE=aarch64 145: CPU= 145: Test timeout computed to be: 1500 -140: + cc -B. -o out/test/aarch64/linker-script3/exe -Lout/test/aarch64/linker-script3/foo out/test/aarch64/linker-script3/b.script +141: + on_exit +141: + echo OK +141: OK +141: + exit 0 144: + echo 'int main() {}' -121: + cc -B. -o out/test/aarch64/init-array-priorities/exe out/test/aarch64/init-array-priorities/a.o out/test/aarch64/init-array-priorities/b.o out/test/aarch64/init-array-priorities/c.o out/test/aarch64/init-array-priorities/d.o out/test/aarch64/init-array-priorities/e.o out/test/aarch64/init-array-priorities/f.o out/test/aarch64/init-array-priorities/g.o out/test/aarch64/init-array-priorities/h.o out/test/aarch64/init-array-priorities/i.o -143: ++ set -x -143: + mkdir -p out/test/aarch64/linker-script6/foo -143: + cc -o out/test/aarch64/linker-script6/foo/a.o -c -xc - -141: + cc -B. -shared -o out/test/aarch64/linker-script4/c.so out/test/aarch64/linker-script4/a.script out/test/aarch64/linker-script4/b.s -143: + cat 144: + cc -B. -flto -o /dev/null -xc - +140: + on_exit +140: + echo OK +140: OK +140: + exit 0 +133: + grep -q 'Hello world' +133: + out/test/aarch64/library/exe2 +134/336 Test #140: aarch64-linker-script3 ................................... Passed 0.23 sec +135/336 Test #141: aarch64-linker-script4 ................................... Passed 0.18 sec +test 146 + Start 146: aarch64-lto-dso + +146: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/lto-dso.sh" +146: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +146: Environment variables: +146: MACHINE=aarch64 +146: CPU= +146: Test timeout computed to be: 1500 +test 147 + Start 147: aarch64-lto-gcc + +147: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/lto-gcc.sh" +147: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +147: Environment variables: +147: MACHINE=aarch64 +147: CPU= +147: Test timeout computed to be: 1500 +133: + on_exit +133: + echo OK +133: OK +133: + exit 0 +136/336 Test #133: aarch64-library .......................................... Passed 0.46 sec +137: + cat +137: + cc -c -o out/test/aarch64/linker-script-relocatable/a.o -xc - +138: + out/test/aarch64/linker-script/exe +138: + grep -q 'Hello world' +138: + cc -B. -o out/test/aarch64/linker-script/exe -Wl,--script,out/test/aarch64/linker-script/script 145: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/lto-archive2.sh 145: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 145: ++ export LC_ALL=C @@ -9296,50 +9371,13 @@ 145: ++ case $MACHINE in 145: ++ tlsdesc_opt=-mtls-dialect=desc 145: +++ uname -133: + grep -q 'Hello world' 145: ++ '[' Linux = FreeBSD ']' 145: ++ trap 'on_error $LINENO' ERR 145: ++ trap on_exit EXIT -133: + out/test/aarch64/library/exe2 -145: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/lto-archive2.sh .sh -133: + on_exit -133: + echo OK -133: OK -133: + exit 0 -145: ++ testname=lto-archive2 -145: ++ echo -n 'Testing lto-archive2 ... ' -145: Testing lto-archive2 ... ++ t=out/test/aarch64/lto-archive2 -145: ++ mkdir -p out/test/aarch64/lto-archive2 -134/336 Test #133: aarch64-library .......................................... Passed 0.23 sec -test 146 - Start 146: aarch64-lto-dso - -146: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/lto-dso.sh" -146: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -146: Environment variables: -146: MACHINE=aarch64 -146: CPU= -146: Test timeout computed to be: 1500 -145: ++ set -x -145: + test_cflags -flto=auto -134: + grep -q libfoo +142: + cat +142: + cc -B. -o out/test/aarch64/linker-script5/exe out/test/aarch64/linker-script5/foo/b.script +143: + cat 146: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/lto-dso.sh -134: + readelf --dynamic out/test/aarch64/link-order/exe -134: + on_exit -134: + echo OK -134: OK -134: + exit 0 -135/336 Test #134: aarch64-link-order ....................................... Passed 0.24 sec -test 147 - Start 147: aarch64-lto-gcc - -147: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/lto-gcc.sh" -147: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -147: Environment variables: -147: MACHINE=aarch64 -147: CPU= -147: Test timeout computed to be: 1500 -145: + cc -B. -flto=auto -o /dev/null -xc - 146: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 146: ++ export LC_ALL=C 146: ++ LC_ALL=C @@ -9356,9 +9394,38 @@ 146: ++ QEMU= 146: ++ case $MACHINE in 146: ++ tlsdesc_opt=-mtls-dialect=desc +test 148 + Start 148: aarch64-lto-llvm + +148: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/lto-llvm.sh" +148: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +148: Environment variables: +148: MACHINE=aarch64 +148: CPU= +148: Test timeout computed to be: 1500 +137: + cc -c -o out/test/aarch64/linker-script-relocatable/b.o -xc - +137: + cat +145: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/lto-archive2.sh .sh +145: ++ testname=lto-archive2 +145: ++ echo -n 'Testing lto-archive2 ... ' +145: Testing lto-archive2 ... ++ t=out/test/aarch64/lto-archive2 +145: ++ mkdir -p out/test/aarch64/lto-archive2 +145: ++ set -x +145: + test_cflags -flto=auto +145: + cc -B. -flto=auto -o /dev/null -xc - +143: + cc -B. -o out/test/aarch64/linker-script6/exe out/test/aarch64/linker-script6/foo/b.script 146: +++ uname +146: ++ '[' Linux = FreeBSD ']' +146: ++ trap 'on_error $LINENO' ERR +146: ++ trap on_exit EXIT +146: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/lto-dso.sh .sh +146: ++ testname=lto-dso +146: ++ echo -n 'Testing lto-dso ... ' +146: Testing lto-dso ... ++ t=out/test/aarch64/lto-dso +146: ++ mkdir -p out/test/aarch64/lto-dso +146: ++ set -x +146: + test_cflags -flto 147: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/lto-gcc.sh -145: + echo 'int main() {}' 147: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 147: ++ export LC_ALL=C 147: ++ LC_ALL=C @@ -9375,75 +9442,20 @@ 147: ++ QEMU= 147: ++ case $MACHINE in 147: ++ tlsdesc_opt=-mtls-dialect=desc -146: ++ '[' Linux = FreeBSD ']' -146: ++ trap 'on_error $LINENO' ERR -146: ++ trap on_exit EXIT -138: + out/test/aarch64/linker-script/exe 147: +++ uname -138: + grep -q 'Hello world' 147: ++ '[' Linux = FreeBSD ']' 147: ++ trap 'on_error $LINENO' ERR 147: ++ trap on_exit EXIT -146: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/lto-dso.sh .sh -141: + readelf --version-info out/test/aarch64/linker-script4/c.so -138: + cc -B. -o out/test/aarch64/linker-script/exe -Wl,--script,out/test/aarch64/linker-script/script -142: + cat -137: + cat -146: ++ testname=lto-dso -146: ++ echo -n 'Testing lto-dso ... ' -146: Testing lto-dso ... ++ t=out/test/aarch64/lto-dso -146: ++ mkdir -p out/test/aarch64/lto-dso -142: + cc -B. -o out/test/aarch64/linker-script5/exe out/test/aarch64/linker-script5/foo/b.script -137: + cc -c -o out/test/aarch64/linker-script-relocatable/a.o -xc - 147: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/lto-gcc.sh .sh -141: + grep -Fq 'Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x' out/test/aarch64/linker-script4/log -146: ++ set -x -146: + test_cflags -flto -146: + echo 'int main() {}' -146: + cc -B. -flto -o /dev/null -xc - 147: ++ testname=lto-gcc 147: ++ echo -n 'Testing lto-gcc ... ' 147: Testing lto-gcc ... ++ t=out/test/aarch64/lto-gcc 147: ++ mkdir -p out/test/aarch64/lto-gcc 147: ++ set -x -141: + on_exit -141: + echo OK -141: OK -141: + exit 0 -136/336 Test #141: aarch64-linker-script4 ................................... Passed 0.11 sec -test 148 - Start 148: aarch64-lto-llvm - -148: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/lto-llvm.sh" -148: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -148: Environment variables: -148: MACHINE=aarch64 -148: CPU= -148: Test timeout computed to be: 1500 -143: + cat -143: + cc -B. -o out/test/aarch64/linker-script6/exe out/test/aarch64/linker-script6/foo/b.script -140: + on_exit -140: + echo OK -140: OK -140: + exit 0 147: + echo 'int main() {}' -147: + gcc -B. -flto -o /dev/null -xc - -121: + out/test/aarch64/init-array-priorities/exe -121: + grep -q 21348756 -137/336 Test #140: aarch64-linker-script3 ................................... Passed 0.12 sec -test 149 - Start 149: aarch64-lto-nostdlib - -149: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/lto-nostdlib.sh" -149: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -149: Environment variables: -149: MACHINE=aarch64 -149: CPU= -149: Test timeout computed to be: 1500 -121: + on_exit -121: + echo OK -121: OK -121: + exit 0 +134: + readelf --dynamic out/test/aarch64/link-order/exe +134: + grep -q libfoo +146: + echo 'int main() {}' 148: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/lto-llvm.sh 148: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 148: ++ export LC_ALL=C @@ -9461,7 +9473,27 @@ 148: ++ QEMU= 148: ++ case $MACHINE in 148: ++ tlsdesc_opt=-mtls-dialect=desc +134: + cc -B. -o out/test/aarch64/link-order/exe out/test/aarch64/link-order/b.o -Wl,--as-needed out/test/aarch64/link-order/libfoo.a out/test/aarch64/link-order/libfoo.so +145: + echo 'int main() {}' +147: + gcc -B. -flto -o /dev/null -xc - +142: + on_exit +142: + echo OK +142: OK +142: + exit 0 148: +++ uname +135: + grep -q 42 +135: + out/test/aarch64/linker-script-defsym/exe +137/336 Test #142: aarch64-linker-script5 ................................... Passed 0.22 sec +146: + cc -B. -flto -o /dev/null -xc - +test 149 + Start 149: aarch64-lto-nostdlib + +149: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/lto-nostdlib.sh" +149: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +149: Environment variables: +149: MACHINE=aarch64 +149: CPU= +149: Test timeout computed to be: 1500 148: ++ '[' Linux = FreeBSD ']' 148: ++ trap 'on_error $LINENO' ERR 148: ++ trap on_exit EXIT @@ -9470,7 +9502,11 @@ 148: ++ echo -n 'Testing lto-llvm ... ' 148: Testing lto-llvm ... ++ t=out/test/aarch64/lto-llvm 148: ++ mkdir -p out/test/aarch64/lto-llvm -138/336 Test #121: aarch64-init-array-priorities ............................ Passed 0.50 sec +135: + on_exit +135: + echo OK +135: OK +135: + exit 0 +138/336 Test #135: aarch64-linker-script-defsym ............................. Passed 0.47 sec test 150 Start 150: aarch64-lto-version-script @@ -9480,28 +9516,7 @@ 150: MACHINE=aarch64 150: CPU= 150: Test timeout computed to be: 1500 -138: + grep -q 'Hello world' -137: + cc -c -o out/test/aarch64/linker-script-relocatable/b.o -xc - 149: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/lto-nostdlib.sh -137: + cat -150: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/lto-version-script.sh -150: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc -150: ++ export LC_ALL=C -150: ++ LC_ALL=C -150: ++ '[' -z aarch64 ']' -150: ++ '[' -z '' ']' -150: ++ TESTDIR=out/test/aarch64 -150: ++ CC=cc -150: ++ CXX=c++ -150: ++ GCC=gcc -150: ++ GXX=g++ -150: ++ OBJDUMP=objdump -150: ++ OBJCOPY=objcopy -150: ++ STRIP=strip -150: ++ QEMU= -150: ++ case $MACHINE in -150: ++ tlsdesc_opt=-mtls-dialect=desc -138: + out/test/aarch64/linker-script/exe 149: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 149: ++ export LC_ALL=C 149: ++ LC_ALL=C @@ -9518,30 +9533,6 @@ 149: ++ QEMU= 149: ++ case $MACHINE in 149: ++ tlsdesc_opt=-mtls-dialect=desc -138: + on_exit -138: + echo OK -138: OK -138: + exit 0 -139/336 Test #138: aarch64-linker-script .................................... Passed 0.21 sec -test 151 - Start 151: aarch64-main-in-dso - -151: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/main-in-dso.sh" -151: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -151: Environment variables: -151: MACHINE=aarch64 -151: CPU= -151: Test timeout computed to be: 1500 -148: ++ set -x -148: ++ uname -m -148: + '[' aarch64 = aarch64 ']' -148: + clang -B. -flto -o /dev/null -xc - -148: + echo 'int main() {}' -148: + skip -148: + echo skipped -148: skipped -148: + trap - EXIT -148: + exit 0 149: +++ uname 149: ++ '[' Linux = FreeBSD ']' 149: ++ trap 'on_error $LINENO' ERR @@ -9551,47 +9542,47 @@ 149: ++ echo -n 'Testing lto-nostdlib ... ' 149: Testing lto-nostdlib ... ++ t=out/test/aarch64/lto-nostdlib 149: ++ mkdir -p out/test/aarch64/lto-nostdlib +137: + echo 'INPUT(out/test/aarch64/linker-script-relocatable/a.o out/test/aarch64/linker-script-relocatable/b.o)' +137: + ./mold --relocatable -o out/test/aarch64/linker-script-relocatable/d.o out/test/aarch64/linker-script-relocatable/c.script +137: + cc -B. -o out/test/aarch64/linker-script-relocatable/exe out/test/aarch64/linker-script-relocatable/d.o +150: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/lto-version-script.sh +150: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc +150: ++ export LC_ALL=C +150: ++ LC_ALL=C +150: ++ '[' -z aarch64 ']' +150: ++ '[' -z '' ']' +150: ++ TESTDIR=out/test/aarch64 +150: ++ CC=cc +150: ++ CXX=c++ +150: ++ GCC=gcc +150: ++ GXX=g++ +150: ++ OBJDUMP=objdump +150: ++ OBJCOPY=objcopy +150: ++ STRIP=strip +150: ++ QEMU= +150: ++ case $MACHINE in +150: ++ tlsdesc_opt=-mtls-dialect=desc +143: + on_exit +143: + echo OK +143: OK +143: + exit 0 +139/336 Test #143: aarch64-linker-script6 ................................... Passed 0.22 sec +148: ++ set -x 149: ++ set -x 149: + test_cflags -flto -149: + cc -B. -flto -o /dev/null -xc - -149: + echo 'int main() {}' -142: + on_exit -142: + echo OK -142: OK -142: + exit 0 +test 151 + Start 151: aarch64-main-in-dso + +151: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/main-in-dso.sh" +151: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +151: Environment variables: +151: MACHINE=aarch64 +151: CPU= +151: Test timeout computed to be: 1500 150: +++ uname 150: ++ '[' Linux = FreeBSD ']' 150: ++ trap 'on_error $LINENO' ERR 150: ++ trap on_exit EXIT -150: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/lto-version-script.sh .sh -150: ++ testname=lto-version-script -150: ++ echo -n 'Testing lto-version-script ... ' -150: Testing lto-version-script ... ++ t=out/test/aarch64/lto-version-script -150: ++ mkdir -p out/test/aarch64/lto-version-script -150: ++ set -x -150: + test_cflags -flto -150: + cc -B. -flto -o /dev/null -xc - -140/336 Test #142: aarch64-linker-script5 ................................... Passed 0.14 sec -141/336 Test #148: aarch64-lto-llvm .........................................***Skipped 0.05 sec -test 152 - Start 152: aarch64-many-sections - -152: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/many-sections.sh" -152: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -152: Environment variables: -152: MACHINE=aarch64 -152: CPU= -152: Test timeout computed to be: 1500 -test 153 - Start 153: aarch64-many-sections2 - -153: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/many-sections2.sh" -153: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -153: Environment variables: -153: MACHINE=aarch64 -153: CPU= -153: Test timeout computed to be: 1500 -150: + echo 'int main() {}' 151: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/main-in-dso.sh 151: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 151: ++ export LC_ALL=C @@ -9609,27 +9600,37 @@ 151: ++ QEMU= 151: ++ case $MACHINE in 151: ++ tlsdesc_opt=-mtls-dialect=desc +149: + cc -B. -flto -o /dev/null -xc - +149: + echo 'int main() {}' +148: ++ uname -m +148: + '[' aarch64 = aarch64 ']' +150: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/lto-version-script.sh .sh +150: ++ testname=lto-version-script +150: ++ echo -n 'Testing lto-version-script ... ' +150: Testing lto-version-script ... ++ t=out/test/aarch64/lto-version-script +150: ++ mkdir -p out/test/aarch64/lto-version-script 151: +++ uname +148: + clang -B. -flto -o /dev/null -xc - +148: + echo 'int main() {}' +148: + skip +148: + echo skipped +148: skipped +148: + trap - EXIT +148: + exit 0 151: ++ '[' Linux = FreeBSD ']' 151: ++ trap 'on_error $LINENO' ERR 151: ++ trap on_exit EXIT -153: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/many-sections2.sh -153: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc -153: ++ export LC_ALL=C -153: ++ LC_ALL=C -153: ++ '[' -z aarch64 ']' -153: ++ '[' -z '' ']' -153: ++ TESTDIR=out/test/aarch64 -153: ++ CC=cc -153: ++ CXX=c++ -153: ++ GCC=gcc -153: ++ GXX=g++ -153: ++ OBJDUMP=objdump -153: ++ OBJCOPY=objcopy -153: ++ STRIP=strip -153: ++ QEMU= -153: ++ case $MACHINE in -153: ++ tlsdesc_opt=-mtls-dialect=desc +140/336 Test #148: aarch64-lto-llvm .........................................***Skipped 0.10 sec +test 152 + Start 152: aarch64-many-sections + +152: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/many-sections.sh" +152: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +152: Environment variables: +152: MACHINE=aarch64 +152: CPU= +152: Test timeout computed to be: 1500 +134: + readelf --dynamic out/test/aarch64/link-order/exe 152: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/many-sections.sh 152: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 152: ++ export LC_ALL=C @@ -9647,20 +9648,41 @@ 152: ++ QEMU= 152: ++ case $MACHINE in 152: ++ tlsdesc_opt=-mtls-dialect=desc +138: + grep -q 'Hello world' +134: + grep -q libfoo +134: + on_exit +134: + echo OK +134: OK +134: + exit 0 +150: ++ set -x +150: + test_cflags -flto +150: + echo 'int main() {}' +138: + out/test/aarch64/linker-script/exe +150: + cc -B. -flto -o /dev/null -xc - +141/336 Test #134: aarch64-link-order ....................................... Passed 0.55 sec 151: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/main-in-dso.sh .sh +test 153 + Start 153: aarch64-many-sections2 + +153: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/many-sections2.sh" +153: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +153: Environment variables: +153: MACHINE=aarch64 +153: CPU= +153: Test timeout computed to be: 1500 151: ++ testname=main-in-dso 151: ++ echo -n 'Testing main-in-dso ... ' 151: Testing main-in-dso ... ++ t=out/test/aarch64/main-in-dso 151: ++ mkdir -p out/test/aarch64/main-in-dso -153: +++ uname -143: + on_exit -143: + echo OK -143: OK -143: + exit 0 -137: + echo 'INPUT(out/test/aarch64/linker-script-relocatable/a.o out/test/aarch64/linker-script-relocatable/b.o)' -137: + ./mold --relocatable -o out/test/aarch64/linker-script-relocatable/d.o out/test/aarch64/linker-script-relocatable/c.script -153: ++ '[' Linux = FreeBSD ']' -142/336 Test #143: aarch64-linker-script6 ................................... Passed 0.15 sec +138: + on_exit +138: + echo OK +138: OK +138: + exit 0 +152: +++ uname +152: ++ '[' Linux = FreeBSD ']' +152: ++ trap 'on_error $LINENO' ERR +152: ++ trap on_exit EXIT +142/336 Test #138: aarch64-linker-script .................................... Passed 0.41 sec test 154 Start 154: aarch64-mergeable-strings @@ -9670,18 +9692,8 @@ 154: MACHINE=aarch64 154: CPU= 154: Test timeout computed to be: 1500 -153: ++ trap 'on_error $LINENO' ERR -153: ++ trap on_exit EXIT -153: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/many-sections2.sh .sh -153: ++ testname=many-sections2 -153: ++ echo -n 'Testing many-sections2 ... ' -153: Testing many-sections2 ... ++ t=out/test/aarch64/many-sections2 -153: ++ mkdir -p out/test/aarch64/many-sections2 -152: +++ uname -152: ++ '[' Linux = FreeBSD ']' -152: ++ trap 'on_error $LINENO' ERR -152: ++ trap on_exit EXIT -151: ++ set -x +152: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/many-sections.sh .sh +153: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/many-sections2.sh 154: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/mergeable-strings.sh 154: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 154: ++ export LC_ALL=C @@ -9699,42 +9711,61 @@ 154: ++ QEMU= 154: ++ case $MACHINE in 154: ++ tlsdesc_opt=-mtls-dialect=desc -153: ++ set -x -153: + nm mold -151: + cat -153: + grep -q __tsan_init +152: ++ testname=many-sections +152: ++ echo -n 'Testing many-sections ... ' +152: Testing many-sections ... ++ t=out/test/aarch64/many-sections +152: ++ mkdir -p out/test/aarch64/many-sections +152: ++ set -x +152: + seq 1 100000 +153: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc +153: ++ export LC_ALL=C +153: ++ LC_ALL=C +153: ++ '[' -z aarch64 ']' +153: ++ '[' -z '' ']' +153: ++ TESTDIR=out/test/aarch64 +153: ++ CC=cc +153: ++ CXX=c++ +153: ++ GCC=gcc +153: ++ GXX=g++ +153: ++ OBJDUMP=objdump +153: ++ OBJCOPY=objcopy +153: ++ STRIP=strip +153: ++ QEMU= +153: ++ case $MACHINE in +153: ++ tlsdesc_opt=-mtls-dialect=desc +153: +++ uname +153: ++ '[' Linux = FreeBSD ']' +153: ++ trap 'on_error $LINENO' ERR +153: ++ trap on_exit EXIT +153: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/many-sections2.sh .sh +153: ++ testname=many-sections2 +153: ++ echo -n 'Testing many-sections2 ... ' +153: Testing many-sections2 ... ++ t=out/test/aarch64/many-sections2 +153: ++ mkdir -p out/test/aarch64/many-sections2 +152: + cc -c -xassembler -o out/test/aarch64/many-sections/a.o - +151: ++ set -x 151: + cc -o out/test/aarch64/main-in-dso/a.o -c -xc - -fPIC -137: + cc -B. -o out/test/aarch64/linker-script-relocatable/exe out/test/aarch64/linker-script-relocatable/d.o -152: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/many-sections.sh .sh +151: + cat +153: ++ set -x +152: + sed 's/.*/.section .data.\0,"aw"\n.word 0\n/g' 154: +++ uname +137: + out/test/aarch64/linker-script-relocatable/exe 154: ++ '[' Linux = FreeBSD ']' 154: ++ trap 'on_error $LINENO' ERR 154: ++ trap on_exit EXIT -152: ++ testname=many-sections -152: ++ echo -n 'Testing many-sections ... ' -152: Testing many-sections ... ++ t=out/test/aarch64/many-sections -152: ++ mkdir -p out/test/aarch64/many-sections -127: + c++ -B. -o out/test/aarch64/issue646/exe out/test/aarch64/issue646/a.o +153: + nm mold +137: + grep -q Hello 154: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/mergeable-strings.sh .sh 154: ++ testname=mergeable-strings 154: ++ echo -n 'Testing mergeable-strings ... ' 154: Testing mergeable-strings ... ++ t=out/test/aarch64/mergeable-strings 154: ++ mkdir -p out/test/aarch64/mergeable-strings -152: ++ set -x -154: ++ set -x -154: + cc -o out/test/aarch64/mergeable-strings/a.o -c -xc - -O2 -154: + cat -152: + sed 's/.*/.section .data.\0,"aw"\n.word 0\n/g' -152: + cc -c -xassembler -o out/test/aarch64/many-sections/a.o - -152: + seq 1 100000 -151: + cc -B. -shared -o out/test/aarch64/main-in-dso/b.so out/test/aarch64/main-in-dso/a.o -137: + out/test/aarch64/linker-script-relocatable/exe -137: + grep -q Hello 137: + on_exit 137: + echo OK 137: OK 137: + exit 0 -143/336 Test #137: aarch64-linker-script-relocatable ........................ Passed 0.32 sec +143/336 Test #137: aarch64-linker-script-relocatable ........................ Passed 0.54 sec +153: + grep -q __tsan_init test 155 Start 155: aarch64-missing-but-ok @@ -9744,9 +9775,10 @@ 155: MACHINE=aarch64 155: CPU= 155: Test timeout computed to be: 1500 +154: ++ set -x +154: + cc -o out/test/aarch64/mergeable-strings/a.o -c -xc - -O2 154: + cat -154: + cc -o out/test/aarch64/mergeable-strings/b.o -c -xc - -O2 -151: + cc -o out/test/aarch64/main-in-dso/c.o -c -xc /dev/null -fPIC +151: + cc -B. -shared -o out/test/aarch64/main-in-dso/b.so out/test/aarch64/main-in-dso/a.o 155: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/missing-but-ok.sh 155: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 155: ++ export LC_ALL=C @@ -9773,18 +9805,20 @@ 155: ++ echo -n 'Testing missing-but-ok ... ' 155: Testing missing-but-ok ... ++ t=out/test/aarch64/missing-but-ok 155: ++ mkdir -p out/test/aarch64/missing-but-ok -144: + cat -127: + out/test/aarch64/issue646/exe 155: ++ set -x 155: + cat +154: + cat +154: + cc -o out/test/aarch64/mergeable-strings/b.o -c -xc - -O2 155: + cc -o out/test/aarch64/missing-but-ok/a.o -c -x assembler - +151: + cc -o out/test/aarch64/main-in-dso/c.o -c -xc /dev/null -fPIC +155: + ./mold -o out/test/aarch64/missing-but-ok/exe out/test/aarch64/missing-but-ok/a.o +155: + on_exit +155: + echo OK +155: OK +155: + exit 0 +144: + cat 144: + cc -o out/test/aarch64/lto-archive/a.o -c -flto -xc - -127: + grep -q 'error: exception' -127: + on_exit -127: + echo OK -127: OK -127: + exit 0 -144/336 Test #127: aarch64-issue646 ......................................... Passed 0.53 sec +144/336 Test #155: aarch64-missing-but-ok ................................... Passed 0.11 sec test 156 Start 156: aarch64-missing-error @@ -9794,12 +9828,9 @@ 156: MACHINE=aarch64 156: CPU= 156: Test timeout computed to be: 1500 -155: + ./mold -o out/test/aarch64/missing-but-ok/exe out/test/aarch64/missing-but-ok/a.o -155: + on_exit -155: + echo OK -155: OK -155: + exit 0 151: + cc -B. -o out/test/aarch64/main-in-dso/exe1 out/test/aarch64/main-in-dso/c.o out/test/aarch64/main-in-dso/b.so -pie +149: + cc -flto -c -o out/test/aarch64/lto-nostdlib/a.o -xc - +149: + cat 156: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/missing-error.sh 156: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 156: ++ export LC_ALL=C @@ -9817,20 +9848,67 @@ 156: ++ QEMU= 156: ++ case $MACHINE in 156: ++ tlsdesc_opt=-mtls-dialect=desc +146: + cat 156: +++ uname +146: + cc -flto -c -fPIC -o out/test/aarch64/lto-dso/a.o -xc - +147: + gcc -flto -c -o out/test/aarch64/lto-gcc/a.o -xc - +154: + cc -o out/test/aarch64/mergeable-strings/exe1 out/test/aarch64/mergeable-strings/a.o out/test/aarch64/mergeable-strings/b.o -no-pie 156: ++ '[' Linux = FreeBSD ']' 156: ++ trap 'on_error $LINENO' ERR 156: ++ trap on_exit EXIT +147: + cat +149: + cc -B. -o out/test/aarch64/lto-nostdlib/exe -flto out/test/aarch64/lto-nostdlib/a.o -nostdlib 156: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/missing-error.sh .sh 156: ++ testname=missing-error 156: ++ echo -n 'Testing missing-error ... ' 156: Testing missing-error ... ++ t=out/test/aarch64/missing-error 156: ++ mkdir -p out/test/aarch64/missing-error +144: + cc -o out/test/aarch64/lto-archive/b.o -c -flto -xc - +144: + cat +150: + cc -flto -c -fPIC -o out/test/aarch64/lto-version-script/a.o -xc - +150: + cat 156: ++ set -x -156: + cc -o out/test/aarch64/missing-error/a.o -c -xc - 156: + cat +147: + gcc -B. -o out/test/aarch64/lto-gcc/exe1 -flto out/test/aarch64/lto-gcc/a.o +145: + echo +146: + cc -B. -shared -o out/test/aarch64/lto-dso/b.so -flto out/test/aarch64/lto-dso/a.o +156: + cc -o out/test/aarch64/missing-error/a.o -c -xc - +145: + cc -o out/test/aarch64/lto-archive2/a.o -c -flto=auto -xc - +154: + out/test/aarch64/mergeable-strings/exe1 +154: + grep -Eq '^(\S+) \1 (\S+) \2 (\S+) \3 (\S+) \4$' +151: + grep -q 'Hello world' +151: + out/test/aarch64/main-in-dso/exe1 +154: + cc -B. -o out/test/aarch64/mergeable-strings/exe2 out/test/aarch64/mergeable-strings/a.o out/test/aarch64/mergeable-strings/b.o -no-pie +151: + cc -o out/test/aarch64/main-in-dso/c.o -c -xc /dev/null -fno-PIC +127: + c++ -B. -o out/test/aarch64/issue646/exe out/test/aarch64/issue646/a.o +150: + cat +144: + rm -f out/test/aarch64/lto-archive/c.a +156: + ./mold -o out/test/aarch64/missing-error/exe out/test/aarch64/missing-error/a.o +153: + echo 'foo = 0x1000' +153: + sed 's/.*/.section .data.&,"aw"\n.globl x&\nx&: .word 0\n/g' +150: + cc -B. -shared -o out/test/aarch64/lto-version-script/c.so -flto out/test/aarch64/lto-version-script/a.o -Wl,-version-script=out/test/aarch64/lto-version-script/b.script +153: + seq 1 100000 +144: + ar rc out/test/aarch64/lto-archive/c.a out/test/aarch64/lto-archive/a.o out/test/aarch64/lto-archive/b.o +145: + rm -f out/test/aarch64/lto-archive2/b.a +145: + ar rc out/test/aarch64/lto-archive2/b.a out/test/aarch64/lto-archive2/a.o 144: + cat -145/336 Test #155: aarch64-missing-but-ok ................................... Passed 0.05 sec +144: + cc -o out/test/aarch64/lto-archive/d.o -c -flto -xc - +151: + cc -B. -o out/test/aarch64/main-in-dso/exe2 out/test/aarch64/main-in-dso/c.o out/test/aarch64/main-in-dso/b.so -no-pie +156: + grep -q 'undefined symbol: foo' out/test/aarch64/missing-error/log +154: + out/test/aarch64/mergeable-strings/exe2 +156: + grep -q '>>> .*a\.o' out/test/aarch64/missing-error/log +145: + cat +145: + cc -o out/test/aarch64/lto-archive2/c.o -c -xc - +154: + grep -Eq '^(\S+) \1 (\S+) \2 (\S+) \3 (\S+) \4$' +154: + on_exit +154: + echo OK +154: OK +154: + exit 0 +156: + on_exit +156: + echo OK +156: OK +156: + exit 0 +145/336 Test #156: aarch64-missing-error .................................... Passed 0.19 sec test 157 Start 157: aarch64-mold-wrapper @@ -9840,9 +9918,17 @@ 157: MACHINE=aarch64 157: CPU= 157: Test timeout computed to be: 1500 -144: + cc -o out/test/aarch64/lto-archive/b.o -c -flto -xc - -146: + cc -flto -c -fPIC -o out/test/aarch64/lto-dso/a.o -xc - -146: + cat +146/336 Test #154: aarch64-mergeable-strings ................................ Passed 0.38 sec +153: + cc -c -xassembler -o out/test/aarch64/many-sections2/a.o out/test/aarch64/many-sections2/a.s +test 158 + Start 158: aarch64-mold-wrapper2 + +158: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/mold-wrapper2.sh" +158: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +158: Environment variables: +158: MACHINE=aarch64 +158: CPU= +158: Test timeout computed to be: 1500 157: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/mold-wrapper.sh 157: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 157: ++ export LC_ALL=C @@ -9860,63 +9946,11 @@ 157: ++ QEMU= 157: ++ case $MACHINE in 157: ++ tlsdesc_opt=-mtls-dialect=desc -154: + cc -o out/test/aarch64/mergeable-strings/exe1 out/test/aarch64/mergeable-strings/a.o out/test/aarch64/mergeable-strings/b.o -no-pie +144: + cc -B. -o out/test/aarch64/lto-archive/exe -flto out/test/aarch64/lto-archive/d.o out/test/aarch64/lto-archive/c.a 157: +++ uname 157: ++ '[' Linux = FreeBSD ']' 157: ++ trap 'on_error $LINENO' ERR 157: ++ trap on_exit EXIT -147: + cat -147: + gcc -flto -c -o out/test/aarch64/lto-gcc/a.o -xc - -151: + out/test/aarch64/main-in-dso/exe1 -151: + grep -q 'Hello world' -157: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/mold-wrapper.sh .sh -157: ++ testname=mold-wrapper -157: ++ echo -n 'Testing mold-wrapper ... ' -157: Testing mold-wrapper ... ++ t=out/test/aarch64/mold-wrapper -157: ++ mkdir -p out/test/aarch64/mold-wrapper -144: + rm -f out/test/aarch64/lto-archive/c.a -151: + cc -o out/test/aarch64/main-in-dso/c.o -c -xc /dev/null -fno-PIC -146: + cc -B. -shared -o out/test/aarch64/lto-dso/b.so -flto out/test/aarch64/lto-dso/a.o -156: + ./mold -o out/test/aarch64/missing-error/exe out/test/aarch64/missing-error/a.o -157: ++ set -x -157: + '[' cc = cc ']' -144: + ar rc out/test/aarch64/lto-archive/c.a out/test/aarch64/lto-archive/a.o out/test/aarch64/lto-archive/b.o -157: + ldd mold-wrapper.so -157: + grep -q libasan -154: + grep -Eq '^(\S+) \1 (\S+) \2 (\S+) \3 (\S+) \4$' -154: + out/test/aarch64/mergeable-strings/exe1 -154: + cc -B. -o out/test/aarch64/mergeable-strings/exe2 out/test/aarch64/mergeable-strings/a.o out/test/aarch64/mergeable-strings/b.o -no-pie -144: + cat -150: + cc -flto -c -fPIC -o out/test/aarch64/lto-version-script/a.o -xc - -150: + cat -144: + cc -o out/test/aarch64/lto-archive/d.o -c -flto -xc - -153: + echo 'foo = 0x1000' -153: + seq 1 100000 -153: + sed 's/.*/.section .data.&,"aw"\n.globl x&\nx&: .word 0\n/g' -156: + grep -q 'undefined symbol: foo' out/test/aarch64/missing-error/log -147: + gcc -B. -o out/test/aarch64/lto-gcc/exe1 -flto out/test/aarch64/lto-gcc/a.o -156: + grep -q '>>> .*a\.o' out/test/aarch64/missing-error/log -156: + on_exit -156: + echo OK -156: OK -156: + exit 0 -151: + cc -B. -o out/test/aarch64/main-in-dso/exe2 out/test/aarch64/main-in-dso/c.o out/test/aarch64/main-in-dso/b.so -no-pie -146/336 Test #156: aarch64-missing-error .................................... Passed 0.07 sec -test 158 - Start 158: aarch64-mold-wrapper2 - -158: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/mold-wrapper2.sh" -158: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -158: Environment variables: -158: MACHINE=aarch64 -158: CPU= -158: Test timeout computed to be: 1500 -157: + nm mold -157: + grep -q '__[at]san_init' -149: + cc -flto -c -o out/test/aarch64/lto-nostdlib/a.o -xc - -145: + echo -144: + cc -B. -o out/test/aarch64/lto-archive/exe -flto out/test/aarch64/lto-archive/d.o out/test/aarch64/lto-archive/c.a -145: + cc -o out/test/aarch64/lto-archive2/a.o -c -flto=auto -xc - 158: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/mold-wrapper2.sh 158: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 158: ++ export LC_ALL=C @@ -9934,28 +9968,27 @@ 158: ++ QEMU= 158: ++ case $MACHINE in 158: ++ tlsdesc_opt=-mtls-dialect=desc -149: + cat -150: + cat 158: +++ uname +157: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/mold-wrapper.sh .sh 158: ++ '[' Linux = FreeBSD ']' 158: ++ trap 'on_error $LINENO' ERR 158: ++ trap on_exit EXIT -150: + cc -B. -shared -o out/test/aarch64/lto-version-script/c.so -flto out/test/aarch64/lto-version-script/a.o -Wl,-version-script=out/test/aarch64/lto-version-script/b.script +157: ++ testname=mold-wrapper +157: ++ echo -n 'Testing mold-wrapper ... ' +157: Testing mold-wrapper ... ++ t=out/test/aarch64/mold-wrapper +157: ++ mkdir -p out/test/aarch64/mold-wrapper +127: + out/test/aarch64/issue646/exe +127: + grep -q 'error: exception' 158: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/mold-wrapper2.sh .sh -145: + rm -f out/test/aarch64/lto-archive2/b.a 158: ++ testname=mold-wrapper2 158: ++ echo -n 'Testing mold-wrapper2 ... ' 158: Testing mold-wrapper2 ... ++ t=out/test/aarch64/mold-wrapper2 158: ++ mkdir -p out/test/aarch64/mold-wrapper2 -145: + ar rc out/test/aarch64/lto-archive2/b.a out/test/aarch64/lto-archive2/a.o -154: + grep -Eq '^(\S+) \1 (\S+) \2 (\S+) \3 (\S+) \4$' -154: + out/test/aarch64/mergeable-strings/exe2 -149: + cc -B. -o out/test/aarch64/lto-nostdlib/exe -flto out/test/aarch64/lto-nostdlib/a.o -nostdlib -154: + on_exit -154: + echo OK -154: OK -154: + exit 0 -147/336 Test #154: aarch64-mergeable-strings ................................ Passed 0.21 sec +127: + on_exit +127: + echo OK +127: OK +127: + exit 0 +147/336 Test #127: aarch64-issue646 ......................................... Passed 1.23 sec test 159 Start 159: aarch64-nmagic @@ -9965,20 +9998,17 @@ 159: MACHINE=aarch64 159: CPU= 159: Test timeout computed to be: 1500 -158: ++ set -x -158: + ldd mold-wrapper.so -145: + cat -145: + cc -o out/test/aarch64/lto-archive2/c.o -c -xc - -153: + cc -c -xassembler -o out/test/aarch64/many-sections2/a.o out/test/aarch64/many-sections2/a.s 151: + out/test/aarch64/main-in-dso/exe2 +157: ++ set -x +157: + '[' cc = cc ']' +158: ++ set -x 151: + grep -q 'Hello world' -158: + grep -q libasan -159: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/nmagic.sh 151: + on_exit 151: + echo OK 151: OK 151: + exit 0 -148/336 Test #151: aarch64-main-in-dso ...................................... Passed 0.25 sec +157: + grep -q libasan +148/336 Test #151: aarch64-main-in-dso ...................................... Passed 0.48 sec test 160 Start 160: aarch64-no-allow-shlib-undefined @@ -9988,6 +10018,9 @@ 160: MACHINE=aarch64 160: CPU= 160: Test timeout computed to be: 1500 +158: + ldd mold-wrapper.so +158: + grep -q libasan +159: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/nmagic.sh 159: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 159: ++ export LC_ALL=C 159: ++ LC_ALL=C @@ -10004,7 +10037,21 @@ 159: ++ QEMU= 159: ++ case $MACHINE in 159: ++ tlsdesc_opt=-mtls-dialect=desc +157: + ldd mold-wrapper.so +145: + cc -B. -o out/test/aarch64/lto-archive2/exe -flto=auto out/test/aarch64/lto-archive2/c.o out/test/aarch64/lto-archive2/b.a +159: +++ uname +159: ++ '[' Linux = FreeBSD ']' +159: ++ trap 'on_error $LINENO' ERR +159: ++ trap on_exit EXIT +158: + nm mold +158: + grep -q '__[at]san_init' +159: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/nmagic.sh .sh +159: ++ testname=nmagic +159: ++ echo -n 'Testing nmagic ... ' +159: Testing nmagic ... ++ t=out/test/aarch64/nmagic +159: ++ mkdir -p out/test/aarch64/nmagic 160: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/no-allow-shlib-undefined.sh +159: ++ set -x 160: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 160: ++ export LC_ALL=C 160: ++ LC_ALL=C @@ -10022,41 +10069,29 @@ 160: ++ case $MACHINE in 160: ++ tlsdesc_opt=-mtls-dialect=desc 160: +++ uname -159: +++ uname -159: ++ '[' Linux = FreeBSD ']' -159: ++ trap 'on_error $LINENO' ERR -159: ++ trap on_exit EXIT +159: + cc -o out/test/aarch64/nmagic/a.o -c -xc - +159: + cat 160: ++ '[' Linux = FreeBSD ']' 160: ++ trap 'on_error $LINENO' ERR 160: ++ trap on_exit EXIT -159: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/nmagic.sh .sh -159: ++ testname=nmagic -159: ++ echo -n 'Testing nmagic ... ' -159: Testing nmagic ... ++ t=out/test/aarch64/nmagic -159: ++ mkdir -p out/test/aarch64/nmagic -158: + grep -q '__[at]san_init' -158: + nm mold -159: ++ set -x 160: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/no-allow-shlib-undefined.sh .sh 160: ++ testname=no-allow-shlib-undefined 160: ++ echo -n 'Testing no-allow-shlib-undefined ... ' 160: Testing no-allow-shlib-undefined ... ++ t=out/test/aarch64/no-allow-shlib-undefined 160: ++ mkdir -p out/test/aarch64/no-allow-shlib-undefined 160: ++ set -x -159: + cat -159: + cc -o out/test/aarch64/nmagic/a.o -c -xc - +159: + cc -B. -o out/test/aarch64/nmagic/exe1 out/test/aarch64/nmagic/a.o -nostdlib -Wl,-nmagic 160: + cc -B. -shared -fPIC -o out/test/aarch64/no-allow-shlib-undefined/libfoo.so -xc - +149: + grep -Eq ' _start' 160: + cat -145: + cc -B. -o out/test/aarch64/lto-archive2/exe -flto=auto out/test/aarch64/lto-archive2/c.o out/test/aarch64/lto-archive2/b.a -146: + '[' aarch64 = ppc64 ']' -159: + cc -B. -o out/test/aarch64/nmagic/exe1 out/test/aarch64/nmagic/a.o -nostdlib -Wl,-nmagic -146: + nm -D out/test/aarch64/lto-dso/b.so -146: + grep -q 'T foo' -146: + on_exit -146: + echo OK -146: OK -146: + exit 0 -149/336 Test #146: aarch64-lto-dso .......................................... Passed 0.39 sec +147: + grep -q 'Hello world' +147: + out/test/aarch64/lto-gcc/exe1 +149: + readelf -Ws out/test/aarch64/lto-nostdlib/exe +149: + on_exit +149: + echo OK +149: OK +149: + exit 0 +149/336 Test #149: aarch64-lto-nostdlib ..................................... Passed 0.63 sec test 161 Start 161: aarch64-no-eh-frame-header @@ -10066,28 +10101,16 @@ 161: MACHINE=aarch64 161: CPU= 161: Test timeout computed to be: 1500 -147: + grep -q 'Hello world' -159: + cc -B. -o out/test/aarch64/nmagic/exe2 out/test/aarch64/nmagic/a.o -nostdlib -147: + out/test/aarch64/lto-gcc/exe1 -147: + cat -147: + gcc -flto -ffat-lto-objects -c -o out/test/aarch64/lto-gcc/b.o -xc - -161: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/no-eh-frame-header.sh -160: + cat 145: + on_exit 145: + echo OK 145: OK 145: + exit 0 -160: + cc -B. -shared -fPIC -o out/test/aarch64/no-allow-shlib-undefined/libbar.so -xc - -150/336 Test #145: aarch64-lto-archive2 ..................................... Passed 0.44 sec -test 162 - Start 162: aarch64-no-object-file - -162: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/no-object-file.sh" -162: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -162: Environment variables: -162: MACHINE=aarch64 -162: CPU= -162: Test timeout computed to be: 1500 +157: + nm mold +147: + cat +147: + gcc -flto -ffat-lto-objects -c -o out/test/aarch64/lto-gcc/b.o -xc - +157: + grep -q '__[at]san_init' +150/336 Test #145: aarch64-lto-archive2 ..................................... Passed 0.74 sec +161: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/no-eh-frame-header.sh 161: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 161: ++ export LC_ALL=C 161: ++ LC_ALL=C @@ -10104,63 +10127,34 @@ 161: ++ QEMU= 161: ++ case $MACHINE in 161: ++ tlsdesc_opt=-mtls-dialect=desc +test 162 + Start 162: aarch64-no-object-file + +162: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/no-object-file.sh" +162: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +162: Environment variables: +162: MACHINE=aarch64 +162: CPU= +162: Test timeout computed to be: 1500 161: +++ uname -162: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/no-object-file.sh -162: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc -162: ++ export LC_ALL=C -162: ++ LC_ALL=C -162: ++ '[' -z aarch64 ']' -162: ++ '[' -z '' ']' -162: ++ TESTDIR=out/test/aarch64 -162: ++ CC=cc -162: ++ CXX=c++ -162: ++ GCC=gcc -162: ++ GXX=g++ -162: ++ OBJDUMP=objdump -162: ++ OBJCOPY=objcopy -162: ++ STRIP=strip -162: ++ QEMU= -162: ++ case $MACHINE in -162: ++ tlsdesc_opt=-mtls-dialect=desc -157: + cat 161: ++ '[' Linux = FreeBSD ']' 161: ++ trap 'on_error $LINENO' ERR 161: ++ trap on_exit EXIT -157: + chmod 755 out/test/aarch64/mold-wrapper/a.sh 161: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/no-eh-frame-header.sh .sh +146: + '[' aarch64 = ppc64 ']' +146: + grep -q 'T foo' 161: ++ testname=no-eh-frame-header 161: ++ echo -n 'Testing no-eh-frame-header ... ' 161: Testing no-eh-frame-header ... ++ t=out/test/aarch64/no-eh-frame-header 161: ++ mkdir -p out/test/aarch64/no-eh-frame-header -162: +++ uname -144: + grep -q 'Hello world' -162: ++ '[' Linux = FreeBSD ']' -162: ++ trap 'on_error $LINENO' ERR -162: ++ trap on_exit EXIT +159: + cc -B. -o out/test/aarch64/nmagic/exe2 out/test/aarch64/nmagic/a.o -nostdlib +146: + nm -D out/test/aarch64/lto-dso/b.so 161: ++ set -x -157: + cat -161: + cat -161: + cc -o out/test/aarch64/no-eh-frame-header/a.o -c -xc - -144: + out/test/aarch64/lto-archive/exe -162: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/no-object-file.sh .sh -162: ++ testname=no-object-file -162: ++ echo -n 'Testing no-object-file ... ' -162: Testing no-object-file ... ++ t=out/test/aarch64/no-object-file -162: ++ mkdir -p out/test/aarch64/no-object-file -159: ++ nm out/test/aarch64/nmagic/exe1 -150: + '[' aarch64 = ppc64 ']' -144: + nm out/test/aarch64/lto-archive/exe -149: + grep -Eq ' _start' -149: + readelf -Ws out/test/aarch64/lto-nostdlib/exe -150: + nm -D out/test/aarch64/lto-version-script/c.so -150: + grep -q 'T foo' -157: + cc -xc -o out/test/aarch64/mold-wrapper/exe - -144: + grep -q hello out/test/aarch64/lto-archive/log -149: + on_exit -149: + echo OK -149: OK -149: + exit 0 -151/336 Test #149: aarch64-lto-nostdlib ..................................... Passed 0.39 sec +146: + on_exit +146: + echo OK +146: OK +146: + exit 0 +151/336 Test #146: aarch64-lto-dso .......................................... Passed 0.76 sec test 163 Start 163: aarch64-no-quick-exit @@ -10170,26 +10164,25 @@ 163: MACHINE=aarch64 163: CPU= 163: Test timeout computed to be: 1500 -144: + grep -q howdy out/test/aarch64/lto-archive/log -162: ++ set -x -159: ++ grep ' end$' -162: + cc -x assembler -c -o out/test/aarch64/no-object-file/a.o - -162: + cat -159: ++ cut '-d ' -f1 -144: + on_exit -144: + echo OK -144: OK -144: + exit 0 -152/336 Test #144: aarch64-lto-archive ...................................... Passed 0.48 sec -test 164 - Start 164: aarch64-no-undefined-version - -164: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/no-undefined-version.sh" -164: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -164: Environment variables: -164: MACHINE=aarch64 -164: CPU= -164: Test timeout computed to be: 1500 +161: + cat +161: + cc -o out/test/aarch64/no-eh-frame-header/a.o -c -xc - +162: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/no-object-file.sh +162: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc +162: ++ export LC_ALL=C +162: ++ LC_ALL=C +162: ++ '[' -z aarch64 ']' +162: ++ '[' -z '' ']' +162: ++ TESTDIR=out/test/aarch64 +162: ++ CC=cc +162: ++ CXX=c++ +162: ++ GCC=gcc +162: ++ GXX=g++ +162: ++ OBJDUMP=objdump +162: ++ OBJCOPY=objcopy +162: ++ STRIP=strip +162: ++ QEMU= +162: ++ case $MACHINE in +162: ++ tlsdesc_opt=-mtls-dialect=desc 163: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/no-quick-exit.sh 163: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 163: ++ export LC_ALL=C @@ -10207,34 +10200,69 @@ 163: ++ QEMU= 163: ++ case $MACHINE in 163: ++ tlsdesc_opt=-mtls-dialect=desc +159: ++ nm out/test/aarch64/nmagic/exe1 +162: +++ uname +162: ++ '[' Linux = FreeBSD ']' +162: ++ trap 'on_error $LINENO' ERR +162: ++ trap on_exit EXIT +162: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/no-object-file.sh .sh +162: ++ testname=no-object-file +162: ++ echo -n 'Testing no-object-file ... ' +162: Testing no-object-file ... ++ t=out/test/aarch64/no-object-file +162: ++ mkdir -p out/test/aarch64/no-object-file 163: +++ uname -159: + end1=0000000000000408 -147: + grep -q -- -fwpa -147: + gcc -B. -o out/test/aarch64/lto-gcc/exe2 out/test/aarch64/lto-gcc/b.o --verbose +159: ++ grep ' end$' 163: ++ '[' Linux = FreeBSD ']' 163: ++ trap 'on_error $LINENO' ERR 163: ++ trap on_exit EXIT -162: + rm -f out/test/aarch64/no-object-file/a.a -150: + grep -q 'T bar' -159: ++ nm out/test/aarch64/nmagic/exe2 +162: ++ set -x 159: ++ cut '-d ' -f1 -159: ++ grep ' end$' +159: + end1=0000000000000408 163: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/no-quick-exit.sh .sh 163: ++ testname=no-quick-exit 163: ++ echo -n 'Testing no-quick-exit ... ' 163: Testing no-quick-exit ... ++ t=out/test/aarch64/no-quick-exit 163: ++ mkdir -p out/test/aarch64/no-quick-exit -162: + ar rcs out/test/aarch64/no-object-file/a.a out/test/aarch64/no-object-file/a.o +162: + cat +162: + cc -x assembler -c -o out/test/aarch64/no-object-file/a.o - +163: ++ set -x +147: + grep -q -- -fwpa +163: + cat +147: + gcc -B. -o out/test/aarch64/lto-gcc/exe2 out/test/aarch64/lto-gcc/b.o --verbose +161: + cc -B. -Wl,--no-eh-frame-hdr -Wl,--thread-count=1 -O0 -o out/test/aarch64/no-eh-frame-header/exe out/test/aarch64/no-eh-frame-header/a.o +162: + rm -f out/test/aarch64/no-object-file/a.a +159: ++ cut '-d ' -f1 +163: + cc -o out/test/aarch64/no-quick-exit/a.o -c -xc - +159: ++ grep ' end$' +159: ++ nm out/test/aarch64/nmagic/exe2 159: + end2=0000000000030478 159: + '[' 1032 -lt 197752 ']' 159: + on_exit 159: + echo OK 159: OK 159: + exit 0 -163: ++ set -x -150: + nm -D out/test/aarch64/lto-version-script/c.so -163: + cc -o out/test/aarch64/no-quick-exit/a.o -c -xc - -153/336 Test #159: aarch64-nmagic ........................................... Passed 0.15 sec +152/336 Test #159: aarch64-nmagic ........................................... Passed 0.27 sec +test 164 + Start 164: aarch64-no-undefined-version + +164: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/no-undefined-version.sh" +164: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +164: Environment variables: +164: MACHINE=aarch64 +164: CPU= +164: Test timeout computed to be: 1500 +162: + ar rcs out/test/aarch64/no-object-file/a.a out/test/aarch64/no-object-file/a.o +162: + ./mold -o out/test/aarch64/no-object-file/exe out/test/aarch64/no-object-file/a.a +160: + cc -B. -shared -fPIC -o out/test/aarch64/no-allow-shlib-undefined/libbar.so -xc - +160: + cat +158: + ./mold -run bash -c 'echo $LD_PRELOAD' +158: + grep -Fq mold-wrapper.so +161: + readelf -WS out/test/aarch64/no-eh-frame-header/exe +158: + on_exit +158: + echo OK +158: OK +158: + exit 0 +153/336 Test #158: aarch64-mold-wrapper2 .................................... Passed 0.35 sec test 165 Start 165: aarch64-nocopyreloc @@ -10244,14 +10272,35 @@ 165: MACHINE=aarch64 165: CPU= 165: Test timeout computed to be: 1500 -162: + ./mold -o out/test/aarch64/no-object-file/exe out/test/aarch64/no-object-file/a.a -163: + cat -161: + cc -B. -Wl,--no-eh-frame-hdr -Wl,--thread-count=1 -O0 -o out/test/aarch64/no-eh-frame-header/exe out/test/aarch64/no-eh-frame-header/a.o -150: + on_exit -150: + echo OK -150: OK -150: + exit 0 -154/336 Test #150: aarch64-lto-version-script ............................... Passed 0.40 sec +162: mold: warning: entry symbol is not defined: _start +162: + on_exit +162: + echo OK +162: OK +162: + exit 0 +150: + '[' aarch64 = ppc64 ']' +150: + nm -D out/test/aarch64/lto-version-script/c.so +150: + grep -q 'T foo' +161: + grep -F .eh_frame_hdr out/test/aarch64/no-eh-frame-header/log +161: + out/test/aarch64/no-eh-frame-header/exe +164: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/no-undefined-version.sh +164: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc +164: ++ export LC_ALL=C +164: ++ LC_ALL=C +164: ++ '[' -z aarch64 ']' +164: ++ '[' -z '' ']' +164: ++ TESTDIR=out/test/aarch64 +164: ++ CC=cc +164: ++ CXX=c++ +164: ++ GCC=gcc +164: ++ GXX=g++ +164: ++ OBJDUMP=objdump +164: ++ OBJCOPY=objcopy +164: ++ STRIP=strip +164: ++ QEMU= +164: ++ case $MACHINE in +164: ++ tlsdesc_opt=-mtls-dialect=desc +163: + cc -B. -o out/test/aarch64/no-quick-exit/exe out/test/aarch64/no-quick-exit/a.o -Wl,-no-quick-exit +154/336 Test #162: aarch64-no-object-file ................................... Passed 0.19 sec test 166 Start 166: aarch64-noinhibit-exec @@ -10278,33 +10327,59 @@ 165: ++ QEMU= 165: ++ case $MACHINE in 165: ++ tlsdesc_opt=-mtls-dialect=desc -164: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/no-undefined-version.sh -164: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc -164: ++ export LC_ALL=C -164: ++ LC_ALL=C -164: ++ '[' -z aarch64 ']' -164: ++ '[' -z '' ']' -164: ++ TESTDIR=out/test/aarch64 -164: ++ CC=cc -164: ++ CXX=c++ -164: ++ GCC=gcc -164: ++ GXX=g++ -164: ++ OBJDUMP=objdump -164: ++ OBJCOPY=objcopy -164: ++ STRIP=strip -164: ++ QEMU= -164: ++ case $MACHINE in -164: ++ tlsdesc_opt=-mtls-dialect=desc 165: +++ uname 165: ++ '[' Linux = FreeBSD ']' 165: ++ trap 'on_error $LINENO' ERR 165: ++ trap on_exit EXIT +164: +++ uname +164: ++ '[' Linux = FreeBSD ']' +164: ++ trap 'on_error $LINENO' ERR +164: ++ trap on_exit EXIT +164: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/no-undefined-version.sh .sh +164: ++ testname=no-undefined-version +164: ++ echo -n 'Testing no-undefined-version ... ' +164: Testing no-undefined-version ... ++ t=out/test/aarch64/no-undefined-version +164: ++ mkdir -p out/test/aarch64/no-undefined-version +161: + on_exit +161: + echo OK +161: OK +161: + exit 0 +150: + grep -q 'T bar' +150: + nm -D out/test/aarch64/lto-version-script/c.so +150: + on_exit +150: + echo OK +150: OK +150: + exit 0 +144: + out/test/aarch64/lto-archive/exe +155/336 Test #150: aarch64-lto-version-script ............................... Passed 0.87 sec +156/336 Test #161: aarch64-no-eh-frame-header ............................... Passed 0.25 sec +test 167 + Start 167: aarch64-non-canonical-plt + +167: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/non-canonical-plt.sh" +167: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +167: Environment variables: +167: MACHINE=aarch64 +167: CPU= +167: Test timeout computed to be: 1500 +test 168 + Start 168: aarch64-nostdlib + +168: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/nostdlib.sh" +168: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +168: Environment variables: +168: MACHINE=aarch64 +168: CPU= +168: Test timeout computed to be: 1500 165: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/nocopyreloc.sh .sh -162: mold: warning: entry symbol is not defined: _start -162: + on_exit -162: + echo OK -162: OK -162: + exit 0 +165: ++ testname=nocopyreloc +165: ++ echo -n 'Testing nocopyreloc ... ' +165: Testing nocopyreloc ... ++ t=out/test/aarch64/nocopyreloc +165: ++ mkdir -p out/test/aarch64/nocopyreloc +164: ++ set -x +164: + echo 'ver_x { global: foo; };' +144: + grep -q 'Hello world' +144: + nm out/test/aarch64/lto-archive/exe 166: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/noinhibit-exec.sh 166: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 166: ++ export LC_ALL=C @@ -10322,34 +10397,12 @@ 166: ++ QEMU= 166: ++ case $MACHINE in 166: ++ tlsdesc_opt=-mtls-dialect=desc -155/336 Test #162: aarch64-no-object-file ................................... Passed 0.05 sec -test 167 - Start 167: aarch64-non-canonical-plt - -167: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/non-canonical-plt.sh" -167: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -167: Environment variables: -167: MACHINE=aarch64 -167: CPU= -167: Test timeout computed to be: 1500 -165: ++ testname=nocopyreloc -165: ++ echo -n 'Testing nocopyreloc ... ' -165: Testing nocopyreloc ... ++ t=out/test/aarch64/nocopyreloc -165: ++ mkdir -p out/test/aarch64/nocopyreloc -164: +++ uname -164: ++ '[' Linux = FreeBSD ']' -164: ++ trap 'on_error $LINENO' ERR -164: ++ trap on_exit EXIT -164: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/no-undefined-version.sh .sh -164: ++ testname=no-undefined-version -164: ++ echo -n 'Testing no-undefined-version ... ' -164: Testing no-undefined-version ... ++ t=out/test/aarch64/no-undefined-version -164: ++ mkdir -p out/test/aarch64/no-undefined-version +147: + gcc -flto -fno-use-linker-plugin -c -o out/test/aarch64/lto-gcc/c.o -xc - 166: +++ uname 166: ++ '[' Linux = FreeBSD ']' 166: ++ trap 'on_error $LINENO' ERR 166: ++ trap on_exit EXIT -166: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/noinhibit-exec.sh .sh +147: + cat 165: ++ set -x 165: + '[' aarch64 = i686 ']' 165: + '[' aarch64 = m68k ']' @@ -10358,8 +10411,35 @@ 165: + '[' aarch64 = ppc64le ']' 165: + '[' aarch64 = sh4 ']' 165: + [[ aarch64 = loongarch* ]] +165: + cc -shared -o out/test/aarch64/nocopyreloc/a.so -xc - +164: + cat +164: + cc -o out/test/aarch64/no-undefined-version/b.o -c -xc - +168: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/nostdlib.sh +168: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc +168: ++ export LC_ALL=C +168: ++ LC_ALL=C +168: ++ '[' -z aarch64 ']' +168: ++ '[' -z '' ']' +168: ++ TESTDIR=out/test/aarch64 +168: ++ CC=cc +168: ++ CXX=c++ +168: ++ GCC=gcc +168: ++ GXX=g++ +168: ++ OBJDUMP=objdump +168: ++ OBJCOPY=objcopy +168: ++ STRIP=strip +168: ++ QEMU= +168: ++ case $MACHINE in +168: ++ tlsdesc_opt=-mtls-dialect=desc 165: + cat +144: + grep -q hello out/test/aarch64/lto-archive/log +166: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/noinhibit-exec.sh .sh +166: ++ testname=noinhibit-exec +166: ++ echo -n 'Testing noinhibit-exec ... ' +166: Testing noinhibit-exec ... ++ t=out/test/aarch64/noinhibit-exec +166: ++ mkdir -p out/test/aarch64/noinhibit-exec 167: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/non-canonical-plt.sh +144: + grep -q howdy out/test/aarch64/lto-archive/log 167: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 167: ++ export LC_ALL=C 167: ++ LC_ALL=C @@ -10376,63 +10456,16 @@ 167: ++ QEMU= 167: ++ case $MACHINE in 167: ++ tlsdesc_opt=-mtls-dialect=desc -164: ++ set -x -164: + echo 'ver_x { global: foo; };' -166: ++ testname=noinhibit-exec -166: ++ echo -n 'Testing noinhibit-exec ... ' -166: Testing noinhibit-exec ... ++ t=out/test/aarch64/noinhibit-exec -166: ++ mkdir -p out/test/aarch64/noinhibit-exec -164: + cat -164: + cc -o out/test/aarch64/no-undefined-version/b.o -c -xc - -167: +++ uname -165: + cc -shared -o out/test/aarch64/nocopyreloc/a.so -xc - -163: + cc -B. -o out/test/aarch64/no-quick-exit/exe out/test/aarch64/no-quick-exit/a.o -Wl,-no-quick-exit 166: ++ set -x -166: + cat -166: + cc -o out/test/aarch64/noinhibit-exec/a.o -c -xc - -fno-PIC -167: ++ '[' Linux = FreeBSD ']' -167: ++ trap 'on_error $LINENO' ERR -167: ++ trap on_exit EXIT -167: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/non-canonical-plt.sh .sh -167: ++ testname=non-canonical-plt -167: ++ echo -n 'Testing non-canonical-plt ... ' -167: Testing non-canonical-plt ... ++ t=out/test/aarch64/non-canonical-plt -167: ++ mkdir -p out/test/aarch64/non-canonical-plt -167: ++ set -x -167: + cc -o out/test/aarch64/non-canonical-plt/a.so -fPIC -shared -xc - -167: + cat -161: + readelf -WS out/test/aarch64/no-eh-frame-header/exe -147: + gcc -flto -fno-use-linker-plugin -c -o out/test/aarch64/lto-gcc/c.o -xc - -147: + cat -161: + grep -F .eh_frame_hdr out/test/aarch64/no-eh-frame-header/log -158: + ./mold -run bash -c 'echo $LD_PRELOAD' -158: + grep -Fq mold-wrapper.so -158: + on_exit -158: + echo OK -158: OK -158: + exit 0 -161: + out/test/aarch64/no-eh-frame-header/exe -161: + on_exit -161: + echo OK -161: OK -161: + exit 0 -157: + grep -q 'a.sh execl' -157: ++ pwd -157: + LD_PRELOAD=/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/mold-wrapper.so -157: + MOLD_PATH=out/test/aarch64/mold-wrapper/a.sh -157: + out/test/aarch64/mold-wrapper/exe execl -160: + cat -156/336 Test #158: aarch64-mold-wrapper2 .................................... Passed 0.24 sec -157/336 Test #161: aarch64-no-eh-frame-header ............................... Passed 0.11 sec -test 168 - Start 168: aarch64-nostdlib - -168: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/nostdlib.sh" -168: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -168: Environment variables: -168: MACHINE=aarch64 -168: CPU= -168: Test timeout computed to be: 1500 +168: +++ uname +168: ++ '[' Linux = FreeBSD ']' +168: ++ trap 'on_error $LINENO' ERR +168: ++ trap on_exit EXIT +144: + on_exit +144: + echo OK +144: OK +144: + exit 0 +157/336 Test #144: aarch64-lto-archive ...................................... Passed 1.08 sec test 169 Start 169: aarch64-oformat-binary @@ -10442,54 +10475,36 @@ 169: MACHINE=aarch64 169: CPU= 169: Test timeout computed to be: 1500 -160: + cc -c -o out/test/aarch64/no-allow-shlib-undefined/a.o -c -xc - -166: + cc -B. -shared -o out/test/aarch64/noinhibit-exec/b.so out/test/aarch64/noinhibit-exec/a.o -157: ++ pwd -157: + LD_PRELOAD=/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/mold-wrapper.so -157: + MOLD_PATH=out/test/aarch64/mold-wrapper/a.sh -157: + out/test/aarch64/mold-wrapper/exe execlp -157: + grep -q 'a.sh execlp' -157: + grep -q 'a.sh execle' -157: ++ pwd -164: + cc -B. -o out/test/aarch64/no-undefined-version/exe -Wl,--version-script,out/test/aarch64/no-undefined-version/a.ver out/test/aarch64/no-undefined-version/b.o -168: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/nostdlib.sh -168: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc -168: ++ export LC_ALL=C -168: ++ LC_ALL=C -168: ++ '[' -z aarch64 ']' -168: ++ '[' -z '' ']' -168: ++ TESTDIR=out/test/aarch64 -168: ++ CC=cc -168: ++ CXX=c++ -168: ++ GCC=gcc -168: ++ GXX=g++ -168: ++ OBJDUMP=objdump -168: ++ OBJCOPY=objcopy -168: ++ STRIP=strip -168: ++ QEMU= -168: ++ case $MACHINE in -168: ++ tlsdesc_opt=-mtls-dialect=desc -168: +++ uname -168: ++ '[' Linux = FreeBSD ']' -168: ++ trap 'on_error $LINENO' ERR -168: ++ trap on_exit EXIT +166: + cat +166: + cc -o out/test/aarch64/noinhibit-exec/a.o -c -xc - -fno-PIC 168: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/nostdlib.sh .sh 168: ++ testname=nostdlib 168: ++ echo -n 'Testing nostdlib ... ' 168: Testing nostdlib ... ++ t=out/test/aarch64/nostdlib 168: ++ mkdir -p out/test/aarch64/nostdlib -157: + LD_PRELOAD=/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/mold-wrapper.so -157: + MOLD_PATH=out/test/aarch64/mold-wrapper/a.sh -157: + out/test/aarch64/mold-wrapper/exe execle -169: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/oformat-binary.sh +168: ++ set -x +168: + cat +168: + cc -o out/test/aarch64/nostdlib/a.o -c -xc - -fno-PIE +160: + cat +160: + cc -c -o out/test/aarch64/no-allow-shlib-undefined/a.o -c -xc - +167: +++ uname +167: ++ '[' Linux = FreeBSD ']' +167: ++ trap 'on_error $LINENO' ERR +167: ++ trap on_exit EXIT +147: + gcc -B. -o out/test/aarch64/lto-gcc/exe3 -flto -fno-use-linker-plugin out/test/aarch64/lto-gcc/c.o +157: + cat +167: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/non-canonical-plt.sh .sh +167: ++ testname=non-canonical-plt +167: ++ echo -n 'Testing non-canonical-plt ... ' +167: Testing non-canonical-plt ... ++ t=out/test/aarch64/non-canonical-plt +167: ++ mkdir -p out/test/aarch64/non-canonical-plt 163: + out/test/aarch64/no-quick-exit/exe 163: + grep -q 'Hello world' -168: ++ set -x 163: + on_exit 163: + echo OK 163: OK 163: + exit 0 -158/336 Test #163: aarch64-no-quick-exit .................................... Passed 0.09 sec +158/336 Test #163: aarch64-no-quick-exit .................................... Passed 0.27 sec test 170 Start 170: aarch64-omagic @@ -10499,13 +10514,9 @@ 170: MACHINE=aarch64 170: CPU= 170: Test timeout computed to be: 1500 -168: + cat -168: + cc -o out/test/aarch64/nostdlib/a.o -c -xc - -fno-PIE -157: + grep -q 'a.sh execv' -157: ++ pwd -157: + LD_PRELOAD=/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/mold-wrapper.so -157: + MOLD_PATH=out/test/aarch64/mold-wrapper/a.sh -157: + out/test/aarch64/mold-wrapper/exe execv +157: + chmod 755 out/test/aarch64/mold-wrapper/a.sh +157: + cat +169: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/oformat-binary.sh 169: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 169: ++ export LC_ALL=C 169: ++ LC_ALL=C @@ -10522,23 +10533,10 @@ 169: ++ QEMU= 169: ++ case $MACHINE in 169: ++ tlsdesc_opt=-mtls-dialect=desc -169: +++ uname -169: ++ '[' Linux = FreeBSD ']' -169: ++ trap 'on_error $LINENO' ERR -169: ++ trap on_exit EXIT -169: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/oformat-binary.sh .sh -169: ++ testname=oformat-binary -169: ++ echo -n 'Testing oformat-binary ... ' -169: Testing oformat-binary ... ++ t=out/test/aarch64/oformat-binary -169: ++ mkdir -p out/test/aarch64/oformat-binary -160: + cc -B. -o out/test/aarch64/no-allow-shlib-undefined/exe1 out/test/aarch64/no-allow-shlib-undefined/a.o -Wl,--no-allow-shlib-undefined -Lout/test/aarch64/no-allow-shlib-undefined -lfoo -lbar +164: + cc -B. -o out/test/aarch64/no-undefined-version/exe -Wl,--version-script,out/test/aarch64/no-undefined-version/a.ver out/test/aarch64/no-undefined-version/b.o +167: ++ set -x 170: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/omagic.sh -167: + cat -169: ++ set -x -157: + grep -q 'a.sh execvp' -167: + cc -o out/test/aarch64/non-canonical-plt/b.o -c -xc - -fPIC -165: + cc -fno-PIC -c -o out/test/aarch64/nocopyreloc/b.o -xc - -147: + gcc -B. -o out/test/aarch64/lto-gcc/exe3 -flto -fno-use-linker-plugin out/test/aarch64/lto-gcc/c.o +165: + cat 170: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 170: ++ export LC_ALL=C 170: ++ LC_ALL=C @@ -10556,43 +10554,48 @@ 170: ++ case $MACHINE in 170: ++ tlsdesc_opt=-mtls-dialect=desc 170: +++ uname -169: + cat -169: + cc -o out/test/aarch64/oformat-binary/a.o -c -xc - -fno-PIE -165: + cat +169: +++ uname 170: ++ '[' Linux = FreeBSD ']' 170: ++ trap 'on_error $LINENO' ERR 170: ++ trap on_exit EXIT +157: + cc -xc -o out/test/aarch64/mold-wrapper/exe - +169: ++ '[' Linux = FreeBSD ']' +169: ++ trap 'on_error $LINENO' ERR +169: ++ trap on_exit EXIT +167: + cat +165: + cc -fno-PIC -c -o out/test/aarch64/nocopyreloc/b.o -xc - +168: + ./mold -o out/test/aarch64/nostdlib/exe out/test/aarch64/nostdlib/a.o +167: + cc -o out/test/aarch64/non-canonical-plt/a.so -fPIC -shared -xc - +169: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/oformat-binary.sh .sh +169: ++ testname=oformat-binary +169: ++ echo -n 'Testing oformat-binary ... ' +169: Testing oformat-binary ... ++ t=out/test/aarch64/oformat-binary +169: ++ mkdir -p out/test/aarch64/oformat-binary +166: + cc -B. -shared -o out/test/aarch64/noinhibit-exec/b.so out/test/aarch64/noinhibit-exec/a.o +160: + cc -B. -o out/test/aarch64/no-allow-shlib-undefined/exe1 out/test/aarch64/no-allow-shlib-undefined/a.o -Wl,--no-allow-shlib-undefined -Lout/test/aarch64/no-allow-shlib-undefined -lfoo -lbar 170: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/omagic.sh .sh 170: ++ testname=omagic 170: ++ echo -n 'Testing omagic ... ' 170: Testing omagic ... ++ t=out/test/aarch64/omagic 170: ++ mkdir -p out/test/aarch64/omagic +169: ++ set -x +168: + readelf -W --sections out/test/aarch64/nostdlib/exe +169: + cat +169: + cc -o out/test/aarch64/oformat-binary/a.o -c -xc - -fno-PIE 170: ++ set -x 170: + test_cflags -static -170: + cc -B. -static -o /dev/null -xc - +169: + ./mold -o out/test/aarch64/oformat-binary/exe out/test/aarch64/oformat-binary/a.o --oformat=binary -Ttext=0x4000 -Map=out/test/aarch64/oformat-binary/map +168: + grep -Fq ' .dynsym ' out/test/aarch64/nostdlib/log 170: + echo 'int main() {}' -157: ++ pwd -157: + LD_PRELOAD=/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/mold-wrapper.so -157: + MOLD_PATH=out/test/aarch64/mold-wrapper/a.sh -157: + out/test/aarch64/mold-wrapper/exe execvp -157: + grep -q 'a.sh execvpe bar' -166: + cc -B. -o out/test/aarch64/noinhibit-exec/b.so out/test/aarch64/noinhibit-exec/a.o -Wl,-require-defined=no-such-sym -157: ++ pwd -157: + LD_PRELOAD=/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/mold-wrapper.so -157: + MOLD_PATH=out/test/aarch64/mold-wrapper/a.sh -157: + out/test/aarch64/mold-wrapper/exe execvpe +170: + cc -B. -static -o /dev/null -xc - +168: + grep -Fq ' .dynstr ' out/test/aarch64/nostdlib/log 164: + grep -Fq 'a.ver: cannot assign version `ver_x` to symbol `foo`: symbol not found' out/test/aarch64/no-undefined-version/log -168: + ./mold -o out/test/aarch64/nostdlib/exe out/test/aarch64/nostdlib/a.o +169: + grep -Eq '^\s+0x4000\s+[0-9]+\s+[0-9]+\s+\.text$' out/test/aarch64/oformat-binary/map 164: + on_exit 164: + echo OK 164: OK 164: + exit 0 -157: + on_exit -157: + echo OK -157: OK -157: + exit 0 -159/336 Test #157: aarch64-mold-wrapper ..................................... Passed 0.34 sec -160/336 Test #164: aarch64-no-undefined-version ............................. Passed 0.11 sec +159/336 Test #164: aarch64-no-undefined-version ............................. Passed 0.29 sec test 171 Start 171: aarch64-package-metadata @@ -10602,24 +10605,12 @@ 171: MACHINE=aarch64 171: CPU= 171: Test timeout computed to be: 1500 -test 172 - Start 172: aarch64-physical-image-base - -172: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/physical-image-base.sh" -172: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -172: Environment variables: -172: MACHINE=aarch64 -172: CPU= -172: Test timeout computed to be: 1500 -169: + ./mold -o out/test/aarch64/oformat-binary/exe out/test/aarch64/oformat-binary/a.o --oformat=binary -Ttext=0x4000 -Map=out/test/aarch64/oformat-binary/map -169: + grep -Eq '^\s+0x4000\s+[0-9]+\s+[0-9]+\s+\.text$' out/test/aarch64/oformat-binary/map -169: + grep -Fq .strtab out/test/aarch64/oformat-binary/map -169: + grep -Fq .shstrtab out/test/aarch64/oformat-binary/map -168: + readelf -W --sections out/test/aarch64/nostdlib/exe -168: + grep -Fq ' .dynsym ' out/test/aarch64/nostdlib/log -168: + grep -Fq ' .dynstr ' out/test/aarch64/nostdlib/log -160: + cc -B. -o out/test/aarch64/no-allow-shlib-undefined/exe2 out/test/aarch64/no-allow-shlib-undefined/a.o -Wl,--no-allow-shlib-undefined -Lout/test/aarch64/no-allow-shlib-undefined -lbar -167: + cat +165: + cc -B. -no-pie -o out/test/aarch64/nocopyreloc/exe out/test/aarch64/nocopyreloc/a.so out/test/aarch64/nocopyreloc/b.o +166: + cc -B. -o out/test/aarch64/noinhibit-exec/b.so out/test/aarch64/noinhibit-exec/a.o -Wl,-require-defined=no-such-sym +168: + on_exit +168: + echo OK +168: OK +168: + exit 0 171: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/package-metadata.sh 171: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 171: ++ export LC_ALL=C @@ -10637,24 +10628,34 @@ 171: ++ QEMU= 171: ++ case $MACHINE in 171: ++ tlsdesc_opt=-mtls-dialect=desc +160/336 Test #168: aarch64-nostdlib ......................................... Passed 0.19 sec +test 172 + Start 172: aarch64-physical-image-base + +172: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/physical-image-base.sh" +172: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +172: Environment variables: +172: MACHINE=aarch64 +172: CPU= +172: Test timeout computed to be: 1500 171: +++ uname 171: ++ '[' Linux = FreeBSD ']' 171: ++ trap 'on_error $LINENO' ERR 171: ++ trap on_exit EXIT +167: + cat +167: + cc -o out/test/aarch64/non-canonical-plt/b.o -c -xc - -fPIC +169: + grep -Fq .strtab out/test/aarch64/oformat-binary/map +172: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/physical-image-base.sh +160: + cc -B. -o out/test/aarch64/no-allow-shlib-undefined/exe2 out/test/aarch64/no-allow-shlib-undefined/a.o -Wl,--no-allow-shlib-undefined -Lout/test/aarch64/no-allow-shlib-undefined -lbar 171: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/package-metadata.sh .sh +157: ++ pwd +157: + LD_PRELOAD=/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/mold-wrapper.so +157: + MOLD_PATH=out/test/aarch64/mold-wrapper/a.sh +157: + out/test/aarch64/mold-wrapper/exe execl 171: ++ testname=package-metadata 171: ++ echo -n 'Testing package-metadata ... ' 171: Testing package-metadata ... ++ t=out/test/aarch64/package-metadata 171: ++ mkdir -p out/test/aarch64/package-metadata -171: ++ set -x -171: + cc -o out/test/aarch64/package-metadata/a.o -c -xc - -171: + cat -168: + on_exit -168: + echo OK -168: OK -168: + exit 0 -167: + cc -o out/test/aarch64/non-canonical-plt/c.o -c -xc - -fPIC -172: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/physical-image-base.sh 172: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 172: ++ export LC_ALL=C 172: ++ LC_ALL=C @@ -10671,38 +10672,67 @@ 172: ++ QEMU= 172: ++ case $MACHINE in 172: ++ tlsdesc_opt=-mtls-dialect=desc -161/336 Test #168: aarch64-nostdlib ......................................... Passed 0.07 sec -test 173 - Start 173: aarch64-pie - -173: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/pie.sh" -173: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -173: Environment variables: -173: MACHINE=aarch64 -173: CPU= -173: Test timeout computed to be: 1500 172: +++ uname 172: ++ '[' Linux = FreeBSD ']' +169: + grep -Fq .shstrtab out/test/aarch64/oformat-binary/map 172: ++ trap 'on_error $LINENO' ERR 172: ++ trap on_exit EXIT +171: ++ set -x +157: + grep -q 'a.sh execl' 169: + grep -Fq .symtab out/test/aarch64/oformat-binary/map +171: + cat +171: + cc -o out/test/aarch64/package-metadata/a.o -c -xc - +172: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/physical-image-base.sh .sh +172: ++ testname=physical-image-base +172: ++ echo -n 'Testing physical-image-base ... ' +172: Testing physical-image-base ... ++ t=out/test/aarch64/physical-image-base +172: ++ mkdir -p out/test/aarch64/physical-image-base +157: + grep -q 'a.sh execlp' +172: ++ set -x +172: + '[' aarch64 = ppc64 ']' 169: + grep -Fq .comment out/test/aarch64/oformat-binary/map +157: ++ pwd +157: + LD_PRELOAD=/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/mold-wrapper.so +157: + MOLD_PATH=out/test/aarch64/mold-wrapper/a.sh +157: + out/test/aarch64/mold-wrapper/exe execlp +172: + grep BusyBox +172: + grep --version +167: + cat +167: + cc -o out/test/aarch64/non-canonical-plt/c.o -c -xc - -fPIC 169: + on_exit 169: + echo OK 169: OK 169: + exit 0 -165: + cc -B. -no-pie -o out/test/aarch64/nocopyreloc/exe out/test/aarch64/nocopyreloc/a.so out/test/aarch64/nocopyreloc/b.o -162/336 Test #169: aarch64-oformat-binary ................................... Passed 0.07 sec -test 174 - Start 174: aarch64-plt-dso +161/336 Test #169: aarch64-oformat-binary ................................... Passed 0.21 sec +test 173 + Start 173: aarch64-pie -174: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/plt-dso.sh" -174: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -174: Environment variables: -174: MACHINE=aarch64 -174: CPU= -174: Test timeout computed to be: 1500 +173: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/pie.sh" +173: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +173: Environment variables: +173: MACHINE=aarch64 +173: CPU= +173: Test timeout computed to be: 1500 +172: + cat +172: + cc -o out/test/aarch64/physical-image-base/a.o -c -xc - +165: + out/test/aarch64/nocopyreloc/exe +165: + grep -q '3 5' +165: + cc -B. -o out/test/aarch64/nocopyreloc/exe out/test/aarch64/nocopyreloc/a.so out/test/aarch64/nocopyreloc/b.o -no-pie -Wl,-z,nocopyreloc +157: + grep -q 'a.sh execle' +157: ++ pwd +157: + LD_PRELOAD=/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/mold-wrapper.so +157: + MOLD_PATH=out/test/aarch64/mold-wrapper/a.sh +157: + out/test/aarch64/mold-wrapper/exe execle +157: + grep -q 'a.sh execv' +171: + cc -B. -o out/test/aarch64/package-metadata/exe1 out/test/aarch64/package-metadata/a.o '-Wl,-package-metadata={"foo":"bar"}' +166: + grep -q 'undefined symbol: no-such-sym' out/test/aarch64/noinhibit-exec/log1 +166: + cc -B. -shared -o out/test/aarch64/noinhibit-exec/b.o out/test/aarch64/noinhibit-exec/a.o -Wl,-require-defined=no-such-sym -Wl,-noinhibit-exec +160: + grep -Fq 'undefined symbol: foo' out/test/aarch64/no-allow-shlib-undefined/log 173: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/pie.sh +157: ++ pwd +157: + LD_PRELOAD=/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/mold-wrapper.so +157: + MOLD_PATH=out/test/aarch64/mold-wrapper/a.sh +157: + out/test/aarch64/mold-wrapper/exe execv 173: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 173: ++ export LC_ALL=C 173: ++ LC_ALL=C @@ -10719,12 +10749,40 @@ 173: ++ QEMU= 173: ++ case $MACHINE in 173: ++ tlsdesc_opt=-mtls-dialect=desc -174: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/plt-dso.sh 173: +++ uname +157: + grep -q 'a.sh execvp' +160: + on_exit +160: + echo OK +160: OK +160: + exit 0 173: ++ '[' Linux = FreeBSD ']' 173: ++ trap 'on_error $LINENO' ERR 173: ++ trap on_exit EXIT -166: + grep -q 'undefined symbol: no-such-sym' out/test/aarch64/noinhibit-exec/log1 +173: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/pie.sh .sh +173: ++ testname=pie +173: ++ echo -n 'Testing pie ... ' +173: Testing pie ... ++ t=out/test/aarch64/pie +173: ++ mkdir -p out/test/aarch64/pie +157: ++ pwd +157: + LD_PRELOAD=/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/mold-wrapper.so +157: + MOLD_PATH=out/test/aarch64/mold-wrapper/a.sh +157: + out/test/aarch64/mold-wrapper/exe execvp +167: + cc -B. -no-pie -o out/test/aarch64/non-canonical-plt/exe out/test/aarch64/non-canonical-plt/a.so out/test/aarch64/non-canonical-plt/b.o out/test/aarch64/non-canonical-plt/c.o +162/336 Test #160: aarch64-no-allow-shlib-undefined ......................... Passed 0.67 sec +test 174 + Start 174: aarch64-plt-dso + +174: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/plt-dso.sh" +174: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +174: Environment variables: +174: MACHINE=aarch64 +174: CPU= +174: Test timeout computed to be: 1500 +173: ++ set -x +173: + cat +157: + grep -q 'a.sh execvpe bar' +174: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/plt-dso.sh +173: + cc -o out/test/aarch64/pie/a.o -c -xc -fPIE - 174: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 174: ++ export LC_ALL=C 174: ++ LC_ALL=C @@ -10741,60 +10799,56 @@ 174: ++ QEMU= 174: ++ case $MACHINE in 174: ++ tlsdesc_opt=-mtls-dialect=desc -172: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/physical-image-base.sh .sh -172: ++ testname=physical-image-base -172: ++ echo -n 'Testing physical-image-base ... ' -172: Testing physical-image-base ... ++ t=out/test/aarch64/physical-image-base -172: ++ mkdir -p out/test/aarch64/physical-image-base -173: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/pie.sh .sh -166: + cc -B. -shared -o out/test/aarch64/noinhibit-exec/b.o out/test/aarch64/noinhibit-exec/a.o -Wl,-require-defined=no-such-sym -Wl,-noinhibit-exec +165: + grep -q 'recompile with -fPIC' out/test/aarch64/nocopyreloc/log +157: ++ pwd +157: + LD_PRELOAD=/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/mold-wrapper.so +157: + MOLD_PATH=out/test/aarch64/mold-wrapper/a.sh +157: + out/test/aarch64/mold-wrapper/exe execvpe +165: + on_exit +165: + echo OK +165: OK +165: + exit 0 +157: + on_exit +157: + echo OK +157: OK +157: + exit 0 +172: + cc -B. -no-pie -o out/test/aarch64/physical-image-base/exe1 out/test/aarch64/physical-image-base/a.o -Wl,--image-base=0x200000 -Wl,--physical-image-base=0x800000 174: +++ uname -173: ++ testname=pie -173: ++ echo -n 'Testing pie ... ' -173: Testing pie ... ++ t=out/test/aarch64/pie -173: ++ mkdir -p out/test/aarch64/pie +163/336 Test #157: aarch64-mold-wrapper ..................................... Passed 0.78 sec +164/336 Test #165: aarch64-nocopyreloc ...................................... Passed 0.41 sec +test 175 + Start 175: aarch64-pltgot + +175: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/pltgot.sh" +175: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +175: Environment variables: +175: MACHINE=aarch64 +175: CPU= +175: Test timeout computed to be: 1500 +test 176 + Start 176: aarch64-preinit-array + +176: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/preinit-array.sh" +176: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +176: Environment variables: +176: MACHINE=aarch64 +176: CPU= +176: Test timeout computed to be: 1500 174: ++ '[' Linux = FreeBSD ']' 174: ++ trap 'on_error $LINENO' ERR 174: ++ trap on_exit EXIT 174: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/plt-dso.sh .sh -171: + cc -B. -o out/test/aarch64/package-metadata/exe1 out/test/aarch64/package-metadata/a.o '-Wl,-package-metadata={"foo":"bar"}' -173: ++ set -x -173: + cat 174: ++ testname=plt-dso 174: ++ echo -n 'Testing plt-dso ... ' 174: Testing plt-dso ... ++ t=out/test/aarch64/plt-dso 174: ++ mkdir -p out/test/aarch64/plt-dso -173: + cc -o out/test/aarch64/pie/a.o -c -xc -fPIE - -172: ++ set -x -172: + '[' aarch64 = ppc64 ']' -172: + grep --version -172: + grep BusyBox -172: + cc -o out/test/aarch64/physical-image-base/a.o -c -xc - -172: + cat -160: + grep -Fq 'undefined symbol: foo' out/test/aarch64/no-allow-shlib-undefined/log 174: ++ set -x -174: + cat 174: + cc -fPIC -c -o out/test/aarch64/plt-dso/a.o -xc - -160: + on_exit -160: + echo OK -160: OK -160: + exit 0 -163/336 Test #160: aarch64-no-allow-shlib-undefined ......................... Passed 0.31 sec -test 175 - Start 175: aarch64-pltgot - -175: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/pltgot.sh" -175: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -175: Environment variables: -175: MACHINE=aarch64 -175: CPU= -175: Test timeout computed to be: 1500 -165: + grep -q '3 5' -165: + out/test/aarch64/nocopyreloc/exe -165: + cc -B. -o out/test/aarch64/nocopyreloc/exe out/test/aarch64/nocopyreloc/a.so out/test/aarch64/nocopyreloc/b.o -no-pie -Wl,-z,nocopyreloc -175: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/pltgot.sh -167: + cc -B. -no-pie -o out/test/aarch64/non-canonical-plt/exe out/test/aarch64/non-canonical-plt/a.so out/test/aarch64/non-canonical-plt/b.o out/test/aarch64/non-canonical-plt/c.o +174: + cat +173: + cc -B. -pie -o out/test/aarch64/pie/exe out/test/aarch64/pie/a.o 166: + grep -q 'undefined symbol: no-such-sym' out/test/aarch64/noinhibit-exec/log2 +170: + cc -c -o out/test/aarch64/omagic/a.o -xc - -fno-PIC +175: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/pltgot.sh 175: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 175: ++ export LC_ALL=C 175: ++ LC_ALL=C @@ -10811,33 +10865,26 @@ 175: ++ QEMU= 175: ++ case $MACHINE in 175: ++ tlsdesc_opt=-mtls-dialect=desc +170: + cat 166: + on_exit 166: + echo OK 166: OK 166: + exit 0 -164/336 Test #166: aarch64-noinhibit-exec ................................... Passed 0.18 sec -test 176 - Start 176: aarch64-preinit-array - -176: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/preinit-array.sh" -176: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -176: Environment variables: -176: MACHINE=aarch64 -176: CPU= -176: Test timeout computed to be: 1500 -170: + cat -170: + cc -c -o out/test/aarch64/omagic/a.o -xc - -fno-PIC -173: + cc -B. -pie -o out/test/aarch64/pie/exe out/test/aarch64/pie/a.o 175: +++ uname 175: ++ '[' Linux = FreeBSD ']' 175: ++ trap 'on_error $LINENO' ERR 175: ++ trap on_exit EXIT -175: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/pltgot.sh .sh +165/336 Test #166: aarch64-noinhibit-exec ................................... Passed 0.41 sec +test 177 + Start 177: aarch64-print-dependencies + +177: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/print-dependencies.sh" +177: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +177: Environment variables: +177: MACHINE=aarch64 +177: CPU= +177: Test timeout computed to be: 1500 176: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/preinit-array.sh -175: ++ testname=pltgot -175: ++ echo -n 'Testing pltgot ... ' -175: Testing pltgot ... ++ t=out/test/aarch64/pltgot -175: ++ mkdir -p out/test/aarch64/pltgot 176: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 176: ++ export LC_ALL=C 176: ++ LC_ALL=C @@ -10854,51 +10901,9 @@ 176: ++ QEMU= 176: ++ case $MACHINE in 176: ++ tlsdesc_opt=-mtls-dialect=desc -175: ++ set -x -175: + cc -o out/test/aarch64/pltgot/a.o -c -xc - -fPIC -175: + cat -176: +++ uname -172: + cc -B. -no-pie -o out/test/aarch64/physical-image-base/exe1 out/test/aarch64/physical-image-base/a.o -Wl,--image-base=0x200000 -Wl,--physical-image-base=0x800000 -176: ++ '[' Linux = FreeBSD ']' -176: ++ trap 'on_error $LINENO' ERR -176: ++ trap on_exit EXIT -176: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/preinit-array.sh .sh -176: ++ testname=preinit-array -176: ++ echo -n 'Testing preinit-array ... ' -176: Testing preinit-array ... ++ t=out/test/aarch64/preinit-array -176: ++ mkdir -p out/test/aarch64/preinit-array -171: + readelf -x .note.package out/test/aarch64/package-metadata/exe1 174: + cc -B. -shared -o out/test/aarch64/plt-dso/b.so out/test/aarch64/plt-dso/a.o -171: + grep -Fq '{"foo":"bar"}' -171: + cc -B. -o out/test/aarch64/package-metadata/exe2 out/test/aarch64/package-metadata/a.o -Wl,--encoded-package-metadata=%7B%22foo%22%3A%22bar%22%7D -176: ++ set -x -176: + cat -176: + cc -o out/test/aarch64/preinit-array/a.o -c -xc - -170: + cc -B. out/test/aarch64/omagic/a.o -o out/test/aarch64/omagic/exe -static -Wl,--omagic -165: + grep -q 'recompile with -fPIC' out/test/aarch64/nocopyreloc/log -172: + grep -q 'Hello world' -165: + on_exit -165: + echo OK -165: OK -165: + exit 0 -165/336 Test #165: aarch64-nocopyreloc ...................................... Passed 0.22 sec -test 177 - Start 177: aarch64-print-dependencies - -177: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/print-dependencies.sh" -177: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -177: Environment variables: -177: MACHINE=aarch64 -177: CPU= -177: Test timeout computed to be: 1500 -172: + out/test/aarch64/physical-image-base/exe1 -172: + grep -Eq 'LOAD\s+0x000000 0x0*200000 0x0*800000' -172: + readelf -W --segments out/test/aarch64/physical-image-base/exe1 -172: + readelf -Ws out/test/aarch64/physical-image-base/exe1 -172: + grep -q __phys_start_foo -172: + cc -B. -no-pie -o out/test/aarch64/physical-image-base/exe2 out/test/aarch64/physical-image-base/a.o -Wl,--physical-image-base=0x800000 '-Wl,--section-order==0x800000 TEXT RODATA =0x900000 DATA BSS' 177: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/print-dependencies.sh -167: + grep -q '^1 1 1$' +175: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/pltgot.sh .sh 177: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 177: ++ export LC_ALL=C 177: ++ LC_ALL=C @@ -10915,35 +10920,56 @@ 177: ++ QEMU= 177: ++ case $MACHINE in 177: ++ tlsdesc_opt=-mtls-dialect=desc -175: + cc -B. -shared -o out/test/aarch64/pltgot/b.so out/test/aarch64/pltgot/a.o -167: + out/test/aarch64/non-canonical-plt/exe 177: +++ uname -167: + readelf --dyn-syms out/test/aarch64/non-canonical-plt/exe 177: ++ '[' Linux = FreeBSD ']' 177: ++ trap 'on_error $LINENO' ERR 177: ++ trap on_exit EXIT -167: + grep -q '00000000 .* foo' +175: ++ testname=pltgot +175: ++ echo -n 'Testing pltgot ... ' +175: Testing pltgot ... ++ t=out/test/aarch64/pltgot +175: ++ mkdir -p out/test/aarch64/pltgot +176: +++ uname +171: + readelf -x .note.package out/test/aarch64/package-metadata/exe1 +176: ++ '[' Linux = FreeBSD ']' +176: ++ trap 'on_error $LINENO' ERR +176: ++ trap on_exit EXIT +176: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/preinit-array.sh .sh 177: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/print-dependencies.sh .sh 177: ++ testname=print-dependencies 177: ++ echo -n 'Testing print-dependencies ... ' 177: Testing print-dependencies ... ++ t=out/test/aarch64/print-dependencies 177: ++ mkdir -p out/test/aarch64/print-dependencies +171: + grep -Fq '{"foo":"bar"}' +175: ++ set -x +167: + grep -q '^1 1 1$' +171: + cc -B. -o out/test/aarch64/package-metadata/exe2 out/test/aarch64/package-metadata/a.o -Wl,--encoded-package-metadata=%7B%22foo%22%3A%22bar%22%7D +172: + out/test/aarch64/physical-image-base/exe1 +176: ++ testname=preinit-array +176: ++ echo -n 'Testing preinit-array ... ' +176: Testing preinit-array ... ++ t=out/test/aarch64/preinit-array 177: ++ set -x -177: + cc -o out/test/aarch64/print-dependencies/a.o -c -xc - +176: ++ mkdir -p out/test/aarch64/preinit-array +167: + out/test/aarch64/non-canonical-plt/exe +175: + cat +175: + cc -o out/test/aarch64/pltgot/a.o -c -xc - -fPIC 177: + cat +177: + cc -o out/test/aarch64/print-dependencies/a.o -c -xc - +176: ++ set -x +172: + grep -q 'Hello world' 167: + readelf --dyn-syms out/test/aarch64/non-canonical-plt/exe -176: + ./mold -o out/test/aarch64/preinit-array/exe1 out/test/aarch64/preinit-array/a.o -167: + grep -q '00000000 .* bar' -174: + cc -c -o out/test/aarch64/plt-dso/c.o -xc - -174: + cat -167: + on_exit -167: + echo OK -167: OK -167: + exit 0 -173: + grep -q -E '(Shared object file|Position-Independent Executable file)' -173: + readelf --file-header out/test/aarch64/pie/exe -171: + readelf -x .note.package out/test/aarch64/package-metadata/exe2 -166/336 Test #167: aarch64-non-canonical-plt ................................ Passed 0.24 sec +176: + cat +176: + cc -o out/test/aarch64/preinit-array/a.o -c -xc - +167: + grep -q '00000000 .* foo' +170: + cc -B. out/test/aarch64/omagic/a.o -o out/test/aarch64/omagic/exe -static -Wl,--omagic +172: + grep -Eq 'LOAD\s+0x000000 0x0*200000 0x0*800000' +147: + grep -q 'Hello world' +172: + readelf -W --segments out/test/aarch64/physical-image-base/exe1 +147: + out/test/aarch64/lto-gcc/exe3 +147: + on_exit +147: + echo OK +147: OK +147: + exit 0 +166/336 Test #147: aarch64-lto-gcc .......................................... Passed 1.40 sec test 178 Start 178: aarch64-protected-dynsym @@ -10953,14 +10979,27 @@ 178: MACHINE=aarch64 178: CPU= 178: Test timeout computed to be: 1500 -171: + grep -Fq '{"foo":"bar"}' -171: + cc -B. -o out/test/aarch64/package-metadata/exe3 out/test/aarch64/package-metadata/a.o -Wl,--encoded-package-metadata=foo%x -173: + grep -q 'Hello world' -173: + out/test/aarch64/pie/exe -173: + on_exit -173: + echo OK -173: OK -173: + exit 0 +167: + grep -q '00000000 .* bar' +167: + readelf --dyn-syms out/test/aarch64/non-canonical-plt/exe +174: + cat +172: + readelf -Ws out/test/aarch64/physical-image-base/exe1 +172: + grep -q __phys_start_foo +174: + cc -c -o out/test/aarch64/plt-dso/c.o -xc - +167: + on_exit +167: + echo OK +167: OK +167: + exit 0 +172: + cc -B. -no-pie -o out/test/aarch64/physical-image-base/exe2 out/test/aarch64/physical-image-base/a.o -Wl,--physical-image-base=0x800000 '-Wl,--section-order==0x800000 TEXT RODATA =0x900000 DATA BSS' +167/336 Test #167: aarch64-non-canonical-plt ................................ Passed 0.48 sec +test 179 + Start 179: aarch64-protected + +179: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/protected.sh" +179: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +179: Environment variables: +179: MACHINE=aarch64 +179: CPU= +179: Test timeout computed to be: 1500 178: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/protected-dynsym.sh 178: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 178: ++ export LC_ALL=C @@ -10982,38 +11021,18 @@ 178: ++ '[' Linux = FreeBSD ']' 178: ++ trap 'on_error $LINENO' ERR 178: ++ trap on_exit EXIT -167/336 Test #173: aarch64-pie .............................................. Passed 0.13 sec -test 179 - Start 179: aarch64-protected - -179: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/protected.sh" -179: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -179: Environment variables: -179: MACHINE=aarch64 -179: CPU= -179: Test timeout computed to be: 1500 -171: + grep -q 'invalid string: foo%x' out/test/aarch64/package-metadata/log -171: + on_exit -171: + echo OK -171: OK -171: + exit 0 +173: + readelf --file-header out/test/aarch64/pie/exe +173: + grep -q -E '(Shared object file|Position-Independent Executable file)' +175: + cc -B. -shared -o out/test/aarch64/pltgot/b.so out/test/aarch64/pltgot/a.o +173: + grep -q 'Hello world' +177: + cc -o out/test/aarch64/print-dependencies/b.o -c -xc - +177: + cat 178: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/protected-dynsym.sh .sh 178: ++ testname=protected-dynsym 178: ++ echo -n 'Testing protected-dynsym ... ' 178: Testing protected-dynsym ... ++ t=out/test/aarch64/protected-dynsym 178: ++ mkdir -p out/test/aarch64/protected-dynsym -178: ++ set -x -178: + cc -fPIC -c -o out/test/aarch64/protected-dynsym/a.o -xc - -178: + cat -147: + out/test/aarch64/lto-gcc/exe3 -147: + grep -q 'Hello world' -147: + on_exit -147: + echo OK -147: OK -147: + exit 0 -176: + readelf -W --dynamic out/test/aarch64/preinit-array/exe1 -172: + grep -Eq 'LOAD\s+\S+\s+(\S+)\s\1.*R E 0' -172: + readelf -W --segments out/test/aarch64/physical-image-base/exe2 +173: + out/test/aarch64/pie/exe 179: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/protected.sh 179: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 179: ++ export LC_ALL=C @@ -11031,12 +11050,13 @@ 179: ++ QEMU= 179: ++ case $MACHINE in 179: ++ tlsdesc_opt=-mtls-dialect=desc -179: +++ uname -179: ++ '[' Linux = FreeBSD ']' -179: ++ trap 'on_error $LINENO' ERR -179: ++ trap on_exit EXIT -168/336 Test #147: aarch64-lto-gcc .......................................... Passed 0.72 sec -169/336 Test #171: aarch64-package-metadata ................................. Passed 0.17 sec +173: + on_exit +173: + echo OK +173: OK +173: + exit 0 +178: ++ set -x +178: + cc -fPIC -c -o out/test/aarch64/protected-dynsym/a.o -xc - +168/336 Test #173: aarch64-pie .............................................. Passed 0.27 sec test 180 Start 180: aarch64-push-pop-state @@ -11046,37 +11066,12 @@ 180: MACHINE=aarch64 180: CPU= 180: Test timeout computed to be: 1500 -test 181 - Start 181: aarch64-range-extension-thunk - -181: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/range-extension-thunk.sh" -181: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -181: Environment variables: -181: MACHINE=aarch64 -181: CPU= -181: Test timeout computed to be: 1500 +176: + ./mold -o out/test/aarch64/preinit-array/exe1 out/test/aarch64/preinit-array/a.o 178: + cat -178: + cc -fPIC -c -o out/test/aarch64/protected-dynsym/b.o -fcommon -xc - -176: + grep -q PREINIT_ARRAY out/test/aarch64/preinit-array/log1 -176: + cat -176: + cc -o out/test/aarch64/preinit-array/b.o -c -xc - -172: + readelf -W --segments out/test/aarch64/physical-image-base/exe2 -172: + grep -Eq 'LOAD\s+\S+\s+(\S+)\s\1.*R 0' -172: + on_exit -172: + echo OK -172: OK -172: + exit 0 -179: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/protected.sh .sh -179: ++ testname=protected -179: ++ echo -n 'Testing protected ... ' -179: Testing protected ... ++ t=out/test/aarch64/protected -179: ++ mkdir -p out/test/aarch64/protected -179: ++ set -x -179: + cat -179: + cc -fPIC -c -o out/test/aarch64/protected/a.o -xc - -174: + cc -B. -o out/test/aarch64/plt-dso/exe -Wl,-rpath=out/test/aarch64/plt-dso out/test/aarch64/plt-dso/c.o out/test/aarch64/plt-dso/b.so -177: + cat -177: + cc -o out/test/aarch64/print-dependencies/b.o -c -xc - +179: +++ uname +179: ++ '[' Linux = FreeBSD ']' +179: ++ trap 'on_error $LINENO' ERR +179: ++ trap on_exit EXIT 180: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/push-pop-state.sh 180: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 180: ++ export LC_ALL=C @@ -11094,29 +11089,50 @@ 180: ++ QEMU= 180: ++ case $MACHINE in 180: ++ tlsdesc_opt=-mtls-dialect=desc +172: + grep -Eq 'LOAD\s+\S+\s+(\S+)\s\1.*R E 0' +172: + readelf -W --segments out/test/aarch64/physical-image-base/exe2 +171: + grep -Fq '{"foo":"bar"}' +171: + readelf -x .note.package out/test/aarch64/package-metadata/exe2 +172: + grep -Eq 'LOAD\s+\S+\s+(\S+)\s\1.*R 0' +172: + readelf -W --segments out/test/aarch64/physical-image-base/exe2 +172: + on_exit +172: + echo OK +172: OK +172: + exit 0 +171: + cc -B. -o out/test/aarch64/package-metadata/exe3 out/test/aarch64/package-metadata/a.o -Wl,--encoded-package-metadata=foo%x +179: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/protected.sh .sh +179: ++ testname=protected +179: ++ echo -n 'Testing protected ... ' +179: Testing protected ... ++ t=out/test/aarch64/protected +179: ++ mkdir -p out/test/aarch64/protected +179: ++ set -x +179: + cc -fPIC -c -o out/test/aarch64/protected/a.o -xc - 180: +++ uname 180: ++ '[' Linux = FreeBSD ']' 180: ++ trap 'on_error $LINENO' ERR 180: ++ trap on_exit EXIT +179: + cat +174: + cc -B. -o out/test/aarch64/plt-dso/exe -Wl,-rpath=out/test/aarch64/plt-dso out/test/aarch64/plt-dso/c.o out/test/aarch64/plt-dso/b.so +169/336 Test #172: aarch64-physical-image-base .............................. Passed 0.37 sec +176: + readelf -W --dynamic out/test/aarch64/preinit-array/exe1 180: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/push-pop-state.sh .sh +test 181 + Start 181: aarch64-range-extension-thunk + +181: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/range-extension-thunk.sh" +181: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +181: Environment variables: +181: MACHINE=aarch64 +181: CPU= +181: Test timeout computed to be: 1500 +176: + grep -q PREINIT_ARRAY out/test/aarch64/preinit-array/log1 180: ++ testname=push-pop-state 180: ++ echo -n 'Testing push-pop-state ... ' 180: Testing push-pop-state ... ++ t=out/test/aarch64/push-pop-state 180: ++ mkdir -p out/test/aarch64/push-pop-state -180: ++ set -x -180: + cc -shared -o out/test/aarch64/push-pop-state/a.so -xc - -170/336 Test #172: aarch64-physical-image-base .............................. Passed 0.19 sec -test 182 - Start 182: aarch64-range-extension-thunk2 - -182: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/range-extension-thunk2.sh" -182: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -182: Environment variables: -182: MACHINE=aarch64 -182: CPU= -182: Test timeout computed to be: 1500 -180: + cat -181: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/range-extension-thunk.sh +175: + cat +175: + cc -o out/test/aarch64/pltgot/c.o -c -xc - -fPIC +181: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/range-extension-thunk.sh 181: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 181: ++ export LC_ALL=C 181: ++ LC_ALL=C @@ -11133,14 +11149,40 @@ 181: ++ QEMU= 181: ++ case $MACHINE in 181: ++ tlsdesc_opt=-mtls-dialect=desc -170: + grep -qw RWE -170: + readelf -W --segments out/test/aarch64/omagic/exe -170: + on_exit -170: + echo OK -170: OK -170: + exit 0 -175: + cat -175: + cc -o out/test/aarch64/pltgot/c.o -c -xc - -fPIC +178: + cc -fPIC -c -o out/test/aarch64/protected-dynsym/b.o -fcommon -xc - +171: + grep -q 'invalid string: foo%x' out/test/aarch64/package-metadata/log +180: ++ set -x +176: + cat +176: + cc -o out/test/aarch64/preinit-array/b.o -c -xc - +178: + cat +179: + cc -B. -o out/test/aarch64/protected/b.so -shared out/test/aarch64/protected/a.o +181: +++ uname +181: ++ '[' Linux = FreeBSD ']' +181: ++ trap 'on_error $LINENO' ERR +181: ++ trap on_exit EXIT +171: + on_exit +171: + echo OK +171: OK +171: + exit 0 +170/336 Test #171: aarch64-package-metadata ................................. Passed 0.42 sec +test 182 + Start 182: aarch64-range-extension-thunk2 + +182: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/range-extension-thunk2.sh" +182: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +182: Environment variables: +182: MACHINE=aarch64 +182: CPU= +182: Test timeout computed to be: 1500 +180: + cat +180: + cc -shared -o out/test/aarch64/push-pop-state/a.so -xc - +177: + cc -B. -o out/test/aarch64/print-dependencies/exe out/test/aarch64/print-dependencies/a.o out/test/aarch64/print-dependencies/b.o -Wl,--print-dependencies +181: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/range-extension-thunk.sh .sh +181: ++ testname=range-extension-thunk +181: ++ echo -n 'Testing range-extension-thunk ... ' +181: Testing range-extension-thunk ... ++ t=out/test/aarch64/range-extension-thunk +181: ++ mkdir -p out/test/aarch64/range-extension-thunk +175: + cc -B. -o out/test/aarch64/pltgot/exe out/test/aarch64/pltgot/c.o out/test/aarch64/pltgot/b.so 182: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/range-extension-thunk2.sh 182: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 182: ++ export LC_ALL=C @@ -11158,29 +11200,6 @@ 182: ++ QEMU= 182: ++ case $MACHINE in 182: ++ tlsdesc_opt=-mtls-dialect=desc -182: +++ uname -182: ++ '[' Linux = FreeBSD ']' -182: ++ trap 'on_error $LINENO' ERR -182: ++ trap on_exit EXIT -171/336 Test #170: aarch64-omagic ........................................... Passed 0.23 sec -test 183 - Start 183: aarch64-range-extension-thunk3 - -183: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/range-extension-thunk3.sh" -183: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -183: Environment variables: -183: MACHINE=aarch64 -183: CPU= -183: Test timeout computed to be: 1500 -181: +++ uname -181: ++ '[' Linux = FreeBSD ']' -181: ++ trap 'on_error $LINENO' ERR -181: ++ trap on_exit EXIT -181: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/range-extension-thunk.sh .sh -181: ++ testname=range-extension-thunk -181: ++ echo -n 'Testing range-extension-thunk ... ' -181: Testing range-extension-thunk ... ++ t=out/test/aarch64/range-extension-thunk -181: ++ mkdir -p out/test/aarch64/range-extension-thunk 181: ++ set -x 181: + '[' aarch64 = i686 ']' 181: + '[' aarch64 = riscv32 ']' @@ -11191,21 +11210,54 @@ 181: + '[' '' '!=' '' ']' 181: + grep -qw qemu /proc/cpuinfo 181: + cat +182: +++ uname +176: + cc -B. -o out/test/aarch64/preinit-array/exe2 out/test/aarch64/preinit-array/b.o 181: + cat +178: + cc -B. -shared -o out/test/aarch64/protected-dynsym/c.so out/test/aarch64/protected-dynsym/a.o out/test/aarch64/protected-dynsym/b.o -Wl,-strip-all +182: ++ '[' Linux = FreeBSD ']' +182: ++ trap 'on_error $LINENO' ERR +182: ++ trap on_exit EXIT +170: + readelf -W --segments out/test/aarch64/omagic/exe +170: + grep -qw RWE 181: + cc -c -o out/test/aarch64/range-extension-thunk/c.o out/test/aarch64/range-extension-thunk/a.c -O0 182: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/range-extension-thunk2.sh .sh +170: + on_exit +170: + echo OK +170: OK +170: + exit 0 +171/336 Test #170: aarch64-omagic ........................................... Passed 0.59 sec +test 183 + Start 183: aarch64-range-extension-thunk3 + +183: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/range-extension-thunk3.sh" +183: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +183: Environment variables: +183: MACHINE=aarch64 +183: CPU= +183: Test timeout computed to be: 1500 182: ++ testname=range-extension-thunk2 182: ++ echo -n 'Testing range-extension-thunk2 ... ' 182: Testing range-extension-thunk2 ... ++ t=out/test/aarch64/range-extension-thunk2 182: ++ mkdir -p out/test/aarch64/range-extension-thunk2 -182: ++ set -x -182: + cc -o out/test/aarch64/range-extension-thunk2/a.o -c -xc - -ffunction-sections -177: + cc -B. -o out/test/aarch64/print-dependencies/exe out/test/aarch64/print-dependencies/a.o out/test/aarch64/print-dependencies/b.o -Wl,--print-dependencies -178: + cc -B. -shared -o out/test/aarch64/protected-dynsym/c.so out/test/aarch64/protected-dynsym/a.o out/test/aarch64/protected-dynsym/b.o -Wl,-strip-all -176: + cc -B. -o out/test/aarch64/preinit-array/exe2 out/test/aarch64/preinit-array/b.o 174: + grep -q 'Hello WORLD' -183: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/range-extension-thunk3.sh +174: + out/test/aarch64/plt-dso/exe +174: + on_exit +174: + echo OK +174: OK +174: + exit 0 +172/336 Test #174: aarch64-plt-dso .......................................... Passed 0.37 sec +test 184 + Start 184: aarch64-relax-got-load + +184: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/relax-got-load.sh" +184: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +184: Environment variables: +184: MACHINE=aarch64 +184: CPU= +184: Test timeout computed to be: 1500 +182: ++ set -x 182: + cat +183: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/range-extension-thunk3.sh 183: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 183: ++ export LC_ALL=C 183: ++ LC_ALL=C @@ -11222,38 +11274,10 @@ 183: ++ QEMU= 183: ++ case $MACHINE in 183: ++ tlsdesc_opt=-mtls-dialect=desc -183: +++ uname -183: ++ '[' Linux = FreeBSD ']' -183: ++ trap 'on_error $LINENO' ERR -183: ++ trap on_exit EXIT -183: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/range-extension-thunk3.sh .sh -174: + out/test/aarch64/plt-dso/exe -174: + on_exit -174: + echo OK -174: OK -174: + exit 0 -179: + cc -B. -o out/test/aarch64/protected/b.so -shared out/test/aarch64/protected/a.o -180: + cc -shared -o out/test/aarch64/push-pop-state/b.so -xc - +182: + cc -o out/test/aarch64/range-extension-thunk2/a.o -c -xc - -ffunction-sections 180: + cat -175: + cc -B. -o out/test/aarch64/pltgot/exe out/test/aarch64/pltgot/c.o out/test/aarch64/pltgot/b.so -183: ++ testname=range-extension-thunk3 -183: ++ echo -n 'Testing range-extension-thunk3 ... ' -183: Testing range-extension-thunk3 ... ++ t=out/test/aarch64/range-extension-thunk3 -183: ++ mkdir -p out/test/aarch64/range-extension-thunk3 -172/336 Test #174: aarch64-plt-dso .......................................... Passed 0.20 sec -test 184 - Start 184: aarch64-relax-got-load - -184: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/relax-got-load.sh" -184: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -184: Environment variables: -184: MACHINE=aarch64 -184: CPU= -184: Test timeout computed to be: 1500 -183: ++ set -x -183: + '[' aarch64 = sh4 ']' +180: + cc -shared -o out/test/aarch64/push-pop-state/b.so -xc - 184: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/relax-got-load.sh -183: + seq 1 10000 184: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 184: ++ export LC_ALL=C 184: ++ LC_ALL=C @@ -11270,16 +11294,26 @@ 184: ++ QEMU= 184: ++ case $MACHINE in 184: ++ tlsdesc_opt=-mtls-dialect=desc -183: + sed 's/.*/void func&() {}/' -176: + readelf -W --dynamic out/test/aarch64/preinit-array/exe2 -176: + grep -q PREINIT_ARRAY -178: + grep -Eq 'PROTECTED\b.*\bfoo\b' +183: +++ uname +183: ++ '[' Linux = FreeBSD ']' +183: ++ trap 'on_error $LINENO' ERR +183: ++ trap on_exit EXIT +177: + grep -q 'b\.o.*a\.o.*foo$' out/test/aarch64/print-dependencies/log +179: + cc -c -o out/test/aarch64/protected/c.o -xc - -fno-PIE +179: + cat +184: +++ uname 178: + readelf --symbols out/test/aarch64/protected-dynsym/c.so -176: + on_exit -176: + echo OK -176: OK -176: + exit 0 -173/336 Test #176: aarch64-preinit-array .................................... Passed 0.16 sec +183: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/range-extension-thunk3.sh .sh +183: ++ testname=range-extension-thunk3 +183: ++ echo -n 'Testing range-extension-thunk3 ... ' +183: Testing range-extension-thunk3 ... ++ t=out/test/aarch64/range-extension-thunk3 +183: ++ mkdir -p out/test/aarch64/range-extension-thunk3 +178: + grep -Eq 'PROTECTED\b.*\bfoo\b' +177: + on_exit +177: + echo OK +177: OK +177: + exit 0 +173/336 Test #177: aarch64-print-dependencies ............................... Passed 0.34 sec test 185 Start 185: aarch64-reloc-rodata @@ -11289,17 +11323,38 @@ 185: MACHINE=aarch64 185: CPU= 185: Test timeout computed to be: 1500 -183: + cc -B. -o out/test/aarch64/range-extension-thunk3/b.so -shared out/test/aarch64/range-extension-thunk3/a.c +184: ++ '[' Linux = FreeBSD ']' +184: ++ trap 'on_error $LINENO' ERR +184: ++ trap on_exit EXIT +184: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/relax-got-load.sh .sh +184: ++ testname=relax-got-load +184: ++ echo -n 'Testing relax-got-load ... ' +184: Testing relax-got-load ... ++ t=out/test/aarch64/relax-got-load +184: ++ mkdir -p out/test/aarch64/relax-got-load +184: ++ set -x +184: + cc -o out/test/aarch64/relax-got-load/a.o -c -xc - -fPIC +184: + cat +175: + grep -q 'Hello world' +175: + out/test/aarch64/pltgot/exe +175: + on_exit +175: + echo OK +175: OK +175: + exit 0 178: + cc -fPIC -c -o out/test/aarch64/protected-dynsym/d.o -fno-common -xc - 178: + cat -177: + grep -q 'b\.o.*a\.o.*foo$' out/test/aarch64/print-dependencies/log -177: + on_exit -177: + echo OK -177: OK -177: + exit 0 -184: +++ uname +183: ++ set -x +183: + '[' aarch64 = sh4 ']' +183: + sed 's/.*/void func&() {}/' +183: + seq 1 10000 +183: + cc -B. -o out/test/aarch64/range-extension-thunk3/b.so -shared out/test/aarch64/range-extension-thunk3/a.c +176: + readelf -W --dynamic out/test/aarch64/preinit-array/exe2 +176: + grep -q PREINIT_ARRAY +176: + on_exit +176: + echo OK +176: OK +176: + exit 0 185: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/reloc-rodata.sh -174/336 Test #177: aarch64-print-dependencies ............................... Passed 0.13 sec +174/336 Test #175: aarch64-pltgot ........................................... Passed 0.40 sec test 186 Start 186: aarch64-relocatable-archive @@ -11309,51 +11364,11 @@ 186: MACHINE=aarch64 186: CPU= 186: Test timeout computed to be: 1500 -184: ++ '[' Linux = FreeBSD ']' -184: ++ trap 'on_error $LINENO' ERR -184: ++ trap on_exit EXIT -184: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/relax-got-load.sh .sh -185: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc -185: ++ export LC_ALL=C -185: ++ LC_ALL=C -185: ++ '[' -z aarch64 ']' -185: ++ '[' -z '' ']' -185: ++ TESTDIR=out/test/aarch64 -185: ++ CC=cc -185: ++ CXX=c++ -185: ++ GCC=gcc -185: ++ GXX=g++ -185: ++ OBJDUMP=objdump -185: ++ OBJCOPY=objcopy -185: ++ STRIP=strip -185: ++ QEMU= -185: ++ case $MACHINE in -185: ++ tlsdesc_opt=-mtls-dialect=desc -185: +++ uname -185: ++ '[' Linux = FreeBSD ']' -185: ++ trap 'on_error $LINENO' ERR -185: ++ trap on_exit EXIT -185: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/reloc-rodata.sh .sh -185: ++ testname=reloc-rodata -185: ++ echo -n 'Testing reloc-rodata ... ' -185: Testing reloc-rodata ... ++ t=out/test/aarch64/reloc-rodata -185: ++ mkdir -p out/test/aarch64/reloc-rodata -180: + cc -c -o out/test/aarch64/push-pop-state/c.o -xc - -180: + cat 181: + cc -c -o out/test/aarch64/range-extension-thunk/d.o out/test/aarch64/range-extension-thunk/b.c -O0 -184: ++ testname=relax-got-load -184: ++ echo -n 'Testing relax-got-load ... ' -184: Testing relax-got-load ... ++ t=out/test/aarch64/relax-got-load -184: ++ mkdir -p out/test/aarch64/relax-got-load -175: + grep -q 'Hello world' -179: + cc -c -o out/test/aarch64/protected/c.o -xc - -fno-PIE -175: + out/test/aarch64/pltgot/exe 186: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/relocatable-archive.sh -179: + cat 186: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 186: ++ export LC_ALL=C 186: ++ LC_ALL=C -175: + on_exit 186: ++ '[' -z aarch64 ']' 186: ++ '[' -z '' ']' 186: ++ TESTDIR=out/test/aarch64 @@ -11371,17 +11386,24 @@ 186: ++ '[' Linux = FreeBSD ']' 186: ++ trap 'on_error $LINENO' ERR 186: ++ trap on_exit EXIT -175: + echo OK -175: OK -175: + exit 0 -185: ++ set -x -185: + exit -185: + on_exit -185: + echo OK -185: OK -185: + exit 0 -175/336 Test #175: aarch64-pltgot ........................................... Passed 0.20 sec -176/336 Test #185: aarch64-reloc-rodata ..................................... Passed 0.02 sec +175/336 Test #176: aarch64-preinit-array .................................... Passed 0.39 sec +185: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc +185: ++ export LC_ALL=C +185: ++ LC_ALL=C +185: ++ '[' -z aarch64 ']' +185: ++ '[' -z '' ']' +185: ++ TESTDIR=out/test/aarch64 +185: ++ CC=cc +185: ++ CXX=c++ +185: ++ GCC=gcc +185: ++ GXX=g++ +185: ++ OBJDUMP=objdump +185: ++ OBJCOPY=objcopy +185: ++ STRIP=strip +185: ++ QEMU= +185: ++ case $MACHINE in +185: ++ tlsdesc_opt=-mtls-dialect=desc +185: +++ uname test 187 Start 187: aarch64-relocatable-c++ @@ -11391,26 +11413,15 @@ 187: MACHINE=aarch64 187: CPU= 187: Test timeout computed to be: 1500 -test 188 - Start 188: aarch64-relocatable-compressed-debug-info - -188: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/relocatable-compressed-debug-info.sh" -188: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -188: Environment variables: -188: MACHINE=aarch64 -188: CPU= -188: Test timeout computed to be: 1500 186: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/relocatable-archive.sh .sh 186: ++ testname=relocatable-archive 186: ++ echo -n 'Testing relocatable-archive ... ' 186: Testing relocatable-archive ... ++ t=out/test/aarch64/relocatable-archive 186: ++ mkdir -p out/test/aarch64/relocatable-archive 186: ++ set -x -186: + grep -q __tsan_init -186: + nm mold -178: + cc -B. -shared -o out/test/aarch64/protected-dynsym/e.so out/test/aarch64/protected-dynsym/a.o out/test/aarch64/protected-dynsym/d.o -Wl,-strip-all -184: ++ set -x -184: + cat +185: ++ '[' Linux = FreeBSD ']' +185: ++ trap 'on_error $LINENO' ERR +185: ++ trap on_exit EXIT 187: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/relocatable-c++.sh 187: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 187: ++ export LC_ALL=C @@ -11428,19 +11439,41 @@ 187: ++ QEMU= 187: ++ case $MACHINE in 187: ++ tlsdesc_opt=-mtls-dialect=desc +186: + nm mold +185: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/reloc-rodata.sh .sh +186: + grep -q __tsan_init +185: ++ testname=reloc-rodata +185: ++ echo -n 'Testing reloc-rodata ... ' +185: Testing reloc-rodata ... ++ t=out/test/aarch64/reloc-rodata +185: ++ mkdir -p out/test/aarch64/reloc-rodata 187: +++ uname +185: ++ set -x +185: + exit +185: + on_exit +185: + echo OK +185: OK +185: + exit 0 +178: + cc -B. -shared -o out/test/aarch64/protected-dynsym/e.so out/test/aarch64/protected-dynsym/a.o out/test/aarch64/protected-dynsym/d.o -Wl,-strip-all +179: + cc -B. -no-pie -o out/test/aarch64/protected/exe out/test/aarch64/protected/c.o out/test/aarch64/protected/b.so 187: ++ '[' Linux = FreeBSD ']' +176/336 Test #185: aarch64-reloc-rodata ..................................... Passed 0.07 sec +test 188 + Start 188: aarch64-relocatable-compressed-debug-info + +188: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/relocatable-compressed-debug-info.sh" +188: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +188: Environment variables: +188: MACHINE=aarch64 +188: CPU= +188: Test timeout computed to be: 1500 187: ++ trap 'on_error $LINENO' ERR 187: ++ trap on_exit EXIT +181: + cc -B. -o out/test/aarch64/range-extension-thunk/exe1 out/test/aarch64/range-extension-thunk/c.o out/test/aarch64/range-extension-thunk/d.o -Wl,--section-start=.low=0x10000000,--section-start=.high=0x20000000 187: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/relocatable-c++.sh .sh 187: ++ testname=relocatable-c++ 187: ++ echo -n 'Testing relocatable-c++ ... ' 187: Testing relocatable-c++ ... ++ t=out/test/aarch64/relocatable-c++ 187: ++ mkdir -p out/test/aarch64/relocatable-c++ -187: ++ set -x -187: + nm mold -187: + grep -q __tsan_init -184: + cc -o out/test/aarch64/relax-got-load/a.o -c -xc - -fPIC 188: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/relocatable-compressed-debug-info.sh 188: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 188: ++ export LC_ALL=C @@ -11458,31 +11491,31 @@ 188: ++ QEMU= 188: ++ case $MACHINE in 188: ++ tlsdesc_opt=-mtls-dialect=desc +180: + cat +180: + cc -c -o out/test/aarch64/push-pop-state/c.o -xc - +184: + cc -o out/test/aarch64/relax-got-load/b.o -c -xc - -fPIC 188: +++ uname 188: ++ '[' Linux = FreeBSD ']' 188: ++ trap 'on_error $LINENO' ERR 188: ++ trap on_exit EXIT +187: ++ set -x +184: + cat +187: + grep -q __tsan_init 188: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/relocatable-compressed-debug-info.sh .sh -180: + cc -B. -o out/test/aarch64/push-pop-state/exe out/test/aarch64/push-pop-state/c.o -Wl,-as-needed -Wl,-push-state -Wl,-no-as-needed out/test/aarch64/push-pop-state/a.so -Wl,-pop-state out/test/aarch64/push-pop-state/b.so 188: ++ testname=relocatable-compressed-debug-info 188: ++ echo -n 'Testing relocatable-compressed-debug-info ... ' 188: Testing relocatable-compressed-debug-info ... ++ t=out/test/aarch64/relocatable-compressed-debug-info 188: ++ mkdir -p out/test/aarch64/relocatable-compressed-debug-info +187: + nm mold 188: ++ set -x -188: + nm mold -188: + grep -q __tsan_init -179: + cc -B. -no-pie -o out/test/aarch64/protected/exe out/test/aarch64/protected/c.o out/test/aarch64/protected/b.so -181: + cc -B. -o out/test/aarch64/range-extension-thunk/exe1 out/test/aarch64/range-extension-thunk/c.o out/test/aarch64/range-extension-thunk/d.o -Wl,--section-start=.low=0x10000000,--section-start=.high=0x20000000 -184: + cc -o out/test/aarch64/relax-got-load/b.o -c -xc - -fPIC -184: + cat 179: + grep -q '3 4 0' 179: + out/test/aarch64/protected/exe -182: + cc -B. -o out/test/aarch64/range-extension-thunk2/exe out/test/aarch64/range-extension-thunk2/a.o 179: + on_exit 179: + echo OK 179: OK 179: + exit 0 -177/336 Test #179: aarch64-protected ........................................ Passed 0.19 sec +188: + nm mold +177/336 Test #179: aarch64-protected ........................................ Passed 0.37 sec test 189 Start 189: aarch64-relocatable-debug-info @@ -11492,9 +11525,11 @@ 189: MACHINE=aarch64 189: CPU= 189: Test timeout computed to be: 1500 -178: + readelf --symbols out/test/aarch64/protected-dynsym/e.so -178: + grep -Eq 'PROTECTED\b.*\bfoo\b' +188: + grep -q __tsan_init +182: + cc -B. -o out/test/aarch64/range-extension-thunk2/exe out/test/aarch64/range-extension-thunk2/a.o 189: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/relocatable-debug-info.sh +184: + cc -B. -o out/test/aarch64/relax-got-load/exe out/test/aarch64/relax-got-load/a.o out/test/aarch64/relax-got-load/b.o +180: + cc -B. -o out/test/aarch64/push-pop-state/exe out/test/aarch64/push-pop-state/c.o -Wl,-as-needed -Wl,-push-state -Wl,-no-as-needed out/test/aarch64/push-pop-state/a.so -Wl,-pop-state out/test/aarch64/push-pop-state/b.so 189: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 189: ++ export LC_ALL=C 189: ++ LC_ALL=C @@ -11511,11 +11546,12 @@ 189: ++ QEMU= 189: ++ case $MACHINE in 189: ++ tlsdesc_opt=-mtls-dialect=desc -180: + readelf --dynamic out/test/aarch64/push-pop-state/exe 189: +++ uname 189: ++ '[' Linux = FreeBSD ']' 189: ++ trap 'on_error $LINENO' ERR 189: ++ trap on_exit EXIT +178: + readelf --symbols out/test/aarch64/protected-dynsym/e.so +178: + grep -Eq 'PROTECTED\b.*\bfoo\b' 189: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/relocatable-debug-info.sh .sh 189: ++ testname=relocatable-debug-info 189: ++ echo -n 'Testing relocatable-debug-info ... ' @@ -11525,8 +11561,7 @@ 178: + echo OK 178: OK 178: + exit 0 -180: + grep -Fq a.so out/test/aarch64/push-pop-state/log -178/336 Test #178: aarch64-protected-dynsym ................................. Passed 0.21 sec +178/336 Test #178: aarch64-protected-dynsym ................................. Passed 0.45 sec test 190 Start 190: aarch64-relocatable-exception @@ -11539,14 +11574,8 @@ 189: ++ set -x 189: + nm mold 189: + grep -q __tsan_init -180: + grep -Fq b.so out/test/aarch64/push-pop-state/log -180: + on_exit -180: + echo OK -180: OK -180: + exit 0 -184: + cc -B. -o out/test/aarch64/relax-got-load/exe out/test/aarch64/relax-got-load/a.o out/test/aarch64/relax-got-load/b.o -181: + grep -q 'main fn1 fn3 fn2 fn4' 181: + out/test/aarch64/range-extension-thunk/exe1 +181: + grep -q 'main fn1 fn3 fn2 fn4' 181: + cc -c -o out/test/aarch64/range-extension-thunk/e.o out/test/aarch64/range-extension-thunk/a.c -O2 190: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/relocatable-exception.sh 190: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc @@ -11555,16 +11584,6 @@ 190: ++ '[' -z aarch64 ']' 190: ++ '[' -z '' ']' 190: ++ TESTDIR=out/test/aarch64 -179/336 Test #180: aarch64-push-pop-state ................................... Passed 0.20 sec -test 191 - Start 191: aarch64-relocatable-many-sections - -191: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/relocatable-many-sections.sh" -191: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -191: Environment variables: -191: MACHINE=aarch64 -191: CPU= -191: Test timeout computed to be: 1500 190: ++ CC=cc 190: ++ CXX=c++ 190: ++ GCC=gcc @@ -11575,7 +11594,41 @@ 190: ++ QEMU= 190: ++ case $MACHINE in 190: ++ tlsdesc_opt=-mtls-dialect=desc +190: +++ uname +190: ++ '[' Linux = FreeBSD ']' +190: ++ trap 'on_error $LINENO' ERR +190: ++ trap on_exit EXIT +184: + out/test/aarch64/relax-got-load/exe +184: + grep -q 'Hello world' +190: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/relocatable-exception.sh .sh +186: + cc -c -o out/test/aarch64/relocatable-archive/a.o -xc - +190: ++ testname=relocatable-exception +190: ++ echo -n 'Testing relocatable-exception ... ' +190: Testing relocatable-exception ... ++ t=out/test/aarch64/relocatable-exception +190: ++ mkdir -p out/test/aarch64/relocatable-exception +186: + cat +184: + on_exit +184: + echo OK +184: OK +184: + exit 0 +179/336 Test #184: aarch64-relax-got-load ................................... Passed 0.31 sec +test 191 + Start 191: aarch64-relocatable-many-sections + +191: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/relocatable-many-sections.sh" +191: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +191: Environment variables: +191: MACHINE=aarch64 +191: CPU= +191: Test timeout computed to be: 1500 +190: ++ set -x +190: + '[' aarch64 = m68k ']' +190: + '[' aarch64 = sh4 ']' +180: + readelf --dynamic out/test/aarch64/push-pop-state/exe +190: + grep -q __tsan_init +190: + nm mold 191: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/relocatable-many-sections.sh +180: + grep -Fq a.so out/test/aarch64/push-pop-state/log 191: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 191: ++ export LC_ALL=C 191: ++ LC_ALL=C @@ -11592,40 +11645,15 @@ 191: ++ QEMU= 191: ++ case $MACHINE in 191: ++ tlsdesc_opt=-mtls-dialect=desc -190: +++ uname -190: ++ '[' Linux = FreeBSD ']' -190: ++ trap 'on_error $LINENO' ERR -190: ++ trap on_exit EXIT -190: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/relocatable-exception.sh .sh -190: ++ testname=relocatable-exception -190: ++ echo -n 'Testing relocatable-exception ... ' -190: Testing relocatable-exception ... ++ t=out/test/aarch64/relocatable-exception -190: ++ mkdir -p out/test/aarch64/relocatable-exception +182: + out/test/aarch64/range-extension-thunk2/exe +182: + grep -Eq '^0 9 1 8 2 7 3 6 4 5 10 19 11 18 12 17 13 16 14 15 0 $' 191: +++ uname -191: ++ '[' Linux = FreeBSD ']' -191: ++ trap 'on_error $LINENO' ERR -191: ++ trap on_exit EXIT -191: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/relocatable-many-sections.sh .sh -191: ++ testname=relocatable-many-sections -191: ++ echo -n 'Testing relocatable-many-sections ... ' -191: Testing relocatable-many-sections ... ++ t=out/test/aarch64/relocatable-many-sections -191: ++ mkdir -p out/test/aarch64/relocatable-many-sections -191: ++ set -x -184: + grep -q 'Hello world' -191: + grep -q __tsan_init -191: + nm mold -184: + out/test/aarch64/relax-got-load/exe -184: + on_exit -184: + echo OK -184: OK -184: + exit 0 -190: ++ set -x -190: + '[' aarch64 = m68k ']' -190: + '[' aarch64 = sh4 ']' -180/336 Test #184: aarch64-relax-got-load ................................... Passed 0.18 sec -190: + nm mold -190: + grep -q __tsan_init -181: + cc -c -o out/test/aarch64/range-extension-thunk/f.o out/test/aarch64/range-extension-thunk/b.c -O2 +180: + grep -Fq b.so out/test/aarch64/push-pop-state/log +182: + on_exit +182: + echo OK +182: OK +182: + exit 0 +180/336 Test #182: aarch64-range-extension-thunk2 ........................... Passed 0.43 sec test 192 Start 192: aarch64-relocatable-merge-sections @@ -11635,8 +11663,29 @@ 192: MACHINE=aarch64 192: CPU= 192: Test timeout computed to be: 1500 -186: + cc -c -o out/test/aarch64/relocatable-archive/a.o -xc - -186: + cat +191: ++ '[' Linux = FreeBSD ']' +191: ++ trap 'on_error $LINENO' ERR +191: ++ trap on_exit EXIT +191: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/relocatable-many-sections.sh .sh +191: ++ testname=relocatable-many-sections +191: ++ echo -n 'Testing relocatable-many-sections ... ' +191: Testing relocatable-many-sections ... ++ t=out/test/aarch64/relocatable-many-sections +191: ++ mkdir -p out/test/aarch64/relocatable-many-sections +180: + on_exit +180: + echo OK +180: OK +180: + exit 0 +181/336 Test #180: aarch64-push-pop-state ................................... Passed 0.52 sec +test 193 + Start 193: aarch64-relocatable-mergeable-sections + +193: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/relocatable-mergeable-sections.sh" +193: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +193: Environment variables: +193: MACHINE=aarch64 +193: CPU= +193: Test timeout computed to be: 1500 +181: + cc -c -o out/test/aarch64/range-extension-thunk/f.o out/test/aarch64/range-extension-thunk/b.c -O2 192: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/relocatable-merge-sections.sh 192: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 192: ++ export LC_ALL=C @@ -11655,42 +11704,18 @@ 192: ++ case $MACHINE in 192: ++ tlsdesc_opt=-mtls-dialect=desc 192: +++ uname +191: ++ set -x 192: ++ '[' Linux = FreeBSD ']' 192: ++ trap 'on_error $LINENO' ERR 192: ++ trap on_exit EXIT -187: + cat -187: + c++ -c -o out/test/aarch64/relocatable-c++/a.o -xc++ - +191: + nm mold +191: + grep -q __tsan_init +193: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/relocatable-mergeable-sections.sh 192: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/relocatable-merge-sections.sh .sh -186: + cc -c -o out/test/aarch64/relocatable-archive/b.o -xc - 192: ++ testname=relocatable-merge-sections 192: ++ echo -n 'Testing relocatable-merge-sections ... ' 192: Testing relocatable-merge-sections ... ++ t=out/test/aarch64/relocatable-merge-sections 192: ++ mkdir -p out/test/aarch64/relocatable-merge-sections -182: + grep -Eq '^0 9 1 8 2 7 3 6 4 5 10 19 11 18 12 17 13 16 14 15 0 $' -182: + out/test/aarch64/range-extension-thunk2/exe -182: + on_exit -182: + echo OK -182: OK -182: + exit 0 -186: + cat -192: ++ set -x -192: + nm mold -181/336 Test #182: aarch64-range-extension-thunk2 ........................... Passed 0.28 sec -test 193 - Start 193: aarch64-relocatable-mergeable-sections - -193: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/relocatable-mergeable-sections.sh" -193: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -193: Environment variables: -193: MACHINE=aarch64 -193: CPU= -193: Test timeout computed to be: 1500 -192: + grep -q __tsan_init -187: + c++ -c -o out/test/aarch64/relocatable-c++/b.o -xc++ - -187: + cat -188: + gcc -o /dev/null -xc -g3 -gz - -188: + echo 'int main() {}' -193: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/relocatable-mergeable-sections.sh 193: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 193: ++ export LC_ALL=C 193: ++ LC_ALL=C @@ -11707,39 +11732,48 @@ 193: ++ QEMU= 193: ++ case $MACHINE in 193: ++ tlsdesc_opt=-mtls-dialect=desc -181: + cc -B. -o out/test/aarch64/range-extension-thunk/exe2 out/test/aarch64/range-extension-thunk/e.o out/test/aarch64/range-extension-thunk/f.o -Wl,--section-start=.low=0x10000000,--section-start=.high=0x20000000 +186: + cat +186: + cc -c -o out/test/aarch64/relocatable-archive/b.o -xc - 193: +++ uname 193: ++ '[' Linux = FreeBSD ']' 193: ++ trap 'on_error $LINENO' ERR 193: ++ trap on_exit EXIT -186: + cc -c -o out/test/aarch64/relocatable-archive/c.o -xc - +192: ++ set -x 193: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/relocatable-mergeable-sections.sh .sh 193: ++ testname=relocatable-mergeable-sections 193: ++ echo -n 'Testing relocatable-mergeable-sections ... ' 193: Testing relocatable-mergeable-sections ... ++ t=out/test/aarch64/relocatable-mergeable-sections 193: ++ mkdir -p out/test/aarch64/relocatable-mergeable-sections -186: + cat 193: ++ set -x -193: + grep -q __tsan_init -189: + cc -c -o out/test/aarch64/relocatable-debug-info/a.o -xc - -g -189: + cat +192: + grep -q __tsan_init +192: + nm mold 193: + nm mold -186: + cc -c -o out/test/aarch64/relocatable-archive/d.o -xc - +193: + grep -q __tsan_init +181: + cc -B. -o out/test/aarch64/range-extension-thunk/exe2 out/test/aarch64/range-extension-thunk/e.o out/test/aarch64/range-extension-thunk/f.o -Wl,--section-start=.low=0x10000000,--section-start=.high=0x20000000 +188: + gcc -o /dev/null -xc -g3 -gz - +188: + echo 'int main() {}' 186: + cat -189: + cc -c -o out/test/aarch64/relocatable-debug-info/b.o -xc - -g +186: + cc -c -o out/test/aarch64/relocatable-archive/c.o -xc - +187: + cat +187: + c++ -c -o out/test/aarch64/relocatable-c++/a.o -xc++ - +186: + cat +186: + cc -c -o out/test/aarch64/relocatable-archive/d.o -xc - +187: + cat +187: + c++ -c -o out/test/aarch64/relocatable-c++/b.o -xc++ - +189: + cc -c -o out/test/aarch64/relocatable-debug-info/a.o -xc - -g 189: + cat -188: + gcc -c -o out/test/aarch64/relocatable-compressed-debug-info/a.o -xc - -g3 -gz -188: + cat 186: + ar crs out/test/aarch64/relocatable-archive/e.a out/test/aarch64/relocatable-archive/a.o out/test/aarch64/relocatable-archive/b.o out/test/aarch64/relocatable-archive/c.o 181: + out/test/aarch64/range-extension-thunk/exe2 -181: + grep -q 'main fn1 fn3 fn2 fn4' -189: + ./mold --relocatable -o out/test/aarch64/relocatable-debug-info/c.o out/test/aarch64/relocatable-debug-info/a.o out/test/aarch64/relocatable-debug-info/b.o +188: + cat 186: + ./mold -r -o out/test/aarch64/relocatable-archive/f.o out/test/aarch64/relocatable-archive/d.o out/test/aarch64/relocatable-archive/e.a +190: + cat +181: + grep -q 'main fn1 fn3 fn2 fn4' +188: + gcc -c -o out/test/aarch64/relocatable-compressed-debug-info/a.o -xc - -g3 -gz 181: + on_exit 181: + echo OK 181: OK 181: + exit 0 -182/336 Test #181: aarch64-range-extension-thunk ............................ Passed 0.40 sec +182/336 Test #181: aarch64-range-extension-thunk ............................ Passed 0.81 sec test 194 Start 194: aarch64-relocatable @@ -11749,7 +11783,12 @@ 194: MACHINE=aarch64 194: CPU= 194: Test timeout computed to be: 1500 -186: + readelf --symbols out/test/aarch64/relocatable-archive/f.o +190: + c++ -c -o out/test/aarch64/relocatable-exception/a.o -xc++ - +189: + cc -c -o out/test/aarch64/relocatable-debug-info/b.o -xc - -g +191: + cc -c -xassembler -o out/test/aarch64/relocatable-many-sections/a.o - +189: + cat +191: + sed 's/.*/.section .data.\0,"aw"\n.word 0\n/g' +191: + seq 1 80000 194: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/relocatable.sh 194: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 194: ++ export LC_ALL=C @@ -11767,30 +11806,31 @@ 194: ++ QEMU= 194: ++ case $MACHINE in 194: ++ tlsdesc_opt=-mtls-dialect=desc +186: + readelf --symbols out/test/aarch64/relocatable-archive/f.o 194: +++ uname 194: ++ '[' Linux = FreeBSD ']' 194: ++ trap 'on_error $LINENO' ERR 194: ++ trap on_exit EXIT -188: + cat -188: + gcc -c -o out/test/aarch64/relocatable-compressed-debug-info/b.o -xc - -g3 -gz +186: + grep -q 'foo\b' out/test/aarch64/relocatable-archive/log +186: + grep -q 'bar\b' out/test/aarch64/relocatable-archive/log 194: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/relocatable.sh .sh 194: ++ testname=relocatable 194: ++ echo -n 'Testing relocatable ... ' 194: Testing relocatable ... ++ t=out/test/aarch64/relocatable 194: ++ mkdir -p out/test/aarch64/relocatable -186: + grep -q 'foo\b' out/test/aarch64/relocatable-archive/log -194: ++ set -x -189: + cc -B. -o out/test/aarch64/relocatable-debug-info/exe out/test/aarch64/relocatable-debug-info/c.o -186: + grep -q 'bar\b' out/test/aarch64/relocatable-archive/log -194: + nm mold -194: + grep -q __tsan_init 186: + grep -q 'baz\b' out/test/aarch64/relocatable-archive/log -188: + ./mold --relocatable -o out/test/aarch64/relocatable-compressed-debug-info/c.o out/test/aarch64/relocatable-compressed-debug-info/a.o out/test/aarch64/relocatable-compressed-debug-info/b.o +188: + cat +188: + gcc -c -o out/test/aarch64/relocatable-compressed-debug-info/b.o -xc - -g3 -gz +193: + cc -c -o out/test/aarch64/relocatable-mergeable-sections/a.o -xassembler - +193: + cat +194: ++ set -x 186: + on_exit 186: + echo OK 186: OK 186: + exit 0 -183/336 Test #186: aarch64-relocatable-archive .............................. Passed 0.37 sec +189: + ./mold --relocatable -o out/test/aarch64/relocatable-debug-info/c.o out/test/aarch64/relocatable-debug-info/a.o out/test/aarch64/relocatable-debug-info/b.o +194: + grep -q __tsan_init +183/336 Test #186: aarch64-relocatable-archive .............................. Passed 0.72 sec test 195 Start 195: aarch64-relro @@ -11800,10 +11840,13 @@ 195: MACHINE=aarch64 195: CPU= 195: Test timeout computed to be: 1500 -192: + cat +190: + cat +190: + c++ -c -o out/test/aarch64/relocatable-exception/b.o -xc++ - 192: + cc -c -o out/test/aarch64/relocatable-merge-sections/a.o -xc -ffunction-sections - +192: + cat +194: + nm mold +193: + ./mold --relocatable -o out/test/aarch64/relocatable-mergeable-sections/b.o out/test/aarch64/relocatable-mergeable-sections/a.o 195: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/relro.sh -189: + grep -q 'Hello world' 195: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 195: ++ export LC_ALL=C 195: ++ LC_ALL=C @@ -11820,21 +11863,27 @@ 195: ++ QEMU= 195: ++ case $MACHINE in 195: ++ tlsdesc_opt=-mtls-dialect=desc +189: + cc -B. -o out/test/aarch64/relocatable-debug-info/exe out/test/aarch64/relocatable-debug-info/c.o +188: + ./mold --relocatable -o out/test/aarch64/relocatable-compressed-debug-info/c.o out/test/aarch64/relocatable-compressed-debug-info/a.o out/test/aarch64/relocatable-compressed-debug-info/b.o 195: +++ uname -189: + out/test/aarch64/relocatable-debug-info/exe 195: ++ '[' Linux = FreeBSD ']' 195: ++ trap 'on_error $LINENO' ERR 195: ++ trap on_exit EXIT -189: + objdump --dwarf=info out/test/aarch64/relocatable-debug-info/c.o -189: + grep -q Warning out/test/aarch64/relocatable-debug-info/log +192: + ./mold --relocatable -o out/test/aarch64/relocatable-merge-sections/b.o out/test/aarch64/relocatable-merge-sections/a.o +193: + readelf -W -p .rodata.str1.1 out/test/aarch64/relocatable-mergeable-sections/b.o 195: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/relro.sh .sh -188: + cc -B. -o out/test/aarch64/relocatable-compressed-debug-info/exe out/test/aarch64/relocatable-compressed-debug-info/c.o -189: + on_exit -189: + echo OK -189: OK -189: + exit 0 -191: + seq 1 80000 -184/336 Test #189: aarch64-relocatable-debug-info ........................... Passed 0.29 sec +193: + grep -Eq '\b0\b.*Hello' +195: ++ testname=relro +195: ++ echo -n 'Testing relro ... ' +195: Testing relro ... ++ t=out/test/aarch64/relro +195: ++ mkdir -p out/test/aarch64/relro +193: + readelf -W -p .rodata.str1.1 out/test/aarch64/relocatable-mergeable-sections/b.o +193: + grep -Eq '\b7\b.*World' +193: + on_exit +193: + echo OK +193: OK +193: + exit 0 +184/336 Test #193: aarch64-relocatable-mergeable-sections ................... Passed 0.53 sec test 196 Start 196: aarch64-repro @@ -11844,17 +11893,13 @@ 196: MACHINE=aarch64 196: CPU= 196: Test timeout computed to be: 1500 -191: + sed 's/.*/.section .data.\0,"aw"\n.word 0\n/g' -191: + cc -c -xassembler -o out/test/aarch64/relocatable-many-sections/a.o - -195: ++ testname=relro -195: ++ echo -n 'Testing relro ... ' -195: Testing relro ... ++ t=out/test/aarch64/relro -195: ++ mkdir -p out/test/aarch64/relro +188: + cc -B. -o out/test/aarch64/relocatable-compressed-debug-info/exe out/test/aarch64/relocatable-compressed-debug-info/c.o 195: ++ set -x -195: + cat 195: + cc -c -xc -o out/test/aarch64/relro/a.o - -190: + cat +192: + readelf -WS out/test/aarch64/relocatable-merge-sections/b.o +195: + cat 196: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/repro.sh +192: + grep -Fq .text.foo out/test/aarch64/relocatable-merge-sections/log1 196: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 196: ++ export LC_ALL=C 196: ++ LC_ALL=C @@ -11871,34 +11916,31 @@ 196: ++ QEMU= 196: ++ case $MACHINE in 196: ++ tlsdesc_opt=-mtls-dialect=desc +192: + grep -Fq .text.bar out/test/aarch64/relocatable-merge-sections/log1 +152: + cc -c -xc -o out/test/aarch64/many-sections/b.o - +192: + ./mold --relocatable -o out/test/aarch64/relocatable-merge-sections/c.o out/test/aarch64/relocatable-merge-sections/a.o --relocatable-merge-sections +152: + cat 196: +++ uname 196: ++ '[' Linux = FreeBSD ']' 196: ++ trap 'on_error $LINENO' ERR 196: ++ trap on_exit EXIT -190: + c++ -c -o out/test/aarch64/relocatable-exception/a.o -xc++ - -192: + ./mold --relocatable -o out/test/aarch64/relocatable-merge-sections/b.o out/test/aarch64/relocatable-merge-sections/a.o +195: + cc -B. -o out/test/aarch64/relro/exe1 out/test/aarch64/relro/a.o -Wl,-z,relro,-z,lazy 196: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/repro.sh .sh 196: ++ testname=repro 196: ++ echo -n 'Testing repro ... ' 196: Testing repro ... ++ t=out/test/aarch64/repro 196: ++ mkdir -p out/test/aarch64/repro -192: + readelf -WS out/test/aarch64/relocatable-merge-sections/b.o -196: ++ set -x -196: + cc -c -o out/test/aarch64/repro/a.o -xc - -196: + cat -192: + grep -Fq .text.foo out/test/aarch64/relocatable-merge-sections/log1 -192: + grep -Fq .text.bar out/test/aarch64/relocatable-merge-sections/log1 -190: + cat -192: + ./mold --relocatable -o out/test/aarch64/relocatable-merge-sections/c.o out/test/aarch64/relocatable-merge-sections/a.o --relocatable-merge-sections -190: + c++ -c -o out/test/aarch64/relocatable-exception/b.o -xc++ - 188: + grep -q 'Hello world' -195: + cc -B. -o out/test/aarch64/relro/exe1 out/test/aarch64/relro/a.o -Wl,-z,relro,-z,lazy 188: + out/test/aarch64/relocatable-compressed-debug-info/exe +189: + out/test/aarch64/relocatable-debug-info/exe 188: + on_exit 188: + echo OK 188: OK 188: + exit 0 -185/336 Test #188: aarch64-relocatable-compressed-debug-info ................ Passed 0.43 sec +192: + readelf -WS out/test/aarch64/relocatable-merge-sections/c.o +196: ++ set -x +189: + grep -q 'Hello world' +185/336 Test #188: aarch64-relocatable-compressed-debug-info ................ Passed 0.86 sec test 197 Start 197: aarch64-require-defined @@ -11908,10 +11950,31 @@ 197: MACHINE=aarch64 197: CPU= 197: Test timeout computed to be: 1500 -192: + readelf -WS out/test/aarch64/relocatable-merge-sections/c.o +196: + cat +196: + cc -c -o out/test/aarch64/repro/a.o -xc - +189: + objdump --dwarf=info out/test/aarch64/relocatable-debug-info/c.o +189: + grep -q Warning out/test/aarch64/relocatable-debug-info/log 192: + grep -Fq .text.foo out/test/aarch64/relocatable-merge-sections/log2 -193: + cc -c -o out/test/aarch64/relocatable-mergeable-sections/a.o -xassembler - -193: + cat +192: + grep -Fq .text.bar out/test/aarch64/relocatable-merge-sections/log2 +192: + on_exit +192: + echo OK +192: OK +192: + exit 0 +186/336 Test #192: aarch64-relocatable-merge-sections ....................... Passed 0.64 sec +test 198 + Start 198: aarch64-response-file + +198: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/response-file.sh" +198: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +198: Environment variables: +198: MACHINE=aarch64 +198: CPU= +198: Test timeout computed to be: 1500 +189: + on_exit +189: + echo OK +189: OK +189: + exit 0 +152: + cc -B. -o out/test/aarch64/many-sections/exe out/test/aarch64/many-sections/a.o out/test/aarch64/many-sections/b.o 197: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/require-defined.sh 197: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 197: ++ export LC_ALL=C @@ -11929,45 +11992,7 @@ 197: ++ QEMU= 197: ++ case $MACHINE in 197: ++ tlsdesc_opt=-mtls-dialect=desc -196: + rm -rf out/test/aarch64/repro/exe.repro out/test/aarch64/repro/exe.repro.tar -192: + grep -Fq .text.bar out/test/aarch64/relocatable-merge-sections/log2 -193: + ./mold --relocatable -o out/test/aarch64/relocatable-mergeable-sections/b.o out/test/aarch64/relocatable-mergeable-sections/a.o -192: + on_exit -192: + echo OK -192: OK -192: + exit 0 -197: +++ uname -197: ++ '[' Linux = FreeBSD ']' -197: ++ trap 'on_error $LINENO' ERR -197: ++ trap on_exit EXIT -197: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/require-defined.sh .sh -197: ++ testname=require-defined -197: ++ echo -n 'Testing require-defined ... ' -197: Testing require-defined ... ++ t=out/test/aarch64/require-defined -197: ++ mkdir -p out/test/aarch64/require-defined -186/336 Test #192: aarch64-relocatable-merge-sections ....................... Passed 0.30 sec -test 198 - Start 198: aarch64-response-file - -198: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/response-file.sh" -198: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -198: Environment variables: -198: MACHINE=aarch64 -198: CPU= -198: Test timeout computed to be: 1500 -193: + grep -Eq '\b0\b.*Hello' -193: + readelf -W -p .rodata.str1.1 out/test/aarch64/relocatable-mergeable-sections/b.o -193: + grep -Eq '\b7\b.*World' -193: + readelf -W -p .rodata.str1.1 out/test/aarch64/relocatable-mergeable-sections/b.o -197: ++ set -x -197: + cc -o out/test/aarch64/require-defined/a.o -c -xc - -196: + cc -B. -o out/test/aarch64/repro/exe out/test/aarch64/repro/a.o -197: + cat -193: + on_exit -193: + echo OK -193: OK -193: + exit 0 -187/336 Test #193: aarch64-relocatable-mergeable-sections ................... Passed 0.25 sec +187/336 Test #189: aarch64-relocatable-debug-info ........................... Passed 0.83 sec test 199 Start 199: aarch64-response-file2 @@ -11977,7 +12002,16 @@ 199: MACHINE=aarch64 199: CPU= 199: Test timeout computed to be: 1500 +197: +++ uname +197: ++ '[' Linux = FreeBSD ']' +197: ++ trap 'on_error $LINENO' ERR +197: ++ trap on_exit EXIT +197: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/require-defined.sh .sh 198: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/response-file.sh +197: ++ testname=require-defined +197: ++ echo -n 'Testing require-defined ... ' +197: Testing require-defined ... ++ t=out/test/aarch64/require-defined +197: ++ mkdir -p out/test/aarch64/require-defined 198: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 198: ++ export LC_ALL=C 198: ++ LC_ALL=C @@ -11994,10 +12028,6 @@ 198: ++ QEMU= 198: ++ case $MACHINE in 198: ++ tlsdesc_opt=-mtls-dialect=desc -198: +++ uname -198: ++ '[' Linux = FreeBSD ']' -198: ++ trap 'on_error $LINENO' ERR -198: ++ trap on_exit EXIT 199: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/response-file2.sh 199: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 199: ++ export LC_ALL=C @@ -12015,82 +12045,67 @@ 199: ++ QEMU= 199: ++ case $MACHINE in 199: ++ tlsdesc_opt=-mtls-dialect=desc +197: ++ set -x +198: +++ uname +198: ++ '[' Linux = FreeBSD ']' +198: ++ trap 'on_error $LINENO' ERR +198: ++ trap on_exit EXIT +195: + out/test/aarch64/relro/exe1 +195: + grep -q 'Hello world' +197: + cat +199: +++ uname +195: + readelf --segments -W out/test/aarch64/relro/exe1 198: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/response-file.sh .sh +197: + cc -o out/test/aarch64/require-defined/a.o -c -xc - +199: ++ '[' Linux = FreeBSD ']' +199: ++ trap 'on_error $LINENO' ERR +199: ++ trap on_exit EXIT 198: ++ testname=response-file 198: ++ echo -n 'Testing response-file ... ' 198: Testing response-file ... ++ t=out/test/aarch64/response-file 198: ++ mkdir -p out/test/aarch64/response-file -199: +++ uname -199: ++ '[' Linux = FreeBSD ']' -199: ++ trap 'on_error $LINENO' ERR -199: ++ trap on_exit EXIT +194: + cat +195: + grep -q 'GNU_RELRO ' out/test/aarch64/relro/log1 +194: + cc -c -o out/test/aarch64/relocatable/a.o -xc - 199: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/response-file2.sh .sh 199: ++ testname=response-file2 199: ++ echo -n 'Testing response-file2 ... ' 199: Testing response-file2 ... ++ t=out/test/aarch64/response-file2 199: ++ mkdir -p out/test/aarch64/response-file2 +198: ++ set -x +195: + cc -B. -o out/test/aarch64/relro/exe2 out/test/aarch64/relro/a.o -Wl,-z,relro,-z,now 199: ++ set -x +196: + rm -rf out/test/aarch64/repro/exe.repro out/test/aarch64/repro/exe.repro.tar +198: + cat +198: + cc -c -o out/test/aarch64/response-file/a.o -xc - 199: + cc -c -o out/test/aarch64/response-file2/a.o -xc - +196: + cc -B. -o out/test/aarch64/repro/exe out/test/aarch64/repro/a.o +199: + cat 197: + rm -f out/test/aarch64/require-defined/b.a 197: + ar rcs out/test/aarch64/require-defined/b.a out/test/aarch64/require-defined/a.o -199: + cat -195: + out/test/aarch64/relro/exe1 -198: ++ set -x -195: + grep -q 'Hello world' -198: + cat -195: + readelf --segments -W out/test/aarch64/relro/exe1 -198: + cc -c -o out/test/aarch64/response-file/a.o -xc - -195: + grep -q 'GNU_RELRO ' out/test/aarch64/relro/log1 -195: + cc -B. -o out/test/aarch64/relro/exe2 out/test/aarch64/relro/a.o -Wl,-z,relro,-z,now 197: + cc -o out/test/aarch64/require-defined/c.o -c -xc - 197: + cat -152: + cc -c -xc -o out/test/aarch64/many-sections/b.o - -152: + cat -194: + cc -c -o out/test/aarch64/relocatable/a.o -xc - -194: + cat -196: + '[' -f out/test/aarch64/repro/exe.repro.tar ']' -196: + cc -B. -o out/test/aarch64/repro/exe out/test/aarch64/repro/a.o -Wl,-repro -198: + cat -198: + cc -c -o out/test/aarch64/response-file/b.o -xc - -199: + cat -197: + cc -B. -o out/test/aarch64/require-defined/exe out/test/aarch64/require-defined/c.o out/test/aarch64/require-defined/b.a -199: + cc -c -o out/test/aarch64/response-file2/b.o -xc - -152: + cc -B. -o out/test/aarch64/many-sections/exe out/test/aarch64/many-sections/a.o out/test/aarch64/many-sections/b.o -195: + grep -q 'Hello world' 195: + out/test/aarch64/relro/exe2 +195: + grep -q 'Hello world' 195: + readelf --segments -W out/test/aarch64/relro/exe2 +197: + cc -B. -o out/test/aarch64/require-defined/exe out/test/aarch64/require-defined/c.o out/test/aarch64/require-defined/b.a 195: + grep -q 'GNU_RELRO ' out/test/aarch64/relro/log2 -198: + cat -198: + cc -c -o out/test/aarch64/response-file/c.o -xc - +199: + cat 195: + cc -B. -o out/test/aarch64/relro/exe3 out/test/aarch64/relro/a.o -Wl,-z,norelro +198: + cat +199: + cc -c -o out/test/aarch64/response-file2/b.o -xc - 194: + cat -199: + echo ''\''out/test/aarch64/response-file2/b.o'\''' -199: + echo @out/test/aarch64/response-file2/rsp1 -199: + cc -B. -o out/test/aarch64/response-file2/exe out/test/aarch64/response-file2/a.o -Wl,@out/test/aarch64/response-file2/rsp2 194: + cc -c -o out/test/aarch64/relocatable/b.o -xc - -196: + tar -C out/test/aarch64/repro -xf out/test/aarch64/repro/exe.repro.tar -198: + echo ''\''out/test/aarch64/response-file/b.o'\'' '\''out/test/aarch64/response-file/c.o'\''' -198: + cc -B. -o out/test/aarch64/response-file/exe out/test/aarch64/response-file/a.o -Wl,@out/test/aarch64/response-file/rsp -196: + tar -C out/test/aarch64/repro -tvf out/test/aarch64/repro/exe.repro.tar -196: + grep -q ' exe.repro/.*/a.o' -194: + ./mold --relocatable -o out/test/aarch64/relocatable/c.o out/test/aarch64/relocatable/a.o out/test/aarch64/relocatable/b.o -196: + grep -q /a.o out/test/aarch64/repro/exe.repro/response.txt -197: + grep -q foobar -197: + readelf --symbols out/test/aarch64/require-defined/exe -196: + grep -q mold out/test/aarch64/repro/exe.repro/version.txt -197: + cc -B. -o out/test/aarch64/require-defined/exe out/test/aarch64/require-defined/c.o out/test/aarch64/require-defined/b.a -Wl,-require-defined,foobar -195: + out/test/aarch64/relro/exe3 -195: + grep -q 'Hello world' -198: + on_exit -198: + echo OK -198: OK -198: + exit 0 -196: + rm -rf out/test/aarch64/repro/exe.repro out/test/aarch64/repro/exe.repro.tar -194: + cc -B. -o out/test/aarch64/relocatable/exe out/test/aarch64/relocatable/c.o -196: + MOLD_REPRO=1 -196: + cc -B. -o out/test/aarch64/repro/exe out/test/aarch64/repro/a.o -195: + readelf --segments -W out/test/aarch64/relro/exe3 -188/336 Test #198: aarch64-response-file .................................... Passed 0.18 sec +198: + cc -c -o out/test/aarch64/response-file/b.o -xc - +152: + out/test/aarch64/many-sections/exe +152: + grep -q Hello +152: + on_exit +152: + echo OK +152: OK +152: + exit 0 +196: + '[' -f out/test/aarch64/repro/exe.repro.tar ']' +196: + cc -B. -o out/test/aarch64/repro/exe out/test/aarch64/repro/a.o -Wl,-repro +188/336 Test #152: aarch64-many-sections .................................... Passed 2.72 sec test 200 Start 200: aarch64-retain-symbols-file @@ -12100,13 +12115,8 @@ 200: MACHINE=aarch64 200: CPU= 200: Test timeout computed to be: 1500 -187: + ./mold --relocatable -o out/test/aarch64/relocatable-c++/c.o out/test/aarch64/relocatable-c++/a.o -199: + on_exit -199: + echo OK -199: OK -199: + exit 0 -189/336 Test #199: aarch64-response-file2 ................................... Passed 0.18 sec 200: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/retain-symbols-file.sh +197: + readelf --symbols out/test/aarch64/require-defined/exe 200: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 200: ++ export LC_ALL=C 200: ++ LC_ALL=C @@ -12127,12 +12137,34 @@ 200: ++ '[' Linux = FreeBSD ']' 200: ++ trap 'on_error $LINENO' ERR 200: ++ trap on_exit EXIT +198: + cc -c -o out/test/aarch64/response-file/c.o -xc - +197: + grep -q foobar +198: + cat +197: + cc -B. -o out/test/aarch64/require-defined/exe out/test/aarch64/require-defined/c.o out/test/aarch64/require-defined/b.a -Wl,-require-defined,foobar 200: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/retain-symbols-file.sh .sh +200: ++ testname=retain-symbols-file +200: ++ echo -n 'Testing retain-symbols-file ... ' +200: Testing retain-symbols-file ... ++ t=out/test/aarch64/retain-symbols-file +200: ++ mkdir -p out/test/aarch64/retain-symbols-file +199: + echo ''\''out/test/aarch64/response-file2/b.o'\''' +199: + echo @out/test/aarch64/response-file2/rsp1 +199: + cc -B. -o out/test/aarch64/response-file2/exe out/test/aarch64/response-file2/a.o -Wl,@out/test/aarch64/response-file2/rsp2 +200: ++ set -x +194: + ./mold --relocatable -o out/test/aarch64/relocatable/c.o out/test/aarch64/relocatable/a.o out/test/aarch64/relocatable/b.o +200: + cc -c -o out/test/aarch64/retain-symbols-file/a.o -xc - +200: + cat +195: + out/test/aarch64/relro/exe3 +195: + grep -q 'Hello world' +195: + readelf --segments -W out/test/aarch64/relro/exe3 +194: + cc -B. -o out/test/aarch64/relocatable/exe out/test/aarch64/relocatable/c.o 195: + grep -q 'GNU_RELRO ' out/test/aarch64/relro/log3 +198: + echo ''\''out/test/aarch64/response-file/b.o'\'' '\''out/test/aarch64/response-file/c.o'\''' +198: + cc -B. -o out/test/aarch64/response-file/exe out/test/aarch64/response-file/a.o -Wl,@out/test/aarch64/response-file/rsp 195: + on_exit 195: + echo OK 195: OK 195: + exit 0 +189/336 Test #195: aarch64-relro ............................................ Passed 0.52 sec test 201 Start 201: aarch64-reverse-sections @@ -12142,32 +12174,17 @@ 201: MACHINE=aarch64 201: CPU= 201: Test timeout computed to be: 1500 -200: ++ testname=retain-symbols-file -200: ++ echo -n 'Testing retain-symbols-file ... ' -200: Testing retain-symbols-file ... ++ t=out/test/aarch64/retain-symbols-file -200: ++ mkdir -p out/test/aarch64/retain-symbols-file -200: ++ set -x -200: + cc -c -o out/test/aarch64/retain-symbols-file/a.o -xc - +196: + tar -C out/test/aarch64/repro -xf out/test/aarch64/repro/exe.repro.tar 200: + cat -187: + ./mold --relocatable -o out/test/aarch64/relocatable-c++/d.o out/test/aarch64/relocatable-c++/b.o -152: + grep -q Hello -152: + out/test/aarch64/many-sections/exe -152: + on_exit -152: + echo OK -152: OK -152: + exit 0 -190/336 Test #195: aarch64-relro ............................................ Passed 0.29 sec -test 202 - Start 202: aarch64-rodata-name - -202: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/rodata-name.sh" -202: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -202: Environment variables: -202: MACHINE=aarch64 -202: CPU= -202: Test timeout computed to be: 1500 -191/336 Test #152: aarch64-many-sections .................................... Passed 1.39 sec +197: + readelf --symbols out/test/aarch64/require-defined/exe +197: + grep -q foobar +197: + cc -B. -o out/test/aarch64/require-defined/exe out/test/aarch64/require-defined/c.o out/test/aarch64/require-defined/b.a -Wl,-require-defined,xyz +200: + cc -B. -o out/test/aarch64/retain-symbols-file/exe out/test/aarch64/retain-symbols-file/a.o -Wl,--retain-symbols-file=out/test/aarch64/retain-symbols-file/symbols 201: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/reverse-sections.sh +198: + on_exit +198: + echo OK +198: OK +198: + exit 0 201: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 201: ++ export LC_ALL=C 201: ++ LC_ALL=C @@ -12181,6 +12198,32 @@ 201: ++ OBJDUMP=objdump 201: ++ OBJCOPY=objcopy 201: ++ STRIP=strip +201: ++ QEMU= +201: ++ case $MACHINE in +201: ++ tlsdesc_opt=-mtls-dialect=desc +201: +++ uname +199: + on_exit +199: + echo OK +199: OK +199: + exit 0 +196: + tar -C out/test/aarch64/repro -tvf out/test/aarch64/repro/exe.repro.tar +190/336 Test #198: aarch64-response-file .................................... Passed 0.37 sec +test 202 + Start 202: aarch64-rodata-name + +202: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/rodata-name.sh" +202: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +202: Environment variables: +202: MACHINE=aarch64 +202: CPU= +202: Test timeout computed to be: 1500 +201: ++ '[' Linux = FreeBSD ']' +201: ++ trap 'on_error $LINENO' ERR +201: ++ trap on_exit EXIT +196: + grep -q ' exe.repro/.*/a.o' +196: + grep -q /a.o out/test/aarch64/repro/exe.repro/response.txt +187: + ./mold --relocatable -o out/test/aarch64/relocatable-c++/c.o out/test/aarch64/relocatable-c++/a.o +191/336 Test #199: aarch64-response-file2 ................................... Passed 0.37 sec test 203 Start 203: aarch64-rosegment @@ -12190,20 +12233,14 @@ 203: MACHINE=aarch64 203: CPU= 203: Test timeout computed to be: 1500 -201: ++ QEMU= -201: ++ case $MACHINE in -201: ++ tlsdesc_opt=-mtls-dialect=desc -201: +++ uname -201: ++ '[' Linux = FreeBSD ']' -201: ++ trap 'on_error $LINENO' ERR -201: ++ trap on_exit EXIT 201: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/reverse-sections.sh .sh 201: ++ testname=reverse-sections 201: ++ echo -n 'Testing reverse-sections ... ' 201: Testing reverse-sections ... ++ t=out/test/aarch64/reverse-sections 201: ++ mkdir -p out/test/aarch64/reverse-sections -187: + c++ -B. -o out/test/aarch64/relocatable-c++/exe out/test/aarch64/relocatable-c++/c.o out/test/aarch64/relocatable-c++/d.o -197: + readelf --symbols out/test/aarch64/require-defined/exe +201: ++ set -x +196: + grep -q mold out/test/aarch64/repro/exe.repro/version.txt +196: + rm -rf out/test/aarch64/repro/exe.repro out/test/aarch64/repro/exe.repro.tar 202: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/rodata-name.sh 202: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 202: ++ export LC_ALL=C @@ -12221,6 +12258,17 @@ 202: ++ QEMU= 202: ++ case $MACHINE in 202: ++ tlsdesc_opt=-mtls-dialect=desc +202: +++ uname +202: ++ '[' Linux = FreeBSD ']' +202: ++ trap 'on_error $LINENO' ERR +202: ++ trap on_exit EXIT +201: + cat +201: + cc -o out/test/aarch64/reverse-sections/a.o -c -xc++ - +202: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/rodata-name.sh .sh +202: ++ testname=rodata-name +202: ++ echo -n 'Testing rodata-name ... ' +202: Testing rodata-name ... ++ t=out/test/aarch64/rodata-name +202: ++ mkdir -p out/test/aarch64/rodata-name 203: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/rosegment.sh 203: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 203: ++ export LC_ALL=C @@ -12238,25 +12286,31 @@ 203: ++ QEMU= 203: ++ case $MACHINE in 203: ++ tlsdesc_opt=-mtls-dialect=desc -200: + cat -202: +++ uname -196: + grep -q ' exe.repro/.*/a.o' -197: + grep -q foobar +196: + MOLD_REPRO=1 +196: + cc -B. -o out/test/aarch64/repro/exe out/test/aarch64/repro/a.o +187: + ./mold --relocatable -o out/test/aarch64/relocatable-c++/d.o out/test/aarch64/relocatable-c++/b.o +203: +++ uname +202: ++ set -x 194: + out/test/aarch64/relocatable/exe -196: + tar -C out/test/aarch64/repro -tvf out/test/aarch64/repro/exe.repro.tar -200: + cc -B. -o out/test/aarch64/retain-symbols-file/exe out/test/aarch64/retain-symbols-file/a.o -Wl,--retain-symbols-file=out/test/aarch64/retain-symbols-file/symbols +202: + '[' aarch64 = arm ']' +203: ++ '[' Linux = FreeBSD ']' +203: ++ trap 'on_error $LINENO' ERR +203: ++ trap on_exit EXIT +202: + cc -c -o out/test/aarch64/rodata-name/a.o -x assembler - +203: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/rosegment.sh .sh +203: ++ testname=rosegment +203: ++ echo -n 'Testing rosegment ... ' +203: Testing rosegment ... ++ t=out/test/aarch64/rosegment +203: ++ mkdir -p out/test/aarch64/rosegment +202: + cat 194: Hello world 194: + on_exit 194: + echo OK 194: OK 194: + exit 0 -203: +++ uname -203: ++ '[' Linux = FreeBSD ']' -203: ++ trap 'on_error $LINENO' ERR -203: ++ trap on_exit EXIT -197: + cc -B. -o out/test/aarch64/require-defined/exe out/test/aarch64/require-defined/c.o out/test/aarch64/require-defined/b.a -Wl,-require-defined,xyz -201: ++ set -x -192/336 Test #194: aarch64-relocatable ...................................... Passed 0.35 sec +197: + grep -q 'undefined symbol: xyz' out/test/aarch64/require-defined/log +203: ++ set -x +192/336 Test #194: aarch64-relocatable ...................................... Passed 0.75 sec test 204 Start 204: aarch64-rpath @@ -12266,37 +12320,14 @@ 204: MACHINE=aarch64 204: CPU= 204: Test timeout computed to be: 1500 -201: + cc -o out/test/aarch64/reverse-sections/a.o -c -xc++ - -201: + cat -203: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/rosegment.sh .sh -203: ++ testname=rosegment -203: ++ echo -n 'Testing rosegment ... ' -203: Testing rosegment ... ++ t=out/test/aarch64/rosegment -203: ++ mkdir -p out/test/aarch64/rosegment -196: + tar -C out/test/aarch64/repro -xf out/test/aarch64/repro/exe.repro.tar -202: ++ '[' Linux = FreeBSD ']' -202: ++ trap 'on_error $LINENO' ERR -202: ++ trap on_exit EXIT -202: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/rodata-name.sh .sh -202: ++ testname=rodata-name -202: ++ echo -n 'Testing rodata-name ... ' -202: Testing rodata-name ... ++ t=out/test/aarch64/rodata-name -202: ++ mkdir -p out/test/aarch64/rodata-name -196: + grep -q /a.o out/test/aarch64/repro/exe.repro/response.txt -203: ++ set -x -204: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/rpath.sh -203: + cat -196: + grep -q mold out/test/aarch64/repro/exe.repro/version.txt -202: ++ set -x -202: + '[' aarch64 = arm ']' -202: + cc -c -o out/test/aarch64/rodata-name/a.o -x assembler - +197: + on_exit +197: + echo OK +197: OK +197: + exit 0 203: + cc -o out/test/aarch64/rosegment/a.o -c -xc - -202: + cat -196: + on_exit -196: + echo OK -196: OK -196: + exit 0 -193/336 Test #196: aarch64-repro ............................................ Passed 0.31 sec +203: + cat +202: + cc -c -o out/test/aarch64/rodata-name/b.o -xc - +193/336 Test #197: aarch64-require-defined .................................. Passed 0.49 sec test 205 Start 205: aarch64-run-clang @@ -12306,6 +12337,10 @@ 205: MACHINE=aarch64 205: CPU= 205: Test timeout computed to be: 1500 +202: + cat +200: + readelf -W --symbols out/test/aarch64/retain-symbols-file/exe +200: + grep -q ' foo$' out/test/aarch64/retain-symbols-file/log +204: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/rpath.sh 204: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 204: ++ export LC_ALL=C 204: ++ LC_ALL=C @@ -12323,9 +12358,18 @@ 204: ++ case $MACHINE in 204: ++ tlsdesc_opt=-mtls-dialect=desc 204: +++ uname +187: + c++ -B. -o out/test/aarch64/relocatable-c++/exe out/test/aarch64/relocatable-c++/c.o out/test/aarch64/relocatable-c++/d.o 204: ++ '[' Linux = FreeBSD ']' 204: ++ trap 'on_error $LINENO' ERR 204: ++ trap on_exit EXIT +201: + cat +200: + grep -q ' bar$' out/test/aarch64/retain-symbols-file/log +204: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/rpath.sh .sh +204: ++ testname=rpath +204: ++ echo -n 'Testing rpath ... ' +204: Testing rpath ... ++ t=out/test/aarch64/rpath +204: ++ mkdir -p out/test/aarch64/rpath +201: + cc -o out/test/aarch64/reverse-sections/b.o -c -xc++ - 205: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/run-clang.sh 205: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 205: ++ export LC_ALL=C @@ -12343,35 +12387,41 @@ 205: ++ QEMU= 205: ++ case $MACHINE in 205: ++ tlsdesc_opt=-mtls-dialect=desc -204: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/rpath.sh .sh -204: ++ testname=rpath -204: ++ echo -n 'Testing rpath ... ' -204: Testing rpath ... ++ t=out/test/aarch64/rpath -204: ++ mkdir -p out/test/aarch64/rpath -205: +++ uname +200: + grep -q ' main$' out/test/aarch64/retain-symbols-file/log 204: ++ set -x -204: + cat -204: + cc -o out/test/aarch64/rpath/a.o -c -x assembler - +205: +++ uname 205: ++ '[' Linux = FreeBSD ']' 205: ++ trap 'on_error $LINENO' ERR 205: ++ trap on_exit EXIT +204: + cat +204: + cc -o out/test/aarch64/rpath/a.o -c -x assembler - 205: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/run-clang.sh .sh -200: + readelf -W --symbols out/test/aarch64/retain-symbols-file/exe -202: + cc -c -o out/test/aarch64/rodata-name/b.o -xc - -202: + cat -197: + grep -q 'undefined symbol: xyz' out/test/aarch64/require-defined/log +203: + cc -B. -o out/test/aarch64/rosegment/exe1 out/test/aarch64/rosegment/a.o 205: ++ testname=run-clang 205: ++ echo -n 'Testing run-clang ... ' 205: Testing run-clang ... ++ t=out/test/aarch64/run-clang 205: ++ mkdir -p out/test/aarch64/run-clang -201: + cc -o out/test/aarch64/reverse-sections/b.o -c -xc++ - -197: + on_exit -197: + echo OK -197: OK -197: + exit 0 -201: + cat -200: + grep -q ' foo$' out/test/aarch64/retain-symbols-file/log -194/336 Test #197: aarch64-require-defined .................................. Passed 0.27 sec +200: + grep -q ' baz$' out/test/aarch64/retain-symbols-file/log +205: ++ set -x +205: + '[' cc = cc ']' +204: + cc -B. -o out/test/aarch64/rpath/exe1 out/test/aarch64/rpath/a.o -Wl,-rpath,/foo,-rpath,/bar,-R/no/such/directory,-R/ +205: + nm mold-wrapper.so +205: + grep -q '__[at]san_init' +205: + clang --version +196: + grep -q ' exe.repro/.*/a.o' +196: + tar -C out/test/aarch64/repro -tvf out/test/aarch64/repro/exe.repro.tar +205: + skip +205: + echo skipped +205: skipped +205: + trap - EXIT +205: + exit 0 +196: + tar -C out/test/aarch64/repro -xf out/test/aarch64/repro/exe.repro.tar +200: + on_exit +200: + echo OK +200: OK +200: + exit 0 +194/336 Test #200: aarch64-retain-symbols-file .............................. Passed 0.35 sec +195/336 Test #205: aarch64-run-clang ........................................***Skipped 0.10 sec test 206 Start 206: aarch64-run @@ -12381,18 +12431,20 @@ 206: MACHINE=aarch64 206: CPU= 206: Test timeout computed to be: 1500 -200: + grep -q ' bar$' out/test/aarch64/retain-symbols-file/log -205: ++ set -x -205: + '[' cc = cc ']' -205: + grep -q '__[at]san_init' -200: + grep -q ' main$' out/test/aarch64/retain-symbols-file/log +test 207 + Start 207: aarch64-section-align + +207: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/section-align.sh" +207: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +207: Environment variables: +207: MACHINE=aarch64 +207: CPU= +207: Test timeout computed to be: 1500 +202: + cc -B. -o out/test/aarch64/rodata-name/exe out/test/aarch64/rodata-name/a.o out/test/aarch64/rodata-name/b.o +196: + grep -q /a.o out/test/aarch64/repro/exe.repro/response.txt +201: + cat +201: + cc -o out/test/aarch64/reverse-sections/c.o -c -xc++ - 206: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/run.sh -204: + cc -B. -o out/test/aarch64/rpath/exe1 out/test/aarch64/rpath/a.o -Wl,-rpath,/foo,-rpath,/bar,-R/no/such/directory,-R/ -200: + grep -q ' baz$' out/test/aarch64/retain-symbols-file/log -200: + on_exit -200: + echo OK -200: OK -200: + exit 0 206: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 206: ++ export LC_ALL=C 206: ++ LC_ALL=C @@ -12409,40 +12461,7 @@ 206: ++ QEMU= 206: ++ case $MACHINE in 206: ++ tlsdesc_opt=-mtls-dialect=desc -195/336 Test #200: aarch64-retain-symbols-file .............................. Passed 0.09 sec -test 207 - Start 207: aarch64-section-align - -207: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/section-align.sh" -207: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -207: Environment variables: -207: MACHINE=aarch64 -207: CPU= -207: Test timeout computed to be: 1500 -206: +++ uname -206: ++ '[' Linux = FreeBSD ']' -206: ++ trap 'on_error $LINENO' ERR -206: ++ trap on_exit EXIT -205: + nm mold-wrapper.so -205: + clang --version 207: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/section-align.sh -205: + skip -205: + echo skipped -205: skipped -205: + trap - EXIT -205: + exit 0 -196/336 Test #205: aarch64-run-clang ........................................***Skipped 0.03 sec -test 208 - Start 208: aarch64-section-attributes - -208: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/section-attributes.sh" -208: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -208: Environment variables: -208: MACHINE=aarch64 -208: CPU= -208: Test timeout computed to be: 1500 -187: + out/test/aarch64/relocatable-c++/exe -208: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/section-attributes.sh 207: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 207: ++ export LC_ALL=C 207: ++ LC_ALL=C @@ -12459,24 +12478,13 @@ 207: ++ QEMU= 207: ++ case $MACHINE in 207: ++ tlsdesc_opt=-mtls-dialect=desc -208: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc -208: ++ export LC_ALL=C -208: ++ LC_ALL=C -208: ++ '[' -z aarch64 ']' -208: ++ '[' -z '' ']' -208: ++ TESTDIR=out/test/aarch64 -208: ++ CC=cc -208: ++ CXX=c++ -208: ++ GCC=gcc -208: ++ GXX=g++ -208: ++ OBJDUMP=objdump -208: ++ OBJCOPY=objcopy -208: ++ STRIP=strip -208: ++ QEMU= -208: ++ case $MACHINE in -208: ++ tlsdesc_opt=-mtls-dialect=desc -207: +++ uname +206: +++ uname +206: ++ '[' Linux = FreeBSD ']' +206: ++ trap 'on_error $LINENO' ERR +206: ++ trap on_exit EXIT 206: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/run.sh .sh +196: + grep -q mold out/test/aarch64/repro/exe.repro/version.txt +207: +++ uname 206: ++ testname=run 206: ++ echo -n 'Testing run ... ' 206: Testing run ... ++ t=out/test/aarch64/run @@ -12484,37 +12492,38 @@ 207: ++ '[' Linux = FreeBSD ']' 207: ++ trap 'on_error $LINENO' ERR 207: ++ trap on_exit EXIT -208: +++ uname -208: ++ '[' Linux = FreeBSD ']' -208: ++ trap 'on_error $LINENO' ERR -208: ++ trap on_exit EXIT -207: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/section-align.sh .sh -208: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/section-attributes.sh .sh -208: ++ testname=section-attributes -208: ++ echo -n 'Testing section-attributes ... ' -208: Testing section-attributes ... ++ t=out/test/aarch64/section-attributes -208: ++ mkdir -p out/test/aarch64/section-attributes -208: ++ set -x -207: ++ testname=section-align -207: ++ echo -n 'Testing section-align ... ' -207: Testing section-align ... ++ t=out/test/aarch64/section-align -207: ++ mkdir -p out/test/aarch64/section-align 187: + grep -q 'Hello world' -208: + cc -o out/test/aarch64/section-attributes/a.o -c -xassembler - -202: + cc -B. -o out/test/aarch64/rodata-name/exe out/test/aarch64/rodata-name/a.o out/test/aarch64/rodata-name/b.o -203: + cc -B. -o out/test/aarch64/rosegment/exe1 out/test/aarch64/rosegment/a.o -208: + cat -207: ++ set -x -206: ++ set -x -206: + '[' cc = cc ']' -207: + cc -o out/test/aarch64/section-align/a.o -c -xc -fno-PIC - -206: + nm mold -207: + cat +187: + out/test/aarch64/relocatable-c++/exe 187: + on_exit 187: + echo OK 187: OK 187: + exit 0 -197/336 Test #187: aarch64-relocatable-c++ .................................. Passed 0.73 sec +196/336 Test #187: aarch64-relocatable-c++ .................................. Passed 1.54 sec +test 208 + Start 208: aarch64-section-attributes + +208: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/section-attributes.sh" +208: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +208: Environment variables: +208: MACHINE=aarch64 +208: CPU= +208: Test timeout computed to be: 1500 +206: ++ set -x +206: + '[' cc = cc ']' +206: + nm mold +206: + grep -q '__[at]san_init' +204: + readelf --dynamic out/test/aarch64/rpath/exe1 +203: + readelf -W --segments out/test/aarch64/rosegment/exe1 +207: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/section-align.sh .sh +196: + on_exit +196: + echo OK +196: OK +196: + exit 0 +207: ++ testname=section-align +207: ++ echo -n 'Testing section-align ... ' +207: Testing section-align ... ++ t=out/test/aarch64/section-align +207: ++ mkdir -p out/test/aarch64/section-align +197/336 Test #196: aarch64-repro ............................................ Passed 0.74 sec test 209 Start 209: aarch64-section-order @@ -12524,16 +12533,32 @@ 209: MACHINE=aarch64 209: CPU= 209: Test timeout computed to be: 1500 -208: + cat -208: + cc -o out/test/aarch64/section-attributes/b.o -c -xassembler - -208: + cc -o out/test/aarch64/section-attributes/c.o -c -xassembler - -208: + cat -206: + grep -q '__[at]san_init' +208: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/section-attributes.sh +208: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc +208: ++ export LC_ALL=C +208: ++ LC_ALL=C +208: ++ '[' -z aarch64 ']' +208: ++ '[' -z '' ']' +208: ++ TESTDIR=out/test/aarch64 +208: ++ CC=cc +208: ++ CXX=c++ +208: ++ GCC=gcc +208: ++ GXX=g++ +208: ++ OBJDUMP=objdump +208: ++ OBJCOPY=objcopy +208: ++ STRIP=strip +208: ++ QEMU= +208: ++ case $MACHINE in +208: ++ tlsdesc_opt=-mtls-dialect=desc 204: + grep -Fq 'Library runpath: [/foo:/bar:/no/such/directory:/]' -204: + readelf --dynamic out/test/aarch64/rpath/exe1 204: + cc -B. -o out/test/aarch64/rpath/exe2 out/test/aarch64/rpath/a.o -Wl,-rpath,/foo,-rpath,/bar,-rpath,/foo,-rpath,/baz -201: + cc -o out/test/aarch64/reverse-sections/c.o -c -xc++ - -201: + cat +203: + grep -q '\.interp .* \.text' out/test/aarch64/rosegment/log1 +208: +++ uname +203: + cc -B. -o out/test/aarch64/rosegment/exe2 out/test/aarch64/rosegment/a.o -Wl,--rosegment +207: ++ set -x +208: ++ '[' Linux = FreeBSD ']' +208: ++ trap 'on_error $LINENO' ERR +208: ++ trap on_exit EXIT 209: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/section-order.sh 209: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 209: ++ export LC_ALL=C @@ -12551,46 +12576,53 @@ 209: ++ QEMU= 209: ++ case $MACHINE in 209: ++ tlsdesc_opt=-mtls-dialect=desc +208: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/section-attributes.sh .sh +207: + cat +202: + readelf -p .rodata.str1.1 out/test/aarch64/rodata-name/exe +202: + grep -q Hello +207: + cc -o out/test/aarch64/section-align/a.o -c -xc -fno-PIC - +208: ++ testname=section-attributes +208: ++ echo -n 'Testing section-attributes ... ' +208: Testing section-attributes ... ++ t=out/test/aarch64/section-attributes +208: ++ mkdir -p out/test/aarch64/section-attributes 209: +++ uname 209: ++ '[' Linux = FreeBSD ']' 209: ++ trap 'on_error $LINENO' ERR 209: ++ trap on_exit EXIT +201: + c++ -B. -o out/test/aarch64/reverse-sections/exe1 out/test/aarch64/reverse-sections/a.o out/test/aarch64/reverse-sections/b.o out/test/aarch64/reverse-sections/c.o 209: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/section-order.sh .sh +202: + grep -q world +202: + readelf -p .rodata.str4.4 out/test/aarch64/rodata-name/exe 209: ++ testname=section-order 209: ++ echo -n 'Testing section-order ... ' 209: Testing section-order ... ++ t=out/test/aarch64/section-order 209: ++ mkdir -p out/test/aarch64/section-order +208: ++ set -x +208: + cat +202: + grep -q foobar +202: + readelf -p .rodata.str1.1 out/test/aarch64/rodata-name/exe 209: ++ set -x 209: + on_qemu 209: + '[' '' '!=' '' ']' 209: + grep -qw qemu /proc/cpuinfo -207: + cc -B. -o out/test/aarch64/section-align/exe1 out/test/aarch64/section-align/a.o -Wl,--section-align=.foo=0x2000 -208: + cat -203: + readelf -W --segments out/test/aarch64/rosegment/exe1 -203: + grep -q '\.interp .* \.text' out/test/aarch64/rosegment/log1 -203: + cc -B. -o out/test/aarch64/rosegment/exe2 out/test/aarch64/rosegment/a.o -Wl,--rosegment -208: + cc -o out/test/aarch64/section-attributes/d.o -c -xc - +208: + cc -o out/test/aarch64/section-attributes/a.o -c -xassembler - +202: + readelf -p .rodata.cst8 out/test/aarch64/rodata-name/exe 209: ++ uname 209: + '[' Linux = FreeBSD ']' -209: + cc -o out/test/aarch64/section-order/a.o -c -xc -fno-PIC - -202: + grep -q Hello -202: + readelf -p .rodata.str1.1 out/test/aarch64/rodata-name/exe -202: + grep -q world -202: + readelf -p .rodata.str4.4 out/test/aarch64/rodata-name/exe -209: + cat -202: + grep -q foobar -202: + readelf -p .rodata.str1.1 out/test/aarch64/rodata-name/exe -204: + grep -Fq 'Library runpath: [/foo:/bar:/baz]' -204: + readelf --dynamic out/test/aarch64/rpath/exe2 202: + grep -q abcdefgh -201: + c++ -B. -o out/test/aarch64/reverse-sections/exe1 out/test/aarch64/reverse-sections/a.o out/test/aarch64/reverse-sections/b.o out/test/aarch64/reverse-sections/c.o -202: + readelf -p .rodata.cst8 out/test/aarch64/rodata-name/exe +207: + cc -B. -o out/test/aarch64/section-align/exe1 out/test/aarch64/section-align/a.o -Wl,--section-align=.foo=0x2000 +208: + cc -o out/test/aarch64/section-attributes/b.o -c -xassembler - +190: + ./mold --relocatable -o out/test/aarch64/relocatable-exception/c.o out/test/aarch64/relocatable-exception/a.o out/test/aarch64/relocatable-exception/b.o +208: + cat +209: + cat +209: + cc -o out/test/aarch64/section-order/a.o -c -xc -fno-PIC - 202: + grep -q baz -204: + on_exit -204: + echo OK -204: OK -204: + exit 0 -198/336 Test #204: aarch64-rpath ............................................ Passed 0.14 sec +202: + readelf -p .rodatabaz out/test/aarch64/rodata-name/exe +202: + on_exit +202: + echo OK +202: OK +202: + exit 0 +198/336 Test #202: aarch64-rodata-name ...................................... Passed 0.41 sec test 210 Start 210: aarch64-section-start @@ -12600,15 +12632,15 @@ 210: MACHINE=aarch64 210: CPU= 210: Test timeout computed to be: 1500 -202: + readelf -p .rodatabaz out/test/aarch64/rodata-name/exe -202: + on_exit -202: + echo OK -202: OK -202: + exit 0 -190: + ./mold --relocatable -o out/test/aarch64/relocatable-exception/c.o out/test/aarch64/relocatable-exception/a.o out/test/aarch64/relocatable-exception/b.o -207: + readelf -WS out/test/aarch64/section-align/exe1 -207: + grep -q '\.foo.* 8192$' -199/336 Test #202: aarch64-rodata-name ...................................... Passed 0.16 sec +204: + grep -Fq 'Library runpath: [/foo:/bar:/baz]' +204: + readelf --dynamic out/test/aarch64/rpath/exe2 +204: + on_exit +204: + echo OK +204: OK +204: + exit 0 +208: + cc -o out/test/aarch64/section-attributes/c.o -c -xassembler - +208: + cat +199/336 Test #204: aarch64-rpath ............................................ Passed 0.34 sec test 211 Start 211: aarch64-separate-debug-file @@ -12618,10 +12650,10 @@ 211: MACHINE=aarch64 211: CPU= 211: Test timeout computed to be: 1500 -207: + cc -B. -o out/test/aarch64/section-align/exe2 out/test/aarch64/section-align/a.o -Wl,--section-align=.foo=256 -208: + cc -B. -o out/test/aarch64/section-attributes/exe out/test/aarch64/section-attributes/a.o out/test/aarch64/section-attributes/b.o out/test/aarch64/section-attributes/c.o out/test/aarch64/section-attributes/d.o +208: + cc -o out/test/aarch64/section-attributes/d.o -c -xc - +208: + cat +203: + readelf -W --segments out/test/aarch64/rosegment/exe2 210: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/section-start.sh -211: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/separate-debug-file.sh 210: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 210: ++ export LC_ALL=C 210: ++ LC_ALL=C @@ -12638,7 +12670,13 @@ 210: ++ QEMU= 210: ++ case $MACHINE in 210: ++ tlsdesc_opt=-mtls-dialect=desc -209: + cc -B. -o out/test/aarch64/section-order/exe1 out/test/aarch64/section-order/a.o -no-pie '-Wl,--section-order==0x100000 PHDR =0x200000 .fn2 TEXT =0x300000 .fn1 DATA BSS RODATA' +203: + grep -q '\.interp .* \.text' out/test/aarch64/rosegment/log2 +210: +++ uname +190: + c++ -B. -o out/test/aarch64/relocatable-exception/exe out/test/aarch64/relocatable-exception/c.o +210: ++ '[' Linux = FreeBSD ']' +210: ++ trap 'on_error $LINENO' ERR +210: ++ trap on_exit EXIT +211: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/separate-debug-file.sh 211: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 211: ++ export LC_ALL=C 211: ++ LC_ALL=C @@ -12655,44 +12693,48 @@ 211: ++ QEMU= 211: ++ case $MACHINE in 211: ++ tlsdesc_opt=-mtls-dialect=desc -190: + c++ -B. -o out/test/aarch64/relocatable-exception/exe out/test/aarch64/relocatable-exception/c.o +210: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/section-start.sh .sh +201: + grep -q 'foo1 foo2 foo3 foo4 foo5 foo6' +210: ++ testname=section-start +210: ++ echo -n 'Testing section-start ... ' +210: Testing section-start ... ++ t=out/test/aarch64/section-start +210: ++ mkdir -p out/test/aarch64/section-start +203: + cc -B. -o out/test/aarch64/rosegment/exe3 out/test/aarch64/rosegment/a.o -Wl,--no-rosegment +201: + out/test/aarch64/reverse-sections/exe1 +210: ++ set -x +210: + '[' aarch64 = ppc64 ']' +210: + [[ aarch64 = loongarch* ]] +210: + '[' aarch64 = arm ']' +206: + cat 211: +++ uname -210: +++ uname 211: ++ '[' Linux = FreeBSD ']' 211: ++ trap 'on_error $LINENO' ERR 211: ++ trap on_exit EXIT +201: + c++ -B. -o out/test/aarch64/reverse-sections/exe2 out/test/aarch64/reverse-sections/a.o out/test/aarch64/reverse-sections/b.o out/test/aarch64/reverse-sections/c.o -Wl,--reverse-sections +206: + cc -xc -c -o out/test/aarch64/run/a.o - +210: + cat +210: + cc -o out/test/aarch64/section-start/a.o -c -xc -fno-PIC - 211: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/separate-debug-file.sh .sh -210: ++ '[' Linux = FreeBSD ']' -210: ++ trap 'on_error $LINENO' ERR -210: ++ trap on_exit EXIT 211: ++ testname=separate-debug-file 211: ++ echo -n 'Testing separate-debug-file ... ' 211: Testing separate-debug-file ... ++ t=out/test/aarch64/separate-debug-file 211: ++ mkdir -p out/test/aarch64/separate-debug-file -210: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/section-start.sh .sh -210: ++ testname=section-start -210: ++ echo -n 'Testing section-start ... ' -210: Testing section-start ... ++ t=out/test/aarch64/section-start -210: ++ mkdir -p out/test/aarch64/section-start +208: + cc -B. -o out/test/aarch64/section-attributes/exe out/test/aarch64/section-attributes/a.o out/test/aarch64/section-attributes/b.o out/test/aarch64/section-attributes/c.o out/test/aarch64/section-attributes/d.o +209: + cc -B. -o out/test/aarch64/section-order/exe1 out/test/aarch64/section-order/a.o -no-pie '-Wl,--section-order==0x100000 PHDR =0x200000 .fn2 TEXT =0x300000 .fn1 DATA BSS RODATA' 211: ++ set -x 211: + grep -q __tsan_init 211: + nm mold -203: + readelf -W --segments out/test/aarch64/rosegment/exe2 -203: + grep -q '\.interp .* \.text' out/test/aarch64/rosegment/log2 -210: ++ set -x -210: + '[' aarch64 = ppc64 ']' -210: + [[ aarch64 = loongarch* ]] -210: + '[' aarch64 = arm ']' -210: + cat -203: + cc -B. -o out/test/aarch64/rosegment/exe3 out/test/aarch64/rosegment/a.o -Wl,--no-rosegment -210: + cc -o out/test/aarch64/section-start/a.o -c -xc -fno-PIC - +207: + grep -q '\.foo.* 8192$' +207: + readelf -WS out/test/aarch64/section-align/exe1 +207: + cc -B. -o out/test/aarch64/section-align/exe2 out/test/aarch64/section-align/a.o -Wl,--section-align=.foo=256 190: + out/test/aarch64/relocatable-exception/exe 190: 0 +153: + ./mold --relocatable -o out/test/aarch64/many-sections2/b.o out/test/aarch64/many-sections2/a.o 190: + on_exit 190: + echo OK 190: OK 190: + exit 0 -200/336 Test #190: aarch64-relocatable-exception ............................ Passed 0.76 sec +200/336 Test #190: aarch64-relocatable-exception ............................ Passed 1.70 sec test 212 Start 212: aarch64-shared-abs-sym @@ -12702,6 +12744,28 @@ 212: MACHINE=aarch64 212: CPU= 212: Test timeout computed to be: 1500 +210: + cc -B. -o out/test/aarch64/section-start/exe1 out/test/aarch64/section-start/a.o -no-pie -Wl,--section-start=.fn1=0x10000000,--section-start=.fn2=0x20000000 +208: + readelf -W --sections out/test/aarch64/section-attributes/exe +208: + grep -q 'foobar.*WAX' +206: ++ pwd +206: + LD_PRELOAD=/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/mold-wrapper.so +206: ++ pwd +206: + MOLD_PATH=/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/mold +206: + cc -o out/test/aarch64/run/exe out/test/aarch64/run/a.o -B/usr/bin +208: + on_exit +208: + echo OK +208: OK +208: + exit 0 +201/336 Test #208: aarch64-section-attributes ............................... Passed 0.34 sec +test 213 + Start 213: aarch64-shared + +213: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/shared.sh" +213: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +213: Environment variables: +213: MACHINE=aarch64 +213: CPU= +213: Test timeout computed to be: 1500 212: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/shared-abs-sym.sh 212: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 212: ++ export LC_ALL=C @@ -12719,45 +12783,10 @@ 212: ++ QEMU= 212: ++ case $MACHINE in 212: ++ tlsdesc_opt=-mtls-dialect=desc -212: +++ uname -212: ++ '[' Linux = FreeBSD ']' -212: ++ trap 'on_error $LINENO' ERR -212: ++ trap on_exit EXIT -212: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/shared-abs-sym.sh .sh -212: ++ testname=shared-abs-sym -212: ++ echo -n 'Testing shared-abs-sym ... ' -212: Testing shared-abs-sym ... ++ t=out/test/aarch64/shared-abs-sym -212: ++ mkdir -p out/test/aarch64/shared-abs-sym -201: + grep -q 'foo1 foo2 foo3 foo4 foo5 foo6' -201: + out/test/aarch64/reverse-sections/exe1 -208: + readelf -W --sections out/test/aarch64/section-attributes/exe -208: + grep -q 'foobar.*WAX' -208: + on_exit -208: + echo OK -208: OK -208: + exit 0 -210: + cc -B. -o out/test/aarch64/section-start/exe1 out/test/aarch64/section-start/a.o -no-pie -Wl,--section-start=.fn1=0x10000000,--section-start=.fn2=0x20000000 -201/336 Test #208: aarch64-section-attributes ............................... Passed 0.15 sec -201: + c++ -B. -o out/test/aarch64/reverse-sections/exe2 out/test/aarch64/reverse-sections/a.o out/test/aarch64/reverse-sections/b.o out/test/aarch64/reverse-sections/c.o -Wl,--reverse-sections -212: ++ set -x -test 213 - Start 213: aarch64-shared - -213: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/shared.sh" -213: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -213: Environment variables: -213: MACHINE=aarch64 -213: CPU= -213: Test timeout computed to be: 1500 -212: + cat -212: + cc -B. -fPIC -shared -o out/test/aarch64/shared-abs-sym/a.so -xassembler - -209: + out/test/aarch64/section-order/exe1 209: + grep -q Hello -209: + grep -q '\.fn2 .*00200000' -209: + readelf -SW out/test/aarch64/section-order/exe1 -203: + readelf -W --segments out/test/aarch64/rosegment/exe3 +209: + out/test/aarch64/section-order/exe1 +212: +++ uname 213: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/shared.sh -209: + grep -q '\.fn1 .*00300000' 213: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 213: ++ export LC_ALL=C 213: ++ LC_ALL=C @@ -12775,15 +12804,61 @@ 213: ++ case $MACHINE in 213: ++ tlsdesc_opt=-mtls-dialect=desc 209: + readelf -SW out/test/aarch64/section-order/exe1 -207: + readelf -WS out/test/aarch64/section-align/exe2 207: + grep -q '\.foo.* 256$' +207: + readelf -WS out/test/aarch64/section-align/exe2 +212: ++ '[' Linux = FreeBSD ']' +212: ++ trap 'on_error $LINENO' ERR +212: ++ trap on_exit EXIT +209: + grep -q '\.fn2 .*00200000' +212: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/shared-abs-sym.sh .sh +207: + grep -q 'must be a power of 2' +209: + readelf -SW out/test/aarch64/section-order/exe1 +212: ++ testname=shared-abs-sym +212: ++ echo -n 'Testing shared-abs-sym ... ' +212: Testing shared-abs-sym ... ++ t=out/test/aarch64/shared-abs-sym +212: ++ mkdir -p out/test/aarch64/shared-abs-sym +212: ++ set -x +212: + cat +207: + cc -B. -o out/test/aarch64/section-align/exe3 out/test/aarch64/section-align/a.o -Wl,--section-align=.foo=3 +213: +++ uname +209: + grep -q '\.fn1 .*00300000' +209: + grep -Eq ': 0+\s.*\s__ehdr_start$' +213: ++ '[' Linux = FreeBSD ']' +213: ++ trap 'on_error $LINENO' ERR +213: ++ trap on_exit EXIT +213: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/shared.sh .sh +213: ++ testname=shared +213: ++ echo -n 'Testing shared ... ' +213: Testing shared ... ++ t=out/test/aarch64/shared +213: ++ mkdir -p out/test/aarch64/shared +213: ++ set -x +213: + cc -fPIC -c -o out/test/aarch64/shared/a.o -xc - +206: + readelf -p .comment out/test/aarch64/run/exe +212: + cc -B. -fPIC -shared -o out/test/aarch64/shared-abs-sym/a.so -xassembler - +213: + cat +203: + readelf -W --segments out/test/aarch64/rosegment/exe3 203: + grep -q '\.interp .* \.text' out/test/aarch64/rosegment/log3 +206: + grep -q mold out/test/aarch64/run/log 209: + readelf -sw out/test/aarch64/section-order/exe1 +201: + out/test/aarch64/reverse-sections/exe2 +201: + grep -q 'foo5 foo6 foo3 foo4 foo1 foo2' +209: + cc -B. -o out/test/aarch64/section-order/exe2 out/test/aarch64/section-order/a.o -no-pie '-Wl,--section-order==0x200000 EHDR RODATA =0x300000 PHDR =0x400000 .fn2 TEXT DATA BSS' +213: + cc -B. -shared -o out/test/aarch64/shared/b.so out/test/aarch64/shared/a.o 203: + on_exit 203: + echo OK 203: OK 203: + exit 0 -202/336 Test #203: aarch64-rosegment ........................................ Passed 0.23 sec +207: + on_exit +207: + echo OK +207: OK +207: + exit 0 +201: + on_exit +201: + echo OK +201: OK +201: + exit 0 +202/336 Test #201: aarch64-reverse-sections ................................. Passed 0.72 sec +203/336 Test #203: aarch64-rosegment ........................................ Passed 0.67 sec +204/336 Test #207: aarch64-section-align .................................... Passed 0.47 sec test 214 Start 214: aarch64-shuffle-sections-seed @@ -12793,27 +12868,6 @@ 214: MACHINE=aarch64 214: CPU= 214: Test timeout computed to be: 1500 -207: + cc -B. -o out/test/aarch64/section-align/exe3 out/test/aarch64/section-align/a.o -Wl,--section-align=.foo=3 -213: +++ uname -213: ++ '[' Linux = FreeBSD ']' -213: ++ trap 'on_error $LINENO' ERR -213: ++ trap on_exit EXIT -213: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/shared.sh .sh -209: + grep -Eq ': 0+\s.*\s__ehdr_start$' -209: + cc -B. -o out/test/aarch64/section-order/exe2 out/test/aarch64/section-order/a.o -no-pie '-Wl,--section-order==0x200000 EHDR RODATA =0x300000 PHDR =0x400000 .fn2 TEXT DATA BSS' -213: ++ testname=shared -213: ++ echo -n 'Testing shared ... ' -213: Testing shared ... ++ t=out/test/aarch64/shared -213: ++ mkdir -p out/test/aarch64/shared -207: + grep -q 'must be a power of 2' -207: + on_exit -207: + echo OK -207: OK -207: + exit 0 -214: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/shuffle-sections-seed.sh -213: ++ set -x -213: + cat -203/336 Test #207: aarch64-section-align .................................... Passed 0.19 sec test 215 Start 215: aarch64-shuffle-sections @@ -12823,6 +12877,20 @@ 215: MACHINE=aarch64 215: CPU= 215: Test timeout computed to be: 1500 +test 216 + Start 216: aarch64-soname + +216: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/soname.sh" +216: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +216: Environment variables: +216: MACHINE=aarch64 +216: CPU= +216: Test timeout computed to be: 1500 +206: + ./mold -run env +206: + grep -q '^MOLD_PATH=.*/mold$' +206: + ./mold -run /usr/bin/ld --version +206: + grep -q mold +214: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/shuffle-sections-seed.sh 214: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 214: ++ export LC_ALL=C 214: ++ LC_ALL=C @@ -12849,23 +12917,7 @@ 214: Testing shuffle-sections-seed ... ++ t=out/test/aarch64/shuffle-sections-seed 214: ++ mkdir -p out/test/aarch64/shuffle-sections-seed 214: ++ set -x -214: + cc -o out/test/aarch64/shuffle-sections-seed/a.o -ffunction-sections -c -xc - -214: + cat -213: + cc -fPIC -c -o out/test/aarch64/shared/a.o -xc - -210: + grep -q 'main fn1 fn2 0x10000000 0x20000000' -210: + out/test/aarch64/section-start/exe1 -210: + sed 's/0x[0-9a-f]*//' -210: + grep ' LOAD ' -210: + readelf -W --segments out/test/aarch64/section-start/exe1 -210: + diff out/test/aarch64/section-start/log1 /dev/fd/63 -210: ++ sort out/test/aarch64/section-start/log1 -206: + cat -206: + cc -xc -c -o out/test/aarch64/run/a.o - -212: + cc -B. -fPIC -shared -o out/test/aarch64/shared-abs-sym/b.so -xassembler - -212: + cat -201: + out/test/aarch64/reverse-sections/exe2 215: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/shuffle-sections.sh -210: + cc -B. -o out/test/aarch64/section-start/exe2 out/test/aarch64/section-start/a.o -no-pie -Wl,--section-start=.fn1=0x20000000,--section-start=.fn2=0x10000000 215: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 215: ++ export LC_ALL=C 215: ++ LC_ALL=C @@ -12882,31 +12934,7 @@ 215: ++ QEMU= 215: ++ case $MACHINE in 215: ++ tlsdesc_opt=-mtls-dialect=desc -201: + grep -q 'foo5 foo6 foo3 foo4 foo1 foo2' -201: + on_exit -201: + echo OK -201: OK -201: + exit 0 -204/336 Test #201: aarch64-reverse-sections ................................. Passed 0.29 sec -test 216 - Start 216: aarch64-soname - -216: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/soname.sh" -216: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -216: Environment variables: -216: MACHINE=aarch64 -216: CPU= -216: Test timeout computed to be: 1500 -215: +++ uname 216: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/soname.sh -215: ++ '[' Linux = FreeBSD ']' -215: ++ trap 'on_error $LINENO' ERR -215: ++ trap on_exit EXIT -215: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/shuffle-sections.sh .sh -215: ++ testname=shuffle-sections -215: ++ echo -n 'Testing shuffle-sections ... ' -215: Testing shuffle-sections ... ++ t=out/test/aarch64/shuffle-sections -215: ++ mkdir -p out/test/aarch64/shuffle-sections 216: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 216: ++ export LC_ALL=C 216: ++ LC_ALL=C @@ -12923,25 +12951,58 @@ 216: ++ QEMU= 216: ++ case $MACHINE in 216: ++ tlsdesc_opt=-mtls-dialect=desc +206: + grep -q mold +215: +++ uname +210: + out/test/aarch64/section-start/exe1 +215: ++ '[' Linux = FreeBSD ']' +215: ++ trap 'on_error $LINENO' ERR +215: ++ trap on_exit EXIT +215: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/shuffle-sections.sh .sh +214: + cc -o out/test/aarch64/shuffle-sections-seed/a.o -ffunction-sections -c -xc - +209: + readelf -SW out/test/aarch64/section-order/exe2 +215: ++ testname=shuffle-sections +215: ++ echo -n 'Testing shuffle-sections ... ' +215: Testing shuffle-sections ... ++ t=out/test/aarch64/shuffle-sections +215: ++ mkdir -p out/test/aarch64/shuffle-sections +214: + cat +210: + grep -q 'main fn1 fn2 0x10000000 0x20000000' +206: + ./mold -run /usr/bin/ld.lld --version +215: ++ set -x 216: +++ uname 216: ++ '[' Linux = FreeBSD ']' -215: ++ set -x 216: ++ trap 'on_error $LINENO' ERR 216: ++ trap on_exit EXIT +206: + ./mold -run /usr/bin/ld.gold --version +210: + readelf -W --segments out/test/aarch64/section-start/exe1 +209: + grep -q '\.fn2 .*00400000' +215: + cat +210: + grep ' LOAD ' +210: + sed 's/0x[0-9a-f]*//' +206: + grep -q mold +215: + cc -o out/test/aarch64/shuffle-sections/a.o -ffunction-sections -c -xc - 216: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/soname.sh .sh -213: + cc -B. -shared -o out/test/aarch64/shared/b.so out/test/aarch64/shared/a.o -206: ++ pwd -206: + LD_PRELOAD=/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/mold-wrapper.so 216: ++ testname=soname 216: ++ echo -n 'Testing soname ... ' 216: Testing soname ... ++ t=out/test/aarch64/soname 216: ++ mkdir -p out/test/aarch64/soname -206: ++ pwd -206: + MOLD_PATH=/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/mold -206: + cc -o out/test/aarch64/run/exe out/test/aarch64/run/a.o -B/usr/bin +209: + readelf -sW out/test/aarch64/section-order/exe2 +213: + readelf --dyn-syms out/test/aarch64/shared/b.so +210: + diff out/test/aarch64/section-start/log1 /dev/fd/63 +206: + rm -f out/test/aarch64/run/ld out/test/aarch64/run/ld.lld out/test/aarch64/run/ld.gold out/test/aarch64/run/foo.ld +206: + touch out/test/aarch64/run/ld out/test/aarch64/run/ld.lld out/test/aarch64/run/ld.gold +216: ++ set -x +209: + grep -Eq ': 0+200000\s.*\s__ehdr_start$' +210: ++ sort out/test/aarch64/section-start/log1 +210: + cc -B. -o out/test/aarch64/section-start/exe2 out/test/aarch64/section-start/a.o -no-pie -Wl,--section-start=.fn1=0x20000000,--section-start=.fn2=0x10000000 +206: + echo '#!/bin/sh' +206: + chmod 755 out/test/aarch64/run/ld out/test/aarch64/run/ld.lld out/test/aarch64/run/ld.gold out/test/aarch64/run/foo.ld +213: + grep -q '00000000 0 NOTYPE GLOBAL DEFAULT UND fn2' out/test/aarch64/shared/log +216: + cat +216: + cc -fPIC -c -o out/test/aarch64/soname/a.o -xc - +209: + readelf -W --segments out/test/aarch64/section-order/exe2 214: + cc -o out/test/aarch64/shuffle-sections-seed/b.o -ffunction-sections -c -xc - +213: + grep -Eq 'FUNC GLOBAL DEFAULT .* fn1' out/test/aarch64/shared/log 214: ++ seq 1 1000 -215: + cat 214: + for i in `seq 1 1000` 214: + echo 'void fn1() {}' 214: + for i in `seq 1 1000` @@ -13854,7 +13915,6 @@ 214: + echo 'void fn455() {}' 214: + for i in `seq 1 1000` 214: + echo 'void fn456() {}' -215: + cc -o out/test/aarch64/shuffle-sections/a.o -ffunction-sections -c -xc - 214: + for i in `seq 1 1000` 214: + echo 'void fn457() {}' 214: + for i in `seq 1 1000` @@ -14552,6 +14612,10 @@ 214: + for i in `seq 1 1000` 214: + echo 'void fn804() {}' 214: + for i in `seq 1 1000` +212: + cat +212: + cc -B. -fPIC -shared -o out/test/aarch64/shared-abs-sym/b.so -xassembler - +209: + grep -Eq 'PHDR\s.*0x0+300000\s' +209: + cc -B. -o out/test/aarch64/section-order/exe3 out/test/aarch64/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' 214: + echo 'void fn805() {}' 214: + for i in `seq 1 1000` 214: + echo 'void fn806() {}' @@ -14943,53 +15007,8 @@ 214: + echo 'void fn999() {}' 214: + for i in `seq 1 1000` 214: + echo 'void fn1000() {}' -216: ++ set -x -216: + cat -216: + cc -fPIC -c -o out/test/aarch64/soname/a.o -xc - -216: + cc -o out/test/aarch64/soname/b.so -shared out/test/aarch64/soname/a.o -212: + cc -fPIC -c -o out/test/aarch64/shared-abs-sym/d.o -xc - -212: + cat -212: + cp out/test/aarch64/shared-abs-sym/a.so out/test/aarch64/shared-abs-sym/c.so -212: + cc -B. -o out/test/aarch64/shared-abs-sym/exe1 out/test/aarch64/shared-abs-sym/d.o out/test/aarch64/shared-abs-sym/c.so -pie -209: + readelf -SW out/test/aarch64/section-order/exe2 -209: + grep -q '\.fn2 .*00400000' -209: + readelf -sW out/test/aarch64/section-order/exe2 -209: + grep -Eq ': 0+200000\s.*\s__ehdr_start$' -209: + readelf -W --segments out/test/aarch64/section-order/exe2 -209: + grep -Eq 'PHDR\s.*0x0+300000\s' -209: + cc -B. -o out/test/aarch64/section-order/exe3 out/test/aarch64/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' -210: + grep -q 'main fn1 fn2 0x20000000 0x10000000' -210: + out/test/aarch64/section-start/exe2 -210: + sed 's/0x[0-9a-f]*//' -210: + grep ' LOAD ' -210: + readelf -W --segments out/test/aarch64/section-start/exe2 -210: + diff out/test/aarch64/section-start/log2 /dev/fd/63 -210: ++ sort out/test/aarch64/section-start/log2 -213: + readelf --dyn-syms out/test/aarch64/shared/b.so -213: + grep -q '00000000 0 NOTYPE GLOBAL DEFAULT UND fn2' out/test/aarch64/shared/log -213: + grep -Eq 'FUNC GLOBAL DEFAULT .* fn1' out/test/aarch64/shared/log -213: + cat -206: + readelf -p .comment out/test/aarch64/run/exe -206: + grep -q mold out/test/aarch64/run/log -206: + ./mold -run env 215: + cc -o out/test/aarch64/shuffle-sections/b.o -ffunction-sections -c -xc - 215: ++ seq 1 1000 -213: + cc -fPIC -c -o out/test/aarch64/shared/c.o -xc - -210: + on_exit -210: + echo OK -210: OK -210: + exit 0 -206: + grep -q '^MOLD_PATH=.*/mold$' -205/336 Test #210: aarch64-section-start .................................... Passed 0.22 sec -test 217 - Start 217: aarch64-spare-program-headers - -217: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/spare-program-headers.sh" -217: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -217: Environment variables: -217: MACHINE=aarch64 -217: CPU= -217: Test timeout computed to be: 1500 215: + for i in `seq 1 1000` 215: + echo 'void fn1() {}' 215: + for i in `seq 1 1000` @@ -16063,10 +16082,6 @@ 215: + for i in `seq 1 1000` 215: + echo 'void fn536() {}' 215: + for i in `seq 1 1000` -206: + ./mold -run /usr/bin/ld --version -206: + grep -q mold -206: + grep -q mold -206: + ./mold -run /usr/bin/ld.lld --version 215: + echo 'void fn537() {}' 215: + for i in `seq 1 1000` 215: + echo 'void fn538() {}' @@ -16994,6 +17009,54 @@ 215: + echo 'void fn999() {}' 215: + for i in `seq 1 1000` 215: + echo 'void fn1000() {}' +213: + cat +213: + cc -fPIC -c -o out/test/aarch64/shared/c.o -xc - +206: + grep -q mold +206: + ./mold -run out/test/aarch64/run/ld --version +206: + ./mold -run out/test/aarch64/run/ld.lld --version +206: + grep -q mold +206: + grep -q mold +206: + ./mold -run out/test/aarch64/run/ld.gold --version +206: + ./mold -run out/test/aarch64/run/foo.ld --version +206: + grep -q mold +216: + cc -o out/test/aarch64/soname/b.so -shared out/test/aarch64/soname/a.o +210: + out/test/aarch64/section-start/exe2 +210: + grep -q 'main fn1 fn2 0x20000000 0x10000000' +191: + cc -c -xc -o out/test/aarch64/relocatable-many-sections/b.o - +191: + cat +206: + cat +210: + sed 's/0x[0-9a-f]*//' +210: + readelf -W --segments out/test/aarch64/section-start/exe2 +210: + grep ' LOAD ' +216: + readelf --dynamic out/test/aarch64/soname/b.so +210: + diff out/test/aarch64/section-start/log2 /dev/fd/63 +210: ++ sort out/test/aarch64/section-start/log2 +209: + readelf -sW out/test/aarch64/section-order/exe3 +209: + grep -Eq '\b0+200000 .* ehdr_start$' out/test/aarch64/section-order/log3 +213: + cc -B. -o out/test/aarch64/shared/exe out/test/aarch64/shared/c.o out/test/aarch64/shared/b.so +206: + chmod 755 out/test/aarch64/run/sh +210: + on_exit +210: + echo OK +210: OK +210: + exit 0 +205/336 Test #210: aarch64-section-start .................................... Passed 0.54 sec +test 217 + Start 217: aarch64-spare-program-headers + +217: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/spare-program-headers.sh" +217: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +217: Environment variables: +217: MACHINE=aarch64 +217: CPU= +217: Test timeout computed to be: 1500 +209: + grep -Eq '\b0+200040 .* rodata_start$' out/test/aarch64/section-order/log3 +216: + grep -Fq 'Library soname' out/test/aarch64/soname/log +212: + cat +206: + grep -q mold +216: + cc -B. -o out/test/aarch64/soname/b.so -shared out/test/aarch64/soname/a.o -Wl,-soname,foo +212: + cc -fPIC -c -o out/test/aarch64/shared-abs-sym/d.o -xc - +206: + ./mold -run out/test/aarch64/run/sh ld --version +209: + grep -Eq '\b0+300000 .* phdr_start$' out/test/aarch64/section-order/log3 217: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/spare-program-headers.sh 217: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 217: ++ export LC_ALL=C @@ -17011,50 +17074,32 @@ 217: ++ QEMU= 217: ++ case $MACHINE in 217: ++ tlsdesc_opt=-mtls-dialect=desc +211: + on_qemu +211: + '[' '' '!=' '' ']' +211: + grep -qw qemu /proc/cpuinfo +209: + grep -Eq '\b0+301000 .* phdr_end$' out/test/aarch64/section-order/log3 217: +++ uname +191: + ./mold -r -o out/test/aarch64/relocatable-many-sections/c.o out/test/aarch64/relocatable-many-sections/a.o out/test/aarch64/relocatable-many-sections/b.o 217: ++ '[' Linux = FreeBSD ']' 217: ++ trap 'on_error $LINENO' ERR 217: ++ trap on_exit EXIT -217: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/spare-program-headers.sh .sh -217: ++ testname=spare-program-headers -217: ++ echo -n 'Testing spare-program-headers ... ' -217: Testing spare-program-headers ... ++ t=out/test/aarch64/spare-program-headers -217: ++ mkdir -p out/test/aarch64/spare-program-headers -217: ++ set -x -217: + cat -217: + cc -o out/test/aarch64/spare-program-headers/a.o -c -xc - -212: + out/test/aarch64/shared-abs-sym/exe1 -212: + grep -q foo=0x3 -212: + cp out/test/aarch64/shared-abs-sym/b.so out/test/aarch64/shared-abs-sym/c.so -212: + out/test/aarch64/shared-abs-sym/exe1 -212: + grep -q foo=0x5 -212: + cp out/test/aarch64/shared-abs-sym/a.so out/test/aarch64/shared-abs-sym/c.so -212: + cc -B. -o out/test/aarch64/shared-abs-sym/exe2 out/test/aarch64/shared-abs-sym/d.o out/test/aarch64/shared-abs-sym/c.so -no-pie -211: + on_qemu -211: + '[' '' '!=' '' ']' -211: + grep -qw qemu /proc/cpuinfo 211: + command -v gdb 211: + command -v flock 211: + cat +209: + grep -Eq '\b0+400000 .* text_start$' out/test/aarch64/section-order/log3 +206: + ./mold -run out/test/aarch64/run/sh foo.ld --version 211: + cc -c -o out/test/aarch64/separate-debug-file/a.o out/test/aarch64/separate-debug-file/a.c -g -216: + readelf --dynamic out/test/aarch64/soname/b.so -216: + grep -Fq 'Library soname' out/test/aarch64/soname/log -216: + cc -B. -o out/test/aarch64/soname/b.so -shared out/test/aarch64/soname/a.o -Wl,-soname,foo -213: + cc -B. -o out/test/aarch64/shared/exe out/test/aarch64/shared/c.o out/test/aarch64/shared/b.so -209: + readelf -sW out/test/aarch64/section-order/exe3 -209: + grep -Eq '\b0+200000 .* ehdr_start$' out/test/aarch64/section-order/log3 -209: + grep -Eq '\b0+200040 .* rodata_start$' out/test/aarch64/section-order/log3 -153: + ./mold --relocatable -o out/test/aarch64/many-sections2/b.o out/test/aarch64/many-sections2/a.o -206: + ./mold -run /usr/bin/ld.gold --version 206: + grep -q mold -209: + grep -Eq '\b0+300000 .* phdr_start$' out/test/aarch64/section-order/log3 -209: + grep -Eq '\b0+301000 .* phdr_end$' out/test/aarch64/section-order/log3 -209: + grep -Eq '\b0+400000 .* text_start$' out/test/aarch64/section-order/log3 +217: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/spare-program-headers.sh .sh +217: ++ testname=spare-program-headers +217: ++ echo -n 'Testing spare-program-headers ... ' +217: Testing spare-program-headers ... ++ t=out/test/aarch64/spare-program-headers +217: ++ mkdir -p out/test/aarch64/spare-program-headers 209: + on_exit 209: + echo OK 209: OK 209: + exit 0 -206/336 Test #209: aarch64-section-order .................................... Passed 0.35 sec +206/336 Test #209: aarch64-section-order .................................... Passed 0.75 sec test 218 Start 218: aarch64-start-lib @@ -17064,13 +17109,10 @@ 218: MACHINE=aarch64 218: CPU= 218: Test timeout computed to be: 1500 -217: + cc -B. -o out/test/aarch64/spare-program-headers/exe1 out/test/aarch64/spare-program-headers/a.o -206: + rm -f out/test/aarch64/run/ld out/test/aarch64/run/ld.lld out/test/aarch64/run/ld.gold out/test/aarch64/run/foo.ld -216: + readelf --dynamic out/test/aarch64/soname/b.so -206: + touch out/test/aarch64/run/ld out/test/aarch64/run/ld.lld out/test/aarch64/run/ld.gold -216: + grep -Fq 'Library soname: [foo]' +217: ++ set -x 218: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/start-lib.sh -212: + out/test/aarch64/shared-abs-sym/exe2 +206: + grep -q mold +206: + ./mold -run out/test/aarch64/run/sh out/test/aarch64/run/ld --version 218: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 218: ++ export LC_ALL=C 218: ++ LC_ALL=C @@ -17087,17 +17129,34 @@ 218: ++ QEMU= 218: ++ case $MACHINE in 218: ++ tlsdesc_opt=-mtls-dialect=desc -213: + out/test/aarch64/shared/exe +212: + cp out/test/aarch64/shared-abs-sym/a.so out/test/aarch64/shared-abs-sym/c.so +217: + cc -o out/test/aarch64/spare-program-headers/a.o -c -xc - +217: + cat +212: + cc -B. -o out/test/aarch64/shared-abs-sym/exe1 out/test/aarch64/shared-abs-sym/d.o out/test/aarch64/shared-abs-sym/c.so -pie 218: +++ uname -206: + echo '#!/bin/sh' -206: + chmod 755 out/test/aarch64/run/ld out/test/aarch64/run/ld.lld out/test/aarch64/run/ld.gold out/test/aarch64/run/foo.ld -216: + on_exit -216: + echo OK -216: OK -216: + exit 0 -212: + grep -q foo=0x3 -212: + cp out/test/aarch64/shared-abs-sym/b.so out/test/aarch64/shared-abs-sym/c.so -207/336 Test #216: aarch64-soname ........................................... Passed 0.17 sec +218: ++ '[' Linux = FreeBSD ']' +218: ++ trap 'on_error $LINENO' ERR +218: ++ trap on_exit EXIT +213: + grep -q hello +218: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/start-lib.sh .sh +218: ++ testname=start-lib +218: ++ echo -n 'Testing start-lib ... ' +218: Testing start-lib ... ++ t=out/test/aarch64/start-lib +218: ++ mkdir -p out/test/aarch64/start-lib +213: + out/test/aarch64/shared/exe +206: + ./mold -run out/test/aarch64/run/sh out/test/aarch64/run/ld.lld --version +218: ++ set -x +218: + cc -o out/test/aarch64/start-lib/a.o -c -xc - +213: + grep -q fn3 +206: + grep -q mold +218: + cat +213: + readelf --symbols out/test/aarch64/shared/exe +211: + cc -B. -o out/test/aarch64/separate-debug-file/exe1 out/test/aarch64/separate-debug-file/a.o -Wl,--separate-debug-file +213: + on_exit +213: + echo OK +213: OK +213: + exit 0 +207/336 Test #213: aarch64-shared ........................................... Passed 0.50 sec test 219 Start 219: aarch64-start-stop-symbol @@ -17107,22 +17166,16 @@ 219: MACHINE=aarch64 219: CPU= 219: Test timeout computed to be: 1500 -212: + grep -q foo=0x5 -212: + out/test/aarch64/shared-abs-sym/exe1 -212: + on_exit -212: + echo OK -212: OK -212: + exit 0 -213: + grep -q hello -218: ++ '[' Linux = FreeBSD ']' -218: ++ trap 'on_error $LINENO' ERR -218: ++ trap on_exit EXIT -206: + ./mold -run out/test/aarch64/run/ld --version +206: + grep -q mold +206: + ./mold -run out/test/aarch64/run/sh out/test/aarch64/run/ld.gold --version +216: + readelf --dynamic out/test/aarch64/soname/b.so +216: + grep -Fq 'Library soname: [foo]' +216: + on_exit +216: + echo OK +216: OK +216: + exit 0 219: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/start-stop-symbol.sh -219: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc -219: ++ export LC_ALL=C -219: ++ LC_ALL=C -208/336 Test #212: aarch64-shared-abs-sym ................................... Passed 0.25 sec +208/336 Test #216: aarch64-soname ........................................... Passed 0.42 sec test 220 Start 220: aarch64-start-stop @@ -17132,21 +17185,9 @@ 220: MACHINE=aarch64 220: CPU= 220: Test timeout computed to be: 1500 -213: + readelf --symbols out/test/aarch64/shared/exe -213: + grep -q fn3 -213: + on_exit -213: + echo OK -213: OK -213: + exit 0 -218: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/start-lib.sh .sh -218: ++ testname=start-lib -218: ++ echo -n 'Testing start-lib ... ' -218: Testing start-lib ... ++ t=out/test/aarch64/start-lib -218: ++ mkdir -p out/test/aarch64/start-lib -218: ++ set -x -206: + grep -q mold -206: + ./mold -run out/test/aarch64/run/ld.lld --version -206: + grep -q mold +219: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc +219: ++ export LC_ALL=C +219: ++ LC_ALL=C 219: ++ '[' -z aarch64 ']' 219: ++ '[' -z '' ']' 219: ++ TESTDIR=out/test/aarch64 @@ -17164,15 +17205,8 @@ 219: ++ '[' Linux = FreeBSD ']' 219: ++ trap 'on_error $LINENO' ERR 219: ++ trap on_exit EXIT -219: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/start-stop-symbol.sh .sh -219: ++ testname=start-stop-symbol -219: ++ echo -n 'Testing start-stop-symbol ... ' -219: Testing start-stop-symbol ... ++ t=out/test/aarch64/start-stop-symbol -219: ++ mkdir -p out/test/aarch64/start-stop-symbol -219: ++ set -x -219: + cc -c -o out/test/aarch64/start-stop-symbol/a.o -xc - -219: + cat -211: + cc -B. -o out/test/aarch64/separate-debug-file/exe1 out/test/aarch64/separate-debug-file/a.o -Wl,--separate-debug-file +206: + ./mold -run out/test/aarch64/run/sh out/test/aarch64/run/foo.ld --version +217: + cc -B. -o out/test/aarch64/spare-program-headers/exe1 out/test/aarch64/spare-program-headers/a.o 220: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/start-stop.sh 220: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 220: ++ export LC_ALL=C @@ -17190,18 +17224,6 @@ 220: ++ QEMU= 220: ++ case $MACHINE in 220: ++ tlsdesc_opt=-mtls-dialect=desc -209/336 Test #213: aarch64-shared ........................................... Passed 0.25 sec -test 221 - Start 221: aarch64-static-archive - -221: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/static-archive.sh" -221: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -221: Environment variables: -221: MACHINE=aarch64 -221: CPU= -221: Test timeout computed to be: 1500 -218: + cat -218: + cc -o out/test/aarch64/start-lib/a.o -c -xc - 220: +++ uname 220: ++ '[' Linux = FreeBSD ']' 220: ++ trap 'on_error $LINENO' ERR @@ -17211,11 +17233,37 @@ 220: ++ echo -n 'Testing start-stop ... ' 220: Testing start-stop ... ++ t=out/test/aarch64/start-stop 220: ++ mkdir -p out/test/aarch64/start-stop +206: + grep -q mold +218: + cat +219: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/start-stop-symbol.sh .sh +219: ++ testname=start-stop-symbol +219: ++ echo -n 'Testing start-stop-symbol ... ' +219: Testing start-stop-symbol ... ++ t=out/test/aarch64/start-stop-symbol +219: ++ mkdir -p out/test/aarch64/start-stop-symbol 220: ++ set -x +212: + grep -q foo=0x3 +212: + out/test/aarch64/shared-abs-sym/exe1 +220: + cat +219: ++ set -x +218: + cc -o out/test/aarch64/start-lib/b.o -c -xc - +212: + cp out/test/aarch64/shared-abs-sym/b.so out/test/aarch64/shared-abs-sym/c.so 220: + cc -c -o out/test/aarch64/start-stop/a.o -xc - -217: + grep -q 'Hello world' -217: + out/test/aarch64/spare-program-headers/exe1 -217: ++ grep NULL +206: + on_exit +206: + echo OK +206: OK +206: + exit 0 +219: + cc -c -o out/test/aarch64/start-stop-symbol/a.o -xc - +209/336 Test #206: aarch64-run .............................................. Passed 0.97 sec +test 221 + Start 221: aarch64-static-archive + +221: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/static-archive.sh" +221: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +221: Environment variables: +221: MACHINE=aarch64 +221: CPU= +221: Test timeout computed to be: 1500 +219: + cat 221: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/static-archive.sh 221: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 221: ++ export LC_ALL=C @@ -17233,70 +17281,61 @@ 221: ++ QEMU= 221: ++ case $MACHINE in 221: ++ tlsdesc_opt=-mtls-dialect=desc +212: + out/test/aarch64/shared-abs-sym/exe1 +212: + grep -q foo=0x5 +212: + cp out/test/aarch64/shared-abs-sym/a.so out/test/aarch64/shared-abs-sym/c.so +212: + cc -B. -o out/test/aarch64/shared-abs-sym/exe2 out/test/aarch64/shared-abs-sym/d.o out/test/aarch64/shared-abs-sym/c.so -no-pie 221: +++ uname 221: ++ '[' Linux = FreeBSD ']' 221: ++ trap 'on_error $LINENO' ERR 221: ++ trap on_exit EXIT -220: + cat -217: ++ readelf -Wl out/test/aarch64/spare-program-headers/exe1 221: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/static-archive.sh .sh 221: ++ testname=static-archive 221: ++ echo -n 'Testing static-archive ... ' 221: Testing static-archive ... ++ t=out/test/aarch64/static-archive 221: ++ mkdir -p out/test/aarch64/static-archive -221: ++ set -x -221: + cc -o out/test/aarch64/static-archive/long-long-long-filename.o -c -xc - -221: + cat -217: ++ wc -l -217: + '[' 0 -eq 0 ']' -217: + cc -B. -o out/test/aarch64/spare-program-headers/exe2 out/test/aarch64/spare-program-headers/a.o -Wl,--spare-program-headers=0 -206: + ./mold -run out/test/aarch64/run/ld.gold --version -206: + grep -q mold -206: + ./mold -run out/test/aarch64/run/foo.ld --version -219: + ar rcs out/test/aarch64/start-stop-symbol/b.a out/test/aarch64/start-stop-symbol/a.o +217: + out/test/aarch64/spare-program-headers/exe1 220: + cc -B. -o out/test/aarch64/start-stop/exe1 out/test/aarch64/start-stop/a.o -Wl,--start-stop -219: + cat -219: + cc -c -o out/test/aarch64/start-stop-symbol/c.o -xc - -206: + grep -q mold -206: + cat +219: + ar rcs out/test/aarch64/start-stop-symbol/b.a out/test/aarch64/start-stop-symbol/a.o +221: ++ set -x 214: + cc -B. -o out/test/aarch64/shuffle-sections-seed/exe1 out/test/aarch64/shuffle-sections-seed/a.o out/test/aarch64/shuffle-sections-seed/b.o -206: + chmod 755 out/test/aarch64/run/sh -206: + grep -q mold -218: + cat -218: + cc -o out/test/aarch64/start-lib/b.o -c -xc - -206: + ./mold -run out/test/aarch64/run/sh ld --version +217: + grep -q 'Hello world' 211: + grep -Fq .gnu_debuglink 211: + readelf -SW out/test/aarch64/separate-debug-file/exe1 -211: + flock out/test/aarch64/separate-debug-file/exe1 true -221: + cc -o out/test/aarch64/static-archive/b.o -c -xc - -206: + grep -q mold -206: + ./mold -run out/test/aarch64/run/sh foo.ld --version 221: + cat -211: + gdb out/test/aarch64/separate-debug-file/exe1 -ex 'list main' -ex quit +221: + cc -o out/test/aarch64/static-archive/long-long-long-filename.o -c -xc - +211: + flock out/test/aarch64/separate-debug-file/exe1 true +219: + cat +219: + cc -c -o out/test/aarch64/start-stop-symbol/c.o -xc - +217: ++ wc -l +217: ++ grep NULL +217: ++ readelf -Wl out/test/aarch64/spare-program-headers/exe1 +218: + cat +218: + cc -o out/test/aarch64/start-lib/c.o -c -xc - +217: + '[' 0 -eq 0 ']' +217: + cc -B. -o out/test/aarch64/spare-program-headers/exe2 out/test/aarch64/spare-program-headers/a.o -Wl,--spare-program-headers=0 211: + grep -Fq printf -206: + grep -q mold -206: + ./mold -run out/test/aarch64/run/sh out/test/aarch64/run/ld --version +215: + cc -B. -o out/test/aarch64/shuffle-sections/exe1 out/test/aarch64/shuffle-sections/a.o out/test/aarch64/shuffle-sections/b.o 219: + cc -B. -o out/test/aarch64/start-stop-symbol/exe out/test/aarch64/start-stop-symbol/c.o out/test/aarch64/start-stop-symbol/b.a -218: + cc -o out/test/aarch64/start-lib/c.o -c -xc - -218: + cat -214: + grep -q 'Hello world' -214: + out/test/aarch64/shuffle-sections-seed/exe1 -206: + grep -q mold +221: + cat +211: + gdb out/test/aarch64/separate-debug-file/exe1 -ex 'list main' -ex quit +221: + cc -o out/test/aarch64/static-archive/b.o -c -xc - 220: + grep -q __start_text -206: + ./mold -run out/test/aarch64/run/sh out/test/aarch64/run/ld.lld --version 220: + readelf -sW out/test/aarch64/start-stop/exe1 +218: + cc -B. -o out/test/aarch64/start-lib/exe -Wl,-start-lib out/test/aarch64/start-lib/a.o -Wl,-end-lib out/test/aarch64/start-lib/b.o out/test/aarch64/start-lib/c.o +214: + out/test/aarch64/shuffle-sections-seed/exe1 +214: + grep -q 'Hello world' 214: + cc -B. -o out/test/aarch64/shuffle-sections-seed/exe2 out/test/aarch64/shuffle-sections-seed/a.o out/test/aarch64/shuffle-sections-seed/b.o -Wl,-shuffle-sections=42 +212: + out/test/aarch64/shared-abs-sym/exe2 +212: + grep -q foo=0x3 +212: + cp out/test/aarch64/shared-abs-sym/b.so out/test/aarch64/shared-abs-sym/c.so 220: + readelf -sW out/test/aarch64/start-stop/exe1 220: + grep -q __stop_text -217: + grep -q 'Hello world' -217: + out/test/aarch64/spare-program-headers/exe2 -221: + cc -o out/test/aarch64/static-archive/c.o -c -xc - 220: + on_exit 220: + echo OK 220: OK 220: + exit 0 -221: + cat -210/336 Test #220: aarch64-start-stop ....................................... Passed 0.10 sec +210/336 Test #220: aarch64-start-stop ....................................... Passed 0.25 sec test 222 Start 222: aarch64-static-pie @@ -17306,8 +17345,24 @@ 222: MACHINE=aarch64 222: CPU= 222: Test timeout computed to be: 1500 -217: ++ readelf -Wl out/test/aarch64/spare-program-headers/exe2 -217: ++ wc -l +212: + grep -q foo=0x5 +212: + out/test/aarch64/shared-abs-sym/exe1 +212: + on_exit +212: + echo OK +212: OK +212: + exit 0 +211/336 Test #212: aarch64-shared-abs-sym ................................... Passed 0.84 sec +test 223 + Start 223: aarch64-stdout + +223: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/stdout.sh" +223: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +223: Environment variables: +223: MACHINE=aarch64 +223: CPU= +223: Test timeout computed to be: 1500 +217: + grep -q 'Hello world' +217: + out/test/aarch64/spare-program-headers/exe2 222: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/static-pie.sh 222: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 222: ++ export LC_ALL=C @@ -17325,56 +17380,8 @@ 222: ++ QEMU= 222: ++ case $MACHINE in 222: ++ tlsdesc_opt=-mtls-dialect=desc -222: +++ uname -222: ++ '[' Linux = FreeBSD ']' -222: ++ trap 'on_error $LINENO' ERR -222: ++ trap on_exit EXIT -222: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/static-pie.sh .sh -222: ++ testname=static-pie -222: ++ echo -n 'Testing static-pie ... ' -222: Testing static-pie ... ++ t=out/test/aarch64/static-pie -222: ++ mkdir -p out/test/aarch64/static-pie -217: ++ grep NULL -222: ++ set -x -222: + test_cflags -static-pie -206: + ./mold -run out/test/aarch64/run/sh out/test/aarch64/run/ld.gold --version -206: + grep -q mold -215: + cc -B. -o out/test/aarch64/shuffle-sections/exe1 out/test/aarch64/shuffle-sections/a.o out/test/aarch64/shuffle-sections/b.o -218: + cc -B. -o out/test/aarch64/start-lib/exe -Wl,-start-lib out/test/aarch64/start-lib/a.o -Wl,-end-lib out/test/aarch64/start-lib/b.o out/test/aarch64/start-lib/c.o -222: + cc -B. -static-pie -o /dev/null -xc - -217: + '[' 0 -eq 0 ']' -217: + cc -B. -o out/test/aarch64/spare-program-headers/exe3 out/test/aarch64/spare-program-headers/a.o -Wl,--spare-program-headers=1 -222: + echo 'int main() {}' -221: + rm -f out/test/aarch64/static-archive/d.a -219: + out/test/aarch64/start-stop-symbol/exe -219: + grep -q 'section foo section foo' -214: + grep -q 'Hello world' -221: + cd out/test/aarch64/static-archive -221: + ar rcs d.a long-long-long-filename.o b.o -214: + out/test/aarch64/shuffle-sections-seed/exe2 -219: + cc -B. -o out/test/aarch64/start-stop-symbol/exe out/test/aarch64/start-stop-symbol/c.o out/test/aarch64/start-stop-symbol/b.a -Wl,-gc-sections -214: + cc -B. -o out/test/aarch64/shuffle-sections-seed/exe3 out/test/aarch64/shuffle-sections-seed/a.o out/test/aarch64/shuffle-sections-seed/b.o -Wl,-shuffle-sections=42 -221: + cc -B. -Wl,--trace -o out/test/aarch64/static-archive/exe out/test/aarch64/static-archive/c.o out/test/aarch64/static-archive/d.a -206: + ./mold -run out/test/aarch64/run/sh out/test/aarch64/run/foo.ld --version -206: + grep -q mold -217: + grep -q 'Hello world' -217: + out/test/aarch64/spare-program-headers/exe3 -206: + on_exit -206: + echo OK -206: OK -206: + exit 0 -211/336 Test #206: aarch64-run .............................................. Passed 0.56 sec -test 223 - Start 223: aarch64-stdout - -223: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/stdout.sh" -223: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -223: Environment variables: -223: MACHINE=aarch64 -223: CPU= -223: Test timeout computed to be: 1500 -215: + grep -q 'Hello world' 215: + out/test/aarch64/shuffle-sections/exe1 +215: + grep -q 'Hello world' 223: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/stdout.sh 223: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 223: ++ export LC_ALL=C @@ -17392,36 +17399,41 @@ 223: ++ QEMU= 223: ++ case $MACHINE in 223: ++ tlsdesc_opt=-mtls-dialect=desc -217: ++ readelf -Wl out/test/aarch64/spare-program-headers/exe3 -217: ++ grep NULL -217: ++ wc -l -215: + cc -B. -o out/test/aarch64/shuffle-sections/exe2 out/test/aarch64/shuffle-sections/a.o out/test/aarch64/shuffle-sections/b.o -Wl,-shuffle-sections -217: + '[' 1 -eq 1 ']' -217: + cc -B. -o out/test/aarch64/spare-program-headers/exe4 out/test/aarch64/spare-program-headers/a.o -Wl,--spare-program-headers=5 -221: + grep -Fq 'static-archive/d.a(long-long-long-filename.o)' out/test/aarch64/static-archive/log 223: +++ uname +221: + cc -o out/test/aarch64/static-archive/c.o -c -xc - 223: ++ '[' Linux = FreeBSD ']' 223: ++ trap 'on_error $LINENO' ERR 223: ++ trap on_exit EXIT -221: + grep -Fq 'static-archive/d.a(b.o)' out/test/aarch64/static-archive/log -221: + grep -Fq static-archive/c.o out/test/aarch64/static-archive/log +215: + cc -B. -o out/test/aarch64/shuffle-sections/exe2 out/test/aarch64/shuffle-sections/a.o out/test/aarch64/shuffle-sections/b.o -Wl,-shuffle-sections 223: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/stdout.sh .sh 223: ++ testname=stdout 223: ++ echo -n 'Testing stdout ... ' 223: Testing stdout ... ++ t=out/test/aarch64/stdout 223: ++ mkdir -p out/test/aarch64/stdout 223: ++ set -x +223: + cc -o out/test/aarch64/stdout/a.o -c -xc - 223: + cat -221: + grep -q 8 +222: +++ uname +221: + cat +222: ++ '[' Linux = FreeBSD ']' +222: ++ trap 'on_error $LINENO' ERR +222: ++ trap on_exit EXIT +218: + nm out/test/aarch64/start-lib/exe +217: ++ grep NULL +222: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/static-pie.sh .sh +222: ++ testname=static-pie +222: ++ echo -n 'Testing static-pie ... ' +222: Testing static-pie ... ++ t=out/test/aarch64/static-pie +222: ++ mkdir -p out/test/aarch64/static-pie +218: + grep -q ' foo$' out/test/aarch64/start-lib/log 214: + grep -q 'Hello world' -214: + out/test/aarch64/shuffle-sections-seed/exe3 -214: + cc -B. -o out/test/aarch64/shuffle-sections-seed/exe4 out/test/aarch64/shuffle-sections-seed/a.o out/test/aarch64/shuffle-sections-seed/b.o -Wl,-shuffle-sections=5 -221: + out/test/aarch64/static-archive/exe -221: + on_exit -221: + echo OK -221: OK -221: + exit 0 -212/336 Test #221: aarch64-static-archive ................................... Passed 0.18 sec +214: + out/test/aarch64/shuffle-sections-seed/exe2 +218: + grep -q ' bar$' out/test/aarch64/start-lib/log +218: + on_exit +218: + echo OK +218: OK +218: + exit 0 +212/336 Test #218: aarch64-start-lib ........................................ Passed 0.45 sec test 224 Start 224: aarch64-strip-debug @@ -17431,6 +17443,10 @@ 224: MACHINE=aarch64 224: CPU= 224: Test timeout computed to be: 1500 +217: ++ wc -l +214: + cc -B. -o out/test/aarch64/shuffle-sections-seed/exe3 out/test/aarch64/shuffle-sections-seed/a.o out/test/aarch64/shuffle-sections-seed/b.o -Wl,-shuffle-sections=42 +217: ++ readelf -Wl out/test/aarch64/spare-program-headers/exe2 +219: + out/test/aarch64/start-stop-symbol/exe 224: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/strip-debug.sh 224: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 224: ++ export LC_ALL=C @@ -17448,30 +17464,36 @@ 224: ++ QEMU= 224: ++ case $MACHINE in 224: ++ tlsdesc_opt=-mtls-dialect=desc +222: ++ set -x +222: + test_cflags -static-pie +217: + '[' 0 -eq 0 ']' +217: + cc -B. -o out/test/aarch64/spare-program-headers/exe3 out/test/aarch64/spare-program-headers/a.o -Wl,--spare-program-headers=1 +219: + grep -q 'section foo section foo' +219: + cc -B. -o out/test/aarch64/start-stop-symbol/exe out/test/aarch64/start-stop-symbol/c.o out/test/aarch64/start-stop-symbol/b.a -Wl,-gc-sections 224: +++ uname 224: ++ '[' Linux = FreeBSD ']' 224: ++ trap 'on_error $LINENO' ERR 224: ++ trap on_exit EXIT +222: + echo 'int main() {}' +222: + cc -B. -static-pie -o /dev/null -xc - 224: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/strip-debug.sh .sh 224: ++ testname=strip-debug 224: ++ echo -n 'Testing strip-debug ... ' 224: Testing strip-debug ... ++ t=out/test/aarch64/strip-debug 224: ++ mkdir -p out/test/aarch64/strip-debug -223: + cc -o out/test/aarch64/stdout/a.o -c -xc - -215: + grep -q 'Hello world' -215: + out/test/aarch64/shuffle-sections/exe2 -222: + cat -222: + cc -o out/test/aarch64/static-pie/a.o -c -xc - -fPIE -215: + diff out/test/aarch64/shuffle-sections/exe1 out/test/aarch64/shuffle-sections/exe2 -218: + nm out/test/aarch64/start-lib/exe +221: + rm -f out/test/aarch64/static-archive/d.a 224: ++ set -x +224: + cc -o out/test/aarch64/strip-debug/a.o -c -xc - -g 224: + cat +215: + out/test/aarch64/shuffle-sections/exe2 +215: + grep -q 'Hello world' +215: + diff out/test/aarch64/shuffle-sections/exe1 out/test/aarch64/shuffle-sections/exe2 +223: + cc -B. -Wl,-build-id=sha1 out/test/aarch64/stdout/a.o -o - 215: + on_exit 215: + echo OK 215: OK 215: + exit 0 -217: + out/test/aarch64/spare-program-headers/exe4 -213/336 Test #215: aarch64-shuffle-sections ................................. Passed 0.42 sec +213/336 Test #215: aarch64-shuffle-sections ................................. Passed 0.86 sec test 225 Start 225: aarch64-strip @@ -17481,9 +17503,12 @@ 225: MACHINE=aarch64 225: CPU= 225: Test timeout computed to be: 1500 -217: + grep -q 'Hello world' -224: + cc -o out/test/aarch64/strip-debug/a.o -c -xc - -g -218: + grep -q ' foo$' out/test/aarch64/start-lib/log +221: + cd out/test/aarch64/static-archive +221: + ar rcs d.a long-long-long-filename.o b.o +221: + cc -B. -Wl,--trace -o out/test/aarch64/static-archive/exe out/test/aarch64/static-archive/c.o out/test/aarch64/static-archive/d.a +214: + out/test/aarch64/shuffle-sections-seed/exe3 +214: + grep -q 'Hello world' +214: + cc -B. -o out/test/aarch64/shuffle-sections-seed/exe4 out/test/aarch64/shuffle-sections-seed/a.o out/test/aarch64/shuffle-sections-seed/b.o -Wl,-shuffle-sections=5 225: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/strip.sh 225: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 225: ++ export LC_ALL=C @@ -17501,34 +17526,19 @@ 225: ++ QEMU= 225: ++ case $MACHINE in 225: ++ tlsdesc_opt=-mtls-dialect=desc +219: + out/test/aarch64/start-stop-symbol/exe +217: + grep -q 'Hello world' +217: + out/test/aarch64/spare-program-headers/exe3 +219: + grep -q 'section foo section foo' +219: + on_exit +219: + echo OK +219: OK +219: + exit 0 225: +++ uname 225: ++ '[' Linux = FreeBSD ']' 225: ++ trap 'on_error $LINENO' ERR 225: ++ trap on_exit EXIT -225: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/strip.sh .sh -218: + grep -q ' bar$' out/test/aarch64/start-lib/log -225: ++ testname=strip -225: ++ echo -n 'Testing strip ... ' -225: Testing strip ... ++ t=out/test/aarch64/strip -225: ++ mkdir -p out/test/aarch64/strip -217: ++ readelf -Wl out/test/aarch64/spare-program-headers/exe4 -225: ++ set -x -217: ++ grep NULL -217: ++ wc -l -217: + '[' 5 -eq 5 ']' -225: + cc -x assembler -c -o out/test/aarch64/strip/a.o -Wa,-L - -225: + cat -217: + on_exit -217: + echo OK -217: OK -217: + exit 0 -218: + on_exit -218: + echo OK -218: OK -218: + exit 0 -219: + out/test/aarch64/start-stop-symbol/exe -214/336 Test #217: aarch64-spare-program-headers ............................ Passed 0.32 sec -215/336 Test #218: aarch64-start-lib ........................................ Passed 0.25 sec +214/336 Test #219: aarch64-start-stop-symbol ................................ Passed 0.52 sec test 226 Start 226: aarch64-stt-common @@ -17538,6 +17548,27 @@ 226: MACHINE=aarch64 226: CPU= 226: Test timeout computed to be: 1500 +223: + chmod 755 out/test/aarch64/stdout/exe +223: + out/test/aarch64/stdout/exe +217: ++ grep NULL +217: ++ wc -l +217: ++ readelf -Wl out/test/aarch64/spare-program-headers/exe3 +225: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/strip.sh .sh +225: ++ testname=strip +225: ++ echo -n 'Testing strip ... ' +225: Testing strip ... ++ t=out/test/aarch64/strip +225: ++ mkdir -p out/test/aarch64/strip +224: + cc -B. -o out/test/aarch64/strip-debug/exe out/test/aarch64/strip-debug/a.o -Wl,--strip-debug +217: + '[' 1 -eq 1 ']' +217: + cc -B. -o out/test/aarch64/spare-program-headers/exe4 out/test/aarch64/spare-program-headers/a.o -Wl,--spare-program-headers=5 +223: + grep -q 'Hello world' +226: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/stt-common.sh +225: ++ set -x +223: + on_exit +223: + echo OK +223: OK +223: + exit 0 +215/336 Test #223: aarch64-stdout ........................................... Passed 0.24 sec test 227 Start 227: aarch64-symbol-rank @@ -17547,37 +17578,6 @@ 227: MACHINE=aarch64 227: CPU= 227: Test timeout computed to be: 1500 -225: + ./mold -o out/test/aarch64/strip/exe out/test/aarch64/strip/a.o -225: + readelf --symbols out/test/aarch64/strip/exe -225: + grep -Fq _start out/test/aarch64/strip/log -219: + grep -q 'section foo section foo' -219: + on_exit -219: + echo OK -219: OK -219: + exit 0 -223: + cc -B. -Wl,-build-id=sha1 out/test/aarch64/stdout/a.o -o - -214: + grep -q 'Hello world' -214: + out/test/aarch64/shuffle-sections-seed/exe4 -214: + diff out/test/aarch64/shuffle-sections-seed/exe1 out/test/aarch64/shuffle-sections-seed/exe2 -214: + diff out/test/aarch64/shuffle-sections-seed/exe2 out/test/aarch64/shuffle-sections-seed/exe3 -222: + cc -B. -o out/test/aarch64/static-pie/exe1 out/test/aarch64/static-pie/a.o -static-pie -226: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/stt-common.sh -216/336 Test #219: aarch64-start-stop-symbol ................................ Passed 0.25 sec -test 228 - Start 228: aarch64-symbol-version-lto - -228: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/symbol-version-lto.sh" -228: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -228: Environment variables: -228: MACHINE=aarch64 -228: CPU= -228: Test timeout computed to be: 1500 -225: + grep -Fq foo out/test/aarch64/strip/log -214: + diff out/test/aarch64/shuffle-sections-seed/exe3 out/test/aarch64/shuffle-sections-seed/exe4 -214: + on_exit -214: + echo OK -214: OK -214: + exit 0 226: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 226: ++ export LC_ALL=C 226: ++ LC_ALL=C @@ -17594,17 +17594,13 @@ 226: ++ QEMU= 226: ++ case $MACHINE in 226: ++ tlsdesc_opt=-mtls-dialect=desc +225: + cat +225: + cc -x assembler -c -o out/test/aarch64/strip/a.o -Wa,-L - +226: +++ uname +226: ++ '[' Linux = FreeBSD ']' +226: ++ trap 'on_error $LINENO' ERR +226: ++ trap on_exit EXIT 227: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/symbol-rank.sh -217/336 Test #214: aarch64-shuffle-sections-seed ............................ Passed 0.47 sec -test 229 - Start 229: aarch64-symbol-version - -229: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/symbol-version.sh" -229: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -229: Environment variables: -229: MACHINE=aarch64 -229: CPU= -229: Test timeout computed to be: 1500 227: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 227: ++ export LC_ALL=C 227: ++ LC_ALL=C @@ -17621,16 +17617,80 @@ 227: ++ QEMU= 227: ++ case $MACHINE in 227: ++ tlsdesc_opt=-mtls-dialect=desc +221: + grep -Fq 'static-archive/d.a(long-long-long-filename.o)' out/test/aarch64/static-archive/log 227: +++ uname 227: ++ '[' Linux = FreeBSD ']' 227: ++ trap 'on_error $LINENO' ERR 227: ++ trap on_exit EXIT +225: + ./mold -o out/test/aarch64/strip/exe out/test/aarch64/strip/a.o +222: + cc -o out/test/aarch64/static-pie/a.o -c -xc - -fPIE +222: + cat +226: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/stt-common.sh .sh 227: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/symbol-rank.sh .sh 227: ++ testname=symbol-rank 227: ++ echo -n 'Testing symbol-rank ... ' 227: Testing symbol-rank ... ++ t=out/test/aarch64/symbol-rank 227: ++ mkdir -p out/test/aarch64/symbol-rank +226: ++ testname=stt-common +226: ++ echo -n 'Testing stt-common ... ' +226: Testing stt-common ... ++ t=out/test/aarch64/stt-common +226: ++ mkdir -p out/test/aarch64/stt-common +221: + grep -Fq 'static-archive/d.a(b.o)' out/test/aarch64/static-archive/log +227: ++ set -x +226: ++ set -x +225: + readelf --symbols out/test/aarch64/strip/exe +227: + cat +227: + cc -o out/test/aarch64/symbol-rank/a.o -c -xc - +221: + grep -Fq static-archive/c.o out/test/aarch64/static-archive/log +224: + readelf -W --sections out/test/aarch64/strip-debug/exe +214: + grep -q 'Hello world' +226: + cc -fcommon -xc -c -o out/test/aarch64/stt-common/a.o - -Wa,--elf-stt-common=yes +226: + cat +214: + out/test/aarch64/shuffle-sections-seed/exe4 +225: + grep -Fq _start out/test/aarch64/strip/log +214: + diff out/test/aarch64/shuffle-sections-seed/exe1 out/test/aarch64/shuffle-sections-seed/exe2 +224: + grep -Fq .debug_info out/test/aarch64/strip-debug/log +221: + grep -q 8 +221: + out/test/aarch64/static-archive/exe +221: + on_exit +221: + echo OK +221: OK +221: + exit 0 +225: + grep -Fq foo out/test/aarch64/strip/log +214: + diff out/test/aarch64/shuffle-sections-seed/exe2 out/test/aarch64/shuffle-sections-seed/exe3 +216/336 Test #221: aarch64-static-archive ................................... Passed 0.58 sec +test 228 + Start 228: aarch64-symbol-version-lto + +228: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/symbol-version-lto.sh" +228: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +228: Environment variables: +228: MACHINE=aarch64 +228: CPU= +228: Test timeout computed to be: 1500 +225: + grep -Fq bar out/test/aarch64/strip/log +217: + out/test/aarch64/spare-program-headers/exe4 +224: + grep -q ' bar' +224: + readelf -W --symbols out/test/aarch64/strip-debug/exe +214: + diff out/test/aarch64/shuffle-sections-seed/exe3 out/test/aarch64/shuffle-sections-seed/exe4 +224: + on_exit +224: + echo OK +224: OK +224: + exit 0 +227: + cat +227: + cc -o out/test/aarch64/symbol-rank/b.o -c -xc - -fcommon +217: + grep -q 'Hello world' 228: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/symbol-version-lto.sh +217/336 Test #224: aarch64-strip-debug ...................................... Passed 0.30 sec +test 229 + Start 229: aarch64-symbol-version + +229: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/symbol-version.sh" +229: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +229: Environment variables: +229: MACHINE=aarch64 +229: CPU= +229: Test timeout computed to be: 1500 228: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 228: ++ export LC_ALL=C 228: ++ LC_ALL=C @@ -17647,20 +17707,47 @@ 228: ++ QEMU= 228: ++ case $MACHINE in 228: ++ tlsdesc_opt=-mtls-dialect=desc -225: + grep -Fq bar out/test/aarch64/strip/log -226: +++ uname -226: ++ '[' Linux = FreeBSD ']' -225: + [[ aarch64 != riscv* ]] -225: + [[ aarch64 != loongarch* ]] -225: + grep -Fq .L.baz out/test/aarch64/strip/log -226: ++ trap 'on_error $LINENO' ERR -226: ++ trap on_exit EXIT -224: + cc -B. -o out/test/aarch64/strip-debug/exe out/test/aarch64/strip-debug/a.o -Wl,--strip-debug 228: +++ uname -229: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/symbol-version.sh 228: ++ '[' Linux = FreeBSD ']' 228: ++ trap 'on_error $LINENO' ERR 228: ++ trap on_exit EXIT +214: + on_exit +214: + echo OK +214: OK +214: + exit 0 +226: + cat +226: + cc -fcommon -xc -c -o out/test/aarch64/stt-common/b.o - -Wa,--elf-stt-common=yes +222: + cc -B. -o out/test/aarch64/static-pie/exe1 out/test/aarch64/static-pie/a.o -static-pie +225: + [[ aarch64 != riscv* ]] +225: + [[ aarch64 != loongarch* ]] +225: + grep -Fq .L.baz out/test/aarch64/strip/log +217: ++ readelf -Wl out/test/aarch64/spare-program-headers/exe4 +217: ++ wc -l +217: ++ grep NULL +218/336 Test #214: aarch64-shuffle-sections-seed ............................ Passed 1.11 sec +test 230 + Start 230: aarch64-symbol-version2 + +230: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/symbol-version2.sh" +230: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +230: Environment variables: +230: MACHINE=aarch64 +230: CPU= +230: Test timeout computed to be: 1500 +228: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/symbol-version-lto.sh .sh +228: ++ testname=symbol-version-lto +228: ++ echo -n 'Testing symbol-version-lto ... ' +228: Testing symbol-version-lto ... ++ t=out/test/aarch64/symbol-version-lto +228: ++ mkdir -p out/test/aarch64/symbol-version-lto +228: ++ set -x +228: + test_cflags -flto +225: + ./mold -o out/test/aarch64/strip/exe out/test/aarch64/strip/a.o -strip-all +217: + '[' 5 -eq 5 ']' +217: + on_exit +217: + echo OK +217: OK +217: + exit 0 +229: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/symbol-version.sh 229: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 229: ++ export LC_ALL=C 229: ++ LC_ALL=C @@ -17677,60 +17764,23 @@ 229: ++ QEMU= 229: ++ case $MACHINE in 229: ++ tlsdesc_opt=-mtls-dialect=desc -228: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/symbol-version-lto.sh .sh 229: +++ uname -229: ++ '[' Linux = FreeBSD ']' -229: ++ trap 'on_error $LINENO' ERR -228: ++ testname=symbol-version-lto -228: ++ echo -n 'Testing symbol-version-lto ... ' -228: Testing symbol-version-lto ... ++ t=out/test/aarch64/symbol-version-lto -228: ++ mkdir -p out/test/aarch64/symbol-version-lto -229: ++ trap on_exit EXIT -227: ++ set -x -229: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/symbol-version.sh .sh -227: + cat -229: ++ testname=symbol-version -229: ++ echo -n 'Testing symbol-version ... ' -229: Testing symbol-version ... ++ t=out/test/aarch64/symbol-version -229: ++ mkdir -p out/test/aarch64/symbol-version -228: ++ set -x -228: + test_cflags -flto -227: + cc -o out/test/aarch64/symbol-rank/a.o -c -xc - +219/336 Test #217: aarch64-spare-program-headers ............................ Passed 0.87 sec +test 231 + Start 231: aarch64-symbol-version3 + +231: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/symbol-version3.sh" +231: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +231: Environment variables: +231: MACHINE=aarch64 +231: CPU= +231: Test timeout computed to be: 1500 228: + echo 'int main() {}' 228: + cc -B. -flto -o /dev/null -xc - -225: + ./mold -o out/test/aarch64/strip/exe out/test/aarch64/strip/a.o -strip-all -229: ++ set -x -229: + cc -fPIC -c -o out/test/aarch64/symbol-version/a.o -xc - -226: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/stt-common.sh .sh -226: ++ testname=stt-common -226: ++ echo -n 'Testing stt-common ... ' -226: Testing stt-common ... ++ t=out/test/aarch64/stt-common -226: ++ mkdir -p out/test/aarch64/stt-common -229: + cat 225: + readelf --symbols out/test/aarch64/strip/exe -225: + grep -Fq _start out/test/aarch64/strip/log -225: + grep -Fq foo out/test/aarch64/strip/log -225: + grep -Fq bar out/test/aarch64/strip/log -223: + chmod 755 out/test/aarch64/stdout/exe -225: + [[ aarch64 != riscv* ]] -225: + [[ aarch64 != loongarch* ]] -225: + grep -Fq .L.baz out/test/aarch64/strip/log -225: + on_exit -225: + echo OK -225: OK -225: + exit 0 -218/336 Test #225: aarch64-strip ............................................ Passed 0.08 sec -test 230 - Start 230: aarch64-symbol-version2 - -230: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/symbol-version2.sh" -230: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -230: Environment variables: -230: MACHINE=aarch64 -230: CPU= -230: Test timeout computed to be: 1500 -191: + cat -191: + cc -c -xc -o out/test/aarch64/relocatable-many-sections/b.o - +229: ++ '[' Linux = FreeBSD ']' +229: ++ trap 'on_error $LINENO' ERR +229: ++ trap on_exit EXIT 230: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/symbol-version2.sh 230: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 230: ++ export LC_ALL=C @@ -17748,43 +17798,21 @@ 230: ++ QEMU= 230: ++ case $MACHINE in 230: ++ tlsdesc_opt=-mtls-dialect=desc -226: ++ set -x -223: + grep -q 'Hello world' -229: + echo 'VER1 { local: *; }; VER2 { local: *; }; VER3 { local: *; };' -229: + cc -B. -shared -o out/test/aarch64/symbol-version/c.so out/test/aarch64/symbol-version/a.o -Wl,--version-script=out/test/aarch64/symbol-version/b.ver -226: + cat -226: + cc -fcommon -xc -c -o out/test/aarch64/stt-common/a.o - -Wa,--elf-stt-common=yes 230: +++ uname 230: ++ '[' Linux = FreeBSD ']' 230: ++ trap 'on_error $LINENO' ERR 230: ++ trap on_exit EXIT -223: + out/test/aarch64/stdout/exe -223: + on_exit -223: + echo OK -223: OK -223: + exit 0 -224: + readelf -W --sections out/test/aarch64/strip-debug/exe -219/336 Test #223: aarch64-stdout ........................................... Passed 0.16 sec -test 231 - Start 231: aarch64-symbol-version3 - -231: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/symbol-version3.sh" -231: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -231: Environment variables: -231: MACHINE=aarch64 -231: CPU= -231: Test timeout computed to be: 1500 -227: + cat -227: + cc -o out/test/aarch64/symbol-rank/b.o -c -xc - -fcommon -230: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/symbol-version2.sh .sh -230: ++ testname=symbol-version2 -230: ++ echo -n 'Testing symbol-version2 ... ' -230: Testing symbol-version2 ... ++ t=out/test/aarch64/symbol-version2 -230: ++ mkdir -p out/test/aarch64/symbol-version2 +229: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/symbol-version.sh .sh +229: ++ testname=symbol-version +229: ++ echo -n 'Testing symbol-version ... ' +229: Testing symbol-version ... ++ t=out/test/aarch64/symbol-version +229: ++ mkdir -p out/test/aarch64/symbol-version 231: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/symbol-version3.sh +227: + cc -o out/test/aarch64/symbol-rank/c.o -c -xc - 231: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 231: ++ export LC_ALL=C 231: ++ LC_ALL=C +225: + grep -Fq _start out/test/aarch64/strip/log 231: ++ '[' -z aarch64 ']' 231: ++ '[' -z '' ']' 231: ++ TESTDIR=out/test/aarch64 @@ -17798,37 +17826,39 @@ 231: ++ QEMU= 231: ++ case $MACHINE in 231: ++ tlsdesc_opt=-mtls-dialect=desc -224: + grep -Fq .debug_info out/test/aarch64/strip-debug/log +230: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/symbol-version2.sh .sh +229: ++ set -x +225: + grep -Fq foo out/test/aarch64/strip/log +230: ++ testname=symbol-version2 +230: ++ echo -n 'Testing symbol-version2 ... ' +230: Testing symbol-version2 ... ++ t=out/test/aarch64/symbol-version2 +230: ++ mkdir -p out/test/aarch64/symbol-version2 +211: + cc -c -o out/test/aarch64/separate-debug-file/a.o out/test/aarch64/separate-debug-file/a.c -g +226: + cc -B. -o out/test/aarch64/stt-common/exe out/test/aarch64/stt-common/a.o out/test/aarch64/stt-common/b.o -Wl,--fatal-warnings +229: + cc -fPIC -c -o out/test/aarch64/symbol-version/a.o -xc - 231: +++ uname -222: + grep -q 'Hello world' 230: ++ set -x -226: + cc -fcommon -xc -c -o out/test/aarch64/stt-common/b.o - -Wa,--elf-stt-common=yes +230: + cc -o out/test/aarch64/symbol-version2/a.o -c -xc - +230: + cat +227: + cat 231: ++ '[' Linux = FreeBSD ']' 231: ++ trap 'on_error $LINENO' ERR 231: ++ trap on_exit EXIT -226: + cat -230: + cat -224: + readelf -W --symbols out/test/aarch64/strip-debug/exe -224: + grep -q ' bar' +225: + grep -Fq bar out/test/aarch64/strip/log 231: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/symbol-version3.sh .sh -222: + out/test/aarch64/static-pie/exe1 +229: + cat +225: + [[ aarch64 != riscv* ]] +225: + [[ aarch64 != loongarch* ]] +225: + grep -Fq .L.baz out/test/aarch64/strip/log 231: ++ testname=symbol-version3 231: ++ echo -n 'Testing symbol-version3 ... ' 231: Testing symbol-version3 ... ++ t=out/test/aarch64/symbol-version3 231: ++ mkdir -p out/test/aarch64/symbol-version3 -231: ++ set -x -224: + on_exit -224: + echo OK -224: OK -224: + exit 0 -231: + cc -o out/test/aarch64/symbol-version3/a.o -c -xc - -231: + cat -230: + cc -o out/test/aarch64/symbol-version2/a.o -c -xc - -211: + cc -c -o out/test/aarch64/separate-debug-file/a.o out/test/aarch64/separate-debug-file/a.c -g -227: + cat -227: + cc -o out/test/aarch64/symbol-rank/c.o -c -xc - -222: + cc -B. -o out/test/aarch64/static-pie/exe2 out/test/aarch64/static-pie/a.o -static-pie -Wl,--no-relax -220/336 Test #224: aarch64-strip-debug ...................................... Passed 0.16 sec +225: + on_exit +225: + echo OK +225: OK +225: + exit 0 +220/336 Test #225: aarch64-strip ............................................ Passed 0.32 sec test 232 Start 232: aarch64-symbol-version4 @@ -17838,8 +17868,14 @@ 232: MACHINE=aarch64 232: CPU= 232: Test timeout computed to be: 1500 -229: + readelf --symbols out/test/aarch64/symbol-version/c.so -191: + ./mold -r -o out/test/aarch64/relocatable-many-sections/c.o out/test/aarch64/relocatable-many-sections/a.o out/test/aarch64/relocatable-many-sections/b.o +230: + cat +230: + cc -B. -o out/test/aarch64/symbol-version2/c.so -shared out/test/aarch64/symbol-version2/a.o -Wl,--version-script=out/test/aarch64/symbol-version2/b.version +231: ++ set -x +231: + cat +231: + cc -o out/test/aarch64/symbol-version3/a.o -c -xc - +227: + cc -o out/test/aarch64/symbol-rank/d.o -c -xc - -fcommon +227: + cat +222: + out/test/aarch64/static-pie/exe1 232: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/symbol-version4.sh 232: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 232: ++ export LC_ALL=C @@ -17857,9 +17893,12 @@ 232: ++ QEMU= 232: ++ case $MACHINE in 232: ++ tlsdesc_opt=-mtls-dialect=desc -229: + grep -Fq foo@VER1 out/test/aarch64/symbol-version/log -229: + grep -Fq foo@VER2 out/test/aarch64/symbol-version/log +222: + grep -q 'Hello world' +229: + echo 'VER1 { local: *; }; VER2 { local: *; }; VER3 { local: *; };' +229: + cc -B. -shared -o out/test/aarch64/symbol-version/c.so out/test/aarch64/symbol-version/a.o -Wl,--version-script=out/test/aarch64/symbol-version/b.ver 232: +++ uname +222: + cc -B. -o out/test/aarch64/static-pie/exe2 out/test/aarch64/static-pie/a.o -static-pie -Wl,--no-relax +211: + cc -B. -o out/test/aarch64/separate-debug-file/exe2 out/test/aarch64/separate-debug-file/a.o -Wl,--separate-debug-file -Wl,--no-build-id 232: ++ '[' Linux = FreeBSD ']' 232: ++ trap 'on_error $LINENO' ERR 232: ++ trap on_exit EXIT @@ -17868,22 +17907,31 @@ 232: ++ echo -n 'Testing symbol-version4 ... ' 232: Testing symbol-version4 ... ++ t=out/test/aarch64/symbol-version4 232: ++ mkdir -p out/test/aarch64/symbol-version4 -226: + cc -B. -o out/test/aarch64/stt-common/exe out/test/aarch64/stt-common/a.o out/test/aarch64/stt-common/b.o -Wl,--fatal-warnings -227: + cc -o out/test/aarch64/symbol-rank/d.o -c -xc - -fcommon -227: + cat 232: ++ set -x 232: + cc -o out/test/aarch64/symbol-version4/a.o -c -xc - -fPIC -232: + cat -230: + cat 231: + cat -230: + cc -B. -o out/test/aarch64/symbol-version2/c.so -shared out/test/aarch64/symbol-version2/a.o -Wl,--version-script=out/test/aarch64/symbol-version2/b.version -229: + grep -Fq foo@@VER3 out/test/aarch64/symbol-version/log +183: + sed 's/.*/void func&();/' +232: + cat +183: + seq 1 10000 +183: + echo 'int main() {' +227: + rm -f out/test/aarch64/symbol-rank/x.a +183: + sed 's/.*/func&();/' 231: + cc -B. -o out/test/aarch64/symbol-version3/c.so -shared out/test/aarch64/symbol-version3/a.o -Wl,--version-script=out/test/aarch64/symbol-version3/b.version -229: + on_exit -229: + echo OK -229: OK -229: + exit 0 -221/336 Test #229: aarch64-symbol-version ................................... Passed 0.15 sec +227: + ar rcs out/test/aarch64/symbol-rank/x.a out/test/aarch64/symbol-rank/a.o out/test/aarch64/symbol-rank/b.o out/test/aarch64/symbol-rank/c.o +183: + seq 1 10000 +226: + out/test/aarch64/stt-common/exe +183: + echo '}' +183: + cc -c -o out/test/aarch64/range-extension-thunk3/d.o out/test/aarch64/range-extension-thunk3/c.c +227: + cc -B. -o out/test/aarch64/symbol-rank/exe out/test/aarch64/symbol-rank/d.o out/test/aarch64/symbol-rank/x.a +226: + grep -q '0 5 42' +226: + readelf --sections out/test/aarch64/stt-common/exe +226: + grep -q '.common .*NOBITS' out/test/aarch64/stt-common/log +232: + cat +226: + on_exit +226: + echo OK +226: OK +226: + exit 0 +221/336 Test #226: aarch64-stt-common ....................................... Passed 0.37 sec test 233 Start 233: aarch64-symtab-dso @@ -17893,12 +17941,33 @@ 233: MACHINE=aarch64 233: CPU= 233: Test timeout computed to be: 1500 -227: + rm -f out/test/aarch64/symbol-rank/x.a -227: + ar rcs out/test/aarch64/symbol-rank/x.a out/test/aarch64/symbol-rank/a.o out/test/aarch64/symbol-rank/b.o out/test/aarch64/symbol-rank/c.o -227: + cc -B. -o out/test/aarch64/symbol-rank/exe out/test/aarch64/symbol-rank/d.o out/test/aarch64/symbol-rank/x.a -211: + cc -B. -o out/test/aarch64/separate-debug-file/exe2 out/test/aarch64/separate-debug-file/a.o -Wl,--separate-debug-file -Wl,--no-build-id -232: + cat +232: + cc -B. -o out/test/aarch64/symbol-version4/c.so -shared out/test/aarch64/symbol-version4/a.o -Wl,--version-script=out/test/aarch64/symbol-version4/b.version +230: + readelf -W --dyn-syms out/test/aarch64/symbol-version2/c.so +211: + readelf -SW out/test/aarch64/separate-debug-file/exe2 +230: + grep -q ' foo@TEST' out/test/aarch64/symbol-version2/log +230: + grep -q ' bar@TEST' out/test/aarch64/symbol-version2/log +211: + grep -Fq .gnu_debuglink +229: + readelf --symbols out/test/aarch64/symbol-version/c.so +211: + flock out/test/aarch64/separate-debug-file/exe2 true +230: + grep -q ' bar1' out/test/aarch64/symbol-version2/log +229: + grep -Fq foo@VER1 out/test/aarch64/symbol-version/log +229: + grep -Fq foo@VER2 out/test/aarch64/symbol-version/log +229: + grep -Fq foo@@VER3 out/test/aarch64/symbol-version/log +229: + on_exit +229: + echo OK +229: OK +229: + exit 0 233: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/symtab-dso.sh +222/336 Test #229: aarch64-symbol-version ................................... Passed 0.25 sec +test 234 + Start 234: aarch64-symtab-section-symbols + +234: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/symtab-section-symbols.sh" +234: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +234: Environment variables: +234: MACHINE=aarch64 +234: CPU= +234: Test timeout computed to be: 1500 233: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 233: ++ export LC_ALL=C 233: ++ LC_ALL=C @@ -17915,45 +17984,12 @@ 233: ++ QEMU= 233: ++ case $MACHINE in 233: ++ tlsdesc_opt=-mtls-dialect=desc -232: + cc -B. -o out/test/aarch64/symbol-version4/c.so -shared out/test/aarch64/symbol-version4/a.o -Wl,--version-script=out/test/aarch64/symbol-version4/b.version -233: +++ uname -233: ++ '[' Linux = FreeBSD ']' -233: ++ trap 'on_error $LINENO' ERR -233: ++ trap on_exit EXIT -233: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/symtab-dso.sh .sh -233: ++ testname=symtab-dso -233: ++ echo -n 'Testing symtab-dso ... ' -233: Testing symtab-dso ... ++ t=out/test/aarch64/symtab-dso -233: ++ mkdir -p out/test/aarch64/symtab-dso -226: + grep -q '0 5 42' -226: + out/test/aarch64/stt-common/exe -226: + readelf --sections out/test/aarch64/stt-common/exe -226: + grep -q '.common .*NOBITS' out/test/aarch64/stt-common/log -222: + out/test/aarch64/static-pie/exe2 -222: + grep -q 'Hello world' -222: + on_exit -222: + echo OK -222: OK -222: + exit 0 -222/336 Test #222: aarch64-static-pie ....................................... Passed 0.35 sec -test 234 - Start 234: aarch64-symtab-section-symbols - -234: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/symtab-section-symbols.sh" -234: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -234: Environment variables: -234: MACHINE=aarch64 -234: CPU= -234: Test timeout computed to be: 1500 -233: ++ set -x -233: + cat -233: + cc -o out/test/aarch64/symtab-dso/a.o -c -xc - -226: + on_exit -226: + echo OK -226: OK -226: + exit 0 -230: + readelf -W --dyn-syms out/test/aarch64/symbol-version2/c.so -223/336 Test #226: aarch64-stt-common ....................................... Passed 0.22 sec +230: + grep -q ' foo@@TEST' out/test/aarch64/symbol-version2/log +230: + on_exit +230: + echo OK +230: OK +230: + exit 0 +223/336 Test #230: aarch64-symbol-version2 .................................. Passed 0.24 sec test 235 Start 235: aarch64-symtab @@ -17963,6 +17999,17 @@ 235: MACHINE=aarch64 235: CPU= 235: Test timeout computed to be: 1500 +233: +++ uname +233: ++ '[' Linux = FreeBSD ']' +233: ++ trap 'on_error $LINENO' ERR +233: ++ trap on_exit EXIT +233: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/symtab-dso.sh .sh +233: ++ testname=symtab-dso +233: ++ echo -n 'Testing symtab-dso ... ' +233: Testing symtab-dso ... ++ t=out/test/aarch64/symtab-dso +233: ++ mkdir -p out/test/aarch64/symtab-dso +211: + gdb out/test/aarch64/separate-debug-file/exe2 -ex 'list main' -ex quit +211: + grep -Fq printf 234: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/symtab-section-symbols.sh 234: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 234: ++ export LC_ALL=C @@ -17980,10 +18027,20 @@ 234: ++ QEMU= 234: ++ case $MACHINE in 234: ++ tlsdesc_opt=-mtls-dialect=desc -230: + grep -q ' foo@TEST' out/test/aarch64/symbol-version2/log -230: + grep -q ' bar@TEST' out/test/aarch64/symbol-version2/log -235: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/symtab.sh +191: + cc -B. -o out/test/aarch64/relocatable-many-sections/exe out/test/aarch64/relocatable-many-sections/c.o +227: + grep -q '^0 0 0 5$' +234: +++ uname +231: + readelf -W --dyn-syms out/test/aarch64/symbol-version3/c.so 227: + out/test/aarch64/symbol-rank/exe +234: ++ '[' Linux = FreeBSD ']' +233: ++ set -x +234: ++ trap 'on_error $LINENO' ERR +234: ++ trap on_exit EXIT +227: + on_exit +227: + echo OK +227: OK +227: + exit 0 +235: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/symtab.sh 235: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 235: ++ export LC_ALL=C 235: ++ LC_ALL=C @@ -18000,17 +18057,8 @@ 235: ++ QEMU= 235: ++ case $MACHINE in 235: ++ tlsdesc_opt=-mtls-dialect=desc -230: + grep -q ' bar1' out/test/aarch64/symbol-version2/log -231: + readelf -W --dyn-syms out/test/aarch64/symbol-version3/c.so 235: +++ uname -227: + grep -q '^0 0 0 5$' -230: + grep -q ' foo@@TEST' out/test/aarch64/symbol-version2/log -227: + on_exit -227: + echo OK -227: OK -227: + exit 0 -235: ++ '[' Linux = FreeBSD ']' -224/336 Test #227: aarch64-symbol-rank ...................................... Passed 0.22 sec +224/336 Test #227: aarch64-symbol-rank ...................................... Passed 0.41 sec test 236 Start 236: aarch64-synthetic-symbols @@ -18020,42 +18068,30 @@ 236: MACHINE=aarch64 236: CPU= 236: Test timeout computed to be: 1500 +235: ++ '[' Linux = FreeBSD ']' 235: ++ trap 'on_error $LINENO' ERR 235: ++ trap on_exit EXIT 235: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/symtab.sh .sh -234: +++ uname -234: ++ '[' Linux = FreeBSD ']' -234: ++ trap 'on_error $LINENO' ERR -234: ++ trap on_exit EXIT 235: ++ testname=symtab 235: ++ echo -n 'Testing symtab ... ' 235: Testing symtab ... ++ t=out/test/aarch64/symtab 235: ++ mkdir -p out/test/aarch64/symtab -211: + grep -Fq .gnu_debuglink +235: ++ set -x +233: + cat +233: + cc -o out/test/aarch64/symtab-dso/a.o -c -xc - 234: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/symtab-section-symbols.sh .sh 234: ++ testname=symtab-section-symbols 234: ++ echo -n 'Testing symtab-section-symbols ... ' 234: Testing symtab-section-symbols ... ++ t=out/test/aarch64/symtab-section-symbols 234: ++ mkdir -p out/test/aarch64/symtab-section-symbols -211: + readelf -SW out/test/aarch64/separate-debug-file/exe2 234: ++ set -x -230: + on_exit -230: + echo OK -230: OK -230: + exit 0 231: + grep -q ' foo@@TEST1' out/test/aarch64/symbol-version3/log -225/336 Test #230: aarch64-symbol-version2 .................................. Passed 0.18 sec -test 237 - Start 237: aarch64-sysroot-linker-script - -237: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/sysroot-linker-script.sh" -237: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -237: Environment variables: -237: MACHINE=aarch64 -237: CPU= -237: Test timeout computed to be: 1500 234: + cat +231: + grep -q ' foo@TEST2' out/test/aarch64/symbol-version3/log +222: + out/test/aarch64/static-pie/exe2 234: + cc -o out/test/aarch64/symtab-section-symbols/a.o -c -xc - +235: + cat +235: + cc -o out/test/aarch64/symtab/a.o -c -x assembler - 236: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/synthetic-symbols.sh 236: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 236: ++ export LC_ALL=C @@ -18073,22 +18109,52 @@ 236: ++ QEMU= 236: ++ case $MACHINE in 236: ++ tlsdesc_opt=-mtls-dialect=desc +231: + grep -q ' foo@TEST3' out/test/aarch64/symbol-version3/log +222: + grep -q 'Hello world' +222: + on_exit +222: + echo OK +222: OK +222: + exit 0 +225/336 Test #222: aarch64-static-pie ....................................... Passed 0.73 sec +test 237 + Start 237: aarch64-sysroot-linker-script + +237: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/sysroot-linker-script.sh" +237: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +237: Environment variables: +237: MACHINE=aarch64 +237: CPU= +237: Test timeout computed to be: 1500 236: +++ uname 236: ++ '[' Linux = FreeBSD ']' 236: ++ trap 'on_error $LINENO' ERR 236: ++ trap on_exit EXIT -231: + grep -q ' foo@TEST2' out/test/aarch64/symbol-version3/log -231: + grep -q ' foo@TEST3' out/test/aarch64/symbol-version3/log -211: + flock out/test/aarch64/separate-debug-file/exe2 true -232: + cat -232: + cc -o out/test/aarch64/symbol-version4/d.o -c -xc - -fPIC -237: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/sysroot-linker-script.sh 236: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/synthetic-symbols.sh .sh -235: ++ set -x 236: ++ testname=synthetic-symbols 236: ++ echo -n 'Testing synthetic-symbols ... ' 236: Testing synthetic-symbols ... ++ t=out/test/aarch64/synthetic-symbols 236: ++ mkdir -p out/test/aarch64/synthetic-symbols +231: + grep -q ' foo$' out/test/aarch64/symbol-version3/log +235: + cat +236: ++ set -x +236: + cat +235: + cc -o out/test/aarch64/symtab/b.o -c -x assembler - +231: + on_exit +231: + echo OK +231: OK +231: + exit 0 +153: + readelf -WS out/test/aarch64/many-sections2/b.o +226/336 Test #231: aarch64-symbol-version3 .................................. Passed 0.32 sec +test 238 + Start 238: aarch64-sysroot + +238: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/sysroot.sh" +238: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +238: Environment variables: +238: MACHINE=aarch64 +238: CPU= +238: Test timeout computed to be: 1500 +237: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/sysroot-linker-script.sh 237: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 237: ++ export LC_ALL=C 237: ++ LC_ALL=C @@ -18105,30 +18171,24 @@ 237: ++ QEMU= 237: ++ case $MACHINE in 237: ++ tlsdesc_opt=-mtls-dialect=desc -231: + grep -q ' foo$' out/test/aarch64/symbol-version3/log -235: + cat -235: + cc -o out/test/aarch64/symtab/a.o -c -x assembler - -231: + on_exit -231: + echo OK -231: OK -231: + exit 0 -226/336 Test #231: aarch64-symbol-version3 .................................. Passed 0.16 sec -test 238 - Start 238: aarch64-sysroot - -238: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/sysroot.sh" -238: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -238: Environment variables: -238: MACHINE=aarch64 -238: CPU= -238: Test timeout computed to be: 1500 -211: + gdb out/test/aarch64/separate-debug-file/exe2 -ex 'list main' -ex quit -211: + grep -Fq printf -236: ++ set -x -235: + cat -235: + cc -o out/test/aarch64/symtab/b.o -c -x assembler - -236: + cat +237: +++ uname +237: ++ '[' Linux = FreeBSD ']' +237: ++ trap 'on_error $LINENO' ERR +237: ++ trap on_exit EXIT +237: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/sysroot-linker-script.sh .sh +237: ++ testname=sysroot-linker-script +237: ++ echo -n 'Testing sysroot-linker-script ... ' +237: Testing sysroot-linker-script ... ++ t=out/test/aarch64/sysroot-linker-script +237: ++ mkdir -p out/test/aarch64/sysroot-linker-script +235: + echo '{ local: module_local; global: *; };' +235: + ./mold -o out/test/aarch64/symtab/exe out/test/aarch64/symtab/a.o out/test/aarch64/symtab/b.o --version-script=out/test/aarch64/symtab/c.map +237: ++ set -x +237: + [[ aarch64 = loongarch* ]] +234: + cc -B. -o out/test/aarch64/symtab-section-symbols/exe out/test/aarch64/symtab-section-symbols/a.o 236: + cc -c -o out/test/aarch64/synthetic-symbols/a.o -xc - +233: + cc -B. -o out/test/aarch64/symtab-dso/exe out/test/aarch64/symtab-dso/a.o +237: + cat +237: + cc -o out/test/aarch64/sysroot-linker-script/a.o -c -xc - 238: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/sysroot.sh 238: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 238: ++ export LC_ALL=C @@ -18146,59 +18206,39 @@ 238: ++ QEMU= 238: ++ case $MACHINE in 238: ++ tlsdesc_opt=-mtls-dialect=desc -235: + echo '{ local: module_local; global: *; };' -235: + ./mold -o out/test/aarch64/symtab/exe out/test/aarch64/symtab/a.o out/test/aarch64/symtab/b.o --version-script=out/test/aarch64/symtab/c.map +235: mold: warning: entry symbol is not defined: _start +232: + cat +235: + readelf --symbols out/test/aarch64/symtab/exe 238: +++ uname +232: + cc -o out/test/aarch64/symbol-version4/d.o -c -xc - -fPIC 238: ++ '[' Linux = FreeBSD ']' 238: ++ trap 'on_error $LINENO' ERR 238: ++ trap on_exit EXIT +235: + grep -Eq '0 NOTYPE LOCAL DEFAULT .* local1' out/test/aarch64/symtab/log 238: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/sysroot.sh .sh -237: +++ uname -237: ++ '[' Linux = FreeBSD ']' -237: ++ trap 'on_error $LINENO' ERR -237: ++ trap on_exit EXIT 238: ++ testname=sysroot 238: ++ echo -n 'Testing sysroot ... ' 238: Testing sysroot ... ++ t=out/test/aarch64/sysroot 238: ++ mkdir -p out/test/aarch64/sysroot -237: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/sysroot-linker-script.sh .sh -237: ++ testname=sysroot-linker-script -237: ++ echo -n 'Testing sysroot-linker-script ... ' -237: Testing sysroot-linker-script ... ++ t=out/test/aarch64/sysroot-linker-script -237: ++ mkdir -p out/test/aarch64/sysroot-linker-script -228: + cc -fPIC -c -o out/test/aarch64/symbol-version-lto/a.o -xc - -flto -233: + cc -B. -o out/test/aarch64/symtab-dso/exe out/test/aarch64/symtab-dso/a.o -234: + cc -B. -o out/test/aarch64/symtab-section-symbols/exe out/test/aarch64/symtab-section-symbols/a.o -237: ++ set -x -237: + [[ aarch64 = loongarch* ]] -228: + cat +235: + grep -Eq '0 NOTYPE LOCAL DEFAULT .* local2' out/test/aarch64/symtab/log 238: ++ set -x 238: + [[ aarch64 = loongarch* ]] -238: + cc -c -o out/test/aarch64/sysroot/a.o -xc - -237: + cat -237: + cc -o out/test/aarch64/sysroot-linker-script/a.o -c -xc - +235: + grep -Eq '0 NOTYPE LOCAL DEFAULT .* module_local' out/test/aarch64/symtab/log 236: + cc -c -o out/test/aarch64/synthetic-symbols/b.o -xc - -236: + cat +238: + cc -c -o out/test/aarch64/sysroot/a.o -xc - 238: + cat -232: + cat -232: + cc -B. -o out/test/aarch64/symbol-version4/f.so -shared out/test/aarch64/symbol-version4/d.o out/test/aarch64/symbol-version4/c.so -Wl,--version-script=out/test/aarch64/symbol-version4/e.version -235: mold: warning: entry symbol is not defined: _start -235: + readelf --symbols out/test/aarch64/symtab/exe -235: + grep -Eq '0 NOTYPE LOCAL DEFAULT .* local1' out/test/aarch64/symtab/log -235: + grep -Eq '0 NOTYPE LOCAL DEFAULT .* local2' out/test/aarch64/symtab/log -235: + grep -Eq '0 NOTYPE LOCAL DEFAULT .* module_local' out/test/aarch64/symtab/log +236: + cat +237: + mkdir -p out/test/aarch64/sysroot-linker-script/foo/bar 235: + grep -Eq '0 NOTYPE GLOBAL DEFAULT .* foo' out/test/aarch64/symtab/log +191: + out/test/aarch64/relocatable-many-sections/exe +237: + rm -f out/test/aarch64/sysroot-linker-script/foo/bar/libfoo.a +191: + grep -q Hello +191: + on_exit +191: + echo OK +191: OK +191: + exit 0 235: + grep -Eq '0 NOTYPE GLOBAL DEFAULT .* bar' out/test/aarch64/symtab/log -183: + sed 's/.*/void func&();/' -235: + grep -Eq '0 NOTYPE GLOBAL DEFAULT .* this_is_global' out/test/aarch64/symtab/log -228: + echo 'VER1 { foo; };' -228: + cc -B. -shared -o out/test/aarch64/symbol-version-lto/c.so out/test/aarch64/symbol-version-lto/a.o -Wl,--version-script=out/test/aarch64/symbol-version-lto/b.ver -flto -183: + seq 1 10000 -235: + on_exit -235: + echo OK -235: OK -235: + exit 0 -227/336 Test #235: aarch64-symtab ........................................... Passed 0.08 sec +227/336 Test #191: aarch64-relocatable-many-sections ........................ Passed 3.28 sec test 239 Start 239: aarch64-sysroot2 @@ -18208,21 +18248,21 @@ 239: MACHINE=aarch64 239: CPU= 239: Test timeout computed to be: 1500 -237: + mkdir -p out/test/aarch64/sysroot-linker-script/foo/bar -183: + echo 'int main() {' -183: + sed 's/.*/func&();/' +235: + grep -Eq '0 NOTYPE GLOBAL DEFAULT .* this_is_global' out/test/aarch64/symtab/log +232: + cat +237: + ar rcs out/test/aarch64/sysroot-linker-script/foo/bar/libfoo.a out/test/aarch64/sysroot-linker-script/a.o +234: + grep -q 'SECTION LOCAL DEFAULT' +234: + readelf -s out/test/aarch64/symtab-section-symbols/exe 233: + nm out/test/aarch64/symtab-dso/exe -233: + grep -q 'U puts$' 238: + cat -237: + rm -f out/test/aarch64/sysroot-linker-script/foo/bar/libfoo.a 238: + cc -c -o out/test/aarch64/sysroot/b.o -xc - -183: + seq 1 10000 -237: + ar rcs out/test/aarch64/sysroot-linker-script/foo/bar/libfoo.a out/test/aarch64/sysroot-linker-script/a.o -233: + on_exit -233: + echo OK -233: OK -233: + exit 0 -228/336 Test #233: aarch64-symtab-dso ....................................... Passed 0.14 sec +239: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/sysroot2.sh +235: + on_exit +235: + echo OK +235: OK +235: + exit 0 +232: + cc -B. -o out/test/aarch64/symbol-version4/f.so -shared out/test/aarch64/symbol-version4/d.o out/test/aarch64/symbol-version4/c.so -Wl,--version-script=out/test/aarch64/symbol-version4/e.version +228/336 Test #235: aarch64-symtab ........................................... Passed 0.22 sec test 240 Start 240: aarch64-tail-call @@ -18232,16 +18272,39 @@ 240: MACHINE=aarch64 240: CPU= 240: Test timeout computed to be: 1500 -234: + readelf -s out/test/aarch64/symtab-section-symbols/exe -234: + grep -q 'SECTION LOCAL DEFAULT' +233: + grep -q 'U puts$' +233: + on_exit +233: + echo OK +233: OK +233: + exit 0 234: + on_exit 234: + echo OK 234: OK 234: + exit 0 -183: + echo '}' -183: + cc -c -o out/test/aarch64/range-extension-thunk3/d.o out/test/aarch64/range-extension-thunk3/c.c 237: + cat -229/336 Test #234: aarch64-symtab-section-symbols ........................... Passed 0.10 sec +237: + cc -o out/test/aarch64/sysroot-linker-script/c.o -c -xc - +239: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc +239: ++ export LC_ALL=C +239: ++ LC_ALL=C +239: ++ '[' -z aarch64 ']' +239: ++ '[' -z '' ']' +239: ++ TESTDIR=out/test/aarch64 +239: ++ CC=cc +239: ++ CXX=c++ +239: ++ GCC=gcc +239: ++ GXX=g++ +239: ++ OBJDUMP=objdump +239: ++ OBJCOPY=objcopy +239: ++ STRIP=strip +239: ++ QEMU= +239: ++ case $MACHINE in +239: ++ tlsdesc_opt=-mtls-dialect=desc +239: +++ uname +239: ++ '[' Linux = FreeBSD ']' +239: ++ trap 'on_error $LINENO' ERR +239: ++ trap on_exit EXIT +229/336 Test #233: aarch64-symtab-dso ....................................... Passed 0.29 sec +230/336 Test #234: aarch64-symtab-section-symbols ........................... Passed 0.26 sec test 241 Start 241: aarch64-tbss-only @@ -18251,7 +18314,26 @@ 241: MACHINE=aarch64 241: CPU= 241: Test timeout computed to be: 1500 +test 242 + Start 242: aarch64-thin-archive + +242: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/thin-archive.sh" +242: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +242: Environment variables: +242: MACHINE=aarch64 +242: CPU= +242: Test timeout computed to be: 1500 237: + cat +239: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/sysroot2.sh .sh +239: ++ testname=sysroot2 +239: ++ echo -n 'Testing sysroot2 ... ' +239: Testing sysroot2 ... ++ t=out/test/aarch64/sysroot2 +239: ++ mkdir -p out/test/aarch64/sysroot2 +239: ++ set -x +239: + [[ aarch64 = loongarch* ]] +239: + mkdir -p out/test/aarch64/sysroot2/bin out/test/aarch64/sysroot2/sysroot/foo +228: + cat +228: + cc -fPIC -c -o out/test/aarch64/symbol-version-lto/a.o -xc - -flto 240: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/tail-call.sh 240: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 240: ++ export LC_ALL=C @@ -18279,27 +18361,11 @@ 240: Testing tail-call ... ++ t=out/test/aarch64/tail-call 240: ++ mkdir -p out/test/aarch64/tail-call 240: ++ set -x -240: + cc -O2 -o out/test/aarch64/tail-call/a.o -c -xc - -240: + cat -239: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/sysroot2.sh -239: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc -239: ++ export LC_ALL=C -239: ++ LC_ALL=C -239: ++ '[' -z aarch64 ']' -239: ++ '[' -z '' ']' -239: ++ TESTDIR=out/test/aarch64 -239: ++ CC=cc -239: ++ CXX=c++ -239: ++ GCC=gcc -239: ++ GXX=g++ -239: ++ OBJDUMP=objdump -239: ++ OBJCOPY=objcopy -239: ++ STRIP=strip -239: ++ QEMU= -239: ++ case $MACHINE in -239: ++ tlsdesc_opt=-mtls-dialect=desc +238: + mkdir -p out/test/aarch64/sysroot/foo/bar +238: + rm -f out/test/aarch64/sysroot/foo/bar/libfoo.a +238: + ar rcs out/test/aarch64/sysroot/foo/bar/libfoo.a out/test/aarch64/sysroot/a.o out/test/aarch64/sysroot/b.o 236: + cc -B. -no-pie -Wl,--image-base=0x40000 -o out/test/aarch64/synthetic-symbols/exe out/test/aarch64/synthetic-symbols/a.o out/test/aarch64/synthetic-symbols/b.o -228: mold: warning: out/test/aarch64/symbol-version-lto/b.ver: cannot assign version `VER1` to symbol `foo`: symbol not found +153: + grep -Fq .data.100000 out/test/aarch64/many-sections2/log1 241: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/tbss-only.sh 241: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 241: ++ export LC_ALL=C @@ -18319,76 +18385,23 @@ 241: ++ tlsdesc_opt=-mtls-dialect=desc 241: +++ uname 241: ++ '[' Linux = FreeBSD ']' -239: +++ uname 241: ++ trap 'on_error $LINENO' ERR 241: ++ trap on_exit EXIT -239: ++ '[' Linux = FreeBSD ']' -239: ++ trap 'on_error $LINENO' ERR -239: ++ trap on_exit EXIT -239: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/sysroot2.sh .sh -239: ++ testname=sysroot2 -239: ++ echo -n 'Testing sysroot2 ... ' -239: Testing sysroot2 ... ++ t=out/test/aarch64/sysroot2 -239: ++ mkdir -p out/test/aarch64/sysroot2 -238: + mkdir -p out/test/aarch64/sysroot/foo/bar -239: ++ set -x -239: + [[ aarch64 = loongarch* ]] -239: + mkdir -p out/test/aarch64/sysroot2/bin out/test/aarch64/sysroot2/sysroot/foo -237: + cc -o out/test/aarch64/sysroot-linker-script/c.o -c -xc - -238: + rm -f out/test/aarch64/sysroot/foo/bar/libfoo.a -239: + cat -238: + ar rcs out/test/aarch64/sysroot/foo/bar/libfoo.a out/test/aarch64/sysroot/a.o out/test/aarch64/sysroot/b.o -239: + cat 241: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/tbss-only.sh .sh -238: + cc -c -o out/test/aarch64/sysroot/c.o -xc - 241: ++ testname=tbss-only 241: ++ echo -n 'Testing tbss-only ... ' 241: Testing tbss-only ... ++ t=out/test/aarch64/tbss-only 241: ++ mkdir -p out/test/aarch64/tbss-only 241: ++ set -x -236: + out/test/aarch64/synthetic-symbols/exe -241: + cat -241: + cc -o out/test/aarch64/tbss-only/a.o -c -xc - -236: + grep -q '^__ehdr_start=0x40000$' out/test/aarch64/synthetic-symbols/log -238: + cat 240: + cat +240: + cc -O2 -o out/test/aarch64/tail-call/a.o -c -xc - +241: + cat +153: + readelf -Ws out/test/aarch64/many-sections2/b.o 232: + cat -239: + cat -240: + cc -O2 -o out/test/aarch64/tail-call/b.o -c -xc - -236: + grep -q '^__executable_start=0x40000$' out/test/aarch64/synthetic-symbols/log 232: + cc -o out/test/aarch64/symbol-version4/g.o -c -xc - -239: + cc -c -o out/test/aarch64/sysroot2/sysroot/foo/x.o -xc - -237: + cc -B. -o out/test/aarch64/sysroot-linker-script/exe out/test/aarch64/sysroot-linker-script/c.o -Wl,--sysroot=out/test/aarch64/sysroot-linker-script/ out/test/aarch64/sysroot-linker-script/foo/bar/b.script -236: + grep -q '^__dso_handle=' out/test/aarch64/synthetic-symbols/log -236: + grep -q '^section foo$' out/test/aarch64/synthetic-symbols/log -236: + cc -c -o out/test/aarch64/synthetic-symbols/c.o -xc - -238: + cc -B. -o out/test/aarch64/sysroot/exe out/test/aarch64/sysroot/c.o -Wl,--sysroot=out/test/aarch64/sysroot/ -Wl,-L=foo/bar -lfoo -236: + cat -232: + cc -B. -o out/test/aarch64/symbol-version4/exe out/test/aarch64/symbol-version4/g.o out/test/aarch64/symbol-version4/f.so out/test/aarch64/symbol-version4/c.so -240: + cc -O2 -o out/test/aarch64/tail-call/c.o -c -xc - -240: + cat -241: + cc -B. -o out/test/aarch64/tbss-only/exe out/test/aarch64/tbss-only/a.o -239: + cat -228: + readelf --symbols out/test/aarch64/symbol-version-lto/c.so -239: + cc -c -o out/test/aarch64/sysroot2/sysroot/foo/y.o -xc - -238: + cc -B. -o out/test/aarch64/sysroot/exe out/test/aarch64/sysroot/c.o -Wl,--sysroot=out/test/aarch64/sysroot/ -Wl,-L=/foo/bar -lfoo -228: + grep -Fq foo@@VER1 out/test/aarch64/symbol-version-lto/log -228: + on_exit -228: + echo OK -228: OK -228: + exit 0 -230/336 Test #228: aarch64-symbol-version-lto ............................... Passed 0.42 sec -test 242 - Start 242: aarch64-thin-archive - -242: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/thin-archive.sh" -242: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -242: Environment variables: -242: MACHINE=aarch64 -242: CPU= -242: Test timeout computed to be: 1500 -236: + cc -B. -no-pie -Wl,--image-base=0x40000 -o out/test/aarch64/synthetic-symbols/exe out/test/aarch64/synthetic-symbols/a.o out/test/aarch64/synthetic-symbols/c.o 242: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/thin-archive.sh +237: + cc -B. -o out/test/aarch64/sysroot-linker-script/exe out/test/aarch64/sysroot-linker-script/c.o -Wl,--sysroot=out/test/aarch64/sysroot-linker-script/ out/test/aarch64/sysroot-linker-script/foo/bar/b.script +238: + cc -c -o out/test/aarch64/sysroot/c.o -xc - 242: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 242: ++ export LC_ALL=C 242: ++ LC_ALL=C @@ -18405,11 +18418,45 @@ 242: ++ QEMU= 242: ++ case $MACHINE in 242: ++ tlsdesc_opt=-mtls-dialect=desc +242: +++ uname +242: ++ '[' Linux = FreeBSD ']' +242: ++ trap 'on_error $LINENO' ERR +242: ++ trap on_exit EXIT +241: + cc -o out/test/aarch64/tbss-only/a.o -c -xc - +239: + cat +238: + cat +239: + cat +228: + echo 'VER1 { foo; };' +228: + cc -B. -shared -o out/test/aarch64/symbol-version-lto/c.so out/test/aarch64/symbol-version-lto/a.o -Wl,--version-script=out/test/aarch64/symbol-version-lto/b.ver -flto +242: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/thin-archive.sh .sh +242: ++ testname=thin-archive +242: ++ echo -n 'Testing thin-archive ... ' +242: Testing thin-archive ... ++ t=out/test/aarch64/thin-archive +242: ++ mkdir -p out/test/aarch64/thin-archive +232: + cc -B. -o out/test/aarch64/symbol-version4/exe out/test/aarch64/symbol-version4/g.o out/test/aarch64/symbol-version4/f.so out/test/aarch64/symbol-version4/c.so +239: + cat +239: + cc -c -o out/test/aarch64/sysroot2/sysroot/foo/x.o -xc - +238: + cc -B. -o out/test/aarch64/sysroot/exe out/test/aarch64/sysroot/c.o -Wl,--sysroot=out/test/aarch64/sysroot/ -Wl,-L=foo/bar -lfoo +242: ++ set -x +242: + cat +240: + cat +242: + cc -o out/test/aarch64/thin-archive/long-long-long-filename.o -c -xc - +240: + cc -O2 -o out/test/aarch64/tail-call/b.o -c -xc - +236: + out/test/aarch64/synthetic-symbols/exe +236: + grep -q '^__ehdr_start=0x40000$' out/test/aarch64/synthetic-symbols/log +241: + cc -B. -o out/test/aarch64/tbss-only/exe out/test/aarch64/tbss-only/a.o +236: + grep -q '^__executable_start=0x40000$' out/test/aarch64/synthetic-symbols/log +236: + grep -q '^__dso_handle=' out/test/aarch64/synthetic-symbols/log +238: + cc -B. -o out/test/aarch64/sysroot/exe out/test/aarch64/sysroot/c.o -Wl,--sysroot=out/test/aarch64/sysroot/ -Wl,-L=/foo/bar -lfoo +239: + cc -c -o out/test/aarch64/sysroot2/sysroot/foo/y.o -xc - +228: mold: warning: out/test/aarch64/symbol-version-lto/b.ver: cannot assign version `VER1` to symbol `foo`: symbol not found +239: + cat +236: + grep -q '^section foo$' out/test/aarch64/synthetic-symbols/log 237: + on_exit 237: + echo OK 237: OK 237: + exit 0 -231/336 Test #237: aarch64-sysroot-linker-script ............................ Passed 0.20 sec +231/336 Test #237: aarch64-sysroot-linker-script ............................ Passed 0.34 sec test 243 Start 243: aarch64-thread-count @@ -18419,17 +18466,11 @@ 243: MACHINE=aarch64 243: CPU= 243: Test timeout computed to be: 1500 -242: +++ uname -242: ++ '[' Linux = FreeBSD ']' -242: ++ trap 'on_error $LINENO' ERR -242: ++ trap on_exit EXIT -242: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/thin-archive.sh .sh -242: ++ testname=thin-archive -242: ++ echo -n 'Testing thin-archive ... ' -242: Testing thin-archive ... ++ t=out/test/aarch64/thin-archive -242: ++ mkdir -p out/test/aarch64/thin-archive -242: ++ set -x +240: + cc -O2 -o out/test/aarch64/tail-call/c.o -c -xc - +236: + cc -c -o out/test/aarch64/synthetic-symbols/c.o -xc - +236: + cat 243: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/thread-count.sh +240: + cat 243: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 243: ++ export LC_ALL=C 243: ++ LC_ALL=C @@ -18446,18 +18487,24 @@ 243: ++ QEMU= 243: ++ case $MACHINE in 243: ++ tlsdesc_opt=-mtls-dialect=desc +242: + cc -o out/test/aarch64/thin-archive/b.o -c -xc - 242: + cat +239: + cc -c -o out/test/aarch64/sysroot2/c.o -xc - +239: + cat +243: +++ uname +243: ++ '[' Linux = FreeBSD ']' +243: ++ trap 'on_error $LINENO' ERR +243: ++ trap on_exit EXIT 232: + out/test/aarch64/symbol-version4/exe -242: + cc -o out/test/aarch64/thin-archive/long-long-long-filename.o -c -xc - -238: + cc -B. -o out/test/aarch64/sysroot/exe out/test/aarch64/sysroot/c.o -Wl,--sysroot=out/test/aarch64/sysroot/ '-Wl,-L$SYSROOTfoo/bar' -lfoo 232: + grep -q 'foo bar' +238: + cc -B. -o out/test/aarch64/sysroot/exe out/test/aarch64/sysroot/c.o -Wl,--sysroot=out/test/aarch64/sysroot/ '-Wl,-L$SYSROOTfoo/bar' -lfoo +243: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/thread-count.sh .sh +241: + out/test/aarch64/tbss-only/exe 232: + on_exit 232: + echo OK 232: OK 232: + exit 0 -241: + out/test/aarch64/tbss-only/exe -243: +++ uname -232/336 Test #232: aarch64-symbol-version4 .................................. Passed 0.34 sec +232/336 Test #232: aarch64-symbol-version4 .................................. Passed 0.65 sec test 244 Start 244: aarch64-tls-alignment-multi @@ -18467,23 +18514,15 @@ 244: MACHINE=aarch64 244: CPU= 244: Test timeout computed to be: 1500 -243: ++ '[' Linux = FreeBSD ']' -243: ++ trap 'on_error $LINENO' ERR -243: ++ trap on_exit EXIT -243: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/thread-count.sh .sh 243: ++ testname=thread-count 243: ++ echo -n 'Testing thread-count ... ' 243: Testing thread-count ... ++ t=out/test/aarch64/thread-count 243: ++ mkdir -p out/test/aarch64/thread-count -239: + cat -239: + cc -c -o out/test/aarch64/sysroot2/c.o -xc - 241: + on_exit 241: + echo OK 241: OK 241: + exit 0 -236: + out/test/aarch64/synthetic-symbols/exe -236: + grep -q '^end=foo$' out/test/aarch64/synthetic-symbols/log -233/336 Test #241: aarch64-tbss-only ........................................ Passed 0.17 sec +233/336 Test #241: aarch64-tbss-only ........................................ Passed 0.27 sec test 245 Start 245: aarch64-tls-common @@ -18493,27 +18532,10 @@ 245: MACHINE=aarch64 245: CPU= 245: Test timeout computed to be: 1500 -236: + grep -q '^etext=foo$' out/test/aarch64/synthetic-symbols/log +236: + cc -B. -no-pie -Wl,--image-base=0x40000 -o out/test/aarch64/synthetic-symbols/exe out/test/aarch64/synthetic-symbols/a.o out/test/aarch64/synthetic-symbols/c.o +183: + cc -B. -o out/test/aarch64/range-extension-thunk3/exe out/test/aarch64/range-extension-thunk3/d.o out/test/aarch64/range-extension-thunk3/b.so 244: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/tls-alignment-multi.sh -240: + cc -B. -o out/test/aarch64/tail-call/exe out/test/aarch64/tail-call/a.o out/test/aarch64/tail-call/b.o out/test/aarch64/tail-call/c.o -244: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc -244: ++ export LC_ALL=C -244: ++ LC_ALL=C -244: ++ '[' -z aarch64 ']' -244: ++ '[' -z '' ']' -244: ++ TESTDIR=out/test/aarch64 -244: ++ CC=cc -244: ++ CXX=c++ -244: ++ GCC=gcc -244: ++ GXX=g++ -244: ++ OBJDUMP=objdump -244: ++ OBJCOPY=objcopy -244: ++ STRIP=strip -244: ++ QEMU= -244: ++ case $MACHINE in -244: ++ tlsdesc_opt=-mtls-dialect=desc -236: + grep -q '^edata=foo$' out/test/aarch64/synthetic-symbols/log -236: + grep -q '^__ehdr_start=0x40000$' out/test/aarch64/synthetic-symbols/log +243: ++ set -x 245: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/tls-common.sh 245: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 245: ++ export LC_ALL=C @@ -18535,86 +18557,79 @@ 245: ++ '[' Linux = FreeBSD ']' 245: ++ trap 'on_error $LINENO' ERR 245: ++ trap on_exit EXIT -243: ++ set -x -236: + grep -q '^__executable_start=0x40000$' out/test/aarch64/synthetic-symbols/log -243: + cat +239: + cc -B. -o out/test/aarch64/sysroot2/exe -Wl,--sysroot=out/test/aarch64/sysroot2/sysroot out/test/aarch64/sysroot2/a.script out/test/aarch64/sysroot2/sysroot/b.script out/test/aarch64/sysroot2/c.o +240: + cc -B. -o out/test/aarch64/tail-call/exe out/test/aarch64/tail-call/a.o out/test/aarch64/tail-call/b.o out/test/aarch64/tail-call/c.o +244: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc +244: ++ export LC_ALL=C +244: ++ LC_ALL=C +244: ++ '[' -z aarch64 ']' +244: ++ '[' -z '' ']' +244: ++ TESTDIR=out/test/aarch64 +244: ++ CC=cc +244: ++ CXX=c++ +244: ++ GCC=gcc +244: ++ GXX=g++ +244: ++ OBJDUMP=objdump +244: ++ OBJCOPY=objcopy +244: ++ STRIP=strip +244: ++ QEMU= +244: ++ case $MACHINE in +244: ++ tlsdesc_opt=-mtls-dialect=desc 244: +++ uname +243: + cat +244: ++ '[' Linux = FreeBSD ']' +244: ++ trap 'on_error $LINENO' ERR +244: ++ trap on_exit EXIT 243: + cc -o out/test/aarch64/thread-count/a.o -c -xc - -239: + cc -B. -o out/test/aarch64/sysroot2/exe -Wl,--sysroot=out/test/aarch64/sysroot2/sysroot out/test/aarch64/sysroot2/a.script out/test/aarch64/sysroot2/sysroot/b.script out/test/aarch64/sysroot2/c.o -236: + grep -q '^section foo$' out/test/aarch64/synthetic-symbols/log 245: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/tls-common.sh .sh 245: ++ testname=tls-common 245: ++ echo -n 'Testing tls-common ... ' 245: Testing tls-common ... ++ t=out/test/aarch64/tls-common 245: ++ mkdir -p out/test/aarch64/tls-common -245: ++ set -x -245: + cat -244: ++ '[' Linux = FreeBSD ']' -244: ++ trap 'on_error $LINENO' ERR -244: ++ trap on_exit EXIT -245: + gcc -o out/test/aarch64/tls-common/a.o -c -xassembler - -236: + on_exit -236: + echo OK -236: OK -236: + exit 0 -242: + cat -242: + cc -o out/test/aarch64/thin-archive/b.o -c -xc - 244: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/tls-alignment-multi.sh .sh -234/336 Test #236: aarch64-synthetic-symbols ................................ Passed 0.30 sec -test 246 - Start 246: aarch64-tls-df-static-tls - -246: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/tls-df-static-tls.sh" -246: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -246: Environment variables: -246: MACHINE=aarch64 -246: CPU= -246: Test timeout computed to be: 1500 244: ++ testname=tls-alignment-multi 244: ++ echo -n 'Testing tls-alignment-multi ... ' 244: Testing tls-alignment-multi ... ++ t=out/test/aarch64/tls-alignment-multi 244: ++ mkdir -p out/test/aarch64/tls-alignment-multi +242: + cc -o out/test/aarch64/thin-archive/c.o -c -xc - +242: + cat +245: ++ set -x +245: + cat 244: ++ set -x -238: + cc -B. -o out/test/aarch64/sysroot/exe out/test/aarch64/sysroot/c.o -Wl,--sysroot=out/test/aarch64/sysroot/ '-Wl,-L$SYSROOT/foo/bar' -lfoo -246: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/tls-df-static-tls.sh +245: + gcc -o out/test/aarch64/tls-common/a.o -c -xassembler - 244: + cc -fPIC -c -o out/test/aarch64/tls-alignment-multi/a.o -xc - -246: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc -246: ++ export LC_ALL=C -246: ++ LC_ALL=C -246: ++ '[' -z aarch64 ']' -246: ++ '[' -z '' ']' -246: ++ TESTDIR=out/test/aarch64 -246: ++ CC=cc -246: ++ CXX=c++ -246: ++ GCC=gcc -246: ++ GXX=g++ -246: ++ OBJDUMP=objdump -246: ++ OBJCOPY=objcopy -246: ++ STRIP=strip -246: ++ QEMU= -246: ++ case $MACHINE in -246: ++ tlsdesc_opt=-mtls-dialect=desc 244: + cat -246: +++ uname -246: ++ '[' Linux = FreeBSD ']' -246: ++ trap 'on_error $LINENO' ERR -246: ++ trap on_exit EXIT +238: + cc -B. -o out/test/aarch64/sysroot/exe out/test/aarch64/sysroot/c.o -Wl,--sysroot=out/test/aarch64/sysroot/ '-Wl,-L$SYSROOT/foo/bar' -lfoo +239: ++ realpath out/test/aarch64/sysroot2 +239: + cc -B. -o out/test/aarch64/sysroot2/exe -Wl,--sysroot=/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/out/test/aarch64/sysroot2/bin/../sysroot out/test/aarch64/sysroot2/a.script out/test/aarch64/sysroot2/sysroot/b.script out/test/aarch64/sysroot2/c.o 245: + cc -o out/test/aarch64/tls-common/b.o -c -xc -std=c11 - 245: + cat -246: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/tls-df-static-tls.sh .sh -246: ++ testname=tls-df-static-tls -246: ++ echo -n 'Testing tls-df-static-tls ... ' -246: Testing tls-df-static-tls ... ++ t=out/test/aarch64/tls-df-static-tls -246: ++ mkdir -p out/test/aarch64/tls-df-static-tls -240: + grep -q 42 +242: + cc -o out/test/aarch64/thin-archive/d.o -c -xc - +243: + cc -B. -o out/test/aarch64/thread-count/exe out/test/aarch64/thread-count/a.o -Wl,-no-threads +242: + cat 240: + out/test/aarch64/tail-call/exe +153: + grep -Fq 'GLOBAL DEFAULT 100000' out/test/aarch64/many-sections2/log2 +240: + grep -q 42 240: + '[' aarch64 = riscv32 -o aarch64 = riscv64 ']' 240: + on_exit 240: + echo OK 240: OK 240: + exit 0 -243: + cc -B. -o out/test/aarch64/thread-count/exe out/test/aarch64/thread-count/a.o -Wl,-no-threads -235/336 Test #240: aarch64-tail-call ........................................ Passed 0.26 sec +234/336 Test #240: aarch64-tail-call ........................................ Passed 0.41 sec +test 246 + Start 246: aarch64-tls-df-static-tls + +246: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/tls-df-static-tls.sh" +246: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +246: Environment variables: +246: MACHINE=aarch64 +246: CPU= +246: Test timeout computed to be: 1500 +211: + on_exit +211: + echo OK +211: OK +211: + exit 0 +235/336 Test #211: aarch64-separate-debug-file .............................. Passed 2.26 sec test 247 Start 247: aarch64-tls-dso @@ -18624,26 +18639,10 @@ 247: MACHINE=aarch64 247: CPU= 247: Test timeout computed to be: 1500 -246: ++ set -x -246: + cc -fPIC -ftls-model=initial-exec -c -o out/test/aarch64/tls-df-static-tls/a.o -xc - -246: + cat -242: + cat -242: + cc -o out/test/aarch64/thin-archive/c.o -c -xc - -211: + on_exit -211: + echo OK -211: OK -211: + exit 0 -236/336 Test #211: aarch64-separate-debug-file .............................. Passed 1.12 sec -test 248 - Start 248: aarch64-tls-gd-dlopen - -248: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/tls-gd-dlopen.sh" -248: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -248: Environment variables: -248: MACHINE=aarch64 -248: CPU= -248: Test timeout computed to be: 1500 -153: + readelf -WS out/test/aarch64/many-sections2/b.o +228: + readelf --symbols out/test/aarch64/symbol-version-lto/c.so +244: + cat +244: + cc -fPIC -c -o out/test/aarch64/tls-alignment-multi/b.o -xc - +236: + out/test/aarch64/synthetic-symbols/exe 247: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/tls-dso.sh 247: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 247: ++ export LC_ALL=C @@ -18661,6 +18660,25 @@ 247: ++ QEMU= 247: ++ case $MACHINE in 247: ++ tlsdesc_opt=-mtls-dialect=desc +246: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/tls-df-static-tls.sh +246: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc +246: ++ export LC_ALL=C +246: ++ LC_ALL=C +246: ++ '[' -z aarch64 ']' +246: ++ '[' -z '' ']' +246: ++ TESTDIR=out/test/aarch64 +246: ++ CC=cc +246: ++ CXX=c++ +246: ++ GCC=gcc +246: ++ GXX=g++ +246: ++ OBJDUMP=objdump +246: ++ OBJCOPY=objcopy +246: ++ STRIP=strip +246: ++ QEMU= +246: ++ case $MACHINE in +246: ++ tlsdesc_opt=-mtls-dialect=desc +228: + grep -Fq foo@@VER1 out/test/aarch64/symbol-version-lto/log +236: + grep -q '^end=foo$' out/test/aarch64/synthetic-symbols/log 247: +++ uname 247: ++ '[' Linux = FreeBSD ']' 247: ++ trap 'on_error $LINENO' ERR @@ -18671,13 +18689,64 @@ 247: Testing tls-dso ... ++ t=out/test/aarch64/tls-dso 247: ++ mkdir -p out/test/aarch64/tls-dso 247: ++ set -x +246: +++ uname +246: ++ '[' Linux = FreeBSD ']' +246: ++ trap 'on_error $LINENO' ERR +246: ++ trap on_exit EXIT +183: + out/test/aarch64/range-extension-thunk3/exe +153: + grep -Fq 'ABS foo' out/test/aarch64/many-sections2/log2 +183: + on_exit +183: + echo OK +183: OK +183: + exit 0 +236/336 Test #183: aarch64-range-extension-thunk3 ........................... Passed 4.08 sec +test 248 + Start 248: aarch64-tls-gd-dlopen + +248: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/tls-gd-dlopen.sh" +248: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +248: Environment variables: +248: MACHINE=aarch64 +248: CPU= +248: Test timeout computed to be: 1500 +236: + grep -q '^etext=foo$' out/test/aarch64/synthetic-symbols/log +245: + cc -B. -o out/test/aarch64/tls-common/exe out/test/aarch64/tls-common/a.o out/test/aarch64/tls-common/b.o +246: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/tls-df-static-tls.sh .sh +246: ++ testname=tls-df-static-tls +246: ++ echo -n 'Testing tls-df-static-tls ... ' +246: Testing tls-df-static-tls ... ++ t=out/test/aarch64/tls-df-static-tls +246: ++ mkdir -p out/test/aarch64/tls-df-static-tls +153: + grep -Fq 'ABS x68966' out/test/aarch64/many-sections2/log2 247: + cat -239: ++ realpath out/test/aarch64/sysroot2 -239: + cc -B. -o out/test/aarch64/sysroot2/exe -Wl,--sysroot=/build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/out/test/aarch64/sysroot2/bin/../sysroot out/test/aarch64/sysroot2/a.script out/test/aarch64/sysroot2/sysroot/b.script out/test/aarch64/sysroot2/c.o -238: + cc -B. -o out/test/aarch64/sysroot/exe out/test/aarch64/sysroot/c.o -lfoo -248: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/tls-gd-dlopen.sh 247: + cc -fPIC -shared -o out/test/aarch64/tls-dso/a.so -xc - -245: + cc -B. -o out/test/aarch64/tls-common/exe out/test/aarch64/tls-common/a.o out/test/aarch64/tls-common/b.o +228: + on_exit +228: + echo OK +228: OK +228: + exit 0 +243: + cc -B. -o out/test/aarch64/thread-count/exe out/test/aarch64/thread-count/a.o -Wl,-thread-count=1 +237/336 Test #228: aarch64-symbol-version-lto ............................... Passed 0.98 sec +test 249 + Start 249: aarch64-tls-gd-noplt + +249: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/tls-gd-noplt.sh" +249: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +249: Environment variables: +249: MACHINE=aarch64 +249: CPU= +249: Test timeout computed to be: 1500 +236: + grep -q '^edata=foo$' out/test/aarch64/synthetic-symbols/log +236: + grep -q '^__ehdr_start=0x40000$' out/test/aarch64/synthetic-symbols/log +236: + grep -q '^__executable_start=0x40000$' out/test/aarch64/synthetic-symbols/log +246: ++ set -x +246: + cc -fPIC -ftls-model=initial-exec -c -o out/test/aarch64/tls-df-static-tls/a.o -xc - +246: + cat +153: + on_exit +153: + echo OK +153: OK +153: + exit 0 +242: + rm -f out/test/aarch64/thin-archive/d.a +242: + cd out/test/aarch64/thin-archive +248: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/tls-gd-dlopen.sh 248: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 248: ++ export LC_ALL=C 248: ++ LC_ALL=C @@ -18698,50 +18767,34 @@ 248: ++ '[' Linux = FreeBSD ']' 248: ++ trap 'on_error $LINENO' ERR 248: ++ trap on_exit EXIT +238: + cc -B. -o out/test/aarch64/sysroot/exe out/test/aarch64/sysroot/c.o -lfoo +244: + cc -B. -shared -o out/test/aarch64/tls-alignment-multi/a.so out/test/aarch64/tls-alignment-multi/a.o +238/336 Test #153: aarch64-many-sections2 ................................... Passed 5.61 sec +test 250 + Start 250: aarch64-tls-gd-to-ie + +250: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/tls-gd-to-ie.sh" +250: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +250: Environment variables: +250: MACHINE=aarch64 +250: CPU= +250: Test timeout computed to be: 1500 +236: + grep -q '^section foo$' out/test/aarch64/synthetic-symbols/log +236: + on_exit +236: + echo OK +236: OK +236: + exit 0 +242: ++ pwd +242: + ar rcsT d.a long-long-long-filename.o b.o /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/out/test/aarch64/thin-archive/c.o 248: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/tls-gd-dlopen.sh .sh 248: ++ testname=tls-gd-dlopen 248: ++ echo -n 'Testing tls-gd-dlopen ... ' 248: Testing tls-gd-dlopen ... ++ t=out/test/aarch64/tls-gd-dlopen 248: ++ mkdir -p out/test/aarch64/tls-gd-dlopen -244: + cat -244: + cc -fPIC -c -o out/test/aarch64/tls-alignment-multi/b.o -xc - -246: + cc -B. -shared -o out/test/aarch64/tls-df-static-tls/b.so out/test/aarch64/tls-df-static-tls/a.o -Wl,--relax -243: + cc -B. -o out/test/aarch64/thread-count/exe out/test/aarch64/thread-count/a.o -Wl,-thread-count=1 -248: ++ set -x -248: + gcc -fPIC -c -o out/test/aarch64/tls-gd-dlopen/a.o -xc - -248: + cat -238: + cc -B. -o out/test/aarch64/sysroot/exe out/test/aarch64/sysroot/c.o -Wl,--sysroot=out/test/aarch64/sysroot -Wl,-Lfoo/bar -lfoo -242: + cat -242: + cc -o out/test/aarch64/thin-archive/d.o -c -xc - 239: + on_exit 239: + echo OK 239: OK 239: + exit 0 -237/336 Test #239: aarch64-sysroot2 ......................................... Passed 0.34 sec -test 249 - Start 249: aarch64-tls-gd-noplt - -249: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/tls-gd-noplt.sh" -249: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -249: Environment variables: -249: MACHINE=aarch64 -249: CPU= -249: Test timeout computed to be: 1500 -244: + cc -B. -shared -o out/test/aarch64/tls-alignment-multi/a.so out/test/aarch64/tls-alignment-multi/a.o -243: + cc -B. -o out/test/aarch64/thread-count/exe out/test/aarch64/thread-count/a.o -Wl,-threads -248: + cc -B. -shared -o out/test/aarch64/tls-gd-dlopen/b.so out/test/aarch64/tls-gd-dlopen/a.o -247: + cc -c -o out/test/aarch64/tls-dso/b.o -xc - -245: + grep -Fq .tls_common -245: + readelf -WS out/test/aarch64/tls-common/exe -245: + grep -q '^foo=0$' -245: + out/test/aarch64/tls-common/exe -245: + on_exit -245: + echo OK -245: OK -245: + exit 0 -246: + readelf --dynamic out/test/aarch64/tls-df-static-tls/b.so -246: + grep -q STATIC_TLS -246: + cc -B. -shared -o out/test/aarch64/tls-df-static-tls/c.so out/test/aarch64/tls-df-static-tls/a.o -Wl,--no-relax 249: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/tls-gd-noplt.sh 249: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 249: ++ export LC_ALL=C @@ -18759,18 +18812,31 @@ 249: ++ QEMU= 249: ++ case $MACHINE in 249: ++ tlsdesc_opt=-mtls-dialect=desc -249: +++ uname -247: + cat -238/336 Test #245: aarch64-tls-common ....................................... Passed 0.17 sec -test 250 - Start 250: aarch64-tls-gd-to-ie +239/336 Test #236: aarch64-synthetic-symbols ................................ Passed 0.72 sec +240/336 Test #239: aarch64-sysroot2 ......................................... Passed 0.54 sec +test 251 + Start 251: aarch64-tls-gd -250: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/tls-gd-to-ie.sh" -250: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -250: Environment variables: -250: MACHINE=aarch64 -250: CPU= -250: Test timeout computed to be: 1500 +251: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/tls-gd.sh" +251: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +251: Environment variables: +251: MACHINE=aarch64 +251: CPU= +251: Test timeout computed to be: 1500 +test 252 + Start 252: aarch64-tls-ie + +252: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/tls-ie.sh" +252: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +252: Environment variables: +252: MACHINE=aarch64 +252: CPU= +252: Test timeout computed to be: 1500 +242: + cc -B. -Wl,--trace -o out/test/aarch64/thin-archive/exe out/test/aarch64/thin-archive/d.o out/test/aarch64/thin-archive/d.a +248: ++ set -x +248: + gcc -fPIC -c -o out/test/aarch64/tls-gd-dlopen/a.o -xc - +248: + cat +249: +++ uname 249: ++ '[' Linux = FreeBSD ']' 249: ++ trap 'on_error $LINENO' ERR 249: ++ trap on_exit EXIT @@ -18780,9 +18846,6 @@ 249: Testing tls-gd-noplt ... ++ t=out/test/aarch64/tls-gd-noplt 249: ++ mkdir -p out/test/aarch64/tls-gd-noplt 249: ++ set -x -249: + cat -249: + gcc -fPIC -fno-plt -c -o out/test/aarch64/tls-gd-noplt/a.o -xc - -242: + rm -f out/test/aarch64/thin-archive/d.a 250: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/tls-gd-to-ie.sh 250: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 250: ++ export LC_ALL=C @@ -18800,24 +18863,7 @@ 250: ++ QEMU= 250: ++ case $MACHINE in 250: ++ tlsdesc_opt=-mtls-dialect=desc -250: +++ uname -250: ++ '[' Linux = FreeBSD ']' -250: ++ trap 'on_error $LINENO' ERR -238: + on_exit -238: + echo OK -238: OK -238: + exit 0 -239/336 Test #238: aarch64-sysroot .......................................... Passed 0.42 sec -test 251 - Start 251: aarch64-tls-gd - -251: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/tls-gd.sh" -251: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -251: Environment variables: -251: MACHINE=aarch64 -251: CPU= -251: Test timeout computed to be: 1500 -250: ++ trap on_exit EXIT +243: + cc -B. -o out/test/aarch64/thread-count/exe out/test/aarch64/thread-count/a.o -Wl,-threads 251: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/tls-gd.sh 251: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 251: ++ export LC_ALL=C @@ -18835,63 +18881,70 @@ 251: ++ QEMU= 251: ++ case $MACHINE in 251: ++ tlsdesc_opt=-mtls-dialect=desc +249: + cat 251: +++ uname 251: ++ '[' Linux = FreeBSD ']' 251: ++ trap 'on_error $LINENO' ERR 251: ++ trap on_exit EXIT -242: + cd out/test/aarch64/thin-archive +250: +++ uname +250: ++ '[' Linux = FreeBSD ']' +250: ++ trap 'on_error $LINENO' ERR +250: ++ trap on_exit EXIT +238: + cc -B. -o out/test/aarch64/sysroot/exe out/test/aarch64/sysroot/c.o -Wl,--sysroot=out/test/aarch64/sysroot -Wl,-Lfoo/bar -lfoo +249: + gcc -fPIC -fno-plt -c -o out/test/aarch64/tls-gd-noplt/a.o -xc - +245: + readelf -WS out/test/aarch64/tls-common/exe +252: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/tls-ie.sh 250: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/tls-gd-to-ie.sh .sh 250: ++ testname=tls-gd-to-ie 250: ++ echo -n 'Testing tls-gd-to-ie ... ' 250: Testing tls-gd-to-ie ... ++ t=out/test/aarch64/tls-gd-to-ie 250: ++ mkdir -p out/test/aarch64/tls-gd-to-ie -250: ++ set -x +252: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc +252: ++ export LC_ALL=C +252: ++ LC_ALL=C +252: ++ '[' -z aarch64 ']' +252: ++ '[' -z '' ']' +252: ++ TESTDIR=out/test/aarch64 +252: ++ CC=cc +252: ++ CXX=c++ +252: ++ GCC=gcc +252: ++ GXX=g++ +252: ++ OBJDUMP=objdump +252: ++ OBJCOPY=objcopy +252: ++ STRIP=strip +252: ++ QEMU= +252: ++ case $MACHINE in +252: ++ tlsdesc_opt=-mtls-dialect=desc +246: + cc -B. -shared -o out/test/aarch64/tls-df-static-tls/b.so out/test/aarch64/tls-df-static-tls/a.o -Wl,--relax 251: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/tls-gd.sh .sh +245: + grep -Fq .tls_common 251: ++ testname=tls-gd 251: ++ echo -n 'Testing tls-gd ... ' 251: Testing tls-gd ... ++ t=out/test/aarch64/tls-gd 251: ++ mkdir -p out/test/aarch64/tls-gd -244: + cc -B. -ldl -pthread -o out/test/aarch64/tls-alignment-multi/exe out/test/aarch64/tls-alignment-multi/b.o -Wl,-rpath,out/test/aarch64/tls-alignment-multi -242: ++ pwd -243: + cc -B. -o out/test/aarch64/thread-count/exe out/test/aarch64/thread-count/a.o -Wl,-threads=1 -242: + ar rcsT d.a long-long-long-filename.o b.o /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu/out/test/aarch64/thin-archive/c.o -251: ++ set -x -153: + grep -Fq .data.100000 out/test/aarch64/many-sections2/log1 -242: + cc -B. -Wl,--trace -o out/test/aarch64/thin-archive/exe out/test/aarch64/thin-archive/d.o out/test/aarch64/thin-archive/d.a -251: + gcc -fPIC -c -o out/test/aarch64/tls-gd/a.o -xc - -247: + cc -B. -o out/test/aarch64/tls-dso/exe out/test/aarch64/tls-dso/a.so out/test/aarch64/tls-dso/b.o -251: + cat +252: +++ uname +252: ++ '[' Linux = FreeBSD ']' +252: ++ trap 'on_error $LINENO' ERR +252: ++ trap on_exit EXIT +250: ++ set -x +247: + cc -c -o out/test/aarch64/tls-dso/b.o -xc - +245: + grep -q '^foo=0$' +247: + cat +245: + out/test/aarch64/tls-common/exe 250: + gcc -fPIC -c -o out/test/aarch64/tls-gd-to-ie/a.o -xc - +252: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/tls-ie.sh .sh +252: ++ testname=tls-ie +252: ++ echo -n 'Testing tls-ie ... ' +252: Testing tls-ie ... ++ t=out/test/aarch64/tls-ie +252: ++ mkdir -p out/test/aarch64/tls-ie +244: + cc -B. -ldl -pthread -o out/test/aarch64/tls-alignment-multi/exe out/test/aarch64/tls-alignment-multi/b.o -Wl,-rpath,out/test/aarch64/tls-alignment-multi 250: + cat -248: + gcc -fPIC -c -o out/test/aarch64/tls-gd-dlopen/c.o -xc - -249: + gcc -fPIC -fno-plt -c -o out/test/aarch64/tls-gd-noplt/b.o -xc - -248: + cat -249: + cat -153: + readelf -Ws out/test/aarch64/many-sections2/b.o -244: + out/test/aarch64/tls-alignment-multi/exe -250: + cc -fPIC -c -o out/test/aarch64/tls-gd-to-ie/b.o -xc - -250: + cat -246: + grep -q STATIC_TLS -246: + readelf --dynamic out/test/aarch64/tls-df-static-tls/c.so -244: + on_exit -244: + echo OK -244: OK -244: + exit 0 -246: + on_exit -246: + echo OK -246: OK -246: + exit 0 -240/336 Test #244: aarch64-tls-alignment-multi .............................. Passed 0.28 sec -241/336 Test #246: aarch64-tls-df-static-tls ................................ Passed 0.22 sec -test 252 - Start 252: aarch64-tls-ie - -252: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/tls-ie.sh" -252: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -252: Environment variables: -252: MACHINE=aarch64 -252: CPU= -252: Test timeout computed to be: 1500 +251: ++ set -x +245: + on_exit +245: + echo OK +245: OK +245: + exit 0 +241/336 Test #245: aarch64-tls-common ....................................... Passed 0.31 sec test 253 Start 253: aarch64-tls-irregular-start-addr @@ -18901,31 +18954,13 @@ 253: MACHINE=aarch64 253: CPU= 253: Test timeout computed to be: 1500 +252: ++ set -x +252: + gcc -fPIC -c -o out/test/aarch64/tls-ie/a.o -xc - +251: + gcc -fPIC -c -o out/test/aarch64/tls-gd/a.o -xc - 251: + cat -251: + gcc -fPIC -c -o out/test/aarch64/tls-gd/b.o -xc - -250: + cc -B. -shared -o out/test/aarch64/tls-gd-to-ie/c.so out/test/aarch64/tls-gd-to-ie/a.o -191: + cc -B. -o out/test/aarch64/relocatable-many-sections/exe out/test/aarch64/relocatable-many-sections/c.o -252: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/tls-ie.sh -252: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc -252: ++ export LC_ALL=C -252: ++ LC_ALL=C -252: ++ '[' -z aarch64 ']' -252: ++ '[' -z '' ']' -252: ++ TESTDIR=out/test/aarch64 -252: ++ CC=cc -252: ++ CXX=c++ -252: ++ GCC=gcc -252: ++ GXX=g++ -252: ++ OBJDUMP=objdump -252: ++ OBJCOPY=objcopy -252: ++ STRIP=strip -252: ++ QEMU= -252: ++ case $MACHINE in -252: ++ tlsdesc_opt=-mtls-dialect=desc +248: + cc -B. -shared -o out/test/aarch64/tls-gd-dlopen/b.so out/test/aarch64/tls-gd-dlopen/a.o +252: + cat 253: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/tls-irregular-start-addr.sh -242: + grep -Eq 'thin-archive/d.a\(.*long-long-long-filename.o\)' out/test/aarch64/thin-archive/log -248: + cc -B. -o out/test/aarch64/tls-gd-dlopen/exe out/test/aarch64/tls-gd-dlopen/c.o -ldl -252: +++ uname 253: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 253: ++ export LC_ALL=C 253: ++ LC_ALL=C @@ -18942,39 +18977,34 @@ 253: ++ QEMU= 253: ++ case $MACHINE in 253: ++ tlsdesc_opt=-mtls-dialect=desc -183: + cc -B. -o out/test/aarch64/range-extension-thunk3/exe out/test/aarch64/range-extension-thunk3/d.o out/test/aarch64/range-extension-thunk3/b.so -242: + grep -Eq 'thin-archive/d.a\((.*/)?b.o\)' out/test/aarch64/thin-archive/log -252: ++ '[' Linux = FreeBSD ']' -252: ++ trap 'on_error $LINENO' ERR -252: ++ trap on_exit EXIT -252: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/tls-ie.sh .sh -249: + gcc -fPIC -fno-plt -c -o out/test/aarch64/tls-gd-noplt/c.o -xc - -249: + cat -252: ++ testname=tls-ie -252: ++ echo -n 'Testing tls-ie ... ' -252: Testing tls-ie ... ++ t=out/test/aarch64/tls-ie -252: ++ mkdir -p out/test/aarch64/tls-ie -243: + cc -B. -o out/test/aarch64/thread-count/exe out/test/aarch64/thread-count/a.o -Wl,--threads=1 +242: + grep -Eq 'thin-archive/d.a\(.*long-long-long-filename.o\)' out/test/aarch64/thin-archive/log 253: +++ uname +246: + readelf --dynamic out/test/aarch64/tls-df-static-tls/b.so 253: ++ '[' Linux = FreeBSD ']' 253: ++ trap 'on_error $LINENO' ERR 253: ++ trap on_exit EXIT +243: + cc -B. -o out/test/aarch64/thread-count/exe out/test/aarch64/thread-count/a.o -Wl,-threads=1 +249: + cat +242: + grep -Eq 'thin-archive/d.a\((.*/)?b.o\)' out/test/aarch64/thin-archive/log +249: + gcc -fPIC -fno-plt -c -o out/test/aarch64/tls-gd-noplt/b.o -xc - +246: + grep -q STATIC_TLS +242: + grep -Fq thin-archive/d.o out/test/aarch64/thin-archive/log 253: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/tls-irregular-start-addr.sh .sh -252: ++ set -x -247: + out/test/aarch64/tls-dso/exe -252: + gcc -fPIC -c -o out/test/aarch64/tls-ie/a.o -xc - -247: + grep -q '5 3 5 3 5 3' -252: + cat +246: + cc -B. -shared -o out/test/aarch64/tls-df-static-tls/c.so out/test/aarch64/tls-df-static-tls/a.o -Wl,--no-relax +247: + cc -B. -o out/test/aarch64/tls-dso/exe out/test/aarch64/tls-dso/a.so out/test/aarch64/tls-dso/b.o 253: ++ testname=tls-irregular-start-addr 253: ++ echo -n 'Testing tls-irregular-start-addr ... ' 253: Testing tls-irregular-start-addr ... ++ t=out/test/aarch64/tls-irregular-start-addr 253: ++ mkdir -p out/test/aarch64/tls-irregular-start-addr -242: + grep -Fq thin-archive/d.o out/test/aarch64/thin-archive/log -247: + on_exit -247: + echo OK -247: OK -247: + exit 0 -242/336 Test #247: aarch64-tls-dso .......................................... Passed 0.22 sec +242: + out/test/aarch64/thin-archive/exe +250: + cat +244: + out/test/aarch64/tls-alignment-multi/exe +238: + on_exit +238: + echo OK +238: OK +238: + exit 0 +250: + cc -fPIC -c -o out/test/aarch64/tls-gd-to-ie/b.o -xc - +242/336 Test #238: aarch64-sysroot .......................................... Passed 0.80 sec test 254 Start 254: aarch64-tls-large-alignment @@ -18984,19 +19014,16 @@ 254: MACHINE=aarch64 254: CPU= 254: Test timeout computed to be: 1500 -251: + cat -251: + gcc -fPIC -c -o out/test/aarch64/tls-gd/c.o -xc - -253: ++ set -x -253: + cc -fPIC -c -o out/test/aarch64/tls-irregular-start-addr/a.o -xc - -253: + cat -242: + out/test/aarch64/thin-archive/exe 242: + grep -q 15 242: + on_exit 242: + echo OK 242: OK 242: + exit 0 -250: + cc -B. -o out/test/aarch64/tls-gd-to-ie/exe1 out/test/aarch64/tls-gd-to-ie/b.o out/test/aarch64/tls-gd-to-ie/c.so -243/336 Test #242: aarch64-thin-archive ..................................... Passed 0.36 sec +253: ++ set -x +253: + cat +251: + gcc -fPIC -c -o out/test/aarch64/tls-gd/b.o -xc - +251: + cat +243/336 Test #242: aarch64-thin-archive ..................................... Passed 0.66 sec test 255 Start 255: aarch64-tls-large-static-image @@ -19006,6 +19033,7 @@ 255: MACHINE=aarch64 255: CPU= 255: Test timeout computed to be: 1500 +253: + cc -fPIC -c -o out/test/aarch64/tls-irregular-start-addr/a.o -xc - 254: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/tls-large-alignment.sh 254: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 254: ++ export LC_ALL=C @@ -19023,21 +19051,12 @@ 254: ++ QEMU= 254: ++ case $MACHINE in 254: ++ tlsdesc_opt=-mtls-dialect=desc -254: +++ uname -254: ++ '[' Linux = FreeBSD ']' -254: ++ trap 'on_error $LINENO' ERR -254: ++ trap on_exit EXIT -254: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/tls-large-alignment.sh .sh -254: ++ testname=tls-large-alignment -254: ++ echo -n 'Testing tls-large-alignment ... ' -254: Testing tls-large-alignment ... ++ t=out/test/aarch64/tls-large-alignment -254: ++ mkdir -p out/test/aarch64/tls-large-alignment -249: + cc -B. -shared -o out/test/aarch64/tls-gd-noplt/d.so out/test/aarch64/tls-gd-noplt/b.o -243: + on_exit -243: + echo OK -243: OK -243: + exit 0 -244/336 Test #243: aarch64-thread-count ..................................... Passed 0.37 sec +244: + on_exit +244: + echo OK +244: OK +244: + exit 0 +249: + gcc -fPIC -fno-plt -c -o out/test/aarch64/tls-gd-noplt/c.o -xc - +244/336 Test #244: aarch64-tls-alignment-multi .............................. Passed 0.43 sec test 256 Start 256: aarch64-tls-ld-noplt @@ -19047,7 +19066,21 @@ 256: MACHINE=aarch64 256: CPU= 256: Test timeout computed to be: 1500 +254: +++ uname +254: ++ '[' Linux = FreeBSD ']' +254: ++ trap 'on_error $LINENO' ERR +254: ++ trap on_exit EXIT +249: + cat +243: + cc -B. -o out/test/aarch64/thread-count/exe out/test/aarch64/thread-count/a.o -Wl,--threads=1 252: + cc -B. -shared -o out/test/aarch64/tls-ie/b.so out/test/aarch64/tls-ie/a.o +248: + gcc -fPIC -c -o out/test/aarch64/tls-gd-dlopen/c.o -xc - +248: + cat +254: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/tls-large-alignment.sh .sh +255: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/tls-large-static-image.sh +254: ++ testname=tls-large-alignment +254: ++ echo -n 'Testing tls-large-alignment ... ' +254: Testing tls-large-alignment ... ++ t=out/test/aarch64/tls-large-alignment +254: ++ mkdir -p out/test/aarch64/tls-large-alignment 256: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/tls-ld-noplt.sh 256: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 256: ++ export LC_ALL=C @@ -19063,45 +19096,6 @@ 256: ++ OBJCOPY=objcopy 256: ++ STRIP=strip 256: ++ QEMU= -256: ++ case $MACHINE in -256: ++ tlsdesc_opt=-mtls-dialect=desc -256: +++ uname -248: + grep -q '3 0 5' -256: ++ '[' Linux = FreeBSD ']' -256: ++ trap 'on_error $LINENO' ERR -256: ++ trap on_exit EXIT -256: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/tls-ld-noplt.sh .sh -256: ++ testname=tls-ld-noplt -256: ++ echo -n 'Testing tls-ld-noplt ... ' -256: Testing tls-ld-noplt ... ++ t=out/test/aarch64/tls-ld-noplt -256: ++ mkdir -p out/test/aarch64/tls-ld-noplt -254: ++ set -x -254: + cat -254: + cc -fPIC -std=c11 -c -o out/test/aarch64/tls-large-alignment/a.o -xc - -256: ++ set -x -248: + out/test/aarch64/tls-gd-dlopen/exe out/test/aarch64/tls-gd-dlopen/b.so -248: + on_exit -248: + echo OK -248: OK -248: + exit 0 -245/336 Test #248: aarch64-tls-gd-dlopen .................................... Passed 0.24 sec -test 257 - Start 257: aarch64-tls-ld - -257: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/tls-ld.sh" -257: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -257: Environment variables: -257: MACHINE=aarch64 -257: CPU= -257: Test timeout computed to be: 1500 -191: + out/test/aarch64/relocatable-many-sections/exe -191: + grep -q Hello -191: + on_exit -191: + echo OK -191: OK -191: + exit 0 -253: + cc -B. -o out/test/aarch64/tls-irregular-start-addr/exe1 out/test/aarch64/tls-irregular-start-addr/a.o -pie -Wl,-section-start=.tdata=0x100001 -Wl,-relax -255: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/tls-large-static-image.sh 255: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 255: ++ export LC_ALL=C 255: ++ LC_ALL=C @@ -19118,12 +19112,75 @@ 255: ++ QEMU= 255: ++ case $MACHINE in 255: ++ tlsdesc_opt=-mtls-dialect=desc +256: ++ case $MACHINE in +256: ++ tlsdesc_opt=-mtls-dialect=desc +246: + readelf --dynamic out/test/aarch64/tls-df-static-tls/c.so 255: +++ uname 255: ++ '[' Linux = FreeBSD ']' 255: ++ trap 'on_error $LINENO' ERR 255: ++ trap on_exit EXIT -256: + cat +246: + grep -q STATIC_TLS +246: + on_exit +246: + echo OK +246: OK +246: + exit 0 +254: ++ set -x +254: + cat +245/336 Test #246: aarch64-tls-df-static-tls ................................ Passed 0.33 sec +test 257 + Start 257: aarch64-tls-ld + +257: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/tls-ld.sh" +257: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +257: Environment variables: +257: MACHINE=aarch64 +257: CPU= +257: Test timeout computed to be: 1500 +254: + cc -fPIC -std=c11 -c -o out/test/aarch64/tls-large-alignment/a.o -xc - +256: +++ uname +256: ++ '[' Linux = FreeBSD ']' +256: ++ trap 'on_error $LINENO' ERR +256: ++ trap on_exit EXIT +256: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/tls-ld-noplt.sh .sh +256: ++ testname=tls-ld-noplt +256: ++ echo -n 'Testing tls-ld-noplt ... ' +256: Testing tls-ld-noplt ... ++ t=out/test/aarch64/tls-ld-noplt +256: ++ mkdir -p out/test/aarch64/tls-ld-noplt +255: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/tls-large-static-image.sh .sh +255: ++ testname=tls-large-static-image +255: ++ echo -n 'Testing tls-large-static-image ... ' +255: Testing tls-large-static-image ... ++ t=out/test/aarch64/tls-large-static-image +255: ++ mkdir -p out/test/aarch64/tls-large-static-image +255: ++ set -x +250: + cc -B. -shared -o out/test/aarch64/tls-gd-to-ie/c.so out/test/aarch64/tls-gd-to-ie/a.o +243: + on_exit +243: + echo OK +243: OK +243: + exit 0 +246/336 Test #243: aarch64-thread-count ..................................... Passed 0.56 sec +test 258 + Start 258: aarch64-tls-le-error + +258: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/tls-le-error.sh" +258: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +258: Environment variables: +258: MACHINE=aarch64 +258: CPU= +258: Test timeout computed to be: 1500 +255: + cc -fPIC -c -o out/test/aarch64/tls-large-static-image/a.o -xc - +255: + cat +256: ++ set -x 256: + gcc -fPIC -ftls-model=local-dynamic -fno-plt -c -o out/test/aarch64/tls-ld-noplt/a.o -xc - +256: + cat +251: + cat +251: + gcc -fPIC -c -o out/test/aarch64/tls-gd/c.o -xc - +247: + out/test/aarch64/tls-dso/exe +247: + grep -q '5 3 5 3 5 3' +247: + on_exit +247: + echo OK +247: OK +247: + exit 0 +248: + cc -B. -o out/test/aarch64/tls-gd-dlopen/exe out/test/aarch64/tls-gd-dlopen/c.o -ldl 257: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/tls-ld.sh 257: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 257: ++ export LC_ALL=C @@ -19141,21 +19198,18 @@ 257: ++ QEMU= 257: ++ case $MACHINE in 257: ++ tlsdesc_opt=-mtls-dialect=desc -246/336 Test #191: aarch64-relocatable-many-sections ........................ Passed 2.07 sec -test 258 - Start 258: aarch64-tls-le-error +253: + cc -B. -o out/test/aarch64/tls-irregular-start-addr/exe1 out/test/aarch64/tls-irregular-start-addr/a.o -pie -Wl,-section-start=.tdata=0x100001 -Wl,-relax +249: + cc -B. -shared -o out/test/aarch64/tls-gd-noplt/d.so out/test/aarch64/tls-gd-noplt/b.o +247/336 Test #247: aarch64-tls-dso .......................................... Passed 0.36 sec +test 259 + Start 259: aarch64-tls-le -258: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/tls-le-error.sh" -258: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -258: Environment variables: -258: MACHINE=aarch64 -258: CPU= -258: Test timeout computed to be: 1500 -255: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/tls-large-static-image.sh .sh -255: ++ testname=tls-large-static-image -255: ++ echo -n 'Testing tls-large-static-image ... ' -255: Testing tls-large-static-image ... ++ t=out/test/aarch64/tls-large-static-image -255: ++ mkdir -p out/test/aarch64/tls-large-static-image +259: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/tls-le.sh" +259: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +259: Environment variables: +259: MACHINE=aarch64 +259: CPU= +259: Test timeout computed to be: 1500 257: +++ uname 257: ++ '[' Linux = FreeBSD ']' 257: ++ trap 'on_error $LINENO' ERR @@ -19165,16 +19219,8 @@ 257: ++ echo -n 'Testing tls-ld ... ' 257: Testing tls-ld ... ++ t=out/test/aarch64/tls-ld 257: ++ mkdir -p out/test/aarch64/tls-ld -250: + out/test/aarch64/tls-gd-to-ie/exe1 -250: + grep -q '1 2 3' -250: + cc -B. -shared -o out/test/aarch64/tls-gd-to-ie/d.so out/test/aarch64/tls-gd-to-ie/a.o -Wl,-no-relax -251: + cc -B. -shared -o out/test/aarch64/tls-gd/d.so out/test/aarch64/tls-gd/b.o 258: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/tls-le-error.sh -257: ++ set -x -183: + out/test/aarch64/range-extension-thunk3/exe -257: + cat 258: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc -257: + cc -fPIC -ftls-model=local-dynamic -c -o out/test/aarch64/tls-ld/a.o -xc - 258: ++ export LC_ALL=C 258: ++ LC_ALL=C 258: ++ '[' -z aarch64 ']' @@ -19190,41 +19236,23 @@ 258: ++ QEMU= 258: ++ case $MACHINE in 258: ++ tlsdesc_opt=-mtls-dialect=desc +254: + cat +257: ++ set -x +254: + cc -fPIC -std=c11 -c -o out/test/aarch64/tls-large-alignment/b.o -xc - 258: +++ uname 258: ++ '[' Linux = FreeBSD ']' 258: ++ trap 'on_error $LINENO' ERR 258: ++ trap on_exit EXIT +259: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/tls-le.sh +257: + cat +252: + gcc -c -o out/test/aarch64/tls-ie/c.o -xc - -fPIC +255: + cat +257: + cc -fPIC -ftls-model=local-dynamic -c -o out/test/aarch64/tls-ld/a.o -xc - 258: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/tls-le-error.sh .sh 258: ++ testname=tls-le-error 258: ++ echo -n 'Testing tls-le-error ... ' 258: Testing tls-le-error ... ++ t=out/test/aarch64/tls-le-error 258: ++ mkdir -p out/test/aarch64/tls-le-error -258: ++ set -x -258: + gcc -fPIC -c -o out/test/aarch64/tls-le-error/a.o -xc - -183: + on_exit -183: + echo OK -183: OK -183: + exit 0 -247/336 Test #183: aarch64-range-extension-thunk3 ........................... Passed 2.25 sec -test 259 - Start 259: aarch64-tls-le - -259: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/tls-le.sh" -259: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -259: Environment variables: -259: MACHINE=aarch64 -259: CPU= -259: Test timeout computed to be: 1500 -258: + cat -254: + cc -fPIC -std=c11 -c -o out/test/aarch64/tls-large-alignment/b.o -xc - -255: ++ set -x -254: + cat -255: + cat -249: + cc -B. -shared -o out/test/aarch64/tls-gd-noplt/e.so out/test/aarch64/tls-gd-noplt/c.o -Wl,--no-relax -255: + cc -fPIC -c -o out/test/aarch64/tls-large-static-image/a.o -xc - -252: + cat -252: + gcc -c -o out/test/aarch64/tls-ie/c.o -xc - -fPIC -259: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/tls-le.sh 259: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 259: ++ export LC_ALL=C 259: ++ LC_ALL=C @@ -19241,45 +19269,40 @@ 259: ++ QEMU= 259: ++ case $MACHINE in 259: ++ tlsdesc_opt=-mtls-dialect=desc +255: + cc -fPIC -c -o out/test/aarch64/tls-large-static-image/b.o -xc - +252: + cat +253: + grep -q '^42$' +253: + out/test/aarch64/tls-irregular-start-addr/exe1 +250: + cc -B. -o out/test/aarch64/tls-gd-to-ie/exe1 out/test/aarch64/tls-gd-to-ie/b.o out/test/aarch64/tls-gd-to-ie/c.so +253: + cc -B. -o out/test/aarch64/tls-irregular-start-addr/exe2 out/test/aarch64/tls-irregular-start-addr/a.o -pie -Wl,-section-start=.tdata=0x100001 -Wl,-no-relax +258: ++ set -x +258: + cat 259: +++ uname 259: ++ '[' Linux = FreeBSD ']' +251: + cc -B. -shared -o out/test/aarch64/tls-gd/d.so out/test/aarch64/tls-gd/b.o 259: ++ trap 'on_error $LINENO' ERR 259: ++ trap on_exit EXIT -256: + cat -256: + gcc -fPIC -ftls-model=local-dynamic -fno-plt -c -o out/test/aarch64/tls-ld-noplt/b.o -xc - 254: + cc -fPIC -c -o out/test/aarch64/tls-large-alignment/c.o -xc - -258: + cc -B. -shared -o out/test/aarch64/tls-le-error/b.so out/test/aarch64/tls-le-error/a.o 254: + cat -257: + cat -257: + gcc -fPIC -ftls-model=local-dynamic -c -o out/test/aarch64/tls-ld/b.o -xc - -153: + grep -Fq 'GLOBAL DEFAULT 100000' out/test/aarch64/many-sections2/log2 +258: + gcc -fPIC -c -o out/test/aarch64/tls-le-error/a.o -xc - +256: + gcc -fPIC -ftls-model=local-dynamic -fno-plt -c -o out/test/aarch64/tls-ld-noplt/b.o -xc - +256: + cat 259: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/tls-le.sh .sh -251: + cc -B. -shared -o out/test/aarch64/tls-gd/e.so out/test/aarch64/tls-gd/c.o -Wl,--no-relax 259: ++ testname=tls-le 259: ++ echo -n 'Testing tls-le ... ' 259: Testing tls-le ... ++ t=out/test/aarch64/tls-le 259: ++ mkdir -p out/test/aarch64/tls-le 259: ++ set -x +249: + cc -B. -shared -o out/test/aarch64/tls-gd-noplt/e.so out/test/aarch64/tls-gd-noplt/c.o -Wl,--no-relax +248: + grep -q '3 0 5' +248: + out/test/aarch64/tls-gd-dlopen/exe out/test/aarch64/tls-gd-dlopen/b.so 259: + gcc -fPIC -c -o out/test/aarch64/tls-le/a.o -xc - 259: + cat -253: + grep -q '^42$' -253: + out/test/aarch64/tls-irregular-start-addr/exe1 -255: + cc -fPIC -c -o out/test/aarch64/tls-large-static-image/b.o -xc - -256: + cc -B. -o out/test/aarch64/tls-ld-noplt/exe out/test/aarch64/tls-ld-noplt/a.o out/test/aarch64/tls-ld-noplt/b.o -255: + cat -153: + grep -Fq 'ABS foo' out/test/aarch64/many-sections2/log2 -253: + cc -B. -o out/test/aarch64/tls-irregular-start-addr/exe2 out/test/aarch64/tls-irregular-start-addr/a.o -pie -Wl,-section-start=.tdata=0x100001 -Wl,-no-relax -153: + grep -Fq 'ABS x68966' out/test/aarch64/many-sections2/log2 -250: + cc -B. -o out/test/aarch64/tls-gd-to-ie/exe2 out/test/aarch64/tls-gd-to-ie/b.o out/test/aarch64/tls-gd-to-ie/d.so -254: + cc -B. -shared -o out/test/aarch64/tls-large-alignment/d.so out/test/aarch64/tls-large-alignment/a.o out/test/aarch64/tls-large-alignment/b.o -252: + cc -B. -o out/test/aarch64/tls-ie/exe out/test/aarch64/tls-ie/b.so out/test/aarch64/tls-ie/c.o -251: + cc -B. -o out/test/aarch64/tls-gd/exe1 out/test/aarch64/tls-gd/a.o out/test/aarch64/tls-gd/d.so out/test/aarch64/tls-gd/e.so -257: + cc -B. -o out/test/aarch64/tls-ld/exe1 out/test/aarch64/tls-ld/a.o out/test/aarch64/tls-ld/b.o -Wl,-relax -153: + on_exit -153: + echo OK -153: OK -153: + exit 0 -248/336 Test #153: aarch64-many-sections2 ................................... Passed 2.99 sec +248: + on_exit +248: + echo OK +248: OK +248: + exit 0 +248/336 Test #248: aarch64-tls-gd-dlopen .................................... Passed 0.44 sec test 260 Start 260: aarch64-tls-nopic @@ -19289,8 +19312,15 @@ 260: MACHINE=aarch64 260: CPU= 260: Test timeout computed to be: 1500 -259: + gcc -fPIC -c -o out/test/aarch64/tls-le/b.o -xc - -259: + cat +253: + out/test/aarch64/tls-irregular-start-addr/exe2 +253: + grep -q '^42$' +253: + cc -B. -o out/test/aarch64/tls-irregular-start-addr/exe3 out/test/aarch64/tls-irregular-start-addr/a.o -pie -Wl,-section-start=.tdata=0x10000f -Wl,-relax +255: + cc -B. -o out/test/aarch64/tls-large-static-image/exe out/test/aarch64/tls-large-static-image/a.o out/test/aarch64/tls-large-static-image/b.o +257: + cat +257: + gcc -fPIC -ftls-model=local-dynamic -c -o out/test/aarch64/tls-ld/b.o -xc - +254: + cc -B. -shared -o out/test/aarch64/tls-large-alignment/d.so out/test/aarch64/tls-large-alignment/a.o out/test/aarch64/tls-large-alignment/b.o +252: + cc -B. -o out/test/aarch64/tls-ie/exe out/test/aarch64/tls-ie/b.so out/test/aarch64/tls-ie/c.o +256: + cc -B. -o out/test/aarch64/tls-ld-noplt/exe out/test/aarch64/tls-ld-noplt/a.o out/test/aarch64/tls-ld-noplt/b.o 260: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/tls-nopic.sh 260: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 260: ++ export LC_ALL=C @@ -19308,24 +19338,49 @@ 260: ++ QEMU= 260: ++ case $MACHINE in 260: ++ tlsdesc_opt=-mtls-dialect=desc -258: + grep -q 'relocation .* against `foo` can not be used when making a shared object; recompile with -fPIC' out/test/aarch64/tls-le-error/log +250: + grep -q '1 2 3' +250: + out/test/aarch64/tls-gd-to-ie/exe1 +251: + cc -B. -shared -o out/test/aarch64/tls-gd/e.so out/test/aarch64/tls-gd/c.o -Wl,--no-relax +250: + cc -B. -shared -o out/test/aarch64/tls-gd-to-ie/d.so out/test/aarch64/tls-gd-to-ie/a.o -Wl,-no-relax 260: +++ uname -255: + cc -B. -o out/test/aarch64/tls-large-static-image/exe out/test/aarch64/tls-large-static-image/a.o out/test/aarch64/tls-large-static-image/b.o 260: ++ '[' Linux = FreeBSD ']' 260: ++ trap 'on_error $LINENO' ERR 260: ++ trap on_exit EXIT 260: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/tls-nopic.sh .sh -253: + out/test/aarch64/tls-irregular-start-addr/exe2 +259: + gcc -fPIC -c -o out/test/aarch64/tls-le/b.o -xc - +258: + cc -B. -shared -o out/test/aarch64/tls-le-error/b.so out/test/aarch64/tls-le-error/a.o +259: + cat 260: ++ testname=tls-nopic 260: ++ echo -n 'Testing tls-nopic ... ' 260: Testing tls-nopic ... ++ t=out/test/aarch64/tls-nopic 260: ++ mkdir -p out/test/aarch64/tls-nopic +260: ++ set -x +257: + cc -B. -o out/test/aarch64/tls-ld/exe1 out/test/aarch64/tls-ld/a.o out/test/aarch64/tls-ld/b.o -Wl,-relax +260: + gcc -c -o out/test/aarch64/tls-nopic/a.o -xc - 253: + grep -q '^42$' -258: + on_exit -258: + echo OK -258: OK -258: + exit 0 -249/336 Test #258: aarch64-tls-le-error ..................................... Passed 0.10 sec +253: + out/test/aarch64/tls-irregular-start-addr/exe3 +260: + cat +254: + cc -B. -o out/test/aarch64/tls-large-alignment/exe1 out/test/aarch64/tls-large-alignment/a.o out/test/aarch64/tls-large-alignment/b.o out/test/aarch64/tls-large-alignment/c.o +256: + out/test/aarch64/tls-ld-noplt/exe +256: + grep -q '3 5 3 5' +249: + cc -B. -o out/test/aarch64/tls-gd-noplt/exe out/test/aarch64/tls-gd-noplt/a.o out/test/aarch64/tls-gd-noplt/d.so out/test/aarch64/tls-gd-noplt/e.so +253: + cc -B. -o out/test/aarch64/tls-irregular-start-addr/exe4 out/test/aarch64/tls-irregular-start-addr/a.o -pie -Wl,-section-start=.tdata=0x10000f -Wl,-no-relax +256: + cc -B. -o out/test/aarch64/tls-ld-noplt/exe out/test/aarch64/tls-ld-noplt/a.o out/test/aarch64/tls-ld-noplt/b.o -Wl,-no-relax +251: + cc -B. -o out/test/aarch64/tls-gd/exe1 out/test/aarch64/tls-gd/a.o out/test/aarch64/tls-gd/d.so out/test/aarch64/tls-gd/e.so +259: + cc -B. -o out/test/aarch64/tls-le/exe1 out/test/aarch64/tls-le/a.o out/test/aarch64/tls-le/b.o +250: + cc -B. -o out/test/aarch64/tls-gd-to-ie/exe2 out/test/aarch64/tls-gd-to-ie/b.o out/test/aarch64/tls-gd-to-ie/d.so +257: + grep -q '3 5 3 5' +257: + out/test/aarch64/tls-ld/exe1 +255: + out/test/aarch64/tls-large-static-image/exe +255: + grep -q '^1 2 3 0 5$' +257: + cc -B. -o out/test/aarch64/tls-ld/exe2 out/test/aarch64/tls-ld/a.o out/test/aarch64/tls-ld/b.o -Wl,-no-relax +252: + out/test/aarch64/tls-ie/exe +255: + on_exit +255: + echo OK +255: OK +255: + exit 0 +252: + grep -q '^0 0 3 5 7$' +249/336 Test #255: aarch64-tls-large-static-image ........................... Passed 0.34 sec test 261 Start 261: aarch64-tls-pic @@ -19335,17 +19390,13 @@ 261: MACHINE=aarch64 261: CPU= 261: Test timeout computed to be: 1500 -249: + cc -B. -o out/test/aarch64/tls-gd-noplt/exe out/test/aarch64/tls-gd-noplt/a.o out/test/aarch64/tls-gd-noplt/d.so out/test/aarch64/tls-gd-noplt/e.so -259: + cc -B. -o out/test/aarch64/tls-le/exe1 out/test/aarch64/tls-le/a.o out/test/aarch64/tls-le/b.o -253: + cc -B. -o out/test/aarch64/tls-irregular-start-addr/exe3 out/test/aarch64/tls-irregular-start-addr/a.o -pie -Wl,-section-start=.tdata=0x10000f -Wl,-relax +252: + cc -B. -o out/test/aarch64/tls-ie/exe out/test/aarch64/tls-ie/b.so out/test/aarch64/tls-ie/c.o -Wl,-no-relax 256: + out/test/aarch64/tls-ld-noplt/exe 256: + grep -q '3 5 3 5' -256: + cc -B. -o out/test/aarch64/tls-ld-noplt/exe out/test/aarch64/tls-ld-noplt/a.o out/test/aarch64/tls-ld-noplt/b.o -Wl,-no-relax -254: + cc -B. -o out/test/aarch64/tls-large-alignment/exe1 out/test/aarch64/tls-large-alignment/a.o out/test/aarch64/tls-large-alignment/b.o out/test/aarch64/tls-large-alignment/c.o -260: ++ set -x -260: + cat -260: + gcc -c -o out/test/aarch64/tls-nopic/a.o -xc - -252: + out/test/aarch64/tls-ie/exe +256: + on_exit +256: + echo OK +256: OK +256: + exit 0 261: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/tls-pic.sh 261: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 261: ++ export LC_ALL=C @@ -19363,37 +19414,11 @@ 261: ++ QEMU= 261: ++ case $MACHINE in 261: ++ tlsdesc_opt=-mtls-dialect=desc -252: + grep -q '^0 0 3 5 7$' -257: + out/test/aarch64/tls-ld/exe1 -252: + cc -B. -o out/test/aarch64/tls-ie/exe out/test/aarch64/tls-ie/b.so out/test/aarch64/tls-ie/c.o -Wl,-no-relax -250: + grep -q '1 2 3' 261: +++ uname 261: ++ '[' Linux = FreeBSD ']' 261: ++ trap 'on_error $LINENO' ERR 261: ++ trap on_exit EXIT -261: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/tls-pic.sh .sh -261: ++ testname=tls-pic -261: ++ echo -n 'Testing tls-pic ... ' -261: Testing tls-pic ... ++ t=out/test/aarch64/tls-pic -261: ++ mkdir -p out/test/aarch64/tls-pic -257: + grep -q '3 5 3 5' -261: ++ set -x -261: + gcc -fPIC -c -o out/test/aarch64/tls-pic/a.o -xc - -261: + cat -257: + cc -B. -o out/test/aarch64/tls-ld/exe2 out/test/aarch64/tls-ld/a.o out/test/aarch64/tls-ld/b.o -Wl,-no-relax -250: + out/test/aarch64/tls-gd-to-ie/exe2 -250: + cc -B. -shared -o out/test/aarch64/tls-gd-to-ie/e.so out/test/aarch64/tls-gd-to-ie/a.o -Wl,-z,nodlopen -255: + out/test/aarch64/tls-large-static-image/exe -255: + grep -q '^1 2 3 0 5$' -255: + on_exit -255: + echo OK -255: OK -255: + exit 0 -251: + out/test/aarch64/tls-gd/exe1 -251: + grep -q '1 2 3 4 5 6' -251: + cc -B. -o out/test/aarch64/tls-gd/exe2 out/test/aarch64/tls-gd/a.o out/test/aarch64/tls-gd/d.so out/test/aarch64/tls-gd/e.so -Wl,-no-relax -253: + grep -q '^42$' -250/336 Test #255: aarch64-tls-large-static-image ........................... Passed 0.17 sec +250/336 Test #256: aarch64-tls-ld-noplt ..................................... Passed 0.35 sec test 262 Start 262: aarch64-tls-small-alignment @@ -19403,17 +19428,9 @@ 262: MACHINE=aarch64 262: CPU= 262: Test timeout computed to be: 1500 -253: + out/test/aarch64/tls-irregular-start-addr/exe3 -253: + cc -B. -o out/test/aarch64/tls-irregular-start-addr/exe4 out/test/aarch64/tls-irregular-start-addr/a.o -pie -Wl,-section-start=.tdata=0x10000f -Wl,-no-relax -254: + out/test/aarch64/tls-large-alignment/exe1 -254: + grep -q '^42 1 2 3$' -254: + cc -B. -o out/test/aarch64/tls-large-alignment/exe2 out/test/aarch64/tls-large-alignment/c.o out/test/aarch64/tls-large-alignment/d.so -259: + out/test/aarch64/tls-le/exe1 -259: + grep -q '3 5 3 5' -259: + cc -B. -o out/test/aarch64/tls-le/exe2 out/test/aarch64/tls-le/a.o out/test/aarch64/tls-le/b.o -Wl,-no-relax -260: + cc -xc -c -o out/test/aarch64/tls-nopic/b.o - 260: + cat -249: + grep -q '1 2 3 4 5 6' +260: + cc -xc -c -o out/test/aarch64/tls-nopic/b.o - +261: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/tls-pic.sh .sh 262: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/tls-small-alignment.sh 262: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 262: ++ export LC_ALL=C @@ -19431,30 +19448,38 @@ 262: ++ QEMU= 262: ++ case $MACHINE in 262: ++ tlsdesc_opt=-mtls-dialect=desc -249: + out/test/aarch64/tls-gd-noplt/exe -249: + cc -B. -o out/test/aarch64/tls-gd-noplt/exe out/test/aarch64/tls-gd-noplt/a.o out/test/aarch64/tls-gd-noplt/d.so out/test/aarch64/tls-gd-noplt/e.so -Wl,-no-relax +261: ++ testname=tls-pic +261: ++ echo -n 'Testing tls-pic ... ' +261: Testing tls-pic ... ++ t=out/test/aarch64/tls-pic +261: ++ mkdir -p out/test/aarch64/tls-pic 262: +++ uname +259: + grep -q '3 5 3 5' 262: ++ '[' Linux = FreeBSD ']' 262: ++ trap 'on_error $LINENO' ERR 262: ++ trap on_exit EXIT -261: + cat 262: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/tls-small-alignment.sh .sh 262: ++ testname=tls-small-alignment 262: ++ echo -n 'Testing tls-small-alignment ... ' 262: Testing tls-small-alignment ... ++ t=out/test/aarch64/tls-small-alignment 262: ++ mkdir -p out/test/aarch64/tls-small-alignment +254: + grep -q '^42 1 2 3$' +254: + out/test/aarch64/tls-large-alignment/exe1 +251: + out/test/aarch64/tls-gd/exe1 +251: + grep -q '1 2 3 4 5 6' +251: + cc -B. -o out/test/aarch64/tls-gd/exe2 out/test/aarch64/tls-gd/a.o out/test/aarch64/tls-gd/d.so out/test/aarch64/tls-gd/e.so -Wl,-no-relax +259: + out/test/aarch64/tls-le/exe1 +259: + cc -B. -o out/test/aarch64/tls-le/exe2 out/test/aarch64/tls-le/a.o out/test/aarch64/tls-le/b.o -Wl,-no-relax +253: + grep -q '^42$' +253: + out/test/aarch64/tls-irregular-start-addr/exe4 +253: + on_exit +253: + echo OK +253: OK +253: + exit 0 +254: + cc -B. -o out/test/aarch64/tls-large-alignment/exe2 out/test/aarch64/tls-large-alignment/c.o out/test/aarch64/tls-large-alignment/d.so 262: ++ set -x -262: + cat -261: + cc -xc -c -o out/test/aarch64/tls-pic/b.o - -256: + grep -q '3 5 3 5' -260: + cc -B. -o out/test/aarch64/tls-nopic/exe out/test/aarch64/tls-nopic/a.o out/test/aarch64/tls-nopic/b.o -no-pie -256: + out/test/aarch64/tls-ld-noplt/exe -262: + cc -fPIC -c -o out/test/aarch64/tls-small-alignment/a.o -xassembler - -256: + on_exit -256: + echo OK -256: OK -256: + exit 0 -251/336 Test #256: aarch64-tls-ld-noplt ..................................... Passed 0.20 sec +250: + grep -q '1 2 3' +251/336 Test #253: aarch64-tls-irregular-start-addr ......................... Passed 0.50 sec +250: + out/test/aarch64/tls-gd-to-ie/exe2 test 263 Start 263: aarch64-tlsdesc-dlopen @@ -19464,11 +19489,49 @@ 263: MACHINE=aarch64 263: CPU= 263: Test timeout computed to be: 1500 -252: + grep -q '^0 0 3 5 7$' -252: + out/test/aarch64/tls-ie/exe -251: + out/test/aarch64/tls-gd/exe2 +250: + cc -B. -shared -o out/test/aarch64/tls-gd-to-ie/e.so out/test/aarch64/tls-gd-to-ie/a.o -Wl,-z,nodlopen +258: + grep -q 'relocation .* against `foo` can not be used when making a shared object; recompile with -fPIC' out/test/aarch64/tls-le-error/log +258: + on_exit +258: + echo OK +258: OK +258: + exit 0 +262: + cat +262: + cc -fPIC -c -o out/test/aarch64/tls-small-alignment/a.o -xassembler - +257: + out/test/aarch64/tls-ld/exe2 +257: + grep -q '3 5 3 5' +249: + out/test/aarch64/tls-gd-noplt/exe +261: ++ set -x +252/336 Test #258: aarch64-tls-le-error ..................................... Passed 0.35 sec +test 264 + Start 264: aarch64-tlsdesc-import + +264: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/tlsdesc-import.sh" +264: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +264: Environment variables: +264: MACHINE=aarch64 +264: CPU= +264: Test timeout computed to be: 1500 +257: + on_exit +257: + echo OK +257: OK +257: + exit 0 +249: + grep -q '1 2 3 4 5 6' +253/336 Test #257: aarch64-tls-ld ........................................... Passed 0.37 sec +test 265 + Start 265: aarch64-tlsdesc-initial-exec + +265: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/tlsdesc-initial-exec.sh" +265: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +265: Environment variables: +265: MACHINE=aarch64 +265: CPU= +265: Test timeout computed to be: 1500 +249: + cc -B. -o out/test/aarch64/tls-gd-noplt/exe out/test/aarch64/tls-gd-noplt/a.o out/test/aarch64/tls-gd-noplt/d.so out/test/aarch64/tls-gd-noplt/e.so -Wl,-no-relax +261: + cat +261: + gcc -fPIC -c -o out/test/aarch64/tls-pic/a.o -xc - +262: + cc -fPIC -std=c11 -c -o out/test/aarch64/tls-small-alignment/b.o -xc - +260: + cc -B. -o out/test/aarch64/tls-nopic/exe out/test/aarch64/tls-nopic/a.o out/test/aarch64/tls-nopic/b.o -no-pie 263: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/tlsdesc-dlopen.sh -251: + grep -q '1 2 3 4 5 6' 263: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 263: ++ export LC_ALL=C 263: ++ LC_ALL=C @@ -19485,59 +19548,6 @@ 263: ++ QEMU= 263: ++ case $MACHINE in 263: ++ tlsdesc_opt=-mtls-dialect=desc -251: + test_cflags -static -251: + echo 'int main() {}' -251: + cc -B. -static -o /dev/null -xc - -263: +++ uname -253: + grep -q '^42$' -263: ++ '[' Linux = FreeBSD ']' -263: ++ trap 'on_error $LINENO' ERR -263: ++ trap on_exit EXIT -250: + cc -B. -o out/test/aarch64/tls-gd-to-ie/exe3 out/test/aarch64/tls-gd-to-ie/b.o out/test/aarch64/tls-gd-to-ie/e.so -263: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/tlsdesc-dlopen.sh .sh -253: + out/test/aarch64/tls-irregular-start-addr/exe4 -261: + cc -B. -o out/test/aarch64/tls-pic/exe out/test/aarch64/tls-pic/a.o out/test/aarch64/tls-pic/b.o -263: ++ testname=tlsdesc-dlopen -263: ++ echo -n 'Testing tlsdesc-dlopen ... ' -263: Testing tlsdesc-dlopen ... ++ t=out/test/aarch64/tlsdesc-dlopen -263: ++ mkdir -p out/test/aarch64/tlsdesc-dlopen -253: + on_exit -253: + echo OK -253: OK -253: + exit 0 -252: + on_exit -252: + echo OK -252: OK -252: + exit 0 -252/336 Test #252: aarch64-tls-ie ........................................... Passed 0.27 sec -test 264 - Start 264: aarch64-tlsdesc-import - -264: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/tlsdesc-import.sh" -264: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -264: Environment variables: -264: MACHINE=aarch64 -264: CPU= -264: Test timeout computed to be: 1500 -262: + cat -262: + cc -fPIC -std=c11 -c -o out/test/aarch64/tls-small-alignment/b.o -xc - -263: ++ set -x -263: + supports_tlsdesc -263: + '[' aarch64 = arm ']' -263: ++ uname -263: + '[' Linux = FreeBSD ']' -263: + '[' -mtls-dialect=desc '!=' '' ']' -263: + gcc -fPIC -c -o out/test/aarch64/tlsdesc-dlopen/a.o -xc - -mtls-dialect=desc -263: + cat -253/336 Test #253: aarch64-tls-irregular-start-addr ......................... Passed 0.28 sec -257: + grep -q '3 5 3 5' -257: + out/test/aarch64/tls-ld/exe2 -257: + on_exit -257: + echo OK -257: OK -257: + exit 0 -254: + out/test/aarch64/tls-large-alignment/exe2 -254: + grep -q '^42 1 2 3$' 264: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/tlsdesc-import.sh 264: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 264: ++ export LC_ALL=C @@ -19557,29 +19567,6 @@ 264: ++ tlsdesc_opt=-mtls-dialect=desc 264: +++ uname 264: ++ '[' Linux = FreeBSD ']' -254/336 Test #257: aarch64-tls-ld ........................................... Passed 0.21 sec -test 265 - Start 265: aarch64-tlsdesc-initial-exec - -265: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/tlsdesc-initial-exec.sh" -265: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -265: Environment variables: -265: MACHINE=aarch64 -265: CPU= -265: Test timeout computed to be: 1500 -test 266 - Start 266: aarch64-tlsdesc-local-dynamic - -266: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/tlsdesc-local-dynamic.sh" -266: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -266: Environment variables: -266: MACHINE=aarch64 -266: CPU= -266: Test timeout computed to be: 1500 -254: + on_exit -254: + echo OK -254: OK -254: + exit 0 264: ++ trap 'on_error $LINENO' ERR 264: ++ trap on_exit EXIT 264: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/tlsdesc-import.sh .sh @@ -19590,14 +19577,13 @@ 264: ++ set -x 264: + supports_tlsdesc 264: + '[' aarch64 = arm ']' -264: ++ uname -249: + grep -q '1 2 3 4 5 6' -249: + out/test/aarch64/tls-gd-noplt/exe -249: + on_exit -249: + echo OK -249: OK -249: + exit 0 -259: + grep -q '3 5 3 5' +252: + out/test/aarch64/tls-ie/exe +252: + grep -q '^0 0 3 5 7$' +262: + cat +263: +++ uname +263: ++ '[' Linux = FreeBSD ']' +263: ++ trap 'on_error $LINENO' ERR +263: ++ trap on_exit EXIT 265: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/tlsdesc-initial-exec.sh 265: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 265: ++ export LC_ALL=C @@ -19615,7 +19601,35 @@ 265: ++ QEMU= 265: ++ case $MACHINE in 265: ++ tlsdesc_opt=-mtls-dialect=desc +252: + on_exit +252: + echo OK +252: OK +252: + exit 0 +254/336 Test #252: aarch64-tls-ie ........................................... Passed 0.61 sec +test 266 + Start 266: aarch64-tlsdesc-local-dynamic + +266: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/tlsdesc-local-dynamic.sh" +266: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +266: Environment variables: +266: MACHINE=aarch64 +266: CPU= +266: Test timeout computed to be: 1500 +264: ++ uname +264: + '[' Linux = FreeBSD ']' +264: + '[' -mtls-dialect=desc '!=' '' ']' +263: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/tlsdesc-dlopen.sh .sh +263: ++ testname=tlsdesc-dlopen +263: ++ echo -n 'Testing tlsdesc-dlopen ... ' +263: Testing tlsdesc-dlopen ... ++ t=out/test/aarch64/tlsdesc-dlopen +263: ++ mkdir -p out/test/aarch64/tlsdesc-dlopen 265: +++ uname +265: ++ '[' Linux = FreeBSD ']' +265: ++ trap 'on_error $LINENO' ERR +265: ++ trap on_exit EXIT +264: + cat +264: + gcc -fPIC -c -o out/test/aarch64/tlsdesc-import/a.o -xc - -mtls-dialect=desc +262: + cc -fPIC -c -o out/test/aarch64/tls-small-alignment/c.o -xc - 266: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/tlsdesc-local-dynamic.sh 266: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 266: ++ export LC_ALL=C @@ -19633,8 +19647,51 @@ 266: ++ QEMU= 266: ++ case $MACHINE in 266: ++ tlsdesc_opt=-mtls-dialect=desc -255/336 Test #249: aarch64-tls-gd-noplt ..................................... Passed 0.41 sec -256/336 Test #254: aarch64-tls-large-alignment .............................. Passed 0.26 sec +266: +++ uname +265: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/tlsdesc-initial-exec.sh .sh +263: ++ set -x +263: + supports_tlsdesc +263: + '[' aarch64 = arm ']' +263: ++ uname +263: + '[' Linux = FreeBSD ']' +263: + '[' -mtls-dialect=desc '!=' '' ']' +262: + cat +263: + cat +266: ++ '[' Linux = FreeBSD ']' +266: ++ trap 'on_error $LINENO' ERR +266: ++ trap on_exit EXIT +266: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/tlsdesc-local-dynamic.sh .sh +265: ++ testname=tlsdesc-initial-exec +265: ++ echo -n 'Testing tlsdesc-initial-exec ... ' +265: Testing tlsdesc-initial-exec ... ++ t=out/test/aarch64/tlsdesc-initial-exec +265: ++ mkdir -p out/test/aarch64/tlsdesc-initial-exec +251: + grep -q '1 2 3 4 5 6' +251: + out/test/aarch64/tls-gd/exe2 +266: ++ testname=tlsdesc-local-dynamic +266: ++ echo -n 'Testing tlsdesc-local-dynamic ... ' +266: Testing tlsdesc-local-dynamic ... ++ t=out/test/aarch64/tlsdesc-local-dynamic +266: ++ mkdir -p out/test/aarch64/tlsdesc-local-dynamic +251: + test_cflags -static +265: ++ set -x +265: + supports_tlsdesc +265: + '[' aarch64 = arm ']' +251: + cc -B. -static -o /dev/null -xc - +266: ++ set -x +266: + supports_tlsdesc +266: + '[' aarch64 = arm ']' +263: + gcc -fPIC -c -o out/test/aarch64/tlsdesc-dlopen/a.o -xc - -mtls-dialect=desc +265: ++ uname +265: + '[' Linux = FreeBSD ']' +265: + '[' -mtls-dialect=desc '!=' '' ']' +251: + echo 'int main() {}' +259: + grep -q '3 5 3 5' +259: + out/test/aarch64/tls-le/exe2 +265: + gcc -fPIC -fPIC -c -o out/test/aarch64/tlsdesc-initial-exec/a.o -xc - -mtls-dialect=desc +259: + on_exit +259: + echo OK +259: OK +259: + exit 0 +255/336 Test #259: aarch64-tls-le ........................................... Passed 0.41 sec test 267 Start 267: aarch64-tlsdesc-static @@ -19644,6 +19701,20 @@ 267: MACHINE=aarch64 267: CPU= 267: Test timeout computed to be: 1500 +266: ++ uname +266: + '[' Linux = FreeBSD ']' +266: + '[' -mtls-dialect=desc '!=' '' ']' +250: + cc -B. -o out/test/aarch64/tls-gd-to-ie/exe3 out/test/aarch64/tls-gd-to-ie/b.o out/test/aarch64/tls-gd-to-ie/e.so +265: + cat +254: + grep -q '^42 1 2 3$' +254: + out/test/aarch64/tls-large-alignment/exe2 +266: + cat +266: + gcc -fPIC -ftls-model=local-dynamic -c -o out/test/aarch64/tlsdesc-local-dynamic/a.o -xc - -mtls-dialect=desc +254: + on_exit +254: + echo OK +254: OK +254: + exit 0 +256/336 Test #254: aarch64-tls-large-alignment .............................. Passed 0.55 sec test 268 Start 268: aarch64-tlsdesc @@ -19653,33 +19724,6 @@ 268: MACHINE=aarch64 268: CPU= 268: Test timeout computed to be: 1500 -264: + '[' Linux = FreeBSD ']' -264: + '[' -mtls-dialect=desc '!=' '' ']' -264: + cat -264: + gcc -fPIC -c -o out/test/aarch64/tlsdesc-import/a.o -xc - -mtls-dialect=desc -259: + out/test/aarch64/tls-le/exe2 -259: + on_exit -259: + echo OK -259: OK -259: + exit 0 -265: ++ '[' Linux = FreeBSD ']' -265: ++ trap 'on_error $LINENO' ERR -265: ++ trap on_exit EXIT -265: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/tlsdesc-initial-exec.sh .sh -265: ++ testname=tlsdesc-initial-exec -265: ++ echo -n 'Testing tlsdesc-initial-exec ... ' -265: Testing tlsdesc-initial-exec ... ++ t=out/test/aarch64/tlsdesc-initial-exec -265: ++ mkdir -p out/test/aarch64/tlsdesc-initial-exec -265: ++ set -x -265: + supports_tlsdesc -265: + '[' aarch64 = arm ']' -266: +++ uname -266: ++ '[' Linux = FreeBSD ']' -266: ++ trap 'on_error $LINENO' ERR -266: ++ trap on_exit EXIT -262: + cc -fPIC -c -o out/test/aarch64/tls-small-alignment/c.o -xc - -262: + cat -260: + out/test/aarch64/tls-nopic/exe 267: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/tlsdesc-static.sh 267: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 267: ++ export LC_ALL=C @@ -19697,7 +19741,22 @@ 267: ++ QEMU= 267: ++ case $MACHINE in 267: ++ tlsdesc_opt=-mtls-dialect=desc -257/336 Test #259: aarch64-tls-le ........................................... Passed 0.21 sec +267: +++ uname +267: ++ '[' Linux = FreeBSD ']' +267: ++ trap 'on_error $LINENO' ERR +267: ++ trap on_exit EXIT +261: + cat +261: + cc -xc -c -o out/test/aarch64/tls-pic/b.o - +260: + grep -q '3 5 3 5' +260: + out/test/aarch64/tls-nopic/exe +260: + on_exit +260: + echo OK +260: OK +260: + exit 0 +264: + cat +264: + gcc -fPIC -shared -o out/test/aarch64/tlsdesc-import/b.so -xc - -mtls-dialect=desc +262: + cc -B. -shared -o out/test/aarch64/tls-small-alignment/d.so out/test/aarch64/tls-small-alignment/a.o out/test/aarch64/tls-small-alignment/b.o +257/336 Test #260: aarch64-tls-nopic ........................................ Passed 0.35 sec test 269 Start 269: aarch64-trace-symbol-symver @@ -19707,30 +19766,12 @@ 269: MACHINE=aarch64 269: CPU= 269: Test timeout computed to be: 1500 -265: ++ uname -265: + '[' Linux = FreeBSD ']' -265: + '[' -mtls-dialect=desc '!=' '' ']' -265: + cat -266: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/tlsdesc-local-dynamic.sh .sh -266: ++ testname=tlsdesc-local-dynamic -266: ++ echo -n 'Testing tlsdesc-local-dynamic ... ' -266: Testing tlsdesc-local-dynamic ... ++ t=out/test/aarch64/tlsdesc-local-dynamic -266: ++ mkdir -p out/test/aarch64/tlsdesc-local-dynamic -266: ++ set -x -266: + supports_tlsdesc -266: + '[' aarch64 = arm ']' -266: ++ uname -260: + grep -q '3 5 3 5' -260: + on_exit -260: + echo OK -260: OK -260: + exit 0 -267: +++ uname -267: ++ '[' Linux = FreeBSD ']' -267: ++ trap 'on_error $LINENO' ERR -267: ++ trap on_exit EXIT -267: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/tlsdesc-static.sh .sh -263: + cc -B. -shared -o out/test/aarch64/tlsdesc-dlopen/b.so out/test/aarch64/tlsdesc-dlopen/a.o +249: + out/test/aarch64/tls-gd-noplt/exe +249: + grep -q '1 2 3 4 5 6' +249: + on_exit +249: + echo OK +249: OK +249: + exit 0 268: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/tlsdesc.sh 268: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 268: ++ export LC_ALL=C @@ -19748,25 +19789,14 @@ 268: ++ QEMU= 268: ++ case $MACHINE in 268: ++ tlsdesc_opt=-mtls-dialect=desc -268: +++ uname -268: ++ '[' Linux = FreeBSD ']' -268: ++ trap 'on_error $LINENO' ERR -268: ++ trap on_exit EXIT -268: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/tlsdesc.sh .sh -268: ++ testname=tlsdesc -268: ++ echo -n 'Testing tlsdesc ... ' -268: Testing tlsdesc ... ++ t=out/test/aarch64/tlsdesc -268: ++ mkdir -p out/test/aarch64/tlsdesc -268: ++ set -x -268: + supports_tlsdesc -268: + '[' aarch64 = arm ']' -261: + grep -q '3 5 3 5' -261: + out/test/aarch64/tls-pic/exe -261: + on_exit -261: + echo OK -261: OK -261: + exit 0 -258/336 Test #260: aarch64-tls-nopic ........................................ Passed 0.16 sec +267: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/tlsdesc-static.sh .sh +267: ++ testname=tlsdesc-static +267: ++ echo -n 'Testing tlsdesc-static ... ' +267: Testing tlsdesc-static ... ++ t=out/test/aarch64/tlsdesc-static +267: ++ mkdir -p out/test/aarch64/tlsdesc-static +265: + cc -B. -shared -o out/test/aarch64/tlsdesc-initial-exec/b.so out/test/aarch64/tlsdesc-initial-exec/a.o +263: + cc -B. -shared -o out/test/aarch64/tlsdesc-dlopen/b.so out/test/aarch64/tlsdesc-dlopen/a.o +258/336 Test #249: aarch64-tls-gd-noplt ..................................... Passed 0.79 sec test 270 Start 270: aarch64-trace-symbol @@ -19776,15 +19806,10 @@ 270: MACHINE=aarch64 270: CPU= 270: Test timeout computed to be: 1500 -265: + gcc -fPIC -fPIC -c -o out/test/aarch64/tlsdesc-initial-exec/a.o -xc - -mtls-dialect=desc -266: + '[' Linux = FreeBSD ']' -266: + '[' -mtls-dialect=desc '!=' '' ']' -266: + gcc -fPIC -ftls-model=local-dynamic -c -o out/test/aarch64/tlsdesc-local-dynamic/a.o -xc - -mtls-dialect=desc -266: + cat -267: ++ testname=tlsdesc-static -267: ++ echo -n 'Testing tlsdesc-static ... ' -267: Testing tlsdesc-static ... ++ t=out/test/aarch64/tlsdesc-static -267: ++ mkdir -p out/test/aarch64/tlsdesc-static +268: +++ uname +268: ++ '[' Linux = FreeBSD ']' +268: ++ trap 'on_error $LINENO' ERR +268: ++ trap on_exit EXIT 267: ++ set -x 267: + supports_tlsdesc 267: + '[' aarch64 = arm ']' @@ -19792,17 +19817,14 @@ 267: + '[' Linux = FreeBSD ']' 267: + '[' -mtls-dialect=desc '!=' '' ']' 267: + test_cflags -static -267: + cc -B. -static -o /dev/null -xc - -268: ++ uname -268: + '[' Linux = FreeBSD ']' -268: + '[' -mtls-dialect=desc '!=' '' ']' -268: + gcc -fPIC -c -o out/test/aarch64/tlsdesc/a.o -xc - -mtls-dialect=desc -268: + cat -259/336 Test #261: aarch64-tls-pic .......................................... Passed 0.15 sec -250: + grep -q '1 2 3' -250: + out/test/aarch64/tls-gd-to-ie/exe3 -250: + cc -B. -shared -o out/test/aarch64/tls-gd-to-ie/f.so out/test/aarch64/tls-gd-to-ie/a.o -Wl,-z,nodlopen -Wl,-no-relax +266: + gcc -fPIC -ftls-model=local-dynamic -c -o out/test/aarch64/tlsdesc-local-dynamic/b.o -xc - -mtls-dialect=desc +266: + cat 269: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/trace-symbol-symver.sh +268: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/tlsdesc.sh .sh +268: ++ testname=tlsdesc +268: ++ echo -n 'Testing tlsdesc ... ' +268: Testing tlsdesc ... ++ t=out/test/aarch64/tlsdesc +268: ++ mkdir -p out/test/aarch64/tlsdesc 269: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 269: ++ export LC_ALL=C 269: ++ LC_ALL=C @@ -19819,26 +19841,12 @@ 269: ++ QEMU= 269: ++ case $MACHINE in 269: ++ tlsdesc_opt=-mtls-dialect=desc -269: +++ uname -269: ++ '[' Linux = FreeBSD ']' -269: ++ trap 'on_error $LINENO' ERR -269: ++ trap on_exit EXIT -262: + cc -B. -shared -o out/test/aarch64/tls-small-alignment/d.so out/test/aarch64/tls-small-alignment/a.o out/test/aarch64/tls-small-alignment/b.o -test 271 - Start 271: aarch64-trace - -271: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/trace.sh" -271: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -271: Environment variables: -271: MACHINE=aarch64 -271: CPU= -271: Test timeout computed to be: 1500 +267: + cc -B. -static -o /dev/null -xc - 267: + echo 'int main() {}' -269: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/trace-symbol-symver.sh .sh -269: ++ testname=trace-symbol-symver -269: ++ echo -n 'Testing trace-symbol-symver ... ' -269: Testing trace-symbol-symver ... ++ t=out/test/aarch64/trace-symbol-symver -269: ++ mkdir -p out/test/aarch64/trace-symbol-symver +261: + cc -B. -o out/test/aarch64/tls-pic/exe out/test/aarch64/tls-pic/a.o out/test/aarch64/tls-pic/b.o +268: ++ set -x +268: + supports_tlsdesc +268: + '[' aarch64 = arm ']' 270: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/trace-symbol.sh 270: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 270: ++ export LC_ALL=C @@ -19856,12 +19864,70 @@ 270: ++ QEMU= 270: ++ case $MACHINE in 270: ++ tlsdesc_opt=-mtls-dialect=desc +269: +++ uname +268: ++ uname +268: + '[' Linux = FreeBSD ']' +268: + '[' -mtls-dialect=desc '!=' '' ']' +268: + gcc -fPIC -c -o out/test/aarch64/tlsdesc/a.o -xc - -mtls-dialect=desc +268: + cat +266: + cc -B. -o out/test/aarch64/tlsdesc-local-dynamic/exe1 out/test/aarch64/tlsdesc-local-dynamic/a.o out/test/aarch64/tlsdesc-local-dynamic/b.o +269: ++ '[' Linux = FreeBSD ']' +269: ++ trap 'on_error $LINENO' ERR +269: ++ trap on_exit EXIT 270: +++ uname +250: + out/test/aarch64/tls-gd-to-ie/exe3 +250: + grep -q '1 2 3' +264: + cc -B. -o out/test/aarch64/tlsdesc-import/exe out/test/aarch64/tlsdesc-import/a.o out/test/aarch64/tlsdesc-import/b.so 270: ++ '[' Linux = FreeBSD ']' +250: + cc -B. -shared -o out/test/aarch64/tls-gd-to-ie/f.so out/test/aarch64/tls-gd-to-ie/a.o -Wl,-z,nodlopen -Wl,-no-relax 270: ++ trap 'on_error $LINENO' ERR 270: ++ trap on_exit EXIT -265: + cc -B. -shared -o out/test/aarch64/tlsdesc-initial-exec/b.so out/test/aarch64/tlsdesc-initial-exec/a.o +269: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/trace-symbol-symver.sh .sh +269: ++ testname=trace-symbol-symver +269: ++ echo -n 'Testing trace-symbol-symver ... ' +269: Testing trace-symbol-symver ... ++ t=out/test/aarch64/trace-symbol-symver +269: ++ mkdir -p out/test/aarch64/trace-symbol-symver +270: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/trace-symbol.sh .sh +270: ++ testname=trace-symbol +270: ++ echo -n 'Testing trace-symbol ... ' +270: Testing trace-symbol ... ++ t=out/test/aarch64/trace-symbol +270: ++ mkdir -p out/test/aarch64/trace-symbol +270: ++ set -x +269: ++ set -x +268: + gcc -fPIC -c -o out/test/aarch64/tlsdesc/b.o -xc - -mtls-dialect=desc +268: + cat +270: + cc -c -o out/test/aarch64/trace-symbol/a.o -xc - +269: + cc -c -o out/test/aarch64/trace-symbol-symver/a.o -xc - +269: + cat +270: + cat +265: + gcc -fPIC -fPIC -c -o out/test/aarch64/tlsdesc-initial-exec/c.o -xc - -mtls-dialect=desc +262: + cc -B. -o out/test/aarch64/tls-small-alignment/exe1 out/test/aarch64/tls-small-alignment/a.o out/test/aarch64/tls-small-alignment/b.o out/test/aarch64/tls-small-alignment/c.o +265: + cat +263: + gcc -fPIC -c -o out/test/aarch64/tlsdesc-dlopen/c.o -xc - -mtls-dialect=desc +263: + cat +251: + cc -B. -o out/test/aarch64/tls-gd/exe3 out/test/aarch64/tls-gd/a.o out/test/aarch64/tls-gd/b.o out/test/aarch64/tls-gd/c.o -static +269: + cat +261: + out/test/aarch64/tls-pic/exe +261: + grep -q '3 5 3 5' +261: + on_exit +261: + echo OK +261: OK +261: + exit 0 +259/336 Test #261: aarch64-tls-pic .......................................... Passed 0.37 sec +test 271 + Start 271: aarch64-trace + +271: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/trace.sh" +271: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +271: Environment variables: +271: MACHINE=aarch64 +271: CPU= +271: Test timeout computed to be: 1500 +269: + cc -B. -o out/test/aarch64/trace-symbol-symver/c.so -shared out/test/aarch64/trace-symbol-symver/a.o -Wl,--version-script=out/test/aarch64/trace-symbol-symver/b.version -Wl,--trace-symbol=foo@VER1 +266: + out/test/aarch64/tlsdesc-local-dynamic/exe1 271: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/trace.sh +270: + cc -c -o out/test/aarch64/trace-symbol/b.o -xc - +270: + cat 271: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 271: ++ export LC_ALL=C 271: ++ LC_ALL=C @@ -19878,26 +19944,9 @@ 271: ++ QEMU= 271: ++ case $MACHINE in 271: ++ tlsdesc_opt=-mtls-dialect=desc -269: ++ set -x -268: + gcc -fPIC -c -o out/test/aarch64/tlsdesc/b.o -xc - -mtls-dialect=desc -268: + cat -269: + cat -264: + cat 271: +++ uname -266: + cat -266: + gcc -fPIC -ftls-model=local-dynamic -c -o out/test/aarch64/tlsdesc-local-dynamic/b.o -xc - -mtls-dialect=desc -264: + gcc -fPIC -shared -o out/test/aarch64/tlsdesc-import/b.so -xc - -mtls-dialect=desc -270: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/trace-symbol.sh .sh -270: ++ testname=trace-symbol -270: ++ echo -n 'Testing trace-symbol ... ' -270: Testing trace-symbol ... ++ t=out/test/aarch64/trace-symbol -270: ++ mkdir -p out/test/aarch64/trace-symbol -263: + gcc -fPIC -c -o out/test/aarch64/tlsdesc-dlopen/c.o -xc - -mtls-dialect=desc -270: ++ set -x -270: + cat -270: + cc -c -o out/test/aarch64/trace-symbol/a.o -xc - -263: + cat -250: + cc -B. -o out/test/aarch64/tls-gd-to-ie/exe4 out/test/aarch64/tls-gd-to-ie/b.o out/test/aarch64/tls-gd-to-ie/f.so +265: + gcc -fPIC -fPIE -c -o out/test/aarch64/tlsdesc-initial-exec/d.o -xc - -mtls-dialect=desc +266: + grep -q '42 5' 271: ++ '[' Linux = FreeBSD ']' 271: ++ trap 'on_error $LINENO' ERR 271: ++ trap on_exit EXIT @@ -19907,31 +19956,20 @@ 271: Testing trace ... ++ t=out/test/aarch64/trace 271: ++ mkdir -p out/test/aarch64/trace 271: ++ set -x -271: + cc -c -o out/test/aarch64/trace/a.o -xc - -269: + cc -c -o out/test/aarch64/trace-symbol-symver/a.o -xc - -251: + cc -B. -o out/test/aarch64/tls-gd/exe3 out/test/aarch64/tls-gd/a.o out/test/aarch64/tls-gd/b.o out/test/aarch64/tls-gd/c.o -static -271: + cat -262: + cc -B. -o out/test/aarch64/tls-small-alignment/exe1 out/test/aarch64/tls-small-alignment/a.o out/test/aarch64/tls-small-alignment/b.o out/test/aarch64/tls-small-alignment/c.o -265: + gcc -fPIC -fPIC -c -o out/test/aarch64/tlsdesc-initial-exec/c.o -xc - -mtls-dialect=desc 265: + cat 268: + cc -B. -o out/test/aarch64/tlsdesc/exe1 out/test/aarch64/tlsdesc/a.o out/test/aarch64/tlsdesc/b.o -263: + cc -B. -o out/test/aarch64/tlsdesc-dlopen/exe out/test/aarch64/tlsdesc-dlopen/c.o -ldl -266: + cc -B. -o out/test/aarch64/tlsdesc-local-dynamic/exe1 out/test/aarch64/tlsdesc-local-dynamic/a.o out/test/aarch64/tlsdesc-local-dynamic/b.o -270: + cc -c -o out/test/aarch64/trace-symbol/b.o -xc - -269: + cat -270: + cat -264: + cc -B. -o out/test/aarch64/tlsdesc-import/exe out/test/aarch64/tlsdesc-import/a.o out/test/aarch64/tlsdesc-import/b.so -269: + cc -B. -o out/test/aarch64/trace-symbol-symver/c.so -shared out/test/aarch64/trace-symbol-symver/a.o -Wl,--version-script=out/test/aarch64/trace-symbol-symver/b.version -Wl,--trace-symbol=foo@VER1 -271: + cc -B. -o out/test/aarch64/trace/exe out/test/aarch64/trace/a.o -Wl,-trace -250: + grep -q '1 2 3' -250: + out/test/aarch64/tls-gd-to-ie/exe4 -265: + gcc -fPIC -fPIE -c -o out/test/aarch64/tlsdesc-initial-exec/d.o -xc - -mtls-dialect=desc -265: + cat -250: + on_exit -250: + echo OK -250: OK -250: + exit 0 -260/336 Test #250: aarch64-tls-gd-to-ie ..................................... Passed 0.52 sec +266: + cc -B. -o out/test/aarch64/tlsdesc-local-dynamic/exe2 out/test/aarch64/tlsdesc-local-dynamic/a.o out/test/aarch64/tlsdesc-local-dynamic/b.o -Wl,--no-relax +250: + cc -B. -o out/test/aarch64/tls-gd-to-ie/exe4 out/test/aarch64/tls-gd-to-ie/b.o out/test/aarch64/tls-gd-to-ie/f.so +271: + cat +271: + cc -c -o out/test/aarch64/trace/a.o -xc - +264: + grep -q '5 7' +264: + out/test/aarch64/tlsdesc-import/exe +262: + grep -q '^42$' +264: + on_exit +264: + echo OK +264: OK +264: + exit 0 +260/336 Test #264: aarch64-tlsdesc-import ................................... Passed 0.34 sec test 272 Start 272: aarch64-undefined-glob-gc-sections @@ -19941,12 +19979,10 @@ 272: MACHINE=aarch64 272: CPU= 272: Test timeout computed to be: 1500 -262: + grep -q '^42$' -270: + cc -shared -o out/test/aarch64/trace-symbol/c.so -xc - 262: + out/test/aarch64/tls-small-alignment/exe1 262: + cc -B. -o out/test/aarch64/tls-small-alignment/exe2 out/test/aarch64/tls-small-alignment/c.o out/test/aarch64/tls-small-alignment/d.so +267: + gcc -fPIC -c -o out/test/aarch64/tlsdesc-static/a.o -xc - -mtls-dialect=desc 272: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/undefined-glob-gc-sections.sh -267: + cat 272: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 272: ++ export LC_ALL=C 272: ++ LC_ALL=C @@ -19963,29 +19999,26 @@ 272: ++ QEMU= 272: ++ case $MACHINE in 272: ++ tlsdesc_opt=-mtls-dialect=desc -267: + gcc -fPIC -c -o out/test/aarch64/tlsdesc-static/a.o -xc - -mtls-dialect=desc -270: + cat 272: +++ uname -263: + grep -q '3 0 5' -263: + out/test/aarch64/tlsdesc-dlopen/exe out/test/aarch64/tlsdesc-dlopen/b.so 272: ++ '[' Linux = FreeBSD ']' 272: ++ trap 'on_error $LINENO' ERR 272: ++ trap on_exit EXIT +267: + cat 272: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/undefined-glob-gc-sections.sh .sh +270: + cat 272: ++ testname=undefined-glob-gc-sections 272: ++ echo -n 'Testing undefined-glob-gc-sections ... ' 272: Testing undefined-glob-gc-sections ... ++ t=out/test/aarch64/undefined-glob-gc-sections 272: ++ mkdir -p out/test/aarch64/undefined-glob-gc-sections -268: + grep -q '42 3 5' -268: + out/test/aarch64/tlsdesc/exe1 -268: + cc -B. -o out/test/aarch64/tlsdesc/exe2 out/test/aarch64/tlsdesc/a.o out/test/aarch64/tlsdesc/b.o -Wl,-no-relax 269: + cc -c -o out/test/aarch64/trace-symbol-symver/d.o -xc - +250: + out/test/aarch64/tls-gd-to-ie/exe4 +250: + grep -q '1 2 3' 269: + cat -263: + on_exit -263: + echo OK -263: OK -263: + exit 0 -261/336 Test #263: aarch64-tlsdesc-dlopen ................................... Passed 0.20 sec +250: + on_exit +250: + echo OK +250: OK +250: + exit 0 +261/336 Test #250: aarch64-tls-gd-to-ie ..................................... Passed 0.99 sec test 273 Start 273: aarch64-undefined-glob @@ -19995,14 +20028,18 @@ 273: MACHINE=aarch64 273: CPU= 273: Test timeout computed to be: 1500 +270: + cc -shared -o out/test/aarch64/trace-symbol/c.so -xc - 272: ++ set -x 272: + test_cflags -static -265: + cc -B. -o out/test/aarch64/tlsdesc-initial-exec/exe1 out/test/aarch64/tlsdesc-initial-exec/c.o out/test/aarch64/tlsdesc-initial-exec/d.o out/test/aarch64/tlsdesc-initial-exec/b.so +272: + cc -B. -static -o /dev/null -xc - 272: + echo 'int main() {}' +271: + cc -B. -o out/test/aarch64/trace/exe out/test/aarch64/trace/a.o -Wl,-trace +263: + cc -B. -o out/test/aarch64/tlsdesc-dlopen/exe out/test/aarch64/tlsdesc-dlopen/c.o -ldl +267: + cat +267: + gcc -fPIC -c -o out/test/aarch64/tlsdesc-static/b.o -xc - -mtls-dialect=desc +269: + cc -B. -o out/test/aarch64/trace-symbol-symver/exe out/test/aarch64/trace-symbol-symver/d.o out/test/aarch64/trace-symbol-symver/c.so -Wl,--trace-symbol=foo@VER1 +268: + out/test/aarch64/tlsdesc/exe1 273: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/undefined-glob.sh -272: + cc -B. -static -o /dev/null -xc - -251: + out/test/aarch64/tls-gd/exe3 -251: + grep -q '1 2 3 4 5 6' 273: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 273: ++ export LC_ALL=C 273: ++ LC_ALL=C @@ -20019,34 +20056,33 @@ 273: ++ QEMU= 273: ++ case $MACHINE in 273: ++ tlsdesc_opt=-mtls-dialect=desc -251: + cc -B. -o out/test/aarch64/tls-gd/exe4 out/test/aarch64/tls-gd/a.o out/test/aarch64/tls-gd/b.o out/test/aarch64/tls-gd/c.o -static -Wl,-no-relax -266: + grep -q '42 5' -266: + out/test/aarch64/tlsdesc-local-dynamic/exe1 273: +++ uname 273: ++ '[' Linux = FreeBSD ']' 273: ++ trap 'on_error $LINENO' ERR 273: ++ trap on_exit EXIT -266: + cc -B. -o out/test/aarch64/tlsdesc-local-dynamic/exe2 out/test/aarch64/tlsdesc-local-dynamic/a.o out/test/aarch64/tlsdesc-local-dynamic/b.o -Wl,--no-relax +268: + grep -q '42 3 5' +265: + cc -B. -o out/test/aarch64/tlsdesc-initial-exec/exe1 out/test/aarch64/tlsdesc-initial-exec/c.o out/test/aarch64/tlsdesc-initial-exec/d.o out/test/aarch64/tlsdesc-initial-exec/b.so +268: + cc -B. -o out/test/aarch64/tlsdesc/exe2 out/test/aarch64/tlsdesc/a.o out/test/aarch64/tlsdesc/b.o -Wl,-no-relax 273: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/undefined-glob.sh .sh 273: ++ testname=undefined-glob 273: ++ echo -n 'Testing undefined-glob ... ' 273: Testing undefined-glob ... ++ t=out/test/aarch64/undefined-glob 273: ++ mkdir -p out/test/aarch64/undefined-glob -271: + grep -q '/a\.o$' out/test/aarch64/trace/log -271: + on_exit -271: + echo OK -271: OK -271: + exit 0 -264: + grep -q '5 7' -264: + out/test/aarch64/tlsdesc-import/exe -264: + on_exit -264: + echo OK -264: OK -264: + exit 0 +267: + cc -B. -o out/test/aarch64/tlsdesc-static/exe1 out/test/aarch64/tlsdesc-static/a.o out/test/aarch64/tlsdesc-static/b.o -static +251: + out/test/aarch64/tls-gd/exe3 273: ++ set -x 273: + test_cflags -static -262/336 Test #264: aarch64-tlsdesc-import ................................... Passed 0.21 sec -263/336 Test #271: aarch64-trace ............................................ Passed 0.15 sec +251: + grep -q '1 2 3 4 5 6' +251: + cc -B. -o out/test/aarch64/tls-gd/exe4 out/test/aarch64/tls-gd/a.o out/test/aarch64/tls-gd/b.o out/test/aarch64/tls-gd/c.o -static -Wl,-no-relax +273: + echo 'int main() {}' +262: + out/test/aarch64/tls-small-alignment/exe2 +273: + cc -B. -static -o /dev/null -xc - +262: + grep -q '^42$' +262: + on_exit +262: + echo OK +262: OK +262: + exit 0 +262/336 Test #262: aarch64-tls-small-alignment .............................. Passed 0.53 sec test 274 Start 274: aarch64-undefined @@ -20056,6 +20092,12 @@ 274: MACHINE=aarch64 274: CPU= 274: Test timeout computed to be: 1500 +271: + grep -q '/a\.o$' out/test/aarch64/trace/log +271: + on_exit +271: + echo OK +271: OK +271: + exit 0 +263/336 Test #271: aarch64-trace ............................................ Passed 0.20 sec test 275 Start 275: aarch64-undefined2 @@ -20065,8 +20107,13 @@ 275: MACHINE=aarch64 275: CPU= 275: Test timeout computed to be: 1500 -273: + cc -B. -static -o /dev/null -xc - -273: + echo 'int main() {}' +263: + grep -q '3 0 5' +263: + out/test/aarch64/tlsdesc-dlopen/exe out/test/aarch64/tlsdesc-dlopen/b.so +263: + on_exit +263: + echo OK +263: OK +263: + exit 0 +270: + cc -B. -o out/test/aarch64/trace-symbol/exe out/test/aarch64/trace-symbol/a.o out/test/aarch64/trace-symbol/b.o out/test/aarch64/trace-symbol/c.so -Wl,-y,foo -Wl,--trace-symbol=baz 274: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/undefined.sh 274: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 274: ++ export LC_ALL=C @@ -20084,9 +20131,27 @@ 274: ++ QEMU= 274: ++ case $MACHINE in 274: ++ tlsdesc_opt=-mtls-dialect=desc -269: + cc -B. -o out/test/aarch64/trace-symbol-symver/exe out/test/aarch64/trace-symbol-symver/d.o out/test/aarch64/trace-symbol-symver/c.so -Wl,--trace-symbol=foo@VER1 -270: + cc -B. -o out/test/aarch64/trace-symbol/exe out/test/aarch64/trace-symbol/a.o out/test/aarch64/trace-symbol/b.o out/test/aarch64/trace-symbol/c.so -Wl,-y,foo -Wl,--trace-symbol=baz +266: + out/test/aarch64/tlsdesc-local-dynamic/exe2 275: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/undefined2.sh +264/336 Test #263: aarch64-tlsdesc-dlopen ................................... Passed 0.52 sec +test 276 + Start 276: aarch64-unkown-section-type + +276: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/unkown-section-type.sh" +276: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +276: Environment variables: +276: MACHINE=aarch64 +276: CPU= +276: Test timeout computed to be: 1500 +274: +++ uname +274: ++ '[' Linux = FreeBSD ']' +274: ++ trap 'on_error $LINENO' ERR +274: ++ trap on_exit EXIT +266: + grep -q '42 5' +266: + on_exit +266: + echo OK +266: OK +266: + exit 0 275: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 275: ++ export LC_ALL=C 275: ++ LC_ALL=C @@ -20103,102 +20168,53 @@ 275: ++ QEMU= 275: ++ case $MACHINE in 275: ++ tlsdesc_opt=-mtls-dialect=desc -274: +++ uname -266: + grep -q '42 5' -266: + out/test/aarch64/tlsdesc-local-dynamic/exe2 -274: ++ '[' Linux = FreeBSD ']' -274: ++ trap 'on_error $LINENO' ERR -274: ++ trap on_exit EXIT +275: +++ uname +265: + grep -q '^5 5 5$' +265: + out/test/aarch64/tlsdesc-initial-exec/exe1 +265: + objdump --dynamic-reloc out/test/aarch64/tlsdesc-initial-exec/exe1 +269: + out/test/aarch64/trace-symbol-symver/exe +265/336 Test #266: aarch64-tlsdesc-local-dynamic ............................ Passed 0.49 sec +test 277 + Start 277: aarch64-unresolved-symbols + +277: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/unresolved-symbols.sh" +277: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +277: Environment variables: +277: MACHINE=aarch64 +277: CPU= +277: Test timeout computed to be: 1500 274: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/undefined.sh .sh -266: + on_exit -266: + echo OK -266: OK -266: + exit 0 274: ++ testname=undefined 274: ++ echo -n 'Testing undefined ... ' 274: Testing undefined ... ++ t=out/test/aarch64/undefined 274: ++ mkdir -p out/test/aarch64/undefined -275: +++ uname -264/336 Test #266: aarch64-tlsdesc-local-dynamic ............................ Passed 0.21 sec -test 276 - Start 276: aarch64-unkown-section-type - -276: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/unkown-section-type.sh" -276: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -276: Environment variables: -276: MACHINE=aarch64 -276: CPU= -276: Test timeout computed to be: 1500 -265: + grep -q '^5 5 5$' -265: + out/test/aarch64/tlsdesc-initial-exec/exe1 -265: + objdump --dynamic-reloc out/test/aarch64/tlsdesc-initial-exec/exe1 -265: + grep -Eq 'TLS_?DESC' out/test/aarch64/tlsdesc-initial-exec/log1 -265: + cc -B. -o out/test/aarch64/tlsdesc-initial-exec/exe2 out/test/aarch64/tlsdesc-initial-exec/c.o out/test/aarch64/tlsdesc-initial-exec/d.o out/test/aarch64/tlsdesc-initial-exec/b.so -Wl,--no-relax -274: ++ set -x -274: + test_cflags -static -274: + cc -B. -static -o /dev/null -xc - -274: + echo 'int main() {}' 275: ++ '[' Linux = FreeBSD ']' 275: ++ trap 'on_error $LINENO' ERR 275: ++ trap on_exit EXIT +265: + grep -Eq 'TLS_?DESC' out/test/aarch64/tlsdesc-initial-exec/log1 +269: + on_exit +269: + echo OK +269: OK +269: + exit 0 +266/336 Test #269: aarch64-trace-symbol-symver .............................. Passed 0.40 sec +test 278 + Start 278: aarch64-unresolved-symbols2 + +278: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/unresolved-symbols2.sh" +278: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +278: Environment variables: +278: MACHINE=aarch64 +278: CPU= +278: Test timeout computed to be: 1500 275: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/undefined2.sh .sh 275: ++ testname=undefined2 275: ++ echo -n 'Testing undefined2 ... ' 275: Testing undefined2 ... ++ t=out/test/aarch64/undefined2 275: ++ mkdir -p out/test/aarch64/undefined2 +265: + cc -B. -o out/test/aarch64/tlsdesc-initial-exec/exe2 out/test/aarch64/tlsdesc-initial-exec/c.o out/test/aarch64/tlsdesc-initial-exec/d.o out/test/aarch64/tlsdesc-initial-exec/b.so -Wl,--no-relax 275: ++ set -x 275: + test_cflags -static -267: + gcc -fPIC -c -o out/test/aarch64/tlsdesc-static/b.o -xc - -mtls-dialect=desc -267: + cat -268: + out/test/aarch64/tlsdesc/exe2 -268: + grep -q '42 3 5' -268: + cc -B. -shared -o out/test/aarch64/tlsdesc/c.so out/test/aarch64/tlsdesc/a.o 275: + cc -B. -static -o /dev/null -xc - -276: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/unkown-section-type.sh -276: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc -276: ++ export LC_ALL=C -276: ++ LC_ALL=C -276: ++ '[' -z aarch64 ']' -276: ++ '[' -z '' ']' -276: ++ TESTDIR=out/test/aarch64 -276: ++ CC=cc -276: ++ CXX=c++ -276: ++ GCC=gcc -276: ++ GXX=g++ -276: ++ OBJDUMP=objdump -276: ++ OBJCOPY=objcopy -276: ++ STRIP=strip -276: ++ QEMU= -276: ++ case $MACHINE in -276: ++ tlsdesc_opt=-mtls-dialect=desc -276: +++ uname -262: + grep -q '^42$' -262: + out/test/aarch64/tls-small-alignment/exe2 -275: + echo 'int main() {}' -276: ++ '[' Linux = FreeBSD ']' -276: ++ trap 'on_error $LINENO' ERR -276: ++ trap on_exit EXIT -262: + on_exit -262: + echo OK -262: OK -262: + exit 0 -265/336 Test #262: aarch64-tls-small-alignment .............................. Passed 0.30 sec -test 277 - Start 277: aarch64-unresolved-symbols - -277: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/unresolved-symbols.sh" -277: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -277: Environment variables: -277: MACHINE=aarch64 -277: CPU= -277: Test timeout computed to be: 1500 -276: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/unkown-section-type.sh .sh -267: + cc -B. -o out/test/aarch64/tlsdesc-static/exe1 out/test/aarch64/tlsdesc-static/a.o out/test/aarch64/tlsdesc-static/b.o -static -276: ++ testname=unkown-section-type -276: ++ echo -n 'Testing unkown-section-type ... ' -276: Testing unkown-section-type ... ++ t=out/test/aarch64/unkown-section-type -276: ++ mkdir -p out/test/aarch64/unkown-section-type -251: + out/test/aarch64/tls-gd/exe4 277: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/unresolved-symbols.sh 277: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 277: ++ export LC_ALL=C @@ -20216,37 +20232,29 @@ 277: ++ QEMU= 277: ++ case $MACHINE in 277: ++ tlsdesc_opt=-mtls-dialect=desc -276: ++ set -x -251: + grep -q '1 2 3 4 5 6' -251: + on_exit -251: + echo OK -251: OK -251: + exit 0 -277: +++ uname -277: ++ '[' Linux = FreeBSD ']' -277: ++ trap 'on_error $LINENO' ERR -277: ++ trap on_exit EXIT -266/336 Test #251: aarch64-tls-gd ........................................... Passed 0.63 sec -test 278 - Start 278: aarch64-unresolved-symbols2 - -278: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/unresolved-symbols2.sh" -278: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -278: Environment variables: -278: MACHINE=aarch64 -278: CPU= -278: Test timeout computed to be: 1500 -269: + out/test/aarch64/trace-symbol-symver/exe -276: + cat -276: + cc -o out/test/aarch64/unkown-section-type/a.o -c -xassembler - -277: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/unresolved-symbols.sh .sh -277: ++ testname=unresolved-symbols -277: ++ echo -n 'Testing unresolved-symbols ... ' -277: Testing unresolved-symbols ... ++ t=out/test/aarch64/unresolved-symbols -277: ++ mkdir -p out/test/aarch64/unresolved-symbols -277: ++ set -x -277: + cat +274: ++ set -x +274: + test_cflags -static +276: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/unkown-section-type.sh +276: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 278: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/unresolved-symbols2.sh +276: ++ export LC_ALL=C +276: ++ LC_ALL=C +276: ++ '[' -z aarch64 ']' +276: ++ '[' -z '' ']' +276: ++ TESTDIR=out/test/aarch64 +276: ++ CC=cc +276: ++ CXX=c++ +276: ++ GCC=gcc +276: ++ GXX=g++ +276: ++ OBJDUMP=objdump +276: ++ OBJCOPY=objcopy +276: ++ STRIP=strip +276: ++ QEMU= +276: ++ case $MACHINE in +276: ++ tlsdesc_opt=-mtls-dialect=desc +274: + cc -B. -static -o /dev/null -xc - +268: + out/test/aarch64/tlsdesc/exe2 +276: +++ uname 278: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 278: ++ export LC_ALL=C 278: ++ LC_ALL=C @@ -20263,76 +20271,82 @@ 278: ++ QEMU= 278: ++ case $MACHINE in 278: ++ tlsdesc_opt=-mtls-dialect=desc -269: + on_exit -269: + echo OK -269: OK -269: + exit 0 -267/336 Test #269: aarch64-trace-symbol-symver .............................. Passed 0.25 sec -test 279 - Start 279: aarch64-verbose - -279: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/verbose.sh" -279: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -279: Environment variables: -279: MACHINE=aarch64 -279: CPU= -279: Test timeout computed to be: 1500 278: +++ uname 278: ++ '[' Linux = FreeBSD ']' 278: ++ trap 'on_error $LINENO' ERR 278: ++ trap on_exit EXIT -268: + cc -B. -o out/test/aarch64/tlsdesc/exe3 out/test/aarch64/tlsdesc/b.o out/test/aarch64/tlsdesc/c.so -265: + grep -q '^5 5 5$' -279: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/verbose.sh -277: + cc -c -o out/test/aarch64/unresolved-symbols/a.o -xc - -279: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc -279: ++ export LC_ALL=C -279: ++ LC_ALL=C -279: ++ '[' -z aarch64 ']' -279: ++ '[' -z '' ']' -279: ++ TESTDIR=out/test/aarch64 -279: ++ CC=cc -279: ++ CXX=c++ -279: ++ GCC=gcc -279: ++ GXX=g++ -279: ++ OBJDUMP=objdump -279: ++ OBJCOPY=objcopy -279: ++ STRIP=strip -279: ++ QEMU= -279: ++ case $MACHINE in -279: ++ tlsdesc_opt=-mtls-dialect=desc -265: + out/test/aarch64/tlsdesc-initial-exec/exe2 +277: +++ uname +277: ++ '[' Linux = FreeBSD ']' +277: ++ trap 'on_error $LINENO' ERR +277: ++ trap on_exit EXIT +268: + grep -q '42 3 5' +268: + cc -B. -shared -o out/test/aarch64/tlsdesc/c.so out/test/aarch64/tlsdesc/a.o +275: + echo 'int main() {}' +276: ++ '[' Linux = FreeBSD ']' +276: ++ trap 'on_error $LINENO' ERR +276: ++ trap on_exit EXIT +274: + echo 'int main() {}' +277: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/unresolved-symbols.sh .sh 278: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/unresolved-symbols2.sh .sh -273: + cc -o out/test/aarch64/undefined-glob/a.o -c -xc - -270: + grep -q 'trace-symbol: .*/a.o: reference to foo' out/test/aarch64/trace-symbol/log 278: ++ testname=unresolved-symbols2 278: ++ echo -n 'Testing unresolved-symbols2 ... ' 278: Testing unresolved-symbols2 ... ++ t=out/test/aarch64/unresolved-symbols2 278: ++ mkdir -p out/test/aarch64/unresolved-symbols2 -279: +++ uname -279: ++ '[' Linux = FreeBSD ']' -279: ++ trap 'on_error $LINENO' ERR -279: ++ trap on_exit EXIT -276: + cc -B. -o out/test/aarch64/unkown-section-type/exe out/test/aarch64/unkown-section-type/a.o -265: + objdump --dynamic-reloc out/test/aarch64/tlsdesc-initial-exec/exe2 -279: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/verbose.sh .sh 278: ++ set -x -270: + grep -q 'trace-symbol: .*/b.o: definition of foo' out/test/aarch64/trace-symbol/log -279: ++ testname=verbose -279: ++ echo -n 'Testing verbose ... ' -279: Testing verbose ... ++ t=out/test/aarch64/verbose -279: ++ mkdir -p out/test/aarch64/verbose -273: + cat -272: + cat -270: + grep -q 'trace-symbol: .*/c.so: definition of baz' out/test/aarch64/trace-symbol/log +277: ++ testname=unresolved-symbols +277: ++ echo -n 'Testing unresolved-symbols ... ' +277: Testing unresolved-symbols ... ++ t=out/test/aarch64/unresolved-symbols +277: ++ mkdir -p out/test/aarch64/unresolved-symbols +276: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/unkown-section-type.sh .sh +276: ++ testname=unkown-section-type +276: ++ echo -n 'Testing unkown-section-type ... ' +276: Testing unkown-section-type ... ++ t=out/test/aarch64/unkown-section-type +276: ++ mkdir -p out/test/aarch64/unkown-section-type +277: ++ set -x +277: + cc -c -o out/test/aarch64/unresolved-symbols/a.o -xc - +278: + cc -c -o out/test/aarch64/unresolved-symbols2/a.o -xc -fPIC - +278: + cat 272: + cc -o out/test/aarch64/undefined-glob-gc-sections/a.o -c -xc - +277: + cat +272: + cat +267: + grep -q 42 +267: + out/test/aarch64/tlsdesc-static/exe1 +270: + grep -q 'trace-symbol: .*/a.o: reference to foo' out/test/aarch64/trace-symbol/log +276: ++ set -x +267: + cc -B. -o out/test/aarch64/tlsdesc-static/exe2 out/test/aarch64/tlsdesc-static/a.o out/test/aarch64/tlsdesc-static/b.o -static -Wl,-no-relax +251: + grep -q '1 2 3 4 5 6' +276: + cat +270: + grep -q 'trace-symbol: .*/b.o: definition of foo' out/test/aarch64/trace-symbol/log +276: + cc -o out/test/aarch64/unkown-section-type/a.o -c -xassembler - 277: + grep -q 'undefined.*foo' 277: + cc -B. -o out/test/aarch64/unresolved-symbols/exe out/test/aarch64/unresolved-symbols/a.o +268: + cc -B. -o out/test/aarch64/tlsdesc/exe3 out/test/aarch64/tlsdesc/b.o out/test/aarch64/tlsdesc/c.so +270: + grep -q 'trace-symbol: .*/c.so: definition of baz' out/test/aarch64/trace-symbol/log +276: + cc -B. -o out/test/aarch64/unkown-section-type/exe out/test/aarch64/unkown-section-type/a.o +251: + out/test/aarch64/tls-gd/exe4 270: + on_exit 270: + echo OK 270: OK 270: + exit 0 -268/336 Test #270: aarch64-trace-symbol ..................................... Passed 0.28 sec +267/336 Test #270: aarch64-trace-symbol ..................................... Passed 0.48 sec +test 279 + Start 279: aarch64-verbose + +279: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/verbose.sh" +279: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +279: Environment variables: +279: MACHINE=aarch64 +279: CPU= +279: Test timeout computed to be: 1500 +251: + on_exit +251: + echo OK +251: OK +251: + exit 0 +272: + cc -o out/test/aarch64/undefined-glob-gc-sections/b.o -c -xc - +272: + cat +273: + cc -o out/test/aarch64/undefined-glob/a.o -c -xc - +273: + cat +268/336 Test #251: aarch64-tls-gd ........................................... Passed 1.25 sec test 280 Start 280: aarch64-version-script-search-paths @@ -20342,29 +20356,7 @@ 280: MACHINE=aarch64 280: CPU= 280: Test timeout computed to be: 1500 -278: + cat -278: + cc -c -o out/test/aarch64/unresolved-symbols2/a.o -xc -fPIC - -265: + grep -Eq 'TLS_?DESC' out/test/aarch64/tlsdesc-initial-exec/log2 -265: + on_exit -265: + echo OK -265: OK -265: + exit 0 -279: ++ set -x -269/336 Test #265: aarch64-tlsdesc-initial-exec ............................. Passed 0.32 sec -test 281 - Start 281: aarch64-version-script - -281: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/version-script.sh" -281: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -281: Environment variables: -281: MACHINE=aarch64 -281: CPU= -281: Test timeout computed to be: 1500 -279: + cc -c -xc -o out/test/aarch64/verbose/a.o - -279: + cat -268: + grep -q '42 3 5' -268: + out/test/aarch64/tlsdesc/exe3 -268: + cc -B. -shared -o out/test/aarch64/tlsdesc/c.so out/test/aarch64/tlsdesc/a.o -Wl,-no-relax +279: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/verbose.sh 280: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/version-script-search-paths.sh 280: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 280: ++ export LC_ALL=C @@ -20382,15 +20374,71 @@ 280: ++ QEMU= 280: ++ case $MACHINE in 280: ++ tlsdesc_opt=-mtls-dialect=desc +279: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc +279: ++ export LC_ALL=C +279: ++ LC_ALL=C +279: ++ '[' -z aarch64 ']' +279: ++ '[' -z '' ']' +279: ++ TESTDIR=out/test/aarch64 +279: ++ CC=cc +279: ++ CXX=c++ +279: ++ GCC=gcc +279: ++ GXX=g++ +279: ++ OBJDUMP=objdump +279: ++ OBJCOPY=objcopy +279: ++ STRIP=strip +279: ++ QEMU= +279: ++ case $MACHINE in +279: ++ tlsdesc_opt=-mtls-dialect=desc 280: +++ uname 280: ++ '[' Linux = FreeBSD ']' 280: ++ trap 'on_error $LINENO' ERR 280: ++ trap on_exit EXIT +279: +++ uname +279: ++ '[' Linux = FreeBSD ']' +279: ++ trap 'on_error $LINENO' ERR +279: ++ trap on_exit EXIT 280: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/version-script-search-paths.sh .sh +278: + cc -B. -shared -o out/test/aarch64/unresolved-symbols2/b.so out/test/aarch64/unresolved-symbols2/a.o -Wl,-z,defs -Wl,--unresolved-symbols,ignore-in-object-files +265: + grep -q '^5 5 5$' 280: ++ testname=version-script-search-paths 280: ++ echo -n 'Testing version-script-search-paths ... ' 280: Testing version-script-search-paths ... ++ t=out/test/aarch64/version-script-search-paths 280: ++ mkdir -p out/test/aarch64/version-script-search-paths +265: + out/test/aarch64/tlsdesc-initial-exec/exe2 +279: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/verbose.sh .sh +279: ++ testname=verbose +279: ++ echo -n 'Testing verbose ... ' +279: Testing verbose ... ++ t=out/test/aarch64/verbose +279: ++ mkdir -p out/test/aarch64/verbose +265: + objdump --dynamic-reloc out/test/aarch64/tlsdesc-initial-exec/exe2 +280: ++ set -x +280: + mkdir -p out/test/aarch64/version-script-search-paths/foo/bar +279: ++ set -x +268: + grep -q '42 3 5' +279: + cc -c -xc -o out/test/aarch64/verbose/a.o - +268: + out/test/aarch64/tlsdesc/exe3 +268: + cc -B. -shared -o out/test/aarch64/tlsdesc/c.so out/test/aarch64/tlsdesc/a.o -Wl,-no-relax +265: + grep -Eq 'TLS_?DESC' out/test/aarch64/tlsdesc-initial-exec/log2 +265: + on_exit +265: + echo OK +265: OK +265: + exit 0 +279: + cat +269/336 Test #265: aarch64-tlsdesc-initial-exec ............................. Passed 0.71 sec +test 281 + Start 281: aarch64-version-script + +281: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/version-script.sh" +281: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +281: Environment variables: +281: MACHINE=aarch64 +281: CPU= +281: Test timeout computed to be: 1500 +272: + cat +272: + cc -o out/test/aarch64/undefined-glob-gc-sections/c.o -c -xc - +280: + echo 'ver_x { global: *; };' +280: + cat 273: + cat 281: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/version-script.sh 281: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc @@ -20410,30 +20458,23 @@ 281: ++ case $MACHINE in 281: ++ tlsdesc_opt=-mtls-dialect=desc 281: +++ uname +276: + grep -q 'unsupported section type: 0x80000000' out/test/aarch64/unkown-section-type/log1 +280: + cc -B. -shared -o out/test/aarch64/version-script-search-paths/c.so -Wl,-Lout/test/aarch64/version-script-search-paths/foo/bar -Wl,-version-script,a.ver out/test/aarch64/version-script-search-paths/b.s +273: + cc -o out/test/aarch64/undefined-glob/b.o -c -xc - 281: ++ '[' Linux = FreeBSD ']' 281: ++ trap 'on_error $LINENO' ERR -273: + cc -o out/test/aarch64/undefined-glob/b.o -c -xc - 281: ++ trap on_exit EXIT -280: ++ set -x -280: + mkdir -p out/test/aarch64/version-script-search-paths/foo/bar -272: + cc -o out/test/aarch64/undefined-glob-gc-sections/b.o -c -xc - -272: + cat 281: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/version-script.sh .sh -280: + echo 'ver_x { global: *; };' -280: + cat -277: + cc -B. -o out/test/aarch64/unresolved-symbols/exe out/test/aarch64/unresolved-symbols/a.o -Wl,-unresolved-symbols=report-all -277: + grep -q 'undefined.*foo' -276: + grep -q 'unsupported section type: 0x80000000' out/test/aarch64/unkown-section-type/log1 -276: + on_exit -276: + echo OK -276: OK -276: + exit 0 +274: + cc -o out/test/aarch64/undefined/a.o -c -x assembler - 281: ++ testname=version-script 281: ++ echo -n 'Testing version-script ... ' 281: Testing version-script ... ++ t=out/test/aarch64/version-script 281: ++ mkdir -p out/test/aarch64/version-script -275: + cc -o out/test/aarch64/undefined2/a.o -c -x assembler - -270/336 Test #276: aarch64-unkown-section-type .............................. Passed 0.14 sec +276: + on_exit +276: + echo OK +276: OK +276: + exit 0 +270/336 Test #276: aarch64-unkown-section-type .............................. Passed 0.23 sec test 282 Start 282: aarch64-version-script10 @@ -20443,24 +20484,14 @@ 282: MACHINE=aarch64 282: CPU= 282: Test timeout computed to be: 1500 -278: + cc -B. -shared -o out/test/aarch64/unresolved-symbols2/b.so out/test/aarch64/unresolved-symbols2/a.o -Wl,-z,defs -Wl,--unresolved-symbols,ignore-in-object-files -279: + cc -B. -Wl,--verbose -o out/test/aarch64/verbose/exe out/test/aarch64/verbose/a.o -280: + cc -B. -shared -o out/test/aarch64/version-script-search-paths/c.so -Wl,-Lout/test/aarch64/version-script-search-paths/foo/bar -Wl,-version-script,a.ver out/test/aarch64/version-script-search-paths/b.s -275: + cat -275: + cat -275: + cc -o out/test/aarch64/undefined2/b.o -c -x assembler - +274: + cat +277: + cc -B. -o out/test/aarch64/unresolved-symbols/exe out/test/aarch64/unresolved-symbols/a.o -Wl,-unresolved-symbols=report-all +282: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/version-script10.sh 281: ++ set -x 281: + echo 'ver_x { global: *; };' 281: + cat -281: + cc -B. -shared -o out/test/aarch64/version-script/c.so -Wl,-version-script,out/test/aarch64/version-script/a.ver out/test/aarch64/version-script/b.s -272: + cat -272: + cc -o out/test/aarch64/undefined-glob-gc-sections/c.o -c -xc - -273: + cc -o out/test/aarch64/undefined-glob/c.o -c -xc - -273: + cat -268: + cc -B. -o out/test/aarch64/tlsdesc/exe4 out/test/aarch64/tlsdesc/b.o out/test/aarch64/tlsdesc/c.so -Wl,-no-relax -282: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/version-script10.sh -275: + cat -275: + cc -o out/test/aarch64/undefined2/c.o -c -x assembler - +277: + grep -q 'undefined.*foo' +275: + cc -o out/test/aarch64/undefined2/a.o -c -x assembler - 282: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 282: ++ export LC_ALL=C 282: ++ LC_ALL=C @@ -20477,39 +20508,36 @@ 282: ++ QEMU= 282: ++ case $MACHINE in 282: ++ tlsdesc_opt=-mtls-dialect=desc +274: + cc -o out/test/aarch64/undefined/b.o -c -x assembler - +281: + cc -B. -shared -o out/test/aarch64/version-script/c.so -Wl,-version-script,out/test/aarch64/version-script/a.ver out/test/aarch64/version-script/b.s +272: + rm -f out/test/aarch64/undefined-glob-gc-sections/d.a 274: + cat -274: + cc -o out/test/aarch64/undefined/a.o -c -x assembler - -275: + rm -f out/test/aarch64/undefined2/d.a +275: + cat 282: +++ uname -275: + ar cr out/test/aarch64/undefined2/d.a out/test/aarch64/undefined2/b.o out/test/aarch64/undefined2/c.o 282: ++ '[' Linux = FreeBSD ']' 282: ++ trap 'on_error $LINENO' ERR 282: ++ trap on_exit EXIT +274: + cc -o out/test/aarch64/undefined/c.o -c -x assembler - +274: + cat +273: + cc -o out/test/aarch64/undefined-glob/c.o -c -xc - +273: + cat 282: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/version-script10.sh .sh 282: ++ testname=version-script10 282: ++ echo -n 'Testing version-script10 ... ' 282: Testing version-script10 ... ++ t=out/test/aarch64/version-script10 282: ++ mkdir -p out/test/aarch64/version-script10 -275: + ./mold -static -o out/test/aarch64/undefined2/exe out/test/aarch64/undefined2/a.o out/test/aarch64/undefined2/d.a -undefined foo -272: + rm -f out/test/aarch64/undefined-glob-gc-sections/d.a -282: ++ set -x -282: + echo 'VER1 { foo[12]; }; VER2 {};' -282: + cat -274: + cat -274: + cc -o out/test/aarch64/undefined/b.o -c -x assembler - -273: + rm -f out/test/aarch64/undefined-glob/d.a 278: + grep -q ' UND foo$' 278: + readelf -W --dyn-syms out/test/aarch64/unresolved-symbols2/b.so -277: + cc -B. -o out/test/aarch64/unresolved-symbols/exe out/test/aarch64/unresolved-symbols/a.o -Wl,-unresolved-symbols=ignore-all -275: + readelf --symbols out/test/aarch64/undefined2/exe -273: + ar cr out/test/aarch64/undefined-glob/d.a out/test/aarch64/undefined-glob/a.o out/test/aarch64/undefined-glob/b.o out/test/aarch64/undefined-glob/c.o -280: + readelf --version-info out/test/aarch64/version-script-search-paths/c.so -282: + cc -B. -shared -o out/test/aarch64/version-script10/c.so -Wl,-version-script,out/test/aarch64/version-script10/a.ver out/test/aarch64/version-script10/b.s +272: + ar cr out/test/aarch64/undefined-glob-gc-sections/d.a out/test/aarch64/undefined-glob-gc-sections/a.o out/test/aarch64/undefined-glob-gc-sections/b.o out/test/aarch64/undefined-glob-gc-sections/c.o +279: + cc -B. -Wl,--verbose -o out/test/aarch64/verbose/exe out/test/aarch64/verbose/a.o +275: + cat +275: + cc -o out/test/aarch64/undefined2/b.o -c -x assembler - +274: + rm -f out/test/aarch64/undefined/d.a 278: + on_exit 278: + echo OK 278: OK 278: + exit 0 -271/336 Test #278: aarch64-unresolved-symbols2 .............................. Passed 0.14 sec +271/336 Test #278: aarch64-unresolved-symbols2 .............................. Passed 0.27 sec test 283 Start 283: aarch64-version-script11 @@ -20519,25 +20547,22 @@ 283: MACHINE=aarch64 283: CPU= 283: Test timeout computed to be: 1500 -275: + grep -q foo out/test/aarch64/undefined2/log -275: + grep -q ndefined out/test/aarch64/undefined2/log -272: + ar cr out/test/aarch64/undefined-glob-gc-sections/d.a out/test/aarch64/undefined-glob-gc-sections/a.o out/test/aarch64/undefined-glob-gc-sections/b.o out/test/aarch64/undefined-glob-gc-sections/c.o -273: + cc -o out/test/aarch64/undefined-glob/e.o -c -xc - -273: + cat -267: + out/test/aarch64/tlsdesc-static/exe1 -274: + cc -o out/test/aarch64/undefined/c.o -c -x assembler - -274: + cat -280: + grep -Fq 'Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x' out/test/aarch64/version-script-search-paths/log -280: + on_exit -280: + echo OK -280: OK -280: + exit 0 -279: + on_exit -279: + echo OK -279: OK -279: + exit 0 -272/336 Test #279: aarch64-verbose .......................................... Passed 0.14 sec -273/336 Test #280: aarch64-version-script-search-paths ...................... Passed 0.10 sec +268: + cc -B. -o out/test/aarch64/tlsdesc/exe4 out/test/aarch64/tlsdesc/b.o out/test/aarch64/tlsdesc/c.so -Wl,-no-relax +267: + grep -q 42 +267: + out/test/aarch64/tlsdesc-static/exe2 +282: ++ set -x +282: + echo 'VER1 { foo[12]; }; VER2 {};' +282: + cat +282: + cc -B. -shared -o out/test/aarch64/version-script10/c.so -Wl,-version-script,out/test/aarch64/version-script10/a.ver out/test/aarch64/version-script10/b.s +273: + rm -f out/test/aarch64/undefined-glob/d.a +267: + on_exit +267: + echo OK +267: OK +267: + exit 0 +272: + cat +273: + ar cr out/test/aarch64/undefined-glob/d.a out/test/aarch64/undefined-glob/a.o out/test/aarch64/undefined-glob/b.o out/test/aarch64/undefined-glob/c.o +274: + ar cr out/test/aarch64/undefined/d.a out/test/aarch64/undefined/b.o out/test/aarch64/undefined/c.o +272/336 Test #267: aarch64-tlsdesc-static ................................... Passed 0.72 sec test 284 Start 284: aarch64-version-script12 @@ -20547,24 +20572,12 @@ 284: MACHINE=aarch64 284: CPU= 284: Test timeout computed to be: 1500 -test 285 - Start 285: aarch64-version-script13 - -285: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/version-script13.sh" -285: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -285: Environment variables: -285: MACHINE=aarch64 -285: CPU= -285: Test timeout computed to be: 1500 -275: + on_exit -275: + echo OK -275: OK -275: + exit 0 -272: + cat +275: + cat +275: + cc -o out/test/aarch64/undefined2/c.o -c -x assembler - +275: + rm -f out/test/aarch64/undefined2/d.a +274: + ./mold -static -o out/test/aarch64/undefined/exe out/test/aarch64/undefined/a.o out/test/aarch64/undefined/d.a 272: + cc -o out/test/aarch64/undefined-glob-gc-sections/e.o -c -xc - -267: + grep -q 42 -267: + cc -B. -o out/test/aarch64/tlsdesc-static/exe2 out/test/aarch64/tlsdesc-static/a.o out/test/aarch64/tlsdesc-static/b.o -static -Wl,-no-relax -274: + rm -f out/test/aarch64/undefined/d.a +273: + cat 283: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/version-script11.sh 283: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 283: ++ export LC_ALL=C @@ -20582,7 +20595,10 @@ 283: ++ QEMU= 283: ++ case $MACHINE in 283: ++ tlsdesc_opt=-mtls-dialect=desc +277: + cc -B. -o out/test/aarch64/unresolved-symbols/exe out/test/aarch64/unresolved-symbols/a.o -Wl,-unresolved-symbols=ignore-all +273: + cc -o out/test/aarch64/undefined-glob/e.o -c -xc - 284: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/version-script12.sh +275: + ar cr out/test/aarch64/undefined2/d.a out/test/aarch64/undefined2/b.o out/test/aarch64/undefined2/c.o 284: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 284: ++ export LC_ALL=C 284: ++ LC_ALL=C @@ -20599,41 +20615,98 @@ 284: ++ QEMU= 284: ++ case $MACHINE in 284: ++ tlsdesc_opt=-mtls-dialect=desc -274/336 Test #275: aarch64-undefined2 ....................................... Passed 0.22 sec -test 286 - Start 286: aarch64-version-script14 - -286: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/version-script14.sh" -286: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -286: Environment variables: -286: MACHINE=aarch64 -286: CPU= -286: Test timeout computed to be: 1500 -274: + ar cr out/test/aarch64/undefined/d.a out/test/aarch64/undefined/b.o out/test/aarch64/undefined/c.o -274: + ./mold -static -o out/test/aarch64/undefined/exe out/test/aarch64/undefined/a.o out/test/aarch64/undefined/d.a 283: +++ uname 283: ++ '[' Linux = FreeBSD ']' 283: ++ trap 'on_error $LINENO' ERR 283: ++ trap on_exit EXIT +284: +++ uname +284: ++ '[' Linux = FreeBSD ']' +284: ++ trap 'on_error $LINENO' ERR +284: ++ trap on_exit EXIT +274: + readelf --symbols out/test/aarch64/undefined/exe +275: + ./mold -static -o out/test/aarch64/undefined2/exe out/test/aarch64/undefined2/a.o out/test/aarch64/undefined2/d.a -undefined foo +280: + readelf --version-info out/test/aarch64/version-script-search-paths/c.so 283: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/version-script11.sh .sh 283: ++ testname=version-script11 283: ++ echo -n 'Testing version-script11 ... ' 283: Testing version-script11 ... ++ t=out/test/aarch64/version-script11 283: ++ mkdir -p out/test/aarch64/version-script11 +284: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/version-script12.sh .sh +284: ++ testname=version-script12 +284: ++ echo -n 'Testing version-script12 ... ' +284: Testing version-script12 ... ++ t=out/test/aarch64/version-script12 +284: ++ mkdir -p out/test/aarch64/version-script12 283: ++ set -x 283: + cat +280: + grep -Fq 'Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x' out/test/aarch64/version-script-search-paths/log +274: + grep -q foo out/test/aarch64/undefined/log +284: ++ set -x +284: + cat +275: + readelf --symbols out/test/aarch64/undefined2/exe +280: + on_exit +280: + echo OK +280: OK +280: + exit 0 +272: + cc -B. -o out/test/aarch64/undefined-glob-gc-sections/exe2 out/test/aarch64/undefined-glob-gc-sections/d.a out/test/aarch64/undefined-glob-gc-sections/e.o '-Wl,--undefined-glob=foo*' -Wl,--gc-sections +273/336 Test #280: aarch64-version-script-search-paths ...................... Passed 0.22 sec +test 285 + Start 285: aarch64-version-script13 + +285: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/version-script13.sh" +285: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +285: Environment variables: +285: MACHINE=aarch64 +285: CPU= +285: Test timeout computed to be: 1500 +279: + on_exit +279: + echo OK +279: OK +279: + exit 0 283: + c++ -fPIC -c -o out/test/aarch64/version-script11/b.o -xc - 283: + cat -284: +++ uname -284: ++ '[' Linux = FreeBSD ']' -284: ++ trap 'on_error $LINENO' ERR -284: ++ trap on_exit EXIT +275: + grep -q foo out/test/aarch64/undefined2/log +275: + grep -q ndefined out/test/aarch64/undefined2/log +275: + on_exit +275: + echo OK +275: OK +275: + exit 0 281: + readelf --version-info out/test/aarch64/version-script/c.so 281: + grep -Fq 'Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x' out/test/aarch64/version-script/log +274: + grep -q bar out/test/aarch64/undefined/log +284: + cat +284: + c++ -fPIC -c -o out/test/aarch64/version-script12/b.o -xc - +268: + grep -q '42 3 5' +268: + out/test/aarch64/tlsdesc/exe4 +274/336 Test #275: aarch64-undefined2 ....................................... Passed 0.40 sec +275/336 Test #279: aarch64-verbose .......................................... Passed 0.26 sec +test 286 + Start 286: aarch64-version-script14 + +286: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/version-script14.sh" +286: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +286: Environment variables: +286: MACHINE=aarch64 +286: CPU= +286: Test timeout computed to be: 1500 +test 287 + Start 287: aarch64-version-script15 + +287: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/version-script15.sh" +287: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +287: Environment variables: +287: MACHINE=aarch64 +287: CPU= +287: Test timeout computed to be: 1500 281: + on_exit 281: + echo OK 281: OK 281: + exit 0 +274: + ./mold -static -o out/test/aarch64/undefined/exe out/test/aarch64/undefined/a.o out/test/aarch64/undefined/d.a -u foo +268: + on_exit +268: + echo OK +268: OK +268: + exit 0 +273: + cc -B. -o out/test/aarch64/undefined-glob/exe1 out/test/aarch64/undefined-glob/d.a out/test/aarch64/undefined-glob/e.o 285: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/version-script13.sh 285: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 285: ++ export LC_ALL=C @@ -20655,28 +20728,28 @@ 285: ++ '[' Linux = FreeBSD ']' 285: ++ trap 'on_error $LINENO' ERR 285: ++ trap on_exit EXIT -268: + out/test/aarch64/tlsdesc/exe4 -268: + grep -q '42 3 5' -275/336 Test #281: aarch64-version-script ................................... Passed 0.11 sec -test 287 - Start 287: aarch64-version-script15 +286: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/version-script14.sh +276/336 Test #268: aarch64-tlsdesc .......................................... Passed 0.81 sec +277/336 Test #281: aarch64-version-script ................................... Passed 0.21 sec +test 288 + Start 288: aarch64-version-script16 -287: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/version-script15.sh" -287: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -287: Environment variables: -287: MACHINE=aarch64 -287: CPU= -287: Test timeout computed to be: 1500 +288: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/version-script16.sh" +288: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +288: Environment variables: +288: MACHINE=aarch64 +288: CPU= +288: Test timeout computed to be: 1500 +test 289 + Start 289: aarch64-version-script17 + +289: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/version-script17.sh" +289: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +289: Environment variables: +289: MACHINE=aarch64 +289: CPU= +289: Test timeout computed to be: 1500 274: + readelf --symbols out/test/aarch64/undefined/exe -274: + grep -q foo out/test/aarch64/undefined/log -274: + grep -q bar out/test/aarch64/undefined/log -284: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/version-script12.sh .sh -284: ++ testname=version-script12 -284: ++ echo -n 'Testing version-script12 ... ' -284: Testing version-script12 ... ++ t=out/test/aarch64/version-script12 -284: ++ mkdir -p out/test/aarch64/version-script12 -284: ++ set -x -284: + cat 285: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/version-script13.sh .sh 285: ++ testname=version-script13 285: ++ echo -n 'Testing version-script13 ... ' @@ -20684,11 +20757,6 @@ 285: ++ mkdir -p out/test/aarch64/version-script13 285: ++ set -x 285: + cat -268: + on_exit -268: + echo OK -268: OK -268: + exit 0 -286: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/version-script14.sh 286: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 286: ++ export LC_ALL=C 286: ++ LC_ALL=C @@ -20714,26 +20782,7 @@ 286: ++ echo -n 'Testing version-script14 ... ' 286: Testing version-script14 ... ++ t=out/test/aarch64/version-script14 286: ++ mkdir -p out/test/aarch64/version-script14 -286: ++ set -x -286: + cat -273: + cc -B. -o out/test/aarch64/undefined-glob/exe1 out/test/aarch64/undefined-glob/d.a out/test/aarch64/undefined-glob/e.o -276/336 Test #268: aarch64-tlsdesc .......................................... Passed 0.43 sec -test 288 - Start 288: aarch64-version-script16 - -288: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/version-script16.sh" -288: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -288: Environment variables: -288: MACHINE=aarch64 -288: CPU= -288: Test timeout computed to be: 1500 -274: + ./mold -static -o out/test/aarch64/undefined/exe out/test/aarch64/undefined/a.o out/test/aarch64/undefined/d.a -u foo -284: + c++ -fPIC -c -o out/test/aarch64/version-script12/b.o -xc - -284: + cat -285: + cat -285: + c++ -fPIC -c -o out/test/aarch64/version-script13/b.o -xc - -286: + cat -286: + c++ -fPIC -c -o out/test/aarch64/version-script14/b.o -xc - +282: + readelf --dyn-syms out/test/aarch64/version-script10/c.so 287: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/version-script15.sh 287: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 287: ++ export LC_ALL=C @@ -20752,24 +20801,9 @@ 287: ++ case $MACHINE in 287: ++ tlsdesc_opt=-mtls-dialect=desc 287: +++ uname -287: ++ '[' Linux = FreeBSD ']' -287: ++ trap 'on_error $LINENO' ERR -287: ++ trap on_exit EXIT -287: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/version-script15.sh .sh -287: ++ testname=version-script15 -287: ++ echo -n 'Testing version-script15 ... ' -287: Testing version-script15 ... ++ t=out/test/aarch64/version-script15 -287: ++ mkdir -p out/test/aarch64/version-script15 -272: + cc -B. -o out/test/aarch64/undefined-glob-gc-sections/exe2 out/test/aarch64/undefined-glob-gc-sections/d.a out/test/aarch64/undefined-glob-gc-sections/e.o '-Wl,--undefined-glob=foo*' -Wl,--gc-sections 283: + cc -B. -shared -Wl,--version-script=out/test/aarch64/version-script11/a.ver -o out/test/aarch64/version-script11/c.so out/test/aarch64/version-script11/b.o -282: + readelf --dyn-syms out/test/aarch64/version-script10/c.so -282: + grep -q ' foo1@@VER1$' out/test/aarch64/version-script10/log -282: + grep -q ' foo2@@VER1$' out/test/aarch64/version-script10/log -282: + grep -q ' foo3@@VER1$' out/test/aarch64/version-script10/log -277: + grep -w foo 277: + readelf --dyn-syms out/test/aarch64/unresolved-symbols/exe -277: + grep -q 'undefined.*foo' -277: + cc -B. -o out/test/aarch64/unresolved-symbols/exe out/test/aarch64/unresolved-symbols/a.o -Wl,-unresolved-symbols=report-all -Wl,--warn-unresolved-symbols +277: + grep -w foo 288: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/version-script16.sh 288: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 288: ++ export LC_ALL=C @@ -20787,31 +20821,15 @@ 288: ++ QEMU= 288: ++ case $MACHINE in 288: ++ tlsdesc_opt=-mtls-dialect=desc -287: ++ set -x -287: + cat -282: + on_exit -282: + echo OK -282: OK -282: + exit 0 -277/336 Test #282: aarch64-version-script10 ................................. Passed 0.10 sec -test 289 - Start 289: aarch64-version-script17 - -289: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/version-script17.sh" -289: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -289: Environment variables: -289: MACHINE=aarch64 -289: CPU= -289: Test timeout computed to be: 1500 -274: + readelf --symbols out/test/aarch64/undefined/exe 274: + grep -q foo out/test/aarch64/undefined/log +282: + grep -q ' foo1@@VER1$' out/test/aarch64/version-script10/log +287: ++ '[' Linux = FreeBSD ']' +287: ++ trap 'on_error $LINENO' ERR +287: ++ trap on_exit EXIT +284: + cc -B. -shared -Wl,--version-script=out/test/aarch64/version-script12/a.ver -o out/test/aarch64/version-script12/c.so out/test/aarch64/version-script12/b.o 288: +++ uname -288: ++ '[' Linux = FreeBSD ']' -288: ++ trap 'on_error $LINENO' ERR -288: ++ trap on_exit EXIT -287: + c++ -fPIC -c -o out/test/aarch64/version-script15/b.o -xc - -287: + cat 289: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/version-script17.sh +274: + grep -q bar out/test/aarch64/undefined/log 289: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 289: ++ export LC_ALL=C 289: ++ LC_ALL=C @@ -20828,54 +20846,52 @@ 289: ++ QEMU= 289: ++ case $MACHINE in 289: ++ tlsdesc_opt=-mtls-dialect=desc -274: + grep -q bar out/test/aarch64/undefined/log +287: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/version-script15.sh .sh +287: ++ testname=version-script15 +287: ++ echo -n 'Testing version-script15 ... ' +287: Testing version-script15 ... ++ t=out/test/aarch64/version-script15 +287: ++ mkdir -p out/test/aarch64/version-script15 +286: ++ set -x +286: + cat +285: + cat +288: ++ '[' Linux = FreeBSD ']' +288: ++ trap 'on_error $LINENO' ERR +288: ++ trap on_exit EXIT 288: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/version-script16.sh .sh +287: ++ set -x +287: + cat 288: ++ testname=version-script16 288: ++ echo -n 'Testing version-script16 ... ' 288: Testing version-script16 ... ++ t=out/test/aarch64/version-script16 288: ++ mkdir -p out/test/aarch64/version-script16 -285: + cc -B. -shared -Wl,--version-script=out/test/aarch64/version-script13/a.ver -o out/test/aarch64/version-script13/c.so out/test/aarch64/version-script13/b.o +277: + cc -B. -o out/test/aarch64/unresolved-symbols/exe out/test/aarch64/unresolved-symbols/a.o -Wl,-unresolved-symbols=report-all -Wl,--warn-unresolved-symbols +277: + grep -q 'undefined.*foo' +274: + ./mold -static -o out/test/aarch64/undefined/exe out/test/aarch64/undefined/a.o out/test/aarch64/undefined/d.a -u foo --undefined=bar 289: +++ uname +282: + grep -q ' foo2@@VER1$' out/test/aarch64/version-script10/log +285: + c++ -fPIC -c -o out/test/aarch64/version-script13/b.o -xc - 289: ++ '[' Linux = FreeBSD ']' 289: ++ trap 'on_error $LINENO' ERR 289: ++ trap on_exit EXIT -274: + ./mold -static -o out/test/aarch64/undefined/exe out/test/aarch64/undefined/a.o out/test/aarch64/undefined/d.a -u foo --undefined=bar 288: ++ set -x 288: + cat 273: + readelf -W --symbols out/test/aarch64/undefined-glob/exe1 -284: + cc -B. -shared -Wl,--version-script=out/test/aarch64/version-script12/a.ver -o out/test/aarch64/version-script12/c.so out/test/aarch64/version-script12/b.o -286: + cc -B. -shared -Wl,--version-script=out/test/aarch64/version-script14/a.ver -o out/test/aarch64/version-script14/c.so out/test/aarch64/version-script14/b.o +286: + c++ -fPIC -c -o out/test/aarch64/version-script14/b.o -xc - +286: + cat +272: + readelf -W --symbols out/test/aarch64/undefined-glob-gc-sections/exe2 +282: + grep -q ' foo3@@VER1$' out/test/aarch64/version-script10/log 289: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/version-script17.sh .sh 289: ++ testname=version-script17 289: ++ echo -n 'Testing version-script17 ... ' 289: Testing version-script17 ... ++ t=out/test/aarch64/version-script17 289: ++ mkdir -p out/test/aarch64/version-script17 -273: + grep -q foo out/test/aarch64/undefined-glob/log1 -273: + grep -q foobar out/test/aarch64/undefined-glob/log1 -277: + cc -B. -o out/test/aarch64/unresolved-symbols/exe out/test/aarch64/unresolved-symbols/a.o -Wl,-unresolved-symbols=ignore-in-object-files -287: + cc -B. -shared -Wl,--version-script=out/test/aarch64/version-script15/a.ver -o out/test/aarch64/version-script15/c.so out/test/aarch64/version-script15/b.o -277: + grep -q 'undefined.*foo' -273: + grep -q baz out/test/aarch64/undefined-glob/log1 -289: ++ set -x -289: + cc -fPIC -c -o out/test/aarch64/version-script17/a.o -xc - -289: + cat -273: + cc -B. -o out/test/aarch64/undefined-glob/exe2 out/test/aarch64/undefined-glob/d.a out/test/aarch64/undefined-glob/e.o '-Wl,--undefined-glob=foo*' -288: + cc -fPIC -c -o out/test/aarch64/version-script16/b.o -xc - -288: + cat -274: + readelf --symbols out/test/aarch64/undefined/exe -283: + readelf --dyn-syms out/test/aarch64/version-script11/c.so -274: + grep -q foo out/test/aarch64/undefined/log -272: + readelf -W --symbols out/test/aarch64/undefined-glob-gc-sections/exe2 -267: + grep -q 42 -267: + out/test/aarch64/tlsdesc-static/exe2 272: + grep -q foo out/test/aarch64/undefined-glob-gc-sections/log2 -283: + grep -q foo@@VER_X1 out/test/aarch64/version-script11/log -274: + grep -q bar out/test/aarch64/undefined/log -267: + on_exit -267: + echo OK -267: OK -267: + exit 0 -278/336 Test #267: aarch64-tlsdesc-static ................................... Passed 0.50 sec +282: + on_exit +282: + echo OK +282: OK +282: + exit 0 +287: + c++ -fPIC -c -o out/test/aarch64/version-script15/b.o -xc - +278/336 Test #282: aarch64-version-script10 ................................. Passed 0.26 sec test 290 Start 290: aarch64-version-script18 @@ -20885,13 +20901,47 @@ 290: MACHINE=aarch64 290: CPU= 290: Test timeout computed to be: 1500 +287: + cat +274: + readelf --symbols out/test/aarch64/undefined/exe +274: + grep -q foo out/test/aarch64/undefined/log +288: + cat +288: + cc -fPIC -c -o out/test/aarch64/version-script16/b.o -xc - +273: + grep -q foo out/test/aarch64/undefined-glob/log1 +273: + grep -q foobar out/test/aarch64/undefined-glob/log1 272: + grep -q foobar out/test/aarch64/undefined-glob-gc-sections/log2 -283: + grep -q ' bar' out/test/aarch64/version-script11/log -274: + on_exit -274: + echo OK -274: OK -274: + exit 0 -279/336 Test #274: aarch64-undefined ........................................ Passed 0.33 sec +289: ++ set -x +290: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/version-script18.sh +290: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc +290: ++ export LC_ALL=C +290: ++ LC_ALL=C +290: ++ '[' -z aarch64 ']' +290: ++ '[' -z '' ']' +290: ++ TESTDIR=out/test/aarch64 +290: ++ CC=cc +290: ++ CXX=c++ +290: ++ GCC=gcc +290: ++ GXX=g++ +290: ++ OBJDUMP=objdump +290: ++ OBJCOPY=objcopy +290: ++ STRIP=strip +290: ++ QEMU= +290: ++ case $MACHINE in +290: ++ tlsdesc_opt=-mtls-dialect=desc +272: + grep -q baz out/test/aarch64/undefined-glob-gc-sections/log2 +289: + cc -fPIC -c -o out/test/aarch64/version-script17/a.o -xc - +285: + cc -B. -shared -Wl,--version-script=out/test/aarch64/version-script13/a.ver -o out/test/aarch64/version-script13/c.so out/test/aarch64/version-script13/b.o +289: + cat +273: + grep -q baz out/test/aarch64/undefined-glob/log1 +274: + grep -q bar out/test/aarch64/undefined/log +290: +++ uname +272: + on_exit +272: + echo OK +272: OK +272: + exit 0 +290: ++ '[' Linux = FreeBSD ']' +290: ++ trap 'on_error $LINENO' ERR +290: ++ trap on_exit EXIT +279/336 Test #272: aarch64-undefined-glob-gc-sections ....................... Passed 0.71 sec test 291 Start 291: aarch64-version-script19 @@ -20901,15 +20951,13 @@ 291: MACHINE=aarch64 291: CPU= 291: Test timeout computed to be: 1500 -283: + grep -q ' baz' out/test/aarch64/version-script11/log -283: + on_exit -283: + echo OK -283: OK -283: + exit 0 -289: + cat -289: + cc -B. -shared -fPIC -o out/test/aarch64/version-script17/b.so -xc - -285: + readelf --dyn-syms out/test/aarch64/version-script13/c.so -280/336 Test #283: aarch64-version-script11 ................................. Passed 0.12 sec +274: + on_exit +274: + echo OK +274: OK +274: + exit 0 +273: + cc -B. -o out/test/aarch64/undefined-glob/exe2 out/test/aarch64/undefined-glob/d.a out/test/aarch64/undefined-glob/e.o '-Wl,--undefined-glob=foo*' +283: + readelf --dyn-syms out/test/aarch64/version-script11/c.so +280/336 Test #274: aarch64-undefined ........................................ Passed 0.58 sec test 292 Start 292: aarch64-version-script2 @@ -20919,12 +20967,15 @@ 292: MACHINE=aarch64 292: CPU= 292: Test timeout computed to be: 1500 -288: + cc -B. -shared -Wl,--version-script=out/test/aarch64/version-script16/a.ver -o out/test/aarch64/version-script16/c.so out/test/aarch64/version-script16/b.o -272: + grep -q baz out/test/aarch64/undefined-glob-gc-sections/log2 -272: + on_exit -272: + echo OK -272: OK -272: + exit 0 +283: + grep -q foo@@VER_X1 out/test/aarch64/version-script11/log +290: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/version-script18.sh .sh +290: ++ testname=version-script18 +290: ++ echo -n 'Testing version-script18 ... ' +290: Testing version-script18 ... ++ t=out/test/aarch64/version-script18 +290: ++ mkdir -p out/test/aarch64/version-script18 +290: ++ set -x +290: + cat +286: + cc -B. -shared -Wl,--version-script=out/test/aarch64/version-script14/a.ver -o out/test/aarch64/version-script14/c.so out/test/aarch64/version-script14/b.o 291: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/version-script19.sh 291: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 291: ++ export LC_ALL=C @@ -20939,41 +20990,12 @@ 291: ++ OBJDUMP=objdump 291: ++ OBJCOPY=objcopy 291: ++ STRIP=strip -277: + grep -q 'undefined.*foo' -277: + cc -B. -o out/test/aarch64/unresolved-symbols/exe out/test/aarch64/unresolved-symbols/a.o -Wl,-unresolved-symbols=ignore-in-shared-libs -284: + readelf --dyn-syms out/test/aarch64/version-script12/c.so -284: + grep -q ' xyz' out/test/aarch64/version-script12/log -290: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/version-script18.sh -290: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc -290: ++ export LC_ALL=C -290: ++ LC_ALL=C -290: ++ '[' -z aarch64 ']' -290: ++ '[' -z '' ']' -290: ++ TESTDIR=out/test/aarch64 -290: ++ CC=cc -290: ++ CXX=c++ -290: ++ GCC=gcc -290: ++ GXX=g++ -290: ++ OBJDUMP=objdump -290: ++ OBJCOPY=objcopy -290: ++ STRIP=strip -290: ++ QEMU= -290: ++ case $MACHINE in -290: ++ tlsdesc_opt=-mtls-dialect=desc -290: +++ uname -281/336 Test #272: aarch64-undefined-glob-gc-sections ....................... Passed 0.40 sec -test 293 - Start 293: aarch64-version-script20 - -293: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/version-script20.sh" -293: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -293: Environment variables: -293: MACHINE=aarch64 -293: CPU= -293: Test timeout computed to be: 1500 291: ++ QEMU= 291: ++ case $MACHINE in 291: ++ tlsdesc_opt=-mtls-dialect=desc +287: + cc -B. -shared -Wl,--version-script=out/test/aarch64/version-script15/a.ver -o out/test/aarch64/version-script15/c.so out/test/aarch64/version-script15/b.o +288: + cc -B. -shared -Wl,--version-script=out/test/aarch64/version-script16/a.ver -o out/test/aarch64/version-script16/c.so out/test/aarch64/version-script16/b.o +284: + readelf --dyn-syms out/test/aarch64/version-script12/c.so 291: +++ uname 291: ++ '[' Linux = FreeBSD ']' 291: ++ trap 'on_error $LINENO' ERR @@ -20981,19 +21003,11 @@ 291: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/version-script19.sh .sh 291: ++ testname=version-script19 291: ++ echo -n 'Testing version-script19 ... ' -284: + grep -q ' foo_bar' out/test/aarch64/version-script12/log -284: + grep -q ' foo$' out/test/aarch64/version-script12/log -290: ++ '[' Linux = FreeBSD ']' -290: ++ trap 'on_error $LINENO' ERR -290: ++ trap on_exit EXIT -290: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/version-script18.sh .sh -290: ++ testname=version-script18 -290: ++ echo -n 'Testing version-script18 ... ' -290: Testing version-script18 ... ++ t=out/test/aarch64/version-script18 -290: ++ mkdir -p out/test/aarch64/version-script18 -290: ++ set -x +291: Testing version-script19 ... ++ t=out/test/aarch64/version-script19 +291: ++ mkdir -p out/test/aarch64/version-script19 290: + cat -286: + readelf --dyn-syms out/test/aarch64/version-script14/c.so +290: + cc -fPIC -c -o out/test/aarch64/version-script18/b.o -xc++ - +283: + grep -q ' bar' out/test/aarch64/version-script11/log 292: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/version-script2.sh 292: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 292: ++ export LC_ALL=C @@ -21011,54 +21025,46 @@ 292: ++ QEMU= 292: ++ case $MACHINE in 292: ++ tlsdesc_opt=-mtls-dialect=desc +283: + grep -q ' baz' out/test/aarch64/version-script11/log +284: + grep -q ' xyz' out/test/aarch64/version-script12/log 292: +++ uname 292: ++ '[' Linux = FreeBSD ']' 292: ++ trap 'on_error $LINENO' ERR 292: ++ trap on_exit EXIT -285: + grep -q ' foobar' out/test/aarch64/version-script13/log -291: Testing version-script19 ... ++ t=out/test/aarch64/version-script19 -291: ++ mkdir -p out/test/aarch64/version-script19 -286: + grep -q ' xyz' out/test/aarch64/version-script14/log -286: + grep -q ' foobarzx' out/test/aarch64/version-script14/log -293: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/version-script20.sh -290: + cc -fPIC -c -o out/test/aarch64/version-script18/b.o -xc++ - -290: + cat -273: + readelf -W --symbols out/test/aarch64/undefined-glob/exe2 +284: + grep -q ' foo_bar' out/test/aarch64/version-script12/log +291: ++ set -x +291: + cat +283: + on_exit +283: + echo OK +283: OK +283: + exit 0 +281/336 Test #283: aarch64-version-script11 ................................. Passed 0.30 sec +test 293 + Start 293: aarch64-version-script20 + +293: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/version-script20.sh" +293: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +293: Environment variables: +293: MACHINE=aarch64 +293: CPU= +293: Test timeout computed to be: 1500 +277: + grep -q 'undefined.*foo' +277: + cc -B. -o out/test/aarch64/unresolved-symbols/exe out/test/aarch64/unresolved-symbols/a.o -Wl,-unresolved-symbols=ignore-in-object-files 292: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/version-script2.sh .sh -285: + grep -q ' foo$' out/test/aarch64/version-script13/log -293: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc -293: ++ export LC_ALL=C -293: ++ LC_ALL=C -293: ++ '[' -z aarch64 ']' -293: ++ '[' -z '' ']' -293: ++ TESTDIR=out/test/aarch64 -293: ++ CC=cc -293: ++ CXX=c++ -293: ++ GCC=gcc -293: ++ GXX=g++ -293: ++ OBJDUMP=objdump -293: ++ OBJCOPY=objcopy -293: ++ STRIP=strip -293: ++ QEMU= -293: ++ case $MACHINE in -293: ++ tlsdesc_opt=-mtls-dialect=desc 292: ++ testname=version-script2 292: ++ echo -n 'Testing version-script2 ... ' 292: Testing version-script2 ... ++ t=out/test/aarch64/version-script2 292: ++ mkdir -p out/test/aarch64/version-script2 292: ++ set -x 292: + cat -273: + grep -q foo out/test/aarch64/undefined-glob/log2 -291: ++ set -x -291: + cat -293: +++ uname +284: + grep -q ' foo$' out/test/aarch64/version-script12/log 284: + on_exit 284: + echo OK 284: OK 284: + exit 0 -273: + grep -q foobar out/test/aarch64/undefined-glob/log2 -285: + on_exit -282/336 Test #284: aarch64-version-script12 ................................. Passed 0.13 sec +289: + cat +289: + cc -B. -shared -fPIC -o out/test/aarch64/version-script17/b.so -xc - +282/336 Test #284: aarch64-version-script12 ................................. Passed 0.30 sec test 294 Start 294: aarch64-version-script21 @@ -21068,51 +21074,35 @@ 294: MACHINE=aarch64 294: CPU= 294: Test timeout computed to be: 1500 -285: + echo OK -285: OK -285: + exit 0 -292: + cat -292: + cc -B. -xc -shared -o out/test/aarch64/version-script2/b.so -Wl,-version-script,out/test/aarch64/version-script2/a.ver - -293: ++ '[' Linux = FreeBSD ']' -293: ++ trap 'on_error $LINENO' ERR -293: ++ trap on_exit EXIT -293: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/version-script20.sh .sh -287: + readelf --dyn-syms out/test/aarch64/version-script15/c.so -273: + grep -q baz out/test/aarch64/undefined-glob/log2 -273: + on_exit -273: + echo OK -273: OK -273: + exit 0 291: + cc -fPIC -c -o out/test/aarch64/version-script19/b.o -xc++ - 291: + cat -283/336 Test #285: aarch64-version-script13 ................................. Passed 0.13 sec -test 295 - Start 295: aarch64-version-script22 - -295: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/version-script22.sh" -295: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -295: Environment variables: -295: MACHINE=aarch64 -295: CPU= -295: Test timeout computed to be: 1500 -293: ++ testname=version-script20 -293: ++ echo -n 'Testing version-script20 ... ' -293: Testing version-script20 ... ++ t=out/test/aarch64/version-script20 -293: ++ mkdir -p out/test/aarch64/version-script20 -293: ++ set -x -293: + cat -287: + grep -q ' azZ' out/test/aarch64/version-script15/log -287: + grep -q ' czZ' out/test/aarch64/version-script15/log -284/336 Test #273: aarch64-undefined-glob ................................... Passed 0.39 sec -286: + grep -q ' foobarcx' out/test/aarch64/version-script14/log -286: + grep -q ' foo123bar456bx' out/test/aarch64/version-script14/log -286: + grep -q ' foo123bar456c' out/test/aarch64/version-script14/log +293: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/version-script20.sh +293: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc +293: ++ export LC_ALL=C +293: ++ LC_ALL=C +293: ++ '[' -z aarch64 ']' +293: ++ '[' -z '' ']' +293: ++ TESTDIR=out/test/aarch64 +293: ++ CC=cc +293: ++ CXX=c++ +293: ++ GCC=gcc +293: ++ GXX=g++ +293: ++ OBJDUMP=objdump +293: ++ OBJCOPY=objcopy +293: ++ STRIP=strip +293: ++ QEMU= +293: ++ case $MACHINE in +293: ++ tlsdesc_opt=-mtls-dialect=desc +273: + readelf -W --symbols out/test/aarch64/undefined-glob/exe2 +292: + cat +292: + cc -B. -xc -shared -o out/test/aarch64/version-script2/b.so -Wl,-version-script,out/test/aarch64/version-script2/a.ver - 294: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/version-script21.sh 294: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 294: ++ export LC_ALL=C 294: ++ LC_ALL=C 294: ++ '[' -z aarch64 ']' 294: ++ '[' -z '' ']' +293: +++ uname 294: ++ TESTDIR=out/test/aarch64 294: ++ CC=cc 294: ++ CXX=c++ @@ -21124,15 +21114,67 @@ 294: ++ QEMU= 294: ++ case $MACHINE in 294: ++ tlsdesc_opt=-mtls-dialect=desc +273: + grep -q foo out/test/aarch64/undefined-glob/log2 +293: ++ '[' Linux = FreeBSD ']' +293: ++ trap 'on_error $LINENO' ERR +293: ++ trap on_exit EXIT +290: + cc -B. -shared -Wl,--version-script=out/test/aarch64/version-script18/a.ver -o out/test/aarch64/version-script18/c.so out/test/aarch64/version-script18/b.o +286: + readelf --dyn-syms out/test/aarch64/version-script14/c.so +285: + readelf --dyn-syms out/test/aarch64/version-script13/c.so 294: +++ uname +273: + grep -q foobar out/test/aarch64/undefined-glob/log2 +293: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/version-script20.sh .sh +293: ++ testname=version-script20 +293: ++ echo -n 'Testing version-script20 ... ' +293: Testing version-script20 ... ++ t=out/test/aarch64/version-script20 +293: ++ mkdir -p out/test/aarch64/version-script20 294: ++ '[' Linux = FreeBSD ']' 294: ++ trap 'on_error $LINENO' ERR 294: ++ trap on_exit EXIT +286: + grep -q ' xyz' out/test/aarch64/version-script14/log 294: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/version-script21.sh .sh 294: ++ testname=version-script21 294: ++ echo -n 'Testing version-script21 ... ' 294: Testing version-script21 ... ++ t=out/test/aarch64/version-script21 294: ++ mkdir -p out/test/aarch64/version-script21 +273: + grep -q baz out/test/aarch64/undefined-glob/log2 +287: + readelf --dyn-syms out/test/aarch64/version-script15/c.so +285: + grep -q ' foobar' out/test/aarch64/version-script13/log +286: + grep -q ' foobarzx' out/test/aarch64/version-script14/log +287: + grep -q ' azZ' out/test/aarch64/version-script15/log +293: ++ set -x +293: + cat +273: + on_exit +273: + echo OK +273: OK +273: + exit 0 +285: + grep -q ' foo$' out/test/aarch64/version-script13/log +287: + grep -q ' czZ' out/test/aarch64/version-script15/log +283/336 Test #273: aarch64-undefined-glob ................................... Passed 0.80 sec +test 295 + Start 295: aarch64-version-script22 + +295: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/version-script22.sh" +295: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +295: Environment variables: +295: MACHINE=aarch64 +295: CPU= +295: Test timeout computed to be: 1500 +288: + grep -q foobar +288: + readelf --dyn-syms out/test/aarch64/version-script16/c.so +294: ++ set -x +294: + cat +291: + cc -B. -shared -Wl,--version-script=out/test/aarch64/version-script19/a.ver -o out/test/aarch64/version-script19/c.so out/test/aarch64/version-script19/b.o +286: + grep -q ' foobarcx' out/test/aarch64/version-script14/log +287: + grep -q ' azC' out/test/aarch64/version-script15/log +288: + on_exit +288: + echo OK +288: OK +288: + exit 0 +293: + cat +293: + cc -fPIC -c -o out/test/aarch64/version-script20/b.o -xc - +277: + cc -B. -o out/test/aarch64/unresolved-symbols/exe out/test/aarch64/unresolved-symbols/a.o -Wl,-unresolved-symbols=ignore-in-shared-libs +284/336 Test #288: aarch64-version-script16 ................................. Passed 0.27 sec test 296 Start 296: aarch64-version-script23 @@ -21142,11 +21184,27 @@ 296: MACHINE=aarch64 296: CPU= 296: Test timeout computed to be: 1500 -293: + cat -286: + grep -q ' foo123bar456x' out/test/aarch64/version-script14/log -294: ++ set -x +285: + on_exit +285: + echo OK +285: OK +285: + exit 0 +277: + grep -q 'undefined.*foo' +286: + grep -q ' foo123bar456bx' out/test/aarch64/version-script14/log 294: + cat 295: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/version-script22.sh +287: + grep -q ' aaZ' out/test/aarch64/version-script15/log +285/336 Test #285: aarch64-version-script13 ................................. Passed 0.33 sec +test 297 + Start 297: aarch64-version-script3 + +297: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/version-script3.sh" +297: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +297: Environment variables: +297: MACHINE=aarch64 +297: CPU= +297: Test timeout computed to be: 1500 +286: + grep -q ' foo123bar456c' out/test/aarch64/version-script14/log +294: + cc -fPIC -c -o out/test/aarch64/version-script21/b.o -xc - 295: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 295: ++ export LC_ALL=C 295: ++ LC_ALL=C @@ -21163,27 +21221,25 @@ 295: ++ QEMU= 295: ++ case $MACHINE in 295: ++ tlsdesc_opt=-mtls-dialect=desc -293: + cc -fPIC -c -o out/test/aarch64/version-script20/b.o -xc - -286: + on_exit -286: + echo OK -286: OK -286: + exit 0 -287: + grep -q ' azC' out/test/aarch64/version-script15/log -285/336 Test #286: aarch64-version-script14 ................................. Passed 0.14 sec -test 297 - Start 297: aarch64-version-script3 +295: +++ uname +295: ++ '[' Linux = FreeBSD ']' +295: ++ trap 'on_error $LINENO' ERR +295: ++ trap on_exit EXIT +287: + on_exit +287: + echo OK +287: OK +287: + exit 0 +286/336 Test #287: aarch64-version-script15 ................................. Passed 0.32 sec +test 298 + Start 298: aarch64-version-script4 -297: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/version-script3.sh" -297: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -297: Environment variables: -297: MACHINE=aarch64 -297: CPU= -297: Test timeout computed to be: 1500 +298: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/version-script4.sh" +298: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +298: Environment variables: +298: MACHINE=aarch64 +298: CPU= +298: Test timeout computed to be: 1500 296: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/version-script23.sh -277: + on_exit -277: + echo OK -277: OK -277: + exit 0 296: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 296: ++ export LC_ALL=C 296: ++ LC_ALL=C @@ -21201,36 +21257,6 @@ 296: ++ case $MACHINE in 296: ++ tlsdesc_opt=-mtls-dialect=desc 297: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/version-script3.sh -295: +++ uname -286/336 Test #277: aarch64-unresolved-symbols ............................... Passed 0.33 sec -test 298 - Start 298: aarch64-version-script4 - -298: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/version-script4.sh" -298: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -298: Environment variables: -298: MACHINE=aarch64 -298: CPU= -298: Test timeout computed to be: 1500 -295: ++ '[' Linux = FreeBSD ']' -295: ++ trap 'on_error $LINENO' ERR -295: ++ trap on_exit EXIT -295: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/version-script22.sh .sh -295: ++ testname=version-script22 -295: ++ echo -n 'Testing version-script22 ... ' -295: Testing version-script22 ... ++ t=out/test/aarch64/version-script22 -295: ++ mkdir -p out/test/aarch64/version-script22 -296: +++ uname -296: ++ '[' Linux = FreeBSD ']' -296: ++ trap 'on_error $LINENO' ERR -296: ++ trap on_exit EXIT -296: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/version-script23.sh .sh -296: ++ testname=version-script23 -296: ++ echo -n 'Testing version-script23 ... ' -296: Testing version-script23 ... ++ t=out/test/aarch64/version-script23 -296: ++ mkdir -p out/test/aarch64/version-script23 -296: ++ set -x -296: + cat 297: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 297: ++ export LC_ALL=C 297: ++ LC_ALL=C @@ -21247,51 +21273,21 @@ 297: ++ QEMU= 297: ++ case $MACHINE in 297: ++ tlsdesc_opt=-mtls-dialect=desc +295: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/version-script22.sh .sh +295: ++ testname=version-script22 +295: ++ echo -n 'Testing version-script22 ... ' +295: Testing version-script22 ... ++ t=out/test/aarch64/version-script22 +295: ++ mkdir -p out/test/aarch64/version-script22 +286: + grep -q ' foo123bar456x' out/test/aarch64/version-script14/log +296: +++ uname +296: ++ '[' Linux = FreeBSD ']' +296: ++ trap 'on_error $LINENO' ERR +296: ++ trap on_exit EXIT 297: +++ uname +298: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/version-script4.sh 297: ++ '[' Linux = FreeBSD ']' 297: ++ trap 'on_error $LINENO' ERR 297: ++ trap on_exit EXIT -297: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/version-script3.sh .sh -297: ++ testname=version-script3 -297: ++ echo -n 'Testing version-script3 ... ' -297: Testing version-script3 ... ++ t=out/test/aarch64/version-script3 -297: ++ mkdir -p out/test/aarch64/version-script3 -294: + cat -294: + cc -fPIC -c -o out/test/aarch64/version-script21/b.o -xc - -287: + grep -q ' aaZ' out/test/aarch64/version-script15/log -288: + grep -q foobar -288: + readelf --dyn-syms out/test/aarch64/version-script16/c.so -297: ++ set -x -297: + cat -288: + on_exit -288: + echo OK -288: OK -288: + exit 0 -287/336 Test #288: aarch64-version-script16 ................................. Passed 0.14 sec -test 299 - Start 299: aarch64-version-script5 - -299: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/version-script5.sh" -299: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -299: Environment variables: -299: MACHINE=aarch64 -299: CPU= -299: Test timeout computed to be: 1500 -287: + on_exit -287: + echo OK -287: OK -287: + exit 0 -298: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/version-script4.sh -288/336 Test #287: aarch64-version-script15 ................................. Passed 0.15 sec -test 300 - Start 300: aarch64-version-script6 - -300: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/version-script6.sh" -300: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -300: Environment variables: -300: MACHINE=aarch64 -300: CPU= -300: Test timeout computed to be: 1500 298: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 298: ++ export LC_ALL=C 298: ++ LC_ALL=C @@ -21308,41 +21304,40 @@ 298: ++ QEMU= 298: ++ case $MACHINE in 298: ++ tlsdesc_opt=-mtls-dialect=desc -298: +++ uname +286: + on_exit +286: + echo OK +286: OK +286: + exit 0 +296: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/version-script23.sh .sh +287/336 Test #286: aarch64-version-script14 ................................. Passed 0.36 sec +test 299 + Start 299: aarch64-version-script5 + +299: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/version-script5.sh" +299: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +299: Environment variables: +299: MACHINE=aarch64 +299: CPU= +299: Test timeout computed to be: 1500 +296: ++ testname=version-script23 +296: ++ echo -n 'Testing version-script23 ... ' +296: Testing version-script23 ... ++ t=out/test/aarch64/version-script23 +296: ++ mkdir -p out/test/aarch64/version-script23 295: ++ set -x 295: + cat -295: + cc -fPIC -c -o out/test/aarch64/version-script22/b.o -xc - -295: + cat +297: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/version-script3.sh .sh +297: ++ testname=version-script3 +297: ++ echo -n 'Testing version-script3 ... ' +297: Testing version-script3 ... ++ t=out/test/aarch64/version-script3 +297: ++ mkdir -p out/test/aarch64/version-script3 +297: ++ set -x +297: + cat +290: + readelf --wide --dyn-syms out/test/aarch64/version-script18/c.so +290: + grep libalpha 289: + cc -B. -o out/test/aarch64/version-script17/exe1 out/test/aarch64/version-script17/a.o out/test/aarch64/version-script17/b.so -290: + cc -B. -shared -Wl,--version-script=out/test/aarch64/version-script18/a.ver -o out/test/aarch64/version-script18/c.so out/test/aarch64/version-script18/b.o -296: + cc -c -o out/test/aarch64/version-script23/b.o -xassembler - -296: + cat -300: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/version-script6.sh -300: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc -300: ++ export LC_ALL=C -300: ++ LC_ALL=C -300: ++ '[' -z aarch64 ']' -300: ++ '[' -z '' ']' -300: ++ TESTDIR=out/test/aarch64 -300: ++ CC=cc -300: ++ CXX=c++ -300: ++ GCC=gcc -300: ++ GXX=g++ -300: ++ OBJDUMP=objdump -300: ++ OBJCOPY=objcopy -300: ++ STRIP=strip -300: ++ QEMU= -300: ++ case $MACHINE in -300: ++ tlsdesc_opt=-mtls-dialect=desc -293: + cc -B. -shared -Wl,--version-script=out/test/aarch64/version-script20/a.ver -o out/test/aarch64/version-script20/c.so out/test/aarch64/version-script20/b.o -298: ++ '[' Linux = FreeBSD ']' -298: ++ trap 'on_error $LINENO' ERR -298: ++ trap on_exit EXIT 299: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/version-script5.sh -291: + cc -B. -shared -Wl,--version-script=out/test/aarch64/version-script19/a.ver -o out/test/aarch64/version-script19/c.so out/test/aarch64/version-script19/b.o -298: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/version-script4.sh .sh -296: + cc -B. -shared -Wl,--version-script=out/test/aarch64/version-script23/a.ver -o out/test/aarch64/version-script23/c.so out/test/aarch64/version-script23/b.o -300: +++ uname +296: ++ set -x +296: + cat 299: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 299: ++ export LC_ALL=C 299: ++ LC_ALL=C @@ -21359,55 +21354,48 @@ 299: ++ QEMU= 299: ++ case $MACHINE in 299: ++ tlsdesc_opt=-mtls-dialect=desc -299: +++ uname -297: + cc -B. -xc -shared -o out/test/aarch64/version-script3/b.so -Wl,-version-script,out/test/aarch64/version-script3/a.ver - -300: ++ '[' Linux = FreeBSD ']' -300: ++ trap 'on_error $LINENO' ERR -300: ++ trap on_exit EXIT -297: + cat -299: ++ '[' Linux = FreeBSD ']' -299: ++ trap 'on_error $LINENO' ERR -299: ++ trap on_exit EXIT -299: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/version-script5.sh .sh -299: ++ testname=version-script5 -299: ++ echo -n 'Testing version-script5 ... ' -299: Testing version-script5 ... ++ t=out/test/aarch64/version-script5 -299: ++ mkdir -p out/test/aarch64/version-script5 -300: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/version-script6.sh .sh -300: ++ testname=version-script6 -300: ++ echo -n 'Testing version-script6 ... ' -300: Testing version-script6 ... ++ t=out/test/aarch64/version-script6 -298: ++ testname=version-script4 -299: ++ set -x -299: + cat -300: ++ mkdir -p out/test/aarch64/version-script6 -298: ++ echo -n 'Testing version-script4 ... ' -298: Testing version-script4 ... ++ t=out/test/aarch64/version-script4 -298: ++ mkdir -p out/test/aarch64/version-script4 -298: ++ set -x -298: + cat -299: + c++ -fPIC -c -o out/test/aarch64/version-script5/b.o -xc - -300: ++ set -x -300: + cat -299: + cat -294: + cc -B. -shared -Wl,--version-script=out/test/aarch64/version-script21/a.ver -o out/test/aarch64/version-script21/c.so out/test/aarch64/version-script21/b.o -300: + cat -300: + c++ -fPIC -c -o out/test/aarch64/version-script6/b.o -xc - -298: + cat -298: + c++ -fPIC -c -o out/test/aarch64/version-script4/b.o -xc++ - -295: + cc -B. -shared -Wl,--version-script=out/test/aarch64/version-script22/a.ver -o out/test/aarch64/version-script22/c.so out/test/aarch64/version-script22/b.o -292: + cat -292: + cc -xc -c -o out/test/aarch64/version-script2/c.o - +298: +++ uname +298: ++ '[' Linux = FreeBSD ']' +298: ++ trap 'on_error $LINENO' ERR +298: ++ trap on_exit EXIT 290: + grep -q Bar -290: + grep libalpha -290: + readelf --wide --dyn-syms out/test/aarch64/version-script18/c.so +295: + cc -fPIC -c -o out/test/aarch64/version-script22/b.o -xc - +293: + cc -B. -shared -Wl,--version-script=out/test/aarch64/version-script20/a.ver -o out/test/aarch64/version-script20/c.so out/test/aarch64/version-script20/b.o 290: + on_exit 290: + echo OK 290: OK 290: + exit 0 -296: + readelf -W --dyn-syms out/test/aarch64/version-script23/c.so -299: + cc -B. -shared -o out/test/aarch64/version-script5/c.so -Wl,-version-script,out/test/aarch64/version-script5/a.ver out/test/aarch64/version-script5/b.o -289/336 Test #290: aarch64-version-script18 ................................. Passed 0.11 sec +288/336 Test #290: aarch64-version-script18 ................................. Passed 0.27 sec +test 300 + Start 300: aarch64-version-script6 + +300: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/version-script6.sh" +300: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +300: Environment variables: +300: MACHINE=aarch64 +300: CPU= +300: Test timeout computed to be: 1500 +298: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/version-script4.sh .sh +298: ++ testname=version-script4 +298: ++ echo -n 'Testing version-script4 ... ' +298: Testing version-script4 ... ++ t=out/test/aarch64/version-script4 +298: ++ mkdir -p out/test/aarch64/version-script4 +295: + cat +299: +++ uname +299: ++ '[' Linux = FreeBSD ']' +299: ++ trap 'on_error $LINENO' ERR +299: ++ trap on_exit EXIT +297: + cc -B. -xc -shared -o out/test/aarch64/version-script3/b.so -Wl,-version-script,out/test/aarch64/version-script3/a.ver - +292: + cc -xc -c -o out/test/aarch64/version-script2/c.o - +292: + cat +291: + readelf -W --dyn-syms out/test/aarch64/version-script19/c.so +277: + on_exit +277: + echo OK +277: OK +277: + exit 0 +296: + cat +296: + cc -c -o out/test/aarch64/version-script23/b.o -xassembler - +289/336 Test #277: aarch64-unresolved-symbols ............................... Passed 0.76 sec test 301 Start 301: aarch64-version-script7 @@ -21417,10 +21405,42 @@ 301: MACHINE=aarch64 301: CPU= 301: Test timeout computed to be: 1500 -298: + cc -B. -shared -o out/test/aarch64/version-script4/c.so -Wl,-version-script,out/test/aarch64/version-script4/a.ver out/test/aarch64/version-script4/b.o -296: + grep -Fq 'foo?@@VER1' out/test/aarch64/version-script23/log -300: + cc -B. -shared -Wl,--version-script=out/test/aarch64/version-script6/a.ver -o out/test/aarch64/version-script6/c.so out/test/aarch64/version-script6/b.o +291: + grep -Eq foobar out/test/aarch64/version-script19/log +291: + grep -Eq 'GLOBAL.*baz' out/test/aarch64/version-script19/log +297: + cat +298: ++ set -x +298: + cat +300: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/version-script6.sh +300: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc +300: ++ export LC_ALL=C +300: ++ LC_ALL=C +300: ++ '[' -z aarch64 ']' +300: ++ '[' -z '' ']' +300: ++ TESTDIR=out/test/aarch64 +300: ++ CC=cc +300: ++ CXX=c++ +300: ++ GCC=gcc +300: ++ GXX=g++ +300: ++ OBJDUMP=objdump +300: ++ OBJCOPY=objcopy +300: ++ STRIP=strip +300: ++ QEMU= +300: ++ case $MACHINE in +300: ++ tlsdesc_opt=-mtls-dialect=desc +299: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/version-script5.sh .sh +299: ++ testname=version-script5 +299: ++ echo -n 'Testing version-script5 ... ' +299: Testing version-script5 ... ++ t=out/test/aarch64/version-script5 +299: ++ mkdir -p out/test/aarch64/version-script5 +296: + cc -B. -shared -Wl,--version-script=out/test/aarch64/version-script23/a.ver -o out/test/aarch64/version-script23/c.so out/test/aarch64/version-script23/b.o +294: + cc -B. -shared -Wl,--version-script=out/test/aarch64/version-script21/a.ver -o out/test/aarch64/version-script21/c.so out/test/aarch64/version-script21/b.o +300: +++ uname 301: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/version-script7.sh +300: ++ '[' Linux = FreeBSD ']' +300: ++ trap 'on_error $LINENO' ERR +300: ++ trap on_exit EXIT +299: ++ set -x +299: + cat 301: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 301: ++ export LC_ALL=C 301: ++ LC_ALL=C @@ -21437,13 +21457,14 @@ 301: ++ QEMU= 301: ++ case $MACHINE in 301: ++ tlsdesc_opt=-mtls-dialect=desc -301: +++ uname -296: + on_exit -296: + echo OK -296: OK -296: + exit 0 -292: + cc -B. -o out/test/aarch64/version-script2/exe out/test/aarch64/version-script2/c.o out/test/aarch64/version-script2/b.so -290/336 Test #296: aarch64-version-script23 ................................. Passed 0.08 sec +298: + c++ -fPIC -c -o out/test/aarch64/version-script4/b.o -xc++ - +298: + cat +291: + on_exit +291: + echo OK +291: OK +291: + exit 0 +295: + cc -B. -shared -Wl,--version-script=out/test/aarch64/version-script22/a.ver -o out/test/aarch64/version-script22/c.so out/test/aarch64/version-script22/b.o +290/336 Test #291: aarch64-version-script19 ................................. Passed 0.28 sec test 302 Start 302: aarch64-version-script8 @@ -21453,13 +21474,20 @@ 302: MACHINE=aarch64 302: CPU= 302: Test timeout computed to be: 1500 +300: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/version-script6.sh .sh +300: ++ testname=version-script6 +300: ++ echo -n 'Testing version-script6 ... ' +300: Testing version-script6 ... ++ t=out/test/aarch64/version-script6 +300: ++ mkdir -p out/test/aarch64/version-script6 +301: +++ uname 301: ++ '[' Linux = FreeBSD ']' 301: ++ trap 'on_error $LINENO' ERR 301: ++ trap on_exit EXIT -291: + readelf -W --dyn-syms out/test/aarch64/version-script19/c.so -289: + nm -g out/test/aarch64/version-script17/exe1 +299: + c++ -fPIC -c -o out/test/aarch64/version-script5/b.o -xc - +300: ++ set -x +300: + cat +299: + cat 302: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/version-script8.sh -301: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/version-script7.sh .sh 302: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 302: ++ export LC_ALL=C 302: ++ LC_ALL=C @@ -21476,37 +21504,46 @@ 302: ++ QEMU= 302: ++ case $MACHINE in 302: ++ tlsdesc_opt=-mtls-dialect=desc -291: + grep -Eq foobar out/test/aarch64/version-script19/log +301: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/version-script7.sh .sh +301: ++ testname=version-script7 +301: ++ echo -n 'Testing version-script7 ... ' +301: Testing version-script7 ... ++ t=out/test/aarch64/version-script7 +301: ++ mkdir -p out/test/aarch64/version-script7 +300: + cat +300: + c++ -fPIC -c -o out/test/aarch64/version-script6/b.o -xc - +301: ++ set -x +301: + cat 302: +++ uname 302: ++ '[' Linux = FreeBSD ']' 302: ++ trap 'on_error $LINENO' ERR 302: ++ trap on_exit EXIT -294: + readelf -W --dyn-syms out/test/aarch64/version-script21/c.so +302: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/version-script8.sh .sh +302: ++ testname=version-script8 +302: ++ echo -n 'Testing version-script8 ... ' +302: Testing version-script8 ... ++ t=out/test/aarch64/version-script8 +302: ++ mkdir -p out/test/aarch64/version-script8 +302: ++ set -x +302: + cat 289: + grep -q foo -295: + readelf -W --dyn-syms out/test/aarch64/version-script22/c.so +289: + nm -g out/test/aarch64/version-script17/exe1 +292: + cc -B. -o out/test/aarch64/version-script2/exe out/test/aarch64/version-script2/c.o out/test/aarch64/version-script2/b.so 289: + cat -301: ++ testname=version-script7 -301: ++ echo -n 'Testing version-script7 ... ' -301: Testing version-script7 ... ++ t=out/test/aarch64/version-script7 -301: ++ mkdir -p out/test/aarch64/version-script7 -291: + grep -Eq 'GLOBAL.*baz' out/test/aarch64/version-script19/log -289: + cc -B. -o out/test/aarch64/version-script17/exe2 out/test/aarch64/version-script17/a.o out/test/aarch64/version-script17/b.so -Wl,--version-script=out/test/aarch64/version-script17/c.ver -Wl,--undefined-version -295: + grep -Fq foo_bar@@VER2 out/test/aarch64/version-script22/log -294: + grep -Fq foo_x@@VER1 out/test/aarch64/version-script21/log -302: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/version-script8.sh .sh -291: + on_exit -291: + echo OK -291: OK -291: + exit 0 -301: ++ set -x +302: + cc -B. -xc -shared -o out/test/aarch64/version-script8/b.so -Wl,-version-script,out/test/aarch64/version-script8/a.ver - +302: + cat 301: + cat -295: + on_exit -295: + echo OK -295: OK -295: + exit 0 -294: + grep -Fq foo_y@@VER2 out/test/aarch64/version-script21/log -291/336 Test #291: aarch64-version-script19 ................................. Passed 0.14 sec -292/336 Test #295: aarch64-version-script22 ................................. Passed 0.11 sec +301: + c++ -fPIC -c -o out/test/aarch64/version-script7/b.o -xc - +298: + cc -B. -shared -o out/test/aarch64/version-script4/c.so -Wl,-version-script,out/test/aarch64/version-script4/a.ver out/test/aarch64/version-script4/b.o +296: + readelf -W --dyn-syms out/test/aarch64/version-script23/c.so +289: + cc -B. -o out/test/aarch64/version-script17/exe2 out/test/aarch64/version-script17/a.o out/test/aarch64/version-script17/b.so -Wl,--version-script=out/test/aarch64/version-script17/c.ver -Wl,--undefined-version +296: + grep -Fq 'foo?@@VER1' out/test/aarch64/version-script23/log +300: + cc -B. -shared -Wl,--version-script=out/test/aarch64/version-script6/a.ver -o out/test/aarch64/version-script6/c.so out/test/aarch64/version-script6/b.o +293: + readelf -W --dyn-syms out/test/aarch64/version-script20/c.so +296: + on_exit +296: + echo OK +296: OK +296: + exit 0 +299: + cc -B. -shared -o out/test/aarch64/version-script5/c.so -Wl,-version-script,out/test/aarch64/version-script5/a.ver out/test/aarch64/version-script5/b.o +291/336 Test #296: aarch64-version-script23 ................................. Passed 0.20 sec test 303 Start 303: aarch64-version-script9 @@ -21516,33 +21553,13 @@ 303: MACHINE=aarch64 303: CPU= 303: Test timeout computed to be: 1500 -test 304 - Start 304: aarch64-version - -304: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/version.sh" -304: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -304: Environment variables: -304: MACHINE=aarch64 -304: CPU= -304: Test timeout computed to be: 1500 -294: + grep -Fq foo_z@@VER2 out/test/aarch64/version-script21/log -294: + on_exit -294: + echo OK -294: OK -294: + exit 0 -302: ++ testname=version-script8 -302: ++ echo -n 'Testing version-script8 ... ' -302: Testing version-script8 ... ++ t=out/test/aarch64/version-script8 -302: ++ mkdir -p out/test/aarch64/version-script8 -302: ++ set -x -302: + cat -302: + cat -302: + cc -B. -xc -shared -o out/test/aarch64/version-script8/b.so -Wl,-version-script,out/test/aarch64/version-script8/a.ver - -297: + cat -297: + cc -xc -c -o out/test/aarch64/version-script3/c.o - -293: + readelf -W --dyn-syms out/test/aarch64/version-script20/c.so 293: + grep -Fq foo_x@@VER2 out/test/aarch64/version-script20/log +297: + cc -xc -c -o out/test/aarch64/version-script3/c.o - +289: + nm -g out/test/aarch64/version-script17/exe2 +297: + cat 303: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/version-script9.sh +289: + grep -q foo out/test/aarch64/version-script17/log2 +289: + cat 303: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 303: ++ export LC_ALL=C 303: ++ LC_ALL=C @@ -21560,15 +21577,44 @@ 303: ++ case $MACHINE in 303: ++ tlsdesc_opt=-mtls-dialect=desc 303: +++ uname +293: + grep -Fq foo_y@@VER1 out/test/aarch64/version-script20/log +289: + cc -B. -o out/test/aarch64/version-script17/exe3 out/test/aarch64/version-script17/a.o out/test/aarch64/version-script17/b.so -Wl,--version-script=out/test/aarch64/version-script17/d.ver 303: ++ '[' Linux = FreeBSD ']' 303: ++ trap 'on_error $LINENO' ERR 303: ++ trap on_exit EXIT +293: + grep -Fq foo_z@@VER1 out/test/aarch64/version-script20/log 303: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/version-script9.sh .sh +295: + readelf -W --dyn-syms out/test/aarch64/version-script22/c.so 303: ++ testname=version-script9 303: ++ echo -n 'Testing version-script9 ... ' 303: Testing version-script9 ... ++ t=out/test/aarch64/version-script9 303: ++ mkdir -p out/test/aarch64/version-script9 -293/336 Test #294: aarch64-version-script21 ................................. Passed 0.13 sec +301: + cc -B. -shared -Wl,--version-script=out/test/aarch64/version-script7/a.ver -o out/test/aarch64/version-script7/c.so out/test/aarch64/version-script7/b.o +295: + grep -Fq foo_bar@@VER2 out/test/aarch64/version-script22/log +293: + on_exit +293: + echo OK +293: OK +293: + exit 0 +292/336 Test #293: aarch64-version-script20 ................................. Passed 0.35 sec +test 304 + Start 304: aarch64-version + +304: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/version.sh" +304: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +304: Environment variables: +304: MACHINE=aarch64 +304: CPU= +304: Test timeout computed to be: 1500 +303: ++ set -x +303: + echo 'VER1 { extern "C++" {}; foo; }; VER2 {};' +303: + cat +295: + on_exit +295: + echo OK +295: OK +295: + exit 0 +304: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/version.sh +304: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc +293/336 Test #295: aarch64-version-script22 ................................. Passed 0.28 sec test 305 Start 305: aarch64-versioned-undef @@ -21578,12 +21624,7 @@ 305: MACHINE=aarch64 305: CPU= 305: Test timeout computed to be: 1500 -293: + grep -Fq foo_y@@VER1 out/test/aarch64/version-script20/log -293: + grep -Fq foo_z@@VER1 out/test/aarch64/version-script20/log -299: + readelf --dyn-syms out/test/aarch64/version-script5/c.so -299: + grep -Fq foo out/test/aarch64/version-script5/log -304: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/version.sh -304: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc +303: + cc -B. -shared -o out/test/aarch64/version-script9/c.so -Wl,-version-script,out/test/aarch64/version-script9/a.ver out/test/aarch64/version-script9/b.s 304: ++ export LC_ALL=C 304: ++ LC_ALL=C 304: ++ '[' -z aarch64 ']' @@ -21599,27 +21640,55 @@ 304: ++ QEMU= 304: ++ case $MACHINE in 304: ++ tlsdesc_opt=-mtls-dialect=desc +294: + readelf -W --dyn-syms out/test/aarch64/version-script21/c.so +294: + grep -Fq foo_x@@VER1 out/test/aarch64/version-script21/log +298: + readelf --dyn-syms out/test/aarch64/version-script4/c.so 304: +++ uname 304: ++ '[' Linux = FreeBSD ']' 304: ++ trap 'on_error $LINENO' ERR 304: ++ trap on_exit EXIT -301: + c++ -fPIC -c -o out/test/aarch64/version-script7/b.o -xc - -301: + cat -300: + cat -303: ++ set -x -303: + echo 'VER1 { extern "C++" {}; foo; }; VER2 {};' -303: + cat -293: + on_exit -293: + echo OK -293: OK -293: + exit 0 +294: + grep -Fq foo_y@@VER2 out/test/aarch64/version-script21/log +305: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/versioned-undef.sh +305: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc +305: ++ export LC_ALL=C +305: ++ LC_ALL=C +305: ++ '[' -z aarch64 ']' +305: ++ '[' -z '' ']' +305: ++ TESTDIR=out/test/aarch64 +305: ++ CC=cc +305: ++ CXX=c++ +305: ++ GCC=gcc +305: ++ GXX=g++ +305: ++ OBJDUMP=objdump +305: ++ OBJCOPY=objcopy +305: ++ STRIP=strip +305: ++ QEMU= +305: ++ case $MACHINE in +305: ++ tlsdesc_opt=-mtls-dialect=desc +299: + readelf --dyn-syms out/test/aarch64/version-script5/c.so +299: + grep -Fq foo out/test/aarch64/version-script5/log +297: + cc -B. -o out/test/aarch64/version-script3/exe out/test/aarch64/version-script3/c.o out/test/aarch64/version-script3/b.so +298: + grep -Fq _ZN3foo3barE out/test/aarch64/version-script4/log 304: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/version.sh .sh 304: ++ testname=version 304: ++ echo -n 'Testing version ... ' 304: Testing version ... ++ t=out/test/aarch64/version 304: ++ mkdir -p out/test/aarch64/version +294: + grep -Fq foo_z@@VER2 out/test/aarch64/version-script21/log +302: + cc -xc -c -o out/test/aarch64/version-script8/c.o - +292: + out/test/aarch64/version-script2/exe +305: +++ uname +298: + grep -Fq ' bar' out/test/aarch64/version-script4/log 299: + grep -Fq ' main' out/test/aarch64/version-script5/log -294/336 Test #293: aarch64-version-script20 ................................. Passed 0.15 sec +305: ++ '[' Linux = FreeBSD ']' +305: ++ trap 'on_error $LINENO' ERR +305: ++ trap on_exit EXIT +294: + on_exit +294: + echo OK +294: OK +294: + exit 0 +302: + cat +294/336 Test #294: aarch64-version-script21 ................................. Passed 0.39 sec test 306 Start 306: aarch64-visibility @@ -21629,18 +21698,15 @@ 306: MACHINE=aarch64 306: CPU= 306: Test timeout computed to be: 1500 -303: + cc -B. -shared -o out/test/aarch64/version-script9/c.so -Wl,-version-script,out/test/aarch64/version-script9/a.ver out/test/aarch64/version-script9/b.s -304: ++ set -x -304: + grep -q __tsan_init -304: + nm mold +292: + readelf --dyn-syms out/test/aarch64/version-script2/exe +292: + grep -Fq foo@ver1 out/test/aarch64/version-script2/log +301: + readelf --dyn-syms out/test/aarch64/version-script7/c.so 299: + on_exit 299: + echo OK 299: OK 299: + exit 0 -298: + readelf --dyn-syms out/test/aarch64/version-script4/c.so -292: + out/test/aarch64/version-script2/exe -300: + cat -295/336 Test #299: aarch64-version-script5 .................................. Passed 0.12 sec +305: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/versioned-undef.sh .sh +295/336 Test #299: aarch64-version-script5 .................................. Passed 0.26 sec test 307 Start 307: aarch64-warn-common @@ -21650,58 +21716,19 @@ 307: MACHINE=aarch64 307: CPU= 307: Test timeout computed to be: 1500 -305: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/versioned-undef.sh -305: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc -305: ++ export LC_ALL=C -305: ++ LC_ALL=C -305: ++ '[' -z aarch64 ']' -305: ++ '[' -z '' ']' -305: ++ TESTDIR=out/test/aarch64 -305: ++ CC=cc -305: ++ CXX=c++ -305: ++ GCC=gcc -305: ++ GXX=g++ -305: ++ OBJDUMP=objdump -305: ++ OBJCOPY=objcopy -305: ++ STRIP=strip -305: ++ QEMU= -305: ++ case $MACHINE in -305: ++ tlsdesc_opt=-mtls-dialect=desc -305: +++ uname -305: ++ '[' Linux = FreeBSD ']' -305: ++ trap 'on_error $LINENO' ERR -305: ++ trap on_exit EXIT -305: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/versioned-undef.sh .sh -292: + readelf --dyn-syms out/test/aarch64/version-script2/exe -300: + c++ -fPIC -c -o out/test/aarch64/version-script6/e.o -xc - -298: + grep -Fq _ZN3foo3barE out/test/aarch64/version-script4/log -306: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/visibility.sh +301: + grep -q 'foo$' out/test/aarch64/version-script7/log +301: + grep -q bar@@VER_X1 out/test/aarch64/version-script7/log 305: ++ testname=versioned-undef 305: ++ echo -n 'Testing versioned-undef ... ' 305: Testing versioned-undef ... ++ t=out/test/aarch64/versioned-undef 305: ++ mkdir -p out/test/aarch64/versioned-undef -298: + grep -Fq ' bar' out/test/aarch64/version-script4/log -306: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc -306: ++ export LC_ALL=C -306: ++ LC_ALL=C -306: ++ '[' -z aarch64 ']' -306: ++ '[' -z '' ']' -306: ++ TESTDIR=out/test/aarch64 -306: ++ CC=cc -306: ++ CXX=c++ -306: ++ GCC=gcc -306: ++ GXX=g++ -306: ++ OBJDUMP=objdump -306: ++ OBJCOPY=objcopy -306: ++ STRIP=strip -306: ++ QEMU= -306: ++ case $MACHINE in -306: ++ tlsdesc_opt=-mtls-dialect=desc 298: + on_exit 298: + echo OK 298: OK 298: + exit 0 -296/336 Test #298: aarch64-version-script4 .................................. Passed 0.13 sec +306: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/visibility.sh +289: + nm -g out/test/aarch64/version-script17/exe3 +296/336 Test #298: aarch64-version-script4 .................................. Passed 0.29 sec test 308 Start 308: aarch64-warn-once @@ -21711,13 +21738,18 @@ 308: MACHINE=aarch64 308: CPU= 308: Test timeout computed to be: 1500 -292: + grep -Fq foo@ver1 out/test/aarch64/version-script2/log -292: + grep -Fq bar@ver2 out/test/aarch64/version-script2/log -292: + grep -Fq baz@ver3 out/test/aarch64/version-script2/log -292: + on_exit -292: + echo OK -292: OK -292: + exit 0 +289: + grep -q foo out/test/aarch64/version-script17/log3 +289: + on_exit +289: + echo OK +289: OK +289: + exit 0 +304: ++ set -x +304: + grep -q __tsan_init +304: + nm mold +301: + on_exit +301: + echo OK +301: OK +301: + exit 0 307: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/warn-common.sh 307: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 307: ++ export LC_ALL=C @@ -21739,14 +21771,62 @@ 307: ++ '[' Linux = FreeBSD ']' 307: ++ trap 'on_error $LINENO' ERR 307: ++ trap on_exit EXIT -307: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/warn-common.sh .sh -289: + nm -g out/test/aarch64/version-script17/exe2 -289: + grep -q foo out/test/aarch64/version-script17/log2 -289: + cat +306: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc +306: ++ export LC_ALL=C +306: ++ LC_ALL=C +306: ++ '[' -z aarch64 ']' +306: ++ '[' -z '' ']' +306: ++ TESTDIR=out/test/aarch64 +306: ++ CC=cc +306: ++ CXX=c++ +306: ++ GCC=gcc +306: ++ GXX=g++ +306: ++ OBJDUMP=objdump +306: ++ OBJCOPY=objcopy +306: ++ STRIP=strip +306: ++ QEMU= +306: ++ case $MACHINE in +306: ++ tlsdesc_opt=-mtls-dialect=desc 306: +++ uname 306: ++ '[' Linux = FreeBSD ']' 306: ++ trap 'on_error $LINENO' ERR 306: ++ trap on_exit EXIT +305: ++ set -x +305: + is_musl +305: + grep -q musl +305: + ldd --version +305: + cc -fPIC -c -o out/test/aarch64/versioned-undef/a.o -xc - +305: + cat +292: + grep -Fq bar@ver2 out/test/aarch64/version-script2/log +292: + grep -Fq baz@ver3 out/test/aarch64/version-script2/log +297/336 Test #289: aarch64-version-script17 ................................. Passed 0.61 sec +298/336 Test #301: aarch64-version-script7 .................................. Passed 0.26 sec +test 309 + Start 309: aarch64-warn-symbol-type + +309: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/warn-symbol-type.sh" +309: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +309: Environment variables: +309: MACHINE=aarch64 +309: CPU= +309: Test timeout computed to be: 1500 +test 310 + Start 310: aarch64-warn-unresolved-symbols + +310: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/warn-unresolved-symbols.sh" +310: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +310: Environment variables: +310: MACHINE=aarch64 +310: CPU= +310: Test timeout computed to be: 1500 +307: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/warn-common.sh .sh +307: ++ testname=warn-common +307: ++ echo -n 'Testing warn-common ... ' +307: Testing warn-common ... ++ t=out/test/aarch64/warn-common +307: ++ mkdir -p out/test/aarch64/warn-common +307: ++ set -x +307: + cat +307: + cc -fcommon -c -xc -o out/test/aarch64/warn-common/a.o - 306: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/visibility.sh .sh 306: ++ testname=visibility 306: ++ echo -n 'Testing visibility ... ' @@ -21755,13 +21835,10 @@ 306: ++ set -x 306: + cat 306: + cc -xc -c -o out/test/aarch64/visibility/a.o - -305: ++ set -x -305: + is_musl -305: + grep -q musl -305: + ldd --version -305: + cc -fPIC -c -o out/test/aarch64/versioned-undef/a.o -xc - -297: + cc -B. -o out/test/aarch64/version-script3/exe out/test/aarch64/version-script3/c.o out/test/aarch64/version-script3/b.so -301: + cc -B. -shared -Wl,--version-script=out/test/aarch64/version-script7/a.ver -o out/test/aarch64/version-script7/c.so out/test/aarch64/version-script7/b.o +292: + on_exit +292: + echo OK +292: OK +292: + exit 0 308: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/warn-once.sh 308: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 308: ++ export LC_ALL=C @@ -21781,23 +21858,6 @@ 308: ++ tlsdesc_opt=-mtls-dialect=desc 308: +++ uname 308: ++ '[' Linux = FreeBSD ']' -297/336 Test #292: aarch64-version-script2 .................................. Passed 0.18 sec -test 309 - Start 309: aarch64-warn-symbol-type - -309: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/warn-symbol-type.sh" -309: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -309: Environment variables: -309: MACHINE=aarch64 -309: CPU= -309: Test timeout computed to be: 1500 -307: ++ testname=warn-common -307: ++ echo -n 'Testing warn-common ... ' -307: Testing warn-common ... ++ t=out/test/aarch64/warn-common -307: ++ mkdir -p out/test/aarch64/warn-common -307: ++ set -x -289: + cc -B. -o out/test/aarch64/version-script17/exe3 out/test/aarch64/version-script17/a.o out/test/aarch64/version-script17/b.so -Wl,--version-script=out/test/aarch64/version-script17/d.ver -305: + cat 308: ++ trap 'on_error $LINENO' ERR 308: ++ trap on_exit EXIT 308: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/warn-once.sh .sh @@ -21805,11 +21865,10 @@ 308: ++ echo -n 'Testing warn-once ... ' 308: Testing warn-once ... ++ t=out/test/aarch64/warn-once 308: ++ mkdir -p out/test/aarch64/warn-once -308: ++ set -x -308: + cc -c -fPIC -xc -o out/test/aarch64/warn-once/a.o - -308: + cat -307: + cat -300: + cc -B. -shared -Wl,-version-script,out/test/aarch64/version-script6/d.ver -o out/test/aarch64/version-script6/f.so out/test/aarch64/version-script6/e.o out/test/aarch64/version-script6/c.so -Wl,--undefined-version +300: + cat +300: + c++ -fPIC -c -o out/test/aarch64/version-script6/e.o -xc - +300: + cat +302: + cc -B. -o out/test/aarch64/version-script8/exe out/test/aarch64/version-script8/c.o out/test/aarch64/version-script8/b.so 309: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/warn-symbol-type.sh 309: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 309: ++ export LC_ALL=C @@ -21827,56 +21886,23 @@ 309: ++ QEMU= 309: ++ case $MACHINE in 309: ++ tlsdesc_opt=-mtls-dialect=desc +299/336 Test #292: aarch64-version-script2 .................................. Passed 0.55 sec +test 311 + Start 311: aarch64-weak-export-dso + +311: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/weak-export-dso.sh" +311: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +311: Environment variables: +311: MACHINE=aarch64 +311: CPU= +311: Test timeout computed to be: 1500 +308: ++ set -x +308: + cat +308: + cc -c -fPIC -xc -o out/test/aarch64/warn-once/a.o - 309: +++ uname 309: ++ '[' Linux = FreeBSD ']' 309: ++ trap 'on_error $LINENO' ERR 309: ++ trap on_exit EXIT -303: + readelf --dyn-syms out/test/aarch64/version-script9/c.so -307: + cc -fcommon -c -xc -o out/test/aarch64/warn-common/a.o - -305: + echo 'VER1 { local: *; }; VER2 { local: *; }; VER3 { local: *; };' -305: + cc -B. -shared -o out/test/aarch64/versioned-undef/c.so out/test/aarch64/versioned-undef/a.o -Wl,--version-script=out/test/aarch64/versioned-undef/b.ver -303: + grep -q ' foo@@VER1$' out/test/aarch64/version-script9/log -297: + out/test/aarch64/version-script3/exe -309: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/warn-symbol-type.sh .sh -309: ++ testname=warn-symbol-type -309: ++ echo -n 'Testing warn-symbol-type ... ' -309: Testing warn-symbol-type ... ++ t=out/test/aarch64/warn-symbol-type -309: ++ mkdir -p out/test/aarch64/warn-symbol-type -297: + readelf --dyn-syms out/test/aarch64/version-script3/exe -297: + grep -Fq foo@ver1 out/test/aarch64/version-script3/log -309: ++ set -x -309: + cat -297: + grep -Fq bar@ver2 out/test/aarch64/version-script3/log -303: + on_exit -303: + echo OK -303: OK -303: + exit 0 -309: + cc -c -fPIC -xc -o out/test/aarch64/warn-symbol-type/a.o - -306: + cat -306: + cc -xc -c -o out/test/aarch64/visibility/b.o - -289: + nm -g out/test/aarch64/version-script17/exe3 -308: + cat -308: + cc -c -fPIC -xc -o out/test/aarch64/warn-once/b.o - -302: + cat -302: + cc -xc -c -o out/test/aarch64/version-script8/c.o - -301: + readelf --dyn-syms out/test/aarch64/version-script7/c.so -297: + grep -Fq baz@ver2 out/test/aarch64/version-script3/log -298/336 Test #303: aarch64-version-script9 .................................. Passed 0.08 sec -test 310 - Start 310: aarch64-warn-unresolved-symbols - -310: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/warn-unresolved-symbols.sh" -310: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -310: Environment variables: -310: MACHINE=aarch64 -310: CPU= -310: Test timeout computed to be: 1500 -301: + grep -q 'foo$' out/test/aarch64/version-script7/log -289: + grep -q foo out/test/aarch64/version-script17/log3 -289: + on_exit -289: + echo OK -289: OK -289: + exit 0 310: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/warn-unresolved-symbols.sh 310: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 310: ++ export LC_ALL=C @@ -21894,58 +21920,23 @@ 310: ++ QEMU= 310: ++ case $MACHINE in 310: ++ tlsdesc_opt=-mtls-dialect=desc +297: + out/test/aarch64/version-script3/exe +297: + readelf --dyn-syms out/test/aarch64/version-script3/exe +303: + readelf --dyn-syms out/test/aarch64/version-script9/c.so +305: + echo 'VER1 { local: *; }; VER2 { local: *; }; VER3 { local: *; };' +305: + cc -B. -shared -o out/test/aarch64/versioned-undef/c.so out/test/aarch64/versioned-undef/a.o -Wl,--version-script=out/test/aarch64/versioned-undef/b.ver +303: + grep -q ' foo@@VER1$' out/test/aarch64/version-script9/log 310: +++ uname +309: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/warn-symbol-type.sh .sh +309: ++ testname=warn-symbol-type +309: ++ echo -n 'Testing warn-symbol-type ... ' +309: Testing warn-symbol-type ... ++ t=out/test/aarch64/warn-symbol-type +309: ++ mkdir -p out/test/aarch64/warn-symbol-type +297: + grep -Fq foo@ver1 out/test/aarch64/version-script3/log 310: ++ '[' Linux = FreeBSD ']' +300: + cc -B. -shared -Wl,-version-script,out/test/aarch64/version-script6/d.ver -o out/test/aarch64/version-script6/f.so out/test/aarch64/version-script6/e.o out/test/aarch64/version-script6/c.so -Wl,--undefined-version 310: ++ trap 'on_error $LINENO' ERR 310: ++ trap on_exit EXIT -300: + readelf --dyn-syms out/test/aarch64/version-script6/f.so -299/336 Test #289: aarch64-version-script17 ................................. Passed 0.30 sec -test 311 - Start 311: aarch64-weak-export-dso - -311: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/weak-export-dso.sh" -311: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -311: Environment variables: -311: MACHINE=aarch64 -311: CPU= -311: Test timeout computed to be: 1500 -301: + grep -q bar@@VER_X1 out/test/aarch64/version-script7/log -301: + on_exit -301: + echo OK -301: OK -301: + exit 0 -310: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/warn-unresolved-symbols.sh .sh -310: ++ testname=warn-unresolved-symbols -310: ++ echo -n 'Testing warn-unresolved-symbols ... ' -310: Testing warn-unresolved-symbols ... ++ t=out/test/aarch64/warn-unresolved-symbols -310: ++ mkdir -p out/test/aarch64/warn-unresolved-symbols -310: ++ set -x -310: + cat -310: + cc -c -o out/test/aarch64/warn-unresolved-symbols/a.o -xc - -297: + on_exit -297: + echo OK -297: OK -297: + exit 0 -300/336 Test #297: aarch64-version-script3 .................................. Passed 0.20 sec -301/336 Test #301: aarch64-version-script7 .................................. Passed 0.13 sec -test 312 - Start 312: aarch64-weak-export-dso2 - -312: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/weak-export-dso2.sh" -312: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -312: Environment variables: -312: MACHINE=aarch64 -312: CPU= -312: Test timeout computed to be: 1500 -test 313 - Start 313: aarch64-weak-export-exe - -313: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/weak-export-exe.sh" -313: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -313: Environment variables: -313: MACHINE=aarch64 -313: CPU= -313: Test timeout computed to be: 1500 311: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/weak-export-dso.sh 311: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 311: ++ export LC_ALL=C @@ -21963,6 +21954,33 @@ 311: ++ QEMU= 311: ++ case $MACHINE in 311: ++ tlsdesc_opt=-mtls-dialect=desc +310: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/warn-unresolved-symbols.sh .sh +310: ++ testname=warn-unresolved-symbols +310: ++ echo -n 'Testing warn-unresolved-symbols ... ' +310: Testing warn-unresolved-symbols ... ++ t=out/test/aarch64/warn-unresolved-symbols +310: ++ mkdir -p out/test/aarch64/warn-unresolved-symbols +297: + grep -Fq bar@ver2 out/test/aarch64/version-script3/log +303: + on_exit +303: + echo OK +303: OK +303: + exit 0 +300/336 Test #303: aarch64-version-script9 .................................. Passed 0.24 sec +test 312 + Start 312: aarch64-weak-export-dso2 + +312: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/weak-export-dso2.sh" +312: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +312: Environment variables: +312: MACHINE=aarch64 +312: CPU= +312: Test timeout computed to be: 1500 +309: ++ set -x +309: + cc -c -fPIC -xc -o out/test/aarch64/warn-symbol-type/a.o - +309: + cat +307: + cc -fcommon -c -xc -o out/test/aarch64/warn-common/b.o - +307: + cat +302: + out/test/aarch64/version-script8/exe +302: + readelf --dyn-syms out/test/aarch64/version-script8/b.so 311: +++ uname 311: ++ '[' Linux = FreeBSD ']' 311: ++ trap 'on_error $LINENO' ERR @@ -21972,11 +21990,28 @@ 311: ++ echo -n 'Testing weak-export-dso ... ' 311: Testing weak-export-dso ... ++ t=out/test/aarch64/weak-export-dso 311: ++ mkdir -p out/test/aarch64/weak-export-dso -311: ++ set -x -307: + cc -fcommon -c -xc -o out/test/aarch64/warn-common/b.o - -307: + cat -306: + rm -f out/test/aarch64/visibility/c.a -306: + ar crs out/test/aarch64/visibility/c.a out/test/aarch64/visibility/a.o out/test/aarch64/visibility/b.o +297: + grep -Fq baz@ver2 out/test/aarch64/version-script3/log +310: ++ set -x +310: + cat +310: + cc -c -o out/test/aarch64/warn-unresolved-symbols/a.o -xc - +306: + cat +306: + cc -xc -c -o out/test/aarch64/visibility/b.o - +297: + on_exit +297: + echo OK +297: OK +297: + exit 0 +301/336 Test #297: aarch64-version-script3 .................................. Passed 0.46 sec +test 313 + Start 313: aarch64-weak-export-exe + +313: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/weak-export-exe.sh" +313: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +313: Environment variables: +313: MACHINE=aarch64 +313: CPU= +313: Test timeout computed to be: 1500 +302: + grep -Fq foo@@ver1 out/test/aarch64/version-script8/log +302: + grep -Fq bar@@ver2 out/test/aarch64/version-script8/log 312: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/weak-export-dso2.sh 312: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 312: ++ export LC_ALL=C @@ -21994,13 +22029,14 @@ 312: ++ QEMU= 312: ++ case $MACHINE in 312: ++ tlsdesc_opt=-mtls-dialect=desc +311: ++ set -x +311: + cc -fPIC -c -o out/test/aarch64/weak-export-dso/a.o -xc - +311: + cat 312: +++ uname 312: ++ '[' Linux = FreeBSD ']' 312: ++ trap 'on_error $LINENO' ERR 312: ++ trap on_exit EXIT -300: + grep -q foo@VER_X1 out/test/aarch64/version-script6/log 313: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/weak-export-exe.sh -300: + grep -q bar@VER_X2 out/test/aarch64/version-script6/log 313: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 313: ++ export LC_ALL=C 313: ++ LC_ALL=C @@ -22017,37 +22053,34 @@ 313: ++ QEMU= 313: ++ case $MACHINE in 313: ++ tlsdesc_opt=-mtls-dialect=desc -306: + cat -311: + cat -311: + cc -fPIC -c -o out/test/aarch64/weak-export-dso/a.o -xc - 313: +++ uname 313: ++ '[' Linux = FreeBSD ']' 313: ++ trap 'on_error $LINENO' ERR 313: ++ trap on_exit EXIT -313: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/weak-export-exe.sh .sh 312: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/weak-export-dso2.sh .sh 312: ++ testname=weak-export-dso2 312: ++ echo -n 'Testing weak-export-dso2 ... ' 312: Testing weak-export-dso2 ... ++ t=out/test/aarch64/weak-export-dso2 312: ++ mkdir -p out/test/aarch64/weak-export-dso2 -302: + cc -B. -o out/test/aarch64/version-script8/exe out/test/aarch64/version-script8/c.o out/test/aarch64/version-script8/b.so -306: + cc -xc -fPIC -c -o out/test/aarch64/visibility/d.o - +308: + cat +306: + rm -f out/test/aarch64/visibility/c.a +307: + cc -B. -o out/test/aarch64/warn-common/exe out/test/aarch64/warn-common/a.o out/test/aarch64/warn-common/b.o +308: + cc -c -fPIC -xc -o out/test/aarch64/warn-once/b.o - +302: + grep -Fq baz out/test/aarch64/version-script8/log +305: + cc -c -o out/test/aarch64/versioned-undef/d.o -xc - +300: + readelf --dyn-syms out/test/aarch64/version-script6/f.so +313: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/weak-export-exe.sh .sh 313: ++ testname=weak-export-exe 313: ++ echo -n 'Testing weak-export-exe ... ' 313: Testing weak-export-exe ... ++ t=out/test/aarch64/weak-export-exe 313: ++ mkdir -p out/test/aarch64/weak-export-exe -300: + grep -q baz@@VER_Y2 out/test/aarch64/version-script6/log -308: + cc -B. -o out/test/aarch64/warn-once/exe out/test/aarch64/warn-once/a.o out/test/aarch64/warn-once/b.o -Wl,--warn-unresolved-symbols,--warn-once -312: ++ set -x -313: ++ set -x -313: + cc -fPIC -c -o out/test/aarch64/weak-export-exe/a.o -xc - -312: + cc -fPIC -c -o out/test/aarch64/weak-export-dso2/a.o -xc - -300: + on_exit -300: + echo OK -300: OK -300: + exit 0 -312: + cat -302/336 Test #300: aarch64-version-script6 .................................. Passed 0.20 sec +305: + cat +306: + ar crs out/test/aarch64/visibility/c.a out/test/aarch64/visibility/a.o out/test/aarch64/visibility/b.o +302: + on_exit +302: + echo OK +302: OK +302: + exit 0 +302/336 Test #302: aarch64-version-script8 .................................. Passed 0.41 sec test 314 Start 314: aarch64-weak-undef-dso @@ -22057,12 +22090,20 @@ 314: MACHINE=aarch64 314: CPU= 314: Test timeout computed to be: 1500 -313: + cat -305: + cc -c -o out/test/aarch64/versioned-undef/d.o -xc - -305: + cat +312: ++ set -x +312: + cc -fPIC -c -o out/test/aarch64/weak-export-dso2/a.o -xc - +300: + grep -q foo@VER_X1 out/test/aarch64/version-script6/log +313: ++ set -x +313: + cc -fPIC -c -o out/test/aarch64/weak-export-exe/a.o -xc - 310: + grep -q 'undefined symbol:.*foo' 310: + cc -B. -o out/test/aarch64/warn-unresolved-symbols/exe out/test/aarch64/warn-unresolved-symbols/a.o 309: + cc -B. -shared -o out/test/aarch64/warn-symbol-type/a.so out/test/aarch64/warn-symbol-type/a.o +306: + cat +313: + cat +312: + cat +306: + cc -xc -fPIC -c -o out/test/aarch64/visibility/d.o - +300: + grep -q bar@VER_X2 out/test/aarch64/version-script6/log +308: + cc -B. -o out/test/aarch64/warn-once/exe out/test/aarch64/warn-once/a.o out/test/aarch64/warn-once/b.o -Wl,--warn-unresolved-symbols,--warn-once 314: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/weak-undef-dso.sh 314: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 314: ++ export LC_ALL=C @@ -22080,32 +22121,18 @@ 314: ++ QEMU= 314: ++ case $MACHINE in 314: ++ tlsdesc_opt=-mtls-dialect=desc +300: + grep -q baz@@VER_Y2 out/test/aarch64/version-script6/log +311: + cc -B. -o out/test/aarch64/weak-export-dso/b.so out/test/aarch64/weak-export-dso/a.o -shared +305: + cc -B. -o out/test/aarch64/versioned-undef/exe out/test/aarch64/versioned-undef/d.o out/test/aarch64/versioned-undef/c.so 314: +++ uname -307: + cc -B. -o out/test/aarch64/warn-common/exe out/test/aarch64/warn-common/a.o out/test/aarch64/warn-common/b.o -312: + cc -B. -o out/test/aarch64/weak-export-dso2/b.so out/test/aarch64/weak-export-dso2/a.o -shared +300: + on_exit +300: + echo OK +300: OK +300: + exit 0 314: ++ '[' Linux = FreeBSD ']' 314: ++ trap 'on_error $LINENO' ERR 314: ++ trap on_exit EXIT -311: + cc -B. -o out/test/aarch64/weak-export-dso/b.so out/test/aarch64/weak-export-dso/a.o -shared -314: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/weak-undef-dso.sh .sh -314: ++ testname=weak-undef-dso -314: ++ echo -n 'Testing weak-undef-dso ... ' -314: Testing weak-undef-dso ... ++ t=out/test/aarch64/weak-undef-dso -314: ++ mkdir -p out/test/aarch64/weak-undef-dso -314: ++ set -x -314: + cc -c -o out/test/aarch64/weak-undef-dso/a.o -fPIC -xc - -305: + cc -B. -o out/test/aarch64/versioned-undef/exe out/test/aarch64/versioned-undef/d.o out/test/aarch64/versioned-undef/c.so -313: + cc -B. -o out/test/aarch64/weak-export-exe/exe out/test/aarch64/weak-export-exe/a.o -314: + cat -308: ++ wc -l -308: ++ grep 'undefined symbol:.* foo$' out/test/aarch64/warn-once/log -306: + cc -B. -shared -o out/test/aarch64/visibility/e.so out/test/aarch64/visibility/c.a out/test/aarch64/visibility/d.o -308: + '[' 1 = 1 ']' -308: + on_exit -308: + echo OK -308: OK -308: + exit 0 -303/336 Test #308: aarch64-warn-once ........................................ Passed 0.12 sec +303/336 Test #300: aarch64-version-script6 .................................. Passed 0.51 sec test 315 Start 315: aarch64-weak-undef @@ -22115,11 +22142,19 @@ 315: MACHINE=aarch64 315: CPU= 315: Test timeout computed to be: 1500 +314: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/weak-undef-dso.sh .sh +314: ++ testname=weak-undef-dso +314: ++ echo -n 'Testing weak-undef-dso ... ' +314: Testing weak-undef-dso ... ++ t=out/test/aarch64/weak-undef-dso +314: ++ mkdir -p out/test/aarch64/weak-undef-dso +314: ++ set -x 310: + cc -B. -o out/test/aarch64/warn-unresolved-symbols/exe out/test/aarch64/warn-unresolved-symbols/a.o -Wl,-warn-unresolved-symbols 310: + grep -q 'undefined symbol:.*foo' -309: + grep -q 'warning: symbol type mismatch: times' out/test/aarch64/warn-symbol-type/log -314: + cc -B. -shared -o out/test/aarch64/weak-undef-dso/b.so out/test/aarch64/weak-undef-dso/a.o +312: + cc -B. -o out/test/aarch64/weak-export-dso2/b.so out/test/aarch64/weak-export-dso2/a.o -shared 315: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/weak-undef.sh +313: + cc -B. -o out/test/aarch64/weak-export-exe/exe out/test/aarch64/weak-export-exe/a.o +314: + cc -c -o out/test/aarch64/weak-undef-dso/a.o -fPIC -xc - +314: + cat 315: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 315: ++ export LC_ALL=C 315: ++ LC_ALL=C @@ -22136,16 +22171,30 @@ 315: ++ QEMU= 315: ++ case $MACHINE in 315: ++ tlsdesc_opt=-mtls-dialect=desc -302: + out/test/aarch64/version-script8/exe -309: + on_exit -309: + echo OK -309: OK -309: + exit 0 +306: + cc -B. -shared -o out/test/aarch64/visibility/e.so out/test/aarch64/visibility/c.a out/test/aarch64/visibility/d.o 315: +++ uname 315: ++ '[' Linux = FreeBSD ']' 315: ++ trap 'on_error $LINENO' ERR 315: ++ trap on_exit EXIT -304/336 Test #309: aarch64-warn-symbol-type ................................. Passed 0.13 sec +307: + grep -Fq 'multiple common symbols' out/test/aarch64/warn-common/log +304: + grep -q 'mold .*compatible with GNU ld' +304: + ./mold -v +307: + cc -B. -o out/test/aarch64/warn-common/exe out/test/aarch64/warn-common/a.o out/test/aarch64/warn-common/b.o -Wl,-warn-common +315: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/weak-undef.sh .sh +315: ++ testname=weak-undef +315: ++ echo -n 'Testing weak-undef ... ' +315: Testing weak-undef ... ++ t=out/test/aarch64/weak-undef +315: ++ mkdir -p out/test/aarch64/weak-undef +314: + cc -B. -shared -o out/test/aarch64/weak-undef-dso/b.so out/test/aarch64/weak-undef-dso/a.o +309: + grep -q 'warning: symbol type mismatch: times' out/test/aarch64/warn-symbol-type/log +304: + grep -q 'mold .*compatible with GNU ld' +304: + ./mold --version +315: ++ set -x +309: + on_exit +309: + echo OK +309: OK +309: + exit 0 +304/336 Test #309: aarch64-warn-symbol-type ................................. Passed 0.30 sec test 316 Start 316: aarch64-weak-undef2 @@ -22155,14 +22204,13 @@ 316: MACHINE=aarch64 316: CPU= 316: Test timeout computed to be: 1500 -306: + readelf --dyn-syms out/test/aarch64/visibility/e.so -306: + grep -Fq foo out/test/aarch64/visibility/log -306: + on_exit -306: + echo OK -306: OK -306: + exit 0 -302: + readelf --dyn-syms out/test/aarch64/version-script8/b.so -315: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/weak-undef.sh .sh +305: + grep -q '^1 2 3 3 4$' +305: + out/test/aarch64/versioned-undef/exe +310: + cc -B. -o out/test/aarch64/warn-unresolved-symbols/exe out/test/aarch64/warn-unresolved-symbols/a.o -Wl,-warn-unresolved-symbols --error-unresolved-symbols +310: + grep -q 'undefined symbol:.*foo' +304: + grep -q 'mold .*compatible with GNU ld' +304: + ./mold -V +308: ++ grep 'undefined symbol:.* foo$' out/test/aarch64/warn-once/log 316: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/weak-undef2.sh 316: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 316: ++ export LC_ALL=C @@ -22180,16 +22228,13 @@ 316: ++ QEMU= 316: ++ case $MACHINE in 316: ++ tlsdesc_opt=-mtls-dialect=desc -316: +++ uname -316: ++ '[' Linux = FreeBSD ']' -316: ++ trap 'on_error $LINENO' ERR -316: ++ trap on_exit EXIT -316: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/weak-undef2.sh .sh -316: ++ testname=weak-undef2 -316: ++ echo -n 'Testing weak-undef2 ... ' -316: Testing weak-undef2 ... ++ t=out/test/aarch64/weak-undef2 -316: ++ mkdir -p out/test/aarch64/weak-undef2 -305/336 Test #306: aarch64-visibility ....................................... Passed 0.16 sec +315: + cc -c -o out/test/aarch64/weak-undef/a.o -fPIC -xc - +305: + on_exit +305: + echo OK +305: OK +305: + exit 0 +315: + cat +305/336 Test #305: aarch64-versioned-undef .................................. Passed 0.42 sec test 317 Start 317: aarch64-weak-undef4 @@ -22199,46 +22244,26 @@ 317: MACHINE=aarch64 317: CPU= 317: Test timeout computed to be: 1500 -302: + grep -Fq foo@@ver1 out/test/aarch64/version-script8/log -302: + grep -Fq bar@@ver2 out/test/aarch64/version-script8/log -302: + grep -Fq baz out/test/aarch64/version-script8/log -302: + on_exit -302: + echo OK -302: OK -302: + exit 0 -315: ++ testname=weak-undef -315: ++ echo -n 'Testing weak-undef ... ' -315: Testing weak-undef ... ++ t=out/test/aarch64/weak-undef -315: ++ mkdir -p out/test/aarch64/weak-undef -315: ++ set -x -315: + cc -c -o out/test/aarch64/weak-undef/a.o -fPIC -xc - -316: ++ set -x -316: + cat -316: + cc -c -o out/test/aarch64/weak-undef2/a.o -xc - -307: + grep -Fq 'multiple common symbols' out/test/aarch64/warn-common/log -307: + cc -B. -o out/test/aarch64/warn-common/exe out/test/aarch64/warn-common/a.o out/test/aarch64/warn-common/b.o -Wl,-warn-common -312: + cc -fPIC -c -o out/test/aarch64/weak-export-dso2/c.o -xc - -312: + cat -313: + readelf --dyn-syms out/test/aarch64/weak-export-exe/exe -313: + grep -q 'WEAK DEFAULT UND foo' -313: + grep -q '^3$' -313: + out/test/aarch64/weak-export-exe/exe -313: + on_exit -313: + echo OK -313: OK -313: + exit 0 +304: + ./mold -V +304: + grep -q elf_x86_64 +304: + grep -q elf_i386 +304: + ./mold -V 311: + cc -B. -o out/test/aarch64/weak-export-dso/c.so out/test/aarch64/weak-export-dso/a.o -shared -Wl,-z,defs -305: + grep -q '^1 2 3 3 4$' -305: + out/test/aarch64/versioned-undef/exe -305: + on_exit -305: + echo OK -305: OK -305: + exit 0 -304: + grep -q 'mold .*compatible with GNU ld' -304: + ./mold -v -306/336 Test #302: aarch64-version-script8 .................................. Passed 0.22 sec -307/336 Test #305: aarch64-versioned-undef .................................. Passed 0.18 sec -308/336 Test #313: aarch64-weak-export-exe .................................. Passed 0.10 sec +308: ++ wc -l +308: + '[' 1 = 1 ']' +308: + on_exit +308: + echo OK +308: OK +308: + exit 0 +316: +++ uname +316: ++ '[' Linux = FreeBSD ']' +316: ++ trap 'on_error $LINENO' ERR +316: ++ trap on_exit EXIT +316: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/weak-undef2.sh .sh +313: + grep -q 'WEAK DEFAULT UND foo' +313: + readelf --dyn-syms out/test/aarch64/weak-export-exe/exe +306: + readelf --dyn-syms out/test/aarch64/visibility/e.so +306/336 Test #308: aarch64-warn-once ........................................ Passed 0.39 sec test 318 Start 318: aarch64-weak-undef5 @@ -22248,6 +22273,38 @@ 318: MACHINE=aarch64 318: CPU= 318: Test timeout computed to be: 1500 +304: + cc -c -xc -o out/test/aarch64/version/a.o - +304: + cat +316: ++ testname=weak-undef2 +316: ++ echo -n 'Testing weak-undef2 ... ' +316: Testing weak-undef2 ... ++ t=out/test/aarch64/weak-undef2 +316: ++ mkdir -p out/test/aarch64/weak-undef2 +313: + grep -q '^3$' +313: + out/test/aarch64/weak-export-exe/exe +312: + cat +312: + cc -fPIC -c -o out/test/aarch64/weak-export-dso2/c.o -xc - +310: + on_exit +310: + echo OK +310: OK +310: + exit 0 +317: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/weak-undef4.sh +317: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc +317: ++ export LC_ALL=C +317: ++ LC_ALL=C +317: ++ '[' -z aarch64 ']' +317: ++ '[' -z '' ']' +317: ++ TESTDIR=out/test/aarch64 +317: ++ CC=cc +317: ++ CXX=c++ +317: ++ GCC=gcc +317: ++ GXX=g++ +317: ++ OBJDUMP=objdump +317: ++ OBJCOPY=objcopy +317: ++ STRIP=strip +317: ++ QEMU= +317: ++ case $MACHINE in +317: ++ tlsdesc_opt=-mtls-dialect=desc +307/336 Test #310: aarch64-warn-unresolved-symbols .......................... Passed 0.35 sec test 319 Start 319: aarch64-whole-archive @@ -22257,6 +22314,35 @@ 319: MACHINE=aarch64 319: CPU= 319: Test timeout computed to be: 1500 +316: ++ set -x +313: + on_exit +313: + echo OK +313: OK +313: + exit 0 +306: + grep -Fq foo out/test/aarch64/visibility/log +306: + on_exit +306: + echo OK +306: OK +306: + exit 0 +318: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/weak-undef5.sh +318: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc +318: ++ export LC_ALL=C +318: ++ LC_ALL=C +318: ++ '[' -z aarch64 ']' +318: ++ '[' -z '' ']' +318: ++ TESTDIR=out/test/aarch64 +318: ++ CC=cc +318: ++ CXX=c++ +318: ++ GCC=gcc +318: ++ GXX=g++ +318: ++ OBJDUMP=objdump +318: ++ OBJCOPY=objcopy +318: ++ STRIP=strip +318: ++ QEMU= +318: ++ case $MACHINE in +318: ++ tlsdesc_opt=-mtls-dialect=desc +308/336 Test #306: aarch64-visibility ....................................... Passed 0.44 sec +309/336 Test #313: aarch64-weak-export-exe .................................. Passed 0.27 sec test 320 Start 320: aarch64-wrap-lto @@ -22266,34 +22352,32 @@ 320: MACHINE=aarch64 320: CPU= 320: Test timeout computed to be: 1500 -315: + cat -304: + ./mold --version -304: + grep -q 'mold .*compatible with GNU ld' -317: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/weak-undef4.sh -317: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc -317: ++ export LC_ALL=C -317: ++ LC_ALL=C -317: ++ '[' -z aarch64 ']' -317: ++ '[' -z '' ']' -317: ++ TESTDIR=out/test/aarch64 -317: ++ CC=cc -317: ++ CXX=c++ -317: ++ GCC=gcc -317: ++ GXX=g++ -317: ++ OBJDUMP=objdump -317: ++ OBJCOPY=objcopy -317: ++ STRIP=strip -317: ++ QEMU= -317: ++ case $MACHINE in -317: ++ tlsdesc_opt=-mtls-dialect=desc +test 321 + Start 321: aarch64-wrap + +321: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/wrap.sh" +321: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +321: Environment variables: +321: MACHINE=aarch64 +321: CPU= +321: Test timeout computed to be: 1500 +316: + cc -c -o out/test/aarch64/weak-undef2/a.o -xc - +316: + cat +318: +++ uname +318: ++ '[' Linux = FreeBSD ']' +318: ++ trap 'on_error $LINENO' ERR +318: ++ trap on_exit EXIT +318: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/weak-undef5.sh .sh 317: +++ uname 317: ++ '[' Linux = FreeBSD ']' 317: ++ trap 'on_error $LINENO' ERR 317: ++ trap on_exit EXIT 317: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/weak-undef4.sh .sh -314: + cc -xc -c -o out/test/aarch64/weak-undef-dso/c.o - -314: + cat -318: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/weak-undef5.sh +317: ++ testname=weak-undef4 +317: ++ echo -n 'Testing weak-undef4 ... ' +317: Testing weak-undef4 ... ++ t=out/test/aarch64/weak-undef4 +317: ++ mkdir -p out/test/aarch64/weak-undef4 +307: + grep -Fq 'multiple common symbols' out/test/aarch64/warn-common/log 319: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/whole-archive.sh 319: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 319: ++ export LC_ALL=C @@ -22311,27 +22395,7 @@ 319: ++ QEMU= 319: ++ case $MACHINE in 319: ++ tlsdesc_opt=-mtls-dialect=desc -317: ++ testname=weak-undef4 -317: ++ echo -n 'Testing weak-undef4 ... ' -317: Testing weak-undef4 ... ++ t=out/test/aarch64/weak-undef4 -317: ++ mkdir -p out/test/aarch64/weak-undef4 320: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/wrap-lto.sh -318: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc -318: ++ export LC_ALL=C -318: ++ LC_ALL=C -318: ++ '[' -z aarch64 ']' -318: ++ '[' -z '' ']' -318: ++ TESTDIR=out/test/aarch64 -318: ++ CC=cc -318: ++ CXX=c++ -318: ++ GCC=gcc -318: ++ GXX=g++ -318: ++ OBJDUMP=objdump -318: ++ OBJCOPY=objcopy -318: ++ STRIP=strip -318: ++ QEMU= -318: ++ case $MACHINE in -318: ++ tlsdesc_opt=-mtls-dialect=desc 320: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 320: ++ export LC_ALL=C 320: ++ LC_ALL=C @@ -22349,70 +22413,31 @@ 320: ++ case $MACHINE in 320: ++ tlsdesc_opt=-mtls-dialect=desc 320: +++ uname -319: +++ uname -319: ++ '[' Linux = FreeBSD ']' -319: ++ trap 'on_error $LINENO' ERR -319: ++ trap on_exit EXIT 320: ++ '[' Linux = FreeBSD ']' 320: ++ trap 'on_error $LINENO' ERR 320: ++ trap on_exit EXIT -304: + grep -q 'mold .*compatible with GNU ld' -317: ++ set -x -318: +++ uname -317: + cc -c -o out/test/aarch64/weak-undef4/a.o -xc - -320: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/wrap-lto.sh .sh -320: ++ testname=wrap-lto -320: ++ echo -n 'Testing wrap-lto ... ' -320: Testing wrap-lto ... ++ t=out/test/aarch64/wrap-lto -320: ++ mkdir -p out/test/aarch64/wrap-lto -318: ++ '[' Linux = FreeBSD ']' -318: ++ trap 'on_error $LINENO' ERR -318: ++ trap on_exit EXIT -304: + ./mold -V -318: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/weak-undef5.sh .sh -320: ++ set -x -320: + test_cflags -flto -319: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/whole-archive.sh .sh +314: + cc -xc -c -o out/test/aarch64/weak-undef-dso/c.o - +307: + on_exit +307: + echo OK +307: OK +307: + exit 0 +310/336 Test #307: aarch64-warn-common ...................................... Passed 0.46 sec +test 322 + Start 322: aarch64-z-cet-report + +322: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/z-cet-report.sh" +322: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +322: Environment variables: +322: MACHINE=aarch64 +322: CPU= +322: Test timeout computed to be: 1500 318: ++ testname=weak-undef5 318: ++ echo -n 'Testing weak-undef5 ... ' 318: Testing weak-undef5 ... ++ t=out/test/aarch64/weak-undef5 318: ++ mkdir -p out/test/aarch64/weak-undef5 -319: ++ testname=whole-archive -319: ++ echo -n 'Testing whole-archive ... ' -319: Testing whole-archive ... ++ t=out/test/aarch64/whole-archive -319: ++ mkdir -p out/test/aarch64/whole-archive -310: + cc -B. -o out/test/aarch64/warn-unresolved-symbols/exe out/test/aarch64/warn-unresolved-symbols/a.o -Wl,-warn-unresolved-symbols --error-unresolved-symbols -320: + cc -B. -flto -o /dev/null -xc - -320: + echo 'int main() {}' -317: + cat -304: + grep -q elf_x86_64 -319: ++ set -x -319: + cat -312: + cc -B. -o out/test/aarch64/weak-export-dso2/d.so out/test/aarch64/weak-export-dso2/c.o out/test/aarch64/weak-export-dso2/b.so -shared -319: + cc -o out/test/aarch64/whole-archive/a.o -c -x assembler - -310: + grep -q 'undefined symbol:.*foo' 318: ++ set -x -318: + cc -c -o out/test/aarch64/weak-undef5/a.o -fPIC -xc - -307: + grep -Fq 'multiple common symbols' out/test/aarch64/warn-common/log 318: + cat -307: + on_exit -307: + echo OK -307: OK -307: + exit 0 -309/336 Test #307: aarch64-warn-common ...................................... Passed 0.20 sec -test 321 - Start 321: aarch64-wrap - -321: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/wrap.sh" -321: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -321: Environment variables: -321: MACHINE=aarch64 -321: CPU= -321: Test timeout computed to be: 1500 -319: + echo 'int fn1() { return 42; }' -319: + cc -o out/test/aarch64/whole-archive/b.o -c -xc - -304: + ./mold -V -311: + grep -q 'WEAK DEFAULT UND foo' +318: + cc -c -o out/test/aarch64/weak-undef5/a.o -fPIC -xc - 321: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/wrap.sh 321: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 321: ++ export LC_ALL=C @@ -22430,36 +22455,36 @@ 321: ++ QEMU= 321: ++ case $MACHINE in 321: ++ tlsdesc_opt=-mtls-dialect=desc -311: + readelf --dyn-syms out/test/aarch64/weak-export-dso/b.so -315: + cc -c -o out/test/aarch64/weak-undef/b.o -fno-PIC -xc - -315: + cat -311: + grep -q 'WEAK DEFAULT UND foo' -311: + readelf --dyn-syms out/test/aarch64/weak-export-dso/c.so -304: + ./mold -V -304: + grep -q elf_i386 -311: + on_exit -311: + echo OK -311: OK -311: + exit 0 -310/336 Test #311: aarch64-weak-export-dso .................................. Passed 0.15 sec -test 322 - Start 322: aarch64-z-cet-report - -322: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/z-cet-report.sh" -322: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -322: Environment variables: -322: MACHINE=aarch64 -322: CPU= -322: Test timeout computed to be: 1500 -310: + on_exit -310: + echo OK -310: OK -310: + exit 0 -314: + cc -B. -o out/test/aarch64/weak-undef-dso/exe1 out/test/aarch64/weak-undef-dso/c.o out/test/aarch64/weak-undef-dso/b.so 321: +++ uname 321: ++ '[' Linux = FreeBSD ']' 321: ++ trap 'on_error $LINENO' ERR 321: ++ trap on_exit EXIT +317: ++ set -x +317: + cat +317: + cc -c -o out/test/aarch64/weak-undef4/a.o -xc - +319: +++ uname +319: ++ '[' Linux = FreeBSD ']' +319: ++ trap 'on_error $LINENO' ERR +319: ++ trap on_exit EXIT +319: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/whole-archive.sh .sh +319: ++ testname=whole-archive +319: ++ echo -n 'Testing whole-archive ... ' +319: Testing whole-archive ... ++ t=out/test/aarch64/whole-archive +319: ++ mkdir -p out/test/aarch64/whole-archive +320: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/wrap-lto.sh .sh +320: ++ testname=wrap-lto +320: ++ echo -n 'Testing wrap-lto ... ' +320: Testing wrap-lto ... ++ t=out/test/aarch64/wrap-lto +320: ++ mkdir -p out/test/aarch64/wrap-lto +314: + cat +315: + cat +315: + cc -c -o out/test/aarch64/weak-undef/b.o -fno-PIC -xc - +321: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/wrap.sh .sh +321: ++ testname=wrap +321: ++ echo -n 'Testing wrap ... ' +321: Testing wrap ... ++ t=out/test/aarch64/wrap +321: ++ mkdir -p out/test/aarch64/wrap +304: + rm -f out/test/aarch64/version/exe 322: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/z-cet-report.sh 322: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 322: ++ export LC_ALL=C @@ -22477,8 +22502,46 @@ 322: ++ QEMU= 322: ++ case $MACHINE in 322: ++ tlsdesc_opt=-mtls-dialect=desc +320: ++ set -x +320: + test_cflags -flto +312: + cc -B. -o out/test/aarch64/weak-export-dso2/d.so out/test/aarch64/weak-export-dso2/c.o out/test/aarch64/weak-export-dso2/b.so -shared +319: ++ set -x +320: + cc -B. -flto -o /dev/null -xc - +321: ++ set -x +319: + cc -o out/test/aarch64/whole-archive/a.o -c -x assembler - 322: +++ uname -311/336 Test #310: aarch64-warn-unresolved-symbols .......................... Passed 0.16 sec +322: ++ '[' Linux = FreeBSD ']' +322: ++ trap 'on_error $LINENO' ERR +322: ++ trap on_exit EXIT +320: + echo 'int main() {}' +321: + cc -fPIC -shared -o out/test/aarch64/wrap/a.so -xc - +319: + cat +304: + cc -B. -Wl,--version -o out/test/aarch64/version/exe1 out/test/aarch64/version/a.o +321: + cat +304: + grep -q mold +322: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/z-cet-report.sh .sh +322: ++ testname=z-cet-report +322: ++ echo -n 'Testing z-cet-report ... ' +322: Testing z-cet-report ... ++ t=out/test/aarch64/z-cet-report +322: ++ mkdir -p out/test/aarch64/z-cet-report +311: + grep -q 'WEAK DEFAULT UND foo' +319: + cc -o out/test/aarch64/whole-archive/b.o -c -xc - +311: + readelf --dyn-syms out/test/aarch64/weak-export-dso/b.so +319: + echo 'int fn1() { return 42; }' +315: + cc -fcommon -xc -c -o out/test/aarch64/weak-undef/c.o - +311: + readelf --dyn-syms out/test/aarch64/weak-export-dso/c.so +322: ++ set -x +315: + cat +322: + cc -o out/test/aarch64/z-cet-report/a.o -c -x assembler - +322: + cat +311: + grep -q 'WEAK DEFAULT UND foo' +319: + echo 'int fn2() { return 42; }' +319: + cc -o out/test/aarch64/whole-archive/c.o -c -xc - +311: + on_exit +311: + echo OK +311: OK +311: + exit 0 +311/336 Test #311: aarch64-weak-export-dso .................................. Passed 0.45 sec test 323 Start 323: aarch64-z-defs @@ -22488,35 +22551,40 @@ 323: MACHINE=aarch64 323: CPU= 323: Test timeout computed to be: 1500 -321: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/wrap.sh .sh -321: ++ testname=wrap -321: ++ echo -n 'Testing wrap ... ' -321: Testing wrap ... ++ t=out/test/aarch64/wrap -321: ++ mkdir -p out/test/aarch64/wrap -321: ++ set -x -321: + cc -fPIC -shared -o out/test/aarch64/wrap/a.so -xc - -321: + cat -322: ++ '[' Linux = FreeBSD ']' -322: ++ trap 'on_error $LINENO' ERR -322: ++ trap on_exit EXIT -322: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/z-cet-report.sh .sh -322: ++ testname=z-cet-report -322: ++ echo -n 'Testing z-cet-report ... ' -322: Testing z-cet-report ... ++ t=out/test/aarch64/z-cet-report -322: ++ mkdir -p out/test/aarch64/z-cet-report -304: + cc -c -xc -o out/test/aarch64/version/a.o - -304: + cat -316: + cc -c -o out/test/aarch64/weak-undef2/b.o -xc - 316: + cat +316: + cc -c -o out/test/aarch64/weak-undef2/b.o -xc - +304: + '[' -f out/test/aarch64/version/exe1 ']' +322: + cc -B. -o out/test/aarch64/z-cet-report/exe out/test/aarch64/z-cet-report/a.o +312: + grep -q 'WEAK DEFAULT .* UND foo' +312: + readelf -W --dyn-syms out/test/aarch64/weak-export-dso2/d.so +312: + on_exit +312: + echo OK +312: OK +312: + exit 0 +317: + cat +312/336 Test #312: aarch64-weak-export-dso2 ................................. Passed 0.43 sec +test 324 + Start 324: aarch64-z-dynamic-undefined-weak + +324: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/z-dynamic-undefined-weak.sh" +324: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +324: Environment variables: +324: MACHINE=aarch64 +324: CPU= +324: Test timeout computed to be: 1500 +317: + cc -c -o out/test/aarch64/weak-undef4/b.o -xc - +304: + grep -q mold +304: + cc -B. -Wl,-v -o out/test/aarch64/version/exe2 out/test/aarch64/version/a.o +314: + cc -B. -o out/test/aarch64/weak-undef-dso/exe1 out/test/aarch64/weak-undef-dso/c.o out/test/aarch64/weak-undef-dso/b.so +318: + cat +318: + cc -c -o out/test/aarch64/weak-undef5/b.o -fPIC -xc - 323: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/z-defs.sh -319: + echo 'int fn2() { return 42; }' 323: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 323: ++ export LC_ALL=C 323: ++ LC_ALL=C 323: ++ '[' -z aarch64 ']' 323: ++ '[' -z '' ']' 323: ++ TESTDIR=out/test/aarch64 -319: + cc -o out/test/aarch64/whole-archive/c.o -c -xc - 323: ++ CC=cc 323: ++ CXX=c++ 323: ++ GCC=gcc @@ -22527,48 +22595,20 @@ 323: ++ QEMU= 323: ++ case $MACHINE in 323: ++ tlsdesc_opt=-mtls-dialect=desc -317: + cat -317: + cc -c -o out/test/aarch64/weak-undef4/b.o -xc - -322: ++ set -x -322: + cat 323: +++ uname 323: ++ '[' Linux = FreeBSD ']' 323: ++ trap 'on_error $LINENO' ERR 323: ++ trap on_exit EXIT -318: + cat +315: + cc -B. -o out/test/aarch64/weak-undef/exe1 out/test/aarch64/weak-undef/a.o -pie 323: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/z-defs.sh .sh 323: ++ testname=z-defs 323: ++ echo -n 'Testing z-defs ... ' 323: Testing z-defs ... ++ t=out/test/aarch64/z-defs 323: ++ mkdir -p out/test/aarch64/z-defs -322: + cc -o out/test/aarch64/z-cet-report/a.o -c -x assembler - -318: + cc -c -o out/test/aarch64/weak-undef5/b.o -fPIC -xc - -312: + readelf -W --dyn-syms out/test/aarch64/weak-export-dso2/d.so -323: ++ set -x -323: + cat -322: + cc -B. -o out/test/aarch64/z-cet-report/exe out/test/aarch64/z-cet-report/a.o -323: + cc -fPIC -c -o out/test/aarch64/z-defs/a.o -xc - -312: + grep -q 'WEAK DEFAULT .* UND foo' -312: + on_exit -312: + echo OK -312: OK -312: + exit 0 -312/336 Test #312: aarch64-weak-export-dso2 ................................. Passed 0.18 sec -test 324 - Start 324: aarch64-z-dynamic-undefined-weak - -324: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/z-dynamic-undefined-weak.sh" -324: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -324: Environment variables: -324: MACHINE=aarch64 -324: CPU= -324: Test timeout computed to be: 1500 -315: + cc -fcommon -xc -c -o out/test/aarch64/weak-undef/c.o - -315: + cat +324: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/z-dynamic-undefined-weak.sh 316: + cc -B. -o out/test/aarch64/weak-undef2/exe out/test/aarch64/weak-undef2/a.o out/test/aarch64/weak-undef2/b.o -304: + rm -f out/test/aarch64/version/exe +317: + cat 319: + rm -f out/test/aarch64/whole-archive/d.a -324: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/z-dynamic-undefined-weak.sh 324: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 324: ++ export LC_ALL=C 324: ++ LC_ALL=C @@ -22585,50 +22625,48 @@ 324: ++ QEMU= 324: ++ case $MACHINE in 324: ++ tlsdesc_opt=-mtls-dialect=desc -319: + ar cr out/test/aarch64/whole-archive/d.a out/test/aarch64/whole-archive/b.o out/test/aarch64/whole-archive/c.o +323: ++ set -x +317: + cc -fcommon -xc -c -o out/test/aarch64/weak-undef4/c.o - +323: + cc -fPIC -c -o out/test/aarch64/z-defs/a.o -xc - 324: +++ uname -304: + cc -B. -Wl,--version -o out/test/aarch64/version/exe1 out/test/aarch64/version/a.o +321: + cat +323: + cat 324: ++ '[' Linux = FreeBSD ']' 324: ++ trap 'on_error $LINENO' ERR 324: ++ trap on_exit EXIT -319: + cc -B. -nostdlib -o out/test/aarch64/whole-archive/exe out/test/aarch64/whole-archive/a.o out/test/aarch64/whole-archive/d.a -317: + cc -fcommon -xc -c -o out/test/aarch64/weak-undef4/c.o - +321: + cc -c -o out/test/aarch64/wrap/b.o -xc - +319: + ar cr out/test/aarch64/whole-archive/d.a out/test/aarch64/whole-archive/b.o out/test/aarch64/whole-archive/c.o 324: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/z-dynamic-undefined-weak.sh .sh -318: + cc -B. -o out/test/aarch64/weak-undef5/libfoobar.so out/test/aarch64/weak-undef5/b.o -shared -317: + cat 324: ++ testname=z-dynamic-undefined-weak 324: ++ echo -n 'Testing z-dynamic-undefined-weak ... ' 324: Testing z-dynamic-undefined-weak ... ++ t=out/test/aarch64/z-dynamic-undefined-weak 324: ++ mkdir -p out/test/aarch64/z-dynamic-undefined-weak -304: + grep -q mold 324: ++ set -x +319: + cc -B. -nostdlib -o out/test/aarch64/whole-archive/exe out/test/aarch64/whole-archive/a.o out/test/aarch64/whole-archive/d.a +322: + cc -B. -o out/test/aarch64/z-cet-report/exe out/test/aarch64/z-cet-report/a.o -Wl,-z,cet-report=warning +318: + cc -B. -o out/test/aarch64/weak-undef5/libfoobar.so out/test/aarch64/weak-undef5/b.o -shared +324: + cc -o out/test/aarch64/z-dynamic-undefined-weak/a.o -c -xc - -fPIC 324: + cat -314: + grep -q bar=-1 +315: + cc -B. -o out/test/aarch64/weak-undef/exe2 out/test/aarch64/weak-undef/b.o -no-pie +317: + ar rcs out/test/aarch64/weak-undef4/d.a out/test/aarch64/weak-undef4/c.o 314: + out/test/aarch64/weak-undef-dso/exe1 -324: + cc -o out/test/aarch64/z-dynamic-undefined-weak/a.o -c -xc - -fPIC +304: + grep -q 'Hello world' +314: + grep -q bar=-1 +304: + out/test/aarch64/version/exe2 +317: + cc -B. -o out/test/aarch64/weak-undef4/exe1 out/test/aarch64/weak-undef4/a.o out/test/aarch64/weak-undef4/d.a 323: + cc -B. -shared -o out/test/aarch64/z-defs/b.so out/test/aarch64/z-defs/a.o -315: + cc -B. -o out/test/aarch64/weak-undef/exe1 out/test/aarch64/weak-undef/a.o -pie -314: + cc -xc -c -o out/test/aarch64/weak-undef-dso/d.o - -321: + cc -c -o out/test/aarch64/wrap/b.o -xc - -321: + cat +304: + ./mold --v 314: + cat -304: + '[' -f out/test/aarch64/version/exe1 ']' -304: + cc -B. -Wl,-v -o out/test/aarch64/version/exe2 out/test/aarch64/version/a.o -304: + grep -q mold -322: + cc -B. -o out/test/aarch64/z-cet-report/exe out/test/aarch64/z-cet-report/a.o -Wl,-z,cet-report=warning -319: + readelf --symbols out/test/aarch64/whole-archive/exe -319: + grep -q fn1 out/test/aarch64/whole-archive/log -319: + grep -q fn2 out/test/aarch64/whole-archive/log -316: + grep -q 'undefined symbol: foo' out/test/aarch64/weak-undef2/log -319: + cc -B. -nostdlib -o out/test/aarch64/whole-archive/exe out/test/aarch64/whole-archive/a.o -Wl,--whole-archive out/test/aarch64/whole-archive/d.a -317: + ar rcs out/test/aarch64/weak-undef4/d.a out/test/aarch64/weak-undef4/c.o -324: + cc -B. -shared -o out/test/aarch64/z-dynamic-undefined-weak/b.so out/test/aarch64/z-dynamic-undefined-weak/a.o -317: + cc -B. -o out/test/aarch64/weak-undef4/exe1 out/test/aarch64/weak-undef4/a.o out/test/aarch64/weak-undef4/d.a -316: + on_exit -316: + echo OK -316: OK -316: + exit 0 -313/336 Test #316: aarch64-weak-undef2 ...................................... Passed 0.16 sec +314: + cc -xc -c -o out/test/aarch64/weak-undef-dso/d.o - +304: + grep -q 'unknown command line option:' out/test/aarch64/version/log +322: + grep -q 'a.o: -cet-report=warning: missing GNU_PROPERTY_X86_FEATURE_1_IBT' out/test/aarch64/z-cet-report/log +322: + grep -q 'a.o: -cet-report=warning: missing GNU_PROPERTY_X86_FEATURE_1_SHSTK' out/test/aarch64/z-cet-report/log +322: + cc -B. -o out/test/aarch64/z-cet-report/exe out/test/aarch64/z-cet-report/a.o -Wl,-z,cet-report=error +304: + on_exit +304: + echo OK +304: OK +304: + exit 0 +313/336 Test #304: aarch64-version .......................................... Passed 0.78 sec test 325 Start 325: aarch64-z-max-page-size @@ -22638,6 +22676,8 @@ 325: MACHINE=aarch64 325: CPU= 325: Test timeout computed to be: 1500 +324: + cc -B. -shared -o out/test/aarch64/z-dynamic-undefined-weak/b.so out/test/aarch64/z-dynamic-undefined-weak/a.o +319: + readelf --symbols out/test/aarch64/whole-archive/exe 325: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/z-max-page-size.sh 325: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 325: ++ export LC_ALL=C @@ -22655,39 +22695,22 @@ 325: ++ QEMU= 325: ++ case $MACHINE in 325: ++ tlsdesc_opt=-mtls-dialect=desc -318: + cc -B. -o out/test/aarch64/weak-undef5/exe out/test/aarch64/weak-undef5/a.o -Wl,--as-needed -Lout/test/aarch64/weak-undef5 -lfoobar -Wl,-rpath,out/test/aarch64/weak-undef5 -314: + cc -B. -o out/test/aarch64/weak-undef-dso/exe2 out/test/aarch64/weak-undef-dso/d.o out/test/aarch64/weak-undef-dso/b.so -315: + cc -B. -o out/test/aarch64/weak-undef/exe2 out/test/aarch64/weak-undef/b.o -no-pie -322: + grep -q 'a.o: -cet-report=warning: missing GNU_PROPERTY_X86_FEATURE_1_IBT' out/test/aarch64/z-cet-report/log -323: + cc -B. -shared -o out/test/aarch64/z-defs/b.so out/test/aarch64/z-defs/a.o -Wl,-z,undefs -319: + readelf --symbols out/test/aarch64/whole-archive/exe -322: + grep -q 'a.o: -cet-report=warning: missing GNU_PROPERTY_X86_FEATURE_1_SHSTK' out/test/aarch64/z-cet-report/log -322: + cc -B. -o out/test/aarch64/z-cet-report/exe out/test/aarch64/z-cet-report/a.o -Wl,-z,cet-report=error -325: +++ uname -321: + cat -304: + grep -q 'Hello world' 319: + grep -q fn1 out/test/aarch64/whole-archive/log -304: + out/test/aarch64/version/exe2 -319: + grep -q fn2 out/test/aarch64/whole-archive/log +321: + cat +321: + cc -c -o out/test/aarch64/wrap/c.o -xc - +315: + cc -B. -o out/test/aarch64/weak-undef/exe3 out/test/aarch64/weak-undef/a.o out/test/aarch64/weak-undef/c.o -pie +316: + grep -q 'undefined symbol: foo' out/test/aarch64/weak-undef2/log +325: +++ uname 325: ++ '[' Linux = FreeBSD ']' 325: ++ trap 'on_error $LINENO' ERR 325: ++ trap on_exit EXIT -319: + cc -B. -nostdlib -o out/test/aarch64/whole-archive/exe out/test/aarch64/whole-archive/a.o -Wl,--whole-archive -Wl,--no-whole-archive out/test/aarch64/whole-archive/d.a -321: + cc -c -o out/test/aarch64/wrap/c.o -xc - -304: + ./mold --v -304: + grep -q 'unknown command line option:' out/test/aarch64/version/log -325: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/z-max-page-size.sh .sh -325: ++ testname=z-max-page-size -325: ++ echo -n 'Testing z-max-page-size ... ' -325: Testing z-max-page-size ... ++ t=out/test/aarch64/z-max-page-size -325: ++ mkdir -p out/test/aarch64/z-max-page-size -325: ++ set -x -324: + cc -B. -shared -o out/test/aarch64/z-dynamic-undefined-weak/c.so out/test/aarch64/z-dynamic-undefined-weak/a.o -Wl,-z,dynamic-undefined-weak -304: + on_exit -304: + echo OK -304: OK -304: + exit 0 -314/336 Test #304: aarch64-version .......................................... Passed 0.37 sec +319: + grep -q fn2 out/test/aarch64/whole-archive/log +318: + cc -B. -o out/test/aarch64/weak-undef5/exe out/test/aarch64/weak-undef5/a.o -Wl,--as-needed -Lout/test/aarch64/weak-undef5 -lfoobar -Wl,-rpath,out/test/aarch64/weak-undef5 +316: + on_exit +316: + echo OK +316: OK +316: + exit 0 +314/336 Test #316: aarch64-weak-undef2 ...................................... Passed 0.40 sec test 326 Start 326: aarch64-z-nodefaultlib @@ -22697,9 +22720,40 @@ 326: MACHINE=aarch64 326: CPU= 326: Test timeout computed to be: 1500 -325: + cat +325: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/z-max-page-size.sh .sh +325: ++ testname=z-max-page-size +325: ++ echo -n 'Testing z-max-page-size ... ' +325: Testing z-max-page-size ... ++ t=out/test/aarch64/z-max-page-size +325: ++ mkdir -p out/test/aarch64/z-max-page-size +325: ++ set -x 325: + cc -o out/test/aarch64/z-max-page-size/a.o -c -xc - +325: + cat +319: + cc -B. -nostdlib -o out/test/aarch64/whole-archive/exe out/test/aarch64/whole-archive/a.o -Wl,--whole-archive out/test/aarch64/whole-archive/d.a +314: + cc -B. -o out/test/aarch64/weak-undef-dso/exe2 out/test/aarch64/weak-undef-dso/d.o out/test/aarch64/weak-undef-dso/b.so +323: + cc -B. -shared -o out/test/aarch64/z-defs/b.so out/test/aarch64/z-defs/a.o -Wl,-z,undefs +320: + cc -fPIC -shared -o out/test/aarch64/wrap-lto/a.so -xc - +320: + cat +322: + grep -q 'a.o: -cet-report=error: missing GNU_PROPERTY_X86_FEATURE_1_IBT' out/test/aarch64/z-cet-report/log +317: + cc -B. -o out/test/aarch64/weak-undef4/exe2 out/test/aarch64/weak-undef4/b.o out/test/aarch64/weak-undef4/d.a +322: + grep -q 'a.o: -cet-report=error: missing GNU_PROPERTY_X86_FEATURE_1_SHSTK' out/test/aarch64/z-cet-report/log +314: + out/test/aarch64/weak-undef-dso/exe2 +314: + grep -q bar=5 +322: + on_exit +322: + echo OK +322: OK +322: + exit 0 +324: + cc -B. -shared -o out/test/aarch64/z-dynamic-undefined-weak/c.so out/test/aarch64/z-dynamic-undefined-weak/a.o -Wl,-z,dynamic-undefined-weak 326: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/z-nodefaultlib.sh +315/336 Test #322: aarch64-z-cet-report ..................................... Passed 0.36 sec +test 327 + Start 327: aarch64-z-nodump + +327: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/z-nodump.sh" +327: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +327: Environment variables: +327: MACHINE=aarch64 +327: CPU= +327: Test timeout computed to be: 1500 326: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 326: ++ export LC_ALL=C 326: ++ LC_ALL=C @@ -22716,46 +22770,15 @@ 326: ++ QEMU= 326: ++ case $MACHINE in 326: ++ tlsdesc_opt=-mtls-dialect=desc -326: +++ uname -326: ++ '[' Linux = FreeBSD ']' -326: ++ trap 'on_error $LINENO' ERR -326: ++ trap on_exit EXIT -326: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/z-nodefaultlib.sh .sh -326: ++ testname=z-nodefaultlib -326: ++ echo -n 'Testing z-nodefaultlib ... ' -326: Testing z-nodefaultlib ... ++ t=out/test/aarch64/z-nodefaultlib -326: ++ mkdir -p out/test/aarch64/z-nodefaultlib -315: + cc -B. -o out/test/aarch64/weak-undef/exe3 out/test/aarch64/weak-undef/a.o out/test/aarch64/weak-undef/c.o -pie -318: + readelf --dynamic out/test/aarch64/weak-undef5/exe -326: ++ set -x -318: + grep -q 'NEEDED.*libfoobar' 321: + cc -B. -o out/test/aarch64/wrap/exe out/test/aarch64/wrap/a.so out/test/aarch64/wrap/b.o -314: + grep -q bar=5 -314: + out/test/aarch64/weak-undef-dso/exe2 -318: + out/test/aarch64/weak-undef5/exe -318: + grep -q '^2$' -319: + readelf --symbols out/test/aarch64/whole-archive/exe -326: + cc -o out/test/aarch64/z-nodefaultlib/a.o -c -xc - -326: + cat -318: + on_exit -318: + echo OK -318: OK -318: + exit 0 314: + on_exit 314: + echo OK 314: OK 314: + exit 0 -315/336 Test #314: aarch64-weak-undef-dso ................................... Passed 0.29 sec -316/336 Test #318: aarch64-weak-undef5 ...................................... Passed 0.21 sec -test 327 - Start 327: aarch64-z-nodump - -327: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/z-nodump.sh" -327: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -327: Environment variables: -327: MACHINE=aarch64 -327: CPU= -327: Test timeout computed to be: 1500 +319: + readelf --symbols out/test/aarch64/whole-archive/exe +319: + grep -q fn1 out/test/aarch64/whole-archive/log +319: + grep -q fn2 out/test/aarch64/whole-archive/log +316/336 Test #314: aarch64-weak-undef-dso ................................... Passed 0.61 sec test 328 Start 328: aarch64-z-now @@ -22765,27 +22788,20 @@ 328: MACHINE=aarch64 328: CPU= 328: Test timeout computed to be: 1500 -317: + cc -B. -o out/test/aarch64/weak-undef4/exe2 out/test/aarch64/weak-undef4/b.o out/test/aarch64/weak-undef4/d.a -319: + grep -q fn1 out/test/aarch64/whole-archive/log -319: + grep -q fn2 out/test/aarch64/whole-archive/log -319: + on_exit -319: + echo OK -319: OK -319: + exit 0 -320: + cc -fPIC -shared -o out/test/aarch64/wrap-lto/a.so -xc - -320: + cat +326: +++ uname +326: ++ '[' Linux = FreeBSD ']' +326: ++ trap 'on_error $LINENO' ERR +326: ++ trap on_exit EXIT +326: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/z-nodefaultlib.sh .sh +326: ++ testname=z-nodefaultlib +326: ++ echo -n 'Testing z-nodefaultlib ... ' +326: Testing z-nodefaultlib ... ++ t=out/test/aarch64/z-nodefaultlib +326: ++ mkdir -p out/test/aarch64/z-nodefaultlib +318: + grep -q 'NEEDED.*libfoobar' +318: + readelf --dynamic out/test/aarch64/weak-undef5/exe +318: + grep -q '^2$' 323: + cc -B. -shared -o out/test/aarch64/z-defs/b.so out/test/aarch64/z-defs/a.o -Wl,-z,defs 327: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/z-nodump.sh -317/336 Test #319: aarch64-whole-archive .................................... Passed 0.21 sec -test 329 - Start 329: aarch64-z-origin - -329: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/z-origin.sh" -329: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -329: Environment variables: -329: MACHINE=aarch64 -329: CPU= -329: Test timeout computed to be: 1500 327: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 327: ++ export LC_ALL=C 327: ++ LC_ALL=C @@ -22802,15 +22818,24 @@ 327: ++ QEMU= 327: ++ case $MACHINE in 327: ++ tlsdesc_opt=-mtls-dialect=desc -327: +++ uname -327: ++ '[' Linux = FreeBSD ']' -327: ++ trap 'on_error $LINENO' ERR -327: ++ trap on_exit EXIT -327: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/z-nodump.sh .sh -327: ++ testname=z-nodump -327: ++ echo -n 'Testing z-nodump ... ' -327: Testing z-nodump ... ++ t=out/test/aarch64/z-nodump -327: ++ mkdir -p out/test/aarch64/z-nodump +318: + out/test/aarch64/weak-undef5/exe +318: + on_exit +318: + echo OK +318: OK +318: + exit 0 +319: + cc -B. -nostdlib -o out/test/aarch64/whole-archive/exe out/test/aarch64/whole-archive/a.o -Wl,--whole-archive -Wl,--no-whole-archive out/test/aarch64/whole-archive/d.a +326: ++ set -x +317/336 Test #318: aarch64-weak-undef5 ...................................... Passed 0.45 sec +test 329 + Start 329: aarch64-z-origin + +329: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/z-origin.sh" +329: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +329: Environment variables: +329: MACHINE=aarch64 +329: CPU= +329: Test timeout computed to be: 1500 +315: + cc -B. -o out/test/aarch64/weak-undef/exe4 out/test/aarch64/weak-undef/b.o out/test/aarch64/weak-undef/c.o -no-pie 325: + cc -B. -o out/test/aarch64/z-max-page-size/exe1 out/test/aarch64/z-max-page-size/a.o -Wl,-z,max-page-size=65536 -Wl,-z,separate-loadable-segments 328: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/z-now.sh 328: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc @@ -22829,10 +22854,29 @@ 328: ++ QEMU= 328: ++ case $MACHINE in 328: ++ tlsdesc_opt=-mtls-dialect=desc -322: + grep -q 'a.o: -cet-report=error: missing GNU_PROPERTY_X86_FEATURE_1_IBT' out/test/aarch64/z-cet-report/log -322: + grep -q 'a.o: -cet-report=error: missing GNU_PROPERTY_X86_FEATURE_1_SHSTK' out/test/aarch64/z-cet-report/log -324: + cc -B. -shared -o out/test/aarch64/z-dynamic-undefined-weak/d.so out/test/aarch64/z-dynamic-undefined-weak/a.o -Wl,-z,nodynamic-undefined-weak +326: + cat +326: + cc -o out/test/aarch64/z-nodefaultlib/a.o -c -xc - +327: +++ uname +327: ++ '[' Linux = FreeBSD ']' +327: ++ trap 'on_error $LINENO' ERR +327: ++ trap on_exit EXIT +327: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/z-nodump.sh .sh +327: ++ testname=z-nodump +327: ++ echo -n 'Testing z-nodump ... ' +327: Testing z-nodump ... ++ t=out/test/aarch64/z-nodump +327: ++ mkdir -p out/test/aarch64/z-nodump +321: + grep -q '^foo$' +321: + out/test/aarch64/wrap/exe +321: + cc -B. -o out/test/aarch64/wrap/exe out/test/aarch64/wrap/a.so out/test/aarch64/wrap/b.o -Wl,-wrap,foo +327: ++ set -x +328: +++ uname +327: + cc -c -o out/test/aarch64/z-nodump/a.o -xc - +328: ++ '[' Linux = FreeBSD ']' +328: ++ trap 'on_error $LINENO' ERR +328: ++ trap on_exit EXIT +327: + cat 329: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/z-origin.sh +317: + out/test/aarch64/weak-undef4/exe1 329: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 329: ++ export LC_ALL=C 329: ++ LC_ALL=C @@ -22850,17 +22894,36 @@ 329: ++ case $MACHINE in 329: ++ tlsdesc_opt=-mtls-dialect=desc 329: +++ uname -322: + on_exit -322: + echo OK -322: OK -322: + exit 0 -327: ++ set -x -315: + cc -B. -o out/test/aarch64/weak-undef/exe4 out/test/aarch64/weak-undef/b.o out/test/aarch64/weak-undef/c.o -no-pie 329: ++ '[' Linux = FreeBSD ']' +328: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/z-now.sh .sh 329: ++ trap 'on_error $LINENO' ERR 329: ++ trap on_exit EXIT -326: + cc -B. -o out/test/aarch64/z-nodefaultlib/exe out/test/aarch64/z-nodefaultlib/a.o -Wl,-z,nodefaultlib -318/336 Test #322: aarch64-z-cet-report ..................................... Passed 0.19 sec +324: + cc -B. -shared -o out/test/aarch64/z-dynamic-undefined-weak/d.so out/test/aarch64/z-dynamic-undefined-weak/a.o -Wl,-z,nodynamic-undefined-weak +328: ++ testname=z-now +328: ++ echo -n 'Testing z-now ... ' +328: Testing z-now ... ++ t=out/test/aarch64/z-now +328: ++ mkdir -p out/test/aarch64/z-now +328: ++ set -x +317: + grep -q '^2$' +319: + readelf --symbols out/test/aarch64/whole-archive/exe +328: + cat +329: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/z-origin.sh .sh +329: ++ testname=z-origin +329: ++ echo -n 'Testing z-origin ... ' +329: Testing z-origin ... ++ t=out/test/aarch64/z-origin +329: ++ mkdir -p out/test/aarch64/z-origin +317: + grep -q '^-1$' +319: + grep -q fn1 out/test/aarch64/whole-archive/log +320: + cat +328: + cc -o out/test/aarch64/z-now/a.o -c -xc - +319: + grep -q fn2 out/test/aarch64/whole-archive/log +320: + cc -c -o out/test/aarch64/wrap-lto/b.o -xc - -flto +317: + out/test/aarch64/weak-undef4/exe2 +317: + on_exit +317: + echo OK +317: OK +317: + exit 0 +318/336 Test #317: aarch64-weak-undef4 ...................................... Passed 0.56 sec test 330 Start 330: aarch64-z-pack-relative-relocs @@ -22870,24 +22933,29 @@ 330: MACHINE=aarch64 330: CPU= 330: Test timeout computed to be: 1500 -329: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/z-origin.sh .sh -329: ++ testname=z-origin -329: ++ echo -n 'Testing z-origin ... ' -329: Testing z-origin ... ++ t=out/test/aarch64/z-origin -329: ++ mkdir -p out/test/aarch64/z-origin -327: + cat -327: + cc -c -o out/test/aarch64/z-nodump/a.o -xc - -328: +++ uname -328: ++ '[' Linux = FreeBSD ']' -328: ++ trap 'on_error $LINENO' ERR -328: ++ trap on_exit EXIT -328: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/z-now.sh .sh -328: ++ testname=z-now -328: ++ echo -n 'Testing z-now ... ' -328: Testing z-now ... ++ t=out/test/aarch64/z-now -328: ++ mkdir -p out/test/aarch64/z-now +323: + grep -q 'undefined symbol:.* foo' out/test/aarch64/z-defs/log +323: + cc -B. -shared -o out/test/aarch64/z-defs/b.so out/test/aarch64/z-defs/a.o -Wl,-no-undefined +329: ++ set -x +329: + cc -c -o out/test/aarch64/z-origin/a.o -xc - +329: + cat +326: + cc -B. -o out/test/aarch64/z-nodefaultlib/exe out/test/aarch64/z-nodefaultlib/a.o -Wl,-z,nodefaultlib +319: + on_exit +319: + echo OK +319: OK +319: + exit 0 +319/336 Test #319: aarch64-whole-archive .................................... Passed 0.53 sec +test 331 + Start 331: aarch64-z-rodynamic + +331: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/z-rodynamic.sh" +331: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +331: Environment variables: +331: MACHINE=aarch64 +331: CPU= +331: Test timeout computed to be: 1500 +320: + cat +320: + cc -c -o out/test/aarch64/wrap-lto/c.o -xc - -flto 330: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/z-pack-relative-relocs.sh -328: ++ set -x 330: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 330: ++ export LC_ALL=C 330: ++ LC_ALL=C @@ -22904,74 +22972,14 @@ 330: ++ QEMU= 330: ++ case $MACHINE in 330: ++ tlsdesc_opt=-mtls-dialect=desc -329: ++ set -x -329: + cc -c -o out/test/aarch64/z-origin/a.o -xc - -328: + cat -328: + cc -o out/test/aarch64/z-now/a.o -c -xc - 325: + grep -q 'Hello world' -321: + out/test/aarch64/wrap/exe 325: + out/test/aarch64/z-max-page-size/exe1 -330: +++ uname -329: + cat -325: + readelf -W --segments out/test/aarch64/z-max-page-size/exe1 -321: + grep -q '^foo$' 325: + grep -q 'LOAD.*R 0x10000$' -321: + cc -B. -o out/test/aarch64/wrap/exe out/test/aarch64/wrap/a.so out/test/aarch64/wrap/b.o -Wl,-wrap,foo -317: + out/test/aarch64/weak-undef4/exe1 -330: ++ '[' Linux = FreeBSD ']' -330: ++ trap 'on_error $LINENO' ERR -330: ++ trap on_exit EXIT -317: + grep -q '^2$' +325: + readelf -W --segments out/test/aarch64/z-max-page-size/exe1 325: + cc -B. -o out/test/aarch64/z-max-page-size/exe2 out/test/aarch64/z-max-page-size/a.o -Wl,-zmax-page-size=1048576 -Wl,-z,separate-loadable-segments -323: + grep -q 'undefined symbol:.* foo' out/test/aarch64/z-defs/log -330: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/z-pack-relative-relocs.sh .sh -317: + out/test/aarch64/weak-undef4/exe2 -323: + cc -B. -shared -o out/test/aarch64/z-defs/b.so out/test/aarch64/z-defs/a.o -Wl,-no-undefined -330: ++ testname=z-pack-relative-relocs -330: ++ echo -n 'Testing z-pack-relative-relocs ... ' -330: Testing z-pack-relative-relocs ... ++ t=out/test/aarch64/z-pack-relative-relocs -330: ++ mkdir -p out/test/aarch64/z-pack-relative-relocs -317: + grep -q '^-1$' 327: + cc -B. -shared -o out/test/aarch64/z-nodump/b.so out/test/aarch64/z-nodump/a.o -317: + on_exit -317: + echo OK -317: OK -317: + exit 0 -330: ++ set -x -319/336 Test #317: aarch64-weak-undef4 ...................................... Passed 0.28 sec -test 331 - Start 331: aarch64-z-rodynamic - -331: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/z-rodynamic.sh" -331: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -331: Environment variables: -331: MACHINE=aarch64 -331: CPU= -331: Test timeout computed to be: 1500 -330: + cc -o out/test/aarch64/z-pack-relative-relocs/a.o -fPIC -c -xc - -326: + readelf --dynamic out/test/aarch64/z-nodefaultlib/exe -326: + grep -q 'Flags:.*NODEFLIB' -326: + on_exit -326: + echo OK -326: OK -326: + exit 0 -324: + cat -315: + grep -q '^-1$' -320: + cc -c -o out/test/aarch64/wrap-lto/b.o -xc - -flto -320/336 Test #326: aarch64-z-nodefaultlib ................................... Passed 0.10 sec -test 332 - Start 332: aarch64-z-sectionheader - -332: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/z-sectionheader.sh" -332: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -332: Environment variables: -332: MACHINE=aarch64 -332: CPU= -332: Test timeout computed to be: 1500 -330: + cat -324: + cc -o out/test/aarch64/z-dynamic-undefined-weak/e.o -c -xc - +330: +++ uname 315: + out/test/aarch64/weak-undef/exe1 -320: + cat 331: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/z-rodynamic.sh 331: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 331: ++ export LC_ALL=C @@ -22989,51 +22997,70 @@ 331: ++ QEMU= 331: ++ case $MACHINE in 331: ++ tlsdesc_opt=-mtls-dialect=desc -332: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/z-sectionheader.sh -332: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc -332: ++ export LC_ALL=C -332: ++ LC_ALL=C -332: ++ '[' -z aarch64 ']' -332: ++ '[' -z '' ']' -332: ++ TESTDIR=out/test/aarch64 -332: ++ CC=cc -332: ++ CXX=c++ -332: ++ GCC=gcc -332: ++ GXX=g++ -332: ++ OBJDUMP=objdump -332: ++ OBJCOPY=objcopy -332: ++ STRIP=strip -332: ++ QEMU= -332: ++ case $MACHINE in -332: ++ tlsdesc_opt=-mtls-dialect=desc -328: + cc -B. -o out/test/aarch64/z-now/exe out/test/aarch64/z-now/a.o -Wl,-z,now -315: + out/test/aarch64/weak-undef/exe2 +330: ++ '[' Linux = FreeBSD ']' +330: ++ trap 'on_error $LINENO' ERR +330: ++ trap on_exit EXIT +321: + grep -q '^wrap_foo$' +321: + out/test/aarch64/wrap/exe 315: + grep -q '^-1$' -332: +++ uname -329: + cc -B. -o out/test/aarch64/z-origin/exe out/test/aarch64/z-origin/a.o -Wl,-z,origin 331: +++ uname 331: ++ '[' Linux = FreeBSD ']' 331: ++ trap 'on_error $LINENO' ERR 331: ++ trap on_exit EXIT +321: + cc -B. -o out/test/aarch64/wrap/exe out/test/aarch64/wrap/a.so out/test/aarch64/wrap/c.o -Wl,-wrap,foo +324: + cat +324: + cc -o out/test/aarch64/z-dynamic-undefined-weak/e.o -c -xc - +331: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/z-rodynamic.sh .sh +315: + grep -q '^-1$' +315: + out/test/aarch64/weak-undef/exe2 +330: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/z-pack-relative-relocs.sh .sh +331: ++ testname=z-rodynamic +331: ++ echo -n 'Testing z-rodynamic ... ' +331: Testing z-rodynamic ... ++ t=out/test/aarch64/z-rodynamic +331: ++ mkdir -p out/test/aarch64/z-rodynamic +330: ++ testname=z-pack-relative-relocs +330: ++ echo -n 'Testing z-pack-relative-relocs ... ' +330: Testing z-pack-relative-relocs ... ++ t=out/test/aarch64/z-pack-relative-relocs +330: ++ mkdir -p out/test/aarch64/z-pack-relative-relocs +328: + cc -B. -o out/test/aarch64/z-now/exe out/test/aarch64/z-now/a.o -Wl,-z,now +329: + cc -B. -o out/test/aarch64/z-origin/exe out/test/aarch64/z-origin/a.o -Wl,-z,origin +330: ++ set -x 315: + out/test/aarch64/weak-undef/exe3 -332: ++ '[' Linux = FreeBSD ']' +331: ++ set -x 315: + grep -q '^2$' -332: ++ trap 'on_error $LINENO' ERR -332: ++ trap on_exit EXIT -332: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/z-sectionheader.sh .sh -315: + out/test/aarch64/weak-undef/exe4 +330: + cc -o out/test/aarch64/z-pack-relative-relocs/a.o -fPIC -c -xc - +330: + cat +331: + cc -o out/test/aarch64/z-rodynamic/a.o -c -xc - +331: + cat +320: + cc -B. -o out/test/aarch64/wrap-lto/exe out/test/aarch64/wrap-lto/a.so out/test/aarch64/wrap-lto/b.o -flto 315: + grep -q '^2$' -321: + grep -q '^wrap_foo$' -321: + out/test/aarch64/wrap/exe -332: ++ testname=z-sectionheader -332: ++ echo -n 'Testing z-sectionheader ... ' -332: Testing z-sectionheader ... ++ t=out/test/aarch64/z-sectionheader -332: ++ mkdir -p out/test/aarch64/z-sectionheader +315: + out/test/aarch64/weak-undef/exe4 315: + on_exit 315: + echo OK 315: OK 315: + exit 0 -321/336 Test #315: aarch64-weak-undef ....................................... Passed 0.34 sec +320/336 Test #315: aarch64-weak-undef ....................................... Passed 0.79 sec +test 332 + Start 332: aarch64-z-sectionheader + +332: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/z-sectionheader.sh" +332: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +332: Environment variables: +332: MACHINE=aarch64 +332: CPU= +332: Test timeout computed to be: 1500 +327: + readelf --dynamic out/test/aarch64/z-nodump/b.so +327: + grep -Eq 'Flags:.*NODUMP' +327: + cc -B. -shared -o out/test/aarch64/z-nodump/b.so out/test/aarch64/z-nodump/a.o -Wl,-z,nodump +326: + readelf --dynamic out/test/aarch64/z-nodefaultlib/exe +326: + grep -q 'Flags:.*NODEFLIB' +326: + on_exit +326: + echo OK +326: OK +326: + exit 0 +331: + cc -B. -o out/test/aarch64/z-rodynamic/exe1 out/test/aarch64/z-rodynamic/a.o +324: + cc -B. -o out/test/aarch64/z-dynamic-undefined-weak/exe1 out/test/aarch64/z-dynamic-undefined-weak/e.o out/test/aarch64/z-dynamic-undefined-weak/b.so +321/336 Test #326: aarch64-z-nodefaultlib ................................... Passed 0.32 sec test 333 Start 333: aarch64-z-separate-code @@ -23043,22 +23070,36 @@ 333: MACHINE=aarch64 333: CPU= 333: Test timeout computed to be: 1500 -321: + cc -B. -o out/test/aarch64/wrap/exe out/test/aarch64/wrap/a.so out/test/aarch64/wrap/c.o -Wl,-wrap,foo -331: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/z-rodynamic.sh .sh -320: + cat -331: ++ testname=z-rodynamic -331: ++ echo -n 'Testing z-rodynamic ... ' -331: Testing z-rodynamic ... ++ t=out/test/aarch64/z-rodynamic -331: ++ mkdir -p out/test/aarch64/z-rodynamic -332: ++ set -x +321: + out/test/aarch64/wrap/exe +321: + grep -q '^foo$' +321: + on_exit +321: + echo OK +321: OK +321: + exit 0 323: + grep -q 'undefined symbol:.* foo' out/test/aarch64/z-defs/log +332: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/z-sectionheader.sh +332: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc +332: ++ export LC_ALL=C +332: ++ LC_ALL=C +332: ++ '[' -z aarch64 ']' +332: ++ '[' -z '' ']' +332: ++ TESTDIR=out/test/aarch64 +332: ++ CC=cc +332: ++ CXX=c++ +332: ++ GCC=gcc +332: ++ GXX=g++ +332: ++ OBJDUMP=objdump +332: ++ OBJCOPY=objcopy +332: ++ STRIP=strip +332: ++ QEMU= +332: ++ case $MACHINE in +332: ++ tlsdesc_opt=-mtls-dialect=desc +330: + cc -o out/test/aarch64/z-pack-relative-relocs/exe1 out/test/aarch64/z-pack-relative-relocs/a.o -pie -Wl,-z,pack-relative-relocs +329: + grep -Eq '\(FLAGS\)\s+ORIGIN' 333: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/z-separate-code.sh -320: + cc -c -o out/test/aarch64/wrap-lto/c.o -xc - -flto -323: + cc -B. -shared -o out/test/aarch64/z-defs/c.so out/test/aarch64/z-defs/a.o -Wl,-z,defs -Wl,--warn-unresolved-symbols 333: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 333: ++ export LC_ALL=C 333: ++ LC_ALL=C -332: + cat 333: ++ '[' -z aarch64 ']' 333: ++ '[' -z '' ']' 333: ++ TESTDIR=out/test/aarch64 @@ -23072,17 +23113,32 @@ 333: ++ QEMU= 333: ++ case $MACHINE in 333: ++ tlsdesc_opt=-mtls-dialect=desc -331: ++ set -x -325: + grep -q 'Hello world' +322/336 Test #321: aarch64-wrap ............................................. Passed 0.65 sec +test 334 + Start 334: aarch64-z-stack-size + +334: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/z-stack-size.sh" +334: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu +334: Environment variables: +334: MACHINE=aarch64 +334: CPU= +334: Test timeout computed to be: 1500 +323: + cc -B. -shared -o out/test/aarch64/z-defs/c.so out/test/aarch64/z-defs/a.o -Wl,-z,defs -Wl,--warn-unresolved-symbols +332: +++ uname +332: ++ '[' Linux = FreeBSD ']' +332: ++ trap 'on_error $LINENO' ERR +332: ++ trap on_exit EXIT +332: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/z-sectionheader.sh .sh +332: ++ testname=z-sectionheader +332: ++ echo -n 'Testing z-sectionheader ... ' +332: Testing z-sectionheader ... ++ t=out/test/aarch64/z-sectionheader +332: ++ mkdir -p out/test/aarch64/z-sectionheader +332: ++ set -x +332: + cat 332: + cc -o out/test/aarch64/z-sectionheader/a.o -c -xc - -331: + cat -331: + cc -o out/test/aarch64/z-rodynamic/a.o -c -xc - -325: + out/test/aarch64/z-max-page-size/exe2 -324: + cc -B. -o out/test/aarch64/z-dynamic-undefined-weak/exe1 out/test/aarch64/z-dynamic-undefined-weak/e.o out/test/aarch64/z-dynamic-undefined-weak/b.so -330: + cc -o out/test/aarch64/z-pack-relative-relocs/exe1 out/test/aarch64/z-pack-relative-relocs/a.o -pie -Wl,-z,pack-relative-relocs -325: + grep -q 'LOAD.*R 0x100000$' -325: + readelf -W --segments out/test/aarch64/z-max-page-size/exe2 -325: + cc -B. -o out/test/aarch64/z-max-page-size/exe3 out/test/aarch64/z-max-page-size/a.o -Wl,-zmax-page-size=1048576 +329: + readelf --dynamic out/test/aarch64/z-origin/exe +329: + grep -Eq 'Flags:.*ORIGIN' +329: + readelf --dynamic out/test/aarch64/z-origin/exe 333: +++ uname 333: ++ '[' Linux = FreeBSD ']' 333: ++ trap 'on_error $LINENO' ERR @@ -23092,51 +23148,15 @@ 333: ++ echo -n 'Testing z-separate-code ... ' 333: Testing z-separate-code ... ++ t=out/test/aarch64/z-separate-code 333: ++ mkdir -p out/test/aarch64/z-separate-code -333: ++ set -x -333: + is_musl -327: + readelf --dynamic out/test/aarch64/z-nodump/b.so -327: + grep -Eq 'Flags:.*NODUMP' -327: + cc -B. -shared -o out/test/aarch64/z-nodump/b.so out/test/aarch64/z-nodump/a.o -Wl,-z,nodump -333: + ldd --version -320: + cc -B. -o out/test/aarch64/wrap-lto/exe out/test/aarch64/wrap-lto/a.so out/test/aarch64/wrap-lto/b.o -flto -329: + grep -Eq '\(FLAGS\)\s+ORIGIN' -331: + cc -B. -o out/test/aarch64/z-rodynamic/exe1 out/test/aarch64/z-rodynamic/a.o -329: + readelf --dynamic out/test/aarch64/z-origin/exe -333: + grep -q musl -324: + out/test/aarch64/z-dynamic-undefined-weak/exe1 -333: + cc -o out/test/aarch64/z-separate-code/a.o -c -xc - -321: + out/test/aarch64/wrap/exe -333: + cat -321: + grep -q '^foo$' -328: + grep -q 'Hello world' +325: + grep -q 'Hello world' +325: + out/test/aarch64/z-max-page-size/exe2 328: + out/test/aarch64/z-now/exe -330: + grep -Fq .relr.dyn -321: + on_exit -321: + echo OK -321: OK -321: + exit 0 -324: + grep -q 1 -322/336 Test #321: aarch64-wrap ............................................. Passed 0.32 sec -test 334 - Start 334: aarch64-z-stack-size - -334: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.34.1+dfsg/test/z-stack-size.sh" -334: Working Directory: /build/reproducible-path/mold-2.34.1+dfsg/obj-aarch64-linux-gnu -334: Environment variables: -334: MACHINE=aarch64 -334: CPU= -334: Test timeout computed to be: 1500 -324: + cc -B. -o out/test/aarch64/z-dynamic-undefined-weak/exe2 out/test/aarch64/z-dynamic-undefined-weak/e.o out/test/aarch64/z-dynamic-undefined-weak/c.so -332: + cc -B. -o out/test/aarch64/z-sectionheader/exe out/test/aarch64/z-sectionheader/a.o -Wl,-z,nosectionheader -330: + readelf -WS out/test/aarch64/z-pack-relative-relocs/exe1 -330: + grep -q Hello +328: + grep -q 'Hello world' 328: + on_exit 328: + echo OK 328: OK 328: + exit 0 -329: + readelf --dynamic out/test/aarch64/z-origin/exe -329: + grep -Eq 'Flags:.*ORIGIN' -323/336 Test #328: aarch64-z-now ............................................ Passed 0.15 sec +323/336 Test #328: aarch64-z-now ............................................ Passed 0.30 sec test 335 Start 335: aarch64-z-start-stop-visibility @@ -23146,12 +23166,14 @@ 335: MACHINE=aarch64 335: CPU= 335: Test timeout computed to be: 1500 -330: + out/test/aarch64/z-pack-relative-relocs/exe1 -330: + cc -B. -o out/test/aarch64/z-pack-relative-relocs/exe2 out/test/aarch64/z-pack-relative-relocs/a.o -pie -Wl,-z,pack-relative-relocs 329: + on_exit 329: + echo OK 329: OK 329: + exit 0 +333: ++ set -x +333: + is_musl +333: + ldd --version +333: + grep -q musl 334: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/z-stack-size.sh 334: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 334: ++ export LC_ALL=C @@ -23170,12 +23192,9 @@ 334: ++ case $MACHINE in 334: ++ tlsdesc_opt=-mtls-dialect=desc 334: +++ uname -334: ++ '[' Linux = FreeBSD ']' -334: ++ trap 'on_error $LINENO' ERR -334: ++ trap on_exit EXIT -334: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/z-stack-size.sh .sh -325: + grep -q 'Hello world' -324/336 Test #329: aarch64-z-origin ......................................... Passed 0.15 sec +325: + grep -q 'LOAD.*R 0x100000$' +325: + readelf -W --segments out/test/aarch64/z-max-page-size/exe2 +324/336 Test #329: aarch64-z-origin ......................................... Passed 0.30 sec test 336 Start 336: aarch64-z-unknown @@ -23185,21 +23204,14 @@ 336: MACHINE=aarch64 336: CPU= 336: Test timeout computed to be: 1500 -334: ++ testname=z-stack-size -334: ++ echo -n 'Testing z-stack-size ... ' -334: Testing z-stack-size ... ++ t=out/test/aarch64/z-stack-size -334: ++ mkdir -p out/test/aarch64/z-stack-size -334: ++ set -x -334: + cc -o out/test/aarch64/z-stack-size/a.o -c -xc - -334: + cat -325: + out/test/aarch64/z-max-page-size/exe3 -325: + grep -q 'LOAD.*R 0x100000$' -325: + readelf -W --segments out/test/aarch64/z-max-page-size/exe3 -325: + on_exit -325: + echo OK -325: OK -325: + exit 0 +334: ++ '[' Linux = FreeBSD ']' +334: ++ trap 'on_error $LINENO' ERR +334: ++ trap on_exit EXIT +325: + cc -B. -o out/test/aarch64/z-max-page-size/exe3 out/test/aarch64/z-max-page-size/a.o -Wl,-zmax-page-size=1048576 +331: + readelf -WS out/test/aarch64/z-rodynamic/exe1 +334: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/z-stack-size.sh .sh 335: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/z-start-stop-visibility.sh +336: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/z-unknown.sh 335: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 335: ++ export LC_ALL=C 335: ++ LC_ALL=C @@ -23216,24 +23228,6 @@ 335: ++ QEMU= 335: ++ case $MACHINE in 335: ++ tlsdesc_opt=-mtls-dialect=desc -335: +++ uname -335: ++ '[' Linux = FreeBSD ']' -335: ++ trap 'on_error $LINENO' ERR -335: ++ trap on_exit EXIT -327: + readelf --dynamic out/test/aarch64/z-nodump/b.so -327: + grep -Eq 'Flags:.*NODUMP' -327: + on_exit -327: + echo OK -327: OK -327: + exit 0 -323: + grep -q 'undefined symbol:.* foo$' out/test/aarch64/z-defs/log -323: + on_exit -323: + echo OK -323: OK -323: + exit 0 -331: + grep -q '\.dynamic.* WA ' -331: + readelf -WS out/test/aarch64/z-rodynamic/exe1 -336: ++ dirname /build/reproducible-path/mold-2.34.1+dfsg/test/z-unknown.sh 336: + . /build/reproducible-path/mold-2.34.1+dfsg/test/common.inc 336: ++ export LC_ALL=C 336: ++ LC_ALL=C @@ -23250,107 +23244,149 @@ 336: ++ QEMU= 336: ++ case $MACHINE in 336: ++ tlsdesc_opt=-mtls-dialect=desc +334: ++ testname=z-stack-size +334: ++ echo -n 'Testing z-stack-size ... ' +334: Testing z-stack-size ... ++ t=out/test/aarch64/z-stack-size +334: ++ mkdir -p out/test/aarch64/z-stack-size +327: + readelf --dynamic out/test/aarch64/z-nodump/b.so +331: + grep -q '\.dynamic.* WA ' +333: + cc -o out/test/aarch64/z-separate-code/a.o -c -xc - +331: + cc -B. -o out/test/aarch64/z-rodynamic/exe2 out/test/aarch64/z-rodynamic/a.o -Wl,-z,rodynamic +333: + cat 336: +++ uname +327: + grep -Eq 'Flags:.*NODUMP' +335: +++ uname +330: + grep -Fq .relr.dyn 336: ++ '[' Linux = FreeBSD ']' +327: + on_exit +327: + echo OK +327: OK +327: + exit 0 336: ++ trap 'on_error $LINENO' ERR 336: ++ trap on_exit EXIT +330: + readelf -WS out/test/aarch64/z-pack-relative-relocs/exe1 +335: ++ '[' Linux = FreeBSD ']' +325/336 Test #327: aarch64-z-nodump ......................................... Passed 0.36 sec +335: ++ trap 'on_error $LINENO' ERR +335: ++ trap on_exit EXIT +334: ++ set -x 336: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/z-unknown.sh .sh 336: ++ testname=z-unknown 336: ++ echo -n 'Testing z-unknown ... ' 336: Testing z-unknown ... ++ t=out/test/aarch64/z-unknown 336: ++ mkdir -p out/test/aarch64/z-unknown -336: ++ set -x -325/336 Test #325: aarch64-z-max-page-size .................................. Passed 0.25 sec -326/336 Test #327: aarch64-z-nodump ......................................... Passed 0.18 sec -327/336 Test #323: aarch64-z-defs ........................................... Passed 0.33 sec -336: + grep -q 'unknown command line option: -z no-such-opt' -336: + ./mold -z no-such-opt -331: + cc -B. -o out/test/aarch64/z-rodynamic/exe2 out/test/aarch64/z-rodynamic/a.o -Wl,-z,rodynamic 335: +++ basename /build/reproducible-path/mold-2.34.1+dfsg/test/z-start-stop-visibility.sh .sh -336: + grep -q 'unknown command line option: -zno-such-opt' -336: + ./mold -zno-such-opt -333: + cc -B. -o out/test/aarch64/z-separate-code/exe1 out/test/aarch64/z-separate-code/a.o -Wl,-z,separate-loadable-segments -332: + out/test/aarch64/z-sectionheader/exe 335: ++ testname=z-start-stop-visibility 335: ++ echo -n 'Testing z-start-stop-visibility ... ' 335: Testing z-start-stop-visibility ... ++ t=out/test/aarch64/z-start-stop-visibility 335: ++ mkdir -p out/test/aarch64/z-start-stop-visibility +330: + grep -q Hello +324: + grep -q 1 +334: + cc -o out/test/aarch64/z-stack-size/a.o -c -xc - +336: ++ set -x +336: + grep -q 'unknown command line option: -z no-such-opt' +334: + cat +330: + out/test/aarch64/z-pack-relative-relocs/exe1 +324: + out/test/aarch64/z-dynamic-undefined-weak/exe1 +324: + cc -B. -o out/test/aarch64/z-dynamic-undefined-weak/exe2 out/test/aarch64/z-dynamic-undefined-weak/e.o out/test/aarch64/z-dynamic-undefined-weak/c.so +336: + ./mold -z no-such-opt 335: ++ set -x +330: + cc -B. -o out/test/aarch64/z-pack-relative-relocs/exe2 out/test/aarch64/z-pack-relative-relocs/a.o -pie -Wl,-z,pack-relative-relocs +332: + cc -B. -o out/test/aarch64/z-sectionheader/exe out/test/aarch64/z-sectionheader/a.o -Wl,-z,nosectionheader +336: + ./mold -zno-such-opt +336: + grep -q 'unknown command line option: -zno-such-opt' +333: + cc -B. -o out/test/aarch64/z-separate-code/exe1 out/test/aarch64/z-separate-code/a.o -Wl,-z,separate-loadable-segments +323: + grep -q 'undefined symbol:.* foo$' out/test/aarch64/z-defs/log 336: + on_exit 336: + echo OK 336: OK 336: + exit 0 -334: + cc -B. -o out/test/aarch64/z-stack-size/exe out/test/aarch64/z-stack-size/a.o -Wl,-z,stack-size=0x900000 -328/336 Test #336: aarch64-z-unknown ........................................ Passed 0.03 sec -335: + cc -o out/test/aarch64/z-start-stop-visibility/a.o -c -xc - 335: + cat -324: + out/test/aarch64/z-dynamic-undefined-weak/exe2 +323: + on_exit +323: + echo OK +323: OK +323: + exit 0 +326/336 Test #336: aarch64-z-unknown ........................................ Passed 0.07 sec +335: + cc -o out/test/aarch64/z-start-stop-visibility/a.o -c -xc - +327/336 Test #323: aarch64-z-defs ........................................... Passed 0.69 sec +334: + cc -B. -o out/test/aarch64/z-stack-size/exe out/test/aarch64/z-stack-size/a.o -Wl,-z,stack-size=0x900000 +335: + cc -B. -o out/test/aarch64/z-start-stop-visibility/exe1 out/test/aarch64/z-start-stop-visibility/a.o +325: + grep -q 'Hello world' +325: + out/test/aarch64/z-max-page-size/exe3 324: + grep -q 1 +324: + out/test/aarch64/z-dynamic-undefined-weak/exe2 324: + cc -B. -o out/test/aarch64/z-dynamic-undefined-weak/exe3 out/test/aarch64/z-dynamic-undefined-weak/e.o out/test/aarch64/z-dynamic-undefined-weak/d.so +325: + grep -q 'LOAD.*R 0x100000$' +325: + readelf -W --segments out/test/aarch64/z-max-page-size/exe3 +330: + out/test/aarch64/z-pack-relative-relocs/exe2 332: + grep -q 'Hello world' -332: + readelf -h out/test/aarch64/z-sectionheader/exe -332: + grep -Eq 'Size of section headers:\s+0 ' -332: + on_exit -332: + echo OK -332: OK -332: + exit 0 -329/336 Test #332: aarch64-z-sectionheader .................................. Passed 0.12 sec 330: + grep -q Hello -330: + out/test/aarch64/z-pack-relative-relocs/exe2 +332: + out/test/aarch64/z-sectionheader/exe +325: + on_exit +325: + echo OK +325: OK +325: + exit 0 +328/336 Test #325: aarch64-z-max-page-size .................................. Passed 0.60 sec 331: + grep -q '\.dynamic.* A ' 331: + readelf -WS out/test/aarch64/z-rodynamic/exe2 +330: + readelf --dynamic out/test/aarch64/z-pack-relative-relocs/exe2 331: + on_exit 331: + echo OK 331: OK 331: + exit 0 -330/336 Test #331: aarch64-z-rodynamic ...................................... Passed 0.15 sec -330: + readelf --dynamic out/test/aarch64/z-pack-relative-relocs/exe2 -335: + cc -B. -o out/test/aarch64/z-start-stop-visibility/exe1 out/test/aarch64/z-start-stop-visibility/a.o -324: + grep -q 0 -324: + out/test/aarch64/z-dynamic-undefined-weak/exe3 -334: + readelf -W --segments out/test/aarch64/z-stack-size/exe +329/336 Test #331: aarch64-z-rodynamic ...................................... Passed 0.38 sec +332: + grep -Eq 'Size of section headers:\s+0 ' +332: + readelf -h out/test/aarch64/z-sectionheader/exe 330: + grep -wq RELR out/test/aarch64/z-pack-relative-relocs/log2 -324: + on_exit -324: + echo OK -324: OK -324: + exit 0 -333: + grep -q 'Hello world' -331/336 Test #324: aarch64-z-dynamic-undefined-weak ......................... Passed 0.35 sec 330: + grep -wq RELRSZ out/test/aarch64/z-pack-relative-relocs/log2 +332: + on_exit +332: + echo OK +332: OK +332: + exit 0 +330: + grep -wq RELRENT out/test/aarch64/z-pack-relative-relocs/log2 +330/336 Test #332: aarch64-z-sectionheader .................................. Passed 0.29 sec +330: + on_exit +330: + echo OK +330: OK +330: + exit 0 +331/336 Test #330: aarch64-z-pack-relative-relocs ........................... Passed 0.44 sec 333: + out/test/aarch64/z-separate-code/exe1 +333: + grep -q 'Hello world' +334: + readelf -W --segments out/test/aarch64/z-stack-size/exe 334: + grep -q 'GNU_STACK .* 0x900000 RW' -330: + grep -wq RELRENT out/test/aarch64/z-pack-relative-relocs/log2 -333: + cc -B. -o out/test/aarch64/z-separate-code/exe2 out/test/aarch64/z-separate-code/a.o -Wl,-z,separate-code -Wl,-z,norelro 334: + on_exit 334: + echo OK 334: OK 334: + exit 0 -332/336 Test #334: aarch64-z-stack-size ..................................... Passed 0.08 sec -330: + on_exit -330: + echo OK -330: OK -330: + exit 0 -333/336 Test #330: aarch64-z-pack-relative-relocs ........................... Passed 0.20 sec +332/336 Test #334: aarch64-z-stack-size ..................................... Passed 0.28 sec +333: + cc -B. -o out/test/aarch64/z-separate-code/exe2 out/test/aarch64/z-separate-code/a.o -Wl,-z,separate-code -Wl,-z,norelro 335: + readelf -W --dyn-syms out/test/aarch64/z-start-stop-visibility/exe1 +324: + grep -q 0 335: + grep -q __start_hello out/test/aarch64/z-start-stop-visibility/log1 -333: + out/test/aarch64/z-separate-code/exe2 -333: + grep -q 'Hello world' +324: + out/test/aarch64/z-dynamic-undefined-weak/exe3 +324: + on_exit +324: + echo OK +324: OK +324: + exit 0 +333/336 Test #324: aarch64-z-dynamic-undefined-weak ......................... Passed 0.84 sec 335: + grep -q __stop_hello out/test/aarch64/z-start-stop-visibility/log1 +333: + grep -q 'Hello world' +333: + out/test/aarch64/z-separate-code/exe2 333: + cc -B. -o out/test/aarch64/z-separate-code/exe3 out/test/aarch64/z-separate-code/a.o -Wl,-z,noseparate-code -Wl,-z,norelro -335: + cc -B. -o out/test/aarch64/z-start-stop-visibility/exe2 out/test/aarch64/z-start-stop-visibility/a.o -Wl,-z,start-stop-visibility=hidden 320: + out/test/aarch64/wrap-lto/exe 320: + grep -q '^foo$' 320: + cc -B. -o out/test/aarch64/wrap-lto/exe out/test/aarch64/wrap-lto/a.so out/test/aarch64/wrap-lto/b.o -Wl,-wrap,foo -flto +335: + cc -B. -o out/test/aarch64/z-start-stop-visibility/exe2 out/test/aarch64/z-start-stop-visibility/a.o -Wl,-z,start-stop-visibility=hidden 335: + readelf -W --dyn-syms out/test/aarch64/z-start-stop-visibility/exe2 -333: + out/test/aarch64/z-separate-code/exe3 333: + grep -q 'Hello world' -335: + grep -q __start_hello out/test/aarch64/z-start-stop-visibility/log2 +333: + out/test/aarch64/z-separate-code/exe3 333: + on_exit 333: + echo OK 333: OK 333: + exit 0 +334/336 Test #333: aarch64-z-separate-code .................................. Passed 0.47 sec +335: + grep -q __start_hello out/test/aarch64/z-start-stop-visibility/log2 335: + grep -q __stop_hello out/test/aarch64/z-start-stop-visibility/log2 -334/336 Test #333: aarch64-z-separate-code .................................. Passed 0.19 sec 335: + cc -B. -o out/test/aarch64/z-start-stop-visibility/exe3 out/test/aarch64/z-start-stop-visibility/a.o -Wl,-z,start-stop-visibility=protected 335: + readelf -W --dyn-syms out/test/aarch64/z-start-stop-visibility/exe3 335: + grep -q __start_hello out/test/aarch64/z-start-stop-visibility/log3 @@ -23359,9 +23395,9 @@ 335: + echo OK 335: OK 335: + exit 0 -335/336 Test #335: aarch64-z-start-stop-visibility .......................... Passed 0.17 sec -320: + out/test/aarch64/wrap-lto/exe +335/336 Test #335: aarch64-z-start-stop-visibility .......................... Passed 0.59 sec 320: + grep -q '^wrap_foo$' +320: + out/test/aarch64/wrap-lto/exe 320: + cc -B. -o out/test/aarch64/wrap-lto/exe out/test/aarch64/wrap-lto/a.so out/test/aarch64/wrap-lto/c.o -Wl,-wrap,foo -flto 320: + out/test/aarch64/wrap-lto/exe 320: + grep -q '^foo$' @@ -23369,11 +23405,11 @@ 320: + echo OK 320: OK 320: + exit 0 -336/336 Test #320: aarch64-wrap-lto ......................................... Passed 0.74 sec +336/336 Test #320: aarch64-wrap-lto ......................................... Passed 1.68 sec 100% tests passed, 0 tests failed out of 336 -Total Test time (real) = 7.49 sec +Total Test time (real) = 15.80 sec The following tests did not run: 3 - aarch64-abs-error (Skipped) @@ -23430,8 +23466,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'mold' in '../mold_2.34.1+dfsg-1_arm64.deb'. dpkg-deb: building package 'mold-dbgsym' in '../mold-dbgsym_2.34.1+dfsg-1_arm64.deb'. +dpkg-deb: building package 'mold' in '../mold_2.34.1+dfsg-1_arm64.deb'. dpkg-genbuildinfo --build=binary -O../mold_2.34.1+dfsg-1_arm64.buildinfo dpkg-genchanges --build=binary -O../mold_2.34.1+dfsg-1_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -23439,12 +23475,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/229097/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/229097/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/682609 and its subdirectories -I: Current time: Tue Dec 16 18:03:35 -12 2025 -I: pbuilder-time-stamp: 1765951415 +I: removing directory /srv/workspace/pbuilder/229097 and its subdirectories +I: Current time: Thu Nov 14 13:49:59 +14 2024 +I: pbuilder-time-stamp: 1731541799