Diff of the two buildlogs: -- --- b1/build.log 2025-03-29 07:29:35.723987267 +0000 +++ b2/build.log 2025-03-29 07:38:05.148899705 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri May 1 01:45:43 -12 2026 -I: pbuilder-time-stamp: 1777643143 +I: Current time: Sat Mar 29 21:29:41 +14 2025 +I: pbuilder-time-stamp: 1743233381 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -24,51 +24,83 @@ 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/3819692/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2978488/tmp/hooks/D01_modify_environment starting +debug: Running on infom01-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Mar 29 07: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/2978488/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2978488/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="x86_64-pc-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=amd64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='9db908ebbfa149de813e43c34383dc5c' - 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='3819692' - PS1='# ' - PS2='> ' + INVOCATION_ID=1900f28bdf704f43aeaec141f7227c2f + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=2978488 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.uJWMKL1U/pbuilderrc_1k9a --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.uJWMKL1U/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/bin/systemd-run' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.uJWMKL1U/pbuilderrc_3IOO --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.uJWMKL1U/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' I: uname -a - Linux infom02-amd64 6.12.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.12-1~bpo12+1 (2025-02-23) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-32-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Mar 4 2025 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3819692/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2978488/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -214,7 +246,7 @@ Get: 92 http://deb.debian.org/debian trixie/main amd64 pkgconf-bin amd64 1.8.1-4 [30.2 kB] Get: 93 http://deb.debian.org/debian trixie/main amd64 pkgconf amd64 1.8.1-4 [26.2 kB] Get: 94 http://deb.debian.org/debian trixie/main amd64 zlib1g-dev amd64 1:1.3.dfsg+really1.3.1-1+b1 [920 kB] -Fetched 58.5 MB in 1s (86.9 MB/s) +Fetched 58.5 MB in 1s (95.7 MB/s) Preconfiguring packages ... Selecting previously unselected package libtext-charwidth-perl:amd64. (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 ... 19806 files and directories currently installed.) @@ -532,8 +564,8 @@ Setting up tzdata (2025b-1) ... Current default time zone: 'Etc/UTC' -Local time is now: Fri May 1 13:46:34 UTC 2026. -Universal Time is now: Fri May 1 13:46:34 UTC 2026. +Local time is now: Sat Mar 29 07:30:40 UTC 2025. +Universal Time is now: Sat Mar 29 07:30:40 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libpython3.13-minimal:amd64 (3.13.2-2) ... @@ -617,7 +649,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/2978488/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/2978488/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 @@ -764,8 +800,8 @@ -- Looking for madvise - found -- Looking for uname -- Looking for uname - found --- Configuring done (5.8s) --- Generating done (0.2s) +-- Configuring done (4.0s) +-- Generating done (0.1s) CMake Warning: Manually-specified variables were not used by the project: @@ -788,71 +824,71 @@ make -f CMakeFiles/git_hash.dir/build.make CMakeFiles/git_hash.dir/depend make -f third-party/blake3/c/CMakeFiles/blake3.dir/build.make third-party/blake3/c/CMakeFiles/blake3.dir/depend make -f third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/build.make third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/depend -make[3]: Entering directory '/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu' -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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-x86_64-linux-gnu /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb/CMakeFiles/tbb.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-x86_64-linux-gnu' +make[3]: Entering directory '/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu' +cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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-x86_64-linux-gnu /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb/CMakeFiles/tbb.dir/DependInfo.cmake "--color=" cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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-x86_64-linux-gnu /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/git_hash.dir/DependInfo.cmake "--color=" make[3]: Entering directory '/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu' cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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-x86_64-linux-gnu /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c/CMakeFiles/blake3.dir/DependInfo.cmake "--color=" make[3]: Entering directory '/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu' cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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-x86_64-linux-gnu /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/CMakeFiles/mold-wrapper.dir/DependInfo.cmake "--color=" make[3]: Entering directory '/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu' -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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-x86_64-linux-gnu /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/DependInfo.cmake "--color=" -make[3]: Entering directory '/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu' cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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-x86_64-linux-gnu /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc/CMakeFiles/mimalloc-static.dir/DependInfo.cmake "--color=" -make[3]: Leaving directory '/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu' -make[3]: Leaving directory '/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu' -make -f third-party/tbb/src/tbb/CMakeFiles/tbb.dir/build.make third-party/tbb/src/tbb/CMakeFiles/tbb.dir/build +make[3]: Entering directory '/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu' +cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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-x86_64-linux-gnu /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/DependInfo.cmake "--color=" Dependee "/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c/CMakeFiles/blake3.dir/DependInfo.cmake" is newer than depender "/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c/CMakeFiles/blake3.dir/depend.internal". Dependee "/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c/CMakeFiles/blake3.dir/depend.internal". -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-x86_64-linux-gnu' +make[3]: Leaving directory '/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu' +make[3]: Leaving directory '/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu' +make -f CMakeFiles/git_hash.dir/build.make CMakeFiles/git_hash.dir/build +make -f third-party/mimalloc/CMakeFiles/mimalloc-static.dir/build.make third-party/mimalloc/CMakeFiles/mimalloc-static.dir/build Dependee "/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/DependInfo.cmake" is newer than depender "/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/depend.internal". Dependee "/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/depend.internal". -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-x86_64-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-x86_64-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-x86_64-linux-gnu/git-hash.cc -P /build/reproducible-path/mold-2.37.1+dfsg/lib/update-git-hash.cmake -Scanning dependencies of target libzstd_static -make[3]: Entering directory '/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu' -Scanning dependencies of target blake3 make[3]: Leaving directory '/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu' -make[3]: Leaving directory '/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu' -make -f third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/build.make third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/build -make -f CMakeFiles/mold-wrapper.dir/build.make CMakeFiles/mold-wrapper.dir/build +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-x86_64-linux-gnu' make[3]: Entering directory '/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu' +make[3]: Entering directory '/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu' +Scanning dependencies of target blake3 +Scanning dependencies of target libzstd_static +make[3]: Leaving directory '/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu' 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-x86_64-linux-gnu' -[ 0%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc.c.o -[ 1%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/address_waiter.cpp.o -[ 1%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/arena.c.o -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc.c.o -MF CMakeFiles/mimalloc-static.dir/src/alloc.c.o.d -o CMakeFiles/mimalloc-static.dir/src/alloc.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/src/alloc.c -[ 1%] 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-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/arena.c.o -MF CMakeFiles/mimalloc-static.dir/src/arena.c.o.d -o CMakeFiles/mimalloc-static.dir/src/arena.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/src/arena.c +make -f third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/build.make third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/build +make[3]: Entering directory '/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu' +[ 1%] Building C object CMakeFiles/mold-wrapper.dir/src/mold-wrapper.c.o +[ 1%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/allocator.cpp.o +[ 1%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/heap.c.o +[ 1%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc.c.o +[ 1%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc-aligned.c.o make[3]: Leaving directory '/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu' [ 1%] 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-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 -[ 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-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 +[ 1%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/bitmap.c.o +cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/heap.c.o -MF CMakeFiles/mimalloc-static.dir/src/heap.c.o.d -o CMakeFiles/mimalloc-static.dir/src/heap.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/src/heap.c cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/arena.cpp.o -[ 2%] 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-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc-posix.c.o -MF CMakeFiles/mimalloc-static.dir/src/alloc-posix.c.o.d -o CMakeFiles/mimalloc-static.dir/src/alloc-posix.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/src/alloc-posix.c -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 -[ 2%] Building C object CMakeFiles/mold-wrapper.dir/src/mold-wrapper.c.o -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc-aligned.c.o -MF CMakeFiles/mimalloc-static.dir/src/alloc-aligned.c.o.d -o CMakeFiles/mimalloc-static.dir/src/alloc-aligned.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/src/alloc-aligned.c /usr/bin/cc -Dmold_wrapper_EXPORTS -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -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 +[ 2%] 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-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc.c.o -MF CMakeFiles/mimalloc-static.dir/src/alloc.c.o.d -o CMakeFiles/mimalloc-static.dir/src/alloc.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/src/alloc.c +cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc-aligned.c.o -MF CMakeFiles/mimalloc-static.dir/src/alloc-aligned.c.o.d -o CMakeFiles/mimalloc-static.dir/src/alloc-aligned.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/src/alloc-aligned.c +[ 2%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/arena.c.o +cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc-posix.c.o -MF CMakeFiles/mimalloc-static.dir/src/alloc-posix.c.o.d -o CMakeFiles/mimalloc-static.dir/src/alloc-posix.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/src/alloc-posix.c +cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/bitmap.c.o -MF CMakeFiles/mimalloc-static.dir/src/bitmap.c.o.d -o CMakeFiles/mimalloc-static.dir/src/bitmap.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/src/bitmap.c +cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/arena.c.o -MF CMakeFiles/mimalloc-static.dir/src/arena.c.o.d -o CMakeFiles/mimalloc-static.dir/src/arena.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/src/arena.c [ 2%] Building C object third-party/blake3/c/CMakeFiles/blake3.dir/blake3.c.o -[ 2%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/debug.c.o cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cc -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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c17 -fvisibility=hidden -MD -MT third-party/blake3/c/CMakeFiles/blake3.dir/blake3.c.o -MF CMakeFiles/blake3.dir/blake3.c.o.d -o CMakeFiles/blake3.dir/blake3.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c/blake3.c +[ 2%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/debug.c.o cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/debug.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/common/debug.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/common/debug.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/common/debug.c [ 2%] Built target git_hash -[ 2%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/bitmap.c.o -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/bitmap.c.o -MF CMakeFiles/mimalloc-static.dir/src/bitmap.c.o.d -o CMakeFiles/mimalloc-static.dir/src/bitmap.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/src/bitmap.c +[ 2%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/arena.cpp.o +cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 [ 2%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/entropy_common.c.o cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/entropy_common.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/common/entropy_common.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/common/entropy_common.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/common/entropy_common.c /build/reproducible-path/mold-2.37.1+dfsg/src/mold-wrapper.c: In function 'execvpe': @@ -871,21 +907,6 @@ /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 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-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 -[ 2%] 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 -fcf-protection -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-x86_64-linux-gnu' -[ 2%] Built target mold-wrapper -[ 2%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/heap.c.o -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/heap.c.o -MF CMakeFiles/mimalloc-static.dir/src/heap.c.o.d -o CMakeFiles/mimalloc-static.dir/src/heap.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/src/heap.c -[ 2%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/dynamic_link.cpp.o -[ 2%] 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-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/error_private.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/common/error_private.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/common/error_private.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/common/error_private.c -[ 2%] Building C object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_dispatch.c.o -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cc -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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c17 -fvisibility=hidden -MD -MT third-party/blake3/c/CMakeFiles/blake3.dir/blake3_dispatch.c.o -MF CMakeFiles/blake3.dir/blake3_dispatch.c.o.d -o CMakeFiles/blake3.dir/blake3_dispatch.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c/blake3_dispatch.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] 694 | mi_heap_area_visit_fun* fun = (mi_heap_area_visit_fun*)vfun; @@ -894,38 +915,21 @@ /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* :-{ | ^ -[ 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-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/fse_decompress.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/common/fse_decompress.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/common/fse_decompress.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/common/fse_decompress.c -[ 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-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cc -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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c17 -fvisibility=hidden -MD -MT third-party/blake3/c/CMakeFiles/blake3.dir/blake3_portable.c.o -MF CMakeFiles/blake3.dir/blake3_portable.c.o.d -o CMakeFiles/blake3.dir/blake3_portable.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c/blake3_portable.c [ 2%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/init.c.o cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/init.c.o -MF CMakeFiles/mimalloc-static.dir/src/init.c.o.d -o CMakeFiles/mimalloc-static.dir/src/init.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/src/init.c -[ 2%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/exception.cpp.o -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 -[ 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-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/pool.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/common/pool.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/common/pool.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/common/pool.c -[ 2%] Building ASM object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_avx2_x86-64_unix.S.o -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cc -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -o CMakeFiles/blake3.dir/blake3_avx2_x86-64_unix.S.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c/blake3_avx2_x86-64_unix.S +[ 2%] 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 -fcf-protection -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-x86_64-linux-gnu' +[ 2%] Built target mold-wrapper [ 2%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/libc.c.o cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/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 -[ 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-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/threading.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/common/threading.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/common/threading.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/common/threading.c -[ 3%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/xxhash.c.o -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/xxhash.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/common/xxhash.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/common/xxhash.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/common/xxhash.c -[ 3%] 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-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/zstd_common.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/common/zstd_common.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/common/zstd_common.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/common/zstd_common.c -[ 4%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/governor.cpp.o -[ 4%] Building ASM object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_avx512_x86-64_unix.S.o -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cc -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -o CMakeFiles/blake3.dir/blake3_avx512_x86-64_unix.S.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c/blake3_avx512_x86-64_unix.S -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 -[ 4%] Building ASM object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_sse2_x86-64_unix.S.o -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cc -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -o CMakeFiles/blake3.dir/blake3_sse2_x86-64_unix.S.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c/blake3_sse2_x86-64_unix.S -[ 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-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 -[ 5%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/options.c.o +[ 3%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/options.c.o cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/options.c.o -MF CMakeFiles/mimalloc-static.dir/src/options.c.o.d -o CMakeFiles/mimalloc-static.dir/src/options.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/src/options.c -[ 7%] Building ASM object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_sse41_x86-64_unix.S.o -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cc -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -o CMakeFiles/blake3.dir/blake3_sse41_x86-64_unix.S.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c/blake3_sse41_x86-64_unix.S +[ 3%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/os.c.o +cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/os.c.o -MF CMakeFiles/mimalloc-static.dir/src/os.c.o.d -o CMakeFiles/mimalloc-static.dir/src/os.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/src/os.c +[ 3%] 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-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/error_private.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/common/error_private.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/common/error_private.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/common/error_private.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] 403 | if (out==NULL || (void*)out==(void*)stdout || (void*)out==(void*)stderr) { // TODO: use mi_out_stderr for stderr? @@ -933,41 +937,40 @@ /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%] Linking C static library libblake3.a -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cmake -P CMakeFiles/blake3.dir/cmake_clean_target.cmake -[ 7%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/os.c.o -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/os.c.o -MF CMakeFiles/mimalloc-static.dir/src/os.c.o.d -o CMakeFiles/mimalloc-static.dir/src/os.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/src/os.c -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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_avx2_x86-64_unix.S.o" "CMakeFiles/blake3.dir/blake3_avx512_x86-64_unix.S.o" "CMakeFiles/blake3.dir/blake3_sse2_x86-64_unix.S.o" "CMakeFiles/blake3.dir/blake3_sse41_x86-64_unix.S.o" -/usr/bin/ranlib libblake3.a -make[3]: Leaving directory '/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu' -[ 7%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/fse_compress.c.o -[ 7%] Built target blake3 -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/fse_compress.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/fse_compress.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/fse_compress.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/compress/fse_compress.c -[ 7%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/hist.c.o -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/hist.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/hist.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/hist.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/compress/hist.c -[ 7%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/huf_compress.c.o -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/huf_compress.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/huf_compress.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/huf_compress.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/compress/huf_compress.c -[ 7%] 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-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 -[ 7%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/main.cpp.o -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 -[ 7%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/page.c.o +[ 3%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/page.c.o cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/page.c.o -MF CMakeFiles/mimalloc-static.dir/src/page.c.o.d -o CMakeFiles/mimalloc-static.dir/src/page.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/src/page.c -[ 7%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress.c.o -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/compress/zstd_compress.c -[ 7%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/market.cpp.o -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 -[ 7%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/random.c.o +[ 3%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/fse_decompress.c.o +cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/fse_decompress.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/common/fse_decompress.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/common/fse_decompress.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/common/fse_decompress.c +[ 3%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/random.c.o cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/random.c.o -MF CMakeFiles/mimalloc-static.dir/src/random.c.o.d -o CMakeFiles/mimalloc-static.dir/src/random.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/src/random.c -[ 7%] 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-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 -[ 8%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_literals.c.o -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_literals.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_literals.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_literals.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/compress/zstd_compress_literals.c -[ 9%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/misc.cpp.o -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 -[ 9%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/segment.c.o +[ 3%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/segment.c.o cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/segment.c.o -MF CMakeFiles/mimalloc-static.dir/src/segment.c.o.d -o CMakeFiles/mimalloc-static.dir/src/segment.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/src/segment.c +[ 3%] 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-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/segment-map.c.o -MF CMakeFiles/mimalloc-static.dir/src/segment-map.c.o.d -o CMakeFiles/mimalloc-static.dir/src/segment-map.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/src/segment-map.c +[ 3%] Building C object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_dispatch.c.o +cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cc -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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c17 -fvisibility=hidden -MD -MT third-party/blake3/c/CMakeFiles/blake3.dir/blake3_dispatch.c.o -MF CMakeFiles/blake3.dir/blake3_dispatch.c.o.d -o CMakeFiles/blake3.dir/blake3_dispatch.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c/blake3_dispatch.c +[ 4%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/stats.c.o +cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/stats.c.o -MF CMakeFiles/mimalloc-static.dir/src/stats.c.o.d -o CMakeFiles/mimalloc-static.dir/src/stats.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/src/stats.c +[ 4%] 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-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/prim/prim.c.o -MF CMakeFiles/mimalloc-static.dir/src/prim/prim.c.o.d -o CMakeFiles/mimalloc-static.dir/src/prim/prim.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/src/prim/prim.c +/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/src/stats.c: In function 'mi_stats_print': +/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); + | ^ +[ 4%] Building C object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_portable.c.o +cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cc -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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=c17 -fvisibility=hidden -MD -MT third-party/blake3/c/CMakeFiles/blake3.dir/blake3_portable.c.o -MF CMakeFiles/blake3.dir/blake3_portable.c.o.d -o CMakeFiles/blake3.dir/blake3_portable.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c/blake3_portable.c +[ 4%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/pool.c.o +cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/pool.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/common/pool.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/common/pool.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/common/pool.c +[ 4%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/threading.c.o +cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/threading.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/common/threading.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/common/threading.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/common/threading.c +[ 5%] 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-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/xxhash.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/common/xxhash.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/common/xxhash.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/common/xxhash.c +[ 5%] 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-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/zstd_common.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/common/zstd_common.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/common/zstd_common.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/common/zstd_common.c +[ 5%] Building ASM object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_avx2_x86-64_unix.S.o +cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cc -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -o CMakeFiles/blake3.dir/blake3_avx2_x86-64_unix.S.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c/blake3_avx2_x86-64_unix.S +[ 5%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/fse_compress.c.o +cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/fse_compress.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/fse_compress.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/fse_compress.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/compress/fse_compress.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, @@ -986,6 +989,60 @@ | ^~~~~~~~~~~~~~~~~~~~~~ In function '_mi_page_free': cc1: note: destination object is likely at address zero +[ 5%] Building ASM object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_avx512_x86-64_unix.S.o +cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cc -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -o CMakeFiles/blake3.dir/blake3_avx512_x86-64_unix.S.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c/blake3_avx512_x86-64_unix.S +[ 5%] Building ASM object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_sse2_x86-64_unix.S.o +[ 5%] 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-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/hist.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/hist.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/hist.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/compress/hist.c +cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cc -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -o CMakeFiles/blake3.dir/blake3_sse2_x86-64_unix.S.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c/blake3_sse2_x86-64_unix.S +[ 7%] Building ASM object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_sse41_x86-64_unix.S.o +cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cc -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c -o CMakeFiles/blake3.dir/blake3_sse41_x86-64_unix.S.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/blake3/c/blake3_sse41_x86-64_unix.S +[ 7%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/huf_compress.c.o +cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/huf_compress.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/huf_compress.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/huf_compress.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/compress/huf_compress.c +[ 7%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress.c.o +cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/compress/zstd_compress.c +[ 7%] 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-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 +[ 8%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_literals.c.o +cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_literals.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_literals.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_literals.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/compress/zstd_compress_literals.c +[ 8%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_sequences.c.o +cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_sequences.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_sequences.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_sequences.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/compress/zstd_compress_sequences.c +[ 8%] 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-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 +[ 8%] Linking C static library libblake3.a +cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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-x86_64-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_avx2_x86-64_unix.S.o" "CMakeFiles/blake3.dir/blake3_avx512_x86-64_unix.S.o" "CMakeFiles/blake3.dir/blake3_sse2_x86-64_unix.S.o" "CMakeFiles/blake3.dir/blake3_sse41_x86-64_unix.S.o" +/usr/bin/ranlib libblake3.a +make[3]: Leaving directory '/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu' +[ 8%] Built target blake3 +[ 8%] 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-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_superblock.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_superblock.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_superblock.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/compress/zstd_compress_superblock.c +[ 8%] 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-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_double_fast.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_double_fast.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_double_fast.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/compress/zstd_double_fast.c +[ 8%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_fast.c.o +cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_fast.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_fast.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_fast.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/compress/zstd_fast.c +[ 8%] 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-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_lazy.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_lazy.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_lazy.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/compress/zstd_lazy.c +[ 8%] 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-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_ldm.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_ldm.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_ldm.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/compress/zstd_ldm.c +[ 8%] 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-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 +[ 8%] Linking C static library libmimalloc.a +cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cmake -P CMakeFiles/mimalloc-static.dir/cmake_clean_target.cmake +cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cmake -E cmake_link_script CMakeFiles/mimalloc-static.dir/link.txt --verbose=1 +[ 8%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/exception.cpp.o +cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 +/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-x86_64-linux-gnu' +[ 8%] Built target mimalloc-static +[ 9%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/governor.cpp.o +cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 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-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_opt.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_opt.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_opt.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/compress/zstd_opt.c +[ 10%] 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-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstdmt_compress.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstdmt_compress.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstdmt_compress.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/compress/zstdmt_compress.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, @@ -998,89 +1055,54 @@ | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 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 -[ 10%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/stats.c.o -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/stats.c.o -MF CMakeFiles/mimalloc-static.dir/src/stats.c.o.d -o CMakeFiles/mimalloc-static.dir/src/stats.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/src/stats.c -[ 10%] 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-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/segment-map.c.o -MF CMakeFiles/mimalloc-static.dir/src/segment-map.c.o.d -o CMakeFiles/mimalloc-static.dir/src/segment-map.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/src/segment-map.c -/build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/src/stats.c: In function 'mi_stats_print': -/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); - | ^ -[ 10%] 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-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/prim/prim.c.o -MF CMakeFiles/mimalloc-static.dir/src/prim/prim.c.o.d -o CMakeFiles/mimalloc-static.dir/src/prim/prim.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/mimalloc/src/prim/prim.c -[ 10%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_sequences.c.o -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_sequences.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_sequences.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_sequences.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/compress/zstd_compress_sequences.c -[ 10%] 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-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 -[ 10%] 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-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 -[ 10%] 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-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 -[ 10%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_superblock.c.o -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_superblock.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_superblock.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_superblock.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/compress/zstd_compress_superblock.c -[ 10%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_double_fast.c.o -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_double_fast.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_double_fast.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_double_fast.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/compress/zstd_double_fast.c -[ 10%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_fast.c.o -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_fast.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_fast.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_fast.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/compress/zstd_fast.c -[ 10%] 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-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 -[ 10%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/profiling.cpp.o -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 -[ 10%] Linking C static library libmimalloc.a -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cmake -P CMakeFiles/mimalloc-static.dir/cmake_clean_target.cmake -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cmake -E cmake_link_script CMakeFiles/mimalloc-static.dir/link.txt --verbose=1 -[ 10%] 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-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 -/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-x86_64-linux-gnu' -[ 10%] Built target mimalloc-static -[ 10%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_lazy.c.o -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_lazy.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_lazy.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_lazy.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/compress/zstd_lazy.c -[ 10%] 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-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_ldm.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_ldm.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_ldm.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/compress/zstd_ldm.c -[ 11%] 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-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_opt.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_opt.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_opt.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/compress/zstd_opt.c -[ 12%] 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-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 -[ 12%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstdmt_compress.c.o -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstdmt_compress.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstdmt_compress.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstdmt_compress.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/compress/zstdmt_compress.c -[ 12%] 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-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 -[ 12%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/huf_decompress.c.o +[ 10%] 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-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 +[ 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-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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%] 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-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/huf_decompress.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/huf_decompress.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/huf_decompress.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/decompress/huf_decompress.c -[ 12%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_ddict.c.o +[ 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-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/tcm_adaptor.cpp.o +cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 +[ 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-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_ddict.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_ddict.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_ddict.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/decompress/zstd_ddict.c -[ 12%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress.c.o +[ 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-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/decompress/zstd_decompress.c -[ 12%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/semaphore.cpp.o -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 -[ 12%] 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-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 -[ 12%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress_block.c.o +[ 11%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/misc.cpp.o +cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 +[ 11%] 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-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress_block.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress_block.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress_block.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/decompress/zstd_decompress_block.c -[ 12%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/task.cpp.o -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 ASM object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/huf_decompress_amd64.S.o +[ 12%] Building ASM object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/huf_decompress_amd64.S.o cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/build/cmake/lib -fPIC -o CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/huf_decompress_amd64.S.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/decompress/huf_decompress_amd64.S -[ 14%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/cover.c.o +[ 12%] 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-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/cover.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/cover.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/cover.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/dictBuilder/cover.c -[ 14%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/divsufsort.c.o +[ 12%] 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-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 +[ 12%] 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-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 +[ 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-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 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-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/divsufsort.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/divsufsort.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/divsufsort.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/dictBuilder/divsufsort.c -[ 14%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/fastcover.c.o +[ 12%] 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-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/fastcover.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/fastcover.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/fastcover.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/dictBuilder/fastcover.c -[ 14%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/zdict.c.o +[ 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-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 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-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/zdict.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/zdict.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/zdict.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/dictBuilder/zdict.c -[ 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-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 -[ 15%] 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-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v01.c.o +[ 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-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 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-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v01.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v01.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v01.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/legacy/zstd_v01.c -[ 15%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v02.c.o +[ 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-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 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-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v02.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v02.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v02.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/legacy/zstd_v02.c -[ 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-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 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] @@ -1126,8 +1148,10 @@ /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/legacy/zstd_v01.c:1829:9: note: 'nbSeq' was declared here 1829 | int nbSeq; | ^~~~~ -[ 16%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v03.c.o +[ 15%] 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-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v03.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v03.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v03.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/legacy/zstd_v03.c +[ 15%] 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-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/legacy/zstd_v01.c: In function 'ZSTDv01_decompressDCtx': /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/legacy/zstd_v01.c:1936:9: warning: '*(unsigned int *)((char *)&blockProperties + offsetof(blockProperties_t, blockType))' may be used uninitialized [-Wmaybe-uninitialized] 1936 | switch(blockProperties.blockType) @@ -1135,18 +1159,30 @@ /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; | ^~~~~~~~~~~~~~~ -[ 16%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v04.c.o -[ 16%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v05.c.o +[ 15%] 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-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v04.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v04.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v04.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/legacy/zstd_v04.c +[ 15%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/semaphore.cpp.o +cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 +[ 15%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v05.c.o +[ 15%] 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-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v05.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v05.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v05.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/legacy/zstd_v05.c +[ 15%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/task.cpp.o +cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 +[ 15%] 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-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 +[ 15%] 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-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v06.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v06.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v06.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/legacy/zstd_v06.c +[ 16%] 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-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 +[ 16%] 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-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 [ 16%] 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-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 -[ 16%] 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-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v06.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v06.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v06.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/legacy/zstd_v06.c [ 16%] 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-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v07.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v07.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v07.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/legacy/zstd_v07.c [ 16%] 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-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 -cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-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 -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v07.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v07.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v07.c.o -c /build/reproducible-path/mold-2.37.1+dfsg/third-party/zstd/lib/legacy/zstd_v07.c [ 16%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/version.cpp.o cd /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -D__TBB_GNU_ASM_VERSION=2044 -mrtm -mwaitpkg -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 [ 16%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/queuing_rw_mutex.cpp.o @@ -1171,157 +1207,157 @@ make[3]: Leaving directory '/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu' make -f CMakeFiles/mold.dir/build.make CMakeFiles/mold.dir/build make[3]: Entering directory '/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu' -[ 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.I386.cc.o +[ 16%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.cc.RV32BE.cc.o [ 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.RV64BE.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-arm64.cc.I386.cc +[ 16%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.cc.X86_64.cc.o +[ 16%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.cc.RV64LE.cc.o +[ 16%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-arm64.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-arm64.cc.ARM64LE.cc -[ 17%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.cc.RV32BE.cc.o -[ 17%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.cc.ARM32.cc.o -[ 17%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.cc.PPC64V2.cc.o +[ 17%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.cc.I386.cc.o [ 17%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.cc.PPC32.cc.o -[ 17%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.cc.X86_64.cc.o -[ 17%] 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-x86_64-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 -fcf-protection -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-x86_64-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-x86_64-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 -fcf-protection -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-x86_64-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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-arm64.cc.RV32LE.cc -[ 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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-arm64.cc.RV32BE.cc -[ 18%] 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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-arm64.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-arm64.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-arm64.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-x86_64-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 -fcf-protection -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-x86_64-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-x86_64-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 -fcf-protection -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-x86_64-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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-arm64.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-arm64.cc.PPC32.cc +[ 17%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.cc.ARM32.cc.o +[ 18%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.cc.PPC64V1.cc.o +[ 18%] 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-x86_64-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 -fcf-protection -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-x86_64-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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-arm64.cc.PPC64V1.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-arm64.cc.PPC64V2.cc [ 18%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-arm64.cc.S390X.cc [ 18%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.cc.M68K.cc.o [ 18%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.cc.SPARC64.cc.o -[ 18%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.cc.SH4BE.cc.o -[ 18%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.cc.LOONGARCH64.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.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-arm64.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-arm64.cc.SPARC64.cc -[ 20%] 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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-arm64.cc.SH4BE.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.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-arm64.cc.M68K.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-arm64.cc.LOONGARCH64.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-arm64.cc.SH4LE.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-arm64.cc.M68K.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-loongarch.cc.X86_64.cc +[ 20%] Building CXX object CMakeFiles/mold.dir/src/arch-arm64.cc.SH4BE.cc.o +[ 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.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-arm64.cc.LOONGARCH32.cc [ 20%] 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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-arm64.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-loongarch.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-x86_64-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 -fcf-protection -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-x86_64-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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-loongarch.cc.ARM64LE.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-loongarch.cc.I386.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-loongarch.cc.ARM64BE.cc -[ 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.RV32BE.cc.o +[ 21%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.RV32BE.cc.o +[ 21%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.ARM64BE.cc.o [ 21%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.ARM32.cc.o +[ 21%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.RV32LE.cc.o +[ 21%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.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-x86_64-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 -fcf-protection -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-x86_64-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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-loongarch.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-x86_64-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 -fcf-protection -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-x86_64-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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-loongarch.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-loongarch.cc.RV64LE.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-loongarch.cc.RV32BE.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-loongarch.cc.ARM32.cc +[ 21%] 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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-loongarch.cc.RV64BE.cc -[ 21%] 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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-loongarch.cc.PPC32.cc [ 22%] 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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-loongarch.cc.PPC64V1.cc -[ 22%] 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-x86_64-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 -fcf-protection -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-x86_64-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-x86_64-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 -fcf-protection -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-x86_64-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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-loongarch.cc.PPC64V2.cc [ 22%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.S390X.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-loongarch.cc.S390X.cc [ 22%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-loongarch.cc.SPARC64.cc +[ 22%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.M68K.cc.o [ 22%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.SH4LE.cc.o -[ 23%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.LOONGARCH32.cc.o -[ 23%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.M68K.cc.o -[ 23%] 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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-loongarch.cc.SH4LE.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-loongarch.cc.M68K.cc +[ 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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-loongarch.cc.SH4LE.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-x86_64-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 -fcf-protection -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-x86_64-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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-loongarch.cc.LOONGARCH32.cc +[ 23%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.LOONGARCH32.cc.o [ 23%] Building CXX object CMakeFiles/mold.dir/src/arch-loongarch.cc.LOONGARCH64.cc.o [ 23%] 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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-loongarch.cc.LOONGARCH32.cc +[ 23%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-loongarch.cc.LOONGARCH64.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-riscv.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-riscv.cc.I386.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-loongarch.cc.LOONGARCH64.cc -[ 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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-riscv.cc.ARM64BE.cc -[ 23%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.X86_64.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-riscv.cc.ARM64LE.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-riscv.cc.X86_64.cc [ 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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-riscv.cc.ARM32.cc [ 24%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.RV32LE.cc.o [ 24%] 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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-riscv.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-riscv.cc.RV32LE.cc -[ 24%] 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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-riscv.cc.RV32BE.cc -[ 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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-riscv.cc.RV64LE.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-riscv.cc.PPC32.cc +[ 24%] 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-x86_64-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 -fcf-protection -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-x86_64-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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-riscv.cc.RV64LE.cc +[ 24%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.PPC32.cc.o +[ 24%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.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-x86_64-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 -fcf-protection -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-x86_64-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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-riscv.cc.PPC64V1.cc [ 25%] 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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-riscv.cc.PPC64V2.cc -[ 25%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-riscv.cc.PPC64V1.cc [ 25%] 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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-riscv.cc.S390X.cc [ 25%] 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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-riscv.cc.SPARC64.cc +[ 25%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.SH4LE.cc.o [ 25%] 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-x86_64-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 -fcf-protection -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-x86_64-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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-riscv.cc.M68K.cc -[ 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-x86_64-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 -fcf-protection -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-x86_64-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-x86_64-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 -fcf-protection -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-x86_64-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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-riscv.cc.LOONGARCH32.cc [ 27%] Building CXX object CMakeFiles/mold.dir/src/arch-riscv.cc.LOONGARCH64.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-riscv.cc.LOONGARCH64.cc [ 27%] 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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-riscv.cc.LOONGARCH64.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-sh4.cc.X86_64.cc -[ 27%] Building CXX object CMakeFiles/mold.dir/src/arch-sh4.cc.ARM64LE.cc.o -[ 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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-sh4.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-sh4.cc.ARM64LE.cc [ 27%] 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-x86_64-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 -fcf-protection -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-x86_64-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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-sh4.cc.ARM64LE.cc +[ 27%] Building CXX object CMakeFiles/mold.dir/src/arch-sh4.cc.ARM64BE.cc.o [ 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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-sh4.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-sh4.cc.ARM32.cc [ 28%] Building CXX object CMakeFiles/mold.dir/src/arch-sh4.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-sh4.cc.RV32LE.cc [ 28%] 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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-sh4.cc.RV32BE.cc [ 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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-sh4.cc.RV64BE.cc [ 28%] 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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-sh4.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-sh4.cc.RV64LE.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-sh4.cc.PPC64V1.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-sh4.cc.RV64BE.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-sh4.cc.PPC32.cc +[ 28%] Building CXX object CMakeFiles/mold.dir/src/arch-sh4.cc.PPC64V1.cc.o [ 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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-sh4.cc.PPC64V2.cc [ 29%] 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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-sh4.cc.PPC64V1.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-sh4.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-sh4.cc.S390X.cc -[ 29%] Building CXX object CMakeFiles/mold.dir/src/arch-sh4.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-sh4.cc.M68K.cc [ 29%] 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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-sh4.cc.SPARC64.cc +[ 29%] Building CXX object CMakeFiles/mold.dir/src/arch-sh4.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-x86_64-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 -fcf-protection -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-x86_64-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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/arch-sh4.cc.SH4LE.cc [ 29%] Building CXX object CMakeFiles/mold.dir/src/arch-sh4.cc.SH4BE.cc.o -[ 29%] Building CXX object CMakeFiles/mold.dir/src/arch-sh4.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-x86_64-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 -fcf-protection -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.SH4BE.cc.o -MF CMakeFiles/mold.dir/src/arch-sh4.cc.SH4BE.cc.o.d -o CMakeFiles/mold.dir/src/arch-sh4.cc.SH4BE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/src/arch-sh4.cc.SH4BE.cc -[ 30%] Building CXX object CMakeFiles/mold.dir/src/arch-sh4.cc.LOONGARCH64.cc.o +[ 29%] Building CXX object CMakeFiles/mold.dir/src/arch-sh4.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-x86_64-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 -fcf-protection -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.LOONGARCH32.cc.o -MF CMakeFiles/mold.dir/src/arch-sh4.cc.LOONGARCH32.cc.o.d -o CMakeFiles/mold.dir/src/arch-sh4.cc.LOONGARCH32.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/src/arch-sh4.cc.LOONGARCH32.cc +[ 30%] Building CXX object CMakeFiles/mold.dir/src/arch-sh4.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-x86_64-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 -fcf-protection -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.LOONGARCH64.cc.o -MF CMakeFiles/mold.dir/src/arch-sh4.cc.LOONGARCH64.cc.o.d -o CMakeFiles/mold.dir/src/arch-sh4.cc.LOONGARCH64.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/src/arch-sh4.cc.LOONGARCH64.cc [ 30%] Building CXX object CMakeFiles/mold.dir/src/cmdline.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-x86_64-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 -fcf-protection -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/cmdline.cc.X86_64.cc.o -MF CMakeFiles/mold.dir/src/cmdline.cc.X86_64.cc.o.d -o CMakeFiles/mold.dir/src/cmdline.cc.X86_64.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/src/cmdline.cc.X86_64.cc @@ -1467,10 +1503,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-x86_64-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 -fcf-protection -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.SPARC64.cc.o -MF CMakeFiles/mold.dir/src/gdb-index.cc.SPARC64.cc.o.d -o CMakeFiles/mold.dir/src/gdb-index.cc.SPARC64.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/src/gdb-index.cc.SPARC64.cc [ 43%] Building CXX object CMakeFiles/mold.dir/src/gdb-index.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-x86_64-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 -fcf-protection -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.M68K.cc.o -MF CMakeFiles/mold.dir/src/gdb-index.cc.M68K.cc.o.d -o CMakeFiles/mold.dir/src/gdb-index.cc.M68K.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/src/gdb-index.cc.M68K.cc -[ 43%] Building CXX object CMakeFiles/mold.dir/src/gdb-index.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/gdb-index.cc.SH4LE.cc [ 43%] 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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/gdb-index.cc.SH4BE.cc +[ 43%] Building CXX object CMakeFiles/mold.dir/src/gdb-index.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/gdb-index.cc.SH4LE.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-x86_64-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 -fcf-protection -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-x86_64-linux-gnu/src/gdb-index.cc.LOONGARCH32.cc [ 43%] Building CXX object CMakeFiles/mold.dir/src/gdb-index.cc.LOONGARCH64.cc.o @@ -1716,8 +1752,8 @@ [ 65%] Building CXX object CMakeFiles/mold.dir/src/output-chunks.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-x86_64-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 -fcf-protection -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/output-chunks.cc.RV32LE.cc.o -MF CMakeFiles/mold.dir/src/output-chunks.cc.RV32LE.cc.o.d -o CMakeFiles/mold.dir/src/output-chunks.cc.RV32LE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/src/output-chunks.cc.RV32LE.cc [ 65%] Building CXX object CMakeFiles/mold.dir/src/output-chunks.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-x86_64-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 -fcf-protection -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/output-chunks.cc.RV32BE.cc.o -MF CMakeFiles/mold.dir/src/output-chunks.cc.RV32BE.cc.o.d -o CMakeFiles/mold.dir/src/output-chunks.cc.RV32BE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/src/output-chunks.cc.RV32BE.cc [ 65%] Building CXX object CMakeFiles/mold.dir/src/output-chunks.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-x86_64-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 -fcf-protection -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/output-chunks.cc.RV32BE.cc.o -MF CMakeFiles/mold.dir/src/output-chunks.cc.RV32BE.cc.o.d -o CMakeFiles/mold.dir/src/output-chunks.cc.RV32BE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/src/output-chunks.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-x86_64-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 -fcf-protection -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/output-chunks.cc.RV64LE.cc.o -MF CMakeFiles/mold.dir/src/output-chunks.cc.RV64LE.cc.o.d -o CMakeFiles/mold.dir/src/output-chunks.cc.RV64LE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/src/output-chunks.cc.RV64LE.cc [ 65%] Building CXX object CMakeFiles/mold.dir/src/output-chunks.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-x86_64-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 -fcf-protection -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/output-chunks.cc.RV64BE.cc.o -MF CMakeFiles/mold.dir/src/output-chunks.cc.RV64BE.cc.o.d -o CMakeFiles/mold.dir/src/output-chunks.cc.RV64BE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/src/output-chunks.cc.RV64BE.cc @@ -1727,10 +1763,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-x86_64-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 -fcf-protection -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/output-chunks.cc.PPC64V1.cc.o -MF CMakeFiles/mold.dir/src/output-chunks.cc.PPC64V1.cc.o.d -o CMakeFiles/mold.dir/src/output-chunks.cc.PPC64V1.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/src/output-chunks.cc.PPC64V1.cc [ 65%] Building CXX object CMakeFiles/mold.dir/src/output-chunks.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-x86_64-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 -fcf-protection -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/output-chunks.cc.PPC64V2.cc.o -MF CMakeFiles/mold.dir/src/output-chunks.cc.PPC64V2.cc.o.d -o CMakeFiles/mold.dir/src/output-chunks.cc.PPC64V2.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/src/output-chunks.cc.PPC64V2.cc -[ 65%] Building CXX object CMakeFiles/mold.dir/src/output-chunks.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-x86_64-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 -fcf-protection -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/output-chunks.cc.SPARC64.cc.o -MF CMakeFiles/mold.dir/src/output-chunks.cc.SPARC64.cc.o.d -o CMakeFiles/mold.dir/src/output-chunks.cc.SPARC64.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/src/output-chunks.cc.SPARC64.cc [ 67%] Building CXX object CMakeFiles/mold.dir/src/output-chunks.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-x86_64-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 -fcf-protection -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/output-chunks.cc.S390X.cc.o -MF CMakeFiles/mold.dir/src/output-chunks.cc.S390X.cc.o.d -o CMakeFiles/mold.dir/src/output-chunks.cc.S390X.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/src/output-chunks.cc.S390X.cc +[ 67%] Building CXX object CMakeFiles/mold.dir/src/output-chunks.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-x86_64-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 -fcf-protection -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/output-chunks.cc.SPARC64.cc.o -MF CMakeFiles/mold.dir/src/output-chunks.cc.SPARC64.cc.o.d -o CMakeFiles/mold.dir/src/output-chunks.cc.SPARC64.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/src/output-chunks.cc.SPARC64.cc [ 67%] Building CXX object CMakeFiles/mold.dir/src/output-chunks.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-x86_64-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 -fcf-protection -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/output-chunks.cc.M68K.cc.o -MF CMakeFiles/mold.dir/src/output-chunks.cc.M68K.cc.o.d -o CMakeFiles/mold.dir/src/output-chunks.cc.M68K.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/src/output-chunks.cc.M68K.cc [ 67%] Building CXX object CMakeFiles/mold.dir/src/output-chunks.cc.SH4LE.cc.o @@ -1821,16 +1857,16 @@ /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-x86_64-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 -fcf-protection -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/shrink-sections.cc.X86_64.cc.o -MF CMakeFiles/mold.dir/src/shrink-sections.cc.X86_64.cc.o.d -o CMakeFiles/mold.dir/src/shrink-sections.cc.X86_64.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/src/shrink-sections.cc.X86_64.cc [ 75%] Building CXX object CMakeFiles/mold.dir/src/shrink-sections.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-x86_64-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 -fcf-protection -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/shrink-sections.cc.I386.cc.o -MF CMakeFiles/mold.dir/src/shrink-sections.cc.I386.cc.o.d -o CMakeFiles/mold.dir/src/shrink-sections.cc.I386.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/src/shrink-sections.cc.I386.cc -[ 75%] Building CXX object CMakeFiles/mold.dir/src/shrink-sections.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-x86_64-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 -fcf-protection -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/shrink-sections.cc.ARM64BE.cc.o -MF CMakeFiles/mold.dir/src/shrink-sections.cc.ARM64BE.cc.o.d -o CMakeFiles/mold.dir/src/shrink-sections.cc.ARM64BE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/src/shrink-sections.cc.ARM64BE.cc [ 75%] Building CXX object CMakeFiles/mold.dir/src/shrink-sections.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-x86_64-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 -fcf-protection -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/shrink-sections.cc.ARM64LE.cc.o -MF CMakeFiles/mold.dir/src/shrink-sections.cc.ARM64LE.cc.o.d -o CMakeFiles/mold.dir/src/shrink-sections.cc.ARM64LE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/src/shrink-sections.cc.ARM64LE.cc +[ 75%] Building CXX object CMakeFiles/mold.dir/src/shrink-sections.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-x86_64-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 -fcf-protection -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/shrink-sections.cc.ARM64BE.cc.o -MF CMakeFiles/mold.dir/src/shrink-sections.cc.ARM64BE.cc.o.d -o CMakeFiles/mold.dir/src/shrink-sections.cc.ARM64BE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/src/shrink-sections.cc.ARM64BE.cc [ 75%] Building CXX object CMakeFiles/mold.dir/src/shrink-sections.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-x86_64-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 -fcf-protection -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/shrink-sections.cc.ARM32.cc.o -MF CMakeFiles/mold.dir/src/shrink-sections.cc.ARM32.cc.o.d -o CMakeFiles/mold.dir/src/shrink-sections.cc.ARM32.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/src/shrink-sections.cc.ARM32.cc -[ 75%] Building CXX object CMakeFiles/mold.dir/src/shrink-sections.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-x86_64-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 -fcf-protection -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/shrink-sections.cc.RV32BE.cc.o -MF CMakeFiles/mold.dir/src/shrink-sections.cc.RV32BE.cc.o.d -o CMakeFiles/mold.dir/src/shrink-sections.cc.RV32BE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/src/shrink-sections.cc.RV32BE.cc [ 75%] Building CXX object CMakeFiles/mold.dir/src/shrink-sections.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-x86_64-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 -fcf-protection -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/shrink-sections.cc.RV32LE.cc.o -MF CMakeFiles/mold.dir/src/shrink-sections.cc.RV32LE.cc.o.d -o CMakeFiles/mold.dir/src/shrink-sections.cc.RV32LE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/src/shrink-sections.cc.RV32LE.cc +[ 75%] Building CXX object CMakeFiles/mold.dir/src/shrink-sections.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-x86_64-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 -fcf-protection -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/shrink-sections.cc.RV32BE.cc.o -MF CMakeFiles/mold.dir/src/shrink-sections.cc.RV32BE.cc.o.d -o CMakeFiles/mold.dir/src/shrink-sections.cc.RV32BE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/src/shrink-sections.cc.RV32BE.cc [ 76%] Building CXX object CMakeFiles/mold.dir/src/shrink-sections.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-x86_64-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 -fcf-protection -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/shrink-sections.cc.RV64LE.cc.o -MF CMakeFiles/mold.dir/src/shrink-sections.cc.RV64LE.cc.o.d -o CMakeFiles/mold.dir/src/shrink-sections.cc.RV64LE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/src/shrink-sections.cc.RV64LE.cc [ 76%] Building CXX object CMakeFiles/mold.dir/src/shrink-sections.cc.RV64BE.cc.o @@ -1866,17 +1902,17 @@ [ 78%] Building CXX object CMakeFiles/mold.dir/src/thunks.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-x86_64-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 -fcf-protection -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/thunks.cc.ARM32.cc.o -MF CMakeFiles/mold.dir/src/thunks.cc.ARM32.cc.o.d -o CMakeFiles/mold.dir/src/thunks.cc.ARM32.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/src/thunks.cc.ARM32.cc [ 78%] Building CXX object CMakeFiles/mold.dir/src/thunks.cc.RV32LE.cc.o -[ 78%] Building CXX object CMakeFiles/mold.dir/src/thunks.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-x86_64-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 -fcf-protection -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/thunks.cc.RV32LE.cc.o -MF CMakeFiles/mold.dir/src/thunks.cc.RV32LE.cc.o.d -o CMakeFiles/mold.dir/src/thunks.cc.RV32LE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/src/thunks.cc.RV32LE.cc +[ 78%] Building CXX object CMakeFiles/mold.dir/src/thunks.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-x86_64-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 -fcf-protection -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/thunks.cc.RV32BE.cc.o -MF CMakeFiles/mold.dir/src/thunks.cc.RV32BE.cc.o.d -o CMakeFiles/mold.dir/src/thunks.cc.RV32BE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/src/thunks.cc.RV32BE.cc [ 78%] Building CXX object CMakeFiles/mold.dir/src/thunks.cc.RV64LE.cc.o -[ 80%] Building CXX object CMakeFiles/mold.dir/src/thunks.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-x86_64-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 -fcf-protection -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/thunks.cc.RV64LE.cc.o -MF CMakeFiles/mold.dir/src/thunks.cc.RV64LE.cc.o.d -o CMakeFiles/mold.dir/src/thunks.cc.RV64LE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/src/thunks.cc.RV64LE.cc +[ 80%] Building CXX object CMakeFiles/mold.dir/src/thunks.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-x86_64-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 -fcf-protection -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/thunks.cc.RV64BE.cc.o -MF CMakeFiles/mold.dir/src/thunks.cc.RV64BE.cc.o.d -o CMakeFiles/mold.dir/src/thunks.cc.RV64BE.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/src/thunks.cc.RV64BE.cc -[ 80%] Building CXX object CMakeFiles/mold.dir/src/thunks.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-x86_64-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 -fcf-protection -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/thunks.cc.PPC64V1.cc.o -MF CMakeFiles/mold.dir/src/thunks.cc.PPC64V1.cc.o.d -o CMakeFiles/mold.dir/src/thunks.cc.PPC64V1.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/src/thunks.cc.PPC64V1.cc [ 80%] Building CXX object CMakeFiles/mold.dir/src/thunks.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-x86_64-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 -fcf-protection -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/thunks.cc.PPC32.cc.o -MF CMakeFiles/mold.dir/src/thunks.cc.PPC32.cc.o.d -o CMakeFiles/mold.dir/src/thunks.cc.PPC32.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/src/thunks.cc.PPC32.cc +[ 80%] Building CXX object CMakeFiles/mold.dir/src/thunks.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-x86_64-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 -fcf-protection -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/thunks.cc.PPC64V1.cc.o -MF CMakeFiles/mold.dir/src/thunks.cc.PPC64V1.cc.o.d -o CMakeFiles/mold.dir/src/thunks.cc.PPC64V1.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/src/thunks.cc.PPC64V1.cc [ 80%] Building CXX object CMakeFiles/mold.dir/src/thunks.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-x86_64-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 -fcf-protection -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/thunks.cc.PPC64V2.cc.o -MF CMakeFiles/mold.dir/src/thunks.cc.PPC64V2.cc.o.d -o CMakeFiles/mold.dir/src/thunks.cc.PPC64V2.cc.o -c /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/src/thunks.cc.PPC64V2.cc [ 80%] Building CXX object CMakeFiles/mold.dir/src/thunks.cc.S390X.cc.o @@ -2261,10 +2297,10 @@ 1: ++ echo -n 'Testing arch-x86_64-address-equality ... ' 1: Testing arch-x86_64-address-equality ... ++ set -o pipefail 1: ++ set -x -1: + cat 1: + cc -o out/test/x86_64/arch-x86_64-address-equality/a.o -c -xassembler - 1: + cat 1: + cc -o out/test/x86_64/arch-x86_64-address-equality/b.o -c -xc - -fPIC +1: + cat 2: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-apx-gotpcrelx.sh 2: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 2: ++ export LC_ALL=C @@ -2400,8 +2436,8 @@ 5: ++ uname 5: + '[' Linux = FreeBSD ']' 5: + '[' -mtls-dialect=gnu2 = '' ']' -5: + echo '_Thread_local int x; int y() { return x; }' 5: + cc -shared -fPIC -xc -o out/test/x86_64/arch-x86_64-apx-tlsdesc/tlsdesc.so -mtls-dialect=gnu2 - +5: + echo '_Thread_local int x; int y() { return x; }' 6: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-empty-mergeable-section.sh 6: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 6: ++ export LC_ALL=C @@ -2430,10 +2466,6 @@ 6: ++ echo -n 'Testing arch-x86_64-empty-mergeable-section ... ' 6: Testing arch-x86_64-empty-mergeable-section ... ++ set -o pipefail 6: ++ set -x -6: + cat -6: + cc -o out/test/x86_64/arch-x86_64-empty-mergeable-section/a.o -c -xassembler - -6: + cat -6: + cc -o out/test/x86_64/arch-x86_64-empty-mergeable-section/b.o -c -xassembler - 7: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-emulation-deduction.sh 7: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 7: ++ export LC_ALL=C @@ -2485,15 +2517,6 @@ 8: ++ mkdir -p out/test/x86_64/arch-x86_64-exception-mcmodel-large 8: ++ case $MACHINE in 8: ++ tlsdesc_opt=-mtls-dialect=gnu2 -8: +++ uname -8: ++ '[' Linux = FreeBSD ']' -8: ++ trap 'on_error $LINENO' ERR -8: ++ trap on_exit EXIT -8: ++ echo -n 'Testing arch-x86_64-exception-mcmodel-large ... ' -8: Testing arch-x86_64-exception-mcmodel-large ... ++ set -o pipefail -8: ++ set -x -8: + cat -8: + c++ -c -o out/test/x86_64/arch-x86_64-exception-mcmodel-large/a.o -xc++ -fPIC - 9: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-execstack-if-needed.sh 9: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 9: ++ export LC_ALL=C @@ -2513,15 +2536,6 @@ 9: ++ testname=arch-x86_64-execstack-if-needed 9: ++ t=out/test/x86_64/arch-x86_64-execstack-if-needed 9: ++ mkdir -p out/test/x86_64/arch-x86_64-execstack-if-needed -9: ++ case $MACHINE in -9: ++ tlsdesc_opt=-mtls-dialect=gnu2 -9: +++ uname -9: ++ '[' Linux = FreeBSD ']' -9: ++ trap 'on_error $LINENO' ERR -9: ++ trap on_exit EXIT -9: ++ echo -n 'Testing arch-x86_64-execstack-if-needed ... ' -9: Testing arch-x86_64-execstack-if-needed ... ++ set -o pipefail -9: ++ set -x 10: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-function-multiversion.sh 10: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 10: ++ export LC_ALL=C @@ -2541,6 +2555,18 @@ 10: ++ testname=arch-x86_64-function-multiversion 10: ++ t=out/test/x86_64/arch-x86_64-function-multiversion 10: ++ mkdir -p out/test/x86_64/arch-x86_64-function-multiversion +10: ++ case $MACHINE in +10: ++ tlsdesc_opt=-mtls-dialect=gnu2 +10: +++ uname +10: ++ '[' Linux = FreeBSD ']' +10: ++ trap 'on_error $LINENO' ERR +10: ++ trap on_exit EXIT +10: ++ echo -n 'Testing arch-x86_64-function-multiversion ... ' +10: Testing arch-x86_64-function-multiversion ... ++ set -o pipefail +10: ++ set -x +10: + supports_ifunc +10: + is_musl +10: + grep musl 11: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-gnu-linkonce.sh 11: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 11: ++ export LC_ALL=C @@ -2556,14 +2582,10 @@ 11: ++ OBJCOPY=objcopy 11: ++ STRIP=strip 11: ++ QEMU= -11: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-gnu-linkonce.sh .sh - 1/402 Test #2: x86_64-arch-x86_64-apx-gotpcrelx ......................***Skipped 0.03 sec - 2/402 Test #3: x86_64-arch-x86_64-apx-gottpoff .......................***Skipped 0.03 sec - 3/402 Test #4: x86_64-arch-x86_64-apx-gottpoff2 ......................***Skipped 0.02 sec -9: + cat -9: + cc -c -xassembler -o out/test/x86_64/arch-x86_64-execstack-if-needed/a.o - -10: ++ case $MACHINE in -10: ++ tlsdesc_opt=-mtls-dialect=gnu2 + 1/402 Test #2: x86_64-arch-x86_64-apx-gotpcrelx ......................***Skipped 0.09 sec + 2/402 Test #3: x86_64-arch-x86_64-apx-gottpoff .......................***Skipped 0.08 sec + 3/402 Test #4: x86_64-arch-x86_64-apx-gottpoff2 ......................***Skipped 0.08 sec +6: + cat test 13 Start 13: x86_64-arch-x86_64-gotpcrelx @@ -2591,6 +2613,71 @@ 15: MACHINE=x86_64 15: CPU= 15: Test timeout computed to be: 1500 +6: + cc -o out/test/x86_64/arch-x86_64-empty-mergeable-section/a.o -c -xassembler - +6: + cat +8: +++ uname +8: ++ '[' Linux = FreeBSD ']' +8: ++ trap 'on_error $LINENO' ERR +8: ++ trap on_exit EXIT +8: ++ echo -n 'Testing arch-x86_64-exception-mcmodel-large ... ' +8: Testing arch-x86_64-exception-mcmodel-large ... ++ set -o pipefail +8: ++ set -x +8: + cat +8: + c++ -c -o out/test/x86_64/arch-x86_64-exception-mcmodel-large/a.o -xc++ -fPIC - +7: + ./mold -o out/test/x86_64/arch-x86_64-emulation-deduction/exe out/test/x86_64/arch-x86_64-emulation-deduction/a.o +9: ++ case $MACHINE in +9: ++ tlsdesc_opt=-mtls-dialect=gnu2 +9: +++ uname +9: ++ '[' Linux = FreeBSD ']' +9: ++ trap 'on_error $LINENO' ERR +9: ++ trap on_exit EXIT +9: ++ echo -n 'Testing arch-x86_64-execstack-if-needed ... ' +9: Testing arch-x86_64-execstack-if-needed ... ++ set -o pipefail +9: ++ set -x +9: + cat +9: + cc -c -xassembler -o out/test/x86_64/arch-x86_64-execstack-if-needed/a.o - +11: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-gnu-linkonce.sh .sh +11: ++ testname=arch-x86_64-gnu-linkonce +11: ++ t=out/test/x86_64/arch-x86_64-gnu-linkonce +11: ++ mkdir -p out/test/x86_64/arch-x86_64-gnu-linkonce +11: ++ case $MACHINE in +11: ++ tlsdesc_opt=-mtls-dialect=gnu2 +11: +++ uname +11: ++ '[' Linux = FreeBSD ']' +11: ++ trap 'on_error $LINENO' ERR +11: ++ trap on_exit EXIT +11: ++ echo -n 'Testing arch-x86_64-gnu-linkonce ... ' +11: Testing arch-x86_64-gnu-linkonce ... ++ set -o pipefail +11: ++ set -x +1: + cc -o out/test/x86_64/arch-x86_64-address-equality/c.o -c -xc - -fPIC +1: + cat +6: + cc -o out/test/x86_64/arch-x86_64-empty-mergeable-section/b.o -c -xassembler - +10: + cc -c -o /dev/null -xc - +10: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +11: + cc -o out/test/x86_64/arch-x86_64-gnu-linkonce/a.o -c -x assembler - +11: + cat +6: + cc -o out/test/x86_64/arch-x86_64-empty-mergeable-section/c.o -c -xc - +6: + cat +7: + readelf --file-header out/test/x86_64/arch-x86_64-emulation-deduction/exe +7: + grep -i x86-64 +9: + cc -B. -o out/test/x86_64/arch-x86_64-execstack-if-needed/exe out/test/x86_64/arch-x86_64-execstack-if-needed/a.o +5: + cc -xc -c -o out/test/x86_64/arch-x86_64-apx-tlsdesc/tlsdesc.o - +6: + cc -B. -o out/test/x86_64/arch-x86_64-empty-mergeable-section/exe out/test/x86_64/arch-x86_64-empty-mergeable-section/a.o out/test/x86_64/arch-x86_64-empty-mergeable-section/b.o out/test/x86_64/arch-x86_64-empty-mergeable-section/c.o +8: + c++ -B. -o out/test/x86_64/arch-x86_64-exception-mcmodel-large/exe out/test/x86_64/arch-x86_64-exception-mcmodel-large/a.o -mcmodel=large +10: ++ uname +10: + '[' Linux = FreeBSD ']' +11: + cc -o out/test/x86_64/arch-x86_64-gnu-linkonce/b.o -c -x assembler - +10: + cat +11: + cat +5: + echo 'int y(); int main() { y(); }' +10: + g++ -o out/test/x86_64/arch-x86_64-function-multiversion/a.o -c -xc++ - -fPIC +1: + cc -B. -shared -o out/test/x86_64/arch-x86_64-address-equality/d.so out/test/x86_64/arch-x86_64-address-equality/c.o +7: Machine: Advanced Micro Devices X86-64 +7: + on_exit +7: + echo OK +7: OK +7: + exit 0 + 4/402 Test #7: x86_64-arch-x86_64-emulation-deduction ................ Passed 0.16 sec 12: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-gnu-retain.sh 12: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 12: ++ export LC_ALL=C @@ -2610,48 +2697,6 @@ 12: ++ testname=arch-x86_64-gnu-retain 12: ++ t=out/test/x86_64/arch-x86_64-gnu-retain 12: ++ mkdir -p out/test/x86_64/arch-x86_64-gnu-retain -12: ++ case $MACHINE in -12: ++ tlsdesc_opt=-mtls-dialect=gnu2 -12: +++ uname -12: ++ '[' Linux = FreeBSD ']' -12: ++ trap 'on_error $LINENO' ERR -12: ++ trap on_exit EXIT -12: ++ echo -n 'Testing arch-x86_64-gnu-retain ... ' -12: Testing arch-x86_64-gnu-retain ... ++ set -o pipefail -12: ++ set -x -12: + echo '.section foo,"R"' -12: + cc -o /dev/null -c -xassembler - -9: + cc -B. -o out/test/x86_64/arch-x86_64-execstack-if-needed/exe out/test/x86_64/arch-x86_64-execstack-if-needed/a.o -10: +++ uname -10: ++ '[' Linux = FreeBSD ']' -10: ++ trap 'on_error $LINENO' ERR -10: ++ trap on_exit EXIT -10: ++ echo -n 'Testing arch-x86_64-function-multiversion ... ' -10: Testing arch-x86_64-function-multiversion ... ++ set -o pipefail -10: ++ set -x -10: + supports_ifunc -10: + is_musl -10: + grep musl -10: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -10: + cc -c -o /dev/null -xc - -11: ++ testname=arch-x86_64-gnu-linkonce -11: ++ t=out/test/x86_64/arch-x86_64-gnu-linkonce -11: ++ mkdir -p out/test/x86_64/arch-x86_64-gnu-linkonce -11: ++ case $MACHINE in -11: ++ tlsdesc_opt=-mtls-dialect=gnu2 -11: +++ uname -11: ++ '[' Linux = FreeBSD ']' -11: ++ trap 'on_error $LINENO' ERR -11: ++ trap on_exit EXIT -11: ++ echo -n 'Testing arch-x86_64-gnu-linkonce ... ' -11: Testing arch-x86_64-gnu-linkonce ... ++ set -o pipefail -11: ++ set -x -11: + cat -11: + cc -o out/test/x86_64/arch-x86_64-gnu-linkonce/a.o -c -x assembler - -11: + cat -11: + cc -o out/test/x86_64/arch-x86_64-gnu-linkonce/b.o -c -x assembler - -6: + cat -6: + cc -o out/test/x86_64/arch-x86_64-empty-mergeable-section/c.o -c -xc - 13: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-gotpcrelx.sh 13: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 13: ++ export LC_ALL=C @@ -2672,6 +2717,35 @@ 13: ++ t=out/test/x86_64/arch-x86_64-gotpcrelx 13: ++ mkdir -p out/test/x86_64/arch-x86_64-gotpcrelx 14: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-ifunc-alias.sh +test 16 + Start 16: x86_64-arch-x86_64-incompatible-libs-linker-script2 + +16: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-incompatible-libs-linker-script2.sh" +16: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +16: Environment variables: +16: MACHINE=x86_64 +16: CPU= +16: Test timeout computed to be: 1500 +12: ++ case $MACHINE in +12: ++ tlsdesc_opt=-mtls-dialect=gnu2 +12: +++ uname +12: ++ '[' Linux = FreeBSD ']' +12: ++ trap 'on_error $LINENO' ERR +12: ++ trap on_exit EXIT +12: ++ echo -n 'Testing arch-x86_64-gnu-retain ... ' +12: Testing arch-x86_64-gnu-retain ... ++ set -o pipefail +12: ++ set -x +12: + cc -o /dev/null -c -xassembler - +12: + echo '.section foo,"R"' +13: ++ case $MACHINE in +13: ++ tlsdesc_opt=-mtls-dialect=gnu2 +13: +++ uname +13: ++ '[' Linux = FreeBSD ']' +13: ++ trap 'on_error $LINENO' ERR +13: ++ trap on_exit EXIT +13: ++ echo -n 'Testing arch-x86_64-gotpcrelx ... ' +13: Testing arch-x86_64-gotpcrelx ... ++ set -o pipefail +13: ++ set -x 14: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 14: ++ export LC_ALL=C 14: ++ LC_ALL=C @@ -2691,15 +2765,10 @@ 14: ++ t=out/test/x86_64/arch-x86_64-ifunc-alias 14: ++ mkdir -p out/test/x86_64/arch-x86_64-ifunc-alias 15: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-incompatible-libs-linker-script.sh -13: ++ case $MACHINE in -13: ++ tlsdesc_opt=-mtls-dialect=gnu2 -12: + cat -12: + cc -o out/test/x86_64/arch-x86_64-gnu-retain/a.o -c -xc - 15: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 15: ++ export LC_ALL=C 15: ++ LC_ALL=C 15: ++ '[' -z x86_64 ']' -13: +++ uname 15: ++ '[' -z '' ']' 15: ++ TESTDIR=out/test/x86_64 15: ++ CC=cc @@ -2711,98 +2780,26 @@ 15: ++ STRIP=strip 15: ++ QEMU= 15: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-incompatible-libs-linker-script.sh .sh -14: ++ case $MACHINE in -14: ++ tlsdesc_opt=-mtls-dialect=gnu2 -13: ++ '[' Linux = FreeBSD ']' -14: +++ uname -13: ++ trap 'on_error $LINENO' ERR -13: ++ trap on_exit EXIT -13: ++ echo -n 'Testing arch-x86_64-gotpcrelx ... ' -13: Testing arch-x86_64-gotpcrelx ... ++ set -o pipefail -13: ++ set -x -11: + cat -13: + cat -11: + cc -o out/test/x86_64/arch-x86_64-gnu-linkonce/c.o -c -xc - 15: ++ testname=arch-x86_64-incompatible-libs-linker-script 15: ++ t=out/test/x86_64/arch-x86_64-incompatible-libs-linker-script 15: ++ mkdir -p out/test/x86_64/arch-x86_64-incompatible-libs-linker-script -13: + cc -o out/test/x86_64/arch-x86_64-gotpcrelx/a.o -c -xc - -fPIC -14: ++ '[' Linux = FreeBSD ']' -14: ++ trap 'on_error $LINENO' ERR -14: ++ trap on_exit EXIT -14: ++ echo -n 'Testing arch-x86_64-ifunc-alias ... ' -14: Testing arch-x86_64-ifunc-alias ... ++ set -o pipefail -14: ++ set -x -14: + supports_ifunc -14: + is_musl -14: + grep musl 15: ++ case $MACHINE in 15: ++ tlsdesc_opt=-mtls-dialect=gnu2 15: +++ uname +11: + cc -o out/test/x86_64/arch-x86_64-gnu-linkonce/c.o -c -xc - +11: + cat 15: ++ '[' Linux = FreeBSD ']' 15: ++ trap 'on_error $LINENO' ERR -14: + cc -c -o /dev/null -xc - 15: ++ trap on_exit EXIT 15: ++ echo -n 'Testing arch-x86_64-incompatible-libs-linker-script ... ' 15: Testing arch-x86_64-incompatible-libs-linker-script ... ++ set -o pipefail 15: ++ set -x 15: + test_cflags -m32 -14: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' 15: + echo 'int main() {}' -15: + cc -B. -m32 -o /dev/null -xc - -9: + readelf --segments -W out/test/x86_64/arch-x86_64-execstack-if-needed/exe -9: + grep 'GNU_STACK.* RW ' -9: GNU_STACK 0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x000000 RW 0x1 -9: + cc -B. -o out/test/x86_64/arch-x86_64-execstack-if-needed/exe out/test/x86_64/arch-x86_64-execstack-if-needed/a.o -Wl,-z,execstack-if-needed -8: + c++ -B. -o out/test/x86_64/arch-x86_64-exception-mcmodel-large/exe out/test/x86_64/arch-x86_64-exception-mcmodel-large/a.o -mcmodel=large -7: + ./mold -o out/test/x86_64/arch-x86_64-emulation-deduction/exe out/test/x86_64/arch-x86_64-emulation-deduction/a.o -1: + cat -1: + cc -o out/test/x86_64/arch-x86_64-address-equality/c.o -c -xc - -fPIC -12: + cat -12: + cc -o out/test/x86_64/arch-x86_64-gnu-retain/b.o -c -xassembler - -13: + cat -13: + cc -o out/test/x86_64/arch-x86_64-gotpcrelx/b.o -c -xc - -fPIC -10: ++ uname -12: + cat -12: + cc -o out/test/x86_64/arch-x86_64-gnu-retain/c.o -c -xassembler - -10: + '[' Linux = FreeBSD ']' -10: + cat -10: + g++ -o out/test/x86_64/arch-x86_64-function-multiversion/a.o -c -xc++ - -fPIC -7: + readelf --file-header out/test/x86_64/arch-x86_64-emulation-deduction/exe -7: + grep -i x86-64 -9: + readelf --segments -W out/test/x86_64/arch-x86_64-execstack-if-needed/exe -9: + grep 'GNU_STACK.* RWE ' -7: Machine: Advanced Micro Devices X86-64 -12: + cc -B. -o out/test/x86_64/arch-x86_64-gnu-retain/exe1 out/test/x86_64/arch-x86_64-gnu-retain/a.o out/test/x86_64/arch-x86_64-gnu-retain/b.o -Wl,-gc-sections -7: + on_exit -7: + echo OK -7: OK -7: + exit 0 - 4/402 Test #7: x86_64-arch-x86_64-emulation-deduction ................ Passed 0.08 sec -9: GNU_STACK 0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x000000 RWE 0x1 -test 16 - Start 16: x86_64-arch-x86_64-incompatible-libs-linker-script2 - -16: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-incompatible-libs-linker-script2.sh" -16: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -16: Environment variables: -16: MACHINE=x86_64 -16: CPU= -16: Test timeout computed to be: 1500 -9: + on_exit -9: + echo OK -9: OK -9: + exit 0 - 5/402 Test #9: x86_64-arch-x86_64-execstack-if-needed ................ Passed 0.08 sec -test 17 - Start 17: x86_64-arch-x86_64-incompatible-libs - -17: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-incompatible-libs.sh" -17: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -17: Environment variables: -17: MACHINE=x86_64 -17: CPU= -17: Test timeout computed to be: 1500 +13: + cc -o out/test/x86_64/arch-x86_64-gotpcrelx/a.o -c -xc - -fPIC +5: + cc -o out/test/x86_64/arch-x86_64-apx-tlsdesc/tlsdesc out/test/x86_64/arch-x86_64-apx-tlsdesc/tlsdesc.o out/test/x86_64/arch-x86_64-apx-tlsdesc/tlsdesc.so +14: ++ case $MACHINE in +14: ++ tlsdesc_opt=-mtls-dialect=gnu2 16: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-incompatible-libs-linker-script2.sh 16: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 16: ++ export LC_ALL=C @@ -2818,85 +2815,84 @@ 16: ++ OBJCOPY=objcopy 16: ++ STRIP=strip 16: ++ QEMU= -17: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-incompatible-libs.sh +12: + cc -o out/test/x86_64/arch-x86_64-gnu-retain/a.o -c -xc - +12: + cat +13: + cat +15: + cc -B. -m32 -o /dev/null -xc - +14: +++ uname +14: ++ '[' Linux = FreeBSD ']' +14: ++ trap 'on_error $LINENO' ERR +14: ++ trap on_exit EXIT +14: ++ echo -n 'Testing arch-x86_64-ifunc-alias ... ' +14: Testing arch-x86_64-ifunc-alias ... ++ set -o pipefail +14: ++ set -x +14: + supports_ifunc +14: + is_musl +11: + cc -B. -o out/test/x86_64/arch-x86_64-gnu-linkonce/exe out/test/x86_64/arch-x86_64-gnu-linkonce/a.o out/test/x86_64/arch-x86_64-gnu-linkonce/b.o out/test/x86_64/arch-x86_64-gnu-linkonce/c.o 16: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-incompatible-libs-linker-script2.sh .sh -17: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -17: ++ export LC_ALL=C -17: ++ LC_ALL=C -17: ++ '[' -z x86_64 ']' -17: ++ '[' -z '' ']' -17: ++ TESTDIR=out/test/x86_64 -17: ++ CC=cc -17: ++ CXX=c++ -17: ++ GCC=gcc -17: ++ GXX=g++ -17: ++ OBJDUMP=objdump -17: ++ OBJCOPY=objcopy -17: ++ STRIP=strip -17: ++ QEMU= +14: + grep musl +6: + out/test/x86_64/arch-x86_64-empty-mergeable-section/exe +1: + cc -B. -o out/test/x86_64/arch-x86_64-address-equality/exe1 out/test/x86_64/arch-x86_64-address-equality/a.o out/test/x86_64/arch-x86_64-address-equality/b.o out/test/x86_64/arch-x86_64-address-equality/d.so -pie +9: + grep 'GNU_STACK.* RW ' +9: + readelf --segments -W out/test/x86_64/arch-x86_64-execstack-if-needed/exe 16: ++ testname=arch-x86_64-incompatible-libs-linker-script2 16: ++ t=out/test/x86_64/arch-x86_64-incompatible-libs-linker-script2 16: ++ mkdir -p out/test/x86_64/arch-x86_64-incompatible-libs-linker-script2 -17: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-incompatible-libs.sh .sh +9: GNU_STACK 0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x000000 RW 0x1 +9: + cc -B. -o out/test/x86_64/arch-x86_64-execstack-if-needed/exe out/test/x86_64/arch-x86_64-execstack-if-needed/a.o -Wl,-z,execstack-if-needed +6: + readelf -SW out/test/x86_64/arch-x86_64-empty-mergeable-section/exe 16: ++ case $MACHINE in 16: ++ tlsdesc_opt=-mtls-dialect=gnu2 +13: + cc -o out/test/x86_64/arch-x86_64-gotpcrelx/b.o -c -xc - -fPIC +8: + out/test/x86_64/arch-x86_64-exception-mcmodel-large/exe +14: + cc -c -o /dev/null -xc - +14: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +12: + cat +12: + cc -o out/test/x86_64/arch-x86_64-gnu-retain/b.o -c -xassembler - 16: +++ uname -17: ++ testname=arch-x86_64-incompatible-libs -17: ++ t=out/test/x86_64/arch-x86_64-incompatible-libs -17: ++ mkdir -p out/test/x86_64/arch-x86_64-incompatible-libs 16: ++ '[' Linux = FreeBSD ']' -8: + out/test/x86_64/arch-x86_64-exception-mcmodel-large/exe 16: ++ trap 'on_error $LINENO' ERR 16: ++ trap on_exit EXIT 16: ++ echo -n 'Testing arch-x86_64-incompatible-libs-linker-script2 ... ' 16: Testing arch-x86_64-incompatible-libs-linker-script2 ... ++ set -o pipefail 16: ++ set -x -17: ++ case $MACHINE in -17: ++ tlsdesc_opt=-mtls-dialect=gnu2 +13: + cat +6: + grep '.rodata.str1.1 .* AMS ' out/test/x86_64/arch-x86_64-empty-mergeable-section/log 16: + nm mold -17: +++ uname 16: + grep __tsan_init -17: ++ '[' Linux = FreeBSD ']' -17: ++ trap 'on_error $LINENO' ERR -17: ++ trap on_exit EXIT -17: ++ echo -n 'Testing arch-x86_64-incompatible-libs ... ' -17: Testing arch-x86_64-incompatible-libs ... ++ set -o pipefail -17: ++ set -x -17: + test_cflags -m32 -17: + echo 'int main() {}' -17: + cc -B. -m32 -o /dev/null -xc - -8: + test_cxxflags -static -8: + echo 'int main() {}' -8: + c++ -B. -static -o /dev/null -xc++ - -6: + cc -B. -o out/test/x86_64/arch-x86_64-empty-mergeable-section/exe out/test/x86_64/arch-x86_64-empty-mergeable-section/a.o out/test/x86_64/arch-x86_64-empty-mergeable-section/b.o out/test/x86_64/arch-x86_64-empty-mergeable-section/c.o -12: + nm out/test/x86_64/arch-x86_64-gnu-retain/exe1 -12: + grep foo -12: 0000000000001694 t foo -12: + cc -B. -o out/test/x86_64/arch-x86_64-gnu-retain/exe1 out/test/x86_64/arch-x86_64-gnu-retain/a.o out/test/x86_64/arch-x86_64-gnu-retain/c.o -Wl,-gc-sections -11: + cc -B. -o out/test/x86_64/arch-x86_64-gnu-linkonce/exe out/test/x86_64/arch-x86_64-gnu-linkonce/a.o out/test/x86_64/arch-x86_64-gnu-linkonce/b.o out/test/x86_64/arch-x86_64-gnu-linkonce/c.o -14: + test_cflags -static -14: + echo 'int main() {}' -14: + cc -B. -static -o /dev/null -xc - -6: + out/test/x86_64/arch-x86_64-empty-mergeable-section/exe -6: + readelf -SW out/test/x86_64/arch-x86_64-empty-mergeable-section/exe -6: + grep '.rodata.str1.1 .* AMS ' out/test/x86_64/arch-x86_64-empty-mergeable-section/log 6: [16] .rodata.str1.1 PROGBITS 0000000000000568 000568 000008 01 AMS 0 0 1 +8: + test_cxxflags -static 6: + not grep '.rodata.str1.1 .* AM ' out/test/x86_64/arch-x86_64-empty-mergeable-section/log -12: + nm out/test/x86_64/arch-x86_64-gnu-retain/exe1 6: + grep '.rodata.str1.1 .* AM ' out/test/x86_64/arch-x86_64-empty-mergeable-section/log -12: + not grep foo -12: + grep foo +8: + echo 'int main() {}' +8: + c++ -B. -static -o /dev/null -xc++ - +5: + out/test/x86_64/arch-x86_64-apx-tlsdesc/tlsdesc 6: + return 0 6: + on_exit 6: + echo OK 6: OK 6: + exit 0 -12: + return 0 - 6/402 Test #6: x86_64-arch-x86_64-empty-mergeable-section ............ Passed 0.16 sec -12: + on_exit -12: + echo OK -12: OK -12: + exit 0 +12: + cat +12: + cc -o out/test/x86_64/arch-x86_64-gnu-retain/c.o -c -xassembler - + 5/402 Test #6: x86_64-arch-x86_64-empty-mergeable-section ............ Passed 0.28 sec +test 17 + Start 17: x86_64-arch-x86_64-incompatible-libs + +17: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-incompatible-libs.sh" +17: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +17: Environment variables: +17: MACHINE=x86_64 +17: CPU= +17: Test timeout computed to be: 1500 +11: + objdump -d out/test/x86_64/arch-x86_64-gnu-linkonce/exe +13: + cc -B. -o out/test/x86_64/arch-x86_64-gotpcrelx/exe out/test/x86_64/arch-x86_64-gotpcrelx/a.o out/test/x86_64/arch-x86_64-gotpcrelx/b.o +5: + command -v sde64 +5: + skip +5: + echo skipped +5: skipped +5: + trap - EXIT +5: + exit 0 + 6/402 Test #5: x86_64-arch-x86_64-apx-tlsdesc ........................***Skipped 0.30 sec test 18 Start 18: x86_64-arch-x86_64-incompatible-libs2 @@ -2906,43 +2902,34 @@ 18: MACHINE=x86_64 18: CPU= 18: Test timeout computed to be: 1500 -13: + cc -B. -o out/test/x86_64/arch-x86_64-gotpcrelx/exe out/test/x86_64/arch-x86_64-gotpcrelx/a.o out/test/x86_64/arch-x86_64-gotpcrelx/b.o -5: + echo 'int y(); int main() { y(); }' -5: + cc -xc -c -o out/test/x86_64/arch-x86_64-apx-tlsdesc/tlsdesc.o - -1: + cc -B. -shared -o out/test/x86_64/arch-x86_64-address-equality/d.so out/test/x86_64/arch-x86_64-address-equality/c.o - 7/402 Test #12: x86_64-arch-x86_64-gnu-retain ......................... Passed 0.15 sec -test 19 - Start 19: x86_64-arch-x86_64-incompatible-obj - -19: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-incompatible-obj.sh" -19: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -19: Environment variables: -19: MACHINE=x86_64 -19: CPU= -19: Test timeout computed to be: 1500 -18: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-incompatible-libs2.sh -19: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-incompatible-obj.sh +11: + grep -A1 '<__x86.get_pc_thunk.bx>:' 11: + objdump -d out/test/x86_64/arch-x86_64-gnu-linkonce/exe -19: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -19: ++ export LC_ALL=C -19: ++ LC_ALL=C -19: ++ '[' -z x86_64 ']' -19: ++ '[' -z '' ']' -19: ++ TESTDIR=out/test/x86_64 -19: ++ CC=cc -19: ++ CXX=c++ -19: ++ GCC=gcc -19: ++ GXX=g++ -19: ++ OBJDUMP=objdump -19: ++ OBJCOPY=objcopy -19: ++ STRIP=strip -19: ++ QEMU= +12: + cc -B. -o out/test/x86_64/arch-x86_64-gnu-retain/exe1 out/test/x86_64/arch-x86_64-gnu-retain/a.o out/test/x86_64/arch-x86_64-gnu-retain/b.o -Wl,-gc-sections +14: + test_cflags -static +14: + echo 'int main() {}' +14: + cc -B. -static -o /dev/null -xc - +11: + grep -F 'puts$plt' +17: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-incompatible-libs.sh +17: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +17: ++ export LC_ALL=C +17: ++ LC_ALL=C +17: ++ '[' -z x86_64 ']' +17: ++ '[' -z '' ']' +17: ++ TESTDIR=out/test/x86_64 +17: ++ CC=cc +17: ++ CXX=c++ +17: ++ GCC=gcc +17: ++ GXX=g++ +17: ++ OBJDUMP=objdump +17: ++ OBJCOPY=objcopy +17: ++ STRIP=strip +17: ++ QEMU= +18: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-incompatible-libs2.sh 18: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 18: ++ export LC_ALL=C 18: ++ LC_ALL=C 18: ++ '[' -z x86_64 ']' 18: ++ '[' -z '' ']' -19: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-incompatible-obj.sh .sh 18: ++ TESTDIR=out/test/x86_64 18: ++ CC=cc 18: ++ CXX=c++ @@ -2952,46 +2939,35 @@ 18: ++ OBJCOPY=objcopy 18: ++ STRIP=strip 18: ++ QEMU= -18: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-incompatible-libs2.sh .sh -19: ++ testname=arch-x86_64-incompatible-obj -19: ++ t=out/test/x86_64/arch-x86_64-incompatible-obj -19: ++ mkdir -p out/test/x86_64/arch-x86_64-incompatible-obj -18: ++ testname=arch-x86_64-incompatible-libs2 -18: ++ t=out/test/x86_64/arch-x86_64-incompatible-libs2 -18: ++ mkdir -p out/test/x86_64/arch-x86_64-incompatible-libs2 -11: + objdump -d out/test/x86_64/arch-x86_64-gnu-linkonce/exe -19: ++ case $MACHINE in -11: + grep -A1 '<__x86.get_pc_thunk.bx>:' -19: ++ tlsdesc_opt=-mtls-dialect=gnu2 -11: + grep -F 'puts$plt' -18: ++ case $MACHINE in -18: ++ tlsdesc_opt=-mtls-dialect=gnu2 -19: +++ uname -19: ++ '[' Linux = FreeBSD ']' -19: ++ trap 'on_error $LINENO' ERR -19: ++ trap on_exit EXIT -19: ++ echo -n 'Testing arch-x86_64-incompatible-obj ... ' -19: Testing arch-x86_64-incompatible-obj ... ++ set -o pipefail -19: ++ set -x -19: + test_cflags -m32 -19: + echo 'int main() {}' -19: + cc -B. -m32 -o /dev/null -xc - -18: +++ uname -18: ++ '[' Linux = FreeBSD ']' -18: ++ trap 'on_error $LINENO' ERR -18: ++ trap on_exit EXIT -18: ++ echo -n 'Testing arch-x86_64-incompatible-libs2 ... ' -18: Testing arch-x86_64-incompatible-libs2 ... ++ set -o pipefail -18: ++ set -x -18: + test_cflags -m32 +1: + out/test/x86_64/arch-x86_64-address-equality/exe1 +13: + out/test/x86_64/arch-x86_64-gotpcrelx/exe 11: 1719: e8 f2 fe ff ff call 1610 -18: + echo 'int main() {}' -18: + cc -B. -m32 -o /dev/null -xc - +15: + skip +15: + echo skipped +15: skipped +15: + trap - EXIT +15: + exit 0 +13: 0 0 +13: + on_exit +13: + echo OK +13: OK +13: + exit 0 11: + on_exit 11: + echo OK 11: OK 11: + exit 0 - 8/402 Test #11: x86_64-arch-x86_64-gnu-linkonce ....................... Passed 0.17 sec + 7/402 Test #15: x86_64-arch-x86_64-incompatible-libs-linker-script ....***Skipped 0.21 sec +test 19 + Start 19: x86_64-arch-x86_64-incompatible-obj + +19: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-incompatible-obj.sh" +19: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +19: Environment variables: +19: MACHINE=x86_64 +19: CPU= +19: Test timeout computed to be: 1500 + 8/402 Test #11: x86_64-arch-x86_64-gnu-linkonce ....................... Passed 0.28 sec + 9/402 Test #13: x86_64-arch-x86_64-gotpcrelx .......................... Passed 0.26 sec test 20 Start 20: x86_64-arch-x86_64-init-array-readonly @@ -3001,19 +2977,6 @@ 20: MACHINE=x86_64 20: CPU= 20: Test timeout computed to be: 1500 -15: + skip -15: + echo skipped -15: skipped -15: + trap - EXIT -15: + exit 0 -17: + skip -17: + echo skipped -17: skipped -17: + trap - EXIT -17: + exit 0 -1: + cc -B. -o out/test/x86_64/arch-x86_64-address-equality/exe1 out/test/x86_64/arch-x86_64-address-equality/a.o out/test/x86_64/arch-x86_64-address-equality/b.o out/test/x86_64/arch-x86_64-address-equality/d.so -pie - 9/402 Test #15: x86_64-arch-x86_64-incompatible-libs-linker-script ....***Skipped 0.17 sec - 10/402 Test #17: x86_64-arch-x86_64-incompatible-libs ..................***Skipped 0.10 sec test 21 Start 21: x86_64-arch-x86_64-init-array @@ -3023,15 +2986,68 @@ 21: MACHINE=x86_64 21: CPU= 21: Test timeout computed to be: 1500 -test 22 - Start 22: x86_64-arch-x86_64-isa-level - -22: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-isa-level.sh" -22: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -22: Environment variables: -22: MACHINE=x86_64 -22: CPU= -22: Test timeout computed to be: 1500 +17: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-incompatible-libs.sh .sh +17: ++ testname=arch-x86_64-incompatible-libs +17: ++ t=out/test/x86_64/arch-x86_64-incompatible-libs +17: ++ mkdir -p out/test/x86_64/arch-x86_64-incompatible-libs +17: ++ case $MACHINE in +17: ++ tlsdesc_opt=-mtls-dialect=gnu2 +17: +++ uname +17: ++ '[' Linux = FreeBSD ']' +17: ++ trap 'on_error $LINENO' ERR +17: ++ trap on_exit EXIT +17: ++ echo -n 'Testing arch-x86_64-incompatible-libs ... ' +17: Testing arch-x86_64-incompatible-libs ... ++ set -o pipefail +17: ++ set -x +17: + test_cflags -m32 +1: + grep '^1 ' +1: 1 0x563f47eea680 0x563f47eea680 +1: + cc -B. -o out/test/x86_64/arch-x86_64-address-equality/exe2 out/test/x86_64/arch-x86_64-address-equality/a.o out/test/x86_64/arch-x86_64-address-equality/b.o out/test/x86_64/arch-x86_64-address-equality/d.so -pie -Wl,-no-relax +1: + grep '^1 ' +1: + out/test/x86_64/arch-x86_64-address-equality/exe2 +1: 1 0x5605a2705680 0x5605a2705680 +1: + on_exit +1: + echo OK +1: OK +1: + exit 0 +18: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-incompatible-libs2.sh .sh +18: ++ testname=arch-x86_64-incompatible-libs2 +18: ++ t=out/test/x86_64/arch-x86_64-incompatible-libs2 +18: ++ mkdir -p out/test/x86_64/arch-x86_64-incompatible-libs2 +18: ++ case $MACHINE in +18: ++ tlsdesc_opt=-mtls-dialect=gnu2 +18: +++ uname +18: ++ '[' Linux = FreeBSD ']' +18: ++ trap 'on_error $LINENO' ERR +18: ++ trap on_exit EXIT +18: ++ echo -n 'Testing arch-x86_64-incompatible-libs2 ... ' +18: Testing arch-x86_64-incompatible-libs2 ... ++ set -o pipefail +18: ++ set -x +18: + test_cflags -m32 +18: + cc -B. -m32 -o /dev/null -xc - +9: + grep 'GNU_STACK.* RWE ' +9: + readelf --segments -W out/test/x86_64/arch-x86_64-execstack-if-needed/exe +9: GNU_STACK 0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x000000 RWE 0x1 +9: + on_exit +9: + echo OK +9: OK +9: + exit 0 +19: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-incompatible-obj.sh +19: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +19: ++ export LC_ALL=C +19: ++ LC_ALL=C +19: ++ '[' -z x86_64 ']' +19: ++ '[' -z '' ']' +19: ++ TESTDIR=out/test/x86_64 +19: ++ CC=cc +19: ++ CXX=c++ +19: ++ GCC=gcc +19: ++ GXX=g++ +19: ++ OBJDUMP=objdump +19: ++ OBJCOPY=objcopy +19: ++ STRIP=strip +19: ++ QEMU= +19: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-incompatible-obj.sh .sh 20: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-init-array-readonly.sh 20: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 20: ++ export LC_ALL=C @@ -3047,7 +3063,26 @@ 20: ++ OBJCOPY=objcopy 20: ++ STRIP=strip 20: ++ QEMU= -20: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-init-array-readonly.sh .sh + 10/402 Test #1: x86_64-arch-x86_64-address-equality ................... Passed 0.39 sec + 11/402 Test #9: x86_64-arch-x86_64-execstack-if-needed ................ Passed 0.33 sec +test 22 + Start 22: x86_64-arch-x86_64-isa-level + +22: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-isa-level.sh" +22: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +22: Environment variables: +22: MACHINE=x86_64 +22: CPU= +22: Test timeout computed to be: 1500 +test 23 + Start 23: x86_64-arch-x86_64-large-bss + +23: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-large-bss.sh" +23: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +23: Environment variables: +23: MACHINE=x86_64 +23: CPU= +23: Test timeout computed to be: 1500 21: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-init-array.sh 21: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 21: ++ export LC_ALL=C @@ -3063,15 +3098,30 @@ 21: ++ OBJCOPY=objcopy 21: ++ STRIP=strip 21: ++ QEMU= -13: + out/test/x86_64/arch-x86_64-gotpcrelx/exe 21: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-init-array.sh .sh -20: ++ testname=arch-x86_64-init-array-readonly +21: ++ testname=arch-x86_64-init-array +21: ++ t=out/test/x86_64/arch-x86_64-init-array +21: ++ mkdir -p out/test/x86_64/arch-x86_64-init-array +21: ++ case $MACHINE in +21: ++ tlsdesc_opt=-mtls-dialect=gnu2 +21: +++ uname +21: ++ '[' Linux = FreeBSD ']' +21: ++ trap 'on_error $LINENO' ERR +21: ++ trap on_exit EXIT +21: ++ echo -n 'Testing arch-x86_64-init-array ... ' +21: Testing arch-x86_64-init-array ... ++ set -o pipefail +21: ++ set -x +18: + echo 'int main() {}' +19: ++ testname=arch-x86_64-incompatible-obj +19: ++ t=out/test/x86_64/arch-x86_64-incompatible-obj +19: ++ mkdir -p out/test/x86_64/arch-x86_64-incompatible-obj +19: ++ case $MACHINE in +19: ++ tlsdesc_opt=-mtls-dialect=gnu2 +17: + cc -B. -m32 -o /dev/null -xc - +17: + echo 'int main() {}' +20: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-init-array-readonly.sh .sh 22: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-isa-level.sh -20: ++ t=out/test/x86_64/arch-x86_64-init-array-readonly -20: ++ mkdir -p out/test/x86_64/arch-x86_64-init-array-readonly -13: 0 0 22: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -13: + on_exit 22: ++ export LC_ALL=C 22: ++ LC_ALL=C 22: ++ '[' -z x86_64 ']' @@ -3085,53 +3135,27 @@ 22: ++ OBJCOPY=objcopy 22: ++ STRIP=strip 22: ++ QEMU= -13: + echo OK -13: OK -13: + exit 0 -22: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-isa-level.sh .sh - 11/402 Test #13: x86_64-arch-x86_64-gotpcrelx .......................... Passed 0.19 sec -21: ++ testname=arch-x86_64-init-array -21: ++ t=out/test/x86_64/arch-x86_64-init-array -21: ++ mkdir -p out/test/x86_64/arch-x86_64-init-array -test 23 - Start 23: x86_64-arch-x86_64-large-bss - -23: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-large-bss.sh" -23: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -23: Environment variables: -23: MACHINE=x86_64 -23: CPU= -23: Test timeout computed to be: 1500 -21: ++ case $MACHINE in -21: ++ tlsdesc_opt=-mtls-dialect=gnu2 -21: +++ uname -22: ++ testname=arch-x86_64-isa-level -22: ++ t=out/test/x86_64/arch-x86_64-isa-level -22: ++ mkdir -p out/test/x86_64/arch-x86_64-isa-level -22: ++ case $MACHINE in -22: ++ tlsdesc_opt=-mtls-dialect=gnu2 +20: ++ testname=arch-x86_64-init-array-readonly +20: ++ t=out/test/x86_64/arch-x86_64-init-array-readonly +20: ++ mkdir -p out/test/x86_64/arch-x86_64-init-array-readonly +12: + grep foo +12: + nm out/test/x86_64/arch-x86_64-gnu-retain/exe1 +21: + cc -c -o out/test/x86_64/arch-x86_64-init-array/a.o -x assembler - +21: + cat +16: + test_cflags -m32 +12: 0000000000001694 t foo +12: + cc -B. -o out/test/x86_64/arch-x86_64-gnu-retain/exe1 out/test/x86_64/arch-x86_64-gnu-retain/a.o out/test/x86_64/arch-x86_64-gnu-retain/c.o -Wl,-gc-sections 20: ++ case $MACHINE in 20: ++ tlsdesc_opt=-mtls-dialect=gnu2 -20: +++ uname -21: ++ '[' Linux = FreeBSD ']' -22: +++ uname -21: ++ trap 'on_error $LINENO' ERR -21: ++ trap on_exit EXIT -21: ++ echo -n 'Testing arch-x86_64-init-array ... ' -21: Testing arch-x86_64-init-array ... ++ set -o pipefail -21: ++ set -x -20: ++ '[' Linux = FreeBSD ']' -20: ++ trap 'on_error $LINENO' ERR -21: + cat -21: + cc -c -o out/test/x86_64/arch-x86_64-init-array/a.o -x assembler - -22: ++ '[' Linux = FreeBSD ']' -22: ++ trap 'on_error $LINENO' ERR -22: ++ trap on_exit EXIT -22: ++ echo -n 'Testing arch-x86_64-isa-level ... ' -22: Testing arch-x86_64-isa-level ... ++ set -o pipefail -22: ++ set -x -22: + cat -22: + cc -o out/test/x86_64/arch-x86_64-isa-level/a.o -c -xc - +16: + cc -B. -m32 -o /dev/null -xc - +19: +++ uname +19: ++ '[' Linux = FreeBSD ']' +19: ++ trap 'on_error $LINENO' ERR +19: ++ trap on_exit EXIT +19: ++ echo -n 'Testing arch-x86_64-incompatible-obj ... ' +19: Testing arch-x86_64-incompatible-obj ... ++ set -o pipefail +19: ++ set -x +19: + test_cflags -m32 23: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-large-bss.sh 23: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 23: ++ export LC_ALL=C @@ -3147,46 +3171,58 @@ 23: ++ OBJCOPY=objcopy 23: ++ STRIP=strip 23: ++ QEMU= -5: + cc -o out/test/x86_64/arch-x86_64-apx-tlsdesc/tlsdesc out/test/x86_64/arch-x86_64-apx-tlsdesc/tlsdesc.o out/test/x86_64/arch-x86_64-apx-tlsdesc/tlsdesc.so +23: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-large-bss.sh .sh +19: + echo 'int main() {}' +19: + cc -B. -m32 -o /dev/null -xc - +16: + echo 'int main() {}' +23: ++ testname=arch-x86_64-large-bss +23: ++ t=out/test/x86_64/arch-x86_64-large-bss +23: ++ mkdir -p out/test/x86_64/arch-x86_64-large-bss +23: ++ case $MACHINE in +23: ++ tlsdesc_opt=-mtls-dialect=gnu2 +22: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-isa-level.sh .sh +20: +++ uname +20: ++ '[' Linux = FreeBSD ']' +20: ++ trap 'on_error $LINENO' ERR 20: ++ trap on_exit EXIT 20: ++ echo -n 'Testing arch-x86_64-init-array-readonly ... ' 20: Testing arch-x86_64-init-array-readonly ... ++ set -o pipefail 20: ++ set -x -23: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-large-bss.sh .sh -20: + cc -c -o out/test/x86_64/arch-x86_64-init-array-readonly/a.o -x assembler - +22: ++ testname=arch-x86_64-isa-level +22: ++ t=out/test/x86_64/arch-x86_64-isa-level +22: ++ mkdir -p out/test/x86_64/arch-x86_64-isa-level 20: + cat -23: ++ testname=arch-x86_64-large-bss -23: ++ t=out/test/x86_64/arch-x86_64-large-bss -23: ++ mkdir -p out/test/x86_64/arch-x86_64-large-bss 21: + cat +20: + cc -c -o out/test/x86_64/arch-x86_64-init-array-readonly/a.o -x assembler - 21: + cc -c -o out/test/x86_64/arch-x86_64-init-array/b.o -xc - -23: ++ case $MACHINE in -23: ++ tlsdesc_opt=-mtls-dialect=gnu2 23: +++ uname -8: + c++ -B. -o out/test/x86_64/arch-x86_64-exception-mcmodel-large/exe out/test/x86_64/arch-x86_64-exception-mcmodel-large/a.o -static -mcmodel=large -20: + cc -c -o out/test/x86_64/arch-x86_64-init-array-readonly/b.o -x assembler - -20: + cat 23: ++ '[' Linux = FreeBSD ']' 23: ++ trap 'on_error $LINENO' ERR 23: ++ trap on_exit EXIT 23: ++ echo -n 'Testing arch-x86_64-large-bss ... ' 23: Testing arch-x86_64-large-bss ... ++ set -o pipefail 23: ++ set -x -23: + cat 23: + cc -o out/test/x86_64/arch-x86_64-large-bss/a.o -c -xc - -mcmodel=large -20: + sed -i -e s/init_xxxxx/init_array/g out/test/x86_64/arch-x86_64-init-array-readonly/b.o -1: + out/test/x86_64/arch-x86_64-address-equality/exe1 -1: + grep '^1 ' -1: 1 0x55e1af7ba680 0x55e1af7ba680 -1: + cc -B. -o out/test/x86_64/arch-x86_64-address-equality/exe2 out/test/x86_64/arch-x86_64-address-equality/a.o out/test/x86_64/arch-x86_64-address-equality/b.o out/test/x86_64/arch-x86_64-address-equality/d.so -pie -Wl,-no-relax -5: + out/test/x86_64/arch-x86_64-apx-tlsdesc/tlsdesc -5: + command -v sde64 -5: + skip -5: + echo skipped -5: skipped -5: + trap - EXIT -5: + exit 0 - 12/402 Test #5: x86_64-arch-x86_64-apx-tlsdesc ........................***Skipped 0.26 sec +23: + cat +22: ++ case $MACHINE in +22: ++ tlsdesc_opt=-mtls-dialect=gnu2 +22: +++ uname +22: ++ '[' Linux = FreeBSD ']' +22: ++ trap 'on_error $LINENO' ERR +22: ++ trap on_exit EXIT +22: ++ echo -n 'Testing arch-x86_64-isa-level ... ' +22: Testing arch-x86_64-isa-level ... ++ set -o pipefail +22: ++ set -x +22: + cc -o out/test/x86_64/arch-x86_64-isa-level/a.o -c -xc - +22: + cat +20: + cat +20: + cc -c -o out/test/x86_64/arch-x86_64-init-array-readonly/b.o -x assembler - +16: + skip +16: + echo skipped +16: skipped +16: + trap - EXIT +16: + exit 0 + 12/402 Test #16: x86_64-arch-x86_64-incompatible-libs-linker-script2 ...***Skipped 0.27 sec test 24 Start 24: x86_64-arch-x86_64-mergeable-records @@ -3196,6 +3232,27 @@ 24: MACHINE=x86_64 24: CPU= 24: Test timeout computed to be: 1500 +14: + c++ -march=x86-64 -o out/test/x86_64/arch-x86_64-ifunc-alias/a.o -c -xc++ - -fno-PIE +14: + cat +18: + skip +18: + echo skipped +18: skipped +18: + trap - EXIT +18: + exit 0 +12: + not grep foo +12: + grep foo + 13/402 Test #18: x86_64-arch-x86_64-incompatible-libs2 .................***Skipped 0.15 sec +12: + nm out/test/x86_64/arch-x86_64-gnu-retain/exe1 +test 25 + Start 25: x86_64-arch-x86_64-mergeable-strings-nonalloc + +25: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-mergeable-strings-nonalloc.sh" +25: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +25: Environment variables: +25: MACHINE=x86_64 +25: CPU= +25: Test timeout computed to be: 1500 +20: + sed -i -e s/init_xxxxx/init_array/g out/test/x86_64/arch-x86_64-init-array-readonly/b.o 24: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-mergeable-records.sh 24: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 24: ++ export LC_ALL=C @@ -3211,59 +3268,12 @@ 24: ++ OBJCOPY=objcopy 24: ++ STRIP=strip 24: ++ QEMU= -24: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-mergeable-records.sh .sh -20: + cat -24: ++ testname=arch-x86_64-mergeable-records -24: ++ t=out/test/x86_64/arch-x86_64-mergeable-records -24: ++ mkdir -p out/test/x86_64/arch-x86_64-mergeable-records -14: + cat -14: + c++ -march=x86-64 -o out/test/x86_64/arch-x86_64-ifunc-alias/a.o -c -xc++ - -fno-PIE -20: + cc -c -o out/test/x86_64/arch-x86_64-init-array-readonly/c.o -xc - -24: ++ case $MACHINE in -24: ++ tlsdesc_opt=-mtls-dialect=gnu2 -24: +++ uname -24: ++ '[' Linux = FreeBSD ']' -24: ++ trap 'on_error $LINENO' ERR -24: ++ trap on_exit EXIT -24: ++ echo -n 'Testing arch-x86_64-mergeable-records ... ' -24: Testing arch-x86_64-mergeable-records ... ++ set -o pipefail -24: ++ set -x -24: + test_cflags -static -24: + cc -B. -static -o /dev/null -xc - -24: + echo 'int main() {}' -21: + cc -B. -o out/test/x86_64/arch-x86_64-init-array/exe out/test/x86_64/arch-x86_64-init-array/a.o out/test/x86_64/arch-x86_64-init-array/b.o -22: + cc -B. -o out/test/x86_64/arch-x86_64-isa-level/exe2 out/test/x86_64/arch-x86_64-isa-level/a.o -Wl,-z,x86-64-v2 -1: + grep '^1 ' -1: + out/test/x86_64/arch-x86_64-address-equality/exe2 -23: + cat -23: + cc -o out/test/x86_64/arch-x86_64-large-bss/b.o -c -xc - -mcmodel=large 19: + skip 19: + echo skipped 19: skipped 19: + trap - EXIT 19: + exit 0 - 13/402 Test #19: x86_64-arch-x86_64-incompatible-obj ...................***Skipped 0.13 sec -test 25 - Start 25: x86_64-arch-x86_64-mergeable-strings-nonalloc - -25: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-mergeable-strings-nonalloc.sh" -25: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -25: Environment variables: -25: MACHINE=x86_64 -25: CPU= -25: Test timeout computed to be: 1500 -18: + skip -18: + echo skipped -18: skipped -18: + trap - EXIT -18: + exit 0 -1: 1 0x556d37ac0680 0x556d37ac0680 -1: + on_exit -1: + echo OK -1: OK -1: + exit 0 - 14/402 Test #1: x86_64-arch-x86_64-address-equality ................... Passed 0.31 sec - 15/402 Test #18: x86_64-arch-x86_64-incompatible-libs2 .................***Skipped 0.14 sec + 14/402 Test #19: x86_64-arch-x86_64-incompatible-obj ...................***Skipped 0.14 sec test 26 Start 26: x86_64-arch-x86_64-mergeable-strings @@ -3273,6 +3283,22 @@ 26: MACHINE=x86_64 26: CPU= 26: Test timeout computed to be: 1500 +12: + return 0 +12: + on_exit +12: + echo OK +12: OK +12: + exit 0 +24: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-mergeable-records.sh .sh +24: ++ testname=arch-x86_64-mergeable-records +24: ++ t=out/test/x86_64/arch-x86_64-mergeable-records +24: ++ mkdir -p out/test/x86_64/arch-x86_64-mergeable-records +17: + skip +17: + echo skipped +17: skipped +17: + trap - EXIT +17: + exit 0 + 15/402 Test #12: x86_64-arch-x86_64-gnu-retain ......................... Passed 0.42 sec + 16/402 Test #17: x86_64-arch-x86_64-incompatible-libs ..................***Skipped 0.19 sec test 27 Start 27: x86_64-arch-x86_64-note-property @@ -3282,6 +3308,15 @@ 27: MACHINE=x86_64 27: CPU= 27: Test timeout computed to be: 1500 +test 28 + Start 28: x86_64-arch-x86_64-note-property2 + +28: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-note-property2.sh" +28: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +28: Environment variables: +28: MACHINE=x86_64 +28: CPU= +28: Test timeout computed to be: 1500 25: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-mergeable-strings-nonalloc.sh 25: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 25: ++ export LC_ALL=C @@ -3301,26 +3336,13 @@ 25: ++ testname=arch-x86_64-mergeable-strings-nonalloc 25: ++ t=out/test/x86_64/arch-x86_64-mergeable-strings-nonalloc 25: ++ mkdir -p out/test/x86_64/arch-x86_64-mergeable-strings-nonalloc -16: + test_cflags -m32 -16: + echo 'int main() {}' -16: + cc -B. -m32 -o /dev/null -xc - -26: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-mergeable-strings.sh +24: ++ case $MACHINE in +24: ++ tlsdesc_opt=-mtls-dialect=gnu2 +21: + cc -B. -o out/test/x86_64/arch-x86_64-init-array/exe out/test/x86_64/arch-x86_64-init-array/a.o out/test/x86_64/arch-x86_64-init-array/b.o +20: + cat +20: + cc -c -o out/test/x86_64/arch-x86_64-init-array-readonly/c.o -xc - 27: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-note-property.sh -26: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -26: ++ export LC_ALL=C -26: ++ LC_ALL=C -26: ++ '[' -z x86_64 ']' -26: ++ '[' -z '' ']' -26: ++ TESTDIR=out/test/x86_64 -26: ++ CC=cc -26: ++ CXX=c++ -26: ++ GCC=gcc -26: ++ GXX=g++ -26: ++ OBJDUMP=objdump -26: ++ OBJCOPY=objcopy -26: ++ STRIP=strip -26: ++ QEMU= -26: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-mergeable-strings.sh .sh +26: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-mergeable-strings.sh 27: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 27: ++ export LC_ALL=C 27: ++ LC_ALL=C @@ -3335,80 +3357,119 @@ 27: ++ OBJCOPY=objcopy 27: ++ STRIP=strip 27: ++ QEMU= +26: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +26: ++ export LC_ALL=C +26: ++ LC_ALL=C +26: ++ '[' -z x86_64 ']' +26: ++ '[' -z '' ']' +26: ++ TESTDIR=out/test/x86_64 +26: ++ CC=cc +26: ++ CXX=c++ +26: ++ GCC=gcc +26: ++ GXX=g++ +26: ++ OBJDUMP=objdump +26: ++ OBJCOPY=objcopy +26: ++ STRIP=strip +26: ++ QEMU= +24: +++ uname 25: ++ case $MACHINE in -27: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-note-property.sh .sh +25: ++ tlsdesc_opt=-mtls-dialect=gnu2 +24: ++ '[' Linux = FreeBSD ']' +24: ++ trap 'on_error $LINENO' ERR +24: ++ trap on_exit EXIT +24: ++ echo -n 'Testing arch-x86_64-mergeable-records ... ' +24: Testing arch-x86_64-mergeable-records ... ++ set -o pipefail +24: ++ set -x +24: + test_cflags -static +26: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-mergeable-strings.sh .sh 26: ++ testname=arch-x86_64-mergeable-strings 26: ++ t=out/test/x86_64/arch-x86_64-mergeable-strings 26: ++ mkdir -p out/test/x86_64/arch-x86_64-mergeable-strings -25: ++ tlsdesc_opt=-mtls-dialect=gnu2 +27: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-note-property.sh .sh +28: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-note-property2.sh +27: ++ testname=arch-x86_64-note-property +27: ++ t=out/test/x86_64/arch-x86_64-note-property +27: ++ mkdir -p out/test/x86_64/arch-x86_64-note-property +24: + cc -B. -static -o /dev/null -xc - 25: +++ uname +28: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +28: ++ export LC_ALL=C +28: ++ LC_ALL=C +28: ++ '[' -z x86_64 ']' +28: ++ '[' -z '' ']' +28: ++ TESTDIR=out/test/x86_64 +28: ++ CC=cc +28: ++ CXX=c++ +28: ++ GCC=gcc +28: ++ GXX=g++ +28: ++ OBJDUMP=objdump +28: ++ OBJCOPY=objcopy +28: ++ STRIP=strip +28: ++ QEMU= 25: ++ '[' Linux = FreeBSD ']' 25: ++ trap 'on_error $LINENO' ERR 25: ++ trap on_exit EXIT 25: ++ echo -n 'Testing arch-x86_64-mergeable-strings-nonalloc ... ' 25: Testing arch-x86_64-mergeable-strings-nonalloc ... ++ set -o pipefail 25: ++ set -x -27: ++ testname=arch-x86_64-note-property -27: ++ t=out/test/x86_64/arch-x86_64-note-property -27: ++ mkdir -p out/test/x86_64/arch-x86_64-note-property -25: + cc -o out/test/x86_64/arch-x86_64-mergeable-strings-nonalloc/a.o -c -xc - +24: + echo 'int main() {}' +22: + cc -B. -o out/test/x86_64/arch-x86_64-isa-level/exe2 out/test/x86_64/arch-x86_64-isa-level/a.o -Wl,-z,x86-64-v2 26: ++ case $MACHINE in 26: ++ tlsdesc_opt=-mtls-dialect=gnu2 -20: + cc -B. -o out/test/x86_64/arch-x86_64-init-array-readonly/exe out/test/x86_64/arch-x86_64-init-array-readonly/a.o out/test/x86_64/arch-x86_64-init-array-readonly/b.o out/test/x86_64/arch-x86_64-init-array-readonly/c.o 25: + cat +25: + cc -o out/test/x86_64/arch-x86_64-mergeable-strings-nonalloc/a.o -c -xc - +28: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-note-property2.sh .sh +28: ++ testname=arch-x86_64-note-property2 +28: ++ t=out/test/x86_64/arch-x86_64-note-property2 +28: ++ mkdir -p out/test/x86_64/arch-x86_64-note-property2 27: ++ case $MACHINE in 27: ++ tlsdesc_opt=-mtls-dialect=gnu2 26: +++ uname 26: ++ '[' Linux = FreeBSD ']' -27: +++ uname 26: ++ trap 'on_error $LINENO' ERR 26: ++ trap on_exit EXIT 26: ++ echo -n 'Testing arch-x86_64-mergeable-strings ... ' 26: Testing arch-x86_64-mergeable-strings ... ++ set -o pipefail 26: ++ set -x 26: + test_cflags -static -26: + echo 'int main() {}' +23: + cat +28: ++ case $MACHINE in +23: + cc -o out/test/x86_64/arch-x86_64-large-bss/b.o -c -xc - -mcmodel=large +28: ++ tlsdesc_opt=-mtls-dialect=gnu2 +26: + cc -B. -static -o /dev/null -xc - +27: +++ uname 27: ++ '[' Linux = FreeBSD ']' 27: ++ trap 'on_error $LINENO' ERR 27: ++ trap on_exit EXIT 27: ++ echo -n 'Testing arch-x86_64-note-property ... ' 27: Testing arch-x86_64-note-property ... ++ set -o pipefail 27: ++ set -x -22: + readelf -n out/test/x86_64/arch-x86_64-isa-level/exe2 -27: + echo endbr64 +26: + echo 'int main() {}' +28: +++ uname +14: + c++ -B. -o out/test/x86_64/arch-x86_64-ifunc-alias/exe out/test/x86_64/arch-x86_64-ifunc-alias/a.o -static +20: + cc -B. -o out/test/x86_64/arch-x86_64-init-array-readonly/exe out/test/x86_64/arch-x86_64-init-array-readonly/a.o out/test/x86_64/arch-x86_64-init-array-readonly/b.o out/test/x86_64/arch-x86_64-init-array-readonly/c.o 27: + cc -o /dev/null -c -xassembler - -22: + grep -F 'Unknown note type: (0x00000005)' -22: + readelf -n out/test/x86_64/arch-x86_64-isa-level/exe2 -26: + cc -B. -static -o /dev/null -xc - -22: + grep -F 'procesor-specific type 0xc0008002' +27: + echo endbr64 +28: ++ '[' Linux = FreeBSD ']' +28: ++ trap 'on_error $LINENO' ERR +28: ++ trap on_exit EXIT +28: ++ echo -n 'Testing arch-x86_64-note-property2 ... ' +28: Testing arch-x86_64-note-property2 ... ++ set -o pipefail +28: ++ set -x +10: + c++ -B. -shared -o out/test/x86_64/arch-x86_64-function-multiversion/b.so out/test/x86_64/arch-x86_64-function-multiversion/a.o +27: + test_cflags -fcf-protection=branch +27: + cc -B. -fcf-protection=branch -o /dev/null -xc - 21: + out/test/x86_64/arch-x86_64-init-array/exe +28: + nm mold +28: + grep __tsan_init +27: + echo 'int main() {}' 21: + grep 'init1 init2 fini2 fini1' -27: + test_cflags -fcf-protection=branch -8: + out/test/x86_64/arch-x86_64-exception-mcmodel-large/exe -22: + readelf -n out/test/x86_64/arch-x86_64-isa-level/exe2 -22: + grep 'x86 ISA needed: .*x86-64-v2' 21: init1 init2 fini2 fini1 -27: + echo 'int main() {}' -27: + cc -B. -fcf-protection=branch -o /dev/null -xc - 21: + on_exit 21: + echo OK 21: OK 21: + exit 0 -8: + on_exit -8: + echo OK -8: OK -8: + exit 0 - 16/402 Test #21: x86_64-arch-x86_64-init-array ......................... Passed 0.14 sec -test 28 - Start 28: x86_64-arch-x86_64-note-property2 - -28: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-note-property2.sh" -28: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -28: Environment variables: -28: MACHINE=x86_64 -28: CPU= -28: Test timeout computed to be: 1500 - 17/402 Test #8: x86_64-arch-x86_64-exception-mcmodel-large ............ Passed 0.34 sec + 17/402 Test #21: x86_64-arch-x86_64-init-array ......................... Passed 0.23 sec test 29 Start 29: x86_64-arch-x86_64-note @@ -3418,28 +3479,7 @@ 29: MACHINE=x86_64 29: CPU= 29: Test timeout computed to be: 1500 -22: Properties: x86 ISA needed: x86-64-baseline, x86-64-v2 -22: + cc -B. -o out/test/x86_64/arch-x86_64-isa-level/exe3 out/test/x86_64/arch-x86_64-isa-level/a.o -Wl,-z,x86-64-v3 -28: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-note-property2.sh -28: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -28: ++ export LC_ALL=C -28: ++ LC_ALL=C -28: ++ '[' -z x86_64 ']' -28: ++ '[' -z '' ']' -28: ++ TESTDIR=out/test/x86_64 -28: ++ CC=cc -28: ++ CXX=c++ -28: ++ GCC=gcc -28: ++ GXX=g++ -28: ++ OBJDUMP=objdump -28: ++ OBJCOPY=objcopy -28: ++ STRIP=strip -28: ++ QEMU= -28: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-note-property2.sh .sh 29: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-note.sh -28: ++ testname=arch-x86_64-note-property2 -28: ++ t=out/test/x86_64/arch-x86_64-note-property2 -28: ++ mkdir -p out/test/x86_64/arch-x86_64-note-property2 29: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 29: ++ export LC_ALL=C 29: ++ LC_ALL=C @@ -3454,24 +3494,22 @@ 29: ++ OBJCOPY=objcopy 29: ++ STRIP=strip 29: ++ QEMU= +22: + grep -F 'Unknown note type: (0x00000005)' 29: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-note.sh .sh -28: ++ case $MACHINE in -28: ++ tlsdesc_opt=-mtls-dialect=gnu2 +22: + readelf -n out/test/x86_64/arch-x86_64-isa-level/exe2 29: ++ testname=arch-x86_64-note 29: ++ t=out/test/x86_64/arch-x86_64-note 29: ++ mkdir -p out/test/x86_64/arch-x86_64-note -28: +++ uname -28: ++ '[' Linux = FreeBSD ']' -28: ++ trap 'on_error $LINENO' ERR -28: ++ trap on_exit EXIT -28: ++ echo -n 'Testing arch-x86_64-note-property2 ... ' -28: Testing arch-x86_64-note-property2 ... ++ set -o pipefail -28: ++ set -x +8: + c++ -B. -o out/test/x86_64/arch-x86_64-exception-mcmodel-large/exe out/test/x86_64/arch-x86_64-exception-mcmodel-large/a.o -static -mcmodel=large +22: + grep -F 'procesor-specific type 0xc0008002' +22: + readelf -n out/test/x86_64/arch-x86_64-isa-level/exe2 +22: + grep 'x86 ISA needed: .*x86-64-v2' +22: + readelf -n out/test/x86_64/arch-x86_64-isa-level/exe2 +22: Properties: x86 ISA needed: x86-64-baseline, x86-64-v2 +22: + cc -B. -o out/test/x86_64/arch-x86_64-isa-level/exe3 out/test/x86_64/arch-x86_64-isa-level/a.o -Wl,-z,x86-64-v3 29: ++ case $MACHINE in 29: ++ tlsdesc_opt=-mtls-dialect=gnu2 29: +++ uname -28: + nm mold -28: + grep __tsan_init 29: ++ '[' Linux = FreeBSD ']' 29: ++ trap 'on_error $LINENO' ERR 29: ++ trap on_exit EXIT @@ -3479,17 +3517,23 @@ 29: Testing arch-x86_64-note ... ++ set -o pipefail 29: ++ set -x 29: + test_cflags -static -29: + cc -B. -static -o /dev/null -xc - -29: + echo 'int main() {}' -20: + out/test/x86_64/arch-x86_64-init-array-readonly/exe 23: + cc -B. -o out/test/x86_64/arch-x86_64-large-bss/exe out/test/x86_64/arch-x86_64-large-bss/a.o out/test/x86_64/arch-x86_64-large-bss/b.o +29: + echo 'int main() {}' +29: + cc -B. -static -o /dev/null -xc - +25: + cc -o out/test/x86_64/arch-x86_64-mergeable-strings-nonalloc/b.o -c -x assembler - +25: + cat +25: + cc -B. -o out/test/x86_64/arch-x86_64-mergeable-strings-nonalloc/exe out/test/x86_64/arch-x86_64-mergeable-strings-nonalloc/a.o out/test/x86_64/arch-x86_64-mergeable-strings-nonalloc/b.o +10: + cat +10: + c++ -o out/test/x86_64/arch-x86_64-function-multiversion/c.o -c -xc++ - -fPIC 20: + grep 'init1 init2' +20: + out/test/x86_64/arch-x86_64-init-array-readonly/exe +14: + out/test/x86_64/arch-x86_64-ifunc-alias/exe 20: init1 init2 20: + on_exit 20: + echo OK 20: OK 20: + exit 0 - 18/402 Test #20: x86_64-arch-x86_64-init-array-readonly ................ Passed 0.18 sec + 18/402 Test #20: x86_64-arch-x86_64-init-array-readonly ................ Passed 0.33 sec test 30 Start 30: x86_64-arch-x86_64-note2 @@ -3499,11 +3543,21 @@ 30: MACHINE=x86_64 30: CPU= 30: Test timeout computed to be: 1500 -22: + readelf -n out/test/x86_64/arch-x86_64-isa-level/exe3 -22: + grep 'x86 ISA needed: .*x86-64-v3' -22: Properties: x86 ISA needed: x86-64-baseline, x86-64-v3 +14: + on_exit +14: + echo OK +14: OK +14: + exit 0 + 19/402 Test #14: x86_64-arch-x86_64-ifunc-alias ........................ Passed 0.58 sec +test 31 + Start 31: x86_64-arch-x86_64-plt + +31: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-plt.sh" +31: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +31: Environment variables: +31: MACHINE=x86_64 +31: CPU= +31: Test timeout computed to be: 1500 30: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-note2.sh -22: + cc -B. -o out/test/x86_64/arch-x86_64-isa-level/exe4 out/test/x86_64/arch-x86_64-isa-level/a.o -Wl,-z,x86-64-v4 30: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 30: ++ export LC_ALL=C 30: ++ LC_ALL=C @@ -3524,7 +3578,14 @@ 30: ++ mkdir -p out/test/x86_64/arch-x86_64-note2 30: ++ case $MACHINE in 30: ++ tlsdesc_opt=-mtls-dialect=gnu2 +27: + cat +27: + cc -fcf-protection=branch -c -o out/test/x86_64/arch-x86_64-note-property/a.o -xc - +22: + readelf -n out/test/x86_64/arch-x86_64-isa-level/exe3 +22: + grep 'x86 ISA needed: .*x86-64-v3' +22: Properties: x86 ISA needed: x86-64-baseline, x86-64-v3 +22: + cc -B. -o out/test/x86_64/arch-x86_64-isa-level/exe4 out/test/x86_64/arch-x86_64-isa-level/a.o -Wl,-z,x86-64-v4 30: +++ uname +24: + cc -o out/test/x86_64/arch-x86_64-mergeable-records/a.o -c -x assembler - 30: ++ '[' Linux = FreeBSD ']' 30: ++ trap 'on_error $LINENO' ERR 30: ++ trap on_exit EXIT @@ -3532,28 +3593,19 @@ 30: Testing arch-x86_64-note2 ... ++ set -o pipefail 30: ++ set -x 30: + test_cflags -Xassembler -mx86-used-note=no -14: + c++ -B. -o out/test/x86_64/arch-x86_64-ifunc-alias/exe out/test/x86_64/arch-x86_64-ifunc-alias/a.o -static -30: + echo 'int main() {}' +25: + grep -F '03000000 00000000 ffffffff ffffffff' +24: + cat 30: + cc -B. -Xassembler -mx86-used-note=no -o /dev/null -xc - -23: + out/test/x86_64/arch-x86_64-large-bss/exe +25: + readelf -x .foo out/test/x86_64/arch-x86_64-mergeable-strings-nonalloc/exe +10: + c++ -B. -o out/test/x86_64/arch-x86_64-function-multiversion/exe out/test/x86_64/arch-x86_64-function-multiversion/b.so out/test/x86_64/arch-x86_64-function-multiversion/c.o 23: + grep -E '^1 c0000000$' +25: 0x00000000 03000000 00000000 ffffffff ffffffff ................ +23: + out/test/x86_64/arch-x86_64-large-bss/exe 23: 1 c0000000 23: + on_exit 23: + echo OK 23: OK 23: + exit 0 - 19/402 Test #23: x86_64-arch-x86_64-large-bss .......................... Passed 0.19 sec -test 31 - Start 31: x86_64-arch-x86_64-plt - -31: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-plt.sh" -31: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -31: Environment variables: -31: MACHINE=x86_64 -31: CPU= -31: Test timeout computed to be: 1500 -25: + cc -o out/test/x86_64/arch-x86_64-mergeable-strings-nonalloc/b.o -c -x assembler - -25: + cat 31: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-plt.sh 31: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 31: ++ export LC_ALL=C @@ -3569,31 +3621,13 @@ 31: ++ OBJCOPY=objcopy 31: ++ STRIP=strip 31: ++ QEMU= -31: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-plt.sh .sh -25: + cc -B. -o out/test/x86_64/arch-x86_64-mergeable-strings-nonalloc/exe out/test/x86_64/arch-x86_64-mergeable-strings-nonalloc/a.o out/test/x86_64/arch-x86_64-mergeable-strings-nonalloc/b.o -31: ++ testname=arch-x86_64-plt -31: ++ t=out/test/x86_64/arch-x86_64-plt -31: ++ mkdir -p out/test/x86_64/arch-x86_64-plt -31: ++ case $MACHINE in -31: ++ tlsdesc_opt=-mtls-dialect=gnu2 -31: +++ uname -22: + readelf -n out/test/x86_64/arch-x86_64-isa-level/exe4 -24: + cat -22: + grep 'x86 ISA needed: .*x86-64-v4' -31: ++ '[' Linux = FreeBSD ']' -24: + cc -o out/test/x86_64/arch-x86_64-mergeable-records/a.o -c -x assembler - -31: ++ trap 'on_error $LINENO' ERR -22: Properties: x86 ISA needed: x86-64-baseline, x86-64-v4 -22: + on_exit -22: + echo OK -22: OK -22: + exit 0 -31: ++ trap on_exit EXIT -31: ++ echo -n 'Testing arch-x86_64-plt ... ' -31: Testing arch-x86_64-plt ... ++ set -o pipefail -31: ++ set -x - 20/402 Test #22: x86_64-arch-x86_64-isa-level .......................... Passed 0.23 sec -31: + cat +28: + test_cflags -Xassembler -mx86-used-note=no +24: + cc -B. -static -o out/test/x86_64/arch-x86_64-mergeable-records/exe out/test/x86_64/arch-x86_64-mergeable-records/a.o +28: + cc -B. -Xassembler -mx86-used-note=no -o /dev/null -xc - +28: + echo 'int main() {}' +25: + grep -F xyz.abc. +25: + readelf -x .bar out/test/x86_64/arch-x86_64-mergeable-strings-nonalloc/exe + 20/402 Test #23: x86_64-arch-x86_64-large-bss .......................... Passed 0.34 sec test 32 Start 32: x86_64-arch-x86_64-preinit-array @@ -3603,9 +3637,26 @@ 32: MACHINE=x86_64 32: CPU= 32: Test timeout computed to be: 1500 -31: + cc -o out/test/x86_64/arch-x86_64-plt/a.o -c -x assembler - -31: + cc -B. -o out/test/x86_64/arch-x86_64-plt/exe out/test/x86_64/arch-x86_64-plt/a.o -24: + cc -B. -static -o out/test/x86_64/arch-x86_64-mergeable-records/exe out/test/x86_64/arch-x86_64-mergeable-records/a.o +30: + echo 'int main() {}' +25: 0x00000000 78797a00 61626300 xyz.abc. +25: + on_exit +25: + echo OK +25: OK +25: + exit 0 +31: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-plt.sh .sh +31: ++ testname=arch-x86_64-plt +31: ++ t=out/test/x86_64/arch-x86_64-plt +31: ++ mkdir -p out/test/x86_64/arch-x86_64-plt + 21/402 Test #25: x86_64-arch-x86_64-mergeable-strings-nonalloc ......... Passed 0.27 sec +test 33 + Start 33: x86_64-arch-x86_64-relax + +33: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-relax.sh" +33: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +33: Environment variables: +33: MACHINE=x86_64 +33: CPU= +33: Test timeout computed to be: 1500 32: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-preinit-array.sh 32: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 32: ++ export LC_ALL=C @@ -3625,36 +3676,59 @@ 32: ++ testname=arch-x86_64-preinit-array 32: ++ t=out/test/x86_64/arch-x86_64-preinit-array 32: ++ mkdir -p out/test/x86_64/arch-x86_64-preinit-array +8: + out/test/x86_64/arch-x86_64-exception-mcmodel-large/exe +8: + on_exit +8: + echo OK +8: OK +8: + exit 0 +26: + cc -o out/test/x86_64/arch-x86_64-mergeable-strings/a.o -c -x assembler - +26: + cat +29: + test_cflags -Xassembler -mx86-used-note=no + 22/402 Test #8: x86_64-arch-x86_64-exception-mcmodel-large ............ Passed 0.72 sec +27: + cat +test 34 + Start 34: x86_64-arch-x86_64-reloc-overflow + +34: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-reloc-overflow.sh" +34: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +34: Environment variables: +34: MACHINE=x86_64 +34: CPU= +34: Test timeout computed to be: 1500 +27: + cc -fcf-protection=none -c -o out/test/x86_64/arch-x86_64-note-property/b.o -xc - +29: + echo 'int main() {}' +29: + cc -B. -Xassembler -mx86-used-note=no -o /dev/null -xc - +22: + grep 'x86 ISA needed: .*x86-64-v4' +22: + readelf -n out/test/x86_64/arch-x86_64-isa-level/exe4 +22: Properties: x86 ISA needed: x86-64-baseline, x86-64-v4 +22: + on_exit +22: + echo OK +22: OK +22: + exit 0 +31: ++ case $MACHINE in +31: ++ tlsdesc_opt=-mtls-dialect=gnu2 +31: +++ uname +26: + cc -B. -static -o out/test/x86_64/arch-x86_64-mergeable-strings/exe out/test/x86_64/arch-x86_64-mergeable-strings/a.o 32: ++ case $MACHINE in 32: ++ tlsdesc_opt=-mtls-dialect=gnu2 -32: +++ uname -27: + cat -27: + cc -fcf-protection=branch -c -o out/test/x86_64/arch-x86_64-note-property/a.o -xc - -32: ++ '[' Linux = FreeBSD ']' -32: ++ trap 'on_error $LINENO' ERR -32: ++ trap on_exit EXIT -32: ++ echo -n 'Testing arch-x86_64-preinit-array ... ' -32: Testing arch-x86_64-preinit-array ... ++ set -o pipefail -32: ++ set -x -32: + is_musl -32: + grep musl -16: + skip -16: + echo skipped -16: skipped -16: + trap - EXIT -16: + exit 0 - 21/402 Test #16: x86_64-arch-x86_64-incompatible-libs-linker-script2 ...***Skipped 0.38 sec -test 33 - Start 33: x86_64-arch-x86_64-relax + 23/402 Test #22: x86_64-arch-x86_64-isa-level .......................... Passed 0.39 sec +test 35 + Start 35: x86_64-arch-x86_64-reloc-zero -33: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-relax.sh" -33: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -33: Environment variables: -33: MACHINE=x86_64 -33: CPU= -33: Test timeout computed to be: 1500 -32: + cat -32: + cc -c -o out/test/x86_64/arch-x86_64-preinit-array/a.o -x assembler - +35: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-reloc-zero.sh" +35: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +35: Environment variables: +35: MACHINE=x86_64 +35: CPU= +35: Test timeout computed to be: 1500 +31: ++ '[' Linux = FreeBSD ']' +31: ++ trap 'on_error $LINENO' ERR +31: ++ trap on_exit EXIT +31: ++ echo -n 'Testing arch-x86_64-plt ... ' +31: Testing arch-x86_64-plt ... ++ set -o pipefail +31: ++ set -x +31: + cat +31: + cc -o out/test/x86_64/arch-x86_64-plt/a.o -c -x assembler - 33: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-relax.sh 33: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 33: ++ export LC_ALL=C @@ -3670,37 +3744,75 @@ 33: ++ OBJCOPY=objcopy 33: ++ STRIP=strip 33: ++ QEMU= -14: + out/test/x86_64/arch-x86_64-ifunc-alias/exe +32: +++ uname +32: ++ '[' Linux = FreeBSD ']' +32: ++ trap 'on_error $LINENO' ERR +32: ++ trap on_exit EXIT +32: ++ echo -n 'Testing arch-x86_64-preinit-array ... ' +32: Testing arch-x86_64-preinit-array ... ++ set -o pipefail +32: ++ set -x +32: + is_musl +10: + out/test/x86_64/arch-x86_64-function-multiversion/exe +10: + grep '^H' +10: Howdy +10: + on_exit +10: + echo OK +10: OK +10: + exit 0 + 24/402 Test #10: x86_64-arch-x86_64-function-multiversion .............. Passed 0.72 sec +test 36 + Start 36: x86_64-arch-x86_64-reloc + +36: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-reloc.sh" +36: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +36: Environment variables: +36: MACHINE=x86_64 +36: CPU= +36: Test timeout computed to be: 1500 +32: + grep musl +32: + cc -c -o out/test/x86_64/arch-x86_64-preinit-array/a.o -x assembler - +32: + cat +31: + cc -B. -o out/test/x86_64/arch-x86_64-plt/exe out/test/x86_64/arch-x86_64-plt/a.o 33: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-relax.sh .sh -14: + on_exit -14: + echo OK -14: OK -14: + exit 0 33: ++ testname=arch-x86_64-relax 33: ++ t=out/test/x86_64/arch-x86_64-relax 33: ++ mkdir -p out/test/x86_64/arch-x86_64-relax - 22/402 Test #14: x86_64-arch-x86_64-ifunc-alias ........................ Passed 0.46 sec -test 34 - Start 34: x86_64-arch-x86_64-reloc-overflow - -34: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-reloc-overflow.sh" -34: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -34: Environment variables: -34: MACHINE=x86_64 -34: CPU= -34: Test timeout computed to be: 1500 +27: + ./mold -o out/test/x86_64/arch-x86_64-note-property/exe out/test/x86_64/arch-x86_64-note-property/a.o +34: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-reloc-overflow.sh +35: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-reloc-zero.sh +35: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +35: ++ export LC_ALL=C +35: ++ LC_ALL=C +35: ++ '[' -z x86_64 ']' +35: ++ '[' -z '' ']' +35: ++ TESTDIR=out/test/x86_64 +35: ++ CC=cc +35: ++ CXX=c++ +35: ++ GCC=gcc +35: ++ GXX=g++ +35: ++ OBJDUMP=objdump +35: ++ OBJCOPY=objcopy +35: ++ STRIP=strip +35: ++ QEMU= 33: ++ case $MACHINE in 33: ++ tlsdesc_opt=-mtls-dialect=gnu2 -33: +++ uname -33: ++ '[' Linux = FreeBSD ']' -33: ++ trap 'on_error $LINENO' ERR -33: ++ trap on_exit EXIT -33: ++ echo -n 'Testing arch-x86_64-relax ... ' -33: Testing arch-x86_64-relax ... ++ set -o pipefail -33: ++ set -x -33: + echo ret -33: + cc -c -o /dev/null -xassembler -Wa,-mrelax-relocations=yes - -34: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-reloc-overflow.sh +36: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-reloc.sh +36: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +36: ++ export LC_ALL=C +36: ++ LC_ALL=C +36: ++ '[' -z x86_64 ']' +36: ++ '[' -z '' ']' +36: ++ TESTDIR=out/test/x86_64 +36: ++ CC=cc +36: ++ CXX=c++ +36: ++ GCC=gcc +36: ++ GXX=g++ +36: ++ OBJDUMP=objdump +36: ++ OBJCOPY=objcopy +36: ++ STRIP=strip +36: ++ QEMU= +28: + CFLAGS='-Xassembler -mx86-used-note=no' +35: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-reloc-zero.sh .sh 34: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 34: ++ export LC_ALL=C 34: ++ LC_ALL=C @@ -3715,184 +3827,166 @@ 34: ++ OBJCOPY=objcopy 34: ++ STRIP=strip 34: ++ QEMU= -32: + cc -c -o out/test/x86_64/arch-x86_64-preinit-array/b.o -xc - +35: ++ testname=arch-x86_64-reloc-zero +35: ++ t=out/test/x86_64/arch-x86_64-reloc-zero +35: ++ mkdir -p out/test/x86_64/arch-x86_64-reloc-zero 34: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-reloc-overflow.sh .sh +32: + cat +32: + cc -c -o out/test/x86_64/arch-x86_64-preinit-array/b.o -xc - +28: + readelf -v +28: + grep -E 'GNU readelf .+ (2\.3[6-9]|2\.[4-9]|[3-9])' +33: +++ uname +36: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-reloc.sh .sh 34: ++ testname=arch-x86_64-reloc-overflow 34: ++ t=out/test/x86_64/arch-x86_64-reloc-overflow 34: ++ mkdir -p out/test/x86_64/arch-x86_64-reloc-overflow -32: + cat -26: + cat -26: + cc -o out/test/x86_64/arch-x86_64-mergeable-strings/a.o -c -x assembler - -31: + grep -F .got -33: + cat +28: GNU readelf (GNU Binutils for Debian) 2.44 +36: ++ testname=arch-x86_64-reloc +36: ++ t=out/test/x86_64/arch-x86_64-reloc +36: ++ mkdir -p out/test/x86_64/arch-x86_64-reloc +33: ++ '[' Linux = FreeBSD ']' +33: ++ trap 'on_error $LINENO' ERR +33: ++ trap on_exit EXIT +33: ++ echo -n 'Testing arch-x86_64-relax ... ' +33: Testing arch-x86_64-relax ... ++ set -o pipefail +33: ++ set -x +35: ++ case $MACHINE in +35: ++ tlsdesc_opt=-mtls-dialect=gnu2 +29: + CFLAGS='-Xassembler -mx86-used-note=no' +27: + grep 'x86 feature: IBT' +27: + readelf -n out/test/x86_64/arch-x86_64-note-property/exe +31: + readelf --sections out/test/x86_64/arch-x86_64-plt/exe 34: ++ case $MACHINE in 34: ++ tlsdesc_opt=-mtls-dialect=gnu2 34: +++ uname -33: + cc -o out/test/x86_64/arch-x86_64-relax/a.o -c -x assembler -Wa,-mrelax-relocations=yes - -31: + readelf --sections out/test/x86_64/arch-x86_64-plt/exe 34: ++ '[' Linux = FreeBSD ']' 34: ++ trap 'on_error $LINENO' ERR 34: ++ trap on_exit EXIT 34: ++ echo -n 'Testing arch-x86_64-reloc-overflow ... ' 34: Testing arch-x86_64-reloc-overflow ... ++ set -o pipefail 34: ++ set -x -34: + cat 34: + cc -o out/test/x86_64/arch-x86_64-reloc-overflow/a.o -c -x assembler - +33: + echo ret +33: + cc -c -o /dev/null -xassembler -Wa,-mrelax-relocations=yes - +28: + cat +28: + cc -Xassembler -mx86-used-note=no -c -o out/test/x86_64/arch-x86_64-note-property2/a.o -xassembler-with-cpp - +35: +++ uname +26: + grep 'Hello world' +35: ++ '[' Linux = FreeBSD ']' +35: ++ trap 'on_error $LINENO' ERR +35: ++ trap on_exit EXIT +35: ++ echo -n 'Testing arch-x86_64-reloc-zero ... ' +35: Testing arch-x86_64-reloc-zero ... ++ set -o pipefail +35: ++ set -x +26: + out/test/x86_64/arch-x86_64-mergeable-strings/exe +34: + cat +29: + cc -Xassembler -mx86-used-note=no -o out/test/x86_64/arch-x86_64-note/a.o -c -x assembler - +29: + cat +31: + grep -F .got +27: Properties: x86 feature: IBT +35: + cat +27: + ./mold -o out/test/x86_64/arch-x86_64-note-property/exe out/test/x86_64/arch-x86_64-note-property/b.o +29: + ./mold -static -o out/test/x86_64/arch-x86_64-note/exe out/test/x86_64/arch-x86_64-note/a.o +30: + CFLAGS='-Xassembler -mx86-used-note=no' 31: [18] .plt.got PROGBITS 00000000000015c0 000005c0 31: [23] .got PROGBITS 00000000000028c8 000008c8 31: [26] .got.plt PROGBITS 0000000000003920 00000920 -25: + readelf -x .foo out/test/x86_64/arch-x86_64-mergeable-strings-nonalloc/exe -31: + readelf --sections out/test/x86_64/arch-x86_64-plt/exe +30: + cat +30: + cc -Xassembler -mx86-used-note=no -o out/test/x86_64/arch-x86_64-note2/a.o -c -x assembler - +34: + grep -F 'relocation R_X86_64_16 against foo out of range' +34: + not ./mold -e foo -o out/test/x86_64/arch-x86_64-reloc-overflow/exe out/test/x86_64/arch-x86_64-reloc-overflow/a.o +26: Hello world +26: + grep -E '[0-9] foo$' +35: + cc -o out/test/x86_64/arch-x86_64-reloc-zero/a.o -c -x assembler - 31: + grep -F .got.plt -26: + cc -B. -static -o out/test/x86_64/arch-x86_64-mergeable-strings/exe out/test/x86_64/arch-x86_64-mergeable-strings/a.o -25: + grep -F '03000000 00000000 ffffffff ffffffff' -25: 0x00000000 03000000 00000000 ffffffff ffffffff ................ -25: + readelf -x .bar out/test/x86_64/arch-x86_64-mergeable-strings-nonalloc/exe +30: + cat +26: + readelf -sW out/test/x86_64/arch-x86_64-mergeable-strings/exe +29: + readelf -W --sections out/test/x86_64/arch-x86_64-note/exe +36: ++ case $MACHINE in +36: ++ tlsdesc_opt=-mtls-dialect=gnu2 +31: + readelf --sections out/test/x86_64/arch-x86_64-plt/exe 31: [26] .got.plt PROGBITS 0000000000003920 00000920 -25: + grep -F xyz.abc. -33: + cat +26: 144: 000000000022463f 0 NOTYPE LOCAL DEFAULT 14 foo +26: + on_exit +26: + echo OK +26: OK +26: + exit 0 +30: + cc -Xassembler -mx86-used-note=no -o out/test/x86_64/arch-x86_64-note2/b.o -c -x assembler - + 25/402 Test #26: x86_64-arch-x86_64-mergeable-strings .................. Passed 0.37 sec +test 37 + Start 37: x86_64-arch-x86_64-section-alignment + +37: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-section-alignment.sh" +37: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +37: Environment variables: +37: MACHINE=x86_64 +37: CPU= +37: Test timeout computed to be: 1500 31: + out/test/x86_64/arch-x86_64-plt/exe -25: 0x00000000 78797a00 61626300 xyz.abc. 31: + grep 'Hello world' -34: + not ./mold -e foo -o out/test/x86_64/arch-x86_64-reloc-overflow/exe out/test/x86_64/arch-x86_64-reloc-overflow/a.o -25: + on_exit -25: + echo OK -25: OK -25: + exit 0 - 23/402 Test #25: x86_64-arch-x86_64-mergeable-strings-nonalloc ......... Passed 0.22 sec -33: + cc -o out/test/x86_64/arch-x86_64-relax/b.o -c -xc - -test 35 - Start 35: x86_64-arch-x86_64-reloc-zero - -35: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-reloc-zero.sh" -35: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -35: Environment variables: -35: MACHINE=x86_64 -35: CPU= -35: Test timeout computed to be: 1500 31: Hello world 31: + on_exit 31: + echo OK 31: OK 31: + exit 0 -34: + grep -F 'relocation R_X86_64_16 against foo out of range' - 24/402 Test #31: x86_64-arch-x86_64-plt ................................ Passed 0.12 sec -test 36 - Start 36: x86_64-arch-x86_64-reloc - -36: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-reloc.sh" -36: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -36: Environment variables: -36: MACHINE=x86_64 -36: CPU= -36: Test timeout computed to be: 1500 -30: + CFLAGS='-Xassembler -mx86-used-note=no' -30: + cat -30: + cc -Xassembler -mx86-used-note=no -o out/test/x86_64/arch-x86_64-note2/a.o -c -x assembler - -36: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-reloc.sh -36: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -36: ++ export LC_ALL=C -36: ++ LC_ALL=C -36: ++ '[' -z x86_64 ']' -36: ++ '[' -z '' ']' -36: ++ TESTDIR=out/test/x86_64 -36: ++ CC=cc -36: ++ CXX=c++ -36: ++ GCC=gcc -36: ++ GXX=g++ -36: ++ OBJDUMP=objdump -36: ++ OBJCOPY=objcopy -36: ++ STRIP=strip -36: ++ QEMU= -36: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-reloc.sh .sh -36: ++ testname=arch-x86_64-reloc -36: ++ t=out/test/x86_64/arch-x86_64-reloc -36: ++ mkdir -p out/test/x86_64/arch-x86_64-reloc -35: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-reloc-zero.sh -36: ++ case $MACHINE in -36: ++ tlsdesc_opt=-mtls-dialect=gnu2 +27: + readelf -n out/test/x86_64/arch-x86_64-note-property/exe +27: + not grep 'x86 feature: IBT' +27: + grep 'x86 feature: IBT' 36: +++ uname -29: + test_cflags -Xassembler -mx86-used-note=no -29: + echo 'int main() {}' -27: + cat -29: + cc -B. -Xassembler -mx86-used-note=no -o /dev/null -xc - -35: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -35: ++ export LC_ALL=C -35: ++ LC_ALL=C -35: ++ '[' -z x86_64 ']' -35: ++ '[' -z '' ']' -35: ++ TESTDIR=out/test/x86_64 -35: ++ CC=cc -35: ++ CXX=c++ -35: ++ GCC=gcc -35: ++ GXX=g++ -35: ++ OBJDUMP=objdump -35: ++ OBJCOPY=objcopy -35: ++ STRIP=strip -35: ++ QEMU= -27: + cc -fcf-protection=none -c -o out/test/x86_64/arch-x86_64-note-property/b.o -xc - -35: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-reloc-zero.sh .sh -35: ++ testname=arch-x86_64-reloc-zero -35: ++ t=out/test/x86_64/arch-x86_64-reloc-zero -35: ++ mkdir -p out/test/x86_64/arch-x86_64-reloc-zero 36: ++ '[' Linux = FreeBSD ']' 36: ++ trap 'on_error $LINENO' ERR 36: ++ trap on_exit EXIT 36: ++ echo -n 'Testing arch-x86_64-reloc ... ' 36: Testing arch-x86_64-reloc ... ++ set -o pipefail 36: ++ set -x -36: + cat -10: + c++ -B. -shared -o out/test/x86_64/arch-x86_64-function-multiversion/b.so out/test/x86_64/arch-x86_64-function-multiversion/a.o -36: + cc -fPIC -c -o out/test/x86_64/arch-x86_64-reloc/a.o -x assembler - -28: + test_cflags -Xassembler -mx86-used-note=no -30: + cat -28: + echo 'int main() {}' -28: + cc -B. -Xassembler -mx86-used-note=no -o /dev/null -xc - -30: + cc -Xassembler -mx86-used-note=no -o out/test/x86_64/arch-x86_64-note2/b.o -c -x assembler - -35: ++ case $MACHINE in -35: ++ tlsdesc_opt=-mtls-dialect=gnu2 -35: +++ uname +24: + out/test/x86_64/arch-x86_64-mergeable-records/exe + 26/402 Test #31: x86_64-arch-x86_64-plt ................................ Passed 0.16 sec +33: + cat +test 38 + Start 38: x86_64-arch-x86_64-section-name + +38: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-section-name.sh" +38: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +38: Environment variables: +38: MACHINE=x86_64 +38: CPU= +38: Test timeout computed to be: 1500 +33: + cc -o out/test/x86_64/arch-x86_64-relax/a.o -c -x assembler -Wa,-mrelax-relocations=yes - 34: mold: error: out/test/x86_64/arch-x86_64-reloc-overflow/a.o:(.data): relocation R_X86_64_16 against foo out of range: 2109976 is not in [0, 65536) 34: + on_exit 34: + echo OK 34: OK 34: + exit 0 30: + cat -35: ++ '[' Linux = FreeBSD ']' - 25/402 Test #34: x86_64-arch-x86_64-reloc-overflow ..................... Passed 0.11 sec -35: ++ trap 'on_error $LINENO' ERR -35: ++ trap on_exit EXIT -35: ++ echo -n 'Testing arch-x86_64-reloc-zero ... ' -35: Testing arch-x86_64-reloc-zero ... ++ set -o pipefail -35: ++ set -x +30: + cc -Xassembler -mx86-used-note=no -o out/test/x86_64/arch-x86_64-note2/c.o -c -x assembler - +30: + cat +29: + grep -E '.note.bar\s+NOTE.+000008 00 A 0 0 4' out/test/x86_64/arch-x86_64-note/log1 +29: [ 3] .note.bar NOTE 0000000000200248 000248 000008 00 A 0 0 4 +29: + grep -E '.note.baz\s+NOTE.+000008 00 A 0 0 8' out/test/x86_64/arch-x86_64-note/log1 +28: + cat +28: + cc -Xassembler -mx86-used-note=no -c -o out/test/x86_64/arch-x86_64-note-property2/b.o -xassembler-with-cpp - 32: + cc -B. -o out/test/x86_64/arch-x86_64-preinit-array/exe out/test/x86_64/arch-x86_64-preinit-array/a.o out/test/x86_64/arch-x86_64-preinit-array/b.o -test 37 - Start 37: x86_64-arch-x86_64-section-alignment - -37: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-section-alignment.sh" -37: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -37: Environment variables: -37: MACHINE=x86_64 -37: CPU= -37: Test timeout computed to be: 1500 +35: + cc -o out/test/x86_64/arch-x86_64-reloc-zero/b.o -c -xc - 35: + cat -35: + cc -o out/test/x86_64/arch-x86_64-reloc-zero/a.o -c -x assembler - -26: + out/test/x86_64/arch-x86_64-mergeable-strings/exe -26: + grep 'Hello world' -26: Hello world -30: + cc -Xassembler -mx86-used-note=no -o out/test/x86_64/arch-x86_64-note2/c.o -c -x assembler - -24: + out/test/x86_64/arch-x86_64-mergeable-records/exe -24: + grep '^abcdef$' +36: + cc -fPIC -c -o out/test/x86_64/arch-x86_64-reloc/a.o -x assembler - + 27/402 Test #34: x86_64-arch-x86_64-reloc-overflow ..................... Passed 0.11 sec +test 39 + Start 39: x86_64-arch-x86_64-tbss-only + +39: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-tbss-only.sh" +39: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +39: Environment variables: +39: MACHINE=x86_64 +39: CPU= +39: Test timeout computed to be: 1500 36: + cat -36: + cc -fPIC -c -o out/test/x86_64/arch-x86_64-reloc/b.o -xc - -26: + readelf -sW out/test/x86_64/arch-x86_64-mergeable-strings/exe -33: + cc -B. -o out/test/x86_64/arch-x86_64-relax/exe out/test/x86_64/arch-x86_64-relax/a.o out/test/x86_64/arch-x86_64-relax/b.o +24: + grep '^abcdef$' 24: abcdef 24: + out/test/x86_64/arch-x86_64-mergeable-records/exe -24: + grep '^bcdef$' -26: + grep -E '[0-9] foo$' -30: + cat -30: + cc -Xassembler -mx86-used-note=no -o out/test/x86_64/arch-x86_64-note2/d.o -c -xc - +29: [ 1] .note.baz NOTE 0000000000200238 000238 000008 00 A 0 0 8 +29: + grep -E '.note.nonalloc\s+NOTE.+000008 00 0 0 1' out/test/x86_64/arch-x86_64-note/log1 +29: [12] .note.nonalloc NOTE 0000000000000000 000288 000008 00 0 0 1 +29: + readelf --segments out/test/x86_64/arch-x86_64-note/exe 37: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-section-alignment.sh 37: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 37: ++ export LC_ALL=C @@ -3908,47 +4002,13 @@ 37: ++ OBJCOPY=objcopy 37: ++ STRIP=strip 37: ++ QEMU= -37: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-section-alignment.sh .sh -37: ++ testname=arch-x86_64-section-alignment -37: ++ t=out/test/x86_64/arch-x86_64-section-alignment -37: ++ mkdir -p out/test/x86_64/arch-x86_64-section-alignment -24: bcdef -24: + out/test/x86_64/arch-x86_64-mergeable-records/exe -24: + grep '^ijkl$' -35: + cat -35: + cc -o out/test/x86_64/arch-x86_64-reloc-zero/b.o -c -xc - -26: 144: 000000000022463f 0 NOTYPE LOCAL DEFAULT 14 foo -26: + on_exit -26: + echo OK -26: OK -26: + exit 0 - 26/402 Test #26: x86_64-arch-x86_64-mergeable-strings .................. Passed 0.30 sec -24: ijkl -test 38 - Start 38: x86_64-arch-x86_64-section-name - -38: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-section-name.sh" -38: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -38: Environment variables: -38: MACHINE=x86_64 -38: CPU= -38: Test timeout computed to be: 1500 -24: + out/test/x86_64/arch-x86_64-mergeable-records/exe -24: + grep '^pqr$' -24: pqr -24: + out/test/x86_64/arch-x86_64-mergeable-records/exe -24: + grep '^mnopqr$' -37: ++ case $MACHINE in -37: ++ tlsdesc_opt=-mtls-dialect=gnu2 -37: +++ uname -37: ++ '[' Linux = FreeBSD ']' -37: ++ trap 'on_error $LINENO' ERR -37: ++ trap on_exit EXIT -37: ++ echo -n 'Testing arch-x86_64-section-alignment ... ' -37: Testing arch-x86_64-section-alignment ... ++ set -o pipefail -37: ++ set -x -37: + cat -37: + cc -c -o out/test/x86_64/arch-x86_64-section-alignment/a.o -xc - +33: + cat +33: + cc -o out/test/x86_64/arch-x86_64-relax/b.o -c -xc - +27: + return 0 +27: + on_exit +27: + echo OK +27: OK +27: + exit 0 38: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-section-name.sh 38: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 38: ++ export LC_ALL=C @@ -3964,46 +4024,10 @@ 38: ++ OBJCOPY=objcopy 38: ++ STRIP=strip 38: ++ QEMU= -24: mnopqr -24: + on_exit -24: + echo OK -24: OK -24: + exit 0 - 27/402 Test #24: x86_64-arch-x86_64-mergeable-records .................. Passed 0.35 sec -38: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-section-name.sh .sh -38: ++ testname=arch-x86_64-section-name -38: ++ t=out/test/x86_64/arch-x86_64-section-name -38: ++ mkdir -p out/test/x86_64/arch-x86_64-section-name -test 39 - Start 39: x86_64-arch-x86_64-tbss-only - -39: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-tbss-only.sh" -39: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -39: Environment variables: -39: MACHINE=x86_64 -39: CPU= -39: Test timeout computed to be: 1500 -38: ++ case $MACHINE in -38: ++ tlsdesc_opt=-mtls-dialect=gnu2 -38: +++ uname -33: + objdump -d out/test/x86_64/arch-x86_64-relax/exe -27: + ./mold -o out/test/x86_64/arch-x86_64-note-property/exe out/test/x86_64/arch-x86_64-note-property/a.o -10: + cat -38: ++ '[' Linux = FreeBSD ']' -33: + sed -n '/:/,/<.*>:/p' -38: ++ trap 'on_error $LINENO' ERR -38: ++ trap on_exit EXIT -38: ++ echo -n 'Testing arch-x86_64-section-name ... ' -38: Testing arch-x86_64-section-name ... ++ set -o pipefail -38: ++ set -x -38: + cat -38: + cc -o out/test/x86_64/arch-x86_64-section-name/a.o -c -x assembler - -10: + c++ -o out/test/x86_64/arch-x86_64-function-multiversion/c.o -c -xc++ - -fPIC 39: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-tbss-only.sh 39: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 39: ++ export LC_ALL=C 39: ++ LC_ALL=C -33: + grep -E 'lea \s*0x.+\(%rip\),%rax .*' out/test/x86_64/arch-x86_64-relax/log 39: ++ '[' -z x86_64 ']' 39: ++ '[' -z '' ']' 39: ++ TESTDIR=out/test/x86_64 @@ -4015,83 +4039,87 @@ 39: ++ OBJCOPY=objcopy 39: ++ STRIP=strip 39: ++ QEMU= -35: + cc -B. -no-pie -o out/test/x86_64/arch-x86_64-reloc-zero/exe out/test/x86_64/arch-x86_64-reloc-zero/a.o out/test/x86_64/arch-x86_64-reloc-zero/b.o -36: + cc -shared -o out/test/x86_64/arch-x86_64-reloc/c.so out/test/x86_64/arch-x86_64-reloc/a.o out/test/x86_64/arch-x86_64-reloc/b.o -Wl,-z,noexecstack 39: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-tbss-only.sh .sh -33: 16c9: 48 8d 05 ee 00 00 00 lea 0xee(%rip),%rax # 17be -38: + ./mold -o out/test/x86_64/arch-x86_64-section-name/exe out/test/x86_64/arch-x86_64-section-name/a.o -z keep-text-section-prefix 39: ++ testname=arch-x86_64-tbss-only 39: ++ t=out/test/x86_64/arch-x86_64-tbss-only 39: ++ mkdir -p out/test/x86_64/arch-x86_64-tbss-only -33: + grep -E 'lea \s*0x.+\(%rip\),%rcx .*' out/test/x86_64/arch-x86_64-relax/log -33: 16d0: 48 8d 0d e7 00 00 00 lea 0xe7(%rip),%rcx # 17be -33: + grep -E 'lea \s*0x.+\(%rip\),%rdx .*' out/test/x86_64/arch-x86_64-relax/log -33: 16d7: 48 8d 15 e0 00 00 00 lea 0xe0(%rip),%rdx # 17be -33: + grep -E 'lea \s*0x.+\(%rip\),%rbx .*' out/test/x86_64/arch-x86_64-relax/log +29: + grep -F '01 .note.baz .note.foo .note.bar' out/test/x86_64/arch-x86_64-note/log2 +24: + grep '^bcdef$' +36: + cc -fPIC -c -o out/test/x86_64/arch-x86_64-reloc/b.o -xc - + 28/402 Test #27: x86_64-arch-x86_64-note-property ...................... Passed 0.39 sec 39: ++ case $MACHINE in 39: ++ tlsdesc_opt=-mtls-dialect=gnu2 +test 40 + Start 40: x86_64-arch-x86_64-tls-gd-mcmodel-large + +40: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-tls-gd-mcmodel-large.sh" +40: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +40: Environment variables: +40: MACHINE=x86_64 +40: CPU= +40: Test timeout computed to be: 1500 39: +++ uname -32: + out/test/x86_64/arch-x86_64-preinit-array/exe -27: + readelf -n out/test/x86_64/arch-x86_64-note-property/exe -32: + grep 'preinit init fini' -33: 16de: 48 8d 1d d9 00 00 00 lea 0xd9(%rip),%rbx # 17be -33: + grep -E 'lea \s*0x.+\(%rip\),%rbp .*' out/test/x86_64/arch-x86_64-relax/log 39: ++ '[' Linux = FreeBSD ']' -27: + grep 'x86 feature: IBT' 39: ++ trap 'on_error $LINENO' ERR 39: ++ trap on_exit EXIT 39: ++ echo -n 'Testing arch-x86_64-tbss-only ... ' 39: Testing arch-x86_64-tbss-only ... ++ set -o pipefail 39: ++ set -x 39: + echo abab -32: preinit init fini 39: + grep -E '(ab)\1' -33: 16e5: 48 8d 2d d2 00 00 00 lea 0xd2(%rip),%rbp # 17be -39: abab -33: + grep -E 'lea \s*0x.+\(%rip\),%rsi .*' out/test/x86_64/arch-x86_64-relax/log -39: + cc -o out/test/x86_64/arch-x86_64-tbss-only/a.o -c -xc - -39: + cat -33: 16ec: 48 8d 35 cb 00 00 00 lea 0xcb(%rip),%rsi # 17be -33: + grep -E 'lea \s*0x.+\(%rip\),%rdi .*' out/test/x86_64/arch-x86_64-relax/log -33: 16f3: 48 8d 3d c4 00 00 00 lea 0xc4(%rip),%rdi # 17be -33: + grep -E 'lea \s*0x.+\(%rip\),%r8 .*' out/test/x86_64/arch-x86_64-relax/log -38: + readelf -p .text.hot out/test/x86_64/arch-x86_64-section-name/exe -27: Properties: x86 feature: IBT -27: + ./mold -o out/test/x86_64/arch-x86_64-note-property/exe out/test/x86_64/arch-x86_64-note-property/b.o -38: + grep -F '.text.hot .text.hot.foo' -32: + on_exit -32: + echo OK -32: OK -32: + exit 0 -33: 16fa: 4c 8d 05 bd 00 00 00 lea 0xbd(%rip),%r8 # 17be - 28/402 Test #32: x86_64-arch-x86_64-preinit-array ...................... Passed 0.25 sec -33: + grep -E 'lea \s*0x.+\(%rip\),%r9 .*' out/test/x86_64/arch-x86_64-relax/log -test 40 - Start 40: x86_64-arch-x86_64-tls-gd-mcmodel-large +24: bcdef +24: + grep '^ijkl$' +24: + out/test/x86_64/arch-x86_64-mergeable-records/exe +24: ijkl +30: + cc -Xassembler -mx86-used-note=no -o out/test/x86_64/arch-x86_64-note2/d.o -c -xc - +29: 01 .note.baz .note.foo .note.bar +29: + not grep 'NOTE.*0x0000000000000000 0x0000000000000000' out/test/x86_64/arch-x86_64-note/log2 +29: + grep 'NOTE.*0x0000000000000000 0x0000000000000000' out/test/x86_64/arch-x86_64-note/log2 +29: + return 0 +29: + on_exit +29: + echo OK +29: OK +29: + exit 0 +36: + cat +35: + cc -B. -no-pie -o out/test/x86_64/arch-x86_64-reloc-zero/exe out/test/x86_64/arch-x86_64-reloc-zero/a.o out/test/x86_64/arch-x86_64-reloc-zero/b.o +37: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-section-alignment.sh .sh +37: ++ testname=arch-x86_64-section-alignment +37: ++ t=out/test/x86_64/arch-x86_64-section-alignment +37: ++ mkdir -p out/test/x86_64/arch-x86_64-section-alignment +38: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-section-name.sh .sh + 29/402 Test #29: x86_64-arch-x86_64-note ............................... Passed 0.31 sec +test 41 + Start 41: x86_64-arch-x86_64-tls-gd-to-ie -40: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-tls-gd-mcmodel-large.sh" -40: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -40: Environment variables: -40: MACHINE=x86_64 -40: CPU= -40: Test timeout computed to be: 1500 -33: 1701: 4c 8d 0d b6 00 00 00 lea 0xb6(%rip),%r9 # 17be -33: + grep -E 'lea \s*0x.+\(%rip\),%r10 .*' out/test/x86_64/arch-x86_64-relax/log -38: [ 0] .text.hot .text.hot.foo -38: + readelf -p .text.unknown out/test/x86_64/arch-x86_64-section-name/exe -38: + grep -F '.text.unknown .text.unknown.foo' -38: [ 0] .text.unknown .text.unknown.foo -38: + readelf -p .text.unlikely out/test/x86_64/arch-x86_64-section-name/exe -38: + grep -F '.text.unlikely .text.unlikely.foo' -38: [ 0] .text.unlikely .text.unlikely.foo -29: + CFLAGS='-Xassembler -mx86-used-note=no' -38: + readelf -p .text.startup out/test/x86_64/arch-x86_64-section-name/exe -29: + cat +41: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-tls-gd-to-ie.sh" +41: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +41: Environment variables: +41: MACHINE=x86_64 +41: CPU= +41: Test timeout computed to be: 1500 +39: abab +38: ++ testname=arch-x86_64-section-name +38: ++ t=out/test/x86_64/arch-x86_64-section-name +38: ++ mkdir -p out/test/x86_64/arch-x86_64-section-name +38: ++ case $MACHINE in +38: ++ tlsdesc_opt=-mtls-dialect=gnu2 +38: +++ uname +38: ++ '[' Linux = FreeBSD ']' +38: ++ trap 'on_error $LINENO' ERR +38: ++ trap on_exit EXIT +38: ++ echo -n 'Testing arch-x86_64-section-name ... ' +38: Testing arch-x86_64-section-name ... ++ set -o pipefail +38: ++ set -x +24: + grep '^pqr$' +24: + out/test/x86_64/arch-x86_64-mergeable-records/exe +37: ++ case $MACHINE in +37: ++ tlsdesc_opt=-mtls-dialect=gnu2 +38: + cat +38: + cc -o out/test/x86_64/arch-x86_64-section-name/a.o -c -x assembler - 40: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-tls-gd-mcmodel-large.sh -33: 1708: 4c 8d 15 af 00 00 00 lea 0xaf(%rip),%r10 # 17be -38: + grep -F '.text.startup .text.startup.foo' -29: + cc -Xassembler -mx86-used-note=no -o out/test/x86_64/arch-x86_64-note/a.o -c -x assembler - -33: + grep -E 'lea \s*0x.+\(%rip\),%r11 .*' out/test/x86_64/arch-x86_64-relax/log +39: + cc -o out/test/x86_64/arch-x86_64-tbss-only/a.o -c -xc - +24: pqr +36: + cc -shared -o out/test/x86_64/arch-x86_64-reloc/c.so out/test/x86_64/arch-x86_64-reloc/a.o out/test/x86_64/arch-x86_64-reloc/b.o -Wl,-z,noexecstack 40: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 40: ++ export LC_ALL=C 40: ++ LC_ALL=C @@ -4106,82 +4134,61 @@ 40: ++ OBJCOPY=objcopy 40: ++ STRIP=strip 40: ++ QEMU= +39: + cat +28: + cc -Xassembler -mx86-used-note=no -c -o out/test/x86_64/arch-x86_64-note-property2/c.o -xassembler-with-cpp - +37: +++ uname 40: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-tls-gd-mcmodel-large.sh .sh -28: + CFLAGS='-Xassembler -mx86-used-note=no' -28: + readelf -v -33: 170f: 4c 8d 1d a8 00 00 00 lea 0xa8(%rip),%r11 # 17be -33: + grep -E 'lea \s*0x.+\(%rip\),%r12 .*' out/test/x86_64/arch-x86_64-relax/log -33: 1716: 4c 8d 25 a1 00 00 00 lea 0xa1(%rip),%r12 # 17be -33: + grep -E 'lea \s*0x.+\(%rip\),%r13 .*' out/test/x86_64/arch-x86_64-relax/log +28: + cat +37: ++ '[' Linux = FreeBSD ']' +37: ++ trap 'on_error $LINENO' ERR +37: ++ trap on_exit EXIT +37: ++ echo -n 'Testing arch-x86_64-section-alignment ... ' +37: Testing arch-x86_64-section-alignment ... ++ set -o pipefail +37: ++ set -x +38: + ./mold -o out/test/x86_64/arch-x86_64-section-name/exe out/test/x86_64/arch-x86_64-section-name/a.o -z keep-text-section-prefix +41: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-tls-gd-to-ie.sh 40: ++ testname=arch-x86_64-tls-gd-mcmodel-large 40: ++ t=out/test/x86_64/arch-x86_64-tls-gd-mcmodel-large 40: ++ mkdir -p out/test/x86_64/arch-x86_64-tls-gd-mcmodel-large -38: [ 0] .text.startup .text.startup.foo -27: + not grep 'x86 feature: IBT' -27: + grep 'x86 feature: IBT' -27: + readelf -n out/test/x86_64/arch-x86_64-note-property/exe -28: + grep -E 'GNU readelf .+ (2\.3[6-9]|2\.[4-9]|[3-9])' -28: GNU readelf (GNU Binutils for Debian) 2.44 -29: + ./mold -static -o out/test/x86_64/arch-x86_64-note/exe out/test/x86_64/arch-x86_64-note/a.o -38: + readelf -p .text.exit out/test/x86_64/arch-x86_64-section-name/exe -38: + grep -F '.text.exit .text.exit.foo' +41: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +41: ++ export LC_ALL=C +41: ++ LC_ALL=C +41: ++ '[' -z x86_64 ']' +41: ++ '[' -z '' ']' +41: ++ TESTDIR=out/test/x86_64 +41: ++ CC=cc +41: ++ CXX=c++ +41: ++ GCC=gcc +41: ++ GXX=g++ +41: ++ OBJDUMP=objdump +41: ++ OBJCOPY=objcopy +41: ++ STRIP=strip +41: ++ QEMU= 40: ++ case $MACHINE in 40: ++ tlsdesc_opt=-mtls-dialect=gnu2 40: +++ uname -33: 171d: 4c 8d 2d 9a 00 00 00 lea 0x9a(%rip),%r13 # 17be -33: + grep -E 'lea \s*0x.+\(%rip\),%r14 .*' out/test/x86_64/arch-x86_64-relax/log -33: 1724: 4c 8d 35 93 00 00 00 lea 0x93(%rip),%r14 # 17be 40: ++ '[' Linux = FreeBSD ']' 40: ++ trap 'on_error $LINENO' ERR 40: ++ trap on_exit EXIT 40: ++ echo -n 'Testing arch-x86_64-tls-gd-mcmodel-large ... ' 40: Testing arch-x86_64-tls-gd-mcmodel-large ... ++ set -o pipefail 40: ++ set -x -33: + grep -E 'lea \s*0x.+\(%rip\),%r15 .*' out/test/x86_64/arch-x86_64-relax/log -36: + cat -40: + cat -28: + cat +33: + cc -B. -o out/test/x86_64/arch-x86_64-relax/exe out/test/x86_64/arch-x86_64-relax/a.o out/test/x86_64/arch-x86_64-relax/b.o +41: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-tls-gd-to-ie.sh .sh +41: ++ testname=arch-x86_64-tls-gd-to-ie +41: ++ t=out/test/x86_64/arch-x86_64-tls-gd-to-ie +41: ++ mkdir -p out/test/x86_64/arch-x86_64-tls-gd-to-ie +37: + cat +37: + cc -c -o out/test/x86_64/arch-x86_64-section-alignment/a.o -xc - +24: + grep '^mnopqr$' 40: + gcc -mtls-dialect=gnu -fPIC -c -o out/test/x86_64/arch-x86_64-tls-gd-mcmodel-large/a.o -xc - -mcmodel=large -36: + cc -B. -o out/test/x86_64/arch-x86_64-reloc/exe out/test/x86_64/arch-x86_64-reloc/c.so out/test/x86_64/arch-x86_64-reloc/d.s -no-pie -38: [ 0] .text.exit .text.exit.foo -33: 172b: 4c 8d 3d 8c 00 00 00 lea 0x8c(%rip),%r15 # 17be -28: + cc -Xassembler -mx86-used-note=no -c -o out/test/x86_64/arch-x86_64-note-property2/a.o -xassembler-with-cpp - -33: + grep -E 'lea \s*0x.+\(%rip\),%r16 .*' out/test/x86_64/arch-x86_64-relax/log -33: 1732: d5 48 8d 05 84 00 00 lea 0x84(%rip),%r16 # 17be -33: + grep -E 'lea \s*0x.+\(%rip\),%r17 .*' out/test/x86_64/arch-x86_64-relax/log -33: 173a: d5 48 8d 0d 7c 00 00 lea 0x7c(%rip),%r17 # 17be -33: + grep -E 'lea \s*0x.+\(%rip\),%r18 .*' out/test/x86_64/arch-x86_64-relax/log -38: + readelf -p .text out/test/x86_64/arch-x86_64-section-name/exe -38: + grep -F '.text .text.foo' -38: [ 1] .text .text.foo -38: + readelf -p .data.rel.ro out/test/x86_64/arch-x86_64-section-name/exe -27: + return 0 -27: + on_exit -27: + echo OK -27: OK -27: + exit 0 -35: + on_exit -35: + echo OK -35: OK -35: + exit 0 - 29/402 Test #27: x86_64-arch-x86_64-note-property ...................... Passed 0.39 sec -38: + grep -F '.data.rel.ro .data.rel.ro.foo' -test 41 - Start 41: x86_64-arch-x86_64-tls-gd-to-ie - -41: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-tls-gd-to-ie.sh" -41: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -41: Environment variables: -41: MACHINE=x86_64 -41: CPU= -41: Test timeout computed to be: 1500 -38: [ 0] .data.rel.ro .data.rel.ro.foo - 30/402 Test #35: x86_64-arch-x86_64-reloc-zero ......................... Passed 0.19 sec -33: 1742: d5 48 8d 15 74 00 00 lea 0x74(%rip),%r18 # 17be -33: + grep -E 'lea \s*0x.+\(%rip\),%r19 .*' out/test/x86_64/arch-x86_64-relax/log -33: 174a: d5 48 8d 1d 6c 00 00 lea 0x6c(%rip),%r19 # 17be -37: + cc -B. -o out/test/x86_64/arch-x86_64-section-alignment/exe out/test/x86_64/arch-x86_64-section-alignment/a.o -38: + readelf -p .data out/test/x86_64/arch-x86_64-section-name/exe +24: + out/test/x86_64/arch-x86_64-mergeable-records/exe +24: mnopqr +24: + on_exit +24: + echo OK +24: OK +24: + exit 0 + 30/402 Test #24: x86_64-arch-x86_64-mergeable-records .................. Passed 0.47 sec test 42 Start 42: x86_64-arch-x86_64-tls-large-tbss @@ -4191,37 +4198,58 @@ 42: MACHINE=x86_64 42: CPU= 42: Test timeout computed to be: 1500 -38: + grep -F '.data .data.foo' -38: [ 0] .data .data.foo -38: + readelf -p .rodata out/test/x86_64/arch-x86_64-section-name/exe -38: + grep -F '.rodata .rodata.foo' -33: + grep -E 'lea \s*0x.+\(%rip\),%r20 .*' out/test/x86_64/arch-x86_64-relax/log -33: 1752: d5 48 8d 25 64 00 00 lea 0x64(%rip),%r20 # 17be -33: + grep -E 'lea \s*0x.+\(%rip\),%r21 .*' out/test/x86_64/arch-x86_64-relax/log -10: + c++ -B. -o out/test/x86_64/arch-x86_64-function-multiversion/exe out/test/x86_64/arch-x86_64-function-multiversion/b.so out/test/x86_64/arch-x86_64-function-multiversion/c.o -29: + readelf -W --sections out/test/x86_64/arch-x86_64-note/exe -41: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-tls-gd-to-ie.sh -38: [ 0] .rodata .rodata.foo -41: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -41: ++ export LC_ALL=C -41: ++ LC_ALL=C -38: + ./mold -o out/test/x86_64/arch-x86_64-section-name/exe out/test/x86_64/arch-x86_64-section-name/a.o +39: + cc -B. -o out/test/x86_64/arch-x86_64-tbss-only/exe out/test/x86_64/arch-x86_64-tbss-only/a.o +41: ++ case $MACHINE in +41: ++ tlsdesc_opt=-mtls-dialect=gnu2 +41: +++ uname +41: ++ '[' Linux = FreeBSD ']' +41: ++ trap 'on_error $LINENO' ERR +41: ++ trap on_exit EXIT +41: ++ echo -n 'Testing arch-x86_64-tls-gd-to-ie ... ' +41: Testing arch-x86_64-tls-gd-to-ie ... ++ set -o pipefail +41: ++ set -x +41: + cat +41: + gcc -fPIC -c -o out/test/x86_64/arch-x86_64-tls-gd-to-ie/a.o -xc - -mcmodel=large +35: + on_exit +35: + echo OK +35: OK +35: + exit 0 +40: + cat +30: + ./mold -o out/test/x86_64/arch-x86_64-note2/exe out/test/x86_64/arch-x86_64-note2/a.o out/test/x86_64/arch-x86_64-note2/b.o out/test/x86_64/arch-x86_64-note2/c.o out/test/x86_64/arch-x86_64-note2/d.o +32: + grep 'preinit init fini' +32: + out/test/x86_64/arch-x86_64-preinit-array/exe + 31/402 Test #35: x86_64-arch-x86_64-reloc-zero ......................... Passed 0.17 sec +test 43 + Start 43: x86_64-arch-x86_64-tls-ld-mcmodel-large + +43: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-tls-ld-mcmodel-large.sh" +43: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +43: Environment variables: +43: MACHINE=x86_64 +43: CPU= +43: Test timeout computed to be: 1500 +32: preinit init fini +32: + on_exit +32: + echo OK +32: OK +32: + exit 0 + 32/402 Test #32: x86_64-arch-x86_64-preinit-array ...................... Passed 0.22 sec +test 44 + Start 44: x86_64-arch-x86_64-tls-module-base + +44: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-tls-module-base.sh" +44: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +44: Environment variables: +44: MACHINE=x86_64 +44: CPU= +44: Test timeout computed to be: 1500 +38: + grep -F '.text.hot .text.hot.foo' +38: + readelf -p .text.hot out/test/x86_64/arch-x86_64-section-name/exe +38: [ 0] .text.hot .text.hot.foo +40: + cat +40: + gcc -mtls-dialect=gnu -fPIC -c -o out/test/x86_64/arch-x86_64-tls-gd-mcmodel-large/b.o -xc - -mcmodel=large +38: + grep -F '.text.unknown .text.unknown.foo' 42: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-tls-large-tbss.sh -33: 175a: d5 48 8d 2d 5c 00 00 lea 0x5c(%rip),%r21 # 17be -41: ++ '[' -z x86_64 ']' -41: ++ '[' -z '' ']' -41: ++ TESTDIR=out/test/x86_64 -41: ++ CC=cc -41: ++ CXX=c++ -41: ++ GCC=gcc -41: ++ GXX=g++ -41: ++ OBJDUMP=objdump -41: ++ OBJCOPY=objcopy -41: ++ STRIP=strip -41: ++ QEMU= -33: + grep -E 'lea \s*0x.+\(%rip\),%r22 .*' out/test/x86_64/arch-x86_64-relax/log -29: + grep -E '.note.bar\s+NOTE.+000008 00 A 0 0 4' out/test/x86_64/arch-x86_64-note/log1 -41: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-tls-gd-to-ie.sh .sh 42: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 42: ++ export LC_ALL=C 42: ++ LC_ALL=C @@ -4236,88 +4264,11 @@ 42: ++ OBJCOPY=objcopy 42: ++ STRIP=strip 42: ++ QEMU= -33: 1762: d5 48 8d 35 54 00 00 lea 0x54(%rip),%r22 # 17be -41: ++ testname=arch-x86_64-tls-gd-to-ie -41: ++ t=out/test/x86_64/arch-x86_64-tls-gd-to-ie -41: ++ mkdir -p out/test/x86_64/arch-x86_64-tls-gd-to-ie 42: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-tls-large-tbss.sh .sh -33: + grep -E 'lea \s*0x.+\(%rip\),%r23 .*' out/test/x86_64/arch-x86_64-relax/log -29: [ 3] .note.bar NOTE 0000000000200248 000248 000008 00 A 0 0 4 -29: + grep -E '.note.baz\s+NOTE.+000008 00 A 0 0 8' out/test/x86_64/arch-x86_64-note/log1 42: ++ testname=arch-x86_64-tls-large-tbss 42: ++ t=out/test/x86_64/arch-x86_64-tls-large-tbss 42: ++ mkdir -p out/test/x86_64/arch-x86_64-tls-large-tbss -33: 176a: d5 48 8d 3d 4c 00 00 lea 0x4c(%rip),%r23 # 17be -33: + grep -E 'lea \s*0x.+\(%rip\),%r24 .*' out/test/x86_64/arch-x86_64-relax/log -33: 1772: d5 4c 8d 05 44 00 00 lea 0x44(%rip),%r24 # 17be -33: + grep -E 'lea \s*0x.+\(%rip\),%r25 .*' out/test/x86_64/arch-x86_64-relax/log -33: 177a: d5 4c 8d 0d 3c 00 00 lea 0x3c(%rip),%r25 # 17be -33: + grep -E 'lea \s*0x.+\(%rip\),%r26 .*' out/test/x86_64/arch-x86_64-relax/log -33: 1782: d5 4c 8d 15 34 00 00 lea 0x34(%rip),%r26 # 17be -33: + grep -E 'lea \s*0x.+\(%rip\),%r27 .*' out/test/x86_64/arch-x86_64-relax/log -33: 178a: d5 4c 8d 1d 2c 00 00 lea 0x2c(%rip),%r27 # 17be -33: + grep -E 'lea \s*0x.+\(%rip\),%r28 .*' out/test/x86_64/arch-x86_64-relax/log -33: 1792: d5 4c 8d 25 24 00 00 lea 0x24(%rip),%r28 # 17be -33: + grep -E 'lea \s*0x.+\(%rip\),%r29 .*' out/test/x86_64/arch-x86_64-relax/log -33: 179a: d5 4c 8d 2d 1c 00 00 lea 0x1c(%rip),%r29 # 17be -33: + grep -E 'lea \s*0x.+\(%rip\),%r30 .*' out/test/x86_64/arch-x86_64-relax/log -33: 17a2: d5 4c 8d 35 14 00 00 lea 0x14(%rip),%r30 # 17be -33: + grep -E 'lea \s*0x.+\(%rip\),%r31 .*' out/test/x86_64/arch-x86_64-relax/log -33: 17aa: d5 4c 8d 3d 0c 00 00 lea 0xc(%rip),%r31 # 17be -33: + grep -E 'call.*' out/test/x86_64/arch-x86_64-relax/log -33: 17b2: 40 e8 06 00 00 00 rex call 17be -33: + grep -E 'jmp.*' out/test/x86_64/arch-x86_64-relax/log -33: 17b8: 40 e9 00 00 00 00 rex jmp 17be -33: + on_exit -33: + echo OK -33: OK -33: + exit 0 - 31/402 Test #33: x86_64-arch-x86_64-relax .............................. Passed 0.27 sec -29: [ 1] .note.baz NOTE 0000000000200238 000238 000008 00 A 0 0 8 -test 43 - Start 43: x86_64-arch-x86_64-tls-ld-mcmodel-large - -43: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-tls-ld-mcmodel-large.sh" -43: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -43: Environment variables: -43: MACHINE=x86_64 -43: CPU= -43: Test timeout computed to be: 1500 -29: + grep -E '.note.nonalloc\s+NOTE.+000008 00 0 0 1' out/test/x86_64/arch-x86_64-note/log1 -29: [12] .note.nonalloc NOTE 0000000000000000 000288 000008 00 0 0 1 -29: + readelf --segments out/test/x86_64/arch-x86_64-note/exe -41: ++ case $MACHINE in -41: ++ tlsdesc_opt=-mtls-dialect=gnu2 -41: +++ uname -41: ++ '[' Linux = FreeBSD ']' -41: ++ trap 'on_error $LINENO' ERR -41: ++ trap on_exit EXIT -41: ++ echo -n 'Testing arch-x86_64-tls-gd-to-ie ... ' -41: Testing arch-x86_64-tls-gd-to-ie ... ++ set -o pipefail -41: ++ set -x -41: + gcc -fPIC -c -o out/test/x86_64/arch-x86_64-tls-gd-to-ie/a.o -xc - -mcmodel=large -41: + cat -38: + readelf --sections out/test/x86_64/arch-x86_64-section-name/exe -38: + not grep -F .text.hot -38: + grep -F .text.hot -30: + ./mold -o out/test/x86_64/arch-x86_64-note2/exe out/test/x86_64/arch-x86_64-note2/a.o out/test/x86_64/arch-x86_64-note2/b.o out/test/x86_64/arch-x86_64-note2/c.o out/test/x86_64/arch-x86_64-note2/d.o -42: ++ case $MACHINE in -42: ++ tlsdesc_opt=-mtls-dialect=gnu2 -42: +++ uname -42: ++ '[' Linux = FreeBSD ']' -42: ++ trap 'on_error $LINENO' ERR -42: ++ trap on_exit EXIT -42: ++ echo -n 'Testing arch-x86_64-tls-large-tbss ... ' -42: Testing arch-x86_64-tls-large-tbss ... ++ set -o pipefail -42: ++ set -x -42: + cat -39: + cc -B. -o out/test/x86_64/arch-x86_64-tbss-only/exe out/test/x86_64/arch-x86_64-tbss-only/a.o -42: + cc -c -o out/test/x86_64/arch-x86_64-tls-large-tbss/a.o -x assembler - 43: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-tls-ld-mcmodel-large.sh -38: + return 0 -38: + ./mold -o out/test/x86_64/arch-x86_64-section-name/exe out/test/x86_64/arch-x86_64-section-name/a.o -z nokeep-text-section-prefix -28: + cc -Xassembler -mx86-used-note=no -c -o out/test/x86_64/arch-x86_64-note-property2/b.o -xassembler-with-cpp - -28: + cat 43: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 43: ++ export LC_ALL=C 43: ++ LC_ALL=C @@ -4332,64 +4283,34 @@ 43: ++ OBJCOPY=objcopy 43: ++ STRIP=strip 43: ++ QEMU= +30: mold: warning: entry symbol is not defined: _start +28: + ./mold -nostdlib -o out/test/x86_64/arch-x86_64-note-property2/exe1 out/test/x86_64/arch-x86_64-note-property2/a.o out/test/x86_64/arch-x86_64-note-property2/b.o +36: + cat +38: + readelf -p .text.unknown out/test/x86_64/arch-x86_64-section-name/exe +38: [ 0] .text.unknown .text.unknown.foo +30: + readelf --segments out/test/x86_64/arch-x86_64-note2/exe +30: + grep -F '01 .note.a .note.c .note.b' 43: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-tls-ld-mcmodel-large.sh .sh +37: + cc -B. -o out/test/x86_64/arch-x86_64-section-alignment/exe out/test/x86_64/arch-x86_64-section-alignment/a.o 43: ++ testname=arch-x86_64-tls-ld-mcmodel-large 43: ++ t=out/test/x86_64/arch-x86_64-tls-ld-mcmodel-large 43: ++ mkdir -p out/test/x86_64/arch-x86_64-tls-ld-mcmodel-large -29: + grep -F '01 .note.baz .note.foo .note.bar' out/test/x86_64/arch-x86_64-note/log2 -43: ++ case $MACHINE in -43: ++ tlsdesc_opt=-mtls-dialect=gnu2 -43: +++ uname -30: mold: warning: entry symbol is not defined: _start -40: + cat -43: ++ '[' Linux = FreeBSD ']' -43: ++ trap 'on_error $LINENO' ERR -43: ++ trap on_exit EXIT -43: ++ echo -n 'Testing arch-x86_64-tls-ld-mcmodel-large ... ' -43: Testing arch-x86_64-tls-ld-mcmodel-large ... ++ set -o pipefail -43: ++ set -x -43: + cat -40: + gcc -mtls-dialect=gnu -fPIC -c -o out/test/x86_64/arch-x86_64-tls-gd-mcmodel-large/b.o -xc - -mcmodel=large -38: + readelf --sections out/test/x86_64/arch-x86_64-section-name/exe -29: 01 .note.baz .note.foo .note.bar -29: + not grep 'NOTE.*0x0000000000000000 0x0000000000000000' out/test/x86_64/arch-x86_64-note/log2 -29: + grep 'NOTE.*0x0000000000000000 0x0000000000000000' out/test/x86_64/arch-x86_64-note/log2 -43: + gcc -ftls-model=local-dynamic -fPIC -c -o out/test/x86_64/arch-x86_64-tls-ld-mcmodel-large/a.o -xc - -mcmodel=large -30: + readelf --segments out/test/x86_64/arch-x86_64-note2/exe -37: + out/test/x86_64/arch-x86_64-section-alignment/exe -38: + not grep -F .text.hot -38: + grep -F .text.hot -29: + return 0 -29: + on_exit -29: + echo OK -29: OK -29: + exit 0 -36: + out/test/x86_64/arch-x86_64-reloc/exe -36: + grep '^42$' -37: + grep '^0 0 0$' -38: + return 0 - 32/402 Test #29: x86_64-arch-x86_64-note ............................... Passed 0.46 sec -38: + on_exit -38: + echo OK -38: OK -38: + exit 0 -30: + grep -F '01 .note.a .note.c .note.b' -test 44 - Start 44: x86_64-arch-x86_64-tls-module-base - -44: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-tls-module-base.sh" -44: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -44: Environment variables: -44: MACHINE=x86_64 -44: CPU= -44: Test timeout computed to be: 1500 - 33/402 Test #38: x86_64-arch-x86_64-section-name ....................... Passed 0.21 sec +38: + grep -F '.text.unlikely .text.unlikely.foo' +28: mold: warning: entry symbol is not defined: _start 30: 01 .note.a .note.c .note.b 30: + on_exit 30: + echo OK 30: OK 30: + exit 0 - 34/402 Test #30: x86_64-arch-x86_64-note2 .............................. Passed 0.44 sec +39: + out/test/x86_64/arch-x86_64-tbss-only/exe +36: + cc -B. -o out/test/x86_64/arch-x86_64-reloc/exe out/test/x86_64/arch-x86_64-reloc/c.so out/test/x86_64/arch-x86_64-reloc/d.s -no-pie +40: + gcc -mtls-dialect=gnu -fPIC -c -o out/test/x86_64/arch-x86_64-tls-gd-mcmodel-large/c.o -xc - -mcmodel=large +40: + cat +42: ++ case $MACHINE in +42: ++ tlsdesc_opt=-mtls-dialect=gnu2 +38: + readelf -p .text.unlikely out/test/x86_64/arch-x86_64-section-name/exe +38: [ 0] .text.unlikely .text.unlikely.foo + 33/402 Test #30: x86_64-arch-x86_64-note2 .............................. Passed 0.30 sec test 45 Start 45: x86_64-arch-x86_64-tlsdesc @@ -4399,23 +4320,51 @@ 45: MACHINE=x86_64 45: CPU= 45: Test timeout computed to be: 1500 -37: 0 0 0 -37: + on_exit -37: + echo OK -37: OK -37: + exit 0 - 35/402 Test #37: x86_64-arch-x86_64-section-alignment .................. Passed 0.22 sec -36: 42 -36: + cc -B. -o out/test/x86_64/arch-x86_64-reloc/exe out/test/x86_64/arch-x86_64-reloc/c.so out/test/x86_64/arch-x86_64-reloc/d.s -pie -42: + cc -c -o out/test/x86_64/arch-x86_64-tls-large-tbss/b.o -xc - -42: + cat -10: + out/test/x86_64/arch-x86_64-function-multiversion/exe -10: + grep '^H' -10: Howdy -10: + on_exit -10: + echo OK -10: OK -10: + exit 0 +43: ++ case $MACHINE in +43: ++ tlsdesc_opt=-mtls-dialect=gnu2 +43: +++ uname +43: ++ '[' Linux = FreeBSD ']' +43: ++ trap 'on_error $LINENO' ERR +43: ++ trap on_exit EXIT +43: ++ echo -n 'Testing arch-x86_64-tls-ld-mcmodel-large ... ' +43: Testing arch-x86_64-tls-ld-mcmodel-large ... ++ set -o pipefail +43: ++ set -x +43: + gcc -ftls-model=local-dynamic -fPIC -c -o out/test/x86_64/arch-x86_64-tls-ld-mcmodel-large/a.o -xc - -mcmodel=large +28: + readelf -n out/test/x86_64/arch-x86_64-note-property2/exe1 +28: + grep 'x86 feature: SHSTK' +42: +++ uname +42: ++ '[' Linux = FreeBSD ']' +42: ++ trap 'on_error $LINENO' ERR +42: ++ trap on_exit EXIT +42: ++ echo -n 'Testing arch-x86_64-tls-large-tbss ... ' +42: Testing arch-x86_64-tls-large-tbss ... ++ set -o pipefail +42: ++ set -x +38: + readelf -p .text.startup out/test/x86_64/arch-x86_64-section-name/exe +39: + grep -E 'TLS +0x000([^ ][^ ][^ ]) 0x[^ ]+\1 ' +39: + readelf -W --segments out/test/x86_64/arch-x86_64-tbss-only/exe +44: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-tls-module-base.sh +44: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +44: ++ export LC_ALL=C +44: ++ LC_ALL=C +44: ++ '[' -z x86_64 ']' +44: ++ '[' -z '' ']' +44: ++ TESTDIR=out/test/x86_64 +44: ++ CC=cc +44: ++ CXX=c++ +44: ++ GCC=gcc +44: ++ GXX=g++ +44: ++ OBJDUMP=objdump +44: ++ OBJCOPY=objcopy +44: ++ STRIP=strip +44: ++ QEMU= +39: TLS 0x0006d4 0x00000000000026d4 0x00000000000026d4 0x000000 0x000001 R 0x1 +43: + cat +39: + on_exit +39: + echo OK +39: OK +39: + exit 0 +28: Properties: x86 feature: SHSTK + 34/402 Test #39: x86_64-arch-x86_64-tbss-only .......................... Passed 0.13 sec test 46 Start 46: x86_64-arch-x86_64-unique @@ -4425,6 +4374,19 @@ 46: MACHINE=x86_64 46: CPU= 46: Test timeout computed to be: 1500 +37: + grep '^0 0 0$' +37: + out/test/x86_64/arch-x86_64-section-alignment/exe +38: + grep -F '.text.startup .text.startup.foo' +41: + cc -fPIC -c -o out/test/x86_64/arch-x86_64-tls-gd-to-ie/b.o -xc - +42: + cat +37: 0 0 0 +44: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-tls-module-base.sh .sh +37: + on_exit +37: + echo OK +37: OK +37: + exit 0 +41: + cat + 35/402 Test #37: x86_64-arch-x86_64-section-alignment .................. Passed 0.15 sec test 47 Start 47: x86_64-arch-x86_64-warn-execstack @@ -4434,78 +4396,7 @@ 47: MACHINE=x86_64 47: CPU= 47: Test timeout computed to be: 1500 -44: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-tls-module-base.sh -44: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -44: ++ export LC_ALL=C -44: ++ LC_ALL=C -44: ++ '[' -z x86_64 ']' -44: ++ '[' -z '' ']' -44: ++ TESTDIR=out/test/x86_64 -44: ++ CC=cc -44: ++ CXX=c++ -44: ++ GCC=gcc -44: ++ GXX=g++ -44: ++ OBJDUMP=objdump -44: ++ OBJCOPY=objcopy -44: ++ STRIP=strip -44: ++ QEMU= -44: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-tls-module-base.sh .sh -44: ++ testname=arch-x86_64-tls-module-base -44: ++ t=out/test/x86_64/arch-x86_64-tls-module-base -44: ++ mkdir -p out/test/x86_64/arch-x86_64-tls-module-base -44: ++ case $MACHINE in -44: ++ tlsdesc_opt=-mtls-dialect=gnu2 -44: +++ uname -44: ++ '[' Linux = FreeBSD ']' -44: ++ trap 'on_error $LINENO' ERR -44: ++ trap on_exit EXIT -44: ++ echo -n 'Testing arch-x86_64-tls-module-base ... ' -44: Testing arch-x86_64-tls-module-base ... ++ set -o pipefail -44: ++ set -x -44: + supports_tlsdesc -44: + '[' x86_64 = arm ']' -44: ++ uname - 36/402 Test #10: x86_64-arch-x86_64-function-multiversion .............. Passed 0.81 sec -test 48 - Start 48: x86_64-arch-x86_64-warn-shared-textrel - -48: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-warn-shared-textrel.sh" -48: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -48: Environment variables: -48: MACHINE=x86_64 -48: CPU= -48: Test timeout computed to be: 1500 45: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-tlsdesc.sh -45: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -45: ++ export LC_ALL=C -45: ++ LC_ALL=C -45: ++ '[' -z x86_64 ']' -45: ++ '[' -z '' ']' -45: ++ TESTDIR=out/test/x86_64 -45: ++ CC=cc -45: ++ CXX=c++ -45: ++ GCC=gcc -45: ++ GXX=g++ -45: ++ OBJDUMP=objdump -45: ++ OBJCOPY=objcopy -45: ++ STRIP=strip -45: ++ QEMU= -45: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-tlsdesc.sh .sh -45: ++ testname=arch-x86_64-tlsdesc -45: ++ t=out/test/x86_64/arch-x86_64-tlsdesc -45: ++ mkdir -p out/test/x86_64/arch-x86_64-tlsdesc -45: ++ case $MACHINE in -45: ++ tlsdesc_opt=-mtls-dialect=gnu2 -45: +++ uname -45: ++ '[' Linux = FreeBSD ']' -45: ++ trap 'on_error $LINENO' ERR -45: ++ trap on_exit EXIT -45: ++ echo -n 'Testing arch-x86_64-tlsdesc ... ' -45: Testing arch-x86_64-tlsdesc ... ++ set -o pipefail -45: ++ set -x -45: + supports_tlsdesc -45: + '[' x86_64 = arm ']' -45: ++ uname 46: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-unique.sh 46: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 46: ++ export LC_ALL=C @@ -4521,11 +4412,33 @@ 46: ++ OBJCOPY=objcopy 46: ++ STRIP=strip 46: ++ QEMU= +38: [ 0] .text.startup .text.startup.foo +28: + readelf -n out/test/x86_64/arch-x86_64-note-property2/exe1 +28: + grep 'x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' +42: + cc -c -o out/test/x86_64/arch-x86_64-tls-large-tbss/a.o -x assembler - +28: x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4 46: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-unique.sh .sh 46: ++ testname=arch-x86_64-unique 46: ++ t=out/test/x86_64/arch-x86_64-unique 46: ++ mkdir -p out/test/x86_64/arch-x86_64-unique 47: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-warn-execstack.sh +44: ++ testname=arch-x86_64-tls-module-base +44: ++ t=out/test/x86_64/arch-x86_64-tls-module-base +44: ++ mkdir -p out/test/x86_64/arch-x86_64-tls-module-base +45: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +45: ++ export LC_ALL=C +45: ++ LC_ALL=C +45: ++ '[' -z x86_64 ']' +45: ++ '[' -z '' ']' +45: ++ TESTDIR=out/test/x86_64 +45: ++ CC=cc +45: ++ CXX=c++ +45: ++ GCC=gcc +45: ++ GXX=g++ +45: ++ OBJDUMP=objdump +45: ++ OBJCOPY=objcopy +45: ++ STRIP=strip +45: ++ QEMU= 47: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 47: ++ export LC_ALL=C 47: ++ LC_ALL=C @@ -4544,47 +4457,26 @@ 47: ++ testname=arch-x86_64-warn-execstack 47: ++ t=out/test/x86_64/arch-x86_64-warn-execstack 47: ++ mkdir -p out/test/x86_64/arch-x86_64-warn-execstack -45: + '[' Linux = FreeBSD ']' -45: + '[' -mtls-dialect=gnu2 = '' ']' -44: + '[' Linux = FreeBSD ']' -44: + '[' -mtls-dialect=gnu2 = '' ']' -44: + cc -shared -fPIC -xc -o out/test/x86_64/arch-x86_64-tls-module-base/tlsdesc.so -mtls-dialect=gnu2 - -44: + echo '_Thread_local int x; int y() { return x; }' -45: + echo '_Thread_local int x; int y() { return x; }' -45: + cc -shared -fPIC -xc -o out/test/x86_64/arch-x86_64-tlsdesc/tlsdesc.so -mtls-dialect=gnu2 - -48: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-warn-shared-textrel.sh 46: ++ case $MACHINE in 46: ++ tlsdesc_opt=-mtls-dialect=gnu2 47: ++ case $MACHINE in 47: ++ tlsdesc_opt=-mtls-dialect=gnu2 -47: +++ uname +38: + readelf -p .text.exit out/test/x86_64/arch-x86_64-section-name/exe +33: + objdump -d out/test/x86_64/arch-x86_64-relax/exe 46: +++ uname -48: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -48: ++ export LC_ALL=C -48: ++ LC_ALL=C -48: ++ '[' -z x86_64 ']' -48: ++ '[' -z '' ']' -48: ++ TESTDIR=out/test/x86_64 -48: ++ CC=cc -48: ++ CXX=c++ -48: ++ GCC=gcc -48: ++ GXX=g++ -48: ++ OBJDUMP=objdump -48: ++ OBJCOPY=objcopy -48: ++ STRIP=strip -48: ++ QEMU= -39: + out/test/x86_64/arch-x86_64-tbss-only/exe -48: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-warn-shared-textrel.sh .sh -28: + cat -28: + cc -Xassembler -mx86-used-note=no -c -o out/test/x86_64/arch-x86_64-note-property2/c.o -xassembler-with-cpp - +38: + grep -F '.text.exit .text.exit.foo' 46: ++ '[' Linux = FreeBSD ']' 46: ++ trap 'on_error $LINENO' ERR 46: ++ trap on_exit EXIT 46: ++ echo -n 'Testing arch-x86_64-unique ... ' 46: Testing arch-x86_64-unique ... ++ set -o pipefail 46: ++ set -x -46: + cat 46: + cc -c -o out/test/x86_64/arch-x86_64-unique/a.o -x assembler - +46: + cat +33: + sed -n '/:/,/<.*>:/p' +28: + grep 'x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' +38: [ 0] .text.exit .text.exit.foo +47: +++ uname 47: ++ '[' Linux = FreeBSD ']' 47: ++ trap 'on_error $LINENO' ERR 47: ++ trap on_exit EXIT @@ -4592,105 +4484,191 @@ 47: Testing arch-x86_64-warn-execstack ... ++ set -o pipefail 47: ++ set -x 47: + cat -48: ++ testname=arch-x86_64-warn-shared-textrel -48: ++ t=out/test/x86_64/arch-x86_64-warn-shared-textrel -48: ++ mkdir -p out/test/x86_64/arch-x86_64-warn-shared-textrel -39: + readelf -W --segments out/test/x86_64/arch-x86_64-tbss-only/exe 47: + cc -o out/test/x86_64/arch-x86_64-warn-execstack/a.o -c -xassembler - -40: + cat -39: + grep -E 'TLS +0x000([^ ][^ ][^ ]) 0x[^ ]+\1 ' -40: + gcc -mtls-dialect=gnu -fPIC -c -o out/test/x86_64/arch-x86_64-tls-gd-mcmodel-large/c.o -xc - -mcmodel=large -48: ++ case $MACHINE in -48: ++ tlsdesc_opt=-mtls-dialect=gnu2 -48: +++ uname -41: + cat -41: + cc -fPIC -c -o out/test/x86_64/arch-x86_64-tls-gd-to-ie/b.o -xc - -39: TLS 0x0006d4 0x00000000000026d4 0x00000000000026d4 0x000000 0x000001 R 0x1 -39: + on_exit -39: + echo OK -39: OK -39: + exit 0 - 37/402 Test #39: x86_64-arch-x86_64-tbss-only .......................... Passed 0.22 sec -48: ++ '[' Linux = FreeBSD ']' -48: ++ trap 'on_error $LINENO' ERR -48: ++ trap on_exit EXIT -48: ++ echo -n 'Testing arch-x86_64-warn-shared-textrel ... ' -48: Testing arch-x86_64-warn-shared-textrel ... ++ set -o pipefail -48: ++ set -x -48: + is_musl -test 49 - Start 49: x86_64-arch-x86_64-warn-textrel - -49: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-warn-textrel.sh" -49: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -49: Environment variables: -49: MACHINE=x86_64 -49: CPU= -49: Test timeout computed to be: 1500 -48: + grep musl +38: + readelf -p .text out/test/x86_64/arch-x86_64-section-name/exe +45: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-tlsdesc.sh .sh 46: + cc -B. -o out/test/x86_64/arch-x86_64-unique/exe out/test/x86_64/arch-x86_64-unique/a.o -nostdlib '-Wl,-unique=*foo*' +28: + readelf -n out/test/x86_64/arch-x86_64-note-property2/exe1 +28: x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4 +28: + ./mold -nostdlib -o out/test/x86_64/arch-x86_64-note-property2/exe2 out/test/x86_64/arch-x86_64-note-property2/a.o out/test/x86_64/arch-x86_64-note-property2/b.o out/test/x86_64/arch-x86_64-note-property2/c.o +44: ++ case $MACHINE in +44: ++ tlsdesc_opt=-mtls-dialect=gnu2 +45: ++ testname=arch-x86_64-tlsdesc +45: ++ t=out/test/x86_64/arch-x86_64-tlsdesc +45: ++ mkdir -p out/test/x86_64/arch-x86_64-tlsdesc +33: + grep -E 'lea \s*0x.+\(%rip\),%rax .*' out/test/x86_64/arch-x86_64-relax/log 47: + cat 47: + cc -o out/test/x86_64/arch-x86_64-warn-execstack/b.o -c -xc - -42: + cc -B. -o out/test/x86_64/arch-x86_64-tls-large-tbss/exe out/test/x86_64/arch-x86_64-tls-large-tbss/a.o out/test/x86_64/arch-x86_64-tls-large-tbss/b.o -48: + cat -48: + cc -c -o out/test/x86_64/arch-x86_64-warn-shared-textrel/a.o -x assembler - +38: + grep -F '.text .text.foo' +38: [ 1] .text .text.foo +42: + cat +44: +++ uname +44: ++ '[' Linux = FreeBSD ']' +44: ++ trap 'on_error $LINENO' ERR +44: ++ trap on_exit EXIT +44: ++ echo -n 'Testing arch-x86_64-tls-module-base ... ' +44: Testing arch-x86_64-tls-module-base ... ++ set -o pipefail +44: ++ set -x +44: + supports_tlsdesc +44: + '[' x86_64 = arm ']' +42: + cc -c -o out/test/x86_64/arch-x86_64-tls-large-tbss/b.o -xc - +38: + grep -F '.data.rel.ro .data.rel.ro.foo' +45: ++ case $MACHINE in +45: ++ tlsdesc_opt=-mtls-dialect=gnu2 +40: + cc -B. -shared -o out/test/x86_64/arch-x86_64-tls-gd-mcmodel-large/d.so out/test/x86_64/arch-x86_64-tls-gd-mcmodel-large/b.o -mcmodel=large +33: 16c9: 48 8d 05 ee 00 00 00 lea 0xee(%rip),%rax # 17be +33: + grep -E 'lea \s*0x.+\(%rip\),%rcx .*' out/test/x86_64/arch-x86_64-relax/log +38: + readelf -p .data.rel.ro out/test/x86_64/arch-x86_64-section-name/exe +44: ++ uname +28: mold: warning: entry symbol is not defined: _start +44: + '[' Linux = FreeBSD ']' +44: + '[' -mtls-dialect=gnu2 = '' ']' +47: + gcc -B. -o out/test/x86_64/arch-x86_64-warn-execstack/exe out/test/x86_64/arch-x86_64-warn-execstack/a.o out/test/x86_64/arch-x86_64-warn-execstack/b.o +45: +++ uname +45: ++ '[' Linux = FreeBSD ']' +45: ++ trap 'on_error $LINENO' ERR +45: ++ trap on_exit EXIT +45: ++ echo -n 'Testing arch-x86_64-tlsdesc ... ' +45: Testing arch-x86_64-tlsdesc ... ++ set -o pipefail +45: ++ set -x +45: + supports_tlsdesc +45: + '[' x86_64 = arm ']' +38: [ 0] .data.rel.ro .data.rel.ro.foo +28: + readelf -n out/test/x86_64/arch-x86_64-note-property2/exe2 +28: + not grep 'x86 feature: SHSTK' +28: + grep 'x86 feature: SHSTK' +44: + echo '_Thread_local int x; int y() { return x; }' 43: + cat 43: + gcc -ftls-model=local-dynamic -fPIC -c -o out/test/x86_64/arch-x86_64-tls-ld-mcmodel-large/b.o -xc - -mcmodel=large -49: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-warn-textrel.sh -49: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -49: ++ export LC_ALL=C -49: ++ LC_ALL=C -49: ++ '[' -z x86_64 ']' -49: ++ '[' -z '' ']' -49: ++ TESTDIR=out/test/x86_64 -49: ++ CC=cc -49: ++ CXX=c++ -49: ++ GCC=gcc -49: ++ GXX=g++ -49: ++ OBJDUMP=objdump -49: ++ OBJCOPY=objcopy -49: ++ STRIP=strip -49: ++ QEMU= -49: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-warn-textrel.sh .sh -49: ++ testname=arch-x86_64-warn-textrel -49: ++ t=out/test/x86_64/arch-x86_64-warn-textrel -49: ++ mkdir -p out/test/x86_64/arch-x86_64-warn-textrel -48: + cat -48: + cc -c -o out/test/x86_64/arch-x86_64-warn-shared-textrel/b.o -fPIC -xc - -49: ++ case $MACHINE in -49: ++ tlsdesc_opt=-mtls-dialect=gnu2 -49: +++ uname -49: ++ '[' Linux = FreeBSD ']' -49: ++ trap 'on_error $LINENO' ERR -49: ++ trap on_exit EXIT -49: ++ echo -n 'Testing arch-x86_64-warn-textrel ... ' -49: Testing arch-x86_64-warn-textrel ... ++ set -o pipefail -49: ++ set -x -49: + is_musl -49: + grep musl -46: + readelf -x .data.foo.1 out/test/x86_64/arch-x86_64-unique/exe +41: + cc -B. -shared -o out/test/x86_64/arch-x86_64-tls-gd-to-ie/c.so out/test/x86_64/arch-x86_64-tls-gd-to-ie/a.o +44: + cc -shared -fPIC -xc -o out/test/x86_64/arch-x86_64-tls-module-base/tlsdesc.so -mtls-dialect=gnu2 - +38: + grep -F '.data .data.foo' +47: + grep -E 'may cause a segmentation fault|requires executable stack' +45: ++ uname +45: + '[' Linux = FreeBSD ']' +45: + '[' -mtls-dialect=gnu2 = '' ']' +38: + readelf -p .data out/test/x86_64/arch-x86_64-section-name/exe +33: 16d0: 48 8d 0d e7 00 00 00 lea 0xe7(%rip),%rcx # 17be +33: + grep -E 'lea \s*0x.+\(%rip\),%rdx .*' out/test/x86_64/arch-x86_64-relax/log +38: [ 0] .data .data.foo +43: + cc -B. -o out/test/x86_64/arch-x86_64-tls-ld-mcmodel-large/exe out/test/x86_64/arch-x86_64-tls-ld-mcmodel-large/a.o out/test/x86_64/arch-x86_64-tls-ld-mcmodel-large/b.o -mcmodel=large +45: + cc -shared -fPIC -xc -o out/test/x86_64/arch-x86_64-tlsdesc/tlsdesc.so -mtls-dialect=gnu2 - +28: + return 0 +45: + echo '_Thread_local int x; int y() { return x; }' +38: + grep -F '.rodata .rodata.foo' +36: + grep '^42$' +36: + out/test/x86_64/arch-x86_64-reloc/exe +28: + readelf -n out/test/x86_64/arch-x86_64-note-property2/exe2 +38: + readelf -p .rodata out/test/x86_64/arch-x86_64-section-name/exe +38: [ 0] .rodata .rodata.foo +38: + ./mold -o out/test/x86_64/arch-x86_64-section-name/exe out/test/x86_64/arch-x86_64-section-name/a.o +28: + grep 'x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' +28: Properties: x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4 +33: 16d7: 48 8d 15 e0 00 00 00 lea 0xe0(%rip),%rdx # 17be +33: + grep -E 'lea \s*0x.+\(%rip\),%rbx .*' out/test/x86_64/arch-x86_64-relax/log +36: 42 +36: + cc -B. -o out/test/x86_64/arch-x86_64-reloc/exe out/test/x86_64/arch-x86_64-reloc/c.so out/test/x86_64/arch-x86_64-reloc/d.s -pie +28: + not grep 'x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' +28: + grep 'x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' 46: + grep ab +46: + readelf -x .data.foo.1 out/test/x86_64/arch-x86_64-unique/exe +28: + readelf -n out/test/x86_64/arch-x86_64-note-property2/exe2 46: 0x0000342a 6162 ab -49: + cc -c -o out/test/x86_64/arch-x86_64-warn-textrel/a.o -x assembler - -49: + cat -46: + readelf -x .data.foo.2 out/test/x86_64/arch-x86_64-unique/exe +28: + return 0 +28: + ./mold --relocatable -o out/test/x86_64/arch-x86_64-note-property2/d.o out/test/x86_64/arch-x86_64-note-property2/a.o out/test/x86_64/arch-x86_64-note-property2/b.o +41: + cc -B. -o out/test/x86_64/arch-x86_64-tls-gd-to-ie/exe1 out/test/x86_64/arch-x86_64-tls-gd-to-ie/b.o out/test/x86_64/arch-x86_64-tls-gd-to-ie/c.so 46: + grep c -36: + out/test/x86_64/arch-x86_64-reloc/exe -36: + grep '^42$' -36: 42 -36: + cat +46: + readelf -x .data.foo.2 out/test/x86_64/arch-x86_64-unique/exe +38: + not grep -F .text.hot +38: + grep -F .text.hot +38: + readelf --sections out/test/x86_64/arch-x86_64-section-name/exe +33: 16de: 48 8d 1d d9 00 00 00 lea 0xd9(%rip),%rbx # 17be +33: + grep -E 'lea \s*0x.+\(%rip\),%rbp .*' out/test/x86_64/arch-x86_64-relax/log 46: Hex dump of section '.data.foo.2': 46: 0x0000342c 63 c -49: + cat -46: + readelf -x .data out/test/x86_64/arch-x86_64-unique/exe -49: + cc -c -o out/test/x86_64/arch-x86_64-warn-textrel/b.o -fPIC -xc - +38: + return 0 +38: + ./mold -o out/test/x86_64/arch-x86_64-section-name/exe out/test/x86_64/arch-x86_64-section-name/a.o -z nokeep-text-section-prefix 46: + grep de +33: 16e5: 48 8d 2d d2 00 00 00 lea 0xd2(%rip),%rbp # 17be +46: + readelf -x .data out/test/x86_64/arch-x86_64-unique/exe +33: + grep -E 'lea \s*0x.+\(%rip\),%rsi .*' out/test/x86_64/arch-x86_64-relax/log +47: mold: warning: out/test/x86_64/arch-x86_64-warn-execstack/a.o: this file may cause a segmentation fault because it requires an executable stack. See https://github.com/rui314/mold/tree/main/docs/execstack.md for more info. +47: + on_exit +47: + echo OK +47: OK +47: + exit 0 + 36/402 Test #47: x86_64-arch-x86_64-warn-execstack ..................... Passed 0.11 sec +test 48 + Start 48: x86_64-arch-x86_64-warn-shared-textrel + +48: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-warn-shared-textrel.sh" +48: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +48: Environment variables: +48: MACHINE=x86_64 +48: CPU= +48: Test timeout computed to be: 1500 46: 0x00003428 6465 de 46: + on_exit 46: + echo OK 46: OK 46: + exit 0 - 38/402 Test #46: x86_64-arch-x86_64-unique ............................. Passed 0.08 sec +40: + cc -B. -shared -o out/test/x86_64/arch-x86_64-tls-gd-mcmodel-large/e.so out/test/x86_64/arch-x86_64-tls-gd-mcmodel-large/c.o -Wl,--no-relax -mcmodel=large +28: + readelf -n out/test/x86_64/arch-x86_64-note-property2/d.o +28: + grep 'x86 feature: SHSTK' +28: Properties: x86 feature: SHSTK +28: + grep 'x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' +28: + readelf -n out/test/x86_64/arch-x86_64-note-property2/d.o +28: x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4 +33: 16ec: 48 8d 35 cb 00 00 00 lea 0xcb(%rip),%rsi # 17be +33: + grep -E 'lea \s*0x.+\(%rip\),%rdi .*' out/test/x86_64/arch-x86_64-relax/log +36: + out/test/x86_64/arch-x86_64-reloc/exe +36: + grep '^42$' +36: 42 +36: + cat +36: + cc -B. -o out/test/x86_64/arch-x86_64-reloc/exe out/test/x86_64/arch-x86_64-reloc/c.so out/test/x86_64/arch-x86_64-reloc/d.s -no-pie + 37/402 Test #46: x86_64-arch-x86_64-unique ............................. Passed 0.13 sec +test 49 + Start 49: x86_64-arch-x86_64-warn-textrel + +49: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-warn-textrel.sh" +49: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +49: Environment variables: +49: MACHINE=x86_64 +49: CPU= +49: Test timeout computed to be: 1500 +43: + grep '3 5 3 5' +43: + out/test/x86_64/arch-x86_64-tls-ld-mcmodel-large/exe +43: 3 5 3 5 +43: + cc -B. -o out/test/x86_64/arch-x86_64-tls-ld-mcmodel-large/exe out/test/x86_64/arch-x86_64-tls-ld-mcmodel-large/a.o out/test/x86_64/arch-x86_64-tls-ld-mcmodel-large/b.o -Wl,-no-relax -mcmodel=large +42: + cc -B. -o out/test/x86_64/arch-x86_64-tls-large-tbss/exe out/test/x86_64/arch-x86_64-tls-large-tbss/a.o out/test/x86_64/arch-x86_64-tls-large-tbss/b.o +28: + readelf -n out/test/x86_64/arch-x86_64-note-property2/d.o +28: + grep 'x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' +28: x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4 +28: + on_exit +28: + echo OK +28: OK +28: + exit 0 +33: 16f3: 48 8d 3d c4 00 00 00 lea 0xc4(%rip),%rdi # 17be +33: + grep -E 'lea \s*0x.+\(%rip\),%r8 .*' out/test/x86_64/arch-x86_64-relax/log +48: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-warn-shared-textrel.sh +48: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +48: ++ export LC_ALL=C +48: ++ LC_ALL=C +48: ++ '[' -z x86_64 ']' +48: ++ '[' -z '' ']' +48: ++ TESTDIR=out/test/x86_64 +48: ++ CC=cc +48: ++ CXX=c++ +48: ++ GCC=gcc +48: ++ GXX=g++ +48: ++ OBJDUMP=objdump +48: ++ OBJCOPY=objcopy +48: ++ STRIP=strip +48: ++ QEMU= +38: + not grep -F .text.hot +38: + grep -F .text.hot + 38/402 Test #28: x86_64-arch-x86_64-note-property2 ..................... Passed 0.66 sec +40: + cc -B. -o out/test/x86_64/arch-x86_64-tls-gd-mcmodel-large/exe out/test/x86_64/arch-x86_64-tls-gd-mcmodel-large/a.o out/test/x86_64/arch-x86_64-tls-gd-mcmodel-large/d.so out/test/x86_64/arch-x86_64-tls-gd-mcmodel-large/e.so -mcmodel=large test 50 Start 50: x86_64-arch-x86_64-z-dynamic-undefined-weak @@ -4700,24 +4678,31 @@ 50: MACHINE=x86_64 50: CPU= 50: Test timeout computed to be: 1500 -42: + out/test/x86_64/arch-x86_64-tls-large-tbss/exe -42: + grep '^3 0 5 0 0 0$' -42: 3 0 5 0 0 0 -42: + on_exit -42: + echo OK -42: OK -42: + exit 0 +44: + cc -xc -c -o out/test/x86_64/arch-x86_64-tls-module-base/tlsdesc.o - +44: + echo 'int y(); int main() { y(); }' +33: 16fa: 4c 8d 05 bd 00 00 00 lea 0xbd(%rip),%r8 # 17be +33: + grep -E 'lea \s*0x.+\(%rip\),%r9 .*' out/test/x86_64/arch-x86_64-relax/log +38: + readelf --sections out/test/x86_64/arch-x86_64-section-name/exe +49: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-warn-textrel.sh +49: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +49: ++ export LC_ALL=C +49: ++ LC_ALL=C +49: ++ '[' -z x86_64 ']' +49: ++ '[' -z '' ']' +49: ++ TESTDIR=out/test/x86_64 +49: ++ CC=cc +49: ++ CXX=c++ +49: ++ GCC=gcc +49: ++ GXX=g++ +49: ++ OBJDUMP=objdump +49: ++ OBJCOPY=objcopy +49: ++ STRIP=strip +49: ++ QEMU= +48: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-warn-shared-textrel.sh .sh +48: ++ testname=arch-x86_64-warn-shared-textrel +48: ++ t=out/test/x86_64/arch-x86_64-warn-shared-textrel +48: ++ mkdir -p out/test/x86_64/arch-x86_64-warn-shared-textrel 50: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-z-dynamic-undefined-weak.sh - 39/402 Test #42: x86_64-arch-x86_64-tls-large-tbss ..................... Passed 0.20 sec -test 51 - Start 51: x86_64-arch-x86_64-z-ibt - -51: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-z-ibt.sh" -51: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -51: Environment variables: -51: MACHINE=x86_64 -51: CPU= -51: Test timeout computed to be: 1500 50: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 50: ++ export LC_ALL=C 50: ++ LC_ALL=C @@ -4732,13 +4717,64 @@ 50: ++ OBJCOPY=objcopy 50: ++ STRIP=strip 50: ++ QEMU= +38: + return 0 +38: + on_exit +38: + echo OK +38: OK +38: + exit 0 + 39/402 Test #38: x86_64-arch-x86_64-section-name ....................... Passed 0.31 sec +test 51 + Start 51: x86_64-arch-x86_64-z-ibt + +51: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-z-ibt.sh" +51: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +51: Environment variables: +51: MACHINE=x86_64 +51: CPU= +51: Test timeout computed to be: 1500 +33: 1701: 4c 8d 0d b6 00 00 00 lea 0xb6(%rip),%r9 # 17be +33: + grep -E 'lea \s*0x.+\(%rip\),%r10 .*' out/test/x86_64/arch-x86_64-relax/log +48: ++ case $MACHINE in +48: ++ tlsdesc_opt=-mtls-dialect=gnu2 +49: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-warn-textrel.sh .sh +49: ++ testname=arch-x86_64-warn-textrel +49: ++ t=out/test/x86_64/arch-x86_64-warn-textrel +49: ++ mkdir -p out/test/x86_64/arch-x86_64-warn-textrel 50: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-z-dynamic-undefined-weak.sh .sh +41: + grep '1 2 3' +41: + out/test/x86_64/arch-x86_64-tls-gd-to-ie/exe1 +41: 1 2 3 +41: + cc -B. -shared -o out/test/x86_64/arch-x86_64-tls-gd-to-ie/d.so out/test/x86_64/arch-x86_64-tls-gd-to-ie/a.o -Wl,-no-relax +48: +++ uname +48: ++ '[' Linux = FreeBSD ']' +48: ++ trap 'on_error $LINENO' ERR +48: ++ trap on_exit EXIT +48: ++ echo -n 'Testing arch-x86_64-warn-shared-textrel ... ' +48: Testing arch-x86_64-warn-shared-textrel ... ++ set -o pipefail +48: ++ set -x +48: + is_musl 50: ++ testname=arch-x86_64-z-dynamic-undefined-weak 50: ++ t=out/test/x86_64/arch-x86_64-z-dynamic-undefined-weak 50: ++ mkdir -p out/test/x86_64/arch-x86_64-z-dynamic-undefined-weak -51: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-z-ibt.sh +33: 1708: 4c 8d 15 af 00 00 00 lea 0xaf(%rip),%r10 # 17be +33: + grep -E 'lea \s*0x.+\(%rip\),%r11 .*' out/test/x86_64/arch-x86_64-relax/log +49: ++ case $MACHINE in +49: ++ tlsdesc_opt=-mtls-dialect=gnu2 50: ++ case $MACHINE in 50: ++ tlsdesc_opt=-mtls-dialect=gnu2 +45: + cc -xc -c -o out/test/x86_64/arch-x86_64-tlsdesc/tlsdesc.o - +48: + grep musl +51: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-z-ibt.sh +33: 170f: 4c 8d 1d a8 00 00 00 lea 0xa8(%rip),%r11 # 17be +33: + grep -E 'lea \s*0x.+\(%rip\),%r12 .*' out/test/x86_64/arch-x86_64-relax/log +49: +++ uname +49: ++ '[' Linux = FreeBSD ']' +49: ++ trap 'on_error $LINENO' ERR +49: ++ trap on_exit EXIT +49: ++ echo -n 'Testing arch-x86_64-warn-textrel ... ' +49: Testing arch-x86_64-warn-textrel ... ++ set -o pipefail +49: ++ set -x +49: + is_musl 51: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 51: ++ export LC_ALL=C 51: ++ LC_ALL=C @@ -4753,25 +4789,40 @@ 51: ++ OBJCOPY=objcopy 51: ++ STRIP=strip 51: ++ QEMU= +45: + echo 'int y(); int main() { y(); }' +48: + cc -c -o out/test/x86_64/arch-x86_64-warn-shared-textrel/a.o -x assembler - +48: + cat 50: +++ uname -51: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-z-ibt.sh .sh 50: ++ '[' Linux = FreeBSD ']' 50: ++ trap 'on_error $LINENO' ERR 50: ++ trap on_exit EXIT 50: ++ echo -n 'Testing arch-x86_64-z-dynamic-undefined-weak ... ' 50: Testing arch-x86_64-z-dynamic-undefined-weak ... ++ set -o pipefail 50: ++ set -x +49: + grep musl +33: 1716: 4c 8d 25 a1 00 00 00 lea 0xa1(%rip),%r12 # 17be +33: + grep -E 'lea \s*0x.+\(%rip\),%r13 .*' out/test/x86_64/arch-x86_64-relax/log +44: + cc -o out/test/x86_64/arch-x86_64-tls-module-base/tlsdesc out/test/x86_64/arch-x86_64-tls-module-base/tlsdesc.o out/test/x86_64/arch-x86_64-tls-module-base/tlsdesc.so +36: + grep '^56$' +36: + out/test/x86_64/arch-x86_64-reloc/exe +51: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-z-ibt.sh .sh 51: ++ testname=arch-x86_64-z-ibt 51: ++ t=out/test/x86_64/arch-x86_64-z-ibt 51: ++ mkdir -p out/test/x86_64/arch-x86_64-z-ibt 50: ++ uname 50: + '[' Linux = FreeBSD ']' +36: 56 +36: + cc -B. -o out/test/x86_64/arch-x86_64-reloc/exe out/test/x86_64/arch-x86_64-reloc/c.so out/test/x86_64/arch-x86_64-reloc/d.s -pie +33: 171d: 4c 8d 2d 9a 00 00 00 lea 0x9a(%rip),%r13 # 17be +33: + grep -E 'lea \s*0x.+\(%rip\),%r14 .*' out/test/x86_64/arch-x86_64-relax/log +33: 1724: 4c 8d 35 93 00 00 00 lea 0x93(%rip),%r14 # 17be +33: + grep -E 'lea \s*0x.+\(%rip\),%r15 .*' out/test/x86_64/arch-x86_64-relax/log +33: 172b: 4c 8d 3d 8c 00 00 00 lea 0x8c(%rip),%r15 # 17be +33: + grep -E 'lea \s*0x.+\(%rip\),%r16 .*' out/test/x86_64/arch-x86_64-relax/log +50: + cc -o out/test/x86_64/arch-x86_64-z-dynamic-undefined-weak/b.o -c -xc - -fno-PIE 51: ++ case $MACHINE in 51: ++ tlsdesc_opt=-mtls-dialect=gnu2 -50: + cat 51: +++ uname -50: + cc -o out/test/x86_64/arch-x86_64-z-dynamic-undefined-weak/b.o -c -xc - -fno-PIE -36: + cc -B. -o out/test/x86_64/arch-x86_64-reloc/exe out/test/x86_64/arch-x86_64-reloc/c.so out/test/x86_64/arch-x86_64-reloc/d.s -no-pie 51: ++ '[' Linux = FreeBSD ']' 51: ++ trap 'on_error $LINENO' ERR 51: ++ trap on_exit EXIT @@ -4779,33 +4830,34 @@ 51: Testing arch-x86_64-z-ibt ... ++ set -o pipefail 51: ++ set -x 51: + echo endbr64 +50: + cat +40: + out/test/x86_64/arch-x86_64-tls-gd-mcmodel-large/exe +49: + cat +49: + cc -c -o out/test/x86_64/arch-x86_64-warn-textrel/a.o -x assembler - +40: + grep '1 2 3 4 5 6' 51: + cc -o /dev/null -c -xassembler - +40: 1 2 3 4 5 6 +40: + cc -B. -o out/test/x86_64/arch-x86_64-tls-gd-mcmodel-large/exe out/test/x86_64/arch-x86_64-tls-gd-mcmodel-large/a.o out/test/x86_64/arch-x86_64-tls-gd-mcmodel-large/d.so out/test/x86_64/arch-x86_64-tls-gd-mcmodel-large/e.so -Wl,-no-relax -mcmodel=large +33: 1732: d5 48 8d 05 84 00 00 lea 0x84(%rip),%r16 # 17be +33: + grep -E 'lea \s*0x.+\(%rip\),%r17 .*' out/test/x86_64/arch-x86_64-relax/log +33: 173a: d5 48 8d 0d 7c 00 00 lea 0x7c(%rip),%r17 # 17be +33: + grep -E 'lea \s*0x.+\(%rip\),%r18 .*' out/test/x86_64/arch-x86_64-relax/log +45: + cc -o out/test/x86_64/arch-x86_64-tlsdesc/tlsdesc out/test/x86_64/arch-x86_64-tlsdesc/tlsdesc.o out/test/x86_64/arch-x86_64-tlsdesc/tlsdesc.so +42: + out/test/x86_64/arch-x86_64-tls-large-tbss/exe +42: + grep '^3 0 5 0 0 0$' +48: + cc -c -o out/test/x86_64/arch-x86_64-warn-shared-textrel/b.o -fPIC -xc - +48: + cat 51: + cat 51: + cc -o out/test/x86_64/arch-x86_64-z-ibt/a.o -c -x assembler - -41: + cc -B. -shared -o out/test/x86_64/arch-x86_64-tls-gd-to-ie/c.so out/test/x86_64/arch-x86_64-tls-gd-to-ie/a.o -28: + ./mold -nostdlib -o out/test/x86_64/arch-x86_64-note-property2/exe1 out/test/x86_64/arch-x86_64-note-property2/a.o out/test/x86_64/arch-x86_64-note-property2/b.o -47: + gcc -B. -o out/test/x86_64/arch-x86_64-warn-execstack/exe out/test/x86_64/arch-x86_64-warn-execstack/a.o out/test/x86_64/arch-x86_64-warn-execstack/b.o -47: + grep -E 'may cause a segmentation fault|requires executable stack' -43: + cc -B. -o out/test/x86_64/arch-x86_64-tls-ld-mcmodel-large/exe out/test/x86_64/arch-x86_64-tls-ld-mcmodel-large/a.o out/test/x86_64/arch-x86_64-tls-ld-mcmodel-large/b.o -mcmodel=large -40: + cc -B. -shared -o out/test/x86_64/arch-x86_64-tls-gd-mcmodel-large/d.so out/test/x86_64/arch-x86_64-tls-gd-mcmodel-large/b.o -mcmodel=large -51: + cc -B. -o out/test/x86_64/arch-x86_64-z-ibt/exe out/test/x86_64/arch-x86_64-z-ibt/a.o -48: + cc -B. -shared -o out/test/x86_64/arch-x86_64-warn-shared-textrel/c.so out/test/x86_64/arch-x86_64-warn-shared-textrel/a.o out/test/x86_64/arch-x86_64-warn-shared-textrel/b.o -Wl,-warn-shared-textrel -49: + cc -B. -o out/test/x86_64/arch-x86_64-warn-textrel/exe out/test/x86_64/arch-x86_64-warn-textrel/a.o out/test/x86_64/arch-x86_64-warn-textrel/b.o -pie -Wl,-warn-textrel -28: mold: warning: entry symbol is not defined: _start -28: + readelf -n out/test/x86_64/arch-x86_64-note-property2/exe1 -28: + grep 'x86 feature: SHSTK' -44: + echo 'int y(); int main() { y(); }' -44: + cc -xc -c -o out/test/x86_64/arch-x86_64-tls-module-base/tlsdesc.o - -45: + echo 'int y(); int main() { y(); }' -45: + cc -xc -c -o out/test/x86_64/arch-x86_64-tlsdesc/tlsdesc.o - -28: Properties: x86 feature: SHSTK -47: mold: warning: out/test/x86_64/arch-x86_64-warn-execstack/a.o: this file may cause a segmentation fault because it requires an executable stack. See https://github.com/rui314/mold/tree/main/docs/execstack.md for more info. -47: + on_exit -47: + echo OK -47: OK -47: + exit 0 -28: + readelf -n out/test/x86_64/arch-x86_64-note-property2/exe1 - 40/402 Test #47: x86_64-arch-x86_64-warn-execstack ..................... Passed 0.18 sec +43: + out/test/x86_64/arch-x86_64-tls-ld-mcmodel-large/exe +43: + grep '3 5 3 5' +42: 3 0 5 0 0 0 +42: + on_exit +42: + echo OK +42: OK +42: + exit 0 + 40/402 Test #42: x86_64-arch-x86_64-tls-large-tbss ..................... Passed 0.32 sec +43: 3 5 3 5 test 52 Start 52: x86_64-arch-x86_64-z-ibtplt @@ -4815,27 +4867,46 @@ 52: MACHINE=x86_64 52: CPU= 52: Test timeout computed to be: 1500 -50: + not cc -B. -o out/test/x86_64/arch-x86_64-z-dynamic-undefined-weak/exe3 out/test/x86_64/arch-x86_64-z-dynamic-undefined-weak/b.o -no-pie -Wl,-z,dynamic-undefined-weak -28: + grep 'x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' -41: + cc -B. -o out/test/x86_64/arch-x86_64-tls-gd-to-ie/exe1 out/test/x86_64/arch-x86_64-tls-gd-to-ie/b.o out/test/x86_64/arch-x86_64-tls-gd-to-ie/c.so -43: + out/test/x86_64/arch-x86_64-tls-ld-mcmodel-large/exe -43: + grep '3 5 3 5' +43: + on_exit +43: + echo OK +43: OK +43: + exit 0 +33: 1742: d5 48 8d 15 74 00 00 lea 0x74(%rip),%r18 # 17be +33: + grep -E 'lea \s*0x.+\(%rip\),%r19 .*' out/test/x86_64/arch-x86_64-relax/log +33: 174a: d5 48 8d 1d 6c 00 00 lea 0x6c(%rip),%r19 # 17be +33: + grep -E 'lea \s*0x.+\(%rip\),%r20 .*' out/test/x86_64/arch-x86_64-relax/log + 41/402 Test #43: x86_64-arch-x86_64-tls-ld-mcmodel-large ............... Passed 0.31 sec +test 53 + Start 53: x86_64-arch-x86_64-z-rewrite-endbr + +53: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-z-rewrite-endbr.sh" +53: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +53: Environment variables: +53: MACHINE=x86_64 +53: CPU= +53: Test timeout computed to be: 1500 +33: 1752: d5 48 8d 25 64 00 00 lea 0x64(%rip),%r20 # 17be +33: + grep -E 'lea \s*0x.+\(%rip\),%r21 .*' out/test/x86_64/arch-x86_64-relax/log +33: 175a: d5 48 8d 2d 5c 00 00 lea 0x5c(%rip),%r21 # 17be +33: + grep -E 'lea \s*0x.+\(%rip\),%r22 .*' out/test/x86_64/arch-x86_64-relax/log +33: 1762: d5 48 8d 35 54 00 00 lea 0x54(%rip),%r22 # 17be +33: + grep -E 'lea \s*0x.+\(%rip\),%r23 .*' out/test/x86_64/arch-x86_64-relax/log +33: 176a: d5 48 8d 3d 4c 00 00 lea 0x4c(%rip),%r23 # 17be +33: + grep -E 'lea \s*0x.+\(%rip\),%r24 .*' out/test/x86_64/arch-x86_64-relax/log +33: 1772: d5 4c 8d 05 44 00 00 lea 0x44(%rip),%r24 # 17be +33: + grep -E 'lea \s*0x.+\(%rip\),%r25 .*' out/test/x86_64/arch-x86_64-relax/log +33: 177a: d5 4c 8d 0d 3c 00 00 lea 0x3c(%rip),%r25 # 17be +33: + grep -E 'lea \s*0x.+\(%rip\),%r26 .*' out/test/x86_64/arch-x86_64-relax/log +33: 1782: d5 4c 8d 15 34 00 00 lea 0x34(%rip),%r26 # 17be +33: + grep -E 'lea \s*0x.+\(%rip\),%r27 .*' out/test/x86_64/arch-x86_64-relax/log +33: 178a: d5 4c 8d 1d 2c 00 00 lea 0x2c(%rip),%r27 # 17be +33: + grep -E 'lea \s*0x.+\(%rip\),%r28 .*' out/test/x86_64/arch-x86_64-relax/log 52: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-z-ibtplt.sh -50: + grep 'cannot create a copy relocation for foo' -28: x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4 -28: + readelf -n out/test/x86_64/arch-x86_64-note-property2/exe1 -28: + grep 'x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' -43: 3 5 3 5 -28: x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4 -28: + ./mold -nostdlib -o out/test/x86_64/arch-x86_64-note-property2/exe2 out/test/x86_64/arch-x86_64-note-property2/a.o out/test/x86_64/arch-x86_64-note-property2/b.o out/test/x86_64/arch-x86_64-note-property2/c.o -43: + cc -B. -o out/test/x86_64/arch-x86_64-tls-ld-mcmodel-large/exe out/test/x86_64/arch-x86_64-tls-ld-mcmodel-large/a.o out/test/x86_64/arch-x86_64-tls-ld-mcmodel-large/b.o -Wl,-no-relax -mcmodel=large -44: + cc -o out/test/x86_64/arch-x86_64-tls-module-base/tlsdesc out/test/x86_64/arch-x86_64-tls-module-base/tlsdesc.o out/test/x86_64/arch-x86_64-tls-module-base/tlsdesc.so 52: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 52: ++ export LC_ALL=C 52: ++ LC_ALL=C 52: ++ '[' -z x86_64 ']' 52: ++ '[' -z '' ']' -48: + grep 'relocation against symbol `main'\'' in read-only section' out/test/x86_64/arch-x86_64-warn-shared-textrel/log 52: ++ TESTDIR=out/test/x86_64 52: ++ CC=cc 52: ++ CXX=c++ @@ -4847,49 +4918,24 @@ 52: ++ QEMU= 52: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-z-ibtplt.sh .sh 52: ++ testname=arch-x86_64-z-ibtplt -40: + cc -B. -shared -o out/test/x86_64/arch-x86_64-tls-gd-mcmodel-large/e.so out/test/x86_64/arch-x86_64-tls-gd-mcmodel-large/c.o -Wl,--no-relax -mcmodel=large 52: ++ t=out/test/x86_64/arch-x86_64-z-ibtplt 52: ++ mkdir -p out/test/x86_64/arch-x86_64-z-ibtplt -48: mold: warning: out/test/x86_64/arch-x86_64-warn-shared-textrel/a.o:(.text): relocation against symbol `main' in read-only section -48: + grep 'creating a DT_TEXTREL in an output file' out/test/x86_64/arch-x86_64-warn-shared-textrel/log -45: + cc -o out/test/x86_64/arch-x86_64-tlsdesc/tlsdesc out/test/x86_64/arch-x86_64-tlsdesc/tlsdesc.o out/test/x86_64/arch-x86_64-tlsdesc/tlsdesc.so -36: + out/test/x86_64/arch-x86_64-reloc/exe -36: + grep '^56$' -48: mold: warning: creating a DT_TEXTREL in an output file -48: + on_exit -48: + echo OK -48: OK -48: + exit 0 - 41/402 Test #48: x86_64-arch-x86_64-warn-shared-textrel ................ Passed 0.21 sec -test 53 - Start 53: x86_64-arch-x86_64-z-rewrite-endbr - -53: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-z-rewrite-endbr.sh" -53: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -53: Environment variables: -53: MACHINE=x86_64 -53: CPU= -53: Test timeout computed to be: 1500 -36: 56 -36: + cc -B. -o out/test/x86_64/arch-x86_64-reloc/exe out/test/x86_64/arch-x86_64-reloc/c.so out/test/x86_64/arch-x86_64-reloc/d.s -pie 52: ++ case $MACHINE in 52: ++ tlsdesc_opt=-mtls-dialect=gnu2 +51: + cc -B. -o out/test/x86_64/arch-x86_64-z-ibt/exe out/test/x86_64/arch-x86_64-z-ibt/a.o +44: + out/test/x86_64/arch-x86_64-tls-module-base/tlsdesc +50: + grep 'cannot create a copy relocation for foo' +49: + cc -c -o out/test/x86_64/arch-x86_64-warn-textrel/b.o -fPIC -xc - +50: + not cc -B. -o out/test/x86_64/arch-x86_64-z-dynamic-undefined-weak/exe3 out/test/x86_64/arch-x86_64-z-dynamic-undefined-weak/b.o -no-pie -Wl,-z,dynamic-undefined-weak +49: + cat +36: + grep '^56$' +40: + grep '1 2 3 4 5 6' +36: + out/test/x86_64/arch-x86_64-reloc/exe +44: + cc -fPIC -o out/test/x86_64/arch-x86_64-tls-module-base/a.o -c -xassembler - 52: +++ uname -52: ++ '[' Linux = FreeBSD ']' -52: ++ trap 'on_error $LINENO' ERR -52: ++ trap on_exit EXIT -52: ++ echo -n 'Testing arch-x86_64-z-ibtplt ... ' -52: Testing arch-x86_64-z-ibtplt ... ++ set -o pipefail -52: ++ set -x -52: + cc -fPIC -o out/test/x86_64/arch-x86_64-z-ibtplt/a.o -c -xc - -52: + cat -49: + grep 'relocation against symbol `main'\'' in read-only section' out/test/x86_64/arch-x86_64-warn-textrel/log +40: + out/test/x86_64/arch-x86_64-tls-gd-mcmodel-large/exe 53: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-z-rewrite-endbr.sh -28: mold: warning: entry symbol is not defined: _start -28: + not grep 'x86 feature: SHSTK' 53: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -28: + readelf -n out/test/x86_64/arch-x86_64-note-property2/exe2 -28: + grep 'x86 feature: SHSTK' 53: ++ export LC_ALL=C 53: ++ LC_ALL=C 53: ++ '[' -z x86_64 ']' @@ -4903,16 +4949,16 @@ 53: ++ OBJCOPY=objcopy 53: ++ STRIP=strip 53: ++ QEMU= -49: mold: warning: out/test/x86_64/arch-x86_64-warn-textrel/a.o:(.text): relocation against symbol `main' in read-only section -53: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-z-rewrite-endbr.sh .sh -49: + grep 'creating a DT_TEXTREL in an output file' out/test/x86_64/arch-x86_64-warn-textrel/log -49: mold: warning: creating a DT_TEXTREL in an output file -49: + on_exit -49: + echo OK -49: OK -49: + exit 0 - 42/402 Test #49: x86_64-arch-x86_64-warn-textrel ....................... Passed 0.19 sec -53: ++ testname=arch-x86_64-z-rewrite-endbr +44: + cat +36: 56 +36: + cat +40: 1 2 3 4 5 6 +40: + on_exit +40: + echo OK +40: OK +40: + exit 0 + 42/402 Test #40: x86_64-arch-x86_64-tls-gd-mcmodel-large ............... Passed 0.40 sec +33: 1792: d5 4c 8d 25 24 00 00 lea 0x24(%rip),%r28 # 17be test 54 Start 54: x86_64-arch-x86_64-z-rewrite-endbr2 @@ -4922,26 +4968,60 @@ 54: MACHINE=x86_64 54: CPU= 54: Test timeout computed to be: 1500 +33: + grep -E 'lea \s*0x.+\(%rip\),%r29 .*' out/test/x86_64/arch-x86_64-relax/log +53: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-z-rewrite-endbr.sh .sh +45: + out/test/x86_64/arch-x86_64-tlsdesc/tlsdesc +52: ++ '[' Linux = FreeBSD ']' +52: ++ trap 'on_error $LINENO' ERR +52: ++ trap on_exit EXIT +52: ++ echo -n 'Testing arch-x86_64-z-ibtplt ... ' +52: Testing arch-x86_64-z-ibtplt ... ++ set -o pipefail +52: ++ set -x +36: + cc -c -o out/test/x86_64/arch-x86_64-reloc/d.o out/test/x86_64/arch-x86_64-reloc/d.s +41: + cc -B. -o out/test/x86_64/arch-x86_64-tls-gd-to-ie/exe2 out/test/x86_64/arch-x86_64-tls-gd-to-ie/b.o out/test/x86_64/arch-x86_64-tls-gd-to-ie/d.so +36: + cc -B. -o out/test/x86_64/arch-x86_64-reloc/exe out/test/x86_64/arch-x86_64-reloc/c.so out/test/x86_64/arch-x86_64-reloc/d.o -no-pie +53: ++ testname=arch-x86_64-z-rewrite-endbr 53: ++ t=out/test/x86_64/arch-x86_64-z-rewrite-endbr 53: ++ mkdir -p out/test/x86_64/arch-x86_64-z-rewrite-endbr +49: + cc -B. -o out/test/x86_64/arch-x86_64-warn-textrel/exe out/test/x86_64/arch-x86_64-warn-textrel/a.o out/test/x86_64/arch-x86_64-warn-textrel/b.o -pie -Wl,-warn-textrel +52: + cc -fPIC -o out/test/x86_64/arch-x86_64-z-ibtplt/a.o -c -xc - +52: + cat +33: 179a: d5 4c 8d 2d 1c 00 00 lea 0x1c(%rip),%r29 # 17be 53: ++ case $MACHINE in 53: ++ tlsdesc_opt=-mtls-dialect=gnu2 +33: + grep -E 'lea \s*0x.+\(%rip\),%r30 .*' out/test/x86_64/arch-x86_64-relax/log +44: + cat +44: + cc -o out/test/x86_64/arch-x86_64-tls-module-base/b.o -c -xc - +54: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-z-rewrite-endbr2.sh +45: + cat +54: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +54: ++ export LC_ALL=C +54: ++ LC_ALL=C +54: ++ '[' -z x86_64 ']' +54: ++ '[' -z '' ']' +54: ++ TESTDIR=out/test/x86_64 +54: ++ CC=cc +54: ++ CXX=c++ +54: ++ GCC=gcc +54: ++ GXX=g++ +54: ++ OBJDUMP=objdump +54: ++ OBJCOPY=objcopy +54: ++ STRIP=strip +54: ++ QEMU= +45: + gcc -c -o out/test/x86_64/arch-x86_64-tlsdesc/a.o -xassembler - 53: +++ uname -28: + return 0 -28: + grep 'x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' -28: + readelf -n out/test/x86_64/arch-x86_64-note-property2/exe2 -28: Properties: x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4 -41: + out/test/x86_64/arch-x86_64-tls-gd-to-ie/exe1 -41: + grep '1 2 3' -41: 1 2 3 -41: + cc -B. -shared -o out/test/x86_64/arch-x86_64-tls-gd-to-ie/d.so out/test/x86_64/arch-x86_64-tls-gd-to-ie/a.o -Wl,-no-relax +48: + cc -B. -shared -o out/test/x86_64/arch-x86_64-warn-shared-textrel/c.so out/test/x86_64/arch-x86_64-warn-shared-textrel/a.o out/test/x86_64/arch-x86_64-warn-shared-textrel/b.o -Wl,-warn-shared-textrel 50: mold: error: out/test/x86_64/arch-x86_64-z-dynamic-undefined-weak/b.o:(.text): cannot create a copy relocation for foo; recompile with -fPIE or -fPIC 50: + on_exit 50: + echo OK 50: OK 50: + exit 0 +54: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-z-rewrite-endbr2.sh .sh +33: 17a2: d5 4c 8d 35 14 00 00 lea 0x14(%rip),%r30 # 17be 43/402 Test #50: x86_64-arch-x86_64-z-dynamic-undefined-weak ........... Passed 0.16 sec -28: + readelf -n out/test/x86_64/arch-x86_64-note-property2/exe2 +54: ++ testname=arch-x86_64-z-rewrite-endbr2 +54: ++ t=out/test/x86_64/arch-x86_64-z-rewrite-endbr2 +54: ++ mkdir -p out/test/x86_64/arch-x86_64-z-rewrite-endbr2 test 55 Start 55: x86_64-arch-x86_64-z-rewrite-endbr3 @@ -4951,8 +5031,16 @@ 55: MACHINE=x86_64 55: CPU= 55: Test timeout computed to be: 1500 -28: + not grep 'x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' -28: + grep 'x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' +33: + grep -E 'lea \s*0x.+\(%rip\),%r31 .*' out/test/x86_64/arch-x86_64-relax/log +33: 17aa: d5 4c 8d 3d 0c 00 00 lea 0xc(%rip),%r31 # 17be +33: + grep -E 'call.*' out/test/x86_64/arch-x86_64-relax/log +33: 17b2: 40 e8 06 00 00 00 rex call 17be +33: + grep -E 'jmp.*' out/test/x86_64/arch-x86_64-relax/log +33: 17b8: 40 e9 00 00 00 00 rex jmp 17be +33: + on_exit +33: + echo OK +33: OK +33: + exit 0 53: ++ '[' Linux = FreeBSD ']' 53: ++ trap 'on_error $LINENO' ERR 53: ++ trap on_exit EXIT @@ -4961,58 +5049,9 @@ 53: ++ set -x 53: + test_cflags -fcf-protection 53: + cc -B. -fcf-protection -o /dev/null -xc - -54: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-z-rewrite-endbr2.sh -54: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -54: ++ export LC_ALL=C -54: ++ LC_ALL=C -54: ++ '[' -z x86_64 ']' -54: ++ '[' -z '' ']' -54: ++ TESTDIR=out/test/x86_64 -54: ++ CC=cc -54: ++ CXX=c++ -54: ++ GCC=gcc -54: ++ GXX=g++ -54: ++ OBJDUMP=objdump -54: ++ OBJCOPY=objcopy -54: ++ STRIP=strip -54: ++ QEMU= -53: + echo 'int main() {}' -54: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-z-rewrite-endbr2.sh .sh -55: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-z-rewrite-endbr3.sh -51: + readelf --notes out/test/x86_64/arch-x86_64-z-ibt/exe -51: + not grep -w SHSTK -51: + grep -w SHSTK -55: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -55: ++ export LC_ALL=C -55: ++ LC_ALL=C -55: ++ '[' -z x86_64 ']' -55: ++ '[' -z '' ']' -55: ++ TESTDIR=out/test/x86_64 -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/arch-x86_64-z-rewrite-endbr3.sh .sh -44: + out/test/x86_64/arch-x86_64-tls-module-base/tlsdesc -54: ++ testname=arch-x86_64-z-rewrite-endbr2 -54: ++ t=out/test/x86_64/arch-x86_64-z-rewrite-endbr2 -54: ++ mkdir -p out/test/x86_64/arch-x86_64-z-rewrite-endbr2 -28: + return 0 -28: + ./mold --relocatable -o out/test/x86_64/arch-x86_64-note-property2/d.o out/test/x86_64/arch-x86_64-note-property2/a.o out/test/x86_64/arch-x86_64-note-property2/b.o -51: + return 0 -55: ++ testname=arch-x86_64-z-rewrite-endbr3 -55: ++ t=out/test/x86_64/arch-x86_64-z-rewrite-endbr3 -55: ++ mkdir -p out/test/x86_64/arch-x86_64-z-rewrite-endbr3 54: ++ case $MACHINE in 54: ++ tlsdesc_opt=-mtls-dialect=gnu2 -51: + cc -B. -o out/test/x86_64/arch-x86_64-z-ibt/exe out/test/x86_64/arch-x86_64-z-ibt/a.o -Wl,-z,ibt -44: + cat 54: +++ uname -44: + cc -fPIC -o out/test/x86_64/arch-x86_64-tls-module-base/a.o -c -xassembler - 54: ++ '[' Linux = FreeBSD ']' 54: ++ trap 'on_error $LINENO' ERR 54: ++ trap on_exit EXIT @@ -5021,39 +5060,16 @@ 54: ++ set -x 54: + test_cflags -fcf-protection 54: + cc -B. -fcf-protection -o /dev/null -xc - -55: ++ case $MACHINE in -55: ++ tlsdesc_opt=-mtls-dialect=gnu2 -55: +++ uname -55: ++ '[' Linux = FreeBSD ']' -55: ++ trap 'on_error $LINENO' ERR -55: ++ trap on_exit EXIT -55: ++ echo -n 'Testing arch-x86_64-z-rewrite-endbr3 ... ' -55: Testing arch-x86_64-z-rewrite-endbr3 ... ++ set -o pipefail -55: ++ set -x -55: + test_cflags -fcf-protection -54: + echo 'int main() {}' -55: + echo 'int main() {}' -55: + cc -B. -fcf-protection -o /dev/null -xc - -45: + out/test/x86_64/arch-x86_64-tlsdesc/tlsdesc -28: + readelf -n out/test/x86_64/arch-x86_64-note-property2/d.o -28: + grep 'x86 feature: SHSTK' -44: + cat -43: + out/test/x86_64/arch-x86_64-tls-ld-mcmodel-large/exe -43: + grep '3 5 3 5' -44: + cc -o out/test/x86_64/arch-x86_64-tls-module-base/b.o -c -xc - -45: + cat -40: + cc -B. -o out/test/x86_64/arch-x86_64-tls-gd-mcmodel-large/exe out/test/x86_64/arch-x86_64-tls-gd-mcmodel-large/a.o out/test/x86_64/arch-x86_64-tls-gd-mcmodel-large/d.so out/test/x86_64/arch-x86_64-tls-gd-mcmodel-large/e.so -mcmodel=large -28: Properties: x86 feature: SHSTK -45: + gcc -c -o out/test/x86_64/arch-x86_64-tlsdesc/a.o -xassembler - -43: 3 5 3 5 -28: + readelf -n out/test/x86_64/arch-x86_64-note-property2/d.o -28: + grep 'x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' -43: + on_exit -43: + echo OK -43: OK -43: + exit 0 -28: x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4 - 44/402 Test #43: x86_64-arch-x86_64-tls-ld-mcmodel-large ............... Passed 0.34 sec +49: + grep 'relocation against symbol `main'\'' in read-only section' out/test/x86_64/arch-x86_64-warn-textrel/log +49: mold: warning: out/test/x86_64/arch-x86_64-warn-textrel/a.o:(.text): relocation against symbol `main' in read-only section +49: + grep 'creating a DT_TEXTREL in an output file' out/test/x86_64/arch-x86_64-warn-textrel/log +49: mold: warning: creating a DT_TEXTREL in an output file +49: + on_exit +49: + echo OK +49: OK +49: + exit 0 + 44/402 Test #33: x86_64-arch-x86_64-relax .............................. Passed 0.60 sec + 45/402 Test #49: x86_64-arch-x86_64-warn-textrel ....................... Passed 0.20 sec test 56 Start 56: x86_64-arch-x86_64-z-shstk @@ -5063,18 +5079,6 @@ 56: MACHINE=x86_64 56: CPU= 56: Test timeout computed to be: 1500 -28: + readelf -n out/test/x86_64/arch-x86_64-note-property2/d.o -28: + grep 'x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' -28: x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4 -36: + out/test/x86_64/arch-x86_64-reloc/exe -36: + grep '^56$' -45: + cat -45: + gcc -fPIC -c -o out/test/x86_64/arch-x86_64-tlsdesc/b.o -xc - -mtls-dialect=gnu2 -28: + on_exit -28: + echo OK -28: OK -28: + exit 0 - 45/402 Test #28: x86_64-arch-x86_64-note-property2 ..................... Passed 0.76 sec test 57 Start 57: x86_64-arch-x86_64-z-text @@ -5084,9 +5088,27 @@ 57: MACHINE=x86_64 57: CPU= 57: Test timeout computed to be: 1500 -36: 56 -36: + cat -41: + cc -B. -o out/test/x86_64/arch-x86_64-tls-gd-to-ie/exe2 out/test/x86_64/arch-x86_64-tls-gd-to-ie/b.o out/test/x86_64/arch-x86_64-tls-gd-to-ie/d.so +45: + cat +45: + gcc -fPIC -c -o out/test/x86_64/arch-x86_64-tlsdesc/b.o -xc - -mtls-dialect=gnu2 +45: + cc -B. -o out/test/x86_64/arch-x86_64-tlsdesc/exe1 out/test/x86_64/arch-x86_64-tlsdesc/a.o out/test/x86_64/arch-x86_64-tlsdesc/b.o +54: + echo 'int main() {}' +44: + cc -o out/test/x86_64/arch-x86_64-tls-module-base/c.o -c -xc - +44: + cat +53: + echo 'int main() {}' +51: + readelf --notes out/test/x86_64/arch-x86_64-z-ibt/exe +51: + not grep -w SHSTK +51: + grep -w SHSTK +51: + return 0 +51: + cc -B. -o out/test/x86_64/arch-x86_64-z-ibt/exe out/test/x86_64/arch-x86_64-z-ibt/a.o -Wl,-z,ibt +52: + cc -B. -o out/test/x86_64/arch-x86_64-z-ibtplt/b.so -shared out/test/x86_64/arch-x86_64-z-ibtplt/a.o -Wl,-z,ibtplt +48: + grep 'relocation against symbol `main'\'' in read-only section' out/test/x86_64/arch-x86_64-warn-shared-textrel/log +48: mold: warning: out/test/x86_64/arch-x86_64-warn-shared-textrel/a.o:(.text): relocation against symbol `main' in read-only section +48: + grep 'creating a DT_TEXTREL in an output file' out/test/x86_64/arch-x86_64-warn-shared-textrel/log +36: + grep '^56$' +45: + grep 42 +45: + out/test/x86_64/arch-x86_64-tlsdesc/exe1 +45: 42 +45: + cc -B. -o out/test/x86_64/arch-x86_64-tlsdesc/exe2 out/test/x86_64/arch-x86_64-tlsdesc/a.o out/test/x86_64/arch-x86_64-tlsdesc/b.o -Wl,-no-relax 56: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-z-shstk.sh 56: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 56: ++ export LC_ALL=C @@ -5102,20 +5124,54 @@ 56: ++ OBJCOPY=objcopy 56: ++ STRIP=strip 56: ++ QEMU= +36: + out/test/x86_64/arch-x86_64-reloc/exe +55: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-z-rewrite-endbr3.sh +55: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +55: ++ export LC_ALL=C +55: ++ LC_ALL=C +55: ++ '[' -z x86_64 ']' +55: ++ '[' -z '' ']' +55: ++ TESTDIR=out/test/x86_64 +55: ++ CC=cc +55: ++ CXX=c++ +55: ++ GCC=gcc +55: ++ GXX=g++ +55: ++ OBJDUMP=objdump +55: ++ OBJCOPY=objcopy +55: ++ STRIP=strip +55: ++ QEMU= +48: mold: warning: creating a DT_TEXTREL in an output file +48: + on_exit +48: + echo OK +48: OK +48: + exit 0 +36: 56 + 46/402 Test #48: x86_64-arch-x86_64-warn-shared-textrel ................ Passed 0.27 sec +test 58 + Start 58: x86_64-abs-error + +58: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/abs-error.sh" +58: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +58: Environment variables: +58: MACHINE=x86_64 +58: CPU= +58: Test timeout computed to be: 1500 +36: + cc -B. -o out/test/x86_64/arch-x86_64-reloc/exe out/test/x86_64/arch-x86_64-reloc/c.so out/test/x86_64/arch-x86_64-reloc/d.s -pie +41: + grep '1 2 3' +41: + out/test/x86_64/arch-x86_64-tls-gd-to-ie/exe2 +41: 1 2 3 56: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-z-shstk.sh .sh 56: ++ testname=arch-x86_64-z-shstk 56: ++ t=out/test/x86_64/arch-x86_64-z-shstk 56: ++ mkdir -p out/test/x86_64/arch-x86_64-z-shstk 57: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-z-text.sh +41: + cc -B. -shared -o out/test/x86_64/arch-x86_64-tls-gd-to-ie/e.so out/test/x86_64/arch-x86_64-tls-gd-to-ie/a.o -Wl,-z,nodlopen +44: + cc -B. -o out/test/x86_64/arch-x86_64-tls-module-base/exe1 out/test/x86_64/arch-x86_64-tls-module-base/a.o out/test/x86_64/arch-x86_64-tls-module-base/b.o out/test/x86_64/arch-x86_64-tls-module-base/c.o +55: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-z-rewrite-endbr3.sh .sh 57: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 57: ++ export LC_ALL=C 57: ++ LC_ALL=C 57: ++ '[' -z x86_64 ']' -36: + cc -c -o out/test/x86_64/arch-x86_64-reloc/d.o out/test/x86_64/arch-x86_64-reloc/d.s -56: ++ case $MACHINE in -56: ++ tlsdesc_opt=-mtls-dialect=gnu2 -56: +++ uname -52: + cc -B. -o out/test/x86_64/arch-x86_64-z-ibtplt/b.so -shared out/test/x86_64/arch-x86_64-z-ibtplt/a.o -Wl,-z,ibtplt 57: ++ '[' -z '' ']' 57: ++ TESTDIR=out/test/x86_64 57: ++ CC=cc @@ -5126,61 +5182,19 @@ 57: ++ OBJCOPY=objcopy 57: ++ STRIP=strip 57: ++ QEMU= +55: ++ testname=arch-x86_64-z-rewrite-endbr3 +55: ++ t=out/test/x86_64/arch-x86_64-z-rewrite-endbr3 +55: ++ mkdir -p out/test/x86_64/arch-x86_64-z-rewrite-endbr3 +56: ++ case $MACHINE in +56: ++ tlsdesc_opt=-mtls-dialect=gnu2 +58: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/abs-error.sh 57: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/arch-x86_64-z-text.sh .sh 57: ++ testname=arch-x86_64-z-text 57: ++ t=out/test/x86_64/arch-x86_64-z-text 57: ++ mkdir -p out/test/x86_64/arch-x86_64-z-text -44: + cat -44: + cc -o out/test/x86_64/arch-x86_64-tls-module-base/c.o -c -xc - -51: + readelf --notes out/test/x86_64/arch-x86_64-z-ibt/exe -56: ++ '[' Linux = FreeBSD ']' -56: ++ trap 'on_error $LINENO' ERR -56: ++ trap on_exit EXIT -56: ++ echo -n 'Testing arch-x86_64-z-shstk ... ' -56: Testing arch-x86_64-z-shstk ... ++ set -o pipefail -56: ++ set -x -56: + echo endbr64 -56: + cc -o /dev/null -c -xassembler - -51: + grep -w IBT -36: + cc -B. -o out/test/x86_64/arch-x86_64-reloc/exe out/test/x86_64/arch-x86_64-reloc/c.so out/test/x86_64/arch-x86_64-reloc/d.o -no-pie -57: ++ case $MACHINE in -57: ++ tlsdesc_opt=-mtls-dialect=gnu2 -57: +++ uname -51: Properties: x86 feature: IBT -51: + on_exit -51: + echo OK -51: OK -51: + exit 0 - 46/402 Test #51: x86_64-arch-x86_64-z-ibt .............................. Passed 0.24 sec -test 58 - Start 58: x86_64-abs-error - -58: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/abs-error.sh" -58: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -58: Environment variables: -58: MACHINE=x86_64 -58: CPU= -58: Test timeout computed to be: 1500 -57: ++ '[' Linux = FreeBSD ']' -57: ++ trap 'on_error $LINENO' ERR -57: ++ trap on_exit EXIT -57: ++ echo -n 'Testing arch-x86_64-z-text ... ' -57: Testing arch-x86_64-z-text ... ++ set -o pipefail -57: ++ set -x -57: + is_musl -56: + cat -56: + cc -o out/test/x86_64/arch-x86_64-z-shstk/a.o -c -x assembler - -57: + grep musl -40: + out/test/x86_64/arch-x86_64-tls-gd-mcmodel-large/exe -40: + grep '1 2 3 4 5 6' -57: + cat -57: + cc -c -o out/test/x86_64/arch-x86_64-z-text/a.o -x assembler - -58: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/abs-error.sh -56: + cc -B. -o out/test/x86_64/arch-x86_64-z-shstk/exe out/test/x86_64/arch-x86_64-z-shstk/a.o 58: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 58: ++ export LC_ALL=C 58: ++ LC_ALL=C -40: 1 2 3 4 5 6 58: ++ '[' -z x86_64 ']' 58: ++ '[' -z '' ']' 58: ++ TESTDIR=out/test/x86_64 @@ -5192,20 +5206,46 @@ 58: ++ OBJCOPY=objcopy 58: ++ STRIP=strip 58: ++ QEMU= -40: + cc -B. -o out/test/x86_64/arch-x86_64-tls-gd-mcmodel-large/exe out/test/x86_64/arch-x86_64-tls-gd-mcmodel-large/a.o out/test/x86_64/arch-x86_64-tls-gd-mcmodel-large/d.so out/test/x86_64/arch-x86_64-tls-gd-mcmodel-large/e.so -Wl,-no-relax -mcmodel=large +55: ++ case $MACHINE in +55: ++ tlsdesc_opt=-mtls-dialect=gnu2 +56: +++ uname +56: ++ '[' Linux = FreeBSD ']' +56: ++ trap 'on_error $LINENO' ERR +56: ++ trap on_exit EXIT +56: ++ echo -n 'Testing arch-x86_64-z-shstk ... ' +56: Testing arch-x86_64-z-shstk ... ++ set -o pipefail +56: ++ set -x 58: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/abs-error.sh .sh 58: ++ testname=abs-error 58: ++ t=out/test/x86_64/abs-error 58: ++ mkdir -p out/test/x86_64/abs-error -54: + cat -54: + cc -o out/test/x86_64/arch-x86_64-z-rewrite-endbr2/a.o -c -xc - -fno-function-sections -O -fcf-protection -53: + cat -53: + cc -o out/test/x86_64/arch-x86_64-z-rewrite-endbr/a.o -c -xc - -ffunction-sections -O -fcf-protection -57: + cat +57: ++ case $MACHINE in +57: ++ tlsdesc_opt=-mtls-dialect=gnu2 +55: +++ uname +56: + cc -o /dev/null -c -xassembler - +55: ++ '[' Linux = FreeBSD ']' +55: ++ trap 'on_error $LINENO' ERR +55: ++ trap on_exit EXIT +55: ++ echo -n 'Testing arch-x86_64-z-rewrite-endbr3 ... ' +55: Testing arch-x86_64-z-rewrite-endbr3 ... ++ set -o pipefail +55: ++ set -x +55: + test_cflags -fcf-protection +56: + echo endbr64 +57: +++ uname +57: ++ '[' Linux = FreeBSD ']' +57: ++ trap 'on_error $LINENO' ERR +57: ++ trap on_exit EXIT +57: ++ echo -n 'Testing arch-x86_64-z-text ... ' +57: Testing arch-x86_64-z-text ... ++ set -o pipefail +57: ++ set -x +57: + is_musl +55: + cc -B. -fcf-protection -o /dev/null -xc - 58: ++ case $MACHINE in 58: ++ tlsdesc_opt=-mtls-dialect=gnu2 -57: + cc -c -o out/test/x86_64/arch-x86_64-z-text/b.o -fPIC -xc - +52: + cc -o out/test/x86_64/arch-x86_64-z-ibtplt/c.o -c -xc - +55: + echo 'int main() {}' 58: +++ uname +52: + cat 58: ++ '[' Linux = FreeBSD ']' 58: ++ trap 'on_error $LINENO' ERR 58: ++ trap on_exit EXIT @@ -5217,30 +5257,34 @@ 58: + '[' x86_64 = ppc64le ']' 58: + '[' x86_64 = s390x ']' 58: + [[ x86_64 = loongarch* ]] +54: + cat +57: + grep musl +54: + cc -o out/test/x86_64/arch-x86_64-z-rewrite-endbr2/a.o -c -xc - -fno-function-sections -O -fcf-protection +45: + grep 42 58: + cc -fPIC -c -o out/test/x86_64/abs-error/a.o -xassembler - +56: + cc -o out/test/x86_64/arch-x86_64-z-shstk/a.o -c -x assembler - +45: + out/test/x86_64/arch-x86_64-tlsdesc/exe2 +56: + cat 58: + cat -45: + cc -B. -o out/test/x86_64/arch-x86_64-tlsdesc/exe1 out/test/x86_64/arch-x86_64-tlsdesc/a.o out/test/x86_64/arch-x86_64-tlsdesc/b.o -44: + cc -B. -o out/test/x86_64/arch-x86_64-tls-module-base/exe1 out/test/x86_64/arch-x86_64-tls-module-base/a.o out/test/x86_64/arch-x86_64-tls-module-base/b.o out/test/x86_64/arch-x86_64-tls-module-base/c.o -52: + cat -41: + grep '1 2 3' -41: + out/test/x86_64/arch-x86_64-tls-gd-to-ie/exe2 +45: 42 +56: + cc -B. -o out/test/x86_64/arch-x86_64-z-shstk/exe out/test/x86_64/arch-x86_64-z-shstk/a.o +45: + cc -B. -shared -o out/test/x86_64/arch-x86_64-tlsdesc/c.so out/test/x86_64/arch-x86_64-tlsdesc/a.o +51: + readelf --notes out/test/x86_64/arch-x86_64-z-ibt/exe +57: + cc -c -o out/test/x86_64/arch-x86_64-z-text/a.o -x assembler - +51: + grep -w IBT +51: Properties: x86 feature: IBT +57: + cat +41: + cc -B. -o out/test/x86_64/arch-x86_64-tls-gd-to-ie/exe3 out/test/x86_64/arch-x86_64-tls-gd-to-ie/b.o out/test/x86_64/arch-x86_64-tls-gd-to-ie/e.so 58: + cc -fno-PIC -c -o out/test/x86_64/abs-error/b.o -xc - 58: + cat -52: + cc -o out/test/x86_64/arch-x86_64-z-ibtplt/c.o -c -xc - -41: 1 2 3 -41: + cc -B. -shared -o out/test/x86_64/arch-x86_64-tls-gd-to-ie/e.so out/test/x86_64/arch-x86_64-tls-gd-to-ie/a.o -Wl,-z,nodlopen -36: + out/test/x86_64/arch-x86_64-reloc/exe -36: + grep '^56$' -36: 56 -36: + cc -B. -o out/test/x86_64/arch-x86_64-reloc/exe out/test/x86_64/arch-x86_64-reloc/c.so out/test/x86_64/arch-x86_64-reloc/d.s -pie -55: + '[' '' == '' ']' -55: + command -v sde64 -55: + skip -55: + echo skipped -55: skipped -55: + trap - EXIT -55: + exit 0 - 47/402 Test #55: x86_64-arch-x86_64-z-rewrite-endbr3 ...................***Skipped 0.13 sec +51: + on_exit +51: + echo OK +51: OK +51: + exit 0 +53: + cat +53: + cc -o out/test/x86_64/arch-x86_64-z-rewrite-endbr/a.o -c -xc - -ffunction-sections -O -fcf-protection + 47/402 Test #51: x86_64-arch-x86_64-z-ibt .............................. Passed 0.31 sec +44: + out/test/x86_64/arch-x86_64-tls-module-base/exe1 test 59 Start 59: x86_64-absolute-symbols @@ -5250,16 +5294,21 @@ 59: MACHINE=x86_64 59: CPU= 59: Test timeout computed to be: 1500 -40: + out/test/x86_64/arch-x86_64-tls-gd-mcmodel-large/exe -53: + cat -53: + cc -o out/test/x86_64/arch-x86_64-z-rewrite-endbr/b.o -c -xc - -ffunction-sections -O -fcf-protection -40: + grep '1 2 3 4 5 6' -40: 1 2 3 4 5 6 -40: + on_exit -40: + echo OK -40: OK -40: + exit 0 +44: + grep '^20 3$' +44: 20 3 +44: + cc -B. -o out/test/x86_64/arch-x86_64-tls-module-base/exe2 out/test/x86_64/arch-x86_64-tls-module-base/a.o out/test/x86_64/arch-x86_64-tls-module-base/b.o out/test/x86_64/arch-x86_64-tls-module-base/c.o -Wl,-no-relax +36: + out/test/x86_64/arch-x86_64-reloc/exe +36: + grep '^56$' +52: + cc -B. -o out/test/x86_64/arch-x86_64-z-ibtplt/exe out/test/x86_64/arch-x86_64-z-ibtplt/c.o out/test/x86_64/arch-x86_64-z-ibtplt/b.so -Wl,-z,ibtplt +57: + cat +36: 56 +36: + cat +57: + cc -c -o out/test/x86_64/arch-x86_64-z-text/b.o -fPIC -xc - +54: + cat +54: + cc -o out/test/x86_64/arch-x86_64-z-rewrite-endbr2/b.o -c -xc - -fno-function-sections -O -fcf-protection +36: + cc -B. -o out/test/x86_64/arch-x86_64-reloc/exe out/test/x86_64/arch-x86_64-reloc/c.so out/test/x86_64/arch-x86_64-reloc/d.s -no-pie 59: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/absolute-symbols.sh +53: + cat 59: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 59: ++ export LC_ALL=C 59: ++ LC_ALL=C @@ -5274,15 +5323,29 @@ 59: ++ OBJCOPY=objcopy 59: ++ STRIP=strip 59: ++ QEMU= +53: + cc -o out/test/x86_64/arch-x86_64-z-rewrite-endbr/b.o -c -xc - -ffunction-sections -O -fcf-protection +45: + cc -B. -o out/test/x86_64/arch-x86_64-tlsdesc/exe3 out/test/x86_64/arch-x86_64-tlsdesc/b.o out/test/x86_64/arch-x86_64-tlsdesc/c.so 59: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/absolute-symbols.sh .sh -56: + readelf --notes out/test/x86_64/arch-x86_64-z-shstk/exe -56: + not grep -w SHSTK -56: + grep -w SHSTK -54: + cat - 48/402 Test #40: x86_64-arch-x86_64-tls-gd-mcmodel-large ............... Passed 0.53 sec +54: + cc -B. -o out/test/x86_64/arch-x86_64-z-rewrite-endbr2/exe1 out/test/x86_64/arch-x86_64-z-rewrite-endbr2/a.o out/test/x86_64/arch-x86_64-z-rewrite-endbr2/b.o 59: ++ testname=absolute-symbols 59: ++ t=out/test/x86_64/absolute-symbols 59: ++ mkdir -p out/test/x86_64/absolute-symbols +58: + grep 'recompile with -fPIC' +58: + not cc -B. -o out/test/x86_64/abs-error/exe -pie out/test/x86_64/abs-error/a.o out/test/x86_64/abs-error/b.o -Wl,-z,text +59: ++ case $MACHINE in +59: ++ tlsdesc_opt=-mtls-dialect=gnu2 +44: + grep '^20 3$' +41: + grep '1 2 3' +41: + out/test/x86_64/arch-x86_64-tls-gd-to-ie/exe3 +57: + cc -B. -pie -o out/test/x86_64/arch-x86_64-z-text/exe out/test/x86_64/arch-x86_64-z-text/a.o out/test/x86_64/arch-x86_64-z-text/b.o +55: + '[' '' == '' ']' +55: + command -v sde64 +55: + skip +55: + echo skipped +55: skipped +55: + trap - EXIT +55: + exit 0 + 48/402 Test #55: x86_64-arch-x86_64-z-rewrite-endbr3 ...................***Skipped 0.22 sec test 60 Start 60: x86_64-allow-multiple-definition @@ -5292,12 +5355,9 @@ 60: MACHINE=x86_64 60: CPU= 60: Test timeout computed to be: 1500 -59: ++ case $MACHINE in -59: ++ tlsdesc_opt=-mtls-dialect=gnu2 +41: 1 2 3 +41: + cc -B. -shared -o out/test/x86_64/arch-x86_64-tls-gd-to-ie/f.so out/test/x86_64/arch-x86_64-tls-gd-to-ie/a.o -Wl,-z,nodlopen -Wl,-no-relax 59: +++ uname -56: + return 0 -56: + cc -B. -o out/test/x86_64/arch-x86_64-z-shstk/exe out/test/x86_64/arch-x86_64-z-shstk/a.o -Wl,-z,shstk -54: + cc -o out/test/x86_64/arch-x86_64-z-rewrite-endbr2/b.o -c -xc - -fno-function-sections -O -fcf-protection 59: ++ '[' Linux = FreeBSD ']' 59: ++ trap 'on_error $LINENO' ERR 59: ++ trap on_exit EXIT @@ -5305,10 +5365,21 @@ 59: Testing absolute-symbols ... ++ set -o pipefail 59: ++ set -x 59: + '[' x86_64 = sparc64 ']' -59: + cc -o out/test/x86_64/absolute-symbols/a.o -c -x assembler - +56: + readelf --notes out/test/x86_64/arch-x86_64-z-shstk/exe +56: + not grep -w SHSTK +56: + grep -w SHSTK +56: + return 0 +56: + cc -B. -o out/test/x86_64/arch-x86_64-z-shstk/exe out/test/x86_64/arch-x86_64-z-shstk/a.o -Wl,-z,shstk +44: + out/test/x86_64/arch-x86_64-tls-module-base/exe2 +44: 20 3 +44: + cc -B. -o out/test/x86_64/arch-x86_64-tls-module-base/d.so out/test/x86_64/arch-x86_64-tls-module-base/a.o -shared +53: + cc -B. -o out/test/x86_64/arch-x86_64-z-rewrite-endbr/exe1 out/test/x86_64/arch-x86_64-z-rewrite-endbr/a.o out/test/x86_64/arch-x86_64-z-rewrite-endbr/b.o +52: + out/test/x86_64/arch-x86_64-z-ibtplt/exe 59: + cat +52: + grep 'Hello world' 60: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/allow-multiple-definition.sh -41: + cc -B. -o out/test/x86_64/arch-x86_64-tls-gd-to-ie/exe3 out/test/x86_64/arch-x86_64-tls-gd-to-ie/b.o out/test/x86_64/arch-x86_64-tls-gd-to-ie/e.so +52: Hello world +59: + cc -o out/test/x86_64/absolute-symbols/a.o -c -x assembler - 60: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 60: ++ export LC_ALL=C 60: ++ LC_ALL=C @@ -5323,57 +5394,12 @@ 60: ++ OBJCOPY=objcopy 60: ++ STRIP=strip 60: ++ QEMU= -60: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/allow-multiple-definition.sh .sh -57: + cc -B. -pie -o out/test/x86_64/arch-x86_64-z-text/exe out/test/x86_64/arch-x86_64-z-text/a.o out/test/x86_64/arch-x86_64-z-text/b.o -44: + out/test/x86_64/arch-x86_64-tls-module-base/exe1 -52: + cc -B. -o out/test/x86_64/arch-x86_64-z-ibtplt/exe out/test/x86_64/arch-x86_64-z-ibtplt/c.o out/test/x86_64/arch-x86_64-z-ibtplt/b.so -Wl,-z,ibtplt -58: + not cc -B. -o out/test/x86_64/abs-error/exe -pie out/test/x86_64/abs-error/a.o out/test/x86_64/abs-error/b.o -Wl,-z,text -59: + cat -44: + grep '^20 3$' -58: + grep 'recompile with -fPIC' -60: ++ testname=allow-multiple-definition -60: ++ t=out/test/x86_64/allow-multiple-definition -60: ++ mkdir -p out/test/x86_64/allow-multiple-definition -60: ++ case $MACHINE in -60: ++ tlsdesc_opt=-mtls-dialect=gnu2 -60: +++ uname -44: 20 3 -44: + cc -B. -o out/test/x86_64/arch-x86_64-tls-module-base/exe2 out/test/x86_64/arch-x86_64-tls-module-base/a.o out/test/x86_64/arch-x86_64-tls-module-base/b.o out/test/x86_64/arch-x86_64-tls-module-base/c.o -Wl,-no-relax -59: + cc -o out/test/x86_64/absolute-symbols/b.o -c -fno-PIC -xc - -53: + cc -B. -o out/test/x86_64/arch-x86_64-z-rewrite-endbr/exe1 out/test/x86_64/arch-x86_64-z-rewrite-endbr/a.o out/test/x86_64/arch-x86_64-z-rewrite-endbr/b.o -45: + out/test/x86_64/arch-x86_64-tlsdesc/exe1 -60: ++ '[' Linux = FreeBSD ']' -45: + grep 42 -45: 42 -60: ++ trap 'on_error $LINENO' ERR -60: ++ trap on_exit EXIT -60: ++ echo -n 'Testing allow-multiple-definition ... ' -60: Testing allow-multiple-definition ... ++ set -o pipefail -60: ++ set -x -60: + echo 'int main() { return 0; }' -60: + cc -c -o out/test/x86_64/allow-multiple-definition/a.o -xc - -45: + cc -B. -o out/test/x86_64/arch-x86_64-tlsdesc/exe2 out/test/x86_64/arch-x86_64-tlsdesc/a.o out/test/x86_64/arch-x86_64-tlsdesc/b.o -Wl,-no-relax -36: + out/test/x86_64/arch-x86_64-reloc/exe -36: + grep '^56$' -36: 56 -36: + cat -57: + out/test/x86_64/arch-x86_64-z-text/exe -57: + grep 3 -57: 3 -52: + grep 'Hello world' -52: + out/test/x86_64/arch-x86_64-z-ibtplt/exe -52: Hello world 52: + on_exit 52: + echo OK 52: OK 52: + exit 0 - 49/402 Test #52: x86_64-arch-x86_64-z-ibtplt ........................... Passed 0.32 sec -57: + readelf --dynamic out/test/x86_64/arch-x86_64-z-text/exe -57: + grep -F '(TEXTREL)' -57: 0x0000000000000016 (TEXTREL) 0x0 -57: + readelf --dynamic out/test/x86_64/arch-x86_64-z-text/exe -57: + grep '\(FLAGS\).*TEXTREL' -56: + grep -w SHSTK +54: + objdump -dr out/test/x86_64/arch-x86_64-z-rewrite-endbr2/exe1 + 49/402 Test #52: x86_64-arch-x86_64-z-ibtplt ........................... Passed 0.34 sec test 61 Start 61: x86_64-ar-alignment @@ -5383,46 +5409,15 @@ 61: MACHINE=x86_64 61: CPU= 61: Test timeout computed to be: 1500 -56: + readelf --notes out/test/x86_64/arch-x86_64-z-shstk/exe -56: Properties: x86 feature: SHSTK -56: + on_exit -56: + echo OK -56: OK -56: + exit 0 -57: 0x000000000000001e (FLAGS) TEXTREL -57: + on_exit -57: + echo OK -57: OK -57: + exit 0 -41: + grep '1 2 3' -41: + out/test/x86_64/arch-x86_64-tls-gd-to-ie/exe3 -41: 1 2 3 -41: + cc -B. -shared -o out/test/x86_64/arch-x86_64-tls-gd-to-ie/f.so out/test/x86_64/arch-x86_64-tls-gd-to-ie/a.o -Wl,-z,nodlopen -Wl,-no-relax -44: + out/test/x86_64/arch-x86_64-tls-module-base/exe2 -44: + grep '^20 3$' -44: 20 3 -44: + cc -B. -o out/test/x86_64/arch-x86_64-tls-module-base/d.so out/test/x86_64/arch-x86_64-tls-module-base/a.o -shared -53: + objdump -dr out/test/x86_64/arch-x86_64-z-rewrite-endbr/exe1 - 50/402 Test #56: x86_64-arch-x86_64-z-shstk ............................ Passed 0.24 sec - 51/402 Test #57: x86_64-arch-x86_64-z-text ............................. Passed 0.23 sec -test 62 - Start 62: x86_64-as-needed-dso - -62: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/as-needed-dso.sh" -62: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -62: Environment variables: -62: MACHINE=x86_64 -62: CPU= -62: Test timeout computed to be: 1500 -test 63 - Start 63: x86_64-as-needed-dso2 - -63: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/as-needed-dso2.sh" -63: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -63: Environment variables: -63: MACHINE=x86_64 -63: CPU= -63: Test timeout computed to be: 1500 +36: + grep '^56$' +60: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/allow-multiple-definition.sh .sh +60: ++ testname=allow-multiple-definition +60: ++ t=out/test/x86_64/allow-multiple-definition +60: ++ mkdir -p out/test/x86_64/allow-multiple-definition +36: + out/test/x86_64/arch-x86_64-reloc/exe +36: 56 +36: + cc -B. -o out/test/x86_64/arch-x86_64-reloc/exe out/test/x86_64/arch-x86_64-reloc/c.so out/test/x86_64/arch-x86_64-reloc/d.s -pie +54: + grep -A1 ':' out/test/x86_64/arch-x86_64-z-rewrite-endbr2/log1 61: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/ar-alignment.sh 61: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 61: ++ export LC_ALL=C @@ -5438,24 +5433,89 @@ 61: ++ OBJCOPY=objcopy 61: ++ STRIP=strip 61: ++ QEMU= +54: + grep endbr64 +54: 16b9: f3 0f 1e fa endbr64 61: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/ar-alignment.sh .sh -61: ++ testname=ar-alignment -61: ++ t=out/test/x86_64/ar-alignment -61: ++ mkdir -p out/test/x86_64/ar-alignment +45: + grep 42 +60: ++ case $MACHINE in +60: ++ tlsdesc_opt=-mtls-dialect=gnu2 58: mold: error: out/test/x86_64/abs-error/b.o:(.text): R_X86_64_32 relocation at offset 0xa against symbol `.rodata' can not be used; recompile with -fPIC 58: + on_exit 58: + echo OK 58: OK 58: + exit 0 -53: + grep -A1 ':' out/test/x86_64/arch-x86_64-z-rewrite-endbr/log1 -53: + grep endbr64 -53: 16b9: f3 0f 1e fa endbr64 -53: + grep -A1 ':' out/test/x86_64/arch-x86_64-z-rewrite-endbr/log1 -53: + grep endbr64 +61: ++ testname=ar-alignment +61: ++ t=out/test/x86_64/ar-alignment +61: ++ mkdir -p out/test/x86_64/ar-alignment + 50/402 Test #58: x86_64-abs-error ...................................... Passed 0.24 sec +test 62 + Start 62: x86_64-as-needed-dso + +62: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/as-needed-dso.sh" +62: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +62: Environment variables: +62: MACHINE=x86_64 +62: CPU= +62: Test timeout computed to be: 1500 +45: + out/test/x86_64/arch-x86_64-tlsdesc/exe3 +45: 42 +45: + cc -B. -shared -o out/test/x86_64/arch-x86_64-tlsdesc/c.so out/test/x86_64/arch-x86_64-tlsdesc/a.o -Wl,-no-relax +59: + cc -o out/test/x86_64/absolute-symbols/b.o -c -fno-PIC -xc - +59: + cat +54: + grep -A1 ':' out/test/x86_64/arch-x86_64-z-rewrite-endbr2/log1 +54: + grep endbr64 +54: 16c3: f3 0f 1e fa endbr64 +60: +++ uname +60: ++ '[' Linux = FreeBSD ']' +60: ++ trap 'on_error $LINENO' ERR +60: ++ trap on_exit EXIT +60: ++ echo -n 'Testing allow-multiple-definition ... ' +60: Testing allow-multiple-definition ... ++ set -o pipefail +60: ++ set -x +41: + cc -B. -o out/test/x86_64/arch-x86_64-tls-gd-to-ie/exe4 out/test/x86_64/arch-x86_64-tls-gd-to-ie/b.o out/test/x86_64/arch-x86_64-tls-gd-to-ie/f.so +61: ++ case $MACHINE in +61: ++ tlsdesc_opt=-mtls-dialect=gnu2 +44: + cc -B. -o out/test/x86_64/arch-x86_64-tls-module-base/exe3 out/test/x86_64/arch-x86_64-tls-module-base/b.o out/test/x86_64/arch-x86_64-tls-module-base/c.o out/test/x86_64/arch-x86_64-tls-module-base/d.so +60: + cc -c -o out/test/x86_64/allow-multiple-definition/a.o -xc - +60: + echo 'int main() { return 0; }' +57: + grep 3 +61: +++ uname +54: + grep -A1 '
:' out/test/x86_64/arch-x86_64-z-rewrite-endbr2/log1 +53: + objdump -dr out/test/x86_64/arch-x86_64-z-rewrite-endbr/exe1 +61: ++ '[' Linux = FreeBSD ']' +61: ++ trap 'on_error $LINENO' ERR +61: ++ trap on_exit EXIT +61: ++ echo -n 'Testing ar-alignment ... ' +61: Testing ar-alignment ... ++ set -o pipefail +61: ++ set -x +54: + grep endbr64 +54: 16cd: f3 0f 1e fa endbr64 +54: + cc -B. -o out/test/x86_64/arch-x86_64-z-rewrite-endbr2/exe2 out/test/x86_64/arch-x86_64-z-rewrite-endbr2/a.o out/test/x86_64/arch-x86_64-z-rewrite-endbr2/b.o -Wl,-z,rewrite-endbr +57: + out/test/x86_64/arch-x86_64-z-text/exe +56: + readelf --notes out/test/x86_64/arch-x86_64-z-shstk/exe +61: + cat +57: 3 62: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/as-needed-dso.sh +56: + grep -w SHSTK +56: Properties: x86 feature: SHSTK +56: + on_exit +56: + echo OK +56: OK +56: + exit 0 +61: + cc -o out/test/x86_64/ar-alignment/a.o -c -xc - + 51/402 Test #56: x86_64-arch-x86_64-z-shstk ............................ Passed 0.32 sec 62: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 62: ++ export LC_ALL=C 62: ++ LC_ALL=C +test 63 + Start 63: x86_64-as-needed-dso2 + +63: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/as-needed-dso2.sh" +63: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +63: Environment variables: +63: MACHINE=x86_64 +63: CPU= +63: Test timeout computed to be: 1500 62: ++ '[' -z x86_64 ']' 62: ++ '[' -z '' ']' 62: ++ TESTDIR=out/test/x86_64 @@ -5467,22 +5527,25 @@ 62: ++ OBJCOPY=objcopy 62: ++ STRIP=strip 62: ++ QEMU= - 52/402 Test #58: x86_64-abs-error ...................................... Passed 0.20 sec -53: 16c3: f3 0f 1e fa endbr64 62: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/as-needed-dso.sh .sh -test 64 - Start 64: x86_64-as-needed-weak - -64: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/as-needed-weak.sh" -64: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -64: Environment variables: -64: MACHINE=x86_64 -64: CPU= -64: Test timeout computed to be: 1500 -53: + grep -A1 '
:' out/test/x86_64/arch-x86_64-z-rewrite-endbr/log1 +57: + grep -F '(TEXTREL)' +57: + readelf --dynamic out/test/x86_64/arch-x86_64-z-text/exe +57: 0x0000000000000016 (TEXTREL) 0x0 +53: + grep endbr64 62: ++ testname=as-needed-dso 62: ++ t=out/test/x86_64/as-needed-dso 62: ++ mkdir -p out/test/x86_64/as-needed-dso +36: + out/test/x86_64/arch-x86_64-reloc/exe +53: + grep -A1 ':' out/test/x86_64/arch-x86_64-z-rewrite-endbr/log1 +36: + grep '^56$' +36: 56 +36: + cat +62: ++ case $MACHINE in +62: ++ tlsdesc_opt=-mtls-dialect=gnu2 +57: + grep '\(FLAGS\).*TEXTREL' +57: + readelf --dynamic out/test/x86_64/arch-x86_64-z-text/exe +53: 16b9: f3 0f 1e fa endbr64 +45: + cc -B. -o out/test/x86_64/arch-x86_64-tlsdesc/exe4 out/test/x86_64/arch-x86_64-tlsdesc/b.o out/test/x86_64/arch-x86_64-tlsdesc/c.so -Wl,-no-relax 63: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/as-needed-dso2.sh 63: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 63: ++ export LC_ALL=C @@ -5498,107 +5561,50 @@ 63: ++ OBJCOPY=objcopy 63: ++ STRIP=strip 63: ++ QEMU= -63: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/as-needed-dso2.sh .sh -62: ++ case $MACHINE in -62: ++ tlsdesc_opt=-mtls-dialect=gnu2 +57: 0x000000000000001e (FLAGS) TEXTREL +57: + on_exit +57: + echo OK +57: OK +57: + exit 0 + 52/402 Test #57: x86_64-arch-x86_64-z-text ............................. Passed 0.34 sec +41: + out/test/x86_64/arch-x86_64-tls-gd-to-ie/exe4 +test 64 + Start 64: x86_64-as-needed-weak + +64: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/as-needed-weak.sh" +64: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +64: Environment variables: +64: MACHINE=x86_64 +64: CPU= +64: Test timeout computed to be: 1500 +41: + grep '1 2 3' +41: 1 2 3 +41: + on_exit +41: + echo OK +41: OK +41: + exit 0 +36: + cc -B. -o out/test/x86_64/arch-x86_64-reloc/exe out/test/x86_64/arch-x86_64-reloc/c.so out/test/x86_64/arch-x86_64-reloc/d.s -no-pie +61: + head -c 1 /dev/zero 62: +++ uname -53: + grep endbr64 -63: ++ testname=as-needed-dso2 -61: ++ case $MACHINE in -61: ++ tlsdesc_opt=-mtls-dialect=gnu2 -63: ++ t=out/test/x86_64/as-needed-dso2 -63: ++ mkdir -p out/test/x86_64/as-needed-dso2 62: ++ '[' Linux = FreeBSD ']' -61: +++ uname 62: ++ trap 'on_error $LINENO' ERR 62: ++ trap on_exit EXIT 62: ++ echo -n 'Testing as-needed-dso ... ' 62: Testing as-needed-dso ... ++ set -o pipefail 62: ++ set -x -62: + cat -64: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/as-needed-weak.sh -61: ++ '[' Linux = FreeBSD ']' -61: ++ trap 'on_error $LINENO' ERR -61: ++ trap on_exit EXIT -61: ++ echo -n 'Testing ar-alignment ... ' -61: Testing ar-alignment ... ++ set -o pipefail -61: ++ set -x -63: ++ case $MACHINE in -63: ++ tlsdesc_opt=-mtls-dialect=gnu2 -64: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -53: 16cd: f3 0f 1e fa endbr64 -64: ++ export LC_ALL=C -64: ++ LC_ALL=C -64: ++ '[' -z x86_64 ']' -64: ++ '[' -z '' ']' -64: ++ TESTDIR=out/test/x86_64 -64: ++ CC=cc -64: ++ CXX=c++ -64: ++ GCC=gcc -64: ++ GXX=g++ -64: ++ OBJDUMP=objdump -64: ++ OBJCOPY=objcopy -64: ++ STRIP=strip -64: ++ QEMU= -61: + cat -61: + cc -o out/test/x86_64/ar-alignment/a.o -c -xc - -53: + cc -B. -o out/test/x86_64/arch-x86_64-z-rewrite-endbr/exe2 out/test/x86_64/arch-x86_64-z-rewrite-endbr/a.o out/test/x86_64/arch-x86_64-z-rewrite-endbr/b.o -Wl,-z,rewrite-endbr -62: + cc -o out/test/x86_64/as-needed-dso/libfoo.so -shared -fPIC -Wl,-soname,libfoo.so -xc - -64: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/as-needed-weak.sh .sh -63: +++ uname -64: ++ testname=as-needed-weak -63: ++ '[' Linux = FreeBSD ']' -64: ++ t=out/test/x86_64/as-needed-weak -64: ++ mkdir -p out/test/x86_64/as-needed-weak -63: ++ trap 'on_error $LINENO' ERR -63: ++ trap on_exit EXIT -63: ++ echo -n 'Testing as-needed-dso2 ... ' -63: Testing as-needed-dso2 ... ++ set -o pipefail -63: ++ set -x -63: + cat -63: + cc -c -fPIC -o out/test/x86_64/as-needed-dso2/a.o -xc - -64: ++ case $MACHINE in -64: ++ tlsdesc_opt=-mtls-dialect=gnu2 -64: +++ uname -64: ++ '[' Linux = FreeBSD ']' -64: ++ trap 'on_error $LINENO' ERR -64: ++ trap on_exit EXIT -64: ++ echo -n 'Testing as-needed-weak ... ' -64: Testing as-needed-weak ... ++ set -o pipefail -64: ++ set -x -64: + cc -fPIC -o out/test/x86_64/as-needed-weak/a.o -c -xc - -64: + cat -45: + out/test/x86_64/arch-x86_64-tlsdesc/exe2 -45: + grep 42 -45: 42 -45: + cc -B. -shared -o out/test/x86_64/arch-x86_64-tlsdesc/c.so out/test/x86_64/arch-x86_64-tlsdesc/a.o -44: + cc -B. -o out/test/x86_64/arch-x86_64-tls-module-base/exe3 out/test/x86_64/arch-x86_64-tls-module-base/b.o out/test/x86_64/arch-x86_64-tls-module-base/c.o out/test/x86_64/arch-x86_64-tls-module-base/d.so -41: + cc -B. -o out/test/x86_64/arch-x86_64-tls-gd-to-ie/exe4 out/test/x86_64/arch-x86_64-tls-gd-to-ie/b.o out/test/x86_64/arch-x86_64-tls-gd-to-ie/f.so -36: + cc -B. -o out/test/x86_64/arch-x86_64-reloc/exe out/test/x86_64/arch-x86_64-reloc/c.so out/test/x86_64/arch-x86_64-reloc/d.s -no-pie -54: + cc -B. -o out/test/x86_64/arch-x86_64-z-rewrite-endbr2/exe1 out/test/x86_64/arch-x86_64-z-rewrite-endbr2/a.o out/test/x86_64/arch-x86_64-z-rewrite-endbr2/b.o -53: + objdump -dr out/test/x86_64/arch-x86_64-z-rewrite-endbr/exe2 +53: + grep endbr64 +53: + grep -A1 ':' out/test/x86_64/arch-x86_64-z-rewrite-endbr/log1 +53: 16c3: f3 0f 1e fa endbr64 60: + echo 'int main() { return 1; }' 60: + cc -c -o out/test/x86_64/allow-multiple-definition/b.o -xc - -63: + cat -45: + cc -B. -o out/test/x86_64/arch-x86_64-tlsdesc/exe3 out/test/x86_64/arch-x86_64-tlsdesc/b.o out/test/x86_64/arch-x86_64-tlsdesc/c.so -63: + cc -c -fPIC -o out/test/x86_64/as-needed-dso2/b.o -xc - -64: + cat -64: + cc -o out/test/x86_64/as-needed-weak/libfoo.so -shared -fPIC -Wl,-soname,libfoo.so -xc - -44: + out/test/x86_64/arch-x86_64-tls-module-base/exe3 44: + grep '^20 3$' -61: + head -c 1 /dev/zero -61: + cat -53: + grep -A1 ':' out/test/x86_64/arch-x86_64-z-rewrite-endbr/log2 -53: + grep nop +44: + out/test/x86_64/arch-x86_64-tls-module-base/exe3 44: 20 3 44: + on_exit 44: + echo OK 44: OK 44: + exit 0 -61: + cc -o out/test/x86_64/ar-alignment/b.o -c -xc - -53: 16b9: 0f 1f 40 00 nopl 0x0(%rax) - 53/402 Test #44: x86_64-arch-x86_64-tls-module-base .................... Passed 0.60 sec -59: + cc -B. -o out/test/x86_64/absolute-symbols/exe -no-pie out/test/x86_64/absolute-symbols/a.o out/test/x86_64/absolute-symbols/b.o + 53/402 Test #44: x86_64-arch-x86_64-tls-module-base .................... Passed 0.74 sec test 65 Start 65: x86_64-as-needed @@ -5608,22 +5614,11 @@ 65: MACHINE=x86_64 65: CPU= 65: Test timeout computed to be: 1500 -53: + grep -A1 ':' out/test/x86_64/arch-x86_64-z-rewrite-endbr/log2 -53: + grep nop -53: 16c3: 0f 1f 40 00 nopl 0x0(%rax) -53: + grep -A1 '
:' out/test/x86_64/arch-x86_64-z-rewrite-endbr/log2 -53: + grep endbr64 -65: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/as-needed.sh -53: 16cd: f3 0f 1e fa endbr64 -53: + on_exit -53: + echo OK -53: OK -53: + exit 0 - 54/402 Test #53: x86_64-arch-x86_64-z-rewrite-endbr .................... Passed 0.38 sec -65: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -65: ++ export LC_ALL=C -65: ++ LC_ALL=C -65: ++ '[' -z x86_64 ']' +62: + cat +62: + cc -o out/test/x86_64/as-needed-dso/libfoo.so -shared -fPIC -Wl,-soname,libfoo.so -xc - + 54/402 Test #41: x86_64-arch-x86_64-tls-gd-to-ie ....................... Passed 0.81 sec +63: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/as-needed-dso2.sh .sh +54: + objdump -dr out/test/x86_64/arch-x86_64-z-rewrite-endbr2/exe2 test 66 Start 66: x86_64-auxiliary @@ -5633,6 +5628,20 @@ 66: MACHINE=x86_64 66: CPU= 66: Test timeout computed to be: 1500 +53: + grep endbr64 +53: + grep -A1 '
:' out/test/x86_64/arch-x86_64-z-rewrite-endbr/log1 +53: 16cd: f3 0f 1e fa endbr64 +53: + cc -B. -o out/test/x86_64/arch-x86_64-z-rewrite-endbr/exe2 out/test/x86_64/arch-x86_64-z-rewrite-endbr/a.o out/test/x86_64/arch-x86_64-z-rewrite-endbr/b.o -Wl,-z,rewrite-endbr +63: ++ testname=as-needed-dso2 +63: ++ t=out/test/x86_64/as-needed-dso2 +63: ++ mkdir -p out/test/x86_64/as-needed-dso2 +63: ++ case $MACHINE in +63: ++ tlsdesc_opt=-mtls-dialect=gnu2 +65: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/as-needed.sh +65: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +65: ++ export LC_ALL=C +65: ++ LC_ALL=C +65: ++ '[' -z x86_64 ']' 65: ++ '[' -z '' ']' 65: ++ TESTDIR=out/test/x86_64 65: ++ CC=cc @@ -5644,15 +5653,42 @@ 65: ++ STRIP=strip 65: ++ QEMU= 65: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/as-needed.sh .sh +59: + cc -B. -o out/test/x86_64/absolute-symbols/exe -no-pie out/test/x86_64/absolute-symbols/a.o out/test/x86_64/absolute-symbols/b.o +64: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/as-needed-weak.sh +64: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +64: ++ export LC_ALL=C +64: ++ LC_ALL=C +64: ++ '[' -z x86_64 ']' +64: ++ '[' -z '' ']' +64: ++ TESTDIR=out/test/x86_64 +64: ++ CC=cc +64: ++ CXX=c++ +64: ++ GCC=gcc +64: ++ GXX=g++ +64: ++ OBJDUMP=objdump +64: ++ OBJCOPY=objcopy +64: ++ STRIP=strip +64: ++ QEMU= +54: + grep nop +54: + grep -A1 ':' out/test/x86_64/arch-x86_64-z-rewrite-endbr2/log2 +54: 16b9: 0f 1f 40 00 nopl 0x0(%rax) +61: + cc -o out/test/x86_64/ar-alignment/b.o -c -xc - +61: + cat 65: ++ testname=as-needed 65: ++ t=out/test/x86_64/as-needed 65: ++ mkdir -p out/test/x86_64/as-needed -66: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/auxiliary.sh -62: + cat -62: + cc -o out/test/x86_64/as-needed-dso/libbar.so -shared -fPIC -Wl,-soname,libbar.so -xc - 65: ++ case $MACHINE in 65: ++ tlsdesc_opt=-mtls-dialect=gnu2 -41: + grep '1 2 3' +65: +++ uname +65: ++ '[' Linux = FreeBSD ']' +65: ++ trap 'on_error $LINENO' ERR +65: ++ trap on_exit EXIT +65: ++ echo -n 'Testing as-needed ... ' +65: Testing as-needed ... ++ set -o pipefail +65: ++ set -x +65: + cat +54: + grep -A1 ':' out/test/x86_64/arch-x86_64-z-rewrite-endbr2/log2 +66: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/auxiliary.sh 66: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 66: ++ export LC_ALL=C 66: ++ LC_ALL=C @@ -5667,35 +5703,50 @@ 66: ++ OBJCOPY=objcopy 66: ++ STRIP=strip 66: ++ QEMU= -66: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/auxiliary.sh .sh -65: +++ uname -41: + out/test/x86_64/arch-x86_64-tls-gd-to-ie/exe4 -65: ++ '[' Linux = FreeBSD ']' -65: ++ trap 'on_error $LINENO' ERR -65: ++ trap on_exit EXIT -65: ++ echo -n 'Testing as-needed ... ' -65: Testing as-needed ... ++ set -o pipefail -65: ++ set -x -65: + cat +60: + not cc -B. -o out/test/x86_64/allow-multiple-definition/exe out/test/x86_64/allow-multiple-definition/a.o out/test/x86_64/allow-multiple-definition/b.o +54: + grep nop +54: 16c3: 0f 1f 40 00 nopl 0x0(%rax) +64: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/as-needed-weak.sh .sh 65: + cc -o out/test/x86_64/as-needed/a.o -c -xc - +66: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/auxiliary.sh .sh +64: ++ testname=as-needed-weak +64: ++ t=out/test/x86_64/as-needed-weak +64: ++ mkdir -p out/test/x86_64/as-needed-weak 66: ++ testname=auxiliary 66: ++ t=out/test/x86_64/auxiliary 66: ++ mkdir -p out/test/x86_64/auxiliary +54: + grep endbr64 +54: + grep -A1 '
:' out/test/x86_64/arch-x86_64-z-rewrite-endbr2/log2 +63: +++ uname +54: 16cd: f3 0f 1e fa endbr64 +63: ++ '[' Linux = FreeBSD ']' +63: ++ trap 'on_error $LINENO' ERR +63: ++ trap on_exit EXIT +63: ++ echo -n 'Testing as-needed-dso2 ... ' +63: Testing as-needed-dso2 ... ++ set -o pipefail +63: ++ set -x +64: ++ case $MACHINE in +64: ++ tlsdesc_opt=-mtls-dialect=gnu2 +36: + grep '^76$' +36: + out/test/x86_64/arch-x86_64-reloc/exe +36: 76 +36: + cc -B. -o out/test/x86_64/arch-x86_64-reloc/exe out/test/x86_64/arch-x86_64-reloc/c.so out/test/x86_64/arch-x86_64-reloc/d.s -pie +54: + on_exit +54: + echo OK +54: OK +54: + exit 0 66: ++ case $MACHINE in 66: ++ tlsdesc_opt=-mtls-dialect=gnu2 66: +++ uname -41: 1 2 3 -41: + on_exit -41: + echo OK -41: OK -41: + exit 0 - 55/402 Test #41: x86_64-arch-x86_64-tls-gd-to-ie ....................... Passed 0.74 sec 66: ++ '[' Linux = FreeBSD ']' 66: ++ trap 'on_error $LINENO' ERR 66: ++ trap on_exit EXIT 66: ++ echo -n 'Testing auxiliary ... ' 66: Testing auxiliary ... ++ set -o pipefail 66: ++ set -x +66: + cc -o out/test/x86_64/auxiliary/a.o -c -x assembler - +63: + cat + 55/402 Test #54: x86_64-arch-x86_64-z-rewrite-endbr2 ................... Passed 0.48 sec test 67 Start 67: x86_64-bno-symbolic @@ -5706,32 +5757,28 @@ 67: CPU= 67: Test timeout computed to be: 1500 66: + cat -66: + cc -o out/test/x86_64/auxiliary/a.o -c -x assembler - -45: + out/test/x86_64/arch-x86_64-tlsdesc/exe3 -45: + grep 42 -45: 42 -36: + out/test/x86_64/arch-x86_64-reloc/exe -36: + grep '^56$' -36: 56 -36: + cc -B. -o out/test/x86_64/arch-x86_64-reloc/exe out/test/x86_64/arch-x86_64-reloc/c.so out/test/x86_64/arch-x86_64-reloc/d.s -pie -54: + objdump -dr out/test/x86_64/arch-x86_64-z-rewrite-endbr2/exe1 -45: + cc -B. -shared -o out/test/x86_64/arch-x86_64-tlsdesc/c.so out/test/x86_64/arch-x86_64-tlsdesc/a.o -Wl,-no-relax -59: + out/test/x86_64/absolute-symbols/exe -59: + grep '^ip=0xa0000.$' 66: + ./mold -o out/test/x86_64/auxiliary/b.so out/test/x86_64/auxiliary/a.o -auxiliary foo -f bar -shared +64: +++ uname +64: ++ '[' Linux = FreeBSD ']' +64: ++ trap 'on_error $LINENO' ERR +64: ++ trap on_exit EXIT +64: ++ echo -n 'Testing as-needed-weak ... ' +64: Testing as-needed-weak ... ++ set -o pipefail +64: ++ set -x +64: + cc -fPIC -o out/test/x86_64/as-needed-weak/a.o -c -xc - +64: + cat +60: + cc -B. -o out/test/x86_64/allow-multiple-definition/exe out/test/x86_64/allow-multiple-definition/a.o out/test/x86_64/allow-multiple-definition/b.o -Wl,-allow-multiple-definition +63: + cc -c -fPIC -o out/test/x86_64/as-needed-dso2/a.o -xc - 67: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/bno-symbolic.sh -59: ip=0xa00008 -59: + on_exit -59: + echo OK -59: OK -59: + exit 0 -54: + grep -A1 ':' out/test/x86_64/arch-x86_64-z-rewrite-endbr2/log1 -54: + grep endbr64 -54: 16b9: f3 0f 1e fa endbr64 67: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +66: + readelf --dynamic out/test/x86_64/auxiliary/b.so +64: + cc -o out/test/x86_64/as-needed-weak/libfoo.so -shared -fPIC -Wl,-soname,libfoo.so -xc - 67: ++ export LC_ALL=C 67: ++ LC_ALL=C 67: ++ '[' -z x86_64 ']' +53: + objdump -dr out/test/x86_64/arch-x86_64-z-rewrite-endbr/exe2 +61: + cat +36: + out/test/x86_64/arch-x86_64-reloc/exe 67: ++ '[' -z '' ']' 67: ++ TESTDIR=out/test/x86_64 67: ++ CC=cc @@ -5742,10 +5789,24 @@ 67: ++ OBJCOPY=objcopy 67: ++ STRIP=strip 67: ++ QEMU= +62: + cat +62: + cc -o out/test/x86_64/as-needed-dso/libbar.so -shared -fPIC -Wl,-soname,libbar.so -xc - +64: + cat +59: + out/test/x86_64/absolute-symbols/exe +45: + grep 42 +36: + grep '^76$' +59: + grep '^ip=0xa0000.$' +59: ip=0xa00008 +36: 76 +36: + cat +59: + on_exit +59: + echo OK +59: OK +59: + exit 0 +61: + cc -o out/test/x86_64/ar-alignment/c.o -c -xc - + 56/402 Test #59: x86_64-absolute-symbols ............................... Passed 0.32 sec +45: + out/test/x86_64/arch-x86_64-tlsdesc/exe4 67: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/bno-symbolic.sh .sh - 56/402 Test #59: x86_64-absolute-symbols ............................... Passed 0.26 sec -54: + grep -A1 ':' out/test/x86_64/arch-x86_64-z-rewrite-endbr2/log1 -54: + grep endbr64 test 68 Start 68: x86_64-bsymbolic-functions @@ -5755,26 +5816,19 @@ 68: MACHINE=x86_64 68: CPU= 68: Test timeout computed to be: 1500 -54: 16c3: f3 0f 1e fa endbr64 -54: + grep -A1 '
:' out/test/x86_64/arch-x86_64-z-rewrite-endbr2/log1 -54: + grep endbr64 +45: 42 +45: + on_exit +45: + echo OK +45: OK +45: + exit 0 67: ++ testname=bno-symbolic 67: ++ t=out/test/x86_64/bno-symbolic 67: ++ mkdir -p out/test/x86_64/bno-symbolic -67: ++ case $MACHINE in -67: ++ tlsdesc_opt=-mtls-dialect=gnu2 -67: +++ uname -54: 16cd: f3 0f 1e fa endbr64 +63: + cc -c -fPIC -o out/test/x86_64/as-needed-dso2/b.o -xc - +63: + cat +36: + cc -B. -o out/test/x86_64/arch-x86_64-reloc/exe out/test/x86_64/arch-x86_64-reloc/c.so out/test/x86_64/arch-x86_64-reloc/d.s -no-pie +66: + grep -F 'Auxiliary library: [foo]' out/test/x86_64/auxiliary/log 68: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/bsymbolic-functions.sh -54: + cc -B. -o out/test/x86_64/arch-x86_64-z-rewrite-endbr2/exe2 out/test/x86_64/arch-x86_64-z-rewrite-endbr2/a.o out/test/x86_64/arch-x86_64-z-rewrite-endbr2/b.o -Wl,-z,rewrite-endbr -67: ++ '[' Linux = FreeBSD ']' -66: + readelf --dynamic out/test/x86_64/auxiliary/b.so -67: ++ trap 'on_error $LINENO' ERR -67: ++ trap on_exit EXIT -67: ++ echo -n 'Testing bno-symbolic ... ' -67: Testing bno-symbolic ... ++ set -o pipefail -67: ++ set -x -67: + '[' x86_64 = s390x ']' 68: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 68: ++ export LC_ALL=C 68: ++ LC_ALL=C @@ -5789,30 +5843,11 @@ 68: ++ OBJCOPY=objcopy 68: ++ STRIP=strip 68: ++ QEMU= -67: + cat -67: + cc -c -fPIC -oout/test/x86_64/bno-symbolic/a.o -xc - 68: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/bsymbolic-functions.sh .sh -66: + grep -F 'Auxiliary library: [foo]' out/test/x86_64/auxiliary/log 68: ++ testname=bsymbolic-functions 68: ++ t=out/test/x86_64/bsymbolic-functions 68: ++ mkdir -p out/test/x86_64/bsymbolic-functions -66: 0x000000007ffffffd (AUXILIARY) Auxiliary library: [foo] -66: + grep -F 'Auxiliary library: [bar]' out/test/x86_64/auxiliary/log -68: ++ case $MACHINE in -68: ++ tlsdesc_opt=-mtls-dialect=gnu2 -68: +++ uname -66: 0x000000007ffffffd (AUXILIARY) Auxiliary library: [bar] -66: + on_exit -66: + echo OK -66: OK -66: + exit 0 - 57/402 Test #66: x86_64-auxiliary ...................................... Passed 0.04 sec -68: ++ '[' Linux = FreeBSD ']' -68: ++ trap 'on_error $LINENO' ERR -68: ++ trap on_exit EXIT -68: ++ echo -n 'Testing bsymbolic-functions ... ' -68: Testing bsymbolic-functions ... ++ set -o pipefail -68: ++ set -x + 57/402 Test #45: x86_64-arch-x86_64-tlsdesc ............................ Passed 0.81 sec test 69 Start 69: x86_64-bsymbolic-non-weak-functions @@ -5822,11 +5857,14 @@ 69: MACHINE=x86_64 69: CPU= 69: Test timeout computed to be: 1500 -68: + cat -68: + cc -c -o out/test/x86_64/bsymbolic-functions/a.o -fPIC -xc - -65: + cat +53: + grep -A1 ':' out/test/x86_64/arch-x86_64-z-rewrite-endbr/log2 +53: + grep nop +53: 16b9: 0f 1f 40 00 nopl 0x0(%rax) +66: 0x000000007ffffffd (AUXILIARY) Auxiliary library: [foo] +66: + grep -F 'Auxiliary library: [bar]' out/test/x86_64/auxiliary/log +67: ++ case $MACHINE in +67: ++ tlsdesc_opt=-mtls-dialect=gnu2 65: + cc -o out/test/x86_64/as-needed/b.so -shared -fPIC -Wl,-soname,libfoo.so -xc - -63: + cat 69: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/bsymbolic-non-weak-functions.sh 69: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 69: ++ export LC_ALL=C @@ -5842,49 +5880,13 @@ 69: ++ OBJCOPY=objcopy 69: ++ STRIP=strip 69: ++ QEMU= -69: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/bsymbolic-non-weak-functions.sh .sh -69: ++ testname=bsymbolic-non-weak-functions -69: ++ t=out/test/x86_64/bsymbolic-non-weak-functions -69: ++ mkdir -p out/test/x86_64/bsymbolic-non-weak-functions -63: + cc -xc -c -o out/test/x86_64/as-needed-dso2/c.o - -69: ++ case $MACHINE in -69: ++ tlsdesc_opt=-mtls-dialect=gnu2 -60: + not cc -B. -o out/test/x86_64/allow-multiple-definition/exe out/test/x86_64/allow-multiple-definition/a.o out/test/x86_64/allow-multiple-definition/b.o -69: +++ uname -69: ++ '[' Linux = FreeBSD ']' -69: ++ trap 'on_error $LINENO' ERR -61: + cat -69: ++ trap on_exit EXIT -45: + cc -B. -o out/test/x86_64/arch-x86_64-tlsdesc/exe4 out/test/x86_64/arch-x86_64-tlsdesc/b.o out/test/x86_64/arch-x86_64-tlsdesc/c.so -Wl,-no-relax -69: ++ echo -n 'Testing bsymbolic-non-weak-functions ... ' -69: Testing bsymbolic-non-weak-functions ... ++ set -o pipefail -69: ++ set -x -69: + cat -61: + cc -o out/test/x86_64/ar-alignment/c.o -c -xc - -69: + cc -c -o out/test/x86_64/bsymbolic-non-weak-functions/a.o -fPIC -xc - -54: + objdump -dr out/test/x86_64/arch-x86_64-z-rewrite-endbr2/exe2 -54: + grep -A1 ':' out/test/x86_64/arch-x86_64-z-rewrite-endbr2/log2 -64: + cat -54: + grep nop -64: + cc -o out/test/x86_64/as-needed-weak/libbar.so -shared -fPIC -Wl,-soname,libbar.so -xc - -54: 16b9: 0f 1f 40 00 nopl 0x0(%rax) -54: + grep nop -54: + grep -A1 ':' out/test/x86_64/arch-x86_64-z-rewrite-endbr2/log2 -54: 16c3: 0f 1f 40 00 nopl 0x0(%rax) -62: + cat -54: + grep -A1 '
:' out/test/x86_64/arch-x86_64-z-rewrite-endbr2/log2 -62: + cc -o out/test/x86_64/as-needed-dso/a.o -c -xc - -54: + grep endbr64 -36: + out/test/x86_64/arch-x86_64-reloc/exe -36: + grep '^56$' -54: 16cd: f3 0f 1e fa endbr64 -36: 56 -54: + on_exit -54: + echo OK -54: OK -54: + exit 0 - 58/402 Test #54: x86_64-arch-x86_64-z-rewrite-endbr2 ................... Passed 0.49 sec -36: + cat +66: 0x000000007ffffffd (AUXILIARY) Auxiliary library: [bar] +66: + on_exit +66: + echo OK +66: OK +66: + exit 0 +53: + grep -A1 ':' out/test/x86_64/arch-x86_64-z-rewrite-endbr/log2 + 58/402 Test #66: x86_64-auxiliary ...................................... Passed 0.11 sec test 70 Start 70: x86_64-bsymbolic-non-weak @@ -5894,8 +5896,57 @@ 70: MACHINE=x86_64 70: CPU= 70: Test timeout computed to be: 1500 -60: + cc -B. -o out/test/x86_64/allow-multiple-definition/exe out/test/x86_64/allow-multiple-definition/a.o out/test/x86_64/allow-multiple-definition/b.o -Wl,-allow-multiple-definition -70: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/bsymbolic-non-weak.sh +64: + cc -o out/test/x86_64/as-needed-weak/libbar.so -shared -fPIC -Wl,-soname,libbar.so -xc - +64: + cat +65: + cat +53: + grep nop +53: 16c3: 0f 1f 40 00 nopl 0x0(%rax) +68: ++ case $MACHINE in +68: ++ tlsdesc_opt=-mtls-dialect=gnu2 +67: +++ uname +67: ++ '[' Linux = FreeBSD ']' +67: ++ trap 'on_error $LINENO' ERR +67: ++ trap on_exit EXIT +67: ++ echo -n 'Testing bno-symbolic ... ' +67: Testing bno-symbolic ... ++ set -o pipefail +67: ++ set -x +67: + '[' x86_64 = s390x ']' +69: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/bsymbolic-non-weak-functions.sh .sh +69: ++ testname=bsymbolic-non-weak-functions +69: ++ t=out/test/x86_64/bsymbolic-non-weak-functions +69: ++ mkdir -p out/test/x86_64/bsymbolic-non-weak-functions +68: +++ uname +68: ++ '[' Linux = FreeBSD ']' +68: ++ trap 'on_error $LINENO' ERR +68: ++ trap on_exit EXIT +68: ++ echo -n 'Testing bsymbolic-functions ... ' +68: Testing bsymbolic-functions ... ++ set -o pipefail +68: ++ set -x +53: + grep -A1 '
:' out/test/x86_64/arch-x86_64-z-rewrite-endbr/log2 +53: + grep endbr64 +53: 16cd: f3 0f 1e fa endbr64 +53: + on_exit +53: + echo OK +53: OK +53: + exit 0 +70: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/bsymbolic-non-weak.sh + 59/402 Test #53: x86_64-arch-x86_64-z-rewrite-endbr .................... Passed 0.59 sec +60: + cc -B. -o out/test/x86_64/allow-multiple-definition/exe out/test/x86_64/allow-multiple-definition/a.o out/test/x86_64/allow-multiple-definition/b.o -Wl,-z,muldefs +test 71 + Start 71: x86_64-bsymbolic + +71: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/bsymbolic.sh" +71: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +71: Environment variables: +71: MACHINE=x86_64 +71: CPU= +71: Test timeout computed to be: 1500 +68: + cc -c -o out/test/x86_64/bsymbolic-functions/a.o -fPIC -xc - +68: + cat +61: + rm -f out/test/x86_64/ar-alignment/d.a +61: + ar rcs out/test/x86_64/ar-alignment/d.a out/test/x86_64/ar-alignment/a.o out/test/x86_64/ar-alignment/b.o +67: + cc -c -fPIC -oout/test/x86_64/bno-symbolic/a.o -xc - +67: + cat 70: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 70: ++ export LC_ALL=C 70: ++ LC_ALL=C @@ -5914,43 +5965,30 @@ 70: ++ testname=bsymbolic-non-weak 70: ++ t=out/test/x86_64/bsymbolic-non-weak 70: ++ mkdir -p out/test/x86_64/bsymbolic-non-weak +69: ++ case $MACHINE in +69: ++ tlsdesc_opt=-mtls-dialect=gnu2 +69: +++ uname +69: ++ '[' Linux = FreeBSD ']' +69: ++ trap 'on_error $LINENO' ERR +69: ++ trap on_exit EXIT +69: ++ echo -n 'Testing bsymbolic-non-weak-functions ... ' +69: Testing bsymbolic-non-weak-functions ... ++ set -o pipefail +69: ++ set -x +69: + cc -c -o out/test/x86_64/bsymbolic-non-weak-functions/a.o -fPIC -xc - +69: + cat +63: + cat +63: + cc -xc -c -o out/test/x86_64/as-needed-dso2/c.o - +36: + grep '^76$' +62: + cc -o out/test/x86_64/as-needed-dso/a.o -c -xc - +36: + out/test/x86_64/arch-x86_64-reloc/exe +36: 76 +36: + cc -B. -o out/test/x86_64/arch-x86_64-reloc/exe out/test/x86_64/arch-x86_64-reloc/c.so out/test/x86_64/arch-x86_64-reloc/d.s -pie +62: + cat +61: + cc -B. -o out/test/x86_64/ar-alignment/exe out/test/x86_64/ar-alignment/c.o out/test/x86_64/ar-alignment/d.a +64: + cc -B. -o out/test/x86_64/as-needed-weak/exe1 out/test/x86_64/as-needed-weak/a.o -Wl,-no-as-needed -Lout/test/x86_64/as-needed-weak -lbar -lfoo +71: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/bsymbolic.sh 70: ++ case $MACHINE in 70: ++ tlsdesc_opt=-mtls-dialect=gnu2 -70: +++ uname -70: ++ '[' Linux = FreeBSD ']' -70: ++ trap 'on_error $LINENO' ERR -70: ++ trap on_exit EXIT -70: ++ echo -n 'Testing bsymbolic-non-weak ... ' -70: Testing bsymbolic-non-weak ... ++ set -o pipefail -70: ++ set -x -70: + cat -70: + cc -c -o out/test/x86_64/bsymbolic-non-weak/a.o -fPIC -xc - -36: + cc -B. -o out/test/x86_64/arch-x86_64-reloc/exe out/test/x86_64/arch-x86_64-reloc/c.so out/test/x86_64/arch-x86_64-reloc/d.s -no-pie -45: + out/test/x86_64/arch-x86_64-tlsdesc/exe4 -45: + grep 42 -45: 42 -45: + on_exit -45: + echo OK -45: OK -45: + exit 0 - 59/402 Test #45: x86_64-arch-x86_64-tlsdesc ............................ Passed 0.75 sec -test 71 - Start 71: x86_64-bsymbolic - -71: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/bsymbolic.sh" -71: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -71: Environment variables: -71: MACHINE=x86_64 -71: CPU= -71: Test timeout computed to be: 1500 -67: + cc -B. -shared -fPIC -o out/test/x86_64/bno-symbolic/b.so out/test/x86_64/bno-symbolic/a.o -Wl,-Bsymbolic -Wl,-Bno-symbolic -69: + cc -B. -shared -o out/test/x86_64/bsymbolic-non-weak-functions/b.so out/test/x86_64/bsymbolic-non-weak-functions/a.o -Wl,-Bsymbolic-non-weak-functions -68: + cc -B. -shared -o out/test/x86_64/bsymbolic-functions/b.so out/test/x86_64/bsymbolic-functions/a.o -Wl,-Bsymbolic-functions -63: + cc -B. -shared -o out/test/x86_64/as-needed-dso2/libfoo.so out/test/x86_64/as-needed-dso2/a.o -62: + cc -B. -o out/test/x86_64/as-needed-dso/exe out/test/x86_64/as-needed-dso/a.o -Lout/test/x86_64/as-needed-dso -Wl,--as-needed -lbar -lfoo -61: + rm -f out/test/x86_64/ar-alignment/d.a -61: + ar rcs out/test/x86_64/ar-alignment/d.a out/test/x86_64/ar-alignment/a.o out/test/x86_64/ar-alignment/b.o -71: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/bsymbolic.sh 71: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 71: ++ export LC_ALL=C 71: ++ LC_ALL=C @@ -5965,67 +6003,88 @@ 71: ++ OBJCOPY=objcopy 71: ++ STRIP=strip 71: ++ QEMU= +68: + cc -B. -shared -o out/test/x86_64/bsymbolic-functions/b.so out/test/x86_64/bsymbolic-functions/a.o -Wl,-Bsymbolic-functions 71: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/bsymbolic.sh .sh 71: ++ testname=bsymbolic 71: ++ t=out/test/x86_64/bsymbolic 71: ++ mkdir -p out/test/x86_64/bsymbolic +67: + cc -B. -shared -fPIC -o out/test/x86_64/bno-symbolic/b.so out/test/x86_64/bno-symbolic/a.o -Wl,-Bsymbolic -Wl,-Bno-symbolic +69: + cc -B. -shared -o out/test/x86_64/bsymbolic-non-weak-functions/b.so out/test/x86_64/bsymbolic-non-weak-functions/a.o -Wl,-Bsymbolic-non-weak-functions +70: +++ uname +70: ++ '[' Linux = FreeBSD ']' +70: ++ trap 'on_error $LINENO' ERR +70: ++ trap on_exit EXIT +70: ++ echo -n 'Testing bsymbolic-non-weak ... ' +70: Testing bsymbolic-non-weak ... ++ set -o pipefail +70: ++ set -x 71: ++ case $MACHINE in 71: ++ tlsdesc_opt=-mtls-dialect=gnu2 +70: + cc -c -o out/test/x86_64/bsymbolic-non-weak/a.o -fPIC -xc - +65: + cc -o out/test/x86_64/as-needed/c.so -shared -fPIC -Wl,-soname,libbar.so -xc - +65: + cat +70: + cat +63: + cc -B. -shared -o out/test/x86_64/as-needed-dso2/libfoo.so out/test/x86_64/as-needed-dso2/a.o 71: +++ uname +62: + cc -B. -o out/test/x86_64/as-needed-dso/exe out/test/x86_64/as-needed-dso/a.o -Lout/test/x86_64/as-needed-dso -Wl,--as-needed -lbar -lfoo +60: + on_exit +60: + echo OK +60: OK +60: + exit 0 + 60/402 Test #60: x86_64-allow-multiple-definition ...................... Passed 0.36 sec +test 72 + Start 72: x86_64-build-id + +72: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/build-id.sh" +72: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +72: Environment variables: +72: MACHINE=x86_64 +72: CPU= +72: Test timeout computed to be: 1500 71: ++ '[' Linux = FreeBSD ']' -64: + cc -B. -o out/test/x86_64/as-needed-weak/exe1 out/test/x86_64/as-needed-weak/a.o -Wl,-no-as-needed -Lout/test/x86_64/as-needed-weak -lbar -lfoo 71: ++ trap 'on_error $LINENO' ERR 71: ++ trap on_exit EXIT 71: ++ echo -n 'Testing bsymbolic ... ' 71: Testing bsymbolic ... ++ set -o pipefail 71: ++ set -x 71: + cat +64: + readelf --dynamic out/test/x86_64/as-needed-weak/exe1 71: + cc -c -fPIC -oout/test/x86_64/bsymbolic/a.o -xc - -60: + cc -B. -o out/test/x86_64/allow-multiple-definition/exe out/test/x86_64/allow-multiple-definition/a.o out/test/x86_64/allow-multiple-definition/b.o -Wl,-z,muldefs -61: + cc -B. -o out/test/x86_64/ar-alignment/exe out/test/x86_64/ar-alignment/c.o out/test/x86_64/ar-alignment/d.a -70: + cc -B. -shared -o out/test/x86_64/bsymbolic-non-weak/b.so out/test/x86_64/bsymbolic-non-weak/a.o -Wl,-Bsymbolic-non-weak -65: + cat -65: + cc -o out/test/x86_64/as-needed/c.so -shared -fPIC -Wl,-soname,libbar.so -xc - +61: + on_exit +61: + echo OK +61: OK +61: + exit 0 68: + cat 68: + cc -c -o out/test/x86_64/bsymbolic-functions/c.o -xc - -fno-PIE -69: + cat -69: + cc -c -o out/test/x86_64/bsymbolic-non-weak-functions/c.o -xc - -67: + cat -67: + cc -c -o out/test/x86_64/bno-symbolic/c.o -xc - -fno-PIE -36: + out/test/x86_64/arch-x86_64-reloc/exe -36: + grep '^76$' -36: 76 -62: + readelf -W --dynamic out/test/x86_64/as-needed-dso/exe -36: + cc -B. -o out/test/x86_64/arch-x86_64-reloc/exe out/test/x86_64/arch-x86_64-reloc/c.so out/test/x86_64/arch-x86_64-reloc/d.s -pie -62: + grep libbar out/test/x86_64/as-needed-dso/log2 -62: 0x0000000000000001 (NEEDED) Shared library: [libbar.so] -62: + not grep libfoo out/test/x86_64/as-needed-dso/log2 -62: + grep libfoo out/test/x86_64/as-needed-dso/log2 -64: + readelf --dynamic out/test/x86_64/as-needed-weak/exe1 -62: + return 0 -62: + on_exit -62: + echo OK -62: OK -62: + exit 0 -63: + cc -B. -shared -o out/test/x86_64/as-needed-dso2/libbar.so out/test/x86_64/as-needed-dso2/b.o 64: + grep -F 'Shared library: [libfoo.so]' out/test/x86_64/as-needed-weak/log1 - 60/402 Test #62: x86_64-as-needed-dso .................................. Passed 0.34 sec -test 72 - Start 72: x86_64-build-id + 61/402 Test #61: x86_64-ar-alignment ................................... Passed 0.36 sec +test 73 + Start 73: x86_64-canonical-plt -72: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/build-id.sh" -72: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -72: Environment variables: -72: MACHINE=x86_64 -72: CPU= -72: Test timeout computed to be: 1500 -70: + cat -70: + cc -c -o out/test/x86_64/bsymbolic-non-weak/c.o -xc - +73: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/canonical-plt.sh" +73: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +73: Environment variables: +73: MACHINE=x86_64 +73: CPU= +73: Test timeout computed to be: 1500 +70: + cc -B. -shared -o out/test/x86_64/bsymbolic-non-weak/b.so out/test/x86_64/bsymbolic-non-weak/a.o -Wl,-Bsymbolic-non-weak +73: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/canonical-plt.sh +72: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/build-id.sh 64: 0x0000000000000001 (NEEDED) Shared library: [libfoo.so] 64: + grep -F 'Shared library: [libbar.so]' out/test/x86_64/as-needed-weak/log1 -64: 0x0000000000000001 (NEEDED) Shared library: [libbar.so] -64: + cc -B. -o out/test/x86_64/as-needed-weak/exe2 out/test/x86_64/as-needed-weak/a.o -Wl,-as-needed -Lout/test/x86_64/as-needed-weak -lbar -lfoo -72: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/build-id.sh +73: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +73: ++ export LC_ALL=C +73: ++ LC_ALL=C +73: ++ '[' -z x86_64 ']' +73: ++ '[' -z '' ']' +73: ++ TESTDIR=out/test/x86_64 +73: ++ CC=cc +73: ++ CXX=c++ +73: ++ GCC=gcc +73: ++ GXX=g++ +73: ++ OBJDUMP=objdump +73: ++ OBJCOPY=objcopy +73: ++ STRIP=strip +73: ++ QEMU= 72: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 72: ++ export LC_ALL=C 72: ++ LC_ALL=C @@ -6040,57 +6099,67 @@ 72: ++ OBJCOPY=objcopy 72: ++ STRIP=strip 72: ++ QEMU= +71: + cc -B. -shared -fPIC -o out/test/x86_64/bsymbolic/b.so out/test/x86_64/bsymbolic/a.o -Wl,-Bsymbolic +64: 0x0000000000000001 (NEEDED) Shared library: [libbar.so] +64: + cc -B. -o out/test/x86_64/as-needed-weak/exe2 out/test/x86_64/as-needed-weak/a.o -Wl,-as-needed -Lout/test/x86_64/as-needed-weak -lbar -lfoo +69: + cc -c -o out/test/x86_64/bsymbolic-non-weak-functions/c.o -xc - +65: + cc -B. -o out/test/x86_64/as-needed/exe out/test/x86_64/as-needed/a.o -Wl,--no-as-needed out/test/x86_64/as-needed/b.so out/test/x86_64/as-needed/c.so +69: + cat +73: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/canonical-plt.sh .sh +73: ++ testname=canonical-plt +73: ++ t=out/test/x86_64/canonical-plt +73: ++ mkdir -p out/test/x86_64/canonical-plt 72: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/build-id.sh .sh 72: ++ testname=build-id 72: ++ t=out/test/x86_64/build-id 72: ++ mkdir -p out/test/x86_64/build-id +73: ++ case $MACHINE in +73: ++ tlsdesc_opt=-mtls-dialect=gnu2 72: ++ case $MACHINE in 72: ++ tlsdesc_opt=-mtls-dialect=gnu2 +63: + cc -B. -shared -o out/test/x86_64/as-needed-dso2/libbar.so out/test/x86_64/as-needed-dso2/b.o 72: +++ uname -71: + cc -B. -shared -fPIC -o out/test/x86_64/bsymbolic/b.so out/test/x86_64/bsymbolic/a.o -Wl,-Bsymbolic -60: + on_exit -60: + echo OK -60: OK -60: + exit 0 - 61/402 Test #60: x86_64-allow-multiple-definition ...................... Passed 0.47 sec 72: ++ '[' Linux = FreeBSD ']' 72: ++ trap 'on_error $LINENO' ERR 72: ++ trap on_exit EXIT -test 73 - Start 73: x86_64-canonical-plt - -73: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/canonical-plt.sh" -73: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -73: Environment variables: -73: MACHINE=x86_64 -73: CPU= -73: Test timeout computed to be: 1500 72: ++ echo -n 'Testing build-id ... ' 72: Testing build-id ... ++ set -o pipefail 72: ++ set -x -72: + echo 'int main() { return 0; }' +36: + out/test/x86_64/arch-x86_64-reloc/exe +36: + grep '^76$' +36: 76 +36: + cat +73: +++ uname 72: + cc -c -o out/test/x86_64/build-id/a.o -xc - -73: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/canonical-plt.sh -73: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -73: ++ export LC_ALL=C -73: ++ LC_ALL=C -73: ++ '[' -z x86_64 ']' -73: ++ '[' -z '' ']' -73: ++ TESTDIR=out/test/x86_64 -73: ++ CC=cc -73: ++ CXX=c++ -73: ++ GCC=gcc -73: ++ GXX=g++ -73: ++ OBJDUMP=objdump -73: ++ OBJCOPY=objcopy -73: ++ STRIP=strip -73: ++ QEMU= -73: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/canonical-plt.sh .sh -61: + on_exit -61: + echo OK -61: OK -61: + exit 0 - 62/402 Test #61: x86_64-ar-alignment ................................... Passed 0.37 sec +73: ++ '[' Linux = FreeBSD ']' +73: ++ trap 'on_error $LINENO' ERR +73: ++ trap on_exit EXIT +73: ++ echo -n 'Testing canonical-plt ... ' +73: Testing canonical-plt ... ++ set -o pipefail +73: ++ set -x +73: + '[' x86_64 = s390x ']' +72: + echo 'int main() { return 0; }' +73: + cc -o out/test/x86_64/canonical-plt/a.so -fPIC -shared -xc - +73: + cat +62: + readelf -W --dynamic out/test/x86_64/as-needed-dso/exe +70: + cc -c -o out/test/x86_64/bsymbolic-non-weak/c.o -xc - +70: + cat +67: + cat +67: + cc -c -o out/test/x86_64/bno-symbolic/c.o -xc - -fno-PIE +62: + grep libbar out/test/x86_64/as-needed-dso/log2 +65: + readelf --dynamic out/test/x86_64/as-needed/exe +62: 0x0000000000000001 (NEEDED) Shared library: [libbar.so] +62: + not grep libfoo out/test/x86_64/as-needed-dso/log2 +62: + grep libfoo out/test/x86_64/as-needed-dso/log2 +71: + cc -c -o out/test/x86_64/bsymbolic/c.o -xc - -fno-PIE +71: + cat +62: + return 0 +62: + on_exit +62: + echo OK +62: OK +62: + exit 0 +64: + readelf --dynamic out/test/x86_64/as-needed-weak/exe2 + 62/402 Test #62: x86_64-as-needed-dso .................................. Passed 0.42 sec test 74 Start 74: x86_64-cmdline @@ -6100,14 +6169,19 @@ 74: MACHINE=x86_64 74: CPU= 74: Test timeout computed to be: 1500 -73: ++ testname=canonical-plt -73: ++ t=out/test/x86_64/canonical-plt -73: ++ mkdir -p out/test/x86_64/canonical-plt +63: + cc -B. -o out/test/x86_64/as-needed-dso2/exe out/test/x86_64/as-needed-dso2/c.o -Lout/test/x86_64/as-needed-dso2 -Wl,--as-needed -lfoo -lbar +65: + grep -F 'Shared library: [libfoo.so]' out/test/x86_64/as-needed/log +64: + grep -F 'Shared library: [libfoo.so]' out/test/x86_64/as-needed-weak/log2 +64: 0x0000000000000001 (NEEDED) Shared library: [libfoo.so] +65: 0x0000000000000001 (NEEDED) Shared library: [libfoo.so] +65: + grep -F 'Shared library: [libbar.so]' out/test/x86_64/as-needed/log +36: + cc -B. -o out/test/x86_64/arch-x86_64-reloc/exe out/test/x86_64/arch-x86_64-reloc/c.so out/test/x86_64/arch-x86_64-reloc/d.s +65: 0x0000000000000001 (NEEDED) Shared library: [libbar.so] +65: + cc -B. -o out/test/x86_64/as-needed/exe out/test/x86_64/as-needed/a.o -Wl,--as-needed out/test/x86_64/as-needed/b.so out/test/x86_64/as-needed/c.so +64: + not grep -F 'Shared library: [libbar.so]' out/test/x86_64/as-needed-weak/log2 +64: + grep -F 'Shared library: [libbar.so]' out/test/x86_64/as-needed-weak/log2 74: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/cmdline.sh -73: ++ case $MACHINE in -73: ++ tlsdesc_opt=-mtls-dialect=gnu2 74: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -73: +++ uname 74: ++ export LC_ALL=C 74: ++ LC_ALL=C 74: ++ '[' -z x86_64 ']' @@ -6121,46 +6195,13 @@ 74: ++ OBJCOPY=objcopy 74: ++ STRIP=strip 74: ++ QEMU= -74: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/cmdline.sh .sh -74: ++ testname=cmdline -73: ++ '[' Linux = FreeBSD ']' -74: ++ t=out/test/x86_64/cmdline -74: ++ mkdir -p out/test/x86_64/cmdline -73: ++ trap 'on_error $LINENO' ERR -73: ++ trap on_exit EXIT -73: ++ echo -n 'Testing canonical-plt ... ' -73: Testing canonical-plt ... ++ set -o pipefail -73: ++ set -x -73: + '[' x86_64 = s390x ']' -73: + cat -73: + cc -o out/test/x86_64/canonical-plt/a.so -fPIC -shared -xc - -74: ++ case $MACHINE in -74: ++ tlsdesc_opt=-mtls-dialect=gnu2 -64: + readelf --dynamic out/test/x86_64/as-needed-weak/exe2 -74: +++ uname -74: ++ '[' Linux = FreeBSD ']' -74: ++ trap 'on_error $LINENO' ERR -74: ++ trap on_exit EXIT -74: ++ echo -n 'Testing cmdline ... ' -74: Testing cmdline ... ++ set -o pipefail -74: ++ set -x -74: + grep 'unknown command line option: -zfoo' -74: + not ./mold -zfoo -36: + out/test/x86_64/arch-x86_64-reloc/exe -36: + grep '^76$' -36: 76 -36: + cat -64: + grep -F 'Shared library: [libfoo.so]' out/test/x86_64/as-needed-weak/log2 -64: 0x0000000000000001 (NEEDED) Shared library: [libfoo.so] -64: + not grep -F 'Shared library: [libbar.so]' out/test/x86_64/as-needed-weak/log2 -64: + grep -F 'Shared library: [libbar.so]' out/test/x86_64/as-needed-weak/log2 64: + return 0 64: + on_exit -63: + cc -B. -o out/test/x86_64/as-needed-dso2/exe out/test/x86_64/as-needed-dso2/c.o -Lout/test/x86_64/as-needed-dso2 -Wl,--as-needed -lfoo -lbar 64: + echo OK 64: OK 64: + exit 0 63/402 Test #64: x86_64-as-needed-weak ................................. Passed 0.38 sec +74: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/cmdline.sh .sh test 75 Start 75: x86_64-color-diagnostics @@ -6170,11 +6211,19 @@ 75: MACHINE=x86_64 75: CPU= 75: Test timeout computed to be: 1500 -71: + cat -71: + cc -c -o out/test/x86_64/bsymbolic/c.o -xc - -fno-PIE -74: mold: warning: unknown command line option: -zfoo -74: + not ./mold -z foo -74: + grep 'unknown command line option: -z foo' +74: ++ testname=cmdline +74: ++ t=out/test/x86_64/cmdline +74: ++ mkdir -p out/test/x86_64/cmdline +74: ++ case $MACHINE in +74: ++ tlsdesc_opt=-mtls-dialect=gnu2 +74: +++ uname +74: ++ '[' Linux = FreeBSD ']' +74: ++ trap 'on_error $LINENO' ERR +74: ++ trap on_exit EXIT +74: ++ echo -n 'Testing cmdline ... ' +74: Testing cmdline ... ++ set -o pipefail +74: ++ set -x +67: + cc -B. -no-pie -o out/test/x86_64/bno-symbolic/exe out/test/x86_64/bno-symbolic/c.o out/test/x86_64/bno-symbolic/b.so 75: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/color-diagnostics.sh 75: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 75: ++ export LC_ALL=C @@ -6190,34 +6239,41 @@ 75: ++ OBJCOPY=objcopy 75: ++ STRIP=strip 75: ++ QEMU= +74: + not ./mold -zfoo 75: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/color-diagnostics.sh .sh +68: + cc -B. -no-pie -o out/test/x86_64/bsymbolic-functions/exe out/test/x86_64/bsymbolic-functions/c.o out/test/x86_64/bsymbolic-functions/b.so +69: + cc -B. -o out/test/x86_64/bsymbolic-non-weak-functions/exe out/test/x86_64/bsymbolic-non-weak-functions/c.o out/test/x86_64/bsymbolic-non-weak-functions/b.so 75: ++ testname=color-diagnostics 75: ++ t=out/test/x86_64/color-diagnostics 75: ++ mkdir -p out/test/x86_64/color-diagnostics -74: mold: warning: unknown command line option: -z foo +71: + cc -B. -no-pie -o out/test/x86_64/bsymbolic/exe out/test/x86_64/bsymbolic/c.o out/test/x86_64/bsymbolic/b.so 75: ++ case $MACHINE in 75: ++ tlsdesc_opt=-mtls-dialect=gnu2 -74: + not ./mold -abcdefg +72: + cc -B. -o out/test/x86_64/build-id/exe1 out/test/x86_64/build-id/a.o -Wl,-build-id +70: + cc -B. -o out/test/x86_64/bsymbolic-non-weak/exe out/test/x86_64/bsymbolic-non-weak/c.o out/test/x86_64/bsymbolic-non-weak/b.so +74: + grep 'unknown command line option: -zfoo' +74: mold: warning: unknown command line option: -zfoo +65: + readelf --dynamic out/test/x86_64/as-needed/exe +74: + grep 'unknown command line option: -z foo' +70: + grep '^3 3 3 3 4 7$' +74: + not ./mold -z foo +63: + readelf --dynamic out/test/x86_64/as-needed-dso2/exe +70: + out/test/x86_64/bsymbolic-non-weak/exe +70: 3 3 3 3 4 7 +70: + on_exit +70: + echo OK +70: OK +70: + exit 0 +63: + not grep libfoo.so out/test/x86_64/as-needed-dso2/log +63: + grep libfoo.so out/test/x86_64/as-needed-dso2/log 75: +++ uname -74: + grep 'unknown command line option: -abcdefg' + 64/402 Test #70: x86_64-bsymbolic-non-weak ............................. Passed 0.29 sec 75: ++ '[' Linux = FreeBSD ']' 75: ++ trap 'on_error $LINENO' ERR 75: ++ trap on_exit EXIT 75: ++ echo -n 'Testing color-diagnostics ... ' 75: Testing color-diagnostics ... ++ set -o pipefail 75: ++ set -x -75: + cat -75: + cc -o out/test/x86_64/color-diagnostics/a.o -c -xc - -74: mold: fatal: unknown command line option: -abcdefg -74: + not ./mold --abcdefg -74: + grep 'unknown command line option: --abcdefg' -74: mold: fatal: unknown command line option: --abcdefg -74: + on_exit -74: + echo OK -74: OK -74: + exit 0 - 64/402 Test #74: x86_64-cmdline ........................................ Passed 0.05 sec -69: + cc -B. -o out/test/x86_64/bsymbolic-non-weak-functions/exe out/test/x86_64/bsymbolic-non-weak-functions/c.o out/test/x86_64/bsymbolic-non-weak-functions/b.so test 76 Start 76: x86_64-comment @@ -6227,12 +6283,65 @@ 76: MACHINE=x86_64 76: CPU= 76: Test timeout computed to be: 1500 -68: + cc -B. -no-pie -o out/test/x86_64/bsymbolic-functions/exe out/test/x86_64/bsymbolic-functions/c.o out/test/x86_64/bsymbolic-functions/b.so -63: + readelf --dynamic out/test/x86_64/as-needed-dso2/exe -63: + not grep libfoo.so out/test/x86_64/as-needed-dso2/log -63: + grep libfoo.so out/test/x86_64/as-needed-dso2/log 63: + return 0 63: + grep libbar.so out/test/x86_64/as-needed-dso2/log +63: 0x0000000000000001 (NEEDED) Shared library: [libbar.so] +63: + on_exit +63: + echo OK +63: OK +63: + exit 0 +65: + grep -F 'Shared library: [libfoo.so]' out/test/x86_64/as-needed/log +65: 0x0000000000000001 (NEEDED) Shared library: [libfoo.so] +65: + not grep -F 'Shared library: [libbar.so]' out/test/x86_64/as-needed/log +65: + grep -F 'Shared library: [libbar.so]' out/test/x86_64/as-needed/log +74: mold: warning: unknown command line option: -z foo +75: + cc -o out/test/x86_64/color-diagnostics/a.o -c -xc - + 65/402 Test #63: x86_64-as-needed-dso2 ................................. Passed 0.47 sec +test 77 + Start 77: x86_64-common-archive + +77: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/common-archive.sh" +77: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +77: Environment variables: +77: MACHINE=x86_64 +77: CPU= +77: Test timeout computed to be: 1500 +74: + not ./mold -abcdefg +74: + grep 'unknown command line option: -abcdefg' +75: + cat +68: + out/test/x86_64/bsymbolic-functions/exe +65: + return 0 +65: + on_exit +65: + echo OK +65: OK +65: + exit 0 + 66/402 Test #65: x86_64-as-needed ...................................... Passed 0.44 sec +test 78 + Start 78: x86_64-common-ref + +78: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/common-ref.sh" +78: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +78: Environment variables: +78: MACHINE=x86_64 +78: CPU= +78: Test timeout computed to be: 1500 +68: + grep '3 3 0' +68: 3 3 0 +68: + on_exit +68: + echo OK +68: OK +68: + exit 0 +69: + grep '^3 3 3 3 3 7$' +69: + out/test/x86_64/bsymbolic-non-weak-functions/exe +69: 3 3 3 3 3 7 +69: + on_exit +69: + echo OK +69: OK +69: + exit 0 +73: + cc -o out/test/x86_64/canonical-plt/b.o -c -xc - -fPIC +73: + cat +74: mold: fatal: unknown command line option: -abcdefg +74: + not ./mold --abcdefg 76: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/comment.sh 76: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 76: ++ export LC_ALL=C @@ -6248,37 +6357,17 @@ 76: ++ OBJCOPY=objcopy 76: ++ STRIP=strip 76: ++ QEMU= -63: 0x0000000000000001 (NEEDED) Shared library: [libbar.so] -63: + on_exit -63: + echo OK -63: OK -63: + exit 0 -76: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/comment.sh .sh - 65/402 Test #63: x86_64-as-needed-dso2 ................................. Passed 0.41 sec -test 77 - Start 77: x86_64-common-archive - -77: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/common-archive.sh" -77: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -77: Environment variables: -77: MACHINE=x86_64 -77: CPU= -77: Test timeout computed to be: 1500 -76: ++ testname=comment -76: ++ t=out/test/x86_64/comment -76: ++ mkdir -p out/test/x86_64/comment -76: ++ case $MACHINE in -76: ++ tlsdesc_opt=-mtls-dialect=gnu2 -76: +++ uname -76: ++ '[' Linux = FreeBSD ']' +71: + out/test/x86_64/bsymbolic/exe +71: + grep '3 4' +71: 3 4 +71: + on_exit +71: + echo OK +71: OK +71: + exit 0 + 67/402 Test #68: x86_64-bsymbolic-functions ............................ Passed 0.36 sec + 68/402 Test #69: x86_64-bsymbolic-non-weak-functions ................... Passed 0.35 sec + 69/402 Test #71: x86_64-bsymbolic ...................................... Passed 0.31 sec 77: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/common-archive.sh -76: ++ trap 'on_error $LINENO' ERR -76: ++ trap on_exit EXIT -76: ++ echo -n 'Testing comment ... ' -76: Testing comment ... ++ set -o pipefail -76: ++ set -x -76: + cat -76: + cc -c -o out/test/x86_64/comment/a.o -xc - 77: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 77: ++ export LC_ALL=C 77: ++ LC_ALL=C @@ -6293,6 +6382,24 @@ 77: ++ OBJCOPY=objcopy 77: ++ STRIP=strip 77: ++ QEMU= +test 79 + Start 79: x86_64-common-symbols + +79: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/common-symbols.sh" +79: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +79: Environment variables: +79: MACHINE=x86_64 +79: CPU= +79: Test timeout computed to be: 1500 +test 80 + Start 80: x86_64-compress-debug-sections-zstd + +80: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/compress-debug-sections-zstd.sh" +80: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +80: Environment variables: +80: MACHINE=x86_64 +80: CPU= +80: Test timeout computed to be: 1500 77: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/common-archive.sh .sh 77: ++ testname=common-archive 77: ++ t=out/test/x86_64/common-archive @@ -6306,43 +6413,23 @@ 77: ++ echo -n 'Testing common-archive ... ' 77: Testing common-archive ... ++ set -o pipefail 77: ++ set -x -77: + cat 77: + cc -fcommon -xc -c -o out/test/x86_64/common-archive/a.o - -69: + out/test/x86_64/bsymbolic-non-weak-functions/exe -69: + grep '^3 3 3 3 3 7$' -69: 3 3 3 3 3 7 -69: + on_exit -69: + echo OK -69: OK -69: + exit 0 - 66/402 Test #69: x86_64-bsymbolic-non-weak-functions ................... Passed 0.31 sec -67: + cc -B. -no-pie -o out/test/x86_64/bno-symbolic/exe out/test/x86_64/bno-symbolic/c.o out/test/x86_64/bno-symbolic/b.so -test 78 - Start 78: x86_64-common-ref - -78: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/common-ref.sh" -78: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -78: Environment variables: -78: MACHINE=x86_64 -78: CPU= -78: Test timeout computed to be: 1500 -68: + out/test/x86_64/bsymbolic-functions/exe -68: + grep '3 3 0' -68: 3 3 0 -68: + on_exit -68: + echo OK -68: OK -68: + exit 0 - 67/402 Test #68: x86_64-bsymbolic-functions ............................ Passed 0.32 sec -test 79 - Start 79: x86_64-common-symbols +77: + cat +test 81 + Start 81: x86_64-compress-debug-sections -79: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/common-symbols.sh" -79: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -79: Environment variables: -79: MACHINE=x86_64 -79: CPU= -79: Test timeout computed to be: 1500 +81: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/compress-debug-sections.sh" +81: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +81: Environment variables: +81: MACHINE=x86_64 +81: CPU= +81: Test timeout computed to be: 1500 +74: + grep 'unknown command line option: --abcdefg' +74: mold: fatal: unknown command line option: --abcdefg +74: + on_exit +74: + echo OK +74: OK +74: + exit 0 78: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/common-ref.sh 78: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 78: ++ export LC_ALL=C @@ -6359,10 +6446,78 @@ 78: ++ STRIP=strip 78: ++ QEMU= 78: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/common-ref.sh .sh -79: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/common-symbols.sh 78: ++ testname=common-ref 78: ++ t=out/test/x86_64/common-ref 78: ++ mkdir -p out/test/x86_64/common-ref +78: ++ case $MACHINE in +78: ++ tlsdesc_opt=-mtls-dialect=gnu2 +78: +++ uname +78: ++ '[' Linux = FreeBSD ']' +78: ++ trap 'on_error $LINENO' ERR +78: ++ trap on_exit EXIT +78: ++ echo -n 'Testing common-ref ... ' +78: Testing common-ref ... ++ set -o pipefail +78: ++ set -x +78: + cc -fcommon -xc -c -o out/test/x86_64/common-ref/a.o - +78: + cat +67: + grep '3 3 1' +67: + out/test/x86_64/bno-symbolic/exe +67: 3 3 1 +67: + on_exit +67: + echo OK +67: OK +67: + exit 0 +76: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/comment.sh .sh +76: ++ testname=comment +76: ++ t=out/test/x86_64/comment +76: ++ mkdir -p out/test/x86_64/comment +76: ++ case $MACHINE in +76: ++ tlsdesc_opt=-mtls-dialect=gnu2 +76: +++ uname +76: ++ '[' Linux = FreeBSD ']' +76: ++ trap 'on_error $LINENO' ERR +76: ++ trap on_exit EXIT +76: ++ echo -n 'Testing comment ... ' +76: Testing comment ... ++ set -o pipefail +76: ++ set -x +76: + cc -c -o out/test/x86_64/comment/a.o -xc - +76: + cat +75: + not ./mold -o out/test/x86_64/color-diagnostics/exe out/test/x86_64/color-diagnostics/a.o --color-diagnostics +75: + not grep $'\E' +75: + grep $'\E' +75: + return 0 +36: + grep '^26$' +36: + out/test/x86_64/arch-x86_64-reloc/exe +36: 26 +36: + cat +36: + cc -B. -o out/test/x86_64/arch-x86_64-reloc/exe out/test/x86_64/arch-x86_64-reloc/c.so out/test/x86_64/arch-x86_64-reloc/d.s +72: + readelf -n out/test/x86_64/build-id/exe1 +72: + grep 'GNU.*0x00000014.*NT_GNU_BUILD_ID' +72: GNU 0x00000014 NT_GNU_BUILD_ID (unique build ID bitstring) +72: + cc -B. -o out/test/x86_64/build-id/exe2 out/test/x86_64/build-id/a.o -Wl,-build-id=uuid + 70/402 Test #67: x86_64-bno-symbolic ................................... Passed 0.44 sec + 71/402 Test #74: x86_64-cmdline ........................................ Passed 0.16 sec +77: + cc -fcommon -xc -c -o out/test/x86_64/common-archive/b.o - +77: + cat +test 82 + Start 82: x86_64-compressed-debug-info + +82: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/compressed-debug-info.sh" +82: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +82: Environment variables: +82: MACHINE=x86_64 +82: CPU= +82: Test timeout computed to be: 1500 +test 83 + Start 83: x86_64-copyrel-alignment + +83: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/copyrel-alignment.sh" +83: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +83: Environment variables: +83: MACHINE=x86_64 +83: CPU= +83: Test timeout computed to be: 1500 +79: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/common-symbols.sh 79: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 79: ++ export LC_ALL=C 79: ++ LC_ALL=C @@ -6377,57 +6532,13 @@ 79: ++ OBJCOPY=objcopy 79: ++ STRIP=strip 79: ++ QEMU= -36: + cc -B. -o out/test/x86_64/arch-x86_64-reloc/exe out/test/x86_64/arch-x86_64-reloc/c.so out/test/x86_64/arch-x86_64-reloc/d.s -no-pie 79: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/common-symbols.sh .sh 79: ++ testname=common-symbols 79: ++ t=out/test/x86_64/common-symbols 79: ++ mkdir -p out/test/x86_64/common-symbols -78: ++ case $MACHINE in -78: ++ tlsdesc_opt=-mtls-dialect=gnu2 -78: +++ uname -78: ++ '[' Linux = FreeBSD ']' -78: ++ trap 'on_error $LINENO' ERR -78: ++ trap on_exit EXIT -78: ++ echo -n 'Testing common-ref ... ' -78: Testing common-ref ... ++ set -o pipefail -78: ++ set -x -78: + cat 79: ++ case $MACHINE in 79: ++ tlsdesc_opt=-mtls-dialect=gnu2 -79: +++ uname -78: + cc -fcommon -xc -c -o out/test/x86_64/common-ref/a.o - -79: ++ '[' Linux = FreeBSD ']' -79: ++ trap 'on_error $LINENO' ERR -79: ++ trap on_exit EXIT -79: ++ echo -n 'Testing common-symbols ... ' -79: Testing common-symbols ... ++ set -o pipefail -79: ++ set -x -79: + cat -79: + cc -fcommon -xc -c -o out/test/x86_64/common-symbols/a.o - -70: + cc -B. -o out/test/x86_64/bsymbolic-non-weak/exe out/test/x86_64/bsymbolic-non-weak/c.o out/test/x86_64/bsymbolic-non-weak/b.so -72: + cc -B. -o out/test/x86_64/build-id/exe1 out/test/x86_64/build-id/a.o -Wl,-build-id -76: + cc -B. -o out/test/x86_64/comment/exe out/test/x86_64/comment/a.o -67: + out/test/x86_64/bno-symbolic/exe -65: + cc -B. -o out/test/x86_64/as-needed/exe out/test/x86_64/as-needed/a.o -Wl,--no-as-needed out/test/x86_64/as-needed/b.so out/test/x86_64/as-needed/c.so -67: + grep '3 3 1' -67: 3 3 1 -67: + on_exit -67: + echo OK -67: OK -67: + exit 0 - 68/402 Test #67: x86_64-bno-symbolic ................................... Passed 0.36 sec -test 80 - Start 80: x86_64-compress-debug-sections-zstd - -80: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/compress-debug-sections-zstd.sh" -80: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -80: Environment variables: -80: MACHINE=x86_64 -80: CPU= -80: Test timeout computed to be: 1500 80: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/compress-debug-sections-zstd.sh -75: + not ./mold -o out/test/x86_64/color-diagnostics/exe out/test/x86_64/color-diagnostics/a.o --color-diagnostics -75: + not grep $'\E' 80: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 80: ++ export LC_ALL=C 80: ++ LC_ALL=C @@ -6443,7 +6554,6 @@ 80: ++ STRIP=strip 80: ++ QEMU= 80: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/compress-debug-sections-zstd.sh .sh -75: + grep $'\E' 80: ++ testname=compress-debug-sections-zstd 80: ++ t=out/test/x86_64/compress-debug-sections-zstd 80: ++ mkdir -p out/test/x86_64/compress-debug-sections-zstd @@ -6464,40 +6574,10 @@ 80: skipped 80: + trap - EXIT 80: + exit 0 - 69/402 Test #80: x86_64-compress-debug-sections-zstd ...................***Skipped 0.02 sec -test 81 - Start 81: x86_64-compress-debug-sections - -81: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/compress-debug-sections.sh" -81: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -81: Environment variables: -81: MACHINE=x86_64 -81: CPU= -81: Test timeout computed to be: 1500 -76: + readelf -p .comment out/test/x86_64/comment/exe -76: + grep mold -76: [ 0] mold 2.37.1 (compatible with GNU ld) -70: + out/test/x86_64/bsymbolic-non-weak/exe -70: + grep '^3 3 3 3 4 7$' -76: + readelf -SW out/test/x86_64/comment/exe -70: 3 3 3 3 4 7 -75: + return 0 -70: + on_exit -76: + grep -E '\.comment.*\bMS\b' +75: + grep $'\E' 75: + not ./mold -o out/test/x86_64/color-diagnostics/exe out/test/x86_64/color-diagnostics/a.o --color-diagnostics=always -70: + echo OK -70: OK -70: + exit 0 - 70/402 Test #70: x86_64-bsymbolic-non-weak ............................. Passed 0.28 sec -test 82 - Start 82: x86_64-compressed-debug-info - -82: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/compressed-debug-info.sh" -82: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -82: Environment variables: -82: MACHINE=x86_64 -82: CPU= -82: Test timeout computed to be: 1500 +73: + cc -o out/test/x86_64/canonical-plt/c.o -c -xc - -fno-PIC +73: + cat 81: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/compress-debug-sections.sh 81: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 81: ++ export LC_ALL=C @@ -6513,34 +6593,24 @@ 81: ++ OBJCOPY=objcopy 81: ++ STRIP=strip 81: ++ QEMU= -81: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/compress-debug-sections.sh .sh -71: + cc -B. -no-pie -o out/test/x86_64/bsymbolic/exe out/test/x86_64/bsymbolic/c.o out/test/x86_64/bsymbolic/b.so -75: + grep $'\E' -76: [27] .comment PROGBITS 0000000000000000 0008b8 000045 01 MS 0 0 1 -76: + on_exit -76: + echo OK -76: OK -76: + exit 0 - 71/402 Test #76: x86_64-comment ........................................ Passed 0.09 sec -81: ++ testname=compress-debug-sections -81: ++ t=out/test/x86_64/compress-debug-sections -81: ++ mkdir -p out/test/x86_64/compress-debug-sections -test 83 - Start 83: x86_64-copyrel-alignment +76: + cc -B. -o out/test/x86_64/comment/exe out/test/x86_64/comment/a.o + 72/402 Test #80: x86_64-compress-debug-sections-zstd ...................***Skipped 0.05 sec +79: +++ uname +test 84 + Start 84: x86_64-copyrel-norelro -83: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/copyrel-alignment.sh" -83: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -83: Environment variables: -83: MACHINE=x86_64 -83: CPU= -83: Test timeout computed to be: 1500 -81: ++ case $MACHINE in -81: ++ tlsdesc_opt=-mtls-dialect=gnu2 -81: +++ uname -78: + cat -78: + cc -fcommon -xc -c -o out/test/x86_64/common-ref/b.o - -79: + cc -fcommon -xc -c -o out/test/x86_64/common-symbols/b.o - -79: + cat +84: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/copyrel-norelro.sh" +84: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +84: Environment variables: +84: MACHINE=x86_64 +84: CPU= +84: Test timeout computed to be: 1500 +79: ++ '[' Linux = FreeBSD ']' +79: ++ trap 'on_error $LINENO' ERR +79: ++ trap on_exit EXIT +79: ++ echo -n 'Testing common-symbols ... ' +79: Testing common-symbols ... ++ set -o pipefail +79: ++ set -x 82: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/compressed-debug-info.sh 82: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 82: ++ export LC_ALL=C @@ -6556,23 +6626,41 @@ 82: ++ OBJCOPY=objcopy 82: ++ STRIP=strip 82: ++ QEMU= -81: ++ '[' Linux = FreeBSD ']' -81: ++ trap 'on_error $LINENO' ERR -81: ++ trap on_exit EXIT -81: ++ echo -n 'Testing compress-debug-sections ... ' -81: Testing compress-debug-sections ... ++ set -o pipefail -81: ++ set -x -81: + cat -81: + cc -c -g -o out/test/x86_64/compress-debug-sections/a.o -xc - 82: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/compressed-debug-info.sh .sh +82: ++ testname=compressed-debug-info +82: ++ t=out/test/x86_64/compressed-debug-info +82: ++ mkdir -p out/test/x86_64/compressed-debug-info +81: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/compress-debug-sections.sh .sh +81: ++ testname=compress-debug-sections +81: ++ t=out/test/x86_64/compress-debug-sections +81: ++ mkdir -p out/test/x86_64/compress-debug-sections +79: + cc -fcommon -xc -c -o out/test/x86_64/common-symbols/a.o - 83: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/copyrel-alignment.sh +77: + cc -fcommon -xc -c -o out/test/x86_64/common-archive/c.o - +84: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/copyrel-norelro.sh +84: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +84: ++ export LC_ALL=C +84: ++ LC_ALL=C +84: ++ '[' -z x86_64 ']' +84: ++ '[' -z '' ']' +84: ++ TESTDIR=out/test/x86_64 +84: ++ CC=cc +84: ++ CXX=c++ +84: ++ GCC=gcc +84: ++ GXX=g++ +84: ++ OBJDUMP=objdump +84: ++ OBJCOPY=objcopy +84: ++ STRIP=strip +84: ++ QEMU= +82: ++ case $MACHINE in +82: ++ tlsdesc_opt=-mtls-dialect=gnu2 +84: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/copyrel-norelro.sh .sh 83: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 83: ++ export LC_ALL=C 83: ++ LC_ALL=C 83: ++ '[' -z x86_64 ']' 83: ++ '[' -z '' ']' 83: ++ TESTDIR=out/test/x86_64 -82: ++ testname=compressed-debug-info 83: ++ CC=cc 83: ++ CXX=c++ 83: ++ GCC=gcc @@ -6581,44 +6669,85 @@ 83: ++ OBJCOPY=objcopy 83: ++ STRIP=strip 83: ++ QEMU= -65: + readelf --dynamic out/test/x86_64/as-needed/exe -82: ++ t=out/test/x86_64/compressed-debug-info -82: ++ mkdir -p out/test/x86_64/compressed-debug-info -73: + cat -83: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/copyrel-alignment.sh .sh -73: + cc -o out/test/x86_64/canonical-plt/b.o -c -xc - -fPIC -65: + grep -F 'Shared library: [libfoo.so]' out/test/x86_64/as-needed/log -82: ++ case $MACHINE in +79: + cat +84: ++ testname=copyrel-norelro +84: ++ t=out/test/x86_64/copyrel-norelro +84: ++ mkdir -p out/test/x86_64/copyrel-norelro +78: + cc -fcommon -xc -c -o out/test/x86_64/common-ref/b.o - +81: ++ case $MACHINE in +81: ++ tlsdesc_opt=-mtls-dialect=gnu2 +78: + cat 77: + cat -82: ++ tlsdesc_opt=-mtls-dialect=gnu2 -75: mold: error: undefined symbol: foo +84: ++ case $MACHINE in +84: ++ tlsdesc_opt=-mtls-dialect=gnu2 +36: + out/test/x86_64/arch-x86_64-reloc/exe 82: +++ uname -72: + readelf -n out/test/x86_64/build-id/exe1 -65: 0x0000000000000001 (NEEDED) Shared library: [libfoo.so] -65: + grep -F 'Shared library: [libbar.so]' out/test/x86_64/as-needed/log -77: + cc -fcommon -xc -c -o out/test/x86_64/common-archive/b.o - -83: ++ testname=copyrel-alignment -83: ++ t=out/test/x86_64/copyrel-alignment -83: ++ mkdir -p out/test/x86_64/copyrel-alignment +81: +++ uname +36: + grep '^61$' +75: mold: error: undefined symbol: foo +81: ++ '[' Linux = FreeBSD ']' +81: ++ trap 'on_error $LINENO' ERR +81: ++ trap on_exit EXIT +81: ++ echo -n 'Testing compress-debug-sections ... ' +81: Testing compress-debug-sections ... ++ set -o pipefail +81: ++ set -x 82: ++ '[' Linux = FreeBSD ']' 82: ++ trap 'on_error $LINENO' ERR 82: ++ trap on_exit EXIT -65: 0x0000000000000001 (NEEDED) Shared library: [libbar.so] 82: ++ echo -n 'Testing compressed-debug-info ... ' 82: Testing compressed-debug-info ... ++ set -o pipefail 82: ++ set -x 82: + command -v dwarfdump +83: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/copyrel-alignment.sh .sh +84: +++ uname +36: 61 +81: + cat +84: ++ '[' Linux = FreeBSD ']' +84: ++ trap 'on_error $LINENO' ERR +84: ++ trap on_exit EXIT +84: ++ echo -n 'Testing copyrel-norelro ... ' +84: Testing copyrel-norelro ... ++ set -o pipefail +84: ++ set -x +84: + [[ x86_64 = ppc64* ]] +84: + [[ x86_64 = loongarch* ]] +36: + cat +81: + cc -c -g -o out/test/x86_64/compress-debug-sections/a.o -xc - 82: + c++ -c -o out/test/x86_64/compressed-debug-info/a.o -g -gz=zlib -xc++ - -65: + cc -B. -o out/test/x86_64/as-needed/exe out/test/x86_64/as-needed/a.o -Wl,--as-needed out/test/x86_64/as-needed/b.so out/test/x86_64/as-needed/c.so -72: + grep 'GNU.*0x00000014.*NT_GNU_BUILD_ID' +83: ++ testname=copyrel-alignment +83: ++ t=out/test/x86_64/copyrel-alignment +83: ++ mkdir -p out/test/x86_64/copyrel-alignment +84: + cc -o out/test/x86_64/copyrel-norelro/a.o -c -xc -fno-PIE - +72: + grep -E 'Build ID: ............4...[89abcdef]' 75: + not grep $'\E' -75: + grep $'\E' 75: + not ./mold -o out/test/x86_64/color-diagnostics/exe out/test/x86_64/color-diagnostics/a.o --color-diagnostics=never +75: + grep $'\E' +72: + readelf -nW out/test/x86_64/build-id/exe2 +84: + cat 82: + cat +36: + cc -c -o out/test/x86_64/arch-x86_64-reloc/e.o out/test/x86_64/arch-x86_64-reloc/e.c -mcmodel=large -fPIC +73: + cc -B. -no-pie -o out/test/x86_64/canonical-plt/exe out/test/x86_64/canonical-plt/a.so out/test/x86_64/canonical-plt/b.o out/test/x86_64/canonical-plt/c.o +72: GNU 0x00000010 NT_GNU_BUILD_ID (unique build ID bitstring) Build ID: a4ce5df9f5d64530bf7302f67b80d7cd +72: + cc -B. -o out/test/x86_64/build-id/exe3 out/test/x86_64/build-id/a.o -Wl,-build-id=md5 +76: + readelf -p .comment out/test/x86_64/comment/exe +76: + grep mold +79: + cat +79: + cc -fcommon -xc -c -o out/test/x86_64/common-symbols/b.o - +75: + return 0 +75: + not ./mold -o out/test/x86_64/color-diagnostics/exe out/test/x86_64/color-diagnostics/a.o --color-diagnostics=auto +75: + not grep $'\E' +75: + grep $'\E' +76: [ 0] mold 2.37.1 (compatible with GNU ld) 83: ++ case $MACHINE in 83: ++ tlsdesc_opt=-mtls-dialect=gnu2 +76: + grep -E '\.comment.*\bMS\b' +76: + readelf -SW out/test/x86_64/comment/exe +76: [27] .comment PROGBITS 0000000000000000 0008b8 000045 01 MS 0 0 1 +76: + on_exit +76: + echo OK +76: OK +76: + exit 0 + 73/402 Test #76: x86_64-comment ........................................ Passed 0.21 sec 83: +++ uname -72: GNU 0x00000014 NT_GNU_BUILD_ID (unique build ID bitstring) 83: ++ '[' Linux = FreeBSD ']' 83: ++ trap 'on_error $LINENO' ERR 83: ++ trap on_exit EXIT @@ -6628,44 +6757,13 @@ 83: + '[' x86_64 = ppc64 ']' 83: + '[' x86_64 = ppc64le ']' 83: + [[ x86_64 = loongarch* ]] -72: + cc -B. -o out/test/x86_64/build-id/exe2 out/test/x86_64/build-id/a.o -Wl,-build-id=uuid 83: + cat 83: + cc -fPIC -shared -o out/test/x86_64/copyrel-alignment/a.so -xc - 75: + return 0 -75: + not ./mold -o out/test/x86_64/color-diagnostics/exe out/test/x86_64/color-diagnostics/a.o --color-diagnostics=auto -75: + not grep $'\E' -75: + grep $'\E' -75: + return 0 75: + on_exit 75: + echo OK 75: OK 75: + exit 0 - 72/402 Test #75: x86_64-color-diagnostics .............................. Passed 0.16 sec -test 84 - Start 84: x86_64-copyrel-norelro - -84: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/copyrel-norelro.sh" -84: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -84: Environment variables: -84: MACHINE=x86_64 -84: CPU= -84: Test timeout computed to be: 1500 -71: + out/test/x86_64/bsymbolic/exe -71: + grep '3 4' -71: 3 4 -71: + on_exit -71: + echo OK -71: OK -71: + exit 0 -36: + out/test/x86_64/arch-x86_64-reloc/exe -36: + grep '^76$' -36: 76 -36: + cc -B. -o out/test/x86_64/arch-x86_64-reloc/exe out/test/x86_64/arch-x86_64-reloc/c.so out/test/x86_64/arch-x86_64-reloc/d.s -pie -78: + rm -f out/test/x86_64/common-ref/c.a -78: + ar rcs out/test/x86_64/common-ref/c.a out/test/x86_64/common-ref/b.o -79: + cc -B. -o out/test/x86_64/common-symbols/exe out/test/x86_64/common-symbols/a.o out/test/x86_64/common-symbols/b.o -81: + cc -B. -o out/test/x86_64/compress-debug-sections/exe out/test/x86_64/compress-debug-sections/a.o -Wl,--compress-debug-sections=zlib - 73/402 Test #71: x86_64-bsymbolic ...................................... Passed 0.33 sec test 85 Start 85: x86_64-copyrel-protected @@ -6675,25 +6773,18 @@ 85: MACHINE=x86_64 85: CPU= 85: Test timeout computed to be: 1500 -84: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/copyrel-norelro.sh -84: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -84: ++ export LC_ALL=C -84: ++ LC_ALL=C -84: ++ '[' -z x86_64 ']' -84: ++ '[' -z '' ']' -84: ++ TESTDIR=out/test/x86_64 -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/copyrel-norelro.sh .sh -84: ++ testname=copyrel-norelro -84: ++ t=out/test/x86_64/copyrel-norelro -84: ++ mkdir -p out/test/x86_64/copyrel-norelro + 74/402 Test #75: x86_64-color-diagnostics .............................. Passed 0.30 sec +test 86 + Start 86: x86_64-copyrel-relro + +86: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/copyrel-relro.sh" +86: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +86: Environment variables: +86: MACHINE=x86_64 +86: CPU= +86: Test timeout computed to be: 1500 +78: + rm -f out/test/x86_64/common-ref/c.a +77: + cc -fcommon -xc -c -o out/test/x86_64/common-archive/d.o - 85: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/copyrel-protected.sh 85: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 85: ++ export LC_ALL=C @@ -6709,69 +6800,6 @@ 85: ++ OBJCOPY=objcopy 85: ++ STRIP=strip 85: ++ QEMU= -85: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/copyrel-protected.sh .sh -85: ++ testname=copyrel-protected -85: ++ t=out/test/x86_64/copyrel-protected -85: ++ mkdir -p out/test/x86_64/copyrel-protected -77: + cat -77: + cc -fcommon -xc -c -o out/test/x86_64/common-archive/c.o - -78: + cat -78: + cc -fcommon -xc -c -o out/test/x86_64/common-ref/d.o - -73: + cat -73: + cc -o out/test/x86_64/canonical-plt/c.o -c -xc - -fno-PIC -84: ++ case $MACHINE in -85: ++ case $MACHINE in -85: ++ tlsdesc_opt=-mtls-dialect=gnu2 -72: + readelf -nW out/test/x86_64/build-id/exe2 -84: ++ tlsdesc_opt=-mtls-dialect=gnu2 -85: +++ uname -84: +++ uname -72: + grep -E 'Build ID: ............4...[89abcdef]' -84: ++ '[' Linux = FreeBSD ']' -84: ++ trap 'on_error $LINENO' ERR -84: ++ trap on_exit EXIT -84: ++ echo -n 'Testing copyrel-norelro ... ' -65: + readelf --dynamic out/test/x86_64/as-needed/exe -84: Testing copyrel-norelro ... ++ set -o pipefail -84: ++ set -x -84: + [[ x86_64 = ppc64* ]] -72: GNU 0x00000010 NT_GNU_BUILD_ID (unique build ID bitstring) Build ID: dc118a3b2daa4a009f4be2edf9647a32 -84: + [[ x86_64 = loongarch* ]] -84: + cat -72: + cc -B. -o out/test/x86_64/build-id/exe3 out/test/x86_64/build-id/a.o -Wl,-build-id=md5 -84: + cc -o out/test/x86_64/copyrel-norelro/a.o -c -xc -fno-PIE - -65: + grep -F 'Shared library: [libfoo.so]' out/test/x86_64/as-needed/log -65: 0x0000000000000001 (NEEDED) Shared library: [libfoo.so] -65: + not grep -F 'Shared library: [libbar.so]' out/test/x86_64/as-needed/log -85: ++ '[' Linux = FreeBSD ']' -85: ++ trap 'on_error $LINENO' ERR -85: ++ trap on_exit EXIT -85: ++ echo -n 'Testing copyrel-protected ... ' -85: Testing copyrel-protected ... ++ set -o pipefail -85: ++ set -x -85: + '[' x86_64 = ppc64 ']' -85: + '[' x86_64 = ppc64le ']' -85: + [[ x86_64 = loongarch* ]] -85: + cat -85: + cc -o out/test/x86_64/copyrel-protected/a.o -c -xc -fno-PIE - -65: + grep -F 'Shared library: [libbar.so]' out/test/x86_64/as-needed/log -82: + cat -82: + c++ -c -o out/test/x86_64/compressed-debug-info/b.o -g -gz=zlib -xc++ - -65: + return 0 -65: + on_exit -65: + echo OK -65: OK -65: + exit 0 - 74/402 Test #65: x86_64-as-needed ...................................... Passed 0.55 sec -test 86 - Start 86: x86_64-copyrel-relro - -86: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/copyrel-relro.sh" -86: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -86: Environment variables: -86: MACHINE=x86_64 -86: CPU= -86: Test timeout computed to be: 1500 86: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/copyrel-relro.sh 86: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 86: ++ export LC_ALL=C @@ -6787,48 +6815,40 @@ 86: ++ OBJCOPY=objcopy 86: ++ STRIP=strip 86: ++ QEMU= +85: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/copyrel-protected.sh .sh +85: ++ testname=copyrel-protected +85: ++ t=out/test/x86_64/copyrel-protected +85: ++ mkdir -p out/test/x86_64/copyrel-protected +84: + cat +77: + cat +78: + ar rcs out/test/x86_64/common-ref/c.a out/test/x86_64/common-ref/b.o +84: + cc -B. -fPIC -shared -o out/test/x86_64/copyrel-norelro/b.so -xc - +85: ++ case $MACHINE in +85: ++ tlsdesc_opt=-mtls-dialect=gnu2 86: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/copyrel-relro.sh .sh 86: ++ testname=copyrel-relro 86: ++ t=out/test/x86_64/copyrel-relro 86: ++ mkdir -p out/test/x86_64/copyrel-relro +73: + grep '^1 1 1$' +73: + out/test/x86_64/canonical-plt/exe +73: 1 1 1 +73: + on_exit +73: + echo OK +73: OK +73: + exit 0 86: ++ case $MACHINE in 86: ++ tlsdesc_opt=-mtls-dialect=gnu2 -81: + readelf -WS out/test/x86_64/compress-debug-sections/exe 86: +++ uname -78: + rm -f out/test/x86_64/common-ref/e.a -77: + cat -72: + readelf -n out/test/x86_64/build-id/exe3 86: ++ '[' Linux = FreeBSD ']' 86: ++ trap 'on_error $LINENO' ERR 86: ++ trap on_exit EXIT 86: ++ echo -n 'Testing copyrel-relro ... ' 86: Testing copyrel-relro ... ++ set -o pipefail 86: ++ set -x -72: + grep 'GNU.*0x00000010.*NT_GNU_BUILD_ID' -86: + cat -77: + cc -fcommon -xc -c -o out/test/x86_64/common-archive/d.o - -81: + grep '\.debug_info .* [Cx] ' out/test/x86_64/compress-debug-sections/log -79: + out/test/x86_64/common-symbols/exe -83: + cat -83: + cc -fPIC -shared -o out/test/x86_64/copyrel-alignment/b.so -xc - -72: GNU 0x00000010 NT_GNU_BUILD_ID (unique build ID bitstring) -72: + cc -B. -o out/test/x86_64/build-id/exe4 out/test/x86_64/build-id/a.o -Wl,-build-id=sha1 -78: + ar rcs out/test/x86_64/common-ref/e.a out/test/x86_64/common-ref/d.o -36: + grep '^76$' -36: + out/test/x86_64/arch-x86_64-reloc/exe -79: + grep '0 5 42' -79: 0 5 42 -79: + readelf --sections out/test/x86_64/common-symbols/exe -73: + cc -B. -no-pie -o out/test/x86_64/canonical-plt/exe out/test/x86_64/canonical-plt/a.so out/test/x86_64/canonical-plt/b.o out/test/x86_64/canonical-plt/c.o -81: [33] .debug_info PROGBITS 0000000000000000 000a51 000078 00 C 0 0 1 -81: + grep '\.debug_str .* MS[Cx] ' out/test/x86_64/compress-debug-sections/log 86: + cc -o out/test/x86_64/copyrel-relro/a.o -c -xc -fno-PIE - -81: [36] .debug_str PROGBITS 0000000000000000 000b98 00009f 01 MSC 0 0 1 -81: + on_exit -81: + echo OK -81: OK -81: + exit 0 - 75/402 Test #81: x86_64-compress-debug-sections ........................ Passed 0.19 sec +86: + cat +85: +++ uname + 75/402 Test #73: x86_64-canonical-plt .................................. Passed 0.46 sec test 87 Start 87: x86_64-copyrel-relro2 @@ -6838,20 +6858,18 @@ 87: MACHINE=x86_64 87: CPU= 87: Test timeout computed to be: 1500 -84: + cat -36: 76 -36: + cat -78: + cc -B. -o out/test/x86_64/common-ref/exe out/test/x86_64/common-ref/a.o out/test/x86_64/common-ref/c.a out/test/x86_64/common-ref/e.a -79: + grep '.common .*NOBITS' out/test/x86_64/common-symbols/log -84: + cc -B. -fPIC -shared -o out/test/x86_64/copyrel-norelro/b.so -xc - -79: [30] .common NOBITS 0000000000003994 00000990 -36: + cc -B. -o out/test/x86_64/arch-x86_64-reloc/exe out/test/x86_64/arch-x86_64-reloc/c.so out/test/x86_64/arch-x86_64-reloc/d.s +85: ++ '[' Linux = FreeBSD ']' +85: ++ trap 'on_error $LINENO' ERR +85: ++ trap on_exit EXIT +85: ++ echo -n 'Testing copyrel-protected ... ' +85: Testing copyrel-protected ... ++ set -o pipefail +85: ++ set -x +85: + '[' x86_64 = ppc64 ']' +85: + '[' x86_64 = ppc64le ']' +85: + [[ x86_64 = loongarch* ]] +85: + cat +85: + cc -o out/test/x86_64/copyrel-protected/a.o -c -xc -fno-PIE - 87: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/copyrel-relro2.sh -79: + on_exit -79: + echo OK -79: OK -79: + exit 0 - 76/402 Test #79: x86_64-common-symbols ................................. Passed 0.24 sec 87: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 87: ++ export LC_ALL=C 87: ++ LC_ALL=C @@ -6866,27 +6884,29 @@ 87: ++ OBJCOPY=objcopy 87: ++ STRIP=strip 87: ++ QEMU= +78: + cc -fcommon -xc -c -o out/test/x86_64/common-ref/d.o - 87: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/copyrel-relro2.sh .sh -test 88 - Start 88: x86_64-copyrel - -88: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/copyrel.sh" -88: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -88: Environment variables: -88: MACHINE=x86_64 -88: CPU= -88: Test timeout computed to be: 1500 87: ++ testname=copyrel-relro2 87: ++ t=out/test/x86_64/copyrel-relro2 87: ++ mkdir -p out/test/x86_64/copyrel-relro2 +78: + cat +72: + readelf -n out/test/x86_64/build-id/exe3 +77: + rm -f out/test/x86_64/common-archive/e.a +79: + cc -B. -o out/test/x86_64/common-symbols/exe out/test/x86_64/common-symbols/a.o out/test/x86_64/common-symbols/b.o +77: + ar rcs out/test/x86_64/common-archive/e.a out/test/x86_64/common-archive/b.o out/test/x86_64/common-archive/c.o out/test/x86_64/common-archive/d.o +81: + cc -B. -o out/test/x86_64/compress-debug-sections/exe out/test/x86_64/compress-debug-sections/a.o -Wl,--compress-debug-sections=zlib +36: + cc -B. -o out/test/x86_64/arch-x86_64-reloc/exe out/test/x86_64/arch-x86_64-reloc/c.so out/test/x86_64/arch-x86_64-reloc/e.o 87: ++ case $MACHINE in 87: ++ tlsdesc_opt=-mtls-dialect=gnu2 +86: + cc -fPIC -shared -o out/test/x86_64/copyrel-relro/b.so -xc - +86: + cat +82: + cat +72: + grep 'GNU.*0x00000010.*NT_GNU_BUILD_ID' +82: + c++ -c -o out/test/x86_64/compressed-debug-info/b.o -g -gz=zlib -xc++ - +72: GNU 0x00000010 NT_GNU_BUILD_ID (unique build ID bitstring) +72: + cc -B. -o out/test/x86_64/build-id/exe4 out/test/x86_64/build-id/a.o -Wl,-build-id=sha1 +77: + cc -B. -o out/test/x86_64/common-archive/exe out/test/x86_64/common-archive/a.o out/test/x86_64/common-archive/e.a 87: +++ uname -85: + cat -85: + cc -shared -o out/test/x86_64/copyrel-protected/b.so -xc - -77: + rm -f out/test/x86_64/common-archive/e.a -77: + ar rcs out/test/x86_64/common-archive/e.a out/test/x86_64/common-archive/b.o out/test/x86_64/common-archive/c.o out/test/x86_64/common-archive/d.o -82: + cc -B. -o out/test/x86_64/compressed-debug-info/exe out/test/x86_64/compressed-debug-info/a.o out/test/x86_64/compressed-debug-info/b.o 87: ++ '[' Linux = FreeBSD ']' 87: ++ trap 'on_error $LINENO' ERR 87: ++ trap on_exit EXIT @@ -6895,11 +6915,61 @@ 87: ++ set -x 87: + cat 87: + cc -o out/test/x86_64/copyrel-relro2/a.o -c -xc -fno-PIE - +85: + cat +85: + cc -shared -o out/test/x86_64/copyrel-protected/b.so -xc - +78: + rm -f out/test/x86_64/common-ref/e.a +83: + cc -fPIC -shared -o out/test/x86_64/copyrel-alignment/b.so -xc - +78: + ar rcs out/test/x86_64/common-ref/e.a out/test/x86_64/common-ref/d.o +78: + cc -B. -o out/test/x86_64/common-ref/exe out/test/x86_64/common-ref/a.o out/test/x86_64/common-ref/c.a out/test/x86_64/common-ref/e.a +83: + cat +84: + cc -B. out/test/x86_64/copyrel-norelro/a.o out/test/x86_64/copyrel-norelro/b.so -o out/test/x86_64/copyrel-norelro/exe1 -no-pie -Wl,-z,relro +82: + cc -B. -o out/test/x86_64/compressed-debug-info/exe out/test/x86_64/compressed-debug-info/a.o out/test/x86_64/compressed-debug-info/b.o +79: + grep '0 5 42' +85: + not cc -B. out/test/x86_64/copyrel-protected/a.o out/test/x86_64/copyrel-protected/b.so -o out/test/x86_64/copyrel-protected/exe -no-pie +85: + grep -F 'cannot create a copy relocation for protected symbol' +36: + grep '^56000003$' +79: + out/test/x86_64/common-symbols/exe +79: 0 5 42 +79: + readelf --sections out/test/x86_64/common-symbols/exe +36: + out/test/x86_64/arch-x86_64-reloc/exe +36: 56000003 +36: + cat +36: + cc -c -o out/test/x86_64/arch-x86_64-reloc/f.o out/test/x86_64/arch-x86_64-reloc/f.s +86: + cc -B. out/test/x86_64/copyrel-relro/a.o out/test/x86_64/copyrel-relro/b.so -o out/test/x86_64/copyrel-relro/exe -no-pie +81: + readelf -WS out/test/x86_64/compress-debug-sections/exe +81: + grep '\.debug_info .* [Cx] ' out/test/x86_64/compress-debug-sections/log +81: [33] .debug_info PROGBITS 0000000000000000 000a51 000078 00 C 0 0 1 +79: + grep '.common .*NOBITS' out/test/x86_64/common-symbols/log +79: [30] .common NOBITS 0000000000003994 00000990 +79: + on_exit +79: + echo OK +79: OK +79: + exit 0 +81: + grep '\.debug_str .* MS[Cx] ' out/test/x86_64/compress-debug-sections/log + 76/402 Test #79: x86_64-common-symbols ................................. Passed 0.51 sec +test 88 + Start 88: x86_64-copyrel + +88: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/copyrel.sh" +88: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +88: Environment variables: +88: MACHINE=x86_64 +88: CPU= +88: Test timeout computed to be: 1500 +81: [36] .debug_str PROGBITS 0000000000000000 000b98 00009f 01 MSC 0 0 1 +81: + on_exit +81: + echo OK +81: OK +81: + exit 0 +36: + cc -B. -o out/test/x86_64/arch-x86_64-reloc/exe out/test/x86_64/arch-x86_64-reloc/f.o +72: + grep 'GNU.*0x00000014.*NT_GNU_BUILD_ID' +82: + dwarfdump out/test/x86_64/compressed-debug-info/exe +72: + readelf -n out/test/x86_64/build-id/exe4 88: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/copyrel.sh -77: + cc -B. -o out/test/x86_64/common-archive/exe out/test/x86_64/common-archive/a.o out/test/x86_64/common-archive/e.a 88: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 88: ++ export LC_ALL=C 88: ++ LC_ALL=C + 77/402 Test #81: x86_64-compress-debug-sections ........................ Passed 0.49 sec 88: ++ '[' -z x86_64 ']' 88: ++ '[' -z '' ']' 88: ++ TESTDIR=out/test/x86_64 @@ -6911,42 +6981,6 @@ 88: ++ OBJCOPY=objcopy 88: ++ STRIP=strip 88: ++ QEMU= -88: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/copyrel.sh .sh -88: ++ testname=copyrel -88: ++ t=out/test/x86_64/copyrel -88: ++ mkdir -p out/test/x86_64/copyrel -88: ++ case $MACHINE in -88: ++ tlsdesc_opt=-mtls-dialect=gnu2 -88: +++ uname -88: ++ '[' Linux = FreeBSD ']' -88: ++ trap 'on_error $LINENO' ERR -88: ++ trap on_exit EXIT -88: ++ echo -n 'Testing copyrel ... ' -88: Testing copyrel ... ++ set -o pipefail -88: ++ set -x -88: + cat -83: + cc -fPIC -shared -o out/test/x86_64/copyrel-alignment/c.so -xc - -83: + cat -88: + cc -fno-PIC -o out/test/x86_64/copyrel/a.o -c -xc - -72: + readelf -n out/test/x86_64/build-id/exe4 -72: + grep 'GNU.*0x00000014.*NT_GNU_BUILD_ID' -86: + cat -86: + cc -fPIC -shared -o out/test/x86_64/copyrel-relro/b.so -xc - -73: + out/test/x86_64/canonical-plt/exe -73: + grep '^1 1 1$' -72: GNU 0x00000014 NT_GNU_BUILD_ID (unique build ID bitstring) -72: + cc -B. -o out/test/x86_64/build-id/exe5 out/test/x86_64/build-id/a.o -Wl,-build-id=sha256 -85: + not cc -B. out/test/x86_64/copyrel-protected/a.o out/test/x86_64/copyrel-protected/b.so -o out/test/x86_64/copyrel-protected/exe -no-pie -87: + cc -B. -fPIC -shared -o out/test/x86_64/copyrel-relro2/b.so -xc - -85: + grep -F 'cannot create a copy relocation for protected symbol' -87: + cat -73: 1 1 1 -73: + on_exit -73: + echo OK -36: + out/test/x86_64/arch-x86_64-reloc/exe -73: OK -73: + exit 0 - 77/402 Test #73: x86_64-canonical-plt .................................. Passed 0.38 sec test 89 Start 89: x86_64-ctors-in-init-array @@ -6956,17 +6990,11 @@ 89: MACHINE=x86_64 89: CPU= 89: Test timeout computed to be: 1500 -36: + grep '^26$' +88: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/copyrel.sh .sh +72: GNU 0x00000014 NT_GNU_BUILD_ID (unique build ID bitstring) +72: + cc -B. -o out/test/x86_64/build-id/exe5 out/test/x86_64/build-id/a.o -Wl,-build-id=sha256 77: + out/test/x86_64/common-archive/exe -77: + grep '5 0 0 -1' -77: 5 0 0 -1 -77: + cat -77: + cc -fcommon -xc -c -o out/test/x86_64/common-archive/f.o - -78: + out/test/x86_64/common-ref/exe -82: + dwarfdump out/test/x86_64/compressed-debug-info/exe -78: + grep 5 -36: 26 -36: + cat +82: + readelf --sections out/test/x86_64/compressed-debug-info/exe 89: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/ctors-in-init-array.sh 89: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 89: ++ export LC_ALL=C @@ -6983,16 +7011,22 @@ 89: ++ STRIP=strip 89: ++ QEMU= 89: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/ctors-in-init-array.sh .sh -36: + cc -B. -o out/test/x86_64/arch-x86_64-reloc/exe out/test/x86_64/arch-x86_64-reloc/c.so out/test/x86_64/arch-x86_64-reloc/d.s -78: 5 -78: + on_exit -78: + echo OK -78: OK -78: + exit 0 89: ++ testname=ctors-in-init-array 89: ++ t=out/test/x86_64/ctors-in-init-array 89: ++ mkdir -p out/test/x86_64/ctors-in-init-array - 78/402 Test #78: x86_64-common-ref ..................................... Passed 0.31 sec +88: ++ testname=copyrel +88: ++ t=out/test/x86_64/copyrel +88: ++ mkdir -p out/test/x86_64/copyrel +82: + grep -F .debug_info +77: + grep '5 0 0 -1' +77: 5 0 0 -1 +82: [30] .debug_info PROGBITS 0000000000000000 00000a07 +82: + on_exit +82: + echo OK +82: OK +82: + exit 0 +77: + cc -fcommon -xc -c -o out/test/x86_64/common-archive/f.o - + 78/402 Test #82: x86_64-compressed-debug-info .......................... Passed 0.48 sec test 90 Start 90: x86_64-dead-debug-sections @@ -7004,33 +7038,27 @@ 90: Test timeout computed to be: 1500 89: ++ case $MACHINE in 89: ++ tlsdesc_opt=-mtls-dialect=gnu2 +77: + cat +88: ++ case $MACHINE in +88: ++ tlsdesc_opt=-mtls-dialect=gnu2 89: +++ uname +88: +++ uname 89: ++ '[' Linux = FreeBSD ']' 89: ++ trap 'on_error $LINENO' ERR 89: ++ trap on_exit EXIT 89: ++ echo -n 'Testing ctors-in-init-array ... ' 89: Testing ctors-in-init-array ... ++ set -o pipefail 89: ++ set -x +88: ++ '[' Linux = FreeBSD ']' +88: ++ trap 'on_error $LINENO' ERR +88: ++ trap on_exit EXIT +88: ++ echo -n 'Testing copyrel ... ' +88: Testing copyrel ... ++ set -o pipefail +88: ++ set -x 89: + cc -o out/test/x86_64/ctors-in-init-array/a.o -c -xc - 89: + cat -82: + readelf --sections out/test/x86_64/compressed-debug-info/exe -82: + grep -F .debug_info +88: + cc -fno-PIC -o out/test/x86_64/copyrel/a.o -c -xc - 90: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/dead-debug-sections.sh -82: [30] .debug_info PROGBITS 0000000000000000 00000a07 -82: + on_exit -82: + echo OK -82: OK -82: + exit 0 - 79/402 Test #82: x86_64-compressed-debug-info .......................... Passed 0.25 sec -test 91 - Start 91: x86_64-debug-macro-section - -91: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/debug-macro-section.sh" -91: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -91: Environment variables: -91: MACHINE=x86_64 -91: CPU= -91: Test timeout computed to be: 1500 90: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 90: ++ export LC_ALL=C 90: ++ LC_ALL=C @@ -7045,21 +7073,57 @@ 90: ++ OBJCOPY=objcopy 90: ++ STRIP=strip 90: ++ QEMU= -90: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/dead-debug-sections.sh .sh 88: + cat -88: + cc -fno-PIC -o out/test/x86_64/copyrel/b.o -c -xc - +90: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/dead-debug-sections.sh .sh 90: ++ testname=dead-debug-sections 90: ++ t=out/test/x86_64/dead-debug-sections 90: ++ mkdir -p out/test/x86_64/dead-debug-sections +83: + cc -fPIC -shared -o out/test/x86_64/copyrel-alignment/c.so -xc - +85: mold: error: out/test/x86_64/copyrel-protected/b.so: cannot create a copy relocation for protected symbol 'foo'; recompile with -fPIC +85: + on_exit +85: + echo OK +85: OK +85: + exit 0 + 79/402 Test #85: x86_64-copyrel-protected .............................. Passed 0.33 sec +test 91 + Start 91: x86_64-debug-macro-section + +91: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/debug-macro-section.sh" +91: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +91: Environment variables: +91: MACHINE=x86_64 +91: CPU= +91: Test timeout computed to be: 1500 +36: + readelf -x .foo -x .bar out/test/x86_64/arch-x86_64-reloc/exe +36: + grep -F '0x00000010 00000000 00000000 10000000 00000000' out/test/x86_64/arch-x86_64-reloc/log 90: ++ case $MACHINE in -91: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/debug-macro-section.sh 90: ++ tlsdesc_opt=-mtls-dialect=gnu2 -84: + cc -B. out/test/x86_64/copyrel-norelro/a.o out/test/x86_64/copyrel-norelro/b.so -o out/test/x86_64/copyrel-norelro/exe1 -no-pie -Wl,-z,relro 90: +++ uname +36: 0x00000010 00000000 00000000 10000000 00000000 ................ +36: + grep -F '0x00000010 18000000 00000000' out/test/x86_64/arch-x86_64-reloc/log +90: ++ '[' Linux = FreeBSD ']' +90: ++ trap 'on_error $LINENO' ERR +90: ++ trap on_exit EXIT +90: ++ echo -n 'Testing dead-debug-sections ... ' +90: Testing dead-debug-sections ... ++ set -o pipefail +90: ++ set -x +90: + command -v dwarfdump +90: + c++ -c -o out/test/x86_64/dead-debug-sections/a.o -g -xc++ - +36: 0x00000010 18000000 00000000 ........ +36: + on_exit +36: + echo OK +36: OK +36: + exit 0 +83: + cat +90: + cat +87: + cat +87: + cc -B. -fPIC -shared -o out/test/x86_64/copyrel-relro2/b.so -xc - +91: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/debug-macro-section.sh 91: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 91: ++ export LC_ALL=C 91: ++ LC_ALL=C 91: ++ '[' -z x86_64 ']' +84: + grep -F .copyrel.rel.ro 91: ++ '[' -z '' ']' 91: ++ TESTDIR=out/test/x86_64 91: ++ CC=cc @@ -7070,32 +7134,26 @@ 91: ++ OBJCOPY=objcopy 91: ++ STRIP=strip 91: ++ QEMU= -90: ++ '[' Linux = FreeBSD ']' 91: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/debug-macro-section.sh .sh -90: ++ trap 'on_error $LINENO' ERR -90: ++ trap on_exit EXIT -90: ++ echo -n 'Testing dead-debug-sections ... ' -90: Testing dead-debug-sections ... ++ set -o pipefail -90: ++ set -x -90: + command -v dwarfdump -90: + cat -90: + c++ -c -o out/test/x86_64/dead-debug-sections/a.o -g -xc++ - -72: + readelf -n out/test/x86_64/build-id/exe5 -72: + grep 'GNU.*0x00000020.*NT_GNU_BUILD_ID' +84: + readelf -W --sections out/test/x86_64/copyrel-norelro/exe1 91: ++ testname=debug-macro-section 91: ++ t=out/test/x86_64/debug-macro-section 91: ++ mkdir -p out/test/x86_64/debug-macro-section + 80/402 Test #36: x86_64-arch-x86_64-reloc .............................. Passed 1.93 sec +84: [23] .copyrel.rel.ro NOBITS 00000000002028e0 0008e0 000064 00 WA 0 0 32 +84: + cc -B. out/test/x86_64/copyrel-norelro/a.o out/test/x86_64/copyrel-norelro/b.so -o out/test/x86_64/copyrel-norelro/exe2 -no-pie -Wl,-z,norelro +test 92 + Start 92: x86_64-default-symver + +92: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/default-symver.sh" +92: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +92: Environment variables: +92: MACHINE=x86_64 +92: CPU= +92: Test timeout computed to be: 1500 91: ++ case $MACHINE in 91: ++ tlsdesc_opt=-mtls-dialect=gnu2 -77: + rm -f out/test/x86_64/common-archive/f.a -77: + ar rcs out/test/x86_64/common-archive/f.a out/test/x86_64/common-archive/b.o out/test/x86_64/common-archive/f.o -85: mold: error: out/test/x86_64/copyrel-protected/b.so: cannot create a copy relocation for protected symbol 'foo'; recompile with -fPIC 91: +++ uname -85: + on_exit -85: + echo OK -85: OK -85: + exit 0 - 80/402 Test #85: x86_64-copyrel-protected .............................. Passed 0.20 sec 91: ++ '[' Linux = FreeBSD ']' 91: ++ trap 'on_error $LINENO' ERR 91: ++ trap on_exit EXIT @@ -7103,20 +7161,28 @@ 91: Testing debug-macro-section ... ++ set -o pipefail 91: ++ set -x 91: + cat +91: + gcc -o out/test/x86_64/debug-macro-section/b.o -c -xc - -Iout/test/x86_64/debug-macro-section -g3 +91: + cat +91: + gcc -o out/test/x86_64/debug-macro-section/c.o -c -xc - -Iout/test/x86_64/debug-macro-section -g3 +78: + out/test/x86_64/common-ref/exe +78: + grep 5 +78: 5 +78: + on_exit +78: + echo OK +78: OK +78: + exit 0 +77: + rm -f out/test/x86_64/common-archive/f.a +77: + ar rcs out/test/x86_64/common-archive/f.a out/test/x86_64/common-archive/b.o out/test/x86_64/common-archive/f.o +89: + cat +89: + cc -o out/test/x86_64/ctors-in-init-array/b.o -c -xc - +90: + c++ -c -o out/test/x86_64/dead-debug-sections/b.o -g -xc++ - +90: + cat +72: + readelf -n out/test/x86_64/build-id/exe5 +72: + grep 'GNU.*0x00000020.*NT_GNU_BUILD_ID' 72: GNU 0x00000020 NT_GNU_BUILD_ID (unique build ID bitstring) 72: + cc -B. -o out/test/x86_64/build-id/exe6 out/test/x86_64/build-id/a.o -Wl,-build-id=fast -test 92 - Start 92: x86_64-default-symver - -92: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/default-symver.sh" -92: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -92: Environment variables: -92: MACHINE=x86_64 -92: CPU= -92: Test timeout computed to be: 1500 +86: + out/test/x86_64/copyrel-relro/exe 92: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/default-symver.sh -77: + cc -B. -o out/test/x86_64/common-archive/exe out/test/x86_64/common-archive/a.o out/test/x86_64/common-archive/f.a -91: + gcc -o out/test/x86_64/debug-macro-section/b.o -c -xc - -Iout/test/x86_64/debug-macro-section -g3 92: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 92: ++ export LC_ALL=C 92: ++ LC_ALL=C @@ -7131,18 +7197,39 @@ 92: ++ OBJCOPY=objcopy 92: ++ STRIP=strip 92: ++ QEMU= + 81/402 Test #78: x86_64-common-ref ..................................... Passed 0.60 sec +86: + grep '^sigsegv 0 1$' +test 93 + Start 93: x86_64-defsym-lto + +93: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/defsym-lto.sh" +93: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +93: Environment variables: +93: MACHINE=x86_64 +93: CPU= +93: Test timeout computed to be: 1500 +86: sigsegv 0 1 +86: + on_exit +86: + echo OK +86: OK +86: + exit 0 91: + cat 92: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/default-symver.sh .sh -83: + cat -83: + cc -fno-PIE -o out/test/x86_64/copyrel-alignment/d.o -c -xc - -87: + cc -B. out/test/x86_64/copyrel-relro2/a.o out/test/x86_64/copyrel-relro2/b.so -o out/test/x86_64/copyrel-relro2/exe -no-pie 92: ++ testname=default-symver 92: ++ t=out/test/x86_64/default-symver 92: ++ mkdir -p out/test/x86_64/default-symver -89: + cat -89: + cc -o out/test/x86_64/ctors-in-init-array/b.o -c -xc - + 82/402 Test #86: x86_64-copyrel-relro .................................. Passed 0.37 sec 92: ++ case $MACHINE in 92: ++ tlsdesc_opt=-mtls-dialect=gnu2 +test 94 + Start 94: x86_64-defsym-missing-symbol + +94: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/defsym-missing-symbol.sh" +94: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +94: Environment variables: +94: MACHINE=x86_64 +94: CPU= +94: Test timeout computed to be: 1500 92: +++ uname 92: ++ '[' Linux = FreeBSD ']' 92: ++ trap 'on_error $LINENO' ERR @@ -7152,48 +7239,7 @@ 92: ++ set -x 92: + cat 92: + cc -o out/test/x86_64/default-symver/a.o -c -xc - -86: + cc -B. out/test/x86_64/copyrel-relro/a.o out/test/x86_64/copyrel-relro/b.so -o out/test/x86_64/copyrel-relro/exe -no-pie -36: + grep '^61$' -36: + out/test/x86_64/arch-x86_64-reloc/exe -36: 61 -36: + cat -88: + cat -88: + cc -fPIC -o out/test/x86_64/copyrel/c.o -c -xc - -90: + c++ -c -o out/test/x86_64/dead-debug-sections/b.o -g -xc++ - -90: + cat -36: + cc -c -o out/test/x86_64/arch-x86_64-reloc/e.o out/test/x86_64/arch-x86_64-reloc/e.c -mcmodel=large -fPIC -91: + gcc -o out/test/x86_64/debug-macro-section/c.o -c -xc - -Iout/test/x86_64/debug-macro-section -g3 -91: + cat -77: + out/test/x86_64/common-archive/exe -72: + readelf -n out/test/x86_64/build-id/exe6 -83: + cc -B. -o out/test/x86_64/copyrel-alignment/exe1 out/test/x86_64/copyrel-alignment/d.o out/test/x86_64/copyrel-alignment/a.so -no-pie -77: + grep '5 0 7 2' -72: + grep 'GNU.*0x00000020.*NT_GNU_BUILD_ID' -84: + readelf -W --sections out/test/x86_64/copyrel-norelro/exe1 -84: + grep -F .copyrel.rel.ro -77: 5 0 7 2 -77: + on_exit -77: + echo OK -77: OK -77: + exit 0 -72: GNU 0x00000020 NT_GNU_BUILD_ID (unique build ID bitstring) -72: + cc -B. -o out/test/x86_64/build-id/exe7 out/test/x86_64/build-id/a.o -Wl,-build-id=0xdeadbeefdeadbeef - 81/402 Test #77: x86_64-common-archive ................................. Passed 0.40 sec -test 93 - Start 93: x86_64-defsym-lto - -93: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/defsym-lto.sh" -93: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -93: Environment variables: -93: MACHINE=x86_64 -93: CPU= -93: Test timeout computed to be: 1500 -84: [23] .copyrel.rel.ro NOBITS 00000000002028e0 0008e0 000064 00 WA 0 0 32 -84: + cc -B. out/test/x86_64/copyrel-norelro/a.o out/test/x86_64/copyrel-norelro/b.so -o out/test/x86_64/copyrel-norelro/exe2 -no-pie -Wl,-z,norelro -89: + cc -B. -o out/test/x86_64/ctors-in-init-array/exe out/test/x86_64/ctors-in-init-array/a.o out/test/x86_64/ctors-in-init-array/b.o -88: + cc -B. -shared -o out/test/x86_64/copyrel/c.so out/test/x86_64/copyrel/c.o -87: + out/test/x86_64/copyrel-relro2/exe -87: + grep '^sigsegv 0 1$' +77: + cc -B. -o out/test/x86_64/common-archive/exe out/test/x86_64/common-archive/a.o out/test/x86_64/common-archive/f.a 93: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/defsym-lto.sh 93: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 93: ++ export LC_ALL=C @@ -7209,30 +7255,13 @@ 93: ++ OBJCOPY=objcopy 93: ++ STRIP=strip 93: ++ QEMU= -87: sigsegv 0 1 -87: + on_exit -87: + echo OK -87: OK -87: + exit 0 93: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/defsym-lto.sh .sh - 82/402 Test #87: x86_64-copyrel-relro2 ................................. Passed 0.14 sec 93: ++ testname=defsym-lto 93: ++ t=out/test/x86_64/defsym-lto 93: ++ mkdir -p out/test/x86_64/defsym-lto -test 94 - Start 94: x86_64-defsym-missing-symbol - -94: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/defsym-missing-symbol.sh" -94: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -94: Environment variables: -94: MACHINE=x86_64 -94: CPU= -94: Test timeout computed to be: 1500 93: ++ case $MACHINE in 93: ++ tlsdesc_opt=-mtls-dialect=gnu2 93: +++ uname -92: + cc -B. -o out/test/x86_64/default-symver/b.so -shared out/test/x86_64/default-symver/a.o -Wl,-default-symver -94: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/defsym-missing-symbol.sh 93: ++ '[' Linux = FreeBSD ']' 93: ++ trap 'on_error $LINENO' ERR 93: ++ trap on_exit EXIT @@ -7240,8 +7269,15 @@ 93: Testing defsym-lto ... ++ set -o pipefail 93: ++ set -x 93: + test_cflags -flto -93: + echo 'int main() {}' 93: + cc -B. -flto -o /dev/null -xc - +72: + readelf -n out/test/x86_64/build-id/exe6 +72: + grep 'GNU.*0x00000020.*NT_GNU_BUILD_ID' +72: GNU 0x00000020 NT_GNU_BUILD_ID (unique build ID bitstring) +72: + cc -B. -o out/test/x86_64/build-id/exe7 out/test/x86_64/build-id/a.o -Wl,-build-id=0xdeadbeefdeadbeef +88: + cc -fno-PIC -o out/test/x86_64/copyrel/b.o -c -xc - +88: + cat +92: + cc -B. -o out/test/x86_64/default-symver/b.so -shared out/test/x86_64/default-symver/a.o -Wl,-default-symver +94: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/defsym-missing-symbol.sh 94: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 94: ++ export LC_ALL=C 94: ++ LC_ALL=C @@ -7256,73 +7292,39 @@ 94: ++ OBJCOPY=objcopy 94: ++ STRIP=strip 94: ++ QEMU= -94: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/defsym-missing-symbol.sh .sh -94: ++ testname=defsym-missing-symbol -94: ++ t=out/test/x86_64/defsym-missing-symbol -94: ++ mkdir -p out/test/x86_64/defsym-missing-symbol -94: ++ case $MACHINE in -94: ++ tlsdesc_opt=-mtls-dialect=gnu2 -94: +++ uname -94: ++ '[' Linux = FreeBSD ']' -94: ++ trap 'on_error $LINENO' ERR -86: + out/test/x86_64/copyrel-relro/exe -86: + grep '^sigsegv 0 1$' -94: ++ trap on_exit EXIT -94: ++ echo -n 'Testing defsym-missing-symbol ... ' -94: Testing defsym-missing-symbol ... ++ set -o pipefail -94: ++ set -x -94: + cat -94: + cc -o out/test/x86_64/defsym-missing-symbol/a.o -c -xc - -86: sigsegv 0 1 -86: + on_exit -86: + echo OK -86: OK -86: + exit 0 - 83/402 Test #86: x86_64-copyrel-relro .................................. Passed 0.22 sec -test 95 - Start 95: x86_64-defsym - -95: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/defsym.sh" -95: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -95: Environment variables: -95: MACHINE=x86_64 -95: CPU= -95: Test timeout computed to be: 1500 -89: + out/test/x86_64/ctors-in-init-array/exe -89: + grep 'ctor1 init1 ctor2 ctor3 ctor4 init2 fini2 dtor1 dtor2 dtor3 fini1 dtor4' -89: ctor1 init1 ctor2 ctor3 ctor4 init2 fini2 dtor1 dtor2 dtor3 fini1 dtor4 -89: + on_exit -89: + echo OK -89: OK -89: + exit 0 -83: + out/test/x86_64/copyrel-alignment/exe1 -83: + readelf -W --sections out/test/x86_64/copyrel-alignment/exe1 -83: + grep '\.copyrel.* 32$' -72: + grep 'Build ID: deadbeefdeadbeef' -72: + readelf -n out/test/x86_64/build-id/exe7 -72: Build ID: deadbeefdeadbeef -92: + readelf --dyn-syms out/test/x86_64/default-symver/b.so -92: + grep ' foo@@b\.so' -92: 5: 0000000000001609 7 FUNC GLOBAL DEFAULT 14 foo@@b.so +90: + cat +90: + c++ -o out/test/x86_64/dead-debug-sections/c.o -c -xc++ -g - 91: + gcc -B. -o out/test/x86_64/debug-macro-section/exe out/test/x86_64/debug-macro-section/b.o out/test/x86_64/debug-macro-section/c.o +93: + echo 'int main() {}' 84: + readelf -W --sections out/test/x86_64/copyrel-norelro/exe2 +89: + cc -B. -o out/test/x86_64/ctors-in-init-array/exe out/test/x86_64/ctors-in-init-array/a.o out/test/x86_64/ctors-in-init-array/b.o 84: + not grep -F .copyrel.rel.ro 84: + grep -F .copyrel.rel.ro +87: + cc -B. out/test/x86_64/copyrel-relro2/a.o out/test/x86_64/copyrel-relro2/b.so -o out/test/x86_64/copyrel-relro2/exe -no-pie 84: + return 0 84: + on_exit -88: + cc -B. -no-pie -o out/test/x86_64/copyrel/exe out/test/x86_64/copyrel/a.o out/test/x86_64/copyrel/b.o out/test/x86_64/copyrel/c.so - 84/402 Test #89: x86_64-ctors-in-init-array ............................ Passed 0.15 sec -72: + on_exit -72: + echo OK -72: OK -72: + exit 0 - 85/402 Test #72: x86_64-build-id ....................................... Passed 0.54 sec -92: + cc -B. -o out/test/x86_64/default-symver/b.so -shared out/test/x86_64/default-symver/a.o -Wl,--soname=bar -Wl,-default-symver 84: + echo OK 84: OK 84: + exit 0 - 86/402 Test #84: x86_64-copyrel-norelro ................................ Passed 0.32 sec -36: + cc -B. -o out/test/x86_64/arch-x86_64-reloc/exe out/test/x86_64/arch-x86_64-reloc/c.so out/test/x86_64/arch-x86_64-reloc/e.o + 83/402 Test #84: x86_64-copyrel-norelro ................................ Passed 0.57 sec +test 95 + Start 95: x86_64-defsym + +95: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/defsym.sh" +95: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +95: Environment variables: +95: MACHINE=x86_64 +95: CPU= +95: Test timeout computed to be: 1500 +94: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/defsym-missing-symbol.sh .sh +94: ++ testname=defsym-missing-symbol +94: ++ t=out/test/x86_64/defsym-missing-symbol +94: ++ mkdir -p out/test/x86_64/defsym-missing-symbol +88: + cc -fPIC -o out/test/x86_64/copyrel/c.o -c -xc - +88: + cat +83: + cat +83: + cc -fno-PIE -o out/test/x86_64/copyrel-alignment/d.o -c -xc - +90: + c++ -o out/test/x86_64/dead-debug-sections/exe out/test/x86_64/dead-debug-sections/a.o out/test/x86_64/dead-debug-sections/b.o out/test/x86_64/dead-debug-sections/c.o -g 95: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/defsym.sh 95: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 95: ++ export LC_ALL=C @@ -7338,7 +7340,36 @@ 95: ++ OBJCOPY=objcopy 95: ++ STRIP=strip 95: ++ QEMU= +94: ++ case $MACHINE in +94: ++ tlsdesc_opt=-mtls-dialect=gnu2 +88: + cc -B. -shared -o out/test/x86_64/copyrel/c.so out/test/x86_64/copyrel/c.o 95: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/defsym.sh .sh +95: ++ testname=defsym +95: ++ t=out/test/x86_64/defsym +95: ++ mkdir -p out/test/x86_64/defsym +94: +++ uname +94: ++ '[' Linux = FreeBSD ']' +94: ++ trap 'on_error $LINENO' ERR +94: ++ trap on_exit EXIT +94: ++ echo -n 'Testing defsym-missing-symbol ... ' +94: Testing defsym-missing-symbol ... ++ set -o pipefail +94: ++ set -x +94: + cat +94: + cc -o out/test/x86_64/defsym-missing-symbol/a.o -c -xc - +92: + readelf --dyn-syms out/test/x86_64/default-symver/b.so +92: + grep ' foo@@b\.so' +92: 5: 0000000000001609 7 FUNC GLOBAL DEFAULT 14 foo@@b.so +87: + out/test/x86_64/copyrel-relro2/exe +87: + grep '^sigsegv 0 1$' +87: sigsegv 0 1 +87: + on_exit +87: + echo OK +87: OK +87: + exit 0 +92: + cc -B. -o out/test/x86_64/default-symver/b.so -shared out/test/x86_64/default-symver/a.o -Wl,--soname=bar -Wl,-default-symver +77: + grep '5 0 7 2' +77: + out/test/x86_64/common-archive/exe + 84/402 Test #87: x86_64-copyrel-relro2 ................................. Passed 0.43 sec test 96 Start 96: x86_64-defsym2 @@ -7348,11 +7379,53 @@ 96: MACHINE=x86_64 96: CPU= 96: Test timeout computed to be: 1500 -95: ++ testname=defsym -95: ++ t=out/test/x86_64/defsym -95: ++ mkdir -p out/test/x86_64/defsym 95: ++ case $MACHINE in 95: ++ tlsdesc_opt=-mtls-dialect=gnu2 +95: +++ uname +95: ++ '[' Linux = FreeBSD ']' +95: ++ trap 'on_error $LINENO' ERR +95: ++ trap on_exit EXIT +95: ++ echo -n 'Testing defsym ... ' +95: Testing defsym ... ++ set -o pipefail +95: ++ set -x +95: + cat +95: + cc -fPIC -o out/test/x86_64/defsym/a.o -c -xc - +77: 5 0 7 2 +77: + on_exit +77: + echo OK +77: OK +77: + exit 0 +72: + grep 'Build ID: deadbeefdeadbeef' +72: + readelf -n out/test/x86_64/build-id/exe7 +72: Build ID: deadbeefdeadbeef +72: + on_exit +72: + echo OK +72: OK +72: + exit 0 +91: + not grep 'DW_MACRO_import -.* 0x0$' +91: + grep 'DW_MACRO_import -.* 0x0$' +91: + objdump --dwarf=macro out/test/x86_64/debug-macro-section/exe +91: + return 0 +91: + on_exit +91: + echo OK +91: OK +91: + exit 0 +89: + out/test/x86_64/ctors-in-init-array/exe +89: + grep 'ctor1 init1 ctor2 ctor3 ctor4 init2 fini2 dtor1 dtor2 dtor3 fini1 dtor4' +89: ctor1 init1 ctor2 ctor3 ctor4 init2 fini2 dtor1 dtor2 dtor3 fini1 dtor4 +89: + on_exit +89: + echo OK +89: OK +89: + exit 0 +90: + out/test/x86_64/dead-debug-sections/exe +90: + grep 'Hello world' +90: Hello world +90: + dwarfdump out/test/x86_64/dead-debug-sections/exe +88: + cc -B. -no-pie -o out/test/x86_64/copyrel/exe out/test/x86_64/copyrel/a.o out/test/x86_64/copyrel/b.o out/test/x86_64/copyrel/c.so + 85/402 Test #72: x86_64-build-id ....................................... Passed 0.94 sec + 86/402 Test #77: x86_64-common-archive ................................. Passed 0.73 sec + 87/402 Test #89: x86_64-ctors-in-init-array ............................ Passed 0.19 sec + 88/402 Test #91: x86_64-debug-macro-section ............................ Passed 0.17 sec test 97 Start 97: x86_64-demangle-cpp @@ -7371,19 +7444,29 @@ 98: MACHINE=x86_64 98: CPU= 98: Test timeout computed to be: 1500 -83: [29] .copyrel NOBITS 0000000000203940 000930 000004 00 WA 0 0 32 -83: + cc -B. -o out/test/x86_64/copyrel-alignment/exe2 out/test/x86_64/copyrel-alignment/d.o out/test/x86_64/copyrel-alignment/b.so -no-pie -90: + cat -90: + c++ -o out/test/x86_64/dead-debug-sections/c.o -c -xc++ -g - -95: +++ uname -95: ++ '[' Linux = FreeBSD ']' -95: ++ trap 'on_error $LINENO' ERR -95: ++ trap on_exit EXIT -95: ++ echo -n 'Testing defsym ... ' -95: Testing defsym ... ++ set -o pipefail -95: ++ set -x -95: + cat -95: + cc -fPIC -o out/test/x86_64/defsym/a.o -c -xc - +test 99 + Start 99: x86_64-demangle + +99: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/demangle.sh" +99: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +99: Environment variables: +99: MACHINE=x86_64 +99: CPU= +99: Test timeout computed to be: 1500 +test 100 + Start 100: x86_64-dependency-file-lto + +100: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/dependency-file-lto.sh" +100: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +100: Environment variables: +100: MACHINE=x86_64 +100: CPU= +100: Test timeout computed to be: 1500 +90: + on_exit +90: + echo OK +90: OK +90: + exit 0 +83: + cc -B. -o out/test/x86_64/copyrel-alignment/exe1 out/test/x86_64/copyrel-alignment/d.o out/test/x86_64/copyrel-alignment/a.so -no-pie 96: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/defsym2.sh 96: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 96: ++ export LC_ALL=C @@ -7403,26 +7486,28 @@ 96: ++ testname=defsym2 96: ++ t=out/test/x86_64/defsym2 96: ++ mkdir -p out/test/x86_64/defsym2 -97: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/demangle-cpp.sh -98: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/demangle-rust.sh 96: ++ case $MACHINE in 96: ++ tlsdesc_opt=-mtls-dialect=gnu2 96: +++ uname -98: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -98: ++ export LC_ALL=C -98: ++ LC_ALL=C -98: ++ '[' -z x86_64 ']' -98: ++ '[' -z '' ']' -98: ++ TESTDIR=out/test/x86_64 -98: ++ CC=cc -98: ++ CXX=c++ -98: ++ GCC=gcc -98: ++ GXX=g++ -98: ++ OBJDUMP=objdump -98: ++ OBJCOPY=objcopy -98: ++ STRIP=strip -98: ++ QEMU= -98: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/demangle-rust.sh .sh +96: ++ '[' Linux = FreeBSD ']' +96: ++ trap 'on_error $LINENO' ERR +96: ++ trap on_exit EXIT +96: ++ echo -n 'Testing defsym2 ... ' +96: Testing defsym2 ... ++ set -o pipefail +96: ++ set -x +96: + cat +96: + cc -fPIC -o out/test/x86_64/defsym2/a.o -c -xc - +95: + cc -B. -o out/test/x86_64/defsym/exe out/test/x86_64/defsym/a.o -pie -Wl,-defsym=foo=16 -Wl,-defsym=bar=0x2000 -Wl,-defsym=baz=print +94: + not cc -B. -o out/test/x86_64/defsym-missing-symbol/exe out/test/x86_64/defsym-missing-symbol/a.o -Wl,-defsym=foo=bar +94: + grep 'undefined symbol: bar' +88: + grep '42 42 1' +88: + out/test/x86_64/copyrel/exe +88: 42 42 1 +88: + on_exit +88: + echo OK +88: OK +88: + exit 0 +97: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/demangle-cpp.sh 97: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 97: ++ export LC_ALL=C 97: ++ LC_ALL=C @@ -7437,69 +7522,38 @@ 97: ++ OBJCOPY=objcopy 97: ++ STRIP=strip 97: ++ QEMU= -94: + not cc -B. -o out/test/x86_64/defsym-missing-symbol/exe out/test/x86_64/defsym-missing-symbol/a.o -Wl,-defsym=foo=bar -94: + grep 'undefined symbol: bar' -98: ++ testname=demangle-rust -98: ++ t=out/test/x86_64/demangle-rust -98: ++ mkdir -p out/test/x86_64/demangle-rust 97: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/demangle-cpp.sh .sh 97: ++ testname=demangle-cpp 97: ++ t=out/test/x86_64/demangle-cpp 97: ++ mkdir -p out/test/x86_64/demangle-cpp -92: + grep ' foo@@bar' -92: + readelf --dyn-syms out/test/x86_64/default-symver/b.so -96: ++ '[' Linux = FreeBSD ']' -96: ++ trap 'on_error $LINENO' ERR -96: ++ trap on_exit EXIT -96: ++ echo -n 'Testing defsym2 ... ' -96: Testing defsym2 ... ++ set -o pipefail -96: ++ set -x -96: + cc -fPIC -o out/test/x86_64/defsym2/a.o -c -xc - -98: ++ case $MACHINE in -98: ++ tlsdesc_opt=-mtls-dialect=gnu2 -96: + cat -92: 5: 0000000000001609 7 FUNC GLOBAL DEFAULT 14 foo@@bar -92: + on_exit -92: + echo OK -92: OK -92: + exit 0 - 87/402 Test #92: x86_64-default-symver ................................. Passed 0.18 sec -test 99 - Start 99: x86_64-demangle - -99: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/demangle.sh" -99: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -99: Environment variables: -99: MACHINE=x86_64 -99: CPU= -99: Test timeout computed to be: 1500 -98: +++ uname -98: ++ '[' Linux = FreeBSD ']' -98: ++ trap 'on_error $LINENO' ERR -98: ++ trap on_exit EXIT -98: ++ echo -n 'Testing demangle-rust ... ' -98: Testing demangle-rust ... ++ set -o pipefail -98: ++ set -x -98: + cat -98: + cc -c -o out/test/x86_64/demangle-rust/a.o -xc - 97: ++ case $MACHINE in 97: ++ tlsdesc_opt=-mtls-dialect=gnu2 -99: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/demangle.sh -83: + out/test/x86_64/copyrel-alignment/exe2 97: +++ uname -91: + objdump --dwarf=macro out/test/x86_64/debug-macro-section/exe -83: + grep '\.copyrel.* 8$' -83: + readelf -W --sections out/test/x86_64/copyrel-alignment/exe2 -36: + out/test/x86_64/arch-x86_64-reloc/exe 97: ++ '[' Linux = FreeBSD ']' -83: [29] .copyrel NOBITS 0000000000203938 000930 000004 00 WA 0 0 8 -36: + grep '^56000003$' -88: + out/test/x86_64/copyrel/exe -90: + c++ -o out/test/x86_64/dead-debug-sections/exe out/test/x86_64/dead-debug-sections/a.o out/test/x86_64/dead-debug-sections/b.o out/test/x86_64/dead-debug-sections/c.o -g +97: ++ trap 'on_error $LINENO' ERR +97: ++ trap on_exit EXIT +97: ++ echo -n 'Testing demangle-cpp ... ' +97: Testing demangle-cpp ... ++ set -o pipefail +97: ++ set -x +98: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/demangle-rust.sh +98: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +98: ++ export LC_ALL=C +98: ++ LC_ALL=C +98: ++ '[' -z x86_64 ']' +98: ++ '[' -z '' ']' +98: ++ TESTDIR=out/test/x86_64 +98: ++ CC=cc +98: ++ CXX=c++ +98: ++ GCC=gcc +98: ++ GXX=g++ +98: ++ OBJDUMP=objdump +98: ++ OBJCOPY=objcopy +98: ++ STRIP=strip +98: ++ QEMU= +99: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/demangle.sh 99: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 99: ++ export LC_ALL=C 99: ++ LC_ALL=C -83: + cc -B. -o out/test/x86_64/copyrel-alignment/exe3 out/test/x86_64/copyrel-alignment/d.o out/test/x86_64/copyrel-alignment/c.so -no-pie 99: ++ '[' -z x86_64 ']' 99: ++ '[' -z '' ']' 99: ++ TESTDIR=out/test/x86_64 @@ -7511,43 +7565,8 @@ 99: ++ OBJCOPY=objcopy 99: ++ STRIP=strip 99: ++ QEMU= -91: + not grep 'DW_MACRO_import -.* 0x0$' -91: + grep 'DW_MACRO_import -.* 0x0$' -99: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/demangle.sh .sh -88: + grep '42 42 1' -97: ++ trap 'on_error $LINENO' ERR -97: ++ trap on_exit EXIT -97: ++ echo -n 'Testing demangle-cpp ... ' -97: Testing demangle-cpp ... ++ set -o pipefail -97: ++ set -x -36: 56000003 -36: + cat -97: + cat -88: 42 42 1 -91: + return 0 -99: ++ testname=demangle -99: ++ t=out/test/x86_64/demangle -99: ++ mkdir -p out/test/x86_64/demangle -97: + cc -c -o out/test/x86_64/demangle-cpp/a.o -xc - -88: + on_exit -88: + echo OK -88: OK -88: + exit 0 -91: + on_exit -91: + echo OK -91: OK -91: + exit 0 - 88/402 Test #88: x86_64-copyrel ........................................ Passed 0.31 sec -test 100 - Start 100: x86_64-dependency-file-lto - -100: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/dependency-file-lto.sh" -100: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -100: Environment variables: -100: MACHINE=x86_64 -100: CPU= -100: Test timeout computed to be: 1500 - 89/402 Test #91: x86_64-debug-macro-section ............................ Passed 0.25 sec + 89/402 Test #88: x86_64-copyrel ........................................ Passed 0.25 sec + 90/402 Test #90: x86_64-dead-debug-sections ............................ Passed 0.23 sec test 101 Start 101: x86_64-dependency-file-response-file @@ -7557,25 +7576,6 @@ 101: MACHINE=x86_64 101: CPU= 101: Test timeout computed to be: 1500 -36: + cc -c -o out/test/x86_64/arch-x86_64-reloc/f.o out/test/x86_64/arch-x86_64-reloc/f.s -36: + cc -B. -o out/test/x86_64/arch-x86_64-reloc/exe out/test/x86_64/arch-x86_64-reloc/f.o -94: mold: error: --defsym: undefined symbol: bar -94: + on_exit -94: + echo OK -94: OK -94: + exit 0 - 90/402 Test #94: x86_64-defsym-missing-symbol .......................... Passed 0.18 sec -99: ++ case $MACHINE in -99: ++ tlsdesc_opt=-mtls-dialect=gnu2 -99: +++ uname -99: ++ '[' Linux = FreeBSD ']' -99: ++ trap 'on_error $LINENO' ERR -99: ++ trap on_exit EXIT -99: ++ echo -n 'Testing demangle ... ' -99: Testing demangle ... ++ set -o pipefail -99: ++ set -x -99: + cat -99: + cc -c -o out/test/x86_64/demangle/a.o -xc++ - test 102 Start 102: x86_64-dependency-file @@ -7585,6 +7585,27 @@ 102: MACHINE=x86_64 102: CPU= 102: Test timeout computed to be: 1500 +98: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/demangle-rust.sh .sh +98: ++ testname=demangle-rust +98: ++ t=out/test/x86_64/demangle-rust +98: ++ mkdir -p out/test/x86_64/demangle-rust +97: + cc -c -o out/test/x86_64/demangle-cpp/a.o -xc - +97: + cat +99: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/demangle.sh .sh +99: ++ testname=demangle +99: ++ t=out/test/x86_64/demangle +99: ++ mkdir -p out/test/x86_64/demangle +99: ++ case $MACHINE in +99: ++ tlsdesc_opt=-mtls-dialect=gnu2 +92: + grep ' foo@@bar' +92: + readelf --dyn-syms out/test/x86_64/default-symver/b.so +95: + out/test/x86_64/defsym/exe +95: + grep '^Hello 0x10 0x2000$' +95: Hello 0x10 0x2000 +95: + on_exit +95: + echo OK +95: OK +95: + exit 0 100: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/dependency-file-lto.sh 100: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 100: ++ export LC_ALL=C @@ -7604,11 +7625,47 @@ 100: ++ testname=dependency-file-lto 100: ++ t=out/test/x86_64/dependency-file-lto 100: ++ mkdir -p out/test/x86_64/dependency-file-lto -102: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/dependency-file.sh 100: ++ case $MACHINE in 100: ++ tlsdesc_opt=-mtls-dialect=gnu2 -101: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/dependency-file-response-file.sh -100: +++ uname + 91/402 Test #95: x86_64-defsym ......................................... Passed 0.14 sec +98: ++ case $MACHINE in +98: ++ tlsdesc_opt=-mtls-dialect=gnu2 +99: +++ uname +92: 5: 0000000000001609 7 FUNC GLOBAL DEFAULT 14 foo@@bar +92: + on_exit +92: + echo OK +92: OK +92: + exit 0 + 92/402 Test #92: x86_64-default-symver ................................. Passed 0.21 sec +83: + out/test/x86_64/copyrel-alignment/exe1 +83: + readelf -W --sections out/test/x86_64/copyrel-alignment/exe1 +test 103 + Start 103: x86_64-disable-new-dtags + +103: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/disable-new-dtags.sh" +103: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +103: Environment variables: +103: MACHINE=x86_64 +103: CPU= +103: Test timeout computed to be: 1500 +98: +++ uname +98: ++ '[' Linux = FreeBSD ']' +99: ++ '[' Linux = FreeBSD ']' +99: ++ trap 'on_error $LINENO' ERR +99: ++ trap on_exit EXIT +99: ++ echo -n 'Testing demangle ... ' +99: Testing demangle ... ++ set -o pipefail +99: ++ set -x +test 104 + Start 104: x86_64-discard-section + +104: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/discard-section.sh" +104: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +104: Environment variables: +104: MACHINE=x86_64 +104: CPU= +104: Test timeout computed to be: 1500 +102: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/dependency-file.sh 102: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 102: ++ export LC_ALL=C 102: ++ LC_ALL=C @@ -7623,11 +7680,26 @@ 102: ++ OBJCOPY=objcopy 102: ++ STRIP=strip 102: ++ QEMU= +102: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/dependency-file.sh .sh +102: ++ testname=dependency-file +102: ++ t=out/test/x86_64/dependency-file +102: ++ mkdir -p out/test/x86_64/dependency-file +102: ++ case $MACHINE in +102: ++ tlsdesc_opt=-mtls-dialect=gnu2 +102: +++ uname +102: ++ '[' Linux = FreeBSD ']' +102: ++ trap 'on_error $LINENO' ERR +102: ++ trap on_exit EXIT +102: ++ echo -n 'Testing dependency-file ... ' +102: Testing dependency-file ... ++ set -o pipefail +102: ++ set -x +102: + cat +102: + cc -o out/test/x86_64/dependency-file/a.o -c -xc - +101: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/dependency-file-response-file.sh 101: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 101: ++ export LC_ALL=C 101: ++ LC_ALL=C 101: ++ '[' -z x86_64 ']' -100: ++ '[' Linux = FreeBSD ']' 101: ++ '[' -z '' ']' 101: ++ TESTDIR=out/test/x86_64 101: ++ CC=cc @@ -7638,66 +7710,39 @@ 101: ++ OBJCOPY=objcopy 101: ++ STRIP=strip 101: ++ QEMU= -102: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/dependency-file.sh .sh -100: ++ trap 'on_error $LINENO' ERR -100: ++ trap on_exit EXIT -100: ++ echo -n 'Testing dependency-file-lto ... ' -100: Testing dependency-file-lto ... ++ set -o pipefail -100: ++ set -x -100: + test_cflags -flto -fno-fat-lto-objects 101: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/dependency-file-response-file.sh .sh -100: + echo 'int main() {}' -100: + cc -B. -flto -fno-fat-lto-objects -o /dev/null -xc - -102: ++ testname=dependency-file -102: ++ t=out/test/x86_64/dependency-file -102: ++ mkdir -p out/test/x86_64/dependency-file 101: ++ testname=dependency-file-response-file 101: ++ t=out/test/x86_64/dependency-file-response-file 101: ++ mkdir -p out/test/x86_64/dependency-file-response-file -102: ++ case $MACHINE in -102: ++ tlsdesc_opt=-mtls-dialect=gnu2 -102: +++ uname 101: ++ case $MACHINE in 101: ++ tlsdesc_opt=-mtls-dialect=gnu2 -102: ++ '[' Linux = FreeBSD ']' -102: ++ trap 'on_error $LINENO' ERR 101: +++ uname -102: ++ trap on_exit EXIT -102: ++ echo -n 'Testing dependency-file ... ' -102: Testing dependency-file ... ++ set -o pipefail -102: ++ set -x -102: + cat -102: + cc -o out/test/x86_64/dependency-file/a.o -c -xc - 101: ++ '[' Linux = FreeBSD ']' 101: ++ trap 'on_error $LINENO' ERR 101: ++ trap on_exit EXIT 101: ++ echo -n 'Testing dependency-file-response-file ... ' 101: Testing dependency-file-response-file ... ++ set -o pipefail 101: ++ set -x -101: + cat 101: + cc -o out/test/x86_64/dependency-file-response-file/a.o -c -xc - -95: + cc -B. -o out/test/x86_64/defsym/exe out/test/x86_64/defsym/a.o -pie -Wl,-defsym=foo=16 -Wl,-defsym=bar=0x2000 -Wl,-defsym=baz=print -83: + out/test/x86_64/copyrel-alignment/exe3 -83: + readelf -W --sections out/test/x86_64/copyrel-alignment/exe3 -83: + grep '\.copyrel.* 256$' -83: [29] .copyrel NOBITS 0000000000203a00 000930 000004 00 WA 0 0 256 -83: + on_exit -83: + echo OK -83: OK -83: + exit 0 - 91/402 Test #83: x86_64-copyrel-alignment .............................. Passed 0.52 sec -test 103 - Start 103: x86_64-disable-new-dtags - -103: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/disable-new-dtags.sh" -103: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -103: Environment variables: -103: MACHINE=x86_64 -103: CPU= -103: Test timeout computed to be: 1500 -36: + readelf -x .foo -x .bar out/test/x86_64/arch-x86_64-reloc/exe +101: + cat +98: ++ trap 'on_error $LINENO' ERR +98: ++ trap on_exit EXIT +98: ++ echo -n 'Testing demangle-rust ... ' +98: Testing demangle-rust ... ++ set -o pipefail +98: ++ set -x +98: + cat +98: + cc -c -o out/test/x86_64/demangle-rust/a.o -xc - +99: + cat +99: + cc -c -o out/test/x86_64/demangle/a.o -xc++ - +100: +++ uname +100: ++ '[' Linux = FreeBSD ']' +100: ++ trap 'on_error $LINENO' ERR +100: ++ trap on_exit EXIT +100: ++ echo -n 'Testing dependency-file-lto ... ' +100: Testing dependency-file-lto ... ++ set -o pipefail +100: ++ set -x +100: + test_cflags -flto -fno-fat-lto-objects 103: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/disable-new-dtags.sh -36: + grep -F '0x00000010 00000000 00000000 10000000 00000000' out/test/x86_64/arch-x86_64-reloc/log 103: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 103: ++ export LC_ALL=C 103: ++ LC_ALL=C @@ -7712,57 +7757,28 @@ 103: ++ OBJCOPY=objcopy 103: ++ STRIP=strip 103: ++ QEMU= -36: 0x00000010 00000000 00000000 10000000 00000000 ................ 103: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/disable-new-dtags.sh .sh -36: + grep -F '0x00000010 18000000 00000000' out/test/x86_64/arch-x86_64-reloc/log 103: ++ testname=disable-new-dtags 103: ++ t=out/test/x86_64/disable-new-dtags 103: ++ mkdir -p out/test/x86_64/disable-new-dtags -90: + out/test/x86_64/dead-debug-sections/exe -36: 0x00000010 18000000 00000000 ........ -36: + on_exit -36: + echo OK -36: OK -36: + exit 0 -90: + grep 'Hello world' -90: Hello world +83: + grep '\.copyrel.* 32$' +83: [29] .copyrel NOBITS 0000000000203940 000930 000004 00 WA 0 0 32 +83: + cc -B. -o out/test/x86_64/copyrel-alignment/exe2 out/test/x86_64/copyrel-alignment/d.o out/test/x86_64/copyrel-alignment/b.so -no-pie +96: + cc -B. -o out/test/x86_64/defsym2/b.so -shared -Wl,-defsym=bar=foo out/test/x86_64/defsym2/a.o +100: + echo 'int main() {}' +100: + cc -B. -flto -fno-fat-lto-objects -o /dev/null -xc - +101: + echo 'out/test/x86_64/dependency-file-response-file/a.o -Wl,-dependency-file=out/test/x86_64/dependency-file-response-file/dep' +101: + cc -B. -o out/test/x86_64/dependency-file-response-file/exe @out/test/x86_64/dependency-file-response-file/rsp +104: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/discard-section.sh 103: ++ case $MACHINE in 103: ++ tlsdesc_opt=-mtls-dialect=gnu2 103: +++ uname - 92/402 Test #36: x86_64-arch-x86_64-reloc .............................. Passed 1.85 sec -test 104 - Start 104: x86_64-discard-section - -104: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/discard-section.sh" -104: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -104: Environment variables: -104: MACHINE=x86_64 -104: CPU= -104: Test timeout computed to be: 1500 103: ++ '[' Linux = FreeBSD ']' 103: ++ trap 'on_error $LINENO' ERR 103: ++ trap on_exit EXIT 103: ++ echo -n 'Testing disable-new-dtags ... ' 103: Testing disable-new-dtags ... ++ set -o pipefail 103: ++ set -x -103: + cat -103: + cc -o out/test/x86_64/disable-new-dtags/a.o -c -xc -fPIC - -90: + dwarfdump out/test/x86_64/dead-debug-sections/exe -90: + on_exit -90: + echo OK -90: OK -90: + exit 0 - 93/402 Test #90: x86_64-dead-debug-sections ............................ Passed 0.30 sec -104: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/discard-section.sh -test 105 - Start 105: x86_64-discard - -105: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/discard.sh" -105: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -105: Environment variables: -105: MACHINE=x86_64 -105: CPU= -105: Test timeout computed to be: 1500 104: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 104: ++ export LC_ALL=C 104: ++ LC_ALL=C @@ -7777,47 +7793,44 @@ 104: ++ OBJCOPY=objcopy 104: ++ STRIP=strip 104: ++ QEMU= +103: + cc -o out/test/x86_64/disable-new-dtags/a.o -c -xc -fPIC - +102: + cc -B. -o out/test/x86_64/dependency-file/exe out/test/x86_64/dependency-file/a.o -Wl,-dependency-file=out/test/x86_64/dependency-file/dep +103: + cat +94: mold: error: --defsym: undefined symbol: bar +94: + on_exit +94: + echo OK +94: OK +94: + exit 0 + 93/402 Test #94: x86_64-defsym-missing-symbol .......................... Passed 0.22 sec +test 105 + Start 105: x86_64-discard + +105: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/discard.sh" +105: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +105: Environment variables: +105: MACHINE=x86_64 +105: CPU= +105: Test timeout computed to be: 1500 +97: + grep -F 'ns::version()' +97: + not cc -B. -o out/test/x86_64/demangle-cpp/exe1 out/test/x86_64/demangle-cpp/a.o 104: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/discard-section.sh .sh 104: ++ testname=discard-section 104: ++ t=out/test/x86_64/discard-section 104: ++ mkdir -p out/test/x86_64/discard-section -104: ++ case $MACHINE in -104: ++ tlsdesc_opt=-mtls-dialect=gnu2 -97: + not cc -B. -o out/test/x86_64/demangle-cpp/exe1 out/test/x86_64/demangle-cpp/a.o -97: + grep -F 'ns::version()' -99: + not cc -B. -o out/test/x86_64/demangle/exe out/test/x86_64/demangle/a.o -Wl,-no-demangle -99: + grep 'undefined symbol: _Z3fooii$' -104: +++ uname -95: + out/test/x86_64/defsym/exe -95: + grep '^Hello 0x10 0x2000$' -104: ++ '[' Linux = FreeBSD ']' +103: + cc -B. -shared -o out/test/x86_64/disable-new-dtags/b.so out/test/x86_64/disable-new-dtags/a.o -Wl,-rpath=/foo +102: + grep 'dependency-file/exe:.*/a.o ' out/test/x86_64/dependency-file/dep +102: out/test/x86_64/dependency-file/exe: /usr/lib/x86_64-linux-gnu/Scrt1.o /usr/lib/x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/14/crtbeginS.o out/test/x86_64/dependency-file/a.o /usr/lib/gcc/x86_64-linux-gnu/14/libgcc.a /usr/lib/gcc/x86_64-linux-gnu/14/libgcc_s.so /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 /usr/lib/x86_64-linux-gnu/libc.so /lib/x86_64-linux-gnu/libc.so.6 /usr/lib/x86_64-linux-gnu/libc_nonshared.a /lib64/ld-linux-x86-64.so.2 /usr/lib/gcc/x86_64-linux-gnu/14/crtendS.o /usr/lib/x86_64-linux-gnu/crtn.o +102: + grep '.*/a.o:$' out/test/x86_64/dependency-file/dep +102: out/test/x86_64/dependency-file/a.o: +102: + on_exit +102: + echo OK +102: OK +102: + exit 0 105: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/discard.sh -104: ++ trap 'on_error $LINENO' ERR -104: ++ trap on_exit EXIT -104: ++ echo -n 'Testing discard-section ... ' -104: Testing discard-section ... ++ set -o pipefail -104: ++ set -x -104: + cat -95: Hello 0x10 0x2000 -104: + cc -o out/test/x86_64/discard-section/a.o -c -xc - -95: + on_exit -95: + echo OK -95: OK -95: + exit 0 - 94/402 Test #95: x86_64-defsym ......................................... Passed 0.18 sec 105: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 105: ++ export LC_ALL=C 105: ++ LC_ALL=C 105: ++ '[' -z x86_64 ']' -test 106 - Start 106: x86_64-dso-undef - -106: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/dso-undef.sh" -106: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -106: Environment variables: -106: MACHINE=x86_64 -106: CPU= -106: Test timeout computed to be: 1500 105: ++ '[' -z '' ']' 105: ++ TESTDIR=out/test/x86_64 105: ++ CC=cc @@ -7832,9 +7845,46 @@ 105: ++ testname=discard 105: ++ t=out/test/x86_64/discard 105: ++ mkdir -p out/test/x86_64/discard +105: ++ case $MACHINE in +105: ++ tlsdesc_opt=-mtls-dialect=gnu2 +105: +++ uname +83: + out/test/x86_64/copyrel-alignment/exe2 +105: ++ '[' Linux = FreeBSD ']' +105: ++ trap 'on_error $LINENO' ERR +105: ++ trap on_exit EXIT +105: ++ echo -n 'Testing discard ... ' +105: Testing discard ... ++ set -o pipefail +105: ++ set -x +105: + [[ x86_64 = riscv* ]] +105: + [[ x86_64 = loongarch* ]] +83: + grep '\.copyrel.* 8$' + 94/402 Test #102: x86_64-dependency-file ................................ Passed 0.07 sec +test 106 + Start 106: x86_64-dso-undef + +106: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/dso-undef.sh" +106: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +106: Environment variables: +106: MACHINE=x86_64 +106: CPU= +106: Test timeout computed to be: 1500 +93: + cat +105: + cc -o out/test/x86_64/discard/a.o -c -x assembler -Wa,-L - +105: + cat +103: + grep 'RUNPATH.*/foo' +103: + readelf --dynamic out/test/x86_64/disable-new-dtags/b.so +104: ++ case $MACHINE in +104: ++ tlsdesc_opt=-mtls-dialect=gnu2 +103: 0x000000000000001d (RUNPATH) Library runpath: [/foo] +103: + cc -B. -shared -o out/test/x86_64/disable-new-dtags/b.so out/test/x86_64/disable-new-dtags/a.o -Wl,-rpath=/foo -Wl,-enable-new-dtags +83: + readelf -W --sections out/test/x86_64/copyrel-alignment/exe2 +83: [29] .copyrel NOBITS 0000000000203938 000930 000004 00 WA 0 0 8 +83: + cc -B. -o out/test/x86_64/copyrel-alignment/exe3 out/test/x86_64/copyrel-alignment/d.o out/test/x86_64/copyrel-alignment/c.so -no-pie +93: + cc -flto -fPIC -o out/test/x86_64/defsym-lto/a.o -c -xc - +105: + ./mold -o out/test/x86_64/discard/exe out/test/x86_64/discard/a.o +99: + grep 'undefined symbol: _Z3fooii$' +99: + not cc -B. -o out/test/x86_64/demangle/exe out/test/x86_64/demangle/a.o -Wl,-no-demangle 106: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/dso-undef.sh -101: + echo 'out/test/x86_64/dependency-file-response-file/a.o -Wl,-dependency-file=out/test/x86_64/dependency-file-response-file/dep' -101: + cc -B. -o out/test/x86_64/dependency-file-response-file/exe @out/test/x86_64/dependency-file-response-file/rsp 106: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 106: ++ export LC_ALL=C 106: ++ LC_ALL=C @@ -7849,58 +7899,47 @@ 106: ++ OBJCOPY=objcopy 106: ++ STRIP=strip 106: ++ QEMU= -102: + cc -B. -o out/test/x86_64/dependency-file/exe out/test/x86_64/dependency-file/a.o -Wl,-dependency-file=out/test/x86_64/dependency-file/dep -105: ++ case $MACHINE in -105: ++ tlsdesc_opt=-mtls-dialect=gnu2 -105: +++ uname -96: + cc -B. -o out/test/x86_64/defsym2/b.so -shared -Wl,-defsym=bar=foo out/test/x86_64/defsym2/a.o -105: ++ '[' Linux = FreeBSD ']' -105: ++ trap 'on_error $LINENO' ERR -105: ++ trap on_exit EXIT -105: ++ echo -n 'Testing discard ... ' -105: Testing discard ... ++ set -o pipefail -105: ++ set -x -105: + [[ x86_64 = riscv* ]] -105: + [[ x86_64 = loongarch* ]] -105: + cat +105: + readelf --symbols out/test/x86_64/discard/exe +105: + grep -F _start out/test/x86_64/discard/log +105: 15: 0000000000201210 0 NOTYPE LOCAL DEFAULT 3 _start +105: 16: 0000000000200000 0 NOTYPE LOCAL DEFAULT 1 __ehdr_start +105: 17: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __init_array_start +105: 19: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __fini_array_start +105: 21: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __preinit_array_start +105: 26: 0000000000203238 0 NOTYPE LOCAL DEFAULT 8 __bss_start +105: 30: 0000000000200000 0 NOTYPE LOCAL DEFAULT 1 __executable_start +105: 31: 0000000000000000 0 NOTYPE LOCAL DEFAULT ABS __rela_iplt_start +105: 39: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __start_EHDR +105: 41: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __start_PHDR +105: + grep -F foo out/test/x86_64/discard/log +105: 13: 0000000000201211 0 NOTYPE LOCAL DEFAULT 3 foo +105: + grep -F .Lbar out/test/x86_64/discard/log +105: 14: 0000000000201212 0 NOTYPE LOCAL DEFAULT 3 .Lbar +105: + ./mold -o out/test/x86_64/discard/exe out/test/x86_64/discard/a.o --discard-locals +104: +++ uname +104: ++ '[' Linux = FreeBSD ']' +104: ++ trap 'on_error $LINENO' ERR +104: ++ trap on_exit EXIT +104: ++ echo -n 'Testing discard-section ... ' +104: Testing discard-section ... ++ set -o pipefail +104: ++ set -x +98: + grep -F ' as core::iter::iterator::Iterator>::rposition::::{closure#0}' +104: + cc -o out/test/x86_64/discard-section/a.o -c -xc - +104: + cat 106: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/dso-undef.sh .sh -105: + cc -o out/test/x86_64/discard/a.o -c -x assembler -Wa,-L - -98: + not cc -B. -o out/test/x86_64/demangle-rust/exe out/test/x86_64/demangle-rust/a.o 106: ++ testname=dso-undef 106: ++ t=out/test/x86_64/dso-undef 106: ++ mkdir -p out/test/x86_64/dso-undef -98: + grep -F ' as core::iter::iterator::Iterator>::rposition::::{closure#0}' -103: + cc -B. -shared -o out/test/x86_64/disable-new-dtags/b.so out/test/x86_64/disable-new-dtags/a.o -Wl,-rpath=/foo 106: ++ case $MACHINE in 106: ++ tlsdesc_opt=-mtls-dialect=gnu2 -105: + ./mold -o out/test/x86_64/discard/exe out/test/x86_64/discard/a.o -106: +++ uname -97: mold: error: undefined symbol: ns::version() -106: ++ '[' Linux = FreeBSD ']' -106: ++ trap 'on_error $LINENO' ERR -106: ++ trap on_exit EXIT -106: ++ echo -n 'Testing dso-undef ... ' -106: Testing dso-undef ... ++ set -o pipefail -106: ++ set -x -97: + cat -97: + cc -c -o out/test/x86_64/demangle-cpp/b.o -xc - -106: + cat -106: + cc -fPIC -o out/test/x86_64/dso-undef/a.o -c -xc - -99: mold: error: undefined symbol: _Z3fooii -99: + grep -E 'undefined symbol: foo\(int, int\)$' -99: + not cc -B. -o out/test/x86_64/demangle/exe out/test/x86_64/demangle/a.o -Wl,-demangle -101: + grep '/exe:.*/a.o ' out/test/x86_64/dependency-file-response-file/dep -105: + readelf --symbols out/test/x86_64/discard/exe 96: + nm -D out/test/x86_64/defsym2/b.so -98: mold: error: undefined symbol: as core::iter::iterator::Iterator>::rposition::::{closure#0} -101: out/test/x86_64/dependency-file-response-file/exe: /usr/lib/x86_64-linux-gnu/Scrt1.o /usr/lib/x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/14/crtbeginS.o out/test/x86_64/dependency-file-response-file/a.o /usr/lib/gcc/x86_64-linux-gnu/14/libgcc.a /usr/lib/gcc/x86_64-linux-gnu/14/libgcc_s.so /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 /usr/lib/x86_64-linux-gnu/libc.so /lib/x86_64-linux-gnu/libc.so.6 /usr/lib/x86_64-linux-gnu/libc_nonshared.a /lib64/ld-linux-x86-64.so.2 /usr/lib/gcc/x86_64-linux-gnu/14/crtendS.o /usr/lib/x86_64-linux-gnu/crtn.o 96: + grep bar -98: + on_exit -98: + echo OK -98: OK -98: + exit 0 -103: + readelf --dynamic out/test/x86_64/disable-new-dtags/b.so - 95/402 Test #98: x86_64-demangle-rust .................................. Passed 0.26 sec +96: 00000000000015f9 T bar +96: + on_exit +96: + echo OK +96: OK +96: + exit 0 + 95/402 Test #96: x86_64-defsym2 ........................................ Passed 0.19 sec test 107 Start 107: x86_64-dt-init @@ -7910,57 +7949,40 @@ 107: MACHINE=x86_64 107: CPU= 107: Test timeout computed to be: 1500 -103: + grep 'RUNPATH.*/foo' -103: 0x000000000000001d (RUNPATH) Library runpath: [/foo] +105: + readelf --symbols out/test/x86_64/discard/exe +97: mold: error: undefined symbol: ns::version() +97: + cc -c -o out/test/x86_64/demangle-cpp/b.o -xc - +101: + grep '/exe:.*/a.o ' out/test/x86_64/dependency-file-response-file/dep +101: out/test/x86_64/dependency-file-response-file/exe: /usr/lib/x86_64-linux-gnu/Scrt1.o /usr/lib/x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/14/crtbeginS.o out/test/x86_64/dependency-file-response-file/a.o /usr/lib/gcc/x86_64-linux-gnu/14/libgcc.a /usr/lib/gcc/x86_64-linux-gnu/14/libgcc_s.so /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 /usr/lib/x86_64-linux-gnu/libc.so /lib/x86_64-linux-gnu/libc.so.6 /usr/lib/x86_64-linux-gnu/libc_nonshared.a /lib64/ld-linux-x86-64.so.2 /usr/lib/gcc/x86_64-linux-gnu/14/crtendS.o /usr/lib/x86_64-linux-gnu/crtn.o 101: + grep '/a.o:$' out/test/x86_64/dependency-file-response-file/dep -105: + grep -F _start out/test/x86_64/discard/log -103: + cc -B. -shared -o out/test/x86_64/disable-new-dtags/b.so out/test/x86_64/disable-new-dtags/a.o -Wl,-rpath=/foo -Wl,-enable-new-dtags -96: 00000000000015f9 T bar -107: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/dt-init.sh 101: out/test/x86_64/dependency-file-response-file/a.o: -96: + on_exit -96: + echo OK -96: OK -96: + exit 0 101: + not grep '^/tmp' out/test/x86_64/dependency-file-response-file/dep 101: + grep '^/tmp' out/test/x86_64/dependency-file-response-file/dep - 96/402 Test #96: x86_64-defsym2 ........................................ Passed 0.27 sec -107: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -107: ++ export LC_ALL=C -107: ++ LC_ALL=C -107: ++ '[' -z x86_64 ']' -107: ++ '[' -z '' ']' -107: ++ TESTDIR=out/test/x86_64 -107: ++ CC=cc -107: ++ CXX=c++ -107: ++ GCC=gcc -107: ++ GXX=g++ -107: ++ OBJDUMP=objdump -107: ++ OBJCOPY=objcopy -107: ++ STRIP=strip -107: ++ QEMU= -107: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/dt-init.sh .sh -107: ++ testname=dt-init -107: ++ t=out/test/x86_64/dt-init -107: ++ mkdir -p out/test/x86_64/dt-init -107: ++ case $MACHINE in -107: ++ tlsdesc_opt=-mtls-dialect=gnu2 101: + return 0 101: + on_exit 101: + echo OK 101: OK 101: + exit 0 -105: 15: 0000000000201210 0 NOTYPE LOCAL DEFAULT 3 _start -105: 16: 0000000000200000 0 NOTYPE LOCAL DEFAULT 1 __ehdr_start -105: 17: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __init_array_start -105: 19: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __fini_array_start -105: 21: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __preinit_array_start -105: 26: 0000000000203238 0 NOTYPE LOCAL DEFAULT 8 __bss_start -105: 30: 0000000000200000 0 NOTYPE LOCAL DEFAULT 1 __executable_start -105: 31: 0000000000000000 0 NOTYPE LOCAL DEFAULT ABS __rela_iplt_start -105: 39: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __start_EHDR -105: 41: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __start_PHDR -106: + cc -B. -o out/test/x86_64/dso-undef/b.so -shared out/test/x86_64/dso-undef/a.o +98: + not cc -B. -o out/test/x86_64/demangle-rust/exe out/test/x86_64/demangle-rust/a.o +83: + out/test/x86_64/copyrel-alignment/exe3 +106: +++ uname +106: ++ '[' Linux = FreeBSD ']' +106: ++ trap 'on_error $LINENO' ERR +106: ++ trap on_exit EXIT +106: ++ echo -n 'Testing dso-undef ... ' +106: Testing dso-undef ... ++ set -o pipefail +106: ++ set -x +106: + cat + 96/402 Test #101: x86_64-dependency-file-response-file .................. Passed 0.13 sec +83: + readelf -W --sections out/test/x86_64/copyrel-alignment/exe3 +83: + grep '\.copyrel.* 256$' +83: [29] .copyrel NOBITS 0000000000203a00 000930 000004 00 WA 0 0 256 +83: + on_exit +83: + echo OK +83: OK +83: + exit 0 +97: + cat +103: + readelf --dynamic out/test/x86_64/disable-new-dtags/b.so test 108 Start 108: x86_64-dt-needed @@ -7970,21 +7992,7 @@ 108: MACHINE=x86_64 108: CPU= 108: Test timeout computed to be: 1500 - 97/402 Test #101: x86_64-dependency-file-response-file .................. Passed 0.18 sec -107: +++ uname -107: ++ '[' Linux = FreeBSD ']' -107: ++ trap 'on_error $LINENO' ERR -107: ++ trap on_exit EXIT -107: ++ echo -n 'Testing dt-init ... ' -107: Testing dt-init ... ++ set -o pipefail -107: ++ set -x -107: + '[' x86_64 = riscv64 -o x86_64 = riscv32 ']' -107: + [[ x86_64 = loongarch* ]] -107: + '[' x86_64 = arm -o x86_64 = aarch64 ']' -107: + cat -107: + cc -c -fPIC -o out/test/x86_64/dt-init/a.o -xc - -105: + grep -F foo out/test/x86_64/discard/log -105: 13: 0000000000201211 0 NOTYPE LOCAL DEFAULT 3 foo + 97/402 Test #83: x86_64-copyrel-alignment .............................. Passed 0.84 sec test 109 Start 109: x86_64-duplicate-error-archive @@ -7994,36 +8002,42 @@ 109: MACHINE=x86_64 109: CPU= 109: Test timeout computed to be: 1500 -104: + cc -B. -o out/test/x86_64/discard-section/exe0 out/test/x86_64/discard-section/a.o -97: /tmp/cczkvdrv.s: Assembler messages: -97: /tmp/cczkvdrv.s:23: Warning: setting incorrect section attributes for .comment -97: + grep -F ns::versionv -97: + not cc -B. -o out/test/x86_64/demangle-cpp/exe2 out/test/x86_64/demangle-cpp/b.o -102: + grep 'dependency-file/exe:.*/a.o ' out/test/x86_64/dependency-file/dep -102: out/test/x86_64/dependency-file/exe: /usr/lib/x86_64-linux-gnu/Scrt1.o /usr/lib/x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/14/crtbeginS.o out/test/x86_64/dependency-file/a.o /usr/lib/gcc/x86_64-linux-gnu/14/libgcc.a /usr/lib/gcc/x86_64-linux-gnu/14/libgcc_s.so /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 /usr/lib/x86_64-linux-gnu/libc.so /lib/x86_64-linux-gnu/libc.so.6 /usr/lib/x86_64-linux-gnu/libc_nonshared.a /lib64/ld-linux-x86-64.so.2 /usr/lib/gcc/x86_64-linux-gnu/14/crtendS.o /usr/lib/x86_64-linux-gnu/crtn.o -102: + grep '.*/a.o:$' out/test/x86_64/dependency-file/dep -102: out/test/x86_64/dependency-file/a.o: -102: + on_exit -102: + echo OK -102: OK -102: + exit 0 -99: mold: error: undefined symbol: foo(int, int) -99: + not cc -B. -o out/test/x86_64/demangle/exe out/test/x86_64/demangle/a.o -99: + grep -E 'undefined symbol: foo\(int, int\)$' -105: + grep -F .Lbar out/test/x86_64/discard/log -105: 14: 0000000000201212 0 NOTYPE LOCAL DEFAULT 3 .Lbar +103: + grep 'RUNPATH.*/foo' +103: 0x000000000000001d (RUNPATH) Library runpath: [/foo] +103: + cc -B. -shared -o out/test/x86_64/disable-new-dtags/b.so out/test/x86_64/disable-new-dtags/a.o -Wl,-rpath=/foo -Wl,-disable-new-dtags +103: + grep 'RPATH.*/foo' +103: + readelf --dynamic out/test/x86_64/disable-new-dtags/b.so +103: 0x000000000000000f (RPATH) Library rpath: [/foo] +103: + on_exit +103: + echo OK +103: OK +103: + exit 0 +106: + cc -fPIC -o out/test/x86_64/dso-undef/a.o -c -xc - +107: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/dt-init.sh +107: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +107: ++ export LC_ALL=C +107: ++ LC_ALL=C +107: ++ '[' -z x86_64 ']' +107: ++ '[' -z '' ']' +107: ++ TESTDIR=out/test/x86_64 +107: ++ CC=cc +107: ++ CXX=c++ +107: ++ GCC=gcc +107: ++ GXX=g++ +107: ++ OBJDUMP=objdump +107: ++ OBJCOPY=objcopy +107: ++ STRIP=strip +107: ++ QEMU= +107: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/dt-init.sh .sh +107: ++ testname=dt-init +107: ++ t=out/test/x86_64/dt-init +107: ++ mkdir -p out/test/x86_64/dt-init +98: mold: error: undefined symbol: as core::iter::iterator::Iterator>::rposition::::{closure#0} +98: + on_exit +98: + echo OK +98: OK +98: + exit 0 108: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/dt-needed.sh - 98/402 Test #102: x86_64-dependency-file ................................ Passed 0.18 sec -105: + ./mold -o out/test/x86_64/discard/exe out/test/x86_64/discard/a.o --discard-locals -test 110 - Start 110: x86_64-duplicate-error-gc-sections - -110: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/duplicate-error-gc-sections.sh" -110: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -110: Environment variables: -110: MACHINE=x86_64 -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 @@ -8042,29 +8056,56 @@ 108: ++ testname=dt-needed 108: ++ t=out/test/x86_64/dt-needed 108: ++ mkdir -p out/test/x86_64/dt-needed -110: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/duplicate-error-gc-sections.sh -109: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/duplicate-error-archive.sh 108: ++ case $MACHINE in 108: ++ tlsdesc_opt=-mtls-dialect=gnu2 -110: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -110: ++ export LC_ALL=C -110: ++ LC_ALL=C 108: +++ uname -110: ++ '[' -z x86_64 ']' +108: ++ '[' Linux = FreeBSD ']' +108: ++ trap 'on_error $LINENO' ERR +108: ++ trap on_exit EXIT +108: ++ echo -n 'Testing dt-needed ... ' +108: Testing dt-needed ... ++ set -o pipefail +108: ++ set -x +108: + cat +108: + cc -c -o out/test/x86_64/dt-needed/a.o -xc - + 98/402 Test #98: x86_64-demangle-rust .................................. Passed 0.21 sec + 99/402 Test #103: x86_64-disable-new-dtags .............................. Passed 0.14 sec +test 110 + Start 110: x86_64-duplicate-error-gc-sections + +110: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/duplicate-error-gc-sections.sh" +110: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +110: Environment variables: +110: MACHINE=x86_64 +110: CPU= +110: Test timeout computed to be: 1500 +test 111 + Start 111: x86_64-duplicate-error-lto + +111: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/duplicate-error-lto.sh" +111: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +111: Environment variables: +111: MACHINE=x86_64 +111: CPU= +111: Test timeout computed to be: 1500 +107: ++ case $MACHINE in +107: ++ tlsdesc_opt=-mtls-dialect=gnu2 +107: +++ uname +107: ++ '[' Linux = FreeBSD ']' +107: ++ trap 'on_error $LINENO' ERR +107: ++ trap on_exit EXIT +107: ++ echo -n 'Testing dt-init ... ' +107: Testing dt-init ... ++ set -o pipefail +107: ++ set -x +107: + '[' x86_64 = riscv64 -o x86_64 = riscv32 ']' +107: + [[ x86_64 = loongarch* ]] +107: + '[' x86_64 = arm -o x86_64 = aarch64 ']' +107: + cc -c -fPIC -o out/test/x86_64/dt-init/a.o -xc - +107: + cat +109: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/duplicate-error-archive.sh 109: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 109: ++ export LC_ALL=C 109: ++ LC_ALL=C 109: ++ '[' -z x86_64 ']' -110: ++ '[' -z '' ']' -110: ++ TESTDIR=out/test/x86_64 -110: ++ CC=cc -110: ++ CXX=c++ -110: ++ GCC=gcc -110: ++ GXX=g++ -110: ++ OBJDUMP=objdump -110: ++ OBJCOPY=objcopy -110: ++ STRIP=strip -110: ++ QEMU= 109: ++ '[' -z '' ']' 109: ++ TESTDIR=out/test/x86_64 109: ++ CC=cc @@ -8075,93 +8116,42 @@ 109: ++ OBJCOPY=objcopy 109: ++ STRIP=strip 109: ++ QEMU= -108: ++ '[' Linux = FreeBSD ']' -110: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/duplicate-error-gc-sections.sh .sh -108: ++ trap 'on_error $LINENO' ERR -108: ++ trap on_exit EXIT -108: ++ echo -n 'Testing dt-needed ... ' -108: Testing dt-needed ... ++ set -o pipefail -108: ++ set -x -108: + cc -c -o out/test/x86_64/dt-needed/a.o -xc - 109: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/duplicate-error-archive.sh .sh -110: ++ testname=duplicate-error-gc-sections -110: ++ t=out/test/x86_64/duplicate-error-gc-sections -110: ++ mkdir -p out/test/x86_64/duplicate-error-gc-sections -108: + cat 109: ++ testname=duplicate-error-archive 109: ++ t=out/test/x86_64/duplicate-error-archive 109: ++ mkdir -p out/test/x86_64/duplicate-error-archive -110: ++ case $MACHINE in -110: ++ tlsdesc_opt=-mtls-dialect=gnu2 -110: +++ uname -105: + readelf --symbols out/test/x86_64/discard/exe 109: ++ case $MACHINE in 109: ++ tlsdesc_opt=-mtls-dialect=gnu2 109: +++ uname -110: ++ '[' Linux = FreeBSD ']' -110: ++ trap 'on_error $LINENO' ERR -110: ++ trap on_exit EXIT -110: ++ echo -n 'Testing duplicate-error-gc-sections ... ' -110: Testing duplicate-error-gc-sections ... ++ set -o pipefail -110: ++ set -x -110: + nm mold -110: + grep __tsan_init 109: ++ '[' Linux = FreeBSD ']' 109: ++ trap 'on_error $LINENO' ERR 109: ++ trap on_exit EXIT 109: ++ echo -n 'Testing duplicate-error-archive ... ' 109: Testing duplicate-error-archive ... ++ set -o pipefail 109: ++ set -x -109: + cat -103: + grep 'RUNPATH.*/foo' -103: + readelf --dynamic out/test/x86_64/disable-new-dtags/b.so 109: + cc -o out/test/x86_64/duplicate-error-archive/a.o -c -xc - -103: 0x000000000000001d (RUNPATH) Library runpath: [/foo] -103: + cc -B. -shared -o out/test/x86_64/disable-new-dtags/b.so out/test/x86_64/disable-new-dtags/a.o -Wl,-rpath=/foo -Wl,-disable-new-dtags -104: + grep -F .foo -104: + readelf -SW out/test/x86_64/discard-section/exe0 -104: [25] .foo PROGBITS 00000000000038a8 0008a8 000004 00 WA 0 0 4 -104: + readelf -SW out/test/x86_64/discard-section/exe0 -104: + grep -F .bar -104: [23] .bar PROGBITS 0000000000003890 000890 000004 00 WA 0 0 4 -104: + cc -B. -o out/test/x86_64/discard-section/exe1 out/test/x86_64/discard-section/a.o -Wl,--discard-section=.foo -106: + cat -99: mold: error: undefined symbol: foo(int, int) -106: + cc -o out/test/x86_64/dso-undef/c.o -c -xc - -99: + cat -99: + cc -c -o out/test/x86_64/demangle/b.o -xc - -97: mold: error: undefined symbol: ns::versionv -97: + on_exit -97: + echo OK -97: OK -97: + exit 0 - 99/402 Test #97: x86_64-demangle-cpp ................................... Passed 0.35 sec -105: + grep -F _start out/test/x86_64/discard/log -test 111 - Start 111: x86_64-duplicate-error-lto - -111: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/duplicate-error-lto.sh" -111: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -111: Environment variables: -111: MACHINE=x86_64 -111: CPU= -111: Test timeout computed to be: 1500 -105: 14: 0000000000201210 0 NOTYPE LOCAL DEFAULT 3 _start -105: 15: 0000000000200000 0 NOTYPE LOCAL DEFAULT 1 __ehdr_start -105: 16: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __init_array_start -105: 18: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __fini_array_start -105: 20: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __preinit_array_start -105: 25: 0000000000203238 0 NOTYPE LOCAL DEFAULT 8 __bss_start -105: 29: 0000000000200000 0 NOTYPE LOCAL DEFAULT 1 __executable_start -105: 30: 0000000000000000 0 NOTYPE LOCAL DEFAULT ABS __rela_iplt_start -105: 38: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __start_EHDR -105: 40: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __start_PHDR -105: + grep -F foo out/test/x86_64/discard/log -105: 13: 0000000000201211 0 NOTYPE LOCAL DEFAULT 3 foo -105: + not grep -F .Lbar out/test/x86_64/discard/log -105: + grep -F .Lbar out/test/x86_64/discard/log -105: + return 0 -105: + ./mold -o out/test/x86_64/discard/exe out/test/x86_64/discard/a.o --discard-all +109: + cat +110: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/duplicate-error-gc-sections.sh +110: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +110: ++ export LC_ALL=C +110: ++ LC_ALL=C +110: ++ '[' -z x86_64 ']' +110: ++ '[' -z '' ']' +110: ++ TESTDIR=out/test/x86_64 +110: ++ CC=cc +110: ++ CXX=c++ +110: ++ GCC=gcc +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/duplicate-error-gc-sections.sh .sh +110: ++ testname=duplicate-error-gc-sections +110: ++ t=out/test/x86_64/duplicate-error-gc-sections +110: ++ mkdir -p out/test/x86_64/duplicate-error-gc-sections +110: ++ case $MACHINE in +110: ++ tlsdesc_opt=-mtls-dialect=gnu2 111: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/duplicate-error-lto.sh 111: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 111: ++ export LC_ALL=C @@ -8181,34 +8171,74 @@ 111: ++ testname=duplicate-error-lto 111: ++ t=out/test/x86_64/duplicate-error-lto 111: ++ mkdir -p out/test/x86_64/duplicate-error-lto -108: + cc -B. -shared -o out/test/x86_64/dt-needed/libfoo.so out/test/x86_64/dt-needed/a.o -Wl,--soname,libfoo -107: + cat 111: ++ case $MACHINE in 111: ++ tlsdesc_opt=-mtls-dialect=gnu2 -107: + cc -c -fPIC -o out/test/x86_64/dt-init/b.o -xc - 111: +++ uname -109: + rm -f out/test/x86_64/duplicate-error-archive/b.a -109: + ar rcs out/test/x86_64/duplicate-error-archive/b.a out/test/x86_64/duplicate-error-archive/a.o -106: + rm -f out/test/x86_64/dso-undef/d.a -103: + readelf --dynamic out/test/x86_64/disable-new-dtags/b.so -103: + grep 'RPATH.*/foo' 111: ++ '[' Linux = FreeBSD ']' 111: ++ trap 'on_error $LINENO' ERR 111: ++ trap on_exit EXIT 111: ++ echo -n 'Testing duplicate-error-lto ... ' 111: Testing duplicate-error-lto ... ++ set -o pipefail 111: ++ set -x -106: + ar rcs out/test/x86_64/dso-undef/d.a out/test/x86_64/dso-undef/c.o -105: + readelf --symbols out/test/x86_64/discard/exe 111: + nm mold -99: + not cc -B. -o out/test/x86_64/demangle/exe out/test/x86_64/demangle/b.o -Wl,-demangle -103: 0x000000000000000f (RPATH) Library rpath: [/foo] -103: + on_exit -103: + echo OK -103: OK -103: + exit 0 -100/402 Test #103: x86_64-disable-new-dtags .............................. Passed 0.27 sec -99: + grep 'undefined symbol: Pi$' +110: +++ uname +111: + grep __tsan_init +110: ++ '[' Linux = FreeBSD ']' +110: ++ trap 'on_error $LINENO' ERR +110: ++ trap on_exit EXIT +110: ++ echo -n 'Testing duplicate-error-gc-sections ... ' +110: Testing duplicate-error-gc-sections ... ++ set -o pipefail +110: ++ set -x +110: + nm mold +110: + grep __tsan_init +99: mold: error: undefined symbol: _Z3fooii +99: + grep -E 'undefined symbol: foo\(int, int\)$' +99: + not cc -B. -o out/test/x86_64/demangle/exe out/test/x86_64/demangle/a.o -Wl,-demangle +105: + grep -F _start out/test/x86_64/discard/log +105: 14: 0000000000201210 0 NOTYPE LOCAL DEFAULT 3 _start +105: 15: 0000000000200000 0 NOTYPE LOCAL DEFAULT 1 __ehdr_start +105: 16: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __init_array_start +105: 18: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __fini_array_start +105: 20: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __preinit_array_start +105: 25: 0000000000203238 0 NOTYPE LOCAL DEFAULT 8 __bss_start +105: 29: 0000000000200000 0 NOTYPE LOCAL DEFAULT 1 __executable_start +105: 30: 0000000000000000 0 NOTYPE LOCAL DEFAULT ABS __rela_iplt_start +105: 38: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __start_EHDR +105: 40: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __start_PHDR +105: + grep -F foo out/test/x86_64/discard/log +97: /tmp/ccVp57wF.s: Assembler messages: +97: /tmp/ccVp57wF.s:23: Warning: setting incorrect section attributes for .comment +108: + cc -B. -shared -o out/test/x86_64/dt-needed/libfoo.so out/test/x86_64/dt-needed/a.o -Wl,--soname,libfoo +106: + cc -B. -o out/test/x86_64/dso-undef/b.so -shared out/test/x86_64/dso-undef/a.o +93: + cc -B. -flto -o out/test/x86_64/defsym-lto/exe out/test/x86_64/defsym-lto/a.o -Wl,-defsym,live_func=dead_func +97: + grep -F ns::versionv +109: + rm -f out/test/x86_64/duplicate-error-archive/b.a +97: + not cc -B. -o out/test/x86_64/demangle-cpp/exe2 out/test/x86_64/demangle-cpp/b.o +104: + cc -B. -o out/test/x86_64/discard-section/exe0 out/test/x86_64/discard-section/a.o +107: + cc -c -fPIC -o out/test/x86_64/dt-init/b.o -xc - +105: 13: 0000000000201211 0 NOTYPE LOCAL DEFAULT 3 foo +105: + not grep -F .Lbar out/test/x86_64/discard/log +105: + grep -F .Lbar out/test/x86_64/discard/log +111: + test_cflags -flto +111: + cc -B. -flto -o /dev/null -xc - +111: + echo 'int main() {}' +107: + cat +109: + ar rcs out/test/x86_64/duplicate-error-archive/b.a out/test/x86_64/duplicate-error-archive/a.o +105: + return 0 +105: + ./mold -o out/test/x86_64/discard/exe out/test/x86_64/discard/a.o --discard-all +99: mold: error: undefined symbol: foo(int, int) +99: + not cc -B. -o out/test/x86_64/demangle/exe out/test/x86_64/demangle/a.o +110: + cat +110: + cc -o out/test/x86_64/duplicate-error-gc-sections/a.o -c -xc - +99: + grep -E 'undefined symbol: foo\(int, int\)$' +109: + cat +105: + readelf --symbols out/test/x86_64/discard/exe +97: mold: error: undefined symbol: ns::versionv +97: + on_exit +97: + echo OK +97: OK +97: + exit 0 +100/402 Test #97: x86_64-demangle-cpp ................................... Passed 0.47 sec test 112 Start 112: x86_64-duplicate-error @@ -8218,18 +8248,10 @@ 112: MACHINE=x86_64 112: CPU= 112: Test timeout computed to be: 1500 -111: + grep __tsan_init -104: + readelf -SW out/test/x86_64/discard-section/exe1 -104: + not grep -F .foo -104: + grep -F .foo -104: + return 0 -93: + cat -93: + cc -flto -fPIC -o out/test/x86_64/defsym-lto/a.o -c -xc - -104: + readelf -SW out/test/x86_64/discard-section/exe1 -104: + grep -F .bar +109: + cc -o out/test/x86_64/duplicate-error-archive/c.o -c -xc - +106: + cat +106: + cc -o out/test/x86_64/dso-undef/c.o -c -xc - 112: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/duplicate-error.sh -104: [23] .bar PROGBITS 0000000000003890 000890 000004 00 WA 0 0 4 -104: + cc -B. -o out/test/x86_64/discard-section/exe2 out/test/x86_64/discard-section/a.o -Wl,--discard-section=.foo,--discard-section=.bar,--no-discard-section=.foo 112: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 112: ++ export LC_ALL=C 112: ++ LC_ALL=C @@ -8248,56 +8270,33 @@ 112: ++ testname=duplicate-error 112: ++ t=out/test/x86_64/duplicate-error 112: ++ mkdir -p out/test/x86_64/duplicate-error -105: + grep -F _start out/test/x86_64/discard/log -110: + cat -110: + cc -o out/test/x86_64/duplicate-error-gc-sections/a.o -c -xc - -105: 13: 0000000000201210 0 NOTYPE LOCAL DEFAULT 3 _start -105: 14: 0000000000200000 0 NOTYPE LOCAL DEFAULT 1 __ehdr_start -105: 15: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __init_array_start -105: 17: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __fini_array_start -105: 19: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __preinit_array_start -105: 24: 0000000000203238 0 NOTYPE LOCAL DEFAULT 8 __bss_start -105: 28: 0000000000200000 0 NOTYPE LOCAL DEFAULT 1 __executable_start -105: 29: 0000000000000000 0 NOTYPE LOCAL DEFAULT ABS __rela_iplt_start -105: 37: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __start_EHDR -105: 39: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __start_PHDR -105: + not grep -F foo out/test/x86_64/discard/log -105: + grep -F foo out/test/x86_64/discard/log 112: ++ case $MACHINE in 112: ++ tlsdesc_opt=-mtls-dialect=gnu2 -109: + cat 112: +++ uname -106: + cat -109: + cc -o out/test/x86_64/duplicate-error-archive/c.o -c -xc - -105: + return 0 -105: + not grep -F .Lbar out/test/x86_64/discard/log -105: + grep -F .Lbar out/test/x86_64/discard/log 112: ++ '[' Linux = FreeBSD ']' 112: ++ trap 'on_error $LINENO' ERR -106: + cc -o out/test/x86_64/dso-undef/e.o -c -xc - -105: + return 0 -105: + ./mold -o out/test/x86_64/discard/exe out/test/x86_64/discard/a.o --strip-all 112: ++ trap on_exit EXIT 112: ++ echo -n 'Testing duplicate-error ... ' 112: Testing duplicate-error ... ++ set -o pipefail 112: ++ set -x 112: + cat -107: + cc -B. -o out/test/x86_64/dt-init/c.so -shared out/test/x86_64/dt-init/b.o -108: + cc -B. -shared -o out/test/x86_64/dt-needed/libbar.so out/test/x86_64/dt-needed/a.o +104: + grep -F .foo 112: + cc -o out/test/x86_64/duplicate-error/a.o -c -x assembler - +104: + readelf -SW out/test/x86_64/discard-section/exe0 112: + not ./mold -o out/test/x86_64/duplicate-error/exe out/test/x86_64/duplicate-error/a.o out/test/x86_64/duplicate-error/a.o 112: + grep 'duplicate symbol: .*\.o: .*\.o: main' -105: + readelf --symbols out/test/x86_64/discard/exe -99: mold: error: undefined symbol: Pi -99: + on_exit -99: + echo OK -99: OK -99: + exit 0 -100: + cat -101/402 Test #99: x86_64-demangle ....................................... Passed 0.42 sec -100: + cc -flto -o out/test/x86_64/dependency-file-lto/a.o -c -xc - -105: + not grep -F _start out/test/x86_64/discard/log -105: + grep -F _start out/test/x86_64/discard/log +104: [25] .foo PROGBITS 00000000000038a8 0008a8 000004 00 WA 0 0 4 +104: + readelf -SW out/test/x86_64/discard-section/exe0 +108: + cc -B. -shared -o out/test/x86_64/dt-needed/libbar.so out/test/x86_64/dt-needed/a.o +104: + grep -F .bar +104: [23] .bar PROGBITS 0000000000003890 000890 000004 00 WA 0 0 4 +104: + cc -B. -o out/test/x86_64/discard-section/exe1 out/test/x86_64/discard-section/a.o -Wl,--discard-section=.foo +112: mold: error: duplicate symbol: out/test/x86_64/duplicate-error/a.o: out/test/x86_64/duplicate-error/a.o: main +112: + on_exit +112: + echo OK +112: OK +112: + exit 0 +101/402 Test #112: x86_64-duplicate-error ................................ Passed 0.03 sec test 113 Start 113: x86_64-dynamic-dt-debug @@ -8307,50 +8306,7 @@ 113: MACHINE=x86_64 113: CPU= 113: Test timeout computed to be: 1500 -112: mold: error: duplicate symbol: out/test/x86_64/duplicate-error/a.o: out/test/x86_64/duplicate-error/a.o: main -112: + on_exit -112: + echo OK -112: OK -112: + exit 0 -102/402 Test #112: x86_64-duplicate-error ................................ Passed 0.08 sec -93: + cc -B. -flto -o out/test/x86_64/defsym-lto/exe out/test/x86_64/defsym-lto/a.o -Wl,-defsym,live_func=dead_func -110: + cat -110: + cc -o out/test/x86_64/duplicate-error-gc-sections/b.o -c -xc - -test 114 - Start 114: x86_64-dynamic-linker - -114: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-linker.sh" -114: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -114: Environment variables: -114: MACHINE=x86_64 -114: CPU= -114: Test timeout computed to be: 1500 -105: + return 0 -105: + not grep -F foo out/test/x86_64/discard/log -105: + grep -F foo out/test/x86_64/discard/log -105: + return 0 -105: + not grep -F .Lbar out/test/x86_64/discard/log -105: + grep -F .Lbar out/test/x86_64/discard/log -109: + cc -B. -o out/test/x86_64/duplicate-error-archive/exe out/test/x86_64/duplicate-error-archive/c.o out/test/x86_64/duplicate-error-archive/b.a out/test/x86_64/duplicate-error-archive/b.a -106: + cc -B. -o out/test/x86_64/dso-undef/exe out/test/x86_64/dso-undef/b.so out/test/x86_64/dso-undef/d.a out/test/x86_64/dso-undef/e.o 113: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-dt-debug.sh -108: + cat -108: + cc -c -o out/test/x86_64/dt-needed/b.o -xc - -105: + return 0 -105: + on_exit -105: + echo OK -105: OK -105: + exit 0 -103/402 Test #105: x86_64-discard ........................................ Passed 0.34 sec -test 115 - Start 115: x86_64-dynamic-list-data - -115: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-list-data.sh" -115: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -115: Environment variables: -115: MACHINE=x86_64 -115: CPU= -115: Test timeout computed to be: 1500 113: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 113: ++ export LC_ALL=C 113: ++ LC_ALL=C @@ -8365,7 +8321,55 @@ 113: ++ OBJCOPY=objcopy 113: ++ STRIP=strip 113: ++ QEMU= +99: mold: error: undefined symbol: foo(int, int) +99: + cat 113: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-dt-debug.sh .sh +113: ++ testname=dynamic-dt-debug +113: ++ t=out/test/x86_64/dynamic-dt-debug +113: ++ mkdir -p out/test/x86_64/dynamic-dt-debug +108: + cc -c -o out/test/x86_64/dt-needed/b.o -xc - +108: + cat +113: ++ case $MACHINE in +113: ++ tlsdesc_opt=-mtls-dialect=gnu2 +113: +++ uname +113: ++ '[' Linux = FreeBSD ']' +113: ++ trap 'on_error $LINENO' ERR +113: ++ trap on_exit EXIT +113: ++ echo -n 'Testing dynamic-dt-debug ... ' +113: Testing dynamic-dt-debug ... ++ set -o pipefail +113: ++ set -x +113: + cc -o out/test/x86_64/dynamic-dt-debug/a.o -c -xc - +113: + cat +104: + readelf -SW out/test/x86_64/discard-section/exe1 +104: + not grep -F .foo +104: + grep -F .foo +99: + cc -c -o out/test/x86_64/demangle/b.o -xc - +104: + return 0 +104: + readelf -SW out/test/x86_64/discard-section/exe1 +104: + grep -F .bar +104: [23] .bar PROGBITS 0000000000003890 000890 000004 00 WA 0 0 4 +104: + cc -B. -o out/test/x86_64/discard-section/exe2 out/test/x86_64/discard-section/a.o -Wl,--discard-section=.foo,--discard-section=.bar,--no-discard-section=.foo +104: + readelf -SW out/test/x86_64/discard-section/exe2 +104: + grep -F .foo +104: [24] .foo PROGBITS 00000000000038a0 0008a0 000004 00 WA 0 0 4 +104: + readelf -SW out/test/x86_64/discard-section/exe2 +104: + not grep -F .bar +104: + grep -F .bar +104: + return 0 +104: + on_exit +104: + echo OK +104: OK +104: + exit 0 +102/402 Test #104: x86_64-discard-section ................................ Passed 0.60 sec +test 114 + Start 114: x86_64-dynamic-linker + +114: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-linker.sh" +114: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +114: Environment variables: +114: MACHINE=x86_64 +114: CPU= +114: Test timeout computed to be: 1500 114: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-linker.sh 114: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 114: ++ export LC_ALL=C @@ -8382,19 +8386,57 @@ 114: ++ STRIP=strip 114: ++ QEMU= 114: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-linker.sh .sh -113: ++ testname=dynamic-dt-debug -113: ++ t=out/test/x86_64/dynamic-dt-debug -113: ++ mkdir -p out/test/x86_64/dynamic-dt-debug 114: ++ testname=dynamic-linker 114: ++ t=out/test/x86_64/dynamic-linker 114: ++ mkdir -p out/test/x86_64/dynamic-linker 114: ++ case $MACHINE in 114: ++ tlsdesc_opt=-mtls-dialect=gnu2 -115: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-list-data.sh -113: ++ case $MACHINE in -113: ++ tlsdesc_opt=-mtls-dialect=gnu2 114: +++ uname -113: +++ uname +114: ++ '[' Linux = FreeBSD ']' +114: ++ trap 'on_error $LINENO' ERR +114: ++ trap on_exit EXIT +114: ++ echo -n 'Testing dynamic-linker ... ' +114: Testing dynamic-linker ... ++ set -o pipefail +114: ++ set -x +114: + cat +114: + cc -c -o out/test/x86_64/dynamic-linker/a.o -x assembler - +114: + ./mold -o out/test/x86_64/dynamic-linker/exe out/test/x86_64/dynamic-linker/a.o +114: + readelf --sections out/test/x86_64/dynamic-linker/exe +114: + not grep -F .interp +114: + grep -F .interp +114: + return 0 +114: + ./mold -o out/test/x86_64/dynamic-linker/exe out/test/x86_64/dynamic-linker/a.o --dynamic-linker=/foo/bar +114: + readelf --sections out/test/x86_64/dynamic-linker/exe +114: + grep -F .interp +114: [ 1] .interp PROGBITS 0000000000200238 00000238 +114: + on_exit +114: + echo OK +114: OK +114: + exit 0 +103/402 Test #114: x86_64-dynamic-linker ................................. Passed 0.15 sec +test 115 + Start 115: x86_64-dynamic-list-data + +115: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-list-data.sh" +115: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +115: Environment variables: +115: MACHINE=x86_64 +115: CPU= +115: Test timeout computed to be: 1500 +105: + grep -F _start out/test/x86_64/discard/log +115: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-list-data.sh +105: 13: 0000000000201210 0 NOTYPE LOCAL DEFAULT 3 _start +105: 14: 0000000000200000 0 NOTYPE LOCAL DEFAULT 1 __ehdr_start +105: 15: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __init_array_start +105: 17: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __fini_array_start +105: 19: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __preinit_array_start +105: 24: 0000000000203238 0 NOTYPE LOCAL DEFAULT 8 __bss_start +105: 28: 0000000000200000 0 NOTYPE LOCAL DEFAULT 1 __executable_start +105: 29: 0000000000000000 0 NOTYPE LOCAL DEFAULT ABS __rela_iplt_start +105: 37: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __start_EHDR +105: 39: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __start_PHDR +105: + not grep -F foo out/test/x86_64/discard/log +105: + grep -F foo out/test/x86_64/discard/log 115: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 115: ++ export LC_ALL=C 115: ++ LC_ALL=C @@ -8409,52 +8451,54 @@ 115: ++ OBJCOPY=objcopy 115: ++ STRIP=strip 115: ++ QEMU= +113: + cc -B. -o out/test/x86_64/dynamic-dt-debug/exe out/test/x86_64/dynamic-dt-debug/a.o +109: + cc -B. -o out/test/x86_64/duplicate-error-archive/exe out/test/x86_64/duplicate-error-archive/c.o out/test/x86_64/duplicate-error-archive/b.a out/test/x86_64/duplicate-error-archive/b.a +110: + cat +110: + cc -o out/test/x86_64/duplicate-error-gc-sections/b.o -c -xc - 115: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-list-data.sh .sh -107: + cc -B. -o out/test/x86_64/dt-init/d.so -shared out/test/x86_64/dt-init/b.o -Wl,-init,init -Wl,-fini,fini -114: ++ '[' Linux = FreeBSD ']' -114: ++ trap 'on_error $LINENO' ERR -114: ++ trap on_exit EXIT -114: ++ echo -n 'Testing dynamic-linker ... ' -114: Testing dynamic-linker ... ++ set -o pipefail -114: ++ set -x -114: + cat -114: + cc -c -o out/test/x86_64/dynamic-linker/a.o -x assembler - -113: ++ '[' Linux = FreeBSD ']' -113: ++ trap 'on_error $LINENO' ERR -113: ++ trap on_exit EXIT -113: ++ echo -n 'Testing dynamic-dt-debug ... ' -113: Testing dynamic-dt-debug ... ++ set -o pipefail -113: ++ set -x -113: + cat -104: + grep -F .foo -104: + readelf -SW out/test/x86_64/discard-section/exe2 115: ++ testname=dynamic-list-data 115: ++ t=out/test/x86_64/dynamic-list-data 115: ++ mkdir -p out/test/x86_64/dynamic-list-data -104: [24] .foo PROGBITS 00000000000038a0 0008a0 000004 00 WA 0 0 4 -113: + cc -o out/test/x86_64/dynamic-dt-debug/a.o -c -xc - +105: + return 0 +105: + not grep -F .Lbar out/test/x86_64/discard/log +105: + grep -F .Lbar out/test/x86_64/discard/log +107: + cc -B. -o out/test/x86_64/dt-init/c.so -shared out/test/x86_64/dt-init/b.o +108: + cc -B. -o out/test/x86_64/dt-needed/exe out/test/x86_64/dt-needed/b.o out/test/x86_64/dt-needed/libfoo.so +106: + rm -f out/test/x86_64/dso-undef/d.a +99: + not cc -B. -o out/test/x86_64/demangle/exe out/test/x86_64/demangle/b.o -Wl,-demangle 115: ++ case $MACHINE in 115: ++ tlsdesc_opt=-mtls-dialect=gnu2 +106: + ar rcs out/test/x86_64/dso-undef/d.a out/test/x86_64/dso-undef/c.o +105: + return 0 +105: + ./mold -o out/test/x86_64/discard/exe out/test/x86_64/discard/a.o --strip-all +99: + grep 'undefined symbol: Pi$' 115: +++ uname -104: + readelf -SW out/test/x86_64/discard-section/exe2 -104: + not grep -F .bar -104: + grep -F .bar 115: ++ '[' Linux = FreeBSD ']' 115: ++ trap 'on_error $LINENO' ERR 115: ++ trap on_exit EXIT 115: ++ echo -n 'Testing dynamic-list-data ... ' 115: Testing dynamic-list-data ... ++ set -o pipefail 115: ++ set -x -104: + return 0 -104: + on_exit +107: + cc -B. -o out/test/x86_64/dt-init/d.so -shared out/test/x86_64/dt-init/b.o -Wl,-init,init -Wl,-fini,fini 115: + cat -110: + not cc -B. -o out/test/x86_64/duplicate-error-gc-sections/exe1 out/test/x86_64/duplicate-error-gc-sections/a.o out/test/x86_64/duplicate-error-gc-sections/a.o out/test/x86_64/duplicate-error-gc-sections/b.o -104: + echo OK -104: OK -104: + exit 0 -110: + grep 'duplicate symbol.*: foo$' -104/402 Test #104: x86_64-discard-section ................................ Passed 0.37 sec 115: + cc -o out/test/x86_64/dynamic-list-data/a.o -c -xc - +109: + not cc -B. -o out/test/x86_64/duplicate-error-archive/exe out/test/x86_64/duplicate-error-archive/c.o -Wl,--push-state,--whole-archive out/test/x86_64/duplicate-error-archive/b.a out/test/x86_64/duplicate-error-archive/b.a -Wl,--pop-state +113: + readelf --dynamic out/test/x86_64/dynamic-dt-debug/exe +105: + readelf --symbols out/test/x86_64/discard/exe +108: + readelf --dynamic out/test/x86_64/dt-needed/exe +113: + grep -F '(DEBUG)' out/test/x86_64/dynamic-dt-debug/log +108: + grep -F 'Shared library: [libfoo]' +108: 0x0000000000000001 (NEEDED) Shared library: [libfoo] +108: + cc -B. -o out/test/x86_64/dt-needed/exe out/test/x86_64/dt-needed/b.o -L out/test/x86_64/dt-needed -lfoo +105: + not grep -F _start out/test/x86_64/discard/log +105: + grep -F _start out/test/x86_64/discard/log +99: mold: error: undefined symbol: Pi +99: + on_exit +99: + echo OK +99: OK +99: + exit 0 +104/402 Test #99: x86_64-demangle ....................................... Passed 0.92 sec +113: 0x0000000000000015 (DEBUG) 0x0 test 116 Start 116: x86_64-dynamic-list @@ -8464,8 +8508,22 @@ 116: MACHINE=x86_64 116: CPU= 116: Test timeout computed to be: 1500 +113: + cat +113: + cc -o out/test/x86_64/dynamic-dt-debug/b.o -c -xc - +107: + cc -B. -o out/test/x86_64/dt-init/exe1 out/test/x86_64/dt-init/a.o out/test/x86_64/dt-init/c.so +105: + return 0 +105: + not grep -F foo out/test/x86_64/discard/log +105: + grep -F foo out/test/x86_64/discard/log 116: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-list.sh -114: + ./mold -o out/test/x86_64/dynamic-linker/exe out/test/x86_64/dynamic-linker/a.o +107: + cc -B. -o out/test/x86_64/dt-init/exe2 out/test/x86_64/dt-init/a.o out/test/x86_64/dt-init/d.so +105: + return 0 +105: + not grep -F .Lbar out/test/x86_64/discard/log +105: + grep -F .Lbar out/test/x86_64/discard/log +105: + return 0 +105: + on_exit +105: + echo OK +105: OK +105: + exit 0 116: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 116: ++ export LC_ALL=C 116: ++ LC_ALL=C @@ -8484,35 +8542,11 @@ 116: ++ testname=dynamic-list 116: ++ t=out/test/x86_64/dynamic-list 116: ++ mkdir -p out/test/x86_64/dynamic-list -100: + cc -B. -flto -o out/test/x86_64/dependency-file-lto/exe out/test/x86_64/dependency-file-lto/a.o -Wl,-dependency-file=out/test/x86_64/dependency-file-lto/dep -108: + cc -B. -o out/test/x86_64/dt-needed/exe out/test/x86_64/dt-needed/b.o out/test/x86_64/dt-needed/libfoo.so 116: ++ case $MACHINE in 116: ++ tlsdesc_opt=-mtls-dialect=gnu2 116: +++ uname +105/402 Test #105: x86_64-discard ........................................ Passed 0.87 sec 116: ++ '[' Linux = FreeBSD ']' -116: ++ trap 'on_error $LINENO' ERR -116: ++ trap on_exit EXIT -116: ++ echo -n 'Testing dynamic-list ... ' -116: Testing dynamic-list ... ++ set -o pipefail -116: ++ set -x -116: + cat -116: + cc -o out/test/x86_64/dynamic-list/a.o -c -xc - -107: + cc -B. -o out/test/x86_64/dt-init/exe1 out/test/x86_64/dt-init/a.o out/test/x86_64/dt-init/c.so -114: + readelf --sections out/test/x86_64/dynamic-linker/exe -114: + not grep -F .interp -114: + grep -F .interp -113: + cc -B. -o out/test/x86_64/dynamic-dt-debug/exe out/test/x86_64/dynamic-dt-debug/a.o -109: + not cc -B. -o out/test/x86_64/duplicate-error-archive/exe out/test/x86_64/duplicate-error-archive/c.o -Wl,--push-state,--whole-archive out/test/x86_64/duplicate-error-archive/b.a out/test/x86_64/duplicate-error-archive/b.a -Wl,--pop-state -114: + return 0 -114: + ./mold -o out/test/x86_64/dynamic-linker/exe out/test/x86_64/dynamic-linker/a.o --dynamic-linker=/foo/bar -106: + grep ' foo$' -106: + readelf --dyn-syms out/test/x86_64/dso-undef/exe -106: 4: 0000000000003930 4 OBJECT GLOBAL DEFAULT 23 foo -106: + on_exit -106: + echo OK -106: OK -106: + exit 0 -105/402 Test #106: x86_64-dso-undef ...................................... Passed 0.40 sec test 117 Start 117: x86_64-dynamic-list2 @@ -8522,30 +8556,29 @@ 117: MACHINE=x86_64 117: CPU= 117: Test timeout computed to be: 1500 -114: + readelf --sections out/test/x86_64/dynamic-linker/exe -114: + grep -F .interp -110: mold: error: duplicate symbol: out/test/x86_64/duplicate-error-gc-sections/a.o: out/test/x86_64/duplicate-error-gc-sections/a.o: foo -114: [ 1] .interp PROGBITS 0000000000200238 00000238 -110: + not cc -B. -o out/test/x86_64/duplicate-error-gc-sections/exe2 out/test/x86_64/duplicate-error-gc-sections/a.o out/test/x86_64/duplicate-error-gc-sections/a.o out/test/x86_64/duplicate-error-gc-sections/b.o -Wl,-gc-sections +116: ++ trap 'on_error $LINENO' ERR +116: ++ trap on_exit EXIT +116: ++ echo -n 'Testing dynamic-list ... ' +116: Testing dynamic-list ... ++ set -o pipefail +116: ++ set -x +116: + cc -o out/test/x86_64/dynamic-list/a.o -c -xc - +116: + cat +106: + cc -o out/test/x86_64/dso-undef/e.o -c -xc - +106: + cat +108: + grep -F 'Shared library: [libfoo]' +108: + readelf --dynamic out/test/x86_64/dt-needed/exe +108: 0x0000000000000001 (NEEDED) Shared library: [libfoo] +108: + cc -B. -o out/test/x86_64/dt-needed/exe out/test/x86_64/dt-needed/b.o out/test/x86_64/dt-needed/libbar.so 110: + grep 'duplicate symbol.*: foo$' -114: + on_exit -114: + echo OK -114: OK -114: + exit 0 +110: + not cc -B. -o out/test/x86_64/duplicate-error-gc-sections/exe1 out/test/x86_64/duplicate-error-gc-sections/a.o out/test/x86_64/duplicate-error-gc-sections/a.o out/test/x86_64/duplicate-error-gc-sections/b.o +115: + cc -B. -o out/test/x86_64/dynamic-list-data/exe out/test/x86_64/dynamic-list-data/a.o -Wl,-dynamic-list-data +108: + grep -E 'Shared library: \[.*dt-needed/libbar\.so\]' +108: + readelf --dynamic out/test/x86_64/dt-needed/exe +108: 0x0000000000000001 (NEEDED) Shared library: [out/test/x86_64/dt-needed/libbar.so] +108: + cc -B. -o out/test/x86_64/dt-needed/exe out/test/x86_64/dt-needed/b.o -Lout/test/x86_64/dt-needed -lbar +109: + grep 'duplicate symbol:.* foo' out/test/x86_64/duplicate-error-archive/log 117: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-list2.sh -111: + test_cflags -flto -111: + echo 'int main() {}' -111: + cc -B. -flto -o /dev/null -xc - -106/402 Test #114: x86_64-dynamic-linker ................................. Passed 0.08 sec -test 118 - Start 118: x86_64-dynamic-list3 - -118: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-list3.sh" -118: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -118: Environment variables: -118: MACHINE=x86_64 -118: CPU= -118: Test timeout computed to be: 1500 +109: mold: error: duplicate symbol: out/test/x86_64/duplicate-error-archive/b.a(a.o): out/test/x86_64/duplicate-error-archive/b.a(a.o): foo 117: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 117: ++ export LC_ALL=C 117: ++ LC_ALL=C @@ -8560,21 +8593,35 @@ 117: ++ OBJCOPY=objcopy 117: ++ STRIP=strip 117: ++ QEMU= +109: + on_exit +109: + echo OK +109: OK +109: + exit 0 +106/402 Test #109: x86_64-duplicate-error-archive ........................ Passed 0.83 sec +test 118 + Start 118: x86_64-dynamic-list3 + +118: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-list3.sh" +118: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +118: Environment variables: +118: MACHINE=x86_64 +118: CPU= +118: Test timeout computed to be: 1500 117: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-list2.sh .sh 117: ++ testname=dynamic-list2 117: ++ t=out/test/x86_64/dynamic-list2 117: ++ mkdir -p out/test/x86_64/dynamic-list2 -115: + cc -B. -o out/test/x86_64/dynamic-list-data/exe out/test/x86_64/dynamic-list-data/a.o -Wl,-dynamic-list-data +108: + grep -F 'Shared library: [libbar.so]' +108: + readelf --dynamic out/test/x86_64/dt-needed/exe +108: 0x0000000000000001 (NEEDED) Shared library: [libbar.so] +108: + on_exit +108: + echo OK +108: OK +108: + exit 0 117: ++ case $MACHINE in 117: ++ tlsdesc_opt=-mtls-dialect=gnu2 -117: +++ uname 118: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-list3.sh -117: ++ '[' Linux = FreeBSD ']' -117: ++ trap 'on_error $LINENO' ERR -117: ++ trap on_exit EXIT -117: ++ echo -n 'Testing dynamic-list2 ... ' -117: Testing dynamic-list2 ... ++ set -o pipefail -117: ++ set -x +115: + readelf -W --dyn-syms out/test/x86_64/dynamic-list-data/exe 118: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 118: ++ export LC_ALL=C 118: ++ LC_ALL=C @@ -8589,22 +8636,10 @@ 118: ++ OBJCOPY=objcopy 118: ++ STRIP=strip 118: ++ QEMU= -109: + grep 'duplicate symbol:.* foo' out/test/x86_64/duplicate-error-archive/log -117: + cat -118: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-list3.sh .sh -118: ++ testname=dynamic-list3 -118: ++ t=out/test/x86_64/dynamic-list3 -118: ++ mkdir -p out/test/x86_64/dynamic-list3 -117: + cc -o out/test/x86_64/dynamic-list2/a.o -c -xc - -109: mold: error: duplicate symbol: out/test/x86_64/duplicate-error-archive/b.a(a.o): out/test/x86_64/duplicate-error-archive/b.a(a.o): foo -109: + on_exit -109: + echo OK -109: OK -109: + exit 0 -118: ++ case $MACHINE in -118: ++ tlsdesc_opt=-mtls-dialect=gnu2 -118: +++ uname -107/402 Test #109: x86_64-duplicate-error-archive ........................ Passed 0.29 sec +116: + cc -B. -o out/test/x86_64/dynamic-list/exe out/test/x86_64/dynamic-list/a.o +117: +++ uname +107: + out/test/x86_64/dt-init/exe1 +107/402 Test #108: x86_64-dt-needed ...................................... Passed 0.88 sec test 119 Start 119: x86_64-dynamic-list4 @@ -8614,18 +8649,24 @@ 119: MACHINE=x86_64 119: CPU= 119: Test timeout computed to be: 1500 -118: ++ '[' Linux = FreeBSD ']' -118: ++ trap 'on_error $LINENO' ERR -118: ++ trap on_exit EXIT -118: ++ echo -n 'Testing dynamic-list3 ... ' -118: Testing dynamic-list3 ... ++ set -o pipefail -118: ++ set -x -118: + cat -118: + cat -107: + cc -B. -o out/test/x86_64/dt-init/exe2 out/test/x86_64/dt-init/a.o out/test/x86_64/dt-init/d.so -118: + c++ -fPIC -c -o out/test/x86_64/dynamic-list3/b.o -xc - -116: + cc -B. -o out/test/x86_64/dynamic-list/exe out/test/x86_64/dynamic-list/a.o -113: + readelf --dynamic out/test/x86_64/dynamic-dt-debug/exe +115: + grep -w foo out/test/x86_64/dynamic-list-data/log +115: 6: 0000000000003978 4 OBJECT GLOBAL DEFAULT 23 foo +115: + not grep -w bar out/test/x86_64/dynamic-list-data/log +115: + grep -w bar out/test/x86_64/dynamic-list-data/log +113: + cc -B. -o out/test/x86_64/dynamic-dt-debug/c.so out/test/x86_64/dynamic-dt-debug/b.o -shared +117: ++ '[' Linux = FreeBSD ']' +117: ++ trap 'on_error $LINENO' ERR +117: ++ trap on_exit EXIT +117: ++ echo -n 'Testing dynamic-list2 ... ' +117: Testing dynamic-list2 ... ++ set -o pipefail +117: ++ set -x +117: + cc -o out/test/x86_64/dynamic-list2/a.o -c -xc - +117: + cat +118: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-list3.sh .sh +118: ++ testname=dynamic-list3 +118: ++ t=out/test/x86_64/dynamic-list3 +118: ++ mkdir -p out/test/x86_64/dynamic-list3 +107: + out/test/x86_64/dt-init/exe2 119: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-list4.sh 119: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 119: ++ export LC_ALL=C @@ -8641,31 +8682,14 @@ 119: ++ OBJCOPY=objcopy 119: ++ STRIP=strip 119: ++ QEMU= -119: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-list4.sh .sh -119: ++ testname=dynamic-list4 -119: ++ t=out/test/x86_64/dynamic-list4 -119: ++ mkdir -p out/test/x86_64/dynamic-list4 -119: ++ case $MACHINE in -119: ++ tlsdesc_opt=-mtls-dialect=gnu2 -119: +++ uname -119: ++ '[' Linux = FreeBSD ']' -119: ++ trap 'on_error $LINENO' ERR -119: ++ trap on_exit EXIT -119: ++ echo -n 'Testing dynamic-list4 ... ' -119: Testing dynamic-list4 ... ++ set -o pipefail -119: ++ set -x -119: + cat -113: + grep -F '(DEBUG)' out/test/x86_64/dynamic-dt-debug/log -119: + cc -o out/test/x86_64/dynamic-list4/a.o -c -xc - -fPIC -108: + readelf --dynamic out/test/x86_64/dt-needed/exe -113: 0x0000000000000015 (DEBUG) 0x0 -110: mold: error: duplicate symbol: out/test/x86_64/duplicate-error-gc-sections/a.o: out/test/x86_64/duplicate-error-gc-sections/a.o: foo -110: + on_exit -110: + echo OK -110: OK -110: + exit 0 -108: + grep -F 'Shared library: [libfoo]' -108/402 Test #110: x86_64-duplicate-error-gc-sections .................... Passed 0.32 sec +115: + return 0 +115: + on_exit +115: + echo OK +115: OK +115: + exit 0 +107: + not grep init out/test/x86_64/dt-init/log1 +107: + grep init out/test/x86_64/dt-init/log1 +108/402 Test #115: x86_64-dynamic-list-data .............................. Passed 0.25 sec test 120 Start 120: x86_64-dynamic @@ -8675,14 +8699,33 @@ 120: MACHINE=x86_64 120: CPU= 120: Test timeout computed to be: 1500 -113: + cat -113: + cc -o out/test/x86_64/dynamic-dt-debug/b.o -c -xc - -108: 0x0000000000000001 (NEEDED) Shared library: [libfoo] -108: + cc -B. -o out/test/x86_64/dt-needed/exe out/test/x86_64/dt-needed/b.o -L out/test/x86_64/dt-needed -lfoo -115: + readelf -W --dyn-syms out/test/x86_64/dynamic-list-data/exe +118: ++ case $MACHINE in +118: ++ tlsdesc_opt=-mtls-dialect=gnu2 +118: +++ uname +118: ++ '[' Linux = FreeBSD ']' +118: ++ trap 'on_error $LINENO' ERR +118: ++ trap on_exit EXIT +118: ++ echo -n 'Testing dynamic-list3 ... ' +118: Testing dynamic-list3 ... ++ set -o pipefail +118: ++ set -x +118: + cat +107: + return 0 +107: + not grep fini out/test/x86_64/dt-init/log1 +107: + grep fini out/test/x86_64/dt-init/log1 +110: mold: error: duplicate symbol: out/test/x86_64/duplicate-error-gc-sections/a.o: out/test/x86_64/duplicate-error-gc-sections/a.o: foo +119: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/dynamic-list4.sh .sh +119: ++ testname=dynamic-list4 +119: ++ t=out/test/x86_64/dynamic-list4 +119: ++ mkdir -p out/test/x86_64/dynamic-list4 +110: + grep 'duplicate symbol.*: foo$' +107: + return 0 +107: + grep init out/test/x86_64/dt-init/log2 +110: + not cc -B. -o out/test/x86_64/duplicate-error-gc-sections/exe2 out/test/x86_64/duplicate-error-gc-sections/a.o out/test/x86_64/duplicate-error-gc-sections/a.o out/test/x86_64/duplicate-error-gc-sections/b.o -Wl,-gc-sections +119: ++ case $MACHINE in +119: ++ tlsdesc_opt=-mtls-dialect=gnu2 120: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/dynamic.sh -115: + grep -w foo out/test/x86_64/dynamic-list-data/log 120: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +106: + cc -B. -o out/test/x86_64/dso-undef/exe out/test/x86_64/dso-undef/b.so out/test/x86_64/dso-undef/d.a out/test/x86_64/dso-undef/e.o 120: ++ export LC_ALL=C 120: ++ LC_ALL=C 120: ++ '[' -z x86_64 ']' @@ -8696,34 +8739,32 @@ 120: ++ OBJCOPY=objcopy 120: ++ STRIP=strip 120: ++ QEMU= -115: 6: 0000000000003978 4 OBJECT GLOBAL DEFAULT 23 foo +107: init +107: + grep fini out/test/x86_64/dt-init/log2 +118: + cat +113: + not grep -F '(DEBUG)' +113: + grep -F '(DEBUG)' +118: + c++ -fPIC -c -o out/test/x86_64/dynamic-list3/b.o -xc - +119: +++ uname +119: ++ '[' Linux = FreeBSD ']' +119: ++ trap 'on_error $LINENO' ERR +119: ++ trap on_exit EXIT +119: ++ echo -n 'Testing dynamic-list4 ... ' +119: Testing dynamic-list4 ... ++ set -o pipefail +119: ++ set -x 120: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/dynamic.sh .sh 120: ++ testname=dynamic -117: + cat 120: ++ t=out/test/x86_64/dynamic -118: + cc -B. -Wl,--dynamic-list=out/test/x86_64/dynamic-list3/dyn -o out/test/x86_64/dynamic-list3/exe1 out/test/x86_64/dynamic-list3/b.o 120: ++ mkdir -p out/test/x86_64/dynamic -115: + not grep -w bar out/test/x86_64/dynamic-list-data/log -115: + grep -w bar out/test/x86_64/dynamic-list-data/log +117: + cat 117: + c++ -o out/test/x86_64/dynamic-list2/b.o -c -xc++ - -120: ++ case $MACHINE in -120: ++ tlsdesc_opt=-mtls-dialect=gnu2 -120: +++ uname -120: ++ '[' Linux = FreeBSD ']' -120: ++ trap 'on_error $LINENO' ERR -120: ++ trap on_exit EXIT -120: ++ echo -n 'Testing dynamic ... ' -120: Testing dynamic ... ++ set -o pipefail -120: ++ set -x -116: + readelf --dyn-syms out/test/x86_64/dynamic-list/exe -115: + return 0 -115: + on_exit -115: + echo OK -115: OK -115: + exit 0 -120: + cc -o out/test/x86_64/dynamic/a.o -c -x assembler - -109/402 Test #115: x86_64-dynamic-list-data .............................. Passed 0.14 sec -120: + echo '.globl main; main:' +107: fini +107: + on_exit +107: + echo OK +107: OK +107: + exit 0 +119: + cc -o out/test/x86_64/dynamic-list4/a.o -c -xc - -fPIC +109/402 Test #107: x86_64-dt-init ........................................ Passed 0.96 sec test 121 Start 121: x86_64-emit-relocs-cpp @@ -8733,37 +8774,10 @@ 121: MACHINE=x86_64 121: CPU= 121: Test timeout computed to be: 1500 -113: + cc -B. -o out/test/x86_64/dynamic-dt-debug/c.so out/test/x86_64/dynamic-dt-debug/b.o -shared -93: + out/test/x86_64/defsym-lto/exe -93: + grep '^OK$' -93: OK -116: + not grep ' foo' out/test/x86_64/dynamic-list/log -116: + grep ' foo' out/test/x86_64/dynamic-list/log -116: + return 0 -116: + not grep ' bar' out/test/x86_64/dynamic-list/log -116: + grep ' bar' out/test/x86_64/dynamic-list/log -107: + out/test/x86_64/dt-init/exe1 -116: + return 0 -116: + cat -93: + on_exit -93: + echo OK -93: OK -93: + exit 0 -107: + out/test/x86_64/dt-init/exe2 -110/402 Test #93: x86_64-defsym-lto ..................................... Passed 0.72 sec -120: + cc -B. -o out/test/x86_64/dynamic/exe out/test/x86_64/dynamic/a.o -test 122 - Start 122: x86_64-emit-relocs-dead-sections - -122: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/emit-relocs-dead-sections.sh" -122: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -122: Environment variables: -122: MACHINE=x86_64 -122: CPU= -122: Test timeout computed to be: 1500 +113: + readelf --dynamic out/test/x86_64/dynamic-dt-debug/c.so 119: + cat -119: + cc -B. -shared -o out/test/x86_64/dynamic-list4/b.so out/test/x86_64/dynamic-list4/a.o -Wl,--dynamic-list=out/test/x86_64/dynamic-list4/dyn -116: + cc -B. -o out/test/x86_64/dynamic-list/exe1 out/test/x86_64/dynamic-list/a.o -Wl,-dynamic-list=out/test/x86_64/dynamic-list/dyn +120: ++ case $MACHINE in +120: ++ tlsdesc_opt=-mtls-dialect=gnu2 121: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/emit-relocs-cpp.sh 121: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 121: ++ export LC_ALL=C @@ -8779,19 +8793,62 @@ 121: ++ OBJCOPY=objcopy 121: ++ STRIP=strip 121: ++ QEMU= +110: mold: error: duplicate symbol: out/test/x86_64/duplicate-error-gc-sections/a.o: out/test/x86_64/duplicate-error-gc-sections/a.o: foo +110: + on_exit +110: + echo OK +110: OK +110: + exit 0 +113: + return 0 +110/402 Test #110: x86_64-duplicate-error-gc-sections .................... Passed 0.92 sec +test 122 + Start 122: x86_64-emit-relocs-dead-sections + +122: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/emit-relocs-dead-sections.sh" +122: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +122: Environment variables: +122: MACHINE=x86_64 +122: CPU= +122: Test timeout computed to be: 1500 121: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/emit-relocs-cpp.sh .sh -107: + not grep init out/test/x86_64/dt-init/log1 -107: + grep init out/test/x86_64/dt-init/log1 121: ++ testname=emit-relocs-cpp 121: ++ t=out/test/x86_64/emit-relocs-cpp 121: ++ mkdir -p out/test/x86_64/emit-relocs-cpp -122: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/emit-relocs-dead-sections.sh 121: ++ case $MACHINE in 121: ++ tlsdesc_opt=-mtls-dialect=gnu2 -121: +++ uname -107: + return 0 -107: + not grep fini out/test/x86_64/dt-init/log1 -107: + grep fini out/test/x86_64/dt-init/log1 +113: + on_exit +113: + echo OK +113: OK +113: + exit 0 +116: + readelf --dyn-syms out/test/x86_64/dynamic-list/exe +116: + not grep ' foo' out/test/x86_64/dynamic-list/log +116: + grep ' foo' out/test/x86_64/dynamic-list/log +116: + return 0 +116: + not grep ' bar' out/test/x86_64/dynamic-list/log +116: + grep ' bar' out/test/x86_64/dynamic-list/log +120: +++ uname +120: ++ '[' Linux = FreeBSD ']' +120: ++ trap 'on_error $LINENO' ERR +120: ++ trap on_exit EXIT +120: ++ echo -n 'Testing dynamic ... ' +120: Testing dynamic ... ++ set -o pipefail +120: ++ set -x +111/402 Test #113: x86_64-dynamic-dt-debug ............................... Passed 0.65 sec +116: + return 0 +116: + cat +test 123 + Start 123: x86_64-emit-relocs + +123: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/emit-relocs.sh" +123: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +123: Environment variables: +123: MACHINE=x86_64 +123: CPU= +123: Test timeout computed to be: 1500 +116: + cc -B. -o out/test/x86_64/dynamic-list/exe1 out/test/x86_64/dynamic-list/a.o -Wl,-dynamic-list=out/test/x86_64/dynamic-list/dyn +120: + echo '.globl main; main:' +120: + cc -o out/test/x86_64/dynamic/a.o -c -x assembler - +120: + cc -B. -o out/test/x86_64/dynamic/exe out/test/x86_64/dynamic/a.o +122: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/emit-relocs-dead-sections.sh 122: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 122: ++ export LC_ALL=C 122: ++ LC_ALL=C @@ -8806,12 +8863,11 @@ 122: ++ OBJCOPY=objcopy 122: ++ STRIP=strip 122: ++ QEMU= -122: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/emit-relocs-dead-sections.sh .sh -107: + return 0 -107: + grep init out/test/x86_64/dt-init/log2 -122: ++ testname=emit-relocs-dead-sections -122: ++ t=out/test/x86_64/emit-relocs-dead-sections -122: ++ mkdir -p out/test/x86_64/emit-relocs-dead-sections +121: +++ uname +116: + readelf --dyn-syms out/test/x86_64/dynamic-list/exe1 +116: + grep ' foo' out/test/x86_64/dynamic-list/log1 +116: 4: 0000000000001719 7 FUNC GLOBAL DEFAULT 17 foo +116: + grep ' bar' out/test/x86_64/dynamic-list/log1 121: ++ '[' Linux = FreeBSD ']' 121: ++ trap 'on_error $LINENO' ERR 121: ++ trap on_exit EXIT @@ -8820,43 +8876,10 @@ 121: ++ set -x 121: + '[' x86_64 = arm ']' 121: + cat -121: + c++ -o out/test/x86_64/emit-relocs-cpp/a.o -c -fPIC -xc++ - -122: ++ case $MACHINE in -122: ++ tlsdesc_opt=-mtls-dialect=gnu2 -122: +++ uname -122: ++ '[' Linux = FreeBSD ']' -107: init -122: ++ trap 'on_error $LINENO' ERR -122: ++ trap on_exit EXIT -122: ++ echo -n 'Testing emit-relocs-dead-sections ... ' -122: Testing emit-relocs-dead-sections ... ++ set -o pipefail -122: ++ set -x -122: + '[' x86_64 = m68k ']' -122: + '[' x86_64 = sh4 ']' -107: + grep fini out/test/x86_64/dt-init/log2 -107: fini -122: + cat -122: + c++ -o out/test/x86_64/emit-relocs-dead-sections/a.o -c -fPIC -xc++ -g -ffunction-sections - -117: + c++ -B. -o out/test/x86_64/dynamic-list2/exe out/test/x86_64/dynamic-list2/a.o out/test/x86_64/dynamic-list2/b.o -107: + on_exit -107: + echo OK -107: OK -107: + exit 0 -111/402 Test #107: x86_64-dt-init ........................................ Passed 0.42 sec -test 123 - Start 123: x86_64-emit-relocs - -123: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/emit-relocs.sh" -123: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -123: Environment variables: -123: MACHINE=x86_64 -123: CPU= -123: Test timeout computed to be: 1500 -118: + readelf --dyn-syms out/test/x86_64/dynamic-list3/exe1 +116: 3: 0000000000001720 7 FUNC GLOBAL DEFAULT 17 bar +116: + cc -B. -o out/test/x86_64/dynamic-list/exe2 out/test/x86_64/dynamic-list/a.o -Wl,--export-dynamic-symbol-list=out/test/x86_64/dynamic-list/dyn 123: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/emit-relocs.sh -108: + grep -F 'Shared library: [libfoo]' -118: + grep ' xyz' out/test/x86_64/dynamic-list3/log1 -108: + readelf --dynamic out/test/x86_64/dt-needed/exe +122: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/emit-relocs-dead-sections.sh .sh 123: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 123: ++ export LC_ALL=C 123: ++ LC_ALL=C @@ -8871,31 +8894,21 @@ 123: ++ OBJCOPY=objcopy 123: ++ STRIP=strip 123: ++ QEMU= -119: + cat -118: 5: 00000000000017e9 7 FUNC GLOBAL DEFAULT 17 xyz -119: + cc -o out/test/x86_64/dynamic-list4/c.o -c -xc - -fPIC +122: ++ testname=emit-relocs-dead-sections +122: ++ t=out/test/x86_64/emit-relocs-dead-sections +122: ++ mkdir -p out/test/x86_64/emit-relocs-dead-sections +106: + readelf --dyn-syms out/test/x86_64/dso-undef/exe +121: + c++ -o out/test/x86_64/emit-relocs-cpp/a.o -c -fPIC -xc++ - +106: + grep ' foo$' 123: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/emit-relocs.sh .sh -100: + grep '/exe:.*/a.o ' out/test/x86_64/dependency-file-lto/dep -108: 0x0000000000000001 (NEEDED) Shared library: [libfoo] -108: + cc -B. -o out/test/x86_64/dt-needed/exe out/test/x86_64/dt-needed/b.o out/test/x86_64/dt-needed/libbar.so -118: + not grep ' foobarzx' out/test/x86_64/dynamic-list3/log1 -118: + grep ' foobarzx' out/test/x86_64/dynamic-list3/log1 -100: out/test/x86_64/dependency-file-lto/exe: /usr/lib/x86_64-linux-gnu/Scrt1.o /usr/lib/x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/14/crtbeginS.o out/test/x86_64/dependency-file-lto/a.o /usr/lib/gcc/x86_64-linux-gnu/14/libgcc.a /usr/lib/gcc/x86_64-linux-gnu/14/libgcc_s.so /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 /usr/lib/x86_64-linux-gnu/libc.so /lib/x86_64-linux-gnu/libc.so.6 /usr/lib/x86_64-linux-gnu/libc_nonshared.a /lib64/ld-linux-x86-64.so.2 /usr/lib/gcc/x86_64-linux-gnu/14/crtendS.o /usr/lib/x86_64-linux-gnu/crtn.o -100: + grep '/a.o:$' out/test/x86_64/dependency-file-lto/dep -120: + readelf --dynamic out/test/x86_64/dynamic/exe -120: + grep -E 'Shared library:.*\blibc\b' -100: out/test/x86_64/dependency-file-lto/a.o: -100: + not grep '^/tmp' out/test/x86_64/dependency-file-lto/dep -100: + grep '^/tmp' out/test/x86_64/dependency-file-lto/dep -123: ++ testname=emit-relocs -123: ++ t=out/test/x86_64/emit-relocs -123: ++ mkdir -p out/test/x86_64/emit-relocs -100: + return 0 -100: + on_exit -100: + echo OK -100: OK -100: + exit 0 -112/402 Test #100: x86_64-dependency-file-lto ............................ Passed 0.59 sec +106: 4: 0000000000003930 4 OBJECT GLOBAL DEFAULT 23 foo +116: + readelf --dyn-syms out/test/x86_64/dynamic-list/exe2 +116: + grep ' foo' out/test/x86_64/dynamic-list/log2 +106: + on_exit +106: + echo OK +106: OK +106: + exit 0 +112/402 Test #106: x86_64-dso-undef ...................................... Passed 1.06 sec test 124 Start 124: x86_64-empty-arg @@ -8905,36 +8918,43 @@ 124: MACHINE=x86_64 124: CPU= 124: Test timeout computed to be: 1500 -118: + return 0 -118: + grep ' foobarcx' out/test/x86_64/dynamic-list3/log1 -118: 4: 00000000000017f7 7 FUNC GLOBAL DEFAULT 17 foobarcx -118: + grep ' foo123bar456bx' out/test/x86_64/dynamic-list3/log1 -118: 3: 00000000000017fe 7 FUNC GLOBAL DEFAULT 17 foo123bar456bx -118: + not grep ' foo123bar456c' out/test/x86_64/dynamic-list3/log1 -118: + grep ' foo123bar456c' out/test/x86_64/dynamic-list3/log1 -124: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/empty-arg.sh -120: 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] -118: + return 0 -118: + not grep ' foo123bar456x' out/test/x86_64/dynamic-list3/log1 -118: + grep ' foo123bar456x' out/test/x86_64/dynamic-list3/log1 +122: ++ case $MACHINE in +122: ++ tlsdesc_opt=-mtls-dialect=gnu2 +122: +++ uname +122: ++ '[' Linux = FreeBSD ']' +122: ++ trap 'on_error $LINENO' ERR +122: ++ trap on_exit EXIT +122: ++ echo -n 'Testing emit-relocs-dead-sections ... ' +122: Testing emit-relocs-dead-sections ... ++ set -o pipefail +122: ++ set -x +122: + '[' x86_64 = m68k ']' +122: + '[' x86_64 = sh4 ']' +123: ++ testname=emit-relocs +123: ++ t=out/test/x86_64/emit-relocs +123: ++ mkdir -p out/test/x86_64/emit-relocs 123: ++ case $MACHINE in 123: ++ tlsdesc_opt=-mtls-dialect=gnu2 -120: + readelf -W --dyn-syms --use-dynamic out/test/x86_64/dynamic/exe 123: +++ uname -120: + grep -E 'FUNC\s+GLOBAL\s+DEFAULT.*UND\s+__libc_start' -118: + return 0 -118: + cc -B. -Wl,--export-dynamic-symbol-list=out/test/x86_64/dynamic-list3/dyn -o out/test/x86_64/dynamic-list3/exe2 out/test/x86_64/dynamic-list3/b.o +116: 4: 0000000000001719 7 FUNC GLOBAL DEFAULT 17 foo +116: + grep ' bar' out/test/x86_64/dynamic-list/log2 +116: 3: 0000000000001720 7 FUNC GLOBAL DEFAULT 17 bar +116: + cc -B. -o out/test/x86_64/dynamic-list/exe3 out/test/x86_64/dynamic-list/a.o -Wl,--export-dynamic-symbol=foo,--export-dynamic-symbol=bar +120: + grep -E 'Shared library:.*\blibc\b' 123: ++ '[' Linux = FreeBSD ']' 123: ++ trap 'on_error $LINENO' ERR 123: ++ trap on_exit EXIT 123: ++ echo -n 'Testing emit-relocs ... ' 123: Testing emit-relocs ... ++ set -o pipefail 123: ++ set -x +122: + c++ -o out/test/x86_64/emit-relocs-dead-sections/a.o -c -fPIC -xc++ -g -ffunction-sections - +120: + readelf --dynamic out/test/x86_64/dynamic/exe +120: 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] +122: + cat +124: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/empty-arg.sh 123: + cc -o out/test/x86_64/emit-relocs/a.o -c -fPIC -xc - 124: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 124: ++ export LC_ALL=C 124: ++ LC_ALL=C -123: + cat 124: ++ '[' -z x86_64 ']' 124: ++ '[' -z '' ']' 124: ++ TESTDIR=out/test/x86_64 @@ -8946,16 +8966,16 @@ 124: ++ OBJCOPY=objcopy 124: ++ STRIP=strip 124: ++ QEMU= -124: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/empty-arg.sh .sh +123: + cat +120: + grep -E 'FUNC\s+GLOBAL\s+DEFAULT.*UND\s+__libc_start' +120: + readelf -W --dyn-syms --use-dynamic out/test/x86_64/dynamic/exe 120: 1: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __libc_start_main@GLIBC_2.34 (3) 120: + on_exit 120: + echo OK 120: OK 120: + exit 0 -113/402 Test #120: x86_64-dynamic ........................................ Passed 0.09 sec -124: ++ testname=empty-arg -124: ++ t=out/test/x86_64/empty-arg -124: ++ mkdir -p out/test/x86_64/empty-arg +124: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/empty-arg.sh .sh +113/402 Test #120: x86_64-dynamic ........................................ Passed 0.16 sec test 125 Start 125: x86_64-empty-file @@ -8965,44 +8985,13 @@ 125: MACHINE=x86_64 125: CPU= 125: Test timeout computed to be: 1500 +124: ++ testname=empty-arg +124: ++ t=out/test/x86_64/empty-arg +124: ++ mkdir -p out/test/x86_64/empty-arg +116: + readelf --dyn-syms out/test/x86_64/dynamic-list/exe3 +125: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/empty-file.sh 124: ++ case $MACHINE in 124: ++ tlsdesc_opt=-mtls-dialect=gnu2 -116: + readelf --dyn-syms out/test/x86_64/dynamic-list/exe1 -113: + readelf --dynamic out/test/x86_64/dynamic-dt-debug/c.so -113: + not grep -F '(DEBUG)' -113: + grep -F '(DEBUG)' -121: + c++ -B. -o out/test/x86_64/emit-relocs-cpp/exe out/test/x86_64/emit-relocs-cpp/a.o -Wl,-emit-relocs -124: +++ uname -117: + readelf --dyn-syms out/test/x86_64/dynamic-list2/exe -116: + grep ' foo' out/test/x86_64/dynamic-list/log1 -113: + return 0 -113: + on_exit -113: + echo OK -113: OK -113: + exit 0 -124: ++ '[' Linux = FreeBSD ']' -124: ++ trap 'on_error $LINENO' ERR -124: ++ trap on_exit EXIT -124: ++ echo -n 'Testing empty-arg ... ' -124: Testing empty-arg ... ++ set -o pipefail -124: ++ set -x -124: + not ./mold -m elf_x86_64 '' -124: + grep 'cannot open :' -125: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/empty-file.sh -114/402 Test #113: x86_64-dynamic-dt-debug ............................... Passed 0.24 sec -test 126 - Start 126: x86_64-empty-input - -126: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/empty-input.sh" -126: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -126: Environment variables: -126: MACHINE=x86_64 -126: CPU= -126: Test timeout computed to be: 1500 -116: 4: 0000000000001719 7 FUNC GLOBAL DEFAULT 17 foo -116: + grep ' bar' out/test/x86_64/dynamic-list/log1 -116: 3: 0000000000001720 7 FUNC GLOBAL DEFAULT 17 bar -116: + cc -B. -o out/test/x86_64/dynamic-list/exe2 out/test/x86_64/dynamic-list/a.o -Wl,--export-dynamic-symbol-list=out/test/x86_64/dynamic-list/dyn 125: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 125: ++ export LC_ALL=C 125: ++ LC_ALL=C @@ -9017,30 +9006,71 @@ 125: ++ OBJCOPY=objcopy 125: ++ STRIP=strip 125: ++ QEMU= +116: + grep ' foo' out/test/x86_64/dynamic-list/log3 +118: + cc -B. -Wl,--dynamic-list=out/test/x86_64/dynamic-list3/dyn -o out/test/x86_64/dynamic-list3/exe1 out/test/x86_64/dynamic-list3/b.o +119: + cat 125: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/empty-file.sh .sh +124: +++ uname +124: ++ '[' Linux = FreeBSD ']' +124: ++ trap 'on_error $LINENO' ERR +124: ++ trap on_exit EXIT +124: ++ echo -n 'Testing empty-arg ... ' +124: Testing empty-arg ... ++ set -o pipefail +124: ++ set -x 125: ++ testname=empty-file 125: ++ t=out/test/x86_64/empty-file 125: ++ mkdir -p out/test/x86_64/empty-file -117: + not grep ' foo' out/test/x86_64/dynamic-list2/log -117: + grep ' foo' out/test/x86_64/dynamic-list2/log -117: + return 0 -117: + not grep ' bar' out/test/x86_64/dynamic-list2/log -117: + grep ' bar' out/test/x86_64/dynamic-list2/log -111: + cat -111: + cc -o out/test/x86_64/duplicate-error-lto/a.o -c -xc - -flto +123: + cc -B. -o out/test/x86_64/emit-relocs/exe out/test/x86_64/emit-relocs/a.o -Wl,-emit-relocs +116: 4: 0000000000001719 7 FUNC GLOBAL DEFAULT 17 foo +116: + grep ' bar' out/test/x86_64/dynamic-list/log3 +124: + not ./mold -m elf_x86_64 '' +116: 3: 0000000000001720 7 FUNC GLOBAL DEFAULT 17 bar +116: + on_exit +116: + echo OK +116: OK +116: + exit 0 +114/402 Test #116: x86_64-dynamic-list ................................... Passed 0.35 sec +test 126 + Start 126: x86_64-empty-input + +126: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/empty-input.sh" +126: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +126: Environment variables: +126: MACHINE=x86_64 +126: CPU= +126: Test timeout computed to be: 1500 +121: + c++ -B. -o out/test/x86_64/emit-relocs-cpp/exe out/test/x86_64/emit-relocs-cpp/a.o -Wl,-emit-relocs +117: + c++ -B. -o out/test/x86_64/dynamic-list2/exe out/test/x86_64/dynamic-list2/a.o out/test/x86_64/dynamic-list2/b.o +124: + grep 'cannot open :' 125: ++ case $MACHINE in 125: ++ tlsdesc_opt=-mtls-dialect=gnu2 -124: mold: fatal: cannot open : No such file or directory -126: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/empty-input.sh -117: + return 0 -117: + cat 125: +++ uname +125: ++ '[' Linux = FreeBSD ']' +125: ++ trap 'on_error $LINENO' ERR +125: ++ trap on_exit EXIT +125: ++ echo -n 'Testing empty-file ... ' +125: Testing empty-file ... ++ set -o pipefail +125: ++ set -x +125: + cc -o out/test/x86_64/empty-file/a.o -c -xc - +119: + cc -B. -shared -o out/test/x86_64/dynamic-list4/b.so out/test/x86_64/dynamic-list4/a.o -Wl,--dynamic-list=out/test/x86_64/dynamic-list4/dyn +125: + cat +124: mold: fatal: cannot open : No such file or directory 124: + on_exit 124: + echo OK 124: OK 124: + exit 0 +115/402 Test #124: x86_64-empty-arg ...................................... Passed 0.12 sec +test 127 + Start 127: x86_64-empty-version + +127: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/empty-version.sh" +127: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +127: Environment variables: +127: MACHINE=x86_64 +127: CPU= +127: Test timeout computed to be: 1500 +126: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/empty-input.sh 126: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -115/402 Test #124: x86_64-empty-arg ...................................... Passed 0.03 sec 126: ++ export LC_ALL=C 126: ++ LC_ALL=C 126: ++ '[' -z x86_64 ']' @@ -9054,28 +9084,6 @@ 126: ++ OBJCOPY=objcopy 126: ++ STRIP=strip 126: ++ QEMU= -test 127 - Start 127: x86_64-empty-version - -127: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/empty-version.sh" -127: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -127: Environment variables: -127: MACHINE=x86_64 -127: CPU= -127: Test timeout computed to be: 1500 -126: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/empty-input.sh .sh -126: ++ testname=empty-input -126: ++ t=out/test/x86_64/empty-input -126: ++ mkdir -p out/test/x86_64/empty-input -125: ++ '[' Linux = FreeBSD ']' -125: ++ trap 'on_error $LINENO' ERR -125: ++ trap on_exit EXIT -125: ++ echo -n 'Testing empty-file ... ' -125: Testing empty-file ... ++ set -o pipefail -125: ++ set -x -125: + cat -125: + cc -o out/test/x86_64/empty-file/a.o -c -xc - -117: + cc -B. -o out/test/x86_64/dynamic-list2/exe1 out/test/x86_64/dynamic-list2/a.o out/test/x86_64/dynamic-list2/b.o -Wl,-dynamic-list=out/test/x86_64/dynamic-list2/dyn 127: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/empty-version.sh 127: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 127: ++ export LC_ALL=C @@ -9091,71 +9099,57 @@ 127: ++ OBJCOPY=objcopy 127: ++ STRIP=strip 127: ++ QEMU= -126: ++ case $MACHINE in -126: ++ tlsdesc_opt=-mtls-dialect=gnu2 -126: +++ uname +126: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/empty-input.sh .sh +126: ++ testname=empty-input +126: ++ t=out/test/x86_64/empty-input +126: ++ mkdir -p out/test/x86_64/empty-input +118: + readelf --dyn-syms out/test/x86_64/dynamic-list3/exe1 127: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/empty-version.sh .sh -126: ++ '[' Linux = FreeBSD ']' -126: ++ trap 'on_error $LINENO' ERR -126: ++ trap on_exit EXIT -126: ++ echo -n 'Testing empty-input ... ' -126: Testing empty-input ... ++ set -o pipefail -126: ++ set -x 127: ++ testname=empty-version 127: ++ t=out/test/x86_64/empty-version 127: ++ mkdir -p out/test/x86_64/empty-version -126: + rm -f out/test/x86_64/empty-input/a.o -126: + touch out/test/x86_64/empty-input/a.o -126: + not cc -B. -o out/test/x86_64/empty-input/exe out/test/x86_64/empty-input/a.o +126: ++ case $MACHINE in +126: ++ tlsdesc_opt=-mtls-dialect=gnu2 127: ++ case $MACHINE in 127: ++ tlsdesc_opt=-mtls-dialect=gnu2 -119: + cc -B. -shared -o out/test/x86_64/dynamic-list4/d.so out/test/x86_64/dynamic-list4/c.o -108: + readelf --dynamic out/test/x86_64/dt-needed/exe -108: + grep -E 'Shared library: \[.*dt-needed/libbar\.so\]' +118: + grep ' xyz' out/test/x86_64/dynamic-list3/log1 +123: + out/test/x86_64/emit-relocs/exe +123: + grep 'Hello world' +123: Hello world +117: + readelf --dyn-syms out/test/x86_64/dynamic-list2/exe 127: +++ uname +118: 5: 00000000000017e9 7 FUNC GLOBAL DEFAULT 17 xyz 127: ++ '[' Linux = FreeBSD ']' 127: ++ trap 'on_error $LINENO' ERR 127: ++ trap on_exit EXIT 127: ++ echo -n 'Testing empty-version ... ' 127: Testing empty-version ... ++ set -o pipefail 127: ++ set -x +126: +++ uname +126: ++ '[' Linux = FreeBSD ']' +126: ++ trap 'on_error $LINENO' ERR +126: ++ trap on_exit EXIT +126: ++ echo -n 'Testing empty-input ... ' +126: Testing empty-input ... ++ set -o pipefail +126: ++ set -x +126: + rm -f out/test/x86_64/empty-input/a.o +118: + not grep ' foobarzx' out/test/x86_64/dynamic-list3/log1 +118: + grep ' foobarzx' out/test/x86_64/dynamic-list3/log1 +119: + cc -o out/test/x86_64/dynamic-list4/c.o -c -xc - -fPIC +123: + readelf -S out/test/x86_64/emit-relocs/exe +123: + grep -E 'rela?\.text' +117: + not grep ' foo' out/test/x86_64/dynamic-list2/log +117: + grep ' foo' out/test/x86_64/dynamic-list2/log +123: [36] .rela.text RELA 0000000000000000 000022c8 +123: + on_exit +123: + echo OK +123: OK +123: + exit 0 +119: + cat +126: + touch out/test/x86_64/empty-input/a.o 127: + cat 127: + cc -fPIC -c -o out/test/x86_64/empty-version/a.o -xc - -108: 0x0000000000000001 (NEEDED) Shared library: [out/test/x86_64/dt-needed/libbar.so] -108: + cc -B. -o out/test/x86_64/dt-needed/exe out/test/x86_64/dt-needed/b.o -Lout/test/x86_64/dt-needed -lbar -123: + cc -B. -o out/test/x86_64/emit-relocs/exe out/test/x86_64/emit-relocs/a.o -Wl,-emit-relocs -111: + cat -111: + cc -o out/test/x86_64/duplicate-error-lto/b.o -c -xc - -flto -118: + readelf --dyn-syms out/test/x86_64/dynamic-list3/exe2 -118: + grep ' xyz' out/test/x86_64/dynamic-list3/log2 -116: + readelf --dyn-syms out/test/x86_64/dynamic-list/exe2 -125: + rm -f out/test/x86_64/empty-file/b.script -118: 5: 00000000000017e9 7 FUNC GLOBAL DEFAULT 17 xyz -116: + grep ' foo' out/test/x86_64/dynamic-list/log2 -118: + not grep ' foobarzx' out/test/x86_64/dynamic-list3/log2 -118: + grep ' foobarzx' out/test/x86_64/dynamic-list3/log2 -119: + cat -125: + touch out/test/x86_64/empty-file/b.script -126: + grep 'unknown file type' out/test/x86_64/empty-input/log -121: + grep 'Hello world' -119: + cc -o out/test/x86_64/dynamic-list4/e.o -c -xc - -121: + out/test/x86_64/emit-relocs-cpp/exe -125: + cc -B. -o out/test/x86_64/empty-file/exe out/test/x86_64/empty-file/a.o -Wl,--version-script,out/test/x86_64/empty-file/b.script -121: Hello world -116: 4: 0000000000001719 7 FUNC GLOBAL DEFAULT 17 foo -127: + cc -B. -shared -o out/test/x86_64/empty-version/b.so out/test/x86_64/empty-version/a.o -116: + grep ' bar' out/test/x86_64/dynamic-list/log2 -126: mold: fatal: out/test/x86_64/empty-input/a.o: unknown file type -121: + readelf -SW out/test/x86_64/emit-relocs-cpp/exe -118: + return 0 -118: + grep ' foobarcx' out/test/x86_64/dynamic-list3/log2 -126: + on_exit -126: + echo OK -126: OK -126: + exit 0 -116/402 Test #126: x86_64-empty-input .................................... Passed 0.06 sec -121: + grep -E 'rela?\.text' -118: 4: 00000000000017f7 7 FUNC GLOBAL DEFAULT 17 foobarcx +116/402 Test #123: x86_64-emit-relocs .................................... Passed 0.24 sec test 128 Start 128: x86_64-entry @@ -9165,51 +9159,19 @@ 128: MACHINE=x86_64 128: CPU= 128: Test timeout computed to be: 1500 -121: [36] .rela.text RELA 0000000000000000 0022c8 000168 18 I 34 20 8 -121: + grep -E 'rela?\.eh_frame' -121: + readelf -SW out/test/x86_64/emit-relocs-cpp/exe -118: + grep ' foo123bar456bx' out/test/x86_64/dynamic-list3/log2 -118: 3: 00000000000017fe 7 FUNC GLOBAL DEFAULT 17 foo123bar456bx -118: + not grep ' foo123bar456c' out/test/x86_64/dynamic-list3/log2 -118: + grep ' foo123bar456c' out/test/x86_64/dynamic-list3/log2 -118: + return 0 -118: + not grep ' foo123bar456x' out/test/x86_64/dynamic-list3/log2 -118: + grep ' foo123bar456x' out/test/x86_64/dynamic-list3/log2 -116: 3: 0000000000001720 7 FUNC GLOBAL DEFAULT 17 bar -116: + cc -B. -o out/test/x86_64/dynamic-list/exe3 out/test/x86_64/dynamic-list/a.o -Wl,--export-dynamic-symbol=foo,--export-dynamic-symbol=bar -121: [31] .rela.eh_frame RELA 0000000000000000 0009b8 000030 18 I 34 12 8 -121: + on_exit -121: + echo OK -121: OK -121: + exit 0 -111: + not cc -B. -o out/test/x86_64/duplicate-error-lto/exe1 out/test/x86_64/duplicate-error-lto/a.o out/test/x86_64/duplicate-error-lto/a.o out/test/x86_64/duplicate-error-lto/b.o -flto -111: + grep 'duplicate symbol.*: foo$' 118: + return 0 -118: + on_exit -118: + echo OK -118: OK -118: + exit 0 -117/402 Test #121: x86_64-emit-relocs-cpp ................................ Passed 0.14 sec -118/402 Test #118: x86_64-dynamic-list3 .................................. Passed 0.21 sec -123: + out/test/x86_64/emit-relocs/exe -test 129 - Start 129: x86_64-exception-multiple-ehframe - -129: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/exception-multiple-ehframe.sh" -129: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -129: Environment variables: -129: MACHINE=x86_64 -129: CPU= -129: Test timeout computed to be: 1500 -test 130 - Start 130: x86_64-exception - -130: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/exception.sh" -130: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -130: Environment variables: -130: MACHINE=x86_64 -130: CPU= -130: Test timeout computed to be: 1500 +118: + grep ' foobarcx' out/test/x86_64/dynamic-list3/log1 +118: 4: 00000000000017f7 7 FUNC GLOBAL DEFAULT 17 foobarcx +118: + grep ' foo123bar456bx' out/test/x86_64/dynamic-list3/log1 +117: + return 0 +117: + not grep ' bar' out/test/x86_64/dynamic-list2/log +117: + grep ' bar' out/test/x86_64/dynamic-list2/log +126: + not cc -B. -o out/test/x86_64/empty-input/exe out/test/x86_64/empty-input/a.o +118: 3: 00000000000017fe 7 FUNC GLOBAL DEFAULT 17 foo123bar456bx +118: + not grep ' foo123bar456c' out/test/x86_64/dynamic-list3/log1 +118: + grep ' foo123bar456c' out/test/x86_64/dynamic-list3/log1 +117: + return 0 +117: + cat 128: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/entry.sh 128: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 128: ++ export LC_ALL=C @@ -9225,16 +9187,76 @@ 128: ++ OBJCOPY=objcopy 128: ++ STRIP=strip 128: ++ QEMU= +118: + return 0 +118: + not grep ' foo123bar456x' out/test/x86_64/dynamic-list3/log1 +118: + grep ' foo123bar456x' out/test/x86_64/dynamic-list3/log1 128: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/entry.sh .sh +125: + rm -f out/test/x86_64/empty-file/b.script 128: ++ testname=entry 128: ++ t=out/test/x86_64/entry 128: ++ mkdir -p out/test/x86_64/entry +117: + cc -B. -o out/test/x86_64/dynamic-list2/exe1 out/test/x86_64/dynamic-list2/a.o out/test/x86_64/dynamic-list2/b.o -Wl,-dynamic-list=out/test/x86_64/dynamic-list2/dyn +118: + return 0 +118: + cc -B. -Wl,--export-dynamic-symbol-list=out/test/x86_64/dynamic-list3/dyn -o out/test/x86_64/dynamic-list3/exe2 out/test/x86_64/dynamic-list3/b.o +128: ++ case $MACHINE in +128: ++ tlsdesc_opt=-mtls-dialect=gnu2 +100: + cc -flto -o out/test/x86_64/dependency-file-lto/a.o -c -xc - +100: + cat +125: + touch out/test/x86_64/empty-file/b.script +128: +++ uname +119: + cc -B. -shared -o out/test/x86_64/dynamic-list4/d.so out/test/x86_64/dynamic-list4/c.o +128: ++ '[' Linux = FreeBSD ']' +128: ++ trap 'on_error $LINENO' ERR +128: ++ trap on_exit EXIT +128: ++ echo -n 'Testing entry ... ' +128: Testing entry ... ++ set -o pipefail +128: ++ set -x +128: + '[' x86_64 = ppc64 ']' +121: + out/test/x86_64/emit-relocs-cpp/exe +121: + grep 'Hello world' +128: + cc -o out/test/x86_64/entry/a.o -c -x assembler - +128: + cat +121: Hello world +125: + cc -B. -o out/test/x86_64/empty-file/exe out/test/x86_64/empty-file/a.o -Wl,--version-script,out/test/x86_64/empty-file/b.script +126: + grep 'unknown file type' out/test/x86_64/empty-input/log +121: + grep -E 'rela?\.text' +121: + readelf -SW out/test/x86_64/emit-relocs-cpp/exe +128: + cc -o out/test/x86_64/entry/b.o -c -xc - +128: + cat +126: mold: fatal: out/test/x86_64/empty-input/a.o: unknown file type +126: + on_exit +126: + echo OK +126: OK +126: + exit 0 +121: [36] .rela.text RELA 0000000000000000 0022c8 000168 18 I 34 20 8 +117/402 Test #126: x86_64-empty-input .................................... Passed 0.19 sec +test 129 + Start 129: x86_64-exception-multiple-ehframe + +129: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/exception-multiple-ehframe.sh" +129: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +129: Environment variables: +129: MACHINE=x86_64 +129: CPU= +129: Test timeout computed to be: 1500 +121: + grep -E 'rela?\.eh_frame' +121: + readelf -SW out/test/x86_64/emit-relocs-cpp/exe +121: [31] .rela.eh_frame RELA 0000000000000000 0009b8 000030 18 I 34 12 8 +121: + on_exit +121: + echo OK +121: OK +121: + exit 0 117: + readelf --dyn-syms out/test/x86_64/dynamic-list2/exe1 -117: + grep ' foo' out/test/x86_64/dynamic-list2/log1 -123: + grep 'Hello world' -123: Hello world -123: + readelf -S out/test/x86_64/emit-relocs/exe -123: + grep -E 'rela?\.text' +118/402 Test #121: x86_64-emit-relocs-cpp ................................ Passed 0.37 sec +test 130 + Start 130: x86_64-exception + +130: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/exception.sh" +130: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +130: Environment variables: +130: MACHINE=x86_64 +130: CPU= +130: Test timeout computed to be: 1500 129: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/exception-multiple-ehframe.sh 129: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 129: ++ export LC_ALL=C @@ -9251,45 +9273,29 @@ 129: ++ STRIP=strip 129: ++ QEMU= 129: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/exception-multiple-ehframe.sh .sh -123: [36] .rela.text RELA 0000000000000000 000022c8 -117: 4: 0000000000001749 10 FUNC GLOBAL DEFAULT 17 foo -117: + not grep ' bar' out/test/x86_64/dynamic-list2/log1 -117: + grep ' bar' out/test/x86_64/dynamic-list2/log1 -128: ++ case $MACHINE in -128: ++ tlsdesc_opt=-mtls-dialect=gnu2 -128: +++ uname -123: + on_exit -123: + echo OK -123: OK -123: + exit 0 -130: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/exception.sh 129: ++ testname=exception-multiple-ehframe 129: ++ t=out/test/x86_64/exception-multiple-ehframe 129: ++ mkdir -p out/test/x86_64/exception-multiple-ehframe -119: + cc -B. -o out/test/x86_64/dynamic-list4/exe1 out/test/x86_64/dynamic-list4/e.o -Wl,-push-state,-no-as-needed out/test/x86_64/dynamic-list4/b.so -Wl,-pop-state -119/402 Test #123: x86_64-emit-relocs .................................... Passed 0.12 sec -128: ++ '[' Linux = FreeBSD ']' -test 131 - Start 131: x86_64-exclude-libs - -131: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/exclude-libs.sh" -131: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -131: Environment variables: -131: MACHINE=x86_64 -131: CPU= -131: Test timeout computed to be: 1500 -128: ++ trap 'on_error $LINENO' ERR -128: ++ trap on_exit EXIT -128: ++ echo -n 'Testing entry ... ' -128: Testing entry ... ++ set -o pipefail -128: ++ set -x -128: + '[' x86_64 = ppc64 ']' -128: + cat -128: + cc -o out/test/x86_64/entry/a.o -c -x assembler - -117: + return 0 -117: + grep ' _Z3bazi' out/test/x86_64/dynamic-list2/log1 -117: 3: 000000000000175d 10 FUNC GLOBAL DEFAULT 17 _Z3bazi -117: + cc -B. -o out/test/x86_64/dynamic-list2/exe2 out/test/x86_64/dynamic-list2/a.o out/test/x86_64/dynamic-list2/b.o -Wl,--export-dynamic-symbol-list=out/test/x86_64/dynamic-list2/dyn +129: ++ case $MACHINE in +129: ++ tlsdesc_opt=-mtls-dialect=gnu2 +129: +++ uname +129: ++ '[' Linux = FreeBSD ']' +129: ++ trap 'on_error $LINENO' ERR +129: ++ trap on_exit EXIT +129: ++ echo -n 'Testing exception-multiple-ehframe ... ' +129: Testing exception-multiple-ehframe ... ++ set -o pipefail +129: ++ set -x +129: + '[' x86_64 = sh4aeb ']' +129: + grep __tsan_init +129: + nm mold +118: + readelf --dyn-syms out/test/x86_64/dynamic-list3/exe2 +128: + cc -B. -o out/test/x86_64/entry/exe1 -Wl,-e,foo out/test/x86_64/entry/a.o out/test/x86_64/entry/b.o +117: + grep ' foo' out/test/x86_64/dynamic-list2/log1 +100: + cc -B. -flto -o out/test/x86_64/dependency-file-lto/exe out/test/x86_64/dependency-file-lto/a.o -Wl,-dependency-file=out/test/x86_64/dependency-file-lto/dep +117: 4: 0000000000001749 10 FUNC GLOBAL DEFAULT 17 foo +130: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/exception.sh +117: + not grep ' bar' out/test/x86_64/dynamic-list2/log1 +117: + grep ' bar' out/test/x86_64/dynamic-list2/log1 130: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 130: ++ export LC_ALL=C 130: ++ LC_ALL=C @@ -9304,49 +9310,27 @@ 130: ++ OBJCOPY=objcopy 130: ++ STRIP=strip 130: ++ QEMU= +118: + grep ' xyz' out/test/x86_64/dynamic-list3/log2 +127: + cc -B. -shared -o out/test/x86_64/empty-version/b.so out/test/x86_64/empty-version/a.o 130: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/exception.sh .sh +119: + cat +119: + cc -o out/test/x86_64/dynamic-list4/e.o -c -xc - 130: ++ testname=exception 130: ++ t=out/test/x86_64/exception 130: ++ mkdir -p out/test/x86_64/exception -129: ++ case $MACHINE in -129: ++ tlsdesc_opt=-mtls-dialect=gnu2 -129: +++ uname -131: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/exclude-libs.sh -108: + grep -F 'Shared library: [libbar.so]' -108: + readelf --dynamic out/test/x86_64/dt-needed/exe -131: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -131: ++ export LC_ALL=C -131: ++ LC_ALL=C -131: ++ '[' -z x86_64 ']' -131: ++ '[' -z '' ']' -131: ++ TESTDIR=out/test/x86_64 -131: ++ CC=cc -131: ++ CXX=c++ -131: ++ GCC=gcc -131: ++ GXX=g++ -131: ++ OBJDUMP=objdump -131: ++ OBJCOPY=objcopy -131: ++ STRIP=strip -131: ++ QEMU= 130: ++ case $MACHINE in -108: 0x0000000000000001 (NEEDED) Shared library: [libbar.so] -129: ++ '[' Linux = FreeBSD ']' 130: ++ tlsdesc_opt=-mtls-dialect=gnu2 -131: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/exclude-libs.sh .sh -108: + on_exit -131: ++ testname=exclude-libs -131: ++ t=out/test/x86_64/exclude-libs -131: ++ mkdir -p out/test/x86_64/exclude-libs 130: +++ uname -129: ++ trap 'on_error $LINENO' ERR -129: ++ trap on_exit EXIT -129: ++ echo -n 'Testing exception-multiple-ehframe ... ' -129: Testing exception-multiple-ehframe ... ++ set -o pipefail -129: ++ set -x -129: + '[' x86_64 = sh4aeb ']' -129: + nm mold -129: + grep __tsan_init -127: + readelf --dyn-syms out/test/x86_64/empty-version/b.so +125: + out/test/x86_64/empty-file/exe +125: + grep 'Hello world' +125: Hello world +125: + on_exit +125: + echo OK +125: OK +125: + exit 0 +117: + return 0 +117: + grep ' _Z3bazi' out/test/x86_64/dynamic-list2/log1 +119/402 Test #125: x86_64-empty-file ..................................... Passed 0.28 sec 130: ++ '[' Linux = FreeBSD ']' 130: ++ trap 'on_error $LINENO' ERR 130: ++ trap on_exit EXIT @@ -9355,19 +9339,35 @@ 130: ++ set -x 130: + static= 130: + test_cxxflags -static -130: + c++ -B. -static -o /dev/null -xc++ - -108: + echo OK -108: OK -108: + exit 0 -128: + cat -128: + cc -o out/test/x86_64/entry/b.o -c -xc - -120/402 Test #108: x86_64-dt-needed ...................................... Passed 0.53 sec -130: + echo 'int main() {}' -131: ++ case $MACHINE in -131: ++ tlsdesc_opt=-mtls-dialect=gnu2 -131: +++ uname -127: + grep ' bar1' -127: 5: 0000000000001669 7 FUNC GLOBAL DEFAULT 13 bar1 +test 131 + Start 131: x86_64-exclude-libs + +131: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/exclude-libs.sh" +131: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +131: Environment variables: +131: MACHINE=x86_64 +131: CPU= +131: Test timeout computed to be: 1500 +118: 5: 00000000000017e9 7 FUNC GLOBAL DEFAULT 17 xyz +118: + not grep ' foobarzx' out/test/x86_64/dynamic-list3/log2 +118: + grep ' foobarzx' out/test/x86_64/dynamic-list3/log2 +118: + return 0 +118: + grep ' foobarcx' out/test/x86_64/dynamic-list3/log2 +118: 4: 00000000000017f7 7 FUNC GLOBAL DEFAULT 17 foobarcx +118: + grep ' foo123bar456bx' out/test/x86_64/dynamic-list3/log2 +118: 3: 00000000000017fe 7 FUNC GLOBAL DEFAULT 17 foo123bar456bx +118: + not grep ' foo123bar456c' out/test/x86_64/dynamic-list3/log2 +118: + grep ' foo123bar456c' out/test/x86_64/dynamic-list3/log2 +118: + return 0 +118: + not grep ' foo123bar456x' out/test/x86_64/dynamic-list3/log2 +118: + grep ' foo123bar456x' out/test/x86_64/dynamic-list3/log2 +118: + return 0 +118: + on_exit +118: + echo OK +118: OK +118: + exit 0 +117: 3: 000000000000175d 10 FUNC GLOBAL DEFAULT 17 _Z3bazi +120/402 Test #118: x86_64-dynamic-list3 .................................. Passed 0.52 sec test 132 Start 132: x86_64-exclude-libs2 @@ -9377,33 +9377,9 @@ 132: MACHINE=x86_64 132: CPU= 132: Test timeout computed to be: 1500 -131: ++ '[' Linux = FreeBSD ']' -131: ++ trap 'on_error $LINENO' ERR -131: ++ trap on_exit EXIT -131: ++ echo -n 'Testing exclude-libs ... ' -131: Testing exclude-libs ... ++ set -o pipefail -131: ++ set -x -131: + cat -131: + cc -fPIC -xc -c -o out/test/x86_64/exclude-libs/a.o - -127: + readelf --dyn-syms out/test/x86_64/empty-version/b.so -127: + grep ' bar2' -127: 6: 0000000000001670 7 FUNC GLOBAL DEFAULT 13 bar2 -116: + readelf --dyn-syms out/test/x86_64/dynamic-list/exe3 -111: mold: error: duplicate symbol: out/test/x86_64/duplicate-error-lto/a.o: out/test/x86_64/duplicate-error-lto/a.o: foo -111: + on_exit -111: + echo OK -111: OK -111: + exit 0 -121/402 Test #111: x86_64-duplicate-error-lto ............................ Passed 0.48 sec -test 133 - Start 133: x86_64-exclude-libs3 - -133: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/exclude-libs3.sh" -133: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -133: Environment variables: -133: MACHINE=x86_64 -133: CPU= -133: Test timeout computed to be: 1500 +117: + cc -B. -o out/test/x86_64/dynamic-list2/exe2 out/test/x86_64/dynamic-list2/a.o out/test/x86_64/dynamic-list2/b.o -Wl,--export-dynamic-symbol-list=out/test/x86_64/dynamic-list2/dyn +130: + c++ -B. -static -o /dev/null -xc++ - +130: + echo 'int main() {}' 132: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/exclude-libs2.sh 132: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 132: ++ export LC_ALL=C @@ -9420,34 +9396,9 @@ 132: ++ STRIP=strip 132: ++ QEMU= 132: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/exclude-libs2.sh .sh -116: + grep ' foo' out/test/x86_64/dynamic-list/log3 -116: 4: 0000000000001719 7 FUNC GLOBAL DEFAULT 17 foo -127: + on_exit -127: + echo OK -127: OK -127: + exit 0 -122/402 Test #127: x86_64-empty-version .................................. Passed 0.11 sec 132: ++ testname=exclude-libs2 132: ++ t=out/test/x86_64/exclude-libs2 132: ++ mkdir -p out/test/x86_64/exclude-libs2 -116: + grep ' bar' out/test/x86_64/dynamic-list/log3 -116: 3: 0000000000001720 7 FUNC GLOBAL DEFAULT 17 bar -116: + on_exit -116: + echo OK -116: OK -116: + exit 0 -125: + out/test/x86_64/empty-file/exe -125: + grep 'Hello world' -test 134 - Start 134: x86_64-execstack - -134: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/execstack.sh" -134: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -134: Environment variables: -134: MACHINE=x86_64 -134: CPU= -134: Test timeout computed to be: 1500 -123/402 Test #116: x86_64-dynamic-list ................................... Passed 0.33 sec 132: ++ case $MACHINE in 132: ++ tlsdesc_opt=-mtls-dialect=gnu2 132: +++ uname @@ -9457,23 +9408,74 @@ 132: ++ echo -n 'Testing exclude-libs2 ... ' 132: Testing exclude-libs2 ... ++ set -o pipefail 132: ++ set -x +131: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/exclude-libs.sh +131: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +131: ++ export LC_ALL=C +131: ++ LC_ALL=C +131: ++ '[' -z x86_64 ']' +131: ++ '[' -z '' ']' +131: ++ TESTDIR=out/test/x86_64 +131: ++ CC=cc +131: ++ CXX=c++ +131: ++ GCC=gcc +131: ++ GXX=g++ +131: ++ OBJDUMP=objdump +131: ++ OBJCOPY=objcopy +131: ++ STRIP=strip +131: ++ QEMU= 132: + cat 132: + cc -x assembler -c -o out/test/x86_64/exclude-libs2/a.o - -125: Hello world -125: + on_exit -125: + echo OK -125: OK -125: + exit 0 -124/402 Test #125: x86_64-empty-file ..................................... Passed 0.13 sec -test 135 - Start 135: x86_64-execute-only +131: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/exclude-libs.sh .sh +117: + readelf --dyn-syms out/test/x86_64/dynamic-list2/exe2 +117: + grep ' foo' out/test/x86_64/dynamic-list2/log2 +127: + readelf --dyn-syms out/test/x86_64/empty-version/b.so +127: + grep ' bar1' +127: 5: 0000000000001669 7 FUNC GLOBAL DEFAULT 13 bar1 +127: + grep ' bar2' +127: + readelf --dyn-syms out/test/x86_64/empty-version/b.so +131: ++ testname=exclude-libs +131: ++ t=out/test/x86_64/exclude-libs +131: ++ mkdir -p out/test/x86_64/exclude-libs +128: + readelf -e out/test/x86_64/entry/exe1 +127: 6: 0000000000001670 7 FUNC GLOBAL DEFAULT 13 bar2 +127: + on_exit +127: + echo OK +127: OK +127: + exit 0 +121/402 Test #127: x86_64-empty-version .................................. Passed 0.27 sec +128: + grep 'Entry point address:.*0x1000$' out/test/x86_64/entry/log +117: 4: 0000000000001749 10 FUNC GLOBAL DEFAULT 17 foo +131: ++ case $MACHINE in +131: ++ tlsdesc_opt=-mtls-dialect=gnu2 +test 133 + Start 133: x86_64-exclude-libs3 -135: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/execute-only.sh" -135: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -135: Environment variables: -135: MACHINE=x86_64 -135: CPU= -135: Test timeout computed to be: 1500 +133: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/exclude-libs3.sh" +133: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +133: Environment variables: +133: MACHINE=x86_64 +133: CPU= +133: Test timeout computed to be: 1500 +128: Entry point address: 0x1000 +117: + not grep ' bar' out/test/x86_64/dynamic-list2/log2 +117: + grep ' bar' out/test/x86_64/dynamic-list2/log2 +131: +++ uname +131: ++ '[' Linux = FreeBSD ']' +131: ++ trap 'on_error $LINENO' ERR +131: ++ trap on_exit EXIT +131: ++ echo -n 'Testing exclude-libs ... ' +131: Testing exclude-libs ... ++ set -o pipefail +131: ++ set -x +132: + rm -f out/test/x86_64/exclude-libs2/b.a +122: + c++ -o out/test/x86_64/emit-relocs-dead-sections/b.o -c -fPIC -xc++ -g -ffunction-sections - +122: + cat +119: + cc -B. -o out/test/x86_64/dynamic-list4/exe1 out/test/x86_64/dynamic-list4/e.o -Wl,-push-state,-no-as-needed out/test/x86_64/dynamic-list4/b.so -Wl,-pop-state +128: + cc -B. -o out/test/x86_64/entry/exe2 -Wl,-e,bar out/test/x86_64/entry/a.o out/test/x86_64/entry/b.o +132: + ar crs out/test/x86_64/exclude-libs2/b.a out/test/x86_64/exclude-libs2/a.o +117: + return 0 +117: + grep ' _Z3bazi' out/test/x86_64/dynamic-list2/log2 +131: + cat +131: + cc -fPIC -xc -c -o out/test/x86_64/exclude-libs/a.o - 133: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/exclude-libs3.sh 133: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 133: ++ export LC_ALL=C @@ -9489,32 +9491,37 @@ 133: ++ OBJCOPY=objcopy 133: ++ STRIP=strip 133: ++ QEMU= +117: 3: 000000000000175d 10 FUNC GLOBAL DEFAULT 17 _Z3bazi +117: + on_exit +117: + echo OK +117: OK +117: + exit 0 +122/402 Test #117: x86_64-dynamic-list2 .................................. Passed 0.66 sec +test 134 + Start 134: x86_64-execstack + +134: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/execstack.sh" +134: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +134: Environment variables: +134: MACHINE=x86_64 +134: CPU= +134: Test timeout computed to be: 1500 133: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/exclude-libs3.sh .sh 133: ++ testname=exclude-libs3 133: ++ t=out/test/x86_64/exclude-libs3 133: ++ mkdir -p out/test/x86_64/exclude-libs3 133: ++ case $MACHINE in 133: ++ tlsdesc_opt=-mtls-dialect=gnu2 +134: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/execstack.sh 133: +++ uname 133: ++ '[' Linux = FreeBSD ']' -132: + rm -f out/test/x86_64/exclude-libs2/b.a -test 136 - Start 136: x86_64-export-dynamic - -136: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/export-dynamic.sh" -136: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -136: Environment variables: -136: MACHINE=x86_64 -136: CPU= -136: Test timeout computed to be: 1500 133: ++ trap 'on_error $LINENO' ERR 133: ++ trap on_exit EXIT 133: ++ echo -n 'Testing exclude-libs3 ... ' 133: Testing exclude-libs3 ... ++ set -o pipefail 133: ++ set -x 133: + cat -133: + cc -fPIC -xc -c -o out/test/x86_64/exclude-libs3/a.o - -134: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/execstack.sh +119: + out/test/x86_64/dynamic-list4/exe1 134: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 134: ++ export LC_ALL=C 134: ++ LC_ALL=C @@ -9529,26 +9536,69 @@ 134: ++ OBJCOPY=objcopy 134: ++ STRIP=strip 134: ++ QEMU= +119: + grep 'foo1 bar1 baz1' +119: foo1 bar1 baz1 +119: + cc -B. -o out/test/x86_64/dynamic-list4/exe2 out/test/x86_64/dynamic-list4/e.o -Wl,-push-state,-no-as-needed out/test/x86_64/dynamic-list4/d.so out/test/x86_64/dynamic-list4/b.so -Wl,-pop-state +133: + cc -fPIC -xc -c -o out/test/x86_64/exclude-libs3/a.o - 134: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/execstack.sh .sh 134: ++ testname=execstack 134: ++ t=out/test/x86_64/execstack 134: ++ mkdir -p out/test/x86_64/execstack +129: + command -v perl +129: + '[' x86_64 = sh4 ']' 134: ++ case $MACHINE in 134: ++ tlsdesc_opt=-mtls-dialect=gnu2 +129: + cat 134: +++ uname -119: + out/test/x86_64/dynamic-list4/exe1 -119: + grep 'foo1 bar1 baz1' -119: foo1 bar1 baz1 -119: + cc -B. -o out/test/x86_64/dynamic-list4/exe2 out/test/x86_64/dynamic-list4/e.o -Wl,-push-state,-no-as-needed out/test/x86_64/dynamic-list4/d.so out/test/x86_64/dynamic-list4/b.so -Wl,-pop-state -132: + ar crs out/test/x86_64/exclude-libs2/b.a out/test/x86_64/exclude-libs2/a.o +129: + c++ -o out/test/x86_64/exception-multiple-ehframe/a.o -c -xc++ - +128: + readelf -e out/test/x86_64/entry/exe2 134: ++ '[' Linux = FreeBSD ']' 134: ++ trap 'on_error $LINENO' ERR 134: ++ trap on_exit EXIT 134: ++ echo -n 'Testing execstack ... ' 134: Testing execstack ... ++ set -o pipefail 134: ++ set -x +134: + cat 134: + cc -c -xc -o out/test/x86_64/execstack/a.o - -128: + cc -B. -o out/test/x86_64/entry/exe1 -Wl,-e,foo out/test/x86_64/entry/a.o out/test/x86_64/entry/b.o +128: + grep 'Entry point address:.*0x2000$' out/test/x86_64/entry/log +132: + cat +132: + cc -xc -c -o out/test/x86_64/exclude-libs2/c.o - +119: + out/test/x86_64/dynamic-list4/exe2 +119: + grep 'foo2 bar2 baz1' +128: Entry point address: 0x2000 +119: foo2 bar2 baz1 +133: + rm -f out/test/x86_64/exclude-libs3/b.a +128: + on_exit +128: + echo OK +128: OK +128: + exit 0 +119: + on_exit +119: + echo OK +119: OK +119: + exit 0 +123/402 Test #119: x86_64-dynamic-list4 .................................. Passed 0.75 sec +124/402 Test #128: x86_64-entry .......................................... Passed 0.42 sec +test 135 + Start 135: x86_64-execute-only + +135: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/execute-only.sh" +135: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +135: Environment variables: +135: MACHINE=x86_64 +135: CPU= +135: Test timeout computed to be: 1500 +test 136 + Start 136: x86_64-export-dynamic + +136: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/export-dynamic.sh" +136: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +136: Environment variables: +136: MACHINE=x86_64 +136: CPU= +136: Test timeout computed to be: 1500 +133: + ar crs out/test/x86_64/exclude-libs3/b.a out/test/x86_64/exclude-libs3/a.o +131: + cat +131: + cc -fPIC -xc -c -o out/test/x86_64/exclude-libs/b.o - 135: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/execute-only.sh 135: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 135: ++ export LC_ALL=C @@ -9572,7 +9622,6 @@ 136: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 136: ++ export LC_ALL=C 136: ++ LC_ALL=C -134: + cat 136: ++ '[' -z x86_64 ']' 136: ++ '[' -z '' ']' 136: ++ TESTDIR=out/test/x86_64 @@ -9584,17 +9633,20 @@ 136: ++ OBJCOPY=objcopy 136: ++ STRIP=strip 136: ++ QEMU= +93: + grep '^OK$' +93: + out/test/x86_64/defsym-lto/exe 136: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/export-dynamic.sh .sh -117: + readelf --dyn-syms out/test/x86_64/dynamic-list2/exe2 -136: ++ testname=export-dynamic -136: ++ t=out/test/x86_64/export-dynamic -136: ++ mkdir -p out/test/x86_64/export-dynamic 135: ++ case $MACHINE in 135: ++ tlsdesc_opt=-mtls-dialect=gnu2 135: +++ uname -135: ++ '[' Linux = FreeBSD ']' +136: ++ testname=export-dynamic +136: ++ t=out/test/x86_64/export-dynamic +136: ++ mkdir -p out/test/x86_64/export-dynamic 136: ++ case $MACHINE in 136: ++ tlsdesc_opt=-mtls-dialect=gnu2 +136: +++ uname +93: OK +135: ++ '[' Linux = FreeBSD ']' 135: ++ trap 'on_error $LINENO' ERR 135: ++ trap on_exit EXIT 135: ++ echo -n 'Testing execute-only ... ' @@ -9603,30 +9655,18 @@ 135: + '[' x86_64 = sparc64 ']' 135: + '[' x86_64 = ppc64 ']' 135: + '[' x86_64 = ppc64le ']' -117: + grep ' foo' out/test/x86_64/dynamic-list2/log2 -135: + cat -136: +++ uname -135: + cc -o out/test/x86_64/execute-only/a.o -c -xc - -117: 4: 0000000000001749 10 FUNC GLOBAL DEFAULT 17 foo +93: + on_exit +93: + echo OK +93: OK +93: + exit 0 136: ++ '[' Linux = FreeBSD ']' 136: ++ trap 'on_error $LINENO' ERR 136: ++ trap on_exit EXIT 136: ++ echo -n 'Testing export-dynamic ... ' 136: Testing export-dynamic ... ++ set -o pipefail 136: ++ set -x -117: + not grep ' bar' out/test/x86_64/dynamic-list2/log2 -117: + grep ' bar' out/test/x86_64/dynamic-list2/log2 -136: + cat -136: + cc -o out/test/x86_64/export-dynamic/a.o -c -x assembler - -117: + return 0 -117: + grep ' _Z3bazi' out/test/x86_64/dynamic-list2/log2 -117: 3: 000000000000175d 10 FUNC GLOBAL DEFAULT 17 _Z3bazi -117: + on_exit -117: + echo OK -117: OK -117: + exit 0 -125/402 Test #117: x86_64-dynamic-list2 .................................. Passed 0.31 sec -131: + cc -fPIC -xc -c -o out/test/x86_64/exclude-libs/b.o - +135: + cc -o out/test/x86_64/execute-only/a.o -c -xc - +125/402 Test #93: x86_64-defsym-lto ..................................... Passed 1.98 sec test 137 Start 137: x86_64-export-from-exe @@ -9636,9 +9676,16 @@ 137: MACHINE=x86_64 137: CPU= 137: Test timeout computed to be: 1500 -131: + cat +135: + cat +136: + cc -o out/test/x86_64/export-dynamic/a.o -c -x assembler - +136: + cat +130: + static=-static +130: + static='-static -pthread' +130: + cat +134: + cc -B. -o out/test/x86_64/execstack/exe out/test/x86_64/execstack/a.o -Wl,-z,execstack 136: + cc -shared -fPIC -o out/test/x86_64/export-dynamic/b.so -xc /dev/null 137: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/export-from-exe.sh +130: + c++ -c -o out/test/x86_64/exception/b.o out/test/x86_64/exception/a.cc -fPIC 137: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 137: ++ export LC_ALL=C 137: ++ LC_ALL=C @@ -9657,29 +9704,45 @@ 137: ++ testname=export-from-exe 137: ++ t=out/test/x86_64/export-from-exe 137: ++ mkdir -p out/test/x86_64/export-from-exe -128: + readelf -e out/test/x86_64/entry/exe1 137: ++ case $MACHINE in 137: ++ tlsdesc_opt=-mtls-dialect=gnu2 137: +++ uname -128: + grep 'Entry point address:.*0x1000$' out/test/x86_64/entry/log -119: + out/test/x86_64/dynamic-list4/exe2 -119: + grep 'foo2 bar2 baz1' 137: ++ '[' Linux = FreeBSD ']' 137: ++ trap 'on_error $LINENO' ERR 137: ++ trap on_exit EXIT 137: ++ echo -n 'Testing export-from-exe ... ' 137: Testing export-from-exe ... ++ set -o pipefail 137: ++ set -x -119: foo2 bar2 baz1 -128: Entry point address: 0x1000 -119: + on_exit -119: + echo OK -119: OK -119: + exit 0 -128: + cc -B. -o out/test/x86_64/entry/exe2 -Wl,-e,bar out/test/x86_64/entry/a.o out/test/x86_64/entry/b.o -137: + cat -126/402 Test #119: x86_64-dynamic-list4 .................................. Passed 0.30 sec 137: + cc -o out/test/x86_64/export-from-exe/a.o -c -xc - +129: + cat +129: + c++ -o out/test/x86_64/exception-multiple-ehframe/b.o -c -xc++ - +137: + cat +134: + readelf --segments -W out/test/x86_64/execstack/exe +134: + grep 'GNU_STACK.* RWE ' +134: GNU_STACK 0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x000000 RWE 0x1 +134: + cc -B. -o out/test/x86_64/execstack/exe out/test/x86_64/execstack/a.o -Wl,-z,execstack -Wl,-z,noexecstack +134: + readelf --segments -W out/test/x86_64/execstack/exe +134: + grep 'GNU_STACK.* RW ' +134: GNU_STACK 0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x000000 RW 0x1 +134: + cc -B. -o out/test/x86_64/execstack/exe out/test/x86_64/execstack/a.o +133: + cat +133: + cc -fPIC -xc -c -o out/test/x86_64/exclude-libs3/c.o - +122: + c++ -B. -o out/test/x86_64/emit-relocs-dead-sections/exe out/test/x86_64/emit-relocs-dead-sections/a.o out/test/x86_64/emit-relocs-dead-sections/b.o -Wl,-emit-relocs +134: + readelf --segments -W out/test/x86_64/execstack/exe +129: + perl -i -0777 -pe 's/\.eh_frame/.EH_FRAME/g' out/test/x86_64/exception-multiple-ehframe/a.o +131: + rm -f out/test/x86_64/exclude-libs/c.a +132: + cc -B. -shared -o out/test/x86_64/exclude-libs2/d.so out/test/x86_64/exclude-libs2/c.o out/test/x86_64/exclude-libs2/b.a -Wl,-exclude-libs=b.a +135: + cc -B. -o out/test/x86_64/execute-only/exe out/test/x86_64/execute-only/a.o -Wl,--execute-only +131: + ar crs out/test/x86_64/exclude-libs/c.a out/test/x86_64/exclude-libs/a.o +130: + c++ -c -o out/test/x86_64/exception/c.o out/test/x86_64/exception/a.cc -fno-PIC +134: + grep 'GNU_STACK.* RW ' +111: + cat +134: GNU_STACK 0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x000000 RW 0x1 +134: + on_exit +134: + echo OK +134: OK +134: + exit 0 +126/402 Test #134: x86_64-execstack ...................................... Passed 0.66 sec test 138 Start 138: x86_64-fatal-warnings @@ -9689,11 +9752,32 @@ 138: MACHINE=x86_64 138: CPU= 138: Test timeout computed to be: 1500 +137: + cat +137: + cc -shared -fPIC -o out/test/x86_64/export-from-exe/b.so -xc - +111: + cc -o out/test/x86_64/duplicate-error-lto/a.o -c -xc - -flto +122: + grep 'Hello world' +122: + out/test/x86_64/emit-relocs-dead-sections/exe +122: Hello world +122: Hello world +122: + on_exit +122: + echo OK +122: OK +122: + exit 0 138: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/fatal-warnings.sh +127/402 Test #122: x86_64-emit-relocs-dead-sections ...................... Passed 1.18 sec 138: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 138: ++ export LC_ALL=C 138: ++ LC_ALL=C 138: ++ '[' -z x86_64 ']' +test 139 + Start 139: x86_64-filler + +139: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/filler.sh" +139: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +139: Environment variables: +139: MACHINE=x86_64 +139: CPU= +139: Test timeout computed to be: 1500 138: ++ '[' -z '' ']' 138: ++ TESTDIR=out/test/x86_64 138: ++ CC=cc @@ -9717,69 +9801,10 @@ 138: ++ echo -n 'Testing fatal-warnings ... ' 138: Testing fatal-warnings ... ++ set -o pipefail 138: ++ set -x -138: + cat 138: + cc -fcommon -xc -c -o out/test/x86_64/fatal-warnings/a.o - -132: + cc -xc -c -o out/test/x86_64/exclude-libs2/c.o - -132: + cat -134: + cc -B. -o out/test/x86_64/execstack/exe out/test/x86_64/execstack/a.o -Wl,-z,execstack -133: + rm -f out/test/x86_64/exclude-libs3/b.a -135: + cc -B. -o out/test/x86_64/execute-only/exe out/test/x86_64/execute-only/a.o -Wl,--execute-only -133: + ar crs out/test/x86_64/exclude-libs3/b.a out/test/x86_64/exclude-libs3/a.o -131: + rm -f out/test/x86_64/exclude-libs/c.a -128: + readelf -e out/test/x86_64/entry/exe2 -131: + ar crs out/test/x86_64/exclude-libs/c.a out/test/x86_64/exclude-libs/a.o -134: + readelf --segments -W out/test/x86_64/execstack/exe -134: + grep 'GNU_STACK.* RWE ' -134: GNU_STACK 0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x000000 RWE 0x1 -134: + cc -B. -o out/test/x86_64/execstack/exe out/test/x86_64/execstack/a.o -Wl,-z,execstack -Wl,-z,noexecstack -135: + out/test/x86_64/execute-only/exe -135: + grep 'Hello world' -128: + grep 'Entry point address:.*0x2000$' out/test/x86_64/entry/log -135: Hello world -133: + cat -133: + cc -fPIC -xc -c -o out/test/x86_64/exclude-libs3/c.o - -128: Entry point address: 0x2000 -128: + on_exit -128: + echo OK -128: OK -128: + exit 0 -131: + rm -f out/test/x86_64/exclude-libs/d.a -131: + ar crs out/test/x86_64/exclude-libs/d.a out/test/x86_64/exclude-libs/b.o -127/402 Test #128: x86_64-entry .......................................... Passed 0.17 sec -test 139 - Start 139: x86_64-filler - -139: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/filler.sh" -139: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -139: Environment variables: -139: MACHINE=x86_64 -139: CPU= -139: Test timeout computed to be: 1500 -132: + cc -B. -shared -o out/test/x86_64/exclude-libs2/d.so out/test/x86_64/exclude-libs2/c.o out/test/x86_64/exclude-libs2/b.a -Wl,-exclude-libs=b.a -135: + readelf -W --segments out/test/x86_64/execute-only/exe -135: + grep -E 'LOAD\s.*[0-9a-f] E 0x' -135: LOAD 0x0005a4 0x00000000000015a4 0x00000000000015a4 0x00016f 0x00016f E 0x1000 -135: + on_exit -135: + echo OK -135: OK -135: + exit 0 -130: + static=-static -130: + static='-static -pthread' -130: + cat -130: + c++ -c -o out/test/x86_64/exception/b.o out/test/x86_64/exception/a.cc -fPIC -137: + cc -shared -fPIC -o out/test/x86_64/export-from-exe/b.so -xc - -137: + cat -128/402 Test #135: x86_64-execute-only ................................... Passed 0.12 sec -test 140 - Start 140: x86_64-filter - -140: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/filter.sh" -140: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -140: Environment variables: -140: MACHINE=x86_64 -140: CPU= -140: Test timeout computed to be: 1500 +138: + cat 139: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/filler.sh +132: + grep -F foo 139: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 139: ++ export LC_ALL=C 139: ++ LC_ALL=C @@ -9795,21 +9820,62 @@ 139: ++ STRIP=strip 139: ++ QEMU= 139: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/filler.sh .sh +135: + grep 'Hello world' 139: ++ testname=filler 139: ++ t=out/test/x86_64/filler 139: ++ mkdir -p out/test/x86_64/filler +135: + out/test/x86_64/execute-only/exe +135: Hello world 139: ++ case $MACHINE in 139: ++ tlsdesc_opt=-mtls-dialect=gnu2 -138: + cc -fcommon -xc -c -o out/test/x86_64/fatal-warnings/b.o - -138: + cat +132: + readelf --dyn-syms out/test/x86_64/exclude-libs2/d.so +135: + readelf -W --segments out/test/x86_64/execute-only/exe 139: +++ uname -140: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/filter.sh -134: + readelf --segments -W out/test/x86_64/execstack/exe -140: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +139: ++ '[' Linux = FreeBSD ']' +139: ++ trap 'on_error $LINENO' ERR +139: ++ trap on_exit EXIT +139: ++ echo -n 'Testing filler ... ' +139: Testing filler ... ++ set -o pipefail +139: ++ set -x +139: + test_cflags -static +132: 5: 00000000000015d9 11 FUNC GLOBAL DEFAULT 13 foo +132: + on_exit +132: + echo OK +132: OK +132: + exit 0 +128/402 Test #132: x86_64-exclude-libs2 .................................. Passed 0.79 sec +test 140 + Start 140: x86_64-filter + +140: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/filter.sh" +140: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +140: Environment variables: +140: MACHINE=x86_64 +140: CPU= +140: Test timeout computed to be: 1500 +139: + cc -B. -static -o /dev/null -xc - +139: + echo 'int main() {}' +135: + grep -E 'LOAD\s.*[0-9a-f] E 0x' +135: LOAD 0x0005a4 0x00000000000015a4 0x00000000000015a4 0x00016f 0x00016f E 0x1000 +135: + on_exit +135: + echo OK +135: OK +135: + exit 0 +129/402 Test #135: x86_64-execute-only ................................... Passed 0.55 sec +test 141 + Start 141: x86_64-func-addr + +141: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/func-addr.sh" +141: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +141: Environment variables: +141: MACHINE=x86_64 +141: CPU= +141: Test timeout computed to be: 1500 +140: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/filter.sh +140: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 140: ++ export LC_ALL=C 140: ++ LC_ALL=C 140: ++ '[' -z x86_64 ']' -134: + grep 'GNU_STACK.* RW ' 140: ++ '[' -z '' ']' 140: ++ TESTDIR=out/test/x86_64 140: ++ CC=cc @@ -9824,66 +9890,21 @@ 140: ++ testname=filter 140: ++ t=out/test/x86_64/filter 140: ++ mkdir -p out/test/x86_64/filter -139: ++ '[' Linux = FreeBSD ']' -139: ++ trap 'on_error $LINENO' ERR -139: ++ trap on_exit EXIT -139: ++ echo -n 'Testing filler ... ' -139: Testing filler ... ++ set -o pipefail -139: ++ set -x -139: + test_cflags -static 140: ++ case $MACHINE in 140: ++ tlsdesc_opt=-mtls-dialect=gnu2 140: +++ uname -139: + echo 'int main() {}' -139: + cc -B. -static -o /dev/null -xc - -134: GNU_STACK 0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x000000 RW 0x1 140: ++ '[' Linux = FreeBSD ']' 140: ++ trap 'on_error $LINENO' ERR 140: ++ trap on_exit EXIT 140: ++ echo -n 'Testing filter ... ' 140: Testing filter ... ++ set -o pipefail 140: ++ set -x -134: + cc -B. -o out/test/x86_64/execstack/exe out/test/x86_64/execstack/a.o -140: + cat 140: + cc -o out/test/x86_64/filter/a.o -c -x assembler - -136: + ./mold -o out/test/x86_64/export-dynamic/exe out/test/x86_64/export-dynamic/a.o out/test/x86_64/export-dynamic/b.so --export-dynamic -140: + ./mold -o out/test/x86_64/filter/b.so out/test/x86_64/filter/a.o --filter foo -F bar -shared -132: + readelf --dyn-syms out/test/x86_64/exclude-libs2/d.so -132: + grep -F foo -132: 5: 00000000000015d9 11 FUNC GLOBAL DEFAULT 13 foo -132: + on_exit -132: + echo OK -132: OK -132: + exit 0 -136: + readelf --dyn-syms out/test/x86_64/export-dynamic/exe -129/402 Test #132: x86_64-exclude-libs2 .................................. Passed 0.16 sec -test 141 - Start 141: x86_64-func-addr - -141: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/func-addr.sh" -141: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -141: Environment variables: -141: MACHINE=x86_64 -141: CPU= -141: Test timeout computed to be: 1500 -129: + command -v perl -129: + '[' x86_64 = sh4 ']' -129: + cat -129: + c++ -o out/test/x86_64/exception-multiple-ehframe/a.o -c -xc++ - -136: + grep -E 'NOTYPE\s+GLOBAL DEFAULT\s+[0-9]+ bar' out/test/x86_64/export-dynamic/log -136: 2: 0000000000201309 0 NOTYPE GLOBAL DEFAULT 7 bar -136: + grep -E 'NOTYPE\s+GLOBAL DEFAULT\s+[0-9]+ _start' out/test/x86_64/export-dynamic/log -140: + readelf --dynamic out/test/x86_64/filter/b.so +140: + cat 141: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/func-addr.sh -136: 1: 000000000020130a 0 NOTYPE GLOBAL DEFAULT 7 _start -136: + on_exit -136: + echo OK -136: OK -136: + exit 0 -140: + grep -F 'Filter library: [foo]' out/test/x86_64/filter/log +140: + ./mold -o out/test/x86_64/filter/b.so out/test/x86_64/filter/a.o --filter foo -F bar -shared 141: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 141: ++ export LC_ALL=C -130/402 Test #136: x86_64-export-dynamic ................................. Passed 0.14 sec 141: ++ LC_ALL=C 141: ++ '[' -z x86_64 ']' 141: ++ '[' -z '' ']' @@ -9896,47 +9917,40 @@ 141: ++ OBJCOPY=objcopy 141: ++ STRIP=strip 141: ++ QEMU= -test 142 - Start 142: x86_64-gc-sections - -142: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/gc-sections.sh" -142: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -142: Environment variables: -142: MACHINE=x86_64 -142: CPU= -142: Test timeout computed to be: 1500 141: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/func-addr.sh .sh 141: ++ testname=func-addr 141: ++ t=out/test/x86_64/func-addr 141: ++ mkdir -p out/test/x86_64/func-addr -140: 0x000000007fffffff (FILTER) Filter library: [foo] -140: + grep -F 'Filter library: [bar]' out/test/x86_64/filter/log -140: 0x000000007fffffff (FILTER) Filter library: [bar] -140: + on_exit -140: + echo OK -140: OK -140: + exit 0 141: ++ case $MACHINE in 141: ++ tlsdesc_opt=-mtls-dialect=gnu2 -131/402 Test #140: x86_64-filter ......................................... Passed 0.03 sec 141: +++ uname -test 143 - Start 143: x86_64-gdb-index-compress-output - -143: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-compress-output.sh" -143: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -143: Environment variables: -143: MACHINE=x86_64 -143: CPU= -143: Test timeout computed to be: 1500 141: ++ '[' Linux = FreeBSD ']' 141: ++ trap 'on_error $LINENO' ERR 141: ++ trap on_exit EXIT 141: ++ echo -n 'Testing func-addr ... ' 141: Testing func-addr ... ++ set -o pipefail 141: ++ set -x -141: + cc -shared -o out/test/x86_64/func-addr/a.so -xc - 141: + cat +140: + readelf --dynamic out/test/x86_64/filter/b.so +140: + grep -F 'Filter library: [foo]' out/test/x86_64/filter/log +140: 0x000000007fffffff (FILTER) Filter library: [foo] +140: + grep -F 'Filter library: [bar]' out/test/x86_64/filter/log +141: + cc -shared -o out/test/x86_64/func-addr/a.so -xc - +140: 0x000000007fffffff (FILTER) Filter library: [bar] +140: + on_exit +140: + echo OK +140: OK +140: + exit 0 +130/402 Test #140: x86_64-filter ......................................... Passed 0.07 sec +test 142 + Start 142: x86_64-gc-sections + +142: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/gc-sections.sh" +142: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +142: Environment variables: +142: MACHINE=x86_64 +142: CPU= +142: Test timeout computed to be: 1500 142: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/gc-sections.sh 142: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 142: ++ export LC_ALL=C @@ -9956,63 +9970,71 @@ 142: ++ testname=gc-sections 142: ++ t=out/test/x86_64/gc-sections 142: ++ mkdir -p out/test/x86_64/gc-sections -143: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-compress-output.sh 142: ++ case $MACHINE in 142: ++ tlsdesc_opt=-mtls-dialect=gnu2 -143: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -143: ++ export LC_ALL=C -143: ++ LC_ALL=C -143: ++ '[' -z x86_64 ']' 142: +++ uname -143: ++ '[' -z '' ']' -143: ++ TESTDIR=out/test/x86_64 -143: ++ CC=cc -143: ++ CXX=c++ -143: ++ GCC=gcc -143: ++ GXX=g++ -143: ++ OBJDUMP=objdump -143: ++ OBJCOPY=objcopy -143: ++ STRIP=strip -143: ++ QEMU= +129: + ./mold -r -o out/test/x86_64/exception-multiple-ehframe/c.o out/test/x86_64/exception-multiple-ehframe/a.o out/test/x86_64/exception-multiple-ehframe/b.o 142: ++ '[' Linux = FreeBSD ']' -143: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-compress-output.sh .sh 142: ++ trap 'on_error $LINENO' ERR 142: ++ trap on_exit EXIT 142: ++ echo -n 'Testing gc-sections ... ' 142: Testing gc-sections ... ++ set -o pipefail 142: ++ set -x -142: + c++ -c -o out/test/x86_64/gc-sections/a.o -xc++ - -ffunction-sections -fdata-sections -143: ++ testname=gdb-index-compress-output -143: ++ t=out/test/x86_64/gdb-index-compress-output -143: ++ mkdir -p out/test/x86_64/gdb-index-compress-output +131: + rm -f out/test/x86_64/exclude-libs/d.a +131: + ar crs out/test/x86_64/exclude-libs/d.a out/test/x86_64/exclude-libs/b.o 142: + cat -143: ++ case $MACHINE in -143: ++ tlsdesc_opt=-mtls-dialect=gnu2 -143: +++ uname -143: ++ '[' Linux = FreeBSD ']' -143: ++ trap 'on_error $LINENO' ERR -143: ++ trap on_exit EXIT -143: ++ echo -n 'Testing gdb-index-compress-output ... ' -143: Testing gdb-index-compress-output ... ++ set -o pipefail -143: ++ set -x -143: + on_qemu -143: + '[' '' '!=' '' ']' -143: + grep -w qemu /proc/cpuinfo -134: + readelf --segments -W out/test/x86_64/execstack/exe -134: + grep 'GNU_STACK.* RW ' +142: + c++ -c -o out/test/x86_64/gc-sections/a.o -xc++ - -ffunction-sections -fdata-sections +129: + perl -i -0777 -pe 's/\.EH_FRAME/.eh_frame/g' out/test/x86_64/exception-multiple-ehframe/c.o +130: + c++ -B. -o out/test/x86_64/exception/exe1 out/test/x86_64/exception/b.o -static -pthread +133: + cc -B. -shared -o out/test/x86_64/exclude-libs3/d.so out/test/x86_64/exclude-libs3/c.o out/test/x86_64/exclude-libs3/b.a -Wl,-exclude-libs=ALL +111: + cc -o out/test/x86_64/duplicate-error-lto/b.o -c -xc - -flto +111: + cat +138: + cat +138: + cc -fcommon -xc -c -o out/test/x86_64/fatal-warnings/b.o - +129: + cat +129: + c++ -o out/test/x86_64/exception-multiple-ehframe/d.o -c -xc++ - +131: + cat +136: + ./mold -o out/test/x86_64/export-dynamic/exe out/test/x86_64/export-dynamic/a.o out/test/x86_64/export-dynamic/b.so --export-dynamic 131: + cc -fPIC -xc -c -o out/test/x86_64/exclude-libs/e.o - -143: + '[' x86_64 = riscv64 -o x86_64 = riscv32 -o x86_64 = sparc64 ']' -143: + command -v gdb -134: GNU_STACK 0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x000000 RW 0x1 -143: + cat -143: + cc -c -o out/test/x86_64/gdb-index-compress-output/a.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -ffunction-sections +141: + cat +142: + c++ -B. -o out/test/x86_64/gc-sections/exe1 out/test/x86_64/gc-sections/a.o +141: + cc -o out/test/x86_64/func-addr/b.o -c -xc -fno-PIC - +136: + readelf --dyn-syms out/test/x86_64/export-dynamic/exe +137: + cc -B. -o out/test/x86_64/export-from-exe/exe out/test/x86_64/export-from-exe/a.o out/test/x86_64/export-from-exe/b.so +129: + c++ -B. -o out/test/x86_64/exception-multiple-ehframe/exe1 out/test/x86_64/exception-multiple-ehframe/d.o out/test/x86_64/exception-multiple-ehframe/c.o +136: + grep -E 'NOTYPE\s+GLOBAL DEFAULT\s+[0-9]+ bar' out/test/x86_64/export-dynamic/log +139: + cc -o out/test/x86_64/filler/a.o -c -xc - +133: + grep -F foo +133: + readelf --dyn-syms out/test/x86_64/exclude-libs3/d.so +133: 5: 0000000000001649 17 FUNC GLOBAL DEFAULT 15 foo +133: + on_exit +133: + echo OK +133: OK +133: + exit 0 +139: + cat +111: + not cc -B. -o out/test/x86_64/duplicate-error-lto/exe1 out/test/x86_64/duplicate-error-lto/a.o out/test/x86_64/duplicate-error-lto/a.o out/test/x86_64/duplicate-error-lto/b.o -flto +111: + grep 'duplicate symbol.*: foo$' +136: 2: 0000000000201309 0 NOTYPE GLOBAL DEFAULT 7 bar +136: + grep -E 'NOTYPE\s+GLOBAL DEFAULT\s+[0-9]+ _start' out/test/x86_64/export-dynamic/log +131: + cc -B. -shared -o out/test/x86_64/exclude-libs/f.so out/test/x86_64/exclude-libs/e.o out/test/x86_64/exclude-libs/c.a out/test/x86_64/exclude-libs/d.a 138: + cc -B. -o out/test/x86_64/fatal-warnings/exe out/test/x86_64/fatal-warnings/a.o out/test/x86_64/fatal-warnings/b.o -Wl,-warn-common -134: + on_exit -134: + echo OK -134: OK -134: + exit 0 -131: + cat -132/402 Test #134: x86_64-execstack ...................................... Passed 0.18 sec +131/402 Test #133: x86_64-exclude-libs3 .................................. Passed 1.16 sec +test 143 + Start 143: x86_64-gdb-index-compress-output + +143: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-compress-output.sh" +143: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +143: Environment variables: +143: MACHINE=x86_64 +143: CPU= +143: Test timeout computed to be: 1500 +130: + out/test/x86_64/exception/exe1 +136: 1: 000000000020130a 0 NOTYPE GLOBAL DEFAULT 7 _start +136: + on_exit +136: + echo OK +136: OK +136: + exit 0 +132/402 Test #136: x86_64-export-dynamic ................................. Passed 0.97 sec test 144 Start 144: x86_64-gdb-index-dwarf2 @@ -10022,8 +10044,44 @@ 144: MACHINE=x86_64 144: CPU= 144: Test timeout computed to be: 1500 +130: + c++ -B. -o out/test/x86_64/exception/exe2 out/test/x86_64/exception/c.o -no-pie -static -pthread +131: + readelf --dyn-syms out/test/x86_64/exclude-libs/f.so +142: + readelf --symbols out/test/x86_64/gc-sections/exe1 +142: + out/test/x86_64/gc-sections/exe1 +111: mold: error: duplicate symbol: out/test/x86_64/duplicate-error-lto/a.o: out/test/x86_64/duplicate-error-lto/a.o: foo +111: + on_exit +111: + echo OK +111: OK +111: + exit 0 +143: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-compress-output.sh +143: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +143: ++ export LC_ALL=C +143: ++ LC_ALL=C +143: ++ '[' -z x86_64 ']' +143: ++ '[' -z '' ']' +143: ++ TESTDIR=out/test/x86_64 +143: ++ CC=cc +143: ++ CXX=c++ +143: ++ GCC=gcc +143: ++ GXX=g++ +143: ++ OBJDUMP=objdump +143: ++ OBJCOPY=objcopy +143: ++ STRIP=strip +143: ++ QEMU= +133/402 Test #111: x86_64-duplicate-error-lto ............................ Passed 2.57 sec +test 145 + Start 145: x86_64-gdb-index-dwarf3 + +145: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-dwarf3.sh" +145: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +145: Environment variables: +145: MACHINE=x86_64 +145: CPU= +145: Test timeout computed to be: 1500 +131: + grep -F foo out/test/x86_64/exclude-libs/log +131: 7: 00000000000016f8 11 FUNC GLOBAL DEFAULT 15 foo +131: + grep -F bar out/test/x86_64/exclude-libs/log 144: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-dwarf2.sh -130: + c++ -c -o out/test/x86_64/exception/c.o out/test/x86_64/exception/a.cc -fno-PIC 144: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 144: ++ export LC_ALL=C 144: ++ LC_ALL=C @@ -10054,45 +10112,25 @@ 144: + on_qemu 144: + '[' '' '!=' '' ']' 144: + grep -w qemu /proc/cpuinfo +142: + grep '1 2' +142: 1 2 +142: + grep live_fn1 out/test/x86_64/gc-sections/log1 +143: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-compress-output.sh .sh +143: ++ testname=gdb-index-compress-output +143: ++ t=out/test/x86_64/gdb-index-compress-output +143: ++ mkdir -p out/test/x86_64/gdb-index-compress-output +142: 70: 0000000000001834 7 FUNC LOCAL DEFAULT 20 _Z8live_fn1v +143: ++ case $MACHINE in +143: ++ tlsdesc_opt=-mtls-dialect=gnu2 +142: + grep live_fn2 out/test/x86_64/gc-sections/log1 144: + '[' x86_64 = riscv64 -o x86_64 = riscv32 -o x86_64 = sparc64 ']' 144: + command -v gdb 144: + test_cflags -gdwarf-2 -g -144: + echo 'int main() {}' -144: + cc -B. -gdwarf-2 -g -o /dev/null -xc - -133: + cc -B. -shared -o out/test/x86_64/exclude-libs3/d.so out/test/x86_64/exclude-libs3/c.o out/test/x86_64/exclude-libs3/b.a -Wl,-exclude-libs=ALL -129: + c++ -o out/test/x86_64/exception-multiple-ehframe/b.o -c -xc++ - -137: + cc -B. -o out/test/x86_64/export-from-exe/exe out/test/x86_64/export-from-exe/a.o out/test/x86_64/export-from-exe/b.so -129: + cat -141: + cat -141: + cc -o out/test/x86_64/func-addr/b.o -c -xc -fno-PIC - -131: + cc -B. -shared -o out/test/x86_64/exclude-libs/f.so out/test/x86_64/exclude-libs/e.o out/test/x86_64/exclude-libs/c.a out/test/x86_64/exclude-libs/d.a -143: + cc -B. -shared -o out/test/x86_64/gdb-index-compress-output/b.so out/test/x86_64/gdb-index-compress-output/a.o -Wl,--gdb-index -Wl,--compress-debug-sections=zlib-gabi -142: + c++ -B. -o out/test/x86_64/gc-sections/exe1 out/test/x86_64/gc-sections/a.o -130: + c++ -B. -o out/test/x86_64/exception/exe1 out/test/x86_64/exception/b.o -static -pthread -138: + not cc -B. -o out/test/x86_64/fatal-warnings/exe out/test/x86_64/fatal-warnings/a.o out/test/x86_64/fatal-warnings/b.o -Wl,-warn-common -Wl,-fatal-warnings -133: + readelf --dyn-syms out/test/x86_64/exclude-libs3/d.so -133: + grep -F foo -133: 5: 0000000000001649 17 FUNC GLOBAL DEFAULT 15 foo -133: + on_exit -133: + echo OK -133: OK -133: + exit 0 -133/402 Test #133: x86_64-exclude-libs3 .................................. Passed 0.26 sec -test 145 - Start 145: x86_64-gdb-index-dwarf3 - -145: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-dwarf3.sh" -145: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -145: Environment variables: -145: MACHINE=x86_64 -145: CPU= -145: Test timeout computed to be: 1500 -122: + cat -122: + c++ -o out/test/x86_64/emit-relocs-dead-sections/b.o -c -fPIC -xc++ -g -ffunction-sections - -129: + perl -i -0777 -pe 's/\.eh_frame/.EH_FRAME/g' out/test/x86_64/exception-multiple-ehframe/a.o -137: + readelf --dyn-syms out/test/x86_64/export-from-exe/exe -137: + grep expfn2 +143: +++ uname +131: 5: 0000000000001703 11 FUNC GLOBAL DEFAULT 15 bar +131: + grep -F baz out/test/x86_64/exclude-libs/log 145: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-dwarf3.sh +144: + cc -B. -gdwarf-2 -g -o /dev/null -xc - 145: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 145: ++ export LC_ALL=C 145: ++ LC_ALL=C @@ -10107,20 +10145,36 @@ 145: ++ OBJCOPY=objcopy 145: ++ STRIP=strip 145: ++ QEMU= +143: ++ '[' Linux = FreeBSD ']' +143: ++ trap 'on_error $LINENO' ERR +143: ++ trap on_exit EXIT +143: ++ echo -n 'Testing gdb-index-compress-output ... ' +143: Testing gdb-index-compress-output ... ++ set -o pipefail +143: ++ set -x +143: + on_qemu +143: + '[' '' '!=' '' ']' +143: + grep -w qemu /proc/cpuinfo +131: 6: 00000000000016d9 31 FUNC GLOBAL DEFAULT 15 baz +131: + cc -B. -shared -o out/test/x86_64/exclude-libs/f.so out/test/x86_64/exclude-libs/e.o out/test/x86_64/exclude-libs/c.a out/test/x86_64/exclude-libs/d.a -Wl,-exclude-libs=c.a +142: 71: 000000000000183b 12 FUNC LOCAL DEFAULT 20 _Z8live_fn2v +142: + grep dead_fn1 out/test/x86_64/gc-sections/log1 +142: 72: 0000000000001847 7 FUNC LOCAL DEFAULT 20 _Z8dead_fn1v +129: + grep '^1 3$' +129: + out/test/x86_64/exception-multiple-ehframe/exe1 +129: 1 3 +129: + on_exit +129: + echo OK +129: OK +129: + exit 0 145: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-dwarf3.sh .sh -137: 5: 00000000000017b0 7 FUNC GLOBAL DEFAULT 19 expfn2 -137: + grep expfn1 +144: + echo 'int main() {}' +142: + grep dead_fn2 out/test/x86_64/gc-sections/log1 +134/402 Test #129: x86_64-exception-multiple-ehframe ..................... Passed 1.37 sec +137: + grep expfn2 137: + readelf --dyn-syms out/test/x86_64/export-from-exe/exe 145: ++ testname=gdb-index-dwarf3 145: ++ t=out/test/x86_64/gdb-index-dwarf3 145: ++ mkdir -p out/test/x86_64/gdb-index-dwarf3 -129: + ./mold -r -o out/test/x86_64/exception-multiple-ehframe/c.o out/test/x86_64/exception-multiple-ehframe/a.o out/test/x86_64/exception-multiple-ehframe/b.o -137: 4: 00000000000017a9 7 FUNC GLOBAL DEFAULT 19 expfn1 -137: + on_exit -137: + echo OK -137: OK -137: + exit 0 -134/402 Test #137: x86_64-export-from-exe ................................ Passed 0.25 sec test 146 Start 146: x86_64-gdb-index-dwarf4 @@ -10130,6 +10184,23 @@ 146: MACHINE=x86_64 146: CPU= 146: Test timeout computed to be: 1500 +142: 73: 000000000000184e 12 FUNC LOCAL DEFAULT 20 _Z8dead_fn2v +142: + grep live_var1 out/test/x86_64/gc-sections/log1 +142: 66: 0000000000003af0 4 OBJECT LOCAL DEFAULT 26 live_var1 +142: + grep live_var2 out/test/x86_64/gc-sections/log1 +143: + '[' x86_64 = riscv64 -o x86_64 = riscv32 -o x86_64 = sparc64 ']' +143: + command -v gdb +143: + cc -c -o out/test/x86_64/gdb-index-compress-output/a.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -ffunction-sections +143: + cat +137: 5: 00000000000017b0 7 FUNC GLOBAL DEFAULT 19 expfn2 +137: + grep expfn1 +137: + readelf --dyn-syms out/test/x86_64/export-from-exe/exe +137: 4: 00000000000017a9 7 FUNC GLOBAL DEFAULT 19 expfn1 +137: + on_exit +137: + echo OK +137: OK +137: + exit 0 +138: + not cc -B. -o out/test/x86_64/fatal-warnings/exe out/test/x86_64/fatal-warnings/a.o out/test/x86_64/fatal-warnings/b.o -Wl,-warn-common -Wl,-fatal-warnings 145: ++ case $MACHINE in 145: ++ tlsdesc_opt=-mtls-dialect=gnu2 145: +++ uname @@ -10145,10 +10216,10 @@ 145: + '[' x86_64 = riscv64 -o x86_64 = riscv32 -o x86_64 = sparc64 ']' 145: + command -v gdb 145: + test_cflags -gdwarf-3 -145: + echo 'int main() {}' 145: + cc -B. -gdwarf-3 -o /dev/null -xc - +142: 67: 0000000000003b24 4 OBJECT LOCAL DEFAULT 29 live_var2 +142: + grep dead_var1 out/test/x86_64/gc-sections/log1 146: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-dwarf4.sh -141: + cc -B. -o out/test/x86_64/func-addr/exe -no-pie out/test/x86_64/func-addr/b.o out/test/x86_64/func-addr/a.so 146: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 146: ++ export LC_ALL=C 146: ++ LC_ALL=C @@ -10163,46 +10234,7 @@ 146: ++ OBJCOPY=objcopy 146: ++ STRIP=strip 146: ++ QEMU= -131: + readelf --dyn-syms out/test/x86_64/exclude-libs/f.so -143: + readelf -WS out/test/x86_64/gdb-index-compress-output/b.so -143: + grep -F .gdb_index -139: + cat -139: + cc -o out/test/x86_64/filler/a.o -c -xc - -146: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-dwarf4.sh .sh -131: + grep -F foo out/test/x86_64/exclude-libs/log -143: [36] .gdb_index PROGBITS 0000000000000000 002358 0001bd 00 0 0 4 -146: ++ testname=gdb-index-dwarf4 -146: ++ t=out/test/x86_64/gdb-index-dwarf4 -146: ++ mkdir -p out/test/x86_64/gdb-index-dwarf4 -143: + cc -c -o out/test/x86_64/gdb-index-compress-output/c.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -gz -143: + cat -131: 7: 00000000000016f8 11 FUNC GLOBAL DEFAULT 15 foo -131: + grep -F bar out/test/x86_64/exclude-libs/log -146: ++ case $MACHINE in -146: ++ tlsdesc_opt=-mtls-dialect=gnu2 -146: +++ uname -131: 5: 0000000000001703 11 FUNC GLOBAL DEFAULT 15 bar -131: + grep -F baz out/test/x86_64/exclude-libs/log -146: ++ '[' Linux = FreeBSD ']' -146: ++ trap 'on_error $LINENO' ERR -146: ++ trap on_exit EXIT -146: ++ echo -n 'Testing gdb-index-dwarf4 ... ' -146: Testing gdb-index-dwarf4 ... ++ set -o pipefail -146: ++ set -x -146: + on_qemu -146: + '[' '' '!=' '' ']' -146: + grep -w qemu /proc/cpuinfo -131: 6: 00000000000016d9 31 FUNC GLOBAL DEFAULT 15 baz -142: + readelf --symbols out/test/x86_64/gc-sections/exe1 -131: + cc -B. -shared -o out/test/x86_64/exclude-libs/f.so out/test/x86_64/exclude-libs/e.o out/test/x86_64/exclude-libs/c.a out/test/x86_64/exclude-libs/d.a -Wl,-exclude-libs=c.a -146: + '[' x86_64 = riscv64 -o x86_64 = riscv32 -o x86_64 = sparc64 ']' -146: + command -v gdb -146: + test_cflags -gdwarf-4 -g -138: + on_exit -138: + echo OK -138: OK -138: + exit 0 -135/402 Test #138: x86_64-fatal-warnings ................................. Passed 0.27 sec +135/402 Test #137: x86_64-export-from-exe ................................ Passed 1.02 sec test 147 Start 147: x86_64-gdb-index-dwarf5 @@ -10212,22 +10244,22 @@ 147: MACHINE=x86_64 147: CPU= 147: Test timeout computed to be: 1500 -129: + perl -i -0777 -pe 's/\.EH_FRAME/.eh_frame/g' out/test/x86_64/exception-multiple-ehframe/c.o -142: + grep '1 2' -142: + out/test/x86_64/gc-sections/exe1 -146: + echo 'int main() {}' -146: + cc -B. -gdwarf-4 -g -o /dev/null -xc - -144: + cat -142: 1 2 -144: + cc -c -o out/test/x86_64/gdb-index-dwarf2/a.o -fPIC -g -ggnu-pubnames -gdwarf-2 -xc - -ffunction-sections -129: + cat -142: + grep live_fn1 out/test/x86_64/gc-sections/log1 -129: + c++ -o out/test/x86_64/exception-multiple-ehframe/d.o -c -xc++ - +142: 68: 0000000000003af4 4 OBJECT LOCAL DEFAULT 26 dead_var1 +142: + grep dead_var2 out/test/x86_64/gc-sections/log1 +142: 69: 0000000000003af8 4 OBJECT LOCAL DEFAULT 26 dead_var2 +142: + c++ -B. -o out/test/x86_64/gc-sections/exe2 out/test/x86_64/gc-sections/a.o -Wl,-gc-sections +145: + echo 'int main() {}' +146: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-dwarf4.sh .sh +146: ++ testname=gdb-index-dwarf4 +146: ++ t=out/test/x86_64/gdb-index-dwarf4 +146: ++ mkdir -p out/test/x86_64/gdb-index-dwarf4 +131: + readelf --dyn-syms out/test/x86_64/exclude-libs/f.so +146: ++ case $MACHINE in +146: ++ tlsdesc_opt=-mtls-dialect=gnu2 147: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-dwarf5.sh 147: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 147: ++ export LC_ALL=C 147: ++ LC_ALL=C -142: 70: 0000000000001834 7 FUNC LOCAL DEFAULT 20 _Z8live_fn1v 147: ++ '[' -z x86_64 ']' 147: ++ '[' -z '' ']' 147: ++ TESTDIR=out/test/x86_64 @@ -10243,7 +10275,26 @@ 147: ++ testname=gdb-index-dwarf5 147: ++ t=out/test/x86_64/gdb-index-dwarf5 147: ++ mkdir -p out/test/x86_64/gdb-index-dwarf5 -142: + grep live_fn2 out/test/x86_64/gc-sections/log1 +146: +++ uname +146: ++ '[' Linux = FreeBSD ']' +146: ++ trap 'on_error $LINENO' ERR +146: ++ trap on_exit EXIT +146: ++ echo -n 'Testing gdb-index-dwarf4 ... ' +146: Testing gdb-index-dwarf4 ... ++ set -o pipefail +146: ++ set -x +146: + on_qemu +146: + '[' '' '!=' '' ']' +146: + grep -w qemu /proc/cpuinfo +146: + '[' x86_64 = riscv64 -o x86_64 = riscv32 -o x86_64 = sparc64 ']' +146: + command -v gdb +146: + test_cflags -gdwarf-4 -g +146: + cc -B. -gdwarf-4 -g -o /dev/null -xc - +130: + out/test/x86_64/exception/exe2 +138: + on_exit +138: + echo OK +138: OK +138: + exit 0 +146: + echo 'int main() {}' 147: ++ case $MACHINE in 147: ++ tlsdesc_opt=-mtls-dialect=gnu2 147: +++ uname @@ -10256,30 +10307,12 @@ 147: + on_qemu 147: + '[' '' '!=' '' ']' 147: + grep -w qemu /proc/cpuinfo -142: 71: 000000000000183b 12 FUNC LOCAL DEFAULT 20 _Z8live_fn2v -139: + cc -B. -static -Wl,--filler,0xfe -o out/test/x86_64/filler/exe1 out/test/x86_64/filler/a.o -142: + grep dead_fn1 out/test/x86_64/gc-sections/log1 -143: + cc -B. -o out/test/x86_64/gdb-index-compress-output/exe out/test/x86_64/gdb-index-compress-output/b.so out/test/x86_64/gdb-index-compress-output/c.o -Wl,--gdb-index -Wl,--compress-debug-sections=zlib -142: 72: 0000000000001847 7 FUNC LOCAL DEFAULT 20 _Z8dead_fn1v -142: + grep dead_fn2 out/test/x86_64/gc-sections/log1 147: + '[' x86_64 = riscv64 -o x86_64 = riscv32 -o x86_64 = sparc64 ']' 147: + command -v gdb 147: + test_cflags -gdwarf-5 -g 147: + cc -B. -gdwarf-5 -g -o /dev/null -xc - +136/402 Test #138: x86_64-fatal-warnings ................................. Passed 0.62 sec 147: + echo 'int main() {}' -142: 73: 000000000000184e 12 FUNC LOCAL DEFAULT 20 _Z8dead_fn2v -142: + grep live_var1 out/test/x86_64/gc-sections/log1 -141: + grep 1 -142: 66: 0000000000003af0 4 OBJECT LOCAL DEFAULT 26 live_var1 -142: + grep live_var2 out/test/x86_64/gc-sections/log1 -141: + out/test/x86_64/func-addr/exe -141: 1 -141: + on_exit -141: + echo OK -141: OK -141: + exit 0 -136/402 Test #141: x86_64-func-addr ...................................... Passed 0.20 sec -142: 67: 0000000000003b24 4 OBJECT LOCAL DEFAULT 29 live_var2 test 148 Start 148: x86_64-gdb-index-dwarf64 @@ -10289,14 +10322,7 @@ 148: MACHINE=x86_64 148: CPU= 148: Test timeout computed to be: 1500 -142: + grep dead_var1 out/test/x86_64/gc-sections/log1 -142: 68: 0000000000003af4 4 OBJECT LOCAL DEFAULT 26 dead_var1 -142: + grep dead_var2 out/test/x86_64/gc-sections/log1 -144: + cat -144: + cc -c -o out/test/x86_64/gdb-index-dwarf2/b.o -fPIC -g -ggnu-pubnames -gdwarf-2 -xc - -ffunction-sections 148: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-dwarf64.sh -142: 69: 0000000000003af8 4 OBJECT LOCAL DEFAULT 26 dead_var2 -142: + c++ -B. -o out/test/x86_64/gc-sections/exe2 out/test/x86_64/gc-sections/a.o -Wl,-gc-sections 148: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 148: ++ export LC_ALL=C 148: ++ LC_ALL=C @@ -10312,21 +10338,13 @@ 148: ++ STRIP=strip 148: ++ QEMU= 148: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-dwarf64.sh .sh -130: + out/test/x86_64/exception/exe1 -131: + readelf --dyn-syms out/test/x86_64/exclude-libs/f.so 148: ++ testname=gdb-index-dwarf64 148: ++ t=out/test/x86_64/gdb-index-dwarf64 148: ++ mkdir -p out/test/x86_64/gdb-index-dwarf64 -145: + cat -129: + c++ -B. -o out/test/x86_64/exception-multiple-ehframe/exe1 out/test/x86_64/exception-multiple-ehframe/d.o out/test/x86_64/exception-multiple-ehframe/c.o -145: + cc -c -o out/test/x86_64/gdb-index-dwarf3/a.o -fPIC -g -ggnu-pubnames -gdwarf-3 -xc - -ffunction-sections 148: ++ case $MACHINE in 148: ++ tlsdesc_opt=-mtls-dialect=gnu2 148: +++ uname -130: + c++ -B. -o out/test/x86_64/exception/exe2 out/test/x86_64/exception/c.o -no-pie -static -pthread 148: ++ '[' Linux = FreeBSD ']' -131: + not grep -F foo out/test/x86_64/exclude-libs/log -131: + grep -F foo out/test/x86_64/exclude-libs/log 148: ++ trap 'on_error $LINENO' ERR 148: ++ trap on_exit EXIT 148: ++ echo -n 'Testing gdb-index-dwarf64 ... ' @@ -10335,42 +10353,43 @@ 148: + on_qemu 148: + '[' '' '!=' '' ']' 148: + grep -w qemu /proc/cpuinfo -131: + return 0 -131: + grep -F bar out/test/x86_64/exclude-libs/log 148: + '[' x86_64 = riscv64 -o x86_64 = riscv32 -o x86_64 = sparc64 ']' 148: + command -v gdb 148: + test_cflags -gdwarf-5 -g -gdwarf64 148: + echo 'int main() {}' 148: + cc -B. -gdwarf-5 -g -gdwarf64 -o /dev/null -xc - -131: 5: 00000000000016c3 11 FUNC GLOBAL DEFAULT 15 bar -131: + grep -F baz out/test/x86_64/exclude-libs/log -131: 6: 0000000000001699 31 FUNC GLOBAL DEFAULT 15 baz -146: + cat -131: + cc -B. -shared -o out/test/x86_64/exclude-libs/f.so out/test/x86_64/exclude-libs/e.o out/test/x86_64/exclude-libs/c.a out/test/x86_64/exclude-libs/d.a -Wl,-exclude-libs=c.a -Wl,-exclude-libs=d.a -146: + cc -c -o out/test/x86_64/gdb-index-dwarf4/a.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -ffunction-sections -143: + readelf -WS out/test/x86_64/gdb-index-compress-output/exe -145: + cat -145: + cc -c -o out/test/x86_64/gdb-index-dwarf3/b.o -fPIC -g -ggnu-pubnames -gdwarf-3 -xc - -ffunction-sections -143: + grep -F .gdb_index -143: [38] .gdb_index PROGBITS 0000000000000000 002468 000075 00 0 0 4 -143: + out/test/x86_64/gdb-index-compress-output/exe -139: + sed -i -e 's/--filler 0xfe/--filler 0x00/' out/test/x86_64/filler/exe1 -143: + grep 'Hello world' -144: + cc -B. -shared -o out/test/x86_64/gdb-index-dwarf2/c.so out/test/x86_64/gdb-index-dwarf2/a.o out/test/x86_64/gdb-index-dwarf2/b.o -Wl,--gdb-index -143: Hello world -146: + cat -146: + cc -c -o out/test/x86_64/gdb-index-dwarf4/b.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -ffunction-sections -143: + DEBUGINFOD_URLS= -129: + out/test/x86_64/exception-multiple-ehframe/exe1 -143: + gdb out/test/x86_64/gdb-index-compress-output/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit -129: + grep '^1 3$' -139: + od -x out/test/x86_64/filler/exe1 -129: 1 3 -129: + on_exit -129: + echo OK -129: OK -129: + exit 0 -137/402 Test #129: x86_64-exception-multiple-ehframe ..................... Passed 0.48 sec +130: + c++ -B. -o out/test/x86_64/exception/exe3 out/test/x86_64/exception/b.o -pie +142: + readelf --symbols out/test/x86_64/gc-sections/exe2 +130: + out/test/x86_64/exception/exe3 +130: + c++ -B. -o out/test/x86_64/exception/exe4 out/test/x86_64/exception/c.o -no-pie +142: + grep '1 2' +142: + out/test/x86_64/gc-sections/exe2 +142: 1 2 +142: + grep live_fn1 out/test/x86_64/gc-sections/log2 +142: 64: 00000000000017e4 7 FUNC LOCAL DEFAULT 19 _Z8live_fn1v +142: + grep live_fn2 out/test/x86_64/gc-sections/log2 +142: 65: 00000000000017eb 12 FUNC LOCAL DEFAULT 19 _Z8live_fn2v +142: + not grep dead_fn1 out/test/x86_64/gc-sections/log2 +142: + grep dead_fn1 out/test/x86_64/gc-sections/log2 +142: + return 0 +142: + not grep dead_fn2 out/test/x86_64/gc-sections/log2 +142: + grep dead_fn2 out/test/x86_64/gc-sections/log2 +142: + return 0 +142: + grep live_var1 out/test/x86_64/gc-sections/log2 +142: 62: 0000000000003a80 4 OBJECT LOCAL DEFAULT 25 live_var1 +142: + grep live_var2 out/test/x86_64/gc-sections/log2 +142: 63: 0000000000003aac 4 OBJECT LOCAL DEFAULT 28 live_var2 +142: + not grep dead_var1 out/test/x86_64/gc-sections/log2 +142: + grep dead_var1 out/test/x86_64/gc-sections/log2 +142: + return 0 +142: + not grep dead_var2 out/test/x86_64/gc-sections/log2 +142: + grep dead_var2 out/test/x86_64/gc-sections/log2 +142: + return 0 +142: + on_exit +142: + echo OK +142: OK +142: + exit 0 +137/402 Test #142: x86_64-gc-sections .................................... Passed 0.57 sec test 149 Start 149: x86_64-gdb-index-empty @@ -10380,7 +10399,11 @@ 149: MACHINE=x86_64 149: CPU= 149: Test timeout computed to be: 1500 +130: + out/test/x86_64/exception/exe4 +130: + c++ -B. -o out/test/x86_64/exception/exe5 out/test/x86_64/exception/b.o -pie -Wl,--gc-sections 149: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-empty.sh +131: + not grep -F foo out/test/x86_64/exclude-libs/log +131: + grep -F foo out/test/x86_64/exclude-libs/log 149: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 149: ++ export LC_ALL=C 149: ++ LC_ALL=C @@ -10395,72 +10418,39 @@ 149: ++ OBJCOPY=objcopy 149: ++ STRIP=strip 149: ++ QEMU= +141: + cc -B. -o out/test/x86_64/func-addr/exe -no-pie out/test/x86_64/func-addr/b.o out/test/x86_64/func-addr/a.so +131: + return 0 +131: + grep -F bar out/test/x86_64/exclude-libs/log +139: + cc -B. -static -Wl,--filler,0xfe -o out/test/x86_64/filler/exe1 out/test/x86_64/filler/a.o 149: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-empty.sh .sh 149: ++ testname=gdb-index-empty 149: ++ t=out/test/x86_64/gdb-index-empty 149: ++ mkdir -p out/test/x86_64/gdb-index-empty -139: + cc -B. -static -Wl,--filler,0x00 -o out/test/x86_64/filler/exe2 out/test/x86_64/filler/a.o -147: + cat -142: + readelf --symbols out/test/x86_64/gc-sections/exe2 -145: + cc -B. -shared -o out/test/x86_64/gdb-index-dwarf3/c.so out/test/x86_64/gdb-index-dwarf3/a.o out/test/x86_64/gdb-index-dwarf3/b.o -Wl,--gdb-index -147: + cat +131: 5: 00000000000016c3 11 FUNC GLOBAL DEFAULT 15 bar +131: + grep -F baz out/test/x86_64/exclude-libs/log 149: ++ case $MACHINE in 149: ++ tlsdesc_opt=-mtls-dialect=gnu2 +131: 6: 0000000000001699 31 FUNC GLOBAL DEFAULT 15 baz +131: + cc -B. -shared -o out/test/x86_64/exclude-libs/f.so out/test/x86_64/exclude-libs/e.o out/test/x86_64/exclude-libs/c.a out/test/x86_64/exclude-libs/d.a -Wl,-exclude-libs=c.a -Wl,-exclude-libs=d.a 149: +++ uname -142: + out/test/x86_64/gc-sections/exe2 -142: + grep '1 2' 149: ++ '[' Linux = FreeBSD ']' 149: ++ trap 'on_error $LINENO' ERR 149: ++ trap on_exit EXIT 149: ++ echo -n 'Testing gdb-index-empty ... ' 149: Testing gdb-index-empty ... ++ set -o pipefail 149: ++ set -x -147: + cat 149: + echo 'void _start() {}' 149: + cc -c -o out/test/x86_64/gdb-index-empty/a.o -xc - -142: 1 2 -142: + grep live_fn1 out/test/x86_64/gc-sections/log2 -142: 64: 00000000000017e4 7 FUNC LOCAL DEFAULT 19 _Z8live_fn1v -142: + grep live_fn2 out/test/x86_64/gc-sections/log2 -148: + cat -147: + cat -142: 65: 00000000000017eb 12 FUNC LOCAL DEFAULT 19 _Z8live_fn2v -147: + cc -c -o out/test/x86_64/gdb-index-dwarf5/a.o out/test/x86_64/gdb-index-dwarf5/a.c -fPIC -g -ggnu-pubnames -gdwarf-5 -ffunction-sections -130: + out/test/x86_64/exception/exe2 -148: + cat -144: + readelf -WS out/test/x86_64/gdb-index-dwarf2/c.so -131: + readelf --dyn-syms out/test/x86_64/exclude-libs/f.so -142: + not grep dead_fn1 out/test/x86_64/gc-sections/log2 -142: + grep dead_fn1 out/test/x86_64/gc-sections/log2 -130: + c++ -B. -o out/test/x86_64/exception/exe3 out/test/x86_64/exception/b.o -pie -148: + cat -144: + grep -F .gdb_index -142: + return 0 -144: [37] .gdb_index PROGBITS 0000000000000000 0027e0 000270 00 0 0 4 -148: + cat -142: + not grep dead_fn2 out/test/x86_64/gc-sections/log2 -142: + grep dead_fn2 out/test/x86_64/gc-sections/log2 -131: + not grep -F foo out/test/x86_64/exclude-libs/log -131: + grep -F foo out/test/x86_64/exclude-libs/log -144: + cat -144: + cc -c -o out/test/x86_64/gdb-index-dwarf2/d.o -fPIC -g -ggnu-pubnames -gdwarf-2 -xc - -gz -148: + cc -c -o out/test/x86_64/gdb-index-dwarf64/a.o out/test/x86_64/gdb-index-dwarf64/a.c -fPIC -g -ggnu-pubnames -gdwarf-5 -gdwarf64 -ffunction-sections -142: + return 0 -142: + grep live_var1 out/test/x86_64/gc-sections/log2 -142: 62: 0000000000003a80 4 OBJECT LOCAL DEFAULT 25 live_var1 -142: + grep live_var2 out/test/x86_64/gc-sections/log2 -142: 63: 0000000000003aac 4 OBJECT LOCAL DEFAULT 28 live_var2 -142: + not grep dead_var1 out/test/x86_64/gc-sections/log2 -142: + grep dead_var1 out/test/x86_64/gc-sections/log2 -142: + return 0 -142: + not grep dead_var2 out/test/x86_64/gc-sections/log2 -142: + grep dead_var2 out/test/x86_64/gc-sections/log2 -142: + return 0 -142: + on_exit -142: + echo OK -142: OK -142: + exit 0 -138/402 Test #142: x86_64-gc-sections .................................... Passed 0.38 sec +141: + out/test/x86_64/func-addr/exe +141: + grep 1 +141: 1 +141: + on_exit +141: + echo OK +141: OK +141: + exit 0 +130: + out/test/x86_64/exception/exe5 +138/402 Test #141: x86_64-func-addr ...................................... Passed 0.72 sec +143: + cc -B. -shared -o out/test/x86_64/gdb-index-compress-output/b.so out/test/x86_64/gdb-index-compress-output/a.o -Wl,--gdb-index -Wl,--compress-debug-sections=zlib-gabi test 150 Start 150: x86_64-gdb-index-split-dwarf @@ -10470,16 +10460,8 @@ 150: MACHINE=x86_64 150: CPU= 150: Test timeout computed to be: 1500 -139: + od -x out/test/x86_64/filler/exe2 -131: + return 0 -131: + not grep -F bar out/test/x86_64/exclude-libs/log -131: + grep -F bar out/test/x86_64/exclude-libs/log -131: + return 0 -131: + grep -F baz out/test/x86_64/exclude-libs/log -146: + cc -B. -shared -o out/test/x86_64/gdb-index-dwarf4/c.so out/test/x86_64/gdb-index-dwarf4/a.o out/test/x86_64/gdb-index-dwarf4/b.o -Wl,--gdb-index -131: 5: 0000000000001629 31 FUNC GLOBAL DEFAULT 13 baz -149: + ./mold -o out/test/x86_64/gdb-index-empty/exe out/test/x86_64/gdb-index-empty/a.o -gdb-index -131: + cc -B. -shared -o out/test/x86_64/exclude-libs/f.so out/test/x86_64/exclude-libs/e.o out/test/x86_64/exclude-libs/c.a out/test/x86_64/exclude-libs/d.a -Wl,-exclude-libs=c.a:d.a +130: + c++ -B. -o out/test/x86_64/exception/exe6 out/test/x86_64/exception/c.o -no-pie -static -pthread -Wl,--gc-sections +131: + readelf --dyn-syms out/test/x86_64/exclude-libs/f.so 150: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/gdb-index-split-dwarf.sh 150: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 150: ++ export LC_ALL=C @@ -10502,11 +10484,7 @@ 150: ++ case $MACHINE in 150: ++ tlsdesc_opt=-mtls-dialect=gnu2 150: +++ uname -130: + out/test/x86_64/exception/exe3 150: ++ '[' Linux = FreeBSD ']' -149: + readelf -WS out/test/x86_64/gdb-index-empty/exe -149: + not grep -F .gdb_index -149: + grep -F .gdb_index 150: ++ trap 'on_error $LINENO' ERR 150: ++ trap on_exit EXIT 150: ++ echo -n 'Testing gdb-index-split-dwarf ... ' @@ -10515,19 +10493,48 @@ 150: + on_qemu 150: + '[' '' '!=' '' ']' 150: + grep -w qemu /proc/cpuinfo -147: + cc -c -o out/test/x86_64/gdb-index-dwarf5/b.o out/test/x86_64/gdb-index-dwarf5/b.c -fPIC -g -ggnu-pubnames -gdwarf-4 -ffunction-sections -130: + c++ -B. -o out/test/x86_64/exception/exe4 out/test/x86_64/exception/c.o -no-pie +150: + '[' x86_64 = riscv64 -o x86_64 = riscv32 -o x86_64 = sparc64 ']' +150: + command -v gdb +150: + test_cflags -gdwarf-5 -g +150: + echo 'int main() {}' +150: + cc -B. -gdwarf-5 -g -o /dev/null -xc - +139: + sed -i -e 's/--filler 0xfe/--filler 0x00/' out/test/x86_64/filler/exe1 +131: + not grep -F foo out/test/x86_64/exclude-libs/log +131: + grep -F foo out/test/x86_64/exclude-libs/log +131: + return 0 +131: + not grep -F bar out/test/x86_64/exclude-libs/log +131: + grep -F bar out/test/x86_64/exclude-libs/log +149: + ./mold -o out/test/x86_64/gdb-index-empty/exe out/test/x86_64/gdb-index-empty/a.o -gdb-index +143: + grep -F .gdb_index +145: + cc -c -o out/test/x86_64/gdb-index-dwarf3/a.o -fPIC -g -ggnu-pubnames -gdwarf-3 -xc - -ffunction-sections +145: + cat +143: + readelf -WS out/test/x86_64/gdb-index-compress-output/b.so +143: [36] .gdb_index PROGBITS 0000000000000000 002358 0001bd 00 0 0 4 +131: + return 0 +131: + grep -F baz out/test/x86_64/exclude-libs/log +143: + cc -c -o out/test/x86_64/gdb-index-compress-output/c.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -gz +143: + cat +131: 5: 0000000000001629 31 FUNC GLOBAL DEFAULT 13 baz +131: + cc -B. -shared -o out/test/x86_64/exclude-libs/f.so out/test/x86_64/exclude-libs/e.o out/test/x86_64/exclude-libs/c.a out/test/x86_64/exclude-libs/d.a -Wl,-exclude-libs=c.a:d.a +146: + cc -c -o out/test/x86_64/gdb-index-dwarf4/a.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -ffunction-sections +146: + cat +130: + out/test/x86_64/exception/exe6 +144: + cc -c -o out/test/x86_64/gdb-index-dwarf2/a.o -fPIC -g -ggnu-pubnames -gdwarf-2 -xc - -ffunction-sections +130: + '[' x86_64 = x86_64 ']' +130: + c++ -c -o out/test/x86_64/exception/d.o out/test/x86_64/exception/a.cc -mcmodel=large -fPIC +148: + cat +144: + cat +149: + not grep -F .gdb_index +149: + grep -F .gdb_index +147: + cat +149: + readelf -WS out/test/x86_64/gdb-index-empty/exe +148: + cat 149: + return 0 -145: + readelf -WS out/test/x86_64/gdb-index-dwarf3/c.so -145: + grep -F .gdb_index 149: + on_exit 149: + echo OK 149: OK 149: + exit 0 -139/402 Test #149: x86_64-gdb-index-empty ................................ Passed 0.17 sec -150: + '[' x86_64 = riscv64 -o x86_64 = riscv32 -o x86_64 = sparc64 ']' -150: + command -v gdb -150: + test_cflags -gdwarf-5 -g +139/402 Test #149: x86_64-gdb-index-empty ................................ Passed 0.18 sec test 151 Start 151: x86_64-glibc-2.22-bug @@ -10537,11 +10544,10 @@ 151: MACHINE=x86_64 151: CPU= 151: Test timeout computed to be: 1500 -150: + echo 'int main() {}' -150: + cc -B. -gdwarf-5 -g -o /dev/null -xc - -145: [36] .gdb_index PROGBITS 0000000000000000 0025f8 000270 00 0 0 4 -145: + cat -145: + cc -c -o out/test/x86_64/gdb-index-dwarf3/d.o -fPIC -g -ggnu-pubnames -gdwarf-3 -xc - -gz +147: + cat +100: + grep '/exe:.*/a.o ' out/test/x86_64/dependency-file-lto/dep +148: + cat +131: + readelf --dyn-syms out/test/x86_64/exclude-libs/f.so 151: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/glibc-2.22-bug.sh 151: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 151: ++ export LC_ALL=C @@ -10558,32 +10564,36 @@ 151: ++ STRIP=strip 151: ++ QEMU= 151: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/glibc-2.22-bug.sh .sh -146: + readelf -WS out/test/x86_64/gdb-index-dwarf4/c.so 151: ++ testname=glibc-2.22-bug 151: ++ t=out/test/x86_64/glibc-2.22-bug 151: ++ mkdir -p out/test/x86_64/glibc-2.22-bug -146: + grep -F .gdb_index -146: [36] .gdb_index PROGBITS 0000000000000000 0025e0 000270 00 0 0 4 151: ++ case $MACHINE in 151: ++ tlsdesc_opt=-mtls-dialect=gnu2 151: +++ uname -131: + readelf --dyn-syms out/test/x86_64/exclude-libs/f.so -146: + cat -146: + cc -c -o out/test/x86_64/gdb-index-dwarf4/d.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -gz 151: ++ '[' Linux = FreeBSD ']' 151: ++ trap 'on_error $LINENO' ERR 151: ++ trap on_exit EXIT 151: ++ echo -n 'Testing glibc-2.22-bug ... ' 151: Testing glibc-2.22-bug ... ++ set -o pipefail 151: ++ set -x -151: + cat -139: + diff -q out/test/x86_64/filler/txt1 out/test/x86_64/filler/txt2 151: + cc -o out/test/x86_64/glibc-2.22-bug/a.o -fPIC -c -xc - -139: + on_exit -139: + echo OK -139: OK -139: + exit 0 -140/402 Test #139: x86_64-filler ......................................... Passed 0.52 sec +147: + cat +148: + cat +100: out/test/x86_64/dependency-file-lto/exe: /usr/lib/x86_64-linux-gnu/Scrt1.o /usr/lib/x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/14/crtbeginS.o out/test/x86_64/dependency-file-lto/a.o /usr/lib/gcc/x86_64-linux-gnu/14/libgcc.a /usr/lib/gcc/x86_64-linux-gnu/14/libgcc_s.so /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 /usr/lib/x86_64-linux-gnu/libc.so /lib/x86_64-linux-gnu/libc.so.6 /usr/lib/x86_64-linux-gnu/libc_nonshared.a /lib64/ld-linux-x86-64.so.2 /usr/lib/gcc/x86_64-linux-gnu/14/crtendS.o /usr/lib/x86_64-linux-gnu/crtn.o +100: + grep '/a.o:$' out/test/x86_64/dependency-file-lto/dep +151: + cat +147: + cat +100: out/test/x86_64/dependency-file-lto/a.o: +100: + not grep '^/tmp' out/test/x86_64/dependency-file-lto/dep +100: + grep '^/tmp' out/test/x86_64/dependency-file-lto/dep +148: + cc -c -o out/test/x86_64/gdb-index-dwarf64/a.o out/test/x86_64/gdb-index-dwarf64/a.c -fPIC -g -ggnu-pubnames -gdwarf-5 -gdwarf64 -ffunction-sections +147: + cc -c -o out/test/x86_64/gdb-index-dwarf5/a.o out/test/x86_64/gdb-index-dwarf5/a.c -fPIC -g -ggnu-pubnames -gdwarf-5 -ffunction-sections +100: + return 0 +100: + on_exit +100: + echo OK +100: OK +100: + exit 0 +140/402 Test #100: x86_64-dependency-file-lto ............................ Passed 3.20 sec test 152 Start 152: x86_64-global-offset-table @@ -10593,8 +10603,10 @@ 152: MACHINE=x86_64 152: CPU= 152: Test timeout computed to be: 1500 -130: + out/test/x86_64/exception/exe4 -130: + c++ -B. -o out/test/x86_64/exception/exe5 out/test/x86_64/exception/b.o -pie -Wl,--gc-sections +139: + od -x out/test/x86_64/filler/exe1 +131: + not grep -F foo out/test/x86_64/exclude-libs/log +131: + grep -F foo out/test/x86_64/exclude-libs/log +147: + cc -c -o out/test/x86_64/gdb-index-dwarf5/b.o out/test/x86_64/gdb-index-dwarf5/b.c -fPIC -g -ggnu-pubnames -gdwarf-4 -ffunction-sections 152: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/global-offset-table.sh 152: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 152: ++ export LC_ALL=C @@ -10610,10 +10622,27 @@ 152: ++ OBJCOPY=objcopy 152: ++ STRIP=strip 152: ++ QEMU= +143: + cc -B. -o out/test/x86_64/gdb-index-compress-output/exe out/test/x86_64/gdb-index-compress-output/b.so out/test/x86_64/gdb-index-compress-output/c.o -Wl,--gdb-index -Wl,--compress-debug-sections=zlib +130: + c++ -B. -o out/test/x86_64/exception/exe7 out/test/x86_64/exception/d.o -static -pthread +131: + return 0 +131: + not grep -F bar out/test/x86_64/exclude-libs/log +131: + grep -F bar out/test/x86_64/exclude-libs/log +148: + cc -c -o out/test/x86_64/gdb-index-dwarf64/b.o out/test/x86_64/gdb-index-dwarf64/b.c -fPIC -g -ggnu-pubnames -gdwarf-4 -gdwarf64 -ffunction-sections +151: + cc -B. -o out/test/x86_64/glibc-2.22-bug/b.so -shared out/test/x86_64/glibc-2.22-bug/a.o +145: + cc -c -o out/test/x86_64/gdb-index-dwarf3/b.o -fPIC -g -ggnu-pubnames -gdwarf-3 -xc - -ffunction-sections 152: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/global-offset-table.sh .sh +146: + cat +146: + cc -c -o out/test/x86_64/gdb-index-dwarf4/b.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -ffunction-sections +144: + cat +144: + cc -c -o out/test/x86_64/gdb-index-dwarf2/b.o -fPIC -g -ggnu-pubnames -gdwarf-2 -xc - -ffunction-sections 152: ++ testname=global-offset-table 152: ++ t=out/test/x86_64/global-offset-table 152: ++ mkdir -p out/test/x86_64/global-offset-table +131: + return 0 +145: + cat +131: + grep -F baz out/test/x86_64/exclude-libs/log +131: 5: 0000000000001629 31 FUNC GLOBAL DEFAULT 13 baz +131: + cc -B. -shared -o out/test/x86_64/exclude-libs/f.so out/test/x86_64/exclude-libs/e.o out/test/x86_64/exclude-libs/c.a out/test/x86_64/exclude-libs/d.a -Wl,-exclude-libs=ALL 152: ++ case $MACHINE in 152: ++ tlsdesc_opt=-mtls-dialect=gnu2 152: +++ uname @@ -10624,57 +10653,23 @@ 152: Testing global-offset-table ... ++ set -o pipefail 152: ++ set -x 152: + '[' x86_64 = ppc64le ']' -152: + cat -152: + cc -fPIC -c -o out/test/x86_64/global-offset-table/a.o -xc - -131: + not grep -F foo out/test/x86_64/exclude-libs/log -131: + grep -F foo out/test/x86_64/exclude-libs/log -131: + return 0 -131: + not grep -F bar out/test/x86_64/exclude-libs/log -131: + grep -F bar out/test/x86_64/exclude-libs/log -131: + return 0 -131: + grep -F baz out/test/x86_64/exclude-libs/log -131: 5: 0000000000001629 31 FUNC GLOBAL DEFAULT 13 baz -148: + cc -c -o out/test/x86_64/gdb-index-dwarf64/b.o out/test/x86_64/gdb-index-dwarf64/b.c -fPIC -g -ggnu-pubnames -gdwarf-4 -gdwarf64 -ffunction-sections -131: + cc -B. -shared -o out/test/x86_64/exclude-libs/f.so out/test/x86_64/exclude-libs/e.o out/test/x86_64/exclude-libs/c.a out/test/x86_64/exclude-libs/d.a -Wl,-exclude-libs=ALL -144: + cc -B. -o out/test/x86_64/gdb-index-dwarf2/exe out/test/x86_64/gdb-index-dwarf2/c.so out/test/x86_64/gdb-index-dwarf2/d.o -Wl,--gdb-index -146: + cc -B. -o out/test/x86_64/gdb-index-dwarf4/exe out/test/x86_64/gdb-index-dwarf4/c.so out/test/x86_64/gdb-index-dwarf4/d.o -Wl,--gdb-index -147: + cc -c -o out/test/x86_64/gdb-index-dwarf5/c.o out/test/x86_64/gdb-index-dwarf5/c.c -fPIC -g -ggnu-pubnames -gdwarf-5 -145: + cc -B. -o out/test/x86_64/gdb-index-dwarf3/exe out/test/x86_64/gdb-index-dwarf3/c.so out/test/x86_64/gdb-index-dwarf3/d.o -Wl,--gdb-index -151: + cc -B. -o out/test/x86_64/glibc-2.22-bug/b.so -shared out/test/x86_64/glibc-2.22-bug/a.o -130: + out/test/x86_64/exception/exe5 -130: + c++ -B. -o out/test/x86_64/exception/exe6 out/test/x86_64/exception/c.o -no-pie -static -pthread -Wl,--gc-sections -152: + cc -B. -no-pie -o out/test/x86_64/global-offset-table/exe out/test/x86_64/global-offset-table/a.o -Wl,-defsym=foo=_GLOBAL_OFFSET_TABLE_ -122: + c++ -B. -o out/test/x86_64/emit-relocs-dead-sections/exe out/test/x86_64/emit-relocs-dead-sections/a.o out/test/x86_64/emit-relocs-dead-sections/b.o -Wl,-emit-relocs -131: + readelf --dyn-syms out/test/x86_64/exclude-libs/f.so -144: + readelf -WS out/test/x86_64/gdb-index-dwarf2/exe -144: + grep -F .gdb_index -144: [39] .gdb_index PROGBITS 0000000000000000 0024f0 000075 00 0 0 4 -148: + cc -c -o out/test/x86_64/gdb-index-dwarf64/c.o out/test/x86_64/gdb-index-dwarf64/c.c -fPIC -g -ggnu-pubnames -gdwarf-5 -gdwarf64 -144: + out/test/x86_64/gdb-index-dwarf2/exe -131: + not grep -F foo out/test/x86_64/exclude-libs/log -131: + grep -F foo out/test/x86_64/exclude-libs/log -144: + grep 'Hello world' -144: Hello world -131: + return 0 -131: + not grep -F bar out/test/x86_64/exclude-libs/log -144: + DEBUGINFOD_URLS= -131: + grep -F bar out/test/x86_64/exclude-libs/log -144: + gdb out/test/x86_64/gdb-index-dwarf2/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit 150: + cat -151: + readelf -W --sections out/test/x86_64/glibc-2.22-bug/b.so -151: + grep -E -A1 '\.rela?\.dyn' +152: + cc -fPIC -c -o out/test/x86_64/global-offset-table/a.o -xc - 151: + grep -E '\.rela?\.plt' +139: + cc -B. -static -Wl,--filler,0x00 -o out/test/x86_64/filler/exe2 out/test/x86_64/filler/a.o +151: + readelf -W --sections out/test/x86_64/glibc-2.22-bug/b.so 150: + cat +150: + cat +150: + cat +150: + cc -c -o out/test/x86_64/gdb-index-split-dwarf/a.o out/test/x86_64/gdb-index-split-dwarf/a.c -fPIC -g -ggnu-pubnames -gdwarf-5 -gsplit-dwarf +152: + cat +151: + grep -E -A1 '\.rela?\.dyn' 151: [ 8] .rela.plt RELA 00000000000004b0 0004b0 000018 18 A 3 23 8 151: + on_exit 151: + echo OK 151: OK 151: + exit 0 -131: + return 0 -131: + grep -F baz out/test/x86_64/exclude-libs/log -147: + cc -c -o out/test/x86_64/gdb-index-dwarf5/d.o out/test/x86_64/gdb-index-dwarf5/d.c -fPIC -g -ggnu-pubnames -gdwarf-5 -ffunction-sections -150: + cat -141/402 Test #151: x86_64-glibc-2.22-bug ................................. Passed 0.15 sec +141/402 Test #151: x86_64-glibc-2.22-bug ................................. Passed 0.28 sec test 153 Start 153: x86_64-gnu-hash @@ -10684,37 +10679,13 @@ 153: MACHINE=x86_64 153: CPU= 153: Test timeout computed to be: 1500 -150: + cat -131: 5: 0000000000001629 31 FUNC GLOBAL DEFAULT 13 baz -131: + on_exit -131: + echo OK -131: OK -131: + exit 0 -146: + readelf -WS out/test/x86_64/gdb-index-dwarf4/exe -142/402 Test #131: x86_64-exclude-libs ................................... Passed 0.79 sec -150: + cc -c -o out/test/x86_64/gdb-index-split-dwarf/a.o out/test/x86_64/gdb-index-split-dwarf/a.c -fPIC -g -ggnu-pubnames -gdwarf-5 -gsplit-dwarf -152: + out/test/x86_64/global-offset-table/exe -test 154 - Start 154: x86_64-gnu-property - -154: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/gnu-property.sh" -154: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -154: Environment variables: -154: MACHINE=x86_64 -154: CPU= -154: Test timeout computed to be: 1500 -152: ++ out/test/x86_64/global-offset-table/exe -152: + GOT_ADDR=2038a8 -152: + '[' x86_64 = x86_64 -o x86_64 = i686 ']' -152: + grep '\.got\.plt .*2038a8 ' -146: + grep -F .gdb_index -146: [38] .gdb_index PROGBITS 0000000000000000 002428 000075 00 0 0 4 -146: + out/test/x86_64/gdb-index-dwarf4/exe -146: + grep 'Hello world' -146: Hello world -146: + DEBUGINFOD_URLS= -146: + gdb out/test/x86_64/gdb-index-dwarf4/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit +143: + readelf -WS out/test/x86_64/gdb-index-compress-output/exe +143: + grep -F .gdb_index +143: [38] .gdb_index PROGBITS 0000000000000000 002468 000075 00 0 0 4 +143: + grep 'Hello world' 153: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/gnu-hash.sh +131: + readelf --dyn-syms out/test/x86_64/exclude-libs/f.so +143: + out/test/x86_64/gdb-index-compress-output/exe 153: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 153: ++ export LC_ALL=C 153: ++ LC_ALL=C @@ -10729,14 +10700,57 @@ 153: ++ OBJCOPY=objcopy 153: ++ STRIP=strip 153: ++ QEMU= +143: Hello world +143: + DEBUGINFOD_URLS= +143: + gdb out/test/x86_64/gdb-index-compress-output/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit 153: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/gnu-hash.sh .sh 153: ++ testname=gnu-hash 153: ++ t=out/test/x86_64/gnu-hash 153: ++ mkdir -p out/test/x86_64/gnu-hash -152: + readelf -WS out/test/x86_64/global-offset-table/exe +131: + not grep -F foo out/test/x86_64/exclude-libs/log +131: + grep -F foo out/test/x86_64/exclude-libs/log +130: + out/test/x86_64/exception/exe7 +130: + c++ -B. -o out/test/x86_64/exception/exe8 out/test/x86_64/exception/d.o -pie 153: ++ case $MACHINE in -154: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/gnu-property.sh 153: ++ tlsdesc_opt=-mtls-dialect=gnu2 +139: + od -x out/test/x86_64/filler/exe2 +131: + return 0 +131: + not grep -F bar out/test/x86_64/exclude-libs/log +131: + grep -F bar out/test/x86_64/exclude-libs/log +144: + cc -B. -shared -o out/test/x86_64/gdb-index-dwarf2/c.so out/test/x86_64/gdb-index-dwarf2/a.o out/test/x86_64/gdb-index-dwarf2/b.o -Wl,--gdb-index +153: +++ uname +153: ++ '[' Linux = FreeBSD ']' +153: ++ trap 'on_error $LINENO' ERR +153: ++ trap on_exit EXIT +153: ++ echo -n 'Testing gnu-hash ... ' +153: Testing gnu-hash ... ++ set -o pipefail +153: ++ set -x +131: + return 0 +131: + grep -F baz out/test/x86_64/exclude-libs/log +153: + cat +153: + cc -c -o out/test/x86_64/gnu-hash/a.o -xc - +131: 5: 0000000000001629 31 FUNC GLOBAL DEFAULT 13 baz +131: + on_exit +131: + echo OK +131: OK +131: + exit 0 +142/402 Test #131: x86_64-exclude-libs ................................... Passed 2.02 sec +test 154 + Start 154: x86_64-gnu-property + +154: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/gnu-property.sh" +154: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +154: Environment variables: +154: MACHINE=x86_64 +154: CPU= +154: Test timeout computed to be: 1500 +148: + cc -c -o out/test/x86_64/gdb-index-dwarf64/c.o out/test/x86_64/gdb-index-dwarf64/c.c -fPIC -g -ggnu-pubnames -gdwarf-5 -gdwarf64 +147: + cc -c -o out/test/x86_64/gdb-index-dwarf5/c.o out/test/x86_64/gdb-index-dwarf5/c.c -fPIC -g -ggnu-pubnames -gdwarf-5 +145: + cc -B. -shared -o out/test/x86_64/gdb-index-dwarf3/c.so out/test/x86_64/gdb-index-dwarf3/a.o out/test/x86_64/gdb-index-dwarf3/b.o -Wl,--gdb-index +152: + cc -B. -no-pie -o out/test/x86_64/global-offset-table/exe out/test/x86_64/global-offset-table/a.o -Wl,-defsym=foo=_GLOBAL_OFFSET_TABLE_ +146: + cc -B. -shared -o out/test/x86_64/gdb-index-dwarf4/c.so out/test/x86_64/gdb-index-dwarf4/a.o out/test/x86_64/gdb-index-dwarf4/b.o -Wl,--gdb-index +150: + cc -c -o out/test/x86_64/gdb-index-split-dwarf/b.o out/test/x86_64/gdb-index-split-dwarf/b.c -fPIC -g -ggnu-pubnames -gdwarf-4 -gsplit-dwarf +154: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/gnu-property.sh 154: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 154: ++ export LC_ALL=C 154: ++ LC_ALL=C @@ -10747,7 +10761,6 @@ 154: ++ CXX=c++ 154: ++ GCC=gcc 154: ++ GXX=g++ -153: +++ uname 154: ++ OBJDUMP=objdump 154: ++ OBJCOPY=objcopy 154: ++ STRIP=strip @@ -10756,22 +10769,30 @@ 154: ++ testname=gnu-property 154: ++ t=out/test/x86_64/gnu-property 154: ++ mkdir -p out/test/x86_64/gnu-property -153: ++ '[' Linux = FreeBSD ']' -153: ++ trap 'on_error $LINENO' ERR -153: ++ trap on_exit EXIT -153: ++ echo -n 'Testing gnu-hash ... ' -153: Testing gnu-hash ... ++ set -o pipefail -153: ++ set -x -153: + cat -153: + cc -c -o out/test/x86_64/gnu-hash/a.o -xc - -152: [26] .got.plt PROGBITS 00000000002038a8 0008a8 000020 00 WA 0 0 8 -152: + on_exit -152: + echo OK -152: OK -152: + exit 0 -143/402 Test #152: x86_64-global-offset-table ............................ Passed 0.14 sec +139: + diff -q out/test/x86_64/filler/txt1 out/test/x86_64/filler/txt2 154: ++ case $MACHINE in 154: ++ tlsdesc_opt=-mtls-dialect=gnu2 +130: + out/test/x86_64/exception/exe8 +154: +++ uname +154: ++ '[' Linux = FreeBSD ']' +154: ++ trap 'on_error $LINENO' ERR +154: ++ trap on_exit EXIT +154: ++ echo -n 'Testing gnu-property ... ' +154: Testing gnu-property ... ++ set -o pipefail +154: ++ set -x +130: + '[' x86_64 = x86_64 -o x86_64 = aarch64 ']' +130: + c++ -c -o out/test/x86_64/exception/e.o out/test/x86_64/exception/a.cc -mcmodel=large -fno-PIC +154: + cc -o out/test/x86_64/gnu-property/a.o -c -xc - +154: + cat +144: + grep -F .gdb_index +145: + readelf -WS out/test/x86_64/gdb-index-dwarf3/c.so +144: + readelf -WS out/test/x86_64/gdb-index-dwarf2/c.so +144: [37] .gdb_index PROGBITS 0000000000000000 0027e0 000270 00 0 0 4 +139: + on_exit +139: + echo OK +139: OK +139: + exit 0 +143/402 Test #139: x86_64-filler ......................................... Passed 1.40 sec test 155 Start 155: x86_64-gnu-retain @@ -10781,15 +10802,12 @@ 155: MACHINE=x86_64 155: CPU= 155: Test timeout computed to be: 1500 -154: +++ uname -154: ++ '[' Linux = FreeBSD ']' -154: ++ trap 'on_error $LINENO' ERR -154: ++ trap on_exit EXIT -154: ++ echo -n 'Testing gnu-property ... ' -154: Testing gnu-property ... ++ set -o pipefail -154: ++ set -x -154: + cat -154: + cc -o out/test/x86_64/gnu-property/a.o -c -xc - +145: + grep -F .gdb_index +145: [36] .gdb_index PROGBITS 0000000000000000 0025f8 000270 00 0 0 4 +145: + cc -c -o out/test/x86_64/gdb-index-dwarf3/d.o -fPIC -g -ggnu-pubnames -gdwarf-3 -xc - -gz +145: + cat +144: + cat +144: + cc -c -o out/test/x86_64/gdb-index-dwarf2/d.o -fPIC -g -ggnu-pubnames -gdwarf-2 -xc - -gz 155: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/gnu-retain.sh 155: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 155: ++ export LC_ALL=C @@ -10809,9 +10827,8 @@ 155: ++ testname=gnu-retain 155: ++ t=out/test/x86_64/gnu-retain 155: ++ mkdir -p out/test/x86_64/gnu-retain -150: + cc -c -o out/test/x86_64/gdb-index-split-dwarf/b.o out/test/x86_64/gdb-index-split-dwarf/b.c -fPIC -g -ggnu-pubnames -gdwarf-4 -gsplit-dwarf -145: + readelf -WS out/test/x86_64/gdb-index-dwarf3/exe -145: + grep -F .gdb_index +153: + cc -B. -o out/test/x86_64/gnu-hash/b.so out/test/x86_64/gnu-hash/a.o -Wl,-hash-style=gnu -shared +152: + out/test/x86_64/global-offset-table/exe 155: ++ case $MACHINE in 155: ++ tlsdesc_opt=-mtls-dialect=gnu2 155: +++ uname @@ -10822,28 +10839,25 @@ 155: Testing gnu-retain ... ++ set -o pipefail 155: ++ set -x 155: + '[' x86_64 = ppc64 ']' -148: + cc -c -o out/test/x86_64/gdb-index-dwarf64/d.o out/test/x86_64/gdb-index-dwarf64/d.c -fPIC -g -ggnu-pubnames -gdwarf-5 -gdwarf64 -ffunction-sections -147: + cc -B. -shared -o out/test/x86_64/gdb-index-dwarf5/e.so out/test/x86_64/gdb-index-dwarf5/a.o out/test/x86_64/gdb-index-dwarf5/b.o out/test/x86_64/gdb-index-dwarf5/c.o out/test/x86_64/gdb-index-dwarf5/d.o -Wl,--gdb-index -145: [38] .gdb_index PROGBITS 0000000000000000 002428 000075 00 0 0 4 155: + cat +152: ++ out/test/x86_64/global-offset-table/exe +152: + GOT_ADDR=2038a8 +152: + '[' x86_64 = x86_64 -o x86_64 = i686 ']' +152: + readelf -WS out/test/x86_64/global-offset-table/exe 155: + cc -c -o out/test/x86_64/gnu-retain/a.o -xc - -ffunction-sections -145: + out/test/x86_64/gdb-index-dwarf3/exe -145: + grep 'Hello world' -130: + out/test/x86_64/exception/exe6 -145: Hello world -145: + DEBUGINFOD_URLS= -145: + gdb out/test/x86_64/gdb-index-dwarf3/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit -122: + out/test/x86_64/emit-relocs-dead-sections/exe -122: + grep 'Hello world' -130: + '[' x86_64 = x86_64 ']' -130: + c++ -c -o out/test/x86_64/exception/d.o out/test/x86_64/exception/a.cc -mcmodel=large -fPIC -122: Hello world -122: Hello world -122: + on_exit -122: + echo OK -122: OK -122: + exit 0 -144/402 Test #122: x86_64-emit-relocs-dead-sections ...................... Passed 1.00 sec +152: + grep '\.got\.plt .*2038a8 ' +152: [26] .got.plt PROGBITS 00000000002038a8 0008a8 000020 00 WA 0 0 8 +152: + on_exit +152: + echo OK +152: OK +152: + exit 0 +144/402 Test #152: x86_64-global-offset-table ............................ Passed 0.55 sec +153: + on_exit +153: + echo OK +153: OK +153: + exit 0 +146: + grep -F .gdb_index +146: + readelf -WS out/test/x86_64/gdb-index-dwarf4/c.so test 156 Start 156: x86_64-gnu-unique @@ -10853,6 +10867,17 @@ 156: MACHINE=x86_64 156: CPU= 156: Test timeout computed to be: 1500 +146: [36] .gdb_index PROGBITS 0000000000000000 0025e0 000270 00 0 0 4 +145/402 Test #153: x86_64-gnu-hash ....................................... Passed 0.35 sec +test 157 + Start 157: x86_64-gnu-warning + +157: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/gnu-warning.sh" +157: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +157: Environment variables: +157: MACHINE=x86_64 +157: CPU= +157: Test timeout computed to be: 1500 156: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/gnu-unique.sh 156: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 156: ++ export LC_ALL=C @@ -10868,66 +10893,12 @@ 156: ++ OBJCOPY=objcopy 156: ++ STRIP=strip 156: ++ QEMU= +146: + cc -c -o out/test/x86_64/gdb-index-dwarf4/d.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -gz +146: + cat 156: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/gnu-unique.sh .sh 156: ++ testname=gnu-unique 156: ++ t=out/test/x86_64/gnu-unique 156: ++ mkdir -p out/test/x86_64/gnu-unique -156: ++ case $MACHINE in -156: ++ tlsdesc_opt=-mtls-dialect=gnu2 -156: +++ uname -156: ++ '[' Linux = FreeBSD ']' -156: ++ trap 'on_error $LINENO' ERR -156: ++ trap on_exit EXIT -156: ++ echo -n 'Testing gnu-unique ... ' -156: Testing gnu-unique ... ++ set -o pipefail -156: ++ set -x -156: + command -v g++ -156: + cat -156: + g++ -o out/test/x86_64/gnu-unique/a.o -c -std=c++17 -fno-gnu-unique -xc++ - -154: + cc -B. -o out/test/x86_64/gnu-property/exe out/test/x86_64/gnu-property/a.o -no-pie -147: + readelf -WS out/test/x86_64/gdb-index-dwarf5/e.so -147: + grep -F .gdb_index -147: [38] .gdb_index PROGBITS 0000000000000000 002e88 000315 00 0 0 4 -147: + readelf --debug=gdb_index out/test/x86_64/gdb-index-dwarf5/e.so -147: + grep 'fn1: .* \[global, function\]' -147: [ 20] fn1: 0 [global, function] -147: + readelf --debug=gdb_index out/test/x86_64/gdb-index-dwarf5/e.so -147: + grep 'char: .* \[static, type\]' -147: [ 4] unsigned char: 3 [static, type] -147: [ 13] char: 3 [static, type] -147: [ 17] signed char: 3 [static, type] -147: + cat -147: + cc -c -o out/test/x86_64/gdb-index-dwarf5/f.o -fPIC -g -ggnu-pubnames -gdwarf-5 -xc - -gz -150: + cc -c -o out/test/x86_64/gdb-index-split-dwarf/c.o out/test/x86_64/gdb-index-split-dwarf/c.c -fPIC -g -ggnu-pubnames -gdwarf-5 -153: + cc -B. -o out/test/x86_64/gnu-hash/b.so out/test/x86_64/gnu-hash/a.o -Wl,-hash-style=gnu -shared -130: + c++ -B. -o out/test/x86_64/exception/exe7 out/test/x86_64/exception/d.o -static -pthread -148: + cc -B. -shared -o out/test/x86_64/gdb-index-dwarf64/e.so out/test/x86_64/gdb-index-dwarf64/a.o out/test/x86_64/gdb-index-dwarf64/b.o out/test/x86_64/gdb-index-dwarf64/c.o out/test/x86_64/gdb-index-dwarf64/d.o -156: + g++ -o out/test/x86_64/gnu-unique/b.o -c -std=c++17 -fgnu-unique -xc++ - -156: + cat -154: + readelf -W --sections out/test/x86_64/gnu-property/exe -154: + grep -Fw .note.gnu.property -155: + grep '\.text\.foo.*AXR' -154: [ 2] .note.gnu.property NOTE 0000000000200300 000300 000020 00 A 0 0 8 -154: + readelf -W --segments out/test/x86_64/gnu-property/exe -154: + grep -w GNU_PROPERTY -155: + readelf -WS out/test/x86_64/gnu-retain/a.o -154: GNU_PROPERTY 0x000300 0x0000000000200300 0x0000000000200300 0x000020 0x000020 R 0x8 -154: + on_exit -154: + echo OK -154: OK -154: + exit 0 -155: [ 4] .text.foo PROGBITS 0000000000000000 000040 000007 00 AXR 0 0 1 -155: + cc -B. -o out/test/x86_64/gnu-retain/exe out/test/x86_64/gnu-retain/a.o -Wl,-gc-sections -145/402 Test #154: x86_64-gnu-property ................................... Passed 0.11 sec -test 157 - Start 157: x86_64-gnu-warning - -157: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/gnu-warning.sh" -157: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -157: Environment variables: -157: MACHINE=x86_64 -157: CPU= -157: Test timeout computed to be: 1500 157: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/gnu-warning.sh 157: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 157: ++ export LC_ALL=C @@ -10943,20 +10914,95 @@ 157: ++ OBJCOPY=objcopy 157: ++ STRIP=strip 157: ++ QEMU= +156: ++ case $MACHINE in +156: ++ tlsdesc_opt=-mtls-dialect=gnu2 157: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/gnu-warning.sh .sh 157: ++ testname=gnu-warning 157: ++ t=out/test/x86_64/gnu-warning 157: ++ mkdir -p out/test/x86_64/gnu-warning +156: +++ uname +156: ++ '[' Linux = FreeBSD ']' +156: ++ trap 'on_error $LINENO' ERR +156: ++ trap on_exit EXIT +156: ++ echo -n 'Testing gnu-unique ... ' +156: Testing gnu-unique ... ++ set -o pipefail +156: ++ set -x +156: + command -v g++ 157: ++ case $MACHINE in 157: ++ tlsdesc_opt=-mtls-dialect=gnu2 +156: + g++ -o out/test/x86_64/gnu-unique/a.o -c -std=c++17 -fno-gnu-unique -xc++ - +156: + cat +147: + cc -c -o out/test/x86_64/gdb-index-dwarf5/d.o out/test/x86_64/gdb-index-dwarf5/d.c -fPIC -g -ggnu-pubnames -gdwarf-5 -ffunction-sections 157: +++ uname -148: + cc -B. -shared -o out/test/x86_64/gdb-index-dwarf64/f.so out/test/x86_64/gdb-index-dwarf64/a.o out/test/x86_64/gdb-index-dwarf64/b.o out/test/x86_64/gdb-index-dwarf64/c.o out/test/x86_64/gdb-index-dwarf64/d.o -Wl,--gdb-index -153: + on_exit -153: + echo OK -153: OK -153: + exit 0 -146/402 Test #153: x86_64-gnu-hash ....................................... Passed 0.14 sec 157: ++ '[' Linux = FreeBSD ']' +157: ++ trap 'on_error $LINENO' ERR +157: ++ trap on_exit EXIT +157: ++ echo -n 'Testing gnu-warning ... ' +157: Testing gnu-warning ... ++ set -o pipefail +157: ++ set -x +154: + cc -B. -o out/test/x86_64/gnu-property/exe out/test/x86_64/gnu-property/a.o -no-pie +148: + cc -c -o out/test/x86_64/gdb-index-dwarf64/d.o out/test/x86_64/gdb-index-dwarf64/d.c -fPIC -g -ggnu-pubnames -gdwarf-5 -gdwarf64 -ffunction-sections +130: + c++ -B. -o out/test/x86_64/exception/exe9 out/test/x86_64/exception/e.o -no-pie -static -pthread +144: + cc -B. -o out/test/x86_64/gdb-index-dwarf2/exe out/test/x86_64/gdb-index-dwarf2/c.so out/test/x86_64/gdb-index-dwarf2/d.o -Wl,--gdb-index +145: + cc -B. -o out/test/x86_64/gdb-index-dwarf3/exe out/test/x86_64/gdb-index-dwarf3/c.so out/test/x86_64/gdb-index-dwarf3/d.o -Wl,--gdb-index +146: + cc -B. -o out/test/x86_64/gdb-index-dwarf4/exe out/test/x86_64/gdb-index-dwarf4/c.so out/test/x86_64/gdb-index-dwarf4/d.o -Wl,--gdb-index +157: + cat +157: + gcc -c -o out/test/x86_64/gnu-warning/a.o -xc - +155: + grep '\.text\.foo.*AXR' +155: + readelf -WS out/test/x86_64/gnu-retain/a.o +155: [ 4] .text.foo PROGBITS 0000000000000000 000040 000007 00 AXR 0 0 1 +155: + cc -B. -o out/test/x86_64/gnu-retain/exe out/test/x86_64/gnu-retain/a.o -Wl,-gc-sections +144: + readelf -WS out/test/x86_64/gdb-index-dwarf2/exe +144: + grep -F .gdb_index +145: + grep -F .gdb_index +145: + readelf -WS out/test/x86_64/gdb-index-dwarf3/exe +144: [39] .gdb_index PROGBITS 0000000000000000 0024f0 000075 00 0 0 4 +145: [38] .gdb_index PROGBITS 0000000000000000 002428 000075 00 0 0 4 +146: + grep -F .gdb_index +143: + grep 'hello () at .*:7' out/test/x86_64/gdb-index-compress-output/log +146: + readelf -WS out/test/x86_64/gdb-index-dwarf4/exe +145: + grep 'Hello world' +144: + out/test/x86_64/gdb-index-dwarf2/exe +145: + out/test/x86_64/gdb-index-dwarf3/exe +144: + grep 'Hello world' +144: Hello world +144: + DEBUGINFOD_URLS= +144: + gdb out/test/x86_64/gdb-index-dwarf2/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit +145: Hello world +145: + DEBUGINFOD_URLS= +145: + gdb out/test/x86_64/gdb-index-dwarf3/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit +143: #1 0x00007ffff7fbc70d in hello () at :7 +148: + cc -B. -shared -o out/test/x86_64/gdb-index-dwarf64/e.so out/test/x86_64/gdb-index-dwarf64/a.o out/test/x86_64/gdb-index-dwarf64/b.o out/test/x86_64/gdb-index-dwarf64/c.o out/test/x86_64/gdb-index-dwarf64/d.o +143: + grep 'greet () at .*:11' out/test/x86_64/gdb-index-compress-output/log +146: [38] .gdb_index PROGBITS 0000000000000000 002428 000075 00 0 0 4 +147: + cc -B. -shared -o out/test/x86_64/gdb-index-dwarf5/e.so out/test/x86_64/gdb-index-dwarf5/a.o out/test/x86_64/gdb-index-dwarf5/b.o out/test/x86_64/gdb-index-dwarf5/c.o out/test/x86_64/gdb-index-dwarf5/d.o -Wl,--gdb-index +150: + cc -c -o out/test/x86_64/gdb-index-split-dwarf/c.o out/test/x86_64/gdb-index-split-dwarf/c.c -fPIC -g -ggnu-pubnames -gdwarf-5 +157: + cc -B. -o out/test/x86_64/gnu-warning/exe out/test/x86_64/gnu-warning/a.o -no-pie +156: + g++ -o out/test/x86_64/gnu-unique/b.o -c -std=c++17 -fgnu-unique -xc++ - +156: + cat +130: + out/test/x86_64/exception/exe9 +155: + nm out/test/x86_64/gnu-retain/exe +146: + out/test/x86_64/gdb-index-dwarf4/exe +146: + grep 'Hello world' +154: + grep -Fw .note.gnu.property +154: + readelf -W --sections out/test/x86_64/gnu-property/exe +143: #2 0x00007ffff7fbc71e in greet () at :11 +143: + grep 'main () at .*:4' out/test/x86_64/gdb-index-compress-output/log +146: Hello world +146: + DEBUGINFOD_URLS= +146: + gdb out/test/x86_64/gdb-index-dwarf4/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit +155: + grep foo out/test/x86_64/gnu-retain/log +154: [ 2] .note.gnu.property NOTE 0000000000200300 000300 000020 00 A 0 0 8 +143: Breakpoint 1, main () at :4 +143: #3 0x0000555555555727 in main () at :4 +130: + c++ -B. -o out/test/x86_64/exception/exe10 out/test/x86_64/exception/e.o -no-pie +143: + on_exit +143: + echo OK +143: OK +143: + exit 0 +154: + readelf -W --segments out/test/x86_64/gnu-property/exe +154: + grep -w GNU_PROPERTY +146/402 Test #143: x86_64-gdb-index-compress-output ...................... Passed 1.30 sec test 158 Start 158: x86_64-hash-style-sysv @@ -10966,13 +11012,47 @@ 158: MACHINE=x86_64 158: CPU= 158: Test timeout computed to be: 1500 -157: ++ trap 'on_error $LINENO' ERR -157: ++ trap on_exit EXIT -157: ++ echo -n 'Testing gnu-warning ... ' -157: Testing gnu-warning ... ++ set -o pipefail -157: ++ set -x -157: + cat -157: + gcc -c -o out/test/x86_64/gnu-warning/a.o -xc - +155: 00000000000016a9 t foo +155: + not grep bar out/test/x86_64/gnu-retain/log +155: + grep bar out/test/x86_64/gnu-retain/log +155: + return 0 +155: + on_exit +155: + echo OK +155: OK +155: + exit 0 +154: GNU_PROPERTY 0x000300 0x0000000000200300 0x0000000000200300 0x000020 0x000020 R 0x8 +154: + on_exit +154: + echo OK +154: OK +154: + exit 0 +147: + readelf -WS out/test/x86_64/gdb-index-dwarf5/e.so +147: + grep -F .gdb_index +147: [38] .gdb_index PROGBITS 0000000000000000 002e88 000315 00 0 0 4 +147/402 Test #154: x86_64-gnu-property ................................... Passed 0.52 sec +148/402 Test #155: x86_64-gnu-retain ..................................... Passed 0.36 sec +test 159 + Start 159: x86_64-hash-style + +159: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/hash-style.sh" +159: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +159: Environment variables: +159: MACHINE=x86_64 +159: CPU= +159: Test timeout computed to be: 1500 +test 160 + Start 160: x86_64-hello-dynamic + +160: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/hello-dynamic.sh" +160: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +160: Environment variables: +160: MACHINE=x86_64 +160: CPU= +160: Test timeout computed to be: 1500 +147: + readelf --debug=gdb_index out/test/x86_64/gdb-index-dwarf5/e.so +147: + grep 'fn1: .* \[global, function\]' +147: [ 20] fn1: 0 [global, function] +147: + grep 'char: .* \[static, type\]' +147: + readelf --debug=gdb_index out/test/x86_64/gdb-index-dwarf5/e.so 158: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/hash-style-sysv.sh 158: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 158: ++ export LC_ALL=C @@ -10989,40 +11069,17 @@ 158: ++ STRIP=strip 158: ++ QEMU= 158: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/hash-style-sysv.sh .sh -155: + nm out/test/x86_64/gnu-retain/exe 158: ++ testname=hash-style-sysv 158: ++ t=out/test/x86_64/hash-style-sysv 158: ++ mkdir -p out/test/x86_64/hash-style-sysv -155: + grep foo out/test/x86_64/gnu-retain/log -155: 00000000000016a9 t foo -155: + not grep bar out/test/x86_64/gnu-retain/log -155: + grep bar out/test/x86_64/gnu-retain/log +157: + grep 'Hello world' +148: + cc -B. -shared -o out/test/x86_64/gdb-index-dwarf64/f.so out/test/x86_64/gdb-index-dwarf64/a.o out/test/x86_64/gdb-index-dwarf64/b.o out/test/x86_64/gdb-index-dwarf64/c.o out/test/x86_64/gdb-index-dwarf64/d.o -Wl,--gdb-index +157: + out/test/x86_64/gnu-warning/exe +147: [ 4] unsigned char: 3 [static, type] +147: [ 13] char: 3 [static, type] +147: [ 17] signed char: 3 [static, type] 158: ++ case $MACHINE in 158: ++ tlsdesc_opt=-mtls-dialect=gnu2 -155: + return 0 -155: + on_exit -155: + echo OK -155: OK -155: + exit 0 -147/402 Test #155: x86_64-gnu-retain ..................................... Passed 0.14 sec -158: +++ uname -test 159 - Start 159: x86_64-hash-style - -159: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/hash-style.sh" -159: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -159: Environment variables: -159: MACHINE=x86_64 -159: CPU= -159: Test timeout computed to be: 1500 -158: ++ '[' Linux = FreeBSD ']' -158: ++ trap 'on_error $LINENO' ERR -158: ++ trap on_exit EXIT -158: ++ echo -n 'Testing hash-style-sysv ... ' -158: Testing hash-style-sysv ... ++ set -o pipefail -158: ++ set -x -158: + cc -o out/test/x86_64/hash-style-sysv/a.o -c -xc - -fPIC -158: + cat 159: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/hash-style.sh 159: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 159: ++ export LC_ALL=C @@ -11038,62 +11095,12 @@ 159: ++ OBJCOPY=objcopy 159: ++ STRIP=strip 159: ++ QEMU= -130: + out/test/x86_64/exception/exe7 -130: + c++ -B. -o out/test/x86_64/exception/exe8 out/test/x86_64/exception/d.o -pie -159: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/hash-style.sh .sh -159: ++ testname=hash-style -159: ++ t=out/test/x86_64/hash-style -159: ++ mkdir -p out/test/x86_64/hash-style -159: ++ case $MACHINE in -159: ++ tlsdesc_opt=-mtls-dialect=gnu2 -159: +++ uname -159: ++ '[' Linux = FreeBSD ']' -159: ++ trap 'on_error $LINENO' ERR -159: ++ trap on_exit EXIT -159: ++ echo -n 'Testing hash-style ... ' -159: Testing hash-style ... ++ set -o pipefail -159: ++ set -x -159: + cat -159: + cc -o out/test/x86_64/hash-style/a.o -c -xc - -148: + grep -F .gdb_index -148: + readelf -WS out/test/x86_64/gdb-index-dwarf64/f.so -156: + cc -B. -o out/test/x86_64/gnu-unique/exe out/test/x86_64/gnu-unique/a.o out/test/x86_64/gnu-unique/b.o -no-pie -157: + cc -B. -o out/test/x86_64/gnu-warning/exe out/test/x86_64/gnu-warning/a.o -no-pie -150: + cc -c -o out/test/x86_64/gdb-index-split-dwarf/d.o out/test/x86_64/gdb-index-split-dwarf/d.c -fPIC -g -ggnu-pubnames -gdwarf-5 -gsplit-dwarf -147: + cc -B. -o out/test/x86_64/gdb-index-dwarf5/exe out/test/x86_64/gdb-index-dwarf5/e.so out/test/x86_64/gdb-index-dwarf5/f.o -Wl,--gdb-index -148: [38] .gdb_index PROGBITS 0000000000000000 002f98 000315 00 0 0 4 -148: + cc -c -o out/test/x86_64/gdb-index-dwarf64/g.o -fPIC -g -ggnu-pubnames -gdwarf-5 -xc - -gz -130: + out/test/x86_64/exception/exe8 -148: + cat -130: + '[' x86_64 = x86_64 -o x86_64 = aarch64 ']' -130: + c++ -c -o out/test/x86_64/exception/e.o out/test/x86_64/exception/a.cc -mcmodel=large -fno-PIC -156: + out/test/x86_64/gnu-unique/exe -156: + grep foo=5 -156: foo=5 -156: + on_exit -156: + echo OK -156: OK -156: + exit 0 -148/402 Test #156: x86_64-gnu-unique ..................................... Passed 0.24 sec -test 160 - Start 160: x86_64-hello-dynamic - -160: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/hello-dynamic.sh" -160: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -160: Environment variables: -160: MACHINE=x86_64 -160: CPU= -160: Test timeout computed to be: 1500 -157: + out/test/x86_64/gnu-warning/exe -157: + grep 'Hello world' 157: Hello world 157: + on_exit 157: + echo OK 157: OK 157: + exit 0 -147: + readelf -WS out/test/x86_64/gdb-index-dwarf5/exe -149/402 Test #157: x86_64-gnu-warning .................................... Passed 0.18 sec -147: + grep -F .gdb_index +149/402 Test #157: x86_64-gnu-warning .................................... Passed 0.31 sec test 161 Start 161: x86_64-hello-static @@ -11103,10 +11110,13 @@ 161: MACHINE=x86_64 161: CPU= 161: Test timeout computed to be: 1500 -147: [39] .gdb_index PROGBITS 0000000000000000 002490 000075 00 0 0 4 +147: + cc -c -o out/test/x86_64/gdb-index-dwarf5/f.o -fPIC -g -ggnu-pubnames -gdwarf-5 -xc - -gz +147: + cat +159: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/hash-style.sh .sh +159: ++ testname=hash-style +159: ++ t=out/test/x86_64/hash-style +159: ++ mkdir -p out/test/x86_64/hash-style 160: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/hello-dynamic.sh -147: + readelf --debug=gdb_index out/test/x86_64/gdb-index-dwarf5/exe -147: + grep 'main: .* \[global, function\]' 160: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 160: ++ export LC_ALL=C 160: ++ LC_ALL=C @@ -11121,14 +11131,25 @@ 160: ++ OBJCOPY=objcopy 160: ++ STRIP=strip 160: ++ QEMU= -147: [ 1] main: 0 [global, function] +130: + out/test/x86_64/exception/exe10 +158: +++ uname +158: ++ '[' Linux = FreeBSD ']' +158: ++ trap 'on_error $LINENO' ERR +158: ++ trap on_exit EXIT +158: ++ echo -n 'Testing hash-style-sysv ... ' +158: Testing hash-style-sysv ... ++ set -o pipefail +158: ++ set -x +130: + '[' x86_64 '!=' riscv32 ']' +130: + c++ -B. -o out/test/x86_64/exception/exe11 out/test/x86_64/exception/b.o -pie +158: + cat +158: + cc -o out/test/x86_64/hash-style-sysv/a.o -c -xc - -fPIC +159: ++ case $MACHINE in +159: ++ tlsdesc_opt=-mtls-dialect=gnu2 160: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/hello-dynamic.sh .sh -161: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/hello-static.sh -147: + out/test/x86_64/gdb-index-dwarf5/exe -147: + grep 'Hello world' 160: ++ testname=hello-dynamic 160: ++ t=out/test/x86_64/hello-dynamic 160: ++ mkdir -p out/test/x86_64/hello-dynamic +161: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/hello-static.sh 161: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 161: ++ export LC_ALL=C 161: ++ LC_ALL=C @@ -11143,27 +11164,25 @@ 161: ++ OBJCOPY=objcopy 161: ++ STRIP=strip 161: ++ QEMU= -147: Hello world -147: + DEBUGINFOD_URLS= -147: + gdb out/test/x86_64/gdb-index-dwarf5/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit +159: +++ uname 161: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/hello-static.sh .sh +159: ++ '[' Linux = FreeBSD ']' +159: ++ trap 'on_error $LINENO' ERR +159: ++ trap on_exit EXIT +159: ++ echo -n 'Testing hash-style ... ' +159: Testing hash-style ... ++ set -o pipefail +159: ++ set -x 160: ++ case $MACHINE in 160: ++ tlsdesc_opt=-mtls-dialect=gnu2 -160: +++ uname 161: ++ testname=hello-static 161: ++ t=out/test/x86_64/hello-static 161: ++ mkdir -p out/test/x86_64/hello-static -160: ++ '[' Linux = FreeBSD ']' -160: ++ trap 'on_error $LINENO' ERR -160: ++ trap on_exit EXIT -160: ++ echo -n 'Testing hello-dynamic ... ' -160: Testing hello-dynamic ... ++ set -o pipefail -160: ++ set -x 161: ++ case $MACHINE in 161: ++ tlsdesc_opt=-mtls-dialect=gnu2 -160: + cat 161: +++ uname -160: + cc -o out/test/x86_64/hello-dynamic/a.o -c -xc - -fno-PIE +159: + cat +159: + cc -o out/test/x86_64/hash-style/a.o -c -xc - +160: +++ uname 161: ++ '[' Linux = FreeBSD ']' 161: ++ trap 'on_error $LINENO' ERR 161: ++ trap on_exit EXIT @@ -11172,31 +11191,54 @@ 161: ++ set -x 161: + test_cflags -static 161: + echo 'int main() {}' +160: ++ '[' Linux = FreeBSD ']' +160: ++ trap 'on_error $LINENO' ERR +160: ++ trap on_exit EXIT +160: ++ echo -n 'Testing hello-dynamic ... ' +160: Testing hello-dynamic ... ++ set -o pipefail +160: ++ set -x +148: + grep -F .gdb_index +160: + cat +160: + cc -o out/test/x86_64/hello-dynamic/a.o -c -xc - -fno-PIE 161: + cc -B. -static -o /dev/null -xc - +130: + strip out/test/x86_64/exception/exe11 +148: + readelf -WS out/test/x86_64/gdb-index-dwarf64/f.so +148: [38] .gdb_index PROGBITS 0000000000000000 002f98 000315 00 0 0 4 +148: + cat +148: + cc -c -o out/test/x86_64/gdb-index-dwarf64/g.o -fPIC -g -ggnu-pubnames -gdwarf-5 -xc - -gz +130: + out/test/x86_64/exception/exe11 +130: + c++ -B. -o out/test/x86_64/exception/exe12 out/test/x86_64/exception/c.o -no-pie +150: + cc -c -o out/test/x86_64/gdb-index-split-dwarf/d.o out/test/x86_64/gdb-index-split-dwarf/d.c -fPIC -g -ggnu-pubnames -gdwarf-5 -gsplit-dwarf +147: + cc -B. -o out/test/x86_64/gdb-index-dwarf5/exe out/test/x86_64/gdb-index-dwarf5/e.so out/test/x86_64/gdb-index-dwarf5/f.o -Wl,--gdb-index +158: + cc -B. -shared -o out/test/x86_64/hash-style-sysv/b.so out/test/x86_64/hash-style-sysv/a.o -Wl,--hash-style=sysv +159: + ./mold -shared -o out/test/x86_64/hash-style/b.so out/test/x86_64/hash-style/a.o +148: + cc -B. -o out/test/x86_64/gdb-index-dwarf64/exe1 out/test/x86_64/gdb-index-dwarf64/e.so out/test/x86_64/gdb-index-dwarf64/g.o +156: + cc -B. -o out/test/x86_64/gnu-unique/exe out/test/x86_64/gnu-unique/a.o out/test/x86_64/gnu-unique/b.o -no-pie +160: + cc -B. -o out/test/x86_64/hello-dynamic/exe out/test/x86_64/hello-dynamic/a.o -no-pie +159: + readelf -WS out/test/x86_64/hash-style/b.so +159: + grep -F ' .hash' 145: + grep 'hello2 () at .*:7' out/test/x86_64/gdb-index-dwarf3/log +159: [ 1] .hash HASH 0000000000000238 000238 000018 04 A 3 0 4 +159: + readelf -WS out/test/x86_64/hash-style/b.so +159: + grep -F ' .gnu.hash' 145: #1 0x00007ffff7fbc79f in hello2 () at :7 145: + grep 'hello () at .*:4' out/test/x86_64/gdb-index-dwarf3/log -144: + grep 'hello2 () at .*:7' out/test/x86_64/gdb-index-dwarf2/log +159: [ 2] .gnu.hash GNU_HASH 0000000000000250 000250 000020 00 A 3 0 8 +159: + ./mold -shared -o out/test/x86_64/hash-style/c.so out/test/x86_64/hash-style/a.o --hash-style=both --hash-style=none +160: + grep 'Hello world' 145: #2 0x00007ffff7fbc767 in hello () at :4 +158: + cc -o out/test/x86_64/hash-style-sysv/c.o -c -xc - +158: + cat 145: + grep 'greet () at .*:8' out/test/x86_64/gdb-index-dwarf3/log -143: + grep 'hello () at .*:7' out/test/x86_64/gdb-index-compress-output/log -144: #1 0x00007ffff7fbc79f in hello2 () at :7 145: #3 0x00007ffff7fbc778 in greet () at :8 -144: + grep 'hello () at .*:4' out/test/x86_64/gdb-index-dwarf2/log 145: + grep 'main () at .*:4' out/test/x86_64/gdb-index-dwarf3/log -143: #1 0x00007ffff7fbc70d in hello () at :7 -143: + grep 'greet () at .*:11' out/test/x86_64/gdb-index-compress-output/log -144: #2 0x00007ffff7fbc767 in hello () at :4 145: Breakpoint 1, main () at :4 145: #4 0x0000555555555727 in main () at :4 -143: #2 0x00007ffff7fbc71e in greet () at :11 -144: + grep 'greet () at .*:8' out/test/x86_64/gdb-index-dwarf2/log -143: + grep 'main () at .*:4' out/test/x86_64/gdb-index-compress-output/log 145: + on_exit 145: + echo OK 145: OK 145: + exit 0 -150/402 Test #145: x86_64-gdb-index-dwarf3 ............................... Passed 0.85 sec +150/402 Test #145: x86_64-gdb-index-dwarf3 ............................... Passed 1.59 sec test 162 Start 162: x86_64-help @@ -11206,21 +11248,14 @@ 162: MACHINE=x86_64 162: CPU= 162: Test timeout computed to be: 1500 -144: #3 0x00007ffff7fbc778 in greet () at :8 -144: + grep 'main () at .*:4' out/test/x86_64/gdb-index-dwarf2/log -144: Breakpoint 1, main () at :4 -144: #4 0x0000555555555727 in main () at :4 -143: Breakpoint 1, main () at :4 -143: #3 0x0000555555555727 in main () at :4 -143: + on_exit -143: + echo OK -143: OK -143: + exit 0 -151/402 Test #143: x86_64-gdb-index-compress-output ...................... Passed 0.94 sec -144: + on_exit -144: + echo OK -144: OK -144: + exit 0 +160: + out/test/x86_64/hello-dynamic/exe +160: Hello world +160: + on_exit +160: + echo OK +160: OK +160: + exit 0 +130: + strip out/test/x86_64/exception/exe12 +151/402 Test #160: x86_64-hello-dynamic .................................. Passed 0.30 sec test 163 Start 163: x86_64-hidden-archive @@ -11230,14 +11265,16 @@ 163: MACHINE=x86_64 163: CPU= 163: Test timeout computed to be: 1500 -146: + grep 'hello2 () at .*:7' out/test/x86_64/gdb-index-dwarf4/log +148: + DEBUGINFOD_URLS= +148: + gdb out/test/x86_64/gdb-index-dwarf64/exe1 -nx -batch -ex 'b main' -ex r -ex quit 162: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/help.sh +163: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/hidden-archive.sh +163: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +163: ++ export LC_ALL=C +163: ++ LC_ALL=C 162: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 162: ++ export LC_ALL=C 162: ++ LC_ALL=C -152/402 Test #144: x86_64-gdb-index-dwarf2 ............................... Passed 0.93 sec -146: #1 0x00007ffff7fbc79f in hello2 () at :7 -146: + grep 'hello () at .*:4' out/test/x86_64/gdb-index-dwarf4/log 162: ++ '[' -z x86_64 ']' 162: ++ '[' -z '' ']' 162: ++ TESTDIR=out/test/x86_64 @@ -11249,25 +11286,6 @@ 162: ++ OBJCOPY=objcopy 162: ++ STRIP=strip 162: ++ QEMU= -test 164 - Start 164: x86_64-hidden-undef - -164: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/hidden-undef.sh" -164: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -164: Environment variables: -164: MACHINE=x86_64 -164: CPU= -164: Test timeout computed to be: 1500 -146: #2 0x00007ffff7fbc767 in hello () at :4 -146: + grep 'greet () at .*:8' out/test/x86_64/gdb-index-dwarf4/log -162: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/help.sh .sh -162: ++ testname=help -162: ++ t=out/test/x86_64/help -162: ++ mkdir -p out/test/x86_64/help -163: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/hidden-archive.sh -163: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -163: ++ export LC_ALL=C -163: ++ LC_ALL=C 163: ++ '[' -z x86_64 ']' 163: ++ '[' -z '' ']' 163: ++ TESTDIR=out/test/x86_64 @@ -11279,36 +11297,71 @@ 163: ++ OBJCOPY=objcopy 163: ++ STRIP=strip 163: ++ QEMU= -146: #3 0x00007ffff7fbc778 in greet () at :8 163: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/hidden-archive.sh .sh -146: + grep 'main () at .*:4' out/test/x86_64/gdb-index-dwarf4/log 163: ++ testname=hidden-archive 163: ++ t=out/test/x86_64/hidden-archive 163: ++ mkdir -p out/test/x86_64/hidden-archive -164: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/hidden-undef.sh +159: + readelf -WS out/test/x86_64/hash-style/c.so +162: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/help.sh .sh +162: ++ testname=help +162: ++ t=out/test/x86_64/help +162: ++ mkdir -p out/test/x86_64/help 162: ++ case $MACHINE in 162: ++ tlsdesc_opt=-mtls-dialect=gnu2 -146: Breakpoint 1, main () at :4 -146: #4 0x0000555555555727 in main () at :4 -146: + on_exit 162: +++ uname -146: + echo OK -146: OK -146: + exit 0 -153/402 Test #146: x86_64-gdb-index-dwarf4 ............................... Passed 0.83 sec +162: ++ '[' Linux = FreeBSD ']' +162: ++ trap 'on_error $LINENO' ERR +162: ++ trap on_exit EXIT +162: ++ echo -n 'Testing help ... ' +162: Testing help ... ++ set -o pipefail +162: ++ set -x +162: + grep Usage +148: + grep 'DW_FORM_line_strp pointing outside of .debug_line_str' +144: + grep 'hello2 () at .*:7' out/test/x86_64/gdb-index-dwarf2/log +144: #1 0x00007ffff7fbc79f in hello2 () at :7 +162: + ./mold --help +147: + grep -F .gdb_index +144: + grep 'hello () at .*:4' out/test/x86_64/gdb-index-dwarf2/log +162: Usage: ./mold [options] file... +162: + on_exit +162: + echo OK +162: OK +162: + exit 0 +159: + not grep -F ' .hash' out/test/x86_64/hash-style/log +159: + grep -F ' .hash' out/test/x86_64/hash-style/log +147: + readelf -WS out/test/x86_64/gdb-index-dwarf5/exe +156: + out/test/x86_64/gnu-unique/exe +152/402 Test #162: x86_64-help ........................................... Passed 0.02 sec +test 164 + Start 164: x86_64-hidden-undef + +164: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/hidden-undef.sh" +164: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +164: Environment variables: +164: MACHINE=x86_64 +164: CPU= +164: Test timeout computed to be: 1500 +147: [39] .gdb_index PROGBITS 0000000000000000 002490 000075 00 0 0 4 +156: + grep foo=5 +144: #2 0x00007ffff7fbc767 in hello () at :4 +163: ++ case $MACHINE in +163: ++ tlsdesc_opt=-mtls-dialect=gnu2 +163: +++ uname +163: ++ '[' Linux = FreeBSD ']' +163: ++ trap 'on_error $LINENO' ERR +163: ++ trap on_exit EXIT +163: ++ echo -n 'Testing hidden-archive ... ' +163: Testing hidden-archive ... ++ set -o pipefail +163: ++ set -x +163: + cc -c -o out/test/x86_64/hidden-archive/a.o -fPIC -xc - +147: + readelf --debug=gdb_index out/test/x86_64/gdb-index-dwarf5/exe +147: + grep 'main: .* \[global, function\]' +147: [ 1] main: 0 [global, function] +164: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/hidden-undef.sh 164: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 164: ++ export LC_ALL=C 164: ++ LC_ALL=C 164: ++ '[' -z x86_64 ']' -test 165 - Start 165: x86_64-hidden-weak-undef - -165: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/hidden-weak-undef.sh" -165: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -165: Environment variables: -165: MACHINE=x86_64 -165: CPU= -165: Test timeout computed to be: 1500 164: ++ '[' -z '' ']' 164: ++ TESTDIR=out/test/x86_64 164: ++ CC=cc @@ -11323,29 +11376,38 @@ 164: ++ testname=hidden-undef 164: ++ t=out/test/x86_64/hidden-undef 164: ++ mkdir -p out/test/x86_64/hidden-undef -163: ++ case $MACHINE in -163: ++ tlsdesc_opt=-mtls-dialect=gnu2 -163: +++ uname -163: ++ '[' Linux = FreeBSD ']' -163: ++ trap 'on_error $LINENO' ERR -163: ++ trap on_exit EXIT -163: ++ echo -n 'Testing hidden-archive ... ' -163: Testing hidden-archive ... ++ set -o pipefail -163: ++ set -x +144: + grep 'greet () at .*:8' out/test/x86_64/gdb-index-dwarf2/log 163: + cat -163: + cc -c -o out/test/x86_64/hidden-archive/a.o -fPIC -xc - -162: ++ '[' Linux = FreeBSD ']' -162: ++ trap 'on_error $LINENO' ERR -162: ++ trap on_exit EXIT -162: ++ echo -n 'Testing help ... ' -162: Testing help ... ++ set -o pipefail -162: ++ set -x -162: + ./mold --help -162: + grep Usage +147: + out/test/x86_64/gdb-index-dwarf5/exe +159: + return 0 +159: + not grep -F ' .gnu.hash' out/test/x86_64/hash-style/log +159: + grep -F ' .gnu.hash' out/test/x86_64/hash-style/log +156: foo=5 +156: + on_exit +156: + echo OK +156: OK +156: + exit 0 +153/402 Test #156: x86_64-gnu-unique ..................................... Passed 0.64 sec +test 165 + Start 165: x86_64-hidden-weak-undef + +165: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/hidden-weak-undef.sh" +165: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +165: Environment variables: +165: MACHINE=x86_64 +165: CPU= +165: Test timeout computed to be: 1500 +144: #3 0x00007ffff7fbc778 in greet () at :8 +144: + grep 'main () at .*:4' out/test/x86_64/gdb-index-dwarf2/log +144: Breakpoint 1, main () at :4 +144: #4 0x0000555555555727 in main () at :4 +144: + on_exit +144: + echo OK +144: OK +144: + exit 0 164: ++ case $MACHINE in 164: ++ tlsdesc_opt=-mtls-dialect=gnu2 164: +++ uname -165: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/hidden-weak-undef.sh 164: ++ '[' Linux = FreeBSD ']' 164: ++ trap 'on_error $LINENO' ERR 164: ++ trap on_exit EXIT @@ -11353,8 +11415,12 @@ 164: Testing hidden-undef ... ++ set -o pipefail 164: ++ set -x 164: + cat -164: + cc -o out/test/x86_64/hidden-undef/a.so -shared -fPIC -xc - -162: Usage: ./mold [options] file... +159: + return 0 +159: + on_exit +159: + echo OK +159: OK +159: + exit 0 +165: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/hidden-weak-undef.sh 165: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 165: ++ export LC_ALL=C 165: ++ LC_ALL=C @@ -11369,12 +11435,14 @@ 165: ++ OBJCOPY=objcopy 165: ++ STRIP=strip 165: ++ QEMU= -162: + on_exit -162: + echo OK -162: OK -162: + exit 0 -154/402 Test #162: x86_64-help ........................................... Passed 0.02 sec 165: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/hidden-weak-undef.sh .sh +165: ++ testname=hidden-weak-undef +165: ++ t=out/test/x86_64/hidden-weak-undef +165: ++ mkdir -p out/test/x86_64/hidden-weak-undef +165: ++ case $MACHINE in +165: ++ tlsdesc_opt=-mtls-dialect=gnu2 +154/402 Test #144: x86_64-gdb-index-dwarf2 ............................... Passed 1.65 sec +155/402 Test #159: x86_64-hash-style ..................................... Passed 0.35 sec test 166 Start 166: x86_64-icf-safe @@ -11384,21 +11452,32 @@ 166: MACHINE=x86_64 166: CPU= 166: Test timeout computed to be: 1500 -165: ++ testname=hidden-weak-undef -165: ++ t=out/test/x86_64/hidden-weak-undef -165: ++ mkdir -p out/test/x86_64/hidden-weak-undef -165: ++ case $MACHINE in -165: ++ tlsdesc_opt=-mtls-dialect=gnu2 +test 167 + Start 167: x86_64-icf-small + +167: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/icf-small.sh" +167: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +167: Environment variables: +167: MACHINE=x86_64 +167: CPU= +167: Test timeout computed to be: 1500 +147: + grep 'Hello world' +147: Hello world +147: + DEBUGINFOD_URLS= +147: + gdb out/test/x86_64/gdb-index-dwarf5/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit +164: + cc -o out/test/x86_64/hidden-undef/a.so -shared -fPIC -xc - 165: +++ uname 165: ++ '[' Linux = FreeBSD ']' -166: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/icf-safe.sh 165: ++ trap 'on_error $LINENO' ERR 165: ++ trap on_exit EXIT 165: ++ echo -n 'Testing hidden-weak-undef ... ' 165: Testing hidden-weak-undef ... ++ set -o pipefail 165: ++ set -x -165: + cat 165: + cc -o out/test/x86_64/hidden-weak-undef/a.o -fPIC -c -xc - +165: + cat +146: + grep 'hello2 () at .*:7' out/test/x86_64/gdb-index-dwarf4/log +146: #1 0x00007ffff7fbc79f in hello2 () at :7 +166: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/icf-safe.sh 166: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 166: ++ export LC_ALL=C 166: ++ LC_ALL=C @@ -11413,85 +11492,7 @@ 166: ++ OBJCOPY=objcopy 166: ++ STRIP=strip 166: ++ QEMU= -166: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/icf-safe.sh .sh -166: ++ testname=icf-safe -166: ++ t=out/test/x86_64/icf-safe -166: ++ mkdir -p out/test/x86_64/icf-safe -166: ++ case $MACHINE in -166: ++ tlsdesc_opt=-mtls-dialect=gnu2 -166: +++ uname -166: ++ '[' Linux = FreeBSD ']' -166: ++ trap 'on_error $LINENO' ERR -166: ++ trap on_exit EXIT -166: ++ echo -n 'Testing icf-safe ... ' -166: Testing icf-safe ... ++ set -o pipefail -166: ++ set -x -166: + '[' x86_64 = s390x ']' -166: + cat -166: + cc -c -o out/test/x86_64/icf-safe/a.o -ffunction-sections -fdata-sections -xc - -163: + rm -f out/test/x86_64/hidden-archive/b.a -165: + cc -B. -shared -o out/test/x86_64/hidden-weak-undef/b.so out/test/x86_64/hidden-weak-undef/a.o -159: + ./mold -shared -o out/test/x86_64/hash-style/b.so out/test/x86_64/hash-style/a.o -130: + c++ -B. -o out/test/x86_64/exception/exe9 out/test/x86_64/exception/e.o -no-pie -static -pthread -160: + cc -B. -o out/test/x86_64/hello-dynamic/exe out/test/x86_64/hello-dynamic/a.o -no-pie -148: + cc -B. -o out/test/x86_64/gdb-index-dwarf64/exe1 out/test/x86_64/gdb-index-dwarf64/e.so out/test/x86_64/gdb-index-dwarf64/g.o -163: + ar rcs out/test/x86_64/hidden-archive/b.a out/test/x86_64/hidden-archive/a.o -166: + cat -158: + cc -B. -shared -o out/test/x86_64/hash-style-sysv/b.so out/test/x86_64/hash-style-sysv/a.o -Wl,--hash-style=sysv -166: + cc -c -o out/test/x86_64/icf-safe/b.o -ffunction-sections -fdata-sections -xc - -150: + cc -B. -shared -o out/test/x86_64/gdb-index-split-dwarf/e.so out/test/x86_64/gdb-index-split-dwarf/a.o out/test/x86_64/gdb-index-split-dwarf/b.o out/test/x86_64/gdb-index-split-dwarf/c.o out/test/x86_64/gdb-index-split-dwarf/d.o -Wl,--gdb-index -163: + cat -163: + cc -shared -o out/test/x86_64/hidden-archive/c.so -fPIC -xc - -159: + readelf -WS out/test/x86_64/hash-style/b.so -159: + grep -F ' .hash' -159: [ 1] .hash HASH 0000000000000238 000238 000018 04 A 3 0 4 -159: + grep -F ' .gnu.hash' -159: + readelf -WS out/test/x86_64/hash-style/b.so -159: [ 2] .gnu.hash GNU_HASH 0000000000000250 000250 000020 00 A 3 0 8 -159: + ./mold -shared -o out/test/x86_64/hash-style/c.so out/test/x86_64/hash-style/a.o --hash-style=both --hash-style=none -164: + cat -164: + cc -o out/test/x86_64/hidden-undef/b.o -fPIC -c -xc - -165: + readelf -W --dyn-syms out/test/x86_64/hidden-weak-undef/b.so -165: + not grep -w foo out/test/x86_64/hidden-weak-undef/log -165: + grep -w foo out/test/x86_64/hidden-weak-undef/log -148: + DEBUGINFOD_URLS= -148: + grep 'DW_FORM_line_strp pointing outside of .debug_line_str' -148: + gdb out/test/x86_64/gdb-index-dwarf64/exe1 -nx -batch -ex 'b main' -ex r -ex quit -160: + out/test/x86_64/hello-dynamic/exe -160: + grep 'Hello world' -160: Hello world -160: + on_exit -160: + echo OK -160: OK -160: + exit 0 -155/402 Test #160: x86_64-hello-dynamic .................................. Passed 0.18 sec -test 167 - Start 167: x86_64-icf-small - -167: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/icf-small.sh" -167: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -167: Environment variables: -167: MACHINE=x86_64 -167: CPU= -167: Test timeout computed to be: 1500 -165: + return 0 -165: + grep -w bar out/test/x86_64/hidden-weak-undef/log -165: 5: 00000000000015d9 17 FUNC GLOBAL DEFAULT 13 bar -165: + on_exit -165: + echo OK -165: OK -165: + exit 0 -159: + readelf -WS out/test/x86_64/hash-style/c.so -156/402 Test #165: x86_64-hidden-weak-undef .............................. Passed 0.12 sec -test 168 - Start 168: x86_64-icf - -168: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/icf.sh" -168: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -168: Environment variables: -168: MACHINE=x86_64 -168: CPU= -168: Test timeout computed to be: 1500 +146: + grep 'hello () at .*:4' out/test/x86_64/gdb-index-dwarf4/log 167: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/icf-small.sh 167: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 167: ++ export LC_ALL=C @@ -11507,43 +11508,81 @@ 167: ++ OBJCOPY=objcopy 167: ++ STRIP=strip 167: ++ QEMU= +166: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/icf-safe.sh .sh +166: ++ testname=icf-safe +166: ++ t=out/test/x86_64/icf-safe +166: ++ mkdir -p out/test/x86_64/icf-safe +146: #2 0x00007ffff7fbc767 in hello () at :4 +146: + grep 'greet () at .*:8' out/test/x86_64/gdb-index-dwarf4/log 167: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/icf-small.sh .sh -158: + cat -158: + cc -o out/test/x86_64/hash-style-sysv/c.o -c -xc - 167: ++ testname=icf-small 167: ++ t=out/test/x86_64/icf-small 167: ++ mkdir -p out/test/x86_64/icf-small +166: ++ case $MACHINE in +166: ++ tlsdesc_opt=-mtls-dialect=gnu2 +146: #3 0x00007ffff7fbc778 in greet () at :8 +146: + grep 'main () at .*:4' out/test/x86_64/gdb-index-dwarf4/log +130: + out/test/x86_64/exception/exe12 167: ++ case $MACHINE in -159: + not grep -F ' .hash' out/test/x86_64/hash-style/log -159: + grep -F ' .hash' out/test/x86_64/hash-style/log 167: ++ tlsdesc_opt=-mtls-dialect=gnu2 +166: +++ uname +158: + cc -B. -o out/test/x86_64/hash-style-sysv/exe out/test/x86_64/hash-style-sysv/c.o out/test/x86_64/hash-style-sysv/b.so -Wl,--hash-style=sysv +146: Breakpoint 1, main () at :4 +146: #4 0x0000555555555727 in main () at :4 +146: + on_exit +146: + echo OK +146: OK +146: + exit 0 167: +++ uname -168: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/icf.sh -164: + not cc -B. -o out/test/x86_64/hidden-undef/exe out/test/x86_64/hidden-undef/a.so out/test/x86_64/hidden-undef/b.o -164: + grep 'undefined symbol: foo' -159: + return 0 -159: + not grep -F ' .gnu.hash' out/test/x86_64/hash-style/log -159: + grep -F ' .gnu.hash' out/test/x86_64/hash-style/log +156/402 Test #146: x86_64-gdb-index-dwarf4 ............................... Passed 1.66 sec +test 168 + Start 168: x86_64-icf + +168: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/icf.sh" +168: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +168: Environment variables: +168: MACHINE=x86_64 +168: CPU= +168: Test timeout computed to be: 1500 +166: ++ '[' Linux = FreeBSD ']' +166: ++ trap 'on_error $LINENO' ERR +166: ++ trap on_exit EXIT +166: ++ echo -n 'Testing icf-safe ... ' +166: Testing icf-safe ... ++ set -o pipefail +166: ++ set -x +166: + '[' x86_64 = s390x ']' +166: + cc -c -o out/test/x86_64/icf-safe/a.o -ffunction-sections -fdata-sections -xc - +166: + cat +130: + on_exit +130: + echo OK +130: OK +130: + exit 0 167: ++ '[' Linux = FreeBSD ']' -150: + grep -F .gdb_index 167: ++ trap 'on_error $LINENO' ERR 167: ++ trap on_exit EXIT 167: ++ echo -n 'Testing icf-small ... ' 167: Testing icf-small ... ++ set -o pipefail 167: ++ set -x 167: + cat -166: + cc -B. -o out/test/x86_64/icf-safe/exe1 -Wl,-icf=safe out/test/x86_64/icf-safe/a.o out/test/x86_64/icf-safe/b.o 167: + cc -o out/test/x86_64/icf-small/a.o -c -ffunction-sections -xc - -150: + readelf -WS out/test/x86_64/gdb-index-split-dwarf/e.so +165: + cc -B. -shared -o out/test/x86_64/hidden-weak-undef/b.so out/test/x86_64/hidden-weak-undef/a.o +163: + rm -f out/test/x86_64/hidden-archive/b.a +157/402 Test #130: x86_64-exception ...................................... Passed 3.03 sec +test 169 + Start 169: x86_64-ifunc-address-equality-exported + +169: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-address-equality-exported.sh" +169: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +169: Environment variables: +169: MACHINE=x86_64 +169: CPU= +169: Test timeout computed to be: 1500 +163: + ar rcs out/test/x86_64/hidden-archive/b.a out/test/x86_64/hidden-archive/a.o +168: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/icf.sh 168: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 168: ++ export LC_ALL=C 168: ++ LC_ALL=C 168: ++ '[' -z x86_64 ']' -159: + return 0 -159: + on_exit -159: + echo OK -159: OK -159: + exit 0 168: ++ '[' -z '' ']' 168: ++ TESTDIR=out/test/x86_64 168: ++ CC=cc @@ -11554,38 +11593,8 @@ 168: ++ OBJCOPY=objcopy 168: ++ STRIP=strip 168: ++ QEMU= -157/402 Test #159: x86_64-hash-style ..................................... Passed 0.34 sec -168: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/icf.sh .sh -test 169 - Start 169: x86_64-ifunc-address-equality-exported - -169: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-address-equality-exported.sh" -169: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -169: Environment variables: -169: MACHINE=x86_64 -169: CPU= -169: Test timeout computed to be: 1500 -168: ++ testname=icf -168: ++ t=out/test/x86_64/icf -168: ++ mkdir -p out/test/x86_64/icf -168: ++ case $MACHINE in -168: ++ tlsdesc_opt=-mtls-dialect=gnu2 -168: +++ uname -168: ++ '[' Linux = FreeBSD ']' -168: ++ trap 'on_error $LINENO' ERR -168: ++ trap on_exit EXIT -150: [37] .gdb_index PROGBITS 0000000000000000 002a50 0002c5 00 0 0 4 -150: + cat -150: + cc -c -o out/test/x86_64/gdb-index-split-dwarf/f.o -fPIC -g -ggnu-pubnames -gdwarf-5 -gsplit-dwarf -xc - -gz -161: + cat -161: + cc -o out/test/x86_64/hello-static/a.o -c -xc - -168: ++ echo -n 'Testing icf ... ' -168: Testing icf ... ++ set -o pipefail -168: ++ set -x -168: + '[' x86_64 = ppc64 ']' -168: + cat -168: + cc -c -o out/test/x86_64/icf/a.o -ffunction-sections -fdata-sections -xc - 169: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-address-equality-exported.sh +168: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/icf.sh .sh 169: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 169: ++ export LC_ALL=C 169: ++ LC_ALL=C @@ -11600,50 +11609,57 @@ 169: ++ OBJCOPY=objcopy 169: ++ STRIP=strip 169: ++ QEMU= +168: ++ testname=icf +168: ++ t=out/test/x86_64/icf +168: ++ mkdir -p out/test/x86_64/icf 169: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-address-equality-exported.sh .sh -163: + cat -163: + cc -o out/test/x86_64/hidden-archive/d.o -fPIC -c -xc - +168: ++ case $MACHINE in +168: ++ tlsdesc_opt=-mtls-dialect=gnu2 169: ++ testname=ifunc-address-equality-exported 169: ++ t=out/test/x86_64/ifunc-address-equality-exported 169: ++ mkdir -p out/test/x86_64/ifunc-address-equality-exported +168: +++ uname +168: ++ '[' Linux = FreeBSD ']' +168: ++ trap 'on_error $LINENO' ERR +168: ++ trap on_exit EXIT +168: ++ echo -n 'Testing icf ... ' +168: Testing icf ... ++ set -o pipefail +168: ++ set -x +168: + '[' x86_64 = ppc64 ']' +158: + grep Hello 169: ++ case $MACHINE in 169: ++ tlsdesc_opt=-mtls-dialect=gnu2 +168: + cc -c -o out/test/x86_64/icf/a.o -ffunction-sections -fdata-sections -xc - +168: + cat 169: +++ uname +158: + out/test/x86_64/hash-style-sysv/exe +158: Hello world +158: + on_exit +158: + echo OK +158: OK +158: + exit 0 +158/402 Test #158: x86_64-hash-style-sysv ................................ Passed 0.53 sec +test 170 + Start 170: x86_64-ifunc-address-equality + +170: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-address-equality.sh" +170: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +170: Environment variables: +170: MACHINE=x86_64 +170: CPU= +170: Test timeout computed to be: 1500 169: ++ '[' Linux = FreeBSD ']' -166: + out/test/x86_64/icf-safe/exe1 -166: + grep '^0 0$' 169: ++ trap 'on_error $LINENO' ERR 169: ++ trap on_exit EXIT 169: ++ echo -n 'Testing ifunc-address-equality-exported ... ' 169: Testing ifunc-address-equality-exported ... ++ set -o pipefail 169: ++ set -x -169: + grep clang +165: + readelf -W --dyn-syms out/test/x86_64/hidden-weak-undef/b.so 169: + cc --version -166: 0 0 -164: mold: error: undefined symbol: foo -166: + cat +169: + grep clang 169: + supports_ifunc 169: + is_musl -164: + on_exit -164: + echo OK -164: OK -164: + exit 0 -166: + cc -c -o out/test/x86_64/icf-safe/c.o -ffunction-sections -fdata-sections -xc - 169: + grep musl -169: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -169: + cc -c -o /dev/null -xc - -158/402 Test #164: x86_64-hidden-undef ................................... Passed 0.19 sec -test 170 - Start 170: x86_64-ifunc-address-equality - -170: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-address-equality.sh" -170: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -170: Environment variables: -170: MACHINE=x86_64 -170: CPU= -170: Test timeout computed to be: 1500 -130: + out/test/x86_64/exception/exe9 -130: + c++ -B. -o out/test/x86_64/exception/exe10 out/test/x86_64/exception/e.o -no-pie 170: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-address-equality.sh 170: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 170: ++ export LC_ALL=C @@ -11660,12 +11676,18 @@ 170: ++ STRIP=strip 170: ++ QEMU= 170: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-address-equality.sh .sh +165: + not grep -w foo out/test/x86_64/hidden-weak-undef/log +165: + grep -w foo out/test/x86_64/hidden-weak-undef/log 170: ++ testname=ifunc-address-equality 170: ++ t=out/test/x86_64/ifunc-address-equality 170: ++ mkdir -p out/test/x86_64/ifunc-address-equality 170: ++ case $MACHINE in 170: ++ tlsdesc_opt=-mtls-dialect=gnu2 +169: + cc -c -o /dev/null -xc - +169: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' 170: +++ uname +165: + return 0 +165: + grep -w bar out/test/x86_64/hidden-weak-undef/log 170: ++ '[' Linux = FreeBSD ']' 170: ++ trap 'on_error $LINENO' ERR 170: ++ trap on_exit EXIT @@ -11674,34 +11696,13 @@ 170: ++ set -x 170: + supports_ifunc 170: + is_musl +165: 5: 00000000000015d9 17 FUNC GLOBAL DEFAULT 13 bar +165: + on_exit +165: + echo OK +165: OK +165: + exit 0 170: + grep musl -170: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -170: + cc -c -o /dev/null -xc - -130: + out/test/x86_64/exception/exe10 -130: + '[' x86_64 '!=' riscv32 ']' -130: + c++ -B. -o out/test/x86_64/exception/exe11 out/test/x86_64/exception/b.o -pie -130: + strip out/test/x86_64/exception/exe11 -147: + grep 'fn8 () at .*/d.c:6' out/test/x86_64/gdb-index-dwarf5/log -147: #1 0x00007ffff7fbc933 in fn8 () at out/test/x86_64/gdb-index-dwarf5/d.c:6 -147: + grep 'fn7 () at .*/d.c:10' out/test/x86_64/gdb-index-dwarf5/log -147: #2 0x00007ffff7fbc944 in fn7 () at out/test/x86_64/gdb-index-dwarf5/d.c:10 -147: + grep 'fn6 () at .*/c.c:4' out/test/x86_64/gdb-index-dwarf5/log -147: #3 0x00007ffff7fbc8fb in fn6 () at out/test/x86_64/gdb-index-dwarf5/c.c:4 -147: + grep 'fn5 () at .*/c.c:8' out/test/x86_64/gdb-index-dwarf5/log -147: #4 0x00007ffff7fbc90c in fn5 () at out/test/x86_64/gdb-index-dwarf5/c.c:8 -147: + grep 'fn4 () at .*/b.c:4' out/test/x86_64/gdb-index-dwarf5/log -147: #5 0x00007ffff7fbc8d9 in fn4 () at out/test/x86_64/gdb-index-dwarf5/b.c:4 -147: + grep 'fn3 () at .*/b.c:8' out/test/x86_64/gdb-index-dwarf5/log -147: #6 0x00007ffff7fbc8ea in fn3 () at out/test/x86_64/gdb-index-dwarf5/b.c:8 -147: + grep 'fn2 () at .*/a.c:4' out/test/x86_64/gdb-index-dwarf5/log -147: #7 0x00007ffff7fbc8b7 in fn2 () at out/test/x86_64/gdb-index-dwarf5/a.c:4 -147: + grep 'fn1 () at .*/a.c:8' out/test/x86_64/gdb-index-dwarf5/log -147: #8 0x00007ffff7fbc8c8 in fn1 () at out/test/x86_64/gdb-index-dwarf5/a.c:8 -147: + on_exit -147: + echo OK -147: OK -147: + exit 0 -159/402 Test #147: x86_64-gdb-index-dwarf5 ............................... Passed 1.08 sec +159/402 Test #165: x86_64-hidden-weak-undef .............................. Passed 0.19 sec test 171 Start 171: x86_64-ifunc-alias @@ -11711,7 +11712,14 @@ 171: MACHINE=x86_64 171: CPU= 171: Test timeout computed to be: 1500 +163: + cc -shared -o out/test/x86_64/hidden-archive/c.so -fPIC -xc - +163: + cat +170: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +170: + cc -c -o /dev/null -xc - +150: + cc -B. -shared -o out/test/x86_64/gdb-index-split-dwarf/e.so out/test/x86_64/gdb-index-split-dwarf/a.o out/test/x86_64/gdb-index-split-dwarf/b.o out/test/x86_64/gdb-index-split-dwarf/c.o out/test/x86_64/gdb-index-split-dwarf/d.o -Wl,--gdb-index +168: + cc -B. -o out/test/x86_64/icf/exe out/test/x86_64/icf/a.o -Wl,-icf=all 171: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-alias.sh +161: + cat 171: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 171: ++ export LC_ALL=C 171: ++ LC_ALL=C @@ -11726,6 +11734,12 @@ 171: ++ OBJCOPY=objcopy 171: ++ STRIP=strip 171: ++ QEMU= +166: + cc -c -o out/test/x86_64/icf-safe/b.o -ffunction-sections -fdata-sections -xc - +164: + cat +161: + cc -o out/test/x86_64/hello-static/a.o -c -xc - +167: + ./mold -o out/test/x86_64/icf-small/exe -icf=all out/test/x86_64/icf-small/a.o +164: + cc -o out/test/x86_64/hidden-undef/b.o -fPIC -c -xc - +166: + cat 171: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-alias.sh .sh 171: ++ testname=ifunc-alias 171: ++ t=out/test/x86_64/ifunc-alias @@ -11742,25 +11756,11 @@ 171: + supports_ifunc 171: + is_musl 171: + grep musl -171: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -171: + cc -c -o /dev/null -xc - -163: + cc -B. -o out/test/x86_64/hidden-archive/exe out/test/x86_64/hidden-archive/d.o out/test/x86_64/hidden-archive/c.so out/test/x86_64/hidden-archive/b.a -166: + cc -B. -o out/test/x86_64/icf-safe/exe2 -Wl,-icf=safe out/test/x86_64/icf-safe/a.o out/test/x86_64/icf-safe/c.o -168: + cc -B. -o out/test/x86_64/icf/exe out/test/x86_64/icf/a.o -Wl,-icf=all -167: + ./mold -o out/test/x86_64/icf-small/exe -icf=all out/test/x86_64/icf-small/a.o -161: + cc -B. -o out/test/x86_64/hello-static/exe out/test/x86_64/hello-static/a.o -static -169: + cat -169: + cc -c -fPIC -o out/test/x86_64/ifunc-address-equality-exported/a.o -xc - -158: + cc -B. -o out/test/x86_64/hash-style-sysv/exe out/test/x86_64/hash-style-sysv/c.o out/test/x86_64/hash-style-sysv/b.so -Wl,--hash-style=sysv -130: + out/test/x86_64/exception/exe11 -170: + cat -170: + cc -c -fno-PIE -o out/test/x86_64/ifunc-address-equality/a.o -xc - -130: + c++ -B. -o out/test/x86_64/exception/exe12 out/test/x86_64/exception/c.o -no-pie 167: + on_exit 167: + echo OK 167: OK 167: + exit 0 -150: + cc -B. -o out/test/x86_64/gdb-index-split-dwarf/exe out/test/x86_64/gdb-index-split-dwarf/e.so out/test/x86_64/gdb-index-split-dwarf/f.o -Wl,--gdb-index +171: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' 160/402 Test #167: x86_64-icf-small ...................................... Passed 0.23 sec test 172 Start 172: x86_64-ifunc-dlopen @@ -11771,16 +11771,50 @@ 172: MACHINE=x86_64 172: CPU= 172: Test timeout computed to be: 1500 -168: + out/test/x86_64/icf/exe +171: + cc -c -o /dev/null -xc - +150: + grep -F .gdb_index +150: + readelf -WS out/test/x86_64/gdb-index-split-dwarf/e.so +150: [37] .gdb_index PROGBITS 0000000000000000 002a50 0002c5 00 0 0 4 +150: + cc -c -o out/test/x86_64/gdb-index-split-dwarf/f.o -fPIC -g -ggnu-pubnames -gdwarf-5 -gsplit-dwarf -xc - -gz +150: + cat 168: + grep '1 0' -163: + out/test/x86_64/hidden-archive/exe +168: + out/test/x86_64/icf/exe 168: 1 0 -163: + on_exit -163: + echo OK -163: OK -163: + exit 0 -161/402 Test #163: x86_64-hidden-archive ................................. Passed 0.38 sec -169: + cc -B. -shared -o out/test/x86_64/ifunc-address-equality-exported/b.so out/test/x86_64/ifunc-address-equality-exported/a.o +168: + on_exit +168: + echo OK +168: OK +168: + exit 0 +172: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-dlopen.sh +172: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +172: ++ export LC_ALL=C +172: ++ LC_ALL=C +172: ++ '[' -z x86_64 ']' +172: ++ '[' -z '' ']' +172: ++ TESTDIR=out/test/x86_64 +172: ++ CC=cc +172: ++ CXX=c++ +172: ++ GCC=gcc +172: ++ GXX=g++ +172: ++ OBJDUMP=objdump +172: ++ OBJCOPY=objcopy +172: ++ STRIP=strip +172: ++ QEMU= +172: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-dlopen.sh .sh +172: ++ testname=ifunc-dlopen +172: ++ t=out/test/x86_64/ifunc-dlopen +172: ++ mkdir -p out/test/x86_64/ifunc-dlopen +172: ++ case $MACHINE in +172: ++ tlsdesc_opt=-mtls-dialect=gnu2 +172: +++ uname +172: ++ '[' Linux = FreeBSD ']' +172: ++ trap 'on_error $LINENO' ERR +172: ++ trap on_exit EXIT +172: ++ echo -n 'Testing ifunc-dlopen ... ' +172: Testing ifunc-dlopen ... ++ set -o pipefail +172: ++ set -x +172: + supports_ifunc +172: + is_musl +161/402 Test #168: x86_64-icf ............................................ Passed 0.20 sec test 173 Start 173: x86_64-ifunc-dso @@ -11790,15 +11824,63 @@ 173: MACHINE=x86_64 173: CPU= 173: Test timeout computed to be: 1500 +173: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-dso.sh +173: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +173: ++ export LC_ALL=C +173: ++ LC_ALL=C +173: ++ '[' -z x86_64 ']' +173: ++ '[' -z '' ']' +173: ++ TESTDIR=out/test/x86_64 +173: ++ CC=cc +173: ++ CXX=c++ +173: ++ GCC=gcc +173: ++ GXX=g++ +173: ++ OBJDUMP=objdump +173: ++ OBJCOPY=objcopy +173: ++ STRIP=strip +173: ++ QEMU= +173: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-dso.sh .sh +173: ++ testname=ifunc-dso +173: ++ t=out/test/x86_64/ifunc-dso +173: ++ mkdir -p out/test/x86_64/ifunc-dso +173: ++ case $MACHINE in +173: ++ tlsdesc_opt=-mtls-dialect=gnu2 +173: +++ uname +173: ++ '[' Linux = FreeBSD ']' +173: ++ trap 'on_error $LINENO' ERR +173: ++ trap on_exit EXIT +173: ++ echo -n 'Testing ifunc-dso ... ' +173: Testing ifunc-dso ... ++ set -o pipefail +173: ++ set -x +173: + supports_ifunc +173: + is_musl +172: + grep musl +172: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +172: + cc -c -o /dev/null -xc - +173: + grep musl +173: + cc -c -o /dev/null -xc - +173: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +166: + cc -B. -o out/test/x86_64/icf-safe/exe1 -Wl,-icf=safe out/test/x86_64/icf-safe/a.o out/test/x86_64/icf-safe/b.o +169: + cat +164: + grep 'undefined symbol: foo' 171: + cc -fPIC -o out/test/x86_64/ifunc-alias/a.o -c -xc - 171: + cat +169: + cc -c -fPIC -o out/test/x86_64/ifunc-address-equality-exported/a.o -xc - +161: + cc -B. -o out/test/x86_64/hello-static/exe out/test/x86_64/hello-static/a.o -static 170: + cat -170: + cc -c -fPIC -o out/test/x86_64/ifunc-address-equality/b.o -xc - -168: + on_exit -168: + echo OK -168: OK -168: + exit 0 -162/402 Test #168: x86_64-icf ............................................ Passed 0.25 sec +164: + not cc -B. -o out/test/x86_64/hidden-undef/exe out/test/x86_64/hidden-undef/a.so out/test/x86_64/hidden-undef/b.o +172: + cat +172: + cc -fno-PIE -o out/test/x86_64/ifunc-dlopen/a.o -c -xc - +170: + cc -c -fno-PIE -o out/test/x86_64/ifunc-address-equality/a.o -xc - +161: + grep 'Hello world' +161: + out/test/x86_64/hello-static/exe +161: Hello world +161: + on_exit +161: + echo OK +161: OK +161: + exit 0 +162/402 Test #161: x86_64-hello-static ................................... Passed 0.71 sec +148: + cc -B. -o out/test/x86_64/gdb-index-dwarf64/exe2 out/test/x86_64/gdb-index-dwarf64/f.so out/test/x86_64/gdb-index-dwarf64/g.o -Wl,--gdb-index test 174 Start 174: x86_64-ifunc-dynamic @@ -11808,12 +11890,7 @@ 174: MACHINE=x86_64 174: CPU= 174: Test timeout computed to be: 1500 -130: + strip out/test/x86_64/exception/exe12 -172: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-dlopen.sh -166: + out/test/x86_64/icf-safe/exe2 -166: + not grep foo2 -166: + grep foo2 -173: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-dso.sh +166: + out/test/x86_64/icf-safe/exe1 174: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-dynamic.sh 174: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 174: ++ export LC_ALL=C @@ -11823,52 +11900,35 @@ 174: ++ TESTDIR=out/test/x86_64 174: ++ CC=cc 174: ++ CXX=c++ -173: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -173: ++ export LC_ALL=C -173: ++ LC_ALL=C -173: ++ '[' -z x86_64 ']' -173: ++ '[' -z '' ']' -173: ++ TESTDIR=out/test/x86_64 -173: ++ CC=cc -173: ++ CXX=c++ -173: ++ GCC=gcc -173: ++ GXX=g++ -173: ++ OBJDUMP=objdump -173: ++ OBJCOPY=objcopy -173: ++ STRIP=strip -173: ++ QEMU= -173: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-dso.sh .sh -148: + cc -B. -o out/test/x86_64/gdb-index-dwarf64/exe2 out/test/x86_64/gdb-index-dwarf64/f.so out/test/x86_64/gdb-index-dwarf64/g.o -Wl,--gdb-index 174: ++ GCC=gcc 174: ++ GXX=g++ 174: ++ OBJDUMP=objdump 174: ++ OBJCOPY=objcopy 174: ++ STRIP=strip 174: ++ QEMU= -172: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -172: ++ export LC_ALL=C -172: ++ LC_ALL=C -172: ++ '[' -z x86_64 ']' -172: ++ '[' -z '' ']' -172: ++ TESTDIR=out/test/x86_64 -172: ++ CC=cc -172: ++ CXX=c++ -172: ++ GCC=gcc -172: ++ GXX=g++ -172: ++ OBJDUMP=objdump -172: ++ OBJCOPY=objcopy -172: ++ STRIP=strip -172: ++ QEMU= -166: + return 0 +166: + grep '^0 0$' +150: + cc -B. -o out/test/x86_64/gdb-index-split-dwarf/exe out/test/x86_64/gdb-index-split-dwarf/e.so out/test/x86_64/gdb-index-split-dwarf/f.o -Wl,--gdb-index +172: + cc -fPIC -o out/test/x86_64/ifunc-dlopen/b.o -c -xc - +171: + cc -B. -o out/test/x86_64/ifunc-alias/exe1 out/test/x86_64/ifunc-alias/a.o -pie +169: + cc -B. -shared -o out/test/x86_64/ifunc-address-equality-exported/b.so out/test/x86_64/ifunc-address-equality-exported/a.o +166: 0 0 +172: + cat 174: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-dynamic.sh .sh -166: + on_exit -166: + echo OK -166: OK -166: + exit 0 -173: ++ testname=ifunc-dso -173: ++ t=out/test/x86_64/ifunc-dso -173: ++ mkdir -p out/test/x86_64/ifunc-dso -163/402 Test #166: x86_64-icf-safe ....................................... Passed 0.38 sec +174: ++ testname=ifunc-dynamic +174: ++ t=out/test/x86_64/ifunc-dynamic +174: ++ mkdir -p out/test/x86_64/ifunc-dynamic +166: + cc -c -o out/test/x86_64/icf-safe/c.o -ffunction-sections -fdata-sections -xc - +170: + cc -c -fPIC -o out/test/x86_64/ifunc-address-equality/b.o -xc - +170: + cat +174: ++ case $MACHINE in +174: ++ tlsdesc_opt=-mtls-dialect=gnu2 +166: + cat +164: mold: error: undefined symbol: foo +164: + on_exit +164: + echo OK +164: OK +164: + exit 0 +163/402 Test #164: x86_64-hidden-undef ................................... Passed 0.45 sec test 175 Start 175: x86_64-ifunc-export @@ -11878,67 +11938,9 @@ 175: MACHINE=x86_64 175: CPU= 175: Test timeout computed to be: 1500 -172: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-dlopen.sh .sh -172: ++ testname=ifunc-dlopen -172: ++ t=out/test/x86_64/ifunc-dlopen -172: ++ mkdir -p out/test/x86_64/ifunc-dlopen -173: ++ case $MACHINE in -173: ++ tlsdesc_opt=-mtls-dialect=gnu2 -173: +++ uname -174: ++ testname=ifunc-dynamic -174: ++ t=out/test/x86_64/ifunc-dynamic -174: ++ mkdir -p out/test/x86_64/ifunc-dynamic -158: + out/test/x86_64/hash-style-sysv/exe -158: + grep Hello -161: + out/test/x86_64/hello-static/exe -173: ++ '[' Linux = FreeBSD ']' -173: ++ trap 'on_error $LINENO' ERR -173: ++ trap on_exit EXIT -173: ++ echo -n 'Testing ifunc-dso ... ' -173: Testing ifunc-dso ... ++ set -o pipefail -173: ++ set -x -173: + supports_ifunc -173: + is_musl -161: + grep 'Hello world' -174: ++ case $MACHINE in -174: ++ tlsdesc_opt=-mtls-dialect=gnu2 +173: + cc -fPIC -o out/test/x86_64/ifunc-dso/a.o -c -xc - +173: + cat 174: +++ uname -158: Hello world -158: + on_exit -158: + echo OK -158: OK -158: + exit 0 -161: Hello world -161: + on_exit -161: + echo OK -161: OK -161: + exit 0 -173: + grep musl -164/402 Test #158: x86_64-hash-style-sysv ................................ Passed 0.61 sec -test 176 - Start 176: x86_64-ifunc-funcptr - -176: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-funcptr.sh" -176: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -176: Environment variables: -176: MACHINE=x86_64 -176: CPU= -176: Test timeout computed to be: 1500 -165/402 Test #161: x86_64-hello-static ................................... Passed 0.46 sec -173: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -173: + cc -c -o /dev/null -xc - -172: ++ case $MACHINE in -172: ++ tlsdesc_opt=-mtls-dialect=gnu2 -172: +++ uname -172: ++ '[' Linux = FreeBSD ']' -172: ++ trap 'on_error $LINENO' ERR -172: ++ trap on_exit EXIT -172: ++ echo -n 'Testing ifunc-dlopen ... ' -172: Testing ifunc-dlopen ... ++ set -o pipefail -172: ++ set -x -172: + supports_ifunc -172: + is_musl -172: + grep musl 174: ++ '[' Linux = FreeBSD ']' 174: ++ trap 'on_error $LINENO' ERR 174: ++ trap on_exit EXIT @@ -11948,6 +11950,11 @@ 174: + supports_ifunc 174: + is_musl 174: + grep musl +163: + cat +163: + cc -o out/test/x86_64/hidden-archive/d.o -fPIC -c -xc - +174: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +147: + grep 'fn8 () at .*/d.c:6' out/test/x86_64/gdb-index-dwarf5/log +171: + grep -E '^(\S+) \1$' 175: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-export.sh 175: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 175: ++ export LC_ALL=C @@ -11963,26 +11970,43 @@ 175: ++ OBJCOPY=objcopy 175: ++ STRIP=strip 175: ++ QEMU= -175: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-export.sh .sh -150: + readelf -WS out/test/x86_64/gdb-index-split-dwarf/exe -150: + grep -F .gdb_index -150: [40] .gdb_index PROGBITS 0000000000000000 002490 000075 00 0 0 4 -150: + out/test/x86_64/gdb-index-split-dwarf/exe -150: + grep 'Hello world' -174: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +171: + out/test/x86_64/ifunc-alias/exe1 +171: 0x55e7586387a9 0x55e7586387a9 +171: + cc -B. -o out/test/x86_64/ifunc-alias/exe2 out/test/x86_64/ifunc-alias/a.o -no-pie 174: + cc -c -o /dev/null -xc - +147: #1 0x00007ffff7fbc933 in fn8 () at out/test/x86_64/gdb-index-dwarf5/d.c:6 +147: + grep 'fn7 () at .*/d.c:10' out/test/x86_64/gdb-index-dwarf5/log +147: #2 0x00007ffff7fbc944 in fn7 () at out/test/x86_64/gdb-index-dwarf5/d.c:10 +147: + grep 'fn6 () at .*/c.c:4' out/test/x86_64/gdb-index-dwarf5/log +147: #3 0x00007ffff7fbc8fb in fn6 () at out/test/x86_64/gdb-index-dwarf5/c.c:4 +147: + grep 'fn5 () at .*/c.c:8' out/test/x86_64/gdb-index-dwarf5/log +147: #4 0x00007ffff7fbc90c in fn5 () at out/test/x86_64/gdb-index-dwarf5/c.c:8 +147: + grep 'fn4 () at .*/b.c:4' out/test/x86_64/gdb-index-dwarf5/log +147: #5 0x00007ffff7fbc8d9 in fn4 () at out/test/x86_64/gdb-index-dwarf5/b.c:4 +147: + grep 'fn3 () at .*/b.c:8' out/test/x86_64/gdb-index-dwarf5/log +147: #6 0x00007ffff7fbc8ea in fn3 () at out/test/x86_64/gdb-index-dwarf5/b.c:8 +147: + grep 'fn2 () at .*/a.c:4' out/test/x86_64/gdb-index-dwarf5/log +147: #7 0x00007ffff7fbc8b7 in fn2 () at out/test/x86_64/gdb-index-dwarf5/a.c:4 +147: + grep 'fn1 () at .*/a.c:8' out/test/x86_64/gdb-index-dwarf5/log +147: #8 0x00007ffff7fbc8c8 in fn1 () at out/test/x86_64/gdb-index-dwarf5/a.c:8 +147: + on_exit +147: + echo OK +147: OK +147: + exit 0 +164/402 Test #147: x86_64-gdb-index-dwarf5 ............................... Passed 2.05 sec +test 176 + Start 176: x86_64-ifunc-funcptr + +176: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-funcptr.sh" +176: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +176: Environment variables: +176: MACHINE=x86_64 +176: CPU= +176: Test timeout computed to be: 1500 +175: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-export.sh .sh 175: ++ testname=ifunc-export 175: ++ t=out/test/x86_64/ifunc-export 175: ++ mkdir -p out/test/x86_64/ifunc-export -test 177 - Start 177: x86_64-ifunc-noplt - -177: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-noplt.sh" -177: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -177: Environment variables: -177: MACHINE=x86_64 -177: CPU= -177: Test timeout computed to be: 1500 176: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-funcptr.sh 176: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 176: ++ export LC_ALL=C @@ -12002,25 +12026,6 @@ 176: ++ testname=ifunc-funcptr 176: ++ t=out/test/x86_64/ifunc-funcptr 176: ++ mkdir -p out/test/x86_64/ifunc-funcptr -169: + cat -169: + cc -c -fno-PIE -o out/test/x86_64/ifunc-address-equality-exported/c.o -xc - -150: Hello world -150: + on_exit -150: + echo OK -150: OK -150: + exit 0 -172: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -172: + cc -c -o /dev/null -xc - -166/402 Test #150: x86_64-gdb-index-split-dwarf .......................... Passed 0.99 sec -test 178 - Start 178: x86_64-ifunc-static-pie - -178: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-static-pie.sh" -178: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -178: Environment variables: -178: MACHINE=x86_64 -178: CPU= -178: Test timeout computed to be: 1500 176: ++ case $MACHINE in 176: ++ tlsdesc_opt=-mtls-dialect=gnu2 176: +++ uname @@ -12032,7 +12037,48 @@ 176: ++ set -x 176: + supports_ifunc 176: + is_musl +150: + grep -F .gdb_index +150: + readelf -WS out/test/x86_64/gdb-index-split-dwarf/exe +150: [40] .gdb_index PROGBITS 0000000000000000 002490 000075 00 0 0 4 +169: + cc -c -fno-PIE -o out/test/x86_64/ifunc-address-equality-exported/c.o -xc - +169: + cat +150: + grep 'Hello world' +150: + out/test/x86_64/gdb-index-split-dwarf/exe +150: Hello world +150: + on_exit +150: + echo OK +150: OK +150: + exit 0 176: + grep musl +148: + readelf -WS out/test/x86_64/gdb-index-dwarf64/exe2 +148: + grep -F .gdb_index +148: [39] .gdb_index PROGBITS 0000000000000000 002490 000075 00 0 0 4 +148: + grep 'Hello world' +148: + out/test/x86_64/gdb-index-dwarf64/exe2 +148: Hello world +148: + DEBUGINFOD_URLS= +148: + gdb out/test/x86_64/gdb-index-dwarf64/exe2 -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit +175: ++ case $MACHINE in +175: ++ tlsdesc_opt=-mtls-dialect=gnu2 +165/402 Test #150: x86_64-gdb-index-split-dwarf .......................... Passed 1.87 sec +test 177 + Start 177: x86_64-ifunc-noplt + +177: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-noplt.sh" +177: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +177: Environment variables: +177: MACHINE=x86_64 +177: CPU= +177: Test timeout computed to be: 1500 +175: +++ uname +175: ++ '[' Linux = FreeBSD ']' +175: ++ trap 'on_error $LINENO' ERR +175: ++ trap on_exit EXIT +175: ++ echo -n 'Testing ifunc-export ... ' +175: Testing ifunc-export ... ++ set -o pipefail +175: ++ set -x +175: + supports_ifunc +175: + is_musl 177: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-noplt.sh 177: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 177: ++ export LC_ALL=C @@ -12048,40 +12094,56 @@ 177: ++ OBJCOPY=objcopy 177: ++ STRIP=strip 177: ++ QEMU= -175: ++ case $MACHINE in -175: ++ tlsdesc_opt=-mtls-dialect=gnu2 -175: +++ uname -175: ++ '[' Linux = FreeBSD ']' -175: ++ trap 'on_error $LINENO' ERR -175: ++ trap on_exit EXIT -175: ++ echo -n 'Testing ifunc-export ... ' -175: Testing ifunc-export ... ++ set -o pipefail -175: ++ set -x -175: + supports_ifunc -175: + is_musl +176: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +176: + cc -c -o /dev/null -xc - 175: + grep musl 177: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-noplt.sh .sh 177: ++ testname=ifunc-noplt 177: ++ t=out/test/x86_64/ifunc-noplt 177: ++ mkdir -p out/test/x86_64/ifunc-noplt -178: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-static-pie.sh -176: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -177: ++ case $MACHINE in -176: + cc -c -o /dev/null -xc - +175: + cc -c -o /dev/null -xc - 175: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +177: ++ case $MACHINE in 177: ++ tlsdesc_opt=-mtls-dialect=gnu2 -175: + cc -c -o /dev/null -xc - +163: + cc -B. -o out/test/x86_64/hidden-archive/exe out/test/x86_64/hidden-archive/d.o out/test/x86_64/hidden-archive/c.so out/test/x86_64/hidden-archive/b.a +172: + cc -B. -o out/test/x86_64/ifunc-dlopen/c.so out/test/x86_64/ifunc-dlopen/b.o -shared +166: + cc -B. -o out/test/x86_64/icf-safe/exe2 -Wl,-icf=safe out/test/x86_64/icf-safe/a.o out/test/x86_64/icf-safe/c.o +171: + grep -E '^(\S+) \1$' +171: + out/test/x86_64/ifunc-alias/exe2 +171: 0x2015f0 0x2015f0 +171: + on_exit +171: + echo OK +171: OK +171: + exit 0 177: +++ uname +170: + cc -c -fno-PIE -o out/test/x86_64/ifunc-address-equality/c.o -xc - +166/402 Test #171: x86_64-ifunc-alias .................................... Passed 0.39 sec +test 178 + Start 178: x86_64-ifunc-static-pie + +178: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-static-pie.sh" +178: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +178: Environment variables: +178: MACHINE=x86_64 +178: CPU= +178: Test timeout computed to be: 1500 +170: + cat +173: + cat +173: + cc -fPIC -o out/test/x86_64/ifunc-dso/b.o -c -xc - 177: ++ '[' Linux = FreeBSD ']' -178: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -178: ++ export LC_ALL=C -178: ++ LC_ALL=C -178: ++ '[' -z x86_64 ']' 177: ++ trap 'on_error $LINENO' ERR 177: ++ trap on_exit EXIT 177: ++ echo -n 'Testing ifunc-noplt ... ' 177: Testing ifunc-noplt ... ++ set -o pipefail 177: ++ set -x +177: + supports_ifunc +177: + is_musl +177: + grep musl +178: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-static-pie.sh +178: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +178: ++ export LC_ALL=C +178: ++ LC_ALL=C +178: ++ '[' -z x86_64 ']' 178: ++ '[' -z '' ']' 178: ++ TESTDIR=out/test/x86_64 178: ++ CC=cc @@ -12092,26 +12154,27 @@ 178: ++ OBJCOPY=objcopy 178: ++ STRIP=strip 178: ++ QEMU= -177: + supports_ifunc -177: + is_musl +177: + cc -c -o /dev/null -xc - +177: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' 178: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-static-pie.sh .sh -177: + grep musl -148: + readelf -WS out/test/x86_64/gdb-index-dwarf64/exe2 -148: + grep -F .gdb_index 178: ++ testname=ifunc-static-pie 178: ++ t=out/test/x86_64/ifunc-static-pie 178: ++ mkdir -p out/test/x86_64/ifunc-static-pie -148: [39] .gdb_index PROGBITS 0000000000000000 002490 000075 00 0 0 4 -148: + out/test/x86_64/gdb-index-dwarf64/exe2 -148: + grep 'Hello world' +169: + cc -B. -o out/test/x86_64/ifunc-address-equality-exported/exe out/test/x86_64/ifunc-address-equality-exported/c.o out/test/x86_64/ifunc-address-equality-exported/b.so -no-pie +172: + cc -B. -o out/test/x86_64/ifunc-dlopen/exe out/test/x86_64/ifunc-dlopen/a.o out/test/x86_64/ifunc-dlopen/c.so -no-pie -ldl +166: + out/test/x86_64/icf-safe/exe2 +174: + cat +174: + cc -o out/test/x86_64/ifunc-dynamic/a.o -c -xc - +176: + cc -c -fPIC -o out/test/x86_64/ifunc-funcptr/a.o -c -xc - +176: + cat +175: + cat +166: + not grep foo2 +166: + grep foo2 +175: + cc -c -fPIC -o out/test/x86_64/ifunc-export/a.o -xc - 178: ++ case $MACHINE in 178: ++ tlsdesc_opt=-mtls-dialect=gnu2 -177: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -177: + cc -c -o /dev/null -xc - +163: + out/test/x86_64/hidden-archive/exe 178: +++ uname -148: Hello world -148: + DEBUGINFOD_URLS= -148: + gdb out/test/x86_64/gdb-index-dwarf64/exe2 -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit 178: ++ '[' Linux = FreeBSD ']' 178: ++ trap 'on_error $LINENO' ERR 178: ++ trap on_exit EXIT @@ -12119,14 +12182,13 @@ 178: Testing ifunc-static-pie ... ++ set -o pipefail 178: ++ set -x 178: + test_cflags -static-pie +166: + return 0 +166: + on_exit +166: + echo OK +166: OK +166: + exit 0 +167/402 Test #166: x86_64-icf-safe ....................................... Passed 0.67 sec 178: + echo 'int main() {}' -178: + cc -B. -static-pie -o /dev/null -xc - -130: + out/test/x86_64/exception/exe12 -130: + on_exit -130: + echo OK -130: OK -130: + exit 0 -167/402 Test #130: x86_64-exception ...................................... Passed 1.63 sec test 179 Start 179: x86_64-ifunc-static @@ -12136,23 +12198,26 @@ 179: MACHINE=x86_64 179: CPU= 179: Test timeout computed to be: 1500 -170: + cat -170: + cc -c -fno-PIE -o out/test/x86_64/ifunc-address-equality/c.o -xc - -174: + cat -174: + cc -o out/test/x86_64/ifunc-dynamic/a.o -c -xc - -173: + cat -173: + cc -fPIC -o out/test/x86_64/ifunc-dso/a.o -c -xc - -177: + cat -177: + cc -fPIC -o out/test/x86_64/ifunc-noplt/a.o -c -xc - -fno-plt -172: + cat -172: + cc -fno-PIE -o out/test/x86_64/ifunc-dlopen/a.o -c -xc - -169: + cc -B. -o out/test/x86_64/ifunc-address-equality-exported/exe out/test/x86_64/ifunc-address-equality-exported/c.o out/test/x86_64/ifunc-address-equality-exported/b.so -no-pie +178: + cc -B. -static-pie -o /dev/null -xc - +163: + on_exit +163: + echo OK +163: OK +163: + exit 0 +168/402 Test #163: x86_64-hidden-archive ................................. Passed 0.72 sec +test 180 + Start 180: x86_64-image-base + +180: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/image-base.sh" +180: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +180: Environment variables: +180: MACHINE=x86_64 +180: CPU= +180: Test timeout computed to be: 1500 179: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-static.sh 179: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 179: ++ export LC_ALL=C 179: ++ LC_ALL=C 179: ++ '[' -z x86_64 ']' -171: + cc -B. -o out/test/x86_64/ifunc-alias/exe1 out/test/x86_64/ifunc-alias/a.o -pie 179: ++ '[' -z '' ']' 179: ++ TESTDIR=out/test/x86_64 179: ++ CC=cc @@ -12163,71 +12228,11 @@ 179: ++ OBJCOPY=objcopy 179: ++ STRIP=strip 179: ++ QEMU= -179: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-static.sh .sh -176: + cat -176: + cc -c -fPIC -o out/test/x86_64/ifunc-funcptr/a.o -c -xc - -179: ++ testname=ifunc-static -179: ++ t=out/test/x86_64/ifunc-static -179: ++ mkdir -p out/test/x86_64/ifunc-static -175: + cat -179: ++ case $MACHINE in -179: ++ tlsdesc_opt=-mtls-dialect=gnu2 -175: + cc -c -fPIC -o out/test/x86_64/ifunc-export/a.o -xc - -179: +++ uname -179: ++ '[' Linux = FreeBSD ']' -179: ++ trap 'on_error $LINENO' ERR -179: ++ trap on_exit EXIT -179: ++ echo -n 'Testing ifunc-static ... ' -179: Testing ifunc-static ... ++ set -o pipefail -179: ++ set -x -179: + test_cflags -static -179: + echo 'int main() {}' -179: + cc -B. -static -o /dev/null -xc - -173: + cat -173: + cc -fPIC -o out/test/x86_64/ifunc-dso/b.o -c -xc - -170: + cc -B. -o out/test/x86_64/ifunc-address-equality/exe1 out/test/x86_64/ifunc-address-equality/a.o out/test/x86_64/ifunc-address-equality/b.o out/test/x86_64/ifunc-address-equality/c.o -no-pie -176: + cat -176: + cc -c -fPIC -o out/test/x86_64/ifunc-funcptr/b.o -xc - -172: + cat -172: + cc -fPIC -o out/test/x86_64/ifunc-dlopen/b.o -c -xc - -169: + out/test/x86_64/ifunc-address-equality-exported/exe -169: + grep -E '^(\S+) \1' -177: + cc -B. -o out/test/x86_64/ifunc-noplt/exe1 out/test/x86_64/ifunc-noplt/a.o -pie -169: 0x2016d0 0x2016d0 -169: + on_exit -169: + echo OK -169: OK -169: + exit 0 -171: + out/test/x86_64/ifunc-alias/exe1 -174: + cc -B. -o out/test/x86_64/ifunc-dynamic/exe1 out/test/x86_64/ifunc-dynamic/a.o -Wl,-z,lazy -171: + grep -E '^(\S+) \1$' -168/402 Test #169: x86_64-ifunc-address-equality-exported ................ Passed 0.39 sec -test 180 - Start 180: x86_64-image-base - -180: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/image-base.sh" -180: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -180: Environment variables: -180: MACHINE=x86_64 -180: CPU= -180: Test timeout computed to be: 1500 -171: 0x56229b8447a9 0x56229b8447a9 -171: + cc -B. -o out/test/x86_64/ifunc-alias/exe2 out/test/x86_64/ifunc-alias/a.o -no-pie -178: + supports_ifunc -178: + is_musl -178: + grep musl -175: + cc -B. -shared -o out/test/x86_64/ifunc-export/b.so out/test/x86_64/ifunc-export/a.o -170: + out/test/x86_64/ifunc-address-equality/exe1 -170: + grep -E '^(\S+) \1 (\S+) \2' 180: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/image-base.sh -178: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -170: 0x201700 0x201700 0x201708 0x201708 -178: + cc -c -o /dev/null -xc - 180: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 180: ++ export LC_ALL=C 180: ++ LC_ALL=C 180: ++ '[' -z x86_64 ']' -170: + readelf --dynamic out/test/x86_64/ifunc-address-equality/exe1 180: ++ '[' -z '' ']' 180: ++ TESTDIR=out/test/x86_64 180: ++ CC=cc @@ -12238,27 +12243,10 @@ 180: ++ OBJCOPY=objcopy 180: ++ STRIP=strip 180: ++ QEMU= -170: + not grep TEXTREL -170: + grep TEXTREL 180: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/image-base.sh .sh 180: ++ testname=image-base 180: ++ t=out/test/x86_64/image-base 180: ++ mkdir -p out/test/x86_64/image-base -170: + return 0 -170: + on_exit -170: + echo OK -170: OK -170: + exit 0 -169/402 Test #170: x86_64-ifunc-address-equality ......................... Passed 0.36 sec -test 181 - Start 181: x86_64-init-array-priorities - -181: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/init-array-priorities.sh" -181: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -181: Environment variables: -181: MACHINE=x86_64 -181: CPU= -181: Test timeout computed to be: 1500 180: ++ case $MACHINE in 180: ++ tlsdesc_opt=-mtls-dialect=gnu2 180: +++ uname @@ -12268,8 +12256,39 @@ 180: ++ echo -n 'Testing image-base ... ' 180: Testing image-base ... ++ set -o pipefail 180: ++ set -x -180: + cc -o out/test/x86_64/image-base/a.o -c -xc - 180: + cat +180: + cc -o out/test/x86_64/image-base/a.o -c -xc - +169: + grep -E '^(\S+) \1' +179: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/ifunc-static.sh .sh +169: + out/test/x86_64/ifunc-address-equality-exported/exe +179: ++ testname=ifunc-static +179: ++ t=out/test/x86_64/ifunc-static +179: ++ mkdir -p out/test/x86_64/ifunc-static +169: 0x2016d0 0x2016d0 +169: + on_exit +169: + echo OK +169: OK +169: + exit 0 +179: ++ case $MACHINE in +179: ++ tlsdesc_opt=-mtls-dialect=gnu2 +169/402 Test #169: x86_64-ifunc-address-equality-exported ................ Passed 0.64 sec +test 181 + Start 181: x86_64-init-array-priorities + +181: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/init-array-priorities.sh" +181: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +181: Environment variables: +181: MACHINE=x86_64 +181: CPU= +181: Test timeout computed to be: 1500 +179: +++ uname +179: ++ '[' Linux = FreeBSD ']' +179: ++ trap 'on_error $LINENO' ERR +179: ++ trap on_exit EXIT +179: ++ echo -n 'Testing ifunc-static ... ' +179: Testing ifunc-static ... ++ set -o pipefail +179: ++ set -x +179: + test_cflags -static 181: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/init-array-priorities.sh 181: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 181: ++ export LC_ALL=C @@ -12285,38 +12304,34 @@ 181: ++ OBJCOPY=objcopy 181: ++ STRIP=strip 181: ++ QEMU= +179: + echo 'int main() {}' +179: + cc -B. -static -o /dev/null -xc - 181: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/init-array-priorities.sh .sh 181: ++ testname=init-array-priorities 181: ++ t=out/test/x86_64/init-array-priorities 181: ++ mkdir -p out/test/x86_64/init-array-priorities -175: + readelf --dyn-syms out/test/x86_64/ifunc-export/b.so -172: + cc -B. -o out/test/x86_64/ifunc-dlopen/c.so out/test/x86_64/ifunc-dlopen/b.o -shared -173: + cc -B. -o out/test/x86_64/ifunc-dso/c.so out/test/x86_64/ifunc-dso/b.o -shared 181: ++ case $MACHINE in 181: ++ tlsdesc_opt=-mtls-dialect=gnu2 181: +++ uname -174: + out/test/x86_64/ifunc-dynamic/exe1 -174: + grep 'Hello world' -174: Hello world -175: + grep -E '(IFUNC|: 10)\s+GLOBAL DEFAULT.* foobar' -175: 6: 00000000000016ef 13 : 10 GLOBAL DEFAULT 16 foobar -175: + on_exit -175: + echo OK -175: OK -175: + exit 0 -171: + out/test/x86_64/ifunc-alias/exe2 -171: + grep -E '^(\S+) \1$' -176: + cat -176: + cc -c -fPIC -o out/test/x86_64/ifunc-funcptr/c.o -xc - -177: + out/test/x86_64/ifunc-noplt/exe1 -178: + cat -174: + cc -B. -o out/test/x86_64/ifunc-dynamic/exe2 out/test/x86_64/ifunc-dynamic/a.o -Wl,-z,now -170/402 Test #175: x86_64-ifunc-export ................................... Passed 0.22 sec -171: 0x2015f0 0x2015f0 -171: + on_exit -171: + echo OK -171: OK -177: + grep 'Hello world' +181: ++ '[' Linux = FreeBSD ']' +181: ++ trap 'on_error $LINENO' ERR +181: ++ trap on_exit EXIT +181: ++ echo -n 'Testing init-array-priorities ... ' +181: Testing init-array-priorities ... ++ set -o pipefail +181: ++ set -x +181: + is_musl +181: + grep musl +172: + grep 'foo foo' +172: + out/test/x86_64/ifunc-dlopen/exe +172: foo foo 0x201640 0x201640 +172: + on_exit +172: + echo OK +172: OK +172: + exit 0 +175: + cc -B. -shared -o out/test/x86_64/ifunc-export/b.so out/test/x86_64/ifunc-export/a.o +174: + cc -B. -o out/test/x86_64/ifunc-dynamic/exe1 out/test/x86_64/ifunc-dynamic/a.o -Wl,-z,lazy +170: + cc -B. -o out/test/x86_64/ifunc-address-equality/exe1 out/test/x86_64/ifunc-address-equality/a.o out/test/x86_64/ifunc-address-equality/b.o out/test/x86_64/ifunc-address-equality/c.o -no-pie +170/402 Test #172: x86_64-ifunc-dlopen ................................... Passed 0.54 sec test 182 Start 182: x86_64-init-in-dso @@ -12326,29 +12341,14 @@ 182: MACHINE=x86_64 182: CPU= 182: Test timeout computed to be: 1500 -171: + exit 0 -177: Hello world -177: + cc -B. -o out/test/x86_64/ifunc-noplt/exe2 out/test/x86_64/ifunc-noplt/a.o -no-pie -178: + cc -o out/test/x86_64/ifunc-static-pie/a.o -c -xc - -fPIC -181: ++ '[' Linux = FreeBSD ']' -181: ++ trap 'on_error $LINENO' ERR -181: ++ trap on_exit EXIT -181: ++ echo -n 'Testing init-array-priorities ... ' -181: Testing init-array-priorities ... ++ set -o pipefail -181: ++ set -x -181: + is_musl -181: + grep musl -171/402 Test #171: x86_64-ifunc-alias .................................... Passed 0.32 sec +173: + cc -B. -o out/test/x86_64/ifunc-dso/c.so out/test/x86_64/ifunc-dso/b.o -shared +176: + cat +176: + cc -c -fPIC -o out/test/x86_64/ifunc-funcptr/b.o -xc - +180: + cc -B. -no-pie -o out/test/x86_64/image-base/exe1 out/test/x86_64/image-base/a.o -Wl,--image-base=0x8000000 +177: + cc -fPIC -o out/test/x86_64/ifunc-noplt/a.o -c -xc - -fno-plt +177: + cat +181: + cat 182: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/init-in-dso.sh -test 183 - Start 183: x86_64-init - -183: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/init.sh" -183: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -183: Environment variables: -183: MACHINE=x86_64 -183: CPU= -183: Test timeout computed to be: 1500 182: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 182: ++ export LC_ALL=C 182: ++ LC_ALL=C @@ -12363,62 +12363,62 @@ 182: ++ OBJCOPY=objcopy 182: ++ STRIP=strip 182: ++ QEMU= -181: + cat 181: + cc -c -o out/test/x86_64/init-array-priorities/a.o -xc - 182: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/init-in-dso.sh .sh 182: ++ testname=init-in-dso 182: ++ t=out/test/x86_64/init-in-dso 182: ++ mkdir -p out/test/x86_64/init-in-dso -183: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/init.sh -183: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 182: ++ case $MACHINE in 182: ++ tlsdesc_opt=-mtls-dialect=gnu2 -183: ++ export LC_ALL=C -183: ++ LC_ALL=C -183: ++ '[' -z x86_64 ']' -183: ++ '[' -z '' ']' -183: ++ TESTDIR=out/test/x86_64 -183: ++ CC=cc -183: ++ CXX=c++ -183: ++ GCC=gcc -183: ++ GXX=g++ -183: ++ OBJDUMP=objdump -183: ++ OBJCOPY=objcopy -183: ++ STRIP=strip -183: ++ QEMU= +173: + grep -E '(IFUNC|: 10).*foobar' 182: +++ uname -183: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/init.sh .sh -183: ++ testname=init -183: ++ t=out/test/x86_64/init -183: ++ mkdir -p out/test/x86_64/init +173: + readelf -W --dyn-syms out/test/x86_64/ifunc-dso/c.so 182: ++ '[' Linux = FreeBSD ']' 182: ++ trap 'on_error $LINENO' ERR 182: ++ trap on_exit EXIT 182: ++ echo -n 'Testing init-in-dso ... ' 182: Testing init-in-dso ... ++ set -o pipefail 182: ++ set -x -182: + cc -shared -o out/test/x86_64/init-in-dso/a.so -xc - +173: 6: 000000000000167f 13 : 10 GLOBAL DEFAULT 16 foobar +173: + cc -B. -o out/test/x86_64/ifunc-dso/exe out/test/x86_64/ifunc-dso/a.o out/test/x86_64/ifunc-dso/c.so 182: + cat -183: ++ case $MACHINE in -183: ++ tlsdesc_opt=-mtls-dialect=gnu2 -183: +++ uname -183: ++ '[' Linux = FreeBSD ']' -183: ++ trap 'on_error $LINENO' ERR -183: ++ trap on_exit EXIT -183: ++ echo -n 'Testing init ... ' -183: Testing init ... ++ set -o pipefail -183: ++ set -x -183: + cc -o out/test/x86_64/init/a.o -c -xc - -177: + out/test/x86_64/ifunc-noplt/exe2 -183: + cat -177: + grep 'Hello world' -177: Hello world -177: + on_exit -177: + echo OK -177: OK -177: + exit 0 -172/402 Test #177: x86_64-ifunc-noplt .................................... Passed 0.24 sec -172: + cc -B. -o out/test/x86_64/ifunc-dlopen/exe out/test/x86_64/ifunc-dlopen/a.o out/test/x86_64/ifunc-dlopen/c.so -no-pie -ldl +182: + cc -shared -o out/test/x86_64/init-in-dso/a.so -xc - +175: + readelf --dyn-syms out/test/x86_64/ifunc-export/b.so +180: + grep 'Hello world' +180: + out/test/x86_64/image-base/exe1 +175: + grep -E '(IFUNC|: 10)\s+GLOBAL DEFAULT.* foobar' +180: Hello world +175: 6: 00000000000016ef 13 : 10 GLOBAL DEFAULT 16 foobar +175: + on_exit +175: + echo OK +175: OK +175: + exit 0 +171/402 Test #175: x86_64-ifunc-export ................................... Passed 0.44 sec +test 183 + Start 183: x86_64-init + +183: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/init.sh" +183: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +183: Environment variables: +183: MACHINE=x86_64 +183: CPU= +183: Test timeout computed to be: 1500 +170: + grep -E '^(\S+) \1 (\S+) \2' +170: + out/test/x86_64/ifunc-address-equality/exe1 +170: 0x201700 0x201700 0x201708 0x201708 +170: + readelf --dynamic out/test/x86_64/ifunc-address-equality/exe1 +170: + not grep TEXTREL +170: + grep TEXTREL +170: + return 0 +170: + on_exit +170: + echo OK +170: OK +170: + exit 0 +180: + readelf -W --sections out/test/x86_64/image-base/exe1 +180: + grep -E '.interp\s+PROGBITS\s+0*8000...\b' +180: [ 1] .interp PROGBITS 00000000080002e0 0002e0 00001c 00 A 0 0 1 +174: + out/test/x86_64/ifunc-dynamic/exe1 +172/402 Test #170: x86_64-ifunc-address-equality ......................... Passed 0.72 sec test 184 Start 184: x86_64-initfirst @@ -12428,29 +12428,38 @@ 184: MACHINE=x86_64 184: CPU= 184: Test timeout computed to be: 1500 -174: + out/test/x86_64/ifunc-dynamic/exe2 174: + grep 'Hello world' 174: Hello world -174: + on_exit -174: + echo OK -174: OK -174: + exit 0 -173/402 Test #174: x86_64-ifunc-dynamic .................................. Passed 0.28 sec -test 185 - Start 185: x86_64-interpose - -185: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/interpose.sh" -185: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -185: Environment variables: -185: MACHINE=x86_64 -185: CPU= -185: Test timeout computed to be: 1500 +174: + cc -B. -o out/test/x86_64/ifunc-dynamic/exe2 out/test/x86_64/ifunc-dynamic/a.o -Wl,-z,now +176: + cat +176: + cc -c -fPIC -o out/test/x86_64/ifunc-funcptr/c.o -xc - +180: + cc -o out/test/x86_64/image-base/b.o -c -xc - +180: + cat +173: + out/test/x86_64/ifunc-dso/exe +177: + cc -B. -o out/test/x86_64/ifunc-noplt/exe1 out/test/x86_64/ifunc-noplt/a.o -pie +173: + grep 'Hello world' +183: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/init.sh +183: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +183: ++ export LC_ALL=C +183: ++ LC_ALL=C +183: ++ '[' -z x86_64 ']' +183: ++ '[' -z '' ']' +183: ++ TESTDIR=out/test/x86_64 +183: ++ CC=cc +183: ++ CXX=c++ +183: ++ GCC=gcc +183: ++ GXX=g++ +183: ++ OBJDUMP=objdump +183: ++ OBJCOPY=objcopy +183: ++ STRIP=strip +183: ++ QEMU= +181: + cat +173: Hello world 184: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/initfirst.sh 184: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 184: ++ export LC_ALL=C 184: ++ LC_ALL=C 184: ++ '[' -z x86_64 ']' -185: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/interpose.sh 184: ++ '[' -z '' ']' 184: ++ TESTDIR=out/test/x86_64 184: ++ CC=cc @@ -12461,67 +12470,79 @@ 184: ++ OBJCOPY=objcopy 184: ++ STRIP=strip 184: ++ QEMU= -173: + readelf -W --dyn-syms out/test/x86_64/ifunc-dso/c.so -173: + grep -E '(IFUNC|: 10).*foobar' +181: + cc -c -o out/test/x86_64/init-array-priorities/b.o -xc - +173: + on_exit +173: + echo OK +173: OK +173: + exit 0 +173/402 Test #173: x86_64-ifunc-dso ...................................... Passed 0.62 sec +test 185 + Start 185: x86_64-interpose + +185: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/interpose.sh" +185: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +185: Environment variables: +185: MACHINE=x86_64 +185: CPU= +185: Test timeout computed to be: 1500 +183: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/init.sh .sh +183: ++ testname=init +183: ++ t=out/test/x86_64/init +183: ++ mkdir -p out/test/x86_64/init +183: ++ case $MACHINE in +183: ++ tlsdesc_opt=-mtls-dialect=gnu2 +183: +++ uname +183: ++ '[' Linux = FreeBSD ']' +183: ++ trap 'on_error $LINENO' ERR +183: ++ trap on_exit EXIT +183: ++ echo -n 'Testing init ... ' +183: Testing init ... ++ set -o pipefail +183: ++ set -x +183: + cat +148: + grep 'fn8 () at .*/d.c:6' out/test/x86_64/gdb-index-dwarf64/log2 +148: #1 0x00007ffff7fbc933 in fn8 () at out/test/x86_64/gdb-index-dwarf64/d.c:6 +148: + grep 'fn7 () at .*/d.c:10' out/test/x86_64/gdb-index-dwarf64/log2 +148: #2 0x00007ffff7fbc944 in fn7 () at out/test/x86_64/gdb-index-dwarf64/d.c:10 +148: + grep 'fn6 () at .*/c.c:4' out/test/x86_64/gdb-index-dwarf64/log2 184: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/initfirst.sh .sh -185: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -185: ++ export LC_ALL=C -185: ++ LC_ALL=C -185: ++ '[' -z x86_64 ']' -185: ++ '[' -z '' ']' -185: ++ TESTDIR=out/test/x86_64 -185: ++ CC=cc -185: ++ CXX=c++ -185: ++ GCC=gcc -185: ++ GXX=g++ -185: ++ OBJDUMP=objdump -185: ++ OBJCOPY=objcopy -185: ++ STRIP=strip -185: ++ QEMU= -185: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/interpose.sh .sh 184: ++ testname=initfirst 184: ++ t=out/test/x86_64/initfirst 184: ++ mkdir -p out/test/x86_64/initfirst -173: 6: 000000000000167f 13 : 10 GLOBAL DEFAULT 16 foobar -173: + cc -B. -o out/test/x86_64/ifunc-dso/exe out/test/x86_64/ifunc-dso/a.o out/test/x86_64/ifunc-dso/c.so -185: ++ testname=interpose -185: ++ t=out/test/x86_64/interpose -185: ++ mkdir -p out/test/x86_64/interpose 184: ++ case $MACHINE in 184: ++ tlsdesc_opt=-mtls-dialect=gnu2 184: +++ uname 184: ++ '[' Linux = FreeBSD ']' -185: ++ case $MACHINE in -185: ++ tlsdesc_opt=-mtls-dialect=gnu2 184: ++ trap 'on_error $LINENO' ERR 184: ++ trap on_exit EXIT 184: ++ echo -n 'Testing initfirst ... ' 184: Testing initfirst ... ++ set -o pipefail 184: ++ set -x -185: +++ uname 184: + cat -184: + cc -c -fPIC -o out/test/x86_64/initfirst/a.o -xc - -185: ++ '[' Linux = FreeBSD ']' +178: + supports_ifunc +178: + is_musl 179: + supports_ifunc 179: + is_musl -185: ++ trap 'on_error $LINENO' ERR -185: ++ trap on_exit EXIT -185: ++ echo -n 'Testing interpose ... ' -185: Testing interpose ... ++ set -o pipefail -185: ++ set -x -185: + cat +183: + cc -o out/test/x86_64/init/a.o -c -xc - +148: #3 0x00007ffff7fbc8fb in fn6 () at out/test/x86_64/gdb-index-dwarf64/c.c:4 +148: + grep 'fn5 () at .*/c.c:8' out/test/x86_64/gdb-index-dwarf64/log2 +148: #4 0x00007ffff7fbc90c in fn5 () at out/test/x86_64/gdb-index-dwarf64/c.c:8 +148: + grep 'fn4 () at .*/b.c:4' out/test/x86_64/gdb-index-dwarf64/log2 179: + grep musl -185: + cc -c -fPIC -o out/test/x86_64/interpose/a.o -xc - -179: + cc -c -o /dev/null -xc - -179: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -172: + out/test/x86_64/ifunc-dlopen/exe -172: + grep 'foo foo' -172: foo foo 0x201640 0x201640 -172: + on_exit -172: + echo OK -172: OK -172: + exit 0 -174/402 Test #172: x86_64-ifunc-dlopen ................................... Passed 0.33 sec +174: + grep 'Hello world' +148: #5 0x00007ffff7fbc8d9 in fn4 () at out/test/x86_64/gdb-index-dwarf64/b.c:4 +148: + grep 'fn3 () at .*/b.c:8' out/test/x86_64/gdb-index-dwarf64/log2 +148: #6 0x00007ffff7fbc8ea in fn3 () at out/test/x86_64/gdb-index-dwarf64/b.c:8 +148: + grep 'fn2 () at .*/a.c:4' out/test/x86_64/gdb-index-dwarf64/log2 +178: + grep musl +148: #7 0x00007ffff7fbc8b7 in fn2 () at out/test/x86_64/gdb-index-dwarf64/a.c:4 +148: + grep 'fn1 () at .*/a.c:8' out/test/x86_64/gdb-index-dwarf64/log2 +148: #8 0x00007ffff7fbc8c8 in fn1 () at out/test/x86_64/gdb-index-dwarf64/a.c:8 +184: + cc -c -fPIC -o out/test/x86_64/initfirst/a.o -xc - +148: + on_exit +148: + echo OK +148: OK +148: + exit 0 +174/402 Test #148: x86_64-gdb-index-dwarf64 .............................. Passed 2.45 sec test 186 Start 186: x86_64-invalid-version-script @@ -12531,33 +12552,28 @@ 186: MACHINE=x86_64 186: CPU= 186: Test timeout computed to be: 1500 -186: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/invalid-version-script.sh -186: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -173: + out/test/x86_64/ifunc-dso/exe -186: ++ export LC_ALL=C -186: ++ LC_ALL=C -186: ++ '[' -z x86_64 ']' -186: ++ '[' -z '' ']' -186: ++ TESTDIR=out/test/x86_64 -173: + grep 'Hello world' -186: ++ CC=cc -186: ++ CXX=c++ -186: ++ GCC=gcc -186: ++ GXX=g++ -186: ++ OBJDUMP=objdump -186: ++ OBJCOPY=objcopy -186: ++ STRIP=strip -186: ++ QEMU= -186: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/invalid-version-script.sh .sh -173: Hello world -173: + on_exit -186: ++ testname=invalid-version-script -186: ++ t=out/test/x86_64/invalid-version-script -173: + echo OK -173: OK -173: + exit 0 -186: ++ mkdir -p out/test/x86_64/invalid-version-script -175/402 Test #173: x86_64-ifunc-dso ...................................... Passed 0.32 sec +185: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/interpose.sh +185: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +185: ++ export LC_ALL=C +185: ++ LC_ALL=C +185: ++ '[' -z x86_64 ']' +185: ++ '[' -z '' ']' +185: ++ TESTDIR=out/test/x86_64 +185: ++ CC=cc +185: ++ CXX=c++ +185: ++ GCC=gcc +185: ++ GXX=g++ +185: ++ OBJDUMP=objdump +185: ++ OBJCOPY=objcopy +185: ++ STRIP=strip +185: ++ QEMU= +174: + out/test/x86_64/ifunc-dynamic/exe2 +174: Hello world +174: + on_exit +174: + echo OK +174: OK +174: + exit 0 +175/402 Test #174: x86_64-ifunc-dynamic .................................. Passed 0.56 sec test 187 Start 187: x86_64-issue646 @@ -12567,18 +12583,20 @@ 187: MACHINE=x86_64 187: CPU= 187: Test timeout computed to be: 1500 -186: ++ case $MACHINE in -186: ++ tlsdesc_opt=-mtls-dialect=gnu2 -186: +++ uname -186: ++ '[' Linux = FreeBSD ']' -186: ++ trap 'on_error $LINENO' ERR -186: ++ trap on_exit EXIT -186: ++ echo -n 'Testing invalid-version-script ... ' -186: Testing invalid-version-script ... ++ set -o pipefail -186: ++ set -x +177: + grep 'Hello world' +177: + out/test/x86_64/ifunc-noplt/exe1 +177: Hello world +177: + cc -B. -o out/test/x86_64/ifunc-noplt/exe2 out/test/x86_64/ifunc-noplt/a.o -no-pie +179: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +179: + cc -c -o /dev/null -xc - +185: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/interpose.sh .sh +178: + cc -c -o /dev/null -xc - +178: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' 187: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/issue646.sh -186: + echo 'int main() {}' -186: + cc -c -o out/test/x86_64/invalid-version-script/a.o -xc - +186: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/invalid-version-script.sh +185: ++ testname=interpose +185: ++ t=out/test/x86_64/interpose +185: ++ mkdir -p out/test/x86_64/interpose 187: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 187: ++ export LC_ALL=C 187: ++ LC_ALL=C @@ -12594,6 +12612,20 @@ 187: ++ STRIP=strip 187: ++ QEMU= 187: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/issue646.sh .sh +186: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +186: ++ export LC_ALL=C +186: ++ LC_ALL=C +186: ++ '[' -z x86_64 ']' +186: ++ '[' -z '' ']' +186: ++ TESTDIR=out/test/x86_64 +186: ++ CC=cc +186: ++ CXX=c++ +186: ++ GCC=gcc +186: ++ GXX=g++ +186: ++ OBJDUMP=objdump +186: ++ OBJCOPY=objcopy +186: ++ STRIP=strip +186: ++ QEMU= 187: ++ testname=issue646 187: ++ t=out/test/x86_64/issue646 187: ++ mkdir -p out/test/x86_64/issue646 @@ -12609,45 +12641,40 @@ 187: + '[' x86_64 = sh4aeb ']' 187: + cat 187: + c++ -o out/test/x86_64/issue646/a.o -c -xc++ - -176: + cc -B. -o out/test/x86_64/ifunc-funcptr/exe1 out/test/x86_64/ifunc-funcptr/a.o out/test/x86_64/ifunc-funcptr/b.o out/test/x86_64/ifunc-funcptr/c.o -pie -183: + cc -B. -o out/test/x86_64/init/exe out/test/x86_64/init/a.o -Wl,-init,foo -185: + cc -B. -shared -o out/test/x86_64/interpose/b.so out/test/x86_64/interpose/a.o -Wl,-z,interpose -180: + cc -B. -no-pie -o out/test/x86_64/image-base/exe1 out/test/x86_64/image-base/a.o -Wl,--image-base=0x8000000 -184: + cc -B. -shared -o out/test/x86_64/initfirst/b.so out/test/x86_64/initfirst/a.o -Wl,-z,initfirst -178: + cc -B. -o out/test/x86_64/ifunc-static-pie/exe2 out/test/x86_64/ifunc-static-pie/a.o -static-pie -179: + cat -179: + cc -o out/test/x86_64/ifunc-static/a.o -c -xc - -181: + cc -c -o out/test/x86_64/init-array-priorities/b.o -xc - -181: + cat -148: + grep 'fn8 () at .*/d.c:6' out/test/x86_64/gdb-index-dwarf64/log2 -148: #1 0x00007ffff7fbc933 in fn8 () at out/test/x86_64/gdb-index-dwarf64/d.c:6 -148: + grep 'fn7 () at .*/d.c:10' out/test/x86_64/gdb-index-dwarf64/log2 -148: #2 0x00007ffff7fbc944 in fn7 () at out/test/x86_64/gdb-index-dwarf64/d.c:10 -186: + echo 'VER1 { foo[12; };' -186: + not cc -B. -shared -o out/test/x86_64/invalid-version-script/c.so -Wl,-version-script,out/test/x86_64/invalid-version-script/b.ver out/test/x86_64/invalid-version-script/a.o -179: + cc -B. -o out/test/x86_64/ifunc-static/exe out/test/x86_64/ifunc-static/a.o -static -186: + grep 'invalid version pattern' -181: + cat -181: + cc -c -o out/test/x86_64/init-array-priorities/c.o -xc - -148: + grep 'fn6 () at .*/c.c:4' out/test/x86_64/gdb-index-dwarf64/log2 -148: #3 0x00007ffff7fbc8fb in fn6 () at out/test/x86_64/gdb-index-dwarf64/c.c:4 -148: + grep 'fn5 () at .*/c.c:8' out/test/x86_64/gdb-index-dwarf64/log2 -148: #4 0x00007ffff7fbc90c in fn5 () at out/test/x86_64/gdb-index-dwarf64/c.c:8 -148: + grep 'fn4 () at .*/b.c:4' out/test/x86_64/gdb-index-dwarf64/log2 -148: #5 0x00007ffff7fbc8d9 in fn4 () at out/test/x86_64/gdb-index-dwarf64/b.c:4 -148: + grep 'fn3 () at .*/b.c:8' out/test/x86_64/gdb-index-dwarf64/log2 -182: + cat -148: #6 0x00007ffff7fbc8ea in fn3 () at out/test/x86_64/gdb-index-dwarf64/b.c:8 -182: + cc -o out/test/x86_64/init-in-dso/b.o -c -xc - -148: + grep 'fn2 () at .*/a.c:4' out/test/x86_64/gdb-index-dwarf64/log2 -148: #7 0x00007ffff7fbc8b7 in fn2 () at out/test/x86_64/gdb-index-dwarf64/a.c:4 -148: + grep 'fn1 () at .*/a.c:8' out/test/x86_64/gdb-index-dwarf64/log2 -148: #8 0x00007ffff7fbc8c8 in fn1 () at out/test/x86_64/gdb-index-dwarf64/a.c:8 -148: + on_exit -148: + echo OK -148: OK -148: + exit 0 -176/402 Test #148: x86_64-gdb-index-dwarf64 .............................. Passed 1.59 sec +185: ++ case $MACHINE in +185: ++ tlsdesc_opt=-mtls-dialect=gnu2 +186: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/invalid-version-script.sh .sh +186: ++ testname=invalid-version-script +186: ++ t=out/test/x86_64/invalid-version-script +186: ++ mkdir -p out/test/x86_64/invalid-version-script +185: +++ uname +185: ++ '[' Linux = FreeBSD ']' +185: ++ trap 'on_error $LINENO' ERR +185: ++ trap on_exit EXIT +185: ++ echo -n 'Testing interpose ... ' +185: Testing interpose ... ++ set -o pipefail +185: ++ set -x +186: ++ case $MACHINE in +186: ++ tlsdesc_opt=-mtls-dialect=gnu2 +185: + cat +186: +++ uname +185: + cc -c -fPIC -o out/test/x86_64/interpose/a.o -xc - +186: ++ '[' Linux = FreeBSD ']' +186: ++ trap 'on_error $LINENO' ERR +186: ++ trap on_exit EXIT +186: ++ echo -n 'Testing invalid-version-script ... ' +186: Testing invalid-version-script ... ++ set -o pipefail +186: ++ set -x +186: + cc -c -o out/test/x86_64/invalid-version-script/a.o -xc - +186: + echo 'int main() {}' +177: + grep 'Hello world' +177: + out/test/x86_64/ifunc-noplt/exe2 +177: Hello world +177: + on_exit +177: + echo OK +177: OK +177: + exit 0 +176/402 Test #177: x86_64-ifunc-noplt .................................... Passed 0.52 sec test 188 Start 188: x86_64-large-alignment-dso @@ -12672,12 +12699,34 @@ 188: ++ OBJCOPY=objcopy 188: ++ STRIP=strip 188: ++ QEMU= +184: + cc -B. -shared -o out/test/x86_64/initfirst/b.so out/test/x86_64/initfirst/a.o -Wl,-z,initfirst +176: + cc -B. -o out/test/x86_64/ifunc-funcptr/exe1 out/test/x86_64/ifunc-funcptr/a.o out/test/x86_64/ifunc-funcptr/b.o out/test/x86_64/ifunc-funcptr/c.o -pie +183: + cc -B. -o out/test/x86_64/init/exe out/test/x86_64/init/a.o -Wl,-init,foo 188: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/large-alignment-dso.sh .sh +180: + '[' x86_64 = x86-64 -o x86_64 = aarch64 ']' +180: + on_exit +180: + echo OK +180: OK +180: + exit 0 +177/402 Test #180: x86_64-image-base ..................................... Passed 0.38 sec +test 189 + Start 189: x86_64-large-alignment + +189: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/large-alignment.sh" +189: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +189: Environment variables: +189: MACHINE=x86_64 +189: CPU= +189: Test timeout computed to be: 1500 188: ++ testname=large-alignment-dso 188: ++ t=out/test/x86_64/large-alignment-dso 188: ++ mkdir -p out/test/x86_64/large-alignment-dso 188: ++ case $MACHINE in 188: ++ tlsdesc_opt=-mtls-dialect=gnu2 +182: + cat +182: + cc -o out/test/x86_64/init-in-dso/b.o -c -xc - +181: + cat +181: + cc -c -o out/test/x86_64/init-array-priorities/c.o -xc - 188: +++ uname 188: ++ '[' Linux = FreeBSD ']' 188: ++ trap 'on_error $LINENO' ERR @@ -12686,54 +12735,52 @@ 188: Testing large-alignment-dso ... ++ set -o pipefail 188: ++ set -x 188: + '[' x86_64 = i686 ']' -188: + cat +189: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/large-alignment.sh 188: + cc -o out/test/x86_64/large-alignment-dso/a.o -c -xc - -ffunction-sections -fPIC -180: + grep 'Hello world' -180: + out/test/x86_64/image-base/exe1 -184: + readelf --dynamic out/test/x86_64/initfirst/b.so +189: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +189: ++ export LC_ALL=C +189: ++ LC_ALL=C +189: ++ '[' -z x86_64 ']' +189: ++ '[' -z '' ']' +189: ++ TESTDIR=out/test/x86_64 +189: ++ CC=cc +189: ++ CXX=c++ +189: ++ GCC=gcc +189: ++ GXX=g++ +189: ++ OBJDUMP=objdump +189: ++ OBJCOPY=objcopy +189: ++ STRIP=strip +189: ++ QEMU= +188: + cat +189: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/large-alignment.sh .sh +189: ++ testname=large-alignment +189: ++ t=out/test/x86_64/large-alignment +189: ++ mkdir -p out/test/x86_64/large-alignment +189: ++ case $MACHINE in +189: ++ tlsdesc_opt=-mtls-dialect=gnu2 +189: +++ uname +189: ++ '[' Linux = FreeBSD ']' +189: ++ trap 'on_error $LINENO' ERR +189: ++ trap on_exit EXIT +189: ++ echo -n 'Testing large-alignment ... ' +189: Testing large-alignment ... ++ set -o pipefail +189: ++ set -x +189: + '[' x86_64 = i686 ']' +176: + out/test/x86_64/ifunc-funcptr/exe1 +189: + cc -o out/test/x86_64/large-alignment/a.o -c -xc - -ffunction-sections +176: + grep '^3$' +176: 3 +176: + cc -B. -o out/test/x86_64/ifunc-funcptr/exe2 out/test/x86_64/ifunc-funcptr/a.o out/test/x86_64/ifunc-funcptr/b.o out/test/x86_64/ifunc-funcptr/c.o -no-pie +189: + cat 184: + grep 'Flags:.*INITFIRST' -180: Hello world -188: + cc -B. -o out/test/x86_64/large-alignment-dso/b.so out/test/x86_64/large-alignment-dso/a.o -shared -180: + readelf -W --sections out/test/x86_64/image-base/exe1 -180: + grep -E '.interp\s+PROGBITS\s+0*8000...\b' -181: + cat -185: + readelf --dynamic out/test/x86_64/interpose/b.so -180: [ 1] .interp PROGBITS 00000000080002e0 0002e0 00001c 00 A 0 0 1 +184: + readelf --dynamic out/test/x86_64/initfirst/b.so +186: + echo 'VER1 { foo[12; };' 184: 0x000000006ffffffb (FLAGS_1) Flags: INITFIRST -180: + cat -180: + cc -o out/test/x86_64/image-base/b.o -c -xc - -181: + cc -c -o out/test/x86_64/init-array-priorities/d.o -xc - 184: + on_exit 184: + echo OK 184: OK 184: + exit 0 -185: + grep 'Flags:.*INTERPOSE' -182: + cc -B. -o out/test/x86_64/init-in-dso/exe out/test/x86_64/init-in-dso/a.so out/test/x86_64/init-in-dso/b.o -Wl,-init,foo -177/402 Test #184: x86_64-initfirst ...................................... Passed 0.27 sec -test 189 - Start 189: x86_64-large-alignment - -189: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/large-alignment.sh" -189: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -189: Environment variables: -189: MACHINE=x86_64 -189: CPU= -189: Test timeout computed to be: 1500 -183: + grep -F '(INIT)' -183: + readelf --dynamic out/test/x86_64/init/exe -183: 0x000000000000000c (INIT) 0x16b9 -183: + cc -B. -o out/test/x86_64/init/exe out/test/x86_64/init/a.o -Wl,-init,no-such-symbol -185: 0x000000006ffffffb (FLAGS_1) Flags: INTERPOSE -185: + on_exit -185: + echo OK -185: OK -185: + exit 0 -176: + out/test/x86_64/ifunc-funcptr/exe1 -176: + grep '^3$' -176: 3 -176: + cc -B. -o out/test/x86_64/ifunc-funcptr/exe2 out/test/x86_64/ifunc-funcptr/a.o out/test/x86_64/ifunc-funcptr/b.o out/test/x86_64/ifunc-funcptr/c.o -no-pie -186: mold: fatal: invalid version pattern: foo[12 -178/402 Test #185: x86_64-interpose ...................................... Passed 0.27 sec +178/402 Test #184: x86_64-initfirst ...................................... Passed 0.27 sec test 190 Start 190: x86_64-large-max-page-size-strip @@ -12743,18 +12790,20 @@ 190: MACHINE=x86_64 190: CPU= 190: Test timeout computed to be: 1500 -186: + on_exit -186: + echo OK -186: OK -186: + exit 0 -178: + out/test/x86_64/ifunc-static-pie/exe2 -178: + grep 'Hello world' -178: Hello world -178: + on_exit -178: + echo OK -178: OK -178: + exit 0 -189: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/large-alignment.sh +183: + readelf --dynamic out/test/x86_64/init/exe +183: + grep -F '(INIT)' +183: 0x000000000000000c (INIT) 0x16b9 +183: + cc -B. -o out/test/x86_64/init/exe out/test/x86_64/init/a.o -Wl,-init,no-such-symbol +186: + not cc -B. -shared -o out/test/x86_64/invalid-version-script/c.so -Wl,-version-script,out/test/x86_64/invalid-version-script/b.ver out/test/x86_64/invalid-version-script/a.o +186: + grep 'invalid version pattern' +185: + cc -B. -shared -o out/test/x86_64/interpose/b.so out/test/x86_64/interpose/a.o -Wl,-z,interpose +179: + cat +179: + cc -o out/test/x86_64/ifunc-static/a.o -c -xc - +182: + cc -B. -o out/test/x86_64/init-in-dso/exe out/test/x86_64/init-in-dso/a.so out/test/x86_64/init-in-dso/b.o -Wl,-init,foo +178: + cat +178: + cc -o out/test/x86_64/ifunc-static-pie/a.o -c -xc - -fPIC +181: + cc -c -o out/test/x86_64/init-array-priorities/d.o -xc - +181: + cat 190: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/large-max-page-size-strip.sh 190: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 190: ++ export LC_ALL=C @@ -12770,8 +12819,17 @@ 190: ++ OBJCOPY=objcopy 190: ++ STRIP=strip 190: ++ QEMU= -179/402 Test #178: x86_64-ifunc-static-pie ............................... Passed 0.52 sec -180/402 Test #186: x86_64-invalid-version-script ......................... Passed 0.25 sec +190: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/large-max-page-size-strip.sh .sh +190: ++ testname=large-max-page-size-strip +190: ++ t=out/test/x86_64/large-max-page-size-strip +190: ++ mkdir -p out/test/x86_64/large-max-page-size-strip +183: + readelf --dynamic out/test/x86_64/init/exe +186: mold: fatal: invalid version pattern: foo[12 +186: + on_exit +186: + echo OK +186: OK +186: + exit 0 +179/402 Test #186: x86_64-invalid-version-script ......................... Passed 0.28 sec test 191 Start 191: x86_64-large-max-page-size @@ -12781,6 +12839,27 @@ 191: MACHINE=x86_64 191: CPU= 191: Test timeout computed to be: 1500 +190: ++ case $MACHINE in +190: ++ tlsdesc_opt=-mtls-dialect=gnu2 +176: + out/test/x86_64/ifunc-funcptr/exe2 +176: + grep '^3$' +176: 3 +176: + on_exit +176: + echo OK +176: OK +176: + exit 0 +182: + not grep -F '(INIT)' +182: + grep -F '(INIT)' +182: + readelf --dynamic out/test/x86_64/init-in-dso/exe +182: + return 0 +183: + not grep -F '(INIT)' +183: + grep -F '(INIT)' +180/402 Test #176: x86_64-ifunc-funcptr .................................. Passed 0.74 sec +182: + on_exit +182: + echo OK +182: OK +182: + exit 0 +188: + cc -B. -o out/test/x86_64/large-alignment-dso/b.so out/test/x86_64/large-alignment-dso/a.o -shared test 192 Start 192: x86_64-large-text @@ -12790,56 +12869,15 @@ 192: MACHINE=x86_64 192: CPU= 192: Test timeout computed to be: 1500 -190: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/large-max-page-size-strip.sh .sh -190: ++ testname=large-max-page-size-strip -190: ++ t=out/test/x86_64/large-max-page-size-strip -190: ++ mkdir -p out/test/x86_64/large-max-page-size-strip -190: ++ case $MACHINE in -190: ++ tlsdesc_opt=-mtls-dialect=gnu2 -190: +++ uname -190: ++ '[' Linux = FreeBSD ']' -190: ++ trap 'on_error $LINENO' ERR -190: ++ trap on_exit EXIT -190: ++ echo -n 'Testing large-max-page-size-strip ... ' -190: Testing large-max-page-size-strip ... ++ set -o pipefail -190: ++ set -x -190: + '[' x86_64 = arm ']' -190: + strip=strip -190: + command -v strip -190: + cat -190: + cc -o out/test/x86_64/large-max-page-size-strip/a.o -c -xc - -fPIC -189: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -189: ++ export LC_ALL=C -189: ++ LC_ALL=C -189: ++ '[' -z x86_64 ']' -189: ++ '[' -z '' ']' -189: ++ TESTDIR=out/test/x86_64 -189: ++ CC=cc -189: ++ CXX=c++ -189: ++ GCC=gcc -189: ++ GXX=g++ -189: ++ OBJDUMP=objdump -189: ++ OBJCOPY=objcopy -189: ++ STRIP=strip -189: ++ QEMU= -189: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/large-alignment.sh .sh -189: ++ testname=large-alignment -189: ++ t=out/test/x86_64/large-alignment -189: ++ mkdir -p out/test/x86_64/large-alignment -189: ++ case $MACHINE in -189: ++ tlsdesc_opt=-mtls-dialect=gnu2 -189: +++ uname -189: ++ '[' Linux = FreeBSD ']' -189: ++ trap 'on_error $LINENO' ERR -189: ++ trap on_exit EXIT -189: ++ echo -n 'Testing large-alignment ... ' -189: Testing large-alignment ... ++ set -o pipefail -189: ++ set -x -189: + '[' x86_64 = i686 ']' -189: + cat -189: + cc -o out/test/x86_64/large-alignment/a.o -c -xc - -ffunction-sections -188: + cat -188: + cc -o out/test/x86_64/large-alignment-dso/c.o -c -xc - +181/402 Test #182: x86_64-init-in-dso .................................... Passed 0.45 sec +185: + readelf --dynamic out/test/x86_64/interpose/b.so +185: + grep 'Flags:.*INTERPOSE' +185: 0x000000006ffffffb (FLAGS_1) Flags: INTERPOSE +185: + on_exit +185: + echo OK +185: OK +185: + exit 0 +182/402 Test #185: x86_64-interpose ...................................... Passed 0.33 sec 191: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/large-max-page-size.sh 191: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 191: ++ export LC_ALL=C @@ -12868,17 +12906,24 @@ 191: ++ echo -n 'Testing large-max-page-size ... ' 191: Testing large-max-page-size ... ++ set -o pipefail 191: ++ set -x -180: + '[' x86_64 = x86-64 -o x86_64 = aarch64 ']' -180: + on_exit -180: + echo OK -180: OK -180: + exit 0 -191: + cat 191: + cc -o out/test/x86_64/large-max-page-size/a.o -c -xc - -fPIC -181: + cat -181/402 Test #180: x86_64-image-base ..................................... Passed 0.42 sec -181: + cc -c -o out/test/x86_64/init-array-priorities/e.o -xc - -182: + readelf --dynamic out/test/x86_64/init-in-dso/exe +191: + cat +190: +++ uname +190: ++ '[' Linux = FreeBSD ']' +190: ++ trap 'on_error $LINENO' ERR +190: ++ trap on_exit EXIT +190: ++ echo -n 'Testing large-max-page-size-strip ... ' +190: Testing large-max-page-size-strip ... ++ set -o pipefail +190: ++ set -x +190: + '[' x86_64 = arm ']' +190: + strip=strip +190: + command -v strip +189: + cc -B. -o out/test/x86_64/large-alignment/exe out/test/x86_64/large-alignment/a.o +183: + return 0 +183: + on_exit +183: + echo OK +183: OK +183: + exit 0 test 193 Start 193: x86_64-library @@ -12888,8 +12933,27 @@ 193: MACHINE=x86_64 193: CPU= 193: Test timeout computed to be: 1500 -182: + not grep -F '(INIT)' -182: + grep -F '(INIT)' +test 194 + Start 194: x86_64-link-order + +194: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/link-order.sh" +194: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +194: Environment variables: +194: MACHINE=x86_64 +194: CPU= +194: Test timeout computed to be: 1500 +183/402 Test #183: x86_64-init ........................................... Passed 0.38 sec +test 195 + Start 195: x86_64-linker-script-defsym + +195: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/linker-script-defsym.sh" +195: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +195: Environment variables: +195: MACHINE=x86_64 +195: CPU= +195: Test timeout computed to be: 1500 +190: + cat +190: + cc -o out/test/x86_64/large-max-page-size-strip/a.o -c -xc - -fPIC 192: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/large-text.sh 192: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 192: ++ export LC_ALL=C @@ -12906,17 +12970,6 @@ 192: ++ STRIP=strip 192: ++ QEMU= 192: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/large-text.sh .sh -182: + return 0 -192: ++ testname=large-text -192: ++ t=out/test/x86_64/large-text -192: ++ mkdir -p out/test/x86_64/large-text -176: + out/test/x86_64/ifunc-funcptr/exe2 -176: + grep '^3$' -176: 3 -176: + on_exit -176: + echo OK -176: OK -176: + exit 0 193: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/library.sh 193: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 193: ++ export LC_ALL=C @@ -12936,68 +12989,8 @@ 193: ++ testname=library 193: ++ t=out/test/x86_64/library 193: ++ mkdir -p out/test/x86_64/library -192: ++ case $MACHINE in -192: ++ tlsdesc_opt=-mtls-dialect=gnu2 -192: +++ uname -192: ++ '[' Linux = FreeBSD ']' -192: ++ trap 'on_error $LINENO' ERR -192: ++ trap on_exit EXIT -192: ++ echo -n 'Testing large-text ... ' -192: Testing large-text ... ++ set -o pipefail -192: ++ set -x -192: + cc -o out/test/x86_64/large-text/a.o -c -xassembler - -182: + on_exit -182: + echo OK -182: OK -182: + exit 0 -179: + out/test/x86_64/ifunc-static/exe -179: + grep 'Hello world' -182/402 Test #176: x86_64-ifunc-funcptr .................................. Passed 0.57 sec -183/402 Test #182: x86_64-init-in-dso .................................... Passed 0.36 sec -test 194 - Start 194: x86_64-link-order - -194: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/link-order.sh" -194: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -194: Environment variables: -194: MACHINE=x86_64 -194: CPU= -194: Test timeout computed to be: 1500 -test 195 - Start 195: x86_64-linker-script-defsym - -195: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/linker-script-defsym.sh" -195: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -195: Environment variables: -195: MACHINE=x86_64 -195: CPU= -195: Test timeout computed to be: 1500 -179: Hello world -179: + on_exit -179: + echo OK -179: OK -179: + exit 0 -183: + readelf --dynamic out/test/x86_64/init/exe -183: + not grep -F '(INIT)' -183: + grep -F '(INIT)' -183: + return 0 -183: + on_exit -183: + echo OK -183: OK -183: + exit 0 -192: + cat 193: ++ case $MACHINE in 193: ++ tlsdesc_opt=-mtls-dialect=gnu2 -193: +++ uname -193: ++ '[' Linux = FreeBSD ']' -193: ++ trap 'on_error $LINENO' ERR -193: ++ trap on_exit EXIT -193: ++ echo -n 'Testing library ... ' -193: Testing library ... ++ set -o pipefail -193: ++ set -x -193: + cat -193: + cc -o out/test/x86_64/library/a.o -c -xc - -fPIC -188: + cc -B. -o out/test/x86_64/large-alignment-dso/exe out/test/x86_64/large-alignment-dso/c.o out/test/x86_64/large-alignment-dso/b.so 194: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/link-order.sh 194: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 194: ++ export LC_ALL=C @@ -13017,27 +13010,22 @@ 194: ++ testname=link-order 194: ++ t=out/test/x86_64/link-order 194: ++ mkdir -p out/test/x86_64/link-order -184/402 Test #179: x86_64-ifunc-static ................................... Passed 0.50 sec -185/402 Test #183: x86_64-init ........................................... Passed 0.36 sec -test 196 - Start 196: x86_64-linker-script-error - -196: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/linker-script-error.sh" -196: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -196: Environment variables: -196: MACHINE=x86_64 -196: CPU= -196: Test timeout computed to be: 1500 -test 197 - Start 197: x86_64-linker-script-relocatable - -197: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/linker-script-relocatable.sh" -197: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -197: Environment variables: -197: MACHINE=x86_64 -197: CPU= -197: Test timeout computed to be: 1500 +194: ++ case $MACHINE in +194: ++ tlsdesc_opt=-mtls-dialect=gnu2 +194: +++ uname +194: ++ '[' Linux = FreeBSD ']' +194: ++ trap 'on_error $LINENO' ERR +194: ++ trap on_exit EXIT +194: ++ echo -n 'Testing link-order ... ' +194: Testing link-order ... ++ set -o pipefail +194: ++ set -x +194: + cat +194: + cc -fPIC -c -o out/test/x86_64/link-order/a.o -xc - 195: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script-defsym.sh +192: ++ testname=large-text +192: ++ t=out/test/x86_64/large-text +192: ++ mkdir -p out/test/x86_64/large-text +193: +++ uname 195: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 195: ++ export LC_ALL=C 195: ++ LC_ALL=C @@ -13052,34 +13040,113 @@ 195: ++ OBJCOPY=objcopy 195: ++ STRIP=strip 195: ++ QEMU= +193: ++ '[' Linux = FreeBSD ']' +193: ++ trap 'on_error $LINENO' ERR +193: ++ trap on_exit EXIT +193: ++ echo -n 'Testing library ... ' +193: Testing library ... ++ set -o pipefail +193: ++ set -x +193: + cc -o out/test/x86_64/library/a.o -c -xc - -fPIC +192: ++ case $MACHINE in +192: ++ tlsdesc_opt=-mtls-dialect=gnu2 +188: + cat +191: + cc -B. -o out/test/x86_64/large-max-page-size/exe out/test/x86_64/large-max-page-size/a.o -pie -Wl,-zmax-page-size=0x200000 +192: +++ uname +181: + cc -c -o out/test/x86_64/init-array-priorities/e.o -xc - +181: + cat +179: + cc -B. -o out/test/x86_64/ifunc-static/exe out/test/x86_64/ifunc-static/a.o -static +194: + cc -B. -shared -o out/test/x86_64/link-order/libfoo.so out/test/x86_64/link-order/a.o +190: + cc -B. -o out/test/x86_64/large-max-page-size-strip/exe out/test/x86_64/large-max-page-size-strip/a.o -pie -Wl,-zmax-page-size=0x200000 +192: ++ '[' Linux = FreeBSD ']' +192: ++ trap 'on_error $LINENO' ERR +192: ++ trap on_exit EXIT +192: ++ echo -n 'Testing large-text ... ' +192: Testing large-text ... ++ set -o pipefail +192: ++ set -x 195: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script-defsym.sh .sh +188: + cc -o out/test/x86_64/large-alignment-dso/c.o -c -xc - +187: + c++ -B. -o out/test/x86_64/issue646/exe out/test/x86_64/issue646/a.o 195: ++ testname=linker-script-defsym 195: ++ t=out/test/x86_64/linker-script-defsym 195: ++ mkdir -p out/test/x86_64/linker-script-defsym +193: + cat +178: + cc -B. -o out/test/x86_64/ifunc-static-pie/exe2 out/test/x86_64/ifunc-static-pie/a.o -static-pie +192: + cat +192: + cc -o out/test/x86_64/large-text/a.o -c -xassembler - 195: ++ case $MACHINE in 195: ++ tlsdesc_opt=-mtls-dialect=gnu2 +191: + out/test/x86_64/large-max-page-size/exe 195: +++ uname -194: ++ case $MACHINE in -194: ++ tlsdesc_opt=-mtls-dialect=gnu2 -194: +++ uname -194: ++ '[' Linux = FreeBSD ']' -194: ++ trap 'on_error $LINENO' ERR -194: ++ trap on_exit EXIT -194: ++ echo -n 'Testing link-order ... ' -194: Testing link-order ... ++ set -o pipefail -194: ++ set -x -194: + cat -194: + cc -fPIC -c -o out/test/x86_64/link-order/a.o -xc - -190: + cc -B. -o out/test/x86_64/large-max-page-size-strip/exe out/test/x86_64/large-max-page-size-strip/a.o -pie -Wl,-zmax-page-size=0x200000 -196: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script-error.sh -189: + cc -B. -o out/test/x86_64/large-alignment/exe out/test/x86_64/large-alignment/a.o 195: ++ '[' Linux = FreeBSD ']' 195: ++ trap 'on_error $LINENO' ERR 195: ++ trap on_exit EXIT 195: ++ echo -n 'Testing linker-script-defsym ... ' 195: Testing linker-script-defsym ... ++ set -o pipefail 195: ++ set -x +190: + strip out/test/x86_64/large-max-page-size-strip/exe +189: + out/test/x86_64/large-alignment/exe +191: + grep 'Hello world' +191: Hello world +189: + grep 'Hello world' +191: + on_exit +191: + echo OK +191: OK +191: + exit 0 +184/402 Test #191: x86_64-large-max-page-size ............................ Passed 0.10 sec +test 196 + Start 196: x86_64-linker-script-error + +196: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/linker-script-error.sh" +196: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +196: Environment variables: +196: MACHINE=x86_64 +196: CPU= +196: Test timeout computed to be: 1500 +195: + cc -o out/test/x86_64/linker-script-defsym/a.o -c -xc - 195: + cat +189: Hello world +189: + on_exit +189: + echo OK +189: OK +189: + exit 0 +194: + ar crs out/test/x86_64/link-order/libfoo.a out/test/x86_64/link-order/a.o +179: + grep 'Hello world' +187: + grep 'error: exception' +187: + out/test/x86_64/issue646/exe +187: error: exception +187: + on_exit +187: + echo OK +187: OK +187: + exit 0 +192: + cc -o out/test/x86_64/large-text/b.o -c -xc - +192: + cat +185/402 Test #187: x86_64-issue646 ....................................... Passed 0.39 sec +186/402 Test #189: x86_64-large-alignment ................................ Passed 0.27 sec +test 197 + Start 197: x86_64-linker-script-relocatable + +197: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/linker-script-relocatable.sh" +197: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +197: Environment variables: +197: MACHINE=x86_64 +197: CPU= +197: Test timeout computed to be: 1500 +test 198 + Start 198: x86_64-linker-script + +198: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/linker-script.sh" +198: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +198: Environment variables: +198: MACHINE=x86_64 +198: CPU= +198: Test timeout computed to be: 1500 +179: + out/test/x86_64/ifunc-static/exe +179: Hello world +179: + on_exit +179: + echo OK +179: OK +179: + exit 0 +196: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script-error.sh 196: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 196: ++ export LC_ALL=C 196: ++ LC_ALL=C @@ -13095,17 +13162,33 @@ 196: ++ STRIP=strip 196: ++ QEMU= 196: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script-error.sh .sh +196: ++ testname=linker-script-error +196: ++ t=out/test/x86_64/linker-script-error +196: ++ mkdir -p out/test/x86_64/linker-script-error +196: ++ case $MACHINE in +196: ++ tlsdesc_opt=-mtls-dialect=gnu2 +196: +++ uname +196: ++ '[' Linux = FreeBSD ']' +196: ++ trap 'on_error $LINENO' ERR +196: ++ trap on_exit EXIT +196: ++ echo -n 'Testing linker-script-error ... ' +196: Testing linker-script-error ... ++ set -o pipefail +196: ++ set -x +196: + cc -o out/test/x86_64/linker-script-error/a.o -c -xc - +196: + cat +178: + out/test/x86_64/ifunc-static-pie/exe2 +178: + grep 'Hello world' +178: Hello world +178: + on_exit +178: + echo OK +178: OK +178: + exit 0 197: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script-relocatable.sh -181: + cat -181: + cc -c -o out/test/x86_64/init-array-priorities/f.o -xc - 197: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 197: ++ export LC_ALL=C 197: ++ LC_ALL=C 197: ++ '[' -z x86_64 ']' 197: ++ '[' -z '' ']' -196: ++ testname=linker-script-error -196: ++ t=out/test/x86_64/linker-script-error -196: ++ mkdir -p out/test/x86_64/linker-script-error 197: ++ TESTDIR=out/test/x86_64 197: ++ CC=cc 197: ++ CXX=c++ @@ -13115,26 +13198,40 @@ 197: ++ OBJCOPY=objcopy 197: ++ STRIP=strip 197: ++ QEMU= -195: + cc -o out/test/x86_64/linker-script-defsym/a.o -c -xc - 197: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script-relocatable.sh .sh -191: + cc -B. -o out/test/x86_64/large-max-page-size/exe out/test/x86_64/large-max-page-size/a.o -pie -Wl,-zmax-page-size=0x200000 -196: ++ case $MACHINE in -196: ++ tlsdesc_opt=-mtls-dialect=gnu2 -196: +++ uname 197: ++ testname=linker-script-relocatable 197: ++ t=out/test/x86_64/linker-script-relocatable 197: ++ mkdir -p out/test/x86_64/linker-script-relocatable +187/402 Test #178: x86_64-ifunc-static-pie ............................... Passed 0.80 sec +188/402 Test #179: x86_64-ifunc-static ................................... Passed 0.70 sec +190: + grep 'Hello world' +test 199 + Start 199: x86_64-linker-script2 + +199: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/linker-script2.sh" +199: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +199: Environment variables: +199: MACHINE=x86_64 +199: CPU= +199: Test timeout computed to be: 1500 +test 200 + Start 200: x86_64-linker-script3 + +200: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/linker-script3.sh" +200: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +200: Environment variables: +200: MACHINE=x86_64 +200: CPU= +200: Test timeout computed to be: 1500 +190: + out/test/x86_64/large-max-page-size-strip/exe +190: Hello world +190: + on_exit +190: + echo OK +190: OK +190: + exit 0 197: ++ case $MACHINE in 197: ++ tlsdesc_opt=-mtls-dialect=gnu2 -196: ++ '[' Linux = FreeBSD ']' -196: ++ trap 'on_error $LINENO' ERR -196: ++ trap on_exit EXIT -196: ++ echo -n 'Testing linker-script-error ... ' -196: Testing linker-script-error ... ++ set -o pipefail -196: ++ set -x 197: +++ uname -196: + cat -196: + cc -o out/test/x86_64/linker-script-error/a.o -c -xc - 197: ++ '[' Linux = FreeBSD ']' 197: ++ trap 'on_error $LINENO' ERR 197: ++ trap on_exit EXIT @@ -13143,35 +13240,14 @@ 197: ++ set -x 197: + grep __tsan_init 197: + nm mold -195: + cat -195: + cc -B. -o out/test/x86_64/linker-script-defsym/b.so -shared out/test/x86_64/linker-script-defsym/script out/test/x86_64/linker-script-defsym/a.o -188: + grep 'Hello world' -192: + cc -o out/test/x86_64/large-text/b.o -c -xc - -188: + out/test/x86_64/large-alignment-dso/exe -192: + cat -194: + cc -B. -shared -o out/test/x86_64/link-order/libfoo.so out/test/x86_64/link-order/a.o -188: Hello world 193: + cc -B. -shared -o out/test/x86_64/library/libfoobar.so out/test/x86_64/library/a.o -188: + on_exit -188: + echo OK -188: OK -188: + exit 0 +193: + cat +193: + cc -o out/test/x86_64/library/c.o -c -xc - +194: + cat +194: + cc -c -o out/test/x86_64/link-order/b.o -xc - 181: + cat -186/402 Test #188: x86_64-large-alignment-dso ............................ Passed 0.19 sec -test 198 - Start 198: x86_64-linker-script - -198: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/linker-script.sh" -198: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -198: Environment variables: -198: MACHINE=x86_64 -198: CPU= -198: Test timeout computed to be: 1500 -190: + strip out/test/x86_64/large-max-page-size-strip/exe -190: + grep 'Hello world' -181: + cc -c -o out/test/x86_64/init-array-priorities/g.o -xc - +181: + cc -c -o out/test/x86_64/init-array-priorities/f.o -xc - 198: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script.sh -190: + out/test/x86_64/large-max-page-size-strip/exe 198: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 198: ++ export LC_ALL=C 198: ++ LC_ALL=C @@ -13190,29 +13266,33 @@ 198: ++ testname=linker-script 198: ++ t=out/test/x86_64/linker-script 198: ++ mkdir -p out/test/x86_64/linker-script -190: Hello world -190: + on_exit -190: + echo OK -190: OK -190: + exit 0 -187/402 Test #190: x86_64-large-max-page-size-strip ...................... Passed 0.11 sec -test 199 - Start 199: x86_64-linker-script2 +198: ++ case $MACHINE in +198: ++ tlsdesc_opt=-mtls-dialect=gnu2 +198: +++ uname +198: ++ '[' Linux = FreeBSD ']' +198: ++ trap 'on_error $LINENO' ERR +198: ++ trap on_exit EXIT +198: ++ echo -n 'Testing linker-script ... ' +198: Testing linker-script ... ++ set -o pipefail +198: ++ set -x +198: + cc -o out/test/x86_64/linker-script/a.o -c -xc - +198: + cat +189/402 Test #190: x86_64-large-max-page-size-strip ...................... Passed 0.25 sec +test 201 + Start 201: x86_64-linker-script4 -199: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/linker-script2.sh" -199: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -199: Environment variables: -199: MACHINE=x86_64 -199: CPU= -199: Test timeout computed to be: 1500 +201: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/linker-script4.sh" +201: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +201: Environment variables: +201: MACHINE=x86_64 +201: CPU= +201: Test timeout computed to be: 1500 196: + echo 'VERSION { ver_x /*' -196: + not cc -B. -o out/test/x86_64/linker-script-error/exe out/test/x86_64/linker-script-error/a.o out/test/x86_64/linker-script-error/b.script -196: + grep 'unclosed comment' -189: + out/test/x86_64/large-alignment/exe -189: + grep 'Hello world' +200: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script3.sh 199: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script2.sh -198: ++ case $MACHINE in -198: ++ tlsdesc_opt=-mtls-dialect=gnu2 +192: + cc -B. -o out/test/x86_64/large-text/exe out/test/x86_64/large-text/a.o out/test/x86_64/large-text/b.o +195: + cat +196: + not cc -B. -o out/test/x86_64/linker-script-error/exe out/test/x86_64/linker-script-error/a.o out/test/x86_64/linker-script-error/b.script 199: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 199: ++ export LC_ALL=C 199: ++ LC_ALL=C @@ -13227,55 +13307,6 @@ 199: ++ OBJCOPY=objcopy 199: ++ STRIP=strip 199: ++ QEMU= -198: +++ uname -189: Hello world -199: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script2.sh .sh -189: + on_exit -199: ++ testname=linker-script2 -199: ++ t=out/test/x86_64/linker-script2 -189: + echo OK -189: OK -189: + exit 0 -199: ++ mkdir -p out/test/x86_64/linker-script2 -188/402 Test #189: x86_64-large-alignment ................................ Passed 0.13 sec -test 200 - Start 200: x86_64-linker-script3 - -200: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/linker-script3.sh" -200: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -200: Environment variables: -200: MACHINE=x86_64 -200: CPU= -200: Test timeout computed to be: 1500 -198: ++ '[' Linux = FreeBSD ']' -198: ++ trap 'on_error $LINENO' ERR -198: ++ trap on_exit EXIT -198: ++ echo -n 'Testing linker-script ... ' -198: Testing linker-script ... ++ set -o pipefail -198: ++ set -x -198: + cat -198: + cc -o out/test/x86_64/linker-script/a.o -c -xc - -192: + cc -B. -o out/test/x86_64/large-text/exe out/test/x86_64/large-text/a.o out/test/x86_64/large-text/b.o -191: + grep 'Hello world' -191: + out/test/x86_64/large-max-page-size/exe -199: ++ case $MACHINE in -199: ++ tlsdesc_opt=-mtls-dialect=gnu2 -199: +++ uname -200: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script3.sh -191: Hello world -199: ++ '[' Linux = FreeBSD ']' -191: + on_exit -191: + echo OK -191: OK -191: + exit 0 -199: ++ trap 'on_error $LINENO' ERR -199: ++ trap on_exit EXIT -199: ++ echo -n 'Testing linker-script2 ... ' -199: Testing linker-script2 ... ++ set -o pipefail -199: ++ set -x -193: + cat -193: + cc -o out/test/x86_64/library/c.o -c -xc - -189/402 Test #191: x86_64-large-max-page-size ............................ Passed 0.13 sec 200: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 200: ++ export LC_ALL=C 200: ++ LC_ALL=C @@ -13290,53 +13321,7 @@ 200: ++ OBJCOPY=objcopy 200: ++ STRIP=strip 200: ++ QEMU= -199: + cc -o out/test/x86_64/linker-script2/a.o -c -xc - -199: + cat -test 201 - Start 201: x86_64-linker-script4 - -201: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/linker-script4.sh" -201: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -201: Environment variables: -201: MACHINE=x86_64 -201: CPU= -201: Test timeout computed to be: 1500 -200: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script3.sh .sh -200: ++ testname=linker-script3 -200: ++ t=out/test/x86_64/linker-script3 -200: ++ mkdir -p out/test/x86_64/linker-script3 -195: + grep 'FUNC .* bar' -195: + readelf -sW out/test/x86_64/linker-script-defsym/b.so -196: ^ unclosed comment -195: 5: 00000000000015f9 0 FUNC GLOBAL DEFAULT 13 bar -195: 77: 00000000000015f9 0 FUNC GLOBAL DEFAULT 13 bar -196: + on_exit -196: + echo OK -196: OK -196: + exit 0 201: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script4.sh -190/402 Test #196: x86_64-linker-script-error ............................ Passed 0.09 sec -test 202 - Start 202: x86_64-linker-script5 - -202: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/linker-script5.sh" -202: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -202: Environment variables: -202: MACHINE=x86_64 -202: CPU= -202: Test timeout computed to be: 1500 -195: + cat -195: + cc -o out/test/x86_64/linker-script-defsym/c.o -c -xc - -200: ++ case $MACHINE in -200: ++ tlsdesc_opt=-mtls-dialect=gnu2 -200: +++ uname -200: ++ '[' Linux = FreeBSD ']' -200: ++ trap 'on_error $LINENO' ERR -200: ++ trap on_exit EXIT -200: ++ echo -n 'Testing linker-script3 ... ' -200: Testing linker-script3 ... ++ set -o pipefail -200: ++ set -x -200: + mkdir -p out/test/x86_64/linker-script3/foo 201: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 201: ++ export LC_ALL=C 201: ++ LC_ALL=C @@ -13351,34 +13336,40 @@ 201: ++ OBJCOPY=objcopy 201: ++ STRIP=strip 201: ++ QEMU= +188: + cc -B. -o out/test/x86_64/large-alignment-dso/exe out/test/x86_64/large-alignment-dso/c.o out/test/x86_64/large-alignment-dso/b.so +196: + grep 'unclosed comment' +195: + cc -B. -o out/test/x86_64/linker-script-defsym/b.so -shared out/test/x86_64/linker-script-defsym/script out/test/x86_64/linker-script-defsym/a.o +199: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script2.sh .sh +199: ++ testname=linker-script2 +199: ++ t=out/test/x86_64/linker-script2 +199: ++ mkdir -p out/test/x86_64/linker-script2 201: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script4.sh .sh -181: + cc -c -o out/test/x86_64/init-array-priorities/h.o -xc - 201: ++ testname=linker-script4 201: ++ t=out/test/x86_64/linker-script4 201: ++ mkdir -p out/test/x86_64/linker-script4 -181: + cat -200: + cat -202: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script5.sh -194: + ar crs out/test/x86_64/link-order/libfoo.a out/test/x86_64/link-order/a.o +200: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script3.sh .sh +200: ++ testname=linker-script3 +200: ++ t=out/test/x86_64/linker-script3 +200: ++ mkdir -p out/test/x86_64/linker-script3 +199: ++ case $MACHINE in +199: ++ tlsdesc_opt=-mtls-dialect=gnu2 +200: ++ case $MACHINE in +200: ++ tlsdesc_opt=-mtls-dialect=gnu2 201: ++ case $MACHINE in 201: ++ tlsdesc_opt=-mtls-dialect=gnu2 +199: +++ uname +200: +++ uname +200: ++ '[' Linux = FreeBSD ']' +200: ++ trap 'on_error $LINENO' ERR +200: ++ trap on_exit EXIT +200: ++ echo -n 'Testing linker-script3 ... ' +200: Testing linker-script3 ... ++ set -o pipefail +200: ++ set -x +200: + mkdir -p out/test/x86_64/linker-script3/foo +197: + cc -c -o out/test/x86_64/linker-script-relocatable/a.o -xc - +197: + cat 201: +++ uname 201: ++ '[' Linux = FreeBSD ']' -200: + cc -o out/test/x86_64/linker-script3/foo/a.o -c -xc - -202: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -202: ++ export LC_ALL=C -202: ++ LC_ALL=C -202: ++ '[' -z x86_64 ']' -202: ++ '[' -z '' ']' -202: ++ TESTDIR=out/test/x86_64 -202: ++ CC=cc -202: ++ CXX=c++ -202: ++ GCC=gcc -202: ++ GXX=g++ -202: ++ OBJDUMP=objdump -202: ++ OBJCOPY=objcopy -202: ++ STRIP=strip -202: ++ QEMU= 201: ++ trap 'on_error $LINENO' ERR 201: ++ trap on_exit EXIT 201: ++ echo -n 'Testing linker-script4 ... ' @@ -13386,62 +13377,41 @@ 201: ++ set -x 201: + echo 'VERSION { ver_x { global: *; }; };' 201: + cat -202: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script5.sh .sh -202: ++ testname=linker-script5 -202: ++ t=out/test/x86_64/linker-script5 -202: ++ mkdir -p out/test/x86_64/linker-script5 -187: + c++ -B. -o out/test/x86_64/issue646/exe out/test/x86_64/issue646/a.o -202: ++ case $MACHINE in -202: ++ tlsdesc_opt=-mtls-dialect=gnu2 -194: + cat -194: + cc -c -o out/test/x86_64/link-order/b.o -xc - -202: +++ uname 201: + cc -B. -shared -o out/test/x86_64/linker-script4/c.so out/test/x86_64/linker-script4/a.script out/test/x86_64/linker-script4/b.s -202: ++ '[' Linux = FreeBSD ']' -202: ++ trap 'on_error $LINENO' ERR -202: ++ trap on_exit EXIT -202: ++ echo -n 'Testing linker-script5 ... ' -202: Testing linker-script5 ... ++ set -o pipefail -202: ++ set -x -202: + mkdir -p out/test/x86_64/linker-script5/foo -198: + cat -193: + cc -B. -o out/test/x86_64/library/exe1 out/test/x86_64/library/c.o -Lout/test/x86_64/library -Wl,--library,foobar -Wl,-rpath,out/test/x86_64/library -199: + mkdir -p out/test/x86_64/linker-script2/foo/bar -198: + cc -B. -o out/test/x86_64/linker-script/exe out/test/x86_64/linker-script/script -202: + cat -199: + rm -f out/test/x86_64/linker-script2/foo/bar/libfoo.a -202: + cc -o out/test/x86_64/linker-script5/foo/a.o -c -xc - -195: + cc -B. -o out/test/x86_64/linker-script-defsym/exe out/test/x86_64/linker-script-defsym/c.o out/test/x86_64/linker-script-defsym/b.so -199: + ar rcs out/test/x86_64/linker-script2/foo/bar/libfoo.a out/test/x86_64/linker-script2/a.o +199: ++ '[' Linux = FreeBSD ']' +199: ++ trap 'on_error $LINENO' ERR +199: ++ trap on_exit EXIT +199: ++ echo -n 'Testing linker-script2 ... ' +199: Testing linker-script2 ... ++ set -o pipefail +199: ++ set -x +199: + cc -o out/test/x86_64/linker-script2/a.o -c -xc - 199: + cat -199: + cc -B. -o out/test/x86_64/linker-script2/exe -Lout/test/x86_64/linker-script2/foo/bar out/test/x86_64/linker-script2/b.script 200: + cat -200: + cc -B. -o out/test/x86_64/linker-script3/exe -Lout/test/x86_64/linker-script3/foo out/test/x86_64/linker-script3/b.script -181: + cc -c -o out/test/x86_64/init-array-priorities/i.o -xc - -194: + cc -B. -o out/test/x86_64/link-order/exe out/test/x86_64/link-order/b.o -Wl,--as-needed out/test/x86_64/link-order/libfoo.so out/test/x86_64/link-order/libfoo.a -181: + cat -202: + cat -202: + cc -B. -o out/test/x86_64/linker-script5/exe out/test/x86_64/linker-script5/foo/b.script -201: + readelf --version-info out/test/x86_64/linker-script4/c.so -201: + grep -F 'Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x' out/test/x86_64/linker-script4/log -193: + grep 'Hello world' -193: + out/test/x86_64/library/exe1 -195: + grep 42 -195: + out/test/x86_64/linker-script-defsym/exe -193: Hello world -201: 0x001c: Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x -193: + cc -B. -o out/test/x86_64/library/exe2 out/test/x86_64/library/c.o -Lout/test/x86_64/library -Wl,--library=foobar -Wl,-rpath,out/test/x86_64/library -201: + on_exit -201: + echo OK -201: OK -201: + exit 0 -191/402 Test #201: x86_64-linker-script4 ................................. Passed 0.09 sec -195: 42 -195: + on_exit -195: + echo OK -195: OK -195: + exit 0 -187: + out/test/x86_64/issue646/exe +188: + out/test/x86_64/large-alignment-dso/exe +188: + grep 'Hello world' +200: + cc -o out/test/x86_64/linker-script3/foo/a.o -c -xc - +188: Hello world +188: + on_exit +188: + echo OK +188: OK +188: + exit 0 +190/402 Test #188: x86_64-large-alignment-dso ............................ Passed 0.48 sec +test 202 + Start 202: x86_64-linker-script5 + +202: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/linker-script5.sh" +202: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +202: Environment variables: +202: MACHINE=x86_64 +202: CPU= +202: Test timeout computed to be: 1500 +192: + grep 'Hello world' +196: ^ unclosed comment +196: + on_exit +196: + echo OK +196: OK +196: + exit 0 +191/402 Test #196: x86_64-linker-script-error ............................ Passed 0.21 sec test 203 Start 203: x86_64-linker-script6 @@ -13451,43 +13421,11 @@ 203: MACHINE=x86_64 203: CPU= 203: Test timeout computed to be: 1500 -192/402 Test #195: x86_64-linker-script-defsym ........................... Passed 0.19 sec -187: + grep 'error: exception' -187: error: exception -187: + on_exit -187: + echo OK -187: OK -187: + exit 0 -193/402 Test #187: x86_64-issue646 ....................................... Passed 0.47 sec -test 204 - Start 204: x86_64-lto-archive - -204: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/lto-archive.sh" -204: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -204: Environment variables: -204: MACHINE=x86_64 -204: CPU= -204: Test timeout computed to be: 1500 -198: + out/test/x86_64/linker-script/exe -198: + grep 'Hello world' -198: Hello world -198: + cc -B. -o out/test/x86_64/linker-script/exe -Wl,-T,out/test/x86_64/linker-script/script -192: + out/test/x86_64/large-text/exe -192: + grep 'Hello world' -192: Hello world -192: + on_exit -192: + echo OK -192: OK -192: + exit 0 -test 205 - Start 205: x86_64-lto-archive2 - -205: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/lto-archive2.sh" -205: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -205: Environment variables: -205: MACHINE=x86_64 -205: CPU= -205: Test timeout computed to be: 1500 +195: + readelf -sW out/test/x86_64/linker-script-defsym/b.so +195: + grep 'FUNC .* bar' +195: 5: 00000000000015f9 0 FUNC GLOBAL DEFAULT 13 bar +195: 77: 00000000000015f9 0 FUNC GLOBAL DEFAULT 13 bar +202: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script5.sh 203: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script6.sh 203: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 203: ++ export LC_ALL=C @@ -13507,9 +13445,55 @@ 203: ++ testname=linker-script6 203: ++ t=out/test/x86_64/linker-script6 203: ++ mkdir -p out/test/x86_64/linker-script6 +202: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +202: ++ export LC_ALL=C +202: ++ LC_ALL=C +202: ++ '[' -z x86_64 ']' +202: ++ '[' -z '' ']' +202: ++ TESTDIR=out/test/x86_64 +202: ++ CC=cc +202: ++ CXX=c++ +202: ++ GCC=gcc +202: ++ GXX=g++ +202: ++ OBJDUMP=objdump +202: ++ OBJCOPY=objcopy +202: ++ STRIP=strip +202: ++ QEMU= 203: ++ case $MACHINE in 203: ++ tlsdesc_opt=-mtls-dialect=gnu2 203: +++ uname +202: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/linker-script5.sh .sh +195: + cat +192: + out/test/x86_64/large-text/exe +192: Hello world +192: + on_exit +192: + echo OK +192: OK +192: + exit 0 +192/402 Test #192: x86_64-large-text ..................................... Passed 0.31 sec +202: ++ testname=linker-script5 +202: ++ t=out/test/x86_64/linker-script5 +202: ++ mkdir -p out/test/x86_64/linker-script5 +test 204 + Start 204: x86_64-lto-archive + +204: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/lto-archive.sh" +204: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +204: Environment variables: +204: MACHINE=x86_64 +204: CPU= +204: Test timeout computed to be: 1500 +202: ++ case $MACHINE in +202: ++ tlsdesc_opt=-mtls-dialect=gnu2 +202: +++ uname +202: ++ '[' Linux = FreeBSD ']' +202: ++ trap 'on_error $LINENO' ERR +202: ++ trap on_exit EXIT +202: ++ echo -n 'Testing linker-script5 ... ' +202: Testing linker-script5 ... ++ set -o pipefail +202: ++ set -x +202: + mkdir -p out/test/x86_64/linker-script5/foo +195: + cc -o out/test/x86_64/linker-script-defsym/c.o -c -xc - 203: ++ '[' Linux = FreeBSD ']' 203: ++ trap 'on_error $LINENO' ERR 203: ++ trap on_exit EXIT @@ -13517,17 +13501,8 @@ 203: Testing linker-script6 ... ++ set -o pipefail 203: ++ set -x 203: + mkdir -p out/test/x86_64/linker-script6/foo -194/402 Test #192: x86_64-large-text ..................................... Passed 0.23 sec -test 206 - Start 206: x86_64-lto-archive3 - -206: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/lto-archive3.sh" -206: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -206: Environment variables: -206: MACHINE=x86_64 -206: CPU= -206: Test timeout computed to be: 1500 -181: + cc -B. -o out/test/x86_64/init-array-priorities/exe out/test/x86_64/init-array-priorities/a.o out/test/x86_64/init-array-priorities/b.o out/test/x86_64/init-array-priorities/c.o out/test/x86_64/init-array-priorities/d.o out/test/x86_64/init-array-priorities/e.o out/test/x86_64/init-array-priorities/f.o out/test/x86_64/init-array-priorities/g.o out/test/x86_64/init-array-priorities/h.o out/test/x86_64/init-array-priorities/i.o +203: + cc -o out/test/x86_64/linker-script6/foo/a.o -c -xc - +203: + cat 204: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/lto-archive.sh 204: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 204: ++ export LC_ALL=C @@ -13543,14 +13518,63 @@ 204: ++ OBJCOPY=objcopy 204: ++ STRIP=strip 204: ++ QEMU= +202: + cat +202: + cc -o out/test/x86_64/linker-script5/foo/a.o -c -xc - 204: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/lto-archive.sh .sh +198: + cat +193: + cc -B. -o out/test/x86_64/library/exe1 out/test/x86_64/library/c.o -Lout/test/x86_64/library -Wl,--library,foobar -Wl,-rpath,out/test/x86_64/library +199: + mkdir -p out/test/x86_64/linker-script2/foo/bar +200: + cat 204: ++ testname=lto-archive 204: ++ t=out/test/x86_64/lto-archive 204: ++ mkdir -p out/test/x86_64/lto-archive -200: + on_exit -200: + echo OK -200: OK -200: + exit 0 +194: + cc -B. -o out/test/x86_64/link-order/exe out/test/x86_64/link-order/b.o -Wl,--as-needed out/test/x86_64/link-order/libfoo.so out/test/x86_64/link-order/libfoo.a +199: + rm -f out/test/x86_64/linker-script2/foo/bar/libfoo.a +200: + cc -B. -o out/test/x86_64/linker-script3/exe -Lout/test/x86_64/linker-script3/foo out/test/x86_64/linker-script3/b.script +198: + cc -B. -o out/test/x86_64/linker-script/exe out/test/x86_64/linker-script/script +197: + cat +181: + cat +197: + cc -c -o out/test/x86_64/linker-script-relocatable/b.o -xc - +199: + ar rcs out/test/x86_64/linker-script2/foo/bar/libfoo.a out/test/x86_64/linker-script2/a.o +181: + cc -c -o out/test/x86_64/init-array-priorities/g.o -xc - +204: ++ case $MACHINE in +204: ++ tlsdesc_opt=-mtls-dialect=gnu2 +204: +++ uname +204: ++ '[' Linux = FreeBSD ']' +204: ++ trap 'on_error $LINENO' ERR +204: ++ trap on_exit EXIT +204: ++ echo -n 'Testing lto-archive ... ' +204: Testing lto-archive ... ++ set -o pipefail +204: ++ set -x +204: + '[' cc = cc ']' +204: + test_cflags -flto +204: + echo 'int main() {}' +201: + readelf --version-info out/test/x86_64/linker-script4/c.so +204: + cc -B. -flto -o /dev/null -xc - +201: + grep -F 'Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x' out/test/x86_64/linker-script4/log +194: + readelf --dynamic out/test/x86_64/link-order/exe +201: 0x001c: Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x +194: + grep libfoo +201: + on_exit +201: + echo OK +201: OK +201: + exit 0 +193/402 Test #201: x86_64-linker-script4 ................................. Passed 0.23 sec +193: + grep 'Hello world' +test 205 + Start 205: x86_64-lto-archive2 + +205: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/lto-archive2.sh" +205: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +205: Environment variables: +205: MACHINE=x86_64 +205: CPU= +205: Test timeout computed to be: 1500 +194: 0x0000000000000001 (NEEDED) Shared library: [out/test/x86_64/link-order/libfoo.so] +194: + cc -B. -o out/test/x86_64/link-order/exe out/test/x86_64/link-order/b.o -Wl,--as-needed out/test/x86_64/link-order/libfoo.a out/test/x86_64/link-order/libfoo.so +193: + out/test/x86_64/library/exe1 +193: Hello world +193: + cc -B. -o out/test/x86_64/library/exe2 out/test/x86_64/library/c.o -Lout/test/x86_64/library -Wl,--library=foobar -Wl,-rpath,out/test/x86_64/library 205: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/lto-archive2.sh 205: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 205: ++ export LC_ALL=C @@ -13570,28 +13594,64 @@ 205: ++ testname=lto-archive2 205: ++ t=out/test/x86_64/lto-archive2 205: ++ mkdir -p out/test/x86_64/lto-archive2 -203: + cat -203: + cc -o out/test/x86_64/linker-script6/foo/a.o -c -xc - -194: + readelf --dynamic out/test/x86_64/link-order/exe -197: + cat -195/402 Test #200: x86_64-linker-script3 ................................. Passed 0.13 sec -194: + grep libfoo -197: + cc -c -o out/test/x86_64/linker-script-relocatable/a.o -xc - -204: ++ case $MACHINE in -204: ++ tlsdesc_opt=-mtls-dialect=gnu2 -204: +++ uname -204: ++ '[' Linux = FreeBSD ']' -204: ++ trap 'on_error $LINENO' ERR -204: ++ trap on_exit EXIT -204: ++ echo -n 'Testing lto-archive ... ' -204: Testing lto-archive ... ++ set -o pipefail -204: ++ set -x -204: + '[' cc = cc ']' -204: + test_cflags -flto -204: + echo 'int main() {}' 205: ++ case $MACHINE in 205: ++ tlsdesc_opt=-mtls-dialect=gnu2 +199: + cat +203: + cat +202: + cat +181: + cat +199: + cc -B. -o out/test/x86_64/linker-script2/exe -Lout/test/x86_64/linker-script2/foo/bar out/test/x86_64/linker-script2/b.script 205: +++ uname +195: + cc -B. -o out/test/x86_64/linker-script-defsym/exe out/test/x86_64/linker-script-defsym/c.o out/test/x86_64/linker-script-defsym/b.so +181: + cc -c -o out/test/x86_64/init-array-priorities/h.o -xc - +205: ++ '[' Linux = FreeBSD ']' +205: ++ trap 'on_error $LINENO' ERR +205: ++ trap on_exit EXIT +205: ++ echo -n 'Testing lto-archive2 ... ' +205: Testing lto-archive2 ... ++ set -o pipefail +205: ++ set -x +205: + test_cflags -flto=auto +194: + readelf --dynamic out/test/x86_64/link-order/exe +194: + not grep libfoo +194: + grep libfoo +205: + cc -B. -flto=auto -o /dev/null -xc - +205: + echo 'int main() {}' +203: + cc -B. -o out/test/x86_64/linker-script6/exe out/test/x86_64/linker-script6/foo/b.script +194: + return 0 +194: + on_exit +194: + echo OK +194: OK +194: + exit 0 +194/402 Test #194: x86_64-link-order ..................................... Passed 0.80 sec +test 206 + Start 206: x86_64-lto-archive3 + +206: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/lto-archive3.sh" +206: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +206: Environment variables: +206: MACHINE=x86_64 +206: CPU= +206: Test timeout computed to be: 1500 +197: + echo 'INPUT(out/test/x86_64/linker-script-relocatable/a.o out/test/x86_64/linker-script-relocatable/b.o)' +197: + ./mold --relocatable -o out/test/x86_64/linker-script-relocatable/d.o out/test/x86_64/linker-script-relocatable/c.script +200: + on_exit +200: + echo OK +200: OK +200: + exit 0 +202: + cc -B. -o out/test/x86_64/linker-script5/exe out/test/x86_64/linker-script5/foo/b.script +198: + grep 'Hello world' +198: + out/test/x86_64/linker-script/exe +198: Hello world +198: + cc -B. -o out/test/x86_64/linker-script/exe -Wl,-T,out/test/x86_64/linker-script/script +193: + out/test/x86_64/library/exe2 +193: + grep 'Hello world' +193: Hello world +193: + on_exit +193: + echo OK +193: OK +193: + exit 0 +195/402 Test #193: x86_64-library ........................................ Passed 0.83 sec +196/402 Test #200: x86_64-linker-script3 ................................. Passed 0.68 sec test 207 Start 207: x86_64-lto-dso @@ -13601,40 +13661,6 @@ 207: MACHINE=x86_64 207: CPU= 207: Test timeout computed to be: 1500 -194: 0x0000000000000001 (NEEDED) Shared library: [out/test/x86_64/link-order/libfoo.so] -194: + cc -B. -o out/test/x86_64/link-order/exe out/test/x86_64/link-order/b.o -Wl,--as-needed out/test/x86_64/link-order/libfoo.a out/test/x86_64/link-order/libfoo.so -204: + cc -B. -flto -o /dev/null -xc - -205: ++ '[' Linux = FreeBSD ']' -205: ++ trap 'on_error $LINENO' ERR -205: ++ trap on_exit EXIT -205: ++ echo -n 'Testing lto-archive2 ... ' -205: Testing lto-archive2 ... ++ set -o pipefail -205: ++ set -x -205: + test_cflags -flto=auto -205: + echo 'int main() {}' -205: + cc -B. -flto=auto -o /dev/null -xc - -206: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/lto-archive3.sh -206: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -206: ++ export LC_ALL=C -206: ++ LC_ALL=C -206: ++ '[' -z x86_64 ']' -206: ++ '[' -z '' ']' -206: ++ TESTDIR=out/test/x86_64 -206: ++ CC=cc -206: ++ CXX=c++ -206: ++ GCC=gcc -206: ++ GXX=g++ -206: ++ OBJDUMP=objdump -206: ++ OBJCOPY=objcopy -206: ++ STRIP=strip -206: ++ QEMU= -206: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/lto-archive3.sh .sh -199: + on_exit -199: + echo OK -199: OK -199: + exit 0 -196/402 Test #199: x86_64-linker-script2 ................................. Passed 0.15 sec -207: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/lto-dso.sh test 208 Start 208: x86_64-lto-gcc @@ -13644,6 +13670,7 @@ 208: MACHINE=x86_64 208: CPU= 208: Test timeout computed to be: 1500 +207: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/lto-dso.sh 207: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 207: ++ export LC_ALL=C 207: ++ LC_ALL=C @@ -13659,36 +13686,18 @@ 207: ++ STRIP=strip 207: ++ QEMU= 207: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/lto-dso.sh .sh -206: ++ testname=lto-archive3 -206: ++ t=out/test/x86_64/lto-archive3 -206: ++ mkdir -p out/test/x86_64/lto-archive3 -206: ++ case $MACHINE in -206: ++ tlsdesc_opt=-mtls-dialect=gnu2 -206: +++ uname -206: ++ '[' Linux = FreeBSD ']' -206: ++ trap 'on_error $LINENO' ERR -206: ++ trap on_exit EXIT -206: ++ echo -n 'Testing lto-archive3 ... ' -206: Testing lto-archive3 ... ++ set -o pipefail -206: ++ set -x -206: + test_cflags -flto=auto -198: + out/test/x86_64/linker-script/exe -198: + grep 'Hello world' -206: + echo 'int main() {}' 207: ++ testname=lto-dso 207: ++ t=out/test/x86_64/lto-dso 207: ++ mkdir -p out/test/x86_64/lto-dso -206: + cc -B. -flto=auto -o /dev/null -xc - +207: ++ case $MACHINE in +207: ++ tlsdesc_opt=-mtls-dialect=gnu2 208: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/lto-gcc.sh -193: + out/test/x86_64/library/exe2 -193: + grep 'Hello world' -198: Hello world -198: + cc -B. -o out/test/x86_64/linker-script/exe -Wl,--script,out/test/x86_64/linker-script/script +207: +++ uname +207: ++ '[' Linux = FreeBSD ']' 208: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 208: ++ export LC_ALL=C 208: ++ LC_ALL=C 208: ++ '[' -z x86_64 ']' -193: Hello world 208: ++ '[' -z '' ']' 208: ++ TESTDIR=out/test/x86_64 208: ++ CC=cc @@ -13699,31 +13708,6 @@ 208: ++ OBJCOPY=objcopy 208: ++ STRIP=strip 208: ++ QEMU= -193: + on_exit -193: + echo OK -193: OK -193: + exit 0 -208: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/lto-gcc.sh .sh -197/402 Test #193: x86_64-library ........................................ Passed 0.24 sec -208: ++ testname=lto-gcc -208: ++ t=out/test/x86_64/lto-gcc -208: ++ mkdir -p out/test/x86_64/lto-gcc -test 209 - Start 209: x86_64-lto-llvm - -209: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/lto-llvm.sh" -209: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -209: Environment variables: -209: MACHINE=x86_64 -209: CPU= -209: Test timeout computed to be: 1500 -208: ++ case $MACHINE in -208: ++ tlsdesc_opt=-mtls-dialect=gnu2 -208: +++ uname -207: ++ case $MACHINE in -207: ++ tlsdesc_opt=-mtls-dialect=gnu2 -207: +++ uname -207: ++ '[' Linux = FreeBSD ']' 207: ++ trap 'on_error $LINENO' ERR 207: ++ trap on_exit EXIT 207: ++ echo -n 'Testing lto-dso ... ' @@ -13732,40 +13716,64 @@ 207: + test_cflags -flto 207: + echo 'int main() {}' 207: + cc -B. -flto -o /dev/null -xc - +206: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/lto-archive3.sh +206: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +206: ++ export LC_ALL=C +206: ++ LC_ALL=C +206: ++ '[' -z x86_64 ']' +206: ++ '[' -z '' ']' +206: ++ TESTDIR=out/test/x86_64 +206: ++ CC=cc +206: ++ CXX=c++ +206: ++ GCC=gcc +206: ++ GXX=g++ +206: ++ OBJDUMP=objdump +206: ++ OBJCOPY=objcopy +206: ++ STRIP=strip +206: ++ QEMU= +208: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/lto-gcc.sh .sh +206: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/lto-archive3.sh .sh +197: + cc -B. -o out/test/x86_64/linker-script-relocatable/exe out/test/x86_64/linker-script-relocatable/d.o +208: ++ testname=lto-gcc +208: ++ t=out/test/x86_64/lto-gcc +208: ++ mkdir -p out/test/x86_64/lto-gcc +208: ++ case $MACHINE in +208: ++ tlsdesc_opt=-mtls-dialect=gnu2 202: + on_exit 202: + echo OK 202: OK 202: + exit 0 -203: + cat -209: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/lto-llvm.sh -198/402 Test #202: x86_64-linker-script5 ................................. Passed 0.14 sec -203: + cc -B. -o out/test/x86_64/linker-script6/exe out/test/x86_64/linker-script6/foo/b.script -209: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -209: ++ export LC_ALL=C -209: ++ LC_ALL=C -209: ++ '[' -z x86_64 ']' -209: ++ '[' -z '' ']' -209: ++ TESTDIR=out/test/x86_64 -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/lto-llvm.sh .sh -209: ++ testname=lto-llvm -209: ++ t=out/test/x86_64/lto-llvm -209: ++ mkdir -p out/test/x86_64/lto-llvm +195: + grep 42 +195: + out/test/x86_64/linker-script-defsym/exe +195: 42 +195: + on_exit +195: + echo OK +195: OK +195: + exit 0 +206: ++ testname=lto-archive3 +206: ++ t=out/test/x86_64/lto-archive3 +206: ++ mkdir -p out/test/x86_64/lto-archive3 +197/402 Test #202: x86_64-linker-script5 ................................. Passed 0.58 sec +198: + grep 'Hello world' +208: +++ uname 208: ++ '[' Linux = FreeBSD ']' 208: ++ trap 'on_error $LINENO' ERR 208: ++ trap on_exit EXIT 208: ++ echo -n 'Testing lto-gcc ... ' 208: Testing lto-gcc ... ++ set -o pipefail 208: ++ set -x -208: + echo 'int main() {}' 208: + gcc -B. -flto -o /dev/null -xc - +208: + echo 'int main() {}' +test 209 + Start 209: x86_64-lto-llvm + +209: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/lto-llvm.sh" +209: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +209: Environment variables: +209: MACHINE=x86_64 +209: CPU= +209: Test timeout computed to be: 1500 +198/402 Test #195: x86_64-linker-script-defsym ........................... Passed 0.87 sec test 210 Start 210: x86_64-lto-no-plugin @@ -13775,53 +13783,27 @@ 210: MACHINE=x86_64 210: CPU= 210: Test timeout computed to be: 1500 -209: ++ case $MACHINE in -209: ++ tlsdesc_opt=-mtls-dialect=gnu2 -209: +++ uname -209: ++ '[' Linux = FreeBSD ']' -209: ++ trap 'on_error $LINENO' ERR -209: ++ trap on_exit EXIT -209: ++ echo -n 'Testing lto-llvm ... ' -209: Testing lto-llvm ... ++ set -o pipefail -209: ++ set -x -181: + out/test/x86_64/init-array-priorities/exe -181: + grep 21348756 -209: ++ uname -m -181: 21348756 -210: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/lto-no-plugin.sh -209: + '[' x86_64 = x86_64 ']' -181: + on_exit -181: + echo OK -181: OK -181: + exit 0 -199/402 Test #181: x86_64-init-array-priorities .......................... Passed 0.67 sec -209: + echo 'int main() {}' -209: + clang -B. -flto -o /dev/null -xc - -209: + skip -209: + echo skipped -209: skipped -209: + trap - EXIT -209: + exit 0 -210: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -210: ++ export LC_ALL=C -210: ++ LC_ALL=C -210: ++ '[' -z x86_64 ']' -210: ++ '[' -z '' ']' -210: ++ TESTDIR=out/test/x86_64 -210: ++ CC=cc -210: ++ CXX=c++ -210: ++ GCC=gcc -210: ++ GXX=g++ -210: ++ OBJDUMP=objdump -210: ++ OBJCOPY=objcopy -210: ++ STRIP=strip -210: ++ QEMU= -210: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/lto-no-plugin.sh .sh -210: ++ testname=lto-no-plugin -210: ++ t=out/test/x86_64/lto-no-plugin -210: ++ mkdir -p out/test/x86_64/lto-no-plugin -test 211 - Start 211: x86_64-lto-nostdlib +198: + out/test/x86_64/linker-script/exe +198: Hello world +198: + cc -B. -o out/test/x86_64/linker-script/exe -Wl,--script,out/test/x86_64/linker-script/script +199: + on_exit +199: + echo OK +199: OK +199: + exit 0 +199/402 Test #199: x86_64-linker-script2 ................................. Passed 0.75 sec +206: ++ case $MACHINE in +206: ++ tlsdesc_opt=-mtls-dialect=gnu2 +206: +++ uname +206: ++ '[' Linux = FreeBSD ']' +206: ++ trap 'on_error $LINENO' ERR +206: ++ trap on_exit EXIT +206: ++ echo -n 'Testing lto-archive3 ... ' +206: Testing lto-archive3 ... ++ set -o pipefail +206: ++ set -x +206: + test_cflags -flto=auto +206: + echo 'int main() {}' +test 211 + Start 211: x86_64-lto-nostdlib 211: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/lto-nostdlib.sh" 211: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu @@ -13829,18 +13811,18 @@ 211: MACHINE=x86_64 211: CPU= 211: Test timeout computed to be: 1500 -200/402 Test #209: x86_64-lto-llvm .......................................***Skipped 0.03 sec -210: ++ case $MACHINE in -210: ++ tlsdesc_opt=-mtls-dialect=gnu2 -210: +++ uname -210: ++ '[' Linux = FreeBSD ']' -210: ++ trap 'on_error $LINENO' ERR -210: ++ trap on_exit EXIT -210: ++ echo -n 'Testing lto-no-plugin ... ' -210: Testing lto-no-plugin ... ++ set -o pipefail -210: ++ set -x -210: ++ uname -m -210: + '[' x86_64 = x86_64 ']' +203: + on_exit +203: + echo OK +203: OK +203: + exit 0 +197: + grep Hello +197: + out/test/x86_64/linker-script-relocatable/exe +197: Hello world +197: + on_exit +197: + echo OK +197: OK +197: + exit 0 +200/402 Test #203: x86_64-linker-script6 ................................. Passed 0.60 sec test 212 Start 212: x86_64-lto-version-script @@ -13850,22 +13832,80 @@ 212: MACHINE=x86_64 212: CPU= 212: Test timeout computed to be: 1500 -197: + cat -197: + cc -c -o out/test/x86_64/linker-script-relocatable/b.o -xc - -210: + echo 'int main() {}' -210: + clang -B. -flto -o /dev/null -xc - -210: + skip -210: + echo skipped -210: skipped -210: + trap - EXIT -210: + exit 0 -198: + out/test/x86_64/linker-script/exe -198: + grep 'Hello world' -198: Hello world -198: + on_exit -198: + echo OK -198: OK -198: + exit 0 +206: + cc -B. -flto=auto -o /dev/null -xc - +201/402 Test #197: x86_64-linker-script-relocatable ...................... Passed 0.79 sec +209: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/lto-llvm.sh +test 213 + Start 213: x86_64-main-in-dso + +213: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/main-in-dso.sh" +213: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +213: Environment variables: +213: MACHINE=x86_64 +213: CPU= +213: Test timeout computed to be: 1500 +209: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +209: ++ export LC_ALL=C +209: ++ LC_ALL=C +209: ++ '[' -z x86_64 ']' +209: ++ '[' -z '' ']' +209: ++ TESTDIR=out/test/x86_64 +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/lto-llvm.sh .sh +209: ++ testname=lto-llvm +209: ++ t=out/test/x86_64/lto-llvm +209: ++ mkdir -p out/test/x86_64/lto-llvm +209: ++ case $MACHINE in +209: ++ tlsdesc_opt=-mtls-dialect=gnu2 +209: +++ uname +209: ++ '[' Linux = FreeBSD ']' +209: ++ trap 'on_error $LINENO' ERR +209: ++ trap on_exit EXIT +209: ++ echo -n 'Testing lto-llvm ... ' +209: Testing lto-llvm ... ++ set -o pipefail +209: ++ set -x +210: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/lto-no-plugin.sh +210: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +210: ++ export LC_ALL=C +210: ++ LC_ALL=C +210: ++ '[' -z x86_64 ']' +210: ++ '[' -z '' ']' +210: ++ TESTDIR=out/test/x86_64 +210: ++ CC=cc +210: ++ CXX=c++ +210: ++ GCC=gcc +210: ++ GXX=g++ +210: ++ OBJDUMP=objdump +210: ++ OBJCOPY=objcopy +210: ++ STRIP=strip +210: ++ QEMU= +210: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/lto-no-plugin.sh .sh +212: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/lto-version-script.sh +212: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +212: ++ export LC_ALL=C +212: ++ LC_ALL=C +212: ++ '[' -z x86_64 ']' +212: ++ '[' -z '' ']' +212: ++ TESTDIR=out/test/x86_64 +212: ++ CC=cc +212: ++ CXX=c++ +212: ++ GCC=gcc +212: ++ GXX=g++ +212: ++ OBJDUMP=objdump +212: ++ OBJCOPY=objcopy +212: ++ STRIP=strip +212: ++ QEMU= +212: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/lto-version-script.sh .sh +212: ++ testname=lto-version-script +212: ++ t=out/test/x86_64/lto-version-script +212: ++ mkdir -p out/test/x86_64/lto-version-script 211: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/lto-nostdlib.sh 211: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 211: ++ export LC_ALL=C @@ -13885,38 +13925,21 @@ 211: ++ testname=lto-nostdlib 211: ++ t=out/test/x86_64/lto-nostdlib 211: ++ mkdir -p out/test/x86_64/lto-nostdlib -211: ++ case $MACHINE in -211: ++ tlsdesc_opt=-mtls-dialect=gnu2 -211: +++ uname -211: ++ '[' Linux = FreeBSD ']' -211: ++ trap 'on_error $LINENO' ERR -211: ++ trap on_exit EXIT -211: ++ echo -n 'Testing lto-nostdlib ... ' -211: Testing lto-nostdlib ... ++ set -o pipefail -211: ++ set -x -211: + test_cflags -flto -194: + readelf --dynamic out/test/x86_64/link-order/exe -194: + not grep libfoo -194: + grep libfoo -194: + return 0 -194: + on_exit -194: + echo OK -194: OK -194: + exit 0 -201/402 Test #194: x86_64-link-order ..................................... Passed 0.28 sec -202/402 Test #198: x86_64-linker-script .................................. Passed 0.23 sec -203/402 Test #210: x86_64-lto-no-plugin ..................................***Skipped 0.04 sec -211: + echo 'int main() {}' -211: + cc -B. -flto -o /dev/null -xc - -test 213 - Start 213: x86_64-main-in-dso - -213: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/main-in-dso.sh" -213: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -213: Environment variables: -213: MACHINE=x86_64 -213: CPU= -213: Test timeout computed to be: 1500 +198: + out/test/x86_64/linker-script/exe +198: + grep 'Hello world' +210: ++ testname=lto-no-plugin +210: ++ t=out/test/x86_64/lto-no-plugin +210: ++ mkdir -p out/test/x86_64/lto-no-plugin +209: ++ uname -m +209: + '[' x86_64 = x86_64 ']' +209: + echo 'int main() {}' +209: + clang -B. -flto -o /dev/null -xc - +209: + skip +209: + echo skipped +209: skipped +209: + trap - EXIT +209: + exit 0 +202/402 Test #209: x86_64-lto-llvm .......................................***Skipped 0.07 sec test 214 Start 214: x86_64-many-sections @@ -13926,6 +13949,20 @@ 214: MACHINE=x86_64 214: CPU= 214: Test timeout computed to be: 1500 +211: ++ case $MACHINE in +211: ++ tlsdesc_opt=-mtls-dialect=gnu2 +198: Hello world +210: ++ case $MACHINE in +210: ++ tlsdesc_opt=-mtls-dialect=gnu2 +212: ++ case $MACHINE in +212: ++ tlsdesc_opt=-mtls-dialect=gnu2 +198: + on_exit +198: + echo OK +198: OK +198: + exit 0 +212: +++ uname +213: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/main-in-dso.sh +203/402 Test #198: x86_64-linker-script .................................. Passed 0.86 sec test 215 Start 215: x86_64-many-sections2 @@ -13935,28 +13972,6 @@ 215: MACHINE=x86_64 215: CPU= 215: Test timeout computed to be: 1500 -212: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/lto-version-script.sh -212: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -212: ++ export LC_ALL=C -212: ++ LC_ALL=C -212: ++ '[' -z x86_64 ']' -212: ++ '[' -z '' ']' -212: ++ TESTDIR=out/test/x86_64 -212: ++ CC=cc -212: ++ CXX=c++ -212: ++ GCC=gcc -212: ++ GXX=g++ -212: ++ OBJDUMP=objdump -212: ++ OBJCOPY=objcopy -212: ++ STRIP=strip -212: ++ QEMU= -212: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/lto-version-script.sh .sh -212: ++ testname=lto-version-script -212: ++ t=out/test/x86_64/lto-version-script -212: ++ mkdir -p out/test/x86_64/lto-version-script -212: ++ case $MACHINE in -212: ++ tlsdesc_opt=-mtls-dialect=gnu2 -212: +++ uname 212: ++ '[' Linux = FreeBSD ']' 212: ++ trap 'on_error $LINENO' ERR 212: ++ trap on_exit EXIT @@ -13964,25 +13979,6 @@ 212: Testing lto-version-script ... ++ set -o pipefail 212: ++ set -x 212: + test_cflags -flto -212: + echo 'int main() {}' -212: + cc -B. -flto -o /dev/null -xc - -203: + on_exit -203: + echo OK -203: OK -203: + exit 0 -204/402 Test #203: x86_64-linker-script6 ................................. Passed 0.13 sec -test 216 - Start 216: x86_64-mcmodel-large - -216: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/mcmodel-large.sh" -216: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -216: Environment variables: -216: MACHINE=x86_64 -216: CPU= -216: Test timeout computed to be: 1500 -197: + echo 'INPUT(out/test/x86_64/linker-script-relocatable/a.o out/test/x86_64/linker-script-relocatable/b.o)' -197: + ./mold --relocatable -o out/test/x86_64/linker-script-relocatable/d.o out/test/x86_64/linker-script-relocatable/c.script -213: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/main-in-dso.sh 213: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 213: ++ export LC_ALL=C 213: ++ LC_ALL=C @@ -13997,22 +13993,18 @@ 213: ++ OBJCOPY=objcopy 213: ++ STRIP=strip 213: ++ QEMU= +211: +++ uname +211: ++ '[' Linux = FreeBSD ']' +211: ++ trap 'on_error $LINENO' ERR +211: ++ trap on_exit EXIT +211: ++ echo -n 'Testing lto-nostdlib ... ' +211: Testing lto-nostdlib ... ++ set -o pipefail +211: ++ set -x +211: + test_cflags -flto +211: + echo 'int main() {}' +181: + cat +181: + cc -c -o out/test/x86_64/init-array-priorities/i.o -xc - 213: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/main-in-dso.sh .sh -213: ++ testname=main-in-dso -213: ++ t=out/test/x86_64/main-in-dso -213: ++ mkdir -p out/test/x86_64/main-in-dso -213: ++ case $MACHINE in -213: ++ tlsdesc_opt=-mtls-dialect=gnu2 -213: +++ uname -213: ++ '[' Linux = FreeBSD ']' -213: ++ trap 'on_error $LINENO' ERR -213: ++ trap on_exit EXIT -213: ++ echo -n 'Testing main-in-dso ... ' -213: Testing main-in-dso ... ++ set -o pipefail -213: ++ set -x -213: + '[' x86_64 = ppc64 ']' -213: + cat -213: + cc -o out/test/x86_64/main-in-dso/a.o -c -xc - -fPIC 214: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/many-sections.sh 214: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 214: ++ export LC_ALL=C @@ -14028,7 +14020,43 @@ 214: ++ OBJCOPY=objcopy 214: ++ STRIP=strip 214: ++ QEMU= +210: +++ uname +210: ++ '[' Linux = FreeBSD ']' +210: ++ trap 'on_error $LINENO' ERR +210: ++ trap on_exit EXIT +210: ++ echo -n 'Testing lto-no-plugin ... ' +210: Testing lto-no-plugin ... ++ set -o pipefail +210: ++ set -x +210: ++ uname -m +212: + cc -B. -flto -o /dev/null -xc - +212: + echo 'int main() {}' +210: + '[' x86_64 = x86_64 ']' +214: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/many-sections.sh .sh +214: ++ testname=many-sections +214: ++ t=out/test/x86_64/many-sections +214: ++ mkdir -p out/test/x86_64/many-sections +211: + cc -B. -flto -o /dev/null -xc - +213: ++ testname=main-in-dso +213: ++ t=out/test/x86_64/main-in-dso +213: ++ mkdir -p out/test/x86_64/main-in-dso 215: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/many-sections2.sh +210: + echo 'int main() {}' +210: + clang -B. -flto -o /dev/null -xc - +210: + skip +210: + echo skipped +210: skipped +210: + trap - EXIT +210: + exit 0 +204/402 Test #210: x86_64-lto-no-plugin ..................................***Skipped 0.12 sec +test 216 + Start 216: x86_64-mcmodel-large + +216: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/mcmodel-large.sh" +216: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +216: Environment variables: +216: MACHINE=x86_64 +216: CPU= +216: Test timeout computed to be: 1500 215: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 215: ++ export LC_ALL=C 215: ++ LC_ALL=C @@ -14043,15 +14071,35 @@ 215: ++ OBJCOPY=objcopy 215: ++ STRIP=strip 215: ++ QEMU= -214: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/many-sections.sh .sh -216: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/mcmodel-large.sh +214: ++ case $MACHINE in +214: ++ tlsdesc_opt=-mtls-dialect=gnu2 +213: ++ case $MACHINE in +213: ++ tlsdesc_opt=-mtls-dialect=gnu2 215: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/many-sections2.sh .sh -214: ++ testname=many-sections -214: ++ t=out/test/x86_64/many-sections -214: ++ mkdir -p out/test/x86_64/many-sections +214: +++ uname +214: ++ '[' Linux = FreeBSD ']' +214: ++ trap 'on_error $LINENO' ERR +214: ++ trap on_exit EXIT +214: ++ echo -n 'Testing many-sections ... ' +214: Testing many-sections ... ++ set -o pipefail +214: ++ set -x +213: +++ uname +213: ++ '[' Linux = FreeBSD ']' +213: ++ trap 'on_error $LINENO' ERR +213: ++ trap on_exit EXIT +213: ++ echo -n 'Testing main-in-dso ... ' +213: Testing main-in-dso ... ++ set -o pipefail +213: ++ set -x +213: + '[' x86_64 = ppc64 ']' 215: ++ testname=many-sections2 215: ++ t=out/test/x86_64/many-sections2 215: ++ mkdir -p out/test/x86_64/many-sections2 +216: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/mcmodel-large.sh +213: + cc -o out/test/x86_64/main-in-dso/a.o -c -xc - -fPIC +213: + cat +214: + seq 1 100000 +214: + cc -c -xassembler -o out/test/x86_64/many-sections/a.o - +214: + sed 's/.*/.section .data.\0,"aw"\n.word 0\n/g' 216: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 216: ++ export LC_ALL=C 216: ++ LC_ALL=C @@ -14066,34 +14114,23 @@ 216: ++ OBJCOPY=objcopy 216: ++ STRIP=strip 216: ++ QEMU= +215: ++ case $MACHINE in +215: ++ tlsdesc_opt=-mtls-dialect=gnu2 216: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/mcmodel-large.sh .sh 216: ++ testname=mcmodel-large 216: ++ t=out/test/x86_64/mcmodel-large 216: ++ mkdir -p out/test/x86_64/mcmodel-large -214: ++ case $MACHINE in -214: ++ tlsdesc_opt=-mtls-dialect=gnu2 -215: ++ case $MACHINE in -215: ++ tlsdesc_opt=-mtls-dialect=gnu2 -214: +++ uname 215: +++ uname -216: ++ case $MACHINE in -216: ++ tlsdesc_opt=-mtls-dialect=gnu2 -214: ++ '[' Linux = FreeBSD ']' -214: ++ trap 'on_error $LINENO' ERR -214: ++ trap on_exit EXIT -214: ++ echo -n 'Testing many-sections ... ' -214: Testing many-sections ... ++ set -o pipefail -214: ++ set -x -214: + seq 1 100000 215: ++ '[' Linux = FreeBSD ']' 215: ++ trap 'on_error $LINENO' ERR 215: ++ trap on_exit EXIT -214: + cc -c -xassembler -o out/test/x86_64/many-sections/a.o - -214: + sed 's/.*/.section .data.\0,"aw"\n.word 0\n/g' 215: ++ echo -n 'Testing many-sections2 ... ' 215: Testing many-sections2 ... ++ set -o pipefail 215: ++ set -x +181: + cc -B. -o out/test/x86_64/init-array-priorities/exe out/test/x86_64/init-array-priorities/a.o out/test/x86_64/init-array-priorities/b.o out/test/x86_64/init-array-priorities/c.o out/test/x86_64/init-array-priorities/d.o out/test/x86_64/init-array-priorities/e.o out/test/x86_64/init-array-priorities/f.o out/test/x86_64/init-array-priorities/g.o out/test/x86_64/init-array-priorities/h.o out/test/x86_64/init-array-priorities/i.o 215: + nm mold +216: ++ case $MACHINE in +216: ++ tlsdesc_opt=-mtls-dialect=gnu2 215: + grep __tsan_init 216: +++ uname 216: ++ '[' Linux = FreeBSD ']' @@ -14103,18 +14140,17 @@ 216: Testing mcmodel-large ... ++ set -o pipefail 216: ++ set -x 216: + test_cflags -static -mcmodel=large -197: + cc -B. -o out/test/x86_64/linker-script-relocatable/exe out/test/x86_64/linker-script-relocatable/d.o 216: + echo 'int main() {}' 216: + cc -B. -static -mcmodel=large -o /dev/null -xc - +181: + grep 21348756 213: + cc -B. -shared -o out/test/x86_64/main-in-dso/b.so out/test/x86_64/main-in-dso/a.o -197: + out/test/x86_64/linker-script-relocatable/exe -197: + grep Hello -197: Hello world -197: + on_exit -197: + echo OK -197: OK -197: + exit 0 -205/402 Test #197: x86_64-linker-script-relocatable ...................... Passed 0.39 sec +181: + out/test/x86_64/init-array-priorities/exe +181: 21348756 +181: + on_exit +181: + echo OK +181: OK +181: + exit 0 +205/402 Test #181: x86_64-init-array-priorities .......................... Passed 1.66 sec test 217 Start 217: x86_64-mergeable-strings @@ -14124,6 +14160,8 @@ 217: MACHINE=x86_64 217: CPU= 217: Test timeout computed to be: 1500 +213: + cc -o out/test/x86_64/main-in-dso/c.o -c -xc /dev/null -fPIC +215: + echo 'foo = 0x1000' 217: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/mergeable-strings.sh 217: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 217: ++ export LC_ALL=C @@ -14139,6 +14177,8 @@ 217: ++ OBJCOPY=objcopy 217: ++ STRIP=strip 217: ++ QEMU= +215: + seq 1 100000 +215: + sed 's/.*/.section .data.&,"aw"\n.globl x&\nx&: .word 0\n/g' 217: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/mergeable-strings.sh .sh 217: ++ testname=mergeable-strings 217: ++ t=out/test/x86_64/mergeable-strings @@ -14154,67 +14194,30 @@ 217: ++ set -x 217: + cat 217: + cc -o out/test/x86_64/mergeable-strings/a.o -c -xc - -O2 -215: + echo 'foo = 0x1000' -215: + seq 1 100000 -215: + sed 's/.*/.section .data.&,"aw"\n.globl x&\nx&: .word 0\n/g' -213: + cc -o out/test/x86_64/main-in-dso/c.o -c -xc /dev/null -fPIC -207: + cat -207: + cc -flto -c -fPIC -o out/test/x86_64/lto-dso/a.o -xc - -205: + echo -205: + cc -o out/test/x86_64/lto-archive2/a.o -c -flto=auto -xc - -217: + cat -217: + cc -o out/test/x86_64/mergeable-strings/b.o -c -xc - -O2 +215: + cc -c -xassembler -o out/test/x86_64/many-sections2/a.o out/test/x86_64/many-sections2/a.s +213: + cc -B. -o out/test/x86_64/main-in-dso/exe1 out/test/x86_64/main-in-dso/c.o out/test/x86_64/main-in-dso/b.so -pie 216: + cat -204: + cat -206: + cat -206: + cc -o out/test/x86_64/lto-archive3/a.o -c -xc - -flto 216: + cc -o out/test/x86_64/mcmodel-large/a.o -c -xc - -fno-PIC -mcmodel=large -204: + cc -o out/test/x86_64/lto-archive/a.o -c -flto -xc - -213: + cc -B. -o out/test/x86_64/main-in-dso/exe1 out/test/x86_64/main-in-dso/c.o out/test/x86_64/main-in-dso/b.so -pie -208: + cat -208: + gcc -flto -c -o out/test/x86_64/lto-gcc/a.o -xc - -205: + rm -f out/test/x86_64/lto-archive2/b.a -205: + ar rc out/test/x86_64/lto-archive2/b.a out/test/x86_64/lto-archive2/a.o -207: + cc -B. -shared -o out/test/x86_64/lto-dso/b.so -flto out/test/x86_64/lto-dso/a.o -206: + rm -f out/test/x86_64/lto-archive3/b.a -204: + cat -204: + cc -o out/test/x86_64/lto-archive/b.o -c -flto -xc - -206: + ar rc out/test/x86_64/lto-archive3/b.a out/test/x86_64/lto-archive3/a.o -205: + cc -o out/test/x86_64/lto-archive2/c.o -c -xc - -205: + cat -217: + cc -o out/test/x86_64/mergeable-strings/exe1 out/test/x86_64/mergeable-strings/a.o out/test/x86_64/mergeable-strings/b.o -no-pie -206: + ar rc out/test/x86_64/lto-archive3/c.a out/test/x86_64/lto-archive3/a.o -216: + cc -B. -o out/test/x86_64/mcmodel-large/exe out/test/x86_64/mcmodel-large/a.o -static -211: + cat -211: + cc -flto -c -o out/test/x86_64/lto-nostdlib/a.o -xc - -206: + cat -206: + cc -o out/test/x86_64/lto-archive3/c.o -c -xc - -208: + gcc -B. -o out/test/x86_64/lto-gcc/exe1 -flto out/test/x86_64/lto-gcc/a.o -212: + cat -212: + cc -flto -c -fPIC -o out/test/x86_64/lto-version-script/a.o -xc - -213: + out/test/x86_64/main-in-dso/exe1 -205: + cc -B. -o out/test/x86_64/lto-archive2/exe -flto=auto out/test/x86_64/lto-archive2/c.o out/test/x86_64/lto-archive2/b.a +217: + cat +217: + cc -o out/test/x86_64/mergeable-strings/b.o -c -xc - -O2 213: + grep 'Hello world' +213: + out/test/x86_64/main-in-dso/exe1 213: Hello world 213: + cc -o out/test/x86_64/main-in-dso/c.o -c -xc /dev/null -fno-PIC -204: + rm -f out/test/x86_64/lto-archive/c.a -211: + cc -B. -o out/test/x86_64/lto-nostdlib/exe -flto out/test/x86_64/lto-nostdlib/a.o -nostdlib -204: + ar rc out/test/x86_64/lto-archive/c.a out/test/x86_64/lto-archive/a.o out/test/x86_64/lto-archive/b.o -204: + cc -o out/test/x86_64/lto-archive/d.o -c -flto -xc - -204: + cat +217: + cc -o out/test/x86_64/mergeable-strings/exe1 out/test/x86_64/mergeable-strings/a.o out/test/x86_64/mergeable-strings/b.o -no-pie +216: + cc -B. -o out/test/x86_64/mcmodel-large/exe out/test/x86_64/mcmodel-large/a.o -static 217: + out/test/x86_64/mergeable-strings/exe1 217: + grep -E '^(\S+) \1 (\S+) \2 (\S+) \3 (\S+) \4$' -215: + cc -c -xassembler -o out/test/x86_64/many-sections2/a.o out/test/x86_64/many-sections2/a.s 217: 0x40201c 0x40201c 0x402004 0x402004 0x402014 0x402014 0x402004 0x402004 217: + cc -B. -o out/test/x86_64/mergeable-strings/exe2 out/test/x86_64/mergeable-strings/a.o out/test/x86_64/mergeable-strings/b.o -no-pie -216: + grep 'Hello world' 216: + out/test/x86_64/mcmodel-large/exe +216: + grep 'Hello world' 216: Hello world 216: + on_exit 216: + echo OK 216: OK 216: + exit 0 -206/402 Test #216: x86_64-mcmodel-large .................................. Passed 0.26 sec +206/402 Test #216: x86_64-mcmodel-large .................................. Passed 0.64 sec test 218 Start 218: x86_64-missing-but-ok @@ -14224,10 +14227,14 @@ 218: MACHINE=x86_64 218: CPU= 218: Test timeout computed to be: 1500 -212: + cat -212: + cc -B. -shared -o out/test/x86_64/lto-version-script/c.so -flto out/test/x86_64/lto-version-script/a.o -Wl,-version-script=out/test/x86_64/lto-version-script/b.script -206: + cc -B. -o out/test/x86_64/lto-archive3/exe -flto out/test/x86_64/lto-archive3/c.o out/test/x86_64/lto-archive3/b.a out/test/x86_64/lto-archive3/c.a +217: + grep -E '^(\S+) \1 (\S+) \2 (\S+) \3 (\S+) \4$' +217: + out/test/x86_64/mergeable-strings/exe2 218: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/missing-but-ok.sh +217: 0x200520 0x200520 0x200548 0x200548 0x20053e 0x20053e 0x200548 0x200548 +217: + on_exit +217: + echo OK +217: OK +217: + exit 0 218: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 218: ++ export LC_ALL=C 218: ++ LC_ALL=C @@ -14242,31 +14249,7 @@ 218: ++ OBJCOPY=objcopy 218: ++ STRIP=strip 218: ++ QEMU= -218: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/missing-but-ok.sh .sh -218: ++ testname=missing-but-ok -218: ++ t=out/test/x86_64/missing-but-ok -218: ++ mkdir -p out/test/x86_64/missing-but-ok -218: ++ case $MACHINE in -213: + cc -B. -o out/test/x86_64/main-in-dso/exe2 out/test/x86_64/main-in-dso/c.o out/test/x86_64/main-in-dso/b.so -no-pie -218: ++ tlsdesc_opt=-mtls-dialect=gnu2 -218: +++ uname -218: ++ '[' Linux = FreeBSD ']' -218: ++ trap 'on_error $LINENO' ERR -218: ++ trap on_exit EXIT -218: ++ echo -n 'Testing missing-but-ok ... ' -218: Testing missing-but-ok ... ++ set -o pipefail -218: ++ set -x -218: + cat -218: + cc -o out/test/x86_64/missing-but-ok/a.o -c -x assembler - -204: + cc -B. -o out/test/x86_64/lto-archive/exe -flto out/test/x86_64/lto-archive/d.o out/test/x86_64/lto-archive/c.a -205: + on_exit -205: + echo OK -205: OK -205: + exit 0 -217: + out/test/x86_64/mergeable-strings/exe2 -207/402 Test #205: x86_64-lto-archive2 ................................... Passed 0.43 sec -218: + ./mold -o out/test/x86_64/missing-but-ok/exe out/test/x86_64/missing-but-ok/a.o -217: + grep -E '^(\S+) \1 (\S+) \2 (\S+) \3 (\S+) \4$' +207/402 Test #217: x86_64-mergeable-strings .............................. Passed 0.51 sec test 219 Start 219: x86_64-missing-error @@ -14276,22 +14259,15 @@ 219: MACHINE=x86_64 219: CPU= 219: Test timeout computed to be: 1500 -217: 0x200520 0x200520 0x200548 0x200548 0x20053e 0x20053e 0x200548 0x200548 -217: + on_exit -217: + echo OK -217: OK -217: + exit 0 -208/402 Test #217: x86_64-mergeable-strings .............................. Passed 0.23 sec +218: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/missing-but-ok.sh .sh +218: ++ testname=missing-but-ok +218: ++ t=out/test/x86_64/missing-but-ok +218: ++ mkdir -p out/test/x86_64/missing-but-ok +218: ++ case $MACHINE in +218: ++ tlsdesc_opt=-mtls-dialect=gnu2 +214: + cat +214: + cc -c -xc -o out/test/x86_64/many-sections/b.o - 219: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/missing-error.sh -test 220 - Start 220: x86_64-mold-wrapper - -220: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/mold-wrapper.sh" -220: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -220: Environment variables: -220: MACHINE=x86_64 -220: CPU= -220: Test timeout computed to be: 1500 219: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 219: ++ export LC_ALL=C 219: ++ LC_ALL=C @@ -14306,10 +14282,20 @@ 219: ++ OBJCOPY=objcopy 219: ++ STRIP=strip 219: ++ QEMU= +218: +++ uname +213: + cc -B. -o out/test/x86_64/main-in-dso/exe2 out/test/x86_64/main-in-dso/c.o out/test/x86_64/main-in-dso/b.so -no-pie +218: ++ '[' Linux = FreeBSD ']' +218: ++ trap 'on_error $LINENO' ERR +218: ++ trap on_exit EXIT +218: ++ echo -n 'Testing missing-but-ok ... ' +218: Testing missing-but-ok ... ++ set -o pipefail +218: ++ set -x 219: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/missing-error.sh .sh 219: ++ testname=missing-error 219: ++ t=out/test/x86_64/missing-error 219: ++ mkdir -p out/test/x86_64/missing-error +218: + cat +218: + cc -o out/test/x86_64/missing-but-ok/a.o -c -x assembler - 219: ++ case $MACHINE in 219: ++ tlsdesc_opt=-mtls-dialect=gnu2 219: +++ uname @@ -14319,9 +14305,42 @@ 219: ++ echo -n 'Testing missing-error ... ' 219: Testing missing-error ... ++ set -o pipefail 219: ++ set -x -219: + cat 219: + cc -o out/test/x86_64/missing-error/a.o -c -xc - +219: + cat +218: + ./mold -o out/test/x86_64/missing-but-ok/exe out/test/x86_64/missing-but-ok/a.o +218: + on_exit +218: + echo OK +218: OK +218: + exit 0 +208/402 Test #218: x86_64-missing-but-ok ................................. Passed 0.14 sec +test 220 + Start 220: x86_64-mold-wrapper + +220: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/mold-wrapper.sh" +220: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +220: Environment variables: +220: MACHINE=x86_64 +220: CPU= +220: Test timeout computed to be: 1500 +213: + grep 'Hello world' +213: + out/test/x86_64/main-in-dso/exe2 +213: Hello world +213: + on_exit +213: + echo OK +213: OK +213: + exit 0 +209/402 Test #213: x86_64-main-in-dso .................................... Passed 0.92 sec 220: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/mold-wrapper.sh +219: + not ./mold -o out/test/x86_64/missing-error/exe out/test/x86_64/missing-error/a.o +test 221 + Start 221: x86_64-mold-wrapper2 + +221: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/mold-wrapper2.sh" +221: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +221: Environment variables: +221: MACHINE=x86_64 +221: CPU= +221: Test timeout computed to be: 1500 220: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 220: ++ export LC_ALL=C 220: ++ LC_ALL=C @@ -14337,37 +14356,10 @@ 220: ++ STRIP=strip 220: ++ QEMU= 220: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/mold-wrapper.sh .sh -218: + on_exit -218: + echo OK -218: OK -218: + exit 0 -209/402 Test #218: x86_64-missing-but-ok ................................. Passed 0.08 sec 220: ++ testname=mold-wrapper 220: ++ t=out/test/x86_64/mold-wrapper 220: ++ mkdir -p out/test/x86_64/mold-wrapper -test 221 - Start 221: x86_64-mold-wrapper2 - -221: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/mold-wrapper2.sh" -221: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -221: Environment variables: -221: MACHINE=x86_64 -221: CPU= -221: Test timeout computed to be: 1500 -220: ++ case $MACHINE in -220: ++ tlsdesc_opt=-mtls-dialect=gnu2 -213: + grep 'Hello world' -213: + out/test/x86_64/main-in-dso/exe2 -220: +++ uname -220: ++ '[' Linux = FreeBSD ']' -220: ++ trap 'on_error $LINENO' ERR -220: ++ trap on_exit EXIT -220: ++ echo -n 'Testing mold-wrapper ... ' -220: Testing mold-wrapper ... ++ set -o pipefail -220: ++ set -x -220: + '[' cc = cc ']' -220: + ldd mold-wrapper.so -220: + grep libasan +214: + cc -B. -o out/test/x86_64/many-sections/exe out/test/x86_64/many-sections/a.o out/test/x86_64/many-sections/b.o 221: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/mold-wrapper2.sh 221: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 221: ++ export LC_ALL=C @@ -14383,27 +14375,12 @@ 221: ++ OBJCOPY=objcopy 221: ++ STRIP=strip 221: ++ QEMU= +220: ++ case $MACHINE in +220: ++ tlsdesc_opt=-mtls-dialect=gnu2 221: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/mold-wrapper2.sh .sh 221: ++ testname=mold-wrapper2 221: ++ t=out/test/x86_64/mold-wrapper2 221: ++ mkdir -p out/test/x86_64/mold-wrapper2 -220: + nm mold -220: + grep '__[at]san_init' -213: Hello world -213: + on_exit -213: + echo OK -213: OK -213: + exit 0 -210/402 Test #213: x86_64-main-in-dso .................................... Passed 0.39 sec -test 222 - Start 222: x86_64-nmagic - -222: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/nmagic.sh" -222: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -222: Environment variables: -222: MACHINE=x86_64 -222: CPU= -222: Test timeout computed to be: 1500 221: ++ case $MACHINE in 221: ++ tlsdesc_opt=-mtls-dialect=gnu2 221: +++ uname @@ -14414,27 +14391,35 @@ 221: Testing mold-wrapper2 ... ++ set -o pipefail 221: ++ set -x 221: + ldd mold-wrapper.so +220: +++ uname +219: + grep 'undefined symbol: foo' out/test/x86_64/missing-error/log 221: + grep libasan -207: + '[' x86_64 = ppc64 ']' -207: + nm -D out/test/x86_64/lto-dso/b.so -207: + grep 'T foo' -207: 00000000000015d9 T foo -207: + on_exit -207: + echo OK -207: OK -207: + exit 0 -211/402 Test #207: x86_64-lto-dso ........................................ Passed 0.47 sec -221: + nm mold -221: + grep '__[at]san_init' -test 223 - Start 223: x86_64-no-allow-shlib-undefined +220: ++ '[' Linux = FreeBSD ']' +220: ++ trap 'on_error $LINENO' ERR +220: ++ trap on_exit EXIT +220: ++ echo -n 'Testing mold-wrapper ... ' +220: Testing mold-wrapper ... ++ set -o pipefail +220: ++ set -x +220: + '[' cc = cc ']' +219: mold: error: undefined symbol: foo +219: + grep '>>> .*a\.o' out/test/x86_64/missing-error/log +220: + ldd mold-wrapper.so +220: + grep libasan +219: >>> out/test/x86_64/missing-error/a.o:(main) +219: + on_exit +219: + echo OK +219: OK +219: + exit 0 +210/402 Test #219: x86_64-missing-error .................................. Passed 0.21 sec +test 222 + Start 222: x86_64-nmagic -223: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/no-allow-shlib-undefined.sh" -223: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -223: Environment variables: -223: MACHINE=x86_64 -223: CPU= -223: Test timeout computed to be: 1500 +222: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/nmagic.sh" +222: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +222: Environment variables: +222: MACHINE=x86_64 +222: CPU= +222: Test timeout computed to be: 1500 222: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/nmagic.sh 222: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 222: ++ export LC_ALL=C @@ -14450,62 +14435,57 @@ 222: ++ OBJCOPY=objcopy 222: ++ STRIP=strip 222: ++ QEMU= +221: + nm mold +221: + grep '__[at]san_init' 222: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/nmagic.sh .sh -219: + not ./mold -o out/test/x86_64/missing-error/exe out/test/x86_64/missing-error/a.o 222: ++ testname=nmagic 222: ++ t=out/test/x86_64/nmagic 222: ++ mkdir -p out/test/x86_64/nmagic -223: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/no-allow-shlib-undefined.sh -223: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -223: ++ export LC_ALL=C -223: ++ LC_ALL=C -223: ++ '[' -z x86_64 ']' -223: ++ '[' -z '' ']' -223: ++ TESTDIR=out/test/x86_64 -223: ++ CC=cc -223: ++ CXX=c++ -223: ++ GCC=gcc -223: ++ GXX=g++ -223: ++ OBJDUMP=objdump -223: ++ OBJCOPY=objcopy -223: ++ STRIP=strip -223: ++ QEMU= +220: + nm mold +220: + grep '__[at]san_init' 222: ++ case $MACHINE in 222: ++ tlsdesc_opt=-mtls-dialect=gnu2 222: +++ uname -223: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/no-allow-shlib-undefined.sh .sh -223: ++ testname=no-allow-shlib-undefined -223: ++ t=out/test/x86_64/no-allow-shlib-undefined 222: ++ '[' Linux = FreeBSD ']' -223: ++ mkdir -p out/test/x86_64/no-allow-shlib-undefined 222: ++ trap 'on_error $LINENO' ERR 222: ++ trap on_exit EXIT 222: ++ echo -n 'Testing nmagic ... ' 222: Testing nmagic ... ++ set -o pipefail 222: ++ set -x -222: + cat 222: + cc -o out/test/x86_64/nmagic/a.o -c -xc - -223: ++ case $MACHINE in -223: ++ tlsdesc_opt=-mtls-dialect=gnu2 -223: +++ uname -223: ++ '[' Linux = FreeBSD ']' -223: ++ trap 'on_error $LINENO' ERR -223: ++ trap on_exit EXIT -223: ++ echo -n 'Testing no-allow-shlib-undefined ... ' -223: Testing no-allow-shlib-undefined ... ++ set -o pipefail -223: ++ set -x -223: + cat -223: + cc -B. -shared -fPIC -o out/test/x86_64/no-allow-shlib-undefined/libfoo.so -xc - -219: + grep 'undefined symbol: foo' out/test/x86_64/missing-error/log -219: mold: error: undefined symbol: foo -219: + grep '>>> .*a\.o' out/test/x86_64/missing-error/log -219: >>> out/test/x86_64/missing-error/a.o:(main) -219: + on_exit -219: + echo OK -219: OK -219: + exit 0 -211: + readelf -Ws out/test/x86_64/lto-nostdlib/exe -212/402 Test #219: x86_64-missing-error .................................. Passed 0.10 sec +214: + out/test/x86_64/many-sections/exe +222: + cat +214: + grep Hello +214: Hello +214: + on_exit +214: + echo OK +214: OK +214: + exit 0 +221: + ./mold -run bash -c 'echo $LD_PRELOAD' +211/402 Test #214: x86_64-many-sections .................................. Passed 1.07 sec +test 223 + Start 223: x86_64-no-allow-shlib-undefined + +223: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/no-allow-shlib-undefined.sh" +223: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +223: Environment variables: +223: MACHINE=x86_64 +223: CPU= +223: Test timeout computed to be: 1500 +221: + grep -F mold-wrapper.so +221: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so +221: + on_exit +221: + echo OK +221: OK +221: + exit 0 +220: + cat +220: + chmod 755 out/test/x86_64/mold-wrapper/a.sh +212/402 Test #221: x86_64-mold-wrapper2 .................................. Passed 0.22 sec +223: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/no-allow-shlib-undefined.sh +223: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +223: ++ export LC_ALL=C +223: ++ LC_ALL=C +223: ++ '[' -z x86_64 ']' test 224 Start 224: x86_64-no-eh-frame-header @@ -14515,14 +14495,22 @@ 224: MACHINE=x86_64 224: CPU= 224: Test timeout computed to be: 1500 -211: + grep -E ' _start' -222: + cc -B. -o out/test/x86_64/nmagic/exe1 out/test/x86_64/nmagic/a.o -nostdlib -Wl,-nmagic -211: 47: 0000000000001378 7 FUNC LOCAL DEFAULT 8 _start -211: + on_exit -211: + echo OK -211: OK -211: + exit 0 -213/402 Test #211: x86_64-lto-nostdlib ................................... Passed 0.47 sec +223: ++ '[' -z '' ']' +223: ++ TESTDIR=out/test/x86_64 +223: ++ CC=cc +223: ++ CXX=c++ +223: ++ GCC=gcc +223: ++ GXX=g++ +223: ++ OBJDUMP=objdump +223: ++ OBJCOPY=objcopy +223: ++ STRIP=strip +223: ++ QEMU= +223: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/no-allow-shlib-undefined.sh .sh +223: ++ testname=no-allow-shlib-undefined +223: ++ t=out/test/x86_64/no-allow-shlib-undefined +223: ++ mkdir -p out/test/x86_64/no-allow-shlib-undefined +220: + cc -xc -o out/test/x86_64/mold-wrapper/exe - +220: + cat 224: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/no-eh-frame-header.sh 224: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 224: ++ export LC_ALL=C @@ -14539,15 +14527,6 @@ 224: ++ STRIP=strip 224: ++ QEMU= 224: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/no-eh-frame-header.sh .sh -test 225 - Start 225: x86_64-no-object-file - -225: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/no-object-file.sh" -225: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -225: Environment variables: -225: MACHINE=x86_64 -225: CPU= -225: Test timeout computed to be: 1500 224: ++ testname=no-eh-frame-header 224: ++ t=out/test/x86_64/no-eh-frame-header 224: ++ mkdir -p out/test/x86_64/no-eh-frame-header @@ -14560,15 +14539,53 @@ 224: ++ echo -n 'Testing no-eh-frame-header ... ' 224: Testing no-eh-frame-header ... ++ set -o pipefail 224: ++ set -x -224: + cat 224: + cc -o out/test/x86_64/no-eh-frame-header/a.o -c -xc - -208: + out/test/x86_64/lto-gcc/exe1 -208: + grep 'Hello world' -208: Hello world -208: + cat -208: + gcc -flto -ffat-lto-objects -c -o out/test/x86_64/lto-gcc/b.o -xc - -225: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/no-object-file.sh +223: ++ case $MACHINE in +223: ++ tlsdesc_opt=-mtls-dialect=gnu2 +223: +++ uname +223: ++ '[' Linux = FreeBSD ']' +223: ++ trap 'on_error $LINENO' ERR +223: ++ trap on_exit EXIT +223: ++ echo -n 'Testing no-allow-shlib-undefined ... ' +223: Testing no-allow-shlib-undefined ... ++ set -o pipefail +223: ++ set -x +223: + cc -B. -shared -fPIC -o out/test/x86_64/no-allow-shlib-undefined/libfoo.so -xc - +224: + cat +223: + cat +215: + ./mold --relocatable -o out/test/x86_64/many-sections2/b.o out/test/x86_64/many-sections2/a.o +222: + cc -B. -o out/test/x86_64/nmagic/exe1 out/test/x86_64/nmagic/a.o -nostdlib -Wl,-nmagic +224: + cc -B. -Wl,--no-eh-frame-hdr -Wl,--thread-count=1 -O0 -o out/test/x86_64/no-eh-frame-header/exe out/test/x86_64/no-eh-frame-header/a.o +204: + cat +204: + cc -o out/test/x86_64/lto-archive/a.o -c -flto -xc - +223: + cc -B. -shared -fPIC -o out/test/x86_64/no-allow-shlib-undefined/libbar.so -xc - +223: + cat 222: + cc -B. -o out/test/x86_64/nmagic/exe2 out/test/x86_64/nmagic/a.o -nostdlib +224: + readelf -WS out/test/x86_64/no-eh-frame-header/exe +224: + not grep -F .eh_frame_hdr +224: + grep -F .eh_frame_hdr +224: + return 0 +224: + out/test/x86_64/no-eh-frame-header/exe +224: + on_exit +224: + echo OK +224: OK +224: + exit 0 +213/402 Test #224: x86_64-no-eh-frame-header ............................. Passed 0.34 sec +test 225 + Start 225: x86_64-no-object-file + +225: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/no-object-file.sh" +225: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +225: Environment variables: +225: MACHINE=x86_64 +225: CPU= +225: Test timeout computed to be: 1500 +220: + grep 'a.sh execl' +220: ++ pwd +220: + LD_PRELOAD=/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so +220: + MOLD_PATH=out/test/x86_64/mold-wrapper/a.sh +220: + out/test/x86_64/mold-wrapper/exe execl +225: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/no-object-file.sh +222: ++ cut '-d ' -f1 225: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 225: ++ export LC_ALL=C 225: ++ LC_ALL=C @@ -14583,28 +14600,39 @@ 225: ++ OBJCOPY=objcopy 225: ++ STRIP=strip 225: ++ QEMU= +220: out/test/x86_64/mold-wrapper/a.sh execl +222: ++ grep ' end$' +222: ++ nm out/test/x86_64/nmagic/exe1 +220: + grep 'a.sh execlp' +222: + end1=0000000000000410 +220: ++ pwd +220: + LD_PRELOAD=/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so +220: + MOLD_PATH=out/test/x86_64/mold-wrapper/a.sh 225: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/no-object-file.sh .sh +220: + out/test/x86_64/mold-wrapper/exe execlp 225: ++ testname=no-object-file 225: ++ t=out/test/x86_64/no-object-file 225: ++ mkdir -p out/test/x86_64/no-object-file +222: ++ nm out/test/x86_64/nmagic/exe2 +222: ++ cut '-d ' -f1 +222: ++ grep ' end$' +220: out/test/x86_64/mold-wrapper/a.sh execlp +222: + end2=0000000000003480 +222: + '[' 1040 -lt 13440 ']' +222: + on_exit +222: + echo OK +222: OK +222: + exit 0 225: ++ case $MACHINE in 225: ++ tlsdesc_opt=-mtls-dialect=gnu2 225: +++ uname 225: ++ '[' Linux = FreeBSD ']' 225: ++ trap 'on_error $LINENO' ERR 225: ++ trap on_exit EXIT +214/402 Test #222: x86_64-nmagic ......................................... Passed 0.58 sec 225: ++ echo -n 'Testing no-object-file ... ' 225: Testing no-object-file ... ++ set -o pipefail 225: ++ set -x -225: + cat -225: + cc -x assembler -c -o out/test/x86_64/no-object-file/a.o - -225: + rm -f out/test/x86_64/no-object-file/a.a -206: + on_exit -206: + echo OK -206: OK -206: + exit 0 -225: + ar rcs out/test/x86_64/no-object-file/a.a out/test/x86_64/no-object-file/a.o -214/402 Test #206: x86_64-lto-archive3 ................................... Passed 0.57 sec test 226 Start 226: x86_64-no-quick-exit @@ -14614,13 +14642,8 @@ 226: MACHINE=x86_64 226: CPU= 226: Test timeout computed to be: 1500 -224: + cc -B. -Wl,--no-eh-frame-hdr -Wl,--thread-count=1 -O0 -o out/test/x86_64/no-eh-frame-header/exe out/test/x86_64/no-eh-frame-header/a.o +225: + cat 226: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/no-quick-exit.sh -204: + out/test/x86_64/lto-archive/exe -204: + grep 'Hello world' -225: + ./mold -o out/test/x86_64/no-object-file/exe out/test/x86_64/no-object-file/a.a -208: + grep -- -fwpa -208: + gcc -B. -o out/test/x86_64/lto-gcc/exe2 out/test/x86_64/lto-gcc/b.o --verbose 226: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 226: ++ export LC_ALL=C 226: ++ LC_ALL=C @@ -14642,36 +14665,65 @@ 226: ++ case $MACHINE in 226: ++ tlsdesc_opt=-mtls-dialect=gnu2 226: +++ uname -204: Hello world -204: + nm out/test/x86_64/lto-archive/exe -223: + cat -223: + cc -B. -shared -fPIC -o out/test/x86_64/no-allow-shlib-undefined/libbar.so -xc - 226: ++ '[' Linux = FreeBSD ']' 226: ++ trap 'on_error $LINENO' ERR 226: ++ trap on_exit EXIT 226: ++ echo -n 'Testing no-quick-exit ... ' 226: Testing no-quick-exit ... ++ set -o pipefail 226: ++ set -x -226: + cc -o out/test/x86_64/no-quick-exit/a.o -c -xc - -212: + '[' x86_64 = ppc64 ']' +220: + grep 'a.sh execle' 226: + cat -204: + grep hello out/test/x86_64/lto-archive/log -212: + nm -D out/test/x86_64/lto-version-script/c.so -204: 000000000000172e t hello -204: + not grep howdy out/test/x86_64/lto-archive/log -204: + grep howdy out/test/x86_64/lto-archive/log -212: + grep 'T foo' -204: + return 0 -204: + on_exit -222: ++ nm out/test/x86_64/nmagic/exe1 -212: 00000000000015f9 T foo -212: + nm -D out/test/x86_64/lto-version-script/c.so +225: + cc -x assembler -c -o out/test/x86_64/no-object-file/a.o - +226: + cc -o out/test/x86_64/no-quick-exit/a.o -c -xc - +225: + rm -f out/test/x86_64/no-object-file/a.a +225: + ar rcs out/test/x86_64/no-object-file/a.a out/test/x86_64/no-object-file/a.o +220: ++ pwd +220: + LD_PRELOAD=/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so +220: + MOLD_PATH=out/test/x86_64/mold-wrapper/a.sh +220: + out/test/x86_64/mold-wrapper/exe execle +220: out/test/x86_64/mold-wrapper/a.sh execle +220: + grep 'a.sh execv' +220: ++ pwd +220: + LD_PRELOAD=/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so +220: + MOLD_PATH=out/test/x86_64/mold-wrapper/a.sh +220: + out/test/x86_64/mold-wrapper/exe execv +220: out/test/x86_64/mold-wrapper/a.sh execv +225: + ./mold -o out/test/x86_64/no-object-file/exe out/test/x86_64/no-object-file/a.a +220: + grep 'a.sh execvp' +220: ++ pwd +220: + LD_PRELOAD=/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so +220: + MOLD_PATH=out/test/x86_64/mold-wrapper/a.sh +220: + out/test/x86_64/mold-wrapper/exe execvp +220: out/test/x86_64/mold-wrapper/a.sh execvp +220: + grep 'a.sh execvpe bar' +226: + cc -B. -o out/test/x86_64/no-quick-exit/exe out/test/x86_64/no-quick-exit/a.o -Wl,-no-quick-exit 225: mold: warning: entry symbol is not defined: _start -204: + echo OK -204: OK -204: + exit 0 -222: ++ cut '-d ' -f1 -215/402 Test #204: x86_64-lto-archive .................................... Passed 0.60 sec +212: + cat +225: + on_exit +225: + echo OK +225: OK +225: + exit 0 +205: + cc -o out/test/x86_64/lto-archive2/a.o -c -flto=auto -xc - +205: + echo +212: + cc -flto -c -fPIC -o out/test/x86_64/lto-version-script/a.o -xc - +220: ++ pwd +220: + LD_PRELOAD=/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so +220: + MOLD_PATH=out/test/x86_64/mold-wrapper/a.sh +220: + out/test/x86_64/mold-wrapper/exe execvpe +220: out/test/x86_64/mold-wrapper/a.sh execvpe bar +220: + on_exit +220: + echo OK +220: OK +220: + exit 0 +211: + cc -flto -c -o out/test/x86_64/lto-nostdlib/a.o -xc - +211: + cat +204: + cat +208: + cat +208: + gcc -flto -c -o out/test/x86_64/lto-gcc/a.o -xc - +206: + cat +206: + cc -o out/test/x86_64/lto-archive3/a.o -c -xc - -flto +215/402 Test #225: x86_64-no-object-file ................................. Passed 0.20 sec +216/402 Test #220: x86_64-mold-wrapper ................................... Passed 0.81 sec test 227 Start 227: x86_64-no-undefined-version @@ -14681,15 +14733,6 @@ 227: MACHINE=x86_64 227: CPU= 227: Test timeout computed to be: 1500 -225: + on_exit -225: + echo OK -225: OK -225: + exit 0 -222: ++ grep ' end$' -212: + not grep 'T bar' -212: + grep 'T bar' -216/402 Test #225: x86_64-no-object-file ................................. Passed 0.06 sec -212: + return 0 test 228 Start 228: x86_64-nocopyreloc @@ -14699,24 +14742,29 @@ 228: MACHINE=x86_64 228: CPU= 228: Test timeout computed to be: 1500 -212: + on_exit -212: + echo OK -212: OK -212: + exit 0 -222: + end1=0000000000000410 -222: ++ nm out/test/x86_64/nmagic/exe2 -222: ++ grep ' end$' +207: + cat +207: + cc -flto -c -fPIC -o out/test/x86_64/lto-dso/a.o -xc - +204: + cc -o out/test/x86_64/lto-archive/b.o -c -flto -xc - +205: + rm -f out/test/x86_64/lto-archive2/b.a +205: + ar rc out/test/x86_64/lto-archive2/b.a out/test/x86_64/lto-archive2/a.o +212: + cat +212: + cc -B. -shared -o out/test/x86_64/lto-version-script/c.so -flto out/test/x86_64/lto-version-script/a.o -Wl,-version-script=out/test/x86_64/lto-version-script/b.script +228: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/nocopyreloc.sh +228: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +228: ++ export LC_ALL=C +228: ++ LC_ALL=C +228: ++ '[' -z x86_64 ']' +228: ++ '[' -z '' ']' +228: ++ TESTDIR=out/test/x86_64 +228: ++ CC=cc +228: ++ CXX=c++ +228: ++ GCC=gcc +228: ++ GXX=g++ +228: ++ OBJDUMP=objdump +228: ++ OBJCOPY=objcopy +228: ++ STRIP=strip +228: ++ QEMU= 227: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/no-undefined-version.sh -217/402 Test #212: x86_64-lto-version-script ............................. Passed 0.53 sec -test 229 - Start 229: x86_64-noinhibit-exec - -229: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/noinhibit-exec.sh" -229: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -229: Environment variables: -229: MACHINE=x86_64 -229: CPU= -229: Test timeout computed to be: 1500 227: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 227: ++ export LC_ALL=C 227: ++ LC_ALL=C @@ -14732,63 +14780,10 @@ 227: ++ STRIP=strip 227: ++ QEMU= 227: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/no-undefined-version.sh .sh -222: ++ cut '-d ' -f1 -222: + end2=0000000000003480 -222: + '[' 1040 -lt 13440 ']' -222: + on_exit -222: + echo OK -222: OK -222: + exit 0 -228: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/nocopyreloc.sh -228: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -228: ++ export LC_ALL=C -228: ++ LC_ALL=C -228: ++ '[' -z x86_64 ']' -228: ++ '[' -z '' ']' -228: ++ TESTDIR=out/test/x86_64 -228: ++ CC=cc -228: ++ CXX=c++ -228: ++ GCC=gcc -228: ++ GXX=g++ -228: ++ OBJDUMP=objdump -228: ++ OBJCOPY=objcopy -228: ++ STRIP=strip -228: ++ QEMU= 228: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/nocopyreloc.sh .sh -218/402 Test #222: x86_64-nmagic ......................................... Passed 0.12 sec -227: ++ testname=no-undefined-version -227: ++ t=out/test/x86_64/no-undefined-version -227: ++ mkdir -p out/test/x86_64/no-undefined-version -227: ++ case $MACHINE in -227: ++ tlsdesc_opt=-mtls-dialect=gnu2 -227: +++ uname 228: ++ testname=nocopyreloc 228: ++ t=out/test/x86_64/nocopyreloc 228: ++ mkdir -p out/test/x86_64/nocopyreloc -220: + cat -220: + chmod 755 out/test/x86_64/mold-wrapper/a.sh -229: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/noinhibit-exec.sh -229: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -229: ++ export LC_ALL=C -229: ++ LC_ALL=C -test 230 - Start 230: x86_64-non-canonical-plt - -230: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/non-canonical-plt.sh" -230: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -230: Environment variables: -230: MACHINE=x86_64 -230: CPU= -230: Test timeout computed to be: 1500 -227: ++ '[' Linux = FreeBSD ']' -227: ++ trap 'on_error $LINENO' ERR -227: ++ trap on_exit EXIT -227: ++ echo -n 'Testing no-undefined-version ... ' -227: Testing no-undefined-version ... ++ set -o pipefail -227: ++ set -x -227: + echo 'ver_x { global: foo; };' -227: + cat -227: + cc -o out/test/x86_64/no-undefined-version/b.o -c -xc - 228: ++ case $MACHINE in 228: ++ tlsdesc_opt=-mtls-dialect=gnu2 228: +++ uname @@ -14806,8 +14801,52 @@ 228: + '[' x86_64 = sh4 ']' 228: + [[ x86_64 = loongarch* ]] 228: + cat -220: + cat -220: + cc -xc -o out/test/x86_64/mold-wrapper/exe - +227: ++ testname=no-undefined-version +227: ++ t=out/test/x86_64/no-undefined-version +227: ++ mkdir -p out/test/x86_64/no-undefined-version +223: + cat +228: + cc -shared -o out/test/x86_64/nocopyreloc/a.so -xc - +223: + cc -c -o out/test/x86_64/no-allow-shlib-undefined/a.o -c -xc - +226: + grep 'Hello world' +226: + out/test/x86_64/no-quick-exit/exe +226: Hello world +226: + on_exit +226: + echo OK +226: OK +226: + exit 0 +217/402 Test #226: x86_64-no-quick-exit .................................. Passed 0.29 sec +test 229 + Start 229: x86_64-noinhibit-exec + +229: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/noinhibit-exec.sh" +229: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +229: Environment variables: +229: MACHINE=x86_64 +229: CPU= +229: Test timeout computed to be: 1500 +227: ++ case $MACHINE in +227: ++ tlsdesc_opt=-mtls-dialect=gnu2 +208: + gcc -B. -o out/test/x86_64/lto-gcc/exe1 -flto out/test/x86_64/lto-gcc/a.o +207: + cc -B. -shared -o out/test/x86_64/lto-dso/b.so -flto out/test/x86_64/lto-dso/a.o +204: + rm -f out/test/x86_64/lto-archive/c.a +204: + ar rc out/test/x86_64/lto-archive/c.a out/test/x86_64/lto-archive/a.o out/test/x86_64/lto-archive/b.o +206: + rm -f out/test/x86_64/lto-archive3/b.a +205: + cat +211: + cc -B. -o out/test/x86_64/lto-nostdlib/exe -flto out/test/x86_64/lto-nostdlib/a.o -nostdlib +227: +++ uname +205: + cc -o out/test/x86_64/lto-archive2/c.o -c -xc - +227: ++ '[' Linux = FreeBSD ']' +227: ++ trap 'on_error $LINENO' ERR +227: ++ trap on_exit EXIT +227: ++ echo -n 'Testing no-undefined-version ... ' +227: Testing no-undefined-version ... ++ set -o pipefail +227: ++ set -x +227: + echo 'ver_x { global: foo; };' +229: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/noinhibit-exec.sh +206: + ar rc out/test/x86_64/lto-archive3/b.a out/test/x86_64/lto-archive3/a.o +229: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +229: ++ export LC_ALL=C +229: ++ LC_ALL=C 229: ++ '[' -z x86_64 ']' 229: ++ '[' -z '' ']' 229: ++ TESTDIR=out/test/x86_64 @@ -14819,27 +14858,61 @@ 229: ++ OBJCOPY=objcopy 229: ++ STRIP=strip 229: ++ QEMU= +227: + cc -o out/test/x86_64/no-undefined-version/b.o -c -xc - +227: + cat 229: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/noinhibit-exec.sh .sh -224: + readelf -WS out/test/x86_64/no-eh-frame-header/exe -224: + not grep -F .eh_frame_hdr -224: + grep -F .eh_frame_hdr 229: ++ testname=noinhibit-exec 229: ++ t=out/test/x86_64/noinhibit-exec 229: ++ mkdir -p out/test/x86_64/noinhibit-exec -224: + return 0 -228: + cc -shared -o out/test/x86_64/nocopyreloc/a.so -xc - -226: + cc -B. -o out/test/x86_64/no-quick-exit/exe out/test/x86_64/no-quick-exit/a.o -Wl,-no-quick-exit -224: + out/test/x86_64/no-eh-frame-header/exe 229: ++ case $MACHINE in 229: ++ tlsdesc_opt=-mtls-dialect=gnu2 -224: + on_exit -224: + echo OK -224: OK -224: + exit 0 -221: + grep -F mold-wrapper.so -221: + ./mold -run bash -c 'echo $LD_PRELOAD' +215: + readelf -WS out/test/x86_64/many-sections2/b.o 229: +++ uname -219/402 Test #224: x86_64-no-eh-frame-header ............................. Passed 0.11 sec +229: ++ '[' Linux = FreeBSD ']' +229: ++ trap 'on_error $LINENO' ERR +229: ++ trap on_exit EXIT +229: ++ echo -n 'Testing noinhibit-exec ... ' +229: Testing noinhibit-exec ... ++ set -o pipefail +229: ++ set -x +229: + cat +229: + cc -o out/test/x86_64/noinhibit-exec/a.o -c -xc - -fno-PIC +206: + ar rc out/test/x86_64/lto-archive3/c.a out/test/x86_64/lto-archive3/a.o +215: + grep -F .data.100000 out/test/x86_64/many-sections2/log1 +204: + cat +204: + cc -o out/test/x86_64/lto-archive/d.o -c -flto -xc - +215: [ 9] .data.100000 PROGBITS 0000000000000000 00004e 000002 00 WA 0 0 1 +215: + readelf -Ws out/test/x86_64/many-sections2/b.o +227: + grep -F 'a.ver: cannot assign version `ver_x` to symbol `foo`: symbol not found' +206: + cat +227: + cc -B. -o out/test/x86_64/no-undefined-version/exe -Wl,--version-script,out/test/x86_64/no-undefined-version/a.ver out/test/x86_64/no-undefined-version/b.o +206: + cc -o out/test/x86_64/lto-archive3/c.o -c -xc - +223: + cc -B. -o out/test/x86_64/no-allow-shlib-undefined/exe1 out/test/x86_64/no-allow-shlib-undefined/a.o -Wl,--no-allow-shlib-undefined -Lout/test/x86_64/no-allow-shlib-undefined -lfoo -lbar +205: + cc -B. -o out/test/x86_64/lto-archive2/exe -flto=auto out/test/x86_64/lto-archive2/c.o out/test/x86_64/lto-archive2/b.a +229: + cc -B. -shared -o out/test/x86_64/noinhibit-exec/b.so out/test/x86_64/noinhibit-exec/a.o +206: + cc -B. -o out/test/x86_64/lto-archive3/exe -flto out/test/x86_64/lto-archive3/c.o out/test/x86_64/lto-archive3/b.a out/test/x86_64/lto-archive3/c.a +204: + cc -B. -o out/test/x86_64/lto-archive/exe -flto out/test/x86_64/lto-archive/d.o out/test/x86_64/lto-archive/c.a +228: + cc -fno-PIC -c -o out/test/x86_64/nocopyreloc/b.o -xc - +228: + cat +205: + on_exit +205: + echo OK +205: OK +205: + exit 0 +227: mold: warning: out/test/x86_64/no-undefined-version/a.ver: cannot assign version `ver_x` to symbol `foo`: symbol not found +227: + on_exit +227: + echo OK +227: OK +227: + exit 0 +218/402 Test #227: x86_64-no-undefined-version ........................... Passed 0.39 sec +test 230 + Start 230: x86_64-non-canonical-plt + +230: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/non-canonical-plt.sh" +230: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +230: Environment variables: +230: MACHINE=x86_64 +230: CPU= +230: Test timeout computed to be: 1500 +219/402 Test #205: x86_64-lto-archive2 ................................... Passed 2.60 sec test 231 Start 231: x86_64-nostdlib @@ -14849,14 +14922,6 @@ 231: MACHINE=x86_64 231: CPU= 231: Test timeout computed to be: 1500 -229: ++ '[' Linux = FreeBSD ']' -229: ++ trap 'on_error $LINENO' ERR -229: ++ trap on_exit EXIT -229: ++ echo -n 'Testing noinhibit-exec ... ' -229: Testing noinhibit-exec ... ++ set -o pipefail -229: ++ set -x -229: + cat -229: + cc -o out/test/x86_64/noinhibit-exec/a.o -c -xc - -fno-PIC 230: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/non-canonical-plt.sh 230: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 230: ++ export LC_ALL=C @@ -14876,32 +14941,6 @@ 230: ++ testname=non-canonical-plt 230: ++ t=out/test/x86_64/non-canonical-plt 230: ++ mkdir -p out/test/x86_64/non-canonical-plt -221: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so -221: + on_exit -221: + echo OK -221: OK -221: + exit 0 -230: ++ case $MACHINE in -230: ++ tlsdesc_opt=-mtls-dialect=gnu2 -230: +++ uname -220/402 Test #221: x86_64-mold-wrapper2 .................................. Passed 0.19 sec -test 232 - Start 232: x86_64-oformat-binary - -232: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/oformat-binary.sh" -232: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -232: Environment variables: -232: MACHINE=x86_64 -232: CPU= -232: Test timeout computed to be: 1500 -230: ++ '[' Linux = FreeBSD ']' -230: ++ trap 'on_error $LINENO' ERR -230: ++ trap on_exit EXIT -230: ++ echo -n 'Testing non-canonical-plt ... ' -230: Testing non-canonical-plt ... ++ set -o pipefail -230: ++ set -x -230: + cat -230: + cc -o out/test/x86_64/non-canonical-plt/a.so -fPIC -shared -xc - 231: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/nostdlib.sh 231: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 231: ++ export LC_ALL=C @@ -14921,13 +14960,108 @@ 231: ++ testname=nostdlib 231: ++ t=out/test/x86_64/nostdlib 231: ++ mkdir -p out/test/x86_64/nostdlib +230: ++ case $MACHINE in +230: ++ tlsdesc_opt=-mtls-dialect=gnu2 +229: + grep 'undefined symbol: no-such-sym' +212: + '[' x86_64 = ppc64 ']' +212: + grep 'T foo' +212: + nm -D out/test/x86_64/lto-version-script/c.so +212: 00000000000015f9 T foo +223: + not cc -B. -o out/test/x86_64/no-allow-shlib-undefined/exe2 out/test/x86_64/no-allow-shlib-undefined/a.o -Wl,--no-allow-shlib-undefined -Lout/test/x86_64/no-allow-shlib-undefined -lbar +212: + not grep 'T bar' +212: + grep 'T bar' +229: + not cc -B. -o out/test/x86_64/noinhibit-exec/b.so out/test/x86_64/noinhibit-exec/a.o -Wl,-require-defined=no-such-sym +212: + nm -D out/test/x86_64/lto-version-script/c.so +230: +++ uname +228: + cc -B. -no-pie -o out/test/x86_64/nocopyreloc/exe out/test/x86_64/nocopyreloc/a.so out/test/x86_64/nocopyreloc/b.o +212: + return 0 +212: + on_exit +212: + echo OK +212: OK +212: + exit 0 +220/402 Test #212: x86_64-lto-version-script ............................. Passed 2.15 sec +test 232 + Start 232: x86_64-oformat-binary + +232: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/oformat-binary.sh" +232: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +232: Environment variables: +232: MACHINE=x86_64 +232: CPU= +232: Test timeout computed to be: 1500 231: ++ case $MACHINE in 231: ++ tlsdesc_opt=-mtls-dialect=gnu2 231: +++ uname 231: ++ '[' Linux = FreeBSD ']' 231: ++ trap 'on_error $LINENO' ERR 231: ++ trap on_exit EXIT +231: ++ echo -n 'Testing nostdlib ... ' +231: Testing nostdlib ... ++ set -o pipefail +231: ++ set -x +230: ++ '[' Linux = FreeBSD ']' +230: ++ trap 'on_error $LINENO' ERR +230: ++ trap on_exit EXIT +230: ++ echo -n 'Testing non-canonical-plt ... ' +230: Testing non-canonical-plt ... ++ set -o pipefail +230: ++ set -x +230: + cat +230: + cc -o out/test/x86_64/non-canonical-plt/a.so -fPIC -shared -xc - +215: + grep -F 'GLOBAL DEFAULT 100000' out/test/x86_64/many-sections2/log2 +215: 200005: 0000000000000000 0 NOTYPE GLOBAL DEFAULT 100000 x99996 +215: + grep -F 'ABS foo' out/test/x86_64/many-sections2/log2 +211: + readelf -Ws out/test/x86_64/lto-nostdlib/exe +211: + grep -E ' _start' +211: 47: 0000000000001378 7 FUNC LOCAL DEFAULT 8 _start +211: + on_exit +211: + echo OK +211: OK +211: + exit 0 +231: + cat +221/402 Test #211: x86_64-lto-nostdlib ................................... Passed 2.17 sec +test 233 + Start 233: x86_64-omagic + +233: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/omagic.sh" +233: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +233: Environment variables: +233: MACHINE=x86_64 +233: CPU= +233: Test timeout computed to be: 1500 +215: 100009: 0000000000001000 0 NOTYPE LOCAL DEFAULT ABS foo +215: + not grep -F 'ABS x68966' out/test/x86_64/many-sections2/log2 +215: + grep -F 'ABS x68966' out/test/x86_64/many-sections2/log2 +215: + return 0 +215: + on_exit +215: + echo OK +215: OK +215: + exit 0 +231: + cc -o out/test/x86_64/nostdlib/a.o -c -xc - -fno-PIE +222/402 Test #215: x86_64-many-sections2 ................................. Passed 2.10 sec +test 234 + Start 234: x86_64-package-metadata + +234: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/package-metadata.sh" +234: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +234: Environment variables: +234: MACHINE=x86_64 +234: CPU= +234: Test timeout computed to be: 1500 232: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/oformat-binary.sh +234: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/package-metadata.sh +234: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +234: ++ export LC_ALL=C +234: ++ LC_ALL=C +234: ++ '[' -z x86_64 ']' +234: ++ '[' -z '' ']' +234: ++ TESTDIR=out/test/x86_64 +234: ++ CC=cc +234: ++ CXX=c++ +234: ++ GCC=gcc +234: ++ GXX=g++ +234: ++ OBJDUMP=objdump +234: ++ OBJCOPY=objcopy +234: ++ STRIP=strip +234: ++ QEMU= 232: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 232: ++ export LC_ALL=C 232: ++ LC_ALL=C @@ -14942,19 +15076,16 @@ 232: ++ OBJCOPY=objcopy 232: ++ STRIP=strip 232: ++ QEMU= -231: ++ echo -n 'Testing nostdlib ... ' -231: Testing nostdlib ... ++ set -o pipefail -231: ++ set -x -231: + cat -231: + cc -o out/test/x86_64/nostdlib/a.o -c -xc - -fno-PIE 232: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/oformat-binary.sh .sh 232: ++ testname=oformat-binary 232: ++ t=out/test/x86_64/oformat-binary 232: ++ mkdir -p out/test/x86_64/oformat-binary -223: + cat -223: + cc -c -o out/test/x86_64/no-allow-shlib-undefined/a.o -c -xc - +229: mold: error: --require-defined: undefined symbol: no-such-sym +208: + grep 'Hello world' +208: + out/test/x86_64/lto-gcc/exe1 232: ++ case $MACHINE in 232: ++ tlsdesc_opt=-mtls-dialect=gnu2 +208: Hello world 232: +++ uname 232: ++ '[' Linux = FreeBSD ']' 232: ++ trap 'on_error $LINENO' ERR @@ -14962,26 +15093,26 @@ 232: ++ echo -n 'Testing oformat-binary ... ' 232: Testing oformat-binary ... ++ set -o pipefail 232: ++ set -x -232: + cc -o out/test/x86_64/oformat-binary/a.o -c -xc - -fno-PIE 232: + cat -226: + out/test/x86_64/no-quick-exit/exe -226: + grep 'Hello world' -226: Hello world -226: + on_exit -226: + echo OK -226: OK -226: + exit 0 -221/402 Test #226: x86_64-no-quick-exit .................................. Passed 0.12 sec -test 233 - Start 233: x86_64-omagic - -233: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/omagic.sh" -233: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -233: Environment variables: -233: MACHINE=x86_64 -233: CPU= -233: Test timeout computed to be: 1500 +229: + cc -B. -shared -o out/test/x86_64/noinhibit-exec/b.o out/test/x86_64/noinhibit-exec/a.o -Wl,-require-defined=no-such-sym,-noinhibit-exec 233: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/omagic.sh +206: + on_exit +206: + echo OK +206: OK +206: + exit 0 +223/402 Test #206: x86_64-lto-archive3 ................................... Passed 2.28 sec +test 235 + Start 235: x86_64-physical-image-base + +235: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/physical-image-base.sh" +235: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +235: Environment variables: +235: MACHINE=x86_64 +235: CPU= +235: Test timeout computed to be: 1500 +207: + '[' x86_64 = ppc64 ']' +207: + grep 'T foo' +207: + nm -D out/test/x86_64/lto-dso/b.so 233: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 233: ++ export LC_ALL=C 233: ++ LC_ALL=C @@ -14997,166 +15128,54 @@ 233: ++ STRIP=strip 233: ++ QEMU= 233: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/omagic.sh .sh -233: ++ testname=omagic -233: ++ t=out/test/x86_64/omagic -233: ++ mkdir -p out/test/x86_64/omagic -233: ++ case $MACHINE in -233: ++ tlsdesc_opt=-mtls-dialect=gnu2 -233: +++ uname -233: ++ '[' Linux = FreeBSD ']' -233: ++ trap 'on_error $LINENO' ERR -233: ++ trap on_exit EXIT -233: ++ echo -n 'Testing omagic ... ' -233: Testing omagic ... ++ set -o pipefail -233: ++ set -x -233: + test_cflags -static -233: + echo 'int main() {}' -233: + cc -B. -static -o /dev/null -xc - -232: + ./mold -o out/test/x86_64/oformat-binary/exe out/test/x86_64/oformat-binary/a.o --oformat=binary -Ttext=0x4000 -Map=out/test/x86_64/oformat-binary/map -223: + cc -B. -o out/test/x86_64/no-allow-shlib-undefined/exe1 out/test/x86_64/no-allow-shlib-undefined/a.o -Wl,--no-allow-shlib-undefined -Lout/test/x86_64/no-allow-shlib-undefined -lfoo -lbar -229: + cc -B. -shared -o out/test/x86_64/noinhibit-exec/b.so out/test/x86_64/noinhibit-exec/a.o -227: + grep -F 'a.ver: cannot assign version `ver_x` to symbol `foo`: symbol not found' -227: + cc -B. -o out/test/x86_64/no-undefined-version/exe -Wl,--version-script,out/test/x86_64/no-undefined-version/a.ver out/test/x86_64/no-undefined-version/b.o -231: + ./mold -o out/test/x86_64/nostdlib/exe out/test/x86_64/nostdlib/a.o -232: + grep -E '^\s+0x4000\s+[0-9]+\s+[0-9]+\s+\.text$' out/test/x86_64/oformat-binary/map -232: 0x4000 7 1 .text -232: + not grep -F .strtab out/test/x86_64/oformat-binary/map -232: + grep -F .strtab out/test/x86_64/oformat-binary/map -232: + return 0 -232: + not grep -F .shstrtab out/test/x86_64/oformat-binary/map -232: + grep -F .shstrtab out/test/x86_64/oformat-binary/map -231: + readelf -W --sections out/test/x86_64/nostdlib/exe -232: + return 0 -232: + not grep -F .symtab out/test/x86_64/oformat-binary/map -232: + grep -F .symtab out/test/x86_64/oformat-binary/map -230: + cat -230: + cc -o out/test/x86_64/non-canonical-plt/b.o -c -xc - -fPIC -232: + return 0 -232: + not grep -F .comment out/test/x86_64/oformat-binary/map -232: + grep -F .comment out/test/x86_64/oformat-binary/map -232: + return 0 -232: + on_exit -232: + echo OK -232: OK -232: + exit 0 -222/402 Test #232: x86_64-oformat-binary ................................. Passed 0.12 sec -test 234 - Start 234: x86_64-package-metadata - -234: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/package-metadata.sh" -234: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -234: Environment variables: -234: MACHINE=x86_64 -234: CPU= -234: Test timeout computed to be: 1500 -234: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/package-metadata.sh -234: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -234: ++ export LC_ALL=C -234: ++ LC_ALL=C -234: ++ '[' -z x86_64 ']' -234: ++ '[' -z '' ']' -234: ++ TESTDIR=out/test/x86_64 -234: ++ CC=cc -234: ++ CXX=c++ -234: ++ GCC=gcc -234: ++ GXX=g++ -234: ++ OBJDUMP=objdump -234: ++ OBJCOPY=objcopy -234: ++ STRIP=strip -234: ++ QEMU= 234: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/package-metadata.sh .sh 234: ++ testname=package-metadata 234: ++ t=out/test/x86_64/package-metadata 234: ++ mkdir -p out/test/x86_64/package-metadata -231: + not grep -F ' .dynsym ' out/test/x86_64/nostdlib/log -231: + grep -F ' .dynsym ' out/test/x86_64/nostdlib/log +208: + cat +208: + gcc -flto -ffat-lto-objects -c -o out/test/x86_64/lto-gcc/b.o -xc - +229: + grep 'undefined symbol: no-such-sym' +232: + cc -o out/test/x86_64/oformat-binary/a.o -c -xc - -fno-PIE +228: + grep '3 5' +228: + out/test/x86_64/nocopyreloc/exe +228: 3 5 +233: ++ testname=omagic +233: ++ t=out/test/x86_64/omagic +233: ++ mkdir -p out/test/x86_64/omagic +228: + not cc -B. -o out/test/x86_64/nocopyreloc/exe out/test/x86_64/nocopyreloc/a.so out/test/x86_64/nocopyreloc/b.o -no-pie -Wl,-z,nocopyreloc 234: ++ case $MACHINE in 234: ++ tlsdesc_opt=-mtls-dialect=gnu2 +207: 00000000000015d9 T foo +207: + on_exit +207: + echo OK +207: OK +207: + exit 0 +224/402 Test #207: x86_64-lto-dso ........................................ Passed 2.28 sec +test 236 + Start 236: x86_64-pie + +236: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/pie.sh" +236: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +236: Environment variables: +236: MACHINE=x86_64 +236: CPU= +236: Test timeout computed to be: 1500 234: +++ uname -229: + not cc -B. -o out/test/x86_64/noinhibit-exec/b.so out/test/x86_64/noinhibit-exec/a.o -Wl,-require-defined=no-such-sym -228: + cc -fno-PIC -c -o out/test/x86_64/nocopyreloc/b.o -xc - -231: + return 0 -231: + not grep -F ' .dynstr ' out/test/x86_64/nostdlib/log -231: + grep -F ' .dynstr ' out/test/x86_64/nostdlib/log -228: + cat 234: ++ '[' Linux = FreeBSD ']' 234: ++ trap 'on_error $LINENO' ERR 234: ++ trap on_exit EXIT 234: ++ echo -n 'Testing package-metadata ... ' 234: Testing package-metadata ... ++ set -o pipefail 234: ++ set -x -229: + grep 'undefined symbol: no-such-sym' -234: + cat 234: + cc -o out/test/x86_64/package-metadata/a.o -c -xc - -220: ++ pwd -220: + grep 'a.sh execl' -220: + LD_PRELOAD=/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so -220: + MOLD_PATH=out/test/x86_64/mold-wrapper/a.sh -220: + out/test/x86_64/mold-wrapper/exe execl -231: + return 0 -231: + on_exit -231: + echo OK -231: OK -231: + exit 0 -223/402 Test #231: x86_64-nostdlib ....................................... Passed 0.17 sec -test 235 - Start 235: x86_64-physical-image-base - -235: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/physical-image-base.sh" -235: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -235: Environment variables: -235: MACHINE=x86_64 -235: CPU= -235: Test timeout computed to be: 1500 -220: out/test/x86_64/mold-wrapper/a.sh execl -220: ++ pwd -220: + grep 'a.sh execlp' -220: + LD_PRELOAD=/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so -220: + MOLD_PATH=out/test/x86_64/mold-wrapper/a.sh -220: + out/test/x86_64/mold-wrapper/exe execlp -220: out/test/x86_64/mold-wrapper/a.sh execlp -220: ++ pwd -220: + grep 'a.sh execle' -220: + LD_PRELOAD=/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so -220: + MOLD_PATH=out/test/x86_64/mold-wrapper/a.sh -220: + out/test/x86_64/mold-wrapper/exe execle -220: out/test/x86_64/mold-wrapper/a.sh execle -220: + grep 'a.sh execv' -220: ++ pwd -220: + LD_PRELOAD=/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so -220: + MOLD_PATH=out/test/x86_64/mold-wrapper/a.sh -220: + out/test/x86_64/mold-wrapper/exe execv -220: out/test/x86_64/mold-wrapper/a.sh execv -220: + grep 'a.sh execvp' -220: ++ pwd -220: + LD_PRELOAD=/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so -220: + MOLD_PATH=out/test/x86_64/mold-wrapper/a.sh -220: + out/test/x86_64/mold-wrapper/exe execvp -220: out/test/x86_64/mold-wrapper/a.sh execvp -220: + grep 'a.sh execvpe bar' -220: ++ pwd -220: + LD_PRELOAD=/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so -220: + MOLD_PATH=out/test/x86_64/mold-wrapper/a.sh -220: + out/test/x86_64/mold-wrapper/exe execvpe -220: out/test/x86_64/mold-wrapper/a.sh execvpe bar -220: + on_exit -220: + echo OK -220: OK -220: + exit 0 -224/402 Test #220: x86_64-mold-wrapper ................................... Passed 0.41 sec +234: + cat +231: + ./mold -o out/test/x86_64/nostdlib/exe out/test/x86_64/nostdlib/a.o +228: + grep 'recompile with -fPIC' +223: + grep -F 'undefined symbol: foo' out/test/x86_64/no-allow-shlib-undefined/log 235: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/physical-image-base.sh 235: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 235: ++ export LC_ALL=C 235: ++ LC_ALL=C -test 236 - Start 236: x86_64-pie - -236: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/pie.sh" -236: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -236: Environment variables: -236: MACHINE=x86_64 -236: CPU= -236: Test timeout computed to be: 1500 235: ++ '[' -z x86_64 ']' 235: ++ '[' -z '' ']' 235: ++ TESTDIR=out/test/x86_64 @@ -15168,21 +15187,24 @@ 235: ++ OBJCOPY=objcopy 235: ++ STRIP=strip 235: ++ QEMU= -235: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/physical-image-base.sh .sh -235: ++ testname=physical-image-base -235: ++ t=out/test/x86_64/physical-image-base -235: ++ mkdir -p out/test/x86_64/physical-image-base -223: + not cc -B. -o out/test/x86_64/no-allow-shlib-undefined/exe2 out/test/x86_64/no-allow-shlib-undefined/a.o -Wl,--no-allow-shlib-undefined -Lout/test/x86_64/no-allow-shlib-undefined -lbar -227: mold: warning: out/test/x86_64/no-undefined-version/a.ver: cannot assign version `ver_x` to symbol `foo`: symbol not found -227: + on_exit -227: + echo OK -227: OK -227: + exit 0 -235: ++ case $MACHINE in -235: ++ tlsdesc_opt=-mtls-dialect=gnu2 -229: mold: error: --require-defined: undefined symbol: no-such-sym -235: +++ uname -225/402 Test #227: x86_64-no-undefined-version ........................... Passed 0.28 sec +232: + ./mold -o out/test/x86_64/oformat-binary/exe out/test/x86_64/oformat-binary/a.o --oformat=binary -Ttext=0x4000 -Map=out/test/x86_64/oformat-binary/map +233: ++ case $MACHINE in +233: ++ tlsdesc_opt=-mtls-dialect=gnu2 +233: +++ uname +233: ++ '[' Linux = FreeBSD ']' +233: ++ trap 'on_error $LINENO' ERR +233: ++ trap on_exit EXIT +233: ++ echo -n 'Testing omagic ... ' +233: Testing omagic ... ++ set -o pipefail +233: ++ set -x +233: + test_cflags -static +233: + cc -B. -static -o /dev/null -xc - +223: mold: error: out/test/x86_64/no-allow-shlib-undefined/libbar.so: --no-allow-shlib-undefined: undefined symbol: foo +223: + on_exit +223: + echo OK +223: OK +223: + exit 0 +225/402 Test #223: x86_64-no-allow-shlib-undefined ....................... Passed 1.10 sec test 237 Start 237: x86_64-plt-dso @@ -15192,10 +15214,17 @@ 237: MACHINE=x86_64 237: CPU= 237: Test timeout computed to be: 1500 -229: + grep 'undefined symbol: no-such-sym' -229: + cc -B. -shared -o out/test/x86_64/noinhibit-exec/b.o out/test/x86_64/noinhibit-exec/a.o -Wl,-require-defined=no-such-sym,-noinhibit-exec -230: + cat -230: + cc -o out/test/x86_64/non-canonical-plt/c.o -c -xc - -fPIC +235: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/physical-image-base.sh .sh +235: ++ testname=physical-image-base +235: ++ t=out/test/x86_64/physical-image-base +235: ++ mkdir -p out/test/x86_64/physical-image-base +232: + grep -E '^\s+0x4000\s+[0-9]+\s+[0-9]+\s+\.text$' out/test/x86_64/oformat-binary/map +232: 0x4000 7 1 .text +232: + not grep -F .strtab out/test/x86_64/oformat-binary/map +232: + grep -F .strtab out/test/x86_64/oformat-binary/map +232: + return 0 +232: + not grep -F .shstrtab out/test/x86_64/oformat-binary/map +232: + grep -F .shstrtab out/test/x86_64/oformat-binary/map 236: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/pie.sh 236: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 236: ++ export LC_ALL=C @@ -15212,22 +15241,30 @@ 236: ++ STRIP=strip 236: ++ QEMU= 236: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/pie.sh .sh -235: ++ '[' Linux = FreeBSD ']' -235: ++ trap 'on_error $LINENO' ERR -235: ++ trap on_exit EXIT -235: ++ echo -n 'Testing physical-image-base ... ' -235: Testing physical-image-base ... ++ set -o pipefail -235: ++ set -x -235: + '[' x86_64 = ppc64 ']' -235: + echo abab -235: + grep -E '(ab)\1' +204: + grep 'Hello world' +204: + out/test/x86_64/lto-archive/exe +229: mold: warning: --require-defined: undefined symbol: no-such-sym +229: + on_exit +229: + echo OK +229: OK +229: + exit 0 +230: + cc -o out/test/x86_64/non-canonical-plt/b.o -c -xc - -fPIC +230: + cat 234: + cc -B. -o out/test/x86_64/package-metadata/exe1 out/test/x86_64/package-metadata/a.o '-Wl,-package-metadata={"foo":"bar"}' -236: ++ testname=pie -236: ++ t=out/test/x86_64/pie -235: abab -236: ++ mkdir -p out/test/x86_64/pie +226/402 Test #229: x86_64-noinhibit-exec ................................. Passed 0.39 sec +231: + readelf -W --sections out/test/x86_64/nostdlib/exe 237: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/plt-dso.sh -235: + cc -o out/test/x86_64/physical-image-base/a.o -c -xc - +test 238 + Start 238: x86_64-plt-symbols + +238: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/plt-symbols.sh" +238: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +238: Environment variables: +238: MACHINE=x86_64 +238: CPU= +238: Test timeout computed to be: 1500 +231: + not grep -F ' .dynsym ' out/test/x86_64/nostdlib/log +231: + grep -F ' .dynsym ' out/test/x86_64/nostdlib/log 237: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 237: ++ export LC_ALL=C 237: ++ LC_ALL=C @@ -15236,62 +15273,112 @@ 237: ++ TESTDIR=out/test/x86_64 237: ++ CC=cc 237: ++ CXX=c++ -236: ++ case $MACHINE in -236: ++ tlsdesc_opt=-mtls-dialect=gnu2 237: ++ GCC=gcc 237: ++ GXX=g++ 237: ++ OBJDUMP=objdump 237: ++ OBJCOPY=objcopy 237: ++ STRIP=strip 237: ++ QEMU= -235: + cat +237: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/plt-dso.sh .sh +237: ++ testname=plt-dso +237: ++ t=out/test/x86_64/plt-dso +237: ++ mkdir -p out/test/x86_64/plt-dso +236: ++ testname=pie +236: ++ t=out/test/x86_64/pie +236: ++ mkdir -p out/test/x86_64/pie +204: Hello world +204: + nm out/test/x86_64/lto-archive/exe +233: + echo 'int main() {}' +232: + return 0 +232: + not grep -F .symtab out/test/x86_64/oformat-binary/map +232: + grep -F .symtab out/test/x86_64/oformat-binary/map +235: ++ case $MACHINE in +235: ++ tlsdesc_opt=-mtls-dialect=gnu2 +232: + return 0 +232: + not grep -F .comment out/test/x86_64/oformat-binary/map +232: + grep -F .comment out/test/x86_64/oformat-binary/map +236: ++ case $MACHINE in +236: ++ tlsdesc_opt=-mtls-dialect=gnu2 +231: + return 0 +231: + not grep -F ' .dynstr ' out/test/x86_64/nostdlib/log +231: + grep -F ' .dynstr ' out/test/x86_64/nostdlib/log +237: ++ case $MACHINE in +237: ++ tlsdesc_opt=-mtls-dialect=gnu2 +204: + grep hello out/test/x86_64/lto-archive/log +235: +++ uname +208: + grep -- -fwpa +208: + gcc -B. -o out/test/x86_64/lto-gcc/exe2 out/test/x86_64/lto-gcc/b.o --verbose +204: 000000000000172e t hello +204: + not grep howdy out/test/x86_64/lto-archive/log +204: + grep howdy out/test/x86_64/lto-archive/log +204: + return 0 +204: + on_exit +204: + echo OK +204: OK +204: + exit 0 236: +++ uname 236: ++ '[' Linux = FreeBSD ']' -237: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/plt-dso.sh .sh 236: ++ trap 'on_error $LINENO' ERR 236: ++ trap on_exit EXIT 236: ++ echo -n 'Testing pie ... ' 236: Testing pie ... ++ set -o pipefail 236: ++ set -x -236: + cat -237: ++ testname=plt-dso -237: ++ t=out/test/x86_64/plt-dso -237: ++ mkdir -p out/test/x86_64/plt-dso -236: + cc -o out/test/x86_64/pie/a.o -c -xc -fPIE - -228: + cc -B. -no-pie -o out/test/x86_64/nocopyreloc/exe out/test/x86_64/nocopyreloc/a.so out/test/x86_64/nocopyreloc/b.o -237: ++ case $MACHINE in -237: ++ tlsdesc_opt=-mtls-dialect=gnu2 -237: +++ uname -237: ++ '[' Linux = FreeBSD ']' -237: ++ trap 'on_error $LINENO' ERR -237: ++ trap on_exit EXIT -237: ++ echo -n 'Testing plt-dso ... ' -237: Testing plt-dso ... ++ set -o pipefail -237: ++ set -x -237: + cat -237: + cc -fPIC -c -o out/test/x86_64/plt-dso/a.o -xc - -223: + grep -F 'undefined symbol: foo' out/test/x86_64/no-allow-shlib-undefined/log -233: + cat -223: mold: error: out/test/x86_64/no-allow-shlib-undefined/libbar.so: --no-allow-shlib-undefined: undefined symbol: foo -223: + on_exit -223: + echo OK -223: OK -223: + exit 0 -226/402 Test #223: x86_64-no-allow-shlib-undefined ....................... Passed 0.41 sec -233: + cc -c -o out/test/x86_64/omagic/a.o -xc - -fno-PIC -test 238 - Start 238: x86_64-plt-symbols - -238: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/plt-symbols.sh" -238: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -238: Environment variables: -238: MACHINE=x86_64 -238: CPU= -238: Test timeout computed to be: 1500 -234: + readelf -x .note.package out/test/x86_64/package-metadata/exe1 -234: + grep -F '{"foo":"bar"}' -234: 0x00000374 7b22666f 6f223a22 62617222 7d000000 {"foo":"bar"}... +232: + return 0 +232: + on_exit +232: + echo OK +232: OK +232: + exit 0 238: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/plt-symbols.sh +235: ++ '[' Linux = FreeBSD ']' +235: ++ trap 'on_error $LINENO' ERR +235: ++ trap on_exit EXIT +235: ++ echo -n 'Testing physical-image-base ... ' +235: Testing physical-image-base ... ++ set -o pipefail +235: ++ set -x +235: + '[' x86_64 = ppc64 ']' +228: mold: error: -z nocopyreloc: out/test/x86_64/nocopyreloc/a.so: cannot create a copy relocation for symbol 'bar'; recompile with -fPIC +228: mold: error: -z nocopyreloc: out/test/x86_64/nocopyreloc/a.so: cannot create a copy relocation for symbol 'foo'; recompile with -fPIC +228: + on_exit +228: + echo OK +228: OK +228: + exit 0 +227/402 Test #204: x86_64-lto-archive .................................... Passed 2.87 sec +228/402 Test #232: x86_64-oformat-binary ................................. Passed 0.13 sec +235: + echo abab +229/402 Test #228: x86_64-nocopyreloc .................................... Passed 0.56 sec +test 239 + Start 239: x86_64-pltgot + +239: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/pltgot.sh" +239: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +239: Environment variables: +239: MACHINE=x86_64 +239: CPU= +239: Test timeout computed to be: 1500 +test 240 + Start 240: x86_64-preinit-array + +240: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/preinit-array.sh" +240: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +240: Environment variables: +240: MACHINE=x86_64 +240: CPU= +240: Test timeout computed to be: 1500 +235: + grep -E '(ab)\1' +235: abab +235: + cat +235: + cc -o out/test/x86_64/physical-image-base/a.o -c -xc - +test 241 + Start 241: x86_64-print-dependencies + +241: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/print-dependencies.sh" +241: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +241: Environment variables: +241: MACHINE=x86_64 +241: CPU= +241: Test timeout computed to be: 1500 +230: + cc -o out/test/x86_64/non-canonical-plt/c.o -c -xc - -fPIC +230: + cat 238: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 238: ++ export LC_ALL=C 238: ++ LC_ALL=C @@ -15306,18 +15393,10 @@ 238: ++ OBJCOPY=objcopy 238: ++ STRIP=strip 238: ++ QEMU= -228: + out/test/x86_64/nocopyreloc/exe 238: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/plt-symbols.sh .sh -228: + grep '3 5' -228: 3 5 -234: + cc -B. -o out/test/x86_64/package-metadata/exe2 out/test/x86_64/package-metadata/a.o -Wl,--package-metadata=%7B%22foo%22%3A%22bar%22%7D 238: ++ testname=plt-symbols -230: + cc -B. -no-pie -o out/test/x86_64/non-canonical-plt/exe out/test/x86_64/non-canonical-plt/a.so out/test/x86_64/non-canonical-plt/b.o out/test/x86_64/non-canonical-plt/c.o -236: + cc -B. -pie -o out/test/x86_64/pie/exe out/test/x86_64/pie/a.o 238: ++ t=out/test/x86_64/plt-symbols 238: ++ mkdir -p out/test/x86_64/plt-symbols -228: + not cc -B. -o out/test/x86_64/nocopyreloc/exe out/test/x86_64/nocopyreloc/a.so out/test/x86_64/nocopyreloc/b.o -no-pie -Wl,-z,nocopyreloc -228: + grep 'recompile with -fPIC' 238: ++ case $MACHINE in 238: ++ tlsdesc_opt=-mtls-dialect=gnu2 238: +++ uname @@ -15327,28 +15406,37 @@ 238: ++ echo -n 'Testing plt-symbols ... ' 238: Testing plt-symbols ... ++ set -o pipefail 238: ++ set -x -238: + cat -229: mold: warning: --require-defined: undefined symbol: no-such-sym -229: + on_exit -229: + echo OK -229: OK -229: + exit 0 238: + cc -c -o out/test/x86_64/plt-symbols/a.o -xc - -fPIC -208: COLLECT_GCC_OPTIONS='-c' '-fno-openmp' '-fno-openacc' '-fPIC' '-fcf-protection=none' '-fasynchronous-unwind-tables' '-B' '.' '-v' '-mtune=generic' '-march=x86-64' '-fltrans-output-list=/tmp/ccctpnGw.ltrans.out' '-fwpa=jobserver' '-fresolution=/tmp/cctSnt81.res' '-flinker-output=pie' -208: /usr/libexec/gcc/x86_64-linux-gnu/14/lto1 -quiet -dumpbase out/test/x86_64/lto-gcc/exe2.wpa -mtune=generic -march=x86-64 -version -fno-openmp -fno-openacc -fPIC -fcf-protection=none -fasynchronous-unwind-tables -fltrans-output-list=/tmp/ccctpnGw.ltrans.out -fwpa=jobserver -fresolution=/tmp/cctSnt81.res -flinker-output=pie @/tmp/cc6lqwmQ -208: COLLECT_GCC_OPTIONS='-c' '-fno-openmp' '-fno-openacc' '-fPIC' '-fcf-protection=none' '-fasynchronous-unwind-tables' '-B' '.' '-v' '-mtune=generic' '-march=x86-64' '-fltrans-output-list=/tmp/ccctpnGw.ltrans.out' '-fwpa=jobserver' '-fresolution=/tmp/cctSnt81.res' '-flinker-output=pie' '-dumpdir' 'out/test/x86_64/lto-gcc/exe2.wpa.' -208: + cat -208: + gcc -flto -fno-use-linker-plugin -c -o out/test/x86_64/lto-gcc/c.o -xc - -227/402 Test #229: x86_64-noinhibit-exec ................................. Passed 0.34 sec -test 239 - Start 239: x86_64-pltgot +238: + cat +231: + return 0 +231: + on_exit +231: + echo OK +231: OK +231: + exit 0 +236: + cat +236: + cc -o out/test/x86_64/pie/a.o -c -xc -fPIE - +236: + cc -B. -pie -o out/test/x86_64/pie/exe out/test/x86_64/pie/a.o +237: +++ uname +237: ++ '[' Linux = FreeBSD ']' +237: ++ trap 'on_error $LINENO' ERR +237: ++ trap on_exit EXIT +237: ++ echo -n 'Testing plt-dso ... ' +237: Testing plt-dso ... ++ set -o pipefail +237: ++ set -x +237: + cat +237: + cc -fPIC -c -o out/test/x86_64/plt-dso/a.o -xc - +230/402 Test #231: x86_64-nostdlib ....................................... Passed 0.23 sec +test 242 + Start 242: x86_64-protected-dynsym -239: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/pltgot.sh" -239: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -239: Environment variables: -239: MACHINE=x86_64 -239: CPU= -239: Test timeout computed to be: 1500 +242: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/protected-dynsym.sh" +242: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +242: Environment variables: +242: MACHINE=x86_64 +242: CPU= +242: Test timeout computed to be: 1500 +230: + cc -B. -no-pie -o out/test/x86_64/non-canonical-plt/exe out/test/x86_64/non-canonical-plt/a.so out/test/x86_64/non-canonical-plt/b.o out/test/x86_64/non-canonical-plt/c.o +238: + cc -B. -shared -o out/test/x86_64/plt-symbols/b.so out/test/x86_64/plt-symbols/a.o 239: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/pltgot.sh 239: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 239: ++ export LC_ALL=C @@ -15368,83 +15456,18 @@ 239: ++ testname=pltgot 239: ++ t=out/test/x86_64/pltgot 239: ++ mkdir -p out/test/x86_64/pltgot -236: + readelf --file-header out/test/x86_64/pie/exe -235: + cc -B. -no-pie -o out/test/x86_64/physical-image-base/exe1 out/test/x86_64/physical-image-base/a.o -Wl,--image-base=0x200000 -Wl,--physical-image-base=0x800000 -236: + grep -E '(Shared object file|Position-Independent Executable file)' -234: + grep -F '{"foo":"bar"}' 239: ++ case $MACHINE in 239: ++ tlsdesc_opt=-mtls-dialect=gnu2 -236: Type: DYN (Position-Independent Executable file) 239: +++ uname -234: + readelf -x .note.package out/test/x86_64/package-metadata/exe2 -236: + out/test/x86_64/pie/exe -236: + grep 'Hello world' -230: + grep '^1 1 1$' -230: + out/test/x86_64/non-canonical-plt/exe 239: ++ '[' Linux = FreeBSD ']' 239: ++ trap 'on_error $LINENO' ERR 239: ++ trap on_exit EXIT 239: ++ echo -n 'Testing pltgot ... ' 239: Testing pltgot ... ++ set -o pipefail 239: ++ set -x -236: Hello world -239: + cat -234: 0x00000374 7b22666f 6f223a22 62617222 7d000000 {"foo":"bar"}... -228: mold: error: -z nocopyreloc: out/test/x86_64/nocopyreloc/a.so: cannot create a copy relocation for symbol 'bar'; recompile with -fPIC -228: mold: error: -z nocopyreloc: out/test/x86_64/nocopyreloc/a.so: cannot create a copy relocation for symbol 'foo'; recompile with -fPIC -236: + on_exit -236: + echo OK -236: OK -236: + exit 0 239: + cc -o out/test/x86_64/pltgot/a.o -c -xc - -fPIC -230: 1 1 1 -228: + on_exit -228: + echo OK -228: OK -228: + exit 0 -228/402 Test #236: x86_64-pie ............................................ Passed 0.11 sec -234: + not cc -B. -o out/test/x86_64/package-metadata/exe3 out/test/x86_64/package-metadata/a.o -Wl,--package-metadata=foo%x -test 240 - Start 240: x86_64-preinit-array - -240: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/preinit-array.sh" -240: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -240: Environment variables: -240: MACHINE=x86_64 -240: CPU= -240: Test timeout computed to be: 1500 -229/402 Test #228: x86_64-nocopyreloc .................................... Passed 0.38 sec -234: + grep 'invalid string: foo%x' -test 241 - Start 241: x86_64-print-dependencies - -241: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/print-dependencies.sh" -241: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -241: Environment variables: -241: MACHINE=x86_64 -241: CPU= -241: Test timeout computed to be: 1500 -230: + readelf --dyn-syms out/test/x86_64/non-canonical-plt/exe -230: + grep '00000000 .* foo' -230: 2: 0000000000000000 0 FUNC GLOBAL DEFAULT UND foo -230: + readelf --dyn-syms out/test/x86_64/non-canonical-plt/exe -230: + grep '00000000 .* bar' -230: 1: 0000000000000000 0 FUNC GLOBAL DEFAULT UND bar -230: + on_exit -230: + echo OK -230: OK -230: + exit 0 +239: + cat 240: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/preinit-array.sh -230/402 Test #230: x86_64-non-canonical-plt .............................. Passed 0.34 sec -test 242 - Start 242: x86_64-protected-dynsym - -242: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/protected-dynsym.sh" -242: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -242: Environment variables: -242: MACHINE=x86_64 -242: CPU= -242: Test timeout computed to be: 1500 240: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 240: ++ export LC_ALL=C 240: ++ LC_ALL=C @@ -15463,14 +15486,19 @@ 240: ++ testname=preinit-array 240: ++ t=out/test/x86_64/preinit-array 240: ++ mkdir -p out/test/x86_64/preinit-array -241: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/print-dependencies.sh 240: ++ case $MACHINE in 240: ++ tlsdesc_opt=-mtls-dialect=gnu2 +233: + cat +233: + cc -c -o out/test/x86_64/omagic/a.o -xc - -fno-PIC +234: + grep -F '{"foo":"bar"}' +234: + readelf -x .note.package out/test/x86_64/package-metadata/exe1 +234: 0x00000374 7b22666f 6f223a22 62617222 7d000000 {"foo":"bar"}... +234: + cc -B. -o out/test/x86_64/package-metadata/exe2 out/test/x86_64/package-metadata/a.o -Wl,--package-metadata=%7B%22foo%22%3A%22bar%22%7D +241: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/print-dependencies.sh 241: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 241: ++ export LC_ALL=C 241: ++ LC_ALL=C 241: ++ '[' -z x86_64 ']' -240: +++ uname 241: ++ '[' -z '' ']' 241: ++ TESTDIR=out/test/x86_64 241: ++ CC=cc @@ -15482,23 +15510,12 @@ 241: ++ STRIP=strip 241: ++ QEMU= 241: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/print-dependencies.sh .sh -242: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/protected-dynsym.sh -234: mold: fatal: --package-metadata: invalid string: foo%x -240: ++ '[' Linux = FreeBSD ']' -240: ++ trap 'on_error $LINENO' ERR -240: ++ trap on_exit EXIT -240: ++ echo -n 'Testing preinit-array ... ' -240: Testing preinit-array ... ++ set -o pipefail -240: ++ set -x -240: + cat -234: + on_exit -234: + echo OK -234: OK -234: + exit 0 241: ++ testname=print-dependencies 241: ++ t=out/test/x86_64/print-dependencies 241: ++ mkdir -p out/test/x86_64/print-dependencies 237: + cc -B. -shared -o out/test/x86_64/plt-dso/b.so out/test/x86_64/plt-dso/a.o +235: + cc -B. -no-pie -o out/test/x86_64/physical-image-base/exe1 out/test/x86_64/physical-image-base/a.o -Wl,--image-base=0x200000 -Wl,--physical-image-base=0x800000 +242: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/protected-dynsym.sh 242: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 242: ++ export LC_ALL=C 242: ++ LC_ALL=C @@ -15514,11 +15531,35 @@ 242: ++ STRIP=strip 242: ++ QEMU= 242: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/protected-dynsym.sh .sh -231/402 Test #234: x86_64-package-metadata ............................... Passed 0.21 sec 242: ++ testname=protected-dynsym 242: ++ t=out/test/x86_64/protected-dynsym 242: ++ mkdir -p out/test/x86_64/protected-dynsym -240: + cc -o out/test/x86_64/preinit-array/a.o -c -xc - +242: ++ case $MACHINE in +242: ++ tlsdesc_opt=-mtls-dialect=gnu2 +242: +++ uname +240: +++ uname +242: ++ '[' Linux = FreeBSD ']' +242: ++ trap 'on_error $LINENO' ERR +242: ++ trap on_exit EXIT +242: ++ echo -n 'Testing protected-dynsym ... ' +242: Testing protected-dynsym ... ++ set -o pipefail +242: ++ set -x +238: + grep 'LOCAL.*bar\$plt$' +238: + readelf -Ws out/test/x86_64/plt-symbols/b.so +242: + cat +242: + cc -fPIC -c -o out/test/x86_64/protected-dynsym/a.o -xc - +238: 29: 0000000000001560 0 FUNC LOCAL DEFAULT 13 bar$plt +238: + on_exit +238: + echo OK +238: OK +238: + exit 0 +240: ++ '[' Linux = FreeBSD ']' +240: ++ trap 'on_error $LINENO' ERR +240: ++ trap on_exit EXIT +240: ++ echo -n 'Testing preinit-array ... ' +240: Testing preinit-array ... ++ set -o pipefail +240: ++ set -x +231/402 Test #238: x86_64-plt-symbols .................................... Passed 0.12 sec test 243 Start 243: x86_64-protected @@ -15528,9 +15569,8 @@ 243: MACHINE=x86_64 243: CPU= 243: Test timeout computed to be: 1500 -242: ++ case $MACHINE in -242: ++ tlsdesc_opt=-mtls-dialect=gnu2 -242: +++ uname +240: + cc -o out/test/x86_64/preinit-array/a.o -c -xc - +240: + cat 241: ++ case $MACHINE in 241: ++ tlsdesc_opt=-mtls-dialect=gnu2 241: +++ uname @@ -15540,19 +15580,23 @@ 241: ++ echo -n 'Testing print-dependencies ... ' 241: Testing print-dependencies ... ++ set -o pipefail 241: ++ set -x -241: + cat -238: + cc -B. -shared -o out/test/x86_64/plt-symbols/b.so out/test/x86_64/plt-symbols/a.o -242: ++ '[' Linux = FreeBSD ']' -241: + cc -o out/test/x86_64/print-dependencies/a.o -c -xc - -242: ++ trap 'on_error $LINENO' ERR -242: ++ trap on_exit EXIT -242: ++ echo -n 'Testing protected-dynsym ... ' -242: Testing protected-dynsym ... ++ set -o pipefail -242: ++ set -x 242: + cat -242: + cc -fPIC -c -o out/test/x86_64/protected-dynsym/a.o -xc - +242: + cc -fPIC -c -o out/test/x86_64/protected-dynsym/b.o -fcommon -xc - +233: + cc -B. out/test/x86_64/omagic/a.o -o out/test/x86_64/omagic/exe -static -Wl,--omagic +234: + grep -F '{"foo":"bar"}' +234: + readelf -x .note.package out/test/x86_64/package-metadata/exe2 +234: 0x00000374 7b22666f 6f223a22 62617222 7d000000 {"foo":"bar"}... +234: + grep 'invalid string: foo%x' +239: + cc -B. -shared -o out/test/x86_64/pltgot/b.so out/test/x86_64/pltgot/a.o +234: + not cc -B. -o out/test/x86_64/package-metadata/exe3 out/test/x86_64/package-metadata/a.o -Wl,--package-metadata=foo%x +236: + readelf --file-header out/test/x86_64/pie/exe +236: + grep -E '(Shared object file|Position-Independent Executable file)' +236: Type: DYN (Position-Independent Executable file) +242: + cc -B. -shared -o out/test/x86_64/protected-dynsym/c.so out/test/x86_64/protected-dynsym/a.o out/test/x86_64/protected-dynsym/b.o -Wl,-strip-all +241: + cat 243: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/protected.sh -208: + gcc -B. -o out/test/x86_64/lto-gcc/exe3 -flto -fno-use-linker-plugin out/test/x86_64/lto-gcc/c.o +241: + cc -o out/test/x86_64/print-dependencies/a.o -c -xc - +236: + grep 'Hello world' 243: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 243: ++ export LC_ALL=C 243: ++ LC_ALL=C @@ -15567,44 +15611,17 @@ 243: ++ OBJCOPY=objcopy 243: ++ STRIP=strip 243: ++ QEMU= +236: + out/test/x86_64/pie/exe +236: Hello world 243: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/protected.sh .sh +236: + on_exit +236: + echo OK +236: OK +236: + exit 0 +232/402 Test #236: x86_64-pie ............................................ Passed 0.19 sec 243: ++ testname=protected 243: ++ t=out/test/x86_64/protected 243: ++ mkdir -p out/test/x86_64/protected -243: ++ case $MACHINE in -243: ++ tlsdesc_opt=-mtls-dialect=gnu2 -243: +++ uname -243: ++ '[' Linux = FreeBSD ']' -243: ++ trap 'on_error $LINENO' ERR -243: ++ trap on_exit EXIT -243: ++ echo -n 'Testing protected ... ' -243: Testing protected ... ++ set -o pipefail -243: ++ set -x -243: + cc -fPIC -c -o out/test/x86_64/protected/a.o -xc - -243: + cat -235: + out/test/x86_64/physical-image-base/exe1 -235: + grep 'Hello world' -235: Hello world -235: + readelf -W --segments out/test/x86_64/physical-image-base/exe1 -235: + grep -E 'LOAD\s+0x000000 0x0*200000 0x0*800000' -235: LOAD 0x000000 0x0000000000200000 0x0000000000800000 0x000524 0x000524 R 0x1000 -235: + grep __phys_start_foo -235: + readelf -Ws out/test/x86_64/physical-image-base/exe1 -235: 96: 0000000000801030 0 NOTYPE LOCAL DEFAULT 28 __phys_start_foo -235: + cc -B. -no-pie -o out/test/x86_64/physical-image-base/exe2 out/test/x86_64/physical-image-base/a.o -Wl,--physical-image-base=0x800000 '-Wl,--section-order==0x800000 TEXT RODATA =0x900000 DATA BSS' -237: + cat -237: + cc -c -o out/test/x86_64/plt-dso/c.o -xc - -233: + cc -B. out/test/x86_64/omagic/a.o -o out/test/x86_64/omagic/exe -static -Wl,--omagic -238: + readelf -Ws out/test/x86_64/plt-symbols/b.so -238: + grep 'LOCAL.*bar\$plt$' -240: + ./mold -o out/test/x86_64/preinit-array/exe1 out/test/x86_64/preinit-array/a.o -239: + cc -B. -shared -o out/test/x86_64/pltgot/b.so out/test/x86_64/pltgot/a.o -238: 29: 0000000000001560 0 FUNC LOCAL DEFAULT 13 bar$plt -238: + on_exit -238: + echo OK -238: OK -238: + exit 0 -232/402 Test #238: x86_64-plt-symbols .................................... Passed 0.13 sec test 244 Start 244: x86_64-push-pop-state @@ -15614,66 +15631,16 @@ 244: MACHINE=x86_64 244: CPU= 244: Test timeout computed to be: 1500 -243: + cc -B. -o out/test/x86_64/protected/b.so -shared out/test/x86_64/protected/a.o -242: + cat -242: + cc -fPIC -c -o out/test/x86_64/protected-dynsym/b.o -fcommon -xc - -214: + cat -241: + cat -214: + cc -c -xc -o out/test/x86_64/many-sections/b.o - -244: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/push-pop-state.sh -240: + not grep PREINIT_ARRAY -240: + grep PREINIT_ARRAY -244: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -244: ++ export LC_ALL=C -244: ++ LC_ALL=C -244: ++ '[' -z x86_64 ']' -240: + readelf -W --dynamic out/test/x86_64/preinit-array/exe1 -244: ++ '[' -z '' ']' -244: ++ TESTDIR=out/test/x86_64 -244: ++ CC=cc -244: ++ CXX=c++ -244: ++ GCC=gcc -244: ++ GXX=g++ -244: ++ OBJDUMP=objdump -244: ++ OBJCOPY=objcopy -244: ++ STRIP=strip -244: ++ QEMU= -241: + cc -o out/test/x86_64/print-dependencies/b.o -c -xc - -244: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/push-pop-state.sh .sh -244: ++ testname=push-pop-state -244: ++ t=out/test/x86_64/push-pop-state -244: ++ mkdir -p out/test/x86_64/push-pop-state -237: + cc -B. -o out/test/x86_64/plt-dso/exe -Wl,-rpath=out/test/x86_64/plt-dso out/test/x86_64/plt-dso/c.o out/test/x86_64/plt-dso/b.so -244: ++ case $MACHINE in -244: ++ tlsdesc_opt=-mtls-dialect=gnu2 -244: +++ uname -240: + return 0 -240: + cat -240: + cc -o out/test/x86_64/preinit-array/b.o -c -xc - -244: ++ '[' Linux = FreeBSD ']' -244: ++ trap 'on_error $LINENO' ERR -244: ++ trap on_exit EXIT -244: ++ echo -n 'Testing push-pop-state ... ' -244: Testing push-pop-state ... ++ set -o pipefail -244: ++ set -x -244: + cat -244: + cc -shared -o out/test/x86_64/push-pop-state/a.so -xc - -239: + cat -239: + cc -o out/test/x86_64/pltgot/c.o -c -xc - -fPIC -242: + cc -B. -shared -o out/test/x86_64/protected-dynsym/c.so out/test/x86_64/protected-dynsym/a.o out/test/x86_64/protected-dynsym/b.o -Wl,-strip-all -235: + readelf -W --segments out/test/x86_64/physical-image-base/exe2 -235: + grep -E 'LOAD\s+\S+\s+(\S+)\s\1.*R E 0' -243: + cat -243: + cc -c -o out/test/x86_64/protected/c.o -xc - -fno-PIE -235: LOAD 0x001000 0x0000000000800000 0x0000000000800000 0x000160 0x000160 R E 0x1000 -235: + grep -E 'LOAD\s+\S+\s+(\S+)\s\1.*R 0' -235: + readelf -W --segments out/test/x86_64/physical-image-base/exe2 -235: LOAD 0x002000 0x0000000000801000 0x0000000000801000 0x000248 0x000248 R 0x1000 -235: + on_exit -235: + echo OK -235: OK -235: + exit 0 -233/402 Test #235: x86_64-physical-image-base ............................ Passed 0.32 sec +230: + out/test/x86_64/non-canonical-plt/exe +230: + grep '^1 1 1$' +230: 1 1 1 +234: mold: fatal: --package-metadata: invalid string: foo%x +234: + on_exit +234: + echo OK +234: OK +234: + exit 0 +233/402 Test #234: x86_64-package-metadata ............................... Passed 0.24 sec +230: + readelf --dyn-syms out/test/x86_64/non-canonical-plt/exe test 245 Start 245: x86_64-range-extension-thunk @@ -15683,7 +15650,25 @@ 245: MACHINE=x86_64 245: CPU= 245: Test timeout computed to be: 1500 +230: + grep '00000000 .* foo' +230: 2: 0000000000000000 0 FUNC GLOBAL DEFAULT UND foo 245: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/range-extension-thunk.sh +237: + cat +237: + cc -c -o out/test/x86_64/plt-dso/c.o -xc - +230: + grep '00000000 .* bar' +230: + readelf --dyn-syms out/test/x86_64/non-canonical-plt/exe +230: 1: 0000000000000000 0 FUNC GLOBAL DEFAULT UND bar +243: ++ case $MACHINE in +243: ++ tlsdesc_opt=-mtls-dialect=gnu2 +243: +++ uname +244: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/push-pop-state.sh +243: ++ '[' Linux = FreeBSD ']' +243: ++ trap 'on_error $LINENO' ERR +243: ++ trap on_exit EXIT +243: ++ echo -n 'Testing protected ... ' +243: Testing protected ... ++ set -o pipefail +243: ++ set -x +243: + cc -fPIC -c -o out/test/x86_64/protected/a.o -xc - 245: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 245: ++ export LC_ALL=C 245: ++ LC_ALL=C @@ -15698,16 +15683,106 @@ 245: ++ OBJCOPY=objcopy 245: ++ STRIP=strip 245: ++ QEMU= +230: + on_exit +230: + echo OK +230: OK +230: + exit 0 +244: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +244: ++ export LC_ALL=C +244: ++ LC_ALL=C +234/402 Test #230: x86_64-non-canonical-plt .............................. Passed 0.35 sec +244: ++ '[' -z x86_64 ']' +244: ++ '[' -z '' ']' +244: ++ TESTDIR=out/test/x86_64 +244: ++ CC=cc +244: ++ CXX=c++ +244: ++ GCC=gcc +244: ++ GXX=g++ +244: ++ OBJDUMP=objdump +244: ++ OBJCOPY=objcopy +244: ++ STRIP=strip +244: ++ QEMU= +test 246 + Start 246: x86_64-range-extension-thunk2 + +246: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/range-extension-thunk2.sh" +246: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +246: Environment variables: +246: MACHINE=x86_64 +246: CPU= +246: Test timeout computed to be: 1500 +244: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/push-pop-state.sh .sh +240: + ./mold -o out/test/x86_64/preinit-array/exe1 out/test/x86_64/preinit-array/a.o +244: ++ testname=push-pop-state +244: ++ t=out/test/x86_64/push-pop-state +244: ++ mkdir -p out/test/x86_64/push-pop-state +244: ++ case $MACHINE in +244: ++ tlsdesc_opt=-mtls-dialect=gnu2 245: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/range-extension-thunk.sh .sh 245: ++ testname=range-extension-thunk 245: ++ t=out/test/x86_64/range-extension-thunk 245: ++ mkdir -p out/test/x86_64/range-extension-thunk +235: + grep 'Hello world' +246: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/range-extension-thunk2.sh +246: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +246: ++ export LC_ALL=C +246: ++ LC_ALL=C +246: ++ '[' -z x86_64 ']' +246: ++ '[' -z '' ']' +246: ++ TESTDIR=out/test/x86_64 +246: ++ CC=cc +246: ++ CXX=c++ +246: ++ GCC=gcc +246: ++ GXX=g++ +246: ++ OBJDUMP=objdump +246: ++ OBJCOPY=objcopy +246: ++ STRIP=strip +246: ++ QEMU= +246: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/range-extension-thunk2.sh .sh +246: ++ testname=range-extension-thunk2 +246: ++ t=out/test/x86_64/range-extension-thunk2 +246: ++ mkdir -p out/test/x86_64/range-extension-thunk2 +246: ++ case $MACHINE in +246: ++ tlsdesc_opt=-mtls-dialect=gnu2 +246: +++ uname +243: + cat +246: ++ '[' Linux = FreeBSD ']' +246: ++ trap 'on_error $LINENO' ERR +246: ++ trap on_exit EXIT +246: ++ echo -n 'Testing range-extension-thunk2 ... ' +246: Testing range-extension-thunk2 ... ++ set -o pipefail +246: ++ set -x +235: + out/test/x86_64/physical-image-base/exe1 +235: Hello world +244: +++ uname +241: + cat +239: + cc -o out/test/x86_64/pltgot/c.o -c -xc - -fPIC +239: + cat +246: + cc -o out/test/x86_64/range-extension-thunk2/a.o -c -xc - -ffunction-sections 245: ++ case $MACHINE in 245: ++ tlsdesc_opt=-mtls-dialect=gnu2 +244: ++ '[' Linux = FreeBSD ']' +244: ++ trap 'on_error $LINENO' ERR +244: ++ trap on_exit EXIT +244: ++ echo -n 'Testing push-pop-state ... ' +244: Testing push-pop-state ... ++ set -o pipefail +244: ++ set -x +235: + grep -E 'LOAD\s+0x000000 0x0*200000 0x0*800000' +246: + cat +240: + not grep PREINIT_ARRAY +240: + grep PREINIT_ARRAY +241: + cc -o out/test/x86_64/print-dependencies/b.o -c -xc - +240: + readelf -W --dynamic out/test/x86_64/preinit-array/exe1 +235: + readelf -W --segments out/test/x86_64/physical-image-base/exe1 +235: LOAD 0x000000 0x0000000000200000 0x0000000000800000 0x000524 0x000524 R 0x1000 +244: + cat +244: + cc -shared -o out/test/x86_64/push-pop-state/a.so -xc - +242: + readelf --symbols out/test/x86_64/protected-dynsym/c.so +242: + grep -E 'PROTECTED\b.*\bfoo\b' +243: + cc -B. -o out/test/x86_64/protected/b.so -shared out/test/x86_64/protected/a.o 245: +++ uname 245: ++ '[' Linux = FreeBSD ']' 245: ++ trap 'on_error $LINENO' ERR -237: + out/test/x86_64/plt-dso/exe 245: ++ trap on_exit EXIT 245: ++ echo -n 'Testing range-extension-thunk ... ' 245: Testing range-extension-thunk ... ++ set -o pipefail @@ -15720,32 +15795,23 @@ 245: + on_qemu 245: + '[' '' '!=' '' ']' 245: + grep -w qemu /proc/cpuinfo -237: + grep 'Hello WORLD' -233: + grep -w RWE +235: + grep __phys_start_foo +235: + readelf -Ws out/test/x86_64/physical-image-base/exe1 +235: 96: 0000000000801030 0 NOTYPE LOCAL DEFAULT 28 __phys_start_foo +235: + cc -B. -no-pie -o out/test/x86_64/physical-image-base/exe2 out/test/x86_64/physical-image-base/a.o -Wl,--physical-image-base=0x800000 '-Wl,--section-order==0x800000 TEXT RODATA =0x900000 DATA BSS' +242: 5: 000000000000378c 4 OBJECT GLOBAL PROTECTED 23 foo +240: + return 0 +242: + cat +242: + cc -fPIC -c -o out/test/x86_64/protected-dynsym/d.o -fno-common -xc - +240: + cat +240: + cc -o out/test/x86_64/preinit-array/b.o -c -xc - 233: + readelf -W --segments out/test/x86_64/omagic/exe -239: + cc -B. -o out/test/x86_64/pltgot/exe out/test/x86_64/pltgot/c.o out/test/x86_64/pltgot/b.so -241: + cc -B. -o out/test/x86_64/print-dependencies/exe out/test/x86_64/print-dependencies/a.o out/test/x86_64/print-dependencies/b.o -Wl,--print-dependencies +233: + grep -w RWE +237: + cc -B. -o out/test/x86_64/plt-dso/exe -Wl,-rpath=out/test/x86_64/plt-dso out/test/x86_64/plt-dso/c.o out/test/x86_64/plt-dso/b.so 245: + cat +241: + cc -B. -o out/test/x86_64/print-dependencies/exe out/test/x86_64/print-dependencies/a.o out/test/x86_64/print-dependencies/b.o -Wl,--print-dependencies +239: + cc -B. -o out/test/x86_64/pltgot/exe out/test/x86_64/pltgot/c.o out/test/x86_64/pltgot/b.so 241: + grep 'b\.o.*a\.o.*foo$' -237: Hello WORLD -240: + cc -B. -o out/test/x86_64/preinit-array/exe2 out/test/x86_64/preinit-array/b.o -237: + on_exit -237: + echo OK -237: OK -237: + exit 0 -234/402 Test #237: x86_64-plt-dso ........................................ Passed 0.29 sec -test 246 - Start 246: x86_64-range-extension-thunk2 - -246: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/range-extension-thunk2.sh" -246: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -246: Environment variables: -246: MACHINE=x86_64 -246: CPU= -246: Test timeout computed to be: 1500 -245: + cat -245: + cc -c -o out/test/x86_64/range-extension-thunk/c.o out/test/x86_64/range-extension-thunk/a.c -O0 -214: + cc -B. -o out/test/x86_64/many-sections/exe out/test/x86_64/many-sections/a.o out/test/x86_64/many-sections/b.o 233: NOTE 0x000270 0x0000000000200270 0x0000000000200270 0x000064 0x000064 RWE 0x8 233: LOAD 0x000000 0x0000000000200000 0x0000000000200000 0x09ed56 0x09ed56 RWE 0x1000 233: LOAD 0x09ed58 0x000000000029fd58 0x000000000029fd58 0x0043a0 0x0052a8 RWE 0x1000 @@ -15754,7 +15820,10 @@ 233: + echo OK 233: OK 233: + exit 0 -235/402 Test #233: x86_64-omagic ......................................... Passed 0.48 sec +208: COLLECT_GCC_OPTIONS='-c' '-fno-openmp' '-fno-openacc' '-fPIC' '-fcf-protection=none' '-fasynchronous-unwind-tables' '-B' '.' '-v' '-mtune=generic' '-march=x86-64' '-fltrans-output-list=/tmp/ccllpIc4.ltrans.out' '-fwpa=jobserver' '-fresolution=/tmp/ccY2dDA5.res' '-flinker-output=pie' +208: /usr/libexec/gcc/x86_64-linux-gnu/14/lto1 -quiet -dumpbase out/test/x86_64/lto-gcc/exe2.wpa -mtune=generic -march=x86-64 -version -fno-openmp -fno-openacc -fPIC -fcf-protection=none -fasynchronous-unwind-tables -fltrans-output-list=/tmp/ccllpIc4.ltrans.out -fwpa=jobserver -fresolution=/tmp/ccY2dDA5.res -flinker-output=pie @/tmp/ccLpxaW4 +208: COLLECT_GCC_OPTIONS='-c' '-fno-openmp' '-fno-openacc' '-fPIC' '-fcf-protection=none' '-fasynchronous-unwind-tables' '-B' '.' '-v' '-mtune=generic' '-march=x86-64' '-fltrans-output-list=/tmp/ccllpIc4.ltrans.out' '-fwpa=jobserver' '-fresolution=/tmp/ccY2dDA5.res' '-flinker-output=pie' '-dumpdir' 'out/test/x86_64/lto-gcc/exe2.wpa.' +235/402 Test #233: x86_64-omagic ......................................... Passed 0.34 sec test 247 Start 247: x86_64-range-extension-thunk3 @@ -15764,31 +15833,17 @@ 247: MACHINE=x86_64 247: CPU= 247: Test timeout computed to be: 1500 -246: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/range-extension-thunk2.sh -246: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -246: ++ export LC_ALL=C -246: ++ LC_ALL=C -246: ++ '[' -z x86_64 ']' -246: ++ '[' -z '' ']' -246: ++ TESTDIR=out/test/x86_64 -246: ++ CC=cc -246: ++ CXX=c++ -246: ++ GCC=gcc -246: ++ GXX=g++ -246: ++ OBJDUMP=objdump -246: ++ OBJCOPY=objcopy -246: ++ STRIP=strip -246: ++ QEMU= -246: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/range-extension-thunk2.sh .sh -244: + cat -244: + cc -shared -o out/test/x86_64/push-pop-state/b.so -xc - -246: ++ testname=range-extension-thunk2 -246: ++ t=out/test/x86_64/range-extension-thunk2 -246: ++ mkdir -p out/test/x86_64/range-extension-thunk2 +245: + cat +208: + cat +243: + cc -c -o out/test/x86_64/protected/c.o -xc - -fno-PIE +245: + cc -c -o out/test/x86_64/range-extension-thunk/c.o out/test/x86_64/range-extension-thunk/a.c -O0 +243: + cat +208: + gcc -flto -fno-use-linker-plugin -c -o out/test/x86_64/lto-gcc/c.o -xc - +242: + cc -B. -shared -o out/test/x86_64/protected-dynsym/e.so out/test/x86_64/protected-dynsym/a.o out/test/x86_64/protected-dynsym/d.o -Wl,-strip-all 247: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/range-extension-thunk3.sh +240: + cc -B. -o out/test/x86_64/preinit-array/exe2 out/test/x86_64/preinit-array/b.o 247: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 247: ++ export LC_ALL=C -246: ++ case $MACHINE in 247: ++ LC_ALL=C 247: ++ '[' -z x86_64 ']' 247: ++ '[' -z '' ']' @@ -15801,28 +15856,40 @@ 247: ++ OBJCOPY=objcopy 247: ++ STRIP=strip 247: ++ QEMU= -246: ++ tlsdesc_opt=-mtls-dialect=gnu2 -246: +++ uname -242: + readelf --symbols out/test/x86_64/protected-dynsym/c.so -242: + grep -E 'PROTECTED\b.*\bfoo\b' +235: + readelf -W --segments out/test/x86_64/physical-image-base/exe2 +241: out/test/x86_64/print-dependencies/b.o:(.text) out/test/x86_64/print-dependencies/a.o:(.text) u foo +241: + on_exit +241: + echo OK +241: OK +241: + exit 0 +236/402 Test #241: x86_64-print-dependencies ............................. Passed 0.23 sec +test 248 + Start 248: x86_64-relax-got-load + +248: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/relax-got-load.sh" +248: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +248: Environment variables: +248: MACHINE=x86_64 +248: CPU= +248: Test timeout computed to be: 1500 +235: + grep -E 'LOAD\s+\S+\s+(\S+)\s\1.*R E 0' +235: LOAD 0x001000 0x0000000000800000 0x0000000000800000 0x000160 0x000160 R E 0x1000 247: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/range-extension-thunk3.sh .sh 247: ++ testname=range-extension-thunk3 247: ++ t=out/test/x86_64/range-extension-thunk3 247: ++ mkdir -p out/test/x86_64/range-extension-thunk3 -246: ++ '[' Linux = FreeBSD ']' -246: ++ trap 'on_error $LINENO' ERR -246: ++ trap on_exit EXIT -246: ++ echo -n 'Testing range-extension-thunk2 ... ' -246: Testing range-extension-thunk2 ... ++ set -o pipefail -246: ++ set -x -242: 5: 000000000000378c 4 OBJECT GLOBAL PROTECTED 23 foo -246: + cc -o out/test/x86_64/range-extension-thunk2/a.o -c -xc - -ffunction-sections -242: + cat -246: + cat 247: ++ case $MACHINE in 247: ++ tlsdesc_opt=-mtls-dialect=gnu2 +237: + grep 'Hello WORLD' +237: + out/test/x86_64/plt-dso/exe +237: Hello WORLD +237: + on_exit +237: + echo OK +237: OK +237: + exit 0 +237/402 Test #237: x86_64-plt-dso ........................................ Passed 0.32 sec +235: + readelf -W --segments out/test/x86_64/physical-image-base/exe2 247: +++ uname -242: + cc -fPIC -c -o out/test/x86_64/protected-dynsym/d.o -fno-common -xc - 247: ++ '[' Linux = FreeBSD ']' 247: ++ trap 'on_error $LINENO' ERR 247: ++ trap on_exit EXIT @@ -15830,26 +15897,22 @@ 247: Testing range-extension-thunk3 ... ++ set -o pipefail 247: ++ set -x 247: + '[' x86_64 = sh4 ']' -247: + seq 1 10000 -247: + sed 's/.*/void func&() {}/' -243: + cc -B. -no-pie -o out/test/x86_64/protected/exe out/test/x86_64/protected/c.o out/test/x86_64/protected/b.so -240: + readelf -W --dynamic out/test/x86_64/preinit-array/exe2 -241: out/test/x86_64/print-dependencies/b.o:(.text) out/test/x86_64/print-dependencies/a.o:(.text) u foo -240: + grep PREINIT_ARRAY -241: + on_exit -241: + echo OK -241: OK -241: + exit 0 -236/402 Test #241: x86_64-print-dependencies ............................. Passed 0.27 sec -test 248 - Start 248: x86_64-relax-got-load +test 249 + Start 249: x86_64-reloc-rodata -248: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/relax-got-load.sh" -248: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -248: Environment variables: -248: MACHINE=x86_64 -248: CPU= -248: Test timeout computed to be: 1500 +249: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/reloc-rodata.sh" +249: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +249: Environment variables: +249: MACHINE=x86_64 +249: CPU= +249: Test timeout computed to be: 1500 +235: + grep -E 'LOAD\s+\S+\s+(\S+)\s\1.*R 0' +235: LOAD 0x002000 0x0000000000801000 0x0000000000801000 0x000248 0x000248 R 0x1000 +235: + on_exit +235: + echo OK +235: OK +235: + exit 0 +247: + seq 1 10000 248: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/relax-got-load.sh 248: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 248: ++ export LC_ALL=C @@ -15865,46 +15928,10 @@ 248: ++ OBJCOPY=objcopy 248: ++ STRIP=strip 248: ++ QEMU= -248: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/relax-got-load.sh .sh -248: ++ testname=relax-got-load -248: ++ t=out/test/x86_64/relax-got-load -248: ++ mkdir -p out/test/x86_64/relax-got-load -239: + out/test/x86_64/pltgot/exe +244: + cat +243: + cc -B. -no-pie -o out/test/x86_64/protected/exe out/test/x86_64/protected/c.o out/test/x86_64/protected/b.so +238/402 Test #235: x86_64-physical-image-base ............................ Passed 0.37 sec 239: + grep 'Hello world' -240: 0x0000000000000020 (PREINIT_ARRAY) 0x28c0 -240: 0x0000000000000021 (PREINIT_ARRAYSZ) 8 (bytes) -240: + on_exit -240: + echo OK -240: OK -240: + exit 0 -248: ++ case $MACHINE in -248: ++ tlsdesc_opt=-mtls-dialect=gnu2 -237/402 Test #240: x86_64-preinit-array .................................. Passed 0.29 sec -248: +++ uname -test 249 - Start 249: x86_64-reloc-rodata - -249: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/reloc-rodata.sh" -249: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -249: Environment variables: -249: MACHINE=x86_64 -249: CPU= -249: Test timeout computed to be: 1500 -248: ++ '[' Linux = FreeBSD ']' -248: ++ trap 'on_error $LINENO' ERR -248: ++ trap on_exit EXIT -248: ++ echo -n 'Testing relax-got-load ... ' -248: Testing relax-got-load ... ++ set -o pipefail -248: ++ set -x -248: + cat -239: Hello world -239: + on_exit -239: + echo OK -239: OK -239: + exit 0 -247: + cc -B. -o out/test/x86_64/range-extension-thunk3/b.so -shared out/test/x86_64/range-extension-thunk3/a.c -245: + cc -c -o out/test/x86_64/range-extension-thunk/d.o out/test/x86_64/range-extension-thunk/b.c -O0 -238/402 Test #239: x86_64-pltgot ......................................... Passed 0.32 sec test 250 Start 250: x86_64-relocatable-archive @@ -15914,28 +15941,16 @@ 250: MACHINE=x86_64 250: CPU= 250: Test timeout computed to be: 1500 -248: + cc -o out/test/x86_64/relax-got-load/a.o -c -xc - -fPIC +239: + out/test/x86_64/pltgot/exe +239: Hello world +239: + on_exit +239: + echo OK +239: OK +239: + exit 0 249: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/reloc-rodata.sh -250: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-archive.sh -250: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -250: ++ export LC_ALL=C -250: ++ LC_ALL=C -250: ++ '[' -z x86_64 ']' -250: ++ '[' -z '' ']' -250: ++ TESTDIR=out/test/x86_64 -250: ++ CC=cc -250: ++ CXX=c++ -250: ++ GCC=gcc -250: ++ GXX=g++ -250: ++ OBJDUMP=objdump -250: ++ OBJCOPY=objcopy -250: ++ STRIP=strip -250: ++ QEMU= -250: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-archive.sh .sh 249: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 249: ++ export LC_ALL=C 249: ++ LC_ALL=C -242: + cc -B. -shared -o out/test/x86_64/protected-dynsym/e.so out/test/x86_64/protected-dynsym/a.o out/test/x86_64/protected-dynsym/d.o -Wl,-strip-all 249: ++ '[' -z x86_64 ']' 249: ++ '[' -z '' ']' 249: ++ TESTDIR=out/test/x86_64 @@ -15948,48 +15963,27 @@ 249: ++ STRIP=strip 249: ++ QEMU= 249: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/reloc-rodata.sh .sh -244: + cc -c -o out/test/x86_64/push-pop-state/c.o -xc - -250: ++ testname=relocatable-archive -250: ++ t=out/test/x86_64/relocatable-archive -250: ++ mkdir -p out/test/x86_64/relocatable-archive 249: ++ testname=reloc-rodata 249: ++ t=out/test/x86_64/reloc-rodata 249: ++ mkdir -p out/test/x86_64/reloc-rodata -244: + cat -243: + out/test/x86_64/protected/exe -243: + grep '3 4 0' -250: ++ case $MACHINE in -250: ++ tlsdesc_opt=-mtls-dialect=gnu2 -250: +++ uname -249: ++ case $MACHINE in -249: ++ tlsdesc_opt=-mtls-dialect=gnu2 -249: +++ uname -243: 3 4 0 -249: ++ '[' Linux = FreeBSD ']' -250: ++ '[' Linux = FreeBSD ']' -249: ++ trap 'on_error $LINENO' ERR -249: ++ trap on_exit EXIT -243: + on_exit -243: + echo OK -243: OK -243: + exit 0 -249: ++ echo -n 'Testing reloc-rodata ... ' -249: Testing reloc-rodata ... ++ set -o pipefail -249: ++ set -x -249: + exit -249: + on_exit -249: + echo OK -249: OK -249: + exit 0 -250: ++ trap 'on_error $LINENO' ERR -250: ++ trap on_exit EXIT -250: ++ echo -n 'Testing relocatable-archive ... ' -250: Testing relocatable-archive ... ++ set -o pipefail -250: ++ set -x -239/402 Test #243: x86_64-protected ...................................... Passed 0.29 sec -240/402 Test #249: x86_64-reloc-rodata ................................... Passed 0.02 sec -250: + grep __tsan_init -250: + nm mold +242: + grep -E 'PROTECTED\b.*\bfoo\b' +242: + readelf --symbols out/test/x86_64/protected-dynsym/e.so +242: 5: 000000000000378c 4 OBJECT GLOBAL PROTECTED 22 foo +242: + on_exit +242: + echo OK +242: OK +242: + exit 0 +248: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/relax-got-load.sh .sh +248: ++ testname=relax-got-load +248: ++ t=out/test/x86_64/relax-got-load +248: ++ mkdir -p out/test/x86_64/relax-got-load +247: + sed 's/.*/void func&() {}/' +244: + cc -shared -o out/test/x86_64/push-pop-state/b.so -xc - +239/402 Test #239: x86_64-pltgot ......................................... Passed 0.30 sec +240/402 Test #242: x86_64-protected-dynsym ............................... Passed 0.24 sec +248: ++ case $MACHINE in +248: ++ tlsdesc_opt=-mtls-dialect=gnu2 +247: + cc -B. -o out/test/x86_64/range-extension-thunk3/b.so -shared out/test/x86_64/range-extension-thunk3/a.c test 251 Start 251: x86_64-relocatable-c++ @@ -16008,6 +16002,45 @@ 252: MACHINE=x86_64 252: CPU= 252: Test timeout computed to be: 1500 +208: + gcc -B. -o out/test/x86_64/lto-gcc/exe3 -flto -fno-use-linker-plugin out/test/x86_64/lto-gcc/c.o +248: +++ uname +248: ++ '[' Linux = FreeBSD ']' +248: ++ trap 'on_error $LINENO' ERR +248: ++ trap on_exit EXIT +248: ++ echo -n 'Testing relax-got-load ... ' +248: Testing relax-got-load ... ++ set -o pipefail +248: ++ set -x +249: ++ case $MACHINE in +249: ++ tlsdesc_opt=-mtls-dialect=gnu2 +249: +++ uname +249: ++ '[' Linux = FreeBSD ']' +249: ++ trap 'on_error $LINENO' ERR +249: ++ trap on_exit EXIT +249: ++ echo -n 'Testing reloc-rodata ... ' +249: Testing reloc-rodata ... ++ set -o pipefail +249: ++ set -x +249: + exit +249: + on_exit +249: + echo OK +249: OK +249: + exit 0 +245: + cc -c -o out/test/x86_64/range-extension-thunk/d.o out/test/x86_64/range-extension-thunk/b.c -O0 +250: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-archive.sh +250: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +250: ++ export LC_ALL=C +250: ++ LC_ALL=C +250: ++ '[' -z x86_64 ']' +250: ++ '[' -z '' ']' +250: ++ TESTDIR=out/test/x86_64 +250: ++ CC=cc +250: ++ CXX=c++ +250: ++ GCC=gcc +250: ++ GXX=g++ +250: ++ OBJDUMP=objdump +250: ++ OBJCOPY=objcopy +250: ++ STRIP=strip +250: ++ QEMU= +240: + grep PREINIT_ARRAY 251: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-c++.sh 251: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 251: ++ export LC_ALL=C @@ -16024,10 +16057,46 @@ 251: ++ STRIP=strip 251: ++ QEMU= 251: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-c++.sh .sh -252: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-compressed-debug-info.sh 251: ++ testname=relocatable-c++ 251: ++ t=out/test/x86_64/relocatable-c++ 251: ++ mkdir -p out/test/x86_64/relocatable-c++ +251: ++ case $MACHINE in +251: ++ tlsdesc_opt=-mtls-dialect=gnu2 +251: +++ uname +251: ++ '[' Linux = FreeBSD ']' +251: ++ trap 'on_error $LINENO' ERR +251: ++ trap on_exit EXIT +251: ++ echo -n 'Testing relocatable-c++ ... ' +251: Testing relocatable-c++ ... ++ set -o pipefail +251: ++ set -x +251: + grep __tsan_init +251: + nm mold +241/402 Test #249: x86_64-reloc-rodata ................................... Passed 0.04 sec +test 253 + Start 253: x86_64-relocatable-debug-info + +253: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-debug-info.sh" +253: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +253: Environment variables: +253: MACHINE=x86_64 +253: CPU= +253: Test timeout computed to be: 1500 +250: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-archive.sh .sh +250: ++ testname=relocatable-archive +250: ++ t=out/test/x86_64/relocatable-archive +250: ++ mkdir -p out/test/x86_64/relocatable-archive +250: ++ case $MACHINE in +250: ++ tlsdesc_opt=-mtls-dialect=gnu2 +240: + readelf -W --dynamic out/test/x86_64/preinit-array/exe2 +240: 0x0000000000000020 (PREINIT_ARRAY) 0x28c0 +240: 0x0000000000000021 (PREINIT_ARRAYSZ) 8 (bytes) +240: + on_exit +240: + echo OK +240: OK +240: + exit 0 +248: + cc -o out/test/x86_64/relax-got-load/a.o -c -xc - -fPIC +248: + cat +252: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-compressed-debug-info.sh 252: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 252: ++ export LC_ALL=C 252: ++ LC_ALL=C @@ -16043,48 +16112,60 @@ 252: ++ STRIP=strip 252: ++ QEMU= 252: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-compressed-debug-info.sh .sh -251: ++ case $MACHINE in -251: ++ tlsdesc_opt=-mtls-dialect=gnu2 252: ++ testname=relocatable-compressed-debug-info 252: ++ t=out/test/x86_64/relocatable-compressed-debug-info 252: ++ mkdir -p out/test/x86_64/relocatable-compressed-debug-info -251: +++ uname -251: ++ '[' Linux = FreeBSD ']' -251: ++ trap 'on_error $LINENO' ERR -251: ++ trap on_exit EXIT -251: ++ echo -n 'Testing relocatable-c++ ... ' -251: Testing relocatable-c++ ... ++ set -o pipefail -251: ++ set -x +243: + grep '3 4 0' +243: + out/test/x86_64/protected/exe +243: 3 4 0 +243: + on_exit +243: + echo OK +243: OK +243: + exit 0 +242/402 Test #240: x86_64-preinit-array .................................. Passed 0.33 sec +243/402 Test #243: x86_64-protected ...................................... Passed 0.25 sec +test 254 + Start 254: x86_64-relocatable-exception + +254: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-exception.sh" +254: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +254: Environment variables: +254: MACHINE=x86_64 +254: CPU= +254: Test timeout computed to be: 1500 +test 255 + Start 255: x86_64-relocatable-many-sections + +255: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-many-sections.sh" +255: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +255: Environment variables: +255: MACHINE=x86_64 +255: CPU= +255: Test timeout computed to be: 1500 +246: + cc -B. -o out/test/x86_64/range-extension-thunk2/exe out/test/x86_64/range-extension-thunk2/a.o 252: ++ case $MACHINE in 252: ++ tlsdesc_opt=-mtls-dialect=gnu2 252: +++ uname -251: + nm mold -251: + grep __tsan_init 252: ++ '[' Linux = FreeBSD ']' 252: ++ trap 'on_error $LINENO' ERR 252: ++ trap on_exit EXIT 252: ++ echo -n 'Testing relocatable-compressed-debug-info ... ' 252: Testing relocatable-compressed-debug-info ... ++ set -o pipefail 252: ++ set -x -252: + nm mold 252: + grep __tsan_init -214: + out/test/x86_64/many-sections/exe -214: + grep Hello -214: Hello -214: + on_exit -214: + echo OK -214: OK -214: + exit 0 -241/402 Test #214: x86_64-many-sections .................................. Passed 1.20 sec -test 253 - Start 253: x86_64-relocatable-debug-info - -253: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-debug-info.sh" -253: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -253: Environment variables: -253: MACHINE=x86_64 -253: CPU= -253: Test timeout computed to be: 1500 +252: + nm mold +250: +++ uname +250: ++ '[' Linux = FreeBSD ']' +250: ++ trap 'on_error $LINENO' ERR +250: ++ trap on_exit EXIT +250: ++ echo -n 'Testing relocatable-archive ... ' +250: Testing relocatable-archive ... ++ set -o pipefail +250: ++ set -x +250: + grep __tsan_init +250: + nm mold +245: + cc -B. -o out/test/x86_64/range-extension-thunk/exe1 out/test/x86_64/range-extension-thunk/c.o out/test/x86_64/range-extension-thunk/d.o -Wl,--section-start=.low=0x10000000,--section-start=.high=0x20000000 +244: + cc -c -o out/test/x86_64/push-pop-state/c.o -xc - +244: + cat 253: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-debug-info.sh 253: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 253: ++ export LC_ALL=C @@ -16100,43 +16181,8 @@ 253: ++ OBJCOPY=objcopy 253: ++ STRIP=strip 253: ++ QEMU= -253: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-debug-info.sh .sh -253: ++ testname=relocatable-debug-info -253: ++ t=out/test/x86_64/relocatable-debug-info -253: ++ mkdir -p out/test/x86_64/relocatable-debug-info -242: + readelf --symbols out/test/x86_64/protected-dynsym/e.so -242: + grep -E 'PROTECTED\b.*\bfoo\b' -253: ++ case $MACHINE in -253: ++ tlsdesc_opt=-mtls-dialect=gnu2 -253: +++ uname -242: 5: 000000000000378c 4 OBJECT GLOBAL PROTECTED 22 foo -242: + on_exit -242: + echo OK -242: OK -242: + exit 0 -253: ++ '[' Linux = FreeBSD ']' -253: ++ trap 'on_error $LINENO' ERR -253: ++ trap on_exit EXIT -253: ++ echo -n 'Testing relocatable-debug-info ... ' -253: Testing relocatable-debug-info ... ++ set -o pipefail -253: ++ set -x -253: + nm mold -242/402 Test #242: x86_64-protected-dynsym ............................... Passed 0.34 sec -test 254 - Start 254: x86_64-relocatable-exception - -254: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-exception.sh" -254: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -254: Environment variables: -254: MACHINE=x86_64 -254: CPU= -254: Test timeout computed to be: 1500 -253: + grep __tsan_init -244: + cc -B. -o out/test/x86_64/push-pop-state/exe out/test/x86_64/push-pop-state/c.o -Wl,-as-needed -Wl,-push-state -Wl,-no-as-needed out/test/x86_64/push-pop-state/a.so -Wl,-pop-state out/test/x86_64/push-pop-state/b.so -248: + cc -o out/test/x86_64/relax-got-load/b.o -c -xc - -fPIC -248: + cat -245: + cc -B. -o out/test/x86_64/range-extension-thunk/exe1 out/test/x86_64/range-extension-thunk/c.o out/test/x86_64/range-extension-thunk/d.o -Wl,--section-start=.low=0x10000000,--section-start=.high=0x20000000 254: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-exception.sh +253: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-debug-info.sh .sh 254: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 254: ++ export LC_ALL=C 254: ++ LC_ALL=C @@ -16151,45 +16197,11 @@ 254: ++ OBJCOPY=objcopy 254: ++ STRIP=strip 254: ++ QEMU= -254: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-exception.sh .sh -254: ++ testname=relocatable-exception -254: ++ t=out/test/x86_64/relocatable-exception -254: ++ mkdir -p out/test/x86_64/relocatable-exception -254: ++ case $MACHINE in -254: ++ tlsdesc_opt=-mtls-dialect=gnu2 -254: +++ uname -208: + grep 'Hello world' -254: ++ '[' Linux = FreeBSD ']' -254: ++ trap 'on_error $LINENO' ERR -254: ++ trap on_exit EXIT -254: ++ echo -n 'Testing relocatable-exception ... ' -254: Testing relocatable-exception ... ++ set -o pipefail -254: ++ set -x -254: + '[' x86_64 = m68k ']' -254: + '[' x86_64 = sh4 ']' -254: + '[' x86_64 = sh4aeb ']' -254: + grep __tsan_init -208: + out/test/x86_64/lto-gcc/exe3 -254: + nm mold -208: Hello world -208: + on_exit -208: + echo OK -208: OK -208: + exit 0 -243/402 Test #208: x86_64-lto-gcc ........................................ Passed 1.40 sec -245: + grep 'main fn1 fn3 fn2 fn4' -test 255 - Start 255: x86_64-relocatable-many-sections - -255: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-many-sections.sh" -255: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -255: Environment variables: -255: MACHINE=x86_64 -255: CPU= -255: Test timeout computed to be: 1500 -245: + out/test/x86_64/range-extension-thunk/exe1 -245: main fn1 fn3 fn2 fn4 -245: + cc -c -o out/test/x86_64/range-extension-thunk/e.o out/test/x86_64/range-extension-thunk/a.c -O2 +244: + cc -B. -o out/test/x86_64/push-pop-state/exe out/test/x86_64/push-pop-state/c.o -Wl,-as-needed -Wl,-push-state -Wl,-no-as-needed out/test/x86_64/push-pop-state/a.so -Wl,-pop-state out/test/x86_64/push-pop-state/b.so +253: ++ testname=relocatable-debug-info +253: ++ t=out/test/x86_64/relocatable-debug-info +253: ++ mkdir -p out/test/x86_64/relocatable-debug-info +248: + cc -o out/test/x86_64/relax-got-load/b.o -c -xc - -fPIC 255: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-many-sections.sh 255: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 255: ++ export LC_ALL=C @@ -16205,37 +16217,75 @@ 255: ++ OBJCOPY=objcopy 255: ++ STRIP=strip 255: ++ QEMU= +248: + cat +254: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-exception.sh .sh +254: ++ testname=relocatable-exception +254: ++ t=out/test/x86_64/relocatable-exception +254: ++ mkdir -p out/test/x86_64/relocatable-exception +253: ++ case $MACHINE in +253: ++ tlsdesc_opt=-mtls-dialect=gnu2 255: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-many-sections.sh .sh -250: + cat -250: + cc -c -o out/test/x86_64/relocatable-archive/a.o -xc - 255: ++ testname=relocatable-many-sections 255: ++ t=out/test/x86_64/relocatable-many-sections 255: ++ mkdir -p out/test/x86_64/relocatable-many-sections -248: + cc -B. -o out/test/x86_64/relax-got-load/exe1 out/test/x86_64/relax-got-load/a.o out/test/x86_64/relax-got-load/b.o -244: + readelf --dynamic out/test/x86_64/push-pop-state/exe +254: ++ case $MACHINE in +254: ++ tlsdesc_opt=-mtls-dialect=gnu2 +253: +++ uname +253: ++ '[' Linux = FreeBSD ']' +253: ++ trap 'on_error $LINENO' ERR +253: ++ trap on_exit EXIT +253: ++ echo -n 'Testing relocatable-debug-info ... ' +253: Testing relocatable-debug-info ... ++ set -o pipefail +253: ++ set -x 255: ++ case $MACHINE in 255: ++ tlsdesc_opt=-mtls-dialect=gnu2 +254: +++ uname +253: + grep __tsan_init +254: ++ '[' Linux = FreeBSD ']' +254: ++ trap 'on_error $LINENO' ERR +254: ++ trap on_exit EXIT +254: ++ echo -n 'Testing relocatable-exception ... ' +254: Testing relocatable-exception ... ++ set -o pipefail +254: ++ set -x +254: + '[' x86_64 = m68k ']' +254: + '[' x86_64 = sh4 ']' +254: + '[' x86_64 = sh4aeb ']' +254: + grep __tsan_init +254: + nm mold +253: + nm mold +245: + out/test/x86_64/range-extension-thunk/exe1 255: +++ uname 255: ++ '[' Linux = FreeBSD ']' 255: ++ trap 'on_error $LINENO' ERR -244: + grep -F a.so out/test/x86_64/push-pop-state/log 255: ++ trap on_exit EXIT 255: ++ echo -n 'Testing relocatable-many-sections ... ' 255: Testing relocatable-many-sections ... ++ set -o pipefail 255: ++ set -x +251: + c++ -c -o out/test/x86_64/relocatable-c++/a.o -xc++ - +251: + cat +245: + grep 'main fn1 fn3 fn2 fn4' +245: main fn1 fn3 fn2 fn4 +245: + cc -c -o out/test/x86_64/range-extension-thunk/e.o out/test/x86_64/range-extension-thunk/a.c -O2 255: + nm mold 255: + grep __tsan_init +248: + cc -B. -o out/test/x86_64/relax-got-load/exe1 out/test/x86_64/relax-got-load/a.o out/test/x86_64/relax-got-load/b.o +244: + readelf --dynamic out/test/x86_64/push-pop-state/exe +244: + grep -F a.so out/test/x86_64/push-pop-state/log +251: + c++ -c -o out/test/x86_64/relocatable-c++/b.o -xc++ - +251: + cat 244: 0x0000000000000001 (NEEDED) Shared library: [out/test/x86_64/push-pop-state/a.so] 244: + not grep -F b.so out/test/x86_64/push-pop-state/log 244: + grep -F b.so out/test/x86_64/push-pop-state/log -244: + return 0 -244: + on_exit -244: + echo OK -244: OK -244: + exit 0 -251: + cat -251: + c++ -c -o out/test/x86_64/relocatable-c++/a.o -xc++ - -244/402 Test #244: x86_64-push-pop-state ................................. Passed 0.40 sec +246: + out/test/x86_64/range-extension-thunk2/exe +246: + grep -E '^0 9 1 8 2 7 3 6 4 5 10 19 11 18 12 17 13 16 14 15 0 $' +250: + cat +250: + cc -c -o out/test/x86_64/relocatable-archive/a.o -xc - +246: 0 9 1 8 2 7 3 6 4 5 10 19 11 18 12 17 13 16 14 15 0 +246: + on_exit +246: + echo OK +246: OK +246: + exit 0 +244/402 Test #246: x86_64-range-extension-thunk2 ......................... Passed 0.36 sec test 256 Start 256: x86_64-relocatable-merge-sections @@ -16246,10 +16296,24 @@ 256: CPU= 256: Test timeout computed to be: 1500 252: + test_cflags -g3 -gz +244: + return 0 +244: + on_exit +244: + echo OK +244: OK +244: + exit 0 +245/402 Test #244: x86_64-push-pop-state ................................. Passed 0.40 sec +test 257 + Start 257: x86_64-relocatable-mergeable-sections + +257: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-mergeable-sections.sh" +257: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +257: Environment variables: +257: MACHINE=x86_64 +257: CPU= +257: Test timeout computed to be: 1500 252: + echo 'int main() {}' 252: + cc -B. -g3 -gz -o /dev/null -xc - -253: + cat -253: + cc -c -o out/test/x86_64/relocatable-debug-info/a.o -xc - -g +245: + cc -c -o out/test/x86_64/range-extension-thunk/f.o out/test/x86_64/range-extension-thunk/b.c -O2 256: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-merge-sections.sh 256: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 256: ++ export LC_ALL=C @@ -16265,56 +16329,14 @@ 256: ++ OBJCOPY=objcopy 256: ++ STRIP=strip 256: ++ QEMU= +248: + out/test/x86_64/relax-got-load/exe1 +248: + grep 'Hello world' 256: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-merge-sections.sh .sh +248: Hello world 256: ++ testname=relocatable-merge-sections 256: ++ t=out/test/x86_64/relocatable-merge-sections -245: + cc -c -o out/test/x86_64/range-extension-thunk/f.o out/test/x86_64/range-extension-thunk/b.c -O2 256: ++ mkdir -p out/test/x86_64/relocatable-merge-sections -250: + cat -250: + cc -c -o out/test/x86_64/relocatable-archive/b.o -xc - -256: ++ case $MACHINE in -256: ++ tlsdesc_opt=-mtls-dialect=gnu2 -256: +++ uname -256: ++ '[' Linux = FreeBSD ']' -256: ++ trap 'on_error $LINENO' ERR -256: ++ trap on_exit EXIT -256: ++ echo -n 'Testing relocatable-merge-sections ... ' -256: Testing relocatable-merge-sections ... ++ set -o pipefail -256: ++ set -x -256: + nm mold -256: + grep __tsan_init -248: + out/test/x86_64/relax-got-load/exe1 -251: + cat -248: + grep 'Hello world' -251: + c++ -c -o out/test/x86_64/relocatable-c++/b.o -xc++ - -248: Hello world 248: + cc -B. -o out/test/x86_64/relax-got-load/exe2 out/test/x86_64/relax-got-load/a.o out/test/x86_64/relax-got-load/b.o -Wl,--no-relax -254: + cat -254: + c++ -c -o out/test/x86_64/relocatable-exception/a.o -xc++ - -248: + out/test/x86_64/relax-got-load/exe2 -248: + grep 'Hello world' -253: + cat -253: + cc -c -o out/test/x86_64/relocatable-debug-info/b.o -xc - -g -248: Hello world -248: + case $MACHINE in -248: + on_exit -248: + echo OK -248: OK -248: + exit 0 -245/402 Test #248: x86_64-relax-got-load ................................. Passed 0.32 sec -245: + cc -B. -o out/test/x86_64/range-extension-thunk/exe2 out/test/x86_64/range-extension-thunk/e.o out/test/x86_64/range-extension-thunk/f.o -Wl,--section-start=.low=0x10000000,--section-start=.high=0x20000000 -test 257 - Start 257: x86_64-relocatable-mergeable-sections - -257: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-mergeable-sections.sh" -257: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -257: Environment variables: -257: MACHINE=x86_64 -257: CPU= -257: Test timeout computed to be: 1500 -246: + cc -B. -o out/test/x86_64/range-extension-thunk2/exe out/test/x86_64/range-extension-thunk2/a.o -250: + cat -250: + cc -c -o out/test/x86_64/relocatable-archive/c.o -xc - 257: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-mergeable-sections.sh 257: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 257: ++ export LC_ALL=C @@ -16330,39 +16352,48 @@ 257: ++ OBJCOPY=objcopy 257: ++ STRIP=strip 257: ++ QEMU= +256: ++ case $MACHINE in +256: ++ tlsdesc_opt=-mtls-dialect=gnu2 257: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable-mergeable-sections.sh .sh 257: ++ testname=relocatable-mergeable-sections 257: ++ t=out/test/x86_64/relocatable-mergeable-sections 257: ++ mkdir -p out/test/x86_64/relocatable-mergeable-sections +250: + cc -c -o out/test/x86_64/relocatable-archive/b.o -xc - +250: + cat +256: +++ uname +256: ++ '[' Linux = FreeBSD ']' +256: ++ trap 'on_error $LINENO' ERR +256: ++ trap on_exit EXIT +256: ++ echo -n 'Testing relocatable-merge-sections ... ' +256: Testing relocatable-merge-sections ... ++ set -o pipefail +256: ++ set -x +256: + grep __tsan_init +256: + nm mold 257: ++ case $MACHINE in 257: ++ tlsdesc_opt=-mtls-dialect=gnu2 +245: + cc -B. -o out/test/x86_64/range-extension-thunk/exe2 out/test/x86_64/range-extension-thunk/e.o out/test/x86_64/range-extension-thunk/f.o -Wl,--section-start=.low=0x10000000,--section-start=.high=0x20000000 257: +++ uname 257: ++ '[' Linux = FreeBSD ']' -253: + objdump --dwarf=info out/test/x86_64/relocatable-debug-info/a.o out/test/x86_64/relocatable-debug-info/b.o -253: + grep 'Warning: DIE at offset' 257: ++ trap 'on_error $LINENO' ERR 257: ++ trap on_exit EXIT 257: ++ echo -n 'Testing relocatable-mergeable-sections ... ' 257: Testing relocatable-mergeable-sections ... ++ set -o pipefail 257: ++ set -x -257: + grep __tsan_init 257: + nm mold -253: + ./mold --relocatable -o out/test/x86_64/relocatable-debug-info/c.o out/test/x86_64/relocatable-debug-info/a.o out/test/x86_64/relocatable-debug-info/b.o -252: + cat -252: + gcc -c -o out/test/x86_64/relocatable-compressed-debug-info/a.o -xc - -g3 -gz -254: + cat -254: + c++ -c -o out/test/x86_64/relocatable-exception/b.o -xc++ - -250: + cat -250: + cc -c -o out/test/x86_64/relocatable-archive/d.o -xc - -245: + grep 'main fn1 fn3 fn2 fn4' -245: + out/test/x86_64/range-extension-thunk/exe2 -245: main fn1 fn3 fn2 fn4 -245: + on_exit -245: + echo OK -245: OK -245: + exit 0 -246/402 Test #245: x86_64-range-extension-thunk .......................... Passed 0.48 sec +257: + grep __tsan_init +255: + sed 's/.*/.section .data.\0,"aw"\n.word 0\n/g' 255: + seq 1 80000 +255: + cc -c -xassembler -o out/test/x86_64/relocatable-many-sections/a.o - +250: + cat +208: + grep 'Hello world' +208: + out/test/x86_64/lto-gcc/exe3 +250: + cc -c -o out/test/x86_64/relocatable-archive/c.o -xc - +208: Hello world +208: + on_exit +208: + echo OK +208: OK +208: + exit 0 +246/402 Test #208: x86_64-lto-gcc ........................................ Passed 2.99 sec test 258 Start 258: x86_64-relocatable @@ -16372,8 +16403,28 @@ 258: MACHINE=x86_64 258: CPU= 258: Test timeout computed to be: 1500 -255: + sed 's/.*/.section .data.\0,"aw"\n.word 0\n/g' -255: + cc -c -xassembler -o out/test/x86_64/relocatable-many-sections/a.o - +248: + grep 'Hello world' +248: + out/test/x86_64/relax-got-load/exe2 +248: Hello world +248: + case $MACHINE in +248: + on_exit +248: + echo OK +248: OK +248: + exit 0 +254: + cat +254: + c++ -c -o out/test/x86_64/relocatable-exception/a.o -xc++ - +247/402 Test #248: x86_64-relax-got-load ................................. Passed 0.40 sec +test 259 + Start 259: x86_64-relro + +259: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/relro.sh" +259: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +259: Environment variables: +259: MACHINE=x86_64 +259: CPU= +259: Test timeout computed to be: 1500 +252: + cat +252: + gcc -c -o out/test/x86_64/relocatable-compressed-debug-info/a.o -xc - -g3 -gz 258: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable.sh 258: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 258: ++ export LC_ALL=C @@ -16389,81 +16440,17 @@ 258: ++ OBJCOPY=objcopy 258: ++ STRIP=strip 258: ++ QEMU= +253: + cc -c -o out/test/x86_64/relocatable-debug-info/a.o -xc - -g +253: + cat 258: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/relocatable.sh .sh -253: + cc -B. -o out/test/x86_64/relocatable-debug-info/exe out/test/x86_64/relocatable-debug-info/c.o 258: ++ testname=relocatable 258: ++ t=out/test/x86_64/relocatable 258: ++ mkdir -p out/test/x86_64/relocatable -250: + ar crs out/test/x86_64/relocatable-archive/e.a out/test/x86_64/relocatable-archive/a.o out/test/x86_64/relocatable-archive/b.o out/test/x86_64/relocatable-archive/c.o -258: ++ case $MACHINE in -258: ++ tlsdesc_opt=-mtls-dialect=gnu2 -258: +++ uname -258: ++ '[' Linux = FreeBSD ']' -258: ++ trap 'on_error $LINENO' ERR -258: ++ trap on_exit EXIT -258: ++ echo -n 'Testing relocatable ... ' -258: Testing relocatable ... ++ set -o pipefail -258: ++ set -x -250: + ./mold -r -o out/test/x86_64/relocatable-archive/f.o out/test/x86_64/relocatable-archive/d.o out/test/x86_64/relocatable-archive/e.a -258: + nm mold -258: + grep __tsan_init -252: + cat -252: + gcc -c -o out/test/x86_64/relocatable-compressed-debug-info/b.o -xc - -g3 -gz -253: + grep 'Hello world' -253: + out/test/x86_64/relocatable-debug-info/exe -250: + readelf --symbols out/test/x86_64/relocatable-archive/f.o -253: Hello world -253: + objdump --dwarf=info out/test/x86_64/relocatable-debug-info/c.o -253: + not grep Warning -250: + grep 'foo\b' out/test/x86_64/relocatable-archive/log -250: 16: 0000000000000015 17 FUNC GLOBAL DEFAULT 2 foo -253: + grep Warning -250: + grep 'bar\b' out/test/x86_64/relocatable-archive/log -250: 17: 0000000000000026 7 FUNC GLOBAL DEFAULT 2 bar -250: + not grep 'baz\b' out/test/x86_64/relocatable-archive/log -250: + grep 'baz\b' out/test/x86_64/relocatable-archive/log -253: + return 0 -253: + on_exit -253: + echo OK -253: OK -253: + exit 0 -250: + return 0 -247/402 Test #253: x86_64-relocatable-debug-info ......................... Passed 0.39 sec -test 259 - Start 259: x86_64-relro - -259: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/relro.sh" -259: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -259: Environment variables: -259: MACHINE=x86_64 -259: CPU= -259: Test timeout computed to be: 1500 -250: + on_exit -250: + echo OK -250: OK -250: + exit 0 -246: + out/test/x86_64/range-extension-thunk2/exe -248/402 Test #250: x86_64-relocatable-archive ............................ Passed 0.44 sec -246: + grep -E '^0 9 1 8 2 7 3 6 4 5 10 19 11 18 12 17 13 16 14 15 0 $' -246: 0 9 1 8 2 7 3 6 4 5 10 19 11 18 12 17 13 16 14 15 0 -246: + on_exit -246: + echo OK -246: OK -246: + exit 0 -215: + ./mold --relocatable -o out/test/x86_64/many-sections2/b.o out/test/x86_64/many-sections2/a.o +245: + grep 'main fn1 fn3 fn2 fn4' 259: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/relro.sh 259: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 259: ++ export LC_ALL=C 259: ++ LC_ALL=C -test 260 - Start 260: x86_64-repro - -260: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/repro.sh" -260: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -260: Environment variables: -260: MACHINE=x86_64 -260: CPU= -260: Test timeout computed to be: 1500 259: ++ '[' -z x86_64 ']' 259: ++ '[' -z '' ']' 259: ++ TESTDIR=out/test/x86_64 @@ -16475,14 +16462,41 @@ 259: ++ OBJCOPY=objcopy 259: ++ STRIP=strip 259: ++ QEMU= +245: + out/test/x86_64/range-extension-thunk/exe2 +245: main fn1 fn3 fn2 fn4 +245: + on_exit +245: + echo OK +245: OK +245: + exit 0 +248/402 Test #245: x86_64-range-extension-thunk .......................... Passed 0.55 sec +test 260 + Start 260: x86_64-repro + +260: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/repro.sh" +260: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +260: Environment variables: +260: MACHINE=x86_64 +260: CPU= +260: Test timeout computed to be: 1500 259: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/relro.sh .sh 259: ++ testname=relro 259: ++ t=out/test/x86_64/relro 259: ++ mkdir -p out/test/x86_64/relro -252: + ./mold --relocatable -o out/test/x86_64/relocatable-compressed-debug-info/c.o out/test/x86_64/relocatable-compressed-debug-info/a.o out/test/x86_64/relocatable-compressed-debug-info/b.o -249/402 Test #246: x86_64-range-extension-thunk2 ......................... Passed 0.55 sec +258: ++ case $MACHINE in +258: ++ tlsdesc_opt=-mtls-dialect=gnu2 +258: +++ uname +258: ++ '[' Linux = FreeBSD ']' +258: ++ trap 'on_error $LINENO' ERR +258: ++ trap on_exit EXIT +258: ++ echo -n 'Testing relocatable ... ' +258: Testing relocatable ... ++ set -o pipefail +258: ++ set -x +250: + cc -c -o out/test/x86_64/relocatable-archive/d.o -xc - +250: + cat 259: ++ case $MACHINE in 259: ++ tlsdesc_opt=-mtls-dialect=gnu2 +258: + nm mold +260: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/repro.sh 259: +++ uname 259: ++ '[' Linux = FreeBSD ']' 259: ++ trap 'on_error $LINENO' ERR @@ -16490,18 +16504,6 @@ 259: ++ echo -n 'Testing relro ... ' 259: Testing relro ... ++ set -o pipefail 259: ++ set -x -259: + cat -test 261 - Start 261: x86_64-require-defined - -261: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/require-defined.sh" -261: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -261: Environment variables: -261: MACHINE=x86_64 -261: CPU= -261: Test timeout computed to be: 1500 -259: + cc -c -xc -o out/test/x86_64/relro/a.o - -260: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/repro.sh 260: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 260: ++ export LC_ALL=C 260: ++ LC_ALL=C @@ -16516,76 +16518,77 @@ 260: ++ OBJCOPY=objcopy 260: ++ STRIP=strip 260: ++ QEMU= +258: + grep __tsan_init +259: + cc -c -xc -o out/test/x86_64/relro/a.o - +259: + cat 260: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/repro.sh .sh -252: + cc -B. -o out/test/x86_64/relocatable-compressed-debug-info/exe out/test/x86_64/relocatable-compressed-debug-info/c.o 260: ++ testname=repro 260: ++ t=out/test/x86_64/repro 260: ++ mkdir -p out/test/x86_64/repro -261: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/require-defined.sh -256: + cat -256: + cc -c -o out/test/x86_64/relocatable-merge-sections/a.o -xc -ffunction-sections - -261: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -261: ++ export LC_ALL=C -261: ++ LC_ALL=C -261: ++ '[' -z x86_64 ']' -261: ++ '[' -z '' ']' -261: ++ TESTDIR=out/test/x86_64 -261: ++ CC=cc -261: ++ CXX=c++ -261: ++ GCC=gcc -261: ++ GXX=g++ -261: ++ OBJDUMP=objdump -261: ++ OBJCOPY=objcopy -261: ++ STRIP=strip -261: ++ QEMU= -261: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/require-defined.sh .sh 260: ++ case $MACHINE in 260: ++ tlsdesc_opt=-mtls-dialect=gnu2 260: +++ uname -261: ++ testname=require-defined -261: ++ t=out/test/x86_64/require-defined -261: ++ mkdir -p out/test/x86_64/require-defined 260: ++ '[' Linux = FreeBSD ']' 260: ++ trap 'on_error $LINENO' ERR 260: ++ trap on_exit EXIT 260: ++ echo -n 'Testing repro ... ' -261: ++ case $MACHINE in -261: ++ tlsdesc_opt=-mtls-dialect=gnu2 260: Testing repro ... ++ set -o pipefail 260: ++ set -x 260: + cat +254: + cat +254: + c++ -c -o out/test/x86_64/relocatable-exception/b.o -xc++ - +250: + ar crs out/test/x86_64/relocatable-archive/e.a out/test/x86_64/relocatable-archive/a.o out/test/x86_64/relocatable-archive/b.o out/test/x86_64/relocatable-archive/c.o 260: + cc -c -o out/test/x86_64/repro/a.o -xc - -261: +++ uname -261: ++ '[' Linux = FreeBSD ']' -261: ++ trap 'on_error $LINENO' ERR -261: ++ trap on_exit EXIT -261: ++ echo -n 'Testing require-defined ... ' -261: Testing require-defined ... ++ set -o pipefail -261: ++ set -x -261: + cat -261: + cc -o out/test/x86_64/require-defined/a.o -c -xc - -256: + ./mold --relocatable -o out/test/x86_64/relocatable-merge-sections/b.o out/test/x86_64/relocatable-merge-sections/a.o +257: + cat +257: + cc -c -o out/test/x86_64/relocatable-mergeable-sections/a.o -xassembler - +250: + ./mold -r -o out/test/x86_64/relocatable-archive/f.o out/test/x86_64/relocatable-archive/d.o out/test/x86_64/relocatable-archive/e.a +253: + cat +253: + cc -c -o out/test/x86_64/relocatable-debug-info/b.o -xc - -g +252: + gcc -c -o out/test/x86_64/relocatable-compressed-debug-info/b.o -xc - -g3 -gz 259: + cc -B. -o out/test/x86_64/relro/exe1 out/test/x86_64/relro/a.o -Wl,-z,relro,-z,lazy -261: + rm -f out/test/x86_64/require-defined/b.a -261: + ar rcs out/test/x86_64/require-defined/b.a out/test/x86_64/require-defined/a.o +252: + cat +257: + ./mold --relocatable -o out/test/x86_64/relocatable-mergeable-sections/b.o out/test/x86_64/relocatable-mergeable-sections/a.o 260: + rm -rf out/test/x86_64/repro/exe.repro out/test/x86_64/repro/exe.repro.tar +250: + readelf --symbols out/test/x86_64/relocatable-archive/f.o 260: + cc -B. -o out/test/x86_64/repro/exe out/test/x86_64/repro/a.o -261: + cat -261: + cc -o out/test/x86_64/require-defined/c.o -c -xc - -256: + readelf -WS out/test/x86_64/relocatable-merge-sections/b.o -252: + out/test/x86_64/relocatable-compressed-debug-info/exe -252: + grep 'Hello world' -252: Hello world -252: + on_exit -252: + echo OK -252: OK -252: + exit 0 -256: + grep -F .text.foo out/test/x86_64/relocatable-merge-sections/log1 -256: [ 4] .text.foo PROGBITS 0000000000000000 0000a3 000007 00 AX 0 0 1 -256: + grep -F .text.bar out/test/x86_64/relocatable-merge-sections/log1 -256: [ 3] .text.bar PROGBITS 0000000000000000 00009c 000007 00 AX 0 0 1 -256: + ./mold --relocatable -o out/test/x86_64/relocatable-merge-sections/c.o out/test/x86_64/relocatable-merge-sections/a.o --relocatable-merge-sections -250/402 Test #252: x86_64-relocatable-compressed-debug-info .............. Passed 0.48 sec +250: + grep 'foo\b' out/test/x86_64/relocatable-archive/log +252: + ./mold --relocatable -o out/test/x86_64/relocatable-compressed-debug-info/c.o out/test/x86_64/relocatable-compressed-debug-info/a.o out/test/x86_64/relocatable-compressed-debug-info/b.o +250: 16: 0000000000000015 17 FUNC GLOBAL DEFAULT 2 foo +250: + grep 'bar\b' out/test/x86_64/relocatable-archive/log +257: + readelf -W -p .rodata.str1.1 out/test/x86_64/relocatable-mergeable-sections/b.o +250: 17: 0000000000000026 7 FUNC GLOBAL DEFAULT 2 bar +250: + not grep 'baz\b' out/test/x86_64/relocatable-archive/log +250: + grep 'baz\b' out/test/x86_64/relocatable-archive/log +258: + cat +258: + cc -c -o out/test/x86_64/relocatable/a.o -xc - +257: + grep -E '\b0\b.*Hello' +257: [ 0] Hello +257: + readelf -W -p .rodata.str1.1 out/test/x86_64/relocatable-mergeable-sections/b.o +250: + return 0 +250: + on_exit +250: + echo OK +250: OK +250: + exit 0 +257: + grep -E '\b7\b.*World' +249/402 Test #250: x86_64-relocatable-archive ............................ Passed 0.62 sec +252: + cc -B. -o out/test/x86_64/relocatable-compressed-debug-info/exe out/test/x86_64/relocatable-compressed-debug-info/c.o +test 261 + Start 261: x86_64-require-defined + +261: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/require-defined.sh" +261: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +261: Environment variables: +261: MACHINE=x86_64 +261: CPU= +261: Test timeout computed to be: 1500 +257: [ 7] World +257: + on_exit +257: + echo OK +257: OK +257: + exit 0 +253: + grep 'Warning: DIE at offset' +253: + objdump --dwarf=info out/test/x86_64/relocatable-debug-info/a.o out/test/x86_64/relocatable-debug-info/b.o +250/402 Test #257: x86_64-relocatable-mergeable-sections ................. Passed 0.39 sec test 262 Start 262: x86_64-response-file @@ -16595,6 +16598,31 @@ 262: MACHINE=x86_64 262: CPU= 262: Test timeout computed to be: 1500 +253: + ./mold --relocatable -o out/test/x86_64/relocatable-debug-info/c.o out/test/x86_64/relocatable-debug-info/a.o out/test/x86_64/relocatable-debug-info/b.o +256: + cc -c -o out/test/x86_64/relocatable-merge-sections/a.o -xc -ffunction-sections - +256: + cat +260: + not '[' -f out/test/x86_64/repro/exe.repro.tar ']' +260: + '[' -f out/test/x86_64/repro/exe.repro.tar ']' +260: + return 0 +260: + cc -B. -o out/test/x86_64/repro/exe out/test/x86_64/repro/a.o -Wl,-repro +259: + grep 'Hello world' +261: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/require-defined.sh +261: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +261: ++ export LC_ALL=C +261: ++ LC_ALL=C +261: ++ '[' -z x86_64 ']' +261: ++ '[' -z '' ']' +261: ++ TESTDIR=out/test/x86_64 +261: ++ CC=cc +261: ++ CXX=c++ +261: ++ GCC=gcc +261: ++ GXX=g++ +261: ++ OBJDUMP=objdump +261: ++ OBJCOPY=objcopy +261: ++ STRIP=strip +261: ++ QEMU= +259: + out/test/x86_64/relro/exe1 +259: Hello world 262: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/response-file.sh 262: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 262: ++ export LC_ALL=C @@ -16610,31 +16638,29 @@ 262: ++ OBJCOPY=objcopy 262: ++ STRIP=strip 262: ++ QEMU= -256: + readelf -WS out/test/x86_64/relocatable-merge-sections/c.o -261: + cc -B. -o out/test/x86_64/require-defined/exe out/test/x86_64/require-defined/c.o out/test/x86_64/require-defined/b.a +259: + readelf --segments -W out/test/x86_64/relro/exe1 262: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/response-file.sh .sh 262: ++ testname=response-file 262: ++ t=out/test/x86_64/response-file 262: ++ mkdir -p out/test/x86_64/response-file -256: + not grep -F .text.foo out/test/x86_64/relocatable-merge-sections/log2 -256: + grep -F .text.foo out/test/x86_64/relocatable-merge-sections/log2 -260: + not '[' -f out/test/x86_64/repro/exe.repro.tar ']' -260: + '[' -f out/test/x86_64/repro/exe.repro.tar ']' -260: + return 0 -260: + cc -B. -o out/test/x86_64/repro/exe out/test/x86_64/repro/a.o -Wl,-repro -256: + return 0 -256: + not grep -F .text.bar out/test/x86_64/relocatable-merge-sections/log2 -256: + grep -F .text.bar out/test/x86_64/relocatable-merge-sections/log2 -262: ++ case $MACHINE in -262: ++ tlsdesc_opt=-mtls-dialect=gnu2 -262: +++ uname -256: + return 0 -256: + on_exit -256: + echo OK -256: OK -256: + exit 0 -262: ++ '[' Linux = FreeBSD ']' -251/402 Test #256: x86_64-relocatable-merge-sections ..................... Passed 0.35 sec +261: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/require-defined.sh .sh +261: ++ testname=require-defined +261: ++ t=out/test/x86_64/require-defined +261: ++ mkdir -p out/test/x86_64/require-defined +259: + grep -w GNU_RELRO +253: + cc -B. -o out/test/x86_64/relocatable-debug-info/exe out/test/x86_64/relocatable-debug-info/c.o +259: GNU_RELRO 0x000718 0x0000000000002718 0x0000000000002718 0x000228 0x0008e8 R 0x1 +259: + cc -B. -o out/test/x86_64/relro/exe2 out/test/x86_64/relro/a.o -Wl,-z,relro,-z,now +252: + grep 'Hello world' +261: ++ case $MACHINE in +261: ++ tlsdesc_opt=-mtls-dialect=gnu2 +252: + out/test/x86_64/relocatable-compressed-debug-info/exe +252: Hello world +252: + on_exit +252: + echo OK +252: OK +252: + exit 0 +251/402 Test #252: x86_64-relocatable-compressed-debug-info .............. Passed 0.67 sec test 263 Start 263: x86_64-response-file2 @@ -16644,13 +16670,18 @@ 263: MACHINE=x86_64 263: CPU= 263: Test timeout computed to be: 1500 -262: ++ trap 'on_error $LINENO' ERR -262: ++ trap on_exit EXIT -262: ++ echo -n 'Testing response-file ... ' -262: Testing response-file ... ++ set -o pipefail -262: ++ set -x -262: + cc -c -o out/test/x86_64/response-file/a.o -xc - -262: + cat +261: +++ uname +261: ++ '[' Linux = FreeBSD ']' +261: ++ trap 'on_error $LINENO' ERR +261: ++ trap on_exit EXIT +261: ++ echo -n 'Testing require-defined ... ' +261: Testing require-defined ... ++ set -o pipefail +261: ++ set -x +256: + ./mold --relocatable -o out/test/x86_64/relocatable-merge-sections/b.o out/test/x86_64/relocatable-merge-sections/a.o +262: ++ case $MACHINE in +262: ++ tlsdesc_opt=-mtls-dialect=gnu2 +261: + cc -o out/test/x86_64/require-defined/a.o -c -xc - +261: + cat 263: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/response-file2.sh 263: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 263: ++ export LC_ALL=C @@ -16666,82 +16697,65 @@ 263: ++ OBJCOPY=objcopy 263: ++ STRIP=strip 263: ++ QEMU= +258: + cc -c -o out/test/x86_64/relocatable/b.o -xc - +262: +++ uname 263: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/response-file2.sh .sh -259: + grep 'Hello world' -259: + out/test/x86_64/relro/exe1 263: ++ testname=response-file2 263: ++ t=out/test/x86_64/response-file2 263: ++ mkdir -p out/test/x86_64/response-file2 +262: ++ '[' Linux = FreeBSD ']' +262: ++ trap 'on_error $LINENO' ERR +262: ++ trap on_exit EXIT +262: ++ echo -n 'Testing response-file ... ' +262: Testing response-file ... ++ set -o pipefail +262: ++ set -x +254: + ./mold --relocatable -o out/test/x86_64/relocatable-exception/c.o out/test/x86_64/relocatable-exception/a.o out/test/x86_64/relocatable-exception/b.o +258: + cat +262: + cat +262: + cc -c -o out/test/x86_64/response-file/a.o -xc - 263: ++ case $MACHINE in 263: ++ tlsdesc_opt=-mtls-dialect=gnu2 263: +++ uname -259: Hello world 263: ++ '[' Linux = FreeBSD ']' 263: ++ trap 'on_error $LINENO' ERR 263: ++ trap on_exit EXIT 263: ++ echo -n 'Testing response-file2 ... ' 263: Testing response-file2 ... ++ set -o pipefail 263: ++ set -x -259: + readelf --segments -W out/test/x86_64/relro/exe1 263: + cat -259: + grep -w GNU_RELRO +253: + grep 'Hello world' 263: + cc -c -o out/test/x86_64/response-file2/a.o -xc - -259: GNU_RELRO 0x000718 0x0000000000002718 0x0000000000002718 0x000228 0x0008e8 R 0x1 -259: + cc -B. -o out/test/x86_64/relro/exe2 out/test/x86_64/relro/a.o -Wl,-z,relro,-z,now -262: + cat -262: + cc -c -o out/test/x86_64/response-file/b.o -xc - -261: + readelf --symbols out/test/x86_64/require-defined/exe -261: + not grep foobar -261: + grep foobar -261: + return 0 -260: + tar -C out/test/x86_64/repro -xf out/test/x86_64/repro/exe.repro.tar -261: + cc -B. -o out/test/x86_64/require-defined/exe out/test/x86_64/require-defined/c.o out/test/x86_64/require-defined/b.a -Wl,-require-defined,foobar -263: + cat -263: + cc -c -o out/test/x86_64/response-file2/b.o -xc - -257: + cat -257: + cc -c -o out/test/x86_64/relocatable-mergeable-sections/a.o -xassembler - -258: + cat -258: + cc -c -o out/test/x86_64/relocatable/a.o -xc - -257: + ./mold --relocatable -o out/test/x86_64/relocatable-mergeable-sections/b.o out/test/x86_64/relocatable-mergeable-sections/a.o -261: + readelf --symbols out/test/x86_64/require-defined/exe -261: + grep foobar -263: + echo ''\''out/test/x86_64/response-file2/b.o'\''' -261: 61: 00000000000016c4 7 FUNC LOCAL DEFAULT 17 foobar -263: + echo @out/test/x86_64/response-file2/rsp1 -263: + cc -B. -o out/test/x86_64/response-file2/exe out/test/x86_64/response-file2/a.o -Wl,@out/test/x86_64/response-file2/rsp2 -260: + tar -C out/test/x86_64/repro -tvf out/test/x86_64/repro/exe.repro.tar -259: + out/test/x86_64/relro/exe2 -260: + grep ' exe.repro/.*/a.o' -262: + cat -262: + cc -c -o out/test/x86_64/response-file/c.o -xc - -261: + not cc -B. -o out/test/x86_64/require-defined/exe out/test/x86_64/require-defined/c.o out/test/x86_64/require-defined/b.a -Wl,-require-defined,xyz -261: + grep 'undefined symbol: xyz' -260: -rw-rw-r-- 0/0 1368 1969-12-31 12:00 exe.repro/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/out/test/x86_64/repro/a.o -260: + grep /a.o out/test/x86_64/repro/exe.repro/response.txt 259: + grep 'Hello world' +253: + out/test/x86_64/relocatable-debug-info/exe +259: + out/test/x86_64/relro/exe2 +254: + c++ -B. -o out/test/x86_64/relocatable-exception/exe out/test/x86_64/relocatable-exception/c.o +256: + readelf -WS out/test/x86_64/relocatable-merge-sections/b.o 259: Hello world -259: + readelf --segments -W out/test/x86_64/relro/exe2 +253: Hello world +261: + rm -f out/test/x86_64/require-defined/b.a +258: + ./mold --relocatable -o out/test/x86_64/relocatable/c.o out/test/x86_64/relocatable/a.o out/test/x86_64/relocatable/b.o +260: + tar -C out/test/x86_64/repro -xf out/test/x86_64/repro/exe.repro.tar +256: + grep -F .text.foo out/test/x86_64/relocatable-merge-sections/log1 259: + grep -w GNU_RELRO -260: out/test/x86_64/repro/a.o -260: + grep mold out/test/x86_64/repro/exe.repro/version.txt -260: mold 2.37.1 (compatible with GNU ld) -260: + rm -rf out/test/x86_64/repro/exe.repro out/test/x86_64/repro/exe.repro.tar +253: + objdump --dwarf=info out/test/x86_64/relocatable-debug-info/c.o +259: + readelf --segments -W out/test/x86_64/relro/exe2 259: GNU_RELRO 0x000718 0x0000000000002718 0x0000000000002718 0x000258 0x0008e8 R 0x1 -251: + ./mold --relocatable -o out/test/x86_64/relocatable-c++/c.o out/test/x86_64/relocatable-c++/a.o 259: + cc -B. -o out/test/x86_64/relro/exe3 out/test/x86_64/relro/a.o -Wl,-z,norelro -257: + readelf -W -p .rodata.str1.1 out/test/x86_64/relocatable-mergeable-sections/b.o -257: + grep -E '\b0\b.*Hello' -257: [ 0] Hello -257: + readelf -W -p .rodata.str1.1 out/test/x86_64/relocatable-mergeable-sections/b.o -257: + grep -E '\b7\b.*World' -258: + cat -258: + cc -c -o out/test/x86_64/relocatable/b.o -xc - -257: [ 7] World -257: + on_exit -257: + echo OK -257: OK -257: + exit 0 -252/402 Test #257: x86_64-relocatable-mergeable-sections ................. Passed 0.36 sec +253: + not grep Warning +253: + grep Warning +261: + ar rcs out/test/x86_64/require-defined/b.a out/test/x86_64/require-defined/a.o +256: [ 4] .text.foo PROGBITS 0000000000000000 0000a3 000007 00 AX 0 0 1 +256: + grep -F .text.bar out/test/x86_64/relocatable-merge-sections/log1 +262: + cc -c -o out/test/x86_64/response-file/b.o -xc - +262: + cat +253: + return 0 +256: [ 3] .text.bar PROGBITS 0000000000000000 00009c 000007 00 AX 0 0 1 +256: + ./mold --relocatable -o out/test/x86_64/relocatable-merge-sections/c.o out/test/x86_64/relocatable-merge-sections/a.o --relocatable-merge-sections +253: + on_exit +253: + echo OK +253: OK +253: + exit 0 +252/402 Test #253: x86_64-relocatable-debug-info ......................... Passed 0.79 sec test 264 Start 264: x86_64-retain-symbols-file @@ -16751,12 +16765,14 @@ 264: MACHINE=x86_64 264: CPU= 264: Test timeout computed to be: 1500 -262: + echo ''\''out/test/x86_64/response-file/b.o'\'' '\''out/test/x86_64/response-file/c.o'\''' -262: + cc -B. -o out/test/x86_64/response-file/exe out/test/x86_64/response-file/a.o -Wl,@out/test/x86_64/response-file/rsp -251: + ./mold --relocatable -o out/test/x86_64/relocatable-c++/d.o out/test/x86_64/relocatable-c++/b.o +261: + cc -o out/test/x86_64/require-defined/c.o -c -xc - +261: + cat +260: + tar -C out/test/x86_64/repro -tvf out/test/x86_64/repro/exe.repro.tar +260: + grep ' exe.repro/.*/a.o' +260: -rw-rw-r-- 0/0 1368 1970-01-01 14:00 exe.repro/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/out/test/x86_64/repro/a.o +260: + grep /a.o out/test/x86_64/repro/exe.repro/response.txt +258: + cc -B. -o out/test/x86_64/relocatable/exe out/test/x86_64/relocatable/c.o 264: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/retain-symbols-file.sh -260: + MOLD_REPRO=1 -260: + cc -B. -o out/test/x86_64/repro/exe out/test/x86_64/repro/a.o 264: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 264: ++ export LC_ALL=C 264: ++ LC_ALL=C @@ -16771,16 +16787,33 @@ 264: ++ OBJCOPY=objcopy 264: ++ STRIP=strip 264: ++ QEMU= +251: + ./mold --relocatable -o out/test/x86_64/relocatable-c++/c.o out/test/x86_64/relocatable-c++/a.o +256: + readelf -WS out/test/x86_64/relocatable-merge-sections/c.o +260: out/test/x86_64/repro/a.o +260: + grep mold out/test/x86_64/repro/exe.repro/version.txt +262: + cc -c -o out/test/x86_64/response-file/c.o -xc - +262: + cat 264: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/retain-symbols-file.sh .sh +254: + out/test/x86_64/relocatable-exception/exe +260: mold 2.37.1 (compatible with GNU ld) +260: + rm -rf out/test/x86_64/repro/exe.repro out/test/x86_64/repro/exe.repro.tar 264: ++ testname=retain-symbols-file 264: ++ t=out/test/x86_64/retain-symbols-file 264: ++ mkdir -p out/test/x86_64/retain-symbols-file -261: mold: error: --require-defined: undefined symbol: xyz -261: + on_exit -261: + echo OK -261: OK -261: + exit 0 -253/402 Test #261: x86_64-require-defined ................................ Passed 0.24 sec +256: + not grep -F .text.foo out/test/x86_64/relocatable-merge-sections/log2 +256: + grep -F .text.foo out/test/x86_64/relocatable-merge-sections/log2 +263: + cat +254: 0 +263: + cc -c -o out/test/x86_64/response-file2/b.o -xc - +254: + on_exit +254: + echo OK +254: OK +254: + exit 0 +260: + MOLD_REPRO=1 +260: + cc -B. -o out/test/x86_64/repro/exe out/test/x86_64/repro/a.o +253/402 Test #254: x86_64-relocatable-exception .......................... Passed 0.83 sec +259: + out/test/x86_64/relro/exe3 +259: + grep 'Hello world' test 265 Start 265: x86_64-reverse-sections @@ -16790,12 +16823,46 @@ 265: MACHINE=x86_64 265: CPU= 265: Test timeout computed to be: 1500 +259: Hello world +259: + not grep -w GNU_RELRO +259: + grep -w GNU_RELRO +256: + return 0 +256: + not grep -F .text.bar out/test/x86_64/relocatable-merge-sections/log2 +256: + grep -F .text.bar out/test/x86_64/relocatable-merge-sections/log2 +256: + return 0 +256: + on_exit +256: + echo OK +256: OK +256: + exit 0 +261: + cc -B. -o out/test/x86_64/require-defined/exe out/test/x86_64/require-defined/c.o out/test/x86_64/require-defined/b.a 264: ++ case $MACHINE in 264: ++ tlsdesc_opt=-mtls-dialect=gnu2 -265: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/reverse-sections.sh -258: + ./mold --relocatable -o out/test/x86_64/relocatable/c.o out/test/x86_64/relocatable/a.o out/test/x86_64/relocatable/b.o 264: +++ uname +251: + ./mold --relocatable -o out/test/x86_64/relocatable-c++/d.o out/test/x86_64/relocatable-c++/b.o +254/402 Test #256: x86_64-relocatable-merge-sections ..................... Passed 0.68 sec +259: + readelf --segments -W out/test/x86_64/relro/exe3 +test 266 + Start 266: x86_64-rodata-name + +266: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/rodata-name.sh" +266: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +266: Environment variables: +266: MACHINE=x86_64 +266: CPU= +266: Test timeout computed to be: 1500 +264: ++ '[' Linux = FreeBSD ']' +264: ++ trap 'on_error $LINENO' ERR +264: ++ trap on_exit EXIT +264: ++ echo -n 'Testing retain-symbols-file ... ' +264: Testing retain-symbols-file ... ++ set -o pipefail +264: ++ set -x +264: + cc -c -o out/test/x86_64/retain-symbols-file/a.o -xc - +264: + cat +262: + echo ''\''out/test/x86_64/response-file/b.o'\'' '\''out/test/x86_64/response-file/c.o'\''' +262: + cc -B. -o out/test/x86_64/response-file/exe out/test/x86_64/response-file/a.o -Wl,@out/test/x86_64/response-file/rsp +265: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/reverse-sections.sh 265: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +259: + return 0 265: ++ export LC_ALL=C 265: ++ LC_ALL=C 265: ++ '[' -z x86_64 ']' @@ -16809,57 +16876,12 @@ 265: ++ OBJCOPY=objcopy 265: ++ STRIP=strip 265: ++ QEMU= -264: ++ '[' Linux = FreeBSD ']' -264: ++ trap 'on_error $LINENO' ERR -264: ++ trap on_exit EXIT -264: ++ echo -n 'Testing retain-symbols-file ... ' -264: Testing retain-symbols-file ... ++ set -o pipefail -264: ++ set -x -264: + cat -264: + cc -c -o out/test/x86_64/retain-symbols-file/a.o -xc - -265: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/reverse-sections.sh .sh -265: ++ testname=reverse-sections -265: ++ t=out/test/x86_64/reverse-sections -265: ++ mkdir -p out/test/x86_64/reverse-sections -265: ++ case $MACHINE in -265: ++ tlsdesc_opt=-mtls-dialect=gnu2 -259: + out/test/x86_64/relro/exe3 -259: + grep 'Hello world' -265: +++ uname -265: ++ '[' Linux = FreeBSD ']' -265: ++ trap 'on_error $LINENO' ERR -265: ++ trap on_exit EXIT -265: ++ echo -n 'Testing reverse-sections ... ' -265: Testing reverse-sections ... ++ set -o pipefail -265: ++ set -x -265: + cat -265: + cc -o out/test/x86_64/reverse-sections/a.o -c -xc++ - -263: + on_exit -263: + echo OK -263: OK -263: + exit 0 -251: + c++ -B. -o out/test/x86_64/relocatable-c++/exe out/test/x86_64/relocatable-c++/c.o out/test/x86_64/relocatable-c++/d.o -259: Hello world -254/402 Test #263: x86_64-response-file2 ................................. Passed 0.18 sec -test 266 - Start 266: x86_64-rodata-name - -266: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/rodata-name.sh" -266: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -266: Environment variables: -266: MACHINE=x86_64 -266: CPU= -266: Test timeout computed to be: 1500 -259: + readelf --segments -W out/test/x86_64/relro/exe3 -259: + not grep -w GNU_RELRO -259: + grep -w GNU_RELRO -258: + cc -B. -o out/test/x86_64/relocatable/exe out/test/x86_64/relocatable/c.o -259: + return 0 259: + on_exit 259: + echo OK 259: OK 259: + exit 0 -255/402 Test #259: x86_64-relro .......................................... Passed 0.28 sec +255/402 Test #259: x86_64-relro .......................................... Passed 0.57 sec +258: + out/test/x86_64/relocatable/exe test 267 Start 267: x86_64-rosegment @@ -16869,6 +16891,13 @@ 267: MACHINE=x86_64 267: CPU= 267: Test timeout computed to be: 1500 +251: + c++ -B. -o out/test/x86_64/relocatable-c++/exe out/test/x86_64/relocatable-c++/c.o out/test/x86_64/relocatable-c++/d.o +265: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/reverse-sections.sh .sh +265: ++ testname=reverse-sections +265: ++ t=out/test/x86_64/reverse-sections +265: ++ mkdir -p out/test/x86_64/reverse-sections +265: ++ case $MACHINE in +265: ++ tlsdesc_opt=-mtls-dialect=gnu2 266: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/rodata-name.sh 266: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 266: ++ export LC_ALL=C @@ -16884,8 +16913,54 @@ 266: ++ OBJCOPY=objcopy 266: ++ STRIP=strip 266: ++ QEMU= +263: + echo ''\''out/test/x86_64/response-file2/b.o'\''' +263: + echo @out/test/x86_64/response-file2/rsp1 +263: + cc -B. -o out/test/x86_64/response-file2/exe out/test/x86_64/response-file2/a.o -Wl,@out/test/x86_64/response-file2/rsp2 266: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/rodata-name.sh .sh +266: ++ testname=rodata-name +266: ++ t=out/test/x86_64/rodata-name +266: ++ mkdir -p out/test/x86_64/rodata-name +264: + cat +265: +++ uname +265: ++ '[' Linux = FreeBSD ']' +265: ++ trap 'on_error $LINENO' ERR +265: ++ trap on_exit EXIT +265: ++ echo -n 'Testing reverse-sections ... ' +265: Testing reverse-sections ... ++ set -o pipefail +265: ++ set -x +258: Hello world +258: + on_exit +258: + echo OK +258: OK +258: + exit 0 +256/402 Test #258: x86_64-relocatable .................................... Passed 0.61 sec +266: ++ case $MACHINE in +266: ++ tlsdesc_opt=-mtls-dialect=gnu2 +266: +++ uname +266: ++ '[' Linux = FreeBSD ']' +266: ++ trap 'on_error $LINENO' ERR +266: ++ trap on_exit EXIT +266: ++ echo -n 'Testing rodata-name ... ' +266: Testing rodata-name ... ++ set -o pipefail +266: ++ set -x +266: + '[' x86_64 = arm ']' +266: + '[' x86_64 = s390x ']' +265: + cc -o out/test/x86_64/reverse-sections/a.o -c -xc++ - +265: + cat 267: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/rosegment.sh +261: + readelf --symbols out/test/x86_64/require-defined/exe +261: + not grep foobar +261: + grep foobar +test 268 + Start 268: x86_64-rpath + +268: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/rpath.sh" +268: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +268: Environment variables: +268: MACHINE=x86_64 +268: CPU= +268: Test timeout computed to be: 1500 +266: + cc -c -o out/test/x86_64/rodata-name/a.o -x assembler - 267: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 267: ++ export LC_ALL=C 267: ++ LC_ALL=C @@ -16900,51 +16975,34 @@ 267: ++ OBJCOPY=objcopy 267: ++ STRIP=strip 267: ++ QEMU= -267: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/rosegment.sh .sh -266: ++ testname=rodata-name -266: ++ t=out/test/x86_64/rodata-name -266: ++ mkdir -p out/test/x86_64/rodata-name +264: + cc -B. -o out/test/x86_64/retain-symbols-file/exe out/test/x86_64/retain-symbols-file/a.o -Wl,--retain-symbols-file=out/test/x86_64/retain-symbols-file/symbols 262: + on_exit 262: + echo OK 262: OK 262: + exit 0 -266: ++ case $MACHINE in -266: ++ tlsdesc_opt=-mtls-dialect=gnu2 -266: +++ uname -256/402 Test #262: x86_64-response-file .................................. Passed 0.22 sec -test 268 - Start 268: x86_64-rpath - -268: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/rpath.sh" -268: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -268: Environment variables: -268: MACHINE=x86_64 -268: CPU= -268: Test timeout computed to be: 1500 -266: ++ '[' Linux = FreeBSD ']' -266: ++ trap 'on_error $LINENO' ERR -266: ++ trap on_exit EXIT -266: ++ echo -n 'Testing rodata-name ... ' -266: Testing rodata-name ... ++ set -o pipefail -266: ++ set -x -266: + '[' x86_64 = arm ']' -266: + '[' x86_64 = s390x ']' +257/402 Test #262: x86_64-response-file .................................. Passed 0.37 sec 266: + cat -266: + cc -c -o out/test/x86_64/rodata-name/a.o -x assembler - +267: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/rosegment.sh .sh 267: ++ testname=rosegment 267: ++ t=out/test/x86_64/rosegment 267: ++ mkdir -p out/test/x86_64/rosegment +261: + return 0 +261: + cc -B. -o out/test/x86_64/require-defined/exe out/test/x86_64/require-defined/c.o out/test/x86_64/require-defined/b.a -Wl,-require-defined,foobar +260: + tar -C out/test/x86_64/repro -tvf out/test/x86_64/repro/exe.repro.tar +test 269 + Start 269: x86_64-run-clang + +269: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/run-clang.sh" +269: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +269: Environment variables: +269: MACHINE=x86_64 +269: CPU= +269: Test timeout computed to be: 1500 267: ++ case $MACHINE in 267: ++ tlsdesc_opt=-mtls-dialect=gnu2 -267: +++ uname -267: ++ '[' Linux = FreeBSD ']' -267: ++ trap 'on_error $LINENO' ERR -267: ++ trap on_exit EXIT -267: ++ echo -n 'Testing rosegment ... ' -267: Testing rosegment ... ++ set -o pipefail -267: ++ set -x -267: + cat -267: + cc -o out/test/x86_64/rosegment/a.o -c -xc - +260: + grep ' exe.repro/.*/a.o' +260: -rw-rw-r-- 0/0 1368 1970-01-01 14:00 exe.repro/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/out/test/x86_64/repro/a.o +260: + tar -C out/test/x86_64/repro -xf out/test/x86_64/repro/exe.repro.tar 268: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/rpath.sh 268: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 268: ++ export LC_ALL=C @@ -16960,50 +17018,22 @@ 268: ++ OBJCOPY=objcopy 268: ++ STRIP=strip 268: ++ QEMU= -268: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/rpath.sh .sh -268: ++ testname=rpath -268: ++ t=out/test/x86_64/rpath -268: ++ mkdir -p out/test/x86_64/rpath -264: + cat -266: + cc -c -o out/test/x86_64/rodata-name/b.o -xc - -264: + cc -B. -o out/test/x86_64/retain-symbols-file/exe out/test/x86_64/retain-symbols-file/a.o -Wl,--retain-symbols-file=out/test/x86_64/retain-symbols-file/symbols -268: ++ case $MACHINE in -268: ++ tlsdesc_opt=-mtls-dialect=gnu2 +263: + on_exit +263: + echo OK +263: OK +263: + exit 0 266: + cat -268: +++ uname -268: ++ '[' Linux = FreeBSD ']' -268: ++ trap 'on_error $LINENO' ERR -268: ++ trap on_exit EXIT -268: ++ echo -n 'Testing rpath ... ' -268: Testing rpath ... ++ set -o pipefail -268: ++ set -x -268: + cc -o out/test/x86_64/rpath/a.o -c -x assembler - -265: + cc -o out/test/x86_64/reverse-sections/b.o -c -xc++ - -265: + cat -268: + cat -258: + out/test/x86_64/relocatable/exe -260: + tar -C out/test/x86_64/repro -tvf out/test/x86_64/repro/exe.repro.tar -260: + grep ' exe.repro/.*/a.o' -254: + ./mold --relocatable -o out/test/x86_64/relocatable-exception/c.o out/test/x86_64/relocatable-exception/a.o out/test/x86_64/relocatable-exception/b.o -268: + cc -B. -o out/test/x86_64/rpath/exe1 out/test/x86_64/rpath/a.o -Wl,-rpath,/foo,-rpath,/bar,-R/no/such/directory,-R/ -260: -rw-rw-r-- 0/0 1368 1969-12-31 12:00 exe.repro/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/out/test/x86_64/repro/a.o -260: + tar -C out/test/x86_64/repro -xf out/test/x86_64/repro/exe.repro.tar -258: Hello world -258: + on_exit -258: + echo OK -258: OK -258: + exit 0 -257/402 Test #258: x86_64-relocatable .................................... Passed 0.41 sec -267: + cc -B. -o out/test/x86_64/rosegment/exe1 out/test/x86_64/rosegment/a.o -test 269 - Start 269: x86_64-run-clang +258/402 Test #263: x86_64-response-file2 ................................. Passed 0.34 sec +266: + cc -c -o out/test/x86_64/rodata-name/b.o -xc - +test 270 + Start 270: x86_64-run -269: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/run-clang.sh" -269: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -269: Environment variables: -269: MACHINE=x86_64 -269: CPU= -269: Test timeout computed to be: 1500 +270: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/run.sh" +270: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +270: Environment variables: +270: MACHINE=x86_64 +270: CPU= +270: Test timeout computed to be: 1500 269: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/run-clang.sh 269: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 269: ++ export LC_ALL=C @@ -17020,57 +17050,31 @@ 269: ++ STRIP=strip 269: ++ QEMU= 269: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/run-clang.sh .sh -266: + cc -B. -o out/test/x86_64/rodata-name/exe out/test/x86_64/rodata-name/a.o out/test/x86_64/rodata-name/b.o 269: ++ testname=run-clang 269: ++ t=out/test/x86_64/run-clang 269: ++ mkdir -p out/test/x86_64/run-clang -269: ++ case $MACHINE in -269: ++ tlsdesc_opt=-mtls-dialect=gnu2 -269: +++ uname -269: ++ '[' Linux = FreeBSD ']' -269: ++ trap 'on_error $LINENO' ERR -269: ++ trap on_exit EXIT -269: ++ echo -n 'Testing run-clang ... ' -269: Testing run-clang ... ++ set -o pipefail -269: ++ set -x -269: + '[' cc = cc ']' -251: + out/test/x86_64/relocatable-c++/exe +260: + grep /a.o out/test/x86_64/repro/exe.repro/response.txt +260: out/test/x86_64/repro/a.o +260: + grep mold out/test/x86_64/repro/exe.repro/version.txt +267: +++ uname +267: ++ '[' Linux = FreeBSD ']' +267: ++ trap 'on_error $LINENO' ERR +267: ++ trap on_exit EXIT +267: ++ echo -n 'Testing rosegment ... ' +267: Testing rosegment ... ++ set -o pipefail +267: ++ set -x 251: + grep 'Hello world' -254: + c++ -B. -o out/test/x86_64/relocatable-exception/exe out/test/x86_64/relocatable-exception/c.o -264: + readelf -W --symbols out/test/x86_64/retain-symbols-file/exe +251: + out/test/x86_64/relocatable-c++/exe 251: Hello world -269: + nm mold-wrapper.so -269: + grep '__[at]san_init' 251: + on_exit 251: + echo OK 251: OK 251: + exit 0 -258/402 Test #251: x86_64-relocatable-c++ ................................ Passed 0.78 sec -test 270 - Start 270: x86_64-run - -270: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/run.sh" -270: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -270: Environment variables: -270: MACHINE=x86_64 -270: CPU= -270: Test timeout computed to be: 1500 -264: + not grep ' foo$' out/test/x86_64/retain-symbols-file/log -264: + grep ' foo$' out/test/x86_64/retain-symbols-file/log -260: + grep /a.o out/test/x86_64/repro/exe.repro/response.txt -269: + clang --version -260: out/test/x86_64/repro/a.o -264: + return 0 -264: + not grep ' bar$' out/test/x86_64/retain-symbols-file/log -264: + grep ' bar$' out/test/x86_64/retain-symbols-file/log -269: + skip -269: + echo skipped -269: skipped -269: + trap - EXIT -269: + exit 0 -260: + grep mold out/test/x86_64/repro/exe.repro/version.txt -259/402 Test #269: x86_64-run-clang ......................................***Skipped 0.03 sec -270: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/run.sh +268: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/rpath.sh .sh +268: ++ testname=rpath +268: ++ t=out/test/x86_64/rpath +268: ++ mkdir -p out/test/x86_64/rpath +259/402 Test #251: x86_64-relocatable-c++ ................................ Passed 1.04 sec test 271 Start 271: x86_64-section-align @@ -17080,37 +17084,19 @@ 271: MACHINE=x86_64 271: CPU= 271: Test timeout computed to be: 1500 -270: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -270: ++ export LC_ALL=C -270: ++ LC_ALL=C -270: ++ '[' -z x86_64 ']' -270: ++ '[' -z '' ']' -270: ++ TESTDIR=out/test/x86_64 -270: ++ CC=cc -270: ++ CXX=c++ -270: ++ GCC=gcc -270: ++ GXX=g++ -270: ++ OBJDUMP=objdump -270: ++ OBJCOPY=objcopy -270: ++ STRIP=strip -270: ++ QEMU= -260: mold 2.37.1 (compatible with GNU ld) -265: + cc -o out/test/x86_64/reverse-sections/c.o -c -xc++ - +267: + cc -o out/test/x86_64/rosegment/a.o -c -xc - +265: + cc -o out/test/x86_64/reverse-sections/b.o -c -xc++ - 265: + cat -264: + return 0 -264: + not grep ' main$' out/test/x86_64/retain-symbols-file/log -264: + grep ' main$' out/test/x86_64/retain-symbols-file/log -270: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/run.sh .sh +260: mold 2.37.1 (compatible with GNU ld) +267: + cat +268: ++ case $MACHINE in +268: ++ tlsdesc_opt=-mtls-dialect=gnu2 260: + on_exit 260: + echo OK 260: OK 260: + exit 0 -270: ++ testname=run -270: ++ t=out/test/x86_64/run -270: ++ mkdir -p out/test/x86_64/run -260/402 Test #260: x86_64-repro .......................................... Passed 0.37 sec -264: + return 0 -264: + grep ' baz$' out/test/x86_64/retain-symbols-file/log +260/402 Test #260: x86_64-repro .......................................... Passed 0.67 sec +261: + grep foobar test 272 Start 272: x86_64-section-attributes @@ -17120,28 +17106,31 @@ 272: MACHINE=x86_64 272: CPU= 272: Test timeout computed to be: 1500 -264: 38: 0000000000001717 7 FUNC LOCAL DEFAULT 17 baz -264: + on_exit -264: + echo OK -264: OK -264: + exit 0 -268: + readelf --dynamic out/test/x86_64/rpath/exe1 -268: + grep -F 'Library runpath: [/foo:/bar:/no/such/directory:/]' -270: ++ case $MACHINE in -270: ++ tlsdesc_opt=-mtls-dialect=gnu2 -270: +++ uname +261: + readelf --symbols out/test/x86_64/require-defined/exe +264: + readelf -W --symbols out/test/x86_64/retain-symbols-file/exe +268: +++ uname +268: ++ '[' Linux = FreeBSD ']' +268: ++ trap 'on_error $LINENO' ERR +268: ++ trap on_exit EXIT +268: ++ echo -n 'Testing rpath ... ' +268: Testing rpath ... ++ set -o pipefail +268: ++ set -x +270: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/run.sh +270: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +270: ++ export LC_ALL=C +270: ++ LC_ALL=C +270: ++ '[' -z x86_64 ']' +270: ++ '[' -z '' ']' +270: ++ TESTDIR=out/test/x86_64 +270: ++ CC=cc +270: ++ CXX=c++ +270: ++ GCC=gcc +270: ++ GXX=g++ +270: ++ OBJDUMP=objdump +270: ++ OBJCOPY=objcopy +270: ++ STRIP=strip +270: ++ QEMU= 271: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/section-align.sh -268: 0x000000000000001d (RUNPATH) Library runpath: [/foo:/bar:/no/such/directory:/] -268: + cc -B. -o out/test/x86_64/rpath/exe2 out/test/x86_64/rpath/a.o -Wl,-rpath,/foo,-rpath,/bar,-rpath,/foo,-rpath,/baz -270: ++ '[' Linux = FreeBSD ']' -270: ++ trap 'on_error $LINENO' ERR -270: ++ trap on_exit EXIT -270: ++ echo -n 'Testing run ... ' -270: Testing run ... ++ set -o pipefail -270: ++ set -x -270: + '[' cc = cc ']' -270: + nm mold -270: + grep '__[at]san_init' 271: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 271: ++ export LC_ALL=C 271: ++ LC_ALL=C @@ -17156,23 +17145,33 @@ 271: ++ OBJCOPY=objcopy 271: ++ STRIP=strip 271: ++ QEMU= +269: ++ case $MACHINE in +269: ++ tlsdesc_opt=-mtls-dialect=gnu2 +261: 61: 00000000000016c4 7 FUNC LOCAL DEFAULT 17 foobar +270: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/run.sh .sh +268: + cat +268: + cc -o out/test/x86_64/rpath/a.o -c -x assembler - +269: +++ uname +270: ++ testname=run +270: ++ t=out/test/x86_64/run +270: ++ mkdir -p out/test/x86_64/run +269: ++ '[' Linux = FreeBSD ']' +269: ++ trap 'on_error $LINENO' ERR +269: ++ trap on_exit EXIT +269: ++ echo -n 'Testing run-clang ... ' +269: Testing run-clang ... ++ set -o pipefail +269: ++ set -x +269: + '[' cc = cc ']' 271: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/section-align.sh .sh -261/402 Test #264: x86_64-retain-symbols-file ............................ Passed 0.15 sec +266: + cc -B. -o out/test/x86_64/rodata-name/exe out/test/x86_64/rodata-name/a.o out/test/x86_64/rodata-name/b.o 271: ++ testname=section-align 271: ++ t=out/test/x86_64/section-align 271: ++ mkdir -p out/test/x86_64/section-align -test 273 - Start 273: x86_64-section-order - -273: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/section-order.sh" -273: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -273: Environment variables: -273: MACHINE=x86_64 -273: CPU= -273: Test timeout computed to be: 1500 -271: ++ case $MACHINE in -271: ++ tlsdesc_opt=-mtls-dialect=gnu2 -271: +++ uname +264: + not grep ' foo$' out/test/x86_64/retain-symbols-file/log +264: + grep ' foo$' out/test/x86_64/retain-symbols-file/log +255: + cat +269: + nm mold-wrapper.so +261: + grep 'undefined symbol: xyz' 272: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/section-attributes.sh 272: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 272: ++ export LC_ALL=C @@ -17188,18 +17187,67 @@ 272: ++ OBJCOPY=objcopy 272: ++ STRIP=strip 272: ++ QEMU= +268: + cc -B. -o out/test/x86_64/rpath/exe1 out/test/x86_64/rpath/a.o -Wl,-rpath,/foo,-rpath,/bar,-R/no/such/directory,-R/ +269: + grep '__[at]san_init' +269: + clang --version +261: + not cc -B. -o out/test/x86_64/require-defined/exe out/test/x86_64/require-defined/c.o out/test/x86_64/require-defined/b.a -Wl,-require-defined,xyz +265: + cat +265: + cc -o out/test/x86_64/reverse-sections/c.o -c -xc++ - 272: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/section-attributes.sh .sh -273: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/section-order.sh -271: ++ '[' Linux = FreeBSD ']' -271: ++ trap 'on_error $LINENO' ERR -271: ++ trap on_exit EXIT -271: ++ echo -n 'Testing section-align ... ' -271: Testing section-align ... ++ set -o pipefail -271: ++ set -x -271: + cat 272: ++ testname=section-attributes 272: ++ t=out/test/x86_64/section-attributes 272: ++ mkdir -p out/test/x86_64/section-attributes +269: + skip +269: + echo skipped +269: skipped +269: + trap - EXIT +269: + exit 0 +261/402 Test #269: x86_64-run-clang ......................................***Skipped 0.12 sec +test 273 + Start 273: x86_64-section-order + +273: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/section-order.sh" +273: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +273: Environment variables: +273: MACHINE=x86_64 +273: CPU= +273: Test timeout computed to be: 1500 +255: + cc -c -xc -o out/test/x86_64/relocatable-many-sections/b.o - +270: ++ case $MACHINE in +270: ++ tlsdesc_opt=-mtls-dialect=gnu2 +264: + return 0 +264: + not grep ' bar$' out/test/x86_64/retain-symbols-file/log +264: + grep ' bar$' out/test/x86_64/retain-symbols-file/log +272: ++ case $MACHINE in +272: ++ tlsdesc_opt=-mtls-dialect=gnu2 +272: +++ uname +267: + cc -B. -o out/test/x86_64/rosegment/exe1 out/test/x86_64/rosegment/a.o +271: ++ case $MACHINE in +271: ++ tlsdesc_opt=-mtls-dialect=gnu2 +272: ++ '[' Linux = FreeBSD ']' +272: ++ trap 'on_error $LINENO' ERR +272: ++ trap on_exit EXIT +272: ++ echo -n 'Testing section-attributes ... ' +272: Testing section-attributes ... ++ set -o pipefail +272: ++ set -x +264: + return 0 +264: + not grep ' main$' out/test/x86_64/retain-symbols-file/log +264: + grep ' main$' out/test/x86_64/retain-symbols-file/log +270: +++ uname +266: + readelf -p .rodata.str1.1 out/test/x86_64/rodata-name/exe +270: ++ '[' Linux = FreeBSD ']' +270: ++ trap 'on_error $LINENO' ERR +270: ++ trap on_exit EXIT +270: ++ echo -n 'Testing run ... ' +270: Testing run ... ++ set -o pipefail +270: ++ set -x +270: + '[' cc = cc ']' +272: + cat +272: + cc -o out/test/x86_64/section-attributes/a.o -c -xassembler - +266: + grep Hello +270: + grep '__[at]san_init' +273: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/section-order.sh +270: + nm mold 273: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 273: ++ export LC_ALL=C 273: ++ LC_ALL=C @@ -17214,29 +17262,42 @@ 273: ++ OBJCOPY=objcopy 273: ++ STRIP=strip 273: ++ QEMU= -271: + cc -o out/test/x86_64/section-align/a.o -c -xc -fno-PIC - -272: ++ case $MACHINE in -272: ++ tlsdesc_opt=-mtls-dialect=gnu2 +266: [ 0] Hello +271: +++ uname +271: ++ '[' Linux = FreeBSD ']' +271: ++ trap 'on_error $LINENO' ERR +271: ++ trap on_exit EXIT +271: ++ echo -n 'Testing section-align ... ' +271: Testing section-align ... ++ set -o pipefail +271: ++ set -x 273: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/section-order.sh .sh 273: ++ testname=section-order 273: ++ t=out/test/x86_64/section-order 273: ++ mkdir -p out/test/x86_64/section-order -267: + not grep '\.interp .* \.text' -267: + grep '\.interp .* \.text' -272: +++ uname -267: + readelf -W --segments out/test/x86_64/rosegment/exe1 -272: ++ '[' Linux = FreeBSD ']' -272: ++ trap 'on_error $LINENO' ERR -272: ++ trap on_exit EXIT -272: ++ echo -n 'Testing section-attributes ... ' -272: Testing section-attributes ... ++ set -o pipefail -272: ++ set -x -272: + cc -o out/test/x86_64/section-attributes/a.o -c -xassembler - +272: + cc -o out/test/x86_64/section-attributes/b.o -c -xassembler - 272: + cat +266: + grep world +266: + readelf -p .rodata.str4.4 out/test/x86_64/rodata-name/exe +264: + return 0 +264: + grep ' baz$' out/test/x86_64/retain-symbols-file/log +264: 38: 0000000000001717 7 FUNC LOCAL DEFAULT 17 baz +264: + on_exit +264: + echo OK +264: OK +264: + exit 0 +262/402 Test #264: x86_64-retain-symbols-file ............................ Passed 0.36 sec +test 274 + Start 274: x86_64-section-start + +274: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/section-start.sh" +274: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +274: Environment variables: +274: MACHINE=x86_64 +274: CPU= +274: Test timeout computed to be: 1500 273: ++ case $MACHINE in 273: ++ tlsdesc_opt=-mtls-dialect=gnu2 273: +++ uname -267: + return 0 273: ++ '[' Linux = FreeBSD ']' 273: ++ trap 'on_error $LINENO' ERR 273: ++ trap on_exit EXIT @@ -17245,44 +17306,41 @@ 273: ++ set -x 273: + cc -o out/test/x86_64/section-order/a.o -c -xc -fno-PIC - 273: + cat -267: + cc -B. -o out/test/x86_64/rosegment/exe2 out/test/x86_64/rosegment/a.o -Wl,--rosegment -254: + out/test/x86_64/relocatable-exception/exe -272: + cat -272: + cc -o out/test/x86_64/section-attributes/b.o -c -xassembler - -272: + cat -272: + cc -o out/test/x86_64/section-attributes/c.o -c -xassembler - -265: + c++ -B. -o out/test/x86_64/reverse-sections/exe1 out/test/x86_64/reverse-sections/a.o out/test/x86_64/reverse-sections/b.o out/test/x86_64/reverse-sections/c.o -266: + grep Hello +266: [ 0] world +266: + grep foobar 266: + readelf -p .rodata.str1.1 out/test/x86_64/rodata-name/exe -266: [ 0] Hello -268: + readelf --dynamic out/test/x86_64/rpath/exe2 -254: 0 -254: + on_exit -254: + echo OK -254: OK -254: + exit 0 -268: + grep -F 'Library runpath: [/foo:/bar:/baz]' -262/402 Test #254: x86_64-relocatable-exception .......................... Passed 0.83 sec -266: + grep world -test 274 - Start 274: x86_64-section-start - -274: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/section-start.sh" -274: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -274: Environment variables: -274: MACHINE=x86_64 -274: CPU= -274: Test timeout computed to be: 1500 -266: + readelf -p .rodata.str4.4 out/test/x86_64/rodata-name/exe -271: + cc -B. -o out/test/x86_64/section-align/exe1 out/test/x86_64/section-align/a.o -Wl,--section-align=.foo=0x2000 -268: 0x000000000000001d (RUNPATH) Library runpath: [/foo:/bar:/baz] -268: + on_exit -268: + echo OK -268: OK -268: + exit 0 +266: [ 7] foobar +266: + grep abcdefgh +266: + readelf -p .rodata.cst8 out/test/x86_64/rodata-name/exe +266: [ 0] abcdefgh +266: + grep baz +266: + readelf -p .rodatabaz out/test/x86_64/rodata-name/exe +266: String dump of section '.rodatabaz': +266: [ 0] baz +266: + on_exit +266: + echo OK +266: OK +266: + exit 0 +271: + cat +271: + cc -o out/test/x86_64/section-align/a.o -c -xc -fno-PIC - +268: + readelf --dynamic out/test/x86_64/rpath/exe1 +268: + grep -F 'Library runpath: [/foo:/bar:/no/such/directory:/]' +268: 0x000000000000001d (RUNPATH) Library runpath: [/foo:/bar:/no/such/directory:/] +268: + cc -B. -o out/test/x86_64/rpath/exe2 out/test/x86_64/rpath/a.o -Wl,-rpath,/foo,-rpath,/bar,-rpath,/foo,-rpath,/baz +265: + c++ -B. -o out/test/x86_64/reverse-sections/exe1 out/test/x86_64/reverse-sections/a.o out/test/x86_64/reverse-sections/b.o out/test/x86_64/reverse-sections/c.o +261: mold: error: --require-defined: undefined symbol: xyz +261: + on_exit +261: + echo OK +261: OK +261: + exit 0 +267: + not grep '\.interp .* \.text' +267: + grep '\.interp .* \.text' +267: + readelf -W --segments out/test/x86_64/rosegment/exe1 +267: + return 0 +267: + cc -B. -o out/test/x86_64/rosegment/exe2 out/test/x86_64/rosegment/a.o -Wl,--rosegment 272: + cat -272: + cc -o out/test/x86_64/section-attributes/d.o -c -xc - -263/402 Test #268: x86_64-rpath .......................................... Passed 0.16 sec +263/402 Test #261: x86_64-require-defined ................................ Passed 0.59 sec +264/402 Test #266: x86_64-rodata-name .................................... Passed 0.29 sec test 275 Start 275: x86_64-separate-debug-file @@ -17292,37 +17350,23 @@ 275: MACHINE=x86_64 275: CPU= 275: Test timeout computed to be: 1500 -266: [ 0] world -266: + readelf -p .rodata.str1.1 out/test/x86_64/rodata-name/exe +test 276 + Start 276: x86_64-shared-abs-sym + +276: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/shared-abs-sym.sh" +276: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +276: Environment variables: +276: MACHINE=x86_64 +276: CPU= +276: Test timeout computed to be: 1500 +272: + cc -o out/test/x86_64/section-attributes/c.o -c -xassembler - 274: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/section-start.sh -266: + grep foobar -275: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/separate-debug-file.sh -267: + not grep '\.interp .* \.text' -267: + grep '\.interp .* \.text' -275: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -275: ++ export LC_ALL=C -275: ++ LC_ALL=C -275: ++ '[' -z x86_64 ']' -275: ++ '[' -z '' ']' -275: ++ TESTDIR=out/test/x86_64 -275: ++ CC=cc -275: ++ CXX=c++ -275: ++ GCC=gcc -275: ++ GXX=g++ -275: ++ OBJDUMP=objdump -275: ++ OBJCOPY=objcopy -275: ++ STRIP=strip -275: ++ QEMU= -275: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/separate-debug-file.sh .sh -266: [ 7] foobar 274: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 274: ++ export LC_ALL=C 274: ++ LC_ALL=C -266: + readelf -p .rodata.cst8 out/test/x86_64/rodata-name/exe 274: ++ '[' -z x86_64 ']' 274: ++ '[' -z '' ']' 274: ++ TESTDIR=out/test/x86_64 -266: + grep abcdefgh 274: ++ CC=cc 274: ++ CXX=c++ 274: ++ GCC=gcc @@ -17331,65 +17375,28 @@ 274: ++ OBJCOPY=objcopy 274: ++ STRIP=strip 274: ++ QEMU= -267: + readelf -W --segments out/test/x86_64/rosegment/exe2 274: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/section-start.sh .sh -275: ++ testname=separate-debug-file -275: ++ t=out/test/x86_64/separate-debug-file -275: ++ mkdir -p out/test/x86_64/separate-debug-file -266: [ 0] abcdefgh -267: + return 0 274: ++ testname=section-start -267: + cc -B. -o out/test/x86_64/rosegment/exe3 out/test/x86_64/rosegment/a.o -Wl,--no-rosegment -266: + readelf -p .rodatabaz out/test/x86_64/rodata-name/exe 274: ++ t=out/test/x86_64/section-start 274: ++ mkdir -p out/test/x86_64/section-start -275: ++ case $MACHINE in -275: ++ tlsdesc_opt=-mtls-dialect=gnu2 -266: + grep baz -274: ++ case $MACHINE in -274: ++ tlsdesc_opt=-mtls-dialect=gnu2 -274: +++ uname -275: +++ uname -275: ++ '[' Linux = FreeBSD ']' -275: ++ trap 'on_error $LINENO' ERR -275: ++ trap on_exit EXIT -275: ++ echo -n 'Testing separate-debug-file ... ' -275: Testing separate-debug-file ... ++ set -o pipefail -275: ++ set -x -275: + nm mold -274: ++ '[' Linux = FreeBSD ']' -274: ++ trap 'on_error $LINENO' ERR -274: ++ trap on_exit EXIT -274: ++ echo -n 'Testing section-start ... ' -274: Testing section-start ... ++ set -o pipefail -274: ++ set -x -274: + '[' x86_64 = ppc64 ']' -274: + [[ x86_64 = loongarch* ]] -274: + '[' x86_64 = arm ']' -274: + cat -266: String dump of section '.rodatabaz': -266: [ 0] baz -266: + on_exit -266: + echo OK -266: OK -266: + exit 0 -264/402 Test #266: x86_64-rodata-name .................................... Passed 0.20 sec -275: + grep __tsan_init -274: + cc -o out/test/x86_64/section-start/a.o -c -xc -fno-PIC - -test 276 - Start 276: x86_64-shared-abs-sym - -276: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/shared-abs-sym.sh" -276: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -276: Environment variables: -276: MACHINE=x86_64 -276: CPU= -276: Test timeout computed to be: 1500 -273: + cc -B. -o out/test/x86_64/section-order/exe1 out/test/x86_64/section-order/a.o -no-pie '-Wl,--section-order==0x100000 EHDR PHDR =0x200000 .fn2 TEXT =0x300000 .fn1 DATA BSS RODATA' -272: + cc -B. -o out/test/x86_64/section-attributes/exe out/test/x86_64/section-attributes/a.o out/test/x86_64/section-attributes/b.o out/test/x86_64/section-attributes/c.o out/test/x86_64/section-attributes/d.o +275: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/separate-debug-file.sh +255: + ./mold -r -o out/test/x86_64/relocatable-many-sections/c.o out/test/x86_64/relocatable-many-sections/a.o out/test/x86_64/relocatable-many-sections/b.o +275: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +275: ++ export LC_ALL=C +275: ++ LC_ALL=C +275: ++ '[' -z x86_64 ']' +275: ++ '[' -z '' ']' +275: ++ TESTDIR=out/test/x86_64 +275: ++ CC=cc +275: ++ CXX=c++ +275: ++ GCC=gcc +275: ++ GXX=g++ +275: ++ OBJDUMP=objdump +275: ++ OBJCOPY=objcopy +275: ++ STRIP=strip +275: ++ QEMU= 276: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/shared-abs-sym.sh -271: + readelf -WS out/test/x86_64/section-align/exe1 -271: + grep '\.foo.* 8192$' +275: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/separate-debug-file.sh .sh 276: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 276: ++ export LC_ALL=C 276: ++ LC_ALL=C @@ -17404,15 +17411,36 @@ 276: ++ OBJCOPY=objcopy 276: ++ STRIP=strip 276: ++ QEMU= +275: ++ testname=separate-debug-file +275: ++ t=out/test/x86_64/separate-debug-file +275: ++ mkdir -p out/test/x86_64/separate-debug-file 276: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/shared-abs-sym.sh .sh 276: ++ testname=shared-abs-sym 276: ++ t=out/test/x86_64/shared-abs-sym 276: ++ mkdir -p out/test/x86_64/shared-abs-sym +273: + cc -B. -o out/test/x86_64/section-order/exe1 out/test/x86_64/section-order/a.o -no-pie '-Wl,--section-order==0x100000 EHDR PHDR =0x200000 .fn2 TEXT =0x300000 .fn1 DATA BSS RODATA' +274: ++ case $MACHINE in +274: ++ tlsdesc_opt=-mtls-dialect=gnu2 +274: +++ uname +274: ++ '[' Linux = FreeBSD ']' +274: ++ trap 'on_error $LINENO' ERR +274: ++ trap on_exit EXIT +274: ++ echo -n 'Testing section-start ... ' +274: Testing section-start ... ++ set -o pipefail +274: ++ set -x +274: + '[' x86_64 = ppc64 ']' +274: + [[ x86_64 = loongarch* ]] +274: + '[' x86_64 = arm ']' +274: + cc -o out/test/x86_64/section-start/a.o -c -xc -fno-PIC - +275: ++ case $MACHINE in +275: ++ tlsdesc_opt=-mtls-dialect=gnu2 +274: + cat +272: + cc -o out/test/x86_64/section-attributes/d.o -c -xc - +272: + cat +275: +++ uname 276: ++ case $MACHINE in 276: ++ tlsdesc_opt=-mtls-dialect=gnu2 276: +++ uname -271: [24] .foo PROGBITS 0000000000004000 001000 000004 00 WA 0 0 8192 -271: + cc -B. -o out/test/x86_64/section-align/exe2 out/test/x86_64/section-align/a.o -Wl,--section-align=.foo=256 276: ++ '[' Linux = FreeBSD ']' 276: ++ trap 'on_error $LINENO' ERR 276: ++ trap on_exit EXIT @@ -17420,22 +17448,35 @@ 276: Testing shared-abs-sym ... ++ set -o pipefail 276: ++ set -x 276: ++ uname +275: ++ '[' Linux = FreeBSD ']' +275: ++ trap 'on_error $LINENO' ERR +275: ++ trap on_exit EXIT +275: ++ echo -n 'Testing separate-debug-file ... ' +275: Testing separate-debug-file ... ++ set -o pipefail +275: ++ set -x 276: + '[' Linux = FreeBSD ']' -276: + cat +267: + not grep '\.interp .* \.text' +267: + grep '\.interp .* \.text' +267: + readelf -W --segments out/test/x86_64/rosegment/exe2 +275: + nm mold 276: + cc -B. -fPIC -shared -o out/test/x86_64/shared-abs-sym/a.so -xassembler - -274: + cc -B. -o out/test/x86_64/section-start/exe1 out/test/x86_64/section-start/a.o -no-pie -Wl,--section-start=.fn1=0x10000000,--section-start=.fn2=0x20000000 -265: + out/test/x86_64/reverse-sections/exe1 265: + grep 'foo1 foo2 foo3 foo4 foo5 foo6' +265: + out/test/x86_64/reverse-sections/exe1 265: foo1 foo2 foo3 foo4 foo5 foo6 265: + c++ -B. -o out/test/x86_64/reverse-sections/exe2 out/test/x86_64/reverse-sections/a.o out/test/x86_64/reverse-sections/b.o out/test/x86_64/reverse-sections/c.o -Wl,--reverse-sections -267: + readelf -W --segments out/test/x86_64/rosegment/exe3 -267: + grep '\.interp .* \.text' -267: 03 .interp .note.gnu.property .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 -267: + on_exit -267: + echo OK -267: OK -267: + exit 0 -265/402 Test #267: x86_64-rosegment ...................................... Passed 0.27 sec +276: + cat +275: + grep __tsan_init +267: + return 0 +267: + cc -B. -o out/test/x86_64/rosegment/exe3 out/test/x86_64/rosegment/a.o -Wl,--no-rosegment +271: + cc -B. -o out/test/x86_64/section-align/exe1 out/test/x86_64/section-align/a.o -Wl,--section-align=.foo=0x2000 +268: + grep -F 'Library runpath: [/foo:/bar:/baz]' +268: + readelf --dynamic out/test/x86_64/rpath/exe2 +268: 0x000000000000001d (RUNPATH) Library runpath: [/foo:/bar:/baz] +268: + on_exit +268: + echo OK +268: OK +268: + exit 0 +265/402 Test #268: x86_64-rpath .......................................... Passed 0.30 sec test 277 Start 277: x86_64-shared @@ -17445,27 +17486,9 @@ 277: MACHINE=x86_64 277: CPU= 277: Test timeout computed to be: 1500 -272: + readelf -W --sections out/test/x86_64/section-attributes/exe -272: + grep 'foobar.*WAX' -272: [27] .foobar PROGBITS 00000000000048f9 0008f9 00000c 00 WAX 0 0 1 -272: + on_exit -272: + echo OK -272: OK -272: + exit 0 +274: + cc -B. -o out/test/x86_64/section-start/exe1 out/test/x86_64/section-start/a.o -no-pie -Wl,--section-start=.fn1=0x10000000,--section-start=.fn2=0x20000000 +272: + cc -B. -o out/test/x86_64/section-attributes/exe out/test/x86_64/section-attributes/a.o out/test/x86_64/section-attributes/b.o out/test/x86_64/section-attributes/c.o out/test/x86_64/section-attributes/d.o 277: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/shared.sh -266/402 Test #272: x86_64-section-attributes ............................. Passed 0.18 sec -test 278 - Start 278: x86_64-shuffle-sections-seed - -278: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/shuffle-sections-seed.sh" -278: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -278: Environment variables: -278: MACHINE=x86_64 -278: CPU= -278: Test timeout computed to be: 1500 -273: + out/test/x86_64/section-order/exe1 -273: + grep Hello -273: Hello world 277: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 277: ++ export LC_ALL=C 277: ++ LC_ALL=C @@ -17480,85 +17503,62 @@ 277: ++ OBJCOPY=objcopy 277: ++ STRIP=strip 277: ++ QEMU= +273: + grep Hello +273: + out/test/x86_64/section-order/exe1 +273: Hello world +273: + readelf -SW out/test/x86_64/section-order/exe1 +276: + cat +276: + cc -B. -fPIC -shared -o out/test/x86_64/shared-abs-sym/b.so -xassembler - 277: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/shared.sh .sh 277: ++ testname=shared 277: ++ t=out/test/x86_64/shared 277: ++ mkdir -p out/test/x86_64/shared 277: ++ case $MACHINE in 277: ++ tlsdesc_opt=-mtls-dialect=gnu2 -277: +++ uname -273: + readelf -SW out/test/x86_64/section-order/exe1 273: + grep '\.fn2 .*00200000' -278: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/shuffle-sections-seed.sh -278: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -278: ++ export LC_ALL=C -278: ++ LC_ALL=C -278: ++ '[' -z x86_64 ']' +273: [ 1] .fn2 PROGBITS 0000000000200000 001000 000016 00 AX 0 0 1 +273: + readelf -SW out/test/x86_64/section-order/exe1 +277: +++ uname 277: ++ '[' Linux = FreeBSD ']' 277: ++ trap 'on_error $LINENO' ERR 277: ++ trap on_exit EXIT 277: ++ echo -n 'Testing shared ... ' 277: Testing shared ... ++ set -o pipefail 277: ++ set -x -277: + cat -278: ++ '[' -z '' ']' -278: ++ TESTDIR=out/test/x86_64 -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/shuffle-sections-seed.sh .sh -278: ++ testname=shuffle-sections-seed -278: ++ t=out/test/x86_64/shuffle-sections-seed -278: ++ mkdir -p out/test/x86_64/shuffle-sections-seed -273: [ 1] .fn2 PROGBITS 0000000000200000 001000 000016 00 AX 0 0 1 -277: + cc -fPIC -c -o out/test/x86_64/shared/a.o -xc - -273: + readelf -SW out/test/x86_64/section-order/exe1 -271: + readelf -WS out/test/x86_64/section-align/exe2 273: + grep '\.fn1 .*00300000' +267: + readelf -W --segments out/test/x86_64/rosegment/exe3 +267: + grep '\.interp .* \.text' 273: [ 6] .fn1 PROGBITS 0000000000300000 002000 000016 00 AX 0 0 1 273: + cc -B. -o out/test/x86_64/section-order/exe2 out/test/x86_64/section-order/a.o -no-pie '-Wl,--section-order==0x200000 EHDR RODATA =0x300000 PHDR =0x400000 .fn2 TEXT DATA BSS' -271: + grep '\.foo.* 256$' -278: ++ case $MACHINE in -278: ++ tlsdesc_opt=-mtls-dialect=gnu2 -274: + out/test/x86_64/section-start/exe1 -274: + grep 'main fn1 fn2 0x10000000 0x20000000' -278: +++ uname -271: [24] .foo PROGBITS 0000000000003900 000900 000004 00 WA 0 0 256 -274: main fn1 fn2 0x10000000 0x20000000 -278: ++ '[' Linux = FreeBSD ']' -278: ++ trap 'on_error $LINENO' ERR -278: ++ trap on_exit EXIT -278: ++ echo -n 'Testing shuffle-sections-seed ... ' -278: Testing shuffle-sections-seed ... ++ set -o pipefail -278: ++ set -x -271: + not cc -B. -o out/test/x86_64/section-align/exe3 out/test/x86_64/section-align/a.o -Wl,--section-align=.foo=3 -276: + cat -276: + cc -B. -fPIC -shared -o out/test/x86_64/shared-abs-sym/b.so -xassembler - -278: + cat -271: + grep 'must be a power of 2' -278: + cc -o out/test/x86_64/shuffle-sections-seed/a.o -ffunction-sections -c -xc - -274: + readelf -W --segments out/test/x86_64/section-start/exe1 -274: + grep ' LOAD ' -274: + sed 's/0x[0-9a-f]*//' -270: + cat -270: + cc -xc -c -o out/test/x86_64/run/a.o - -274: + diff out/test/x86_64/section-start/log1 /dev/fd/63 -274: ++ sort out/test/x86_64/section-start/log1 -274: + cc -B. -o out/test/x86_64/section-start/exe2 out/test/x86_64/section-start/a.o -no-pie -Wl,--section-start=.fn1=0x20000000,--section-start=.fn2=0x10000000 -265: + out/test/x86_64/reverse-sections/exe2 +277: + cc -fPIC -c -o out/test/x86_64/shared/a.o -xc - +267: 03 .interp .note.gnu.property .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 +267: + on_exit +267: + echo OK +267: OK +267: + exit 0 +277: + cat +266/402 Test #267: x86_64-rosegment ...................................... Passed 0.41 sec +test 278 + Start 278: x86_64-shuffle-sections-seed + +278: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/shuffle-sections-seed.sh" +278: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +278: Environment variables: +278: MACHINE=x86_64 +278: CPU= +278: Test timeout computed to be: 1500 +271: + grep '\.foo.* 8192$' 265: + grep 'foo5 foo6 foo3 foo4 foo1 foo2' -277: + cc -B. -shared -o out/test/x86_64/shared/b.so out/test/x86_64/shared/a.o +271: + readelf -WS out/test/x86_64/section-align/exe1 +265: + out/test/x86_64/reverse-sections/exe2 265: foo5 foo6 foo3 foo4 foo1 foo2 265: + on_exit 265: + echo OK 265: OK 265: + exit 0 -267/402 Test #265: x86_64-reverse-sections ............................... Passed 0.37 sec +271: [24] .foo PROGBITS 0000000000004000 001000 000004 00 WA 0 0 8192 +271: + cc -B. -o out/test/x86_64/section-align/exe2 out/test/x86_64/section-align/a.o -Wl,--section-align=.foo=256 +267/402 Test #265: x86_64-reverse-sections ............................... Passed 0.49 sec test 279 Start 279: x86_64-shuffle-sections @@ -17568,21 +17568,43 @@ 279: MACHINE=x86_64 279: CPU= 279: Test timeout computed to be: 1500 -271: mold: fatal: --section-align=.foo=3: value must be a power of 2 -271: + on_exit -271: + echo OK -271: OK -271: + exit 0 -268/402 Test #271: x86_64-section-align .................................. Passed 0.25 sec -test 280 - Start 280: x86_64-soname - -280: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/soname.sh" -280: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -280: Environment variables: -280: MACHINE=x86_64 -280: CPU= -280: Test timeout computed to be: 1500 +278: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/shuffle-sections-seed.sh +278: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +278: ++ export LC_ALL=C +278: ++ LC_ALL=C +278: ++ '[' -z x86_64 ']' +278: ++ '[' -z '' ']' +278: ++ TESTDIR=out/test/x86_64 +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/shuffle-sections-seed.sh .sh +275: + on_qemu +275: + '[' '' '!=' '' ']' +275: + grep -w qemu /proc/cpuinfo +274: + grep 'main fn1 fn2 0x10000000 0x20000000' +274: + out/test/x86_64/section-start/exe1 +274: main fn1 fn2 0x10000000 0x20000000 +277: + cc -B. -shared -o out/test/x86_64/shared/b.so out/test/x86_64/shared/a.o +275: + command -v gdb +275: + command -v flock +275: + cat +278: ++ testname=shuffle-sections-seed +278: ++ t=out/test/x86_64/shuffle-sections-seed +278: ++ mkdir -p out/test/x86_64/shuffle-sections-seed +274: + readelf -W --segments out/test/x86_64/section-start/exe1 +274: + sed 's/0x[0-9a-f]*//' +276: + cat +275: + cc -c -o out/test/x86_64/separate-debug-file/a.o out/test/x86_64/separate-debug-file/a.c -g +276: + cc -fPIC -c -o out/test/x86_64/shared-abs-sym/d.o -xc - +272: + readelf -W --sections out/test/x86_64/section-attributes/exe +278: ++ case $MACHINE in +278: ++ tlsdesc_opt=-mtls-dialect=gnu2 279: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/shuffle-sections.sh 279: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 279: ++ export LC_ALL=C @@ -17599,20 +17621,69 @@ 279: ++ STRIP=strip 279: ++ QEMU= 279: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/shuffle-sections.sh .sh +274: + grep ' LOAD ' 279: ++ testname=shuffle-sections 279: ++ t=out/test/x86_64/shuffle-sections 279: ++ mkdir -p out/test/x86_64/shuffle-sections +274: + diff out/test/x86_64/section-start/log1 /dev/fd/63 279: ++ case $MACHINE in 279: ++ tlsdesc_opt=-mtls-dialect=gnu2 279: +++ uname -280: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/soname.sh 279: ++ '[' Linux = FreeBSD ']' 279: ++ trap 'on_error $LINENO' ERR 279: ++ trap on_exit EXIT 279: ++ echo -n 'Testing shuffle-sections ... ' 279: Testing shuffle-sections ... ++ set -o pipefail 279: ++ set -x +279: + cc -o out/test/x86_64/shuffle-sections/a.o -ffunction-sections -c -xc - +274: ++ sort out/test/x86_64/section-start/log1 +279: + cat +272: + grep 'foobar.*WAX' +278: +++ uname +272: [27] .foobar PROGBITS 00000000000048f9 0008f9 00000c 00 WAX 0 0 1 +272: + on_exit +272: + echo OK +272: OK +272: + exit 0 +268/402 Test #272: x86_64-section-attributes ............................. Passed 0.34 sec +test 280 + Start 280: x86_64-soname + +280: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/soname.sh" +280: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +280: Environment variables: +280: MACHINE=x86_64 +280: CPU= +280: Test timeout computed to be: 1500 +278: ++ '[' Linux = FreeBSD ']' +278: ++ trap 'on_error $LINENO' ERR +278: ++ trap on_exit EXIT +278: ++ echo -n 'Testing shuffle-sections-seed ... ' +278: Testing shuffle-sections-seed ... ++ set -o pipefail +278: ++ set -x +278: + cc -o out/test/x86_64/shuffle-sections-seed/a.o -ffunction-sections -c -xc - +271: + grep '\.foo.* 256$' +271: + readelf -WS out/test/x86_64/section-align/exe2 +274: + cc -B. -o out/test/x86_64/section-start/exe2 out/test/x86_64/section-start/a.o -no-pie -Wl,--section-start=.fn1=0x20000000,--section-start=.fn2=0x10000000 +270: + cc -xc -c -o out/test/x86_64/run/a.o - +278: + cat +271: [24] .foo PROGBITS 0000000000003900 000900 000004 00 WA 0 0 256 +273: + readelf -SW out/test/x86_64/section-order/exe2 +273: + grep '\.fn2 .*00400000' +271: + grep 'must be a power of 2' +276: + cp out/test/x86_64/shared-abs-sym/a.so out/test/x86_64/shared-abs-sym/c.so +270: + cat +273: [16] .fn2 PROGBITS 0000000000400000 002000 000016 00 AX 0 0 1 +277: + readelf --dyn-syms out/test/x86_64/shared/b.so +277: + grep '00000000 0 NOTYPE GLOBAL DEFAULT UND fn2' out/test/x86_64/shared/log +277: 4: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND fn2 +277: + grep -E 'FUNC GLOBAL DEFAULT .* fn1' out/test/x86_64/shared/log +271: + not cc -B. -o out/test/x86_64/section-align/exe3 out/test/x86_64/section-align/a.o -Wl,--section-align=.foo=3 +280: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/soname.sh 280: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +275: + cc -B. -o out/test/x86_64/separate-debug-file/exe1 out/test/x86_64/separate-debug-file/a.o -Wl,--separate-debug-file +273: + readelf -sW out/test/x86_64/section-order/exe2 +277: 6: 0000000000001689 17 FUNC GLOBAL DEFAULT 15 fn1 280: ++ export LC_ALL=C 280: ++ LC_ALL=C 280: ++ '[' -z x86_64 ']' @@ -17626,31 +17697,2065 @@ 280: ++ OBJCOPY=objcopy 280: ++ STRIP=strip 280: ++ QEMU= +277: + cc -fPIC -c -o out/test/x86_64/shared/c.o -xc - +273: + grep -E ': 0+200000\s.*\s__ehdr_start$' +273: 66: 0000000000200000 0 NOTYPE LOCAL DEFAULT 1 __ehdr_start +277: + cat +273: + grep -E 'PHDR\s.*0x0+300000\s' +273: + readelf -W --segments out/test/x86_64/section-order/exe2 280: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/soname.sh .sh -278: + cc -o out/test/x86_64/shuffle-sections-seed/b.o -ffunction-sections -c -xc - -270: ++ pwd -270: + LD_PRELOAD=/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so -270: ++ pwd -270: + MOLD_PATH=/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/mold -270: + cc -o out/test/x86_64/run/exe out/test/x86_64/run/a.o -B/usr/bin -278: ++ seq 1 1000 -279: + cc -o out/test/x86_64/shuffle-sections/a.o -ffunction-sections -c -xc - 280: ++ testname=soname 280: ++ t=out/test/x86_64/soname 280: ++ mkdir -p out/test/x86_64/soname -279: + cat -278: + for i in `seq 1 1000` -278: + echo 'void fn1() {}' -278: + for i in `seq 1 1000` -278: + echo 'void fn2() {}' -278: + for i in `seq 1 1000` -278: + echo 'void fn3() {}' -278: + for i in `seq 1 1000` -278: + echo 'void fn4() {}' -278: + for i in `seq 1 1000` -278: + echo 'void fn5() {}' -278: + for i in `seq 1 1000` -278: + echo 'void fn6() {}' +273: PHDR 0x001000 0x0000000000300000 0x0000000000300000 0x0002a0 0x0002a0 R 0x8 +273: + cc -B. -o out/test/x86_64/section-order/exe3 out/test/x86_64/section-order/a.o -no-pie '-Wl,--section-order==0x200000 !ehdr_start EHDR %0x20 !rodata_start RODATA =0x300000 !phdr_start PHDR %4096 !phdr_end =0x400000 !text_start TEXT DATA BSS' +276: + cc -B. -o out/test/x86_64/shared-abs-sym/exe1 out/test/x86_64/shared-abs-sym/d.o out/test/x86_64/shared-abs-sym/c.so -pie +280: ++ case $MACHINE in +280: ++ tlsdesc_opt=-mtls-dialect=gnu2 +279: + cc -o out/test/x86_64/shuffle-sections/b.o -ffunction-sections -c -xc - +280: +++ uname +278: + cc -o out/test/x86_64/shuffle-sections-seed/b.o -ffunction-sections -c -xc - +271: mold: fatal: --section-align=.foo=3: value must be a power of 2 +271: + on_exit +271: + echo OK +271: OK +271: + exit 0 +269/402 Test #271: x86_64-section-align .................................. Passed 0.43 sec +279: ++ seq 1 1000 +279: + for i in `seq 1 1000` +279: + echo 'void fn1() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn2() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn3() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn4() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn5() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn6() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn7() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn8() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn9() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn10() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn11() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn12() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn13() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn14() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn15() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn16() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn17() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn18() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn19() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn20() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn21() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn22() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn23() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn24() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn25() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn26() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn27() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn28() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn29() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn30() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn31() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn32() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn33() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn34() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn35() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn36() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn37() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn38() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn39() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn40() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn41() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn42() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn43() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn44() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn45() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn46() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn47() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn48() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn49() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn50() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn51() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn52() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn53() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn54() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn55() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn56() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn57() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn58() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn59() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn60() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn61() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn62() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn63() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn64() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn65() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn66() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn67() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn68() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn69() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn70() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn71() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn72() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn73() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn74() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn75() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn76() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn77() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn78() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn79() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn80() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn81() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn82() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn83() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn84() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn85() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn86() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn87() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn88() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn89() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn90() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn91() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn92() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn93() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn94() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn95() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn96() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn97() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn98() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn99() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn100() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn101() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn102() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn103() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn104() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn105() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn106() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn107() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn108() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn109() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn110() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn111() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn112() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn113() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn114() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn115() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn116() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn117() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn118() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn119() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn120() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn121() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn122() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn123() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn124() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn125() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn126() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn127() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn128() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn129() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn130() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn131() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn132() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn133() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn134() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn135() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn136() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn137() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn138() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn139() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn140() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn141() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn142() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn143() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn144() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn145() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn146() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn147() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn148() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn149() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn150() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn151() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn152() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn153() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn154() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn155() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn156() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn157() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn158() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn159() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn160() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn161() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn162() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn163() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn164() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn165() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn166() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn167() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn168() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn169() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn170() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn171() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn172() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn173() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn174() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn175() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn176() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn177() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn178() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn179() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn180() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn181() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn182() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn183() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn184() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn185() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn186() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn187() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn188() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn189() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn190() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn191() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn192() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn193() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn194() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn195() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn196() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn197() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn198() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn199() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn200() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn201() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn202() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn203() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn204() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn205() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn206() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn207() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn208() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn209() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn210() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn211() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn212() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn213() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn214() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn215() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn216() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn217() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn218() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn219() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn220() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn221() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn222() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn223() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn224() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn225() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn226() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn227() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn228() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn229() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn230() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn231() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn232() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn233() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn234() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn235() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn236() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn237() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn238() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn239() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn240() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn241() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn242() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn243() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn244() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn245() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn246() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn247() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn248() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn249() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn250() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn251() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn252() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn253() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn254() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn255() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn256() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn257() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn258() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn259() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn260() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn261() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn262() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn263() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn264() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn265() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn266() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn267() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn268() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn269() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn270() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn271() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn272() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn273() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn274() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn275() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn276() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn277() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn278() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn279() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn280() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn281() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn282() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn283() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn284() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn285() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn286() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn287() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn288() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn289() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn290() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn291() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn292() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn293() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn294() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn295() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn296() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn297() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn298() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn299() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn300() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn301() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn302() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn303() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn304() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn305() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn306() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn307() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn308() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn309() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn310() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn311() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn312() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn313() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn314() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn315() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn316() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn317() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn318() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn319() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn320() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn321() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn322() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn323() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn324() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn325() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn326() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn327() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn328() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn329() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn330() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn331() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn332() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn333() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn334() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn335() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn336() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn337() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn338() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn339() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn340() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn341() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn342() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn343() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn344() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn345() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn346() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn347() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn348() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn349() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn350() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn351() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn352() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn353() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn354() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn355() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn356() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn357() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn358() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn359() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn360() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn361() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn362() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn363() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn364() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn365() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn366() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn367() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn368() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn369() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn370() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn371() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn372() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn373() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn374() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn375() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn376() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn377() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn378() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn379() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn380() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn381() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn382() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn383() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn384() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn385() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn386() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn387() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn388() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn389() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn390() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn391() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn392() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn393() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn394() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn395() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn396() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn397() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn398() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn399() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn400() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn401() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn402() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn403() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn404() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn405() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn406() {}' +test 281 + Start 281: x86_64-spare-program-headers + +281: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/spare-program-headers.sh" +281: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +281: Environment variables: +281: MACHINE=x86_64 +281: CPU= +281: Test timeout computed to be: 1500 +280: ++ '[' Linux = FreeBSD ']' +280: ++ trap 'on_error $LINENO' ERR +280: ++ trap on_exit EXIT +280: ++ echo -n 'Testing soname ... ' +280: Testing soname ... ++ set -o pipefail +280: ++ set -x +280: + cat +280: + cc -fPIC -c -o out/test/x86_64/soname/a.o -xc - +279: + for i in `seq 1 1000` +279: + echo 'void fn407() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn408() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn409() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn410() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn411() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn412() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn413() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn414() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn415() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn416() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn417() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn418() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn419() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn420() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn421() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn422() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn423() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn424() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn425() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn426() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn427() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn428() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn429() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn430() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn431() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn432() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn433() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn434() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn435() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn436() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn437() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn438() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn439() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn440() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn441() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn442() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn443() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn444() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn445() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn446() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn447() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn448() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn449() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn450() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn451() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn452() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn453() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn454() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn455() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn456() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn457() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn458() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn459() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn460() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn461() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn462() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn463() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn464() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn465() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn466() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn467() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn468() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn469() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn470() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn471() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn472() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn473() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn474() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn475() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn476() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn477() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn478() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn479() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn480() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn481() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn482() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn483() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn484() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn485() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn486() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn487() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn488() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn489() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn490() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn491() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn492() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn493() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn494() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn495() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn496() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn497() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn498() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn499() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn500() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn501() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn502() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn503() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn504() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn505() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn506() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn507() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn508() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn509() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn510() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn511() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn512() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn513() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn514() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn515() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn516() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn517() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn518() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn519() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn520() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn521() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn522() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn523() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn524() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn525() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn526() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn527() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn528() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn529() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn530() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn531() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn532() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn533() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn534() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn535() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn536() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn537() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn538() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn539() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn540() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn541() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn542() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn543() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn544() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn545() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn546() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn547() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn548() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn549() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn550() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn551() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn552() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn553() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn554() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn555() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn556() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn557() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn558() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn559() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn560() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn561() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn562() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn563() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn564() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn565() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn566() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn567() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn568() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn569() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn570() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn571() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn572() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn573() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn574() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn575() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn576() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn577() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn578() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn579() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn580() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn581() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn582() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn583() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn584() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn585() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn586() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn587() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn588() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn589() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn590() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn591() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn592() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn593() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn594() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn595() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn596() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn597() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn598() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn599() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn600() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn601() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn602() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn603() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn604() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn605() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn606() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn607() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn608() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn609() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn610() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn611() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn612() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn613() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn614() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn615() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn616() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn617() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn618() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn619() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn620() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn621() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn622() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn623() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn624() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn625() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn626() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn627() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn628() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn629() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn630() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn631() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn632() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn633() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn634() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn635() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn636() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn637() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn638() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn639() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn640() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn641() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn642() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn643() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn644() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn645() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn646() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn647() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn648() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn649() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn650() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn651() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn652() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn653() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn654() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn655() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn656() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn657() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn658() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn659() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn660() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn661() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn662() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn663() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn664() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn665() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn666() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn667() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn668() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn669() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn670() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn671() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn672() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn673() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn674() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn675() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn676() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn677() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn678() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn679() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn680() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn681() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn682() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn683() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn684() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn685() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn686() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn687() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn688() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn689() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn690() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn691() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn692() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn693() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn694() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn695() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn696() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn697() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn698() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn699() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn700() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn701() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn702() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn703() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn704() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn705() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn706() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn707() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn708() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn709() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn710() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn711() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn712() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn713() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn714() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn715() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn716() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn717() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn718() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn719() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn720() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn721() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn722() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn723() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn724() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn725() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn726() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn727() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn728() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn729() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn730() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn731() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn732() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn733() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn734() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn735() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn736() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn737() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn738() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn739() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn740() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn741() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn742() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn743() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn744() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn745() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn746() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn747() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn748() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn749() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn750() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn751() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn752() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn753() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn754() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn755() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn756() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn757() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn758() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn759() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn760() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn761() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn762() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn763() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn764() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn765() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn766() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn767() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn768() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn769() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn770() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn771() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn772() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn773() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn774() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn775() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn776() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn777() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn778() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn779() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn780() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn781() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn782() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn783() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn784() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn785() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn786() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn787() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn788() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn789() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn790() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn791() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn792() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn793() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn794() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn795() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn796() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn797() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn798() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn799() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn800() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn801() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn802() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn803() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn804() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn805() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn806() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn807() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn808() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn809() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn810() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn811() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn812() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn813() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn814() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn815() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn816() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn817() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn818() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn819() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn820() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn821() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn822() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn823() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn824() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn825() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn826() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn827() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn828() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn829() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn830() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn831() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn832() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn833() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn834() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn835() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn836() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn837() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn838() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn839() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn840() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn841() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn842() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn843() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn844() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn845() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn846() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn847() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn848() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn849() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn850() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn851() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn852() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn853() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn854() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn855() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn856() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn857() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn858() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn859() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn860() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn861() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn862() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn863() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn864() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn865() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn866() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn867() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn868() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn869() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn870() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn871() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn872() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn873() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn874() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn875() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn876() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn877() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn878() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn879() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn880() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn881() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn882() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn883() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn884() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn885() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn886() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn887() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn888() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn889() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn890() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn891() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn892() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn893() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn894() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn895() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn896() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn897() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn898() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn899() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn900() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn901() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn902() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn903() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn904() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn905() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn906() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn907() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn908() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn909() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn910() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn911() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn912() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn913() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn914() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn915() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn916() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn917() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn918() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn919() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn920() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn921() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn922() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn923() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn924() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn925() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn926() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn927() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn928() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn929() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn930() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn931() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn932() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn933() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn934() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn935() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn936() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn937() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn938() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn939() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn940() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn941() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn942() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn943() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn944() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn945() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn946() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn947() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn948() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn949() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn950() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn951() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn952() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn953() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn954() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn955() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn956() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn957() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn958() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn959() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn960() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn961() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn962() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn963() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn964() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn965() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn966() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn967() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn968() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn969() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn970() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn971() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn972() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn973() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn974() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn975() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn976() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn977() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn978() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn979() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn980() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn981() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn982() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn983() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn984() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn985() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn986() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn987() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn988() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn989() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn990() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn991() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn992() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn993() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn994() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn995() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn996() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn997() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn998() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn999() {}' +279: + for i in `seq 1 1000` +279: + echo 'void fn1000() {}' +275: + grep -F .gnu_debuglink +275: + readelf -SW out/test/x86_64/separate-debug-file/exe1 +275: [31] .gnu_debuglink PROGBITS 0000000000000000 0009b8 000010 00 0 0 4 +275: + flock out/test/x86_64/separate-debug-file/exe1 true +278: ++ seq 1 1000 +278: + for i in `seq 1 1000` +278: + echo 'void fn1() {}' +278: + for i in `seq 1 1000` +278: + echo 'void fn2() {}' +278: + for i in `seq 1 1000` +278: + echo 'void fn3() {}' +278: + for i in `seq 1 1000` +278: + echo 'void fn4() {}' +278: + for i in `seq 1 1000` +278: + echo 'void fn5() {}' +278: + for i in `seq 1 1000` +278: + echo 'void fn6() {}' 278: + for i in `seq 1 1000` 278: + echo 'void fn7() {}' 278: + for i in `seq 1 1000` @@ -19639,70 +21744,15 @@ 278: + echo 'void fn999() {}' 278: + for i in `seq 1 1000` 278: + echo 'void fn1000() {}' -273: + readelf -SW out/test/x86_64/section-order/exe2 -273: + grep '\.fn2 .*00400000' -273: [16] .fn2 PROGBITS 0000000000400000 002000 000016 00 AX 0 0 1 -273: + readelf -sW out/test/x86_64/section-order/exe2 -273: + grep -E ': 0+200000\s.*\s__ehdr_start$' -273: 66: 0000000000200000 0 NOTYPE LOCAL DEFAULT 1 __ehdr_start -273: + readelf -W --segments out/test/x86_64/section-order/exe2 -273: + grep -E 'PHDR\s.*0x0+300000\s' -276: + cc -fPIC -c -o out/test/x86_64/shared-abs-sym/d.o -xc - -276: + cat -275: + on_qemu -275: + '[' '' '!=' '' ']' -275: + grep -w qemu /proc/cpuinfo -275: + command -v gdb -275: + command -v flock -275: + cat -275: + cc -c -o out/test/x86_64/separate-debug-file/a.o out/test/x86_64/separate-debug-file/a.c -g -280: ++ case $MACHINE in -280: ++ tlsdesc_opt=-mtls-dialect=gnu2 -280: +++ uname -280: ++ '[' Linux = FreeBSD ']' -280: ++ trap 'on_error $LINENO' ERR -280: ++ trap on_exit EXIT -280: ++ echo -n 'Testing soname ... ' -280: Testing soname ... ++ set -o pipefail -280: ++ set -x -280: + cat -280: + cc -fPIC -c -o out/test/x86_64/soname/a.o -xc - -273: PHDR 0x001000 0x0000000000300000 0x0000000000300000 0x0002a0 0x0002a0 R 0x8 -273: + cc -B. -o out/test/x86_64/section-order/exe3 out/test/x86_64/section-order/a.o -no-pie '-Wl,--section-order==0x200000 !ehdr_start EHDR %0x20 !rodata_start RODATA =0x300000 !phdr_start PHDR %4096 !phdr_end =0x400000 !text_start TEXT DATA BSS' -274: + out/test/x86_64/section-start/exe2 +277: + cc -B. -o out/test/x86_64/shared/exe out/test/x86_64/shared/c.o out/test/x86_64/shared/b.so 274: + grep 'main fn1 fn2 0x20000000 0x10000000' +274: + out/test/x86_64/section-start/exe2 274: main fn1 fn2 0x20000000 0x10000000 +274: + sed 's/0x[0-9a-f]*//' 274: + readelf -W --segments out/test/x86_64/section-start/exe2 274: + grep ' LOAD ' -274: + sed 's/0x[0-9a-f]*//' 274: + diff out/test/x86_64/section-start/log2 /dev/fd/63 274: ++ sort out/test/x86_64/section-start/log2 -277: + readelf --dyn-syms out/test/x86_64/shared/b.so -274: + on_exit -274: + echo OK -274: OK -274: + exit 0 -277: + grep '00000000 0 NOTYPE GLOBAL DEFAULT UND fn2' out/test/x86_64/shared/log -277: 4: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND fn2 -277: + grep -E 'FUNC GLOBAL DEFAULT .* fn1' out/test/x86_64/shared/log -277: 6: 0000000000001689 17 FUNC GLOBAL DEFAULT 15 fn1 -277: + cat -269/402 Test #274: x86_64-section-start .................................. Passed 0.24 sec -277: + cc -fPIC -c -o out/test/x86_64/shared/c.o -xc - -test 281 - Start 281: x86_64-spare-program-headers - -281: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/spare-program-headers.sh" -281: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -281: Environment variables: -281: MACHINE=x86_64 -281: CPU= -281: Test timeout computed to be: 1500 -270: + readelf -p .comment out/test/x86_64/run/exe -270: + grep mold -270: [ 0] mold 2.37.1 (compatible with GNU ld) -270: + ./mold -run env -270: + grep '^MOLD_PATH=.*/mold$' 281: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/spare-program-headers.sh 281: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 281: ++ export LC_ALL=C @@ -19722,11 +21772,38 @@ 281: ++ testname=spare-program-headers 281: ++ t=out/test/x86_64/spare-program-headers 281: ++ mkdir -p out/test/x86_64/spare-program-headers -270: MOLD_PATH=/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/mold +270: ++ pwd +270: + LD_PRELOAD=/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so +270: ++ pwd +270: + MOLD_PATH=/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/mold +270: + cc -o out/test/x86_64/run/exe out/test/x86_64/run/a.o -B/usr/bin +273: + readelf -sW out/test/x86_64/section-order/exe3 +275: + grep -F printf +274: + on_exit +274: + echo OK +274: OK +274: + exit 0 +270/402 Test #274: x86_64-section-start .................................. Passed 0.38 sec +test 282 + Start 282: x86_64-start-lib + +282: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/start-lib.sh" +282: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +282: Environment variables: +282: MACHINE=x86_64 +282: CPU= +282: Test timeout computed to be: 1500 +273: + grep -E '\b0+200000 .* ehdr_start$' out/test/x86_64/section-order/log3 +273: 66: 0000000000200000 0 NOTYPE LOCAL DEFAULT 1 ehdr_start +273: + grep -E '\b0+200040 .* rodata_start$' out/test/x86_64/section-order/log3 +275: + gdb out/test/x86_64/separate-debug-file/exe1 -ex 'list main' -ex quit +276: + out/test/x86_64/shared-abs-sym/exe1 +276: + grep foo=0x3 +276: foo=0x3 +276: + cp out/test/x86_64/shared-abs-sym/b.so out/test/x86_64/shared-abs-sym/c.so +280: + cc -o out/test/x86_64/soname/b.so -shared out/test/x86_64/soname/a.o 281: ++ case $MACHINE in 281: ++ tlsdesc_opt=-mtls-dialect=gnu2 -270: + ./mold -run /usr/bin/ld --version -270: + grep mold 281: +++ uname 281: ++ '[' Linux = FreeBSD ']' 281: ++ trap 'on_error $LINENO' ERR @@ -19734,2277 +21811,230 @@ 281: ++ echo -n 'Testing spare-program-headers ... ' 281: Testing spare-program-headers ... ++ set -o pipefail 281: ++ set -x -281: + cat +273: 67: 0000000000200040 0 NOTYPE LOCAL DEFAULT 1 rodata_start +273: + grep -E '\b0+300000 .* phdr_start$' out/test/x86_64/section-order/log3 +277: + grep hello +276: + out/test/x86_64/shared-abs-sym/exe1 +277: + out/test/x86_64/shared/exe +282: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/start-lib.sh +273: 68: 0000000000300000 0 NOTYPE LOCAL DEFAULT 1 phdr_start +277: hello +273: + grep -E '\b0+301000 .* phdr_end$' out/test/x86_64/section-order/log3 281: + cc -o out/test/x86_64/spare-program-headers/a.o -c -xc - +281: + cat +282: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +282: ++ export LC_ALL=C +282: ++ LC_ALL=C +282: ++ '[' -z x86_64 ']' +282: ++ '[' -z '' ']' +282: ++ TESTDIR=out/test/x86_64 +282: ++ CC=cc +282: ++ CXX=c++ +282: ++ GCC=gcc +282: ++ GXX=g++ +282: ++ OBJDUMP=objdump +282: ++ OBJCOPY=objcopy +282: ++ STRIP=strip +282: ++ QEMU= +277: + not grep fn3 +277: + grep fn3 +276: + grep foo=0x5 +282: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/start-lib.sh .sh +277: + readelf --symbols out/test/x86_64/shared/exe +276: foo=0x5 +282: ++ testname=start-lib +282: ++ t=out/test/x86_64/start-lib +282: ++ mkdir -p out/test/x86_64/start-lib +276: + cp out/test/x86_64/shared-abs-sym/a.so out/test/x86_64/shared-abs-sym/c.so +277: + return 0 +277: + on_exit +277: + echo OK +277: OK +277: + exit 0 +270: + readelf -p .comment out/test/x86_64/run/exe +270: + grep mold +271/402 Test #277: x86_64-shared ......................................... Passed 0.33 sec +273: 69: 0000000000301000 0 NOTYPE LOCAL DEFAULT 1 phdr_end +273: + grep -E '\b0+400000 .* text_start$' out/test/x86_64/section-order/log3 +test 283 + Start 283: x86_64-start-stop-symbol + +283: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/start-stop-symbol.sh" +283: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +283: Environment variables: +283: MACHINE=x86_64 +283: CPU= +283: Test timeout computed to be: 1500 +273: 70: 0000000000400000 0 NOTYPE LOCAL DEFAULT 1 text_start +273: + on_exit +273: + echo OK +273: OK +273: + exit 0 +282: ++ case $MACHINE in +282: ++ tlsdesc_opt=-mtls-dialect=gnu2 +282: +++ uname +270: [ 0] mold 2.37.1 (compatible with GNU ld) +270: + grep '^MOLD_PATH=.*/mold$' +270: + ./mold -run env +280: + readelf --dynamic out/test/x86_64/soname/b.so +280: + not grep -F 'Library soname' +280: + grep -F 'Library soname' +272/402 Test #273: x86_64-section-order .................................. Passed 0.50 sec +test 284 + Start 284: x86_64-start-stop + +284: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/start-stop.sh" +284: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +284: Environment variables: +284: MACHINE=x86_64 +284: CPU= +284: Test timeout computed to be: 1500 +282: ++ '[' Linux = FreeBSD ']' +282: ++ trap 'on_error $LINENO' ERR +282: ++ trap on_exit EXIT +282: ++ echo -n 'Testing start-lib ... ' +282: Testing start-lib ... ++ set -o pipefail +282: ++ set -x +282: + cat +276: + cc -B. -o out/test/x86_64/shared-abs-sym/exe2 out/test/x86_64/shared-abs-sym/d.o out/test/x86_64/shared-abs-sym/c.so -no-pie +270: MOLD_PATH=/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/mold +270: + ./mold -run /usr/bin/ld --version +280: + return 0 +280: + cc -B. -o out/test/x86_64/soname/b.so -shared out/test/x86_64/soname/a.o -Wl,-soname,foo +282: + cc -o out/test/x86_64/start-lib/a.o -c -xc - +283: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/start-stop-symbol.sh +283: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +283: ++ export LC_ALL=C +283: ++ LC_ALL=C +270: + grep mold 270: mold 2.37.1 (compatible with GNU ld) -270: + ./mold -run /usr/bin/ld.lld --version +283: ++ '[' -z x86_64 ']' +283: ++ '[' -z '' ']' +283: ++ TESTDIR=out/test/x86_64 +283: ++ CC=cc +283: ++ CXX=c++ +283: ++ GCC=gcc +283: ++ GXX=g++ +283: ++ OBJDUMP=objdump +283: ++ OBJCOPY=objcopy +283: ++ STRIP=strip +283: ++ QEMU= +284: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/start-stop.sh +284: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +284: ++ export LC_ALL=C +284: ++ LC_ALL=C +284: ++ '[' -z x86_64 ']' +284: ++ '[' -z '' ']' +284: ++ TESTDIR=out/test/x86_64 +284: ++ CC=cc +284: ++ CXX=c++ +284: ++ GCC=gcc +284: ++ GXX=g++ +284: ++ OBJDUMP=objdump +284: ++ OBJCOPY=objcopy +284: ++ STRIP=strip +284: ++ QEMU= 270: + grep mold +270: + ./mold -run /usr/bin/ld.lld --version +283: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/start-stop-symbol.sh .sh +283: ++ testname=start-stop-symbol +283: ++ t=out/test/x86_64/start-stop-symbol +283: ++ mkdir -p out/test/x86_64/start-stop-symbol +284: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/start-stop.sh .sh +284: ++ testname=start-stop +284: ++ t=out/test/x86_64/start-stop +284: ++ mkdir -p out/test/x86_64/start-stop 270: mold 2.37.1 (compatible with GNU ld) +283: ++ case $MACHINE in +283: ++ tlsdesc_opt=-mtls-dialect=gnu2 +284: ++ case $MACHINE in +284: ++ tlsdesc_opt=-mtls-dialect=gnu2 +283: +++ uname 270: + ./mold -run /usr/bin/ld.gold --version 270: + grep mold +283: ++ '[' Linux = FreeBSD ']' +283: ++ trap 'on_error $LINENO' ERR +283: ++ trap on_exit EXIT +283: ++ echo -n 'Testing start-stop-symbol ... ' +283: Testing start-stop-symbol ... ++ set -o pipefail +283: ++ set -x 270: mold 2.37.1 (compatible with GNU ld) +283: + cat 270: + rm -f out/test/x86_64/run/ld out/test/x86_64/run/ld.lld out/test/x86_64/run/ld.gold out/test/x86_64/run/foo.ld +284: +++ uname +281: + cc -B. -o out/test/x86_64/spare-program-headers/exe1 out/test/x86_64/spare-program-headers/a.o +283: + cc -c -o out/test/x86_64/start-stop-symbol/a.o -xc - +284: ++ '[' Linux = FreeBSD ']' +284: ++ trap 'on_error $LINENO' ERR +284: ++ trap on_exit EXIT +284: ++ echo -n 'Testing start-stop ... ' +284: Testing start-stop ... ++ set -o pipefail +284: ++ set -x 270: + touch out/test/x86_64/run/ld out/test/x86_64/run/ld.lld out/test/x86_64/run/ld.gold +284: + cat 270: + echo '#!/bin/sh' 270: + chmod 755 out/test/x86_64/run/ld out/test/x86_64/run/ld.lld out/test/x86_64/run/ld.gold out/test/x86_64/run/foo.ld -277: + cc -B. -o out/test/x86_64/shared/exe out/test/x86_64/shared/c.o out/test/x86_64/shared/b.so +280: + readelf --dynamic out/test/x86_64/soname/b.so +284: + cc -c -o out/test/x86_64/start-stop/a.o -xc - +276: + grep foo=0x3 +270: + grep mold +280: + grep -F 'Library soname: [foo]' +280: 0x000000000000000e (SONAME) Library soname: [foo] +280: + on_exit +280: + echo OK +280: OK +280: + exit 0 270: + ./mold -run out/test/x86_64/run/ld --version +276: + out/test/x86_64/shared-abs-sym/exe2 +273/402 Test #280: x86_64-soname ......................................... Passed 0.32 sec +test 285 + Start 285: x86_64-static-archive + +285: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/static-archive.sh" +285: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +285: Environment variables: +285: MACHINE=x86_64 +285: CPU= +285: Test timeout computed to be: 1500 +276: foo=0x3 +276: + cp out/test/x86_64/shared-abs-sym/b.so out/test/x86_64/shared-abs-sym/c.so +282: + cc -o out/test/x86_64/start-lib/b.o -c -xc - +270: mold 2.37.1 (compatible with GNU ld) 270: + grep mold -279: + cc -o out/test/x86_64/shuffle-sections/b.o -ffunction-sections -c -xc - -279: ++ seq 1 1000 -279: + for i in `seq 1 1000` -279: + echo 'void fn1() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn2() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn3() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn4() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn5() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn6() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn7() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn8() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn9() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn10() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn11() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn12() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn13() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn14() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn15() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn16() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn17() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn18() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn19() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn20() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn21() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn22() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn23() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn24() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn25() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn26() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn27() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn28() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn29() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn30() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn31() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn32() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn33() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn34() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn35() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn36() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn37() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn38() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn39() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn40() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn41() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn42() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn43() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn44() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn45() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn46() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn47() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn48() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn49() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn50() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn51() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn52() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn53() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn54() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn55() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn56() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn57() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn58() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn59() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn60() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn61() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn62() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn63() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn64() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn65() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn66() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn67() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn68() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn69() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn70() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn71() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn72() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn73() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn74() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn75() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn76() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn77() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn78() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn79() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn80() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn81() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn82() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn83() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn84() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn85() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn86() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn87() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn88() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn89() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn90() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn91() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn92() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn93() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn94() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn95() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn96() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn97() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn98() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn99() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn100() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn101() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn102() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn103() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn104() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn105() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn106() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn107() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn108() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn109() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn110() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn111() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn112() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn113() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn114() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn115() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn116() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn117() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn118() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn119() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn120() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn121() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn122() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn123() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn124() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn125() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn126() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn127() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn128() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn129() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn130() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn131() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn132() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn133() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn134() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn135() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn136() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn137() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn138() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn139() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn140() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn141() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn142() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn143() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn144() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn145() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn146() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn147() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn148() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn149() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn150() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn151() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn152() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn153() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn154() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn155() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn156() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn157() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn158() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn159() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn160() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn161() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn162() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn163() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn164() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn165() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn166() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn167() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn168() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn169() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn170() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn171() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn172() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn173() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn174() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn175() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn176() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn177() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn178() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn179() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn180() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn181() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn182() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn183() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn184() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn185() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn186() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn187() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn188() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn189() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn190() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn191() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn192() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn193() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn194() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn195() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn196() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn197() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn198() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn199() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn200() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn201() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn202() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn203() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn204() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn205() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn206() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn207() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn208() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn209() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn210() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn211() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn212() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn213() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn214() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn215() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn216() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn217() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn218() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn219() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn220() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn221() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn222() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn223() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn224() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn225() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn226() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn227() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn228() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn229() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn230() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn231() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn232() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn233() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn234() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn235() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn236() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn237() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn238() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn239() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn240() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn241() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn242() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn243() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn244() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn245() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn246() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn247() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn248() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn249() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn250() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn251() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn252() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn253() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn254() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn255() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn256() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn257() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn258() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn259() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn260() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn261() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn262() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn263() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn264() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn265() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn266() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn267() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn268() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn269() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn270() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn271() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn272() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn273() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn274() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn275() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn276() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn277() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn278() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn279() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn280() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn281() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn282() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn283() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn284() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn285() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn286() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn287() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn288() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn289() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn290() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn291() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn292() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn293() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn294() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn295() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn296() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn297() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn298() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn299() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn300() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn301() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn302() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn303() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn304() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn305() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn306() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn307() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn308() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn309() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn310() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn311() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn312() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn313() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn314() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn315() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn316() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn317() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn318() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn319() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn320() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn321() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn322() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn323() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn324() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn325() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn326() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn327() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn328() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn329() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn330() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn331() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn332() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn333() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn334() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn335() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn336() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn337() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn338() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn339() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn340() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn341() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn342() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn343() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn344() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn345() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn346() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn347() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn348() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn349() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn350() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn351() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn352() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn353() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn354() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn355() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn356() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn357() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn358() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn359() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn360() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn361() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn362() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn363() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn364() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn365() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn366() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn367() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn368() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn369() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn370() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn371() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn372() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn373() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn374() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn375() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn376() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn377() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn378() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn379() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn380() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn381() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn382() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn383() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn384() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn385() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn386() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn387() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn388() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn389() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn390() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn391() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn392() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn393() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn394() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn395() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn396() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn397() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn398() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn399() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn400() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn401() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn402() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn403() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn404() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn405() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn406() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn407() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn408() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn409() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn410() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn411() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn412() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn413() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn414() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn415() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn416() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn417() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn418() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn419() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn420() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn421() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn422() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn423() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn424() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn425() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn426() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn427() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn428() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn429() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn430() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn431() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn432() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn433() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn434() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn435() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn436() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn437() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn438() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn439() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn440() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn441() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn442() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn443() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn444() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn445() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn446() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn447() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn448() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn449() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn450() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn451() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn452() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn453() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn454() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn455() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn456() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn457() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn458() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn459() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn460() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn461() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn462() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn463() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn464() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn465() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn466() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn467() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn468() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn469() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn470() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn471() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn472() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn473() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn474() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn475() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn476() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn477() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn478() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn479() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn480() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn481() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn482() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn483() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn484() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn485() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn486() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn487() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn488() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn489() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn490() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn491() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn492() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn493() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn494() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn495() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn496() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn497() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn498() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn499() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn500() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn501() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn502() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn503() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn504() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn505() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn506() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn507() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn508() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn509() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn510() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn511() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn512() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn513() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn514() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn515() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn516() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn517() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn518() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn519() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn520() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn521() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn522() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn523() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn524() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn525() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn526() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn527() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn528() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn529() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn530() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn531() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn532() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn533() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn534() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn535() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn536() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn537() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn538() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn539() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn540() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn541() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn542() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn543() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn544() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn545() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn546() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn547() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn548() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn549() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn550() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn551() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn552() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn553() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn554() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn555() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn556() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn557() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn558() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn559() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn560() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn561() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn562() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn563() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn564() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn565() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn566() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn567() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn568() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn569() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn570() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn571() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn572() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn573() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn574() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn575() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn576() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn577() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn578() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn579() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn580() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn581() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn582() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn583() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn584() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn585() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn586() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn587() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn588() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn589() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn590() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn591() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn592() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn593() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn594() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn595() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn596() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn597() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn598() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn599() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn600() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn601() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn602() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn603() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn604() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn605() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn606() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn607() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn608() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn609() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn610() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn611() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn612() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn613() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn614() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn615() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn616() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn617() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn618() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn619() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn620() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn621() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn622() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn623() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn624() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn625() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn626() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn627() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn628() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn629() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn630() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn631() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn632() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn633() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn634() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn635() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn636() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn637() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn638() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn639() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn640() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn641() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn642() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn643() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn644() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn645() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn646() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn647() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn648() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn649() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn650() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn651() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn652() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn653() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn654() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn655() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn656() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn657() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn658() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn659() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn660() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn661() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn662() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn663() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn664() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn665() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn666() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn667() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn668() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn669() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn670() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn671() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn672() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn673() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn674() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn675() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn676() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn677() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn678() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn679() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn680() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn681() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn682() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn683() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn684() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn685() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn686() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn687() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn688() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn689() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn690() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn691() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn692() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn693() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn694() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn695() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn696() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn697() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn698() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn699() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn700() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn701() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn702() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn703() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn704() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn705() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn706() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn707() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn708() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn709() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn710() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn711() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn712() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn713() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn714() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn715() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn716() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn717() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn718() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn719() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn720() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn721() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn722() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn723() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn724() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn725() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn726() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn727() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn728() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn729() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn730() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn731() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn732() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn733() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn734() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn735() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn736() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn737() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn738() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn739() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn740() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn741() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn742() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn743() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn744() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn745() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn746() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn747() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn748() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn749() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn750() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn751() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn752() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn753() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn754() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn755() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn756() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn757() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn758() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn759() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn760() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn761() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn762() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn763() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn764() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn765() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn766() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn767() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn768() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn769() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn770() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn771() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn772() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn773() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn774() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn775() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn776() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn777() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn778() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn779() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn780() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn781() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn782() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn783() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn784() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn785() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn786() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn787() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn788() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn789() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn790() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn791() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn792() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn793() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn794() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn795() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn796() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn797() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn798() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn799() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn800() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn801() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn802() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn803() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn804() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn805() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn806() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn807() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn808() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn809() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn810() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn811() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn812() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn813() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn814() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn815() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn816() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn817() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn818() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn819() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn820() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn821() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn822() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn823() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn824() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn825() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn826() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn827() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn828() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn829() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn830() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn831() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn832() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn833() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn834() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn835() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn836() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn837() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn838() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn839() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn840() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn841() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn842() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn843() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn844() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn845() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn846() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn847() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn848() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn849() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn850() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn851() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn852() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn853() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn854() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn855() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn856() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn857() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn858() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn859() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn860() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn861() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn862() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn863() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn864() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn865() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn866() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn867() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn868() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn869() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn870() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn871() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn872() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn873() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn874() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn875() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn876() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn877() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn878() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn879() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn880() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn881() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn882() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn883() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn884() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn885() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn886() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn887() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn888() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn889() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn890() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn891() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn892() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn893() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn894() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn895() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn896() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn897() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn898() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn899() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn900() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn901() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn902() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn903() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn904() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn905() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn906() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn907() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn908() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn909() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn910() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn911() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn912() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn913() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn914() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn915() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn916() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn917() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn918() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn919() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn920() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn921() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn922() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn923() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn924() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn925() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn926() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn927() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn928() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn929() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn930() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn931() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn932() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn933() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn934() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn935() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn936() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn937() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn938() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn939() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn940() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn941() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn942() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn943() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn944() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn945() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn946() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn947() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn948() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn949() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn950() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn951() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn952() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn953() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn954() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn955() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn956() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn957() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn958() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn959() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn960() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn961() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn962() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn963() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn964() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn965() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn966() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn967() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn968() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn969() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn970() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn971() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn972() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn973() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn974() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn975() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn976() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn977() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn978() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn979() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn980() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn981() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn982() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn983() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn984() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn985() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn986() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn987() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn988() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn989() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn990() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn991() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn992() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn993() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn994() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn995() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn996() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn997() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn998() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn999() {}' -279: + for i in `seq 1 1000` -279: + echo 'void fn1000() {}' -255: + cat -255: + cc -c -xc -o out/test/x86_64/relocatable-many-sections/b.o - -270: mold 2.37.1 (compatible with GNU ld) +282: + cat 270: + ./mold -run out/test/x86_64/run/ld.lld --version -270: + grep mold -275: + cc -B. -o out/test/x86_64/separate-debug-file/exe1 out/test/x86_64/separate-debug-file/a.o -Wl,--separate-debug-file -273: + readelf -sW out/test/x86_64/section-order/exe3 -280: + cc -o out/test/x86_64/soname/b.so -shared out/test/x86_64/soname/a.o -276: + cp out/test/x86_64/shared-abs-sym/a.so out/test/x86_64/shared-abs-sym/c.so +278: + cc -B. -o out/test/x86_64/shuffle-sections-seed/exe1 out/test/x86_64/shuffle-sections-seed/a.o out/test/x86_64/shuffle-sections-seed/b.o 270: mold 2.37.1 (compatible with GNU ld) -276: + cc -B. -o out/test/x86_64/shared-abs-sym/exe1 out/test/x86_64/shared-abs-sym/d.o out/test/x86_64/shared-abs-sym/c.so -pie -273: + grep -E '\b0+200000 .* ehdr_start$' out/test/x86_64/section-order/log3 +285: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/static-archive.sh +285: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +285: ++ export LC_ALL=C +285: ++ LC_ALL=C +285: ++ '[' -z x86_64 ']' +285: ++ '[' -z '' ']' +285: ++ TESTDIR=out/test/x86_64 +285: ++ CC=cc +285: ++ CXX=c++ +285: ++ GCC=gcc +285: ++ GXX=g++ +285: ++ OBJDUMP=objdump +285: ++ OBJCOPY=objcopy +285: ++ STRIP=strip +285: ++ QEMU= +283: + ar rcs out/test/x86_64/start-stop-symbol/b.a out/test/x86_64/start-stop-symbol/a.o 270: + ./mold -run out/test/x86_64/run/ld.gold --version 270: + grep mold -273: 66: 0000000000200000 0 NOTYPE LOCAL DEFAULT 1 ehdr_start -273: + grep -E '\b0+200040 .* rodata_start$' out/test/x86_64/section-order/log3 -273: 67: 0000000000200040 0 NOTYPE LOCAL DEFAULT 1 rodata_start -273: + grep -E '\b0+300000 .* phdr_start$' out/test/x86_64/section-order/log3 -273: 68: 0000000000300000 0 NOTYPE LOCAL DEFAULT 1 phdr_start -273: + grep -E '\b0+301000 .* phdr_end$' out/test/x86_64/section-order/log3 -273: 69: 0000000000301000 0 NOTYPE LOCAL DEFAULT 1 phdr_end -273: + grep -E '\b0+400000 .* text_start$' out/test/x86_64/section-order/log3 -273: 70: 0000000000400000 0 NOTYPE LOCAL DEFAULT 1 text_start -273: + on_exit -273: + echo OK -273: OK -273: + exit 0 -270/402 Test #273: x86_64-section-order .................................. Passed 0.44 sec -test 282 - Start 282: x86_64-start-lib - -282: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/start-lib.sh" -282: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -282: Environment variables: -282: MACHINE=x86_64 -282: CPU= -282: Test timeout computed to be: 1500 -270: mold 2.37.1 (compatible with GNU ld) -270: + ./mold -run out/test/x86_64/run/foo.ld --version -270: + not grep mold -270: + grep mold -282: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/start-lib.sh -282: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -282: ++ export LC_ALL=C -282: ++ LC_ALL=C -282: ++ '[' -z x86_64 ']' -282: ++ '[' -z '' ']' -282: ++ TESTDIR=out/test/x86_64 -282: ++ CC=cc -282: ++ CXX=c++ -282: ++ GCC=gcc -282: ++ GXX=g++ -282: ++ OBJDUMP=objdump -282: ++ OBJCOPY=objcopy -282: ++ STRIP=strip -282: ++ QEMU= -282: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/start-lib.sh .sh -282: ++ testname=start-lib -282: ++ t=out/test/x86_64/start-lib -282: ++ mkdir -p out/test/x86_64/start-lib -282: ++ case $MACHINE in -282: ++ tlsdesc_opt=-mtls-dialect=gnu2 -270: + return 0 -270: + cat -282: +++ uname -255: + ./mold -r -o out/test/x86_64/relocatable-many-sections/c.o out/test/x86_64/relocatable-many-sections/a.o out/test/x86_64/relocatable-many-sections/b.o -281: + cc -B. -o out/test/x86_64/spare-program-headers/exe1 out/test/x86_64/spare-program-headers/a.o -270: + chmod 755 out/test/x86_64/run/sh -280: + readelf --dynamic out/test/x86_64/soname/b.so -282: ++ '[' Linux = FreeBSD ']' -282: ++ trap 'on_error $LINENO' ERR -282: ++ trap on_exit EXIT -282: ++ echo -n 'Testing start-lib ... ' -282: Testing start-lib ... ++ set -o pipefail -270: + ./mold -run out/test/x86_64/run/sh ld --version -270: + grep mold -282: ++ set -x -282: + cc -o out/test/x86_64/start-lib/a.o -c -xc - -282: + cat -280: + not grep -F 'Library soname' -280: + grep -F 'Library soname' -280: + return 0 -280: + cc -B. -o out/test/x86_64/soname/b.so -shared out/test/x86_64/soname/a.o -Wl,-soname,foo -215: + readelf -WS out/test/x86_64/many-sections2/b.o -275: + readelf -SW out/test/x86_64/separate-debug-file/exe1 -275: + grep -F .gnu_debuglink -275: [31] .gnu_debuglink PROGBITS 0000000000000000 0009b8 000010 00 0 0 4 -275: + flock out/test/x86_64/separate-debug-file/exe1 true -277: + out/test/x86_64/shared/exe -277: + grep hello -277: hello -276: + out/test/x86_64/shared-abs-sym/exe1 -276: + grep foo=0x3 -277: + readelf --symbols out/test/x86_64/shared/exe -276: foo=0x3 -277: + not grep fn3 -277: + grep fn3 -276: + cp out/test/x86_64/shared-abs-sym/b.so out/test/x86_64/shared-abs-sym/c.so -270: mold 2.37.1 (compatible with GNU ld) -275: + gdb out/test/x86_64/separate-debug-file/exe1 -ex 'list main' -ex quit -275: + grep -F printf -270: + ./mold -run out/test/x86_64/run/sh out/test/x86_64/run/foo.ld --version -270: + not grep mold -270: + grep mold -276: + out/test/x86_64/shared-abs-sym/exe1 -277: + return 0 -277: + on_exit -277: + echo OK -277: OK -277: + exit 0 276: + grep foo=0x5 -271/402 Test #277: x86_64-shared ......................................... Passed 0.41 sec -276: foo=0x5 -test 283 - Start 283: x86_64-start-stop-symbol - -283: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/start-stop-symbol.sh" -283: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -283: Environment variables: -283: MACHINE=x86_64 -283: CPU= -283: Test timeout computed to be: 1500 -276: + cp out/test/x86_64/shared-abs-sym/a.so out/test/x86_64/shared-abs-sym/c.so -276: + cc -B. -o out/test/x86_64/shared-abs-sym/exe2 out/test/x86_64/shared-abs-sym/d.o out/test/x86_64/shared-abs-sym/c.so -no-pie -270: + return 0 -270: + ./mold -run out/test/x86_64/run/sh out/test/x86_64/run/ld --version -270: + grep mold -283: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/start-stop-symbol.sh -283: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -283: ++ export LC_ALL=C -283: ++ LC_ALL=C -283: ++ '[' -z x86_64 ']' -283: ++ '[' -z '' ']' -283: ++ TESTDIR=out/test/x86_64 -283: ++ CC=cc -283: ++ CXX=c++ -283: ++ GCC=gcc -283: ++ GXX=g++ -283: ++ OBJDUMP=objdump -283: ++ OBJCOPY=objcopy -283: ++ STRIP=strip -283: ++ QEMU= -283: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/start-stop-symbol.sh .sh -283: ++ testname=start-stop-symbol -283: ++ t=out/test/x86_64/start-stop-symbol -283: ++ mkdir -p out/test/x86_64/start-stop-symbol -282: + cat -282: + cc -o out/test/x86_64/start-lib/b.o -c -xc - -283: ++ case $MACHINE in -283: ++ tlsdesc_opt=-mtls-dialect=gnu2 -283: +++ uname -283: ++ '[' Linux = FreeBSD ']' -283: ++ trap 'on_error $LINENO' ERR -283: ++ trap on_exit EXIT -283: ++ echo -n 'Testing start-stop-symbol ... ' -283: Testing start-stop-symbol ... ++ set -o pipefail -283: ++ set -x -283: + cat -283: + cc -c -o out/test/x86_64/start-stop-symbol/a.o -xc - -280: + readelf --dynamic out/test/x86_64/soname/b.so -280: + grep -F 'Library soname: [foo]' -270: mold 2.37.1 (compatible with GNU ld) -270: + grep mold -270: + ./mold -run out/test/x86_64/run/sh out/test/x86_64/run/ld.lld --version -270: mold 2.37.1 (compatible with GNU ld) -270: + ./mold -run out/test/x86_64/run/sh out/test/x86_64/run/ld.gold --version -270: + grep mold -270: mold 2.37.1 (compatible with GNU ld) -270: + ./mold -run out/test/x86_64/run/sh out/test/x86_64/run/foo.ld --version -270: + not grep mold -270: + grep mold -270: + return 0 -270: + on_exit -270: + echo OK -270: OK -270: + exit 0 -272/402 Test #270: x86_64-run ............................................ Passed 0.67 sec -test 284 - Start 284: x86_64-start-stop - -284: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/start-stop.sh" -284: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -284: Environment variables: -284: MACHINE=x86_64 -284: CPU= -284: Test timeout computed to be: 1500 -284: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/start-stop.sh -284: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -284: ++ export LC_ALL=C -284: ++ LC_ALL=C -284: ++ '[' -z x86_64 ']' -284: ++ '[' -z '' ']' -284: ++ TESTDIR=out/test/x86_64 -284: ++ CC=cc -284: ++ CXX=c++ -284: ++ GCC=gcc -284: ++ GXX=g++ -284: ++ OBJDUMP=objdump -284: ++ OBJCOPY=objcopy -284: ++ STRIP=strip -284: ++ QEMU= -284: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/start-stop.sh .sh -284: ++ testname=start-stop -284: ++ t=out/test/x86_64/start-stop -284: ++ mkdir -p out/test/x86_64/start-stop -284: ++ case $MACHINE in -284: ++ tlsdesc_opt=-mtls-dialect=gnu2 -284: +++ uname -280: 0x000000000000000e (SONAME) Library soname: [foo] -280: + on_exit -280: + echo OK -280: OK -280: + exit 0 -276: + grep foo=0x3 -273/402 Test #280: x86_64-soname ......................................... Passed 0.49 sec -276: + out/test/x86_64/shared-abs-sym/exe2 -284: ++ '[' Linux = FreeBSD ']' -284: ++ trap 'on_error $LINENO' ERR -284: ++ trap on_exit EXIT -284: ++ echo -n 'Testing start-stop ... ' -284: Testing start-stop ... ++ set -o pipefail -284: ++ set -x -test 285 - Start 285: x86_64-static-archive - -285: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/static-archive.sh" -285: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -285: Environment variables: -285: MACHINE=x86_64 -285: CPU= -285: Test timeout computed to be: 1500 -276: foo=0x3 -276: + cp out/test/x86_64/shared-abs-sym/b.so out/test/x86_64/shared-abs-sym/c.so 276: + out/test/x86_64/shared-abs-sym/exe1 -276: + grep foo=0x5 -284: + cat -284: + cc -c -o out/test/x86_64/start-stop/a.o -xc - -281: + grep 'Hello world' -281: + out/test/x86_64/spare-program-headers/exe1 -281: Hello world -281: ++ readelf -Wl out/test/x86_64/spare-program-headers/exe1 -281: ++ grep NULL -283: + ar rcs out/test/x86_64/start-stop-symbol/b.a out/test/x86_64/start-stop-symbol/a.o -281: ++ wc -l -285: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/static-archive.sh 276: foo=0x5 -281: + '[' 0 -eq 0 ']' -281: + cc -B. -o out/test/x86_64/spare-program-headers/exe2 out/test/x86_64/spare-program-headers/a.o -Wl,--spare-program-headers=0 276: + on_exit 276: + echo OK 276: OK 276: + exit 0 -274/402 Test #276: x86_64-shared-abs-sym ................................. Passed 0.65 sec +270: mold 2.37.1 (compatible with GNU ld) +283: + cc -c -o out/test/x86_64/start-stop-symbol/c.o -xc - +283: + cat +285: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/static-archive.sh .sh +274/402 Test #276: x86_64-shared-abs-sym ................................. Passed 0.59 sec test 286 Start 286: x86_64-static-pie @@ -22014,32 +22044,26 @@ 286: MACHINE=x86_64 286: CPU= 286: Test timeout computed to be: 1500 -282: + cat +270: + ./mold -run out/test/x86_64/run/foo.ld --version +270: + not grep mold +270: + grep mold +284: + cc -B. -o out/test/x86_64/start-stop/exe1 out/test/x86_64/start-stop/a.o -Wl,--start-stop +285: ++ testname=static-archive +285: ++ t=out/test/x86_64/static-archive +285: ++ mkdir -p out/test/x86_64/static-archive 282: + cc -o out/test/x86_64/start-lib/c.o -c -xc - -283: + cat -283: + cc -c -o out/test/x86_64/start-stop-symbol/c.o -xc - -285: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -285: ++ export LC_ALL=C -285: ++ LC_ALL=C -285: ++ '[' -z x86_64 ']' -285: ++ '[' -z '' ']' -285: ++ TESTDIR=out/test/x86_64 -285: ++ CC=cc -285: ++ CXX=c++ -285: ++ GCC=gcc -285: ++ GXX=g++ -285: ++ OBJDUMP=objdump -285: ++ OBJCOPY=objcopy -285: ++ STRIP=strip -285: ++ QEMU= -285: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/static-archive.sh .sh +282: + cat +281: + out/test/x86_64/spare-program-headers/exe1 +281: + grep 'Hello world' +281: Hello world +285: ++ case $MACHINE in +285: ++ tlsdesc_opt=-mtls-dialect=gnu2 +285: +++ uname +270: + return 0 286: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/static-pie.sh 286: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 286: ++ export LC_ALL=C 286: ++ LC_ALL=C -285: ++ testname=static-archive -285: ++ t=out/test/x86_64/static-archive -285: ++ mkdir -p out/test/x86_64/static-archive 286: ++ '[' -z x86_64 ']' 286: ++ '[' -z '' ']' 286: ++ TESTDIR=out/test/x86_64 @@ -22051,24 +22075,49 @@ 286: ++ OBJCOPY=objcopy 286: ++ STRIP=strip 286: ++ QEMU= -286: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/static-pie.sh .sh -285: ++ case $MACHINE in -285: ++ tlsdesc_opt=-mtls-dialect=gnu2 -286: ++ testname=static-pie -286: ++ t=out/test/x86_64/static-pie -286: ++ mkdir -p out/test/x86_64/static-pie -285: +++ uname 285: ++ '[' Linux = FreeBSD ']' 285: ++ trap 'on_error $LINENO' ERR 285: ++ trap on_exit EXIT 285: ++ echo -n 'Testing static-archive ... ' 285: Testing static-archive ... ++ set -o pipefail 285: ++ set -x +270: + cat +285: + cc -o out/test/x86_64/static-archive/long-long-long-filename.o -c -xc - +285: + cat +270: + chmod 755 out/test/x86_64/run/sh +275: 3 printf("Hello world\n"); +275: + cc -c -o out/test/x86_64/separate-debug-file/a.o out/test/x86_64/separate-debug-file/a.c -g +281: ++ readelf -Wl out/test/x86_64/spare-program-headers/exe1 +281: ++ wc -l +283: + cc -B. -o out/test/x86_64/start-stop-symbol/exe out/test/x86_64/start-stop-symbol/c.o out/test/x86_64/start-stop-symbol/b.a +286: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/static-pie.sh .sh +286: ++ testname=static-pie +286: ++ t=out/test/x86_64/static-pie +286: ++ mkdir -p out/test/x86_64/static-pie +281: ++ grep NULL +270: + grep mold +270: + ./mold -run out/test/x86_64/run/sh ld --version +281: + '[' 0 -eq 0 ']' +281: + cc -B. -o out/test/x86_64/spare-program-headers/exe2 out/test/x86_64/spare-program-headers/a.o -Wl,--spare-program-headers=0 +282: + cc -B. -o out/test/x86_64/start-lib/exe -Wl,-start-lib out/test/x86_64/start-lib/a.o -Wl,-end-lib out/test/x86_64/start-lib/b.o out/test/x86_64/start-lib/c.o +270: mold 2.37.1 (compatible with GNU ld) 286: ++ case $MACHINE in 286: ++ tlsdesc_opt=-mtls-dialect=gnu2 -285: + cat -285: + cc -o out/test/x86_64/static-archive/long-long-long-filename.o -c -xc - +278: + out/test/x86_64/shuffle-sections-seed/exe1 +278: + grep 'Hello world' +279: + cc -B. -o out/test/x86_64/shuffle-sections/exe1 out/test/x86_64/shuffle-sections/a.o out/test/x86_64/shuffle-sections/b.o +284: + readelf -sW out/test/x86_64/start-stop/exe1 +278: Hello world +284: + grep __start_text 286: +++ uname +278: + cc -B. -o out/test/x86_64/shuffle-sections-seed/exe2 out/test/x86_64/shuffle-sections-seed/a.o out/test/x86_64/shuffle-sections-seed/b.o -Wl,-shuffle-sections=42 +285: + cc -o out/test/x86_64/static-archive/b.o -c -xc - +270: + not grep mold +270: + grep mold +285: + cat +270: + ./mold -run out/test/x86_64/run/sh out/test/x86_64/run/foo.ld --version +284: 146: 00000000000015a0 0 NOTYPE LOCAL DEFAULT 17 __start_text +284: + readelf -sW out/test/x86_64/start-stop/exe1 286: ++ '[' Linux = FreeBSD ']' 286: ++ trap 'on_error $LINENO' ERR 286: ++ trap on_exit EXIT @@ -22076,38 +22125,14 @@ 286: Testing static-pie ... ++ set -o pipefail 286: ++ set -x 286: + test_cflags -static-pie -286: + echo 'int main() {}' 286: + cc -B. -static-pie -o /dev/null -xc - -284: + cc -B. -o out/test/x86_64/start-stop/exe1 out/test/x86_64/start-stop/a.o -Wl,--start-stop -282: + cc -B. -o out/test/x86_64/start-lib/exe -Wl,-start-lib out/test/x86_64/start-lib/a.o -Wl,-end-lib out/test/x86_64/start-lib/b.o out/test/x86_64/start-lib/c.o -281: + out/test/x86_64/spare-program-headers/exe2 -281: + grep 'Hello world' -281: Hello world -283: + cc -B. -o out/test/x86_64/start-stop-symbol/exe out/test/x86_64/start-stop-symbol/c.o out/test/x86_64/start-stop-symbol/b.a -281: ++ readelf -Wl out/test/x86_64/spare-program-headers/exe2 -281: ++ grep NULL -281: ++ wc -l -285: + cat -285: + cc -o out/test/x86_64/static-archive/b.o -c -xc - -281: + '[' 0 -eq 0 ']' -281: + cc -B. -o out/test/x86_64/spare-program-headers/exe3 out/test/x86_64/spare-program-headers/a.o -Wl,--spare-program-headers=1 -285: + cat -285: + cc -o out/test/x86_64/static-archive/c.o -c -xc - -284: + grep __start_text -284: + readelf -sW out/test/x86_64/start-stop/exe1 -284: 146: 00000000000015a0 0 NOTYPE LOCAL DEFAULT 17 __start_text 284: + grep __stop_text -284: + readelf -sW out/test/x86_64/start-stop/exe1 -281: + out/test/x86_64/spare-program-headers/exe3 -281: + grep 'Hello world' -281: Hello world 284: 147: 0000000000001694 0 NOTYPE LOCAL DEFAULT 17 __stop_text 284: + on_exit 284: + echo OK 284: OK 284: + exit 0 -281: ++ readelf -Wl out/test/x86_64/spare-program-headers/exe3 -275/402 Test #284: x86_64-start-stop ..................................... Passed 0.22 sec +275/402 Test #284: x86_64-start-stop ..................................... Passed 0.34 sec test 287 Start 287: x86_64-stdout @@ -22117,12 +22142,12 @@ 287: MACHINE=x86_64 287: CPU= 287: Test timeout computed to be: 1500 -281: ++ grep NULL -281: ++ wc -l -281: + '[' 1 -eq 1 ']' -281: + cc -B. -o out/test/x86_64/spare-program-headers/exe4 out/test/x86_64/spare-program-headers/a.o -Wl,--spare-program-headers=5 -279: + cc -B. -o out/test/x86_64/shuffle-sections/exe1 out/test/x86_64/shuffle-sections/a.o out/test/x86_64/shuffle-sections/b.o +286: + echo 'int main() {}' +270: + return 0 +283: + out/test/x86_64/start-stop-symbol/exe +270: + grep mold 287: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/stdout.sh +270: + ./mold -run out/test/x86_64/run/sh out/test/x86_64/run/ld --version 287: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 287: ++ export LC_ALL=C 287: ++ LC_ALL=C @@ -22137,42 +22162,67 @@ 287: ++ OBJCOPY=objcopy 287: ++ STRIP=strip 287: ++ QEMU= +283: + grep 'section foo section foo' +278: + grep 'Hello world' +255: + cc -B. -o out/test/x86_64/relocatable-many-sections/exe out/test/x86_64/relocatable-many-sections/c.o +283: section foo section foo +283: + cc -B. -o out/test/x86_64/start-stop-symbol/exe out/test/x86_64/start-stop-symbol/c.o out/test/x86_64/start-stop-symbol/b.a -Wl,-gc-sections +278: + out/test/x86_64/shuffle-sections-seed/exe2 +278: Hello world +278: + cc -B. -o out/test/x86_64/shuffle-sections-seed/exe3 out/test/x86_64/shuffle-sections-seed/a.o out/test/x86_64/shuffle-sections-seed/b.o -Wl,-shuffle-sections=42 287: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/stdout.sh .sh 287: ++ testname=stdout 287: ++ t=out/test/x86_64/stdout 287: ++ mkdir -p out/test/x86_64/stdout -215: + grep -F .data.100000 out/test/x86_64/many-sections2/log1 -282: + nm out/test/x86_64/start-lib/exe -285: + rm -f out/test/x86_64/static-archive/d.a -285: + cd out/test/x86_64/static-archive -283: + out/test/x86_64/start-stop-symbol/exe -285: + ar rcs d.a long-long-long-filename.o b.o -283: + grep 'section foo section foo' +285: + cc -o out/test/x86_64/static-archive/c.o -c -xc - +281: + out/test/x86_64/spare-program-headers/exe2 +270: mold 2.37.1 (compatible with GNU ld) +285: + cat +281: + grep 'Hello world' +281: Hello world +270: + ./mold -run out/test/x86_64/run/sh out/test/x86_64/run/ld.lld --version +275: + cc -B. -o out/test/x86_64/separate-debug-file/exe2 out/test/x86_64/separate-debug-file/a.o -Wl,--separate-debug-file,--no-build-id +270: + grep mold +279: + grep 'Hello world' 287: ++ case $MACHINE in 287: ++ tlsdesc_opt=-mtls-dialect=gnu2 +281: ++ wc -l +279: + out/test/x86_64/shuffle-sections/exe1 +281: ++ readelf -Wl out/test/x86_64/spare-program-headers/exe2 +279: Hello world +281: ++ grep NULL +279: + cc -B. -o out/test/x86_64/shuffle-sections/exe2 out/test/x86_64/shuffle-sections/a.o out/test/x86_64/shuffle-sections/b.o -Wl,-shuffle-sections +285: + rm -f out/test/x86_64/static-archive/d.a +270: mold 2.37.1 (compatible with GNU ld) 287: +++ uname -286: + cat -286: + cc -o out/test/x86_64/static-pie/a.o -c -xc - -fPIE -283: section foo section foo -282: + not grep ' foo$' out/test/x86_64/start-lib/log -282: + grep ' foo$' out/test/x86_64/start-lib/log +281: + '[' 0 -eq 0 ']' +281: + cc -B. -o out/test/x86_64/spare-program-headers/exe3 out/test/x86_64/spare-program-headers/a.o -Wl,--spare-program-headers=1 287: ++ '[' Linux = FreeBSD ']' 287: ++ trap 'on_error $LINENO' ERR 287: ++ trap on_exit EXIT 287: ++ echo -n 'Testing stdout ... ' 287: Testing stdout ... ++ set -o pipefail 287: ++ set -x +282: + nm out/test/x86_64/start-lib/exe +282: + not grep ' foo$' out/test/x86_64/start-lib/log +282: + grep ' foo$' out/test/x86_64/start-lib/log +270: + grep mold +285: + cd out/test/x86_64/static-archive +285: + ar rcs d.a long-long-long-filename.o b.o +285: + cc -B. -Wl,--trace -o out/test/x86_64/static-archive/exe out/test/x86_64/static-archive/c.o out/test/x86_64/static-archive/d.a +270: + ./mold -run out/test/x86_64/run/sh out/test/x86_64/run/ld.gold --version +287: + cc -o out/test/x86_64/stdout/a.o -c -xc - +287: + cat 282: + return 0 282: + grep ' bar$' out/test/x86_64/start-lib/log -287: + cc -o out/test/x86_64/stdout/a.o -c -xc - -283: + cc -B. -o out/test/x86_64/start-stop-symbol/exe out/test/x86_64/start-stop-symbol/c.o out/test/x86_64/start-stop-symbol/b.a -Wl,-gc-sections 282: 00000000000016b9 t bar +270: mold 2.37.1 (compatible with GNU ld) 282: + on_exit 282: + echo OK 282: OK 282: + exit 0 -276/402 Test #282: x86_64-start-lib ...................................... Passed 0.47 sec -287: + cat +278: + grep 'Hello world' +276/402 Test #282: x86_64-start-lib ...................................... Passed 0.52 sec test 288 Start 288: x86_64-strip-debug @@ -22182,19 +22232,20 @@ 288: MACHINE=x86_64 288: CPU= 288: Test timeout computed to be: 1500 -285: + cc -B. -Wl,--trace -o out/test/x86_64/static-archive/exe out/test/x86_64/static-archive/c.o out/test/x86_64/static-archive/d.a -215: [ 9] .data.100000 PROGBITS 0000000000000000 00004e 000002 00 WA 0 0 1 -275: 3 printf("Hello world\n"); -275: + cc -c -o out/test/x86_64/separate-debug-file/a.o out/test/x86_64/separate-debug-file/a.c -g +278: + out/test/x86_64/shuffle-sections-seed/exe3 +278: Hello world +278: + cc -B. -o out/test/x86_64/shuffle-sections-seed/exe4 out/test/x86_64/shuffle-sections-seed/a.o out/test/x86_64/shuffle-sections-seed/b.o -Wl,-shuffle-sections=5 +286: + cat +270: + not grep mold +270: + grep mold +286: + cc -o out/test/x86_64/static-pie/a.o -c -xc - -fPIE +270: + ./mold -run out/test/x86_64/run/sh out/test/x86_64/run/foo.ld --version +283: + grep 'section foo section foo' 288: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/strip-debug.sh -281: + out/test/x86_64/spare-program-headers/exe4 -281: + grep 'Hello world' -215: + readelf -Ws out/test/x86_64/many-sections2/b.o 288: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 288: ++ export LC_ALL=C 288: ++ LC_ALL=C 288: ++ '[' -z x86_64 ']' -281: Hello world 288: ++ '[' -z '' ']' 288: ++ TESTDIR=out/test/x86_64 288: ++ CC=cc @@ -22205,19 +22256,15 @@ 288: ++ OBJCOPY=objcopy 288: ++ STRIP=strip 288: ++ QEMU= -288: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/strip-debug.sh .sh -281: ++ readelf -Wl out/test/x86_64/spare-program-headers/exe4 -281: ++ grep NULL -288: ++ testname=strip-debug -288: ++ t=out/test/x86_64/strip-debug -288: ++ mkdir -p out/test/x86_64/strip-debug -281: ++ wc -l -281: + '[' 5 -eq 5 ']' -281: + on_exit -281: + echo OK -281: OK -281: + exit 0 -277/402 Test #281: x86_64-spare-program-headers .......................... Passed 0.62 sec +283: + out/test/x86_64/start-stop-symbol/exe +283: section foo section foo +283: + on_exit +283: + echo OK +283: OK +283: + exit 0 +281: + grep 'Hello world' +287: + cc -B. -Wl,-build-id=sha1 out/test/x86_64/stdout/a.o -o - +277/402 Test #283: x86_64-start-stop-symbol .............................. Passed 0.50 sec test 289 Start 289: x86_64-strip @@ -22227,22 +22274,31 @@ 289: MACHINE=x86_64 289: CPU= 289: Test timeout computed to be: 1500 -288: ++ case $MACHINE in -288: ++ tlsdesc_opt=-mtls-dialect=gnu2 -288: +++ uname -288: ++ '[' Linux = FreeBSD ']' -288: ++ trap 'on_error $LINENO' ERR -288: ++ trap on_exit EXIT -288: ++ echo -n 'Testing strip-debug ... ' -288: Testing strip-debug ... ++ set -o pipefail -288: ++ set -x -288: + cat -278: + cc -B. -o out/test/x86_64/shuffle-sections-seed/exe1 out/test/x86_64/shuffle-sections-seed/a.o out/test/x86_64/shuffle-sections-seed/b.o -279: + out/test/x86_64/shuffle-sections/exe1 +270: + return 0 +270: + on_exit +270: + echo OK +270: OK +270: + exit 0 +288: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/strip-debug.sh .sh +285: + grep -F 'static-archive/d.a(long-long-long-filename.o)' out/test/x86_64/static-archive/log +285: trace: out/test/x86_64/static-archive/d.a(long-long-long-filename.o) 279: + grep 'Hello world' -288: + cc -o out/test/x86_64/strip-debug/a.o -c -xc - -g -279: Hello world -279: + cc -B. -o out/test/x86_64/shuffle-sections/exe2 out/test/x86_64/shuffle-sections/a.o out/test/x86_64/shuffle-sections/b.o -Wl,-shuffle-sections +278/402 Test #270: x86_64-run ............................................ Passed 1.09 sec +test 290 + Start 290: x86_64-stt-common + +290: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/stt-common.sh" +290: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +290: Environment variables: +290: MACHINE=x86_64 +290: CPU= +290: Test timeout computed to be: 1500 +285: + grep -F 'static-archive/d.a(b.o)' out/test/x86_64/static-archive/log +285: trace: out/test/x86_64/static-archive/d.a(b.o) +288: ++ testname=strip-debug +288: ++ t=out/test/x86_64/strip-debug +288: ++ mkdir -p out/test/x86_64/strip-debug +279: + out/test/x86_64/shuffle-sections/exe2 289: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/strip.sh 289: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 289: ++ export LC_ALL=C @@ -22258,88 +22314,129 @@ 289: ++ OBJCOPY=objcopy 289: ++ STRIP=strip 289: ++ QEMU= +290: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/stt-common.sh +255: + out/test/x86_64/relocatable-many-sections/exe +255: + grep Hello +279: Hello world +279: + not diff out/test/x86_64/shuffle-sections/exe1 out/test/x86_64/shuffle-sections/exe2 +290: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +290: ++ export LC_ALL=C +290: ++ LC_ALL=C +290: ++ '[' -z x86_64 ']' +290: ++ '[' -z '' ']' +290: ++ TESTDIR=out/test/x86_64 +290: ++ CC=cc +290: ++ CXX=c++ +290: ++ GCC=gcc +290: ++ GXX=g++ +290: ++ OBJDUMP=objdump +290: ++ OBJCOPY=objcopy +290: ++ STRIP=strip +290: ++ QEMU= +285: + grep -F static-archive/c.o out/test/x86_64/static-archive/log +281: + out/test/x86_64/spare-program-headers/exe3 +275: + readelf -SW out/test/x86_64/separate-debug-file/exe2 +275: + grep -F .gnu_debuglink +285: trace: out/test/x86_64/static-archive/c.o +255: Hello +290: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/stt-common.sh .sh +279: + on_exit +279: + echo OK +279: OK +279: + exit 0 +290: ++ testname=stt-common +290: ++ t=out/test/x86_64/stt-common +290: ++ mkdir -p out/test/x86_64/stt-common 289: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/strip.sh .sh +275: [30] .gnu_debuglink PROGBITS 0000000000000000 000988 000010 00 0 0 4 289: ++ testname=strip 289: ++ t=out/test/x86_64/strip 289: ++ mkdir -p out/test/x86_64/strip +281: Hello world +275: + flock out/test/x86_64/separate-debug-file/exe2 true +255: + on_exit +255: + echo OK +255: OK +255: + exit 0 +279/402 Test #255: x86_64-relocatable-many-sections ...................... Passed 2.05 sec +280/402 Test #279: x86_64-shuffle-sections ............................... Passed 0.75 sec +test 291 + Start 291: x86_64-symbol-rank + +291: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/symbol-rank.sh" +291: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +291: Environment variables: +291: MACHINE=x86_64 +291: CPU= +291: Test timeout computed to be: 1500 +test 292 + Start 292: x86_64-symbol-version-lto + +292: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/symbol-version-lto.sh" +292: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +292: Environment variables: +292: MACHINE=x86_64 +292: CPU= +292: Test timeout computed to be: 1500 289: ++ case $MACHINE in 289: ++ tlsdesc_opt=-mtls-dialect=gnu2 289: +++ uname -287: + cc -B. -Wl,-build-id=sha1 out/test/x86_64/stdout/a.o -o - 289: ++ '[' Linux = FreeBSD ']' 289: ++ trap 'on_error $LINENO' ERR 289: ++ trap on_exit EXIT 289: ++ echo -n 'Testing strip ... ' 289: Testing strip ... ++ set -o pipefail 289: ++ set -x -289: + cat 289: + cc -x assembler -c -o out/test/x86_64/strip/a.o -Wa,-L - -288: + cc -B. -o out/test/x86_64/strip-debug/exe out/test/x86_64/strip-debug/a.o -Wl,--strip-debug -275: + cc -B. -o out/test/x86_64/separate-debug-file/exe2 out/test/x86_64/separate-debug-file/a.o -Wl,--separate-debug-file,--no-build-id +289: + cat 289: + ./mold -o out/test/x86_64/strip/exe out/test/x86_64/strip/a.o -285: + grep -F 'static-archive/d.a(long-long-long-filename.o)' out/test/x86_64/static-archive/log -285: trace: out/test/x86_64/static-archive/d.a(long-long-long-filename.o) -285: + grep -F 'static-archive/d.a(b.o)' out/test/x86_64/static-archive/log -283: + out/test/x86_64/start-stop-symbol/exe -283: + grep 'section foo section foo' -285: trace: out/test/x86_64/static-archive/d.a(b.o) -285: + grep -F static-archive/c.o out/test/x86_64/static-archive/log -286: + cc -B. -o out/test/x86_64/static-pie/exe1 out/test/x86_64/static-pie/a.o -static-pie -285: trace: out/test/x86_64/static-archive/c.o +288: ++ case $MACHINE in +288: ++ tlsdesc_opt=-mtls-dialect=gnu2 285: + grep 8 -283: section foo section foo -283: + on_exit -283: + echo OK -283: OK -283: + exit 0 -278/402 Test #283: x86_64-start-stop-symbol .............................. Passed 0.41 sec 285: + out/test/x86_64/static-archive/exe -test 290 - Start 290: x86_64-stt-common - -290: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/stt-common.sh" -290: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -290: Environment variables: -290: MACHINE=x86_64 -290: CPU= -290: Test timeout computed to be: 1500 285: 8 285: + on_exit 285: + echo OK 285: OK 285: + exit 0 -279/402 Test #285: x86_64-static-archive ................................. Passed 0.26 sec -test 291 - Start 291: x86_64-symbol-rank +275: + grep -F printf +275: + gdb out/test/x86_64/separate-debug-file/exe2 -ex 'list main' -ex quit +281: ++ readelf -Wl out/test/x86_64/spare-program-headers/exe3 +281: ++ grep NULL +281: ++ wc -l +281: + '[' 1 -eq 1 ']' +281: + cc -B. -o out/test/x86_64/spare-program-headers/exe4 out/test/x86_64/spare-program-headers/a.o -Wl,--spare-program-headers=5 +281/402 Test #285: x86_64-static-archive ................................. Passed 0.42 sec +test 293 + Start 293: x86_64-symbol-version -291: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/symbol-rank.sh" -291: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -291: Environment variables: -291: MACHINE=x86_64 -291: CPU= -291: Test timeout computed to be: 1500 -278: + out/test/x86_64/shuffle-sections-seed/exe1 -290: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/stt-common.sh +293: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/symbol-version.sh" +293: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +293: Environment variables: +293: MACHINE=x86_64 +293: CPU= +293: Test timeout computed to be: 1500 +288: +++ uname +288: ++ '[' Linux = FreeBSD ']' +288: ++ trap 'on_error $LINENO' ERR +288: ++ trap on_exit EXIT +288: ++ echo -n 'Testing strip-debug ... ' +288: Testing strip-debug ... ++ set -o pipefail +288: ++ set -x +288: + cc -o out/test/x86_64/strip-debug/a.o -c -xc - -g +288: + cat +290: ++ case $MACHINE in +290: ++ tlsdesc_opt=-mtls-dialect=gnu2 +290: +++ uname +290: ++ '[' Linux = FreeBSD ']' +290: ++ trap 'on_error $LINENO' ERR +290: ++ trap on_exit EXIT +290: ++ echo -n 'Testing stt-common ... ' +290: Testing stt-common ... ++ set -o pipefail +290: ++ set -x +290: + cat +290: + cc -fcommon -xc -c -o out/test/x86_64/stt-common/a.o - -Wa,--elf-stt-common=yes 291: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/symbol-rank.sh -290: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -290: ++ export LC_ALL=C -290: ++ LC_ALL=C -290: ++ '[' -z x86_64 ']' -290: ++ '[' -z '' ']' -290: ++ TESTDIR=out/test/x86_64 -290: ++ CC=cc -290: ++ CXX=c++ -290: ++ GCC=gcc -290: ++ GXX=g++ -290: ++ OBJDUMP=objdump -290: ++ OBJCOPY=objcopy -290: ++ STRIP=strip -290: ++ QEMU= -290: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/stt-common.sh .sh -290: ++ testname=stt-common -290: ++ t=out/test/x86_64/stt-common -290: ++ mkdir -p out/test/x86_64/stt-common -278: + grep 'Hello world' 291: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 291: ++ export LC_ALL=C 291: ++ LC_ALL=C @@ -22354,85 +22451,32 @@ 291: ++ OBJCOPY=objcopy 291: ++ STRIP=strip 291: ++ QEMU= -278: Hello world 291: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/symbol-rank.sh .sh -278: + cc -B. -o out/test/x86_64/shuffle-sections-seed/exe2 out/test/x86_64/shuffle-sections-seed/a.o out/test/x86_64/shuffle-sections-seed/b.o -Wl,-shuffle-sections=42 -290: ++ case $MACHINE in -290: ++ tlsdesc_opt=-mtls-dialect=gnu2 -289: + readelf --symbols out/test/x86_64/strip/exe -287: + chmod 755 out/test/x86_64/stdout/exe -290: +++ uname 291: ++ testname=symbol-rank 291: ++ t=out/test/x86_64/symbol-rank 291: ++ mkdir -p out/test/x86_64/symbol-rank -279: + out/test/x86_64/shuffle-sections/exe2 -279: + grep 'Hello world' -279: Hello world -279: + not diff out/test/x86_64/shuffle-sections/exe1 out/test/x86_64/shuffle-sections/exe2 -289: + grep -F _start out/test/x86_64/strip/log 291: ++ case $MACHINE in 291: ++ tlsdesc_opt=-mtls-dialect=gnu2 291: +++ uname +278: + grep 'Hello world' +278: + out/test/x86_64/shuffle-sections-seed/exe4 +278: Hello world +278: + not diff out/test/x86_64/shuffle-sections-seed/exe1 out/test/x86_64/shuffle-sections-seed/exe2 +286: + cc -B. -o out/test/x86_64/static-pie/exe1 out/test/x86_64/static-pie/a.o -static-pie +247: + sed 's/.*/void func&();/' +247: + seq 1 10000 +292: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/symbol-version-lto.sh +247: + echo 'int main() {' 291: ++ '[' Linux = FreeBSD ']' 291: ++ trap 'on_error $LINENO' ERR 291: ++ trap on_exit EXIT 291: ++ echo -n 'Testing symbol-rank ... ' 291: Testing symbol-rank ... ++ set -o pipefail 291: ++ set -x -290: ++ '[' Linux = FreeBSD ']' -290: ++ trap 'on_error $LINENO' ERR -290: ++ trap on_exit EXIT -290: ++ echo -n 'Testing stt-common ... ' -290: Testing stt-common ... ++ set -o pipefail -290: ++ set -x -290: + cat -290: + cc -fcommon -xc -c -o out/test/x86_64/stt-common/a.o - -Wa,--elf-stt-common=yes -289: 15: 0000000000201210 0 NOTYPE LOCAL DEFAULT 3 _start -289: 17: 0000000000200000 0 NOTYPE LOCAL DEFAULT 1 __ehdr_start -289: 18: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __init_array_start -289: 20: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __fini_array_start -289: 22: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __preinit_array_start -289: 27: 0000000000203230 0 NOTYPE LOCAL DEFAULT 8 __bss_start -289: 31: 0000000000200000 0 NOTYPE LOCAL DEFAULT 1 __executable_start -289: 32: 0000000000000000 0 NOTYPE LOCAL DEFAULT ABS __rela_iplt_start -289: 40: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __start_EHDR -289: 42: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __start_PHDR -289: + grep -F foo out/test/x86_64/strip/log -291: + cat -291: + cc -o out/test/x86_64/symbol-rank/a.o -c -xc - -287: + out/test/x86_64/stdout/exe -279: + on_exit -279: + echo OK -279: OK -279: + exit 0 -280/402 Test #279: x86_64-shuffle-sections ............................... Passed 0.79 sec -test 292 - Start 292: x86_64-symbol-version-lto - -292: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/symbol-version-lto.sh" -292: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -292: Environment variables: -292: MACHINE=x86_64 -292: CPU= -292: Test timeout computed to be: 1500 -289: 16: 0000000000201210 0 NOTYPE LOCAL DEFAULT 3 foo -289: + grep -F bar out/test/x86_64/strip/log -289: 13: 0000000000201210 0 NOTYPE LOCAL DEFAULT 3 bar -289: + [[ x86_64 != riscv* ]] -289: + [[ x86_64 != loongarch* ]] -289: + grep -F .L.baz out/test/x86_64/strip/log -275: + readelf -SW out/test/x86_64/separate-debug-file/exe2 -275: + grep -F .gnu_debuglink -289: 14: 0000000000201210 0 NOTYPE LOCAL DEFAULT 3 .L.baz -288: + readelf -W --sections out/test/x86_64/strip-debug/exe -288: + not grep -F .debug_info -289: + ./mold -o out/test/x86_64/strip/exe out/test/x86_64/strip/a.o -strip-all -288: + grep -F .debug_info -292: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/symbol-version-lto.sh -275: [30] .gnu_debuglink PROGBITS 0000000000000000 000988 000010 00 0 0 4 -275: + flock out/test/x86_64/separate-debug-file/exe2 true -287: + grep 'Hello world' +281: + out/test/x86_64/spare-program-headers/exe4 292: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +278: + diff out/test/x86_64/shuffle-sections-seed/exe2 out/test/x86_64/shuffle-sections-seed/exe3 +281: + grep 'Hello world' 292: ++ export LC_ALL=C 292: ++ LC_ALL=C 292: ++ '[' -z x86_64 ']' @@ -22446,52 +22490,15 @@ 292: ++ OBJCOPY=objcopy 292: ++ STRIP=strip 292: ++ QEMU= -288: + return 0 -288: + readelf -W --symbols out/test/x86_64/strip-debug/exe -275: + gdb out/test/x86_64/separate-debug-file/exe2 -ex 'list main' -ex quit -287: Hello world +291: + cc -o out/test/x86_64/symbol-rank/a.o -c -xc - 292: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/symbol-version-lto.sh .sh -287: + on_exit -287: + echo OK -287: OK -287: + exit 0 -281/402 Test #287: x86_64-stdout ......................................... Passed 0.16 sec -275: + grep -F printf -test 293 - Start 293: x86_64-symbol-version - -293: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/symbol-version.sh" -293: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -293: Environment variables: -293: MACHINE=x86_64 -293: CPU= -293: Test timeout computed to be: 1500 -288: + grep ' bar' -288: 60: 00000000000016e0 7 FUNC LOCAL DEFAULT 17 bar -288: + on_exit -288: + echo OK -288: OK -288: + exit 0 +247: + sed 's/.*/func&();/' +281: Hello world 292: ++ testname=symbol-version-lto 292: ++ t=out/test/x86_64/symbol-version-lto 292: ++ mkdir -p out/test/x86_64/symbol-version-lto -292: ++ case $MACHINE in -292: ++ tlsdesc_opt=-mtls-dialect=gnu2 -292: +++ uname -292: ++ '[' Linux = FreeBSD ']' -292: ++ trap 'on_error $LINENO' ERR -292: ++ trap on_exit EXIT -292: ++ echo -n 'Testing symbol-version-lto ... ' -292: Testing symbol-version-lto ... ++ set -o pipefail -292: ++ set -x -292: + test_cflags -flto -292: + echo 'int main() {}' -292: + cc -B. -flto -o /dev/null -xc - -289: + readelf --symbols out/test/x86_64/strip/exe +247: + seq 1 10000 291: + cat -290: + cc -fcommon -xc -c -o out/test/x86_64/stt-common/b.o - -Wa,--elf-stt-common=yes -290: + cat -282/402 Test #288: x86_64-strip-debug .................................... Passed 0.14 sec 293: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/symbol-version.sh 293: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 293: ++ export LC_ALL=C @@ -22507,7 +22514,62 @@ 293: ++ OBJCOPY=objcopy 293: ++ STRIP=strip 293: ++ QEMU= +289: + readelf --symbols out/test/x86_64/strip/exe +247: + echo '}' +247: + cc -c -o out/test/x86_64/range-extension-thunk3/d.o out/test/x86_64/range-extension-thunk3/c.c +278: + not diff out/test/x86_64/shuffle-sections-seed/exe3 out/test/x86_64/shuffle-sections-seed/exe4 +289: + grep -F _start out/test/x86_64/strip/log +292: ++ case $MACHINE in +292: ++ tlsdesc_opt=-mtls-dialect=gnu2 293: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/symbol-version.sh .sh +281: ++ wc -l +293: ++ testname=symbol-version +293: ++ t=out/test/x86_64/symbol-version +293: ++ mkdir -p out/test/x86_64/symbol-version +287: + chmod 755 out/test/x86_64/stdout/exe +281: ++ grep NULL +290: + cat +281: ++ readelf -Wl out/test/x86_64/spare-program-headers/exe4 +292: +++ uname +290: + cc -fcommon -xc -c -o out/test/x86_64/stt-common/b.o - -Wa,--elf-stt-common=yes +286: + grep 'Hello world' +286: + out/test/x86_64/static-pie/exe1 +289: 15: 0000000000201210 0 NOTYPE LOCAL DEFAULT 3 _start +289: 17: 0000000000200000 0 NOTYPE LOCAL DEFAULT 1 __ehdr_start +289: 18: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __init_array_start +289: 20: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __fini_array_start +289: 22: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __preinit_array_start +289: 27: 0000000000203230 0 NOTYPE LOCAL DEFAULT 8 __bss_start +289: 31: 0000000000200000 0 NOTYPE LOCAL DEFAULT 1 __executable_start +289: 32: 0000000000000000 0 NOTYPE LOCAL DEFAULT ABS __rela_iplt_start +289: 40: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __start_EHDR +289: 42: 0000000000000000 0 NOTYPE LOCAL DEFAULT 12 __start_PHDR +289: + grep -F foo out/test/x86_64/strip/log +286: Hello world +286: + cc -B. -o out/test/x86_64/static-pie/exe2 out/test/x86_64/static-pie/a.o -static-pie -Wl,--no-relax +292: ++ '[' Linux = FreeBSD ']' +292: ++ trap 'on_error $LINENO' ERR +292: ++ trap on_exit EXIT +292: ++ echo -n 'Testing symbol-version-lto ... ' +292: Testing symbol-version-lto ... ++ set -o pipefail +292: ++ set -x +292: + test_cflags -flto +293: ++ case $MACHINE in +293: ++ tlsdesc_opt=-mtls-dialect=gnu2 +288: + cc -B. -o out/test/x86_64/strip-debug/exe out/test/x86_64/strip-debug/a.o -Wl,--strip-debug +281: + '[' 5 -eq 5 ']' +281: + on_exit +281: + echo OK +281: OK +281: + exit 0 +278: + on_exit +278: + echo OK +278: OK +278: + exit 0 +282/402 Test #278: x86_64-shuffle-sections-seed .......................... Passed 0.86 sec +283/402 Test #281: x86_64-spare-program-headers .......................... Passed 0.71 sec +292: + echo 'int main() {}' +292: + cc -B. -flto -o /dev/null -xc - test 294 Start 294: x86_64-symbol-version2 @@ -22517,13 +22579,53 @@ 294: MACHINE=x86_64 294: CPU= 294: Test timeout computed to be: 1500 -293: ++ testname=symbol-version -293: ++ t=out/test/x86_64/symbol-version -293: ++ mkdir -p out/test/x86_64/symbol-version +test 295 + Start 295: x86_64-symbol-version3 + +295: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/symbol-version3.sh" +295: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +295: Environment variables: +295: MACHINE=x86_64 +295: CPU= +295: Test timeout computed to be: 1500 +289: 16: 0000000000201210 0 NOTYPE LOCAL DEFAULT 3 foo +289: + grep -F bar out/test/x86_64/strip/log +289: 13: 0000000000201210 0 NOTYPE LOCAL DEFAULT 3 bar +289: + [[ x86_64 != riscv* ]] +289: + [[ x86_64 != loongarch* ]] +289: + grep -F .L.baz out/test/x86_64/strip/log +289: 14: 0000000000201210 0 NOTYPE LOCAL DEFAULT 3 .L.baz +289: + ./mold -o out/test/x86_64/strip/exe out/test/x86_64/strip/a.o -strip-all +287: + grep 'Hello world' +287: + out/test/x86_64/stdout/exe +287: Hello world +287: + on_exit +287: + echo OK +287: OK +287: + exit 0 +293: +++ uname +293: ++ '[' Linux = FreeBSD ']' +293: ++ trap 'on_error $LINENO' ERR +293: ++ trap on_exit EXIT +293: ++ echo -n 'Testing symbol-version ... ' +293: Testing symbol-version ... ++ set -o pipefail +293: ++ set -x +293: + cat +293: + cc -fPIC -c -o out/test/x86_64/symbol-version/a.o -xc - +291: + cat 291: + cc -o out/test/x86_64/symbol-rank/b.o -c -xc - -fcommon -289: + not grep -F _start out/test/x86_64/strip/log -289: + grep -F _start out/test/x86_64/strip/log +290: + cc -B. -o out/test/x86_64/stt-common/exe out/test/x86_64/stt-common/a.o out/test/x86_64/stt-common/b.o -Wl,--fatal-warnings 294: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/symbol-version2.sh +284/402 Test #287: x86_64-stdout ......................................... Passed 0.29 sec +test 296 + Start 296: x86_64-symbol-version4 + +296: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/symbol-version4.sh" +296: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +296: Environment variables: +296: MACHINE=x86_64 +296: CPU= +296: Test timeout computed to be: 1500 294: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 294: ++ export LC_ALL=C 294: ++ LC_ALL=C @@ -22539,63 +22641,11 @@ 294: ++ STRIP=strip 294: ++ QEMU= 294: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/symbol-version2.sh .sh -293: ++ case $MACHINE in -293: ++ tlsdesc_opt=-mtls-dialect=gnu2 -293: +++ uname 294: ++ testname=symbol-version2 294: ++ t=out/test/x86_64/symbol-version2 294: ++ mkdir -p out/test/x86_64/symbol-version2 -286: + out/test/x86_64/static-pie/exe1 -286: + grep 'Hello world' 294: ++ case $MACHINE in -286: Hello world 294: ++ tlsdesc_opt=-mtls-dialect=gnu2 -293: ++ '[' Linux = FreeBSD ']' -289: + return 0 -289: + not grep -F foo out/test/x86_64/strip/log -293: ++ trap 'on_error $LINENO' ERR -293: ++ trap on_exit EXIT -293: ++ echo -n 'Testing symbol-version ... ' -293: Testing symbol-version ... ++ set -o pipefail -293: ++ set -x -293: + cat -289: + grep -F foo out/test/x86_64/strip/log -294: +++ uname -286: + cc -B. -o out/test/x86_64/static-pie/exe2 out/test/x86_64/static-pie/a.o -static-pie -Wl,--no-relax -293: + cc -fPIC -c -o out/test/x86_64/symbol-version/a.o -xc - -294: ++ '[' Linux = FreeBSD ']' -294: ++ trap 'on_error $LINENO' ERR -294: ++ trap on_exit EXIT -294: ++ echo -n 'Testing symbol-version2 ... ' -294: Testing symbol-version2 ... ++ set -o pipefail -294: ++ set -x -294: + cat -289: + return 0 -289: + not grep -F bar out/test/x86_64/strip/log -289: + grep -F bar out/test/x86_64/strip/log -294: + cc -o out/test/x86_64/symbol-version2/a.o -c -xc - -289: + return 0 -289: + [[ x86_64 != riscv* ]] -289: + [[ x86_64 != loongarch* ]] -289: + not grep -F .L.baz out/test/x86_64/strip/log -289: + grep -F .L.baz out/test/x86_64/strip/log -278: + out/test/x86_64/shuffle-sections-seed/exe2 -278: + grep 'Hello world' -289: + return 0 -289: + on_exit -289: + echo OK -289: OK -289: + exit 0 -283/402 Test #289: x86_64-strip .......................................... Passed 0.15 sec -test 295 - Start 295: x86_64-symbol-version3 - -295: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/symbol-version3.sh" -295: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -295: Environment variables: -295: MACHINE=x86_64 -295: CPU= -295: Test timeout computed to be: 1500 295: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/symbol-version3.sh 295: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 295: ++ export LC_ALL=C @@ -22611,68 +22661,87 @@ 295: ++ OBJCOPY=objcopy 295: ++ STRIP=strip 295: ++ QEMU= +289: + readelf --symbols out/test/x86_64/strip/exe +294: +++ uname +296: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/symbol-version4.sh +296: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +296: ++ export LC_ALL=C +296: ++ LC_ALL=C +296: ++ '[' -z x86_64 ']' +296: ++ '[' -z '' ']' +296: ++ TESTDIR=out/test/x86_64 +296: ++ CC=cc +296: ++ CXX=c++ +296: ++ GCC=gcc +296: ++ GXX=g++ +296: ++ OBJDUMP=objdump +296: ++ OBJCOPY=objcopy +296: ++ STRIP=strip +296: ++ QEMU= +294: ++ '[' Linux = FreeBSD ']' +294: ++ trap 'on_error $LINENO' ERR +294: ++ trap on_exit EXIT +294: ++ echo -n 'Testing symbol-version2 ... ' +294: Testing symbol-version2 ... ++ set -o pipefail +294: ++ set -x +291: + cat +293: + echo 'VER1 { local: *; }; VER2 { local: *; }; VER3 { local: *; };' +296: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/symbol-version4.sh .sh +296: ++ testname=symbol-version4 +296: ++ t=out/test/x86_64/symbol-version4 +296: ++ mkdir -p out/test/x86_64/symbol-version4 +291: + cc -o out/test/x86_64/symbol-rank/c.o -c -xc - 295: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/symbol-version3.sh .sh 295: ++ testname=symbol-version3 295: ++ t=out/test/x86_64/symbol-version3 295: ++ mkdir -p out/test/x86_64/symbol-version3 -278: Hello world -278: + cc -B. -o out/test/x86_64/shuffle-sections-seed/exe3 out/test/x86_64/shuffle-sections-seed/a.o out/test/x86_64/shuffle-sections-seed/b.o -Wl,-shuffle-sections=42 +294: + cc -o out/test/x86_64/symbol-version2/a.o -c -xc - +294: + cat +293: + cc -B. -shared -o out/test/x86_64/symbol-version/c.so out/test/x86_64/symbol-version/a.o -Wl,--version-script=out/test/x86_64/symbol-version/b.ver +289: + not grep -F _start out/test/x86_64/strip/log +289: + grep -F _start out/test/x86_64/strip/log +296: ++ case $MACHINE in +296: ++ tlsdesc_opt=-mtls-dialect=gnu2 +296: +++ uname +296: ++ '[' Linux = FreeBSD ']' +296: ++ trap 'on_error $LINENO' ERR +296: ++ trap on_exit EXIT +296: ++ echo -n 'Testing symbol-version4 ... ' +296: Testing symbol-version4 ... ++ set -o pipefail +296: ++ set -x 295: ++ case $MACHINE in 295: ++ tlsdesc_opt=-mtls-dialect=gnu2 +296: + cat +296: + cc -o out/test/x86_64/symbol-version4/a.o -c -xc - -fPIC +288: + not grep -F .debug_info +288: + readelf -W --sections out/test/x86_64/strip-debug/exe +288: + grep -F .debug_info +289: + return 0 +289: + not grep -F foo out/test/x86_64/strip/log +289: + grep -F foo out/test/x86_64/strip/log 295: +++ uname +290: + out/test/x86_64/stt-common/exe 295: ++ '[' Linux = FreeBSD ']' 295: ++ trap 'on_error $LINENO' ERR 295: ++ trap on_exit EXIT 295: ++ echo -n 'Testing symbol-version3 ... ' 295: Testing symbol-version3 ... ++ set -o pipefail 295: ++ set -x -295: + cc -o out/test/x86_64/symbol-version3/a.o -c -xc - -290: + cc -B. -o out/test/x86_64/stt-common/exe out/test/x86_64/stt-common/a.o out/test/x86_64/stt-common/b.o -Wl,--fatal-warnings -295: + cat -291: + cat -291: + cc -o out/test/x86_64/symbol-rank/c.o -c -xc - -295: + cat -294: + cat -295: + cc -B. -o out/test/x86_64/symbol-version3/c.so -shared out/test/x86_64/symbol-version3/a.o -Wl,--version-script=out/test/x86_64/symbol-version3/b.version -294: + cc -B. -o out/test/x86_64/symbol-version2/c.so -shared out/test/x86_64/symbol-version2/a.o -Wl,--version-script=out/test/x86_64/symbol-version2/b.version -293: + echo 'VER1 { local: *; }; VER2 { local: *; }; VER3 { local: *; };' -293: + cc -B. -shared -o out/test/x86_64/symbol-version/c.so out/test/x86_64/symbol-version/a.o -Wl,--version-script=out/test/x86_64/symbol-version/b.ver -278: + grep 'Hello world' -278: + out/test/x86_64/shuffle-sections-seed/exe3 -290: + out/test/x86_64/stt-common/exe -278: Hello world -278: + cc -B. -o out/test/x86_64/shuffle-sections-seed/exe4 out/test/x86_64/shuffle-sections-seed/a.o out/test/x86_64/shuffle-sections-seed/b.o -Wl,-shuffle-sections=5 -291: + cc -o out/test/x86_64/symbol-rank/d.o -c -xc - -fcommon -291: + cat 290: + grep '0 5 42' -290: 0 5 42 286: + out/test/x86_64/static-pie/exe2 286: + grep 'Hello world' -290: + readelf --sections out/test/x86_64/stt-common/exe 286: Hello world 286: + on_exit -290: + grep '.common .*NOBITS' out/test/x86_64/stt-common/log 286: + echo OK 286: OK 286: + exit 0 -284/402 Test #286: x86_64-static-pie ..................................... Passed 0.47 sec -test 296 - Start 296: x86_64-symbol-version4 - -296: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/symbol-version4.sh" -296: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -296: Environment variables: -296: MACHINE=x86_64 -296: CPU= -296: Test timeout computed to be: 1500 -290: [30] .common NOBITS 0000000000003994 00000990 -290: + on_exit -290: + echo OK -290: OK -290: + exit 0 -285/402 Test #290: x86_64-stt-common ..................................... Passed 0.23 sec -255: + cc -B. -o out/test/x86_64/relocatable-many-sections/exe out/test/x86_64/relocatable-many-sections/c.o -296: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/symbol-version4.sh +288: + return 0 +290: 0 5 42 +290: + readelf --sections out/test/x86_64/stt-common/exe +289: + return 0 +289: + not grep -F bar out/test/x86_64/strip/log +289: + grep -F bar out/test/x86_64/strip/log +285/402 Test #286: x86_64-static-pie ..................................... Passed 0.54 sec test 297 Start 297: x86_64-symtab-dso @@ -22682,29 +22751,48 @@ 297: MACHINE=x86_64 297: CPU= 297: Test timeout computed to be: 1500 -296: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -296: ++ export LC_ALL=C -296: ++ LC_ALL=C -296: ++ '[' -z x86_64 ']' -296: ++ '[' -z '' ']' -296: ++ TESTDIR=out/test/x86_64 -296: ++ CC=cc -296: ++ CXX=c++ -296: ++ GCC=gcc -296: ++ GXX=g++ -296: ++ OBJDUMP=objdump -296: ++ OBJCOPY=objcopy -296: ++ STRIP=strip -296: ++ QEMU= -296: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/symbol-version4.sh .sh -296: ++ testname=symbol-version4 -296: ++ t=out/test/x86_64/symbol-version4 -296: ++ mkdir -p out/test/x86_64/symbol-version4 +295: + cat +295: + cc -o out/test/x86_64/symbol-version3/a.o -c -xc - +289: + return 0 +289: + [[ x86_64 != riscv* ]] +289: + [[ x86_64 != loongarch* ]] +289: + not grep -F .L.baz out/test/x86_64/strip/log +289: + grep -F .L.baz out/test/x86_64/strip/log +289: + return 0 +289: + on_exit +289: + echo OK +289: OK +289: + exit 0 +288: + grep ' bar' +288: + readelf -W --symbols out/test/x86_64/strip-debug/exe +288: 60: 00000000000016e0 7 FUNC LOCAL DEFAULT 17 bar +290: + grep '.common .*NOBITS' out/test/x86_64/stt-common/log +286/402 Test #289: x86_64-strip .......................................... Passed 0.24 sec +test 298 + Start 298: x86_64-symtab-section-symbols + +298: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/symtab-section-symbols.sh" +298: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +298: Environment variables: +298: MACHINE=x86_64 +298: CPU= +298: Test timeout computed to be: 1500 +294: + cat +294: + cc -B. -o out/test/x86_64/symbol-version2/c.so -shared out/test/x86_64/symbol-version2/a.o -Wl,--version-script=out/test/x86_64/symbol-version2/b.version +288: + on_exit +288: + echo OK +288: OK +288: + exit 0 +291: + cc -o out/test/x86_64/symbol-rank/d.o -c -xc - -fcommon +291: + cat +275: 3 printf("Hello world\n"); +275: + cc -c -o out/test/x86_64/separate-debug-file/a.o out/test/x86_64/separate-debug-file/a.c -g +290: [30] .common NOBITS 0000000000003994 00000990 +290: + on_exit +290: + echo OK +290: OK +290: + exit 0 293: + readelf --symbols out/test/x86_64/symbol-version/c.so -296: ++ case $MACHINE in -296: ++ tlsdesc_opt=-mtls-dialect=gnu2 -296: +++ uname -295: + readelf -W --dyn-syms out/test/x86_64/symbol-version3/c.so 297: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/symtab-dso.sh 297: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 297: ++ export LC_ALL=C @@ -22720,79 +22808,12 @@ 297: ++ OBJCOPY=objcopy 297: ++ STRIP=strip 297: ++ QEMU= +287/402 Test #288: x86_64-strip-debug .................................... Passed 0.29 sec +288/402 Test #290: x86_64-stt-common ..................................... Passed 0.25 sec 297: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/symtab-dso.sh .sh -294: + readelf -W --dyn-syms out/test/x86_64/symbol-version2/c.so -296: ++ '[' Linux = FreeBSD ']' -296: ++ trap 'on_error $LINENO' ERR -296: ++ trap on_exit EXIT -296: ++ echo -n 'Testing symbol-version4 ... ' -296: Testing symbol-version4 ... ++ set -o pipefail -296: ++ set -x -296: + cat -295: + grep ' foo@@TEST1' out/test/x86_64/symbol-version3/log -293: + grep -F foo@VER1 out/test/x86_64/symbol-version/log -296: + cc -o out/test/x86_64/symbol-version4/a.o -c -xc - -fPIC 297: ++ testname=symtab-dso 297: ++ t=out/test/x86_64/symtab-dso 297: ++ mkdir -p out/test/x86_64/symtab-dso -295: 5: 0000000000001739 7 FUNC GLOBAL DEFAULT 14 foo@@TEST1 -295: + grep ' foo@TEST2' out/test/x86_64/symbol-version3/log -294: + grep ' foo@TEST' out/test/x86_64/symbol-version2/log -295: 6: 0000000000001740 7 FUNC GLOBAL DEFAULT 14 foo@TEST2 -294: 7: 0000000000001689 7 FUNC GLOBAL DEFAULT 14 foo@TEST -293: 6: 0000000000001759 7 FUNC GLOBAL DEFAULT 16 foo@VER1 -294: + grep ' bar@TEST' out/test/x86_64/symbol-version2/log -295: + grep ' foo@TEST3' out/test/x86_64/symbol-version3/log -297: ++ case $MACHINE in -297: ++ tlsdesc_opt=-mtls-dialect=gnu2 -297: +++ uname -295: 7: 0000000000001747 7 FUNC GLOBAL DEFAULT 14 foo@TEST3 -291: + rm -f out/test/x86_64/symbol-rank/x.a -291: + ar rcs out/test/x86_64/symbol-rank/x.a out/test/x86_64/symbol-rank/a.o out/test/x86_64/symbol-rank/b.o out/test/x86_64/symbol-rank/c.o -295: + not grep ' foo$' out/test/x86_64/symbol-version3/log -295: + grep ' foo$' out/test/x86_64/symbol-version3/log -295: + return 0 -295: + on_exit -295: + echo OK -295: OK -295: + exit 0 -294: 5: 0000000000001690 7 FUNC GLOBAL DEFAULT 14 bar@TEST -294: + grep ' bar1' out/test/x86_64/symbol-version2/log -294: 6: 0000000000001690 7 FUNC GLOBAL DEFAULT 14 bar1 -294: + not grep ' foo@@TEST' out/test/x86_64/symbol-version2/log -294: + grep ' foo@@TEST' out/test/x86_64/symbol-version2/log -293: + grep -F foo@VER2 out/test/x86_64/symbol-version/log -286/402 Test #295: x86_64-symbol-version3 ................................ Passed 0.18 sec -297: ++ '[' Linux = FreeBSD ']' -test 298 - Start 298: x86_64-symtab-section-symbols - -298: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/symtab-section-symbols.sh" -298: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -298: Environment variables: -298: MACHINE=x86_64 -298: CPU= -298: Test timeout computed to be: 1500 -297: ++ trap 'on_error $LINENO' ERR -297: ++ trap on_exit EXIT -297: ++ echo -n 'Testing symtab-dso ... ' -297: Testing symtab-dso ... ++ set -o pipefail -297: ++ set -x -297: + cat -297: + cc -o out/test/x86_64/symtab-dso/a.o -c -xc - -294: + return 0 -294: + on_exit -294: + echo OK -294: OK -294: + exit 0 -293: 7: 0000000000001760 7 FUNC GLOBAL DEFAULT 16 foo@VER2 -293: + grep -F foo@@VER3 out/test/x86_64/symbol-version/log -293: 5: 0000000000001767 7 FUNC GLOBAL DEFAULT 16 foo@@VER3 -287/402 Test #294: x86_64-symbol-version2 ................................ Passed 0.21 sec -293: + on_exit -293: + echo OK -293: OK -293: + exit 0 test 299 Start 299: x86_64-symtab @@ -22802,7 +22823,6 @@ 299: MACHINE=x86_64 299: CPU= 299: Test timeout computed to be: 1500 -288/402 Test #293: x86_64-symbol-version ................................. Passed 0.23 sec test 300 Start 300: x86_64-synthetic-symbols @@ -22812,6 +22832,16 @@ 300: MACHINE=x86_64 300: CPU= 300: Test timeout computed to be: 1500 +297: ++ case $MACHINE in +297: ++ tlsdesc_opt=-mtls-dialect=gnu2 +297: +++ uname +297: ++ '[' Linux = FreeBSD ']' +297: ++ trap 'on_error $LINENO' ERR +297: ++ trap on_exit EXIT +297: ++ echo -n 'Testing symtab-dso ... ' +297: Testing symtab-dso ... ++ set -o pipefail +297: ++ set -x +297: + cc -o out/test/x86_64/symtab-dso/a.o -c -xc - 298: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/symtab-section-symbols.sh 298: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 298: ++ export LC_ALL=C @@ -22831,18 +22861,39 @@ 298: ++ testname=symtab-section-symbols 298: ++ t=out/test/x86_64/symtab-section-symbols 298: ++ mkdir -p out/test/x86_64/symtab-section-symbols -291: + cc -B. -o out/test/x86_64/symbol-rank/exe out/test/x86_64/symbol-rank/d.o out/test/x86_64/symbol-rank/x.a -278: + out/test/x86_64/shuffle-sections-seed/exe4 -278: + grep 'Hello world' -278: Hello world -278: + not diff out/test/x86_64/shuffle-sections-seed/exe1 out/test/x86_64/shuffle-sections-seed/exe2 -278: + diff out/test/x86_64/shuffle-sections-seed/exe2 out/test/x86_64/shuffle-sections-seed/exe3 -278: + not diff out/test/x86_64/shuffle-sections-seed/exe3 out/test/x86_64/shuffle-sections-seed/exe4 -278: + on_exit -278: + echo OK -278: OK -278: + exit 0 -289/402 Test #278: x86_64-shuffle-sections-seed .......................... Passed 1.10 sec +296: + cat +296: + cc -B. -o out/test/x86_64/symbol-version4/c.so -shared out/test/x86_64/symbol-version4/a.o -Wl,--version-script=out/test/x86_64/symbol-version4/b.version +295: + cat +295: + cc -B. -o out/test/x86_64/symbol-version3/c.so -shared out/test/x86_64/symbol-version3/a.o -Wl,--version-script=out/test/x86_64/symbol-version3/b.version +293: + grep -F foo@VER1 out/test/x86_64/symbol-version/log +293: 6: 0000000000001759 7 FUNC GLOBAL DEFAULT 16 foo@VER1 +293: + grep -F foo@VER2 out/test/x86_64/symbol-version/log +293: 7: 0000000000001760 7 FUNC GLOBAL DEFAULT 16 foo@VER2 +293: + grep -F foo@@VER3 out/test/x86_64/symbol-version/log +275: + cc -B. -o out/test/x86_64/separate-debug-file/exe3 out/test/x86_64/separate-debug-file/a.o -Wl,--separate-debug-file,--compress-debug-sections=zlib +299: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/symtab.sh +299: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +299: ++ export LC_ALL=C +299: ++ LC_ALL=C +299: ++ '[' -z x86_64 ']' +299: ++ '[' -z '' ']' +299: ++ TESTDIR=out/test/x86_64 +299: ++ CC=cc +299: ++ CXX=c++ +299: ++ GCC=gcc +299: ++ GXX=g++ +299: ++ OBJDUMP=objdump +299: ++ OBJCOPY=objcopy +299: ++ STRIP=strip +299: ++ QEMU= +297: + cat +293: 5: 0000000000001767 7 FUNC GLOBAL DEFAULT 16 foo@@VER3 +293: + on_exit +293: + echo OK +293: OK +293: + exit 0 +289/402 Test #293: x86_64-symbol-version ................................. Passed 0.25 sec +299: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/symtab.sh .sh test 301 Start 301: x86_64-sysroot-linker-script @@ -22852,6 +22903,21 @@ 301: MACHINE=x86_64 301: CPU= 301: Test timeout computed to be: 1500 +299: ++ testname=symtab +299: ++ t=out/test/x86_64/symtab +299: ++ mkdir -p out/test/x86_64/symtab +299: ++ case $MACHINE in +299: ++ tlsdesc_opt=-mtls-dialect=gnu2 +298: ++ case $MACHINE in +298: ++ tlsdesc_opt=-mtls-dialect=gnu2 +298: +++ uname +298: ++ '[' Linux = FreeBSD ']' +298: ++ trap 'on_error $LINENO' ERR +298: ++ trap on_exit EXIT +298: ++ echo -n 'Testing symtab-section-symbols ... ' +298: Testing symtab-section-symbols ... ++ set -o pipefail +298: ++ set -x +298: + cc -o out/test/x86_64/symtab-section-symbols/a.o -c -xc - 300: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/synthetic-symbols.sh 300: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 300: ++ export LC_ALL=C @@ -22871,37 +22937,36 @@ 300: ++ testname=synthetic-symbols 300: ++ t=out/test/x86_64/synthetic-symbols 300: ++ mkdir -p out/test/x86_64/synthetic-symbols -298: ++ case $MACHINE in -298: ++ tlsdesc_opt=-mtls-dialect=gnu2 -298: +++ uname -298: ++ '[' Linux = FreeBSD ']' -298: ++ trap 'on_error $LINENO' ERR -298: ++ trap on_exit EXIT -298: ++ echo -n 'Testing symtab-section-symbols ... ' -298: Testing symtab-section-symbols ... ++ set -o pipefail -298: ++ set -x -298: + cat -298: + cc -o out/test/x86_64/symtab-section-symbols/a.o -c -xc - -299: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/symtab.sh -299: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -299: ++ export LC_ALL=C -299: ++ LC_ALL=C -299: ++ '[' -z x86_64 ']' -299: ++ '[' -z '' ']' -299: ++ TESTDIR=out/test/x86_64 -299: ++ CC=cc -299: ++ CXX=c++ -299: ++ GCC=gcc -299: ++ GXX=g++ -299: ++ OBJDUMP=objdump -299: ++ OBJCOPY=objcopy -299: ++ STRIP=strip -299: ++ QEMU= 300: ++ case $MACHINE in 300: ++ tlsdesc_opt=-mtls-dialect=gnu2 -299: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/symtab.sh .sh -301: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/sysroot-linker-script.sh 300: +++ uname +291: + rm -f out/test/x86_64/symbol-rank/x.a +294: + readelf -W --dyn-syms out/test/x86_64/symbol-version2/c.so +298: + cat +291: + ar rcs out/test/x86_64/symbol-rank/x.a out/test/x86_64/symbol-rank/a.o out/test/x86_64/symbol-rank/b.o out/test/x86_64/symbol-rank/c.o +300: ++ '[' Linux = FreeBSD ']' +300: ++ trap 'on_error $LINENO' ERR +300: ++ trap on_exit EXIT +300: ++ echo -n 'Testing synthetic-symbols ... ' +300: Testing synthetic-symbols ... ++ set -o pipefail +300: ++ set -x +300: + cc -c -o out/test/x86_64/synthetic-symbols/a.o -xc - +300: + cat +294: + grep ' foo@TEST' out/test/x86_64/symbol-version2/log +294: 7: 0000000000001689 7 FUNC GLOBAL DEFAULT 14 foo@TEST +294: + grep ' bar@TEST' out/test/x86_64/symbol-version2/log +299: +++ uname +300: + cc -c -o out/test/x86_64/synthetic-symbols/b.o -xc - +300: + cat +301: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/sysroot-linker-script.sh +299: ++ '[' Linux = FreeBSD ']' +299: ++ trap 'on_error $LINENO' ERR +299: ++ trap on_exit EXIT +299: ++ echo -n 'Testing symtab ... ' +299: Testing symtab ... ++ set -o pipefail +299: ++ set -x +294: 5: 0000000000001690 7 FUNC GLOBAL DEFAULT 14 bar@TEST +294: + grep ' bar1' out/test/x86_64/symbol-version2/log 301: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 301: ++ export LC_ALL=C 301: ++ LC_ALL=C @@ -22916,42 +22981,46 @@ 301: ++ OBJCOPY=objcopy 301: ++ STRIP=strip 301: ++ QEMU= -299: ++ testname=symtab -299: ++ t=out/test/x86_64/symtab -299: ++ mkdir -p out/test/x86_64/symtab -300: ++ '[' Linux = FreeBSD ']' -300: ++ trap 'on_error $LINENO' ERR -300: ++ trap on_exit EXIT -300: ++ echo -n 'Testing synthetic-symbols ... ' -300: Testing synthetic-symbols ... ++ set -o pipefail -300: ++ set -x -215: + grep -F 'GLOBAL DEFAULT 100000' out/test/x86_64/many-sections2/log2 -300: + cat -292: + cat -296: + cat -300: + cc -c -o out/test/x86_64/synthetic-symbols/a.o -xc - +275: + grep -F .gnu_debuglink +291: + cc -B. -o out/test/x86_64/symbol-rank/exe out/test/x86_64/symbol-rank/d.o out/test/x86_64/symbol-rank/x.a +275: + readelf -SW out/test/x86_64/separate-debug-file/exe3 +297: + cc -B. -o out/test/x86_64/symtab-dso/exe out/test/x86_64/symtab-dso/a.o +299: + cc -o out/test/x86_64/symtab/a.o -c -x assembler - 301: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/sysroot-linker-script.sh .sh -292: + cc -fPIC -c -o out/test/x86_64/symbol-version-lto/a.o -xc - -flto -299: ++ case $MACHINE in -299: ++ tlsdesc_opt=-mtls-dialect=gnu2 -299: +++ uname -299: ++ '[' Linux = FreeBSD ']' -299: ++ trap 'on_error $LINENO' ERR -299: ++ trap on_exit EXIT -299: ++ echo -n 'Testing symtab ... ' -299: Testing symtab ... ++ set -o pipefail -299: ++ set -x -299: + cat -296: + cc -B. -o out/test/x86_64/symbol-version4/c.so -shared out/test/x86_64/symbol-version4/a.o -Wl,--version-script=out/test/x86_64/symbol-version4/b.version 301: ++ testname=sysroot-linker-script 301: ++ t=out/test/x86_64/sysroot-linker-script 301: ++ mkdir -p out/test/x86_64/sysroot-linker-script -299: + cc -o out/test/x86_64/symtab/a.o -c -x assembler - -215: 200005: 0000000000000000 0 NOTYPE GLOBAL DEFAULT 100000 x99996 -215: + grep -F 'ABS foo' out/test/x86_64/many-sections2/log2 +275: [31] .gnu_debuglink PROGBITS 0000000000000000 0009b8 000010 00 0 0 4 +275: + flock out/test/x86_64/separate-debug-file/exe3 true +294: 6: 0000000000001690 7 FUNC GLOBAL DEFAULT 14 bar1 +294: + not grep ' foo@@TEST' out/test/x86_64/symbol-version2/log +294: + grep ' foo@@TEST' out/test/x86_64/symbol-version2/log +299: + cat +294: + return 0 +294: + on_exit +294: + echo OK +294: OK +294: + exit 0 +290/402 Test #294: x86_64-symbol-version2 ................................ Passed 0.23 sec +298: + cc -B. -o out/test/x86_64/symtab-section-symbols/exe out/test/x86_64/symtab-section-symbols/a.o +test 302 + Start 302: x86_64-sysroot + +302: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/sysroot.sh" +302: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +302: Environment variables: +302: MACHINE=x86_64 +302: CPU= +302: Test timeout computed to be: 1500 +299: + cc -o out/test/x86_64/symtab/b.o -c -x assembler - +299: + cat +299: + echo '{ local: module_local; global: *; };' +299: + ./mold -o out/test/x86_64/symtab/exe out/test/x86_64/symtab/a.o out/test/x86_64/symtab/b.o --version-script=out/test/x86_64/symtab/c.map 301: ++ case $MACHINE in 301: ++ tlsdesc_opt=-mtls-dialect=gnu2 +275: + readelf -W --sections out/test/x86_64/separate-debug-file/exe3.dbg 301: +++ uname +275: + grep '\.debug_info .*C' 301: ++ '[' Linux = FreeBSD ']' 301: ++ trap 'on_error $LINENO' ERR 301: ++ trap on_exit EXIT @@ -22959,50 +23028,10 @@ 301: Testing sysroot-linker-script ... ++ set -o pipefail 301: ++ set -x 301: + [[ x86_64 = loongarch* ]] -301: + cc -o out/test/x86_64/sysroot-linker-script/a.o -c -xc - -215: 100009: 0000000000001000 0 NOTYPE LOCAL DEFAULT ABS foo -215: + not grep -F 'ABS x68966' out/test/x86_64/many-sections2/log2 -215: + grep -F 'ABS x68966' out/test/x86_64/many-sections2/log2 +275: [36] .debug_info PROGBITS 0000000000000000 00108c 000078 00 C 0 0 1 301: + cat -291: + out/test/x86_64/symbol-rank/exe -291: + grep '^0 0 0 5$' -291: 0 0 0 5 -291: + on_exit -291: + echo OK -291: OK -291: + exit 0 -290/402 Test #291: x86_64-symbol-rank .................................... Passed 0.32 sec -292: + echo 'VER1 { foo; };' -292: + cc -B. -shared -o out/test/x86_64/symbol-version-lto/c.so out/test/x86_64/symbol-version-lto/a.o -Wl,--version-script=out/test/x86_64/symbol-version-lto/b.ver -flto -test 302 - Start 302: x86_64-sysroot - -302: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/sysroot.sh" -302: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -302: Environment variables: -302: MACHINE=x86_64 -302: CPU= -302: Test timeout computed to be: 1500 -299: + cat -299: + cc -o out/test/x86_64/symtab/b.o -c -x assembler - -298: + cc -B. -o out/test/x86_64/symtab-section-symbols/exe out/test/x86_64/symtab-section-symbols/a.o -215: + return 0 -215: + on_exit -215: + echo OK -215: OK -215: + exit 0 -297: + cc -B. -o out/test/x86_64/symtab-dso/exe out/test/x86_64/symtab-dso/a.o -291/402 Test #215: x86_64-many-sections2 ................................. Passed 3.29 sec 302: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/sysroot.sh -test 303 - Start 303: x86_64-sysroot2 - -303: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/sysroot2.sh" -303: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -303: Environment variables: -303: MACHINE=x86_64 -303: CPU= -303: Test timeout computed to be: 1500 +296: + cat 302: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 302: ++ export LC_ALL=C 302: ++ LC_ALL=C @@ -23017,154 +23046,50 @@ 302: ++ OBJCOPY=objcopy 302: ++ STRIP=strip 302: ++ QEMU= +296: + cc -o out/test/x86_64/symbol-version4/d.o -c -xc - -fPIC +301: + cc -o out/test/x86_64/sysroot-linker-script/a.o -c -xc - +299: mold: warning: entry symbol is not defined: _start +299: + readelf --symbols out/test/x86_64/symtab/exe +299: + grep -E '0 NOTYPE LOCAL DEFAULT .* local1' out/test/x86_64/symtab/log 302: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/sysroot.sh .sh +300: + cc -B. -no-pie -Wl,--image-base=0x40000 -o out/test/x86_64/synthetic-symbols/exe out/test/x86_64/synthetic-symbols/a.o out/test/x86_64/synthetic-symbols/b.o +275: + gdb out/test/x86_64/separate-debug-file/exe3 -ex 'list main' -ex quit +275: + grep -F printf 302: ++ testname=sysroot 302: ++ t=out/test/x86_64/sysroot 302: ++ mkdir -p out/test/x86_64/sysroot -299: + echo '{ local: module_local; global: *; };' -299: + ./mold -o out/test/x86_64/symtab/exe out/test/x86_64/symtab/a.o out/test/x86_64/symtab/b.o --version-script=out/test/x86_64/symtab/c.map -300: + cat -300: + cc -c -o out/test/x86_64/synthetic-symbols/b.o -xc - -255: + grep Hello -255: + out/test/x86_64/relocatable-many-sections/exe -303: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/sysroot2.sh -302: ++ case $MACHINE in -302: ++ tlsdesc_opt=-mtls-dialect=gnu2 -255: Hello -302: +++ uname -255: + on_exit -255: + echo OK -255: OK -255: + exit 0 -292/402 Test #255: x86_64-relocatable-many-sections ...................... Passed 1.99 sec -302: ++ '[' Linux = FreeBSD ']' -302: ++ trap 'on_error $LINENO' ERR -test 304 - Start 304: x86_64-tail-call - -304: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tail-call.sh" -304: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -304: Environment variables: -304: MACHINE=x86_64 -304: CPU= -304: Test timeout computed to be: 1500 -302: ++ trap on_exit EXIT -302: ++ echo -n 'Testing sysroot ... ' -302: Testing sysroot ... ++ set -o pipefail -302: ++ set -x -302: + [[ x86_64 = loongarch* ]] -302: + cat -302: + cc -c -o out/test/x86_64/sysroot/a.o -xc - -301: + mkdir -p out/test/x86_64/sysroot-linker-script/foo/bar -303: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -303: ++ export LC_ALL=C -303: ++ LC_ALL=C -303: ++ '[' -z x86_64 ']' -303: ++ '[' -z '' ']' -303: ++ TESTDIR=out/test/x86_64 -303: ++ CC=cc -303: ++ CXX=c++ -303: ++ GCC=gcc -303: ++ GXX=g++ -303: ++ OBJDUMP=objdump -303: ++ OBJCOPY=objcopy -303: ++ STRIP=strip -303: ++ QEMU= -275: 3 printf("Hello world\n"); -303: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/sysroot2.sh .sh -275: + cc -c -o out/test/x86_64/separate-debug-file/a.o out/test/x86_64/separate-debug-file/a.c -g -303: ++ testname=sysroot2 -303: ++ t=out/test/x86_64/sysroot2 -303: ++ mkdir -p out/test/x86_64/sysroot2 -301: + rm -f out/test/x86_64/sysroot-linker-script/foo/bar/libfoo.a -299: mold: warning: entry symbol is not defined: _start -299: + readelf --symbols out/test/x86_64/symtab/exe -301: + ar rcs out/test/x86_64/sysroot-linker-script/foo/bar/libfoo.a out/test/x86_64/sysroot-linker-script/a.o -303: ++ case $MACHINE in -303: ++ tlsdesc_opt=-mtls-dialect=gnu2 -303: +++ uname -299: + grep -E '0 NOTYPE LOCAL DEFAULT .* local1' out/test/x86_64/symtab/log -303: ++ '[' Linux = FreeBSD ']' -303: ++ trap 'on_error $LINENO' ERR -303: ++ trap on_exit EXIT -303: ++ echo -n 'Testing sysroot2 ... ' -303: Testing sysroot2 ... ++ set -o pipefail -303: ++ set -x -303: + [[ x86_64 = loongarch* ]] -303: + mkdir -p out/test/x86_64/sysroot2/bin out/test/x86_64/sysroot2/sysroot/foo +295: + readelf -W --dyn-syms out/test/x86_64/symbol-version3/c.so +292: + cat 299: 17: 00000000002012d8 0 NOTYPE LOCAL DEFAULT 7 local1 -303: + cat -304: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tail-call.sh -304: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -304: ++ export LC_ALL=C -304: ++ LC_ALL=C -304: ++ '[' -z x86_64 ']' -304: ++ '[' -z '' ']' -304: ++ TESTDIR=out/test/x86_64 -304: ++ CC=cc -304: ++ CXX=c++ -304: ++ GCC=gcc -304: ++ GXX=g++ -304: ++ OBJDUMP=objdump -304: ++ OBJCOPY=objcopy -304: ++ STRIP=strip -304: ++ QEMU= -296: + cc -o out/test/x86_64/symbol-version4/d.o -c -xc - -fPIC 299: + grep -E '0 NOTYPE LOCAL DEFAULT .* local2' out/test/x86_64/symtab/log -304: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tail-call.sh .sh -296: + cat -297: + grep 'U puts$' -292: mold: warning: out/test/x86_64/symbol-version-lto/b.ver: cannot assign version `VER1` to symbol `foo`: symbol not found 299: 18: 00000000002012d9 0 NOTYPE LOCAL DEFAULT 7 local2 -304: ++ testname=tail-call -304: ++ t=out/test/x86_64/tail-call -304: ++ mkdir -p out/test/x86_64/tail-call 299: + grep -E '0 NOTYPE LOCAL DEFAULT .* module_local' out/test/x86_64/symtab/log -304: ++ case $MACHINE in -304: ++ tlsdesc_opt=-mtls-dialect=gnu2 -303: + cat -304: +++ uname -297: + nm out/test/x86_64/symtab-dso/exe -301: + cat +292: + cc -fPIC -c -o out/test/x86_64/symbol-version-lto/a.o -xc - -flto +302: ++ case $MACHINE in +302: ++ tlsdesc_opt=-mtls-dialect=gnu2 +301: + mkdir -p out/test/x86_64/sysroot-linker-script/foo/bar +301: + rm -f out/test/x86_64/sysroot-linker-script/foo/bar/libfoo.a 299: 19: 00000000002012d9 0 NOTYPE LOCAL DEFAULT 7 module_local 299: + grep -E '0 NOTYPE GLOBAL DEFAULT .* foo' out/test/x86_64/symtab/log -304: ++ '[' Linux = FreeBSD ']' -303: + cat -304: ++ trap 'on_error $LINENO' ERR -304: ++ trap on_exit EXIT -303: + cc -c -o out/test/x86_64/sysroot2/sysroot/foo/x.o -xc - -304: ++ echo -n 'Testing tail-call ... ' -304: Testing tail-call ... ++ set -o pipefail -304: ++ set -x -298: + readelf -s out/test/x86_64/symtab-section-symbols/exe -298: + grep 'SECTION LOCAL DEFAULT' 299: 2: 00000000002012d8 0 NOTYPE GLOBAL DEFAULT 7 foo 299: 47: 00000000002012d8 0 NOTYPE GLOBAL DEFAULT 7 foo 299: + grep -E '0 NOTYPE GLOBAL DEFAULT .* bar' out/test/x86_64/symtab/log -304: + cat -301: + cc -o out/test/x86_64/sysroot-linker-script/c.o -c -xc - -301: + cat -304: + cc -O2 -o out/test/x86_64/tail-call/a.o -c -xc - +301: + ar rcs out/test/x86_64/sysroot-linker-script/foo/bar/libfoo.a out/test/x86_64/sysroot-linker-script/a.o +295: + grep ' foo@@TEST1' out/test/x86_64/symbol-version3/log +295: 5: 0000000000001739 7 FUNC GLOBAL DEFAULT 14 foo@@TEST1 +295: + grep ' foo@TEST2' out/test/x86_64/symbol-version3/log 299: 1: 00000000002012d8 0 NOTYPE GLOBAL DEFAULT 7 bar 299: 48: 00000000002012d8 0 NOTYPE GLOBAL DEFAULT 7 bar 299: + grep -E '0 NOTYPE GLOBAL DEFAULT .* this_is_global' out/test/x86_64/symtab/log -297: U puts -297: + on_exit -297: + echo OK -297: OK -297: + exit 0 -293/402 Test #297: x86_64-symtab-dso ..................................... Passed 0.14 sec -test 305 - Start 305: x86_64-tbss-only - -305: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tbss-only.sh" -305: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -305: Environment variables: -305: MACHINE=x86_64 -305: CPU= -305: Test timeout computed to be: 1500 -302: + cc -c -o out/test/x86_64/sysroot/b.o -xc - -302: + cat +299: 3: 00000000002012d9 0 NOTYPE GLOBAL DEFAULT 7 this_is_global +299: 49: 00000000002012d9 0 NOTYPE GLOBAL DEFAULT 7 this_is_global +299: + on_exit +299: + echo OK +299: OK +299: + exit 0 +298: + readelf -s out/test/x86_64/symtab-section-symbols/exe +298: + grep 'SECTION LOCAL DEFAULT' +291/402 Test #299: x86_64-symtab ......................................... Passed 0.13 sec 298: 1: 00000000000002e0 0 SECTION LOCAL DEFAULT 1 .interp 298: 2: 0000000000000300 0 SECTION LOCAL DEFAULT 2 .note.gnu.property 298: 3: 0000000000000320 0 SECTION LOCAL DEFAULT 3 .note.ABI-tag @@ -23198,20 +23123,118 @@ 298: 31: 0000000000000000 0 SECTION LOCAL DEFAULT 31 .shstrtab 298: 32: 0000000000000000 0 SECTION LOCAL DEFAULT 32 .strtab 298: 33: 0000000000000000 0 SECTION LOCAL DEFAULT 33 .symtab +test 303 + Start 303: x86_64-sysroot2 + +303: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/sysroot2.sh" +303: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +303: Environment variables: +303: MACHINE=x86_64 +303: CPU= +303: Test timeout computed to be: 1500 298: + on_exit 298: + echo OK 298: OK 298: + exit 0 -299: 3: 00000000002012d9 0 NOTYPE GLOBAL DEFAULT 7 this_is_global -299: 49: 00000000002012d9 0 NOTYPE GLOBAL DEFAULT 7 this_is_global -299: + on_exit -299: + echo OK -299: OK -299: + exit 0 -275: + cc -B. -o out/test/x86_64/separate-debug-file/exe3 out/test/x86_64/separate-debug-file/a.o -Wl,--separate-debug-file,--compress-debug-sections=zlib -294/402 Test #298: x86_64-symtab-section-symbols ......................... Passed 0.11 sec -295/402 Test #299: x86_64-symtab ......................................... Passed 0.11 sec -300: + cc -B. -no-pie -Wl,--image-base=0x40000 -o out/test/x86_64/synthetic-symbols/exe out/test/x86_64/synthetic-symbols/a.o out/test/x86_64/synthetic-symbols/b.o +292: + echo 'VER1 { foo; };' +292: + cc -B. -shared -o out/test/x86_64/symbol-version-lto/c.so out/test/x86_64/symbol-version-lto/a.o -Wl,--version-script=out/test/x86_64/symbol-version-lto/b.ver -flto +295: 6: 0000000000001740 7 FUNC GLOBAL DEFAULT 14 foo@TEST2 +295: + grep ' foo@TEST3' out/test/x86_64/symbol-version3/log +295: 7: 0000000000001747 7 FUNC GLOBAL DEFAULT 14 foo@TEST3 +295: + not grep ' foo$' out/test/x86_64/symbol-version3/log +295: + grep ' foo$' out/test/x86_64/symbol-version3/log +295: + return 0 +295: + on_exit +295: + echo OK +295: OK +295: + exit 0 +302: +++ uname +297: + grep 'U puts$' +297: + nm out/test/x86_64/symtab-dso/exe +297: U puts +297: + on_exit +297: + echo OK +297: OK +297: + exit 0 +292/402 Test #295: x86_64-symbol-version3 ................................ Passed 0.26 sec +293/402 Test #297: x86_64-symtab-dso ..................................... Passed 0.17 sec +test 304 + Start 304: x86_64-tail-call + +304: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tail-call.sh" +304: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +304: Environment variables: +304: MACHINE=x86_64 +304: CPU= +304: Test timeout computed to be: 1500 +test 305 + Start 305: x86_64-tbss-only + +305: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tbss-only.sh" +305: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +305: Environment variables: +305: MACHINE=x86_64 +305: CPU= +305: Test timeout computed to be: 1500 +301: + cat +301: + cc -o out/test/x86_64/sysroot-linker-script/c.o -c -xc - +301: + cat +303: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/sysroot2.sh +303: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +303: ++ export LC_ALL=C +303: ++ LC_ALL=C +303: ++ '[' -z x86_64 ']' +303: ++ '[' -z '' ']' +303: ++ TESTDIR=out/test/x86_64 +303: ++ CC=cc +303: ++ CXX=c++ +303: ++ GCC=gcc +303: ++ GXX=g++ +303: ++ OBJDUMP=objdump +303: ++ OBJCOPY=objcopy +303: ++ STRIP=strip +303: ++ QEMU= +303: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/sysroot2.sh .sh +303: ++ testname=sysroot2 +303: ++ t=out/test/x86_64/sysroot2 +303: ++ mkdir -p out/test/x86_64/sysroot2 +303: ++ case $MACHINE in +303: ++ tlsdesc_opt=-mtls-dialect=gnu2 +303: +++ uname +303: ++ '[' Linux = FreeBSD ']' +303: ++ trap 'on_error $LINENO' ERR +303: ++ trap on_exit EXIT +303: ++ echo -n 'Testing sysroot2 ... ' +303: Testing sysroot2 ... ++ set -o pipefail +303: ++ set -x +303: + [[ x86_64 = loongarch* ]] +303: + mkdir -p out/test/x86_64/sysroot2/bin out/test/x86_64/sysroot2/sysroot/foo +303: + cat +303: + cat +303: + cc -c -o out/test/x86_64/sysroot2/sysroot/foo/x.o -xc - +303: + cat +302: ++ '[' Linux = FreeBSD ']' +302: ++ trap 'on_error $LINENO' ERR +302: ++ trap on_exit EXIT +302: ++ echo -n 'Testing sysroot ... ' +302: Testing sysroot ... ++ set -o pipefail +302: ++ set -x +302: + [[ x86_64 = loongarch* ]] +302: + cc -c -o out/test/x86_64/sysroot/a.o -xc - +302: + cat +294/402 Test #298: x86_64-symtab-section-symbols ......................... Passed 0.18 sec +296: + cat +296: + cc -B. -o out/test/x86_64/symbol-version4/f.so -shared out/test/x86_64/symbol-version4/d.o out/test/x86_64/symbol-version4/c.so -Wl,--version-script=out/test/x86_64/symbol-version4/e.version +300: + out/test/x86_64/synthetic-symbols/exe +300: + grep '^__ehdr_start=0x40000$' out/test/x86_64/synthetic-symbols/log +291: + grep '^0 0 0 5$' +291: + out/test/x86_64/symbol-rank/exe +291: 0 0 0 5 +291: + on_exit +291: + echo OK +291: OK +291: + exit 0 +295/402 Test #291: x86_64-symbol-rank .................................... Passed 0.41 sec test 306 Start 306: x86_64-textrel @@ -23230,6 +23253,25 @@ 307: MACHINE=x86_64 307: CPU= 307: Test timeout computed to be: 1500 +304: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tail-call.sh +304: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +304: ++ export LC_ALL=C +304: ++ LC_ALL=C +304: ++ '[' -z x86_64 ']' +304: ++ '[' -z '' ']' +304: ++ TESTDIR=out/test/x86_64 +304: ++ CC=cc +304: ++ CXX=c++ +304: ++ GCC=gcc +304: ++ GXX=g++ +304: ++ OBJDUMP=objdump +304: ++ OBJCOPY=objcopy +304: ++ STRIP=strip +304: ++ QEMU= +304: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tail-call.sh .sh +304: ++ testname=tail-call +304: ++ t=out/test/x86_64/tail-call +304: ++ mkdir -p out/test/x86_64/tail-call 305: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tbss-only.sh 305: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 305: ++ export LC_ALL=C @@ -23249,7 +23291,17 @@ 305: ++ testname=tbss-only 305: ++ t=out/test/x86_64/tbss-only 305: ++ mkdir -p out/test/x86_64/tbss-only +305: ++ case $MACHINE in +305: ++ tlsdesc_opt=-mtls-dialect=gnu2 +300: __ehdr_start=0x40000 +300: + grep '^__executable_start=0x40000$' out/test/x86_64/synthetic-symbols/log +300: __executable_start=0x40000 +300: + grep '^__dso_handle=' out/test/x86_64/synthetic-symbols/log +292: mold: warning: out/test/x86_64/symbol-version-lto/b.ver: cannot assign version `VER1` to symbol `foo`: symbol not found 306: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/textrel.sh +301: + cc -B. -o out/test/x86_64/sysroot-linker-script/exe out/test/x86_64/sysroot-linker-script/c.o -Wl,--sysroot=out/test/x86_64/sysroot-linker-script/ out/test/x86_64/sysroot-linker-script/foo/bar/b.script +303: + cat +303: + cc -c -o out/test/x86_64/sysroot2/sysroot/foo/y.o -xc - 306: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 306: ++ export LC_ALL=C 306: ++ LC_ALL=C @@ -23264,21 +23316,55 @@ 306: ++ OBJCOPY=objcopy 306: ++ STRIP=strip 306: ++ QEMU= +304: ++ case $MACHINE in +304: ++ tlsdesc_opt=-mtls-dialect=gnu2 +305: +++ uname +296: + cc -o out/test/x86_64/symbol-version4/g.o -c -xc - +296: + cat 306: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/textrel.sh .sh 306: ++ testname=textrel 306: ++ t=out/test/x86_64/textrel 306: ++ mkdir -p out/test/x86_64/textrel -307: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/textrel2.sh -305: ++ case $MACHINE in +305: ++ '[' Linux = FreeBSD ']' +305: ++ trap 'on_error $LINENO' ERR +305: ++ trap on_exit EXIT +305: ++ echo -n 'Testing tbss-only ... ' +305: Testing tbss-only ... ++ set -o pipefail +305: ++ set -x +305: + cc -o out/test/x86_64/tbss-only/a.o -c -xc - 306: ++ case $MACHINE in 306: ++ tlsdesc_opt=-mtls-dialect=gnu2 -305: ++ tlsdesc_opt=-mtls-dialect=gnu2 -305: +++ uname +306: +++ uname +306: ++ '[' Linux = FreeBSD ']' +306: ++ trap 'on_error $LINENO' ERR +306: ++ trap on_exit EXIT +306: ++ echo -n 'Testing textrel ... ' +306: Testing textrel ... ++ set -o pipefail +306: ++ set -x +306: + cc -o out/test/x86_64/textrel/a.o -c -xc - -fno-PIE +306: + cat +300: __dso_handle=0x43a78 +300: + grep '^section foo$' out/test/x86_64/synthetic-symbols/log +300: section foo +304: +++ uname +304: ++ '[' Linux = FreeBSD ']' +304: ++ trap 'on_error $LINENO' ERR +304: ++ trap on_exit EXIT +304: ++ echo -n 'Testing tail-call ... ' +304: Testing tail-call ... ++ set -o pipefail +304: ++ set -x +304: + cc -O2 -o out/test/x86_64/tail-call/a.o -c -xc - +304: + cat +302: + cat +305: + cat +302: + cc -c -o out/test/x86_64/sysroot/b.o -xc - +307: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/textrel2.sh +300: + cc -c -o out/test/x86_64/synthetic-symbols/c.o -xc - +300: + cat 307: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 307: ++ export LC_ALL=C 307: ++ LC_ALL=C 307: ++ '[' -z x86_64 ']' -306: +++ uname 307: ++ '[' -z '' ']' 307: ++ TESTDIR=out/test/x86_64 307: ++ CC=cc @@ -23289,86 +23375,22 @@ 307: ++ OBJCOPY=objcopy 307: ++ STRIP=strip 307: ++ QEMU= -305: ++ '[' Linux = FreeBSD ']' -305: ++ trap 'on_error $LINENO' ERR -305: ++ trap on_exit EXIT +296: + cc -B. -o out/test/x86_64/symbol-version4/exe out/test/x86_64/symbol-version4/g.o out/test/x86_64/symbol-version4/f.so out/test/x86_64/symbol-version4/c.so 307: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/textrel2.sh .sh -305: ++ echo -n 'Testing tbss-only ... ' -305: Testing tbss-only ... ++ set -o pipefail -305: ++ set -x -305: + cat -306: ++ '[' Linux = FreeBSD ']' -305: + cc -o out/test/x86_64/tbss-only/a.o -c -xc - -306: ++ trap 'on_error $LINENO' ERR -306: ++ trap on_exit EXIT -306: ++ echo -n 'Testing textrel ... ' -306: Testing textrel ... ++ set -o pipefail -306: ++ set -x -306: + cat 307: ++ testname=textrel2 307: ++ t=out/test/x86_64/textrel2 307: ++ mkdir -p out/test/x86_64/textrel2 -306: + cc -o out/test/x86_64/textrel/a.o -c -xc - -fno-PIE -301: + cc -B. -o out/test/x86_64/sysroot-linker-script/exe out/test/x86_64/sysroot-linker-script/c.o -Wl,--sysroot=out/test/x86_64/sysroot-linker-script/ out/test/x86_64/sysroot-linker-script/foo/bar/b.script -296: + cat -307: ++ case $MACHINE in -307: ++ tlsdesc_opt=-mtls-dialect=gnu2 -304: + cc -O2 -o out/test/x86_64/tail-call/b.o -c -xc - -307: +++ uname -302: + mkdir -p out/test/x86_64/sysroot/foo/bar -304: + cat 303: + cat -303: + cc -c -o out/test/x86_64/sysroot2/sysroot/foo/y.o -xc - -307: ++ '[' Linux = FreeBSD ']' -307: ++ trap 'on_error $LINENO' ERR -307: ++ trap on_exit EXIT -307: ++ echo -n 'Testing textrel2 ... ' -307: Testing textrel2 ... ++ set -o pipefail -307: ++ set -x -307: + cat -307: + cc -o out/test/x86_64/textrel2/a.o -c -xc - -fPIE -302: + rm -f out/test/x86_64/sysroot/foo/bar/libfoo.a -296: + cc -B. -o out/test/x86_64/symbol-version4/f.so -shared out/test/x86_64/symbol-version4/d.o out/test/x86_64/symbol-version4/c.so -Wl,--version-script=out/test/x86_64/symbol-version4/e.version -302: + ar rcs out/test/x86_64/sysroot/foo/bar/libfoo.a out/test/x86_64/sysroot/a.o out/test/x86_64/sysroot/b.o -275: + grep -F .gnu_debuglink -275: + readelf -SW out/test/x86_64/separate-debug-file/exe3 -302: + cc -c -o out/test/x86_64/sysroot/c.o -xc - -302: + cat -275: [31] .gnu_debuglink PROGBITS 0000000000000000 0009b8 000010 00 0 0 4 -275: + flock out/test/x86_64/separate-debug-file/exe3 true -300: + out/test/x86_64/synthetic-symbols/exe -305: + cc -B. -o out/test/x86_64/tbss-only/exe out/test/x86_64/tbss-only/a.o -300: + grep '^__ehdr_start=0x40000$' out/test/x86_64/synthetic-symbols/log -275: + readelf -W --sections out/test/x86_64/separate-debug-file/exe3.dbg -275: + grep '\.debug_info .*C' -300: __ehdr_start=0x40000 -275: [36] .debug_info PROGBITS 0000000000000000 00108c 000078 00 C 0 0 1 -306: + cc -o out/test/x86_64/textrel/b.o -c -xc - -fno-PIE -306: + cat -300: + grep '^__executable_start=0x40000$' out/test/x86_64/synthetic-symbols/log -275: + gdb out/test/x86_64/separate-debug-file/exe3 -ex 'list main' -ex quit -275: + grep -F printf -300: __executable_start=0x40000 -300: + grep '^__dso_handle=' out/test/x86_64/synthetic-symbols/log -300: __dso_handle=0x43a78 -300: + grep '^section foo$' out/test/x86_64/synthetic-symbols/log -300: section foo -300: + cc -c -o out/test/x86_64/synthetic-symbols/c.o -xc - -307: /tmp/ccs6Rbar.s: Assembler messages: -307: /tmp/ccs6Rbar.s:28: Warning: ignoring changed section attributes for .text -303: + cat -300: + cat 303: + cc -c -o out/test/x86_64/sysroot2/c.o -xc - -304: + cat -304: + cc -O2 -o out/test/x86_64/tail-call/c.o -c -xc - -307: + cc -o out/test/x86_64/textrel2/exe1 out/test/x86_64/textrel2/a.o -pie -292: + readelf --symbols out/test/x86_64/symbol-version-lto/c.so +305: + cc -B. -o out/test/x86_64/tbss-only/exe out/test/x86_64/tbss-only/a.o +307: ++ case $MACHINE in +307: ++ tlsdesc_opt=-mtls-dialect=gnu2 301: + on_exit 301: + echo OK 301: OK 301: + exit 0 -296/402 Test #301: x86_64-sysroot-linker-script .......................... Passed 0.18 sec -296: + cc -o out/test/x86_64/symbol-version4/g.o -c -xc - +307: +++ uname +296/402 Test #301: x86_64-sysroot-linker-script .......................... Passed 0.24 sec test 308 Start 308: x86_64-thin-archive @@ -23378,28 +23400,22 @@ 308: MACHINE=x86_64 308: CPU= 308: Test timeout computed to be: 1500 -296: + cat -292: + grep -F foo@@VER1 out/test/x86_64/symbol-version-lto/log -292: 5: 0000000000001639 7 FUNC GLOBAL DEFAULT 14 foo@@VER1 -292: + on_exit -292: + echo OK -292: OK -292: + exit 0 -302: + cc -B. -o out/test/x86_64/sysroot/exe out/test/x86_64/sysroot/c.o -Wl,--sysroot=out/test/x86_64/sysroot/ -Wl,-L=foo/bar -lfoo -297/402 Test #292: x86_64-symbol-version-lto ............................. Passed 0.45 sec -test 309 - Start 309: x86_64-thread-count - -309: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/thread-count.sh" -309: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -309: Environment variables: -309: MACHINE=x86_64 -309: CPU= -309: Test timeout computed to be: 1500 +307: ++ '[' Linux = FreeBSD ']' +307: ++ trap 'on_error $LINENO' ERR +307: ++ trap on_exit EXIT +307: ++ echo -n 'Testing textrel2 ... ' +307: Testing textrel2 ... ++ set -o pipefail +307: ++ set -x +307: + cat +306: + cat +306: + cc -o out/test/x86_64/textrel/b.o -c -xc - -fno-PIE +304: + cat +304: + cc -O2 -o out/test/x86_64/tail-call/b.o -c -xc - +302: + mkdir -p out/test/x86_64/sysroot/foo/bar +247: + cc -B. -o out/test/x86_64/range-extension-thunk3/exe out/test/x86_64/range-extension-thunk3/d.o out/test/x86_64/range-extension-thunk3/b.so +307: + cc -o out/test/x86_64/textrel2/a.o -c -xc - -fPIE +300: + cc -B. -no-pie -Wl,--image-base=0x40000 -o out/test/x86_64/synthetic-symbols/exe out/test/x86_64/synthetic-symbols/a.o out/test/x86_64/synthetic-symbols/c.o 308: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/thin-archive.sh -306: /tmp/cc7nJpRa.s: Assembler messages: -306: /tmp/cc7nJpRa.s:4: Warning: ignoring changed section attributes for .text -305: + out/test/x86_64/tbss-only/exe 308: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 308: ++ export LC_ALL=C 308: ++ LC_ALL=C @@ -23411,29 +23427,43 @@ 308: ++ GCC=gcc 308: ++ GXX=g++ 308: ++ OBJDUMP=objdump -305: + on_exit -305: + echo OK -305: OK -305: + exit 0 308: ++ OBJCOPY=objcopy 308: ++ STRIP=strip 308: ++ QEMU= -298/402 Test #305: x86_64-tbss-only ...................................... Passed 0.11 sec -308: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/thin-archive.sh .sh -test 310 - Start 310: x86_64-tls-alignment-multi +296: + grep 'foo bar' +296: + out/test/x86_64/symbol-version4/exe +296: foo bar +296: + on_exit +296: + echo OK +296: OK +296: + exit 0 +297/402 Test #296: x86_64-symbol-version4 ................................ Passed 0.40 sec +test 309 + Start 309: x86_64-thread-count -310: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tls-alignment-multi.sh" -310: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -310: Environment variables: -310: MACHINE=x86_64 -310: CPU= -310: Test timeout computed to be: 1500 +309: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/thread-count.sh" +309: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +309: Environment variables: +309: MACHINE=x86_64 +309: CPU= +309: Test timeout computed to be: 1500 +302: + rm -f out/test/x86_64/sysroot/foo/bar/libfoo.a +308: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/thin-archive.sh .sh 308: ++ testname=thin-archive 308: ++ t=out/test/x86_64/thin-archive 308: ++ mkdir -p out/test/x86_64/thin-archive +303: + cc -B. -o out/test/x86_64/sysroot2/exe -Wl,--sysroot=out/test/x86_64/sysroot2/sysroot out/test/x86_64/sysroot2/a.script out/test/x86_64/sysroot2/sysroot/b.script out/test/x86_64/sysroot2/c.o 308: ++ case $MACHINE in 308: ++ tlsdesc_opt=-mtls-dialect=gnu2 +308: +++ uname +308: ++ '[' Linux = FreeBSD ']' +302: + ar rcs out/test/x86_64/sysroot/foo/bar/libfoo.a out/test/x86_64/sysroot/a.o out/test/x86_64/sysroot/b.o +308: ++ trap 'on_error $LINENO' ERR +308: ++ trap on_exit EXIT +308: ++ echo -n 'Testing thin-archive ... ' +308: Testing thin-archive ... ++ set -o pipefail +308: ++ set -x +292: + readelf --symbols out/test/x86_64/symbol-version-lto/c.so 309: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/thread-count.sh 309: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 309: ++ export LC_ALL=C @@ -23449,22 +23479,41 @@ 309: ++ OBJCOPY=objcopy 309: ++ STRIP=strip 309: ++ QEMU= +306: /tmp/ccWiS3qH.s: Assembler messages: +306: /tmp/ccWiS3qH.s:4: Warning: ignoring changed section attributes for .text +306: + cc -B. -o out/test/x86_64/textrel/exe out/test/x86_64/textrel/a.o out/test/x86_64/textrel/b.o -no-pie +307: /tmp/ccv3YLsF.s: Assembler messages: +307: /tmp/ccv3YLsF.s:28: Warning: ignoring changed section attributes for .text +308: + cat +304: + cat +304: + cc -O2 -o out/test/x86_64/tail-call/c.o -c -xc - +307: + cc -o out/test/x86_64/textrel2/exe1 out/test/x86_64/textrel2/a.o -pie +302: + cat +302: + cc -c -o out/test/x86_64/sysroot/c.o -xc - +292: + grep -F foo@@VER1 out/test/x86_64/symbol-version-lto/log +308: + cc -o out/test/x86_64/thin-archive/long-long-long-filename.o -c -xc - +292: 5: 0000000000001639 7 FUNC GLOBAL DEFAULT 14 foo@@VER1 +292: + on_exit +292: + echo OK +292: OK +292: + exit 0 +298/402 Test #292: x86_64-symbol-version-lto ............................. Passed 0.57 sec +test 310 + Start 310: x86_64-tls-alignment-multi + +310: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tls-alignment-multi.sh" +310: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +310: Environment variables: +310: MACHINE=x86_64 +310: CPU= +310: Test timeout computed to be: 1500 +303: ++ realpath out/test/x86_64/sysroot2 309: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/thread-count.sh .sh -308: +++ uname +310: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-alignment-multi.sh +305: + out/test/x86_64/tbss-only/exe 309: ++ testname=thread-count 309: ++ t=out/test/x86_64/thread-count 309: ++ mkdir -p out/test/x86_64/thread-count -308: ++ '[' Linux = FreeBSD ']' -308: ++ trap 'on_error $LINENO' ERR -308: ++ trap on_exit EXIT -308: ++ echo -n 'Testing thin-archive ... ' -308: Testing thin-archive ... ++ set -o pipefail -308: ++ set -x -310: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-alignment-multi.sh -308: + cat -308: + cc -o out/test/x86_64/thin-archive/long-long-long-filename.o -c -xc - -309: ++ case $MACHINE in -309: ++ tlsdesc_opt=-mtls-dialect=gnu2 310: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 310: ++ export LC_ALL=C 310: ++ LC_ALL=C @@ -23479,65 +23528,15 @@ 310: ++ OBJCOPY=objcopy 310: ++ STRIP=strip 310: ++ QEMU= -309: +++ uname -307: /usr/bin/ld: out/test/x86_64/textrel2/a.o: warning: relocation against `hello' in read-only section `.text' -310: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-alignment-multi.sh .sh -309: ++ '[' Linux = FreeBSD ']' -309: ++ trap 'on_error $LINENO' ERR -309: ++ trap on_exit EXIT -309: ++ echo -n 'Testing thread-count ... ' -309: Testing thread-count ... ++ set -o pipefail -309: ++ set -x -310: ++ testname=tls-alignment-multi -310: ++ t=out/test/x86_64/tls-alignment-multi -310: ++ mkdir -p out/test/x86_64/tls-alignment-multi -309: + cat -309: + cc -o out/test/x86_64/thread-count/a.o -c -xc - -307: /usr/bin/ld: warning: creating DT_TEXTREL in a PIE -310: ++ case $MACHINE in -310: ++ tlsdesc_opt=-mtls-dialect=gnu2 -306: + cc -B. -o out/test/x86_64/textrel/exe out/test/x86_64/textrel/a.o out/test/x86_64/textrel/b.o -no-pie -310: +++ uname -300: + cc -B. -no-pie -Wl,--image-base=0x40000 -o out/test/x86_64/synthetic-symbols/exe out/test/x86_64/synthetic-symbols/a.o out/test/x86_64/synthetic-symbols/c.o -307: + grep 'Hello world' -310: ++ '[' Linux = FreeBSD ']' -310: ++ trap 'on_error $LINENO' ERR -310: ++ trap on_exit EXIT -310: ++ echo -n 'Testing tls-alignment-multi ... ' -310: Testing tls-alignment-multi ... ++ set -o pipefail -310: ++ set -x -310: + cat -304: + cc -B. -o out/test/x86_64/tail-call/exe out/test/x86_64/tail-call/a.o out/test/x86_64/tail-call/b.o out/test/x86_64/tail-call/c.o -307: + out/test/x86_64/textrel2/exe1 -310: + cc -fPIC -c -o out/test/x86_64/tls-alignment-multi/a.o -xc - -303: + cc -B. -o out/test/x86_64/sysroot2/exe -Wl,--sysroot=out/test/x86_64/sysroot2/sysroot out/test/x86_64/sysroot2/a.script out/test/x86_64/sysroot2/sysroot/b.script out/test/x86_64/sysroot2/c.o -307: Hello world -296: + cc -B. -o out/test/x86_64/symbol-version4/exe out/test/x86_64/symbol-version4/g.o out/test/x86_64/symbol-version4/f.so out/test/x86_64/symbol-version4/c.so -307: + cc -B. -o out/test/x86_64/textrel2/exe2 out/test/x86_64/textrel2/a.o -pie -302: + cc -B. -o out/test/x86_64/sysroot/exe out/test/x86_64/sysroot/c.o -Wl,--sysroot=out/test/x86_64/sysroot/ -Wl,-L=/foo/bar -lfoo -308: + cat -308: + cc -o out/test/x86_64/thin-archive/b.o -c -xc - -309: + cc -B. -o out/test/x86_64/thread-count/exe out/test/x86_64/thread-count/a.o -Wl,-no-threads -310: + cat -310: + cc -fPIC -c -o out/test/x86_64/tls-alignment-multi/b.o -xc - -307: + out/test/x86_64/textrel2/exe2 -306: + out/test/x86_64/textrel/exe -306: + grep 'Hello world' -307: + grep 'Hello world' -300: + out/test/x86_64/synthetic-symbols/exe -306: Hello world -306: + on_exit -306: + echo OK -306: OK -306: + exit 0 -299/402 Test #306: x86_64-textrel ........................................ Passed 0.18 sec -307: Hello world -307: + cc -o out/test/x86_64/textrel2/exe3 out/test/x86_64/textrel2/a.o -pie -Wl,-z,pack-relative-relocs -300: + grep '^end=foo$' out/test/x86_64/synthetic-symbols/log -300: end=foo -300: + grep '^etext=foo$' out/test/x86_64/synthetic-symbols/log -304: + out/test/x86_64/tail-call/exe -304: + grep 42 +303: + cc -B. -o out/test/x86_64/sysroot2/exe -Wl,--sysroot=/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/out/test/x86_64/sysroot2/bin/../sysroot out/test/x86_64/sysroot2/a.script out/test/x86_64/sysroot2/sysroot/b.script out/test/x86_64/sysroot2/c.o +275: 3 printf("Hello world\n"); +275: + on_exit +275: + echo OK +275: OK +275: + exit 0 +309: ++ case $MACHINE in +309: ++ tlsdesc_opt=-mtls-dialect=gnu2 +299/402 Test #275: x86_64-separate-debug-file ............................ Passed 1.52 sec test 311 Start 311: x86_64-tls-common @@ -23547,18 +23546,21 @@ 311: MACHINE=x86_64 311: CPU= 311: Test timeout computed to be: 1500 -300: etext=foo -300: + grep '^edata=foo$' out/test/x86_64/synthetic-symbols/log -300: edata=foo -300: + grep '^__ehdr_start=0x40000$' out/test/x86_64/synthetic-symbols/log -304: 42 -304: + '[' x86_64 = riscv32 -o x86_64 = riscv64 ']' -304: + on_exit -304: + echo OK -304: OK -304: + exit 0 -300/402 Test #304: x86_64-tail-call ...................................... Passed 0.23 sec -300: __ehdr_start=0x40000 +309: +++ uname +309: ++ '[' Linux = FreeBSD ']' +309: ++ trap 'on_error $LINENO' ERR +309: ++ trap on_exit EXIT +309: ++ echo -n 'Testing thread-count ... ' +309: Testing thread-count ... ++ set -o pipefail +309: ++ set -x +309: + cat +309: + cc -o out/test/x86_64/thread-count/a.o -c -xc - +305: + on_exit +305: + echo OK +305: OK +305: + exit 0 +310: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-alignment-multi.sh .sh +300/402 Test #305: x86_64-tbss-only ...................................... Passed 0.22 sec test 312 Start 312: x86_64-tls-df-static-tls @@ -23568,9 +23570,14 @@ 312: MACHINE=x86_64 312: CPU= 312: Test timeout computed to be: 1500 -300: + grep '^__executable_start=0x40000$' out/test/x86_64/synthetic-symbols/log +310: ++ testname=tls-alignment-multi +310: ++ t=out/test/x86_64/tls-alignment-multi +310: ++ mkdir -p out/test/x86_64/tls-alignment-multi +300: + out/test/x86_64/synthetic-symbols/exe +300: + grep '^end=foo$' out/test/x86_64/synthetic-symbols/log +307: /usr/bin/ld: out/test/x86_64/textrel2/a.o: warning: relocation against `hello' in read-only section `.text' +307: /usr/bin/ld: warning: creating DT_TEXTREL in a PIE 311: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-common.sh -300: __executable_start=0x40000 311: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 311: ++ export LC_ALL=C 311: ++ LC_ALL=C @@ -23585,12 +23592,21 @@ 311: ++ OBJCOPY=objcopy 311: ++ STRIP=strip 311: ++ QEMU= -303: ++ realpath out/test/x86_64/sysroot2 311: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-common.sh .sh +311: ++ testname=tls-common +311: ++ t=out/test/x86_64/tls-common +311: ++ mkdir -p out/test/x86_64/tls-common +304: + cc -B. -o out/test/x86_64/tail-call/exe out/test/x86_64/tail-call/a.o out/test/x86_64/tail-call/b.o out/test/x86_64/tail-call/c.o +302: + cc -B. -o out/test/x86_64/sysroot/exe out/test/x86_64/sysroot/c.o -Wl,--sysroot=out/test/x86_64/sysroot/ -Wl,-L=foo/bar -lfoo +310: ++ case $MACHINE in +310: ++ tlsdesc_opt=-mtls-dialect=gnu2 +311: ++ case $MACHINE in +311: ++ tlsdesc_opt=-mtls-dialect=gnu2 +307: + out/test/x86_64/textrel2/exe1 +307: + grep 'Hello world' +310: +++ uname 312: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-df-static-tls.sh -300: + grep '^section foo$' out/test/x86_64/synthetic-symbols/log -303: + cc -B. -o out/test/x86_64/sysroot2/exe -Wl,--sysroot=/build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/out/test/x86_64/sysroot2/bin/../sysroot out/test/x86_64/sysroot2/a.script out/test/x86_64/sysroot2/sysroot/b.script out/test/x86_64/sysroot2/c.o -296: + out/test/x86_64/symbol-version4/exe +307: Hello world 312: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 312: ++ export LC_ALL=C 312: ++ LC_ALL=C @@ -23605,22 +23621,41 @@ 312: ++ OBJCOPY=objcopy 312: ++ STRIP=strip 312: ++ QEMU= +307: + cc -B. -o out/test/x86_64/textrel2/exe2 out/test/x86_64/textrel2/a.o -pie +300: end=foo +300: + grep '^etext=foo$' out/test/x86_64/synthetic-symbols/log +310: ++ '[' Linux = FreeBSD ']' +310: ++ trap 'on_error $LINENO' ERR +310: ++ trap on_exit EXIT +310: ++ echo -n 'Testing tls-alignment-multi ... ' +310: Testing tls-alignment-multi ... ++ set -o pipefail +310: ++ set -x +309: + cc -B. -o out/test/x86_64/thread-count/exe out/test/x86_64/thread-count/a.o -Wl,-no-threads +303: + on_exit +303: + echo OK +303: OK +303: + exit 0 +306: + out/test/x86_64/textrel/exe +306: + grep 'Hello world' +306: Hello world +306: + on_exit +306: + echo OK +306: OK +306: + exit 0 +311: +++ uname +311: ++ '[' Linux = FreeBSD ']' +311: ++ trap 'on_error $LINENO' ERR +311: ++ trap on_exit EXIT +311: ++ echo -n 'Testing tls-common ... ' +311: Testing tls-common ... ++ set -o pipefail +311: ++ set -x +311: + cat 312: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-df-static-tls.sh .sh -311: ++ testname=tls-common -311: ++ t=out/test/x86_64/tls-common -311: ++ mkdir -p out/test/x86_64/tls-common -300: section foo -300: + on_exit -300: + echo OK -300: OK -300: + exit 0 -296: + grep 'foo bar' -308: + cc -o out/test/x86_64/thin-archive/c.o -c -xc - -301/402 Test #300: x86_64-synthetic-symbols .............................. Passed 0.31 sec -308: + cat 312: ++ testname=tls-df-static-tls 312: ++ t=out/test/x86_64/tls-df-static-tls 312: ++ mkdir -p out/test/x86_64/tls-df-static-tls +301/402 Test #303: x86_64-sysroot2 ....................................... Passed 0.27 sec +302/402 Test #306: x86_64-textrel ........................................ Passed 0.22 sec test 313 Start 313: x86_64-tls-dso @@ -23630,35 +23665,6 @@ 313: MACHINE=x86_64 313: CPU= 313: Test timeout computed to be: 1500 -296: foo bar -296: + on_exit -296: + echo OK -296: OK -296: + exit 0 -312: ++ case $MACHINE in -312: ++ tlsdesc_opt=-mtls-dialect=gnu2 -312: +++ uname -312: ++ '[' Linux = FreeBSD ']' -312: ++ trap 'on_error $LINENO' ERR -312: ++ trap on_exit EXIT -312: ++ echo -n 'Testing tls-df-static-tls ... ' -312: Testing tls-df-static-tls ... ++ set -o pipefail -312: ++ set -x -312: + cat -311: ++ case $MACHINE in -311: ++ tlsdesc_opt=-mtls-dialect=gnu2 -311: +++ uname -311: ++ '[' Linux = FreeBSD ']' -311: ++ trap 'on_error $LINENO' ERR -311: ++ trap on_exit EXIT -311: ++ echo -n 'Testing tls-common ... ' -311: Testing tls-common ... ++ set -o pipefail -311: ++ set -x -310: + cc -B. -shared -o out/test/x86_64/tls-alignment-multi/a.so out/test/x86_64/tls-alignment-multi/a.o -302/402 Test #296: x86_64-symbol-version4 ................................ Passed 0.36 sec -312: + cc -fPIC -ftls-model=initial-exec -c -o out/test/x86_64/tls-df-static-tls/a.o -xc - -311: + cat -311: + gcc -o out/test/x86_64/tls-common/a.o -c -xassembler - test 314 Start 314: x86_64-tls-gd-dlopen @@ -23668,6 +23674,22 @@ 314: MACHINE=x86_64 314: CPU= 314: Test timeout computed to be: 1500 +308: + cc -o out/test/x86_64/thin-archive/b.o -c -xc - +308: + cat +310: + cat +310: + cc -fPIC -c -o out/test/x86_64/tls-alignment-multi/a.o -xc - +311: + gcc -o out/test/x86_64/tls-common/a.o -c -xassembler - +307: + grep 'Hello world' +307: + out/test/x86_64/textrel2/exe2 +307: Hello world +307: + cc -o out/test/x86_64/textrel2/exe3 out/test/x86_64/textrel2/a.o -pie -Wl,-z,pack-relative-relocs +300: etext=foo +300: + grep '^edata=foo$' out/test/x86_64/synthetic-symbols/log +300: edata=foo +300: + grep '^__ehdr_start=0x40000$' out/test/x86_64/synthetic-symbols/log +300: __ehdr_start=0x40000 +300: + grep '^__executable_start=0x40000$' out/test/x86_64/synthetic-symbols/log +309: + cc -B. -o out/test/x86_64/thread-count/exe out/test/x86_64/thread-count/a.o -Wl,-thread-count=1 313: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-dso.sh 313: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 313: ++ export LC_ALL=C @@ -23683,15 +23705,16 @@ 313: ++ OBJCOPY=objcopy 313: ++ STRIP=strip 313: ++ QEMU= -309: + cc -B. -o out/test/x86_64/thread-count/exe out/test/x86_64/thread-count/a.o -Wl,-thread-count=1 +247: + out/test/x86_64/range-extension-thunk3/exe +312: ++ case $MACHINE in +312: ++ tlsdesc_opt=-mtls-dialect=gnu2 +300: __executable_start=0x40000 +300: + grep '^section foo$' out/test/x86_64/synthetic-symbols/log 313: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-dso.sh .sh -302: + cc -B. -o out/test/x86_64/sysroot/exe out/test/x86_64/sysroot/c.o -Wl,--sysroot=out/test/x86_64/sysroot/ '-Wl,-L$SYSROOTfoo/bar' -lfoo +314: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-gd-dlopen.sh 313: ++ testname=tls-dso 313: ++ t=out/test/x86_64/tls-dso 313: ++ mkdir -p out/test/x86_64/tls-dso -314: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-gd-dlopen.sh -311: + cat -311: + cc -o out/test/x86_64/tls-common/b.o -c -xc -std=c11 - 314: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 314: ++ export LC_ALL=C 314: ++ LC_ALL=C @@ -23707,50 +23730,34 @@ 314: ++ STRIP=strip 314: ++ QEMU= 314: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-gd-dlopen.sh .sh -313: ++ case $MACHINE in -313: ++ tlsdesc_opt=-mtls-dialect=gnu2 -313: +++ uname -307: + readelf -WS out/test/x86_64/textrel2/exe3 -307: + grep -F .relr.dyn -313: ++ '[' Linux = FreeBSD ']' -313: ++ trap 'on_error $LINENO' ERR -313: ++ trap on_exit EXIT -313: ++ echo -n 'Testing tls-dso ... ' 314: ++ testname=tls-gd-dlopen 314: ++ t=out/test/x86_64/tls-gd-dlopen 314: ++ mkdir -p out/test/x86_64/tls-gd-dlopen -307: [11] .relr.dyn RELR 0000000000000600 000600 000020 08 A 0 0 8 -313: Testing tls-dso ... ++ set -o pipefail -313: ++ set -x -313: + cat -313: + cc -fPIC -shared -o out/test/x86_64/tls-dso/a.so -xc - -307: + grep 'Hello world' -307: + out/test/x86_64/textrel2/exe3 -307: Hello world 314: ++ case $MACHINE in 314: ++ tlsdesc_opt=-mtls-dialect=gnu2 314: +++ uname -307: + cc -B. -o out/test/x86_64/textrel2/exe4 out/test/x86_64/textrel2/a.o -pie -Wl,-z,pack-relative-relocs 314: ++ '[' Linux = FreeBSD ']' 314: ++ trap 'on_error $LINENO' ERR 314: ++ trap on_exit EXIT 314: ++ echo -n 'Testing tls-gd-dlopen ... ' 314: Testing tls-gd-dlopen ... ++ set -o pipefail 314: ++ set -x +312: +++ uname +312: ++ '[' Linux = FreeBSD ']' +312: ++ trap 'on_error $LINENO' ERR +312: ++ trap on_exit EXIT +312: ++ echo -n 'Testing tls-df-static-tls ... ' +312: Testing tls-df-static-tls ... ++ set -o pipefail +312: ++ set -x +304: + out/test/x86_64/tail-call/exe +300: section foo +300: + on_exit +300: + echo OK +300: OK +300: + exit 0 314: + cat -314: + gcc -fPIC -c -o out/test/x86_64/tls-gd-dlopen/a.o -xc - -308: + cat -308: + cc -o out/test/x86_64/thin-archive/d.o -c -xc - -311: + cc -B. -o out/test/x86_64/tls-common/exe out/test/x86_64/tls-common/a.o out/test/x86_64/tls-common/b.o -312: + cc -B. -shared -o out/test/x86_64/tls-df-static-tls/b.so out/test/x86_64/tls-df-static-tls/a.o -Wl,--relax -309: + cc -B. -o out/test/x86_64/thread-count/exe out/test/x86_64/thread-count/a.o -Wl,-threads -310: + cc -B. -ldl -pthread -o out/test/x86_64/tls-alignment-multi/exe out/test/x86_64/tls-alignment-multi/b.o -Wl,-rpath,out/test/x86_64/tls-alignment-multi -302: + cc -B. -o out/test/x86_64/sysroot/exe out/test/x86_64/sysroot/c.o -Wl,--sysroot=out/test/x86_64/sysroot/ '-Wl,-L$SYSROOT/foo/bar' -lfoo -303: + on_exit -303: + echo OK -303: OK -303: + exit 0 -303/402 Test #303: x86_64-sysroot2 ....................................... Passed 0.32 sec +312: + cat +303/402 Test #300: x86_64-synthetic-symbols .............................. Passed 0.42 sec test 315 Start 315: x86_64-tls-gd-noplt @@ -23760,6 +23767,41 @@ 315: MACHINE=x86_64 315: CPU= 315: Test timeout computed to be: 1500 +312: + cc -fPIC -ftls-model=initial-exec -c -o out/test/x86_64/tls-df-static-tls/a.o -xc - +314: + gcc -fPIC -c -o out/test/x86_64/tls-gd-dlopen/a.o -xc - +304: + grep 42 +247: + on_exit +247: + echo OK +247: OK +247: + exit 0 +304: 42 +304: + '[' x86_64 = riscv32 -o x86_64 = riscv64 ']' +304: + on_exit +304: + echo OK +304: OK +304: + exit 0 +311: + cat +311: + cc -o out/test/x86_64/tls-common/b.o -c -xc -std=c11 - +304/402 Test #247: x86_64-range-extension-thunk3 ......................... Passed 2.87 sec +305/402 Test #304: x86_64-tail-call ...................................... Passed 0.30 sec +test 316 + Start 316: x86_64-tls-gd-to-ie + +316: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tls-gd-to-ie.sh" +316: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +316: Environment variables: +316: MACHINE=x86_64 +316: CPU= +316: Test timeout computed to be: 1500 +test 317 + Start 317: x86_64-tls-gd + +317: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tls-gd.sh" +317: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +317: Environment variables: +317: MACHINE=x86_64 +317: CPU= +317: Test timeout computed to be: 1500 315: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-gd-noplt.sh 315: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 315: ++ export LC_ALL=C @@ -23775,35 +23817,32 @@ 315: ++ OBJCOPY=objcopy 315: ++ STRIP=strip 315: ++ QEMU= -307: + out/test/x86_64/textrel2/exe4 315: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-gd-noplt.sh .sh -307: + grep 'Hello world' 315: ++ testname=tls-gd-noplt 315: ++ t=out/test/x86_64/tls-gd-noplt 315: ++ mkdir -p out/test/x86_64/tls-gd-noplt -307: Hello world -307: + on_exit -307: + echo OK -307: OK -307: + exit 0 -304/402 Test #307: x86_64-textrel2 ....................................... Passed 0.28 sec -test 316 - Start 316: x86_64-tls-gd-to-ie - -316: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tls-gd-to-ie.sh" -316: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -316: Environment variables: -316: MACHINE=x86_64 -316: CPU= -316: Test timeout computed to be: 1500 -315: ++ case $MACHINE in -315: ++ tlsdesc_opt=-mtls-dialect=gnu2 +308: + cat +308: + cc -o out/test/x86_64/thin-archive/c.o -c -xc - +308: + cc -o out/test/x86_64/thin-archive/d.o -c -xc - +313: ++ case $MACHINE in +313: ++ tlsdesc_opt=-mtls-dialect=gnu2 +313: +++ uname +313: ++ '[' Linux = FreeBSD ']' +313: ++ trap 'on_error $LINENO' ERR +313: ++ trap on_exit EXIT +313: ++ echo -n 'Testing tls-dso ... ' +313: Testing tls-dso ... ++ set -o pipefail +313: ++ set -x +313: + cc -fPIC -shared -o out/test/x86_64/tls-dso/a.so -xc - +313: + cat +310: + cat +310: + cc -fPIC -c -o out/test/x86_64/tls-alignment-multi/b.o -xc - +312: + cc -B. -shared -o out/test/x86_64/tls-df-static-tls/b.so out/test/x86_64/tls-df-static-tls/a.o -Wl,--relax 316: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-gd-to-ie.sh 316: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 316: ++ export LC_ALL=C 316: ++ LC_ALL=C 316: ++ '[' -z x86_64 ']' -315: +++ uname 316: ++ '[' -z '' ']' 316: ++ TESTDIR=out/test/x86_64 316: ++ CC=cc @@ -23814,69 +23853,92 @@ 316: ++ OBJCOPY=objcopy 316: ++ STRIP=strip 316: ++ QEMU= -315: ++ '[' Linux = FreeBSD ']' -311: + grep -F .tls_common -315: ++ trap 'on_error $LINENO' ERR -312: + readelf --dynamic out/test/x86_64/tls-df-static-tls/b.so -312: + grep STATIC_TLS -315: ++ trap on_exit EXIT -315: ++ echo -n 'Testing tls-gd-noplt ... ' -315: Testing tls-gd-noplt ... ++ set -o pipefail -315: ++ set -x -315: + cat -315: + gcc -fPIC -fno-plt -c -o out/test/x86_64/tls-gd-noplt/a.o -xc - -311: + readelf -WS out/test/x86_64/tls-common/exe +308: + cat +317: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-gd.sh +311: + cc -B. -o out/test/x86_64/tls-common/exe out/test/x86_64/tls-common/a.o out/test/x86_64/tls-common/b.o +307: + grep -F .relr.dyn +307: + readelf -WS out/test/x86_64/textrel2/exe3 +317: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +317: ++ export LC_ALL=C +317: ++ LC_ALL=C +317: ++ '[' -z x86_64 ']' +317: ++ '[' -z '' ']' +317: ++ TESTDIR=out/test/x86_64 +317: ++ CC=cc +317: ++ CXX=c++ +317: ++ GCC=gcc +317: ++ GXX=g++ +317: ++ OBJDUMP=objdump +317: ++ OBJCOPY=objcopy +317: ++ STRIP=strip +317: ++ QEMU= 316: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-gd-to-ie.sh .sh +307: [11] .relr.dyn RELR 0000000000000600 000600 000020 08 A 0 0 8 316: ++ testname=tls-gd-to-ie 316: ++ t=out/test/x86_64/tls-gd-to-ie 316: ++ mkdir -p out/test/x86_64/tls-gd-to-ie +317: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-gd.sh .sh +317: ++ testname=tls-gd +317: ++ t=out/test/x86_64/tls-gd +317: ++ mkdir -p out/test/x86_64/tls-gd +307: + grep 'Hello world' 316: ++ case $MACHINE in -314: + cc -B. -shared -o out/test/x86_64/tls-gd-dlopen/b.so out/test/x86_64/tls-gd-dlopen/a.o -312: 0x000000000000001e (FLAGS) STATIC_TLS -312: + cc -B. -shared -o out/test/x86_64/tls-df-static-tls/c.so out/test/x86_64/tls-df-static-tls/a.o -Wl,--no-relax 316: ++ tlsdesc_opt=-mtls-dialect=gnu2 +315: ++ case $MACHINE in +315: ++ tlsdesc_opt=-mtls-dialect=gnu2 +307: + out/test/x86_64/textrel2/exe3 +307: Hello world +307: + cc -B. -o out/test/x86_64/textrel2/exe4 out/test/x86_64/textrel2/a.o -pie -Wl,-z,pack-relative-relocs +317: ++ case $MACHINE in +317: ++ tlsdesc_opt=-mtls-dialect=gnu2 308: + rm -f out/test/x86_64/thin-archive/d.a +315: +++ uname 316: +++ uname -311: [21] .tls_common NOBITS 0000000000002764 000764 000004 00 WAT 0 0 4 -310: + out/test/x86_64/tls-alignment-multi/exe -311: + out/test/x86_64/tls-common/exe +315: ++ '[' Linux = FreeBSD ']' +315: ++ trap 'on_error $LINENO' ERR +315: ++ trap on_exit EXIT +315: ++ echo -n 'Testing tls-gd-noplt ... ' +315: Testing tls-gd-noplt ... ++ set -o pipefail +315: ++ set -x 316: ++ '[' Linux = FreeBSD ']' -311: + grep '^foo=0$' 316: ++ trap 'on_error $LINENO' ERR 316: ++ trap on_exit EXIT 316: ++ echo -n 'Testing tls-gd-to-ie ... ' -309: + cc -B. -o out/test/x86_64/thread-count/exe out/test/x86_64/thread-count/a.o -Wl,-threads=1 316: Testing tls-gd-to-ie ... ++ set -o pipefail 316: ++ set -x -302: + not cc -B. -o out/test/x86_64/sysroot/exe out/test/x86_64/sysroot/c.o -lfoo -310: + on_exit -310: + echo OK -310: OK -310: + exit 0 -313: + cat +315: + gcc -fPIC -fno-plt -c -o out/test/x86_64/tls-gd-noplt/a.o -xc - 316: + cat -305/402 Test #310: x86_64-tls-alignment-multi ............................ Passed 0.22 sec +315: + cat +317: +++ uname +312: + grep STATIC_TLS +317: ++ '[' Linux = FreeBSD ']' +317: ++ trap 'on_error $LINENO' ERR +317: ++ trap on_exit EXIT +317: ++ echo -n 'Testing tls-gd ... ' +317: Testing tls-gd ... ++ set -o pipefail +317: ++ set -x +317: + cat +312: + readelf --dynamic out/test/x86_64/tls-df-static-tls/b.so +312: 0x000000000000001e (FLAGS) STATIC_TLS +312: + cc -B. -shared -o out/test/x86_64/tls-df-static-tls/c.so out/test/x86_64/tls-df-static-tls/a.o -Wl,--no-relax +314: + cc -B. -shared -o out/test/x86_64/tls-gd-dlopen/b.so out/test/x86_64/tls-gd-dlopen/a.o +317: + gcc -fPIC -c -o out/test/x86_64/tls-gd/a.o -xc - +310: + cc -B. -shared -o out/test/x86_64/tls-alignment-multi/a.so out/test/x86_64/tls-alignment-multi/a.o 316: + gcc -fPIC -c -o out/test/x86_64/tls-gd-to-ie/a.o -xc - +302: + cc -B. -o out/test/x86_64/sysroot/exe out/test/x86_64/sysroot/c.o -Wl,--sysroot=out/test/x86_64/sysroot/ -Wl,-L=/foo/bar -lfoo +311: + grep -F .tls_common +311: + readelf -WS out/test/x86_64/tls-common/exe 308: + cd out/test/x86_64/thin-archive -308: ++ pwd -308: + ar rcsT d.a long-long-long-filename.o b.o /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/out/test/x86_64/thin-archive/c.o +311: [21] .tls_common NOBITS 0000000000002764 000764 000004 00 WAT 0 0 4 +311: + grep '^foo=0$' +309: + cc -B. -o out/test/x86_64/thread-count/exe out/test/x86_64/thread-count/a.o -Wl,-threads +311: + out/test/x86_64/tls-common/exe 311: foo=0 311: + on_exit 311: + echo OK 311: OK 311: + exit 0 -313: + cc -c -o out/test/x86_64/tls-dso/b.o -xc - -test 317 - Start 317: x86_64-tls-gd - -317: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tls-gd.sh" -317: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -317: Environment variables: -317: MACHINE=x86_64 -317: CPU= -317: Test timeout computed to be: 1500 -308: + cc -B. -Wl,--trace -o out/test/x86_64/thin-archive/exe out/test/x86_64/thin-archive/d.o out/test/x86_64/thin-archive/d.a -306/402 Test #311: x86_64-tls-common ..................................... Passed 0.14 sec +306/402 Test #311: x86_64-tls-common ..................................... Passed 0.17 sec test 318 Start 318: x86_64-tls-ie @@ -23886,8 +23948,33 @@ 318: MACHINE=x86_64 318: CPU= 318: Test timeout computed to be: 1500 -317: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-gd.sh +308: ++ pwd +308: + ar rcsT d.a long-long-long-filename.o b.o /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu/out/test/x86_64/thin-archive/c.o +308: + cc -B. -Wl,--trace -o out/test/x86_64/thin-archive/exe out/test/x86_64/thin-archive/d.o out/test/x86_64/thin-archive/d.a +307: + grep 'Hello world' +317: + gcc -fPIC -c -o out/test/x86_64/tls-gd/b.o -xc - +317: + cat +314: + cat +314: + gcc -fPIC -c -o out/test/x86_64/tls-gd-dlopen/c.o -xc - +307: + out/test/x86_64/textrel2/exe4 +312: + grep STATIC_TLS +312: + readelf --dynamic out/test/x86_64/tls-df-static-tls/c.so +312: 0x000000000000001e (FLAGS) STATIC_TLS +312: + on_exit +312: + echo OK +312: OK +312: + exit 0 +307/402 Test #312: x86_64-tls-df-static-tls .............................. Passed 0.18 sec 318: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-ie.sh +test 319 + Start 319: x86_64-tls-irregular-start-addr + +319: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tls-irregular-start-addr.sh" +319: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +319: Environment variables: +319: MACHINE=x86_64 +319: CPU= +319: Test timeout computed to be: 1500 318: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 318: ++ export LC_ALL=C 318: ++ LC_ALL=C @@ -23902,71 +23989,35 @@ 318: ++ OBJCOPY=objcopy 318: ++ STRIP=strip 318: ++ QEMU= -317: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -317: ++ export LC_ALL=C -317: ++ LC_ALL=C -317: ++ '[' -z x86_64 ']' -317: ++ '[' -z '' ']' -317: ++ TESTDIR=out/test/x86_64 -317: ++ CC=cc -317: ++ CXX=c++ -317: ++ GCC=gcc -317: ++ GXX=g++ -317: ++ OBJDUMP=objdump -317: ++ OBJCOPY=objcopy -317: ++ STRIP=strip -317: ++ QEMU= -317: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-gd.sh .sh -318: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-ie.sh .sh -275: 3 printf("Hello world\n"); -275: + on_exit -275: + echo OK -275: OK -275: + exit 0 -317: ++ testname=tls-gd -317: ++ t=out/test/x86_64/tls-gd -317: ++ mkdir -p out/test/x86_64/tls-gd -307/402 Test #275: x86_64-separate-debug-file ............................ Passed 1.64 sec -test 319 - Start 319: x86_64-tls-irregular-start-addr +307: Hello world +307: + on_exit +307: + echo OK +307: OK +307: + exit 0 +316: + cc -fPIC -c -o out/test/x86_64/tls-gd-to-ie/b.o -xc - +316: + cat +315: + gcc -fPIC -fno-plt -c -o out/test/x86_64/tls-gd-noplt/b.o -xc - +315: + cat +308/402 Test #307: x86_64-textrel2 ....................................... Passed 0.37 sec +test 320 + Start 320: x86_64-tls-large-alignment -319: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tls-irregular-start-addr.sh" -319: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -319: Environment variables: -319: MACHINE=x86_64 -319: CPU= -319: Test timeout computed to be: 1500 +320: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tls-large-alignment.sh" +320: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +320: Environment variables: +320: MACHINE=x86_64 +320: CPU= +320: Test timeout computed to be: 1500 +314: + cc -B. -o out/test/x86_64/tls-gd-dlopen/exe out/test/x86_64/tls-gd-dlopen/c.o -ldl +318: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-ie.sh .sh 318: ++ testname=tls-ie 318: ++ t=out/test/x86_64/tls-ie 318: ++ mkdir -p out/test/x86_64/tls-ie -318: ++ case $MACHINE in -318: ++ tlsdesc_opt=-mtls-dialect=gnu2 -318: +++ uname -317: ++ case $MACHINE in -317: ++ tlsdesc_opt=-mtls-dialect=gnu2 -317: +++ uname -317: ++ '[' Linux = FreeBSD ']' -317: ++ trap 'on_error $LINENO' ERR -317: ++ trap on_exit EXIT -317: ++ echo -n 'Testing tls-gd ... ' -317: Testing tls-gd ... ++ set -o pipefail -317: ++ set -x -302: + not cc -B. -o out/test/x86_64/sysroot/exe out/test/x86_64/sysroot/c.o -Wl,--sysroot=out/test/x86_64/sysroot -Wl,-Lfoo/bar -lfoo -317: + cat -318: ++ '[' Linux = FreeBSD ']' -317: + gcc -fPIC -c -o out/test/x86_64/tls-gd/a.o -xc - -318: ++ trap 'on_error $LINENO' ERR -318: ++ trap on_exit EXIT -318: ++ echo -n 'Testing tls-ie ... ' -318: Testing tls-ie ... ++ set -o pipefail -318: ++ set -x 319: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-irregular-start-addr.sh -318: + cat 319: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 319: ++ export LC_ALL=C 319: ++ LC_ALL=C 319: ++ '[' -z x86_64 ']' -318: + gcc -fPIC -c -o out/test/x86_64/tls-ie/a.o -xc - 319: ++ '[' -z '' ']' 319: ++ TESTDIR=out/test/x86_64 319: ++ CC=cc @@ -23977,48 +24028,40 @@ 319: ++ OBJCOPY=objcopy 319: ++ STRIP=strip 319: ++ QEMU= +317: + cat +317: + gcc -fPIC -c -o out/test/x86_64/tls-gd/c.o -xc - +310: + cc -B. -ldl -pthread -o out/test/x86_64/tls-alignment-multi/exe out/test/x86_64/tls-alignment-multi/b.o -Wl,-rpath,out/test/x86_64/tls-alignment-multi +302: + cc -B. -o out/test/x86_64/sysroot/exe out/test/x86_64/sysroot/c.o -Wl,--sysroot=out/test/x86_64/sysroot/ '-Wl,-L$SYSROOTfoo/bar' -lfoo +318: ++ case $MACHINE in +318: ++ tlsdesc_opt=-mtls-dialect=gnu2 +318: +++ uname 319: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-irregular-start-addr.sh .sh 319: ++ testname=tls-irregular-start-addr 319: ++ t=out/test/x86_64/tls-irregular-start-addr 319: ++ mkdir -p out/test/x86_64/tls-irregular-start-addr -315: + cat -315: + gcc -fPIC -fno-plt -c -o out/test/x86_64/tls-gd-noplt/b.o -xc - 319: ++ case $MACHINE in 319: ++ tlsdesc_opt=-mtls-dialect=gnu2 319: +++ uname -312: + grep STATIC_TLS -309: + cc -B. -o out/test/x86_64/thread-count/exe out/test/x86_64/thread-count/a.o -Wl,--threads=1 319: ++ '[' Linux = FreeBSD ']' -312: + readelf --dynamic out/test/x86_64/tls-df-static-tls/c.so +318: ++ '[' Linux = FreeBSD ']' +318: ++ trap 'on_error $LINENO' ERR +318: ++ trap on_exit EXIT +318: ++ echo -n 'Testing tls-ie ... ' +318: Testing tls-ie ... ++ set -o pipefail +318: ++ set -x 319: ++ trap 'on_error $LINENO' ERR 319: ++ trap on_exit EXIT 319: ++ echo -n 'Testing tls-irregular-start-addr ... ' 319: Testing tls-irregular-start-addr ... ++ set -o pipefail 319: ++ set -x -319: + cat -316: + cat 319: + cc -fPIC -c -o out/test/x86_64/tls-irregular-start-addr/a.o -xc - -316: + cc -fPIC -c -o out/test/x86_64/tls-gd-to-ie/b.o -xc - -312: 0x000000000000001e (FLAGS) STATIC_TLS -312: + on_exit -312: + echo OK -312: OK -312: + exit 0 -308/402 Test #312: x86_64-tls-df-static-tls .............................. Passed 0.17 sec -test 320 - Start 320: x86_64-tls-large-alignment - -320: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tls-large-alignment.sh" -320: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -320: Environment variables: -320: MACHINE=x86_64 -320: CPU= -320: Test timeout computed to be: 1500 +313: + cat +319: + cat +316: + cc -B. -shared -o out/test/x86_64/tls-gd-to-ie/c.so out/test/x86_64/tls-gd-to-ie/a.o +317: + cc -B. -shared -o out/test/x86_64/tls-gd/d.so out/test/x86_64/tls-gd/b.o 320: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-large-alignment.sh -313: + cc -B. -o out/test/x86_64/tls-dso/exe out/test/x86_64/tls-dso/a.so out/test/x86_64/tls-dso/b.o 320: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 320: ++ export LC_ALL=C -308: + grep -E 'thin-archive/d.a\(.*long-long-long-filename.o\)' out/test/x86_64/thin-archive/log 320: ++ LC_ALL=C 320: ++ '[' -z x86_64 ']' 320: ++ '[' -z '' ']' @@ -24031,23 +24074,41 @@ 320: ++ OBJCOPY=objcopy 320: ++ STRIP=strip 320: ++ QEMU= +313: + cc -c -o out/test/x86_64/tls-dso/b.o -xc - 320: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-large-alignment.sh .sh 320: ++ testname=tls-large-alignment 320: ++ t=out/test/x86_64/tls-large-alignment 320: ++ mkdir -p out/test/x86_64/tls-large-alignment -314: + cat -314: + gcc -fPIC -c -o out/test/x86_64/tls-gd-dlopen/c.o -xc - -308: trace: out/test/x86_64/thin-archive/d.a(out/test/x86_64/thin-archive/long-long-long-filename.o) +318: + cat +318: + gcc -fPIC -c -o out/test/x86_64/tls-ie/a.o -xc - 320: ++ case $MACHINE in 320: ++ tlsdesc_opt=-mtls-dialect=gnu2 -308: + grep -E 'thin-archive/d.a\((.*/)?b.o\)' out/test/x86_64/thin-archive/log +309: + cc -B. -o out/test/x86_64/thread-count/exe out/test/x86_64/thread-count/a.o -Wl,-threads=1 320: +++ uname -302: + on_exit -302: + echo OK -302: OK -302: + exit 0 -317: + cat -309/402 Test #302: x86_64-sysroot ........................................ Passed 0.44 sec +314: + out/test/x86_64/tls-gd-dlopen/exe out/test/x86_64/tls-gd-dlopen/b.so +314: + grep '3 0 5' +320: ++ '[' Linux = FreeBSD ']' +320: ++ trap 'on_error $LINENO' ERR +320: ++ trap on_exit EXIT +320: ++ echo -n 'Testing tls-large-alignment ... ' +320: Testing tls-large-alignment ... ++ set -o pipefail +320: ++ set -x +320: + cat +320: + cc -fPIC -std=c11 -c -o out/test/x86_64/tls-large-alignment/a.o -xc - +317: + cc -B. -shared -o out/test/x86_64/tls-gd/e.so out/test/x86_64/tls-gd/c.o -Wl,--no-relax +315: + cat +319: + cc -B. -o out/test/x86_64/tls-irregular-start-addr/exe1 out/test/x86_64/tls-irregular-start-addr/a.o -pie -Wl,-section-start=.tdata=0x100001 -Wl,-relax +309: + cc -B. -o out/test/x86_64/thread-count/exe out/test/x86_64/thread-count/a.o -Wl,--threads=1 +308: + grep -E 'thin-archive/d.a\(.*long-long-long-filename.o\)' out/test/x86_64/thin-archive/log +314: 3 0 5 +314: + on_exit +314: + echo OK +314: OK +314: + exit 0 +316: + cc -B. -o out/test/x86_64/tls-gd-to-ie/exe1 out/test/x86_64/tls-gd-to-ie/b.o out/test/x86_64/tls-gd-to-ie/c.so +315: + gcc -fPIC -fno-plt -c -o out/test/x86_64/tls-gd-noplt/c.o -xc - +302: + cc -B. -o out/test/x86_64/sysroot/exe out/test/x86_64/sysroot/c.o -Wl,--sysroot=out/test/x86_64/sysroot/ '-Wl,-L$SYSROOT/foo/bar' -lfoo +309/402 Test #314: x86_64-tls-gd-dlopen .................................. Passed 0.22 sec test 321 Start 321: x86_64-tls-large-static-image @@ -24057,32 +24118,15 @@ 321: MACHINE=x86_64 321: CPU= 321: Test timeout computed to be: 1500 -320: ++ '[' Linux = FreeBSD ']' -320: ++ trap 'on_error $LINENO' ERR -320: ++ trap on_exit EXIT -320: ++ echo -n 'Testing tls-large-alignment ... ' -320: Testing tls-large-alignment ... ++ set -o pipefail -320: ++ set -x -320: + cat -320: + cc -fPIC -std=c11 -c -o out/test/x86_64/tls-large-alignment/a.o -xc - +313: + cc -B. -o out/test/x86_64/tls-dso/exe out/test/x86_64/tls-dso/a.so out/test/x86_64/tls-dso/b.o +308: trace: out/test/x86_64/thin-archive/d.a(out/test/x86_64/thin-archive/long-long-long-filename.o) +308: + grep -E 'thin-archive/d.a\((.*/)?b.o\)' out/test/x86_64/thin-archive/log 308: trace: out/test/x86_64/thin-archive/d.a(out/test/x86_64/thin-archive/b.o) 308: + grep -F thin-archive/d.o out/test/x86_64/thin-archive/log -308: trace: out/test/x86_64/thin-archive/d.o -318: + cc -B. -shared -o out/test/x86_64/tls-ie/b.so out/test/x86_64/tls-ie/a.o -317: + gcc -fPIC -c -o out/test/x86_64/tls-gd/b.o -xc - -308: + grep 15 -308: + out/test/x86_64/thin-archive/exe 321: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-large-static-image.sh -308: 15 -315: + cat 321: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 321: ++ export LC_ALL=C 321: ++ LC_ALL=C -315: + gcc -fPIC -fno-plt -c -o out/test/x86_64/tls-gd-noplt/c.o -xc - -308: + on_exit -308: + echo OK -308: OK -308: + exit 0 321: ++ '[' -z x86_64 ']' 321: ++ '[' -z '' ']' 321: ++ TESTDIR=out/test/x86_64 @@ -24094,8 +24138,18 @@ 321: ++ OBJCOPY=objcopy 321: ++ STRIP=strip 321: ++ QEMU= -321: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-large-static-image.sh .sh -310/402 Test #308: x86_64-thin-archive ................................... Passed 0.30 sec +308: trace: out/test/x86_64/thin-archive/d.o +308: + grep 15 +308: + out/test/x86_64/thin-archive/exe +308: 15 +308: + on_exit +308: + echo OK +308: OK +308: + exit 0 +315: + cc -B. -shared -o out/test/x86_64/tls-gd-noplt/d.so out/test/x86_64/tls-gd-noplt/b.o +320: + cat +320: + cc -fPIC -std=c11 -c -o out/test/x86_64/tls-large-alignment/b.o -xc - +310/402 Test #308: x86_64-thin-archive ................................... Passed 0.38 sec test 322 Start 322: x86_64-tls-ld-noplt @@ -24105,24 +24159,22 @@ 322: MACHINE=x86_64 322: CPU= 322: Test timeout computed to be: 1500 +318: + cc -B. -shared -o out/test/x86_64/tls-ie/b.so out/test/x86_64/tls-ie/a.o +321: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-large-static-image.sh .sh 321: ++ testname=tls-large-static-image 321: ++ t=out/test/x86_64/tls-large-static-image 321: ++ mkdir -p out/test/x86_64/tls-large-static-image -321: ++ case $MACHINE in -321: ++ tlsdesc_opt=-mtls-dialect=gnu2 -321: +++ uname -321: ++ '[' Linux = FreeBSD ']' -321: ++ trap 'on_error $LINENO' ERR -321: ++ trap on_exit EXIT -321: ++ echo -n 'Testing tls-large-static-image ... ' -321: Testing tls-large-static-image ... ++ set -o pipefail -321: ++ set -x -321: + cat +310: + out/test/x86_64/tls-alignment-multi/exe +302: + not cc -B. -o out/test/x86_64/sysroot/exe out/test/x86_64/sysroot/c.o -lfoo +316: + grep '1 2 3' +316: + out/test/x86_64/tls-gd-to-ie/exe1 +316: 1 2 3 +316: + cc -B. -shared -o out/test/x86_64/tls-gd-to-ie/d.so out/test/x86_64/tls-gd-to-ie/a.o -Wl,-no-relax 309: + on_exit 309: + echo OK 309: OK 309: + exit 0 -316: + cc -B. -shared -o out/test/x86_64/tls-gd-to-ie/c.so out/test/x86_64/tls-gd-to-ie/a.o +317: + cc -B. -o out/test/x86_64/tls-gd/exe1 out/test/x86_64/tls-gd/a.o out/test/x86_64/tls-gd/d.so out/test/x86_64/tls-gd/e.so 322: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-ld-noplt.sh 322: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 322: ++ export LC_ALL=C @@ -24138,14 +24190,8 @@ 322: ++ OBJCOPY=objcopy 322: ++ STRIP=strip 322: ++ QEMU= -311/402 Test #309: x86_64-thread-count ................................... Passed 0.30 sec +311/402 Test #309: x86_64-thread-count ................................... Passed 0.38 sec 322: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-ld-noplt.sh .sh -322: ++ testname=tls-ld-noplt -322: ++ t=out/test/x86_64/tls-ld-noplt -322: ++ mkdir -p out/test/x86_64/tls-ld-noplt -322: ++ case $MACHINE in -322: ++ tlsdesc_opt=-mtls-dialect=gnu2 -321: + cc -fPIC -c -o out/test/x86_64/tls-large-static-image/a.o -xc - test 323 Start 323: x86_64-tls-ld @@ -24155,31 +24201,19 @@ 323: MACHINE=x86_64 323: CPU= 323: Test timeout computed to be: 1500 -322: +++ uname -322: ++ '[' Linux = FreeBSD ']' -322: ++ trap 'on_error $LINENO' ERR -322: ++ trap on_exit EXIT -322: ++ echo -n 'Testing tls-ld-noplt ... ' -322: Testing tls-ld-noplt ... ++ set -o pipefail -322: ++ set -x -322: + gcc -fPIC -ftls-model=local-dynamic -fno-plt -c -o out/test/x86_64/tls-ld-noplt/a.o -xc - -322: + cat -320: + cat -320: + cc -fPIC -std=c11 -c -o out/test/x86_64/tls-large-alignment/b.o -xc - -319: + cc -B. -o out/test/x86_64/tls-irregular-start-addr/exe1 out/test/x86_64/tls-irregular-start-addr/a.o -pie -Wl,-section-start=.tdata=0x100001 -Wl,-relax -313: + out/test/x86_64/tls-dso/exe +322: ++ testname=tls-ld-noplt +322: ++ t=out/test/x86_64/tls-ld-noplt +322: ++ mkdir -p out/test/x86_64/tls-ld-noplt +321: ++ case $MACHINE in +321: ++ tlsdesc_opt=-mtls-dialect=gnu2 +319: + grep '^42$' +319: + out/test/x86_64/tls-irregular-start-addr/exe1 +310: + on_exit +310: + echo OK +310: OK +310: + exit 0 313: + grep '5 3 5 3 5 3' -323: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-ld.sh -323: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -313: 5 3 5 3 5 3 -313: + on_exit -323: ++ export LC_ALL=C -323: ++ LC_ALL=C -313: + echo OK -313: OK -313: + exit 0 -323: ++ '[' -z x86_64 ']' -312/402 Test #313: x86_64-tls-dso ........................................ Passed 0.21 sec +312/402 Test #310: x86_64-tls-alignment-multi ............................ Passed 0.34 sec test 324 Start 324: x86_64-tls-le-error @@ -24189,8 +24223,24 @@ 324: MACHINE=x86_64 324: CPU= 324: Test timeout computed to be: 1500 -317: + gcc -fPIC -c -o out/test/x86_64/tls-gd/c.o -xc - -317: + cat +319: 42 +319: + cc -B. -o out/test/x86_64/tls-irregular-start-addr/exe2 out/test/x86_64/tls-irregular-start-addr/a.o -pie -Wl,-section-start=.tdata=0x100001 -Wl,-no-relax +321: +++ uname +321: ++ '[' Linux = FreeBSD ']' +321: ++ trap 'on_error $LINENO' ERR +321: ++ trap on_exit EXIT +321: ++ echo -n 'Testing tls-large-static-image ... ' +321: Testing tls-large-static-image ... ++ set -o pipefail +321: ++ set -x +321: + cat +321: + cc -fPIC -c -o out/test/x86_64/tls-large-static-image/a.o -xc - +313: + out/test/x86_64/tls-dso/exe +313: 5 3 5 3 5 3 +323: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-ld.sh +323: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +323: ++ export LC_ALL=C +323: ++ LC_ALL=C +323: ++ '[' -z x86_64 ']' 323: ++ '[' -z '' ']' 323: ++ TESTDIR=out/test/x86_64 323: ++ CC=cc @@ -24205,12 +24255,33 @@ 323: ++ testname=tls-ld 323: ++ t=out/test/x86_64/tls-ld 323: ++ mkdir -p out/test/x86_64/tls-ld -314: + cc -B. -o out/test/x86_64/tls-gd-dlopen/exe out/test/x86_64/tls-gd-dlopen/c.o -ldl -321: + cc -fPIC -c -o out/test/x86_64/tls-large-static-image/b.o -xc - -321: + cat 323: ++ case $MACHINE in 323: ++ tlsdesc_opt=-mtls-dialect=gnu2 -324: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-le-error.sh +322: ++ case $MACHINE in +322: ++ tlsdesc_opt=-mtls-dialect=gnu2 +322: +++ uname +322: ++ '[' Linux = FreeBSD ']' +322: ++ trap 'on_error $LINENO' ERR +322: ++ trap on_exit EXIT +322: ++ echo -n 'Testing tls-ld-noplt ... ' +322: Testing tls-ld-noplt ... ++ set -o pipefail +322: ++ set -x +322: + cat +322: + gcc -fPIC -ftls-model=local-dynamic -fno-plt -c -o out/test/x86_64/tls-ld-noplt/a.o -xc - +313: + on_exit +313: + echo OK +313: OK +313: + exit 0 +313/402 Test #313: x86_64-tls-dso ........................................ Passed 0.30 sec +test 325 + Start 325: x86_64-tls-le + +325: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tls-le.sh" +325: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +325: Environment variables: +325: MACHINE=x86_64 +325: CPU= +325: Test timeout computed to be: 1500 323: +++ uname 323: ++ '[' Linux = FreeBSD ']' 323: ++ trap 'on_error $LINENO' ERR @@ -24218,8 +24289,15 @@ 323: ++ echo -n 'Testing tls-ld ... ' 323: Testing tls-ld ... ++ set -o pipefail 323: ++ set -x -323: + cat 323: + cc -fPIC -ftls-model=local-dynamic -c -o out/test/x86_64/tls-ld/a.o -xc - +323: + cat +320: + cat +320: + cc -fPIC -c -o out/test/x86_64/tls-large-alignment/c.o -xc - +315: + cc -B. -shared -o out/test/x86_64/tls-gd-noplt/e.so out/test/x86_64/tls-gd-noplt/c.o -Wl,--no-relax +316: + cc -B. -o out/test/x86_64/tls-gd-to-ie/exe2 out/test/x86_64/tls-gd-to-ie/b.o out/test/x86_64/tls-gd-to-ie/d.so +318: + gcc -c -o out/test/x86_64/tls-ie/c.o -xc - -fPIC +318: + cat +324: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-le-error.sh 324: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 324: ++ export LC_ALL=C 324: ++ LC_ALL=C @@ -24234,60 +24312,23 @@ 324: ++ OBJCOPY=objcopy 324: ++ STRIP=strip 324: ++ QEMU= +317: + out/test/x86_64/tls-gd/exe1 +317: + grep '1 2 3 4 5 6' +317: 1 2 3 4 5 6 +317: + cc -B. -o out/test/x86_64/tls-gd/exe2 out/test/x86_64/tls-gd/a.o out/test/x86_64/tls-gd/d.so out/test/x86_64/tls-gd/e.so -Wl,-no-relax 324: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-le-error.sh .sh -315: + cc -B. -shared -o out/test/x86_64/tls-gd-noplt/d.so out/test/x86_64/tls-gd-noplt/b.o +302: + not cc -B. -o out/test/x86_64/sysroot/exe out/test/x86_64/sysroot/c.o -Wl,--sysroot=out/test/x86_64/sysroot -Wl,-Lfoo/bar -lfoo +320: + cc -B. -shared -o out/test/x86_64/tls-large-alignment/d.so out/test/x86_64/tls-large-alignment/a.o out/test/x86_64/tls-large-alignment/b.o 324: ++ testname=tls-le-error 324: ++ t=out/test/x86_64/tls-le-error 324: ++ mkdir -p out/test/x86_64/tls-le-error -320: + cat -320: + cc -fPIC -c -o out/test/x86_64/tls-large-alignment/c.o -xc - -324: ++ case $MACHINE in -324: ++ tlsdesc_opt=-mtls-dialect=gnu2 -324: +++ uname -316: + cc -B. -o out/test/x86_64/tls-gd-to-ie/exe1 out/test/x86_64/tls-gd-to-ie/b.o out/test/x86_64/tls-gd-to-ie/c.so -318: + cat -324: ++ '[' Linux = FreeBSD ']' -324: ++ trap 'on_error $LINENO' ERR -324: ++ trap on_exit EXIT -324: ++ echo -n 'Testing tls-le-error ... ' -324: Testing tls-le-error ... ++ set -o pipefail -324: ++ set -x -324: + cat -318: + gcc -c -o out/test/x86_64/tls-ie/c.o -xc - -fPIC -324: + gcc -fPIC -c -o out/test/x86_64/tls-le-error/a.o -xc - -322: + cat -322: + gcc -fPIC -ftls-model=local-dynamic -fno-plt -c -o out/test/x86_64/tls-ld-noplt/b.o -xc - -319: + out/test/x86_64/tls-irregular-start-addr/exe1 -319: + grep '^42$' -319: 42 -319: + cc -B. -o out/test/x86_64/tls-irregular-start-addr/exe2 out/test/x86_64/tls-irregular-start-addr/a.o -pie -Wl,-section-start=.tdata=0x100001 -Wl,-no-relax -317: + cc -B. -shared -o out/test/x86_64/tls-gd/d.so out/test/x86_64/tls-gd/b.o -322: + cc -B. -o out/test/x86_64/tls-ld-noplt/exe out/test/x86_64/tls-ld-noplt/a.o out/test/x86_64/tls-ld-noplt/b.o -320: + cc -B. -shared -o out/test/x86_64/tls-large-alignment/d.so out/test/x86_64/tls-large-alignment/a.o out/test/x86_64/tls-large-alignment/b.o -314: + out/test/x86_64/tls-gd-dlopen/exe out/test/x86_64/tls-gd-dlopen/b.so -314: + grep '3 0 5' -314: 3 0 5 -323: + cat -323: + gcc -fPIC -ftls-model=local-dynamic -c -o out/test/x86_64/tls-ld/b.o -xc - -314: + on_exit -314: + echo OK -314: OK -314: + exit 0 -313/402 Test #314: x86_64-tls-gd-dlopen .................................. Passed 0.27 sec -test 325 - Start 325: x86_64-tls-le - -325: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tls-le.sh" -325: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -325: Environment variables: -325: MACHINE=x86_64 -325: CPU= -325: Test timeout computed to be: 1500 -315: + cc -B. -shared -o out/test/x86_64/tls-gd-noplt/e.so out/test/x86_64/tls-gd-noplt/c.o -Wl,--no-relax -321: + cc -B. -o out/test/x86_64/tls-large-static-image/exe out/test/x86_64/tls-large-static-image/a.o out/test/x86_64/tls-large-static-image/b.o -324: + grep 'relocation .* against `foo` can not be used when making a shared object; recompile with -fPIC' +317: + grep '1 2 3 4 5 6' +317: + out/test/x86_64/tls-gd/exe2 +317: 1 2 3 4 5 6 +317: + test_cflags -static +317: + echo 'int main() {}' +317: + cc -B. -static -o /dev/null -xc - 325: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-le.sh -324: + not cc -B. -shared -o out/test/x86_64/tls-le-error/b.so out/test/x86_64/tls-le-error/a.o 325: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 325: ++ export LC_ALL=C 325: ++ LC_ALL=C @@ -24302,12 +24343,35 @@ 325: ++ OBJCOPY=objcopy 325: ++ STRIP=strip 325: ++ QEMU= +324: ++ case $MACHINE in +324: ++ tlsdesc_opt=-mtls-dialect=gnu2 +321: + cat 325: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-le.sh .sh 325: ++ testname=tls-le 325: ++ t=out/test/x86_64/tls-le 325: ++ mkdir -p out/test/x86_64/tls-le +324: +++ uname +321: + cc -fPIC -c -o out/test/x86_64/tls-large-static-image/b.o -xc - +324: ++ '[' Linux = FreeBSD ']' +324: ++ trap 'on_error $LINENO' ERR +324: ++ trap on_exit EXIT +324: ++ echo -n 'Testing tls-le-error ... ' +324: Testing tls-le-error ... ++ set -o pipefail +324: ++ set -x +323: + gcc -fPIC -ftls-model=local-dynamic -c -o out/test/x86_64/tls-ld/b.o -xc - +324: + gcc -fPIC -c -o out/test/x86_64/tls-le-error/a.o -xc - +316: + grep '1 2 3' 325: ++ case $MACHINE in 325: ++ tlsdesc_opt=-mtls-dialect=gnu2 +316: + out/test/x86_64/tls-gd-to-ie/exe2 +316: 1 2 3 +316: + cc -B. -shared -o out/test/x86_64/tls-gd-to-ie/e.so out/test/x86_64/tls-gd-to-ie/a.o -Wl,-z,nodlopen +322: + gcc -fPIC -ftls-model=local-dynamic -fno-plt -c -o out/test/x86_64/tls-ld-noplt/b.o -xc - +315: + cc -B. -o out/test/x86_64/tls-gd-noplt/exe out/test/x86_64/tls-gd-noplt/a.o out/test/x86_64/tls-gd-noplt/d.so out/test/x86_64/tls-gd-noplt/e.so +323: + cat +318: + cc -B. -o out/test/x86_64/tls-ie/exe out/test/x86_64/tls-ie/b.so out/test/x86_64/tls-ie/c.o +322: + cat +324: + cat 325: +++ uname 325: ++ '[' Linux = FreeBSD ']' 325: ++ trap 'on_error $LINENO' ERR @@ -24316,33 +24380,16 @@ 325: Testing tls-le ... ++ set -o pipefail 325: ++ set -x 325: + cat +320: + cc -B. -o out/test/x86_64/tls-large-alignment/exe1 out/test/x86_64/tls-large-alignment/a.o out/test/x86_64/tls-large-alignment/b.o out/test/x86_64/tls-large-alignment/c.o 325: + gcc -fPIC -c -o out/test/x86_64/tls-le/a.o -xc - -318: + cc -B. -o out/test/x86_64/tls-ie/exe out/test/x86_64/tls-ie/b.so out/test/x86_64/tls-ie/c.o -315: + cc -B. -o out/test/x86_64/tls-gd-noplt/exe out/test/x86_64/tls-gd-noplt/a.o out/test/x86_64/tls-gd-noplt/d.so out/test/x86_64/tls-gd-noplt/e.so -316: + grep '1 2 3' -317: + cc -B. -shared -o out/test/x86_64/tls-gd/e.so out/test/x86_64/tls-gd/c.o -Wl,--no-relax 319: + out/test/x86_64/tls-irregular-start-addr/exe2 +302: + on_exit +302: + echo OK +302: OK +302: + exit 0 319: + grep '^42$' -316: + out/test/x86_64/tls-gd-to-ie/exe1 +314/402 Test #302: x86_64-sysroot ........................................ Passed 0.74 sec 319: 42 -319: + cc -B. -o out/test/x86_64/tls-irregular-start-addr/exe3 out/test/x86_64/tls-irregular-start-addr/a.o -pie -Wl,-section-start=.tdata=0x10000f -Wl,-relax -323: + cc -B. -o out/test/x86_64/tls-ld/exe1 out/test/x86_64/tls-ld/a.o out/test/x86_64/tls-ld/b.o -Wl,-relax -316: 1 2 3 -316: + cc -B. -shared -o out/test/x86_64/tls-gd-to-ie/d.so out/test/x86_64/tls-gd-to-ie/a.o -Wl,-no-relax -320: + cc -B. -o out/test/x86_64/tls-large-alignment/exe1 out/test/x86_64/tls-large-alignment/a.o out/test/x86_64/tls-large-alignment/b.o out/test/x86_64/tls-large-alignment/c.o -322: + out/test/x86_64/tls-ld-noplt/exe -322: + grep '3 5 3 5' -322: 3 5 3 5 -322: + cc -B. -o out/test/x86_64/tls-ld-noplt/exe out/test/x86_64/tls-ld-noplt/a.o out/test/x86_64/tls-ld-noplt/b.o -Wl,-no-relax -317: + cc -B. -o out/test/x86_64/tls-gd/exe1 out/test/x86_64/tls-gd/a.o out/test/x86_64/tls-gd/d.so out/test/x86_64/tls-gd/e.so -324: mold: error: out/test/x86_64/tls-le-error/a.o:(.text): relocation R_X86_64_TPOFF32 against `foo` can not be used when making a shared object; recompile with -fPIC -324: + on_exit -324: + echo OK -324: OK -324: + exit 0 -314/402 Test #324: x86_64-tls-le-error ................................... Passed 0.15 sec -319: + out/test/x86_64/tls-irregular-start-addr/exe3 -319: + grep '^42$' test 326 Start 326: x86_64-tls-nopic @@ -24352,16 +24399,28 @@ 326: MACHINE=x86_64 326: CPU= 326: Test timeout computed to be: 1500 -319: 42 -319: + cc -B. -o out/test/x86_64/tls-irregular-start-addr/exe4 out/test/x86_64/tls-irregular-start-addr/a.o -pie -Wl,-section-start=.tdata=0x10000f -Wl,-no-relax +319: + cc -B. -o out/test/x86_64/tls-irregular-start-addr/exe3 out/test/x86_64/tls-irregular-start-addr/a.o -pie -Wl,-section-start=.tdata=0x10000f -Wl,-relax +321: + cc -B. -o out/test/x86_64/tls-large-static-image/exe out/test/x86_64/tls-large-static-image/a.o out/test/x86_64/tls-large-static-image/b.o +322: + cc -B. -o out/test/x86_64/tls-ld-noplt/exe out/test/x86_64/tls-ld-noplt/a.o out/test/x86_64/tls-ld-noplt/b.o +323: + cc -B. -o out/test/x86_64/tls-ld/exe1 out/test/x86_64/tls-ld/a.o out/test/x86_64/tls-ld/b.o -Wl,-relax +317: + cc -B. -o out/test/x86_64/tls-gd/exe3 out/test/x86_64/tls-gd/a.o out/test/x86_64/tls-gd/b.o out/test/x86_64/tls-gd/c.o -static +324: + grep 'relocation .* against `foo` can not be used when making a shared object; recompile with -fPIC' +324: + not cc -B. -shared -o out/test/x86_64/tls-le-error/b.so out/test/x86_64/tls-le-error/a.o +316: + cc -B. -o out/test/x86_64/tls-gd-to-ie/exe3 out/test/x86_64/tls-gd-to-ie/b.o out/test/x86_64/tls-gd-to-ie/e.so +326: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-nopic.sh 318: + grep '^0 0 3 5 7$' +315: + out/test/x86_64/tls-gd-noplt/exe +315: + grep '1 2 3 4 5 6' +315: 1 2 3 4 5 6 +315: + cc -B. -o out/test/x86_64/tls-gd-noplt/exe out/test/x86_64/tls-gd-noplt/a.o out/test/x86_64/tls-gd-noplt/d.so out/test/x86_64/tls-gd-noplt/e.so -Wl,-no-relax 318: + out/test/x86_64/tls-ie/exe -318: 0 0 3 5 7 -318: + cc -B. -o out/test/x86_64/tls-ie/exe out/test/x86_64/tls-ie/b.so out/test/x86_64/tls-ie/c.o -Wl,-no-relax -323: + grep '3 5 3 5' -323: + out/test/x86_64/tls-ld/exe1 -326: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-nopic.sh -323: 3 5 3 5 +321: + grep '^1 2 3 0 5$' +321: + out/test/x86_64/tls-large-static-image/exe +321: 1 2 3 0 5 +321: + on_exit +321: + echo OK +321: OK +321: + exit 0 326: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 326: ++ export LC_ALL=C 326: ++ LC_ALL=C @@ -24377,34 +24436,29 @@ 326: ++ STRIP=strip 326: ++ QEMU= 326: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-nopic.sh .sh -323: + cc -B. -o out/test/x86_64/tls-ld/exe2 out/test/x86_64/tls-ld/a.o out/test/x86_64/tls-ld/b.o -Wl,-no-relax +320: + grep '^42 1 2 3$' +320: + out/test/x86_64/tls-large-alignment/exe1 +320: 42 1 2 3 +320: + cc -B. -o out/test/x86_64/tls-large-alignment/exe2 out/test/x86_64/tls-large-alignment/c.o out/test/x86_64/tls-large-alignment/d.so 326: ++ testname=tls-nopic 326: ++ t=out/test/x86_64/tls-nopic 326: ++ mkdir -p out/test/x86_64/tls-nopic -316: + cc -B. -o out/test/x86_64/tls-gd-to-ie/exe2 out/test/x86_64/tls-gd-to-ie/b.o out/test/x86_64/tls-gd-to-ie/d.so +318: 0 0 3 5 7 326: ++ case $MACHINE in 326: ++ tlsdesc_opt=-mtls-dialect=gnu2 +325: + cat 326: +++ uname -315: + grep '1 2 3 4 5 6' -315: + out/test/x86_64/tls-gd-noplt/exe +325: + gcc -fPIC -c -o out/test/x86_64/tls-le/b.o -xc - 326: ++ '[' Linux = FreeBSD ']' 326: ++ trap 'on_error $LINENO' ERR 326: ++ trap on_exit EXIT 326: ++ echo -n 'Testing tls-nopic ... ' 326: Testing tls-nopic ... ++ set -o pipefail 326: ++ set -x -326: + cat 326: + gcc -c -o out/test/x86_64/tls-nopic/a.o -xc - -315: 1 2 3 4 5 6 -315: + cc -B. -o out/test/x86_64/tls-gd-noplt/exe out/test/x86_64/tls-gd-noplt/a.o out/test/x86_64/tls-gd-noplt/d.so out/test/x86_64/tls-gd-noplt/e.so -Wl,-no-relax -321: + out/test/x86_64/tls-large-static-image/exe -321: + grep '^1 2 3 0 5$' -321: 1 2 3 0 5 -321: + on_exit -321: + echo OK -321: OK -321: + exit 0 -315/402 Test #321: x86_64-tls-large-static-image ......................... Passed 0.23 sec +326: + cat +318: + cc -B. -o out/test/x86_64/tls-ie/exe out/test/x86_64/tls-ie/b.so out/test/x86_64/tls-ie/c.o -Wl,-no-relax +315/402 Test #321: x86_64-tls-large-static-image ......................... Passed 0.24 sec test 327 Start 327: x86_64-tls-pic @@ -24414,22 +24468,19 @@ 327: MACHINE=x86_64 327: CPU= 327: Test timeout computed to be: 1500 -325: + gcc -fPIC -c -o out/test/x86_64/tls-le/b.o -xc - -325: + cat -317: + out/test/x86_64/tls-gd/exe1 -317: + grep '1 2 3 4 5 6' -317: 1 2 3 4 5 6 +320: + grep '^42 1 2 3$' +320: + out/test/x86_64/tls-large-alignment/exe2 +320: 42 1 2 3 +320: + on_exit +320: + echo OK +320: OK +320: + exit 0 327: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-pic.sh 327: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -320: + out/test/x86_64/tls-large-alignment/exe1 327: ++ export LC_ALL=C 327: ++ LC_ALL=C -320: + grep '^42 1 2 3$' 327: ++ '[' -z x86_64 ']' 327: ++ '[' -z '' ']' -319: + out/test/x86_64/tls-irregular-start-addr/exe4 -319: + grep '^42$' -317: + cc -B. -o out/test/x86_64/tls-gd/exe2 out/test/x86_64/tls-gd/a.o out/test/x86_64/tls-gd/d.so out/test/x86_64/tls-gd/e.so -Wl,-no-relax 327: ++ TESTDIR=out/test/x86_64 327: ++ CC=cc 327: ++ CXX=c++ @@ -24439,21 +24490,10 @@ 327: ++ OBJCOPY=objcopy 327: ++ STRIP=strip 327: ++ QEMU= -322: + out/test/x86_64/tls-ld-noplt/exe -327: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-pic.sh .sh -320: 42 1 2 3 -327: ++ testname=tls-pic -327: ++ t=out/test/x86_64/tls-pic -327: ++ mkdir -p out/test/x86_64/tls-pic -322: + grep '3 5 3 5' -320: + cc -B. -o out/test/x86_64/tls-large-alignment/exe2 out/test/x86_64/tls-large-alignment/c.o out/test/x86_64/tls-large-alignment/d.so -319: 42 -322: 3 5 3 5 -319: + on_exit -319: + echo OK -319: OK -319: + exit 0 -316/402 Test #319: x86_64-tls-irregular-start-addr ....................... Passed 0.29 sec +323: + out/test/x86_64/tls-ld/exe1 +317: + grep '1 2 3 4 5 6' +317: + out/test/x86_64/tls-gd/exe3 +316/402 Test #320: x86_64-tls-large-alignment ............................ Passed 0.32 sec test 328 Start 328: x86_64-tls-small-alignment @@ -24463,34 +24503,23 @@ 328: MACHINE=x86_64 328: CPU= 328: Test timeout computed to be: 1500 -325: + cc -B. -o out/test/x86_64/tls-le/exe1 out/test/x86_64/tls-le/a.o out/test/x86_64/tls-le/b.o -322: + on_exit -322: + echo OK -322: OK -322: + exit 0 -327: ++ case $MACHINE in -327: ++ tlsdesc_opt=-mtls-dialect=gnu2 -327: +++ uname -326: + cat +317: 1 2 3 4 5 6 +317: + cc -B. -o out/test/x86_64/tls-gd/exe4 out/test/x86_64/tls-gd/a.o out/test/x86_64/tls-gd/b.o out/test/x86_64/tls-gd/c.o -static -Wl,-no-relax +323: + grep '3 5 3 5' +323: 3 5 3 5 +323: + cc -B. -o out/test/x86_64/tls-ld/exe2 out/test/x86_64/tls-ld/a.o out/test/x86_64/tls-ld/b.o -Wl,-no-relax 326: + cc -xc -c -o out/test/x86_64/tls-nopic/b.o - -317/402 Test #322: x86_64-tls-ld-noplt ................................... Passed 0.25 sec -test 329 - Start 329: x86_64-tlsdesc-dlopen - -329: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tlsdesc-dlopen.sh" -329: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -329: Environment variables: -329: MACHINE=x86_64 -329: CPU= -329: Test timeout computed to be: 1500 -327: ++ '[' Linux = FreeBSD ']' -327: ++ trap 'on_error $LINENO' ERR -327: ++ trap on_exit EXIT -327: ++ echo -n 'Testing tls-pic ... ' -327: Testing tls-pic ... ++ set -o pipefail -327: ++ set -x -327: + cat -327: + gcc -fPIC -c -o out/test/x86_64/tls-pic/a.o -xc - +327: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tls-pic.sh .sh +316: + grep '1 2 3' +326: + cat +316: + out/test/x86_64/tls-gd-to-ie/exe3 +316: 1 2 3 +316: + cc -B. -shared -o out/test/x86_64/tls-gd-to-ie/f.so out/test/x86_64/tls-gd-to-ie/a.o -Wl,-z,nodlopen -Wl,-no-relax +322: + grep '3 5 3 5' +327: ++ testname=tls-pic +327: ++ t=out/test/x86_64/tls-pic +327: ++ mkdir -p out/test/x86_64/tls-pic +322: + out/test/x86_64/tls-ld-noplt/exe 328: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tls-small-alignment.sh 328: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 328: ++ export LC_ALL=C @@ -24510,45 +24539,46 @@ 328: ++ testname=tls-small-alignment 328: ++ t=out/test/x86_64/tls-small-alignment 328: ++ mkdir -p out/test/x86_64/tls-small-alignment -316: + out/test/x86_64/tls-gd-to-ie/exe2 -316: + grep '1 2 3' -316: 1 2 3 -316: + cc -B. -shared -o out/test/x86_64/tls-gd-to-ie/e.so out/test/x86_64/tls-gd-to-ie/a.o -Wl,-z,nodlopen +322: 3 5 3 5 +322: + cc -B. -o out/test/x86_64/tls-ld-noplt/exe out/test/x86_64/tls-ld-noplt/a.o out/test/x86_64/tls-ld-noplt/b.o -Wl,-no-relax +325: + cc -B. -o out/test/x86_64/tls-le/exe1 out/test/x86_64/tls-le/a.o out/test/x86_64/tls-le/b.o +327: ++ case $MACHINE in +327: ++ tlsdesc_opt=-mtls-dialect=gnu2 +327: +++ uname +327: ++ '[' Linux = FreeBSD ']' 318: + out/test/x86_64/tls-ie/exe +327: ++ trap 'on_error $LINENO' ERR +327: ++ trap on_exit EXIT +327: ++ echo -n 'Testing tls-pic ... ' +327: Testing tls-pic ... ++ set -o pipefail +327: ++ set -x +327: + cat +315: + out/test/x86_64/tls-gd-noplt/exe 318: + grep '^0 0 3 5 7$' -329: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tlsdesc-dlopen.sh -323: + grep '3 5 3 5' -323: + out/test/x86_64/tls-ld/exe2 -328: ++ case $MACHINE in -328: ++ tlsdesc_opt=-mtls-dialect=gnu2 +327: + gcc -fPIC -c -o out/test/x86_64/tls-pic/a.o -xc - +319: + out/test/x86_64/tls-irregular-start-addr/exe3 318: 0 0 3 5 7 -329: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -329: ++ export LC_ALL=C -329: ++ LC_ALL=C -329: ++ '[' -z x86_64 ']' -329: ++ '[' -z '' ']' -329: ++ TESTDIR=out/test/x86_64 -329: ++ CC=cc -329: ++ CXX=c++ -329: ++ GCC=gcc -329: ++ GXX=g++ -329: ++ OBJDUMP=objdump -329: ++ OBJCOPY=objcopy -329: ++ STRIP=strip -329: ++ QEMU= -329: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tlsdesc-dlopen.sh .sh -328: +++ uname +315: + grep '1 2 3 4 5 6' 318: + on_exit 318: + echo OK 318: OK 318: + exit 0 -323: 3 5 3 5 -323: + on_exit -323: + echo OK -323: OK -323: + exit 0 -318/402 Test #318: x86_64-tls-ie ......................................... Passed 0.34 sec -319/402 Test #323: x86_64-tls-ld ......................................... Passed 0.26 sec +324: mold: error: out/test/x86_64/tls-le-error/a.o:(.text): relocation R_X86_64_TPOFF32 against `foo` can not be used when making a shared object; recompile with -fPIC +317/402 Test #318: x86_64-tls-ie ......................................... Passed 0.39 sec +324: + on_exit +324: + echo OK +324: OK +324: + exit 0 +test 329 + Start 329: x86_64-tlsdesc-dlopen + +329: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tlsdesc-dlopen.sh" +329: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +329: Environment variables: +329: MACHINE=x86_64 +329: CPU= +329: Test timeout computed to be: 1500 +318/402 Test #324: x86_64-tls-le-error ................................... Passed 0.25 sec test 330 Start 330: x86_64-tlsdesc-import @@ -24558,6 +24588,25 @@ 330: MACHINE=x86_64 330: CPU= 330: Test timeout computed to be: 1500 +315: 1 2 3 4 5 6 +315: + on_exit +315: + echo OK +315: OK +315: + exit 0 +319/402 Test #315: x86_64-tls-gd-noplt ................................... Passed 0.52 sec +319: + grep '^42$' +319: 42 +319: + cc -B. -o out/test/x86_64/tls-irregular-start-addr/exe4 out/test/x86_64/tls-irregular-start-addr/a.o -pie -Wl,-section-start=.tdata=0x10000f -Wl,-no-relax +328: ++ case $MACHINE in +328: ++ tlsdesc_opt=-mtls-dialect=gnu2 +328: +++ uname +328: ++ '[' Linux = FreeBSD ']' +328: ++ trap 'on_error $LINENO' ERR +328: ++ trap on_exit EXIT +328: ++ echo -n 'Testing tls-small-alignment ... ' +328: Testing tls-small-alignment ... ++ set -o pipefail +328: ++ set -x +326: + cc -B. -o out/test/x86_64/tls-nopic/exe out/test/x86_64/tls-nopic/a.o out/test/x86_64/tls-nopic/b.o -no-pie test 331 Start 331: x86_64-tlsdesc-initial-exec @@ -24567,41 +24616,71 @@ 331: MACHINE=x86_64 331: CPU= 331: Test timeout computed to be: 1500 -328: ++ '[' Linux = FreeBSD ']' -328: ++ trap 'on_error $LINENO' ERR -328: ++ trap on_exit EXIT -328: ++ echo -n 'Testing tls-small-alignment ... ' -328: Testing tls-small-alignment ... ++ set -o pipefail -328: ++ set -x +329: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tlsdesc-dlopen.sh +329: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +329: ++ export LC_ALL=C +329: ++ LC_ALL=C +329: ++ '[' -z x86_64 ']' +329: ++ '[' -z '' ']' +329: ++ TESTDIR=out/test/x86_64 +329: ++ CC=cc +329: ++ CXX=c++ +329: ++ GCC=gcc +329: ++ GXX=g++ +329: ++ OBJDUMP=objdump +329: ++ OBJCOPY=objcopy +329: ++ STRIP=strip +329: ++ QEMU= +329: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tlsdesc-dlopen.sh .sh +322: + grep '3 5 3 5' +322: + out/test/x86_64/tls-ld-noplt/exe +322: 3 5 3 5 +322: + on_exit +322: + echo OK +322: OK +322: + exit 0 328: + cat 328: + cc -fPIC -c -o out/test/x86_64/tls-small-alignment/a.o -xassembler - -326: + cc -B. -o out/test/x86_64/tls-nopic/exe out/test/x86_64/tls-nopic/a.o out/test/x86_64/tls-nopic/b.o -no-pie +317: + grep '1 2 3 4 5 6' +317: + out/test/x86_64/tls-gd/exe4 +317: 1 2 3 4 5 6 +317: + on_exit +317: + echo OK +317: OK +317: + exit 0 +316: + cc -B. -o out/test/x86_64/tls-gd-to-ie/exe4 out/test/x86_64/tls-gd-to-ie/b.o out/test/x86_64/tls-gd-to-ie/f.so +320/402 Test #317: x86_64-tls-gd ......................................... Passed 0.50 sec +321/402 Test #322: x86_64-tls-ld-noplt ................................... Passed 0.31 sec 329: ++ testname=tlsdesc-dlopen 329: ++ t=out/test/x86_64/tlsdesc-dlopen 329: ++ mkdir -p out/test/x86_64/tlsdesc-dlopen 330: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tlsdesc-import.sh -325: + out/test/x86_64/tls-le/exe1 -325: + grep '3 5 3 5' -329: ++ case $MACHINE in -329: ++ tlsdesc_opt=-mtls-dialect=gnu2 -329: +++ uname -329: ++ '[' Linux = FreeBSD ']' -329: ++ trap 'on_error $LINENO' ERR -329: ++ trap on_exit EXIT -329: ++ echo -n 'Testing tlsdesc-dlopen ... ' -329: Testing tlsdesc-dlopen ... ++ set -o pipefail -329: ++ set -x -329: + supports_tlsdesc -329: + '[' x86_64 = arm ']' -329: ++ uname -329: + '[' Linux = FreeBSD ']' -329: + '[' -mtls-dialect=gnu2 = '' ']' -329: + echo '_Thread_local int x; int y() { return x; }' 330: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 330: ++ export LC_ALL=C 330: ++ LC_ALL=C 330: ++ '[' -z x86_64 ']' 330: ++ '[' -z '' ']' +323: + grep '3 5 3 5' +test 332 + Start 332: x86_64-tlsdesc-local-dynamic + +332: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tlsdesc-local-dynamic.sh" +332: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +332: Environment variables: +332: MACHINE=x86_64 +332: CPU= +332: Test timeout computed to be: 1500 +test 333 + Start 333: x86_64-tlsdesc-static + +333: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tlsdesc-static.sh" +333: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +333: Environment variables: +333: MACHINE=x86_64 +333: CPU= +333: Test timeout computed to be: 1500 +329: ++ case $MACHINE in +329: ++ tlsdesc_opt=-mtls-dialect=gnu2 330: ++ TESTDIR=out/test/x86_64 330: ++ CC=cc 330: ++ CXX=c++ @@ -24612,16 +24691,18 @@ 330: ++ STRIP=strip 330: ++ QEMU= 330: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tlsdesc-import.sh .sh -329: + cc -shared -fPIC -xc -o out/test/x86_64/tlsdesc-dlopen/tlsdesc.so -mtls-dialect=gnu2 - -315: + out/test/x86_64/tls-gd-noplt/exe -315: + grep '1 2 3 4 5 6' +330: ++ testname=tlsdesc-import +330: ++ t=out/test/x86_64/tlsdesc-import +330: ++ mkdir -p out/test/x86_64/tlsdesc-import +323: + out/test/x86_64/tls-ld/exe2 +323: 3 5 3 5 +323: + on_exit +323: + echo OK +323: OK +323: + exit 0 +327: + cc -xc -c -o out/test/x86_64/tls-pic/b.o - +327: + cat 331: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tlsdesc-initial-exec.sh -315: 1 2 3 4 5 6 -315: + on_exit -315: + echo OK -315: OK -315: + exit 0 -320/402 Test #315: x86_64-tls-gd-noplt ................................... Passed 0.42 sec 331: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 331: ++ export LC_ALL=C 331: ++ LC_ALL=C @@ -24636,82 +24717,7 @@ 331: ++ OBJCOPY=objcopy 331: ++ STRIP=strip 331: ++ QEMU= -328: + cc -fPIC -std=c11 -c -o out/test/x86_64/tls-small-alignment/b.o -xc - -test 332 - Start 332: x86_64-tlsdesc-local-dynamic - -332: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tlsdesc-local-dynamic.sh" -332: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -332: Environment variables: -332: MACHINE=x86_64 -332: CPU= -332: Test timeout computed to be: 1500 -331: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tlsdesc-initial-exec.sh .sh -331: ++ testname=tlsdesc-initial-exec -331: ++ t=out/test/x86_64/tlsdesc-initial-exec -331: ++ mkdir -p out/test/x86_64/tlsdesc-initial-exec -331: ++ case $MACHINE in -331: ++ tlsdesc_opt=-mtls-dialect=gnu2 -331: +++ uname -331: ++ '[' Linux = FreeBSD ']' -331: ++ trap 'on_error $LINENO' ERR -331: ++ trap on_exit EXIT -331: ++ echo -n 'Testing tlsdesc-initial-exec ... ' -331: Testing tlsdesc-initial-exec ... ++ set -o pipefail -331: ++ set -x -331: + supports_tlsdesc -331: + '[' x86_64 = arm ']' -328: + cat -330: ++ testname=tlsdesc-import -330: ++ t=out/test/x86_64/tlsdesc-import -330: ++ mkdir -p out/test/x86_64/tlsdesc-import -330: ++ case $MACHINE in -330: ++ tlsdesc_opt=-mtls-dialect=gnu2 -330: +++ uname -330: ++ '[' Linux = FreeBSD ']' -330: ++ trap 'on_error $LINENO' ERR -330: ++ trap on_exit EXIT -330: ++ echo -n 'Testing tlsdesc-import ... ' -330: Testing tlsdesc-import ... ++ set -o pipefail -330: ++ set -x -330: + supports_tlsdesc -330: + '[' x86_64 = arm ']' -330: ++ uname -325: 3 5 3 5 -325: + cc -B. -o out/test/x86_64/tls-le/exe2 out/test/x86_64/tls-le/a.o out/test/x86_64/tls-le/b.o -Wl,-no-relax -317: + out/test/x86_64/tls-gd/exe2 -317: + grep '1 2 3 4 5 6' -320: + out/test/x86_64/tls-large-alignment/exe2 -320: + grep '^42 1 2 3$' -331: ++ uname -331: + '[' Linux = FreeBSD ']' -331: + '[' -mtls-dialect=gnu2 = '' ']' -331: + echo '_Thread_local int x; int y() { return x; }' -331: + cc -shared -fPIC -xc -o out/test/x86_64/tlsdesc-initial-exec/tlsdesc.so -mtls-dialect=gnu2 - -330: + '[' Linux = FreeBSD ']' -330: + '[' -mtls-dialect=gnu2 = '' ']' -317: 1 2 3 4 5 6 -317: + test_cflags -static -330: + echo '_Thread_local int x; int y() { return x; }' -330: + cc -shared -fPIC -xc -o out/test/x86_64/tlsdesc-import/tlsdesc.so -mtls-dialect=gnu2 - 332: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tlsdesc-local-dynamic.sh -320: 42 1 2 3 -317: + echo 'int main() {}' -317: + cc -B. -static -o /dev/null -xc - -320: + on_exit -320: + echo OK -320: OK -320: + exit 0 -321/402 Test #320: x86_64-tls-large-alignment ............................ Passed 0.34 sec -test 333 - Start 333: x86_64-tlsdesc-static - -333: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tlsdesc-static.sh" -333: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -333: Environment variables: -333: MACHINE=x86_64 -333: CPU= -333: Test timeout computed to be: 1500 332: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 332: ++ export LC_ALL=C 332: ++ LC_ALL=C @@ -24726,18 +24732,91 @@ 332: ++ OBJCOPY=objcopy 332: ++ STRIP=strip 332: ++ QEMU= +322/402 Test #323: x86_64-tls-ld ......................................... Passed 0.32 sec +329: +++ uname +329: ++ '[' Linux = FreeBSD ']' +329: ++ trap 'on_error $LINENO' ERR +329: ++ trap on_exit EXIT +329: ++ echo -n 'Testing tlsdesc-dlopen ... ' +329: Testing tlsdesc-dlopen ... ++ set -o pipefail +329: ++ set -x +329: + supports_tlsdesc +329: + '[' x86_64 = arm ']' +328: + cat +328: + cc -fPIC -std=c11 -c -o out/test/x86_64/tls-small-alignment/b.o -xc - +325: + grep '3 5 3 5' +325: + out/test/x86_64/tls-le/exe1 +test 334 + Start 334: x86_64-tlsdesc + +334: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tlsdesc.sh" +334: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +334: Environment variables: +334: MACHINE=x86_64 +334: CPU= +334: Test timeout computed to be: 1500 +329: ++ uname +329: + '[' Linux = FreeBSD ']' +329: + '[' -mtls-dialect=gnu2 = '' ']' +325: 3 5 3 5 +325: + cc -B. -o out/test/x86_64/tls-le/exe2 out/test/x86_64/tls-le/a.o out/test/x86_64/tls-le/b.o -Wl,-no-relax 332: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tlsdesc-local-dynamic.sh .sh 332: ++ testname=tlsdesc-local-dynamic 332: ++ t=out/test/x86_64/tlsdesc-local-dynamic 332: ++ mkdir -p out/test/x86_64/tlsdesc-local-dynamic +331: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tlsdesc-initial-exec.sh .sh +331: ++ testname=tlsdesc-initial-exec +331: ++ t=out/test/x86_64/tlsdesc-initial-exec +331: ++ mkdir -p out/test/x86_64/tlsdesc-initial-exec +330: ++ case $MACHINE in +330: ++ tlsdesc_opt=-mtls-dialect=gnu2 +330: +++ uname +330: ++ '[' Linux = FreeBSD ']' +330: ++ trap 'on_error $LINENO' ERR +330: ++ trap on_exit EXIT +330: ++ echo -n 'Testing tlsdesc-import ... ' +330: Testing tlsdesc-import ... ++ set -o pipefail +330: ++ set -x +330: + supports_tlsdesc +330: + '[' x86_64 = arm ']' +326: + grep '3 5 3 5' +326: + out/test/x86_64/tls-nopic/exe +319: + grep '^42$' +319: + out/test/x86_64/tls-irregular-start-addr/exe4 +326: 3 5 3 5 +326: + on_exit +326: + echo OK +326: OK +326: + exit 0 +330: ++ uname 332: ++ case $MACHINE in 332: ++ tlsdesc_opt=-mtls-dialect=gnu2 +329: + echo '_Thread_local int x; int y() { return x; }' 333: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tlsdesc-static.sh +323/402 Test #326: x86_64-tls-nopic ...................................... Passed 0.19 sec +329: + cc -shared -fPIC -xc -o out/test/x86_64/tlsdesc-dlopen/tlsdesc.so -mtls-dialect=gnu2 - +test 335 + Start 335: x86_64-trace-symbol-symver + +335: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/trace-symbol-symver.sh" +335: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +335: Environment variables: +335: MACHINE=x86_64 +335: CPU= +335: Test timeout computed to be: 1500 +330: + '[' Linux = FreeBSD ']' +330: + '[' -mtls-dialect=gnu2 = '' ']' +330: + echo '_Thread_local int x; int y() { return x; }' +330: + cc -shared -fPIC -xc -o out/test/x86_64/tlsdesc-import/tlsdesc.so -mtls-dialect=gnu2 - +319: 42 +319: + on_exit +319: + echo OK +319: OK +319: + exit 0 333: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 333: ++ export LC_ALL=C 333: ++ LC_ALL=C 333: ++ '[' -z x86_64 ']' -332: +++ uname 333: ++ '[' -z '' ']' 333: ++ TESTDIR=out/test/x86_64 333: ++ CC=cc @@ -24749,58 +24828,24 @@ 333: ++ STRIP=strip 333: ++ QEMU= 333: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tlsdesc-static.sh .sh -327: + cat -332: ++ '[' Linux = FreeBSD ']' -332: ++ trap 'on_error $LINENO' ERR -332: ++ trap on_exit EXIT -332: ++ echo -n 'Testing tlsdesc-local-dynamic ... ' -332: Testing tlsdesc-local-dynamic ... ++ set -o pipefail -332: ++ set -x -332: + supports_tlsdesc -332: + '[' x86_64 = arm ']' 333: ++ testname=tlsdesc-static 333: ++ t=out/test/x86_64/tlsdesc-static 333: ++ mkdir -p out/test/x86_64/tlsdesc-static -332: ++ uname -327: + cc -xc -c -o out/test/x86_64/tls-pic/b.o - -333: ++ case $MACHINE in -333: ++ tlsdesc_opt=-mtls-dialect=gnu2 -316: + cc -B. -o out/test/x86_64/tls-gd-to-ie/exe3 out/test/x86_64/tls-gd-to-ie/b.o out/test/x86_64/tls-gd-to-ie/e.so -333: +++ uname -326: + out/test/x86_64/tls-nopic/exe -332: + '[' Linux = FreeBSD ']' -332: + '[' -mtls-dialect=gnu2 = '' ']' -326: + grep '3 5 3 5' -333: ++ '[' Linux = FreeBSD ']' -332: + echo '_Thread_local int x; int y() { return x; }' -333: ++ trap 'on_error $LINENO' ERR -332: + cc -shared -fPIC -xc -o out/test/x86_64/tlsdesc-local-dynamic/tlsdesc.so -mtls-dialect=gnu2 - -333: ++ trap on_exit EXIT -333: ++ echo -n 'Testing tlsdesc-static ... ' -333: Testing tlsdesc-static ... ++ set -o pipefail -333: ++ set -x -333: + supports_tlsdesc -333: + '[' x86_64 = arm ']' -333: ++ uname -333: + '[' Linux = FreeBSD ']' -333: + '[' -mtls-dialect=gnu2 = '' ']' -333: + echo '_Thread_local int x; int y() { return x; }' -333: + cc -shared -fPIC -xc -o out/test/x86_64/tlsdesc-static/tlsdesc.so -mtls-dialect=gnu2 - -326: 3 5 3 5 -326: + on_exit -326: + echo OK -326: OK -326: + exit 0 -322/402 Test #326: x86_64-tls-nopic ...................................... Passed 0.16 sec -test 334 - Start 334: x86_64-tlsdesc - -334: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/tlsdesc.sh" -334: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -334: Environment variables: -334: MACHINE=x86_64 -334: CPU= -334: Test timeout computed to be: 1500 +331: ++ case $MACHINE in +331: ++ tlsdesc_opt=-mtls-dialect=gnu2 +331: +++ uname +331: ++ '[' Linux = FreeBSD ']' +331: ++ trap 'on_error $LINENO' ERR +331: ++ trap on_exit EXIT +331: ++ echo -n 'Testing tlsdesc-initial-exec ... ' +331: Testing tlsdesc-initial-exec ... ++ set -o pipefail +331: ++ set -x +331: + supports_tlsdesc +331: + '[' x86_64 = arm ']' +331: ++ uname +331: + '[' Linux = FreeBSD ']' +331: + '[' -mtls-dialect=gnu2 = '' ']' +331: + echo '_Thread_local int x; int y() { return x; }' 334: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/tlsdesc.sh 334: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 334: ++ export LC_ALL=C @@ -24816,52 +24861,36 @@ 334: ++ OBJCOPY=objcopy 334: ++ STRIP=strip 334: ++ QEMU= +332: +++ uname +332: ++ '[' Linux = FreeBSD ']' +332: ++ trap 'on_error $LINENO' ERR +332: ++ trap on_exit EXIT +332: ++ echo -n 'Testing tlsdesc-local-dynamic ... ' +332: Testing tlsdesc-local-dynamic ... ++ set -o pipefail +332: ++ set -x +332: + supports_tlsdesc +332: + '[' x86_64 = arm ']' +327: + cc -B. -o out/test/x86_64/tls-pic/exe out/test/x86_64/tls-pic/a.o out/test/x86_64/tls-pic/b.o +324/402 Test #319: x86_64-tls-irregular-start-addr ....................... Passed 0.49 sec +331: + cc -shared -fPIC -xc -o out/test/x86_64/tlsdesc-initial-exec/tlsdesc.so -mtls-dialect=gnu2 - +test 336 + Start 336: x86_64-trace-symbol + +336: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/trace-symbol.sh" +336: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +336: Environment variables: +336: MACHINE=x86_64 +336: CPU= +336: Test timeout computed to be: 1500 +332: ++ uname +332: + '[' Linux = FreeBSD ']' +332: + '[' -mtls-dialect=gnu2 = '' ']' 334: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/tlsdesc.sh .sh 334: ++ testname=tlsdesc 334: ++ t=out/test/x86_64/tlsdesc 334: ++ mkdir -p out/test/x86_64/tlsdesc -327: + cc -B. -o out/test/x86_64/tls-pic/exe out/test/x86_64/tls-pic/a.o out/test/x86_64/tls-pic/b.o -328: + cat 328: + cc -fPIC -c -o out/test/x86_64/tls-small-alignment/c.o -xc - -334: ++ case $MACHINE in -334: ++ tlsdesc_opt=-mtls-dialect=gnu2 -325: + out/test/x86_64/tls-le/exe2 -325: + grep '3 5 3 5' -334: +++ uname -325: 3 5 3 5 -334: ++ '[' Linux = FreeBSD ']' -325: + on_exit -325: + echo OK -325: OK -325: + exit 0 -334: ++ trap 'on_error $LINENO' ERR -334: ++ trap on_exit EXIT -334: ++ echo -n 'Testing tlsdesc ... ' -334: Testing tlsdesc ... ++ set -o pipefail -334: ++ set -x -334: + supports_tlsdesc -334: + '[' x86_64 = arm ']' -334: ++ uname -323/402 Test #325: x86_64-tls-le ......................................... Passed 0.27 sec -test 335 - Start 335: x86_64-trace-symbol-symver - -335: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/trace-symbol-symver.sh" -335: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -335: Environment variables: -335: MACHINE=x86_64 -335: CPU= -335: Test timeout computed to be: 1500 -334: + '[' Linux = FreeBSD ']' -334: + '[' -mtls-dialect=gnu2 = '' ']' -334: + cc -shared -fPIC -xc -o out/test/x86_64/tlsdesc/tlsdesc.so -mtls-dialect=gnu2 - -334: + echo '_Thread_local int x; int y() { return x; }' -316: + out/test/x86_64/tls-gd-to-ie/exe3 -316: + grep '1 2 3' -331: + echo 'int y(); int main() { y(); }' -316: 1 2 3 -331: + cc -xc -c -o out/test/x86_64/tlsdesc-initial-exec/tlsdesc.o - -316: + cc -B. -shared -o out/test/x86_64/tls-gd-to-ie/f.so out/test/x86_64/tls-gd-to-ie/a.o -Wl,-z,nodlopen -Wl,-no-relax +328: + cat 335: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/trace-symbol-symver.sh 335: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 335: ++ export LC_ALL=C @@ -24877,46 +24906,43 @@ 335: ++ OBJCOPY=objcopy 335: ++ STRIP=strip 335: ++ QEMU= +333: ++ case $MACHINE in +333: ++ tlsdesc_opt=-mtls-dialect=gnu2 +316: + out/test/x86_64/tls-gd-to-ie/exe4 +316: + grep '1 2 3' +316: 1 2 3 +316: + on_exit +316: + echo OK +316: OK +316: + exit 0 +332: + echo '_Thread_local int x; int y() { return x; }' +332: + cc -shared -fPIC -xc -o out/test/x86_64/tlsdesc-local-dynamic/tlsdesc.so -mtls-dialect=gnu2 - +325/402 Test #316: x86_64-tls-gd-to-ie ................................... Passed 0.61 sec +test 337 + Start 337: x86_64-trace + +337: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/trace.sh" +337: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +337: Environment variables: +337: MACHINE=x86_64 +337: CPU= +337: Test timeout computed to be: 1500 +333: +++ uname +333: ++ '[' Linux = FreeBSD ']' +333: ++ trap 'on_error $LINENO' ERR +333: ++ trap on_exit EXIT +333: ++ echo -n 'Testing tlsdesc-static ... ' +333: Testing tlsdesc-static ... ++ set -o pipefail +333: ++ set -x +333: + supports_tlsdesc +333: + '[' x86_64 = arm ']' +333: ++ uname 335: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/trace-symbol-symver.sh .sh -329: + echo 'int y(); int main() { y(); }' -329: + cc -xc -c -o out/test/x86_64/tlsdesc-dlopen/tlsdesc.o - 335: ++ testname=trace-symbol-symver 335: ++ t=out/test/x86_64/trace-symbol-symver 335: ++ mkdir -p out/test/x86_64/trace-symbol-symver -335: ++ case $MACHINE in -335: ++ tlsdesc_opt=-mtls-dialect=gnu2 -335: +++ uname -335: ++ '[' Linux = FreeBSD ']' -335: ++ trap 'on_error $LINENO' ERR -335: ++ trap on_exit EXIT -335: ++ echo -n 'Testing trace-symbol-symver ... ' -335: Testing trace-symbol-symver ... ++ set -o pipefail -335: ++ set -x -335: + cat -335: + cc -c -o out/test/x86_64/trace-symbol-symver/a.o -xc - -330: + echo 'int y(); int main() { y(); }' -330: + cc -xc -c -o out/test/x86_64/tlsdesc-import/tlsdesc.o - -327: + out/test/x86_64/tls-pic/exe -327: + grep '3 5 3 5' -327: 3 5 3 5 -327: + on_exit -327: + echo OK -327: OK -327: + exit 0 -324/402 Test #327: x86_64-tls-pic ........................................ Passed 0.17 sec -test 336 - Start 336: x86_64-trace-symbol - -336: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/trace-symbol.sh" -336: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -336: Environment variables: -336: MACHINE=x86_64 -336: CPU= -336: Test timeout computed to be: 1500 -317: + cc -B. -o out/test/x86_64/tls-gd/exe3 out/test/x86_64/tls-gd/a.o out/test/x86_64/tls-gd/b.o out/test/x86_64/tls-gd/c.o -static -328: + cc -B. -shared -o out/test/x86_64/tls-small-alignment/d.so out/test/x86_64/tls-small-alignment/a.o out/test/x86_64/tls-small-alignment/b.o -316: + cc -B. -o out/test/x86_64/tls-gd-to-ie/exe4 out/test/x86_64/tls-gd-to-ie/b.o out/test/x86_64/tls-gd-to-ie/f.so -329: + cc -o out/test/x86_64/tlsdesc-dlopen/tlsdesc out/test/x86_64/tlsdesc-dlopen/tlsdesc.o out/test/x86_64/tlsdesc-dlopen/tlsdesc.so +334: ++ case $MACHINE in +334: ++ tlsdesc_opt=-mtls-dialect=gnu2 336: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/trace-symbol.sh 336: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 336: ++ export LC_ALL=C @@ -24932,56 +24958,35 @@ 336: ++ OBJCOPY=objcopy 336: ++ STRIP=strip 336: ++ QEMU= +334: +++ uname 336: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/trace-symbol.sh .sh +325: + out/test/x86_64/tls-le/exe2 +325: + grep '3 5 3 5' +334: ++ '[' Linux = FreeBSD ']' +333: + '[' Linux = FreeBSD ']' +333: + '[' -mtls-dialect=gnu2 = '' ']' 336: ++ testname=trace-symbol 336: ++ t=out/test/x86_64/trace-symbol 336: ++ mkdir -p out/test/x86_64/trace-symbol -336: ++ case $MACHINE in -336: ++ tlsdesc_opt=-mtls-dialect=gnu2 -331: + cc -o out/test/x86_64/tlsdesc-initial-exec/tlsdesc out/test/x86_64/tlsdesc-initial-exec/tlsdesc.o out/test/x86_64/tlsdesc-initial-exec/tlsdesc.so -336: +++ uname -336: ++ '[' Linux = FreeBSD ']' -336: ++ trap 'on_error $LINENO' ERR -336: ++ trap on_exit EXIT -336: ++ echo -n 'Testing trace-symbol ... ' -336: Testing trace-symbol ... ++ set -o pipefail -336: ++ set -x -336: + cat -336: + cc -c -o out/test/x86_64/trace-symbol/a.o -xc - -335: + cat -335: + cc -B. -o out/test/x86_64/trace-symbol-symver/c.so -shared out/test/x86_64/trace-symbol-symver/a.o -Wl,--version-script=out/test/x86_64/trace-symbol-symver/b.version -Wl,--trace-symbol=foo@VER1 -328: + cc -B. -o out/test/x86_64/tls-small-alignment/exe1 out/test/x86_64/tls-small-alignment/a.o out/test/x86_64/tls-small-alignment/b.o out/test/x86_64/tls-small-alignment/c.o -329: + out/test/x86_64/tlsdesc-dlopen/tlsdesc -316: + grep '1 2 3' -316: + out/test/x86_64/tls-gd-to-ie/exe4 -316: 1 2 3 -329: + cat -316: + on_exit -316: + echo OK -316: OK -316: + exit 0 -331: + out/test/x86_64/tlsdesc-initial-exec/tlsdesc -325/402 Test #316: x86_64-tls-gd-to-ie ................................... Passed 0.57 sec -329: + gcc -fPIC -c -o out/test/x86_64/tlsdesc-dlopen/a.o -xc - -mtls-dialect=gnu2 -test 337 - Start 337: x86_64-trace - -337: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/trace.sh" -337: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -337: Environment variables: -337: MACHINE=x86_64 -337: CPU= -337: Test timeout computed to be: 1500 -331: + cat -331: + gcc -fPIC -fPIC -c -o out/test/x86_64/tlsdesc-initial-exec/a.o -xc - -mtls-dialect=gnu2 -317: + out/test/x86_64/tls-gd/exe3 -317: + grep '1 2 3 4 5 6' -336: + cat -317: 1 2 3 4 5 6 -336: + cc -c -o out/test/x86_64/trace-symbol/b.o -xc - -330: + cc -o out/test/x86_64/tlsdesc-import/tlsdesc out/test/x86_64/tlsdesc-import/tlsdesc.o out/test/x86_64/tlsdesc-import/tlsdesc.so +334: ++ trap 'on_error $LINENO' ERR +334: ++ trap on_exit EXIT +334: ++ echo -n 'Testing tlsdesc ... ' +334: Testing tlsdesc ... ++ set -o pipefail +334: ++ set -x +334: + supports_tlsdesc +334: + '[' x86_64 = arm ']' +325: 3 5 3 5 +325: + on_exit +325: + echo OK +325: OK +325: + exit 0 +334: ++ uname +334: + '[' Linux = FreeBSD ']' +334: + '[' -mtls-dialect=gnu2 = '' ']' +334: + cc -shared -fPIC -xc -o out/test/x86_64/tlsdesc/tlsdesc.so -mtls-dialect=gnu2 - +327: + out/test/x86_64/tls-pic/exe +333: + echo '_Thread_local int x; int y() { return x; }' 337: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/trace.sh -317: + cc -B. -o out/test/x86_64/tls-gd/exe4 out/test/x86_64/tls-gd/a.o out/test/x86_64/tls-gd/b.o out/test/x86_64/tls-gd/c.o -static -Wl,-no-relax 337: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 337: ++ export LC_ALL=C 337: ++ LC_ALL=C @@ -24996,78 +25001,75 @@ 337: ++ OBJCOPY=objcopy 337: ++ STRIP=strip 337: ++ QEMU= +326/402 Test #325: x86_64-tls-le ......................................... Passed 0.37 sec +test 338 + Start 338: x86_64-undefined-glob-gc-sections + +338: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/undefined-glob-gc-sections.sh" +338: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +338: Environment variables: +338: MACHINE=x86_64 +338: CPU= +338: Test timeout computed to be: 1500 +335: ++ case $MACHINE in +335: ++ tlsdesc_opt=-mtls-dialect=gnu2 +336: ++ case $MACHINE in +336: ++ tlsdesc_opt=-mtls-dialect=gnu2 +327: + grep '3 5 3 5' +327: 3 5 3 5 +327: + on_exit +327: + echo OK +327: OK +327: + exit 0 +334: + echo '_Thread_local int x; int y() { return x; }' +333: + cc -shared -fPIC -xc -o out/test/x86_64/tlsdesc-static/tlsdesc.so -mtls-dialect=gnu2 - +327/402 Test #327: x86_64-tls-pic ........................................ Passed 0.22 sec +336: +++ uname 337: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/trace.sh .sh -332: + echo 'int y(); int main() { y(); }' -332: + cc -xc -c -o out/test/x86_64/tlsdesc-local-dynamic/tlsdesc.o - -333: + echo 'int y(); int main() { y(); }' 337: ++ testname=trace 337: ++ t=out/test/x86_64/trace 337: ++ mkdir -p out/test/x86_64/trace -333: + cc -xc -c -o out/test/x86_64/tlsdesc-static/tlsdesc.o - -335: + cat -334: + echo 'int y(); int main() { y(); }' -334: + cc -xc -c -o out/test/x86_64/tlsdesc/tlsdesc.o - -335: + cc -c -o out/test/x86_64/trace-symbol-symver/d.o -xc - +test 339 + Start 339: x86_64-undefined-glob + +339: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/undefined-glob.sh" +339: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +339: Environment variables: +339: MACHINE=x86_64 +339: CPU= +339: Test timeout computed to be: 1500 +336: ++ '[' Linux = FreeBSD ']' +336: ++ trap 'on_error $LINENO' ERR +336: ++ trap on_exit EXIT +336: ++ echo -n 'Testing trace-symbol ... ' +336: Testing trace-symbol ... ++ set -o pipefail +336: ++ set -x +336: + cc -c -o out/test/x86_64/trace-symbol/a.o -xc - +336: + cat 337: ++ case $MACHINE in 337: ++ tlsdesc_opt=-mtls-dialect=gnu2 337: +++ uname +335: +++ uname +335: ++ '[' Linux = FreeBSD ']' +335: ++ trap 'on_error $LINENO' ERR +335: ++ trap on_exit EXIT +335: ++ echo -n 'Testing trace-symbol-symver ... ' +335: Testing trace-symbol-symver ... ++ set -o pipefail +335: ++ set -x +335: + cc -c -o out/test/x86_64/trace-symbol-symver/a.o -xc - +335: + cat +328: + cc -B. -shared -o out/test/x86_64/tls-small-alignment/d.so out/test/x86_64/tls-small-alignment/a.o out/test/x86_64/tls-small-alignment/b.o +338: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/undefined-glob-gc-sections.sh +332: + echo 'int y(); int main() { y(); }' 337: ++ '[' Linux = FreeBSD ']' 337: ++ trap 'on_error $LINENO' ERR 337: ++ trap on_exit EXIT 337: ++ echo -n 'Testing trace ... ' 337: Testing trace ... ++ set -o pipefail 337: ++ set -x +339: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/undefined-glob.sh 337: + cat 337: + cc -c -o out/test/x86_64/trace/a.o -xc - -328: + out/test/x86_64/tls-small-alignment/exe1 -328: + grep '^42$' -328: 42 -328: + cc -B. -o out/test/x86_64/tls-small-alignment/exe2 out/test/x86_64/tls-small-alignment/c.o out/test/x86_64/tls-small-alignment/d.so -330: + out/test/x86_64/tlsdesc-import/tlsdesc -330: + cat -330: + gcc -fPIC -c -o out/test/x86_64/tlsdesc-import/a.o -xc - -mtls-dialect=gnu2 -336: + cat -247: + seq 1 10000 -336: + cc -shared -o out/test/x86_64/trace-symbol/c.so -xc - -247: + sed 's/.*/void func&();/' -335: + cc -B. -o out/test/x86_64/trace-symbol-symver/exe out/test/x86_64/trace-symbol-symver/d.o out/test/x86_64/trace-symbol-symver/c.so -Wl,--trace-symbol=foo@VER1 -334: + cc -o out/test/x86_64/tlsdesc/tlsdesc out/test/x86_64/tlsdesc/tlsdesc.o out/test/x86_64/tlsdesc/tlsdesc.so -332: + cc -o out/test/x86_64/tlsdesc-local-dynamic/tlsdesc out/test/x86_64/tlsdesc-local-dynamic/tlsdesc.o out/test/x86_64/tlsdesc-local-dynamic/tlsdesc.so -331: + cc -B. -shared -o out/test/x86_64/tlsdesc-initial-exec/b.so out/test/x86_64/tlsdesc-initial-exec/a.o -329: + cc -B. -shared -o out/test/x86_64/tlsdesc-dlopen/b.so out/test/x86_64/tlsdesc-dlopen/a.o -333: + cc -o out/test/x86_64/tlsdesc-static/tlsdesc out/test/x86_64/tlsdesc-static/tlsdesc.o out/test/x86_64/tlsdesc-static/tlsdesc.so -317: + out/test/x86_64/tls-gd/exe4 -247: + echo 'int main() {' -317: + grep '1 2 3 4 5 6' -247: + seq 1 10000 -247: + sed 's/.*/func&();/' -317: 1 2 3 4 5 6 -317: + on_exit -317: + echo OK -317: OK -317: + exit 0 -326/402 Test #317: x86_64-tls-gd ......................................... Passed 0.61 sec -328: + grep '^42$' -337: + cc -B. -o out/test/x86_64/trace/exe out/test/x86_64/trace/a.o -Wl,-trace -test 338 - Start 338: x86_64-undefined-glob-gc-sections - -338: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/undefined-glob-gc-sections.sh" -338: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -338: Environment variables: -338: MACHINE=x86_64 -338: CPU= -338: Test timeout computed to be: 1500 -328: + out/test/x86_64/tls-small-alignment/exe2 -328: 42 -328: + on_exit -328: + echo OK -328: OK -328: + exit 0 -327/402 Test #328: x86_64-tls-small-alignment ............................ Passed 0.35 sec -330: + cat -330: + gcc -fPIC -shared -o out/test/x86_64/tlsdesc-import/b.so -xc - -mtls-dialect=gnu2 -338: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/undefined-glob-gc-sections.sh 338: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 338: ++ export LC_ALL=C 338: ++ LC_ALL=C @@ -25082,22 +25084,42 @@ 338: ++ OBJCOPY=objcopy 338: ++ STRIP=strip 338: ++ QEMU= +329: + cc -xc -c -o out/test/x86_64/tlsdesc-dlopen/tlsdesc.o - +329: + echo 'int y(); int main() { y(); }' +339: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +339: ++ export LC_ALL=C +339: ++ LC_ALL=C +339: ++ '[' -z x86_64 ']' +339: ++ '[' -z '' ']' +339: ++ TESTDIR=out/test/x86_64 +339: ++ CC=cc +339: ++ CXX=c++ +339: ++ GCC=gcc +339: ++ GXX=g++ +339: ++ OBJDUMP=objdump +339: ++ OBJCOPY=objcopy +339: ++ STRIP=strip +339: ++ QEMU= +330: + echo 'int y(); int main() { y(); }' +332: + cc -xc -c -o out/test/x86_64/tlsdesc-local-dynamic/tlsdesc.o - +330: + cc -xc -c -o out/test/x86_64/tlsdesc-import/tlsdesc.o - 338: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/undefined-glob-gc-sections.sh .sh +339: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/undefined-glob.sh .sh +339: ++ testname=undefined-glob +339: ++ t=out/test/x86_64/undefined-glob +339: ++ mkdir -p out/test/x86_64/undefined-glob 338: ++ testname=undefined-glob-gc-sections 338: ++ t=out/test/x86_64/undefined-glob-gc-sections 338: ++ mkdir -p out/test/x86_64/undefined-glob-gc-sections +331: + cc -xc -c -o out/test/x86_64/tlsdesc-initial-exec/tlsdesc.o - +331: + echo 'int y(); int main() { y(); }' 338: ++ case $MACHINE in 338: ++ tlsdesc_opt=-mtls-dialect=gnu2 -test 339 - Start 339: x86_64-undefined-glob - -339: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/undefined-glob.sh" -339: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -339: Environment variables: -339: MACHINE=x86_64 -339: CPU= -339: Test timeout computed to be: 1500 +339: ++ case $MACHINE in +339: ++ tlsdesc_opt=-mtls-dialect=gnu2 +335: + cat 338: +++ uname +337: + cc -B. -o out/test/x86_64/trace/exe out/test/x86_64/trace/a.o -Wl,-trace 338: ++ '[' Linux = FreeBSD ']' 338: ++ trap 'on_error $LINENO' ERR 338: ++ trap on_exit EXIT @@ -25107,42 +25129,50 @@ 338: + test_cflags -static 338: + echo 'int main() {}' 338: + cc -B. -static -o /dev/null -xc - -247: + echo '}' -247: + cc -c -o out/test/x86_64/range-extension-thunk3/d.o out/test/x86_64/range-extension-thunk3/c.c -336: + cc -B. -o out/test/x86_64/trace-symbol/exe out/test/x86_64/trace-symbol/a.o out/test/x86_64/trace-symbol/b.o out/test/x86_64/trace-symbol/c.so -Wl,-y,foo -Wl,--trace-symbol=baz -333: + out/test/x86_64/tlsdesc-static/tlsdesc -334: + out/test/x86_64/tlsdesc/tlsdesc -329: + cat -329: + gcc -fPIC -c -o out/test/x86_64/tlsdesc-dlopen/c.o -xc - -mtls-dialect=gnu2 -335: + out/test/x86_64/trace-symbol-symver/exe -333: + test_cflags -static -333: + echo 'int main() {}' -334: + cat +339: +++ uname +333: + cc -xc -c -o out/test/x86_64/tlsdesc-static/tlsdesc.o - +333: + echo 'int y(); int main() { y(); }' +332: + cc -o out/test/x86_64/tlsdesc-local-dynamic/tlsdesc out/test/x86_64/tlsdesc-local-dynamic/tlsdesc.o out/test/x86_64/tlsdesc-local-dynamic/tlsdesc.so +335: + cc -B. -o out/test/x86_64/trace-symbol-symver/c.so -shared out/test/x86_64/trace-symbol-symver/a.o -Wl,--version-script=out/test/x86_64/trace-symbol-symver/b.version -Wl,--trace-symbol=foo@VER1 +339: ++ '[' Linux = FreeBSD ']' +339: ++ trap 'on_error $LINENO' ERR +339: ++ trap on_exit EXIT +339: ++ echo -n 'Testing undefined-glob ... ' +339: Testing undefined-glob ... ++ set -o pipefail +339: ++ set -x +339: + test_cflags -static +331: + cc -o out/test/x86_64/tlsdesc-initial-exec/tlsdesc out/test/x86_64/tlsdesc-initial-exec/tlsdesc.o out/test/x86_64/tlsdesc-initial-exec/tlsdesc.so +329: + cc -o out/test/x86_64/tlsdesc-dlopen/tlsdesc out/test/x86_64/tlsdesc-dlopen/tlsdesc.o out/test/x86_64/tlsdesc-dlopen/tlsdesc.so +328: + cc -B. -o out/test/x86_64/tls-small-alignment/exe1 out/test/x86_64/tls-small-alignment/a.o out/test/x86_64/tls-small-alignment/b.o out/test/x86_64/tls-small-alignment/c.o +330: + cc -o out/test/x86_64/tlsdesc-import/tlsdesc out/test/x86_64/tlsdesc-import/tlsdesc.o out/test/x86_64/tlsdesc-import/tlsdesc.so +336: + cat +336: + cc -c -o out/test/x86_64/trace-symbol/b.o -xc - +334: + echo 'int y(); int main() { y(); }' +339: + echo 'int main() {}' +339: + cc -B. -static -o /dev/null -xc - +334: + cc -xc -c -o out/test/x86_64/tlsdesc/tlsdesc.o - 332: + out/test/x86_64/tlsdesc-local-dynamic/tlsdesc -334: + gcc -fPIC -c -o out/test/x86_64/tlsdesc/a.o -xc - -mtls-dialect=gnu2 -333: + cc -B. -static -o /dev/null -xc - -339: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/undefined-glob.sh +333: + cc -o out/test/x86_64/tlsdesc-static/tlsdesc out/test/x86_64/tlsdesc-static/tlsdesc.o out/test/x86_64/tlsdesc-static/tlsdesc.so 332: + cat -339: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -339: ++ export LC_ALL=C -339: ++ LC_ALL=C -335: + on_exit -335: + echo OK -335: OK -335: + exit 0 332: + gcc -fPIC -ftls-model=local-dynamic -c -o out/test/x86_64/tlsdesc-local-dynamic/a.o -xc - -mtls-dialect=gnu2 -339: ++ '[' -z x86_64 ']' -339: ++ '[' -z '' ']' -339: ++ TESTDIR=out/test/x86_64 -339: ++ CC=cc -339: ++ CXX=c++ -339: ++ GCC=gcc -339: ++ GXX=g++ -339: ++ OBJDUMP=objdump -339: ++ OBJCOPY=objcopy -339: ++ STRIP=strip -339: ++ QEMU= -328/402 Test #335: x86_64-trace-symbol-symver ............................ Passed 0.27 sec +335: + cat +335: + cc -c -o out/test/x86_64/trace-symbol-symver/d.o -xc - +329: + out/test/x86_64/tlsdesc-dlopen/tlsdesc +331: + out/test/x86_64/tlsdesc-initial-exec/tlsdesc +336: + cc -shared -o out/test/x86_64/trace-symbol/c.so -xc - +336: + cat +329: + cat +337: + grep '/a\.o$' out/test/x86_64/trace/log +331: + gcc -fPIC -fPIC -c -o out/test/x86_64/tlsdesc-initial-exec/a.o -xc - -mtls-dialect=gnu2 +331: + cat +337: trace: out/test/x86_64/trace/a.o +337: + on_exit +337: + echo OK +337: OK +337: + exit 0 +329: + gcc -fPIC -c -o out/test/x86_64/tlsdesc-dlopen/a.o -xc - -mtls-dialect=gnu2 +333: + out/test/x86_64/tlsdesc-static/tlsdesc +328/402 Test #337: x86_64-trace .......................................... Passed 0.20 sec test 340 Start 340: x86_64-undefined @@ -25152,13 +25182,15 @@ 340: MACHINE=x86_64 340: CPU= 340: Test timeout computed to be: 1500 -339: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/undefined-glob.sh .sh -339: ++ testname=undefined-glob -339: ++ t=out/test/x86_64/undefined-glob -339: ++ mkdir -p out/test/x86_64/undefined-glob -339: ++ case $MACHINE in -339: ++ tlsdesc_opt=-mtls-dialect=gnu2 +334: + cc -o out/test/x86_64/tlsdesc/tlsdesc out/test/x86_64/tlsdesc/tlsdesc.o out/test/x86_64/tlsdesc/tlsdesc.so +333: + test_cflags -static +330: + out/test/x86_64/tlsdesc-import/tlsdesc 340: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/undefined.sh +332: + cat +333: + echo 'int main() {}' +333: + cc -B. -static -o /dev/null -xc - +339: + cat +328: + grep '^42$' 340: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 340: ++ export LC_ALL=C 340: ++ LC_ALL=C @@ -25173,25 +25205,26 @@ 340: ++ OBJCOPY=objcopy 340: ++ STRIP=strip 340: ++ QEMU= -339: +++ uname +328: + out/test/x86_64/tls-small-alignment/exe1 +328: 42 +328: + cc -B. -o out/test/x86_64/tls-small-alignment/exe2 out/test/x86_64/tls-small-alignment/c.o out/test/x86_64/tls-small-alignment/d.so +339: + cc -o out/test/x86_64/undefined-glob/a.o -c -xc - +332: + gcc -fPIC -ftls-model=local-dynamic -c -o out/test/x86_64/tlsdesc-local-dynamic/b.o -xc - -mtls-dialect=gnu2 +335: + cc -B. -o out/test/x86_64/trace-symbol-symver/exe out/test/x86_64/trace-symbol-symver/d.o out/test/x86_64/trace-symbol-symver/c.so -Wl,--trace-symbol=foo@VER1 340: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/undefined.sh .sh -339: ++ '[' Linux = FreeBSD ']' -339: ++ trap 'on_error $LINENO' ERR -339: ++ trap on_exit EXIT -339: ++ echo -n 'Testing undefined-glob ... ' -339: Testing undefined-glob ... ++ set -o pipefail -339: ++ set -x -339: + test_cflags -static -339: + echo 'int main() {}' -339: + cc -B. -static -o /dev/null -xc - 340: ++ testname=undefined 340: ++ t=out/test/x86_64/undefined 340: ++ mkdir -p out/test/x86_64/undefined +330: + gcc -fPIC -c -o out/test/x86_64/tlsdesc-import/a.o -xc - -mtls-dialect=gnu2 +330: + cat +331: + cc -B. -shared -o out/test/x86_64/tlsdesc-initial-exec/b.so out/test/x86_64/tlsdesc-initial-exec/a.o 340: ++ case $MACHINE in -331: + cat 340: ++ tlsdesc_opt=-mtls-dialect=gnu2 +332: + cc -B. -o out/test/x86_64/tlsdesc-local-dynamic/exe1 out/test/x86_64/tlsdesc-local-dynamic/a.o out/test/x86_64/tlsdesc-local-dynamic/b.o +339: + cat +339: + cc -o out/test/x86_64/undefined-glob/b.o -c -xc - +336: + cc -B. -o out/test/x86_64/trace-symbol/exe out/test/x86_64/trace-symbol/a.o out/test/x86_64/trace-symbol/b.o out/test/x86_64/trace-symbol/c.so -Wl,-y,foo -Wl,--trace-symbol=baz 340: +++ uname -331: + gcc -fPIC -fPIC -c -o out/test/x86_64/tlsdesc-initial-exec/c.o -xc - -mtls-dialect=gnu2 340: ++ '[' Linux = FreeBSD ']' 340: ++ trap 'on_error $LINENO' ERR 340: ++ trap on_exit EXIT @@ -25199,17 +25232,25 @@ 340: Testing undefined ... ++ set -o pipefail 340: ++ set -x 340: + test_cflags -static +329: + cc -B. -shared -o out/test/x86_64/tlsdesc-dlopen/b.so out/test/x86_64/tlsdesc-dlopen/a.o +334: + out/test/x86_64/tlsdesc/tlsdesc +334: + cat 340: + echo 'int main() {}' 340: + cc -B. -static -o /dev/null -xc - -334: + cat -334: + gcc -fPIC -c -o out/test/x86_64/tlsdesc/b.o -xc - -mtls-dialect=gnu2 -337: + grep '/a\.o$' out/test/x86_64/trace/log -337: trace: out/test/x86_64/trace/a.o -337: + on_exit -337: + echo OK -337: OK -337: + exit 0 -329/402 Test #337: x86_64-trace .......................................... Passed 0.20 sec +334: + gcc -fPIC -c -o out/test/x86_64/tlsdesc/a.o -xc - -mtls-dialect=gnu2 +330: + cat +330: + gcc -fPIC -shared -o out/test/x86_64/tlsdesc-import/b.so -xc - -mtls-dialect=gnu2 +335: + out/test/x86_64/trace-symbol-symver/exe +339: + cat +338: + cc -o out/test/x86_64/undefined-glob-gc-sections/a.o -c -xc - +339: + cc -o out/test/x86_64/undefined-glob/c.o -c -xc - +328: + grep '^42$' +328: + out/test/x86_64/tls-small-alignment/exe2 +335: + on_exit +335: + echo OK +335: OK +335: + exit 0 +329/402 Test #335: x86_64-trace-symbol-symver ............................ Passed 0.34 sec test 341 Start 341: x86_64-undefined2 @@ -25219,11 +25260,45 @@ 341: MACHINE=x86_64 341: CPU= 341: Test timeout computed to be: 1500 -336: + grep 'trace-symbol: .*/a.o: reference to foo' out/test/x86_64/trace-symbol/log -330: + cc -B. -o out/test/x86_64/tlsdesc-import/exe out/test/x86_64/tlsdesc-import/a.o out/test/x86_64/tlsdesc-import/b.so -332: + cat -332: + gcc -fPIC -ftls-model=local-dynamic -c -o out/test/x86_64/tlsdesc-local-dynamic/b.o -xc - -mtls-dialect=gnu2 +338: + cat +328: 42 +328: + on_exit +328: + echo OK +328: OK +328: + exit 0 +330/402 Test #328: x86_64-tls-small-alignment ............................ Passed 0.47 sec +333: + cat +333: + gcc -fPIC -c -o out/test/x86_64/tlsdesc-static/a.o -xc - -mtls-dialect=gnu2 +test 342 + Start 342: x86_64-unkown-section-type + +342: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/unkown-section-type.sh" +342: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +342: Environment variables: +342: MACHINE=x86_64 +342: CPU= +342: Test timeout computed to be: 1500 341: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/undefined2.sh +339: + rm -f out/test/x86_64/undefined-glob/d.a +336: + grep 'trace-symbol: .*/a.o: reference to foo' out/test/x86_64/trace-symbol/log +342: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/unkown-section-type.sh +342: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +342: ++ export LC_ALL=C +342: ++ LC_ALL=C +342: ++ '[' -z x86_64 ']' +342: ++ '[' -z '' ']' +342: ++ TESTDIR=out/test/x86_64 +342: ++ CC=cc +342: ++ CXX=c++ +342: ++ GCC=gcc +342: ++ GXX=g++ +342: ++ OBJDUMP=objdump +342: ++ OBJCOPY=objcopy +342: ++ STRIP=strip +342: ++ QEMU= +334: + cat +334: + gcc -fPIC -c -o out/test/x86_64/tlsdesc/b.o -xc - -mtls-dialect=gnu2 +331: + cat 341: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 341: ++ export LC_ALL=C 341: ++ LC_ALL=C @@ -25238,33 +25313,49 @@ 341: ++ OBJCOPY=objcopy 341: ++ STRIP=strip 341: ++ QEMU= +341: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/undefined2.sh .sh +339: + ar cr out/test/x86_64/undefined-glob/d.a out/test/x86_64/undefined-glob/a.o out/test/x86_64/undefined-glob/b.o out/test/x86_64/undefined-glob/c.o 336: trace-symbol: out/test/x86_64/trace-symbol/a.o: reference to foo 336: + grep 'trace-symbol: .*/b.o: definition of foo' out/test/x86_64/trace-symbol/log -341: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/undefined2.sh .sh +342: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/unkown-section-type.sh .sh 341: ++ testname=undefined2 341: ++ t=out/test/x86_64/undefined2 341: ++ mkdir -p out/test/x86_64/undefined2 -329: + cc -B. -o out/test/x86_64/tlsdesc-dlopen/exe out/test/x86_64/tlsdesc-dlopen/c.o -ldl 336: trace-symbol: out/test/x86_64/trace-symbol/b.o: definition of foo 336: + grep 'trace-symbol: .*/c.so: definition of baz' out/test/x86_64/trace-symbol/log -341: ++ case $MACHINE in -341: ++ tlsdesc_opt=-mtls-dialect=gnu2 +342: ++ testname=unkown-section-type +342: ++ t=out/test/x86_64/unkown-section-type +342: ++ mkdir -p out/test/x86_64/unkown-section-type +331: + gcc -fPIC -fPIC -c -o out/test/x86_64/tlsdesc-initial-exec/c.o -xc - -mtls-dialect=gnu2 +339: + cat +329: + gcc -fPIC -c -o out/test/x86_64/tlsdesc-dlopen/c.o -xc - -mtls-dialect=gnu2 +329: + cat +332: + out/test/x86_64/tlsdesc-local-dynamic/exe1 +330: + cc -B. -o out/test/x86_64/tlsdesc-import/exe out/test/x86_64/tlsdesc-import/a.o out/test/x86_64/tlsdesc-import/b.so +339: + cc -o out/test/x86_64/undefined-glob/e.o -c -xc - 336: trace-symbol: out/test/x86_64/trace-symbol/c.so: definition of baz 336: + on_exit 336: + echo OK 336: OK 336: + exit 0 +342: ++ case $MACHINE in +342: ++ tlsdesc_opt=-mtls-dialect=gnu2 +341: ++ case $MACHINE in +341: ++ tlsdesc_opt=-mtls-dialect=gnu2 341: +++ uname -330/402 Test #336: x86_64-trace-symbol ................................... Passed 0.28 sec -test 342 - Start 342: x86_64-unkown-section-type +332: + grep '42 5' +332: 42 5 +332: + cc -B. -o out/test/x86_64/tlsdesc-local-dynamic/exe2 out/test/x86_64/tlsdesc-local-dynamic/a.o out/test/x86_64/tlsdesc-local-dynamic/b.o -Wl,--no-relax +331/402 Test #336: x86_64-trace-symbol ................................... Passed 0.37 sec +test 343 + Start 343: x86_64-unresolved-symbols -342: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/unkown-section-type.sh" -342: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -342: Environment variables: -342: MACHINE=x86_64 -342: CPU= -342: Test timeout computed to be: 1500 +343: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/unresolved-symbols.sh" +343: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +343: Environment variables: +343: MACHINE=x86_64 +343: CPU= +343: Test timeout computed to be: 1500 341: ++ '[' Linux = FreeBSD ']' 341: ++ trap 'on_error $LINENO' ERR 341: ++ trap on_exit EXIT @@ -25272,64 +25363,29 @@ 341: Testing undefined2 ... ++ set -o pipefail 341: ++ set -x 341: + test_cflags -static -341: + echo 'int main() {}' 341: + cc -B. -static -o /dev/null -xc - -342: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/unkown-section-type.sh -342: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -342: ++ export LC_ALL=C -342: ++ LC_ALL=C -342: ++ '[' -z x86_64 ']' -342: ++ '[' -z '' ']' -342: ++ TESTDIR=out/test/x86_64 -342: ++ CC=cc -342: ++ CXX=c++ -342: ++ GCC=gcc -342: ++ GXX=g++ -342: ++ OBJDUMP=objdump -342: ++ OBJCOPY=objcopy -342: ++ STRIP=strip -342: ++ QEMU= -342: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/unkown-section-type.sh .sh -342: ++ testname=unkown-section-type -342: ++ t=out/test/x86_64/unkown-section-type -342: ++ mkdir -p out/test/x86_64/unkown-section-type -331: + cat -331: + gcc -fPIC -fPIE -c -o out/test/x86_64/tlsdesc-initial-exec/d.o -xc - -mtls-dialect=gnu2 -334: + cc -B. -o out/test/x86_64/tlsdesc/exe1 out/test/x86_64/tlsdesc/a.o out/test/x86_64/tlsdesc/b.o -342: ++ case $MACHINE in -342: ++ tlsdesc_opt=-mtls-dialect=gnu2 -330: + out/test/x86_64/tlsdesc-import/exe -330: + grep '5 7' +341: + echo 'int main() {}' 342: +++ uname 342: ++ '[' Linux = FreeBSD ']' 342: ++ trap 'on_error $LINENO' ERR -330: 5 7 342: ++ trap on_exit EXIT -330: + on_exit 342: ++ echo -n 'Testing unkown-section-type ... ' 342: Testing unkown-section-type ... ++ set -o pipefail 342: ++ set -x 342: + cat -330: + echo OK -330: OK -330: + exit 0 -331/402 Test #330: x86_64-tlsdesc-import ................................. Passed 0.44 sec +333: + gcc -fPIC -c -o out/test/x86_64/tlsdesc-static/b.o -xc - -mtls-dialect=gnu2 342: + cc -o out/test/x86_64/unkown-section-type/a.o -c -xassembler - -332: + cc -B. -o out/test/x86_64/tlsdesc-local-dynamic/exe1 out/test/x86_64/tlsdesc-local-dynamic/a.o out/test/x86_64/tlsdesc-local-dynamic/b.o -test 343 - Start 343: x86_64-unresolved-symbols - -343: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/unresolved-symbols.sh" -343: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -343: Environment variables: -343: MACHINE=x86_64 -343: CPU= -343: Test timeout computed to be: 1500 +338: + cc -o out/test/x86_64/undefined-glob-gc-sections/b.o -c -xc - +338: + cat +331: + cat 343: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/unresolved-symbols.sh +333: + cat +330: + out/test/x86_64/tlsdesc-import/exe 343: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 343: ++ export LC_ALL=C 343: ++ LC_ALL=C 343: ++ '[' -z x86_64 ']' +330: + grep '5 7' 343: ++ '[' -z '' ']' 343: ++ TESTDIR=out/test/x86_64 343: ++ CC=cc @@ -25340,42 +25396,21 @@ 343: ++ OBJCOPY=objcopy 343: ++ STRIP=strip 343: ++ QEMU= -343: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/unresolved-symbols.sh .sh -342: + not cc -B. -o out/test/x86_64/unkown-section-type/exe out/test/x86_64/unkown-section-type/a.o +334: + cc -B. -o out/test/x86_64/tlsdesc/exe1 out/test/x86_64/tlsdesc/a.o out/test/x86_64/tlsdesc/b.o +339: + cc -B. -o out/test/x86_64/undefined-glob/exe1 out/test/x86_64/undefined-glob/d.a out/test/x86_64/undefined-glob/e.o +330: 5 7 342: + grep 'unsupported section type: 0x80000000' +342: + not cc -B. -o out/test/x86_64/unkown-section-type/exe out/test/x86_64/unkown-section-type/a.o +330: + on_exit +330: + echo OK +330: OK +330: + exit 0 +332/402 Test #330: x86_64-tlsdesc-import ................................. Passed 0.50 sec +331: + gcc -fPIC -fPIE -c -o out/test/x86_64/tlsdesc-initial-exec/d.o -xc - -mtls-dialect=gnu2 +343: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/unresolved-symbols.sh .sh 343: ++ testname=unresolved-symbols 343: ++ t=out/test/x86_64/unresolved-symbols 343: ++ mkdir -p out/test/x86_64/unresolved-symbols -343: ++ case $MACHINE in -343: ++ tlsdesc_opt=-mtls-dialect=gnu2 -343: +++ uname -333: + gcc -fPIC -c -o out/test/x86_64/tlsdesc-static/a.o -xc - -mtls-dialect=gnu2 -343: ++ '[' Linux = FreeBSD ']' -343: ++ trap 'on_error $LINENO' ERR -343: ++ trap on_exit EXIT -343: ++ echo -n 'Testing unresolved-symbols ... ' -343: Testing unresolved-symbols ... ++ set -o pipefail -343: ++ set -x -343: + cat -333: + cat -343: + cc -c -o out/test/x86_64/unresolved-symbols/a.o -xc - -334: + grep '42 3 5' -329: + out/test/x86_64/tlsdesc-dlopen/exe out/test/x86_64/tlsdesc-dlopen/b.so -334: + out/test/x86_64/tlsdesc/exe1 -329: + grep '3 0 5' -334: 42 3 5 -331: + cc -B. -o out/test/x86_64/tlsdesc-initial-exec/exe1 out/test/x86_64/tlsdesc-initial-exec/c.o out/test/x86_64/tlsdesc-initial-exec/d.o out/test/x86_64/tlsdesc-initial-exec/b.so -329: 3 0 5 -338: + cat -329: + on_exit -329: + echo OK -329: OK -329: + exit 0 -334: + cc -B. -o out/test/x86_64/tlsdesc/exe2 out/test/x86_64/tlsdesc/a.o out/test/x86_64/tlsdesc/b.o -Wl,-no-relax -340: + cat -332/402 Test #329: x86_64-tlsdesc-dlopen ................................. Passed 0.52 sec -338: + cc -o out/test/x86_64/undefined-glob-gc-sections/a.o -c -xc - -340: + cc -o out/test/x86_64/undefined/a.o -c -x assembler - test 344 Start 344: x86_64-unresolved-symbols2 @@ -25385,8 +25420,12 @@ 344: MACHINE=x86_64 344: CPU= 344: Test timeout computed to be: 1500 +340: + cc -o out/test/x86_64/undefined/a.o -c -x assembler - 340: + cat -340: + cc -o out/test/x86_64/undefined/b.o -c -x assembler - +343: ++ case $MACHINE in +343: ++ tlsdesc_opt=-mtls-dialect=gnu2 +333: + cc -B. -o out/test/x86_64/tlsdesc-static/exe1 out/test/x86_64/tlsdesc-static/a.o out/test/x86_64/tlsdesc-static/b.o -static +329: + cc -B. -o out/test/x86_64/tlsdesc-dlopen/exe out/test/x86_64/tlsdesc-dlopen/c.o -ldl 344: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/unresolved-symbols2.sh 344: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 344: ++ export LC_ALL=C @@ -25402,18 +25441,29 @@ 344: ++ OBJCOPY=objcopy 344: ++ STRIP=strip 344: ++ QEMU= +332: + grep '42 5' +340: + cc -o out/test/x86_64/undefined/b.o -c -x assembler - +332: + out/test/x86_64/tlsdesc-local-dynamic/exe2 344: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/unresolved-symbols2.sh .sh 344: ++ testname=unresolved-symbols2 344: ++ t=out/test/x86_64/unresolved-symbols2 344: ++ mkdir -p out/test/x86_64/unresolved-symbols2 -342: mold: fatal: out/test/x86_64/unkown-section-type/a.o: .my_section: unsupported section type: 0x80000000 -342: + on_exit -342: + echo OK -342: OK -342: + exit 0 -339: + cat -333/402 Test #342: x86_64-unkown-section-type ............................ Passed 0.11 sec -339: + cc -o out/test/x86_64/undefined-glob/a.o -c -xc - +343: +++ uname +343: ++ '[' Linux = FreeBSD ']' +343: ++ trap 'on_error $LINENO' ERR +343: ++ trap on_exit EXIT +343: ++ echo -n 'Testing unresolved-symbols ... ' +343: Testing unresolved-symbols ... ++ set -o pipefail +343: ++ set -x +332: 42 5 +332: + on_exit +332: + echo OK +332: OK +332: + exit 0 +340: + cat +338: + cc -o out/test/x86_64/undefined-glob-gc-sections/c.o -c -xc - +333/402 Test #332: x86_64-tlsdesc-local-dynamic .......................... Passed 0.52 sec +338: + cat test 345 Start 345: x86_64-verbose @@ -25423,10 +25473,27 @@ 345: MACHINE=x86_64 345: CPU= 345: Test timeout computed to be: 1500 -333: + cat -333: + gcc -fPIC -c -o out/test/x86_64/tlsdesc-static/b.o -xc - -mtls-dialect=gnu2 +343: + cat +343: + cc -c -o out/test/x86_64/unresolved-symbols/a.o -xc - 344: ++ case $MACHINE in 344: ++ tlsdesc_opt=-mtls-dialect=gnu2 +331: + cc -B. -o out/test/x86_64/tlsdesc-initial-exec/exe1 out/test/x86_64/tlsdesc-initial-exec/c.o out/test/x86_64/tlsdesc-initial-exec/d.o out/test/x86_64/tlsdesc-initial-exec/b.so +342: mold: fatal: out/test/x86_64/unkown-section-type/a.o: .my_section: unsupported section type: 0x80000000 +342: + on_exit +342: + echo OK +342: OK +342: + exit 0 +340: + cc -o out/test/x86_64/undefined/c.o -c -x assembler - +334/402 Test #342: x86_64-unkown-section-type ............................ Passed 0.15 sec +test 346 + Start 346: x86_64-version-script-search-paths + +346: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script-search-paths.sh" +346: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +346: Environment variables: +346: MACHINE=x86_64 +346: CPU= +346: Test timeout computed to be: 1500 344: +++ uname 344: ++ '[' Linux = FreeBSD ']' 344: ++ trap 'on_error $LINENO' ERR @@ -25434,13 +25501,36 @@ 344: ++ echo -n 'Testing unresolved-symbols2 ... ' 344: Testing unresolved-symbols2 ... ++ set -o pipefail 344: ++ set -x -344: + cat -344: + cc -c -o out/test/x86_64/unresolved-symbols2/a.o -xc -fPIC - -332: + out/test/x86_64/tlsdesc-local-dynamic/exe1 -332: + grep '42 5' 340: + cat -340: + cc -o out/test/x86_64/undefined/c.o -c -x assembler - +339: + readelf -W --symbols out/test/x86_64/undefined-glob/exe1 +334: + grep '42 3 5' +334: + out/test/x86_64/tlsdesc/exe1 +334: 42 3 5 +334: + cc -B. -o out/test/x86_64/tlsdesc/exe2 out/test/x86_64/tlsdesc/a.o out/test/x86_64/tlsdesc/b.o -Wl,-no-relax +340: + rm -f out/test/x86_64/undefined/d.a +339: + not grep foo out/test/x86_64/undefined-glob/log1 +339: + grep foo out/test/x86_64/undefined-glob/log1 +344: + cc -c -o out/test/x86_64/unresolved-symbols2/a.o -xc -fPIC - +344: + cat +338: + rm -f out/test/x86_64/undefined-glob-gc-sections/d.a +346: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script-search-paths.sh 345: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/verbose.sh +329: + grep '3 0 5' +329: + out/test/x86_64/tlsdesc-dlopen/exe out/test/x86_64/tlsdesc-dlopen/b.so +346: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +346: ++ export LC_ALL=C +346: ++ LC_ALL=C +346: ++ '[' -z x86_64 ']' +346: ++ '[' -z '' ']' +346: ++ TESTDIR=out/test/x86_64 +346: ++ CC=cc +346: ++ CXX=c++ +346: ++ GCC=gcc +346: ++ GXX=g++ +346: ++ OBJDUMP=objdump +346: ++ OBJCOPY=objcopy +346: ++ STRIP=strip +346: ++ QEMU= 345: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 345: ++ export LC_ALL=C 345: ++ LC_ALL=C @@ -25455,20 +25545,74 @@ 345: ++ OBJCOPY=objcopy 345: ++ STRIP=strip 345: ++ QEMU= -343: + not cc -B. -o out/test/x86_64/unresolved-symbols/exe out/test/x86_64/unresolved-symbols/a.o -343: + grep 'undefined.*foo' -338: + cc -o out/test/x86_64/undefined-glob-gc-sections/b.o -c -xc - -332: 42 5 -332: + cc -B. -o out/test/x86_64/tlsdesc-local-dynamic/exe2 out/test/x86_64/tlsdesc-local-dynamic/a.o out/test/x86_64/tlsdesc-local-dynamic/b.o -Wl,--no-relax -338: + cat +340: + ar cr out/test/x86_64/undefined/d.a out/test/x86_64/undefined/b.o out/test/x86_64/undefined/c.o +329: 3 0 5 +338: + ar cr out/test/x86_64/undefined-glob-gc-sections/d.a out/test/x86_64/undefined-glob-gc-sections/a.o out/test/x86_64/undefined-glob-gc-sections/b.o out/test/x86_64/undefined-glob-gc-sections/c.o +329: + on_exit +329: + echo OK +329: OK +329: + exit 0 +339: + return 0 +339: + not grep foobar out/test/x86_64/undefined-glob/log1 +339: + grep foobar out/test/x86_64/undefined-glob/log1 +335/402 Test #329: x86_64-tlsdesc-dlopen ................................. Passed 0.61 sec +test 347 + Start 347: x86_64-version-script + +347: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script.sh" +347: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +347: Environment variables: +347: MACHINE=x86_64 +347: CPU= +347: Test timeout computed to be: 1500 345: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/verbose.sh .sh 345: ++ testname=verbose 345: ++ t=out/test/x86_64/verbose 345: ++ mkdir -p out/test/x86_64/verbose -340: + rm -f out/test/x86_64/undefined/d.a +339: + return 0 +339: + not grep baz out/test/x86_64/undefined-glob/log1 +339: + grep baz out/test/x86_64/undefined-glob/log1 +339: + return 0 +339: + cc -B. -o out/test/x86_64/undefined-glob/exe2 out/test/x86_64/undefined-glob/d.a out/test/x86_64/undefined-glob/e.o '-Wl,--undefined-glob=foo*' +341: + cc -o out/test/x86_64/undefined2/a.o -c -x assembler - +346: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script-search-paths.sh .sh +341: + cat +347: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script.sh +347: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +347: ++ export LC_ALL=C +347: ++ LC_ALL=C +347: ++ '[' -z x86_64 ']' +347: ++ '[' -z '' ']' +347: ++ TESTDIR=out/test/x86_64 +347: ++ CC=cc +347: ++ CXX=c++ +347: ++ GCC=gcc +347: ++ GXX=g++ +347: ++ OBJDUMP=objdump +347: ++ OBJCOPY=objcopy +347: ++ STRIP=strip +347: ++ QEMU= +347: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script.sh .sh +346: ++ testname=version-script-search-paths +346: ++ t=out/test/x86_64/version-script-search-paths +346: ++ mkdir -p out/test/x86_64/version-script-search-paths +347: ++ testname=version-script +347: ++ t=out/test/x86_64/version-script +347: ++ mkdir -p out/test/x86_64/version-script +344: + cc -B. -shared -o out/test/x86_64/unresolved-symbols2/b.so out/test/x86_64/unresolved-symbols2/a.o -Wl,-z,defs -Wl,--unresolved-symbols,ignore-in-object-files +347: ++ case $MACHINE in +347: ++ tlsdesc_opt=-mtls-dialect=gnu2 +347: +++ uname +347: ++ '[' Linux = FreeBSD ']' +347: ++ trap 'on_error $LINENO' ERR +347: ++ trap on_exit EXIT +347: ++ echo -n 'Testing version-script ... ' +347: Testing version-script ... ++ set -o pipefail +347: ++ set -x +347: + echo 'ver_x { global: *; };' +347: + cat 345: ++ case $MACHINE in 345: ++ tlsdesc_opt=-mtls-dialect=gnu2 -340: + ar cr out/test/x86_64/undefined/d.a out/test/x86_64/undefined/b.o out/test/x86_64/undefined/c.o 345: +++ uname 345: ++ '[' Linux = FreeBSD ']' 345: ++ trap 'on_error $LINENO' ERR @@ -25476,143 +25620,69 @@ 345: ++ echo -n 'Testing verbose ... ' 345: Testing verbose ... ++ set -o pipefail 345: ++ set -x -345: + cat -345: + cc -c -xc -o out/test/x86_64/verbose/a.o - -333: + cc -B. -o out/test/x86_64/tlsdesc-static/exe1 out/test/x86_64/tlsdesc-static/a.o out/test/x86_64/tlsdesc-static/b.o -static -339: + cc -o out/test/x86_64/undefined-glob/b.o -c -xc - -339: + cat -340: + ./mold -static -o out/test/x86_64/undefined/exe out/test/x86_64/undefined/a.o out/test/x86_64/undefined/d.a -331: + grep '^5 5 5$' -331: + out/test/x86_64/tlsdesc-initial-exec/exe1 -334: + out/test/x86_64/tlsdesc/exe2 -334: + grep '42 3 5' -331: 5 5 5 -338: + cat -331: + objdump --dynamic-reloc out/test/x86_64/tlsdesc-initial-exec/exe1 -334: 42 3 5 -341: + cat -343: mold: error: undefined symbol: foo -341: + cc -o out/test/x86_64/undefined2/a.o -c -x assembler - -338: + cc -o out/test/x86_64/undefined-glob-gc-sections/c.o -c -xc - -334: + cc -B. -shared -o out/test/x86_64/tlsdesc/c.so out/test/x86_64/tlsdesc/a.o -343: + not cc -B. -o out/test/x86_64/unresolved-symbols/exe out/test/x86_64/unresolved-symbols/a.o -Wl,-unresolved-symbols=report-all -343: + grep 'undefined.*foo' -331: + not grep -E 'TLS_?DESC' -331: + grep -E 'TLS_?DESC' -331: + return 0 -331: + cc -B. -o out/test/x86_64/tlsdesc-initial-exec/exe2 out/test/x86_64/tlsdesc-initial-exec/c.o out/test/x86_64/tlsdesc-initial-exec/d.o out/test/x86_64/tlsdesc-initial-exec/b.so -Wl,--no-relax -332: + out/test/x86_64/tlsdesc-local-dynamic/exe2 -332: + grep '42 5' -332: 42 5 -344: + cc -B. -shared -o out/test/x86_64/unresolved-symbols2/b.so out/test/x86_64/unresolved-symbols2/a.o -Wl,-z,defs -Wl,--unresolved-symbols,ignore-in-object-files -340: + readelf --symbols out/test/x86_64/undefined/exe -341: + cc -o out/test/x86_64/undefined2/b.o -c -x assembler - -341: + cat -332: + on_exit -332: + echo OK -332: OK -332: + exit 0 -345: + cc -B. -Wl,--verbose -o out/test/x86_64/verbose/exe out/test/x86_64/verbose/a.o -339: + cat -334/402 Test #332: x86_64-tlsdesc-local-dynamic .......................... Passed 0.58 sec -339: + cc -o out/test/x86_64/undefined-glob/c.o -c -xc - -340: + not grep foo out/test/x86_64/undefined/log -340: + grep foo out/test/x86_64/undefined/log -test 346 - Start 346: x86_64-version-script-search-paths - -346: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script-search-paths.sh" -346: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -346: Environment variables: -346: MACHINE=x86_64 -346: CPU= -346: Test timeout computed to be: 1500 -340: + return 0 -340: + not grep bar out/test/x86_64/undefined/log -340: + grep bar out/test/x86_64/undefined/log -340: + return 0 -340: + ./mold -static -o out/test/x86_64/undefined/exe out/test/x86_64/undefined/a.o out/test/x86_64/undefined/d.a -u foo -341: + cat -341: + cc -o out/test/x86_64/undefined2/c.o -c -x assembler - -346: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script-search-paths.sh -346: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -346: ++ export LC_ALL=C -346: ++ LC_ALL=C -346: ++ '[' -z x86_64 ']' -346: ++ '[' -z '' ']' -346: ++ TESTDIR=out/test/x86_64 -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/version-script-search-paths.sh .sh -346: ++ testname=version-script-search-paths -346: ++ t=out/test/x86_64/version-script-search-paths -346: ++ mkdir -p out/test/x86_64/version-script-search-paths +347: + cc -B. -shared -o out/test/x86_64/version-script/c.so -Wl,-version-script,out/test/x86_64/version-script/a.ver out/test/x86_64/version-script/b.s 346: ++ case $MACHINE in 346: ++ tlsdesc_opt=-mtls-dialect=gnu2 +345: + cat 346: +++ uname -338: + rm -f out/test/x86_64/undefined-glob-gc-sections/d.a -338: + ar cr out/test/x86_64/undefined-glob-gc-sections/d.a out/test/x86_64/undefined-glob-gc-sections/a.o out/test/x86_64/undefined-glob-gc-sections/b.o out/test/x86_64/undefined-glob-gc-sections/c.o -341: + rm -f out/test/x86_64/undefined2/d.a -339: + rm -f out/test/x86_64/undefined-glob/d.a -341: + ar cr out/test/x86_64/undefined2/d.a out/test/x86_64/undefined2/b.o out/test/x86_64/undefined2/c.o -334: + cc -B. -o out/test/x86_64/tlsdesc/exe3 out/test/x86_64/tlsdesc/b.o out/test/x86_64/tlsdesc/c.so -339: + ar cr out/test/x86_64/undefined-glob/d.a out/test/x86_64/undefined-glob/a.o out/test/x86_64/undefined-glob/b.o out/test/x86_64/undefined-glob/c.o +345: + cc -c -xc -o out/test/x86_64/verbose/a.o - 346: ++ '[' Linux = FreeBSD ']' 346: ++ trap 'on_error $LINENO' ERR -340: + readelf --symbols out/test/x86_64/undefined/exe -338: + cat -338: + cc -o out/test/x86_64/undefined-glob-gc-sections/e.o -c -xc - 346: ++ trap on_exit EXIT 346: ++ echo -n 'Testing version-script-search-paths ... ' 346: Testing version-script-search-paths ... ++ set -o pipefail 346: ++ set -x 346: + mkdir -p out/test/x86_64/version-script-search-paths/foo/bar +340: + ./mold -static -o out/test/x86_64/undefined/exe out/test/x86_64/undefined/a.o out/test/x86_64/undefined/d.a 333: + out/test/x86_64/tlsdesc-static/exe1 -340: + grep foo out/test/x86_64/undefined/log 333: + grep 42 +338: + cat +338: + cc -o out/test/x86_64/undefined-glob-gc-sections/e.o -c -xc - 333: 42 333: + cc -B. -o out/test/x86_64/tlsdesc-static/exe2 out/test/x86_64/tlsdesc-static/a.o out/test/x86_64/tlsdesc-static/b.o -static -Wl,-no-relax -340: 14: 0000000000201210 0 NOTYPE LOCAL DEFAULT 3 foo -340: + not grep bar out/test/x86_64/undefined/log -340: + grep bar out/test/x86_64/undefined/log +341: + cc -o out/test/x86_64/undefined2/b.o -c -x assembler - +343: + grep 'undefined.*foo' +343: + not cc -B. -o out/test/x86_64/unresolved-symbols/exe out/test/x86_64/unresolved-symbols/a.o +341: + cat +339: + readelf -W --symbols out/test/x86_64/undefined-glob/exe2 346: + echo 'ver_x { global: *; };' 346: + cat -341: + ./mold -static -o out/test/x86_64/undefined2/exe out/test/x86_64/undefined2/a.o out/test/x86_64/undefined2/d.a -undefined foo -343: mold: error: undefined symbol: foo -343: + cc -B. -o out/test/x86_64/unresolved-symbols/exe out/test/x86_64/unresolved-symbols/a.o -Wl,-unresolved-symbols=ignore-all -344: + readelf -W --dyn-syms out/test/x86_64/unresolved-symbols2/b.so -344: + grep ' UND foo$' -339: + cat -339: + cc -o out/test/x86_64/undefined-glob/e.o -c -xc - +334: + grep '42 3 5' +340: + readelf --symbols out/test/x86_64/undefined/exe +334: + out/test/x86_64/tlsdesc/exe2 +334: 42 3 5 +334: + cc -B. -shared -o out/test/x86_64/tlsdesc/c.so out/test/x86_64/tlsdesc/a.o +338: + cc -B. -o out/test/x86_64/undefined-glob-gc-sections/exe2 out/test/x86_64/undefined-glob-gc-sections/d.a out/test/x86_64/undefined-glob-gc-sections/e.o '-Wl,--undefined-glob=foo*' -Wl,--gc-sections 346: + cc -B. -shared -o out/test/x86_64/version-script-search-paths/c.so -Wl,-Lout/test/x86_64/version-script-search-paths/foo/bar -Wl,-version-script,a.ver out/test/x86_64/version-script-search-paths/b.s -345: + on_exit -345: + echo OK -345: OK -345: + exit 0 -340: + return 0 -340: + ./mold -static -o out/test/x86_64/undefined/exe out/test/x86_64/undefined/a.o out/test/x86_64/undefined/d.a -u foo --undefined=bar -335/402 Test #345: x86_64-verbose ........................................ Passed 0.14 sec +339: + grep foo out/test/x86_64/undefined-glob/log2 +341: + cat +341: + cc -o out/test/x86_64/undefined2/c.o -c -x assembler - +340: + not grep foo out/test/x86_64/undefined/log +340: + grep foo out/test/x86_64/undefined/log +331: + grep '^5 5 5$' +339: 59: 00000000000038a0 4 OBJECT LOCAL DEFAULT 23 foo +339: 61: 00000000000038a4 4 OBJECT LOCAL DEFAULT 23 foobar +344: + grep ' UND foo$' +341: + rm -f out/test/x86_64/undefined2/d.a +339: + grep foobar out/test/x86_64/undefined-glob/log2 +331: + out/test/x86_64/tlsdesc-initial-exec/exe1 +344: + readelf -W --dyn-syms out/test/x86_64/unresolved-symbols2/b.so +331: 5 5 5 344: 4: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND foo +339: 61: 00000000000038a4 4 OBJECT LOCAL DEFAULT 23 foobar 344: + on_exit 344: + echo OK 344: OK 344: + exit 0 -test 347 - Start 347: x86_64-version-script - -347: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script.sh" -347: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -347: Environment variables: -347: MACHINE=x86_64 -347: CPU= -347: Test timeout computed to be: 1500 -336/402 Test #344: x86_64-unresolved-symbols2 ............................ Passed 0.15 sec +339: + not grep baz out/test/x86_64/undefined-glob/log2 +339: + grep baz out/test/x86_64/undefined-glob/log2 +340: + return 0 +340: + not grep bar out/test/x86_64/undefined/log +340: + grep bar out/test/x86_64/undefined/log +341: + ar cr out/test/x86_64/undefined2/d.a out/test/x86_64/undefined2/b.o out/test/x86_64/undefined2/c.o +347: + readelf --version-info out/test/x86_64/version-script/c.so +345: + cc -B. -Wl,--verbose -o out/test/x86_64/verbose/exe out/test/x86_64/verbose/a.o +336/402 Test #344: x86_64-unresolved-symbols2 ............................ Passed 0.16 sec test 348 Start 348: x86_64-version-script10 @@ -25622,76 +25692,39 @@ 348: MACHINE=x86_64 348: CPU= 348: Test timeout computed to be: 1500 -347: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script.sh -347: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -347: ++ export LC_ALL=C -347: ++ LC_ALL=C -347: ++ '[' -z x86_64 ']' -347: ++ '[' -z '' ']' -347: ++ TESTDIR=out/test/x86_64 -347: ++ CC=cc -347: ++ CXX=c++ -347: ++ GCC=gcc -347: ++ GXX=g++ -347: ++ OBJDUMP=objdump -347: ++ OBJCOPY=objcopy -347: ++ STRIP=strip -347: ++ QEMU= -347: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script.sh .sh -341: + readelf --symbols out/test/x86_64/undefined2/exe -331: + out/test/x86_64/tlsdesc-initial-exec/exe2 -331: + grep '^5 5 5$' -331: 5 5 5 -348: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script10.sh -331: + objdump --dynamic-reloc out/test/x86_64/tlsdesc-initial-exec/exe2 +347: + grep -F 'Rev: 1 Flags: BASE Index: 1 Cnt: 1 Name: c.so' out/test/x86_64/version-script/log +347: 000000: Rev: 1 Flags: BASE Index: 1 Cnt: 1 Name: c.so +347: + grep -F 'Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x' out/test/x86_64/version-script/log +347: 0x001c: Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x +347: + on_exit +347: + echo OK +347: OK +347: + exit 0 +346: + readelf --version-info out/test/x86_64/version-script-search-paths/c.so +346: + grep -F 'Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x' out/test/x86_64/version-script-search-paths/log +346: 0x001c: Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x +346: + on_exit +346: + echo OK +346: OK +346: + exit 0 +331: + not grep -E 'TLS_?DESC' 331: + grep -E 'TLS_?DESC' -347: ++ testname=version-script -347: ++ t=out/test/x86_64/version-script -347: ++ mkdir -p out/test/x86_64/version-script -341: + grep foo out/test/x86_64/undefined2/log -340: + readelf --symbols out/test/x86_64/undefined/exe -348: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -348: ++ export LC_ALL=C -348: ++ LC_ALL=C -348: ++ '[' -z x86_64 ']' -348: ++ '[' -z '' ']' -348: ++ TESTDIR=out/test/x86_64 -348: ++ CC=cc -348: ++ CXX=c++ -348: ++ GCC=gcc -348: ++ GXX=g++ -348: ++ OBJDUMP=objdump -348: ++ OBJCOPY=objcopy -348: ++ STRIP=strip -348: ++ QEMU= -341: 14: 0000000000201210 0 NOTYPE LOCAL DEFAULT 3 foo -341: + not grep ndefined out/test/x86_64/undefined2/log -341: + grep ndefined out/test/x86_64/undefined2/log -347: ++ case $MACHINE in -347: ++ tlsdesc_opt=-mtls-dialect=gnu2 -348: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script10.sh .sh -347: +++ uname -340: + grep foo out/test/x86_64/undefined/log -331: 0000000000002a88 R_X86_64_TLSDESC foo@Base -331: + on_exit -331: + echo OK -331: OK -331: + exit 0 -348: ++ testname=version-script10 -348: ++ t=out/test/x86_64/version-script10 -347: ++ '[' Linux = FreeBSD ']' -347: ++ trap 'on_error $LINENO' ERR -347: ++ trap on_exit EXIT -347: ++ echo -n 'Testing version-script ... ' -347: Testing version-script ... ++ set -o pipefail -347: ++ set -x -347: + echo 'ver_x { global: *; };' -341: + return 0 -341: + on_exit -341: + echo OK -341: OK -341: + exit 0 -337/402 Test #331: x86_64-tlsdesc-initial-exec ........................... Passed 0.66 sec +331: + objdump --dynamic-reloc out/test/x86_64/tlsdesc-initial-exec/exe1 +331: + return 0 +331: + cc -B. -o out/test/x86_64/tlsdesc-initial-exec/exe2 out/test/x86_64/tlsdesc-initial-exec/c.o out/test/x86_64/tlsdesc-initial-exec/d.o out/test/x86_64/tlsdesc-initial-exec/b.so -Wl,--no-relax +339: + return 0 +339: + on_exit +339: + echo OK +339: OK +339: + exit 0 +341: + ./mold -static -o out/test/x86_64/undefined2/exe out/test/x86_64/undefined2/a.o out/test/x86_64/undefined2/d.a -undefined foo +343: mold: error: undefined symbol: foo +340: + return 0 +340: + ./mold -static -o out/test/x86_64/undefined/exe out/test/x86_64/undefined/a.o out/test/x86_64/undefined/d.a -u foo +334: + cc -B. -o out/test/x86_64/tlsdesc/exe3 out/test/x86_64/tlsdesc/b.o out/test/x86_64/tlsdesc/c.so +337/402 Test #339: x86_64-undefined-glob ................................. Passed 0.54 sec +338/402 Test #346: x86_64-version-script-search-paths .................... Passed 0.12 sec +339/402 Test #347: x86_64-version-script ................................. Passed 0.09 sec test 349 Start 349: x86_64-version-script11 @@ -25701,7 +25734,6 @@ 349: MACHINE=x86_64 349: CPU= 349: Test timeout computed to be: 1500 -338/402 Test #341: x86_64-undefined2 ..................................... Passed 0.29 sec test 350 Start 350: x86_64-version-script12 @@ -25711,8 +25743,35 @@ 350: MACHINE=x86_64 350: CPU= 350: Test timeout computed to be: 1500 -340: 14: 0000000000201210 0 NOTYPE LOCAL DEFAULT 3 foo -340: + grep bar out/test/x86_64/undefined/log +test 351 + Start 351: x86_64-version-script13 + +351: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script13.sh" +351: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +351: Environment variables: +351: MACHINE=x86_64 +351: CPU= +351: Test timeout computed to be: 1500 +343: + grep 'undefined.*foo' +343: + not cc -B. -o out/test/x86_64/unresolved-symbols/exe out/test/x86_64/unresolved-symbols/a.o -Wl,-unresolved-symbols=report-all +348: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script10.sh +348: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +348: ++ export LC_ALL=C +348: ++ LC_ALL=C +348: ++ '[' -z x86_64 ']' +348: ++ '[' -z '' ']' +348: ++ TESTDIR=out/test/x86_64 +348: ++ CC=cc +348: ++ CXX=c++ +348: ++ GCC=gcc +348: ++ GXX=g++ +348: ++ OBJDUMP=objdump +348: ++ OBJCOPY=objcopy +348: ++ STRIP=strip +348: ++ QEMU= +348: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script10.sh .sh +348: ++ testname=version-script10 +348: ++ t=out/test/x86_64/version-script10 348: ++ mkdir -p out/test/x86_64/version-script10 348: ++ case $MACHINE in 348: ++ tlsdesc_opt=-mtls-dialect=gnu2 @@ -25724,16 +25783,14 @@ 348: Testing version-script10 ... ++ set -o pipefail 348: ++ set -x 348: + echo 'VER1 { foo[12]; }; VER2 {};' -347: + cat -347: + cc -B. -shared -o out/test/x86_64/version-script/c.so -Wl,-version-script,out/test/x86_64/version-script/a.ver out/test/x86_64/version-script/b.s -348: + cat -338: + cc -B. -o out/test/x86_64/undefined-glob-gc-sections/exe2 out/test/x86_64/undefined-glob-gc-sections/d.a out/test/x86_64/undefined-glob-gc-sections/e.o '-Wl,--undefined-glob=foo*' -Wl,--gc-sections +340: + readelf --symbols out/test/x86_64/undefined/exe +345: + on_exit +345: + echo OK +345: OK +345: + exit 0 +341: + readelf --symbols out/test/x86_64/undefined2/exe +338: + readelf -W --symbols out/test/x86_64/undefined-glob-gc-sections/exe2 349: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script11.sh -340: 15: 0000000000201210 0 NOTYPE LOCAL DEFAULT 3 bar -340: + on_exit -340: + echo OK -340: OK -340: + exit 0 349: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 349: ++ export LC_ALL=C 349: ++ LC_ALL=C @@ -25748,23 +25805,34 @@ 349: ++ OBJCOPY=objcopy 349: ++ STRIP=strip 349: ++ QEMU= -350: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script12.sh -339/402 Test #340: x86_64-undefined ...................................... Passed 0.33 sec 349: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script11.sh .sh -test 351 - Start 351: x86_64-version-script13 - -351: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script13.sh" -351: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -351: Environment variables: -351: MACHINE=x86_64 -351: CPU= -351: Test timeout computed to be: 1500 349: ++ testname=version-script11 349: ++ t=out/test/x86_64/version-script11 349: ++ mkdir -p out/test/x86_64/version-script11 +340/402 Test #345: x86_64-verbose ........................................ Passed 0.17 sec +test 352 + Start 352: x86_64-version-script14 + +352: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script14.sh" +352: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +352: Environment variables: +352: MACHINE=x86_64 +352: CPU= +352: Test timeout computed to be: 1500 349: ++ case $MACHINE in 349: ++ tlsdesc_opt=-mtls-dialect=gnu2 +349: +++ uname +349: ++ '[' Linux = FreeBSD ']' +349: ++ trap 'on_error $LINENO' ERR +349: ++ trap on_exit EXIT +349: ++ echo -n 'Testing version-script11 ... ' +349: Testing version-script11 ... ++ set -o pipefail +349: ++ set -x +349: + cat +348: + cat +340: + grep foo out/test/x86_64/undefined/log +338: + grep foo out/test/x86_64/undefined-glob-gc-sections/log2 +350: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script12.sh 350: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 350: ++ export LC_ALL=C 350: ++ LC_ALL=C @@ -25779,14 +25847,11 @@ 350: ++ OBJCOPY=objcopy 350: ++ STRIP=strip 350: ++ QEMU= -350: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script12.sh .sh -350: ++ testname=version-script12 -350: ++ t=out/test/x86_64/version-script12 -350: ++ mkdir -p out/test/x86_64/version-script12 -349: +++ uname +340: 14: 0000000000201210 0 NOTYPE LOCAL DEFAULT 3 foo +340: + not grep bar out/test/x86_64/undefined/log +340: + grep bar out/test/x86_64/undefined/log 351: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script13.sh -348: + cc -B. -shared -o out/test/x86_64/version-script10/c.so -Wl,-version-script,out/test/x86_64/version-script10/a.ver out/test/x86_64/version-script10/b.s -339: + cc -B. -o out/test/x86_64/undefined-glob/exe1 out/test/x86_64/undefined-glob/d.a out/test/x86_64/undefined-glob/e.o +350: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script12.sh .sh 351: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 351: ++ export LC_ALL=C 351: ++ LC_ALL=C @@ -25801,22 +25866,12 @@ 351: ++ OBJCOPY=objcopy 351: ++ STRIP=strip 351: ++ QEMU= +350: ++ testname=version-script12 +350: ++ t=out/test/x86_64/version-script12 +350: ++ mkdir -p out/test/x86_64/version-script12 350: ++ case $MACHINE in 350: ++ tlsdesc_opt=-mtls-dialect=gnu2 350: +++ uname -349: ++ '[' Linux = FreeBSD ']' -349: ++ trap 'on_error $LINENO' ERR -349: ++ trap on_exit EXIT -349: ++ echo -n 'Testing version-script11 ... ' -349: Testing version-script11 ... ++ set -o pipefail -349: ++ set -x -349: + cat -351: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script13.sh .sh -351: ++ testname=version-script13 -351: ++ t=out/test/x86_64/version-script13 -351: ++ mkdir -p out/test/x86_64/version-script13 -334: + out/test/x86_64/tlsdesc/exe3 -334: + grep '42 3 5' 350: ++ '[' Linux = FreeBSD ']' 350: ++ trap 'on_error $LINENO' ERR 350: ++ trap on_exit EXIT @@ -25824,47 +25879,12 @@ 350: Testing version-script12 ... ++ set -o pipefail 350: ++ set -x 350: + cat -349: + cat -349: + c++ -fPIC -c -o out/test/x86_64/version-script11/b.o -xc - -343: + readelf --dyn-syms out/test/x86_64/unresolved-symbols/exe -343: + not grep -w foo -343: + grep -w foo -334: 42 3 5 -334: + cc -B. -shared -o out/test/x86_64/tlsdesc/c.so out/test/x86_64/tlsdesc/a.o -Wl,-no-relax -350: + cat 350: + c++ -fPIC -c -o out/test/x86_64/version-script12/b.o -xc - -346: + readelf --version-info out/test/x86_64/version-script-search-paths/c.so -351: ++ case $MACHINE in -351: ++ tlsdesc_opt=-mtls-dialect=gnu2 -351: +++ uname -343: + return 0 -351: ++ '[' Linux = FreeBSD ']' -351: ++ trap 'on_error $LINENO' ERR -351: ++ trap on_exit EXIT -351: ++ echo -n 'Testing version-script13 ... ' -351: Testing version-script13 ... ++ set -o pipefail -351: ++ set -x -351: + cat -343: + grep 'undefined.*foo' -346: + grep -F 'Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x' out/test/x86_64/version-script-search-paths/log -343: + cc -B. -o out/test/x86_64/unresolved-symbols/exe out/test/x86_64/unresolved-symbols/a.o -Wl,-unresolved-symbols=report-all -Wl,--warn-unresolved-symbols -346: 0x001c: Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x -346: + on_exit -346: + echo OK -346: OK -346: + exit 0 -340/402 Test #346: x86_64-version-script-search-paths .................... Passed 0.11 sec -test 352 - Start 352: x86_64-version-script14 - -352: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script14.sh" -352: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -352: Environment variables: -352: MACHINE=x86_64 -352: CPU= -352: Test timeout computed to be: 1500 -351: + c++ -fPIC -c -o out/test/x86_64/version-script13/b.o -xc - -351: + cat +350: + cat +351: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script13.sh .sh +351: ++ testname=version-script13 +351: ++ t=out/test/x86_64/version-script13 +351: ++ mkdir -p out/test/x86_64/version-script13 352: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script14.sh 352: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 352: ++ export LC_ALL=C @@ -25880,31 +25900,38 @@ 352: ++ OBJCOPY=objcopy 352: ++ STRIP=strip 352: ++ QEMU= -352: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script14.sh .sh -352: ++ testname=version-script14 -352: ++ t=out/test/x86_64/version-script14 -352: ++ mkdir -p out/test/x86_64/version-script14 -352: ++ case $MACHINE in -352: ++ tlsdesc_opt=-mtls-dialect=gnu2 -352: +++ uname -352: ++ '[' Linux = FreeBSD ']' -333: + out/test/x86_64/tlsdesc-static/exe2 -352: ++ trap 'on_error $LINENO' ERR -352: ++ trap on_exit EXIT -352: ++ echo -n 'Testing version-script14 ... ' -352: Testing version-script14 ... ++ set -o pipefail -352: ++ set -x -352: + cat -352: + cat +348: + cc -B. -shared -o out/test/x86_64/version-script10/c.so -Wl,-version-script,out/test/x86_64/version-script10/a.ver out/test/x86_64/version-script10/b.s +338: 55: 0000000000003898 4 OBJECT LOCAL DEFAULT 22 foo +338: 57: 000000000000389c 4 OBJECT LOCAL DEFAULT 22 foobar +338: + grep foobar out/test/x86_64/undefined-glob-gc-sections/log2 +338: 57: 000000000000389c 4 OBJECT LOCAL DEFAULT 22 foobar +341: + grep foo out/test/x86_64/undefined2/log 333: + grep 42 -352: + c++ -fPIC -c -o out/test/x86_64/version-script14/b.o -xc - -338: + readelf -W --symbols out/test/x86_64/undefined-glob-gc-sections/exe2 +340: + return 0 +340: + ./mold -static -o out/test/x86_64/undefined/exe out/test/x86_64/undefined/a.o out/test/x86_64/undefined/d.a -u foo --undefined=bar +351: ++ case $MACHINE in +351: ++ tlsdesc_opt=-mtls-dialect=gnu2 +338: + not grep baz out/test/x86_64/undefined-glob-gc-sections/log2 +338: + grep baz out/test/x86_64/undefined-glob-gc-sections/log2 +333: + out/test/x86_64/tlsdesc-static/exe2 333: 42 333: + on_exit 333: + echo OK 333: OK 333: + exit 0 -341/402 Test #333: x86_64-tlsdesc-static ................................. Passed 0.70 sec +334: + out/test/x86_64/tlsdesc/exe3 +334: + grep '42 3 5' +334: 42 3 5 +334: + cc -B. -shared -o out/test/x86_64/tlsdesc/c.so out/test/x86_64/tlsdesc/a.o -Wl,-no-relax +352: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script14.sh .sh +352: ++ testname=version-script14 +352: ++ t=out/test/x86_64/version-script14 +352: ++ mkdir -p out/test/x86_64/version-script14 +341: 14: 0000000000201210 0 NOTYPE LOCAL DEFAULT 3 foo +341: + not grep ndefined out/test/x86_64/undefined2/log +341: + grep ndefined out/test/x86_64/undefined2/log +349: + c++ -fPIC -c -o out/test/x86_64/version-script11/b.o -xc - +341/402 Test #333: x86_64-tlsdesc-static ................................. Passed 0.72 sec test 353 Start 353: x86_64-version-script15 @@ -25914,78 +25941,24 @@ 353: MACHINE=x86_64 353: CPU= 353: Test timeout computed to be: 1500 -339: + readelf -W --symbols out/test/x86_64/undefined-glob/exe1 -353: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script15.sh -353: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -353: ++ export LC_ALL=C -353: ++ LC_ALL=C -353: ++ '[' -z x86_64 ']' -353: ++ '[' -z '' ']' -353: ++ TESTDIR=out/test/x86_64 -353: ++ CC=cc -353: ++ CXX=c++ -353: ++ GCC=gcc -353: ++ GXX=g++ -353: ++ OBJDUMP=objdump -353: ++ OBJCOPY=objcopy -353: ++ STRIP=strip -353: ++ QEMU= -353: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script15.sh .sh -353: ++ testname=version-script15 -353: ++ t=out/test/x86_64/version-script15 -353: ++ mkdir -p out/test/x86_64/version-script15 -338: + grep foo out/test/x86_64/undefined-glob-gc-sections/log2 -349: + cc -B. -shared -Wl,--version-script=out/test/x86_64/version-script11/a.ver -o out/test/x86_64/version-script11/c.so out/test/x86_64/version-script11/b.o -334: + cc -B. -o out/test/x86_64/tlsdesc/exe4 out/test/x86_64/tlsdesc/b.o out/test/x86_64/tlsdesc/c.so -Wl,-no-relax -353: ++ case $MACHINE in -353: ++ tlsdesc_opt=-mtls-dialect=gnu2 -347: + readelf --version-info out/test/x86_64/version-script/c.so -353: +++ uname -353: ++ '[' Linux = FreeBSD ']' -353: ++ trap 'on_error $LINENO' ERR -353: ++ trap on_exit EXIT -353: ++ echo -n 'Testing version-script15 ... ' -353: Testing version-script15 ... ++ set -o pipefail -353: ++ set -x -353: + cat -338: 55: 0000000000003898 4 OBJECT LOCAL DEFAULT 22 foo -338: 57: 000000000000389c 4 OBJECT LOCAL DEFAULT 22 foobar -339: + not grep foo out/test/x86_64/undefined-glob/log1 -339: + grep foo out/test/x86_64/undefined-glob/log1 -338: + grep foobar out/test/x86_64/undefined-glob-gc-sections/log2 -348: + readelf --dyn-syms out/test/x86_64/version-script10/c.so +351: +++ uname +351: ++ '[' Linux = FreeBSD ']' +351: ++ trap 'on_error $LINENO' ERR +351: ++ trap on_exit EXIT +351: ++ echo -n 'Testing version-script13 ... ' +351: Testing version-script13 ... ++ set -o pipefail +351: ++ set -x +351: + cat 350: + cc -B. -shared -Wl,--version-script=out/test/x86_64/version-script12/a.ver -o out/test/x86_64/version-script12/c.so out/test/x86_64/version-script12/b.o -347: + grep -F 'Rev: 1 Flags: BASE Index: 1 Cnt: 1 Name: c.so' out/test/x86_64/version-script/log -351: + cc -B. -shared -Wl,--version-script=out/test/x86_64/version-script13/a.ver -o out/test/x86_64/version-script13/c.so out/test/x86_64/version-script13/b.o -339: + return 0 -339: + not grep foobar out/test/x86_64/undefined-glob/log1 -339: + grep foobar out/test/x86_64/undefined-glob/log1 -338: 57: 000000000000389c 4 OBJECT LOCAL DEFAULT 22 foobar -353: + cat -353: + c++ -fPIC -c -o out/test/x86_64/version-script15/b.o -xc - -338: + not grep baz out/test/x86_64/undefined-glob-gc-sections/log2 -338: + grep baz out/test/x86_64/undefined-glob-gc-sections/log2 -343: mold: warning: undefined symbol: foo -347: 000000: Rev: 1 Flags: BASE Index: 1 Cnt: 1 Name: c.so -347: + grep -F 'Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x' out/test/x86_64/version-script/log -339: + return 0 -339: + not grep baz out/test/x86_64/undefined-glob/log1 -339: + grep baz out/test/x86_64/undefined-glob/log1 -343: + not grep 'undefined.*foo' -343: + grep 'undefined.*foo' -338: + return 0 -338: + on_exit -338: + echo OK -338: OK -338: + exit 0 -348: + grep ' foo1@@VER1$' out/test/x86_64/version-script10/log -343: + cc -B. -o out/test/x86_64/unresolved-symbols/exe out/test/x86_64/unresolved-symbols/a.o -Wl,-unresolved-symbols=ignore-in-object-files -342/402 Test #338: x86_64-undefined-glob-gc-sections ..................... Passed 0.47 sec -347: 0x001c: Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x -347: + on_exit -347: + echo OK -347: OK -347: + exit 0 +349: + cat +341: + return 0 +341: + on_exit +341: + echo OK +341: OK +341: + exit 0 +342/402 Test #341: x86_64-undefined2 ..................................... Passed 0.34 sec +351: + c++ -fPIC -c -o out/test/x86_64/version-script13/b.o -xc - +340: + readelf --symbols out/test/x86_64/undefined/exe test 354 Start 354: x86_64-version-script16 @@ -25995,9 +25968,15 @@ 354: MACHINE=x86_64 354: CPU= 354: Test timeout computed to be: 1500 -339: + return 0 -339: + cc -B. -o out/test/x86_64/undefined-glob/exe2 out/test/x86_64/undefined-glob/d.a out/test/x86_64/undefined-glob/e.o '-Wl,--undefined-glob=foo*' -343/402 Test #347: x86_64-version-script ................................. Passed 0.13 sec +351: + cat +353: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script15.sh +338: + return 0 +338: + on_exit +338: + echo OK +338: OK +338: + exit 0 +340: + grep foo out/test/x86_64/undefined/log +343/402 Test #338: x86_64-undefined-glob-gc-sections ..................... Passed 0.62 sec test 355 Start 355: x86_64-version-script17 @@ -26007,28 +25986,31 @@ 355: MACHINE=x86_64 355: CPU= 355: Test timeout computed to be: 1500 -348: 5: 0000000000001639 0 NOTYPE GLOBAL DEFAULT 14 foo1@@VER1 -348: + grep ' foo2@@VER1$' out/test/x86_64/version-script10/log -348: 6: 000000000000163a 0 NOTYPE GLOBAL DEFAULT 14 foo2@@VER1 -352: + cc -B. -shared -Wl,--version-script=out/test/x86_64/version-script14/a.ver -o out/test/x86_64/version-script14/c.so out/test/x86_64/version-script14/b.o -348: + not grep ' foo3@@VER1$' out/test/x86_64/version-script10/log -348: + grep ' foo3@@VER1$' out/test/x86_64/version-script10/log +353: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +353: ++ export LC_ALL=C +353: ++ LC_ALL=C +353: ++ '[' -z x86_64 ']' +353: ++ '[' -z '' ']' +353: ++ TESTDIR=out/test/x86_64 +353: ++ CC=cc +353: ++ CXX=c++ +353: ++ GCC=gcc +353: ++ GXX=g++ +353: ++ OBJDUMP=objdump +353: ++ OBJCOPY=objcopy +353: ++ STRIP=strip +353: ++ QEMU= +352: ++ case $MACHINE in +352: ++ tlsdesc_opt=-mtls-dialect=gnu2 +331: + out/test/x86_64/tlsdesc-initial-exec/exe2 +352: +++ uname +353: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script15.sh .sh +331: + grep '^5 5 5$' +353: ++ testname=version-script15 +353: ++ t=out/test/x86_64/version-script15 +353: ++ mkdir -p out/test/x86_64/version-script15 354: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script16.sh -348: + return 0 -348: + on_exit -348: + echo OK -348: OK -348: + exit 0 -344/402 Test #348: x86_64-version-script10 ............................... Passed 0.13 sec -test 356 - Start 356: x86_64-version-script18 - -356: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script18.sh" -356: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -356: Environment variables: -356: MACHINE=x86_64 -356: CPU= -356: Test timeout computed to be: 1500 +331: 5 5 5 354: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 354: ++ export LC_ALL=C 354: ++ LC_ALL=C @@ -26043,10 +26025,6 @@ 354: ++ OBJCOPY=objcopy 354: ++ STRIP=strip 354: ++ QEMU= -354: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script16.sh .sh -354: ++ testname=version-script16 -354: ++ t=out/test/x86_64/version-script16 -354: ++ mkdir -p out/test/x86_64/version-script16 355: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script17.sh 355: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 355: ++ export LC_ALL=C @@ -26062,21 +26040,83 @@ 355: ++ OBJCOPY=objcopy 355: ++ STRIP=strip 355: ++ QEMU= +354: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script16.sh .sh +354: ++ testname=version-script16 +354: ++ t=out/test/x86_64/version-script16 +354: ++ mkdir -p out/test/x86_64/version-script16 +352: ++ '[' Linux = FreeBSD ']' +352: ++ trap 'on_error $LINENO' ERR +352: ++ trap on_exit EXIT +352: ++ echo -n 'Testing version-script14 ... ' +352: Testing version-script14 ... ++ set -o pipefail +352: ++ set -x +352: + cat +331: + objdump --dynamic-reloc out/test/x86_64/tlsdesc-initial-exec/exe2 +340: 14: 0000000000201210 0 NOTYPE LOCAL DEFAULT 3 foo +340: + grep bar out/test/x86_64/undefined/log +353: ++ case $MACHINE in +353: ++ tlsdesc_opt=-mtls-dialect=gnu2 +334: + cc -B. -o out/test/x86_64/tlsdesc/exe4 out/test/x86_64/tlsdesc/b.o out/test/x86_64/tlsdesc/c.so -Wl,-no-relax 355: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script17.sh .sh -354: ++ case $MACHINE in -354: ++ tlsdesc_opt=-mtls-dialect=gnu2 355: ++ testname=version-script17 355: ++ t=out/test/x86_64/version-script17 355: ++ mkdir -p out/test/x86_64/version-script17 -354: +++ uname +352: + cat +352: + c++ -fPIC -c -o out/test/x86_64/version-script14/b.o -xc - +340: 15: 0000000000201210 0 NOTYPE LOCAL DEFAULT 3 bar +340: + on_exit +340: + echo OK +340: OK +340: + exit 0 +343: mold: error: undefined symbol: foo +343: + cc -B. -o out/test/x86_64/unresolved-symbols/exe out/test/x86_64/unresolved-symbols/a.o -Wl,-unresolved-symbols=ignore-all +331: + grep -E 'TLS_?DESC' +331: 0000000000002a88 R_X86_64_TLSDESC foo@Base +331: + on_exit +331: + echo OK +331: OK +331: + exit 0 +354: ++ case $MACHINE in +354: ++ tlsdesc_opt=-mtls-dialect=gnu2 +351: + cc -B. -shared -Wl,--version-script=out/test/x86_64/version-script13/a.ver -o out/test/x86_64/version-script13/c.so out/test/x86_64/version-script13/b.o +353: +++ uname +353: ++ '[' Linux = FreeBSD ']' +353: ++ trap 'on_error $LINENO' ERR +353: ++ trap on_exit EXIT +353: ++ echo -n 'Testing version-script15 ... ' +353: Testing version-script15 ... ++ set -o pipefail +353: ++ set -x +353: + cat +344/402 Test #331: x86_64-tlsdesc-initial-exec ........................... Passed 0.79 sec +345/402 Test #340: x86_64-undefined ...................................... Passed 0.48 sec +test 356 + Start 356: x86_64-version-script18 + +356: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script18.sh" +356: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +356: Environment variables: +356: MACHINE=x86_64 +356: CPU= +356: Test timeout computed to be: 1500 +test 357 + Start 357: x86_64-version-script19 + +357: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script19.sh" +357: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +357: Environment variables: +357: MACHINE=x86_64 +357: CPU= +357: Test timeout computed to be: 1500 +355: ++ case $MACHINE in +355: ++ tlsdesc_opt=-mtls-dialect=gnu2 +349: + cc -B. -shared -Wl,--version-script=out/test/x86_64/version-script11/a.ver -o out/test/x86_64/version-script11/c.so out/test/x86_64/version-script11/b.o 356: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script18.sh -354: ++ '[' Linux = FreeBSD ']' -354: ++ trap 'on_error $LINENO' ERR -354: ++ trap on_exit EXIT -354: ++ echo -n 'Testing version-script16 ... ' -354: Testing version-script16 ... ++ set -o pipefail -354: ++ set -x -354: + cat +355: +++ uname +355: ++ '[' Linux = FreeBSD ']' +354: +++ uname +353: + c++ -fPIC -c -o out/test/x86_64/version-script15/b.o -xc - +353: + cat +350: + readelf --dyn-syms out/test/x86_64/version-script12/c.so 356: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 356: ++ export LC_ALL=C 356: ++ LC_ALL=C @@ -26091,55 +26131,25 @@ 356: ++ OBJCOPY=objcopy 356: ++ STRIP=strip 356: ++ QEMU= -355: ++ case $MACHINE in -355: ++ tlsdesc_opt=-mtls-dialect=gnu2 -355: +++ uname -356: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script18.sh .sh -354: + cc -fPIC -c -o out/test/x86_64/version-script16/b.o -xc - -356: ++ testname=version-script18 -355: ++ '[' Linux = FreeBSD ']' 355: ++ trap 'on_error $LINENO' ERR 355: ++ trap on_exit EXIT 355: ++ echo -n 'Testing version-script17 ... ' 355: Testing version-script17 ... ++ set -o pipefail 355: ++ set -x -355: + cat -356: ++ t=out/test/x86_64/version-script18 -356: ++ mkdir -p out/test/x86_64/version-script18 +343: + not grep -w foo +343: + grep -w foo +354: ++ '[' Linux = FreeBSD ']' +354: ++ trap 'on_error $LINENO' ERR +354: ++ trap on_exit EXIT +354: ++ echo -n 'Testing version-script16 ... ' +354: Testing version-script16 ... ++ set -o pipefail +354: ++ set -x 354: + cat -334: + out/test/x86_64/tlsdesc/exe4 -355: + cc -fPIC -c -o out/test/x86_64/version-script17/a.o -xc - -334: + grep '42 3 5' -334: 42 3 5 -334: + on_exit -334: + echo OK -334: OK -334: + exit 0 -345/402 Test #334: x86_64-tlsdesc ........................................ Passed 0.74 sec -356: ++ case $MACHINE in -356: ++ tlsdesc_opt=-mtls-dialect=gnu2 -test 357 - Start 357: x86_64-version-script19 - -357: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script19.sh" -357: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -357: Environment variables: -357: MACHINE=x86_64 -357: CPU= -357: Test timeout computed to be: 1500 -356: +++ uname -356: ++ '[' Linux = FreeBSD ']' -356: ++ trap 'on_error $LINENO' ERR -356: ++ trap on_exit EXIT -356: ++ echo -n 'Testing version-script18 ... ' -356: Testing version-script18 ... ++ set -o pipefail -356: ++ set -x -356: + cat -351: + readelf --dyn-syms out/test/x86_64/version-script13/c.so -353: + cc -B. -shared -Wl,--version-script=out/test/x86_64/version-script15/a.ver -o out/test/x86_64/version-script15/c.so out/test/x86_64/version-script15/b.o 357: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script19.sh -356: + cat -356: + cc -fPIC -c -o out/test/x86_64/version-script18/b.o -xc++ - +355: + cat +343: + readelf --dyn-syms out/test/x86_64/unresolved-symbols/exe +355: + cc -fPIC -c -o out/test/x86_64/version-script17/a.o -xc - +350: + grep ' xyz' out/test/x86_64/version-script12/log 357: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 357: ++ export LC_ALL=C 357: ++ LC_ALL=C @@ -26154,35 +26164,53 @@ 357: ++ OBJCOPY=objcopy 357: ++ STRIP=strip 357: ++ QEMU= +356: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script18.sh .sh +343: + return 0 +348: + readelf --dyn-syms out/test/x86_64/version-script10/c.so +354: + cat +354: + cc -fPIC -c -o out/test/x86_64/version-script16/b.o -xc - +356: ++ testname=version-script18 +356: ++ t=out/test/x86_64/version-script18 +356: ++ mkdir -p out/test/x86_64/version-script18 +343: + grep 'undefined.*foo' 357: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script19.sh .sh 357: ++ testname=version-script19 357: ++ t=out/test/x86_64/version-script19 357: ++ mkdir -p out/test/x86_64/version-script19 -351: + grep ' foobar' out/test/x86_64/version-script13/log -351: 5: 00000000000015f9 7 FUNC GLOBAL DEFAULT 13 foobar -343: + return 0 -351: + not grep ' foo$' out/test/x86_64/version-script13/log -351: + grep ' foo$' out/test/x86_64/version-script13/log +350: 6: 0000000000001649 7 FUNC GLOBAL DEFAULT 13 xyz +350: + grep ' foo_bar' out/test/x86_64/version-script12/log +348: + grep ' foo1@@VER1$' out/test/x86_64/version-script10/log +343: + cc -B. -o out/test/x86_64/unresolved-symbols/exe out/test/x86_64/unresolved-symbols/a.o -Wl,-unresolved-symbols=report-all -Wl,--warn-unresolved-symbols +356: ++ case $MACHINE in +356: ++ tlsdesc_opt=-mtls-dialect=gnu2 +348: 5: 0000000000001639 0 NOTYPE GLOBAL DEFAULT 14 foo1@@VER1 +348: + grep ' foo2@@VER1$' out/test/x86_64/version-script10/log 357: ++ case $MACHINE in 357: ++ tlsdesc_opt=-mtls-dialect=gnu2 +350: 5: 0000000000001650 7 FUNC GLOBAL DEFAULT 13 foo_bar +350: + not grep ' foo$' out/test/x86_64/version-script12/log +350: + grep ' foo$' out/test/x86_64/version-script12/log +334: + grep '42 3 5' +334: + out/test/x86_64/tlsdesc/exe4 +356: +++ uname +352: + cc -B. -shared -Wl,--version-script=out/test/x86_64/version-script14/a.ver -o out/test/x86_64/version-script14/c.so out/test/x86_64/version-script14/b.o +356: ++ '[' Linux = FreeBSD ']' +356: ++ trap 'on_error $LINENO' ERR +356: ++ trap on_exit EXIT +356: ++ echo -n 'Testing version-script18 ... ' +356: Testing version-script18 ... ++ set -o pipefail +356: ++ set -x +356: + cat +353: + cc -B. -shared -Wl,--version-script=out/test/x86_64/version-script15/a.ver -o out/test/x86_64/version-script15/c.so out/test/x86_64/version-script15/b.o +334: 42 3 5 +334: + on_exit +334: + echo OK +334: OK +334: + exit 0 +355: + cat +355: + cc -B. -shared -fPIC -o out/test/x86_64/version-script17/b.so -xc - +346/402 Test #334: x86_64-tlsdesc ........................................ Passed 0.81 sec 357: +++ uname -343: + not cc -B. -o out/test/x86_64/unresolved-symbols/exe out/test/x86_64/unresolved-symbols/a.o -Wl,-unresolved-symbols=ignore-in-shared-libs -343: + grep 'undefined.*foo' -349: + readelf --dyn-syms out/test/x86_64/version-script11/c.so -350: + readelf --dyn-syms out/test/x86_64/version-script12/c.so -357: ++ '[' Linux = FreeBSD ']' -357: ++ trap 'on_error $LINENO' ERR -357: ++ trap on_exit EXIT -357: ++ echo -n 'Testing version-script19 ... ' -357: Testing version-script19 ... ++ set -o pipefail -357: ++ set -x -357: + cat -351: + return 0 -351: + on_exit -351: + echo OK -351: OK -351: + exit 0 -346/402 Test #351: x86_64-version-script13 ............................... Passed 0.15 sec test 358 Start 358: x86_64-version-script2 @@ -26192,28 +26220,48 @@ 358: MACHINE=x86_64 358: CPU= 358: Test timeout computed to be: 1500 -354: + cc -B. -shared -Wl,--version-script=out/test/x86_64/version-script16/a.ver -o out/test/x86_64/version-script16/c.so out/test/x86_64/version-script16/b.o -339: + readelf -W --symbols out/test/x86_64/undefined-glob/exe2 -355: + cat -357: + cc -fPIC -c -o out/test/x86_64/version-script19/b.o -xc++ - +357: ++ '[' Linux = FreeBSD ']' +357: ++ trap 'on_error $LINENO' ERR +357: ++ trap on_exit EXIT +357: ++ echo -n 'Testing version-script19 ... ' +357: Testing version-script19 ... ++ set -o pipefail +357: ++ set -x 357: + cat -355: + cc -B. -shared -fPIC -o out/test/x86_64/version-script17/b.so -xc - -350: + grep ' xyz' out/test/x86_64/version-script12/log -349: + grep foo@@VER_X1 out/test/x86_64/version-script11/log +351: + readelf --dyn-syms out/test/x86_64/version-script13/c.so +348: 6: 000000000000163a 0 NOTYPE GLOBAL DEFAULT 14 foo2@@VER1 +348: + not grep ' foo3@@VER1$' out/test/x86_64/version-script10/log +348: + grep ' foo3@@VER1$' out/test/x86_64/version-script10/log +348: + return 0 +348: + on_exit +348: + echo OK +348: OK +348: + exit 0 +347/402 Test #348: x86_64-version-script10 ............................... Passed 0.20 sec +350: + return 0 +350: + on_exit +350: + echo OK +350: OK +350: + exit 0 +test 359 + Start 359: x86_64-version-script20 + +359: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script20.sh" +359: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +359: Environment variables: +359: MACHINE=x86_64 +359: CPU= +359: Test timeout computed to be: 1500 +348/402 Test #350: x86_64-version-script12 ............................... Passed 0.20 sec +test 360 + Start 360: x86_64-version-script21 + +360: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script21.sh" +360: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +360: Environment variables: +360: MACHINE=x86_64 +360: CPU= +360: Test timeout computed to be: 1500 358: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script2.sh -349: 5: 0000000000001669 7 FUNC GLOBAL DEFAULT 14 foo@@VER_X1 -339: + grep foo out/test/x86_64/undefined-glob/log2 -349: + not grep ' bar' out/test/x86_64/version-script11/log -349: + grep ' bar' out/test/x86_64/version-script11/log -339: 59: 00000000000038a0 4 OBJECT LOCAL DEFAULT 23 foo -339: 61: 00000000000038a4 4 OBJECT LOCAL DEFAULT 23 foobar -350: 6: 0000000000001649 7 FUNC GLOBAL DEFAULT 13 xyz -339: + grep foobar out/test/x86_64/undefined-glob/log2 -350: + grep ' foo_bar' out/test/x86_64/version-script12/log -349: + return 0 -349: + not grep ' baz' out/test/x86_64/version-script11/log -349: + grep ' baz' out/test/x86_64/version-script11/log -353: + readelf --dyn-syms out/test/x86_64/version-script15/c.so 358: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 358: ++ export LC_ALL=C 358: ++ LC_ALL=C @@ -26229,30 +26277,9 @@ 358: ++ STRIP=strip 358: ++ QEMU= 358: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script2.sh .sh -349: + return 0 -349: + on_exit -349: + echo OK -349: OK -349: + exit 0 -347/402 Test #349: x86_64-version-script11 ............................... Passed 0.18 sec -350: 5: 0000000000001650 7 FUNC GLOBAL DEFAULT 13 foo_bar -350: + not grep ' foo$' out/test/x86_64/version-script12/log -350: + grep ' foo$' out/test/x86_64/version-script12/log 358: ++ testname=version-script2 358: ++ t=out/test/x86_64/version-script2 358: ++ mkdir -p out/test/x86_64/version-script2 -339: 61: 00000000000038a4 4 OBJECT LOCAL DEFAULT 23 foobar -339: + not grep baz out/test/x86_64/undefined-glob/log2 -339: + grep baz out/test/x86_64/undefined-glob/log2 -test 359 - Start 359: x86_64-version-script20 - -359: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script20.sh" -359: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -359: Environment variables: -359: MACHINE=x86_64 -359: CPU= -359: Test timeout computed to be: 1500 358: ++ case $MACHINE in 358: ++ tlsdesc_opt=-mtls-dialect=gnu2 358: +++ uname @@ -26263,58 +26290,22 @@ 358: Testing version-script2 ... ++ set -o pipefail 358: ++ set -x 358: + cat -339: + return 0 -339: + on_exit -339: + echo OK -339: OK -339: + exit 0 -353: + grep ' azZ' out/test/x86_64/version-script15/log -352: + readelf --dyn-syms out/test/x86_64/version-script14/c.so -247: + cc -B. -o out/test/x86_64/range-extension-thunk3/exe out/test/x86_64/range-extension-thunk3/d.o out/test/x86_64/range-extension-thunk3/b.so -356: + cc -B. -shared -Wl,--version-script=out/test/x86_64/version-script18/a.ver -o out/test/x86_64/version-script18/c.so out/test/x86_64/version-script18/b.o -348/402 Test #339: x86_64-undefined-glob ................................. Passed 0.51 sec -358: + cat 358: + cc -B. -xc -shared -o out/test/x86_64/version-script2/b.so -Wl,-version-script,out/test/x86_64/version-script2/a.ver - -353: 5: 0000000000001679 7 FUNC GLOBAL DEFAULT 13 azZ -353: + grep ' czZ' out/test/x86_64/version-script15/log -353: 6: 0000000000001680 7 FUNC GLOBAL DEFAULT 13 czZ -353: + not grep ' azC' out/test/x86_64/version-script15/log -353: + grep ' azC' out/test/x86_64/version-script15/log -353: + return 0 -353: + not grep ' aaZ' out/test/x86_64/version-script15/log -353: + grep ' aaZ' out/test/x86_64/version-script15/log -353: + return 0 -353: + on_exit -353: + echo OK -353: OK -353: + exit 0 -349/402 Test #353: x86_64-version-script15 ............................... Passed 0.18 sec -352: + grep ' xyz' out/test/x86_64/version-script14/log -352: 7: 00000000000016e9 7 FUNC GLOBAL DEFAULT 13 xyz -352: + not grep ' foobarzx' out/test/x86_64/version-script14/log -352: + grep ' foobarzx' out/test/x86_64/version-script14/log -352: + return 0 -352: + grep ' foobarcx' out/test/x86_64/version-script14/log -352: 6: 00000000000016f7 7 FUNC GLOBAL DEFAULT 13 foobarcx -352: + grep ' foo123bar456bx' out/test/x86_64/version-script14/log -352: 5: 00000000000016fe 7 FUNC GLOBAL DEFAULT 13 foo123bar456bx -352: + not grep ' foo123bar456c' out/test/x86_64/version-script14/log -352: + grep ' foo123bar456c' out/test/x86_64/version-script14/log -352: + return 0 -352: + not grep ' foo123bar456x' out/test/x86_64/version-script14/log -352: + grep ' foo123bar456x' out/test/x86_64/version-script14/log -352: + return 0 -352: + on_exit -352: + echo OK -352: OK -352: + exit 0 -350/402 Test #352: x86_64-version-script14 ............................... Passed 0.21 sec -350: + return 0 -350: + on_exit -350: + echo OK -350: OK -350: + exit 0 -351/402 Test #350: x86_64-version-script12 ............................... Passed 0.25 sec +354: + cc -B. -shared -Wl,--version-script=out/test/x86_64/version-script16/a.ver -o out/test/x86_64/version-script16/c.so out/test/x86_64/version-script16/b.o +351: + grep ' foobar' out/test/x86_64/version-script13/log +351: 5: 00000000000015f9 7 FUNC GLOBAL DEFAULT 13 foobar +351: + not grep ' foo$' out/test/x86_64/version-script13/log +351: + grep ' foo$' out/test/x86_64/version-script13/log +351: + return 0 +351: + on_exit +351: + echo OK +351: OK +351: + exit 0 +349/402 Test #351: x86_64-version-script13 ............................... Passed 0.20 sec +357: + cat +357: + cc -fPIC -c -o out/test/x86_64/version-script19/b.o -xc++ - +356: + cc -fPIC -c -o out/test/x86_64/version-script18/b.o -xc++ - +356: + cat 359: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script20.sh 359: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 359: ++ export LC_ALL=C @@ -26330,29 +26321,6 @@ 359: ++ OBJCOPY=objcopy 359: ++ STRIP=strip 359: ++ QEMU= -359: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script20.sh .sh -359: ++ testname=version-script20 -359: ++ t=out/test/x86_64/version-script20 -359: ++ mkdir -p out/test/x86_64/version-script20 -359: ++ case $MACHINE in -359: ++ tlsdesc_opt=-mtls-dialect=gnu2 -359: +++ uname -test 360 - Start 360: x86_64-version-script21 - -360: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script21.sh" -360: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -360: Environment variables: -360: MACHINE=x86_64 -360: CPU= -360: Test timeout computed to be: 1500 -359: ++ '[' Linux = FreeBSD ']' -359: ++ trap 'on_error $LINENO' ERR -359: ++ trap on_exit EXIT -359: ++ echo -n 'Testing version-script20 ... ' -359: Testing version-script20 ... ++ set -o pipefail -359: ++ set -x -359: + cat test 361 Start 361: x86_64-version-script22 @@ -26362,49 +26330,23 @@ 361: MACHINE=x86_64 361: CPU= 361: Test timeout computed to be: 1500 -test 362 - Start 362: x86_64-version-script23 - -362: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script23.sh" -362: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -362: Environment variables: -362: MACHINE=x86_64 -362: CPU= -362: Test timeout computed to be: 1500 -test 363 - Start 363: x86_64-version-script3 - -363: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script3.sh" -363: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -363: Environment variables: -363: MACHINE=x86_64 -363: CPU= -363: Test timeout computed to be: 1500 -343: mold: error: undefined symbol: foo -343: + on_exit -343: + echo OK -343: OK -343: + exit 0 -352/402 Test #343: x86_64-unresolved-symbols ............................. Passed 0.49 sec -357: + cc -B. -shared -Wl,--version-script=out/test/x86_64/version-script19/a.ver -o out/test/x86_64/version-script19/c.so out/test/x86_64/version-script19/b.o -354: + readelf --dyn-syms out/test/x86_64/version-script16/c.so -354: + grep foobar -354: 5: 00000000000015d9 7 FUNC GLOBAL DEFAULT 13 foobar -354: + on_exit -354: + echo OK -354: OK -354: + exit 0 -359: + cat -359: + cc -fPIC -c -o out/test/x86_64/version-script20/b.o -xc - -test 364 - Start 364: x86_64-version-script4 - -364: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script4.sh" -364: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -364: Environment variables: -364: MACHINE=x86_64 -364: CPU= -364: Test timeout computed to be: 1500 +343: mold: warning: undefined symbol: foo +343: + cc -B. -o out/test/x86_64/unresolved-symbols/exe out/test/x86_64/unresolved-symbols/a.o -Wl,-unresolved-symbols=ignore-in-object-files +343: + not grep 'undefined.*foo' +343: + grep 'undefined.*foo' +349: + readelf --dyn-syms out/test/x86_64/version-script11/c.so +349: + grep foo@@VER_X1 out/test/x86_64/version-script11/log +349: 5: 0000000000001669 7 FUNC GLOBAL DEFAULT 14 foo@@VER_X1 +349: + not grep ' bar' out/test/x86_64/version-script11/log +349: + grep ' bar' out/test/x86_64/version-script11/log +349: + return 0 +349: + not grep ' baz' out/test/x86_64/version-script11/log +349: + grep ' baz' out/test/x86_64/version-script11/log +349: + return 0 +349: + on_exit +349: + echo OK +349: OK +349: + exit 0 360: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script21.sh 360: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 360: ++ export LC_ALL=C @@ -26434,6 +26376,27 @@ 360: Testing version-script21 ... ++ set -o pipefail 360: ++ set -x 360: + cat +358: + cat +352: + readelf --dyn-syms out/test/x86_64/version-script14/c.so +352: + grep ' xyz' out/test/x86_64/version-script14/log +352: 7: 00000000000016e9 7 FUNC GLOBAL DEFAULT 13 xyz +352: + not grep ' foobarzx' out/test/x86_64/version-script14/log +352: + grep ' foobarzx' out/test/x86_64/version-script14/log +359: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script20.sh .sh +359: ++ testname=version-script20 +359: ++ t=out/test/x86_64/version-script20 +359: ++ mkdir -p out/test/x86_64/version-script20 +350/402 Test #349: x86_64-version-script11 ............................... Passed 0.24 sec +test 362 + Start 362: x86_64-version-script23 + +362: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script23.sh" +362: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +362: Environment variables: +362: MACHINE=x86_64 +362: CPU= +362: Test timeout computed to be: 1500 +357: + cc -B. -shared -Wl,--version-script=out/test/x86_64/version-script19/a.ver -o out/test/x86_64/version-script19/c.so out/test/x86_64/version-script19/b.o 361: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script22.sh 361: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 361: ++ export LC_ALL=C @@ -26449,21 +26412,21 @@ 361: ++ OBJCOPY=objcopy 361: ++ STRIP=strip 361: ++ QEMU= +356: + cc -B. -shared -Wl,--version-script=out/test/x86_64/version-script18/a.ver -o out/test/x86_64/version-script18/c.so out/test/x86_64/version-script18/b.o +360: + cc -fPIC -c -o out/test/x86_64/version-script21/b.o -xc - +352: + return 0 +352: + grep ' foobarcx' out/test/x86_64/version-script14/log +360: + cat +352: 6: 00000000000016f7 7 FUNC GLOBAL DEFAULT 13 foobarcx +352: + grep ' foo123bar456bx' out/test/x86_64/version-script14/log 361: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script22.sh .sh -361: ++ testname=version-script22 -361: ++ t=out/test/x86_64/version-script22 -361: ++ mkdir -p out/test/x86_64/version-script22 -361: ++ case $MACHINE in -361: ++ tlsdesc_opt=-mtls-dialect=gnu2 -361: +++ uname -361: ++ '[' Linux = FreeBSD ']' -361: ++ trap 'on_error $LINENO' ERR -361: ++ trap on_exit EXIT -361: ++ echo -n 'Testing version-script22 ... ' -361: Testing version-script22 ... ++ set -o pipefail -361: ++ set -x -361: + cat +354: + grep foobar +353: + readelf --dyn-syms out/test/x86_64/version-script15/c.so +354: + readelf --dyn-syms out/test/x86_64/version-script16/c.so +355: + cc -B. -o out/test/x86_64/version-script17/exe1 out/test/x86_64/version-script17/a.o out/test/x86_64/version-script17/b.so 362: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script23.sh +359: ++ case $MACHINE in +359: ++ tlsdesc_opt=-mtls-dialect=gnu2 362: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 362: ++ export LC_ALL=C 362: ++ LC_ALL=C @@ -26478,10 +26441,62 @@ 362: ++ OBJCOPY=objcopy 362: ++ STRIP=strip 362: ++ QEMU= +361: ++ testname=version-script22 +361: ++ t=out/test/x86_64/version-script22 +361: ++ mkdir -p out/test/x86_64/version-script22 +359: +++ uname +359: ++ '[' Linux = FreeBSD ']' +359: ++ trap 'on_error $LINENO' ERR +359: ++ trap on_exit EXIT +359: ++ echo -n 'Testing version-script20 ... ' +359: Testing version-script20 ... ++ set -o pipefail +359: ++ set -x +359: + cat +354: 5: 00000000000015d9 7 FUNC GLOBAL DEFAULT 13 foobar +354: + on_exit +354: + echo OK +354: OK +354: + exit 0 +353: + grep ' azZ' out/test/x86_64/version-script15/log +351/402 Test #354: x86_64-version-script16 ............................... Passed 0.21 sec +353: 5: 0000000000001679 7 FUNC GLOBAL DEFAULT 13 azZ +353: + grep ' czZ' out/test/x86_64/version-script15/log +test 363 + Start 363: x86_64-version-script3 + +363: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script3.sh" +363: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +363: Environment variables: +363: MACHINE=x86_64 +363: CPU= +363: Test timeout computed to be: 1500 +353: 6: 0000000000001680 7 FUNC GLOBAL DEFAULT 13 czZ +353: + not grep ' azC' out/test/x86_64/version-script15/log +353: + grep ' azC' out/test/x86_64/version-script15/log +353: + return 0 +353: + not grep ' aaZ' out/test/x86_64/version-script15/log +353: + grep ' aaZ' out/test/x86_64/version-script15/log +353: + return 0 +353: + on_exit +353: + echo OK +353: OK +353: + exit 0 362: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script23.sh .sh 362: ++ testname=version-script23 362: ++ t=out/test/x86_64/version-script23 362: ++ mkdir -p out/test/x86_64/version-script23 +362: ++ case $MACHINE in +362: ++ tlsdesc_opt=-mtls-dialect=gnu2 +362: +++ uname +362: ++ '[' Linux = FreeBSD ']' +362: ++ trap 'on_error $LINENO' ERR +362: ++ trap on_exit EXIT +362: ++ echo -n 'Testing version-script23 ... ' +362: Testing version-script23 ... ++ set -o pipefail +362: ++ set -x +362: + cat +361: ++ case $MACHINE in +361: ++ tlsdesc_opt=-mtls-dialect=gnu2 363: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script3.sh 363: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 363: ++ export LC_ALL=C @@ -26498,43 +26513,75 @@ 363: ++ STRIP=strip 363: ++ QEMU= 363: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script3.sh .sh +352/402 Test #353: x86_64-version-script15 ............................... Passed 0.22 sec 363: ++ testname=version-script3 363: ++ t=out/test/x86_64/version-script3 363: ++ mkdir -p out/test/x86_64/version-script3 -353/402 Test #354: x86_64-version-script16 ............................... Passed 0.20 sec -test 365 - Start 365: x86_64-version-script5 +352: 5: 00000000000016fe 7 FUNC GLOBAL DEFAULT 13 foo123bar456bx +352: + not grep ' foo123bar456c' out/test/x86_64/version-script14/log +352: + grep ' foo123bar456c' out/test/x86_64/version-script14/log +test 364 + Start 364: x86_64-version-script4 -365: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script5.sh" -365: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -365: Environment variables: -365: MACHINE=x86_64 -365: CPU= -365: Test timeout computed to be: 1500 -360: + cat -360: + cc -fPIC -c -o out/test/x86_64/version-script21/b.o -xc - -361: + cat -361: + cc -fPIC -c -o out/test/x86_64/version-script22/b.o -xc - +364: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script4.sh" +364: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +364: Environment variables: +364: MACHINE=x86_64 +364: CPU= +364: Test timeout computed to be: 1500 363: ++ case $MACHINE in 363: ++ tlsdesc_opt=-mtls-dialect=gnu2 363: +++ uname 363: ++ '[' Linux = FreeBSD ']' 363: ++ trap 'on_error $LINENO' ERR 363: ++ trap on_exit EXIT +352: + return 0 +352: + not grep ' foo123bar456x' out/test/x86_64/version-script14/log +352: + grep ' foo123bar456x' out/test/x86_64/version-script14/log +361: +++ uname +361: ++ '[' Linux = FreeBSD ']' +361: ++ trap 'on_error $LINENO' ERR +361: ++ trap on_exit EXIT +361: ++ echo -n 'Testing version-script22 ... ' +361: Testing version-script22 ... ++ set -o pipefail +361: ++ set -x +361: + cat +359: + cat +359: + cc -fPIC -c -o out/test/x86_64/version-script20/b.o -xc - +358: + cc -xc -c -o out/test/x86_64/version-script2/c.o - +358: + cat +357: + readelf -W --dyn-syms out/test/x86_64/version-script19/c.so +357: + not grep -E foobar out/test/x86_64/version-script19/log +357: + grep -E foobar out/test/x86_64/version-script19/log +357: + return 0 +357: + grep -E 'GLOBAL.*baz' out/test/x86_64/version-script19/log +362: + cat +362: + cc -c -o out/test/x86_64/version-script23/b.o -xassembler - +360: + cc -B. -shared -Wl,--version-script=out/test/x86_64/version-script21/a.ver -o out/test/x86_64/version-script21/c.so out/test/x86_64/version-script21/b.o 363: ++ echo -n 'Testing version-script3 ... ' 363: Testing version-script3 ... ++ set -o pipefail 363: ++ set -x 363: + cat -362: ++ case $MACHINE in -362: ++ tlsdesc_opt=-mtls-dialect=gnu2 -362: +++ uname -362: ++ '[' Linux = FreeBSD ']' -362: ++ trap 'on_error $LINENO' ERR -362: ++ trap on_exit EXIT -362: ++ echo -n 'Testing version-script23 ... ' -362: Testing version-script23 ... ++ set -o pipefail -362: ++ set -x -362: + cat +343: + return 0 +352: + return 0 +352: + on_exit +352: + echo OK +352: OK +352: + exit 0 +353/402 Test #352: x86_64-version-script14 ............................... Passed 0.28 sec +361: + cat +test 365 + Start 365: x86_64-version-script5 + +365: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script5.sh" +365: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +365: Environment variables: +365: MACHINE=x86_64 +365: CPU= +365: Test timeout computed to be: 1500 +361: + cc -fPIC -c -o out/test/x86_64/version-script22/b.o -xc - +363: + cat +363: + cc -B. -xc -shared -o out/test/x86_64/version-script3/b.so -Wl,-version-script,out/test/x86_64/version-script3/a.ver - 364: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script4.sh 364: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 364: ++ export LC_ALL=C @@ -26551,24 +26598,40 @@ 364: ++ STRIP=strip 364: ++ QEMU= 364: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script4.sh .sh -362: + cat 364: ++ testname=version-script4 364: ++ t=out/test/x86_64/version-script4 364: ++ mkdir -p out/test/x86_64/version-script4 -362: + cc -c -o out/test/x86_64/version-script23/b.o -xassembler - -363: + cat -363: + cc -B. -xc -shared -o out/test/x86_64/version-script3/b.so -Wl,-version-script,out/test/x86_64/version-script3/a.ver - -364: ++ case $MACHINE in -364: ++ tlsdesc_opt=-mtls-dialect=gnu2 -364: +++ uname +357: 5: 0000000000001600 7 FUNC GLOBAL DEFAULT 13 _Z3bazv +357: + on_exit +357: + echo OK +357: OK +357: + exit 0 +362: + cc -B. -shared -Wl,--version-script=out/test/x86_64/version-script23/a.ver -o out/test/x86_64/version-script23/c.so out/test/x86_64/version-script23/b.o +343: + grep 'undefined.*foo' +343: + not cc -B. -o out/test/x86_64/unresolved-symbols/exe out/test/x86_64/unresolved-symbols/a.o -Wl,-unresolved-symbols=ignore-in-shared-libs +355: + grep foo +355: + nm -g out/test/x86_64/version-script17/exe1 +356: + grep Bar +354/402 Test #357: x86_64-version-script19 ............................... Passed 0.21 sec +test 366 + Start 366: x86_64-version-script6 + +366: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script6.sh" +366: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +366: Environment variables: +366: MACHINE=x86_64 +366: CPU= +366: Test timeout computed to be: 1500 +355: 0000000000001759 T foo +355: + cat +356: + readelf --wide --dyn-syms out/test/x86_64/version-script18/c.so +356: + grep libalpha +356: 5: 00000000000015f9 7 FUNC WEAK DEFAULT 13 _ZN8libalpha3fooIN7libbeta3BarEEEvv +356: + on_exit +356: + echo OK +356: OK +356: + exit 0 365: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script5.sh -364: ++ '[' Linux = FreeBSD ']' -364: ++ trap 'on_error $LINENO' ERR -364: ++ trap on_exit EXIT -364: ++ echo -n 'Testing version-script4 ... ' -364: Testing version-script4 ... ++ set -o pipefail -364: ++ set -x -364: + cat 365: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 365: ++ export LC_ALL=C 365: ++ LC_ALL=C @@ -26584,56 +26647,20 @@ 365: ++ STRIP=strip 365: ++ QEMU= 365: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script5.sh .sh +358: + cc -B. -o out/test/x86_64/version-script2/exe out/test/x86_64/version-script2/c.o out/test/x86_64/version-script2/b.so +364: ++ case $MACHINE in +364: ++ tlsdesc_opt=-mtls-dialect=gnu2 +364: +++ uname +364: ++ '[' Linux = FreeBSD ']' +364: ++ trap 'on_error $LINENO' ERR +364: ++ trap on_exit EXIT +364: ++ echo -n 'Testing version-script4 ... ' +364: Testing version-script4 ... ++ set -o pipefail +364: ++ set -x +364: + cat 364: + c++ -fPIC -c -o out/test/x86_64/version-script4/b.o -xc++ - 364: + cat -356: + readelf --wide --dyn-syms out/test/x86_64/version-script18/c.so -356: + grep libalpha -362: + cc -B. -shared -Wl,--version-script=out/test/x86_64/version-script23/a.ver -o out/test/x86_64/version-script23/c.so out/test/x86_64/version-script23/b.o -356: + grep Bar -365: ++ testname=version-script5 -356: 5: 00000000000015f9 7 FUNC WEAK DEFAULT 13 _ZN8libalpha3fooIN7libbeta3BarEEEvv -365: ++ t=out/test/x86_64/version-script5 -365: ++ mkdir -p out/test/x86_64/version-script5 -357: + readelf -W --dyn-syms out/test/x86_64/version-script19/c.so -365: ++ case $MACHINE in -365: ++ tlsdesc_opt=-mtls-dialect=gnu2 -365: +++ uname -356: + on_exit -356: + echo OK -356: OK -356: + exit 0 -354/402 Test #356: x86_64-version-script18 ............................... Passed 0.22 sec -test 366 - Start 366: x86_64-version-script6 - -366: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script6.sh" -366: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -366: Environment variables: -366: MACHINE=x86_64 -366: CPU= -366: Test timeout computed to be: 1500 -365: ++ '[' Linux = FreeBSD ']' -365: ++ trap 'on_error $LINENO' ERR -365: ++ trap on_exit EXIT -365: ++ echo -n 'Testing version-script5 ... ' -365: Testing version-script5 ... ++ set -o pipefail -365: ++ set -x -365: + cat -365: + cat -365: + c++ -fPIC -c -o out/test/x86_64/version-script5/b.o -xc - -357: + not grep -E foobar out/test/x86_64/version-script19/log -357: + grep -E foobar out/test/x86_64/version-script19/log -357: + return 0 -357: + grep -E 'GLOBAL.*baz' out/test/x86_64/version-script19/log -355: + cc -B. -o out/test/x86_64/version-script17/exe1 out/test/x86_64/version-script17/a.o out/test/x86_64/version-script17/b.so -247: + out/test/x86_64/range-extension-thunk3/exe -366: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script6.sh -357: 5: 0000000000001600 7 FUNC GLOBAL DEFAULT 13 _Z3bazv -357: + on_exit -357: + echo OK -357: OK -357: + exit 0 -355/402 Test #357: x86_64-version-script19 ............................... Passed 0.21 sec +355/402 Test #356: x86_64-version-script18 ............................... Passed 0.24 sec test 367 Start 367: x86_64-version-script7 @@ -26643,6 +26670,11 @@ 367: MACHINE=x86_64 367: CPU= 367: Test timeout computed to be: 1500 +365: ++ testname=version-script5 +365: ++ t=out/test/x86_64/version-script5 +365: ++ mkdir -p out/test/x86_64/version-script5 +366: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script6.sh +355: + cc -B. -o out/test/x86_64/version-script17/exe2 out/test/x86_64/version-script17/a.o out/test/x86_64/version-script17/b.so -Wl,--version-script=out/test/x86_64/version-script17/c.ver -Wl,--undefined-version 366: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 366: ++ export LC_ALL=C 366: ++ LC_ALL=C @@ -26658,34 +26690,12 @@ 366: ++ STRIP=strip 366: ++ QEMU= 366: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script6.sh .sh -247: + on_exit -247: + echo OK -247: OK -247: + exit 0 -356/402 Test #247: x86_64-range-extension-thunk3 ......................... Passed 3.98 sec 366: ++ testname=version-script6 366: ++ t=out/test/x86_64/version-script6 366: ++ mkdir -p out/test/x86_64/version-script6 -test 368 - Start 368: x86_64-version-script8 - -368: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script8.sh" -368: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -368: Environment variables: -368: MACHINE=x86_64 -368: CPU= -368: Test timeout computed to be: 1500 -366: ++ case $MACHINE in -366: ++ tlsdesc_opt=-mtls-dialect=gnu2 -366: +++ uname -366: ++ '[' Linux = FreeBSD ']' -366: ++ trap 'on_error $LINENO' ERR -366: ++ trap on_exit EXIT -366: ++ echo -n 'Testing version-script6 ... ' -366: Testing version-script6 ... ++ set -o pipefail -366: ++ set -x -366: + cat 367: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script7.sh +365: ++ case $MACHINE in +365: ++ tlsdesc_opt=-mtls-dialect=gnu2 367: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 367: ++ export LC_ALL=C 367: ++ LC_ALL=C @@ -26701,23 +26711,22 @@ 367: ++ STRIP=strip 367: ++ QEMU= 367: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script7.sh .sh -360: + cc -B. -shared -Wl,--version-script=out/test/x86_64/version-script21/a.ver -o out/test/x86_64/version-script21/c.so out/test/x86_64/version-script21/b.o -359: + cc -B. -shared -Wl,--version-script=out/test/x86_64/version-script20/a.ver -o out/test/x86_64/version-script20/c.so out/test/x86_64/version-script20/b.o -361: + cc -B. -shared -Wl,--version-script=out/test/x86_64/version-script22/a.ver -o out/test/x86_64/version-script22/c.so out/test/x86_64/version-script22/b.o -364: + cc -B. -shared -o out/test/x86_64/version-script4/c.so -Wl,-version-script,out/test/x86_64/version-script4/a.ver out/test/x86_64/version-script4/b.o -362: + readelf -W --dyn-syms out/test/x86_64/version-script23/c.so 367: ++ testname=version-script7 367: ++ t=out/test/x86_64/version-script7 367: ++ mkdir -p out/test/x86_64/version-script7 -366: + cat -366: + c++ -fPIC -c -o out/test/x86_64/version-script6/b.o -xc - +360: + readelf -W --dyn-syms out/test/x86_64/version-script21/c.so +359: + cc -B. -shared -Wl,--version-script=out/test/x86_64/version-script20/a.ver -o out/test/x86_64/version-script20/c.so out/test/x86_64/version-script20/b.o +360: + grep -F foo_x@@VER1 out/test/x86_64/version-script21/log 367: ++ case $MACHINE in -368: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script8.sh 367: ++ tlsdesc_opt=-mtls-dialect=gnu2 -362: + grep -F 'foo?@@VER1' out/test/x86_64/version-script23/log +360: 5: 00000000000016c9 7 FUNC GLOBAL DEFAULT 14 foo_x@@VER1 +360: + grep -F foo_y@@VER2 out/test/x86_64/version-script21/log +360: 6: 00000000000016d0 7 FUNC GLOBAL DEFAULT 14 foo_y@@VER2 +360: + grep -F foo_z@@VER2 out/test/x86_64/version-script21/log +366: ++ case $MACHINE in +366: ++ tlsdesc_opt=-mtls-dialect=gnu2 +365: +++ uname 367: +++ uname -355: + nm -g out/test/x86_64/version-script17/exe1 -362: 5: 00000000000015d9 0 NOTYPE GLOBAL DEFAULT 14 foo?@@VER1 367: ++ '[' Linux = FreeBSD ']' 367: ++ trap 'on_error $LINENO' ERR 367: ++ trap on_exit EXIT @@ -26725,25 +26734,45 @@ 367: Testing version-script7 ... ++ set -o pipefail 367: ++ set -x 367: + cat -355: + grep foo -362: + on_exit -362: + echo OK -362: OK -362: + exit 0 -357/402 Test #362: x86_64-version-script23 ............................... Passed 0.21 sec -test 369 - Start 369: x86_64-version-script9 +361: + cc -B. -shared -Wl,--version-script=out/test/x86_64/version-script22/a.ver -o out/test/x86_64/version-script22/c.so out/test/x86_64/version-script22/b.o +366: +++ uname +360: 7: 00000000000016d7 7 FUNC GLOBAL DEFAULT 14 foo_z@@VER2 +360: + on_exit +360: + echo OK +360: OK +360: + exit 0 +356/402 Test #360: x86_64-version-script21 ............................... Passed 0.16 sec +test 368 + Start 368: x86_64-version-script8 -369: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script9.sh" -369: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -369: Environment variables: -369: MACHINE=x86_64 -369: CPU= -369: Test timeout computed to be: 1500 -367: + cat +368: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script8.sh" +368: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +368: Environment variables: +368: MACHINE=x86_64 +368: CPU= +368: Test timeout computed to be: 1500 +365: ++ '[' Linux = FreeBSD ']' +365: ++ trap 'on_error $LINENO' ERR +365: ++ trap on_exit EXIT +365: ++ echo -n 'Testing version-script5 ... ' +365: Testing version-script5 ... ++ set -o pipefail +365: ++ set -x +365: + cat 367: + c++ -fPIC -c -o out/test/x86_64/version-script7/b.o -xc - -355: 0000000000001759 T foo -355: + cat +367: + cat +366: ++ '[' Linux = FreeBSD ']' +366: ++ trap 'on_error $LINENO' ERR +366: ++ trap on_exit EXIT +366: ++ echo -n 'Testing version-script6 ... ' +366: Testing version-script6 ... ++ set -o pipefail +366: ++ set -x +366: + cat +365: + cat +365: + c++ -fPIC -c -o out/test/x86_64/version-script5/b.o -xc - +366: + c++ -fPIC -c -o out/test/x86_64/version-script6/b.o -xc - +366: + cat +367: + cc -B. -shared -Wl,--version-script=out/test/x86_64/version-script7/a.ver -o out/test/x86_64/version-script7/c.so out/test/x86_64/version-script7/b.o +368: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script8.sh 368: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 368: ++ export LC_ALL=C 368: ++ LC_ALL=C @@ -26762,11 +26791,46 @@ 368: ++ testname=version-script8 368: ++ t=out/test/x86_64/version-script8 368: ++ mkdir -p out/test/x86_64/version-script8 +366: + cc -B. -shared -Wl,--version-script=out/test/x86_64/version-script6/a.ver -o out/test/x86_64/version-script6/c.so out/test/x86_64/version-script6/b.o 368: ++ case $MACHINE in 368: ++ tlsdesc_opt=-mtls-dialect=gnu2 -355: + cc -B. -o out/test/x86_64/version-script17/exe2 out/test/x86_64/version-script17/a.o out/test/x86_64/version-script17/b.so -Wl,--version-script=out/test/x86_64/version-script17/c.ver -Wl,--undefined-version +363: + cat +343: mold: error: undefined symbol: foo +343: + on_exit +343: + echo OK +343: OK +343: + exit 0 +358: + out/test/x86_64/version-script2/exe +357/402 Test #343: x86_64-unresolved-symbols ............................. Passed 0.64 sec +364: + cc -B. -shared -o out/test/x86_64/version-script4/c.so -Wl,-version-script,out/test/x86_64/version-script4/a.ver out/test/x86_64/version-script4/b.o +test 369 + Start 369: x86_64-version-script9 + +369: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/version-script9.sh" +369: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +369: Environment variables: +369: MACHINE=x86_64 +369: CPU= +369: Test timeout computed to be: 1500 +363: + cc -xc -c -o out/test/x86_64/version-script3/c.o - 368: +++ uname +368: ++ '[' Linux = FreeBSD ']' +368: ++ trap 'on_error $LINENO' ERR +368: ++ trap on_exit EXIT +368: ++ echo -n 'Testing version-script8 ... ' +368: Testing version-script8 ... ++ set -o pipefail +368: ++ set -x +368: + cat +368: + cc -B. -xc -shared -o out/test/x86_64/version-script8/b.so -Wl,-version-script,out/test/x86_64/version-script8/a.ver - +368: + cat +355: + not grep foo +355: + grep foo +355: + nm -g out/test/x86_64/version-script17/exe2 +355: + return 0 +358: + readelf --dyn-syms out/test/x86_64/version-script2/exe +359: + readelf -W --dyn-syms out/test/x86_64/version-script20/c.so 369: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version-script9.sh +355: + cat 369: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 369: ++ export LC_ALL=C 369: ++ LC_ALL=C @@ -26782,46 +26846,49 @@ 369: ++ STRIP=strip 369: ++ QEMU= 369: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version-script9.sh .sh -368: ++ '[' Linux = FreeBSD ']' -368: ++ trap 'on_error $LINENO' ERR -368: ++ trap on_exit EXIT -368: ++ echo -n 'Testing version-script8 ... ' -368: Testing version-script8 ... ++ set -o pipefail -368: ++ set -x -368: + cat 369: ++ testname=version-script9 369: ++ t=out/test/x86_64/version-script9 369: ++ mkdir -p out/test/x86_64/version-script9 -364: + readelf --dyn-syms out/test/x86_64/version-script4/c.so -368: + cat -368: + cc -B. -xc -shared -o out/test/x86_64/version-script8/b.so -Wl,-version-script,out/test/x86_64/version-script8/a.ver - +365: + cc -B. -shared -o out/test/x86_64/version-script5/c.so -Wl,-version-script,out/test/x86_64/version-script5/a.ver out/test/x86_64/version-script5/b.o +355: + cc -B. -o out/test/x86_64/version-script17/exe3 out/test/x86_64/version-script17/a.o out/test/x86_64/version-script17/b.so -Wl,--version-script=out/test/x86_64/version-script17/d.ver +358: + grep -F foo@ver1 out/test/x86_64/version-script2/log 369: ++ case $MACHINE in 369: ++ tlsdesc_opt=-mtls-dialect=gnu2 +362: + readelf -W --dyn-syms out/test/x86_64/version-script23/c.so 369: +++ uname -364: + grep -F _ZN3foo3barE out/test/x86_64/version-script4/log -358: + cat 369: ++ '[' Linux = FreeBSD ']' 369: ++ trap 'on_error $LINENO' ERR -364: 5: 00000000000037bc 4 OBJECT GLOBAL DEFAULT 19 _ZN3foo3barE -364: + not grep -F ' bar' out/test/x86_64/version-script4/log -364: + grep -F ' bar' out/test/x86_64/version-script4/log 369: ++ trap on_exit EXIT 369: ++ echo -n 'Testing version-script9 ... ' 369: Testing version-script9 ... ++ set -o pipefail 369: ++ set -x 369: + echo 'VER1 { extern "C++" {}; foo; }; VER2 {};' 369: + cat -360: + readelf -W --dyn-syms out/test/x86_64/version-script21/c.so -358: + cc -xc -c -o out/test/x86_64/version-script2/c.o - -364: + return 0 -364: + on_exit -364: + echo OK -364: OK -364: + exit 0 +359: + grep -F foo_x@@VER2 out/test/x86_64/version-script20/log +358: 3: 0000000000000000 0 FUNC GLOBAL DEFAULT UND foo@ver1 (4) +358: + grep -F bar@ver2 out/test/x86_64/version-script2/log 361: + readelf -W --dyn-syms out/test/x86_64/version-script22/c.so -360: + grep -F foo_x@@VER1 out/test/x86_64/version-script21/log -359: + readelf -W --dyn-syms out/test/x86_64/version-script20/c.so -358/402 Test #364: x86_64-version-script4 ................................ Passed 0.19 sec +359: 5: 00000000000016c9 7 FUNC GLOBAL DEFAULT 14 foo_x@@VER2 +359: + grep -F foo_y@@VER1 out/test/x86_64/version-script20/log +362: + grep -F 'foo?@@VER1' out/test/x86_64/version-script23/log +363: + cc -B. -o out/test/x86_64/version-script3/exe out/test/x86_64/version-script3/c.o out/test/x86_64/version-script3/b.so +358: 1: 0000000000000000 0 FUNC GLOBAL DEFAULT UND bar@ver2 (5) +358: + grep -F baz@ver3 out/test/x86_64/version-script2/log +364: + readelf --dyn-syms out/test/x86_64/version-script4/c.so +365: + readelf --dyn-syms out/test/x86_64/version-script5/c.so +359: 6: 00000000000016d0 7 FUNC GLOBAL DEFAULT 14 foo_y@@VER1 +359: + grep -F foo_z@@VER1 out/test/x86_64/version-script20/log +367: + readelf --dyn-syms out/test/x86_64/version-script7/c.so +361: + grep -F foo_bar@@VER2 out/test/x86_64/version-script22/log +369: + cc -B. -shared -o out/test/x86_64/version-script9/c.so -Wl,-version-script,out/test/x86_64/version-script9/a.ver out/test/x86_64/version-script9/b.s +362: 5: 00000000000015d9 0 NOTYPE GLOBAL DEFAULT 14 foo?@@VER1 +362: + on_exit +362: + echo OK +362: OK +362: + exit 0 +367: + grep 'foo$' out/test/x86_64/version-script7/log +366: + cat +358/402 Test #362: x86_64-version-script23 ............................... Passed 0.22 sec test 370 Start 370: x86_64-version @@ -26831,21 +26898,33 @@ 370: MACHINE=x86_64 370: CPU= 370: Test timeout computed to be: 1500 -369: + cc -B. -shared -o out/test/x86_64/version-script9/c.so -Wl,-version-script,out/test/x86_64/version-script9/a.ver out/test/x86_64/version-script9/b.s -360: 5: 00000000000016c9 7 FUNC GLOBAL DEFAULT 14 foo_x@@VER1 -360: + grep -F foo_y@@VER2 out/test/x86_64/version-script21/log -360: 6: 00000000000016d0 7 FUNC GLOBAL DEFAULT 14 foo_y@@VER2 -360: + grep -F foo_z@@VER2 out/test/x86_64/version-script21/log -361: + grep -F foo_bar@@VER2 out/test/x86_64/version-script22/log -359: + grep -F foo_x@@VER2 out/test/x86_64/version-script20/log +364: + grep -F _ZN3foo3barE out/test/x86_64/version-script4/log +364: 5: 00000000000037bc 4 OBJECT GLOBAL DEFAULT 19 _ZN3foo3barE +364: + not grep -F ' bar' out/test/x86_64/version-script4/log +364: + grep -F ' bar' out/test/x86_64/version-script4/log +358: 2: 0000000000000000 0 FUNC GLOBAL DEFAULT UND baz@ver3 (6) +358: + on_exit +358: + echo OK +358: OK +358: + exit 0 +359: 7: 00000000000016d7 7 FUNC GLOBAL DEFAULT 14 foo_z@@VER1 +359: + on_exit +359: + echo OK +359: OK +359: + exit 0 361: 5: 0000000000001639 7 FUNC GLOBAL DEFAULT 14 foo_bar@@VER2 361: + on_exit 361: + echo OK 361: OK 361: + exit 0 -359: 5: 00000000000016c9 7 FUNC GLOBAL DEFAULT 14 foo_x@@VER2 -359/402 Test #361: x86_64-version-script22 ............................... Passed 0.24 sec -359: + grep -F foo_y@@VER1 out/test/x86_64/version-script20/log +366: + cat +366: + c++ -fPIC -c -o out/test/x86_64/version-script6/e.o -xc - +367: 4: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND foo +367: + grep bar@@VER_X1 out/test/x86_64/version-script7/log +365: + grep -F foo out/test/x86_64/version-script5/log +359/402 Test #358: x86_64-version-script2 ................................ Passed 0.30 sec +360/402 Test #359: x86_64-version-script20 ............................... Passed 0.29 sec +361/402 Test #361: x86_64-version-script22 ............................... Passed 0.25 sec test 371 Start 371: x86_64-versioned-undef @@ -26855,13 +26934,24 @@ 371: MACHINE=x86_64 371: CPU= 371: Test timeout computed to be: 1500 -359: 6: 00000000000016d0 7 FUNC GLOBAL DEFAULT 14 foo_y@@VER1 -359: + grep -F foo_z@@VER1 out/test/x86_64/version-script20/log -360: 7: 00000000000016d7 7 FUNC GLOBAL DEFAULT 14 foo_z@@VER2 -360: + on_exit -360: + echo OK -360: OK -360: + exit 0 +test 372 + Start 372: x86_64-visibility + +372: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/visibility.sh" +372: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +372: Environment variables: +372: MACHINE=x86_64 +372: CPU= +372: Test timeout computed to be: 1500 +test 373 + Start 373: x86_64-warn-common + +373: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/warn-common.sh" +373: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +373: Environment variables: +373: MACHINE=x86_64 +373: CPU= +373: Test timeout computed to be: 1500 370: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/version.sh 370: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 370: ++ export LC_ALL=C @@ -26878,28 +26968,81 @@ 370: ++ STRIP=strip 370: ++ QEMU= 370: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/version.sh .sh -360/402 Test #360: x86_64-version-script21 ............................... Passed 0.25 sec -359: 7: 00000000000016d7 7 FUNC GLOBAL DEFAULT 14 foo_z@@VER1 -359: + on_exit -359: + echo OK -359: OK -359: + exit 0 -test 372 - Start 372: x86_64-visibility - -372: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/visibility.sh" -372: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -372: Environment variables: -372: MACHINE=x86_64 -372: CPU= -372: Test timeout computed to be: 1500 370: ++ testname=version 370: ++ t=out/test/x86_64/version 370: ++ mkdir -p out/test/x86_64/version -370: ++ case $MACHINE in -370: ++ tlsdesc_opt=-mtls-dialect=gnu2 -370: +++ uname +367: 6: 0000000000001649 15 FUNC GLOBAL DEFAULT 14 bar@@VER_X1 +367: + on_exit +367: + echo OK +367: OK +367: + exit 0 +364: + return 0 +364: + on_exit +364: + echo OK +364: OK +364: + exit 0 +355: + not grep foo +355: + nm -g out/test/x86_64/version-script17/exe3 +355: + grep foo +355: + return 0 +355: + on_exit +355: + echo OK +355: OK +355: + exit 0 +365: 5: 00000000000037b8 4 OBJECT GLOBAL DEFAULT 19 foo +365: + not grep -F ' main' out/test/x86_64/version-script5/log +365: + grep -F ' main' out/test/x86_64/version-script5/log +365: + return 0 +365: + on_exit +365: + echo OK +365: OK +365: + exit 0 +363: + out/test/x86_64/version-script3/exe +363: + readelf --dyn-syms out/test/x86_64/version-script3/exe +369: + readelf --dyn-syms out/test/x86_64/version-script9/c.so +369: + grep ' foo@@VER1$' out/test/x86_64/version-script9/log +369: 7: 0000000000001639 0 NOTYPE GLOBAL DEFAULT 14 foo@@VER1 +369: + on_exit +369: + echo OK +369: OK +369: + exit 0 +366: + cc -B. -shared -Wl,-version-script,out/test/x86_64/version-script6/d.ver -o out/test/x86_64/version-script6/f.so out/test/x86_64/version-script6/e.o out/test/x86_64/version-script6/c.so -Wl,--undefined-version 371: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/versioned-undef.sh +372: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/visibility.sh +372: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +372: ++ export LC_ALL=C +372: ++ LC_ALL=C +372: ++ '[' -z x86_64 ']' +372: ++ '[' -z '' ']' +372: ++ TESTDIR=out/test/x86_64 +372: ++ CC=cc +372: ++ CXX=c++ +372: ++ GCC=gcc +372: ++ GXX=g++ +372: ++ OBJDUMP=objdump +372: ++ OBJCOPY=objcopy +372: ++ STRIP=strip +372: ++ QEMU= +372: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/visibility.sh .sh +372: ++ testname=visibility +372: ++ t=out/test/x86_64/visibility +372: ++ mkdir -p out/test/x86_64/visibility +372: ++ case $MACHINE in +372: ++ tlsdesc_opt=-mtls-dialect=gnu2 +372: +++ uname +372: ++ '[' Linux = FreeBSD ']' +372: ++ trap 'on_error $LINENO' ERR +372: ++ trap on_exit EXIT +372: ++ echo -n 'Testing visibility ... ' +372: Testing visibility ... ++ set -o pipefail +372: ++ set -x +372: + cc -xc -c -o out/test/x86_64/visibility/a.o - +372: + cat +362/402 Test #355: x86_64-version-script17 ............................... Passed 0.44 sec +363/402 Test #364: x86_64-version-script4 ................................ Passed 0.21 sec +364/402 Test #365: x86_64-version-script5 ................................ Passed 0.20 sec +365/402 Test #367: x86_64-version-script7 ................................ Passed 0.16 sec +366/402 Test #369: x86_64-version-script9 ................................ Passed 0.10 sec 371: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 371: ++ export LC_ALL=C 371: ++ LC_ALL=C @@ -26914,17 +27057,61 @@ 371: ++ OBJCOPY=objcopy 371: ++ STRIP=strip 371: ++ QEMU= +test 374 + Start 374: x86_64-warn-once + +374: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/warn-once.sh" +374: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +374: Environment variables: +374: MACHINE=x86_64 +374: CPU= +374: Test timeout computed to be: 1500 +test 375 + Start 375: x86_64-warn-symbol-type + +375: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/warn-symbol-type.sh" +375: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +375: Environment variables: +375: MACHINE=x86_64 +375: CPU= +375: Test timeout computed to be: 1500 +test 376 + Start 376: x86_64-warn-unresolved-symbols + +376: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/warn-unresolved-symbols.sh" +376: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +376: Environment variables: +376: MACHINE=x86_64 +376: CPU= +376: Test timeout computed to be: 1500 +test 377 + Start 377: x86_64-weak-export-dso + +377: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/weak-export-dso.sh" +377: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +377: Environment variables: +377: MACHINE=x86_64 +377: CPU= +377: Test timeout computed to be: 1500 371: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/versioned-undef.sh .sh -361/402 Test #359: x86_64-version-script20 ............................... Passed 0.32 sec -test 373 - Start 373: x86_64-warn-common +371: ++ testname=versioned-undef +371: ++ t=out/test/x86_64/versioned-undef +371: ++ mkdir -p out/test/x86_64/versioned-undef +371: ++ case $MACHINE in +371: ++ tlsdesc_opt=-mtls-dialect=gnu2 +371: +++ uname +test 378 + Start 378: x86_64-weak-export-dso2 -373: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/warn-common.sh" -373: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -373: Environment variables: -373: MACHINE=x86_64 -373: CPU= -373: Test timeout computed to be: 1500 +378: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/weak-export-dso2.sh" +378: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +378: Environment variables: +378: MACHINE=x86_64 +378: CPU= +378: Test timeout computed to be: 1500 +370: ++ case $MACHINE in +370: ++ tlsdesc_opt=-mtls-dialect=gnu2 +370: +++ uname 370: ++ '[' Linux = FreeBSD ']' 370: ++ trap 'on_error $LINENO' ERR 370: ++ trap on_exit EXIT @@ -26933,40 +27120,7 @@ 370: ++ set -x 370: + nm mold 370: + grep __tsan_init -371: ++ testname=versioned-undef -371: ++ t=out/test/x86_64/versioned-undef -371: ++ mkdir -p out/test/x86_64/versioned-undef -371: ++ case $MACHINE in -371: ++ tlsdesc_opt=-mtls-dialect=gnu2 -371: +++ uname -372: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/visibility.sh -372: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -372: ++ export LC_ALL=C -372: ++ LC_ALL=C -372: ++ '[' -z x86_64 ']' -372: ++ '[' -z '' ']' -372: ++ TESTDIR=out/test/x86_64 -372: ++ CC=cc -372: ++ CXX=c++ -372: ++ GCC=gcc -372: ++ GXX=g++ -372: ++ OBJDUMP=objdump -372: ++ OBJCOPY=objcopy -372: ++ STRIP=strip -372: ++ QEMU= -371: ++ '[' Linux = FreeBSD ']' -371: ++ trap 'on_error $LINENO' ERR -371: ++ trap on_exit EXIT -371: ++ echo -n 'Testing versioned-undef ... ' -371: Testing versioned-undef ... ++ set -o pipefail -371: ++ set -x -371: + is_musl -372: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/visibility.sh .sh 373: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/warn-common.sh -371: + grep musl -372: ++ testname=visibility -372: ++ t=out/test/x86_64/visibility -372: ++ mkdir -p out/test/x86_64/visibility 373: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 373: ++ export LC_ALL=C 373: ++ LC_ALL=C @@ -26985,100 +27139,46 @@ 373: ++ testname=warn-common 373: ++ t=out/test/x86_64/warn-common 373: ++ mkdir -p out/test/x86_64/warn-common -371: + cat -371: + cc -fPIC -c -o out/test/x86_64/versioned-undef/a.o -xc - -372: ++ case $MACHINE in -372: ++ tlsdesc_opt=-mtls-dialect=gnu2 -372: +++ uname 373: ++ case $MACHINE in 373: ++ tlsdesc_opt=-mtls-dialect=gnu2 -372: ++ '[' Linux = FreeBSD ']' 373: +++ uname -372: ++ trap 'on_error $LINENO' ERR -372: ++ trap on_exit EXIT -372: ++ echo -n 'Testing visibility ... ' -372: Testing visibility ... ++ set -o pipefail -372: ++ set -x -355: + nm -g out/test/x86_64/version-script17/exe2 -372: + cat -372: + cc -xc -c -o out/test/x86_64/visibility/a.o - -355: + not grep foo -355: + grep foo 373: ++ '[' Linux = FreeBSD ']' 373: ++ trap 'on_error $LINENO' ERR 373: ++ trap on_exit EXIT 373: ++ echo -n 'Testing warn-common ... ' 373: Testing warn-common ... ++ set -o pipefail 373: ++ set -x -373: + cat 373: + cc -fcommon -c -xc -o out/test/x86_64/warn-common/a.o - -355: + return 0 -355: + cat -355: + cc -B. -o out/test/x86_64/version-script17/exe3 out/test/x86_64/version-script17/a.o out/test/x86_64/version-script17/b.so -Wl,--version-script=out/test/x86_64/version-script17/d.ver -367: + cc -B. -shared -Wl,--version-script=out/test/x86_64/version-script7/a.ver -o out/test/x86_64/version-script7/c.so out/test/x86_64/version-script7/b.o -366: + cc -B. -shared -Wl,--version-script=out/test/x86_64/version-script6/a.ver -o out/test/x86_64/version-script6/c.so out/test/x86_64/version-script6/b.o -365: + cc -B. -shared -o out/test/x86_64/version-script5/c.so -Wl,-version-script,out/test/x86_64/version-script5/a.ver out/test/x86_64/version-script5/b.o -358: + cc -B. -o out/test/x86_64/version-script2/exe out/test/x86_64/version-script2/c.o out/test/x86_64/version-script2/b.so 373: + cat 373: + cc -fcommon -c -xc -o out/test/x86_64/warn-common/b.o - -372: + cat +373: + cat +373: + not grep -F 'multiple common symbols' +373: + grep -F 'multiple common symbols' +373: + cc -B. -o out/test/x86_64/warn-common/exe out/test/x86_64/warn-common/a.o out/test/x86_64/warn-common/b.o +363: + grep -F foo@ver1 out/test/x86_64/version-script3/log +363: 3: 0000000000000000 0 FUNC GLOBAL DEFAULT UND foo@ver1 (4) +363: + grep -F bar@ver2 out/test/x86_64/version-script3/log +363: 1: 0000000000000000 0 FUNC GLOBAL DEFAULT UND bar@ver2 (5) +363: + grep -F baz@ver2 out/test/x86_64/version-script3/log +363: 2: 0000000000000000 0 FUNC GLOBAL DEFAULT UND baz@ver2 (5) +363: + on_exit +363: + echo OK +363: OK +363: + exit 0 372: + cc -xc -c -o out/test/x86_64/visibility/b.o - -363: + cc -xc -c -o out/test/x86_64/version-script3/c.o - -371: + echo 'VER1 { local: *; }; VER2 { local: *; }; VER3 { local: *; };' -371: + cc -B. -shared -o out/test/x86_64/versioned-undef/c.so out/test/x86_64/versioned-undef/a.o -Wl,--version-script=out/test/x86_64/versioned-undef/b.ver -363: + cat -367: + readelf --dyn-syms out/test/x86_64/version-script7/c.so -369: + readelf --dyn-syms out/test/x86_64/version-script9/c.so -367: + grep 'foo$' out/test/x86_64/version-script7/log -369: + grep ' foo@@VER1$' out/test/x86_64/version-script9/log -369: 7: 0000000000001639 0 NOTYPE GLOBAL DEFAULT 14 foo@@VER1 -369: + on_exit -369: + echo OK -369: OK -369: + exit 0 -362/402 Test #369: x86_64-version-script9 ................................ Passed 0.11 sec -test 374 - Start 374: x86_64-warn-once - -374: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/warn-once.sh" -374: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -374: Environment variables: -374: MACHINE=x86_64 -374: CPU= -374: Test timeout computed to be: 1500 -367: 4: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND foo -367: + grep bar@@VER_X1 out/test/x86_64/version-script7/log +372: + cat +372: + rm -f out/test/x86_64/visibility/c.a 368: + cat 368: + cc -xc -c -o out/test/x86_64/version-script8/c.o - -367: 6: 0000000000001649 15 FUNC GLOBAL DEFAULT 14 bar@@VER_X1 -365: + readelf --dyn-syms out/test/x86_64/version-script5/c.so -367: + on_exit -367: + echo OK -367: OK -367: + exit 0 -363/402 Test #367: x86_64-version-script7 ................................ Passed 0.23 sec -test 375 - Start 375: x86_64-warn-symbol-type - -375: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/warn-symbol-type.sh" -375: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -375: Environment variables: -375: MACHINE=x86_64 -375: CPU= -375: Test timeout computed to be: 1500 -366: + cat -365: + grep -F foo out/test/x86_64/version-script5/log -365: 5: 00000000000037b8 4 OBJECT GLOBAL DEFAULT 19 foo +366: + readelf --dyn-syms out/test/x86_64/version-script6/f.so +366: + grep foo@VER_X1 out/test/x86_64/version-script6/log +366: 5: 0000000000000000 0 OBJECT GLOBAL DEFAULT UND foo@VER_X1 (6) +366: + grep bar@VER_X2 out/test/x86_64/version-script6/log 374: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/warn-once.sh -358: + out/test/x86_64/version-script2/exe -366: + cat 374: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 374: ++ export LC_ALL=C 374: ++ LC_ALL=C 374: ++ '[' -z x86_64 ']' -365: + not grep -F ' main' out/test/x86_64/version-script5/log -365: + grep -F ' main' out/test/x86_64/version-script5/log -366: + c++ -fPIC -c -o out/test/x86_64/version-script6/e.o -xc - 374: ++ '[' -z '' ']' 374: ++ TESTDIR=out/test/x86_64 374: ++ CC=cc @@ -27089,40 +27189,12 @@ 374: ++ OBJCOPY=objcopy 374: ++ STRIP=strip 374: ++ QEMU= -358: + readelf --dyn-syms out/test/x86_64/version-script2/exe 374: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/warn-once.sh .sh 374: ++ testname=warn-once 374: ++ t=out/test/x86_64/warn-once 374: ++ mkdir -p out/test/x86_64/warn-once -365: + return 0 -365: + on_exit -365: + echo OK -365: OK -365: + exit 0 -364/402 Test #365: x86_64-version-script5 ................................ Passed 0.28 sec -test 376 - Start 376: x86_64-warn-unresolved-symbols - -376: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/warn-unresolved-symbols.sh" -376: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -376: Environment variables: -376: MACHINE=x86_64 -376: CPU= -376: Test timeout computed to be: 1500 -358: + grep -F foo@ver1 out/test/x86_64/version-script2/log -358: 3: 0000000000000000 0 FUNC GLOBAL DEFAULT UND foo@ver1 (4) -358: + grep -F bar@ver2 out/test/x86_64/version-script2/log 374: ++ case $MACHINE in 374: ++ tlsdesc_opt=-mtls-dialect=gnu2 -374: +++ uname -374: ++ '[' Linux = FreeBSD ']' -374: ++ trap 'on_error $LINENO' ERR -374: ++ trap on_exit EXIT -374: ++ echo -n 'Testing warn-once ... ' -374: Testing warn-once ... ++ set -o pipefail -374: ++ set -x -374: + cat -374: + cc -c -fPIC -xc -o out/test/x86_64/warn-once/a.o - 375: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/warn-symbol-type.sh 375: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 375: ++ export LC_ALL=C @@ -27139,19 +27211,19 @@ 375: ++ STRIP=strip 375: ++ QEMU= 375: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/warn-symbol-type.sh .sh -372: + rm -f out/test/x86_64/visibility/c.a -372: + ar crs out/test/x86_64/visibility/c.a out/test/x86_64/visibility/a.o out/test/x86_64/visibility/b.o -373: + cc -B. -o out/test/x86_64/warn-common/exe out/test/x86_64/warn-common/a.o out/test/x86_64/warn-common/b.o -363: + cc -B. -o out/test/x86_64/version-script3/exe out/test/x86_64/version-script3/c.o out/test/x86_64/version-script3/b.so -358: 1: 0000000000000000 0 FUNC GLOBAL DEFAULT UND bar@ver2 (5) -358: + grep -F baz@ver3 out/test/x86_64/version-script2/log -368: + cc -B. -o out/test/x86_64/version-script8/exe out/test/x86_64/version-script8/c.o out/test/x86_64/version-script8/b.so -373: + not grep -F 'multiple common symbols' -373: + grep -F 'multiple common symbols' -376: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/warn-unresolved-symbols.sh 375: ++ testname=warn-symbol-type 375: ++ t=out/test/x86_64/warn-symbol-type 375: ++ mkdir -p out/test/x86_64/warn-symbol-type +375: ++ case $MACHINE in +375: ++ tlsdesc_opt=-mtls-dialect=gnu2 +371: ++ '[' Linux = FreeBSD ']' +371: ++ trap 'on_error $LINENO' ERR +371: ++ trap on_exit EXIT +371: ++ echo -n 'Testing versioned-undef ... ' +371: Testing versioned-undef ... ++ set -o pipefail +371: ++ set -x +371: + is_musl +376: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/warn-unresolved-symbols.sh 376: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 376: ++ export LC_ALL=C 376: ++ LC_ALL=C @@ -27167,67 +27239,21 @@ 376: ++ STRIP=strip 376: ++ QEMU= 376: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/warn-unresolved-symbols.sh .sh -358: 2: 0000000000000000 0 FUNC GLOBAL DEFAULT UND baz@ver3 (6) -358: + on_exit -358: + echo OK -358: OK -358: + exit 0 -355: + nm -g out/test/x86_64/version-script17/exe3 -355: + not grep foo -355: + grep foo -365/402 Test #358: x86_64-version-script2 ................................ Passed 0.47 sec -375: ++ case $MACHINE in -375: ++ tlsdesc_opt=-mtls-dialect=gnu2 376: ++ testname=warn-unresolved-symbols 376: ++ t=out/test/x86_64/warn-unresolved-symbols 376: ++ mkdir -p out/test/x86_64/warn-unresolved-symbols -test 377 - Start 377: x86_64-weak-export-dso - -377: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/weak-export-dso.sh" -377: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -377: Environment variables: -377: MACHINE=x86_64 -377: CPU= -377: Test timeout computed to be: 1500 -375: +++ uname -375: ++ '[' Linux = FreeBSD ']' -375: ++ trap 'on_error $LINENO' ERR -375: ++ trap on_exit EXIT -375: ++ echo -n 'Testing warn-symbol-type ... ' -375: Testing warn-symbol-type ... ++ set -o pipefail -375: ++ set -x -375: + cat -376: ++ case $MACHINE in -376: ++ tlsdesc_opt=-mtls-dialect=gnu2 -376: +++ uname -355: + return 0 -355: + on_exit -355: + echo OK -355: OK -355: + exit 0 -375: + cc -c -fPIC -xc -o out/test/x86_64/warn-symbol-type/a.o - -366/402 Test #355: x86_64-version-script17 ............................... Passed 0.52 sec -test 378 - Start 378: x86_64-weak-export-dso2 - -378: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/weak-export-dso2.sh" -378: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -378: Environment variables: -378: MACHINE=x86_64 -378: CPU= -378: Test timeout computed to be: 1500 -371: + cat -371: + cc -c -o out/test/x86_64/versioned-undef/d.o -xc - -376: ++ '[' Linux = FreeBSD ']' -376: ++ trap 'on_error $LINENO' ERR -376: ++ trap on_exit EXIT -376: ++ echo -n 'Testing warn-unresolved-symbols ... ' -376: Testing warn-unresolved-symbols ... ++ set -o pipefail -376: ++ set -x -376: + cat -376: + cc -c -o out/test/x86_64/warn-unresolved-symbols/a.o -xc - 377: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/weak-export-dso.sh +367/402 Test #363: x86_64-version-script3 ................................ Passed 0.29 sec +371: + grep musl +test 379 + Start 379: x86_64-weak-export-exe + +379: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/weak-export-exe.sh" +379: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +379: Environment variables: +379: MACHINE=x86_64 +379: CPU= +379: Test timeout computed to be: 1500 377: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 377: ++ export LC_ALL=C 377: ++ LC_ALL=C @@ -27242,18 +27268,58 @@ 377: ++ OBJCOPY=objcopy 377: ++ STRIP=strip 377: ++ QEMU= +375: +++ uname +375: ++ '[' Linux = FreeBSD ']' +375: ++ trap 'on_error $LINENO' ERR +375: ++ trap on_exit EXIT +375: ++ echo -n 'Testing warn-symbol-type ... ' +375: Testing warn-symbol-type ... ++ set -o pipefail +375: ++ set -x +379: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/weak-export-exe.sh +374: +++ uname +375: + cc -c -fPIC -xc -o out/test/x86_64/warn-symbol-type/a.o - +372: + ar crs out/test/x86_64/visibility/c.a out/test/x86_64/visibility/a.o out/test/x86_64/visibility/b.o +379: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +379: ++ export LC_ALL=C +379: ++ LC_ALL=C +379: ++ '[' -z x86_64 ']' +379: ++ '[' -z '' ']' +379: ++ TESTDIR=out/test/x86_64 +379: ++ CC=cc +379: ++ CXX=c++ +379: ++ GCC=gcc +379: ++ GXX=g++ +379: ++ OBJDUMP=objdump +379: ++ OBJCOPY=objcopy +379: ++ STRIP=strip +379: ++ QEMU= +374: ++ '[' Linux = FreeBSD ']' +374: ++ trap 'on_error $LINENO' ERR +374: ++ trap on_exit EXIT +374: ++ echo -n 'Testing warn-once ... ' +374: Testing warn-once ... ++ set -o pipefail +374: ++ set -x +379: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/weak-export-exe.sh .sh +379: ++ testname=weak-export-exe +379: ++ t=out/test/x86_64/weak-export-exe +379: ++ mkdir -p out/test/x86_64/weak-export-exe +375: + cat 377: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/weak-export-dso.sh .sh -378: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/weak-export-dso2.sh +374: + cat +366: 4: 0000000000000000 0 OBJECT GLOBAL DEFAULT UND bar@VER_X2 (7) +366: + grep baz@@VER_Y2 out/test/x86_64/version-script6/log 377: ++ testname=weak-export-dso 377: ++ t=out/test/x86_64/weak-export-dso 377: ++ mkdir -p out/test/x86_64/weak-export-dso +374: + cc -c -fPIC -xc -o out/test/x86_64/warn-once/a.o - +378: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/weak-export-dso2.sh +376: ++ case $MACHINE in +376: ++ tlsdesc_opt=-mtls-dialect=gnu2 378: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 378: ++ export LC_ALL=C 378: ++ LC_ALL=C 378: ++ '[' -z x86_64 ']' 378: ++ '[' -z '' ']' -377: ++ case $MACHINE in -377: ++ tlsdesc_opt=-mtls-dialect=gnu2 378: ++ TESTDIR=out/test/x86_64 378: ++ CC=cc 378: ++ CXX=c++ @@ -27263,102 +27329,41 @@ 378: ++ OBJCOPY=objcopy 378: ++ STRIP=strip 378: ++ QEMU= -377: +++ uname +376: +++ uname +371: + cat +371: + cc -fPIC -c -o out/test/x86_64/versioned-undef/a.o -xc - +376: ++ '[' Linux = FreeBSD ']' +376: ++ trap 'on_error $LINENO' ERR +376: ++ trap on_exit EXIT +376: ++ echo -n 'Testing warn-unresolved-symbols ... ' +376: Testing warn-unresolved-symbols ... ++ set -o pipefail +376: ++ set -x +376: + cc -c -o out/test/x86_64/warn-unresolved-symbols/a.o -xc - +376: + cat +379: ++ case $MACHINE in +379: ++ tlsdesc_opt=-mtls-dialect=gnu2 378: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/weak-export-dso2.sh .sh -377: ++ '[' Linux = FreeBSD ']' -377: ++ trap 'on_error $LINENO' ERR -377: ++ trap on_exit EXIT -377: ++ echo -n 'Testing weak-export-dso ... ' -377: Testing weak-export-dso ... ++ set -o pipefail -377: ++ set -x -377: + cat -377: + cc -fPIC -c -o out/test/x86_64/weak-export-dso/a.o -xc - 378: ++ testname=weak-export-dso2 378: ++ t=out/test/x86_64/weak-export-dso2 378: ++ mkdir -p out/test/x86_64/weak-export-dso2 -372: + cc -xc -fPIC -c -o out/test/x86_64/visibility/d.o - -372: + cat -378: ++ case $MACHINE in -378: ++ tlsdesc_opt=-mtls-dialect=gnu2 -378: +++ uname -363: + out/test/x86_64/version-script3/exe -378: ++ '[' Linux = FreeBSD ']' -378: ++ trap 'on_error $LINENO' ERR -378: ++ trap on_exit EXIT -378: ++ echo -n 'Testing weak-export-dso2 ... ' -378: Testing weak-export-dso2 ... ++ set -o pipefail -378: ++ set -x -378: + cc -fPIC -c -o out/test/x86_64/weak-export-dso2/a.o -xc - -378: + cat -363: + readelf --dyn-syms out/test/x86_64/version-script3/exe -366: + cc -B. -shared -Wl,-version-script,out/test/x86_64/version-script6/d.ver -o out/test/x86_64/version-script6/f.so out/test/x86_64/version-script6/e.o out/test/x86_64/version-script6/c.so -Wl,--undefined-version -363: + grep -F foo@ver1 out/test/x86_64/version-script3/log -363: 3: 0000000000000000 0 FUNC GLOBAL DEFAULT UND foo@ver1 (4) -363: + grep -F bar@ver2 out/test/x86_64/version-script3/log -374: + cat -374: + cc -c -fPIC -xc -o out/test/x86_64/warn-once/b.o - -363: 1: 0000000000000000 0 FUNC GLOBAL DEFAULT UND bar@ver2 (5) -363: + grep -F baz@ver2 out/test/x86_64/version-script3/log -363: 2: 0000000000000000 0 FUNC GLOBAL DEFAULT UND baz@ver2 (5) -373: + return 0 -363: + on_exit -363: + echo OK -363: OK -363: + exit 0 -373: + cc -B. -o out/test/x86_64/warn-common/exe out/test/x86_64/warn-common/a.o out/test/x86_64/warn-common/b.o -Wl,-warn-common -367/402 Test #363: x86_64-version-script3 ................................ Passed 0.41 sec -373: + grep -F 'multiple common symbols' -test 379 - Start 379: x86_64-weak-export-exe - -379: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/weak-export-exe.sh" -379: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -379: Environment variables: -379: MACHINE=x86_64 -379: CPU= -379: Test timeout computed to be: 1500 -368: + out/test/x86_64/version-script8/exe -368: + readelf --dyn-syms out/test/x86_64/version-script8/b.so -379: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/weak-export-exe.sh -368: + grep -F foo@@ver1 out/test/x86_64/version-script8/log -379: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -379: ++ export LC_ALL=C -379: ++ LC_ALL=C -379: ++ '[' -z x86_64 ']' -379: ++ '[' -z '' ']' -379: ++ TESTDIR=out/test/x86_64 -379: ++ CC=cc -379: ++ CXX=c++ -379: ++ GCC=gcc -379: ++ GXX=g++ -379: ++ OBJDUMP=objdump -379: ++ OBJCOPY=objcopy -379: ++ STRIP=strip -379: ++ QEMU= -368: 6: 00000000000016a9 7 FUNC GLOBAL DEFAULT 14 foo@@ver1 -379: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/weak-export-exe.sh .sh -368: + grep -F bar@@ver2 out/test/x86_64/version-script8/log -379: ++ testname=weak-export-exe -379: ++ t=out/test/x86_64/weak-export-exe -379: ++ mkdir -p out/test/x86_64/weak-export-exe -368: 5: 00000000000016b0 7 FUNC GLOBAL DEFAULT 14 bar@@ver2 -368: + not grep -F baz out/test/x86_64/version-script8/log -368: + grep -F baz out/test/x86_64/version-script8/log -379: ++ case $MACHINE in -379: ++ tlsdesc_opt=-mtls-dialect=gnu2 +377: ++ case $MACHINE in +377: ++ tlsdesc_opt=-mtls-dialect=gnu2 379: +++ uname -368: + return 0 -368: + on_exit -368: + echo OK -368: OK -368: + exit 0 -368/402 Test #368: x86_64-version-script8 ................................ Passed 0.28 sec +375: + grep 'warning: symbol type mismatch: times' +366: 7: 0000000000001729 26 FUNC GLOBAL DEFAULT 14 baz@@VER_Y2 +366: + on_exit +366: + echo OK +366: OK +366: + exit 0 379: ++ '[' Linux = FreeBSD ']' +368/402 Test #366: x86_64-version-script6 ................................ Passed 0.27 sec 379: ++ trap 'on_error $LINENO' ERR 379: ++ trap on_exit EXIT 379: ++ echo -n 'Testing weak-export-exe ... ' 379: Testing weak-export-exe ... ++ set -o pipefail 379: ++ set -x +372: + cc -xc -fPIC -c -o out/test/x86_64/visibility/d.o - +377: +++ uname test 380 Start 380: x86_64-weak-undef-dso @@ -27370,12 +27375,55 @@ 380: Test timeout computed to be: 1500 379: + cat 379: + cc -fPIC -c -o out/test/x86_64/weak-export-exe/a.o -xc - -370: + ./mold -v -370: + grep 'mold .*compatible with GNU ld' -366: + readelf --dyn-syms out/test/x86_64/version-script6/f.so +372: + cat +377: ++ '[' Linux = FreeBSD ']' +377: ++ trap 'on_error $LINENO' ERR +377: ++ trap on_exit EXIT +377: ++ echo -n 'Testing weak-export-dso ... ' +377: Testing weak-export-dso ... ++ set -o pipefail +377: ++ set -x +377: + cc -fPIC -c -o out/test/x86_64/weak-export-dso/a.o -xc - +377: + cat +368: + cc -B. -o out/test/x86_64/version-script8/exe out/test/x86_64/version-script8/c.o out/test/x86_64/version-script8/b.so +373: + return 0 +373: + grep -F 'multiple common symbols' +373: + cc -B. -o out/test/x86_64/warn-common/exe out/test/x86_64/warn-common/a.o out/test/x86_64/warn-common/b.o -Wl,-warn-common +375: + cc -B. -shared -o out/test/x86_64/warn-symbol-type/a.so out/test/x86_64/warn-symbol-type/a.o +378: ++ case $MACHINE in +378: ++ tlsdesc_opt=-mtls-dialect=gnu2 +378: +++ uname +378: ++ '[' Linux = FreeBSD ']' +378: ++ trap 'on_error $LINENO' ERR +378: ++ trap on_exit EXIT +378: ++ echo -n 'Testing weak-export-dso2 ... ' +378: Testing weak-export-dso2 ... ++ set -o pipefail +378: ++ set -x +378: + cc -fPIC -c -o out/test/x86_64/weak-export-dso2/a.o -xc - +376: + not cc -B. -o out/test/x86_64/warn-unresolved-symbols/exe out/test/x86_64/warn-unresolved-symbols/a.o +376: + grep 'undefined symbol:.*foo' +371: + echo 'VER1 { local: *; }; VER2 { local: *; }; VER3 { local: *; };' +371: + cc -B. -shared -o out/test/x86_64/versioned-undef/c.so out/test/x86_64/versioned-undef/a.o -Wl,--version-script=out/test/x86_64/versioned-undef/b.ver +378: + cat +373: mold: warning: out/test/x86_64/warn-common/b.o: multiple common symbols: foo 380: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/weak-undef-dso.sh -366: + grep foo@VER_X1 out/test/x86_64/version-script6/log -370: mold 2.37.1 (compatible with GNU ld) +379: + cc -B. -o out/test/x86_64/weak-export-exe/exe out/test/x86_64/weak-export-exe/a.o +373: + on_exit +373: + echo OK +373: OK +373: + exit 0 +369/402 Test #373: x86_64-warn-common .................................... Passed 0.14 sec +374: + cc -c -fPIC -xc -o out/test/x86_64/warn-once/b.o - +test 381 + Start 381: x86_64-weak-undef + +381: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/weak-undef.sh" +381: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +381: Environment variables: +381: MACHINE=x86_64 +381: CPU= +381: Test timeout computed to be: 1500 +374: + cat +372: + cc -B. -shared -o out/test/x86_64/visibility/e.so out/test/x86_64/visibility/c.a out/test/x86_64/visibility/d.o 380: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 380: ++ export LC_ALL=C 380: ++ LC_ALL=C @@ -27390,70 +27438,15 @@ 380: ++ OBJCOPY=objcopy 380: ++ STRIP=strip 380: ++ QEMU= +377: + cc -B. -o out/test/x86_64/weak-export-dso/b.so out/test/x86_64/weak-export-dso/a.o -shared 380: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/weak-undef-dso.sh .sh -370: + ./mold --version -370: + grep 'mold .*compatible with GNU ld' 380: ++ testname=weak-undef-dso 380: ++ t=out/test/x86_64/weak-undef-dso 380: ++ mkdir -p out/test/x86_64/weak-undef-dso -366: 5: 0000000000000000 0 OBJECT GLOBAL DEFAULT UND foo@VER_X1 (6) 380: ++ case $MACHINE in 380: ++ tlsdesc_opt=-mtls-dialect=gnu2 -366: + grep bar@VER_X2 out/test/x86_64/version-script6/log -373: mold: warning: out/test/x86_64/warn-common/b.o: multiple common symbols: foo -380: +++ uname -373: + on_exit -373: + echo OK -373: OK -373: + exit 0 -370: mold 2.37.1 (compatible with GNU ld) -369/402 Test #373: x86_64-warn-common .................................... Passed 0.19 sec -test 381 - Start 381: x86_64-weak-undef - -381: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/weak-undef.sh" -381: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -381: Environment variables: -381: MACHINE=x86_64 -381: CPU= -381: Test timeout computed to be: 1500 -366: 4: 0000000000000000 0 OBJECT GLOBAL DEFAULT UND bar@VER_X2 (7) -366: + grep baz@@VER_Y2 out/test/x86_64/version-script6/log -366: 7: 0000000000001729 26 FUNC GLOBAL DEFAULT 14 baz@@VER_Y2 -366: + on_exit -366: + echo OK -366: OK -366: + exit 0 -370: + ./mold -V -370: + grep 'mold .*compatible with GNU ld' -380: ++ '[' Linux = FreeBSD ']' -380: ++ trap 'on_error $LINENO' ERR -380: ++ trap on_exit EXIT -380: ++ echo -n 'Testing weak-undef-dso ... ' -380: Testing weak-undef-dso ... ++ set -o pipefail -380: ++ set -x -380: + cat -380: + cc -c -o out/test/x86_64/weak-undef-dso/a.o -fPIC -xc - -370/402 Test #366: x86_64-version-script6 ................................ Passed 0.36 sec -test 382 - Start 382: x86_64-weak-undef2 - -382: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/weak-undef2.sh" -382: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -382: Environment variables: -382: MACHINE=x86_64 -382: CPU= -382: Test timeout computed to be: 1500 -370: mold 2.37.1 (compatible with GNU ld) -370: + ./mold -V -370: + grep elf_x86_64 -370: elf_x86_64 -370: + ./mold -V -370: + grep elf_i386 -370: elf_i386 -370: + cat -370: + cc -c -xc -o out/test/x86_64/version/a.o - 381: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/weak-undef.sh +378: + cc -B. -o out/test/x86_64/weak-export-dso2/b.so out/test/x86_64/weak-export-dso2/a.o -shared 381: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 381: ++ export LC_ALL=C 381: ++ LC_ALL=C @@ -27468,11 +27461,88 @@ 381: ++ OBJCOPY=objcopy 381: ++ STRIP=strip 381: ++ QEMU= +380: +++ uname +380: ++ '[' Linux = FreeBSD ']' +380: ++ trap 'on_error $LINENO' ERR +380: ++ trap on_exit EXIT +380: ++ echo -n 'Testing weak-undef-dso ... ' +380: Testing weak-undef-dso ... ++ set -o pipefail +380: ++ set -x +376: mold: error: undefined symbol: foo +379: + not grep 'WEAK DEFAULT UND foo' +379: + grep 'WEAK DEFAULT UND foo' +379: + readelf --dyn-syms out/test/x86_64/weak-export-exe/exe +380: + cc -c -o out/test/x86_64/weak-undef-dso/a.o -fPIC -xc - 381: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/weak-undef.sh .sh -382: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/weak-undef2.sh +374: + cc -B. -o out/test/x86_64/warn-once/exe out/test/x86_64/warn-once/a.o out/test/x86_64/warn-once/b.o -Wl,--warn-unresolved-symbols,--warn-once +379: + return 0 +379: + out/test/x86_64/weak-export-exe/exe 381: ++ testname=weak-undef 381: ++ t=out/test/x86_64/weak-undef 381: ++ mkdir -p out/test/x86_64/weak-undef +368: + out/test/x86_64/version-script8/exe +368: + readelf --dyn-syms out/test/x86_64/version-script8/b.so +380: + cat +375: mold: warning: symbol type mismatch: times +375: + on_exit +375: + echo OK +375: OK +375: + exit 0 +376: + grep 'undefined symbol:.*foo' +370/402 Test #375: x86_64-warn-symbol-type ............................... Passed 0.18 sec +376: + cc -B. -o out/test/x86_64/warn-unresolved-symbols/exe out/test/x86_64/warn-unresolved-symbols/a.o -Wl,-warn-unresolved-symbols +test 382 + Start 382: x86_64-weak-undef2 + +382: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/weak-undef2.sh" +382: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +382: Environment variables: +382: MACHINE=x86_64 +382: CPU= +382: Test timeout computed to be: 1500 +368: + grep -F foo@@ver1 out/test/x86_64/version-script8/log +371: + cat +371: + cc -c -o out/test/x86_64/versioned-undef/d.o -xc - +372: + not grep -F foo +372: + grep -F foo +372: + readelf --dyn-syms out/test/x86_64/visibility/e.so +379: + grep '^3$' +379: 3 +379: + on_exit +379: + echo OK +379: OK +379: + exit 0 +371/402 Test #379: x86_64-weak-export-exe ................................ Passed 0.14 sec +test 383 + Start 383: x86_64-weak-undef4 + +383: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/weak-undef4.sh" +383: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +383: Environment variables: +383: MACHINE=x86_64 +383: CPU= +383: Test timeout computed to be: 1500 +380: + cc -B. -shared -o out/test/x86_64/weak-undef-dso/b.so out/test/x86_64/weak-undef-dso/a.o +381: ++ case $MACHINE in +381: ++ tlsdesc_opt=-mtls-dialect=gnu2 +372: + return 0 +372: + on_exit +372: + echo OK +372: OK +372: + exit 0 +368: 6: 00000000000016a9 7 FUNC GLOBAL DEFAULT 14 foo@@ver1 +368: + grep -F bar@@ver2 out/test/x86_64/version-script8/log +372/402 Test #372: x86_64-visibility ..................................... Passed 0.23 sec +test 384 + Start 384: x86_64-weak-undef5 + +384: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/weak-undef5.sh" +384: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +384: Environment variables: +384: MACHINE=x86_64 +384: CPU= +384: Test timeout computed to be: 1500 +382: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/weak-undef2.sh 382: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 382: ++ export LC_ALL=C 382: ++ LC_ALL=C @@ -27488,22 +27558,11 @@ 382: ++ STRIP=strip 382: ++ QEMU= 382: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/weak-undef2.sh .sh -381: ++ case $MACHINE in -381: ++ tlsdesc_opt=-mtls-dialect=gnu2 382: ++ testname=weak-undef2 382: ++ t=out/test/x86_64/weak-undef2 382: ++ mkdir -p out/test/x86_64/weak-undef2 -381: +++ uname -381: ++ '[' Linux = FreeBSD ']' -381: ++ trap 'on_error $LINENO' ERR -381: ++ trap on_exit EXIT -381: ++ echo -n 'Testing weak-undef ... ' -381: Testing weak-undef ... ++ set -o pipefail -381: ++ set -x 382: ++ case $MACHINE in 382: ++ tlsdesc_opt=-mtls-dialect=gnu2 -381: + cat -381: + cc -c -o out/test/x86_64/weak-undef/a.o -fPIC -xc - 382: +++ uname 382: ++ '[' Linux = FreeBSD ']' 382: ++ trap 'on_error $LINENO' ERR @@ -27513,131 +27572,24 @@ 382: ++ set -x 382: + cat 382: + cc -c -o out/test/x86_64/weak-undef2/a.o -xc - -379: + cc -B. -o out/test/x86_64/weak-export-exe/exe out/test/x86_64/weak-export-exe/a.o -378: + cc -B. -o out/test/x86_64/weak-export-dso2/b.so out/test/x86_64/weak-export-dso2/a.o -shared -371: + cc -B. -o out/test/x86_64/versioned-undef/exe out/test/x86_64/versioned-undef/d.o out/test/x86_64/versioned-undef/c.so -376: + not cc -B. -o out/test/x86_64/warn-unresolved-symbols/exe out/test/x86_64/warn-unresolved-symbols/a.o -376: + grep 'undefined symbol:.*foo' -370: + rm -f out/test/x86_64/version/exe -377: + cc -B. -o out/test/x86_64/weak-export-dso/b.so out/test/x86_64/weak-export-dso/a.o -shared -372: + cc -B. -shared -o out/test/x86_64/visibility/e.so out/test/x86_64/visibility/c.a out/test/x86_64/visibility/d.o -375: + cc -B. -shared -o out/test/x86_64/warn-symbol-type/a.so out/test/x86_64/warn-symbol-type/a.o -374: + cc -B. -o out/test/x86_64/warn-once/exe out/test/x86_64/warn-once/a.o out/test/x86_64/warn-once/b.o -Wl,--warn-unresolved-symbols,--warn-once -382: + cc -c -o out/test/x86_64/weak-undef2/b.o -xc - -382: + cat -370: + grep mold -380: + cc -B. -shared -o out/test/x86_64/weak-undef-dso/b.so out/test/x86_64/weak-undef-dso/a.o -375: + grep 'warning: symbol type mismatch: times' -381: + cat -381: + cc -c -o out/test/x86_64/weak-undef/b.o -fno-PIC -xc - -370: + cc -B. -Wl,--version -o out/test/x86_64/version/exe1 out/test/x86_64/version/a.o -371: + out/test/x86_64/versioned-undef/exe 378: + cat -376: mold: error: undefined symbol: foo -376: + cc -B. -o out/test/x86_64/warn-unresolved-symbols/exe out/test/x86_64/warn-unresolved-symbols/a.o -Wl,-warn-unresolved-symbols -376: + grep 'undefined symbol:.*foo' -370: mold 2.37.1 (compatible with GNU ld) -370: + not '[' -f out/test/x86_64/version/exe1 ']' -370: + '[' -f out/test/x86_64/version/exe1 ']' -370: + return 0 -370: + cc -B. -Wl,-v -o out/test/x86_64/version/exe2 out/test/x86_64/version/a.o -370: + grep mold -379: + readelf --dyn-syms out/test/x86_64/weak-export-exe/exe -379: + not grep 'WEAK DEFAULT UND foo' -377: + cc -B. -o out/test/x86_64/weak-export-dso/c.so out/test/x86_64/weak-export-dso/a.o -shared -Wl,-z,defs -381: + cc -fcommon -xc -c -o out/test/x86_64/weak-undef/c.o - -381: + cat -371: + grep '^1 2 3 3 4$' -375: mold: warning: symbol type mismatch: times -375: + on_exit -375: + echo OK -375: OK -375: + exit 0 -372: + not grep -F foo -372: + grep -F foo -380: + cat 378: + cc -fPIC -c -o out/test/x86_64/weak-export-dso2/c.o -xc - -371/402 Test #375: x86_64-warn-symbol-type ............................... Passed 0.49 sec -test 383 - Start 383: x86_64-weak-undef4 - -383: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/weak-undef4.sh" -383: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -383: Environment variables: -383: MACHINE=x86_64 -383: CPU= -383: Test timeout computed to be: 1500 -372: + readelf --dyn-syms out/test/x86_64/visibility/e.so -372: + return 0 -379: + grep 'WEAK DEFAULT UND foo' -379: + return 0 -382: + not cc -B. -o out/test/x86_64/weak-undef2/exe out/test/x86_64/weak-undef2/a.o out/test/x86_64/weak-undef2/b.o -382: + grep 'undefined symbol: foo' -371: 1 2 3 3 4 -371: + on_exit -371: + echo OK -371: OK -371: + exit 0 -380: + cc -xc -c -o out/test/x86_64/weak-undef-dso/c.o - -374: ++ grep 'undefined symbol:.* foo$' out/test/x86_64/warn-once/log -372/402 Test #371: x86_64-versioned-undef ................................ Passed 0.58 sec -379: + out/test/x86_64/weak-export-exe/exe -374: ++ wc -l -test 384 - Start 384: x86_64-weak-undef5 - -384: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/weak-undef5.sh" -384: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -384: Environment variables: -384: MACHINE=x86_64 -384: CPU= -384: Test timeout computed to be: 1500 -379: + grep '^3$' -379: 3 -379: + on_exit -379: + echo OK -379: OK -379: + exit 0 -374: + '[' 1 = 1 ']' -374: + on_exit -374: + echo OK -374: OK -374: + exit 0 -372: + on_exit -372: + echo OK -372: OK -372: + exit 0 +381: +++ uname +381: ++ '[' Linux = FreeBSD ']' +381: ++ trap 'on_error $LINENO' ERR +381: ++ trap on_exit EXIT +381: ++ echo -n 'Testing weak-undef ... ' +381: Testing weak-undef ... ++ set -o pipefail +381: ++ set -x +368: 5: 00000000000016b0 7 FUNC GLOBAL DEFAULT 14 bar@@ver2 +368: + not grep -F baz out/test/x86_64/version-script8/log +368: + grep -F baz out/test/x86_64/version-script8/log +368: + return 0 +368: + on_exit +368: + echo OK +368: OK +368: + exit 0 383: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/weak-undef4.sh -373/402 Test #372: x86_64-visibility ..................................... Passed 0.58 sec -374/402 Test #374: x86_64-warn-once ...................................... Passed 0.50 sec -375/402 Test #379: x86_64-weak-export-exe ................................ Passed 0.41 sec -test 385 - Start 385: x86_64-whole-archive - -385: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/whole-archive.sh" -385: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -385: Environment variables: -385: MACHINE=x86_64 -385: CPU= -385: Test timeout computed to be: 1500 -test 386 - Start 386: x86_64-wrap-lto - -386: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/wrap-lto.sh" -386: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -386: Environment variables: -386: MACHINE=x86_64 -386: CPU= -386: Test timeout computed to be: 1500 -test 387 - Start 387: x86_64-wrap - -387: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/wrap.sh" -387: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -387: Environment variables: -387: MACHINE=x86_64 -387: CPU= -387: Test timeout computed to be: 1500 383: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 383: ++ export LC_ALL=C 383: ++ LC_ALL=C @@ -27665,8 +27617,6 @@ 383: ++ echo -n 'Testing weak-undef4 ... ' 383: Testing weak-undef4 ... ++ set -o pipefail 383: ++ set -x -383: + cat -383: + cc -c -o out/test/x86_64/weak-undef4/a.o -xc - 384: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/weak-undef5.sh 384: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 384: ++ export LC_ALL=C @@ -27686,17 +27636,24 @@ 384: ++ testname=weak-undef5 384: ++ t=out/test/x86_64/weak-undef5 384: ++ mkdir -p out/test/x86_64/weak-undef5 +373/402 Test #368: x86_64-version-script8 ................................ Passed 0.37 sec +381: + cat +381: + cc -c -o out/test/x86_64/weak-undef/a.o -fPIC -xc - +383: + cat +383: + cc -c -o out/test/x86_64/weak-undef4/a.o -xc - +test 385 + Start 385: x86_64-whole-archive + +385: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/whole-archive.sh" +385: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +385: Environment variables: +385: MACHINE=x86_64 +385: CPU= +385: Test timeout computed to be: 1500 +371: + cc -B. -o out/test/x86_64/versioned-undef/exe out/test/x86_64/versioned-undef/d.o out/test/x86_64/versioned-undef/c.so 384: ++ case $MACHINE in 384: ++ tlsdesc_opt=-mtls-dialect=gnu2 -384: +++ uname -384: ++ '[' Linux = FreeBSD ']' -384: ++ trap 'on_error $LINENO' ERR -384: ++ trap on_exit EXIT -384: ++ echo -n 'Testing weak-undef5 ... ' -384: Testing weak-undef5 ... ++ set -o pipefail -384: ++ set -x -384: + cat -384: + cc -c -o out/test/x86_64/weak-undef5/a.o -fPIC -xc - +377: + cc -B. -o out/test/x86_64/weak-export-dso/c.so out/test/x86_64/weak-export-dso/a.o -shared -Wl,-z,defs 385: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/whole-archive.sh 385: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 385: ++ export LC_ALL=C @@ -27712,15 +27669,63 @@ 385: ++ OBJCOPY=objcopy 385: ++ STRIP=strip 385: ++ QEMU= +376: mold: warning: undefined symbol: foo +384: +++ uname +384: ++ '[' Linux = FreeBSD ']' +384: ++ trap 'on_error $LINENO' ERR +384: ++ trap on_exit EXIT +384: ++ echo -n 'Testing weak-undef5 ... ' +384: Testing weak-undef5 ... ++ set -o pipefail +384: ++ set -x +376: + grep 'undefined symbol:.*foo' +376: + not cc -B. -o out/test/x86_64/warn-unresolved-symbols/exe out/test/x86_64/warn-unresolved-symbols/a.o -Wl,-warn-unresolved-symbols -Wl,--error-unresolved-symbols 385: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/whole-archive.sh .sh 385: ++ testname=whole-archive 385: ++ t=out/test/x86_64/whole-archive 385: ++ mkdir -p out/test/x86_64/whole-archive +384: + cat +374: ++ grep 'undefined symbol:.* foo$' out/test/x86_64/warn-once/log +370: + grep 'mold .*compatible with GNU ld' +380: + cc -xc -c -o out/test/x86_64/weak-undef-dso/c.o - +378: + cc -B. -o out/test/x86_64/weak-export-dso2/d.so out/test/x86_64/weak-export-dso2/c.o out/test/x86_64/weak-export-dso2/b.so -shared +385: ++ case $MACHINE in +385: ++ tlsdesc_opt=-mtls-dialect=gnu2 +374: ++ wc -l +374: + '[' 1 = 1 ']' +374: + on_exit +374: + echo OK +374: OK +374: + exit 0 +385: +++ uname +385: ++ '[' Linux = FreeBSD ']' +385: ++ trap 'on_error $LINENO' ERR +385: ++ trap on_exit EXIT +385: ++ echo -n 'Testing whole-archive ... ' +385: Testing whole-archive ... ++ set -o pipefail +385: ++ set -x +380: + cat +384: + cc -c -o out/test/x86_64/weak-undef5/a.o -fPIC -xc - +370: + ./mold -v +374/402 Test #374: x86_64-warn-once ...................................... Passed 0.27 sec +test 386 + Start 386: x86_64-wrap-lto + +386: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/wrap-lto.sh" +386: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +386: Environment variables: +386: MACHINE=x86_64 +386: CPU= +386: Test timeout computed to be: 1500 +370: mold 2.37.1 (compatible with GNU ld) +370: + ./mold --version +385: + cat +385: + cc -o out/test/x86_64/whole-archive/a.o -c -x assembler - +370: + grep 'mold .*compatible with GNU ld' +383: + cc -c -o out/test/x86_64/weak-undef4/b.o -xc - 386: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/wrap-lto.sh 386: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 386: ++ export LC_ALL=C 386: ++ LC_ALL=C -387: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/wrap.sh 386: ++ '[' -z x86_64 ']' 386: ++ '[' -z '' ']' 386: ++ TESTDIR=out/test/x86_64 @@ -27732,8 +27737,78 @@ 386: ++ OBJCOPY=objcopy 386: ++ STRIP=strip 386: ++ QEMU= -385: ++ case $MACHINE in -385: ++ tlsdesc_opt=-mtls-dialect=gnu2 +380: + cc -B. -o out/test/x86_64/weak-undef-dso/exe1 out/test/x86_64/weak-undef-dso/c.o out/test/x86_64/weak-undef-dso/b.so +378: + grep 'WEAK DEFAULT .* UND foo' +370: mold 2.37.1 (compatible with GNU ld) +383: + cat +378: + readelf -W --dyn-syms out/test/x86_64/weak-export-dso2/d.so +376: mold: error: undefined symbol: foo +371: + grep '^1 2 3 3 4$' +371: + out/test/x86_64/versioned-undef/exe +371: 1 2 3 3 4 +371: + on_exit +371: + echo OK +371: OK +371: + exit 0 +376: + on_exit +376: + echo OK +376: OK +376: + exit 0 +375/402 Test #371: x86_64-versioned-undef ................................ Passed 0.33 sec +376/402 Test #376: x86_64-warn-unresolved-symbols ........................ Passed 0.28 sec +test 387 + Start 387: x86_64-wrap + +387: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/wrap.sh" +387: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +387: Environment variables: +387: MACHINE=x86_64 +387: CPU= +387: Test timeout computed to be: 1500 +test 388 + Start 388: x86_64-z-cet-report + +388: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/z-cet-report.sh" +388: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +388: Environment variables: +388: MACHINE=x86_64 +388: CPU= +388: Test timeout computed to be: 1500 +384: + cc -c -o out/test/x86_64/weak-undef5/b.o -fPIC -xc - +384: + cat +378: 4: 0000000000000000 0 FUNC WEAK DEFAULT UND foo +378: + on_exit +378: + echo OK +378: OK +378: + exit 0 +385: + cc -o out/test/x86_64/whole-archive/b.o -c -xc - +385: + echo 'int fn1() { return 42; }' +370: + grep 'mold .*compatible with GNU ld' +370: + ./mold -V +370: mold 2.37.1 (compatible with GNU ld) +386: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/wrap-lto.sh .sh +386: ++ testname=wrap-lto +386: ++ t=out/test/x86_64/wrap-lto +386: ++ mkdir -p out/test/x86_64/wrap-lto +386: ++ case $MACHINE in +386: ++ tlsdesc_opt=-mtls-dialect=gnu2 +382: + cc -c -o out/test/x86_64/weak-undef2/b.o -xc - +382: + cat +381: + cat +381: + cc -c -o out/test/x86_64/weak-undef/b.o -fno-PIC -xc - +377/402 Test #378: x86_64-weak-export-dso2 ............................... Passed 0.28 sec +test 389 + Start 389: x86_64-z-defs + +389: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/z-defs.sh" +389: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +389: Environment variables: +389: MACHINE=x86_64 +389: CPU= +389: Test timeout computed to be: 1500 +383: + cc -fcommon -xc -c -o out/test/x86_64/weak-undef4/c.o - +383: + cat +387: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/wrap.sh 387: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 387: ++ export LC_ALL=C 387: ++ LC_ALL=C @@ -27748,49 +27823,7 @@ 387: ++ OBJCOPY=objcopy 387: ++ STRIP=strip 387: ++ QEMU= -386: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/wrap-lto.sh .sh -387: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/wrap.sh .sh -385: +++ uname -387: ++ testname=wrap -387: ++ t=out/test/x86_64/wrap -387: ++ mkdir -p out/test/x86_64/wrap -385: ++ '[' Linux = FreeBSD ']' -385: ++ trap 'on_error $LINENO' ERR -385: ++ trap on_exit EXIT -385: ++ echo -n 'Testing whole-archive ... ' -385: Testing whole-archive ... ++ set -o pipefail -385: ++ set -x -386: ++ testname=wrap-lto -386: ++ t=out/test/x86_64/wrap-lto -386: ++ mkdir -p out/test/x86_64/wrap-lto -385: + cc -o out/test/x86_64/whole-archive/a.o -c -x assembler - -387: ++ case $MACHINE in -387: ++ tlsdesc_opt=-mtls-dialect=gnu2 -387: +++ uname -377: + readelf --dyn-syms out/test/x86_64/weak-export-dso/b.so -387: ++ '[' Linux = FreeBSD ']' -387: ++ trap 'on_error $LINENO' ERR -387: ++ trap on_exit EXIT -387: ++ echo -n 'Testing wrap ... ' -387: Testing wrap ... ++ set -o pipefail -387: ++ set -x -387: + cat -385: + cat -385: + echo 'int fn1() { return 42; }' -385: + cc -o out/test/x86_64/whole-archive/b.o -c -xc - -387: + cc -fPIC -shared -o out/test/x86_64/wrap/a.so -xc - -376: mold: warning: undefined symbol: foo -377: + grep 'WEAK DEFAULT UND foo' -377: 4: 0000000000000000 0 NOTYPE WEAK DEFAULT UND foo -377: + readelf --dyn-syms out/test/x86_64/weak-export-dso/c.so -386: ++ case $MACHINE in -386: ++ tlsdesc_opt=-mtls-dialect=gnu2 -377: + grep 'WEAK DEFAULT UND foo' -376: + not cc -B. -o out/test/x86_64/warn-unresolved-symbols/exe out/test/x86_64/warn-unresolved-symbols/a.o -Wl,-warn-unresolved-symbols -Wl,--error-unresolved-symbols -376: + grep 'undefined symbol:.*foo' 386: +++ uname -370: mold 2.37.1 (compatible with GNU ld) -377: 4: 0000000000000000 0 NOTYPE WEAK DEFAULT UND foo 386: ++ '[' Linux = FreeBSD ']' 386: ++ trap 'on_error $LINENO' ERR 386: ++ trap on_exit EXIT @@ -27798,42 +27831,8 @@ 386: Testing wrap-lto ... ++ set -o pipefail 386: ++ set -x 386: + test_cflags -flto -386: + echo 'int main() {}' -377: + on_exit -377: + echo OK -377: OK -377: + exit 0 -370: + grep 'Hello world' -370: + out/test/x86_64/version/exe2 -376/402 Test #377: x86_64-weak-export-dso ................................ Passed 0.48 sec -386: + cc -B. -flto -o /dev/null -xc - -test 388 - Start 388: x86_64-z-cet-report - -388: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/z-cet-report.sh" -388: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -388: Environment variables: -388: MACHINE=x86_64 -388: CPU= -388: Test timeout computed to be: 1500 -370: Hello world -370: + not ./mold --v -370: + grep 'unknown command line option:' -382: mold: error: undefined symbol: foo -382: + on_exit -382: + echo OK -382: OK -382: + exit 0 -377/402 Test #382: x86_64-weak-undef2 .................................... Passed 0.42 sec -test 389 - Start 389: x86_64-z-defs - -389: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/z-defs.sh" -389: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -389: Environment variables: -389: MACHINE=x86_64 -389: CPU= -389: Test timeout computed to be: 1500 +380: + grep bar=-1 +387: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/wrap.sh .sh 388: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-cet-report.sh 388: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 388: ++ export LC_ALL=C @@ -27849,30 +27848,23 @@ 388: ++ OBJCOPY=objcopy 388: ++ STRIP=strip 388: ++ QEMU= +385: + echo 'int fn2() { return 42; }' +370: + grep elf_x86_64 +370: + ./mold -V +387: ++ testname=wrap +387: ++ t=out/test/x86_64/wrap +387: ++ mkdir -p out/test/x86_64/wrap 388: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/z-cet-report.sh .sh -381: + cc -B. -o out/test/x86_64/weak-undef/exe1 out/test/x86_64/weak-undef/a.o -pie -370: mold: fatal: unknown command line option: --v -370: + on_exit -370: + echo OK -370: OK -370: + exit 0 -378/402 Test #370: x86_64-version ........................................ Passed 0.63 sec -test 390 - Start 390: x86_64-z-dynamic-undefined-weak-exe - -390: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/z-dynamic-undefined-weak-exe.sh" -390: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -390: Environment variables: -390: MACHINE=x86_64 -390: CPU= -390: Test timeout computed to be: 1500 388: ++ testname=z-cet-report 388: ++ t=out/test/x86_64/z-cet-report 388: ++ mkdir -p out/test/x86_64/z-cet-report -388: ++ case $MACHINE in -388: ++ tlsdesc_opt=-mtls-dialect=gnu2 -388: +++ uname +370: elf_x86_64 +377: + readelf --dyn-syms out/test/x86_64/weak-export-dso/b.so +383: + ar rcs out/test/x86_64/weak-undef4/d.a out/test/x86_64/weak-undef4/c.o +385: + cc -o out/test/x86_64/whole-archive/c.o -c -xc - +380: + out/test/x86_64/weak-undef-dso/exe1 389: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-defs.sh +380: bar=-1 389: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 389: ++ export LC_ALL=C 389: ++ LC_ALL=C @@ -27887,7 +27879,15 @@ 389: ++ OBJCOPY=objcopy 389: ++ STRIP=strip 389: ++ QEMU= -389: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/z-defs.sh .sh +388: ++ case $MACHINE in +388: ++ tlsdesc_opt=-mtls-dialect=gnu2 +370: + grep elf_i386 +382: + grep 'undefined symbol: foo' +382: + not cc -B. -o out/test/x86_64/weak-undef2/exe out/test/x86_64/weak-undef2/a.o out/test/x86_64/weak-undef2/b.o +380: + cc -xc -c -o out/test/x86_64/weak-undef-dso/d.o - +388: +++ uname +386: + echo 'int main() {}' +386: + cc -B. -flto -o /dev/null -xc - 388: ++ '[' Linux = FreeBSD ']' 388: ++ trap 'on_error $LINENO' ERR 388: ++ trap on_exit EXIT @@ -27895,60 +27895,67 @@ 388: Testing z-cet-report ... ++ set -o pipefail 388: ++ set -x 388: + cat -390: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-dynamic-undefined-weak-exe.sh 388: + cc -o out/test/x86_64/z-cet-report/a.o -c -x assembler - +389: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/z-defs.sh .sh 389: ++ testname=z-defs 389: ++ t=out/test/x86_64/z-defs 389: ++ mkdir -p out/test/x86_64/z-defs -390: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc -390: ++ export LC_ALL=C -390: ++ LC_ALL=C -390: ++ '[' -z x86_64 ']' -390: ++ '[' -z '' ']' -390: ++ TESTDIR=out/test/x86_64 -390: ++ CC=cc -390: ++ CXX=c++ -390: ++ GCC=gcc -390: ++ GXX=g++ -390: ++ OBJDUMP=objdump -390: ++ OBJCOPY=objcopy -390: ++ STRIP=strip -390: ++ QEMU= -390: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/z-dynamic-undefined-weak-exe.sh .sh +377: + grep 'WEAK DEFAULT UND foo' +377: 4: 0000000000000000 0 NOTYPE WEAK DEFAULT UND foo 389: ++ case $MACHINE in 389: ++ tlsdesc_opt=-mtls-dialect=gnu2 389: +++ uname -390: ++ testname=z-dynamic-undefined-weak-exe -390: ++ t=out/test/x86_64/z-dynamic-undefined-weak-exe -390: ++ mkdir -p out/test/x86_64/z-dynamic-undefined-weak-exe 389: ++ '[' Linux = FreeBSD ']' 389: ++ trap 'on_error $LINENO' ERR 389: ++ trap on_exit EXIT 389: ++ echo -n 'Testing z-defs ... ' 389: Testing z-defs ... ++ set -o pipefail 389: ++ set -x -389: + cat 389: + cc -fPIC -c -o out/test/x86_64/z-defs/a.o -xc - -390: ++ case $MACHINE in -390: ++ tlsdesc_opt=-mtls-dialect=gnu2 -390: +++ uname +387: ++ case $MACHINE in +387: ++ tlsdesc_opt=-mtls-dialect=gnu2 +383: + cc -B. -o out/test/x86_64/weak-undef4/exe1 out/test/x86_64/weak-undef4/a.o out/test/x86_64/weak-undef4/d.a +380: + cat +384: + cc -B. -o out/test/x86_64/weak-undef5/libfoobar.so out/test/x86_64/weak-undef5/b.o -shared +370: + ./mold -V +389: + cat +381: + cat +370: elf_i386 +387: +++ uname +377: + readelf --dyn-syms out/test/x86_64/weak-export-dso/c.so 388: + cc -B. -o out/test/x86_64/z-cet-report/exe out/test/x86_64/z-cet-report/a.o -390: ++ '[' Linux = FreeBSD ']' -390: ++ trap 'on_error $LINENO' ERR -390: ++ trap on_exit EXIT -390: ++ echo -n 'Testing z-dynamic-undefined-weak-exe ... ' -390: Testing z-dynamic-undefined-weak-exe ... ++ set -o pipefail -390: ++ set -x -390: + cat -380: + cc -B. -o out/test/x86_64/weak-undef-dso/exe1 out/test/x86_64/weak-undef-dso/c.o out/test/x86_64/weak-undef-dso/b.so -390: + cc -o out/test/x86_64/z-dynamic-undefined-weak-exe/a.o -c -xc - -fPIC -378: + cc -B. -o out/test/x86_64/weak-export-dso2/d.so out/test/x86_64/weak-export-dso2/c.o out/test/x86_64/weak-export-dso2/b.so -shared -376: mold: error: undefined symbol: foo -376: + on_exit -376: + echo OK -376: OK -376: + exit 0 -379/402 Test #376: x86_64-warn-unresolved-symbols ........................ Passed 0.55 sec +387: ++ '[' Linux = FreeBSD ']' +387: ++ trap 'on_error $LINENO' ERR +387: ++ trap on_exit EXIT +387: ++ echo -n 'Testing wrap ... ' +387: Testing wrap ... ++ set -o pipefail +387: ++ set -x +381: + cc -fcommon -xc -c -o out/test/x86_64/weak-undef/c.o - +382: mold: error: undefined symbol: foo +382: + on_exit +382: + echo OK +382: OK +382: + exit 0 +378/402 Test #382: x86_64-weak-undef2 .................................... Passed 0.17 sec +380: + cc -B. -o out/test/x86_64/weak-undef-dso/exe2 out/test/x86_64/weak-undef-dso/d.o out/test/x86_64/weak-undef-dso/b.so +test 390 + Start 390: x86_64-z-dynamic-undefined-weak-exe + +390: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/z-dynamic-undefined-weak-exe.sh" +390: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +390: Environment variables: +390: MACHINE=x86_64 +390: CPU= +390: Test timeout computed to be: 1500 +370: + cc -c -xc -o out/test/x86_64/version/a.o - +370: + cat +377: + grep 'WEAK DEFAULT UND foo' +377: 4: 0000000000000000 0 NOTYPE WEAK DEFAULT UND foo +377: + on_exit +377: + echo OK +377: OK +377: + exit 0 +379/402 Test #377: x86_64-weak-export-dso ................................ Passed 0.33 sec test 391 Start 391: x86_64-z-dynamic-undefined-weak @@ -27958,11 +27965,29 @@ 391: MACHINE=x86_64 391: CPU= 391: Test timeout computed to be: 1500 -383: + cat -383: + cc -c -o out/test/x86_64/weak-undef4/b.o -xc - -385: + echo 'int fn2() { return 42; }' +384: + cc -B. -o out/test/x86_64/weak-undef5/exe out/test/x86_64/weak-undef5/a.o -Wl,--as-needed -Lout/test/x86_64/weak-undef5 -lfoobar -Wl,-rpath,out/test/x86_64/weak-undef5 +387: + cc -fPIC -shared -o out/test/x86_64/wrap/a.so -xc - +387: + cat +390: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-dynamic-undefined-weak-exe.sh +390: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc +390: ++ export LC_ALL=C +390: ++ LC_ALL=C +390: ++ '[' -z x86_64 ']' +390: ++ '[' -z '' ']' +390: ++ TESTDIR=out/test/x86_64 +390: ++ CC=cc +390: ++ CXX=c++ +390: ++ GCC=gcc +390: ++ GXX=g++ +390: ++ OBJDUMP=objdump +390: ++ OBJCOPY=objcopy +390: ++ STRIP=strip +390: ++ QEMU= +390: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/z-dynamic-undefined-weak-exe.sh .sh +390: ++ testname=z-dynamic-undefined-weak-exe +390: ++ t=out/test/x86_64/z-dynamic-undefined-weak-exe +390: ++ mkdir -p out/test/x86_64/z-dynamic-undefined-weak-exe 391: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-dynamic-undefined-weak.sh -385: + cc -o out/test/x86_64/whole-archive/c.o -c -xc - 391: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 391: ++ export LC_ALL=C 391: ++ LC_ALL=C @@ -27977,45 +28002,35 @@ 391: ++ OBJCOPY=objcopy 391: ++ STRIP=strip 391: ++ QEMU= +390: ++ case $MACHINE in +390: ++ tlsdesc_opt=-mtls-dialect=gnu2 +390: +++ uname +383: + cc -B. -o out/test/x86_64/weak-undef4/exe2 out/test/x86_64/weak-undef4/b.o out/test/x86_64/weak-undef4/d.a +390: ++ '[' Linux = FreeBSD ']' +390: ++ trap 'on_error $LINENO' ERR +390: ++ trap on_exit EXIT +390: ++ echo -n 'Testing z-dynamic-undefined-weak-exe ... ' +390: Testing z-dynamic-undefined-weak-exe ... ++ set -o pipefail +390: ++ set -x 391: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/z-dynamic-undefined-weak.sh .sh -384: + cat -384: + cc -c -o out/test/x86_64/weak-undef5/b.o -fPIC -xc - +385: + rm -f out/test/x86_64/whole-archive/d.a +380: + out/test/x86_64/weak-undef-dso/exe2 391: ++ testname=z-dynamic-undefined-weak 391: ++ t=out/test/x86_64/z-dynamic-undefined-weak 391: ++ mkdir -p out/test/x86_64/z-dynamic-undefined-weak -391: ++ case $MACHINE in -391: ++ tlsdesc_opt=-mtls-dialect=gnu2 -391: +++ uname -381: + cc -B. -o out/test/x86_64/weak-undef/exe2 out/test/x86_64/weak-undef/b.o -no-pie -391: ++ '[' Linux = FreeBSD ']' -391: ++ trap 'on_error $LINENO' ERR -391: ++ trap on_exit EXIT -391: ++ echo -n 'Testing z-dynamic-undefined-weak ... ' -391: Testing z-dynamic-undefined-weak ... ++ set -o pipefail -391: ++ set -x -391: + cat -391: + cc -o out/test/x86_64/z-dynamic-undefined-weak/a.o -c -xc - -fPIC +390: + cat +380: + grep bar=5 +390: + cc -o out/test/x86_64/z-dynamic-undefined-weak-exe/a.o -c -xc - -fPIC +385: + ar cr out/test/x86_64/whole-archive/d.a out/test/x86_64/whole-archive/b.o out/test/x86_64/whole-archive/c.o 389: + cc -B. -shared -o out/test/x86_64/z-defs/b.so out/test/x86_64/z-defs/a.o -388: + cc -B. -o out/test/x86_64/z-cet-report/exe out/test/x86_64/z-cet-report/a.o -Wl,-z,cet-report=warning -387: + cat -387: + cc -c -o out/test/x86_64/wrap/b.o -xc - -390: + cc -B. -o out/test/x86_64/z-dynamic-undefined-weak-exe/exe1 out/test/x86_64/z-dynamic-undefined-weak-exe/a.o -pie -378: + readelf -W --dyn-syms out/test/x86_64/weak-export-dso2/d.so -381: + cc -B. -o out/test/x86_64/weak-undef/exe3 out/test/x86_64/weak-undef/a.o out/test/x86_64/weak-undef/c.o -pie -389: + cc -B. -shared -o out/test/x86_64/z-defs/b.so out/test/x86_64/z-defs/a.o -Wl,-z,undefs -378: + grep 'WEAK DEFAULT .* UND foo' -383: + cat -384: + cc -B. -o out/test/x86_64/weak-undef5/libfoobar.so out/test/x86_64/weak-undef5/b.o -shared -380: + out/test/x86_64/weak-undef-dso/exe1 -378: 4: 0000000000000000 0 FUNC WEAK DEFAULT UND foo -378: + on_exit -378: + echo OK -378: OK -378: + exit 0 -380/402 Test #378: x86_64-weak-export-dso2 ............................... Passed 0.61 sec -383: + cc -fcommon -xc -c -o out/test/x86_64/weak-undef4/c.o - -385: + rm -f out/test/x86_64/whole-archive/d.a -380: + grep bar=-1 +381: + cc -B. -o out/test/x86_64/weak-undef/exe1 out/test/x86_64/weak-undef/a.o -pie +370: + rm -f out/test/x86_64/version/exe +380: bar=5 +380: + on_exit +380: + echo OK +380: OK +380: + exit 0 +380/402 Test #380: x86_64-weak-undef-dso ................................. Passed 0.31 sec test 392 Start 392: x86_64-z-max-page-size @@ -28025,15 +28040,24 @@ 392: MACHINE=x86_64 392: CPU= 392: Test timeout computed to be: 1500 -385: + ar cr out/test/x86_64/whole-archive/d.a out/test/x86_64/whole-archive/b.o out/test/x86_64/whole-archive/c.o -380: bar=-1 -380: + cat -380: + cc -xc -c -o out/test/x86_64/weak-undef-dso/d.o - -391: + cc -B. -shared -o out/test/x86_64/z-dynamic-undefined-weak/b.so out/test/x86_64/z-dynamic-undefined-weak/a.o +391: ++ case $MACHINE in +391: ++ tlsdesc_opt=-mtls-dialect=gnu2 +385: + cc -B. -nostdlib -o out/test/x86_64/whole-archive/exe out/test/x86_64/whole-archive/a.o out/test/x86_64/whole-archive/d.a +383: + grep '^2$' +383: + out/test/x86_64/weak-undef4/exe1 +383: 2 +391: +++ uname 392: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-max-page-size.sh 392: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 392: ++ export LC_ALL=C 392: ++ LC_ALL=C +391: ++ '[' Linux = FreeBSD ']' +391: ++ trap 'on_error $LINENO' ERR +391: ++ trap on_exit EXIT +391: ++ echo -n 'Testing z-dynamic-undefined-weak ... ' +391: Testing z-dynamic-undefined-weak ... ++ set -o pipefail +391: ++ set -x +391: + cc -o out/test/x86_64/z-dynamic-undefined-weak/a.o -c -xc - -fPIC 392: ++ '[' -z x86_64 ']' 392: ++ '[' -z '' ']' 392: ++ TESTDIR=out/test/x86_64 @@ -28048,61 +28072,28 @@ 392: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/z-max-page-size.sh .sh 392: ++ testname=z-max-page-size 392: ++ t=out/test/x86_64/z-max-page-size -385: + cc -B. -nostdlib -o out/test/x86_64/whole-archive/exe out/test/x86_64/whole-archive/a.o out/test/x86_64/whole-archive/d.a 392: ++ mkdir -p out/test/x86_64/z-max-page-size 392: ++ case $MACHINE in 392: ++ tlsdesc_opt=-mtls-dialect=gnu2 392: +++ uname -389: + not cc -B. -shared -o out/test/x86_64/z-defs/b.so out/test/x86_64/z-defs/a.o -Wl,-z,defs -389: + grep 'undefined symbol:.* foo' -390: + readelf -W --dyn-syms out/test/x86_64/z-dynamic-undefined-weak-exe/exe1 -390: + not grep ' fn$' -390: + grep ' fn$' 392: ++ '[' Linux = FreeBSD ']' -383: + ar rcs out/test/x86_64/weak-undef4/d.a out/test/x86_64/weak-undef4/c.o 392: ++ trap 'on_error $LINENO' ERR 392: ++ trap on_exit EXIT 392: ++ echo -n 'Testing z-max-page-size ... ' 392: Testing z-max-page-size ... ++ set -o pipefail 392: ++ set -x -392: + cc -o out/test/x86_64/z-max-page-size/a.o -c -xc - -388: + grep 'a.o: -cet-report=warning: missing GNU_PROPERTY_X86_FEATURE_1_IBT' out/test/x86_64/z-cet-report/log -390: + return 0 392: + cat -390: + cc -B. -o out/test/x86_64/z-dynamic-undefined-weak-exe/exe2 out/test/x86_64/z-dynamic-undefined-weak-exe/a.o -pie -Wl,-z,dynamic-undefined-weak -388: mold: warning: out/test/x86_64/z-cet-report/a.o: -cet-report=warning: missing GNU_PROPERTY_X86_FEATURE_1_IBT -387: + cc -c -o out/test/x86_64/wrap/c.o -xc - -388: + grep 'a.o: -cet-report=warning: missing GNU_PROPERTY_X86_FEATURE_1_SHSTK' out/test/x86_64/z-cet-report/log -388: mold: warning: out/test/x86_64/z-cet-report/a.o: -cet-report=warning: missing GNU_PROPERTY_X86_FEATURE_1_SHSTK -387: + cat -388: + not cc -B. -o out/test/x86_64/z-cet-report/exe out/test/x86_64/z-cet-report/a.o -Wl,-z,cet-report=error -383: + cc -B. -o out/test/x86_64/weak-undef4/exe1 out/test/x86_64/weak-undef4/a.o out/test/x86_64/weak-undef4/d.a -385: + readelf --symbols out/test/x86_64/whole-archive/exe -384: + cc -B. -o out/test/x86_64/weak-undef5/exe out/test/x86_64/weak-undef5/a.o -Wl,--as-needed -Lout/test/x86_64/weak-undef5 -lfoobar -Wl,-rpath,out/test/x86_64/weak-undef5 -391: + cc -B. -shared -o out/test/x86_64/z-dynamic-undefined-weak/c.so out/test/x86_64/z-dynamic-undefined-weak/a.o -Wl,-z,dynamic-undefined-weak -385: + not grep fn1 out/test/x86_64/whole-archive/log -385: + grep fn1 out/test/x86_64/whole-archive/log -385: + return 0 -385: + not grep fn2 out/test/x86_64/whole-archive/log -385: + grep fn2 out/test/x86_64/whole-archive/log -385: + return 0 -385: + cc -B. -nostdlib -o out/test/x86_64/whole-archive/exe out/test/x86_64/whole-archive/a.o -Wl,--whole-archive out/test/x86_64/whole-archive/d.a -380: + cc -B. -o out/test/x86_64/weak-undef-dso/exe2 out/test/x86_64/weak-undef-dso/d.o out/test/x86_64/weak-undef-dso/b.so -381: + cc -B. -o out/test/x86_64/weak-undef/exe4 out/test/x86_64/weak-undef/b.o out/test/x86_64/weak-undef/c.o -no-pie -389: mold: error: undefined symbol: foo -387: + cc -B. -o out/test/x86_64/wrap/exe out/test/x86_64/wrap/a.so out/test/x86_64/wrap/b.o -389: + not cc -B. -shared -o out/test/x86_64/z-defs/b.so out/test/x86_64/z-defs/a.o -Wl,-no-undefined -389: + grep 'undefined symbol:.* foo' -392: + cc -B. -o out/test/x86_64/z-max-page-size/exe1 out/test/x86_64/z-max-page-size/a.o -Wl,-z,max-page-size=65536 -Wl,-z,separate-loadable-segments -388: + grep 'a.o: -cet-report=error: missing GNU_PROPERTY_X86_FEATURE_1_IBT' out/test/x86_64/z-cet-report/log -388: mold: error: out/test/x86_64/z-cet-report/a.o: -cet-report=error: missing GNU_PROPERTY_X86_FEATURE_1_IBT -388: + grep 'a.o: -cet-report=error: missing GNU_PROPERTY_X86_FEATURE_1_SHSTK' out/test/x86_64/z-cet-report/log -388: mold: error: out/test/x86_64/z-cet-report/a.o: -cet-report=error: missing GNU_PROPERTY_X86_FEATURE_1_SHSTK -388: + on_exit -388: + echo OK -388: OK -388: + exit 0 -381/402 Test #388: x86_64-z-cet-report ................................... Passed 0.23 sec +391: + cat +383: + grep '^-1$' +383: + out/test/x86_64/weak-undef4/exe2 +383: -1 +383: + on_exit +383: + echo OK +383: OK +383: + exit 0 +389: + cc -B. -shared -o out/test/x86_64/z-defs/b.so out/test/x86_64/z-defs/a.o -Wl,-z,undefs +370: + cc -B. -Wl,--version -o out/test/x86_64/version/exe1 out/test/x86_64/version/a.o +381/402 Test #383: x86_64-weak-undef4 .................................... Passed 0.23 sec test 393 Start 393: x86_64-z-nodefaultlib @@ -28112,38 +28103,21 @@ 393: MACHINE=x86_64 393: CPU= 393: Test timeout computed to be: 1500 -390: + grep ' fn$' -390: + readelf -W --dyn-syms out/test/x86_64/z-dynamic-undefined-weak-exe/exe2 -380: + out/test/x86_64/weak-undef-dso/exe2 -380: + grep bar=5 -393: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-nodefaultlib.sh -390: 4: 0000000000000000 0 NOTYPE WEAK DEFAULT UND fn +370: + grep mold +385: + readelf --symbols out/test/x86_64/whole-archive/exe +385: + not grep fn1 out/test/x86_64/whole-archive/log +385: + grep fn1 out/test/x86_64/whole-archive/log +392: + cc -o out/test/x86_64/z-max-page-size/a.o -c -xc - +385: + return 0 +385: + not grep fn2 out/test/x86_64/whole-archive/log +385: + grep fn2 out/test/x86_64/whole-archive/log +385: + return 0 +385: + cc -B. -nostdlib -o out/test/x86_64/whole-archive/exe out/test/x86_64/whole-archive/a.o -Wl,--whole-archive out/test/x86_64/whole-archive/d.a 384: + readelf --dynamic out/test/x86_64/weak-undef5/exe -390: + on_exit -390: + echo OK -390: OK -390: + exit 0 -380: bar=5 -382/402 Test #390: x86_64-z-dynamic-undefined-weak-exe ................... Passed 0.23 sec -test 394 - Start 394: x86_64-z-nodump - -394: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/z-nodump.sh" -394: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -394: Environment variables: -394: MACHINE=x86_64 -394: CPU= -394: Test timeout computed to be: 1500 -380: + on_exit -380: + echo OK -380: OK -380: + exit 0 +393: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-nodefaultlib.sh 384: + grep 'NEEDED.*libfoobar' 384: 0x0000000000000001 (NEEDED) Shared library: [libfoobar.so] -384: + grep '^2$' -384: + out/test/x86_64/weak-undef5/exe -383: + cc -B. -o out/test/x86_64/weak-undef4/exe2 out/test/x86_64/weak-undef4/b.o out/test/x86_64/weak-undef4/d.a -391: + cc -B. -shared -o out/test/x86_64/z-dynamic-undefined-weak/d.so out/test/x86_64/z-dynamic-undefined-weak/a.o -Wl,-z,nodynamic-undefined-weak +391: + cc -B. -shared -o out/test/x86_64/z-dynamic-undefined-weak/b.so out/test/x86_64/z-dynamic-undefined-weak/a.o 393: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 393: ++ export LC_ALL=C 393: ++ LC_ALL=C @@ -28158,30 +28132,43 @@ 393: ++ OBJCOPY=objcopy 393: ++ STRIP=strip 393: ++ QEMU= +387: + cc -c -o out/test/x86_64/wrap/b.o -xc - +387: + cat +384: + grep '^2$' +384: + out/test/x86_64/weak-undef5/exe +381: + cc -B. -o out/test/x86_64/weak-undef/exe2 out/test/x86_64/weak-undef/b.o -no-pie 393: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/z-nodefaultlib.sh .sh -385: + readelf --symbols out/test/x86_64/whole-archive/exe -383/402 Test #380: x86_64-weak-undef-dso ................................. Passed 0.68 sec -393: ++ testname=z-nodefaultlib -393: ++ t=out/test/x86_64/z-nodefaultlib -393: ++ mkdir -p out/test/x86_64/z-nodefaultlib -test 395 - Start 395: x86_64-z-now - -395: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/z-now.sh" -395: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -395: Environment variables: -395: MACHINE=x86_64 -395: CPU= -395: Test timeout computed to be: 1500 -393: ++ case $MACHINE in -393: ++ tlsdesc_opt=-mtls-dialect=gnu2 -393: +++ uname 384: 2 384: + on_exit 384: + echo OK 384: OK 384: + exit 0 +390: + cc -B. -o out/test/x86_64/z-dynamic-undefined-weak-exe/exe1 out/test/x86_64/z-dynamic-undefined-weak-exe/a.o -pie +388: + cc -B. -o out/test/x86_64/z-cet-report/exe out/test/x86_64/z-cet-report/a.o -Wl,-z,cet-report=warning +389: + grep 'undefined symbol:.* foo' +382/402 Test #384: x86_64-weak-undef5 .................................... Passed 0.25 sec +389: + not cc -B. -shared -o out/test/x86_64/z-defs/b.so out/test/x86_64/z-defs/a.o -Wl,-z,defs +test 394 + Start 394: x86_64-z-nodump + +394: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/z-nodump.sh" +394: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +394: Environment variables: +394: MACHINE=x86_64 +394: CPU= +394: Test timeout computed to be: 1500 +393: ++ testname=z-nodefaultlib +393: ++ t=out/test/x86_64/z-nodefaultlib +393: ++ mkdir -p out/test/x86_64/z-nodefaultlib +370: mold 2.37.1 (compatible with GNU ld) +370: + not '[' -f out/test/x86_64/version/exe1 ']' +370: + '[' -f out/test/x86_64/version/exe1 ']' +370: + return 0 +392: + cc -B. -o out/test/x86_64/z-max-page-size/exe1 out/test/x86_64/z-max-page-size/a.o -Wl,-z,max-page-size=65536 -Wl,-z,separate-loadable-segments +393: ++ case $MACHINE in +393: ++ tlsdesc_opt=-mtls-dialect=gnu2 394: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-nodump.sh +393: +++ uname 394: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 394: ++ export LC_ALL=C 394: ++ LC_ALL=C @@ -28196,51 +28183,82 @@ 394: ++ OBJCOPY=objcopy 394: ++ STRIP=strip 394: ++ QEMU= -394: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/z-nodump.sh .sh -385: + grep fn1 out/test/x86_64/whole-archive/log -385: 21: 00000000000013a0 11 FUNC LOCAL DEFAULT 8 fn1 -385: + grep fn2 out/test/x86_64/whole-archive/log -385: 23: 00000000000013ab 11 FUNC LOCAL DEFAULT 8 fn2 -389: mold: error: undefined symbol: foo -384/402 Test #384: x86_64-weak-undef5 .................................... Passed 0.30 sec 393: ++ '[' Linux = FreeBSD ']' 393: ++ trap 'on_error $LINENO' ERR 393: ++ trap on_exit EXIT 393: ++ echo -n 'Testing z-nodefaultlib ... ' -394: ++ testname=z-nodump -394: ++ t=out/test/x86_64/z-nodump -394: ++ mkdir -p out/test/x86_64/z-nodump -389: + cc -B. -shared -o out/test/x86_64/z-defs/c.so out/test/x86_64/z-defs/a.o -Wl,-z,defs -Wl,--warn-unresolved-symbols -381: + out/test/x86_64/weak-undef/exe1 -381: + grep '^-1$' -test 396 - Start 396: x86_64-z-origin - -396: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/z-origin.sh" -396: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -396: Environment variables: -396: MACHINE=x86_64 -396: CPU= -396: Test timeout computed to be: 1500 393: Testing z-nodefaultlib ... ++ set -o pipefail 393: ++ set -x 393: + cat +385: + readelf --symbols out/test/x86_64/whole-archive/exe +370: + cc -B. -Wl,-v -o out/test/x86_64/version/exe2 out/test/x86_64/version/a.o +370: + grep mold +385: + grep fn1 out/test/x86_64/whole-archive/log +394: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/z-nodump.sh .sh 393: + cc -o out/test/x86_64/z-nodefaultlib/a.o -c -xc - +394: ++ testname=z-nodump +394: ++ t=out/test/x86_64/z-nodump +394: ++ mkdir -p out/test/x86_64/z-nodump +385: 21: 00000000000013a0 11 FUNC LOCAL DEFAULT 8 fn1 +385: + grep fn2 out/test/x86_64/whole-archive/log 394: ++ case $MACHINE in 394: ++ tlsdesc_opt=-mtls-dialect=gnu2 +385: 23: 00000000000013ab 11 FUNC LOCAL DEFAULT 8 fn2 +385: + cc -B. -nostdlib -o out/test/x86_64/whole-archive/exe out/test/x86_64/whole-archive/a.o -Wl,--whole-archive -Wl,--no-whole-archive out/test/x86_64/whole-archive/d.a +388: + grep 'a.o: -cet-report=warning: missing GNU_PROPERTY_X86_FEATURE_1_IBT' out/test/x86_64/z-cet-report/log 394: +++ uname +387: + cat +391: + cc -B. -shared -o out/test/x86_64/z-dynamic-undefined-weak/c.so out/test/x86_64/z-dynamic-undefined-weak/a.o -Wl,-z,dynamic-undefined-weak 394: ++ '[' Linux = FreeBSD ']' 394: ++ trap 'on_error $LINENO' ERR 394: ++ trap on_exit EXIT 394: ++ echo -n 'Testing z-nodump ... ' 394: Testing z-nodump ... ++ set -o pipefail 394: ++ set -x -394: + cat 394: + cc -c -o out/test/x86_64/z-nodump/a.o -xc - -389: + grep 'undefined symbol:.* foo$' -381: -1 -381: + out/test/x86_64/weak-undef/exe2 -381: + grep '^-1$' +393: + cc -B. -o out/test/x86_64/z-nodefaultlib/exe out/test/x86_64/z-nodefaultlib/a.o -Wl,-z,nodefaultlib +388: mold: warning: out/test/x86_64/z-cet-report/a.o: -cet-report=warning: missing GNU_PROPERTY_X86_FEATURE_1_IBT +388: + grep 'a.o: -cet-report=warning: missing GNU_PROPERTY_X86_FEATURE_1_SHSTK' out/test/x86_64/z-cet-report/log +387: + cc -c -o out/test/x86_64/wrap/c.o -xc - +392: + out/test/x86_64/z-max-page-size/exe1 +392: + grep 'Hello world' +385: + readelf --symbols out/test/x86_64/whole-archive/exe +392: Hello world +388: mold: warning: out/test/x86_64/z-cet-report/a.o: -cet-report=warning: missing GNU_PROPERTY_X86_FEATURE_1_SHSTK +388: + not cc -B. -o out/test/x86_64/z-cet-report/exe out/test/x86_64/z-cet-report/a.o -Wl,-z,cet-report=error +392: + grep 'LOAD.*R 0x10000$' +392: + readelf -W --segments out/test/x86_64/z-max-page-size/exe1 +394: + cat +385: + not grep fn1 out/test/x86_64/whole-archive/log +385: + grep fn1 out/test/x86_64/whole-archive/log +392: LOAD 0x000000 0x0000000000000000 0x0000000000000000 0x00056c 0x00056c R 0x10000 +392: + cc -B. -o out/test/x86_64/z-max-page-size/exe2 out/test/x86_64/z-max-page-size/a.o -Wl,-zmax-page-size=1048576 -Wl,-z,separate-loadable-segments +381: + cc -B. -o out/test/x86_64/weak-undef/exe3 out/test/x86_64/weak-undef/a.o out/test/x86_64/weak-undef/c.o -pie +385: + return 0 +385: + not grep fn2 out/test/x86_64/whole-archive/log +385: + grep fn2 out/test/x86_64/whole-archive/log +385: + return 0 +385: + on_exit +385: + echo OK +385: OK +385: + exit 0 +383/402 Test #385: x86_64-whole-archive .................................. Passed 0.31 sec +test 395 + Start 395: x86_64-z-now + +395: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/z-now.sh" +395: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +395: Environment variables: +395: MACHINE=x86_64 +395: CPU= +395: Test timeout computed to be: 1500 +389: mold: error: undefined symbol: foo +389: + not cc -B. -shared -o out/test/x86_64/z-defs/b.so out/test/x86_64/z-defs/a.o -Wl,-no-undefined +389: + grep 'undefined symbol:.* foo' +370: mold 2.37.1 (compatible with GNU ld) +370: + grep 'Hello world' +370: + out/test/x86_64/version/exe2 +370: Hello world 395: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-now.sh 395: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 395: ++ export LC_ALL=C @@ -28256,25 +28274,60 @@ 395: ++ OBJCOPY=objcopy 395: ++ STRIP=strip 395: ++ QEMU= +370: + not ./mold --v +370: + grep 'unknown command line option:' +393: + readelf --dynamic out/test/x86_64/z-nodefaultlib/exe +390: + not grep ' fn$' +390: + grep ' fn$' 395: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/z-now.sh .sh +392: + out/test/x86_64/z-max-page-size/exe2 395: ++ testname=z-now 395: ++ t=out/test/x86_64/z-now 395: ++ mkdir -p out/test/x86_64/z-now -385: + cc -B. -nostdlib -o out/test/x86_64/whole-archive/exe out/test/x86_64/whole-archive/a.o -Wl,--whole-archive -Wl,--no-whole-archive out/test/x86_64/whole-archive/d.a -386: + cat -386: + cc -fPIC -shared -o out/test/x86_64/wrap-lto/a.so -xc - -387: + out/test/x86_64/wrap/exe -387: + grep '^foo$' -387: foo -381: -1 -387: + cc -B. -o out/test/x86_64/wrap/exe out/test/x86_64/wrap/a.so out/test/x86_64/wrap/b.o -Wl,-wrap,foo -381: + out/test/x86_64/weak-undef/exe3 -381: + grep '^2$' -396: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-origin.sh +391: + cc -B. -shared -o out/test/x86_64/z-dynamic-undefined-weak/d.so out/test/x86_64/z-dynamic-undefined-weak/a.o -Wl,-z,nodynamic-undefined-weak +387: + cc -B. -o out/test/x86_64/wrap/exe out/test/x86_64/wrap/a.so out/test/x86_64/wrap/b.o +370: mold: fatal: unknown command line option: --v +370: + on_exit +370: + echo OK +370: OK +370: + exit 0 +394: + cc -B. -shared -o out/test/x86_64/z-nodump/b.so out/test/x86_64/z-nodump/a.o +384/402 Test #370: x86_64-version ........................................ Passed 0.63 sec +test 396 + Start 396: x86_64-z-origin + +396: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/z-origin.sh" +396: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +396: Environment variables: +396: MACHINE=x86_64 +396: CPU= +396: Test timeout computed to be: 1500 +392: + grep 'Hello world' +392: Hello world +392: + grep 'LOAD.*R 0x100000$' +390: + readelf -W --dyn-syms out/test/x86_64/z-dynamic-undefined-weak-exe/exe1 +390: + return 0 +390: + cc -B. -o out/test/x86_64/z-dynamic-undefined-weak-exe/exe2 out/test/x86_64/z-dynamic-undefined-weak-exe/a.o -pie -Wl,-z,dynamic-undefined-weak +381: + cc -B. -o out/test/x86_64/weak-undef/exe4 out/test/x86_64/weak-undef/b.o out/test/x86_64/weak-undef/c.o -no-pie 395: ++ case $MACHINE in 395: ++ tlsdesc_opt=-mtls-dialect=gnu2 -395: +++ uname -381: 2 +393: + grep 'Flags:.*NODEFLIB' +393: 0x000000006ffffffb (FLAGS_1) Flags: NODEFLIB PIE +393: + on_exit +393: + echo OK +393: OK +393: + exit 0 +385/402 Test #393: x86_64-z-nodefaultlib ................................. Passed 0.17 sec +test 397 + Start 397: x86_64-z-pack-relative-relocs + +397: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/z-pack-relative-relocs.sh" +397: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +397: Environment variables: +397: MACHINE=x86_64 +397: CPU= +397: Test timeout computed to be: 1500 +396: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-origin.sh 396: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 396: ++ export LC_ALL=C 396: ++ LC_ALL=C @@ -28289,35 +28342,10 @@ 396: ++ OBJCOPY=objcopy 396: ++ STRIP=strip 396: ++ QEMU= -381: + out/test/x86_64/weak-undef/exe4 396: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/z-origin.sh .sh -395: ++ '[' Linux = FreeBSD ']' -395: ++ trap 'on_error $LINENO' ERR -395: ++ trap on_exit EXIT -395: ++ echo -n 'Testing z-now ... ' -395: Testing z-now ... ++ set -o pipefail -395: ++ set -x -395: + cc -o out/test/x86_64/z-now/a.o -c -xc - -381: + grep '^2$' -381: 2 -395: + cat -381: + on_exit -381: + echo OK -381: OK -381: + exit 0 396: ++ testname=z-origin 396: ++ t=out/test/x86_64/z-origin 396: ++ mkdir -p out/test/x86_64/z-origin -385/402 Test #381: x86_64-weak-undef ..................................... Passed 0.70 sec -test 397 - Start 397: x86_64-z-pack-relative-relocs - -397: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/z-pack-relative-relocs.sh" -397: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -397: Environment variables: -397: MACHINE=x86_64 -397: CPU= -397: Test timeout computed to be: 1500 396: ++ case $MACHINE in 396: ++ tlsdesc_opt=-mtls-dialect=gnu2 396: +++ uname @@ -28328,8 +28356,20 @@ 396: Testing z-origin ... ++ set -o pipefail 396: ++ set -x 396: + cat -392: + out/test/x86_64/z-max-page-size/exe1 +396: + cc -c -o out/test/x86_64/z-origin/a.o -xc - +392: + readelf -W --segments out/test/x86_64/z-max-page-size/exe2 +395: +++ uname +392: LOAD 0x000000 0x0000000000000000 0x0000000000000000 0x00056c 0x00056c R 0x100000 +392: + cc -B. -o out/test/x86_64/z-max-page-size/exe3 out/test/x86_64/z-max-page-size/a.o -Wl,-zmax-page-size=1048576 +395: ++ '[' Linux = FreeBSD ']' +395: ++ trap 'on_error $LINENO' ERR +395: ++ trap on_exit EXIT +395: ++ echo -n 'Testing z-now ... ' +395: Testing z-now ... ++ set -o pipefail +395: ++ set -x 397: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-pack-relative-relocs.sh +388: + grep 'a.o: -cet-report=error: missing GNU_PROPERTY_X86_FEATURE_1_IBT' out/test/x86_64/z-cet-report/log +395: + cat 397: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 397: ++ export LC_ALL=C 397: ++ LC_ALL=C @@ -28344,60 +28384,61 @@ 397: ++ OBJCOPY=objcopy 397: ++ STRIP=strip 397: ++ QEMU= +395: + cc -o out/test/x86_64/z-now/a.o -c -xc - +396: + cc -B. -o out/test/x86_64/z-origin/exe out/test/x86_64/z-origin/a.o -Wl,-z,origin 397: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/z-pack-relative-relocs.sh .sh -392: + grep 'Hello world' -392: Hello world +388: mold: error: out/test/x86_64/z-cet-report/a.o: -cet-report=error: missing GNU_PROPERTY_X86_FEATURE_1_IBT +388: + grep 'a.o: -cet-report=error: missing GNU_PROPERTY_X86_FEATURE_1_SHSTK' out/test/x86_64/z-cet-report/log +388: mold: error: out/test/x86_64/z-cet-report/a.o: -cet-report=error: missing GNU_PROPERTY_X86_FEATURE_1_SHSTK +388: + on_exit +388: + echo OK +388: OK +388: + exit 0 +389: mold: error: undefined symbol: foo +386/402 Test #388: x86_64-z-cet-report ................................... Passed 0.34 sec +test 398 + Start 398: x86_64-z-rodynamic + +398: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/z-rodynamic.sh" +398: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +398: Environment variables: +398: MACHINE=x86_64 +398: CPU= +398: Test timeout computed to be: 1500 397: ++ testname=z-pack-relative-relocs 397: ++ t=out/test/x86_64/z-pack-relative-relocs 397: ++ mkdir -p out/test/x86_64/z-pack-relative-relocs -391: + cat -391: + cc -o out/test/x86_64/z-dynamic-undefined-weak/e.o -c -xc - -396: + cc -c -o out/test/x86_64/z-origin/a.o -xc - 397: ++ case $MACHINE in 397: ++ tlsdesc_opt=-mtls-dialect=gnu2 -394: + cc -B. -shared -o out/test/x86_64/z-nodump/b.so out/test/x86_64/z-nodump/a.o 397: +++ uname -392: + readelf -W --segments out/test/x86_64/z-max-page-size/exe1 -392: + grep 'LOAD.*R 0x10000$' 397: ++ '[' Linux = FreeBSD ']' 397: ++ trap 'on_error $LINENO' ERR 397: ++ trap on_exit EXIT 397: ++ echo -n 'Testing z-pack-relative-relocs ... ' 397: Testing z-pack-relative-relocs ... ++ set -o pipefail 397: ++ set -x -397: + cat -397: + cc -o out/test/x86_64/z-pack-relative-relocs/a.o -fPIC -c -xc - -383: + out/test/x86_64/weak-undef4/exe1 -383: + grep '^2$' -383: 2 -393: + cc -B. -o out/test/x86_64/z-nodefaultlib/exe out/test/x86_64/z-nodefaultlib/a.o -Wl,-z,nodefaultlib -383: + out/test/x86_64/weak-undef4/exe2 -383: + grep '^-1$' -392: LOAD 0x000000 0x0000000000000000 0x0000000000000000 0x00056c 0x00056c R 0x10000 -389: mold: warning: undefined symbol: foo -392: + cc -B. -o out/test/x86_64/z-max-page-size/exe2 out/test/x86_64/z-max-page-size/a.o -Wl,-zmax-page-size=1048576 -Wl,-z,separate-loadable-segments -389: + on_exit -389: + echo OK -389: OK -389: + exit 0 -386/402 Test #389: x86_64-z-defs ......................................... Passed 0.31 sec -383: -1 -test 398 - Start 398: x86_64-z-rodynamic - -398: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/z-rodynamic.sh" -398: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -398: Environment variables: -398: MACHINE=x86_64 -398: CPU= -398: Test timeout computed to be: 1500 -383: + on_exit -383: + echo OK -383: OK -383: + exit 0 -385: + readelf --symbols out/test/x86_64/whole-archive/exe -387/402 Test #383: x86_64-weak-undef4 .................................... Passed 0.36 sec +389: + grep 'undefined symbol:.* foo$' +389: + cc -B. -shared -o out/test/x86_64/z-defs/c.so out/test/x86_64/z-defs/a.o -Wl,-z,defs -Wl,--warn-unresolved-symbols +394: + readelf --dynamic out/test/x86_64/z-nodump/b.so +394: + not grep -E 'Flags:.*NODUMP' +394: + grep -E 'Flags:.*NODUMP' +391: + cc -o out/test/x86_64/z-dynamic-undefined-weak/e.o -c -xc - +391: + cat +390: + grep ' fn$' +390: + readelf -W --dyn-syms out/test/x86_64/z-dynamic-undefined-weak-exe/exe2 398: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-rodynamic.sh +390: 4: 0000000000000000 0 NOTYPE WEAK DEFAULT UND fn +390: + on_exit +390: + echo OK +390: OK +390: + exit 0 +394: + return 0 +387: + grep '^foo$' +386: + cat +397: + cat +394: + cc -B. -shared -o out/test/x86_64/z-nodump/b.so out/test/x86_64/z-nodump/a.o -Wl,-z,nodump +387/402 Test #390: x86_64-z-dynamic-undefined-weak-exe ................... Passed 0.31 sec +386: + cc -fPIC -shared -o out/test/x86_64/wrap-lto/a.so -xc - 398: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 398: ++ export LC_ALL=C 398: ++ LC_ALL=C @@ -28412,10 +28453,7 @@ 398: ++ OBJCOPY=objcopy 398: ++ STRIP=strip 398: ++ QEMU= -398: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/z-rodynamic.sh .sh -398: ++ testname=z-rodynamic -398: ++ t=out/test/x86_64/z-rodynamic -398: ++ mkdir -p out/test/x86_64/z-rodynamic +397: + cc -o out/test/x86_64/z-pack-relative-relocs/a.o -fPIC -c -xc - test 399 Start 399: x86_64-z-sectionheader @@ -28425,46 +28463,17 @@ 399: MACHINE=x86_64 399: CPU= 399: Test timeout computed to be: 1500 -398: ++ case $MACHINE in -398: ++ tlsdesc_opt=-mtls-dialect=gnu2 -398: +++ uname -398: ++ '[' Linux = FreeBSD ']' -398: ++ trap 'on_error $LINENO' ERR -398: ++ trap on_exit EXIT -398: ++ echo -n 'Testing z-rodynamic ... ' -398: Testing z-rodynamic ... ++ set -o pipefail -398: ++ set -x -398: + cat -385: + not grep fn1 out/test/x86_64/whole-archive/log -385: + grep fn1 out/test/x86_64/whole-archive/log -385: + return 0 -385: + not grep fn2 out/test/x86_64/whole-archive/log -385: + grep fn2 out/test/x86_64/whole-archive/log -395: + cc -B. -o out/test/x86_64/z-now/exe out/test/x86_64/z-now/a.o -Wl,-z,now -396: + cc -B. -o out/test/x86_64/z-origin/exe out/test/x86_64/z-origin/a.o -Wl,-z,origin 387: + out/test/x86_64/wrap/exe -387: + grep '^wrap_foo$' -387: wrap_foo -387: + cc -B. -o out/test/x86_64/wrap/exe out/test/x86_64/wrap/a.so out/test/x86_64/wrap/c.o -Wl,-wrap,foo -391: + cc -B. -o out/test/x86_64/z-dynamic-undefined-weak/exe1 out/test/x86_64/z-dynamic-undefined-weak/e.o out/test/x86_64/z-dynamic-undefined-weak/b.so -398: + cc -o out/test/x86_64/z-rodynamic/a.o -c -xc - -385: + return 0 -397: + cc -o out/test/x86_64/z-pack-relative-relocs/exe1 out/test/x86_64/z-pack-relative-relocs/a.o -pie -Wl,-z,pack-relative-relocs -385: + on_exit -385: + echo OK -385: OK -385: + exit 0 -388/402 Test #385: x86_64-whole-archive .................................. Passed 0.39 sec -test 400 - Start 400: x86_64-z-separate-code - -400: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/z-separate-code.sh" -400: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -400: Environment variables: -400: MACHINE=x86_64 -400: CPU= -400: Test timeout computed to be: 1500 +387: foo +387: + cc -B. -o out/test/x86_64/wrap/exe out/test/x86_64/wrap/a.so out/test/x86_64/wrap/b.o -Wl,-wrap,foo +398: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/z-rodynamic.sh .sh +398: ++ testname=z-rodynamic +398: ++ t=out/test/x86_64/z-rodynamic +398: ++ mkdir -p out/test/x86_64/z-rodynamic +394: + readelf --dynamic out/test/x86_64/z-nodump/b.so +381: + out/test/x86_64/weak-undef/exe1 399: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-sectionheader.sh +395: + cc -B. -o out/test/x86_64/z-now/exe out/test/x86_64/z-now/a.o -Wl,-z,now 399: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 399: ++ export LC_ALL=C 399: ++ LC_ALL=C @@ -28479,25 +28488,47 @@ 399: ++ OBJCOPY=objcopy 399: ++ STRIP=strip 399: ++ QEMU= +394: + grep -E 'Flags:.*NODUMP' +394: 0x000000006ffffffb (FLAGS_1) Flags: NODUMP +394: + on_exit +394: + echo OK +394: OK +394: + exit 0 +381: + grep '^-1$' +381: -1 +388/402 Test #394: x86_64-z-nodump ....................................... Passed 0.23 sec +test 400 + Start 400: x86_64-z-separate-code + +400: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/z-separate-code.sh" +400: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +400: Environment variables: +400: MACHINE=x86_64 +400: CPU= +400: Test timeout computed to be: 1500 +398: ++ case $MACHINE in +398: ++ tlsdesc_opt=-mtls-dialect=gnu2 399: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/z-sectionheader.sh .sh 399: ++ testname=z-sectionheader 399: ++ t=out/test/x86_64/z-sectionheader 399: ++ mkdir -p out/test/x86_64/z-sectionheader +391: + cc -B. -o out/test/x86_64/z-dynamic-undefined-weak/exe1 out/test/x86_64/z-dynamic-undefined-weak/e.o out/test/x86_64/z-dynamic-undefined-weak/b.so +392: + out/test/x86_64/z-max-page-size/exe3 +400: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-separate-code.sh +381: + out/test/x86_64/weak-undef/exe2 +381: + grep '^-1$' +398: +++ uname +398: ++ '[' Linux = FreeBSD ']' +398: ++ trap 'on_error $LINENO' ERR +398: ++ trap on_exit EXIT +398: ++ echo -n 'Testing z-rodynamic ... ' +398: Testing z-rodynamic ... ++ set -o pipefail +398: ++ set -x +381: -1 +392: + grep 'Hello world' +392: Hello world 399: ++ case $MACHINE in 399: ++ tlsdesc_opt=-mtls-dialect=gnu2 -399: +++ uname -400: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-separate-code.sh -399: ++ '[' Linux = FreeBSD ']' -399: ++ trap 'on_error $LINENO' ERR -399: ++ trap on_exit EXIT -399: ++ echo -n 'Testing z-sectionheader ... ' -399: Testing z-sectionheader ... ++ set -o pipefail -399: ++ set -x -399: + cat -399: + cc -o out/test/x86_64/z-sectionheader/a.o -c -xc - -394: + not grep -E 'Flags:.*NODUMP' -394: + grep -E 'Flags:.*NODUMP' -394: + readelf --dynamic out/test/x86_64/z-nodump/b.so 400: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 400: ++ export LC_ALL=C 400: ++ LC_ALL=C @@ -28512,18 +28543,39 @@ 400: ++ OBJCOPY=objcopy 400: ++ STRIP=strip 400: ++ QEMU= +381: + grep '^2$' +381: + out/test/x86_64/weak-undef/exe3 +392: + grep 'LOAD.*R 0x100000$' +399: +++ uname +389: mold: warning: undefined symbol: foo +398: + cc -o out/test/x86_64/z-rodynamic/a.o -c -xc - +398: + cat +399: ++ '[' Linux = FreeBSD ']' +399: ++ trap 'on_error $LINENO' ERR +399: ++ trap on_exit EXIT +399: ++ echo -n 'Testing z-sectionheader ... ' +399: Testing z-sectionheader ... ++ set -o pipefail +399: ++ set -x +389: + on_exit +389: + echo OK +389: OK +389: + exit 0 +389/402 Test #389: x86_64-z-defs ......................................... Passed 0.40 sec 400: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/z-separate-code.sh .sh -395: + out/test/x86_64/z-now/exe -395: + grep 'Hello world' 400: ++ testname=z-separate-code 400: ++ t=out/test/x86_64/z-separate-code 400: ++ mkdir -p out/test/x86_64/z-separate-code -395: Hello world -395: + on_exit -395: + echo OK -395: OK -395: + exit 0 -389/402 Test #395: x86_64-z-now .......................................... Passed 0.14 sec +400: ++ case $MACHINE in +400: ++ tlsdesc_opt=-mtls-dialect=gnu2 +399: + cc -o out/test/x86_64/z-sectionheader/a.o -c -xc - +399: + cat +392: + readelf -W --segments out/test/x86_64/z-max-page-size/exe3 +392: LOAD 0x000000 0x0000000000000000 0x0000000000000000 0x0005a4 0x0005a4 R 0x100000 +392: + on_exit +392: + echo OK +392: OK +392: + exit 0 +381: 2 test 401 Start 401: x86_64-z-stack-size @@ -28533,23 +28585,39 @@ 401: MACHINE=x86_64 401: CPU= 401: Test timeout computed to be: 1500 -394: + return 0 -400: ++ case $MACHINE in -400: ++ tlsdesc_opt=-mtls-dialect=gnu2 +390/402 Test #392: x86_64-z-max-page-size ................................ Passed 0.35 sec 400: +++ uname -394: + cc -B. -shared -o out/test/x86_64/z-nodump/b.so out/test/x86_64/z-nodump/a.o -Wl,-z,nodump 400: ++ '[' Linux = FreeBSD ']' 400: ++ trap 'on_error $LINENO' ERR -401: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-stack-size.sh -392: + grep 'Hello world' 400: ++ trap on_exit EXIT 400: ++ echo -n 'Testing z-separate-code ... ' -392: + out/test/x86_64/z-max-page-size/exe2 400: Testing z-separate-code ... ++ set -o pipefail 400: ++ set -x 400: + is_musl +400: + grep musl +381: + grep '^2$' +test 402 + Start 402: x86_64-z-start-stop-visibility + +402: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/z-start-stop-visibility.sh" +402: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu +402: Environment variables: +402: MACHINE=x86_64 +402: CPU= +402: Test timeout computed to be: 1500 +397: + cc -o out/test/x86_64/z-pack-relative-relocs/exe1 out/test/x86_64/z-pack-relative-relocs/a.o -pie -Wl,-z,pack-relative-relocs 387: + out/test/x86_64/wrap/exe -387: + grep '^foo$' +387: + grep '^wrap_foo$' +387: wrap_foo +387: + cc -B. -o out/test/x86_64/wrap/exe out/test/x86_64/wrap/a.so out/test/x86_64/wrap/c.o -Wl,-wrap,foo +381: + out/test/x86_64/weak-undef/exe4 +381: 2 +381: + on_exit +381: + echo OK +381: OK +381: + exit 0 +398: + cc -B. -o out/test/x86_64/z-rodynamic/exe1 out/test/x86_64/z-rodynamic/a.o +401: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-stack-size.sh 401: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 401: ++ export LC_ALL=C 401: ++ LC_ALL=C @@ -28564,53 +28632,12 @@ 401: ++ OBJCOPY=objcopy 401: ++ STRIP=strip 401: ++ QEMU= -400: + grep musl 401: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/z-stack-size.sh .sh 401: ++ testname=z-stack-size 401: ++ t=out/test/x86_64/z-stack-size 401: ++ mkdir -p out/test/x86_64/z-stack-size -401: ++ case $MACHINE in -401: ++ tlsdesc_opt=-mtls-dialect=gnu2 -400: + cat -400: + cc -o out/test/x86_64/z-separate-code/a.o -c -xc - -387: foo -387: + on_exit -387: + echo OK -387: OK -387: + exit 0 -401: +++ uname -392: Hello world -392: + readelf -W --segments out/test/x86_64/z-max-page-size/exe2 -390/402 Test #387: x86_64-wrap ........................................... Passed 0.44 sec -396: + readelf --dynamic out/test/x86_64/z-origin/exe -392: + grep 'LOAD.*R 0x100000$' -test 402 - Start 402: x86_64-z-start-stop-visibility - -402: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.37.1+dfsg/test/z-start-stop-visibility.sh" -402: Working Directory: /build/reproducible-path/mold-2.37.1+dfsg/obj-x86_64-linux-gnu -402: Environment variables: -402: MACHINE=x86_64 -402: CPU= -402: Test timeout computed to be: 1500 -396: + grep -E '\(FLAGS\)\s+ORIGIN' -392: LOAD 0x000000 0x0000000000000000 0x0000000000000000 0x00056c 0x00056c R 0x100000 -401: ++ '[' Linux = FreeBSD ']' -401: ++ trap 'on_error $LINENO' ERR -401: ++ trap on_exit EXIT -401: ++ echo -n 'Testing z-stack-size ... ' -401: Testing z-stack-size ... ++ set -o pipefail -401: ++ set -x -396: 0x000000000000001e (FLAGS) ORIGIN -401: + cc -o out/test/x86_64/z-stack-size/a.o -c -xc - -401: + cat -392: + cc -B. -o out/test/x86_64/z-max-page-size/exe3 out/test/x86_64/z-max-page-size/a.o -Wl,-zmax-page-size=1048576 +391/402 Test #381: x86_64-weak-undef ..................................... Passed 0.64 sec 402: ++ dirname /build/reproducible-path/mold-2.37.1+dfsg/test/z-start-stop-visibility.sh -393: + readelf --dynamic out/test/x86_64/z-nodefaultlib/exe -396: + readelf --dynamic out/test/x86_64/z-origin/exe -396: + grep -E 'Flags:.*ORIGIN' -398: + cc -B. -o out/test/x86_64/z-rodynamic/exe1 out/test/x86_64/z-rodynamic/a.o -386: + cat 402: + . /build/reproducible-path/mold-2.37.1+dfsg/test/common.inc 402: ++ export LC_ALL=C 402: ++ LC_ALL=C @@ -28618,7 +28645,6 @@ 402: ++ '[' -z '' ']' 402: ++ TESTDIR=out/test/x86_64 402: ++ CC=cc -397: + readelf -WS out/test/x86_64/z-pack-relative-relocs/exe1 402: ++ CXX=c++ 402: ++ GCC=gcc 402: ++ GXX=g++ @@ -28626,34 +28652,10 @@ 402: ++ OBJCOPY=objcopy 402: ++ STRIP=strip 402: ++ QEMU= -386: + cc -c -o out/test/x86_64/wrap-lto/b.o -xc - -flto -391: + grep 1 -391: + out/test/x86_64/z-dynamic-undefined-weak/exe1 402: +++ basename /build/reproducible-path/mold-2.37.1+dfsg/test/z-start-stop-visibility.sh .sh -393: + grep 'Flags:.*NODEFLIB' -396: 0x000000006ffffffb (FLAGS_1) Flags: ORIGIN PIE -397: + grep -F .relr.dyn -396: + on_exit -396: + echo OK -396: OK -396: + exit 0 -393: 0x000000006ffffffb (FLAGS_1) Flags: NODEFLIB PIE -391/402 Test #396: x86_64-z-origin ....................................... Passed 0.15 sec 402: ++ testname=z-start-stop-visibility 402: ++ t=out/test/x86_64/z-start-stop-visibility 402: ++ mkdir -p out/test/x86_64/z-start-stop-visibility -393: + on_exit -393: + echo OK -393: OK -393: + exit 0 -391: 1 -391: + cc -B. -o out/test/x86_64/z-dynamic-undefined-weak/exe2 out/test/x86_64/z-dynamic-undefined-weak/e.o out/test/x86_64/z-dynamic-undefined-weak/c.so -392/402 Test #393: x86_64-z-nodefaultlib ................................. Passed 0.19 sec -397: [11] .relr.dyn RELR 0000000000000600 000600 000018 08 A 0 0 8 -397: + out/test/x86_64/z-pack-relative-relocs/exe1 -397: + grep Hello -397: Hello world -397: + cc -B. -o out/test/x86_64/z-pack-relative-relocs/exe2 out/test/x86_64/z-pack-relative-relocs/a.o -pie -Wl,-z,pack-relative-relocs 402: ++ case $MACHINE in 402: ++ tlsdesc_opt=-mtls-dialect=gnu2 402: +++ uname @@ -28664,108 +28666,142 @@ 402: Testing z-start-stop-visibility ... ++ set -o pipefail 402: ++ set -x 402: + cat +401: ++ case $MACHINE in +401: ++ tlsdesc_opt=-mtls-dialect=gnu2 +400: + cat +401: +++ uname +401: ++ '[' Linux = FreeBSD ']' +401: ++ trap 'on_error $LINENO' ERR +401: ++ trap on_exit EXIT +401: ++ echo -n 'Testing z-stack-size ... ' +401: Testing z-stack-size ... ++ set -o pipefail +401: ++ set -x +395: + grep 'Hello world' +395: + out/test/x86_64/z-now/exe +391: + out/test/x86_64/z-dynamic-undefined-weak/exe1 +400: + cc -o out/test/x86_64/z-separate-code/a.o -c -xc - +391: + grep 1 +391: 1 +391: + cc -B. -o out/test/x86_64/z-dynamic-undefined-weak/exe2 out/test/x86_64/z-dynamic-undefined-weak/e.o out/test/x86_64/z-dynamic-undefined-weak/c.so 402: + cc -o out/test/x86_64/z-start-stop-visibility/a.o -c -xc - -394: + readelf --dynamic out/test/x86_64/z-nodump/b.so -394: + grep -E 'Flags:.*NODUMP' -394: 0x000000006ffffffb (FLAGS_1) Flags: NODUMP +395: Hello world +401: + cc -o out/test/x86_64/z-stack-size/a.o -c -xc - +395: + on_exit +395: + echo OK +395: OK +395: + exit 0 +401: + cat +396: + readelf --dynamic out/test/x86_64/z-origin/exe +392/402 Test #395: x86_64-z-now .......................................... Passed 0.25 sec +396: + grep -E '\(FLAGS\)\s+ORIGIN' +396: 0x000000000000001e (FLAGS) ORIGIN +397: + readelf -WS out/test/x86_64/z-pack-relative-relocs/exe1 +396: + readelf --dynamic out/test/x86_64/z-origin/exe 399: + cc -B. -o out/test/x86_64/z-sectionheader/exe out/test/x86_64/z-sectionheader/a.o -Wl,-z,nosectionheader -394: + on_exit -394: + echo OK -394: OK -394: + exit 0 -393/402 Test #394: x86_64-z-nodump ....................................... Passed 0.20 sec -392: + out/test/x86_64/z-max-page-size/exe3 -400: + cc -B. -o out/test/x86_64/z-separate-code/exe1 out/test/x86_64/z-separate-code/a.o -Wl,-z,separate-loadable-segments +397: + grep -F .relr.dyn +397: [11] .relr.dyn RELR 0000000000000600 000600 000018 08 A 0 0 8 +386: + cc -c -o out/test/x86_64/wrap-lto/b.o -xc - -flto 386: + cat +396: + grep -E 'Flags:.*ORIGIN' +396: 0x000000006ffffffb (FLAGS_1) Flags: ORIGIN PIE +396: + on_exit +396: + echo OK +396: OK +396: + exit 0 +398: + grep '\.dynamic.* WA ' +398: + readelf -WS out/test/x86_64/z-rodynamic/exe1 +393/402 Test #396: x86_64-z-origin ....................................... Passed 0.23 sec +398: [18] .dynamic DYNAMIC 0000000000002698 000698 0001b0 10 WA 7 0 8 +397: + out/test/x86_64/z-pack-relative-relocs/exe1 +397: + grep Hello +398: + cc -B. -o out/test/x86_64/z-rodynamic/exe2 out/test/x86_64/z-rodynamic/a.o -Wl,-z,rodynamic +397: Hello world +397: + cc -B. -o out/test/x86_64/z-pack-relative-relocs/exe2 out/test/x86_64/z-pack-relative-relocs/a.o -pie -Wl,-z,pack-relative-relocs +400: + cc -B. -o out/test/x86_64/z-separate-code/exe1 out/test/x86_64/z-separate-code/a.o -Wl,-z,separate-loadable-segments +402: + cc -B. -o out/test/x86_64/z-start-stop-visibility/exe1 out/test/x86_64/z-start-stop-visibility/a.o 401: + cc -B. -o out/test/x86_64/z-stack-size/exe out/test/x86_64/z-stack-size/a.o -Wl,-z,stack-size=0x900000 -392: + grep 'Hello world' 386: + cc -c -o out/test/x86_64/wrap-lto/c.o -xc - -flto -392: Hello world -392: + grep 'LOAD.*R 0x100000$' -392: + readelf -W --segments out/test/x86_64/z-max-page-size/exe3 +386: + cat +387: + grep '^foo$' +387: + out/test/x86_64/wrap/exe +387: foo +387: + on_exit +387: + echo OK +387: OK +387: + exit 0 391: + out/test/x86_64/z-dynamic-undefined-weak/exe2 391: + grep 1 -392: LOAD 0x000000 0x0000000000000000 0x0000000000000000 0x0005a4 0x0005a4 R 0x100000 -392: + on_exit -392: + echo OK -392: OK -392: + exit 0 -394/402 Test #392: x86_64-z-max-page-size ................................ Passed 0.34 sec -398: + readelf -WS out/test/x86_64/z-rodynamic/exe1 -398: + grep '\.dynamic.* WA ' 391: 1 391: + cc -B. -o out/test/x86_64/z-dynamic-undefined-weak/exe3 out/test/x86_64/z-dynamic-undefined-weak/e.o out/test/x86_64/z-dynamic-undefined-weak/d.so -398: [18] .dynamic DYNAMIC 0000000000002698 000698 0001b0 10 WA 7 0 8 -398: + cc -B. -o out/test/x86_64/z-rodynamic/exe2 out/test/x86_64/z-rodynamic/a.o -Wl,-z,rodynamic +394/402 Test #387: x86_64-wrap ........................................... Passed 0.58 sec +399: + grep 'Hello world' +399: + out/test/x86_64/z-sectionheader/exe 397: + out/test/x86_64/z-pack-relative-relocs/exe2 +399: Hello world +399: + grep -E 'Size of section headers:\s+0 ' 397: + grep Hello -402: + cc -B. -o out/test/x86_64/z-start-stop-visibility/exe1 out/test/x86_64/z-start-stop-visibility/a.o 397: Hello world -386: + cc -B. -o out/test/x86_64/wrap-lto/exe out/test/x86_64/wrap-lto/a.so out/test/x86_64/wrap-lto/b.o -flto 397: + readelf --dynamic out/test/x86_64/z-pack-relative-relocs/exe2 -399: + out/test/x86_64/z-sectionheader/exe -399: + grep 'Hello world' -397: + grep -Ew 'RELR|: 24' out/test/x86_64/z-pack-relative-relocs/log2 -397: 0x0000000000000024 (RELR) 0x560 -397: + grep -Ew 'RELRSZ|: 23' out/test/x86_64/z-pack-relative-relocs/log2 -399: Hello world -397: 0x0000000000000023 (RELRSZ) 32 (bytes) 399: + readelf -h out/test/x86_64/z-sectionheader/exe -397: + grep -Ew 'RELRENT|: 25' out/test/x86_64/z-pack-relative-relocs/log2 -397: 0x0000000000000025 (RELRENT) 8 (bytes) -399: + grep -E 'Size of section headers:\s+0 ' -397: + on_exit -397: + echo OK -397: OK -397: + exit 0 -395/402 Test #397: x86_64-z-pack-relative-relocs ......................... Passed 0.21 sec +386: + cc -B. -o out/test/x86_64/wrap-lto/exe out/test/x86_64/wrap-lto/a.so out/test/x86_64/wrap-lto/b.o -flto 399: Size of section headers: 0 (bytes) 399: + on_exit 399: + echo OK 399: OK 399: + exit 0 -396/402 Test #399: x86_64-z-sectionheader ................................ Passed 0.15 sec -401: + readelf -W --segments out/test/x86_64/z-stack-size/exe -401: + grep 'GNU_STACK .* 0x900000 RW' +397: + grep -Ew 'RELR|: 24' out/test/x86_64/z-pack-relative-relocs/log2 +395/402 Test #399: x86_64-z-sectionheader ................................ Passed 0.23 sec +402: + readelf -W --dyn-syms out/test/x86_64/z-start-stop-visibility/exe1 +397: 0x0000000000000024 (RELR) 0x560 +397: + grep -Ew 'RELRSZ|: 23' out/test/x86_64/z-pack-relative-relocs/log2 400: + out/test/x86_64/z-separate-code/exe1 400: + grep 'Hello world' -401: GNU_STACK 0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x900000 RW 0x1 -401: + on_exit -401: + echo OK +402: + not grep __start_hello out/test/x86_64/z-start-stop-visibility/log1 +402: + grep __start_hello out/test/x86_64/z-start-stop-visibility/log1 400: Hello world -401: OK -401: + exit 0 -400: + cc -B. -o out/test/x86_64/z-separate-code/exe2 out/test/x86_64/z-separate-code/a.o -Wl,-z,separate-code -Wl,-z,norelro -397/402 Test #401: x86_64-z-stack-size ................................... Passed 0.12 sec -391: + out/test/x86_64/z-dynamic-undefined-weak/exe3 -391: + grep 0 -391: 0 -391: + on_exit -391: + echo OK -391: OK -391: + exit 0 -398/402 Test #391: x86_64-z-dynamic-undefined-weak ....................... Passed 0.46 sec +401: + grep 'GNU_STACK .* 0x900000 RW' 398: + readelf -WS out/test/x86_64/z-rodynamic/exe2 -402: + readelf -W --dyn-syms out/test/x86_64/z-start-stop-visibility/exe1 398: + grep '\.dynamic.* A ' +400: + cc -B. -o out/test/x86_64/z-separate-code/exe2 out/test/x86_64/z-separate-code/a.o -Wl,-z,separate-code -Wl,-z,norelro +402: + return 0 +402: + not grep __stop_hello out/test/x86_64/z-start-stop-visibility/log1 +402: + grep __stop_hello out/test/x86_64/z-start-stop-visibility/log1 398: [11] .dynamic DYNAMIC 00000000000004e0 0004e0 0001a0 10 A 7 0 8 +397: 0x0000000000000023 (RELRSZ) 32 (bytes) +397: + grep -Ew 'RELRENT|: 25' out/test/x86_64/z-pack-relative-relocs/log2 +397: 0x0000000000000025 (RELRENT) 8 (bytes) +397: + on_exit +397: + echo OK +397: OK +397: + exit 0 +391: + grep 0 +391: + out/test/x86_64/z-dynamic-undefined-weak/exe3 398: + on_exit 398: + echo OK 398: OK 398: + exit 0 -399/402 Test #398: x86_64-z-rodynamic .................................... Passed 0.21 sec -402: + not grep __start_hello out/test/x86_64/z-start-stop-visibility/log1 -402: + grep __start_hello out/test/x86_64/z-start-stop-visibility/log1 -402: + return 0 -402: + not grep __stop_hello out/test/x86_64/z-start-stop-visibility/log1 -402: + grep __stop_hello out/test/x86_64/z-start-stop-visibility/log1 +396/402 Test #397: x86_64-z-pack-relative-relocs ......................... Passed 0.32 sec +397/402 Test #398: x86_64-z-rodynamic .................................... Passed 0.27 sec +391: 0 +391: + on_exit +391: + echo OK +391: OK +391: + exit 0 +398/402 Test #391: x86_64-z-dynamic-undefined-weak ....................... Passed 0.56 sec +401: + readelf -W --segments out/test/x86_64/z-stack-size/exe 402: + return 0 402: + cc -B. -o out/test/x86_64/z-start-stop-visibility/exe2 out/test/x86_64/z-start-stop-visibility/a.o -Wl,-z,start-stop-visibility=hidden -400: + out/test/x86_64/z-separate-code/exe2 +401: GNU_STACK 0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x900000 RW 0x1 +401: + on_exit +401: + echo OK +401: OK +401: + exit 0 +399/402 Test #401: x86_64-z-stack-size ................................... Passed 0.19 sec 400: + grep 'Hello world' +400: + out/test/x86_64/z-separate-code/exe2 +402: + readelf -W --dyn-syms out/test/x86_64/z-start-stop-visibility/exe2 400: Hello world 400: + cc -B. -o out/test/x86_64/z-separate-code/exe3 out/test/x86_64/z-separate-code/a.o -Wl,-z,noseparate-code -Wl,-z,norelro -402: + readelf -W --dyn-syms out/test/x86_64/z-start-stop-visibility/exe2 402: + not grep __start_hello out/test/x86_64/z-start-stop-visibility/log2 402: + grep __start_hello out/test/x86_64/z-start-stop-visibility/log2 402: + return 0 @@ -28773,15 +28809,15 @@ 402: + grep __stop_hello out/test/x86_64/z-start-stop-visibility/log2 402: + return 0 402: + cc -B. -o out/test/x86_64/z-start-stop-visibility/exe3 out/test/x86_64/z-start-stop-visibility/a.o -Wl,-z,start-stop-visibility=protected -400: + out/test/x86_64/z-separate-code/exe3 400: + grep 'Hello world' +400: + out/test/x86_64/z-separate-code/exe3 400: Hello world 400: + on_exit 400: + echo OK 400: OK 400: + exit 0 -400/402 Test #400: x86_64-z-separate-code ................................ Passed 0.22 sec 402: + readelf -W --dyn-syms out/test/x86_64/z-start-stop-visibility/exe3 +400/402 Test #400: x86_64-z-separate-code ................................ Passed 0.34 sec 402: + grep __start_hello out/test/x86_64/z-start-stop-visibility/log3 402: 6: 0000000000003a70 0 NOTYPE GLOBAL DEFAULT 28 __start_hello 402: + grep __stop_hello out/test/x86_64/z-start-stop-visibility/log3 @@ -28790,27 +28826,27 @@ 402: + echo OK 402: OK 402: + exit 0 -401/402 Test #402: x86_64-z-start-stop-visibility ........................ Passed 0.19 sec +401/402 Test #402: x86_64-z-start-stop-visibility ........................ Passed 0.31 sec 386: + out/test/x86_64/wrap-lto/exe 386: + grep '^foo$' 386: foo 386: + cc -B. -o out/test/x86_64/wrap-lto/exe out/test/x86_64/wrap-lto/a.so out/test/x86_64/wrap-lto/b.o -Wl,-wrap,foo -flto -386: + out/test/x86_64/wrap-lto/exe 386: + grep '^wrap_foo$' +386: + out/test/x86_64/wrap-lto/exe 386: wrap_foo 386: + cc -B. -o out/test/x86_64/wrap-lto/exe out/test/x86_64/wrap-lto/a.so out/test/x86_64/wrap-lto/c.o -Wl,-wrap,foo -flto -386: + out/test/x86_64/wrap-lto/exe 386: + grep '^foo$' +386: + out/test/x86_64/wrap-lto/exe 386: foo 386: + on_exit 386: + echo OK 386: OK 386: + exit 0 -402/402 Test #386: x86_64-wrap-lto ....................................... Passed 0.88 sec +402/402 Test #386: x86_64-wrap-lto ....................................... Passed 1.09 sec 100% tests passed, 0 tests failed out of 402 -Total Test time (real) = 12.13 sec +Total Test time (real) = 17.91 sec The following tests did not run: 2 - x86_64-arch-x86_64-apx-gotpcrelx (Skipped) @@ -28885,12 +28921,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/2978488/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2978488/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/3819692 and its subdirectories -I: Current time: Fri May 1 01:52:34 -12 2026 -I: pbuilder-time-stamp: 1777643554 +I: removing directory /srv/workspace/pbuilder/2978488 and its subdirectories +I: Current time: Sat Mar 29 21:38:04 +14 2025 +I: pbuilder-time-stamp: 1743233884