Diff of the two buildlogs: -- --- b1/build.log 2025-08-05 15:28:26.648754279 +0000 +++ b2/build.log 2025-08-05 16:00:42.334984156 +0000 @@ -1,7 +1,6 @@ -W: cgroups are not available on the host, not using them. I: pbuilder: network access will be disabled during build -I: Current time: Mon Sep 7 09:25:26 -12 2026 -I: pbuilder-time-stamp: 1788816326 +I: Current time: Wed Aug 6 05:29:36 +14 2025 +I: pbuilder-time-stamp: 1754407776 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -25,51 +24,84 @@ dpkg-source: info: applying env-package-metadata.diff I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/755544/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1147558/tmp/hooks/D01_modify_environment starting +debug: Running on codethink04-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 Aug 5 15:29 /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/1147558/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1147558/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]="37" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.37(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=' ' - 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='755544' - PS1='# ' - PS2='> ' + INVOCATION_ID=37d4c63e01c946fbab2708ec6cbfac1e + 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=1147558 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.mDWwzt0c/pbuilderrc_woDU --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.mDWwzt0c/b1 --logfile b1/build.log mold_2.37.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/sbin/chroot' - 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.mDWwzt0c/pbuilderrc_ne4h --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.mDWwzt0c/b2 --logfile b2/build.log mold_2.37.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-37-cloud-arm64 #1 SMP Debian 6.1.140-1 (2025-05-22) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-37-cloud-arm64 #1 SMP Debian 6.1.140-1 (2025-05-22) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 12 2025 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/755544/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 12 19:25 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1147558/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -213,7 +245,7 @@ Get: 90 http://deb.debian.org/debian trixie/main arm64 pkgconf-bin arm64 1.8.1-4 [29.6 kB] Get: 91 http://deb.debian.org/debian trixie/main arm64 pkgconf arm64 1.8.1-4 [26.1 kB] Get: 92 http://deb.debian.org/debian trixie/main arm64 zlib1g-dev arm64 1:1.3.dfsg+really1.3.1-1+b1 [917 kB] -Fetched 46.8 MB in 0s (99.3 MB/s) +Fetched 46.8 MB in 1s (56.4 MB/s) Preconfiguring packages ... Selecting previously unselected package libtext-charwidth-perl:arm64. (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 ... 19965 files and directories currently installed.) @@ -525,8 +557,8 @@ Setting up tzdata (2025b-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Mon Sep 7 21:25:49 UTC 2026. -Universal Time is now: Mon Sep 7 21:25:49 UTC 2026. +Local time is now: Tue Aug 5 15:30:37 UTC 2025. +Universal Time is now: Tue Aug 5 15:30:37 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libpython3.13-minimal:arm64 (3.13.5-2) ... @@ -608,7 +640,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/mold-2.37.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.37.1+dfsg-1_source.changes +I: user script /srv/workspace/pbuilder/1147558/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/1147558/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/mold-2.37.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.37.1+dfsg-1_source.changes dpkg-buildpackage: info: source package mold dpkg-buildpackage: info: source version 2.37.1+dfsg-1 dpkg-buildpackage: info: source distribution unstable @@ -755,8 +791,8 @@ -- Looking for madvise - found -- Looking for uname -- Looking for uname - found --- Configuring done (7.5s) --- Generating done (0.2s) +-- Configuring done (18.8s) +-- Generating done (0.3s) CMake Warning: Manually-specified variables were not used by the project: @@ -779,72 +815,70 @@ make[3]: Entering directory '/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu' cd /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/mold-2.37.1+dfsg /build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/third-party/tbb/src/tbb /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/third-party/tbb/src/tbb/CMakeFiles/tbb.dir/DependInfo.cmake "--color=" make -f CMakeFiles/git_hash.dir/build.make CMakeFiles/git_hash.dir/depend -make -f third-party/blake3/c/CMakeFiles/blake3.dir/build.make third-party/blake3/c/CMakeFiles/blake3.dir/depend make[3]: Entering directory '/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu' cd /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/mold-2.37.1+dfsg /build/reproducible-path/mold-2.37.1+dfsg /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/CMakeFiles/git_hash.dir/DependInfo.cmake "--color=" -make -f third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/build.make third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/depend +make -f third-party/blake3/c/CMakeFiles/blake3.dir/build.make third-party/blake3/c/CMakeFiles/blake3.dir/depend make[3]: Entering directory '/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu' cd /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/mold-2.37.1+dfsg /build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/third-party/blake3/c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/third-party/blake3/c/CMakeFiles/blake3.dir/DependInfo.cmake "--color=" +make -f third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/build.make third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/depend make[3]: Entering directory '/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu' cd /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/mold-2.37.1+dfsg /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib /build/reproducible-path/mold-2.37.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 -f CMakeFiles/mold-wrapper.dir/build.make CMakeFiles/mold-wrapper.dir/depend make[3]: Entering directory '/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu' cd /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/mold-2.37.1+dfsg /build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/third-party/mimalloc /build/reproducible-path/mold-2.37.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.37.1+dfsg/obj-aarch64-linux-gnu' cd /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/mold-2.37.1+dfsg /build/reproducible-path/mold-2.37.1+dfsg /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/CMakeFiles/mold-wrapper.dir/DependInfo.cmake "--color=" make[3]: Leaving directory '/build/reproducible-path/mold-2.37.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.37.1+dfsg/obj-aarch64-linux-gnu' -make[3]: Leaving directory '/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu' -make[3]: Leaving directory '/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu' -make[3]: Entering directory '/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu' -make -f CMakeFiles/git_hash.dir/build.make CMakeFiles/git_hash.dir/build -make[3]: Entering directory '/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu' -/usr/bin/cmake -DSOURCE_DIR=/build/reproducible-path/mold-2.37.1+dfsg -DOUTPUT_FILE=/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/git-hash.cc -P /build/reproducible-path/mold-2.37.1+dfsg/lib/update-git-hash.cmake make -f third-party/blake3/c/CMakeFiles/blake3.dir/build.make third-party/blake3/c/CMakeFiles/blake3.dir/build make[3]: Entering directory '/build/reproducible-path/mold-2.37.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.37.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.37.1+dfsg/obj-aarch64-linux-gnu' +[ 0%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/address_waiter.cpp.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/address_waiter.cpp make[3]: Leaving directory '/build/reproducible-path/mold-2.37.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]: Leaving directory '/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu' make[3]: Entering directory '/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu' -[ 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.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/zstd/lib/common/debug.c -[ 1%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/fse_decompress.c.o -[ 1%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/address_waiter.cpp.o -[ 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.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/zstd/lib/common/entropy_common.c -[ 1%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/pool.c.o -[ 1%] Built target git_hash +[ 0%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/arena.cpp.o +[ 0%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc.c.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/arena.cpp +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/blake3/c && /usr/bin/cc -DBLAKE3_USE_NEON=1 -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/blake3/c/blake3_portable.c +[ 0%] Building C object third-party/blake3/c/CMakeFiles/blake3.dir/blake3.c.o +cd /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/third-party/blake3/c && /usr/bin/cc -DBLAKE3_USE_NEON=1 -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/blake3/c/blake3.c +[ 0%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/arena_slot.cpp.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/arena_slot.cpp +[ 0%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/concurrent_bounded_queue.cpp.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/concurrent_bounded_queue.cpp +make[3]: Leaving directory '/build/reproducible-path/mold-2.37.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.37.1+dfsg/obj-aarch64-linux-gnu' make -f CMakeFiles/mold-wrapper.dir/build.make CMakeFiles/mold-wrapper.dir/build make[3]: Entering directory '/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu' -[ 1%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/threading.c.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/address_waiter.cpp -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/zstd/lib/common/fse_decompress.c -[ 1%] 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.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/zstd/lib/common/pool.c -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/zstd/lib/common/error_private.c -[ 1%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc.c.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/zstd/lib/common/threading.c -[ 1%] Building C object third-party/blake3/c/CMakeFiles/blake3.dir/blake3.c.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/mimalloc/src/alloc.c +[ 1%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/allocator.cpp.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/allocator.cpp [ 1%] Building C object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_dispatch.c.o +make[3]: Leaving directory '/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu' +cd /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/third-party/blake3/c && /usr/bin/cc -DBLAKE3_USE_NEON=1 -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/blake3/c/blake3_dispatch.c +make -f CMakeFiles/git_hash.dir/build.make CMakeFiles/git_hash.dir/build +make[3]: Entering directory '/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu' [ 1%] Building C object CMakeFiles/mold-wrapper.dir/src/mold-wrapper.c.o -[ 1%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/xxhash.c.o -[ 2%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/allocator.cpp.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/zstd/lib/common/xxhash.c -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/third-party/blake3/c && /usr/bin/cc -DBLAKE3_USE_NEON=1 -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/blake3/c/blake3.c +make[3]: Entering directory '/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu' +/usr/bin/cmake -DSOURCE_DIR=/build/reproducible-path/mold-2.37.1+dfsg -DOUTPUT_FILE=/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/git-hash.cc -P /build/reproducible-path/mold-2.37.1+dfsg/lib/update-git-hash.cmake /usr/bin/cc -Dmold_wrapper_EXPORTS -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/src/mold-wrapper.c -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/third-party/blake3/c && /usr/bin/cc -DBLAKE3_USE_NEON=1 -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/blake3/c/blake3_dispatch.c -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/allocator.cpp -[ 2%] 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.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/zstd/lib/common/zstd_common.c /build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c/blake3_dispatch.c:115:5: warning: 'get_cpu_features' defined but not used [-Wunused-function] 115 | get_cpu_features(void) { | ^~~~~~~~~~~~~~~~ +make[3]: Leaving directory '/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu' +[ 1%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/debug.c.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/zstd/lib/common/debug.c +[ 1%] Built target git_hash +[ 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.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/zstd/lib/common/entropy_common.c +[ 1%] Building C object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_neon.c.o +cd /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/third-party/blake3/c && /usr/bin/cc -DBLAKE3_USE_NEON=1 -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/blake3/c/blake3_neon.c /build/reproducible-path/mold-2.37.1+dfsg/src/mold-wrapper.c: In function 'execvpe': /build/reproducible-path/mold-2.37.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"); @@ -861,51 +895,76 @@ /build/reproducible-path/mold-2.37.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"); | ^~~~~ -[ 2%] Building C object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_portable.c.o -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/third-party/blake3/c && /usr/bin/cc -DBLAKE3_USE_NEON=1 -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/blake3/c/blake3_portable.c -[ 2%] Linking C shared library mold-wrapper.so +[ 1%] 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.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/zstd/lib/common/error_private.c +[ 1%] 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.37.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--dependency-file=CMakeFiles/mold-wrapper.dir/link.d -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.37.1+dfsg/obj-aarch64-linux-gnu' +[ 1%] Built target mold-wrapper +[ 2%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/fse_decompress.c.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/zstd/lib/common/fse_decompress.c +[ 2%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/pool.c.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/zstd/lib/common/pool.c +[ 2%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/threading.c.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/zstd/lib/common/threading.c +[ 2%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/xxhash.c.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/zstd/lib/common/xxhash.c +[ 2%] 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.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/zstd/lib/common/zstd_common.c [ 2%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/fse_compress.c.o -[ 2%] Built target mold-wrapper cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/zstd/lib/compress/fse_compress.c [ 3%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/hist.c.o cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/zstd/lib/compress/hist.c -[ 3%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/arena.cpp.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/arena.cpp +[ 3%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/dynamic_link.cpp.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/dynamic_link.cpp [ 3%] 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.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/zstd/lib/compress/huf_compress.c -[ 3%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress.c.o +[ 3%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/exception.cpp.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/exception.cpp +[ 3%] Linking C static library libblake3.a +cd /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/third-party/blake3/c && /usr/bin/cmake -P CMakeFiles/blake3.dir/cmake_clean_target.cmake +[ 4%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/governor.cpp.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/governor.cpp +cd /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/third-party/blake3/c && /usr/bin/cmake -E cmake_link_script CMakeFiles/blake3.dir/link.txt --verbose=1 +[ 4%] 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.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/zstd/lib/compress/zstd_compress.c -[ 3%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_literals.c.o +[ 4%] 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.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/zstd/lib/compress/zstd_compress_literals.c -[ 3%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_sequences.c.o +/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.37.1+dfsg/obj-aarch64-linux-gnu' +[ 4%] Built target blake3 +[ 4%] 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.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/zstd/lib/compress/zstd_compress_sequences.c -[ 3%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_superblock.c.o +[ 4%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/global_control.cpp.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/global_control.cpp +[ 4%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc-aligned.c.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/mimalloc/src/alloc-aligned.c +[ 4%] 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.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/zstd/lib/compress/zstd_compress_superblock.c -[ 3%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_double_fast.c.o +[ 4%] 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.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/zstd/lib/compress/zstd_double_fast.c -[ 3%] Building C object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_neon.c.o -[ 4%] 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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/blake3/c && /usr/bin/cc -DBLAKE3_USE_NEON=1 -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/blake3/c/blake3_neon.c +[ 4%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/itt_notify.cpp.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/itt_notify.cpp +[ 4%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/main.cpp.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/main.cpp +[ 5%] 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.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/zstd/lib/compress/zstd_fast.c -[ 4%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_lazy.c.o +[ 5%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/market.cpp.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/market.cpp +[ 5%] 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.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/zstd/lib/compress/zstd_lazy.c -[ 4%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_ldm.c.o +[ 5%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_ldm.c.o cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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_ldm.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_ldm.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_ldm.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/compress/zstd_ldm.c -[ 4%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_opt.c.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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_opt.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_opt.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_opt.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/compress/zstd_opt.c -[ 4%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstdmt_compress.c.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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/zstdmt_compress.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstdmt_compress.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstdmt_compress.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/compress/zstdmt_compress.c -[ 4%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/arena_slot.cpp.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/arena_slot.cpp -[ 4%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc-aligned.c.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/mimalloc/src/alloc-aligned.c -[ 4%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/huf_decompress.c.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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/decompress/huf_decompress.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/huf_decompress.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/huf_decompress.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/decompress/huf_decompress.c -[ 4%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc-posix.c.o +[ 5%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc-posix.c.o cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/mimalloc/src/alloc-posix.c +[ 5%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/tcm_adaptor.cpp.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/tcm_adaptor.cpp +[ 5%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/arena.c.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/mimalloc/src/arena.c +[ 5%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_opt.c.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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_opt.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_opt.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_opt.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/compress/zstd_opt.c In file included from /usr/include/c++/14/atomic:50, from /build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include/oneapi/tbb/detail/_utils.h:22, from /build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/task_dispatcher.h:20, @@ -918,22 +977,25 @@ | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 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 -[ 4%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/arena.c.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/mimalloc/src/arena.c -[ 4%] Linking C static library libblake3.a -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/third-party/blake3/c && /usr/bin/cmake -P CMakeFiles/blake3.dir/cmake_clean_target.cmake -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/obj-aarch64-linux-gnu' -[ 4%] Built target blake3 -[ 4%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/bitmap.c.o +[ 5%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstdmt_compress.c.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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/zstdmt_compress.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstdmt_compress.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstdmt_compress.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/compress/zstdmt_compress.c +[ 5%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/misc.cpp.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/misc.cpp +[ 7%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/misc_ex.cpp.o +[ 7%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/observer_proxy.cpp.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/observer_proxy.cpp +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/misc_ex.cpp +[ 7%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/parallel_pipeline.cpp.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/parallel_pipeline.cpp +[ 7%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/private_server.cpp.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/private_server.cpp +[ 7%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/bitmap.c.o cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/mimalloc/src/bitmap.c -[ 5%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_ddict.c.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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/decompress/zstd_ddict.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_ddict.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_ddict.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/decompress/zstd_ddict.c -[ 5%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/concurrent_bounded_queue.cpp.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/concurrent_bounded_queue.cpp -[ 7%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/heap.c.o +[ 7%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/profiling.cpp.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/profiling.cpp +[ 7%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/rml_tbb.cpp.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/rml_tbb.cpp +[ 8%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/heap.c.o cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/mimalloc/src/heap.c /build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/src/heap.c: In function 'mi_heap_visit_areas_page': /build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/src/heap.c:694:33: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] @@ -943,17 +1005,17 @@ /build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/src/heap.c:704:75: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 704 | return mi_heap_visit_pages((mi_heap_t*)heap, &mi_heap_visit_areas_page, (void*)(visitor), arg); // note: function pointer to void* :-{ | ^ -[ 7%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/init.c.o +[ 8%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/init.c.o cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/mimalloc/src/init.c -[ 7%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/dynamic_link.cpp.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/dynamic_link.cpp -[ 7%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress.c.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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/decompress/zstd_decompress.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/decompress/zstd_decompress.c -[ 7%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/libc.c.o +[ 9%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/rtm_mutex.cpp.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/rtm_mutex.cpp +[ 9%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/libc.c.o cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/mimalloc/src/libc.c -[ 7%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress_block.c.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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/decompress/zstd_decompress_block.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress_block.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress_block.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/decompress/zstd_decompress_block.c -[ 7%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/options.c.o +[ 9%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/rtm_rw_mutex.cpp.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/rtm_rw_mutex.cpp +[ 9%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/semaphore.cpp.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/semaphore.cpp +[ 9%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/options.c.o cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/mimalloc/src/options.c /build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/src/options.c: In function '_mi_fputs': /build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/src/options.c:403:20: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] @@ -962,14 +1024,32 @@ /build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/src/options.c:403:49: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 403 | 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 +[ 9%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/huf_decompress.c.o +[ 9%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/small_object_pool.cpp.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/small_object_pool.cpp +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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/decompress/huf_decompress.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/huf_decompress.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/huf_decompress.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/decompress/huf_decompress.c +[ 10%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_ddict.c.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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/decompress/zstd_ddict.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_ddict.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_ddict.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/decompress/zstd_ddict.c +[ 10%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/os.c.o cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/mimalloc/src/os.c -[ 7%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/exception.cpp.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/exception.cpp -[ 7%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/page.c.o +[ 10%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/task.cpp.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/task.cpp +[ 10%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/page.c.o cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/mimalloc/src/page.c -[ 8%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/governor.cpp.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/governor.cpp +[ 10%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/task_dispatcher.cpp.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/task_dispatcher.cpp +[ 10%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/task_group_context.cpp.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/task_group_context.cpp +[ 10%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress.c.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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/decompress/zstd_decompress.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/decompress/zstd_decompress.c +[ 10%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress_block.c.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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/decompress/zstd_decompress_block.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress_block.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress_block.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/decompress/zstd_decompress_block.c +[ 10%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/random.c.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/mimalloc/src/random.c +[ 11%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/segment.c.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/mimalloc/src/segment.c +[ 11%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/cover.c.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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/cover.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/cover.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/cover.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/dictBuilder/cover.c In file included from /build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include/mimalloc/atomic.h:52, from /build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include/mimalloc/types.h:27, from /build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include/mimalloc/internal.h:17, @@ -988,53 +1068,51 @@ | ^~~~~~~~~~~~~~~~~~~~~~ In function '_mi_page_free': cc1: note: destination object is likely at address zero -[ 8%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/random.c.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.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.37.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.37.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/mimalloc/src/segment.c -[ 9%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/segment-map.c.o +[ 11%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/segment-map.c.o cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/mimalloc/src/segment-map.c -[ 9%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/cover.c.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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/cover.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/cover.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/cover.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/dictBuilder/cover.c -[ 9%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/stats.c.o +[ 11%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/divsufsort.c.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/zstd/lib/dictBuilder/divsufsort.c +[ 11%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/stats.c.o cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/mimalloc/src/stats.c -[ 9%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/global_control.cpp.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/global_control.cpp /build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/src/stats.c: In function 'mi_stats_print': +[ 11%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/fastcover.c.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/zstd/lib/dictBuilder/fastcover.c /build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/src/stats.c:439:22: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 439 | mi_stats_print_out((mi_output_fun*)out, NULL); | ^ -[ 9%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/divsufsort.c.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/zstd/lib/dictBuilder/divsufsort.c -[ 9%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/fastcover.c.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/zstd/lib/dictBuilder/fastcover.c -[ 9%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/prim/prim.c.o +[ 12%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/thread_dispatcher.cpp.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/thread_dispatcher.cpp +[ 12%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/prim/prim.c.o cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/mimalloc/src/prim/prim.c -[ 9%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/zdict.c.o +[ 12%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/zdict.c.o cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/zstd/lib/dictBuilder/zdict.c -[ 10%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v01.c.o +[ 14%] 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.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/zstd/lib/legacy/zstd_v01.c -[ 10%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v02.c.o +[ 14%] 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.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/zstd/lib/legacy/zstd_v02.c -[ 10%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/itt_notify.cpp.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/itt_notify.cpp -[ 10%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/main.cpp.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/main.cpp -[ 10%] Linking C static library libmimalloc.a +[ 14%] Linking C static library libmimalloc.a cd /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/third-party/mimalloc && /usr/bin/cmake -P CMakeFiles/mimalloc-static.dir/cmake_clean_target.cmake +[ 14%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/thread_request_serializer.cpp.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/thread_request_serializer.cpp cd /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/third-party/mimalloc && /usr/bin/cmake -E cmake_link_script CMakeFiles/mimalloc-static.dir/link.txt --verbose=1 +[ 14%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/threading_control.cpp.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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/threading_control.cpp.o -MF CMakeFiles/tbb.dir/threading_control.cpp.o.d -o CMakeFiles/tbb.dir/threading_control.cpp.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/threading_control.cpp /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.37.1+dfsg/obj-aarch64-linux-gnu' -[ 10%] Built target mimalloc-static -[ 10%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/market.cpp.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/market.cpp -[ 10%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v03.c.o +[ 14%] Built target mimalloc-static +[ 14%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/version.cpp.o +cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.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.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.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/legacy/zstd_v03.c.o cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/zstd/lib/legacy/zstd_v03.c -[ 10%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v04.c.o +[ 14%] 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.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/zstd/lib/legacy/zstd_v04.c -[ 10%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/tcm_adaptor.cpp.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/tcm_adaptor.cpp +[ 14%] 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.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/zstd/lib/legacy/zstd_v05.c +[ 14%] 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.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/zstd/lib/legacy/zstd_v06.c In function 'ZSTDv01_decodeLiteralsBlock', inlined from 'ZSTD_decompressBlock' at /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/legacy/zstd_v01.c:1899:17: /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/legacy/zstd_v01.c:1505:20: warning: 'litbp.origSize' may be used uninitialized [-Wmaybe-uninitialized] @@ -1087,50 +1165,8 @@ /build/reproducible-path/mold-2.37.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; | ^~~~~~~~~~~~~~~ -[ 10%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/misc.cpp.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/misc.cpp -[ 10%] 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.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/zstd/lib/legacy/zstd_v05.c -[ 11%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/misc_ex.cpp.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/misc_ex.cpp -[ 11%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/observer_proxy.cpp.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/observer_proxy.cpp -[ 11%] 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.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/zstd/lib/legacy/zstd_v06.c -[ 12%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v07.c.o +[ 15%] 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.37.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.37.1+dfsg/obj-aarch64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/zstd/lib/legacy/zstd_v07.c -[ 12%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/parallel_pipeline.cpp.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/parallel_pipeline.cpp -[ 12%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/private_server.cpp.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/private_server.cpp -[ 12%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/profiling.cpp.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/profiling.cpp -[ 12%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/rml_tbb.cpp.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/rml_tbb.cpp -[ 14%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/rtm_mutex.cpp.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/rtm_mutex.cpp -[ 14%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/rtm_rw_mutex.cpp.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/rtm_rw_mutex.cpp -[ 14%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/semaphore.cpp.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/semaphore.cpp -[ 14%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/small_object_pool.cpp.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/small_object_pool.cpp -[ 14%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/task.cpp.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/task.cpp -[ 14%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/task_dispatcher.cpp.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/task_dispatcher.cpp -[ 14%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/task_group_context.cpp.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/task_group_context.cpp -[ 15%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/thread_dispatcher.cpp.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/thread_dispatcher.cpp -[ 15%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/thread_request_serializer.cpp.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/thread_request_serializer.cpp -[ 15%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/threading_control.cpp.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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/threading_control.cpp.o -MF CMakeFiles/tbb.dir/threading_control.cpp.o.d -o CMakeFiles/tbb.dir/threading_control.cpp.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/threading_control.cpp -[ 15%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/version.cpp.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/version.cpp -[ 15%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/queuing_rw_mutex.cpp.o -cd /build/reproducible-path/mold-2.37.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.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -D__TBB_GNU_ASM_VERSION=2044 -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.37.1+dfsg/third-party/tbb/src/tbb/queuing_rw_mutex.cpp [ 15%] Linking CXX static library ../../../../gnu_14.2_cxx11_64_none/libtbb.a cd /build/reproducible-path/mold-2.37.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.37.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 @@ -1153,147 +1189,147 @@ make[3]: Entering directory '/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu' [ 15%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.cc.X86_64.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-arm64.cc.X86_64.cc.o -MF CMakeFiles/mold.dir/src/arch-arm64.cc.X86_64.cc.o.d -o CMakeFiles/mold.dir/src/arch-arm64.cc.X86_64.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-arm64.cc.X86_64.cc -[ 15%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.cc.ARM64LE.cc.o [ 16%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.cc.I386.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-arm64.cc.I386.cc.o -MF CMakeFiles/mold.dir/src/arch-arm64.cc.I386.cc.o.d -o CMakeFiles/mold.dir/src/arch-arm64.cc.I386.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-arm64.cc.I386.cc -/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-arm64.cc.ARM64LE.cc.o -MF CMakeFiles/mold.dir/src/arch-arm64.cc.ARM64LE.cc.o.d -o CMakeFiles/mold.dir/src/arch-arm64.cc.ARM64LE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-arm64.cc.ARM64LE.cc +[ 16%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.cc.ARM64LE.cc.o [ 16%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.cc.ARM64BE.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-arm64.cc.ARM64BE.cc.o -MF CMakeFiles/mold.dir/src/arch-arm64.cc.ARM64BE.cc.o.d -o CMakeFiles/mold.dir/src/arch-arm64.cc.ARM64BE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-arm64.cc.ARM64BE.cc +/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-arm64.cc.ARM64LE.cc.o -MF CMakeFiles/mold.dir/src/arch-arm64.cc.ARM64LE.cc.o.d -o CMakeFiles/mold.dir/src/arch-arm64.cc.ARM64LE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-arm64.cc.ARM64LE.cc [ 16%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.cc.ARM32.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-arm64.cc.ARM64BE.cc.o -MF CMakeFiles/mold.dir/src/arch-arm64.cc.ARM64BE.cc.o.d -o CMakeFiles/mold.dir/src/arch-arm64.cc.ARM64BE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-arm64.cc.ARM64BE.cc [ 16%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.cc.RV32LE.cc.o -[ 16%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.cc.RV32BE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-arm64.cc.ARM32.cc.o -MF CMakeFiles/mold.dir/src/arch-arm64.cc.ARM32.cc.o.d -o CMakeFiles/mold.dir/src/arch-arm64.cc.ARM32.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-arm64.cc.ARM32.cc /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-arm64.cc.RV32LE.cc.o -MF CMakeFiles/mold.dir/src/arch-arm64.cc.RV32LE.cc.o.d -o CMakeFiles/mold.dir/src/arch-arm64.cc.RV32LE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-arm64.cc.RV32LE.cc -/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-arm64.cc.RV32BE.cc.o -MF CMakeFiles/mold.dir/src/arch-arm64.cc.RV32BE.cc.o.d -o CMakeFiles/mold.dir/src/arch-arm64.cc.RV32BE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-arm64.cc.RV32BE.cc [ 16%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.cc.RV64LE.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-arm64.cc.RV64LE.cc.o -MF CMakeFiles/mold.dir/src/arch-arm64.cc.RV64LE.cc.o.d -o CMakeFiles/mold.dir/src/arch-arm64.cc.RV64LE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-arm64.cc.RV64LE.cc +[ 16%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.cc.RV32BE.cc.o [ 17%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.cc.RV64BE.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-arm64.cc.RV64LE.cc.o -MF CMakeFiles/mold.dir/src/arch-arm64.cc.RV64LE.cc.o.d -o CMakeFiles/mold.dir/src/arch-arm64.cc.RV64LE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-arm64.cc.RV64LE.cc +/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-arm64.cc.RV32BE.cc.o -MF CMakeFiles/mold.dir/src/arch-arm64.cc.RV32BE.cc.o.d -o CMakeFiles/mold.dir/src/arch-arm64.cc.RV32BE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-arm64.cc.RV32BE.cc /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-arm64.cc.RV64BE.cc.o -MF CMakeFiles/mold.dir/src/arch-arm64.cc.RV64BE.cc.o.d -o CMakeFiles/mold.dir/src/arch-arm64.cc.RV64BE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-arm64.cc.RV64BE.cc [ 17%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.cc.PPC32.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-arm64.cc.PPC32.cc.o -MF CMakeFiles/mold.dir/src/arch-arm64.cc.PPC32.cc.o.d -o CMakeFiles/mold.dir/src/arch-arm64.cc.PPC32.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-arm64.cc.PPC32.cc -[ 17%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.cc.PPC64V2.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-arm64.cc.PPC64V2.cc.o -MF CMakeFiles/mold.dir/src/arch-arm64.cc.PPC64V2.cc.o.d -o CMakeFiles/mold.dir/src/arch-arm64.cc.PPC64V2.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-arm64.cc.PPC64V2.cc [ 17%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.cc.PPC64V1.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-arm64.cc.PPC64V1.cc.o -MF CMakeFiles/mold.dir/src/arch-arm64.cc.PPC64V1.cc.o.d -o CMakeFiles/mold.dir/src/arch-arm64.cc.PPC64V1.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-arm64.cc.PPC64V1.cc +[ 17%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.cc.PPC64V2.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-arm64.cc.PPC64V2.cc.o -MF CMakeFiles/mold.dir/src/arch-arm64.cc.PPC64V2.cc.o.d -o CMakeFiles/mold.dir/src/arch-arm64.cc.PPC64V2.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-arm64.cc.PPC64V2.cc [ 17%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.cc.S390X.cc.o -[ 17%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.cc.SPARC64.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-arm64.cc.S390X.cc.o -MF CMakeFiles/mold.dir/src/arch-arm64.cc.S390X.cc.o.d -o CMakeFiles/mold.dir/src/arch-arm64.cc.S390X.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-arm64.cc.S390X.cc +[ 17%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.cc.SPARC64.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-arm64.cc.SPARC64.cc.o -MF CMakeFiles/mold.dir/src/arch-arm64.cc.SPARC64.cc.o.d -o CMakeFiles/mold.dir/src/arch-arm64.cc.SPARC64.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-arm64.cc.SPARC64.cc [ 18%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.cc.M68K.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-arm64.cc.M68K.cc.o -MF CMakeFiles/mold.dir/src/arch-arm64.cc.M68K.cc.o.d -o CMakeFiles/mold.dir/src/arch-arm64.cc.M68K.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-arm64.cc.M68K.cc [ 18%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.cc.SH4LE.cc.o -[ 18%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.cc.SH4BE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-arm64.cc.SH4LE.cc.o -MF CMakeFiles/mold.dir/src/arch-arm64.cc.SH4LE.cc.o.d -o CMakeFiles/mold.dir/src/arch-arm64.cc.SH4LE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-arm64.cc.SH4LE.cc +[ 18%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.cc.SH4BE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-arm64.cc.SH4BE.cc.o -MF CMakeFiles/mold.dir/src/arch-arm64.cc.SH4BE.cc.o.d -o CMakeFiles/mold.dir/src/arch-arm64.cc.SH4BE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-arm64.cc.SH4BE.cc -[ 18%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.I386.cc.o -[ 18%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.X86_64.cc.o +[ 18%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.cc.LOONGARCH32.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-arm64.cc.LOONGARCH32.cc.o -MF CMakeFiles/mold.dir/src/arch-arm64.cc.LOONGARCH32.cc.o.d -o CMakeFiles/mold.dir/src/arch-arm64.cc.LOONGARCH32.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-arm64.cc.LOONGARCH32.cc [ 18%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.cc.LOONGARCH64.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-arm64.cc.LOONGARCH64.cc.o -MF CMakeFiles/mold.dir/src/arch-arm64.cc.LOONGARCH64.cc.o.d -o CMakeFiles/mold.dir/src/arch-arm64.cc.LOONGARCH64.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-arm64.cc.LOONGARCH64.cc +[ 18%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.X86_64.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.X86_64.cc +[ 18%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.I386.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.I386.cc [ 20%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.ARM64LE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.ARM64LE.cc.o -MF CMakeFiles/mold.dir/src/arch-loongarch.cc.ARM64LE.cc.o.d -o CMakeFiles/mold.dir/src/arch-loongarch.cc.ARM64LE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.ARM64LE.cc -[ 20%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.ARM64BE.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.ARM64BE.cc.o -MF CMakeFiles/mold.dir/src/arch-loongarch.cc.ARM64BE.cc.o.d -o CMakeFiles/mold.dir/src/arch-loongarch.cc.ARM64BE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.ARM64BE.cc -[ 20%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.cc.LOONGARCH32.cc.o [ 20%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.ARM32.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-arm64.cc.LOONGARCH32.cc.o -MF CMakeFiles/mold.dir/src/arch-arm64.cc.LOONGARCH32.cc.o.d -o CMakeFiles/mold.dir/src/arch-arm64.cc.LOONGARCH32.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-arm64.cc.LOONGARCH32.cc -[ 20%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.RV32LE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.ARM32.cc -[ 20%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.RV32BE.cc.o +[ 20%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.ARM64BE.cc.o +[ 20%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.RV32LE.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.ARM64BE.cc.o -MF CMakeFiles/mold.dir/src/arch-loongarch.cc.ARM64BE.cc.o.d -o CMakeFiles/mold.dir/src/arch-loongarch.cc.ARM64BE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.ARM64BE.cc /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.RV32LE.cc -/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.RV32BE.cc -[ 20%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.PPC64V1.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.PPC64V1.cc +[ 20%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.RV32BE.cc.o [ 20%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.RV64LE.cc.o -[ 20%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.PPC32.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.RV64LE.cc -/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.PPC32.cc -[ 20%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.PPC64V2.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.PPC64V2.cc +/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.RV32BE.cc [ 21%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.RV64BE.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.RV64LE.cc /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.RV64BE.cc +[ 21%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.PPC64V1.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.PPC64V1.cc +[ 21%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.PPC32.cc.o +[ 21%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.SPARC64.cc.o +[ 21%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.PPC64V2.cc.o [ 21%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.S390X.cc.o -[ 21%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.M68K.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.PPC32.cc +/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.PPC64V2.cc /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.S390X.cc -[ 21%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.SPARC64.cc.o -[ 22%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.SH4LE.cc.o -[ 22%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.SH4BE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.SPARC64.cc +[ 21%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.M68K.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.M68K.cc +[ 22%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.SH4LE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.SH4LE.cc.o -MF CMakeFiles/mold.dir/src/arch-loongarch.cc.SH4LE.cc.o.d -o CMakeFiles/mold.dir/src/arch-loongarch.cc.SH4LE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.SH4LE.cc +[ 22%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.SH4BE.cc.o +[ 22%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.LOONGARCH32.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.SH4BE.cc.o -MF CMakeFiles/mold.dir/src/arch-loongarch.cc.SH4BE.cc.o.d -o CMakeFiles/mold.dir/src/arch-loongarch.cc.SH4BE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.SH4BE.cc +/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.LOONGARCH32.cc [ 22%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.LOONGARCH64.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.LOONGARCH64.cc [ 22%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.X86_64.cc.o -[ 22%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.LOONGARCH32.cc.o -[ 22%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.I386.cc.o -[ 23%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.ARM64LE.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-loongarch.cc.LOONGARCH32.cc /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.X86_64.cc +[ 22%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.I386.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.I386.cc +[ 22%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.ARM64BE.cc.o +[ 23%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.ARM64LE.cc.o +[ 23%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.ARM32.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.ARM64LE.cc.o -MF CMakeFiles/mold.dir/src/arch-riscv.cc.ARM64LE.cc.o.d -o CMakeFiles/mold.dir/src/arch-riscv.cc.ARM64LE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.ARM64LE.cc -[ 23%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.ARM64BE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.ARM64BE.cc.o -MF CMakeFiles/mold.dir/src/arch-riscv.cc.ARM64BE.cc.o.d -o CMakeFiles/mold.dir/src/arch-riscv.cc.ARM64BE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.ARM64BE.cc -[ 23%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.ARM32.cc.o -[ 23%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.RV32LE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.ARM32.cc -[ 23%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.RV32BE.cc.o +[ 23%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.RV32LE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.RV32LE.cc -/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.RV32BE.cc [ 23%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.RV64LE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.RV64LE.cc +[ 23%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.RV32BE.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.RV32BE.cc [ 24%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.RV64BE.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.RV64BE.cc [ 24%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.PPC64V1.cc.o -[ 24%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.S390X.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.S390X.cc -/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.PPC64V1.cc -[ 24%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.PPC64V2.cc.o [ 24%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.PPC32.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.RV64BE.cc /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.PPC32.cc +/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.PPC64V1.cc +[ 24%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.PPC64V2.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.PPC64V2.cc -[ 24%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.SPARC64.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.SPARC64.cc +[ 24%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.S390X.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.S390X.cc [ 24%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.M68K.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.M68K.cc -[ 25%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.SH4BE.cc.o +[ 24%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.SPARC64.cc.o [ 25%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.SH4LE.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.SPARC64.cc /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.SH4LE.cc.o -MF CMakeFiles/mold.dir/src/arch-riscv.cc.SH4LE.cc.o.d -o CMakeFiles/mold.dir/src/arch-riscv.cc.SH4LE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.SH4LE.cc +[ 25%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.SH4BE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.SH4BE.cc.o -MF CMakeFiles/mold.dir/src/arch-riscv.cc.SH4BE.cc.o.d -o CMakeFiles/mold.dir/src/arch-riscv.cc.SH4BE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.SH4BE.cc [ 25%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.LOONGARCH32.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.LOONGARCH32.cc -[ 25%] Building CXX object CMakeFiles/mold.dir/src/arch-sh4.cc.I386.cc.o -[ 25%] Building CXX object CMakeFiles/mold.dir/src/arch-sh4.cc.X86_64.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-sh4.cc.I386.cc.o -MF CMakeFiles/mold.dir/src/arch-sh4.cc.I386.cc.o.d -o CMakeFiles/mold.dir/src/arch-sh4.cc.I386.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-sh4.cc.I386.cc [ 25%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.LOONGARCH64.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-riscv.cc.LOONGARCH64.cc +[ 25%] Building CXX object CMakeFiles/mold.dir/src/arch-sh4.cc.X86_64.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-sh4.cc.X86_64.cc.o -MF CMakeFiles/mold.dir/src/arch-sh4.cc.X86_64.cc.o.d -o CMakeFiles/mold.dir/src/arch-sh4.cc.X86_64.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-sh4.cc.X86_64.cc +[ 25%] Building CXX object CMakeFiles/mold.dir/src/arch-sh4.cc.I386.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-sh4.cc.I386.cc.o -MF CMakeFiles/mold.dir/src/arch-sh4.cc.I386.cc.o.d -o CMakeFiles/mold.dir/src/arch-sh4.cc.I386.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-sh4.cc.I386.cc [ 27%] Building CXX object CMakeFiles/mold.dir/src/arch-sh4.cc.ARM64LE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-sh4.cc.ARM64LE.cc.o -MF CMakeFiles/mold.dir/src/arch-sh4.cc.ARM64LE.cc.o.d -o CMakeFiles/mold.dir/src/arch-sh4.cc.ARM64LE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-sh4.cc.ARM64LE.cc -[ 27%] Building CXX object CMakeFiles/mold.dir/src/arch-sh4.cc.ARM32.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-sh4.cc.ARM32.cc.o -MF CMakeFiles/mold.dir/src/arch-sh4.cc.ARM32.cc.o.d -o CMakeFiles/mold.dir/src/arch-sh4.cc.ARM32.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-sh4.cc.ARM32.cc [ 27%] Building CXX object CMakeFiles/mold.dir/src/arch-sh4.cc.ARM64BE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-sh4.cc.ARM64BE.cc.o -MF CMakeFiles/mold.dir/src/arch-sh4.cc.ARM64BE.cc.o.d -o CMakeFiles/mold.dir/src/arch-sh4.cc.ARM64BE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-sh4.cc.ARM64BE.cc +[ 27%] Building CXX object CMakeFiles/mold.dir/src/arch-sh4.cc.ARM32.cc.o [ 27%] Building CXX object CMakeFiles/mold.dir/src/arch-sh4.cc.RV32LE.cc.o -[ 27%] Building CXX object CMakeFiles/mold.dir/src/arch-sh4.cc.RV32BE.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-sh4.cc.ARM32.cc.o -MF CMakeFiles/mold.dir/src/arch-sh4.cc.ARM32.cc.o.d -o CMakeFiles/mold.dir/src/arch-sh4.cc.ARM32.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-sh4.cc.ARM32.cc /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-sh4.cc.RV32LE.cc.o -MF CMakeFiles/mold.dir/src/arch-sh4.cc.RV32LE.cc.o.d -o CMakeFiles/mold.dir/src/arch-sh4.cc.RV32LE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-sh4.cc.RV32LE.cc +[ 27%] Building CXX object CMakeFiles/mold.dir/src/arch-sh4.cc.RV32BE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-sh4.cc.RV32BE.cc.o -MF CMakeFiles/mold.dir/src/arch-sh4.cc.RV32BE.cc.o.d -o CMakeFiles/mold.dir/src/arch-sh4.cc.RV32BE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-sh4.cc.RV32BE.cc [ 27%] Building CXX object CMakeFiles/mold.dir/src/arch-sh4.cc.RV64LE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-sh4.cc.RV64LE.cc.o -MF CMakeFiles/mold.dir/src/arch-sh4.cc.RV64LE.cc.o.d -o CMakeFiles/mold.dir/src/arch-sh4.cc.RV64LE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-sh4.cc.RV64LE.cc -[ 27%] Building CXX object CMakeFiles/mold.dir/src/arch-sh4.cc.RV64BE.cc.o +[ 28%] Building CXX object CMakeFiles/mold.dir/src/arch-sh4.cc.RV64BE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-sh4.cc.RV64BE.cc.o -MF CMakeFiles/mold.dir/src/arch-sh4.cc.RV64BE.cc.o.d -o CMakeFiles/mold.dir/src/arch-sh4.cc.RV64BE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-sh4.cc.RV64BE.cc -[ 27%] Building CXX object CMakeFiles/mold.dir/src/arch-sh4.cc.PPC64V1.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-sh4.cc.PPC64V1.cc.o -MF CMakeFiles/mold.dir/src/arch-sh4.cc.PPC64V1.cc.o.d -o CMakeFiles/mold.dir/src/arch-sh4.cc.PPC64V1.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-sh4.cc.PPC64V1.cc -[ 27%] Building CXX object CMakeFiles/mold.dir/src/arch-sh4.cc.PPC64V2.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-sh4.cc.PPC64V2.cc.o -MF CMakeFiles/mold.dir/src/arch-sh4.cc.PPC64V2.cc.o.d -o CMakeFiles/mold.dir/src/arch-sh4.cc.PPC64V2.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-sh4.cc.PPC64V2.cc [ 28%] Building CXX object CMakeFiles/mold.dir/src/arch-sh4.cc.PPC32.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-sh4.cc.PPC32.cc.o -MF CMakeFiles/mold.dir/src/arch-sh4.cc.PPC32.cc.o.d -o CMakeFiles/mold.dir/src/arch-sh4.cc.PPC32.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-sh4.cc.PPC32.cc -[ 28%] Building CXX object CMakeFiles/mold.dir/src/arch-sh4.cc.S390X.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-sh4.cc.S390X.cc.o -MF CMakeFiles/mold.dir/src/arch-sh4.cc.S390X.cc.o.d -o CMakeFiles/mold.dir/src/arch-sh4.cc.S390X.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-sh4.cc.S390X.cc +[ 28%] Building CXX object CMakeFiles/mold.dir/src/arch-sh4.cc.PPC64V1.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-sh4.cc.PPC64V1.cc.o -MF CMakeFiles/mold.dir/src/arch-sh4.cc.PPC64V1.cc.o.d -o CMakeFiles/mold.dir/src/arch-sh4.cc.PPC64V1.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-sh4.cc.PPC64V1.cc +[ 28%] Building CXX object CMakeFiles/mold.dir/src/arch-sh4.cc.PPC64V2.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-sh4.cc.PPC64V2.cc.o -MF CMakeFiles/mold.dir/src/arch-sh4.cc.PPC64V2.cc.o.d -o CMakeFiles/mold.dir/src/arch-sh4.cc.PPC64V2.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-sh4.cc.PPC64V2.cc [ 28%] Building CXX object CMakeFiles/mold.dir/src/arch-sh4.cc.SPARC64.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-sh4.cc.SPARC64.cc.o -MF CMakeFiles/mold.dir/src/arch-sh4.cc.SPARC64.cc.o.d -o CMakeFiles/mold.dir/src/arch-sh4.cc.SPARC64.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-sh4.cc.SPARC64.cc [ 28%] Building CXX object CMakeFiles/mold.dir/src/arch-sh4.cc.M68K.cc.o +[ 28%] Building CXX object CMakeFiles/mold.dir/src/arch-sh4.cc.S390X.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-sh4.cc.S390X.cc.o -MF CMakeFiles/mold.dir/src/arch-sh4.cc.S390X.cc.o.d -o CMakeFiles/mold.dir/src/arch-sh4.cc.S390X.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-sh4.cc.S390X.cc /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-sh4.cc.M68K.cc.o -MF CMakeFiles/mold.dir/src/arch-sh4.cc.M68K.cc.o.d -o CMakeFiles/mold.dir/src/arch-sh4.cc.M68K.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-sh4.cc.M68K.cc [ 29%] Building CXX object CMakeFiles/mold.dir/src/arch-sh4.cc.SH4LE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-sh4.cc.SH4LE.cc.o -MF CMakeFiles/mold.dir/src/arch-sh4.cc.SH4LE.cc.o.d -o CMakeFiles/mold.dir/src/arch-sh4.cc.SH4LE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/arch-sh4.cc.SH4LE.cc @@ -1451,10 +1487,10 @@ /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.SH4LE.cc.o -MF CMakeFiles/mold.dir/src/gdb-index.cc.SH4LE.cc.o.d -o CMakeFiles/mold.dir/src/gdb-index.cc.SH4LE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/gdb-index.cc.SH4LE.cc [ 42%] Building CXX object CMakeFiles/mold.dir/src/gdb-index.cc.SH4BE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.SH4BE.cc.o -MF CMakeFiles/mold.dir/src/gdb-index.cc.SH4BE.cc.o.d -o CMakeFiles/mold.dir/src/gdb-index.cc.SH4BE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/gdb-index.cc.SH4BE.cc -[ 42%] Building CXX object CMakeFiles/mold.dir/src/gdb-index.cc.LOONGARCH64.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.LOONGARCH64.cc.o -MF CMakeFiles/mold.dir/src/gdb-index.cc.LOONGARCH64.cc.o.d -o CMakeFiles/mold.dir/src/gdb-index.cc.LOONGARCH64.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/gdb-index.cc.LOONGARCH64.cc [ 43%] Building CXX object CMakeFiles/mold.dir/src/gdb-index.cc.LOONGARCH32.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.LOONGARCH32.cc.o -MF CMakeFiles/mold.dir/src/gdb-index.cc.LOONGARCH32.cc.o.d -o CMakeFiles/mold.dir/src/gdb-index.cc.LOONGARCH32.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/gdb-index.cc.LOONGARCH32.cc +[ 43%] Building CXX object CMakeFiles/mold.dir/src/gdb-index.cc.LOONGARCH64.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.LOONGARCH64.cc.o -MF CMakeFiles/mold.dir/src/gdb-index.cc.LOONGARCH64.cc.o.d -o CMakeFiles/mold.dir/src/gdb-index.cc.LOONGARCH64.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/gdb-index.cc.LOONGARCH64.cc [ 43%] Building CXX object CMakeFiles/mold.dir/src/icf.cc.X86_64.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.X86_64.cc.o -MF CMakeFiles/mold.dir/src/icf.cc.X86_64.cc.o.d -o CMakeFiles/mold.dir/src/icf.cc.X86_64.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/icf.cc.X86_64.cc [ 43%] Building CXX object CMakeFiles/mold.dir/src/icf.cc.I386.cc.o @@ -1471,10 +1507,10 @@ /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/icf.cc.RV32BE.cc [ 44%] Building CXX object CMakeFiles/mold.dir/src/icf.cc.RV64LE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/icf.cc.RV64LE.cc -[ 44%] Building CXX object CMakeFiles/mold.dir/src/icf.cc.PPC32.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/icf.cc.PPC32.cc [ 44%] Building CXX object CMakeFiles/mold.dir/src/icf.cc.RV64BE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/icf.cc.RV64BE.cc +[ 44%] Building CXX object CMakeFiles/mold.dir/src/icf.cc.PPC32.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/icf.cc.PPC32.cc [ 44%] Building CXX object CMakeFiles/mold.dir/src/icf.cc.PPC64V1.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/icf.cc.PPC64V1.cc [ 45%] Building CXX object CMakeFiles/mold.dir/src/icf.cc.PPC64V2.cc.o @@ -1492,9 +1528,9 @@ [ 45%] Building CXX object CMakeFiles/mold.dir/src/icf.cc.LOONGARCH32.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/icf.cc.LOONGARCH32.cc [ 47%] Building CXX object CMakeFiles/mold.dir/src/icf.cc.LOONGARCH64.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/icf.cc.LOONGARCH64.cc [ 47%] Building CXX object CMakeFiles/mold.dir/src/input-files.cc.X86_64.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/input-files.cc.X86_64.cc -/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/obj-aarch64-linux-gnu/src/icf.cc.LOONGARCH64.cc [ 47%] Building CXX object CMakeFiles/mold.dir/src/input-files.cc.I386.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.I386.cc.o -MF CMakeFiles/mold.dir/src/input-files.cc.I386.cc.o.d -o CMakeFiles/mold.dir/src/input-files.cc.I386.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/input-files.cc.I386.cc [ 47%] Building CXX object CMakeFiles/mold.dir/src/input-files.cc.ARM64LE.cc.o @@ -1657,10 +1693,10 @@ /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -MD -MT CMakeFiles/mold.dir/src/mapfile.cc.ARM32.cc.o -MF CMakeFiles/mold.dir/src/mapfile.cc.ARM32.cc.o.d -o CMakeFiles/mold.dir/src/mapfile.cc.ARM32.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/mapfile.cc.ARM32.cc [ 61%] Building CXX object CMakeFiles/mold.dir/src/mapfile.cc.RV32LE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -MD -MT CMakeFiles/mold.dir/src/mapfile.cc.RV32LE.cc.o -MF CMakeFiles/mold.dir/src/mapfile.cc.RV32LE.cc.o.d -o CMakeFiles/mold.dir/src/mapfile.cc.RV32LE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/mapfile.cc.RV32LE.cc -[ 61%] Building CXX object CMakeFiles/mold.dir/src/mapfile.cc.RV32BE.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -MD -MT CMakeFiles/mold.dir/src/mapfile.cc.RV32BE.cc.o -MF CMakeFiles/mold.dir/src/mapfile.cc.RV32BE.cc.o.d -o CMakeFiles/mold.dir/src/mapfile.cc.RV32BE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/mapfile.cc.RV32BE.cc [ 62%] Building CXX object CMakeFiles/mold.dir/src/mapfile.cc.RV64LE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -MD -MT CMakeFiles/mold.dir/src/mapfile.cc.RV64LE.cc.o -MF CMakeFiles/mold.dir/src/mapfile.cc.RV64LE.cc.o.d -o CMakeFiles/mold.dir/src/mapfile.cc.RV64LE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/mapfile.cc.RV64LE.cc +[ 62%] Building CXX object CMakeFiles/mold.dir/src/mapfile.cc.RV32BE.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -MD -MT CMakeFiles/mold.dir/src/mapfile.cc.RV32BE.cc.o -MF CMakeFiles/mold.dir/src/mapfile.cc.RV32BE.cc.o.d -o CMakeFiles/mold.dir/src/mapfile.cc.RV32BE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/mapfile.cc.RV32BE.cc [ 62%] Building CXX object CMakeFiles/mold.dir/src/mapfile.cc.RV64BE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -MD -MT CMakeFiles/mold.dir/src/mapfile.cc.RV64BE.cc.o -MF CMakeFiles/mold.dir/src/mapfile.cc.RV64BE.cc.o.d -o CMakeFiles/mold.dir/src/mapfile.cc.RV64BE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/mapfile.cc.RV64BE.cc [ 62%] Building CXX object CMakeFiles/mold.dir/src/mapfile.cc.PPC32.cc.o @@ -1924,8 +1960,8 @@ [ 85%] Building CXX object CMakeFiles/mold.dir/src/lto-unix.cc.RV32LE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -MD -MT CMakeFiles/mold.dir/src/lto-unix.cc.RV32LE.cc.o -MF CMakeFiles/mold.dir/src/lto-unix.cc.RV32LE.cc.o.d -o CMakeFiles/mold.dir/src/lto-unix.cc.RV32LE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/lto-unix.cc.RV32LE.cc [ 85%] Building CXX object CMakeFiles/mold.dir/src/lto-unix.cc.RV32BE.cc.o -[ 85%] Building CXX object CMakeFiles/mold.dir/src/lto-unix.cc.RV64LE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -MD -MT CMakeFiles/mold.dir/src/lto-unix.cc.RV32BE.cc.o -MF CMakeFiles/mold.dir/src/lto-unix.cc.RV32BE.cc.o.d -o CMakeFiles/mold.dir/src/lto-unix.cc.RV32BE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/lto-unix.cc.RV32BE.cc +[ 85%] Building CXX object CMakeFiles/mold.dir/src/lto-unix.cc.RV64LE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -MD -MT CMakeFiles/mold.dir/src/lto-unix.cc.RV64LE.cc.o -MF CMakeFiles/mold.dir/src/lto-unix.cc.RV64LE.cc.o.d -o CMakeFiles/mold.dir/src/lto-unix.cc.RV64LE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/lto-unix.cc.RV64LE.cc [ 85%] Building CXX object CMakeFiles/mold.dir/src/lto-unix.cc.RV64BE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -MD -MT CMakeFiles/mold.dir/src/lto-unix.cc.RV64BE.cc.o -MF CMakeFiles/mold.dir/src/lto-unix.cc.RV64BE.cc.o.d -o CMakeFiles/mold.dir/src/lto-unix.cc.RV64BE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/src/lto-unix.cc.RV64BE.cc @@ -2035,12 +2071,12 @@ /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -MD -MT CMakeFiles/mold.dir/lib/demangle.cc.o -MF CMakeFiles/mold.dir/lib/demangle.cc.o.d -o CMakeFiles/mold.dir/lib/demangle.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/lib/demangle.cc [ 95%] Building CXX object CMakeFiles/mold.dir/lib/filepath.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -MD -MT CMakeFiles/mold.dir/lib/filepath.cc.o -MF CMakeFiles/mold.dir/lib/filepath.cc.o.d -o CMakeFiles/mold.dir/lib/filepath.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/lib/filepath.cc -[ 95%] Building CXX object CMakeFiles/mold.dir/lib/hyperloglog.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -MD -MT CMakeFiles/mold.dir/lib/hyperloglog.cc.o -MF CMakeFiles/mold.dir/lib/hyperloglog.cc.o.d -o CMakeFiles/mold.dir/lib/hyperloglog.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/lib/hyperloglog.cc -[ 95%] Building CXX object CMakeFiles/mold.dir/lib/mimalloc.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -MD -MT CMakeFiles/mold.dir/lib/mimalloc.cc.o -MF CMakeFiles/mold.dir/lib/mimalloc.cc.o.d -o CMakeFiles/mold.dir/lib/mimalloc.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/lib/mimalloc.cc [ 96%] Building CXX object CMakeFiles/mold.dir/lib/glob.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -MD -MT CMakeFiles/mold.dir/lib/glob.cc.o -MF CMakeFiles/mold.dir/lib/glob.cc.o.d -o CMakeFiles/mold.dir/lib/glob.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/lib/glob.cc +[ 96%] Building CXX object CMakeFiles/mold.dir/lib/hyperloglog.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -MD -MT CMakeFiles/mold.dir/lib/hyperloglog.cc.o -MF CMakeFiles/mold.dir/lib/hyperloglog.cc.o.d -o CMakeFiles/mold.dir/lib/hyperloglog.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/lib/hyperloglog.cc +[ 96%] Building CXX object CMakeFiles/mold.dir/lib/mimalloc.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -MD -MT CMakeFiles/mold.dir/lib/mimalloc.cc.o -MF CMakeFiles/mold.dir/lib/mimalloc.cc.o.d -o CMakeFiles/mold.dir/lib/mimalloc.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/lib/mimalloc.cc [ 96%] Building CXX object CMakeFiles/mold.dir/lib/multi-glob.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -MD -MT CMakeFiles/mold.dir/lib/multi-glob.cc.o -MF CMakeFiles/mold.dir/lib/multi-glob.cc.o.d -o CMakeFiles/mold.dir/lib/multi-glob.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/lib/multi-glob.cc [ 96%] Building CXX object CMakeFiles/mold.dir/lib/perf.cc.o @@ -2055,10 +2091,10 @@ /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.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.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.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.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/src/arch-ppc64v1.cc [ 97%] Building CXX object CMakeFiles/mold.dir/src/arch-ppc32.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/src/arch-ppc32.cc +[ 97%] Building CXX object CMakeFiles/mold.dir/src/arch-ppc64v1.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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.37.1+dfsg/src/arch-ppc64v1.cc [ 97%] Building CXX object CMakeFiles/mold.dir/src/arch-ppc64v2.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -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-ppc64v2.cc.o -MF CMakeFiles/mold.dir/src/arch-ppc64v2.cc.o.d -o CMakeFiles/mold.dir/src/arch-ppc64v2.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/src/arch-ppc64v2.cc [ 98%] Building CXX object CMakeFiles/mold.dir/src/arch-s390x.cc.o @@ -2076,8 +2112,8 @@ [100%] Building CXX object CMakeFiles/mold.dir/lib/jobs-unix.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -MD -MT CMakeFiles/mold.dir/lib/jobs-unix.cc.o -MF CMakeFiles/mold.dir/lib/jobs-unix.cc.o.d -o CMakeFiles/mold.dir/lib/jobs-unix.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/lib/jobs-unix.cc [100%] Building CXX object CMakeFiles/mold.dir/lib/mapped-file-unix.cc.o -[100%] Building CXX object CMakeFiles/mold.dir/lib/signal-unix.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -MD -MT CMakeFiles/mold.dir/lib/mapped-file-unix.cc.o -MF CMakeFiles/mold.dir/lib/mapped-file-unix.cc.o.d -o CMakeFiles/mold.dir/lib/mapped-file-unix.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/lib/mapped-file-unix.cc +[100%] Building CXX object CMakeFiles/mold.dir/lib/signal-unix.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.37.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 -ffunction-sections -fdata-sections -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -MD -MT CMakeFiles/mold.dir/lib/signal-unix.cc.o -MF CMakeFiles/mold.dir/lib/signal-unix.cc.o.d -o CMakeFiles/mold.dir/lib/signal-unix.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/lib/signal-unix.cc [100%] Linking CXX executable mold /usr/bin/cmake -E cmake_link_script CMakeFiles/mold.dir/link.txt --verbose=1 @@ -2213,99 +2249,14 @@ 12: MACHINE=aarch64 12: CPU= 12: Test timeout computed to be: 1500 -3: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/abs-error.sh -6: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/ar-alignment.sh -12: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/bno-symbolic.sh -5: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/allow-multiple-definition.sh -2: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-aarch64-variant-pcs.sh -11: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/auxiliary.sh -4: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/absolute-symbols.sh -10: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/as-needed.sh 1: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-aarch64-range-extension-thunk-disassembly.sh -4: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -6: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -3: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -11: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 1: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -5: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -2: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -10: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -8: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/as-needed-dso2.sh -12: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -7: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/as-needed-dso.sh -11: ++ export LC_ALL=C -6: ++ export LC_ALL=C -9: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/as-needed-weak.sh -3: ++ export LC_ALL=C -12: ++ export LC_ALL=C 1: ++ export LC_ALL=C -4: ++ export LC_ALL=C -10: ++ export LC_ALL=C -5: ++ export LC_ALL=C -11: ++ LC_ALL=C -6: ++ LC_ALL=C 1: ++ LC_ALL=C -12: ++ LC_ALL=C -3: ++ LC_ALL=C -4: ++ LC_ALL=C -5: ++ LC_ALL=C -10: ++ LC_ALL=C -8: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -8: ++ export LC_ALL=C -8: ++ LC_ALL=C -7: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -7: ++ export LC_ALL=C -7: ++ LC_ALL=C -10: ++ '[' -z aarch64 ']' -8: ++ '[' -z aarch64 ']' 1: ++ '[' -z aarch64 ']' -6: ++ '[' -z aarch64 ']' -4: ++ '[' -z aarch64 ']' -3: ++ '[' -z aarch64 ']' -9: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -7: ++ '[' -z aarch64 ']' -9: ++ export LC_ALL=C -9: ++ LC_ALL=C -9: ++ '[' -z aarch64 ']' -8: ++ '[' -z '' ']' 1: ++ '[' -z '' ']' -10: ++ '[' -z '' ']' -6: ++ '[' -z '' ']' -3: ++ '[' -z '' ']' -4: ++ '[' -z '' ']' -9: ++ '[' -z '' ']' -7: ++ '[' -z '' ']' -10: ++ TESTDIR=out/test/aarch64 -8: ++ TESTDIR=out/test/aarch64 1: ++ TESTDIR=out/test/aarch64 1: ++ CC=cc -4: ++ TESTDIR=out/test/aarch64 -4: ++ CC=cc -4: ++ CXX=c++ -3: ++ TESTDIR=out/test/aarch64 -3: ++ CC=cc -3: ++ CXX=c++ -3: ++ GCC=gcc -7: ++ TESTDIR=out/test/aarch64 -7: ++ CC=cc -7: ++ CXX=c++ -7: ++ GCC=gcc -10: ++ CC=cc -10: ++ CXX=c++ -10: ++ GCC=gcc -10: ++ GXX=g++ -10: ++ OBJDUMP=objdump -10: ++ OBJCOPY=objcopy -10: ++ STRIP=strip -10: ++ QEMU= -8: ++ CC=cc -8: ++ CXX=c++ -8: ++ GCC=gcc -8: ++ GXX=g++ -8: ++ OBJDUMP=objdump -8: ++ OBJCOPY=objcopy -8: ++ STRIP=strip -8: ++ QEMU= 1: ++ CXX=c++ 1: ++ GCC=gcc 1: ++ GXX=g++ @@ -2313,17 +2264,99 @@ 1: ++ OBJCOPY=objcopy 1: ++ STRIP=strip 1: ++ QEMU= +1: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-aarch64-range-extension-thunk-disassembly.sh .sh +1: ++ testname=arch-aarch64-range-extension-thunk-disassembly +1: ++ t=out/test/aarch64/arch-aarch64-range-extension-thunk-disassembly +1: ++ mkdir -p out/test/aarch64/arch-aarch64-range-extension-thunk-disassembly +1: ++ case $MACHINE in +2: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-aarch64-variant-pcs.sh +2: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +2: ++ export LC_ALL=C +2: ++ LC_ALL=C +2: ++ '[' -z aarch64 ']' +2: ++ '[' -z '' ']' +2: ++ TESTDIR=out/test/aarch64 +2: ++ CC=cc +2: ++ CXX=c++ +2: ++ GCC=gcc +2: ++ GXX=g++ +2: ++ OBJDUMP=objdump +2: ++ OBJCOPY=objcopy +2: ++ STRIP=strip +2: ++ QEMU= +2: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-aarch64-variant-pcs.sh .sh +2: ++ testname=arch-aarch64-variant-pcs +2: ++ t=out/test/aarch64/arch-aarch64-variant-pcs +2: ++ mkdir -p out/test/aarch64/arch-aarch64-variant-pcs +2: ++ case $MACHINE in +3: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/abs-error.sh +3: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +3: ++ export LC_ALL=C +3: ++ LC_ALL=C +3: ++ '[' -z aarch64 ']' +3: ++ '[' -z '' ']' +3: ++ TESTDIR=out/test/aarch64 +3: ++ CC=cc +3: ++ CXX=c++ +3: ++ GCC=gcc +3: ++ GXX=g++ +3: ++ OBJDUMP=objdump +3: ++ OBJCOPY=objcopy +3: ++ STRIP=strip +3: ++ QEMU= +3: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/abs-error.sh .sh +3: ++ testname=abs-error +3: ++ t=out/test/aarch64/abs-error +3: ++ mkdir -p out/test/aarch64/abs-error +3: ++ case $MACHINE in +3: ++ tlsdesc_opt=-mtls-dialect=desc +3: +++ uname +4: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/absolute-symbols.sh +4: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +4: ++ export LC_ALL=C +4: ++ LC_ALL=C +4: ++ '[' -z aarch64 ']' +4: ++ '[' -z '' ']' +4: ++ TESTDIR=out/test/aarch64 +4: ++ CC=cc +4: ++ CXX=c++ 4: ++ GCC=gcc 4: ++ GXX=g++ 4: ++ OBJDUMP=objdump 4: ++ OBJCOPY=objcopy 4: ++ STRIP=strip 4: ++ QEMU= -3: ++ GXX=g++ -3: ++ OBJDUMP=objdump -3: ++ OBJCOPY=objcopy -3: ++ STRIP=strip -3: ++ QEMU= +4: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/absolute-symbols.sh .sh +4: ++ testname=absolute-symbols +4: ++ t=out/test/aarch64/absolute-symbols +4: ++ mkdir -p out/test/aarch64/absolute-symbols +5: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/allow-multiple-definition.sh +5: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +5: ++ export LC_ALL=C +5: ++ LC_ALL=C +5: ++ '[' -z aarch64 ']' +5: ++ '[' -z '' ']' +5: ++ TESTDIR=out/test/aarch64 +5: ++ CC=cc +5: ++ CXX=c++ +5: ++ GCC=gcc +5: ++ GXX=g++ +5: ++ OBJDUMP=objdump +5: ++ OBJCOPY=objcopy +5: ++ STRIP=strip +5: ++ QEMU= +5: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/allow-multiple-definition.sh .sh +5: ++ testname=allow-multiple-definition +5: ++ t=out/test/aarch64/allow-multiple-definition +5: ++ mkdir -p out/test/aarch64/allow-multiple-definition +5: ++ case $MACHINE in +5: ++ tlsdesc_opt=-mtls-dialect=desc +6: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/ar-alignment.sh +6: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +6: ++ export LC_ALL=C +6: ++ LC_ALL=C +6: ++ '[' -z aarch64 ']' +6: ++ '[' -z '' ']' 6: ++ TESTDIR=out/test/aarch64 6: ++ CC=cc 6: ++ CXX=c++ @@ -2333,11 +2366,57 @@ 6: ++ OBJCOPY=objcopy 6: ++ STRIP=strip 6: ++ QEMU= +6: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/ar-alignment.sh .sh +6: ++ testname=ar-alignment +6: ++ t=out/test/aarch64/ar-alignment +6: ++ mkdir -p out/test/aarch64/ar-alignment +6: ++ case $MACHINE in +7: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/as-needed-dso.sh +7: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +7: ++ export LC_ALL=C +7: ++ LC_ALL=C +7: ++ '[' -z aarch64 ']' +7: ++ '[' -z '' ']' +7: ++ TESTDIR=out/test/aarch64 +7: ++ CC=cc +7: ++ CXX=c++ +7: ++ GCC=gcc 7: ++ GXX=g++ 7: ++ OBJDUMP=objdump 7: ++ OBJCOPY=objcopy 7: ++ STRIP=strip 7: ++ QEMU= +7: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/as-needed-dso.sh .sh +7: ++ testname=as-needed-dso +7: ++ t=out/test/aarch64/as-needed-dso +7: ++ mkdir -p out/test/aarch64/as-needed-dso +7: ++ case $MACHINE in +7: ++ tlsdesc_opt=-mtls-dialect=desc +8: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/as-needed-dso2.sh +8: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +8: ++ export LC_ALL=C +8: ++ LC_ALL=C +8: ++ '[' -z aarch64 ']' +8: ++ '[' -z '' ']' +8: ++ TESTDIR=out/test/aarch64 +8: ++ CC=cc +8: ++ CXX=c++ +8: ++ GCC=gcc +8: ++ GXX=g++ +8: ++ OBJDUMP=objdump +8: ++ OBJCOPY=objcopy +8: ++ STRIP=strip +8: ++ QEMU= +8: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/as-needed-dso2.sh .sh +8: ++ testname=as-needed-dso2 +8: ++ t=out/test/aarch64/as-needed-dso2 +8: ++ mkdir -p out/test/aarch64/as-needed-dso2 +9: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/as-needed-weak.sh +9: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +9: ++ export LC_ALL=C +9: ++ LC_ALL=C +9: ++ '[' -z aarch64 ']' +9: ++ '[' -z '' ']' 9: ++ TESTDIR=out/test/aarch64 9: ++ CC=cc 9: ++ CXX=c++ @@ -2347,62 +2426,34 @@ 9: ++ OBJCOPY=objcopy 9: ++ STRIP=strip 9: ++ QEMU= -4: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/absolute-symbols.sh .sh -1: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-aarch64-range-extension-thunk-disassembly.sh .sh -8: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/as-needed-dso2.sh .sh -6: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/ar-alignment.sh .sh -7: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/as-needed-dso.sh .sh 9: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/as-needed-weak.sh .sh -10: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/as-needed.sh .sh -3: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/abs-error.sh .sh -1: ++ testname=arch-aarch64-range-extension-thunk-disassembly -1: ++ t=out/test/aarch64/arch-aarch64-range-extension-thunk-disassembly -1: ++ mkdir -p out/test/aarch64/arch-aarch64-range-extension-thunk-disassembly -6: ++ testname=ar-alignment -6: ++ t=out/test/aarch64/ar-alignment -6: ++ mkdir -p out/test/aarch64/ar-alignment -4: ++ testname=absolute-symbols -4: ++ t=out/test/aarch64/absolute-symbols -4: ++ mkdir -p out/test/aarch64/absolute-symbols 9: ++ testname=as-needed-weak 9: ++ t=out/test/aarch64/as-needed-weak 9: ++ mkdir -p out/test/aarch64/as-needed-weak -3: ++ testname=abs-error -3: ++ t=out/test/aarch64/abs-error -3: ++ mkdir -p out/test/aarch64/abs-error -8: ++ testname=as-needed-dso2 -8: ++ t=out/test/aarch64/as-needed-dso2 -8: ++ mkdir -p out/test/aarch64/as-needed-dso2 +10: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/as-needed.sh +10: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +10: ++ export LC_ALL=C +10: ++ LC_ALL=C +10: ++ '[' -z aarch64 ']' +10: ++ '[' -z '' ']' +10: ++ TESTDIR=out/test/aarch64 +10: ++ CC=cc +10: ++ CXX=c++ +10: ++ GCC=gcc +10: ++ GXX=g++ +10: ++ OBJDUMP=objdump +10: ++ OBJCOPY=objcopy +10: ++ STRIP=strip +10: ++ QEMU= +10: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/as-needed.sh .sh 10: ++ testname=as-needed 10: ++ t=out/test/aarch64/as-needed -2: ++ export LC_ALL=C -2: ++ LC_ALL=C 10: ++ mkdir -p out/test/aarch64/as-needed -12: ++ '[' -z aarch64 ']' -12: ++ '[' -z '' ']' -12: ++ TESTDIR=out/test/aarch64 -12: ++ CC=cc -12: ++ CXX=c++ -12: ++ GCC=gcc -12: ++ GXX=g++ -12: ++ OBJDUMP=objdump -12: ++ OBJCOPY=objcopy -12: ++ STRIP=strip -12: ++ QEMU= -2: ++ '[' -z aarch64 ']' -2: ++ '[' -z '' ']' -2: ++ TESTDIR=out/test/aarch64 -2: ++ CC=cc -2: ++ CXX=c++ -2: ++ GCC=gcc -2: ++ GXX=g++ -2: ++ OBJDUMP=objdump -2: ++ OBJCOPY=objcopy -2: ++ STRIP=strip -2: ++ QEMU= -7: ++ testname=as-needed-dso -7: ++ t=out/test/aarch64/as-needed-dso -7: ++ mkdir -p out/test/aarch64/as-needed-dso +10: ++ case $MACHINE in +11: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/auxiliary.sh +11: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +11: ++ export LC_ALL=C +11: ++ LC_ALL=C 11: ++ '[' -z aarch64 ']' 11: ++ '[' -z '' ']' 11: ++ TESTDIR=out/test/aarch64 @@ -2414,119 +2465,119 @@ 11: ++ OBJCOPY=objcopy 11: ++ STRIP=strip 11: ++ QEMU= -5: ++ '[' -z aarch64 ']' -5: ++ '[' -z '' ']' -5: ++ TESTDIR=out/test/aarch64 -5: ++ CC=cc -5: ++ CXX=c++ -5: ++ GCC=gcc -5: ++ GXX=g++ -5: ++ OBJDUMP=objdump -5: ++ OBJCOPY=objcopy -5: ++ STRIP=strip -5: ++ QEMU= -2: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-aarch64-variant-pcs.sh .sh 11: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/auxiliary.sh .sh -5: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/allow-multiple-definition.sh .sh -12: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/bno-symbolic.sh .sh -2: ++ testname=arch-aarch64-variant-pcs -2: ++ t=out/test/aarch64/arch-aarch64-variant-pcs -2: ++ mkdir -p out/test/aarch64/arch-aarch64-variant-pcs 11: ++ testname=auxiliary -5: ++ testname=allow-multiple-definition 11: ++ t=out/test/aarch64/auxiliary -5: ++ t=out/test/aarch64/allow-multiple-definition 11: ++ mkdir -p out/test/aarch64/auxiliary -5: ++ mkdir -p out/test/aarch64/allow-multiple-definition -12: ++ testname=bno-symbolic -12: ++ t=out/test/aarch64/bno-symbolic -12: ++ mkdir -p out/test/aarch64/bno-symbolic -12: ++ case $MACHINE in -11: ++ case $MACHINE in -10: ++ case $MACHINE in -5: ++ case $MACHINE in +6: ++ tlsdesc_opt=-mtls-dialect=desc +2: ++ tlsdesc_opt=-mtls-dialect=desc 4: ++ case $MACHINE in -8: ++ case $MACHINE in +4: ++ tlsdesc_opt=-mtls-dialect=desc 9: ++ case $MACHINE in -7: ++ case $MACHINE in -3: ++ case $MACHINE in -7: ++ tlsdesc_opt=-mtls-dialect=desc -3: ++ tlsdesc_opt=-mtls-dialect=desc 9: ++ tlsdesc_opt=-mtls-dialect=desc -11: ++ tlsdesc_opt=-mtls-dialect=desc -3: +++ uname 7: +++ uname -11: +++ uname +10: ++ tlsdesc_opt=-mtls-dialect=desc +5: +++ uname +8: ++ case $MACHINE in +8: ++ tlsdesc_opt=-mtls-dialect=desc +6: +++ uname 9: +++ uname -2: ++ case $MACHINE in -2: ++ tlsdesc_opt=-mtls-dialect=desc -6: ++ case $MACHINE in -6: ++ tlsdesc_opt=-mtls-dialect=desc -1: ++ case $MACHINE in -1: ++ tlsdesc_opt=-mtls-dialect=desc 2: +++ uname -6: +++ uname +1: ++ tlsdesc_opt=-mtls-dialect=desc +11: ++ case $MACHINE in +11: ++ tlsdesc_opt=-mtls-dialect=desc +12: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/bno-symbolic.sh +8: +++ uname +10: +++ uname +2: ++ '[' Linux = FreeBSD ']' +2: ++ trap 'on_error $LINENO' ERR +2: ++ trap on_exit EXIT +2: ++ echo -n 'Testing arch-aarch64-variant-pcs ... ' +6: ++ '[' Linux = FreeBSD ']' +6: ++ trap 'on_error $LINENO' ERR +6: ++ trap on_exit EXIT +6: ++ echo -n 'Testing ar-alignment ... ' +4: +++ uname 1: +++ uname -7: ++ '[' Linux = FreeBSD ']' -3: ++ '[' Linux = FreeBSD ']' +12: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +12: ++ export LC_ALL=C +12: ++ LC_ALL=C +12: ++ '[' -z aarch64 ']' +12: ++ '[' -z '' ']' +12: ++ TESTDIR=out/test/aarch64 +12: ++ CC=cc +12: ++ CXX=c++ +12: ++ GCC=gcc +12: ++ GXX=g++ +12: ++ OBJDUMP=objdump +12: ++ OBJCOPY=objcopy +12: ++ STRIP=strip +12: ++ QEMU= +10: ++ '[' Linux = FreeBSD ']' +10: ++ trap 'on_error $LINENO' ERR +10: ++ trap on_exit EXIT +10: ++ echo -n 'Testing as-needed ... ' +10: Testing as-needed ... ++ set -o pipefail +10: ++ set -x 9: ++ '[' Linux = FreeBSD ']' -7: ++ trap 'on_error $LINENO' ERR -7: ++ trap on_exit EXIT -3: ++ trap 'on_error $LINENO' ERR -3: ++ trap on_exit EXIT -7: ++ echo -n 'Testing as-needed-dso ... ' 9: ++ trap 'on_error $LINENO' ERR 9: ++ trap on_exit EXIT -7: Testing as-needed-dso ... ++ set -o pipefail -7: ++ set -x -3: ++ echo -n 'Testing abs-error ... ' -3: Testing abs-error ... ++ set -o pipefail -3: ++ set -x 9: ++ echo -n 'Testing as-needed-weak ... ' 9: Testing as-needed-weak ... ++ set -o pipefail 9: ++ set -x +11: +++ uname +8: ++ '[' Linux = FreeBSD ']' +8: ++ trap 'on_error $LINENO' ERR +8: ++ trap on_exit EXIT +8: ++ echo -n 'Testing as-needed-dso2 ... ' +8: Testing as-needed-dso2 ... ++ set -o pipefail +8: ++ set -x +8: + cc -c -fPIC -o out/test/aarch64/as-needed-dso2/a.o -xc - +6: Testing ar-alignment ... ++ set -o pipefail +6: ++ set -x +6: + cc -o out/test/aarch64/ar-alignment/a.o -c -xc - +11: ++ '[' Linux = FreeBSD ']' +11: ++ trap 'on_error $LINENO' ERR +11: ++ trap on_exit EXIT +11: ++ echo -n 'Testing auxiliary ... ' +11: Testing auxiliary ... ++ set -o pipefail +11: ++ set -x +11: + cat +12: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/bno-symbolic.sh .sh +12: ++ testname=bno-symbolic +12: ++ t=out/test/aarch64/bno-symbolic +12: ++ mkdir -p out/test/aarch64/bno-symbolic +9: + cc -fPIC -o out/test/aarch64/as-needed-weak/a.o -c -xc - +9: + cat +3: ++ '[' Linux = FreeBSD ']' +3: ++ trap 'on_error $LINENO' ERR +3: ++ trap on_exit EXIT +3: ++ echo -n 'Testing abs-error ... ' +3: Testing abs-error ... ++ set -o pipefail +3: ++ set -x 3: + '[' aarch64 = aarch64 ']' 3: + skip 3: + echo skipped 3: skipped 3: + trap - EXIT 3: + exit 0 -7: + cat -9: + cat -6: ++ '[' Linux = FreeBSD ']' -1: ++ '[' Linux = FreeBSD ']' -7: + cc -o out/test/aarch64/as-needed-dso/libfoo.so -shared -fPIC -Wl,-soname,libfoo.so -xc - -2: ++ '[' Linux = FreeBSD ']' -9: + cc -fPIC -o out/test/aarch64/as-needed-weak/a.o -c -xc - -6: ++ trap 'on_error $LINENO' ERR -6: ++ trap on_exit EXIT -6: ++ echo -n 'Testing ar-alignment ... ' -6: Testing ar-alignment ... ++ set -o pipefail -6: ++ set -x -1: ++ trap 'on_error $LINENO' ERR -1: ++ trap on_exit EXIT -1: ++ echo -n 'Testing arch-aarch64-range-extension-thunk-disassembly ... ' -1: Testing arch-aarch64-range-extension-thunk-disassembly ... ++ set -o pipefail -1: ++ set -x -8: ++ tlsdesc_opt=-mtls-dialect=desc -4: ++ tlsdesc_opt=-mtls-dialect=desc -2: ++ trap 'on_error $LINENO' ERR -2: ++ trap on_exit EXIT -2: ++ echo -n 'Testing arch-aarch64-variant-pcs ... ' +5: ++ '[' Linux = FreeBSD ']' +5: ++ trap 'on_error $LINENO' ERR +5: ++ trap on_exit EXIT +5: ++ echo -n 'Testing allow-multiple-definition ... ' +5: Testing allow-multiple-definition ... ++ set -o pipefail +5: ++ set -x 2: Testing arch-aarch64-variant-pcs ... ++ set -o pipefail 2: ++ set -x -12: ++ tlsdesc_opt=-mtls-dialect=desc -8: +++ uname - 1/347 Test #3: aarch64-abs-error ........................................***Skipped 0.06 sec -8: ++ '[' Linux = FreeBSD ']' -8: ++ trap 'on_error $LINENO' ERR -8: ++ trap on_exit EXIT -8: ++ echo -n 'Testing as-needed-dso2 ... ' -8: Testing as-needed-dso2 ... ++ set -o pipefail -8: ++ set -x -8: + cat -8: + cc -c -fPIC -o out/test/aarch64/as-needed-dso2/a.o -xc - -4: +++ uname +2: + cat +7: ++ '[' Linux = FreeBSD ']' +7: ++ trap 'on_error $LINENO' ERR +7: ++ trap on_exit EXIT +7: ++ echo -n 'Testing as-needed-dso ... ' +7: Testing as-needed-dso ... ++ set -o pipefail +7: ++ set -x +7: + cc -o out/test/aarch64/as-needed-dso/libfoo.so -shared -fPIC -Wl,-soname,libfoo.so -xc - +10: + cat 4: ++ '[' Linux = FreeBSD ']' 4: ++ trap 'on_error $LINENO' ERR 4: ++ trap on_exit EXIT @@ -2535,20 +2586,26 @@ 4: ++ set -x 4: + '[' aarch64 = sparc64 ']' 4: + cc -o out/test/aarch64/absolute-symbols/a.o -c -x assembler - -4: + cat -10: ++ tlsdesc_opt=-mtls-dialect=desc -10: +++ uname -10: ++ '[' Linux = FreeBSD ']' -10: ++ trap 'on_error $LINENO' ERR -10: ++ trap on_exit EXIT -10: ++ echo -n 'Testing as-needed ... ' -10: Testing as-needed ... ++ set -o pipefail -10: ++ set -x +1: ++ '[' Linux = FreeBSD ']' +7: + cat +2: + cc -c -o out/test/aarch64/arch-aarch64-variant-pcs/a.o -fPIC -xassembler - +1: ++ trap 'on_error $LINENO' ERR +1: ++ trap on_exit EXIT +1: ++ echo -n 'Testing arch-aarch64-range-extension-thunk-disassembly ... ' +1: Testing arch-aarch64-range-extension-thunk-disassembly ... ++ set -o pipefail +1: ++ set -x + 1/347 Test #3: aarch64-abs-error ........................................***Skipped 0.08 sec +5: + cc -c -o out/test/aarch64/allow-multiple-definition/a.o -xc - +5: + echo 'int main() { return 0; }' +1: + cat +1: + cc -c -o out/test/aarch64/arch-aarch64-range-extension-thunk-disassembly/a.o -fPIC -xc - 10: + cc -o out/test/aarch64/as-needed/a.o -c -xc - -6: + cc -o out/test/aarch64/ar-alignment/a.o -c -xc - +11: + cc -o out/test/aarch64/auxiliary/a.o -c -x assembler - 6: + cat -2: + cat -2: + cc -c -o out/test/aarch64/arch-aarch64-variant-pcs/a.o -fPIC -xassembler - +4: + cat +8: + cat +12: ++ case $MACHINE in +12: ++ tlsdesc_opt=-mtls-dialect=desc 12: +++ uname 12: ++ '[' Linux = FreeBSD ']' 12: ++ trap 'on_error $LINENO' ERR @@ -2557,24 +2614,8 @@ 12: Testing bno-symbolic ... ++ set -o pipefail 12: ++ set -x 12: + '[' aarch64 = s390x ']' -12: + cc -c -fPIC -oout/test/aarch64/bno-symbolic/a.o -xc - 12: + cat -5: ++ tlsdesc_opt=-mtls-dialect=desc -5: +++ uname -5: ++ '[' Linux = FreeBSD ']' -5: ++ trap 'on_error $LINENO' ERR -5: ++ trap on_exit EXIT -5: ++ echo -n 'Testing allow-multiple-definition ... ' -5: Testing allow-multiple-definition ... ++ set -o pipefail -5: ++ set -x -1: + cc -c -o out/test/aarch64/arch-aarch64-range-extension-thunk-disassembly/a.o -fPIC -xc - -1: + cat -11: ++ '[' Linux = FreeBSD ']' -11: ++ trap 'on_error $LINENO' ERR -11: ++ trap on_exit EXIT -11: ++ echo -n 'Testing auxiliary ... ' -11: Testing auxiliary ... ++ set -o pipefail -11: ++ set -x +12: + cc -c -fPIC -oout/test/aarch64/bno-symbolic/a.o -xc - test 13 Start 13: aarch64-bsymbolic-functions @@ -2584,16 +2625,8 @@ 13: MACHINE=aarch64 13: CPU= 13: Test timeout computed to be: 1500 -10: + cat -2: + cc -B. -shared -o out/test/aarch64/arch-aarch64-variant-pcs/b.so out/test/aarch64/arch-aarch64-variant-pcs/a.o -5: + cc -c -o out/test/aarch64/allow-multiple-definition/a.o -xc - -11: + cat -11: + cc -o out/test/aarch64/auxiliary/a.o -c -x assembler - -4: + cc -o out/test/aarch64/absolute-symbols/b.o -c -fno-PIC -xc - -4: + cat -5: + echo 'int main() { return 0; }' -11: + ./mold -o out/test/aarch64/auxiliary/b.so out/test/aarch64/auxiliary/a.o -auxiliary foo -f bar -shared 13: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/bsymbolic-functions.sh +2: + cc -B. -shared -o out/test/aarch64/arch-aarch64-variant-pcs/b.so out/test/aarch64/arch-aarch64-variant-pcs/a.o 13: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 13: ++ export LC_ALL=C 13: ++ LC_ALL=C @@ -2609,18 +2642,10 @@ 13: ++ STRIP=strip 13: ++ QEMU= 13: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/bsymbolic-functions.sh .sh -8: + cc -c -fPIC -o out/test/aarch64/as-needed-dso2/b.o -xc - -9: + cc -o out/test/aarch64/as-needed-weak/libfoo.so -shared -fPIC -Wl,-soname,libfoo.so -xc - -8: + cat -5: + cc -c -o out/test/aarch64/allow-multiple-definition/b.o -xc - -9: + cat 13: ++ testname=bsymbolic-functions 13: ++ t=out/test/aarch64/bsymbolic-functions 13: ++ mkdir -p out/test/aarch64/bsymbolic-functions -6: + head -c 1 /dev/zero -11: + readelf --dynamic out/test/aarch64/auxiliary/b.so -5: + echo 'int main() { return 1; }' -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 +11: + ./mold -o out/test/aarch64/auxiliary/b.so out/test/aarch64/auxiliary/a.o -auxiliary foo -f bar -shared 13: ++ case $MACHINE in 13: ++ tlsdesc_opt=-mtls-dialect=desc 13: +++ uname @@ -2630,33 +2655,55 @@ 13: ++ echo -n 'Testing bsymbolic-functions ... ' 13: Testing bsymbolic-functions ... ++ set -o pipefail 13: ++ set -x -13: + cat +4: + cat +4: + cc -o out/test/aarch64/absolute-symbols/b.o -c -fno-PIC -xc - +5: + echo 'int main() { return 1; }' +5: + cc -c -o out/test/aarch64/allow-multiple-definition/b.o -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 +13: + cat +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 13: + cc -c -o out/test/aarch64/bsymbolic-functions/a.o -fPIC -xc - +6: + head -c 1 /dev/zero +9: + cc -o out/test/aarch64/as-needed-weak/libfoo.so -shared -fPIC -Wl,-soname,libfoo.so -xc - +9: + cat +8: + cat +8: + cc -c -fPIC -o out/test/aarch64/as-needed-dso2/b.o -xc - 10: + cc -o out/test/aarch64/as-needed/b.so -shared -fPIC -Wl,-soname,libfoo.so -xc - 10: + cat -6: + cat -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 - 7: + cat -11: + grep -F 'Auxiliary library: [foo]' out/test/aarch64/auxiliary/log 5: + not 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: + readelf --dynamic out/test/aarch64/auxiliary/b.so 13: + cc -B. -shared -o out/test/aarch64/bsymbolic-functions/b.so out/test/aarch64/bsymbolic-functions/a.o -Wl,-Bsymbolic-functions 8: + cc -xc -c -o out/test/aarch64/as-needed-dso2/c.o - 8: + 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 +9: + cc -o out/test/aarch64/as-needed-weak/libbar.so -shared -fPIC -Wl,-soname,libbar.so -xc - +9: + cat +6: + cc -o out/test/aarch64/ar-alignment/b.o -c -xc - 6: + 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 +8: + cc -B. -shared -o out/test/aarch64/as-needed-dso2/libfoo.so out/test/aarch64/as-needed-dso2/a.o 6: + cc -o out/test/aarch64/ar-alignment/c.o -c -xc - -9: + cat -9: + cc -o out/test/aarch64/as-needed-weak/libbar.so -shared -fPIC -Wl,-soname,libbar.so -xc - +6: + cat +10: + cat +10: + cc -o out/test/aarch64/as-needed/c.so -shared -fPIC -Wl,-soname,libbar.so -xc - +7: + cc -o out/test/aarch64/as-needed-dso/a.o -c -xc - +7: + cat +6: + rm -f out/test/aarch64/ar-alignment/d.a +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 +11: + grep -F 'Auxiliary library: [foo]' out/test/aarch64/auxiliary/log +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 +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 11: 0x000000007ffffffd (AUXILIARY) Auxiliary library: [foo] 11: + grep -F 'Auxiliary library: [bar]' out/test/aarch64/auxiliary/log 11: 0x000000007ffffffd (AUXILIARY) Auxiliary library: [bar] +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 11: + on_exit 11: + echo OK 11: OK 11: + exit 0 - 2/347 Test #11: aarch64-auxiliary ........................................ Passed 0.15 sec + 2/347 Test #11: aarch64-auxiliary ........................................ Passed 0.32 sec test 14 Start 14: aarch64-bsymbolic-non-weak-functions @@ -2666,11 +2713,6 @@ 14: MACHINE=aarch64 14: CPU= 14: Test timeout computed to be: 1500 -7: + cc -o out/test/aarch64/as-needed-dso/a.o -c -xc - -7: + cat -8: + cc -B. -shared -o out/test/aarch64/as-needed-dso2/libfoo.so out/test/aarch64/as-needed-dso2/a.o -10: + cc -o out/test/aarch64/as-needed/c.so -shared -fPIC -Wl,-soname,libbar.so -xc - -10: + cat 14: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/bsymbolic-non-weak-functions.sh 14: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 14: ++ export LC_ALL=C @@ -2699,36 +2741,23 @@ 14: ++ echo -n 'Testing bsymbolic-non-weak-functions ... ' 14: Testing bsymbolic-non-weak-functions ... ++ set -o pipefail 14: ++ set -x -14: + cc -c -o out/test/aarch64/bsymbolic-non-weak-functions/a.o -fPIC -xc - 14: + cat -6: + rm -f out/test/aarch64/ar-alignment/d.a -2: + readelf -W --dyn-syms out/test/aarch64/arch-aarch64-variant-pcs/b.so -2: + grep foo -2: + grep -F '[VARIANT_PCS]' -13: + cat -13: + cc -c -o out/test/aarch64/bsymbolic-functions/c.o -xc - -fno-PIE +14: + cc -c -o out/test/aarch64/bsymbolic-non-weak-functions/a.o -fPIC -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 +9: + readelf --dynamic out/test/aarch64/as-needed-weak/exe1 +10: + readelf --dynamic out/test/aarch64/as-needed/exe +10: + grep -F 'Shared library: [libfoo.so]' out/test/aarch64/as-needed/log 1: + objdump -dr out/test/aarch64/arch-aarch64-range-extension-thunk-disassembly/exe 1: + grep -E ':' -2: 5: 00000000000106a8 0 FUNC GLOBAL DEFAULT [VARIANT_PCS] 13 foo -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 -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 -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 -2: + cc -c -o out/test/aarch64/arch-aarch64-variant-pcs/c.o -xc - -2: + cat -12: + cc -c -o out/test/aarch64/bno-symbolic/c.o -xc - -fno-PIE -12: + cat -4: + grep '^ip=0xa0000.$' -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 +9: + grep -F 'Shared library: [libfoo.so]' out/test/aarch64/as-needed-weak/log1 +9: 0x0000000000000001 (NEEDED) Shared library: [libfoo.so] +9: + grep -F 'Shared library: [libbar.so]' out/test/aarch64/as-needed-weak/log1 +6: + on_exit +6: + echo OK +6: OK +6: + exit 0 4: + out/test/aarch64/absolute-symbols/exe -6: + ar rcs out/test/aarch64/ar-alignment/d.a out/test/aarch64/ar-alignment/a.o out/test/aarch64/ar-alignment/b.o -4: ip=0xa00008 -4: + on_exit -4: + echo OK -4: OK -4: + exit 0 -1: 0000000020000020 : -1: 00000000100001d0 : - 3/347 Test #4: aarch64-absolute-symbols ................................. Passed 0.22 sec + 3/347 Test #6: aarch64-ar-alignment ..................................... Passed 0.53 sec test 15 Start 15: aarch64-bsymbolic-non-weak @@ -2738,16 +2767,29 @@ 15: MACHINE=aarch64 15: CPU= 15: Test timeout computed to be: 1500 +7: + readelf -W --dynamic out/test/aarch64/as-needed-dso/exe +10: 0x0000000000000001 (NEEDED) Shared library: [libfoo.so] +10: + grep -F 'Shared library: [libbar.so]' out/test/aarch64/as-needed/log +10: 0x0000000000000001 (NEEDED) Shared library: [libbar.so] +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 +13: + cc -c -o out/test/aarch64/bsymbolic-functions/c.o -xc - -fno-PIE +13: + cat +9: 0x0000000000000001 (NEEDED) Shared library: [libbar.so] +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 +8: + cc -B. -shared -o out/test/aarch64/as-needed-dso2/libbar.so out/test/aarch64/as-needed-dso2/b.o +12: + cat +12: + cc -c -o out/test/aarch64/bno-symbolic/c.o -xc - -fno-PIE +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 +4: + grep '^ip=0xa0000.$' +4: ip=0xa00008 +7: + grep libbar out/test/aarch64/as-needed-dso/log2 +7: 0x0000000000000001 (NEEDED) Shared library: [libbar.so] +7: + not grep libfoo out/test/aarch64/as-needed-dso/log2 15: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/bsymbolic-non-weak.sh -1: + on_exit -1: + echo OK -1: OK -1: + exit 0 15: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 15: ++ export LC_ALL=C 15: ++ LC_ALL=C 15: ++ '[' -z aarch64 ']' - 4/347 Test #1: aarch64-arch-aarch64-range-extension-thunk-disassembly ... Passed 0.24 sec 15: ++ '[' -z '' ']' 15: ++ TESTDIR=out/test/aarch64 15: ++ CC=cc @@ -2758,7 +2800,13 @@ 15: ++ OBJCOPY=objcopy 15: ++ STRIP=strip 15: ++ QEMU= -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 +4: + on_exit +4: + echo OK +4: OK +4: + exit 0 +7: + grep libfoo out/test/aarch64/as-needed-dso/log2 + 4/347 Test #4: aarch64-absolute-symbols ................................. Passed 0.55 sec +2: + readelf -W --dyn-syms out/test/aarch64/arch-aarch64-variant-pcs/b.so test 16 Start 16: aarch64-bsymbolic @@ -2768,22 +2816,43 @@ 16: MACHINE=aarch64 16: CPU= 16: Test timeout computed to be: 1500 +2: + grep foo +2: + grep -F '[VARIANT_PCS]' +7: + return 0 +7: + on_exit +7: + echo OK +7: OK +7: + exit 0 15: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/bsymbolic-non-weak.sh .sh 15: ++ testname=bsymbolic-non-weak 15: ++ t=out/test/aarch64/bsymbolic-non-weak 15: ++ mkdir -p out/test/aarch64/bsymbolic-non-weak + 5/347 Test #7: aarch64-as-needed-dso .................................... Passed 0.55 sec +16: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/bsymbolic.sh +test 17 + Start 17: aarch64-build-id + +17: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/build-id.sh" +17: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +17: Environment variables: +17: MACHINE=aarch64 +17: CPU= +17: Test timeout computed to be: 1500 +2: 5: 00000000000106a8 0 FUNC GLOBAL DEFAULT [VARIANT_PCS] 13 foo +2: + cat 15: ++ case $MACHINE in 15: ++ tlsdesc_opt=-mtls-dialect=desc 15: +++ uname -8: + cc -B. -shared -o out/test/aarch64/as-needed-dso2/libbar.so out/test/aarch64/as-needed-dso2/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 15: ++ '[' Linux = FreeBSD ']' 15: ++ trap 'on_error $LINENO' ERR 15: ++ trap on_exit EXIT 15: ++ echo -n 'Testing bsymbolic-non-weak ... ' 15: Testing bsymbolic-non-weak ... ++ set -o pipefail 15: ++ set -x -16: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/bsymbolic.sh +14: + cc -c -o out/test/aarch64/bsymbolic-non-weak-functions/c.o -xc - +2: + cc -c -o out/test/aarch64/arch-aarch64-variant-pcs/c.o -xc - +14: + cat +15: + cc -c -o out/test/aarch64/bsymbolic-non-weak/a.o -fPIC -xc - 16: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 16: ++ export LC_ALL=C 16: ++ LC_ALL=C @@ -2798,63 +2867,8 @@ 16: ++ OBJCOPY=objcopy 16: ++ STRIP=strip 16: ++ QEMU= -15: + cc -c -o out/test/aarch64/bsymbolic-non-weak/a.o -fPIC -xc - -16: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/bsymbolic.sh .sh -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 -16: ++ testname=bsymbolic -16: ++ t=out/test/aarch64/bsymbolic -16: ++ mkdir -p out/test/aarch64/bsymbolic -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 -7: + readelf -W --dynamic out/test/aarch64/as-needed-dso/exe 15: + cat -16: ++ case $MACHINE in -16: ++ tlsdesc_opt=-mtls-dialect=desc -16: +++ uname -7: + grep libbar out/test/aarch64/as-needed-dso/log2 -16: ++ '[' Linux = FreeBSD ']' -16: ++ trap 'on_error $LINENO' ERR -16: ++ trap on_exit EXIT -16: ++ echo -n 'Testing bsymbolic ... ' -16: Testing bsymbolic ... ++ set -o pipefail -16: ++ set -x -16: + 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 -7: 0x0000000000000001 (NEEDED) Shared library: [libbar.so] -7: + not grep libfoo out/test/aarch64/as-needed-dso/log2 -7: + grep libfoo out/test/aarch64/as-needed-dso/log2 -10: + readelf --dynamic out/test/aarch64/as-needed/exe -9: + readelf --dynamic out/test/aarch64/as-needed-weak/exe1 -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 -9: + grep -F 'Shared library: [libfoo.so]' out/test/aarch64/as-needed-weak/log1 -7: + return 0 -7: + on_exit -7: + echo OK -7: OK -7: + exit 0 - 5/347 Test #7: aarch64-as-needed-dso .................................... Passed 0.25 sec -test 17 - Start 17: aarch64-build-id - -17: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/build-id.sh" -17: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -17: Environment variables: -17: MACHINE=aarch64 -17: CPU= -17: Test timeout computed to be: 1500 -9: 0x0000000000000001 (NEEDED) Shared library: [libfoo.so] -9: + grep -F 'Shared library: [libbar.so]' out/test/aarch64/as-needed-weak/log1 -10: + grep -F 'Shared library: [libfoo.so]' out/test/aarch64/as-needed/log -9: 0x0000000000000001 (NEEDED) Shared library: [libbar.so] -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 -14: + cc -c -o out/test/aarch64/bsymbolic-non-weak-functions/c.o -xc - -10: 0x0000000000000001 (NEEDED) Shared library: [libfoo.so] -14: + 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 -10: + grep -F 'Shared library: [libbar.so]' out/test/aarch64/as-needed/log -10: 0x0000000000000001 (NEEDED) Shared library: [libbar.so] 17: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/build-id.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 17: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 17: ++ export LC_ALL=C 17: ++ LC_ALL=C @@ -2870,27 +2884,39 @@ 17: ++ STRIP=strip 17: ++ QEMU= 17: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/build-id.sh .sh -16: + cc -B. -shared -fPIC -o out/test/aarch64/bsymbolic/b.so out/test/aarch64/bsymbolic/a.o -Wl,-Bsymbolic +16: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/bsymbolic.sh .sh +16: ++ testname=bsymbolic +16: ++ t=out/test/aarch64/bsymbolic +16: ++ mkdir -p out/test/aarch64/bsymbolic +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 17: ++ testname=build-id 17: ++ t=out/test/aarch64/build-id 17: ++ mkdir -p out/test/aarch64/build-id +10: + readelf --dynamic out/test/aarch64/as-needed/exe 17: ++ case $MACHINE in 17: ++ tlsdesc_opt=-mtls-dialect=desc +16: ++ case $MACHINE in +16: ++ tlsdesc_opt=-mtls-dialect=desc +10: + grep -F 'Shared library: [libfoo.so]' out/test/aarch64/as-needed/log +16: +++ uname +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 +10: 0x0000000000000001 (NEEDED) Shared library: [libfoo.so] +10: + not grep -F 'Shared library: [libbar.so]' out/test/aarch64/as-needed/log +10: + grep -F 'Shared library: [libbar.so]' out/test/aarch64/as-needed/log 17: +++ uname +10: + return 0 +10: + on_exit +10: + echo OK +10: OK +10: + exit 0 17: ++ '[' Linux = FreeBSD ']' 17: ++ trap 'on_error $LINENO' ERR 17: ++ trap on_exit EXIT 17: ++ echo -n 'Testing build-id ... ' 17: Testing build-id ... ++ set -o pipefail 17: ++ set -x -17: + echo 'int main() { return 0; }' + 6/347 Test #10: aarch64-as-needed ........................................ Passed 0.58 sec 17: + cc -c -o out/test/aarch64/build-id/a.o -xc - -6: + on_exit -6: + echo OK -6: OK -6: + exit 0 -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 - 6/347 Test #6: aarch64-ar-alignment ..................................... Passed 0.28 sec test 18 Start 18: aarch64-canonical-plt @@ -2900,33 +2926,24 @@ 18: MACHINE=aarch64 18: CPU= 18: Test timeout computed to be: 1500 -13: + grep '3 3 0' -13: + out/test/aarch64/bsymbolic-functions/exe -2: + readelf -W --dynamic out/test/aarch64/arch-aarch64-variant-pcs/exe -13: 3 3 0 -13: + on_exit -13: + echo OK -13: OK -13: + exit 0 - 7/347 Test #13: aarch64-bsymbolic-functions .............................. Passed 0.24 sec -test 19 - Start 19: aarch64-cmdline - -19: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/cmdline.sh" -19: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -19: Environment variables: -19: MACHINE=aarch64 -19: CPU= -19: Test timeout computed to be: 1500 -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 +17: + echo 'int main() { return 0; }' +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 +16: ++ '[' Linux = FreeBSD ']' +16: ++ trap 'on_error $LINENO' ERR +16: ++ trap on_exit EXIT +16: ++ echo -n 'Testing bsymbolic ... ' +16: Testing bsymbolic ... ++ set -o pipefail +16: ++ set -x +16: + cat +16: + cc -c -fPIC -oout/test/aarch64/bsymbolic/a.o -xc - 18: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/canonical-plt.sh +9: + readelf --dynamic out/test/aarch64/as-needed-weak/exe2 18: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 18: ++ export LC_ALL=C 18: ++ LC_ALL=C 18: ++ '[' -z aarch64 ']' 18: ++ '[' -z '' ']' 18: ++ TESTDIR=out/test/aarch64 -2: + grep AARCH64_VARIANT_PCS 18: ++ CC=cc 18: ++ CXX=c++ 18: ++ GCC=gcc @@ -2935,14 +2952,40 @@ 18: ++ OBJCOPY=objcopy 18: ++ STRIP=strip 18: ++ QEMU= -2: 0x0000000070000005 (AARCH64_VARIANT_PCS) 0x0 -5: + on_exit -5: + echo OK -5: OK -5: + exit 0 -12: + grep '3 3 1' 18: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/canonical-plt.sh .sh - 8/347 Test #5: aarch64-allow-multiple-definition ........................ Passed 0.31 sec +18: ++ testname=canonical-plt +18: ++ t=out/test/aarch64/canonical-plt +18: ++ mkdir -p out/test/aarch64/canonical-plt +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 +18: ++ case $MACHINE in +18: ++ tlsdesc_opt=-mtls-dialect=desc +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 +9: + grep -F 'Shared library: [libfoo.so]' out/test/aarch64/as-needed-weak/log2 +9: 0x0000000000000001 (NEEDED) Shared library: [libfoo.so] +9: + not grep -F 'Shared library: [libbar.so]' out/test/aarch64/as-needed-weak/log2 +9: + grep -F 'Shared library: [libbar.so]' out/test/aarch64/as-needed-weak/log2 +1: 0000000020000020 : +1: 00000000100001d0 : +1: + on_exit +1: + echo OK +1: OK +1: + exit 0 + 7/347 Test #1: aarch64-arch-aarch64-range-extension-thunk-disassembly ... Passed 0.68 sec +9: + return 0 +9: + on_exit +9: + echo OK +9: OK +9: + exit 0 +test 19 + Start 19: aarch64-cmdline + +19: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/cmdline.sh" +19: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +19: Environment variables: +19: MACHINE=aarch64 +19: CPU= +19: Test timeout computed to be: 1500 + 8/347 Test #9: aarch64-as-needed-weak ................................... Passed 0.63 sec test 20 Start 20: aarch64-color-diagnostics @@ -2952,15 +2995,6 @@ 20: MACHINE=aarch64 20: CPU= 20: Test timeout computed to be: 1500 -2: + on_exit -2: + echo OK -2: OK -2: + exit 0 -18: ++ testname=canonical-plt -18: ++ t=out/test/aarch64/canonical-plt -18: ++ mkdir -p out/test/aarch64/canonical-plt -18: ++ case $MACHINE in -18: ++ tlsdesc_opt=-mtls-dialect=desc 18: +++ uname 18: ++ '[' Linux = FreeBSD ']' 18: ++ trap 'on_error $LINENO' ERR @@ -2969,8 +3003,12 @@ 18: Testing canonical-plt ... ++ set -o pipefail 18: ++ set -x 18: + '[' aarch64 = s390x ']' -18: + cc -o out/test/aarch64/canonical-plt/a.so -fPIC -shared -xc - 18: + cat +18: + cc -o out/test/aarch64/canonical-plt/a.so -fPIC -shared -xc - +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 +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 +13: + out/test/aarch64/bsymbolic-functions/exe +13: + grep '3 3 0' 19: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/cmdline.sh 19: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 19: ++ export LC_ALL=C @@ -2987,28 +3025,12 @@ 19: ++ STRIP=strip 19: ++ QEMU= 19: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/cmdline.sh .sh -19: ++ testname=cmdline -19: ++ t=out/test/aarch64/cmdline -19: ++ mkdir -p out/test/aarch64/cmdline -19: ++ case $MACHINE in -19: ++ tlsdesc_opt=-mtls-dialect=desc -19: +++ uname -12: + out/test/aarch64/bno-symbolic/exe -12: 3 3 1 -12: + on_exit -12: + echo OK -12: OK -12: + exit 0 -9: + readelf --dynamic out/test/aarch64/as-needed-weak/exe2 -9: + grep -F 'Shared library: [libfoo.so]' out/test/aarch64/as-needed-weak/log2 -9: 0x0000000000000001 (NEEDED) Shared library: [libfoo.so] -17: + cc -B. -o out/test/aarch64/build-id/exe1 out/test/aarch64/build-id/a.o -Wl,-build-id - 9/347 Test #2: aarch64-arch-aarch64-variant-pcs ......................... Passed 0.32 sec - 10/347 Test #12: aarch64-bno-symbolic ..................................... Passed 0.29 sec -9: + not grep -F 'Shared library: [libbar.so]' out/test/aarch64/as-needed-weak/log2 -9: + grep -F 'Shared library: [libbar.so]' out/test/aarch64/as-needed-weak/log2 -15: + cc -c -o out/test/aarch64/bsymbolic-non-weak/c.o -xc - -15: + cat +13: 3 3 0 +13: + on_exit +13: + echo OK +13: OK +13: + exit 0 + 9/347 Test #13: aarch64-bsymbolic-functions .............................. Passed 0.56 sec test 21 Start 21: aarch64-comment @@ -3018,30 +3040,28 @@ 21: MACHINE=aarch64 21: CPU= 21: Test timeout computed to be: 1500 -test 22 - Start 22: aarch64-common-archive - -22: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/common-archive.sh" -22: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -22: Environment variables: -22: MACHINE=aarch64 -22: CPU= -22: Test timeout computed to be: 1500 -9: + return 0 -9: + on_exit -9: + echo OK -9: OK -9: + exit 0 -19: ++ '[' Linux = FreeBSD ']' -19: ++ trap 'on_error $LINENO' ERR -19: ++ trap on_exit EXIT -19: ++ echo -n 'Testing cmdline ... ' -19: Testing cmdline ... ++ set -o pipefail -19: ++ set -x -19: + grep 'unknown command line option: -zfoo' -19: + not ./mold -zfoo -10: + readelf --dynamic out/test/aarch64/as-needed/exe -10: + grep -F 'Shared library: [libfoo.so]' out/test/aarch64/as-needed/log +19: ++ testname=cmdline +19: ++ t=out/test/aarch64/cmdline +19: ++ mkdir -p out/test/aarch64/cmdline +19: ++ case $MACHINE in +19: ++ tlsdesc_opt=-mtls-dialect=desc +2: + grep AARCH64_VARIANT_PCS +2: + readelf -W --dynamic out/test/aarch64/arch-aarch64-variant-pcs/exe +20: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/color-diagnostics.sh +20: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +20: ++ export LC_ALL=C +20: ++ LC_ALL=C +20: ++ '[' -z aarch64 ']' +20: ++ '[' -z '' ']' +20: ++ TESTDIR=out/test/aarch64 +20: ++ CC=cc +20: ++ CXX=c++ +20: ++ GCC=gcc +20: ++ GXX=g++ +20: ++ OBJDUMP=objdump +20: ++ OBJCOPY=objcopy +20: ++ STRIP=strip +20: ++ QEMU= 21: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/comment.sh 21: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 21: ++ export LC_ALL=C @@ -3057,7 +3077,59 @@ 21: ++ OBJCOPY=objcopy 21: ++ STRIP=strip 21: ++ QEMU= - 11/347 Test #9: aarch64-as-needed-weak ................................... Passed 0.31 sec +19: +++ uname +17: + cc -B. -o out/test/aarch64/build-id/exe1 out/test/aarch64/build-id/a.o -Wl,-build-id +21: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/comment.sh .sh +21: ++ testname=comment +21: ++ t=out/test/aarch64/comment +21: ++ mkdir -p out/test/aarch64/comment +16: + cc -B. -shared -fPIC -o out/test/aarch64/bsymbolic/b.so out/test/aarch64/bsymbolic/a.o -Wl,-Bsymbolic +2: 0x0000000070000005 (AARCH64_VARIANT_PCS) 0x0 +2: + on_exit +2: + echo OK +2: OK +2: + exit 0 +19: ++ '[' Linux = FreeBSD ']' + 10/347 Test #2: aarch64-arch-aarch64-variant-pcs ......................... Passed 0.71 sec +19: ++ trap 'on_error $LINENO' ERR +19: ++ trap on_exit EXIT +19: ++ echo -n 'Testing cmdline ... ' +19: Testing cmdline ... ++ set -o pipefail +19: ++ set -x +test 22 + Start 22: aarch64-common-archive + +22: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/common-archive.sh" +22: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +22: Environment variables: +22: MACHINE=aarch64 +22: CPU= +22: Test timeout computed to be: 1500 +19: + grep 'unknown command line option: -zfoo' +19: + not ./mold -zfoo +19: mold: warning: unknown command line option: -zfoo +20: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/color-diagnostics.sh .sh +20: ++ testname=color-diagnostics +20: ++ t=out/test/aarch64/color-diagnostics +20: ++ mkdir -p out/test/aarch64/color-diagnostics +21: ++ case $MACHINE in +21: ++ tlsdesc_opt=-mtls-dialect=desc +21: +++ uname +21: ++ '[' Linux = FreeBSD ']' +21: ++ trap 'on_error $LINENO' ERR +21: ++ trap on_exit EXIT +21: ++ echo -n 'Testing comment ... ' +21: Testing comment ... ++ set -o pipefail +21: ++ set -x +14: + out/test/aarch64/bsymbolic-non-weak-functions/exe +14: + grep '^3 3 3 3 3 7$' +14: 3 3 3 3 3 7 +14: + on_exit +14: + echo OK +14: OK +14: + exit 0 +12: + out/test/aarch64/bno-symbolic/exe + 11/347 Test #14: aarch64-bsymbolic-non-weak-functions ..................... Passed 0.33 sec test 23 Start 23: aarch64-common-ref @@ -3067,16 +3139,31 @@ 23: MACHINE=aarch64 23: CPU= 23: Test timeout computed to be: 1500 -19: mold: warning: unknown command line option: -zfoo 19: + not ./mold -z foo 19: + grep 'unknown command line option: -z foo' -21: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/comment.sh .sh -21: ++ testname=comment -21: ++ t=out/test/aarch64/comment -21: ++ mkdir -p out/test/aarch64/comment -21: ++ case $MACHINE in -21: ++ tlsdesc_opt=-mtls-dialect=desc +19: mold: warning: unknown command line option: -z foo +21: + cat +21: + cc -c -o out/test/aarch64/comment/a.o -xc - +20: ++ case $MACHINE in +20: ++ tlsdesc_opt=-mtls-dialect=desc +12: + grep '3 3 1' +12: 3 3 1 +12: + on_exit +12: + echo OK +12: OK +12: + exit 0 +8: + readelf --dynamic out/test/aarch64/as-needed-dso2/exe 22: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/common-archive.sh + 12/347 Test #12: aarch64-bno-symbolic ..................................... Passed 0.67 sec +test 24 + Start 24: aarch64-common-symbols + +24: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/common-symbols.sh" +24: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +24: Environment variables: +24: MACHINE=aarch64 +24: CPU= +24: Test timeout computed to be: 1500 22: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 22: ++ export LC_ALL=C 22: ++ LC_ALL=C @@ -3091,40 +3178,48 @@ 22: ++ OBJCOPY=objcopy 22: ++ STRIP=strip 22: ++ QEMU= -20: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/color-diagnostics.sh -20: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -20: ++ export LC_ALL=C -20: ++ LC_ALL=C -20: ++ '[' -z aarch64 ']' -20: ++ '[' -z '' ']' -20: ++ TESTDIR=out/test/aarch64 -20: ++ CC=cc -20: ++ CXX=c++ -20: ++ GCC=gcc -20: ++ GXX=g++ -20: ++ OBJDUMP=objdump -20: ++ OBJCOPY=objcopy -20: ++ STRIP=strip -20: ++ QEMU= -20: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/color-diagnostics.sh .sh -20: ++ testname=color-diagnostics -20: ++ t=out/test/aarch64/color-diagnostics -20: ++ mkdir -p out/test/aarch64/color-diagnostics -10: 0x0000000000000001 (NEEDED) Shared library: [libfoo.so] -10: + not grep -F 'Shared library: [libbar.so]' out/test/aarch64/as-needed/log -10: + grep -F 'Shared library: [libbar.so]' out/test/aarch64/as-needed/log -21: +++ uname -21: ++ '[' Linux = FreeBSD ']' -21: ++ trap 'on_error $LINENO' ERR -21: ++ trap on_exit EXIT -21: ++ echo -n 'Testing comment ... ' -21: Testing comment ... ++ set -o pipefail -21: ++ set -x 22: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/common-archive.sh .sh 22: ++ testname=common-archive 22: ++ t=out/test/aarch64/common-archive 22: ++ mkdir -p out/test/aarch64/common-archive +8: + not grep libfoo.so out/test/aarch64/as-needed-dso2/log +8: + grep libfoo.so out/test/aarch64/as-needed-dso2/log +20: +++ uname +20: ++ '[' Linux = FreeBSD ']' +20: ++ trap 'on_error $LINENO' ERR +20: ++ trap on_exit EXIT +20: ++ echo -n 'Testing color-diagnostics ... ' +20: Testing color-diagnostics ... ++ set -o pipefail +20: ++ set -x +19: + grep 'unknown command line option: -abcdefg' 23: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/common-ref.sh +18: + cc -o out/test/aarch64/canonical-plt/b.o -c -xc - -fPIC +18: + cat +15: + cat +15: + cc -c -o out/test/aarch64/bsymbolic-non-weak/c.o -xc - +8: + return 0 +8: + grep libbar.so out/test/aarch64/as-needed-dso2/log +19: + not ./mold -abcdefg +20: + cat +22: ++ case $MACHINE in +22: ++ tlsdesc_opt=-mtls-dialect=desc +22: +++ uname +24: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/common-symbols.sh +8: 0x0000000000000001 (NEEDED) Shared library: [libbar.so] +8: + on_exit +8: + echo OK +8: OK +8: + exit 0 + 13/347 Test #8: aarch64-as-needed-dso2 ................................... Passed 0.71 sec +test 25 + Start 25: aarch64-compress-debug-sections-zstd + +25: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/compress-debug-sections-zstd.sh" +25: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +25: Environment variables: +25: MACHINE=aarch64 +25: CPU= +25: Test timeout computed to be: 1500 23: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 23: ++ export LC_ALL=C 23: ++ LC_ALL=C @@ -3139,67 +3234,29 @@ 23: ++ OBJCOPY=objcopy 23: ++ STRIP=strip 23: ++ QEMU= -23: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/common-ref.sh .sh -20: ++ case $MACHINE in -20: ++ tlsdesc_opt=-mtls-dialect=desc -20: +++ uname -16: + cc -c -o out/test/aarch64/bsymbolic/c.o -xc - -fno-PIE -16: + cat -10: + return 0 -10: + on_exit -10: + echo OK -10: OK -10: + exit 0 - 12/347 Test #10: aarch64-as-needed ........................................ Passed 0.32 sec -20: ++ '[' Linux = FreeBSD ']' -test 24 - Start 24: aarch64-common-symbols - -24: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/common-symbols.sh" -24: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -24: Environment variables: -24: MACHINE=aarch64 -24: CPU= -24: Test timeout computed to be: 1500 -20: ++ trap 'on_error $LINENO' ERR -20: ++ trap on_exit EXIT -20: ++ echo -n 'Testing color-diagnostics ... ' -20: Testing color-diagnostics ... ++ set -o pipefail -20: ++ set -x 20: + cc -o out/test/aarch64/color-diagnostics/a.o -c -xc - -21: + cat -21: + cc -c -o out/test/aarch64/comment/a.o -xc - -22: ++ case $MACHINE in -22: ++ tlsdesc_opt=-mtls-dialect=desc -23: ++ testname=common-ref -23: ++ t=out/test/aarch64/common-ref -23: ++ mkdir -p out/test/aarch64/common-ref -22: +++ uname -23: ++ case $MACHINE in -23: ++ tlsdesc_opt=-mtls-dialect=desc -20: + cat -23: +++ uname 22: ++ '[' Linux = FreeBSD ']' 22: ++ trap 'on_error $LINENO' ERR 22: ++ trap on_exit EXIT 22: ++ echo -n 'Testing common-archive ... ' 22: Testing common-archive ... ++ set -o pipefail 22: ++ set -x -19: mold: warning: unknown command line option: -z foo -23: ++ '[' Linux = FreeBSD ']' -23: ++ trap 'on_error $LINENO' ERR -23: ++ trap on_exit EXIT -23: ++ echo -n 'Testing common-ref ... ' -23: Testing common-ref ... ++ set -o pipefail -23: ++ set -x -23: + 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 -19: + grep 'unknown command line option: -abcdefg' -22: + cc -fcommon -xc -c -o out/test/aarch64/common-archive/a.o - -22: + cat -8: + readelf --dynamic out/test/aarch64/as-needed-dso2/exe -24: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/common-symbols.sh -19: + not ./mold -abcdefg +25: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/compress-debug-sections-zstd.sh +25: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +25: ++ export LC_ALL=C +25: ++ LC_ALL=C +25: ++ '[' -z aarch64 ']' +25: ++ '[' -z '' ']' +25: ++ TESTDIR=out/test/aarch64 +25: ++ CC=cc +25: ++ CXX=c++ +25: ++ GCC=gcc +25: ++ GXX=g++ +25: ++ OBJDUMP=objdump +25: ++ OBJCOPY=objcopy +25: ++ STRIP=strip +25: ++ QEMU= +25: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/compress-debug-sections-zstd.sh .sh 24: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 24: ++ export LC_ALL=C 24: ++ LC_ALL=C @@ -3214,45 +3271,62 @@ 24: ++ OBJCOPY=objcopy 24: ++ STRIP=strip 24: ++ QEMU= -8: + not grep libfoo.so out/test/aarch64/as-needed-dso2/log -8: + grep libfoo.so out/test/aarch64/as-needed-dso2/log 24: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/common-symbols.sh .sh +22: + cat +19: mold: fatal: unknown command line option: -abcdefg +19: + grep 'unknown command line option: --abcdefg' +23: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/common-ref.sh .sh 24: ++ testname=common-symbols 24: ++ t=out/test/aarch64/common-symbols 24: ++ mkdir -p out/test/aarch64/common-symbols -8: + return 0 -8: + grep libbar.so out/test/aarch64/as-needed-dso2/log -23: + cc -fcommon -xc -c -o out/test/aarch64/common-ref/a.o - -17: + readelf -n out/test/aarch64/build-id/exe1 -8: 0x0000000000000001 (NEEDED) Shared library: [libbar.so] -8: + on_exit -8: + echo OK -8: OK -8: + exit 0 -14: + grep '^3 3 3 3 3 7$' -17: + grep 'GNU.*0x00000014.*NT_GNU_BUILD_ID' - 13/347 Test #8: aarch64-as-needed-dso2 ................................... Passed 0.35 sec -test 25 - Start 25: aarch64-compress-debug-sections-zstd - -25: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/compress-debug-sections-zstd.sh" -25: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -25: Environment variables: -25: MACHINE=aarch64 -25: CPU= -25: Test timeout computed to be: 1500 -14: + out/test/aarch64/bsymbolic-non-weak-functions/exe -14: 3 3 3 3 3 7 -14: + on_exit -14: + echo OK -14: OK -14: + exit 0 -18: + cc -o out/test/aarch64/canonical-plt/b.o -c -xc - -fPIC -18: + cat +22: + cc -fcommon -xc -c -o out/test/aarch64/common-archive/a.o - +19: + not ./mold --abcdefg +23: ++ testname=common-ref +23: ++ t=out/test/aarch64/common-ref +23: ++ mkdir -p out/test/aarch64/common-ref +25: ++ testname=compress-debug-sections-zstd +25: ++ t=out/test/aarch64/compress-debug-sections-zstd +25: ++ mkdir -p out/test/aarch64/compress-debug-sections-zstd +16: + cat +16: + cc -c -o out/test/aarch64/bsymbolic/c.o -xc - -fno-PIE +23: ++ case $MACHINE in +23: ++ tlsdesc_opt=-mtls-dialect=desc +23: +++ uname +19: mold: fatal: unknown command line option: --abcdefg +19: + on_exit +19: + echo OK +19: OK +19: + exit 0 24: ++ case $MACHINE in 24: ++ tlsdesc_opt=-mtls-dialect=desc - 14/347 Test #14: aarch64-bsymbolic-non-weak-functions ..................... Passed 0.19 sec 24: +++ uname +24: ++ '[' Linux = FreeBSD ']' +24: ++ trap 'on_error $LINENO' ERR +24: ++ trap on_exit EXIT +24: ++ echo -n 'Testing common-symbols ... ' +24: Testing common-symbols ... ++ set -o pipefail +24: ++ set -x +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 +25: ++ echo -n 'Testing compress-debug-sections-zstd ... ' +25: Testing compress-debug-sections-zstd ... ++ set -o pipefail +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 +21: + cc -B. -o out/test/aarch64/comment/exe out/test/aarch64/comment/a.o + 14/347 Test #19: aarch64-cmdline .......................................... Passed 0.12 sec + 15/347 Test #25: aarch64-compress-debug-sections-zstd .....................***Skipped 0.03 sec +24: + cc -fcommon -xc -c -o out/test/aarch64/common-symbols/a.o - test 26 Start 26: aarch64-compress-debug-sections @@ -3262,17 +3336,30 @@ 26: MACHINE=aarch64 26: CPU= 26: Test timeout computed to be: 1500 -24: ++ '[' Linux = FreeBSD ']' -24: ++ trap 'on_error $LINENO' ERR -24: ++ trap on_exit EXIT -24: ++ echo -n 'Testing common-symbols ... ' -24: Testing common-symbols ... ++ set -o pipefail -24: ++ set -x +test 27 + Start 27: aarch64-compressed-debug-info + +27: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/compressed-debug-info.sh" +27: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +27: Environment variables: +27: MACHINE=aarch64 +27: CPU= +27: Test timeout computed to be: 1500 24: + cat -24: + cc -fcommon -xc -c -o out/test/aarch64/common-symbols/a.o - -19: mold: fatal: unknown command line option: -abcdefg -19: + grep 'unknown command line option: --abcdefg' -19: + not ./mold --abcdefg +23: ++ '[' Linux = FreeBSD ']' +23: ++ trap 'on_error $LINENO' ERR +23: ++ trap on_exit EXIT +23: ++ echo -n 'Testing common-ref ... ' +23: Testing common-ref ... ++ set -o pipefail +23: ++ set -x +23: + cat +23: + cc -fcommon -xc -c -o out/test/aarch64/common-ref/a.o - +5: + on_exit +5: + echo OK +5: OK +5: + exit 0 +18: + 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 26: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/compress-debug-sections.sh 26: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 26: ++ export LC_ALL=C @@ -3288,89 +3375,35 @@ 26: ++ OBJCOPY=objcopy 26: ++ STRIP=strip 26: ++ QEMU= -25: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/compress-debug-sections-zstd.sh + 16/347 Test #5: aarch64-allow-multiple-definition ........................ Passed 0.79 sec +test 28 + Start 28: aarch64-copyrel-alignment + +28: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/copyrel-alignment.sh" +28: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +28: Environment variables: +28: MACHINE=aarch64 +28: CPU= +28: Test timeout computed to be: 1500 26: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/compress-debug-sections.sh .sh 26: ++ testname=compress-debug-sections 26: ++ t=out/test/aarch64/compress-debug-sections 26: ++ mkdir -p out/test/aarch64/compress-debug-sections -25: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -25: ++ export LC_ALL=C -25: ++ LC_ALL=C -25: ++ '[' -z aarch64 ']' -25: ++ '[' -z '' ']' -25: ++ TESTDIR=out/test/aarch64 -25: ++ CC=cc -25: ++ CXX=c++ -25: ++ GCC=gcc -25: ++ GXX=g++ -25: ++ OBJDUMP=objdump -25: ++ OBJCOPY=objcopy -25: ++ STRIP=strip -25: ++ QEMU= -19: mold: fatal: unknown command line option: --abcdefg -19: + on_exit -19: + echo OK -19: OK -19: + exit 0 -25: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/compress-debug-sections-zstd.sh .sh - 15/347 Test #19: aarch64-cmdline .......................................... Passed 0.07 sec +27: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/compressed-debug-info.sh 26: ++ case $MACHINE in 26: ++ tlsdesc_opt=-mtls-dialect=desc -test 27 - Start 27: aarch64-compressed-debug-info - -27: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/compressed-debug-info.sh" -27: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -27: Environment variables: -27: MACHINE=aarch64 -27: CPU= -27: Test timeout computed to be: 1500 26: +++ uname -25: ++ testname=compress-debug-sections-zstd -25: ++ t=out/test/aarch64/compress-debug-sections-zstd -25: ++ mkdir -p out/test/aarch64/compress-debug-sections-zstd -25: ++ case $MACHINE in -25: ++ tlsdesc_opt=-mtls-dialect=desc -20: + not ./mold -o out/test/aarch64/color-diagnostics/exe out/test/aarch64/color-diagnostics/a.o --color-diagnostics -20: + not grep $'\E' -20: + grep $'\E' -21: + cc -B. -o out/test/aarch64/comment/exe out/test/aarch64/comment/a.o -17: GNU 0x00000014 NT_GNU_BUILD_ID (unique build ID bitstring) -17: + cc -B. -o out/test/aarch64/build-id/exe2 out/test/aarch64/build-id/a.o -Wl,-build-id=uuid -25: +++ uname 26: ++ '[' Linux = FreeBSD ']' 26: ++ trap 'on_error $LINENO' ERR 26: ++ trap on_exit EXIT 26: ++ echo -n 'Testing compress-debug-sections ... ' 26: Testing compress-debug-sections ... ++ set -o pipefail 26: ++ set -x -25: ++ '[' Linux = FreeBSD ']' -25: ++ trap 'on_error $LINENO' ERR -25: ++ trap on_exit EXIT -25: ++ echo -n 'Testing compress-debug-sections-zstd ... ' -25: Testing compress-debug-sections-zstd ... ++ set -o pipefail -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 -26: + cc -c -g -o out/test/aarch64/compress-debug-sections/a.o -xc - 26: + cat - 16/347 Test #25: aarch64-compress-debug-sections-zstd .....................***Skipped 0.01 sec -test 28 - Start 28: aarch64-copyrel-alignment - -28: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/copyrel-alignment.sh" -28: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -28: Environment variables: -28: MACHINE=aarch64 -28: CPU= -28: Test timeout computed to be: 1500 -27: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/compressed-debug-info.sh +26: + cc -c -g -o out/test/aarch64/compress-debug-sections/a.o -xc - +18: + cc -o out/test/aarch64/canonical-plt/c.o -c -xc - -fno-PIC +17: + readelf -n out/test/aarch64/build-id/exe1 +28: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/copyrel-alignment.sh 27: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 27: ++ export LC_ALL=C 27: ++ LC_ALL=C @@ -3385,15 +3418,10 @@ 27: ++ OBJCOPY=objcopy 27: ++ STRIP=strip 27: ++ QEMU= -27: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/compressed-debug-info.sh .sh -27: ++ testname=compressed-debug-info -27: ++ t=out/test/aarch64/compressed-debug-info -27: ++ mkdir -p out/test/aarch64/compressed-debug-info -27: ++ case $MACHINE in -27: ++ tlsdesc_opt=-mtls-dialect=desc -28: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/copyrel-alignment.sh -27: +++ uname -16: + cc -B. -no-pie -o out/test/aarch64/bsymbolic/exe out/test/aarch64/bsymbolic/c.o out/test/aarch64/bsymbolic/b.so +17: + grep 'GNU.*0x00000014.*NT_GNU_BUILD_ID' +17: GNU 0x00000014 NT_GNU_BUILD_ID (unique build ID bitstring) +20: + not grep $'\E' +20: + grep $'\E' 28: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 28: ++ export LC_ALL=C 28: ++ LC_ALL=C @@ -3408,6 +3436,24 @@ 28: ++ OBJCOPY=objcopy 28: ++ STRIP=strip 28: ++ QEMU= +17: + cc -B. -o out/test/aarch64/build-id/exe2 out/test/aarch64/build-id/a.o -Wl,-build-id=uuid +22: + cat +27: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/compressed-debug-info.sh .sh +27: ++ testname=compressed-debug-info +27: ++ t=out/test/aarch64/compressed-debug-info +27: ++ mkdir -p out/test/aarch64/compressed-debug-info +28: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/copyrel-alignment.sh .sh +28: ++ testname=copyrel-alignment +28: ++ t=out/test/aarch64/copyrel-alignment +28: ++ mkdir -p out/test/aarch64/copyrel-alignment +24: + cc -fcommon -xc -c -o out/test/aarch64/common-symbols/b.o - +27: ++ case $MACHINE in +27: ++ tlsdesc_opt=-mtls-dialect=desc +28: ++ case $MACHINE in +28: ++ tlsdesc_opt=-mtls-dialect=desc +24: + cat +27: +++ uname +22: + cc -fcommon -xc -c -o out/test/aarch64/common-archive/b.o - 27: ++ '[' Linux = FreeBSD ']' 27: ++ trap 'on_error $LINENO' ERR 27: ++ trap on_exit EXIT @@ -3415,38 +3461,11 @@ 27: Testing compressed-debug-info ... ++ set -o pipefail 27: ++ set -x 27: + command -v dwarfdump +16: + cc -B. -no-pie -o out/test/aarch64/bsymbolic/exe out/test/aarch64/bsymbolic/c.o out/test/aarch64/bsymbolic/b.so 27: + c++ -c -o out/test/aarch64/compressed-debug-info/a.o -g -gz=zlib -xc++ - -24: + cat 27: + cat -20: + return 0 -24: + cc -fcommon -xc -c -o out/test/aarch64/common-symbols/b.o - -18: + cat -22: + cat -20: + grep $'\E' -20: + not ./mold -o out/test/aarch64/color-diagnostics/exe out/test/aarch64/color-diagnostics/a.o --color-diagnostics=always -18: + cc -o out/test/aarch64/canonical-plt/c.o -c -xc - -fno-PIC -22: + cc -fcommon -xc -c -o out/test/aarch64/common-archive/b.o - -28: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/copyrel-alignment.sh .sh -23: + cat -28: ++ testname=copyrel-alignment -28: ++ t=out/test/aarch64/copyrel-alignment -28: ++ mkdir -p out/test/aarch64/copyrel-alignment -23: + cc -fcommon -xc -c -o out/test/aarch64/common-ref/b.o - -28: ++ case $MACHINE in -28: ++ tlsdesc_opt=-mtls-dialect=desc -26: + cc -B. -o out/test/aarch64/compress-debug-sections/exe out/test/aarch64/compress-debug-sections/a.o -Wl,--compress-debug-sections=zlib -20: mold: error: undefined symbol: foo 28: +++ uname -20: + not ./mold -o out/test/aarch64/color-diagnostics/exe out/test/aarch64/color-diagnostics/a.o --color-diagnostics=never -20: + not grep $'\E' -20: + grep $'\E' -15: + grep '^3 3 3 3 4 7$' -15: + out/test/aarch64/bsymbolic-non-weak/exe -15: 3 3 3 3 4 7 -15: + on_exit -15: + echo OK -15: OK -15: + exit 0 +20: + not ./mold -o out/test/aarch64/color-diagnostics/exe out/test/aarch64/color-diagnostics/a.o --color-diagnostics 28: ++ '[' Linux = FreeBSD ']' 28: ++ trap 'on_error $LINENO' ERR 28: ++ trap on_exit EXIT @@ -3456,8 +3475,23 @@ 28: + '[' aarch64 = ppc64 ']' 28: + '[' aarch64 = ppc64le ']' 28: + [[ aarch64 = loongarch* ]] - 17/347 Test #15: aarch64-bsymbolic-non-weak ............................... Passed 0.19 sec 28: + cc -fPIC -shared -o out/test/aarch64/copyrel-alignment/a.so -xc - +28: + cat +26: + cc -B. -o out/test/aarch64/compress-debug-sections/exe out/test/aarch64/compress-debug-sections/a.o -Wl,--compress-debug-sections=zlib +22: + cc -fcommon -xc -c -o out/test/aarch64/common-archive/c.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 +21: + grep mold +15: + out/test/aarch64/bsymbolic-non-weak/exe +21: + readelf -p .comment out/test/aarch64/comment/exe +23: + cat +20: + return 0 +15: + grep '^3 3 3 3 4 7$' +15: 3 3 3 3 4 7 +15: + on_exit +15: + echo OK +15: OK +15: + exit 0 + 17/347 Test #15: aarch64-bsymbolic-non-weak ............................... Passed 0.32 sec test 29 Start 29: aarch64-copyrel-norelro @@ -3467,12 +3501,8 @@ 29: MACHINE=aarch64 29: CPU= 29: Test timeout computed to be: 1500 -28: + cat -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: + cat -22: + cat 29: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/copyrel-norelro.sh -27: + c++ -c -o out/test/aarch64/compressed-debug-info/b.o -g -gz=zlib -xc++ - +20: + grep $'\E' 29: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 29: ++ export LC_ALL=C 29: ++ LC_ALL=C @@ -3487,49 +3517,45 @@ 29: ++ OBJCOPY=objcopy 29: ++ STRIP=strip 29: ++ QEMU= -21: + readelf -p .comment out/test/aarch64/comment/exe -22: + cc -fcommon -xc -c -o out/test/aarch64/common-archive/c.o - -16: + out/test/aarch64/bsymbolic/exe -16: + grep '3 4' -16: 3 4 -16: + on_exit -16: + echo OK -16: OK -16: + exit 0 -21: + grep mold - 18/347 Test #16: aarch64-bsymbolic ........................................ Passed 0.19 sec -test 30 - Start 30: aarch64-copyrel-protected - -30: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/copyrel-protected.sh" -30: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -30: Environment variables: -30: MACHINE=aarch64 -30: CPU= -30: Test timeout computed to be: 1500 29: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/copyrel-norelro.sh .sh +20: + not ./mold -o out/test/aarch64/color-diagnostics/exe out/test/aarch64/color-diagnostics/a.o --color-diagnostics=always 29: ++ testname=copyrel-norelro 29: ++ t=out/test/aarch64/copyrel-norelro 29: ++ mkdir -p out/test/aarch64/copyrel-norelro 29: ++ case $MACHINE in 29: ++ 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 -23: + rm -f out/test/aarch64/common-ref/c.a -23: + ar rcs out/test/aarch64/common-ref/c.a out/test/aarch64/common-ref/b.o +29: +++ uname 21: [ 0] mold 2.37.1 (compatible with GNU ld) +23: + cc -fcommon -xc -c -o out/test/aarch64/common-ref/b.o - +29: ++ '[' Linux = FreeBSD ']' +29: ++ trap 'on_error $LINENO' ERR +29: ++ trap on_exit EXIT +29: ++ echo -n 'Testing copyrel-norelro ... ' +29: Testing copyrel-norelro ... ++ set -o pipefail +29: ++ set -x +29: + [[ aarch64 = ppc64* ]] +29: + [[ aarch64 = loongarch* ]] 21: + grep -E '\.comment.*\bMS\b' -20: + return 0 -20: + not ./mold -o out/test/aarch64/color-diagnostics/exe out/test/aarch64/color-diagnostics/a.o --color-diagnostics=auto -20: + not grep $'\E' -20: + grep $'\E' -17: + grep -E 'Build ID: ............4...[89abcdef]' -17: + readelf -nW out/test/aarch64/build-id/exe2 21: + readelf -SW out/test/aarch64/comment/exe +29: + cat +29: + cc -o out/test/aarch64/copyrel-norelro/a.o -c -xc -fno-PIE - +21: [28] .comment PROGBITS 0000000000000000 000a00 000045 01 MS 0 0 1 +21: + on_exit +21: + echo OK +21: OK +21: + exit 0 + 18/347 Test #21: aarch64-comment .......................................... Passed 0.19 sec +test 30 + Start 30: aarch64-copyrel-protected + +30: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/copyrel-protected.sh" +30: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +30: Environment variables: +30: MACHINE=aarch64 +30: CPU= +30: Test timeout computed to be: 1500 30: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/copyrel-protected.sh -17: GNU 0x00000010 NT_GNU_BUILD_ID (unique build ID bitstring) Build ID: 7a37e005f0ce41818f6c0da81256067c -17: + cc -B. -o out/test/aarch64/build-id/exe3 out/test/aarch64/build-id/a.o -Wl,-build-id=md5 -23: + cat -23: + cc -fcommon -xc -c -o out/test/aarch64/common-ref/d.o - +22: + cat 30: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 30: ++ export LC_ALL=C 30: ++ LC_ALL=C @@ -3545,36 +3571,16 @@ 30: ++ STRIP=strip 30: ++ QEMU= 30: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/copyrel-protected.sh .sh -21: [28] .comment PROGBITS 0000000000000000 000a00 000045 01 MS 0 0 1 -21: + on_exit -21: + echo OK -21: OK -21: + exit 0 +17: + readelf -nW out/test/aarch64/build-id/exe2 +17: + grep -E 'Build ID: ............4...[89abcdef]' +17: GNU 0x00000010 NT_GNU_BUILD_ID (unique build ID bitstring) Build ID: a3a1ab2d4ffc4683a5c48edb9b7c2619 +17: + cc -B. -o out/test/aarch64/build-id/exe3 out/test/aarch64/build-id/a.o -Wl,-build-id=md5 30: ++ testname=copyrel-protected 30: ++ t=out/test/aarch64/copyrel-protected 30: ++ mkdir -p out/test/aarch64/copyrel-protected - 19/347 Test #21: aarch64-comment .......................................... Passed 0.11 sec -test 31 - Start 31: aarch64-copyrel-relro - -31: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/copyrel-relro.sh" -31: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -31: Environment variables: -31: MACHINE=aarch64 -31: CPU= -31: Test timeout computed to be: 1500 30: ++ case $MACHINE in 30: ++ tlsdesc_opt=-mtls-dialect=desc 30: +++ uname -29: +++ uname -29: ++ '[' Linux = FreeBSD ']' -29: ++ trap 'on_error $LINENO' ERR -29: ++ trap on_exit EXIT -29: ++ echo -n 'Testing copyrel-norelro ... ' -29: Testing copyrel-norelro ... ++ set -o pipefail -29: ++ set -x -29: + [[ aarch64 = ppc64* ]] -29: + [[ aarch64 = loongarch* ]] 30: ++ '[' Linux = FreeBSD ']' 30: ++ trap 'on_error $LINENO' ERR 30: ++ trap on_exit EXIT @@ -3584,15 +3590,56 @@ 30: + '[' aarch64 = ppc64 ']' 30: + '[' aarch64 = ppc64le ']' 30: + [[ aarch64 = loongarch* ]] -29: + cat -29: + cc -o out/test/aarch64/copyrel-norelro/a.o -c -xc -fno-PIE - +30: + cc -o out/test/aarch64/copyrel-protected/a.o -c -xc -fno-PIE - 30: + cat -20: + return 0 +20: mold: error: undefined symbol: foo +16: + grep '3 4' +16: + out/test/aarch64/bsymbolic/exe +16: 3 4 +20: + not grep $'\E' +20: + grep $'\E' +26: + readelf -WS out/test/aarch64/compress-debug-sections/exe +18: + grep '^1 1 1$' +16: + on_exit +16: + echo OK +16: OK +16: + exit 0 + 19/347 Test #16: aarch64-bsymbolic ........................................ Passed 0.35 sec +20: + not ./mold -o out/test/aarch64/color-diagnostics/exe out/test/aarch64/color-diagnostics/a.o --color-diagnostics=never +test 31 + Start 31: aarch64-copyrel-relro + +31: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/copyrel-relro.sh" +31: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +31: Environment variables: +31: MACHINE=aarch64 +31: CPU= +31: Test timeout computed to be: 1500 +18: + out/test/aarch64/canonical-plt/exe +18: 1 1 1 +18: + on_exit +18: + echo OK +18: OK +18: + exit 0 + 20/347 Test #18: aarch64-canonical-plt .................................... Passed 0.30 sec +test 32 + Start 32: aarch64-copyrel-relro2 + +32: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/copyrel-relro2.sh" +32: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +32: Environment variables: +32: MACHINE=aarch64 +32: CPU= +32: Test timeout computed to be: 1500 +26: + grep '\.debug_info .* [Cx] ' out/test/aarch64/compress-debug-sections/log +26: [32] .debug_info PROGBITS 0000000000000000 000b59 00007c 00 C 0 0 1 +26: + grep '\.debug_str .* MS[Cx] ' out/test/aarch64/compress-debug-sections/log +26: [35] .debug_str PROGBITS 0000000000000000 000ca6 00009e 01 MSC 0 0 1 +26: + on_exit +26: + echo OK +26: OK +26: + exit 0 31: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/copyrel-relro.sh -20: + on_exit -20: + echo OK -20: OK -20: + exit 0 31: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 31: ++ export LC_ALL=C 31: ++ LC_ALL=C @@ -3608,40 +3655,46 @@ 31: ++ STRIP=strip 31: ++ QEMU= 31: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/copyrel-relro.sh .sh -30: + cc -o out/test/aarch64/copyrel-protected/a.o -c -xc -fno-PIE - - 20/347 Test #20: aarch64-color-diagnostics ................................ Passed 0.13 sec -test 32 - Start 32: aarch64-copyrel-relro2 - -32: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/copyrel-relro2.sh" -32: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -32: Environment variables: -32: MACHINE=aarch64 -32: CPU= -32: Test timeout computed to be: 1500 31: ++ testname=copyrel-relro 31: ++ t=out/test/aarch64/copyrel-relro 31: ++ mkdir -p out/test/aarch64/copyrel-relro -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: + cat -28: + cc -fPIC -shared -o out/test/aarch64/copyrel-alignment/b.so -xc - 31: ++ case $MACHINE in 31: ++ tlsdesc_opt=-mtls-dialect=desc -22: + cc -fcommon -xc -c -o out/test/aarch64/common-archive/d.o - 31: +++ uname 31: ++ '[' Linux = FreeBSD ']' -32: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/copyrel-relro2.sh 31: ++ trap 'on_error $LINENO' ERR 31: ++ trap on_exit EXIT 31: ++ echo -n 'Testing copyrel-relro ... ' 31: Testing copyrel-relro ... ++ set -o pipefail 31: ++ set -x -28: + cat -24: + out/test/aarch64/common-symbols/exe -24: + grep '0 5 42' 31: + cc -o out/test/aarch64/copyrel-relro/a.o -c -xc -fno-PIE - -24: 0 5 42 -24: + readelf --sections out/test/aarch64/common-symbols/exe +31: + cat +29: + cat +29: + cc -B. -fPIC -shared -o out/test/aarch64/copyrel-norelro/b.so -xc - +23: + rm -f out/test/aarch64/common-ref/c.a +23: + ar rcs out/test/aarch64/common-ref/c.a out/test/aarch64/common-ref/b.o +22: + cc -fcommon -xc -c -o out/test/aarch64/common-archive/d.o - +22: + cat +20: + return 0 +24: + cc -B. -o out/test/aarch64/common-symbols/exe out/test/aarch64/common-symbols/a.o out/test/aarch64/common-symbols/b.o +30: + cc -shared -o out/test/aarch64/copyrel-protected/b.so -xc - + 21/347 Test #26: aarch64-compress-debug-sections .......................... Passed 0.16 sec +30: + cat +test 33 + Start 33: aarch64-copyrel + +33: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/copyrel.sh" +33: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +33: Environment variables: +33: MACHINE=aarch64 +33: CPU= +33: Test timeout computed to be: 1500 +28: + cc -fPIC -shared -o out/test/aarch64/copyrel-alignment/b.so -xc - +20: + not grep $'\E' +20: + grep $'\E' +20: + not ./mold -o out/test/aarch64/color-diagnostics/exe out/test/aarch64/color-diagnostics/a.o --color-diagnostics=auto +32: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/copyrel-relro2.sh +23: + cc -fcommon -xc -c -o out/test/aarch64/common-ref/d.o - 32: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 32: ++ export LC_ALL=C 32: ++ LC_ALL=C @@ -3656,49 +3709,14 @@ 32: ++ OBJCOPY=objcopy 32: ++ STRIP=strip 32: ++ QEMU= -32: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/copyrel-relro2.sh .sh -31: + cat -24: + grep '.common .*NOBITS' out/test/aarch64/common-symbols/log -32: ++ testname=copyrel-relro2 -32: ++ t=out/test/aarch64/copyrel-relro2 -32: ++ mkdir -p out/test/aarch64/copyrel-relro2 -24: [29] .common NOBITS 0000000000030ae4 00000ae0 -32: ++ case $MACHINE in -32: ++ tlsdesc_opt=-mtls-dialect=desc -24: + on_exit -24: + echo OK -24: OK -24: + exit 0 - 21/347 Test #24: aarch64-common-symbols ................................... Passed 0.12 sec -test 33 - Start 33: aarch64-copyrel - -33: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/copyrel.sh" -33: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -33: Environment variables: -33: MACHINE=aarch64 -33: CPU= -33: Test timeout computed to be: 1500 -23: + rm -f out/test/aarch64/common-ref/e.a -32: +++ uname -30: + cat -32: ++ '[' Linux = FreeBSD ']' -32: ++ trap 'on_error $LINENO' ERR -32: ++ trap on_exit EXIT -32: ++ echo -n 'Testing copyrel-relro2 ... ' -32: Testing copyrel-relro2 ... ++ set -o pipefail -32: ++ set -x -30: + cc -shared -o out/test/aarch64/copyrel-protected/b.so -xc - +28: + cat +23: + cat 33: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/copyrel.sh -23: + ar rcs out/test/aarch64/common-ref/e.a out/test/aarch64/common-ref/d.o -26: + readelf -WS out/test/aarch64/compress-debug-sections/exe +32: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/copyrel-relro2.sh .sh 33: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 33: ++ export LC_ALL=C 33: ++ LC_ALL=C 33: ++ '[' -z aarch64 ']' -32: + cc -o out/test/aarch64/copyrel-relro2/a.o -c -xc -fno-PIE - -22: + rm -f out/test/aarch64/common-archive/e.a -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: ++ '[' -z '' ']' 33: ++ TESTDIR=out/test/aarch64 33: ++ CC=cc @@ -3709,32 +3727,25 @@ 33: ++ OBJCOPY=objcopy 33: ++ STRIP=strip 33: ++ QEMU= -32: + cat -26: + grep '\.debug_info .* [Cx] ' out/test/aarch64/compress-debug-sections/log +17: + readelf -n out/test/aarch64/build-id/exe3 +17: + grep 'GNU.*0x00000010.*NT_GNU_BUILD_ID' +17: GNU 0x00000010 NT_GNU_BUILD_ID (unique build ID bitstring) 33: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/copyrel.sh .sh +32: ++ testname=copyrel-relro2 +32: ++ t=out/test/aarch64/copyrel-relro2 +32: ++ mkdir -p out/test/aarch64/copyrel-relro2 +17: + cc -B. -o out/test/aarch64/build-id/exe4 out/test/aarch64/build-id/a.o -Wl,-build-id=sha1 +20: + return 0 33: ++ testname=copyrel 33: ++ t=out/test/aarch64/copyrel 33: ++ mkdir -p out/test/aarch64/copyrel -18: + out/test/aarch64/canonical-plt/exe -26: [32] .debug_info PROGBITS 0000000000000000 000b59 00007c 00 C 0 0 1 -18: + grep '^1 1 1$' -26: + grep '\.debug_str .* MS[Cx] ' out/test/aarch64/compress-debug-sections/log -18: 1 1 1 -18: + on_exit -18: + echo OK -18: OK -18: + exit 0 -26: [35] .debug_str PROGBITS 0000000000000000 000ca6 00009e 01 MSC 0 0 1 -33: ++ case $MACHINE in -33: ++ tlsdesc_opt=-mtls-dialect=desc -26: + on_exit -26: + echo OK -26: OK -26: + exit 0 -29: + cat -29: + cc -B. -fPIC -shared -o out/test/aarch64/copyrel-norelro/b.so -xc - - 22/347 Test #26: aarch64-compress-debug-sections .......................... Passed 0.12 sec - 23/347 Test #18: aarch64-canonical-plt .................................... Passed 0.19 sec +32: ++ case $MACHINE in +32: ++ tlsdesc_opt=-mtls-dialect=desc +20: + on_exit +20: + echo OK +20: OK +20: + exit 0 + 22/347 Test #20: aarch64-color-diagnostics ................................ Passed 0.30 sec test 34 Start 34: aarch64-ctors-in-init-array @@ -3744,15 +3755,15 @@ 34: MACHINE=aarch64 34: CPU= 34: Test timeout computed to be: 1500 -test 35 - Start 35: aarch64-dead-debug-sections - -35: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/dead-debug-sections.sh" -35: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -35: Environment variables: -35: MACHINE=aarch64 -35: CPU= -35: Test timeout computed to be: 1500 +32: +++ uname +32: ++ '[' Linux = FreeBSD ']' +32: ++ trap 'on_error $LINENO' ERR +32: ++ trap on_exit EXIT +32: ++ echo -n 'Testing copyrel-relro2 ... ' +32: Testing copyrel-relro2 ... ++ set -o pipefail +32: ++ set -x +33: ++ case $MACHINE in +33: ++ tlsdesc_opt=-mtls-dialect=desc 33: +++ uname 33: ++ '[' Linux = FreeBSD ']' 33: ++ trap 'on_error $LINENO' ERR @@ -3760,8 +3771,10 @@ 33: ++ echo -n 'Testing copyrel ... ' 33: Testing copyrel ... ++ set -o pipefail 33: ++ set -x +27: + cat +32: + cc -o out/test/aarch64/copyrel-relro2/a.o -c -xc -fno-PIE - +32: + cat 33: + cc -fno-PIC -o out/test/aarch64/copyrel/a.o -c -xc - -33: + cat 34: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/ctors-in-init-array.sh 34: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 34: ++ export LC_ALL=C @@ -3777,12 +3790,21 @@ 34: ++ OBJCOPY=objcopy 34: ++ STRIP=strip 34: ++ QEMU= +27: + c++ -c -o out/test/aarch64/compressed-debug-info/b.o -g -gz=zlib -xc++ - +33: + cat 34: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/ctors-in-init-array.sh .sh 34: ++ testname=ctors-in-init-array 34: ++ t=out/test/aarch64/ctors-in-init-array 34: ++ mkdir -p out/test/aarch64/ctors-in-init-array 34: ++ case $MACHINE in 34: ++ tlsdesc_opt=-mtls-dialect=desc +31: + cat +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 +30: + not 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 +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 +30: + grep -F 'cannot create a copy relocation for protected symbol' +31: + cc -fPIC -shared -o out/test/aarch64/copyrel-relro/b.so -xc - 34: +++ uname 34: ++ '[' Linux = FreeBSD ']' 34: ++ trap 'on_error $LINENO' ERR @@ -3790,68 +3812,55 @@ 34: ++ echo -n 'Testing ctors-in-init-array ... ' 34: Testing ctors-in-init-array ... ++ set -o pipefail 34: ++ set -x -34: + cat -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 -17: + readelf -n out/test/aarch64/build-id/exe3 -17: + grep 'GNU.*0x00000010.*NT_GNU_BUILD_ID' -17: GNU 0x00000010 NT_GNU_BUILD_ID (unique build ID bitstring) -17: + cc -B. -o out/test/aarch64/build-id/exe4 out/test/aarch64/build-id/a.o -Wl,-build-id=sha1 +34: + cc -o out/test/aarch64/ctors-in-init-array/a.o -c -xc - 28: + cc -fPIC -shared -o out/test/aarch64/copyrel-alignment/c.so -xc - 28: + cat -35: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/dead-debug-sections.sh -35: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -35: ++ export LC_ALL=C -35: ++ LC_ALL=C -35: ++ '[' -z aarch64 ']' -35: ++ '[' -z '' ']' -35: ++ TESTDIR=out/test/aarch64 -35: ++ CC=cc -35: ++ CXX=c++ -35: ++ GCC=gcc -35: ++ GXX=g++ -35: ++ OBJDUMP=objdump -35: ++ OBJCOPY=objcopy -35: ++ STRIP=strip -35: ++ QEMU= -34: + cc -o out/test/aarch64/ctors-in-init-array/a.o -c -xc - -35: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/dead-debug-sections.sh .sh -31: + cc -fPIC -shared -o out/test/aarch64/copyrel-relro/b.so -xc - -35: ++ testname=dead-debug-sections -35: ++ t=out/test/aarch64/dead-debug-sections -35: ++ mkdir -p out/test/aarch64/dead-debug-sections -31: + cat -35: ++ case $MACHINE in -35: ++ tlsdesc_opt=-mtls-dialect=desc -35: +++ uname -30: + grep -F 'cannot create a copy relocation for protected symbol' -27: + dwarfdump out/test/aarch64/compressed-debug-info/exe -30: + not 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 -35: ++ '[' Linux = FreeBSD ']' -35: ++ trap 'on_error $LINENO' ERR -35: ++ trap on_exit EXIT -35: ++ echo -n 'Testing dead-debug-sections ... ' -35: Testing dead-debug-sections ... ++ set -o pipefail -35: ++ set -x -35: + command -v dwarfdump -35: + c++ -c -o out/test/aarch64/dead-debug-sections/a.o -g -xc++ - -35: + cat +22: + rm -f out/test/aarch64/common-archive/e.a +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 +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 +22: + cc -B. -o out/test/aarch64/common-archive/exe out/test/aarch64/common-archive/a.o out/test/aarch64/common-archive/e.a 32: + cc -B. -fPIC -shared -o out/test/aarch64/copyrel-relro2/b.so -xc - -33: + cat -33: + cc -fno-PIC -o out/test/aarch64/copyrel/b.o -c -xc - -28: + cat 32: + cat -28: + cc -fno-PIE -o out/test/aarch64/copyrel-alignment/d.o -c -xc - +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 +33: + cc -fno-PIC -o out/test/aarch64/copyrel/b.o -c -xc - +24: + out/test/aarch64/common-symbols/exe +33: + cat +24: + grep '0 5 42' +24: 0 5 42 +24: + readelf --sections out/test/aarch64/common-symbols/exe 23: + out/test/aarch64/common-ref/exe 23: + grep 5 -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 -34: + cc -o out/test/aarch64/ctors-in-init-array/b.o -c -xc - 23: 5 23: + on_exit 23: + echo OK 23: OK 23: + exit 0 - 24/347 Test #23: aarch64-common-ref ....................................... Passed 0.21 sec +17: + grep 'GNU.*0x00000014.*NT_GNU_BUILD_ID' +17: + readelf -n out/test/aarch64/build-id/exe4 + 23/347 Test #23: aarch64-common-ref ....................................... Passed 0.36 sec +24: + grep '.common .*NOBITS' out/test/aarch64/common-symbols/log +test 35 + Start 35: aarch64-dead-debug-sections + +35: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/dead-debug-sections.sh" +35: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +35: Environment variables: +35: MACHINE=aarch64 +35: CPU= +35: Test timeout computed to be: 1500 +24: [29] .common NOBITS 0000000000030ae4 00000ae0 +24: + on_exit +24: + echo OK +24: OK +24: + exit 0 +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 +28: + cat +28: + cc -fno-PIE -o out/test/aarch64/copyrel-alignment/d.o -c -xc - +17: GNU 0x00000014 NT_GNU_BUILD_ID (unique build ID bitstring) + 24/347 Test #24: aarch64-common-symbols ................................... Passed 0.36 sec +17: + cc -B. -o out/test/aarch64/build-id/exe5 out/test/aarch64/build-id/a.o -Wl,-build-id=sha256 +34: + cc -o out/test/aarch64/ctors-in-init-array/b.o -c -xc - test 36 Start 36: aarch64-debug-macro-section @@ -3862,9 +3871,6 @@ 36: CPU= 36: Test timeout computed to be: 1500 34: + cat -17: + grep 'GNU.*0x00000014.*NT_GNU_BUILD_ID' -22: + grep '5 0 0 -1' -17: + readelf -n out/test/aarch64/build-id/exe4 36: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/debug-macro-section.sh 36: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 36: ++ export LC_ALL=C @@ -3880,41 +3886,35 @@ 36: ++ OBJCOPY=objcopy 36: ++ STRIP=strip 36: ++ QEMU= -17: GNU 0x00000014 NT_GNU_BUILD_ID (unique build ID bitstring) -33: + cat -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 -33: + cc -fPIC -o out/test/aarch64/copyrel/c.o -c -xc - -17: + cc -B. -o out/test/aarch64/build-id/exe5 out/test/aarch64/build-id/a.o -Wl,-build-id=sha256 +35: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/dead-debug-sections.sh 36: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/debug-macro-section.sh .sh -22: + out/test/aarch64/common-archive/exe +35: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +35: ++ export LC_ALL=C +35: ++ LC_ALL=C +35: ++ '[' -z aarch64 ']' +35: ++ '[' -z '' ']' +35: ++ TESTDIR=out/test/aarch64 +35: ++ CC=cc +35: ++ CXX=c++ +35: ++ GCC=gcc +35: ++ GXX=g++ +35: ++ OBJDUMP=objdump +35: ++ OBJCOPY=objcopy +35: ++ STRIP=strip +35: ++ QEMU= +35: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/dead-debug-sections.sh .sh +35: ++ testname=dead-debug-sections +35: ++ t=out/test/aarch64/dead-debug-sections +35: ++ mkdir -p out/test/aarch64/dead-debug-sections 36: ++ testname=debug-macro-section 36: ++ t=out/test/aarch64/debug-macro-section 36: ++ mkdir -p out/test/aarch64/debug-macro-section -22: 5 0 0 -1 -35: + c++ -c -o out/test/aarch64/dead-debug-sections/b.o -g -xc++ - -35: + cat -22: + cc -fcommon -xc -c -o out/test/aarch64/common-archive/f.o - +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: ++ case $MACHINE in 36: ++ tlsdesc_opt=-mtls-dialect=desc 36: +++ uname -27: + readelf --sections out/test/aarch64/compressed-debug-info/exe -22: + cat -27: + grep -F .debug_info -27: [31] .debug_info PROGBITS 0000000000000000 00000b27 -27: + on_exit -27: + echo OK -27: OK -27: + exit 0 - 25/347 Test #27: aarch64-compressed-debug-info ............................ Passed 0.18 sec -test 37 - Start 37: aarch64-default-symver - -37: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/default-symver.sh" -37: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -37: Environment variables: -37: MACHINE=aarch64 -37: CPU= -37: Test timeout computed to be: 1500 +35: ++ case $MACHINE in +35: ++ tlsdesc_opt=-mtls-dialect=desc 36: ++ '[' Linux = FreeBSD ']' 36: ++ trap 'on_error $LINENO' ERR 36: ++ trap on_exit EXIT @@ -3922,28 +3922,48 @@ 36: Testing debug-macro-section ... ++ set -o pipefail 36: ++ set -x 36: + cat +35: +++ uname +35: ++ '[' Linux = FreeBSD ']' +35: ++ trap 'on_error $LINENO' ERR +35: ++ trap on_exit EXIT +35: ++ echo -n 'Testing dead-debug-sections ... ' +35: Testing dead-debug-sections ... ++ set -o pipefail +35: ++ set -x +35: + command -v dwarfdump +35: + cat 36: + gcc -o out/test/aarch64/debug-macro-section/b.o -c -xc - -Iout/test/aarch64/debug-macro-section -g3 +35: + c++ -c -o out/test/aarch64/dead-debug-sections/a.o -g -xc++ - +22: + out/test/aarch64/common-archive/exe +22: + grep '5 0 0 -1' +22: 5 0 0 -1 +22: + cc -fcommon -xc -c -o out/test/aarch64/common-archive/f.o - 36: + cat +33: + cat +22: + cat +33: + cc -fPIC -o out/test/aarch64/copyrel/c.o -c -xc - 30: mold: error: out/test/aarch64/copyrel-protected/b.so: cannot create a copy relocation for protected symbol 'foo'; recompile with -fPIC 30: + on_exit 30: + echo OK 30: OK 30: + exit 0 -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 -33: + cc -B. -shared -o out/test/aarch64/copyrel/c.so out/test/aarch64/copyrel/c.o -37: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/default-symver.sh - 26/347 Test #30: aarch64-copyrel-protected ................................ Passed 0.15 sec -test 38 - Start 38: aarch64-defsym-lto + 25/347 Test #30: aarch64-copyrel-protected ................................ Passed 0.25 sec +test 37 + Start 37: aarch64-default-symver -38: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/defsym-lto.sh" -38: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -38: Environment variables: -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 -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 +37: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/default-symver.sh" +37: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +37: Environment variables: +37: MACHINE=aarch64 +37: CPU= +37: Test timeout computed to be: 1500 +29: + readelf -W --sections out/test/aarch64/copyrel-norelro/exe1 +35: + cat +35: + c++ -c -o out/test/aarch64/dead-debug-sections/b.o -g -xc++ - +37: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/default-symver.sh +29: + grep -F .copyrel.rel.ro +29: [22] .copyrel.rel.ro NOBITS 00000000002209e8 0009e8 000064 00 WA 0 0 8 +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 +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 37: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 37: ++ export LC_ALL=C 37: ++ LC_ALL=C @@ -3958,11 +3978,53 @@ 37: ++ OBJCOPY=objcopy 37: ++ STRIP=strip 37: ++ QEMU= -38: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/defsym-lto.sh 37: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/default-symver.sh .sh 37: ++ testname=default-symver 37: ++ t=out/test/aarch64/default-symver 37: ++ mkdir -p out/test/aarch64/default-symver +37: ++ case $MACHINE in +37: ++ tlsdesc_opt=-mtls-dialect=desc +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 +36: + cat +31: + grep '^sigsegv 0 1$' +37: +++ uname +37: ++ '[' Linux = FreeBSD ']' +37: ++ trap 'on_error $LINENO' ERR +37: ++ trap on_exit EXIT +37: ++ echo -n 'Testing default-symver ... ' +37: Testing default-symver ... ++ set -o pipefail +37: ++ set -x +22: + rm -f out/test/aarch64/common-archive/f.a +36: + gcc -o out/test/aarch64/debug-macro-section/c.o -c -xc - -Iout/test/aarch64/debug-macro-section -g3 +31: + out/test/aarch64/copyrel-relro/exe +31: sigsegv 0 1 +22: + ar rcs out/test/aarch64/common-archive/f.a out/test/aarch64/common-archive/b.o out/test/aarch64/common-archive/f.o +31: + on_exit +31: + echo OK +31: OK +31: + exit 0 + 26/347 Test #31: aarch64-copyrel-relro .................................... Passed 0.26 sec +test 38 + Start 38: aarch64-defsym-lto + +38: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/defsym-lto.sh" +38: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +38: Environment variables: +38: MACHINE=aarch64 +38: CPU= +38: Test timeout computed to be: 1500 +22: + cc -B. -o out/test/aarch64/common-archive/exe out/test/aarch64/common-archive/a.o out/test/aarch64/common-archive/f.a +33: + cc -B. -shared -o out/test/aarch64/copyrel/c.so out/test/aarch64/copyrel/c.o +37: + cc -o out/test/aarch64/default-symver/a.o -c -xc - +37: + cat +27: + dwarfdump out/test/aarch64/compressed-debug-info/exe +17: + grep 'GNU.*0x00000020.*NT_GNU_BUILD_ID' +28: + out/test/aarch64/copyrel-alignment/exe1 +38: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/defsym-lto.sh +17: + readelf -n out/test/aarch64/build-id/exe5 +28: + grep '\.copyrel.* 32$' +17: GNU 0x00000020 NT_GNU_BUILD_ID (unique build ID bitstring) +17: + cc -B. -o out/test/aarch64/build-id/exe6 out/test/aarch64/build-id/a.o -Wl,-build-id=fast 38: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 38: ++ export LC_ALL=C 38: ++ LC_ALL=C @@ -3977,40 +4039,34 @@ 38: ++ OBJCOPY=objcopy 38: ++ STRIP=strip 38: ++ QEMU= -29: + grep -F .copyrel.rel.ro -29: + readelf -W --sections out/test/aarch64/copyrel-norelro/exe1 -37: ++ case $MACHINE in -37: ++ tlsdesc_opt=-mtls-dialect=desc -37: +++ uname -29: [22] .copyrel.rel.ro NOBITS 00000000002209e8 0009e8 000064 00 WA 0 0 8 -22: + rm -f out/test/aarch64/common-archive/f.a -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 -37: ++ '[' Linux = FreeBSD ']' -22: + ar rcs out/test/aarch64/common-archive/f.a out/test/aarch64/common-archive/b.o out/test/aarch64/common-archive/f.o -37: ++ trap 'on_error $LINENO' ERR -37: ++ trap on_exit EXIT -37: ++ echo -n 'Testing default-symver ... ' -37: Testing default-symver ... ++ set -o pipefail -37: ++ set -x -37: + cc -o out/test/aarch64/default-symver/a.o -c -xc - 38: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/defsym-lto.sh .sh -35: + cat -35: + c++ -o out/test/aarch64/dead-debug-sections/c.o -c -xc++ -g - -22: + cc -B. -o out/test/aarch64/common-archive/exe out/test/aarch64/common-archive/a.o out/test/aarch64/common-archive/f.a -31: + out/test/aarch64/copyrel-relro/exe -31: + grep '^sigsegv 0 1$' -31: sigsegv 0 1 38: ++ testname=defsym-lto 38: ++ t=out/test/aarch64/defsym-lto 38: ++ mkdir -p out/test/aarch64/defsym-lto -37: + cat 38: ++ case $MACHINE in 38: ++ tlsdesc_opt=-mtls-dialect=desc -31: + on_exit -31: + echo OK -31: OK -31: + exit 0 - 27/347 Test #31: aarch64-copyrel-relro .................................... Passed 0.15 sec +38: +++ uname +32: + out/test/aarch64/copyrel-relro2/exe +32: + grep '^sigsegv 0 1$' +35: + c++ -o out/test/aarch64/dead-debug-sections/c.o -c -xc++ -g - +35: + cat +28: + readelf -W --sections out/test/aarch64/copyrel-alignment/exe1 +38: ++ '[' Linux = FreeBSD ']' +38: ++ trap 'on_error $LINENO' ERR +38: ++ trap on_exit EXIT +38: ++ echo -n 'Testing defsym-lto ... ' +38: Testing defsym-lto ... ++ set -o pipefail +38: ++ set -x +38: + test_cflags -flto +38: + echo 'int main() {}' +32: sigsegv 0 1 +32: + on_exit +32: + echo OK +32: OK +32: + exit 0 +28: [28] .copyrel NOBITS 0000000000230a40 000a38 000004 00 WA 0 0 32 + 27/347 Test #32: aarch64-copyrel-relro2 ................................... Passed 0.31 sec +38: + cc -B. -flto -o /dev/null -xc - test 39 Start 39: aarch64-defsym-missing-symbol @@ -4020,9 +4076,9 @@ 39: MACHINE=aarch64 39: CPU= 39: Test timeout computed to be: 1500 -36: + gcc -o out/test/aarch64/debug-macro-section/c.o -c -xc - -Iout/test/aarch64/debug-macro-section -g3 +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 +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 39: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/defsym-missing-symbol.sh -17: + readelf -n out/test/aarch64/build-id/exe5 39: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 39: ++ export LC_ALL=C 39: ++ LC_ALL=C @@ -4037,26 +4093,24 @@ 39: ++ OBJCOPY=objcopy 39: ++ STRIP=strip 39: ++ QEMU= -38: +++ uname -17: + grep 'GNU.*0x00000020.*NT_GNU_BUILD_ID' -36: + cat -38: ++ '[' Linux = FreeBSD ']' -38: ++ trap 'on_error $LINENO' ERR -38: ++ trap on_exit EXIT +22: + grep '5 0 7 2' +34: + grep 'ctor1 init1 ctor2 ctor3 ctor4 init2 fini2 dtor1 dtor2 dtor3 fini1 dtor4' +34: + out/test/aarch64/ctors-in-init-array/exe 39: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/defsym-missing-symbol.sh .sh -38: ++ echo -n 'Testing defsym-lto ... ' -38: Testing defsym-lto ... ++ set -o pipefail -38: ++ set -x -38: + test_cflags -flto -17: GNU 0x00000020 NT_GNU_BUILD_ID (unique build ID bitstring) -17: + cc -B. -o out/test/aarch64/build-id/exe6 out/test/aarch64/build-id/a.o -Wl,-build-id=fast +34: ctor1 init1 ctor2 ctor3 ctor4 init2 fini2 dtor1 dtor2 dtor3 fini1 dtor4 +34: + on_exit +34: + echo OK +34: OK +34: + exit 0 +22: + out/test/aarch64/common-archive/exe +22: 5 0 7 2 +22: + on_exit +22: + echo OK +22: OK +22: + exit 0 39: ++ testname=defsym-missing-symbol 39: ++ t=out/test/aarch64/defsym-missing-symbol 39: ++ mkdir -p out/test/aarch64/defsym-missing-symbol -38: + cc -B. -flto -o /dev/null -xc - -38: + echo 'int main() {}' -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 -28: + out/test/aarch64/copyrel-alignment/exe1 39: ++ case $MACHINE in 39: ++ tlsdesc_opt=-mtls-dialect=desc 39: +++ uname @@ -4067,24 +4121,9 @@ 39: Testing defsym-missing-symbol ... ++ set -o pipefail 39: ++ set -x 39: + cat -39: + cc -o out/test/aarch64/defsym-missing-symbol/a.o -c -xc - -28: + readelf -W --sections out/test/aarch64/copyrel-alignment/exe1 -37: + cc -B. -o out/test/aarch64/default-symver/b.so -shared out/test/aarch64/default-symver/a.o -Wl,-default-symver -28: + grep '\.copyrel.* 32$' -28: [28] .copyrel NOBITS 0000000000230a40 000a38 000004 00 WA 0 0 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 -29: + not grep -F .copyrel.rel.ro -29: + grep -F .copyrel.rel.ro -29: + readelf -W --sections out/test/aarch64/copyrel-norelro/exe2 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 -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 -34: + grep 'ctor1 init1 ctor2 ctor3 ctor4 init2 fini2 dtor1 dtor2 dtor3 fini1 dtor4' -29: + return 0 -29: + on_exit -29: + echo OK -29: OK -29: + exit 0 - 28/347 Test #29: aarch64-copyrel-norelro .................................. Passed 0.21 sec + 28/347 Test #22: aarch64-common-archive ................................... Passed 0.58 sec + 29/347 Test #34: aarch64-ctors-in-init-array .............................. Passed 0.32 sec test 40 Start 40: aarch64-defsym @@ -4094,14 +4133,6 @@ 40: MACHINE=aarch64 40: CPU= 40: Test timeout computed to be: 1500 -22: + out/test/aarch64/common-archive/exe -34: + out/test/aarch64/ctors-in-init-array/exe -34: ctor1 init1 ctor2 ctor3 ctor4 init2 fini2 dtor1 dtor2 dtor3 fini1 dtor4 -34: + on_exit -34: + echo OK -34: OK -34: + exit 0 - 29/347 Test #34: aarch64-ctors-in-init-array .............................. Passed 0.15 sec test 41 Start 41: aarch64-defsym2 @@ -4111,13 +4142,15 @@ 41: MACHINE=aarch64 41: CPU= 41: Test timeout computed to be: 1500 -39: + not cc -B. -o out/test/aarch64/defsym-missing-symbol/exe out/test/aarch64/defsym-missing-symbol/a.o -Wl,-defsym=foo=bar -40: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/defsym.sh +39: + cc -o out/test/aarch64/defsym-missing-symbol/a.o -c -xc - +37: + cc -B. -o out/test/aarch64/default-symver/b.so -shared out/test/aarch64/default-symver/a.o -Wl,-default-symver +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 +17: + grep 'GNU.*0x00000020.*NT_GNU_BUILD_ID' 41: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/defsym2.sh -22: + grep '5 0 7 2' 41: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 41: ++ export LC_ALL=C 41: ++ LC_ALL=C +40: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/defsym.sh 41: ++ '[' -z aarch64 ']' 41: ++ '[' -z '' ']' 41: ++ TESTDIR=out/test/aarch64 @@ -4143,18 +4176,49 @@ 40: ++ OBJCOPY=objcopy 40: ++ STRIP=strip 40: ++ QEMU= -40: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/defsym.sh .sh 41: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/defsym2.sh .sh -22: 5 0 7 2 -22: + on_exit -22: + echo OK -22: OK -22: + exit 0 41: ++ testname=defsym2 41: ++ t=out/test/aarch64/defsym2 41: ++ mkdir -p out/test/aarch64/defsym2 - 30/347 Test #22: aarch64-common-archive ................................... Passed 0.31 sec -33: + out/test/aarch64/copyrel/exe +40: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/defsym.sh .sh +40: ++ testname=defsym +40: ++ t=out/test/aarch64/defsym +40: ++ mkdir -p out/test/aarch64/defsym +17: + readelf -n out/test/aarch64/build-id/exe6 +41: ++ case $MACHINE in +41: ++ tlsdesc_opt=-mtls-dialect=desc +17: GNU 0x00000020 NT_GNU_BUILD_ID (unique build ID bitstring) +17: + cc -B. -o out/test/aarch64/build-id/exe7 out/test/aarch64/build-id/a.o -Wl,-build-id=0xdeadbeefdeadbeef +40: ++ case $MACHINE in +40: ++ tlsdesc_opt=-mtls-dialect=desc +40: +++ uname +40: ++ '[' Linux = FreeBSD ']' +40: ++ trap 'on_error $LINENO' ERR +40: ++ trap on_exit EXIT +40: ++ echo -n 'Testing defsym ... ' +40: Testing defsym ... ++ set -o pipefail +40: ++ set -x +29: + not grep -F .copyrel.rel.ro +29: + grep -F .copyrel.rel.ro +29: + readelf -W --sections out/test/aarch64/copyrel-norelro/exe2 +40: + cat +41: +++ uname +40: + cc -fPIC -o out/test/aarch64/defsym/a.o -c -xc - +41: ++ '[' Linux = FreeBSD ']' +41: ++ trap 'on_error $LINENO' ERR +41: ++ trap on_exit EXIT +41: ++ echo -n 'Testing defsym2 ... ' +41: Testing defsym2 ... ++ set -o pipefail +41: ++ set -x +41: + cc -fPIC -o out/test/aarch64/defsym2/a.o -c -xc - +28: + out/test/aarch64/copyrel-alignment/exe2 +41: + cat +29: + return 0 +29: + on_exit +29: + echo OK +29: OK +29: + exit 0 + 30/347 Test #29: aarch64-copyrel-norelro .................................. Passed 0.46 sec test 42 Start 42: aarch64-demangle-cpp @@ -4164,28 +4228,8 @@ 42: MACHINE=aarch64 42: CPU= 42: Test timeout computed to be: 1500 -33: + grep '42 42 1' -40: ++ testname=defsym -40: ++ t=out/test/aarch64/defsym -40: ++ mkdir -p out/test/aarch64/defsym -40: ++ case $MACHINE in -40: ++ tlsdesc_opt=-mtls-dialect=desc -33: 42 42 1 -33: + on_exit -33: + echo OK -33: OK -33: + exit 0 - 31/347 Test #33: aarch64-copyrel .......................................... Passed 0.17 sec 42: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/demangle-cpp.sh -test 43 - Start 43: aarch64-demangle-rust - -43: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/demangle-rust.sh" -43: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -43: Environment variables: -43: MACHINE=aarch64 -43: CPU= -43: Test timeout computed to be: 1500 +28: + grep '\.copyrel.* 8$' 42: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 42: ++ export LC_ALL=C 42: ++ LC_ALL=C @@ -4200,21 +4244,42 @@ 42: ++ OBJCOPY=objcopy 42: ++ STRIP=strip 42: ++ QEMU= -40: +++ uname -40: ++ '[' Linux = FreeBSD ']' -40: ++ trap 'on_error $LINENO' ERR -40: ++ trap on_exit EXIT -40: ++ echo -n 'Testing defsym ... ' -40: Testing defsym ... ++ set -o pipefail -40: ++ set -x -40: + cat +28: + readelf -W --sections out/test/aarch64/copyrel-alignment/exe2 +28: [28] .copyrel NOBITS 0000000000230a40 000a38 000004 00 WA 0 0 8 +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: + out/test/aarch64/copyrel/exe +33: + grep '42 42 1' 39: + grep 'undefined symbol: bar' -41: ++ case $MACHINE in -41: ++ tlsdesc_opt=-mtls-dialect=desc -41: +++ uname -32: + grep '^sigsegv 0 1$' +42: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/demangle-cpp.sh .sh +39: + not cc -B. -o out/test/aarch64/defsym-missing-symbol/exe out/test/aarch64/defsym-missing-symbol/a.o -Wl,-defsym=foo=bar +42: ++ testname=demangle-cpp +42: ++ t=out/test/aarch64/demangle-cpp +42: ++ mkdir -p out/test/aarch64/demangle-cpp +33: 42 42 1 +33: + on_exit +33: + echo OK +33: OK +33: + exit 0 + 31/347 Test #33: aarch64-copyrel .......................................... Passed 0.40 sec +test 43 + Start 43: aarch64-demangle-rust + +43: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/demangle-rust.sh" +43: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +43: Environment variables: +43: MACHINE=aarch64 +43: CPU= +43: Test timeout computed to be: 1500 +42: ++ case $MACHINE in +42: ++ tlsdesc_opt=-mtls-dialect=desc +42: +++ uname +42: ++ '[' Linux = FreeBSD ']' +42: ++ trap 'on_error $LINENO' ERR +42: ++ trap on_exit EXIT +42: ++ echo -n 'Testing demangle-cpp ... ' +42: Testing demangle-cpp ... ++ set -o pipefail +42: ++ set -x 43: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/demangle-rust.sh -40: + cc -fPIC -o out/test/aarch64/defsym/a.o -c -xc - 43: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 43: ++ export LC_ALL=C 43: ++ LC_ALL=C @@ -4229,17 +4294,30 @@ 43: ++ OBJCOPY=objcopy 43: ++ STRIP=strip 43: ++ QEMU= -32: + out/test/aarch64/copyrel-relro2/exe +42: + cat +41: + cc -B. -o out/test/aarch64/defsym2/b.so -shared -Wl,-defsym=bar=foo out/test/aarch64/defsym2/a.o +42: + cc -c -o out/test/aarch64/demangle-cpp/a.o -xc - +35: + out/test/aarch64/dead-debug-sections/exe +35: + grep 'Hello world' +35: Hello world +35: + dwarfdump out/test/aarch64/dead-debug-sections/exe 43: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/demangle-rust.sh .sh -32: sigsegv 0 1 -32: + on_exit -32: + echo OK -32: OK -32: + exit 0 43: ++ testname=demangle-rust 43: ++ t=out/test/aarch64/demangle-rust 43: ++ mkdir -p out/test/aarch64/demangle-rust - 32/347 Test #32: aarch64-copyrel-relro2 ................................... Passed 0.20 sec +37: + readelf --dyn-syms out/test/aarch64/default-symver/b.so +17: + readelf -n out/test/aarch64/build-id/exe7 +37: + grep ' foo@@b\.so' +36: + not grep 'DW_MACRO_import -.* 0x0$' +36: + grep 'DW_MACRO_import -.* 0x0$' +17: + grep 'Build ID: deadbeefdeadbeef' +17: Build ID: deadbeefdeadbeef +39: mold: error: --defsym: undefined symbol: bar +39: + on_exit +39: + echo OK +39: OK +39: + exit 0 + 32/347 Test #39: aarch64-defsym-missing-symbol ............................ Passed 0.15 sec test 44 Start 44: aarch64-demangle @@ -4249,44 +4327,17 @@ 44: MACHINE=aarch64 44: CPU= 44: Test timeout computed to be: 1500 -41: ++ '[' Linux = FreeBSD ']' -41: ++ trap 'on_error $LINENO' ERR -41: ++ trap on_exit EXIT -41: ++ echo -n 'Testing defsym2 ... ' -41: Testing defsym2 ... ++ set -o pipefail -41: ++ set -x -41: + cc -fPIC -o out/test/aarch64/defsym2/a.o -c -xc - 43: ++ case $MACHINE in 43: ++ tlsdesc_opt=-mtls-dialect=desc -43: +++ uname -43: ++ '[' Linux = FreeBSD ']' -43: ++ trap 'on_error $LINENO' ERR -43: ++ trap on_exit EXIT -43: ++ echo -n 'Testing demangle-rust ... ' -43: Testing demangle-rust ... ++ set -o pipefail -43: ++ set -x -43: + cc -c -o out/test/aarch64/demangle-rust/a.o -xc - -43: + cat -37: + readelf --dyn-syms out/test/aarch64/default-symver/b.so -37: + grep ' foo@@b\.so' -28: + out/test/aarch64/copyrel-alignment/exe2 -28: + readelf -W --sections out/test/aarch64/copyrel-alignment/exe2 -17: + grep 'GNU.*0x00000020.*NT_GNU_BUILD_ID' -42: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/demangle-cpp.sh .sh -28: + grep '\.copyrel.* 8$' -28: [28] .copyrel NOBITS 0000000000230a40 000a38 000004 00 WA 0 0 8 -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 -17: + readelf -n out/test/aarch64/build-id/exe6 -17: GNU 0x00000020 NT_GNU_BUILD_ID (unique build ID bitstring) -41: + cat +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 +36: + objdump --dwarf=macro out/test/aarch64/debug-macro-section/exe +17: + on_exit +17: + echo OK +17: OK +17: + exit 0 37: 5: 00000000000106e8 8 FUNC GLOBAL DEFAULT 14 foo@@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 -42: ++ testname=demangle-cpp -42: ++ t=out/test/aarch64/demangle-cpp -42: ++ mkdir -p out/test/aarch64/demangle-cpp 44: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/demangle.sh -42: ++ case $MACHINE in -42: ++ tlsdesc_opt=-mtls-dialect=desc 44: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 44: ++ export LC_ALL=C 44: ++ LC_ALL=C @@ -4302,13 +4353,28 @@ 44: ++ STRIP=strip 44: ++ QEMU= 44: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/demangle.sh .sh + 33/347 Test #17: aarch64-build-id ......................................... Passed 0.82 sec +test 45 + Start 45: aarch64-dependency-file-lto + +45: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/dependency-file-lto.sh" +45: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +45: Environment variables: +45: MACHINE=aarch64 +45: CPU= +45: Test timeout computed to be: 1500 +43: +++ uname +43: ++ '[' Linux = FreeBSD ']' +43: ++ trap 'on_error $LINENO' ERR +43: ++ trap on_exit EXIT +43: ++ echo -n 'Testing demangle-rust ... ' +43: Testing demangle-rust ... ++ set -o pipefail +43: ++ set -x +43: + cat +43: + cc -c -o out/test/aarch64/demangle-rust/a.o -xc - 44: ++ testname=demangle 44: ++ t=out/test/aarch64/demangle 44: ++ mkdir -p out/test/aarch64/demangle -17: + cc -B. -o out/test/aarch64/build-id/exe7 out/test/aarch64/build-id/a.o -Wl,-build-id=0xdeadbeefdeadbeef -36: + not grep 'DW_MACRO_import -.* 0x0$' -36: + grep 'DW_MACRO_import -.* 0x0$' -36: + objdump --dwarf=macro out/test/aarch64/debug-macro-section/exe 44: ++ case $MACHINE in 44: ++ tlsdesc_opt=-mtls-dialect=desc 44: +++ uname @@ -4318,67 +4384,12 @@ 44: ++ echo -n 'Testing demangle ... ' 44: Testing demangle ... ++ set -o pipefail 44: ++ set -x +45: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/dependency-file-lto.sh +28: + out/test/aarch64/copyrel-alignment/exe3 +42: + grep -F 'ns::version()' +42: + not cc -B. -o out/test/aarch64/demangle-cpp/exe1 out/test/aarch64/demangle-cpp/a.o 44: + cat 44: + cc -c -o out/test/aarch64/demangle/a.o -xc++ - -42: +++ uname -42: ++ '[' Linux = FreeBSD ']' -42: ++ trap 'on_error $LINENO' ERR -42: ++ trap on_exit EXIT -42: ++ echo -n 'Testing demangle-cpp ... ' -42: Testing demangle-cpp ... ++ set -o pipefail -42: ++ set -x -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 -42: + cat -35: + out/test/aarch64/dead-debug-sections/exe -35: + grep 'Hello world' -35: Hello world -35: + dwarfdump out/test/aarch64/dead-debug-sections/exe -39: mold: error: --defsym: undefined symbol: bar -39: + on_exit -39: + echo OK -39: OK -39: + exit 0 - 33/347 Test #39: aarch64-defsym-missing-symbol ............................ Passed 0.09 sec -36: + return 0 -test 45 - Start 45: aarch64-dependency-file-lto - -45: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/dependency-file-lto.sh" -45: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -45: Environment variables: -45: MACHINE=aarch64 -45: CPU= -45: Test timeout computed to be: 1500 -36: + on_exit -36: + echo OK -36: OK -36: + exit 0 -35: + on_exit -35: + echo OK -35: OK -35: + exit 0 -45: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/dependency-file-lto.sh - 34/347 Test #35: aarch64-dead-debug-sections .............................. Passed 0.20 sec - 35/347 Test #36: aarch64-debug-macro-section .............................. Passed 0.15 sec -test 46 - Start 46: aarch64-dependency-file-response-file - -46: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/dependency-file-response-file.sh" -46: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -46: Environment variables: -46: MACHINE=aarch64 -46: CPU= -46: Test timeout computed to be: 1500 -test 47 - Start 47: aarch64-dependency-file - -47: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/dependency-file.sh" -47: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -47: Environment variables: -47: MACHINE=aarch64 -47: CPU= -47: Test timeout computed to be: 1500 45: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 45: ++ export LC_ALL=C 45: ++ LC_ALL=C @@ -4393,11 +4404,47 @@ 45: ++ OBJCOPY=objcopy 45: ++ STRIP=strip 45: ++ QEMU= +36: + return 0 45: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/dependency-file-lto.sh .sh +36: + on_exit +36: + echo OK +36: OK +36: + exit 0 +28: + readelf -W --sections out/test/aarch64/copyrel-alignment/exe3 + 34/347 Test #36: aarch64-debug-macro-section .............................. Passed 0.32 sec +test 46 + Start 46: aarch64-dependency-file-response-file + +46: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/dependency-file-response-file.sh" +46: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +46: Environment variables: +46: MACHINE=aarch64 +46: CPU= +46: Test timeout computed to be: 1500 +28: + grep '\.copyrel.* 256$' +28: [28] .copyrel NOBITS 0000000000230b00 000a38 000004 00 WA 0 0 256 +28: + on_exit +28: + echo OK +28: OK +28: + exit 0 45: ++ testname=dependency-file-lto 45: ++ t=out/test/aarch64/dependency-file-lto 45: ++ mkdir -p out/test/aarch64/dependency-file-lto -41: + cc -B. -o out/test/aarch64/defsym2/b.so -shared -Wl,-defsym=bar=foo out/test/aarch64/defsym2/a.o +45: ++ case $MACHINE in +45: ++ tlsdesc_opt=-mtls-dialect=desc +45: +++ uname +45: ++ '[' Linux = FreeBSD ']' +45: ++ trap 'on_error $LINENO' ERR +45: ++ trap on_exit EXIT +45: ++ echo -n 'Testing dependency-file-lto ... ' +45: Testing dependency-file-lto ... ++ set -o pipefail +45: ++ set -x +45: + test_cflags -flto -fno-fat-lto-objects +45: + cc -B. -flto -fno-fat-lto-objects -o /dev/null -xc - +45: + echo 'int main() {}' +27: + grep -F .debug_info +27: + readelf --sections out/test/aarch64/compressed-debug-info/exe +27: [31] .debug_info PROGBITS 0000000000000000 00000b27 46: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/dependency-file-response-file.sh 46: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 46: ++ export LC_ALL=C @@ -4417,62 +4464,44 @@ 46: ++ testname=dependency-file-response-file 46: ++ t=out/test/aarch64/dependency-file-response-file 46: ++ mkdir -p out/test/aarch64/dependency-file-response-file -47: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/dependency-file.sh -45: ++ case $MACHINE in -45: ++ tlsdesc_opt=-mtls-dialect=desc + 35/347 Test #28: aarch64-copyrel-alignment ................................ Passed 0.63 sec +27: + on_exit +27: + echo OK +27: OK +27: + exit 0 +test 47 + Start 47: aarch64-dependency-file + +47: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/dependency-file.sh" +47: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +47: Environment variables: +47: MACHINE=aarch64 +47: CPU= +47: Test timeout computed to be: 1500 46: ++ case $MACHINE in 46: ++ tlsdesc_opt=-mtls-dialect=desc -47: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -47: ++ export LC_ALL=C -47: ++ LC_ALL=C -47: ++ '[' -z aarch64 ']' -47: ++ '[' -z '' ']' -47: ++ TESTDIR=out/test/aarch64 -47: ++ CC=cc -47: ++ CXX=c++ -47: ++ GCC=gcc -47: ++ GXX=g++ -47: ++ OBJDUMP=objdump -47: ++ OBJCOPY=objcopy -47: ++ STRIP=strip -47: ++ QEMU= -43: + not cc -B. -o out/test/aarch64/demangle-rust/exe out/test/aarch64/demangle-rust/a.o -43: + grep -F ' as core::iter::iterator::Iterator>::rposition::::{closure#0}' -45: +++ uname -47: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/dependency-file.sh .sh 46: +++ uname -47: ++ testname=dependency-file -47: ++ t=out/test/aarch64/dependency-file -47: ++ mkdir -p out/test/aarch64/dependency-file -45: ++ '[' Linux = FreeBSD ']' -45: ++ trap 'on_error $LINENO' ERR -45: ++ trap on_exit EXIT -45: ++ echo -n 'Testing dependency-file-lto ... ' -45: Testing dependency-file-lto ... ++ set -o pipefail -45: ++ set -x -45: + test_cflags -flto -fno-fat-lto-objects 46: ++ '[' Linux = FreeBSD ']' -28: + out/test/aarch64/copyrel-alignment/exe3 46: ++ trap 'on_error $LINENO' ERR 46: ++ trap on_exit EXIT 46: ++ echo -n 'Testing dependency-file-response-file ... ' 46: Testing dependency-file-response-file ... ++ set -o pipefail 46: ++ set -x -45: + echo 'int main() {}' -47: ++ case $MACHINE in -47: ++ tlsdesc_opt=-mtls-dialect=desc -28: + grep '\.copyrel.* 256$' -28: + readelf -W --sections out/test/aarch64/copyrel-alignment/exe3 46: + cat -28: [28] .copyrel NOBITS 0000000000230b00 000a38 000004 00 WA 0 0 256 -46: + cc -o out/test/aarch64/dependency-file-response-file/a.o -c -xc - -44: + grep 'undefined symbol: _Z3fooii$' -28: + on_exit -28: + echo OK -28: OK -28: + exit 0 -47: +++ uname - 36/347 Test #28: aarch64-copyrel-alignment ................................ Passed 0.32 sec +35: + on_exit +35: + echo OK +35: OK +35: + exit 0 +40: + grep '^Hello 0x10 0x2000$' +40: + out/test/aarch64/defsym/exe +40: Hello 0x10 0x2000 +40: + on_exit +40: + echo OK +40: OK +40: + exit 0 + 36/347 Test #27: aarch64-compressed-debug-info ............................ Passed 0.66 sec + 37/347 Test #35: aarch64-dead-debug-sections .............................. Passed 0.36 sec + 38/347 Test #40: aarch64-defsym ........................................... Passed 0.16 sec test 48 Start 48: aarch64-disable-new-dtags @@ -4482,32 +4511,6 @@ 48: MACHINE=aarch64 48: CPU= 48: Test timeout computed to be: 1500 -44: + not cc -B. -o out/test/aarch64/demangle/exe out/test/aarch64/demangle/a.o -Wl,-no-demangle -47: ++ '[' Linux = FreeBSD ']' -47: ++ trap 'on_error $LINENO' ERR -47: ++ trap on_exit EXIT -47: ++ echo -n 'Testing dependency-file ... ' -47: Testing dependency-file ... ++ set -o pipefail -47: ++ set -x -47: + cat -47: + cc -o out/test/aarch64/dependency-file/a.o -c -xc - -37: + readelf --dyn-syms out/test/aarch64/default-symver/b.so -37: + grep ' foo@@bar' -37: 5: 00000000000106e8 8 FUNC GLOBAL DEFAULT 14 foo@@bar -37: + on_exit -37: + echo OK -37: OK -37: + exit 0 -45: + cc -B. -flto -fno-fat-lto-objects -o /dev/null -xc - -17: + readelf -n out/test/aarch64/build-id/exe7 -17: + grep 'Build ID: deadbeefdeadbeef' -17: Build ID: deadbeefdeadbeef -17: + on_exit -17: + echo OK -17: OK -17: + exit 0 - 37/347 Test #17: aarch64-build-id ......................................... Passed 0.44 sec - 38/347 Test #37: aarch64-default-symver ................................... Passed 0.15 sec test 49 Start 49: aarch64-discard-section @@ -4526,6 +4529,28 @@ 50: MACHINE=aarch64 50: CPU= 50: Test timeout computed to be: 1500 +46: + cc -o out/test/aarch64/dependency-file-response-file/a.o -c -xc - +43: + not cc -B. -o out/test/aarch64/demangle-rust/exe out/test/aarch64/demangle-rust/a.o +43: + grep -F ' as core::iter::iterator::Iterator>::rposition::::{closure#0}' +41: + grep bar +41: + nm -D out/test/aarch64/defsym2/b.so +44: + not cc -B. -o out/test/aarch64/demangle/exe out/test/aarch64/demangle/a.o -Wl,-no-demangle +44: + grep 'undefined symbol: _Z3fooii$' +47: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/dependency-file.sh +47: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +47: ++ export LC_ALL=C +47: ++ LC_ALL=C +47: ++ '[' -z aarch64 ']' +47: ++ '[' -z '' ']' +47: ++ TESTDIR=out/test/aarch64 +47: ++ CC=cc +47: ++ CXX=c++ +47: ++ GCC=gcc +47: ++ GXX=g++ +47: ++ OBJDUMP=objdump +47: ++ OBJCOPY=objcopy +47: ++ STRIP=strip +47: ++ QEMU= 48: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/disable-new-dtags.sh 48: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 48: ++ export LC_ALL=C @@ -4560,8 +4585,23 @@ 49: ++ OBJCOPY=objcopy 49: ++ STRIP=strip 49: ++ QEMU= +49: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/discard-section.sh .sh +49: ++ testname=discard-section +49: ++ t=out/test/aarch64/discard-section +49: ++ mkdir -p out/test/aarch64/discard-section +49: ++ case $MACHINE in +49: ++ tlsdesc_opt=-mtls-dialect=desc +47: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/dependency-file.sh .sh +49: +++ uname +49: ++ '[' Linux = FreeBSD ']' +49: ++ trap 'on_error $LINENO' ERR +49: ++ trap on_exit EXIT +49: ++ echo -n 'Testing discard-section ... ' +49: Testing discard-section ... ++ set -o pipefail +49: ++ set -x +49: + cat 50: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/discard.sh -42: + not cc -B. -o out/test/aarch64/demangle-cpp/exe1 out/test/aarch64/demangle-cpp/a.o +49: + cc -o out/test/aarch64/discard-section/a.o -c -xc - 50: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 50: ++ export LC_ALL=C 50: ++ LC_ALL=C @@ -4576,78 +4616,77 @@ 50: ++ OBJCOPY=objcopy 50: ++ STRIP=strip 50: ++ QEMU= -42: + grep -F 'ns::version()' -49: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/discard-section.sh .sh -40: + grep '^Hello 0x10 0x2000$' -40: + out/test/aarch64/defsym/exe 48: ++ case $MACHINE in 48: ++ tlsdesc_opt=-mtls-dialect=desc -49: ++ testname=discard-section +42: mold: error: undefined symbol: ns::version() +47: ++ testname=dependency-file +47: ++ t=out/test/aarch64/dependency-file +47: ++ mkdir -p out/test/aarch64/dependency-file 50: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/discard.sh .sh +50: ++ testname=discard +50: ++ t=out/test/aarch64/discard +50: ++ mkdir -p out/test/aarch64/discard 48: +++ uname -49: ++ t=out/test/aarch64/discard-section -49: ++ mkdir -p out/test/aarch64/discard-section 48: ++ '[' Linux = FreeBSD ']' 48: ++ trap 'on_error $LINENO' ERR 48: ++ trap on_exit EXIT 48: ++ echo -n 'Testing disable-new-dtags ... ' 48: Testing disable-new-dtags ... ++ set -o pipefail 48: ++ set -x -50: ++ testname=discard -50: ++ t=out/test/aarch64/discard -50: ++ mkdir -p out/test/aarch64/discard -49: ++ case $MACHINE in -49: ++ tlsdesc_opt=-mtls-dialect=desc 48: + cat +41: 00000000000106e8 T bar +41: + on_exit +41: + echo OK +41: OK +41: + exit 0 +47: ++ case $MACHINE in +47: ++ tlsdesc_opt=-mtls-dialect=desc + 39/347 Test #41: aarch64-defsym2 .......................................... Passed 0.20 sec +47: +++ uname +test 51 + Start 51: aarch64-dso-undef + +51: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/dso-undef.sh" +51: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +51: Environment variables: +51: MACHINE=aarch64 +51: CPU= +51: Test timeout computed to be: 1500 +47: ++ '[' Linux = FreeBSD ']' +47: ++ trap 'on_error $LINENO' ERR +47: ++ trap on_exit EXIT +47: ++ echo -n 'Testing dependency-file ... ' +47: Testing dependency-file ... ++ set -o pipefail +47: ++ set -x +47: + cc -o out/test/aarch64/dependency-file/a.o -c -xc - +47: + cat 48: + cc -o out/test/aarch64/disable-new-dtags/a.o -c -xc -fPIC - 50: ++ case $MACHINE in 50: ++ tlsdesc_opt=-mtls-dialect=desc -49: +++ uname -46: + echo 'out/test/aarch64/dependency-file-response-file/a.o -Wl,-dependency-file=out/test/aarch64/dependency-file-response-file/dep' -46: + cc -B. -o out/test/aarch64/dependency-file-response-file/exe @out/test/aarch64/dependency-file-response-file/rsp 50: +++ uname -41: + grep bar -41: + nm -D out/test/aarch64/defsym2/b.so -43: mold: error: undefined symbol: as core::iter::iterator::Iterator>::rposition::::{closure#0} -43: + on_exit -43: + echo OK -43: OK -43: + exit 0 -49: ++ '[' Linux = FreeBSD ']' -49: ++ trap 'on_error $LINENO' ERR -49: ++ trap on_exit EXIT -49: ++ echo -n 'Testing discard-section ... ' -49: Testing discard-section ... ++ set -o pipefail -49: ++ set -x - 39/347 Test #43: aarch64-demangle-rust .................................... Passed 0.09 sec -40: Hello 0x10 0x2000 -40: + on_exit -40: + echo OK -40: OK -40: + exit 0 50: ++ '[' Linux = FreeBSD ']' 50: ++ trap 'on_error $LINENO' ERR 50: ++ trap on_exit EXIT 50: ++ echo -n 'Testing discard ... ' 50: Testing discard ... ++ set -o pipefail 50: ++ set -x -test 51 - Start 51: aarch64-dso-undef - -51: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/dso-undef.sh" -51: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -51: Environment variables: -51: MACHINE=aarch64 -51: CPU= -51: Test timeout computed to be: 1500 50: + [[ aarch64 = riscv* ]] 50: + [[ aarch64 = loongarch* ]] -50: + cc -o out/test/aarch64/discard/a.o -c -x assembler -Wa,-L - 50: + cat -49: + cat -49: + cc -o out/test/aarch64/discard-section/a.o -c -xc - -47: + 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 - 40/347 Test #40: aarch64-defsym ........................................... Passed 0.10 sec +42: + cc -c -o out/test/aarch64/demangle-cpp/b.o -xc - +42: + cat +37: + grep ' foo@@bar' +37: + readelf --dyn-syms out/test/aarch64/default-symver/b.so +37: 5: 00000000000106e8 8 FUNC GLOBAL DEFAULT 14 foo@@bar +46: + echo 'out/test/aarch64/dependency-file-response-file/a.o -Wl,-dependency-file=out/test/aarch64/dependency-file-response-file/dep' +46: + cc -B. -o out/test/aarch64/dependency-file-response-file/exe @out/test/aarch64/dependency-file-response-file/rsp +51: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/dso-undef.sh +37: + on_exit +37: + echo OK +37: OK +37: + exit 0 +50: + cc -o out/test/aarch64/discard/a.o -c -x assembler -Wa,-L - + 40/347 Test #37: aarch64-default-symver ................................... Passed 0.36 sec test 52 Start 52: aarch64-dt-init @@ -4657,7 +4696,6 @@ 52: MACHINE=aarch64 52: CPU= 52: Test timeout computed to be: 1500 -51: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/dso-undef.sh 51: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 51: ++ export LC_ALL=C 51: ++ LC_ALL=C @@ -4676,12 +4714,26 @@ 51: ++ testname=dso-undef 51: ++ t=out/test/aarch64/dso-undef 51: ++ mkdir -p out/test/aarch64/dso-undef +49: + cc -B. -o out/test/aarch64/discard-section/exe0 out/test/aarch64/discard-section/a.o 52: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/dt-init.sh -41: 00000000000106e8 T bar -41: + on_exit -41: + echo OK -41: OK -41: + exit 0 +50: + ./mold -o out/test/aarch64/discard/exe out/test/aarch64/discard/a.o +51: ++ case $MACHINE in +51: ++ tlsdesc_opt=-mtls-dialect=desc +43: mold: error: undefined symbol: as core::iter::iterator::Iterator>::rposition::::{closure#0} +43: + on_exit +43: + echo OK +43: OK +43: + exit 0 + 41/347 Test #43: aarch64-demangle-rust .................................... Passed 0.18 sec +test 53 + Start 53: aarch64-dt-needed + +53: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/dt-needed.sh" +53: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +53: Environment variables: +53: MACHINE=aarch64 +53: CPU= +53: Test timeout computed to be: 1500 52: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 52: ++ export LC_ALL=C 52: ++ LC_ALL=C @@ -4696,34 +4748,22 @@ 52: ++ OBJCOPY=objcopy 52: ++ STRIP=strip 52: ++ QEMU= -51: ++ case $MACHINE in -51: ++ tlsdesc_opt=-mtls-dialect=desc - 41/347 Test #41: aarch64-defsym2 .......................................... Passed 0.11 sec -51: +++ uname 52: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/dt-init.sh .sh -test 53 - Start 53: aarch64-dt-needed - -53: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/dt-needed.sh" -53: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -53: Environment variables: -53: MACHINE=aarch64 -53: CPU= -53: Test timeout computed to be: 1500 +52: ++ testname=dt-init +52: ++ t=out/test/aarch64/dt-init +52: ++ mkdir -p out/test/aarch64/dt-init +51: +++ uname 51: ++ '[' Linux = FreeBSD ']' 51: ++ trap 'on_error $LINENO' ERR 51: ++ trap on_exit EXIT 51: ++ echo -n 'Testing dso-undef ... ' 51: Testing dso-undef ... ++ set -o pipefail 51: ++ set -x +53: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/dt-needed.sh 51: + cat -52: ++ testname=dt-init -52: ++ t=out/test/aarch64/dt-init -52: ++ mkdir -p out/test/aarch64/dt-init +51: + cc -fPIC -o out/test/aarch64/dso-undef/a.o -c -xc - 52: ++ case $MACHINE in 52: ++ tlsdesc_opt=-mtls-dialect=desc -50: + ./mold -o out/test/aarch64/discard/exe out/test/aarch64/discard/a.o -53: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/dt-needed.sh 53: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 53: ++ export LC_ALL=C 53: ++ LC_ALL=C @@ -4738,17 +4778,9 @@ 53: ++ OBJCOPY=objcopy 53: ++ STRIP=strip 53: ++ QEMU= +52: +++ uname 53: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/dt-needed.sh .sh -53: ++ testname=dt-needed -53: ++ t=out/test/aarch64/dt-needed -53: ++ mkdir -p out/test/aarch64/dt-needed -51: + cc -fPIC -o out/test/aarch64/dso-undef/a.o -c -xc - 50: + readelf --symbols out/test/aarch64/discard/exe -53: ++ case $MACHINE in -53: ++ tlsdesc_opt=-mtls-dialect=desc -52: +++ uname -48: + cc -B. -shared -o out/test/aarch64/disable-new-dtags/b.so out/test/aarch64/disable-new-dtags/a.o -Wl,-rpath=/foo -53: +++ uname 52: ++ '[' Linux = FreeBSD ']' 52: ++ trap 'on_error $LINENO' ERR 52: ++ trap on_exit EXIT @@ -4759,14 +4791,27 @@ 52: + [[ aarch64 = loongarch* ]] 52: + '[' aarch64 = arm -o aarch64 = aarch64 ']' 52: + is_musl +53: ++ testname=dt-needed +53: ++ t=out/test/aarch64/dt-needed +53: ++ mkdir -p out/test/aarch64/dt-needed +53: ++ case $MACHINE in +53: ++ tlsdesc_opt=-mtls-dialect=desc +53: +++ uname 53: ++ '[' Linux = FreeBSD ']' 53: ++ trap 'on_error $LINENO' ERR 53: ++ trap on_exit EXIT 53: ++ echo -n 'Testing dt-needed ... ' 53: Testing dt-needed ... ++ set -o pipefail 53: ++ set -x -50: + grep -F _start out/test/aarch64/discard/log 53: + cat +53: + cc -c -o out/test/aarch64/dt-needed/a.o -xc - +44: mold: error: undefined symbol: _Z3fooii +52: + grep musl +44: + grep -E 'undefined symbol: foo\(int, int\)$' +50: + grep -F _start out/test/aarch64/discard/log +44: + not cc -B. -o out/test/aarch64/demangle/exe out/test/aarch64/demangle/a.o -Wl,-demangle +51: + cc -B. -o out/test/aarch64/dso-undef/b.so -shared out/test/aarch64/dso-undef/a.o +52: + cc -c -fPIC -o out/test/aarch64/dt-init/a.o -xc - 50: 16: 0000000000210210 0 NOTYPE LOCAL DEFAULT 3 _start 50: 17: 0000000000200000 0 NOTYPE LOCAL DEFAULT 1 __ehdr_start 50: 18: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __init_array_start @@ -4778,50 +4823,27 @@ 50: 40: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __start_EHDR 50: 42: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __start_PHDR 50: + grep -F foo out/test/aarch64/discard/log -52: + grep musl +52: + cat 50: 14: 0000000000210214 0 NOTYPE LOCAL DEFAULT 3 foo 50: + grep -F .Lbar out/test/aarch64/discard/log 50: 15: 0000000000210218 0 NOTYPE LOCAL DEFAULT 3 .Lbar 50: + ./mold -o out/test/aarch64/discard/exe out/test/aarch64/discard/a.o --discard-locals -49: + cc -B. -o out/test/aarch64/discard-section/exe0 out/test/aarch64/discard-section/a.o -44: mold: error: undefined symbol: _Z3fooii -44: + grep -E 'undefined symbol: foo\(int, int\)$' -52: + cat -44: + not cc -B. -o out/test/aarch64/demangle/exe out/test/aarch64/demangle/a.o -Wl,-demangle -52: + cc -c -fPIC -o out/test/aarch64/dt-init/a.o -xc - -53: + cc -c -o out/test/aarch64/dt-needed/a.o -xc - -50: + readelf --symbols out/test/aarch64/discard/exe -47: + grep 'dependency-file/exe:.*/a.o ' out/test/aarch64/dependency-file/dep +48: + cc -B. -shared -o out/test/aarch64/disable-new-dtags/b.so out/test/aarch64/disable-new-dtags/a.o -Wl,-rpath=/foo +47: + 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 46: + grep '/exe:.*/a.o ' out/test/aarch64/dependency-file-response-file/dep -42: mold: error: undefined symbol: ns::version() 46: out/test/aarch64/dependency-file-response-file/exe: /usr/lib/aarch64-linux-gnu/Scrt1.o /usr/lib/aarch64-linux-gnu/crti.o /usr/lib/gcc/aarch64-linux-gnu/14/crtbeginS.o out/test/aarch64/dependency-file-response-file/a.o /usr/lib/gcc/aarch64-linux-gnu/14/libgcc.a /usr/lib/gcc/aarch64-linux-gnu/14/libgcc_s.so /usr/lib/aarch64-linux-gnu/libgcc_s.so.1 /usr/lib/aarch64-linux-gnu/libc.so /lib/aarch64-linux-gnu/libc.so.6 /usr/lib/aarch64-linux-gnu/libc_nonshared.a /lib/ld-linux-aarch64.so.1 /usr/lib/gcc/aarch64-linux-gnu/14/crtendS.o /usr/lib/aarch64-linux-gnu/crtn.o 46: + grep '/a.o:$' out/test/aarch64/dependency-file-response-file/dep -47: out/test/aarch64/dependency-file/exe: /usr/lib/aarch64-linux-gnu/Scrt1.o /usr/lib/aarch64-linux-gnu/crti.o /usr/lib/gcc/aarch64-linux-gnu/14/crtbeginS.o out/test/aarch64/dependency-file/a.o /usr/lib/gcc/aarch64-linux-gnu/14/libgcc.a /usr/lib/gcc/aarch64-linux-gnu/14/libgcc_s.so /usr/lib/aarch64-linux-gnu/libgcc_s.so.1 /usr/lib/aarch64-linux-gnu/libc.so /lib/aarch64-linux-gnu/libc.so.6 /usr/lib/aarch64-linux-gnu/libc_nonshared.a /lib/ld-linux-aarch64.so.1 /usr/lib/gcc/aarch64-linux-gnu/14/crtendS.o /usr/lib/aarch64-linux-gnu/crtn.o -42: + cc -c -o out/test/aarch64/demangle-cpp/b.o -xc - -50: + grep -F _start out/test/aarch64/discard/log +53: + cc -B. -shared -o out/test/aarch64/dt-needed/libfoo.so out/test/aarch64/dt-needed/a.o -Wl,--soname,libfoo 46: out/test/aarch64/dependency-file-response-file/a.o: -42: + cat 46: + not grep '^/tmp' out/test/aarch64/dependency-file-response-file/dep 46: + grep '^/tmp' out/test/aarch64/dependency-file-response-file/dep -50: 15: 0000000000210210 0 NOTYPE LOCAL DEFAULT 3 _start -50: 16: 0000000000200000 0 NOTYPE LOCAL DEFAULT 1 __ehdr_start -50: 17: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __init_array_start -50: 19: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __fini_array_start -50: 21: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __preinit_array_start -50: 26: 0000000000230240 0 NOTYPE LOCAL DEFAULT 8 __bss_start -50: 30: 0000000000200000 0 NOTYPE LOCAL DEFAULT 1 __executable_start -50: 31: 0000000000000000 0 NOTYPE LOCAL DEFAULT ABS __rela_iplt_start -50: 39: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __start_EHDR -50: 41: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __start_PHDR -50: + grep -F foo out/test/aarch64/discard/log +50: + readelf --symbols out/test/aarch64/discard/exe 46: + return 0 46: + on_exit 46: + echo OK 46: OK 46: + exit 0 -47: + grep '.*/a.o:$' out/test/aarch64/dependency-file/dep - 42/347 Test #46: aarch64-dependency-file-response-file .................... Passed 0.09 sec -51: + cc -B. -o out/test/aarch64/dso-undef/b.so -shared out/test/aarch64/dso-undef/a.o + 42/347 Test #46: aarch64-dependency-file-response-file .................... Passed 0.17 sec test 54 Start 54: aarch64-duplicate-error-archive @@ -4831,22 +4853,28 @@ 54: MACHINE=aarch64 54: CPU= 54: Test timeout computed to be: 1500 -47: out/test/aarch64/dependency-file/a.o: +51: + cat +51: + cc -o out/test/aarch64/dso-undef/c.o -c -xc - +52: + cc -c -fPIC -o out/test/aarch64/dt-init/b.o -xc - +52: + cat +50: + grep -F _start out/test/aarch64/discard/log +50: 15: 0000000000210210 0 NOTYPE LOCAL DEFAULT 3 _start +50: 16: 0000000000200000 0 NOTYPE LOCAL DEFAULT 1 __ehdr_start +50: 17: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __init_array_start +50: 19: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __fini_array_start +50: 21: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __preinit_array_start +50: 26: 0000000000230240 0 NOTYPE LOCAL DEFAULT 8 __bss_start +50: 30: 0000000000200000 0 NOTYPE LOCAL DEFAULT 1 __executable_start +50: 31: 0000000000000000 0 NOTYPE LOCAL DEFAULT ABS __rela_iplt_start +50: 39: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __start_EHDR +50: 41: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __start_PHDR +50: + grep -F foo out/test/aarch64/discard/log +50: 14: 0000000000210214 0 NOTYPE LOCAL DEFAULT 3 foo +50: + not grep -F .Lbar out/test/aarch64/discard/log +50: + grep -F .Lbar out/test/aarch64/discard/log +50: + return 0 +50: + ./mold -o out/test/aarch64/discard/exe out/test/aarch64/discard/a.o --discard-all 54: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/duplicate-error-archive.sh -47: + on_exit -47: + echo OK -47: OK -47: + exit 0 - 43/347 Test #47: aarch64-dependency-file .................................. Passed 0.09 sec -test 55 - Start 55: aarch64-duplicate-error-gc-sections - -55: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/duplicate-error-gc-sections.sh" -55: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -55: Environment variables: -55: MACHINE=aarch64 -55: CPU= -55: Test timeout computed to be: 1500 54: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 54: ++ export LC_ALL=C 54: ++ LC_ALL=C @@ -4861,52 +4889,10 @@ 54: ++ OBJCOPY=objcopy 54: ++ STRIP=strip 54: ++ QEMU= -50: 14: 0000000000210214 0 NOTYPE LOCAL DEFAULT 3 foo -50: + not grep -F .Lbar out/test/aarch64/discard/log -50: + grep -F .Lbar out/test/aarch64/discard/log -52: + cat -52: + cc -c -fPIC -o out/test/aarch64/dt-init/b.o -xc - -53: + cc -B. -shared -o out/test/aarch64/dt-needed/libfoo.so out/test/aarch64/dt-needed/a.o -Wl,--soname,libfoo -48: + grep 'RUNPATH.*/foo' -48: + readelf --dynamic out/test/aarch64/disable-new-dtags/b.so -55: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/duplicate-error-gc-sections.sh -48: 0x000000000000001d (RUNPATH) Library runpath: [/foo] -48: + 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 -55: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -55: ++ export LC_ALL=C -55: ++ LC_ALL=C -55: ++ '[' -z aarch64 ']' -55: ++ '[' -z '' ']' -55: ++ TESTDIR=out/test/aarch64 -55: ++ CC=cc -55: ++ CXX=c++ -55: ++ GCC=gcc -55: ++ GXX=g++ -55: ++ OBJDUMP=objdump -55: ++ OBJCOPY=objcopy -55: ++ STRIP=strip -55: ++ QEMU= -55: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/duplicate-error-gc-sections.sh .sh -55: ++ testname=duplicate-error-gc-sections -55: ++ t=out/test/aarch64/duplicate-error-gc-sections -55: ++ mkdir -p out/test/aarch64/duplicate-error-gc-sections -50: + return 0 -50: + ./mold -o out/test/aarch64/discard/exe out/test/aarch64/discard/a.o --discard-all 54: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/duplicate-error-archive.sh .sh -55: ++ case $MACHINE in -55: ++ tlsdesc_opt=-mtls-dialect=desc -55: +++ uname 54: ++ testname=duplicate-error-archive 54: ++ t=out/test/aarch64/duplicate-error-archive 54: ++ mkdir -p out/test/aarch64/duplicate-error-archive -55: ++ '[' Linux = FreeBSD ']' -55: ++ trap 'on_error $LINENO' ERR -55: ++ trap on_exit EXIT -55: ++ echo -n 'Testing duplicate-error-gc-sections ... ' -55: Testing duplicate-error-gc-sections ... ++ set -o pipefail -55: ++ set -x -55: + nm mold -55: + grep __tsan_init 54: ++ case $MACHINE in 54: ++ tlsdesc_opt=-mtls-dialect=desc 54: +++ uname @@ -4917,22 +4903,25 @@ 54: Testing duplicate-error-archive ... ++ set -o pipefail 54: ++ set -x 54: + cat +54: + cc -o out/test/aarch64/duplicate-error-archive/a.o -c -xc - 49: + readelf -SW out/test/aarch64/discard-section/exe0 49: + grep -F .foo 49: [26] .foo PROGBITS 00000000000309e0 0009e0 000004 00 WA 0 0 4 -49: + readelf -SW out/test/aarch64/discard-section/exe0 49: + grep -F .bar -49: [24] .bar PROGBITS 00000000000309c8 0009c8 000004 00 WA 0 0 4 -42: /tmp/ccedyRFt.s: Assembler messages: -42: /tmp/ccedyRFt.s:26: Warning: setting incorrect section attributes for .comment +42: /tmp/ccD9n8lz.s: Assembler messages: +42: /tmp/ccD9n8lz.s:26: Warning: setting incorrect section attributes for .comment 42: + grep -F ns::versionv -44: mold: error: undefined symbol: foo(int, int) -44: + grep -E 'undefined symbol: foo\(int, int\)$' -44: + not cc -B. -o out/test/aarch64/demangle/exe out/test/aarch64/demangle/a.o -50: + readelf --symbols out/test/aarch64/discard/exe -49: + cc -B. -o out/test/aarch64/discard-section/exe1 out/test/aarch64/discard-section/a.o -Wl,--discard-section=.foo -54: + cc -o out/test/aarch64/duplicate-error-archive/a.o -c -xc - +51: + rm -f out/test/aarch64/dso-undef/d.a +51: + ar rcs out/test/aarch64/dso-undef/d.a out/test/aarch64/dso-undef/c.o 42: + not cc -B. -o out/test/aarch64/demangle-cpp/exe2 out/test/aarch64/demangle-cpp/b.o +51: + cc -o out/test/aarch64/dso-undef/e.o -c -xc - +49: + readelf -SW out/test/aarch64/discard-section/exe0 +51: + cat +49: [24] .bar PROGBITS 00000000000309c8 0009c8 000004 00 WA 0 0 4 +49: + cc -B. -o out/test/aarch64/discard-section/exe1 out/test/aarch64/discard-section/a.o -Wl,--discard-section=.foo +52: + cc -B. -o out/test/aarch64/dt-init/c.so -shared out/test/aarch64/dt-init/b.o +50: + readelf --symbols out/test/aarch64/discard/exe +44: mold: error: undefined symbol: foo(int, int) 50: + grep -F _start out/test/aarch64/discard/log 50: 13: 0000000000210210 0 NOTYPE LOCAL DEFAULT 3 _start 50: 14: 0000000000200000 0 NOTYPE LOCAL DEFAULT 1 __ehdr_start @@ -4946,78 +4935,97 @@ 50: 39: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __start_PHDR 50: + not grep -F foo out/test/aarch64/discard/log 50: + grep -F foo out/test/aarch64/discard/log +44: + not cc -B. -o out/test/aarch64/demangle/exe out/test/aarch64/demangle/a.o 50: + return 0 50: + not grep -F .Lbar out/test/aarch64/discard/log 50: + grep -F .Lbar out/test/aarch64/discard/log -52: + cc -B. -o out/test/aarch64/dt-init/c.so -shared out/test/aarch64/dt-init/b.o 50: + return 0 50: + ./mold -o out/test/aarch64/discard/exe out/test/aarch64/discard/a.o --strip-all +44: + grep -E 'undefined symbol: foo\(int, int\)$' +53: + cc -B. -shared -o out/test/aarch64/dt-needed/libbar.so out/test/aarch64/dt-needed/a.o 48: + grep 'RUNPATH.*/foo' 48: + readelf --dynamic out/test/aarch64/disable-new-dtags/b.so -48: 0x000000000000001d (RUNPATH) Library runpath: [/foo] -48: + 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 -51: + cat -51: + cc -o out/test/aarch64/dso-undef/c.o -c -xc - -54: + rm -f out/test/aarch64/duplicate-error-archive/b.a -54: + ar rcs out/test/aarch64/duplicate-error-archive/b.a out/test/aarch64/duplicate-error-archive/a.o +47: + grep 'dependency-file/exe:.*/a.o ' out/test/aarch64/dependency-file/dep +47: out/test/aarch64/dependency-file/exe: /usr/lib/aarch64-linux-gnu/Scrt1.o /usr/lib/aarch64-linux-gnu/crti.o /usr/lib/gcc/aarch64-linux-gnu/14/crtbeginS.o out/test/aarch64/dependency-file/a.o /usr/lib/gcc/aarch64-linux-gnu/14/libgcc.a /usr/lib/gcc/aarch64-linux-gnu/14/libgcc_s.so /usr/lib/aarch64-linux-gnu/libgcc_s.so.1 /usr/lib/aarch64-linux-gnu/libc.so /lib/aarch64-linux-gnu/libc.so.6 /usr/lib/aarch64-linux-gnu/libc_nonshared.a /lib/ld-linux-aarch64.so.1 /usr/lib/gcc/aarch64-linux-gnu/14/crtendS.o /usr/lib/aarch64-linux-gnu/crtn.o +47: + grep '.*/a.o:$' out/test/aarch64/dependency-file/dep +47: out/test/aarch64/dependency-file/a.o: +47: + on_exit +47: + echo OK +47: OK +47: + exit 0 + 43/347 Test #47: aarch64-dependency-file .................................. Passed 0.24 sec +test 55 + Start 55: aarch64-duplicate-error-gc-sections + +55: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/duplicate-error-gc-sections.sh" +55: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +55: Environment variables: +55: MACHINE=aarch64 +55: CPU= +55: Test timeout computed to be: 1500 50: + readelf --symbols out/test/aarch64/discard/exe -53: + cc -B. -shared -o out/test/aarch64/dt-needed/libbar.so out/test/aarch64/dt-needed/a.o -54: + cat -54: + cc -o out/test/aarch64/duplicate-error-archive/c.o -c -xc - -51: + rm -f out/test/aarch64/dso-undef/d.a 50: + not grep -F _start out/test/aarch64/discard/log 50: + grep -F _start out/test/aarch64/discard/log -42: mold: error: undefined symbol: ns::versionv -42: + on_exit -42: + echo OK -42: OK -42: + exit 0 -44: mold: error: undefined symbol: foo(int, int) - 44/347 Test #42: aarch64-demangle-cpp ..................................... Passed 0.20 sec -test 56 - Start 56: aarch64-duplicate-error-lto - -56: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/duplicate-error-lto.sh" -56: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -56: Environment variables: -56: MACHINE=aarch64 -56: CPU= -56: Test timeout computed to be: 1500 -51: + ar rcs out/test/aarch64/dso-undef/d.a out/test/aarch64/dso-undef/c.o -51: + cc -o out/test/aarch64/dso-undef/e.o -c -xc - +51: + 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 +48: 0x000000000000001d (RUNPATH) Library runpath: [/foo] +48: + 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 +55: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/duplicate-error-gc-sections.sh 50: + return 0 50: + not grep -F foo out/test/aarch64/discard/log 50: + grep -F foo out/test/aarch64/discard/log +55: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +55: ++ export LC_ALL=C +55: ++ LC_ALL=C +55: ++ '[' -z aarch64 ']' +55: ++ '[' -z '' ']' +55: ++ TESTDIR=out/test/aarch64 +55: ++ CC=cc +55: ++ CXX=c++ +55: ++ GCC=gcc +55: ++ GXX=g++ +55: ++ OBJDUMP=objdump +55: ++ OBJCOPY=objcopy +55: ++ STRIP=strip +55: ++ QEMU= 50: + return 0 50: + not grep -F .Lbar out/test/aarch64/discard/log 50: + grep -F .Lbar out/test/aarch64/discard/log -49: + not grep -F .foo -49: + grep -F .foo -49: + readelf -SW out/test/aarch64/discard-section/exe1 -49: + return 0 -44: + cc -c -o out/test/aarch64/demangle/b.o -xc - -44: + cat -49: + grep -F .bar -51: + cat -49: + readelf -SW out/test/aarch64/discard-section/exe1 -49: [24] .bar PROGBITS 00000000000309c8 0009c8 000004 00 WA 0 0 4 -49: + cc -B. -o out/test/aarch64/discard-section/exe2 out/test/aarch64/discard-section/a.o -Wl,--discard-section=.foo,--discard-section=.bar,--no-discard-section=.foo +55: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/duplicate-error-gc-sections.sh .sh 50: + return 0 50: + on_exit 50: + echo OK 50: OK 50: + exit 0 - 45/347 Test #50: aarch64-discard .......................................... Passed 0.14 sec -56: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/duplicate-error-lto.sh -test 57 - Start 57: aarch64-duplicate-error +55: ++ testname=duplicate-error-gc-sections +55: ++ t=out/test/aarch64/duplicate-error-gc-sections +55: ++ mkdir -p out/test/aarch64/duplicate-error-gc-sections + 44/347 Test #50: aarch64-discard .......................................... Passed 0.22 sec +test 56 + Start 56: aarch64-duplicate-error-lto -57: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/duplicate-error.sh" -57: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -57: Environment variables: -57: MACHINE=aarch64 -57: CPU= -57: Test timeout computed to be: 1500 +56: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/duplicate-error-lto.sh" +56: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +56: Environment variables: +56: MACHINE=aarch64 +56: CPU= +56: Test timeout computed to be: 1500 +55: ++ case $MACHINE in +55: ++ tlsdesc_opt=-mtls-dialect=desc +55: +++ uname +55: ++ '[' Linux = FreeBSD ']' +55: ++ trap 'on_error $LINENO' ERR +55: ++ trap on_exit EXIT +55: ++ echo -n 'Testing duplicate-error-gc-sections ... ' +55: Testing duplicate-error-gc-sections ... ++ set -o pipefail +55: ++ set -x +55: + grep __tsan_init +55: + nm mold +54: + rm -f out/test/aarch64/duplicate-error-archive/b.a +54: + ar rcs out/test/aarch64/duplicate-error-archive/b.a out/test/aarch64/duplicate-error-archive/a.o +52: + cc -B. -o out/test/aarch64/dt-init/d.so -shared out/test/aarch64/dt-init/b.o -Wl,-init,init -Wl,-fini,fini +56: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/duplicate-error-lto.sh +54: + cc -o out/test/aarch64/duplicate-error-archive/c.o -c -xc - +49: + readelf -SW out/test/aarch64/discard-section/exe1 56: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 56: ++ export LC_ALL=C 56: ++ LC_ALL=C @@ -5032,21 +5040,45 @@ 56: ++ OBJCOPY=objcopy 56: ++ STRIP=strip 56: ++ QEMU= +54: + cat 56: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/duplicate-error-lto.sh .sh -54: + 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 +49: + not grep -F .foo +49: + grep -F .foo 56: ++ testname=duplicate-error-lto 56: ++ t=out/test/aarch64/duplicate-error-lto 56: ++ mkdir -p out/test/aarch64/duplicate-error-lto -48: + grep 'RPATH.*/foo' -48: + readelf --dynamic out/test/aarch64/disable-new-dtags/b.so -57: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/duplicate-error.sh +42: mold: error: undefined symbol: ns::versionv +42: + on_exit +42: + echo OK +42: OK +42: + exit 0 + 45/347 Test #42: aarch64-demangle-cpp ..................................... Passed 0.39 sec +test 57 + Start 57: aarch64-duplicate-error + +57: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/duplicate-error.sh" +57: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +57: Environment variables: +57: MACHINE=aarch64 +57: CPU= +57: Test timeout computed to be: 1500 56: ++ case $MACHINE in 56: ++ tlsdesc_opt=-mtls-dialect=desc -48: 0x000000000000000f (RPATH) Library rpath: [/foo] -48: + on_exit -48: + echo OK -48: OK -48: + exit 0 +56: +++ uname +49: + return 0 +57: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/duplicate-error.sh +56: ++ '[' Linux = FreeBSD ']' +49: + grep -F .bar +56: ++ trap 'on_error $LINENO' ERR +56: ++ trap on_exit EXIT +56: ++ echo -n 'Testing duplicate-error-lto ... ' +56: Testing duplicate-error-lto ... ++ set -o pipefail +56: ++ set -x +56: + grep __tsan_init +53: + cc -c -o out/test/aarch64/dt-needed/b.o -xc - +56: + nm mold +48: + grep 'RUNPATH.*/foo' +49: + readelf -SW out/test/aarch64/discard-section/exe1 57: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 57: ++ export LC_ALL=C 57: ++ LC_ALL=C @@ -5061,31 +5093,18 @@ 57: ++ OBJCOPY=objcopy 57: ++ STRIP=strip 57: ++ QEMU= -52: + cc -B. -o out/test/aarch64/dt-init/d.so -shared out/test/aarch64/dt-init/b.o -Wl,-init,init -Wl,-fini,fini -56: +++ uname - 46/347 Test #48: aarch64-disable-new-dtags ................................ Passed 0.16 sec +48: + readelf --dynamic out/test/aarch64/disable-new-dtags/b.so +53: + cat +48: 0x000000000000001d (RUNPATH) Library runpath: [/foo] +48: + 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 57: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/duplicate-error.sh .sh -test 58 - Start 58: aarch64-dynamic-dt-debug - -58: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-dt-debug.sh" -58: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -58: Environment variables: -58: MACHINE=aarch64 -58: CPU= -58: Test timeout computed to be: 1500 57: ++ testname=duplicate-error 57: ++ t=out/test/aarch64/duplicate-error 57: ++ mkdir -p out/test/aarch64/duplicate-error +49: [24] .bar PROGBITS 00000000000309c8 0009c8 000004 00 WA 0 0 4 +49: + cc -B. -o out/test/aarch64/discard-section/exe2 out/test/aarch64/discard-section/a.o -Wl,--discard-section=.foo,--discard-section=.bar,--no-discard-section=.foo 57: ++ case $MACHINE in 57: ++ tlsdesc_opt=-mtls-dialect=desc -51: + 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 -56: ++ '[' Linux = FreeBSD ']' -56: ++ trap 'on_error $LINENO' ERR -56: ++ trap on_exit EXIT -56: ++ echo -n 'Testing duplicate-error-lto ... ' -56: Testing duplicate-error-lto ... ++ set -o pipefail -56: ++ set -x 57: +++ uname 57: ++ '[' Linux = FreeBSD ']' 57: ++ trap 'on_error $LINENO' ERR @@ -5093,12 +5112,37 @@ 57: ++ echo -n 'Testing duplicate-error ... ' 57: Testing duplicate-error ... ++ set -o pipefail 57: ++ set -x -57: + cc -o out/test/aarch64/duplicate-error/a.o -c -x assembler - 57: + cat -44: + not cc -B. -o out/test/aarch64/demangle/exe out/test/aarch64/demangle/b.o -Wl,-demangle -56: + grep __tsan_init +52: + cc -B. -o out/test/aarch64/dt-init/exe1 out/test/aarch64/dt-init/a.o out/test/aarch64/dt-init/c.so +44: mold: error: undefined symbol: foo(int, int) +44: + cat +54: + 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 +44: + cc -c -o out/test/aarch64/demangle/b.o -xc - +57: + cc -o out/test/aarch64/duplicate-error/a.o -c -x assembler - +53: + cc -B. -o out/test/aarch64/dt-needed/exe out/test/aarch64/dt-needed/b.o out/test/aarch64/dt-needed/libfoo.so +51: + readelf --dyn-syms out/test/aarch64/dso-undef/exe +51: + grep ' foo$' +51: 5: 0000000000030a80 4 OBJECT GLOBAL DEFAULT 24 foo +51: + on_exit +51: + echo OK +51: OK +51: + exit 0 + 46/347 Test #51: aarch64-dso-undef ........................................ Passed 0.30 sec +test 58 + Start 58: aarch64-dynamic-dt-debug + +58: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-dt-debug.sh" +58: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +58: Environment variables: +58: MACHINE=aarch64 +58: CPU= +58: Test timeout computed to be: 1500 +49: + grep -F .foo +49: + readelf -SW out/test/aarch64/discard-section/exe2 +57: + grep 'duplicate symbol: .*\.o: .*\.o: main' 58: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-dt-debug.sh -56: + nm mold +49: [25] .foo PROGBITS 00000000000309d8 0009d8 000004 00 WA 0 0 4 +48: + readelf --dynamic out/test/aarch64/disable-new-dtags/b.so 58: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 58: ++ export LC_ALL=C 58: ++ LC_ALL=C @@ -5114,32 +5158,29 @@ 58: ++ STRIP=strip 58: ++ QEMU= 58: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-dt-debug.sh .sh -44: + grep 'undefined symbol: Pi$' -53: + cat -53: + cc -c -o out/test/aarch64/dt-needed/b.o -xc - -57: + not ./mold -o out/test/aarch64/duplicate-error/exe out/test/aarch64/duplicate-error/a.o out/test/aarch64/duplicate-error/a.o -57: + grep 'duplicate symbol: .*\.o: .*\.o: main' 58: ++ testname=dynamic-dt-debug 58: ++ t=out/test/aarch64/dynamic-dt-debug 58: ++ mkdir -p out/test/aarch64/dynamic-dt-debug +52: + cc -B. -o out/test/aarch64/dt-init/exe2 out/test/aarch64/dt-init/a.o out/test/aarch64/dt-init/d.so +48: + grep 'RPATH.*/foo' +49: + readelf -SW out/test/aarch64/discard-section/exe2 +49: + not grep -F .bar +49: + grep -F .bar +48: 0x000000000000000f (RPATH) Library rpath: [/foo] +57: + not ./mold -o out/test/aarch64/duplicate-error/exe out/test/aarch64/duplicate-error/a.o out/test/aarch64/duplicate-error/a.o +48: + on_exit +48: + echo OK +48: OK +48: + exit 0 58: ++ case $MACHINE in 58: ++ tlsdesc_opt=-mtls-dialect=desc -58: +++ uname -58: ++ '[' Linux = FreeBSD ']' -58: ++ trap 'on_error $LINENO' ERR -58: ++ trap on_exit EXIT -58: ++ echo -n 'Testing dynamic-dt-debug ... ' -58: Testing dynamic-dt-debug ... ++ set -o pipefail -58: ++ set -x -58: + cat -58: + cc -o out/test/aarch64/dynamic-dt-debug/a.o -c -xc - -57: mold: error: duplicate symbol: out/test/aarch64/duplicate-error/a.o: out/test/aarch64/duplicate-error/a.o: main -57: + on_exit -57: + echo OK -57: OK -57: + exit 0 -49: + grep -F .foo - 47/347 Test #57: aarch64-duplicate-error .................................. Passed 0.04 sec +49: + return 0 +49: + on_exit +49: + echo OK +49: OK +49: + exit 0 + 47/347 Test #49: aarch64-discard-section .................................. Passed 0.36 sec + 48/347 Test #48: aarch64-disable-new-dtags ................................ Passed 0.37 sec test 59 Start 59: aarch64-dynamic-linker @@ -5149,13 +5190,25 @@ 59: MACHINE=aarch64 59: CPU= 59: Test timeout computed to be: 1500 -49: + readelf -SW out/test/aarch64/discard-section/exe2 -49: [25] .foo PROGBITS 00000000000309d8 0009d8 000004 00 WA 0 0 4 -49: + readelf -SW out/test/aarch64/discard-section/exe2 -54: + not 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 -49: + not grep -F .bar +test 60 + Start 60: aarch64-dynamic-list-data + +60: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-list-data.sh" +60: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +60: Environment variables: +60: MACHINE=aarch64 +60: CPU= +60: Test timeout computed to be: 1500 +58: +++ uname +58: ++ '[' Linux = FreeBSD ']' +58: ++ trap 'on_error $LINENO' ERR +58: ++ trap on_exit EXIT +58: ++ echo -n 'Testing dynamic-dt-debug ... ' +58: Testing dynamic-dt-debug ... ++ set -o pipefail +58: ++ set -x +58: + cat +58: + cc -o out/test/aarch64/dynamic-dt-debug/a.o -c -xc - 59: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-linker.sh -49: + grep -F .bar 59: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 59: ++ export LC_ALL=C 59: ++ LC_ALL=C @@ -5170,28 +5223,13 @@ 59: ++ OBJCOPY=objcopy 59: ++ STRIP=strip 59: ++ QEMU= -53: + cc -B. -o out/test/aarch64/dt-needed/exe out/test/aarch64/dt-needed/b.o out/test/aarch64/dt-needed/libfoo.so -49: + return 0 -49: + on_exit -49: + echo OK -49: OK -49: + exit 0 59: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-linker.sh .sh - 48/347 Test #49: aarch64-discard-section .................................. Passed 0.19 sec -test 60 - Start 60: aarch64-dynamic-list-data - -60: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-list-data.sh" -60: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -60: Environment variables: -60: MACHINE=aarch64 -60: CPU= -60: Test timeout computed to be: 1500 59: ++ testname=dynamic-linker 59: ++ t=out/test/aarch64/dynamic-linker 59: ++ mkdir -p out/test/aarch64/dynamic-linker 59: ++ case $MACHINE in 59: ++ tlsdesc_opt=-mtls-dialect=desc +57: mold: error: duplicate symbol: out/test/aarch64/duplicate-error/a.o: out/test/aarch64/duplicate-error/a.o: main 59: +++ uname 59: ++ '[' Linux = FreeBSD ']' 59: ++ trap 'on_error $LINENO' ERR @@ -5201,8 +5239,23 @@ 59: ++ set -x 59: + cc -c -o out/test/aarch64/dynamic-linker/a.o -x assembler - 59: + cat -52: + cc -B. -o out/test/aarch64/dt-init/exe1 out/test/aarch64/dt-init/a.o out/test/aarch64/dt-init/c.so +54: + not 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 +57: + on_exit +57: + echo OK +57: OK +57: + exit 0 60: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-list-data.sh + 49/347 Test #57: aarch64-duplicate-error .................................. Passed 0.13 sec +test 61 + Start 61: aarch64-dynamic-list + +61: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-list.sh" +61: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +61: Environment variables: +61: MACHINE=aarch64 +61: CPU= +61: Test timeout computed to be: 1500 +59: + ./mold -o out/test/aarch64/dynamic-linker/exe out/test/aarch64/dynamic-linker/a.o 60: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 60: ++ export LC_ALL=C 60: ++ LC_ALL=C @@ -5218,31 +5271,9 @@ 60: ++ STRIP=strip 60: ++ QEMU= 60: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-list-data.sh .sh -59: + ./mold -o out/test/aarch64/dynamic-linker/exe out/test/aarch64/dynamic-linker/a.o 60: ++ testname=dynamic-list-data 60: ++ t=out/test/aarch64/dynamic-list-data 60: ++ mkdir -p out/test/aarch64/dynamic-list-data -44: mold: error: undefined symbol: Pi -58: + cc -B. -o out/test/aarch64/dynamic-dt-debug/exe out/test/aarch64/dynamic-dt-debug/a.o -44: + on_exit -44: + echo OK -44: OK -44: + exit 0 - 49/347 Test #44: aarch64-demangle ......................................... Passed 0.27 sec -test 61 - Start 61: aarch64-dynamic-list - -61: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-list.sh" -61: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -61: Environment variables: -61: MACHINE=aarch64 -61: CPU= -61: Test timeout computed to be: 1500 -59: + readelf --sections out/test/aarch64/dynamic-linker/exe -59: + not grep -F .interp -59: + grep -F .interp -59: + return 0 -59: + ./mold -o out/test/aarch64/dynamic-linker/exe out/test/aarch64/dynamic-linker/a.o --dynamic-linker=/foo/bar 61: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-list.sh 61: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 61: ++ export LC_ALL=C @@ -5259,12 +5290,11 @@ 61: ++ STRIP=strip 61: ++ QEMU= 61: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-list.sh .sh -61: ++ testname=dynamic-list -61: ++ t=out/test/aarch64/dynamic-list -61: ++ mkdir -p out/test/aarch64/dynamic-list 60: ++ case $MACHINE in 60: ++ tlsdesc_opt=-mtls-dialect=desc 60: +++ uname +52: + out/test/aarch64/dt-init/exe1 +58: + cc -B. -o out/test/aarch64/dynamic-dt-debug/exe out/test/aarch64/dynamic-dt-debug/a.o 60: ++ '[' Linux = FreeBSD ']' 60: ++ trap 'on_error $LINENO' ERR 60: ++ trap on_exit EXIT @@ -5272,54 +5302,59 @@ 60: Testing dynamic-list-data ... ++ set -o pipefail 60: ++ set -x 60: + cat +61: ++ testname=dynamic-list +61: ++ t=out/test/aarch64/dynamic-list +61: ++ mkdir -p out/test/aarch64/dynamic-list 60: + cc -o out/test/aarch64/dynamic-list-data/a.o -c -xc - +59: + not grep -F .interp 59: + grep -F .interp +53: + grep -F 'Shared library: [libfoo]' +44: + not cc -B. -o out/test/aarch64/demangle/exe out/test/aarch64/demangle/b.o -Wl,-demangle 59: + readelf --sections out/test/aarch64/dynamic-linker/exe -59: [ 1] .interp PROGBITS 0000000000200238 00000238 -59: + on_exit -59: + echo OK -59: OK -59: + exit 0 - 50/347 Test #59: aarch64-dynamic-linker ................................... Passed 0.05 sec -test 62 - Start 62: aarch64-dynamic-list2 - -62: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-list2.sh" -62: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -62: Environment variables: -62: MACHINE=aarch64 -62: CPU= -62: Test timeout computed to be: 1500 -54: + grep 'duplicate symbol:.* foo' out/test/aarch64/duplicate-error-archive/log +52: + out/test/aarch64/dt-init/exe2 +44: + grep 'undefined symbol: Pi$' +52: + not grep init out/test/aarch64/dt-init/log1 +52: + grep init out/test/aarch64/dt-init/log1 +52: + return 0 +52: + not grep fini out/test/aarch64/dt-init/log1 +52: + grep fini out/test/aarch64/dt-init/log1 61: ++ case $MACHINE in 61: ++ tlsdesc_opt=-mtls-dialect=desc +52: + return 0 +52: + grep init out/test/aarch64/dt-init/log2 +53: + readelf --dynamic out/test/aarch64/dt-needed/exe 61: +++ uname +53: 0x0000000000000001 (NEEDED) Shared library: [libfoo] +59: + return 0 +59: + ./mold -o out/test/aarch64/dynamic-linker/exe out/test/aarch64/dynamic-linker/a.o --dynamic-linker=/foo/bar 61: ++ '[' Linux = FreeBSD ']' 61: ++ trap 'on_error $LINENO' ERR 61: ++ trap on_exit EXIT 61: ++ echo -n 'Testing dynamic-list ... ' 61: Testing dynamic-list ... ++ set -o pipefail 61: ++ set -x -54: mold: error: duplicate symbol: out/test/aarch64/duplicate-error-archive/b.a(a.o): out/test/aarch64/duplicate-error-archive/b.a(a.o): foo -53: + grep -F 'Shared library: [libfoo]' -53: + readelf --dynamic out/test/aarch64/dt-needed/exe +61: + cat 61: + cc -o out/test/aarch64/dynamic-list/a.o -c -xc - -62: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-list2.sh -54: + on_exit -54: + echo OK -54: OK -54: + exit 0 - 51/347 Test #54: aarch64-duplicate-error-archive .......................... Passed 0.17 sec -52: + cc -B. -o out/test/aarch64/dt-init/exe2 out/test/aarch64/dt-init/a.o out/test/aarch64/dt-init/d.so -test 63 - Start 63: aarch64-dynamic-list3 +52: init +52: + grep fini out/test/aarch64/dt-init/log2 +53: + cc -B. -o out/test/aarch64/dt-needed/exe out/test/aarch64/dt-needed/b.o -L out/test/aarch64/dt-needed -lfoo +52: fini +52: + on_exit +52: + echo OK +52: OK +52: + exit 0 + 50/347 Test #52: aarch64-dt-init .......................................... Passed 0.40 sec +test 62 + Start 62: aarch64-dynamic-list2 -63: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-list3.sh" -63: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -63: Environment variables: -63: MACHINE=aarch64 -63: CPU= -63: Test timeout computed to be: 1500 +62: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-list2.sh" +62: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +62: Environment variables: +62: MACHINE=aarch64 +62: CPU= +62: Test timeout computed to be: 1500 +59: + readelf --sections out/test/aarch64/dynamic-linker/exe +62: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-list2.sh 62: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 62: ++ export LC_ALL=C 62: ++ LC_ALL=C @@ -5335,29 +5370,30 @@ 62: ++ STRIP=strip 62: ++ QEMU= 62: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-list2.sh .sh +59: + grep -F .interp +59: [ 1] .interp PROGBITS 0000000000200238 00000238 +59: + on_exit +59: + echo OK +59: OK +59: + exit 0 62: ++ testname=dynamic-list2 62: ++ t=out/test/aarch64/dynamic-list2 62: ++ mkdir -p out/test/aarch64/dynamic-list2 -53: 0x0000000000000001 (NEEDED) Shared library: [libfoo] -53: + cc -B. -o out/test/aarch64/dt-needed/exe out/test/aarch64/dt-needed/b.o -L out/test/aarch64/dt-needed -lfoo + 51/347 Test #59: aarch64-dynamic-linker ................................... Passed 0.09 sec +test 63 + Start 63: aarch64-dynamic-list3 + +63: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-list3.sh" +63: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +63: Environment variables: +63: MACHINE=aarch64 +63: CPU= +63: Test timeout computed to be: 1500 62: ++ case $MACHINE in 62: ++ tlsdesc_opt=-mtls-dialect=desc -51: + readelf --dyn-syms out/test/aarch64/dso-undef/exe -51: + grep ' foo$' -63: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-list3.sh -61: + cat +60: + cc -B. -o out/test/aarch64/dynamic-list-data/exe out/test/aarch64/dynamic-list-data/a.o -Wl,-dynamic-list-data 62: +++ uname -62: ++ '[' Linux = FreeBSD ']' -62: ++ trap 'on_error $LINENO' ERR -62: ++ trap on_exit EXIT -62: ++ echo -n 'Testing dynamic-list2 ... ' -62: Testing dynamic-list2 ... ++ set -o pipefail -62: ++ set -x -51: 5: 0000000000030a80 4 OBJECT GLOBAL DEFAULT 24 foo -51: + on_exit -51: + echo OK -51: OK -51: + exit 0 +63: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-list3.sh 63: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 63: ++ export LC_ALL=C 63: ++ LC_ALL=C @@ -5372,8 +5408,43 @@ 63: ++ OBJCOPY=objcopy 63: ++ STRIP=strip 63: ++ QEMU= - 52/347 Test #51: aarch64-dso-undef ........................................ Passed 0.23 sec +62: ++ '[' Linux = FreeBSD ']' +62: ++ trap 'on_error $LINENO' ERR +62: ++ trap on_exit EXIT +62: ++ echo -n 'Testing dynamic-list2 ... ' +62: Testing dynamic-list2 ... ++ set -o pipefail +62: ++ set -x +62: + cat +63: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-list3.sh .sh +61: + cc -B. -o out/test/aarch64/dynamic-list/exe out/test/aarch64/dynamic-list/a.o +63: ++ testname=dynamic-list3 +63: ++ t=out/test/aarch64/dynamic-list3 +63: ++ mkdir -p out/test/aarch64/dynamic-list3 62: + cc -o out/test/aarch64/dynamic-list2/a.o -c -xc - +63: ++ case $MACHINE in +63: ++ tlsdesc_opt=-mtls-dialect=desc +63: +++ uname +63: ++ '[' Linux = FreeBSD ']' +63: ++ trap 'on_error $LINENO' ERR +63: ++ trap on_exit EXIT +63: ++ echo -n 'Testing dynamic-list3 ... ' +63: Testing dynamic-list3 ... ++ set -o pipefail +63: ++ set -x +63: + cat +63: + c++ -fPIC -c -o out/test/aarch64/dynamic-list3/b.o -xc - +63: + cat +54: + grep 'duplicate symbol:.* foo' out/test/aarch64/duplicate-error-archive/log +53: + readelf --dynamic out/test/aarch64/dt-needed/exe +53: + grep -F 'Shared library: [libfoo]' +60: + readelf -W --dyn-syms out/test/aarch64/dynamic-list-data/exe +58: + readelf --dynamic out/test/aarch64/dynamic-dt-debug/exe +58: + grep -F '(DEBUG)' out/test/aarch64/dynamic-dt-debug/log +54: mold: error: duplicate symbol: out/test/aarch64/duplicate-error-archive/b.a(a.o): out/test/aarch64/duplicate-error-archive/b.a(a.o): foo +54: + on_exit +54: + echo OK +54: OK +54: + exit 0 + 52/347 Test #54: aarch64-duplicate-error-archive .......................... Passed 0.39 sec test 64 Start 64: aarch64-dynamic-list4 @@ -5383,13 +5454,39 @@ 64: MACHINE=aarch64 64: CPU= 64: Test timeout computed to be: 1500 -63: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-list3.sh .sh -63: ++ testname=dynamic-list3 -63: ++ t=out/test/aarch64/dynamic-list3 -63: ++ mkdir -p out/test/aarch64/dynamic-list3 -63: ++ case $MACHINE in -63: ++ tlsdesc_opt=-mtls-dialect=desc +60: + grep -w foo out/test/aarch64/dynamic-list-data/log +60: 7: 0000000000030aa8 4 OBJECT GLOBAL DEFAULT 24 foo +60: + not grep -w bar out/test/aarch64/dynamic-list-data/log +60: + grep -w bar out/test/aarch64/dynamic-list-data/log +53: 0x0000000000000001 (NEEDED) Shared library: [libfoo] +53: + cc -B. -o out/test/aarch64/dt-needed/exe out/test/aarch64/dt-needed/b.o out/test/aarch64/dt-needed/libbar.so +58: 0x0000000000000015 (DEBUG) 0x0 +62: + cat +58: + cat +60: + return 0 +60: + on_exit +60: + echo OK +60: OK +60: + exit 0 64: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-list4.sh + 53/347 Test #60: aarch64-dynamic-list-data ................................ Passed 0.16 sec +test 65 + Start 65: aarch64-dynamic + +65: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/dynamic.sh" +65: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +65: Environment variables: +65: MACHINE=aarch64 +65: CPU= +65: Test timeout computed to be: 1500 +61: + readelf --dyn-syms out/test/aarch64/dynamic-list/exe +61: + not grep ' foo' out/test/aarch64/dynamic-list/log +61: + grep ' foo' out/test/aarch64/dynamic-list/log +61: + return 0 +61: + not grep ' bar' out/test/aarch64/dynamic-list/log +61: + grep ' bar' out/test/aarch64/dynamic-list/log +58: + cc -o out/test/aarch64/dynamic-dt-debug/b.o -c -xc - +62: + c++ -o out/test/aarch64/dynamic-list2/b.o -c -xc++ - 64: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 64: ++ export LC_ALL=C 64: ++ LC_ALL=C @@ -5405,70 +5502,15 @@ 64: ++ STRIP=strip 64: ++ QEMU= 64: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-list4.sh .sh -58: + readelf --dynamic out/test/aarch64/dynamic-dt-debug/exe 64: ++ testname=dynamic-list4 64: ++ t=out/test/aarch64/dynamic-list4 64: ++ mkdir -p out/test/aarch64/dynamic-list4 -58: + grep -F '(DEBUG)' out/test/aarch64/dynamic-dt-debug/log 64: ++ case $MACHINE in 64: ++ tlsdesc_opt=-mtls-dialect=desc -64: +++ uname -58: 0x0000000000000015 (DEBUG) 0x0 -60: + cc -B. -o out/test/aarch64/dynamic-list-data/exe out/test/aarch64/dynamic-list-data/a.o -Wl,-dynamic-list-data -64: ++ '[' Linux = FreeBSD ']' -64: ++ trap 'on_error $LINENO' ERR -64: ++ trap on_exit EXIT -64: ++ echo -n 'Testing dynamic-list4 ... ' -64: Testing dynamic-list4 ... ++ set -o pipefail -64: ++ set -x -58: + cat -58: + cc -o out/test/aarch64/dynamic-dt-debug/b.o -c -xc - -62: + cat -63: +++ uname -64: + cat -64: + cc -o out/test/aarch64/dynamic-list4/a.o -c -xc - -fPIC -63: ++ '[' Linux = FreeBSD ']' -63: ++ trap 'on_error $LINENO' ERR -63: ++ trap on_exit EXIT -63: ++ echo -n 'Testing dynamic-list3 ... ' -63: Testing dynamic-list3 ... ++ set -o pipefail -63: ++ set -x -63: + cat -55: + cat -55: + cc -o out/test/aarch64/duplicate-error-gc-sections/a.o -c -xc - -63: + cat -61: + cc -B. -o out/test/aarch64/dynamic-list/exe out/test/aarch64/dynamic-list/a.o -63: + c++ -fPIC -c -o out/test/aarch64/dynamic-list3/b.o -xc - -52: + out/test/aarch64/dt-init/exe1 -52: + out/test/aarch64/dt-init/exe2 -52: + not grep init out/test/aarch64/dt-init/log1 -52: + grep init out/test/aarch64/dt-init/log1 -52: + return 0 -52: + not grep fini out/test/aarch64/dt-init/log1 -52: + grep fini out/test/aarch64/dt-init/log1 -52: + return 0 -52: + grep init out/test/aarch64/dt-init/log2 -62: + c++ -o out/test/aarch64/dynamic-list2/b.o -c -xc++ - -52: init -52: + grep fini out/test/aarch64/dt-init/log2 -52: fini -62: + cat -52: + on_exit -52: + echo OK -52: OK -52: + exit 0 - 53/347 Test #52: aarch64-dt-init .......................................... Passed 0.26 sec -test 65 - Start 65: aarch64-dynamic - -65: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/dynamic.sh" -65: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -65: Environment variables: -65: MACHINE=aarch64 -65: CPU= -65: Test timeout computed to be: 1500 65: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/dynamic.sh -55: + cc -o out/test/aarch64/duplicate-error-gc-sections/b.o -c -xc - +64: +++ uname +63: + 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 +56: + test_cflags -flto 65: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 65: ++ export LC_ALL=C 65: ++ LC_ALL=C @@ -5483,27 +5525,42 @@ 65: ++ OBJCOPY=objcopy 65: ++ STRIP=strip 65: ++ QEMU= +64: ++ '[' Linux = FreeBSD ']' +64: ++ trap 'on_error $LINENO' ERR +64: ++ trap on_exit EXIT +64: ++ echo -n 'Testing dynamic-list4 ... ' +64: Testing dynamic-list4 ... ++ set -o pipefail +64: ++ set -x 65: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/dynamic.sh .sh -60: + readelf -W --dyn-syms out/test/aarch64/dynamic-list-data/exe +56: + echo 'int main() {}' +64: + cc -o out/test/aarch64/dynamic-list4/a.o -c -xc - -fPIC +61: + return 0 +61: + cat +64: + cat 65: ++ testname=dynamic 65: ++ t=out/test/aarch64/dynamic 65: ++ mkdir -p out/test/aarch64/dynamic -64: + cat -64: + 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 -55: + cat -60: + grep -w foo out/test/aarch64/dynamic-list-data/log +56: + cc -B. -flto -o /dev/null -xc - +61: + 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 65: ++ case $MACHINE in 65: ++ tlsdesc_opt=-mtls-dialect=desc -60: 7: 0000000000030aa8 4 OBJECT GLOBAL DEFAULT 24 foo -60: + not grep -w bar out/test/aarch64/dynamic-list-data/log -60: + grep -w bar out/test/aarch64/dynamic-list-data/log +62: + c++ -B. -o out/test/aarch64/dynamic-list2/exe out/test/aarch64/dynamic-list2/a.o out/test/aarch64/dynamic-list2/b.o 65: +++ uname -60: + return 0 -60: + on_exit -60: + echo OK -60: OK -60: + exit 0 - 54/347 Test #60: aarch64-dynamic-list-data ................................ Passed 0.11 sec +65: ++ '[' Linux = FreeBSD ']' +65: ++ trap 'on_error $LINENO' ERR +65: ++ trap on_exit EXIT +65: ++ echo -n 'Testing dynamic ... ' +65: Testing dynamic ... ++ set -o pipefail +65: ++ set -x +65: + echo '.globl main; main:' +58: + cc -B. -o out/test/aarch64/dynamic-dt-debug/c.so out/test/aarch64/dynamic-dt-debug/b.o -shared +65: + cc -o out/test/aarch64/dynamic/a.o -c -x assembler - +44: mold: error: undefined symbol: Pi +44: + on_exit +44: + echo OK +44: OK +44: + exit 0 + 54/347 Test #44: aarch64-demangle ......................................... Passed 0.66 sec test 66 Start 66: aarch64-emit-relocs-cpp @@ -5513,22 +5570,10 @@ 66: MACHINE=aarch64 66: CPU= 66: Test timeout computed to be: 1500 -65: ++ '[' Linux = FreeBSD ']' -65: ++ trap 'on_error $LINENO' ERR -65: ++ trap on_exit EXIT -65: ++ echo -n 'Testing dynamic ... ' -65: Testing dynamic ... ++ set -o pipefail -65: ++ set -x -58: + cc -B. -o out/test/aarch64/dynamic-dt-debug/c.so out/test/aarch64/dynamic-dt-debug/b.o -shared -53: + grep -F 'Shared library: [libfoo]' -53: + readelf --dynamic out/test/aarch64/dt-needed/exe -53: 0x0000000000000001 (NEEDED) Shared library: [libfoo] -53: + cc -B. -o out/test/aarch64/dt-needed/exe out/test/aarch64/dt-needed/b.o out/test/aarch64/dt-needed/libbar.so -65: + cc -o out/test/aarch64/dynamic/a.o -c -x assembler - -63: + 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 -65: + echo '.globl main; main:' +65: + cc -B. -o out/test/aarch64/dynamic/exe out/test/aarch64/dynamic/a.o +64: + cat +64: + 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 66: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/emit-relocs-cpp.sh -61: + readelf --dyn-syms out/test/aarch64/dynamic-list/exe 66: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 66: ++ export LC_ALL=C 66: ++ LC_ALL=C @@ -5543,15 +5588,19 @@ 66: ++ OBJCOPY=objcopy 66: ++ STRIP=strip 66: ++ QEMU= -65: + cc -B. -o out/test/aarch64/dynamic/exe out/test/aarch64/dynamic/a.o -55: + grep 'duplicate symbol.*: foo$' 66: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/emit-relocs-cpp.sh .sh -55: + not cc -B. -o out/test/aarch64/duplicate-error-gc-sections/exe1 out/test/aarch64/duplicate-error-gc-sections/a.o out/test/aarch64/duplicate-error-gc-sections/a.o out/test/aarch64/duplicate-error-gc-sections/b.o +58: + readelf --dynamic out/test/aarch64/dynamic-dt-debug/c.so 66: ++ testname=emit-relocs-cpp 66: ++ t=out/test/aarch64/emit-relocs-cpp 66: ++ mkdir -p out/test/aarch64/emit-relocs-cpp -61: + not grep ' foo' out/test/aarch64/dynamic-list/log -61: + grep ' foo' out/test/aarch64/dynamic-list/log +58: + not grep -F '(DEBUG)' +58: + grep -F '(DEBUG)' +61: + readelf --dyn-syms out/test/aarch64/dynamic-list/exe1 +58: + return 0 +58: + on_exit +58: + echo OK +58: OK +58: + exit 0 66: ++ case $MACHINE in 66: ++ tlsdesc_opt=-mtls-dialect=desc 66: +++ uname @@ -5563,53 +5612,9 @@ 66: ++ set -x 66: + '[' aarch64 = arm ']' 66: + cat +61: + grep ' foo' out/test/aarch64/dynamic-list/log1 + 55/347 Test #58: aarch64-dynamic-dt-debug ................................. Passed 0.29 sec 66: + c++ -o out/test/aarch64/emit-relocs-cpp/a.o -c -fPIC -xc++ - -64: + cat -64: + cc -o out/test/aarch64/dynamic-list4/c.o -c -xc - -fPIC -61: + return 0 -61: + not grep ' bar' out/test/aarch64/dynamic-list/log -61: + grep ' bar' out/test/aarch64/dynamic-list/log -61: + return 0 -61: + cat -61: + 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 -62: + c++ -B. -o out/test/aarch64/dynamic-list2/exe out/test/aarch64/dynamic-list2/a.o out/test/aarch64/dynamic-list2/b.o -53: + readelf --dynamic out/test/aarch64/dt-needed/exe -53: + grep -E 'Shared library: \[.*dt-needed/libbar\.so\]' -53: 0x0000000000000001 (NEEDED) Shared library: [out/test/aarch64/dt-needed/libbar.so] -53: + cc -B. -o out/test/aarch64/dt-needed/exe out/test/aarch64/dt-needed/b.o -Lout/test/aarch64/dt-needed -lbar -66: + c++ -B. -o out/test/aarch64/emit-relocs-cpp/exe out/test/aarch64/emit-relocs-cpp/a.o -Wl,-emit-relocs -65: + grep -E 'Shared library:.*\blibc\b' -65: + readelf --dynamic out/test/aarch64/dynamic/exe -65: 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] -58: + readelf --dynamic out/test/aarch64/dynamic-dt-debug/c.so -58: + not grep -F '(DEBUG)' -58: + grep -F '(DEBUG)' -65: + readelf -W --dyn-syms --use-dynamic out/test/aarch64/dynamic/exe -65: + grep -E 'FUNC\s+GLOBAL\s+DEFAULT.*UND\s+__libc_start' -63: + readelf --dyn-syms out/test/aarch64/dynamic-list3/exe1 -58: + return 0 -64: + cc -B. -shared -o out/test/aarch64/dynamic-list4/d.so out/test/aarch64/dynamic-list4/c.o -56: + test_cflags -flto -56: + echo 'int main() {}' -56: + cc -B. -flto -o /dev/null -xc - -65: 1: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __libc_start_main@GLIBC_2.34 (3) -63: + grep ' xyz' out/test/aarch64/dynamic-list3/log1 -63: 6: 0000000000010868 8 FUNC GLOBAL DEFAULT 18 xyz -63: + not grep ' foobarzx' out/test/aarch64/dynamic-list3/log1 -63: + grep ' foobarzx' out/test/aarch64/dynamic-list3/log1 -58: + on_exit -58: + echo OK -58: OK -63: + return 0 -58: + exit 0 -63: + grep ' foobarcx' out/test/aarch64/dynamic-list3/log1 -65: + on_exit -65: + echo OK -65: OK -65: + exit 0 -55: mold: error: duplicate symbol: out/test/aarch64/duplicate-error-gc-sections/a.o: out/test/aarch64/duplicate-error-gc-sections/a.o: foo - 55/347 Test #58: aarch64-dynamic-dt-debug ................................. Passed 0.22 sec - 56/347 Test #65: aarch64-dynamic .......................................... Passed 0.09 sec test 67 Start 67: aarch64-emit-relocs-dead-sections @@ -5619,16 +5624,16 @@ 67: MACHINE=aarch64 67: CPU= 67: Test timeout computed to be: 1500 -test 68 - Start 68: aarch64-emit-relocs - -68: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/emit-relocs.sh" -68: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -68: Environment variables: -68: MACHINE=aarch64 -68: CPU= -68: Test timeout computed to be: 1500 +61: 5: 00000000000107e8 8 FUNC GLOBAL DEFAULT 18 foo +61: + grep ' bar' out/test/aarch64/dynamic-list/log1 +61: 4: 00000000000107f0 8 FUNC GLOBAL DEFAULT 18 bar +61: + 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 +55: + cc -o out/test/aarch64/duplicate-error-gc-sections/a.o -c -xc - +53: + grep -E 'Shared library: \[.*dt-needed/libbar\.so\]' +53: + readelf --dynamic out/test/aarch64/dt-needed/exe +55: + cat 67: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/emit-relocs-dead-sections.sh +53: 0x0000000000000001 (NEEDED) Shared library: [out/test/aarch64/dt-needed/libbar.so] 67: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 67: ++ export LC_ALL=C 67: ++ LC_ALL=C @@ -5643,39 +5648,16 @@ 67: ++ OBJCOPY=objcopy 67: ++ STRIP=strip 67: ++ QEMU= -55: + grep 'duplicate symbol.*: foo$' -63: 5: 0000000000010878 8 FUNC GLOBAL DEFAULT 18 foobarcx +53: + 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.37.1+dfsg/test/emit-relocs-dead-sections.sh .sh -63: + grep ' foo123bar456bx' out/test/aarch64/dynamic-list3/log1 -68: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/emit-relocs.sh 67: ++ testname=emit-relocs-dead-sections 67: ++ t=out/test/aarch64/emit-relocs-dead-sections 67: ++ mkdir -p out/test/aarch64/emit-relocs-dead-sections -62: + readelf --dyn-syms out/test/aarch64/dynamic-list2/exe -55: + not cc -B. -o out/test/aarch64/duplicate-error-gc-sections/exe2 out/test/aarch64/duplicate-error-gc-sections/a.o out/test/aarch64/duplicate-error-gc-sections/a.o out/test/aarch64/duplicate-error-gc-sections/b.o -Wl,-gc-sections -68: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -68: ++ export LC_ALL=C -68: ++ LC_ALL=C -68: ++ '[' -z aarch64 ']' -68: ++ '[' -z '' ']' -68: ++ TESTDIR=out/test/aarch64 -68: ++ CC=cc -68: ++ CXX=c++ -68: ++ GCC=gcc -68: ++ GXX=g++ -68: ++ OBJDUMP=objdump -68: ++ OBJCOPY=objcopy -68: ++ STRIP=strip -68: ++ QEMU= -63: 4: 0000000000010880 8 FUNC GLOBAL DEFAULT 18 foo123bar456bx -63: + not grep ' foo123bar456c' out/test/aarch64/dynamic-list3/log1 -63: + grep ' foo123bar456c' out/test/aarch64/dynamic-list3/log1 -68: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/emit-relocs.sh .sh -68: ++ testname=emit-relocs -68: ++ t=out/test/aarch64/emit-relocs -68: ++ mkdir -p out/test/aarch64/emit-relocs 67: ++ case $MACHINE in 67: ++ tlsdesc_opt=-mtls-dialect=desc +62: + readelf --dyn-syms out/test/aarch64/dynamic-list2/exe +62: + not grep ' foo' out/test/aarch64/dynamic-list2/log +62: + grep ' foo' out/test/aarch64/dynamic-list2/log 67: +++ uname 67: ++ '[' Linux = FreeBSD ']' 67: ++ trap 'on_error $LINENO' ERR @@ -5685,44 +5667,73 @@ 67: ++ set -x 67: + '[' aarch64 = m68k ']' 67: + '[' aarch64 = sh4 ']' -62: + not grep ' foo' out/test/aarch64/dynamic-list2/log -62: + grep ' foo' out/test/aarch64/dynamic-list2/log 67: + cat -63: + return 0 -63: + not grep ' foo123bar456x' out/test/aarch64/dynamic-list3/log1 -63: + grep ' foo123bar456x' out/test/aarch64/dynamic-list3/log1 +64: + cc -o out/test/aarch64/dynamic-list4/c.o -c -xc - -fPIC +64: + cat 62: + return 0 62: + not grep ' bar' out/test/aarch64/dynamic-list2/log 62: + grep ' bar' out/test/aarch64/dynamic-list2/log -68: ++ case $MACHINE in -68: ++ tlsdesc_opt=-mtls-dialect=desc -63: + return 0 -63: + 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 67: + c++ -o out/test/aarch64/emit-relocs-dead-sections/a.o -c -fPIC -xc++ -g -ffunction-sections - -68: +++ uname 62: + return 0 62: + cat -68: ++ '[' Linux = FreeBSD ']' -68: ++ trap 'on_error $LINENO' ERR -68: ++ trap on_exit EXIT -68: ++ echo -n 'Testing emit-relocs ... ' -68: Testing emit-relocs ... ++ set -o pipefail -68: ++ set -x -68: + cc -o out/test/aarch64/emit-relocs/a.o -c -fPIC -xc - +65: + grep -E 'Shared library:.*\blibc\b' +63: + readelf --dyn-syms out/test/aarch64/dynamic-list3/exe1 +63: + grep ' xyz' out/test/aarch64/dynamic-list3/log1 +65: + readelf --dynamic out/test/aarch64/dynamic/exe +65: 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] +65: + grep -E 'FUNC\s+GLOBAL\s+DEFAULT.*UND\s+__libc_start' 62: + 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 -68: + cat -66: + out/test/aarch64/emit-relocs-cpp/exe -66: + grep 'Hello world' -53: + grep -F 'Shared library: [libbar.so]' +65: + readelf -W --dyn-syms --use-dynamic out/test/aarch64/dynamic/exe +63: 6: 0000000000010868 8 FUNC GLOBAL DEFAULT 18 xyz +63: + not grep ' foobarzx' out/test/aarch64/dynamic-list3/log1 +63: + grep ' foobarzx' out/test/aarch64/dynamic-list3/log1 +66: + c++ -B. -o out/test/aarch64/emit-relocs-cpp/exe out/test/aarch64/emit-relocs-cpp/a.o -Wl,-emit-relocs +65: 1: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __libc_start_main@GLIBC_2.34 (3) +65: + on_exit +65: + echo OK +65: OK +65: + exit 0 +63: + return 0 +63: + grep ' foobarcx' out/test/aarch64/dynamic-list3/log1 + 56/347 Test #65: aarch64-dynamic .......................................... Passed 0.16 sec +test 68 + Start 68: aarch64-emit-relocs + +68: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/emit-relocs.sh" +68: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +68: Environment variables: +68: MACHINE=aarch64 +68: CPU= +68: Test timeout computed to be: 1500 +63: 5: 0000000000010878 8 FUNC GLOBAL DEFAULT 18 foobarcx +63: + grep ' foo123bar456bx' out/test/aarch64/dynamic-list3/log1 +63: 4: 0000000000010880 8 FUNC GLOBAL DEFAULT 18 foo123bar456bx +63: + not grep ' foo123bar456c' out/test/aarch64/dynamic-list3/log1 +63: + grep ' foo123bar456c' out/test/aarch64/dynamic-list3/log1 +63: + return 0 +63: + not grep ' foo123bar456x' out/test/aarch64/dynamic-list3/log1 +63: + grep ' foo123bar456x' out/test/aarch64/dynamic-list3/log1 +63: + return 0 +63: + 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 +55: + cat +55: + cc -o out/test/aarch64/duplicate-error-gc-sections/b.o -c -xc - +64: + cc -B. -shared -o out/test/aarch64/dynamic-list4/d.so out/test/aarch64/dynamic-list4/c.o +61: + readelf --dyn-syms out/test/aarch64/dynamic-list/exe2 +61: + grep ' foo' out/test/aarch64/dynamic-list/log2 +61: 5: 00000000000107e8 8 FUNC GLOBAL DEFAULT 18 foo 53: + readelf --dynamic out/test/aarch64/dt-needed/exe +53: + grep -F 'Shared library: [libbar.so]' +64: + cat +64: + cc -o out/test/aarch64/dynamic-list4/e.o -c -xc - +68: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/emit-relocs.sh +61: + grep ' bar' out/test/aarch64/dynamic-list/log2 53: 0x0000000000000001 (NEEDED) Shared library: [libbar.so] 53: + on_exit 53: + echo OK 53: OK 53: + exit 0 -64: + cat - 57/347 Test #53: aarch64-dt-needed ........................................ Passed 0.38 sec -64: + cc -o out/test/aarch64/dynamic-list4/e.o -c -xc - +66: + grep 'Hello world' + 57/347 Test #53: aarch64-dt-needed ........................................ Passed 0.69 sec test 69 Start 69: aarch64-empty-arg @@ -5732,14 +5743,34 @@ 69: MACHINE=aarch64 69: CPU= 69: Test timeout computed to be: 1500 -66: Hello world -66: + readelf -SW out/test/aarch64/emit-relocs-cpp/exe -61: + readelf --dyn-syms out/test/aarch64/dynamic-list/exe1 -66: + grep -E 'rela?\.text' -66: [35] .rela.text RELA 0000000000000000 002720 0002d0 18 I 33 19 8 -66: + readelf -SW out/test/aarch64/emit-relocs-cpp/exe -66: + grep -E 'rela?\.eh_frame' +66: + out/test/aarch64/emit-relocs-cpp/exe +55: + grep 'duplicate symbol.*: foo$' +55: + not cc -B. -o out/test/aarch64/duplicate-error-gc-sections/exe1 out/test/aarch64/duplicate-error-gc-sections/a.o out/test/aarch64/duplicate-error-gc-sections/a.o out/test/aarch64/duplicate-error-gc-sections/b.o +68: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +68: ++ export LC_ALL=C +68: ++ LC_ALL=C +68: ++ '[' -z aarch64 ']' +68: ++ '[' -z '' ']' +68: ++ TESTDIR=out/test/aarch64 +68: ++ CC=cc +68: ++ CXX=c++ +68: ++ GCC=gcc +68: ++ GXX=g++ +68: ++ OBJDUMP=objdump +68: ++ OBJCOPY=objcopy +68: ++ STRIP=strip +68: ++ QEMU= +61: 4: 00000000000107f0 8 FUNC GLOBAL DEFAULT 18 bar +61: + 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 +68: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/emit-relocs.sh .sh +62: + readelf --dyn-syms out/test/aarch64/dynamic-list2/exe1 +68: ++ testname=emit-relocs +68: ++ t=out/test/aarch64/emit-relocs +68: ++ mkdir -p out/test/aarch64/emit-relocs 69: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/empty-arg.sh +66: Hello world +68: ++ case $MACHINE in +68: ++ tlsdesc_opt=-mtls-dialect=desc 69: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 69: ++ export LC_ALL=C 69: ++ LC_ALL=C @@ -5754,14 +5785,34 @@ 69: ++ OBJCOPY=objcopy 69: ++ STRIP=strip 69: ++ QEMU= +66: + grep -E 'rela?\.text' +68: +++ uname +69: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/empty-arg.sh .sh +66: + readelf -SW out/test/aarch64/emit-relocs-cpp/exe +68: ++ '[' Linux = FreeBSD ']' +68: ++ trap 'on_error $LINENO' ERR +68: ++ trap on_exit EXIT +68: ++ echo -n 'Testing emit-relocs ... ' +68: Testing emit-relocs ... ++ set -o pipefail +68: ++ set -x +62: + grep ' foo' out/test/aarch64/dynamic-list2/log1 +68: + cat +66: [35] .rela.text RELA 0000000000000000 002720 0002d0 18 I 33 19 8 +66: + grep -E 'rela?\.eh_frame' +66: + readelf -SW out/test/aarch64/emit-relocs-cpp/exe +62: 5: 0000000000010828 20 FUNC GLOBAL DEFAULT 18 foo +62: + not grep ' bar' out/test/aarch64/dynamic-list2/log1 +62: + grep ' bar' out/test/aarch64/dynamic-list2/log1 +69: ++ testname=empty-arg +69: ++ t=out/test/aarch64/empty-arg +69: ++ mkdir -p out/test/aarch64/empty-arg +68: + cc -o out/test/aarch64/emit-relocs/a.o -c -fPIC -xc - 66: [30] .rela.eh_frame RELA 0000000000000000 000ac0 000090 18 I 33 11 8 66: + on_exit 66: + echo OK 66: OK 66: + exit 0 -61: + grep ' foo' out/test/aarch64/dynamic-list/log1 - 58/347 Test #66: aarch64-emit-relocs-cpp .................................. Passed 0.13 sec -68: + cc -B. -o out/test/aarch64/emit-relocs/exe out/test/aarch64/emit-relocs/a.o -Wl,-emit-relocs + 58/347 Test #66: aarch64-emit-relocs-cpp .................................. Passed 0.19 sec test 70 Start 70: aarch64-empty-file @@ -5771,29 +5822,11 @@ 70: MACHINE=aarch64 70: CPU= 70: Test timeout computed to be: 1500 -69: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/empty-arg.sh .sh -69: ++ testname=empty-arg -69: ++ t=out/test/aarch64/empty-arg -69: ++ mkdir -p out/test/aarch64/empty-arg -61: 5: 00000000000107e8 8 FUNC GLOBAL DEFAULT 18 foo -55: mold: error: duplicate symbol: out/test/aarch64/duplicate-error-gc-sections/a.o: out/test/aarch64/duplicate-error-gc-sections/a.o: foo -55: + on_exit -55: + echo OK -55: OK -55: + exit 0 - 59/347 Test #55: aarch64-duplicate-error-gc-sections ...................... Passed 0.36 sec -test 71 - Start 71: aarch64-empty-input - -71: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/empty-input.sh" -71: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -71: Environment variables: -71: MACHINE=aarch64 -71: CPU= -71: Test timeout computed to be: 1500 -61: + grep ' bar' out/test/aarch64/dynamic-list/log1 -61: 4: 00000000000107f0 8 FUNC GLOBAL DEFAULT 18 bar -61: + 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 +62: + return 0 +62: + grep ' _Z3bazi' out/test/aarch64/dynamic-list2/log1 +69: ++ case $MACHINE in +69: ++ tlsdesc_opt=-mtls-dialect=desc +69: +++ uname 70: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/empty-file.sh 70: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 70: ++ export LC_ALL=C @@ -5809,7 +5842,54 @@ 70: ++ OBJCOPY=objcopy 70: ++ STRIP=strip 70: ++ QEMU= +70: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/empty-file.sh .sh +70: ++ testname=empty-file +70: ++ t=out/test/aarch64/empty-file +70: ++ mkdir -p out/test/aarch64/empty-file +70: ++ case $MACHINE in +70: ++ tlsdesc_opt=-mtls-dialect=desc +70: +++ uname +70: ++ '[' Linux = FreeBSD ']' +70: ++ trap 'on_error $LINENO' ERR +70: ++ trap on_exit EXIT +70: ++ echo -n 'Testing empty-file ... ' +70: Testing empty-file ... ++ set -o pipefail +70: ++ set -x +70: + cc -o out/test/aarch64/empty-file/a.o -c -xc - 64: + 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: ++ '[' Linux = FreeBSD ']' +69: ++ trap 'on_error $LINENO' ERR +69: ++ trap on_exit EXIT +69: ++ echo -n 'Testing empty-arg ... ' +70: + cat +69: Testing empty-arg ... ++ set -o pipefail +69: ++ set -x +69: + not ./mold -m elf_x86_64 '' +62: 4: 0000000000010850 20 FUNC GLOBAL DEFAULT 18 _Z3bazi +62: + 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 +69: + grep 'cannot open :' +63: + readelf --dyn-syms out/test/aarch64/dynamic-list3/exe2 +69: mold: fatal: cannot open : No such file or directory +69: + on_exit +69: + echo OK +69: OK +69: + exit 0 + 59/347 Test #69: aarch64-empty-arg ........................................ Passed 0.08 sec +test 71 + Start 71: aarch64-empty-input + +71: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/empty-input.sh" +71: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +71: Environment variables: +71: MACHINE=aarch64 +71: CPU= +71: Test timeout computed to be: 1500 +63: + grep ' xyz' out/test/aarch64/dynamic-list3/log2 +63: 6: 0000000000010868 8 FUNC GLOBAL DEFAULT 18 xyz +63: + not grep ' foobarzx' out/test/aarch64/dynamic-list3/log2 +63: + grep ' foobarzx' out/test/aarch64/dynamic-list3/log2 +70: + rm -f out/test/aarch64/empty-file/b.script +61: + readelf --dyn-syms out/test/aarch64/dynamic-list/exe3 71: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/empty-input.sh 71: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 71: ++ export LC_ALL=C @@ -5825,67 +5905,26 @@ 71: ++ OBJCOPY=objcopy 71: ++ STRIP=strip 71: ++ QEMU= -69: ++ case $MACHINE in -69: ++ tlsdesc_opt=-mtls-dialect=desc -71: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/empty-input.sh .sh -63: + readelf --dyn-syms out/test/aarch64/dynamic-list3/exe2 -70: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/empty-file.sh .sh -69: +++ uname -71: ++ testname=empty-input -71: ++ t=out/test/aarch64/empty-input -71: ++ mkdir -p out/test/aarch64/empty-input -69: ++ '[' Linux = FreeBSD ']' -69: ++ trap 'on_error $LINENO' ERR -69: ++ trap on_exit EXIT -69: ++ echo -n 'Testing empty-arg ... ' -69: Testing empty-arg ... ++ set -o pipefail -69: ++ set -x -63: + grep ' xyz' out/test/aarch64/dynamic-list3/log2 -69: + not ./mold -m elf_x86_64 '' -63: 6: 0000000000010868 8 FUNC GLOBAL DEFAULT 18 xyz -62: + readelf --dyn-syms out/test/aarch64/dynamic-list2/exe1 -70: ++ testname=empty-file -70: ++ t=out/test/aarch64/empty-file -70: ++ mkdir -p out/test/aarch64/empty-file -63: + not grep ' foobarzx' out/test/aarch64/dynamic-list3/log2 -63: + grep ' foobarzx' out/test/aarch64/dynamic-list3/log2 -69: + grep 'cannot open :' -71: ++ case $MACHINE in -71: ++ tlsdesc_opt=-mtls-dialect=desc -70: ++ case $MACHINE in +61: + grep ' foo' out/test/aarch64/dynamic-list/log3 +70: + touch out/test/aarch64/empty-file/b.script +55: mold: error: duplicate symbol: out/test/aarch64/duplicate-error-gc-sections/a.o: out/test/aarch64/duplicate-error-gc-sections/a.o: foo 63: + return 0 -70: ++ tlsdesc_opt=-mtls-dialect=desc 63: + grep ' foobarcx' out/test/aarch64/dynamic-list3/log2 -71: +++ uname -70: +++ uname +70: + 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 +61: 5: 00000000000107e8 8 FUNC GLOBAL DEFAULT 18 foo +61: + grep ' bar' out/test/aarch64/dynamic-list/log3 +55: + grep 'duplicate symbol.*: foo$' +61: 4: 00000000000107f0 8 FUNC GLOBAL DEFAULT 18 bar 63: 5: 0000000000010878 8 FUNC GLOBAL DEFAULT 18 foobarcx 63: + grep ' foo123bar456bx' out/test/aarch64/dynamic-list3/log2 -70: ++ '[' Linux = FreeBSD ']' -70: ++ trap 'on_error $LINENO' ERR -70: ++ trap on_exit EXIT -70: ++ echo -n 'Testing empty-file ... ' -70: Testing empty-file ... ++ set -o pipefail -70: ++ set -x -71: ++ '[' Linux = FreeBSD ']' -71: ++ trap 'on_error $LINENO' ERR -71: ++ trap on_exit EXIT -71: ++ echo -n 'Testing empty-input ... ' -71: Testing empty-input ... ++ set -o pipefail -71: ++ set -x -71: + rm -f out/test/aarch64/empty-input/a.o -70: + cc -o out/test/aarch64/empty-file/a.o -c -xc - +61: + on_exit +61: + echo OK +61: OK +61: + exit 0 +55: + not cc -B. -o out/test/aarch64/duplicate-error-gc-sections/exe2 out/test/aarch64/duplicate-error-gc-sections/a.o out/test/aarch64/duplicate-error-gc-sections/a.o out/test/aarch64/duplicate-error-gc-sections/b.o -Wl,-gc-sections 63: 4: 0000000000010880 8 FUNC GLOBAL DEFAULT 18 foo123bar456bx -70: + cat -63: + not grep ' foo123bar456c' out/test/aarch64/dynamic-list3/log2 -63: + grep ' foo123bar456c' out/test/aarch64/dynamic-list3/log2 -71: + touch out/test/aarch64/empty-input/a.o -69: mold: fatal: cannot open : No such file or directory -69: + on_exit -69: + echo OK -69: OK -69: + exit 0 - 60/347 Test #69: aarch64-empty-arg ........................................ Passed 0.03 sec -62: + grep ' foo' out/test/aarch64/dynamic-list2/log1 + 60/347 Test #61: aarch64-dynamic-list ..................................... Passed 0.47 sec +71: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/empty-input.sh .sh test 72 Start 72: aarch64-empty-version @@ -5895,37 +5934,29 @@ 72: MACHINE=aarch64 72: CPU= 72: Test timeout computed to be: 1500 +71: ++ testname=empty-input +71: ++ t=out/test/aarch64/empty-input +71: ++ mkdir -p out/test/aarch64/empty-input +62: + readelf --dyn-syms out/test/aarch64/dynamic-list2/exe2 +62: + grep ' foo' out/test/aarch64/dynamic-list2/log2 62: 5: 0000000000010828 20 FUNC GLOBAL DEFAULT 18 foo -62: + not grep ' bar' out/test/aarch64/dynamic-list2/log1 -62: + grep ' bar' out/test/aarch64/dynamic-list2/log1 -72: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/empty-version.sh -62: + return 0 -62: + grep ' _Z3bazi' out/test/aarch64/dynamic-list2/log1 -62: 4: 0000000000010850 20 FUNC GLOBAL DEFAULT 18 _Z3bazi +62: + not grep ' bar' out/test/aarch64/dynamic-list2/log2 +62: + grep ' bar' out/test/aarch64/dynamic-list2/log2 +63: + not grep ' foo123bar456c' out/test/aarch64/dynamic-list3/log2 +63: + grep ' foo123bar456c' out/test/aarch64/dynamic-list3/log2 63: + return 0 63: + not grep ' foo123bar456x' out/test/aarch64/dynamic-list3/log2 63: + grep ' foo123bar456x' out/test/aarch64/dynamic-list3/log2 -62: + 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 -72: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -72: ++ export LC_ALL=C -72: ++ LC_ALL=C -72: ++ '[' -z aarch64 ']' -72: ++ '[' -z '' ']' -72: ++ TESTDIR=out/test/aarch64 -72: ++ CC=cc -72: ++ CXX=c++ -72: ++ GCC=gcc -72: ++ GXX=g++ -72: ++ OBJDUMP=objdump -72: ++ OBJCOPY=objcopy -72: ++ STRIP=strip -72: ++ QEMU= +62: + return 0 +62: + grep ' _Z3bazi' out/test/aarch64/dynamic-list2/log2 +68: + cc -B. -o out/test/aarch64/emit-relocs/exe out/test/aarch64/emit-relocs/a.o -Wl,-emit-relocs +72: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/empty-version.sh 63: + return 0 63: + on_exit 63: + echo OK 63: OK 63: + exit 0 - 61/347 Test #63: aarch64-dynamic-list3 .................................... Passed 0.21 sec + 61/347 Test #63: aarch64-dynamic-list3 .................................... Passed 0.43 sec test 73 Start 73: aarch64-entry @@ -5935,13 +5966,27 @@ 73: MACHINE=aarch64 73: CPU= 73: Test timeout computed to be: 1500 -72: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/empty-version.sh .sh -72: ++ testname=empty-version -72: ++ t=out/test/aarch64/empty-version -72: ++ mkdir -p out/test/aarch64/empty-version -71: + not cc -B. -o out/test/aarch64/empty-input/exe out/test/aarch64/empty-input/a.o +62: 4: 0000000000010850 20 FUNC GLOBAL DEFAULT 18 _Z3bazi +62: + on_exit +62: + echo OK +62: OK +62: + exit 0 +72: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +72: ++ export LC_ALL=C +72: ++ LC_ALL=C +72: ++ '[' -z aarch64 ']' +72: ++ '[' -z '' ']' +72: ++ TESTDIR=out/test/aarch64 +72: ++ CC=cc +72: ++ CXX=c++ +72: ++ GCC=gcc +72: ++ GXX=g++ +72: ++ OBJDUMP=objdump +72: ++ OBJCOPY=objcopy +72: ++ STRIP=strip +72: ++ QEMU= +64: + out/test/aarch64/dynamic-list4/exe1 73: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/entry.sh -70: + rm -f out/test/aarch64/empty-file/b.script 73: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 73: ++ export LC_ALL=C 73: ++ LC_ALL=C @@ -5956,71 +6001,50 @@ 73: ++ OBJCOPY=objcopy 73: ++ STRIP=strip 73: ++ QEMU= -61: + readelf --dyn-syms out/test/aarch64/dynamic-list/exe2 -70: + touch out/test/aarch64/empty-file/b.script + 62/347 Test #62: aarch64-dynamic-list2 .................................... Passed 0.45 sec +test 74 + Start 74: aarch64-exception-multiple-ehframe + +74: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/exception-multiple-ehframe.sh" +74: Working Directory: /build/reproducible-path/mold-2.37.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.37.1+dfsg/test/empty-version.sh .sh +72: ++ testname=empty-version +72: ++ t=out/test/aarch64/empty-version +72: ++ mkdir -p out/test/aarch64/empty-version +64: + grep 'foo1 bar1 baz1' +64: foo1 bar1 baz1 +64: + 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 73: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/entry.sh .sh 73: ++ testname=entry 73: ++ t=out/test/aarch64/entry 73: ++ mkdir -p out/test/aarch64/entry -61: + grep ' foo' out/test/aarch64/dynamic-list/log2 -61: 5: 00000000000107e8 8 FUNC GLOBAL DEFAULT 18 foo -61: + grep ' bar' out/test/aarch64/dynamic-list/log2 -61: 4: 00000000000107f0 8 FUNC GLOBAL DEFAULT 18 bar -73: ++ case $MACHINE in -73: ++ tlsdesc_opt=-mtls-dialect=desc -61: + 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 72: ++ case $MACHINE in 72: ++ tlsdesc_opt=-mtls-dialect=desc 72: +++ uname -73: +++ uname -73: ++ '[' Linux = FreeBSD ']' -73: ++ trap 'on_error $LINENO' ERR -73: ++ trap on_exit EXIT -73: ++ echo -n 'Testing entry ... ' -73: Testing entry ... ++ set -o pipefail -73: ++ set -x -73: + '[' aarch64 = ppc64 ']' +71: ++ case $MACHINE in +71: ++ tlsdesc_opt=-mtls-dialect=desc +71: +++ uname +74: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/exception-multiple-ehframe.sh 72: ++ '[' Linux = FreeBSD ']' 72: ++ trap 'on_error $LINENO' ERR 72: ++ trap on_exit EXIT 72: ++ echo -n 'Testing empty-version ... ' 72: Testing empty-version ... ++ set -o pipefail 72: ++ set -x -73: + cat -72: + cc -fPIC -c -o out/test/aarch64/empty-version/a.o -xc - -64: + out/test/aarch64/dynamic-list4/exe1 72: + cat -64: + grep 'foo1 bar1 baz1' -64: foo1 bar1 baz1 -64: + 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 -73: + cc -o out/test/aarch64/entry/a.o -c -x assembler - -73: + cat -73: + cc -o out/test/aarch64/entry/b.o -c -xc - -71: + grep 'unknown file type' out/test/aarch64/empty-input/log -68: + out/test/aarch64/emit-relocs/exe -68: + grep 'Hello world' -70: + 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 -71: mold: fatal: out/test/aarch64/empty-input/a.o: unknown file type -71: + on_exit -71: + echo OK -71: OK -71: + exit 0 -68: Hello world - 62/347 Test #71: aarch64-empty-input ...................................... Passed 0.07 sec -test 74 - Start 74: aarch64-exception-multiple-ehframe - -74: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/exception-multiple-ehframe.sh" -74: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -74: Environment variables: -74: MACHINE=aarch64 -74: CPU= -74: Test timeout computed to be: 1500 -68: + readelf -S out/test/aarch64/emit-relocs/exe -68: + grep -E 'rela?\.text' -62: + readelf --dyn-syms out/test/aarch64/dynamic-list2/exe2 -62: + grep ' foo' out/test/aarch64/dynamic-list2/log2 -74: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/exception-multiple-ehframe.sh +71: ++ '[' Linux = FreeBSD ']' +71: ++ trap 'on_error $LINENO' ERR +71: ++ trap on_exit EXIT +71: ++ echo -n 'Testing empty-input ... ' +71: Testing empty-input ... ++ set -o pipefail +71: ++ set -x +71: + rm -f out/test/aarch64/empty-input/a.o +73: ++ case $MACHINE in +73: ++ tlsdesc_opt=-mtls-dialect=desc 74: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 74: ++ export LC_ALL=C 74: ++ LC_ALL=C @@ -6035,32 +6059,34 @@ 74: ++ OBJCOPY=objcopy 74: ++ STRIP=strip 74: ++ QEMU= -68: [35] .rela.text RELA 0000000000000000 00002720 -62: 5: 0000000000010828 20 FUNC GLOBAL DEFAULT 18 foo +73: +++ uname +72: + cc -fPIC -c -o out/test/aarch64/empty-version/a.o -xc - 74: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/exception-multiple-ehframe.sh .sh -62: + not grep ' bar' out/test/aarch64/dynamic-list2/log2 -62: + grep ' bar' out/test/aarch64/dynamic-list2/log2 +71: + touch out/test/aarch64/empty-input/a.o +73: ++ '[' Linux = FreeBSD ']' +73: ++ trap 'on_error $LINENO' ERR +73: ++ trap on_exit EXIT +73: ++ echo -n 'Testing entry ... ' +73: Testing entry ... ++ set -o pipefail +73: ++ set -x +73: + '[' aarch64 = ppc64 ']' +73: + cat +73: + cc -o out/test/aarch64/entry/a.o -c -x assembler - +71: + not cc -B. -o out/test/aarch64/empty-input/exe out/test/aarch64/empty-input/a.o 74: ++ testname=exception-multiple-ehframe 74: ++ t=out/test/aarch64/exception-multiple-ehframe 74: ++ mkdir -p out/test/aarch64/exception-multiple-ehframe -62: + return 0 -62: + grep ' _Z3bazi' out/test/aarch64/dynamic-list2/log2 -68: + on_exit -68: + echo OK -68: OK -68: + exit 0 - 63/347 Test #68: aarch64-emit-relocs ...................................... Passed 0.12 sec +73: + cc -o out/test/aarch64/entry/b.o -c -xc - +73: + cat +70: + out/test/aarch64/empty-file/exe 74: ++ case $MACHINE in 74: ++ tlsdesc_opt=-mtls-dialect=desc -test 75 - Start 75: aarch64-exception - -75: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/exception.sh" -75: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -75: Environment variables: -75: MACHINE=aarch64 -75: CPU= -75: Test timeout computed to be: 1500 +70: + grep 'Hello world' +70: Hello world +70: + on_exit +70: + echo OK +70: OK +70: + exit 0 74: +++ uname 74: ++ '[' Linux = FreeBSD ']' 74: ++ trap 'on_error $LINENO' ERR @@ -6069,24 +6095,22 @@ 74: Testing exception-multiple-ehframe ... ++ set -o pipefail 74: ++ set -x 74: + '[' aarch64 = sh4aeb ']' -62: 4: 0000000000010850 20 FUNC GLOBAL DEFAULT 18 _Z3bazi -62: + on_exit -62: + echo OK -62: OK -62: + exit 0 - 64/347 Test #62: aarch64-dynamic-list2 .................................... Passed 0.27 sec + 63/347 Test #70: aarch64-empty-file ....................................... Passed 0.16 sec 74: + nm mold -test 76 - Start 76: aarch64-exclude-libs +74: + grep __tsan_init +test 75 + Start 75: aarch64-exception -76: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/exclude-libs.sh" -76: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -76: Environment variables: -76: MACHINE=aarch64 -76: CPU= -76: Test timeout computed to be: 1500 +75: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/exception.sh" +75: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +75: Environment variables: +75: MACHINE=aarch64 +75: CPU= +75: Test timeout computed to be: 1500 +72: + cc -B. -shared -o out/test/aarch64/empty-version/b.so out/test/aarch64/empty-version/a.o +68: + out/test/aarch64/emit-relocs/exe +71: + grep 'unknown file type' out/test/aarch64/empty-input/log 75: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/exception.sh -76: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/exclude-libs.sh 75: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 75: ++ export LC_ALL=C 75: ++ LC_ALL=C @@ -6101,66 +6125,45 @@ 75: ++ OBJCOPY=objcopy 75: ++ STRIP=strip 75: ++ QEMU= -76: + . /build/reproducible-path/mold-2.37.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= 75: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/exception.sh .sh +68: + grep 'Hello world' +68: Hello world +71: mold: fatal: out/test/aarch64/empty-input/a.o: unknown file type +71: + on_exit +71: + echo OK +71: OK +71: + exit 0 + 64/347 Test #71: aarch64-empty-input ...................................... Passed 0.15 sec +test 76 + Start 76: aarch64-exclude-libs + +76: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/exclude-libs.sh" +76: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +76: Environment variables: +76: MACHINE=aarch64 +76: CPU= +76: Test timeout computed to be: 1500 75: ++ testname=exception 75: ++ t=out/test/aarch64/exception 75: ++ mkdir -p out/test/aarch64/exception 75: ++ case $MACHINE in 75: ++ tlsdesc_opt=-mtls-dialect=desc 75: +++ uname +68: + readelf -S out/test/aarch64/emit-relocs/exe +68: + grep -E 'rela?\.text' +68: [35] .rela.text RELA 0000000000000000 00002720 +68: + on_exit +68: + echo OK +68: OK +68: + exit 0 73: + cc -B. -o out/test/aarch64/entry/exe1 -Wl,-e,foo out/test/aarch64/entry/a.o out/test/aarch64/entry/b.o -76: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/exclude-libs.sh .sh -75: ++ '[' Linux = FreeBSD ']' -75: ++ trap 'on_error $LINENO' ERR -75: ++ trap on_exit EXIT -75: ++ echo -n 'Testing exception ... ' -75: Testing exception ... ++ set -o pipefail -75: ++ set -x -75: + static= -75: + test_cxxflags -static -75: + echo 'int main() {}' -76: ++ testname=exclude-libs -76: ++ t=out/test/aarch64/exclude-libs -76: ++ mkdir -p out/test/aarch64/exclude-libs -75: + c++ -B. -static -o /dev/null -xc++ - -74: + grep __tsan_init -72: + cc -B. -shared -o out/test/aarch64/empty-version/b.so out/test/aarch64/empty-version/a.o -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: ++ echo -n 'Testing exclude-libs ... ' -76: Testing exclude-libs ... ++ set -o pipefail -76: ++ set -x -61: + readelf --dyn-syms out/test/aarch64/dynamic-list/exe3 -76: + cat -76: + cc -fPIC -xc -c -o out/test/aarch64/exclude-libs/a.o - -61: + grep ' foo' out/test/aarch64/dynamic-list/log3 -61: 5: 00000000000107e8 8 FUNC GLOBAL DEFAULT 18 foo -61: + grep ' bar' out/test/aarch64/dynamic-list/log3 -64: + out/test/aarch64/dynamic-list4/exe2 -61: 4: 00000000000107f0 8 FUNC GLOBAL DEFAULT 18 bar -61: + on_exit -61: + echo OK -61: OK -61: + exit 0 - 65/347 Test #61: aarch64-dynamic-list ..................................... Passed 0.33 sec +55: mold: error: duplicate symbol: out/test/aarch64/duplicate-error-gc-sections/a.o: out/test/aarch64/duplicate-error-gc-sections/a.o: foo +55: + on_exit +55: + echo OK +55: OK +55: + exit 0 + 65/347 Test #55: aarch64-duplicate-error-gc-sections ...................... Passed 0.78 sec + 66/347 Test #68: aarch64-emit-relocs ...................................... Passed 0.30 sec test 77 Start 77: aarch64-exclude-libs2 @@ -6170,13 +6173,6 @@ 77: MACHINE=aarch64 77: CPU= 77: Test timeout computed to be: 1500 -64: + grep 'foo2 bar2 baz1' -64: foo2 bar2 baz1 -64: + on_exit -64: + echo OK -64: OK -64: + exit 0 - 66/347 Test #64: aarch64-dynamic-list4 .................................... Passed 0.30 sec test 78 Start 78: aarch64-exclude-libs3 @@ -6186,37 +6182,48 @@ 78: MACHINE=aarch64 78: CPU= 78: Test timeout computed to be: 1500 -77: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/exclude-libs2.sh -77: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -77: ++ export LC_ALL=C -77: ++ LC_ALL=C -77: ++ '[' -z aarch64 ']' -77: ++ '[' -z '' ']' -77: ++ TESTDIR=out/test/aarch64 -77: ++ CC=cc -77: ++ CXX=c++ -77: ++ GCC=gcc -77: ++ GXX=g++ -77: ++ OBJDUMP=objdump -77: ++ OBJCOPY=objcopy -77: ++ STRIP=strip -77: ++ QEMU= -77: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/exclude-libs2.sh .sh -77: ++ testname=exclude-libs2 -77: ++ t=out/test/aarch64/exclude-libs2 -77: ++ mkdir -p out/test/aarch64/exclude-libs2 -77: ++ case $MACHINE in -77: ++ tlsdesc_opt=-mtls-dialect=desc -77: +++ uname -77: ++ '[' Linux = FreeBSD ']' -77: ++ trap 'on_error $LINENO' ERR -77: ++ trap on_exit EXIT -77: ++ echo -n 'Testing exclude-libs2 ... ' -77: Testing exclude-libs2 ... ++ set -o pipefail -77: ++ set -x -77: + cc -x assembler -c -o out/test/aarch64/exclude-libs2/a.o - -77: + cat -76: + cc -fPIC -xc -c -o out/test/aarch64/exclude-libs/b.o - +64: + out/test/aarch64/dynamic-list4/exe2 +64: + grep 'foo2 bar2 baz1' +64: foo2 bar2 baz1 +64: + on_exit +64: + echo OK +64: OK +64: + exit 0 +75: ++ '[' Linux = FreeBSD ']' +75: ++ trap 'on_error $LINENO' ERR +75: ++ trap on_exit EXIT +75: ++ echo -n 'Testing exception ... ' +75: Testing exception ... ++ set -o pipefail +75: ++ set -x +75: + static= +75: + test_cxxflags -static +75: + echo 'int main() {}' +76: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/exclude-libs.sh + 67/347 Test #64: aarch64-dynamic-list4 .................................... Passed 0.50 sec +test 79 + Start 79: aarch64-execstack + +79: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/execstack.sh" +79: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +79: Environment variables: +79: MACHINE=aarch64 +79: CPU= +79: Test timeout computed to be: 1500 +76: + . /build/reproducible-path/mold-2.37.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= +75: + c++ -B. -static -o /dev/null -xc++ - 78: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/exclude-libs3.sh 78: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 78: ++ export LC_ALL=C @@ -6232,33 +6239,29 @@ 78: ++ OBJCOPY=objcopy 78: ++ STRIP=strip 78: ++ QEMU= -70: + out/test/aarch64/empty-file/exe 78: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/exclude-libs3.sh .sh -70: + grep 'Hello world' 78: ++ testname=exclude-libs3 78: ++ t=out/test/aarch64/exclude-libs3 78: ++ mkdir -p out/test/aarch64/exclude-libs3 -70: Hello world -70: + on_exit -70: + echo OK -70: OK -70: + exit 0 -76: + cat - 67/347 Test #70: aarch64-empty-file ....................................... Passed 0.13 sec -test 79 - Start 79: aarch64-execstack - -79: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/execstack.sh" -79: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -79: Environment variables: -79: MACHINE=aarch64 -79: CPU= -79: Test timeout computed to be: 1500 +77: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/exclude-libs2.sh +77: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +77: ++ export LC_ALL=C +77: ++ LC_ALL=C +77: ++ '[' -z aarch64 ']' +77: ++ '[' -z '' ']' +77: ++ TESTDIR=out/test/aarch64 +77: ++ CC=cc +77: ++ CXX=c++ +77: ++ GCC=gcc +77: ++ GXX=g++ +77: ++ OBJDUMP=objdump +77: ++ OBJCOPY=objcopy +77: ++ STRIP=strip +77: ++ QEMU= 78: ++ case $MACHINE in 78: ++ tlsdesc_opt=-mtls-dialect=desc 78: +++ uname -77: + rm -f out/test/aarch64/exclude-libs2/b.a -72: + readelf --dyn-syms out/test/aarch64/empty-version/b.so +76: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/exclude-libs.sh .sh 79: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/execstack.sh 79: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 79: ++ export LC_ALL=C @@ -6274,42 +6277,52 @@ 79: ++ OBJCOPY=objcopy 79: ++ STRIP=strip 79: ++ QEMU= +77: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/exclude-libs2.sh .sh +77: ++ testname=exclude-libs2 +77: ++ t=out/test/aarch64/exclude-libs2 +77: ++ mkdir -p out/test/aarch64/exclude-libs2 +72: + grep ' bar1' +72: + readelf --dyn-syms out/test/aarch64/empty-version/b.so +76: ++ testname=exclude-libs +76: ++ t=out/test/aarch64/exclude-libs +76: ++ mkdir -p out/test/aarch64/exclude-libs 78: ++ '[' Linux = FreeBSD ']' 78: ++ trap 'on_error $LINENO' ERR 78: ++ trap on_exit EXIT 78: ++ echo -n 'Testing exclude-libs3 ... ' 78: Testing exclude-libs3 ... ++ set -o pipefail 78: ++ set -x -77: + ar crs out/test/aarch64/exclude-libs2/b.a out/test/aarch64/exclude-libs2/a.o -78: + cat -78: + cc -fPIC -xc -c -o out/test/aarch64/exclude-libs3/a.o - 79: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/execstack.sh .sh +78: + cat 79: ++ testname=execstack 79: ++ t=out/test/aarch64/execstack 79: ++ mkdir -p out/test/aarch64/execstack -79: ++ case $MACHINE in -79: ++ tlsdesc_opt=-mtls-dialect=desc -79: +++ uname -79: ++ '[' Linux = FreeBSD ']' -79: ++ trap 'on_error $LINENO' ERR -79: ++ trap on_exit EXIT -79: ++ echo -n 'Testing execstack ... ' -79: Testing execstack ... ++ set -o pipefail -79: ++ set -x -79: + cat -79: + cc -c -xc -o out/test/aarch64/execstack/a.o - -73: + readelf -e out/test/aarch64/entry/exe1 -72: + grep ' bar1' 72: 5: 0000000000010748 8 FUNC GLOBAL DEFAULT 13 bar1 +78: + cc -fPIC -xc -c -o out/test/aarch64/exclude-libs3/a.o - 72: + readelf --dyn-syms out/test/aarch64/empty-version/b.so 72: + grep ' bar2' +73: + readelf -e out/test/aarch64/entry/exe1 +76: ++ case $MACHINE in +76: ++ tlsdesc_opt=-mtls-dialect=desc +77: ++ case $MACHINE in +77: ++ tlsdesc_opt=-mtls-dialect=desc +77: +++ uname +77: ++ '[' Linux = FreeBSD ']' +77: ++ trap 'on_error $LINENO' ERR +77: ++ trap on_exit EXIT +77: ++ echo -n 'Testing exclude-libs2 ... ' +77: Testing exclude-libs2 ... ++ set -o pipefail +77: ++ set -x +79: ++ case $MACHINE in +79: ++ tlsdesc_opt=-mtls-dialect=desc 72: 6: 0000000000010750 8 FUNC GLOBAL DEFAULT 13 bar2 -73: + grep 'Entry point address:.*0x1000$' out/test/aarch64/entry/log 72: + on_exit 72: + echo OK 72: OK 72: + exit 0 - 68/347 Test #72: aarch64-empty-version .................................... Passed 0.13 sec + 68/347 Test #72: aarch64-empty-version .................................... Passed 0.19 sec +77: + cat +77: + cc -x assembler -c -o out/test/aarch64/exclude-libs2/a.o - test 80 Start 80: aarch64-execute-only @@ -6319,11 +6332,27 @@ 80: MACHINE=aarch64 80: CPU= 80: Test timeout computed to be: 1500 +79: +++ uname +79: ++ '[' Linux = FreeBSD ']' +79: ++ trap 'on_error $LINENO' ERR +79: ++ trap on_exit EXIT +79: ++ echo -n 'Testing execstack ... ' +79: Testing execstack ... ++ set -o pipefail +79: ++ set -x +79: + cc -c -xc -o out/test/aarch64/execstack/a.o - +79: + cat +76: +++ uname +73: + grep 'Entry point address:.*0x1000$' out/test/aarch64/entry/log 73: Entry point address: 0x1000 73: + cc -B. -o out/test/aarch64/entry/exe2 -Wl,-e,bar out/test/aarch64/entry/a.o out/test/aarch64/entry/b.o -77: + cat -77: + cc -xc -c -o out/test/aarch64/exclude-libs2/c.o - 80: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/execute-only.sh +76: ++ '[' Linux = FreeBSD ']' +76: ++ trap 'on_error $LINENO' ERR +76: ++ trap on_exit EXIT +76: ++ echo -n 'Testing exclude-libs ... ' +76: Testing exclude-libs ... ++ set -o pipefail +76: ++ set -x +78: + rm -f out/test/aarch64/exclude-libs3/b.a 80: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 80: ++ export LC_ALL=C 80: ++ LC_ALL=C @@ -6338,18 +6367,21 @@ 80: ++ OBJCOPY=objcopy 80: ++ STRIP=strip 80: ++ QEMU= -78: + rm -f out/test/aarch64/exclude-libs3/b.a -80: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/execute-only.sh .sh +76: + cc -fPIC -xc -c -o out/test/aarch64/exclude-libs/a.o - +77: + rm -f out/test/aarch64/exclude-libs2/b.a +76: + cat 78: + ar crs out/test/aarch64/exclude-libs3/b.a out/test/aarch64/exclude-libs3/a.o +77: + ar crs out/test/aarch64/exclude-libs2/b.a out/test/aarch64/exclude-libs2/a.o +80: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/execute-only.sh .sh 80: ++ testname=execute-only 80: ++ t=out/test/aarch64/execute-only 80: ++ mkdir -p out/test/aarch64/execute-only 78: + cat 78: + cc -fPIC -xc -c -o out/test/aarch64/exclude-libs3/c.o - -76: + rm -f out/test/aarch64/exclude-libs/c.a 80: ++ case $MACHINE in 80: ++ tlsdesc_opt=-mtls-dialect=desc -76: + ar crs out/test/aarch64/exclude-libs/c.a out/test/aarch64/exclude-libs/a.o +77: + cc -xc -c -o out/test/aarch64/exclude-libs2/c.o - +77: + cat 80: +++ uname 80: ++ '[' Linux = FreeBSD ']' 80: ++ trap 'on_error $LINENO' ERR @@ -6362,20 +6394,15 @@ 80: + '[' aarch64 = ppc64le ']' 80: + cat 80: + cc -o out/test/aarch64/execute-only/a.o -c -xc - -76: + rm -f out/test/aarch64/exclude-libs/d.a -79: + cc -B. -o out/test/aarch64/execstack/exe out/test/aarch64/execstack/a.o -Wl,-z,execstack -76: + ar crs out/test/aarch64/exclude-libs/d.a out/test/aarch64/exclude-libs/b.o -76: + cat -76: + cc -fPIC -xc -c -o out/test/aarch64/exclude-libs/e.o - -77: + 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 73: + readelf -e out/test/aarch64/entry/exe2 +79: + cc -B. -o out/test/aarch64/execstack/exe out/test/aarch64/execstack/a.o -Wl,-z,execstack 73: + grep 'Entry point address:.*0x2000$' out/test/aarch64/entry/log 73: Entry point address: 0x2000 73: + on_exit 73: + echo OK 73: OK 73: + exit 0 - 69/347 Test #73: aarch64-entry ............................................ Passed 0.17 sec + 69/347 Test #73: aarch64-entry ............................................ Passed 0.25 sec test 81 Start 81: aarch64-export-dynamic @@ -6385,7 +6412,11 @@ 81: MACHINE=aarch64 81: CPU= 81: Test timeout computed to be: 1500 +76: + cat +77: + 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 +76: + cc -fPIC -xc -c -o out/test/aarch64/exclude-libs/b.o - 81: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/export-dynamic.sh +78: + 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 81: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 81: ++ export LC_ALL=C 81: ++ LC_ALL=C @@ -6401,15 +6432,10 @@ 81: ++ STRIP=strip 81: ++ QEMU= 81: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/export-dynamic.sh .sh -78: + 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 -79: + grep 'GNU_STACK.* RWE ' -79: + readelf --segments -W out/test/aarch64/execstack/exe +80: + cc -B. -o out/test/aarch64/execute-only/exe out/test/aarch64/execute-only/a.o -Wl,--execute-only 81: ++ testname=export-dynamic 81: ++ t=out/test/aarch64/export-dynamic 81: ++ mkdir -p out/test/aarch64/export-dynamic -79: GNU_STACK 0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x000000 RWE 0x1 -79: + cc -B. -o out/test/aarch64/execstack/exe out/test/aarch64/execstack/a.o -Wl,-z,execstack -Wl,-z,noexecstack -80: + cc -B. -o out/test/aarch64/execute-only/exe out/test/aarch64/execute-only/a.o -Wl,--execute-only 81: ++ case $MACHINE in 81: ++ tlsdesc_opt=-mtls-dialect=desc 81: +++ uname @@ -6421,16 +6447,16 @@ 81: ++ set -x 81: + cc -o out/test/aarch64/export-dynamic/a.o -c -x assembler - 81: + cat -76: + 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 77: + grep -F foo 77: + readelf --dyn-syms out/test/aarch64/exclude-libs2/d.so -81: + cc -shared -fPIC -o out/test/aarch64/export-dynamic/b.so -xc /dev/null +76: + rm -f out/test/aarch64/exclude-libs/c.a 77: 5: 00000000000106c8 8 FUNC GLOBAL DEFAULT 13 foo +76: + ar crs out/test/aarch64/exclude-libs/c.a out/test/aarch64/exclude-libs/a.o 77: + on_exit 77: + echo OK 77: OK 77: + exit 0 - 70/347 Test #77: aarch64-exclude-libs2 .................................... Passed 0.12 sec + 70/347 Test #77: aarch64-exclude-libs2 .................................... Passed 0.21 sec test 82 Start 82: aarch64-export-from-exe @@ -6440,12 +6466,14 @@ 82: MACHINE=aarch64 82: CPU= 82: Test timeout computed to be: 1500 -45: + cc -flto -o out/test/aarch64/dependency-file-lto/a.o -c -xc - -45: + cat -78: + grep -F foo -78: + readelf --dyn-syms out/test/aarch64/exclude-libs3/d.so -56: + cc -o out/test/aarch64/duplicate-error-lto/a.o -c -xc - -flto +76: + rm -f out/test/aarch64/exclude-libs/d.a +76: + ar crs out/test/aarch64/exclude-libs/d.a out/test/aarch64/exclude-libs/b.o +81: + cc -shared -fPIC -o out/test/aarch64/export-dynamic/b.so -xc /dev/null +74: + command -v perl +74: + '[' aarch64 = sh4 ']' 82: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/export-from-exe.sh +74: + c++ -o out/test/aarch64/exception-multiple-ehframe/a.o -c -xc++ - +74: + cat 82: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 82: ++ export LC_ALL=C 82: ++ LC_ALL=C @@ -6460,19 +6488,36 @@ 82: ++ OBJCOPY=objcopy 82: ++ STRIP=strip 82: ++ QEMU= +76: + cat 82: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/export-from-exe.sh .sh +76: + cc -fPIC -xc -c -o out/test/aarch64/exclude-libs/e.o - 82: ++ testname=export-from-exe 82: ++ t=out/test/aarch64/export-from-exe 82: ++ mkdir -p out/test/aarch64/export-from-exe 82: ++ case $MACHINE in 82: ++ tlsdesc_opt=-mtls-dialect=desc +79: + readelf --segments -W out/test/aarch64/execstack/exe +79: + grep 'GNU_STACK.* RWE ' +78: + readelf --dyn-syms out/test/aarch64/exclude-libs3/d.so +78: + grep -F foo 78: 5: 0000000000010748 24 FUNC GLOBAL DEFAULT 15 foo -38: + cat +79: GNU_STACK 0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x000000 RWE 0x1 +79: + cc -B. -o out/test/aarch64/execstack/exe out/test/aarch64/execstack/a.o -Wl,-z,execstack -Wl,-z,noexecstack 78: + on_exit 78: + echo OK 78: OK 78: + exit 0 - 71/347 Test #78: aarch64-exclude-libs3 .................................... Passed 0.13 sec +81: + ./mold -o out/test/aarch64/export-dynamic/exe out/test/aarch64/export-dynamic/a.o out/test/aarch64/export-dynamic/b.so --export-dynamic +82: +++ uname +82: ++ '[' Linux = FreeBSD ']' +82: ++ trap 'on_error $LINENO' ERR +82: ++ trap on_exit EXIT +82: ++ echo -n 'Testing export-from-exe ... ' +82: Testing export-from-exe ... ++ set -o pipefail +82: ++ set -x +82: + cat +82: + cc -o out/test/aarch64/export-from-exe/a.o -c -xc - + 71/347 Test #78: aarch64-exclude-libs3 .................................... Passed 0.25 sec test 83 Start 83: aarch64-fatal-warnings @@ -6482,13 +6527,11 @@ 83: MACHINE=aarch64 83: CPU= 83: Test timeout computed to be: 1500 -79: + grep 'GNU_STACK.* RW ' -79: + readelf --segments -W out/test/aarch64/execstack/exe -79: GNU_STACK 0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x000000 RW 0x1 -38: + cc -flto -fPIC -o out/test/aarch64/defsym-lto/a.o -c -xc - -56: + cat -79: + cc -B. -o out/test/aarch64/execstack/exe out/test/aarch64/execstack/a.o +81: + readelf --dyn-syms out/test/aarch64/export-dynamic/exe +74: + cat 83: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/fatal-warnings.sh +74: + c++ -o out/test/aarch64/exception-multiple-ehframe/b.o -c -xc++ - +81: + grep -E 'NOTYPE\s+GLOBAL DEFAULT\s+[0-9]+ bar' out/test/aarch64/export-dynamic/log 83: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 83: ++ export LC_ALL=C 83: ++ LC_ALL=C @@ -6503,10 +6546,32 @@ 83: ++ OBJCOPY=objcopy 83: ++ STRIP=strip 83: ++ QEMU= +81: 2: 0000000000210314 0 NOTYPE GLOBAL DEFAULT 7 bar +81: + grep -E 'NOTYPE\s+GLOBAL DEFAULT\s+[0-9]+ _start' out/test/aarch64/export-dynamic/log +80: + out/test/aarch64/execute-only/exe +80: + grep 'Hello world' 83: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/fatal-warnings.sh .sh 83: ++ testname=fatal-warnings 83: ++ t=out/test/aarch64/fatal-warnings 83: ++ mkdir -p out/test/aarch64/fatal-warnings +80: Hello world +80: + grep -E 'LOAD\s.*[0-9a-f] E 0x' +80: + readelf -W --segments out/test/aarch64/execute-only/exe +81: 1: 0000000000210318 0 NOTYPE GLOBAL DEFAULT 7 _start +81: + on_exit +81: + echo OK +81: OK +81: + exit 0 + 72/347 Test #81: aarch64-export-dynamic ................................... Passed 0.16 sec +test 84 + Start 84: aarch64-filler + +84: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/filler.sh" +84: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +84: Environment variables: +84: MACHINE=aarch64 +84: CPU= +84: Test timeout computed to be: 1500 83: ++ case $MACHINE in 83: ++ tlsdesc_opt=-mtls-dialect=desc 83: +++ uname @@ -6516,68 +6581,17 @@ 83: ++ echo -n 'Testing fatal-warnings ... ' 83: Testing fatal-warnings ... ++ set -o pipefail 83: ++ set -x -82: +++ uname -82: ++ '[' Linux = FreeBSD ']' -82: ++ trap 'on_error $LINENO' ERR -82: ++ trap on_exit EXIT -82: ++ echo -n 'Testing export-from-exe ... ' -82: Testing export-from-exe ... ++ set -o pipefail -82: ++ set -x -82: + cat -83: + cat -82: + cc -o out/test/aarch64/export-from-exe/a.o -c -xc - 83: + cc -fcommon -xc -c -o out/test/aarch64/fatal-warnings/a.o - -76: + readelf --dyn-syms out/test/aarch64/exclude-libs/f.so -45: + cc -B. -flto -o out/test/aarch64/dependency-file-lto/exe out/test/aarch64/dependency-file-lto/a.o -Wl,-dependency-file=out/test/aarch64/dependency-file-lto/dep -74: + command -v perl -74: + '[' aarch64 = sh4 ']' -74: + cat -74: + c++ -o out/test/aarch64/exception-multiple-ehframe/a.o -c -xc++ - -76: + grep -F foo out/test/aarch64/exclude-libs/log -76: 7: 00000000000107c4 8 FUNC GLOBAL DEFAULT 15 foo -76: + grep -F bar out/test/aarch64/exclude-libs/log -56: + cat -76: 5: 00000000000107cc 8 FUNC GLOBAL DEFAULT 15 bar -56: + cc -o out/test/aarch64/duplicate-error-lto/b.o -c -xc - -flto -76: + grep -F baz out/test/aarch64/exclude-libs/log -76: 6: 00000000000107a8 28 FUNC GLOBAL DEFAULT 15 baz -76: + 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 -38: + cc -B. -flto -o out/test/aarch64/defsym-lto/exe out/test/aarch64/defsym-lto/a.o -Wl,-defsym,live_func=dead_func -83: + cat -83: + cc -fcommon -xc -c -o out/test/aarch64/fatal-warnings/b.o - -80: + out/test/aarch64/execute-only/exe -80: + grep 'Hello world' -80: Hello world -56: + not cc -B. -o out/test/aarch64/duplicate-error-lto/exe1 out/test/aarch64/duplicate-error-lto/a.o out/test/aarch64/duplicate-error-lto/a.o out/test/aarch64/duplicate-error-lto/b.o -flto -82: + cat -82: + cc -shared -fPIC -o out/test/aarch64/export-from-exe/b.so -xc - -80: + grep -E 'LOAD\s.*[0-9a-f] E 0x' -79: + grep 'GNU_STACK.* RW ' -56: + grep 'duplicate symbol.*: foo$' -80: + readelf -W --segments out/test/aarch64/execute-only/exe -79: + readelf --segments -W out/test/aarch64/execstack/exe -79: GNU_STACK 0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x000000 RW 0x1 -79: + on_exit -79: + echo OK -79: OK -79: + exit 0 -81: + ./mold -o out/test/aarch64/export-dynamic/exe out/test/aarch64/export-dynamic/a.o out/test/aarch64/export-dynamic/b.so --export-dynamic 80: LOAD 0x0005d0 0x00000000000105d0 0x00000000000105d0 0x000250 0x000250 E 0x10000 80: + on_exit 80: + echo OK 80: OK 80: + exit 0 - 72/347 Test #79: aarch64-execstack ........................................ Passed 0.18 sec - 73/347 Test #80: aarch64-execute-only ..................................... Passed 0.16 sec -test 84 - Start 84: aarch64-filler - -84: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/filler.sh" -84: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -84: Environment variables: -84: MACHINE=aarch64 -84: CPU= -84: Test timeout computed to be: 1500 + 73/347 Test #80: aarch64-execute-only ..................................... Passed 0.26 sec +83: + cat +82: + cc -shared -fPIC -o out/test/aarch64/export-from-exe/b.so -xc - +82: + cat +76: + 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 test 85 Start 85: aarch64-filter @@ -6587,18 +6601,41 @@ 85: MACHINE=aarch64 85: CPU= 85: Test timeout computed to be: 1500 -74: + cat -81: + readelf --dyn-syms out/test/aarch64/export-dynamic/exe -81: + grep -E 'NOTYPE\s+GLOBAL DEFAULT\s+[0-9]+ bar' out/test/aarch64/export-dynamic/log -83: + 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 -81: 2: 0000000000210314 0 NOTYPE GLOBAL DEFAULT 7 bar -81: + grep -E 'NOTYPE\s+GLOBAL DEFAULT\s+[0-9]+ _start' out/test/aarch64/export-dynamic/log +84: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/filler.sh +84: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +84: ++ export LC_ALL=C +84: ++ LC_ALL=C +84: ++ '[' -z aarch64 ']' +84: ++ '[' -z '' ']' +84: ++ TESTDIR=out/test/aarch64 +84: ++ CC=cc +84: ++ CXX=c++ +84: ++ GCC=gcc +84: ++ GXX=g++ +84: ++ OBJDUMP=objdump +84: ++ OBJCOPY=objcopy +84: ++ STRIP=strip +84: ++ QEMU= +84: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/filler.sh .sh +84: ++ testname=filler +84: ++ t=out/test/aarch64/filler +84: ++ mkdir -p out/test/aarch64/filler +84: ++ case $MACHINE in +84: ++ tlsdesc_opt=-mtls-dialect=desc +74: + perl -i -0777 -pe 's/\.eh_frame/.EH_FRAME/g' out/test/aarch64/exception-multiple-ehframe/a.o +74: + ./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 +84: +++ uname +84: ++ '[' Linux = FreeBSD ']' +84: ++ trap 'on_error $LINENO' ERR +84: ++ trap on_exit EXIT +84: ++ echo -n 'Testing filler ... ' +84: Testing filler ... ++ set -o pipefail +84: ++ set -x +84: + test_cflags -static +84: + echo 'int main() {}' +84: + cc -B. -static -o /dev/null -xc - +74: + perl -i -0777 -pe 's/\.EH_FRAME/.eh_frame/g' out/test/aarch64/exception-multiple-ehframe/c.o 85: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/filter.sh -81: 1: 0000000000210318 0 NOTYPE GLOBAL DEFAULT 7 _start -81: + on_exit -81: + echo OK -81: OK -81: + exit 0 85: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 85: ++ export LC_ALL=C 85: ++ LC_ALL=C @@ -6614,55 +6651,60 @@ 85: ++ STRIP=strip 85: ++ QEMU= 85: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/filter.sh .sh +74: + cat +74: + c++ -o out/test/aarch64/exception-multiple-ehframe/d.o -c -xc++ - +79: + grep 'GNU_STACK.* RW ' +79: + readelf --segments -W out/test/aarch64/execstack/exe +79: GNU_STACK 0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x000000 RW 0x1 +79: + cc -B. -o out/test/aarch64/execstack/exe out/test/aarch64/execstack/a.o 85: ++ testname=filter 85: ++ t=out/test/aarch64/filter 85: ++ mkdir -p out/test/aarch64/filter +83: + cat 85: ++ case $MACHINE in 85: ++ tlsdesc_opt=-mtls-dialect=desc -76: + readelf --dyn-syms out/test/aarch64/exclude-libs/f.so - 74/347 Test #81: aarch64-export-dynamic ................................... Passed 0.13 sec +83: + cc -fcommon -xc -c -o out/test/aarch64/fatal-warnings/b.o - 85: +++ uname -test 86 - Start 86: aarch64-func-addr - -86: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/func-addr.sh" -86: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -86: Environment variables: -86: MACHINE=aarch64 -86: CPU= -86: Test timeout computed to be: 1500 85: ++ '[' Linux = FreeBSD ']' 85: ++ trap 'on_error $LINENO' ERR 85: ++ trap on_exit EXIT 85: ++ echo -n 'Testing filter ... ' 85: Testing filter ... ++ set -o pipefail 85: ++ set -x -74: + c++ -o out/test/aarch64/exception-multiple-ehframe/b.o -c -xc++ - -85: + cc -o out/test/aarch64/filter/a.o -c -x assembler - -84: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/filler.sh 85: + cat -84: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -84: ++ export LC_ALL=C -84: ++ LC_ALL=C -84: ++ '[' -z aarch64 ']' -84: ++ '[' -z '' ']' -84: ++ TESTDIR=out/test/aarch64 -84: ++ CC=cc -84: ++ CXX=c++ -84: ++ GCC=gcc -84: ++ GXX=g++ -84: ++ OBJDUMP=objdump -84: ++ OBJCOPY=objcopy -84: ++ STRIP=strip -84: ++ QEMU= -76: + not grep -F foo out/test/aarch64/exclude-libs/log +85: + cc -o out/test/aarch64/filter/a.o -c -x assembler - +76: + readelf --dyn-syms out/test/aarch64/exclude-libs/f.so 76: + grep -F foo out/test/aarch64/exclude-libs/log -84: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/filler.sh .sh -84: ++ testname=filler -84: ++ t=out/test/aarch64/filler -84: ++ mkdir -p out/test/aarch64/filler -76: + return 0 +76: 7: 00000000000107c4 8 FUNC GLOBAL DEFAULT 15 foo 76: + grep -F bar out/test/aarch64/exclude-libs/log +74: + 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 +85: + ./mold -o out/test/aarch64/filter/b.so out/test/aarch64/filter/a.o --filter foo -F bar -shared +76: 5: 00000000000107cc 8 FUNC GLOBAL DEFAULT 15 bar +85: + readelf --dynamic out/test/aarch64/filter/b.so +76: + grep -F baz out/test/aarch64/exclude-libs/log +76: 6: 00000000000107a8 28 FUNC GLOBAL DEFAULT 15 baz +76: + 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 +85: + grep -F 'Filter library: [foo]' out/test/aarch64/filter/log +79: + grep 'GNU_STACK.* RW ' +79: + readelf --segments -W out/test/aarch64/execstack/exe +79: GNU_STACK 0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x000000 RW 0x1 +79: + on_exit +79: + echo OK +79: OK +79: + exit 0 +83: + 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 + 74/347 Test #79: aarch64-execstack ........................................ Passed 0.42 sec +test 86 + Start 86: aarch64-func-addr + +86: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/func-addr.sh" +86: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +86: Environment variables: +86: MACHINE=aarch64 +86: CPU= +86: Test timeout computed to be: 1500 +85: 0x000000007fffffff (FILTER) Filter library: [foo] +85: + grep -F 'Filter library: [bar]' out/test/aarch64/filter/log 86: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/func-addr.sh 86: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 86: ++ export LC_ALL=C @@ -6679,50 +6721,18 @@ 86: ++ STRIP=strip 86: ++ QEMU= 86: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/func-addr.sh .sh -86: ++ testname=func-addr -86: ++ t=out/test/aarch64/func-addr -86: ++ mkdir -p out/test/aarch64/func-addr -76: 5: 000000000001078c 8 FUNC GLOBAL DEFAULT 15 bar -76: + grep -F baz out/test/aarch64/exclude-libs/log -86: ++ case $MACHINE in -86: ++ tlsdesc_opt=-mtls-dialect=desc -76: 6: 0000000000010768 28 FUNC GLOBAL DEFAULT 15 baz -84: ++ case $MACHINE in -84: ++ tlsdesc_opt=-mtls-dialect=desc -76: + 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 -84: +++ uname -84: ++ '[' Linux = FreeBSD ']' -86: +++ uname -84: ++ trap 'on_error $LINENO' ERR -84: ++ trap on_exit EXIT -84: ++ echo -n 'Testing filler ... ' -84: Testing filler ... ++ set -o pipefail -84: ++ set -x -84: + test_cflags -static -84: + echo 'int main() {}' -84: + cc -B. -static -o /dev/null -xc - -86: ++ '[' Linux = FreeBSD ']' -86: ++ trap 'on_error $LINENO' ERR -86: ++ trap on_exit EXIT -86: ++ echo -n 'Testing func-addr ... ' -86: Testing func-addr ... ++ set -o pipefail -86: ++ set -x -86: + cc -shared -o out/test/aarch64/func-addr/a.so -xc - -85: + ./mold -o out/test/aarch64/filter/b.so out/test/aarch64/filter/a.o --filter foo -F bar -shared -86: + cat -74: + perl -i -0777 -pe 's/\.eh_frame/.EH_FRAME/g' out/test/aarch64/exception-multiple-ehframe/a.o -85: + readelf --dynamic out/test/aarch64/filter/b.so -85: + grep -F 'Filter library: [foo]' out/test/aarch64/filter/log -74: + ./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 -85: 0x000000007fffffff (FILTER) Filter library: [foo] -82: + 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 -85: + grep -F 'Filter library: [bar]' out/test/aarch64/filter/log 85: 0x000000007fffffff (FILTER) Filter library: [bar] 85: + on_exit 85: + echo OK 85: OK 85: + exit 0 - 75/347 Test #85: aarch64-filter ........................................... Passed 0.05 sec +67: + c++ -o out/test/aarch64/emit-relocs-dead-sections/b.o -c -fPIC -xc++ -g -ffunction-sections - +67: + cat +86: ++ testname=func-addr +86: ++ t=out/test/aarch64/func-addr +86: ++ mkdir -p out/test/aarch64/func-addr + 75/347 Test #85: aarch64-filter ........................................... Passed 0.16 sec +82: + 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 test 87 Start 87: aarch64-gc-sections @@ -6732,26 +6742,10 @@ 87: MACHINE=aarch64 87: CPU= 87: Test timeout computed to be: 1500 -56: mold: error: duplicate symbol: out/test/aarch64/duplicate-error-lto/a.o: out/test/aarch64/duplicate-error-lto/a.o: foo -56: + on_exit -56: + echo OK -56: OK -56: + exit 0 -74: + perl -i -0777 -pe 's/\.EH_FRAME/.eh_frame/g' out/test/aarch64/exception-multiple-ehframe/c.o -74: + cat -74: + c++ -o out/test/aarch64/exception-multiple-ehframe/d.o -c -xc++ - -83: + not 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 - 76/347 Test #56: aarch64-duplicate-error-lto .............................. Passed 0.67 sec -test 88 - Start 88: aarch64-gdb-index-compress-output - -88: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-compress-output.sh" -88: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -88: Environment variables: -88: MACHINE=aarch64 -88: CPU= -88: Test timeout computed to be: 1500 +86: ++ case $MACHINE in +86: ++ tlsdesc_opt=-mtls-dialect=desc 87: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/gc-sections.sh +86: +++ uname 87: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 87: ++ export LC_ALL=C 87: ++ LC_ALL=C @@ -6766,7 +6760,47 @@ 87: ++ OBJCOPY=objcopy 87: ++ STRIP=strip 87: ++ QEMU= -76: + readelf --dyn-syms out/test/aarch64/exclude-libs/f.so +86: ++ '[' Linux = FreeBSD ']' +86: ++ trap 'on_error $LINENO' ERR +86: ++ trap on_exit EXIT +86: ++ echo -n 'Testing func-addr ... ' +86: Testing func-addr ... ++ set -o pipefail +86: ++ set -x +86: + cc -shared -o out/test/aarch64/func-addr/a.so -xc - +86: + cat +74: + grep '^1 3$' +74: + out/test/aarch64/exception-multiple-ehframe/exe1 +87: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/gc-sections.sh .sh +87: ++ testname=gc-sections +87: ++ t=out/test/aarch64/gc-sections +87: ++ mkdir -p out/test/aarch64/gc-sections +87: ++ case $MACHINE in +87: ++ tlsdesc_opt=-mtls-dialect=desc +87: +++ uname +87: ++ '[' Linux = FreeBSD ']' +87: ++ trap 'on_error $LINENO' ERR +87: ++ trap on_exit EXIT +87: ++ echo -n 'Testing gc-sections ... ' +87: Testing gc-sections ... ++ set -o pipefail +87: ++ set -x +87: + cat +74: 1 3 +74: + on_exit +74: + echo OK +74: OK +74: + exit 0 + 76/347 Test #74: aarch64-exception-multiple-ehframe ....................... Passed 0.64 sec +test 88 + Start 88: aarch64-gdb-index-compress-output + +88: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-compress-output.sh" +88: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +88: Environment variables: +88: MACHINE=aarch64 +88: CPU= +88: Test timeout computed to be: 1500 +87: + c++ -c -o out/test/aarch64/gc-sections/a.o -xc++ - -ffunction-sections -fdata-sections +83: + not 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 88: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-compress-output.sh 88: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 88: ++ export LC_ALL=C @@ -6782,39 +6816,13 @@ 88: ++ OBJCOPY=objcopy 88: ++ STRIP=strip 88: ++ QEMU= -87: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/gc-sections.sh .sh -76: + not grep -F foo out/test/aarch64/exclude-libs/log -76: + grep -F foo out/test/aarch64/exclude-libs/log 88: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-compress-output.sh .sh -87: ++ testname=gc-sections -87: ++ t=out/test/aarch64/gc-sections -87: ++ mkdir -p out/test/aarch64/gc-sections 88: ++ testname=gdb-index-compress-output 88: ++ t=out/test/aarch64/gdb-index-compress-output 88: ++ mkdir -p out/test/aarch64/gdb-index-compress-output 88: ++ case $MACHINE in 88: ++ tlsdesc_opt=-mtls-dialect=desc 88: +++ uname -86: + cat -86: + cc -o out/test/aarch64/func-addr/b.o -c -xc -fno-PIC - -87: ++ case $MACHINE in -87: ++ tlsdesc_opt=-mtls-dialect=desc -87: +++ uname -87: ++ '[' Linux = FreeBSD ']' -87: ++ trap 'on_error $LINENO' ERR -87: ++ trap on_exit EXIT -87: ++ echo -n 'Testing gc-sections ... ' -87: Testing gc-sections ... ++ set -o pipefail -87: ++ set -x -87: + cat -87: + c++ -c -o out/test/aarch64/gc-sections/a.o -xc++ - -ffunction-sections -fdata-sections -76: + return 0 -76: + not grep -F bar out/test/aarch64/exclude-libs/log -76: + grep -F bar out/test/aarch64/exclude-libs/log -76: + return 0 -76: + grep -F baz out/test/aarch64/exclude-libs/log -76: 5: 0000000000010708 28 FUNC GLOBAL DEFAULT 13 baz -76: + 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: ++ '[' Linux = FreeBSD ']' 88: ++ trap 'on_error $LINENO' ERR 88: ++ trap on_exit EXIT @@ -6826,10 +6834,17 @@ 88: + grep -w qemu /proc/cpuinfo 88: + '[' aarch64 = riscv64 -o aarch64 = riscv32 -o aarch64 = sparc64 ']' 88: + command -v gdb -88: + cat 88: + cc -c -o out/test/aarch64/gdb-index-compress-output/a.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -ffunction-sections +88: + cat +76: + readelf --dyn-syms out/test/aarch64/exclude-libs/f.so +76: + not grep -F foo out/test/aarch64/exclude-libs/log +76: + grep -F foo out/test/aarch64/exclude-libs/log 82: + readelf --dyn-syms out/test/aarch64/export-from-exe/exe +76: + return 0 +76: + grep -F bar out/test/aarch64/exclude-libs/log 82: + grep expfn2 +76: 5: 000000000001078c 8 FUNC GLOBAL DEFAULT 15 bar +76: + grep -F baz out/test/aarch64/exclude-libs/log 82: 6: 0000000000010870 8 FUNC GLOBAL DEFAULT 18 expfn2 82: + grep expfn1 82: + readelf --dyn-syms out/test/aarch64/export-from-exe/exe @@ -6838,7 +6853,10 @@ 82: + echo OK 82: OK 82: + exit 0 - 77/347 Test #82: aarch64-export-from-exe .................................. Passed 0.17 sec +86: + cat +86: + cc -o out/test/aarch64/func-addr/b.o -c -xc -fno-PIC - + 77/347 Test #82: aarch64-export-from-exe .................................. Passed 0.39 sec +87: + c++ -B. -o out/test/aarch64/gc-sections/exe1 out/test/aarch64/gc-sections/a.o test 89 Start 89: aarch64-gdb-index-dwarf2 @@ -6848,8 +6866,9 @@ 89: MACHINE=aarch64 89: CPU= 89: Test timeout computed to be: 1500 +76: 6: 0000000000010768 28 FUNC GLOBAL DEFAULT 15 baz +76: + 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 89: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-dwarf2.sh -86: + 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 89: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 89: ++ export LC_ALL=C 89: ++ LC_ALL=C @@ -6880,18 +6899,24 @@ 89: + on_qemu 89: + '[' '' '!=' '' ']' 89: + grep -w qemu /proc/cpuinfo -67: + cat -67: + c++ -o out/test/aarch64/emit-relocs-dead-sections/b.o -c -fPIC -xc++ -g -ffunction-sections - -83: + on_exit -83: + echo OK -83: OK -83: + exit 0 89: + '[' aarch64 = riscv64 -o aarch64 = riscv32 -o aarch64 = sparc64 ']' 89: + command -v gdb 89: + test_cflags -gdwarf-2 -g - 78/347 Test #83: aarch64-fatal-warnings ................................... Passed 0.17 sec 89: + echo 'int main() {}' +86: + 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 89: + cc -B. -gdwarf-2 -g -o /dev/null -xc - +76: + readelf --dyn-syms out/test/aarch64/exclude-libs/f.so +76: + not grep -F foo out/test/aarch64/exclude-libs/log +76: + grep -F foo out/test/aarch64/exclude-libs/log +76: + return 0 +76: + not grep -F bar out/test/aarch64/exclude-libs/log +76: + grep -F bar out/test/aarch64/exclude-libs/log +83: + on_exit +83: + echo OK +83: OK +83: + exit 0 +88: + 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 + 78/347 Test #83: aarch64-fatal-warnings ................................... Passed 0.42 sec test 90 Start 90: aarch64-gdb-index-dwarf3 @@ -6901,7 +6926,8 @@ 90: MACHINE=aarch64 90: CPU= 90: Test timeout computed to be: 1500 -87: + c++ -B. -o out/test/aarch64/gc-sections/exe1 out/test/aarch64/gc-sections/a.o +76: + return 0 +76: + grep -F baz out/test/aarch64/exclude-libs/log 90: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-dwarf3.sh 90: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 90: ++ export LC_ALL=C @@ -6917,54 +6943,22 @@ 90: ++ OBJCOPY=objcopy 90: ++ STRIP=strip 90: ++ QEMU= -88: + 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 90: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-dwarf3.sh .sh 90: ++ testname=gdb-index-dwarf3 90: ++ t=out/test/aarch64/gdb-index-dwarf3 90: ++ mkdir -p out/test/aarch64/gdb-index-dwarf3 +76: 5: 0000000000010708 28 FUNC GLOBAL DEFAULT 13 baz +76: + 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 90: ++ case $MACHINE in 90: ++ tlsdesc_opt=-mtls-dialect=desc -90: +++ uname -90: ++ '[' Linux = FreeBSD ']' -90: ++ trap 'on_error $LINENO' ERR -90: ++ trap on_exit EXIT -90: ++ echo -n 'Testing gdb-index-dwarf3 ... ' -90: Testing gdb-index-dwarf3 ... ++ set -o pipefail -90: ++ set -x -90: + on_qemu -90: + '[' '' '!=' '' ']' -90: + grep -w qemu /proc/cpuinfo -76: + readelf --dyn-syms out/test/aarch64/exclude-libs/f.so -90: + '[' aarch64 = riscv64 -o aarch64 = riscv32 -o aarch64 = sparc64 ']' -90: + command -v gdb -90: + test_cflags -gdwarf-3 -76: + not grep -F foo out/test/aarch64/exclude-libs/log -76: + grep -F foo out/test/aarch64/exclude-libs/log -76: + return 0 -76: + not grep -F bar out/test/aarch64/exclude-libs/log -76: + grep -F bar out/test/aarch64/exclude-libs/log -90: + cc -B. -gdwarf-3 -o /dev/null -xc - -76: + return 0 -76: + grep -F baz out/test/aarch64/exclude-libs/log -74: + 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 -90: + echo 'int main() {}' -76: 5: 0000000000010708 28 FUNC GLOBAL DEFAULT 13 baz -76: + 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 -88: + readelf -WS out/test/aarch64/gdb-index-compress-output/b.so -88: + grep -F .gdb_index -87: + readelf --symbols out/test/aarch64/gc-sections/exe1 86: + out/test/aarch64/func-addr/exe -88: [36] .gdb_index PROGBITS 0000000000000000 002780 0001bd 00 0 0 4 -88: + cat 86: + grep 1 86: 1 -88: + cc -c -o out/test/aarch64/gdb-index-compress-output/c.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -gz 86: + on_exit 86: + echo OK 86: OK 86: + exit 0 - 79/347 Test #86: aarch64-func-addr ........................................ Passed 0.16 sec -87: + grep '1 2' + 79/347 Test #86: aarch64-func-addr ........................................ Passed 0.26 sec test 91 Start 91: aarch64-gdb-index-dwarf4 @@ -6974,14 +6968,17 @@ 91: MACHINE=aarch64 91: CPU= 91: Test timeout computed to be: 1500 -87: + out/test/aarch64/gc-sections/exe1 -87: 1 2 -87: + grep live_fn1 out/test/aarch64/gc-sections/log1 -87: 104: 00000000000108f0 8 FUNC LOCAL DEFAULT 19 _Z8live_fn1v -87: + grep live_fn2 out/test/aarch64/gc-sections/log1 -87: 105: 00000000000108f8 24 FUNC LOCAL DEFAULT 19 _Z8live_fn2v -87: + grep dead_fn1 out/test/aarch64/gc-sections/log1 +90: +++ uname 91: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-dwarf4.sh +90: ++ '[' Linux = FreeBSD ']' +90: ++ trap 'on_error $LINENO' ERR +90: ++ trap on_exit EXIT +90: ++ echo -n 'Testing gdb-index-dwarf3 ... ' +90: Testing gdb-index-dwarf3 ... ++ set -o pipefail +90: ++ set -x +90: + on_qemu +90: + '[' '' '!=' '' ']' +90: + grep -w qemu /proc/cpuinfo 91: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 91: ++ export LC_ALL=C 91: ++ LC_ALL=C @@ -6996,22 +6993,23 @@ 91: ++ OBJCOPY=objcopy 91: ++ STRIP=strip 91: ++ QEMU= -38: + grep '^OK$' -38: + out/test/aarch64/defsym-lto/exe +87: + readelf --symbols out/test/aarch64/gc-sections/exe1 91: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-dwarf4.sh .sh 91: ++ testname=gdb-index-dwarf4 91: ++ t=out/test/aarch64/gdb-index-dwarf4 91: ++ mkdir -p out/test/aarch64/gdb-index-dwarf4 -38: OK +90: + '[' aarch64 = riscv64 -o aarch64 = riscv32 -o aarch64 = sparc64 ']' +90: + command -v gdb +90: + test_cflags -gdwarf-3 +90: + cc -B. -gdwarf-3 -o /dev/null -xc - +87: + out/test/aarch64/gc-sections/exe1 +87: + grep '1 2' +87: 1 2 +87: + grep live_fn1 out/test/aarch64/gc-sections/log1 91: ++ case $MACHINE in 91: ++ tlsdesc_opt=-mtls-dialect=desc 91: +++ uname 91: ++ '[' Linux = FreeBSD ']' -38: + on_exit -38: + echo OK -38: OK -38: + exit 0 - 80/347 Test #38: aarch64-defsym-lto ....................................... Passed 1.06 sec 91: ++ trap 'on_error $LINENO' ERR 91: ++ trap on_exit EXIT 91: ++ echo -n 'Testing gdb-index-dwarf4 ... ' @@ -7020,92 +7018,117 @@ 91: + on_qemu 91: + '[' '' '!=' '' ']' 91: + grep -w qemu /proc/cpuinfo -test 92 - Start 92: aarch64-gdb-index-dwarf5 - -92: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-dwarf5.sh" -92: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -92: Environment variables: -92: MACHINE=aarch64 -92: CPU= -92: Test timeout computed to be: 1500 91: + '[' aarch64 = riscv64 -o aarch64 = riscv32 -o aarch64 = sparc64 ']' 91: + command -v gdb 91: + test_cflags -gdwarf-4 -g +90: + echo 'int main() {}' +91: + cc -B. -gdwarf-4 -g -o /dev/null -xc - 91: + echo 'int main() {}' +88: + grep -F .gdb_index +87: 104: 00000000000108f0 8 FUNC LOCAL DEFAULT 19 _Z8live_fn1v +88: + readelf -WS out/test/aarch64/gdb-index-compress-output/b.so +88: [36] .gdb_index PROGBITS 0000000000000000 002780 0001bd 00 0 0 4 +88: + cc -c -o out/test/aarch64/gdb-index-compress-output/c.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -gz +87: + grep live_fn2 out/test/aarch64/gc-sections/log1 +88: + cat +87: 105: 00000000000108f8 24 FUNC LOCAL DEFAULT 19 _Z8live_fn2v +89: + cat +87: + grep dead_fn1 out/test/aarch64/gc-sections/log1 +89: + cc -c -o out/test/aarch64/gdb-index-dwarf2/a.o -fPIC -g -ggnu-pubnames -gdwarf-2 -xc - -ffunction-sections 87: 106: 0000000000010910 8 FUNC LOCAL DEFAULT 19 _Z8dead_fn1v 87: + grep dead_fn2 out/test/aarch64/gc-sections/log1 -92: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-dwarf5.sh 87: 107: 0000000000010918 24 FUNC LOCAL DEFAULT 19 _Z8dead_fn2v 87: + grep live_var1 out/test/aarch64/gc-sections/log1 -92: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -92: ++ export LC_ALL=C -92: ++ LC_ALL=C -92: ++ '[' -z aarch64 ']' -92: ++ '[' -z '' ']' -92: ++ TESTDIR=out/test/aarch64 -92: ++ CC=cc -92: ++ CXX=c++ -92: ++ GCC=gcc -92: ++ GXX=g++ -92: ++ OBJDUMP=objdump -92: ++ OBJCOPY=objcopy -92: ++ STRIP=strip -92: ++ QEMU= 87: 100: 0000000000030c30 4 OBJECT LOCAL DEFAULT 25 live_var1 -91: + cc -B. -gdwarf-4 -g -o /dev/null -xc - -89: + cat -92: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-dwarf5.sh .sh 87: + grep live_var2 out/test/aarch64/gc-sections/log1 88: + 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 -c -o out/test/aarch64/gdb-index-dwarf2/a.o -fPIC -g -ggnu-pubnames -gdwarf-2 -xc - -ffunction-sections 87: 101: 0000000000030c74 4 OBJECT LOCAL DEFAULT 28 live_var2 87: + grep dead_var1 out/test/aarch64/gc-sections/log1 87: 102: 0000000000030c34 4 OBJECT LOCAL DEFAULT 25 dead_var1 -92: ++ testname=gdb-index-dwarf5 -92: ++ t=out/test/aarch64/gdb-index-dwarf5 -92: ++ mkdir -p out/test/aarch64/gdb-index-dwarf5 87: + grep dead_var2 out/test/aarch64/gc-sections/log1 -74: + grep '^1 3$' 87: 103: 0000000000030c38 4 OBJECT LOCAL DEFAULT 25 dead_var2 -92: ++ case $MACHINE in -92: ++ tlsdesc_opt=-mtls-dialect=desc -92: +++ uname -92: ++ '[' Linux = FreeBSD ']' -92: ++ trap 'on_error $LINENO' ERR -92: ++ trap on_exit EXIT -92: ++ echo -n 'Testing gdb-index-dwarf5 ... ' -92: Testing gdb-index-dwarf5 ... ++ set -o pipefail -92: ++ set -x -92: + on_qemu -92: + '[' '' '!=' '' ']' -92: + grep -w qemu /proc/cpuinfo -76: + readelf --dyn-syms out/test/aarch64/exclude-libs/f.so 87: + c++ -B. -o out/test/aarch64/gc-sections/exe2 out/test/aarch64/gc-sections/a.o -Wl,-gc-sections -74: + out/test/aarch64/exception-multiple-ehframe/exe1 -45: + grep '/exe:.*/a.o ' out/test/aarch64/dependency-file-lto/dep +76: + readelf --dyn-syms out/test/aarch64/exclude-libs/f.so 76: + not grep -F foo out/test/aarch64/exclude-libs/log 76: + grep -F foo out/test/aarch64/exclude-libs/log 76: + return 0 76: + not grep -F bar out/test/aarch64/exclude-libs/log 76: + grep -F bar out/test/aarch64/exclude-libs/log -45: out/test/aarch64/dependency-file-lto/exe: /usr/lib/aarch64-linux-gnu/Scrt1.o /usr/lib/aarch64-linux-gnu/crti.o /usr/lib/gcc/aarch64-linux-gnu/14/crtbeginS.o out/test/aarch64/dependency-file-lto/a.o /usr/lib/gcc/aarch64-linux-gnu/14/libgcc.a /usr/lib/gcc/aarch64-linux-gnu/14/libgcc_s.so /usr/lib/aarch64-linux-gnu/libgcc_s.so.1 /usr/lib/aarch64-linux-gnu/libc.so /lib/aarch64-linux-gnu/libc.so.6 /usr/lib/aarch64-linux-gnu/libc_nonshared.a /lib/ld-linux-aarch64.so.1 /usr/lib/gcc/aarch64-linux-gnu/14/crtendS.o /usr/lib/aarch64-linux-gnu/crtn.o -92: + '[' aarch64 = riscv64 -o aarch64 = riscv32 -o aarch64 = sparc64 ']' -92: + command -v gdb -92: + test_cflags -gdwarf-5 -g -92: + echo 'int main() {}' -45: + grep '/a.o:$' out/test/aarch64/dependency-file-lto/dep 76: + return 0 76: + grep -F baz out/test/aarch64/exclude-libs/log -45: out/test/aarch64/dependency-file-lto/a.o: +76: 5: 0000000000010708 28 FUNC GLOBAL DEFAULT 13 baz +76: + 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 +91: + cc -c -o out/test/aarch64/gdb-index-dwarf4/a.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -ffunction-sections +91: + cat +90: + cc -c -o out/test/aarch64/gdb-index-dwarf3/a.o -fPIC -g -ggnu-pubnames -gdwarf-3 -xc - -ffunction-sections +87: + readelf --symbols out/test/aarch64/gc-sections/exe2 +91: + cc -c -o out/test/aarch64/gdb-index-dwarf4/b.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -ffunction-sections +91: + cat +87: + out/test/aarch64/gc-sections/exe2 +87: + grep '1 2' +87: 1 2 +87: + grep live_fn1 out/test/aarch64/gc-sections/log2 +90: + cat +89: + cat +87: 93: 00000000000108b0 8 FUNC LOCAL DEFAULT 18 _Z8live_fn1v +87: + grep live_fn2 out/test/aarch64/gc-sections/log2 +87: 94: 00000000000108b8 24 FUNC LOCAL DEFAULT 18 _Z8live_fn2v +87: + not grep dead_fn1 out/test/aarch64/gc-sections/log2 +87: + grep dead_fn1 out/test/aarch64/gc-sections/log2 +88: + readelf -WS out/test/aarch64/gdb-index-compress-output/exe +87: + return 0 +87: + not grep dead_fn2 out/test/aarch64/gc-sections/log2 +87: + grep dead_fn2 out/test/aarch64/gc-sections/log2 +88: + grep -F .gdb_index +89: + cc -c -o out/test/aarch64/gdb-index-dwarf2/b.o -fPIC -g -ggnu-pubnames -gdwarf-2 -xc - -ffunction-sections +87: + return 0 +87: + grep live_var1 out/test/aarch64/gc-sections/log2 +87: 91: 0000000000030bc8 4 OBJECT LOCAL DEFAULT 24 live_var1 +87: + grep live_var2 out/test/aarch64/gc-sections/log2 +76: + readelf --dyn-syms out/test/aarch64/exclude-libs/f.so +87: 92: 0000000000030c04 4 OBJECT LOCAL DEFAULT 27 live_var2 +87: + not grep dead_var1 out/test/aarch64/gc-sections/log2 +87: + grep dead_var1 out/test/aarch64/gc-sections/log2 +88: [37] .gdb_index PROGBITS 0000000000000000 002868 000075 00 0 0 4 +76: + not grep -F foo out/test/aarch64/exclude-libs/log +76: + grep -F foo out/test/aarch64/exclude-libs/log +76: + return 0 +76: + not grep -F bar out/test/aarch64/exclude-libs/log +76: + grep -F bar out/test/aarch64/exclude-libs/log +87: + return 0 +87: + not grep dead_var2 out/test/aarch64/gc-sections/log2 +87: + grep dead_var2 out/test/aarch64/gc-sections/log2 +88: + grep 'Hello world' +88: + out/test/aarch64/gdb-index-compress-output/exe +76: + return 0 +76: + grep -F baz out/test/aarch64/exclude-libs/log +87: + return 0 +87: + on_exit +87: + echo OK +87: OK +87: + exit 0 +90: + cat +90: + cc -c -o out/test/aarch64/gdb-index-dwarf3/b.o -fPIC -g -ggnu-pubnames -gdwarf-3 -xc - -ffunction-sections + 80/347 Test #87: aarch64-gc-sections ...................................... Passed 0.45 sec +test 92 + Start 92: aarch64-gdb-index-dwarf5 + +92: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-dwarf5.sh" +92: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +92: Environment variables: +92: MACHINE=aarch64 +92: CPU= +92: Test timeout computed to be: 1500 76: 5: 0000000000010708 28 FUNC GLOBAL DEFAULT 13 baz 76: + on_exit 76: + echo OK 76: OK 76: + exit 0 -45: + not grep '^/tmp' out/test/aarch64/dependency-file-lto/dep -45: + grep '^/tmp' out/test/aarch64/dependency-file-lto/dep - 81/347 Test #76: aarch64-exclude-libs ..................................... Passed 0.44 sec +91: + 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: Hello world +88: + DEBUGINFOD_URLS= +88: + 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 + 81/347 Test #76: aarch64-exclude-libs ..................................... Passed 0.94 sec test 93 Start 93: aarch64-gdb-index-dwarf64 @@ -7115,28 +7138,23 @@ 93: MACHINE=aarch64 93: CPU= 93: Test timeout computed to be: 1500 -45: + return 0 -45: + on_exit -45: + echo OK -45: OK -45: + exit 0 -74: 1 3 +92: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-dwarf5.sh +92: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +92: ++ export LC_ALL=C +92: ++ LC_ALL=C +92: ++ '[' -z aarch64 ']' +92: ++ '[' -z '' ']' +92: ++ TESTDIR=out/test/aarch64 +92: ++ CC=cc +92: ++ CXX=c++ +92: ++ GCC=gcc +92: ++ GXX=g++ +92: ++ OBJDUMP=objdump +92: ++ OBJCOPY=objcopy +92: ++ STRIP=strip +92: ++ QEMU= 93: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-dwarf64.sh - 82/347 Test #45: aarch64-dependency-file-lto .............................. Passed 0.98 sec -74: + on_exit -74: + echo OK -74: OK -74: + exit 0 -92: + cc -B. -gdwarf-5 -g -o /dev/null -xc - -test 94 - Start 94: aarch64-gdb-index-empty - -94: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-empty.sh" -94: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -94: Environment variables: -94: MACHINE=aarch64 -94: CPU= -94: Test timeout computed to be: 1500 +92: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-dwarf5.sh .sh 93: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 93: ++ export LC_ALL=C 93: ++ LC_ALL=C @@ -7152,20 +7170,95 @@ 93: ++ STRIP=strip 93: ++ QEMU= 93: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-dwarf64.sh .sh +45: + cat +92: ++ testname=gdb-index-dwarf5 +92: ++ t=out/test/aarch64/gdb-index-dwarf5 +92: ++ mkdir -p out/test/aarch64/gdb-index-dwarf5 93: ++ testname=gdb-index-dwarf64 93: ++ t=out/test/aarch64/gdb-index-dwarf64 93: ++ mkdir -p out/test/aarch64/gdb-index-dwarf64 - 83/347 Test #74: aarch64-exception-multiple-ehframe ....................... Passed 0.46 sec -94: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-empty.sh -test 95 - Start 95: aarch64-gdb-index-split-dwarf +56: + cat +56: + cc -o out/test/aarch64/duplicate-error-lto/a.o -c -xc - -flto +45: + cc -flto -o out/test/aarch64/dependency-file-lto/a.o -c -xc - +93: ++ case $MACHINE in +93: ++ tlsdesc_opt=-mtls-dialect=desc +90: + 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 +92: ++ case $MACHINE in +92: ++ tlsdesc_opt=-mtls-dialect=desc +92: +++ uname +92: ++ '[' Linux = FreeBSD ']' +92: ++ trap 'on_error $LINENO' ERR +92: ++ trap on_exit EXIT +92: ++ echo -n 'Testing gdb-index-dwarf5 ... ' +92: Testing gdb-index-dwarf5 ... ++ set -o pipefail +92: ++ set -x +92: + on_qemu +92: + '[' '' '!=' '' ']' +92: + grep -w qemu /proc/cpuinfo +38: + cat +38: + cc -flto -fPIC -o out/test/aarch64/defsym-lto/a.o -c -xc - +93: +++ uname +92: + '[' aarch64 = riscv64 -o aarch64 = riscv32 -o aarch64 = sparc64 ']' +92: + command -v gdb +92: + test_cflags -gdwarf-5 -g +92: + cc -B. -gdwarf-5 -g -o /dev/null -xc - +93: ++ '[' Linux = FreeBSD ']' +93: ++ trap 'on_error $LINENO' ERR +93: ++ trap on_exit EXIT +93: ++ echo -n 'Testing gdb-index-dwarf64 ... ' +93: Testing gdb-index-dwarf64 ... ++ set -o pipefail +93: ++ set -x +93: + on_qemu +93: + '[' '' '!=' '' ']' +93: + grep -w qemu /proc/cpuinfo +93: + '[' aarch64 = riscv64 -o aarch64 = riscv32 -o aarch64 = sparc64 ']' +93: + command -v gdb +93: + test_cflags -gdwarf-5 -g -gdwarf64 +93: + cc -B. -gdwarf-5 -g -gdwarf64 -o /dev/null -xc - +93: + echo 'int main() {}' +92: + echo 'int main() {}' +91: + readelf -WS out/test/aarch64/gdb-index-dwarf4/c.so +91: + grep -F .gdb_index +56: + cc -o out/test/aarch64/duplicate-error-lto/b.o -c -xc - -flto +56: + cat +91: [36] .gdb_index PROGBITS 0000000000000000 002a78 000270 00 0 0 4 +91: + cc -c -o out/test/aarch64/gdb-index-dwarf4/d.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -gz +38: + cc -B. -flto -o out/test/aarch64/defsym-lto/exe out/test/aarch64/defsym-lto/a.o -Wl,-defsym,live_func=dead_func +91: + cat +45: + cc -B. -flto -o out/test/aarch64/dependency-file-lto/exe out/test/aarch64/dependency-file-lto/a.o -Wl,-dependency-file=out/test/aarch64/dependency-file-lto/dep +56: + not cc -B. -o out/test/aarch64/duplicate-error-lto/exe1 out/test/aarch64/duplicate-error-lto/a.o out/test/aarch64/duplicate-error-lto/a.o out/test/aarch64/duplicate-error-lto/b.o -flto +56: + grep 'duplicate symbol.*: foo$' +91: + 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 +89: + 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 +92: + cat +56: mold: error: duplicate symbol: out/test/aarch64/duplicate-error-lto/a.o: out/test/aarch64/duplicate-error-lto/a.o: foo +56: + on_exit +56: + echo OK +56: OK +56: + exit 0 + 82/347 Test #56: aarch64-duplicate-error-lto .............................. Passed 1.84 sec +test 94 + Start 94: aarch64-gdb-index-empty -95: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-split-dwarf.sh" -95: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -95: Environment variables: -95: MACHINE=aarch64 -95: CPU= -95: Test timeout computed to be: 1500 +94: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-empty.sh" +94: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +94: Environment variables: +94: MACHINE=aarch64 +94: CPU= +94: Test timeout computed to be: 1500 +92: + cat +92: + cat +92: + cat +92: + 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 +93: + cat +93: + cat +93: + cat +90: + readelf -WS out/test/aarch64/gdb-index-dwarf3/c.so +94: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-empty.sh +90: + grep -F .gdb_index +90: [36] .gdb_index PROGBITS 0000000000000000 002a90 000270 00 0 0 4 +90: + cc -c -o out/test/aarch64/gdb-index-dwarf3/d.o -fPIC -g -ggnu-pubnames -gdwarf-3 -xc - -gz +90: + cat 94: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 94: ++ export LC_ALL=C 94: ++ LC_ALL=C @@ -7184,27 +7277,57 @@ 94: ++ testname=gdb-index-empty 94: ++ t=out/test/aarch64/gdb-index-empty 94: ++ mkdir -p out/test/aarch64/gdb-index-empty -93: ++ case $MACHINE in -93: ++ tlsdesc_opt=-mtls-dialect=desc -93: +++ uname -89: + cat -93: ++ '[' Linux = FreeBSD ']' -93: ++ trap 'on_error $LINENO' ERR -93: ++ trap on_exit EXIT -93: ++ echo -n 'Testing gdb-index-dwarf64 ... ' -93: Testing gdb-index-dwarf64 ... ++ set -o pipefail -93: ++ set -x -93: + on_qemu -93: + '[' '' '!=' '' ']' -93: + grep -w qemu /proc/cpuinfo 94: ++ case $MACHINE in 94: ++ tlsdesc_opt=-mtls-dialect=desc -95: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-split-dwarf.sh -90: + cc -c -o out/test/aarch64/gdb-index-dwarf3/a.o -fPIC -g -ggnu-pubnames -gdwarf-3 -xc - -ffunction-sections 94: +++ uname -93: + '[' aarch64 = riscv64 -o aarch64 = riscv32 -o aarch64 = sparc64 ']' -93: + command -v gdb -93: + test_cflags -gdwarf-5 -g -gdwarf64 +93: + cat +93: + 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 +94: ++ '[' Linux = FreeBSD ']' +94: ++ trap 'on_error $LINENO' ERR +94: ++ trap on_exit EXIT +94: ++ echo -n 'Testing gdb-index-empty ... ' +94: Testing gdb-index-empty ... ++ set -o pipefail +94: ++ set -x +94: + cc -c -o out/test/aarch64/gdb-index-empty/a.o -xc - +94: + echo 'void _start() {}' +92: + 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 +91: + readelf -WS out/test/aarch64/gdb-index-dwarf4/exe +91: + grep -F .gdb_index +91: [37] .gdb_index PROGBITS 0000000000000000 002820 000075 00 0 0 4 +91: + grep 'Hello world' +91: + out/test/aarch64/gdb-index-dwarf4/exe +91: Hello world +91: + DEBUGINFOD_URLS= +91: + gdb out/test/aarch64/gdb-index-dwarf4/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit +89: + readelf -WS out/test/aarch64/gdb-index-dwarf2/c.so +89: + grep -F .gdb_index +92: + 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: + ./mold -o out/test/aarch64/gdb-index-empty/exe out/test/aarch64/gdb-index-empty/a.o -gdb-index +89: [37] .gdb_index PROGBITS 0000000000000000 002bd8 000270 00 0 0 4 +89: + cc -c -o out/test/aarch64/gdb-index-dwarf2/d.o -fPIC -g -ggnu-pubnames -gdwarf-2 -xc - -gz +89: + cat +90: + 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 +92: + 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 +94: + readelf -WS out/test/aarch64/gdb-index-empty/exe +94: + not grep -F .gdb_index +94: + grep -F .gdb_index +89: + 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 +94: + return 0 +94: + on_exit +94: + echo OK +94: OK +94: + exit 0 + 83/347 Test #94: aarch64-gdb-index-empty .................................. Passed 0.11 sec +test 95 + Start 95: aarch64-gdb-index-split-dwarf + +95: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-split-dwarf.sh" +95: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +95: Environment variables: +95: MACHINE=aarch64 +95: CPU= +95: Test timeout computed to be: 1500 +95: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-split-dwarf.sh 95: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 95: ++ export LC_ALL=C 95: ++ LC_ALL=C @@ -7219,22 +7342,10 @@ 95: ++ OBJCOPY=objcopy 95: ++ STRIP=strip 95: ++ QEMU= -90: + cat -94: ++ '[' Linux = FreeBSD ']' -93: + cc -B. -gdwarf-5 -g -gdwarf64 -o /dev/null -xc - -93: + echo 'int main() {}' -94: ++ trap 'on_error $LINENO' ERR -94: ++ trap on_exit EXIT -94: ++ echo -n 'Testing gdb-index-empty ... ' -94: Testing gdb-index-empty ... ++ set -o pipefail -94: ++ set -x -94: + echo 'void _start() {}' -94: + cc -c -o out/test/aarch64/gdb-index-empty/a.o -xc - 95: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-split-dwarf.sh .sh 95: ++ testname=gdb-index-split-dwarf 95: ++ t=out/test/aarch64/gdb-index-split-dwarf 95: ++ mkdir -p out/test/aarch64/gdb-index-split-dwarf -89: + cc -c -o out/test/aarch64/gdb-index-dwarf2/b.o -fPIC -g -ggnu-pubnames -gdwarf-2 -xc - -ffunction-sections 95: ++ case $MACHINE in 95: ++ tlsdesc_opt=-mtls-dialect=desc 95: +++ uname @@ -7247,48 +7358,61 @@ 95: + on_qemu 95: + '[' '' '!=' '' ']' 95: + grep -w qemu /proc/cpuinfo +93: + 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 +90: + grep -F .gdb_index +90: + readelf -WS out/test/aarch64/gdb-index-dwarf3/exe 95: + '[' aarch64 = riscv64 -o aarch64 = riscv32 -o aarch64 = sparc64 ']' 95: + command -v gdb 95: + test_cflags -gdwarf-5 -g +90: [37] .gdb_index PROGBITS 0000000000000000 002820 000075 00 0 0 4 +90: + grep 'Hello world' +90: + out/test/aarch64/gdb-index-dwarf3/exe 95: + cc -B. -gdwarf-5 -g -o /dev/null -xc - +90: Hello world +90: + DEBUGINFOD_URLS= +90: + gdb out/test/aarch64/gdb-index-dwarf3/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit +92: + 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 95: + echo 'int main() {}' -87: + readelf --symbols out/test/aarch64/gc-sections/exe2 -87: + grep '1 2' -87: + out/test/aarch64/gc-sections/exe2 -87: 1 2 -87: + grep live_fn1 out/test/aarch64/gc-sections/log2 -87: 93: 00000000000108b0 8 FUNC LOCAL DEFAULT 18 _Z8live_fn1v -87: + grep live_fn2 out/test/aarch64/gc-sections/log2 -88: + readelf -WS out/test/aarch64/gdb-index-compress-output/exe -87: 94: 00000000000108b8 24 FUNC LOCAL DEFAULT 18 _Z8live_fn2v -87: + not grep dead_fn1 out/test/aarch64/gc-sections/log2 -87: + grep dead_fn1 out/test/aarch64/gc-sections/log2 -87: + return 0 -87: + not grep dead_fn2 out/test/aarch64/gc-sections/log2 -87: + grep dead_fn2 out/test/aarch64/gc-sections/log2 -88: + grep -F .gdb_index -88: [37] .gdb_index PROGBITS 0000000000000000 002868 000075 00 0 0 4 -94: + ./mold -o out/test/aarch64/gdb-index-empty/exe out/test/aarch64/gdb-index-empty/a.o -gdb-index -87: + return 0 -87: + grep live_var1 out/test/aarch64/gc-sections/log2 -88: + grep 'Hello world' -87: 91: 0000000000030bc8 4 OBJECT LOCAL DEFAULT 24 live_var1 -87: + grep live_var2 out/test/aarch64/gc-sections/log2 -88: + out/test/aarch64/gdb-index-compress-output/exe -90: + cc -c -o out/test/aarch64/gdb-index-dwarf3/b.o -fPIC -g -ggnu-pubnames -gdwarf-3 -xc - -ffunction-sections -90: + cat -88: Hello world -88: + DEBUGINFOD_URLS= -88: + 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 -94: + readelf -WS out/test/aarch64/gdb-index-empty/exe -94: + not grep -F .gdb_index -94: + grep -F .gdb_index -94: + return 0 -94: + on_exit -94: + echo OK -94: OK -94: + exit 0 - 84/347 Test #94: aarch64-gdb-index-empty .................................. Passed 0.05 sec +89: + readelf -WS out/test/aarch64/gdb-index-dwarf2/exe +89: + grep -F .gdb_index +89: [38] .gdb_index PROGBITS 0000000000000000 0028d0 000075 00 0 0 4 +89: + out/test/aarch64/gdb-index-dwarf2/exe +89: + grep 'Hello world' +93: + 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 +89: Hello world +89: + DEBUGINFOD_URLS= +89: + gdb out/test/aarch64/gdb-index-dwarf2/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit +93: + 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 +95: + cat +93: + 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 +95: + cat +95: + cat +95: + cat +95: + 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 +67: + 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 +92: + readelf -WS out/test/aarch64/gdb-index-dwarf5/e.so +92: + grep -F .gdb_index +92: [38] .gdb_index PROGBITS 0000000000000000 003428 000315 00 0 0 4 +92: + readelf --debug=gdb_index out/test/aarch64/gdb-index-dwarf5/e.so +92: + grep 'fn1: .* \[global, function\]' +93: + 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 +92: [ 20] fn1: 0 [global, function] +92: + grep 'char: .* \[static, type\]' +92: + readelf --debug=gdb_index out/test/aarch64/gdb-index-dwarf5/e.so +92: [ 4] unsigned char: 3 [static, type] +92: [ 13] char: 3 [static, type] +92: [ 17] signed char: 3 [static, type] +92: + cat +92: + cc -c -o out/test/aarch64/gdb-index-dwarf5/f.o -fPIC -g -ggnu-pubnames -gdwarf-5 -xc - -gz +67: + grep 'Hello world' +67: + out/test/aarch64/emit-relocs-dead-sections/exe +67: Hello world +67: Hello world +67: + on_exit +67: + echo OK +67: OK +67: + exit 0 + 84/347 Test #67: aarch64-emit-relocs-dead-sections ........................ Passed 1.81 sec test 96 Start 96: aarch64-glibc-2.22-bug @@ -7298,31 +7422,13 @@ 96: MACHINE=aarch64 96: CPU= 96: Test timeout computed to be: 1500 -87: 92: 0000000000030c04 4 OBJECT LOCAL DEFAULT 27 live_var2 -87: + not grep dead_var1 out/test/aarch64/gc-sections/log2 -87: + grep dead_var1 out/test/aarch64/gc-sections/log2 -87: + return 0 -87: + not grep dead_var2 out/test/aarch64/gc-sections/log2 -87: + grep dead_var2 out/test/aarch64/gc-sections/log2 -87: + return 0 -87: + on_exit -87: + echo OK -87: OK -87: + exit 0 +45: + grep '/exe:.*/a.o ' out/test/aarch64/dependency-file-lto/dep 96: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/glibc-2.22-bug.sh - 85/347 Test #87: aarch64-gc-sections ...................................... Passed 0.22 sec +45: out/test/aarch64/dependency-file-lto/exe: /usr/lib/aarch64-linux-gnu/Scrt1.o /usr/lib/aarch64-linux-gnu/crti.o /usr/lib/gcc/aarch64-linux-gnu/14/crtbeginS.o out/test/aarch64/dependency-file-lto/a.o /usr/lib/gcc/aarch64-linux-gnu/14/libgcc.a /usr/lib/gcc/aarch64-linux-gnu/14/libgcc_s.so /usr/lib/aarch64-linux-gnu/libgcc_s.so.1 /usr/lib/aarch64-linux-gnu/libc.so /lib/aarch64-linux-gnu/libc.so.6 /usr/lib/aarch64-linux-gnu/libc_nonshared.a /lib/ld-linux-aarch64.so.1 /usr/lib/gcc/aarch64-linux-gnu/14/crtendS.o /usr/lib/aarch64-linux-gnu/crtn.o +45: + grep '/a.o:$' out/test/aarch64/dependency-file-lto/dep 96: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 96: ++ export LC_ALL=C 96: ++ LC_ALL=C -test 97 - Start 97: aarch64-global-offset-table - -97: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/global-offset-table.sh" -97: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -97: Environment variables: -97: MACHINE=aarch64 -97: CPU= -97: Test timeout computed to be: 1500 96: ++ '[' -z aarch64 ']' 96: ++ '[' -z '' ']' 96: ++ TESTDIR=out/test/aarch64 @@ -7334,12 +7440,62 @@ 96: ++ OBJCOPY=objcopy 96: ++ STRIP=strip 96: ++ QEMU= +92: + 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 +45: out/test/aarch64/dependency-file-lto/a.o: +45: + not grep '^/tmp' out/test/aarch64/dependency-file-lto/dep +45: + grep '^/tmp' out/test/aarch64/dependency-file-lto/dep +38: + grep '^OK$' +38: + out/test/aarch64/defsym-lto/exe +38: OK +45: + return 0 +45: + on_exit +45: + echo OK +45: OK +45: + exit 0 + 85/347 Test #45: aarch64-dependency-file-lto .............................. Passed 2.52 sec +test 97 + Start 97: aarch64-global-offset-table + +97: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/global-offset-table.sh" +97: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +97: Environment variables: +97: MACHINE=aarch64 +97: CPU= +97: Test timeout computed to be: 1500 +95: + 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 +38: + on_exit +38: + echo OK +38: OK +38: + exit 0 96: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/glibc-2.22-bug.sh .sh 96: ++ testname=glibc-2.22-bug 96: ++ t=out/test/aarch64/glibc-2.22-bug 96: ++ mkdir -p out/test/aarch64/glibc-2.22-bug + 86/347 Test #38: aarch64-defsym-lto ....................................... Passed 2.76 sec +test 98 + Start 98: aarch64-gnu-hash + +98: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/gnu-hash.sh" +98: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +98: Environment variables: +98: MACHINE=aarch64 +98: CPU= +98: Test timeout computed to be: 1500 +96: ++ case $MACHINE in +96: ++ tlsdesc_opt=-mtls-dialect=desc +96: +++ uname +96: ++ '[' Linux = FreeBSD ']' +96: ++ trap 'on_error $LINENO' ERR +96: ++ trap on_exit EXIT +96: ++ echo -n 'Testing glibc-2.22-bug ... ' +96: Testing glibc-2.22-bug ... ++ set -o pipefail +96: ++ set -x +96: + cat +93: + readelf -WS out/test/aarch64/gdb-index-dwarf64/f.so +93: + grep -F .gdb_index +93: [38] .gdb_index PROGBITS 0000000000000000 003538 000315 00 0 0 4 +93: + cat 97: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/global-offset-table.sh -92: + cat 97: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 97: ++ export LC_ALL=C 97: ++ LC_ALL=C @@ -7355,89 +7511,14 @@ 97: ++ STRIP=strip 97: ++ QEMU= 97: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/global-offset-table.sh .sh -89: + 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 -92: + cat 97: ++ testname=global-offset-table 97: ++ t=out/test/aarch64/global-offset-table 97: ++ mkdir -p out/test/aarch64/global-offset-table -96: ++ case $MACHINE in -96: ++ tlsdesc_opt=-mtls-dialect=desc -96: +++ uname +96: + cc -o out/test/aarch64/glibc-2.22-bug/a.o -fPIC -c -xc - 97: ++ case $MACHINE in 97: ++ tlsdesc_opt=-mtls-dialect=desc -92: + cat +93: + cc -c -o out/test/aarch64/gdb-index-dwarf64/g.o -fPIC -g -ggnu-pubnames -gdwarf-5 -xc - -gz 97: +++ uname -92: + cat -96: ++ '[' Linux = FreeBSD ']' -92: + 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 -96: ++ trap 'on_error $LINENO' ERR -96: ++ trap on_exit EXIT -96: ++ echo -n 'Testing glibc-2.22-bug ... ' -96: Testing glibc-2.22-bug ... ++ set -o pipefail -96: ++ set -x -97: ++ '[' Linux = FreeBSD ']' -97: ++ trap 'on_error $LINENO' ERR -97: ++ trap on_exit EXIT -97: ++ echo -n 'Testing global-offset-table ... ' -97: Testing global-offset-table ... ++ set -o pipefail -97: ++ set -x -97: + '[' aarch64 = ppc64le ']' -96: + cc -o out/test/aarch64/glibc-2.22-bug/a.o -fPIC -c -xc - -97: + cat -97: + cc -fPIC -c -o out/test/aarch64/global-offset-table/a.o -xc - -90: + 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 -91: + cat -91: + cc -c -o out/test/aarch64/gdb-index-dwarf4/a.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -ffunction-sections -96: + cat -93: + cat -93: + cat -93: + cat -95: + cat -93: + cat -95: + cat -95: + cat -93: + 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 -95: + cat -95: + 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 -96: + cc -B. -o out/test/aarch64/glibc-2.22-bug/b.so -shared out/test/aarch64/glibc-2.22-bug/a.o -89: + readelf -WS out/test/aarch64/gdb-index-dwarf2/c.so -97: + 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_ -91: + cat -89: + grep -F .gdb_index -91: + cc -c -o out/test/aarch64/gdb-index-dwarf4/b.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -ffunction-sections -89: [37] .gdb_index PROGBITS 0000000000000000 002bd8 000270 00 0 0 4 -92: + 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 -89: + cc -c -o out/test/aarch64/gdb-index-dwarf2/d.o -fPIC -g -ggnu-pubnames -gdwarf-2 -xc - -gz -90: + readelf -WS out/test/aarch64/gdb-index-dwarf3/c.so -89: + cat -90: + grep -F .gdb_index -90: [36] .gdb_index PROGBITS 0000000000000000 002a90 000270 00 0 0 4 -90: + cc -c -o out/test/aarch64/gdb-index-dwarf3/d.o -fPIC -g -ggnu-pubnames -gdwarf-3 -xc - -gz -90: + cat -93: + 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 -96: + readelf -W --sections out/test/aarch64/glibc-2.22-bug/b.so -96: + grep -E -A1 '\.rela?\.dyn' -91: + 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 -96: + grep -E '\.rela?\.plt' -95: + 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 -89: + 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 -96: [ 8] .rela.plt RELA 00000000000004b0 0004b0 000018 18 A 3 23 8 -96: + on_exit -96: + echo OK -96: OK -96: + exit 0 - 86/347 Test #96: aarch64-glibc-2.22-bug ................................... Passed 0.09 sec -test 98 - Start 98: aarch64-gnu-hash - -98: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/gnu-hash.sh" -98: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -98: Environment variables: -98: MACHINE=aarch64 -98: CPU= -98: Test timeout computed to be: 1500 -92: + 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 -97: + out/test/aarch64/global-offset-table/exe 98: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/gnu-hash.sh 98: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 98: ++ export LC_ALL=C @@ -7454,33 +7535,56 @@ 98: ++ STRIP=strip 98: ++ QEMU= 98: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/gnu-hash.sh .sh -90: + 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 98: ++ testname=gnu-hash 98: ++ t=out/test/aarch64/gnu-hash 98: ++ mkdir -p out/test/aarch64/gnu-hash -93: + 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 -97: ++ out/test/aarch64/global-offset-table/exe +97: ++ '[' Linux = FreeBSD ']' +97: ++ trap 'on_error $LINENO' ERR +97: ++ trap on_exit EXIT +97: ++ echo -n 'Testing global-offset-table ... ' +97: Testing global-offset-table ... ++ set -o pipefail +97: ++ set -x +97: + '[' aarch64 = ppc64le ']' +97: + cc -fPIC -c -o out/test/aarch64/global-offset-table/a.o -xc - +95: + 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 +92: + readelf -WS out/test/aarch64/gdb-index-dwarf5/exe 98: ++ case $MACHINE in 98: ++ tlsdesc_opt=-mtls-dialect=desc -97: + GOT_ADDR=220970 +92: + grep -F .gdb_index +97: + cat +92: [38] .gdb_index PROGBITS 0000000000000000 002888 000075 00 0 0 4 98: +++ uname -97: + '[' aarch64 = x86_64 -o aarch64 = i686 ']' -97: + readelf -WS out/test/aarch64/global-offset-table/exe +92: + readelf --debug=gdb_index out/test/aarch64/gdb-index-dwarf5/exe +92: + grep 'main: .* \[global, function\]' +92: [ 1] main: 0 [global, function] 98: ++ '[' Linux = FreeBSD ']' 98: ++ trap 'on_error $LINENO' ERR 98: ++ trap on_exit EXIT 98: ++ echo -n 'Testing gnu-hash ... ' 98: Testing gnu-hash ... ++ set -o pipefail 98: ++ set -x -97: + grep '\.got .*220970 ' 98: + cat 98: + cc -c -o out/test/aarch64/gnu-hash/a.o -xc - -97: [21] .got PROGBITS 0000000000220970 000970 000008 00 WA 0 0 8 -97: + on_exit -97: + echo OK -97: OK -97: + exit 0 - 87/347 Test #97: aarch64-global-offset-table .............................. Passed 0.10 sec +96: + cc -B. -o out/test/aarch64/glibc-2.22-bug/b.so -shared out/test/aarch64/glibc-2.22-bug/a.o +92: + grep 'Hello world' +92: + out/test/aarch64/gdb-index-dwarf5/exe +92: Hello world +93: + 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 +92: + DEBUGINFOD_URLS= +92: + gdb out/test/aarch64/gdb-index-dwarf5/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit +97: + 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_ +95: + 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 +95: + 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 +96: + grep -E '\.rela?\.plt' +96: + readelf -W --sections out/test/aarch64/glibc-2.22-bug/b.so +96: + grep -E -A1 '\.rela?\.dyn' +96: [ 8] .rela.plt RELA 00000000000004b0 0004b0 000018 18 A 3 23 8 +96: + on_exit +96: + echo OK +96: OK +96: + exit 0 + 87/347 Test #96: aarch64-glibc-2.22-bug ................................... Passed 0.19 sec +97: + out/test/aarch64/global-offset-table/exe test 99 Start 99: aarch64-gnu-property @@ -7490,6 +7594,10 @@ 99: MACHINE=aarch64 99: CPU= 99: Test timeout computed to be: 1500 +93: + DEBUGINFOD_URLS= +93: + gdb out/test/aarch64/gdb-index-dwarf64/exe1 -nx -batch -ex 'b main' -ex r -ex quit +93: + grep 'DW_FORM_line_strp pointing outside of .debug_line_str' +98: + cc -B. -o out/test/aarch64/gnu-hash/b.so out/test/aarch64/gnu-hash/a.o -Wl,-hash-style=gnu -shared 99: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/gnu-property.sh 99: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 99: ++ export LC_ALL=C @@ -7509,14 +7617,8 @@ 99: ++ testname=gnu-property 99: ++ t=out/test/aarch64/gnu-property 99: ++ mkdir -p out/test/aarch64/gnu-property -92: + 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: + grep -F .gdb_index -95: + 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 -93: + 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 -91: + readelf -WS out/test/aarch64/gdb-index-dwarf4/c.so 99: ++ case $MACHINE in 99: ++ tlsdesc_opt=-mtls-dialect=desc -98: + cc -B. -o out/test/aarch64/gnu-hash/b.so out/test/aarch64/gnu-hash/a.o -Wl,-hash-style=gnu -shared 99: +++ uname 99: ++ '[' Linux = FreeBSD ']' 99: ++ trap 'on_error $LINENO' ERR @@ -7524,37 +7626,19 @@ 99: ++ echo -n 'Testing gnu-property ... ' 99: Testing gnu-property ... ++ set -o pipefail 99: ++ set -x -91: [36] .gdb_index PROGBITS 0000000000000000 002a78 000270 00 0 0 4 -99: + cat 99: + cc -o out/test/aarch64/gnu-property/a.o -c -xc - -91: + cat -89: + readelf -WS out/test/aarch64/gdb-index-dwarf2/exe -89: + grep -F .gdb_index -89: [38] .gdb_index PROGBITS 0000000000000000 0028d0 000075 00 0 0 4 -89: + out/test/aarch64/gdb-index-dwarf2/exe -89: + grep 'Hello world' -89: Hello world -89: + DEBUGINFOD_URLS= -89: + gdb out/test/aarch64/gdb-index-dwarf2/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit -91: + cc -c -o out/test/aarch64/gdb-index-dwarf4/d.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -gz -90: + grep -F .gdb_index -93: + 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 -95: + 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 -90: + readelf -WS out/test/aarch64/gdb-index-dwarf3/exe -90: [37] .gdb_index PROGBITS 0000000000000000 002820 000075 00 0 0 4 -90: + grep 'Hello world' -90: + out/test/aarch64/gdb-index-dwarf3/exe -90: Hello world -90: + DEBUGINFOD_URLS= -90: + gdb out/test/aarch64/gdb-index-dwarf3/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit -99: + cc -B. -o out/test/aarch64/gnu-property/exe out/test/aarch64/gnu-property/a.o -no-pie -92: + 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 -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 -98: + on_exit -98: + echo OK -98: OK -98: + exit 0 - 88/347 Test #98: aarch64-gnu-hash ......................................... Passed 0.09 sec +99: + cat +97: ++ out/test/aarch64/global-offset-table/exe +97: + GOT_ADDR=220970 +97: + '[' aarch64 = x86_64 -o aarch64 = i686 ']' +97: + grep '\.got .*220970 ' +97: + readelf -WS out/test/aarch64/global-offset-table/exe +97: [21] .got PROGBITS 0000000000220970 000970 000008 00 WA 0 0 8 +97: + on_exit +97: + echo OK +97: OK +97: + exit 0 + 88/347 Test #97: aarch64-global-offset-table .............................. Passed 0.20 sec test 100 Start 100: aarch64-gnu-retain @@ -7564,8 +7648,8 @@ 100: MACHINE=aarch64 100: CPU= 100: Test timeout computed to be: 1500 +95: + grep -F .gdb_index 100: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/gnu-retain.sh -95: + 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: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 100: ++ export LC_ALL=C 100: ++ LC_ALL=C @@ -7580,24 +7664,15 @@ 100: ++ OBJCOPY=objcopy 100: ++ STRIP=strip 100: ++ QEMU= +95: + readelf -WS out/test/aarch64/gdb-index-split-dwarf/e.so +95: [37] .gdb_index PROGBITS 0000000000000000 002f88 0002c5 00 0 0 4 +95: + cc -c -o out/test/aarch64/gdb-index-split-dwarf/f.o -fPIC -g -ggnu-pubnames -gdwarf-5 -gsplit-dwarf -xc - -gz +95: + cat 100: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/gnu-retain.sh .sh -93: + 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 100: ++ testname=gnu-retain 100: ++ t=out/test/aarch64/gnu-retain 100: ++ mkdir -p out/test/aarch64/gnu-retain -84: + cat -99: + readelf -W --sections out/test/aarch64/gnu-property/exe -99: + grep -Fw .note.gnu.property -99: + skip -99: + echo skipped -99: skipped -99: + trap - EXIT -99: + exit 0 -84: + cc -o out/test/aarch64/filler/a.o -c -xc - -92: + readelf -WS out/test/aarch64/gdb-index-dwarf5/e.so -92: + grep -F .gdb_index -92: [38] .gdb_index PROGBITS 0000000000000000 003428 000315 00 0 0 4 -92: + readelf --debug=gdb_index out/test/aarch64/gdb-index-dwarf5/e.so +99: + cc -B. -o out/test/aarch64/gnu-property/exe out/test/aarch64/gnu-property/a.o -no-pie 100: ++ case $MACHINE in 100: ++ tlsdesc_opt=-mtls-dialect=desc 100: +++ uname @@ -7607,12 +7682,15 @@ 100: ++ echo -n 'Testing gnu-retain ... ' 100: Testing gnu-retain ... ++ set -o pipefail 100: ++ set -x - 89/347 Test #99: aarch64-gnu-property .....................................***Skipped 0.11 sec 100: + '[' aarch64 = ppc64 ']' +95: + 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 +100: + cc -c -o out/test/aarch64/gnu-retain/a.o -xc - -ffunction-sections 100: + cat -75: + static=-static -75: + static='-static -pthread' -75: + cat +98: + on_exit +98: + echo OK +98: OK +98: + exit 0 + 89/347 Test #98: aarch64-gnu-hash ......................................... Passed 0.26 sec test 101 Start 101: aarch64-gnu-unique @@ -7622,12 +7700,32 @@ 101: MACHINE=aarch64 101: CPU= 101: Test timeout computed to be: 1500 -100: + cc -c -o out/test/aarch64/gnu-retain/a.o -xc - -ffunction-sections -75: + c++ -c -o out/test/aarch64/exception/b.o out/test/aarch64/exception/a.cc -fPIC -91: + readelf -WS out/test/aarch64/gdb-index-dwarf4/exe -91: + grep -F .gdb_index -91: [37] .gdb_index PROGBITS 0000000000000000 002820 000075 00 0 0 4 +75: + static=-static +75: + static='-static -pthread' +75: + cat 101: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/gnu-unique.sh +84: + cat +84: + cc -o out/test/aarch64/filler/a.o -c -xc - +99: + grep -Fw .note.gnu.property +99: + readelf -W --sections out/test/aarch64/gnu-property/exe +99: + skip +99: + echo skipped +99: skipped +99: + trap - EXIT +99: + exit 0 +75: + c++ -c -o out/test/aarch64/exception/b.o out/test/aarch64/exception/a.cc -fPIC +100: + grep '\.text\.foo.*AXR' + 90/347 Test #99: aarch64-gnu-property .....................................***Skipped 0.13 sec +test 102 + Start 102: aarch64-gnu-warning + +102: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/gnu-warning.sh" +102: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +102: Environment variables: +102: MACHINE=aarch64 +102: CPU= +102: Test timeout computed to be: 1500 +100: + readelf -WS out/test/aarch64/gnu-retain/a.o 101: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 101: ++ export LC_ALL=C 101: ++ LC_ALL=C @@ -7642,22 +7740,43 @@ 101: ++ OBJCOPY=objcopy 101: ++ STRIP=strip 101: ++ QEMU= -91: + out/test/aarch64/gdb-index-dwarf4/exe -91: + grep 'Hello world' -92: + grep 'fn1: .* \[global, function\]' +102: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/gnu-warning.sh +102: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +102: ++ export LC_ALL=C +102: ++ LC_ALL=C +102: ++ '[' -z aarch64 ']' +102: ++ '[' -z '' ']' +102: ++ TESTDIR=out/test/aarch64 +102: ++ CC=cc +102: ++ CXX=c++ +102: ++ GCC=gcc +102: ++ GXX=g++ +102: ++ OBJDUMP=objdump +102: ++ OBJCOPY=objcopy +102: ++ STRIP=strip +102: ++ QEMU= 101: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/gnu-unique.sh .sh -91: Hello world -92: [ 20] fn1: 0 [global, function] +100: [ 4] .text.foo PROGBITS 0000000000000000 000040 000008 00 AXR 0 0 4 +100: + cc -B. -o out/test/aarch64/gnu-retain/exe out/test/aarch64/gnu-retain/a.o -Wl,-gc-sections 101: ++ testname=gnu-unique 101: ++ t=out/test/aarch64/gnu-unique 101: ++ mkdir -p out/test/aarch64/gnu-unique -91: + DEBUGINFOD_URLS= -91: + gdb out/test/aarch64/gdb-index-dwarf4/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit -92: + grep 'char: .* \[static, type\]' +102: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/gnu-warning.sh .sh +102: ++ testname=gnu-warning +102: ++ t=out/test/aarch64/gnu-warning +102: ++ mkdir -p out/test/aarch64/gnu-warning 101: ++ case $MACHINE in 101: ++ tlsdesc_opt=-mtls-dialect=desc -92: + readelf --debug=gdb_index out/test/aarch64/gdb-index-dwarf5/e.so +102: ++ case $MACHINE in +102: ++ tlsdesc_opt=-mtls-dialect=desc 101: +++ uname +102: +++ uname +102: ++ '[' Linux = FreeBSD ']' +102: ++ trap 'on_error $LINENO' ERR +102: ++ trap on_exit EXIT +102: ++ echo -n 'Testing gnu-warning ... ' +102: Testing gnu-warning ... ++ set -o pipefail +102: ++ set -x 101: ++ '[' Linux = FreeBSD ']' 101: ++ trap 'on_error $LINENO' ERR 101: ++ trap on_exit EXIT @@ -7665,66 +7784,24 @@ 101: Testing gnu-unique ... ++ set -o pipefail 101: ++ set -x 101: + command -v g++ -92: [ 4] unsigned char: 3 [static, type] -92: [ 13] char: 3 [static, type] -92: [ 17] signed char: 3 [static, type] -101: + cat -92: + cat -92: + cc -c -o out/test/aarch64/gdb-index-dwarf5/f.o -fPIC -g -ggnu-pubnames -gdwarf-5 -xc - -gz +102: + gcc -c -o out/test/aarch64/gnu-warning/a.o -xc - +102: + cat 101: + g++ -o out/test/aarch64/gnu-unique/a.o -c -std=c++17 -fno-gnu-unique -xc++ - -84: + cc -B. -static -Wl,--filler,0xfe -o out/test/aarch64/filler/exe1 out/test/aarch64/filler/a.o -67: + 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 75: + c++ -c -o out/test/aarch64/exception/c.o out/test/aarch64/exception/a.cc -fno-PIC -95: + readelf -WS out/test/aarch64/gdb-index-split-dwarf/e.so -95: + grep -F .gdb_index -92: + 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 -100: + readelf -WS out/test/aarch64/gnu-retain/a.o -100: + grep '\.text\.foo.*AXR' -100: [ 4] .text.foo PROGBITS 0000000000000000 000040 000008 00 AXR 0 0 4 -100: + cc -B. -o out/test/aarch64/gnu-retain/exe out/test/aarch64/gnu-retain/a.o -Wl,-gc-sections -95: [37] .gdb_index PROGBITS 0000000000000000 002f88 0002c5 00 0 0 4 -95: + cc -c -o out/test/aarch64/gdb-index-split-dwarf/f.o -fPIC -g -ggnu-pubnames -gdwarf-5 -gsplit-dwarf -xc - -gz -95: + cat +84: + cc -B. -static -Wl,--filler,0xfe -o out/test/aarch64/filler/exe1 out/test/aarch64/filler/a.o 101: + cat -101: + g++ -o out/test/aarch64/gnu-unique/b.o -c -std=c++17 -fgnu-unique -xc++ - -93: + readelf -WS out/test/aarch64/gdb-index-dwarf64/f.so -93: + grep -F .gdb_index -93: [38] .gdb_index PROGBITS 0000000000000000 003538 000315 00 0 0 4 -93: + cat -93: + cc -c -o out/test/aarch64/gdb-index-dwarf64/g.o -fPIC -g -ggnu-pubnames -gdwarf-5 -xc - -gz -75: + c++ -B. -o out/test/aarch64/exception/exe1 out/test/aarch64/exception/b.o -static -pthread -95: + 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 -93: + 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 -67: + out/test/aarch64/emit-relocs-dead-sections/exe -67: + grep 'Hello world' -67: Hello world -67: Hello world -67: + on_exit -67: + echo OK -67: OK -67: + exit 0 - 90/347 Test #67: aarch64-emit-relocs-dead-sections ........................ Passed 0.93 sec -test 102 - Start 102: aarch64-gnu-warning - -102: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/gnu-warning.sh" -102: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -102: Environment variables: -102: MACHINE=aarch64 -102: CPU= -102: Test timeout computed to be: 1500 -100: + nm out/test/aarch64/gnu-retain/exe -100: + grep foo out/test/aarch64/gnu-retain/log -101: + 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 -100: 0000000000010768 t foo -100: + not grep bar out/test/aarch64/gnu-retain/log -100: + grep bar out/test/aarch64/gnu-retain/log -100: + return 0 -100: + on_exit -100: + echo OK -100: OK -100: + exit 0 - 91/347 Test #100: aarch64-gnu-retain ....................................... Passed 0.12 sec +95: + readelf -WS out/test/aarch64/gdb-index-split-dwarf/exe +95: + grep -F .gdb_index +95: [39] .gdb_index PROGBITS 0000000000000000 002888 000075 00 0 0 4 +95: + grep 'Hello world' +95: + out/test/aarch64/gdb-index-split-dwarf/exe +102: + cc -B. -o out/test/aarch64/gnu-warning/exe out/test/aarch64/gnu-warning/a.o -no-pie +95: Hello world +95: + on_exit +95: + echo OK +95: OK +95: + exit 0 + 91/347 Test #95: aarch64-gdb-index-split-dwarf ............................ Passed 0.65 sec test 103 Start 103: aarch64-hash-style-sysv @@ -7734,6 +7811,7 @@ 103: MACHINE=aarch64 103: CPU= 103: Test timeout computed to be: 1500 +100: + nm out/test/aarch64/gnu-retain/exe 103: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/hash-style-sysv.sh 103: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 103: ++ export LC_ALL=C @@ -7749,74 +7827,34 @@ 103: ++ OBJCOPY=objcopy 103: ++ STRIP=strip 103: ++ QEMU= -92: + readelf -WS out/test/aarch64/gdb-index-dwarf5/exe 103: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/hash-style-sysv.sh .sh -92: + grep -F .gdb_index 103: ++ testname=hash-style-sysv 103: ++ t=out/test/aarch64/hash-style-sysv 103: ++ mkdir -p out/test/aarch64/hash-style-sysv -102: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/gnu-warning.sh +101: + g++ -o out/test/aarch64/gnu-unique/b.o -c -std=c++17 -fgnu-unique -xc++ - +101: + cat 103: ++ case $MACHINE in 103: ++ tlsdesc_opt=-mtls-dialect=desc -92: [38] .gdb_index PROGBITS 0000000000000000 002888 000075 00 0 0 4 -102: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -102: ++ export LC_ALL=C -102: ++ LC_ALL=C -102: ++ '[' -z aarch64 ']' -102: ++ '[' -z '' ']' -102: ++ TESTDIR=out/test/aarch64 -102: ++ CC=cc -102: ++ CXX=c++ -102: ++ GCC=gcc -102: ++ GXX=g++ -102: ++ OBJDUMP=objdump -102: ++ OBJCOPY=objcopy -102: ++ STRIP=strip -102: ++ QEMU= -102: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/gnu-warning.sh .sh +75: + c++ -B. -o out/test/aarch64/exception/exe1 out/test/aarch64/exception/b.o -static -pthread 103: +++ uname -92: + readelf --debug=gdb_index out/test/aarch64/gdb-index-dwarf5/exe -92: + grep 'main: .* \[global, function\]' -102: ++ testname=gnu-warning -102: ++ t=out/test/aarch64/gnu-warning -102: ++ mkdir -p out/test/aarch64/gnu-warning -84: + sed -i -e 's/--filler 0xfe/--filler 0x00/' out/test/aarch64/filler/exe1 103: ++ '[' Linux = FreeBSD ']' 103: ++ trap 'on_error $LINENO' ERR 103: ++ trap on_exit EXIT 103: ++ echo -n 'Testing hash-style-sysv ... ' 103: Testing hash-style-sysv ... ++ set -o pipefail 103: ++ set -x -102: ++ case $MACHINE in -102: ++ tlsdesc_opt=-mtls-dialect=desc -92: [ 1] main: 0 [global, function] -102: +++ uname -102: ++ '[' Linux = FreeBSD ']' 103: + cat +100: + grep foo out/test/aarch64/gnu-retain/log 103: + cc -o out/test/aarch64/hash-style-sysv/a.o -c -xc - -fPIC -102: ++ trap 'on_error $LINENO' ERR -102: ++ trap on_exit EXIT -102: ++ echo -n 'Testing gnu-warning ... ' -102: Testing gnu-warning ... ++ set -o pipefail -102: ++ set -x -102: + gcc -c -o out/test/aarch64/gnu-warning/a.o -xc - -102: + cat -92: + grep 'Hello world' -92: + out/test/aarch64/gdb-index-dwarf5/exe -92: Hello world -92: + DEBUGINFOD_URLS= -92: + gdb out/test/aarch64/gdb-index-dwarf5/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit -95: + readelf -WS out/test/aarch64/gdb-index-split-dwarf/exe -95: + grep -F .gdb_index -95: [39] .gdb_index PROGBITS 0000000000000000 002888 000075 00 0 0 4 -95: + out/test/aarch64/gdb-index-split-dwarf/exe -95: + grep 'Hello world' -95: Hello world -95: + on_exit -95: + echo OK -95: OK -95: + exit 0 - 92/347 Test #95: aarch64-gdb-index-split-dwarf ............................ Passed 0.38 sec +100: 0000000000010768 t foo +100: + not grep bar out/test/aarch64/gnu-retain/log +100: + grep bar out/test/aarch64/gnu-retain/log +100: + return 0 +100: + on_exit +100: + echo OK +100: OK +100: + exit 0 + 92/347 Test #100: aarch64-gnu-retain ....................................... Passed 0.23 sec test 104 Start 104: aarch64-hash-style @@ -7826,11 +7864,10 @@ 104: MACHINE=aarch64 104: CPU= 104: Test timeout computed to be: 1500 -84: + od -x out/test/aarch64/filler/exe1 +102: + out/test/aarch64/gnu-warning/exe +102: + grep 'Hello world' +102: Hello world 104: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/hash-style.sh -93: + DEBUGINFOD_URLS= -93: + gdb out/test/aarch64/gdb-index-dwarf64/exe1 -nx -batch -ex 'b main' -ex r -ex quit -93: + grep 'DW_FORM_line_strp pointing outside of .debug_line_str' 104: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 104: ++ export LC_ALL=C 104: ++ LC_ALL=C @@ -7845,21 +7882,13 @@ 104: ++ OBJCOPY=objcopy 104: ++ STRIP=strip 104: ++ QEMU= -101: + grep foo=5 -102: + cc -B. -o out/test/aarch64/gnu-warning/exe out/test/aarch64/gnu-warning/a.o -no-pie +102: + on_exit +102: + echo OK +102: OK +102: + exit 0 +101: + 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 + 93/347 Test #102: aarch64-gnu-warning ...................................... Passed 0.14 sec 104: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/hash-style.sh .sh -104: ++ testname=hash-style -104: ++ t=out/test/aarch64/hash-style -104: ++ mkdir -p out/test/aarch64/hash-style -104: ++ case $MACHINE in -104: ++ tlsdesc_opt=-mtls-dialect=desc -101: + out/test/aarch64/gnu-unique/exe -101: foo=5 -101: + on_exit -101: + echo OK -101: OK -101: + exit 0 - 93/347 Test #101: aarch64-gnu-unique ....................................... Passed 0.15 sec test 105 Start 105: aarch64-hello-dynamic @@ -7869,6 +7898,12 @@ 105: MACHINE=aarch64 105: CPU= 105: Test timeout computed to be: 1500 +104: ++ testname=hash-style +104: ++ t=out/test/aarch64/hash-style +104: ++ mkdir -p out/test/aarch64/hash-style +104: ++ case $MACHINE in +104: ++ tlsdesc_opt=-mtls-dialect=desc +105: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/hello-dynamic.sh 103: + cc -B. -shared -o out/test/aarch64/hash-style-sysv/b.so out/test/aarch64/hash-style-sysv/a.o -Wl,--hash-style=sysv 104: +++ uname 104: ++ '[' Linux = FreeBSD ']' @@ -7878,8 +7913,6 @@ 104: Testing hash-style ... ++ set -o pipefail 104: ++ set -x 104: + cc -o out/test/aarch64/hash-style/a.o -c -xc - -104: + cat -105: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/hello-dynamic.sh 105: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 105: ++ export LC_ALL=C 105: ++ LC_ALL=C @@ -7895,6 +7928,7 @@ 105: ++ STRIP=strip 105: ++ QEMU= 105: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/hello-dynamic.sh .sh +104: + cat 105: ++ testname=hello-dynamic 105: ++ t=out/test/aarch64/hello-dynamic 105: ++ mkdir -p out/test/aarch64/hello-dynamic @@ -7907,73 +7941,22 @@ 105: ++ echo -n 'Testing hello-dynamic ... ' 105: Testing hello-dynamic ... ++ set -o pipefail 105: ++ set -x -105: + cc -o out/test/aarch64/hello-dynamic/a.o -c -xc - -fno-PIE 105: + cat -75: + out/test/aarch64/exception/exe1 -75: + c++ -B. -o out/test/aarch64/exception/exe2 out/test/aarch64/exception/c.o -no-pie -static -pthread -103: + cat -103: + cc -o out/test/aarch64/hash-style-sysv/c.o -c -xc - +105: + cc -o out/test/aarch64/hello-dynamic/a.o -c -xc - -fno-PIE 104: + ./mold -shared -o out/test/aarch64/hash-style/b.so out/test/aarch64/hash-style/a.o -102: + grep 'Hello world' -102: + out/test/aarch64/gnu-warning/exe -102: Hello world -102: + on_exit -102: + echo OK -102: OK -102: + exit 0 - 94/347 Test #102: aarch64-gnu-warning ...................................... Passed 0.12 sec -test 106 - Start 106: aarch64-hello-static - -106: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/hello-static.sh" -106: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -106: Environment variables: -106: MACHINE=aarch64 -106: CPU= -106: Test timeout computed to be: 1500 -105: + cc -B. -o out/test/aarch64/hello-dynamic/exe out/test/aarch64/hello-dynamic/a.o -no-pie -104: + readelf -WS out/test/aarch64/hash-style/b.so +84: + sed -i -e 's/--filler 0xfe/--filler 0x00/' out/test/aarch64/filler/exe1 104: + grep -F ' .hash' +104: + readelf -WS out/test/aarch64/hash-style/b.so 104: [ 1] .hash HASH 0000000000000238 000238 000018 04 A 3 0 4 104: + grep -F ' .gnu.hash' 104: + readelf -WS out/test/aarch64/hash-style/b.so +105: + cc -B. -o out/test/aarch64/hello-dynamic/exe out/test/aarch64/hello-dynamic/a.o -no-pie 104: [ 2] .gnu.hash GNU_HASH 0000000000000250 000250 000020 00 A 3 0 8 104: + ./mold -shared -o out/test/aarch64/hash-style/c.so out/test/aarch64/hash-style/a.o --hash-style=both --hash-style=none -106: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/hello-static.sh -106: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -106: ++ export LC_ALL=C -106: ++ LC_ALL=C -106: ++ '[' -z aarch64 ']' -106: ++ '[' -z '' ']' -106: ++ TESTDIR=out/test/aarch64 -106: ++ CC=cc -106: ++ CXX=c++ -106: ++ GCC=gcc -106: ++ GXX=g++ -106: ++ OBJDUMP=objdump -106: ++ OBJCOPY=objcopy -106: ++ STRIP=strip -106: ++ QEMU= +84: + od -x out/test/aarch64/filler/exe1 104: + readelf -WS out/test/aarch64/hash-style/c.so -103: + cc -B. -o out/test/aarch64/hash-style-sysv/exe out/test/aarch64/hash-style-sysv/c.o out/test/aarch64/hash-style-sysv/b.so -Wl,--hash-style=sysv -106: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/hello-static.sh .sh -106: ++ testname=hello-static -106: ++ t=out/test/aarch64/hello-static -106: ++ mkdir -p out/test/aarch64/hello-static 104: + not grep -F ' .hash' out/test/aarch64/hash-style/log 104: + grep -F ' .hash' out/test/aarch64/hash-style/log -106: ++ case $MACHINE in -106: ++ tlsdesc_opt=-mtls-dialect=desc -106: +++ uname -106: ++ '[' Linux = FreeBSD ']' -106: ++ trap 'on_error $LINENO' ERR -106: ++ trap on_exit EXIT -106: ++ echo -n 'Testing hello-static ... ' -106: Testing hello-static ... ++ set -o pipefail -106: ++ set -x -106: + test_cflags -static -106: + echo 'int main() {}' -106: + cc -B. -static -o /dev/null -xc - 104: + return 0 104: + not grep -F ' .gnu.hash' out/test/aarch64/hash-style/log 104: + grep -F ' .gnu.hash' out/test/aarch64/hash-style/log @@ -7982,7 +7965,27 @@ 104: + echo OK 104: OK 104: + exit 0 - 95/347 Test #104: aarch64-hash-style ....................................... Passed 0.13 sec + 94/347 Test #104: aarch64-hash-style ....................................... Passed 0.13 sec +103: + cat +test 106 + Start 106: aarch64-hello-static + +106: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/hello-static.sh" +106: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +106: Environment variables: +106: MACHINE=aarch64 +106: CPU= +106: Test timeout computed to be: 1500 +103: + cc -o out/test/aarch64/hash-style-sysv/c.o -c -xc - +101: + out/test/aarch64/gnu-unique/exe +101: + grep foo=5 +101: foo=5 +101: + on_exit +101: + echo OK +101: OK +101: + exit 0 +105: + grep 'Hello world' + 95/347 Test #101: aarch64-gnu-unique ....................................... Passed 0.29 sec test 107 Start 107: aarch64-help @@ -7992,7 +7995,40 @@ 107: MACHINE=aarch64 107: CPU= 107: Test timeout computed to be: 1500 +106: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/hello-static.sh +106: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +106: ++ export LC_ALL=C +106: ++ LC_ALL=C +106: ++ '[' -z aarch64 ']' +106: ++ '[' -z '' ']' +106: ++ TESTDIR=out/test/aarch64 +106: ++ CC=cc +106: ++ CXX=c++ +106: ++ GCC=gcc +106: ++ GXX=g++ +106: ++ OBJDUMP=objdump +106: ++ OBJCOPY=objcopy +106: ++ STRIP=strip +106: ++ QEMU= +75: + out/test/aarch64/exception/exe1 +105: + out/test/aarch64/hello-dynamic/exe +105: Hello world +105: + on_exit +105: + echo OK +105: OK +105: + exit 0 107: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/help.sh +106: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/hello-static.sh .sh + 96/347 Test #105: aarch64-hello-dynamic .................................... Passed 0.14 sec +test 108 + Start 108: aarch64-hidden-archive + +108: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/hidden-archive.sh" +108: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +108: Environment variables: +108: MACHINE=aarch64 +108: CPU= +108: Test timeout computed to be: 1500 107: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 107: ++ export LC_ALL=C 107: ++ LC_ALL=C @@ -8011,48 +8047,69 @@ 107: ++ testname=help 107: ++ t=out/test/aarch64/help 107: ++ mkdir -p out/test/aarch64/help -103: + out/test/aarch64/hash-style-sysv/exe -105: + out/test/aarch64/hello-dynamic/exe +106: ++ testname=hello-static +106: ++ t=out/test/aarch64/hello-static +106: ++ mkdir -p out/test/aarch64/hello-static +106: ++ case $MACHINE in +106: ++ tlsdesc_opt=-mtls-dialect=desc +75: + c++ -B. -o out/test/aarch64/exception/exe2 out/test/aarch64/exception/c.o -no-pie -static -pthread +108: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/hidden-archive.sh +106: +++ uname 107: ++ case $MACHINE in 107: ++ tlsdesc_opt=-mtls-dialect=desc -105: + grep 'Hello world' +108: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +108: ++ export LC_ALL=C +108: ++ LC_ALL=C +108: ++ '[' -z aarch64 ']' +108: ++ '[' -z '' ']' +108: ++ TESTDIR=out/test/aarch64 +108: ++ CC=cc +108: ++ CXX=c++ +108: ++ GCC=gcc +108: ++ GXX=g++ +108: ++ OBJDUMP=objdump +108: ++ OBJCOPY=objcopy +108: ++ STRIP=strip +108: ++ QEMU= +106: ++ '[' Linux = FreeBSD ']' +106: ++ trap 'on_error $LINENO' ERR +106: ++ trap on_exit EXIT +106: ++ echo -n 'Testing hello-static ... ' +106: Testing hello-static ... ++ set -o pipefail +106: ++ set -x +106: + test_cflags -static +106: + echo 'int main() {}' 107: +++ uname -105: Hello world -105: + on_exit -105: + echo OK -105: OK -105: + exit 0 -103: + grep Hello +108: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/hidden-archive.sh .sh +108: ++ testname=hidden-archive +108: ++ t=out/test/aarch64/hidden-archive +108: ++ mkdir -p out/test/aarch64/hidden-archive +103: + cc -B. -o out/test/aarch64/hash-style-sysv/exe out/test/aarch64/hash-style-sysv/c.o out/test/aarch64/hash-style-sysv/b.so -Wl,--hash-style=sysv 107: ++ '[' Linux = FreeBSD ']' 107: ++ trap 'on_error $LINENO' ERR 107: ++ trap on_exit EXIT 107: ++ echo -n 'Testing help ... ' +106: + cc -B. -static -o /dev/null -xc - 107: Testing help ... ++ set -o pipefail 107: ++ set -x 107: + ./mold --help +108: ++ case $MACHINE in +108: ++ tlsdesc_opt=-mtls-dialect=desc 107: + grep Usage -103: Hello world -103: + on_exit -103: + echo OK -103: OK -103: + exit 0 - 96/347 Test #103: aarch64-hash-style-sysv .................................. Passed 0.19 sec -test 108 - Start 108: aarch64-hidden-archive - -108: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/hidden-archive.sh" -108: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -108: Environment variables: -108: MACHINE=aarch64 -108: CPU= -108: Test timeout computed to be: 1500 +108: +++ uname +108: ++ '[' Linux = FreeBSD ']' +108: ++ trap 'on_error $LINENO' ERR +108: ++ trap on_exit EXIT +108: ++ echo -n 'Testing hidden-archive ... ' +108: Testing hidden-archive ... ++ set -o pipefail +108: ++ set -x 107: Usage: ./mold [options] file... +108: + cc -c -o out/test/aarch64/hidden-archive/a.o -fPIC -xc - 107: + on_exit 107: + echo OK 107: OK 107: + exit 0 -84: + cc -B. -static -Wl,--filler,0x00 -o out/test/aarch64/filler/exe2 out/test/aarch64/filler/a.o - 97/347 Test #107: aarch64-help ............................................. Passed 0.03 sec + 97/347 Test #107: aarch64-help ............................................. Passed 0.06 sec test 109 Start 109: aarch64-hidden-undef @@ -8062,32 +8119,7 @@ 109: MACHINE=aarch64 109: CPU= 109: Test timeout computed to be: 1500 -108: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/hidden-archive.sh - 98/347 Test #105: aarch64-hello-dynamic .................................... Passed 0.14 sec -test 110 - Start 110: aarch64-hidden-weak-undef - -110: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/hidden-weak-undef.sh" -110: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -110: Environment variables: -110: MACHINE=aarch64 -110: CPU= -110: Test timeout computed to be: 1500 -108: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -108: ++ export LC_ALL=C -108: ++ LC_ALL=C -108: ++ '[' -z aarch64 ']' -108: ++ '[' -z '' ']' -108: ++ TESTDIR=out/test/aarch64 -108: ++ CC=cc -108: ++ CXX=c++ -108: ++ GCC=gcc -108: ++ GXX=g++ -108: ++ OBJDUMP=objdump -108: ++ OBJCOPY=objcopy -108: ++ STRIP=strip -108: ++ QEMU= -108: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/hidden-archive.sh .sh +108: + cat 109: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/hidden-undef.sh 109: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 109: ++ export LC_ALL=C @@ -8103,56 +8135,64 @@ 109: ++ OBJCOPY=objcopy 109: ++ STRIP=strip 109: ++ QEMU= -108: ++ testname=hidden-archive -108: ++ t=out/test/aarch64/hidden-archive -108: ++ mkdir -p out/test/aarch64/hidden-archive 109: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/hidden-undef.sh .sh -108: ++ case $MACHINE in -108: ++ tlsdesc_opt=-mtls-dialect=desc -108: +++ uname +109: ++ testname=hidden-undef +109: ++ t=out/test/aarch64/hidden-undef +109: ++ mkdir -p out/test/aarch64/hidden-undef +109: ++ case $MACHINE in +109: ++ tlsdesc_opt=-mtls-dialect=desc +109: +++ uname +109: ++ '[' Linux = FreeBSD ']' +109: ++ trap 'on_error $LINENO' ERR +109: ++ trap on_exit EXIT +109: ++ echo -n 'Testing hidden-undef ... ' +109: Testing hidden-undef ... ++ set -o pipefail +109: ++ set -x +109: + cat +109: + cc -o out/test/aarch64/hidden-undef/a.so -shared -fPIC -xc - +84: + cc -B. -static -Wl,--filler,0x00 -o out/test/aarch64/filler/exe2 out/test/aarch64/filler/a.o +108: + rm -f out/test/aarch64/hidden-archive/b.a +108: + ar rcs out/test/aarch64/hidden-archive/b.a out/test/aarch64/hidden-archive/a.o +103: + grep Hello +103: + out/test/aarch64/hash-style-sysv/exe +103: Hello world +103: + on_exit +103: + echo OK +103: OK +103: + exit 0 +108: + cc -shared -o out/test/aarch64/hidden-archive/c.so -fPIC -xc - +108: + cat + 98/347 Test #103: aarch64-hash-style-sysv .................................. Passed 0.33 sec +test 110 + Start 110: aarch64-hidden-weak-undef + +110: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/hidden-weak-undef.sh" +110: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +110: Environment variables: +110: MACHINE=aarch64 +110: CPU= +110: Test timeout computed to be: 1500 110: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/hidden-weak-undef.sh 110: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 110: ++ export LC_ALL=C 110: ++ LC_ALL=C -108: ++ '[' Linux = FreeBSD ']' -108: ++ trap 'on_error $LINENO' ERR -108: ++ trap on_exit EXIT -108: ++ echo -n 'Testing hidden-archive ... ' -108: Testing hidden-archive ... ++ set -o pipefail -108: ++ set -x 110: ++ '[' -z aarch64 ']' 110: ++ '[' -z '' ']' 110: ++ TESTDIR=out/test/aarch64 110: ++ CC=cc 110: ++ CXX=c++ 110: ++ GCC=gcc -109: ++ testname=hidden-undef -109: ++ t=out/test/aarch64/hidden-undef -109: ++ mkdir -p out/test/aarch64/hidden-undef 110: ++ GXX=g++ 110: ++ OBJDUMP=objdump 110: ++ OBJCOPY=objcopy 110: ++ STRIP=strip 110: ++ QEMU= 110: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/hidden-weak-undef.sh .sh -109: ++ case $MACHINE in 110: ++ testname=hidden-weak-undef -109: ++ tlsdesc_opt=-mtls-dialect=desc 110: ++ t=out/test/aarch64/hidden-weak-undef 110: ++ mkdir -p out/test/aarch64/hidden-weak-undef -109: +++ uname -108: + cat -109: ++ '[' Linux = FreeBSD ']' -109: ++ trap 'on_error $LINENO' ERR -109: ++ trap on_exit EXIT -109: ++ echo -n 'Testing hidden-undef ... ' -109: Testing hidden-undef ... ++ set -o pipefail -109: ++ set -x -109: + cat -109: + cc -o out/test/aarch64/hidden-undef/a.so -shared -fPIC -xc - 110: ++ case $MACHINE in 110: ++ tlsdesc_opt=-mtls-dialect=desc -108: + cc -c -o out/test/aarch64/hidden-archive/a.o -fPIC -xc - 110: +++ uname 110: ++ '[' Linux = FreeBSD ']' 110: ++ trap 'on_error $LINENO' ERR @@ -8161,38 +8201,34 @@ 110: Testing hidden-weak-undef ... ++ set -o pipefail 110: ++ set -x 110: + cat -106: + cat -106: + cc -o out/test/aarch64/hello-static/a.o -c -xc - 110: + cc -o out/test/aarch64/hidden-weak-undef/a.o -fPIC -c -xc - -108: + rm -f out/test/aarch64/hidden-archive/b.a -108: + ar rcs out/test/aarch64/hidden-archive/b.a out/test/aarch64/hidden-archive/a.o -110: + cc -B. -shared -o out/test/aarch64/hidden-weak-undef/b.so out/test/aarch64/hidden-weak-undef/a.o -108: + cc -shared -o out/test/aarch64/hidden-archive/c.so -fPIC -xc - 108: + cat -106: + cc -B. -o out/test/aarch64/hello-static/exe out/test/aarch64/hello-static/a.o -static -109: + cat +108: + cc -o out/test/aarch64/hidden-archive/d.o -fPIC -c -xc - 75: + out/test/aarch64/exception/exe2 -109: + cc -o out/test/aarch64/hidden-undef/b.o -fPIC -c -xc - -75: + c++ -B. -o out/test/aarch64/exception/exe3 out/test/aarch64/exception/b.o -pie +110: + cc -B. -shared -o out/test/aarch64/hidden-weak-undef/b.so out/test/aarch64/hidden-weak-undef/a.o +109: + cat 84: + od -x out/test/aarch64/filler/exe2 -108: + cc -o out/test/aarch64/hidden-archive/d.o -fPIC -c -xc - +75: + c++ -B. -o out/test/aarch64/exception/exe3 out/test/aarch64/exception/b.o -pie +109: + cc -o out/test/aarch64/hidden-undef/b.o -fPIC -c -xc - +106: + cc -o out/test/aarch64/hello-static/a.o -c -xc - +106: + cat +108: + 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 109: + not cc -B. -o out/test/aarch64/hidden-undef/exe out/test/aarch64/hidden-undef/a.so out/test/aarch64/hidden-undef/b.o -108: + cat 109: + grep 'undefined symbol: foo' +106: + cc -B. -o out/test/aarch64/hello-static/exe out/test/aarch64/hello-static/a.o -static 75: + out/test/aarch64/exception/exe3 -75: + c++ -B. -o out/test/aarch64/exception/exe4 out/test/aarch64/exception/c.o -no-pie 110: + readelf -W --dyn-syms out/test/aarch64/hidden-weak-undef/b.so +75: + c++ -B. -o out/test/aarch64/exception/exe4 out/test/aarch64/exception/c.o -no-pie 110: + not grep -w foo out/test/aarch64/hidden-weak-undef/log 110: + grep -w foo out/test/aarch64/hidden-weak-undef/log +109: mold: error: undefined symbol: foo +109: + on_exit +109: + echo OK +109: OK +109: + exit 0 110: + return 0 110: + grep -w bar out/test/aarch64/hidden-weak-undef/log -110: 5: 00000000000106c8 24 FUNC GLOBAL DEFAULT 13 bar -110: + on_exit -110: + echo OK -110: OK -110: + exit 0 - 99/347 Test #110: aarch64-hidden-weak-undef ................................ Passed 0.12 sec -108: + 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 + 99/347 Test #109: aarch64-hidden-undef ..................................... Passed 0.27 sec test 111 Start 111: aarch64-icf-safe @@ -8202,9 +8238,29 @@ 111: MACHINE=aarch64 111: CPU= 111: Test timeout computed to be: 1500 +110: 5: 00000000000106c8 24 FUNC GLOBAL DEFAULT 13 bar +106: + grep 'Hello world' 111: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/icf-safe.sh +110: + on_exit +110: + echo OK +110: OK +110: + exit 0 106: + out/test/aarch64/hello-static/exe -106: + grep 'Hello world' +100/347 Test #110: aarch64-hidden-weak-undef ................................ Passed 0.23 sec +test 112 + Start 112: aarch64-icf-small + +112: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/icf-small.sh" +112: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +112: Environment variables: +112: MACHINE=aarch64 +112: CPU= +112: Test timeout computed to be: 1500 +106: Hello world +106: + on_exit +106: + echo OK +106: OK +106: + exit 0 111: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 111: ++ export LC_ALL=C 111: ++ LC_ALL=C @@ -8219,36 +8275,23 @@ 111: ++ OBJCOPY=objcopy 111: ++ STRIP=strip 111: ++ QEMU= -111: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/icf-safe.sh .sh -106: Hello world -106: + on_exit -106: + echo OK -106: OK -106: + exit 0 -100/347 Test #106: aarch64-hello-static ..................................... Passed 0.22 sec -test 112 - Start 112: aarch64-icf-small +101/347 Test #106: aarch64-hello-static ..................................... Passed 0.36 sec +test 113 + Start 113: aarch64-icf -112: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/icf-small.sh" -112: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -112: Environment variables: -112: MACHINE=aarch64 -112: CPU= -112: Test timeout computed to be: 1500 +113: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/icf.sh" +113: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +113: Environment variables: +113: MACHINE=aarch64 +113: CPU= +113: Test timeout computed to be: 1500 +111: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/icf-safe.sh .sh 111: ++ testname=icf-safe 111: ++ t=out/test/aarch64/icf-safe 111: ++ mkdir -p out/test/aarch64/icf-safe 111: ++ case $MACHINE in 111: ++ tlsdesc_opt=-mtls-dialect=desc -111: +++ uname 112: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/icf-small.sh -111: ++ '[' Linux = FreeBSD ']' -111: ++ trap 'on_error $LINENO' ERR -111: ++ trap on_exit EXIT -111: ++ echo -n 'Testing icf-safe ... ' -111: Testing icf-safe ... ++ set -o pipefail -111: ++ set -x -111: + '[' aarch64 = s390x ']' 112: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 112: ++ export LC_ALL=C 112: ++ LC_ALL=C @@ -8263,14 +8306,42 @@ 112: ++ OBJCOPY=objcopy 112: ++ STRIP=strip 112: ++ QEMU= -111: + cc -c -o out/test/aarch64/icf-safe/a.o -ffunction-sections -fdata-sections -xc - 112: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/icf-small.sh .sh -111: + cat +111: +++ uname +111: ++ '[' Linux = FreeBSD ']' +111: ++ trap 'on_error $LINENO' ERR +111: ++ trap on_exit EXIT +111: ++ echo -n 'Testing icf-safe ... ' +111: Testing icf-safe ... ++ set -o pipefail +111: ++ set -x +111: + '[' aarch64 = s390x ']' +84: + diff -q out/test/aarch64/filler/txt1 out/test/aarch64/filler/txt2 112: ++ testname=icf-small 112: ++ t=out/test/aarch64/icf-small 112: ++ mkdir -p out/test/aarch64/icf-small +113: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/icf.sh +113: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +113: ++ export LC_ALL=C +113: ++ LC_ALL=C +113: ++ '[' -z aarch64 ']' +113: ++ '[' -z '' ']' +113: ++ TESTDIR=out/test/aarch64 +113: ++ CC=cc +113: ++ CXX=c++ +113: ++ GCC=gcc +113: ++ GXX=g++ +113: ++ OBJDUMP=objdump +113: ++ OBJCOPY=objcopy +113: ++ STRIP=strip +113: ++ QEMU= +111: + cc -c -o out/test/aarch64/icf-safe/a.o -ffunction-sections -fdata-sections -xc - +111: + cat 112: ++ case $MACHINE in 112: ++ tlsdesc_opt=-mtls-dialect=desc +113: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/icf.sh .sh +113: ++ testname=icf +113: ++ t=out/test/aarch64/icf +113: ++ mkdir -p out/test/aarch64/icf 112: +++ uname 112: ++ '[' Linux = FreeBSD ']' 112: ++ trap 'on_error $LINENO' ERR @@ -8280,34 +8351,25 @@ 112: ++ set -x 112: + cc -o out/test/aarch64/icf-small/a.o -c -ffunction-sections -xc - 112: + cat -84: + diff -q out/test/aarch64/filler/txt1 out/test/aarch64/filler/txt2 -75: + out/test/aarch64/exception/exe4 -109: mold: error: undefined symbol: foo -109: + on_exit -109: + echo OK -109: OK -109: + exit 0 -75: + c++ -B. -o out/test/aarch64/exception/exe5 out/test/aarch64/exception/b.o -pie -Wl,--gc-sections -101/347 Test #109: aarch64-hidden-undef ..................................... Passed 0.16 sec -test 113 - Start 113: aarch64-icf - -113: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/icf.sh" -113: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -113: Environment variables: -113: MACHINE=aarch64 -113: CPU= -113: Test timeout computed to be: 1500 -84: + on_exit -84: + echo OK -84: OK -84: + exit 0 +113: ++ case $MACHINE in +113: ++ tlsdesc_opt=-mtls-dialect=desc +113: +++ uname +113: ++ '[' Linux = FreeBSD ']' +113: ++ trap 'on_error $LINENO' ERR +113: ++ trap on_exit EXIT +113: ++ echo -n 'Testing icf ... ' +113: Testing icf ... ++ set -o pipefail +113: ++ set -x +113: + '[' aarch64 = ppc64 ']' +113: + cc -c -o out/test/aarch64/icf/a.o -ffunction-sections -fdata-sections -xc - +113: + cat 108: + out/test/aarch64/hidden-archive/exe 108: + on_exit 108: + echo OK 108: OK 108: + exit 0 -102/347 Test #84: aarch64-filler ........................................... Passed 0.94 sec +75: + out/test/aarch64/exception/exe4 +102/347 Test #108: aarch64-hidden-archive ................................... Passed 0.38 sec test 114 Start 114: aarch64-ifunc-address-equality-exported @@ -8317,35 +8379,11 @@ 114: MACHINE=aarch64 114: CPU= 114: Test timeout computed to be: 1500 -103/347 Test #108: aarch64-hidden-archive ................................... Passed 0.18 sec -test 115 - Start 115: aarch64-ifunc-address-equality - -115: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-address-equality.sh" -115: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -115: Environment variables: -115: MACHINE=aarch64 -115: CPU= -115: Test timeout computed to be: 1500 -113: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/icf.sh -113: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -113: ++ export LC_ALL=C -113: ++ LC_ALL=C -113: ++ '[' -z aarch64 ']' -113: ++ '[' -z '' ']' -113: ++ TESTDIR=out/test/aarch64 -113: ++ CC=cc -113: ++ CXX=c++ -113: ++ GCC=gcc -113: ++ GXX=g++ -113: ++ OBJDUMP=objdump -113: ++ OBJCOPY=objcopy -113: ++ STRIP=strip -113: ++ QEMU= -113: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/icf.sh .sh -113: ++ testname=icf -113: ++ t=out/test/aarch64/icf -113: ++ mkdir -p out/test/aarch64/icf +75: + c++ -B. -o out/test/aarch64/exception/exe5 out/test/aarch64/exception/b.o -pie -Wl,--gc-sections +84: + on_exit +84: + echo OK +84: OK +84: + exit 0 114: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-address-equality-exported.sh 114: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 114: ++ export LC_ALL=C @@ -8361,40 +8399,24 @@ 114: ++ OBJCOPY=objcopy 114: ++ STRIP=strip 114: ++ QEMU= -111: + cat 114: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-address-equality-exported.sh .sh -111: + cc -c -o out/test/aarch64/icf-safe/b.o -ffunction-sections -fdata-sections -xc - +103/347 Test #84: aarch64-filler ........................................... Passed 2.15 sec +112: + ./mold -o out/test/aarch64/icf-small/exe -icf=all out/test/aarch64/icf-small/a.o +test 115 + Start 115: aarch64-ifunc-address-equality + +115: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-address-equality.sh" +115: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +115: Environment variables: +115: MACHINE=aarch64 +115: CPU= +115: Test timeout computed to be: 1500 114: ++ testname=ifunc-address-equality-exported 114: ++ t=out/test/aarch64/ifunc-address-equality-exported -112: + ./mold -o out/test/aarch64/icf-small/exe -icf=all out/test/aarch64/icf-small/a.o 114: ++ mkdir -p out/test/aarch64/ifunc-address-equality-exported -114: ++ case $MACHINE in -114: ++ tlsdesc_opt=-mtls-dialect=desc -114: +++ uname -114: ++ '[' Linux = FreeBSD ']' -114: ++ trap 'on_error $LINENO' ERR -114: ++ trap on_exit EXIT -114: ++ echo -n 'Testing ifunc-address-equality-exported ... ' -114: Testing ifunc-address-equality-exported ... ++ set -o pipefail -114: ++ set -x -114: + grep clang -114: + cc --version -113: ++ case $MACHINE in -113: ++ tlsdesc_opt=-mtls-dialect=desc -114: + supports_ifunc -114: + is_musl -113: +++ uname -114: + grep musl -113: ++ '[' Linux = FreeBSD ']' -113: ++ trap 'on_error $LINENO' ERR -113: ++ trap on_exit EXIT -113: ++ echo -n 'Testing icf ... ' -113: Testing icf ... ++ set -o pipefail -113: ++ set -x -113: + '[' aarch64 = ppc64 ']' -113: + cat -113: + cc -c -o out/test/aarch64/icf/a.o -ffunction-sections -fdata-sections -xc - 115: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-address-equality.sh +111: + cat +111: + cc -c -o out/test/aarch64/icf-safe/b.o -ffunction-sections -fdata-sections -xc - 115: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 115: ++ export LC_ALL=C 115: ++ LC_ALL=C @@ -8414,10 +8436,7 @@ 112: + echo OK 112: OK 112: + exit 0 -104/347 Test #112: aarch64-icf-small ........................................ Passed 0.05 sec -115: ++ testname=ifunc-address-equality -115: ++ t=out/test/aarch64/ifunc-address-equality -115: ++ mkdir -p out/test/aarch64/ifunc-address-equality +104/347 Test #112: aarch64-icf-small ........................................ Passed 0.08 sec test 116 Start 116: aarch64-ifunc-alias @@ -8427,20 +8446,26 @@ 116: MACHINE=aarch64 116: CPU= 116: Test timeout computed to be: 1500 +114: ++ case $MACHINE in +114: ++ tlsdesc_opt=-mtls-dialect=desc +114: +++ uname +114: ++ '[' Linux = FreeBSD ']' +114: ++ trap 'on_error $LINENO' ERR +114: ++ trap on_exit EXIT +114: ++ echo -n 'Testing ifunc-address-equality-exported ... ' +114: Testing ifunc-address-equality-exported ... ++ set -o pipefail +114: ++ set -x +114: + cc --version +114: + grep clang +115: ++ testname=ifunc-address-equality +115: ++ t=out/test/aarch64/ifunc-address-equality +115: ++ mkdir -p out/test/aarch64/ifunc-address-equality +116: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-alias.sh +114: + supports_ifunc +114: + is_musl +114: + grep musl 115: ++ case $MACHINE in 115: ++ tlsdesc_opt=-mtls-dialect=desc -115: +++ uname -114: + cc -c -o /dev/null -xc - -115: ++ '[' Linux = FreeBSD ']' -115: ++ trap 'on_error $LINENO' ERR -115: ++ trap on_exit EXIT -115: ++ echo -n 'Testing ifunc-address-equality ... ' -115: Testing ifunc-address-equality ... ++ set -o pipefail -115: ++ set -x -115: + supports_ifunc -115: + is_musl -114: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -116: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-alias.sh 116: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 116: ++ export LC_ALL=C 116: ++ LC_ALL=C @@ -8455,10 +8480,23 @@ 116: ++ OBJCOPY=objcopy 116: ++ STRIP=strip 116: ++ QEMU= +115: +++ uname +115: ++ '[' Linux = FreeBSD ']' +115: ++ trap 'on_error $LINENO' ERR +115: ++ trap on_exit EXIT +115: ++ echo -n 'Testing ifunc-address-equality ... ' +115: Testing ifunc-address-equality ... ++ set -o pipefail +115: ++ set -x +115: + supports_ifunc +115: + is_musl 116: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-alias.sh .sh 116: ++ testname=ifunc-alias 116: ++ t=out/test/aarch64/ifunc-alias 116: ++ mkdir -p out/test/aarch64/ifunc-alias +114: + cc -c -o /dev/null -xc - +115: + grep musl +114: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +113: + cc -B. -o out/test/aarch64/icf/exe out/test/aarch64/icf/a.o -Wl,-icf=all 116: ++ case $MACHINE in 116: ++ tlsdesc_opt=-mtls-dialect=desc 116: +++ uname @@ -8470,36 +8508,37 @@ 116: ++ set -x 116: + supports_ifunc 116: + is_musl -115: + grep musl +111: + 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 +116: + grep musl 115: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' 115: + cc -c -o /dev/null -xc - -116: + grep musl +75: + out/test/aarch64/exception/exe5 116: + cc -c -o /dev/null -xc - 116: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -111: + 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 -75: + out/test/aarch64/exception/exe5 75: + c++ -B. -o out/test/aarch64/exception/exe6 out/test/aarch64/exception/c.o -no-pie -static -pthread -Wl,--gc-sections 114: + cat 114: + cc -c -fPIC -o out/test/aarch64/ifunc-address-equality-exported/a.o -xc - -113: + cc -B. -o out/test/aarch64/icf/exe out/test/aarch64/icf/a.o -Wl,-icf=all -115: + cat +116: + cc -fPIC -o out/test/aarch64/ifunc-alias/a.o -c -xc - 116: + cat +115: + cat 114: + cc -B. -shared -o out/test/aarch64/ifunc-address-equality-exported/b.so out/test/aarch64/ifunc-address-equality-exported/a.o 115: + cc -c -fno-PIE -o out/test/aarch64/ifunc-address-equality/a.o -xc - -116: + cc -fPIC -o out/test/aarch64/ifunc-alias/a.o -c -xc - -113: + grep '1 0' 111: + out/test/aarch64/icf-safe/exe1 111: + grep '^0 0$' 111: 0 0 111: + cat 111: + cc -c -o out/test/aarch64/icf-safe/c.o -ffunction-sections -fdata-sections -xc - +116: + cc -B. -o out/test/aarch64/ifunc-alias/exe1 out/test/aarch64/ifunc-alias/a.o -pie +115: + cc -c -fPIC -o out/test/aarch64/ifunc-address-equality/b.o -xc - +115: + cat +113: + grep '1 0' 113: + out/test/aarch64/icf/exe 113: 1 0 113: + on_exit 113: + echo OK 113: OK 113: + exit 0 -105/347 Test #113: aarch64-icf .............................................. Passed 0.09 sec +105/347 Test #113: aarch64-icf .............................................. Passed 0.24 sec test 117 Start 117: aarch64-ifunc-dlopen @@ -8509,11 +8548,7 @@ 117: MACHINE=aarch64 117: CPU= 117: Test timeout computed to be: 1500 -115: + cc -c -fPIC -o out/test/aarch64/ifunc-address-equality/b.o -xc - -115: + cat -116: + cc -B. -o out/test/aarch64/ifunc-alias/exe1 out/test/aarch64/ifunc-alias/a.o -pie -114: + cat -114: + cc -c -fno-PIE -o out/test/aarch64/ifunc-address-equality-exported/c.o -xc - +111: + 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 117: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-dlopen.sh 117: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 117: ++ export LC_ALL=C @@ -8533,10 +8568,13 @@ 117: ++ testname=ifunc-dlopen 117: ++ t=out/test/aarch64/ifunc-dlopen 117: ++ mkdir -p out/test/aarch64/ifunc-dlopen +116: + grep -E '^(\S+) \1$' +116: + out/test/aarch64/ifunc-alias/exe1 117: ++ case $MACHINE in 117: ++ tlsdesc_opt=-mtls-dialect=desc -111: + 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 117: +++ uname +116: 0xaaaada650828 0xaaaada650828 +116: + cc -B. -o out/test/aarch64/ifunc-alias/exe2 out/test/aarch64/ifunc-alias/a.o -no-pie 117: ++ '[' Linux = FreeBSD ']' 117: ++ trap 'on_error $LINENO' ERR 117: ++ trap on_exit EXIT @@ -8546,31 +8584,32 @@ 117: + supports_ifunc 117: + is_musl 117: + grep musl -117: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +75: + out/test/aarch64/exception/exe6 115: + cat 115: + cc -c -fno-PIE -o out/test/aarch64/ifunc-address-equality/c.o -xc - +117: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' 117: + cc -c -o /dev/null -xc - -116: + out/test/aarch64/ifunc-alias/exe1 -75: + out/test/aarch64/exception/exe6 -117: + cat -117: + cc -fno-PIE -o out/test/aarch64/ifunc-dlopen/a.o -c -xc - -116: + grep -E '^(\S+) \1$' -116: 0xaaaad0060828 0xaaaad0060828 75: + '[' aarch64 = x86_64 ']' 75: + '[' aarch64 = x86_64 -o aarch64 = aarch64 ']' 75: + c++ -c -o out/test/aarch64/exception/e.o out/test/aarch64/exception/a.cc -mcmodel=large -fno-PIC -116: + cc -B. -o out/test/aarch64/ifunc-alias/exe2 out/test/aarch64/ifunc-alias/a.o -no-pie -114: + 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 -111: + out/test/aarch64/icf-safe/exe2 111: + not grep foo2 111: + grep foo2 +111: + out/test/aarch64/icf-safe/exe2 111: + return 0 +116: + grep -E '^(\S+) \1$' +116: + out/test/aarch64/ifunc-alias/exe2 +116: 0x210660 0x210660 +116: + on_exit +116: + echo OK +116: OK +116: + exit 0 +117: + cc -fno-PIE -o out/test/aarch64/ifunc-dlopen/a.o -c -xc - +117: + cat 111: + on_exit +106/347 Test #116: aarch64-ifunc-alias ...................................... Passed 0.25 sec 111: + echo OK 111: OK 111: + exit 0 -115: + 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 -106/347 Test #111: aarch64-icf-safe ......................................... Passed 0.20 sec test 118 Start 118: aarch64-ifunc-dso @@ -8580,7 +8619,17 @@ 118: MACHINE=aarch64 118: CPU= 118: Test timeout computed to be: 1500 -75: + c++ -B. -o out/test/aarch64/exception/exe9 out/test/aarch64/exception/e.o -no-pie -static -pthread +107/347 Test #111: aarch64-icf-safe ......................................... Passed 0.34 sec +test 119 + Start 119: aarch64-ifunc-dynamic + +119: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-dynamic.sh" +119: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +119: Environment variables: +119: MACHINE=aarch64 +119: CPU= +119: Test timeout computed to be: 1500 +115: + 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: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-dso.sh 118: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 118: ++ export LC_ALL=C @@ -8597,59 +8646,14 @@ 118: ++ STRIP=strip 118: ++ QEMU= 118: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-dso.sh .sh +114: + cat +114: + cc -c -fno-PIE -o out/test/aarch64/ifunc-address-equality-exported/c.o -xc - +75: + c++ -B. -o out/test/aarch64/exception/exe9 out/test/aarch64/exception/e.o -no-pie -static -pthread 118: ++ testname=ifunc-dso 118: ++ t=out/test/aarch64/ifunc-dso 118: ++ mkdir -p out/test/aarch64/ifunc-dso -117: + cc -fPIC -o out/test/aarch64/ifunc-dlopen/b.o -c -xc - -117: + cat 118: ++ case $MACHINE in 118: ++ tlsdesc_opt=-mtls-dialect=desc -118: +++ uname -118: ++ '[' Linux = FreeBSD ']' -118: ++ trap 'on_error $LINENO' ERR -118: ++ trap on_exit EXIT -118: ++ echo -n 'Testing ifunc-dso ... ' -118: Testing ifunc-dso ... ++ set -o pipefail -118: ++ set -x -118: + supports_ifunc -118: + is_musl -116: + out/test/aarch64/ifunc-alias/exe2 -116: + grep -E '^(\S+) \1$' -116: 0x210660 0x210660 -116: + on_exit -116: + echo OK -116: OK -116: + exit 0 -118: + grep musl -114: + out/test/aarch64/ifunc-address-equality-exported/exe -114: + grep -E '^(\S+) \1' -107/347 Test #116: aarch64-ifunc-alias ...................................... Passed 0.18 sec -118: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -test 119 - Start 119: aarch64-ifunc-dynamic - -119: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-dynamic.sh" -119: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -119: Environment variables: -119: MACHINE=aarch64 -119: CPU= -119: Test timeout computed to be: 1500 -118: + cc -c -o /dev/null -xc - -114: 0x210750 0x210750 -114: + on_exit -114: + echo OK -114: OK -114: + exit 0 -108/347 Test #114: aarch64-ifunc-address-equality-exported .................. Passed 0.20 sec -test 120 - Start 120: aarch64-ifunc-export - -120: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-export.sh" -120: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -120: Environment variables: -120: MACHINE=aarch64 -120: CPU= -120: Test timeout computed to be: 1500 119: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-dynamic.sh 119: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 119: ++ export LC_ALL=C @@ -8665,13 +8669,26 @@ 119: ++ OBJCOPY=objcopy 119: ++ STRIP=strip 119: ++ QEMU= +118: +++ uname 119: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-dynamic.sh .sh +118: ++ '[' Linux = FreeBSD ']' +118: ++ trap 'on_error $LINENO' ERR +118: ++ trap on_exit EXIT +118: ++ echo -n 'Testing ifunc-dso ... ' +118: Testing ifunc-dso ... ++ set -o pipefail +118: ++ set -x +118: + supports_ifunc +118: + is_musl +118: + grep musl 119: ++ testname=ifunc-dynamic 119: ++ t=out/test/aarch64/ifunc-dynamic 119: ++ mkdir -p out/test/aarch64/ifunc-dynamic -117: + cc -B. -o out/test/aarch64/ifunc-dlopen/c.so out/test/aarch64/ifunc-dlopen/b.o -shared +117: + cc -fPIC -o out/test/aarch64/ifunc-dlopen/b.o -c -xc - 119: ++ case $MACHINE in 119: ++ tlsdesc_opt=-mtls-dialect=desc +117: + cat +118: + cc -c -o /dev/null -xc - +114: + 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 119: +++ uname 119: ++ '[' Linux = FreeBSD ']' 119: ++ trap 'on_error $LINENO' ERR @@ -8681,10 +8698,37 @@ 119: ++ set -x 119: + supports_ifunc 119: + is_musl -120: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-export.sh 119: + grep musl -119: + cc -c -o /dev/null -xc - +118: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' 119: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +119: + cc -c -o /dev/null -xc - +118: + cat +118: + cc -fPIC -o out/test/aarch64/ifunc-dso/a.o -c -xc - +114: + out/test/aarch64/ifunc-address-equality-exported/exe +114: + grep -E '^(\S+) \1' +117: + cc -B. -o out/test/aarch64/ifunc-dlopen/c.so out/test/aarch64/ifunc-dlopen/b.o -shared +114: 0x210750 0x210750 +114: + on_exit +114: + echo OK +114: OK +114: + exit 0 +115: + grep -E '^(\S+) \1 (\S+) \2' +115: + out/test/aarch64/ifunc-address-equality/exe1 +115: 0x210770 0x210770 0x210780 0x210780 +108/347 Test #114: aarch64-ifunc-address-equality-exported .................. Passed 0.38 sec +test 120 + Start 120: aarch64-ifunc-export + +120: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-export.sh" +120: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +120: Environment variables: +120: MACHINE=aarch64 +120: CPU= +120: Test timeout computed to be: 1500 +115: + not grep TEXTREL +115: + grep TEXTREL +115: + readelf --dynamic out/test/aarch64/ifunc-address-equality/exe1 +120: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-export.sh 120: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 120: ++ export LC_ALL=C 120: ++ LC_ALL=C @@ -8699,38 +8743,17 @@ 120: ++ OBJCOPY=objcopy 120: ++ STRIP=strip 120: ++ QEMU= -118: + cat -118: + cc -fPIC -o out/test/aarch64/ifunc-dso/a.o -c -xc - 120: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-export.sh .sh -120: ++ testname=ifunc-export -120: ++ t=out/test/aarch64/ifunc-export -120: ++ mkdir -p out/test/aarch64/ifunc-export -120: ++ case $MACHINE in -120: ++ tlsdesc_opt=-mtls-dialect=desc -115: + out/test/aarch64/ifunc-address-equality/exe1 -115: + grep -E '^(\S+) \1 (\S+) \2' -115: 0x210770 0x210770 0x210780 0x210780 -120: +++ uname -115: + readelf --dynamic out/test/aarch64/ifunc-address-equality/exe1 -120: ++ '[' Linux = FreeBSD ']' -120: ++ trap 'on_error $LINENO' ERR -120: ++ trap on_exit EXIT -120: ++ echo -n 'Testing ifunc-export ... ' -120: Testing ifunc-export ... ++ set -o pipefail -120: ++ set -x -120: + supports_ifunc -120: + is_musl -120: + grep musl -115: + not grep TEXTREL -115: + grep TEXTREL -118: + cat 115: + return 0 115: + on_exit 115: + echo OK 115: OK 115: + exit 0 +120: ++ testname=ifunc-export +120: ++ t=out/test/aarch64/ifunc-export +120: ++ mkdir -p out/test/aarch64/ifunc-export 118: + cc -fPIC -o out/test/aarch64/ifunc-dso/b.o -c -xc - -109/347 Test #115: aarch64-ifunc-address-equality ........................... Passed 0.25 sec +109/347 Test #115: aarch64-ifunc-address-equality ........................... Passed 0.39 sec test 121 Start 121: aarch64-ifunc-funcptr @@ -8740,10 +8763,6 @@ 121: MACHINE=aarch64 121: CPU= 121: Test timeout computed to be: 1500 -119: + cat -119: + cc -o out/test/aarch64/ifunc-dynamic/a.o -c -xc - -120: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -120: + cc -c -o /dev/null -xc - 121: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-funcptr.sh 121: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 121: ++ export LC_ALL=C @@ -8759,13 +8778,27 @@ 121: ++ OBJCOPY=objcopy 121: ++ STRIP=strip 121: ++ QEMU= +120: ++ case $MACHINE in +120: ++ tlsdesc_opt=-mtls-dialect=desc +118: + cat 121: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-funcptr.sh .sh +75: + out/test/aarch64/exception/exe9 +120: +++ uname +120: ++ '[' Linux = FreeBSD ']' +120: ++ trap 'on_error $LINENO' ERR +120: ++ trap on_exit EXIT +120: ++ echo -n 'Testing ifunc-export ... ' +120: Testing ifunc-export ... ++ set -o pipefail +120: ++ set -x +120: + supports_ifunc +120: + is_musl 121: ++ testname=ifunc-funcptr 121: ++ t=out/test/aarch64/ifunc-funcptr 121: ++ mkdir -p out/test/aarch64/ifunc-funcptr 121: ++ case $MACHINE in 121: ++ tlsdesc_opt=-mtls-dialect=desc 121: +++ uname +120: + grep musl 121: ++ '[' Linux = FreeBSD ']' 121: ++ trap 'on_error $LINENO' ERR 121: ++ trap on_exit EXIT @@ -8774,24 +8807,37 @@ 121: ++ set -x 121: + supports_ifunc 121: + is_musl -117: + 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 +75: + c++ -B. -o out/test/aarch64/exception/exe10 out/test/aarch64/exception/e.o -no-pie 121: + grep musl -120: + cc -c -fPIC -o out/test/aarch64/ifunc-export/a.o -xc - -120: + cat +120: + cc -c -o /dev/null -xc - +120: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +119: + cat +119: + cc -o out/test/aarch64/ifunc-dynamic/a.o -c -xc - 121: + cc -c -o /dev/null -xc - 121: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -75: + out/test/aarch64/exception/exe9 -75: + c++ -B. -o out/test/aarch64/exception/exe10 out/test/aarch64/exception/e.o -no-pie -119: + cc -B. -o out/test/aarch64/ifunc-dynamic/exe1 out/test/aarch64/ifunc-dynamic/a.o -Wl,-z,lazy +117: + 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 118: + cc -B. -o out/test/aarch64/ifunc-dso/c.so out/test/aarch64/ifunc-dso/b.o -shared -117: + out/test/aarch64/ifunc-dlopen/exe +120: + cat +120: + cc -c -fPIC -o out/test/aarch64/ifunc-export/a.o -xc - +121: + cat +121: + cc -c -fPIC -o out/test/aarch64/ifunc-funcptr/a.o -c -xc - +119: + cc -B. -o out/test/aarch64/ifunc-dynamic/exe1 out/test/aarch64/ifunc-dynamic/a.o -Wl,-z,lazy +121: + cc -c -fPIC -o out/test/aarch64/ifunc-funcptr/b.o -xc - +121: + cat +120: + cc -B. -shared -o out/test/aarch64/ifunc-export/b.so out/test/aarch64/ifunc-export/a.o +75: + out/test/aarch64/exception/exe10 +75: + '[' aarch64 '!=' riscv32 ']' +75: + c++ -B. -o out/test/aarch64/exception/exe11 out/test/aarch64/exception/b.o -pie +121: + cat +121: + cc -c -fPIC -o out/test/aarch64/ifunc-funcptr/c.o -xc - 117: + grep 'foo foo' +117: + out/test/aarch64/ifunc-dlopen/exe 117: foo foo 0x2106b0 0x2106b0 117: + on_exit 117: + echo OK 117: OK 117: + exit 0 -110/347 Test #117: aarch64-ifunc-dlopen ..................................... Passed 0.21 sec +110/347 Test #117: aarch64-ifunc-dlopen ..................................... Passed 0.38 sec test 122 Start 122: aarch64-ifunc-noplt @@ -8801,9 +8847,7 @@ 122: MACHINE=aarch64 122: CPU= 122: Test timeout computed to be: 1500 -121: + cat -121: + cc -c -fPIC -o out/test/aarch64/ifunc-funcptr/a.o -c -xc - -120: + cc -B. -shared -o out/test/aarch64/ifunc-export/b.so out/test/aarch64/ifunc-export/a.o +119: + grep 'Hello world' 122: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-noplt.sh 122: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 122: ++ export LC_ALL=C @@ -8823,8 +8867,11 @@ 122: ++ testname=ifunc-noplt 122: ++ t=out/test/aarch64/ifunc-noplt 122: ++ mkdir -p out/test/aarch64/ifunc-noplt +119: + out/test/aarch64/ifunc-dynamic/exe1 +119: Hello world 122: ++ case $MACHINE in 122: ++ tlsdesc_opt=-mtls-dialect=desc +119: + cc -B. -o out/test/aarch64/ifunc-dynamic/exe2 out/test/aarch64/ifunc-dynamic/a.o -Wl,-z,now 122: +++ uname 122: ++ '[' Linux = FreeBSD ']' 122: ++ trap 'on_error $LINENO' ERR @@ -8834,34 +8881,22 @@ 122: ++ set -x 122: + supports_ifunc 122: + is_musl -119: + out/test/aarch64/ifunc-dynamic/exe1 -119: + grep 'Hello world' 122: + grep musl -119: Hello world -119: + cc -B. -o out/test/aarch64/ifunc-dynamic/exe2 out/test/aarch64/ifunc-dynamic/a.o -Wl,-z,now -121: + cat -121: + cc -c -fPIC -o out/test/aarch64/ifunc-funcptr/b.o -xc - -122: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -122: + cc -c -o /dev/null -xc - -118: + grep -E '(IFUNC|: 10).*foobar' 118: + readelf -W --dyn-syms out/test/aarch64/ifunc-dso/c.so +118: + grep -E '(IFUNC|: 10).*foobar' +121: + 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 118: 6: 0000000000010788 12 : 10 GLOBAL DEFAULT 16 foobar 118: + cc -B. -o out/test/aarch64/ifunc-dso/exe out/test/aarch64/ifunc-dso/a.o out/test/aarch64/ifunc-dso/c.so -75: + out/test/aarch64/exception/exe10 -75: + '[' aarch64 '!=' riscv32 ']' -75: + c++ -B. -o out/test/aarch64/exception/exe11 out/test/aarch64/exception/b.o -pie -121: + cat -121: + cc -c -fPIC -o out/test/aarch64/ifunc-funcptr/c.o -xc - -122: + cat -122: + cc -fPIC -o out/test/aarch64/ifunc-noplt/a.o -c -xc - -fno-plt -120: + readelf --dyn-syms out/test/aarch64/ifunc-export/b.so 120: + grep -E '(IFUNC|: 10)\s+GLOBAL DEFAULT.* foobar' +120: + readelf --dyn-syms out/test/aarch64/ifunc-export/b.so +122: + cc -c -o /dev/null -xc - +122: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' 120: 6: 00000000000107e8 12 : 10 GLOBAL DEFAULT 16 foobar 120: + on_exit 120: + echo OK 120: OK 120: + exit 0 -111/347 Test #120: aarch64-ifunc-export ..................................... Passed 0.15 sec +111/347 Test #120: aarch64-ifunc-export ..................................... Passed 0.24 sec test 123 Start 123: aarch64-ifunc-static-pie @@ -8871,8 +8906,6 @@ 123: MACHINE=aarch64 123: CPU= 123: Test timeout computed to be: 1500 -119: + out/test/aarch64/ifunc-dynamic/exe2 -119: + grep 'Hello world' 123: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-static-pie.sh 123: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 123: ++ export LC_ALL=C @@ -8888,28 +8921,14 @@ 123: ++ OBJCOPY=objcopy 123: ++ STRIP=strip 123: ++ QEMU= -119: Hello world -119: + on_exit -119: + echo OK -119: OK -119: + exit 0 123: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-static-pie.sh .sh +75: + strip out/test/aarch64/exception/exe11 123: ++ testname=ifunc-static-pie 123: ++ t=out/test/aarch64/ifunc-static-pie 123: ++ mkdir -p out/test/aarch64/ifunc-static-pie 123: ++ case $MACHINE in 123: ++ tlsdesc_opt=-mtls-dialect=desc -112/347 Test #119: aarch64-ifunc-dynamic .................................... Passed 0.16 sec 123: +++ uname -test 124 - Start 124: aarch64-ifunc-static - -124: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-static.sh" -124: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -124: Environment variables: -124: MACHINE=aarch64 -124: CPU= -124: Test timeout computed to be: 1500 123: ++ '[' Linux = FreeBSD ']' 123: ++ trap 'on_error $LINENO' ERR 123: ++ trap on_exit EXIT @@ -8919,43 +8938,41 @@ 123: + test_cflags -static-pie 123: + echo 'int main() {}' 123: + cc -B. -static-pie -o /dev/null -xc - -124: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-static.sh +122: + cc -fPIC -o out/test/aarch64/ifunc-noplt/a.o -c -xc - -fno-plt +122: + cat +75: + out/test/aarch64/exception/exe11 +75: + c++ -B. -o out/test/aarch64/exception/exe12 out/test/aarch64/exception/c.o -no-pie 118: + out/test/aarch64/ifunc-dso/exe +121: + grep '^3$' +121: + out/test/aarch64/ifunc-funcptr/exe1 +121: 3 118: + grep 'Hello world' -124: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -124: ++ export LC_ALL=C -124: ++ LC_ALL=C -124: ++ '[' -z aarch64 ']' -124: ++ '[' -z '' ']' -124: ++ TESTDIR=out/test/aarch64 -124: ++ CC=cc -124: ++ CXX=c++ -124: ++ GCC=gcc -124: ++ GXX=g++ -124: ++ OBJDUMP=objdump -124: ++ OBJCOPY=objcopy -124: ++ STRIP=strip -124: ++ QEMU= 118: Hello world -124: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-static.sh .sh 118: + on_exit 118: + echo OK 118: OK 118: + exit 0 -124: ++ testname=ifunc-static -124: ++ t=out/test/aarch64/ifunc-static -124: ++ mkdir -p out/test/aarch64/ifunc-static -124: ++ case $MACHINE in -124: ++ tlsdesc_opt=-mtls-dialect=desc -124: +++ uname -124: ++ '[' Linux = FreeBSD ']' -124: ++ trap 'on_error $LINENO' ERR -124: ++ trap on_exit EXIT -124: ++ echo -n 'Testing ifunc-static ... ' -124: Testing ifunc-static ... ++ set -o pipefail -124: ++ set -x -124: + test_cflags -static -113/347 Test #118: aarch64-ifunc-dso ........................................ Passed 0.20 sec +112/347 Test #118: aarch64-ifunc-dso ........................................ Passed 0.41 sec +121: + 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 +test 124 + Start 124: aarch64-ifunc-static + +124: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-static.sh" +124: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +124: Environment variables: +124: MACHINE=aarch64 +124: CPU= +124: Test timeout computed to be: 1500 +119: + grep 'Hello world' +119: + out/test/aarch64/ifunc-dynamic/exe2 +119: Hello world +119: + on_exit +119: + echo OK +119: OK +119: + exit 0 +122: + cc -B. -o out/test/aarch64/ifunc-noplt/exe1 out/test/aarch64/ifunc-noplt/a.o -pie +124: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-static.sh +113/347 Test #119: aarch64-ifunc-dynamic .................................... Passed 0.42 sec test 125 Start 125: aarch64-image-base @@ -8965,11 +8982,22 @@ 125: MACHINE=aarch64 125: CPU= 125: Test timeout computed to be: 1500 -124: + echo 'int main() {}' -124: + cc -B. -static -o /dev/null -xc - -122: + cc -B. -o out/test/aarch64/ifunc-noplt/exe1 out/test/aarch64/ifunc-noplt/a.o -pie 125: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/image-base.sh -121: + 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 +124: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +124: ++ export LC_ALL=C +124: ++ LC_ALL=C +124: ++ '[' -z aarch64 ']' +124: ++ '[' -z '' ']' +124: ++ TESTDIR=out/test/aarch64 +124: ++ CC=cc +124: ++ CXX=c++ +124: ++ GCC=gcc +124: ++ GXX=g++ +124: ++ OBJDUMP=objdump +124: ++ OBJCOPY=objcopy +124: ++ STRIP=strip +124: ++ QEMU= +124: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-static.sh .sh 125: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 125: ++ export LC_ALL=C 125: ++ LC_ALL=C @@ -8984,70 +9012,42 @@ 125: ++ OBJCOPY=objcopy 125: ++ STRIP=strip 125: ++ QEMU= +124: ++ testname=ifunc-static +124: ++ t=out/test/aarch64/ifunc-static +124: ++ mkdir -p out/test/aarch64/ifunc-static 125: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/image-base.sh .sh +124: ++ case $MACHINE in +124: ++ tlsdesc_opt=-mtls-dialect=desc 125: ++ testname=image-base 125: ++ t=out/test/aarch64/image-base 125: ++ mkdir -p out/test/aarch64/image-base +124: +++ uname +124: ++ '[' Linux = FreeBSD ']' +124: ++ trap 'on_error $LINENO' ERR +124: ++ trap on_exit EXIT +124: ++ echo -n 'Testing ifunc-static ... ' +124: Testing ifunc-static ... ++ set -o pipefail +124: ++ set -x +124: + test_cflags -static +124: + echo 'int main() {}' 125: ++ case $MACHINE in 125: ++ tlsdesc_opt=-mtls-dialect=desc +124: + cc -B. -static -o /dev/null -xc - +75: + strip out/test/aarch64/exception/exe12 125: +++ uname +75: + out/test/aarch64/exception/exe12 125: ++ '[' Linux = FreeBSD ']' 125: ++ trap 'on_error $LINENO' ERR 125: ++ trap on_exit EXIT 125: ++ echo -n 'Testing image-base ... ' 125: Testing image-base ... ++ set -o pipefail 125: ++ set -x -75: + strip out/test/aarch64/exception/exe11 +75: + on_exit +75: + echo OK +75: OK +75: + exit 0 +114/347 Test #75: aarch64-exception ........................................ Passed 3.23 sec 125: + cat -125: + cc -o out/test/aarch64/image-base/a.o -c -xc - -75: + out/test/aarch64/exception/exe11 -75: + c++ -B. -o out/test/aarch64/exception/exe12 out/test/aarch64/exception/c.o -no-pie -92: + grep 'fn8 () at .*/d.c:6' out/test/aarch64/gdb-index-dwarf5/log -89: + grep 'hello2 () at .*:7' out/test/aarch64/gdb-index-dwarf2/log -93: + 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 -89: #1 0x0000fffff7f90898 in hello2 () at :7 -89: + grep 'hello () at .*:4' out/test/aarch64/gdb-index-dwarf2/log -91: + grep 'hello2 () at .*:7' out/test/aarch64/gdb-index-dwarf4/log -88: + grep 'hello () at .*:7' out/test/aarch64/gdb-index-compress-output/log -92: #1 0x0000fffff7f90a58 in fn8 () at out/test/aarch64/gdb-index-dwarf5/d.c:6 -92: + grep 'fn7 () at .*/d.c:10' out/test/aarch64/gdb-index-dwarf5/log -125: + cc -B. -no-pie -o out/test/aarch64/image-base/exe1 out/test/aarch64/image-base/a.o -Wl,--image-base=0x8000000 -122: + out/test/aarch64/ifunc-noplt/exe1 -122: + grep 'Hello world' -88: #1 0x0000fffff7f907e8 in hello () at :7 -88: + grep 'greet () at .*:11' out/test/aarch64/gdb-index-compress-output/log -91: #1 0x0000fffff7f90898 in hello2 () at :7 -90: + grep 'hello2 () at .*:7' out/test/aarch64/gdb-index-dwarf3/log -91: + grep 'hello () at .*:4' out/test/aarch64/gdb-index-dwarf4/log -122: Hello world -89: #2 0x0000fffff7f90854 in hello () at :4 -89: + grep 'greet () at .*:8' out/test/aarch64/gdb-index-dwarf2/log -92: #2 0x0000fffff7f90a70 in fn7 () at out/test/aarch64/gdb-index-dwarf5/d.c:10 -92: + grep 'fn6 () at .*/c.c:4' out/test/aarch64/gdb-index-dwarf5/log -121: + out/test/aarch64/ifunc-funcptr/exe1 -122: + cc -B. -o out/test/aarch64/ifunc-noplt/exe2 out/test/aarch64/ifunc-noplt/a.o -no-pie -91: #2 0x0000fffff7f90854 in hello () at :4 -121: + grep '^3$' -88: #2 0x0000fffff7f90800 in greet () at :11 -88: + grep 'main () at .*:4' out/test/aarch64/gdb-index-compress-output/log -90: #1 0x0000fffff7f90898 in hello2 () at :7 -90: + grep 'hello () at .*:4' out/test/aarch64/gdb-index-dwarf3/log -91: + grep 'greet () at .*:8' out/test/aarch64/gdb-index-dwarf4/log -121: 3 -92: #3 0x0000fffff7f90a14 in fn6 () at out/test/aarch64/gdb-index-dwarf5/c.c:4 -92: + grep 'fn5 () at .*/c.c:8' out/test/aarch64/gdb-index-dwarf5/log -121: + 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 -88: Breakpoint 1, main () at :4 -88: #3 0x0000aaaaaaab07f4 in main () at :4 -88: + on_exit -88: + echo OK -88: OK -88: + exit 0 -90: #2 0x0000fffff7f90854 in hello () at :4 -90: + grep 'greet () at .*:8' out/test/aarch64/gdb-index-dwarf3/log -89: #3 0x0000fffff7f9086c in greet () at :8 -89: + grep 'main () at .*:4' out/test/aarch64/gdb-index-dwarf2/log -114/347 Test #88: aarch64-gdb-index-compress-output ........................ Passed 1.29 sec test 126 Start 126: aarch64-init-array-priorities @@ -9057,29 +9057,15 @@ 126: MACHINE=aarch64 126: CPU= 126: Test timeout computed to be: 1500 -92: #4 0x0000fffff7f90a2c in fn5 () at out/test/aarch64/gdb-index-dwarf5/c.c:8 -90: #3 0x0000fffff7f9086c in greet () at :8 -91: #3 0x0000fffff7f9086c in greet () at :8 -91: + grep 'main () at .*:4' out/test/aarch64/gdb-index-dwarf4/log +125: + cc -o out/test/aarch64/image-base/a.o -c -xc - +121: + out/test/aarch64/ifunc-funcptr/exe2 +121: + grep '^3$' +121: 3 +121: + on_exit +121: + echo OK +121: OK +121: + exit 0 126: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/init-array-priorities.sh -89: Breakpoint 1, main () at :4 -89: #4 0x0000aaaaaaab07f4 in main () at :4 -89: + on_exit -89: + echo OK -89: OK -89: + exit 0 -115/347 Test #89: aarch64-gdb-index-dwarf2 ................................. Passed 1.27 sec -92: + grep 'fn4 () at .*/b.c:4' out/test/aarch64/gdb-index-dwarf5/log -test 127 - Start 127: aarch64-init-in-dso - -127: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/init-in-dso.sh" -127: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -127: Environment variables: -127: MACHINE=aarch64 -127: CPU= -127: Test timeout computed to be: 1500 -90: + grep 'main () at .*:4' out/test/aarch64/gdb-index-dwarf3/log 126: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 126: ++ export LC_ALL=C 126: ++ LC_ALL=C @@ -9095,34 +9081,23 @@ 126: ++ STRIP=strip 126: ++ QEMU= 126: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/init-array-priorities.sh .sh -91: Breakpoint 1, main () at :4 -91: #4 0x0000aaaaaaab07f4 in main () at :4 -91: + on_exit -91: + echo OK -91: OK -91: + exit 0 -116/347 Test #91: aarch64-gdb-index-dwarf4 ................................. Passed 1.20 sec -test 128 - Start 128: aarch64-init - -128: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/init.sh" -128: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -128: Environment variables: -128: MACHINE=aarch64 -128: CPU= -128: Test timeout computed to be: 1500 126: ++ testname=init-array-priorities 126: ++ t=out/test/aarch64/init-array-priorities 126: ++ mkdir -p out/test/aarch64/init-array-priorities +122: + grep 'Hello world' +122: + out/test/aarch64/ifunc-noplt/exe1 +115/347 Test #121: aarch64-ifunc-funcptr .................................... Passed 0.37 sec +test 127 + Start 127: aarch64-init-in-dso + +127: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/init-in-dso.sh" +127: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +127: Environment variables: +127: MACHINE=aarch64 +127: CPU= +127: Test timeout computed to be: 1500 126: ++ case $MACHINE in 126: ++ tlsdesc_opt=-mtls-dialect=desc -126: +++ uname -90: Breakpoint 1, main () at :4 -90: #4 0x0000aaaaaaab07f4 in main () at :4 -90: + on_exit -90: + echo OK -90: OK -90: + exit 0 127: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/init-in-dso.sh 127: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 127: ++ export LC_ALL=C @@ -9138,30 +9113,9 @@ 127: ++ OBJCOPY=objcopy 127: ++ STRIP=strip 127: ++ QEMU= +122: Hello world +126: +++ uname 127: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/init-in-dso.sh .sh -127: ++ testname=init-in-dso -123: + supports_ifunc -123: + is_musl -123: + grep musl -75: + strip out/test/aarch64/exception/exe12 -92: #5 0x0000fffff7f909e4 in fn4 () at out/test/aarch64/gdb-index-dwarf5/b.c:4 -92: + grep 'fn3 () at .*/b.c:8' out/test/aarch64/gdb-index-dwarf5/log -117/347 Test #90: aarch64-gdb-index-dwarf3 ................................. Passed 1.26 sec -127: ++ t=out/test/aarch64/init-in-dso -127: ++ mkdir -p out/test/aarch64/init-in-dso -test 129 - Start 129: aarch64-initfirst - -129: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/initfirst.sh" -129: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -129: Environment variables: -129: MACHINE=aarch64 -129: CPU= -129: Test timeout computed to be: 1500 -92: #6 0x0000fffff7f909fc in fn3 () at out/test/aarch64/gdb-index-dwarf5/b.c:8 -92: + grep 'fn2 () at .*/a.c:4' out/test/aarch64/gdb-index-dwarf5/log -92: #7 0x0000fffff7f909b4 in fn2 () at out/test/aarch64/gdb-index-dwarf5/a.c:4 -92: + grep 'fn1 () at .*/a.c:8' out/test/aarch64/gdb-index-dwarf5/log 126: ++ '[' Linux = FreeBSD ']' 126: ++ trap 'on_error $LINENO' ERR 126: ++ trap on_exit EXIT @@ -9170,22 +9124,64 @@ 126: ++ set -x 126: + is_musl 126: + grep musl -75: + out/test/aarch64/exception/exe12 -128: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/init.sh -75: + on_exit -75: + echo OK -75: OK -75: + exit 0 -118/347 Test #75: aarch64-exception ........................................ Passed 1.61 sec -test 130 - Start 130: aarch64-interpose +122: + cc -B. -o out/test/aarch64/ifunc-noplt/exe2 out/test/aarch64/ifunc-noplt/a.o -no-pie +127: ++ testname=init-in-dso +127: ++ t=out/test/aarch64/init-in-dso +127: ++ mkdir -p out/test/aarch64/init-in-dso +125: + cc -B. -no-pie -o out/test/aarch64/image-base/exe1 out/test/aarch64/image-base/a.o -Wl,--image-base=0x8000000 +127: ++ case $MACHINE in +127: ++ tlsdesc_opt=-mtls-dialect=desc +127: +++ uname +127: ++ '[' Linux = FreeBSD ']' +127: ++ trap 'on_error $LINENO' ERR +127: ++ trap on_exit EXIT +127: ++ echo -n 'Testing init-in-dso ... ' +127: Testing init-in-dso ... ++ set -o pipefail +127: ++ set -x +127: + cc -shared -o out/test/aarch64/init-in-dso/a.so -xc - +127: + cat +126: + cc -c -o out/test/aarch64/init-array-priorities/a.o -xc - +126: + cat +123: + supports_ifunc +123: + is_musl +123: + grep musl +127: + cat +127: + cc -o out/test/aarch64/init-in-dso/b.o -c -xc - +123: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +126: + cat +126: + cc -c -o out/test/aarch64/init-array-priorities/b.o -xc - +125: + out/test/aarch64/image-base/exe1 +125: + grep 'Hello world' +125: Hello world +125: + grep -E '.interp\s+PROGBITS\s+0*8000...\b' +125: + readelf -W --sections out/test/aarch64/image-base/exe1 +125: [ 1] .interp PROGBITS 00000000080002a8 0002a8 00001b 00 A 0 0 1 +127: + 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 +125: + cc -o out/test/aarch64/image-base/b.o -c -xc - +125: + cat +122: + out/test/aarch64/ifunc-noplt/exe2 +122: + grep 'Hello world' +123: + cc -c -o /dev/null -xc - +126: + cc -c -o out/test/aarch64/init-array-priorities/c.o -xc - +126: + cat +122: Hello world +122: + on_exit +122: + echo OK +122: OK +122: + exit 0 +116/347 Test #122: aarch64-ifunc-noplt ...................................... Passed 0.36 sec +test 128 + Start 128: aarch64-init -130: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/interpose.sh" -130: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -130: Environment variables: -130: MACHINE=aarch64 -130: CPU= -130: Test timeout computed to be: 1500 +128: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/init.sh" +128: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +128: Environment variables: +128: MACHINE=aarch64 +128: CPU= +128: Test timeout computed to be: 1500 +125: + '[' aarch64 = x86-64 -o aarch64 = aarch64 ']' +125: + cc -B. -no-pie -o out/test/aarch64/image-base/exe2 out/test/aarch64/image-base/b.o -nostdlib -Wl,--image-base=0xffffffff80000000 +128: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/init.sh 128: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 128: ++ export LC_ALL=C 128: ++ LC_ALL=C @@ -9200,42 +9196,46 @@ 128: ++ OBJCOPY=objcopy 128: ++ STRIP=strip 128: ++ QEMU= -92: #8 0x0000fffff7f909cc in fn1 () at out/test/aarch64/gdb-index-dwarf5/a.c:8 -92: + on_exit -92: + echo OK -92: OK -92: + exit 0 -119/347 Test #92: aarch64-gdb-index-dwarf5 ................................. Passed 1.19 sec -test 131 - Start 131: aarch64-invalid-version-script - -131: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/invalid-version-script.sh" -131: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -131: Environment variables: -131: MACHINE=aarch64 -131: CPU= -131: Test timeout computed to be: 1500 -127: ++ case $MACHINE in -127: ++ tlsdesc_opt=-mtls-dialect=desc -127: +++ uname -127: ++ '[' Linux = FreeBSD ']' -127: ++ trap 'on_error $LINENO' ERR -127: ++ trap on_exit EXIT -127: ++ echo -n 'Testing init-in-dso ... ' -127: Testing init-in-dso ... ++ set -o pipefail -127: ++ set -x -123: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -123: + cc -c -o /dev/null -xc - 128: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/init.sh .sh +124: + supports_ifunc +124: + is_musl 128: ++ testname=init 128: ++ t=out/test/aarch64/init 128: ++ mkdir -p out/test/aarch64/init +124: + grep musl +128: ++ case $MACHINE in +128: ++ tlsdesc_opt=-mtls-dialect=desc +128: +++ uname +128: ++ '[' Linux = FreeBSD ']' +128: ++ trap 'on_error $LINENO' ERR +128: ++ trap on_exit EXIT +128: ++ echo -n 'Testing init ... ' +128: Testing init ... ++ set -o pipefail +128: ++ set -x +128: + cc -o out/test/aarch64/init/a.o -c -xc - +128: + cat +124: + cc -c -o /dev/null -xc - +124: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +125: + readelf -W --sections out/test/aarch64/image-base/exe2 +125: + grep -E '.interp\s+PROGBITS\s+ffffffff80000...\b' +125: [ 1] .interp PROGBITS ffffffff80000270 000270 00001b 00 A 0 0 1 +125: + on_exit +125: + echo OK +125: OK +125: + exit 0 +117/347 Test #125: aarch64-image-base ....................................... Passed 0.27 sec +test 129 + Start 129: aarch64-initfirst + +129: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/initfirst.sh" +129: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +129: Environment variables: +129: MACHINE=aarch64 +129: CPU= +129: Test timeout computed to be: 1500 126: + cat +126: + cc -c -o out/test/aarch64/init-array-priorities/d.o -xc - 129: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/initfirst.sh -127: + cc -shared -o out/test/aarch64/init-in-dso/a.so -xc - -130: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/interpose.sh -126: + cc -c -o out/test/aarch64/init-array-priorities/a.o -xc - -127: + cat 129: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 129: ++ export LC_ALL=C 129: ++ LC_ALL=C @@ -9250,10 +9250,35 @@ 129: ++ OBJCOPY=objcopy 129: ++ STRIP=strip 129: ++ QEMU= +127: + readelf --dynamic out/test/aarch64/init-in-dso/exe +127: + not grep -F '(INIT)' +127: + grep -F '(INIT)' 129: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/initfirst.sh .sh 129: ++ testname=initfirst 129: ++ t=out/test/aarch64/initfirst 129: ++ mkdir -p out/test/aarch64/initfirst +124: + cc -o out/test/aarch64/ifunc-static/a.o -c -xc - +124: + cat +127: + return 0 +127: + on_exit +127: + echo OK +127: OK +127: + exit 0 +129: ++ case $MACHINE in +129: ++ tlsdesc_opt=-mtls-dialect=desc +118/347 Test #127: aarch64-init-in-dso ...................................... Passed 0.23 sec +test 130 + Start 130: aarch64-interpose + +130: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/interpose.sh" +130: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +130: Environment variables: +130: MACHINE=aarch64 +130: CPU= +130: Test timeout computed to be: 1500 +128: + cc -B. -o out/test/aarch64/init/exe out/test/aarch64/init/a.o -Wl,-init,foo +123: + cat +130: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/interpose.sh 130: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 130: ++ export LC_ALL=C 130: ++ LC_ALL=C @@ -9269,80 +9294,25 @@ 130: ++ STRIP=strip 130: ++ QEMU= 130: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/interpose.sh .sh -130: ++ testname=interpose -130: ++ t=out/test/aarch64/interpose -130: ++ mkdir -p out/test/aarch64/interpose -124: + supports_ifunc -124: + is_musl -124: + grep musl -128: ++ case $MACHINE in -128: ++ tlsdesc_opt=-mtls-dialect=desc -128: +++ uname -131: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/invalid-version-script.sh -131: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -131: ++ export LC_ALL=C -131: ++ LC_ALL=C -131: ++ '[' -z aarch64 ']' -131: ++ '[' -z '' ']' -131: ++ TESTDIR=out/test/aarch64 -131: ++ CC=cc -131: ++ CXX=c++ -131: ++ GCC=gcc -131: ++ GXX=g++ -131: ++ OBJDUMP=objdump -131: ++ OBJCOPY=objcopy -131: ++ STRIP=strip -131: ++ QEMU= -128: ++ '[' Linux = FreeBSD ']' -128: ++ trap 'on_error $LINENO' ERR -128: ++ trap on_exit EXIT -128: ++ echo -n 'Testing init ... ' -128: Testing init ... ++ set -o pipefail -128: ++ set -x -93: + readelf -WS out/test/aarch64/gdb-index-dwarf64/exe2 -129: ++ case $MACHINE in -129: ++ tlsdesc_opt=-mtls-dialect=desc -128: + cc -o out/test/aarch64/init/a.o -c -xc - 129: +++ uname -93: + grep -F .gdb_index -93: [38] .gdb_index PROGBITS 0000000000000000 002888 000075 00 0 0 4 -124: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' 129: ++ '[' Linux = FreeBSD ']' 129: ++ trap 'on_error $LINENO' ERR 129: ++ trap on_exit EXIT 129: ++ echo -n 'Testing initfirst ... ' 129: Testing initfirst ... ++ set -o pipefail 129: ++ set -x +123: + cc -o out/test/aarch64/ifunc-static-pie/a.o -c -xc - -fPIC 129: + cc -c -fPIC -o out/test/aarch64/initfirst/a.o -xc - -128: + cat -93: + out/test/aarch64/gdb-index-dwarf64/exe2 +130: ++ testname=interpose +130: ++ t=out/test/aarch64/interpose +130: ++ mkdir -p out/test/aarch64/interpose 129: + cat +126: + cc -c -o out/test/aarch64/init-array-priorities/e.o -xc - +126: + cat +124: + cc -B. -o out/test/aarch64/ifunc-static/exe out/test/aarch64/ifunc-static/a.o -static 130: ++ case $MACHINE in 130: ++ tlsdesc_opt=-mtls-dialect=desc -131: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/invalid-version-script.sh .sh -124: + cc -c -o /dev/null -xc - -125: + out/test/aarch64/image-base/exe1 -122: + grep 'Hello world' -131: ++ testname=invalid-version-script -131: ++ t=out/test/aarch64/invalid-version-script -131: ++ mkdir -p out/test/aarch64/invalid-version-script -125: + grep 'Hello world' -93: + grep 'Hello world' -125: Hello world -93: Hello world -131: ++ case $MACHINE in -131: ++ tlsdesc_opt=-mtls-dialect=desc -93: + DEBUGINFOD_URLS= -93: + gdb out/test/aarch64/gdb-index-dwarf64/exe2 -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit -131: +++ uname 130: +++ uname -125: + readelf -W --sections out/test/aarch64/image-base/exe1 -131: ++ '[' Linux = FreeBSD ']' -131: ++ trap 'on_error $LINENO' ERR -131: ++ trap on_exit EXIT -131: ++ echo -n 'Testing invalid-version-script ... ' -131: Testing invalid-version-script ... ++ set -o pipefail -131: ++ set -x 130: ++ '[' Linux = FreeBSD ']' 130: ++ trap 'on_error $LINENO' ERR 130: ++ trap on_exit EXIT @@ -9350,15 +9320,59 @@ 130: Testing interpose ... ++ set -o pipefail 130: ++ set -x 130: + cat -122: + out/test/aarch64/ifunc-noplt/exe2 130: + cc -c -fPIC -o out/test/aarch64/interpose/a.o -xc - -122: Hello world -122: + on_exit -122: + echo OK -122: OK -122: + exit 0 -120/347 Test #122: aarch64-ifunc-noplt ...................................... Passed 0.17 sec -131: + echo 'int main() {}' +129: + cc -B. -shared -o out/test/aarch64/initfirst/b.so out/test/aarch64/initfirst/a.o -Wl,-z,initfirst +126: + cc -c -o out/test/aarch64/init-array-priorities/f.o -xc - +126: + cat +128: + grep -F '(INIT)' +128: + readelf --dynamic out/test/aarch64/init/exe +128: 0x000000000000000c (INIT) 0x10768 +128: + cc -B. -o out/test/aarch64/init/exe out/test/aarch64/init/a.o -Wl,-init,no-such-symbol +126: + cc -c -o out/test/aarch64/init-array-priorities/g.o -xc - +126: + cat +129: + grep 'Flags:.*INITFIRST' +129: + readelf --dynamic out/test/aarch64/initfirst/b.so +124: + out/test/aarch64/ifunc-static/exe +124: + grep 'Hello world' +124: Hello world +124: + on_exit +124: + echo OK +124: OK +124: + exit 0 +119/347 Test #124: aarch64-ifunc-static ..................................... Passed 0.46 sec +test 131 + Start 131: aarch64-invalid-version-script + +131: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/invalid-version-script.sh" +131: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +131: Environment variables: +131: MACHINE=aarch64 +131: CPU= +131: Test timeout computed to be: 1500 +129: 0x000000006ffffffb (FLAGS_1) Flags: INITFIRST +130: + cc -B. -shared -o out/test/aarch64/interpose/b.so out/test/aarch64/interpose/a.o -Wl,-z,interpose +131: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/invalid-version-script.sh +129: + on_exit +129: + echo OK +129: OK +129: + exit 0 +123: + cc -B. -o out/test/aarch64/ifunc-static-pie/exe2 out/test/aarch64/ifunc-static-pie/a.o -static-pie +131: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +131: ++ export LC_ALL=C +131: ++ LC_ALL=C +131: ++ '[' -z aarch64 ']' +131: ++ '[' -z '' ']' +131: ++ TESTDIR=out/test/aarch64 +131: ++ CC=cc +131: ++ CXX=c++ +131: ++ GCC=gcc +131: ++ GXX=g++ +131: ++ OBJDUMP=objdump +131: ++ OBJCOPY=objcopy +131: ++ STRIP=strip +131: ++ QEMU= +128: + readelf --dynamic out/test/aarch64/init/exe +120/347 Test #129: aarch64-initfirst ........................................ Passed 0.18 sec test 132 Start 132: aarch64-issue646 @@ -9368,11 +9382,29 @@ 132: MACHINE=aarch64 132: CPU= 132: Test timeout computed to be: 1500 -131: + cc -c -o out/test/aarch64/invalid-version-script/a.o -xc - -125: + grep -E '.interp\s+PROGBITS\s+0*8000...\b' -125: [ 1] .interp PROGBITS 00000000080002a8 0002a8 00001b 00 A 0 0 1 -125: + cat -125: + cc -o out/test/aarch64/image-base/b.o -c -xc - +128: + not grep -F '(INIT)' +128: + grep -F '(INIT)' +128: + return 0 +128: + on_exit +128: + echo OK +128: OK +128: + exit 0 +126: + cat +126: + cc -c -o out/test/aarch64/init-array-priorities/h.o -xc - +131: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/invalid-version-script.sh .sh +121/347 Test #128: aarch64-init ............................................. Passed 0.24 sec +test 133 + Start 133: aarch64-large-alignment-dso + +133: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/large-alignment-dso.sh" +133: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +133: Environment variables: +133: MACHINE=aarch64 +133: CPU= +133: Test timeout computed to be: 1500 +131: ++ testname=invalid-version-script +131: ++ t=out/test/aarch64/invalid-version-script +131: ++ mkdir -p out/test/aarch64/invalid-version-script 132: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/issue646.sh 132: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 132: ++ export LC_ALL=C @@ -9388,52 +9420,10 @@ 132: ++ OBJCOPY=objcopy 132: ++ STRIP=strip 132: ++ QEMU= -132: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/issue646.sh .sh -121: + out/test/aarch64/ifunc-funcptr/exe2 -121: + grep '^3$' -127: + cc -o out/test/aarch64/init-in-dso/b.o -c -xc - -123: + cat -132: ++ testname=issue646 -132: ++ t=out/test/aarch64/issue646 -132: ++ mkdir -p out/test/aarch64/issue646 -123: + cc -o out/test/aarch64/ifunc-static-pie/a.o -c -xc - -fPIC -128: + cc -B. -o out/test/aarch64/init/exe out/test/aarch64/init/a.o -Wl,-init,foo -124: + cat -124: + cc -o out/test/aarch64/ifunc-static/a.o -c -xc - -127: + cat -132: ++ case $MACHINE in -132: ++ tlsdesc_opt=-mtls-dialect=desc -121: 3 -126: + cat -129: + cc -B. -shared -o out/test/aarch64/initfirst/b.so out/test/aarch64/initfirst/a.o -Wl,-z,initfirst -126: + cc -c -o out/test/aarch64/init-array-priorities/b.o -xc - -121: + on_exit -121: + echo OK -121: OK -121: + exit 0 -121/347 Test #121: aarch64-ifunc-funcptr .................................... Passed 0.24 sec -132: +++ uname -test 133 - Start 133: aarch64-large-alignment-dso - -133: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/large-alignment-dso.sh" -133: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -133: Environment variables: -133: MACHINE=aarch64 -133: CPU= -133: Test timeout computed to be: 1500 -132: ++ '[' Linux = FreeBSD ']' -132: ++ trap 'on_error $LINENO' ERR -132: ++ trap on_exit EXIT -132: ++ echo -n 'Testing issue646 ... ' -132: Testing issue646 ... ++ set -o pipefail -132: ++ set -x -132: + '[' aarch64 = sh4aeb ']' -132: + c++ -o out/test/aarch64/issue646/a.o -c -xc++ - -131: + echo 'VER1 { foo[12; };' -131: + not 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 -131: + grep 'invalid version pattern' +131: ++ case $MACHINE in +131: ++ tlsdesc_opt=-mtls-dialect=desc 133: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/large-alignment-dso.sh +132: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/issue646.sh .sh 133: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 133: ++ export LC_ALL=C 133: ++ LC_ALL=C @@ -9448,16 +9438,40 @@ 133: ++ OBJCOPY=objcopy 133: ++ STRIP=strip 133: ++ QEMU= -125: + '[' aarch64 = x86-64 -o aarch64 = aarch64 ']' -125: + cc -B. -no-pie -o out/test/aarch64/image-base/exe2 out/test/aarch64/image-base/b.o -nostdlib -Wl,--image-base=0xffffffff80000000 133: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/large-alignment-dso.sh .sh +131: +++ uname +131: ++ '[' Linux = FreeBSD ']' +131: ++ trap 'on_error $LINENO' ERR +131: ++ trap on_exit EXIT +131: ++ echo -n 'Testing invalid-version-script ... ' +131: Testing invalid-version-script ... ++ set -o pipefail +131: ++ set -x +132: ++ testname=issue646 +132: ++ t=out/test/aarch64/issue646 +132: ++ mkdir -p out/test/aarch64/issue646 +131: + echo 'int main() {}' +131: + cc -c -o out/test/aarch64/invalid-version-script/a.o -xc - 133: ++ testname=large-alignment-dso 133: ++ t=out/test/aarch64/large-alignment-dso 133: ++ mkdir -p out/test/aarch64/large-alignment-dso +132: ++ case $MACHINE in +132: ++ tlsdesc_opt=-mtls-dialect=desc +132: +++ uname +132: ++ '[' Linux = FreeBSD ']' +132: ++ trap 'on_error $LINENO' ERR +132: ++ trap on_exit EXIT +132: ++ echo -n 'Testing issue646 ... ' +132: Testing issue646 ... ++ set -o pipefail +132: ++ set -x +132: + '[' aarch64 = sh4aeb ']' +132: + cat +132: + c++ -o out/test/aarch64/issue646/a.o -c -xc++ - 133: ++ case $MACHINE in 133: ++ tlsdesc_opt=-mtls-dialect=desc -130: + cc -B. -shared -o out/test/aarch64/interpose/b.so out/test/aarch64/interpose/a.o -Wl,-z,interpose +126: + cat +126: + cc -c -o out/test/aarch64/init-array-priorities/i.o -xc - 133: +++ uname +130: + readelf --dynamic out/test/aarch64/interpose/b.so 133: ++ '[' Linux = FreeBSD ']' 133: ++ trap 'on_error $LINENO' ERR 133: ++ trap on_exit EXIT @@ -9465,26 +9479,14 @@ 133: Testing large-alignment-dso ... ++ set -o pipefail 133: ++ set -x 133: + '[' aarch64 = i686 ']' +130: + grep 'Flags:.*INTERPOSE' 133: + cc -o out/test/aarch64/large-alignment-dso/a.o -c -xc - -ffunction-sections -fPIC -133: + cat -132: + cat -127: + 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 -126: + cat -126: + cc -c -o out/test/aarch64/init-array-priorities/c.o -xc - -128: + readelf --dynamic out/test/aarch64/init/exe -128: + grep -F '(INIT)' -125: + grep -E '.interp\s+PROGBITS\s+ffffffff80000...\b' -128: 0x000000000000000c (INIT) 0x10768 -125: + readelf -W --sections out/test/aarch64/image-base/exe2 -128: + cc -B. -o out/test/aarch64/init/exe out/test/aarch64/init/a.o -Wl,-init,no-such-symbol -123: + cc -B. -o out/test/aarch64/ifunc-static-pie/exe2 out/test/aarch64/ifunc-static-pie/a.o -static-pie -124: + cc -B. -o out/test/aarch64/ifunc-static/exe out/test/aarch64/ifunc-static/a.o -static -125: [ 1] .interp PROGBITS ffffffff80000270 000270 00001b 00 A 0 0 1 -125: + on_exit -125: + echo OK -125: OK -125: + exit 0 -122/347 Test #125: aarch64-image-base ....................................... Passed 0.15 sec +130: 0x000000006ffffffb (FLAGS_1) Flags: INTERPOSE +130: + on_exit +130: + echo OK +130: OK +130: + exit 0 +122/347 Test #130: aarch64-interpose ........................................ Passed 0.23 sec test 134 Start 134: aarch64-large-alignment @@ -9494,15 +9496,11 @@ 134: MACHINE=aarch64 134: CPU= 134: Test timeout computed to be: 1500 -129: + grep 'Flags:.*INITFIRST' -129: + readelf --dynamic out/test/aarch64/initfirst/b.so +131: + echo 'VER1 { foo[12; };' +133: + cat +131: + not 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 +131: + grep 'invalid version pattern' 134: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/large-alignment.sh -131: mold: fatal: invalid version pattern: foo[12 -129: 0x000000006ffffffb (FLAGS_1) Flags: INITFIRST -131: + on_exit -131: + echo OK -131: OK -131: + exit 0 134: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 134: ++ export LC_ALL=C 134: ++ LC_ALL=C @@ -9518,7 +9516,28 @@ 134: ++ STRIP=strip 134: ++ QEMU= 134: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/large-alignment.sh .sh -123/347 Test #131: aarch64-invalid-version-script ........................... Passed 0.09 sec +134: ++ testname=large-alignment +134: ++ t=out/test/aarch64/large-alignment +134: ++ mkdir -p out/test/aarch64/large-alignment +126: + 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 +123: + out/test/aarch64/ifunc-static-pie/exe2 +123: + grep 'Hello world' +123: Hello world +134: ++ case $MACHINE in +134: ++ tlsdesc_opt=-mtls-dialect=desc +123: + on_exit +123: + echo OK +123: OK +123: + exit 0 +134: +++ uname +134: ++ '[' Linux = FreeBSD ']' +134: ++ trap 'on_error $LINENO' ERR +134: ++ trap on_exit EXIT +134: ++ echo -n 'Testing large-alignment ... ' +134: Testing large-alignment ... ++ set -o pipefail +134: ++ set -x +134: + '[' aarch64 = i686 ']' +123/347 Test #123: aarch64-ifunc-static-pie ................................. Passed 0.68 sec test 135 Start 135: aarch64-large-max-page-size-strip @@ -9528,17 +9547,36 @@ 135: MACHINE=aarch64 135: CPU= 135: Test timeout computed to be: 1500 -134: ++ testname=large-alignment -134: ++ t=out/test/aarch64/large-alignment -134: ++ mkdir -p out/test/aarch64/large-alignment -134: ++ case $MACHINE in -134: ++ tlsdesc_opt=-mtls-dialect=desc -129: + on_exit -129: + echo OK -129: OK -129: + exit 0 +134: + cc -o out/test/aarch64/large-alignment/a.o -c -xc - -ffunction-sections +134: + cat 133: + cc -B. -o out/test/aarch64/large-alignment-dso/b.so out/test/aarch64/large-alignment-dso/a.o -shared -124/347 Test #129: aarch64-initfirst ........................................ Passed 0.10 sec +135: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/large-max-page-size-strip.sh +126: + out/test/aarch64/init-array-priorities/exe +135: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +135: ++ export LC_ALL=C +135: ++ LC_ALL=C +135: ++ '[' -z aarch64 ']' +135: ++ '[' -z '' ']' +135: ++ TESTDIR=out/test/aarch64 +135: ++ CC=cc +135: ++ CXX=c++ +135: ++ GCC=gcc +135: ++ GXX=g++ +135: ++ OBJDUMP=objdump +135: ++ OBJCOPY=objcopy +135: ++ STRIP=strip +135: ++ QEMU= +126: + grep 21348756 +135: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/large-max-page-size-strip.sh .sh +126: 21348756 +126: + on_exit +126: + echo OK +126: OK +126: + exit 0 +135: ++ testname=large-max-page-size-strip +135: ++ t=out/test/aarch64/large-max-page-size-strip +135: ++ mkdir -p out/test/aarch64/large-max-page-size-strip +124/347 Test #126: aarch64-init-array-priorities ............................ Passed 0.58 sec test 136 Start 136: aarch64-large-max-page-size @@ -9548,22 +9586,35 @@ 136: MACHINE=aarch64 136: CPU= 136: Test timeout computed to be: 1500 -134: +++ uname -134: ++ '[' Linux = FreeBSD ']' -134: ++ trap 'on_error $LINENO' ERR -134: ++ trap on_exit EXIT -134: ++ echo -n 'Testing large-alignment ... ' -134: Testing large-alignment ... ++ set -o pipefail -134: ++ set -x -134: + '[' aarch64 = i686 ']' -134: + cat -134: + cc -o out/test/aarch64/large-alignment/a.o -c -xc - -ffunction-sections -126: + cat -126: + cc -c -o out/test/aarch64/init-array-priorities/d.o -xc - -130: + readelf --dynamic out/test/aarch64/interpose/b.so -130: + grep 'Flags:.*INTERPOSE' -130: 0x000000006ffffffb (FLAGS_1) Flags: INTERPOSE +134: + cc -B. -o out/test/aarch64/large-alignment/exe out/test/aarch64/large-alignment/a.o +131: mold: fatal: invalid version pattern: foo[12 136: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/large-max-page-size.sh +131: + on_exit +131: + echo OK +131: OK +131: + exit 0 +125/347 Test #131: aarch64-invalid-version-script ........................... Passed 0.19 sec +test 137 + Start 137: aarch64-large-text + +137: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/large-text.sh" +137: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +137: Environment variables: +137: MACHINE=aarch64 +137: CPU= +137: Test timeout computed to be: 1500 +135: ++ case $MACHINE in +135: ++ tlsdesc_opt=-mtls-dialect=desc +135: +++ uname +135: ++ '[' Linux = FreeBSD ']' +135: ++ trap 'on_error $LINENO' ERR +135: ++ trap on_exit EXIT +135: ++ echo -n 'Testing large-max-page-size-strip ... ' +135: Testing large-max-page-size-strip ... ++ set -o pipefail +135: ++ set -x +135: + '[' aarch64 = arm ']' +135: + strip=strip +135: + command -v strip 136: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 136: ++ export LC_ALL=C 136: ++ LC_ALL=C @@ -9578,58 +9629,10 @@ 136: ++ OBJCOPY=objcopy 136: ++ STRIP=strip 136: ++ QEMU= -130: + on_exit -130: + echo OK -130: OK -130: + exit 0 -135: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/large-max-page-size-strip.sh -125/347 Test #130: aarch64-interpose ........................................ Passed 0.11 sec -test 137 - Start 137: aarch64-large-text - -137: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/large-text.sh" -137: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -137: Environment variables: -137: MACHINE=aarch64 -137: CPU= -137: Test timeout computed to be: 1500 -127: + not grep -F '(INIT)' -127: + grep -F '(INIT)' -127: + readelf --dynamic out/test/aarch64/init-in-dso/exe 136: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/large-max-page-size.sh .sh -136: ++ testname=large-max-page-size -136: ++ t=out/test/aarch64/large-max-page-size -136: ++ mkdir -p out/test/aarch64/large-max-page-size -135: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -135: ++ export LC_ALL=C -135: ++ LC_ALL=C -135: ++ '[' -z aarch64 ']' -135: ++ '[' -z '' ']' -135: ++ TESTDIR=out/test/aarch64 -135: ++ CC=cc -135: ++ CXX=c++ -135: ++ GCC=gcc -135: ++ GXX=g++ -135: ++ OBJDUMP=objdump -135: ++ OBJCOPY=objcopy -135: ++ STRIP=strip -135: ++ QEMU= -136: ++ case $MACHINE in -136: ++ tlsdesc_opt=-mtls-dialect=desc -136: +++ uname -136: ++ '[' Linux = FreeBSD ']' -127: + return 0 -127: + on_exit -127: + echo OK -127: OK -127: + exit 0 +135: + cc -o out/test/aarch64/large-max-page-size-strip/a.o -c -xc - -fPIC +135: + cat 137: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/large-text.sh -136: ++ trap 'on_error $LINENO' ERR -136: ++ trap on_exit EXIT -136: ++ echo -n 'Testing large-max-page-size ... ' -136: Testing large-max-page-size ... ++ set -o pipefail -136: ++ set -x -126/347 Test #127: aarch64-init-in-dso ...................................... Passed 0.13 sec 137: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 137: ++ export LC_ALL=C 137: ++ LC_ALL=C @@ -9640,104 +9643,74 @@ 137: ++ CXX=c++ 137: ++ GCC=gcc 137: ++ GXX=g++ -test 138 - Start 138: aarch64-library - -138: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/library.sh" -138: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -138: Environment variables: -138: MACHINE=aarch64 -138: CPU= -138: Test timeout computed to be: 1500 137: ++ OBJDUMP=objdump 137: ++ OBJCOPY=objcopy 137: ++ STRIP=strip 137: ++ QEMU= +136: ++ testname=large-max-page-size +136: ++ t=out/test/aarch64/large-max-page-size +136: ++ mkdir -p out/test/aarch64/large-max-page-size 137: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/large-text.sh .sh +136: ++ case $MACHINE in +136: ++ tlsdesc_opt=-mtls-dialect=desc 137: ++ testname=large-text 137: ++ t=out/test/aarch64/large-text 137: ++ mkdir -p out/test/aarch64/large-text +136: +++ uname +136: ++ '[' Linux = FreeBSD ']' +136: ++ trap 'on_error $LINENO' ERR +136: ++ trap on_exit EXIT +136: ++ echo -n 'Testing large-max-page-size ... ' +136: Testing large-max-page-size ... ++ set -o pipefail +136: ++ set -x 136: + cc -o out/test/aarch64/large-max-page-size/a.o -c -xc - -fPIC -136: + cat -135: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/large-max-page-size-strip.sh .sh -138: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/library.sh -135: ++ testname=large-max-page-size-strip -135: ++ t=out/test/aarch64/large-max-page-size-strip -135: ++ mkdir -p out/test/aarch64/large-max-page-size-strip -138: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -138: ++ export LC_ALL=C -138: ++ LC_ALL=C +133: + cat +133: + cc -o out/test/aarch64/large-alignment-dso/c.o -c -xc - 137: ++ case $MACHINE in 137: ++ tlsdesc_opt=-mtls-dialect=desc -138: ++ '[' -z aarch64 ']' -138: ++ '[' -z '' ']' -138: ++ TESTDIR=out/test/aarch64 -138: ++ CC=cc -138: ++ CXX=c++ -138: ++ GCC=gcc -138: ++ GXX=g++ -138: ++ OBJDUMP=objdump -138: ++ OBJCOPY=objcopy -138: ++ STRIP=strip -138: ++ QEMU= -135: ++ case $MACHINE in -135: ++ tlsdesc_opt=-mtls-dialect=desc -133: + cat -135: +++ uname 137: +++ uname -135: ++ '[' Linux = FreeBSD ']' -135: ++ trap 'on_error $LINENO' ERR -135: ++ trap on_exit EXIT -135: ++ echo -n 'Testing large-max-page-size-strip ... ' -135: Testing large-max-page-size-strip ... ++ set -o pipefail -135: ++ set -x -135: + '[' aarch64 = arm ']' -135: + strip=strip -135: + command -v strip -135: + cat -135: + cc -o out/test/aarch64/large-max-page-size-strip/a.o -c -xc - -fPIC -126: + cat -126: + cc -c -o out/test/aarch64/init-array-priorities/e.o -xc - -138: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/library.sh .sh -138: ++ testname=library -138: ++ t=out/test/aarch64/library -138: ++ mkdir -p out/test/aarch64/library -133: + cc -o out/test/aarch64/large-alignment-dso/c.o -c -xc - +136: + cat 137: ++ '[' Linux = FreeBSD ']' 137: ++ trap 'on_error $LINENO' ERR 137: ++ trap on_exit EXIT 137: ++ echo -n 'Testing large-text ... ' 137: Testing large-text ... ++ set -o pipefail 137: ++ set -x -138: ++ case $MACHINE in -138: ++ tlsdesc_opt=-mtls-dialect=desc -137: + cc -o out/test/aarch64/large-text/a.o -c -xassembler - 137: + cat -134: + cc -B. -o out/test/aarch64/large-alignment/exe out/test/aarch64/large-alignment/a.o -138: +++ uname -138: ++ '[' Linux = FreeBSD ']' -138: ++ trap 'on_error $LINENO' ERR -138: ++ trap on_exit EXIT -138: ++ echo -n 'Testing library ... ' -138: Testing library ... ++ set -o pipefail -138: ++ set -x -138: + cc -o out/test/aarch64/library/a.o -c -xc - -fPIC -128: + not grep -F '(INIT)' -128: + grep -F '(INIT)' -138: + cat -124: + grep 'Hello world' -128: + readelf --dynamic out/test/aarch64/init/exe -124: + out/test/aarch64/ifunc-static/exe +137: + cc -o out/test/aarch64/large-text/a.o -c -xassembler - +133: + 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 +135: + 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 136: + 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 -124: Hello world -124: + on_exit -124: + echo OK -124: OK -124: + exit 0 -123: + grep 'Hello world' -123: + out/test/aarch64/ifunc-static-pie/exe2 -128: + return 0 -127/347 Test #124: aarch64-ifunc-static ..................................... Passed 0.24 sec +137: + cc -o out/test/aarch64/large-text/b.o -c -xc - +137: + cat +134: + out/test/aarch64/large-alignment/exe +134: + grep 'Hello world' +134: Hello world +134: + on_exit +134: + echo OK +134: OK +134: + exit 0 +126/347 Test #134: aarch64-large-alignment .................................. Passed 0.21 sec +test 138 + Start 138: aarch64-library + +138: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/library.sh" +138: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +138: Environment variables: +138: MACHINE=aarch64 +138: CPU= +138: Test timeout computed to be: 1500 +133: + grep 'Hello world' +136: + out/test/aarch64/large-max-page-size/exe +133: + out/test/aarch64/large-alignment-dso/exe +138: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/library.sh +133: Hello world +133: + on_exit +133: + echo OK +133: OK +133: + exit 0 +136: + grep 'Hello world' +127/347 Test #133: aarch64-large-alignment-dso .............................. Passed 0.31 sec test 139 Start 139: aarch64-link-order @@ -9747,17 +9720,12 @@ 139: MACHINE=aarch64 139: CPU= 139: Test timeout computed to be: 1500 -128: + on_exit -128: + echo OK -128: OK -128: + exit 0 -123: Hello world -123: + on_exit -123: + echo OK -123: OK -123: + exit 0 -128/347 Test #123: aarch64-ifunc-static-pie ................................. Passed 0.25 sec -129/347 Test #128: aarch64-init ............................................. Passed 0.17 sec +136: Hello world +136: + on_exit +136: + echo OK +136: OK +136: + exit 0 +128/347 Test #136: aarch64-large-max-page-size .............................. Passed 0.15 sec test 140 Start 140: aarch64-linker-script-defsym @@ -9767,16 +9735,27 @@ 140: MACHINE=aarch64 140: CPU= 140: Test timeout computed to be: 1500 -test 141 - Start 141: aarch64-linker-script-error - -141: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/linker-script-error.sh" -141: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -141: Environment variables: -141: MACHINE=aarch64 -141: CPU= -141: Test timeout computed to be: 1500 +138: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +138: ++ export LC_ALL=C +138: ++ LC_ALL=C +138: ++ '[' -z aarch64 ']' +138: ++ '[' -z '' ']' +138: ++ TESTDIR=out/test/aarch64 +138: ++ CC=cc +138: ++ CXX=c++ +138: ++ GCC=gcc +138: ++ GXX=g++ +138: ++ OBJDUMP=objdump +138: ++ OBJCOPY=objcopy +138: ++ STRIP=strip +138: ++ QEMU= +138: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/library.sh .sh +138: ++ testname=library +138: ++ t=out/test/aarch64/library +138: ++ mkdir -p out/test/aarch64/library +137: + cc -B. -o out/test/aarch64/large-text/exe out/test/aarch64/large-text/a.o out/test/aarch64/large-text/b.o 139: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/link-order.sh +135: + strip out/test/aarch64/large-max-page-size-strip/exe 139: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 139: ++ export LC_ALL=C 139: ++ LC_ALL=C @@ -9791,25 +9770,80 @@ 139: ++ OBJCOPY=objcopy 139: ++ STRIP=strip 139: ++ QEMU= +140: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script-defsym.sh +140: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +140: ++ export LC_ALL=C +140: ++ LC_ALL=C +140: ++ '[' -z aarch64 ']' +140: ++ '[' -z '' ']' +140: ++ TESTDIR=out/test/aarch64 +140: ++ CC=cc +140: ++ CXX=c++ +140: ++ GCC=gcc +140: ++ GXX=g++ +140: ++ OBJDUMP=objdump +140: ++ OBJCOPY=objcopy +140: ++ STRIP=strip +140: ++ QEMU= 139: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/link-order.sh .sh +138: ++ case $MACHINE in +138: ++ tlsdesc_opt=-mtls-dialect=desc 139: ++ testname=link-order 139: ++ t=out/test/aarch64/link-order 139: ++ mkdir -p out/test/aarch64/link-order +138: +++ uname +135: + out/test/aarch64/large-max-page-size-strip/exe +135: + grep 'Hello world' +140: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script-defsym.sh .sh +138: ++ '[' Linux = FreeBSD ']' +138: ++ trap 'on_error $LINENO' ERR +138: ++ trap on_exit EXIT +138: ++ echo -n 'Testing library ... ' +138: Testing library ... ++ set -o pipefail +138: ++ set -x +140: ++ testname=linker-script-defsym +140: ++ t=out/test/aarch64/linker-script-defsym +140: ++ mkdir -p out/test/aarch64/linker-script-defsym +138: + cc -o out/test/aarch64/library/a.o -c -xc - -fPIC +135: Hello world +135: + on_exit +135: + echo OK +135: OK +135: + exit 0 +138: + cat +129/347 Test #135: aarch64-large-max-page-size-strip ........................ Passed 0.21 sec +test 141 + Start 141: aarch64-linker-script-error + +141: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/linker-script-error.sh" +141: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +141: Environment variables: +141: MACHINE=aarch64 +141: CPU= +141: Test timeout computed to be: 1500 139: ++ case $MACHINE in 139: ++ tlsdesc_opt=-mtls-dialect=desc 139: +++ uname -133: + 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 139: ++ '[' Linux = FreeBSD ']' 139: ++ trap 'on_error $LINENO' ERR 139: ++ trap on_exit EXIT 139: ++ echo -n 'Testing link-order ... ' 139: Testing link-order ... ++ set -o pipefail 139: ++ set -x -139: + cat 139: + cc -fPIC -c -o out/test/aarch64/link-order/a.o -xc - -137: + cc -o out/test/aarch64/large-text/b.o -c -xc - +139: + cat +140: ++ case $MACHINE in +140: ++ tlsdesc_opt=-mtls-dialect=desc +140: +++ uname +140: ++ '[' Linux = FreeBSD ']' +140: ++ trap 'on_error $LINENO' ERR +140: ++ trap on_exit EXIT +140: ++ echo -n 'Testing linker-script-defsym ... ' +140: Testing linker-script-defsym ... ++ set -o pipefail +140: ++ set -x +140: + cat +140: + cc -o out/test/aarch64/linker-script-defsym/a.o -c -xc - 141: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script-error.sh -126: + cc -c -o out/test/aarch64/init-array-priorities/f.o -xc - 141: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 141: ++ export LC_ALL=C 141: ++ LC_ALL=C @@ -9824,69 +9858,43 @@ 141: ++ OBJCOPY=objcopy 141: ++ STRIP=strip 141: ++ QEMU= -135: + 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 -126: + cat 141: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script-error.sh .sh +140: + cat 141: ++ testname=linker-script-error 141: ++ t=out/test/aarch64/linker-script-error 141: ++ mkdir -p out/test/aarch64/linker-script-error -140: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script-defsym.sh +140: + 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 141: ++ case $MACHINE in 141: ++ tlsdesc_opt=-mtls-dialect=desc -140: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -140: ++ export LC_ALL=C -140: ++ LC_ALL=C -140: ++ '[' -z aarch64 ']' -140: ++ '[' -z '' ']' -140: ++ TESTDIR=out/test/aarch64 -140: ++ CC=cc -140: ++ CXX=c++ -140: ++ GCC=gcc -140: ++ GXX=g++ -140: ++ OBJDUMP=objdump -140: ++ OBJCOPY=objcopy -140: ++ STRIP=strip -140: ++ QEMU= -137: + cat -140: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script-defsym.sh .sh -140: ++ testname=linker-script-defsym -140: ++ t=out/test/aarch64/linker-script-defsym -140: ++ mkdir -p out/test/aarch64/linker-script-defsym -138: + cc -B. -shared -o out/test/aarch64/library/libfoobar.so out/test/aarch64/library/a.o -140: ++ case $MACHINE in -140: ++ tlsdesc_opt=-mtls-dialect=desc -140: +++ uname 141: +++ uname -140: ++ '[' Linux = FreeBSD ']' -140: ++ trap 'on_error $LINENO' ERR -140: ++ trap on_exit EXIT -140: ++ echo -n 'Testing linker-script-defsym ... ' -140: Testing linker-script-defsym ... ++ set -o pipefail -140: ++ set -x 141: ++ '[' Linux = FreeBSD ']' 141: ++ trap 'on_error $LINENO' ERR 141: ++ trap on_exit EXIT 141: ++ echo -n 'Testing linker-script-error ... ' 141: Testing linker-script-error ... ++ set -o pipefail 141: ++ set -x -140: + cc -o out/test/aarch64/linker-script-defsym/a.o -c -xc - -140: + cat -141: + cat 141: + cc -o out/test/aarch64/linker-script-error/a.o -c -xc - -134: + grep 'Hello world' -136: + grep 'Hello world' -126: + cat -126: + cc -c -o out/test/aarch64/init-array-priorities/g.o -xc - -134: + out/test/aarch64/large-alignment/exe -134: Hello world -134: + on_exit -134: + echo OK -134: OK -134: + exit 0 -137: + cc -B. -o out/test/aarch64/large-text/exe out/test/aarch64/large-text/a.o out/test/aarch64/large-text/b.o -130/347 Test #134: aarch64-large-alignment .................................. Passed 0.12 sec +141: + cat +138: + cc -B. -shared -o out/test/aarch64/library/libfoobar.so out/test/aarch64/library/a.o 139: + cc -B. -shared -o out/test/aarch64/link-order/libfoo.so out/test/aarch64/link-order/a.o -136: + out/test/aarch64/large-max-page-size/exe +140: + grep 'FUNC .* bar' +140: + readelf -sW out/test/aarch64/linker-script-defsym/b.so +140: 5: 00000000000106e8 0 FUNC GLOBAL DEFAULT 13 bar +140: 97: 00000000000106e8 0 FUNC GLOBAL DEFAULT 13 bar +141: + echo 'VERSION { ver_x /*' +140: + cc -o out/test/aarch64/linker-script-defsym/c.o -c -xc - +141: + grep 'unclosed comment' +139: + ar crs out/test/aarch64/link-order/libfoo.a out/test/aarch64/link-order/a.o +137: + out/test/aarch64/large-text/exe +140: + cat +141: + not 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 +137: + grep 'Hello world' +137: Hello world +137: + on_exit +137: + echo OK +137: OK +137: + exit 0 +130/347 Test #137: aarch64-large-text ....................................... Passed 0.32 sec test 142 Start 142: aarch64-linker-script-relocatable @@ -9896,21 +9904,8 @@ 142: MACHINE=aarch64 142: CPU= 142: Test timeout computed to be: 1500 -136: Hello world -136: + on_exit -136: + echo OK -136: OK -136: + exit 0 -131/347 Test #136: aarch64-large-max-page-size .............................. Passed 0.12 sec -test 143 - Start 143: aarch64-linker-script - -143: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/linker-script.sh" -143: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -143: Environment variables: -143: MACHINE=aarch64 -143: CPU= -143: Test timeout computed to be: 1500 +139: + cat +139: + cc -c -o out/test/aarch64/link-order/b.o -xc - 142: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script-relocatable.sh 142: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 142: ++ export LC_ALL=C @@ -9926,49 +9921,45 @@ 142: ++ OBJCOPY=objcopy 142: ++ STRIP=strip 142: ++ QEMU= +138: + cc -o out/test/aarch64/library/c.o -c -xc - 142: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script-relocatable.sh .sh 142: ++ testname=linker-script-relocatable 142: ++ t=out/test/aarch64/linker-script-relocatable 142: ++ mkdir -p out/test/aarch64/linker-script-relocatable +138: + cat +140: + 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 142: ++ case $MACHINE in 142: ++ tlsdesc_opt=-mtls-dialect=desc 142: +++ uname -133: + out/test/aarch64/large-alignment-dso/exe -133: + grep 'Hello world' -133: Hello world -133: + on_exit -133: + echo OK -133: OK -140: + cat -140: + 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 -133: + exit 0 -132/347 Test #133: aarch64-large-alignment-dso .............................. Passed 0.17 sec 142: ++ '[' Linux = FreeBSD ']' -test 144 - Start 144: aarch64-linker-script2 - -144: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/linker-script2.sh" -144: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -144: Environment variables: -144: MACHINE=aarch64 -144: CPU= -144: Test timeout computed to be: 1500 142: ++ trap 'on_error $LINENO' ERR 142: ++ trap on_exit EXIT 142: ++ echo -n 'Testing linker-script-relocatable ... ' 142: Testing linker-script-relocatable ... ++ set -o pipefail 142: ++ set -x +142: + grep __tsan_init 142: + nm mold -141: + echo 'VERSION { ver_x /*' -141: + grep 'unclosed comment' +141: ^ unclosed comment +141: + on_exit +141: + echo OK +141: OK +141: + exit 0 +131/347 Test #141: aarch64-linker-script-error .............................. Passed 0.19 sec +test 143 + Start 143: aarch64-linker-script + +143: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/linker-script.sh" +143: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +143: Environment variables: +143: MACHINE=aarch64 +143: CPU= +143: Test timeout computed to be: 1500 +139: + 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 143: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script.sh -135: + strip out/test/aarch64/large-max-page-size-strip/exe -141: + not 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 143: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 143: ++ export LC_ALL=C 143: ++ LC_ALL=C 143: ++ '[' -z aarch64 ']' -142: + grep __tsan_init 143: ++ '[' -z '' ']' 143: ++ TESTDIR=out/test/aarch64 143: ++ CC=cc @@ -9980,10 +9971,41 @@ 143: ++ STRIP=strip 143: ++ QEMU= 143: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script.sh .sh -144: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script2.sh +138: + 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 143: ++ testname=linker-script 143: ++ t=out/test/aarch64/linker-script 143: ++ mkdir -p out/test/aarch64/linker-script +143: ++ case $MACHINE in +143: ++ tlsdesc_opt=-mtls-dialect=desc +143: +++ uname +132: + c++ -B. -o out/test/aarch64/issue646/exe out/test/aarch64/issue646/a.o +143: ++ '[' Linux = FreeBSD ']' +143: ++ trap 'on_error $LINENO' ERR +143: ++ trap on_exit EXIT +143: ++ echo -n 'Testing linker-script ... ' +143: Testing linker-script ... ++ set -o pipefail +143: ++ set -x +143: + cc -o out/test/aarch64/linker-script/a.o -c -xc - +143: + cat +140: + out/test/aarch64/linker-script-defsym/exe +140: + grep 42 +140: 42 +140: + on_exit +140: + echo OK +140: OK +140: + exit 0 +132/347 Test #140: aarch64-linker-script-defsym ............................. Passed 0.30 sec +test 144 + Start 144: aarch64-linker-script2 + +144: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/linker-script2.sh" +144: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +144: Environment variables: +144: MACHINE=aarch64 +144: CPU= +144: Test timeout computed to be: 1500 +139: + readelf --dynamic out/test/aarch64/link-order/exe +144: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script2.sh 144: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 144: ++ export LC_ALL=C 144: ++ LC_ALL=C @@ -9998,20 +10020,43 @@ 144: ++ OBJCOPY=objcopy 144: ++ STRIP=strip 144: ++ QEMU= +139: + grep libfoo 144: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script2.sh .sh -135: + out/test/aarch64/large-max-page-size-strip/exe +138: + grep 'Hello world' +139: 0x0000000000000001 (NEEDED) Shared library: [out/test/aarch64/link-order/libfoo.so] +139: + 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 +138: + out/test/aarch64/library/exe1 +138: Hello world +138: + 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 144: ++ testname=linker-script2 144: ++ t=out/test/aarch64/linker-script2 144: ++ mkdir -p out/test/aarch64/linker-script2 -135: + grep 'Hello world' -126: + cat -126: + cc -c -o out/test/aarch64/init-array-priorities/h.o -xc - -135: Hello world -135: + on_exit -135: + echo OK -135: OK -135: + exit 0 -133/347 Test #135: aarch64-large-max-page-size-strip ........................ Passed 0.14 sec +144: ++ case $MACHINE in +144: ++ tlsdesc_opt=-mtls-dialect=desc +144: +++ uname +143: + cat +144: ++ '[' Linux = FreeBSD ']' +144: ++ trap 'on_error $LINENO' ERR +144: ++ trap on_exit EXIT +144: ++ echo -n 'Testing linker-script2 ... ' +144: Testing linker-script2 ... ++ set -o pipefail +144: ++ set -x +144: + cat +144: + cc -o out/test/aarch64/linker-script2/a.o -c -xc - +143: + cc -B. -o out/test/aarch64/linker-script/exe out/test/aarch64/linker-script/script +144: + mkdir -p out/test/aarch64/linker-script2/foo/bar +144: + rm -f out/test/aarch64/linker-script2/foo/bar/libfoo.a +144: + ar rcs out/test/aarch64/linker-script2/foo/bar/libfoo.a out/test/aarch64/linker-script2/a.o +144: + cat +144: + cc -B. -o out/test/aarch64/linker-script2/exe -Lout/test/aarch64/linker-script2/foo/bar out/test/aarch64/linker-script2/b.script +132: + out/test/aarch64/issue646/exe +132: + grep 'error: exception' +132: error: exception +132: + on_exit +132: + echo OK +132: OK +132: + exit 0 +133/347 Test #132: aarch64-issue646 ......................................... Passed 0.75 sec test 145 Start 145: aarch64-linker-script3 @@ -10021,18 +10066,16 @@ 145: MACHINE=aarch64 145: CPU= 145: Test timeout computed to be: 1500 -143: ++ case $MACHINE in -143: ++ tlsdesc_opt=-mtls-dialect=desc -143: +++ uname -143: ++ '[' Linux = FreeBSD ']' -143: ++ trap 'on_error $LINENO' ERR -143: ++ trap on_exit EXIT -143: ++ echo -n 'Testing linker-script ... ' -143: Testing linker-script ... ++ set -o pipefail -143: ++ set -x -143: + cat -144: ++ case $MACHINE in -144: ++ tlsdesc_opt=-mtls-dialect=desc +139: + readelf --dynamic out/test/aarch64/link-order/exe +138: + grep 'Hello world' +138: + out/test/aarch64/library/exe2 +139: + not grep libfoo +139: + grep libfoo +138: Hello world +138: + on_exit +138: + echo OK +138: OK +138: + exit 0 145: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script3.sh 145: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 145: ++ export LC_ALL=C @@ -10048,46 +10091,8 @@ 145: ++ OBJCOPY=objcopy 145: ++ STRIP=strip 145: ++ QEMU= -145: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script3.sh .sh -144: +++ uname -143: + cc -o out/test/aarch64/linker-script/a.o -c -xc - -145: ++ testname=linker-script3 -145: ++ t=out/test/aarch64/linker-script3 -145: ++ mkdir -p out/test/aarch64/linker-script3 -138: + cc -o out/test/aarch64/library/c.o -c -xc - -144: ++ '[' Linux = FreeBSD ']' -144: ++ trap 'on_error $LINENO' ERR -144: ++ trap on_exit EXIT -144: ++ echo -n 'Testing linker-script2 ... ' -144: Testing linker-script2 ... ++ set -o pipefail -144: ++ set -x -144: + cat -145: ++ case $MACHINE in -145: ++ tlsdesc_opt=-mtls-dialect=desc -138: + cat -145: +++ uname -145: ++ '[' Linux = FreeBSD ']' -145: ++ trap 'on_error $LINENO' ERR -145: ++ trap on_exit EXIT -145: ++ echo -n 'Testing linker-script3 ... ' -145: Testing linker-script3 ... ++ set -o pipefail -145: ++ set -x -145: + mkdir -p out/test/aarch64/linker-script3/foo -144: + cc -o out/test/aarch64/linker-script2/a.o -c -xc - -145: + cat -145: + cc -o out/test/aarch64/linker-script3/foo/a.o -c -xc - -139: + ar crs out/test/aarch64/link-order/libfoo.a out/test/aarch64/link-order/a.o -139: + cat -139: + cc -c -o out/test/aarch64/link-order/b.o -xc - -126: + cc -c -o out/test/aarch64/init-array-priorities/i.o -xc - -141: ^ unclosed comment -141: + on_exit -141: + echo OK -141: OK -141: + exit 0 -134/347 Test #141: aarch64-linker-script-error .............................. Passed 0.11 sec -144: + mkdir -p out/test/aarch64/linker-script2/foo/bar -145: + cat +142: + cat +134/347 Test #138: aarch64-library .......................................... Passed 0.48 sec test 146 Start 146: aarch64-linker-script4 @@ -10097,33 +10102,12 @@ 146: MACHINE=aarch64 146: CPU= 146: Test timeout computed to be: 1500 -144: + rm -f out/test/aarch64/linker-script2/foo/bar/libfoo.a -145: + cc -B. -o out/test/aarch64/linker-script3/exe -Lout/test/aarch64/linker-script3/foo out/test/aarch64/linker-script3/b.script -126: + cat -137: + grep 'Hello world' -137: + out/test/aarch64/large-text/exe -137: Hello world -137: + on_exit -137: + echo OK -137: OK -137: + exit 0 -143: + cat -138: + 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 -135/347 Test #137: aarch64-large-text ....................................... Passed 0.17 sec -143: + cc -B. -o out/test/aarch64/linker-script/exe out/test/aarch64/linker-script/script -test 147 - Start 147: aarch64-linker-script5 - -147: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/linker-script5.sh" -147: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -147: Environment variables: -147: MACHINE=aarch64 -147: CPU= -147: Test timeout computed to be: 1500 -144: + ar rcs out/test/aarch64/linker-script2/foo/bar/libfoo.a out/test/aarch64/linker-script2/a.o -144: + cat +145: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script3.sh .sh 146: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script4.sh -140: + readelf -sW out/test/aarch64/linker-script-defsym/b.so +145: ++ testname=linker-script3 +145: ++ t=out/test/aarch64/linker-script3 +145: ++ mkdir -p out/test/aarch64/linker-script3 +142: + cc -c -o out/test/aarch64/linker-script-relocatable/a.o -xc - 146: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 146: ++ export LC_ALL=C 146: ++ LC_ALL=C @@ -10138,36 +10122,13 @@ 146: ++ OBJCOPY=objcopy 146: ++ STRIP=strip 146: ++ QEMU= -140: + grep 'FUNC .* bar' -144: + cc -B. -o out/test/aarch64/linker-script2/exe -Lout/test/aarch64/linker-script2/foo/bar out/test/aarch64/linker-script2/b.script 146: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script4.sh .sh -140: 5: 00000000000106e8 0 FUNC GLOBAL DEFAULT 13 bar -140: 97: 00000000000106e8 0 FUNC GLOBAL DEFAULT 13 bar 146: ++ testname=linker-script4 146: ++ t=out/test/aarch64/linker-script4 146: ++ mkdir -p out/test/aarch64/linker-script4 -139: + 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 -140: + cat -147: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script5.sh -140: + cc -o out/test/aarch64/linker-script-defsym/c.o -c -xc - 146: ++ case $MACHINE in 146: ++ tlsdesc_opt=-mtls-dialect=desc 146: +++ uname -147: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -147: ++ export LC_ALL=C -147: ++ LC_ALL=C -147: ++ '[' -z aarch64 ']' -147: ++ '[' -z '' ']' -147: ++ TESTDIR=out/test/aarch64 -147: ++ CC=cc -147: ++ CXX=c++ -147: ++ GCC=gcc -147: ++ GXX=g++ -147: ++ OBJDUMP=objdump -147: ++ OBJCOPY=objcopy -147: ++ STRIP=strip -147: ++ QEMU= -147: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script5.sh .sh 146: ++ '[' Linux = FreeBSD ']' 146: ++ trap 'on_error $LINENO' ERR 146: ++ trap on_exit EXIT @@ -10176,36 +10137,38 @@ 146: ++ set -x 146: + echo 'VERSION { ver_x { global: *; }; };' 146: + cat +139: + return 0 +139: + on_exit +139: + echo OK +139: OK +139: + exit 0 +145: ++ case $MACHINE in +145: ++ tlsdesc_opt=-mtls-dialect=desc +145: +++ uname +135/347 Test #139: aarch64-link-order ....................................... Passed 0.46 sec +145: ++ '[' Linux = FreeBSD ']' +test 147 + Start 147: aarch64-linker-script5 + +147: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/linker-script5.sh" +147: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +147: Environment variables: +147: MACHINE=aarch64 +147: CPU= +147: Test timeout computed to be: 1500 +145: ++ trap 'on_error $LINENO' ERR +145: ++ trap on_exit EXIT +145: ++ echo -n 'Testing linker-script3 ... ' +145: Testing linker-script3 ... ++ set -o pipefail +145: ++ set -x +145: + mkdir -p out/test/aarch64/linker-script3/foo 146: + 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 -147: ++ testname=linker-script5 -147: ++ t=out/test/aarch64/linker-script5 -147: ++ mkdir -p out/test/aarch64/linker-script5 -147: ++ case $MACHINE in -147: ++ tlsdesc_opt=-mtls-dialect=desc -147: +++ uname -147: ++ '[' Linux = FreeBSD ']' -147: ++ trap 'on_error $LINENO' ERR -147: ++ trap on_exit EXIT -147: ++ echo -n 'Testing linker-script5 ... ' -147: Testing linker-script5 ... ++ set -o pipefail -147: ++ set -x -147: + mkdir -p out/test/aarch64/linker-script5/foo -147: + cat -147: + cc -o out/test/aarch64/linker-script5/foo/a.o -c -xc - -126: + 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 -93: + grep 'fn8 () at .*/d.c:6' out/test/aarch64/gdb-index-dwarf64/log2 -140: + 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 -93: #1 0x0000fffff7f90a58 in fn8 () at out/test/aarch64/gdb-index-dwarf64/d.c:6 144: + on_exit 144: + echo OK 144: OK 144: + exit 0 -93: + grep 'fn7 () at .*/d.c:10' out/test/aarch64/gdb-index-dwarf64/log2 -145: + on_exit -145: + echo OK -145: OK -145: + exit 0 -136/347 Test #145: aarch64-linker-script3 ................................... Passed 0.09 sec +147: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script5.sh +136/347 Test #144: aarch64-linker-script2 ................................... Passed 0.16 sec test 148 Start 148: aarch64-linker-script6 @@ -10215,17 +10178,25 @@ 148: MACHINE=aarch64 148: CPU= 148: Test timeout computed to be: 1500 -137/347 Test #144: aarch64-linker-script2 ................................... Passed 0.10 sec -138: + grep 'Hello world' -test 149 - Start 149: aarch64-lto-archive - -149: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/lto-archive.sh" -149: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -149: Environment variables: -149: MACHINE=aarch64 -149: CPU= -149: Test timeout computed to be: 1500 +147: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +147: ++ export LC_ALL=C +147: ++ LC_ALL=C +147: ++ '[' -z aarch64 ']' +147: ++ '[' -z '' ']' +147: ++ TESTDIR=out/test/aarch64 +147: ++ CC=cc +147: ++ CXX=c++ +147: ++ GCC=gcc +147: ++ GXX=g++ +147: ++ OBJDUMP=objdump +147: ++ OBJCOPY=objcopy +147: ++ STRIP=strip +147: ++ QEMU= +145: + cat +145: + cc -o out/test/aarch64/linker-script3/foo/a.o -c -xc - +147: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script5.sh .sh +143: + out/test/aarch64/linker-script/exe +143: + grep 'Hello world' 148: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script6.sh 148: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 148: ++ export LC_ALL=C @@ -10241,19 +10212,72 @@ 148: ++ OBJCOPY=objcopy 148: ++ STRIP=strip 148: ++ QEMU= +143: Hello world +143: + cc -B. -o out/test/aarch64/linker-script/exe -Wl,-T,out/test/aarch64/linker-script/script +147: ++ testname=linker-script5 +147: ++ t=out/test/aarch64/linker-script5 +147: ++ mkdir -p out/test/aarch64/linker-script5 148: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script6.sh .sh -138: + out/test/aarch64/library/exe1 148: ++ testname=linker-script6 148: ++ t=out/test/aarch64/linker-script6 148: ++ mkdir -p out/test/aarch64/linker-script6 -149: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/lto-archive.sh +147: ++ case $MACHINE in +147: ++ tlsdesc_opt=-mtls-dialect=desc +145: + cat 148: ++ case $MACHINE in 148: ++ tlsdesc_opt=-mtls-dialect=desc -138: Hello world -93: #2 0x0000fffff7f90a70 in fn7 () at out/test/aarch64/gdb-index-dwarf64/d.c:10 -93: + grep 'fn6 () at .*/c.c:4' out/test/aarch64/gdb-index-dwarf64/log2 +147: +++ uname +147: ++ '[' Linux = FreeBSD ']' +147: ++ trap 'on_error $LINENO' ERR +147: ++ trap on_exit EXIT +147: ++ echo -n 'Testing linker-script5 ... ' +147: Testing linker-script5 ... ++ set -o pipefail +147: ++ set -x +147: + mkdir -p out/test/aarch64/linker-script5/foo +142: + cc -c -o out/test/aarch64/linker-script-relocatable/b.o -xc - +148: +++ uname +145: + cc -B. -o out/test/aarch64/linker-script3/exe -Lout/test/aarch64/linker-script3/foo out/test/aarch64/linker-script3/b.script +148: ++ '[' Linux = FreeBSD ']' +148: ++ trap 'on_error $LINENO' ERR +148: ++ trap on_exit EXIT +148: ++ echo -n 'Testing linker-script6 ... ' +148: Testing linker-script6 ... ++ set -o pipefail +148: ++ set -x +148: + mkdir -p out/test/aarch64/linker-script6/foo +142: + cat 147: + cat -138: + 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 +147: + cc -o out/test/aarch64/linker-script5/foo/a.o -c -xc - +148: + cat +148: + cc -o out/test/aarch64/linker-script6/foo/a.o -c -xc - +143: + grep 'Hello world' +143: + out/test/aarch64/linker-script/exe +143: Hello world +143: + cc -B. -o out/test/aarch64/linker-script/exe -Wl,--script,out/test/aarch64/linker-script/script +142: + echo 'INPUT(out/test/aarch64/linker-script-relocatable/a.o out/test/aarch64/linker-script-relocatable/b.o)' +142: + ./mold --relocatable -o out/test/aarch64/linker-script-relocatable/d.o out/test/aarch64/linker-script-relocatable/c.script +148: + cat +148: + cc -B. -o out/test/aarch64/linker-script6/exe out/test/aarch64/linker-script6/foo/b.script +142: + cc -B. -o out/test/aarch64/linker-script-relocatable/exe out/test/aarch64/linker-script-relocatable/d.o +147: + cat +147: + cc -B. -o out/test/aarch64/linker-script5/exe out/test/aarch64/linker-script5/foo/b.script +146: + readelf --version-info out/test/aarch64/linker-script4/c.so +146: + grep -F 'Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x' out/test/aarch64/linker-script4/log +146: 0x001c: Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x +146: + on_exit +146: + echo OK +146: OK +146: + exit 0 +137/347 Test #146: aarch64-linker-script4 ................................... Passed 0.13 sec +test 149 + Start 149: aarch64-lto-archive + +149: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/lto-archive.sh" +149: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +149: Environment variables: +149: MACHINE=aarch64 +149: CPU= +149: Test timeout computed to be: 1500 +149: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/lto-archive.sh 149: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 149: ++ export LC_ALL=C 149: ++ LC_ALL=C @@ -10268,33 +10292,13 @@ 149: ++ OBJCOPY=objcopy 149: ++ STRIP=strip 149: ++ QEMU= -139: + readelf --dynamic out/test/aarch64/link-order/exe -139: + grep libfoo -147: + cc -B. -o out/test/aarch64/linker-script5/exe out/test/aarch64/linker-script5/foo/b.script -148: +++ uname -139: 0x0000000000000001 (NEEDED) Shared library: [out/test/aarch64/link-order/libfoo.so] -139: + 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 -148: ++ '[' Linux = FreeBSD ']' -148: ++ trap 'on_error $LINENO' ERR -148: ++ trap on_exit EXIT -148: ++ echo -n 'Testing linker-script6 ... ' -148: Testing linker-script6 ... ++ set -o pipefail -148: ++ set -x -148: + mkdir -p out/test/aarch64/linker-script6/foo -93: #3 0x0000fffff7f90a14 in fn6 () at out/test/aarch64/gdb-index-dwarf64/c.c:4 149: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/lto-archive.sh .sh -93: + grep 'fn5 () at .*/c.c:8' out/test/aarch64/gdb-index-dwarf64/log2 149: ++ testname=lto-archive 149: ++ t=out/test/aarch64/lto-archive 149: ++ mkdir -p out/test/aarch64/lto-archive -93: #4 0x0000fffff7f90a2c in fn5 () at out/test/aarch64/gdb-index-dwarf64/c.c:8 -93: + grep 'fn4 () at .*/b.c:4' out/test/aarch64/gdb-index-dwarf64/log2 149: ++ case $MACHINE in 149: ++ tlsdesc_opt=-mtls-dialect=desc 149: +++ uname -148: + cc -o out/test/aarch64/linker-script6/foo/a.o -c -xc - -93: #5 0x0000fffff7f909e4 in fn4 () at out/test/aarch64/gdb-index-dwarf64/b.c:4 -93: + grep 'fn3 () at .*/b.c:8' out/test/aarch64/gdb-index-dwarf64/log2 149: ++ '[' Linux = FreeBSD ']' 149: ++ trap 'on_error $LINENO' ERR 149: ++ trap on_exit EXIT @@ -10303,23 +10307,15 @@ 149: ++ set -x 149: + '[' cc = cc ']' 149: + test_cflags -flto -93: #6 0x0000fffff7f909fc in fn3 () at out/test/aarch64/gdb-index-dwarf64/b.c:8 -93: + grep 'fn2 () at .*/a.c:4' out/test/aarch64/gdb-index-dwarf64/log2 -148: + cat -149: + echo 'int main() {}' 149: + cc -B. -flto -o /dev/null -xc - 143: + grep 'Hello world' 143: + out/test/aarch64/linker-script/exe 143: Hello world -143: + cc -B. -o out/test/aarch64/linker-script/exe -Wl,-T,out/test/aarch64/linker-script/script -93: #7 0x0000fffff7f909b4 in fn2 () at out/test/aarch64/gdb-index-dwarf64/a.c:4 -93: + grep 'fn1 () at .*/a.c:8' out/test/aarch64/gdb-index-dwarf64/log2 -93: #8 0x0000fffff7f909cc in fn1 () at out/test/aarch64/gdb-index-dwarf64/a.c:8 -93: + on_exit -93: + echo OK -93: OK -93: + exit 0 -138/347 Test #93: aarch64-gdb-index-dwarf64 ................................ Passed 1.52 sec +143: + on_exit +143: + echo OK +143: OK +143: + exit 0 +138/347 Test #143: aarch64-linker-script .................................... Passed 0.37 sec test 150 Start 150: aarch64-lto-archive2 @@ -10329,30 +10325,6 @@ 150: MACHINE=aarch64 150: CPU= 150: Test timeout computed to be: 1500 -126: + out/test/aarch64/init-array-priorities/exe -140: + out/test/aarch64/linker-script-defsym/exe -126: + grep 21348756 -140: + grep 42 -140: 42 -140: + on_exit -140: + echo OK -140: OK -140: + exit 0 -139/347 Test #140: aarch64-linker-script-defsym ............................. Passed 0.21 sec -test 151 - Start 151: aarch64-lto-archive3 - -151: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/lto-archive3.sh" -151: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -151: Environment variables: -151: MACHINE=aarch64 -151: CPU= -151: Test timeout computed to be: 1500 -126: 21348756 -126: + on_exit -126: + echo OK -126: OK -126: + exit 0 150: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/lto-archive2.sh 150: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 150: ++ export LC_ALL=C @@ -10361,7 +10333,6 @@ 150: ++ '[' -z '' ']' 150: ++ TESTDIR=out/test/aarch64 150: ++ CC=cc -140/347 Test #126: aarch64-init-array-priorities ............................ Passed 0.39 sec 150: ++ CXX=c++ 150: ++ GCC=gcc 150: ++ GXX=g++ @@ -10369,6 +10340,45 @@ 150: ++ OBJCOPY=objcopy 150: ++ STRIP=strip 150: ++ QEMU= +150: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/lto-archive2.sh .sh +150: ++ testname=lto-archive2 +150: ++ t=out/test/aarch64/lto-archive2 +150: ++ mkdir -p out/test/aarch64/lto-archive2 +150: ++ case $MACHINE in +150: ++ tlsdesc_opt=-mtls-dialect=desc +149: + echo 'int main() {}' +148: + on_exit +148: + echo OK +148: OK +148: + exit 0 +142: + grep Hello +142: + out/test/aarch64/linker-script-relocatable/exe +139/347 Test #148: aarch64-linker-script6 ................................... Passed 0.14 sec +test 151 + Start 151: aarch64-lto-archive3 + +151: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/lto-archive3.sh" +151: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +151: Environment variables: +151: MACHINE=aarch64 +151: CPU= +151: Test timeout computed to be: 1500 +142: Hello world +142: + on_exit +142: + echo OK +142: OK +142: + exit 0 +150: +++ uname +150: ++ '[' Linux = FreeBSD ']' +150: ++ trap 'on_error $LINENO' ERR +150: ++ trap on_exit EXIT +150: ++ echo -n 'Testing lto-archive2 ... ' +150: Testing lto-archive2 ... ++ set -o pipefail +150: ++ set -x +150: + test_cflags -flto=auto +150: + echo 'int main() {}' +150: + cc -B. -flto=auto -o /dev/null -xc - +140/347 Test #142: aarch64-linker-script-relocatable ........................ Passed 0.45 sec test 152 Start 152: aarch64-lto-dso @@ -10378,11 +10388,8 @@ 152: MACHINE=aarch64 152: CPU= 152: Test timeout computed to be: 1500 -150: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/lto-archive2.sh .sh -150: ++ testname=lto-archive2 -150: ++ t=out/test/aarch64/lto-archive2 -150: ++ mkdir -p out/test/aarch64/lto-archive2 151: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/lto-archive3.sh +152: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/lto-dso.sh 151: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 151: ++ export LC_ALL=C 151: ++ LC_ALL=C @@ -10397,74 +10404,14 @@ 151: ++ OBJCOPY=objcopy 151: ++ STRIP=strip 151: ++ QEMU= -146: + readelf --version-info out/test/aarch64/linker-script4/c.so -146: + grep -F 'Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x' out/test/aarch64/linker-script4/log -146: 0x001c: Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x -146: + on_exit -146: + echo OK -146: OK -146: + exit 0 -141/347 Test #146: aarch64-linker-script4 ................................... Passed 0.11 sec -test 153 - Start 153: aarch64-lto-gcc - -153: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/lto-gcc.sh" -153: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -153: Environment variables: -153: MACHINE=aarch64 -153: CPU= -153: Test timeout computed to be: 1500 -150: ++ case $MACHINE in -150: ++ tlsdesc_opt=-mtls-dialect=desc -150: +++ uname 151: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/lto-archive3.sh .sh 151: ++ testname=lto-archive3 151: ++ t=out/test/aarch64/lto-archive3 151: ++ mkdir -p out/test/aarch64/lto-archive3 -153: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/lto-gcc.sh -153: + . /build/reproducible-path/mold-2.37.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= -151: ++ case $MACHINE in -151: ++ tlsdesc_opt=-mtls-dialect=desc -151: +++ uname -151: ++ '[' Linux = FreeBSD ']' -151: ++ trap 'on_error $LINENO' ERR -151: ++ trap on_exit EXIT -151: ++ echo -n 'Testing lto-archive3 ... ' -151: Testing lto-archive3 ... ++ set -o pipefail -151: ++ set -x -151: + test_cflags -flto=auto -151: + cc -B. -flto=auto -o /dev/null -xc - -151: + echo 'int main() {}' -150: ++ '[' Linux = FreeBSD ']' -150: ++ trap 'on_error $LINENO' ERR -150: ++ trap on_exit EXIT -150: ++ echo -n 'Testing lto-archive2 ... ' -150: Testing lto-archive2 ... ++ set -o pipefail -150: ++ set -x -150: + test_cflags -flto=auto -153: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/lto-gcc.sh .sh -152: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/lto-dso.sh -153: ++ testname=lto-gcc -153: ++ t=out/test/aarch64/lto-gcc -153: ++ mkdir -p out/test/aarch64/lto-gcc 152: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 152: ++ export LC_ALL=C 152: ++ LC_ALL=C 152: ++ '[' -z aarch64 ']' -148: + cat 152: ++ '[' -z '' ']' 152: ++ TESTDIR=out/test/aarch64 152: ++ CC=cc @@ -10475,34 +10422,52 @@ 152: ++ OBJCOPY=objcopy 152: ++ STRIP=strip 152: ++ QEMU= -150: + echo 'int main() {}' -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: ++ echo -n 'Testing lto-gcc ... ' -153: Testing lto-gcc ... ++ set -o pipefail -153: ++ set -x +151: ++ case $MACHINE in +151: ++ tlsdesc_opt=-mtls-dialect=desc +151: +++ uname +151: ++ '[' Linux = FreeBSD ']' +151: ++ trap 'on_error $LINENO' ERR +151: ++ trap on_exit EXIT +151: ++ echo -n 'Testing lto-archive3 ... ' +151: Testing lto-archive3 ... ++ set -o pipefail +151: ++ set -x +151: + test_cflags -flto=auto 152: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/lto-dso.sh .sh -148: + cc -B. -o out/test/aarch64/linker-script6/exe out/test/aarch64/linker-script6/foo/b.script -150: + cc -B. -flto=auto -o /dev/null -xc - -139: + not grep libfoo -139: + grep libfoo -143: + out/test/aarch64/linker-script/exe +145: + on_exit +145: + echo OK +145: OK +145: + exit 0 152: ++ testname=lto-dso 152: ++ t=out/test/aarch64/lto-dso 152: ++ mkdir -p out/test/aarch64/lto-dso -153: + gcc -B. -flto -o /dev/null -xc - -153: + echo 'int main() {}' -139: + readelf --dynamic out/test/aarch64/link-order/exe -143: + grep 'Hello world' -143: Hello world -143: + cc -B. -o out/test/aarch64/linker-script/exe -Wl,--script,out/test/aarch64/linker-script/script +147: + on_exit +147: + echo OK +147: OK +147: + exit 0 +151: + echo 'int main() {}' +141/347 Test #145: aarch64-linker-script3 ................................... Passed 0.22 sec +142/347 Test #147: aarch64-linker-script5 ................................... Passed 0.19 sec +test 153 + Start 153: aarch64-lto-gcc + +153: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/lto-gcc.sh" +153: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +153: Environment variables: +153: MACHINE=aarch64 +153: CPU= +153: Test timeout computed to be: 1500 +test 154 + Start 154: aarch64-lto-llvm + +154: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/lto-llvm.sh" +154: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +154: Environment variables: +154: MACHINE=aarch64 +154: CPU= +154: Test timeout computed to be: 1500 +151: + cc -B. -flto=auto -o /dev/null -xc - 152: ++ case $MACHINE in 152: ++ tlsdesc_opt=-mtls-dialect=desc -138: + grep 'Hello world' 152: +++ uname 152: ++ '[' Linux = FreeBSD ']' 152: ++ trap 'on_error $LINENO' ERR @@ -10512,40 +10477,27 @@ 152: ++ set -x 152: + test_cflags -flto 152: + echo 'int main() {}' -139: + return 0 -138: + out/test/aarch64/library/exe2 -139: + on_exit -139: + echo OK -139: OK -139: + exit 0 -142/347 Test #139: aarch64-link-order ....................................... Passed 0.26 sec -138: Hello world -test 154 - Start 154: aarch64-lto-llvm - -154: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/lto-llvm.sh" -154: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -154: Environment variables: -154: MACHINE=aarch64 -154: CPU= -154: Test timeout computed to be: 1500 -138: + on_exit -138: + echo OK -138: OK -138: + exit 0 -143/347 Test #138: aarch64-library .......................................... Passed 0.30 sec -test 155 - Start 155: aarch64-lto-no-plugin - -155: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/lto-no-plugin.sh" -155: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -155: Environment variables: -155: MACHINE=aarch64 -155: CPU= -155: Test timeout computed to be: 1500 -154: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/lto-llvm.sh 152: + cc -B. -flto -o /dev/null -xc - -155: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/lto-no-plugin.sh +153: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/lto-gcc.sh +153: + . /build/reproducible-path/mold-2.37.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: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/lto-gcc.sh .sh +153: ++ testname=lto-gcc +153: ++ t=out/test/aarch64/lto-gcc +153: ++ mkdir -p out/test/aarch64/lto-gcc +154: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/lto-llvm.sh 154: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 154: ++ export LC_ALL=C 154: ++ LC_ALL=C @@ -10560,24 +10512,50 @@ 154: ++ OBJCOPY=objcopy 154: ++ STRIP=strip 154: ++ QEMU= +153: ++ case $MACHINE in +153: ++ tlsdesc_opt=-mtls-dialect=desc 154: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/lto-llvm.sh .sh +153: +++ uname 154: ++ testname=lto-llvm 154: ++ t=out/test/aarch64/lto-llvm 154: ++ mkdir -p out/test/aarch64/lto-llvm -147: + on_exit -147: + echo OK -147: OK -147: + exit 0 -144/347 Test #147: aarch64-linker-script5 ................................... Passed 0.16 sec -test 156 - Start 156: aarch64-lto-nostdlib +153: ++ '[' Linux = FreeBSD ']' +153: ++ trap 'on_error $LINENO' ERR +153: ++ trap on_exit EXIT +153: ++ echo -n 'Testing lto-gcc ... ' +153: Testing lto-gcc ... ++ set -o pipefail +153: ++ set -x +153: + gcc -B. -flto -o /dev/null -xc - +153: + echo 'int main() {}' +154: ++ case $MACHINE in +154: ++ tlsdesc_opt=-mtls-dialect=desc +154: +++ uname +154: ++ '[' Linux = FreeBSD ']' +154: ++ trap 'on_error $LINENO' ERR +154: ++ trap on_exit EXIT +154: ++ echo -n 'Testing lto-llvm ... ' +154: Testing lto-llvm ... ++ set -o pipefail +154: ++ set -x +154: ++ uname -m +154: + '[' aarch64 = aarch64 ']' +154: + clang -B. -flto -o /dev/null -xc - +154: + echo 'int main() {}' +154: + skip +154: + echo skipped +154: skipped +154: + trap - EXIT +154: + exit 0 +143/347 Test #154: aarch64-lto-llvm .........................................***Skipped 0.06 sec +test 155 + Start 155: aarch64-lto-no-plugin -156: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/lto-nostdlib.sh" -156: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -156: Environment variables: -156: MACHINE=aarch64 -156: CPU= -156: Test timeout computed to be: 1500 +155: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/lto-no-plugin.sh" +155: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +155: Environment variables: +155: MACHINE=aarch64 +155: CPU= +155: Test timeout computed to be: 1500 +155: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/lto-no-plugin.sh 155: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 155: ++ export LC_ALL=C 155: ++ LC_ALL=C @@ -10592,24 +10570,38 @@ 155: ++ OBJCOPY=objcopy 155: ++ STRIP=strip 155: ++ QEMU= -154: ++ case $MACHINE in -154: ++ tlsdesc_opt=-mtls-dialect=desc -154: +++ uname -154: ++ '[' Linux = FreeBSD ']' -154: ++ trap 'on_error $LINENO' ERR -154: ++ trap on_exit EXIT -154: ++ echo -n 'Testing lto-llvm ... ' -154: Testing lto-llvm ... ++ set -o pipefail -154: ++ set -x -154: ++ uname -m -154: + '[' aarch64 = aarch64 ']' -154: + echo 'int main() {}' 155: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/lto-no-plugin.sh .sh 155: ++ testname=lto-no-plugin 155: ++ t=out/test/aarch64/lto-no-plugin 155: ++ mkdir -p out/test/aarch64/lto-no-plugin 155: ++ case $MACHINE in 155: ++ tlsdesc_opt=-mtls-dialect=desc +155: +++ uname +155: ++ '[' Linux = FreeBSD ']' +155: ++ trap 'on_error $LINENO' ERR +155: ++ trap on_exit EXIT +155: ++ echo -n 'Testing lto-no-plugin ... ' +155: Testing lto-no-plugin ... ++ set -o pipefail +155: ++ set -x +155: ++ uname -m +155: + '[' aarch64 = aarch64 ']' +155: + echo 'int main() {}' +155: + clang -B. -flto -o /dev/null -xc - +155: + skip +155: + echo skipped +155: skipped +155: + trap - EXIT +155: + exit 0 +144/347 Test #155: aarch64-lto-no-plugin ....................................***Skipped 0.05 sec +test 156 + Start 156: aarch64-lto-nostdlib + +156: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/lto-nostdlib.sh" +156: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +156: Environment variables: +156: MACHINE=aarch64 +156: CPU= +156: Test timeout computed to be: 1500 156: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/lto-nostdlib.sh 156: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 156: ++ export LC_ALL=C @@ -10625,17 +10617,43 @@ 156: ++ OBJCOPY=objcopy 156: ++ STRIP=strip 156: ++ QEMU= -154: + clang -B. -flto -o /dev/null -xc - 156: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/lto-nostdlib.sh .sh 156: ++ testname=lto-nostdlib 156: ++ t=out/test/aarch64/lto-nostdlib 156: ++ mkdir -p out/test/aarch64/lto-nostdlib -154: + skip -154: + echo skipped -154: skipped -154: + trap - EXIT -154: + exit 0 -145/347 Test #154: aarch64-lto-llvm .........................................***Skipped 0.04 sec +156: ++ case $MACHINE in +156: ++ tlsdesc_opt=-mtls-dialect=desc +156: +++ uname +156: ++ '[' Linux = FreeBSD ']' +156: ++ trap 'on_error $LINENO' ERR +156: ++ trap on_exit EXIT +156: ++ echo -n 'Testing lto-nostdlib ... ' +156: Testing lto-nostdlib ... ++ set -o pipefail +156: ++ set -x +156: + test_cflags -flto +89: + grep 'hello2 () at .*:7' out/test/aarch64/gdb-index-dwarf2/log +156: + echo 'int main() {}' +90: + grep 'hello2 () at .*:7' out/test/aarch64/gdb-index-dwarf3/log +156: + cc -B. -flto -o /dev/null -xc - +89: #1 0x0000fffff7f90898 in hello2 () at :7 +89: + grep 'hello () at .*:4' out/test/aarch64/gdb-index-dwarf2/log +92: + grep 'fn8 () at .*/d.c:6' out/test/aarch64/gdb-index-dwarf5/log +88: + grep 'hello () at .*:7' out/test/aarch64/gdb-index-compress-output/log +89: #2 0x0000fffff7f90854 in hello () at :4 +93: + 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 +89: + grep 'greet () at .*:8' out/test/aarch64/gdb-index-dwarf2/log +89: #3 0x0000fffff7f9086c in greet () at :8 +89: + grep 'main () at .*:4' out/test/aarch64/gdb-index-dwarf2/log +90: #1 0x0000fffff7f90898 in hello2 () at :7 +92: #1 0x0000fffff7f90a58 in fn8 () at out/test/aarch64/gdb-index-dwarf5/d.c:6 +89: Breakpoint 1, main () at :4 +89: #4 0x0000aaaaaaab07f4 in main () at :4 +89: + on_exit +89: + echo OK +89: OK +89: + exit 0 +92: + grep 'fn7 () at .*/d.c:10' out/test/aarch64/gdb-index-dwarf5/log +145/347 Test #89: aarch64-gdb-index-dwarf2 ................................. Passed 4.17 sec test 157 Start 157: aarch64-lto-version-script @@ -10645,13 +10663,34 @@ 157: MACHINE=aarch64 157: CPU= 157: Test timeout computed to be: 1500 -148: + on_exit -148: + echo OK -148: OK -148: + exit 0 -156: ++ case $MACHINE in -156: ++ tlsdesc_opt=-mtls-dialect=desc -146/347 Test #148: aarch64-linker-script6 ................................... Passed 0.14 sec +91: + grep 'hello2 () at .*:7' out/test/aarch64/gdb-index-dwarf4/log +90: + grep 'hello () at .*:4' out/test/aarch64/gdb-index-dwarf3/log +92: #2 0x0000fffff7f90a70 in fn7 () at out/test/aarch64/gdb-index-dwarf5/d.c:10 +92: + grep 'fn6 () at .*/c.c:4' out/test/aarch64/gdb-index-dwarf5/log +92: #3 0x0000fffff7f90a14 in fn6 () at out/test/aarch64/gdb-index-dwarf5/c.c:4 +92: + grep 'fn5 () at .*/c.c:8' out/test/aarch64/gdb-index-dwarf5/log +92: #4 0x0000fffff7f90a2c in fn5 () at out/test/aarch64/gdb-index-dwarf5/c.c:8 +88: #1 0x0000fffff7f907e8 in hello () at :7 +88: + grep 'greet () at .*:11' out/test/aarch64/gdb-index-compress-output/log +90: #2 0x0000fffff7f90854 in hello () at :4 +90: + grep 'greet () at .*:8' out/test/aarch64/gdb-index-dwarf3/log +92: + grep 'fn4 () at .*/b.c:4' out/test/aarch64/gdb-index-dwarf5/log +91: #1 0x0000fffff7f90898 in hello2 () at :7 +91: + grep 'hello () at .*:4' out/test/aarch64/gdb-index-dwarf4/log +88: #2 0x0000fffff7f90800 in greet () at :11 +88: + grep 'main () at .*:4' out/test/aarch64/gdb-index-compress-output/log +90: #3 0x0000fffff7f9086c in greet () at :8 +90: + grep 'main () at .*:4' out/test/aarch64/gdb-index-dwarf3/log +157: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/lto-version-script.sh +88: Breakpoint 1, main () at :4 +88: #3 0x0000aaaaaaab07f4 in main () at :4 +88: + on_exit +88: + echo OK +88: OK +88: + exit 0 +146/347 Test #88: aarch64-gdb-index-compress-output ........................ Passed 4.25 sec +149: + cat +149: + cc -o out/test/aarch64/lto-archive/a.o -c -flto -xc - test 158 Start 158: aarch64-main-in-dso @@ -10661,16 +10700,12 @@ 158: MACHINE=aarch64 158: CPU= 158: Test timeout computed to be: 1500 -156: +++ uname -156: ++ '[' Linux = FreeBSD ']' -156: ++ trap 'on_error $LINENO' ERR -156: ++ trap on_exit EXIT -156: ++ echo -n 'Testing lto-nostdlib ... ' -156: Testing lto-nostdlib ... ++ set -o pipefail -156: ++ set -x -156: + test_cflags -flto -156: + cc -B. -flto -o /dev/null -xc - -157: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/lto-version-script.sh +90: Breakpoint 1, main () at :4 +90: #4 0x0000aaaaaaab07f4 in main () at :4 +90: + on_exit +90: + echo OK +90: OK +90: + exit 0 157: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 157: ++ export LC_ALL=C 157: ++ LC_ALL=C @@ -10685,6 +10720,47 @@ 157: ++ OBJCOPY=objcopy 157: ++ STRIP=strip 157: ++ QEMU= +157: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/lto-version-script.sh .sh +157: ++ testname=lto-version-script +157: ++ t=out/test/aarch64/lto-version-script +157: ++ mkdir -p out/test/aarch64/lto-version-script +157: ++ case $MACHINE in +157: ++ tlsdesc_opt=-mtls-dialect=desc +157: +++ uname +91: #2 0x0000fffff7f90854 in hello () at :4 +91: + grep 'greet () at .*:8' out/test/aarch64/gdb-index-dwarf4/log +91: #3 0x0000fffff7f9086c in greet () at :8 +91: + grep 'main () at .*:4' out/test/aarch64/gdb-index-dwarf4/log +92: #5 0x0000fffff7f909e4 in fn4 () at out/test/aarch64/gdb-index-dwarf5/b.c:4 +92: + grep 'fn3 () at .*/b.c:8' out/test/aarch64/gdb-index-dwarf5/log +92: #6 0x0000fffff7f909fc in fn3 () at out/test/aarch64/gdb-index-dwarf5/b.c:8 +92: + grep 'fn2 () at .*/a.c:4' out/test/aarch64/gdb-index-dwarf5/log +92: #7 0x0000fffff7f909b4 in fn2 () at out/test/aarch64/gdb-index-dwarf5/a.c:4 +92: + grep 'fn1 () at .*/a.c:8' out/test/aarch64/gdb-index-dwarf5/log +147/347 Test #90: aarch64-gdb-index-dwarf3 ................................. Passed 4.12 sec +157: ++ '[' Linux = FreeBSD ']' +test 159 + Start 159: aarch64-many-sections + +159: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/many-sections.sh" +159: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +159: Environment variables: +159: MACHINE=aarch64 +159: CPU= +159: Test timeout computed to be: 1500 +157: ++ trap 'on_error $LINENO' ERR +157: ++ trap on_exit EXIT +157: ++ echo -n 'Testing lto-version-script ... ' +157: Testing lto-version-script ... ++ set -o pipefail +157: ++ set -x +157: + test_cflags -flto +157: + cc -B. -flto -o /dev/null -xc - +157: + echo 'int main() {}' +92: #8 0x0000fffff7f909cc in fn1 () at out/test/aarch64/gdb-index-dwarf5/a.c:8 +92: + on_exit +92: + echo OK +92: OK +92: + exit 0 158: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/main-in-dso.sh 158: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 158: ++ export LC_ALL=C @@ -10701,66 +10777,17 @@ 158: ++ STRIP=strip 158: ++ QEMU= 158: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/main-in-dso.sh .sh -155: +++ uname -142: + cat -142: + cc -c -o out/test/aarch64/linker-script-relocatable/a.o -xc - -157: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/lto-version-script.sh .sh 158: ++ testname=main-in-dso 158: ++ t=out/test/aarch64/main-in-dso 158: ++ mkdir -p out/test/aarch64/main-in-dso -143: + out/test/aarch64/linker-script/exe -155: ++ '[' Linux = FreeBSD ']' -157: ++ testname=lto-version-script -157: ++ t=out/test/aarch64/lto-version-script -157: ++ mkdir -p out/test/aarch64/lto-version-script -155: ++ trap 'on_error $LINENO' ERR -155: ++ trap on_exit EXIT -155: ++ echo -n 'Testing lto-no-plugin ... ' -155: Testing lto-no-plugin ... ++ set -o pipefail -155: ++ set -x -143: + grep 'Hello world' -155: ++ uname -m -155: + '[' aarch64 = aarch64 ']' -158: ++ case $MACHINE in -158: ++ tlsdesc_opt=-mtls-dialect=desc -157: ++ case $MACHINE in -157: ++ tlsdesc_opt=-mtls-dialect=desc -156: + echo 'int main() {}' -143: Hello world -157: +++ uname -157: ++ '[' Linux = FreeBSD ']' -157: ++ trap 'on_error $LINENO' ERR -157: ++ trap on_exit EXIT -157: ++ echo -n 'Testing lto-version-script ... ' -157: Testing lto-version-script ... ++ set -o pipefail -157: ++ set -x -157: + test_cflags -flto -157: + echo 'int main() {}' -157: + cc -B. -flto -o /dev/null -xc - -143: + on_exit -143: + echo OK -143: OK -143: + exit 0 -155: + echo 'int main() {}' -155: + clang -B. -flto -o /dev/null -xc - -158: +++ uname -132: + c++ -B. -o out/test/aarch64/issue646/exe out/test/aarch64/issue646/a.o -147/347 Test #143: aarch64-linker-script .................................... Passed 0.28 sec -155: + skip -155: + echo skipped -155: skipped -155: + trap - EXIT -155: + exit 0 -test 159 - Start 159: aarch64-many-sections - -159: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/many-sections.sh" -159: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -159: Environment variables: -159: MACHINE=aarch64 -159: CPU= -159: Test timeout computed to be: 1500 -148/347 Test #155: aarch64-lto-no-plugin ....................................***Skipped 0.08 sec +91: Breakpoint 1, main () at :4 +91: #4 0x0000aaaaaaab07f4 in main () at :4 +91: + on_exit +91: + echo OK +91: OK +91: + exit 0 +148/347 Test #91: aarch64-gdb-index-dwarf4 ................................. Passed 4.10 sec +149/347 Test #92: aarch64-gdb-index-dwarf5 ................................. Passed 3.89 sec test 160 Start 160: aarch64-many-sections2 @@ -10770,6 +10797,33 @@ 160: MACHINE=aarch64 160: CPU= 160: Test timeout computed to be: 1500 +test 161 + Start 161: aarch64-mcmodel-large + +161: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/mcmodel-large.sh" +161: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +161: Environment variables: +161: MACHINE=aarch64 +161: CPU= +161: Test timeout computed to be: 1500 +158: ++ case $MACHINE in +158: ++ tlsdesc_opt=-mtls-dialect=desc +160: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/many-sections2.sh +160: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +160: ++ export LC_ALL=C +160: ++ LC_ALL=C +160: ++ '[' -z aarch64 ']' +160: ++ '[' -z '' ']' +160: ++ TESTDIR=out/test/aarch64 +160: ++ CC=cc +160: ++ CXX=c++ +160: ++ GCC=gcc +160: ++ GXX=g++ +160: ++ OBJDUMP=objdump +160: ++ OBJCOPY=objcopy +160: ++ STRIP=strip +160: ++ QEMU= +158: +++ uname 158: ++ '[' Linux = FreeBSD ']' 158: ++ trap 'on_error $LINENO' ERR 158: ++ trap on_exit EXIT @@ -10777,8 +10831,25 @@ 158: Testing main-in-dso ... ++ set -o pipefail 158: ++ set -x 158: + '[' aarch64 = ppc64 ']' -158: + cat 159: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/many-sections.sh +161: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/mcmodel-large.sh +161: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +161: ++ export LC_ALL=C +161: ++ LC_ALL=C +161: ++ '[' -z aarch64 ']' +161: ++ '[' -z '' ']' +161: ++ TESTDIR=out/test/aarch64 +161: ++ CC=cc +161: ++ CXX=c++ +161: ++ GCC=gcc +161: ++ GXX=g++ +161: ++ OBJDUMP=objdump +161: ++ OBJCOPY=objcopy +161: ++ STRIP=strip +161: ++ QEMU= +158: + cat +158: + cc -o out/test/aarch64/main-in-dso/a.o -c -xc - -fPIC +160: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/many-sections2.sh .sh 159: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 159: ++ export LC_ALL=C 159: ++ LC_ALL=C @@ -10794,96 +10865,48 @@ 159: ++ STRIP=strip 159: ++ QEMU= 159: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/many-sections.sh .sh -158: + cc -o out/test/aarch64/main-in-dso/a.o -c -xc - -fPIC -160: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/many-sections2.sh -160: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +161: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/mcmodel-large.sh .sh +160: ++ testname=many-sections2 +160: ++ t=out/test/aarch64/many-sections2 +160: ++ mkdir -p out/test/aarch64/many-sections2 +161: ++ testname=mcmodel-large +161: ++ t=out/test/aarch64/mcmodel-large +161: ++ mkdir -p out/test/aarch64/mcmodel-large 159: ++ testname=many-sections 159: ++ t=out/test/aarch64/many-sections 159: ++ mkdir -p out/test/aarch64/many-sections -160: ++ export LC_ALL=C -160: ++ LC_ALL=C -160: ++ '[' -z aarch64 ']' -160: ++ '[' -z '' ']' -160: ++ TESTDIR=out/test/aarch64 -160: ++ CC=cc -160: ++ CXX=c++ -160: ++ GCC=gcc -160: ++ GXX=g++ -160: ++ OBJDUMP=objdump -160: ++ OBJCOPY=objcopy -160: ++ STRIP=strip -160: ++ QEMU= +160: ++ case $MACHINE in +160: ++ tlsdesc_opt=-mtls-dialect=desc +161: ++ case $MACHINE in +161: ++ tlsdesc_opt=-mtls-dialect=desc +93: + readelf -WS out/test/aarch64/gdb-index-dwarf64/exe2 159: ++ case $MACHINE in 159: ++ tlsdesc_opt=-mtls-dialect=desc -160: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/many-sections2.sh .sh 159: +++ uname -142: + cat -142: + cc -c -o out/test/aarch64/linker-script-relocatable/b.o -xc - -160: ++ testname=many-sections2 -160: ++ t=out/test/aarch64/many-sections2 -160: ++ mkdir -p out/test/aarch64/many-sections2 -160: ++ case $MACHINE in -160: ++ tlsdesc_opt=-mtls-dialect=desc +160: +++ uname +93: + grep -F .gdb_index 159: ++ '[' Linux = FreeBSD ']' 159: ++ trap 'on_error $LINENO' ERR 159: ++ trap on_exit EXIT 159: ++ echo -n 'Testing many-sections ... ' 159: Testing many-sections ... ++ set -o pipefail 159: ++ set -x -159: + cc -c -xassembler -o out/test/aarch64/many-sections/a.o - -159: + seq 1 100000 -160: +++ uname -159: + sed 's/.*/.section .data.\0,"aw"\n.word 0\n/g' 160: ++ '[' Linux = FreeBSD ']' 160: ++ trap 'on_error $LINENO' ERR 160: ++ trap on_exit EXIT 160: ++ echo -n 'Testing many-sections2 ... ' 160: Testing many-sections2 ... ++ set -o pipefail 160: ++ set -x +93: [38] .gdb_index PROGBITS 0000000000000000 002888 000075 00 0 0 4 +159: + sed 's/.*/.section .data.\0,"aw"\n.word 0\n/g' +159: + seq 1 100000 160: + grep __tsan_init 160: + nm mold -132: + grep 'error: exception' -132: + out/test/aarch64/issue646/exe -142: + echo 'INPUT(out/test/aarch64/linker-script-relocatable/a.o out/test/aarch64/linker-script-relocatable/b.o)' -142: + ./mold --relocatable -o out/test/aarch64/linker-script-relocatable/d.o out/test/aarch64/linker-script-relocatable/c.script -158: + cc -B. -shared -o out/test/aarch64/main-in-dso/b.so out/test/aarch64/main-in-dso/a.o -132: error: exception -132: + on_exit -132: + echo OK -132: OK -132: + exit 0 -149/347 Test #132: aarch64-issue646 ......................................... Passed 0.55 sec -test 161 - Start 161: aarch64-mcmodel-large - -161: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/mcmodel-large.sh" -161: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -161: Environment variables: -161: MACHINE=aarch64 -161: CPU= -161: Test timeout computed to be: 1500 -161: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/mcmodel-large.sh -161: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -161: ++ export LC_ALL=C -161: ++ LC_ALL=C -161: ++ '[' -z aarch64 ']' -161: ++ '[' -z '' ']' -161: ++ TESTDIR=out/test/aarch64 -161: ++ CC=cc -161: ++ CXX=c++ -161: ++ GCC=gcc -161: ++ GXX=g++ -161: ++ OBJDUMP=objdump -161: ++ OBJCOPY=objcopy -161: ++ STRIP=strip -161: ++ QEMU= -161: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/mcmodel-large.sh .sh -161: ++ testname=mcmodel-large -161: ++ t=out/test/aarch64/mcmodel-large -161: ++ mkdir -p out/test/aarch64/mcmodel-large -161: ++ case $MACHINE in -161: ++ tlsdesc_opt=-mtls-dialect=desc -142: + cc -B. -o out/test/aarch64/linker-script-relocatable/exe out/test/aarch64/linker-script-relocatable/d.o +93: + out/test/aarch64/gdb-index-dwarf64/exe2 +149: + cc -o out/test/aarch64/lto-archive/b.o -c -flto -xc - +159: + cc -c -xassembler -o out/test/aarch64/many-sections/a.o - +149: + cat +151: + cat 161: +++ uname 161: ++ '[' Linux = FreeBSD ']' 161: ++ trap 'on_error $LINENO' ERR @@ -10893,14 +10916,18 @@ 161: ++ set -x 161: + test_cflags -static -mcmodel=large 161: + echo 'int main() {}' +93: + grep 'Hello world' +93: Hello world +151: + cc -o out/test/aarch64/lto-archive3/a.o -c -xc - -flto +93: + DEBUGINFOD_URLS= +93: + gdb out/test/aarch64/gdb-index-dwarf64/exe2 -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit 161: + cc -B. -static -mcmodel=large -o /dev/null -xc - -158: + cc -o out/test/aarch64/main-in-dso/c.o -c -xc /dev/null -fPIC 161: + skip 161: + echo skipped 161: skipped 161: + trap - EXIT 161: + exit 0 -150/347 Test #161: aarch64-mcmodel-large ....................................***Skipped 0.11 sec +150/347 Test #161: aarch64-mcmodel-large ....................................***Skipped 0.09 sec test 162 Start 162: aarch64-mergeable-strings @@ -10910,8 +10937,9 @@ 162: MACHINE=aarch64 162: CPU= 162: Test timeout computed to be: 1500 -142: + out/test/aarch64/linker-script-relocatable/exe -158: + 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: + rm -f out/test/aarch64/lto-archive/c.a +158: + cc -B. -shared -o out/test/aarch64/main-in-dso/b.so out/test/aarch64/main-in-dso/a.o +149: + ar rc out/test/aarch64/lto-archive/c.a out/test/aarch64/lto-archive/a.o out/test/aarch64/lto-archive/b.o 162: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/mergeable-strings.sh 162: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 162: ++ export LC_ALL=C @@ -10927,33 +10955,20 @@ 162: ++ OBJCOPY=objcopy 162: ++ STRIP=strip 162: ++ QEMU= +151: + rm -f out/test/aarch64/lto-archive3/b.a +151: + ar rc out/test/aarch64/lto-archive3/b.a out/test/aarch64/lto-archive3/a.o +151: + ar rc out/test/aarch64/lto-archive3/c.a out/test/aarch64/lto-archive3/a.o +149: + cc -o out/test/aarch64/lto-archive/d.o -c -flto -xc - +151: + cc -o out/test/aarch64/lto-archive3/c.o -c -xc - +151: + cat 162: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/mergeable-strings.sh .sh -142: + grep Hello -142: Hello world -142: + on_exit -142: + echo OK -142: OK -142: + exit 0 -151/347 Test #142: aarch64-linker-script-relocatable ........................ Passed 0.50 sec -test 163 - Start 163: aarch64-missing-but-ok - -163: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/missing-but-ok.sh" -163: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -163: Environment variables: -163: MACHINE=aarch64 -163: CPU= -163: Test timeout computed to be: 1500 162: ++ testname=mergeable-strings 162: ++ t=out/test/aarch64/mergeable-strings 162: ++ mkdir -p out/test/aarch64/mergeable-strings +149: + cat 162: ++ case $MACHINE in 162: ++ tlsdesc_opt=-mtls-dialect=desc -153: + gcc -flto -c -o out/test/aarch64/lto-gcc/a.o -xc - -150: + echo -150: + cc -o out/test/aarch64/lto-archive2/a.o -c -flto=auto -xc - 162: +++ uname -153: + cat 162: ++ '[' Linux = FreeBSD ']' 162: ++ trap 'on_error $LINENO' ERR 162: ++ trap on_exit EXIT @@ -10961,6 +10976,59 @@ 162: Testing mergeable-strings ... ++ set -o pipefail 162: ++ set -x 162: + cat +162: + cc -o out/test/aarch64/mergeable-strings/a.o -c -xc - -O2 +149: + cc -B. -o out/test/aarch64/lto-archive/exe -flto out/test/aarch64/lto-archive/d.o out/test/aarch64/lto-archive/c.a +150: + cc -o out/test/aarch64/lto-archive2/a.o -c -flto=auto -xc - +152: + cat +150: + echo +152: + cc -flto -c -fPIC -o out/test/aarch64/lto-dso/a.o -xc - +153: + gcc -flto -c -o out/test/aarch64/lto-gcc/a.o -xc - +153: + cat +150: + rm -f out/test/aarch64/lto-archive2/b.a +162: + cat +158: + cc -o out/test/aarch64/main-in-dso/c.o -c -xc /dev/null -fPIC +152: + cc -B. -shared -o out/test/aarch64/lto-dso/b.so -flto out/test/aarch64/lto-dso/a.o +151: + cc -B. -o out/test/aarch64/lto-archive3/exe -flto out/test/aarch64/lto-archive3/c.o out/test/aarch64/lto-archive3/b.a out/test/aarch64/lto-archive3/c.a +153: + gcc -B. -o out/test/aarch64/lto-gcc/exe1 -flto out/test/aarch64/lto-gcc/a.o +162: + cc -o out/test/aarch64/mergeable-strings/b.o -c -xc - -O2 +158: + 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 +150: + ar rc out/test/aarch64/lto-archive2/b.a out/test/aarch64/lto-archive2/a.o +150: + cc -o out/test/aarch64/lto-archive2/c.o -c -xc - +150: + cat +160: + echo 'foo = 0x1000' +156: + cc -flto -c -o out/test/aarch64/lto-nostdlib/a.o -xc - +156: + cat +160: + seq 1 100000 +160: + sed 's/.*/.section .data.&,"aw"\n.globl x&\nx&: .word 0\n/g' +150: + 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 +162: + 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: + cc -B. -o out/test/aarch64/lto-nostdlib/exe -flto out/test/aarch64/lto-nostdlib/a.o -nostdlib +157: + cc -flto -c -fPIC -o out/test/aarch64/lto-version-script/a.o -xc - +158: + out/test/aarch64/main-in-dso/exe1 +158: + grep 'Hello world' +158: Hello world +158: + cc -o out/test/aarch64/main-in-dso/c.o -c -xc /dev/null -fno-PIC +157: + cat +150: + on_exit +150: + echo OK +150: OK +150: + exit 0 +151/347 Test #150: aarch64-lto-archive2 ..................................... Passed 0.72 sec +test 163 + Start 163: aarch64-missing-but-ok + +163: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/missing-but-ok.sh" +163: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +163: Environment variables: +163: MACHINE=aarch64 +163: CPU= +163: Test timeout computed to be: 1500 +162: + grep -E '^(\S+) \1 (\S+) \2 (\S+) \3 (\S+) \4$' +162: + out/test/aarch64/mergeable-strings/exe1 +162: 0x400748 0x400748 0x400730 0x400730 0x400740 0x400740 0x400730 0x400730 +162: + 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 +157: + cat +157: + 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 163: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/missing-but-ok.sh 163: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 163: ++ export LC_ALL=C @@ -10976,58 +11044,40 @@ 163: ++ OBJCOPY=objcopy 163: ++ STRIP=strip 163: ++ QEMU= -149: + cc -o out/test/aarch64/lto-archive/a.o -c -flto -xc - -149: + cat +160: + cc -c -xassembler -o out/test/aarch64/many-sections2/a.o out/test/aarch64/many-sections2/a.s 163: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/missing-but-ok.sh .sh -151: + cc -o out/test/aarch64/lto-archive3/a.o -c -xc - -flto -162: + cc -o out/test/aarch64/mergeable-strings/a.o -c -xc - -O2 163: ++ testname=missing-but-ok 163: ++ t=out/test/aarch64/missing-but-ok 163: ++ mkdir -p out/test/aarch64/missing-but-ok -151: + cat -150: + rm -f out/test/aarch64/lto-archive2/b.a 163: ++ case $MACHINE in 163: ++ tlsdesc_opt=-mtls-dialect=desc -150: + ar rc out/test/aarch64/lto-archive2/b.a out/test/aarch64/lto-archive2/a.o 163: +++ uname +158: + 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 163: ++ '[' Linux = FreeBSD ']' 163: ++ trap 'on_error $LINENO' ERR 163: ++ trap on_exit EXIT 163: ++ echo -n 'Testing missing-but-ok ... ' 163: Testing missing-but-ok ... ++ set -o pipefail 163: ++ set -x -153: + gcc -B. -o out/test/aarch64/lto-gcc/exe1 -flto out/test/aarch64/lto-gcc/a.o -149: + cc -o out/test/aarch64/lto-archive/b.o -c -flto -xc - -151: + rm -f out/test/aarch64/lto-archive3/b.a 163: + cat -149: + cat -151: + ar rc out/test/aarch64/lto-archive3/b.a out/test/aarch64/lto-archive3/a.o 163: + cc -o out/test/aarch64/missing-but-ok/a.o -c -x assembler - -151: + ar rc out/test/aarch64/lto-archive3/c.a out/test/aarch64/lto-archive3/a.o -150: + cc -o out/test/aarch64/lto-archive2/c.o -c -xc - -150: + cat -151: + cc -o out/test/aarch64/lto-archive3/c.o -c -xc - -151: + cat -162: + cat -162: + cc -o out/test/aarch64/mergeable-strings/b.o -c -xc - -O2 163: + ./mold -o out/test/aarch64/missing-but-ok/exe out/test/aarch64/missing-but-ok/a.o -152: + cc -flto -c -fPIC -o out/test/aarch64/lto-dso/a.o -xc - -149: + rm -f out/test/aarch64/lto-archive/c.a -149: + ar rc out/test/aarch64/lto-archive/c.a out/test/aarch64/lto-archive/a.o out/test/aarch64/lto-archive/b.o -152: + cat -158: + grep 'Hello world' -156: + cc -flto -c -o out/test/aarch64/lto-nostdlib/a.o -xc - -158: + out/test/aarch64/main-in-dso/exe1 -156: + cat -158: Hello world -149: + cc -o out/test/aarch64/lto-archive/d.o -c -flto -xc - -158: + cc -o out/test/aarch64/main-in-dso/c.o -c -xc /dev/null -fno-PIC +149: + out/test/aarch64/lto-archive/exe +152: + '[' aarch64 = ppc64 ']' +152: + grep 'T foo' 163: + on_exit 163: + echo OK 163: OK 163: + exit 0 -151: + cc -B. -o out/test/aarch64/lto-archive3/exe -flto out/test/aarch64/lto-archive3/c.o out/test/aarch64/lto-archive3/b.a out/test/aarch64/lto-archive3/c.a -152/347 Test #163: aarch64-missing-but-ok ................................... Passed 0.14 sec +152: + nm -D out/test/aarch64/lto-dso/b.so +149: + grep 'Hello world' +149: Hello world +149: + nm out/test/aarch64/lto-archive/exe +151: + on_exit +151: + echo OK +151: OK +151: + exit 0 +152/347 Test #151: aarch64-lto-archive3 ..................................... Passed 0.82 sec test 164 Start 164: aarch64-missing-error @@ -11037,10 +11087,75 @@ 164: MACHINE=aarch64 164: CPU= 164: Test timeout computed to be: 1500 -152: + cc -B. -shared -o out/test/aarch64/lto-dso/b.so -flto out/test/aarch64/lto-dso/a.o -150: + 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 -149: + cat +152: 00000000000106c8 T foo +152: + on_exit +152: + echo OK +152: OK +152: + exit 0 +158: + grep 'Hello world' +158: + out/test/aarch64/main-in-dso/exe2 +158: Hello world +158: + on_exit +158: + echo OK +158: OK +158: + exit 0 +162: + out/test/aarch64/mergeable-strings/exe2 +162: + grep -E '^(\S+) \1 (\S+) \2 (\S+) \3 (\S+) \4$' +162: 0x200558 0x200558 0x200590 0x200590 0x200588 0x200588 0x200590 0x200590 +162: + on_exit +162: + echo OK +162: OK +162: + exit 0 +153/347 Test #163: aarch64-missing-but-ok ................................... Passed 0.13 sec +149: + grep hello out/test/aarch64/lto-archive/log 164: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/missing-error.sh +154/347 Test #152: aarch64-lto-dso .......................................... Passed 0.83 sec +155/347 Test #158: aarch64-main-in-dso ...................................... Passed 0.57 sec +156/347 Test #162: aarch64-mergeable-strings ................................ Passed 0.45 sec +test 165 + Start 165: aarch64-mold-wrapper + +165: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/mold-wrapper.sh" +165: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +165: Environment variables: +165: MACHINE=aarch64 +165: CPU= +165: Test timeout computed to be: 1500 +test 166 + Start 166: aarch64-mold-wrapper2 + +166: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/mold-wrapper2.sh" +166: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +166: Environment variables: +166: MACHINE=aarch64 +166: CPU= +166: Test timeout computed to be: 1500 +test 167 + Start 167: aarch64-nmagic + +167: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/nmagic.sh" +167: Working Directory: /build/reproducible-path/mold-2.37.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-no-allow-shlib-undefined + +168: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/no-allow-shlib-undefined.sh" +168: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +168: Environment variables: +168: MACHINE=aarch64 +168: CPU= +168: Test timeout computed to be: 1500 +149: 0000000000010800 t hello +149: + not grep howdy out/test/aarch64/lto-archive/log +149: + grep howdy out/test/aarch64/lto-archive/log +149: + return 0 +149: + on_exit +149: + echo OK +149: OK +149: + exit 0 164: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 164: ++ export LC_ALL=C 164: ++ LC_ALL=C @@ -11056,15 +11171,11 @@ 164: ++ STRIP=strip 164: ++ QEMU= 164: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/missing-error.sh .sh -158: + 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 164: ++ testname=missing-error 164: ++ t=out/test/aarch64/missing-error 164: ++ mkdir -p out/test/aarch64/missing-error -149: + cc -B. -o out/test/aarch64/lto-archive/exe -flto out/test/aarch64/lto-archive/d.o out/test/aarch64/lto-archive/c.a -156: + cc -B. -o out/test/aarch64/lto-nostdlib/exe -flto out/test/aarch64/lto-nostdlib/a.o -nostdlib 164: ++ case $MACHINE in 164: ++ tlsdesc_opt=-mtls-dialect=desc -160: + echo 'foo = 0x1000' 164: +++ uname 164: ++ '[' Linux = FreeBSD ']' 164: ++ trap 'on_error $LINENO' ERR @@ -11072,46 +11183,14 @@ 164: ++ echo -n 'Testing missing-error ... ' 164: Testing missing-error ... ++ set -o pipefail 164: ++ set -x -160: + seq 1 100000 -160: + sed 's/.*/.section .data.&,"aw"\n.globl x&\nx&: .word 0\n/g' -162: + cc -o out/test/aarch64/mergeable-strings/exe1 out/test/aarch64/mergeable-strings/a.o out/test/aarch64/mergeable-strings/b.o -no-pie 164: + cat 164: + cc -o out/test/aarch64/missing-error/a.o -c -xc - -157: + cat -157: + cc -flto -c -fPIC -o out/test/aarch64/lto-version-script/a.o -xc - -150: + on_exit -150: + echo OK -150: OK -150: + exit 0 -153/347 Test #150: aarch64-lto-archive2 ..................................... Passed 0.58 sec -test 165 - Start 165: aarch64-mold-wrapper - -165: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/mold-wrapper.sh" -165: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -165: Environment variables: -165: MACHINE=aarch64 -165: CPU= -165: Test timeout computed to be: 1500 -158: + grep 'Hello world' -158: + out/test/aarch64/main-in-dso/exe2 +153: + out/test/aarch64/lto-gcc/exe1 +153: + grep 'Hello world' +153: Hello world +153: + gcc -flto -ffat-lto-objects -c -o out/test/aarch64/lto-gcc/b.o -xc - +153: + cat 165: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/mold-wrapper.sh -158: Hello world -158: + on_exit -158: + echo OK -158: OK -158: + exit 0 -154/347 Test #158: aarch64-main-in-dso ...................................... Passed 0.50 sec -test 166 - Start 166: aarch64-mold-wrapper2 - -166: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/mold-wrapper2.sh" -166: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -166: Environment variables: -166: MACHINE=aarch64 -166: CPU= -166: Test timeout computed to be: 1500 -166: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/mold-wrapper2.sh 165: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 165: ++ export LC_ALL=C 165: ++ LC_ALL=C @@ -11126,12 +11205,18 @@ 165: ++ OBJCOPY=objcopy 165: ++ STRIP=strip 165: ++ QEMU= -165: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/mold-wrapper.sh .sh -165: ++ testname=mold-wrapper -165: ++ t=out/test/aarch64/mold-wrapper -165: ++ mkdir -p out/test/aarch64/mold-wrapper -162: + out/test/aarch64/mergeable-strings/exe1 -157: + cat +166: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/mold-wrapper2.sh +168: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/no-allow-shlib-undefined.sh +157/347 Test #149: aarch64-lto-archive ...................................... Passed 0.91 sec +test 169 + Start 169: aarch64-no-eh-frame-header + +169: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/no-eh-frame-header.sh" +169: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +169: Environment variables: +169: MACHINE=aarch64 +169: CPU= +169: Test timeout computed to be: 1500 166: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 166: ++ export LC_ALL=C 166: ++ LC_ALL=C @@ -11146,101 +11231,10 @@ 166: ++ OBJCOPY=objcopy 166: ++ STRIP=strip 166: ++ QEMU= -162: + grep -E '^(\S+) \1 (\S+) \2 (\S+) \3 (\S+) \4$' -166: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/mold-wrapper2.sh .sh -157: + 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 -165: ++ case $MACHINE in -165: ++ tlsdesc_opt=-mtls-dialect=desc -166: ++ testname=mold-wrapper2 -166: ++ t=out/test/aarch64/mold-wrapper2 -166: ++ mkdir -p out/test/aarch64/mold-wrapper2 -162: 0x400748 0x400748 0x400730 0x400730 0x400740 0x400740 0x400730 0x400730 -162: + 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 -160: + cc -c -xassembler -o out/test/aarch64/many-sections2/a.o out/test/aarch64/many-sections2/a.s -164: + not ./mold -o out/test/aarch64/missing-error/exe out/test/aarch64/missing-error/a.o -165: +++ uname -165: ++ '[' Linux = FreeBSD ']' -165: ++ trap 'on_error $LINENO' ERR -165: ++ trap on_exit EXIT -165: ++ echo -n 'Testing mold-wrapper ... ' -165: Testing mold-wrapper ... ++ set -o pipefail -165: ++ set -x -165: + '[' cc = cc ']' -165: + grep libasan -165: + ldd mold-wrapper.so -166: ++ case $MACHINE in -166: ++ tlsdesc_opt=-mtls-dialect=desc -166: +++ uname -166: ++ '[' Linux = FreeBSD ']' -166: ++ trap 'on_error $LINENO' ERR -166: ++ trap on_exit EXIT -166: ++ echo -n 'Testing mold-wrapper2 ... ' -166: Testing mold-wrapper2 ... ++ set -o pipefail -166: ++ set -x -166: + ldd mold-wrapper.so -166: + grep libasan -164: + grep 'undefined symbol: foo' out/test/aarch64/missing-error/log -164: mold: error: undefined symbol: foo -164: + grep '>>> .*a\.o' out/test/aarch64/missing-error/log -162: + grep -E '^(\S+) \1 (\S+) \2 (\S+) \3 (\S+) \4$' -162: + out/test/aarch64/mergeable-strings/exe2 -164: >>> out/test/aarch64/missing-error/a.o:(main) -164: + on_exit -164: + echo OK -164: OK -164: + exit 0 -155/347 Test #164: aarch64-missing-error .................................... Passed 0.22 sec -test 167 - Start 167: aarch64-nmagic - -167: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/nmagic.sh" -167: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -167: Environment variables: -167: MACHINE=aarch64 -167: CPU= -167: Test timeout computed to be: 1500 -162: 0x200558 0x200558 0x200590 0x200590 0x200588 0x200588 0x200590 0x200590 -162: + on_exit -162: + echo OK -162: OK -162: + exit 0 -165: + grep '__[at]san_init' -165: + nm mold -166: + grep '__[at]san_init' -166: + nm mold -156/347 Test #162: aarch64-mergeable-strings ................................ Passed 0.39 sec -test 168 - Start 168: aarch64-no-allow-shlib-undefined - -168: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/no-allow-shlib-undefined.sh" -168: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -168: Environment variables: -168: MACHINE=aarch64 -168: CPU= -168: Test timeout computed to be: 1500 -167: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/nmagic.sh -167: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -167: ++ export LC_ALL=C -167: ++ LC_ALL=C -167: ++ '[' -z aarch64 ']' -167: ++ '[' -z '' ']' -167: ++ TESTDIR=out/test/aarch64 -167: ++ CC=cc -167: ++ CXX=c++ -167: ++ GCC=gcc -167: ++ GXX=g++ -167: ++ OBJDUMP=objdump -167: ++ OBJCOPY=objcopy -167: ++ STRIP=strip -167: ++ QEMU= -167: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/nmagic.sh .sh -167: ++ testname=nmagic -167: ++ t=out/test/aarch64/nmagic -167: ++ mkdir -p out/test/aarch64/nmagic -167: ++ case $MACHINE in -167: ++ tlsdesc_opt=-mtls-dialect=desc -168: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/no-allow-shlib-undefined.sh -167: +++ uname +165: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/mold-wrapper.sh .sh +165: ++ testname=mold-wrapper +165: ++ t=out/test/aarch64/mold-wrapper +165: ++ mkdir -p out/test/aarch64/mold-wrapper 168: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 168: ++ export LC_ALL=C 168: ++ LC_ALL=C @@ -11255,20 +11249,42 @@ 168: ++ OBJCOPY=objcopy 168: ++ STRIP=strip 168: ++ QEMU= -167: ++ '[' Linux = FreeBSD ']' -167: ++ trap 'on_error $LINENO' ERR -167: ++ trap on_exit EXIT -167: ++ echo -n 'Testing nmagic ... ' -167: Testing nmagic ... ++ set -o pipefail -167: ++ set -x 168: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/no-allow-shlib-undefined.sh .sh -167: + cat -167: + cc -o out/test/aarch64/nmagic/a.o -c -xc - 168: ++ testname=no-allow-shlib-undefined 168: ++ t=out/test/aarch64/no-allow-shlib-undefined 168: ++ mkdir -p out/test/aarch64/no-allow-shlib-undefined +169: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/no-eh-frame-header.sh +167: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/nmagic.sh +165: ++ case $MACHINE in +165: ++ tlsdesc_opt=-mtls-dialect=desc +165: +++ uname +165: ++ '[' Linux = FreeBSD ']' +165: ++ trap 'on_error $LINENO' ERR +165: ++ trap on_exit EXIT +165: ++ echo -n 'Testing mold-wrapper ... ' +165: Testing mold-wrapper ... ++ set -o pipefail +165: ++ set -x +165: + '[' cc = cc ']' 168: ++ case $MACHINE in 168: ++ tlsdesc_opt=-mtls-dialect=desc +165: + ldd mold-wrapper.so +165: + grep libasan +169: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +169: ++ export LC_ALL=C +169: ++ LC_ALL=C +169: ++ '[' -z aarch64 ']' +169: ++ '[' -z '' ']' +169: ++ TESTDIR=out/test/aarch64 +169: ++ CC=cc +169: ++ CXX=c++ +169: ++ GCC=gcc +169: ++ GXX=g++ +169: ++ OBJDUMP=objdump +169: ++ OBJCOPY=objcopy +169: ++ STRIP=strip +169: ++ QEMU= +169: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/no-eh-frame-header.sh .sh +166: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/mold-wrapper2.sh .sh 168: +++ uname 168: ++ '[' Linux = FreeBSD ']' 168: ++ trap 'on_error $LINENO' ERR @@ -11276,41 +11292,55 @@ 168: ++ echo -n 'Testing no-allow-shlib-undefined ... ' 168: Testing no-allow-shlib-undefined ... ++ set -o pipefail 168: ++ set -x +167: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +167: ++ export LC_ALL=C +167: ++ LC_ALL=C +167: ++ '[' -z aarch64 ']' +167: ++ '[' -z '' ']' +167: ++ TESTDIR=out/test/aarch64 +167: ++ CC=cc +167: ++ CXX=c++ +167: ++ GCC=gcc +167: ++ GXX=g++ +167: ++ OBJDUMP=objdump +167: ++ OBJCOPY=objcopy +167: ++ STRIP=strip +167: ++ QEMU= +166: ++ testname=mold-wrapper2 +166: ++ t=out/test/aarch64/mold-wrapper2 +166: ++ mkdir -p out/test/aarch64/mold-wrapper2 168: + cat +169: ++ testname=no-eh-frame-header +169: ++ t=out/test/aarch64/no-eh-frame-header +169: ++ mkdir -p out/test/aarch64/no-eh-frame-header 168: + cc -B. -shared -fPIC -o out/test/aarch64/no-allow-shlib-undefined/libfoo.so -xc - -153: + out/test/aarch64/lto-gcc/exe1 -153: + grep 'Hello world' -152: + '[' aarch64 = ppc64 ']' -153: Hello world -167: + cc -B. -o out/test/aarch64/nmagic/exe1 out/test/aarch64/nmagic/a.o -nostdlib -Wl,-nmagic -153: + cat -152: + grep 'T foo' -152: + nm -D out/test/aarch64/lto-dso/b.so -153: + gcc -flto -ffat-lto-objects -c -o out/test/aarch64/lto-gcc/b.o -xc - -152: 00000000000106c8 T foo -152: + on_exit -152: + echo OK -152: OK -152: + exit 0 -156: + grep -E ' _start' +167: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/nmagic.sh .sh +166: ++ case $MACHINE in +166: ++ tlsdesc_opt=-mtls-dialect=desc +167: ++ testname=nmagic +167: ++ t=out/test/aarch64/nmagic +167: ++ mkdir -p out/test/aarch64/nmagic 156: + readelf -Ws out/test/aarch64/lto-nostdlib/exe -157/347 Test #152: aarch64-lto-dso .......................................... Passed 0.83 sec -test 169 - Start 169: aarch64-no-eh-frame-header - -169: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/no-eh-frame-header.sh" -169: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -169: Environment variables: -169: MACHINE=aarch64 -169: CPU= -169: Test timeout computed to be: 1500 +156: + grep -E ' _start' +166: +++ uname +166: ++ '[' Linux = FreeBSD ']' +166: ++ trap 'on_error $LINENO' ERR +166: ++ trap on_exit EXIT +166: ++ echo -n 'Testing mold-wrapper2 ... ' +166: Testing mold-wrapper2 ... ++ set -o pipefail +166: ++ set -x +164: + not ./mold -o out/test/aarch64/missing-error/exe out/test/aarch64/missing-error/a.o +169: ++ case $MACHINE in +169: ++ tlsdesc_opt=-mtls-dialect=desc 156: 48: 0000000000010368 8 FUNC LOCAL DEFAULT 8 _start 156: + on_exit 156: + echo OK 156: OK 156: + exit 0 -169: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/no-eh-frame-header.sh -158/347 Test #156: aarch64-lto-nostdlib ..................................... Passed 0.79 sec +167: ++ case $MACHINE in +167: ++ tlsdesc_opt=-mtls-dialect=desc +169: +++ uname +158/347 Test #156: aarch64-lto-nostdlib ..................................... Passed 0.76 sec test 170 Start 170: aarch64-no-object-file @@ -11320,21 +11350,25 @@ 170: MACHINE=aarch64 170: CPU= 170: Test timeout computed to be: 1500 -169: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -169: ++ export LC_ALL=C -169: ++ LC_ALL=C -169: ++ '[' -z aarch64 ']' -169: ++ '[' -z '' ']' -169: ++ TESTDIR=out/test/aarch64 -169: ++ CC=cc -169: ++ CXX=c++ -169: ++ GCC=gcc -169: ++ GXX=g++ -169: ++ OBJDUMP=objdump -169: ++ OBJCOPY=objcopy -169: ++ STRIP=strip -169: ++ QEMU= -167: + cc -B. -o out/test/aarch64/nmagic/exe2 out/test/aarch64/nmagic/a.o -nostdlib +166: + grep libasan +166: + ldd mold-wrapper.so +167: +++ uname +167: ++ '[' Linux = FreeBSD ']' +167: ++ trap 'on_error $LINENO' ERR +167: ++ trap on_exit EXIT +167: ++ echo -n 'Testing nmagic ... ' +167: Testing nmagic ... ++ set -o pipefail +167: ++ set -x +167: + cat +169: ++ '[' Linux = FreeBSD ']' +169: ++ trap 'on_error $LINENO' ERR +169: ++ trap on_exit EXIT +169: ++ echo -n 'Testing no-eh-frame-header ... ' +169: Testing no-eh-frame-header ... ++ set -o pipefail +169: ++ set -x +169: + cc -o out/test/aarch64/no-eh-frame-header/a.o -c -xc - +165: + grep '__[at]san_init' +169: + cat 170: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/no-object-file.sh 170: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 170: ++ export LC_ALL=C @@ -11350,13 +11384,22 @@ 170: ++ OBJCOPY=objcopy 170: ++ STRIP=strip 170: ++ QEMU= -169: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/no-eh-frame-header.sh .sh -151: + on_exit -151: + echo OK -151: OK -151: + exit 0 +164: + grep 'undefined symbol: foo' out/test/aarch64/missing-error/log +165: + nm mold +167: + cc -o out/test/aarch64/nmagic/a.o -c -xc - +93: + grep 'fn8 () at .*/d.c:6' out/test/aarch64/gdb-index-dwarf64/log2 +164: mold: error: undefined symbol: foo +164: + grep '>>> .*a\.o' out/test/aarch64/missing-error/log 170: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/no-object-file.sh .sh -159/347 Test #151: aarch64-lto-archive3 ..................................... Passed 0.87 sec +164: >>> out/test/aarch64/missing-error/a.o:(main) +170: ++ testname=no-object-file +170: ++ t=out/test/aarch64/no-object-file +170: ++ mkdir -p out/test/aarch64/no-object-file +164: + on_exit +164: + echo OK +164: OK +164: + exit 0 +159/347 Test #164: aarch64-missing-error .................................... Passed 0.12 sec test 171 Start 171: aarch64-no-quick-exit @@ -11366,27 +11409,21 @@ 171: MACHINE=aarch64 171: CPU= 171: Test timeout computed to be: 1500 -169: ++ testname=no-eh-frame-header -169: ++ t=out/test/aarch64/no-eh-frame-header -169: ++ mkdir -p out/test/aarch64/no-eh-frame-header -170: ++ testname=no-object-file -170: ++ t=out/test/aarch64/no-object-file -170: ++ mkdir -p out/test/aarch64/no-object-file -169: ++ case $MACHINE in -169: ++ tlsdesc_opt=-mtls-dialect=desc 170: ++ case $MACHINE in 170: ++ tlsdesc_opt=-mtls-dialect=desc +170: +++ uname 153: + grep -- -fwpa 153: + gcc -B. -o out/test/aarch64/lto-gcc/exe2 out/test/aarch64/lto-gcc/b.o --verbose -169: +++ uname +93: #1 0x0000fffff7f90a58 in fn8 () at out/test/aarch64/gdb-index-dwarf64/d.c:6 +93: + grep 'fn7 () at .*/d.c:10' out/test/aarch64/gdb-index-dwarf64/log2 +170: ++ '[' Linux = FreeBSD ']' +170: ++ trap 'on_error $LINENO' ERR +170: ++ trap on_exit EXIT +170: ++ echo -n 'Testing no-object-file ... ' +170: Testing no-object-file ... ++ set -o pipefail +170: ++ set -x +170: + cat 171: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/no-quick-exit.sh -170: +++ uname -169: ++ '[' Linux = FreeBSD ']' -169: ++ trap 'on_error $LINENO' ERR -169: ++ trap on_exit EXIT -169: ++ echo -n 'Testing no-eh-frame-header ... ' -169: Testing no-eh-frame-header ... ++ set -o pipefail -169: ++ set -x 171: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 171: ++ export LC_ALL=C 171: ++ LC_ALL=C @@ -11401,55 +11438,37 @@ 171: ++ OBJCOPY=objcopy 171: ++ STRIP=strip 171: ++ QEMU= +167: + cc -B. -o out/test/aarch64/nmagic/exe1 out/test/aarch64/nmagic/a.o -nostdlib -Wl,-nmagic +170: + cc -x assembler -c -o out/test/aarch64/no-object-file/a.o - 171: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/no-quick-exit.sh .sh -169: + cat -169: + cc -o out/test/aarch64/no-eh-frame-header/a.o -c -xc - -170: ++ '[' Linux = FreeBSD ']' -170: ++ trap 'on_error $LINENO' ERR -170: ++ trap on_exit EXIT -170: ++ echo -n 'Testing no-object-file ... ' -170: Testing no-object-file ... ++ set -o pipefail -170: ++ set -x +93: #2 0x0000fffff7f90a70 in fn7 () at out/test/aarch64/gdb-index-dwarf64/d.c:10 171: ++ testname=no-quick-exit 171: ++ t=out/test/aarch64/no-quick-exit 171: ++ mkdir -p out/test/aarch64/no-quick-exit -170: + cat -170: + cc -x assembler -c -o out/test/aarch64/no-object-file/a.o - -168: + cat -171: ++ case $MACHINE in -171: ++ tlsdesc_opt=-mtls-dialect=desc -157: + '[' aarch64 = ppc64 ']' -167: ++ cut '-d ' -f1 -157: + nm -D out/test/aarch64/lto-version-script/c.so -167: ++ nm out/test/aarch64/nmagic/exe1 -168: + cc -B. -shared -fPIC -o out/test/aarch64/no-allow-shlib-undefined/libbar.so -xc - -167: ++ grep ' end$' -171: +++ uname -157: + grep 'T foo' +93: + grep 'fn6 () at .*/c.c:4' out/test/aarch64/gdb-index-dwarf64/log2 +93: #3 0x0000fffff7f90a14 in fn6 () at out/test/aarch64/gdb-index-dwarf64/c.c:4 +93: + grep 'fn5 () at .*/c.c:8' out/test/aarch64/gdb-index-dwarf64/log2 170: + rm -f out/test/aarch64/no-object-file/a.a -171: ++ '[' Linux = FreeBSD ']' -171: ++ trap 'on_error $LINENO' ERR -171: ++ trap on_exit EXIT -171: ++ echo -n 'Testing no-quick-exit ... ' -171: Testing no-quick-exit ... ++ set -o pipefail -171: ++ set -x -157: 00000000000106e8 T foo -171: + cc -o out/test/aarch64/no-quick-exit/a.o -c -xc - -171: + cat -157: + nm -D out/test/aarch64/lto-version-script/c.so +93: #4 0x0000fffff7f90a2c in fn5 () at out/test/aarch64/gdb-index-dwarf64/c.c:8 +93: + grep 'fn4 () at .*/b.c:4' out/test/aarch64/gdb-index-dwarf64/log2 170: + ar rcs out/test/aarch64/no-object-file/a.a out/test/aarch64/no-object-file/a.o -157: + not grep 'T bar' -157: + grep 'T bar' -166: + grep -F mold-wrapper.so -166: + ./mold -run bash -c 'echo $LD_PRELOAD' +171: ++ case $MACHINE in +171: ++ tlsdesc_opt=-mtls-dialect=desc +169: + 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 +93: #5 0x0000fffff7f909e4 in fn4 () at out/test/aarch64/gdb-index-dwarf64/b.c:4 +93: + grep 'fn3 () at .*/b.c:8' out/test/aarch64/gdb-index-dwarf64/log2 170: + ./mold -o out/test/aarch64/no-object-file/exe out/test/aarch64/no-object-file/a.a -157: + return 0 -157: + on_exit -157: + echo OK -157: OK -157: + exit 0 -166: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/mold-wrapper.so -160/347 Test #157: aarch64-lto-version-script ............................... Passed 0.86 sec +166: + nm mold +93: #6 0x0000fffff7f909fc in fn3 () at out/test/aarch64/gdb-index-dwarf64/b.c:8 +93: + grep 'fn2 () at .*/a.c:4' out/test/aarch64/gdb-index-dwarf64/log2 +167: + cc -B. -o out/test/aarch64/nmagic/exe2 out/test/aarch64/nmagic/a.o -nostdlib +170: mold: warning: entry symbol is not defined: _start +170: + on_exit +170: + echo OK +170: OK +170: + exit 0 +166: + grep '__[at]san_init' +160/347 Test #170: aarch64-no-object-file ................................... Passed 0.09 sec test 172 Start 172: aarch64-no-undefined-version @@ -11459,25 +11478,6 @@ 172: MACHINE=aarch64 172: CPU= 172: Test timeout computed to be: 1500 -166: + on_exit -166: + echo OK -166: OK -166: + exit 0 -169: + 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 -167: + end1=0000000000000408 -161/347 Test #166: aarch64-mold-wrapper2 .................................... Passed 0.37 sec -test 173 - Start 173: aarch64-nocopyreloc - -173: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/nocopyreloc.sh" -173: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -173: Environment variables: -173: MACHINE=aarch64 -173: CPU= -173: Test timeout computed to be: 1500 -167: ++ grep ' end$' -167: ++ nm out/test/aarch64/nmagic/exe2 -167: ++ cut '-d ' -f1 172: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/no-undefined-version.sh 172: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 172: ++ export LC_ALL=C @@ -11493,36 +11493,59 @@ 172: ++ OBJCOPY=objcopy 172: ++ STRIP=strip 172: ++ QEMU= +171: +++ uname +93: #7 0x0000fffff7f909b4 in fn2 () at out/test/aarch64/gdb-index-dwarf64/a.c:4 +93: + grep 'fn1 () at .*/a.c:8' out/test/aarch64/gdb-index-dwarf64/log2 172: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/no-undefined-version.sh .sh +93: #8 0x0000fffff7f909cc in fn1 () at out/test/aarch64/gdb-index-dwarf64/a.c:8 +171: ++ '[' Linux = FreeBSD ']' +171: ++ trap 'on_error $LINENO' ERR +171: ++ trap on_exit EXIT +171: ++ echo -n 'Testing no-quick-exit ... ' +171: Testing no-quick-exit ... ++ set -o pipefail +171: ++ set -x 172: ++ testname=no-undefined-version 172: ++ t=out/test/aarch64/no-undefined-version 172: ++ mkdir -p out/test/aarch64/no-undefined-version -149: + out/test/aarch64/lto-archive/exe -149: + grep 'Hello world' -167: + end2=0000000000030478 -149: Hello world -170: mold: warning: entry symbol is not defined: _start -170: + on_exit -170: + echo OK -170: OK -170: + exit 0 -149: + nm out/test/aarch64/lto-archive/exe -162/347 Test #170: aarch64-no-object-file ................................... Passed 0.13 sec -167: + '[' 1032 -lt 197752 ']' -167: + on_exit -167: + echo OK -167: OK -167: + exit 0 -test 174 - Start 174: aarch64-noinhibit-exec +171: + cc -o out/test/aarch64/no-quick-exit/a.o -c -xc - +168: + cc -B. -shared -fPIC -o out/test/aarch64/no-allow-shlib-undefined/libbar.so -xc - +172: ++ case $MACHINE in +172: ++ tlsdesc_opt=-mtls-dialect=desc +167: ++ grep ' end$' +93: + on_exit +93: + echo OK +93: OK +93: + exit 0 +171: + cat +167: ++ nm out/test/aarch64/nmagic/exe1 +167: ++ cut '-d ' -f1 +168: + cat +172: +++ uname +161/347 Test #93: aarch64-gdb-index-dwarf64 ................................ Passed 4.63 sec +test 173 + Start 173: aarch64-nocopyreloc -174: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/noinhibit-exec.sh" -174: Working Directory: /build/reproducible-path/mold-2.37.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.37.1+dfsg/test/nocopyreloc.sh" +173: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +173: Environment variables: +173: MACHINE=aarch64 +173: CPU= +173: Test timeout computed to be: 1500 +167: + end1=0000000000000408 173: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/nocopyreloc.sh +172: ++ '[' Linux = FreeBSD ']' +172: ++ trap 'on_error $LINENO' ERR +172: ++ trap on_exit EXIT +172: ++ echo -n 'Testing no-undefined-version ... ' +172: Testing no-undefined-version ... ++ set -o pipefail +172: ++ set -x +172: + echo 'ver_x { global: foo; };' +172: + cc -o out/test/aarch64/no-undefined-version/b.o -c -xc - +172: + cat +167: ++ nm out/test/aarch64/nmagic/exe2 +167: ++ cut '-d ' -f1 +171: + cc -B. -o out/test/aarch64/no-quick-exit/exe out/test/aarch64/no-quick-exit/a.o -Wl,-no-quick-exit +167: ++ grep ' end$' 173: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 173: ++ export LC_ALL=C 173: ++ LC_ALL=C @@ -11537,19 +11560,34 @@ 173: ++ OBJCOPY=objcopy 173: ++ STRIP=strip 173: ++ QEMU= -171: + cc -B. -o out/test/aarch64/no-quick-exit/exe out/test/aarch64/no-quick-exit/a.o -Wl,-no-quick-exit -149: + grep hello out/test/aarch64/lto-archive/log -163/347 Test #167: aarch64-nmagic ........................................... Passed 0.29 sec -test 175 - Start 175: aarch64-non-canonical-plt +167: + end2=0000000000030478 +167: + '[' 1032 -lt 197752 ']' +167: + on_exit +167: + echo OK +167: OK +167: + exit 0 +162/347 Test #167: aarch64-nmagic ........................................... Passed 0.21 sec +test 174 + Start 174: aarch64-noinhibit-exec -175: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/non-canonical-plt.sh" -175: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -175: Environment variables: -175: MACHINE=aarch64 -175: CPU= -175: Test timeout computed to be: 1500 +174: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/noinhibit-exec.sh" +174: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +174: Environment variables: +174: MACHINE=aarch64 +174: CPU= +174: Test timeout computed to be: 1500 +173: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/nocopyreloc.sh .sh +173: ++ testname=nocopyreloc +173: ++ t=out/test/aarch64/nocopyreloc +173: ++ mkdir -p out/test/aarch64/nocopyreloc 174: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/noinhibit-exec.sh +172: + grep -F 'a.ver: cannot assign version `ver_x` to symbol `foo`: symbol not found' +172: + 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 +173: ++ case $MACHINE in +173: ++ tlsdesc_opt=-mtls-dialect=desc +168: + cc -c -o out/test/aarch64/no-allow-shlib-undefined/a.o -c -xc - +169: + not grep -F .eh_frame_hdr +169: + grep -F .eh_frame_hdr 174: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 174: ++ export LC_ALL=C 174: ++ LC_ALL=C @@ -11564,50 +11602,7 @@ 174: ++ OBJCOPY=objcopy 174: ++ STRIP=strip 174: ++ QEMU= -173: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/nocopyreloc.sh .sh -173: ++ testname=nocopyreloc -173: ++ t=out/test/aarch64/nocopyreloc -173: ++ mkdir -p out/test/aarch64/nocopyreloc -172: ++ case $MACHINE in -172: ++ tlsdesc_opt=-mtls-dialect=desc -172: +++ uname -172: ++ '[' Linux = FreeBSD ']' -172: ++ trap 'on_error $LINENO' ERR -172: ++ trap on_exit EXIT -172: ++ echo -n 'Testing no-undefined-version ... ' -172: Testing no-undefined-version ... ++ set -o pipefail -172: ++ set -x -172: + echo 'ver_x { global: foo; };' -149: 0000000000010800 t hello -149: + not grep howdy out/test/aarch64/lto-archive/log -149: + grep howdy out/test/aarch64/lto-archive/log -173: ++ case $MACHINE in -173: ++ tlsdesc_opt=-mtls-dialect=desc -169: + not grep -F .eh_frame_hdr -169: + grep -F .eh_frame_hdr -169: + readelf -WS out/test/aarch64/no-eh-frame-header/exe -172: + cat -149: + return 0 -149: + on_exit -149: + echo OK -149: OK -149: + exit 0 -169: + return 0 -169: + out/test/aarch64/no-eh-frame-header/exe -164/347 Test #149: aarch64-lto-archive ...................................... Passed 1.04 sec -test 176 - Start 176: aarch64-nostdlib - -176: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/nostdlib.sh" -176: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -176: Environment variables: -176: MACHINE=aarch64 -176: CPU= -176: Test timeout computed to be: 1500 -169: + on_exit -169: + echo OK -169: OK -169: + exit 0 +168: + cat 173: +++ uname 173: ++ '[' Linux = FreeBSD ']' 173: ++ trap 'on_error $LINENO' ERR @@ -11622,14 +11617,69 @@ 173: + '[' aarch64 = ppc64le ']' 173: + '[' aarch64 = sh4 ']' 173: + [[ aarch64 = loongarch* ]] +169: + readelf -WS out/test/aarch64/no-eh-frame-header/exe 173: + cc -shared -o out/test/aarch64/nocopyreloc/a.so -xc - +173: + cat 174: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/noinhibit-exec.sh .sh 174: ++ testname=noinhibit-exec 174: ++ t=out/test/aarch64/noinhibit-exec 174: ++ mkdir -p out/test/aarch64/noinhibit-exec -172: + cc -o out/test/aarch64/no-undefined-version/b.o -c -xc - -176: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/nostdlib.sh -165/347 Test #169: aarch64-no-eh-frame-header ............................... Passed 0.18 sec +157: + '[' aarch64 = ppc64 ']' +157: + grep 'T foo' +169: + return 0 +174: ++ case $MACHINE in +174: ++ tlsdesc_opt=-mtls-dialect=desc +157: + nm -D out/test/aarch64/lto-version-script/c.so +157: 00000000000106e8 T foo +169: + out/test/aarch64/no-eh-frame-header/exe +174: +++ uname +174: ++ '[' Linux = FreeBSD ']' +174: ++ trap 'on_error $LINENO' ERR +174: ++ trap on_exit EXIT +174: ++ echo -n 'Testing noinhibit-exec ... ' +174: Testing noinhibit-exec ... ++ set -o pipefail +174: ++ set -x +157: + nm -D out/test/aarch64/lto-version-script/c.so +157: + not grep 'T bar' +157: + grep 'T bar' +168: + 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 +157: + return 0 +157: + on_exit +157: + echo OK +157: OK +157: + exit 0 +163/347 Test #157: aarch64-lto-version-script ............................... Passed 0.91 sec +test 175 + Start 175: aarch64-non-canonical-plt + +175: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/non-canonical-plt.sh" +175: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +175: Environment variables: +175: MACHINE=aarch64 +175: CPU= +175: Test timeout computed to be: 1500 +174: + cc -o out/test/aarch64/noinhibit-exec/a.o -c -xc - -fno-PIC +174: + cat +172: mold: warning: out/test/aarch64/no-undefined-version/a.ver: cannot assign version `ver_x` to symbol `foo`: symbol not found +172: + on_exit +172: + echo OK +172: OK +172: + exit 0 +169: + on_exit +169: + echo OK +169: OK +169: + exit 0 +164/347 Test #169: aarch64-no-eh-frame-header ............................... Passed 0.29 sec +165/347 Test #172: aarch64-no-undefined-version ............................. Passed 0.16 sec +test 176 + Start 176: aarch64-nostdlib + +176: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/nostdlib.sh" +176: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +176: Environment variables: +176: MACHINE=aarch64 +176: CPU= +176: Test timeout computed to be: 1500 test 177 Start 177: aarch64-oformat-binary @@ -11639,8 +11689,6 @@ 177: MACHINE=aarch64 177: CPU= 177: Test timeout computed to be: 1500 -174: ++ case $MACHINE in -174: ++ tlsdesc_opt=-mtls-dialect=desc 175: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/non-canonical-plt.sh 175: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 175: ++ export LC_ALL=C @@ -11660,7 +11708,19 @@ 175: ++ testname=non-canonical-plt 175: ++ t=out/test/aarch64/non-canonical-plt 175: ++ mkdir -p out/test/aarch64/non-canonical-plt +175: ++ case $MACHINE in +175: ++ tlsdesc_opt=-mtls-dialect=desc 173: + cat +173: + cc -fno-PIC -c -o out/test/aarch64/nocopyreloc/b.o -xc - +176: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/nostdlib.sh +175: +++ uname +175: ++ '[' Linux = FreeBSD ']' +175: ++ trap 'on_error $LINENO' ERR +175: ++ trap on_exit EXIT +175: ++ echo -n 'Testing non-canonical-plt ... ' +175: Testing non-canonical-plt ... ++ set -o pipefail +175: ++ set -x +175: + cat 176: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 176: ++ export LC_ALL=C 176: ++ LC_ALL=C @@ -11675,19 +11735,12 @@ 176: ++ OBJCOPY=objcopy 176: ++ STRIP=strip 176: ++ QEMU= -176: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/nostdlib.sh .sh -174: +++ uname -176: ++ testname=nostdlib -176: ++ t=out/test/aarch64/nostdlib -176: ++ mkdir -p out/test/aarch64/nostdlib -174: ++ '[' Linux = FreeBSD ']' -174: ++ trap 'on_error $LINENO' ERR -174: ++ trap on_exit EXIT -174: ++ echo -n 'Testing noinhibit-exec ... ' -174: Testing noinhibit-exec ... ++ set -o pipefail -174: ++ set -x -165: + cat 177: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/oformat-binary.sh +171: + grep 'Hello world' +174: + cc -B. -shared -o out/test/aarch64/noinhibit-exec/b.so out/test/aarch64/noinhibit-exec/a.o +176: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/nostdlib.sh .sh +171: + out/test/aarch64/no-quick-exit/exe +175: + cc -o out/test/aarch64/non-canonical-plt/a.so -fPIC -shared -xc - 177: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 177: ++ export LC_ALL=C 177: ++ LC_ALL=C @@ -11702,42 +11755,58 @@ 177: ++ OBJCOPY=objcopy 177: ++ STRIP=strip 177: ++ QEMU= +176: ++ testname=nostdlib +176: ++ t=out/test/aarch64/nostdlib +176: ++ mkdir -p out/test/aarch64/nostdlib +177: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/oformat-binary.sh .sh +177: ++ testname=oformat-binary +177: ++ t=out/test/aarch64/oformat-binary +177: ++ mkdir -p out/test/aarch64/oformat-binary +171: Hello world +171: + on_exit +171: + echo OK +171: OK +171: + exit 0 +166/347 Test #171: aarch64-no-quick-exit .................................... Passed 0.27 sec +test 178 + Start 178: aarch64-omagic + +178: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/omagic.sh" +178: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +178: Environment variables: +178: MACHINE=aarch64 +178: CPU= +178: Test timeout computed to be: 1500 176: ++ case $MACHINE in 176: ++ tlsdesc_opt=-mtls-dialect=desc 176: +++ uname -175: ++ case $MACHINE in -175: ++ tlsdesc_opt=-mtls-dialect=desc -174: + cat +177: ++ case $MACHINE in +177: ++ tlsdesc_opt=-mtls-dialect=desc 176: ++ '[' Linux = FreeBSD ']' 176: ++ trap 'on_error $LINENO' ERR 176: ++ trap on_exit EXIT 176: ++ echo -n 'Testing nostdlib ... ' 176: Testing nostdlib ... ++ set -o pipefail 176: ++ set -x -174: + cc -o out/test/aarch64/noinhibit-exec/a.o -c -xc - -fno-PIC -165: + chmod 755 out/test/aarch64/mold-wrapper/a.sh -168: + cc -c -o out/test/aarch64/no-allow-shlib-undefined/a.o -c -xc - -168: + cat -176: + cat 176: + cc -o out/test/aarch64/nostdlib/a.o -c -xc - -fno-PIE -175: +++ uname -175: ++ '[' Linux = FreeBSD ']' -175: ++ trap 'on_error $LINENO' ERR -175: ++ trap on_exit EXIT -175: ++ echo -n 'Testing non-canonical-plt ... ' -175: Testing non-canonical-plt ... ++ set -o pipefail -175: ++ set -x -177: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/oformat-binary.sh .sh -175: + cat -177: ++ testname=oformat-binary -177: ++ t=out/test/aarch64/oformat-binary -177: ++ mkdir -p out/test/aarch64/oformat-binary -175: + cc -o out/test/aarch64/non-canonical-plt/a.so -fPIC -shared -xc - -177: ++ case $MACHINE in -177: ++ tlsdesc_opt=-mtls-dialect=desc +176: + cat +173: + cc -B. -no-pie -o out/test/aarch64/nocopyreloc/exe out/test/aarch64/nocopyreloc/a.so out/test/aarch64/nocopyreloc/b.o 177: +++ uname -172: + grep -F 'a.ver: cannot assign version `ver_x` to symbol `foo`: symbol not found' -172: + 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 +178: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/omagic.sh +178: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +178: ++ export LC_ALL=C +178: ++ LC_ALL=C +178: ++ '[' -z aarch64 ']' +178: ++ '[' -z '' ']' +178: ++ TESTDIR=out/test/aarch64 +178: ++ CC=cc +178: ++ CXX=c++ +178: ++ GCC=gcc +178: ++ GXX=g++ +178: ++ OBJDUMP=objdump +178: ++ OBJCOPY=objcopy +178: ++ STRIP=strip +178: ++ QEMU= 177: ++ '[' Linux = FreeBSD ']' 177: ++ trap 'on_error $LINENO' ERR 177: ++ trap on_exit EXIT @@ -11746,48 +11815,57 @@ 177: ++ set -x 177: + cc -o out/test/aarch64/oformat-binary/a.o -c -xc - -fno-PIE 177: + cat -171: + grep 'Hello world' -165: + cat +178: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/omagic.sh .sh +174: + not cc -B. -o out/test/aarch64/noinhibit-exec/b.so out/test/aarch64/noinhibit-exec/a.o -Wl,-require-defined=no-such-sym +178: ++ testname=omagic +178: ++ t=out/test/aarch64/omagic +178: ++ mkdir -p out/test/aarch64/omagic +178: ++ case $MACHINE in +178: ++ tlsdesc_opt=-mtls-dialect=desc +178: +++ uname +175: + cc -o out/test/aarch64/non-canonical-plt/b.o -c -xc - -fPIC +178: ++ '[' Linux = FreeBSD ']' +178: ++ trap 'on_error $LINENO' ERR +178: ++ trap on_exit EXIT +178: ++ echo -n 'Testing omagic ... ' +178: Testing omagic ... ++ set -o pipefail +178: ++ set -x +178: + test_cflags -static +175: + cat +178: + echo 'int main() {}' 176: + ./mold -o out/test/aarch64/nostdlib/exe out/test/aarch64/nostdlib/a.o -168: + 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 -165: + cc -xc -o out/test/aarch64/mold-wrapper/exe - -171: + out/test/aarch64/no-quick-exit/exe -174: + cc -B. -shared -o out/test/aarch64/noinhibit-exec/b.so out/test/aarch64/noinhibit-exec/a.o -173: + cc -fno-PIC -c -o out/test/aarch64/nocopyreloc/b.o -xc - -171: Hello world +174: + grep 'undefined symbol: no-such-sym' +173: + grep '3 5' +178: + cc -B. -static -o /dev/null -xc - +173: + out/test/aarch64/nocopyreloc/exe +168: + not 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 +165: + cat +173: 3 5 +173: + not 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 +173: + grep 'recompile with -fPIC' +165: + chmod 755 out/test/aarch64/mold-wrapper/a.sh +175: + cc -o out/test/aarch64/non-canonical-plt/c.o -c -xc - -fPIC +175: + cat 176: + readelf -W --sections out/test/aarch64/nostdlib/exe -173: + cat -171: + on_exit -171: + echo OK -171: OK -171: + exit 0 176: + not grep -F ' .dynsym ' out/test/aarch64/nostdlib/log 176: + grep -F ' .dynsym ' out/test/aarch64/nostdlib/log -166/347 Test #171: aarch64-no-quick-exit .................................... Passed 0.22 sec -test 178 - Start 178: aarch64-omagic - -178: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/omagic.sh" -178: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -178: Environment variables: -178: MACHINE=aarch64 -178: CPU= -178: Test timeout computed to be: 1500 +177: + ./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 176: + return 0 176: + not grep -F ' .dynstr ' out/test/aarch64/nostdlib/log 176: + grep -F ' .dynstr ' out/test/aarch64/nostdlib/log -172: mold: warning: out/test/aarch64/no-undefined-version/a.ver: cannot assign version `ver_x` to symbol `foo`: symbol not found -177: + ./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 -172: + on_exit -172: + echo OK -172: OK -172: + exit 0 -167/347 Test #172: aarch64-no-undefined-version ............................. Passed 0.17 sec +174: mold: error: --require-defined: undefined symbol: no-such-sym +174: + grep 'undefined symbol: no-such-sym' +165: + cc -xc -o out/test/aarch64/mold-wrapper/exe - +165: + cat +175: + 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: + cc -B. -shared -o out/test/aarch64/noinhibit-exec/b.o out/test/aarch64/noinhibit-exec/a.o -Wl,-require-defined=no-such-sym,-noinhibit-exec 176: + return 0 176: + on_exit 176: + echo OK 176: OK 176: + exit 0 +177: + grep -E '^\s+0x4000\s+[0-9]+\s+[0-9]+\s+\.text$' out/test/aarch64/oformat-binary/map +167/347 Test #176: aarch64-nostdlib ......................................... Passed 0.19 sec test 179 Start 179: aarch64-package-metadata @@ -11797,7 +11875,24 @@ 179: MACHINE=aarch64 179: CPU= 179: Test timeout computed to be: 1500 -168/347 Test #176: aarch64-nostdlib ......................................... Passed 0.12 sec +177: 0x4000 16 4 .text +177: + not grep -F .strtab out/test/aarch64/oformat-binary/map +177: + grep -F .strtab out/test/aarch64/oformat-binary/map +177: + return 0 +177: + not grep -F .shstrtab out/test/aarch64/oformat-binary/map +177: + grep -F .shstrtab out/test/aarch64/oformat-binary/map +177: + return 0 +177: + not grep -F .symtab out/test/aarch64/oformat-binary/map +177: + grep -F .symtab out/test/aarch64/oformat-binary/map +177: + return 0 +177: + not grep -F .comment out/test/aarch64/oformat-binary/map +177: + grep -F .comment out/test/aarch64/oformat-binary/map +177: + return 0 +177: + on_exit +177: + echo OK +177: OK +177: + exit 0 +168/347 Test #177: aarch64-oformat-binary ................................... Passed 0.21 sec test 180 Start 180: aarch64-physical-image-base @@ -11807,29 +11902,6 @@ 180: MACHINE=aarch64 180: CPU= 180: Test timeout computed to be: 1500 -178: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/omagic.sh -178: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -178: ++ export LC_ALL=C -178: ++ LC_ALL=C -178: ++ '[' -z aarch64 ']' -178: ++ '[' -z '' ']' -178: ++ TESTDIR=out/test/aarch64 -178: ++ CC=cc -178: ++ CXX=c++ -178: ++ GCC=gcc -178: ++ GXX=g++ -178: ++ OBJDUMP=objdump -178: ++ OBJCOPY=objcopy -178: ++ STRIP=strip -178: ++ QEMU= -178: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/omagic.sh .sh -178: ++ testname=omagic -178: ++ t=out/test/aarch64/omagic -178: ++ mkdir -p out/test/aarch64/omagic -178: ++ case $MACHINE in -178: ++ tlsdesc_opt=-mtls-dialect=desc -178: +++ uname -173: + cc -B. -no-pie -o out/test/aarch64/nocopyreloc/exe out/test/aarch64/nocopyreloc/a.so out/test/aarch64/nocopyreloc/b.o 179: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/package-metadata.sh 179: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 179: ++ export LC_ALL=C @@ -11845,16 +11917,6 @@ 179: ++ OBJCOPY=objcopy 179: ++ STRIP=strip 179: ++ QEMU= -177: + grep -E '^\s+0x4000\s+[0-9]+\s+[0-9]+\s+\.text$' out/test/aarch64/oformat-binary/map -178: ++ '[' Linux = FreeBSD ']' -178: ++ trap 'on_error $LINENO' ERR -178: ++ trap on_exit EXIT -178: ++ echo -n 'Testing omagic ... ' -178: Testing omagic ... ++ set -o pipefail -178: ++ set -x -178: + test_cflags -static -175: + cat -175: + cc -o out/test/aarch64/non-canonical-plt/b.o -c -xc - -fPIC 180: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/physical-image-base.sh 180: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 180: ++ export LC_ALL=C @@ -11870,22 +11932,30 @@ 180: ++ OBJCOPY=objcopy 180: ++ STRIP=strip 180: ++ QEMU= -178: + cc -B. -static -o /dev/null -xc - -178: + echo 'int main() {}' -179: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/package-metadata.sh .sh -177: 0x4000 16 4 .text -177: + not grep -F .strtab out/test/aarch64/oformat-binary/map -177: + grep -F .strtab out/test/aarch64/oformat-binary/map 180: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/physical-image-base.sh .sh 180: ++ testname=physical-image-base 180: ++ t=out/test/aarch64/physical-image-base 180: ++ mkdir -p out/test/aarch64/physical-image-base +179: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/package-metadata.sh .sh +173: mold: error: -z nocopyreloc: out/test/aarch64/nocopyreloc/a.so: cannot create a copy relocation for symbol 'bar'; recompile with -fPIC +173: mold: error: -z nocopyreloc: out/test/aarch64/nocopyreloc/a.so: cannot create a copy relocation for symbol 'foo'; recompile with -fPIC +173: + on_exit +173: + echo OK +173: OK +173: + exit 0 180: ++ case $MACHINE in 180: ++ tlsdesc_opt=-mtls-dialect=desc -179: ++ testname=package-metadata -179: ++ t=out/test/aarch64/package-metadata -179: ++ mkdir -p out/test/aarch64/package-metadata 180: +++ uname +169/347 Test #173: aarch64-nocopyreloc ...................................... Passed 0.36 sec +test 181 + Start 181: aarch64-pie + +181: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/pie.sh" +181: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +181: Environment variables: +181: MACHINE=aarch64 +181: CPU= +181: Test timeout computed to be: 1500 180: ++ '[' Linux = FreeBSD ']' 180: ++ trap 'on_error $LINENO' ERR 180: ++ trap on_exit EXIT @@ -11894,74 +11964,40 @@ 180: ++ set -x 180: + '[' aarch64 = ppc64 ']' 180: + echo abab -168: + not 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 -177: + return 0 -177: + not grep -F .shstrtab out/test/aarch64/oformat-binary/map -177: + grep -F .shstrtab out/test/aarch64/oformat-binary/map 180: + grep -E '(ab)\1' -174: + grep 'undefined symbol: no-such-sym' +179: ++ testname=package-metadata +179: ++ t=out/test/aarch64/package-metadata +179: ++ mkdir -p out/test/aarch64/package-metadata 180: abab -174: + not cc -B. -o out/test/aarch64/noinhibit-exec/b.so out/test/aarch64/noinhibit-exec/a.o -Wl,-require-defined=no-such-sym -180: + cc -o out/test/aarch64/physical-image-base/a.o -c -xc - -180: + cat -177: + return 0 -177: + not grep -F .symtab out/test/aarch64/oformat-binary/map -177: + grep -F .symtab out/test/aarch64/oformat-binary/map 179: ++ case $MACHINE in 179: ++ tlsdesc_opt=-mtls-dialect=desc 179: +++ uname -177: + return 0 -177: + not grep -F .comment out/test/aarch64/oformat-binary/map -177: + grep -F .comment out/test/aarch64/oformat-binary/map +180: + cc -o out/test/aarch64/physical-image-base/a.o -c -xc - +175: + grep '^1 1 1$' +180: + cat +175: + out/test/aarch64/non-canonical-plt/exe +175: 1 1 1 179: ++ '[' Linux = FreeBSD ']' 179: ++ trap 'on_error $LINENO' ERR 179: ++ trap on_exit EXIT 179: ++ echo -n 'Testing package-metadata ... ' 179: Testing package-metadata ... ++ set -o pipefail 179: ++ set -x +175: + readelf --dyn-syms out/test/aarch64/non-canonical-plt/exe +153: COLLECT_GCC_OPTIONS='-c' '-fno-openmp' '-fno-openacc' '-fPIC' '-fcf-protection=none' '-mlittle-endian' '-mabi=lp64' '-fasynchronous-unwind-tables' '-B' '.' '-v' '-mlittle-endian' '-mabi=lp64' '-fltrans-output-list=/tmp/ccgbbuE0.ltrans.out' '-fwpa=jobserver' '-fresolution=/tmp/ccrnUYvh.res' '-flinker-output=pie' +153: /usr/libexec/gcc/aarch64-linux-gnu/14/lto1 -quiet -dumpbase out/test/aarch64/lto-gcc/exe2.wpa -mlittle-endian -mabi=lp64 -mlittle-endian -mabi=lp64 -version -fno-openmp -fno-openacc -fPIC -fcf-protection=none -fasynchronous-unwind-tables -fltrans-output-list=/tmp/ccgbbuE0.ltrans.out -fwpa=jobserver -fresolution=/tmp/ccrnUYvh.res -flinker-output=pie @/tmp/ccfh9P0J +153: COLLECT_GCC_OPTIONS='-c' '-fno-openmp' '-fno-openacc' '-fPIC' '-fcf-protection=none' '-mlittle-endian' '-mabi=lp64' '-fasynchronous-unwind-tables' '-B' '.' '-v' '-mlittle-endian' '-mabi=lp64' '-fltrans-output-list=/tmp/ccgbbuE0.ltrans.out' '-fwpa=jobserver' '-fresolution=/tmp/ccrnUYvh.res' '-flinker-output=pie' '-dumpdir' 'out/test/aarch64/lto-gcc/exe2.wpa.' +175: + grep '00000000 .* foo' +175: 2: 0000000000000000 0 FUNC GLOBAL DEFAULT UND foo 179: + cat -179: + cc -o out/test/aarch64/package-metadata/a.o -c -xc - -165: + grep 'a.sh execl' -165: ++ pwd -165: + LD_PRELOAD=/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/mold-wrapper.so -165: + MOLD_PATH=out/test/aarch64/mold-wrapper/a.sh -165: + out/test/aarch64/mold-wrapper/exe execl -177: + return 0 -177: + on_exit -177: + echo OK -177: OK -177: + exit 0 -169/347 Test #177: aarch64-oformat-binary ................................... Passed 0.16 sec -test 181 - Start 181: aarch64-pie - -181: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/pie.sh" -181: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -181: Environment variables: -181: MACHINE=aarch64 -181: CPU= -181: Test timeout computed to be: 1500 -173: + out/test/aarch64/nocopyreloc/exe -173: + grep '3 5' -173: 3 5 -153: COLLECT_GCC_OPTIONS='-c' '-fno-openmp' '-fno-openacc' '-fPIC' '-fcf-protection=none' '-mlittle-endian' '-mabi=lp64' '-fasynchronous-unwind-tables' '-B' '.' '-v' '-mlittle-endian' '-mabi=lp64' '-fltrans-output-list=/tmp/cclQPZaP.ltrans.out' '-fwpa=jobserver' '-fresolution=/tmp/ccIWnG1Y.res' '-flinker-output=pie' -153: /usr/libexec/gcc/aarch64-linux-gnu/14/lto1 -quiet -dumpbase out/test/aarch64/lto-gcc/exe2.wpa -mlittle-endian -mabi=lp64 -mlittle-endian -mabi=lp64 -version -fno-openmp -fno-openacc -fPIC -fcf-protection=none -fasynchronous-unwind-tables -fltrans-output-list=/tmp/cclQPZaP.ltrans.out -fwpa=jobserver -fresolution=/tmp/ccIWnG1Y.res -flinker-output=pie @/tmp/ccdMUGZa -153: COLLECT_GCC_OPTIONS='-c' '-fno-openmp' '-fno-openacc' '-fPIC' '-fcf-protection=none' '-mlittle-endian' '-mabi=lp64' '-fasynchronous-unwind-tables' '-B' '.' '-v' '-mlittle-endian' '-mabi=lp64' '-fltrans-output-list=/tmp/cclQPZaP.ltrans.out' '-fwpa=jobserver' '-fresolution=/tmp/ccIWnG1Y.res' '-flinker-output=pie' '-dumpdir' 'out/test/aarch64/lto-gcc/exe2.wpa.' 153: + cat -153: + gcc -flto -fno-use-linker-plugin -c -o out/test/aarch64/lto-gcc/c.o -xc - -165: out/test/aarch64/mold-wrapper/a.sh execl -165: + grep 'a.sh execlp' -165: ++ pwd -165: + LD_PRELOAD=/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/mold-wrapper.so -165: + MOLD_PATH=out/test/aarch64/mold-wrapper/a.sh -165: + out/test/aarch64/mold-wrapper/exe execlp -175: + cat -175: + cc -o out/test/aarch64/non-canonical-plt/c.o -c -xc - -fPIC -165: out/test/aarch64/mold-wrapper/a.sh execlp -173: + grep 'recompile with -fPIC' -165: + grep 'a.sh execle' +179: + cc -o out/test/aarch64/package-metadata/a.o -c -xc - 181: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/pie.sh -173: + not 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 +166: + ./mold -run bash -c 'echo $LD_PRELOAD' +153: + gcc -flto -fno-use-linker-plugin -c -o out/test/aarch64/lto-gcc/c.o -xc - +175: + grep '00000000 .* bar' +175: + readelf --dyn-syms out/test/aarch64/non-canonical-plt/exe +175: 1: 0000000000000000 0 FUNC GLOBAL DEFAULT UND bar 181: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 181: ++ export LC_ALL=C 181: ++ LC_ALL=C @@ -11976,11 +12012,14 @@ 181: ++ OBJCOPY=objcopy 181: ++ STRIP=strip 181: ++ QEMU= +175: + on_exit +175: + echo OK +175: OK +175: + exit 0 181: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/pie.sh .sh 181: ++ testname=pie 181: ++ t=out/test/aarch64/pie 181: ++ mkdir -p out/test/aarch64/pie -179: + cc -B. -o out/test/aarch64/package-metadata/exe1 out/test/aarch64/package-metadata/a.o '-Wl,-package-metadata={"foo":"bar"}' 181: ++ case $MACHINE in 181: ++ tlsdesc_opt=-mtls-dialect=desc 181: +++ uname @@ -11990,29 +12029,15 @@ 181: ++ echo -n 'Testing pie ... ' 181: Testing pie ... ++ set -o pipefail 181: ++ set -x -165: ++ pwd -165: + LD_PRELOAD=/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/mold-wrapper.so -165: + MOLD_PATH=out/test/aarch64/mold-wrapper/a.sh -165: + out/test/aarch64/mold-wrapper/exe execle -175: + 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 -165: out/test/aarch64/mold-wrapper/a.sh execle -165: + grep 'a.sh execv' -165: ++ pwd 181: + cat +168: + grep -F 'undefined symbol: foo' out/test/aarch64/no-allow-shlib-undefined/log +165: ++ pwd 165: + LD_PRELOAD=/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/mold-wrapper.so 165: + MOLD_PATH=out/test/aarch64/mold-wrapper/a.sh -165: + out/test/aarch64/mold-wrapper/exe execv -153: + gcc -B. -o out/test/aarch64/lto-gcc/exe3 -flto -fno-use-linker-plugin out/test/aarch64/lto-gcc/c.o -181: + cc -o out/test/aarch64/pie/a.o -c -xc -fPIE - -180: + 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 -165: out/test/aarch64/mold-wrapper/a.sh execv -173: mold: error: -z nocopyreloc: out/test/aarch64/nocopyreloc/a.so: cannot create a copy relocation for symbol 'bar'; recompile with -fPIC -173: mold: error: -z nocopyreloc: out/test/aarch64/nocopyreloc/a.so: cannot create a copy relocation for symbol 'foo'; recompile with -fPIC -173: + on_exit -173: + echo OK -173: OK -173: + exit 0 -170/347 Test #173: aarch64-nocopyreloc ...................................... Passed 0.27 sec +165: + out/test/aarch64/mold-wrapper/exe execl +165: + grep 'a.sh execl' +170/347 Test #175: aarch64-non-canonical-plt ................................ Passed 0.30 sec +166: + grep -F mold-wrapper.so test 182 Start 182: aarch64-plt-dso @@ -12022,14 +12047,26 @@ 182: MACHINE=aarch64 182: CPU= 182: Test timeout computed to be: 1500 -165: + grep 'a.sh execvp' -174: mold: error: --require-defined: undefined symbol: no-such-sym -174: + grep 'undefined symbol: no-such-sym' +166: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/mold-wrapper.so +166: + on_exit +166: + echo OK +166: OK +166: + exit 0 +168: mold: error: out/test/aarch64/no-allow-shlib-undefined/libbar.so: --no-allow-shlib-undefined: undefined symbol: foo +168: + on_exit +168: + echo OK +168: OK +168: + exit 0 +181: + cc -o out/test/aarch64/pie/a.o -c -xc -fPIE - +180: + 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 +165: out/test/aarch64/mold-wrapper/a.sh execl 165: ++ pwd -182: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/plt-dso.sh 165: + LD_PRELOAD=/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/mold-wrapper.so 165: + MOLD_PATH=out/test/aarch64/mold-wrapper/a.sh -165: + out/test/aarch64/mold-wrapper/exe execvp +165: + out/test/aarch64/mold-wrapper/exe execlp +165: + grep 'a.sh execlp' +179: + cc -B. -o out/test/aarch64/package-metadata/exe1 out/test/aarch64/package-metadata/a.o '-Wl,-package-metadata={"foo":"bar"}' +182: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/plt-dso.sh 182: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 182: ++ export LC_ALL=C 182: ++ LC_ALL=C @@ -12048,31 +12085,8 @@ 182: ++ testname=plt-dso 182: ++ t=out/test/aarch64/plt-dso 182: ++ mkdir -p out/test/aarch64/plt-dso -174: + cc -B. -shared -o out/test/aarch64/noinhibit-exec/b.o out/test/aarch64/noinhibit-exec/a.o -Wl,-require-defined=no-such-sym,-noinhibit-exec -182: ++ case $MACHINE in -182: ++ tlsdesc_opt=-mtls-dialect=desc -165: out/test/aarch64/mold-wrapper/a.sh execvp -165: + grep 'a.sh execvpe bar' -181: + cc -B. -pie -o out/test/aarch64/pie/exe out/test/aarch64/pie/a.o -165: ++ pwd -165: + LD_PRELOAD=/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/mold-wrapper.so -165: + MOLD_PATH=out/test/aarch64/mold-wrapper/a.sh -165: + out/test/aarch64/mold-wrapper/exe execvpe -168: + grep -F 'undefined symbol: foo' out/test/aarch64/no-allow-shlib-undefined/log -168: mold: error: out/test/aarch64/no-allow-shlib-undefined/libbar.so: --no-allow-shlib-undefined: undefined symbol: foo -168: + on_exit -168: + echo OK -168: OK -168: + exit 0 -179: + grep -F '{"foo":"bar"}' -179: + readelf -x .note.package out/test/aarch64/package-metadata/exe1 -165: out/test/aarch64/mold-wrapper/a.sh execvpe bar -182: +++ uname -171/347 Test #168: aarch64-no-allow-shlib-undefined ......................... Passed 0.55 sec -165: + on_exit -165: + echo OK -165: OK -165: + exit 0 +171/347 Test #166: aarch64-mold-wrapper2 .................................... Passed 0.60 sec +172/347 Test #168: aarch64-no-allow-shlib-undefined ......................... Passed 0.59 sec test 183 Start 183: aarch64-plt-symbols @@ -12082,21 +12096,6 @@ 183: MACHINE=aarch64 183: CPU= 183: Test timeout computed to be: 1500 -175: + grep '^1 1 1$' -175: + out/test/aarch64/non-canonical-plt/exe -175: 1 1 1 -175: + readelf --dyn-syms out/test/aarch64/non-canonical-plt/exe -175: + grep '00000000 .* foo' -182: ++ '[' Linux = FreeBSD ']' -182: ++ trap 'on_error $LINENO' ERR -182: ++ trap on_exit EXIT -182: ++ echo -n 'Testing plt-dso ... ' -182: Testing plt-dso ... ++ set -o pipefail -182: ++ set -x -182: + cc -fPIC -c -o out/test/aarch64/plt-dso/a.o -xc - -172/347 Test #165: aarch64-mold-wrapper ..................................... Passed 0.69 sec -175: 2: 0000000000000000 0 FUNC GLOBAL DEFAULT UND foo -182: + cat test 184 Start 184: aarch64-pltgot @@ -12106,7 +12105,20 @@ 184: MACHINE=aarch64 184: CPU= 184: Test timeout computed to be: 1500 -175: + grep '00000000 .* bar' +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 +182: ++ echo -n 'Testing plt-dso ... ' +182: Testing plt-dso ... ++ set -o pipefail +182: ++ set -x +182: + cat +182: + cc -fPIC -c -o out/test/aarch64/plt-dso/a.o -xc - +165: out/test/aarch64/mold-wrapper/a.sh execlp +165: + grep 'a.sh execle' +178: + cat 183: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/plt-symbols.sh 183: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 183: ++ export LC_ALL=C @@ -12122,9 +12134,20 @@ 183: ++ OBJCOPY=objcopy 183: ++ STRIP=strip 183: ++ QEMU= -179: 0x00000318 7b22666f 6f223a22 62617222 7d000000 {"foo":"bar"}... -179: + cc -B. -o out/test/aarch64/package-metadata/exe2 out/test/aarch64/package-metadata/a.o -Wl,--package-metadata=%7B%22foo%22%3A%22bar%22%7D +178: + cc -c -o out/test/aarch64/omagic/a.o -xc - -fno-PIC +183: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/plt-symbols.sh .sh +183: ++ testname=plt-symbols +183: ++ t=out/test/aarch64/plt-symbols +183: ++ mkdir -p out/test/aarch64/plt-symbols +153: + gcc -B. -o out/test/aarch64/lto-gcc/exe3 -flto -fno-use-linker-plugin out/test/aarch64/lto-gcc/c.o +183: ++ case $MACHINE in +183: ++ tlsdesc_opt=-mtls-dialect=desc +181: + cc -B. -pie -o out/test/aarch64/pie/exe out/test/aarch64/pie/a.o 184: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/pltgot.sh +165: ++ pwd +165: + LD_PRELOAD=/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/mold-wrapper.so +165: + MOLD_PATH=out/test/aarch64/mold-wrapper/a.sh +165: + out/test/aarch64/mold-wrapper/exe execle 184: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 184: ++ export LC_ALL=C 184: ++ LC_ALL=C @@ -12139,17 +12162,39 @@ 184: ++ OBJCOPY=objcopy 184: ++ STRIP=strip 184: ++ QEMU= -175: + readelf --dyn-syms out/test/aarch64/non-canonical-plt/exe 184: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/pltgot.sh .sh -175: 1: 0000000000000000 0 FUNC GLOBAL DEFAULT UND bar -175: + on_exit -175: + echo OK -175: OK -175: + exit 0 184: ++ testname=pltgot 184: ++ t=out/test/aarch64/pltgot 184: ++ mkdir -p out/test/aarch64/pltgot -173/347 Test #175: aarch64-non-canonical-plt ................................ Passed 0.29 sec +183: +++ uname +165: out/test/aarch64/mold-wrapper/a.sh execle +184: ++ case $MACHINE in +184: ++ tlsdesc_opt=-mtls-dialect=desc +184: +++ uname +183: ++ '[' Linux = FreeBSD ']' +183: ++ trap 'on_error $LINENO' ERR +183: ++ trap on_exit EXIT +183: ++ echo -n 'Testing plt-symbols ... ' +183: Testing plt-symbols ... ++ set -o pipefail +183: ++ set -x +184: ++ '[' Linux = FreeBSD ']' +165: + grep 'a.sh execv' +184: ++ trap 'on_error $LINENO' ERR +184: ++ trap on_exit EXIT +184: ++ echo -n 'Testing pltgot ... ' +184: Testing pltgot ... ++ set -o pipefail +184: ++ set -x +183: + cc -c -o out/test/aarch64/plt-symbols/a.o -xc - -fPIC +165: ++ pwd +184: + cat +174: mold: warning: --require-defined: undefined symbol: no-such-sym +174: + on_exit +174: + echo OK +174: OK +174: + exit 0 +183: + cat +178: + cc -B. out/test/aarch64/omagic/a.o -o out/test/aarch64/omagic/exe -static -Wl,--omagic +173/347 Test #174: aarch64-noinhibit-exec ................................... Passed 0.45 sec test 185 Start 185: aarch64-preinit-array @@ -12159,11 +12204,16 @@ 185: MACHINE=aarch64 185: CPU= 185: Test timeout computed to be: 1500 +182: + cc -B. -shared -o out/test/aarch64/plt-dso/b.so out/test/aarch64/plt-dso/a.o +165: + LD_PRELOAD=/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/mold-wrapper.so +165: + MOLD_PATH=out/test/aarch64/mold-wrapper/a.sh +165: + out/test/aarch64/mold-wrapper/exe execv +184: + cc -o out/test/aarch64/pltgot/a.o -c -xc - -fPIC 185: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/preinit-array.sh +165: out/test/aarch64/mold-wrapper/a.sh execv 185: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 185: ++ export LC_ALL=C 185: ++ LC_ALL=C -183: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/plt-symbols.sh .sh 185: ++ '[' -z aarch64 ']' 185: ++ '[' -z '' ']' 185: ++ TESTDIR=out/test/aarch64 @@ -12175,45 +12225,18 @@ 185: ++ OBJCOPY=objcopy 185: ++ STRIP=strip 185: ++ QEMU= -184: ++ case $MACHINE in -184: ++ tlsdesc_opt=-mtls-dialect=desc -183: ++ testname=plt-symbols -183: ++ t=out/test/aarch64/plt-symbols -183: ++ mkdir -p out/test/aarch64/plt-symbols -182: + cc -B. -shared -o out/test/aarch64/plt-dso/b.so out/test/aarch64/plt-dso/a.o -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: ++ echo -n 'Testing plt-symbols ... ' -183: Testing plt-symbols ... ++ set -o pipefail -183: ++ set -x -183: + cat -183: + cc -c -o out/test/aarch64/plt-symbols/a.o -xc - -fPIC -181: + grep -E '(Shared object file|Position-Independent Executable file)' -184: +++ uname -178: + cc -c -o out/test/aarch64/omagic/a.o -xc - -fno-PIC +165: + grep 'a.sh execvp' +165: ++ pwd +165: + LD_PRELOAD=/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/mold-wrapper.so +165: + MOLD_PATH=out/test/aarch64/mold-wrapper/a.sh +165: + out/test/aarch64/mold-wrapper/exe execvp 185: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/preinit-array.sh .sh -178: + cat +165: out/test/aarch64/mold-wrapper/a.sh execvp 185: ++ testname=preinit-array 185: ++ t=out/test/aarch64/preinit-array 185: ++ mkdir -p out/test/aarch64/preinit-array -184: ++ '[' Linux = FreeBSD ']' -184: ++ trap 'on_error $LINENO' ERR -184: ++ trap on_exit EXIT -184: ++ echo -n 'Testing pltgot ... ' -184: Testing pltgot ... ++ set -o pipefail -184: ++ set -x -184: + cat -181: + readelf --file-header out/test/aarch64/pie/exe 185: ++ case $MACHINE in 185: ++ tlsdesc_opt=-mtls-dialect=desc -184: + cc -o out/test/aarch64/pltgot/a.o -c -xc - -fPIC -181: Type: DYN (Position-Independent Executable file) -181: + out/test/aarch64/pie/exe -181: + grep 'Hello world' 185: +++ uname 185: ++ '[' Linux = FreeBSD ']' 185: ++ trap 'on_error $LINENO' ERR @@ -12221,18 +12244,20 @@ 185: ++ echo -n 'Testing preinit-array ... ' 185: Testing preinit-array ... ++ set -o pipefail 185: ++ set -x +165: + grep 'a.sh execvpe bar' 185: + cat -181: Hello world -181: + on_exit -181: + echo OK -181: OK -181: + exit 0 -174: mold: warning: --require-defined: undefined symbol: no-such-sym -174: + on_exit -174: + echo OK -174: OK -174: + exit 0 -174/347 Test #174: aarch64-noinhibit-exec ................................... Passed 0.36 sec +185: + cc -o out/test/aarch64/preinit-array/a.o -c -xc - +165: ++ pwd +165: + LD_PRELOAD=/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/mold-wrapper.so +165: + MOLD_PATH=out/test/aarch64/mold-wrapper/a.sh +165: + out/test/aarch64/mold-wrapper/exe execvpe +183: + cc -B. -shared -o out/test/aarch64/plt-symbols/b.so out/test/aarch64/plt-symbols/a.o +165: out/test/aarch64/mold-wrapper/a.sh execvpe bar +165: + on_exit +165: + echo OK +165: OK +165: + exit 0 +174/347 Test #165: aarch64-mold-wrapper ..................................... Passed 0.77 sec test 186 Start 186: aarch64-print-dependencies @@ -12242,12 +12267,17 @@ 186: MACHINE=aarch64 186: CPU= 186: Test timeout computed to be: 1500 -185: + cc -o out/test/aarch64/preinit-array/a.o -c -xc - -183: + cc -B. -shared -o out/test/aarch64/plt-symbols/b.so out/test/aarch64/plt-symbols/a.o -179: + grep -F '{"foo":"bar"}' -179: + readelf -x .note.package out/test/aarch64/package-metadata/exe2 -179: 0x00000318 7b22666f 6f223a22 62617222 7d000000 {"foo":"bar"}... 186: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/print-dependencies.sh +185: + ./mold -o out/test/aarch64/preinit-array/exe1 out/test/aarch64/preinit-array/a.o +184: + cc -B. -shared -o out/test/aarch64/pltgot/b.so out/test/aarch64/pltgot/a.o +183: + grep 'LOCAL.*bar\$plt$' +183: + readelf -Ws out/test/aarch64/plt-symbols/b.so +183: 30: 0000000000010610 0 FUNC LOCAL DEFAULT 13 bar$plt +183: + on_exit +183: + echo OK +183: OK +183: + exit 0 +175/347 Test #183: aarch64-plt-symbols ...................................... Passed 0.19 sec 186: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 186: ++ export LC_ALL=C 186: ++ LC_ALL=C @@ -12262,10 +12292,6 @@ 186: ++ OBJCOPY=objcopy 186: ++ STRIP=strip 186: ++ QEMU= -179: + grep 'invalid string: foo%x' -179: + not cc -B. -o out/test/aarch64/package-metadata/exe3 out/test/aarch64/package-metadata/a.o -Wl,--package-metadata=foo%x -178: + cc -B. out/test/aarch64/omagic/a.o -o out/test/aarch64/omagic/exe -static -Wl,--omagic -175/347 Test #181: aarch64-pie .............................................. Passed 0.18 sec test 187 Start 187: aarch64-protected-dynsym @@ -12275,28 +12301,16 @@ 187: MACHINE=aarch64 187: CPU= 187: Test timeout computed to be: 1500 -182: + cc -c -o out/test/aarch64/plt-dso/c.o -xc - 186: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/print-dependencies.sh .sh 186: ++ testname=print-dependencies 186: ++ t=out/test/aarch64/print-dependencies 186: ++ mkdir -p out/test/aarch64/print-dependencies -179: mold: fatal: --package-metadata: invalid string: foo%x -179: + on_exit -179: + echo OK -179: OK -179: + exit 0 -182: + cat -176/347 Test #179: aarch64-package-metadata ................................. Passed 0.25 sec 187: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/protected-dynsym.sh -test 188 - Start 188: aarch64-protected - -188: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/protected.sh" -188: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -188: Environment variables: -188: MACHINE=aarch64 -188: CPU= -188: Test timeout computed to be: 1500 +185: + not grep PREINIT_ARRAY +185: + grep PREINIT_ARRAY +185: + readelf -W --dynamic out/test/aarch64/preinit-array/exe1 +186: ++ case $MACHINE in +186: ++ tlsdesc_opt=-mtls-dialect=desc 187: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 187: ++ export LC_ALL=C 187: ++ LC_ALL=C @@ -12311,10 +12325,24 @@ 187: ++ OBJCOPY=objcopy 187: ++ STRIP=strip 187: ++ QEMU= +186: +++ uname +184: + cat 187: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/protected-dynsym.sh .sh +186: ++ '[' Linux = FreeBSD ']' +186: ++ trap 'on_error $LINENO' ERR +186: ++ trap on_exit EXIT +186: ++ echo -n 'Testing print-dependencies ... ' +186: Testing print-dependencies ... ++ set -o pipefail +186: ++ set -x +184: + cc -o out/test/aarch64/pltgot/c.o -c -xc - -fPIC +186: + cc -o out/test/aarch64/print-dependencies/a.o -c -xc - 187: ++ testname=protected-dynsym 187: ++ t=out/test/aarch64/protected-dynsym 187: ++ mkdir -p out/test/aarch64/protected-dynsym +186: + cat +185: + return 0 +185: + cat +185: + cc -o out/test/aarch64/preinit-array/b.o -c -xc - 187: ++ case $MACHINE in 187: ++ tlsdesc_opt=-mtls-dialect=desc 187: +++ uname @@ -12324,47 +12352,49 @@ 187: ++ echo -n 'Testing protected-dynsym ... ' 187: Testing protected-dynsym ... ++ set -o pipefail 187: ++ set -x +187: + cat 187: + cc -fPIC -c -o out/test/aarch64/protected-dynsym/a.o -xc - +182: + cat +182: + cc -c -o out/test/aarch64/plt-dso/c.o -xc - +184: + cc -B. -o out/test/aarch64/pltgot/exe out/test/aarch64/pltgot/c.o out/test/aarch64/pltgot/b.so +185: + cc -B. -o out/test/aarch64/preinit-array/exe2 out/test/aarch64/preinit-array/b.o +187: + cc -fPIC -c -o out/test/aarch64/protected-dynsym/b.o -fcommon -xc - +182: + 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 187: + cat -185: + ./mold -o out/test/aarch64/preinit-array/exe1 out/test/aarch64/preinit-array/a.o -184: + cc -B. -shared -o out/test/aarch64/pltgot/b.so out/test/aarch64/pltgot/a.o -186: ++ case $MACHINE in -186: ++ tlsdesc_opt=-mtls-dialect=desc -188: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/protected.sh -183: + readelf -Ws out/test/aarch64/plt-symbols/b.so -186: +++ uname -183: + grep 'LOCAL.*bar\$plt$' -186: ++ '[' Linux = FreeBSD ']' -186: ++ trap 'on_error $LINENO' ERR -186: ++ trap on_exit EXIT -186: ++ echo -n 'Testing print-dependencies ... ' -186: Testing print-dependencies ... ++ set -o pipefail -186: ++ set -x +180: + grep 'Hello world' +180: + out/test/aarch64/physical-image-base/exe1 +180: Hello world 186: + cat -183: 30: 0000000000010610 0 FUNC LOCAL DEFAULT 13 bar$plt -183: + on_exit -183: + echo OK -183: OK -183: + exit 0 -186: + cc -o out/test/aarch64/print-dependencies/a.o -c -xc - -185: + readelf -W --dynamic out/test/aarch64/preinit-array/exe1 -185: + not grep PREINIT_ARRAY -185: + grep PREINIT_ARRAY -177/347 Test #183: aarch64-plt-symbols ...................................... Passed 0.14 sec -test 189 - Start 189: aarch64-push-pop-state +186: + cc -o out/test/aarch64/print-dependencies/b.o -c -xc - +180: + readelf -W --segments out/test/aarch64/physical-image-base/exe1 +180: + grep -E 'LOAD\s+0x000000 0x0*200000 0x0*800000' +180: LOAD 0x000000 0x0000000000200000 0x0000000000800000 0x000568 0x000568 R 0x10000 +180: + grep __phys_start_foo +180: + readelf -Ws out/test/aarch64/physical-image-base/exe1 +187: + 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 +181: + readelf --file-header out/test/aarch64/pie/exe +181: + grep -E '(Shared object file|Position-Independent Executable file)' +180: 122: 0000000000810040 0 NOTYPE LOCAL DEFAULT 26 __phys_start_foo +180: + 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' +181: Type: DYN (Position-Independent Executable file) +181: + out/test/aarch64/pie/exe +181: + grep 'Hello world' +181: Hello world +181: + on_exit +181: + echo OK +181: OK +181: + exit 0 +176/347 Test #181: aarch64-pie .............................................. Passed 0.41 sec +test 188 + Start 188: aarch64-protected -189: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/push-pop-state.sh" -189: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -189: Environment variables: -189: MACHINE=aarch64 -189: CPU= -189: Test timeout computed to be: 1500 -185: + return 0 -185: + cc -o out/test/aarch64/preinit-array/b.o -c -xc - -185: + cat -180: + grep 'Hello world' -189: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/push-pop-state.sh +188: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/protected.sh" +188: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +188: Environment variables: +188: MACHINE=aarch64 +188: CPU= +188: Test timeout computed to be: 1500 +188: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/protected.sh 188: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 188: ++ export LC_ALL=C 188: ++ LC_ALL=C @@ -12379,6 +12409,76 @@ 188: ++ OBJCOPY=objcopy 188: ++ STRIP=strip 188: ++ QEMU= +188: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/protected.sh .sh +188: ++ testname=protected +188: ++ t=out/test/aarch64/protected +188: ++ mkdir -p out/test/aarch64/protected +187: + readelf --symbols out/test/aarch64/protected-dynsym/c.so +184: + grep 'Hello world' +184: + out/test/aarch64/pltgot/exe +187: + grep -E 'PROTECTED\b.*\bfoo\b' +186: + 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 +186: + grep 'b\.o.*a\.o.*foo$' +187: 5: 00000000000308bc 4 OBJECT GLOBAL PROTECTED 23 foo +187: + cat +187: + cc -fPIC -c -o out/test/aarch64/protected-dynsym/d.o -fno-common -xc - +184: Hello world +188: ++ case $MACHINE in +188: ++ tlsdesc_opt=-mtls-dialect=desc +184: + on_exit +184: + echo OK +184: OK +184: + exit 0 +177/347 Test #184: aarch64-pltgot ........................................... Passed 0.37 sec +test 189 + Start 189: aarch64-push-pop-state + +189: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/push-pop-state.sh" +189: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +189: Environment variables: +189: MACHINE=aarch64 +189: CPU= +189: Test timeout computed to be: 1500 +188: +++ uname +188: ++ '[' Linux = FreeBSD ']' +188: ++ trap 'on_error $LINENO' ERR +188: ++ trap on_exit EXIT +188: ++ echo -n 'Testing protected ... ' +188: Testing protected ... ++ set -o pipefail +188: ++ set -x +188: + cc -fPIC -c -o out/test/aarch64/protected/a.o -xc - +185: + readelf -W --dynamic out/test/aarch64/preinit-array/exe2 +185: + grep PREINIT_ARRAY +185: 0x0000000000000020 (PREINIT_ARRAY) 0x20a10 +185: 0x0000000000000021 (PREINIT_ARRAYSZ) 8 (bytes) +185: + on_exit +185: + echo OK +185: OK +185: + exit 0 +187: + 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 +189: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/push-pop-state.sh +178/347 Test #185: aarch64-preinit-array .................................... Passed 0.34 sec +test 190 + Start 190: aarch64-range-extension-thunk + +190: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/range-extension-thunk.sh" +190: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +190: Environment variables: +190: MACHINE=aarch64 +190: CPU= +190: Test timeout computed to be: 1500 +188: + cat +188: + cc -B. -o out/test/aarch64/protected/b.so -shared out/test/aarch64/protected/a.o +188: + cat +188: + cc -c -o out/test/aarch64/protected/c.o -xc - -fno-PIE +188: + cc -B. -no-pie -o out/test/aarch64/protected/exe out/test/aarch64/protected/c.o out/test/aarch64/protected/b.so +188: + out/test/aarch64/protected/exe +188: + grep '3 4 0' +188: 3 4 0 +188: + on_exit +188: + echo OK +188: OK +188: + exit 0 189: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 189: ++ export LC_ALL=C 189: ++ LC_ALL=C @@ -12393,19 +12493,7 @@ 189: ++ OBJCOPY=objcopy 189: ++ STRIP=strip 189: ++ QEMU= -188: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/protected.sh .sh -180: + out/test/aarch64/physical-image-base/exe1 -184: + cc -o out/test/aarch64/pltgot/c.o -c -xc - -fPIC -180: Hello world -188: ++ testname=protected -188: ++ t=out/test/aarch64/protected -188: ++ mkdir -p out/test/aarch64/protected 189: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/push-pop-state.sh .sh -184: + cat -180: + grep -E 'LOAD\s+0x000000 0x0*200000 0x0*800000' -180: + readelf -W --segments out/test/aarch64/physical-image-base/exe1 -180: LOAD 0x000000 0x0000000000200000 0x0000000000800000 0x000568 0x000568 R 0x10000 -180: + grep __phys_start_foo 189: ++ testname=push-pop-state 189: ++ t=out/test/aarch64/push-pop-state 189: ++ mkdir -p out/test/aarch64/push-pop-state @@ -12418,29 +12506,75 @@ 189: ++ echo -n 'Testing push-pop-state ... ' 189: Testing push-pop-state ... ++ set -o pipefail 189: ++ set -x -188: ++ case $MACHINE in -188: ++ tlsdesc_opt=-mtls-dialect=desc -188: +++ uname -188: ++ '[' Linux = FreeBSD ']' -188: ++ trap 'on_error $LINENO' ERR -188: ++ trap on_exit EXIT -188: ++ echo -n 'Testing protected ... ' -188: Testing protected ... ++ set -o pipefail -188: ++ set -x +189: + cat 189: + cc -shared -o out/test/aarch64/push-pop-state/a.so -xc - -188: + cc -fPIC -c -o out/test/aarch64/protected/a.o -xc - -180: + readelf -Ws out/test/aarch64/physical-image-base/exe1 -188: + cat 189: + cat -182: + 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 -180: 122: 0000000000810040 0 NOTYPE LOCAL DEFAULT 26 __phys_start_foo -180: + 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' -187: + cc -fPIC -c -o out/test/aarch64/protected-dynsym/b.o -fcommon -xc - +189: + cc -shared -o out/test/aarch64/push-pop-state/b.so -xc - +189: + cat +189: + cc -c -o out/test/aarch64/push-pop-state/c.o -xc - +189: + 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: + readelf --dynamic out/test/aarch64/push-pop-state/exe +189: + grep -F a.so out/test/aarch64/push-pop-state/log +189: 0x0000000000000001 (NEEDED) Shared library: [out/test/aarch64/push-pop-state/a.so] +189: + not grep -F b.so out/test/aarch64/push-pop-state/log +189: + grep -F b.so out/test/aarch64/push-pop-state/log +189: + return 0 +189: + on_exit +189: + echo OK +189: OK +189: + exit 0 +186: out/test/aarch64/print-dependencies/b.o:(.text) out/test/aarch64/print-dependencies/a.o:(.text) u foo +186: + on_exit +186: + echo OK +186: OK +186: + exit 0 +179: + grep -F '{"foo":"bar"}' +179: + readelf -x .note.package out/test/aarch64/package-metadata/exe1 +179: 0x00000318 7b22666f 6f223a22 62617222 7d000000 {"foo":"bar"}... +179: + cc -B. -o out/test/aarch64/package-metadata/exe2 out/test/aarch64/package-metadata/a.o -Wl,--package-metadata=%7B%22foo%22%3A%22bar%22%7D +179: + grep -F '{"foo":"bar"}' +179: + readelf -x .note.package out/test/aarch64/package-metadata/exe2 +179: 0x00000318 7b22666f 6f223a22 62617222 7d000000 {"foo":"bar"}... +179: + not cc -B. -o out/test/aarch64/package-metadata/exe3 out/test/aarch64/package-metadata/a.o -Wl,--package-metadata=foo%x +179: + grep 'invalid string: foo%x' +179: mold: fatal: --package-metadata: invalid string: foo%x +179: + on_exit +179: + echo OK +179: OK +179: + exit 0 +187: + readelf --symbols out/test/aarch64/protected-dynsym/e.so +187: + grep -E 'PROTECTED\b.*\bfoo\b' +187: 5: 00000000000308bc 4 OBJECT GLOBAL PROTECTED 22 foo +187: + on_exit +187: + echo OK +187: OK +187: + exit 0 +180: + grep -E 'LOAD\s+\S+\s+(\S+)\s\1.*R E 0' +180: + readelf -W --segments out/test/aarch64/physical-image-base/exe2 +180: LOAD 0x010000 0x0000000000800000 0x0000000000800000 0x000230 0x000230 R E 0x10000 +180: + grep -E 'LOAD\s+\S+\s+(\S+)\s\1.*R 0' +180: + readelf -W --segments out/test/aarch64/physical-image-base/exe2 +180: LOAD 0x020000 0x0000000000810000 0x0000000000810000 0x0002c0 0x0002c0 R 0x10000 +180: + on_exit +180: + echo OK +180: OK +180: + exit 0 +182: + grep 'Hello WORLD' +182: + out/test/aarch64/plt-dso/exe +182: Hello WORLD +182: + on_exit +182: + echo OK +182: OK +182: + exit 0 +153: + out/test/aarch64/lto-gcc/exe3 +153: + grep 'Hello world' +153: Hello world +153: + on_exit +153: + echo OK +153: OK +153: + exit 0 178: + readelf -W --segments out/test/aarch64/omagic/exe 178: + grep -w RWE -186: + cat -187: + cat -186: + cc -o out/test/aarch64/print-dependencies/b.o -c -xc - 178: NOTE 0x000238 0x0000000000200238 0x0000000000200238 0x000044 0x000044 RWE 0x4 178: LOAD 0x000000 0x0000000000200000 0x0000000000200000 0x081550 0x081550 RWE 0x10000 178: LOAD 0x081550 0x0000000000291550 0x0000000000291550 0x003ba8 0x00eab0 RWE 0x10000 @@ -12449,20 +12583,97 @@ 178: + echo OK 178: OK 178: + exit 0 -178/347 Test #178: aarch64-omagic ........................................... Passed 0.34 sec -test 190 - Start 190: aarch64-range-extension-thunk - -190: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/range-extension-thunk.sh" -190: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -190: Environment variables: -190: MACHINE=aarch64 -190: CPU= -190: Test timeout computed to be: 1500 -185: + cc -B. -o out/test/aarch64/preinit-array/exe2 out/test/aarch64/preinit-array/b.o -188: + cc -B. -o out/test/aarch64/protected/b.so -shared out/test/aarch64/protected/a.o -187: + 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 190: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/range-extension-thunk.sh +179/347 Test #153: aarch64-lto-gcc .......................................... Passed 2.47 sec +180/347 Test #178: aarch64-omagic ........................................... Passed 1.30 sec +181/347 Test #179: aarch64-package-metadata ................................. Passed 1.16 sec +182/347 Test #180: aarch64-physical-image-base .............................. Passed 1.12 sec +183/347 Test #182: aarch64-plt-dso .......................................... Passed 1.06 sec +184/347 Test #186: aarch64-print-dependencies ............................... Passed 0.90 sec +185/347 Test #187: aarch64-protected-dynsym ................................. Passed 0.85 sec +186/347 Test #188: aarch64-protected ........................................ Passed 0.70 sec +187/347 Test #189: aarch64-push-pop-state ................................... Passed 0.66 sec +test 191 + Start 191: aarch64-range-extension-thunk2 + +191: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/range-extension-thunk2.sh" +191: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +191: Environment variables: +191: MACHINE=aarch64 +191: CPU= +191: Test timeout computed to be: 1500 +test 192 + Start 192: aarch64-range-extension-thunk3 + +192: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/range-extension-thunk3.sh" +192: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +192: Environment variables: +192: MACHINE=aarch64 +192: CPU= +192: Test timeout computed to be: 1500 +test 193 + Start 193: aarch64-relax-got-load + +193: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/relax-got-load.sh" +193: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +193: Environment variables: +193: MACHINE=aarch64 +193: CPU= +193: Test timeout computed to be: 1500 +test 194 + Start 194: aarch64-reloc-rodata + +194: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/reloc-rodata.sh" +194: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +194: Environment variables: +194: MACHINE=aarch64 +194: CPU= +194: Test timeout computed to be: 1500 +test 195 + Start 195: aarch64-relocatable-archive + +195: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-archive.sh" +195: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +195: Environment variables: +195: MACHINE=aarch64 +195: CPU= +195: Test timeout computed to be: 1500 +test 196 + Start 196: aarch64-relocatable-c++ + +196: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-c++.sh" +196: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +196: Environment variables: +196: MACHINE=aarch64 +196: CPU= +196: Test timeout computed to be: 1500 +test 197 + Start 197: aarch64-relocatable-compressed-debug-info + +197: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-compressed-debug-info.sh" +197: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +197: Environment variables: +197: MACHINE=aarch64 +197: CPU= +197: Test timeout computed to be: 1500 +test 198 + Start 198: aarch64-relocatable-debug-info + +198: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-debug-info.sh" +198: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +198: Environment variables: +198: MACHINE=aarch64 +198: CPU= +198: Test timeout computed to be: 1500 +test 199 + Start 199: aarch64-relocatable-exception + +199: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-exception.sh" +199: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +199: Environment variables: +199: MACHINE=aarch64 +199: CPU= +199: Test timeout computed to be: 1500 190: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 190: ++ export LC_ALL=C 190: ++ LC_ALL=C @@ -12477,7 +12688,6 @@ 190: ++ OBJCOPY=objcopy 190: ++ STRIP=strip 190: ++ QEMU= -184: + cc -B. -o out/test/aarch64/pltgot/exe out/test/aarch64/pltgot/c.o out/test/aarch64/pltgot/b.so 190: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/range-extension-thunk.sh .sh 190: ++ testname=range-extension-thunk 190: ++ t=out/test/aarch64/range-extension-thunk @@ -12502,47 +12712,7 @@ 190: + cat 190: + cat 190: + cc -c -o out/test/aarch64/range-extension-thunk/c.o out/test/aarch64/range-extension-thunk/a.c -O0 -189: + cat -182: + grep 'Hello WORLD' -186: + 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 -186: + grep 'b\.o.*a\.o.*foo$' -189: + cc -shared -o out/test/aarch64/push-pop-state/b.so -xc - -182: + out/test/aarch64/plt-dso/exe -182: Hello WORLD -182: + on_exit -182: + echo OK -182: OK -182: + exit 0 -179/347 Test #182: aarch64-plt-dso .......................................... Passed 0.25 sec -test 191 - Start 191: aarch64-range-extension-thunk2 - -191: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/range-extension-thunk2.sh" -191: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -191: Environment variables: -191: MACHINE=aarch64 -191: CPU= -191: Test timeout computed to be: 1500 -153: + grep 'Hello world' -153: + out/test/aarch64/lto-gcc/exe3 -153: Hello world -153: + on_exit -153: + echo OK -153: OK -153: + exit 0 -188: + cc -c -o out/test/aarch64/protected/c.o -xc - -fno-PIE -188: + cat 191: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/range-extension-thunk2.sh -180/347 Test #153: aarch64-lto-gcc .......................................... Passed 1.48 sec -test 192 - Start 192: aarch64-range-extension-thunk3 - -192: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/range-extension-thunk3.sh" -192: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -192: Environment variables: -192: MACHINE=aarch64 -192: CPU= -192: Test timeout computed to be: 1500 191: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 191: ++ export LC_ALL=C 191: ++ LC_ALL=C @@ -12557,19 +12727,21 @@ 191: ++ OBJCOPY=objcopy 191: ++ STRIP=strip 191: ++ QEMU= -185: + grep PREINIT_ARRAY 191: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/range-extension-thunk2.sh .sh -185: + readelf -W --dynamic out/test/aarch64/preinit-array/exe2 -184: + grep 'Hello world' 191: ++ testname=range-extension-thunk2 191: ++ t=out/test/aarch64/range-extension-thunk2 191: ++ mkdir -p out/test/aarch64/range-extension-thunk2 -185: 0x0000000000000020 (PREINIT_ARRAY) 0x20a10 -185: 0x0000000000000021 (PREINIT_ARRAYSZ) 8 (bytes) -185: + on_exit -185: + echo OK -185: OK -185: + exit 0 +191: ++ case $MACHINE in +191: ++ tlsdesc_opt=-mtls-dialect=desc +191: +++ uname +191: ++ '[' Linux = FreeBSD ']' +191: ++ trap 'on_error $LINENO' ERR +191: ++ trap on_exit EXIT +191: ++ echo -n 'Testing range-extension-thunk2 ... ' +191: Testing range-extension-thunk2 ... ++ set -o pipefail +191: ++ set -x +191: + cat +191: + cc -o out/test/aarch64/range-extension-thunk2/a.o -c -xc - -ffunction-sections 192: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/range-extension-thunk3.sh 192: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 192: ++ export LC_ALL=C @@ -12586,47 +12758,9 @@ 192: ++ STRIP=strip 192: ++ QEMU= 192: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/range-extension-thunk3.sh .sh -184: + out/test/aarch64/pltgot/exe 192: ++ testname=range-extension-thunk3 192: ++ t=out/test/aarch64/range-extension-thunk3 192: ++ mkdir -p out/test/aarch64/range-extension-thunk3 -181/347 Test #185: aarch64-preinit-array .................................... Passed 0.22 sec -184: Hello world -test 193 - Start 193: aarch64-relax-got-load - -193: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/relax-got-load.sh" -193: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -193: Environment variables: -193: MACHINE=aarch64 -193: CPU= -193: Test timeout computed to be: 1500 -191: ++ case $MACHINE in -191: ++ tlsdesc_opt=-mtls-dialect=desc -191: +++ uname -193: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/relax-got-load.sh -184: + on_exit -184: + echo OK -184: OK -184: + exit 0 -191: ++ '[' Linux = FreeBSD ']' -182/347 Test #184: aarch64-pltgot ........................................... Passed 0.24 sec -191: ++ trap 'on_error $LINENO' ERR -191: ++ trap on_exit EXIT -191: ++ echo -n 'Testing range-extension-thunk2 ... ' -191: Testing range-extension-thunk2 ... ++ set -o pipefail -191: ++ set -x -test 194 - Start 194: aarch64-reloc-rodata - -194: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/reloc-rodata.sh" -194: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -194: Environment variables: -194: MACHINE=aarch64 -194: CPU= -194: Test timeout computed to be: 1500 -191: + cat -191: + cc -o out/test/aarch64/range-extension-thunk2/a.o -c -xc - -ffunction-sections 192: ++ case $MACHINE in 192: ++ tlsdesc_opt=-mtls-dialect=desc 192: +++ uname @@ -12637,12 +12771,10 @@ 192: Testing range-extension-thunk3 ... ++ set -o pipefail 192: ++ set -x 192: + '[' aarch64 = sh4 ']' -192: + seq 1 10000 192: + sed 's/.*/void func&() {}/' +192: + seq 1 10000 192: + cc -B. -o out/test/aarch64/range-extension-thunk3/b.so -shared out/test/aarch64/range-extension-thunk3/a.c -190: + cc -c -o out/test/aarch64/range-extension-thunk/d.o out/test/aarch64/range-extension-thunk/b.c -O0 -187: + readelf --symbols out/test/aarch64/protected-dynsym/c.so -187: + grep -E 'PROTECTED\b.*\bfoo\b' +193: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/relax-got-load.sh 193: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 193: ++ export LC_ALL=C 193: ++ LC_ALL=C @@ -12657,26 +12789,7 @@ 193: ++ OBJCOPY=objcopy 193: ++ STRIP=strip 193: ++ QEMU= -188: + cc -B. -no-pie -o out/test/aarch64/protected/exe out/test/aarch64/protected/c.o out/test/aarch64/protected/b.so -187: 5: 00000000000308bc 4 OBJECT GLOBAL PROTECTED 23 foo -194: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/reloc-rodata.sh -194: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -194: ++ export LC_ALL=C -194: ++ LC_ALL=C -194: ++ '[' -z aarch64 ']' -194: ++ '[' -z '' ']' -194: ++ TESTDIR=out/test/aarch64 -194: ++ CC=cc -194: ++ CXX=c++ -194: ++ GCC=gcc -194: ++ GXX=g++ -194: ++ OBJDUMP=objdump -194: ++ OBJCOPY=objcopy -194: ++ STRIP=strip -194: ++ QEMU= -187: + cat 193: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/relax-got-load.sh .sh -189: + cc -c -o out/test/aarch64/push-pop-state/c.o -xc - 193: ++ testname=relax-got-load 193: ++ t=out/test/aarch64/relax-got-load 193: ++ mkdir -p out/test/aarch64/relax-got-load @@ -12689,31 +12802,27 @@ 193: ++ echo -n 'Testing relax-got-load ... ' 193: Testing relax-got-load ... ++ set -o pipefail 193: ++ set -x -189: + cat 193: + cat 193: + cc -o out/test/aarch64/relax-got-load/a.o -c -xc - -fPIC +194: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/reloc-rodata.sh +194: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +194: ++ export LC_ALL=C +194: ++ LC_ALL=C +194: ++ '[' -z aarch64 ']' +194: ++ '[' -z '' ']' +194: ++ TESTDIR=out/test/aarch64 +194: ++ CC=cc +194: ++ CXX=c++ +194: ++ GCC=gcc +194: ++ GXX=g++ +194: ++ OBJDUMP=objdump +194: ++ OBJCOPY=objcopy +194: ++ STRIP=strip +194: ++ QEMU= 194: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/reloc-rodata.sh .sh -187: + cc -fPIC -c -o out/test/aarch64/protected-dynsym/d.o -fno-common -xc - 194: ++ testname=reloc-rodata 194: ++ t=out/test/aarch64/reloc-rodata 194: ++ mkdir -p out/test/aarch64/reloc-rodata -186: out/test/aarch64/print-dependencies/b.o:(.text) out/test/aarch64/print-dependencies/a.o:(.text) u foo -186: + on_exit -186: + echo OK -186: OK -186: + exit 0 -183/347 Test #186: aarch64-print-dependencies ............................... Passed 0.19 sec -test 195 - Start 195: aarch64-relocatable-archive - -195: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-archive.sh" -195: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -195: Environment variables: -195: MACHINE=aarch64 -195: CPU= -195: Test timeout computed to be: 1500 -194: ++ case $MACHINE in -194: ++ tlsdesc_opt=-mtls-dialect=desc 195: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-archive.sh 195: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 195: ++ export LC_ALL=C @@ -12743,76 +12852,8 @@ 195: Testing relocatable-archive ... ++ set -o pipefail 195: ++ set -x 195: + nm mold -180: + readelf -W --segments out/test/aarch64/physical-image-base/exe2 -180: + grep -E 'LOAD\s+\S+\s+(\S+)\s\1.*R E 0' -194: +++ uname -159: + cc -c -xc -o out/test/aarch64/many-sections/b.o - -159: + cat -194: ++ '[' Linux = FreeBSD ']' -194: ++ trap 'on_error $LINENO' ERR -194: ++ trap on_exit EXIT -194: ++ echo -n 'Testing reloc-rodata ... ' -194: Testing reloc-rodata ... ++ set -o pipefail -194: ++ set -x -194: + exit -194: + on_exit -194: + echo OK -194: OK -194: + exit 0 -184/347 Test #194: aarch64-reloc-rodata ..................................... Passed 0.04 sec -test 196 - Start 196: aarch64-relocatable-c++ - -196: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-c++.sh" -196: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -196: Environment variables: -196: MACHINE=aarch64 -196: CPU= -196: Test timeout computed to be: 1500 -180: LOAD 0x010000 0x0000000000800000 0x0000000000800000 0x000230 0x000230 R E 0x10000 -187: + 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 -189: + 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 -180: + readelf -W --segments out/test/aarch64/physical-image-base/exe2 195: + grep __tsan_init -193: + cc -o out/test/aarch64/relax-got-load/b.o -c -xc - -fPIC -180: + grep -E 'LOAD\s+\S+\s+(\S+)\s\1.*R 0' -180: LOAD 0x020000 0x0000000000810000 0x0000000000810000 0x0002c0 0x0002c0 R 0x10000 -193: + cat -190: + 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 -180: + on_exit -180: + echo OK -180: OK -180: + exit 0 -185/347 Test #180: aarch64-physical-image-base .............................. Passed 0.43 sec -test 197 - Start 197: aarch64-relocatable-compressed-debug-info - -197: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-compressed-debug-info.sh" -197: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -197: Environment variables: -197: MACHINE=aarch64 -197: CPU= -197: Test timeout computed to be: 1500 -197: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-compressed-debug-info.sh -197: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -197: ++ export LC_ALL=C -197: ++ LC_ALL=C -197: ++ '[' -z aarch64 ']' -197: ++ '[' -z '' ']' -197: ++ TESTDIR=out/test/aarch64 -197: ++ CC=cc -197: ++ CXX=c++ -197: ++ GCC=gcc -197: ++ GXX=g++ -197: ++ OBJDUMP=objdump -197: ++ OBJCOPY=objcopy -197: ++ STRIP=strip -197: ++ QEMU= -197: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-compressed-debug-info.sh .sh 196: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-c++.sh -197: ++ testname=relocatable-compressed-debug-info -197: ++ t=out/test/aarch64/relocatable-compressed-debug-info -197: ++ mkdir -p out/test/aarch64/relocatable-compressed-debug-info 196: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 196: ++ export LC_ALL=C 196: ++ LC_ALL=C @@ -12831,47 +12872,25 @@ 196: ++ testname=relocatable-c++ 196: ++ t=out/test/aarch64/relocatable-c++ 196: ++ mkdir -p out/test/aarch64/relocatable-c++ -159: + cc -B. -o out/test/aarch64/many-sections/exe out/test/aarch64/many-sections/a.o out/test/aarch64/many-sections/b.o -196: ++ case $MACHINE in -196: ++ tlsdesc_opt=-mtls-dialect=desc -196: +++ uname -197: ++ case $MACHINE in -197: ++ tlsdesc_opt=-mtls-dialect=desc -196: ++ '[' Linux = FreeBSD ']' -196: ++ trap 'on_error $LINENO' ERR -196: ++ trap on_exit EXIT -196: ++ echo -n 'Testing relocatable-c++ ... ' -196: Testing relocatable-c++ ... ++ set -o pipefail -196: ++ set -x -196: + nm mold -197: +++ uname -193: + cc -B. -o out/test/aarch64/relax-got-load/exe1 out/test/aarch64/relax-got-load/a.o out/test/aarch64/relax-got-load/b.o -188: + grep '3 4 0' -188: + out/test/aarch64/protected/exe -196: + grep __tsan_init -197: ++ '[' Linux = FreeBSD ']' -197: ++ trap 'on_error $LINENO' ERR -197: ++ trap on_exit EXIT -197: ++ echo -n 'Testing relocatable-compressed-debug-info ... ' -197: Testing relocatable-compressed-debug-info ... ++ set -o pipefail -197: ++ set -x -197: + grep __tsan_init -188: 3 4 0 -188: + on_exit -188: + echo OK -188: OK -188: + exit 0 -186/347 Test #188: aarch64-protected ........................................ Passed 0.22 sec -test 198 - Start 198: aarch64-relocatable-debug-info - -198: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-debug-info.sh" -198: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -198: Environment variables: -198: MACHINE=aarch64 -198: CPU= -198: Test timeout computed to be: 1500 -197: + nm mold +197: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-compressed-debug-info.sh +197: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +197: ++ export LC_ALL=C +197: ++ LC_ALL=C +197: ++ '[' -z aarch64 ']' +197: ++ '[' -z '' ']' +197: ++ TESTDIR=out/test/aarch64 +197: ++ CC=cc +197: ++ CXX=c++ +197: ++ GCC=gcc +197: ++ GXX=g++ +197: ++ OBJDUMP=objdump +197: ++ OBJCOPY=objcopy +197: ++ STRIP=strip +197: ++ QEMU= +197: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-compressed-debug-info.sh .sh +197: ++ testname=relocatable-compressed-debug-info +197: ++ t=out/test/aarch64/relocatable-compressed-debug-info +197: ++ mkdir -p out/test/aarch64/relocatable-compressed-debug-info 198: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-debug-info.sh 198: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 198: ++ export LC_ALL=C @@ -12887,41 +12906,17 @@ 198: ++ OBJCOPY=objcopy 198: ++ STRIP=strip 198: ++ QEMU= -187: + grep -E 'PROTECTED\b.*\bfoo\b' 198: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-debug-info.sh .sh 198: ++ testname=relocatable-debug-info 198: ++ t=out/test/aarch64/relocatable-debug-info 198: ++ mkdir -p out/test/aarch64/relocatable-debug-info +194: ++ case $MACHINE in +194: ++ tlsdesc_opt=-mtls-dialect=desc +199: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-exception.sh +197: ++ case $MACHINE in +197: ++ tlsdesc_opt=-mtls-dialect=desc 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 -198: ++ echo -n 'Testing relocatable-debug-info ... ' -198: Testing relocatable-debug-info ... ++ set -o pipefail -198: ++ set -x -187: + readelf --symbols out/test/aarch64/protected-dynsym/e.so -198: + grep __tsan_init -198: + nm mold -187: 5: 00000000000308bc 4 OBJECT GLOBAL PROTECTED 22 foo -187: + on_exit -187: + echo OK -187: OK -187: + exit 0 -187/347 Test #187: aarch64-protected-dynsym ................................. Passed 0.27 sec -test 199 - Start 199: aarch64-relocatable-exception - -199: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-exception.sh" -199: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -199: Environment variables: -199: MACHINE=aarch64 -199: CPU= -199: Test timeout computed to be: 1500 -191: + cc -B. -o out/test/aarch64/range-extension-thunk2/exe out/test/aarch64/range-extension-thunk2/a.o -199: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-exception.sh -193: + grep 'Hello world' 199: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 199: ++ export LC_ALL=C 199: ++ LC_ALL=C @@ -12936,25 +12931,66 @@ 199: ++ OBJCOPY=objcopy 199: ++ STRIP=strip 199: ++ QEMU= -193: + out/test/aarch64/relax-got-load/exe1 -193: Hello world -189: + readelf --dynamic out/test/aarch64/push-pop-state/exe -193: + cc -B. -o out/test/aarch64/relax-got-load/exe2 out/test/aarch64/relax-got-load/a.o out/test/aarch64/relax-got-load/b.o -Wl,--no-relax -190: + out/test/aarch64/range-extension-thunk/exe1 199: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-exception.sh .sh -189: + grep -F a.so out/test/aarch64/push-pop-state/log +198: +++ uname +198: ++ '[' Linux = FreeBSD ']' +198: ++ trap 'on_error $LINENO' ERR +198: ++ trap on_exit EXIT +198: ++ echo -n 'Testing relocatable-debug-info ... ' +198: Testing relocatable-debug-info ... ++ set -o pipefail +198: ++ set -x +197: +++ uname +196: ++ case $MACHINE in +196: ++ tlsdesc_opt=-mtls-dialect=desc +197: ++ '[' Linux = FreeBSD ']' +197: ++ trap 'on_error $LINENO' ERR +197: ++ trap on_exit EXIT +197: ++ echo -n 'Testing relocatable-compressed-debug-info ... ' +197: Testing relocatable-compressed-debug-info ... ++ set -o pipefail +197: ++ set -x 199: ++ testname=relocatable-exception 199: ++ t=out/test/aarch64/relocatable-exception 199: ++ mkdir -p out/test/aarch64/relocatable-exception -189: 0x0000000000000001 (NEEDED) Shared library: [out/test/aarch64/push-pop-state/a.so] -189: + not grep -F b.so out/test/aarch64/push-pop-state/log -189: + grep -F b.so out/test/aarch64/push-pop-state/log -189: + return 0 -189: + on_exit -189: + echo OK -189: OK -189: + exit 0 -188/347 Test #189: aarch64-push-pop-state ................................... Passed 0.27 sec +197: + grep __tsan_init +197: + nm mold +199: ++ case $MACHINE in +199: ++ tlsdesc_opt=-mtls-dialect=desc +199: +++ uname +199: ++ '[' Linux = FreeBSD ']' +199: ++ trap 'on_error $LINENO' ERR +199: ++ trap on_exit EXIT +199: ++ echo -n 'Testing relocatable-exception ... ' +199: Testing relocatable-exception ... ++ set -o pipefail +199: ++ set -x +199: + '[' aarch64 = m68k ']' +199: + '[' aarch64 = sh4 ']' +199: + '[' aarch64 = sh4aeb ']' +199: + grep __tsan_init +196: +++ uname +199: + nm mold +196: ++ '[' Linux = FreeBSD ']' +196: ++ trap 'on_error $LINENO' ERR +196: ++ trap on_exit EXIT +196: ++ echo -n 'Testing relocatable-c++ ... ' +196: Testing relocatable-c++ ... ++ set -o pipefail +196: ++ set -x +196: + nm mold +198: + nm mold +196: + grep __tsan_init +194: +++ uname +194: ++ '[' Linux = FreeBSD ']' +194: ++ trap 'on_error $LINENO' ERR +194: ++ trap on_exit EXIT +194: ++ echo -n 'Testing reloc-rodata ... ' +194: Testing reloc-rodata ... ++ set -o pipefail +194: ++ set -x +194: + exit +194: + on_exit +194: + echo OK +194: OK +194: + exit 0 +198: + grep __tsan_init +188/347 Test #194: aarch64-reloc-rodata ..................................... Passed 0.08 sec test 200 Start 200: aarch64-relocatable-many-sections @@ -12964,12 +13000,7 @@ 200: MACHINE=aarch64 200: CPU= 200: Test timeout computed to be: 1500 -190: + grep 'main fn1 fn3 fn2 fn4' -199: ++ case $MACHINE in -199: ++ tlsdesc_opt=-mtls-dialect=desc -190: main fn1 fn3 fn2 fn4 -199: +++ uname -190: + cc -c -o out/test/aarch64/range-extension-thunk/e.o out/test/aarch64/range-extension-thunk/a.c -O2 +190: + cc -c -o out/test/aarch64/range-extension-thunk/d.o out/test/aarch64/range-extension-thunk/b.c -O0 200: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-many-sections.sh 200: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 200: ++ export LC_ALL=C @@ -12999,39 +13030,72 @@ 200: Testing relocatable-many-sections ... ++ set -o pipefail 200: ++ set -x 200: + nm mold +190: + 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 200: + grep __tsan_init -199: ++ '[' Linux = FreeBSD ']' -199: ++ trap 'on_error $LINENO' ERR -199: ++ trap on_exit EXIT -199: ++ echo -n 'Testing relocatable-exception ... ' -199: Testing relocatable-exception ... ++ set -o pipefail -199: ++ set -x -199: + '[' aarch64 = m68k ']' -199: + '[' aarch64 = sh4 ']' -199: + '[' aarch64 = sh4aeb ']' -199: + nm mold -199: + grep __tsan_init -193: + out/test/aarch64/relax-got-load/exe2 +193: + cat +193: + cc -o out/test/aarch64/relax-got-load/b.o -c -xc - -fPIC +193: + cc -B. -o out/test/aarch64/relax-got-load/exe1 out/test/aarch64/relax-got-load/a.o out/test/aarch64/relax-got-load/b.o +159: + cc -c -xc -o out/test/aarch64/many-sections/b.o - +159: + cat +191: + cc -B. -o out/test/aarch64/range-extension-thunk2/exe out/test/aarch64/range-extension-thunk2/a.o +190: + grep 'main fn1 fn3 fn2 fn4' +190: + out/test/aarch64/range-extension-thunk/exe1 +190: main fn1 fn3 fn2 fn4 +190: + cc -c -o out/test/aarch64/range-extension-thunk/e.o out/test/aarch64/range-extension-thunk/a.c -O2 +159: + cc -B. -o out/test/aarch64/many-sections/exe out/test/aarch64/many-sections/a.o out/test/aarch64/many-sections/b.o 193: + grep 'Hello world' +193: + out/test/aarch64/relax-got-load/exe1 193: Hello world +193: + cc -B. -o out/test/aarch64/relax-got-load/exe2 out/test/aarch64/relax-got-load/a.o out/test/aarch64/relax-got-load/b.o -Wl,--no-relax +198: + cc -c -o out/test/aarch64/relocatable-debug-info/a.o -xc - -g +198: + cat +199: + cat +199: + c++ -c -o out/test/aarch64/relocatable-exception/a.o -xc++ - +195: + cc -c -o out/test/aarch64/relocatable-archive/a.o -xc - +195: + cat +196: + c++ -c -o out/test/aarch64/relocatable-c++/a.o -xc++ - +196: + cat +198: + cat +190: + cc -c -o out/test/aarch64/range-extension-thunk/f.o out/test/aarch64/range-extension-thunk/b.c -O2 +198: + cc -c -o out/test/aarch64/relocatable-debug-info/b.o -xc - -g +199: + cat +195: + cc -c -o out/test/aarch64/relocatable-archive/b.o -xc - +199: + c++ -c -o out/test/aarch64/relocatable-exception/b.o -xc++ - 195: + cat +196: + cat +193: + out/test/aarch64/relax-got-load/exe2 +193: + grep 'Hello world' +193: Hello world 193: + case $MACHINE in +190: + 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 193: + grep -v exe1 +196: + c++ -c -o out/test/aarch64/relocatable-c++/b.o -xc++ - 193: + objdump -d out/test/aarch64/relax-got-load/exe1 -195: + cc -c -o out/test/aarch64/relocatable-archive/a.o -xc - -159: + grep Hello -190: + cc -c -o out/test/aarch64/range-extension-thunk/f.o out/test/aarch64/range-extension-thunk/b.c -O2 193: + grep -v exe2 193: + objdump -d out/test/aarch64/relax-got-load/exe2 -159: + out/test/aarch64/many-sections/exe 193: + not diff out/test/aarch64/relax-got-load/log1 out/test/aarch64/relax-got-load/log2 193: + diff out/test/aarch64/relax-got-load/log1 out/test/aarch64/relax-got-load/log2 -159: Hello -159: + on_exit -159: + echo OK -159: OK -159: + exit 0 -189/347 Test #159: aarch64-many-sections .................................... Passed 1.65 sec +200: + sed 's/.*/.section .data.\0,"aw"\n.word 0\n/g' +195: + cat +200: + cc -c -xassembler -o out/test/aarch64/relocatable-many-sections/a.o - +200: + seq 1 80000 +191: + grep -E '^0 9 1 8 2 7 3 6 4 5 10 19 11 18 12 17 13 16 14 15 0 $' +191: + out/test/aarch64/range-extension-thunk2/exe +191: 0 9 1 8 2 7 3 6 4 5 10 19 11 18 12 17 13 16 14 15 0 +191: + on_exit +191: + echo OK +191: OK +191: + exit 0 +193: + return 0 +193: + on_exit +193: + echo OK +193: OK +193: + exit 0 +195: + cc -c -o out/test/aarch64/relocatable-archive/c.o -xc - +198: + grep 'Warning: DIE at offset' +198: + objdump --dwarf=info out/test/aarch64/relocatable-debug-info/a.o out/test/aarch64/relocatable-debug-info/b.o +189/347 Test #191: aarch64-range-extension-thunk2 ........................... Passed 0.53 sec +190/347 Test #193: aarch64-relax-got-load ................................... Passed 0.52 sec test 201 Start 201: aarch64-relocatable-merge-sections @@ -13041,13 +13105,6 @@ 201: MACHINE=aarch64 201: CPU= 201: Test timeout computed to be: 1500 -193: + return 0 -193: + on_exit -193: + echo OK -193: OK -193: + exit 0 -195: + cat -190/347 Test #193: aarch64-relax-got-load ................................... Passed 0.29 sec test 202 Start 202: aarch64-relocatable-mergeable-sections @@ -13057,7 +13114,27 @@ 202: MACHINE=aarch64 202: CPU= 202: Test timeout computed to be: 1500 +202: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-mergeable-sections.sh +202: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +202: ++ export LC_ALL=C +202: ++ LC_ALL=C +202: ++ '[' -z aarch64 ']' +202: ++ '[' -z '' ']' +202: ++ TESTDIR=out/test/aarch64 +202: ++ CC=cc +202: ++ CXX=c++ +202: ++ GCC=gcc +202: ++ GXX=g++ +202: ++ OBJDUMP=objdump +202: ++ OBJCOPY=objcopy +202: ++ STRIP=strip +202: ++ QEMU= 201: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-merge-sections.sh +202: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-mergeable-sections.sh .sh +197: + test_cflags -g3 -gz +202: ++ testname=relocatable-mergeable-sections +202: ++ t=out/test/aarch64/relocatable-mergeable-sections +202: ++ mkdir -p out/test/aarch64/relocatable-mergeable-sections 201: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 201: ++ export LC_ALL=C 201: ++ LC_ALL=C @@ -13072,12 +13149,25 @@ 201: ++ OBJCOPY=objcopy 201: ++ STRIP=strip 201: ++ QEMU= +197: + cc -B. -g3 -gz -o /dev/null -xc - 201: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-merge-sections.sh .sh 201: ++ testname=relocatable-merge-sections 201: ++ t=out/test/aarch64/relocatable-merge-sections 201: ++ mkdir -p out/test/aarch64/relocatable-merge-sections +197: + echo 'int main() {}' +159: + out/test/aarch64/many-sections/exe +202: ++ case $MACHINE in +202: ++ tlsdesc_opt=-mtls-dialect=desc +198: + ./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 201: ++ case $MACHINE in 201: ++ tlsdesc_opt=-mtls-dialect=desc +195: + cat +159: + grep Hello +159: Hello +159: + on_exit +159: + echo OK +159: OK +159: + exit 0 201: +++ uname 201: ++ '[' Linux = FreeBSD ']' 201: ++ trap 'on_error $LINENO' ERR @@ -13085,49 +13175,8 @@ 201: ++ echo -n 'Testing relocatable-merge-sections ... ' 201: Testing relocatable-merge-sections ... ++ set -o pipefail 201: ++ set -x -201: + grep __tsan_init -201: + nm mold -191: + grep -E '^0 9 1 8 2 7 3 6 4 5 10 19 11 18 12 17 13 16 14 15 0 $' -195: + cc -c -o out/test/aarch64/relocatable-archive/b.o -xc - -196: + cat -196: + c++ -c -o out/test/aarch64/relocatable-c++/a.o -xc++ - -202: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-mergeable-sections.sh -202: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -202: ++ export LC_ALL=C -202: ++ LC_ALL=C -202: ++ '[' -z aarch64 ']' -202: ++ '[' -z '' ']' -202: ++ TESTDIR=out/test/aarch64 -202: ++ CC=cc -202: ++ CXX=c++ -202: ++ GCC=gcc -202: ++ GXX=g++ -202: ++ OBJDUMP=objdump -202: ++ OBJCOPY=objcopy -202: ++ STRIP=strip -202: ++ QEMU= -202: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-mergeable-sections.sh .sh -202: ++ testname=relocatable-mergeable-sections -202: ++ t=out/test/aarch64/relocatable-mergeable-sections -202: ++ mkdir -p out/test/aarch64/relocatable-mergeable-sections -202: ++ case $MACHINE in -202: ++ tlsdesc_opt=-mtls-dialect=desc -191: + out/test/aarch64/range-extension-thunk2/exe 202: +++ uname -202: ++ '[' Linux = FreeBSD ']' -202: ++ trap 'on_error $LINENO' ERR -202: ++ trap on_exit EXIT -202: ++ echo -n 'Testing relocatable-mergeable-sections ... ' -202: Testing relocatable-mergeable-sections ... ++ set -o pipefail -202: ++ set -x -202: + nm mold -202: + grep __tsan_init -191: 0 9 1 8 2 7 3 6 4 5 10 19 11 18 12 17 13 16 14 15 0 -191: + on_exit -191: + echo OK -191: OK -191: + exit 0 -191/347 Test #191: aarch64-range-extension-thunk2 ........................... Passed 0.33 sec +191/347 Test #159: aarch64-many-sections .................................... Passed 2.79 sec test 203 Start 203: aarch64-relocatable @@ -13137,10 +13186,17 @@ 203: MACHINE=aarch64 203: CPU= 203: Test timeout computed to be: 1500 -197: + test_cflags -g3 -gz -197: + echo 'int main() {}' -197: + cc -B. -g3 -gz -o /dev/null -xc - -190: + 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 +202: ++ '[' Linux = FreeBSD ']' +202: ++ trap 'on_error $LINENO' ERR +202: ++ trap on_exit EXIT +202: ++ echo -n 'Testing relocatable-mergeable-sections ... ' +202: Testing relocatable-mergeable-sections ... ++ set -o pipefail +202: ++ set -x +202: + nm mold +195: + cc -c -o out/test/aarch64/relocatable-archive/d.o -xc - +201: + grep __tsan_init +201: + nm mold +202: + grep __tsan_init 203: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable.sh 203: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 203: ++ export LC_ALL=C @@ -13156,50 +13212,32 @@ 203: ++ OBJCOPY=objcopy 203: ++ STRIP=strip 203: ++ QEMU= +198: + cc -B. -o out/test/aarch64/relocatable-debug-info/exe out/test/aarch64/relocatable-debug-info/c.o 203: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable.sh .sh 203: ++ testname=relocatable 203: ++ t=out/test/aarch64/relocatable 203: ++ mkdir -p out/test/aarch64/relocatable 203: ++ case $MACHINE in 203: ++ tlsdesc_opt=-mtls-dialect=desc -195: + cc -c -o out/test/aarch64/relocatable-archive/c.o -xc - 203: +++ uname -195: + cat 203: ++ '[' Linux = FreeBSD ']' 203: ++ trap 'on_error $LINENO' ERR 203: ++ trap on_exit EXIT 203: ++ echo -n 'Testing relocatable ... ' 203: Testing relocatable ... ++ set -o pipefail 203: ++ set -x -203: + nm mold 203: + grep __tsan_init -196: + c++ -c -o out/test/aarch64/relocatable-c++/b.o -xc++ - -196: + cat -195: + cat -195: + cc -c -o out/test/aarch64/relocatable-archive/d.o -xc - -198: + cc -c -o out/test/aarch64/relocatable-debug-info/a.o -xc - -g -198: + cat +203: + nm mold +190: + out/test/aarch64/range-extension-thunk/exe2 195: + 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 +190: + grep 'main fn1 fn3 fn2 fn4' +190: main fn1 fn3 fn2 fn4 +190: + on_exit +190: + echo OK +190: OK +190: + exit 0 195: + ./mold -r -o out/test/aarch64/relocatable-archive/f.o out/test/aarch64/relocatable-archive/d.o out/test/aarch64/relocatable-archive/e.a -197: + cat -197: + gcc -c -o out/test/aarch64/relocatable-compressed-debug-info/a.o -xc - -g3 -gz -198: + cat -198: + cc -c -o out/test/aarch64/relocatable-debug-info/b.o -xc - -g -195: + readelf --symbols out/test/aarch64/relocatable-archive/f.o -195: + grep 'foo\b' out/test/aarch64/relocatable-archive/log -195: 19: 0000000000000018 24 FUNC GLOBAL DEFAULT 2 foo -195: + grep 'bar\b' out/test/aarch64/relocatable-archive/log -198: + objdump --dwarf=info out/test/aarch64/relocatable-debug-info/a.o out/test/aarch64/relocatable-debug-info/b.o -198: + grep 'Warning: DIE at offset' -195: 20: 0000000000000030 8 FUNC GLOBAL DEFAULT 2 bar -195: + not grep 'baz\b' out/test/aarch64/relocatable-archive/log -195: + grep 'baz\b' out/test/aarch64/relocatable-archive/log -195: + return 0 -195: + on_exit -195: + echo OK -195: OK -195: + exit 0 -192/347 Test #195: aarch64-relocatable-archive .............................. Passed 0.41 sec +192/347 Test #190: aarch64-range-extension-thunk ............................ Passed 1.29 sec test 204 Start 204: aarch64-relro @@ -13209,11 +13247,13 @@ 204: MACHINE=aarch64 204: CPU= 204: Test timeout computed to be: 1500 -198: + ./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 +197: + gcc -c -o out/test/aarch64/relocatable-compressed-debug-info/a.o -xc - -g3 -gz +197: + cat 204: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/relro.sh -190: + out/test/aarch64/range-extension-thunk/exe2 -190: + grep 'main fn1 fn3 fn2 fn4' -190: main fn1 fn3 fn2 fn4 +195: + readelf --symbols out/test/aarch64/relocatable-archive/f.o +195: + grep 'foo\b' out/test/aarch64/relocatable-archive/log +195: 19: 0000000000000018 24 FUNC GLOBAL DEFAULT 2 foo +195: + grep 'bar\b' out/test/aarch64/relocatable-archive/log 204: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 204: ++ export LC_ALL=C 204: ++ LC_ALL=C @@ -13232,22 +13272,29 @@ 204: ++ testname=relro 204: ++ t=out/test/aarch64/relro 204: ++ mkdir -p out/test/aarch64/relro -190: + on_exit -190: + echo OK -190: OK -190: + exit 0 204: ++ case $MACHINE in 204: ++ tlsdesc_opt=-mtls-dialect=desc 204: +++ uname -193/347 Test #190: aarch64-range-extension-thunk ............................ Passed 0.51 sec +198: + out/test/aarch64/relocatable-debug-info/exe +195: 20: 0000000000000030 8 FUNC GLOBAL DEFAULT 2 bar +195: + not grep 'baz\b' out/test/aarch64/relocatable-archive/log +195: + grep 'baz\b' out/test/aarch64/relocatable-archive/log 204: ++ '[' Linux = FreeBSD ']' 204: ++ trap 'on_error $LINENO' ERR 204: ++ trap on_exit EXIT 204: ++ echo -n 'Testing relro ... ' 204: Testing relro ... ++ set -o pipefail 204: ++ set -x -199: + cat -199: + c++ -c -o out/test/aarch64/relocatable-exception/a.o -xc++ - +204: + cc -c -xc -o out/test/aarch64/relro/a.o - +204: + cat +195: + return 0 +195: + on_exit +195: + echo OK +195: OK +195: + exit 0 +193/347 Test #195: aarch64-relocatable-archive .............................. Passed 0.69 sec +197: + cat +198: + grep 'Hello world' test 205 Start 205: aarch64-repro @@ -13257,9 +13304,12 @@ 205: MACHINE=aarch64 205: CPU= 205: Test timeout computed to be: 1500 -204: + cat -204: + cc -c -xc -o out/test/aarch64/relro/a.o - +197: + gcc -c -o out/test/aarch64/relocatable-compressed-debug-info/b.o -xc - -g3 -gz +198: Hello world +198: + objdump --dwarf=info out/test/aarch64/relocatable-debug-info/c.o 205: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/repro.sh +198: + not grep Warning +198: + grep Warning 205: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 205: ++ export LC_ALL=C 205: ++ LC_ALL=C @@ -13275,48 +13325,15 @@ 205: ++ STRIP=strip 205: ++ QEMU= 205: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/repro.sh .sh +198: + return 0 +198: + on_exit +198: + echo OK +198: OK +198: + exit 0 205: ++ testname=repro 205: ++ t=out/test/aarch64/repro 205: ++ mkdir -p out/test/aarch64/repro -205: ++ case $MACHINE in -205: ++ tlsdesc_opt=-mtls-dialect=desc -205: +++ uname -198: + cc -B. -o out/test/aarch64/relocatable-debug-info/exe out/test/aarch64/relocatable-debug-info/c.o -205: ++ '[' Linux = FreeBSD ']' -205: ++ trap 'on_error $LINENO' ERR -197: + gcc -c -o out/test/aarch64/relocatable-compressed-debug-info/b.o -xc - -g3 -gz -205: ++ trap on_exit EXIT -205: ++ echo -n 'Testing repro ... ' -205: Testing repro ... ++ set -o pipefail -205: ++ set -x -205: + cat -205: + cc -c -o out/test/aarch64/repro/a.o -xc - -197: + cat -202: + cat -202: + cc -c -o out/test/aarch64/relocatable-mergeable-sections/a.o -xassembler - -199: + cat -199: + c++ -c -o out/test/aarch64/relocatable-exception/b.o -xc++ - -202: + ./mold --relocatable -o out/test/aarch64/relocatable-mergeable-sections/b.o out/test/aarch64/relocatable-mergeable-sections/a.o -197: + ./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 -204: + cc -B. -o out/test/aarch64/relro/exe1 out/test/aarch64/relro/a.o -Wl,-z,relro,-z,lazy -200: + seq 1 80000 -200: + sed 's/.*/.section .data.\0,"aw"\n.word 0\n/g' -197: + cc -B. -o out/test/aarch64/relocatable-compressed-debug-info/exe out/test/aarch64/relocatable-compressed-debug-info/c.o -200: + cc -c -xassembler -o out/test/aarch64/relocatable-many-sections/a.o - -202: + readelf -W -p .rodata.str1.1 out/test/aarch64/relocatable-mergeable-sections/b.o -205: + rm -rf out/test/aarch64/repro/exe.repro out/test/aarch64/repro/exe.repro.tar -202: + grep -E '\b0\b.*Hello' -202: [ 0] Hello -205: + cc -B. -o out/test/aarch64/repro/exe out/test/aarch64/repro/a.o -202: + readelf -W -p .rodata.str1.1 out/test/aarch64/relocatable-mergeable-sections/b.o -202: + grep -E '\b7\b.*World' -202: [ 7] World -202: + on_exit -202: + echo OK -202: OK -202: + exit 0 -204: + out/test/aarch64/relro/exe1 -194/347 Test #202: aarch64-relocatable-mergeable-sections ................... Passed 0.24 sec +194/347 Test #198: aarch64-relocatable-debug-info ........................... Passed 0.70 sec test 206 Start 206: aarch64-require-defined @@ -13326,14 +13343,11 @@ 206: MACHINE=aarch64 206: CPU= 206: Test timeout computed to be: 1500 -204: + grep 'Hello world' -204: Hello world -204: + readelf --segments -W out/test/aarch64/relro/exe1 -198: + grep 'Hello world' -204: + grep -w GNU_RELRO -198: + out/test/aarch64/relocatable-debug-info/exe +204: + cc -B. -o out/test/aarch64/relro/exe1 out/test/aarch64/relro/a.o -Wl,-z,relro,-z,lazy +205: ++ case $MACHINE in +205: ++ tlsdesc_opt=-mtls-dialect=desc +205: +++ uname 206: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/require-defined.sh -204: GNU_RELRO 0x000820 0x0000000000020820 0x0000000000020820 0x000218 0x00f7e0 R 0x1 206: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 206: ++ export LC_ALL=C 206: ++ LC_ALL=C @@ -13348,25 +13362,47 @@ 206: ++ OBJCOPY=objcopy 206: ++ STRIP=strip 206: ++ QEMU= -204: + cc -B. -o out/test/aarch64/relro/exe2 out/test/aarch64/relro/a.o -Wl,-z,relro,-z,now -198: Hello world 206: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/require-defined.sh .sh 206: ++ testname=require-defined 206: ++ t=out/test/aarch64/require-defined 206: ++ mkdir -p out/test/aarch64/require-defined +205: ++ '[' Linux = FreeBSD ']' +205: ++ trap 'on_error $LINENO' ERR +205: ++ trap on_exit EXIT +205: ++ echo -n 'Testing repro ... ' +205: Testing repro ... ++ set -o pipefail +205: ++ set -x +205: + cc -c -o out/test/aarch64/repro/a.o -xc - +197: + ./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 +205: + cat +206: ++ case $MACHINE in +206: ++ tlsdesc_opt=-mtls-dialect=desc +206: +++ uname +206: ++ '[' Linux = FreeBSD ']' +206: ++ trap 'on_error $LINENO' ERR +206: ++ trap on_exit EXIT +206: ++ echo -n 'Testing require-defined ... ' +206: Testing require-defined ... ++ set -o pipefail +206: ++ set -x +206: + cc -o out/test/aarch64/require-defined/a.o -c -xc - +197: + cc -B. -o out/test/aarch64/relocatable-compressed-debug-info/exe out/test/aarch64/relocatable-compressed-debug-info/c.o +201: + cat +201: + cc -c -o out/test/aarch64/relocatable-merge-sections/a.o -xc -ffunction-sections - +206: + cat +201: + ./mold --relocatable -o out/test/aarch64/relocatable-merge-sections/b.o out/test/aarch64/relocatable-merge-sections/a.o +205: + rm -rf out/test/aarch64/repro/exe.repro out/test/aarch64/repro/exe.repro.tar +205: + cc -B. -o out/test/aarch64/repro/exe out/test/aarch64/repro/a.o 197: + grep 'Hello world' +204: + out/test/aarch64/relro/exe1 197: + out/test/aarch64/relocatable-compressed-debug-info/exe 197: Hello world 197: + on_exit 197: + echo OK 197: OK 197: + exit 0 -206: ++ case $MACHINE in -206: ++ tlsdesc_opt=-mtls-dialect=desc -198: + objdump --dwarf=info out/test/aarch64/relocatable-debug-info/c.o -195/347 Test #197: aarch64-relocatable-compressed-debug-info ................ Passed 0.49 sec -198: + not grep Warning -198: + grep Warning +204: + grep 'Hello world' +195/347 Test #197: aarch64-relocatable-compressed-debug-info ................ Passed 0.82 sec +204: Hello world test 207 Start 207: aarch64-response-file @@ -13376,17 +13412,15 @@ 207: MACHINE=aarch64 207: CPU= 207: Test timeout computed to be: 1500 -198: + return 0 -206: +++ uname -206: ++ '[' Linux = FreeBSD ']' -206: ++ trap 'on_error $LINENO' ERR -206: ++ trap on_exit EXIT -206: ++ echo -n 'Testing require-defined ... ' -206: Testing require-defined ... ++ set -o pipefail -206: ++ set -x -206: + cat -206: + cc -o out/test/aarch64/require-defined/a.o -c -xc - +204: + readelf --segments -W out/test/aarch64/relro/exe1 +204: + grep -w GNU_RELRO +204: GNU_RELRO 0x000820 0x0000000000020820 0x0000000000020820 0x000218 0x00f7e0 R 0x1 +204: + cc -B. -o out/test/aarch64/relro/exe2 out/test/aarch64/relro/a.o -Wl,-z,relro,-z,now +201: + readelf -WS out/test/aarch64/relocatable-merge-sections/b.o +206: + rm -f out/test/aarch64/require-defined/b.a +206: + ar rcs out/test/aarch64/require-defined/b.a out/test/aarch64/require-defined/a.o 207: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/response-file.sh +201: + grep -F .text.foo out/test/aarch64/relocatable-merge-sections/log1 207: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 207: ++ export LC_ALL=C 207: ++ LC_ALL=C @@ -13405,14 +13439,50 @@ 207: ++ testname=response-file 207: ++ t=out/test/aarch64/response-file 207: ++ mkdir -p out/test/aarch64/response-file +206: + cat +206: + cc -o out/test/aarch64/require-defined/c.o -c -xc - +201: [ 4] .text.foo PROGBITS 0000000000000000 00008c 000008 00 AX 0 0 4 207: ++ case $MACHINE in 207: ++ tlsdesc_opt=-mtls-dialect=desc -198: + on_exit -198: + echo OK -198: OK -198: + exit 0 +201: + grep -F .text.bar out/test/aarch64/relocatable-merge-sections/log1 207: +++ uname -196/347 Test #198: aarch64-relocatable-debug-info ........................... Passed 0.46 sec +160: + ./mold --relocatable -o out/test/aarch64/many-sections2/b.o out/test/aarch64/many-sections2/a.o +201: [ 3] .text.bar PROGBITS 0000000000000000 000084 000008 00 AX 0 0 4 +207: ++ '[' Linux = FreeBSD ']' +207: ++ trap 'on_error $LINENO' ERR +207: ++ trap on_exit EXIT +207: ++ echo -n 'Testing response-file ... ' +207: Testing response-file ... ++ set -o pipefail +207: ++ set -x +207: + cc -c -o out/test/aarch64/response-file/a.o -xc - +201: + ./mold --relocatable -o out/test/aarch64/relocatable-merge-sections/c.o out/test/aarch64/relocatable-merge-sections/a.o --relocatable-merge-sections +207: + cat +205: + not '[' -f out/test/aarch64/repro/exe.repro.tar ']' +205: + '[' -f out/test/aarch64/repro/exe.repro.tar ']' +205: + return 0 +205: + cc -B. -o out/test/aarch64/repro/exe out/test/aarch64/repro/a.o -Wl,-repro +207: + cc -c -o out/test/aarch64/response-file/b.o -xc - +206: + cc -B. -o out/test/aarch64/require-defined/exe out/test/aarch64/require-defined/c.o out/test/aarch64/require-defined/b.a +207: + cat +201: + readelf -WS out/test/aarch64/relocatable-merge-sections/c.o +201: + not grep -F .text.foo out/test/aarch64/relocatable-merge-sections/log2 +201: + grep -F .text.foo out/test/aarch64/relocatable-merge-sections/log2 +204: + out/test/aarch64/relro/exe2 +207: + cc -c -o out/test/aarch64/response-file/c.o -xc - +207: + cat +201: + return 0 +201: + not grep -F .text.bar out/test/aarch64/relocatable-merge-sections/log2 +201: + grep -F .text.bar out/test/aarch64/relocatable-merge-sections/log2 +204: + grep 'Hello world' +204: Hello world +201: + return 0 +201: + on_exit +201: + echo OK +201: OK +201: + exit 0 +203: + cat +196/347 Test #201: aarch64-relocatable-merge-sections ....................... Passed 0.47 sec +204: + readelf --segments -W out/test/aarch64/relro/exe2 test 208 Start 208: aarch64-response-file2 @@ -13422,14 +13492,12 @@ 208: MACHINE=aarch64 208: CPU= 208: Test timeout computed to be: 1500 -207: ++ '[' Linux = FreeBSD ']' -207: ++ trap 'on_error $LINENO' ERR -207: ++ trap on_exit EXIT -207: ++ echo -n 'Testing response-file ... ' -207: Testing response-file ... ++ set -o pipefail -207: ++ set -x -207: + cat -207: + cc -c -o out/test/aarch64/response-file/a.o -xc - +203: + cc -c -o out/test/aarch64/relocatable/a.o -xc - +207: + echo ''\''out/test/aarch64/response-file/b.o'\'' '\''out/test/aarch64/response-file/c.o'\''' +207: + cc -B. -o out/test/aarch64/response-file/exe out/test/aarch64/response-file/a.o -Wl,@out/test/aarch64/response-file/rsp +204: + grep -w GNU_RELRO +204: GNU_RELRO 0x000820 0x0000000000020820 0x0000000000020820 0x000258 0x00f7e0 R 0x1 +204: + cc -B. -o out/test/aarch64/relro/exe3 out/test/aarch64/relro/a.o -Wl,-z,norelro 208: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/response-file2.sh 208: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 208: ++ export LC_ALL=C @@ -13451,8 +13519,6 @@ 208: ++ mkdir -p out/test/aarch64/response-file2 208: ++ case $MACHINE in 208: ++ tlsdesc_opt=-mtls-dialect=desc -201: + cat -201: + cc -c -o out/test/aarch64/relocatable-merge-sections/a.o -xc -ffunction-sections - 208: +++ uname 208: ++ '[' Linux = FreeBSD ']' 208: ++ trap 'on_error $LINENO' ERR @@ -13460,64 +13526,20 @@ 208: ++ echo -n 'Testing response-file2 ... ' 208: Testing response-file2 ... ++ set -o pipefail 208: ++ set -x -208: + cat -204: + grep 'Hello world' -204: + out/test/aarch64/relro/exe2 -204: Hello world -204: + readelf --segments -W out/test/aarch64/relro/exe2 -204: + grep -w GNU_RELRO -208: + cc -c -o out/test/aarch64/response-file2/a.o -xc - -207: + cc -c -o out/test/aarch64/response-file/b.o -xc - -207: + cat -204: GNU_RELRO 0x000820 0x0000000000020820 0x0000000000020820 0x000258 0x00f7e0 R 0x1 -204: + cc -B. -o out/test/aarch64/relro/exe3 out/test/aarch64/relro/a.o -Wl,-z,norelro -206: + rm -f out/test/aarch64/require-defined/b.a -206: + ar rcs out/test/aarch64/require-defined/b.a out/test/aarch64/require-defined/a.o -201: + ./mold --relocatable -o out/test/aarch64/relocatable-merge-sections/b.o out/test/aarch64/relocatable-merge-sections/a.o -206: + cat -206: + cc -o out/test/aarch64/require-defined/c.o -c -xc - -207: + cat -208: + cc -c -o out/test/aarch64/response-file2/b.o -xc - -203: + cat -203: + cc -c -o out/test/aarch64/relocatable/a.o -xc - -208: + cat -207: + cc -c -o out/test/aarch64/response-file/c.o -xc - -206: + cc -B. -o out/test/aarch64/require-defined/exe out/test/aarch64/require-defined/c.o out/test/aarch64/require-defined/b.a -205: + not '[' -f out/test/aarch64/repro/exe.repro.tar ']' -205: + '[' -f out/test/aarch64/repro/exe.repro.tar ']' -205: + return 0 -205: + cc -B. -o out/test/aarch64/repro/exe out/test/aarch64/repro/a.o -Wl,-repro -208: + echo ''\''out/test/aarch64/response-file2/b.o'\''' -208: + echo @out/test/aarch64/response-file2/rsp1 -208: + cc -B. -o out/test/aarch64/response-file2/exe out/test/aarch64/response-file2/a.o -Wl,@out/test/aarch64/response-file2/rsp2 -201: + readelf -WS out/test/aarch64/relocatable-merge-sections/b.o -207: + echo ''\''out/test/aarch64/response-file/b.o'\'' '\''out/test/aarch64/response-file/c.o'\''' -207: + cc -B. -o out/test/aarch64/response-file/exe out/test/aarch64/response-file/a.o -Wl,@out/test/aarch64/response-file/rsp -201: + grep -F .text.foo out/test/aarch64/relocatable-merge-sections/log1 -201: [ 4] .text.foo PROGBITS 0000000000000000 00008c 000008 00 AX 0 0 4 -201: + grep -F .text.bar out/test/aarch64/relocatable-merge-sections/log1 -203: + cc -c -o out/test/aarch64/relocatable/b.o -xc - -203: + cat -206: + readelf --symbols out/test/aarch64/require-defined/exe 206: + not grep foobar 206: + grep foobar +208: + cat +206: + readelf --symbols out/test/aarch64/require-defined/exe +208: + cc -c -o out/test/aarch64/response-file2/a.o -xc - 206: + return 0 +203: + cc -c -o out/test/aarch64/relocatable/b.o -xc - 206: + 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 -201: [ 3] .text.bar PROGBITS 0000000000000000 000084 000008 00 AX 0 0 4 -201: + ./mold --relocatable -o out/test/aarch64/relocatable-merge-sections/c.o out/test/aarch64/relocatable-merge-sections/a.o --relocatable-merge-sections -204: + out/test/aarch64/relro/exe3 -204: + grep 'Hello world' -204: Hello world -204: + readelf --segments -W out/test/aarch64/relro/exe3 -204: + not grep -w GNU_RELRO -204: + grep -w GNU_RELRO -201: + readelf -WS out/test/aarch64/relocatable-merge-sections/c.o -208: + on_exit -208: + echo OK -208: OK -208: + exit 0 -197/347 Test #208: aarch64-response-file2 ................................... Passed 0.13 sec -204: + return 0 +203: + cat +207: + on_exit +207: + echo OK +207: OK +207: + exit 0 +197/347 Test #207: aarch64-response-file .................................... Passed 0.22 sec test 209 Start 209: aarch64-retain-symbols-file @@ -13527,14 +13549,73 @@ 209: MACHINE=aarch64 209: CPU= 209: Test timeout computed to be: 1500 -204: + on_exit -204: + echo OK -204: OK -204: + exit 0 +209: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/retain-symbols-file.sh +209: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +209: ++ export LC_ALL=C +209: ++ LC_ALL=C +209: ++ '[' -z aarch64 ']' +209: ++ '[' -z '' ']' +209: ++ TESTDIR=out/test/aarch64 +209: ++ CC=cc +209: ++ CXX=c++ +209: ++ GCC=gcc +209: ++ GXX=g++ +209: ++ OBJDUMP=objdump +209: ++ OBJCOPY=objcopy +209: ++ STRIP=strip +209: ++ QEMU= +206: + readelf --symbols out/test/aarch64/require-defined/exe +206: + grep foobar +209: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/retain-symbols-file.sh .sh +209: ++ testname=retain-symbols-file +209: ++ t=out/test/aarch64/retain-symbols-file +209: ++ mkdir -p out/test/aarch64/retain-symbols-file +196: + ./mold --relocatable -o out/test/aarch64/relocatable-c++/c.o out/test/aarch64/relocatable-c++/a.o +209: ++ case $MACHINE in +209: ++ tlsdesc_opt=-mtls-dialect=desc 203: + ./mold --relocatable -o out/test/aarch64/relocatable/c.o out/test/aarch64/relocatable/a.o out/test/aarch64/relocatable/b.o -201: + not grep -F .text.foo out/test/aarch64/relocatable-merge-sections/log2 -201: + grep -F .text.foo out/test/aarch64/relocatable-merge-sections/log2 -198/347 Test #204: aarch64-relro ............................................ Passed 0.25 sec +206: 84: 0000000000010770 8 FUNC LOCAL DEFAULT 18 foobar +206: + not 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 +199: + ./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: +++ uname +202: + cc -c -o out/test/aarch64/relocatable-mergeable-sections/a.o -xassembler - +206: + grep 'undefined symbol: xyz' +208: + cc -c -o out/test/aarch64/response-file2/b.o -xc - +202: + cat +209: ++ '[' Linux = FreeBSD ']' +209: ++ trap 'on_error $LINENO' ERR +209: ++ trap on_exit EXIT +209: ++ echo -n 'Testing retain-symbols-file ... ' +209: Testing retain-symbols-file ... ++ set -o pipefail +209: ++ set -x +209: + cc -c -o out/test/aarch64/retain-symbols-file/a.o -xc - +203: + cc -B. -o out/test/aarch64/relocatable/exe out/test/aarch64/relocatable/c.o +209: + cat +196: + ./mold --relocatable -o out/test/aarch64/relocatable-c++/d.o out/test/aarch64/relocatable-c++/b.o +202: + ./mold --relocatable -o out/test/aarch64/relocatable-mergeable-sections/b.o out/test/aarch64/relocatable-mergeable-sections/a.o +204: + out/test/aarch64/relro/exe3 +199: + c++ -B. -o out/test/aarch64/relocatable-exception/exe out/test/aarch64/relocatable-exception/c.o +204: + grep 'Hello world' +204: Hello world +202: + grep -E '\b0\b.*Hello' +202: + readelf -W -p .rodata.str1.1 out/test/aarch64/relocatable-mergeable-sections/b.o +202: [ 0] Hello +204: + not grep -w GNU_RELRO +204: + grep -w GNU_RELRO +204: + readelf --segments -W out/test/aarch64/relro/exe3 +202: + readelf -W -p .rodata.str1.1 out/test/aarch64/relocatable-mergeable-sections/b.o +196: + c++ -B. -o out/test/aarch64/relocatable-c++/exe out/test/aarch64/relocatable-c++/c.o out/test/aarch64/relocatable-c++/d.o +202: + grep -E '\b7\b.*World' +208: + echo ''\''out/test/aarch64/response-file2/b.o'\''' +208: + echo @out/test/aarch64/response-file2/rsp1 +208: + cc -B. -o out/test/aarch64/response-file2/exe out/test/aarch64/response-file2/a.o -Wl,@out/test/aarch64/response-file2/rsp2 +202: [ 7] World +202: + on_exit +202: + echo OK +202: OK +202: + exit 0 +198/347 Test #202: aarch64-relocatable-mergeable-sections ................... Passed 0.68 sec test 210 Start 210: aarch64-reverse-sections @@ -13544,10 +13625,22 @@ 210: MACHINE=aarch64 210: CPU= 210: Test timeout computed to be: 1500 +204: + return 0 +204: + on_exit +204: + echo OK +204: OK +204: + exit 0 +199/347 Test #204: aarch64-relro ............................................ Passed 0.58 sec +test 211 + Start 211: aarch64-rodata-name + +211: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/rodata-name.sh" +211: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +211: Environment variables: +211: MACHINE=aarch64 +211: CPU= +211: Test timeout computed to be: 1500 210: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/reverse-sections.sh -201: + return 0 -201: + not grep -F .text.bar out/test/aarch64/relocatable-merge-sections/log2 -201: + grep -F .text.bar out/test/aarch64/relocatable-merge-sections/log2 210: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 210: ++ export LC_ALL=C 210: ++ LC_ALL=C @@ -13562,60 +13655,8 @@ 210: ++ OBJCOPY=objcopy 210: ++ STRIP=strip 210: ++ QEMU= -210: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/reverse-sections.sh .sh -210: ++ testname=reverse-sections -210: ++ t=out/test/aarch64/reverse-sections -210: ++ mkdir -p out/test/aarch64/reverse-sections -210: ++ case $MACHINE in -210: ++ tlsdesc_opt=-mtls-dialect=desc -210: +++ uname -210: ++ '[' Linux = FreeBSD ']' -210: ++ trap 'on_error $LINENO' ERR -210: ++ trap on_exit EXIT -210: ++ echo -n 'Testing reverse-sections ... ' -210: Testing reverse-sections ... ++ set -o pipefail -210: ++ set -x -210: + cc -o out/test/aarch64/reverse-sections/a.o -c -xc++ - -206: + readelf --symbols out/test/aarch64/require-defined/exe -206: + grep foobar -206: 84: 0000000000010770 8 FUNC LOCAL DEFAULT 18 foobar -206: + not 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 -206: + grep 'undefined symbol: xyz' -201: + return 0 -201: + on_exit -201: + echo OK -201: OK -201: + exit 0 -199/347 Test #201: aarch64-relocatable-merge-sections ....................... Passed 0.42 sec -test 211 - Start 211: aarch64-rodata-name - -211: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/rodata-name.sh" -211: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -211: Environment variables: -211: MACHINE=aarch64 -211: CPU= -211: Test timeout computed to be: 1500 -209: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/retain-symbols-file.sh -209: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -209: ++ export LC_ALL=C -209: ++ LC_ALL=C -209: ++ '[' -z aarch64 ']' -209: ++ '[' -z '' ']' -209: ++ TESTDIR=out/test/aarch64 -209: ++ CC=cc -209: ++ CXX=c++ -209: ++ GCC=gcc -209: ++ GXX=g++ -209: ++ OBJDUMP=objdump -209: ++ OBJCOPY=objcopy -209: ++ STRIP=strip -209: ++ QEMU= -209: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/retain-symbols-file.sh .sh +203: + out/test/aarch64/relocatable/exe 211: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/rodata-name.sh -209: ++ testname=retain-symbols-file -209: ++ t=out/test/aarch64/retain-symbols-file -209: ++ mkdir -p out/test/aarch64/retain-symbols-file 211: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 211: ++ export LC_ALL=C 211: ++ LC_ALL=C @@ -13631,25 +13672,18 @@ 211: ++ STRIP=strip 211: ++ QEMU= 211: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/rodata-name.sh .sh -209: ++ case $MACHINE in -209: ++ tlsdesc_opt=-mtls-dialect=desc -209: +++ uname 211: ++ testname=rodata-name 211: ++ t=out/test/aarch64/rodata-name 211: ++ mkdir -p out/test/aarch64/rodata-name -203: + cc -B. -o out/test/aarch64/relocatable/exe out/test/aarch64/relocatable/c.o -209: ++ '[' Linux = FreeBSD ']' -209: ++ trap 'on_error $LINENO' ERR -209: ++ trap on_exit EXIT -209: ++ echo -n 'Testing retain-symbols-file ... ' -209: Testing retain-symbols-file ... ++ set -o pipefail -209: ++ set -x -210: + cat -209: + cc -c -o out/test/aarch64/retain-symbols-file/a.o -xc - +209: + cat 211: ++ case $MACHINE in 211: ++ tlsdesc_opt=-mtls-dialect=desc +209: + 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 +210: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/reverse-sections.sh .sh +210: ++ testname=reverse-sections +210: ++ t=out/test/aarch64/reverse-sections +210: ++ mkdir -p out/test/aarch64/reverse-sections 211: +++ uname -209: + cat 211: ++ '[' Linux = FreeBSD ']' 211: ++ trap 'on_error $LINENO' ERR 211: ++ trap on_exit EXIT @@ -13658,14 +13692,18 @@ 211: ++ set -x 211: + '[' aarch64 = arm ']' 211: + '[' aarch64 = s390x ']' -211: + cat -207: + on_exit -207: + echo OK -207: OK -207: + exit 0 -160: + ./mold --relocatable -o out/test/aarch64/many-sections2/b.o out/test/aarch64/many-sections2/a.o 211: + cc -c -o out/test/aarch64/rodata-name/a.o -x assembler - -200/347 Test #207: aarch64-response-file .................................... Passed 0.17 sec +211: + cat +210: ++ case $MACHINE in +210: ++ tlsdesc_opt=-mtls-dialect=desc +203: Hello world +211: + cc -c -o out/test/aarch64/rodata-name/b.o -xc - +203: + on_exit +203: + echo OK +203: OK +203: + exit 0 +210: +++ uname +200/347 Test #203: aarch64-relocatable ...................................... Passed 0.71 sec test 212 Start 212: aarch64-rosegment @@ -13675,11 +13713,43 @@ 212: MACHINE=aarch64 212: CPU= 212: Test timeout computed to be: 1500 +210: ++ '[' Linux = FreeBSD ']' +210: ++ trap 'on_error $LINENO' ERR +210: ++ trap on_exit EXIT +210: ++ echo -n 'Testing reverse-sections ... ' +210: Testing reverse-sections ... ++ set -o pipefail +210: ++ set -x +210: + cc -o out/test/aarch64/reverse-sections/a.o -c -xc++ - +210: + cat +206: mold: error: --require-defined: undefined symbol: xyz +211: + cat +206: + on_exit +206: + echo OK +206: OK +206: + exit 0 +196: + grep 'Hello world' +196: + out/test/aarch64/relocatable-c++/exe +201/347 Test #206: aarch64-require-defined .................................. Passed 0.52 sec +test 213 + Start 213: aarch64-rpath + +213: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/rpath.sh" +213: Working Directory: /build/reproducible-path/mold-2.37.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.37.1+dfsg/test/rosegment.sh 212: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 212: ++ export LC_ALL=C 212: ++ LC_ALL=C 212: ++ '[' -z aarch64 ']' +196: Hello world +196: + on_exit +196: + echo OK +196: OK +196: + exit 0 +202/347 Test #196: aarch64-relocatable-c++ .................................. Passed 1.25 sec 212: ++ '[' -z '' ']' 212: ++ TESTDIR=out/test/aarch64 212: ++ CC=cc @@ -13690,45 +13760,20 @@ 212: ++ OBJCOPY=objcopy 212: ++ STRIP=strip 212: ++ QEMU= +test 214 + Start 214: aarch64-run-clang + +214: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/run-clang.sh" +214: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +214: Environment variables: +214: MACHINE=aarch64 +214: CPU= +214: Test timeout computed to be: 1500 212: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/rosegment.sh .sh -211: + cat 212: ++ testname=rosegment 212: ++ t=out/test/aarch64/rosegment 212: ++ mkdir -p out/test/aarch64/rosegment -212: ++ case $MACHINE in -212: ++ tlsdesc_opt=-mtls-dialect=desc -211: + cc -c -o out/test/aarch64/rodata-name/b.o -xc - -210: + cc -o out/test/aarch64/reverse-sections/b.o -c -xc++ - -210: + cat -212: +++ uname -203: + out/test/aarch64/relocatable/exe -212: ++ '[' Linux = FreeBSD ']' -212: ++ trap 'on_error $LINENO' ERR -212: ++ trap on_exit EXIT -212: ++ echo -n 'Testing rosegment ... ' -212: Testing rosegment ... ++ set -o pipefail -212: ++ set -x -212: + cc -o out/test/aarch64/rosegment/a.o -c -xc - -203: Hello world -203: + on_exit -203: + echo OK -203: OK -203: + exit 0 -212: + cat -201/347 Test #203: aarch64-relocatable ...................................... Passed 0.44 sec -209: + cat -test 213 - Start 213: aarch64-rpath - -213: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/rpath.sh" -213: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -213: Environment variables: -213: MACHINE=aarch64 -213: CPU= -213: Test timeout computed to be: 1500 -211: + cc -B. -o out/test/aarch64/rodata-name/exe out/test/aarch64/rodata-name/a.o out/test/aarch64/rodata-name/b.o 213: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/rpath.sh -209: + 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 213: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 213: ++ export LC_ALL=C 213: ++ LC_ALL=C @@ -13749,34 +13794,20 @@ 213: ++ mkdir -p out/test/aarch64/rpath 213: ++ case $MACHINE in 213: ++ tlsdesc_opt=-mtls-dialect=desc -213: +++ uname -213: ++ '[' Linux = FreeBSD ']' -213: ++ trap 'on_error $LINENO' ERR -213: ++ trap on_exit EXIT -213: ++ echo -n 'Testing rpath ... ' -213: Testing rpath ... ++ set -o pipefail -213: ++ set -x -213: + cat -213: + cc -o out/test/aarch64/rpath/a.o -c -x assembler - -210: + cat -210: + cc -o out/test/aarch64/reverse-sections/c.o -c -xc++ - -213: + cc -B. -o out/test/aarch64/rpath/exe1 out/test/aarch64/rpath/a.o -Wl,-rpath,/foo,-rpath,/bar,-R/no/such/directory,-R/ -212: + cc -B. -o out/test/aarch64/rosegment/exe1 out/test/aarch64/rosegment/a.o -206: mold: error: --require-defined: undefined symbol: xyz -206: + on_exit -206: + echo OK -206: OK -206: + exit 0 -202/347 Test #206: aarch64-require-defined .................................. Passed 0.26 sec -test 214 - Start 214: aarch64-run-clang +208: + on_exit +208: + echo OK +208: OK +208: + exit 0 +203/347 Test #208: aarch64-response-file2 ................................... Passed 0.30 sec +test 215 + Start 215: aarch64-run -214: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/run-clang.sh" -214: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -214: Environment variables: -214: MACHINE=aarch64 -214: CPU= -214: Test timeout computed to be: 1500 +215: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/run.sh" +215: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +215: Environment variables: +215: MACHINE=aarch64 +215: CPU= +215: Test timeout computed to be: 1500 214: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/run-clang.sh 214: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 214: ++ export LC_ALL=C @@ -13792,22 +13823,13 @@ 214: ++ OBJCOPY=objcopy 214: ++ STRIP=strip 214: ++ QEMU= -205: + tar -C out/test/aarch64/repro -xf out/test/aarch64/repro/exe.repro.tar -211: + grep Hello -211: + readelf -p .rodata.str1.1 out/test/aarch64/rodata-name/exe -211: [ 0] Hello 214: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/run-clang.sh .sh -211: + grep world -213: + readelf --dynamic out/test/aarch64/rpath/exe1 214: ++ testname=run-clang 214: ++ t=out/test/aarch64/run-clang 214: ++ mkdir -p out/test/aarch64/run-clang -213: + grep -F 'Library runpath: [/foo:/bar:/no/such/directory:/]' -210: + 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 214: ++ case $MACHINE in 214: ++ tlsdesc_opt=-mtls-dialect=desc 214: +++ uname -213: 0x000000000000001d (RUNPATH) Library runpath: [/foo:/bar:/no/such/directory:/] 214: ++ '[' Linux = FreeBSD ']' 214: ++ trap 'on_error $LINENO' ERR 214: ++ trap on_exit EXIT @@ -13815,59 +13837,44 @@ 214: Testing run-clang ... ++ set -o pipefail 214: ++ set -x 214: + '[' cc = cc ']' -213: + cc -B. -o out/test/aarch64/rpath/exe2 out/test/aarch64/rpath/a.o -Wl,-rpath,/foo,-rpath,/bar,-rpath,/foo,-rpath,/baz -214: + nm mold-wrapper.so -211: + readelf -p .rodata.str4.4 out/test/aarch64/rodata-name/exe -211: [ 0] world +214: + grep '__[at]san_init' +213: +++ uname +213: ++ '[' Linux = FreeBSD ']' +213: ++ trap 'on_error $LINENO' ERR +213: ++ trap on_exit EXIT +213: ++ echo -n 'Testing rpath ... ' +213: Testing rpath ... ++ set -o pipefail +213: ++ set -x +213: + cc -o out/test/aarch64/rpath/a.o -c -x assembler - +213: + cat +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: ++ echo -n 'Testing rosegment ... ' +212: Testing rosegment ... ++ set -o pipefail +212: ++ set -x +212: + cat +212: + cc -o out/test/aarch64/rosegment/a.o -c -xc - 209: + readelf -W --symbols out/test/aarch64/retain-symbols-file/exe -211: + readelf -p .rodata.str1.1 out/test/aarch64/rodata-name/exe -211: + grep foobar -211: [ 7] foobar 209: + not grep ' foo$' out/test/aarch64/retain-symbols-file/log 209: + grep ' foo$' out/test/aarch64/retain-symbols-file/log -211: + readelf -p .rodata.cst8 out/test/aarch64/rodata-name/exe -211: + grep abcdefgh -214: + grep '__[at]san_init' -211: [ 0] abcdefgh +211: + cc -B. -o out/test/aarch64/rodata-name/exe out/test/aarch64/rodata-name/a.o out/test/aarch64/rodata-name/b.o +199: + out/test/aarch64/relocatable-exception/exe +213: + cc -B. -o out/test/aarch64/rpath/exe1 out/test/aarch64/rpath/a.o -Wl,-rpath,/foo,-rpath,/bar,-R/no/such/directory,-R/ +215: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/run.sh +199: 0 +210: + cat +199: + on_exit +199: + echo OK +199: OK +199: + exit 0 209: + return 0 209: + not grep ' bar$' out/test/aarch64/retain-symbols-file/log 209: + grep ' bar$' out/test/aarch64/retain-symbols-file/log -211: + grep baz -209: + return 0 -209: + not grep ' main$' out/test/aarch64/retain-symbols-file/log -209: + grep ' main$' out/test/aarch64/retain-symbols-file/log -211: + readelf -p .rodatabaz out/test/aarch64/rodata-name/exe -209: + return 0 -209: + grep ' baz$' out/test/aarch64/retain-symbols-file/log -214: + clang --version -209: 44: 00000000000107b8 8 FUNC LOCAL DEFAULT 18 baz -209: + on_exit -209: + echo OK -209: OK -209: + exit 0 -203/347 Test #209: aarch64-retain-symbols-file .............................. Passed 0.14 sec -test 215 - Start 215: aarch64-run - -215: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/run.sh" -215: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -215: Environment variables: -215: MACHINE=aarch64 -215: CPU= -215: Test timeout computed to be: 1500 -214: + skip -214: + echo skipped -214: skipped -214: + trap - EXIT -214: + exit 0 -211: String dump of section '.rodatabaz': -211: [ 0] baz -211: + on_exit -211: + echo OK -211: OK -211: + exit 0 -204/347 Test #211: aarch64-rodata-name ...................................... Passed 0.13 sec -205/347 Test #214: aarch64-run-clang ........................................***Skipped 0.03 sec +204/347 Test #199: aarch64-relocatable-exception ............................ Passed 1.27 sec test 216 Start 216: aarch64-section-align @@ -13877,16 +13884,12 @@ 216: MACHINE=aarch64 216: CPU= 216: Test timeout computed to be: 1500 -test 217 - Start 217: aarch64-section-attributes - -217: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/section-attributes.sh" -217: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -217: Environment variables: -217: MACHINE=aarch64 -217: CPU= -217: Test timeout computed to be: 1500 -215: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/run.sh +209: + return 0 +209: + not grep ' main$' out/test/aarch64/retain-symbols-file/log +209: + grep ' main$' out/test/aarch64/retain-symbols-file/log +209: + return 0 +209: + grep ' baz$' out/test/aarch64/retain-symbols-file/log +214: + nm mold-wrapper.so 215: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 215: ++ export LC_ALL=C 215: ++ LC_ALL=C @@ -13905,22 +13908,25 @@ 215: ++ testname=run 215: ++ t=out/test/aarch64/run 215: ++ mkdir -p out/test/aarch64/run +210: + cc -o out/test/aarch64/reverse-sections/b.o -c -xc++ - +209: 44: 00000000000107b8 8 FUNC LOCAL DEFAULT 18 baz +209: + on_exit +209: + echo OK +209: OK +209: + exit 0 +205/347 Test #209: aarch64-retain-symbols-file .............................. Passed 0.26 sec +test 217 + Start 217: aarch64-section-attributes + +217: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/section-attributes.sh" +217: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +217: Environment variables: +217: MACHINE=aarch64 +217: CPU= +217: Test timeout computed to be: 1500 +216: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/section-align.sh 215: ++ case $MACHINE in 215: ++ tlsdesc_opt=-mtls-dialect=desc -215: +++ uname -215: ++ '[' Linux = FreeBSD ']' -215: ++ trap 'on_error $LINENO' ERR -215: ++ trap on_exit EXIT -215: ++ echo -n 'Testing run ... ' -215: Testing run ... ++ set -o pipefail -215: ++ set -x -215: + '[' cc = cc ']' -215: + nm mold -215: + grep '__[at]san_init' -196: + ./mold --relocatable -o out/test/aarch64/relocatable-c++/c.o out/test/aarch64/relocatable-c++/a.o -205: + grep ' exe.repro/.*/a.o' -199: + ./mold --relocatable -o out/test/aarch64/relocatable-exception/c.o out/test/aarch64/relocatable-exception/a.o out/test/aarch64/relocatable-exception/b.o -216: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/section-align.sh 216: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 216: ++ export LC_ALL=C 216: ++ LC_ALL=C @@ -13951,72 +13957,61 @@ 217: ++ STRIP=strip 217: ++ QEMU= 217: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/section-attributes.sh .sh +214: + clang --version 217: ++ testname=section-attributes 217: ++ t=out/test/aarch64/section-attributes 217: ++ mkdir -p out/test/aarch64/section-attributes -210: + grep 'foo1 foo2 foo3 foo4 foo5 foo6' 216: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/section-align.sh .sh -205: + tar -C out/test/aarch64/repro -tvf out/test/aarch64/repro/exe.repro.tar -217: ++ case $MACHINE in -217: ++ tlsdesc_opt=-mtls-dialect=desc -217: +++ uname -212: + not grep '\.interp .* \.text' -212: + grep '\.interp .* \.text' -212: + readelf -W --segments out/test/aarch64/rosegment/exe1 +215: +++ uname +215: ++ '[' Linux = FreeBSD ']' +215: ++ trap 'on_error $LINENO' ERR +215: ++ trap on_exit EXIT +215: ++ echo -n 'Testing run ... ' +215: Testing run ... ++ set -o pipefail +215: ++ set -x +215: + '[' cc = cc ']' +215: + nm mold 216: ++ testname=section-align 216: ++ t=out/test/aarch64/section-align 216: ++ mkdir -p out/test/aarch64/section-align -212: + return 0 -212: + cc -B. -o out/test/aarch64/rosegment/exe2 out/test/aarch64/rosegment/a.o -Wl,--rosegment +214: + skip +214: + echo skipped +214: skipped +214: + trap - EXIT +214: + exit 0 +206/347 Test #214: aarch64-run-clang ........................................***Skipped 0.09 sec +test 218 + Start 218: aarch64-section-order + +218: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/section-order.sh" +218: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +218: Environment variables: +218: MACHINE=aarch64 +218: CPU= +218: Test timeout computed to be: 1500 216: ++ case $MACHINE in 216: ++ tlsdesc_opt=-mtls-dialect=desc +212: + cc -B. -o out/test/aarch64/rosegment/exe1 out/test/aarch64/rosegment/a.o +217: ++ case $MACHINE in +217: ++ tlsdesc_opt=-mtls-dialect=desc +215: + grep '__[at]san_init' +218: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/section-order.sh 216: +++ uname -216: ++ '[' Linux = FreeBSD ']' -216: ++ trap 'on_error $LINENO' ERR -216: ++ trap on_exit EXIT -216: ++ echo -n 'Testing section-align ... ' -216: Testing section-align ... ++ set -o pipefail -216: ++ set -x -216: + cat -216: + cc -o out/test/aarch64/section-align/a.o -c -xc -fno-PIC - -210: + out/test/aarch64/reverse-sections/exe1 -210: foo1 foo2 foo3 foo4 foo5 foo6 +217: +++ uname 217: ++ '[' Linux = FreeBSD ']' 217: ++ trap 'on_error $LINENO' ERR 217: ++ trap on_exit EXIT 217: ++ echo -n 'Testing section-attributes ... ' 217: Testing section-attributes ... ++ set -o pipefail 217: ++ set -x -217: + cat 217: + cc -o out/test/aarch64/section-attributes/a.o -c -xassembler - -205: -rw-rw-r-- 0/0 1600 1969-12-31 12:00 exe.repro/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/out/test/aarch64/repro/a.o -205: + grep /a.o out/test/aarch64/repro/exe.repro/response.txt -199: + c++ -B. -o out/test/aarch64/relocatable-exception/exe out/test/aarch64/relocatable-exception/c.o -213: + readelf --dynamic out/test/aarch64/rpath/exe2 -213: + grep -F 'Library runpath: [/foo:/bar:/baz]' -213: 0x000000000000001d (RUNPATH) Library runpath: [/foo:/bar:/baz] -213: + on_exit -205: out/test/aarch64/repro/a.o -213: + echo OK -213: OK -213: + exit 0 -206/347 Test #213: aarch64-rpath ............................................ Passed 0.12 sec -test 218 - Start 218: aarch64-section-order - -218: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/section-order.sh" -218: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -218: Environment variables: -218: MACHINE=aarch64 -218: CPU= -218: Test timeout computed to be: 1500 -210: + 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 -205: + grep mold out/test/aarch64/repro/exe.repro/version.txt +216: ++ '[' Linux = FreeBSD ']' +216: ++ trap 'on_error $LINENO' ERR +216: ++ trap on_exit EXIT +216: ++ echo -n 'Testing section-align ... ' +216: Testing section-align ... ++ set -o pipefail +216: ++ set -x 217: + cat -217: + cc -o out/test/aarch64/section-attributes/b.o -c -xassembler - -196: + ./mold --relocatable -o out/test/aarch64/relocatable-c++/d.o out/test/aarch64/relocatable-c++/b.o -205: mold 2.37.1 (compatible with GNU ld) -218: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/section-order.sh 218: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 218: ++ export LC_ALL=C 218: ++ LC_ALL=C @@ -14032,17 +14027,15 @@ 218: ++ STRIP=strip 218: ++ QEMU= 218: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/section-order.sh .sh -205: + rm -rf out/test/aarch64/repro/exe.repro out/test/aarch64/repro/exe.repro.tar +216: + cat +210: + cat 218: ++ testname=section-order 218: ++ t=out/test/aarch64/section-order 218: ++ mkdir -p out/test/aarch64/section-order -217: + cc -o out/test/aarch64/section-attributes/c.o -c -xassembler - -217: + cat +216: + cc -o out/test/aarch64/section-align/a.o -c -xc -fno-PIC - +210: + cc -o out/test/aarch64/reverse-sections/c.o -c -xc++ - 218: ++ case $MACHINE in 218: ++ tlsdesc_opt=-mtls-dialect=desc -205: + MOLD_REPRO=1 -205: + cc -B. -o out/test/aarch64/repro/exe out/test/aarch64/repro/a.o -216: + cc -B. -o out/test/aarch64/section-align/exe1 out/test/aarch64/section-align/a.o -Wl,--section-align=.foo=0x2000 218: +++ uname 218: ++ '[' Linux = FreeBSD ']' 218: ++ trap 'on_error $LINENO' ERR @@ -14050,23 +14043,52 @@ 218: ++ echo -n 'Testing section-order ... ' 218: Testing section-order ... ++ set -o pipefail 218: ++ set -x +217: + cat +217: + cc -o out/test/aarch64/section-attributes/b.o -c -xassembler - 218: + cat -218: + cc -o out/test/aarch64/section-order/a.o -c -xc -fno-PIC - +217: + cc -o out/test/aarch64/section-attributes/c.o -c -xassembler - 217: + cat +218: + cc -o out/test/aarch64/section-order/a.o -c -xc -fno-PIC - +210: + 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 +216: + cc -B. -o out/test/aarch64/section-align/exe1 out/test/aarch64/section-align/a.o -Wl,--section-align=.foo=0x2000 217: + cc -o out/test/aarch64/section-attributes/d.o -c -xc - -212: + readelf -W --segments out/test/aarch64/rosegment/exe2 +213: + grep -F 'Library runpath: [/foo:/bar:/no/such/directory:/]' +217: + cat +213: + readelf --dynamic out/test/aarch64/rpath/exe1 +213: 0x000000000000001d (RUNPATH) Library runpath: [/foo:/bar:/no/such/directory:/] +213: + cc -B. -o out/test/aarch64/rpath/exe2 out/test/aarch64/rpath/a.o -Wl,-rpath,/foo,-rpath,/bar,-rpath,/foo,-rpath,/baz +218: + cc -B. -o out/test/aarch64/section-order/exe1 out/test/aarch64/section-order/a.o -no-pie '-Wl,--section-order==0x100000 EHDR PHDR =0x200000 .fn2 TEXT =0x300000 .fn1 DATA BSS RODATA' +211: + readelf -p .rodata.str1.1 out/test/aarch64/rodata-name/exe +211: + grep Hello +217: + 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 +211: [ 0] Hello +211: + readelf -p .rodata.str4.4 out/test/aarch64/rodata-name/exe 212: + not grep '\.interp .* \.text' 212: + grep '\.interp .* \.text' +212: + readelf -W --segments out/test/aarch64/rosegment/exe1 +211: + grep world +211: [ 0] world 212: + return 0 -212: + cc -B. -o out/test/aarch64/rosegment/exe3 out/test/aarch64/rosegment/a.o -Wl,--no-rosegment -196: + c++ -B. -o out/test/aarch64/relocatable-c++/exe out/test/aarch64/relocatable-c++/c.o out/test/aarch64/relocatable-c++/d.o -199: + out/test/aarch64/relocatable-exception/exe -199: 0 -199: + on_exit -199: + echo OK -199: OK -199: + exit 0 -207/347 Test #199: aarch64-relocatable-exception ............................ Passed 0.79 sec +212: + cc -B. -o out/test/aarch64/rosegment/exe2 out/test/aarch64/rosegment/a.o -Wl,--rosegment +211: + grep foobar +211: + readelf -p .rodata.str1.1 out/test/aarch64/rodata-name/exe +211: [ 7] foobar +211: + readelf -p .rodata.cst8 out/test/aarch64/rodata-name/exe +211: + grep abcdefgh +211: [ 0] abcdefgh +210: + out/test/aarch64/reverse-sections/exe1 +210: + grep 'foo1 foo2 foo3 foo4 foo5 foo6' +211: + grep baz +210: foo1 foo2 foo3 foo4 foo5 foo6 +211: + readelf -p .rodatabaz out/test/aarch64/rodata-name/exe +211: String dump of section '.rodatabaz': +211: [ 0] baz +210: + 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 +211: + on_exit +211: + echo OK +211: OK +211: + exit 0 +207/347 Test #211: aarch64-rodata-name ...................................... Passed 0.32 sec test 219 Start 219: aarch64-section-start @@ -14076,54 +14098,12 @@ 219: MACHINE=aarch64 219: CPU= 219: Test timeout computed to be: 1500 -210: + grep 'foo5 foo6 foo3 foo4 foo1 foo2' -210: + out/test/aarch64/reverse-sections/exe2 -210: foo5 foo6 foo3 foo4 foo1 foo2 -210: + on_exit -210: + echo OK -210: OK -210: + exit 0 -208/347 Test #210: aarch64-reverse-sections ................................. Passed 0.25 sec -test 220 - Start 220: aarch64-separate-debug-file - -220: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/separate-debug-file.sh" -220: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -220: Environment variables: -220: MACHINE=aarch64 -220: CPU= -220: Test timeout computed to be: 1500 -218: + cc -B. -o out/test/aarch64/section-order/exe1 out/test/aarch64/section-order/a.o -no-pie '-Wl,--section-order==0x100000 EHDR PHDR =0x200000 .fn2 TEXT =0x300000 .fn1 DATA BSS RODATA' -216: + grep '\.foo.* 8192$' -216: + readelf -WS out/test/aarch64/section-align/exe1 219: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/section-start.sh -205: + tar -C out/test/aarch64/repro -tvf out/test/aarch64/repro/exe.repro.tar -216: [25] .foo PROGBITS 0000000000032000 002000 000004 00 WA 0 0 8192 -216: + cc -B. -o out/test/aarch64/section-align/exe2 out/test/aarch64/section-align/a.o -Wl,--section-align=.foo=256 -220: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/separate-debug-file.sh -220: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -220: ++ export LC_ALL=C -220: ++ LC_ALL=C -220: ++ '[' -z aarch64 ']' -220: ++ '[' -z '' ']' -220: ++ TESTDIR=out/test/aarch64 -220: ++ CC=cc -220: ++ CXX=c++ -220: ++ GCC=gcc -220: ++ GXX=g++ -220: ++ OBJDUMP=objdump -220: ++ OBJCOPY=objcopy -220: ++ STRIP=strip -220: ++ QEMU= -220: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/separate-debug-file.sh .sh -220: ++ testname=separate-debug-file -220: ++ t=out/test/aarch64/separate-debug-file -220: ++ mkdir -p out/test/aarch64/separate-debug-file +216: + readelf -WS out/test/aarch64/section-align/exe1 219: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 219: ++ export LC_ALL=C 219: ++ LC_ALL=C 219: ++ '[' -z aarch64 ']' -217: + 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 219: ++ '[' -z '' ']' 219: ++ TESTDIR=out/test/aarch64 219: ++ CC=cc @@ -14135,25 +14115,14 @@ 219: ++ STRIP=strip 219: ++ QEMU= 219: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/section-start.sh .sh -220: ++ case $MACHINE in -220: ++ tlsdesc_opt=-mtls-dialect=desc -220: +++ uname -220: ++ '[' Linux = FreeBSD ']' -220: ++ trap 'on_error $LINENO' ERR -220: ++ trap on_exit EXIT -220: ++ echo -n 'Testing separate-debug-file ... ' -220: Testing separate-debug-file ... ++ set -o pipefail -220: ++ set -x -220: + nm mold -220: + grep __tsan_init 219: ++ testname=section-start 219: ++ t=out/test/aarch64/section-start 219: ++ mkdir -p out/test/aarch64/section-start -205: + grep ' exe.repro/.*/a.o' -205: -rw-rw-r-- 0/0 1600 1969-12-31 12:00 exe.repro/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/out/test/aarch64/repro/a.o -205: + tar -C out/test/aarch64/repro -xf out/test/aarch64/repro/exe.repro.tar +216: + grep '\.foo.* 8192$' 219: ++ case $MACHINE in 219: ++ tlsdesc_opt=-mtls-dialect=desc +216: [25] .foo PROGBITS 0000000000032000 002000 000004 00 WA 0 0 8192 +216: + cc -B. -o out/test/aarch64/section-align/exe2 out/test/aarch64/section-align/a.o -Wl,--section-align=.foo=256 219: +++ uname 219: ++ '[' Linux = FreeBSD ']' 219: ++ trap 'on_error $LINENO' ERR @@ -14164,18 +14133,58 @@ 219: + '[' aarch64 = ppc64 ']' 219: + [[ aarch64 = loongarch* ]] 219: + '[' aarch64 = arm ']' -205: + grep /a.o out/test/aarch64/repro/exe.repro/response.txt 219: + cat -205: out/test/aarch64/repro/a.o -205: + grep mold out/test/aarch64/repro/exe.repro/version.txt -196: + grep 'Hello world' -196: + out/test/aarch64/relocatable-c++/exe -205: mold 2.37.1 (compatible with GNU ld) -205: + on_exit -205: + echo OK -205: OK -205: + exit 0 -209/347 Test #205: aarch64-repro ............................................ Passed 0.51 sec +219: + cc -o out/test/aarch64/section-start/a.o -c -xc -fno-PIC - +213: + readelf --dynamic out/test/aarch64/rpath/exe2 +213: + grep -F 'Library runpath: [/foo:/bar:/baz]' +213: 0x000000000000001d (RUNPATH) Library runpath: [/foo:/bar:/baz] +213: + on_exit +213: + echo OK +213: OK +213: + exit 0 +208/347 Test #213: aarch64-rpath ............................................ Passed 0.31 sec +test 220 + Start 220: aarch64-separate-debug-file + +220: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/separate-debug-file.sh" +220: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +220: Environment variables: +220: MACHINE=aarch64 +220: CPU= +220: Test timeout computed to be: 1500 +212: + readelf -W --segments out/test/aarch64/rosegment/exe2 +212: + not grep '\.interp .* \.text' +212: + grep '\.interp .* \.text' +220: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/separate-debug-file.sh +220: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +220: ++ export LC_ALL=C +220: ++ LC_ALL=C +220: ++ '[' -z aarch64 ']' +220: ++ '[' -z '' ']' +220: ++ TESTDIR=out/test/aarch64 +220: ++ CC=cc +220: ++ CXX=c++ +220: ++ GCC=gcc +220: ++ GXX=g++ +220: ++ OBJDUMP=objdump +220: ++ OBJCOPY=objcopy +220: ++ STRIP=strip +220: ++ QEMU= +220: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/separate-debug-file.sh .sh +220: ++ testname=separate-debug-file +220: ++ t=out/test/aarch64/separate-debug-file +220: ++ mkdir -p out/test/aarch64/separate-debug-file +210: + out/test/aarch64/reverse-sections/exe2 +220: ++ case $MACHINE in +220: ++ tlsdesc_opt=-mtls-dialect=desc +210: + grep 'foo5 foo6 foo3 foo4 foo1 foo2' +210: foo5 foo6 foo3 foo4 foo1 foo2 +210: + on_exit +210: + echo OK +210: OK +210: + exit 0 +212: + return 0 +209/347 Test #210: aarch64-reverse-sections ................................. Passed 0.40 sec test 221 Start 221: aarch64-shared-abs-sym @@ -14185,15 +14194,30 @@ 221: MACHINE=aarch64 221: CPU= 221: Test timeout computed to be: 1500 -212: + grep '\.interp .* \.text' -212: + readelf -W --segments out/test/aarch64/rosegment/exe3 -212: 03 .interp .note.ABI-tag .note.gnu.build-id .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rela.dyn .rela.plt .eh_frame .eh_frame_hdr .rodata .rodata.cst4 .fini .init .plt .plt.got .text -196: Hello world -196: + on_exit -196: + echo OK -196: OK -196: + exit 0 -210/347 Test #196: aarch64-relocatable-c++ .................................. Passed 0.92 sec +217: + grep 'foobar.*WAX' +217: + readelf -W --sections out/test/aarch64/section-attributes/exe +217: [28] .foobar PROGBITS 0000000000040a41 000a41 000010 00 WAX 0 0 1 +217: + on_exit +217: + echo OK +217: OK +217: + exit 0 +212: + cc -B. -o out/test/aarch64/rosegment/exe3 out/test/aarch64/rosegment/a.o -Wl,--no-rosegment +219: + 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 +220: +++ uname +220: ++ '[' Linux = FreeBSD ']' +220: ++ trap 'on_error $LINENO' ERR +220: ++ trap on_exit EXIT +220: ++ echo -n 'Testing separate-debug-file ... ' +220: Testing separate-debug-file ... ++ set -o pipefail +220: ++ set -x +220: + grep __tsan_init +220: + nm mold +216: + grep '\.foo.* 256$' +216: + readelf -WS out/test/aarch64/section-align/exe2 +216: [25] .foo PROGBITS 0000000000030a00 000a00 000004 00 WA 0 0 256 +216: + not cc -B. -o out/test/aarch64/section-align/exe3 out/test/aarch64/section-align/a.o -Wl,--section-align=.foo=3 +216: + grep 'must be a power of 2' +210/347 Test #217: aarch64-section-attributes ............................... Passed 0.29 sec test 222 Start 222: aarch64-shared @@ -14203,6 +14227,9 @@ 222: MACHINE=aarch64 222: CPU= 222: Test timeout computed to be: 1500 +218: + out/test/aarch64/section-order/exe1 +218: + grep Hello +218: Hello world 221: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/shared-abs-sym.sh 221: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 221: ++ export LC_ALL=C @@ -14218,60 +14245,12 @@ 221: ++ OBJCOPY=objcopy 221: ++ STRIP=strip 221: ++ QEMU= -219: + cc -o out/test/aarch64/section-start/a.o -c -xc -fno-PIC - -212: + on_exit -212: + echo OK -212: OK -212: + exit 0 -218: + out/test/aarch64/section-order/exe1 -211/347 Test #212: aarch64-rosegment ........................................ Passed 0.26 sec -test 223 - Start 223: aarch64-shuffle-sections-seed - -223: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/shuffle-sections-seed.sh" -223: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -223: Environment variables: -223: MACHINE=aarch64 -223: CPU= -223: Test timeout computed to be: 1500 -218: + grep Hello -218: Hello world -218: + readelf -SW out/test/aarch64/section-order/exe1 -216: + readelf -WS out/test/aarch64/section-align/exe2 -216: + grep '\.foo.* 256$' -216: [25] .foo PROGBITS 0000000000030a00 000a00 000004 00 WA 0 0 256 -216: + not cc -B. -o out/test/aarch64/section-align/exe3 out/test/aarch64/section-align/a.o -Wl,--section-align=.foo=3 -218: + grep '\.fn2 .*00200000' 221: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/shared-abs-sym.sh .sh -223: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/shuffle-sections-seed.sh +218: + readelf -SW out/test/aarch64/section-order/exe1 221: ++ testname=shared-abs-sym 221: ++ t=out/test/aarch64/shared-abs-sym 221: ++ mkdir -p out/test/aarch64/shared-abs-sym 222: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/shared.sh -223: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -223: ++ export LC_ALL=C -223: ++ LC_ALL=C -223: ++ '[' -z aarch64 ']' -223: ++ '[' -z '' ']' -223: ++ TESTDIR=out/test/aarch64 -223: ++ CC=cc -223: ++ CXX=c++ -223: ++ GCC=gcc -223: ++ GXX=g++ -223: ++ OBJDUMP=objdump -223: ++ OBJCOPY=objcopy -223: ++ STRIP=strip -223: ++ QEMU= -218: [ 1] .fn2 PROGBITS 0000000000200000 010000 000030 00 AX 0 0 4 -216: + grep 'must be a power of 2' -217: + readelf -W --sections out/test/aarch64/section-attributes/exe -217: + grep 'foobar.*WAX' -218: + grep '\.fn1 .*00300000' -217: [28] .foobar PROGBITS 0000000000040a41 000a41 000010 00 WAX 0 0 1 -217: + on_exit -217: + echo OK -217: OK -217: + exit 0 222: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 222: ++ export LC_ALL=C 222: ++ LC_ALL=C @@ -14286,140 +14265,144 @@ 222: ++ OBJCOPY=objcopy 222: ++ STRIP=strip 222: ++ QEMU= -212/347 Test #217: aarch64-section-attributes ............................... Passed 0.16 sec -test 224 - Start 224: aarch64-shuffle-sections - -224: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/shuffle-sections.sh" -224: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -224: Environment variables: -224: MACHINE=aarch64 -224: CPU= -224: Test timeout computed to be: 1500 -223: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/shuffle-sections-seed.sh .sh -223: ++ testname=shuffle-sections-seed -223: ++ t=out/test/aarch64/shuffle-sections-seed -223: ++ mkdir -p out/test/aarch64/shuffle-sections-seed +218: + grep '\.fn2 .*00200000' +218: [ 1] .fn2 PROGBITS 0000000000200000 010000 000030 00 AX 0 0 4 +218: + grep '\.fn1 .*00300000' 222: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/shared.sh .sh 222: ++ testname=shared 222: ++ t=out/test/aarch64/shared 222: ++ mkdir -p out/test/aarch64/shared -222: ++ case $MACHINE in -222: ++ tlsdesc_opt=-mtls-dialect=desc -222: +++ uname +218: + readelf -SW out/test/aarch64/section-order/exe1 +218: [ 6] .fn1 PROGBITS 0000000000300000 020000 000030 00 AX 0 0 4 +218: + 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' +221: ++ case $MACHINE in +221: ++ tlsdesc_opt=-mtls-dialect=desc +221: +++ uname +221: ++ '[' Linux = FreeBSD ']' +221: ++ trap 'on_error $LINENO' ERR +221: ++ trap on_exit EXIT +221: ++ echo -n 'Testing shared-abs-sym ... ' +221: Testing shared-abs-sym ... ++ set -o pipefail +221: ++ set -x +221: ++ uname +221: + '[' Linux = FreeBSD ']' 216: mold: fatal: --section-align=.foo=3: value must be a power of 2 216: + on_exit 216: + echo OK 216: OK 216: + exit 0 -221: ++ case $MACHINE in -221: ++ tlsdesc_opt=-mtls-dialect=desc -221: +++ uname -213/347 Test #216: aarch64-section-align .................................... Passed 0.18 sec -224: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/shuffle-sections.sh -test 225 - Start 225: aarch64-soname +215: + cc -xc -c -o out/test/aarch64/run/a.o - +215: + cat +211/347 Test #216: aarch64-section-align .................................... Passed 0.36 sec +test 223 + Start 223: aarch64-shuffle-sections-seed -225: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/soname.sh" -225: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -225: Environment variables: -225: MACHINE=aarch64 -225: CPU= -225: Test timeout computed to be: 1500 -224: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -224: ++ export LC_ALL=C -224: ++ LC_ALL=C -224: ++ '[' -z aarch64 ']' -224: ++ '[' -z '' ']' -224: ++ TESTDIR=out/test/aarch64 -224: ++ CC=cc -224: ++ CXX=c++ -224: ++ GCC=gcc -224: ++ GXX=g++ -224: ++ OBJDUMP=objdump -224: ++ OBJCOPY=objcopy -224: ++ STRIP=strip -224: ++ QEMU= -224: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/shuffle-sections.sh .sh +223: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/shuffle-sections-seed.sh" +223: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +223: Environment variables: +223: MACHINE=aarch64 +223: CPU= +223: Test timeout computed to be: 1500 +221: + cat +222: ++ case $MACHINE in +222: ++ tlsdesc_opt=-mtls-dialect=desc +223: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/shuffle-sections-seed.sh +223: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +223: ++ export LC_ALL=C +223: ++ LC_ALL=C +222: +++ uname +223: ++ '[' -z aarch64 ']' +223: ++ '[' -z '' ']' +223: ++ TESTDIR=out/test/aarch64 +223: ++ CC=cc +223: ++ CXX=c++ +223: ++ GCC=gcc +223: ++ GXX=g++ +223: ++ OBJDUMP=objdump +223: ++ OBJCOPY=objcopy +223: ++ STRIP=strip +223: ++ QEMU= +219: + out/test/aarch64/section-start/exe1 +223: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/shuffle-sections-seed.sh .sh +223: ++ testname=shuffle-sections-seed +223: ++ t=out/test/aarch64/shuffle-sections-seed +223: ++ mkdir -p out/test/aarch64/shuffle-sections-seed +219: + grep 'main fn1 fn2 0x10000000 0x20000000' 222: ++ '[' Linux = FreeBSD ']' 222: ++ trap 'on_error $LINENO' ERR 222: ++ trap on_exit EXIT 222: ++ echo -n 'Testing shared ... ' 222: Testing shared ... ++ set -o pipefail 222: ++ set -x +219: main fn1 fn2 0x10000000 0x20000000 +219: + sed 's/0x[0-9a-f]*//' +219: + readelf -W --segments out/test/aarch64/section-start/exe1 222: + cat -222: + cc -fPIC -c -o out/test/aarch64/shared/a.o -xc - -221: ++ '[' Linux = FreeBSD ']' -221: ++ trap 'on_error $LINENO' ERR -221: ++ trap on_exit EXIT -221: ++ echo -n 'Testing shared-abs-sym ... ' -221: Testing shared-abs-sym ... ++ set -o pipefail -221: ++ set -x -221: ++ uname -221: + '[' Linux = FreeBSD ']' 223: ++ case $MACHINE in 223: ++ tlsdesc_opt=-mtls-dialect=desc -221: + cat -223: +++ uname +219: + grep ' LOAD ' 221: + cc -B. -fPIC -shared -o out/test/aarch64/shared-abs-sym/a.so -xassembler - -224: ++ testname=shuffle-sections -224: ++ t=out/test/aarch64/shuffle-sections -224: ++ mkdir -p out/test/aarch64/shuffle-sections -225: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/soname.sh -219: + 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 -218: + readelf -SW out/test/aarch64/section-order/exe1 +223: +++ uname 223: ++ '[' Linux = FreeBSD ']' 223: ++ trap 'on_error $LINENO' ERR 223: ++ trap on_exit EXIT 223: ++ echo -n 'Testing shuffle-sections-seed ... ' 223: Testing shuffle-sections-seed ... ++ set -o pipefail 223: ++ set -x -225: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -225: ++ export LC_ALL=C -225: ++ LC_ALL=C -225: ++ '[' -z aarch64 ']' -225: ++ '[' -z '' ']' -225: ++ TESTDIR=out/test/aarch64 -225: ++ CC=cc -225: ++ CXX=c++ -225: ++ GCC=gcc -225: ++ GXX=g++ -225: ++ OBJDUMP=objdump -225: ++ OBJCOPY=objcopy -225: ++ STRIP=strip -225: ++ QEMU= -225: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/soname.sh .sh -225: ++ testname=soname -225: ++ t=out/test/aarch64/soname -225: ++ mkdir -p out/test/aarch64/soname +219: + diff out/test/aarch64/section-start/log1 /dev/fd/63 +222: + cc -fPIC -c -o out/test/aarch64/shared/a.o -xc - 223: + cc -o out/test/aarch64/shuffle-sections-seed/a.o -ffunction-sections -c -xc - +219: ++ sort out/test/aarch64/section-start/log1 223: + cat -218: [ 6] .fn1 PROGBITS 0000000000300000 020000 000030 00 AX 0 0 4 -218: + 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' -224: ++ case $MACHINE in -224: ++ tlsdesc_opt=-mtls-dialect=desc -224: +++ uname -224: ++ '[' Linux = FreeBSD ']' -224: ++ trap 'on_error $LINENO' ERR -224: ++ trap on_exit EXIT -224: ++ echo -n 'Testing shuffle-sections ... ' -224: Testing shuffle-sections ... ++ set -o pipefail -224: ++ set -x -225: ++ case $MACHINE in -225: ++ tlsdesc_opt=-mtls-dialect=desc -225: +++ uname -225: ++ '[' Linux = FreeBSD ']' -225: ++ trap 'on_error $LINENO' ERR -225: ++ trap on_exit EXIT -225: ++ echo -n 'Testing soname ... ' -225: Testing soname ... ++ set -o pipefail -225: ++ set -x -225: + cat -224: + cc -o out/test/aarch64/shuffle-sections/a.o -ffunction-sections -c -xc - -225: + cc -fPIC -c -o out/test/aarch64/soname/a.o -xc - -224: + cat -222: + cc -B. -shared -o out/test/aarch64/shared/b.so out/test/aarch64/shared/a.o +212: + grep '\.interp .* \.text' +212: + readelf -W --segments out/test/aarch64/rosegment/exe3 +212: 03 .interp .note.ABI-tag .note.gnu.build-id .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rela.dyn .rela.plt .eh_frame .eh_frame_hdr .rodata .rodata.cst4 .fini .init .plt .plt.got .text +212: + on_exit +212: + echo OK +212: OK +212: + exit 0 +212/347 Test #212: aarch64-rosegment ........................................ Passed 0.49 sec +test 224 + Start 224: aarch64-shuffle-sections + +224: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/shuffle-sections.sh" +224: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +224: Environment variables: +224: MACHINE=aarch64 +224: CPU= +224: Test timeout computed to be: 1500 +215: ++ pwd +215: + LD_PRELOAD=/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/mold-wrapper.so +224: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/shuffle-sections.sh +219: + 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 +205: + tar -C out/test/aarch64/repro -xf out/test/aarch64/repro/exe.repro.tar +223: + cc -o out/test/aarch64/shuffle-sections-seed/b.o -ffunction-sections -c -xc - +215: ++ pwd +215: + MOLD_PATH=/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/mold +215: + cc -o out/test/aarch64/run/exe out/test/aarch64/run/a.o -B/usr/bin +224: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +224: ++ export LC_ALL=C +224: ++ LC_ALL=C +224: ++ '[' -z aarch64 ']' +224: ++ '[' -z '' ']' +224: ++ TESTDIR=out/test/aarch64 +224: ++ CC=cc +224: ++ CXX=c++ +224: ++ GCC=gcc +224: ++ GXX=g++ +224: ++ OBJDUMP=objdump +224: ++ OBJCOPY=objcopy +224: ++ STRIP=strip +224: ++ QEMU= +224: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/shuffle-sections.sh .sh +218: + readelf -SW out/test/aarch64/section-order/exe2 +218: + grep '\.fn2 .*00400000' +218: [14] .fn2 PROGBITS 0000000000400000 020000 000030 00 AX 0 0 4 223: ++ seq 1 1000 +218: + readelf -sW out/test/aarch64/section-order/exe2 +224: ++ testname=shuffle-sections +224: ++ t=out/test/aarch64/shuffle-sections +224: ++ mkdir -p out/test/aarch64/shuffle-sections 223: + for i in `seq 1 1000` 223: + echo 'void fn1() {}' 223: + for i in `seq 1 1000` @@ -14802,8 +14785,6 @@ 223: + echo 'void fn190() {}' 223: + for i in `seq 1 1000` 223: + echo 'void fn191() {}' -223: + cc -o out/test/aarch64/shuffle-sections-seed/b.o -ffunction-sections -c -xc - -225: + cc -o out/test/aarch64/soname/b.so -shared out/test/aarch64/soname/a.o 223: + for i in `seq 1 1000` 223: + echo 'void fn192() {}' 223: + for i in `seq 1 1000` @@ -15431,6 +15412,11 @@ 223: + for i in `seq 1 1000` 223: + echo 'void fn504() {}' 223: + for i in `seq 1 1000` +224: ++ case $MACHINE in +224: ++ tlsdesc_opt=-mtls-dialect=desc +224: +++ uname +218: + grep -E ': 0+200000\s.*\s__ehdr_start$' +218: 95: 0000000000200000 0 NOTYPE LOCAL DEFAULT 1 __ehdr_start 223: + echo 'void fn505() {}' 223: + for i in `seq 1 1000` 223: + echo 'void fn506() {}' @@ -15692,7 +15678,6 @@ 223: + echo 'void fn634() {}' 223: + for i in `seq 1 1000` 223: + echo 'void fn635() {}' -219: + out/test/aarch64/section-start/exe1 223: + for i in `seq 1 1000` 223: + echo 'void fn636() {}' 223: + for i in `seq 1 1000` @@ -15844,13 +15829,13 @@ 223: + for i in `seq 1 1000` 223: + echo 'void fn710() {}' 223: + for i in `seq 1 1000` +224: ++ '[' Linux = FreeBSD ']' 223: + echo 'void fn711() {}' 223: + for i in `seq 1 1000` 223: + echo 'void fn712() {}' 223: + for i in `seq 1 1000` 223: + echo 'void fn713() {}' 223: + for i in `seq 1 1000` -219: + grep 'main fn1 fn2 0x10000000 0x20000000' 223: + echo 'void fn714() {}' 223: + for i in `seq 1 1000` 223: + echo 'void fn715() {}' @@ -15920,9 +15905,11 @@ 223: + echo 'void fn747() {}' 223: + for i in `seq 1 1000` 223: + echo 'void fn748() {}' +224: ++ trap 'on_error $LINENO' ERR 223: + for i in `seq 1 1000` 223: + echo 'void fn749() {}' 223: + for i in `seq 1 1000` +224: ++ trap on_exit EXIT 223: + echo 'void fn750() {}' 223: + for i in `seq 1 1000` 223: + echo 'void fn751() {}' @@ -16036,7 +16023,6 @@ 223: + echo 'void fn805() {}' 223: + for i in `seq 1 1000` 223: + echo 'void fn806() {}' -219: main fn1 fn2 0x10000000 0x20000000 223: + for i in `seq 1 1000` 223: + echo 'void fn807() {}' 223: + for i in `seq 1 1000` @@ -16353,7 +16339,6 @@ 223: + echo 'void fn963() {}' 223: + for i in `seq 1 1000` 223: + echo 'void fn964() {}' -219: + readelf -W --segments out/test/aarch64/section-start/exe1 223: + for i in `seq 1 1000` 223: + echo 'void fn965() {}' 223: + for i in `seq 1 1000` @@ -16426,11 +16411,81 @@ 223: + echo 'void fn999() {}' 223: + for i in `seq 1 1000` 223: + echo 'void fn1000() {}' -215: + cc -xc -c -o out/test/aarch64/run/a.o - -224: + cc -o out/test/aarch64/shuffle-sections/b.o -ffunction-sections -c -xc - +224: ++ echo -n 'Testing shuffle-sections ... ' +224: Testing shuffle-sections ... ++ set -o pipefail +224: ++ set -x +224: + cat +224: + cc -o out/test/aarch64/shuffle-sections/a.o -ffunction-sections -c -xc - +221: + cat +221: + cc -B. -fPIC -shared -o out/test/aarch64/shared-abs-sym/b.so -xassembler - +218: + grep -E 'PHDR\s.*0x0+300000\s' +218: + readelf -W --segments out/test/aarch64/section-order/exe2 +218: PHDR 0x010000 0x0000000000300000 0x0000000000300000 0x000268 0x000268 R 0x8 +218: + 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' +219: + grep 'main fn1 fn2 0x20000000 0x10000000' +219: + out/test/aarch64/section-start/exe2 +215: + grep mold +219: main fn1 fn2 0x20000000 0x10000000 +219: + sed 's/0x[0-9a-f]*//' +219: + readelf -W --segments out/test/aarch64/section-start/exe2 +222: + cc -B. -shared -o out/test/aarch64/shared/b.so out/test/aarch64/shared/a.o 219: + grep ' LOAD ' +219: + diff out/test/aarch64/section-start/log2 /dev/fd/63 +219: ++ sort out/test/aarch64/section-start/log2 +215: + readelf -p .comment out/test/aarch64/run/exe +215: [ 0] mold 2.37.1 (compatible with GNU ld) +219: + on_exit +219: + echo OK +219: OK +219: + exit 0 +213/347 Test #219: aarch64-section-start .................................... Passed 0.33 sec +test 225 + Start 225: aarch64-soname + +225: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/soname.sh" +225: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +225: Environment variables: +225: MACHINE=aarch64 +225: CPU= +225: Test timeout computed to be: 1500 +215: + ./mold -run env +215: + grep '^MOLD_PATH=.*/mold$' +215: MOLD_PATH=/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/mold +215: + ./mold -run /usr/bin/ld --version +215: + grep mold +221: + cc -fPIC -c -o out/test/aarch64/shared-abs-sym/d.o -xc - +221: + cat +224: + cc -o out/test/aarch64/shuffle-sections/b.o -ffunction-sections -c -xc - +225: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/soname.sh +215: mold 2.37.1 (compatible with GNU ld) +225: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +225: ++ export LC_ALL=C +225: ++ LC_ALL=C +225: ++ '[' -z aarch64 ']' +225: ++ '[' -z '' ']' +225: ++ TESTDIR=out/test/aarch64 +225: ++ CC=cc +225: ++ CXX=c++ +225: ++ GCC=gcc +225: ++ GXX=g++ +225: ++ OBJDUMP=objdump +225: ++ OBJCOPY=objcopy +225: ++ STRIP=strip +225: ++ QEMU= +215: + grep mold +200: + cat +200: + cc -c -xc -o out/test/aarch64/relocatable-many-sections/b.o - +215: + ./mold -run /usr/bin/ld.lld --version +218: + readelf -sW out/test/aarch64/section-order/exe3 224: ++ seq 1 1000 -215: + cat +218: + grep -E '\b0+200000 .* ehdr_start$' out/test/aarch64/section-order/log3 +215: mold 2.37.1 (compatible with GNU ld) +215: + ./mold -run /usr/bin/ld.gold --version +225: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/soname.sh .sh +215: + grep mold +225: ++ testname=soname +225: ++ t=out/test/aarch64/soname +225: ++ mkdir -p out/test/aarch64/soname 224: + for i in `seq 1 1000` 224: + echo 'void fn1() {}' 224: + for i in `seq 1 1000` @@ -17975,6 +18030,7 @@ 224: + echo 'void fn771() {}' 224: + for i in `seq 1 1000` 224: + echo 'void fn772() {}' +205: + tar -C out/test/aarch64/repro -tvf out/test/aarch64/repro/exe.repro.tar 224: + for i in `seq 1 1000` 224: + echo 'void fn773() {}' 224: + for i in `seq 1 1000` @@ -18431,66 +18487,72 @@ 224: + echo 'void fn999() {}' 224: + for i in `seq 1 1000` 224: + echo 'void fn1000() {}' -219: + sed 's/0x[0-9a-f]*//' -221: + cat -221: + cc -B. -fPIC -shared -o out/test/aarch64/shared-abs-sym/b.so -xassembler - -219: + diff out/test/aarch64/section-start/log1 /dev/fd/63 -225: + not grep -F 'Library soname' -225: + grep -F 'Library soname' -225: + readelf --dynamic out/test/aarch64/soname/b.so +205: + grep ' exe.repro/.*/a.o' +205: -rw-rw-r-- 0/0 1600 1970-01-01 14:00 exe.repro/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/out/test/aarch64/repro/a.o +205: + grep /a.o out/test/aarch64/repro/exe.repro/response.txt +215: mold 2.37.1 (compatible with GNU ld) +215: + 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 +225: ++ case $MACHINE in +225: ++ tlsdesc_opt=-mtls-dialect=desc +215: + touch out/test/aarch64/run/ld out/test/aarch64/run/ld.lld out/test/aarch64/run/ld.gold +225: +++ uname +225: ++ '[' Linux = FreeBSD ']' +225: ++ trap 'on_error $LINENO' ERR +225: ++ trap on_exit EXIT +225: ++ echo -n 'Testing soname ... ' +225: Testing soname ... ++ set -o pipefail +225: ++ set -x +205: out/test/aarch64/repro/a.o +215: + echo '#!/bin/sh' +215: + 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 +205: + grep mold out/test/aarch64/repro/exe.repro/version.txt +221: + cp out/test/aarch64/shared-abs-sym/a.so out/test/aarch64/shared-abs-sym/c.so +225: + cat +205: mold 2.37.1 (compatible with GNU ld) +215: + grep mold +205: + rm -rf out/test/aarch64/repro/exe.repro out/test/aarch64/repro/exe.repro.tar +205: + MOLD_REPRO=1 +205: + cc -B. -o out/test/aarch64/repro/exe out/test/aarch64/repro/a.o +215: + ./mold -run out/test/aarch64/run/ld --version +218: 95: 0000000000200000 0 NOTYPE LOCAL DEFAULT 1 ehdr_start +218: + grep -E '\b0+200040 .* rodata_start$' out/test/aarch64/section-order/log3 +225: + cc -fPIC -c -o out/test/aarch64/soname/a.o -xc - 222: + readelf --dyn-syms out/test/aarch64/shared/b.so -225: + return 0 -225: + cc -B. -o out/test/aarch64/soname/b.so -shared out/test/aarch64/soname/a.o -Wl,-soname,foo +215: mold 2.37.1 (compatible with GNU ld) +215: + grep mold 222: + grep '00000000 0 NOTYPE GLOBAL DEFAULT UND fn2' out/test/aarch64/shared/log +218: 96: 0000000000200040 0 NOTYPE LOCAL DEFAULT 1 rodata_start +218: + grep -E '\b0+300000 .* phdr_start$' out/test/aarch64/section-order/log3 +215: + ./mold -run out/test/aarch64/run/ld.lld --version 222: 4: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND fn2 222: + grep -E 'FUNC GLOBAL DEFAULT .* fn1' out/test/aarch64/shared/log +218: 97: 0000000000300000 0 NOTYPE LOCAL DEFAULT 1 phdr_start +218: + grep -E '\b0+301000 .* phdr_end$' out/test/aarch64/section-order/log3 222: 6: 0000000000010768 24 FUNC GLOBAL DEFAULT 15 fn1 +221: + 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 222: + cat -219: ++ sort out/test/aarch64/section-start/log1 -215: ++ pwd -215: + LD_PRELOAD=/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/mold-wrapper.so -215: ++ pwd -215: + MOLD_PATH=/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/mold -215: + cc -o out/test/aarch64/run/exe out/test/aarch64/run/a.o -B/usr/bin 222: + cc -fPIC -c -o out/test/aarch64/shared/c.o -xc - -219: + 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 -218: + grep '\.fn2 .*00400000' -218: + readelf -SW out/test/aarch64/section-order/exe2 -218: [14] .fn2 PROGBITS 0000000000400000 020000 000030 00 AX 0 0 4 -218: + readelf -sW out/test/aarch64/section-order/exe2 -221: + cat -221: + cc -fPIC -c -o out/test/aarch64/shared-abs-sym/d.o -xc - -218: + grep -E ': 0+200000\s.*\s__ehdr_start$' -218: 95: 0000000000200000 0 NOTYPE LOCAL DEFAULT 1 __ehdr_start -218: + readelf -W --segments out/test/aarch64/section-order/exe2 -222: + cc -B. -o out/test/aarch64/shared/exe out/test/aarch64/shared/c.o out/test/aarch64/shared/b.so -218: + grep -E 'PHDR\s.*0x0+300000\s' -218: PHDR 0x010000 0x0000000000300000 0x0000000000300000 0x000268 0x000268 R 0x8 -218: + 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' -219: + grep 'main fn1 fn2 0x20000000 0x10000000' -219: + out/test/aarch64/section-start/exe2 -219: main fn1 fn2 0x20000000 0x10000000 +215: mold 2.37.1 (compatible with GNU ld) +215: + ./mold -run out/test/aarch64/run/ld.gold --version +215: + grep mold 220: + on_qemu 220: + '[' '' '!=' '' ']' 220: + grep -w qemu /proc/cpuinfo -219: + sed 's/0x[0-9a-f]*//' -219: + grep ' LOAD ' -225: + readelf --dynamic out/test/aarch64/soname/b.so +218: 98: 0000000000301000 0 NOTYPE LOCAL DEFAULT 1 phdr_end +218: + grep -E '\b0+400000 .* text_start$' out/test/aarch64/section-order/log3 +215: mold 2.37.1 (compatible with GNU ld) +215: + ./mold -run out/test/aarch64/run/foo.ld --version 220: + command -v gdb 220: + command -v flock 220: + cat -225: + grep -F 'Library soname: [foo]' -215: + readelf -p .comment out/test/aarch64/run/exe -225: 0x000000000000000e (SONAME) Library soname: [foo] -221: + cp out/test/aarch64/shared-abs-sym/a.so out/test/aarch64/shared-abs-sym/c.so -219: + readelf -W --segments out/test/aarch64/section-start/exe2 220: + cc -c -o out/test/aarch64/separate-debug-file/a.o out/test/aarch64/separate-debug-file/a.c -g -225: + on_exit -225: + echo OK -225: OK -225: + exit 0 -215: + grep mold -214/347 Test #225: aarch64-soname ........................................... Passed 0.15 sec +200: + ./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 +218: 99: 0000000000400000 0 NOTYPE LOCAL DEFAULT 1 text_start +218: + on_exit +218: + echo OK +218: OK +218: + exit 0 +214/347 Test #218: aarch64-section-order .................................... Passed 0.66 sec test 226 Start 226: aarch64-spare-program-headers @@ -18500,15 +18562,10 @@ 226: MACHINE=aarch64 226: CPU= 226: Test timeout computed to be: 1500 -215: [ 0] mold 2.37.1 (compatible with GNU ld) -215: + ./mold -run env -215: + grep '^MOLD_PATH=.*/mold$' -215: MOLD_PATH=/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/mold -222: + out/test/aarch64/shared/exe -222: + grep hello -222: hello -219: + diff out/test/aarch64/section-start/log2 /dev/fd/63 -219: ++ sort out/test/aarch64/section-start/log2 +225: + cc -o out/test/aarch64/soname/b.so -shared out/test/aarch64/soname/a.o +215: + not grep mold +215: + grep mold +222: + cc -B. -o out/test/aarch64/shared/exe out/test/aarch64/shared/c.o out/test/aarch64/shared/b.so 226: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/spare-program-headers.sh 226: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 226: ++ export LC_ALL=C @@ -18524,29 +18581,54 @@ 226: ++ OBJCOPY=objcopy 226: ++ STRIP=strip 226: ++ QEMU= -215: + ./mold -run /usr/bin/ld --version -215: + grep mold -222: + readelf --symbols out/test/aarch64/shared/exe -222: + not grep fn3 -222: + grep fn3 +215: + return 0 +215: + cat +215: + chmod 755 out/test/aarch64/run/sh +220: + cc -B. -o out/test/aarch64/separate-debug-file/exe1 out/test/aarch64/separate-debug-file/a.o -Wl,--separate-debug-file 226: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/spare-program-headers.sh .sh +221: + grep foo=0x3 226: ++ testname=spare-program-headers 226: ++ t=out/test/aarch64/spare-program-headers 226: ++ mkdir -p out/test/aarch64/spare-program-headers 226: ++ case $MACHINE in 226: ++ tlsdesc_opt=-mtls-dialect=desc +221: + out/test/aarch64/shared-abs-sym/exe1 +221: foo=0x3 +221: + cp out/test/aarch64/shared-abs-sym/b.so out/test/aarch64/shared-abs-sym/c.so 226: +++ uname -219: + on_exit -219: + echo OK -219: OK -219: + exit 0 +205: + tar -C out/test/aarch64/repro -tvf out/test/aarch64/repro/exe.repro.tar +215: + grep mold 226: ++ '[' Linux = FreeBSD ']' -215/347 Test #219: aarch64-section-start .................................... Passed 0.25 sec 226: ++ trap 'on_error $LINENO' ERR 226: ++ trap on_exit EXIT 226: ++ echo -n 'Testing spare-program-headers ... ' 226: Testing spare-program-headers ... ++ set -o pipefail 226: ++ set -x +226: + cat +205: + grep ' exe.repro/.*/a.o' +205: -rw-rw-r-- 0/0 1600 1970-01-01 14:00 exe.repro/build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/out/test/aarch64/repro/a.o +205: + tar -C out/test/aarch64/repro -xf out/test/aarch64/repro/exe.repro.tar +226: + cc -o out/test/aarch64/spare-program-headers/a.o -c -xc - +221: + grep foo=0x5 +221: + out/test/aarch64/shared-abs-sym/exe1 +221: foo=0x5 +221: + cp out/test/aarch64/shared-abs-sym/a.so out/test/aarch64/shared-abs-sym/c.so +215: + ./mold -run out/test/aarch64/run/sh ld --version +222: + out/test/aarch64/shared/exe +222: + grep hello +221: + 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 +222: hello +205: + grep /a.o out/test/aarch64/repro/exe.repro/response.txt +205: out/test/aarch64/repro/a.o +205: + grep mold out/test/aarch64/repro/exe.repro/version.txt +205: mold 2.37.1 (compatible with GNU ld) +205: + on_exit +205: + echo OK +205: OK +205: + exit 0 +222: + not grep fn3 +222: + grep fn3 +215/347 Test #205: aarch64-repro ............................................ Passed 1.43 sec test 227 Start 227: aarch64-start-lib @@ -18556,27 +18638,18 @@ 227: MACHINE=aarch64 227: CPU= 227: Test timeout computed to be: 1500 -226: + cat -226: + cc -o out/test/aarch64/spare-program-headers/a.o -c -xc - 215: mold 2.37.1 (compatible with GNU ld) -215: + ./mold -run /usr/bin/ld.lld --version -215: + grep mold +225: + readelf --dynamic out/test/aarch64/soname/b.so +222: + readelf --symbols out/test/aarch64/shared/exe +215: + ./mold -run out/test/aarch64/run/sh out/test/aarch64/run/foo.ld --version +227: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/start-lib.sh 222: + return 0 222: + on_exit 222: + echo OK 222: OK 222: + exit 0 -216/347 Test #222: aarch64-shared ........................................... Passed 0.20 sec -test 228 - Start 228: aarch64-start-stop-symbol - -228: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/start-stop-symbol.sh" -228: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -228: Environment variables: -228: MACHINE=aarch64 -228: CPU= -228: Test timeout computed to be: 1500 -227: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/start-lib.sh +225: + not grep -F 'Library soname' +225: + grep -F 'Library soname' 227: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 227: ++ export LC_ALL=C 227: ++ LC_ALL=C @@ -18591,34 +18664,30 @@ 227: ++ OBJCOPY=objcopy 227: ++ STRIP=strip 227: ++ QEMU= +225: + return 0 +216/347 Test #222: aarch64-shared ........................................... Passed 0.54 sec +225: + cc -B. -o out/test/aarch64/soname/b.so -shared out/test/aarch64/soname/a.o -Wl,-soname,foo +215: + not grep mold +215: + grep mold +223: + 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 +test 228 + Start 228: aarch64-start-stop-symbol + +228: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/start-stop-symbol.sh" +228: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +228: Environment variables: +228: MACHINE=aarch64 +228: CPU= +228: Test timeout computed to be: 1500 +215: + return 0 +215: + ./mold -run out/test/aarch64/run/sh out/test/aarch64/run/ld --version +215: + grep mold 227: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/start-lib.sh .sh 227: ++ testname=start-lib 227: ++ t=out/test/aarch64/start-lib 227: ++ mkdir -p out/test/aarch64/start-lib 227: ++ case $MACHINE in 227: ++ tlsdesc_opt=-mtls-dialect=desc -227: +++ uname -227: ++ '[' Linux = FreeBSD ']' -227: ++ trap 'on_error $LINENO' ERR -227: ++ trap on_exit EXIT -227: ++ echo -n 'Testing start-lib ... ' -227: Testing start-lib ... ++ set -o pipefail -227: ++ set -x -227: + cc -o out/test/aarch64/start-lib/a.o -c -xc - -227: + cat -215: mold 2.37.1 (compatible with GNU ld) -215: + grep mold -215: + ./mold -run /usr/bin/ld.gold --version -215: mold 2.37.1 (compatible with GNU ld) -215: + 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 -215: + touch out/test/aarch64/run/ld out/test/aarch64/run/ld.lld out/test/aarch64/run/ld.gold -215: + echo '#!/bin/sh' -215: + 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 -215: + grep mold -215: + ./mold -run out/test/aarch64/run/ld --version -221: + 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 -220: + cc -B. -o out/test/aarch64/separate-debug-file/exe1 out/test/aarch64/separate-debug-file/a.o -Wl,--separate-debug-file -226: + cc -B. -o out/test/aarch64/spare-program-headers/exe1 out/test/aarch64/spare-program-headers/a.o 228: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/start-stop-symbol.sh 228: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 228: ++ export LC_ALL=C @@ -18638,59 +18707,63 @@ 228: ++ testname=start-stop-symbol 228: ++ t=out/test/aarch64/start-stop-symbol 228: ++ mkdir -p out/test/aarch64/start-stop-symbol +215: mold 2.37.1 (compatible with GNU ld) +227: +++ uname +226: + cc -B. -o out/test/aarch64/spare-program-headers/exe1 out/test/aarch64/spare-program-headers/a.o +215: + ./mold -run out/test/aarch64/run/sh out/test/aarch64/run/ld.lld --version +227: ++ '[' Linux = FreeBSD ']' +227: ++ trap 'on_error $LINENO' ERR +227: ++ trap on_exit EXIT +227: ++ echo -n 'Testing start-lib ... ' +227: Testing start-lib ... ++ set -o pipefail +227: ++ set -x 228: ++ case $MACHINE in 228: ++ tlsdesc_opt=-mtls-dialect=desc +227: + cc -o out/test/aarch64/start-lib/a.o -c -xc - +215: + grep mold +227: + cat 228: +++ uname -215: mold 2.37.1 (compatible with GNU ld) 228: ++ '[' Linux = FreeBSD ']' 228: ++ trap 'on_error $LINENO' ERR 228: ++ trap on_exit EXIT 228: ++ echo -n 'Testing start-stop-symbol ... ' 228: Testing start-stop-symbol ... ++ set -o pipefail 228: ++ set -x -215: + grep mold -215: + ./mold -run out/test/aarch64/run/ld.lld --version +215: mold 2.37.1 (compatible with GNU ld) 228: + cat 228: + cc -c -o out/test/aarch64/start-stop-symbol/a.o -xc - -218: + readelf -sW out/test/aarch64/section-order/exe3 -218: + grep -E '\b0+200000 .* ehdr_start$' out/test/aarch64/section-order/log3 -215: mold 2.37.1 (compatible with GNU ld) -215: + ./mold -run out/test/aarch64/run/ld.gold --version 215: + grep mold -218: 95: 0000000000200000 0 NOTYPE LOCAL DEFAULT 1 ehdr_start -218: + grep -E '\b0+200040 .* rodata_start$' out/test/aarch64/section-order/log3 -218: 96: 0000000000200040 0 NOTYPE LOCAL DEFAULT 1 rodata_start -218: + grep -E '\b0+300000 .* phdr_start$' out/test/aarch64/section-order/log3 -215: mold 2.37.1 (compatible with GNU ld) -220: + readelf -SW out/test/aarch64/separate-debug-file/exe1 -227: + cat +215: + ./mold -run out/test/aarch64/run/sh out/test/aarch64/run/ld.gold --version 227: + cc -o out/test/aarch64/start-lib/b.o -c -xc - +227: + cat +221: + out/test/aarch64/shared-abs-sym/exe2 +221: + grep foo=0x3 +221: foo=0x3 +221: + cp out/test/aarch64/shared-abs-sym/b.so out/test/aarch64/shared-abs-sym/c.so +225: + grep -F 'Library soname: [foo]' +223: + out/test/aarch64/shuffle-sections-seed/exe1 +228: + ar rcs out/test/aarch64/start-stop-symbol/b.a out/test/aarch64/start-stop-symbol/a.o +223: + grep 'Hello world' +223: Hello world +223: + 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 +225: + readelf --dynamic out/test/aarch64/soname/b.so +220: + readelf -SW out/test/aarch64/separate-debug-file/exe1 +221: + grep foo=0x5 220: + grep -F .gnu_debuglink 220: [30] .gnu_debuglink PROGBITS 0000000000000000 000ac0 000010 00 0 0 4 220: + flock out/test/aarch64/separate-debug-file/exe1 true -215: + ./mold -run out/test/aarch64/run/foo.ld --version -228: + ar rcs out/test/aarch64/start-stop-symbol/b.a out/test/aarch64/start-stop-symbol/a.o -218: 97: 0000000000300000 0 NOTYPE LOCAL DEFAULT 1 phdr_start -215: + not grep mold -215: + grep mold -218: + grep -E '\b0+301000 .* phdr_end$' out/test/aarch64/section-order/log3 -215: + return 0 -215: + cat -215: + chmod 755 out/test/aarch64/run/sh -218: 98: 0000000000301000 0 NOTYPE LOCAL DEFAULT 1 phdr_end -221: + grep foo=0x3 -223: + 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 -218: + grep -E '\b0+400000 .* text_start$' out/test/aarch64/section-order/log3 -215: + ./mold -run out/test/aarch64/run/sh ld --version -215: + grep mold 221: + out/test/aarch64/shared-abs-sym/exe1 -218: 99: 0000000000400000 0 NOTYPE LOCAL DEFAULT 1 text_start -224: + cc -B. -o out/test/aarch64/shuffle-sections/exe1 out/test/aarch64/shuffle-sections/a.o out/test/aarch64/shuffle-sections/b.o -218: + on_exit -218: + echo OK -218: OK -218: + exit 0 -217/347 Test #218: aarch64-section-order .................................... Passed 0.37 sec +221: foo=0x5 +225: 0x000000000000000e (SONAME) Library soname: [foo] +225: + on_exit +225: + echo OK +225: OK +225: + exit 0 +221: + on_exit +221: + echo OK +221: OK +221: + exit 0 +217/347 Test #221: aarch64-shared-abs-sym ................................... Passed 0.68 sec test 229 Start 229: aarch64-start-stop @@ -18701,20 +18774,22 @@ 229: CPU= 229: Test timeout computed to be: 1500 215: mold 2.37.1 (compatible with GNU ld) -221: foo=0x3 -221: + cp out/test/aarch64/shared-abs-sym/b.so out/test/aarch64/shared-abs-sym/c.so -228: + cat -228: + cc -c -o out/test/aarch64/start-stop-symbol/c.o -xc - -227: + cat -227: + cc -o out/test/aarch64/start-lib/c.o -c -xc - 215: + ./mold -run out/test/aarch64/run/sh out/test/aarch64/run/foo.ld --version 215: + not grep mold 215: + grep mold -221: + out/test/aarch64/shared-abs-sym/exe1 +218/347 Test #225: aarch64-soname ........................................... Passed 0.42 sec +test 230 + Start 230: aarch64-static-archive + +230: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/static-archive.sh" +230: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +230: Environment variables: +230: MACHINE=aarch64 +230: CPU= +230: Test timeout computed to be: 1500 +228: + cat +228: + cc -c -o out/test/aarch64/start-stop-symbol/c.o -xc - 229: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/start-stop.sh -226: + grep 'Hello world' -221: + grep foo=0x5 -226: + out/test/aarch64/spare-program-headers/exe1 229: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 229: ++ export LC_ALL=C 229: ++ LC_ALL=C @@ -18729,101 +18804,10 @@ 229: ++ OBJCOPY=objcopy 229: ++ STRIP=strip 229: ++ QEMU= -226: Hello world 229: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/start-stop.sh .sh -226: ++ readelf -Wl out/test/aarch64/spare-program-headers/exe1 -226: ++ wc -l -226: ++ grep NULL 229: ++ testname=start-stop 229: ++ t=out/test/aarch64/start-stop 229: ++ mkdir -p out/test/aarch64/start-stop -221: foo=0x5 -215: + return 0 -229: ++ case $MACHINE in -229: ++ tlsdesc_opt=-mtls-dialect=desc -215: + ./mold -run out/test/aarch64/run/sh out/test/aarch64/run/ld --version -215: + grep mold -229: +++ uname -229: ++ '[' Linux = FreeBSD ']' -229: ++ trap 'on_error $LINENO' ERR -229: ++ trap on_exit EXIT -229: ++ echo -n 'Testing start-stop ... ' -229: Testing start-stop ... ++ set -o pipefail -229: ++ set -x -229: + cat -221: + cp out/test/aarch64/shared-abs-sym/a.so out/test/aarch64/shared-abs-sym/c.so -229: + cc -c -o out/test/aarch64/start-stop/a.o -xc - -221: + 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 -215: mold 2.37.1 (compatible with GNU ld) -215: + ./mold -run out/test/aarch64/run/sh out/test/aarch64/run/ld.lld --version -215: + grep mold -226: + '[' 0 -eq 0 ']' -226: + cc -B. -o out/test/aarch64/spare-program-headers/exe2 out/test/aarch64/spare-program-headers/a.o -Wl,--spare-program-headers=0 -220: + grep -F printf -220: + gdb out/test/aarch64/separate-debug-file/exe1 -ex 'list main' -ex quit -227: + 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 -229: + cc -B. -o out/test/aarch64/start-stop/exe1 out/test/aarch64/start-stop/a.o -Wl,--start-stop -224: + grep 'Hello world' -224: + out/test/aarch64/shuffle-sections/exe1 -224: Hello world -224: + 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 -228: + 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 -215: mold 2.37.1 (compatible with GNU ld) -215: + grep mold -223: + grep 'Hello world' -215: + ./mold -run out/test/aarch64/run/sh out/test/aarch64/run/ld.gold --version -223: + out/test/aarch64/shuffle-sections-seed/exe1 -223: Hello world -215: mold 2.37.1 (compatible with GNU ld) -215: + not grep mold -215: + grep mold -223: + 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 -215: + ./mold -run out/test/aarch64/run/sh out/test/aarch64/run/foo.ld --version -215: + return 0 -215: + on_exit -215: + echo OK -215: OK -215: + exit 0 -218/347 Test #215: aarch64-run .............................................. Passed 0.49 sec -229: + readelf -sW out/test/aarch64/start-stop/exe1 -229: + grep __start_text -test 230 - Start 230: aarch64-static-archive - -230: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/static-archive.sh" -230: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -230: Environment variables: -230: MACHINE=aarch64 -230: CPU= -230: Test timeout computed to be: 1500 -229: 170: 0000000000010640 0 NOTYPE LOCAL DEFAULT 18 __start_text -229: + readelf -sW out/test/aarch64/start-stop/exe1 -229: + grep __stop_text -229: 171: 00000000000107b0 0 NOTYPE LOCAL DEFAULT 18 __stop_text -229: + on_exit -229: + echo OK -229: OK -229: + exit 0 -219/347 Test #229: aarch64-start-stop ....................................... Passed 0.07 sec -test 231 - Start 231: aarch64-static-pie - -231: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/static-pie.sh" -231: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -231: Environment variables: -231: MACHINE=aarch64 -231: CPU= -231: Test timeout computed to be: 1500 -227: + nm out/test/aarch64/start-lib/exe -227: + not grep ' foo$' out/test/aarch64/start-lib/log -227: + grep ' foo$' out/test/aarch64/start-lib/log -227: + return 0 -227: + grep ' bar$' out/test/aarch64/start-lib/log -227: 0000000000010768 t bar -227: + on_exit -227: + echo OK -227: OK -227: + exit 0 230: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/static-archive.sh 230: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 230: ++ export LC_ALL=C @@ -18845,76 +18829,47 @@ 230: ++ mkdir -p out/test/aarch64/static-archive 230: ++ case $MACHINE in 230: ++ tlsdesc_opt=-mtls-dialect=desc +226: + out/test/aarch64/spare-program-headers/exe1 +215: + return 0 +215: + on_exit +215: + echo OK +215: OK +215: + exit 0 230: +++ uname +219/347 Test #215: aarch64-run .............................................. Passed 1.02 sec +test 231 + Start 231: aarch64-static-pie + +231: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/static-pie.sh" +231: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +231: Environment variables: +231: MACHINE=aarch64 +231: CPU= +231: Test timeout computed to be: 1500 230: ++ '[' Linux = FreeBSD ']' 230: ++ trap 'on_error $LINENO' ERR 230: ++ trap on_exit EXIT 230: ++ echo -n 'Testing static-archive ... ' 230: Testing static-archive ... ++ set -o pipefail 230: ++ set -x -230: + cat -230: + cc -o out/test/aarch64/static-archive/long-long-long-filename.o -c -xc - -221: + out/test/aarch64/shared-abs-sym/exe2 -221: + grep foo=0x3 -221: foo=0x3 -221: + cp out/test/aarch64/shared-abs-sym/b.so out/test/aarch64/shared-abs-sym/c.so -221: + grep foo=0x5 -221: + out/test/aarch64/shared-abs-sym/exe1 -221: foo=0x5 -221: + on_exit -221: + echo OK -221: OK -221: + exit 0 -223: + grep 'Hello world' -223: + out/test/aarch64/shuffle-sections-seed/exe2 -223: Hello world -223: + 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 -226: + out/test/aarch64/spare-program-headers/exe2 +229: ++ case $MACHINE in +229: ++ tlsdesc_opt=-mtls-dialect=desc +229: +++ uname +229: ++ '[' Linux = FreeBSD ']' +229: ++ trap 'on_error $LINENO' ERR +229: ++ trap on_exit EXIT +229: ++ echo -n 'Testing start-stop ... ' +229: Testing start-stop ... ++ set -o pipefail +229: ++ set -x 226: + grep 'Hello world' 226: Hello world -224: + out/test/aarch64/shuffle-sections/exe2 -224: + grep 'Hello world' -224: Hello world -224: + not diff out/test/aarch64/shuffle-sections/exe1 out/test/aarch64/shuffle-sections/exe2 -224: + on_exit -224: + echo OK -224: OK -224: + exit 0 -220/347 Test #221: aarch64-shared-abs-sym ................................... Passed 0.40 sec -221/347 Test #224: aarch64-shuffle-sections ................................. Passed 0.37 sec -222/347 Test #227: aarch64-start-lib ........................................ Passed 0.20 sec -test 232 - Start 232: aarch64-stdout - -232: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/stdout.sh" -232: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -232: Environment variables: -232: MACHINE=aarch64 -232: CPU= -232: Test timeout computed to be: 1500 -test 233 - Start 233: aarch64-strip-debug - -233: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/strip-debug.sh" -233: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -233: Environment variables: -233: MACHINE=aarch64 -233: CPU= -233: Test timeout computed to be: 1500 -test 234 - Start 234: aarch64-strip - -234: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/strip.sh" -234: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -234: Environment variables: -234: MACHINE=aarch64 -234: CPU= -234: Test timeout computed to be: 1500 -228: + out/test/aarch64/start-stop-symbol/exe -228: + grep 'section foo section foo' -228: section foo section foo -228: + 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 +226: ++ grep NULL +230: + cat +226: ++ readelf -Wl out/test/aarch64/spare-program-headers/exe1 +226: ++ wc -l 231: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/static-pie.sh +227: + cc -o out/test/aarch64/start-lib/c.o -c -xc - +229: + cat 231: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 231: ++ export LC_ALL=C 231: ++ LC_ALL=C @@ -18929,16 +18884,25 @@ 231: ++ OBJCOPY=objcopy 231: ++ STRIP=strip 231: ++ QEMU= +229: + cc -c -o out/test/aarch64/start-stop/a.o -xc - +230: + cc -o out/test/aarch64/static-archive/long-long-long-filename.o -c -xc - 231: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/static-pie.sh .sh 231: ++ testname=static-pie 231: ++ t=out/test/aarch64/static-pie 231: ++ mkdir -p out/test/aarch64/static-pie -226: ++ readelf -Wl out/test/aarch64/spare-program-headers/exe2 -226: ++ grep NULL -233: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/strip-debug.sh -230: + cat +224: + cc -B. -o out/test/aarch64/shuffle-sections/exe1 out/test/aarch64/shuffle-sections/a.o out/test/aarch64/shuffle-sections/b.o +220: + gdb out/test/aarch64/separate-debug-file/exe1 -ex 'list main' -ex quit +220: + grep -F printf +226: + '[' 0 -eq 0 ']' +226: + cc -B. -o out/test/aarch64/spare-program-headers/exe2 out/test/aarch64/spare-program-headers/a.o -Wl,--spare-program-headers=0 +227: + cat 231: ++ case $MACHINE in 231: ++ tlsdesc_opt=-mtls-dialect=desc +223: + out/test/aarch64/shuffle-sections-seed/exe2 +223: + grep 'Hello world' +223: Hello world +223: + 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 +228: + 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 231: +++ uname 231: ++ '[' Linux = FreeBSD ']' 231: ++ trap 'on_error $LINENO' ERR @@ -18947,9 +18911,69 @@ 231: Testing static-pie ... ++ set -o pipefail 231: ++ set -x 231: + test_cflags -static-pie -232: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/stdout.sh -231: + echo 'int main() {}' 231: + cc -B. -static-pie -o /dev/null -xc - +230: + cat +231: + echo 'int main() {}' +230: + cc -o out/test/aarch64/static-archive/b.o -c -xc - +229: + cc -B. -o out/test/aarch64/start-stop/exe1 out/test/aarch64/start-stop/a.o -Wl,--start-stop +227: + 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 +224: + grep 'Hello world' +224: + out/test/aarch64/shuffle-sections/exe1 +224: Hello world +224: + 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 +228: + grep 'section foo section foo' +228: + out/test/aarch64/start-stop-symbol/exe +228: section foo section foo +228: + 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 +226: + out/test/aarch64/spare-program-headers/exe2 +230: + cat +230: + cc -o out/test/aarch64/static-archive/c.o -c -xc - +226: + grep 'Hello world' +226: Hello world +226: ++ grep NULL +226: ++ readelf -Wl out/test/aarch64/spare-program-headers/exe2 +226: ++ wc -l +226: + '[' 0 -eq 0 ']' +226: + cc -B. -o out/test/aarch64/spare-program-headers/exe3 out/test/aarch64/spare-program-headers/a.o -Wl,--spare-program-headers=1 +229: + grep __start_text +230: + rm -f out/test/aarch64/static-archive/d.a +229: + readelf -sW out/test/aarch64/start-stop/exe1 +229: 170: 0000000000010640 0 NOTYPE LOCAL DEFAULT 18 __start_text +229: + grep __stop_text +230: + cd out/test/aarch64/static-archive +230: + ar rcs d.a long-long-long-filename.o b.o +228: + out/test/aarch64/start-stop-symbol/exe +228: + grep 'section foo section foo' +224: + grep 'Hello world' +224: + out/test/aarch64/shuffle-sections/exe2 +229: + readelf -sW out/test/aarch64/start-stop/exe1 +228: section foo section foo +228: + on_exit +228: + echo OK +228: OK +228: + exit 0 +231: + cat +220/347 Test #228: aarch64-start-stop-symbol ................................ Passed 0.38 sec +test 232 + Start 232: aarch64-stdout + +232: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/stdout.sh" +232: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +232: Environment variables: +232: MACHINE=aarch64 +232: CPU= +232: Test timeout computed to be: 1500 +230: + 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 +229: 171: 00000000000107b0 0 NOTYPE LOCAL DEFAULT 18 __stop_text +229: + on_exit +229: + echo OK +229: OK +229: + exit 0 +231: + cc -o out/test/aarch64/static-pie/a.o -c -xc - -fPIE +224: Hello world +224: + not diff out/test/aarch64/shuffle-sections/exe1 out/test/aarch64/shuffle-sections/exe2 +227: + nm out/test/aarch64/start-lib/exe +232: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/stdout.sh 232: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 232: ++ export LC_ALL=C 232: ++ LC_ALL=C @@ -18964,11 +18988,39 @@ 232: ++ OBJCOPY=objcopy 232: ++ STRIP=strip 232: ++ QEMU= +221/347 Test #229: aarch64-start-stop ....................................... Passed 0.30 sec +test 233 + Start 233: aarch64-strip-debug + +233: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/strip-debug.sh" +233: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +233: Environment variables: +233: MACHINE=aarch64 +233: CPU= +233: Test timeout computed to be: 1500 +224: + on_exit +224: + echo OK +224: OK +224: + exit 0 +227: + not grep ' foo$' out/test/aarch64/start-lib/log +227: + grep ' foo$' out/test/aarch64/start-lib/log +227: + return 0 +227: + grep ' bar$' out/test/aarch64/start-lib/log 232: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/stdout.sh .sh -234: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/strip.sh 232: ++ testname=stdout 232: ++ t=out/test/aarch64/stdout 232: ++ mkdir -p out/test/aarch64/stdout +233: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/strip-debug.sh +222/347 Test #224: aarch64-shuffle-sections ................................. Passed 0.83 sec +test 234 + Start 234: aarch64-strip + +234: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/strip.sh" +234: Working Directory: /build/reproducible-path/mold-2.37.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.37.1+dfsg/test/common.inc 233: ++ export LC_ALL=C 233: ++ LC_ALL=C @@ -18983,6 +19035,91 @@ 233: ++ OBJCOPY=objcopy 233: ++ STRIP=strip 233: ++ QEMU= +233: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/strip-debug.sh .sh +227: 0000000000010768 t bar +227: + on_exit +227: + echo OK +227: OK +227: + exit 0 +223/347 Test #227: aarch64-start-lib ........................................ Passed 0.45 sec +test 235 + Start 235: aarch64-stt-common + +235: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/stt-common.sh" +235: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +235: Environment variables: +235: MACHINE=aarch64 +235: CPU= +235: Test timeout computed to be: 1500 +232: ++ case $MACHINE in +232: ++ tlsdesc_opt=-mtls-dialect=desc +233: ++ testname=strip-debug +233: ++ t=out/test/aarch64/strip-debug +233: ++ mkdir -p out/test/aarch64/strip-debug +235: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/stt-common.sh +233: ++ case $MACHINE in +233: ++ tlsdesc_opt=-mtls-dialect=desc +223: + grep 'Hello world' +232: +++ uname +232: ++ '[' Linux = FreeBSD ']' +232: ++ trap 'on_error $LINENO' ERR +232: ++ trap on_exit EXIT +232: ++ echo -n 'Testing stdout ... ' +232: Testing stdout ... ++ set -o pipefail +232: ++ set -x +226: + grep 'Hello world' +232: + cat +233: +++ uname +226: + out/test/aarch64/spare-program-headers/exe3 +235: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +235: ++ export LC_ALL=C +235: ++ LC_ALL=C +235: ++ '[' -z aarch64 ']' +235: ++ '[' -z '' ']' +235: ++ TESTDIR=out/test/aarch64 +235: ++ CC=cc +235: ++ CXX=c++ +235: ++ GCC=gcc +235: ++ GXX=g++ +235: ++ OBJDUMP=objdump +235: ++ OBJCOPY=objcopy +235: ++ STRIP=strip +235: ++ QEMU= +226: Hello world +233: ++ '[' Linux = FreeBSD ']' +233: ++ trap 'on_error $LINENO' ERR +233: ++ trap on_exit EXIT +233: ++ echo -n 'Testing strip-debug ... ' +233: Testing strip-debug ... ++ set -o pipefail +233: ++ set -x +234: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/strip.sh +223: + out/test/aarch64/shuffle-sections-seed/exe3 +235: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/stt-common.sh .sh +226: ++ grep NULL +235: ++ testname=stt-common +235: ++ t=out/test/aarch64/stt-common +235: ++ mkdir -p out/test/aarch64/stt-common +226: ++ readelf -Wl out/test/aarch64/spare-program-headers/exe3 +235: ++ case $MACHINE in +235: ++ tlsdesc_opt=-mtls-dialect=desc +223: Hello world +223: + 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 +233: + cat +233: + cc -o out/test/aarch64/strip-debug/a.o -c -xc - -g +235: +++ uname +226: ++ wc -l +235: ++ '[' Linux = FreeBSD ']' +235: ++ trap 'on_error $LINENO' ERR +235: ++ trap on_exit EXIT +235: ++ echo -n 'Testing stt-common ... ' +235: Testing stt-common ... ++ set -o pipefail +235: ++ set -x +231: + cc -B. -o out/test/aarch64/static-pie/exe1 out/test/aarch64/static-pie/a.o -static-pie +235: + cat +226: + '[' 1 -eq 1 ']' +226: + cc -B. -o out/test/aarch64/spare-program-headers/exe4 out/test/aarch64/spare-program-headers/a.o -Wl,--spare-program-headers=5 +235: + cc -fcommon -xc -c -o out/test/aarch64/stt-common/a.o - -Wa,--elf-stt-common=yes +232: + cc -o out/test/aarch64/stdout/a.o -c -xc - 234: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 234: ++ export LC_ALL=C 234: ++ LC_ALL=C @@ -18997,80 +19134,65 @@ 234: ++ OBJCOPY=objcopy 234: ++ STRIP=strip 234: ++ QEMU= -233: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/strip-debug.sh .sh -232: ++ case $MACHINE in -232: ++ tlsdesc_opt=-mtls-dialect=desc 234: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/strip.sh .sh -226: ++ wc -l -232: +++ uname -233: ++ testname=strip-debug -233: ++ t=out/test/aarch64/strip-debug -233: ++ mkdir -p out/test/aarch64/strip-debug 234: ++ testname=strip 234: ++ t=out/test/aarch64/strip 234: ++ mkdir -p out/test/aarch64/strip -232: ++ '[' Linux = FreeBSD ']' -232: ++ trap 'on_error $LINENO' ERR -232: ++ trap on_exit EXIT -232: ++ echo -n 'Testing stdout ... ' -232: Testing stdout ... ++ set -o pipefail -232: ++ set -x -232: + cc -o out/test/aarch64/stdout/a.o -c -xc - -232: + cat 234: ++ case $MACHINE in 234: ++ tlsdesc_opt=-mtls-dialect=desc -233: ++ case $MACHINE in -233: ++ tlsdesc_opt=-mtls-dialect=desc 234: +++ uname +235: + cc -fcommon -xc -c -o out/test/aarch64/stt-common/b.o - -Wa,--elf-stt-common=yes +235: + cat 234: ++ '[' Linux = FreeBSD ']' 234: ++ trap 'on_error $LINENO' ERR 234: ++ trap on_exit EXIT 234: ++ echo -n 'Testing strip ... ' 234: Testing strip ... ++ set -o pipefail 234: ++ set -x -226: + '[' 0 -eq 0 ']' -226: + cc -B. -o out/test/aarch64/spare-program-headers/exe3 out/test/aarch64/spare-program-headers/a.o -Wl,--spare-program-headers=1 -233: +++ uname +230: + grep -F 'static-archive/d.a(long-long-long-filename.o)' out/test/aarch64/static-archive/log +230: trace: out/test/aarch64/static-archive/d.a(long-long-long-filename.o) 234: + cat -233: ++ '[' Linux = FreeBSD ']' -233: ++ trap 'on_error $LINENO' ERR -233: ++ trap on_exit EXIT -233: ++ echo -n 'Testing strip-debug ... ' -233: Testing strip-debug ... ++ set -o pipefail -233: ++ set -x -233: + cat 234: + cc -x assembler -c -o out/test/aarch64/strip/a.o -Wa,-L - -230: + cc -o out/test/aarch64/static-archive/b.o -c -xc - -233: + cc -o out/test/aarch64/strip-debug/a.o -c -xc - -g -223: + out/test/aarch64/shuffle-sections-seed/exe3 -223: + grep 'Hello world' -234: + ./mold -o out/test/aarch64/strip/exe out/test/aarch64/strip/a.o 232: + cc -B. -Wl,-build-id=sha1 out/test/aarch64/stdout/a.o -o - -228: + out/test/aarch64/start-stop-symbol/exe +230: + grep -F 'static-archive/d.a(b.o)' out/test/aarch64/static-archive/log +230: trace: out/test/aarch64/static-archive/d.a(b.o) +230: + grep -F static-archive/c.o out/test/aarch64/static-archive/log +233: + cc -B. -o out/test/aarch64/strip-debug/exe out/test/aarch64/strip-debug/a.o -Wl,--strip-debug +230: trace: out/test/aarch64/static-archive/c.o +230: + out/test/aarch64/static-archive/exe +230: + grep 8 +223: + grep 'Hello world' +223: + out/test/aarch64/shuffle-sections-seed/exe4 223: Hello world -228: + grep 'section foo section foo' -223: + 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 -228: section foo section foo -228: + on_exit -228: + echo OK -228: OK -228: + exit 0 -230: + cat -230: + cc -o out/test/aarch64/static-archive/c.o -c -xc - -223/347 Test #228: aarch64-start-stop-symbol ................................ Passed 0.25 sec -test 235 - Start 235: aarch64-stt-common - -235: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/stt-common.sh" -235: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -235: Environment variables: -235: MACHINE=aarch64 -235: CPU= -235: Test timeout computed to be: 1500 -226: + out/test/aarch64/spare-program-headers/exe3 -226: + grep 'Hello world' -226: Hello world +223: + not diff out/test/aarch64/shuffle-sections-seed/exe1 out/test/aarch64/shuffle-sections-seed/exe2 +234: + ./mold -o out/test/aarch64/strip/exe out/test/aarch64/strip/a.o +235: + 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 +223: + diff out/test/aarch64/shuffle-sections-seed/exe2 out/test/aarch64/shuffle-sections-seed/exe3 +223: + not diff out/test/aarch64/shuffle-sections-seed/exe3 out/test/aarch64/shuffle-sections-seed/exe4 234: + readelf --symbols out/test/aarch64/strip/exe +230: 8 +230: + on_exit +230: + echo OK +230: OK +230: + exit 0 +224/347 Test #230: aarch64-static-archive ................................... Passed 0.46 sec +231: + out/test/aarch64/static-pie/exe1 +test 236 + Start 236: aarch64-symbol-rank + +236: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/symbol-rank.sh" +236: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +236: Environment variables: +236: MACHINE=aarch64 +236: CPU= +236: Test timeout computed to be: 1500 +231: + grep 'Hello world' +231: Hello world +231: + cc -B. -o out/test/aarch64/static-pie/exe2 out/test/aarch64/static-pie/a.o -static-pie -Wl,--no-relax +223: + on_exit +223: + echo OK +223: OK +223: + exit 0 234: + grep -F _start out/test/aarch64/strip/log 234: 15: 0000000000210210 0 NOTYPE LOCAL DEFAULT 3 _start 234: 17: 0000000000200000 0 NOTYPE LOCAL DEFAULT 1 __ehdr_start @@ -19083,126 +19205,20 @@ 234: 40: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __start_EHDR 234: 42: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __start_PHDR 234: + grep -F foo out/test/aarch64/strip/log -226: ++ grep NULL -235: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/stt-common.sh -235: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -235: ++ export LC_ALL=C -235: ++ LC_ALL=C -235: ++ '[' -z aarch64 ']' -235: ++ '[' -z '' ']' -235: ++ TESTDIR=out/test/aarch64 -235: ++ CC=cc -235: ++ CXX=c++ -235: ++ GCC=gcc -235: ++ GXX=g++ -235: ++ OBJDUMP=objdump -235: ++ OBJCOPY=objcopy -235: ++ STRIP=strip -235: ++ QEMU= -226: ++ readelf -Wl out/test/aarch64/spare-program-headers/exe3 -235: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/stt-common.sh .sh 234: 16: 0000000000210210 0 NOTYPE LOCAL DEFAULT 3 foo -235: ++ testname=stt-common -235: ++ t=out/test/aarch64/stt-common -235: ++ mkdir -p out/test/aarch64/stt-common -226: ++ wc -l 234: + grep -F bar out/test/aarch64/strip/log -230: + rm -f out/test/aarch64/static-archive/d.a 234: 13: 0000000000210210 0 NOTYPE LOCAL DEFAULT 3 bar -234: + [[ aarch64 != riscv* ]] -234: + [[ aarch64 != loongarch* ]] -234: + grep -F .L.baz out/test/aarch64/strip/log -230: + cd out/test/aarch64/static-archive -230: + ar rcs d.a long-long-long-filename.o b.o -230: + 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 232: + chmod 755 out/test/aarch64/stdout/exe -235: ++ case $MACHINE in -235: ++ tlsdesc_opt=-mtls-dialect=desc -200: + cat -200: + cc -c -xc -o out/test/aarch64/relocatable-many-sections/b.o - -233: + cc -B. -o out/test/aarch64/strip-debug/exe out/test/aarch64/strip-debug/a.o -Wl,--strip-debug -226: + '[' 1 -eq 1 ']' -226: + cc -B. -o out/test/aarch64/spare-program-headers/exe4 out/test/aarch64/spare-program-headers/a.o -Wl,--spare-program-headers=5 -234: 14: 0000000000210210 0 NOTYPE LOCAL DEFAULT 3 .L.baz -234: + ./mold -o out/test/aarch64/strip/exe out/test/aarch64/strip/a.o -strip-all 232: + out/test/aarch64/stdout/exe -231: + cat 232: + grep 'Hello world' 232: Hello world -231: + cc -o out/test/aarch64/static-pie/a.o -c -xc - -fPIE -232: + on_exit -232: + echo OK -232: OK -232: + exit 0 -235: +++ uname -224/347 Test #232: aarch64-stdout ........................................... Passed 0.11 sec -test 236 - Start 236: aarch64-symbol-rank - -236: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/symbol-rank.sh" -236: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -236: Environment variables: -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: ++ echo -n 'Testing stt-common ... ' -235: Testing stt-common ... ++ set -o pipefail -235: ++ set -x -236: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/symbol-rank.sh -236: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -236: ++ export LC_ALL=C -236: ++ LC_ALL=C -236: ++ '[' -z aarch64 ']' -236: ++ '[' -z '' ']' -236: ++ TESTDIR=out/test/aarch64 -236: ++ CC=cc -236: ++ CXX=c++ -236: ++ GCC=gcc -236: ++ GXX=g++ -236: ++ OBJDUMP=objdump -236: ++ OBJCOPY=objcopy -236: ++ STRIP=strip -236: ++ QEMU= -235: + cat -235: + cc -fcommon -xc -c -o out/test/aarch64/stt-common/a.o - -Wa,--elf-stt-common=yes -236: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/symbol-rank.sh .sh -236: ++ testname=symbol-rank -236: ++ t=out/test/aarch64/symbol-rank -236: ++ mkdir -p out/test/aarch64/symbol-rank -236: ++ case $MACHINE in -236: ++ tlsdesc_opt=-mtls-dialect=desc -236: +++ uname -236: ++ '[' Linux = FreeBSD ']' -236: ++ trap 'on_error $LINENO' ERR -236: ++ trap on_exit EXIT -236: ++ echo -n 'Testing symbol-rank ... ' -236: Testing symbol-rank ... ++ set -o pipefail -236: ++ set -x -236: + cc -o out/test/aarch64/symbol-rank/a.o -c -xc - -234: + readelf --symbols out/test/aarch64/strip/exe -234: + not grep -F _start out/test/aarch64/strip/log -234: + grep -F _start out/test/aarch64/strip/log -234: + return 0 -234: + not grep -F foo out/test/aarch64/strip/log -234: + grep -F foo out/test/aarch64/strip/log -234: + return 0 -234: + not grep -F bar out/test/aarch64/strip/log -234: + grep -F bar out/test/aarch64/strip/log -234: + return 0 +226: + grep 'Hello world' +226: + out/test/aarch64/spare-program-headers/exe4 +226: Hello world +225/347 Test #223: aarch64-shuffle-sections-seed ............................ Passed 1.07 sec 234: + [[ aarch64 != riscv* ]] 234: + [[ aarch64 != loongarch* ]] -234: + not grep -F .L.baz out/test/aarch64/strip/log 234: + grep -F .L.baz out/test/aarch64/strip/log -236: + cat -234: + return 0 -234: + on_exit -234: + echo OK -234: OK -234: + exit 0 -225/347 Test #234: aarch64-strip ............................................ Passed 0.13 sec test 237 Start 237: aarch64-symbol-version-lto @@ -19212,12 +19228,27 @@ 237: MACHINE=aarch64 237: CPU= 237: Test timeout computed to be: 1500 -200: + ./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 -231: + cc -B. -o out/test/aarch64/static-pie/exe1 out/test/aarch64/static-pie/a.o -static-pie -223: + out/test/aarch64/shuffle-sections-seed/exe4 +232: + on_exit +232: + echo OK +232: OK +232: + exit 0 +226: ++ wc -l +226: ++ readelf -Wl out/test/aarch64/spare-program-headers/exe4 +226/347 Test #232: aarch64-stdout ........................................... Passed 0.21 sec +test 238 + Start 238: aarch64-symbol-version + +238: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/symbol-version.sh" +238: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +238: Environment variables: +238: MACHINE=aarch64 +238: CPU= +238: Test timeout computed to be: 1500 +234: 14: 0000000000210210 0 NOTYPE LOCAL DEFAULT 3 .L.baz +234: + ./mold -o out/test/aarch64/strip/exe out/test/aarch64/strip/a.o -strip-all +226: ++ grep NULL +236: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/symbol-rank.sh 237: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/symbol-version-lto.sh -223: + grep 'Hello world' -223: Hello world 237: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 237: ++ export LC_ALL=C 237: ++ LC_ALL=C @@ -19233,57 +19264,45 @@ 237: ++ STRIP=strip 237: ++ QEMU= 237: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/symbol-version-lto.sh .sh -223: + not diff out/test/aarch64/shuffle-sections-seed/exe1 out/test/aarch64/shuffle-sections-seed/exe2 +238: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/symbol-version.sh 237: ++ testname=symbol-version-lto 237: ++ t=out/test/aarch64/symbol-version-lto 237: ++ mkdir -p out/test/aarch64/symbol-version-lto -236: + cc -o out/test/aarch64/symbol-rank/b.o -c -xc - -fcommon -236: + cat -223: + diff out/test/aarch64/shuffle-sections-seed/exe2 out/test/aarch64/shuffle-sections-seed/exe3 -237: ++ case $MACHINE in -237: ++ tlsdesc_opt=-mtls-dialect=desc -233: + readelf -W --sections out/test/aarch64/strip-debug/exe -233: + not grep -F .debug_info -233: + grep -F .debug_info -237: +++ uname -223: + not diff out/test/aarch64/shuffle-sections-seed/exe3 out/test/aarch64/shuffle-sections-seed/exe4 -230: + grep -F 'static-archive/d.a(long-long-long-filename.o)' out/test/aarch64/static-archive/log -233: + return 0 -233: + readelf -W --symbols out/test/aarch64/strip-debug/exe -233: + grep ' bar' -233: 82: 00000000000107b0 8 FUNC LOCAL DEFAULT 18 bar -237: ++ '[' Linux = FreeBSD ']' -237: ++ trap 'on_error $LINENO' ERR -237: ++ trap on_exit EXIT -237: ++ echo -n 'Testing symbol-version-lto ... ' -237: Testing symbol-version-lto ... ++ set -o pipefail -237: ++ set -x -237: + test_cflags -flto -235: + cat -237: + echo 'int main() {}' -235: + cc -fcommon -xc -c -o out/test/aarch64/stt-common/b.o - -Wa,--elf-stt-common=yes -237: + cc -B. -flto -o /dev/null -xc - -223: + on_exit -223: + echo OK -223: OK -223: + exit 0 -226/347 Test #223: aarch64-shuffle-sections-seed ............................ Passed 0.55 sec -test 238 - Start 238: aarch64-symbol-version - -238: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/symbol-version.sh" -238: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -238: Environment variables: -238: MACHINE=aarch64 -238: CPU= -238: Test timeout computed to be: 1500 -233: + on_exit -233: + echo OK -233: OK -233: + exit 0 -230: trace: out/test/aarch64/static-archive/d.a(long-long-long-filename.o) -230: + grep -F 'static-archive/d.a(b.o)' out/test/aarch64/static-archive/log -227/347 Test #233: aarch64-strip-debug ...................................... Passed 0.16 sec +236: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +236: ++ export LC_ALL=C +236: ++ LC_ALL=C +236: ++ '[' -z aarch64 ']' +236: ++ '[' -z '' ']' +236: ++ TESTDIR=out/test/aarch64 +236: ++ CC=cc +236: ++ CXX=c++ +236: ++ GCC=gcc +236: ++ GXX=g++ +236: ++ OBJDUMP=objdump +236: ++ OBJCOPY=objcopy +236: ++ STRIP=strip +236: ++ QEMU= +226: + '[' 5 -eq 5 ']' +226: + on_exit +226: + echo OK +226: OK +226: + exit 0 +238: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +238: ++ export LC_ALL=C +238: ++ LC_ALL=C +238: ++ '[' -z aarch64 ']' +238: ++ '[' -z '' ']' +238: ++ TESTDIR=out/test/aarch64 +238: ++ CC=cc +238: ++ CXX=c++ +238: ++ GCC=gcc +238: ++ GXX=g++ +238: ++ OBJDUMP=objdump +238: ++ OBJCOPY=objcopy +238: ++ STRIP=strip +238: ++ QEMU= +238: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/symbol-version.sh .sh +227/347 Test #226: aarch64-spare-program-headers ............................ Passed 0.76 sec test 239 Start 239: aarch64-symbol-version2 @@ -19293,14 +19312,9 @@ 239: MACHINE=aarch64 239: CPU= 239: Test timeout computed to be: 1500 -230: trace: out/test/aarch64/static-archive/d.a(b.o) -230: + grep -F static-archive/c.o out/test/aarch64/static-archive/log -230: trace: out/test/aarch64/static-archive/c.o -230: + out/test/aarch64/static-archive/exe -226: + grep 'Hello world' -226: + out/test/aarch64/spare-program-headers/exe4 -226: Hello world -236: + cat +238: ++ testname=symbol-version +238: ++ t=out/test/aarch64/symbol-version +238: ++ mkdir -p out/test/aarch64/symbol-version 239: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/symbol-version2.sh 239: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 239: ++ export LC_ALL=C @@ -19316,41 +19330,51 @@ 239: ++ OBJCOPY=objcopy 239: ++ STRIP=strip 239: ++ QEMU= -236: + cc -o out/test/aarch64/symbol-rank/c.o -c -xc - 239: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/symbol-version2.sh .sh +234: + readelf --symbols out/test/aarch64/strip/exe 239: ++ testname=symbol-version2 239: ++ t=out/test/aarch64/symbol-version2 239: ++ mkdir -p out/test/aarch64/symbol-version2 +234: + not grep -F _start out/test/aarch64/strip/log +234: + grep -F _start out/test/aarch64/strip/log 239: ++ case $MACHINE in 239: ++ tlsdesc_opt=-mtls-dialect=desc -238: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/symbol-version.sh -238: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -238: ++ export LC_ALL=C -238: ++ LC_ALL=C -238: ++ '[' -z aarch64 ']' -238: ++ '[' -z '' ']' -238: ++ TESTDIR=out/test/aarch64 -238: ++ CC=cc -238: ++ CXX=c++ -238: ++ GCC=gcc -238: ++ GXX=g++ -238: ++ OBJDUMP=objdump -238: ++ OBJCOPY=objcopy -238: ++ STRIP=strip -238: ++ QEMU= -238: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/symbol-version.sh .sh -230: + grep 8 -230: 8 -230: + on_exit -230: + echo OK -230: OK -230: + exit 0 -238: ++ testname=symbol-version -238: ++ t=out/test/aarch64/symbol-version -238: ++ mkdir -p out/test/aarch64/symbol-version -226: ++ readelf -Wl out/test/aarch64/spare-program-headers/exe4 -228/347 Test #230: aarch64-static-archive ................................... Passed 0.24 sec +236: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/symbol-rank.sh .sh +236: ++ testname=symbol-rank +236: ++ t=out/test/aarch64/symbol-rank +236: ++ mkdir -p out/test/aarch64/symbol-rank +234: + return 0 +234: + not grep -F foo out/test/aarch64/strip/log +234: + grep -F foo out/test/aarch64/strip/log +234: + return 0 +234: + not grep -F bar out/test/aarch64/strip/log +234: + grep -F bar out/test/aarch64/strip/log +234: + return 0 +234: + [[ aarch64 != riscv* ]] +234: + [[ aarch64 != loongarch* ]] +234: + not grep -F .L.baz out/test/aarch64/strip/log +234: + grep -F .L.baz out/test/aarch64/strip/log 239: +++ uname +239: ++ '[' Linux = FreeBSD ']' +239: ++ trap 'on_error $LINENO' ERR +239: ++ trap on_exit EXIT +239: ++ echo -n 'Testing symbol-version2 ... ' +239: Testing symbol-version2 ... ++ set -o pipefail +239: ++ set -x +236: ++ case $MACHINE in +236: ++ tlsdesc_opt=-mtls-dialect=desc +238: ++ case $MACHINE in +238: ++ tlsdesc_opt=-mtls-dialect=desc +236: +++ uname +239: + cat +234: + return 0 +234: + on_exit +234: + echo OK +234: OK +234: + exit 0 +239: + cc -o out/test/aarch64/symbol-version2/a.o -c -xc - +228/347 Test #234: aarch64-strip ............................................ Passed 0.23 sec +236: ++ '[' Linux = FreeBSD ']' test 240 Start 240: aarch64-symbol-version3 @@ -19360,22 +19384,43 @@ 240: MACHINE=aarch64 240: CPU= 240: Test timeout computed to be: 1500 -239: ++ '[' Linux = FreeBSD ']' -239: ++ trap 'on_error $LINENO' ERR -239: ++ trap on_exit EXIT -239: ++ echo -n 'Testing symbol-version2 ... ' -239: Testing symbol-version2 ... ++ set -o pipefail -239: ++ set -x -226: ++ grep NULL -226: ++ wc -l +236: ++ trap 'on_error $LINENO' ERR +236: ++ trap on_exit EXIT +236: ++ echo -n 'Testing symbol-rank ... ' +236: Testing symbol-rank ... ++ set -o pipefail +236: ++ set -x +236: + cc -o out/test/aarch64/symbol-rank/a.o -c -xc - +236: + cat +238: +++ uname +238: ++ '[' Linux = FreeBSD ']' +238: ++ trap 'on_error $LINENO' ERR +238: ++ trap on_exit EXIT +238: ++ echo -n 'Testing symbol-version ... ' +238: Testing symbol-version ... ++ set -o pipefail +238: ++ set -x +237: ++ case $MACHINE in +237: ++ tlsdesc_opt=-mtls-dialect=desc +237: +++ uname +237: ++ '[' Linux = FreeBSD ']' +237: ++ trap 'on_error $LINENO' ERR +237: ++ trap on_exit EXIT +237: ++ echo -n 'Testing symbol-version-lto ... ' +237: Testing symbol-version-lto ... ++ set -o pipefail +237: ++ set -x +237: + test_cflags -flto +237: + echo 'int main() {}' +237: + cc -B. -flto -o /dev/null -xc - +238: + cc -fPIC -c -o out/test/aarch64/symbol-version/a.o -xc - +233: + not grep -F .debug_info +233: + grep -F .debug_info +233: + readelf -W --sections out/test/aarch64/strip-debug/exe +238: + cat 240: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/symbol-version3.sh +233: + return 0 240: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 240: ++ export LC_ALL=C 240: ++ LC_ALL=C 240: ++ '[' -z aarch64 ']' -239: + cat -238: ++ case $MACHINE in -238: ++ tlsdesc_opt=-mtls-dialect=desc 240: ++ '[' -z '' ']' 240: ++ TESTDIR=out/test/aarch64 240: ++ CC=cc @@ -19386,36 +19431,24 @@ 240: ++ OBJCOPY=objcopy 240: ++ STRIP=strip 240: ++ QEMU= -238: +++ uname -238: ++ '[' Linux = FreeBSD ']' -238: ++ trap 'on_error $LINENO' ERR -238: ++ trap on_exit EXIT -238: ++ echo -n 'Testing symbol-version ... ' -238: Testing symbol-version ... ++ set -o pipefail -238: ++ set -x +236: + cc -o out/test/aarch64/symbol-rank/b.o -c -xc - -fcommon 240: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/symbol-version3.sh .sh -238: + cat 240: ++ testname=symbol-version3 240: ++ t=out/test/aarch64/symbol-version3 240: ++ mkdir -p out/test/aarch64/symbol-version3 -239: + cc -o out/test/aarch64/symbol-version2/a.o -c -xc - +236: + cat +233: + grep ' bar' +233: + readelf -W --symbols out/test/aarch64/strip-debug/exe +239: + cat +233: 82: 00000000000107b0 8 FUNC LOCAL DEFAULT 18 bar +233: + on_exit +233: + echo OK +233: OK +233: + exit 0 +239: + 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 240: ++ case $MACHINE in 240: ++ tlsdesc_opt=-mtls-dialect=desc -238: + cc -fPIC -c -o out/test/aarch64/symbol-version/a.o -xc - -240: +++ uname -235: + 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 -226: + '[' 5 -eq 5 ']' -226: + on_exit -226: + echo OK -226: OK -226: + exit 0 -240: ++ '[' Linux = FreeBSD ']' -229/347 Test #226: aarch64-spare-program-headers ............................ Passed 0.41 sec -240: ++ trap 'on_error $LINENO' ERR -240: ++ trap on_exit EXIT -240: ++ echo -n 'Testing symbol-version3 ... ' -240: Testing symbol-version3 ... ++ set -o pipefail -240: ++ set -x +229/347 Test #233: aarch64-strip-debug ...................................... Passed 0.33 sec test 241 Start 241: aarch64-symbol-version4 @@ -19425,7 +19458,15 @@ 241: MACHINE=aarch64 241: CPU= 241: Test timeout computed to be: 1500 -240: + cat +240: +++ uname +240: ++ '[' Linux = FreeBSD ']' +240: ++ trap 'on_error $LINENO' ERR +240: ++ trap on_exit EXIT +240: ++ echo -n 'Testing symbol-version3 ... ' +240: Testing symbol-version3 ... ++ set -o pipefail +240: ++ set -x +238: + echo 'VER1 { local: *; }; VER2 { local: *; }; VER3 { local: *; };' +238: + 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 241: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/symbol-version4.sh 241: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 241: ++ export LC_ALL=C @@ -19441,16 +19482,17 @@ 241: ++ OBJCOPY=objcopy 241: ++ STRIP=strip 241: ++ QEMU= -240: + cc -o out/test/aarch64/symbol-version3/a.o -c -xc - +240: + cat 241: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/symbol-version4.sh .sh +240: + cc -o out/test/aarch64/symbol-version3/a.o -c -xc - 241: ++ testname=symbol-version4 241: ++ t=out/test/aarch64/symbol-version4 241: ++ mkdir -p out/test/aarch64/symbol-version4 -231: + grep 'Hello world' 241: ++ case $MACHINE in 241: ++ tlsdesc_opt=-mtls-dialect=desc +236: + cc -o out/test/aarch64/symbol-rank/c.o -c -xc - 236: + cat -236: + cc -o out/test/aarch64/symbol-rank/d.o -c -xc - -fcommon +235: + out/test/aarch64/stt-common/exe 241: +++ uname 241: ++ '[' Linux = FreeBSD ']' 241: ++ trap 'on_error $LINENO' ERR @@ -19458,41 +19500,21 @@ 241: ++ echo -n 'Testing symbol-version4 ... ' 241: Testing symbol-version4 ... ++ set -o pipefail 241: ++ set -x -231: + out/test/aarch64/static-pie/exe1 -241: + cat +235: + grep '0 5 42' 241: + cc -o out/test/aarch64/symbol-version4/a.o -c -xc - -fPIC -239: + cat -220: 3 printf("Hello world\n"); -220: + cc -c -o out/test/aarch64/separate-debug-file/a.o out/test/aarch64/separate-debug-file/a.c -g -239: + 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 -240: + cat -238: + echo 'VER1 { local: *; }; VER2 { local: *; }; VER3 { local: *; };' -238: + 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 -231: Hello world -231: + cc -B. -o out/test/aarch64/static-pie/exe2 out/test/aarch64/static-pie/a.o -static-pie -Wl,--no-relax -240: + 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 -192: + sed 's/.*/void func&();/' -192: + seq 1 10000 -192: + echo 'int main() {' -192: + sed 's/.*/func&();/' 241: + cat -192: + seq 1 10000 -235: + out/test/aarch64/stt-common/exe -236: + rm -f out/test/aarch64/symbol-rank/x.a -235: + grep '0 5 42' 235: 0 5 42 -241: + 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 235: + readelf --sections out/test/aarch64/stt-common/exe -192: + echo '}' -192: + cc -c -o out/test/aarch64/range-extension-thunk3/d.o out/test/aarch64/range-extension-thunk3/c.c -236: + 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 +220: 3 printf("Hello world\n"); +220: + cc -c -o out/test/aarch64/separate-debug-file/a.o out/test/aarch64/separate-debug-file/a.c -g 235: + grep '.common .*NOBITS' out/test/aarch64/stt-common/log +240: + cat 235: [29] .common NOBITS 0000000000030ae4 00000ae0 235: + on_exit 235: + echo OK 235: OK 235: + exit 0 -230/347 Test #235: aarch64-stt-common ....................................... Passed 0.21 sec +230/347 Test #235: aarch64-stt-common ....................................... Passed 0.40 sec test 242 Start 242: aarch64-symtab-dso @@ -19502,8 +19524,7 @@ 242: MACHINE=aarch64 242: CPU= 242: Test timeout computed to be: 1500 -236: + cc -B. -o out/test/aarch64/symbol-rank/exe out/test/aarch64/symbol-rank/d.o out/test/aarch64/symbol-rank/x.a -220: + cc -B. -o out/test/aarch64/separate-debug-file/exe2 out/test/aarch64/separate-debug-file/a.o -Wl,--separate-debug-file,--no-build-id +240: + 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 242: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/symtab-dso.sh 242: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 242: ++ export LC_ALL=C @@ -19519,48 +19540,22 @@ 242: ++ OBJCOPY=objcopy 242: ++ STRIP=strip 242: ++ QEMU= -239: + readelf -W --dyn-syms out/test/aarch64/symbol-version2/c.so -240: + readelf -W --dyn-syms out/test/aarch64/symbol-version3/c.so -239: + grep ' foo@TEST' out/test/aarch64/symbol-version2/log -239: 7: 0000000000010768 8 FUNC GLOBAL DEFAULT 14 foo@TEST -238: + readelf --symbols out/test/aarch64/symbol-version/c.so -239: + grep ' bar@TEST' out/test/aarch64/symbol-version2/log +231: + out/test/aarch64/static-pie/exe2 242: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/symtab-dso.sh .sh -238: + grep -F foo@VER1 out/test/aarch64/symbol-version/log -239: 5: 0000000000010770 8 FUNC GLOBAL DEFAULT 14 bar@TEST 242: ++ testname=symtab-dso 242: ++ t=out/test/aarch64/symtab-dso 242: ++ mkdir -p out/test/aarch64/symtab-dso -239: + grep ' bar1' out/test/aarch64/symbol-version2/log +231: + grep 'Hello world' +231: Hello world +239: + readelf -W --dyn-syms out/test/aarch64/symbol-version2/c.so +239: + grep ' foo@TEST' out/test/aarch64/symbol-version2/log 242: ++ case $MACHINE in 242: ++ tlsdesc_opt=-mtls-dialect=desc -239: 6: 0000000000010770 8 FUNC GLOBAL DEFAULT 14 bar1 -239: + not grep ' foo@@TEST' out/test/aarch64/symbol-version2/log -239: + grep ' foo@@TEST' out/test/aarch64/symbol-version2/log -238: 6: 0000000000010828 8 FUNC GLOBAL DEFAULT 16 foo@VER1 -238: + grep -F foo@VER2 out/test/aarch64/symbol-version/log -240: + grep ' foo@@TEST1' out/test/aarch64/symbol-version3/log -240: 5: 0000000000010808 8 FUNC GLOBAL DEFAULT 14 foo@@TEST1 -240: + grep ' foo@TEST2' out/test/aarch64/symbol-version3/log -242: +++ uname -242: ++ '[' Linux = FreeBSD ']' -242: ++ trap 'on_error $LINENO' ERR -242: ++ trap on_exit EXIT -242: ++ echo -n 'Testing symtab-dso ... ' -242: Testing symtab-dso ... ++ set -o pipefail -242: ++ set -x -242: + cat -240: 6: 0000000000010810 8 FUNC GLOBAL DEFAULT 14 foo@TEST2 -240: + grep ' foo@TEST3' out/test/aarch64/symbol-version3/log -242: + cc -o out/test/aarch64/symtab-dso/a.o -c -xc - -238: 7: 0000000000010830 8 FUNC GLOBAL DEFAULT 16 foo@VER2 -238: + grep -F foo@@VER3 out/test/aarch64/symbol-version/log -239: + return 0 -239: + on_exit -239: + echo OK -239: OK -239: + exit 0 -231/347 Test #239: aarch64-symbol-version2 .................................. Passed 0.13 sec +231: + on_exit +231: + echo OK +231: OK +231: + exit 0 +231/347 Test #231: aarch64-static-pie ....................................... Passed 0.70 sec test 243 Start 243: aarch64-symtab-section-symbols @@ -19570,12 +19565,40 @@ 243: MACHINE=aarch64 243: CPU= 243: Test timeout computed to be: 1500 -238: 5: 0000000000010838 8 FUNC GLOBAL DEFAULT 16 foo@@VER3 -238: + on_exit -238: + echo OK -238: OK -238: + exit 0 -232/347 Test #238: aarch64-symbol-version ................................... Passed 0.13 sec +239: 7: 0000000000010768 8 FUNC GLOBAL DEFAULT 14 foo@TEST +239: + grep ' bar@TEST' out/test/aarch64/symbol-version2/log +236: + cat +236: + cc -o out/test/aarch64/symbol-rank/d.o -c -xc - -fcommon +243: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/symtab-section-symbols.sh +239: 5: 0000000000010770 8 FUNC GLOBAL DEFAULT 14 bar@TEST +239: + grep ' bar1' out/test/aarch64/symbol-version2/log +241: + cat +160: + readelf -WS out/test/aarch64/many-sections2/b.o +239: 6: 0000000000010770 8 FUNC GLOBAL DEFAULT 14 bar1 +239: + not grep ' foo@@TEST' out/test/aarch64/symbol-version2/log +239: + grep ' foo@@TEST' out/test/aarch64/symbol-version2/log +243: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +243: ++ export LC_ALL=C +243: ++ LC_ALL=C +243: ++ '[' -z aarch64 ']' +243: ++ '[' -z '' ']' +243: ++ TESTDIR=out/test/aarch64 +243: ++ CC=cc +243: ++ CXX=c++ +243: ++ GCC=gcc +243: ++ GXX=g++ +243: ++ OBJDUMP=objdump +243: ++ OBJCOPY=objcopy +243: ++ STRIP=strip +243: ++ QEMU= +242: +++ uname +238: + readelf --symbols out/test/aarch64/symbol-version/c.so +239: + return 0 +239: + on_exit +239: + echo OK +239: OK +239: + exit 0 +232/347 Test #239: aarch64-symbol-version2 .................................. Passed 0.26 sec test 244 Start 244: aarch64-symtab @@ -19585,25 +19608,37 @@ 244: MACHINE=aarch64 244: CPU= 244: Test timeout computed to be: 1500 -240: 7: 0000000000010818 8 FUNC GLOBAL DEFAULT 14 foo@TEST3 -240: + not grep ' foo$' out/test/aarch64/symbol-version3/log -240: + grep ' foo$' out/test/aarch64/symbol-version3/log -240: + return 0 -240: + on_exit -240: + echo OK -240: OK -240: + exit 0 -233/347 Test #240: aarch64-symbol-version3 .................................. Passed 0.12 sec -test 245 - Start 245: aarch64-synthetic-symbols - -245: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/synthetic-symbols.sh" -245: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -245: Environment variables: -245: MACHINE=aarch64 -245: CPU= -245: Test timeout computed to be: 1500 +241: + 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 +243: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/symtab-section-symbols.sh .sh +243: ++ testname=symtab-section-symbols +243: ++ t=out/test/aarch64/symtab-section-symbols +243: ++ mkdir -p out/test/aarch64/symtab-section-symbols +243: ++ case $MACHINE in +243: ++ tlsdesc_opt=-mtls-dialect=desc +243: +++ uname +243: ++ '[' Linux = FreeBSD ']' +243: ++ trap 'on_error $LINENO' ERR +243: ++ trap on_exit EXIT +243: ++ echo -n 'Testing symtab-section-symbols ... ' +243: Testing symtab-section-symbols ... ++ set -o pipefail +243: ++ set -x +243: + cc -o out/test/aarch64/symtab-section-symbols/a.o -c -xc - +242: ++ '[' Linux = FreeBSD ']' +242: ++ trap 'on_error $LINENO' ERR +242: ++ trap on_exit EXIT +242: ++ echo -n 'Testing symtab-dso ... ' +242: Testing symtab-dso ... ++ set -o pipefail +242: ++ set -x +242: + cat +240: + readelf -W --dyn-syms out/test/aarch64/symbol-version3/c.so +238: + grep -F foo@VER1 out/test/aarch64/symbol-version/log +238: 6: 0000000000010828 8 FUNC GLOBAL DEFAULT 16 foo@VER1 +238: + grep -F foo@VER2 out/test/aarch64/symbol-version/log +238: 7: 0000000000010830 8 FUNC GLOBAL DEFAULT 16 foo@VER2 +238: + grep -F foo@@VER3 out/test/aarch64/symbol-version/log +242: + cc -o out/test/aarch64/symtab-dso/a.o -c -xc - 244: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/symtab.sh +243: + cat 244: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 244: ++ export LC_ALL=C 244: ++ LC_ALL=C @@ -19618,89 +19653,55 @@ 244: ++ OBJCOPY=objcopy 244: ++ STRIP=strip 244: ++ QEMU= -243: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/symtab-section-symbols.sh -243: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -243: ++ export LC_ALL=C -243: ++ LC_ALL=C -243: ++ '[' -z aarch64 ']' -243: ++ '[' -z '' ']' -243: ++ TESTDIR=out/test/aarch64 -243: ++ CC=cc -243: ++ CXX=c++ -243: ++ GCC=gcc -243: ++ GXX=g++ -243: ++ OBJDUMP=objdump -243: ++ OBJCOPY=objcopy -243: ++ STRIP=strip -243: ++ QEMU= -241: + cat -241: + cc -o out/test/aarch64/symbol-version4/d.o -c -xc - -fPIC -243: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/symtab-section-symbols.sh .sh -243: ++ testname=symtab-section-symbols -243: ++ t=out/test/aarch64/symtab-section-symbols -243: ++ mkdir -p out/test/aarch64/symtab-section-symbols +240: + grep ' foo@@TEST1' out/test/aarch64/symbol-version3/log 244: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/symtab.sh .sh +238: 5: 0000000000010838 8 FUNC GLOBAL DEFAULT 16 foo@@VER3 +236: + rm -f out/test/aarch64/symbol-rank/x.a +240: 5: 0000000000010808 8 FUNC GLOBAL DEFAULT 14 foo@@TEST1 244: ++ testname=symtab 244: ++ t=out/test/aarch64/symtab 244: ++ mkdir -p out/test/aarch64/symtab +238: + on_exit +238: + echo OK +238: OK +238: + exit 0 +233/347 Test #238: aarch64-symbol-version ................................... Passed 0.30 sec +test 245 + Start 245: aarch64-synthetic-symbols + +245: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/synthetic-symbols.sh" +245: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +245: Environment variables: +245: MACHINE=aarch64 +245: CPU= +245: Test timeout computed to be: 1500 +220: + cc -B. -o out/test/aarch64/separate-debug-file/exe2 out/test/aarch64/separate-debug-file/a.o -Wl,--separate-debug-file,--no-build-id +236: + 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 244: ++ case $MACHINE in 244: ++ tlsdesc_opt=-mtls-dialect=desc +240: + grep ' foo@TEST2' out/test/aarch64/symbol-version3/log 244: +++ uname -245: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/synthetic-symbols.sh -245: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -245: ++ export LC_ALL=C -245: ++ LC_ALL=C -245: ++ '[' -z aarch64 ']' -245: ++ '[' -z '' ']' -245: ++ TESTDIR=out/test/aarch64 -245: ++ CC=cc -245: ++ CXX=c++ -245: ++ GCC=gcc -245: ++ GXX=g++ -245: ++ OBJDUMP=objdump -245: ++ OBJCOPY=objcopy -245: ++ STRIP=strip -245: ++ QEMU= 244: ++ '[' Linux = FreeBSD ']' 244: ++ trap 'on_error $LINENO' ERR 244: ++ trap on_exit EXIT 244: ++ echo -n 'Testing symtab ... ' 244: Testing symtab ... ++ set -o pipefail 244: ++ set -x -245: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/synthetic-symbols.sh .sh -245: ++ testname=synthetic-symbols -245: ++ t=out/test/aarch64/synthetic-symbols -245: ++ mkdir -p out/test/aarch64/synthetic-symbols -243: ++ case $MACHINE in -243: ++ tlsdesc_opt=-mtls-dialect=desc +245: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/synthetic-symbols.sh 244: + cc -o out/test/aarch64/symtab/a.o -c -x assembler - -243: +++ uname -244: + cat -243: ++ '[' Linux = FreeBSD ']' -243: ++ trap 'on_error $LINENO' ERR -243: ++ trap on_exit EXIT -243: ++ echo -n 'Testing symtab-section-symbols ... ' -243: Testing symtab-section-symbols ... ++ set -o pipefail -243: ++ set -x -236: + grep '^0 0 0 5$' -243: + cc -o out/test/aarch64/symtab-section-symbols/a.o -c -xc - -242: + cc -B. -o out/test/aarch64/symtab-dso/exe out/test/aarch64/symtab-dso/a.o -231: + out/test/aarch64/static-pie/exe2 -243: + cat +236: + cc -B. -o out/test/aarch64/symbol-rank/exe out/test/aarch64/symbol-rank/d.o out/test/aarch64/symbol-rank/x.a 244: + cat -244: + cc -o out/test/aarch64/symtab/b.o -c -x assembler - -245: ++ case $MACHINE in -245: ++ tlsdesc_opt=-mtls-dialect=desc -231: + grep 'Hello world' -231: Hello world -245: +++ uname -236: + out/test/aarch64/symbol-rank/exe -236: 0 0 0 5 -236: + on_exit -236: + echo OK -236: OK -236: + exit 0 -234/347 Test #236: aarch64-symbol-rank ...................................... Passed 0.24 sec +240: 6: 0000000000010810 8 FUNC GLOBAL DEFAULT 14 foo@TEST2 +240: + grep ' foo@TEST3' out/test/aarch64/symbol-version3/log +240: 7: 0000000000010818 8 FUNC GLOBAL DEFAULT 14 foo@TEST3 +240: + not grep ' foo$' out/test/aarch64/symbol-version3/log +240: + grep ' foo$' out/test/aarch64/symbol-version3/log +240: + return 0 +240: + on_exit +240: + echo OK +240: OK +240: + exit 0 +234/347 Test #240: aarch64-symbol-version3 .................................. Passed 0.27 sec test 246 Start 246: aarch64-sysroot-linker-script @@ -19710,51 +19711,22 @@ 246: MACHINE=aarch64 246: CPU= 246: Test timeout computed to be: 1500 -244: + echo '{ local: module_local; global: *; };' -244: + ./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 -241: + cat -245: ++ '[' Linux = FreeBSD ']' -245: ++ trap 'on_error $LINENO' ERR -245: ++ trap on_exit EXIT -245: ++ echo -n 'Testing synthetic-symbols ... ' -245: Testing synthetic-symbols ... ++ set -o pipefail -245: ++ set -x -231: + on_exit -231: + echo OK -231: OK -231: + exit 0 -235/347 Test #231: aarch64-static-pie ....................................... Passed 0.40 sec -245: + cat -test 247 - Start 247: aarch64-sysroot - -247: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/sysroot.sh" -247: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -247: Environment variables: -247: MACHINE=aarch64 -247: CPU= -247: Test timeout computed to be: 1500 -247: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/sysroot.sh -247: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +245: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +245: ++ export LC_ALL=C +245: ++ LC_ALL=C +245: ++ '[' -z aarch64 ']' +245: ++ '[' -z '' ']' +245: ++ TESTDIR=out/test/aarch64 +245: ++ CC=cc +245: ++ CXX=c++ +245: ++ GCC=gcc +245: ++ GXX=g++ +245: ++ OBJDUMP=objdump +245: ++ OBJCOPY=objcopy +245: ++ STRIP=strip +245: ++ QEMU= +245: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/synthetic-symbols.sh .sh 246: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/sysroot-linker-script.sh -247: ++ export LC_ALL=C -247: ++ LC_ALL=C -247: ++ '[' -z aarch64 ']' -247: ++ '[' -z '' ']' -247: ++ TESTDIR=out/test/aarch64 -247: ++ CC=cc -247: ++ CXX=c++ -247: ++ GCC=gcc -247: ++ GXX=g++ -247: ++ OBJDUMP=objdump -247: ++ OBJCOPY=objcopy -247: ++ STRIP=strip -247: ++ QEMU= -247: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/sysroot.sh .sh -241: + 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 -247: ++ testname=sysroot -247: ++ t=out/test/aarch64/sysroot -247: ++ mkdir -p out/test/aarch64/sysroot 246: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 246: ++ export LC_ALL=C 246: ++ LC_ALL=C @@ -19769,15 +19741,26 @@ 246: ++ OBJCOPY=objcopy 246: ++ STRIP=strip 246: ++ QEMU= -245: + cc -c -o out/test/aarch64/synthetic-symbols/a.o -xc - -243: + cc -B. -o out/test/aarch64/symtab-section-symbols/exe out/test/aarch64/symtab-section-symbols/a.o -220: + grep -F .gnu_debuglink +245: ++ testname=synthetic-symbols +245: ++ t=out/test/aarch64/synthetic-symbols +245: ++ mkdir -p out/test/aarch64/synthetic-symbols +245: ++ case $MACHINE in +245: ++ tlsdesc_opt=-mtls-dialect=desc +245: +++ uname +245: ++ '[' Linux = FreeBSD ']' +244: + cat +245: ++ trap 'on_error $LINENO' ERR +245: ++ trap on_exit EXIT +245: ++ echo -n 'Testing synthetic-symbols ... ' +245: Testing synthetic-symbols ... ++ set -o pipefail +245: ++ set -x 246: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/sysroot-linker-script.sh .sh -220: + readelf -SW out/test/aarch64/separate-debug-file/exe2 +245: + cc -c -o out/test/aarch64/synthetic-symbols/a.o -xc - +245: + cat 246: ++ testname=sysroot-linker-script 246: ++ t=out/test/aarch64/sysroot-linker-script 246: ++ mkdir -p out/test/aarch64/sysroot-linker-script -220: [29] .gnu_debuglink PROGBITS 0000000000000000 000ac0 000010 00 0 0 4 +241: + cat 246: ++ case $MACHINE in 246: ++ tlsdesc_opt=-mtls-dialect=desc 246: +++ uname @@ -19788,40 +19771,71 @@ 246: Testing sysroot-linker-script ... ++ set -o pipefail 246: ++ set -x 246: + [[ aarch64 = loongarch* ]] -220: + flock out/test/aarch64/separate-debug-file/exe2 true +241: + cc -o out/test/aarch64/symbol-version4/d.o -c -xc - -fPIC +243: + cc -B. -o out/test/aarch64/symtab-section-symbols/exe out/test/aarch64/symtab-section-symbols/a.o 246: + cat +246: + cc -o out/test/aarch64/sysroot-linker-script/a.o -c -xc - +244: + cc -o out/test/aarch64/symtab/b.o -c -x assembler - +242: + cc -B. -o out/test/aarch64/symtab-dso/exe out/test/aarch64/symtab-dso/a.o +244: + echo '{ local: module_local; global: *; };' +244: + ./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 +246: + mkdir -p out/test/aarch64/sysroot-linker-script/foo/bar +241: + cat +246: + rm -f out/test/aarch64/sysroot-linker-script/foo/bar/libfoo.a 244: mold: warning: entry symbol is not defined: _start +246: + ar rcs out/test/aarch64/sysroot-linker-script/foo/bar/libfoo.a out/test/aarch64/sysroot-linker-script/a.o 244: + readelf --symbols out/test/aarch64/symtab/exe -247: ++ case $MACHINE in -247: ++ tlsdesc_opt=-mtls-dialect=desc -247: +++ uname -247: ++ '[' Linux = FreeBSD ']' -247: ++ trap 'on_error $LINENO' ERR -247: ++ trap on_exit EXIT -247: ++ echo -n 'Testing sysroot ... ' -247: Testing sysroot ... ++ set -o pipefail -247: ++ set -x -247: + [[ aarch64 = loongarch* ]] +241: + 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 244: + grep -E '0 NOTYPE LOCAL DEFAULT .* local1' out/test/aarch64/symtab/log +246: + cat +245: + cc -c -o out/test/aarch64/synthetic-symbols/b.o -xc - +245: + cat 244: 17: 00000000002102d8 0 NOTYPE LOCAL DEFAULT 7 local1 -242: + grep 'U puts$' -246: + cc -o out/test/aarch64/sysroot-linker-script/a.o -c -xc - 244: + grep -E '0 NOTYPE LOCAL DEFAULT .* local2' out/test/aarch64/symtab/log +246: + cc -o out/test/aarch64/sysroot-linker-script/c.o -c -xc - +246: + cat 244: 19: 00000000002102d9 0 NOTYPE LOCAL DEFAULT 7 local2 +220: + readelf -SW out/test/aarch64/separate-debug-file/exe2 +220: + grep -F .gnu_debuglink 244: + grep -E '0 NOTYPE LOCAL DEFAULT .* module_local' out/test/aarch64/symtab/log +220: [29] .gnu_debuglink PROGBITS 0000000000000000 000ac0 000010 00 0 0 4 +236: + out/test/aarch64/symbol-rank/exe +220: + flock out/test/aarch64/separate-debug-file/exe2 true +236: + grep '^0 0 0 5$' +236: 0 0 0 5 +236: + on_exit +236: + echo OK +236: OK +236: + exit 0 +244: 20: 00000000002102d9 0 NOTYPE LOCAL DEFAULT 7 module_local +244: + grep -E '0 NOTYPE GLOBAL DEFAULT .* foo' out/test/aarch64/symtab/log +244: 2: 00000000002102d8 0 NOTYPE GLOBAL DEFAULT 7 foo +244: 48: 00000000002102d8 0 NOTYPE GLOBAL DEFAULT 7 foo +244: + grep -E '0 NOTYPE GLOBAL DEFAULT .* bar' out/test/aarch64/symtab/log +220: + grep -F printf +220: + gdb out/test/aarch64/separate-debug-file/exe2 -ex 'list main' -ex quit +235/347 Test #236: aarch64-symbol-rank ...................................... Passed 0.46 sec 242: + nm out/test/aarch64/symtab-dso/exe -237: + cc -fPIC -c -o out/test/aarch64/symbol-version-lto/a.o -xc - -flto -237: + cat -247: + cat +246: + 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 +test 247 + Start 247: aarch64-sysroot + +247: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/sysroot.sh" +247: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +247: Environment variables: +247: MACHINE=aarch64 +247: CPU= +247: Test timeout computed to be: 1500 +242: + grep 'U puts$' 242: U puts 242: + on_exit 242: + echo OK 242: OK 242: + exit 0 -244: 20: 00000000002102d9 0 NOTYPE LOCAL DEFAULT 7 module_local -244: + grep -E '0 NOTYPE GLOBAL DEFAULT .* foo' out/test/aarch64/symtab/log -247: + cc -c -o out/test/aarch64/sysroot/a.o -xc - -236/347 Test #242: aarch64-symtab-dso ....................................... Passed 0.13 sec +245: + 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 +244: 1: 00000000002102d8 0 NOTYPE GLOBAL DEFAULT 7 bar +244: 49: 00000000002102d8 0 NOTYPE GLOBAL DEFAULT 7 bar +236/347 Test #242: aarch64-symtab-dso ....................................... Passed 0.22 sec test 248 Start 248: aarch64-sysroot2 @@ -19831,29 +19845,39 @@ 248: MACHINE=aarch64 248: CPU= 248: Test timeout computed to be: 1500 -220: + gdb out/test/aarch64/separate-debug-file/exe2 -ex 'list main' -ex quit -220: + grep -F printf -244: 2: 00000000002102d8 0 NOTYPE GLOBAL DEFAULT 7 foo -244: 48: 00000000002102d8 0 NOTYPE GLOBAL DEFAULT 7 foo -244: + grep -E '0 NOTYPE GLOBAL DEFAULT .* bar' out/test/aarch64/symtab/log -244: 1: 00000000002102d8 0 NOTYPE GLOBAL DEFAULT 7 bar -244: 49: 00000000002102d8 0 NOTYPE GLOBAL DEFAULT 7 bar 244: + grep -E '0 NOTYPE GLOBAL DEFAULT .* this_is_global' out/test/aarch64/symtab/log -241: + cc -o out/test/aarch64/symbol-version4/g.o -c -xc - -237: + echo 'VER1 { foo; };' -237: + 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 -241: + cat -245: + cat -245: + cc -c -o out/test/aarch64/synthetic-symbols/b.o -xc - -243: + grep 'SECTION LOCAL DEFAULT' -243: + readelf -s out/test/aarch64/symtab-section-symbols/exe -248: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/sysroot2.sh 244: 3: 00000000002102d9 0 NOTYPE GLOBAL DEFAULT 7 this_is_global 244: 50: 00000000002102d9 0 NOTYPE GLOBAL DEFAULT 7 this_is_global 244: + on_exit 244: + echo OK 244: OK 244: + exit 0 +237/347 Test #244: aarch64-symtab ........................................... Passed 0.18 sec +test 249 + Start 249: aarch64-tail-call + +249: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tail-call.sh" +249: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +249: Environment variables: +249: MACHINE=aarch64 +249: CPU= +249: Test timeout computed to be: 1500 +247: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/sysroot.sh +247: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +247: ++ export LC_ALL=C +247: ++ LC_ALL=C +247: ++ '[' -z aarch64 ']' +247: ++ '[' -z '' ']' +247: ++ TESTDIR=out/test/aarch64 +247: ++ CC=cc +247: ++ CXX=c++ +247: ++ GCC=gcc +247: ++ GXX=g++ +247: ++ OBJDUMP=objdump +247: ++ OBJCOPY=objcopy +247: ++ STRIP=strip +247: ++ QEMU= +248: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/sysroot2.sh 248: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 248: ++ export LC_ALL=C 248: ++ LC_ALL=C @@ -19868,6 +19892,72 @@ 248: ++ OBJCOPY=objcopy 248: ++ STRIP=strip 248: ++ QEMU= +248: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/sysroot2.sh .sh +247: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/sysroot.sh .sh +249: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tail-call.sh +249: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +249: ++ export LC_ALL=C +249: ++ LC_ALL=C +249: ++ '[' -z aarch64 ']' +249: ++ '[' -z '' ']' +249: ++ TESTDIR=out/test/aarch64 +249: ++ CC=cc +249: ++ CXX=c++ +249: ++ GCC=gcc +249: ++ GXX=g++ +249: ++ OBJDUMP=objdump +249: ++ OBJCOPY=objcopy +249: ++ STRIP=strip +249: ++ QEMU= +249: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tail-call.sh .sh +248: ++ testname=sysroot2 +248: ++ t=out/test/aarch64/sysroot2 +248: ++ mkdir -p out/test/aarch64/sysroot2 +247: ++ testname=sysroot +247: ++ t=out/test/aarch64/sysroot +247: ++ mkdir -p out/test/aarch64/sysroot +249: ++ testname=tail-call +249: ++ t=out/test/aarch64/tail-call +249: ++ mkdir -p out/test/aarch64/tail-call +248: ++ case $MACHINE in +248: ++ tlsdesc_opt=-mtls-dialect=desc +247: ++ case $MACHINE in +247: ++ tlsdesc_opt=-mtls-dialect=desc +248: +++ uname +248: ++ '[' Linux = FreeBSD ']' +248: ++ trap 'on_error $LINENO' ERR +248: ++ trap on_exit EXIT +248: ++ echo -n 'Testing sysroot2 ... ' +248: Testing sysroot2 ... ++ set -o pipefail +248: ++ set -x +248: + [[ aarch64 = loongarch* ]] +248: + mkdir -p out/test/aarch64/sysroot2/bin out/test/aarch64/sysroot2/sysroot/foo +247: +++ uname +247: ++ '[' Linux = FreeBSD ']' +247: ++ trap 'on_error $LINENO' ERR +247: ++ trap on_exit EXIT +247: ++ echo -n 'Testing sysroot ... ' +247: Testing sysroot ... ++ set -o pipefail +247: ++ set -x +247: + [[ aarch64 = loongarch* ]] +247: + cat +249: ++ case $MACHINE in +249: ++ tlsdesc_opt=-mtls-dialect=desc +249: +++ uname +248: + cat +247: + cc -c -o out/test/aarch64/sysroot/a.o -xc - +249: ++ '[' Linux = FreeBSD ']' +249: ++ trap 'on_error $LINENO' ERR +249: ++ trap on_exit EXIT +249: ++ echo -n 'Testing tail-call ... ' +249: Testing tail-call ... ++ set -o pipefail +249: ++ set -x +249: + cat +249: + cc -O2 -o out/test/aarch64/tail-call/a.o -c -xc - +248: + cat +245: + out/test/aarch64/synthetic-symbols/exe +243: + grep 'SECTION LOCAL DEFAULT' +243: + readelf -s out/test/aarch64/symtab-section-symbols/exe 243: 1: 00000000000002a8 0 SECTION LOCAL DEFAULT 1 .interp 243: 2: 00000000000002c4 0 SECTION LOCAL DEFAULT 2 .note.ABI-tag 243: 3: 00000000000002e4 0 SECTION LOCAL DEFAULT 3 .note.gnu.build-id @@ -19904,18 +19994,11 @@ 243: + echo OK 243: OK 243: + exit 0 -247: + cat -237/347 Test #243: aarch64-symtab-section-symbols ........................... Passed 0.13 sec -238/347 Test #244: aarch64-symtab ........................................... Passed 0.12 sec -test 249 - Start 249: aarch64-tail-call - -249: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tail-call.sh" -249: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -249: Environment variables: -249: MACHINE=aarch64 -249: CPU= -249: Test timeout computed to be: 1500 +245: + grep '^__ehdr_start=0x40000$' out/test/aarch64/synthetic-symbols/log +245: __ehdr_start=0x40000 +245: + grep '^__executable_start=0x40000$' out/test/aarch64/synthetic-symbols/log +238/347 Test #243: aarch64-symtab-section-symbols ........................... Passed 0.28 sec +248: + cc -c -o out/test/aarch64/sysroot2/sysroot/foo/x.o -xc - test 250 Start 250: aarch64-tbss-only @@ -19925,36 +20008,11 @@ 250: MACHINE=aarch64 250: CPU= 250: Test timeout computed to be: 1500 -248: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/sysroot2.sh .sh -248: ++ testname=sysroot2 -248: ++ t=out/test/aarch64/sysroot2 -248: ++ mkdir -p out/test/aarch64/sysroot2 -248: ++ case $MACHINE in -248: ++ tlsdesc_opt=-mtls-dialect=desc -246: + mkdir -p out/test/aarch64/sysroot-linker-script/foo/bar -246: + rm -f out/test/aarch64/sysroot-linker-script/foo/bar/libfoo.a -246: + ar rcs out/test/aarch64/sysroot-linker-script/foo/bar/libfoo.a out/test/aarch64/sysroot-linker-script/a.o -247: + cc -c -o out/test/aarch64/sysroot/b.o -xc - -249: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tail-call.sh -249: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -249: ++ export LC_ALL=C -249: ++ LC_ALL=C -249: ++ '[' -z aarch64 ']' -249: ++ '[' -z '' ']' -249: ++ TESTDIR=out/test/aarch64 -249: ++ CC=cc -249: ++ CXX=c++ -249: ++ GCC=gcc -249: ++ GXX=g++ -249: ++ OBJDUMP=objdump -249: ++ OBJCOPY=objcopy -249: ++ STRIP=strip -249: ++ QEMU= -249: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tail-call.sh .sh -246: + cat -249: ++ testname=tail-call -249: ++ t=out/test/aarch64/tail-call -249: ++ mkdir -p out/test/aarch64/tail-call +248: + cat +245: __executable_start=0x40000 +245: + grep '^__dso_handle=' out/test/aarch64/synthetic-symbols/log +245: __dso_handle=0x70b40 +160: + grep -F .data.100000 out/test/aarch64/many-sections2/log1 250: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tbss-only.sh 250: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 250: ++ export LC_ALL=C @@ -19970,68 +20028,18 @@ 250: ++ OBJCOPY=objcopy 250: ++ STRIP=strip 250: ++ QEMU= -248: +++ uname -249: ++ case $MACHINE in -249: ++ tlsdesc_opt=-mtls-dialect=desc -246: + cat -248: ++ '[' Linux = FreeBSD ']' -248: ++ trap 'on_error $LINENO' ERR -248: ++ trap on_exit EXIT -248: ++ echo -n 'Testing sysroot2 ... ' -248: Testing sysroot2 ... ++ set -o pipefail -248: ++ set -x -248: + [[ aarch64 = loongarch* ]] -248: + mkdir -p out/test/aarch64/sysroot2/bin out/test/aarch64/sysroot2/sysroot/foo -241: + 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 -248: + cat -248: + cat -249: +++ uname -249: ++ '[' Linux = FreeBSD ']' -249: ++ trap 'on_error $LINENO' ERR -249: ++ trap on_exit EXIT -249: ++ echo -n 'Testing tail-call ... ' -249: Testing tail-call ... ++ set -o pipefail -249: ++ set -x -249: + cc -O2 -o out/test/aarch64/tail-call/a.o -c -xc - -249: + cat -247: + mkdir -p out/test/aarch64/sysroot/foo/bar -247: + rm -f out/test/aarch64/sysroot/foo/bar/libfoo.a -248: + cat -248: + cc -c -o out/test/aarch64/sysroot2/sysroot/foo/x.o -xc - -246: + cc -o out/test/aarch64/sysroot-linker-script/c.o -c -xc - 250: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tbss-only.sh .sh 250: ++ testname=tbss-only 250: ++ t=out/test/aarch64/tbss-only 250: ++ mkdir -p out/test/aarch64/tbss-only -247: + ar rcs out/test/aarch64/sysroot/foo/bar/libfoo.a out/test/aarch64/sysroot/a.o out/test/aarch64/sysroot/b.o -249: + cat 250: ++ case $MACHINE in 250: ++ tlsdesc_opt=-mtls-dialect=desc -247: + cat 250: +++ uname -247: + cc -c -o out/test/aarch64/sysroot/c.o -xc - -250: ++ '[' Linux = FreeBSD ']' -250: ++ trap 'on_error $LINENO' ERR -250: ++ trap on_exit EXIT -250: ++ echo -n 'Testing tbss-only ... ' -250: Testing tbss-only ... ++ set -o pipefail -250: ++ set -x -249: + cc -O2 -o out/test/aarch64/tail-call/b.o -c -xc - -250: + cat -250: + cc -o out/test/aarch64/tbss-only/a.o -c -xc - -248: + cat -248: + cc -c -o out/test/aarch64/sysroot2/sysroot/foo/y.o -xc - -246: + 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 -241: + grep 'foo bar' -160: + readelf -WS out/test/aarch64/many-sections2/b.o -241: + out/test/aarch64/symbol-version4/exe -241: foo bar -241: + on_exit -241: + echo OK -241: OK -241: + exit 0 -237: mold: warning: out/test/aarch64/symbol-version-lto/b.ver: cannot assign version `VER1` to symbol `foo`: symbol not found -239/347 Test #241: aarch64-symbol-version4 .................................. Passed 0.34 sec +246: + on_exit +246: + echo OK +246: OK +246: + exit 0 +239/347 Test #246: aarch64-sysroot-linker-script ............................ Passed 0.22 sec test 251 Start 251: aarch64-textrel @@ -20041,8 +20049,21 @@ 251: MACHINE=aarch64 251: CPU= 251: Test timeout computed to be: 1500 -245: + 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 +250: ++ '[' Linux = FreeBSD ']' +250: ++ trap 'on_error $LINENO' ERR +250: ++ trap on_exit EXIT +250: ++ echo -n 'Testing tbss-only ... ' +250: Testing tbss-only ... ++ set -o pipefail +250: ++ set -x +250: + cc -o out/test/aarch64/tbss-only/a.o -c -xc - +250: + cat +241: + cc -o out/test/aarch64/symbol-version4/g.o -c -xc - +241: + cat +245: + grep '^section foo$' out/test/aarch64/synthetic-symbols/log +245: section foo 251: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/textrel.sh +245: + cc -c -o out/test/aarch64/synthetic-symbols/c.o -xc - +249: + cat 251: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 251: ++ export LC_ALL=C 251: ++ LC_ALL=C @@ -20057,31 +20078,52 @@ 251: ++ OBJCOPY=objcopy 251: ++ STRIP=strip 251: ++ QEMU= +245: + cat +249: + cc -O2 -o out/test/aarch64/tail-call/b.o -c -xc - +160: [ 9] .data.100000 PROGBITS 0000000000000000 000058 000004 00 WA 0 0 1 251: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/textrel.sh .sh 251: ++ testname=textrel 251: ++ t=out/test/aarch64/textrel 251: ++ mkdir -p out/test/aarch64/textrel +160: + readelf -Ws out/test/aarch64/many-sections2/b.o 251: ++ case $MACHINE in 251: ++ tlsdesc_opt=-mtls-dialect=desc -247: + 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 251: +++ uname +250: + cc -B. -o out/test/aarch64/tbss-only/exe out/test/aarch64/tbss-only/a.o 251: ++ '[' Linux = FreeBSD ']' 251: ++ trap 'on_error $LINENO' ERR 251: ++ trap on_exit EXIT 251: ++ echo -n 'Testing textrel ... ' 251: Testing textrel ... ++ set -o pipefail 251: ++ set -x +248: + cc -c -o out/test/aarch64/sysroot2/sysroot/foo/y.o -xc - 248: + cat -250: + cc -B. -o out/test/aarch64/tbss-only/exe out/test/aarch64/tbss-only/a.o -248: + cc -c -o out/test/aarch64/sysroot2/c.o -xc - 251: + cat +249: + cat +249: + cc -O2 -o out/test/aarch64/tail-call/c.o -c -xc - +247: + cat +247: + cc -c -o out/test/aarch64/sysroot/b.o -xc - 251: + cc -o out/test/aarch64/textrel/a.o -c -xc - -fno-PIE -246: + on_exit -246: + echo OK -246: OK -246: + exit 0 -240/347 Test #246: aarch64-sysroot-linker-script ............................ Passed 0.24 sec +241: + 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 +245: + 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 +248: + cat +248: + cc -c -o out/test/aarch64/sysroot2/c.o -xc - +247: + mkdir -p out/test/aarch64/sysroot/foo/bar +237: + cc -fPIC -c -o out/test/aarch64/symbol-version-lto/a.o -xc - -flto +247: + rm -f out/test/aarch64/sysroot/foo/bar/libfoo.a +237: + cat +247: + ar rcs out/test/aarch64/sysroot/foo/bar/libfoo.a out/test/aarch64/sysroot/a.o out/test/aarch64/sysroot/b.o +250: + out/test/aarch64/tbss-only/exe 251: + cc -o out/test/aarch64/textrel/b.o -c -xc - -fno-PIE +247: + cc -c -o out/test/aarch64/sysroot/c.o -xc - +250: + on_exit +250: + echo OK +250: OK +250: + exit 0 +247: + cat +249: + 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 +251: + cat +240/347 Test #250: aarch64-tbss-only ........................................ Passed 0.14 sec test 252 Start 252: aarch64-textrel2 @@ -20091,12 +20133,6 @@ 252: MACHINE=aarch64 252: CPU= 252: Test timeout computed to be: 1500 -251: + cat -245: + out/test/aarch64/synthetic-symbols/exe -245: + grep '^__ehdr_start=0x40000$' out/test/aarch64/synthetic-symbols/log -245: __ehdr_start=0x40000 -245: + grep '^__executable_start=0x40000$' out/test/aarch64/synthetic-symbols/log -249: + cc -O2 -o out/test/aarch64/tail-call/c.o -c -xc - 252: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/textrel2.sh 252: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 252: ++ export LC_ALL=C @@ -20112,36 +20148,29 @@ 252: ++ OBJCOPY=objcopy 252: ++ STRIP=strip 252: ++ QEMU= +248: + 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 +237: + echo 'VER1 { foo; };' +237: + 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 252: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/textrel2.sh .sh -245: __executable_start=0x40000 +245: + out/test/aarch64/synthetic-symbols/exe +245: + grep '^end=foo$' out/test/aarch64/synthetic-symbols/log +245: end=foo +245: + grep '^etext=foo$' out/test/aarch64/synthetic-symbols/log +241: + grep 'foo bar' +241: + out/test/aarch64/symbol-version4/exe +241: foo bar 252: ++ testname=textrel2 252: ++ t=out/test/aarch64/textrel2 252: ++ mkdir -p out/test/aarch64/textrel2 -245: + grep '^__dso_handle=' out/test/aarch64/synthetic-symbols/log -249: + cat -252: ++ case $MACHINE in -252: ++ tlsdesc_opt=-mtls-dialect=desc -250: + out/test/aarch64/tbss-only/exe -248: + 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 -245: __dso_handle=0x70b40 -245: + grep '^section foo$' out/test/aarch64/synthetic-symbols/log -250: + on_exit -250: + echo OK -250: OK -250: + exit 0 -245: section foo -252: +++ uname -245: + cat -245: + cc -c -o out/test/aarch64/synthetic-symbols/c.o -xc - -252: ++ '[' Linux = FreeBSD ']' -252: ++ trap 'on_error $LINENO' ERR -252: ++ trap on_exit EXIT -252: ++ echo -n 'Testing textrel2 ... ' -252: Testing textrel2 ... ++ set -o pipefail -252: ++ set -x -252: + cc -o out/test/aarch64/textrel2/a.o -c -xc - -fPIE -252: + cat -241/347 Test #250: aarch64-tbss-only ........................................ Passed 0.21 sec +245: etext=foo +245: + grep '^edata=foo$' out/test/aarch64/synthetic-symbols/log +241: + on_exit +241: + echo OK +241: OK +241: + exit 0 +245: edata=foo +245: + grep '^__ehdr_start=0x40000$' out/test/aarch64/synthetic-symbols/log +241/347 Test #241: aarch64-symbol-version4 .................................. Passed 0.57 sec test 253 Start 253: aarch64-thin-archive @@ -20151,12 +20180,20 @@ 253: MACHINE=aarch64 253: CPU= 253: Test timeout computed to be: 1500 -251: /tmp/ccPqhVuQ.s: Assembler messages: -251: /tmp/ccPqhVuQ.s:5: Warning: ignoring changed section attributes for .text +252: ++ case $MACHINE in +252: ++ tlsdesc_opt=-mtls-dialect=desc +252: +++ uname +252: ++ '[' Linux = FreeBSD ']' +252: ++ trap 'on_error $LINENO' ERR +252: ++ trap on_exit EXIT +252: ++ echo -n 'Testing textrel2 ... ' +245: __ehdr_start=0x40000 +245: + grep '^__executable_start=0x40000$' out/test/aarch64/synthetic-symbols/log +245: __executable_start=0x40000 +245: + grep '^section foo$' out/test/aarch64/synthetic-symbols/log +251: /tmp/ccHM2BJq.s: Assembler messages: +251: /tmp/ccHM2BJq.s:5: Warning: ignoring changed section attributes for .text 251: + cc -B. -o out/test/aarch64/textrel/exe out/test/aarch64/textrel/a.o out/test/aarch64/textrel/b.o -no-pie -248: ++ realpath out/test/aarch64/sysroot2 -249: + 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 -247: + 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 253: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/thin-archive.sh 253: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 253: ++ export LC_ALL=C @@ -20172,15 +20209,55 @@ 253: ++ OBJCOPY=objcopy 253: ++ STRIP=strip 253: ++ QEMU= +252: Testing textrel2 ... ++ set -o pipefail +252: ++ set -x +247: + 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 +252: + cat +245: section foo +245: + on_exit +245: + echo OK +245: OK +245: + exit 0 +242/347 Test #245: aarch64-synthetic-symbols ................................ Passed 0.43 sec +test 254 + Start 254: aarch64-thread-count + +254: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/thread-count.sh" +254: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +254: Environment variables: +254: MACHINE=aarch64 +254: CPU= +254: Test timeout computed to be: 1500 +252: + cc -o out/test/aarch64/textrel2/a.o -c -xc - -fPIE +254: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/thread-count.sh +254: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +254: ++ export LC_ALL=C +254: ++ LC_ALL=C +254: ++ '[' -z aarch64 ']' +254: ++ '[' -z '' ']' +254: ++ TESTDIR=out/test/aarch64 +254: ++ CC=cc +254: ++ CXX=c++ +254: ++ GCC=gcc +254: ++ GXX=g++ +254: ++ OBJDUMP=objdump +254: ++ OBJCOPY=objcopy +254: ++ STRIP=strip +254: ++ QEMU= 253: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/thin-archive.sh .sh +254: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/thread-count.sh .sh 253: ++ testname=thin-archive 253: ++ t=out/test/aarch64/thin-archive 253: ++ mkdir -p out/test/aarch64/thin-archive -245: + 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 -248: + cc -B. -o out/test/aarch64/sysroot2/exe -Wl,--sysroot=/build/reproducible-path/mold-2.37.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 +254: ++ testname=thread-count +254: ++ t=out/test/aarch64/thread-count +254: ++ mkdir -p out/test/aarch64/thread-count +254: ++ case $MACHINE in +254: ++ tlsdesc_opt=-mtls-dialect=desc 253: ++ case $MACHINE in 253: ++ tlsdesc_opt=-mtls-dialect=desc -160: + grep -F .data.100000 out/test/aarch64/many-sections2/log1 +249: + out/test/aarch64/tail-call/exe +249: + grep 42 253: +++ uname 253: ++ '[' Linux = FreeBSD ']' 253: ++ trap 'on_error $LINENO' ERR @@ -20188,49 +20265,17 @@ 253: ++ echo -n 'Testing thin-archive ... ' 253: Testing thin-archive ... ++ set -o pipefail 253: ++ set -x +252: /tmp/ccrgJIuN.s: Assembler messages: +252: /tmp/ccrgJIuN.s:33: Warning: ignoring changed section attributes for .text +160: + grep -F 'GLOBAL DEFAULT 100000' out/test/aarch64/many-sections2/log2 253: + cc -o out/test/aarch64/thin-archive/long-long-long-filename.o -c -xc - -253: + cat -220: 3 printf("Hello world\n"); -220: + cc -c -o out/test/aarch64/separate-debug-file/a.o out/test/aarch64/separate-debug-file/a.c -g -252: /tmp/cckUeybp.s: Assembler messages: -252: /tmp/cckUeybp.s:33: Warning: ignoring changed section attributes for .text -252: + cc -o out/test/aarch64/textrel2/exe1 out/test/aarch64/textrel2/a.o -pie -160: [ 9] .data.100000 PROGBITS 0000000000000000 000058 000004 00 WA 0 0 1 -160: + readelf -Ws out/test/aarch64/many-sections2/b.o -249: + grep 42 -249: + out/test/aarch64/tail-call/exe -251: + grep 'Hello world' -192: + 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 249: 42 249: + '[' aarch64 = riscv32 -o aarch64 = riscv64 ']' 249: + on_exit 249: + echo OK 249: OK 249: + exit 0 -251: + out/test/aarch64/textrel/exe -251: Hello world -242/347 Test #249: aarch64-tail-call ........................................ Passed 0.28 sec -251: + on_exit -251: + echo OK -251: OK -251: + exit 0 -test 254 - Start 254: aarch64-thread-count - -254: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/thread-count.sh" -254: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -254: Environment variables: -254: MACHINE=aarch64 -254: CPU= -254: Test timeout computed to be: 1500 -253: + cc -o out/test/aarch64/thin-archive/b.o -c -xc - -253: + cat -247: + 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 -248: + on_exit -248: + echo OK -248: OK -248: + exit 0 -243/347 Test #251: aarch64-textrel .......................................... Passed 0.17 sec +243/347 Test #249: aarch64-tail-call ........................................ Passed 0.31 sec test 255 Start 255: aarch64-tls-alignment-multi @@ -20240,31 +20285,21 @@ 255: MACHINE=aarch64 255: CPU= 255: Test timeout computed to be: 1500 -245: + out/test/aarch64/synthetic-symbols/exe -245: + grep '^end=foo$' out/test/aarch64/synthetic-symbols/log -245: end=foo -245: + grep '^etext=foo$' out/test/aarch64/synthetic-symbols/log -245: etext=foo -245: + grep '^edata=foo$' out/test/aarch64/synthetic-symbols/log -245: edata=foo -245: + grep '^__ehdr_start=0x40000$' out/test/aarch64/synthetic-symbols/log -245: __ehdr_start=0x40000 -244/347 Test #248: aarch64-sysroot2 ......................................... Passed 0.33 sec -237: + readelf --symbols out/test/aarch64/symbol-version-lto/c.so -237: + grep -F foo@@VER1 out/test/aarch64/symbol-version-lto/log -254: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/thread-count.sh +252: + cc -o out/test/aarch64/textrel2/exe1 out/test/aarch64/textrel2/a.o -pie 253: + cat -test 256 - Start 256: aarch64-tls-common - -256: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tls-common.sh" -256: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -256: Environment variables: -256: MACHINE=aarch64 -256: CPU= -256: Test timeout computed to be: 1500 -253: + cc -o out/test/aarch64/thin-archive/c.o -c -xc - +251: + grep 'Hello world' +251: + out/test/aarch64/textrel/exe +254: +++ uname +254: ++ '[' Linux = FreeBSD ']' +254: ++ trap 'on_error $LINENO' ERR +254: ++ trap on_exit EXIT +254: ++ echo -n 'Testing thread-count ... ' +254: Testing thread-count ... ++ set -o pipefail +254: ++ set -x +254: + cc -o out/test/aarch64/thread-count/a.o -c -xc - 255: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-alignment-multi.sh +160: 200005: 0000000000000000 0 NOTYPE GLOBAL DEFAULT 100000 x99996 +160: + grep -F 'ABS foo' out/test/aarch64/many-sections2/log2 255: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 255: ++ export LC_ALL=C 255: ++ LC_ALL=C @@ -20279,38 +20314,56 @@ 255: ++ OBJCOPY=objcopy 255: ++ STRIP=strip 255: ++ QEMU= -254: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -254: ++ export LC_ALL=C -254: ++ LC_ALL=C -254: ++ '[' -z aarch64 ']' -254: ++ '[' -z '' ']' -254: ++ TESTDIR=out/test/aarch64 -254: ++ CC=cc -254: ++ CXX=c++ -254: ++ GCC=gcc -254: ++ GXX=g++ -254: ++ OBJDUMP=objdump -254: ++ OBJCOPY=objcopy -254: ++ STRIP=strip -254: ++ QEMU= +251: Hello world +251: + on_exit +251: + echo OK +251: OK +251: + exit 0 +244/347 Test #251: aarch64-textrel .......................................... Passed 0.25 sec 255: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-alignment-multi.sh .sh -254: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/thread-count.sh .sh -254: ++ testname=thread-count -254: ++ t=out/test/aarch64/thread-count -254: ++ mkdir -p out/test/aarch64/thread-count +test 256 + Start 256: aarch64-tls-common + +256: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tls-common.sh" +256: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +256: Environment variables: +256: MACHINE=aarch64 +256: CPU= +256: Test timeout computed to be: 1500 255: ++ testname=tls-alignment-multi 255: ++ t=out/test/aarch64/tls-alignment-multi 255: ++ mkdir -p out/test/aarch64/tls-alignment-multi -237: 5: 0000000000010728 8 FUNC GLOBAL DEFAULT 14 foo@@VER1 -254: ++ case $MACHINE in -254: ++ tlsdesc_opt=-mtls-dialect=desc -237: + on_exit -237: + echo OK -237: OK -237: + exit 0 -245/347 Test #237: aarch64-symbol-version-lto ............................... Passed 0.60 sec -254: +++ uname -252: + out/test/aarch64/textrel2/exe1 +255: ++ case $MACHINE in +255: ++ tlsdesc_opt=-mtls-dialect=desc +254: + cat +256: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-common.sh +256: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +256: ++ export LC_ALL=C +256: ++ LC_ALL=C +256: ++ '[' -z aarch64 ']' +256: ++ '[' -z '' ']' +256: ++ TESTDIR=out/test/aarch64 +256: ++ CC=cc +256: ++ CXX=c++ +256: ++ GCC=gcc +256: ++ GXX=g++ +256: ++ OBJDUMP=objdump +256: ++ OBJCOPY=objcopy +256: ++ STRIP=strip +256: ++ QEMU= +160: 100009: 0000000000001000 0 NOTYPE LOCAL DEFAULT ABS foo +160: + not grep -F 'ABS x68966' out/test/aarch64/many-sections2/log2 +160: + grep -F 'ABS x68966' out/test/aarch64/many-sections2/log2 +237: mold: warning: out/test/aarch64/symbol-version-lto/b.ver: cannot assign version `VER1` to symbol `foo`: symbol not found +255: +++ uname +248: ++ realpath out/test/aarch64/sysroot2 +252: + grep 'Hello world' +160: + return 0 +160: + on_exit +160: + echo OK +160: OK +160: + exit 0 +245/347 Test #160: aarch64-many-sections2 ................................... Passed 5.81 sec test 257 Start 257: aarch64-tls-df-static-tls @@ -20320,26 +20373,11 @@ 257: MACHINE=aarch64 257: CPU= 257: Test timeout computed to be: 1500 -254: ++ '[' Linux = FreeBSD ']' -254: ++ trap 'on_error $LINENO' ERR -254: ++ trap on_exit EXIT -254: ++ echo -n 'Testing thread-count ... ' -254: Testing thread-count ... ++ set -o pipefail -254: ++ set -x -255: ++ case $MACHINE in -255: ++ tlsdesc_opt=-mtls-dialect=desc -255: +++ uname -255: ++ '[' Linux = FreeBSD ']' -255: ++ trap 'on_error $LINENO' ERR -255: ++ trap on_exit EXIT -255: ++ echo -n 'Testing tls-alignment-multi ... ' -255: Testing tls-alignment-multi ... ++ set -o pipefail -255: ++ set -x -245: + grep '^__executable_start=0x40000$' out/test/aarch64/synthetic-symbols/log -255: + cat +252: + out/test/aarch64/textrel2/exe1 +252: Hello world +252: + cc -B. -o out/test/aarch64/textrel2/exe2 out/test/aarch64/textrel2/a.o -pie +248: + cc -B. -o out/test/aarch64/sysroot2/exe -Wl,--sysroot=/build/reproducible-path/mold-2.37.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 257: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-df-static-tls.sh -254: + cc -o out/test/aarch64/thread-count/a.o -c -xc - -255: + cc -fPIC -c -o out/test/aarch64/tls-alignment-multi/a.o -xc - 257: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 257: ++ export LC_ALL=C 257: ++ LC_ALL=C @@ -20354,50 +20392,59 @@ 257: ++ OBJCOPY=objcopy 257: ++ STRIP=strip 257: ++ QEMU= +255: ++ '[' Linux = FreeBSD ']' +255: ++ trap 'on_error $LINENO' ERR +255: ++ trap on_exit EXIT +255: ++ echo -n 'Testing tls-alignment-multi ... ' +255: Testing tls-alignment-multi ... ++ set -o pipefail +255: ++ set -x 257: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-df-static-tls.sh .sh -256: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-common.sh -245: __executable_start=0x40000 -245: + grep '^section foo$' out/test/aarch64/synthetic-symbols/log +255: + cc -fPIC -c -o out/test/aarch64/tls-alignment-multi/a.o -xc - +255: + cat +256: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-common.sh .sh +256: ++ testname=tls-common +256: ++ t=out/test/aarch64/tls-common +256: ++ mkdir -p out/test/aarch64/tls-common +256: ++ case $MACHINE in +256: ++ tlsdesc_opt=-mtls-dialect=desc 257: ++ testname=tls-df-static-tls 257: ++ t=out/test/aarch64/tls-df-static-tls 257: ++ mkdir -p out/test/aarch64/tls-df-static-tls -220: + cc -B. -o out/test/aarch64/separate-debug-file/exe3 out/test/aarch64/separate-debug-file/a.o -Wl,--separate-debug-file,--compress-debug-sections=zlib +256: +++ uname +256: ++ '[' Linux = FreeBSD ']' +256: ++ trap 'on_error $LINENO' ERR +256: ++ trap on_exit EXIT +256: ++ echo -n 'Testing tls-common ... ' +256: Testing tls-common ... ++ set -o pipefail +256: ++ set -x 257: ++ case $MACHINE in 257: ++ tlsdesc_opt=-mtls-dialect=desc +256: + gcc -o out/test/aarch64/tls-common/a.o -c -xassembler - +254: + cc -B. -o out/test/aarch64/thread-count/exe out/test/aarch64/thread-count/a.o -Wl,-no-threads +253: + cc -o out/test/aarch64/thin-archive/b.o -c -xc - 257: +++ uname -256: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -256: ++ export LC_ALL=C -256: ++ LC_ALL=C -256: ++ '[' -z aarch64 ']' -256: ++ '[' -z '' ']' -256: ++ TESTDIR=out/test/aarch64 -256: ++ CC=cc -256: ++ CXX=c++ -256: ++ GCC=gcc -256: ++ GXX=g++ -256: ++ OBJDUMP=objdump -256: ++ OBJCOPY=objcopy -256: ++ STRIP=strip -256: ++ QEMU= -256: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-common.sh .sh -256: ++ testname=tls-common -256: ++ t=out/test/aarch64/tls-common -256: ++ mkdir -p out/test/aarch64/tls-common -252: + grep 'Hello world' -245: section foo -252: Hello world -245: + on_exit -245: + echo OK -245: OK -245: + exit 0 257: ++ '[' Linux = FreeBSD ']' 257: ++ trap 'on_error $LINENO' ERR 257: ++ trap on_exit EXIT 257: ++ echo -n 'Testing tls-df-static-tls ... ' 257: Testing tls-df-static-tls ... ++ set -o pipefail 257: ++ set -x -252: + cc -B. -o out/test/aarch64/textrel2/exe2 out/test/aarch64/textrel2/a.o -pie -246/347 Test #245: aarch64-synthetic-symbols ................................ Passed 0.44 sec +257: + cc -fPIC -ftls-model=initial-exec -c -o out/test/aarch64/tls-df-static-tls/a.o -xc - +248: + on_exit +248: + echo OK +248: OK +248: + exit 0 +256: + cat +253: + cat +257: + cat +246/347 Test #248: aarch64-sysroot2 ......................................... Passed 0.45 sec +256: + cc -o out/test/aarch64/tls-common/b.o -c -xc -std=c11 - +256: + cat +247: + 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 +252: + grep 'Hello world' +252: + out/test/aarch64/textrel2/exe2 +252: Hello world +252: + cc -o out/test/aarch64/textrel2/exe3 out/test/aarch64/textrel2/a.o -pie -Wl,-z,pack-relative-relocs test 258 Start 258: aarch64-tls-dso @@ -20407,22 +20454,11 @@ 258: MACHINE=aarch64 258: CPU= 258: Test timeout computed to be: 1500 -257: + cat -257: + cc -fPIC -ftls-model=initial-exec -c -o out/test/aarch64/tls-df-static-tls/a.o -xc - -256: ++ case $MACHINE in -256: ++ tlsdesc_opt=-mtls-dialect=desc -256: +++ uname -254: + cat -253: + cat -253: + cc -o out/test/aarch64/thin-archive/d.o -c -xc - -256: ++ '[' Linux = FreeBSD ']' -256: ++ trap 'on_error $LINENO' ERR -256: ++ trap on_exit EXIT -256: ++ echo -n 'Testing tls-common ... ' -256: Testing tls-common ... ++ set -o pipefail -256: ++ set -x +255: + cat +255: + cc -fPIC -c -o out/test/aarch64/tls-alignment-multi/b.o -xc - 258: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-dso.sh -256: + gcc -o out/test/aarch64/tls-common/a.o -c -xassembler - +257: + cc -B. -shared -o out/test/aarch64/tls-df-static-tls/b.so out/test/aarch64/tls-df-static-tls/a.o -Wl,--relax +200: + cc -B. -o out/test/aarch64/relocatable-many-sections/exe out/test/aarch64/relocatable-many-sections/c.o 258: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 258: ++ export LC_ALL=C 258: ++ LC_ALL=C @@ -20437,34 +20473,50 @@ 258: ++ OBJCOPY=objcopy 258: ++ STRIP=strip 258: ++ QEMU= -256: + cat +253: + cat +253: + cc -o out/test/aarch64/thin-archive/c.o -c -xc - 258: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-dso.sh .sh -192: + out/test/aarch64/range-extension-thunk3/exe -256: + cat -256: + cc -o out/test/aarch64/tls-common/b.o -c -xc -std=c11 - +256: + cc -B. -o out/test/aarch64/tls-common/exe out/test/aarch64/tls-common/a.o out/test/aarch64/tls-common/b.o 258: ++ testname=tls-dso 258: ++ t=out/test/aarch64/tls-dso 258: ++ mkdir -p out/test/aarch64/tls-dso -255: + cat -255: + cc -fPIC -c -o out/test/aarch64/tls-alignment-multi/b.o -xc - -247: + 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 +254: + cc -B. -o out/test/aarch64/thread-count/exe out/test/aarch64/thread-count/a.o -Wl,-thread-count=1 258: ++ case $MACHINE in 258: ++ tlsdesc_opt=-mtls-dialect=desc 258: +++ uname +255: + cc -B. -shared -o out/test/aarch64/tls-alignment-multi/a.so out/test/aarch64/tls-alignment-multi/a.o 258: ++ '[' Linux = FreeBSD ']' 258: ++ trap 'on_error $LINENO' ERR 258: ++ trap on_exit EXIT 258: ++ echo -n 'Testing tls-dso ... ' 258: Testing tls-dso ... ++ set -o pipefail 258: ++ set -x -258: + cat 258: + cc -fPIC -shared -o out/test/aarch64/tls-dso/a.so -xc - -254: + cc -B. -o out/test/aarch64/thread-count/exe out/test/aarch64/thread-count/a.o -Wl,-no-threads -192: + on_exit -192: + echo OK -192: OK -192: + exit 0 -247/347 Test #192: aarch64-range-extension-thunk3 ........................... Passed 2.16 sec +247: + 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 +253: + cat +253: + cc -o out/test/aarch64/thin-archive/d.o -c -xc - +252: + readelf -WS out/test/aarch64/textrel2/exe3 +258: + cat +252: + grep -F .relr.dyn +252: [10] .relr.dyn RELR 0000000000000590 000590 000020 08 A 0 0 8 +252: + out/test/aarch64/textrel2/exe3 +252: + grep 'Hello world' +252: Hello world +252: + cc -B. -o out/test/aarch64/textrel2/exe4 out/test/aarch64/textrel2/a.o -pie -Wl,-z,pack-relative-relocs +256: + grep -F .tls_common +256: + readelf -WS out/test/aarch64/tls-common/exe +255: + 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 +253: + rm -f out/test/aarch64/thin-archive/d.a +256: [20] .tls_common NOBITS 0000000000020870 000870 000004 00 WAT 0 0 4 +256: + out/test/aarch64/tls-common/exe +253: + cd out/test/aarch64/thin-archive +256: + grep '^foo=0$' +256: foo=0 +256: + on_exit +256: + echo OK +256: OK +256: + exit 0 +247/347 Test #256: aarch64-tls-common ....................................... Passed 0.26 sec test 259 Start 259: aarch64-tls-gd-dlopen @@ -20474,7 +20526,9 @@ 259: MACHINE=aarch64 259: CPU= 259: Test timeout computed to be: 1500 -253: + rm -f out/test/aarch64/thin-archive/d.a +253: ++ pwd +253: + ar rcsT d.a long-long-long-filename.o b.o /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/out/test/aarch64/thin-archive/c.o +253: + 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 259: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-gd-dlopen.sh 259: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 259: ++ export LC_ALL=C @@ -20490,60 +20544,36 @@ 259: ++ OBJCOPY=objcopy 259: ++ STRIP=strip 259: ++ QEMU= +257: + readelf --dynamic out/test/aarch64/tls-df-static-tls/b.so +257: + grep STATIC_TLS 259: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-gd-dlopen.sh .sh 259: ++ testname=tls-gd-dlopen 259: ++ t=out/test/aarch64/tls-gd-dlopen 259: ++ mkdir -p out/test/aarch64/tls-gd-dlopen -253: + cd out/test/aarch64/thin-archive -253: ++ pwd -253: + ar rcsT d.a long-long-long-filename.o b.o /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu/out/test/aarch64/thin-archive/c.o -257: + cc -B. -shared -o out/test/aarch64/tls-df-static-tls/b.so out/test/aarch64/tls-df-static-tls/a.o -Wl,--relax -220: + readelf -SW out/test/aarch64/separate-debug-file/exe3 -220: + grep -F .gnu_debuglink -255: + cc -B. -shared -o out/test/aarch64/tls-alignment-multi/a.so out/test/aarch64/tls-alignment-multi/a.o -253: + 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 -220: [30] .gnu_debuglink PROGBITS 0000000000000000 000ac0 000010 00 0 0 4 -220: + flock out/test/aarch64/separate-debug-file/exe3 true 259: ++ case $MACHINE in 259: ++ tlsdesc_opt=-mtls-dialect=desc -256: + cc -B. -o out/test/aarch64/tls-common/exe out/test/aarch64/tls-common/a.o out/test/aarch64/tls-common/b.o -220: + readelf -W --sections out/test/aarch64/separate-debug-file/exe3.dbg -220: + grep '\.debug_info .*C' -220: [35] .debug_info PROGBITS 0000000000000000 000fe4 00007c 00 C 0 0 1 -254: + cc -B. -o out/test/aarch64/thread-count/exe out/test/aarch64/thread-count/a.o -Wl,-thread-count=1 -220: + gdb out/test/aarch64/separate-debug-file/exe3 -ex 'list main' -ex quit -220: + grep -F printf -247: + not cc -B. -o out/test/aarch64/sysroot/exe out/test/aarch64/sysroot/c.o -lfoo -258: + cat -258: + cc -c -o out/test/aarch64/tls-dso/b.o -xc - -252: + grep 'Hello world' -252: + out/test/aarch64/textrel2/exe2 +257: 0x000000000000001e (FLAGS) STATIC_TLS +257: + 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/sysroot/exe out/test/aarch64/sysroot/c.o -Wl,--sysroot=out/test/aarch64/sysroot/ '-Wl,-L$SYSROOT/foo/bar' -lfoo +237: + readelf --symbols out/test/aarch64/symbol-version-lto/c.so +237: + grep -F foo@@VER1 out/test/aarch64/symbol-version-lto/log +237: 5: 0000000000010728 8 FUNC GLOBAL DEFAULT 14 foo@@VER1 +237: + on_exit +237: + echo OK +237: OK +237: + exit 0 259: +++ uname -252: Hello world 259: ++ '[' Linux = FreeBSD ']' 259: ++ trap 'on_error $LINENO' ERR 259: ++ trap on_exit EXIT 259: ++ echo -n 'Testing tls-gd-dlopen ... ' 259: Testing tls-gd-dlopen ... ++ set -o pipefail 259: ++ set -x -252: + cc -o out/test/aarch64/textrel2/exe3 out/test/aarch64/textrel2/a.o -pie -Wl,-z,pack-relative-relocs 259: + cat 259: + gcc -fPIC -c -o out/test/aarch64/tls-gd-dlopen/a.o -xc - -258: + cc -B. -o out/test/aarch64/tls-dso/exe out/test/aarch64/tls-dso/a.so out/test/aarch64/tls-dso/b.o -256: + grep -F .tls_common -247: + not cc -B. -o out/test/aarch64/sysroot/exe out/test/aarch64/sysroot/c.o -Wl,--sysroot=out/test/aarch64/sysroot -Wl,-Lfoo/bar -lfoo -256: + readelf -WS out/test/aarch64/tls-common/exe -256: [20] .tls_common NOBITS 0000000000020870 000870 000004 00 WAT 0 0 4 -256: + out/test/aarch64/tls-common/exe -256: + grep '^foo=0$' -256: foo=0 -256: + on_exit -256: + echo OK -256: OK -257: + readelf --dynamic out/test/aarch64/tls-df-static-tls/b.so -256: + exit 0 -257: + grep STATIC_TLS -248/347 Test #256: aarch64-tls-common ....................................... Passed 0.13 sec +252: + out/test/aarch64/textrel2/exe4 +252: + grep 'Hello world' +248/347 Test #237: aarch64-symbol-version-lto ............................... Passed 1.10 sec test 260 Start 260: aarch64-tls-gd-noplt @@ -20553,21 +20583,29 @@ 260: MACHINE=aarch64 260: CPU= 260: Test timeout computed to be: 1500 -252: + readelf -WS out/test/aarch64/textrel2/exe3 -252: + grep -F .relr.dyn -252: [10] .relr.dyn RELR 0000000000000590 000590 000020 08 A 0 0 8 -257: 0x000000000000001e (FLAGS) STATIC_TLS -253: + grep -E 'thin-archive/d.a\(.*long-long-long-filename.o\)' out/test/aarch64/thin-archive/log -160: + grep -F 'GLOBAL DEFAULT 100000' out/test/aarch64/many-sections2/log2 -254: + cc -B. -o out/test/aarch64/thread-count/exe out/test/aarch64/thread-count/a.o -Wl,-threads -257: + 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 +258: + cat +258: + cc -c -o out/test/aarch64/tls-dso/b.o -xc - 260: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-gd-noplt.sh -252: + out/test/aarch64/textrel2/exe3 -252: + grep 'Hello world' 252: Hello world -259: + cc -B. -shared -o out/test/aarch64/tls-gd-dlopen/b.so out/test/aarch64/tls-gd-dlopen/a.o -253: trace: out/test/aarch64/thin-archive/d.a(out/test/aarch64/thin-archive/long-long-long-filename.o) -253: + grep -E 'thin-archive/d.a\((.*/)?b.o\)' out/test/aarch64/thin-archive/log +252: + on_exit +252: + echo OK +252: OK +252: + exit 0 +249/347 Test #252: aarch64-textrel2 ......................................... Passed 0.43 sec +255: + out/test/aarch64/tls-alignment-multi/exe +test 261 + Start 261: aarch64-tls-gd-to-ie + +261: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tls-gd-to-ie.sh" +261: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +261: Environment variables: +261: MACHINE=aarch64 +261: CPU= +261: Test timeout computed to be: 1500 +255: + on_exit +255: + echo OK +255: OK +255: + exit 0 260: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 260: ++ export LC_ALL=C 260: ++ LC_ALL=C @@ -20582,43 +20620,51 @@ 260: ++ OBJCOPY=objcopy 260: ++ STRIP=strip 260: ++ QEMU= -255: + 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 -252: + cc -B. -o out/test/aarch64/textrel2/exe4 out/test/aarch64/textrel2/a.o -pie -Wl,-z,pack-relative-relocs -160: 200005: 0000000000000000 0 NOTYPE GLOBAL DEFAULT 100000 x99996 -160: + grep -F 'ABS foo' out/test/aarch64/many-sections2/log2 -253: trace: out/test/aarch64/thin-archive/d.a(out/test/aarch64/thin-archive/b.o) -160: 100009: 0000000000001000 0 NOTYPE LOCAL DEFAULT ABS foo -160: + not grep -F 'ABS x68966' out/test/aarch64/many-sections2/log2 -160: + grep -F 'ABS x68966' out/test/aarch64/many-sections2/log2 -253: + grep -F thin-archive/d.o out/test/aarch64/thin-archive/log 260: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-gd-noplt.sh .sh -253: trace: out/test/aarch64/thin-archive/d.o -247: + on_exit -247: + echo OK -247: OK -247: + exit 0 -253: + out/test/aarch64/thin-archive/exe -249/347 Test #247: aarch64-sysroot .......................................... Passed 0.53 sec -test 261 - Start 261: aarch64-tls-gd-to-ie - -261: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tls-gd-to-ie.sh" -261: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -261: Environment variables: -261: MACHINE=aarch64 -261: CPU= -261: Test timeout computed to be: 1500 -253: + grep 15 260: ++ testname=tls-gd-noplt 260: ++ t=out/test/aarch64/tls-gd-noplt 260: ++ mkdir -p out/test/aarch64/tls-gd-noplt +260: ++ case $MACHINE in +260: ++ tlsdesc_opt=-mtls-dialect=desc +260: +++ uname +260: ++ '[' Linux = FreeBSD ']' +260: ++ trap 'on_error $LINENO' ERR +260: ++ trap on_exit EXIT +260: ++ echo -n 'Testing tls-gd-noplt ... ' +260: Testing tls-gd-noplt ... ++ set -o pipefail +260: ++ set -x +260: + gcc -fPIC -fno-plt -c -o out/test/aarch64/tls-gd-noplt/a.o -xc - +260: + cat +200: + out/test/aarch64/relocatable-many-sections/exe +254: + cc -B. -o out/test/aarch64/thread-count/exe out/test/aarch64/thread-count/a.o -Wl,-threads +250/347 Test #255: aarch64-tls-alignment-multi .............................. Passed 0.37 sec +test 262 + Start 262: aarch64-tls-gd + +262: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tls-gd.sh" +262: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +262: Environment variables: +262: MACHINE=aarch64 +262: CPU= +262: Test timeout computed to be: 1500 +200: + grep Hello 261: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-gd-to-ie.sh -253: 15 -253: + on_exit -253: + echo OK -253: OK -253: + exit 0 -250/347 Test #253: aarch64-thin-archive ..................................... Passed 0.25 sec +247: + not cc -B. -o out/test/aarch64/sysroot/exe out/test/aarch64/sysroot/c.o -lfoo +200: Hello +200: + on_exit +200: + echo OK +200: OK +200: + exit 0 +251/347 Test #200: aarch64-relocatable-many-sections ........................ Passed 3.82 sec +test 263 + Start 263: aarch64-tls-ie + +263: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tls-ie.sh" +263: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +263: Environment variables: +263: MACHINE=aarch64 +263: CPU= +263: Test timeout computed to be: 1500 261: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 261: ++ export LC_ALL=C 261: ++ LC_ALL=C @@ -20633,34 +20679,64 @@ 261: ++ OBJCOPY=objcopy 261: ++ STRIP=strip 261: ++ QEMU= -test 262 - Start 262: aarch64-tls-gd - -262: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tls-gd.sh" -262: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -262: Environment variables: -262: MACHINE=aarch64 -262: CPU= -262: Test timeout computed to be: 1500 +261: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-gd-to-ie.sh .sh +261: ++ testname=tls-gd-to-ie +261: ++ t=out/test/aarch64/tls-gd-to-ie +261: ++ mkdir -p out/test/aarch64/tls-gd-to-ie +261: ++ case $MACHINE in +261: ++ tlsdesc_opt=-mtls-dialect=desc +259: + cc -B. -shared -o out/test/aarch64/tls-gd-dlopen/b.so out/test/aarch64/tls-gd-dlopen/a.o +258: + cc -B. -o out/test/aarch64/tls-dso/exe out/test/aarch64/tls-dso/a.so out/test/aarch64/tls-dso/b.o +261: +++ uname +263: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-ie.sh +261: ++ '[' Linux = FreeBSD ']' +261: ++ trap 'on_error $LINENO' ERR +261: ++ trap on_exit EXIT +261: ++ echo -n 'Testing tls-gd-to-ie ... ' +261: Testing tls-gd-to-ie ... ++ set -o pipefail +261: ++ set -x +261: + cat +263: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +263: ++ export LC_ALL=C +263: ++ LC_ALL=C +263: ++ '[' -z aarch64 ']' +263: ++ '[' -z '' ']' +263: ++ TESTDIR=out/test/aarch64 +263: ++ CC=cc +263: ++ CXX=c++ +263: ++ GCC=gcc +263: ++ GXX=g++ +263: ++ OBJDUMP=objdump +263: ++ OBJCOPY=objcopy +263: ++ STRIP=strip +263: ++ QEMU= +263: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-ie.sh .sh 262: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-gd.sh -160: + return 0 -160: + on_exit -160: + echo OK -160: OK -160: + exit 0 -251/347 Test #160: aarch64-many-sections2 ................................... Passed 3.62 sec +253: + grep -E 'thin-archive/d.a\(.*long-long-long-filename.o\)' out/test/aarch64/thin-archive/log +257: + readelf --dynamic out/test/aarch64/tls-df-static-tls/c.so +253: trace: out/test/aarch64/thin-archive/d.a(out/test/aarch64/thin-archive/long-long-long-filename.o) +253: + grep -E 'thin-archive/d.a\((.*/)?b.o\)' out/test/aarch64/thin-archive/log +253: trace: out/test/aarch64/thin-archive/d.a(out/test/aarch64/thin-archive/b.o) +253: + grep -F thin-archive/d.o out/test/aarch64/thin-archive/log +257: + grep STATIC_TLS +257: 0x000000000000001e (FLAGS) STATIC_TLS +257: + on_exit +257: + echo OK +257: OK +257: + exit 0 +252/347 Test #257: aarch64-tls-df-static-tls ................................ Passed 0.36 sec +test 264 + Start 264: aarch64-tls-irregular-start-addr + +264: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tls-irregular-start-addr.sh" +264: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +264: Environment variables: +264: MACHINE=aarch64 +264: CPU= +264: Test timeout computed to be: 1500 262: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 262: ++ export LC_ALL=C 262: ++ LC_ALL=C -test 263 - Start 263: aarch64-tls-ie - -263: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tls-ie.sh" -263: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -263: Environment variables: -263: MACHINE=aarch64 -263: CPU= -263: Test timeout computed to be: 1500 262: ++ '[' -z aarch64 ']' 262: ++ '[' -z '' ']' 262: ++ TESTDIR=out/test/aarch64 @@ -20672,6 +20748,7 @@ 262: ++ OBJCOPY=objcopy 262: ++ STRIP=strip 262: ++ QEMU= +261: + gcc -fPIC -c -o out/test/aarch64/tls-gd-to-ie/a.o -xc - 262: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-gd.sh .sh 262: ++ testname=tls-gd 262: ++ t=out/test/aarch64/tls-gd @@ -20679,63 +20756,49 @@ 262: ++ case $MACHINE in 262: ++ tlsdesc_opt=-mtls-dialect=desc 262: +++ uname -263: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-ie.sh -261: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-gd-to-ie.sh .sh -259: + gcc -fPIC -c -o out/test/aarch64/tls-gd-dlopen/c.o -xc - -261: ++ testname=tls-gd-to-ie -261: ++ t=out/test/aarch64/tls-gd-to-ie -261: ++ mkdir -p out/test/aarch64/tls-gd-to-ie +263: ++ testname=tls-ie +263: ++ t=out/test/aarch64/tls-ie +263: ++ mkdir -p out/test/aarch64/tls-ie 262: ++ '[' Linux = FreeBSD ']' 262: ++ trap 'on_error $LINENO' ERR 262: ++ trap on_exit EXIT 262: ++ echo -n 'Testing tls-gd ... ' 262: Testing tls-gd ... ++ set -o pipefail 262: ++ set -x -263: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -263: ++ export LC_ALL=C -263: ++ LC_ALL=C -263: ++ '[' -z aarch64 ']' -263: ++ '[' -z '' ']' -263: ++ TESTDIR=out/test/aarch64 -263: ++ CC=cc -263: ++ CXX=c++ -263: ++ GCC=gcc -263: ++ GXX=g++ -263: ++ OBJDUMP=objdump -263: ++ OBJCOPY=objcopy -263: ++ STRIP=strip -263: ++ QEMU= +264: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-irregular-start-addr.sh 262: + cat -263: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-ie.sh .sh -261: ++ case $MACHINE in -261: ++ tlsdesc_opt=-mtls-dialect=desc -260: ++ case $MACHINE in -260: ++ tlsdesc_opt=-mtls-dialect=desc -259: + cat -260: +++ uname -263: ++ testname=tls-ie -263: ++ t=out/test/aarch64/tls-ie -263: ++ mkdir -p out/test/aarch64/tls-ie -261: +++ uname -260: ++ '[' Linux = FreeBSD ']' -260: ++ trap 'on_error $LINENO' ERR -260: ++ trap on_exit EXIT -260: ++ echo -n 'Testing tls-gd-noplt ... ' -260: Testing tls-gd-noplt ... ++ set -o pipefail -260: ++ set -x -257: + readelf --dynamic out/test/aarch64/tls-df-static-tls/c.so +264: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +264: ++ export LC_ALL=C +264: ++ LC_ALL=C +264: ++ '[' -z aarch64 ']' +264: ++ '[' -z '' ']' +264: ++ TESTDIR=out/test/aarch64 +264: ++ CC=cc +264: ++ CXX=c++ +264: ++ GCC=gcc +264: ++ GXX=g++ +264: ++ OBJDUMP=objdump +264: ++ OBJCOPY=objcopy +264: ++ STRIP=strip +264: ++ QEMU= +264: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-irregular-start-addr.sh .sh +264: ++ testname=tls-irregular-start-addr +264: ++ t=out/test/aarch64/tls-irregular-start-addr +264: ++ mkdir -p out/test/aarch64/tls-irregular-start-addr 263: ++ case $MACHINE in 263: ++ tlsdesc_opt=-mtls-dialect=desc +264: ++ case $MACHINE in +264: ++ tlsdesc_opt=-mtls-dialect=desc +264: +++ uname +253: trace: out/test/aarch64/thin-archive/d.o +264: ++ '[' Linux = FreeBSD ']' +264: ++ trap 'on_error $LINENO' ERR +264: ++ trap on_exit EXIT +264: ++ echo -n 'Testing tls-irregular-start-addr ... ' +264: Testing tls-irregular-start-addr ... ++ set -o pipefail +264: ++ set -x +264: + cc -fPIC -c -o out/test/aarch64/tls-irregular-start-addr/a.o -xc - 263: +++ uname -261: ++ '[' Linux = FreeBSD ']' -261: ++ trap 'on_error $LINENO' ERR -261: ++ trap on_exit EXIT -261: ++ echo -n 'Testing tls-gd-to-ie ... ' -261: Testing tls-gd-to-ie ... ++ set -o pipefail -261: ++ set -x -260: + cat -260: + gcc -fPIC -fno-plt -c -o out/test/aarch64/tls-gd-noplt/a.o -xc - -258: + grep '5 3 5 3 5 3' 263: ++ '[' Linux = FreeBSD ']' 263: ++ trap 'on_error $LINENO' ERR 263: ++ trap on_exit EXIT @@ -20743,36 +20806,18 @@ 263: Testing tls-ie ... ++ set -o pipefail 263: ++ set -x 263: + cat -263: + gcc -fPIC -c -o out/test/aarch64/tls-ie/a.o -xc - -258: + out/test/aarch64/tls-dso/exe -257: + grep STATIC_TLS -261: + gcc -fPIC -c -o out/test/aarch64/tls-gd-to-ie/a.o -xc - -258: 5 3 5 3 5 3 -261: + cat -257: 0x000000000000001e (FLAGS) STATIC_TLS -257: + on_exit -257: + echo OK -257: OK -257: + exit 0 +264: + cat 262: + gcc -fPIC -c -o out/test/aarch64/tls-gd/a.o -xc - -252/347 Test #257: aarch64-tls-df-static-tls ................................ Passed 0.18 sec +263: + gcc -fPIC -c -o out/test/aarch64/tls-ie/a.o -xc - +253: + grep 15 +253: + out/test/aarch64/thin-archive/exe +253: 15 +253: + on_exit +253: + echo OK +253: OK +253: + exit 0 254: + cc -B. -o out/test/aarch64/thread-count/exe out/test/aarch64/thread-count/a.o -Wl,-threads=1 -test 264 - Start 264: aarch64-tls-irregular-start-addr - -264: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tls-irregular-start-addr.sh" -264: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -264: Environment variables: -264: MACHINE=aarch64 -264: CPU= -264: Test timeout computed to be: 1500 -258: + on_exit -258: + echo OK -258: OK -258: + exit 0 -255: + out/test/aarch64/tls-alignment-multi/exe -259: + cc -B. -o out/test/aarch64/tls-gd-dlopen/exe out/test/aarch64/tls-gd-dlopen/c.o -ldl -253/347 Test #258: aarch64-tls-dso .......................................... Passed 0.18 sec +253/347 Test #253: aarch64-thin-archive ..................................... Passed 0.51 sec test 265 Start 265: aarch64-tls-large-alignment @@ -20782,23 +20827,9 @@ 265: MACHINE=aarch64 265: CPU= 265: Test timeout computed to be: 1500 -255: + on_exit -255: + echo OK -255: OK -255: + exit 0 -263: + cc -B. -shared -o out/test/aarch64/tls-ie/b.so out/test/aarch64/tls-ie/a.o -254/347 Test #255: aarch64-tls-alignment-multi .............................. Passed 0.22 sec -252: + out/test/aarch64/textrel2/exe4 +260: + gcc -fPIC -fno-plt -c -o out/test/aarch64/tls-gd-noplt/b.o -xc - +260: + cat 265: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-large-alignment.sh -test 266 - Start 266: aarch64-tls-large-static-image - -266: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tls-large-static-image.sh" -266: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -266: Environment variables: -266: MACHINE=aarch64 -266: CPU= -266: Test timeout computed to be: 1500 265: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 265: ++ export LC_ALL=C 265: ++ LC_ALL=C @@ -20814,28 +20845,69 @@ 265: ++ STRIP=strip 265: ++ QEMU= 265: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-large-alignment.sh .sh +259: + gcc -fPIC -c -o out/test/aarch64/tls-gd-dlopen/c.o -xc - +259: + cat 265: ++ testname=tls-large-alignment 265: ++ t=out/test/aarch64/tls-large-alignment 265: ++ mkdir -p out/test/aarch64/tls-large-alignment -264: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-irregular-start-addr.sh -264: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -264: ++ export LC_ALL=C -264: ++ LC_ALL=C -264: ++ '[' -z aarch64 ']' -264: ++ '[' -z '' ']' -264: ++ TESTDIR=out/test/aarch64 -264: ++ CC=cc -264: ++ CXX=c++ -264: ++ GCC=gcc -264: ++ GXX=g++ -264: ++ OBJDUMP=objdump -264: ++ OBJCOPY=objcopy -264: ++ STRIP=strip -264: ++ QEMU= -266: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-large-static-image.sh +247: + not cc -B. -o out/test/aarch64/sysroot/exe out/test/aarch64/sysroot/c.o -Wl,--sysroot=out/test/aarch64/sysroot -Wl,-Lfoo/bar -lfoo 265: ++ case $MACHINE in 265: ++ tlsdesc_opt=-mtls-dialect=desc 265: +++ uname +220: 3 printf("Hello world\n"); +263: + cc -B. -shared -o out/test/aarch64/tls-ie/b.so out/test/aarch64/tls-ie/a.o +265: ++ '[' Linux = FreeBSD ']' +265: ++ trap 'on_error $LINENO' ERR +265: ++ trap on_exit EXIT +265: ++ echo -n 'Testing tls-large-alignment ... ' +265: Testing tls-large-alignment ... ++ set -o pipefail +265: ++ set -x +220: + cc -c -o out/test/aarch64/separate-debug-file/a.o out/test/aarch64/separate-debug-file/a.c -g +265: + cat +265: + cc -fPIC -std=c11 -c -o out/test/aarch64/tls-large-alignment/a.o -xc - +264: + 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 +261: + cc -fPIC -c -o out/test/aarch64/tls-gd-to-ie/b.o -xc - +261: + cat +259: + cc -B. -o out/test/aarch64/tls-gd-dlopen/exe out/test/aarch64/tls-gd-dlopen/c.o -ldl +260: + gcc -fPIC -fno-plt -c -o out/test/aarch64/tls-gd-noplt/c.o -xc - +260: + cat +247: + on_exit +247: + echo OK +247: OK +247: + exit 0 +254/347 Test #247: aarch64-sysroot .......................................... Passed 0.86 sec +test 266 + Start 266: aarch64-tls-large-static-image + +266: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tls-large-static-image.sh" +266: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +266: Environment variables: +266: MACHINE=aarch64 +266: CPU= +266: Test timeout computed to be: 1500 +258: + out/test/aarch64/tls-dso/exe +258: + grep '5 3 5 3 5 3' +258: 5 3 5 3 5 3 +258: + on_exit +258: + echo OK +258: OK +258: + exit 0 +265: + cc -fPIC -std=c11 -c -o out/test/aarch64/tls-large-alignment/b.o -xc - +265: + cat +255/347 Test #258: aarch64-tls-dso .......................................... Passed 0.41 sec +test 267 + Start 267: aarch64-tls-ld-noplt + +267: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tls-ld-noplt.sh" +267: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +267: Environment variables: +267: MACHINE=aarch64 +267: CPU= +267: Test timeout computed to be: 1500 +254: + cc -B. -o out/test/aarch64/thread-count/exe out/test/aarch64/thread-count/a.o -Wl,--threads=1 +262: + cat +262: + gcc -fPIC -c -o out/test/aarch64/tls-gd/b.o -xc - +266: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-large-static-image.sh 266: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 266: ++ export LC_ALL=C 266: ++ LC_ALL=C @@ -20850,64 +20922,15 @@ 266: ++ OBJCOPY=objcopy 266: ++ STRIP=strip 266: ++ QEMU= -261: + cat -265: ++ '[' Linux = FreeBSD ']' -265: ++ trap 'on_error $LINENO' ERR -265: ++ trap on_exit EXIT -265: ++ echo -n 'Testing tls-large-alignment ... ' -265: Testing tls-large-alignment ... ++ set -o pipefail -265: ++ set -x -265: + cat -265: + cc -fPIC -std=c11 -c -o out/test/aarch64/tls-large-alignment/a.o -xc - 266: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-large-static-image.sh .sh 266: ++ testname=tls-large-static-image 266: ++ t=out/test/aarch64/tls-large-static-image 266: ++ mkdir -p out/test/aarch64/tls-large-static-image -252: + grep 'Hello world' -264: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-irregular-start-addr.sh .sh -252: Hello world -264: ++ testname=tls-irregular-start-addr -264: ++ t=out/test/aarch64/tls-irregular-start-addr -264: ++ mkdir -p out/test/aarch64/tls-irregular-start-addr 266: ++ case $MACHINE in 266: ++ tlsdesc_opt=-mtls-dialect=desc -266: +++ uname -266: ++ '[' Linux = FreeBSD ']' -266: ++ trap 'on_error $LINENO' ERR -266: ++ trap on_exit EXIT -266: ++ echo -n 'Testing tls-large-static-image ... ' -266: Testing tls-large-static-image ... ++ set -o pipefail -266: ++ set -x -266: + cat -266: + cc -fPIC -c -o out/test/aarch64/tls-large-static-image/a.o -xc - -260: + cat -252: + on_exit -252: + echo OK -252: OK -252: + exit 0 -261: + cc -fPIC -c -o out/test/aarch64/tls-gd-to-ie/b.o -xc - -260: + gcc -fPIC -fno-plt -c -o out/test/aarch64/tls-gd-noplt/b.o -xc - -255/347 Test #252: aarch64-textrel2 ......................................... Passed 0.36 sec -test 267 - Start 267: aarch64-tls-ld-noplt - -267: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tls-ld-noplt.sh" -267: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -267: Environment variables: -267: MACHINE=aarch64 -267: CPU= -267: Test timeout computed to be: 1500 -264: ++ case $MACHINE in -264: ++ tlsdesc_opt=-mtls-dialect=desc -264: +++ uname -264: ++ '[' Linux = FreeBSD ']' -264: ++ trap 'on_error $LINENO' ERR -264: ++ trap on_exit EXIT -264: ++ echo -n 'Testing tls-irregular-start-addr ... ' -264: Testing tls-irregular-start-addr ... ++ set -o pipefail -264: ++ set -x -264: + cat -264: + cc -fPIC -c -o out/test/aarch64/tls-irregular-start-addr/a.o -xc - +265: + cc -fPIC -c -o out/test/aarch64/tls-large-alignment/c.o -xc - +265: + cat +220: + cc -B. -o out/test/aarch64/separate-debug-file/exe3 out/test/aarch64/separate-debug-file/a.o -Wl,--separate-debug-file,--compress-debug-sections=zlib 267: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-ld-noplt.sh 267: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 267: ++ export LC_ALL=C @@ -20924,18 +20947,26 @@ 267: ++ STRIP=strip 267: ++ QEMU= 267: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-ld-noplt.sh .sh +264: + grep '^42$' 267: ++ testname=tls-ld-noplt 267: ++ t=out/test/aarch64/tls-ld-noplt 267: ++ mkdir -p out/test/aarch64/tls-ld-noplt +266: +++ uname +263: + gcc -c -o out/test/aarch64/tls-ie/c.o -xc - -fPIC +263: + cat 267: ++ case $MACHINE in 267: ++ tlsdesc_opt=-mtls-dialect=desc -262: + cat -266: + cat -263: + gcc -c -o out/test/aarch64/tls-ie/c.o -xc - -fPIC -262: + gcc -fPIC -c -o out/test/aarch64/tls-gd/b.o -xc - -266: + cc -fPIC -c -o out/test/aarch64/tls-large-static-image/b.o -xc - +266: ++ '[' Linux = FreeBSD ']' +266: ++ trap 'on_error $LINENO' ERR +266: ++ trap on_exit EXIT +266: ++ echo -n 'Testing tls-large-static-image ... ' +266: Testing tls-large-static-image ... ++ set -o pipefail +266: ++ set -x +264: + out/test/aarch64/tls-irregular-start-addr/exe1 267: +++ uname -263: + cat +264: 42 +264: + 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 +266: + cc -fPIC -c -o out/test/aarch64/tls-large-static-image/a.o -xc - 267: ++ '[' Linux = FreeBSD ']' 267: ++ trap 'on_error $LINENO' ERR 267: ++ trap on_exit EXIT @@ -20943,28 +20974,20 @@ 267: Testing tls-ld-noplt ... ++ set -o pipefail 267: ++ set -x 267: + cat -254: + cc -B. -o out/test/aarch64/thread-count/exe out/test/aarch64/thread-count/a.o -Wl,--threads=1 267: + gcc -fPIC -ftls-model=local-dynamic -fno-plt -c -o out/test/aarch64/tls-ld-noplt/a.o -xc - -265: + cat +260: + cc -B. -shared -o out/test/aarch64/tls-gd-noplt/d.so out/test/aarch64/tls-gd-noplt/b.o +266: + cat +262: + cat 261: + cc -B. -shared -o out/test/aarch64/tls-gd-to-ie/c.so out/test/aarch64/tls-gd-to-ie/a.o -264: + 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 -265: + cc -fPIC -std=c11 -c -o out/test/aarch64/tls-large-alignment/b.o -xc - -260: + cat +262: + gcc -fPIC -c -o out/test/aarch64/tls-gd/c.o -xc - 259: + out/test/aarch64/tls-gd-dlopen/exe out/test/aarch64/tls-gd-dlopen/b.so 259: + grep '3 0 5' -260: + gcc -fPIC -fno-plt -c -o out/test/aarch64/tls-gd-noplt/c.o -xc - 259: 3 0 5 259: + on_exit 259: + echo OK 259: OK 259: + exit 0 -262: + cat -262: + gcc -fPIC -c -o out/test/aarch64/tls-gd/c.o -xc - -254: + on_exit -254: + echo OK -254: OK -254: + exit 0 -256/347 Test #254: aarch64-thread-count ..................................... Passed 0.30 sec +256/347 Test #259: aarch64-tls-gd-dlopen .................................... Passed 0.34 sec test 268 Start 268: aarch64-tls-ld @@ -20975,22 +20998,10 @@ 268: CPU= 268: Test timeout computed to be: 1500 263: + cc -B. -o out/test/aarch64/tls-ie/exe out/test/aarch64/tls-ie/b.so out/test/aarch64/tls-ie/c.o -265: + cat -267: + gcc -fPIC -ftls-model=local-dynamic -fno-plt -c -o out/test/aarch64/tls-ld-noplt/b.o -xc - +265: + 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 267: + cat -265: + cc -fPIC -c -o out/test/aarch64/tls-large-alignment/c.o -xc - +267: + gcc -fPIC -ftls-model=local-dynamic -fno-plt -c -o out/test/aarch64/tls-ld-noplt/b.o -xc - 268: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-ld.sh -257/347 Test #259: aarch64-tls-gd-dlopen .................................... Passed 0.24 sec -260: + cc -B. -shared -o out/test/aarch64/tls-gd-noplt/d.so out/test/aarch64/tls-gd-noplt/b.o -test 269 - Start 269: aarch64-tls-le-error - -269: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tls-le-error.sh" -269: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -269: Environment variables: -269: MACHINE=aarch64 -269: CPU= -269: Test timeout computed to be: 1500 268: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 268: ++ export LC_ALL=C 268: ++ LC_ALL=C @@ -21009,20 +21020,46 @@ 268: ++ testname=tls-ld 268: ++ t=out/test/aarch64/tls-ld 268: ++ mkdir -p out/test/aarch64/tls-ld -262: + cc -B. -shared -o out/test/aarch64/tls-gd/d.so out/test/aarch64/tls-gd/b.o -264: + out/test/aarch64/tls-irregular-start-addr/exe1 -264: + grep '^42$' +254: + on_exit +254: + echo OK +254: OK +254: + exit 0 +257/347 Test #254: aarch64-thread-count ..................................... Passed 0.67 sec +test 269 + Start 269: aarch64-tls-le-error + +269: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tls-le-error.sh" +269: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +269: Environment variables: +269: MACHINE=aarch64 +269: CPU= +269: Test timeout computed to be: 1500 268: ++ case $MACHINE in 268: ++ tlsdesc_opt=-mtls-dialect=desc 268: +++ uname -269: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-le-error.sh 268: ++ '[' Linux = FreeBSD ']' 268: ++ trap 'on_error $LINENO' ERR 268: ++ trap on_exit EXIT 268: ++ echo -n 'Testing tls-ld ... ' 268: Testing tls-ld ... ++ set -o pipefail 268: ++ set -x +268: + cc -fPIC -ftls-model=local-dynamic -c -o out/test/aarch64/tls-ld/a.o -xc - 268: + cat +266: + cc -fPIC -c -o out/test/aarch64/tls-large-static-image/b.o -xc - +266: + cat +262: + cc -B. -shared -o out/test/aarch64/tls-gd/d.so out/test/aarch64/tls-gd/b.o +269: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-le-error.sh +220: + readelf -SW out/test/aarch64/separate-debug-file/exe3 +220: + grep -F .gnu_debuglink +264: + out/test/aarch64/tls-irregular-start-addr/exe2 +264: + grep '^42$' +264: 42 +261: + 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 +220: [30] .gnu_debuglink PROGBITS 0000000000000000 000ac0 000010 00 0 0 4 +220: + flock out/test/aarch64/separate-debug-file/exe3 true +264: + 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 +263: + grep '^0 0 3 5 7$' +263: + out/test/aarch64/tls-ie/exe 269: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 269: ++ export LC_ALL=C 269: ++ LC_ALL=C @@ -21037,45 +21074,56 @@ 269: ++ OBJCOPY=objcopy 269: ++ STRIP=strip 269: ++ QEMU= +267: + 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 +220: + grep '\.debug_info .*C' 269: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-le-error.sh .sh -268: + cc -fPIC -ftls-model=local-dynamic -c -o out/test/aarch64/tls-ld/a.o -xc - 269: ++ testname=tls-le-error 269: ++ t=out/test/aarch64/tls-le-error 269: ++ mkdir -p out/test/aarch64/tls-le-error -264: 42 -264: + 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 +263: 0 0 3 5 7 +263: + 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 +220: + readelf -W --sections out/test/aarch64/separate-debug-file/exe3.dbg +220: [35] .debug_info PROGBITS 0000000000000000 000fe4 00007c 00 C 0 0 1 +220: + gdb out/test/aarch64/separate-debug-file/exe3 -ex 'list main' -ex quit +220: + grep -F printf +260: + cc -B. -shared -o out/test/aarch64/tls-gd-noplt/e.so out/test/aarch64/tls-gd-noplt/c.o -Wl,--no-relax +266: + 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 269: ++ case $MACHINE in 269: ++ tlsdesc_opt=-mtls-dialect=desc 269: +++ uname -261: + 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 269: ++ '[' Linux = FreeBSD ']' 269: ++ trap 'on_error $LINENO' ERR 269: ++ trap on_exit EXIT 269: ++ echo -n 'Testing tls-le-error ... ' 269: Testing tls-le-error ... ++ set -o pipefail 269: ++ set -x +268: + gcc -fPIC -ftls-model=local-dynamic -c -o out/test/aarch64/tls-ld/b.o -xc - +268: + cat 269: + cat -267: + 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 269: + gcc -fPIC -c -o out/test/aarch64/tls-le-error/a.o -xc - -200: + cc -B. -o out/test/aarch64/relocatable-many-sections/exe out/test/aarch64/relocatable-many-sections/c.o -266: + 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 -265: + 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 -260: + cc -B. -shared -o out/test/aarch64/tls-gd-noplt/e.so out/test/aarch64/tls-gd-noplt/c.o -Wl,--no-relax -263: + out/test/aarch64/tls-ie/exe -268: + cat -268: + gcc -fPIC -ftls-model=local-dynamic -c -o out/test/aarch64/tls-ld/b.o -xc - +267: + grep '3 5 3 5' +267: + out/test/aarch64/tls-ld-noplt/exe +264: + out/test/aarch64/tls-irregular-start-addr/exe3 +264: + grep '^42$' +267: 3 5 3 5 +267: + 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 +261: + out/test/aarch64/tls-gd-to-ie/exe1 +261: + grep '1 2 3' +261: 1 2 3 +261: + 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: + 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 +264: 42 +264: + 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 +262: + cc -B. -shared -o out/test/aarch64/tls-gd/e.so out/test/aarch64/tls-gd/c.o -Wl,--no-relax 263: + grep '^0 0 3 5 7$' -269: + not cc -B. -shared -o out/test/aarch64/tls-le-error/b.so out/test/aarch64/tls-le-error/a.o +263: + out/test/aarch64/tls-ie/exe +265: + 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 263: 0 0 3 5 7 -263: + 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 -269: + grep 'relocation .* against `foo` can not be used when making a shared object; recompile with -fPIC' -220: 3 printf("Hello world\n"); -220: + on_exit -220: + echo OK -220: OK -220: + exit 0 -268: + 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 -258/347 Test #220: aarch64-separate-debug-file .............................. Passed 1.51 sec +263: + on_exit +263: + echo OK +263: OK +263: + exit 0 +258/347 Test #263: aarch64-tls-ie ........................................... Passed 0.39 sec test 270 Start 270: aarch64-tls-le @@ -21085,10 +21133,9 @@ 270: MACHINE=aarch64 270: CPU= 270: Test timeout computed to be: 1500 -264: + out/test/aarch64/tls-irregular-start-addr/exe2 -264: + grep '^42$' -264: 42 -264: + 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 +268: + 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 +269: + grep 'relocation .* against `foo` can not be used when making a shared object; recompile with -fPIC' +269: + not cc -B. -shared -o out/test/aarch64/tls-le-error/b.so out/test/aarch64/tls-le-error/a.o 270: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-le.sh 270: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 270: ++ export LC_ALL=C @@ -21104,18 +21151,13 @@ 270: ++ OBJCOPY=objcopy 270: ++ STRIP=strip 270: ++ QEMU= -262: + cc -B. -shared -o out/test/aarch64/tls-gd/e.so out/test/aarch64/tls-gd/c.o -Wl,--no-relax 270: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-le.sh .sh +264: + grep '^42$' 270: ++ testname=tls-le 270: ++ t=out/test/aarch64/tls-le 270: ++ mkdir -p out/test/aarch64/tls-le -261: + grep '1 2 3' 270: ++ case $MACHINE in 270: ++ tlsdesc_opt=-mtls-dialect=desc -261: + out/test/aarch64/tls-gd-to-ie/exe1 -267: + grep '3 5 3 5' -261: 1 2 3 -261: + 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 270: +++ uname 270: ++ '[' Linux = FreeBSD ']' 270: ++ trap 'on_error $LINENO' ERR @@ -21123,19 +21165,14 @@ 270: ++ echo -n 'Testing tls-le ... ' 270: Testing tls-le ... ++ set -o pipefail 270: ++ set -x -270: + cat -267: + out/test/aarch64/tls-ld-noplt/exe 270: + gcc -fPIC -c -o out/test/aarch64/tls-le/a.o -xc - -266: + out/test/aarch64/tls-large-static-image/exe -267: 3 5 3 5 -267: + 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 -266: + grep '^1 2 3 0 5$' -266: 1 2 3 0 5 -266: + on_exit -266: + echo OK -266: OK -266: + exit 0 -259/347 Test #266: aarch64-tls-large-static-image ........................... Passed 0.17 sec +264: + out/test/aarch64/tls-irregular-start-addr/exe4 +264: 42 +264: + on_exit +264: + echo OK +264: OK +264: + exit 0 +259/347 Test #264: aarch64-tls-irregular-start-addr ......................... Passed 0.40 sec test 271 Start 271: aarch64-tls-nopic @@ -21145,7 +21182,14 @@ 271: MACHINE=aarch64 271: CPU= 271: Test timeout computed to be: 1500 +270: + cat 271: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-nopic.sh +260: + out/test/aarch64/tls-gd-noplt/exe +260: + grep '1 2 3 4 5 6' +260: 1 2 3 4 5 6 +260: + 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 +266: + out/test/aarch64/tls-large-static-image/exe +266: + grep '^1 2 3 0 5$' 271: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 271: ++ export LC_ALL=C 271: ++ LC_ALL=C @@ -21160,18 +21204,12 @@ 271: ++ OBJCOPY=objcopy 271: ++ STRIP=strip 271: ++ QEMU= -271: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-nopic.sh .sh -271: ++ testname=tls-nopic -271: ++ t=out/test/aarch64/tls-nopic -271: ++ mkdir -p out/test/aarch64/tls-nopic -263: + grep '^0 0 3 5 7$' -269: mold: error: out/test/aarch64/tls-le-error/a.o:(.text): relocation R_AARCH64_TLSLE_ADD_TPREL_LO12_NC against `foo` can not be used when making a shared object; recompile with -fPIC -269: + on_exit -269: + echo OK -269: OK -269: + exit 0 -263: + out/test/aarch64/tls-ie/exe -260/347 Test #269: aarch64-tls-le-error ..................................... Passed 0.09 sec +266: 1 2 3 0 5 +266: + on_exit +266: + echo OK +266: OK +266: + exit 0 +260/347 Test #266: aarch64-tls-large-static-image ........................... Passed 0.32 sec test 272 Start 272: aarch64-tls-pic @@ -21181,23 +21219,25 @@ 272: MACHINE=aarch64 272: CPU= 272: Test timeout computed to be: 1500 -265: + 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 -271: ++ case $MACHINE in -271: ++ tlsdesc_opt=-mtls-dialect=desc -271: +++ uname -271: ++ '[' Linux = FreeBSD ']' -271: ++ trap 'on_error $LINENO' ERR -271: ++ trap on_exit EXIT -271: ++ echo -n 'Testing tls-nopic ... ' -271: Testing tls-nopic ... ++ set -o pipefail -271: ++ set -x -271: + cat -263: 0 0 3 5 7 -263: + on_exit -263: + echo OK -263: OK -263: + exit 0 -261/347 Test #263: aarch64-tls-ie ........................................... Passed 0.24 sec +267: + out/test/aarch64/tls-ld-noplt/exe +265: + out/test/aarch64/tls-large-alignment/exe1 +261: + 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 +262: + 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 +267: + grep '3 5 3 5' +271: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-nopic.sh .sh +265: + grep '^42 1 2 3$' +271: ++ testname=tls-nopic +271: ++ t=out/test/aarch64/tls-nopic +271: ++ mkdir -p out/test/aarch64/tls-nopic +265: 42 1 2 3 +265: + 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 +272: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-pic.sh +267: 3 5 3 5 +267: + on_exit +267: + echo OK +267: OK +267: + exit 0 +261/347 Test #267: aarch64-tls-ld-noplt ..................................... Passed 0.32 sec test 273 Start 273: aarch64-tls-small-alignment @@ -21207,15 +21247,10 @@ 273: MACHINE=aarch64 273: CPU= 273: Test timeout computed to be: 1500 -268: + out/test/aarch64/tls-ld/exe1 -268: + grep '3 5 3 5' -268: 3 5 3 5 -272: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-pic.sh 272: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 272: ++ export LC_ALL=C 272: ++ LC_ALL=C 272: ++ '[' -z aarch64 ']' -261: + 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 272: ++ '[' -z '' ']' 272: ++ TESTDIR=out/test/aarch64 272: ++ CC=cc @@ -21226,14 +21261,8 @@ 272: ++ OBJCOPY=objcopy 272: ++ STRIP=strip 272: ++ QEMU= -268: + 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 -272: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-pic.sh .sh -271: + gcc -c -o out/test/aarch64/tls-nopic/a.o -xc - -272: ++ testname=tls-pic -272: ++ t=out/test/aarch64/tls-pic -272: ++ mkdir -p out/test/aarch64/tls-pic -272: ++ case $MACHINE in -272: ++ tlsdesc_opt=-mtls-dialect=desc +271: ++ case $MACHINE in +271: ++ tlsdesc_opt=-mtls-dialect=desc 273: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-small-alignment.sh 273: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 273: ++ export LC_ALL=C @@ -21249,38 +21278,51 @@ 273: ++ OBJCOPY=objcopy 273: ++ STRIP=strip 273: ++ QEMU= -260: + 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 -200: + out/test/aarch64/relocatable-many-sections/exe -200: + grep Hello -200: Hello -200: + on_exit -200: + echo OK -200: OK -200: + exit 0 273: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-small-alignment.sh .sh -270: + cat 273: ++ testname=tls-small-alignment 273: ++ t=out/test/aarch64/tls-small-alignment 273: ++ mkdir -p out/test/aarch64/tls-small-alignment -262: + 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 273: ++ case $MACHINE in 273: ++ tlsdesc_opt=-mtls-dialect=desc -270: + gcc -fPIC -c -o out/test/aarch64/tls-le/b.o -xc - +272: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-pic.sh .sh 273: +++ uname +271: +++ uname +272: ++ testname=tls-pic +272: ++ t=out/test/aarch64/tls-pic +272: ++ mkdir -p out/test/aarch64/tls-pic 273: ++ '[' Linux = FreeBSD ']' -272: +++ uname -272: ++ '[' Linux = FreeBSD ']' 273: ++ trap 'on_error $LINENO' ERR 273: ++ trap on_exit EXIT 273: ++ echo -n 'Testing tls-small-alignment ... ' 273: Testing tls-small-alignment ... ++ set -o pipefail 273: ++ set -x +273: + cat +271: ++ '[' Linux = FreeBSD ']' +271: ++ trap 'on_error $LINENO' ERR +271: ++ trap on_exit EXIT +271: ++ echo -n 'Testing tls-nopic ... ' +271: Testing tls-nopic ... ++ set -o pipefail +271: ++ set -x +271: + cat +271: + gcc -c -o out/test/aarch64/tls-nopic/a.o -xc - +273: + cc -fPIC -c -o out/test/aarch64/tls-small-alignment/a.o -xassembler - +272: ++ case $MACHINE in +272: ++ tlsdesc_opt=-mtls-dialect=desc +270: + gcc -fPIC -c -o out/test/aarch64/tls-le/b.o -xc - +270: + cat +269: mold: error: out/test/aarch64/tls-le-error/a.o:(.text): relocation R_AARCH64_TLSLE_ADD_TPREL_LO12_NC against `foo` can not be used when making a shared object; recompile with -fPIC +272: +++ uname +272: ++ '[' Linux = FreeBSD ']' 272: ++ trap 'on_error $LINENO' ERR 272: ++ trap on_exit EXIT 272: ++ echo -n 'Testing tls-pic ... ' 272: Testing tls-pic ... ++ set -o pipefail 272: ++ set -x -262/347 Test #200: aarch64-relocatable-many-sections ........................ Passed 2.35 sec +269: + on_exit +269: + echo OK +269: OK +269: + exit 0 +262/347 Test #269: aarch64-tls-le-error ..................................... Passed 0.24 sec test 274 Start 274: aarch64-tlsdesc-dlopen @@ -21290,23 +21332,14 @@ 274: MACHINE=aarch64 274: CPU= 274: Test timeout computed to be: 1500 -273: + cc -fPIC -c -o out/test/aarch64/tls-small-alignment/a.o -xassembler - -273: + cat -272: + gcc -fPIC -c -o out/test/aarch64/tls-pic/a.o -xc - -264: + grep '^42$' -264: + out/test/aarch64/tls-irregular-start-addr/exe3 -264: 42 -264: + 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 -271: + cat -267: + out/test/aarch64/tls-ld-noplt/exe -267: + grep '3 5 3 5' -271: + cc -xc -c -o out/test/aarch64/tls-nopic/b.o - -267: 3 5 3 5 -267: + on_exit -267: + echo OK -267: OK -267: + exit 0 272: + cat +272: + gcc -fPIC -c -o out/test/aarch64/tls-pic/a.o -xc - +268: + out/test/aarch64/tls-ld/exe1 +268: + grep '3 5 3 5' +268: 3 5 3 5 +268: + 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 +273: + cat +273: + cc -fPIC -std=c11 -c -o out/test/aarch64/tls-small-alignment/b.o -xc - 274: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tlsdesc-dlopen.sh 274: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 274: ++ export LC_ALL=C @@ -21323,16 +21356,23 @@ 274: ++ STRIP=strip 274: ++ QEMU= 274: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tlsdesc-dlopen.sh .sh +273: + cc -fPIC -c -o out/test/aarch64/tls-small-alignment/c.o -xc - +262: + out/test/aarch64/tls-gd/exe1 +262: + grep '1 2 3 4 5 6' +262: 1 2 3 4 5 6 +260: + grep '1 2 3 4 5 6' +260: + out/test/aarch64/tls-gd-noplt/exe +260: 1 2 3 4 5 6 +260: + on_exit +260: + echo OK +260: OK +260: + exit 0 +262: + 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 +273: + cat 274: ++ testname=tlsdesc-dlopen 274: ++ t=out/test/aarch64/tlsdesc-dlopen 274: ++ mkdir -p out/test/aarch64/tlsdesc-dlopen -274: ++ case $MACHINE in -274: ++ tlsdesc_opt=-mtls-dialect=desc -265: + out/test/aarch64/tls-large-alignment/exe1 -263/347 Test #267: aarch64-tls-ld-noplt ..................................... Passed 0.22 sec -273: + cc -fPIC -std=c11 -c -o out/test/aarch64/tls-small-alignment/b.o -xc - -274: +++ uname -265: + grep '^42 1 2 3$' +263/347 Test #260: aarch64-tls-gd-noplt ..................................... Passed 0.59 sec test 275 Start 275: aarch64-tlsdesc-import @@ -21342,21 +21382,9 @@ 275: MACHINE=aarch64 275: CPU= 275: Test timeout computed to be: 1500 -274: ++ '[' Linux = FreeBSD ']' -274: ++ trap 'on_error $LINENO' ERR -274: ++ trap on_exit EXIT -274: ++ echo -n 'Testing tlsdesc-dlopen ... ' -274: Testing tlsdesc-dlopen ... ++ set -o pipefail -274: ++ set -x -274: + supports_tlsdesc -274: + '[' aarch64 = arm ']' -265: 42 1 2 3 -265: + 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 +274: ++ case $MACHINE in +274: ++ tlsdesc_opt=-mtls-dialect=desc 270: + cc -B. -o out/test/aarch64/tls-le/exe1 out/test/aarch64/tls-le/a.o out/test/aarch64/tls-le/b.o -261: + out/test/aarch64/tls-gd-to-ie/exe2 -261: + grep '1 2 3' -261: 1 2 3 -274: ++ uname 275: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tlsdesc-import.sh 275: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 275: ++ export LC_ALL=C @@ -21373,25 +21401,13 @@ 275: ++ STRIP=strip 275: ++ QEMU= 275: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tlsdesc-import.sh .sh -261: + 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 275: ++ testname=tlsdesc-import 275: ++ t=out/test/aarch64/tlsdesc-import 275: ++ mkdir -p out/test/aarch64/tlsdesc-import +274: +++ uname 275: ++ case $MACHINE in 275: ++ tlsdesc_opt=-mtls-dialect=desc -268: + out/test/aarch64/tls-ld/exe2 -268: + grep '3 5 3 5' -268: 3 5 3 5 275: +++ uname -268: + on_exit -268: + echo OK -268: OK -268: + exit 0 -274: + '[' Linux = FreeBSD ']' -274: + '[' -mtls-dialect=desc = '' ']' -273: + cat -274: + echo '_Thread_local int x; int y() { return x; }' -274: + cc -shared -fPIC -xc -o out/test/aarch64/tlsdesc-dlopen/tlsdesc.so -mtls-dialect=desc - 275: ++ '[' Linux = FreeBSD ']' 275: ++ trap 'on_error $LINENO' ERR 275: ++ trap on_exit EXIT @@ -21400,10 +21416,32 @@ 275: ++ set -x 275: + supports_tlsdesc 275: + '[' aarch64 = arm ']' -272: + cat -272: + cc -xc -c -o out/test/aarch64/tls-pic/b.o - 275: ++ uname -264/347 Test #268: aarch64-tls-ld ........................................... Passed 0.19 sec +275: + '[' Linux = FreeBSD ']' +275: + '[' -mtls-dialect=desc = '' ']' +268: + grep '3 5 3 5' +274: ++ '[' Linux = FreeBSD ']' +274: ++ trap 'on_error $LINENO' ERR +274: ++ trap on_exit EXIT +274: ++ echo -n 'Testing tlsdesc-dlopen ... ' +274: Testing tlsdesc-dlopen ... ++ set -o pipefail +274: ++ set -x +274: + supports_tlsdesc +274: + '[' aarch64 = arm ']' +274: ++ uname +275: + cc -shared -fPIC -xc -o out/test/aarch64/tlsdesc-import/tlsdesc.so -mtls-dialect=desc - +274: + '[' Linux = FreeBSD ']' +274: + '[' -mtls-dialect=desc = '' ']' +275: + echo '_Thread_local int x; int y() { return x; }' +274: + echo '_Thread_local int x; int y() { return x; }' +274: + cc -shared -fPIC -xc -o out/test/aarch64/tlsdesc-dlopen/tlsdesc.so -mtls-dialect=desc - +268: + out/test/aarch64/tls-ld/exe2 +268: 3 5 3 5 +268: + on_exit +268: + echo OK +268: OK +268: + exit 0 +264/347 Test #268: aarch64-tls-ld ........................................... Passed 0.34 sec test 276 Start 276: aarch64-tlsdesc-initial-exec @@ -21413,19 +21451,21 @@ 276: MACHINE=aarch64 276: CPU= 276: Test timeout computed to be: 1500 -275: + '[' Linux = FreeBSD ']' -275: + '[' -mtls-dialect=desc = '' ']' -275: + cc -shared -fPIC -xc -o out/test/aarch64/tlsdesc-import/tlsdesc.so -mtls-dialect=desc - -272: + cc -B. -o out/test/aarch64/tls-pic/exe out/test/aarch64/tls-pic/a.o out/test/aarch64/tls-pic/b.o -275: + echo '_Thread_local int x; int y() { return x; }' -262: + grep '1 2 3 4 5 6' -271: + 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 +271: + cc -xc -c -o out/test/aarch64/tls-nopic/b.o - +271: + cat +265: + out/test/aarch64/tls-large-alignment/exe2 276: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tlsdesc-initial-exec.sh -262: + out/test/aarch64/tls-gd/exe1 +265: + grep '^42 1 2 3$' +265: 42 1 2 3 +265: + on_exit +265: + echo OK +265: OK +265: + exit 0 276: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 276: ++ export LC_ALL=C 276: ++ LC_ALL=C 276: ++ '[' -z aarch64 ']' +265/347 Test #265: aarch64-tls-large-alignment .............................. Passed 0.53 sec 276: ++ '[' -z '' ']' 276: ++ TESTDIR=out/test/aarch64 276: ++ CC=cc @@ -21436,14 +21476,27 @@ 276: ++ OBJCOPY=objcopy 276: ++ STRIP=strip 276: ++ QEMU= -262: 1 2 3 4 5 6 -262: + 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 +test 277 + Start 277: aarch64-tlsdesc-local-dynamic + +277: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tlsdesc-local-dynamic.sh" +277: Working Directory: /build/reproducible-path/mold-2.37.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.37.1+dfsg/test/tlsdesc-initial-exec.sh .sh +272: + cat +272: + cc -xc -c -o out/test/aarch64/tls-pic/b.o - 276: ++ testname=tlsdesc-initial-exec 276: ++ t=out/test/aarch64/tlsdesc-initial-exec 276: ++ mkdir -p out/test/aarch64/tlsdesc-initial-exec +272: + cc -B. -o out/test/aarch64/tls-pic/exe out/test/aarch64/tls-pic/a.o out/test/aarch64/tls-pic/b.o +262: + grep '1 2 3 4 5 6' 276: ++ case $MACHINE in 276: ++ tlsdesc_opt=-mtls-dialect=desc +262: + out/test/aarch64/tls-gd/exe2 +275: + cc -xc -c -o out/test/aarch64/tlsdesc-import/tlsdesc.o - 276: +++ uname 276: ++ '[' Linux = FreeBSD ']' 276: ++ trap 'on_error $LINENO' ERR @@ -21453,46 +21506,17 @@ 276: ++ set -x 276: + supports_tlsdesc 276: + '[' aarch64 = arm ']' -260: + grep '1 2 3 4 5 6' -260: + out/test/aarch64/tls-gd-noplt/exe 276: ++ uname 276: + '[' Linux = FreeBSD ']' 276: + '[' -mtls-dialect=desc = '' ']' -260: 1 2 3 4 5 6 -260: + 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 -276: + cc -shared -fPIC -xc -o out/test/aarch64/tlsdesc-initial-exec/tlsdesc.so -mtls-dialect=desc - -274: + cc -xc -c -o out/test/aarch64/tlsdesc-dlopen/tlsdesc.o - -274: + echo 'int y(); int main() { y(); }' 276: + echo '_Thread_local int x; int y() { return x; }' -273: + cc -fPIC -c -o out/test/aarch64/tls-small-alignment/c.o -xc - -273: + cat -265: + out/test/aarch64/tls-large-alignment/exe2 -265: + grep '^42 1 2 3$' -265: 42 1 2 3 +276: + cc -shared -fPIC -xc -o out/test/aarch64/tlsdesc-initial-exec/tlsdesc.so -mtls-dialect=desc - +273: + 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 275: + echo 'int y(); int main() { y(); }' -265: + on_exit -265: + echo OK -265: OK -265: + exit 0 -265/347 Test #265: aarch64-tls-large-alignment .............................. Passed 0.31 sec -test 277 - Start 277: aarch64-tlsdesc-local-dynamic - -277: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tlsdesc-local-dynamic.sh" -277: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -277: Environment variables: -277: MACHINE=aarch64 -277: CPU= -277: Test timeout computed to be: 1500 -275: + cc -xc -c -o out/test/aarch64/tlsdesc-import/tlsdesc.o - -270: + grep '3 5 3 5' -270: + out/test/aarch64/tls-le/exe1 -270: 3 5 3 5 -270: + 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 -274: + cc -o out/test/aarch64/tlsdesc-dlopen/tlsdesc out/test/aarch64/tlsdesc-dlopen/tlsdesc.o out/test/aarch64/tlsdesc-dlopen/tlsdesc.so -261: + 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 -272: + grep '3 5 3 5' -262: + out/test/aarch64/tls-gd/exe2 +262: 1 2 3 4 5 6 +262: + test_cflags -static +262: + echo 'int main() {}' +271: + 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 277: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tlsdesc-local-dynamic.sh 277: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 277: ++ export LC_ALL=C @@ -21509,42 +21533,13 @@ 277: ++ STRIP=strip 277: ++ QEMU= 277: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tlsdesc-local-dynamic.sh .sh -272: + out/test/aarch64/tls-pic/exe 277: ++ testname=tlsdesc-local-dynamic 277: ++ t=out/test/aarch64/tlsdesc-local-dynamic 277: ++ mkdir -p out/test/aarch64/tlsdesc-local-dynamic -271: + grep '3 5 3 5' -262: + grep '1 2 3 4 5 6' -262: 1 2 3 4 5 6 -271: + out/test/aarch64/tls-nopic/exe -271: 3 5 3 5 -264: + grep '^42$' -264: + out/test/aarch64/tls-irregular-start-addr/exe4 -272: 3 5 3 5 -272: + on_exit -272: + echo OK -272: OK -272: + exit 0 -262: + test_cflags -static -266/347 Test #272: aarch64-tls-pic .......................................... Passed 0.16 sec -262: + cc -B. -static -o /dev/null -xc - -262: + echo 'int main() {}' -271: + on_exit -271: + echo OK -271: OK -271: + exit 0 -test 278 - Start 278: aarch64-tlsdesc-static - -278: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tlsdesc-static.sh" -278: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -278: Environment variables: -278: MACHINE=aarch64 -278: CPU= -278: Test timeout computed to be: 1500 277: ++ case $MACHINE in 277: ++ tlsdesc_opt=-mtls-dialect=desc 277: +++ uname +262: + cc -B. -static -o /dev/null -xc - 277: ++ '[' Linux = FreeBSD ']' 277: ++ trap 'on_error $LINENO' ERR 277: ++ trap on_exit EXIT @@ -21554,17 +21549,58 @@ 277: + supports_tlsdesc 277: + '[' aarch64 = arm ']' 277: ++ uname +274: + cc -xc -c -o out/test/aarch64/tlsdesc-dlopen/tlsdesc.o - +274: + echo 'int y(); int main() { y(); }' 277: + '[' Linux = FreeBSD ']' 277: + '[' -mtls-dialect=desc = '' ']' -275: + cc -o out/test/aarch64/tlsdesc-import/tlsdesc out/test/aarch64/tlsdesc-import/tlsdesc.o out/test/aarch64/tlsdesc-import/tlsdesc.so -264: 42 -264: + on_exit -264: + echo OK -264: OK -264: + exit 0 -267/347 Test #264: aarch64-tls-irregular-start-addr ......................... Passed 0.37 sec -268/347 Test #271: aarch64-tls-nopic ........................................ Passed 0.18 sec 277: + echo '_Thread_local int x; int y() { return x; }' +277: + cc -shared -fPIC -xc -o out/test/aarch64/tlsdesc-local-dynamic/tlsdesc.so -mtls-dialect=desc - +275: + cc -o out/test/aarch64/tlsdesc-import/tlsdesc out/test/aarch64/tlsdesc-import/tlsdesc.o out/test/aarch64/tlsdesc-import/tlsdesc.so +274: + cc -o out/test/aarch64/tlsdesc-dlopen/tlsdesc out/test/aarch64/tlsdesc-dlopen/tlsdesc.o out/test/aarch64/tlsdesc-dlopen/tlsdesc.so +261: + out/test/aarch64/tls-gd-to-ie/exe2 +261: + grep '1 2 3' +261: 1 2 3 +261: + 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 +270: + grep '3 5 3 5' +275: + out/test/aarch64/tlsdesc-import/tlsdesc +275: + gcc -fPIC -c -o out/test/aarch64/tlsdesc-import/a.o -xc - -mtls-dialect=desc +275: + cat +277: + echo 'int y(); int main() { y(); }' +270: + out/test/aarch64/tls-le/exe1 +270: 3 5 3 5 +271: + out/test/aarch64/tls-nopic/exe +277: + cc -xc -c -o out/test/aarch64/tlsdesc-local-dynamic/tlsdesc.o - +276: + echo 'int y(); int main() { y(); }' +270: + 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 +274: + out/test/aarch64/tlsdesc-dlopen/tlsdesc +276: + cc -xc -c -o out/test/aarch64/tlsdesc-initial-exec/tlsdesc.o - +271: + grep '3 5 3 5' +271: 3 5 3 5 +271: + on_exit +271: + echo OK +271: OK +271: + exit 0 +273: + 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 +274: + gcc -fPIC -c -o out/test/aarch64/tlsdesc-dlopen/a.o -xc - -mtls-dialect=desc +266/347 Test #271: aarch64-tls-nopic ........................................ Passed 0.33 sec +274: + cat +test 278 + Start 278: aarch64-tlsdesc-static + +278: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tlsdesc-static.sh" +278: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +278: Environment variables: +278: MACHINE=aarch64 +278: CPU= +278: Test timeout computed to be: 1500 +272: + out/test/aarch64/tls-pic/exe +272: + grep '3 5 3 5' +272: 3 5 3 5 +272: + on_exit +272: + echo OK +272: OK +272: + exit 0 +267/347 Test #272: aarch64-tls-pic .......................................... Passed 0.30 sec test 279 Start 279: aarch64-tlsdesc @@ -21574,57 +21610,8 @@ 279: MACHINE=aarch64 279: CPU= 279: Test timeout computed to be: 1500 -test 280 - Start 280: aarch64-trace-symbol-symver - -280: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/trace-symbol-symver.sh" -280: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -280: Environment variables: -280: MACHINE=aarch64 -280: CPU= -280: Test timeout computed to be: 1500 -277: + cc -shared -fPIC -xc -o out/test/aarch64/tlsdesc-local-dynamic/tlsdesc.so -mtls-dialect=desc - +261: + 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 278: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tlsdesc-static.sh -278: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -278: ++ export LC_ALL=C -278: ++ LC_ALL=C -278: ++ '[' -z aarch64 ']' -278: ++ '[' -z '' ']' -278: ++ TESTDIR=out/test/aarch64 -278: ++ CC=cc -278: ++ CXX=c++ -278: ++ GCC=gcc -278: ++ GXX=g++ -278: ++ OBJDUMP=objdump -278: ++ OBJCOPY=objcopy -278: ++ STRIP=strip -278: ++ QEMU= -278: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tlsdesc-static.sh .sh -278: ++ testname=tlsdesc-static -278: ++ t=out/test/aarch64/tlsdesc-static -278: ++ mkdir -p out/test/aarch64/tlsdesc-static -278: ++ case $MACHINE in -278: ++ tlsdesc_opt=-mtls-dialect=desc -274: + out/test/aarch64/tlsdesc-dlopen/tlsdesc -274: + gcc -fPIC -c -o out/test/aarch64/tlsdesc-dlopen/a.o -xc - -mtls-dialect=desc -274: + cat -260: + grep '1 2 3 4 5 6' -260: + out/test/aarch64/tls-gd-noplt/exe -260: 1 2 3 4 5 6 -260: + on_exit -260: + echo OK -260: OK -260: + exit 0 -273: + 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 -276: + echo 'int y(); int main() { y(); }' -276: + cc -xc -c -o out/test/aarch64/tlsdesc-initial-exec/tlsdesc.o - -270: + out/test/aarch64/tls-le/exe2 -270: + grep '3 5 3 5' -270: 3 5 3 5 -270: + on_exit -270: + echo OK -270: OK -270: + exit 0 279: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tlsdesc.sh 279: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 279: ++ export LC_ALL=C @@ -21640,23 +21627,28 @@ 279: ++ OBJCOPY=objcopy 279: ++ STRIP=strip 279: ++ QEMU= +278: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +278: ++ export LC_ALL=C +278: ++ LC_ALL=C +278: ++ '[' -z aarch64 ']' +278: ++ '[' -z '' ']' +278: ++ TESTDIR=out/test/aarch64 +278: ++ CC=cc +278: ++ CXX=c++ +278: ++ GCC=gcc +278: ++ GXX=g++ +278: ++ OBJDUMP=objdump +278: ++ OBJCOPY=objcopy +278: ++ STRIP=strip +278: ++ QEMU= 279: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tlsdesc.sh .sh 279: ++ testname=tlsdesc 279: ++ t=out/test/aarch64/tlsdesc 279: ++ mkdir -p out/test/aarch64/tlsdesc 279: ++ case $MACHINE in 279: ++ tlsdesc_opt=-mtls-dialect=desc -269/347 Test #260: aarch64-tls-gd-noplt ..................................... Passed 0.44 sec 279: +++ uname -test 281 - Start 281: aarch64-trace-symbol - -281: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/trace-symbol.sh" -281: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -281: Environment variables: -281: MACHINE=aarch64 -281: CPU= -281: Test timeout computed to be: 1500 +278: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tlsdesc-static.sh .sh 279: ++ '[' Linux = FreeBSD ']' 279: ++ trap 'on_error $LINENO' ERR 279: ++ trap on_exit EXIT @@ -21665,30 +21657,13 @@ 279: ++ set -x 279: + supports_tlsdesc 279: + '[' aarch64 = arm ']' -281: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/trace-symbol.sh -279: ++ uname +276: + cc -o out/test/aarch64/tlsdesc-initial-exec/tlsdesc out/test/aarch64/tlsdesc-initial-exec/tlsdesc.o out/test/aarch64/tlsdesc-initial-exec/tlsdesc.so +278: ++ testname=tlsdesc-static +278: ++ t=out/test/aarch64/tlsdesc-static +278: ++ mkdir -p out/test/aarch64/tlsdesc-static +278: ++ case $MACHINE in +278: ++ tlsdesc_opt=-mtls-dialect=desc 278: +++ uname -279: + '[' Linux = FreeBSD ']' -279: + '[' -mtls-dialect=desc = '' ']' -281: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -281: ++ export LC_ALL=C -281: ++ LC_ALL=C -281: ++ '[' -z aarch64 ']' -281: ++ '[' -z '' ']' -281: ++ TESTDIR=out/test/aarch64 -281: ++ CC=cc -281: ++ CXX=c++ -281: ++ GCC=gcc -281: ++ GXX=g++ -281: ++ OBJDUMP=objdump -281: ++ OBJCOPY=objcopy -281: ++ STRIP=strip -281: ++ QEMU= -279: + cc -shared -fPIC -xc -o out/test/aarch64/tlsdesc/tlsdesc.so -mtls-dialect=desc - -279: + echo '_Thread_local int x; int y() { return x; }' -261: + grep '1 2 3' -281: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/trace-symbol.sh .sh -261: + out/test/aarch64/tls-gd-to-ie/exe3 278: ++ '[' Linux = FreeBSD ']' 278: ++ trap 'on_error $LINENO' ERR 278: ++ trap on_exit EXIT @@ -21697,9 +21672,39 @@ 278: ++ set -x 278: + supports_tlsdesc 278: + '[' aarch64 = arm ']' +278: ++ uname +279: ++ uname +277: + cc -o out/test/aarch64/tlsdesc-local-dynamic/tlsdesc out/test/aarch64/tlsdesc-local-dynamic/tlsdesc.o out/test/aarch64/tlsdesc-local-dynamic/tlsdesc.so +279: + '[' Linux = FreeBSD ']' +279: + '[' -mtls-dialect=desc = '' ']' +275: + gcc -fPIC -shared -o out/test/aarch64/tlsdesc-import/b.so -xc - -mtls-dialect=desc +279: + echo '_Thread_local int x; int y() { return x; }' +274: + cc -B. -shared -o out/test/aarch64/tlsdesc-dlopen/b.so out/test/aarch64/tlsdesc-dlopen/a.o +279: + cc -shared -fPIC -xc -o out/test/aarch64/tlsdesc/tlsdesc.so -mtls-dialect=desc - +278: + '[' Linux = FreeBSD ']' +278: + '[' -mtls-dialect=desc = '' ']' +278: + cc -shared -fPIC -xc -o out/test/aarch64/tlsdesc-static/tlsdesc.so -mtls-dialect=desc - +278: + echo '_Thread_local int x; int y() { return x; }' +275: + cat +276: + out/test/aarch64/tlsdesc-initial-exec/tlsdesc +276: + cat +276: + gcc -fPIC -fPIC -c -o out/test/aarch64/tlsdesc-initial-exec/a.o -xc - -mtls-dialect=desc +220: 3 printf("Hello world\n"); +220: + on_exit +220: + echo OK +220: OK +220: + exit 0 +268/347 Test #220: aarch64-separate-debug-file .............................. Passed 3.18 sec +test 280 + Start 280: aarch64-trace-symbol-symver + +280: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/trace-symbol-symver.sh" +280: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +280: Environment variables: +280: MACHINE=aarch64 +280: CPU= +280: Test timeout computed to be: 1500 280: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/trace-symbol-symver.sh -261: 1 2 3 -261: + 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 280: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 280: ++ export LC_ALL=C 280: ++ LC_ALL=C @@ -21718,21 +21723,21 @@ 280: ++ testname=trace-symbol-symver 280: ++ t=out/test/aarch64/trace-symbol-symver 280: ++ mkdir -p out/test/aarch64/trace-symbol-symver -278: ++ uname -278: + '[' Linux = FreeBSD ']' -278: + '[' -mtls-dialect=desc = '' ']' -278: + echo '_Thread_local int x; int y() { return x; }' -281: ++ testname=trace-symbol -281: ++ t=out/test/aarch64/trace-symbol -281: ++ mkdir -p out/test/aarch64/trace-symbol -278: + cc -shared -fPIC -xc -o out/test/aarch64/tlsdesc-static/tlsdesc.so -mtls-dialect=desc - +270: + out/test/aarch64/tls-le/exe2 +270: + grep '3 5 3 5' +279: + cc -xc -c -o out/test/aarch64/tlsdesc/tlsdesc.o - 280: ++ case $MACHINE in 280: ++ tlsdesc_opt=-mtls-dialect=desc -281: ++ case $MACHINE in -281: ++ tlsdesc_opt=-mtls-dialect=desc -276: + cc -o out/test/aarch64/tlsdesc-initial-exec/tlsdesc out/test/aarch64/tlsdesc-initial-exec/tlsdesc.o out/test/aarch64/tlsdesc-initial-exec/tlsdesc.so +274: + cat +274: + gcc -fPIC -c -o out/test/aarch64/tlsdesc-dlopen/c.o -xc - -mtls-dialect=desc +270: 3 5 3 5 +270: + on_exit +270: + echo OK +270: OK +270: + exit 0 +279: + echo 'int y(); int main() { y(); }' +262: + 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 280: +++ uname -274: + cc -B. -shared -o out/test/aarch64/tlsdesc-dlopen/b.so out/test/aarch64/tlsdesc-dlopen/a.o 280: ++ '[' Linux = FreeBSD ']' 280: ++ trap 'on_error $LINENO' ERR 280: ++ trap on_exit EXIT @@ -21740,7 +21745,55 @@ 280: Testing trace-symbol-symver ... ++ set -o pipefail 280: ++ set -x 280: + cc -c -o out/test/aarch64/trace-symbol-symver/a.o -xc - +269/347 Test #270: aarch64-tls-le ........................................... Passed 0.49 sec +test 281 + Start 281: aarch64-trace-symbol + +281: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/trace-symbol.sh" +281: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +281: Environment variables: +281: MACHINE=aarch64 +281: CPU= +281: Test timeout computed to be: 1500 +280: + cat +261: + out/test/aarch64/tls-gd-to-ie/exe3 +261: + grep '1 2 3' +261: 1 2 3 +261: + 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 +275: + cc -B. -o out/test/aarch64/tlsdesc-import/exe out/test/aarch64/tlsdesc-import/a.o out/test/aarch64/tlsdesc-import/b.so +281: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/trace-symbol.sh +281: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +281: ++ export LC_ALL=C +281: ++ LC_ALL=C +281: ++ '[' -z aarch64 ']' +281: ++ '[' -z '' ']' +277: + out/test/aarch64/tlsdesc-local-dynamic/tlsdesc +281: ++ TESTDIR=out/test/aarch64 +281: ++ CC=cc +281: ++ CXX=c++ +281: ++ GCC=gcc +281: ++ GXX=g++ +281: ++ OBJDUMP=objdump +281: ++ OBJCOPY=objcopy +281: ++ STRIP=strip +281: ++ QEMU= +276: + cc -B. -shared -o out/test/aarch64/tlsdesc-initial-exec/b.so out/test/aarch64/tlsdesc-initial-exec/a.o +281: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/trace-symbol.sh .sh +277: + cat +277: + gcc -fPIC -ftls-model=local-dynamic -c -o out/test/aarch64/tlsdesc-local-dynamic/a.o -xc - -mtls-dialect=desc 280: + cat +278: + cc -xc -c -o out/test/aarch64/tlsdesc-static/tlsdesc.o - +278: + echo 'int y(); int main() { y(); }' +281: ++ testname=trace-symbol +281: ++ t=out/test/aarch64/trace-symbol +281: ++ mkdir -p out/test/aarch64/trace-symbol +280: + 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 +273: + out/test/aarch64/tls-small-alignment/exe1 +281: ++ case $MACHINE in +281: ++ tlsdesc_opt=-mtls-dialect=desc +273: + grep '^42$' +279: + cc -o out/test/aarch64/tlsdesc/tlsdesc out/test/aarch64/tlsdesc/tlsdesc.o out/test/aarch64/tlsdesc/tlsdesc.so +274: + cc -B. -o out/test/aarch64/tlsdesc-dlopen/exe out/test/aarch64/tlsdesc-dlopen/c.o -ldl 281: +++ uname 281: ++ '[' Linux = FreeBSD ']' 281: ++ trap 'on_error $LINENO' ERR @@ -21749,8 +21802,20 @@ 281: Testing trace-symbol ... ++ set -o pipefail 281: ++ set -x 281: + cat +273: 42 +273: + 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 281: + cc -c -o out/test/aarch64/trace-symbol/a.o -xc - -270/347 Test #270: aarch64-tls-le ........................................... Passed 0.24 sec +277: + cat +277: + gcc -fPIC -ftls-model=local-dynamic -c -o out/test/aarch64/tlsdesc-local-dynamic/b.o -xc - -mtls-dialect=desc +278: + cc -o out/test/aarch64/tlsdesc-static/tlsdesc out/test/aarch64/tlsdesc-static/tlsdesc.o out/test/aarch64/tlsdesc-static/tlsdesc.so +275: + grep '5 7' +275: + out/test/aarch64/tlsdesc-import/exe +275: 5 7 +275: + on_exit +275: + echo OK +275: OK +275: + exit 0 +270/347 Test #275: aarch64-tlsdesc-import ................................... Passed 0.44 sec test 282 Start 282: aarch64-trace @@ -21760,9 +21825,33 @@ 282: MACHINE=aarch64 282: CPU= 282: Test timeout computed to be: 1500 +274: + out/test/aarch64/tlsdesc-dlopen/exe out/test/aarch64/tlsdesc-dlopen/b.so +274: + grep '3 0 5' +274: 3 0 5 +274: + on_exit +274: + echo OK +274: OK +274: + exit 0 +278: + out/test/aarch64/tlsdesc-static/tlsdesc +279: + out/test/aarch64/tlsdesc/tlsdesc +271/347 Test #274: aarch64-tlsdesc-dlopen ................................... Passed 0.50 sec +278: + test_cflags -static +278: + echo 'int main() {}' +277: + 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 +test 283 + Start 283: aarch64-undefined-glob-gc-sections + +283: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/undefined-glob-gc-sections.sh" +283: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +283: Environment variables: +283: MACHINE=aarch64 +283: CPU= +283: Test timeout computed to be: 1500 +262: + out/test/aarch64/tls-gd/exe3 +262: + grep '1 2 3 4 5 6' +262: 1 2 3 4 5 6 +262: + 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 282: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/trace.sh -276: + out/test/aarch64/tlsdesc-initial-exec/tlsdesc -275: + out/test/aarch64/tlsdesc-import/tlsdesc 282: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 282: ++ export LC_ALL=C 282: ++ LC_ALL=C @@ -21777,82 +21866,20 @@ 282: ++ OBJCOPY=objcopy 282: ++ STRIP=strip 282: ++ QEMU= -273: + 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 -276: + cat -276: + gcc -fPIC -fPIC -c -o out/test/aarch64/tlsdesc-initial-exec/a.o -xc - -mtls-dialect=desc -275: + gcc -fPIC -c -o out/test/aarch64/tlsdesc-import/a.o -xc - -mtls-dialect=desc 282: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/trace.sh .sh -278: + cc -xc -c -o out/test/aarch64/tlsdesc-static/tlsdesc.o - -275: + cat 282: ++ testname=trace 282: ++ t=out/test/aarch64/trace 282: ++ mkdir -p out/test/aarch64/trace -278: + echo 'int y(); int main() { y(); }' -277: + cc -xc -c -o out/test/aarch64/tlsdesc-local-dynamic/tlsdesc.o - -277: + echo 'int y(); int main() { y(); }' -280: + cat -280: + 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 282: ++ case $MACHINE in 282: ++ tlsdesc_opt=-mtls-dialect=desc -262: + 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 -282: +++ uname -282: ++ '[' Linux = FreeBSD ']' -282: ++ trap 'on_error $LINENO' ERR -282: ++ trap on_exit EXIT -282: ++ echo -n 'Testing trace ... ' -282: Testing trace ... ++ set -o pipefail -282: ++ set -x -276: + cc -B. -shared -o out/test/aarch64/tlsdesc-initial-exec/b.so out/test/aarch64/tlsdesc-initial-exec/a.o -261: + 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 -282: + cat -282: + cc -c -o out/test/aarch64/trace/a.o -xc - +278: + cc -B. -static -o /dev/null -xc - +279: + gcc -fPIC -c -o out/test/aarch64/tlsdesc/a.o -xc - -mtls-dialect=desc +279: + cat 281: + cc -c -o out/test/aarch64/trace-symbol/b.o -xc - -275: + gcc -fPIC -shared -o out/test/aarch64/tlsdesc-import/b.so -xc - -mtls-dialect=desc -274: + cat -274: + gcc -fPIC -c -o out/test/aarch64/tlsdesc-dlopen/c.o -xc - -mtls-dialect=desc -281: + cat -275: + cat -278: + cc -o out/test/aarch64/tlsdesc-static/tlsdesc out/test/aarch64/tlsdesc-static/tlsdesc.o out/test/aarch64/tlsdesc-static/tlsdesc.so -277: + cc -o out/test/aarch64/tlsdesc-local-dynamic/tlsdesc out/test/aarch64/tlsdesc-local-dynamic/tlsdesc.o out/test/aarch64/tlsdesc-local-dynamic/tlsdesc.so -276: + cat -276: + gcc -fPIC -fPIC -c -o out/test/aarch64/tlsdesc-initial-exec/c.o -xc - -mtls-dialect=desc -280: + cat -280: + cc -c -o out/test/aarch64/trace-symbol-symver/d.o -xc - -273: + out/test/aarch64/tls-small-alignment/exe1 +283: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/undefined-glob-gc-sections.sh +282: +++ uname 281: + cat -281: + cc -shared -o out/test/aarch64/trace-symbol/c.so -xc - -273: + grep '^42$' -273: 42 -273: + 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 -282: + cc -B. -o out/test/aarch64/trace/exe out/test/aarch64/trace/a.o -Wl,-trace -261: + out/test/aarch64/tls-gd-to-ie/exe4 -275: + cc -B. -o out/test/aarch64/tlsdesc-import/exe out/test/aarch64/tlsdesc-import/a.o out/test/aarch64/tlsdesc-import/b.so 276: + cat -261: + grep '1 2 3' -261: 1 2 3 -261: + on_exit -261: + echo OK -261: OK -261: + exit 0 -278: + out/test/aarch64/tlsdesc-static/tlsdesc -276: + gcc -fPIC -fPIE -c -o out/test/aarch64/tlsdesc-initial-exec/d.o -xc - -mtls-dialect=desc -278: + test_cflags -static -278: + echo 'int main() {}' -271/347 Test #261: aarch64-tls-gd-to-ie ..................................... Passed 0.56 sec -278: + cc -B. -static -o /dev/null -xc - -280: + 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 -test 283 - Start 283: aarch64-undefined-glob-gc-sections - -283: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/undefined-glob-gc-sections.sh" -283: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -283: Environment variables: -283: MACHINE=aarch64 -283: CPU= -283: Test timeout computed to be: 1500 -277: + out/test/aarch64/tlsdesc-local-dynamic/tlsdesc -262: + out/test/aarch64/tls-gd/exe3 -283: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/undefined-glob-gc-sections.sh 283: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 283: ++ export LC_ALL=C 283: ++ LC_ALL=C @@ -21867,10 +21894,18 @@ 283: ++ OBJCOPY=objcopy 283: ++ STRIP=strip 283: ++ QEMU= +273: + out/test/aarch64/tls-small-alignment/exe2 283: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/undefined-glob-gc-sections.sh .sh 283: ++ testname=undefined-glob-gc-sections 283: ++ t=out/test/aarch64/undefined-glob-gc-sections 283: ++ mkdir -p out/test/aarch64/undefined-glob-gc-sections +273: + grep '^42$' +282: ++ '[' Linux = FreeBSD ']' +282: ++ trap 'on_error $LINENO' ERR +282: ++ trap on_exit EXIT +282: ++ echo -n 'Testing trace ... ' +282: Testing trace ... ++ set -o pipefail +282: ++ set -x 283: ++ case $MACHINE in 283: ++ tlsdesc_opt=-mtls-dialect=desc 283: +++ uname @@ -21881,21 +21916,18 @@ 283: Testing undefined-glob-gc-sections ... ++ set -o pipefail 283: ++ set -x 283: + test_cflags -static -262: + grep '1 2 3 4 5 6' -262: 1 2 3 4 5 6 -262: + 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 -283: + cc -B. -static -o /dev/null -xc - -273: + out/test/aarch64/tls-small-alignment/exe2 -273: + grep '^42$' -273: 42 +276: + gcc -fPIC -fPIC -c -o out/test/aarch64/tlsdesc-initial-exec/c.o -xc - -mtls-dialect=desc +282: + cat +282: + cc -c -o out/test/aarch64/trace/a.o -xc - 283: + echo 'int main() {}' -277: + gcc -fPIC -ftls-model=local-dynamic -c -o out/test/aarch64/tlsdesc-local-dynamic/a.o -xc - -mtls-dialect=desc +273: 42 +283: + cc -B. -static -o /dev/null -xc - +261: + 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 273: + on_exit 273: + echo OK 273: OK 273: + exit 0 -281: + 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 -272/347 Test #273: aarch64-tls-small-alignment .............................. Passed 0.33 sec +272/347 Test #273: aarch64-tls-small-alignment .............................. Passed 0.57 sec test 284 Start 284: aarch64-undefined-glob @@ -21905,10 +21937,10 @@ 284: MACHINE=aarch64 284: CPU= 284: Test timeout computed to be: 1500 -277: + cat -274: + cc -B. -o out/test/aarch64/tlsdesc-dlopen/exe out/test/aarch64/tlsdesc-dlopen/c.o -ldl -276: + 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 -279: + echo 'int y(); int main() { y(); }' +280: + cat +280: + cc -c -o out/test/aarch64/trace-symbol-symver/d.o -xc - +279: + gcc -fPIC -c -o out/test/aarch64/tlsdesc/b.o -xc - -mtls-dialect=desc +279: + cat 284: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/undefined-glob.sh 284: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 284: ++ export LC_ALL=C @@ -21925,28 +21957,20 @@ 284: ++ STRIP=strip 284: ++ QEMU= 284: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/undefined-glob.sh .sh -282: + grep '/a\.o$' out/test/aarch64/trace/log -279: + cc -xc -c -o out/test/aarch64/tlsdesc/tlsdesc.o - 284: ++ testname=undefined-glob 284: ++ t=out/test/aarch64/undefined-glob 284: ++ mkdir -p out/test/aarch64/undefined-glob +281: + cc -shared -o out/test/aarch64/trace-symbol/c.so -xc - +281: + cat +277: + grep '42 5' 284: ++ case $MACHINE in 284: ++ tlsdesc_opt=-mtls-dialect=desc -282: trace: out/test/aarch64/trace/a.o -282: + on_exit -282: + echo OK -282: OK -282: + exit 0 -273/347 Test #282: aarch64-trace ............................................ Passed 0.16 sec -test 285 - Start 285: aarch64-undefined - -285: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/undefined.sh" -285: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -285: Environment variables: -285: MACHINE=aarch64 -285: CPU= -285: Test timeout computed to be: 1500 +282: + cc -B. -o out/test/aarch64/trace/exe out/test/aarch64/trace/a.o -Wl,-trace +277: + out/test/aarch64/tlsdesc-local-dynamic/exe1 +277: 42 5 +277: + 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 +276: + gcc -fPIC -fPIE -c -o out/test/aarch64/tlsdesc-initial-exec/d.o -xc - -mtls-dialect=desc +276: + cat 284: +++ uname 284: ++ '[' Linux = FreeBSD ']' 284: ++ trap 'on_error $LINENO' ERR @@ -21956,16 +21980,39 @@ 284: ++ set -x 284: + test_cflags -static 284: + echo 'int main() {}' -275: + grep '5 7' -275: + out/test/aarch64/tlsdesc-import/exe -279: + cc -o out/test/aarch64/tlsdesc/tlsdesc out/test/aarch64/tlsdesc/tlsdesc.o out/test/aarch64/tlsdesc/tlsdesc.so -275: 5 7 -275: + on_exit -275: + echo OK -275: OK -280: + out/test/aarch64/trace-symbol-symver/exe -275: + exit 0 -274/347 Test #275: aarch64-tlsdesc-import ................................... Passed 0.33 sec +284: + cc -B. -static -o /dev/null -xc - +280: + 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 +279: + cc -B. -o out/test/aarch64/tlsdesc/exe1 out/test/aarch64/tlsdesc/a.o out/test/aarch64/tlsdesc/b.o +281: + 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 +261: + grep '1 2 3' +261: + out/test/aarch64/tls-gd-to-ie/exe4 +261: 1 2 3 +261: + on_exit +261: + echo OK +261: OK +261: + exit 0 +276: + 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 +278: + cat +273/347 Test #261: aarch64-tls-gd-to-ie ..................................... Passed 1.20 sec +test 285 + Start 285: aarch64-undefined + +285: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/undefined.sh" +285: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +285: Environment variables: +285: MACHINE=aarch64 +285: CPU= +285: Test timeout computed to be: 1500 +278: + gcc -fPIC -c -o out/test/aarch64/tlsdesc-static/a.o -xc - -mtls-dialect=desc +262: + grep '1 2 3 4 5 6' +262: + out/test/aarch64/tls-gd/exe4 +262: 1 2 3 4 5 6 +277: + grep '42 5' +262: + on_exit +262: + echo OK +262: OK +262: + exit 0 +274/347 Test #262: aarch64-tls-gd ........................................... Passed 1.19 sec test 286 Start 286: aarch64-undefined2 @@ -21975,12 +22022,14 @@ 286: MACHINE=aarch64 286: CPU= 286: Test timeout computed to be: 1500 -276: + out/test/aarch64/tlsdesc-initial-exec/exe1 -284: + cc -B. -static -o /dev/null -xc - +277: + out/test/aarch64/tlsdesc-local-dynamic/exe2 +277: 42 5 285: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/undefined.sh -277: + gcc -fPIC -ftls-model=local-dynamic -c -o out/test/aarch64/tlsdesc-local-dynamic/b.o -xc - -mtls-dialect=desc -276: + grep '^5 5 5$' -276: 5 5 5 +286: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/undefined2.sh +277: + on_exit +277: + echo OK +277: OK +277: + exit 0 285: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 285: ++ export LC_ALL=C 285: ++ LC_ALL=C @@ -21995,13 +22044,21 @@ 285: ++ OBJCOPY=objcopy 285: ++ STRIP=strip 285: ++ QEMU= -280: + on_exit -280: + echo OK -280: OK -280: + exit 0 -277: + cat -285: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/undefined.sh .sh -275/347 Test #280: aarch64-trace-symbol-symver .............................. Passed 0.21 sec +286: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +275/347 Test #277: aarch64-tlsdesc-local-dynamic ............................ Passed 0.59 sec +286: ++ export LC_ALL=C +286: ++ LC_ALL=C +286: ++ '[' -z aarch64 ']' +286: ++ '[' -z '' ']' +286: ++ TESTDIR=out/test/aarch64 +286: ++ CC=cc +286: ++ CXX=c++ +286: ++ GCC=gcc +286: ++ GXX=g++ +286: ++ OBJDUMP=objdump +286: ++ OBJCOPY=objcopy +286: ++ STRIP=strip +286: ++ QEMU= test 287 Start 287: aarch64-unkown-section-type @@ -22011,35 +22068,32 @@ 287: MACHINE=aarch64 287: CPU= 287: Test timeout computed to be: 1500 -276: + objdump --dynamic-reloc out/test/aarch64/tlsdesc-initial-exec/exe1 -276: + not grep -E 'TLS_?DESC' -276: + grep -E 'TLS_?DESC' -276: + return 0 +287: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/unkown-section-type.sh +287: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +287: ++ export LC_ALL=C +287: ++ LC_ALL=C +287: ++ '[' -z aarch64 ']' +287: ++ '[' -z '' ']' +287: ++ TESTDIR=out/test/aarch64 +287: ++ CC=cc +287: ++ CXX=c++ +287: ++ GCC=gcc +287: ++ GXX=g++ +287: ++ OBJDUMP=objdump +287: ++ OBJCOPY=objcopy +287: ++ STRIP=strip +287: ++ QEMU= +287: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/unkown-section-type.sh .sh +287: ++ testname=unkown-section-type +287: ++ t=out/test/aarch64/unkown-section-type +287: ++ mkdir -p out/test/aarch64/unkown-section-type +285: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/undefined.sh .sh 285: ++ testname=undefined 285: ++ t=out/test/aarch64/undefined 285: ++ mkdir -p out/test/aarch64/undefined 285: ++ case $MACHINE in 285: ++ tlsdesc_opt=-mtls-dialect=desc 285: +++ uname -286: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/undefined2.sh -286: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -286: ++ export LC_ALL=C -286: ++ LC_ALL=C -286: ++ '[' -z aarch64 ']' -286: ++ '[' -z '' ']' -286: ++ TESTDIR=out/test/aarch64 -286: ++ CC=cc -286: ++ CXX=c++ -286: ++ GCC=gcc -286: ++ GXX=g++ -286: ++ OBJDUMP=objdump -286: ++ OBJCOPY=objcopy -286: ++ STRIP=strip -286: ++ QEMU= -286: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/undefined2.sh .sh -286: ++ testname=undefined2 -286: ++ t=out/test/aarch64/undefined2 -286: ++ mkdir -p out/test/aarch64/undefined2 285: ++ '[' Linux = FreeBSD ']' 285: ++ trap 'on_error $LINENO' ERR 285: ++ trap on_exit EXIT @@ -22047,30 +22101,25 @@ 285: Testing undefined ... ++ set -o pipefail 285: ++ set -x 285: + test_cflags -static -276: + 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: + grep '3 0 5' 285: + cc -B. -static -o /dev/null -xc - -274: + out/test/aarch64/tlsdesc-dlopen/exe out/test/aarch64/tlsdesc-dlopen/b.so -274: 3 0 5 -274: + on_exit -274: + echo OK -274: OK -274: + exit 0 285: + echo 'int main() {}' -287: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/unkown-section-type.sh +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: ++ echo -n 'Testing unkown-section-type ... ' +287: Testing unkown-section-type ... ++ set -o pipefail +287: ++ set -x +287: + cc -o out/test/aarch64/unkown-section-type/a.o -c -xassembler - +287: + cat +286: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/undefined2.sh .sh +286: ++ testname=undefined2 +286: ++ t=out/test/aarch64/undefined2 +286: ++ mkdir -p out/test/aarch64/undefined2 286: ++ case $MACHINE in 286: ++ tlsdesc_opt=-mtls-dialect=desc -278: + cat -276/347 Test #274: aarch64-tlsdesc-dlopen ................................... Passed 0.38 sec -test 288 - Start 288: aarch64-unresolved-symbols - -288: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/unresolved-symbols.sh" -288: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -288: Environment variables: -288: MACHINE=aarch64 -288: CPU= -288: Test timeout computed to be: 1500 286: +++ uname 286: ++ '[' Linux = FreeBSD ']' 286: ++ trap 'on_error $LINENO' ERR @@ -22079,32 +22128,34 @@ 286: Testing undefined2 ... ++ set -o pipefail 286: ++ set -x 286: + test_cflags -static -286: + echo 'int main() {}' 286: + cc -B. -static -o /dev/null -xc - +286: + echo 'int main() {}' +287: + grep 'unsupported section type: 0x80000000' +287: + not cc -B. -o out/test/aarch64/unkown-section-type/exe out/test/aarch64/unkown-section-type/a.o +282: + grep '/a\.o$' out/test/aarch64/trace/log +282: trace: out/test/aarch64/trace/a.o +282: + on_exit +282: + echo OK +282: OK +282: + exit 0 +276/347 Test #282: aarch64-trace ............................................ Passed 0.25 sec +test 288 + Start 288: aarch64-unresolved-symbols + +288: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/unresolved-symbols.sh" +288: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +288: Environment variables: +288: MACHINE=aarch64 +288: CPU= +288: Test timeout computed to be: 1500 +278: + gcc -fPIC -c -o out/test/aarch64/tlsdesc-static/b.o -xc - -mtls-dialect=desc +278: + cat +280: + out/test/aarch64/trace-symbol-symver/exe +284: + cc -o out/test/aarch64/undefined-glob/a.o -c -xc - 288: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/unresolved-symbols.sh -281: + grep 'trace-symbol: .*/a.o: reference to foo' out/test/aarch64/trace-symbol/log -281: trace-symbol: out/test/aarch64/trace-symbol/a.o: reference to foo -281: + grep 'trace-symbol: .*/b.o: definition of foo' out/test/aarch64/trace-symbol/log -281: trace-symbol: out/test/aarch64/trace-symbol/b.o: definition of foo -281: + grep 'trace-symbol: .*/c.so: definition of baz' out/test/aarch64/trace-symbol/log -279: + out/test/aarch64/tlsdesc/tlsdesc -279: + gcc -fPIC -c -o out/test/aarch64/tlsdesc/a.o -xc - -mtls-dialect=desc -279: + cat -278: + gcc -fPIC -c -o out/test/aarch64/tlsdesc-static/a.o -xc - -mtls-dialect=desc -287: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -287: ++ export LC_ALL=C -287: ++ LC_ALL=C -287: ++ '[' -z aarch64 ']' -287: ++ '[' -z '' ']' -287: ++ TESTDIR=out/test/aarch64 -287: ++ CC=cc -287: ++ CXX=c++ -287: ++ GCC=gcc -287: ++ GXX=g++ -287: ++ OBJDUMP=objdump -287: ++ OBJCOPY=objcopy -287: ++ STRIP=strip -287: ++ QEMU= +276: + out/test/aarch64/tlsdesc-initial-exec/exe1 +276: + grep '^5 5 5$' +276: 5 5 5 288: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 288: ++ export LC_ALL=C 288: ++ LC_ALL=C @@ -22119,46 +22170,30 @@ 288: ++ OBJCOPY=objcopy 288: ++ STRIP=strip 288: ++ QEMU= +284: + cat 288: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/unresolved-symbols.sh .sh 288: ++ testname=unresolved-symbols 288: ++ t=out/test/aarch64/unresolved-symbols 288: ++ mkdir -p out/test/aarch64/unresolved-symbols -287: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/unkown-section-type.sh .sh -262: + grep '1 2 3 4 5 6' -283: + cat -283: + cc -o out/test/aarch64/undefined-glob-gc-sections/a.o -c -xc - -287: ++ testname=unkown-section-type -287: ++ t=out/test/aarch64/unkown-section-type -287: ++ mkdir -p out/test/aarch64/unkown-section-type 288: ++ case $MACHINE in 288: ++ tlsdesc_opt=-mtls-dialect=desc -287: ++ case $MACHINE in -287: ++ tlsdesc_opt=-mtls-dialect=desc 288: +++ uname -287: +++ uname +276: + objdump --dynamic-reloc out/test/aarch64/tlsdesc-initial-exec/exe1 +276: + not grep -E 'TLS_?DESC' +276: + grep -E 'TLS_?DESC' 288: ++ '[' Linux = FreeBSD ']' 288: ++ trap 'on_error $LINENO' ERR 288: ++ trap on_exit EXIT -277: + 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 288: ++ echo -n 'Testing unresolved-symbols ... ' 288: Testing unresolved-symbols ... ++ set -o pipefail 288: ++ set -x -287: ++ '[' Linux = FreeBSD ']' 288: + cat -287: ++ trap 'on_error $LINENO' ERR -287: ++ trap on_exit EXIT -287: ++ echo -n 'Testing unkown-section-type ... ' -287: Testing unkown-section-type ... ++ set -o pipefail -287: ++ set -x 288: + cc -c -o out/test/aarch64/unresolved-symbols/a.o -xc - -287: + cc -o out/test/aarch64/unkown-section-type/a.o -c -xassembler - -287: + cat -281: trace-symbol: out/test/aarch64/trace-symbol/c.so: definition of baz -281: + on_exit -281: + echo OK -281: OK -281: + exit 0 -277/347 Test #281: aarch64-trace-symbol ..................................... Passed 0.25 sec +280: + on_exit +280: + echo OK +280: OK +280: + exit 0 +277/347 Test #280: aarch64-trace-symbol-symver .............................. Passed 0.44 sec test 289 Start 289: aarch64-unresolved-symbols2 @@ -22168,22 +22203,11 @@ 289: MACHINE=aarch64 289: CPU= 289: Test timeout computed to be: 1500 -262: + out/test/aarch64/tls-gd/exe4 -262: 1 2 3 4 5 6 -262: + on_exit -262: + echo OK -262: OK -262: + exit 0 -278/347 Test #262: aarch64-tls-gd ........................................... Passed 0.67 sec -test 290 - Start 290: aarch64-verbose - -290: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/verbose.sh" -290: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -290: Environment variables: -290: MACHINE=aarch64 -290: CPU= -290: Test timeout computed to be: 1500 +276: + return 0 +276: + 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 +281: + grep 'trace-symbol: .*/a.o: reference to foo' out/test/aarch64/trace-symbol/log +281: trace-symbol: out/test/aarch64/trace-symbol/a.o: reference to foo +281: + grep 'trace-symbol: .*/b.o: definition of foo' out/test/aarch64/trace-symbol/log 289: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/unresolved-symbols2.sh 289: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 289: ++ export LC_ALL=C @@ -22199,23 +22223,50 @@ 289: ++ OBJCOPY=objcopy 289: ++ STRIP=strip 289: ++ QEMU= -279: + gcc -fPIC -c -o out/test/aarch64/tlsdesc/b.o -xc - -mtls-dialect=desc -279: + cat -283: + cc -o out/test/aarch64/undefined-glob-gc-sections/b.o -c -xc - -283: + cat -287: + grep 'unsupported section type: 0x80000000' -287: + not cc -B. -o out/test/aarch64/unkown-section-type/exe out/test/aarch64/unkown-section-type/a.o -288: + grep 'undefined.*foo' -288: + not cc -B. -o out/test/aarch64/unresolved-symbols/exe out/test/aarch64/unresolved-symbols/a.o +287: mold: fatal: out/test/aarch64/unkown-section-type/a.o: .my_section: unsupported section type: 0x80000000 +287: + on_exit +287: + echo OK +287: OK +287: + exit 0 289: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/unresolved-symbols2.sh .sh -276: + out/test/aarch64/tlsdesc-initial-exec/exe2 -276: + grep '^5 5 5$' -278: + cat +281: trace-symbol: out/test/aarch64/trace-symbol/b.o: definition of foo +281: + grep 'trace-symbol: .*/c.so: definition of baz' out/test/aarch64/trace-symbol/log +278/347 Test #287: aarch64-unkown-section-type .............................. Passed 0.12 sec +289: ++ testname=unresolved-symbols2 +289: ++ t=out/test/aarch64/unresolved-symbols2 +289: ++ mkdir -p out/test/aarch64/unresolved-symbols2 +test 290 + Start 290: aarch64-verbose + +290: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/verbose.sh" +290: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +290: Environment variables: +290: MACHINE=aarch64 +290: CPU= +290: Test timeout computed to be: 1500 +279: + grep '42 3 5' +279: + out/test/aarch64/tlsdesc/exe1 +279: 42 3 5 +279: + cc -B. -o out/test/aarch64/tlsdesc/exe2 out/test/aarch64/tlsdesc/a.o out/test/aarch64/tlsdesc/b.o -Wl,-no-relax +284: + cat +284: + cc -o out/test/aarch64/undefined-glob/b.o -c -xc - +281: trace-symbol: out/test/aarch64/trace-symbol/c.so: definition of baz +281: + on_exit +281: + echo OK +281: OK +281: + exit 0 +279/347 Test #281: aarch64-trace-symbol ..................................... Passed 0.43 sec +test 291 + Start 291: aarch64-version-script-search-paths + +291: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script-search-paths.sh" +291: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +291: Environment variables: +291: MACHINE=aarch64 +291: CPU= +291: Test timeout computed to be: 1500 +278: + cc -B. -o out/test/aarch64/tlsdesc-static/exe1 out/test/aarch64/tlsdesc-static/a.o out/test/aarch64/tlsdesc-static/b.o -static 290: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/verbose.sh -278: + gcc -fPIC -c -o out/test/aarch64/tlsdesc-static/b.o -xc - -mtls-dialect=desc -276: 5 5 5 -276: + grep -E 'TLS_?DESC' -276: + objdump --dynamic-reloc out/test/aarch64/tlsdesc-initial-exec/exe2 290: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 290: ++ export LC_ALL=C 290: ++ LC_ALL=C @@ -22230,42 +22281,14 @@ 290: ++ OBJCOPY=objcopy 290: ++ STRIP=strip 290: ++ QEMU= -289: ++ testname=unresolved-symbols2 -289: ++ t=out/test/aarch64/unresolved-symbols2 -289: ++ mkdir -p out/test/aarch64/unresolved-symbols2 290: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/verbose.sh .sh -276: 0000000000020bd0 R_AARCH64_TLSDESC foo@Base +289: ++ case $MACHINE in +289: ++ tlsdesc_opt=-mtls-dialect=desc +283: + cc -o out/test/aarch64/undefined-glob-gc-sections/a.o -c -xc - +283: + cat 290: ++ testname=verbose 290: ++ t=out/test/aarch64/verbose 290: ++ mkdir -p out/test/aarch64/verbose -276: + on_exit -276: + echo OK -276: OK -276: + exit 0 -279/347 Test #276: aarch64-tlsdesc-initial-exec ............................. Passed 0.39 sec -289: ++ case $MACHINE in -289: ++ tlsdesc_opt=-mtls-dialect=desc -test 291 - Start 291: aarch64-version-script-search-paths - -291: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script-search-paths.sh" -291: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -291: Environment variables: -291: MACHINE=aarch64 -291: CPU= -291: Test timeout computed to be: 1500 -289: +++ uname -289: ++ '[' Linux = FreeBSD ']' -289: ++ trap 'on_error $LINENO' ERR -289: ++ trap on_exit EXIT -289: ++ echo -n 'Testing unresolved-symbols2 ... ' -289: Testing unresolved-symbols2 ... ++ set -o pipefail -289: ++ set -x -289: + cat -289: + cc -c -o out/test/aarch64/unresolved-symbols2/a.o -xc -fPIC - -290: ++ case $MACHINE in -290: ++ tlsdesc_opt=-mtls-dialect=desc -278: + cc -B. -o out/test/aarch64/tlsdesc-static/exe1 out/test/aarch64/tlsdesc-static/a.o out/test/aarch64/tlsdesc-static/b.o -static 291: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script-search-paths.sh 291: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 291: ++ export LC_ALL=C @@ -22282,47 +22305,70 @@ 291: ++ STRIP=strip 291: ++ QEMU= 291: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script-search-paths.sh .sh -283: + cat -291: ++ testname=version-script-search-paths -291: ++ t=out/test/aarch64/version-script-search-paths -291: ++ mkdir -p out/test/aarch64/version-script-search-paths -284: + cc -o out/test/aarch64/undefined-glob/a.o -c -xc - -284: + cat +289: +++ uname +289: ++ '[' Linux = FreeBSD ']' +289: ++ trap 'on_error $LINENO' ERR +289: ++ trap on_exit EXIT +289: ++ echo -n 'Testing unresolved-symbols2 ... ' +289: Testing unresolved-symbols2 ... ++ set -o pipefail +289: ++ set -x +289: + cat +290: ++ case $MACHINE in +290: ++ tlsdesc_opt=-mtls-dialect=desc 290: +++ uname -291: ++ case $MACHINE in -291: ++ tlsdesc_opt=-mtls-dialect=desc -291: +++ uname -291: ++ '[' Linux = FreeBSD ']' +289: + cc -c -o out/test/aarch64/unresolved-symbols2/a.o -xc -fPIC - 290: ++ '[' Linux = FreeBSD ']' 290: ++ trap 'on_error $LINENO' ERR 290: ++ trap on_exit EXIT 290: ++ echo -n 'Testing verbose ... ' 290: Testing verbose ... ++ set -o pipefail 290: ++ set -x +291: ++ testname=version-script-search-paths +291: ++ t=out/test/aarch64/version-script-search-paths +291: ++ mkdir -p out/test/aarch64/version-script-search-paths +291: ++ case $MACHINE in +291: ++ tlsdesc_opt=-mtls-dialect=desc +290: + cc -c -xc -o out/test/aarch64/verbose/a.o - +290: + cat +284: + cc -o out/test/aarch64/undefined-glob/c.o -c -xc - +284: + cat +291: +++ uname +283: + cc -o out/test/aarch64/undefined-glob-gc-sections/b.o -c -xc - +291: ++ '[' Linux = FreeBSD ']' 291: ++ trap 'on_error $LINENO' ERR 291: ++ trap on_exit EXIT 291: ++ echo -n 'Testing version-script-search-paths ... ' 291: Testing version-script-search-paths ... ++ set -o pipefail 291: ++ set -x 291: + mkdir -p out/test/aarch64/version-script-search-paths/foo/bar -290: + cc -c -xc -o out/test/aarch64/verbose/a.o - -285: + cc -o out/test/aarch64/undefined/a.o -c -x assembler - -290: + cat -285: + cat +288: + grep 'undefined.*foo' +283: + cat +288: + not cc -B. -o out/test/aarch64/unresolved-symbols/exe out/test/aarch64/unresolved-symbols/a.o 291: + echo 'ver_x { global: *; };' 291: + cat -283: + cc -o out/test/aarch64/undefined-glob-gc-sections/c.o -c -xc - -279: + cc -B. -o out/test/aarch64/tlsdesc/exe1 out/test/aarch64/tlsdesc/a.o out/test/aarch64/tlsdesc/b.o 291: + 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 +289: + 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 +290: + cc -B. -Wl,--verbose -o out/test/aarch64/verbose/exe out/test/aarch64/verbose/a.o +276: + out/test/aarch64/tlsdesc-initial-exec/exe2 +276: + grep '^5 5 5$' +276: 5 5 5 +276: + objdump --dynamic-reloc out/test/aarch64/tlsdesc-initial-exec/exe2 +276: + grep -E 'TLS_?DESC' +278: + grep 42 +278: + out/test/aarch64/tlsdesc-static/exe1 +286: + cat +286: + cc -o out/test/aarch64/undefined2/a.o -c -x assembler - +285: + cc -o out/test/aarch64/undefined/a.o -c -x assembler - 285: + cat -277: + grep '42 5' -287: mold: fatal: out/test/aarch64/unkown-section-type/a.o: .my_section: unsupported section type: 0x80000000 -287: + on_exit -287: + echo OK -287: OK -287: + exit 0 -280/347 Test #287: aarch64-unkown-section-type .............................. Passed 0.12 sec -277: + out/test/aarch64/tlsdesc-local-dynamic/exe1 +278: 42 +278: + 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 +276: 0000000000020bd0 R_AARCH64_TLSDESC foo@Base +276: + on_exit +276: + echo OK +276: OK +276: + exit 0 +284: + rm -f out/test/aarch64/undefined-glob/d.a +280/347 Test #276: aarch64-tlsdesc-initial-exec ............................. Passed 0.84 sec test 292 Start 292: aarch64-version-script @@ -22332,18 +22378,19 @@ 292: MACHINE=aarch64 292: CPU= 292: Test timeout computed to be: 1500 -277: 42 5 -277: + 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 -289: + 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 -284: + cat -284: + cc -o out/test/aarch64/undefined-glob/b.o -c -xc - -286: + cat -283: + rm -f out/test/aarch64/undefined-glob-gc-sections/d.a 285: + cc -o out/test/aarch64/undefined/b.o -c -x assembler - -286: + cc -o out/test/aarch64/undefined2/a.o -c -x assembler - +285: + cat +286: + cat +286: + cc -o out/test/aarch64/undefined2/b.o -c -x assembler - +284: + 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 +284: + cc -o out/test/aarch64/undefined-glob/e.o -c -xc - +284: + cat +288: mold: error: undefined symbol: foo +288: + grep 'undefined.*foo' +288: + not cc -B. -o out/test/aarch64/unresolved-symbols/exe out/test/aarch64/unresolved-symbols/a.o -Wl,-unresolved-symbols=report-all 292: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script.sh -290: + cc -B. -Wl,--verbose -o out/test/aarch64/verbose/exe out/test/aarch64/verbose/a.o -283: + 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 +283: + cat +286: + cat 292: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 292: ++ export LC_ALL=C 292: ++ LC_ALL=C @@ -22358,15 +22405,23 @@ 292: ++ OBJCOPY=objcopy 292: ++ STRIP=strip 292: ++ QEMU= -283: + cat +286: + cc -o out/test/aarch64/undefined2/c.o -c -x assembler - 292: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script.sh .sh +285: + cat +285: + cc -o out/test/aarch64/undefined/c.o -c -x assembler - 292: ++ testname=version-script 292: ++ t=out/test/aarch64/version-script 292: ++ mkdir -p out/test/aarch64/version-script -283: + cc -o out/test/aarch64/undefined-glob-gc-sections/e.o -c -xc - 292: ++ case $MACHINE in 292: ++ tlsdesc_opt=-mtls-dialect=desc 292: +++ uname +283: + cc -o out/test/aarch64/undefined-glob-gc-sections/c.o -c -xc - +279: + out/test/aarch64/tlsdesc/exe2 +285: + rm -f out/test/aarch64/undefined/d.a +279: + grep '42 3 5' +285: + ar cr out/test/aarch64/undefined/d.a out/test/aarch64/undefined/b.o out/test/aarch64/undefined/c.o +279: 42 3 5 +279: + cc -B. -shared -o out/test/aarch64/tlsdesc/c.so out/test/aarch64/tlsdesc/a.o 292: ++ '[' Linux = FreeBSD ']' 292: ++ trap 'on_error $LINENO' ERR 292: ++ trap on_exit EXIT @@ -22375,24 +22430,33 @@ 292: ++ set -x 292: + echo 'ver_x { global: *; };' 292: + cat -288: mold: error: undefined symbol: foo -288: + not cc -B. -o out/test/aarch64/unresolved-symbols/exe out/test/aarch64/unresolved-symbols/a.o -Wl,-unresolved-symbols=report-all -284: + cat -288: + grep 'undefined.*foo' -286: + cat -286: + cc -o out/test/aarch64/undefined2/b.o -c -x assembler - +285: + ./mold -static -o out/test/aarch64/undefined/exe out/test/aarch64/undefined/a.o out/test/aarch64/undefined/d.a +286: + rm -f out/test/aarch64/undefined2/d.a +289: + grep ' UND foo$' +289: + readelf -W --dyn-syms out/test/aarch64/unresolved-symbols2/b.so 291: + readelf --version-info out/test/aarch64/version-script-search-paths/c.so +286: + ar cr out/test/aarch64/undefined2/d.a out/test/aarch64/undefined2/b.o out/test/aarch64/undefined2/c.o 292: + 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 -286: + cat +289: 4: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND foo +289: + on_exit +289: + echo OK +289: OK +289: + exit 0 291: + grep -F 'Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x' out/test/aarch64/version-script-search-paths/log -284: + cc -o out/test/aarch64/undefined-glob/c.o -c -xc - -279: + out/test/aarch64/tlsdesc/exe1 291: 0x001c: Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x 291: + on_exit 291: + echo OK 291: OK 291: + exit 0 -281/347 Test #291: aarch64-version-script-search-paths ...................... Passed 0.08 sec +284: + cc -B. -o out/test/aarch64/undefined-glob/exe1 out/test/aarch64/undefined-glob/d.a out/test/aarch64/undefined-glob/e.o +290: + on_exit +290: + echo OK +290: OK +290: + exit 0 +286: + ./mold -static -o out/test/aarch64/undefined2/exe out/test/aarch64/undefined2/a.o out/test/aarch64/undefined2/d.a -undefined foo +281/347 Test #289: aarch64-unresolved-symbols2 .............................. Passed 0.20 sec +282/347 Test #290: aarch64-verbose .......................................... Passed 0.18 sec +283/347 Test #291: aarch64-version-script-search-paths ...................... Passed 0.17 sec test 293 Start 293: aarch64-version-script10 @@ -22402,50 +22466,6 @@ 293: MACHINE=aarch64 293: CPU= 293: Test timeout computed to be: 1500 -279: + grep '42 3 5' -279: 42 3 5 -279: + cc -B. -o out/test/aarch64/tlsdesc/exe2 out/test/aarch64/tlsdesc/a.o out/test/aarch64/tlsdesc/b.o -Wl,-no-relax -285: + cc -o out/test/aarch64/undefined/c.o -c -x assembler - -293: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script10.sh -293: + . /build/reproducible-path/mold-2.37.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= -285: + cat -293: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script10.sh .sh -286: + cc -o out/test/aarch64/undefined2/c.o -c -x assembler - -293: ++ testname=version-script10 -293: ++ t=out/test/aarch64/version-script10 -293: ++ mkdir -p out/test/aarch64/version-script10 -285: + rm -f out/test/aarch64/undefined/d.a -283: + 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 -285: + ar cr out/test/aarch64/undefined/d.a out/test/aarch64/undefined/b.o out/test/aarch64/undefined/c.o -286: + rm -f out/test/aarch64/undefined2/d.a -289: + readelf -W --dyn-syms out/test/aarch64/unresolved-symbols2/b.so -289: + grep ' UND foo$' -285: + ./mold -static -o out/test/aarch64/undefined/exe out/test/aarch64/undefined/a.o out/test/aarch64/undefined/d.a -284: + rm -f out/test/aarch64/undefined-glob/d.a -284: + 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 -290: + on_exit -290: + echo OK -290: OK -290: + exit 0 -289: 4: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND foo -289: + on_exit -289: + echo OK -289: OK -289: + exit 0 -282/347 Test #289: aarch64-unresolved-symbols2 .............................. Passed 0.13 sec test 294 Start 294: aarch64-version-script11 @@ -22455,10 +22475,21 @@ 294: MACHINE=aarch64 294: CPU= 294: Test timeout computed to be: 1500 -284: + cc -o out/test/aarch64/undefined-glob/e.o -c -xc - -286: + ar cr out/test/aarch64/undefined2/d.a out/test/aarch64/undefined2/b.o out/test/aarch64/undefined2/c.o -286: + ./mold -static -o out/test/aarch64/undefined2/exe out/test/aarch64/undefined2/a.o out/test/aarch64/undefined2/d.a -undefined foo +test 295 + Start 295: aarch64-version-script12 + +295: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script12.sh" +295: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +295: Environment variables: +295: MACHINE=aarch64 +295: CPU= +295: Test timeout computed to be: 1500 +288: mold: error: undefined symbol: foo +288: + cc -B. -o out/test/aarch64/unresolved-symbols/exe out/test/aarch64/unresolved-symbols/a.o -Wl,-unresolved-symbols=ignore-all 285: + readelf --symbols out/test/aarch64/undefined/exe +286: + readelf --symbols out/test/aarch64/undefined2/exe +286: + grep foo out/test/aarch64/undefined2/log +293: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script10.sh 294: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script11.sh 294: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 294: ++ export LC_ALL=C @@ -22475,43 +22506,27 @@ 294: ++ STRIP=strip 294: ++ QEMU= 294: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script11.sh .sh -277: + out/test/aarch64/tlsdesc-local-dynamic/exe2 -277: + grep '42 5' -285: + not grep foo out/test/aarch64/undefined/log -285: + grep foo out/test/aarch64/undefined/log -283/347 Test #290: aarch64-verbose .......................................... Passed 0.13 sec -277: 42 5 -test 295 - Start 295: aarch64-version-script12 - -295: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script12.sh" -295: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -295: Environment variables: -295: MACHINE=aarch64 -295: CPU= -295: Test timeout computed to be: 1500 -277: + on_exit -277: + echo OK -277: OK -277: + exit 0 +286: 14: 0000000000210210 0 NOTYPE LOCAL DEFAULT 3 foo +286: + not grep ndefined out/test/aarch64/undefined2/log +286: + grep ndefined out/test/aarch64/undefined2/log 294: ++ testname=version-script11 294: ++ t=out/test/aarch64/version-script11 294: ++ mkdir -p out/test/aarch64/version-script11 -284/347 Test #277: aarch64-tlsdesc-local-dynamic ............................ Passed 0.44 sec -285: + return 0 -285: + not grep bar out/test/aarch64/undefined/log -285: + grep bar out/test/aarch64/undefined/log -test 296 - Start 296: aarch64-version-script13 - -296: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script13.sh" -296: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -296: Environment variables: -296: MACHINE=aarch64 -296: CPU= -296: Test timeout computed to be: 1500 -285: + return 0 -285: + ./mold -static -o out/test/aarch64/undefined/exe out/test/aarch64/undefined/a.o out/test/aarch64/undefined/d.a -u foo +293: + . /build/reproducible-path/mold-2.37.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: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script10.sh .sh 295: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script12.sh 295: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 295: ++ export LC_ALL=C @@ -22527,12 +22542,41 @@ 295: ++ OBJCOPY=objcopy 295: ++ STRIP=strip 295: ++ QEMU= +285: + not grep foo out/test/aarch64/undefined/log +285: + grep foo out/test/aarch64/undefined/log +285: + return 0 +285: + not grep bar out/test/aarch64/undefined/log +285: + grep bar out/test/aarch64/undefined/log +293: ++ testname=version-script10 +293: ++ t=out/test/aarch64/version-script10 +293: ++ mkdir -p out/test/aarch64/version-script10 +293: ++ case $MACHINE in +293: ++ tlsdesc_opt=-mtls-dialect=desc +285: + return 0 +285: + ./mold -static -o out/test/aarch64/undefined/exe out/test/aarch64/undefined/a.o out/test/aarch64/undefined/d.a -u foo 295: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script12.sh .sh -284: + cat -288: mold: error: undefined symbol: foo -288: + cc -B. -o out/test/aarch64/unresolved-symbols/exe out/test/aarch64/unresolved-symbols/a.o -Wl,-unresolved-symbols=ignore-all -286: + readelf --symbols out/test/aarch64/undefined2/exe -286: + grep foo out/test/aarch64/undefined2/log +293: +++ uname +293: ++ '[' Linux = FreeBSD ']' +293: ++ trap 'on_error $LINENO' ERR +293: ++ trap on_exit EXIT +293: ++ echo -n 'Testing version-script10 ... ' +293: Testing version-script10 ... ++ set -o pipefail +293: ++ set -x +293: + echo 'VER1 { foo[12]; }; VER2 {};' +293: + cat +283: + rm -f out/test/aarch64/undefined-glob-gc-sections/d.a +283: + 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 +286: + return 0 +286: + on_exit +286: + echo OK +286: OK +286: + exit 0 +293: + 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 +285: + readelf --symbols out/test/aarch64/undefined/exe +285: + grep foo out/test/aarch64/undefined/log +285: 14: 0000000000210210 0 NOTYPE LOCAL DEFAULT 3 foo +285: + not grep bar out/test/aarch64/undefined/log +285: + grep bar out/test/aarch64/undefined/log 294: ++ case $MACHINE in 294: ++ tlsdesc_opt=-mtls-dialect=desc 294: +++ uname @@ -22543,13 +22587,35 @@ 294: Testing version-script11 ... ++ set -o pipefail 294: ++ set -x 294: + cat +294: + c++ -fPIC -c -o out/test/aarch64/version-script11/b.o -xc - +295: ++ testname=version-script12 +295: ++ t=out/test/aarch64/version-script12 +295: ++ mkdir -p out/test/aarch64/version-script12 +285: + return 0 +285: + ./mold -static -o out/test/aarch64/undefined/exe out/test/aarch64/undefined/a.o out/test/aarch64/undefined/d.a -u foo --undefined=bar +284/347 Test #286: aarch64-undefined2 ....................................... Passed 0.35 sec +294: + cat +test 296 + Start 296: aarch64-version-script13 + +296: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script13.sh" +296: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +296: Environment variables: +296: MACHINE=aarch64 +296: CPU= +296: Test timeout computed to be: 1500 +295: ++ case $MACHINE in +295: ++ tlsdesc_opt=-mtls-dialect=desc +295: +++ uname +295: ++ '[' Linux = FreeBSD ']' +295: ++ trap 'on_error $LINENO' ERR +295: ++ trap on_exit EXIT +295: ++ echo -n 'Testing version-script12 ... ' +295: Testing version-script12 ... ++ set -o pipefail +295: ++ set -x +295: + cat +295: + c++ -fPIC -c -o out/test/aarch64/version-script12/b.o -xc - 296: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script13.sh -278: + out/test/aarch64/tlsdesc-static/exe1 -286: 14: 0000000000210210 0 NOTYPE LOCAL DEFAULT 3 foo -286: + not grep ndefined out/test/aarch64/undefined2/log -286: + grep ndefined out/test/aarch64/undefined2/log -293: ++ case $MACHINE in -293: ++ tlsdesc_opt=-mtls-dialect=desc 296: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 296: ++ export LC_ALL=C 296: ++ LC_ALL=C @@ -22564,34 +22630,10 @@ 296: ++ OBJCOPY=objcopy 296: ++ STRIP=strip 296: ++ QEMU= -278: + grep 42 -293: +++ uname -278: 42 -286: + return 0 -286: + on_exit -286: + echo OK -286: OK -286: + exit 0 -278: + 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 -293: ++ '[' Linux = FreeBSD ']' -293: ++ trap 'on_error $LINENO' ERR -293: ++ trap on_exit EXIT -293: ++ echo -n 'Testing version-script10 ... ' -293: Testing version-script10 ... ++ set -o pipefail -293: ++ set -x -293: + echo 'VER1 { foo[12]; }; VER2 {};' -293: + cat 296: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script13.sh .sh -285/347 Test #286: aarch64-undefined2 ....................................... Passed 0.20 sec -test 297 - Start 297: aarch64-version-script14 - -297: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script14.sh" -297: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -297: Environment variables: -297: MACHINE=aarch64 -297: CPU= -297: Test timeout computed to be: 1500 +283: + cc -o out/test/aarch64/undefined-glob-gc-sections/e.o -c -xc - +283: + cat +295: + cat 296: ++ testname=version-script13 296: ++ t=out/test/aarch64/version-script13 296: ++ mkdir -p out/test/aarch64/version-script13 @@ -22605,31 +22647,56 @@ 296: Testing version-script13 ... ++ set -o pipefail 296: ++ set -x 296: + cat -296: + cat -296: + c++ -fPIC -c -o out/test/aarch64/version-script13/b.o -xc - -295: ++ testname=version-script12 -295: ++ t=out/test/aarch64/version-script12 -295: ++ mkdir -p out/test/aarch64/version-script12 -295: ++ case $MACHINE in -295: ++ tlsdesc_opt=-mtls-dialect=desc -295: +++ uname -295: ++ '[' Linux = FreeBSD ']' -295: ++ trap 'on_error $LINENO' ERR -295: ++ trap on_exit EXIT -295: ++ echo -n 'Testing version-script12 ... ' -295: Testing version-script12 ... ++ set -o pipefail -295: ++ set -x -295: + cat -295: + c++ -fPIC -c -o out/test/aarch64/version-script12/b.o -xc - -295: + cat -293: + 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 -294: + cat -294: + c++ -fPIC -c -o out/test/aarch64/version-script11/b.o -xc - 285: + readelf --symbols out/test/aarch64/undefined/exe 285: + grep foo out/test/aarch64/undefined/log +292: + readelf --version-info out/test/aarch64/version-script/c.so 285: 14: 0000000000210210 0 NOTYPE LOCAL DEFAULT 3 foo -285: + not grep bar out/test/aarch64/undefined/log 285: + grep bar out/test/aarch64/undefined/log +284: + readelf -W --symbols out/test/aarch64/undefined-glob/exe1 +296: + c++ -fPIC -c -o out/test/aarch64/version-script13/b.o -xc - +285: 15: 0000000000210210 0 NOTYPE LOCAL DEFAULT 3 bar +292: + grep -F 'Rev: 1 Flags: BASE Index: 1 Cnt: 1 Name: c.so' out/test/aarch64/version-script/log +285: + on_exit +285: + echo OK +285: OK +285: + exit 0 +285/347 Test #285: aarch64-undefined ........................................ Passed 0.41 sec +test 297 + Start 297: aarch64-version-script14 + +297: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script14.sh" +297: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +297: Environment variables: +297: MACHINE=aarch64 +297: CPU= +297: Test timeout computed to be: 1500 +292: 000000: Rev: 1 Flags: BASE Index: 1 Cnt: 1 Name: c.so +292: + grep -F 'Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x' out/test/aarch64/version-script/log +292: 0x001c: Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x +292: + on_exit +292: + echo OK +292: OK +292: + exit 0 +284: + not grep foo out/test/aarch64/undefined-glob/log1 +284: + grep foo out/test/aarch64/undefined-glob/log1 +296: + cat +286/347 Test #292: aarch64-version-script ................................... Passed 0.15 sec +test 298 + Start 298: aarch64-version-script15 + +298: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script15.sh" +298: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +298: Environment variables: +298: MACHINE=aarch64 +298: CPU= +298: Test timeout computed to be: 1500 +278: + grep 42 +278: + out/test/aarch64/tlsdesc-static/exe2 +278: 42 +278: + on_exit +278: + echo OK +278: OK +278: + exit 0 297: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script14.sh 297: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 297: ++ export LC_ALL=C @@ -22645,62 +22712,12 @@ 297: ++ OBJCOPY=objcopy 297: ++ STRIP=strip 297: ++ QEMU= -285: + return 0 -285: + ./mold -static -o out/test/aarch64/undefined/exe out/test/aarch64/undefined/a.o out/test/aarch64/undefined/d.a -u foo --undefined=bar 297: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script14.sh .sh -297: ++ testname=version-script14 -297: ++ t=out/test/aarch64/version-script14 -297: ++ mkdir -p out/test/aarch64/version-script14 -283: + readelf -W --symbols out/test/aarch64/undefined-glob-gc-sections/exe2 -283: + grep foo out/test/aarch64/undefined-glob-gc-sections/log2 -284: + cc -B. -o out/test/aarch64/undefined-glob/exe1 out/test/aarch64/undefined-glob/d.a out/test/aarch64/undefined-glob/e.o -297: ++ case $MACHINE in -297: ++ tlsdesc_opt=-mtls-dialect=desc -297: +++ uname -297: ++ '[' Linux = FreeBSD ']' -297: ++ trap 'on_error $LINENO' ERR -297: ++ trap on_exit EXIT -297: ++ echo -n 'Testing version-script14 ... ' -297: Testing version-script14 ... ++ set -o pipefail -297: ++ set -x -297: + cat -285: + readelf --symbols out/test/aarch64/undefined/exe -294: + 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 -283: 76: 00000000000309d0 4 OBJECT LOCAL DEFAULT 23 foo -283: 79: 00000000000309d4 4 OBJECT LOCAL DEFAULT 23 foobar -283: + grep foobar out/test/aarch64/undefined-glob-gc-sections/log2 -297: + cat -297: + c++ -fPIC -c -o out/test/aarch64/version-script14/b.o -xc - -283: 79: 00000000000309d4 4 OBJECT LOCAL DEFAULT 23 foobar -283: + not grep baz out/test/aarch64/undefined-glob-gc-sections/log2 -283: + grep baz out/test/aarch64/undefined-glob-gc-sections/log2 -285: + grep foo out/test/aarch64/undefined/log 295: + 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 -285: 14: 0000000000210210 0 NOTYPE LOCAL DEFAULT 3 foo -285: + grep bar out/test/aarch64/undefined/log -279: + grep '42 3 5' -279: + out/test/aarch64/tlsdesc/exe2 -285: 15: 0000000000210210 0 NOTYPE LOCAL DEFAULT 3 bar -283: + return 0 -283: + on_exit -283: + echo OK -283: OK -283: + exit 0 -286/347 Test #283: aarch64-undefined-glob-gc-sections ....................... Passed 0.29 sec -285: + on_exit -285: + echo OK -285: OK -285: + exit 0 -test 298 - Start 298: aarch64-version-script15 - -298: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script15.sh" -298: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -298: Environment variables: -298: MACHINE=aarch64 -298: CPU= -298: Test timeout computed to be: 1500 -287/347 Test #285: aarch64-undefined ........................................ Passed 0.27 sec +284: + return 0 +284: + not grep foobar out/test/aarch64/undefined-glob/log1 +284: + grep foobar out/test/aarch64/undefined-glob/log1 +287/347 Test #278: aarch64-tlsdesc-static ................................... Passed 0.83 sec test 299 Start 299: aarch64-version-script16 @@ -22710,31 +22727,107 @@ 299: MACHINE=aarch64 299: CPU= 299: Test timeout computed to be: 1500 -279: 42 3 5 -279: + cc -B. -shared -o out/test/aarch64/tlsdesc/c.so out/test/aarch64/tlsdesc/a.o +297: ++ testname=version-script14 +297: ++ t=out/test/aarch64/version-script14 +297: ++ mkdir -p out/test/aarch64/version-script14 +284: + return 0 +284: + not grep baz out/test/aarch64/undefined-glob/log1 +284: + grep baz out/test/aarch64/undefined-glob/log1 288: + not grep -w foo 288: + grep -w foo 288: + readelf --dyn-syms out/test/aarch64/unresolved-symbols/exe +279: + cc -B. -o out/test/aarch64/tlsdesc/exe3 out/test/aarch64/tlsdesc/b.o out/test/aarch64/tlsdesc/c.so +283: + 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 +293: + readelf --dyn-syms out/test/aarch64/version-script10/c.so +298: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script15.sh +294: + 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 +298: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +298: ++ export LC_ALL=C +298: ++ LC_ALL=C +298: ++ '[' -z aarch64 ']' +298: ++ '[' -z '' ']' +298: ++ TESTDIR=out/test/aarch64 +298: ++ CC=cc +298: ++ CXX=c++ +298: ++ GCC=gcc +298: ++ GXX=g++ +298: ++ OBJDUMP=objdump +298: ++ OBJCOPY=objcopy +298: ++ STRIP=strip +298: ++ QEMU= 288: + return 0 -288: + grep 'undefined.*foo' +284: + return 0 +284: + 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 -B. -o out/test/aarch64/unresolved-symbols/exe out/test/aarch64/unresolved-symbols/a.o -Wl,-unresolved-symbols=report-all -Wl,--warn-unresolved-symbols -292: + readelf --version-info out/test/aarch64/version-script/c.so -292: + grep -F 'Rev: 1 Flags: BASE Index: 1 Cnt: 1 Name: c.so' out/test/aarch64/version-script/log -296: + 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 -293: + readelf --dyn-syms out/test/aarch64/version-script10/c.so +298: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script15.sh .sh +298: ++ testname=version-script15 +298: ++ t=out/test/aarch64/version-script15 +298: ++ mkdir -p out/test/aarch64/version-script15 +298: ++ case $MACHINE in +298: ++ tlsdesc_opt=-mtls-dialect=desc +298: +++ uname +298: ++ '[' Linux = FreeBSD ']' +298: ++ trap 'on_error $LINENO' ERR +298: ++ trap on_exit EXIT +298: ++ echo -n 'Testing version-script15 ... ' +298: Testing version-script15 ... ++ set -o pipefail +298: ++ set -x +298: + cat +297: ++ case $MACHINE in +297: ++ tlsdesc_opt=-mtls-dialect=desc +297: +++ uname +299: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script16.sh +299: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +299: ++ export LC_ALL=C +299: ++ LC_ALL=C +299: ++ '[' -z aarch64 ']' +299: ++ '[' -z '' ']' +299: ++ TESTDIR=out/test/aarch64 +299: ++ CC=cc +299: ++ CXX=c++ +299: ++ GCC=gcc +299: ++ GXX=g++ +299: ++ OBJDUMP=objdump +299: ++ OBJCOPY=objcopy +299: ++ STRIP=strip +299: ++ QEMU= 293: + grep ' foo1@@VER1$' out/test/aarch64/version-script10/log +299: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script16.sh .sh 293: 5: 0000000000010748 0 NOTYPE GLOBAL DEFAULT 14 foo1@@VER1 293: + grep ' foo2@@VER1$' out/test/aarch64/version-script10/log 293: 6: 000000000001074c 0 NOTYPE GLOBAL DEFAULT 14 foo2@@VER1 293: + not grep ' foo3@@VER1$' out/test/aarch64/version-script10/log 293: + grep ' foo3@@VER1$' out/test/aarch64/version-script10/log +297: ++ '[' Linux = FreeBSD ']' +297: ++ trap 'on_error $LINENO' ERR +297: ++ trap on_exit EXIT +297: ++ echo -n 'Testing version-script14 ... ' +297: Testing version-script14 ... ++ set -o pipefail +297: ++ set -x +297: + cat +288: + grep 'undefined.*foo' +298: + cat +299: ++ testname=version-script16 +299: ++ t=out/test/aarch64/version-script16 +299: ++ mkdir -p out/test/aarch64/version-script16 +299: ++ case $MACHINE in +299: ++ tlsdesc_opt=-mtls-dialect=desc +299: +++ uname +299: ++ '[' Linux = FreeBSD ']' +299: ++ trap 'on_error $LINENO' ERR +299: ++ trap on_exit EXIT +299: ++ echo -n 'Testing version-script16 ... ' +299: Testing version-script16 ... ++ set -o pipefail +299: ++ set -x +299: + cat +298: + c++ -fPIC -c -o out/test/aarch64/version-script15/b.o -xc - 293: + return 0 293: + on_exit 293: + echo OK 293: OK 293: + exit 0 -298: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script15.sh -288/347 Test #293: aarch64-version-script10 ................................. Passed 0.09 sec +297: + c++ -fPIC -c -o out/test/aarch64/version-script14/b.o -xc - +288/347 Test #293: aarch64-version-script10 ................................. Passed 0.14 sec test 300 Start 300: aarch64-version-script17 @@ -22744,7 +22837,9 @@ 300: MACHINE=aarch64 300: CPU= 300: Test timeout computed to be: 1500 -299: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script16.sh +299: + cc -fPIC -c -o out/test/aarch64/version-script16/b.o -xc - +299: + cat +297: + cat 300: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script17.sh 300: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 300: ++ export LC_ALL=C @@ -22760,66 +22855,11 @@ 300: ++ OBJCOPY=objcopy 300: ++ STRIP=strip 300: ++ QEMU= -298: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -298: ++ export LC_ALL=C -298: ++ LC_ALL=C -298: ++ '[' -z aarch64 ']' -298: ++ '[' -z '' ']' -298: ++ TESTDIR=out/test/aarch64 -298: ++ CC=cc -298: ++ CXX=c++ -298: ++ GCC=gcc -298: ++ GXX=g++ -298: ++ OBJDUMP=objdump -298: ++ OBJCOPY=objcopy -292: 000000: Rev: 1 Flags: BASE Index: 1 Cnt: 1 Name: c.so -298: ++ STRIP=strip -298: ++ QEMU= -299: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -299: ++ export LC_ALL=C -299: ++ LC_ALL=C -299: ++ '[' -z aarch64 ']' -299: ++ '[' -z '' ']' -299: ++ TESTDIR=out/test/aarch64 -299: ++ CC=cc -299: ++ CXX=c++ -299: ++ GCC=gcc -299: ++ GXX=g++ -299: ++ OBJDUMP=objdump -299: ++ OBJCOPY=objcopy -299: ++ STRIP=strip -299: ++ QEMU= -298: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script15.sh .sh -297: + 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 -299: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script16.sh .sh +296: + 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 300: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script17.sh .sh -298: ++ testname=version-script15 -298: ++ t=out/test/aarch64/version-script15 -298: ++ mkdir -p out/test/aarch64/version-script15 -292: + grep -F 'Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x' out/test/aarch64/version-script/log -299: ++ testname=version-script16 -299: ++ t=out/test/aarch64/version-script16 -299: ++ mkdir -p out/test/aarch64/version-script16 -292: 0x001c: Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x -292: + on_exit -292: + echo OK -292: OK -292: + exit 0 300: ++ testname=version-script17 300: ++ t=out/test/aarch64/version-script17 300: ++ mkdir -p out/test/aarch64/version-script17 -289/347 Test #292: aarch64-version-script ................................... Passed 0.14 sec -295: + readelf --dyn-syms out/test/aarch64/version-script12/c.so -test 301 - Start 301: aarch64-version-script18 - -301: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script18.sh" -301: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -301: Environment variables: -301: MACHINE=aarch64 -301: CPU= -301: Test timeout computed to be: 1500 -295: + grep ' xyz' out/test/aarch64/version-script12/log 300: ++ case $MACHINE in 300: ++ tlsdesc_opt=-mtls-dialect=desc 300: +++ uname @@ -22829,38 +22869,76 @@ 300: ++ echo -n 'Testing version-script17 ... ' 300: Testing version-script17 ... ++ set -o pipefail 300: ++ set -x -300: + cat 300: + cc -fPIC -c -o out/test/aarch64/version-script17/a.o -xc - -299: ++ case $MACHINE in -299: ++ tlsdesc_opt=-mtls-dialect=desc -299: +++ uname -299: ++ '[' Linux = FreeBSD ']' -299: ++ trap 'on_error $LINENO' ERR -299: ++ trap on_exit EXIT -299: ++ echo -n 'Testing version-script16 ... ' -299: Testing version-script16 ... ++ set -o pipefail -299: ++ set -x -299: + cat -299: + cat -299: + cc -fPIC -c -o out/test/aarch64/version-script16/b.o -xc - -298: ++ case $MACHINE in -298: ++ tlsdesc_opt=-mtls-dialect=desc -278: + out/test/aarch64/tlsdesc-static/exe2 -278: + grep 42 -278: 42 -278: + on_exit -278: + echo OK -278: OK -278: + exit 0 -298: +++ uname -298: ++ '[' Linux = FreeBSD ']' -298: ++ trap 'on_error $LINENO' ERR -298: ++ trap on_exit EXIT -298: ++ echo -n 'Testing version-script15 ... ' -298: Testing version-script15 ... ++ set -o pipefail -298: ++ set -x -298: + cat -290/347 Test #278: aarch64-tlsdesc-static ................................... Passed 0.50 sec +300: + cat +298: + 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 +284: + readelf -W --symbols out/test/aarch64/undefined-glob/exe2 +283: + readelf -W --symbols out/test/aarch64/undefined-glob-gc-sections/exe2 +283: + grep foo out/test/aarch64/undefined-glob-gc-sections/log2 +294: + readelf --dyn-syms out/test/aarch64/version-script11/c.so +284: + grep foo out/test/aarch64/undefined-glob/log2 +283: 76: 00000000000309d0 4 OBJECT LOCAL DEFAULT 23 foo +283: 79: 00000000000309d4 4 OBJECT LOCAL DEFAULT 23 foobar +294: + grep foo@@VER_X1 out/test/aarch64/version-script11/log +284: 81: 00000000000309d8 4 OBJECT LOCAL DEFAULT 24 foo +284: 84: 00000000000309dc 4 OBJECT LOCAL DEFAULT 24 foobar +284: + grep foobar out/test/aarch64/undefined-glob/log2 +284: 84: 00000000000309dc 4 OBJECT LOCAL DEFAULT 24 foobar +283: + grep foobar out/test/aarch64/undefined-glob-gc-sections/log2 +283: 79: 00000000000309d4 4 OBJECT LOCAL DEFAULT 23 foobar +283: + not grep baz out/test/aarch64/undefined-glob-gc-sections/log2 +283: + grep baz out/test/aarch64/undefined-glob-gc-sections/log2 +283: + return 0 +283: + on_exit +283: + echo OK +283: OK +283: + exit 0 +279: + grep '42 3 5' +289/347 Test #283: aarch64-undefined-glob-gc-sections ....................... Passed 0.68 sec +test 301 + Start 301: aarch64-version-script18 + +301: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script18.sh" +301: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +301: Environment variables: +301: MACHINE=aarch64 +301: CPU= +301: Test timeout computed to be: 1500 +284: + not grep baz out/test/aarch64/undefined-glob/log2 +284: + grep baz out/test/aarch64/undefined-glob/log2 +294: 5: 0000000000010728 8 FUNC GLOBAL DEFAULT 14 foo@@VER_X1 +294: + not grep ' bar' out/test/aarch64/version-script11/log +294: + grep ' bar' out/test/aarch64/version-script11/log +294: + return 0 +294: + not grep ' baz' out/test/aarch64/version-script11/log +294: + grep ' baz' out/test/aarch64/version-script11/log +294: + return 0 +294: + on_exit +294: + echo OK +294: OK +294: + exit 0 +295: + readelf --dyn-syms out/test/aarch64/version-script12/c.so +295: + grep ' xyz' out/test/aarch64/version-script12/log +295: 6: 0000000000010728 8 FUNC GLOBAL DEFAULT 13 xyz +295: + grep ' foo_bar' out/test/aarch64/version-script12/log +297: + 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 +301: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script18.sh +301: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +301: ++ export LC_ALL=C +301: ++ LC_ALL=C +301: ++ '[' -z aarch64 ']' +301: ++ '[' -z '' ']' +301: ++ TESTDIR=out/test/aarch64 +301: ++ CC=cc +301: ++ CXX=c++ +301: ++ GCC=gcc +301: ++ GXX=g++ +301: ++ OBJDUMP=objdump +301: ++ OBJCOPY=objcopy +301: ++ STRIP=strip +301: ++ QEMU= +301: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script18.sh .sh +290/347 Test #294: aarch64-version-script11 ................................. Passed 0.21 sec test 302 Start 302: aarch64-version-script19 @@ -22870,8 +22948,40 @@ 302: MACHINE=aarch64 302: CPU= 302: Test timeout computed to be: 1500 -295: 6: 0000000000010728 8 FUNC GLOBAL DEFAULT 13 xyz -295: + grep ' foo_bar' out/test/aarch64/version-script12/log +299: + 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 +301: ++ testname=version-script18 +301: ++ t=out/test/aarch64/version-script18 +301: ++ mkdir -p out/test/aarch64/version-script18 +301: ++ case $MACHINE in +301: ++ tlsdesc_opt=-mtls-dialect=desc +301: +++ uname +301: ++ '[' Linux = FreeBSD ']' +301: ++ trap 'on_error $LINENO' ERR +301: ++ trap on_exit EXIT +301: ++ echo -n 'Testing version-script18 ... ' +301: Testing version-script18 ... ++ set -o pipefail +301: ++ set -x +301: + cat +279: + out/test/aarch64/tlsdesc/exe3 +279: 42 3 5 +279: + cc -B. -shared -o out/test/aarch64/tlsdesc/c.so out/test/aarch64/tlsdesc/a.o -Wl,-no-relax +284: + return 0 +284: + on_exit +284: + echo OK +284: OK +284: + exit 0 +288: mold: warning: undefined symbol: foo +288: + cc -B. -o out/test/aarch64/unresolved-symbols/exe out/test/aarch64/unresolved-symbols/a.o -Wl,-unresolved-symbols=ignore-in-object-files +288: + not grep 'undefined.*foo' +288: + grep 'undefined.*foo' +295: 5: 0000000000010730 8 FUNC GLOBAL DEFAULT 13 foo_bar +295: + not grep ' foo$' out/test/aarch64/version-script12/log +295: + grep ' foo$' out/test/aarch64/version-script12/log +295: + return 0 +295: + on_exit +295: + echo OK +295: OK +295: + exit 0 302: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script19.sh 302: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 302: ++ export LC_ALL=C @@ -22887,41 +22997,8 @@ 302: ++ OBJCOPY=objcopy 302: ++ STRIP=strip 302: ++ QEMU= -279: + cc -B. -o out/test/aarch64/tlsdesc/exe3 out/test/aarch64/tlsdesc/b.o out/test/aarch64/tlsdesc/c.so -284: + readelf -W --symbols out/test/aarch64/undefined-glob/exe1 -302: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script19.sh .sh -301: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script18.sh -295: 5: 0000000000010730 8 FUNC GLOBAL DEFAULT 13 foo_bar -302: ++ testname=version-script19 -302: ++ t=out/test/aarch64/version-script19 -302: ++ mkdir -p out/test/aarch64/version-script19 -295: + not grep ' foo$' out/test/aarch64/version-script12/log -295: + grep ' foo$' out/test/aarch64/version-script12/log -301: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -301: ++ export LC_ALL=C -301: ++ LC_ALL=C -301: ++ '[' -z aarch64 ']' -301: ++ '[' -z '' ']' -301: ++ TESTDIR=out/test/aarch64 -301: ++ CC=cc -301: ++ CXX=c++ -301: ++ GCC=gcc -301: ++ GXX=g++ -301: ++ OBJDUMP=objdump -301: ++ OBJCOPY=objcopy -301: ++ STRIP=strip -301: ++ QEMU= -284: + not grep foo out/test/aarch64/undefined-glob/log1 -284: + grep foo out/test/aarch64/undefined-glob/log1 -295: + return 0 -295: + on_exit -295: + echo OK -295: OK -295: + exit 0 -298: + cat -291/347 Test #295: aarch64-version-script12 ................................. Passed 0.09 sec -298: + c++ -fPIC -c -o out/test/aarch64/version-script15/b.o -xc - -294: + readelf --dyn-syms out/test/aarch64/version-script11/c.so +291/347 Test #284: aarch64-undefined-glob ................................... Passed 0.67 sec +292/347 Test #295: aarch64-version-script12 ................................. Passed 0.22 sec test 303 Start 303: aarch64-version-script2 @@ -22931,15 +23008,41 @@ 303: MACHINE=aarch64 303: CPU= 303: Test timeout computed to be: 1500 -301: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script18.sh .sh -303: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script2.sh -301: ++ testname=version-script18 -301: ++ t=out/test/aarch64/version-script18 -301: ++ mkdir -p out/test/aarch64/version-script18 +test 304 + Start 304: aarch64-version-script20 + +304: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script20.sh" +304: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +304: Environment variables: +304: MACHINE=aarch64 +304: CPU= +304: Test timeout computed to be: 1500 +302: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script19.sh .sh +302: ++ testname=version-script19 +302: ++ t=out/test/aarch64/version-script19 +302: ++ mkdir -p out/test/aarch64/version-script19 +302: ++ case $MACHINE in +302: ++ tlsdesc_opt=-mtls-dialect=desc +302: +++ uname +302: ++ '[' Linux = FreeBSD ']' +302: ++ trap 'on_error $LINENO' ERR +302: ++ trap on_exit EXIT +302: ++ echo -n 'Testing version-script19 ... ' +302: Testing version-script19 ... ++ set -o pipefail +302: ++ set -x +302: + cat +302: + cat +302: + cc -fPIC -c -o out/test/aarch64/version-script19/b.o -xc++ - +301: + cc -fPIC -c -o out/test/aarch64/version-script18/b.o -xc++ - +301: + cat +192: + sed 's/.*/void func&();/' +192: + seq 1 10000 +192: + echo 'int main() {' +300: + cc -B. -shared -fPIC -o out/test/aarch64/version-script17/b.so -xc - 300: + cat -284: + return 0 -284: + not grep foobar out/test/aarch64/undefined-glob/log1 -284: + grep foobar out/test/aarch64/undefined-glob/log1 +296: + readelf --dyn-syms out/test/aarch64/version-script13/c.so +296: + grep ' foobar' out/test/aarch64/version-script13/log +303: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script2.sh 303: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 303: ++ export LC_ALL=C 303: ++ LC_ALL=C @@ -22954,71 +23057,32 @@ 303: ++ OBJCOPY=objcopy 303: ++ STRIP=strip 303: ++ QEMU= -294: + grep foo@@VER_X1 out/test/aarch64/version-script11/log -303: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script2.sh .sh -284: + return 0 -284: + not grep baz out/test/aarch64/undefined-glob/log1 -284: + grep baz out/test/aarch64/undefined-glob/log1 -303: ++ testname=version-script2 -303: ++ t=out/test/aarch64/version-script2 -302: ++ case $MACHINE in -302: ++ tlsdesc_opt=-mtls-dialect=desc -303: ++ mkdir -p out/test/aarch64/version-script2 -294: 5: 0000000000010728 8 FUNC GLOBAL DEFAULT 14 foo@@VER_X1 -294: + not grep ' bar' out/test/aarch64/version-script11/log -294: + grep ' bar' out/test/aarch64/version-script11/log -300: + cc -B. -shared -fPIC -o out/test/aarch64/version-script17/b.so -xc - -302: +++ uname -303: ++ case $MACHINE in -303: ++ tlsdesc_opt=-mtls-dialect=desc -284: + return 0 -284: + 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*' -302: ++ '[' Linux = FreeBSD ']' -294: + return 0 -294: + not grep ' baz' out/test/aarch64/version-script11/log -294: + grep ' baz' out/test/aarch64/version-script11/log -302: ++ trap 'on_error $LINENO' ERR -302: ++ trap on_exit EXIT -302: ++ echo -n 'Testing version-script19 ... ' -302: Testing version-script19 ... ++ set -o pipefail -302: ++ set -x -302: + cat -303: +++ uname -294: + return 0 -294: + on_exit -294: + echo OK -294: OK -294: + exit 0 -302: + cat -302: + cc -fPIC -c -o out/test/aarch64/version-script19/b.o -xc++ - -292/347 Test #294: aarch64-version-script11 ................................. Passed 0.11 sec -test 304 - Start 304: aarch64-version-script20 +192: + seq 1 10000 +296: 5: 00000000000106e8 8 FUNC GLOBAL DEFAULT 13 foobar +296: + not grep ' foo$' out/test/aarch64/version-script13/log +296: + grep ' foo$' out/test/aarch64/version-script13/log +296: + return 0 +296: + on_exit +296: + echo OK +296: OK +296: + exit 0 +293/347 Test #296: aarch64-version-script13 ................................. Passed 0.22 sec +test 305 + Start 305: aarch64-version-script21 -304: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script20.sh" -304: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -304: Environment variables: -304: MACHINE=aarch64 -304: CPU= -304: Test timeout computed to be: 1500 -288: mold: warning: undefined symbol: foo -288: + not grep 'undefined.*foo' -288: + grep 'undefined.*foo' -288: + cc -B. -o out/test/aarch64/unresolved-symbols/exe out/test/aarch64/unresolved-symbols/a.o -Wl,-unresolved-symbols=ignore-in-object-files -301: ++ case $MACHINE in -301: ++ tlsdesc_opt=-mtls-dialect=desc -299: + 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 -296: + readelf --dyn-syms out/test/aarch64/version-script13/c.so -303: ++ '[' Linux = FreeBSD ']' -303: ++ trap 'on_error $LINENO' ERR -303: ++ trap on_exit EXIT -303: ++ echo -n 'Testing version-script2 ... ' -303: Testing version-script2 ... ++ set -o pipefail -303: ++ set -x -303: + cat -296: + grep ' foobar' out/test/aarch64/version-script13/log +305: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script21.sh" +305: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +305: Environment variables: +305: MACHINE=aarch64 +305: CPU= +305: Test timeout computed to be: 1500 +192: + sed 's/.*/func&();/' +303: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script2.sh .sh 304: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script20.sh -303: + cc -B. -xc -shared -o out/test/aarch64/version-script2/b.so -Wl,-version-script,out/test/aarch64/version-script2/a.ver - +298: + readelf --dyn-syms out/test/aarch64/version-script15/c.so +298: + grep ' azZ' out/test/aarch64/version-script15/log +298: 5: 0000000000010728 8 FUNC GLOBAL DEFAULT 13 azZ +298: + grep ' czZ' out/test/aarch64/version-script15/log 304: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 304: ++ export LC_ALL=C 304: ++ LC_ALL=C @@ -23033,57 +23097,15 @@ 304: ++ OBJCOPY=objcopy 304: ++ STRIP=strip 304: ++ QEMU= -303: + cat -296: 5: 00000000000106e8 8 FUNC GLOBAL DEFAULT 13 foobar -301: +++ uname -301: ++ '[' Linux = FreeBSD ']' -301: ++ trap 'on_error $LINENO' ERR -301: ++ trap on_exit EXIT -301: ++ echo -n 'Testing version-script18 ... ' -301: Testing version-script18 ... ++ set -o pipefail -301: ++ set -x -301: + cat -296: + not grep ' foo$' out/test/aarch64/version-script13/log -296: + grep ' foo$' out/test/aarch64/version-script13/log 304: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script20.sh .sh -301: + cat -301: + cc -fPIC -c -o out/test/aarch64/version-script18/b.o -xc++ - 304: ++ testname=version-script20 304: ++ t=out/test/aarch64/version-script20 304: ++ mkdir -p out/test/aarch64/version-script20 -298: + 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 297: + readelf --dyn-syms out/test/aarch64/version-script14/c.so 297: + grep ' xyz' out/test/aarch64/version-script14/log 297: 7: 00000000000107a8 8 FUNC GLOBAL DEFAULT 13 xyz 297: + not grep ' foobarzx' out/test/aarch64/version-script14/log 297: + grep ' foobarzx' out/test/aarch64/version-script14/log -304: ++ case $MACHINE in -304: ++ tlsdesc_opt=-mtls-dialect=desc -304: +++ uname -304: ++ '[' Linux = FreeBSD ']' -304: ++ trap 'on_error $LINENO' ERR -304: ++ trap on_exit EXIT -304: ++ echo -n 'Testing version-script20 ... ' -304: Testing version-script20 ... ++ set -o pipefail -304: ++ set -x -304: + cat -304: + cat -296: + return 0 -296: + on_exit -296: + echo OK -296: OK -296: + exit 0 -293/347 Test #296: aarch64-version-script13 ................................. Passed 0.13 sec -test 305 - Start 305: aarch64-version-script21 - -305: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script21.sh" -305: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -305: Environment variables: -305: MACHINE=aarch64 -305: CPU= -305: Test timeout computed to be: 1500 -304: + cc -fPIC -c -o out/test/aarch64/version-script20/b.o -xc - 297: + return 0 297: + grep ' foobarcx' out/test/aarch64/version-script14/log 305: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script21.sh @@ -23101,57 +23123,86 @@ 305: ++ OBJCOPY=objcopy 305: ++ STRIP=strip 305: ++ QEMU= -297: 6: 00000000000107b8 8 FUNC GLOBAL DEFAULT 13 foobarcx +192: + echo '}' +192: + cc -c -o out/test/aarch64/range-extension-thunk3/d.o out/test/aarch64/range-extension-thunk3/c.c +303: ++ testname=version-script2 +303: ++ t=out/test/aarch64/version-script2 +303: ++ mkdir -p out/test/aarch64/version-script2 305: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script21.sh .sh +301: + 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 +297: 6: 00000000000107b8 8 FUNC GLOBAL DEFAULT 13 foobarcx 297: + grep ' foo123bar456bx' out/test/aarch64/version-script14/log +298: 6: 0000000000010730 8 FUNC GLOBAL DEFAULT 13 czZ +298: + not grep ' azC' out/test/aarch64/version-script15/log +298: + grep ' azC' out/test/aarch64/version-script15/log +304: ++ case $MACHINE in +304: ++ tlsdesc_opt=-mtls-dialect=desc +304: +++ uname +303: ++ case $MACHINE in +303: ++ tlsdesc_opt=-mtls-dialect=desc +288: + return 0 +288: + grep 'undefined.*foo' +298: + return 0 +298: + not grep ' aaZ' out/test/aarch64/version-script15/log +298: + grep ' aaZ' out/test/aarch64/version-script15/log +288: + not cc -B. -o out/test/aarch64/unresolved-symbols/exe out/test/aarch64/unresolved-symbols/a.o -Wl,-unresolved-symbols=ignore-in-shared-libs +303: +++ uname 305: ++ testname=version-script21 305: ++ t=out/test/aarch64/version-script21 305: ++ mkdir -p out/test/aarch64/version-script21 -301: + 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 +298: + return 0 +298: + on_exit +298: + echo OK +298: OK +298: + exit 0 +294/347 Test #298: aarch64-version-script15 ................................. Passed 0.21 sec +303: ++ '[' Linux = FreeBSD ']' +303: ++ trap 'on_error $LINENO' ERR +303: ++ trap on_exit EXIT +303: ++ echo -n 'Testing version-script2 ... ' +303: Testing version-script2 ... ++ set -o pipefail +303: ++ set -x +test 306 + Start 306: aarch64-version-script22 + +306: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script22.sh" +306: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +306: Environment variables: +306: MACHINE=aarch64 +306: CPU= +306: Test timeout computed to be: 1500 +303: + cat 297: 5: 00000000000107c0 8 FUNC GLOBAL DEFAULT 13 foo123bar456bx 297: + not grep ' foo123bar456c' out/test/aarch64/version-script14/log 297: + grep ' foo123bar456c' out/test/aarch64/version-script14/log -302: + 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 -305: ++ case $MACHINE in -305: ++ tlsdesc_opt=-mtls-dialect=desc -284: + readelf -W --symbols out/test/aarch64/undefined-glob/exe2 297: + return 0 297: + not grep ' foo123bar456x' out/test/aarch64/version-script14/log 297: + grep ' foo123bar456x' out/test/aarch64/version-script14/log -305: +++ uname -305: ++ '[' Linux = FreeBSD ']' -305: ++ trap 'on_error $LINENO' ERR -305: ++ trap on_exit EXIT -305: ++ echo -n 'Testing version-script21 ... ' -305: Testing version-script21 ... ++ set -o pipefail -305: ++ set -x -305: + cat +304: ++ '[' Linux = FreeBSD ']' +304: ++ trap 'on_error $LINENO' ERR +304: ++ trap on_exit EXIT +304: ++ echo -n 'Testing version-script20 ... ' +304: Testing version-script20 ... ++ set -o pipefail +304: ++ set -x +304: + cat 297: + return 0 297: + on_exit 297: + echo OK 297: OK 297: + exit 0 -294/347 Test #297: aarch64-version-script14 ................................. Passed 0.14 sec -test 306 - Start 306: aarch64-version-script22 - -306: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script22.sh" -306: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -306: Environment variables: -306: MACHINE=aarch64 -306: CPU= -306: Test timeout computed to be: 1500 -284: + grep foo out/test/aarch64/undefined-glob/log2 -284: 81: 00000000000309d8 4 OBJECT LOCAL DEFAULT 24 foo -284: 84: 00000000000309dc 4 OBJECT LOCAL DEFAULT 24 foobar -284: + grep foobar out/test/aarch64/undefined-glob/log2 -305: + cat -305: + cc -fPIC -c -o out/test/aarch64/version-script21/b.o -xc - -298: + readelf --dyn-syms out/test/aarch64/version-script15/c.so -298: + grep ' azZ' out/test/aarch64/version-script15/log 306: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script22.sh -298: 5: 0000000000010728 8 FUNC GLOBAL DEFAULT 13 azZ -298: + grep ' czZ' out/test/aarch64/version-script15/log +305: ++ case $MACHINE in +305: ++ tlsdesc_opt=-mtls-dialect=desc +295/347 Test #297: aarch64-version-script14 ................................. Passed 0.22 sec +test 307 + Start 307: aarch64-version-script23 + +307: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script23.sh" +307: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +307: Environment variables: +307: MACHINE=aarch64 +307: CPU= +307: Test timeout computed to be: 1500 306: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 306: ++ export LC_ALL=C 306: ++ LC_ALL=C @@ -23166,50 +23217,31 @@ 306: ++ OBJCOPY=objcopy 306: ++ STRIP=strip 306: ++ QEMU= -298: 6: 0000000000010730 8 FUNC GLOBAL DEFAULT 13 czZ -284: 84: 00000000000309dc 4 OBJECT LOCAL DEFAULT 24 foobar 306: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script22.sh .sh -284: + not grep baz out/test/aarch64/undefined-glob/log2 -284: + grep baz out/test/aarch64/undefined-glob/log2 -298: + not grep ' azC' out/test/aarch64/version-script15/log -298: + grep ' azC' out/test/aarch64/version-script15/log +303: + cc -B. -xc -shared -o out/test/aarch64/version-script2/b.so -Wl,-version-script,out/test/aarch64/version-script2/a.ver - +302: + 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 +305: +++ uname +305: ++ '[' Linux = FreeBSD ']' +305: ++ trap 'on_error $LINENO' ERR +305: ++ trap on_exit EXIT +305: ++ echo -n 'Testing version-script21 ... ' +305: Testing version-script21 ... ++ set -o pipefail +305: ++ set -x +305: + cat +304: + cc -fPIC -c -o out/test/aarch64/version-script20/b.o -xc - +304: + cat +299: + readelf --dyn-syms out/test/aarch64/version-script16/c.so 306: ++ testname=version-script22 306: ++ t=out/test/aarch64/version-script22 306: ++ mkdir -p out/test/aarch64/version-script22 -299: + readelf --dyn-syms out/test/aarch64/version-script16/c.so 299: + grep foobar -284: + return 0 -284: + on_exit -284: + echo OK -284: OK -284: + exit 0 -295/347 Test #284: aarch64-undefined-glob ................................... Passed 0.39 sec -298: + return 0 -298: + not grep ' aaZ' out/test/aarch64/version-script15/log -298: + grep ' aaZ' out/test/aarch64/version-script15/log -test 307 - Start 307: aarch64-version-script23 - -307: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script23.sh" -307: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -307: Environment variables: -307: MACHINE=aarch64 -307: CPU= -307: Test timeout computed to be: 1500 -298: + return 0 -298: + on_exit -298: + echo OK -298: OK -298: + exit 0 -306: ++ case $MACHINE in -306: ++ tlsdesc_opt=-mtls-dialect=desc -306: +++ uname 299: 5: 00000000000106c8 8 FUNC GLOBAL DEFAULT 13 foobar 299: + on_exit 299: + echo OK 299: OK 299: + exit 0 -296/347 Test #299: aarch64-version-script16 ................................. Passed 0.10 sec +303: + cat +296/347 Test #299: aarch64-version-script16 ................................. Passed 0.21 sec test 308 Start 308: aarch64-version-script3 @@ -23219,6 +23251,9 @@ 308: MACHINE=aarch64 308: CPU= 308: Test timeout computed to be: 1500 +305: + cat +305: + cc -fPIC -c -o out/test/aarch64/version-script21/b.o -xc - +279: + cc -B. -o out/test/aarch64/tlsdesc/exe4 out/test/aarch64/tlsdesc/b.o out/test/aarch64/tlsdesc/c.so -Wl,-no-relax 307: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script23.sh 307: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 307: ++ export LC_ALL=C @@ -23234,30 +23269,6 @@ 307: ++ OBJCOPY=objcopy 307: ++ STRIP=strip 307: ++ QEMU= -307: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script23.sh .sh -279: + out/test/aarch64/tlsdesc/exe3 -279: + grep '42 3 5' -279: 42 3 5 -279: + cc -B. -shared -o out/test/aarch64/tlsdesc/c.so out/test/aarch64/tlsdesc/a.o -Wl,-no-relax -304: + 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 -297/347 Test #298: aarch64-version-script15 ................................. Passed 0.12 sec -test 309 - Start 309: aarch64-version-script4 - -309: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script4.sh" -309: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -309: Environment variables: -309: MACHINE=aarch64 -309: CPU= -309: Test timeout computed to be: 1500 -307: ++ testname=version-script23 -307: ++ t=out/test/aarch64/version-script23 -307: ++ mkdir -p out/test/aarch64/version-script23 -307: ++ case $MACHINE in -307: ++ tlsdesc_opt=-mtls-dialect=desc -288: + return 0 -288: + not cc -B. -o out/test/aarch64/unresolved-symbols/exe out/test/aarch64/unresolved-symbols/a.o -Wl,-unresolved-symbols=ignore-in-shared-libs -288: + grep 'undefined.*foo' 308: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script3.sh 308: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 308: ++ export LC_ALL=C @@ -23277,67 +23288,74 @@ 308: ++ testname=version-script3 308: ++ t=out/test/aarch64/version-script3 308: ++ mkdir -p out/test/aarch64/version-script3 -309: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script4.sh -309: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -309: ++ export LC_ALL=C -309: ++ LC_ALL=C -309: ++ '[' -z aarch64 ']' -309: ++ '[' -z '' ']' -309: ++ TESTDIR=out/test/aarch64 -309: ++ CC=cc -309: ++ CXX=c++ -309: ++ GCC=gcc -309: ++ GXX=g++ -309: ++ OBJDUMP=objdump -309: ++ OBJCOPY=objcopy -309: ++ STRIP=strip -309: ++ QEMU= +306: ++ case $MACHINE in +306: ++ tlsdesc_opt=-mtls-dialect=desc +307: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script23.sh .sh +307: ++ testname=version-script23 +307: ++ t=out/test/aarch64/version-script23 +307: ++ mkdir -p out/test/aarch64/version-script23 +307: ++ case $MACHINE in +307: ++ tlsdesc_opt=-mtls-dialect=desc 308: ++ case $MACHINE in 308: ++ tlsdesc_opt=-mtls-dialect=desc -307: +++ uname +306: +++ uname 308: +++ uname -307: ++ '[' Linux = FreeBSD ']' -307: ++ trap 'on_error $LINENO' ERR -307: ++ trap on_exit EXIT -307: ++ echo -n 'Testing version-script23 ... ' -307: Testing version-script23 ... ++ set -o pipefail -307: ++ set -x -307: + cat -306: ++ '[' Linux = FreeBSD ']' 308: ++ '[' Linux = FreeBSD ']' -306: ++ trap 'on_error $LINENO' ERR -306: ++ trap on_exit EXIT -306: ++ echo -n 'Testing version-script22 ... ' -306: Testing version-script22 ... ++ set -o pipefail -306: ++ set -x -306: + cat 308: ++ trap 'on_error $LINENO' ERR 308: ++ trap on_exit EXIT 308: ++ echo -n 'Testing version-script3 ... ' 308: Testing version-script3 ... ++ set -o pipefail 308: ++ set -x 308: + cat -307: + cat +307: +++ uname +306: ++ '[' Linux = FreeBSD ']' +306: ++ trap 'on_error $LINENO' ERR +306: ++ trap on_exit EXIT +306: ++ echo -n 'Testing version-script22 ... ' +306: Testing version-script22 ... ++ set -o pipefail +306: ++ set -x 306: + cat -305: + 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: + cc -B. -o out/test/aarch64/version-script17/exe1 out/test/aarch64/version-script17/a.o out/test/aarch64/version-script17/b.so +307: ++ '[' Linux = FreeBSD ']' +307: ++ trap 'on_error $LINENO' ERR +307: ++ trap on_exit EXIT +307: ++ echo -n 'Testing version-script23 ... ' +307: Testing version-script23 ... ++ set -o pipefail +307: ++ set -x +307: + cat +301: + grep Bar +304: + 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 308: + cat -308: + cc -B. -xc -shared -o out/test/aarch64/version-script3/b.so -Wl,-version-script,out/test/aarch64/version-script3/a.ver - 307: + cc -c -o out/test/aarch64/version-script23/b.o -xassembler - 301: + readelf --wide --dyn-syms out/test/aarch64/version-script18/c.so +306: + cc -fPIC -c -o out/test/aarch64/version-script22/b.o -xc - +307: + cat +305: + 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 +306: + cat 301: + grep libalpha -301: + grep Bar -309: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script4.sh .sh +288: mold: error: undefined symbol: foo +288: + on_exit +288: + echo OK +288: OK +288: + exit 0 +300: + cc -B. -o out/test/aarch64/version-script17/exe1 out/test/aarch64/version-script17/a.o out/test/aarch64/version-script17/b.so +297/347 Test #288: aarch64-unresolved-symbols ............................... Passed 0.61 sec +test 309 + Start 309: aarch64-version-script4 + +309: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script4.sh" +309: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +309: Environment variables: +309: MACHINE=aarch64 +309: CPU= +309: Test timeout computed to be: 1500 +307: + 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 +308: + cc -B. -xc -shared -o out/test/aarch64/version-script3/b.so -Wl,-version-script,out/test/aarch64/version-script3/a.ver - 301: 5: 00000000000106e8 8 FUNC WEAK DEFAULT 13 _ZN8libalpha3fooIN7libbeta3BarEEEvv 301: + on_exit 301: + echo OK 301: OK 301: + exit 0 -307: + 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 -309: ++ testname=version-script4 -309: ++ t=out/test/aarch64/version-script4 -309: ++ mkdir -p out/test/aarch64/version-script4 -298/347 Test #301: aarch64-version-script18 ................................. Passed 0.12 sec +298/347 Test #301: aarch64-version-script18 ................................. Passed 0.17 sec test 310 Start 310: aarch64-version-script5 @@ -23347,9 +23365,30 @@ 310: MACHINE=aarch64 310: CPU= 310: Test timeout computed to be: 1500 +309: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script4.sh +309: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +309: ++ export LC_ALL=C +309: ++ LC_ALL=C +309: ++ '[' -z aarch64 ']' +309: ++ '[' -z '' ']' +309: ++ TESTDIR=out/test/aarch64 +309: ++ CC=cc +309: ++ CXX=c++ +309: ++ GCC=gcc +309: ++ GXX=g++ +309: ++ OBJDUMP=objdump +309: ++ OBJCOPY=objcopy +309: ++ STRIP=strip +309: ++ QEMU= +309: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script4.sh .sh +309: ++ testname=version-script4 +309: ++ t=out/test/aarch64/version-script4 +309: ++ mkdir -p out/test/aarch64/version-script4 309: ++ case $MACHINE in 309: ++ tlsdesc_opt=-mtls-dialect=desc 309: +++ uname +302: + readelf -W --dyn-syms out/test/aarch64/version-script19/c.so +310: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script5.sh 309: ++ '[' Linux = FreeBSD ']' 309: ++ trap 'on_error $LINENO' ERR 309: ++ trap on_exit EXIT @@ -23357,9 +23396,6 @@ 309: Testing version-script4 ... ++ set -o pipefail 309: ++ set -x 309: + cat -309: + cat -306: + cc -fPIC -c -o out/test/aarch64/version-script22/b.o -xc - -310: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script5.sh 310: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 310: ++ export LC_ALL=C 310: ++ LC_ALL=C @@ -23380,20 +23416,30 @@ 310: ++ mkdir -p out/test/aarch64/version-script5 310: ++ case $MACHINE in 310: ++ tlsdesc_opt=-mtls-dialect=desc -303: + cc -xc -c -o out/test/aarch64/version-script2/c.o - -302: + readelf -W --dyn-syms out/test/aarch64/version-script19/c.so +310: +++ uname +310: ++ '[' Linux = FreeBSD ']' +310: ++ trap 'on_error $LINENO' ERR +310: ++ trap on_exit EXIT +310: ++ echo -n 'Testing version-script5 ... ' +310: Testing version-script5 ... ++ set -o pipefail +310: ++ set -x +310: + cat 309: + c++ -fPIC -c -o out/test/aarch64/version-script4/b.o -xc++ - +309: + cat +310: + cat 302: + not grep -E foobar out/test/aarch64/version-script19/log 302: + grep -E foobar out/test/aarch64/version-script19/log +279: + grep '42 3 5' +279: + out/test/aarch64/tlsdesc/exe4 +310: + c++ -fPIC -c -o out/test/aarch64/version-script5/b.o -xc - +279: 42 3 5 +279: + on_exit +279: + echo OK +279: OK +279: + exit 0 302: + return 0 +299/347 Test #279: aarch64-tlsdesc .......................................... Passed 1.13 sec 302: + grep -E 'GLOBAL.*baz' out/test/aarch64/version-script19/log -303: + cat -302: 5: 00000000000106f0 8 FUNC GLOBAL DEFAULT 13 _Z3bazv -302: + on_exit -302: + echo OK -302: OK -302: + exit 0 -299/347 Test #302: aarch64-version-script19 ................................. Passed 0.12 sec test 311 Start 311: aarch64-version-script6 @@ -23403,20 +23449,29 @@ 311: MACHINE=aarch64 311: CPU= 311: Test timeout computed to be: 1500 -310: +++ uname -304: + readelf -W --dyn-syms out/test/aarch64/version-script20/c.so +302: 5: 00000000000106f0 8 FUNC GLOBAL DEFAULT 13 _Z3bazv +302: + on_exit +302: + echo OK +302: OK +302: + exit 0 +307: + readelf -W --dyn-syms out/test/aarch64/version-script23/c.so +306: + 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 +305: + readelf -W --dyn-syms out/test/aarch64/version-script21/c.so 311: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script6.sh -304: + grep -F foo_x@@VER2 out/test/aarch64/version-script20/log -310: ++ '[' Linux = FreeBSD ']' -310: ++ trap 'on_error $LINENO' ERR -310: ++ trap on_exit EXIT -310: ++ echo -n 'Testing version-script5 ... ' -310: Testing version-script5 ... ++ set -o pipefail -310: ++ set -x -310: + cat -304: 5: 00000000000107a8 8 FUNC GLOBAL DEFAULT 14 foo_x@@VER2 -304: + grep -F foo_y@@VER1 out/test/aarch64/version-script20/log -304: 6: 00000000000107b0 8 FUNC GLOBAL DEFAULT 14 foo_y@@VER1 +300/347 Test #302: aarch64-version-script19 ................................. Passed 0.23 sec +test 312 + Start 312: aarch64-version-script7 + +312: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script7.sh" +312: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +312: Environment variables: +312: MACHINE=aarch64 +312: CPU= +312: Test timeout computed to be: 1500 +305: + grep -F foo_x@@VER1 out/test/aarch64/version-script21/log +305: 5: 00000000000107a8 8 FUNC GLOBAL DEFAULT 14 foo_x@@VER1 +305: + grep -F foo_y@@VER2 out/test/aarch64/version-script21/log +307: + grep -F 'foo?@@VER1' out/test/aarch64/version-script23/log 311: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 311: ++ export LC_ALL=C 311: ++ LC_ALL=C @@ -23432,31 +23487,22 @@ 311: ++ STRIP=strip 311: ++ QEMU= 311: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script6.sh .sh -304: + grep -F foo_z@@VER1 out/test/aarch64/version-script20/log -304: 7: 00000000000107b8 8 FUNC GLOBAL DEFAULT 14 foo_z@@VER1 -310: + cat -304: + on_exit -304: + echo OK -304: OK -304: + exit 0 -310: + c++ -fPIC -c -o out/test/aarch64/version-script5/b.o -xc - -300/347 Test #304: aarch64-version-script20 ................................. Passed 0.11 sec -test 312 - Start 312: aarch64-version-script7 - -312: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script7.sh" -312: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -312: Environment variables: -312: MACHINE=aarch64 -312: CPU= -312: Test timeout computed to be: 1500 -288: mold: error: undefined symbol: foo -288: + on_exit -288: + echo OK -288: OK -288: + exit 0 +311: ++ testname=version-script6 +311: ++ t=out/test/aarch64/version-script6 +311: ++ mkdir -p out/test/aarch64/version-script6 +303: + cat +303: + cc -xc -c -o out/test/aarch64/version-script2/c.o - 312: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script7.sh -301/347 Test #288: aarch64-unresolved-symbols ............................... Passed 0.38 sec +304: + readelf -W --dyn-syms out/test/aarch64/version-script20/c.so +307: 5: 00000000000106e8 0 NOTYPE GLOBAL DEFAULT 14 foo?@@VER1 +307: + on_exit +307: + echo OK +307: OK +307: + exit 0 +301/347 Test #307: aarch64-version-script23 ................................. Passed 0.15 sec +311: ++ case $MACHINE in +311: ++ tlsdesc_opt=-mtls-dialect=desc +310: + 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 test 313 Start 313: aarch64-version-script8 @@ -23466,6 +23512,14 @@ 313: MACHINE=aarch64 313: CPU= 313: Test timeout computed to be: 1500 +311: +++ uname +305: 6: 00000000000107b0 8 FUNC GLOBAL DEFAULT 14 foo_y@@VER2 +305: + grep -F foo_z@@VER2 out/test/aarch64/version-script21/log +305: 7: 00000000000107b8 8 FUNC GLOBAL DEFAULT 14 foo_z@@VER2 +305: + on_exit +305: + echo OK +305: OK +305: + exit 0 312: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 312: ++ export LC_ALL=C 312: ++ LC_ALL=C @@ -23480,25 +23534,32 @@ 312: ++ OBJCOPY=objcopy 312: ++ STRIP=strip 312: ++ QEMU= -279: + cc -B. -o out/test/aarch64/tlsdesc/exe4 out/test/aarch64/tlsdesc/b.o out/test/aarch64/tlsdesc/c.so -Wl,-no-relax +312: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script7.sh .sh +312: ++ testname=version-script7 +312: ++ t=out/test/aarch64/version-script7 +312: ++ mkdir -p out/test/aarch64/version-script7 +304: + grep -F foo_x@@VER2 out/test/aarch64/version-script20/log +304: 5: 00000000000107a8 8 FUNC GLOBAL DEFAULT 14 foo_x@@VER2 +304: + grep -F foo_y@@VER1 out/test/aarch64/version-script20/log +304: 6: 00000000000107b0 8 FUNC GLOBAL DEFAULT 14 foo_y@@VER1 +304: + grep -F foo_z@@VER1 out/test/aarch64/version-script20/log 309: + 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 -306: + 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 +302/347 Test #305: aarch64-version-script21 ................................. Passed 0.21 sec +304: 7: 00000000000107b8 8 FUNC GLOBAL DEFAULT 14 foo_z@@VER1 +304: + on_exit +304: + echo OK +304: OK +304: + exit 0 +test 314 + Start 314: aarch64-version-script9 + +314: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script9.sh" +314: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +314: Environment variables: +314: MACHINE=aarch64 +314: CPU= +314: Test timeout computed to be: 1500 313: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script8.sh -311: ++ testname=version-script6 -311: ++ t=out/test/aarch64/version-script6 -311: ++ mkdir -p out/test/aarch64/version-script6 -311: ++ case $MACHINE in -311: ++ tlsdesc_opt=-mtls-dialect=desc -311: +++ uname -311: ++ '[' Linux = FreeBSD ']' -311: ++ trap 'on_error $LINENO' ERR -311: ++ trap on_exit EXIT -311: ++ echo -n 'Testing version-script6 ... ' -311: Testing version-script6 ... ++ set -o pipefail -311: ++ set -x -311: + cat -305: + readelf -W --dyn-syms out/test/aarch64/version-script21/c.so -311: + c++ -fPIC -c -o out/test/aarch64/version-script6/b.o -xc - 313: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 313: ++ export LC_ALL=C 313: ++ LC_ALL=C @@ -23514,31 +23575,11 @@ 313: ++ STRIP=strip 313: ++ QEMU= 313: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script8.sh .sh -305: + grep -F foo_x@@VER1 out/test/aarch64/version-script21/log -311: + cat -305: 5: 00000000000107a8 8 FUNC GLOBAL DEFAULT 14 foo_x@@VER1 -305: + grep -F foo_y@@VER2 out/test/aarch64/version-script21/log 313: ++ testname=version-script8 313: ++ t=out/test/aarch64/version-script8 313: ++ mkdir -p out/test/aarch64/version-script8 313: ++ case $MACHINE in 313: ++ tlsdesc_opt=-mtls-dialect=desc -312: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script7.sh .sh -312: ++ testname=version-script7 -312: ++ t=out/test/aarch64/version-script7 -312: ++ mkdir -p out/test/aarch64/version-script7 -312: ++ case $MACHINE in -312: ++ tlsdesc_opt=-mtls-dialect=desc -312: +++ uname -312: ++ '[' Linux = FreeBSD ']' -312: ++ trap 'on_error $LINENO' ERR -312: ++ trap on_exit EXIT -312: ++ echo -n 'Testing version-script7 ... ' -312: Testing version-script7 ... ++ set -o pipefail -312: ++ set -x -312: + cat -310: + 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 -303: + cc -B. -o out/test/aarch64/version-script2/exe out/test/aarch64/version-script2/c.o out/test/aarch64/version-script2/b.so 313: +++ uname 313: ++ '[' Linux = FreeBSD ']' 313: ++ trap 'on_error $LINENO' ERR @@ -23547,26 +23588,50 @@ 313: Testing version-script8 ... ++ set -o pipefail 313: ++ set -x 313: + cat -305: 6: 00000000000107b0 8 FUNC GLOBAL DEFAULT 14 foo_y@@VER2 -305: + grep -F foo_z@@VER2 out/test/aarch64/version-script21/log -305: 7: 00000000000107b8 8 FUNC GLOBAL DEFAULT 14 foo_z@@VER2 -305: + on_exit -305: + echo OK -305: OK -305: + exit 0 -302/347 Test #305: aarch64-version-script21 ................................. Passed 0.11 sec -test 314 - Start 314: aarch64-version-script9 +311: ++ '[' Linux = FreeBSD ']' +311: ++ trap 'on_error $LINENO' ERR +311: ++ trap on_exit EXIT +311: ++ echo -n 'Testing version-script6 ... ' +311: Testing version-script6 ... ++ set -o pipefail +311: ++ set -x +311: + cat +303/347 Test #304: aarch64-version-script20 ................................. Passed 0.24 sec +test 315 + Start 315: aarch64-version -314: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script9.sh" -314: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -314: Environment variables: -314: MACHINE=aarch64 -314: CPU= -314: Test timeout computed to be: 1500 +315: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version.sh" +315: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +315: Environment variables: +315: MACHINE=aarch64 +315: CPU= +315: Test timeout computed to be: 1500 +312: ++ case $MACHINE in +312: ++ tlsdesc_opt=-mtls-dialect=desc +311: + cat +313: + cc -B. -xc -shared -o out/test/aarch64/version-script8/b.so -Wl,-version-script,out/test/aarch64/version-script8/a.ver - 313: + cat +311: + c++ -fPIC -c -o out/test/aarch64/version-script6/b.o -xc - +312: +++ uname +315: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version.sh +303: + cc -B. -o out/test/aarch64/version-script2/exe out/test/aarch64/version-script2/c.o out/test/aarch64/version-script2/b.so +306: + readelf -W --dyn-syms out/test/aarch64/version-script22/c.so +306: + grep -F foo_bar@@VER2 out/test/aarch64/version-script22/log +306: 5: 0000000000010728 8 FUNC GLOBAL DEFAULT 14 foo_bar@@VER2 +306: + on_exit +306: + echo OK +306: OK +306: + exit 0 +304/347 Test #306: aarch64-version-script22 ................................. Passed 0.20 sec 314: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script9.sh -313: + cc -B. -xc -shared -o out/test/aarch64/version-script8/b.so -Wl,-version-script,out/test/aarch64/version-script8/a.ver - +test 316 + Start 316: aarch64-versioned-undef + +316: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/versioned-undef.sh" +316: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +316: Environment variables: +316: MACHINE=aarch64 +316: CPU= +316: Test timeout computed to be: 1500 314: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 314: ++ export LC_ALL=C 314: ++ LC_ALL=C @@ -23581,51 +23646,10 @@ 314: ++ OBJCOPY=objcopy 314: ++ STRIP=strip 314: ++ QEMU= -300: + nm -g out/test/aarch64/version-script17/exe1 -300: + grep foo -300: 0000000000010828 T foo -312: + c++ -fPIC -c -o out/test/aarch64/version-script7/b.o -xc - -300: + cat -312: + cat -300: + 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 -311: + 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 314: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script9.sh .sh -308: + cat -308: + cc -xc -c -o out/test/aarch64/version-script3/c.o - 314: ++ testname=version-script9 314: ++ t=out/test/aarch64/version-script9 314: ++ mkdir -p out/test/aarch64/version-script9 -279: + grep '42 3 5' -314: ++ case $MACHINE in -314: ++ tlsdesc_opt=-mtls-dialect=desc -279: + out/test/aarch64/tlsdesc/exe4 -314: +++ uname -314: ++ '[' Linux = FreeBSD ']' -314: ++ trap 'on_error $LINENO' ERR -314: ++ trap on_exit EXIT -314: ++ echo -n 'Testing version-script9 ... ' -314: Testing version-script9 ... ++ set -o pipefail -314: ++ set -x -314: + echo 'VER1 { extern "C++" {}; foo; }; VER2 {};' -314: + cat -279: 42 3 5 -279: + on_exit -279: + echo OK -279: OK -279: + exit 0 -307: + readelf -W --dyn-syms out/test/aarch64/version-script23/c.so -303/347 Test #279: aarch64-tlsdesc .......................................... Passed 0.67 sec -test 315 - Start 315: aarch64-version - -315: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version.sh" -315: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -315: Environment variables: -315: MACHINE=aarch64 -315: CPU= -315: Test timeout computed to be: 1500 -315: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version.sh -309: + readelf --dyn-syms out/test/aarch64/version-script4/c.so 315: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 315: ++ export LC_ALL=C 315: ++ LC_ALL=C @@ -23640,78 +23664,32 @@ 315: ++ OBJCOPY=objcopy 315: ++ STRIP=strip 315: ++ QEMU= -314: + 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 315: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version.sh .sh -309: + grep -F _ZN3foo3barE out/test/aarch64/version-script4/log -306: + readelf -W --dyn-syms out/test/aarch64/version-script22/c.so -307: + grep -F 'foo?@@VER1' out/test/aarch64/version-script23/log -307: 5: 00000000000106e8 0 NOTYPE GLOBAL DEFAULT 14 foo?@@VER1 315: ++ testname=version 315: ++ t=out/test/aarch64/version 315: ++ mkdir -p out/test/aarch64/version 315: ++ case $MACHINE in 315: ++ tlsdesc_opt=-mtls-dialect=desc 315: +++ uname -306: + grep -F foo_bar@@VER2 out/test/aarch64/version-script22/log -310: + readelf --dyn-syms out/test/aarch64/version-script5/c.so 315: ++ '[' Linux = FreeBSD ']' +312: ++ '[' Linux = FreeBSD ']' 315: ++ trap 'on_error $LINENO' ERR 315: ++ trap on_exit EXIT 315: ++ echo -n 'Testing version ... ' 315: Testing version ... ++ set -o pipefail 315: ++ set -x -309: 5: 00000000000308c4 4 OBJECT GLOBAL DEFAULT 19 _ZN3foo3barE -309: + not grep -F ' bar' out/test/aarch64/version-script4/log -309: + grep -F ' bar' out/test/aarch64/version-script4/log -307: + on_exit -307: + echo OK -307: OK -307: + exit 0 -306: 5: 0000000000010728 8 FUNC GLOBAL DEFAULT 14 foo_bar@@VER2 +312: ++ trap 'on_error $LINENO' ERR +312: ++ trap on_exit EXIT +312: ++ echo -n 'Testing version-script7 ... ' +312: Testing version-script7 ... ++ set -o pipefail +312: ++ set -x +312: + cat 315: + grep __tsan_init -304/347 Test #307: aarch64-version-script23 ................................. Passed 0.12 sec -test 316 - Start 316: aarch64-versioned-undef - -316: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/versioned-undef.sh" -316: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -316: Environment variables: -316: MACHINE=aarch64 -316: CPU= -316: Test timeout computed to be: 1500 -310: + grep -F foo out/test/aarch64/version-script5/log -306: + on_exit -306: + echo OK -306: OK -306: + exit 0 315: + nm mold -309: + return 0 -309: + on_exit -309: + echo OK -309: OK -309: + exit 0 -308: + cc -B. -o out/test/aarch64/version-script3/exe out/test/aarch64/version-script3/c.o out/test/aarch64/version-script3/b.so +311: + 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 316: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/versioned-undef.sh -305/347 Test #306: aarch64-version-script22 ................................. Passed 0.13 sec -306/347 Test #309: aarch64-version-script4 .................................. Passed 0.12 sec -test 317 - Start 317: aarch64-visibility - -317: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/visibility.sh" -317: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -317: Environment variables: -317: MACHINE=aarch64 -317: CPU= -317: Test timeout computed to be: 1500 -test 318 - Start 318: aarch64-warn-common - -318: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/warn-common.sh" -318: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -318: Environment variables: -318: MACHINE=aarch64 -318: CPU= -318: Test timeout computed to be: 1500 +314: ++ case $MACHINE in +314: ++ tlsdesc_opt=-mtls-dialect=desc 316: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 316: ++ export LC_ALL=C 316: ++ LC_ALL=C @@ -23726,6 +23704,8 @@ 316: ++ OBJCOPY=objcopy 316: ++ STRIP=strip 316: ++ QEMU= +312: + cat +300: + grep foo 316: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/versioned-undef.sh .sh 316: ++ testname=versioned-undef 316: ++ t=out/test/aarch64/versioned-undef @@ -23733,9 +23713,75 @@ 316: ++ case $MACHINE in 316: ++ tlsdesc_opt=-mtls-dialect=desc 316: +++ uname +316: ++ '[' Linux = FreeBSD ']' +300: + nm -g out/test/aarch64/version-script17/exe1 +300: 0000000000010828 T foo +312: + c++ -fPIC -c -o out/test/aarch64/version-script7/b.o -xc - +308: + cat +309: + readelf --dyn-syms out/test/aarch64/version-script4/c.so +300: + cat +316: ++ trap 'on_error $LINENO' ERR +316: ++ trap on_exit EXIT +316: ++ echo -n 'Testing versioned-undef ... ' +316: Testing versioned-undef ... ++ set -o pipefail +316: ++ set -x +316: + is_musl +308: + cc -xc -c -o out/test/aarch64/version-script3/c.o - +316: + grep musl +310: + readelf --dyn-syms out/test/aarch64/version-script5/c.so +300: + 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 +314: +++ uname +309: + grep -F _ZN3foo3barE out/test/aarch64/version-script4/log +309: 5: 00000000000308c4 4 OBJECT GLOBAL DEFAULT 19 _ZN3foo3barE +314: ++ '[' Linux = FreeBSD ']' +316: + cat +309: + not grep -F ' bar' out/test/aarch64/version-script4/log +309: + grep -F ' bar' out/test/aarch64/version-script4/log +314: ++ trap 'on_error $LINENO' ERR +314: ++ trap on_exit EXIT +314: ++ echo -n 'Testing version-script9 ... ' +314: Testing version-script9 ... ++ set -o pipefail +314: ++ set -x +314: + echo 'VER1 { extern "C++" {}; foo; }; VER2 {};' +314: + cat +316: + cc -fPIC -c -o out/test/aarch64/versioned-undef/a.o -xc - +314: + 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 +309: + return 0 +309: + on_exit +309: + echo OK +309: OK +309: + exit 0 +310: + grep -F foo out/test/aarch64/version-script5/log +305/347 Test #309: aarch64-version-script4 .................................. Passed 0.18 sec +test 317 + Start 317: aarch64-visibility + +317: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/visibility.sh" +317: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +317: Environment variables: +317: MACHINE=aarch64 +317: CPU= +317: Test timeout computed to be: 1500 +310: 5: 00000000000308c0 4 OBJECT GLOBAL DEFAULT 19 foo +310: + not grep -F ' main' out/test/aarch64/version-script5/log +310: + grep -F ' main' out/test/aarch64/version-script5/log +310: + return 0 +310: + on_exit +310: + echo OK +310: OK +310: + exit 0 303: + out/test/aarch64/version-script2/exe 303: + readelf --dyn-syms out/test/aarch64/version-script2/exe -310: 5: 00000000000308c0 4 OBJECT GLOBAL DEFAULT 19 foo +306/347 Test #310: aarch64-version-script5 .................................. Passed 0.19 sec +test 318 + Start 318: aarch64-warn-common + +318: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/warn-common.sh" +318: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +318: Environment variables: +318: MACHINE=aarch64 +318: CPU= +318: Test timeout computed to be: 1500 317: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/visibility.sh 317: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 317: ++ export LC_ALL=C @@ -23751,25 +23797,22 @@ 317: ++ OBJCOPY=objcopy 317: ++ STRIP=strip 317: ++ QEMU= +303: + grep -F foo@ver1 out/test/aarch64/version-script2/log +308: + cc -B. -o out/test/aarch64/version-script3/exe out/test/aarch64/version-script3/c.o out/test/aarch64/version-script3/b.so +303: 3: 0000000000000000 0 FUNC GLOBAL DEFAULT UND foo@ver1 (4) +303: + grep -F bar@ver2 out/test/aarch64/version-script2/log 317: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/visibility.sh .sh 317: ++ testname=visibility 317: ++ t=out/test/aarch64/visibility 317: ++ mkdir -p out/test/aarch64/visibility -303: + grep -F foo@ver1 out/test/aarch64/version-script2/log 318: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/warn-common.sh -303: 3: 0000000000000000 0 FUNC GLOBAL DEFAULT UND foo@ver1 (4) -316: ++ '[' Linux = FreeBSD ']' -316: ++ trap 'on_error $LINENO' ERR -316: ++ trap on_exit EXIT -316: ++ echo -n 'Testing versioned-undef ... ' -316: Testing versioned-undef ... ++ set -o pipefail -316: ++ set -x -316: + is_musl -318: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -310: + not grep -F ' main' out/test/aarch64/version-script5/log -310: + grep -F ' main' out/test/aarch64/version-script5/log 317: ++ case $MACHINE in 317: ++ tlsdesc_opt=-mtls-dialect=desc +317: +++ uname +311: + cat +303: 1: 0000000000000000 0 FUNC GLOBAL DEFAULT UND bar@ver2 (5) +303: + grep -F baz@ver3 out/test/aarch64/version-script2/log +318: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 318: ++ export LC_ALL=C 318: ++ LC_ALL=C 318: ++ '[' -z aarch64 ']' @@ -23783,28 +23826,25 @@ 318: ++ OBJCOPY=objcopy 318: ++ STRIP=strip 318: ++ QEMU= -317: +++ uname +311: + c++ -fPIC -c -o out/test/aarch64/version-script6/e.o -xc - +312: + 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 +311: + cat +316: + echo 'VER1 { local: *; }; VER2 { local: *; }; VER3 { local: *; };' +316: + 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: 2: 0000000000000000 0 FUNC GLOBAL DEFAULT UND baz@ver3 (6) +318: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/warn-common.sh .sh +303: + on_exit +303: + echo OK +303: OK +303: + exit 0 317: ++ '[' Linux = FreeBSD ']' -316: + grep musl 317: ++ trap 'on_error $LINENO' ERR 317: ++ trap on_exit EXIT 317: ++ echo -n 'Testing visibility ... ' 317: Testing visibility ... ++ set -o pipefail 317: ++ set -x +307/347 Test #303: aarch64-version-script2 .................................. Passed 0.37 sec 317: + cat -318: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/warn-common.sh .sh -318: ++ testname=warn-common -318: ++ t=out/test/aarch64/warn-common -318: ++ mkdir -p out/test/aarch64/warn-common -312: + 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 -310: + return 0 -310: + on_exit -310: + echo OK -310: OK -310: + exit 0 -318: ++ case $MACHINE in -318: ++ tlsdesc_opt=-mtls-dialect=desc -307/347 Test #310: aarch64-version-script5 .................................. Passed 0.11 sec test 319 Start 319: aarch64-warn-once @@ -23814,28 +23854,31 @@ 319: MACHINE=aarch64 319: CPU= 319: Test timeout computed to be: 1500 -316: + cc -fPIC -c -o out/test/aarch64/versioned-undef/a.o -xc - -316: + cat -303: + grep -F bar@ver2 out/test/aarch64/version-script2/log -303: 1: 0000000000000000 0 FUNC GLOBAL DEFAULT UND bar@ver2 (5) -303: + grep -F baz@ver3 out/test/aarch64/version-script2/log -303: 2: 0000000000000000 0 FUNC GLOBAL DEFAULT UND baz@ver3 (6) +317: + cc -xc -c -o out/test/aarch64/visibility/a.o - +317: + cc -xc -c -o out/test/aarch64/visibility/b.o - +318: ++ testname=warn-common +318: ++ t=out/test/aarch64/warn-common +318: ++ mkdir -p out/test/aarch64/warn-common +318: ++ case $MACHINE in +318: ++ tlsdesc_opt=-mtls-dialect=desc 318: +++ uname -303: + on_exit -303: + echo OK -303: OK -303: + exit 0 -308/347 Test #303: aarch64-version-script2 .................................. Passed 0.21 sec -test 320 - Start 320: aarch64-warn-symbol-type - -320: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/warn-symbol-type.sh" -320: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -320: Environment variables: -320: MACHINE=aarch64 -320: CPU= -320: Test timeout computed to be: 1500 +318: ++ '[' Linux = FreeBSD ']' +318: ++ trap 'on_error $LINENO' ERR +318: ++ trap on_exit EXIT +318: ++ echo -n 'Testing warn-common ... ' +318: Testing warn-common ... ++ set -o pipefail +318: ++ set -x +318: + cc -fcommon -c -xc -o out/test/aarch64/warn-common/a.o - +318: + cat +313: + cc -xc -c -o out/test/aarch64/version-script8/c.o - +313: + cat +300: + nm -g out/test/aarch64/version-script17/exe2 +300: + not grep foo +300: + grep foo +317: + cat 319: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/warn-once.sh +300: + return 0 +300: + cat 319: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 319: ++ export LC_ALL=C 319: ++ LC_ALL=C @@ -23854,88 +23897,61 @@ 319: ++ testname=warn-once 319: ++ t=out/test/aarch64/warn-once 319: ++ mkdir -p out/test/aarch64/warn-once -320: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/warn-symbol-type.sh -320: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -320: ++ export LC_ALL=C -320: ++ LC_ALL=C -320: ++ '[' -z aarch64 ']' -320: ++ '[' -z '' ']' -320: ++ TESTDIR=out/test/aarch64 -320: ++ CC=cc -320: ++ CXX=c++ -320: ++ GCC=gcc -320: ++ GXX=g++ -320: ++ OBJDUMP=objdump -320: ++ OBJCOPY=objcopy -320: ++ STRIP=strip -320: ++ QEMU= -318: ++ '[' Linux = FreeBSD ']' -318: ++ trap 'on_error $LINENO' ERR -318: ++ trap on_exit EXIT -318: ++ echo -n 'Testing warn-common ... ' -318: Testing warn-common ... ++ set -o pipefail -318: ++ set -x 319: ++ case $MACHINE in 319: ++ tlsdesc_opt=-mtls-dialect=desc -318: + cc -fcommon -c -xc -o out/test/aarch64/warn-common/a.o - -317: + cc -xc -c -o out/test/aarch64/visibility/a.o - 319: +++ uname 319: ++ '[' Linux = FreeBSD ']' -300: + nm -g out/test/aarch64/version-script17/exe2 319: ++ trap 'on_error $LINENO' ERR 319: ++ trap on_exit EXIT 319: ++ echo -n 'Testing warn-once ... ' 319: Testing warn-once ... ++ set -o pipefail 319: ++ set -x -300: + not grep foo -300: + grep foo +319: + cc -c -fPIC -xc -o out/test/aarch64/warn-once/a.o - +300: + 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 +313: + cc -B. -o out/test/aarch64/version-script8/exe out/test/aarch64/version-script8/c.o out/test/aarch64/version-script8/b.so +318: + cc -fcommon -c -xc -o out/test/aarch64/warn-common/b.o - 318: + cat -300: + return 0 -300: + cat +311: + 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 319: + cat -300: + 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 -320: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/warn-symbol-type.sh .sh -319: + cc -c -fPIC -xc -o out/test/aarch64/warn-once/a.o - -320: ++ testname=warn-symbol-type -320: ++ t=out/test/aarch64/warn-symbol-type -320: ++ mkdir -p out/test/aarch64/warn-symbol-type -313: + cat -320: ++ case $MACHINE in -320: ++ tlsdesc_opt=-mtls-dialect=desc -311: + cat -316: + echo 'VER1 { local: *; }; VER2 { local: *; }; VER3 { local: *; };' -316: + 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 +317: + rm -f out/test/aarch64/visibility/c.a +317: + ar crs out/test/aarch64/visibility/c.a out/test/aarch64/visibility/a.o out/test/aarch64/visibility/b.o +317: + cc -xc -fPIC -c -o out/test/aarch64/visibility/d.o - 317: + cat -313: + cc -xc -c -o out/test/aarch64/version-script8/c.o - -311: + c++ -fPIC -c -o out/test/aarch64/version-script6/e.o -xc - -311: + cat +316: + cc -c -o out/test/aarch64/versioned-undef/d.o -xc - +308: + out/test/aarch64/version-script3/exe +308: + readelf --dyn-syms out/test/aarch64/version-script3/exe +308: + grep -F foo@ver1 out/test/aarch64/version-script3/log +316: + cat +314: + readelf --dyn-syms out/test/aarch64/version-script9/c.so 312: + readelf --dyn-syms out/test/aarch64/version-script7/c.so -317: + cc -xc -c -o out/test/aarch64/visibility/b.o - 312: + grep 'foo$' out/test/aarch64/version-script7/log -318: + cat -320: +++ uname -318: + cc -fcommon -c -xc -o out/test/aarch64/warn-common/b.o - 312: 4: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND foo 312: + grep bar@@VER_X1 out/test/aarch64/version-script7/log -314: + readelf --dyn-syms out/test/aarch64/version-script9/c.so -320: ++ '[' Linux = FreeBSD ']' -320: ++ trap 'on_error $LINENO' ERR -320: ++ trap on_exit EXIT -320: ++ echo -n 'Testing warn-symbol-type ... ' -320: Testing warn-symbol-type ... ++ set -o pipefail -320: ++ set -x -320: + cat -320: + cc -c -fPIC -xc -o out/test/aarch64/warn-symbol-type/a.o - -319: + cat -319: + cc -c -fPIC -xc -o out/test/aarch64/warn-once/b.o - -314: + grep ' foo@@VER1$' out/test/aarch64/version-script9/log +308: 3: 0000000000000000 0 FUNC GLOBAL DEFAULT UND foo@ver1 (4) 312: 6: 0000000000010728 16 FUNC GLOBAL DEFAULT 14 bar@@VER_X1 +308: + grep -F bar@ver2 out/test/aarch64/version-script3/log +308: 1: 0000000000000000 0 FUNC GLOBAL DEFAULT UND bar@ver2 (5) +308: + grep -F baz@ver2 out/test/aarch64/version-script3/log +308: 2: 0000000000000000 0 FUNC GLOBAL DEFAULT UND baz@ver2 (5) +308: + on_exit +308: + echo OK +308: OK +308: + exit 0 312: + on_exit 312: + echo OK 312: OK 312: + exit 0 -308: + out/test/aarch64/version-script3/exe -309/347 Test #312: aarch64-version-script7 .................................. Passed 0.13 sec +308/347 Test #308: aarch64-version-script3 .................................. Passed 0.37 sec +309/347 Test #312: aarch64-version-script7 .................................. Passed 0.25 sec +test 320 + Start 320: aarch64-warn-symbol-type + +320: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/warn-symbol-type.sh" +320: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +320: Environment variables: +320: MACHINE=aarch64 +320: CPU= +320: Test timeout computed to be: 1500 test 321 Start 321: aarch64-warn-unresolved-symbols @@ -23945,17 +23961,41 @@ 321: MACHINE=aarch64 321: CPU= 321: Test timeout computed to be: 1500 -317: + rm -f out/test/aarch64/visibility/c.a -313: + cc -B. -o out/test/aarch64/version-script8/exe out/test/aarch64/version-script8/c.o out/test/aarch64/version-script8/b.so -308: + readelf --dyn-syms out/test/aarch64/version-script3/exe +319: + cat +319: + cc -c -fPIC -xc -o out/test/aarch64/warn-once/b.o - +314: + grep ' foo@@VER1$' out/test/aarch64/version-script9/log +318: + not grep -F 'multiple common symbols' +318: + grep -F 'multiple common symbols' +318: + cc -B. -o out/test/aarch64/warn-common/exe out/test/aarch64/warn-common/a.o out/test/aarch64/warn-common/b.o +320: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/warn-symbol-type.sh +320: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +320: ++ export LC_ALL=C +320: ++ LC_ALL=C +320: ++ '[' -z aarch64 ']' +320: ++ '[' -z '' ']' +320: ++ TESTDIR=out/test/aarch64 +320: ++ CC=cc +320: ++ CXX=c++ +320: ++ GCC=gcc +320: ++ GXX=g++ +320: ++ OBJDUMP=objdump +320: ++ OBJCOPY=objcopy +320: ++ STRIP=strip +320: ++ QEMU= +316: + cc -B. -o out/test/aarch64/versioned-undef/exe out/test/aarch64/versioned-undef/d.o out/test/aarch64/versioned-undef/c.so +320: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/warn-symbol-type.sh .sh +320: ++ testname=warn-symbol-type +320: ++ t=out/test/aarch64/warn-symbol-type +320: ++ mkdir -p out/test/aarch64/warn-symbol-type 314: 7: 0000000000010748 0 NOTYPE GLOBAL DEFAULT 14 foo@@VER1 -317: + ar crs out/test/aarch64/visibility/c.a out/test/aarch64/visibility/a.o out/test/aarch64/visibility/b.o -321: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/warn-unresolved-symbols.sh 314: + on_exit 314: + echo OK 314: OK 314: + exit 0 -310/347 Test #314: aarch64-version-script9 .................................. Passed 0.12 sec +317: + cc -B. -shared -o out/test/aarch64/visibility/e.so out/test/aarch64/visibility/c.a out/test/aarch64/visibility/d.o +310/347 Test #314: aarch64-version-script9 .................................. Passed 0.24 sec +320: ++ case $MACHINE in +320: ++ tlsdesc_opt=-mtls-dialect=desc test 322 Start 322: aarch64-weak-export-dso @@ -23965,11 +24005,37 @@ 322: MACHINE=aarch64 322: CPU= 322: Test timeout computed to be: 1500 -308: + grep -F foo@ver1 out/test/aarch64/version-script3/log -308: 3: 0000000000000000 0 FUNC GLOBAL DEFAULT UND foo@ver1 (4) -300: + nm -g out/test/aarch64/version-script17/exe3 -308: + grep -F bar@ver2 out/test/aarch64/version-script3/log +320: +++ uname +321: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/warn-unresolved-symbols.sh +320: ++ '[' Linux = FreeBSD ']' +320: ++ trap 'on_error $LINENO' ERR +320: ++ trap on_exit EXIT +320: ++ echo -n 'Testing warn-symbol-type ... ' +320: Testing warn-symbol-type ... ++ set -o pipefail +320: ++ set -x 322: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/weak-export-dso.sh +321: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +321: ++ export LC_ALL=C +321: ++ LC_ALL=C +321: ++ '[' -z aarch64 ']' +321: ++ '[' -z '' ']' +321: ++ TESTDIR=out/test/aarch64 +321: ++ CC=cc +321: ++ CXX=c++ +321: ++ GCC=gcc +321: ++ GXX=g++ +321: ++ OBJDUMP=objdump +321: ++ OBJCOPY=objcopy +321: ++ STRIP=strip +321: ++ QEMU= +321: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/warn-unresolved-symbols.sh .sh +320: + cat +321: ++ testname=warn-unresolved-symbols +321: ++ t=out/test/aarch64/warn-unresolved-symbols +321: ++ mkdir -p out/test/aarch64/warn-unresolved-symbols +321: ++ case $MACHINE in +321: ++ tlsdesc_opt=-mtls-dialect=desc +321: +++ uname 322: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 322: ++ export LC_ALL=C 322: ++ LC_ALL=C @@ -23984,53 +24050,53 @@ 322: ++ OBJCOPY=objcopy 322: ++ STRIP=strip 322: ++ QEMU= -318: + cc -B. -o out/test/aarch64/warn-common/exe out/test/aarch64/warn-common/a.o out/test/aarch64/warn-common/b.o -318: + not grep -F 'multiple common symbols' -318: + grep -F 'multiple common symbols' -308: 1: 0000000000000000 0 FUNC GLOBAL DEFAULT UND bar@ver2 (5) -317: + cat -308: + grep -F baz@ver2 out/test/aarch64/version-script3/log -321: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -321: ++ export LC_ALL=C -321: ++ LC_ALL=C +321: ++ '[' Linux = FreeBSD ']' +321: ++ trap 'on_error $LINENO' ERR +321: ++ trap on_exit EXIT +321: ++ echo -n 'Testing warn-unresolved-symbols ... ' +321: Testing warn-unresolved-symbols ... ++ set -o pipefail +321: ++ set -x +321: + cat 322: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/weak-export-dso.sh .sh -321: ++ '[' -z aarch64 ']' -321: ++ '[' -z '' ']' -321: ++ TESTDIR=out/test/aarch64 -321: ++ CC=cc -321: ++ CXX=c++ -321: ++ GCC=gcc -321: ++ GXX=g++ -321: ++ OBJDUMP=objdump -321: ++ OBJCOPY=objcopy -321: ++ STRIP=strip -321: ++ QEMU= +320: + cc -c -fPIC -xc -o out/test/aarch64/warn-symbol-type/a.o - +311: + readelf --dyn-syms out/test/aarch64/version-script6/f.so +311: + grep foo@VER_X1 out/test/aarch64/version-script6/log 322: ++ testname=weak-export-dso 322: ++ t=out/test/aarch64/weak-export-dso 322: ++ mkdir -p out/test/aarch64/weak-export-dso -311: + 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 -317: + cc -xc -fPIC -c -o out/test/aarch64/visibility/d.o - -316: + cat -300: + not grep foo -300: + grep foo +321: + cc -c -o out/test/aarch64/warn-unresolved-symbols/a.o -xc - +311: 5: 0000000000000000 0 OBJECT GLOBAL DEFAULT UND foo@VER_X1 (6) +311: + grep bar@VER_X2 out/test/aarch64/version-script6/log 322: ++ case $MACHINE in 322: ++ tlsdesc_opt=-mtls-dialect=desc 322: +++ uname -316: + cc -c -o out/test/aarch64/versioned-undef/d.o -xc - -300: + return 0 322: ++ '[' Linux = FreeBSD ']' 322: ++ trap 'on_error $LINENO' ERR 322: ++ trap on_exit EXIT 322: ++ echo -n 'Testing weak-export-dso ... ' 322: Testing weak-export-dso ... ++ set -o pipefail 322: ++ set -x +322: + cat +322: + cc -fPIC -c -o out/test/aarch64/weak-export-dso/a.o -xc - +300: + not grep foo +300: + grep foo +317: + not grep -F foo +317: + grep -F foo +317: + readelf --dyn-syms out/test/aarch64/visibility/e.so +311: 4: 0000000000000000 0 OBJECT GLOBAL DEFAULT UND bar@VER_X2 (7) +311: + grep baz@@VER_Y2 out/test/aarch64/version-script6/log +300: + nm -g out/test/aarch64/version-script17/exe3 +317: + return 0 +317: + on_exit +317: + echo OK +317: OK +317: + exit 0 +311/347 Test #317: aarch64-visibility ....................................... Passed 0.23 sec +300: + return 0 300: + on_exit 300: + echo OK 300: OK 300: + exit 0 -319: + 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 -311/347 Test #300: aarch64-version-script17 ................................. Passed 0.31 sec -322: + cc -fPIC -c -o out/test/aarch64/weak-export-dso/a.o -xc - test 323 Start 323: aarch64-weak-export-dso2 @@ -24040,29 +24106,7 @@ 323: MACHINE=aarch64 323: CPU= 323: Test timeout computed to be: 1500 -322: + cat -323: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/weak-export-dso2.sh -323: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -323: ++ export LC_ALL=C -323: ++ LC_ALL=C -323: ++ '[' -z aarch64 ']' -323: ++ '[' -z '' ']' -323: ++ TESTDIR=out/test/aarch64 -323: ++ CC=cc -323: ++ CXX=c++ -323: ++ GCC=gcc -323: ++ GXX=g++ -323: ++ OBJDUMP=objdump -323: ++ OBJCOPY=objcopy -323: ++ STRIP=strip -323: ++ QEMU= -308: 2: 0000000000000000 0 FUNC GLOBAL DEFAULT UND baz@ver2 (5) -308: + on_exit -308: + echo OK -308: OK -308: + exit 0 -312/347 Test #308: aarch64-version-script3 .................................. Passed 0.22 sec -323: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/weak-export-dso2.sh .sh +312/347 Test #300: aarch64-version-script17 ................................. Passed 0.66 sec test 324 Start 324: aarch64-weak-export-exe @@ -24072,78 +24116,17 @@ 324: MACHINE=aarch64 324: CPU= 324: Test timeout computed to be: 1500 -323: ++ testname=weak-export-dso2 -323: ++ t=out/test/aarch64/weak-export-dso2 -323: ++ mkdir -p out/test/aarch64/weak-export-dso2 -321: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/warn-unresolved-symbols.sh .sh -321: ++ testname=warn-unresolved-symbols -321: ++ t=out/test/aarch64/warn-unresolved-symbols -321: ++ mkdir -p out/test/aarch64/warn-unresolved-symbols -324: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/weak-export-exe.sh -321: ++ case $MACHINE in -321: ++ tlsdesc_opt=-mtls-dialect=desc -321: +++ uname -321: ++ '[' Linux = FreeBSD ']' -321: ++ trap 'on_error $LINENO' ERR -321: ++ trap on_exit EXIT -321: ++ echo -n 'Testing warn-unresolved-symbols ... ' -321: Testing warn-unresolved-symbols ... ++ set -o pipefail -321: ++ set -x -321: + cat -324: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -324: ++ export LC_ALL=C -324: ++ LC_ALL=C -324: ++ '[' -z aarch64 ']' -324: ++ '[' -z '' ']' -324: ++ TESTDIR=out/test/aarch64 -324: ++ CC=cc -324: ++ CXX=c++ -324: ++ GCC=gcc -324: ++ GXX=g++ -324: ++ OBJDUMP=objdump -324: ++ OBJCOPY=objcopy -324: ++ STRIP=strip -324: ++ QEMU= -323: ++ case $MACHINE in -323: ++ tlsdesc_opt=-mtls-dialect=desc -321: + cc -c -o out/test/aarch64/warn-unresolved-symbols/a.o -xc - -324: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/weak-export-exe.sh .sh -320: + grep 'warning: symbol type mismatch: times' -324: ++ testname=weak-export-exe -324: ++ t=out/test/aarch64/weak-export-exe -324: ++ mkdir -p out/test/aarch64/weak-export-exe -323: +++ uname -317: + cc -B. -shared -o out/test/aarch64/visibility/e.so out/test/aarch64/visibility/c.a out/test/aarch64/visibility/d.o -323: ++ '[' Linux = FreeBSD ']' -323: ++ trap 'on_error $LINENO' ERR -323: ++ trap on_exit EXIT -323: ++ echo -n 'Testing weak-export-dso2 ... ' -323: Testing weak-export-dso2 ... ++ set -o pipefail -323: ++ set -x -323: + cat -323: + cc -fPIC -c -o out/test/aarch64/weak-export-dso2/a.o -xc - +311: 7: 0000000000010808 32 FUNC GLOBAL DEFAULT 14 baz@@VER_Y2 +311: + on_exit +311: + echo OK +311: OK +311: + exit 0 +313/347 Test #311: aarch64-version-script6 .................................. Passed 0.39 sec 313: + out/test/aarch64/version-script8/exe 313: + readelf --dyn-syms out/test/aarch64/version-script8/b.so -320: + cc -B. -shared -o out/test/aarch64/warn-symbol-type/a.so out/test/aarch64/warn-symbol-type/a.o 313: + grep -F foo@@ver1 out/test/aarch64/version-script8/log 313: 6: 0000000000010768 8 FUNC GLOBAL DEFAULT 14 foo@@ver1 313: + grep -F bar@@ver2 out/test/aarch64/version-script8/log -316: + cc -B. -o out/test/aarch64/versioned-undef/exe out/test/aarch64/versioned-undef/d.o out/test/aarch64/versioned-undef/c.so -324: ++ case $MACHINE in -324: ++ tlsdesc_opt=-mtls-dialect=desc -318: + return 0 -324: +++ uname -322: + cc -B. -o out/test/aarch64/weak-export-dso/b.so out/test/aarch64/weak-export-dso/a.o -shared -318: + grep -F 'multiple common symbols' -318: + 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 -324: ++ '[' Linux = FreeBSD ']' -324: ++ trap 'on_error $LINENO' ERR -324: ++ trap on_exit EXIT -324: ++ echo -n 'Testing weak-export-exe ... ' -324: Testing weak-export-exe ... ++ set -o pipefail -324: ++ set -x -324: + cat -324: + cc -fPIC -c -o out/test/aarch64/weak-export-exe/a.o -xc - 313: 5: 0000000000010770 8 FUNC GLOBAL DEFAULT 14 bar@@ver2 313: + not grep -F baz out/test/aarch64/version-script8/log 313: + grep -F baz out/test/aarch64/version-script8/log @@ -24152,8 +24135,8 @@ 313: + echo OK 313: OK 313: + exit 0 -311: + readelf --dyn-syms out/test/aarch64/version-script6/f.so -313/347 Test #313: aarch64-version-script8 .................................. Passed 0.19 sec +320: + cc -B. -shared -o out/test/aarch64/warn-symbol-type/a.so out/test/aarch64/warn-symbol-type/a.o +320: + grep 'warning: symbol type mismatch: times' test 325 Start 325: aarch64-weak-undef-dso @@ -24163,34 +24146,31 @@ 325: MACHINE=aarch64 325: CPU= 325: Test timeout computed to be: 1500 -311: + grep foo@VER_X1 out/test/aarch64/version-script6/log -311: 5: 0000000000000000 0 OBJECT GLOBAL DEFAULT UND foo@VER_X1 (6) -311: + grep bar@VER_X2 out/test/aarch64/version-script6/log -325: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/weak-undef-dso.sh -325: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -325: ++ export LC_ALL=C -325: ++ LC_ALL=C -325: ++ '[' -z aarch64 ']' -325: ++ '[' -z '' ']' -325: ++ TESTDIR=out/test/aarch64 -325: ++ CC=cc -325: ++ CXX=c++ -325: ++ GCC=gcc -325: ++ GXX=g++ -325: ++ OBJDUMP=objdump -325: ++ OBJCOPY=objcopy -325: ++ STRIP=strip -325: ++ QEMU= -321: + grep 'undefined symbol:.*foo' -311: 4: 0000000000000000 0 OBJECT GLOBAL DEFAULT UND bar@VER_X2 (7) +316: + grep '^1 2 3 3 4$' +316: + out/test/aarch64/versioned-undef/exe +316: 1 2 3 3 4 +316: + on_exit +316: + echo OK +316: OK +316: + exit 0 321: + not cc -B. -o out/test/aarch64/warn-unresolved-symbols/exe out/test/aarch64/warn-unresolved-symbols/a.o -323: + cc -B. -o out/test/aarch64/weak-export-dso2/b.so out/test/aarch64/weak-export-dso2/a.o -shared -320: mold: warning: symbol type mismatch: times -320: + on_exit -320: + echo OK -320: OK -320: + exit 0 -314/347 Test #320: aarch64-warn-symbol-type ................................. Passed 0.13 sec +321: + grep 'undefined symbol:.*foo' +323: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/weak-export-dso2.sh +323: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +323: ++ export LC_ALL=C +323: ++ LC_ALL=C +323: ++ '[' -z aarch64 ']' +323: ++ '[' -z '' ']' +323: ++ TESTDIR=out/test/aarch64 +323: ++ CC=cc +323: ++ CXX=c++ +323: ++ GCC=gcc +323: ++ GXX=g++ +323: ++ OBJDUMP=objdump +323: ++ OBJCOPY=objcopy +323: ++ STRIP=strip +323: ++ QEMU= +314/347 Test #313: aarch64-version-script8 .................................. Passed 0.34 sec test 326 Start 326: aarch64-weak-undef @@ -24200,14 +24180,12 @@ 326: MACHINE=aarch64 326: CPU= 326: Test timeout computed to be: 1500 -311: + grep baz@@VER_Y2 out/test/aarch64/version-script6/log -311: 7: 0000000000010808 32 FUNC GLOBAL DEFAULT 14 baz@@VER_Y2 -311: + on_exit -311: + echo OK -311: OK -311: + exit 0 -315/347 Test #311: aarch64-version-script6 .................................. Passed 0.23 sec -326: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/weak-undef.sh +315/347 Test #316: aarch64-versioned-undef .................................. Passed 0.31 sec +324: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/weak-export-exe.sh +319: + 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 +318: + return 0 +318: + 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 +318: + grep -F 'multiple common symbols' test 327 Start 327: aarch64-weak-undef2 @@ -24217,6 +24195,11 @@ 327: MACHINE=aarch64 327: CPU= 327: Test timeout computed to be: 1500 +323: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/weak-export-dso2.sh .sh +323: ++ testname=weak-export-dso2 +323: ++ t=out/test/aarch64/weak-export-dso2 +323: ++ mkdir -p out/test/aarch64/weak-export-dso2 +326: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/weak-undef.sh 326: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 326: ++ export LC_ALL=C 326: ++ LC_ALL=C @@ -24232,10 +24215,43 @@ 326: ++ STRIP=strip 326: ++ QEMU= 326: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/weak-undef.sh .sh +325: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/weak-undef-dso.sh +325: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +325: ++ export LC_ALL=C +325: ++ LC_ALL=C +325: ++ '[' -z aarch64 ']' +325: ++ '[' -z '' ']' +325: ++ TESTDIR=out/test/aarch64 +325: ++ CC=cc +325: ++ CXX=c++ +325: ++ GCC=gcc +325: ++ GXX=g++ +325: ++ OBJDUMP=objdump +325: ++ OBJCOPY=objcopy +325: ++ STRIP=strip +325: ++ QEMU= 326: ++ testname=weak-undef 326: ++ t=out/test/aarch64/weak-undef 326: ++ mkdir -p out/test/aarch64/weak-undef +324: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +324: ++ export LC_ALL=C +324: ++ LC_ALL=C +324: ++ '[' -z aarch64 ']' +324: ++ '[' -z '' ']' +324: ++ TESTDIR=out/test/aarch64 +324: ++ CC=cc +324: ++ CXX=c++ +324: ++ GCC=gcc +324: ++ GXX=g++ +324: ++ OBJDUMP=objdump +324: ++ OBJCOPY=objcopy +324: ++ STRIP=strip +324: ++ QEMU= +323: ++ case $MACHINE in +323: ++ tlsdesc_opt=-mtls-dialect=desc 327: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/weak-undef2.sh +324: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/weak-export-exe.sh .sh +325: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/weak-undef-dso.sh .sh 327: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 327: ++ export LC_ALL=C 327: ++ LC_ALL=C @@ -24250,35 +24266,26 @@ 327: ++ OBJCOPY=objcopy 327: ++ STRIP=strip 327: ++ QEMU= +324: ++ testname=weak-export-exe +324: ++ t=out/test/aarch64/weak-export-exe +324: ++ mkdir -p out/test/aarch64/weak-export-exe 327: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/weak-undef2.sh .sh -324: + cc -B. -o out/test/aarch64/weak-export-exe/exe out/test/aarch64/weak-export-exe/a.o +325: ++ testname=weak-undef-dso +325: ++ t=out/test/aarch64/weak-undef-dso +325: ++ mkdir -p out/test/aarch64/weak-undef-dso 327: ++ testname=weak-undef2 327: ++ t=out/test/aarch64/weak-undef2 327: ++ mkdir -p out/test/aarch64/weak-undef2 +323: +++ uname 327: ++ case $MACHINE in 327: ++ tlsdesc_opt=-mtls-dialect=desc -326: ++ case $MACHINE in -326: ++ tlsdesc_opt=-mtls-dialect=desc -325: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/weak-undef-dso.sh .sh -325: ++ testname=weak-undef-dso -325: ++ t=out/test/aarch64/weak-undef-dso -325: ++ mkdir -p out/test/aarch64/weak-undef-dso -326: +++ uname 327: +++ uname -316: + out/test/aarch64/versioned-undef/exe -322: + cc -B. -o out/test/aarch64/weak-export-dso/c.so out/test/aarch64/weak-export-dso/a.o -shared -Wl,-z,defs -316: + grep '^1 2 3 3 4$' -317: + readelf --dyn-syms out/test/aarch64/visibility/e.so -326: ++ '[' Linux = FreeBSD ']' -326: ++ trap 'on_error $LINENO' ERR -326: ++ trap on_exit EXIT -326: ++ echo -n 'Testing weak-undef ... ' -326: Testing weak-undef ... ++ set -o pipefail -326: ++ set -x -317: + not grep -F foo -317: + grep -F foo -326: + cat -326: + cc -c -o out/test/aarch64/weak-undef/a.o -fPIC -xc - +323: ++ '[' Linux = FreeBSD ']' +323: ++ trap 'on_error $LINENO' ERR +323: ++ trap on_exit EXIT +323: ++ echo -n 'Testing weak-export-dso2 ... ' +323: Testing weak-export-dso2 ... ++ set -o pipefail +323: ++ set -x 327: ++ '[' Linux = FreeBSD ']' 327: ++ trap 'on_error $LINENO' ERR 327: ++ trap on_exit EXIT @@ -24286,20 +24293,32 @@ 327: Testing weak-undef2 ... ++ set -o pipefail 327: ++ set -x 327: + cat -317: + return 0 -319: ++ wc -l -317: + on_exit -317: + echo OK -317: OK -317: + exit 0 +323: + cc -fPIC -c -o out/test/aarch64/weak-export-dso2/a.o -xc - +324: ++ case $MACHINE in +324: ++ tlsdesc_opt=-mtls-dialect=desc +324: +++ uname +322: + cc -B. -o out/test/aarch64/weak-export-dso/b.so out/test/aarch64/weak-export-dso/a.o -shared +324: ++ '[' Linux = FreeBSD ']' +324: ++ trap 'on_error $LINENO' ERR +324: ++ trap on_exit EXIT +324: ++ echo -n 'Testing weak-export-exe ... ' +324: Testing weak-export-exe ... ++ set -o pipefail +324: ++ set -x 327: + cc -c -o out/test/aarch64/weak-undef2/a.o -xc - -316: 1 2 3 3 4 -316: + on_exit -316: + echo OK -316: OK -316: + exit 0 -316/347 Test #317: aarch64-visibility ....................................... Passed 0.18 sec -319: ++ grep 'undefined symbol:.* foo$' out/test/aarch64/warn-once/log +324: + cat +326: ++ case $MACHINE in +326: ++ tlsdesc_opt=-mtls-dialect=desc +324: + cc -fPIC -c -o out/test/aarch64/weak-export-exe/a.o -xc - +323: + cat +326: +++ uname +320: mold: warning: symbol type mismatch: times +320: + on_exit +320: + echo OK +320: OK +320: + exit 0 +325: ++ case $MACHINE in +325: ++ tlsdesc_opt=-mtls-dialect=desc +316/347 Test #320: aarch64-warn-symbol-type ................................. Passed 0.15 sec test 328 Start 328: aarch64-weak-undef4 @@ -24309,24 +24328,6 @@ 328: MACHINE=aarch64 328: CPU= 328: Test timeout computed to be: 1500 -317/347 Test #316: aarch64-versioned-undef .................................. Passed 0.19 sec -319: + '[' 1 = 1 ']' -319: + on_exit -319: + echo OK -319: OK -319: + exit 0 -318/347 Test #319: aarch64-warn-once ........................................ Passed 0.17 sec -test 329 - Start 329: aarch64-weak-undef5 - -329: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/weak-undef5.sh" -329: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -329: Environment variables: -329: MACHINE=aarch64 -329: CPU= -329: Test timeout computed to be: 1500 -325: ++ case $MACHINE in -325: ++ tlsdesc_opt=-mtls-dialect=desc 325: +++ uname 325: ++ '[' Linux = FreeBSD ']' 325: ++ trap 'on_error $LINENO' ERR @@ -24334,18 +24335,17 @@ 325: ++ echo -n 'Testing weak-undef-dso ... ' 325: Testing weak-undef-dso ... ++ set -o pipefail 325: ++ set -x -325: + cat 325: + cc -c -o out/test/aarch64/weak-undef-dso/a.o -fPIC -xc - -test 330 - Start 330: aarch64-whole-archive - -330: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/whole-archive.sh" -330: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -330: Environment variables: -330: MACHINE=aarch64 -330: CPU= -330: Test timeout computed to be: 1500 +325: + cat +326: ++ '[' Linux = FreeBSD ']' +326: ++ trap 'on_error $LINENO' ERR +326: ++ trap on_exit EXIT +326: ++ echo -n 'Testing weak-undef ... ' +326: Testing weak-undef ... ++ set -o pipefail +326: ++ set -x 328: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/weak-undef4.sh +326: + cc -c -o out/test/aarch64/weak-undef/a.o -fPIC -xc - +326: + cat 328: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 328: ++ export LC_ALL=C 328: ++ LC_ALL=C @@ -24364,52 +24364,59 @@ 328: ++ testname=weak-undef4 328: ++ t=out/test/aarch64/weak-undef4 328: ++ mkdir -p out/test/aarch64/weak-undef4 +323: + cc -B. -o out/test/aarch64/weak-export-dso2/b.so out/test/aarch64/weak-export-dso2/a.o -shared +321: mold: error: undefined symbol: foo +321: + grep 'undefined symbol:.*foo' 328: ++ case $MACHINE in 328: ++ tlsdesc_opt=-mtls-dialect=desc +321: + cc -B. -o out/test/aarch64/warn-unresolved-symbols/exe out/test/aarch64/warn-unresolved-symbols/a.o -Wl,-warn-unresolved-symbols +327: + cat 328: +++ uname +327: + cc -c -o out/test/aarch64/weak-undef2/b.o -xc - +324: + cc -B. -o out/test/aarch64/weak-export-exe/exe out/test/aarch64/weak-export-exe/a.o +322: + cc -B. -o out/test/aarch64/weak-export-dso/c.so out/test/aarch64/weak-export-dso/a.o -shared -Wl,-z,defs 328: ++ '[' Linux = FreeBSD ']' 328: ++ trap 'on_error $LINENO' ERR 328: ++ trap on_exit EXIT 328: ++ echo -n 'Testing weak-undef4 ... ' 328: Testing weak-undef4 ... ++ set -o pipefail 328: ++ set -x +328: + cc -c -o out/test/aarch64/weak-undef4/a.o -xc - +328: + cat 318: mold: warning: out/test/aarch64/warn-common/b.o: multiple common symbols: foo 318: + on_exit 318: + echo OK 318: OK 318: + exit 0 -319/347 Test #318: aarch64-warn-common ...................................... Passed 0.19 sec -328: + cc -c -o out/test/aarch64/weak-undef4/a.o -xc - -test 331 - Start 331: aarch64-wrap-lto +317/347 Test #318: aarch64-warn-common ...................................... Passed 0.33 sec +test 329 + Start 329: aarch64-weak-undef5 -331: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/wrap-lto.sh" -331: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -331: Environment variables: -331: MACHINE=aarch64 -331: CPU= -331: Test timeout computed to be: 1500 -328: + cat -330: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/whole-archive.sh -330: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -330: ++ export LC_ALL=C -330: ++ LC_ALL=C -330: ++ '[' -z aarch64 ']' -330: ++ '[' -z '' ']' -330: ++ TESTDIR=out/test/aarch64 -330: ++ CC=cc -330: ++ CXX=c++ -330: ++ GCC=gcc -330: ++ GXX=g++ -330: ++ OBJDUMP=objdump -330: ++ OBJCOPY=objcopy -330: ++ STRIP=strip -330: ++ QEMU= -330: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/whole-archive.sh .sh -330: ++ testname=whole-archive -330: ++ t=out/test/aarch64/whole-archive -330: ++ mkdir -p out/test/aarch64/whole-archive +329: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/weak-undef5.sh" +329: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +329: Environment variables: +329: MACHINE=aarch64 +329: CPU= +329: Test timeout computed to be: 1500 +319: ++ wc -l +319: ++ grep 'undefined symbol:.* foo$' out/test/aarch64/warn-once/log +325: + cc -B. -shared -o out/test/aarch64/weak-undef-dso/b.so out/test/aarch64/weak-undef-dso/a.o 329: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/weak-undef5.sh +319: + '[' 1 = 1 ']' +319: + on_exit +319: + echo OK +319: OK +319: + exit 0 +318/347 Test #319: aarch64-warn-once ........................................ Passed 0.32 sec +test 330 + Start 330: aarch64-whole-archive + +330: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/whole-archive.sh" +330: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +330: Environment variables: +330: MACHINE=aarch64 +330: CPU= +330: Test timeout computed to be: 1500 329: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 329: ++ export LC_ALL=C 329: ++ LC_ALL=C @@ -24425,58 +24432,110 @@ 329: ++ STRIP=strip 329: ++ QEMU= 329: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/weak-undef5.sh .sh +327: + grep 'undefined symbol: foo' +327: + not cc -B. -o out/test/aarch64/weak-undef2/exe out/test/aarch64/weak-undef2/a.o out/test/aarch64/weak-undef2/b.o 329: ++ testname=weak-undef5 329: ++ t=out/test/aarch64/weak-undef5 329: ++ mkdir -p out/test/aarch64/weak-undef5 -324: + readelf --dyn-syms out/test/aarch64/weak-export-exe/exe -324: + not grep 'WEAK DEFAULT UND foo' -324: + grep 'WEAK DEFAULT UND foo' -324: + return 0 +330: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/whole-archive.sh +330: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +330: ++ export LC_ALL=C +330: ++ LC_ALL=C +330: ++ '[' -z aarch64 ']' +330: ++ '[' -z '' ']' +330: ++ TESTDIR=out/test/aarch64 +330: ++ CC=cc +330: ++ CXX=c++ +330: ++ GCC=gcc +330: ++ GXX=g++ +330: ++ OBJDUMP=objdump +330: ++ OBJCOPY=objcopy +330: ++ STRIP=strip +330: ++ QEMU= +328: + cc -c -o out/test/aarch64/weak-undef4/b.o -xc - +329: ++ case $MACHINE in +329: ++ tlsdesc_opt=-mtls-dialect=desc +328: + cat +330: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/whole-archive.sh .sh +329: +++ uname +329: ++ '[' Linux = FreeBSD ']' +329: ++ trap 'on_error $LINENO' ERR +329: ++ trap on_exit EXIT +329: ++ echo -n 'Testing weak-undef5 ... ' +329: Testing weak-undef5 ... ++ set -o pipefail +329: ++ set -x +323: + cat +330: ++ testname=whole-archive +330: ++ t=out/test/aarch64/whole-archive +330: ++ mkdir -p out/test/aarch64/whole-archive 330: ++ case $MACHINE in -323: + cc -fPIC -c -o out/test/aarch64/weak-export-dso2/c.o -xc - 330: ++ tlsdesc_opt=-mtls-dialect=desc -323: + cat +323: + cc -fPIC -c -o out/test/aarch64/weak-export-dso2/c.o -xc - +329: + cc -c -o out/test/aarch64/weak-undef5/a.o -fPIC -xc - 330: +++ uname +329: + cat 330: ++ '[' Linux = FreeBSD ']' 330: ++ trap 'on_error $LINENO' ERR 330: ++ trap on_exit EXIT 330: ++ echo -n 'Testing whole-archive ... ' 330: Testing whole-archive ... ++ set -o pipefail 330: ++ set -x -331: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/wrap-lto.sh -331: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -331: ++ export LC_ALL=C -331: ++ LC_ALL=C -331: ++ '[' -z aarch64 ']' -331: ++ '[' -z '' ']' -331: ++ TESTDIR=out/test/aarch64 -331: ++ CC=cc -331: ++ CXX=c++ -331: ++ GCC=gcc -331: ++ GXX=g++ -331: ++ OBJDUMP=objdump -331: ++ OBJCOPY=objcopy -331: ++ STRIP=strip -331: ++ QEMU= -329: ++ case $MACHINE in -329: ++ tlsdesc_opt=-mtls-dialect=desc -329: +++ uname +315: + grep 'mold .*compatible with GNU ld' +315: + ./mold -v +330: + cat +326: + cat +330: + cc -o out/test/aarch64/whole-archive/a.o -c -x assembler - +315: mold 2.37.1 (compatible with GNU ld) +315: + grep 'mold .*compatible with GNU ld' +315: + ./mold --version +315: mold 2.37.1 (compatible with GNU ld) +315: + grep 'mold .*compatible with GNU ld' +326: + cc -c -o out/test/aarch64/weak-undef/b.o -fno-PIC -xc - +315: + ./mold -V +322: + grep 'WEAK DEFAULT UND foo' +321: mold: warning: undefined symbol: foo +321: + grep 'undefined symbol:.*foo' +315: mold 2.37.1 (compatible with GNU ld) +315: + grep elf_x86_64 +322: + readelf --dyn-syms out/test/aarch64/weak-export-dso/b.so +322: 4: 0000000000000000 0 NOTYPE WEAK DEFAULT UND foo +324: + not grep 'WEAK DEFAULT UND foo' +324: + grep 'WEAK DEFAULT UND foo' +321: + not cc -B. -o out/test/aarch64/warn-unresolved-symbols/exe out/test/aarch64/warn-unresolved-symbols/a.o -Wl,-warn-unresolved-symbols -Wl,--error-unresolved-symbols +330: + echo 'int fn1() { return 42; }' +322: + readelf --dyn-syms out/test/aarch64/weak-export-dso/c.so +315: + ./mold -V +324: + readelf --dyn-syms out/test/aarch64/weak-export-exe/exe +322: + grep 'WEAK DEFAULT UND foo' +330: + cc -o out/test/aarch64/whole-archive/b.o -c -xc - +324: + return 0 +322: 4: 0000000000000000 0 NOTYPE WEAK DEFAULT UND foo +325: + cc -xc -c -o out/test/aarch64/weak-undef-dso/c.o - +325: + cat +315: elf_x86_64 +322: + on_exit +322: + echo OK +322: OK +322: + exit 0 324: + grep '^3$' 324: + out/test/aarch64/weak-export-exe/exe -329: ++ '[' Linux = FreeBSD ']' -329: ++ trap 'on_error $LINENO' ERR -329: ++ trap on_exit EXIT -329: ++ echo -n 'Testing weak-undef5 ... ' -329: Testing weak-undef5 ... ++ set -o pipefail -329: ++ set -x -330: + cat 324: 3 324: + on_exit 324: + echo OK 324: OK 324: + exit 0 -320/347 Test #324: aarch64-weak-export-exe .................................. Passed 0.11 sec -330: + cc -o out/test/aarch64/whole-archive/a.o -c -x assembler - +323: + 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/347 Test #322: aarch64-weak-export-dso .................................. Passed 0.29 sec +320/347 Test #324: aarch64-weak-export-exe .................................. Passed 0.22 sec +test 331 + Start 331: aarch64-wrap-lto + +331: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/wrap-lto.sh" +331: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +331: Environment variables: +331: MACHINE=aarch64 +331: CPU= +331: Test timeout computed to be: 1500 test 332 Start 332: aarch64-wrap @@ -24486,9 +24545,35 @@ 332: MACHINE=aarch64 332: CPU= 332: Test timeout computed to be: 1500 -325: + cc -B. -shared -o out/test/aarch64/weak-undef-dso/b.so out/test/aarch64/weak-undef-dso/a.o +315: + ./mold -V +315: + grep elf_i386 +315: elf_i386 +315: + cc -c -xc -o out/test/aarch64/version/a.o - +326: + cat +326: + cc -fcommon -xc -c -o out/test/aarch64/weak-undef/c.o - +329: + cc -c -o out/test/aarch64/weak-undef5/b.o -fPIC -xc - 329: + cat -329: + cc -c -o out/test/aarch64/weak-undef5/a.o -fPIC -xc - +328: + cc -fcommon -xc -c -o out/test/aarch64/weak-undef4/c.o - +328: + cat +331: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/wrap-lto.sh +331: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +331: ++ export LC_ALL=C +331: ++ LC_ALL=C +331: ++ '[' -z aarch64 ']' +331: ++ '[' -z '' ']' +331: ++ TESTDIR=out/test/aarch64 +331: ++ CC=cc +331: ++ CXX=c++ +331: ++ GCC=gcc +331: ++ GXX=g++ +331: ++ OBJDUMP=objdump +331: ++ OBJCOPY=objcopy +331: ++ STRIP=strip +331: ++ QEMU= +331: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/wrap-lto.sh .sh +331: ++ testname=wrap-lto +331: ++ t=out/test/aarch64/wrap-lto +331: ++ mkdir -p out/test/aarch64/wrap-lto 332: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/wrap.sh 332: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 332: ++ export LC_ALL=C @@ -24504,84 +24589,29 @@ 332: ++ OBJCOPY=objcopy 332: ++ STRIP=strip 332: ++ QEMU= -327: + cc -c -o out/test/aarch64/weak-undef2/b.o -xc - -327: + cat -331: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/wrap-lto.sh .sh -331: ++ testname=wrap-lto -331: ++ t=out/test/aarch64/wrap-lto -331: ++ mkdir -p out/test/aarch64/wrap-lto -331: ++ case $MACHINE in -331: ++ tlsdesc_opt=-mtls-dialect=desc -330: + cc -o out/test/aarch64/whole-archive/b.o -c -xc - 332: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/wrap.sh .sh -331: +++ uname -330: + echo 'int fn1() { return 42; }' 332: ++ testname=wrap 332: ++ t=out/test/aarch64/wrap 332: ++ mkdir -p out/test/aarch64/wrap -331: ++ '[' Linux = FreeBSD ']' -331: ++ trap 'on_error $LINENO' ERR -331: ++ trap on_exit EXIT -331: ++ echo -n 'Testing wrap-lto ... ' -331: Testing wrap-lto ... ++ set -o pipefail -331: ++ set -x -331: + test_cflags -flto -315: + grep 'mold .*compatible with GNU ld' -331: + echo 'int main() {}' -315: + ./mold -v +315: + cat 332: ++ case $MACHINE in 332: ++ tlsdesc_opt=-mtls-dialect=desc +325: + 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 +331: ++ case $MACHINE in +331: ++ tlsdesc_opt=-mtls-dialect=desc 332: +++ uname -321: mold: error: undefined symbol: foo 332: ++ '[' Linux = FreeBSD ']' 332: ++ trap 'on_error $LINENO' ERR 332: ++ trap on_exit EXIT 332: ++ echo -n 'Testing wrap ... ' 332: Testing wrap ... ++ set -o pipefail 332: ++ set -x -315: mold 2.37.1 (compatible with GNU ld) -315: + grep 'mold .*compatible with GNU ld' -331: + cc -B. -flto -o /dev/null -xc - -332: + cc -fPIC -shared -o out/test/aarch64/wrap/a.so -xc - -315: + ./mold --version -332: + cat -315: mold 2.37.1 (compatible with GNU ld) -321: + grep 'undefined symbol:.*foo' -315: + grep 'mold .*compatible with GNU ld' -315: + ./mold -V -321: + cc -B. -o out/test/aarch64/warn-unresolved-symbols/exe out/test/aarch64/warn-unresolved-symbols/a.o -Wl,-warn-unresolved-symbols -327: + not cc -B. -o out/test/aarch64/weak-undef2/exe out/test/aarch64/weak-undef2/a.o out/test/aarch64/weak-undef2/b.o -327: + grep 'undefined symbol: foo' -323: + 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 -328: + cat -328: + cc -c -o out/test/aarch64/weak-undef4/b.o -xc - -315: mold 2.37.1 (compatible with GNU ld) -322: + readelf --dyn-syms out/test/aarch64/weak-export-dso/b.so -322: + grep 'WEAK DEFAULT UND foo' -322: 4: 0000000000000000 0 NOTYPE WEAK DEFAULT UND foo -322: + readelf --dyn-syms out/test/aarch64/weak-export-dso/c.so -315: + grep elf_x86_64 -329: + cc -c -o out/test/aarch64/weak-undef5/b.o -fPIC -xc - -329: + cat -326: + cat -326: + cc -c -o out/test/aarch64/weak-undef/b.o -fno-PIC -xc - -315: + ./mold -V -322: + grep 'WEAK DEFAULT UND foo' -315: elf_x86_64 -315: + ./mold -V -330: + echo 'int fn2() { return 42; }' -330: + cc -o out/test/aarch64/whole-archive/c.o -c -xc - -315: + grep elf_i386 -315: elf_i386 -315: + cat -325: + cc -xc -c -o out/test/aarch64/weak-undef-dso/c.o - -325: + cat -322: 4: 0000000000000000 0 NOTYPE WEAK DEFAULT UND foo -322: + on_exit -322: + echo OK -322: OK -322: + exit 0 -321/347 Test #322: aarch64-weak-export-dso .................................. Passed 0.19 sec +327: mold: error: undefined symbol: foo +327: + on_exit +327: + echo OK +327: OK +327: + exit 0 +321/347 Test #327: aarch64-weak-undef2 ...................................... Passed 0.24 sec test 333 Start 333: aarch64-z-cet-report @@ -24591,19 +24621,29 @@ 333: MACHINE=aarch64 333: CPU= 333: Test timeout computed to be: 1500 -327: mold: error: undefined symbol: foo -327: + on_exit -327: + echo OK -327: OK -327: + exit 0 -315: + cc -c -xc -o out/test/aarch64/version/a.o - +331: +++ uname +331: ++ '[' Linux = FreeBSD ']' +331: ++ trap 'on_error $LINENO' ERR +331: ++ trap on_exit EXIT +331: ++ echo -n 'Testing wrap-lto ... ' +331: Testing wrap-lto ... ++ set -o pipefail +331: ++ set -x +331: + test_cflags -flto +331: + cc -B. -flto -o /dev/null -xc - +331: + echo 'int main() {}' +332: + cat +330: + cc -o out/test/aarch64/whole-archive/c.o -c -xc - +330: + echo 'int fn2() { return 42; }' +323: + grep 'WEAK DEFAULT .* UND foo' +323: + readelf -W --dyn-syms out/test/aarch64/weak-export-dso2/d.so +323: 4: 0000000000000000 0 FUNC WEAK DEFAULT UND foo 329: + cc -B. -o out/test/aarch64/weak-undef5/libfoobar.so out/test/aarch64/weak-undef5/b.o -shared -328: + cat -328: + cc -fcommon -xc -c -o out/test/aarch64/weak-undef4/c.o - -326: + cc -fcommon -xc -c -o out/test/aarch64/weak-undef/c.o - -326: + cat -333: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-cet-report.sh -322/347 Test #327: aarch64-weak-undef2 ...................................... Passed 0.13 sec +323: + on_exit +323: + echo OK +323: OK +323: + exit 0 +332: + cc -fPIC -shared -o out/test/aarch64/wrap/a.so -xc - +322/347 Test #323: aarch64-weak-export-dso2 ................................. Passed 0.29 sec test 334 Start 334: aarch64-z-defs @@ -24613,6 +24653,7 @@ 334: MACHINE=aarch64 334: CPU= 334: Test timeout computed to be: 1500 +333: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-cet-report.sh 333: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 333: ++ export LC_ALL=C 333: ++ LC_ALL=C @@ -24633,6 +24674,26 @@ 333: ++ mkdir -p out/test/aarch64/z-cet-report 333: ++ case $MACHINE in 333: ++ tlsdesc_opt=-mtls-dialect=desc +192: + 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 +321: mold: error: undefined symbol: foo +321: + on_exit +321: + echo OK +321: OK +321: + exit 0 +328: + ar rcs out/test/aarch64/weak-undef4/d.a out/test/aarch64/weak-undef4/c.o +328: + cc -B. -o out/test/aarch64/weak-undef4/exe1 out/test/aarch64/weak-undef4/a.o out/test/aarch64/weak-undef4/d.a +326: + cc -B. -o out/test/aarch64/weak-undef/exe1 out/test/aarch64/weak-undef/a.o -pie +315: + rm -f out/test/aarch64/version/exe +323/347 Test #321: aarch64-warn-unresolved-symbols .......................... Passed 0.39 sec +test 335 + Start 335: aarch64-z-dynamic-undefined-weak-exe + +335: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/z-dynamic-undefined-weak-exe.sh" +335: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +335: Environment variables: +335: MACHINE=aarch64 +335: CPU= +335: Test timeout computed to be: 1500 333: +++ uname 333: ++ '[' Linux = FreeBSD ']' 333: ++ trap 'on_error $LINENO' ERR @@ -24640,17 +24701,32 @@ 333: ++ echo -n 'Testing z-cet-report ... ' 333: Testing z-cet-report ... ++ set -o pipefail 333: ++ set -x +334: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-defs.sh +315: + grep mold 333: + cat +335: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-dynamic-undefined-weak-exe.sh +315: + cc -B. -Wl,--version -o out/test/aarch64/version/exe1 out/test/aarch64/version/a.o +335: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +335: ++ export LC_ALL=C +335: ++ LC_ALL=C +335: ++ '[' -z aarch64 ']' +335: ++ '[' -z '' ']' +335: ++ TESTDIR=out/test/aarch64 +335: ++ CC=cc +335: ++ CXX=c++ +335: ++ GCC=gcc +335: ++ GXX=g++ +335: ++ OBJDUMP=objdump +335: ++ OBJCOPY=objcopy +335: ++ STRIP=strip +335: ++ QEMU= 333: + cc -o out/test/aarch64/z-cet-report/a.o -c -x assembler - -333: + cc -B. -o out/test/aarch64/z-cet-report/exe out/test/aarch64/z-cet-report/a.o -321: mold: warning: undefined symbol: foo -321: + not cc -B. -o out/test/aarch64/warn-unresolved-symbols/exe out/test/aarch64/warn-unresolved-symbols/a.o -Wl,-warn-unresolved-symbols -Wl,--error-unresolved-symbols -321: + grep 'undefined symbol:.*foo' +335: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/z-dynamic-undefined-weak-exe.sh .sh 330: + rm -f out/test/aarch64/whole-archive/d.a +335: ++ testname=z-dynamic-undefined-weak-exe +335: ++ t=out/test/aarch64/z-dynamic-undefined-weak-exe +335: ++ mkdir -p out/test/aarch64/z-dynamic-undefined-weak-exe 330: + ar cr out/test/aarch64/whole-archive/d.a out/test/aarch64/whole-archive/b.o out/test/aarch64/whole-archive/c.o -330: + cc -B. -nostdlib -o out/test/aarch64/whole-archive/exe out/test/aarch64/whole-archive/a.o out/test/aarch64/whole-archive/d.a -325: + 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 -334: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-defs.sh 334: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 334: ++ export LC_ALL=C 334: ++ LC_ALL=C @@ -24665,6 +24741,9 @@ 334: ++ OBJCOPY=objcopy 334: ++ STRIP=strip 334: ++ QEMU= +333: + cc -B. -o out/test/aarch64/z-cet-report/exe out/test/aarch64/z-cet-report/a.o +335: ++ case $MACHINE in +335: ++ tlsdesc_opt=-mtls-dialect=desc 334: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/z-defs.sh .sh 334: ++ testname=z-defs 334: ++ t=out/test/aarch64/z-defs @@ -24672,93 +24751,43 @@ 334: ++ case $MACHINE in 334: ++ tlsdesc_opt=-mtls-dialect=desc 334: +++ uname +315: mold 2.37.1 (compatible with GNU ld) +315: + not '[' -f out/test/aarch64/version/exe1 ']' +315: + '[' -f out/test/aarch64/version/exe1 ']' +315: + return 0 334: ++ '[' Linux = FreeBSD ']' 334: ++ trap 'on_error $LINENO' ERR 334: ++ trap on_exit EXIT 334: ++ echo -n 'Testing z-defs ... ' 334: Testing z-defs ... ++ set -o pipefail 334: ++ set -x -334: + cat 334: + cc -fPIC -c -o out/test/aarch64/z-defs/a.o -xc - -332: + cc -c -o out/test/aarch64/wrap/b.o -xc - -326: + cc -B. -o out/test/aarch64/weak-undef/exe1 out/test/aarch64/weak-undef/a.o -pie -332: + cat -323: + grep 'WEAK DEFAULT .* UND foo' -323: + readelf -W --dyn-syms out/test/aarch64/weak-export-dso2/d.so -323: 4: 0000000000000000 0 FUNC WEAK DEFAULT UND foo -323: + on_exit -323: + echo OK -323: OK -323: + exit 0 -323/347 Test #323: aarch64-weak-export-dso2 ................................. Passed 0.22 sec -test 335 - Start 335: aarch64-z-dynamic-undefined-weak-exe - -335: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/z-dynamic-undefined-weak-exe.sh" -335: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -335: Environment variables: -335: MACHINE=aarch64 -335: CPU= -335: Test timeout computed to be: 1500 -335: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-dynamic-undefined-weak-exe.sh -315: + rm -f out/test/aarch64/version/exe -335: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -335: ++ export LC_ALL=C -335: ++ LC_ALL=C -335: ++ '[' -z aarch64 ']' -335: ++ '[' -z '' ']' -335: ++ TESTDIR=out/test/aarch64 -335: ++ CC=cc -335: ++ CXX=c++ -335: ++ GCC=gcc -335: ++ GXX=g++ -335: ++ OBJDUMP=objdump -335: ++ OBJCOPY=objcopy -335: ++ STRIP=strip -335: ++ QEMU= -315: + cc -B. -Wl,--version -o out/test/aarch64/version/exe1 out/test/aarch64/version/a.o +334: + cat +330: + cc -B. -nostdlib -o out/test/aarch64/whole-archive/exe out/test/aarch64/whole-archive/a.o out/test/aarch64/whole-archive/d.a 315: + grep mold -334: + cc -B. -shared -o out/test/aarch64/z-defs/b.so out/test/aarch64/z-defs/a.o -328: + ar rcs out/test/aarch64/weak-undef4/d.a out/test/aarch64/weak-undef4/c.o -330: + readelf --symbols out/test/aarch64/whole-archive/exe -329: + 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 -328: + cc -B. -o out/test/aarch64/weak-undef4/exe1 out/test/aarch64/weak-undef4/a.o out/test/aarch64/weak-undef4/d.a -335: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/z-dynamic-undefined-weak-exe.sh .sh -330: + not grep fn1 out/test/aarch64/whole-archive/log -330: + grep fn1 out/test/aarch64/whole-archive/log -335: ++ testname=z-dynamic-undefined-weak-exe -335: ++ t=out/test/aarch64/z-dynamic-undefined-weak-exe -335: ++ mkdir -p out/test/aarch64/z-dynamic-undefined-weak-exe -335: ++ case $MACHINE in -335: ++ tlsdesc_opt=-mtls-dialect=desc +315: + cc -B. -Wl,-v -o out/test/aarch64/version/exe2 out/test/aarch64/version/a.o 335: +++ uname -315: mold 2.37.1 (compatible with GNU ld) -315: + not '[' -f out/test/aarch64/version/exe1 ']' -315: + '[' -f out/test/aarch64/version/exe1 ']' -315: + return 0 -315: + grep mold 335: ++ '[' Linux = FreeBSD ']' 335: ++ trap 'on_error $LINENO' ERR 335: ++ trap on_exit EXIT 335: ++ echo -n 'Testing z-dynamic-undefined-weak-exe ... ' 335: Testing z-dynamic-undefined-weak-exe ... ++ set -o pipefail 335: ++ set -x -335: + cat 335: + cc -o out/test/aarch64/z-dynamic-undefined-weak-exe/a.o -c -xc - -fPIC -330: + return 0 -330: + not grep fn2 out/test/aarch64/whole-archive/log -330: + grep fn2 out/test/aarch64/whole-archive/log -332: + cc -c -o out/test/aarch64/wrap/c.o -xc - -332: + cat -330: + return 0 -330: + 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 -321: mold: error: undefined symbol: foo -321: + on_exit -321: + echo OK -321: OK -321: + exit 0 -333: + cc -B. -o out/test/aarch64/z-cet-report/exe out/test/aarch64/z-cet-report/a.o -Wl,-z,cet-report=warning -324/347 Test #321: aarch64-warn-unresolved-symbols .......................... Passed 0.28 sec +335: + cat +329: + 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 +325: + out/test/aarch64/weak-undef-dso/exe1 +325: + grep bar=-1 +326: + cc -B. -o out/test/aarch64/weak-undef/exe2 out/test/aarch64/weak-undef/b.o -no-pie +325: bar=-1 +192: + out/test/aarch64/range-extension-thunk3/exe +325: + cc -xc -c -o out/test/aarch64/weak-undef-dso/d.o - +325: + cat +192: + on_exit +192: + echo OK +192: OK +192: + exit 0 +324/347 Test #192: aarch64-range-extension-thunk3 ........................... Passed 6.58 sec test 336 Start 336: aarch64-z-dynamic-undefined-weak @@ -24768,11 +24797,18 @@ 336: MACHINE=aarch64 336: CPU= 336: Test timeout computed to be: 1500 -334: + cc -B. -shared -o out/test/aarch64/z-defs/b.so out/test/aarch64/z-defs/a.o -Wl,-z,undefs -326: + cc -B. -o out/test/aarch64/weak-undef/exe2 out/test/aarch64/weak-undef/b.o -no-pie -315: + cc -B. -Wl,-v -o out/test/aarch64/version/exe2 out/test/aarch64/version/a.o -325: + out/test/aarch64/weak-undef-dso/exe1 +335: + cc -B. -o out/test/aarch64/z-dynamic-undefined-weak-exe/exe1 out/test/aarch64/z-dynamic-undefined-weak-exe/a.o -pie +315: mold 2.37.1 (compatible with GNU ld) +315: mold 2.37.1 (compatible with GNU ld) +328: + cc -B. -o out/test/aarch64/weak-undef4/exe2 out/test/aarch64/weak-undef4/b.o out/test/aarch64/weak-undef4/d.a +315: + out/test/aarch64/version/exe2 +315: + grep 'Hello world' +315: Hello world +332: + cc -c -o out/test/aarch64/wrap/b.o -xc - 336: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-dynamic-undefined-weak.sh +315: + grep 'unknown command line option:' +315: + not ./mold --v +332: + cat 336: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 336: ++ export LC_ALL=C 336: ++ LC_ALL=C @@ -24787,44 +24823,15 @@ 336: ++ OBJCOPY=objcopy 336: ++ STRIP=strip 336: ++ QEMU= -336: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/z-dynamic-undefined-weak.sh .sh -325: + grep bar=-1 -325: bar=-1 -328: + cc -B. -o out/test/aarch64/weak-undef4/exe2 out/test/aarch64/weak-undef4/b.o out/test/aarch64/weak-undef4/d.a -336: ++ testname=z-dynamic-undefined-weak -336: ++ t=out/test/aarch64/z-dynamic-undefined-weak -336: ++ mkdir -p out/test/aarch64/z-dynamic-undefined-weak -332: + cc -B. -o out/test/aarch64/wrap/exe out/test/aarch64/wrap/a.so out/test/aarch64/wrap/b.o -336: ++ case $MACHINE in -336: ++ tlsdesc_opt=-mtls-dialect=desc -336: +++ uname -335: + cc -B. -o out/test/aarch64/z-dynamic-undefined-weak-exe/exe1 out/test/aarch64/z-dynamic-undefined-weak-exe/a.o -pie -336: ++ '[' Linux = FreeBSD ']' -325: + cat -325: + cc -xc -c -o out/test/aarch64/weak-undef-dso/d.o - -336: ++ trap 'on_error $LINENO' ERR -336: ++ trap on_exit EXIT -336: ++ echo -n 'Testing z-dynamic-undefined-weak ... ' -336: Testing z-dynamic-undefined-weak ... ++ set -o pipefail -336: ++ set -x -336: + cat -329: + grep 'NEEDED.*libfoobar' -326: + cc -B. -o out/test/aarch64/weak-undef/exe3 out/test/aarch64/weak-undef/a.o out/test/aarch64/weak-undef/c.o -pie -336: + cc -o out/test/aarch64/z-dynamic-undefined-weak/a.o -c -xc - -fPIC -329: + readelf --dynamic out/test/aarch64/weak-undef5/exe -329: 0x0000000000000001 (NEEDED) Shared library: [libfoobar.so] -329: + grep '^2$' 330: + readelf --symbols out/test/aarch64/whole-archive/exe -329: + out/test/aarch64/weak-undef5/exe -329: 2 +330: + not grep fn1 out/test/aarch64/whole-archive/log 330: + grep fn1 out/test/aarch64/whole-archive/log -329: + on_exit -329: + echo OK -329: OK -329: + exit 0 -330: 22: 0000000000010384 8 FUNC LOCAL DEFAULT 8 fn1 -325/347 Test #329: aarch64-weak-undef5 ...................................... Passed 0.21 sec -330: + grep fn2 out/test/aarch64/whole-archive/log +315: mold: fatal: unknown command line option: --v +315: + on_exit +315: + echo OK +315: OK +315: + exit 0 +325/347 Test #315: aarch64-version .......................................... Passed 0.73 sec test 337 Start 337: aarch64-z-max-page-size @@ -24834,12 +24841,20 @@ 337: MACHINE=aarch64 337: CPU= 337: Test timeout computed to be: 1500 -330: 25: 000000000001038c 8 FUNC LOCAL DEFAULT 8 fn2 -330: + 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 -334: + not cc -B. -shared -o out/test/aarch64/z-defs/b.so out/test/aarch64/z-defs/a.o -Wl,-z,defs -334: + grep 'undefined symbol:.* foo' -333: + grep 'a.o: -cet-report=warning: missing GNU_PROPERTY_X86_FEATURE_1_IBT' out/test/aarch64/z-cet-report/log +330: + return 0 +330: + not grep fn2 out/test/aarch64/whole-archive/log +330: + grep fn2 out/test/aarch64/whole-archive/log +330: + return 0 +330: + 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 +325: + 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 +336: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/z-dynamic-undefined-weak.sh .sh +336: ++ testname=z-dynamic-undefined-weak +336: ++ t=out/test/aarch64/z-dynamic-undefined-weak +336: ++ mkdir -p out/test/aarch64/z-dynamic-undefined-weak 337: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-max-page-size.sh +334: + cc -B. -shared -o out/test/aarch64/z-defs/b.so out/test/aarch64/z-defs/a.o +336: ++ case $MACHINE in +336: ++ tlsdesc_opt=-mtls-dialect=desc 337: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 337: ++ export LC_ALL=C 337: ++ LC_ALL=C @@ -24854,40 +24869,49 @@ 337: ++ OBJCOPY=objcopy 337: ++ STRIP=strip 337: ++ QEMU= -333: mold: warning: out/test/aarch64/z-cet-report/a.o: -cet-report=warning: missing GNU_PROPERTY_X86_FEATURE_1_IBT -333: + grep 'a.o: -cet-report=warning: missing GNU_PROPERTY_X86_FEATURE_1_SHSTK' out/test/aarch64/z-cet-report/log -328: + grep '^2$' -333: mold: warning: out/test/aarch64/z-cet-report/a.o: -cet-report=warning: missing GNU_PROPERTY_X86_FEATURE_1_SHSTK -333: + not cc -B. -o out/test/aarch64/z-cet-report/exe out/test/aarch64/z-cet-report/a.o -Wl,-z,cet-report=error -328: + out/test/aarch64/weak-undef4/exe1 -325: + 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 337: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/z-max-page-size.sh .sh -332: + out/test/aarch64/wrap/exe -328: 2 -331: + cat 337: ++ testname=z-max-page-size 337: ++ t=out/test/aarch64/z-max-page-size 337: ++ mkdir -p out/test/aarch64/z-max-page-size -331: + cc -fPIC -shared -o out/test/aarch64/wrap-lto/a.so -xc - -328: + grep '^-1$' -315: mold 2.37.1 (compatible with GNU ld) -315: mold 2.37.1 (compatible with GNU ld) -332: + grep '^foo$' -315: + grep 'Hello world' -315: + out/test/aarch64/version/exe2 -332: foo +336: +++ uname +336: ++ '[' Linux = FreeBSD ']' +336: ++ trap 'on_error $LINENO' ERR +336: ++ trap on_exit EXIT +336: ++ echo -n 'Testing z-dynamic-undefined-weak ... ' +336: Testing z-dynamic-undefined-weak ... ++ set -o pipefail +336: ++ set -x +333: + cc -B. -o out/test/aarch64/z-cet-report/exe out/test/aarch64/z-cet-report/a.o -Wl,-z,cet-report=warning 337: ++ case $MACHINE in 337: ++ tlsdesc_opt=-mtls-dialect=desc +336: + cc -o out/test/aarch64/z-dynamic-undefined-weak/a.o -c -xc - -fPIC +336: + cat 337: +++ uname -328: + out/test/aarch64/weak-undef4/exe2 -315: Hello world -328: -1 -328: + on_exit -328: + echo OK -328: OK -328: + exit 0 -326/347 Test #328: aarch64-weak-undef4 ...................................... Passed 0.24 sec +337: ++ '[' Linux = FreeBSD ']' +337: ++ trap 'on_error $LINENO' ERR +337: ++ trap on_exit EXIT +337: ++ echo -n 'Testing z-max-page-size ... ' +337: Testing z-max-page-size ... ++ set -o pipefail +337: ++ set -x +337: + cc -o out/test/aarch64/z-max-page-size/a.o -c -xc - +337: + cat +335: + readelf -W --dyn-syms out/test/aarch64/z-dynamic-undefined-weak-exe/exe1 +335: + not grep ' fn$' +335: + grep ' fn$' +329: + readelf --dynamic out/test/aarch64/weak-undef5/exe 330: + readelf --symbols out/test/aarch64/whole-archive/exe +329: + grep 'NEEDED.*libfoobar' +330: + grep fn1 out/test/aarch64/whole-archive/log +329: 0x0000000000000001 (NEEDED) Shared library: [libfoobar.so] +329: + out/test/aarch64/weak-undef5/exe +329: + grep '^2$' +329: 2 +329: + on_exit +329: + echo OK +329: OK +329: + exit 0 +326: + cc -B. -o out/test/aarch64/weak-undef/exe3 out/test/aarch64/weak-undef/a.o out/test/aarch64/weak-undef/c.o -pie +325: + out/test/aarch64/weak-undef-dso/exe2 +326/347 Test #329: aarch64-weak-undef5 ...................................... Passed 0.39 sec test 338 Start 338: aarch64-z-nodefaultlib @@ -24897,32 +24921,29 @@ 338: MACHINE=aarch64 338: CPU= 338: Test timeout computed to be: 1500 -330: + not grep fn1 out/test/aarch64/whole-archive/log -330: + grep fn1 out/test/aarch64/whole-archive/log -330: + return 0 -330: + not grep fn2 out/test/aarch64/whole-archive/log +330: 22: 0000000000010384 8 FUNC LOCAL DEFAULT 8 fn1 330: + grep fn2 out/test/aarch64/whole-archive/log -330: + return 0 -330: + on_exit -330: + echo OK -330: OK -330: + exit 0 +330: 25: 000000000001038c 8 FUNC LOCAL DEFAULT 8 fn2 +330: + 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 +335: + return 0 +335: + cc -B. -o out/test/aarch64/z-dynamic-undefined-weak-exe/exe2 out/test/aarch64/z-dynamic-undefined-weak-exe/a.o -pie -Wl,-z,dynamic-undefined-weak +328: + out/test/aarch64/weak-undef4/exe1 +328: + grep '^2$' +328: 2 +328: + grep '^-1$' +328: + out/test/aarch64/weak-undef4/exe2 +325: + grep bar=5 +325: bar=5 +325: + on_exit +325: + echo OK +325: OK +325: + exit 0 +334: + cc -B. -shared -o out/test/aarch64/z-defs/b.so out/test/aarch64/z-defs/a.o -Wl,-z,undefs +332: + cc -c -o out/test/aarch64/wrap/c.o -xc - +332: + cat 336: + cc -B. -shared -o out/test/aarch64/z-dynamic-undefined-weak/b.so out/test/aarch64/z-dynamic-undefined-weak/a.o -332: + cc -B. -o out/test/aarch64/wrap/exe out/test/aarch64/wrap/a.so out/test/aarch64/wrap/b.o -Wl,-wrap,foo -337: ++ '[' Linux = FreeBSD ']' -337: ++ trap 'on_error $LINENO' ERR -337: ++ trap on_exit EXIT -337: ++ echo -n 'Testing z-max-page-size ... ' -337: Testing z-max-page-size ... ++ set -o pipefail -337: ++ set -x -337: + cc -o out/test/aarch64/z-max-page-size/a.o -c -xc - -337: + cat -335: + not grep ' fn$' -335: + grep ' fn$' -335: + readelf -W --dyn-syms out/test/aarch64/z-dynamic-undefined-weak-exe/exe1 -315: + grep 'unknown command line option:' -315: + not ./mold --v -327/347 Test #330: aarch64-whole-archive .................................... Passed 0.24 sec +327/347 Test #325: aarch64-weak-undef-dso ................................... Passed 0.51 sec +338: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-nodefaultlib.sh test 339 Start 339: aarch64-z-nodump @@ -24932,9 +24953,6 @@ 339: MACHINE=aarch64 339: CPU= 339: Test timeout computed to be: 1500 -335: + return 0 -335: + cc -B. -o out/test/aarch64/z-dynamic-undefined-weak-exe/exe2 out/test/aarch64/z-dynamic-undefined-weak-exe/a.o -pie -Wl,-z,dynamic-undefined-weak -338: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-nodefaultlib.sh 338: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 338: ++ export LC_ALL=C 338: ++ LC_ALL=C @@ -24949,29 +24967,19 @@ 338: ++ OBJCOPY=objcopy 338: ++ STRIP=strip 338: ++ QEMU= -339: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-nodump.sh -326: + 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 -315: mold: fatal: unknown command line option: --v -315: + on_exit -315: + echo OK -315: OK -315: + exit 0 338: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/z-nodefaultlib.sh .sh -328/347 Test #315: aarch64-version .......................................... Passed 0.46 sec -test 340 - Start 340: aarch64-z-now - -340: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/z-now.sh" -340: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -340: Environment variables: -340: MACHINE=aarch64 -340: CPU= -340: Test timeout computed to be: 1500 338: ++ testname=z-nodefaultlib 338: ++ t=out/test/aarch64/z-nodefaultlib 338: ++ mkdir -p out/test/aarch64/z-nodefaultlib 338: ++ case $MACHINE in 338: ++ tlsdesc_opt=-mtls-dialect=desc +338: +++ uname +328: -1 +328: + on_exit +328: + echo OK +328: OK +328: + exit 0 +339: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-nodump.sh 339: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 339: ++ export LC_ALL=C 339: ++ LC_ALL=C @@ -24986,8 +24994,20 @@ 339: ++ OBJCOPY=objcopy 339: ++ STRIP=strip 339: ++ QEMU= -337: + 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 -338: +++ uname +339: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/z-nodump.sh .sh +339: ++ testname=z-nodump +339: ++ t=out/test/aarch64/z-nodump +339: ++ mkdir -p out/test/aarch64/z-nodump +328/347 Test #328: aarch64-weak-undef4 ...................................... Passed 0.48 sec +test 340 + Start 340: aarch64-z-now + +340: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/z-now.sh" +340: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +340: Environment variables: +340: MACHINE=aarch64 +340: CPU= +340: Test timeout computed to be: 1500 338: ++ '[' Linux = FreeBSD ']' 338: ++ trap 'on_error $LINENO' ERR 338: ++ trap on_exit EXIT @@ -24995,25 +25015,19 @@ 338: Testing z-nodefaultlib ... ++ set -o pipefail 338: ++ set -x 338: + cat -325: + out/test/aarch64/weak-undef-dso/exe2 -325: + grep bar=5 -338: + cc -o out/test/aarch64/z-nodefaultlib/a.o -c -xc - -325: bar=5 -325: + on_exit -325: + echo OK -325: OK -325: + exit 0 -329/347 Test #325: aarch64-weak-undef-dso ................................... Passed 0.32 sec +333: + grep 'a.o: -cet-report=warning: missing GNU_PROPERTY_X86_FEATURE_1_IBT' out/test/aarch64/z-cet-report/log +337: + 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 +339: ++ case $MACHINE in +339: ++ tlsdesc_opt=-mtls-dialect=desc +339: +++ uname 340: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-now.sh -test 341 - Start 341: aarch64-z-origin - -341: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/z-origin.sh" -341: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -341: Environment variables: -341: MACHINE=aarch64 -341: CPU= -341: Test timeout computed to be: 1500 +339: ++ '[' Linux = FreeBSD ']' +339: ++ trap 'on_error $LINENO' ERR +339: ++ trap on_exit EXIT +339: ++ echo -n 'Testing z-nodump ... ' +339: Testing z-nodump ... ++ set -o pipefail +339: ++ set -x +339: + cc -c -o out/test/aarch64/z-nodump/a.o -xc - 340: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 340: ++ export LC_ALL=C 340: ++ LC_ALL=C @@ -25032,80 +25046,55 @@ 340: ++ testname=z-now 340: ++ t=out/test/aarch64/z-now 340: ++ mkdir -p out/test/aarch64/z-now -339: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/z-nodump.sh .sh -339: ++ testname=z-nodump -339: ++ t=out/test/aarch64/z-nodump -339: ++ mkdir -p out/test/aarch64/z-nodump -339: ++ case $MACHINE in -339: ++ tlsdesc_opt=-mtls-dialect=desc -339: +++ uname -339: ++ '[' Linux = FreeBSD ']' -339: ++ trap 'on_error $LINENO' ERR -339: ++ trap on_exit EXIT -339: ++ echo -n 'Testing z-nodump ... ' -339: Testing z-nodump ... ++ set -o pipefail -339: ++ set -x 339: + cat -339: + cc -c -o out/test/aarch64/z-nodump/a.o -xc - -334: mold: error: undefined symbol: foo -334: + not cc -B. -shared -o out/test/aarch64/z-defs/b.so out/test/aarch64/z-defs/a.o -Wl,-no-undefined -334: + grep 'undefined symbol:.* foo' -341: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-origin.sh -341: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -341: ++ export LC_ALL=C -341: ++ LC_ALL=C -341: ++ '[' -z aarch64 ']' -341: ++ '[' -z '' ']' -341: ++ TESTDIR=out/test/aarch64 -341: ++ CC=cc -341: ++ CXX=c++ -341: ++ GCC=gcc -341: ++ GXX=g++ -341: ++ OBJDUMP=objdump -341: ++ OBJCOPY=objcopy -341: ++ STRIP=strip -341: ++ QEMU= +338: + cc -o out/test/aarch64/z-nodefaultlib/a.o -c -xc - 340: ++ case $MACHINE in 340: ++ tlsdesc_opt=-mtls-dialect=desc 340: +++ uname -341: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/z-origin.sh .sh -331: + cc -c -o out/test/aarch64/wrap-lto/b.o -xc - -flto -333: + grep 'a.o: -cet-report=error: missing GNU_PROPERTY_X86_FEATURE_1_IBT' out/test/aarch64/z-cet-report/log -341: ++ testname=z-origin -341: ++ t=out/test/aarch64/z-origin -341: ++ mkdir -p out/test/aarch64/z-origin -341: ++ case $MACHINE in -341: ++ tlsdesc_opt=-mtls-dialect=desc -331: + cat +333: mold: warning: out/test/aarch64/z-cet-report/a.o: -cet-report=warning: missing GNU_PROPERTY_X86_FEATURE_1_IBT 340: ++ '[' Linux = FreeBSD ']' -341: +++ uname 340: ++ trap 'on_error $LINENO' ERR 340: ++ trap on_exit EXIT 340: ++ echo -n 'Testing z-now ... ' 340: Testing z-now ... ++ set -o pipefail 340: ++ set -x -333: mold: error: out/test/aarch64/z-cet-report/a.o: -cet-report=error: missing GNU_PROPERTY_X86_FEATURE_1_IBT -333: + grep 'a.o: -cet-report=error: missing GNU_PROPERTY_X86_FEATURE_1_SHSTK' out/test/aarch64/z-cet-report/log -336: + 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 -332: + grep '^wrap_foo$' -332: + out/test/aarch64/wrap/exe -332: wrap_foo -341: ++ '[' Linux = FreeBSD ']' -341: ++ trap 'on_error $LINENO' ERR -341: ++ trap on_exit EXIT -341: ++ echo -n 'Testing z-origin ... ' -341: Testing z-origin ... ++ set -o pipefail -341: ++ set -x -332: + cc -B. -o out/test/aarch64/wrap/exe out/test/aarch64/wrap/a.so out/test/aarch64/wrap/c.o -Wl,-wrap,foo -335: + grep ' fn$' +333: + grep 'a.o: -cet-report=warning: missing GNU_PROPERTY_X86_FEATURE_1_SHSTK' out/test/aarch64/z-cet-report/log +333: mold: warning: out/test/aarch64/z-cet-report/a.o: -cet-report=warning: missing GNU_PROPERTY_X86_FEATURE_1_SHSTK +333: + not cc -B. -o out/test/aarch64/z-cet-report/exe out/test/aarch64/z-cet-report/a.o -Wl,-z,cet-report=error +330: + readelf --symbols out/test/aarch64/whole-archive/exe +330: + not grep fn1 out/test/aarch64/whole-archive/log +330: + grep fn1 out/test/aarch64/whole-archive/log +332: + cc -B. -o out/test/aarch64/wrap/exe out/test/aarch64/wrap/a.so out/test/aarch64/wrap/b.o 335: + readelf -W --dyn-syms out/test/aarch64/z-dynamic-undefined-weak-exe/exe2 340: + cat -333: mold: error: out/test/aarch64/z-cet-report/a.o: -cet-report=error: missing GNU_PROPERTY_X86_FEATURE_1_SHSTK -333: + on_exit -333: + echo OK -333: OK -333: + exit 0 -330/347 Test #333: aarch64-z-cet-report ..................................... Passed 0.22 sec +340: + cc -o out/test/aarch64/z-now/a.o -c -xc - +326: + 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 +330: + return 0 +330: + not grep fn2 out/test/aarch64/whole-archive/log +330: + grep fn2 out/test/aarch64/whole-archive/log +335: + grep ' fn$' +335: 4: 0000000000000000 0 NOTYPE WEAK DEFAULT UND fn +335: + on_exit +335: + echo OK +335: OK +335: + exit 0 +329/347 Test #335: aarch64-z-dynamic-undefined-weak-exe ..................... Passed 0.28 sec +test 341 + Start 341: aarch64-z-origin + +341: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/z-origin.sh" +341: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +341: Environment variables: +341: MACHINE=aarch64 +341: CPU= +341: Test timeout computed to be: 1500 +336: + 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 +330: + return 0 +330: + on_exit +330: + echo OK +330: OK +330: + exit 0 +330/347 Test #330: aarch64-whole-archive .................................... Passed 0.46 sec test 342 Start 342: aarch64-z-pack-relative-relocs @@ -25115,36 +25104,33 @@ 342: MACHINE=aarch64 342: CPU= 342: Test timeout computed to be: 1500 -335: 4: 0000000000000000 0 NOTYPE WEAK DEFAULT UND fn -335: + on_exit -335: + echo OK -335: OK -335: + exit 0 -339: + cc -B. -shared -o out/test/aarch64/z-nodump/b.so out/test/aarch64/z-nodump/a.o -341: + cat -341: + cc -c -o out/test/aarch64/z-origin/a.o -xc - +341: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-origin.sh 337: + grep 'Hello world' 337: + out/test/aarch64/z-max-page-size/exe1 337: Hello world -340: + cc -o out/test/aarch64/z-now/a.o -c -xc - -326: + grep '^-1$' -334: mold: error: undefined symbol: foo -331/347 Test #335: aarch64-z-dynamic-undefined-weak-exe ..................... Passed 0.19 sec -test 343 - Start 343: aarch64-z-rodynamic - -343: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/z-rodynamic.sh" -343: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -343: Environment variables: -343: MACHINE=aarch64 -343: CPU= -343: Test timeout computed to be: 1500 +341: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +341: ++ export LC_ALL=C +341: ++ LC_ALL=C +341: ++ '[' -z aarch64 ']' +341: ++ '[' -z '' ']' +341: ++ TESTDIR=out/test/aarch64 +341: ++ CC=cc +341: ++ CXX=c++ +341: ++ GCC=gcc +341: ++ GXX=g++ +341: ++ OBJDUMP=objdump +341: ++ OBJCOPY=objcopy +341: ++ STRIP=strip +341: ++ QEMU= 337: + grep 'LOAD.*R 0x10000$' -337: + readelf -W --segments out/test/aarch64/z-max-page-size/exe1 342: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-pack-relative-relocs.sh -334: + 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 -326: + out/test/aarch64/weak-undef/exe1 -343: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-rodynamic.sh +337: + readelf -W --segments out/test/aarch64/z-max-page-size/exe1 +341: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/z-origin.sh .sh +337: LOAD 0x000000 0x0000000000000000 0x0000000000000000 0x000598 0x000598 R 0x10000 +337: + 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 +341: ++ testname=z-origin +341: ++ t=out/test/aarch64/z-origin +341: ++ mkdir -p out/test/aarch64/z-origin 342: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 342: ++ export LC_ALL=C 342: ++ LC_ALL=C @@ -25159,80 +25145,86 @@ 342: ++ OBJCOPY=objcopy 342: ++ STRIP=strip 342: ++ QEMU= -343: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -343: ++ export LC_ALL=C -343: ++ LC_ALL=C -343: ++ '[' -z aarch64 ']' -343: ++ '[' -z '' ']' -343: ++ TESTDIR=out/test/aarch64 -343: ++ CC=cc -343: ++ CXX=c++ -343: ++ GCC=gcc -343: ++ GXX=g++ -343: ++ OBJDUMP=objdump -343: ++ OBJCOPY=objcopy -343: ++ STRIP=strip -343: ++ QEMU= -337: LOAD 0x000000 0x0000000000000000 0x0000000000000000 0x000598 0x000598 R 0x10000 -343: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/z-rodynamic.sh .sh -343: ++ testname=z-rodynamic -343: ++ t=out/test/aarch64/z-rodynamic -343: ++ mkdir -p out/test/aarch64/z-rodynamic -343: ++ case $MACHINE in -343: ++ tlsdesc_opt=-mtls-dialect=desc -334: + grep 'undefined symbol:.* foo$' -326: -1 -337: + 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 342: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/z-pack-relative-relocs.sh .sh -338: + cc -B. -o out/test/aarch64/z-nodefaultlib/exe out/test/aarch64/z-nodefaultlib/a.o -Wl,-z,nodefaultlib -343: +++ uname -343: ++ '[' Linux = FreeBSD ']' -343: ++ trap 'on_error $LINENO' ERR -343: ++ trap on_exit EXIT -343: ++ echo -n 'Testing z-rodynamic ... ' -343: Testing z-rodynamic ... ++ set -o pipefail -343: ++ set -x -326: + out/test/aarch64/weak-undef/exe2 -343: + cat -326: + grep '^-1$' 342: ++ testname=z-pack-relative-relocs 342: ++ t=out/test/aarch64/z-pack-relative-relocs 342: ++ mkdir -p out/test/aarch64/z-pack-relative-relocs -326: -1 -331: + cat -331: + cc -c -o out/test/aarch64/wrap-lto/c.o -xc - -flto -343: + cc -o out/test/aarch64/z-rodynamic/a.o -c -xc - 342: ++ case $MACHINE in 342: ++ tlsdesc_opt=-mtls-dialect=desc -326: + grep '^2$' 342: +++ uname -341: + cc -B. -o out/test/aarch64/z-origin/exe out/test/aarch64/z-origin/a.o -Wl,-z,origin +341: ++ case $MACHINE in +341: ++ tlsdesc_opt=-mtls-dialect=desc 342: ++ '[' Linux = FreeBSD ']' 342: ++ trap 'on_error $LINENO' ERR 342: ++ trap on_exit EXIT 342: ++ echo -n 'Testing z-pack-relative-relocs ... ' 342: Testing z-pack-relative-relocs ... ++ set -o pipefail 342: ++ set -x -326: + out/test/aarch64/weak-undef/exe3 -326: 2 -340: + cc -B. -o out/test/aarch64/z-now/exe out/test/aarch64/z-now/a.o -Wl,-z,now -339: + readelf --dynamic out/test/aarch64/z-nodump/b.so -339: + not grep -E 'Flags:.*NODUMP' -339: + grep -E 'Flags:.*NODUMP' 342: + cat -326: + out/test/aarch64/weak-undef/exe4 342: + cc -o out/test/aarch64/z-pack-relative-relocs/a.o -fPIC -c -xc - -326: + grep '^2$' +341: +++ uname +341: ++ '[' Linux = FreeBSD ']' +341: ++ trap 'on_error $LINENO' ERR +341: ++ trap on_exit EXIT +341: ++ echo -n 'Testing z-origin ... ' +341: Testing z-origin ... ++ set -o pipefail +341: ++ set -x +339: + cc -B. -shared -o out/test/aarch64/z-nodump/b.so out/test/aarch64/z-nodump/a.o +338: + cc -B. -o out/test/aarch64/z-nodefaultlib/exe out/test/aarch64/z-nodefaultlib/a.o -Wl,-z,nodefaultlib +341: + cc -c -o out/test/aarch64/z-origin/a.o -xc - +340: + cc -B. -o out/test/aarch64/z-now/exe out/test/aarch64/z-now/a.o -Wl,-z,now +333: + grep 'a.o: -cet-report=error: missing GNU_PROPERTY_X86_FEATURE_1_IBT' out/test/aarch64/z-cet-report/log +341: + cat +334: + grep 'undefined symbol:.* foo' +333: mold: error: out/test/aarch64/z-cet-report/a.o: -cet-report=error: missing GNU_PROPERTY_X86_FEATURE_1_IBT +334: + not cc -B. -shared -o out/test/aarch64/z-defs/b.so out/test/aarch64/z-defs/a.o -Wl,-z,defs +333: + grep 'a.o: -cet-report=error: missing GNU_PROPERTY_X86_FEATURE_1_SHSTK' out/test/aarch64/z-cet-report/log +333: mold: error: out/test/aarch64/z-cet-report/a.o: -cet-report=error: missing GNU_PROPERTY_X86_FEATURE_1_SHSTK +333: + on_exit +333: + echo OK +333: OK +333: + exit 0 +331: + cc -fPIC -shared -o out/test/aarch64/wrap-lto/a.so -xc - +331: + cat +331/347 Test #333: aarch64-z-cet-report ..................................... Passed 0.41 sec +test 343 + Start 343: aarch64-z-rodynamic + +343: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/z-rodynamic.sh" +343: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +343: Environment variables: +343: MACHINE=aarch64 +343: CPU= +343: Test timeout computed to be: 1500 +332: + grep '^foo$' +332: + out/test/aarch64/wrap/exe +332: foo +332: + cc -B. -o out/test/aarch64/wrap/exe out/test/aarch64/wrap/a.so out/test/aarch64/wrap/b.o -Wl,-wrap,foo 336: + 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 +337: + grep 'Hello world' +337: + out/test/aarch64/z-max-page-size/exe2 +337: Hello world +337: + grep 'LOAD.*R 0x100000$' +337: + readelf -W --segments out/test/aarch64/z-max-page-size/exe2 +337: LOAD 0x000000 0x0000000000000000 0x0000000000000000 0x000598 0x000598 R 0x100000 +337: + 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 +326: + out/test/aarch64/weak-undef/exe1 +326: + grep '^-1$' +326: -1 +326: + grep '^-1$' +326: + out/test/aarch64/weak-undef/exe2 +326: -1 +326: + grep '^2$' +326: + out/test/aarch64/weak-undef/exe3 +326: 2 +326: + grep '^2$' +326: + out/test/aarch64/weak-undef/exe4 326: 2 326: + on_exit 326: + echo OK 326: OK 326: + exit 0 -332: + grep '^foo$' -339: + return 0 -339: + cc -B. -shared -o out/test/aarch64/z-nodump/b.so out/test/aarch64/z-nodump/a.o -Wl,-z,nodump -332/347 Test #326: aarch64-weak-undef ....................................... Passed 0.38 sec +332/347 Test #326: aarch64-weak-undef ....................................... Passed 0.68 sec test 344 Start 344: aarch64-z-sectionheader @@ -25242,26 +25234,24 @@ 344: MACHINE=aarch64 344: CPU= 344: Test timeout computed to be: 1500 -331: + cc -B. -o out/test/aarch64/wrap-lto/exe out/test/aarch64/wrap-lto/a.so out/test/aarch64/wrap-lto/b.o -flto -338: + readelf --dynamic out/test/aarch64/z-nodefaultlib/exe -338: + grep 'Flags:.*NODEFLIB' +341: + cc -B. -o out/test/aarch64/z-origin/exe out/test/aarch64/z-origin/a.o -Wl,-z,origin +342: + 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 +343: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-rodynamic.sh +343: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +343: ++ export LC_ALL=C +343: ++ LC_ALL=C +343: ++ '[' -z aarch64 ']' +343: ++ '[' -z '' ']' +343: ++ TESTDIR=out/test/aarch64 +343: ++ CC=cc +343: ++ CXX=c++ +343: ++ GCC=gcc +343: ++ GXX=g++ +343: ++ OBJDUMP=objdump +343: ++ OBJCOPY=objcopy +343: ++ STRIP=strip +343: ++ QEMU= 344: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-sectionheader.sh -338: 0x000000006ffffffb (FLAGS_1) Flags: NODEFLIB PIE -332: + out/test/aarch64/wrap/exe -338: + on_exit -338: + echo OK -338: OK -338: + exit 0 -333/347 Test #338: aarch64-z-nodefaultlib ................................... Passed 0.12 sec -test 345 - Start 345: aarch64-z-separate-code - -345: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/z-separate-code.sh" -345: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -345: Environment variables: -345: MACHINE=aarch64 -345: CPU= -345: Test timeout computed to be: 1500 344: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 344: ++ export LC_ALL=C 344: ++ LC_ALL=C @@ -25276,17 +25266,66 @@ 344: ++ OBJCOPY=objcopy 344: ++ STRIP=strip 344: ++ QEMU= +343: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/z-rodynamic.sh .sh +343: ++ testname=z-rodynamic +343: ++ t=out/test/aarch64/z-rodynamic +343: ++ mkdir -p out/test/aarch64/z-rodynamic 344: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/z-sectionheader.sh .sh -332: foo -332: + on_exit -332: + echo OK -332: OK -332: + exit 0 -334/347 Test #332: aarch64-wrap ............................................. Passed 0.34 sec -345: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-separate-code.sh 344: ++ testname=z-sectionheader 344: ++ t=out/test/aarch64/z-sectionheader 344: ++ mkdir -p out/test/aarch64/z-sectionheader +344: ++ case $MACHINE in +344: ++ tlsdesc_opt=-mtls-dialect=desc +338: + grep 'Flags:.*NODEFLIB' +338: + readelf --dynamic out/test/aarch64/z-nodefaultlib/exe +343: ++ case $MACHINE in +343: ++ tlsdesc_opt=-mtls-dialect=desc +344: +++ uname +344: ++ '[' Linux = FreeBSD ']' +344: ++ trap 'on_error $LINENO' ERR +344: ++ trap on_exit EXIT +344: ++ echo -n 'Testing z-sectionheader ... ' +344: Testing z-sectionheader ... ++ set -o pipefail +344: ++ set -x +336: + cc -o out/test/aarch64/z-dynamic-undefined-weak/e.o -c -xc - +338: 0x000000006ffffffb (FLAGS_1) Flags: NODEFLIB PIE +338: + on_exit +338: + echo OK +338: OK +338: + exit 0 +333/347 Test #338: aarch64-z-nodefaultlib ................................... Passed 0.23 sec +test 345 + Start 345: aarch64-z-separate-code + +345: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/z-separate-code.sh" +345: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +345: Environment variables: +345: MACHINE=aarch64 +345: CPU= +345: Test timeout computed to be: 1500 +336: + cat +343: +++ uname +343: ++ '[' Linux = FreeBSD ']' +343: ++ trap 'on_error $LINENO' ERR +343: ++ trap on_exit EXIT +343: ++ echo -n 'Testing z-rodynamic ... ' +343: Testing z-rodynamic ... ++ set -o pipefail +343: ++ set -x +343: + cat +343: + cc -o out/test/aarch64/z-rodynamic/a.o -c -xc - +334: mold: error: undefined symbol: foo +334: + grep 'undefined symbol:.* foo' +334: + not cc -B. -shared -o out/test/aarch64/z-defs/b.so out/test/aarch64/z-defs/a.o -Wl,-no-undefined +340: + grep 'Hello world' +340: + out/test/aarch64/z-now/exe +340: Hello world +340: + on_exit +340: + echo OK +340: OK +340: + exit 0 +344: + cat +344: + cc -o out/test/aarch64/z-sectionheader/a.o -c -xc - +334/347 Test #340: aarch64-z-now ............................................ Passed 0.22 sec test 346 Start 346: aarch64-z-stack-size @@ -25296,6 +25335,33 @@ 346: MACHINE=aarch64 346: CPU= 346: Test timeout computed to be: 1500 +332: + out/test/aarch64/wrap/exe +332: + grep '^wrap_foo$' +346: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-stack-size.sh +332: wrap_foo +332: + cc -B. -o out/test/aarch64/wrap/exe out/test/aarch64/wrap/a.so out/test/aarch64/wrap/c.o -Wl,-wrap,foo +342: + readelf -WS out/test/aarch64/z-pack-relative-relocs/exe1 +342: + grep -F .relr.dyn +346: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +346: ++ export LC_ALL=C +346: ++ LC_ALL=C +346: ++ '[' -z aarch64 ']' +346: ++ '[' -z '' ']' +346: ++ TESTDIR=out/test/aarch64 +346: ++ CC=cc +346: ++ CXX=c++ +346: ++ GCC=gcc +346: ++ GXX=g++ +346: ++ OBJDUMP=objdump +346: ++ OBJCOPY=objcopy +346: ++ STRIP=strip +346: ++ QEMU= +339: + readelf --dynamic out/test/aarch64/z-nodump/b.so +339: + not grep -E 'Flags:.*NODUMP' +339: + grep -E 'Flags:.*NODUMP' +344: + cc -B. -o out/test/aarch64/z-sectionheader/exe out/test/aarch64/z-sectionheader/a.o -Wl,-z,nosectionheader +345: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-separate-code.sh +346: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/z-stack-size.sh .sh 345: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 345: ++ export LC_ALL=C 345: ++ LC_ALL=C @@ -25317,6 +25383,7 @@ 345: ++ case $MACHINE in 345: ++ tlsdesc_opt=-mtls-dialect=desc 345: +++ uname +342: [10] .relr.dyn RELR 0000000000000590 000590 000018 08 A 0 0 8 345: ++ '[' Linux = FreeBSD ']' 345: ++ trap 'on_error $LINENO' ERR 345: ++ trap on_exit EXIT @@ -25325,79 +25392,58 @@ 345: ++ set -x 345: + is_musl 345: + grep musl -345: + cat -345: + cc -o out/test/aarch64/z-separate-code/a.o -c -xc - -344: ++ case $MACHINE in -344: ++ tlsdesc_opt=-mtls-dialect=desc -344: +++ uname -344: ++ '[' Linux = FreeBSD ']' -344: ++ trap 'on_error $LINENO' ERR -344: ++ trap on_exit EXIT -344: ++ echo -n 'Testing z-sectionheader ... ' -344: Testing z-sectionheader ... ++ set -o pipefail -344: ++ set -x -344: + cat -343: + cc -B. -o out/test/aarch64/z-rodynamic/exe1 out/test/aarch64/z-rodynamic/a.o -334: mold: warning: undefined symbol: foo -334: + on_exit -334: + echo OK -334: OK -334: + exit 0 -340: + out/test/aarch64/z-now/exe -346: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-stack-size.sh -335/347 Test #334: aarch64-z-defs ........................................... Passed 0.29 sec -test 347 - Start 347: aarch64-z-start-stop-visibility - -347: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/z-start-stop-visibility.sh" -347: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu -347: Environment variables: -347: MACHINE=aarch64 -347: CPU= -347: Test timeout computed to be: 1500 -346: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -346: ++ export LC_ALL=C -346: ++ LC_ALL=C -346: ++ '[' -z aarch64 ']' -346: ++ '[' -z '' ']' -346: ++ TESTDIR=out/test/aarch64 -346: ++ CC=cc -346: ++ CXX=c++ -346: ++ GCC=gcc -346: ++ GXX=g++ -346: ++ OBJDUMP=objdump -346: ++ OBJCOPY=objcopy -346: ++ STRIP=strip -346: ++ QEMU= -346: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/z-stack-size.sh .sh +342: + grep Hello +342: + out/test/aarch64/z-pack-relative-relocs/exe1 346: ++ testname=z-stack-size 346: ++ t=out/test/aarch64/z-stack-size 346: ++ mkdir -p out/test/aarch64/z-stack-size +339: + return 0 +339: + cc -B. -shared -o out/test/aarch64/z-nodump/b.so out/test/aarch64/z-nodump/a.o -Wl,-z,nodump +345: + cc -o out/test/aarch64/z-separate-code/a.o -c -xc - +336: + 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 +337: + grep 'Hello world' +345: + cat 346: ++ case $MACHINE in 346: ++ tlsdesc_opt=-mtls-dialect=desc 346: +++ uname -340: + grep 'Hello world' -340: Hello world -340: + on_exit -340: + echo OK -340: OK -340: + exit 0 -342: + 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 -336/347 Test #340: aarch64-z-now ............................................ Passed 0.13 sec 346: ++ '[' Linux = FreeBSD ']' 346: ++ trap 'on_error $LINENO' ERR 346: ++ trap on_exit EXIT 346: ++ echo -n 'Testing z-stack-size ... ' 346: Testing z-stack-size ... ++ set -o pipefail 346: ++ set -x -336: + cc -o out/test/aarch64/z-dynamic-undefined-weak/e.o -c -xc - -336: + cat +342: Hello world +342: + 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 +337: + out/test/aarch64/z-max-page-size/exe3 346: + cat -341: + readelf --dynamic out/test/aarch64/z-origin/exe -337: + grep 'Hello world' +346: + cc -o out/test/aarch64/z-stack-size/a.o -c -xc - 341: + grep -E '\(FLAGS\)\s+ORIGIN' +341: + readelf --dynamic out/test/aarch64/z-origin/exe +337: Hello world +337: + readelf -W --segments out/test/aarch64/z-max-page-size/exe3 +337: + grep 'LOAD.*R 0x100000$' +337: LOAD 0x000000 0x0000000000000000 0x0000000000000000 0x0005d0 0x0005d0 R 0x100000 +337: + on_exit +337: + echo OK +337: OK +337: + exit 0 +334: mold: error: undefined symbol: foo +334: + grep 'undefined symbol:.* foo$' +334: + 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 +335/347 Test #337: aarch64-z-max-page-size .................................. Passed 0.39 sec +test 347 + Start 347: aarch64-z-start-stop-visibility + +347: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/z-start-stop-visibility.sh" +347: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-aarch64-linux-gnu +347: Environment variables: +347: MACHINE=aarch64 +347: CPU= +347: Test timeout computed to be: 1500 341: 0x000000000000001e (FLAGS) ORIGIN -346: + cc -o out/test/aarch64/z-stack-size/a.o -c -xc - +341: + grep -E 'Flags:.*ORIGIN' +341: + readelf --dynamic out/test/aarch64/z-origin/exe +343: + cc -B. -o out/test/aarch64/z-rodynamic/exe1 out/test/aarch64/z-rodynamic/a.o 347: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-start-stop-visibility.sh 347: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 347: ++ export LC_ALL=C @@ -25414,29 +25460,23 @@ 347: ++ STRIP=strip 347: ++ QEMU= 347: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/z-start-stop-visibility.sh .sh +341: 0x000000006ffffffb (FLAGS_1) Flags: ORIGIN PIE +341: + on_exit +341: + echo OK +341: OK +341: + exit 0 347: ++ testname=z-start-stop-visibility 347: ++ t=out/test/aarch64/z-start-stop-visibility 347: ++ mkdir -p out/test/aarch64/z-start-stop-visibility -341: + readelf --dynamic out/test/aarch64/z-origin/exe -341: + grep -E 'Flags:.*ORIGIN' -337: + out/test/aarch64/z-max-page-size/exe2 -337: Hello world -337: + readelf -W --segments out/test/aarch64/z-max-page-size/exe2 -337: + grep 'LOAD.*R 0x100000$' -344: + cc -o out/test/aarch64/z-sectionheader/a.o -c -xc - -337: LOAD 0x000000 0x0000000000000000 0x0000000000000000 0x000598 0x000598 R 0x100000 -337: + 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: + cc -c -o out/test/aarch64/wrap-lto/b.o -xc - -flto +331: + cat +336/347 Test #341: aarch64-z-origin ......................................... Passed 0.25 sec 347: ++ case $MACHINE in 347: ++ tlsdesc_opt=-mtls-dialect=desc -345: + cc -B. -o out/test/aarch64/z-separate-code/exe1 out/test/aarch64/z-separate-code/a.o -Wl,-z,separate-loadable-segments -341: 0x000000006ffffffb (FLAGS_1) Flags: ORIGIN PIE +344: + out/test/aarch64/z-sectionheader/exe +344: + grep 'Hello world' +344: Hello world 347: +++ uname -339: + readelf --dynamic out/test/aarch64/z-nodump/b.so -339: + grep -E 'Flags:.*NODUMP' -341: + on_exit -341: + echo OK -341: OK -341: + exit 0 347: ++ '[' Linux = FreeBSD ']' 347: ++ trap 'on_error $LINENO' ERR 347: ++ trap on_exit EXIT @@ -25444,160 +25484,156 @@ 347: Testing z-start-stop-visibility ... ++ set -o pipefail 347: ++ set -x 347: + cc -o out/test/aarch64/z-start-stop-visibility/a.o -c -xc - -337/347 Test #341: aarch64-z-origin ......................................... Passed 0.15 sec -343: + readelf -WS out/test/aarch64/z-rodynamic/exe1 +332: + out/test/aarch64/wrap/exe +332: + grep '^foo$' +332: foo +332: + on_exit +332: + echo OK +332: OK +332: + exit 0 +344: + grep -E 'Size of section headers:\s+0 ' +337/347 Test #332: aarch64-wrap ............................................. Passed 0.62 sec 347: + cat +346: + cc -B. -o out/test/aarch64/z-stack-size/exe out/test/aarch64/z-stack-size/a.o -Wl,-z,stack-size=0x900000 +344: + readelf -h out/test/aarch64/z-sectionheader/exe +344: Size of section headers: 0 (bytes) +344: + on_exit +344: + echo OK +344: OK +344: + exit 0 +339: + grep -E 'Flags:.*NODUMP' +339: + readelf --dynamic out/test/aarch64/z-nodump/b.so +338/347 Test #344: aarch64-z-sectionheader .................................. Passed 0.16 sec 339: 0x000000006ffffffb (FLAGS_1) Flags: NODUMP 339: + on_exit 339: + echo OK 339: OK 339: + exit 0 -338/347 Test #339: aarch64-z-nodump ......................................... Passed 0.18 sec -342: + readelf -WS out/test/aarch64/z-pack-relative-relocs/exe1 -342: + grep -F .relr.dyn -342: [10] .relr.dyn RELR 0000000000000590 000590 000018 08 A 0 0 8 -342: + grep Hello -342: + out/test/aarch64/z-pack-relative-relocs/exe1 -336: + 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 -342: Hello world -342: + 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 -343: + grep '\.dynamic.* WA ' -344: + cc -B. -o out/test/aarch64/z-sectionheader/exe out/test/aarch64/z-sectionheader/a.o -Wl,-z,nosectionheader -343: [19] .dynamic DYNAMIC 00000000000207b0 0007b0 0001e0 10 WA 6 0 8 -343: + cc -B. -o out/test/aarch64/z-rodynamic/exe2 out/test/aarch64/z-rodynamic/a.o -Wl,-z,rodynamic -346: + cc -B. -o out/test/aarch64/z-stack-size/exe out/test/aarch64/z-stack-size/a.o -Wl,-z,stack-size=0x900000 -347: + cc -B. -o out/test/aarch64/z-start-stop-visibility/exe1 out/test/aarch64/z-start-stop-visibility/a.o -345: + grep 'Hello world' -345: + out/test/aarch64/z-separate-code/exe1 -337: + out/test/aarch64/z-max-page-size/exe3 -337: + grep 'Hello world' -345: Hello world -337: Hello world -345: + 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 -337: + readelf -W --segments out/test/aarch64/z-max-page-size/exe3 -337: + grep 'LOAD.*R 0x100000$' -337: LOAD 0x000000 0x0000000000000000 0x0000000000000000 0x0005d0 0x0005d0 R 0x100000 -337: + on_exit -337: + echo OK -337: OK -337: + exit 0 -339/347 Test #337: aarch64-z-max-page-size .................................. Passed 0.26 sec -344: + out/test/aarch64/z-sectionheader/exe -336: + grep 1 +339/347 Test #339: aarch64-z-nodump ......................................... Passed 0.34 sec 336: + out/test/aarch64/z-dynamic-undefined-weak/exe1 +331: + cat +331: + cc -c -o out/test/aarch64/wrap-lto/c.o -xc - -flto +334: mold: warning: undefined symbol: foo +334: + on_exit +334: + echo OK +334: OK +334: + exit 0 +336: + grep 1 336: 1 336: + 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 -342: + out/test/aarch64/z-pack-relative-relocs/exe2 +340/347 Test #334: aarch64-z-defs ........................................... Passed 0.60 sec +345: + cc -B. -o out/test/aarch64/z-separate-code/exe1 out/test/aarch64/z-separate-code/a.o -Wl,-z,separate-loadable-segments +347: + cc -B. -o out/test/aarch64/z-start-stop-visibility/exe1 out/test/aarch64/z-start-stop-visibility/a.o +343: + readelf -WS out/test/aarch64/z-rodynamic/exe1 +343: + grep '\.dynamic.* WA ' +343: [19] .dynamic DYNAMIC 00000000000207b0 0007b0 0001e0 10 WA 6 0 8 +343: + cc -B. -o out/test/aarch64/z-rodynamic/exe2 out/test/aarch64/z-rodynamic/a.o -Wl,-z,rodynamic 342: + grep Hello +342: + out/test/aarch64/z-pack-relative-relocs/exe2 +331: + cc -B. -o out/test/aarch64/wrap-lto/exe out/test/aarch64/wrap-lto/a.so out/test/aarch64/wrap-lto/b.o -flto 342: Hello world 342: + readelf --dynamic out/test/aarch64/z-pack-relative-relocs/exe2 -344: + grep 'Hello world' -344: Hello world -344: + grep -E 'Size of section headers:\s+0 ' 342: + grep -Ew 'RELR|: 24' out/test/aarch64/z-pack-relative-relocs/log2 -344: + readelf -h out/test/aarch64/z-sectionheader/exe -347: + readelf -W --dyn-syms out/test/aarch64/z-start-stop-visibility/exe1 342: 0x0000000000000024 (RELR) 0x5a0 -344: Size of section headers: 0 (bytes) -344: + on_exit -344: + echo OK -344: OK -344: + exit 0 342: + grep -Ew 'RELRSZ|: 23' out/test/aarch64/z-pack-relative-relocs/log2 -340/347 Test #344: aarch64-z-sectionheader .................................. Passed 0.14 sec 342: 0x0000000000000023 (RELRSZ) 24 (bytes) -347: + not grep __start_hello out/test/aarch64/z-start-stop-visibility/log1 -347: + grep __start_hello out/test/aarch64/z-start-stop-visibility/log1 342: + grep -Ew 'RELRENT|: 25' out/test/aarch64/z-pack-relative-relocs/log2 -343: + readelf -WS out/test/aarch64/z-rodynamic/exe2 -343: + grep '\.dynamic.* A ' 342: 0x0000000000000025 (RELRENT) 8 (bytes) 342: + on_exit 342: + echo OK 342: OK 342: + exit 0 -347: + return 0 -347: + not grep __stop_hello out/test/aarch64/z-start-stop-visibility/log1 -347: + grep __stop_hello out/test/aarch64/z-start-stop-visibility/log1 -341/347 Test #342: aarch64-z-pack-relative-relocs ........................... Passed 0.20 sec -343: [11] .dynamic DYNAMIC 0000000000000498 000498 0001d0 10 A 6 0 8 -343: + on_exit -343: + echo OK -343: OK -343: + exit 0 -347: + return 0 -347: + 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 -342/347 Test #343: aarch64-z-rodynamic ...................................... Passed 0.18 sec 346: + readelf -W --segments out/test/aarch64/z-stack-size/exe 346: + grep 'GNU_STACK .* 0x900000 RW' +341/347 Test #342: aarch64-z-pack-relative-relocs ........................... Passed 0.35 sec 346: GNU_STACK 0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x900000 RW 0x1 346: + on_exit 346: + echo OK 346: OK 346: + exit 0 -343/347 Test #346: aarch64-z-stack-size ..................................... Passed 0.14 sec +342/347 Test #346: aarch64-z-stack-size ..................................... Passed 0.19 sec +345: + out/test/aarch64/z-separate-code/exe1 345: + grep 'Hello world' -345: + out/test/aarch64/z-separate-code/exe2 345: Hello world -345: + 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 -336: + out/test/aarch64/z-dynamic-undefined-weak/exe2 +345: + 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 +347: + readelf -W --dyn-syms out/test/aarch64/z-start-stop-visibility/exe1 336: + grep 1 +347: + not grep __start_hello out/test/aarch64/z-start-stop-visibility/log1 +347: + grep __start_hello out/test/aarch64/z-start-stop-visibility/log1 +336: + out/test/aarch64/z-dynamic-undefined-weak/exe2 336: 1 336: + 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 -347: + readelf -W --dyn-syms out/test/aarch64/z-start-stop-visibility/exe2 -347: + not grep __start_hello out/test/aarch64/z-start-stop-visibility/log2 -347: + grep __start_hello out/test/aarch64/z-start-stop-visibility/log2 347: + return 0 -347: + not grep __stop_hello out/test/aarch64/z-start-stop-visibility/log2 -347: + grep __stop_hello out/test/aarch64/z-start-stop-visibility/log2 +347: + not grep __stop_hello out/test/aarch64/z-start-stop-visibility/log1 +347: + grep __stop_hello out/test/aarch64/z-start-stop-visibility/log1 +343: + readelf -WS out/test/aarch64/z-rodynamic/exe2 +343: + grep '\.dynamic.* A ' 347: + return 0 -347: + 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 +347: + 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 +345: + grep 'Hello world' +345: + out/test/aarch64/z-separate-code/exe2 +345: Hello world +345: + 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 +343: [11] .dynamic DYNAMIC 0000000000000498 000498 0001d0 10 A 6 0 8 +343: + on_exit +343: + echo OK +343: OK +343: + exit 0 +343/347 Test #343: aarch64-z-rodynamic ...................................... Passed 0.36 sec 345: + out/test/aarch64/z-separate-code/exe3 345: + grep 'Hello world' 345: Hello world +347: + readelf -W --dyn-syms out/test/aarch64/z-start-stop-visibility/exe2 345: + on_exit 345: + echo OK 345: OK 345: + exit 0 -344/347 Test #345: aarch64-z-separate-code .................................. Passed 0.19 sec -331: + grep '^foo$' -331: + out/test/aarch64/wrap-lto/exe -331: foo -331: + 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 +344/347 Test #345: aarch64-z-separate-code .................................. Passed 0.37 sec 336: + out/test/aarch64/z-dynamic-undefined-weak/exe3 +347: + not grep __start_hello out/test/aarch64/z-start-stop-visibility/log2 +347: + grep __start_hello out/test/aarch64/z-start-stop-visibility/log2 336: + grep 0 336: 0 336: + on_exit 336: + echo OK 336: OK 336: + exit 0 -345/347 Test #336: aarch64-z-dynamic-undefined-weak ......................... Passed 0.39 sec +345/347 Test #336: aarch64-z-dynamic-undefined-weak ......................... Passed 0.72 sec +347: + return 0 +347: + not grep __stop_hello out/test/aarch64/z-start-stop-visibility/log2 +347: + grep __stop_hello out/test/aarch64/z-start-stop-visibility/log2 +347: + return 0 +347: + 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 347: + readelf -W --dyn-syms out/test/aarch64/z-start-stop-visibility/exe3 347: + grep __start_hello out/test/aarch64/z-start-stop-visibility/log3 +331: + out/test/aarch64/wrap-lto/exe +331: + grep '^foo$' 347: 7: 0000000000030b78 0 NOTYPE GLOBAL DEFAULT 27 __start_hello 347: + grep __stop_hello out/test/aarch64/z-start-stop-visibility/log3 +331: foo +331: + 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 347: 10: 0000000000030b84 0 NOTYPE GLOBAL DEFAULT 27 __stop_hello 347: + on_exit 347: + echo OK 347: OK 347: + exit 0 -346/347 Test #347: aarch64-z-start-stop-visibility .......................... Passed 0.18 sec -331: + out/test/aarch64/wrap-lto/exe +346/347 Test #347: aarch64-z-start-stop-visibility .......................... Passed 0.42 sec 331: + grep '^wrap_foo$' +331: + out/test/aarch64/wrap-lto/exe 331: wrap_foo 331: + 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 -331: + out/test/aarch64/wrap-lto/exe 331: + grep '^foo$' +331: + out/test/aarch64/wrap-lto/exe 331: foo 331: + on_exit 331: + echo OK 331: OK 331: + exit 0 -347/347 Test #331: aarch64-wrap-lto ......................................... Passed 0.88 sec +347/347 Test #331: aarch64-wrap-lto ......................................... Passed 1.57 sec 100% tests passed, 0 tests failed out of 347 -Total Test time (real) = 9.17 sec +Total Test time (real) = 17.97 sec The following tests did not run: 3 - aarch64-abs-error (Skipped) @@ -25665,12 +25701,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/1147558/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1147558/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/755544 and its subdirectories -I: Current time: Mon Sep 7 09:51:26 -12 2026 -I: pbuilder-time-stamp: 1788817886 +I: removing directory /srv/workspace/pbuilder/1147558 and its subdirectories +I: Current time: Wed Aug 6 06:00:40 +14 2025 +I: pbuilder-time-stamp: 1754409640