Diff of the two buildlogs: -- --- b1/build.log 2024-05-02 06:23:38.163843441 +0000 +++ b2/build.log 2024-05-02 06:33:38.914312658 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Jun 4 00:34:39 -12 2025 -I: pbuilder-time-stamp: 1749040479 +I: Current time: Thu May 2 20:23:42 +14 2024 +I: pbuilder-time-stamp: 1714631022 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -25,51 +25,83 @@ dpkg-source: info: unpacking mold_2.30.0+dfsg-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/4111704/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1725267/tmp/hooks/D01_modify_environment starting +debug: Running on infom01-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 2 06:23 /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/1725267/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1725267/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='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='2b7480a322e247609058ce0c64f75afb' - 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='4111704' - PS1='# ' - PS2='> ' + INVOCATION_ID=3ea88e34a88f4968aa5de48af72be949 + 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=1725267 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.mikUqyxC/pbuilderrc_Q6Ar --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.mikUqyxC/b1 --logfile b1/build.log mold_2.30.0+dfsg-1.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.mikUqyxC/pbuilderrc_tYsD --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.mikUqyxC/b2 --logfile b2/build.log mold_2.30.0+dfsg-1.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' I: uname -a - Linux infom02-amd64 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 24 13:34 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/4111704/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 23 11:24 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1725267/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -263,7 +295,7 @@ Get: 78 http://deb.debian.org/debian trixie/main amd64 pkgconf amd64 1.8.1-1+b2 [26.2 kB] Get: 79 http://deb.debian.org/debian trixie/main amd64 pkg-config amd64 1.8.1-1+b2 [14.0 kB] Get: 80 http://deb.debian.org/debian trixie/main amd64 zlib1g-dev amd64 1:1.3.dfsg-3.1 [918 kB] -Fetched 54.1 MB in 1s (43.8 MB/s) +Fetched 54.1 MB in 2s (31.1 MB/s) debconf: delaying package configuration, since apt-utils is not installed dpkg: libdb5.3:amd64: dependency problems, but removing anyway as you requested: libperl5.38:amd64 depends on libdb5.3. @@ -552,8 +584,8 @@ Setting up tzdata (2024a-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Wed Jun 4 12:35:53 UTC 2025. -Universal Time is now: Wed Jun 4 12:35:53 UTC 2025. +Local time is now: Thu May 2 06:26:13 UTC 2024. +Universal Time is now: Thu May 2 06:26:13 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libdwarf1:amd64 (20210528-1+b2) ... @@ -624,7 +656,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/mold-2.30.0+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../mold_2.30.0+dfsg-1_source.changes +I: user script /srv/workspace/pbuilder/1725267/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/1725267/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/mold-2.30.0+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../mold_2.30.0+dfsg-1_source.changes dpkg-buildpackage: info: source package mold dpkg-buildpackage: info: source version 2.30.0+dfsg-1 dpkg-buildpackage: info: source distribution unstable @@ -749,7 +785,7 @@ -- Performing Test HAVE_FULL_ATOMIC_SUPPORT - Success -- Looking for madvise -- Looking for madvise - found --- Configuring done (6.8s) +-- Configuring done (7.6s) -- Generating done (0.2s) CMake Warning: Manually-specified variables were not used by the project: @@ -775,9 +811,9 @@ 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.30.0+dfsg/obj-x86_64-linux-gnu' cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/mold-2.30.0+dfsg /build/reproducible-path/mold-2.30.0+dfsg /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/CMakeFiles/git_hash.dir/DependInfo.cmake "--color=" -make -f third-party/mimalloc/CMakeFiles/mimalloc-static.dir/build.make third-party/mimalloc/CMakeFiles/mimalloc-static.dir/depend make[3]: Entering directory '/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu' cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/mold-2.30.0+dfsg /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb /build/reproducible-path/mold-2.30.0+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.30.0+dfsg/obj-x86_64-linux-gnu' cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/mold-2.30.0+dfsg /build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c/CMakeFiles/blake3.dir/DependInfo.cmake "--color=" @@ -787,56 +823,55 @@ cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/mold-2.30.0+dfsg /build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc/CMakeFiles/mimalloc-static.dir/DependInfo.cmake "--color=" make[3]: Entering directory '/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu' cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/mold-2.30.0+dfsg /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib /build/reproducible-path/mold-2.30.0+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.30.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c/CMakeFiles/blake3.dir/DependInfo.cmake" is newer than depender "/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c/CMakeFiles/blake3.dir/depend.internal". -Dependee "/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c/CMakeFiles/blake3.dir/depend.internal". -make[3]: Leaving directory '/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu' -make -f CMakeFiles/mold-wrapper.dir/build.make CMakeFiles/mold-wrapper.dir/build make[3]: Leaving directory '/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu' make -f CMakeFiles/git_hash.dir/build.make CMakeFiles/git_hash.dir/build -make[3]: Leaving directory '/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu' -make -f third-party/mimalloc/CMakeFiles/mimalloc-static.dir/build.make third-party/mimalloc/CMakeFiles/mimalloc-static.dir/build -make -f third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/build.make third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/build -Scanning dependencies of target blake3 -make[3]: Entering directory '/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu' +make -f third-party/tbb/src/tbb/CMakeFiles/tbb.dir/build.make third-party/tbb/src/tbb/CMakeFiles/tbb.dir/build make[3]: Entering directory '/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu' /usr/bin/cmake -DSOURCE_DIR=/build/reproducible-path/mold-2.30.0+dfsg -DOUTPUT_FILE=/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/git-hash.cc -P /build/reproducible-path/mold-2.30.0+dfsg/common/update-git-hash.cmake -make[3]: Leaving directory '/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu' -make -f third-party/tbb/src/tbb/CMakeFiles/tbb.dir/build.make third-party/tbb/src/tbb/CMakeFiles/tbb.dir/build +[ 0%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/address_waiter.cpp.o +make[3]: Leaving directory '/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu' +Dependee "/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c/CMakeFiles/blake3.dir/DependInfo.cmake" is newer than depender "/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c/CMakeFiles/blake3.dir/depend.internal". +Dependee "/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c/CMakeFiles/blake3.dir/depend.internal". make[3]: Leaving directory '/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu' +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/address_waiter.cpp.o -MF CMakeFiles/tbb.dir/address_waiter.cpp.o.d -o CMakeFiles/tbb.dir/address_waiter.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/address_waiter.cpp +make -f CMakeFiles/mold-wrapper.dir/build.make CMakeFiles/mold-wrapper.dir/build make[3]: Entering directory '/build/reproducible-path/mold-2.30.0+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]: Leaving directory '/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu' +make[3]: Leaving directory '/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu' +make -f third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/build.make third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/build make[3]: Entering directory '/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu' +make -f third-party/mimalloc/CMakeFiles/mimalloc-static.dir/build.make third-party/mimalloc/CMakeFiles/mimalloc-static.dir/build make[3]: Entering directory '/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu' -[ 0%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/debug.c.o -[ 0%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc-posix.c.o -[ 0%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc.c.o -[ 0%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc-aligned.c.o -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc-posix.c.o -MF CMakeFiles/mimalloc-static.dir/src/alloc-posix.c.o.d -o CMakeFiles/mimalloc-static.dir/src/alloc-posix.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/src/alloc-posix.c +[ 0%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/arena_slot.cpp.o +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/arena_slot.cpp.o -MF CMakeFiles/tbb.dir/arena_slot.cpp.o.d -o CMakeFiles/tbb.dir/arena_slot.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/arena_slot.cpp +[ 0%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/allocator.cpp.o +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/allocator.cpp.o -MF CMakeFiles/tbb.dir/allocator.cpp.o.d -o CMakeFiles/tbb.dir/allocator.cpp.o -c /build/reproducible-path/mold-2.30.0+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 CMakeFiles/mold-wrapper.dir/elf/mold-wrapper.c.o +[ 1%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/dynamic_link.cpp.o +[ 2%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/concurrent_bounded_queue.cpp.o +[ 2%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/debug.c.o +[ 1%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/exception.cpp.o +/usr/bin/cc -Dmold_wrapper_EXPORTS -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT CMakeFiles/mold-wrapper.dir/elf/mold-wrapper.c.o -MF CMakeFiles/mold-wrapper.dir/elf/mold-wrapper.c.o.d -o CMakeFiles/mold-wrapper.dir/elf/mold-wrapper.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/elf/mold-wrapper.c +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/concurrent_bounded_queue.cpp.o -MF CMakeFiles/tbb.dir/concurrent_bounded_queue.cpp.o.d -o CMakeFiles/tbb.dir/concurrent_bounded_queue.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/concurrent_bounded_queue.cpp +[ 1%] Built target git_hash cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/debug.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/common/debug.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/common/debug.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/common/debug.c +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/arena.cpp.o -MF CMakeFiles/tbb.dir/arena.cpp.o.d -o CMakeFiles/tbb.dir/arena.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/arena.cpp +Scanning dependencies of target blake3 +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/dynamic_link.cpp.o -MF CMakeFiles/tbb.dir/dynamic_link.cpp.o.d -o CMakeFiles/tbb.dir/dynamic_link.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/dynamic_link.cpp +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/exception.cpp.o -MF CMakeFiles/tbb.dir/exception.cpp.o.d -o CMakeFiles/tbb.dir/exception.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/exception.cpp +[ 2%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc.c.o +make[3]: Leaving directory '/build/reproducible-path/mold-2.30.0+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 cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc.c.o -MF CMakeFiles/mimalloc-static.dir/src/alloc.c.o.d -o CMakeFiles/mimalloc-static.dir/src/alloc.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/src/alloc.c -[ 0%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/address_waiter.cpp.o -[ 0%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/entropy_common.c.o +[ 2%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc-aligned.c.o cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc-aligned.c.o -MF CMakeFiles/mimalloc-static.dir/src/alloc-aligned.c.o.d -o CMakeFiles/mimalloc-static.dir/src/alloc-aligned.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/src/alloc-aligned.c -[ 0%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/error_private.c.o -[ 1%] Building C object CMakeFiles/mold-wrapper.dir/elf/mold-wrapper.c.o -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/address_waiter.cpp.o -MF CMakeFiles/tbb.dir/address_waiter.cpp.o.d -o CMakeFiles/tbb.dir/address_waiter.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/address_waiter.cpp -make[3]: Leaving directory '/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu' -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/entropy_common.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/common/entropy_common.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/common/entropy_common.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/common/entropy_common.c -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/error_private.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/common/error_private.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/common/error_private.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/common/error_private.c -[ 1%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/bitmap.c.o -/usr/bin/cc -Dmold_wrapper_EXPORTS -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT CMakeFiles/mold-wrapper.dir/elf/mold-wrapper.c.o -MF CMakeFiles/mold-wrapper.dir/elf/mold-wrapper.c.o.d -o CMakeFiles/mold-wrapper.dir/elf/mold-wrapper.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/elf/mold-wrapper.c -[ 1%] Building C object third-party/blake3/c/CMakeFiles/blake3.dir/blake3.c.o -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/bitmap.c.o -MF CMakeFiles/mimalloc-static.dir/src/bitmap.c.o.d -o CMakeFiles/mimalloc-static.dir/src/bitmap.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/src/bitmap.c -[ 2%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/arena.c.o +make[3]: Entering directory '/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu' +[ 2%] Building C object third-party/blake3/c/CMakeFiles/blake3.dir/blake3.c.o cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -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.30.0+dfsg/third-party/blake3/c/blake3.c -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/arena.c.o -MF CMakeFiles/mimalloc-static.dir/src/arena.c.o.d -o CMakeFiles/mimalloc-static.dir/src/arena.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/src/arena.c -[ 2%] Built target git_hash -[ 2%] Building C object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_portable.c.o -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -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.30.0+dfsg/third-party/blake3/c/blake3_portable.c -[ 2%] Building C object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_dispatch.c.o -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -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.30.0+dfsg/third-party/blake3/c/blake3_dispatch.c +[ 2%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/entropy_common.c.o /build/reproducible-path/mold-2.30.0+dfsg/elf/mold-wrapper.c: In function 'execvpe': /build/reproducible-path/mold-2.30.0+dfsg/elf/mold-wrapper.c:77:27: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 77 | typeof(execvpe) *real = dlsym(RTLD_NEXT, "execvp"); @@ -853,17 +888,42 @@ /build/reproducible-path/mold-2.30.0+dfsg/elf/mold-wrapper.c:143:32: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 143 | typeof(posix_spawnp) *real = dlsym(RTLD_NEXT, "posix_spawnp"); | ^~~~~ -[ 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.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/fse_decompress.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/common/fse_decompress.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/common/fse_decompress.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/common/fse_decompress.c -[ 3%] Linking C shared library mold-wrapper.so +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/entropy_common.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/common/entropy_common.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/common/entropy_common.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/common/entropy_common.c +[ 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.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -shared -Wl,-soname,mold-wrapper.so -o mold-wrapper.so "CMakeFiles/mold-wrapper.dir/elf/mold-wrapper.c.o" -ldl -[ 3%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/heap.c.o -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/heap.c.o -MF CMakeFiles/mimalloc-static.dir/src/heap.c.o.d -o CMakeFiles/mimalloc-static.dir/src/heap.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/src/heap.c make[3]: Leaving directory '/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu' -[ 3%] Built target mold-wrapper -[ 3%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/init.c.o -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/init.c.o -MF CMakeFiles/mimalloc-static.dir/src/init.c.o.d -o CMakeFiles/mimalloc-static.dir/src/init.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/src/init.c +[ 2%] Built target mold-wrapper +[ 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.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/error_private.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/common/error_private.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/common/error_private.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/common/error_private.c +[ 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.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/fse_decompress.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/common/fse_decompress.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/common/fse_decompress.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/common/fse_decompress.c +[ 3%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc-posix.c.o +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc-posix.c.o -MF CMakeFiles/mimalloc-static.dir/src/alloc-posix.c.o.d -o CMakeFiles/mimalloc-static.dir/src/alloc-posix.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/src/alloc-posix.c +[ 3%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/pool.c.o +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/pool.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/common/pool.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/common/pool.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/common/pool.c +[ 3%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/threading.c.o +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/threading.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/common/threading.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/common/threading.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/common/threading.c +[ 4%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/arena.c.o +[ 4%] Building C object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_dispatch.c.o +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/arena.c.o -MF CMakeFiles/mimalloc-static.dir/src/arena.c.o.d -o CMakeFiles/mimalloc-static.dir/src/arena.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/src/arena.c +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -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.30.0+dfsg/third-party/blake3/c/blake3_dispatch.c +[ 4%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/xxhash.c.o +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/xxhash.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/common/xxhash.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/common/xxhash.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/common/xxhash.c +[ 4%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/zstd_common.c.o +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/zstd_common.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/common/zstd_common.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/common/zstd_common.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/common/zstd_common.c +[ 4%] 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.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/fse_compress.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/fse_compress.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/fse_compress.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/compress/fse_compress.c +[ 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.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/hist.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/hist.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/hist.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/compress/hist.c +[ 5%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/bitmap.c.o +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/bitmap.c.o -MF CMakeFiles/mimalloc-static.dir/src/bitmap.c.o.d -o CMakeFiles/mimalloc-static.dir/src/bitmap.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/src/bitmap.c +[ 5%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/heap.c.o +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/heap.c.o -MF CMakeFiles/mimalloc-static.dir/src/heap.c.o.d -o CMakeFiles/mimalloc-static.dir/src/heap.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/src/heap.c +[ 5%] 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.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/huf_compress.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/huf_compress.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/huf_compress.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/compress/huf_compress.c +[ 5%] Building C object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_portable.c.o +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -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.30.0+dfsg/third-party/blake3/c/blake3_portable.c /build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/src/heap.c: In function 'mi_heap_visit_areas_page': /build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/src/heap.c:584:33: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 584 | mi_heap_area_visit_fun* fun = (mi_heap_area_visit_fun*)vfun; @@ -872,12 +932,24 @@ /build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/src/heap.c:601:75: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 601 | return mi_heap_visit_pages((mi_heap_t*)heap, &mi_heap_visit_areas_page, (void*)(visitor), arg); // note: function pointer to void* :-{ | ^ -[ 3%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/options.c.o +[ 5%] 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.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/compress/zstd_compress.c +[ 5%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/governor.cpp.o +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/governor.cpp.o -MF CMakeFiles/tbb.dir/governor.cpp.o.d -o CMakeFiles/tbb.dir/governor.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/governor.cpp +[ 5%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/global_control.cpp.o +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/global_control.cpp.o -MF CMakeFiles/tbb.dir/global_control.cpp.o.d -o CMakeFiles/tbb.dir/global_control.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/global_control.cpp +[ 7%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/itt_notify.cpp.o +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/itt_notify.cpp.o -MF CMakeFiles/tbb.dir/itt_notify.cpp.o.d -o CMakeFiles/tbb.dir/itt_notify.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/itt_notify.cpp +[ 7%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/init.c.o +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/init.c.o -MF CMakeFiles/mimalloc-static.dir/src/init.c.o.d -o CMakeFiles/mimalloc-static.dir/src/init.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/src/init.c +[ 7%] Building ASM object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_avx2_x86-64_unix.S.o +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cc -o CMakeFiles/blake3.dir/blake3_avx2_x86-64_unix.S.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c/blake3_avx2_x86-64_unix.S +[ 7%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/options.c.o cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/options.c.o -MF CMakeFiles/mimalloc-static.dir/src/options.c.o.d -o CMakeFiles/mimalloc-static.dir/src/options.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/src/options.c -[ 4%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/os.c.o -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/os.c.o -MF CMakeFiles/mimalloc-static.dir/src/os.c.o.d -o CMakeFiles/mimalloc-static.dir/src/os.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/src/os.c -[ 4%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/page.c.o -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/page.c.o -MF CMakeFiles/mimalloc-static.dir/src/page.c.o.d -o CMakeFiles/mimalloc-static.dir/src/page.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/src/page.c +[ 7%] Building ASM object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_avx512_x86-64_unix.S.o +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cc -o CMakeFiles/blake3.dir/blake3_avx512_x86-64_unix.S.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c/blake3_avx512_x86-64_unix.S +[ 7%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/main.cpp.o +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/main.cpp.o -MF CMakeFiles/tbb.dir/main.cpp.o.d -o CMakeFiles/tbb.dir/main.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/main.cpp /build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/src/options.c: In function '_mi_fputs': /build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/src/options.c:300:20: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 300 | if (out==NULL || (void*)out==(void*)stdout || (void*)out==(void*)stderr) { // TODO: use mi_out_stderr for stderr? @@ -885,96 +957,43 @@ /build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/src/options.c:300:49: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 300 | if (out==NULL || (void*)out==(void*)stdout || (void*)out==(void*)stderr) { // TODO: use mi_out_stderr for stderr? | ^ -[ 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.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/pool.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/common/pool.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/common/pool.c.o -c /build/reproducible-path/mold-2.30.0+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.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/threading.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/common/threading.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/common/threading.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/common/threading.c -[ 4%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/xxhash.c.o -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/xxhash.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/common/xxhash.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/common/xxhash.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/common/xxhash.c -[ 4%] Building ASM object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_avx2_x86-64_unix.S.o -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cc -o CMakeFiles/blake3.dir/blake3_avx2_x86-64_unix.S.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c/blake3_avx2_x86-64_unix.S -[ 4%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/zstd_common.c.o -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/common/zstd_common.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/common/zstd_common.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/common/zstd_common.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/common/zstd_common.c -[ 4%] 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.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/fse_compress.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/fse_compress.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/fse_compress.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/compress/fse_compress.c -[ 5%] Building ASM object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_avx512_x86-64_unix.S.o -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cc -o CMakeFiles/blake3.dir/blake3_avx512_x86-64_unix.S.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c/blake3_avx512_x86-64_unix.S -[ 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.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/hist.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/hist.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/hist.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/compress/hist.c -[ 7%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/allocator.cpp.o -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/allocator.cpp.o -MF CMakeFiles/tbb.dir/allocator.cpp.o.d -o CMakeFiles/tbb.dir/allocator.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/allocator.cpp -[ 7%] Building ASM object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_sse2_x86-64_unix.S.o +[ 7%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/market.cpp.o +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/market.cpp.o -MF CMakeFiles/tbb.dir/market.cpp.o.d -o CMakeFiles/tbb.dir/market.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/market.cpp +[ 8%] Building ASM object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_sse2_x86-64_unix.S.o cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cc -o CMakeFiles/blake3.dir/blake3_sse2_x86-64_unix.S.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c/blake3_sse2_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.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/huf_compress.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/huf_compress.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/huf_compress.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/compress/huf_compress.c -[ 7%] Building ASM object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_sse41_x86-64_unix.S.o +[ 9%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/os.c.o +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/os.c.o -MF CMakeFiles/mimalloc-static.dir/src/os.c.o.d -o CMakeFiles/mimalloc-static.dir/src/os.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/src/os.c +[ 9%] Building ASM object third-party/blake3/c/CMakeFiles/blake3.dir/blake3_sse41_x86-64_unix.S.o +[ 9%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/tcm_adaptor.cpp.o +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/tcm_adaptor.cpp.o -MF CMakeFiles/tbb.dir/tcm_adaptor.cpp.o.d -o CMakeFiles/tbb.dir/tcm_adaptor.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/tcm_adaptor.cpp cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cc -o CMakeFiles/blake3.dir/blake3_sse41_x86-64_unix.S.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c/blake3_sse41_x86-64_unix.S -[ 7%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/random.c.o -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/random.c.o -MF CMakeFiles/mimalloc-static.dir/src/random.c.o.d -o CMakeFiles/mimalloc-static.dir/src/random.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/src/random.c -[ 7%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/segment.c.o -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/segment.c.o -MF CMakeFiles/mimalloc-static.dir/src/segment.c.o.d -o CMakeFiles/mimalloc-static.dir/src/segment.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/src/segment.c -[ 7%] Linking C static library libblake3.a +[ 9%] Linking C static library libblake3.a cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cmake -P CMakeFiles/blake3.dir/cmake_clean_target.cmake -[ 7%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress.c.o -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/compress/zstd_compress.c cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/blake3/c && /usr/bin/cmake -E cmake_link_script CMakeFiles/blake3.dir/link.txt --verbose=1 +[ 9%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/page.c.o +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/page.c.o -MF CMakeFiles/mimalloc-static.dir/src/page.c.o.d -o CMakeFiles/mimalloc-static.dir/src/page.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/src/page.c /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" -[ 7%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/arena.cpp.o -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/arena.cpp.o -MF CMakeFiles/tbb.dir/arena.cpp.o.d -o CMakeFiles/tbb.dir/arena.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/arena.cpp /usr/bin/ranlib libblake3.a make[3]: Leaving directory '/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu' -[ 7%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/segment-map.c.o +[ 9%] Built target blake3 +[ 9%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/random.c.o +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/random.c.o -MF CMakeFiles/mimalloc-static.dir/src/random.c.o.d -o CMakeFiles/mimalloc-static.dir/src/random.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/src/random.c +[ 9%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/segment.c.o +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/segment.c.o -MF CMakeFiles/mimalloc-static.dir/src/segment.c.o.d -o CMakeFiles/mimalloc-static.dir/src/segment.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/src/segment.c +[ 9%] 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.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_literals.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_literals.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_literals.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/compress/zstd_compress_literals.c +[ 9%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/segment-map.c.o cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/segment-map.c.o -MF CMakeFiles/mimalloc-static.dir/src/segment-map.c.o.d -o CMakeFiles/mimalloc-static.dir/src/segment-map.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/src/segment-map.c -[ 7%] Built target blake3 -[ 7%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/arena_slot.cpp.o -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/arena_slot.cpp.o -MF CMakeFiles/tbb.dir/arena_slot.cpp.o.d -o CMakeFiles/tbb.dir/arena_slot.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/arena_slot.cpp -[ 7%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/stats.c.o +[ 9%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_sequences.c.o +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_sequences.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_sequences.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_sequences.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/compress/zstd_compress_sequences.c +[ 9%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/stats.c.o cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/stats.c.o -MF CMakeFiles/mimalloc-static.dir/src/stats.c.o.d -o CMakeFiles/mimalloc-static.dir/src/stats.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/src/stats.c /build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/src/stats.c: In function 'mi_stats_print': /build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/src/stats.c:408:22: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 408 | mi_stats_print_out((mi_output_fun*)out, NULL); | ^ -[ 8%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/prim/prim.c.o +[ 10%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/prim/prim.c.o cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cc -DMI_MALLOC_OVERRIDE -DMI_STATIC_LIB -DMI_USE_ENVIRON=0 -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -fPIC -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden -Wstrict-prototypes -ftls-model=initial-exec -fno-builtin-malloc -MD -MT third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/prim/prim.c.o -MF CMakeFiles/mimalloc-static.dir/src/prim/prim.c.o.d -o CMakeFiles/mimalloc-static.dir/src/prim/prim.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/src/prim/prim.c -[ 9%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/concurrent_bounded_queue.cpp.o -[ 8%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_literals.c.o -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/concurrent_bounded_queue.cpp.o -MF CMakeFiles/tbb.dir/concurrent_bounded_queue.cpp.o.d -o CMakeFiles/tbb.dir/concurrent_bounded_queue.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/concurrent_bounded_queue.cpp -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_literals.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_literals.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_literals.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/compress/zstd_compress_literals.c -[ 9%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_sequences.c.o -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_sequences.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_sequences.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_sequences.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/compress/zstd_compress_sequences.c -[ 9%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/dynamic_link.cpp.o -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/dynamic_link.cpp.o -MF CMakeFiles/tbb.dir/dynamic_link.cpp.o.d -o CMakeFiles/tbb.dir/dynamic_link.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/dynamic_link.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.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_superblock.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_superblock.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_superblock.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/compress/zstd_compress_superblock.c -[ 10%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/exception.cpp.o -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/exception.cpp.o -MF CMakeFiles/tbb.dir/exception.cpp.o.d -o CMakeFiles/tbb.dir/exception.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/exception.cpp -[ 10%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/governor.cpp.o -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/governor.cpp.o -MF CMakeFiles/tbb.dir/governor.cpp.o.d -o CMakeFiles/tbb.dir/governor.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/governor.cpp -[ 10%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_double_fast.c.o -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_double_fast.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_double_fast.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_double_fast.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/compress/zstd_double_fast.c -[ 10%] Linking C static library libmimalloc.a -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cmake -P CMakeFiles/mimalloc-static.dir/cmake_clean_target.cmake -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cmake -E cmake_link_script CMakeFiles/mimalloc-static.dir/link.txt --verbose=1 -/usr/bin/ar qc libmimalloc.a "CMakeFiles/mimalloc-static.dir/src/alloc.c.o" "CMakeFiles/mimalloc-static.dir/src/alloc-aligned.c.o" "CMakeFiles/mimalloc-static.dir/src/alloc-posix.c.o" "CMakeFiles/mimalloc-static.dir/src/arena.c.o" "CMakeFiles/mimalloc-static.dir/src/bitmap.c.o" "CMakeFiles/mimalloc-static.dir/src/heap.c.o" "CMakeFiles/mimalloc-static.dir/src/init.c.o" "CMakeFiles/mimalloc-static.dir/src/options.c.o" "CMakeFiles/mimalloc-static.dir/src/os.c.o" "CMakeFiles/mimalloc-static.dir/src/page.c.o" "CMakeFiles/mimalloc-static.dir/src/random.c.o" "CMakeFiles/mimalloc-static.dir/src/segment.c.o" "CMakeFiles/mimalloc-static.dir/src/segment-map.c.o" "CMakeFiles/mimalloc-static.dir/src/stats.c.o" "CMakeFiles/mimalloc-static.dir/src/prim/prim.c.o" -/usr/bin/ranlib libmimalloc.a -make[3]: Leaving directory '/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu' -[ 10%] Built target mimalloc-static -[ 10%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/global_control.cpp.o -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/global_control.cpp.o -MF CMakeFiles/tbb.dir/global_control.cpp.o.d -o CMakeFiles/tbb.dir/global_control.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/global_control.cpp -[ 11%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/itt_notify.cpp.o -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/itt_notify.cpp.o -MF CMakeFiles/tbb.dir/itt_notify.cpp.o.d -o CMakeFiles/tbb.dir/itt_notify.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/itt_notify.cpp -[ 11%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/main.cpp.o -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/main.cpp.o -MF CMakeFiles/tbb.dir/main.cpp.o.d -o CMakeFiles/tbb.dir/main.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/main.cpp -[ 11%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/market.cpp.o -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/market.cpp.o -MF CMakeFiles/tbb.dir/market.cpp.o.d -o CMakeFiles/tbb.dir/market.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/market.cpp -[ 11%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/tcm_adaptor.cpp.o -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/tcm_adaptor.cpp.o -MF CMakeFiles/tbb.dir/tcm_adaptor.cpp.o.d -o CMakeFiles/tbb.dir/tcm_adaptor.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/tcm_adaptor.cpp -[ 11%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/misc.cpp.o -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/misc.cpp.o -MF CMakeFiles/tbb.dir/misc.cpp.o.d -o CMakeFiles/tbb.dir/misc.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/misc.cpp -[ 11%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/misc_ex.cpp.o -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/misc_ex.cpp.o -MF CMakeFiles/tbb.dir/misc_ex.cpp.o.d -o CMakeFiles/tbb.dir/misc_ex.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/misc_ex.cpp -[ 13%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/observer_proxy.cpp.o -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/observer_proxy.cpp.o -MF CMakeFiles/tbb.dir/observer_proxy.cpp.o.d -o CMakeFiles/tbb.dir/observer_proxy.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/observer_proxy.cpp In file included from /usr/include/c++/13/atomic:41, from /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include/oneapi/tbb/detail/_utils.h:22, from /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/task_dispatcher.h:20, @@ -987,32 +1006,45 @@ | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 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 -[ 13%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/parallel_pipeline.cpp.o -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/parallel_pipeline.cpp.o -MF CMakeFiles/tbb.dir/parallel_pipeline.cpp.o.d -o CMakeFiles/tbb.dir/parallel_pipeline.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/parallel_pipeline.cpp +[ 11%] 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.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_superblock.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_superblock.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_compress_superblock.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/compress/zstd_compress_superblock.c +[ 11%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_double_fast.c.o +[ 11%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/misc.cpp.o +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_double_fast.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_double_fast.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_double_fast.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/compress/zstd_double_fast.c +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/misc.cpp.o -MF CMakeFiles/tbb.dir/misc.cpp.o.d -o CMakeFiles/tbb.dir/misc.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/misc.cpp +[ 11%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/misc_ex.cpp.o +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/misc_ex.cpp.o -MF CMakeFiles/tbb.dir/misc_ex.cpp.o.d -o CMakeFiles/tbb.dir/misc_ex.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/misc_ex.cpp +[ 13%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/observer_proxy.cpp.o +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/observer_proxy.cpp.o -MF CMakeFiles/tbb.dir/observer_proxy.cpp.o.d -o CMakeFiles/tbb.dir/observer_proxy.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/observer_proxy.cpp +[ 13%] Linking C static library libmimalloc.a +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cmake -P CMakeFiles/mimalloc-static.dir/cmake_clean_target.cmake +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/mimalloc && /usr/bin/cmake -E cmake_link_script CMakeFiles/mimalloc-static.dir/link.txt --verbose=1 [ 13%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_fast.c.o cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_fast.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_fast.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_fast.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/compress/zstd_fast.c +[ 13%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/parallel_pipeline.cpp.o +/usr/bin/ar qc libmimalloc.a "CMakeFiles/mimalloc-static.dir/src/alloc.c.o" "CMakeFiles/mimalloc-static.dir/src/alloc-aligned.c.o" "CMakeFiles/mimalloc-static.dir/src/alloc-posix.c.o" "CMakeFiles/mimalloc-static.dir/src/arena.c.o" "CMakeFiles/mimalloc-static.dir/src/bitmap.c.o" "CMakeFiles/mimalloc-static.dir/src/heap.c.o" "CMakeFiles/mimalloc-static.dir/src/init.c.o" "CMakeFiles/mimalloc-static.dir/src/options.c.o" "CMakeFiles/mimalloc-static.dir/src/os.c.o" "CMakeFiles/mimalloc-static.dir/src/page.c.o" "CMakeFiles/mimalloc-static.dir/src/random.c.o" "CMakeFiles/mimalloc-static.dir/src/segment.c.o" "CMakeFiles/mimalloc-static.dir/src/segment-map.c.o" "CMakeFiles/mimalloc-static.dir/src/stats.c.o" "CMakeFiles/mimalloc-static.dir/src/prim/prim.c.o" +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/parallel_pipeline.cpp.o -MF CMakeFiles/tbb.dir/parallel_pipeline.cpp.o.d -o CMakeFiles/tbb.dir/parallel_pipeline.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/parallel_pipeline.cpp +/usr/bin/ranlib libmimalloc.a +make[3]: Leaving directory '/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu' [ 13%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/private_server.cpp.o cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/private_server.cpp.o -MF CMakeFiles/tbb.dir/private_server.cpp.o.d -o CMakeFiles/tbb.dir/private_server.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/private_server.cpp +[ 13%] Built target mimalloc-static [ 13%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/profiling.cpp.o cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/profiling.cpp.o -MF CMakeFiles/tbb.dir/profiling.cpp.o.d -o CMakeFiles/tbb.dir/profiling.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/profiling.cpp [ 13%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/rml_tbb.cpp.o cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/rml_tbb.cpp.o -MF CMakeFiles/tbb.dir/rml_tbb.cpp.o.d -o CMakeFiles/tbb.dir/rml_tbb.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/rml_tbb.cpp -[ 13%] 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.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_lazy.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_lazy.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_lazy.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/compress/zstd_lazy.c -[ 13%] 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.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_ldm.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_ldm.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_ldm.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/compress/zstd_ldm.c [ 14%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/rtm_mutex.cpp.o cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/rtm_mutex.cpp.o -MF CMakeFiles/tbb.dir/rtm_mutex.cpp.o.d -o CMakeFiles/tbb.dir/rtm_mutex.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/rtm_mutex.cpp [ 14%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/rtm_rw_mutex.cpp.o cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/rtm_rw_mutex.cpp.o -MF CMakeFiles/tbb.dir/rtm_rw_mutex.cpp.o.d -o CMakeFiles/tbb.dir/rtm_rw_mutex.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/rtm_rw_mutex.cpp +[ 14%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_lazy.c.o +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_lazy.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_lazy.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_lazy.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/compress/zstd_lazy.c [ 14%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/semaphore.cpp.o cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/semaphore.cpp.o -MF CMakeFiles/tbb.dir/semaphore.cpp.o.d -o CMakeFiles/tbb.dir/semaphore.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/semaphore.cpp [ 14%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/small_object_pool.cpp.o cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/small_object_pool.cpp.o -MF CMakeFiles/tbb.dir/small_object_pool.cpp.o.d -o CMakeFiles/tbb.dir/small_object_pool.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/small_object_pool.cpp [ 14%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/task.cpp.o cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/task.cpp.o -MF CMakeFiles/tbb.dir/task.cpp.o.d -o CMakeFiles/tbb.dir/task.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/task.cpp -[ 14%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_opt.c.o -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_opt.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_opt.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_opt.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/compress/zstd_opt.c [ 14%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/task_dispatcher.cpp.o cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/task_dispatcher.cpp.o -MF CMakeFiles/tbb.dir/task_dispatcher.cpp.o.d -o CMakeFiles/tbb.dir/task_dispatcher.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/task_dispatcher.cpp [ 15%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/task_group_context.cpp.o @@ -1021,31 +1053,35 @@ cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/thread_dispatcher.cpp.o -MF CMakeFiles/tbb.dir/thread_dispatcher.cpp.o.d -o CMakeFiles/tbb.dir/thread_dispatcher.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/thread_dispatcher.cpp [ 15%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/thread_request_serializer.cpp.o cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/thread_request_serializer.cpp.o -MF CMakeFiles/tbb.dir/thread_request_serializer.cpp.o.d -o CMakeFiles/tbb.dir/thread_request_serializer.cpp.o -c /build/reproducible-path/mold-2.30.0+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/compress/zstdmt_compress.c.o +[ 15%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_ldm.c.o +[ 15%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/threading_control.cpp.o +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/threading_control.cpp.o -MF CMakeFiles/tbb.dir/threading_control.cpp.o.d -o CMakeFiles/tbb.dir/threading_control.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/threading_control.cpp +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_ldm.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_ldm.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_ldm.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/compress/zstd_ldm.c +[ 15%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/version.cpp.o +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/version.cpp.o -MF CMakeFiles/tbb.dir/version.cpp.o.d -o CMakeFiles/tbb.dir/version.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/version.cpp +[ 16%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/queuing_rw_mutex.cpp.o +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/queuing_rw_mutex.cpp.o -MF CMakeFiles/tbb.dir/queuing_rw_mutex.cpp.o.d -o CMakeFiles/tbb.dir/queuing_rw_mutex.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/queuing_rw_mutex.cpp +[ 16%] 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.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_opt.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_opt.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstd_opt.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/compress/zstd_opt.c +[ 17%] 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.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstdmt_compress.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstdmt_compress.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/compress/zstdmt_compress.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/compress/zstdmt_compress.c -[ 16%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/huf_decompress.c.o +[ 17%] 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.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/huf_decompress.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/huf_decompress.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/huf_decompress.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/decompress/huf_decompress.c -[ 16%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/threading_control.cpp.o -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/threading_control.cpp.o -MF CMakeFiles/tbb.dir/threading_control.cpp.o.d -o CMakeFiles/tbb.dir/threading_control.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/threading_control.cpp -[ 16%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/huf_decompress_amd64.S.o +[ 17%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/huf_decompress_amd64.S.o cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/huf_decompress_amd64.S.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/huf_decompress_amd64.S.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/huf_decompress_amd64.S.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/decompress/huf_decompress_amd64.S -[ 16%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_ddict.c.o +[ 17%] 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.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_ddict.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_ddict.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_ddict.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/decompress/zstd_ddict.c -[ 16%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress.c.o +[ 17%] 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.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/decompress/zstd_decompress.c -[ 17%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress_block.c.o +[ 19%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress_block.c.o cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress_block.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress_block.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/decompress/zstd_decompress_block.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/decompress/zstd_decompress_block.c -[ 17%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/version.cpp.o -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/version.cpp.o -MF CMakeFiles/tbb.dir/version.cpp.o.d -o CMakeFiles/tbb.dir/version.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/version.cpp -[ 19%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/queuing_rw_mutex.cpp.o -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/tbb/src/tbb && /usr/bin/c++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -fstack-clash-protection -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -MD -MT third-party/tbb/src/tbb/CMakeFiles/tbb.dir/queuing_rw_mutex.cpp.o -MF CMakeFiles/tbb.dir/queuing_rw_mutex.cpp.o.d -o CMakeFiles/tbb.dir/queuing_rw_mutex.cpp.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/queuing_rw_mutex.cpp [ 19%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/cover.c.o cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/cover.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/cover.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/cover.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/dictBuilder/cover.c [ 19%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/divsufsort.c.o cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/divsufsort.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/divsufsort.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/divsufsort.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/dictBuilder/divsufsort.c +[ 19%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/zdict.c.o [ 19%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/fastcover.c.o cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/fastcover.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/fastcover.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/fastcover.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/dictBuilder/fastcover.c -[ 19%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/zdict.c.o cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/zdict.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/zdict.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/dictBuilder/zdict.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/dictBuilder/zdict.c [ 19%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v01.c.o cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v01.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v01.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v01.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/legacy/zstd_v01.c @@ -1055,6 +1091,8 @@ cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v03.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v03.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v03.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/legacy/zstd_v03.c [ 20%] 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.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v04.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v04.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v04.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/legacy/zstd_v04.c +[ 20%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v05.c.o +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v05.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v05.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v05.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/legacy/zstd_v05.c In function 'ZSTDv01_decodeLiteralsBlock', inlined from 'ZSTD_decompressBlock' at /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/legacy/zstd_v01.c:1898:17: /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/legacy/zstd_v01.c:1504:20: warning: 'litbp.origSize' may be used uninitialized [-Wmaybe-uninitialized] @@ -1100,10 +1138,6 @@ /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/legacy/zstd_v01.c:1828:9: note: 'nbSeq' was declared here 1828 | int nbSeq; | ^~~~~ -[ 20%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v05.c.o -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v05.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v05.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v05.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/legacy/zstd_v05.c -[ 20%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v06.c.o -cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v06.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v06.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v06.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/legacy/zstd_v06.c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/legacy/zstd_v01.c: In function 'ZSTDv01_decompressDCtx': /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/legacy/zstd_v01.c:1935:9: warning: '*(unsigned int *)((char *)&blockProperties + offsetof(blockProperties_t, blockType))' may be used uninitialized [-Wmaybe-uninitialized] 1935 | switch(blockProperties.blockType) @@ -1111,6 +1145,8 @@ /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/legacy/zstd_v01.c:1917:23: note: '*(unsigned int *)((char *)&blockProperties + offsetof(blockProperties_t, blockType))' was declared here 1917 | blockProperties_t blockProperties; | ^~~~~~~~~~~~~~~ +[ 20%] Building C object third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v06.c.o +cd /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v06.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v06.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v06.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/legacy/zstd_v06.c [ 21%] 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.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_BUILD_PROGRAMS=0 -DZSTD_BUILD_SHARED=0 -DZSTD_BUILD_STATIC=1 -DZSTD_BUILD_TESTS=0 -DZSTD_LEGACY_SUPPORT=5 -DZSTD_MULTITHREAD -DZSTD_MULTITHREAD_SUPPORT=0 -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/common -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/build/cmake/../../lib/legacy -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -Wa,--noexecstack -fPIC -MD -MT third-party/zstd/build/cmake/lib/CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v07.c.o -MF CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v07.c.o.d -o CMakeFiles/libzstd_static.dir/__/__/__/lib/legacy/zstd_v07.c.o -c /build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib/legacy/zstd_v07.c [ 21%] Linking CXX static library ../../../../gnu_13.2_cxx11_64_none/libtbb.a @@ -1133,65 +1169,65 @@ make[3]: Leaving directory '/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu' make -f CMakeFiles/mold.dir/build.make CMakeFiles/mold.dir/build make[3]: Entering directory '/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu' -[ 21%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.ARM64.cc.o -[ 21%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.X86_64.cc.o -[ 21%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.I386.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.I386.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.I386.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.I386.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.I386.cc -/usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.X86_64.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.X86_64.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.X86_64.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.X86_64.cc +[ 22%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.RV32LE.cc.o +[ 22%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.I386.cc.o [ 22%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.ARM32.cc.o [ 22%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.RV64LE.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.ARM64.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.ARM64.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.ARM64.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.ARM64.cc -[ 22%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.RV32LE.cc.o [ 22%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.RV32BE.cc.o -[ 22%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.RV64BE.cc.o +[ 22%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.X86_64.cc.o +[ 22%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.ARM64.cc.o +[ 23%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.PPC64V1.cc.o +[ 23%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.PPC32.cc.o +[ 23%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.RV64BE.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.X86_64.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.X86_64.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.X86_64.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.X86_64.cc +/usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.I386.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.I386.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.I386.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.I386.cc +/usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.ARM64.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.ARM64.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.ARM64.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.ARM64.cc /usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.ARM32.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.ARM32.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.ARM32.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.ARM32.cc -[ 22%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.PPC64V2.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.RV32LE.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.RV32LE.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.RV32LE.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.RV32LE.cc -[ 22%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.PPC32.cc.o -[ 23%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.PPC64V1.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.RV32BE.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.RV32BE.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.RV32BE.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.RV32BE.cc /usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.RV64LE.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.RV64LE.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.RV64LE.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.RV64LE.cc /usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.RV64BE.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.RV64BE.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.RV64BE.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.RV64BE.cc /usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.PPC32.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.PPC32.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.PPC32.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.PPC32.cc +[ 23%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.PPC64V2.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.PPC64V1.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.PPC64V1.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.PPC64V1.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.PPC64V1.cc /usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.PPC64V2.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.PPC64V2.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.PPC64V2.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.PPC64V2.cc -[ 23%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.SPARC64.cc.o [ 23%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.S390X.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.SPARC64.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.SPARC64.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.SPARC64.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.SPARC64.cc /usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.S390X.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.S390X.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.S390X.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.S390X.cc +[ 23%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.SPARC64.cc.o [ 23%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.M68K.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.SPARC64.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.SPARC64.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.SPARC64.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.SPARC64.cc /usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.M68K.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.M68K.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.M68K.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.M68K.cc -[ 23%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.LOONGARCH32.cc.o -[ 25%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.SH4.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.LOONGARCH32.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.LOONGARCH32.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.LOONGARCH32.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.LOONGARCH32.cc -[ 25%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.I386.cc.o -[ 25%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.LOONGARCH64.cc.o -[ 25%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.X86_64.cc.o -[ 25%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.ALPHA.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.SH4.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.SH4.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.SH4.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.SH4.cc +[ 23%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.ALPHA.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.ALPHA.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.ALPHA.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.ALPHA.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.ALPHA.cc -[ 26%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.RV32LE.cc.o +[ 25%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.SH4.cc.o [ 26%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.ARM64.cc.o +[ 26%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.I386.cc.o +[ 26%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.LOONGARCH64.cc.o +[ 26%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.X86_64.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.SH4.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.SH4.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.SH4.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.SH4.cc [ 26%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.ARM32.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.LOONGARCH64.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.LOONGARCH64.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.LOONGARCH64.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.LOONGARCH64.cc +[ 26%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.RV32LE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.X86_64.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.X86_64.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.X86_64.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.X86_64.cc /usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.I386.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.I386.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.I386.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.I386.cc +[ 26%] Building CXX object CMakeFiles/mold.dir/elf/arch-loongarch.cc.LOONGARCH32.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.ARM64.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.ARM64.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.ARM64.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.ARM64.cc /usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.ARM32.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.ARM32.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.ARM32.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.ARM32.cc /usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.RV32LE.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.RV32LE.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.RV32LE.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.RV32LE.cc +/usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-loongarch.cc.LOONGARCH32.cc.o -MF CMakeFiles/mold.dir/elf/arch-loongarch.cc.LOONGARCH32.cc.o.d -o CMakeFiles/mold.dir/elf/arch-loongarch.cc.LOONGARCH32.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-loongarch.cc.LOONGARCH32.cc +[ 26%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.RV32BE.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.RV32BE.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.RV32BE.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.RV32BE.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.RV32BE.cc +[ 26%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.RV64LE.cc.o [ 27%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.RV64BE.cc.o -[ 27%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.RV64LE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.RV64LE.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.RV64LE.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.RV64LE.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.RV64LE.cc -/usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.RV64BE.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.RV64BE.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.RV64BE.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.RV64BE.cc -[ 27%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.RV32BE.cc.o -[ 27%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.PPC64V1.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.RV32BE.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.RV32BE.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.RV32BE.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.RV32BE.cc [ 27%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.PPC32.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.RV64BE.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.RV64BE.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.RV64BE.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.RV64BE.cc /usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.PPC32.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.PPC32.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.PPC32.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.PPC32.cc +[ 27%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.PPC64V1.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.PPC64V1.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.PPC64V1.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.PPC64V1.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.PPC64V1.cc [ 27%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.PPC64V2.cc.o -[ 27%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.S390X.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.PPC64V2.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.PPC64V2.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.PPC64V2.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.PPC64V2.cc +[ 27%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.S390X.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.S390X.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.S390X.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.S390X.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.S390X.cc [ 27%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.SPARC64.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.SPARC64.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.SPARC64.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.SPARC64.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.SPARC64.cc @@ -1200,21 +1236,21 @@ [ 28%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.SH4.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.SH4.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.SH4.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.SH4.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.SH4.cc [ 28%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.ALPHA.cc.o +[ 28%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.LOONGARCH32.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.ALPHA.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.ALPHA.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.ALPHA.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.ALPHA.cc -[ 29%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.X86_64.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/cmdline.cc.X86_64.cc.o -MF CMakeFiles/mold.dir/elf/cmdline.cc.X86_64.cc.o.d -o CMakeFiles/mold.dir/elf/cmdline.cc.X86_64.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/cmdline.cc.X86_64.cc -[ 29%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.LOONGARCH64.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.LOONGARCH64.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.LOONGARCH64.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.LOONGARCH64.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.LOONGARCH64.cc -[ 29%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.LOONGARCH32.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.LOONGARCH32.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.LOONGARCH32.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.LOONGARCH32.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.LOONGARCH32.cc -[ 29%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.I386.cc.o +[ 28%] Building CXX object CMakeFiles/mold.dir/elf/arch-riscv.cc.LOONGARCH64.cc.o +/usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/arch-riscv.cc.LOONGARCH64.cc.o -MF CMakeFiles/mold.dir/elf/arch-riscv.cc.LOONGARCH64.cc.o.d -o CMakeFiles/mold.dir/elf/arch-riscv.cc.LOONGARCH64.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/arch-riscv.cc.LOONGARCH64.cc +[ 28%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.I386.cc.o +[ 29%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.X86_64.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/cmdline.cc.I386.cc.o -MF CMakeFiles/mold.dir/elf/cmdline.cc.I386.cc.o.d -o CMakeFiles/mold.dir/elf/cmdline.cc.I386.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/cmdline.cc.I386.cc +/usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/cmdline.cc.X86_64.cc.o -MF CMakeFiles/mold.dir/elf/cmdline.cc.X86_64.cc.o.d -o CMakeFiles/mold.dir/elf/cmdline.cc.X86_64.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/cmdline.cc.X86_64.cc [ 29%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.ARM64.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/cmdline.cc.ARM64.cc.o -MF CMakeFiles/mold.dir/elf/cmdline.cc.ARM64.cc.o.d -o CMakeFiles/mold.dir/elf/cmdline.cc.ARM64.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/cmdline.cc.ARM64.cc [ 29%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.ARM32.cc.o -/usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/cmdline.cc.ARM32.cc.o -MF CMakeFiles/mold.dir/elf/cmdline.cc.ARM32.cc.o.d -o CMakeFiles/mold.dir/elf/cmdline.cc.ARM32.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/cmdline.cc.ARM32.cc [ 29%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.RV32LE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/cmdline.cc.RV32LE.cc.o -MF CMakeFiles/mold.dir/elf/cmdline.cc.RV32LE.cc.o.d -o CMakeFiles/mold.dir/elf/cmdline.cc.RV32LE.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/cmdline.cc.RV32LE.cc +/usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/cmdline.cc.ARM32.cc.o -MF CMakeFiles/mold.dir/elf/cmdline.cc.ARM32.cc.o.d -o CMakeFiles/mold.dir/elf/cmdline.cc.ARM32.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/cmdline.cc.ARM32.cc [ 29%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.RV32BE.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/cmdline.cc.RV32BE.cc.o -MF CMakeFiles/mold.dir/elf/cmdline.cc.RV32BE.cc.o.d -o CMakeFiles/mold.dir/elf/cmdline.cc.RV32BE.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/cmdline.cc.RV32BE.cc [ 30%] Building CXX object CMakeFiles/mold.dir/elf/cmdline.cc.RV64LE.cc.o @@ -1484,8 +1520,8 @@ [ 58%] Building CXX object CMakeFiles/mold.dir/elf/linker-script.cc.SPARC64.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/linker-script.cc.SPARC64.cc.o -MF CMakeFiles/mold.dir/elf/linker-script.cc.SPARC64.cc.o.d -o CMakeFiles/mold.dir/elf/linker-script.cc.SPARC64.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/linker-script.cc.SPARC64.cc [ 59%] Building CXX object CMakeFiles/mold.dir/elf/linker-script.cc.M68K.cc.o -[ 59%] Building CXX object CMakeFiles/mold.dir/elf/linker-script.cc.SH4.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/linker-script.cc.M68K.cc.o -MF CMakeFiles/mold.dir/elf/linker-script.cc.M68K.cc.o.d -o CMakeFiles/mold.dir/elf/linker-script.cc.M68K.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/linker-script.cc.M68K.cc +[ 59%] Building CXX object CMakeFiles/mold.dir/elf/linker-script.cc.SH4.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/linker-script.cc.SH4.cc.o -MF CMakeFiles/mold.dir/elf/linker-script.cc.SH4.cc.o.d -o CMakeFiles/mold.dir/elf/linker-script.cc.SH4.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/linker-script.cc.SH4.cc [ 59%] Building CXX object CMakeFiles/mold.dir/elf/linker-script.cc.ALPHA.cc.o /usr/bin/c++ -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/blake3/c -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/zstd/lib -I/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/mimalloc/include -I/build/reproducible-path/mold-2.30.0+dfsg/third-party/tbb/src/tbb/../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/mold-2.30.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -ggnu-pubnames -pthread -fpch-preprocess -MD -MT CMakeFiles/mold.dir/elf/linker-script.cc.ALPHA.cc.o -MF CMakeFiles/mold.dir/elf/linker-script.cc.ALPHA.cc.o.d -o CMakeFiles/mold.dir/elf/linker-script.cc.ALPHA.cc.o -c /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/elf/linker-script.cc.ALPHA.cc @@ -2024,6 +2060,12 @@ 1: ++ echo -n 'Testing x86_64_empty-mergeable-section ... ' 1: Testing x86_64_empty-mergeable-section ... ++ t=out/test/elf/x86_64/x86_64_empty-mergeable-section 1: ++ mkdir -p out/test/elf/x86_64/x86_64_empty-mergeable-section +1: + cat +1: + cc -o out/test/elf/x86_64/x86_64_empty-mergeable-section/a.o -c -xassembler - +1: + cat +1: + cc -o out/test/elf/x86_64/x86_64_empty-mergeable-section/b.o -c -xassembler - +1: + cat +1: + cc -o out/test/elf/x86_64/x86_64_empty-mergeable-section/c.o -c -xc - 2: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_emulation-deduction.sh 2: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 2: ++ export LC_ALL=C @@ -2048,6 +2090,10 @@ 2: ++ echo -n 'Testing x86_64_emulation-deduction ... ' 2: Testing x86_64_emulation-deduction ... ++ t=out/test/elf/x86_64/x86_64_emulation-deduction 2: ++ mkdir -p out/test/elf/x86_64/x86_64_emulation-deduction +2: + '[' x86_64 = x86_64 ']' +2: + cat +2: + cc -o out/test/elf/x86_64/x86_64_emulation-deduction/a.o -c -xc - +2: + ./mold -o out/test/elf/x86_64/x86_64_emulation-deduction/exe out/test/elf/x86_64/x86_64_emulation-deduction/a.o 3: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_endbr.sh 3: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 3: ++ export LC_ALL=C @@ -2072,6 +2118,10 @@ 3: ++ echo -n 'Testing x86_64_endbr ... ' 3: Testing x86_64_endbr ... ++ t=out/test/elf/x86_64/x86_64_endbr 3: ++ mkdir -p out/test/elf/x86_64/x86_64_endbr +3: + '[' x86_64 = x86_64 ']' +3: + test_cflags -fcf-protection +3: + echo 'int main() {}' +3: + cc -fcf-protection -o /dev/null -xc - 4: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_endbr2.sh 4: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 4: ++ export LC_ALL=C @@ -2096,6 +2146,10 @@ 4: ++ echo -n 'Testing x86_64_endbr2 ... ' 4: Testing x86_64_endbr2 ... ++ t=out/test/elf/x86_64/x86_64_endbr2 4: ++ mkdir -p out/test/elf/x86_64/x86_64_endbr2 +4: + '[' x86_64 = x86_64 ']' +4: + test_cflags -fcf-protection +4: + echo 'int main() {}' +4: + cc -fcf-protection -o /dev/null -xc - 5: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_exception-mcmodel-large.sh 5: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 5: ++ export LC_ALL=C @@ -2120,6 +2174,9 @@ 5: ++ echo -n 'Testing x86_64_exception-mcmodel-large ... ' 5: Testing x86_64_exception-mcmodel-large ... ++ t=out/test/elf/x86_64/x86_64_exception-mcmodel-large 5: ++ mkdir -p out/test/elf/x86_64/x86_64_exception-mcmodel-large +5: + '[' x86_64 = x86_64 ']' +5: + cat +5: + c++ -c -o out/test/elf/x86_64/x86_64_exception-mcmodel-large/a.o -xc++ -fPIC - 6: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_execstack-if-needed.sh 6: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 6: ++ export LC_ALL=C @@ -2144,6 +2201,10 @@ 6: ++ echo -n 'Testing x86_64_execstack-if-needed ... ' 6: Testing x86_64_execstack-if-needed ... ++ t=out/test/elf/x86_64/x86_64_execstack-if-needed 6: ++ mkdir -p out/test/elf/x86_64/x86_64_execstack-if-needed +6: + '[' x86_64 = x86_64 ']' +6: + cat +6: + cc -c -xassembler -o out/test/elf/x86_64/x86_64_execstack-if-needed/a.o - +6: + cc -B. -o out/test/elf/x86_64/x86_64_execstack-if-needed/exe out/test/elf/x86_64/x86_64_execstack-if-needed/a.o 7: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_gnu-linkonce.sh 7: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 7: ++ export LC_ALL=C @@ -2168,6 +2229,13 @@ 7: ++ echo -n 'Testing x86_64_gnu-linkonce ... ' 7: Testing x86_64_gnu-linkonce ... ++ t=out/test/elf/x86_64/x86_64_gnu-linkonce 7: ++ mkdir -p out/test/elf/x86_64/x86_64_gnu-linkonce +7: + '[' x86_64 = x86_64 ']' +7: + cat +7: + cc -o out/test/elf/x86_64/x86_64_gnu-linkonce/a.o -c -x assembler - +7: + cc -o out/test/elf/x86_64/x86_64_gnu-linkonce/b.o -c -x assembler - +7: + cat +7: + cat +7: + cc -o out/test/elf/x86_64/x86_64_gnu-linkonce/c.o -c -xc - 8: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_gnu-retain.sh 8: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 8: ++ export LC_ALL=C @@ -2192,6 +2260,11 @@ 8: ++ echo -n 'Testing x86_64_gnu-retain ... ' 8: Testing x86_64_gnu-retain ... ++ t=out/test/elf/x86_64/x86_64_gnu-retain 8: ++ mkdir -p out/test/elf/x86_64/x86_64_gnu-retain +8: + '[' x86_64 = x86_64 ']' +8: + echo '.section foo,"R"' +8: + cc -o /dev/null -c -xassembler - +8: + cc -o out/test/elf/x86_64/x86_64_gnu-retain/a.o -c -xc - +8: + cat 9: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_gotpcrelx.sh 9: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 9: ++ export LC_ALL=C @@ -2216,6 +2289,8 @@ 9: ++ echo -n 'Testing x86_64_gotpcrelx ... ' 9: Testing x86_64_gotpcrelx ... ++ t=out/test/elf/x86_64/x86_64_gotpcrelx 9: ++ mkdir -p out/test/elf/x86_64/x86_64_gotpcrelx +9: + cat +9: + cc -o out/test/elf/x86_64/x86_64_gotpcrelx/a.o -c -xc - -fPIC 10: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_ifunc-alias.sh 10: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 10: ++ export LC_ALL=C @@ -2236,6 +2311,13 @@ 10: ++ trap 'on_error $LINENO' ERR 10: ++ trap on_exit EXIT 10: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_ifunc-alias.sh .sh +10: ++ testname=x86_64_ifunc-alias +10: ++ echo -n 'Testing x86_64_ifunc-alias ... ' +10: Testing x86_64_ifunc-alias ... ++ t=out/test/elf/x86_64/x86_64_ifunc-alias +10: ++ mkdir -p out/test/elf/x86_64/x86_64_ifunc-alias +10: + supports_ifunc +10: + cc -c -o /dev/null -xc - +10: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' 11: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_incompatible-libs.sh 11: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 11: ++ export LC_ALL=C @@ -2255,12 +2337,15 @@ 11: ++ tlsdesc_opt=-mtls-dialect=gnu2 11: ++ trap 'on_error $LINENO' ERR 11: ++ trap on_exit EXIT -10: ++ testname=x86_64_ifunc-alias -10: ++ echo -n 'Testing x86_64_ifunc-alias ... ' -10: Testing x86_64_ifunc-alias ... ++ t=out/test/elf/x86_64/x86_64_ifunc-alias -10: ++ mkdir -p out/test/elf/x86_64/x86_64_ifunc-alias -12: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_incompatible-libs2.sh 11: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_incompatible-libs.sh .sh +11: ++ testname=x86_64_incompatible-libs +11: ++ echo -n 'Testing x86_64_incompatible-libs ... ' +11: Testing x86_64_incompatible-libs ... ++ t=out/test/elf/x86_64/x86_64_incompatible-libs +11: ++ mkdir -p out/test/elf/x86_64/x86_64_incompatible-libs +11: + '[' x86_64 = x86_64 ']' +11: + echo 'int main() {}' +11: + cc -m32 -o out/test/elf/x86_64/x86_64_incompatible-libs/exe -xc - +12: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_incompatible-libs2.sh 12: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 12: ++ export LC_ALL=C 12: ++ LC_ALL=C @@ -2279,84 +2364,28 @@ 12: ++ tlsdesc_opt=-mtls-dialect=gnu2 12: ++ trap 'on_error $LINENO' ERR 12: ++ trap on_exit EXIT -11: ++ testname=x86_64_incompatible-libs -11: ++ echo -n 'Testing x86_64_incompatible-libs ... ' -11: Testing x86_64_incompatible-libs ... ++ t=out/test/elf/x86_64/x86_64_incompatible-libs +1: + cc -B. -o out/test/elf/x86_64/x86_64_empty-mergeable-section/exe out/test/elf/x86_64/x86_64_empty-mergeable-section/a.o out/test/elf/x86_64/x86_64_empty-mergeable-section/b.o out/test/elf/x86_64/x86_64_empty-mergeable-section/c.o +9: + cat +9: + cc -o out/test/elf/x86_64/x86_64_gotpcrelx/b.o -c -xc - -fPIC +5: + c++ -B. -o out/test/elf/x86_64/x86_64_exception-mcmodel-large/exe out/test/elf/x86_64/x86_64_exception-mcmodel-large/a.o -mcmodel=large 12: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_incompatible-libs2.sh .sh -11: ++ mkdir -p out/test/elf/x86_64/x86_64_incompatible-libs +8: + cat 12: ++ testname=x86_64_incompatible-libs2 12: ++ echo -n 'Testing x86_64_incompatible-libs2 ... ' 12: Testing x86_64_incompatible-libs2 ... ++ t=out/test/elf/x86_64/x86_64_incompatible-libs2 12: ++ mkdir -p out/test/elf/x86_64/x86_64_incompatible-libs2 -3: + '[' x86_64 = x86_64 ']' -3: + test_cflags -fcf-protection -11: + '[' x86_64 = x86_64 ']' -7: + '[' x86_64 = x86_64 ']' -5: + '[' x86_64 = x86_64 ']' -4: + '[' x86_64 = x86_64 ']' -4: + test_cflags -fcf-protection -11: + echo 'int main() {}' -6: + '[' x86_64 = x86_64 ']' -8: + '[' x86_64 = x86_64 ']' -10: + supports_ifunc -5: + cat -4: + cc -fcf-protection -o /dev/null -xc - -8: + echo '.section foo,"R"' -10: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -1: + cc -o out/test/elf/x86_64/x86_64_empty-mergeable-section/a.o -c -xassembler - -11: + cc -m32 -o out/test/elf/x86_64/x86_64_incompatible-libs/exe -xc - -6: + cat -5: + c++ -c -o out/test/elf/x86_64/x86_64_exception-mcmodel-large/a.o -xc++ -fPIC - -8: + cc -o /dev/null -c -xassembler - -3: + echo 'int main() {}' -3: + cc -fcf-protection -o /dev/null -xc - -10: + cc -c -o /dev/null -xc - -1: + cat -6: + cc -c -xassembler -o out/test/elf/x86_64/x86_64_execstack-if-needed/a.o - -7: + cc -o out/test/elf/x86_64/x86_64_gnu-linkonce/a.o -c -x assembler - -7: + cat -4: + echo 'int main() {}' -2: + '[' x86_64 = x86_64 ']' -9: + cc -o out/test/elf/x86_64/x86_64_gotpcrelx/a.o -c -xc - -fPIC -2: + cat -9: + cat -2: + cc -o out/test/elf/x86_64/x86_64_emulation-deduction/a.o -c -xc - -12: + '[' x86_64 = x86_64 ']' -12: + cc -m32 -o out/test/elf/x86_64/x86_64_incompatible-libs2/exe -xc - -12: + echo 'int main() {}' -6: + cc -B. -o out/test/elf/x86_64/x86_64_execstack-if-needed/exe out/test/elf/x86_64/x86_64_execstack-if-needed/a.o -8: + cc -o out/test/elf/x86_64/x86_64_gnu-retain/a.o -c -xc - -8: + cat -7: + cat -1: + cat -7: + cc -o out/test/elf/x86_64/x86_64_gnu-linkonce/b.o -c -x assembler - -1: + cc -o out/test/elf/x86_64/x86_64_empty-mergeable-section/b.o -c -xassembler - -7: + cat -1: + cat -1: + cc -o out/test/elf/x86_64/x86_64_empty-mergeable-section/c.o -c -xc - -7: + cc -o out/test/elf/x86_64/x86_64_gnu-linkonce/c.o -c -xc - -5: + c++ -B. -o out/test/elf/x86_64/x86_64_exception-mcmodel-large/exe out/test/elf/x86_64/x86_64_exception-mcmodel-large/a.o -mcmodel=large -2: + ./mold -o out/test/elf/x86_64/x86_64_emulation-deduction/exe out/test/elf/x86_64/x86_64_emulation-deduction/a.o -6: + grep -q 'GNU_STACK.* RW ' -6: + readelf --segments -W out/test/elf/x86_64/x86_64_execstack-if-needed/exe -8: + cat 8: + cc -o out/test/elf/x86_64/x86_64_gnu-retain/b.o -c -xassembler - -1: + cc -B. -o out/test/elf/x86_64/x86_64_empty-mergeable-section/exe out/test/elf/x86_64/x86_64_empty-mergeable-section/a.o out/test/elf/x86_64/x86_64_empty-mergeable-section/b.o out/test/elf/x86_64/x86_64_empty-mergeable-section/c.o -8: + cat 10: + test_cflags -static -9: + cat -10: + echo 'int main() {}' -9: + cc -o out/test/elf/x86_64/x86_64_gotpcrelx/b.o -c -xc - -fPIC +12: + '[' x86_64 = x86_64 ']' 10: + cc -static -o /dev/null -xc - 2: + readelf --file-header out/test/elf/x86_64/x86_64_emulation-deduction/exe -8: + cc -o out/test/elf/x86_64/x86_64_gnu-retain/c.o -c -xassembler - 2: + grep -qi x86-64 -6: + cc -B. -o out/test/elf/x86_64/x86_64_execstack-if-needed/exe out/test/elf/x86_64/x86_64_execstack-if-needed/a.o -Wl,-z,execstack-if-needed 2: + on_exit 2: + echo OK 2: OK 2: + exit 0 - 1/357 Test #2: x86_64-x86_64_emulation-deduction .......... Passed 0.17 sec +12: + echo 'int main() {}' + 1/357 Test #2: x86_64-x86_64_emulation-deduction .......... Passed 0.05 sec test 13 Start 13: x86_64-x86_64_incompatible-obj @@ -2366,8 +2395,15 @@ 13: MACHINE=x86_64 13: CPU= 13: Test timeout computed to be: 1500 +8: + cat +8: + cc -o out/test/elf/x86_64/x86_64_gnu-retain/c.o -c -xassembler - 8: + cc -B. -o out/test/elf/x86_64/x86_64_gnu-retain/exe1 out/test/elf/x86_64/x86_64_gnu-retain/a.o out/test/elf/x86_64/x86_64_gnu-retain/b.o -Wl,-gc-sections +10: + echo 'int main() {}' +12: + cc -m32 -o out/test/elf/x86_64/x86_64_incompatible-libs2/exe -xc - +4: + cc -o out/test/elf/x86_64/x86_64_endbr2/a.o -c -xc - -fno-function-sections -O -fcf-protection +4: + cat 13: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_incompatible-obj.sh +7: + cc -B. -o out/test/elf/x86_64/x86_64_gnu-linkonce/exe out/test/elf/x86_64/x86_64_gnu-linkonce/a.o out/test/elf/x86_64/x86_64_gnu-linkonce/b.o out/test/elf/x86_64/x86_64_gnu-linkonce/c.o 13: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 13: ++ export LC_ALL=C 13: ++ LC_ALL=C @@ -2386,23 +2422,19 @@ 13: ++ tlsdesc_opt=-mtls-dialect=gnu2 13: ++ trap 'on_error $LINENO' ERR 13: ++ trap on_exit EXIT +9: + cc -B. -o out/test/elf/x86_64/x86_64_gotpcrelx/exe out/test/elf/x86_64/x86_64_gotpcrelx/a.o out/test/elf/x86_64/x86_64_gotpcrelx/b.o +6: + readelf --segments -W out/test/elf/x86_64/x86_64_execstack-if-needed/exe +6: + grep -q 'GNU_STACK.* RW ' +6: + cc -B. -o out/test/elf/x86_64/x86_64_execstack-if-needed/exe out/test/elf/x86_64/x86_64_execstack-if-needed/a.o -Wl,-z,execstack-if-needed +3: + cat +3: + cc -o out/test/elf/x86_64/x86_64_endbr/a.o -c -xc - -ffunction-sections -O -fcf-protection 13: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_incompatible-obj.sh .sh -13: ++ testname=x86_64_incompatible-obj -13: ++ echo -n 'Testing x86_64_incompatible-obj ... ' -13: Testing x86_64_incompatible-obj ... ++ t=out/test/elf/x86_64/x86_64_incompatible-obj -13: ++ mkdir -p out/test/elf/x86_64/x86_64_incompatible-obj -13: + '[' x86_64 = x86_64 ']' -13: + echo 'int main() {}' -13: + cc -m32 -o out/test/elf/x86_64/x86_64_incompatible-obj/exe -xc - -5: + out/test/elf/x86_64/x86_64_exception-mcmodel-large/exe -1: + out/test/elf/x86_64/x86_64_empty-mergeable-section/exe 11: + skip -1: + readelf -SW out/test/elf/x86_64/x86_64_empty-mergeable-section/exe 11: + echo skipped 11: skipped 11: + trap - EXIT 11: + exit 0 - 2/357 Test #11: x86_64-x86_64_incompatible-libs ............***Skipped 0.16 sec + 2/357 Test #11: x86_64-x86_64_incompatible-libs ............***Skipped 0.05 sec test 14 Start 14: x86_64-x86_64_init-array-readonly @@ -2412,29 +2444,19 @@ 14: MACHINE=x86_64 14: CPU= 14: Test timeout computed to be: 1500 -8: + nm out/test/elf/x86_64/x86_64_gnu-retain/exe1 -8: + grep -q foo +13: ++ testname=x86_64_incompatible-obj +13: ++ echo -n 'Testing x86_64_incompatible-obj ... ' +13: Testing x86_64_incompatible-obj ... ++ t=out/test/elf/x86_64/x86_64_incompatible-obj +13: ++ mkdir -p out/test/elf/x86_64/x86_64_incompatible-obj +13: + '[' x86_64 = x86_64 ']' +13: + echo 'int main() {}' +13: + cc -m32 -o out/test/elf/x86_64/x86_64_incompatible-obj/exe -xc - +1: + out/test/elf/x86_64/x86_64_empty-mergeable-section/exe +1: + readelf -SW out/test/elf/x86_64/x86_64_empty-mergeable-section/exe +5: + out/test/elf/x86_64/x86_64_exception-mcmodel-large/exe +14: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_init-array-readonly.sh 5: + echo 'int main() {}' -6: + readelf --segments -W out/test/elf/x86_64/x86_64_execstack-if-needed/exe -1: + grep -q '.rodata.str1.1 .* AMS ' out/test/elf/x86_64/x86_64_empty-mergeable-section/log -6: + grep -q 'GNU_STACK.* RWE ' -6: + on_exit -6: + echo OK -6: OK -6: + exit 0 - 3/357 Test #6: x86_64-x86_64_execstack-if-needed .......... Passed 0.20 sec -test 15 - Start 15: x86_64-x86_64_init-array - -15: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_init-array.sh" -15: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -15: Environment variables: -15: MACHINE=x86_64 -15: CPU= -15: Test timeout computed to be: 1500 -7: + cc -B. -o out/test/elf/x86_64/x86_64_gnu-linkonce/exe out/test/elf/x86_64/x86_64_gnu-linkonce/a.o out/test/elf/x86_64/x86_64_gnu-linkonce/b.o out/test/elf/x86_64/x86_64_gnu-linkonce/c.o 5: + cc -o /dev/null -xc - -static -14: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_init-array-readonly.sh 14: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 14: ++ export LC_ALL=C 14: ++ LC_ALL=C @@ -2453,14 +2475,41 @@ 14: ++ tlsdesc_opt=-mtls-dialect=gnu2 14: ++ trap 'on_error $LINENO' ERR 14: ++ trap on_exit EXIT +1: + grep -q '.rodata.str1.1 .* AMS ' out/test/elf/x86_64/x86_64_empty-mergeable-section/log 14: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_init-array-readonly.sh .sh +4: + cat +4: + cc -o out/test/elf/x86_64/x86_64_endbr2/b.o -c -xc - -fno-function-sections -O -fcf-protection +14: ++ testname=x86_64_init-array-readonly +14: ++ echo -n 'Testing x86_64_init-array-readonly ... ' +14: Testing x86_64_init-array-readonly ... ++ t=out/test/elf/x86_64/x86_64_init-array-readonly +14: ++ mkdir -p out/test/elf/x86_64/x86_64_init-array-readonly 1: + grep -q '.rodata.str1.1 .* AM ' out/test/elf/x86_64/x86_64_empty-mergeable-section/log -8: + cc -B. -o out/test/elf/x86_64/x86_64_gnu-retain/exe1 out/test/elf/x86_64/x86_64_gnu-retain/a.o out/test/elf/x86_64/x86_64_gnu-retain/c.o -Wl,-gc-sections +12: + skip +12: + echo skipped +12: skipped +12: + trap - EXIT +12: + exit 0 + 3/357 Test #12: x86_64-x86_64_incompatible-libs2 ...........***Skipped 0.06 sec +test 15 + Start 15: x86_64-x86_64_init-array + +15: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_init-array.sh" +15: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +15: Environment variables: +15: MACHINE=x86_64 +15: CPU= +15: Test timeout computed to be: 1500 +15: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_init-array.sh +14: + '[' x86_64 = x86_64 ']' 1: + on_exit 1: + echo OK 1: OK 1: + exit 0 - 4/357 Test #1: x86_64-x86_64_empty-mergeable-section ...... Passed 0.24 sec +14: + cat +15: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc +15: ++ export LC_ALL=C +15: ++ LC_ALL=C + 4/357 Test #1: x86_64-x86_64_empty-mergeable-section ...... Passed 0.10 sec test 16 Start 16: x86_64-x86_64_large-bss @@ -2470,14 +2519,7 @@ 16: MACHINE=x86_64 16: CPU= 16: Test timeout computed to be: 1500 -15: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_init-array.sh -14: ++ testname=x86_64_init-array-readonly -14: ++ echo -n 'Testing x86_64_init-array-readonly ... ' -14: Testing x86_64_init-array-readonly ... ++ t=out/test/elf/x86_64/x86_64_init-array-readonly -14: ++ mkdir -p out/test/elf/x86_64/x86_64_init-array-readonly -15: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc -15: ++ export LC_ALL=C -15: ++ LC_ALL=C +14: + cc -c -o out/test/elf/x86_64/x86_64_init-array-readonly/a.o -x assembler - 15: ++ '[' -z x86_64 ']' 15: ++ '[' -z '' ']' 15: ++ TESTDIR=out/test/elf/x86_64 @@ -2494,18 +2536,17 @@ 15: ++ trap 'on_error $LINENO' ERR 15: ++ trap on_exit EXIT 15: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_init-array.sh .sh -4: + cat -4: + cc -o out/test/elf/x86_64/x86_64_endbr2/a.o -c -xc - -fno-function-sections -O -fcf-protection -3: + cat -3: + cc -o out/test/elf/x86_64/x86_64_endbr/a.o -c -xc - -ffunction-sections -O -fcf-protection -14: + '[' x86_64 = x86_64 ']' -14: + cat -14: + cc -c -o out/test/elf/x86_64/x86_64_init-array-readonly/a.o -x assembler - +7: + objdump -d out/test/elf/x86_64/x86_64_gnu-linkonce/exe 15: ++ testname=x86_64_init-array 15: ++ echo -n 'Testing x86_64_init-array ... ' 15: Testing x86_64_init-array ... ++ t=out/test/elf/x86_64/x86_64_init-array 15: ++ mkdir -p out/test/elf/x86_64/x86_64_init-array 16: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_large-bss.sh +3: + cat +3: + cc -o out/test/elf/x86_64/x86_64_endbr/b.o -c -xc - -ffunction-sections -O -fcf-protection +7: + objdump -d out/test/elf/x86_64/x86_64_gnu-linkonce/exe +7: + grep -A1 '<__x86.get_pc_thunk.bx>:' +7: + grep -Fq 'puts$plt' 16: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 16: ++ export LC_ALL=C 16: ++ LC_ALL=C @@ -2524,18 +2565,26 @@ 16: ++ tlsdesc_opt=-mtls-dialect=gnu2 16: ++ trap 'on_error $LINENO' ERR 16: ++ trap on_exit EXIT -14: + cat -14: + cc -c -o out/test/elf/x86_64/x86_64_init-array-readonly/b.o -x assembler - 15: + '[' x86_64 = x86_64 ']' -12: + skip -12: + echo skipped -12: skipped -12: + trap - EXIT -12: + exit 0 -16: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_large-bss.sh .sh 15: + cc -c -o out/test/elf/x86_64/x86_64_init-array/a.o -x assembler - +6: + grep -q 'GNU_STACK.* RWE ' +6: + readelf --segments -W out/test/elf/x86_64/x86_64_execstack-if-needed/exe 15: + cat - 5/357 Test #12: x86_64-x86_64_incompatible-libs2 ...........***Skipped 0.20 sec +16: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_large-bss.sh .sh +16: ++ testname=x86_64_large-bss +16: ++ echo -n 'Testing x86_64_large-bss ... ' +16: Testing x86_64_large-bss ... ++ t=out/test/elf/x86_64/x86_64_large-bss +16: ++ mkdir -p out/test/elf/x86_64/x86_64_large-bss +8: + nm out/test/elf/x86_64/x86_64_gnu-retain/exe1 +6: + on_exit +6: + echo OK +6: OK +6: + exit 0 +7: + on_exit +7: + echo OK +7: OK +7: + exit 0 + 5/357 Test #6: x86_64-x86_64_execstack-if-needed .......... Passed 0.10 sec test 17 Start 17: x86_64-x86_64_mergeable-records @@ -2545,15 +2594,43 @@ 17: MACHINE=x86_64 17: CPU= 17: Test timeout computed to be: 1500 -16: ++ testname=x86_64_large-bss -16: ++ echo -n 'Testing x86_64_large-bss ... ' -16: Testing x86_64_large-bss ... ++ t=out/test/elf/x86_64/x86_64_large-bss -16: ++ mkdir -p out/test/elf/x86_64/x86_64_large-bss -14: + sed -i -e s/init_xxxxx/init_array/g out/test/elf/x86_64/x86_64_init-array-readonly/b.o -17: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_mergeable-records.sh + 6/357 Test #7: x86_64-x86_64_gnu-linkonce ................. Passed 0.10 sec +test 18 + Start 18: x86_64-x86_64_mergeable-strings + +18: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_mergeable-strings.sh" +18: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +18: Environment variables: +18: MACHINE=x86_64 +18: CPU= +18: Test timeout computed to be: 1500 +16: + '[' x86_64 = x86_64 ']' +16: + cat +16: + cc -o out/test/elf/x86_64/x86_64_large-bss/a.o -c -xc - -mcmodel=large +14: + cc -c -o out/test/elf/x86_64/x86_64_init-array-readonly/b.o -x assembler - +14: + cat 15: + cc -c -o out/test/elf/x86_64/x86_64_init-array/b.o -xc - 15: + cat -16: + '[' x86_64 = x86_64 ']' +8: + grep -q foo +8: + cc -B. -o out/test/elf/x86_64/x86_64_gnu-retain/exe1 out/test/elf/x86_64/x86_64_gnu-retain/a.o out/test/elf/x86_64/x86_64_gnu-retain/c.o -Wl,-gc-sections +9: + out/test/elf/x86_64/x86_64_gotpcrelx/exe +9: 0 0 +9: + on_exit +9: + echo OK +9: OK +9: + exit 0 +17: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_mergeable-records.sh + 7/357 Test #9: x86_64-x86_64_gotpcrelx .................... Passed 0.09 sec +test 19 + Start 19: x86_64-x86_64_note-property + +19: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_note-property.sh" +19: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +19: Environment variables: +19: MACHINE=x86_64 +19: CPU= +19: Test timeout computed to be: 1500 +14: + sed -i -e s/init_xxxxx/init_array/g out/test/elf/x86_64/x86_64_init-array-readonly/b.o 17: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 17: ++ export LC_ALL=C 17: ++ LC_ALL=C @@ -2569,42 +2646,14 @@ 17: ++ STRIP=strip 17: ++ QEMU= 17: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' -16: + cc -o out/test/elf/x86_64/x86_64_large-bss/a.o -c -xc - -mcmodel=large 17: ++ tlsdesc_opt=-mtls-dialect=gnu2 17: ++ trap 'on_error $LINENO' ERR 17: ++ trap on_exit EXIT -16: + cat 17: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_mergeable-records.sh .sh 17: ++ testname=x86_64_mergeable-records 17: ++ echo -n 'Testing x86_64_mergeable-records ... ' 17: Testing x86_64_mergeable-records ... ++ t=out/test/elf/x86_64/x86_64_mergeable-records 17: ++ mkdir -p out/test/elf/x86_64/x86_64_mergeable-records -17: + '[' x86_64 = x86_64 ']' -17: + test_cflags -static -17: + echo 'int main() {}' -9: + cc -B. -o out/test/elf/x86_64/x86_64_gotpcrelx/exe out/test/elf/x86_64/x86_64_gotpcrelx/a.o out/test/elf/x86_64/x86_64_gotpcrelx/b.o -17: + cc -static -o /dev/null -xc - -8: + nm out/test/elf/x86_64/x86_64_gnu-retain/exe1 -7: + objdump -d out/test/elf/x86_64/x86_64_gnu-linkonce/exe -8: + grep -q foo out/test/elf/x86_64/x86_64_gnu-retain/log -8: + on_exit -8: + echo OK -8: OK -8: + exit 0 - 6/357 Test #8: x86_64-x86_64_gnu-retain ................... Passed 0.26 sec -test 18 - Start 18: x86_64-x86_64_mergeable-strings - -18: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_mergeable-strings.sh" -18: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -18: Environment variables: -18: MACHINE=x86_64 -18: CPU= -18: Test timeout computed to be: 1500 -3: + cc -o out/test/elf/x86_64/x86_64_endbr/b.o -c -xc - -ffunction-sections -O -fcf-protection -3: + cat -4: + cat -4: + cc -o out/test/elf/x86_64/x86_64_endbr2/b.o -c -xc - -fno-function-sections -O -fcf-protection 18: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_mergeable-strings.sh 18: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 18: ++ export LC_ALL=C @@ -2625,40 +2674,27 @@ 18: ++ trap 'on_error $LINENO' ERR 18: ++ trap on_exit EXIT 18: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_mergeable-strings.sh .sh -9: + out/test/elf/x86_64/x86_64_gotpcrelx/exe -14: + cc -c -o out/test/elf/x86_64/x86_64_init-array-readonly/c.o -xc - -9: 0 0 -14: + cat -9: + on_exit -9: + echo OK -9: OK -9: + exit 0 - 7/357 Test #9: x86_64-x86_64_gotpcrelx .................... Passed 0.28 sec -test 19 - Start 19: x86_64-x86_64_note-property - -19: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_note-property.sh" -19: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -19: Environment variables: -19: MACHINE=x86_64 -19: CPU= -19: Test timeout computed to be: 1500 +17: + '[' x86_64 = x86_64 ']' +17: + test_cflags -static +17: + echo 'int main() {}' 18: ++ testname=x86_64_mergeable-strings 18: ++ echo -n 'Testing x86_64_mergeable-strings ... ' 18: Testing x86_64_mergeable-strings ... ++ t=out/test/elf/x86_64/x86_64_mergeable-strings 18: ++ mkdir -p out/test/elf/x86_64/x86_64_mergeable-strings -15: + cc -B. -o out/test/elf/x86_64/x86_64_init-array/exe out/test/elf/x86_64/x86_64_init-array/a.o out/test/elf/x86_64/x86_64_init-array/b.o -16: + cat -16: + cc -o out/test/elf/x86_64/x86_64_large-bss/b.o -c -xc - -mcmodel=large -18: + test_cflags -static -18: + cc -static -o /dev/null -xc - -18: + echo 'int main() {}' +17: + cc -static -o /dev/null -xc - +14: + cc -c -o out/test/elf/x86_64/x86_64_init-array-readonly/c.o -xc - +14: + cat +19: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_note-property.sh 13: + skip 13: + echo skipped 13: skipped 13: + trap - EXIT 13: + exit 0 - 8/357 Test #13: x86_64-x86_64_incompatible-obj .............***Skipped 0.16 sec +18: + test_cflags -static +18: + echo 'int main() {}' +18: + cc -static -o /dev/null -xc - +4: + cc -B. -o out/test/elf/x86_64/x86_64_endbr2/exe1 out/test/elf/x86_64/x86_64_endbr2/a.o out/test/elf/x86_64/x86_64_endbr2/b.o + 8/357 Test #13: x86_64-x86_64_incompatible-obj .............***Skipped 0.06 sec test 20 Start 20: x86_64-x86_64_note-property2 @@ -2668,7 +2704,6 @@ 20: MACHINE=x86_64 20: CPU= 20: Test timeout computed to be: 1500 -19: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_note-property.sh 19: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 19: ++ export LC_ALL=C 19: ++ LC_ALL=C @@ -2687,32 +2722,12 @@ 19: ++ tlsdesc_opt=-mtls-dialect=gnu2 19: ++ trap 'on_error $LINENO' ERR 19: ++ trap on_exit EXIT -7: + objdump -d out/test/elf/x86_64/x86_64_gnu-linkonce/exe -7: + grep -A1 '<__x86.get_pc_thunk.bx>:' -7: + grep -Fq 'puts$plt' 19: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_note-property.sh .sh 19: ++ testname=x86_64_note-property 19: ++ echo -n 'Testing x86_64_note-property ... ' 19: Testing x86_64_note-property ... ++ t=out/test/elf/x86_64/x86_64_note-property 19: ++ mkdir -p out/test/elf/x86_64/x86_64_note-property -19: + '[' x86_64 = x86_64 ']' -19: + echo endbr64 -19: + cc -o /dev/null -c -xassembler - -7: + on_exit -7: + echo OK -7: OK -7: + exit 0 20: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_note-property2.sh - 9/357 Test #7: x86_64-x86_64_gnu-linkonce ................. Passed 0.32 sec -test 21 - Start 21: x86_64-x86_64_note - -21: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_note.sh" -21: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -21: Environment variables: -21: MACHINE=x86_64 -21: CPU= -21: Test timeout computed to be: 1500 20: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 20: ++ export LC_ALL=C 20: ++ LC_ALL=C @@ -2732,14 +2747,43 @@ 20: ++ trap 'on_error $LINENO' ERR 20: ++ trap on_exit EXIT 20: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_note-property2.sh .sh +19: + '[' x86_64 = x86_64 ']' +3: + cc -B. -o out/test/elf/x86_64/x86_64_endbr/exe1 out/test/elf/x86_64/x86_64_endbr/a.o out/test/elf/x86_64/x86_64_endbr/b.o +19: + echo endbr64 20: ++ testname=x86_64_note-property2 20: ++ echo -n 'Testing x86_64_note-property2 ... ' 20: Testing x86_64_note-property2 ... ++ t=out/test/elf/x86_64/x86_64_note-property2 20: ++ mkdir -p out/test/elf/x86_64/x86_64_note-property2 +19: + cc -o /dev/null -c -xassembler - 20: + grep -q __tsan_init +10: + c++ -o out/test/elf/x86_64/x86_64_ifunc-alias/a.o -c -xc++ - -fno-PIE 19: + cc -fcf-protection=branch -c /dev/null -o /dev/null -xc +10: + cat 20: + nm mold +15: + cc -B. -o out/test/elf/x86_64/x86_64_init-array/exe out/test/elf/x86_64/x86_64_init-array/a.o out/test/elf/x86_64/x86_64_init-array/b.o +8: + nm out/test/elf/x86_64/x86_64_gnu-retain/exe1 +19: + cc -fcf-protection=branch -c -o out/test/elf/x86_64/x86_64_note-property/a.o -xc - +16: + cat +19: + cat +16: + cc -o out/test/elf/x86_64/x86_64_large-bss/b.o -c -xc - -mcmodel=large +8: + grep -q foo out/test/elf/x86_64/x86_64_gnu-retain/log +8: + on_exit +8: + echo OK +8: OK +8: + exit 0 + 9/357 Test #8: x86_64-x86_64_gnu-retain ................... Passed 0.13 sec +test 21 + Start 21: x86_64-x86_64_note + +21: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_note.sh" +21: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +21: Environment variables: +21: MACHINE=x86_64 +21: CPU= +21: Test timeout computed to be: 1500 +4: + objdump -dr out/test/elf/x86_64/x86_64_endbr2/exe1 21: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_note.sh +3: + objdump -dr out/test/elf/x86_64/x86_64_endbr/exe1 21: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 21: ++ export LC_ALL=C 21: ++ LC_ALL=C @@ -2758,21 +2802,41 @@ 21: ++ tlsdesc_opt=-mtls-dialect=gnu2 21: ++ trap 'on_error $LINENO' ERR 21: ++ trap on_exit EXIT -19: + cc -fcf-protection=branch -c -o out/test/elf/x86_64/x86_64_note-property/a.o -xc - 21: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_note.sh .sh -19: + cat -15: + grep -q 'init1 init2 fini2 fini1' -4: + cc -B. -o out/test/elf/x86_64/x86_64_endbr2/exe1 out/test/elf/x86_64/x86_64_endbr2/a.o out/test/elf/x86_64/x86_64_endbr2/b.o 21: ++ testname=x86_64_note 21: ++ echo -n 'Testing x86_64_note ... ' 21: Testing x86_64_note ... ++ t=out/test/elf/x86_64/x86_64_note 21: ++ mkdir -p out/test/elf/x86_64/x86_64_note +4: + grep -A1 ':' out/test/elf/x86_64/x86_64_endbr2/log1 +4: + grep -q endbr64 +14: + cc -B. -o out/test/elf/x86_64/x86_64_init-array-readonly/exe out/test/elf/x86_64/x86_64_init-array-readonly/a.o out/test/elf/x86_64/x86_64_init-array-readonly/b.o out/test/elf/x86_64/x86_64_init-array-readonly/c.o +21: + test_cflags -static +4: + grep -q endbr64 +4: + grep -A1 ':' out/test/elf/x86_64/x86_64_endbr2/log1 +3: + grep -A1 ':' out/test/elf/x86_64/x86_64_endbr/log1 +3: + grep -q endbr64 +4: + grep -q endbr64 +16: + cc -B. -o out/test/elf/x86_64/x86_64_large-bss/exe out/test/elf/x86_64/x86_64_large-bss/a.o out/test/elf/x86_64/x86_64_large-bss/b.o +3: + grep -q endbr64 +4: + grep -A1 '
:' out/test/elf/x86_64/x86_64_endbr2/log1 +3: + grep -A1 ':' out/test/elf/x86_64/x86_64_endbr/log1 +3: + grep -A1 '
:' out/test/elf/x86_64/x86_64_endbr/log1 +3: + grep -q endbr64 +4: + cc -B. -o out/test/elf/x86_64/x86_64_endbr2/exe2 out/test/elf/x86_64/x86_64_endbr2/a.o out/test/elf/x86_64/x86_64_endbr2/b.o -Wl,-z,rewrite-endbr +21: + echo 'int main() {}' +3: + cc -B. -o out/test/elf/x86_64/x86_64_endbr/exe2 out/test/elf/x86_64/x86_64_endbr/a.o out/test/elf/x86_64/x86_64_endbr/b.o -Wl,-z,rewrite-endbr +21: + cc -static -o /dev/null -xc - +5: + c++ -B. -o out/test/elf/x86_64/x86_64_exception-mcmodel-large/exe out/test/elf/x86_64/x86_64_exception-mcmodel-large/a.o -static -mcmodel=large +10: + c++ -B. -o out/test/elf/x86_64/x86_64_ifunc-alias/exe out/test/elf/x86_64/x86_64_ifunc-alias/a.o -static +19: + cat +19: + cc -fcf-protection=none -c -o out/test/elf/x86_64/x86_64_note-property/b.o -xc - 15: + out/test/elf/x86_64/x86_64_init-array/exe +15: + grep -q 'init1 init2 fini2 fini1' 15: + on_exit 15: + echo OK 15: OK 15: + exit 0 - 10/357 Test #15: x86_64-x86_64_init-array ................... Passed 0.15 sec + 10/357 Test #15: x86_64-x86_64_init-array ................... Passed 0.09 sec test 22 Start 22: x86_64-x86_64_note2 @@ -2782,10 +2846,27 @@ 22: MACHINE=x86_64 22: CPU= 22: Test timeout computed to be: 1500 -21: + test_cflags -static -21: + cc -static -o /dev/null -xc - -21: + echo 'int main() {}' -3: + cc -B. -o out/test/elf/x86_64/x86_64_endbr/exe1 out/test/elf/x86_64/x86_64_endbr/a.o out/test/elf/x86_64/x86_64_endbr/b.o +14: + out/test/elf/x86_64/x86_64_init-array-readonly/exe +14: + grep -q 'init1 init2' +14: + on_exit +14: + echo OK +14: OK +14: + exit 0 + 11/357 Test #14: x86_64-x86_64_init-array-readonly .......... Passed 0.11 sec +test 23 + Start 23: x86_64-x86_64_plt + +23: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_plt.sh" +23: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +23: Environment variables: +23: MACHINE=x86_64 +23: CPU= +23: Test timeout computed to be: 1500 +3: + objdump -dr out/test/elf/x86_64/x86_64_endbr/exe2 +3: + grep -q nop +18: + '[' x86_64 = x86_64 ']' +18: + cat +18: + cc -o out/test/elf/x86_64/x86_64_mergeable-strings/a.o -c -x assembler - 22: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_note2.sh 22: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 22: ++ export LC_ALL=C @@ -2805,75 +2886,23 @@ 22: ++ tlsdesc_opt=-mtls-dialect=gnu2 22: ++ trap 'on_error $LINENO' ERR 22: ++ trap on_exit EXIT -16: + cc -B. -o out/test/elf/x86_64/x86_64_large-bss/exe out/test/elf/x86_64/x86_64_large-bss/a.o out/test/elf/x86_64/x86_64_large-bss/b.o 22: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_note2.sh .sh 22: ++ testname=x86_64_note2 22: ++ echo -n 'Testing x86_64_note2 ... ' 22: Testing x86_64_note2 ... ++ t=out/test/elf/x86_64/x86_64_note2 22: ++ mkdir -p out/test/elf/x86_64/x86_64_note2 -4: + objdump -dr out/test/elf/x86_64/x86_64_endbr2/exe1 -22: + '[' x86_64 = x86_64 ']' -22: + test_cflags -Xassembler -mx86-used-note=no -22: + echo 'int main() {}' -4: + grep -A1 ':' out/test/elf/x86_64/x86_64_endbr2/log1 -4: + grep -q endbr64 -22: + cc -Xassembler -mx86-used-note=no -o /dev/null -xc - -4: + grep -q endbr64 -14: + cc -B. -o out/test/elf/x86_64/x86_64_init-array-readonly/exe out/test/elf/x86_64/x86_64_init-array-readonly/a.o out/test/elf/x86_64/x86_64_init-array-readonly/b.o out/test/elf/x86_64/x86_64_init-array-readonly/c.o -4: + grep -A1 ':' out/test/elf/x86_64/x86_64_endbr2/log1 -4: + grep -A1 '
:' out/test/elf/x86_64/x86_64_endbr2/log1 -4: + grep -q endbr64 -4: + cc -B. -o out/test/elf/x86_64/x86_64_endbr2/exe2 out/test/elf/x86_64/x86_64_endbr2/a.o out/test/elf/x86_64/x86_64_endbr2/b.o -Wl,-z,rewrite-endbr -19: + cat -19: + cc -fcf-protection=none -c -o out/test/elf/x86_64/x86_64_note-property/b.o -xc - -3: + objdump -dr out/test/elf/x86_64/x86_64_endbr/exe1 -3: + grep -q endbr64 -3: + grep -A1 ':' out/test/elf/x86_64/x86_64_endbr/log1 -3: + grep -A1 ':' out/test/elf/x86_64/x86_64_endbr/log1 -3: + grep -q endbr64 -3: + grep -A1 '
:' out/test/elf/x86_64/x86_64_endbr/log1 -3: + grep -q endbr64 -4: + objdump -dr out/test/elf/x86_64/x86_64_endbr2/exe2 16: + out/test/elf/x86_64/x86_64_large-bss/exe -14: + out/test/elf/x86_64/x86_64_init-array-readonly/exe -14: + grep -q 'init1 init2' -4: + grep -A1 ':' out/test/elf/x86_64/x86_64_endbr2/log2 -3: + cc -B. -o out/test/elf/x86_64/x86_64_endbr/exe2 out/test/elf/x86_64/x86_64_endbr/a.o out/test/elf/x86_64/x86_64_endbr/b.o -Wl,-z,rewrite-endbr -14: + on_exit -14: + echo OK -14: OK -14: + exit 0 - 11/357 Test #14: x86_64-x86_64_init-array-readonly .......... Passed 0.24 sec -test 23 - Start 23: x86_64-x86_64_plt - -23: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_plt.sh" -23: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -23: Environment variables: -23: MACHINE=x86_64 -23: CPU= -23: Test timeout computed to be: 1500 -4: + grep -q nop -4: + grep -A1 ':' out/test/elf/x86_64/x86_64_endbr2/log2 -4: + grep -q nop 16: + grep -Eq '^1 c0000000$' 16: + on_exit 16: + echo OK 16: OK 16: + exit 0 - 12/357 Test #16: x86_64-x86_64_large-bss .................... Passed 0.23 sec -test 24 - Start 24: x86_64-x86_64_preinit-array - -24: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_preinit-array.sh" -24: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -24: Environment variables: -24: MACHINE=x86_64 -24: CPU= -24: Test timeout computed to be: 1500 +4: + objdump -dr out/test/elf/x86_64/x86_64_endbr2/exe2 +4: + grep -q nop +17: + cc -o out/test/elf/x86_64/x86_64_mergeable-records/a.o -c -x assembler - +17: + cat +17: + cc -B. -static -o out/test/elf/x86_64/x86_64_mergeable-records/exe out/test/elf/x86_64/x86_64_mergeable-records/a.o 23: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_plt.sh -4: + grep -q endbr64 -4: + grep -A1 '
:' out/test/elf/x86_64/x86_64_endbr2/log2 23: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 23: ++ export LC_ALL=C 23: ++ LC_ALL=C @@ -2892,31 +2921,44 @@ 23: ++ tlsdesc_opt=-mtls-dialect=gnu2 23: ++ trap 'on_error $LINENO' ERR 23: ++ trap on_exit EXIT -4: + on_exit -4: + echo OK -4: OK -4: + exit 0 - 13/357 Test #4: x86_64-x86_64_endbr2 ....................... Passed 0.46 sec -test 25 - Start 25: x86_64-x86_64_relax + 12/357 Test #16: x86_64-x86_64_large-bss .................... Passed 0.10 sec +test 24 + Start 24: x86_64-x86_64_preinit-array -25: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_relax.sh" -25: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -25: Environment variables: -25: MACHINE=x86_64 -25: CPU= -25: Test timeout computed to be: 1500 +24: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_preinit-array.sh" +24: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +24: Environment variables: +24: MACHINE=x86_64 +24: CPU= +24: Test timeout computed to be: 1500 +3: + grep -A1 ':' out/test/elf/x86_64/x86_64_endbr/log2 +3: + grep -A1 ':' out/test/elf/x86_64/x86_64_endbr/log2 +3: + grep -q nop +3: + grep -A1 '
:' out/test/elf/x86_64/x86_64_endbr/log2 +3: + grep -q endbr64 +18: + cc -B. -static -o out/test/elf/x86_64/x86_64_mergeable-strings/exe out/test/elf/x86_64/x86_64_mergeable-strings/a.o +22: + '[' x86_64 = x86_64 ']' +22: + test_cflags -Xassembler -mx86-used-note=no +22: + cc -Xassembler -mx86-used-note=no -o /dev/null -xc - +22: + echo 'int main() {}' +4: + grep -A1 ':' out/test/elf/x86_64/x86_64_endbr2/log2 +4: + grep -A1 ':' out/test/elf/x86_64/x86_64_endbr2/log2 +4: + grep -q nop 23: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_plt.sh .sh -24: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_preinit-array.sh 23: ++ testname=x86_64_plt 23: ++ echo -n 'Testing x86_64_plt ... ' 23: Testing x86_64_plt ... ++ t=out/test/elf/x86_64/x86_64_plt 23: ++ mkdir -p out/test/elf/x86_64/x86_64_plt +23: + '[' x86_64 = x86_64 ']' +23: + cat +23: + cc -o out/test/elf/x86_64/x86_64_plt/a.o -c -x assembler - 19: + ./mold -o out/test/elf/x86_64/x86_64_note-property/exe out/test/elf/x86_64/x86_64_note-property/a.o +24: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_preinit-array.sh 24: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 24: ++ export LC_ALL=C 24: ++ LC_ALL=C 24: ++ '[' -z x86_64 ']' +4: + grep -A1 '
:' out/test/elf/x86_64/x86_64_endbr2/log2 24: ++ '[' -z '' ']' 24: ++ TESTDIR=out/test/elf/x86_64 24: ++ CC=cc @@ -2931,19 +2973,48 @@ 24: ++ tlsdesc_opt=-mtls-dialect=gnu2 24: ++ trap 'on_error $LINENO' ERR 24: ++ trap on_exit EXIT -23: + '[' x86_64 = x86_64 ']' -23: + cc -o out/test/elf/x86_64/x86_64_plt/a.o -c -x assembler - -23: + cat -3: + objdump -dr out/test/elf/x86_64/x86_64_endbr/exe2 -25: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_relax.sh +4: + grep -q endbr64 +4: + on_exit +4: + echo OK +4: OK +4: + exit 0 +23: + cc -B. -o out/test/elf/x86_64/x86_64_plt/exe out/test/elf/x86_64/x86_64_plt/a.o +19: + grep -q 'x86 feature: IBT' + 13/357 Test #4: x86_64-x86_64_endbr2 ....................... Passed 0.20 sec +test 25 + Start 25: x86_64-x86_64_relax + +25: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_relax.sh" +25: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +25: Environment variables: +25: MACHINE=x86_64 +25: CPU= +25: Test timeout computed to be: 1500 +19: + readelf -n out/test/elf/x86_64/x86_64_note-property/exe +19: + ./mold -o out/test/elf/x86_64/x86_64_note-property/exe out/test/elf/x86_64/x86_64_note-property/b.o +3: + on_exit +3: + echo OK +3: OK +3: + exit 0 + 14/357 Test #3: x86_64-x86_64_endbr ........................ Passed 0.21 sec +test 26 + Start 26: x86_64-x86_64_reloc-overflow + +26: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_reloc-overflow.sh" +26: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +26: Environment variables: +26: MACHINE=x86_64 +26: CPU= +26: Test timeout computed to be: 1500 24: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_preinit-array.sh .sh -25: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 24: ++ testname=x86_64_preinit-array 24: ++ echo -n 'Testing x86_64_preinit-array ... ' -25: ++ export LC_ALL=C -25: ++ LC_ALL=C 24: Testing x86_64_preinit-array ... ++ t=out/test/elf/x86_64/x86_64_preinit-array 24: ++ mkdir -p out/test/elf/x86_64/x86_64_preinit-array +25: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_relax.sh +25: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc +25: ++ export LC_ALL=C +25: ++ LC_ALL=C 25: ++ '[' -z x86_64 ']' 25: ++ '[' -z '' ']' 25: ++ TESTDIR=out/test/elf/x86_64 @@ -2959,73 +3030,14 @@ 25: ++ tlsdesc_opt=-mtls-dialect=gnu2 25: ++ trap 'on_error $LINENO' ERR 25: ++ trap on_exit EXIT -25: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_relax.sh .sh -24: + is_musl -24: + ldd --help -3: + grep -A1 ':' out/test/elf/x86_64/x86_64_endbr/log2 -24: + grep -q musl -23: + cc -B. -o out/test/elf/x86_64/x86_64_plt/exe out/test/elf/x86_64/x86_64_plt/a.o -19: + readelf -n out/test/elf/x86_64/x86_64_note-property/exe -19: + grep -q 'x86 feature: IBT' -3: + grep -q nop -25: ++ testname=x86_64_relax -25: ++ echo -n 'Testing x86_64_relax ... ' -25: Testing x86_64_relax ... ++ t=out/test/elf/x86_64/x86_64_relax -25: ++ mkdir -p out/test/elf/x86_64/x86_64_relax -19: + ./mold -o out/test/elf/x86_64/x86_64_note-property/exe out/test/elf/x86_64/x86_64_note-property/b.o -24: + '[' x86_64 = x86_64 ']' -3: + grep -q nop -3: + grep -A1 ':' out/test/elf/x86_64/x86_64_endbr/log2 -24: + cat -24: + cc -c -o out/test/elf/x86_64/x86_64_preinit-array/a.o -x assembler - -25: + '[' x86_64 = x86_64 ']' -3: + grep -A1 '
:' out/test/elf/x86_64/x86_64_endbr/log2 -25: + cc -c -o /dev/null -xassembler -Wa,-mrelax-relocations=yes - -3: + grep -q endbr64 -25: + echo ret -3: + on_exit -3: + echo OK -3: OK -3: + exit 0 - 14/357 Test #3: x86_64-x86_64_endbr ........................ Passed 0.51 sec -test 26 - Start 26: x86_64-x86_64_reloc-overflow - -26: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_reloc-overflow.sh" -26: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -26: Environment variables: -26: MACHINE=x86_64 -26: CPU= -26: Test timeout computed to be: 1500 -24: + cc -c -o out/test/elf/x86_64/x86_64_preinit-array/b.o -xc - -24: + cat -25: + cat -25: + cc -o out/test/elf/x86_64/x86_64_relax/a.o -c -x assembler -Wa,-mrelax-relocations=yes - -19: + grep -q 'x86 feature: IBT' -19: + readelf -n out/test/elf/x86_64/x86_64_note-property/exe 26: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_reloc-overflow.sh -22: + CFLAGS='-Xassembler -mx86-used-note=no' -19: + on_exit -19: + echo OK -19: OK -19: + exit 0 +24: + is_musl 26: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 26: ++ export LC_ALL=C 26: ++ LC_ALL=C 26: ++ '[' -z x86_64 ']' -22: + cat 26: ++ '[' -z '' ']' 26: ++ TESTDIR=out/test/elf/x86_64 - 15/357 Test #19: x86_64-x86_64_note-property ................ Passed 0.20 sec -test 27 - Start 27: x86_64-x86_64_reloc-zero - -27: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_reloc-zero.sh" -27: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -27: Environment variables: -27: MACHINE=x86_64 -27: CPU= -27: Test timeout computed to be: 1500 26: ++ CC=cc 26: ++ CXX=c++ 26: ++ GCC=gcc @@ -3038,25 +3050,62 @@ 26: ++ tlsdesc_opt=-mtls-dialect=gnu2 26: ++ trap 'on_error $LINENO' ERR 26: ++ trap on_exit EXIT +25: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_relax.sh .sh +25: ++ testname=x86_64_relax +25: ++ echo -n 'Testing x86_64_relax ... ' +25: Testing x86_64_relax ... ++ t=out/test/elf/x86_64/x86_64_relax +25: ++ mkdir -p out/test/elf/x86_64/x86_64_relax 26: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_reloc-overflow.sh .sh +25: + '[' x86_64 = x86_64 ']' +25: + cc -c -o /dev/null -xassembler -Wa,-mrelax-relocations=yes - +25: + echo ret +19: + grep -q 'x86 feature: IBT' +19: + readelf -n out/test/elf/x86_64/x86_64_note-property/exe 26: ++ testname=x86_64_reloc-overflow 26: ++ echo -n 'Testing x86_64_reloc-overflow ... ' 26: Testing x86_64_reloc-overflow ... ++ t=out/test/elf/x86_64/x86_64_reloc-overflow 26: ++ mkdir -p out/test/elf/x86_64/x86_64_reloc-overflow -22: + cc -Xassembler -mx86-used-note=no -o out/test/elf/x86_64/x86_64_note2/a.o -c -x assembler - -25: + cat -25: + cc -o out/test/elf/x86_64/x86_64_relax/b.o -c -xc - -22: + cc -Xassembler -mx86-used-note=no -o out/test/elf/x86_64/x86_64_note2/b.o -c -x assembler - -27: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_reloc-zero.sh +24: + ldd --help +24: + grep -q musl +24: + '[' x86_64 = x86_64 ']' +24: + cat +24: + cc -c -o out/test/elf/x86_64/x86_64_preinit-array/a.o -x assembler - +19: + on_exit +19: + echo OK +19: OK +19: + exit 0 + 15/357 Test #19: x86_64-x86_64_note-property ................ Passed 0.12 sec +test 27 + Start 27: x86_64-x86_64_reloc-zero + +27: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_reloc-zero.sh" +27: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +27: Environment variables: +27: MACHINE=x86_64 +27: CPU= +27: Test timeout computed to be: 1500 26: + '[' x86_64 = x86_64 ']' -26: + cc -o out/test/elf/x86_64/x86_64_reloc-overflow/a.o -c -x assembler - -22: + cat 26: + cat +26: + cc -o out/test/elf/x86_64/x86_64_reloc-overflow/a.o -c -x assembler - +5: + out/test/elf/x86_64/x86_64_exception-mcmodel-large/exe +5: + on_exit +5: + echo OK +5: OK +5: + exit 0 + 16/357 Test #5: x86_64-x86_64_exception-mcmodel-large ...... Passed 0.23 sec +test 28 + Start 28: x86_64-x86_64_reloc + +28: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_reloc.sh" +28: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +28: Environment variables: +28: MACHINE=x86_64 +28: CPU= +28: Test timeout computed to be: 1500 +24: + cc -c -o out/test/elf/x86_64/x86_64_preinit-array/b.o -xc - +24: + cat +27: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_reloc-zero.sh 27: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc -20: + '[' x86_64 = x86_64 ']' -20: + test_cflags -Xassembler -mx86-used-note=no -20: + echo 'int main() {}' -20: + cc -Xassembler -mx86-used-note=no -o /dev/null -xc - 27: ++ export LC_ALL=C 27: ++ LC_ALL=C 27: ++ '[' -z x86_64 ']' @@ -3074,47 +3123,58 @@ 27: ++ tlsdesc_opt=-mtls-dialect=gnu2 27: ++ trap 'on_error $LINENO' ERR 27: ++ trap on_exit EXIT +28: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_reloc.sh +28: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc +28: ++ export LC_ALL=C +28: ++ LC_ALL=C +28: ++ '[' -z x86_64 ']' +28: ++ '[' -z '' ']' +28: ++ TESTDIR=out/test/elf/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: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' +28: ++ tlsdesc_opt=-mtls-dialect=gnu2 +28: ++ trap 'on_error $LINENO' ERR +28: ++ trap on_exit EXIT +28: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_reloc.sh .sh 26: + ./mold -e foo -o out/test/elf/x86_64/x86_64_reloc-overflow/exe out/test/elf/x86_64/x86_64_reloc-overflow/a.o -23: + grep -Fq .got -22: + cat -23: + readelf --sections out/test/elf/x86_64/x86_64_plt/exe -22: + cc -Xassembler -mx86-used-note=no -o out/test/elf/x86_64/x86_64_note2/c.o -c -x assembler - +28: ++ testname=x86_64_reloc +28: ++ echo -n 'Testing x86_64_reloc ... ' +28: Testing x86_64_reloc ... ++ t=out/test/elf/x86_64/x86_64_reloc +28: ++ mkdir -p out/test/elf/x86_64/x86_64_reloc +21: + '[' x86_64 = x86_64 ']' +21: + test_cflags -Xassembler -mx86-used-note=no +28: + '[' x86_64 = x86_64 ']' +21: + echo 'int main() {}' +21: + cc -Xassembler -mx86-used-note=no -o /dev/null -xc - +28: + cat 27: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_reloc-zero.sh .sh +18: + out/test/elf/x86_64/x86_64_mergeable-strings/exe +25: + cc -o out/test/elf/x86_64/x86_64_relax/a.o -c -x assembler -Wa,-mrelax-relocations=yes - +17: + grep -q '^abcdef$' +18: + grep -q 'Hello world' +17: + out/test/elf/x86_64/x86_64_mergeable-records/exe +17: + grep -q '^bcdef$' +10: + out/test/elf/x86_64/x86_64_ifunc-alias/exe +10: + on_exit +10: + echo OK +10: OK +10: + exit 0 27: ++ testname=x86_64_reloc-zero 27: ++ echo -n 'Testing x86_64_reloc-zero ... ' 27: Testing x86_64_reloc-zero ... ++ t=out/test/elf/x86_64/x86_64_reloc-zero 27: ++ mkdir -p out/test/elf/x86_64/x86_64_reloc-zero -22: + cc -Xassembler -mx86-used-note=no -o out/test/elf/x86_64/x86_64_note2/d.o -c -xc - -23: + grep -Fq .got.plt -23: + readelf --sections out/test/elf/x86_64/x86_64_plt/exe -22: + cat -27: + '[' x86_64 = x86_64 ']' -23: + grep -q 'Hello world' -27: + cat -23: + out/test/elf/x86_64/x86_64_plt/exe -27: + cc -o out/test/elf/x86_64/x86_64_reloc-zero/a.o -c -x assembler - -23: + on_exit -23: + echo OK -23: OK -23: + exit 0 - 16/357 Test #23: x86_64-x86_64_plt .......................... Passed 0.10 sec -test 28 - Start 28: x86_64-x86_64_reloc - -28: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_reloc.sh" -28: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -28: Environment variables: -28: MACHINE=x86_64 -28: CPU= -28: Test timeout computed to be: 1500 26: + grep -Fq 'relocation R_X86_64_16 against foo out of range' out/test/elf/x86_64/x86_64_reloc-overflow/log -26: + on_exit -26: + echo OK -26: OK -26: + exit 0 -27: + cc -o out/test/elf/x86_64/x86_64_reloc-zero/b.o -c -xc - -27: + cat - 17/357 Test #26: x86_64-x86_64_reloc-overflow ............... Passed 0.06 sec +17: + out/test/elf/x86_64/x86_64_mergeable-records/exe +23: + readelf --sections out/test/elf/x86_64/x86_64_plt/exe +23: + grep -Fq .got + 17/357 Test #10: x86_64-x86_64_ifunc-alias .................. Passed 0.23 sec test 29 Start 29: x86_64-x86_64_section-alignment @@ -3124,8 +3184,50 @@ 29: MACHINE=x86_64 29: CPU= 29: Test timeout computed to be: 1500 +17: + out/test/elf/x86_64/x86_64_mergeable-records/exe +17: + grep -q '^ijkl$' +17: + grep -q '^pqr$' +17: + out/test/elf/x86_64/x86_64_mergeable-records/exe +23: + readelf --sections out/test/elf/x86_64/x86_64_plt/exe +23: + grep -Fq .got.plt +28: + cc -fPIC -c -o out/test/elf/x86_64/x86_64_reloc/a.o -x assembler - +27: + '[' x86_64 = x86_64 ']' +27: + cc -o out/test/elf/x86_64/x86_64_reloc-zero/a.o -c -x assembler - +27: + cat +26: + on_exit +26: + echo OK +26: OK +26: + exit 0 +18: + grep -Eq '[0-9] foo$' + 18/357 Test #26: x86_64-x86_64_reloc-overflow ............... Passed 0.05 sec +test 30 + Start 30: x86_64-x86_64_section-name + +30: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_section-name.sh" +30: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +30: Environment variables: +30: MACHINE=x86_64 +30: CPU= +30: Test timeout computed to be: 1500 +17: + out/test/elf/x86_64/x86_64_mergeable-records/exe +17: + grep -q '^mnopqr$' +17: + on_exit +17: + echo OK +17: OK +17: + exit 0 +23: + out/test/elf/x86_64/x86_64_plt/exe +23: + grep -q 'Hello world' +23: + on_exit +23: + echo OK +23: OK +23: + exit 0 +28: + cc -fPIC -c -o out/test/elf/x86_64/x86_64_reloc/b.o -xc - +18: + readelf -sW out/test/elf/x86_64/x86_64_mergeable-strings/exe +18: + on_exit +18: + echo OK +18: OK +18: + exit 0 29: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_section-alignment.sh -28: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_reloc.sh 29: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 29: ++ export LC_ALL=C 29: ++ LC_ALL=C @@ -3144,68 +3246,55 @@ 29: ++ tlsdesc_opt=-mtls-dialect=gnu2 29: ++ trap 'on_error $LINENO' ERR 29: ++ trap on_exit EXIT -28: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc -28: ++ export LC_ALL=C -28: ++ LC_ALL=C -28: ++ '[' -z x86_64 ']' -28: ++ '[' -z '' ']' -28: ++ TESTDIR=out/test/elf/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: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' -28: ++ tlsdesc_opt=-mtls-dialect=gnu2 -28: ++ trap 'on_error $LINENO' ERR -28: ++ trap on_exit EXIT +25: + cat + 19/357 Test #18: x86_64-x86_64_mergeable-strings ............ Passed 0.15 sec +test 31 + Start 31: x86_64-x86_64_tls-gd-mcmodel-large + +31: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_tls-gd-mcmodel-large.sh" +31: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +31: Environment variables: +31: MACHINE=x86_64 +31: CPU= +31: Test timeout computed to be: 1500 + 20/357 Test #23: x86_64-x86_64_plt .......................... Passed 0.08 sec +test 32 + Start 32: x86_64-x86_64_tls-gd-to-ie + +32: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_tls-gd-to-ie.sh" +32: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +32: Environment variables: +32: MACHINE=x86_64 +32: CPU= +32: Test timeout computed to be: 1500 + 21/357 Test #17: x86_64-x86_64_mergeable-records ............ Passed 0.16 sec +test 33 + Start 33: x86_64-x86_64_tls-large-tbss + +33: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_tls-large-tbss.sh" +33: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +33: Environment variables: +33: MACHINE=x86_64 +33: CPU= +33: Test timeout computed to be: 1500 +28: + cat 29: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_section-alignment.sh .sh 29: ++ testname=x86_64_section-alignment 29: ++ echo -n 'Testing x86_64_section-alignment ... ' 29: Testing x86_64_section-alignment ... ++ t=out/test/elf/x86_64/x86_64_section-alignment 29: ++ mkdir -p out/test/elf/x86_64/x86_64_section-alignment -25: + cc -B. -o out/test/elf/x86_64/x86_64_relax/exe out/test/elf/x86_64/x86_64_relax/a.o out/test/elf/x86_64/x86_64_relax/b.o -28: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_reloc.sh .sh -28: ++ testname=x86_64_reloc -28: ++ echo -n 'Testing x86_64_reloc ... ' -28: Testing x86_64_reloc ... ++ t=out/test/elf/x86_64/x86_64_reloc -28: ++ mkdir -p out/test/elf/x86_64/x86_64_reloc 29: + '[' x86_64 = x86_64 ']' -28: + '[' x86_64 = x86_64 ']' -28: + cc -fPIC -c -o out/test/elf/x86_64/x86_64_reloc/a.o -x assembler - -22: + ./mold -o out/test/elf/x86_64/x86_64_note2/exe out/test/elf/x86_64/x86_64_note2/a.o out/test/elf/x86_64/x86_64_note2/b.o out/test/elf/x86_64/x86_64_note2/c.o out/test/elf/x86_64/x86_64_note2/d.o -28: + cat 29: + cat -24: + cc -B. -o out/test/elf/x86_64/x86_64_preinit-array/exe out/test/elf/x86_64/x86_64_preinit-array/a.o out/test/elf/x86_64/x86_64_preinit-array/b.o 29: + cc -c -o out/test/elf/x86_64/x86_64_section-alignment/a.o -xc - -28: + cc -fPIC -c -o out/test/elf/x86_64/x86_64_reloc/b.o -xc - -28: + cat -22: + readelf --segments out/test/elf/x86_64/x86_64_note2/exe -22: + grep -Fq '01 .note.a .note.c .note.b' out/test/elf/x86_64/x86_64_note2/log -22: + on_exit -22: + echo OK -22: OK -22: + exit 0 - 18/357 Test #22: x86_64-x86_64_note2 ........................ Passed 0.25 sec -test 30 - Start 30: x86_64-x86_64_section-name - -30: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_section-name.sh" -30: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -30: Environment variables: -30: MACHINE=x86_64 -30: CPU= -30: Test timeout computed to be: 1500 -25: + objdump -d out/test/elf/x86_64/x86_64_relax/exe -25: + grep -A20 ':' -25: + grep -Eq 'lea \s*0x.+\(%rip\),%rax .*' out/test/elf/x86_64/x86_64_relax/log -25: + grep -Eq 'lea \s*0x.+\(%rip\),%rcx .*' out/test/elf/x86_64/x86_64_relax/log -20: + CFLAGS='-Xassembler -mx86-used-note=no' +25: + cat +25: + cc -o out/test/elf/x86_64/x86_64_relax/b.o -c -xc - +20: + '[' x86_64 = x86_64 ']' +20: + test_cflags -Xassembler -mx86-used-note=no +20: + echo 'int main() {}' +20: + cc -Xassembler -mx86-used-note=no -o /dev/null -xc - +27: + cat +27: + cc -o out/test/elf/x86_64/x86_64_reloc-zero/b.o -c -xc - 30: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_section-name.sh -27: + cc -B. -no-pie -o out/test/elf/x86_64/x86_64_reloc-zero/exe out/test/elf/x86_64/x86_64_reloc-zero/a.o out/test/elf/x86_64/x86_64_reloc-zero/b.o 30: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 30: ++ export LC_ALL=C 30: ++ LC_ALL=C @@ -3225,44 +3314,19 @@ 30: ++ trap 'on_error $LINENO' ERR 30: ++ trap on_exit EXIT 30: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_section-name.sh .sh -20: + readelf -v -25: + grep -Eq 'lea \s*0x.+\(%rip\),%rdx .*' out/test/elf/x86_64/x86_64_relax/log -20: + grep -q -E 'GNU readelf .+ (2\.3[6-9]|2\.[4-9]|[3-9])' 30: ++ testname=x86_64_section-name 30: ++ echo -n 'Testing x86_64_section-name ... ' 30: Testing x86_64_section-name ... ++ t=out/test/elf/x86_64/x86_64_section-name 30: ++ mkdir -p out/test/elf/x86_64/x86_64_section-name -25: + grep -Eq 'lea \s*0x.+\(%rip\),%rbx .*' out/test/elf/x86_64/x86_64_relax/log -24: + out/test/elf/x86_64/x86_64_preinit-array/exe -29: + cc -B. -o out/test/elf/x86_64/x86_64_section-alignment/exe out/test/elf/x86_64/x86_64_section-alignment/a.o -20: + cc -Xassembler -mx86-used-note=no -c -o out/test/elf/x86_64/x86_64_note-property2/a.o -xassembler-with-cpp - -24: + grep -q 'preinit init fini' 30: + '[' x86_64 = x86_64 ']' -25: + grep -Eq 'lea \s*0x.+\(%rip\),%rbp .*' out/test/elf/x86_64/x86_64_relax/log -20: + cat 30: + cat 30: + cc -o out/test/elf/x86_64/x86_64_section-name/a.o -c -x assembler - -25: + grep -Eq 'lea \s*0x.+\(%rip\),%rsi .*' out/test/elf/x86_64/x86_64_relax/log -25: + grep -Eq 'lea \s*0x.+\(%rip\),%rdi .*' out/test/elf/x86_64/x86_64_relax/log -24: + on_exit -24: + echo OK -24: OK -24: + exit 0 - 19/357 Test #24: x86_64-x86_64_preinit-array ................ Passed 0.19 sec -test 31 - Start 31: x86_64-x86_64_tls-gd-mcmodel-large - -31: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_tls-gd-mcmodel-large.sh" -31: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -31: Environment variables: -31: MACHINE=x86_64 -31: CPU= -31: Test timeout computed to be: 1500 30: + ./mold -o out/test/elf/x86_64/x86_64_section-name/exe out/test/elf/x86_64/x86_64_section-name/a.o -z keep-text-section-prefix -25: + grep -Eq 'lea \s*0x.+\(%rip\),%r8 .*' out/test/elf/x86_64/x86_64_relax/log -25: + grep -Eq 'lea \s*0x.+\(%rip\),%r9 .*' out/test/elf/x86_64/x86_64_relax/log -30: + readelf -p .text.hot out/test/elf/x86_64/x86_64_section-name/exe -25: + grep -Eq 'lea \s*0x.+\(%rip\),%r10 .*' out/test/elf/x86_64/x86_64_relax/log +22: + CFLAGS='-Xassembler -mx86-used-note=no' +22: + cat +22: + cc -Xassembler -mx86-used-note=no -o out/test/elf/x86_64/x86_64_note2/a.o -c -x assembler - +22: + cat +22: + cc -Xassembler -mx86-used-note=no -o out/test/elf/x86_64/x86_64_note2/b.o -c -x assembler - 31: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_tls-gd-mcmodel-large.sh 31: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 31: ++ export LC_ALL=C @@ -3283,36 +3347,14 @@ 31: ++ trap 'on_error $LINENO' ERR 31: ++ trap on_exit EXIT 31: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_tls-gd-mcmodel-large.sh .sh -30: + grep -Fq '.text.hot .text.hot.foo' -27: + on_exit -27: + echo OK -27: OK -27: + exit 0 - 20/357 Test #27: x86_64-x86_64_reloc-zero ................... Passed 0.16 sec -test 32 - Start 32: x86_64-x86_64_tls-gd-to-ie - -32: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_tls-gd-to-ie.sh" -32: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -32: Environment variables: -32: MACHINE=x86_64 -32: CPU= -32: Test timeout computed to be: 1500 -28: + cc -shared -o out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/a.o out/test/elf/x86_64/x86_64_reloc/b.o -Wl,-z,noexecstack 31: ++ testname=x86_64_tls-gd-mcmodel-large 31: ++ echo -n 'Testing x86_64_tls-gd-mcmodel-large ... ' 31: Testing x86_64_tls-gd-mcmodel-large ... ++ t=out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large 31: ++ mkdir -p out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large 31: + '[' x86_64 = x86_64 ']' -25: + grep -Eq 'lea \s*0x.+\(%rip\),%r11 .*' out/test/elf/x86_64/x86_64_relax/log -25: + grep -Eq 'lea \s*0x.+\(%rip\),%r12 .*' out/test/elf/x86_64/x86_64_relax/log -30: + grep -Fq '.text.unknown .text.unknown.foo' -30: + readelf -p .text.unknown out/test/elf/x86_64/x86_64_section-name/exe -30: + grep -Fq '.text.unlikely .text.unlikely.foo' -31: + gcc -mtls-dialect=gnu -fPIC -c -o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/a.o -xc - -mcmodel=large 31: + cat -25: + grep -Eq 'lea \s*0x.+\(%rip\),%r13 .*' out/test/elf/x86_64/x86_64_relax/log -30: + readelf -p .text.unlikely out/test/elf/x86_64/x86_64_section-name/exe +31: + gcc -mtls-dialect=gnu -fPIC -c -o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/a.o -xc - -mcmodel=large +24: + cc -B. -o out/test/elf/x86_64/x86_64_preinit-array/exe out/test/elf/x86_64/x86_64_preinit-array/a.o out/test/elf/x86_64/x86_64_preinit-array/b.o 32: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_tls-gd-to-ie.sh 32: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 32: ++ export LC_ALL=C @@ -3332,45 +3374,8 @@ 32: ++ tlsdesc_opt=-mtls-dialect=gnu2 32: ++ trap 'on_error $LINENO' ERR 32: ++ trap on_exit EXIT -25: + grep -Eq 'lea \s*0x.+\(%rip\),%r14 .*' out/test/elf/x86_64/x86_64_relax/log 32: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_tls-gd-to-ie.sh .sh -30: + grep -Fq '.text.startup .text.startup.foo' -30: + readelf -p .text.startup out/test/elf/x86_64/x86_64_section-name/exe -25: + grep -Eq 'lea \s*0x.+\(%rip\),%r15 .*' out/test/elf/x86_64/x86_64_relax/log -32: ++ testname=x86_64_tls-gd-to-ie -32: ++ echo -n 'Testing x86_64_tls-gd-to-ie ... ' -32: Testing x86_64_tls-gd-to-ie ... ++ t=out/test/elf/x86_64/x86_64_tls-gd-to-ie -32: ++ mkdir -p out/test/elf/x86_64/x86_64_tls-gd-to-ie -25: + grep -Eq 'call.*' out/test/elf/x86_64/x86_64_relax/log -32: + cat -30: + readelf -p .text.exit out/test/elf/x86_64/x86_64_section-name/exe -32: + gcc -fPIC -c -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/a.o -xc - -mcmodel=large -25: + grep -Eq 'jmp.*' out/test/elf/x86_64/x86_64_relax/log -30: + grep -Fq '.text.exit .text.exit.foo' -25: + on_exit -25: + echo OK -25: OK -25: + exit 0 - 21/357 Test #25: x86_64-x86_64_relax ........................ Passed 0.24 sec -test 33 - Start 33: x86_64-x86_64_tls-large-tbss - -33: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_tls-large-tbss.sh" -33: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -33: Environment variables: -33: MACHINE=x86_64 -33: CPU= -33: Test timeout computed to be: 1500 -30: + grep -Fq '.text .text.foo' -30: + readelf -p .text out/test/elf/x86_64/x86_64_section-name/exe -29: + grep -q '^0 0 0$' -30: + readelf -p .data.rel.ro out/test/elf/x86_64/x86_64_section-name/exe -20: + cat -30: + grep -Fq '.data.rel.ro .data.rel.ro.foo' 33: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_tls-large-tbss.sh -28: + cat -5: + c++ -B. -o out/test/elf/x86_64/x86_64_exception-mcmodel-large/exe out/test/elf/x86_64/x86_64_exception-mcmodel-large/a.o -static -mcmodel=large -29: + out/test/elf/x86_64/x86_64_section-alignment/exe 33: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 33: ++ export LC_ALL=C 33: ++ LC_ALL=C @@ -3389,18 +3394,59 @@ 33: ++ tlsdesc_opt=-mtls-dialect=gnu2 33: ++ trap 'on_error $LINENO' ERR 33: ++ trap on_exit EXIT -30: + grep -Fq '.data .data.foo' -30: + readelf -p .data out/test/elf/x86_64/x86_64_section-name/exe -28: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -no-pie -20: + cc -Xassembler -mx86-used-note=no -c -o out/test/elf/x86_64/x86_64_note-property2/b.o -xassembler-with-cpp - -18: + '[' x86_64 = x86_64 ']' +32: ++ testname=x86_64_tls-gd-to-ie +32: ++ echo -n 'Testing x86_64_tls-gd-to-ie ... ' +32: Testing x86_64_tls-gd-to-ie ... ++ t=out/test/elf/x86_64/x86_64_tls-gd-to-ie +32: ++ mkdir -p out/test/elf/x86_64/x86_64_tls-gd-to-ie +22: + cc -Xassembler -mx86-used-note=no -o out/test/elf/x86_64/x86_64_note2/c.o -c -x assembler - +22: + cat 33: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_tls-large-tbss.sh .sh -29: + on_exit -29: + echo OK -29: OK -29: + exit 0 -18: + cat - 22/357 Test #29: x86_64-x86_64_section-alignment ............ Passed 0.16 sec +33: ++ testname=x86_64_tls-large-tbss +33: ++ echo -n 'Testing x86_64_tls-large-tbss ... ' +33: Testing x86_64_tls-large-tbss ... ++ t=out/test/elf/x86_64/x86_64_tls-large-tbss +33: ++ mkdir -p out/test/elf/x86_64/x86_64_tls-large-tbss +32: + gcc -fPIC -c -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/a.o -xc - -mcmodel=large +32: + cat +33: + '[' x86_64 = x86_64 ']' +33: + cc -c -o out/test/elf/x86_64/x86_64_tls-large-tbss/a.o -x assembler - +27: + cc -B. -no-pie -o out/test/elf/x86_64/x86_64_reloc-zero/exe out/test/elf/x86_64/x86_64_reloc-zero/a.o out/test/elf/x86_64/x86_64_reloc-zero/b.o +30: + readelf -p .text.hot out/test/elf/x86_64/x86_64_section-name/exe +33: + cat +30: + grep -Fq '.text.hot .text.hot.foo' +22: + cc -Xassembler -mx86-used-note=no -o out/test/elf/x86_64/x86_64_note2/d.o -c -xc - +30: + readelf -p .text.unknown out/test/elf/x86_64/x86_64_section-name/exe +22: + cat +33: + cat +33: + cc -c -o out/test/elf/x86_64/x86_64_tls-large-tbss/b.o -xc - +28: + cc -shared -o out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/a.o out/test/elf/x86_64/x86_64_reloc/b.o -Wl,-z,noexecstack +30: + grep -Fq '.text.unknown .text.unknown.foo' +30: + readelf -p .text.unlikely out/test/elf/x86_64/x86_64_section-name/exe +30: + grep -Fq '.text.unlikely .text.unlikely.foo' +25: + cc -B. -o out/test/elf/x86_64/x86_64_relax/exe out/test/elf/x86_64/x86_64_relax/a.o out/test/elf/x86_64/x86_64_relax/b.o +30: + grep -Fq '.text.startup .text.startup.foo' +30: + readelf -p .text.startup out/test/elf/x86_64/x86_64_section-name/exe +29: + cc -B. -o out/test/elf/x86_64/x86_64_section-alignment/exe out/test/elf/x86_64/x86_64_section-alignment/a.o +21: + CFLAGS='-Xassembler -mx86-used-note=no' +30: + grep -Fq '.text.exit .text.exit.foo' +21: + cat +21: + cc -Xassembler -mx86-used-note=no -o out/test/elf/x86_64/x86_64_note/a.o -c -x assembler - +30: + readelf -p .text.exit out/test/elf/x86_64/x86_64_section-name/exe +31: + cat +31: + gcc -mtls-dialect=gnu -fPIC -c -o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/b.o -xc - -mcmodel=large +30: + readelf -p .text out/test/elf/x86_64/x86_64_section-name/exe +24: + out/test/elf/x86_64/x86_64_preinit-array/exe +24: + grep -q 'preinit init fini' +21: + ./mold -static -o out/test/elf/x86_64/x86_64_note/exe out/test/elf/x86_64/x86_64_note/a.o +30: + grep -Fq '.text .text.foo' +32: + cat +32: + cc -fPIC -c -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/b.o -xc - +24: + on_exit +24: + echo OK +24: OK +24: + exit 0 +30: + readelf -p .data.rel.ro out/test/elf/x86_64/x86_64_section-name/exe +30: + grep -Fq '.data.rel.ro .data.rel.ro.foo' + 22/357 Test #24: x86_64-x86_64_preinit-array ................ Passed 0.11 sec test 34 Start 34: x86_64-x86_64_tls-ld-mcmodel-large @@ -3410,25 +3456,12 @@ 34: MACHINE=x86_64 34: CPU= 34: Test timeout computed to be: 1500 -33: ++ testname=x86_64_tls-large-tbss -33: ++ echo -n 'Testing x86_64_tls-large-tbss ... ' -33: Testing x86_64_tls-large-tbss ... ++ t=out/test/elf/x86_64/x86_64_tls-large-tbss -33: ++ mkdir -p out/test/elf/x86_64/x86_64_tls-large-tbss -18: + cc -o out/test/elf/x86_64/x86_64_mergeable-strings/a.o -c -x assembler - -30: + grep -Fq '.rodata .rodata.foo' -30: + readelf -p .rodata out/test/elf/x86_64/x86_64_section-name/exe -21: + '[' x86_64 = x86_64 ']' -21: + test_cflags -Xassembler -mx86-used-note=no -18: + cc -B. -static -o out/test/elf/x86_64/x86_64_mergeable-strings/exe out/test/elf/x86_64/x86_64_mergeable-strings/a.o -30: + ./mold -o out/test/elf/x86_64/x86_64_section-name/exe out/test/elf/x86_64/x86_64_section-name/a.o -21: + cc -Xassembler -mx86-used-note=no -o /dev/null -xc - -21: + echo 'int main() {}' +30: + readelf -p .data out/test/elf/x86_64/x86_64_section-name/exe +30: + grep -Fq '.data .data.foo' 34: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_tls-ld-mcmodel-large.sh -33: + '[' x86_64 = x86_64 ']' -33: + cc -c -o out/test/elf/x86_64/x86_64_tls-large-tbss/a.o -x assembler - -10: + cat -33: + cat -10: + c++ -o out/test/elf/x86_64/x86_64_ifunc-alias/a.o -c -xc++ - -fno-PIE +20: + CFLAGS='-Xassembler -mx86-used-note=no' +22: + ./mold -o out/test/elf/x86_64/x86_64_note2/exe out/test/elf/x86_64/x86_64_note2/a.o out/test/elf/x86_64/x86_64_note2/b.o out/test/elf/x86_64/x86_64_note2/c.o out/test/elf/x86_64/x86_64_note2/d.o +20: + grep -q -E 'GNU readelf .+ (2\.3[6-9]|2\.[4-9]|[3-9])' 34: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 34: ++ export LC_ALL=C 34: ++ LC_ALL=C @@ -3447,33 +3480,19 @@ 34: ++ tlsdesc_opt=-mtls-dialect=gnu2 34: ++ trap 'on_error $LINENO' ERR 34: ++ trap on_exit EXIT +20: + readelf -v 34: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_tls-ld-mcmodel-large.sh .sh -17: + cc -o out/test/elf/x86_64/x86_64_mergeable-records/a.o -c -x assembler - -17: + cat -30: + grep -Fq .text.hot -30: + readelf --sections out/test/elf/x86_64/x86_64_section-name/exe +21: + readelf -W --sections out/test/elf/x86_64/x86_64_note/exe 34: ++ testname=x86_64_tls-ld-mcmodel-large 34: ++ echo -n 'Testing x86_64_tls-ld-mcmodel-large ... ' 34: Testing x86_64_tls-ld-mcmodel-large ... ++ t=out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large 34: ++ mkdir -p out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large -17: + cc -B. -static -o out/test/elf/x86_64/x86_64_mergeable-records/exe out/test/elf/x86_64/x86_64_mergeable-records/a.o -33: + cat -34: + '[' x86_64 = x86_64 ']' -30: + ./mold -o out/test/elf/x86_64/x86_64_section-name/exe out/test/elf/x86_64/x86_64_section-name/a.o -z nokeep-text-section-prefix -33: + cc -c -o out/test/elf/x86_64/x86_64_tls-large-tbss/b.o -xc - -34: + cat -34: + gcc -ftls-model=local-dynamic -fPIC -c -o out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/a.o -xc - -mcmodel=large -31: + gcc -mtls-dialect=gnu -fPIC -c -o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/b.o -xc - -mcmodel=large -31: + cat -30: + readelf --sections out/test/elf/x86_64/x86_64_section-name/exe -30: + grep -Fq .text.hot -20: + cat -30: + on_exit -30: + echo OK -30: OK -30: + exit 0 -20: + cc -Xassembler -mx86-used-note=no -c -o out/test/elf/x86_64/x86_64_note-property2/c.o -xassembler-with-cpp - - 23/357 Test #30: x86_64-x86_64_section-name ................. Passed 0.16 sec +27: + on_exit +27: + echo OK +27: OK +27: + exit 0 +30: + readelf -p .rodata out/test/elf/x86_64/x86_64_section-name/exe + 23/357 Test #27: x86_64-x86_64_reloc-zero ................... Passed 0.08 sec test 35 Start 35: x86_64-x86_64_tls-module-base @@ -3483,9 +3502,17 @@ 35: MACHINE=x86_64 35: CPU= 35: Test timeout computed to be: 1500 -28: + out/test/elf/x86_64/x86_64_reloc/exe +30: + grep -Fq '.rodata .rodata.foo' +30: + ./mold -o out/test/elf/x86_64/x86_64_section-name/exe out/test/elf/x86_64/x86_64_section-name/a.o +34: + '[' x86_64 = x86_64 ']' +34: + cat +34: + gcc -ftls-model=local-dynamic -fPIC -c -o out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/a.o -xc - -mcmodel=large +21: + grep -Eq '.note.bar\s+NOTE.+000008 00 A 0 0 4' out/test/elf/x86_64/x86_64_note/log +20: + cat +20: + cc -Xassembler -mx86-used-note=no -c -o out/test/elf/x86_64/x86_64_note-property2/a.o -xassembler-with-cpp - +28: + cat +33: + cc -B. -o out/test/elf/x86_64/x86_64_tls-large-tbss/exe out/test/elf/x86_64/x86_64_tls-large-tbss/a.o out/test/elf/x86_64/x86_64_tls-large-tbss/b.o 35: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_tls-module-base.sh -28: + grep -q '^42$' 35: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 35: ++ export LC_ALL=C 35: ++ LC_ALL=C @@ -3504,49 +3531,43 @@ 35: ++ tlsdesc_opt=-mtls-dialect=gnu2 35: ++ trap 'on_error $LINENO' ERR 35: ++ trap on_exit EXIT -28: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -pie 35: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_tls-module-base.sh .sh 35: ++ testname=x86_64_tls-module-base 35: ++ echo -n 'Testing x86_64_tls-module-base ... ' 35: Testing x86_64_tls-module-base ... ++ t=out/test/elf/x86_64/x86_64_tls-module-base 35: ++ mkdir -p out/test/elf/x86_64/x86_64_tls-module-base -32: + cc -fPIC -c -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/b.o -xc - +21: + grep -Eq '.note.baz\s+NOTE.+000008 00 A 0 0 8' out/test/elf/x86_64/x86_64_note/log +28: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -no-pie +21: + grep -Eq '.note.nonalloc\s+NOTE.+000008 00 0 0 1' out/test/elf/x86_64/x86_64_note/log +21: + readelf --segments out/test/elf/x86_64/x86_64_note/exe 35: + '[' x86_64 = x86_64 ']' -35: + cat -32: + cat -35: + cc -fPIC -o out/test/elf/x86_64/x86_64_tls-module-base/a.o -c -xassembler - -35: + cat -35: + cc -o out/test/elf/x86_64/x86_64_tls-module-base/b.o -c -xc - -34: + cat -34: + gcc -ftls-model=local-dynamic -fPIC -c -o out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/b.o -xc - -mcmodel=large -10: + c++ -B. -o out/test/elf/x86_64/x86_64_ifunc-alias/exe out/test/elf/x86_64/x86_64_ifunc-alias/a.o -static -33: + cc -B. -o out/test/elf/x86_64/x86_64_tls-large-tbss/exe out/test/elf/x86_64/x86_64_tls-large-tbss/a.o out/test/elf/x86_64/x86_64_tls-large-tbss/b.o 31: + cat 31: + gcc -mtls-dialect=gnu -fPIC -c -o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/c.o -xc - -mcmodel=large -20: + ./mold -nostdlib -o out/test/elf/x86_64/x86_64_note-property2/exe1 out/test/elf/x86_64/x86_64_note-property2/a.o out/test/elf/x86_64/x86_64_note-property2/b.o -28: + grep -q '^42$' -28: + out/test/elf/x86_64/x86_64_reloc/exe -28: + cat -20: + readelf -n out/test/elf/x86_64/x86_64_note-property2/exe1 -20: + grep -q 'x86 feature: SHSTK' -20: + readelf -n out/test/elf/x86_64/x86_64_note-property2/exe1 -20: + grep -q 'x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' -20: + grep -q 'x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' -20: + readelf -n out/test/elf/x86_64/x86_64_note-property2/exe1 -28: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -no-pie -35: + cc -o out/test/elf/x86_64/x86_64_tls-module-base/c.o -c -xc - +25: + objdump -d out/test/elf/x86_64/x86_64_relax/exe +25: + grep -A20 ':' +35: + cc -fPIC -o out/test/elf/x86_64/x86_64_tls-module-base/a.o -c -xassembler - 35: + cat -32: + cc -B. -shared -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/c.so out/test/elf/x86_64/x86_64_tls-gd-to-ie/a.o -20: + ./mold -nostdlib -o out/test/elf/x86_64/x86_64_note-property2/exe2 out/test/elf/x86_64/x86_64_note-property2/a.o out/test/elf/x86_64/x86_64_note-property2/b.o out/test/elf/x86_64/x86_64_note-property2/c.o -34: + cc -B. -o out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/exe out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/a.o out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/b.o -mcmodel=large -33: + grep -q '^3 0 5 0 0 0$' -33: + out/test/elf/x86_64/x86_64_tls-large-tbss/exe -31: + cc -B. -shared -o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/d.so out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/b.o -mcmodel=large -33: + on_exit -33: + echo OK -33: OK -33: + exit 0 - 24/357 Test #33: x86_64-x86_64_tls-large-tbss ............... Passed 0.18 sec +30: + grep -Fq .text.hot +30: + readelf --sections out/test/elf/x86_64/x86_64_section-name/exe +21: + grep -Fq '01 .note.baz .note.foo .note.bar' out/test/elf/x86_64/x86_64_note/log +29: + grep -q '^0 0 0$' +22: + readelf --segments out/test/elf/x86_64/x86_64_note2/exe +25: + grep -Eq 'lea \s*0x.+\(%rip\),%rax .*' out/test/elf/x86_64/x86_64_relax/log +21: + grep -q 'NOTE.*0x0000000000000000 0x0000000000000000' out/test/elf/x86_64/x86_64_note/log +29: + out/test/elf/x86_64/x86_64_section-alignment/exe +20: + cc -Xassembler -mx86-used-note=no -c -o out/test/elf/x86_64/x86_64_note-property2/b.o -xassembler-with-cpp - +29: + on_exit +29: + echo OK +29: OK +29: + exit 0 +20: + cat +21: + on_exit +21: + echo OK +21: OK +21: + exit 0 +30: + ./mold -o out/test/elf/x86_64/x86_64_section-name/exe out/test/elf/x86_64/x86_64_section-name/a.o -z nokeep-text-section-prefix +25: + grep -Eq 'lea \s*0x.+\(%rip\),%rcx .*' out/test/elf/x86_64/x86_64_relax/log + 24/357 Test #29: x86_64-x86_64_section-alignment ............ Passed 0.08 sec test 36 Start 36: x86_64-x86_64_tlsdesc @@ -3556,8 +3577,46 @@ 36: MACHINE=x86_64 36: CPU= 36: Test timeout computed to be: 1500 -20: + grep -q 'x86 feature: SHSTK' -20: + readelf -n out/test/elf/x86_64/x86_64_note-property2/exe2 +25: + grep -Eq 'lea \s*0x.+\(%rip\),%rdx .*' out/test/elf/x86_64/x86_64_relax/log + 25/357 Test #21: x86_64-x86_64_note ......................... Passed 0.19 sec +test 37 + Start 37: x86_64-x86_64_unique + +37: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_unique.sh" +37: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +37: Environment variables: +37: MACHINE=x86_64 +37: CPU= +37: Test timeout computed to be: 1500 +22: + grep -Fq '01 .note.a .note.c .note.b' out/test/elf/x86_64/x86_64_note2/log +22: + on_exit +22: + echo OK +22: OK +22: + exit 0 + 26/357 Test #22: x86_64-x86_64_note2 ........................ Passed 0.16 sec +test 38 + Start 38: x86_64-x86_64_warn-execstack + +38: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_warn-execstack.sh" +38: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +38: Environment variables: +38: MACHINE=x86_64 +38: CPU= +38: Test timeout computed to be: 1500 +35: + cc -o out/test/elf/x86_64/x86_64_tls-module-base/b.o -c -xc - +35: + cat +35: + cat +32: + cc -B. -shared -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/c.so out/test/elf/x86_64/x86_64_tls-gd-to-ie/a.o +25: + grep -Eq 'lea \s*0x.+\(%rip\),%rbx .*' out/test/elf/x86_64/x86_64_relax/log +25: + grep -Eq 'lea \s*0x.+\(%rip\),%rbp .*' out/test/elf/x86_64/x86_64_relax/log +25: + grep -Eq 'lea \s*0x.+\(%rip\),%rsi .*' out/test/elf/x86_64/x86_64_relax/log +25: + grep -Eq 'lea \s*0x.+\(%rip\),%rdi .*' out/test/elf/x86_64/x86_64_relax/log +25: + grep -Eq 'lea \s*0x.+\(%rip\),%r8 .*' out/test/elf/x86_64/x86_64_relax/log +25: + grep -Eq 'lea \s*0x.+\(%rip\),%r9 .*' out/test/elf/x86_64/x86_64_relax/log +25: + grep -Eq 'lea \s*0x.+\(%rip\),%r10 .*' out/test/elf/x86_64/x86_64_relax/log +25: + grep -Eq 'lea \s*0x.+\(%rip\),%r11 .*' out/test/elf/x86_64/x86_64_relax/log +25: + grep -Eq 'lea \s*0x.+\(%rip\),%r12 .*' out/test/elf/x86_64/x86_64_relax/log +35: + cc -o out/test/elf/x86_64/x86_64_tls-module-base/c.o -c -xc - 36: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_tlsdesc.sh 36: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 36: ++ export LC_ALL=C @@ -3577,91 +3636,36 @@ 36: ++ tlsdesc_opt=-mtls-dialect=gnu2 36: ++ trap 'on_error $LINENO' ERR 36: ++ trap on_exit EXIT -20: + readelf -n out/test/elf/x86_64/x86_64_note-property2/exe2 -20: + grep -q 'x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' 36: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_tlsdesc.sh .sh -20: + readelf -n out/test/elf/x86_64/x86_64_note-property2/exe2 -32: + cc -B. -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe1 out/test/elf/x86_64/x86_64_tls-gd-to-ie/b.o out/test/elf/x86_64/x86_64_tls-gd-to-ie/c.so 36: ++ testname=x86_64_tlsdesc 36: ++ echo -n 'Testing x86_64_tlsdesc ... ' 36: Testing x86_64_tlsdesc ... ++ t=out/test/elf/x86_64/x86_64_tlsdesc 36: ++ mkdir -p out/test/elf/x86_64/x86_64_tlsdesc -20: + grep -q 'x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' 36: + supports_tlsdesc 36: + '[' x86_64 = arm ']' 36: + '[' -n -mtls-dialect=gnu2 ']' -36: + cat -20: + ./mold --relocatable -o out/test/elf/x86_64/x86_64_note-property2/d.o out/test/elf/x86_64/x86_64_note-property2/a.o out/test/elf/x86_64/x86_64_note-property2/b.o 36: + gcc -c -o out/test/elf/x86_64/x86_64_tlsdesc/a.o -xassembler - -34: + grep -q '3 5 3 5' 36: + cat -36: + gcc -fPIC -c -o out/test/elf/x86_64/x86_64_tlsdesc/b.o -xc - -mtls-dialect=gnu2 -34: + out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/exe -34: + cc -B. -o out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/exe out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/a.o out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/b.o -Wl,-no-relax -mcmodel=large -28: + out/test/elf/x86_64/x86_64_reloc/exe -28: + grep -q '^56$' -21: + CFLAGS='-Xassembler -mx86-used-note=no' -28: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -pie -21: + cc -Xassembler -mx86-used-note=no -o out/test/elf/x86_64/x86_64_note/a.o -c -x assembler - -21: + cat -17: + out/test/elf/x86_64/x86_64_mergeable-records/exe -21: + ./mold -static -o out/test/elf/x86_64/x86_64_note/exe out/test/elf/x86_64/x86_64_note/a.o -20: + grep -q 'x86 feature: SHSTK' -20: + readelf -n out/test/elf/x86_64/x86_64_note-property2/d.o -17: + grep -q '^abcdef$' -18: + out/test/elf/x86_64/x86_64_mergeable-strings/exe -18: + grep -q 'Hello world' -17: + grep -q '^bcdef$' -31: + cc -B. -shared -o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/e.so out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/c.o -Wl,--no-relax -mcmodel=large -18: + readelf -sW out/test/elf/x86_64/x86_64_mergeable-strings/exe -18: + grep -Eq '[0-9] foo$' -35: + cc -B. -o out/test/elf/x86_64/x86_64_tls-module-base/exe1 out/test/elf/x86_64/x86_64_tls-module-base/a.o out/test/elf/x86_64/x86_64_tls-module-base/b.o out/test/elf/x86_64/x86_64_tls-module-base/c.o -17: + out/test/elf/x86_64/x86_64_mergeable-records/exe -18: + on_exit -18: + echo OK -18: OK -18: + exit 0 - 25/357 Test #18: x86_64-x86_64_mergeable-strings ............ Passed 0.67 sec -test 37 - Start 37: x86_64-x86_64_unique +20: + cat +20: + cc -Xassembler -mx86-used-note=no -c -o out/test/elf/x86_64/x86_64_note-property2/c.o -xassembler-with-cpp - +30: + readelf --sections out/test/elf/x86_64/x86_64_section-name/exe +30: + grep -Fq .text.hot +30: + on_exit +30: + echo OK +30: OK +30: + exit 0 + 27/357 Test #30: x86_64-x86_64_section-name ................. Passed 0.10 sec +test 39 + Start 39: x86_64-x86_64_warn-shared-textrel -37: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_unique.sh" -37: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -37: Environment variables: -37: MACHINE=x86_64 -37: CPU= -37: Test timeout computed to be: 1500 -21: + readelf -W --sections out/test/elf/x86_64/x86_64_note/exe -21: + grep -Eq '.note.bar\s+NOTE.+000008 00 A 0 0 4' out/test/elf/x86_64/x86_64_note/log -21: + grep -Eq '.note.baz\s+NOTE.+000008 00 A 0 0 8' out/test/elf/x86_64/x86_64_note/log -21: + grep -Eq '.note.nonalloc\s+NOTE.+000008 00 0 0 1' out/test/elf/x86_64/x86_64_note/log -17: + out/test/elf/x86_64/x86_64_mergeable-records/exe -17: + grep -q '^ijkl$' -17: + out/test/elf/x86_64/x86_64_mergeable-records/exe -17: + grep -q '^pqr$' -20: + grep -q 'x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' -20: + readelf -n out/test/elf/x86_64/x86_64_note-property2/d.o -17: + out/test/elf/x86_64/x86_64_mergeable-records/exe -17: + grep -q '^mnopqr$' -17: + on_exit -17: + echo OK -17: OK -17: + exit 0 -21: + readelf --segments out/test/elf/x86_64/x86_64_note/exe -32: + out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe1 -32: + grep -q '1 2 3' +39: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_warn-shared-textrel.sh" +39: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +39: Environment variables: +39: MACHINE=x86_64 +39: CPU= +39: Test timeout computed to be: 1500 +31: + cc -B. -shared -o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/d.so out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/b.o -mcmodel=large 37: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_unique.sh -20: + grep -q 'x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' - 26/357 Test #17: x86_64-x86_64_mergeable-records ............ Passed 0.73 sec -test 38 - Start 38: x86_64-x86_64_warn-execstack - -38: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_warn-execstack.sh" -38: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -38: Environment variables: -38: MACHINE=x86_64 -38: CPU= -38: Test timeout computed to be: 1500 37: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 37: ++ export LC_ALL=C 37: ++ LC_ALL=C @@ -3685,11 +3689,14 @@ 37: ++ echo -n 'Testing x86_64_unique ... ' 37: Testing x86_64_unique ... ++ t=out/test/elf/x86_64/x86_64_unique 37: ++ mkdir -p out/test/elf/x86_64/x86_64_unique -20: + readelf -n out/test/elf/x86_64/x86_64_note-property2/d.o -20: + on_exit -20: + echo OK -20: OK -20: + exit 0 +37: + '[' x86_64 = x86_64 ']' +37: + cat +37: + cc -c -o out/test/elf/x86_64/x86_64_unique/a.o -x assembler - +37: + cc -B. -o out/test/elf/x86_64/x86_64_unique/exe out/test/elf/x86_64/x86_64_unique/a.o -nostdlib '-Wl,-unique=*foo*' +25: + grep -Eq 'lea \s*0x.+\(%rip\),%r13 .*' out/test/elf/x86_64/x86_64_relax/log +25: + grep -Eq 'lea \s*0x.+\(%rip\),%r14 .*' out/test/elf/x86_64/x86_64_relax/log +36: + cat +36: + gcc -fPIC -c -o out/test/elf/x86_64/x86_64_tlsdesc/b.o -xc - -mtls-dialect=gnu2 38: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_warn-execstack.sh 38: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 38: ++ export LC_ALL=C @@ -3709,34 +3716,28 @@ 38: ++ tlsdesc_opt=-mtls-dialect=gnu2 38: ++ trap 'on_error $LINENO' ERR 38: ++ trap on_exit EXIT - 27/357 Test #20: x86_64-x86_64_note-property2 ............... Passed 0.66 sec -test 39 - Start 39: x86_64-x86_64_warn-shared-textrel - -39: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_warn-shared-textrel.sh" -39: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -39: Environment variables: -39: MACHINE=x86_64 -39: CPU= -39: Test timeout computed to be: 1500 -37: + '[' x86_64 = x86_64 ']' -37: + cat 38: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_warn-execstack.sh .sh 38: ++ testname=x86_64_warn-execstack 38: ++ echo -n 'Testing x86_64_warn-execstack ... ' 38: Testing x86_64_warn-execstack ... ++ t=out/test/elf/x86_64/x86_64_warn-execstack 38: ++ mkdir -p out/test/elf/x86_64/x86_64_warn-execstack +38: + '[' x86_64 = x86_64 ']' +28: + grep -q '^42$' 28: + out/test/elf/x86_64/x86_64_reloc/exe -28: + grep -q '^56$' -34: + out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/exe -34: + grep -q '3 5 3 5' -34: + on_exit -34: + echo OK -34: OK -34: + exit 0 -32: + cc -B. -shared -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/d.so out/test/elf/x86_64/x86_64_tls-gd-to-ie/a.o -Wl,-no-relax -37: + cc -c -o out/test/elf/x86_64/x86_64_unique/a.o -x assembler - - 28/357 Test #34: x86_64-x86_64_tls-ld-mcmodel-large ......... Passed 0.27 sec +28: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -pie +33: + grep -q '^3 0 5 0 0 0$' +33: + out/test/elf/x86_64/x86_64_tls-large-tbss/exe +34: + cat +34: + gcc -ftls-model=local-dynamic -fPIC -c -o out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/b.o -xc - -mcmodel=large +38: + cc -o out/test/elf/x86_64/x86_64_warn-execstack/a.o -c -xassembler - +33: + on_exit +33: + echo OK +33: OK +33: + exit 0 +39: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_warn-shared-textrel.sh +38: + cat +25: + grep -Eq 'lea \s*0x.+\(%rip\),%r15 .*' out/test/elf/x86_64/x86_64_relax/log + 28/357 Test #33: x86_64-x86_64_tls-large-tbss ............... Passed 0.09 sec test 40 Start 40: x86_64-x86_64_warn-textrel @@ -3746,11 +3747,6 @@ 40: MACHINE=x86_64 40: CPU= 40: Test timeout computed to be: 1500 -28: + cat -38: + '[' x86_64 = x86_64 ']' -38: + cat -38: + cc -o out/test/elf/x86_64/x86_64_warn-execstack/a.o -c -xassembler - -39: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_warn-shared-textrel.sh 39: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 39: ++ export LC_ALL=C 39: ++ LC_ALL=C @@ -3774,22 +3770,15 @@ 39: ++ echo -n 'Testing x86_64_warn-shared-textrel ... ' 39: Testing x86_64_warn-shared-textrel ... ++ t=out/test/elf/x86_64/x86_64_warn-shared-textrel 39: ++ mkdir -p out/test/elf/x86_64/x86_64_warn-shared-textrel -31: + cc -B. -o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/exe out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/a.o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/d.so out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/e.so -mcmodel=large -21: + grep -Fq '01 .note.baz .note.foo .note.bar' out/test/elf/x86_64/x86_64_note/log -37: + cc -B. -o out/test/elf/x86_64/x86_64_unique/exe out/test/elf/x86_64/x86_64_unique/a.o -nostdlib '-Wl,-unique=*foo*' -39: + is_musl -38: + cc -o out/test/elf/x86_64/x86_64_warn-execstack/b.o -c -xc - -39: + grep -q musl -39: + ldd --help +25: + grep -Eq 'call.*' out/test/elf/x86_64/x86_64_relax/log 38: + cat -21: + grep -q 'NOTE.*0x0000000000000000 0x0000000000000000' out/test/elf/x86_64/x86_64_note/log -21: + on_exit -21: + echo OK -21: OK -21: + exit 0 -28: + cc -c -o out/test/elf/x86_64/x86_64_reloc/d.o out/test/elf/x86_64/x86_64_reloc/d.s +38: + cc -o out/test/elf/x86_64/x86_64_warn-execstack/b.o -c -xc - +20: + ./mold -nostdlib -o out/test/elf/x86_64/x86_64_note-property2/exe1 out/test/elf/x86_64/x86_64_note-property2/a.o out/test/elf/x86_64/x86_64_note-property2/b.o +39: + is_musl +32: + cc -B. -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe1 out/test/elf/x86_64/x86_64_tls-gd-to-ie/b.o out/test/elf/x86_64/x86_64_tls-gd-to-ie/c.so 40: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_warn-textrel.sh 40: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc +39: + grep -q musl 40: ++ export LC_ALL=C 40: ++ LC_ALL=C 40: ++ '[' -z x86_64 ']' @@ -3807,7 +3796,18 @@ 40: ++ tlsdesc_opt=-mtls-dialect=gnu2 40: ++ trap 'on_error $LINENO' ERR 40: ++ trap on_exit EXIT - 29/357 Test #21: x86_64-x86_64_note ......................... Passed 0.67 sec +40: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_warn-textrel.sh .sh +25: + grep -Eq 'jmp.*' out/test/elf/x86_64/x86_64_relax/log +40: ++ testname=x86_64_warn-textrel +40: ++ echo -n 'Testing x86_64_warn-textrel ... ' +40: Testing x86_64_warn-textrel ... ++ t=out/test/elf/x86_64/x86_64_warn-textrel +40: ++ mkdir -p out/test/elf/x86_64/x86_64_warn-textrel +25: + on_exit +25: + echo OK +25: OK +25: + exit 0 +34: + cc -B. -o out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/exe out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/a.o out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/b.o -mcmodel=large + 29/357 Test #25: x86_64-x86_64_relax ........................ Passed 0.16 sec test 41 Start 41: x86_64-x86_64_z-ibt @@ -3817,20 +3817,17 @@ 41: MACHINE=x86_64 41: CPU= 41: Test timeout computed to be: 1500 -40: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_warn-textrel.sh .sh +39: + ldd --help 39: + '[' x86_64 = x86_64 ']' 39: + cat 39: + cc -c -o out/test/elf/x86_64/x86_64_warn-shared-textrel/a.o -x assembler - -35: + out/test/elf/x86_64/x86_64_tls-module-base/exe1 -35: + grep -q '^20 3$' -40: ++ testname=x86_64_warn-textrel -40: ++ echo -n 'Testing x86_64_warn-textrel ... ' -40: Testing x86_64_warn-textrel ... ++ t=out/test/elf/x86_64/x86_64_warn-textrel -40: ++ mkdir -p out/test/elf/x86_64/x86_64_warn-textrel -28: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.o -no-pie -35: + cc -B. -o out/test/elf/x86_64/x86_64_tls-module-base/exe2 out/test/elf/x86_64/x86_64_tls-module-base/a.o out/test/elf/x86_64/x86_64_tls-module-base/b.o out/test/elf/x86_64/x86_64_tls-module-base/c.o -Wl,-no-relax -41: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_z-ibt.sh 40: + is_musl +40: + grep -q musl +40: + ldd --help +40: + '[' x86_64 = x86_64 ']' +41: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_z-ibt.sh +40: + cat +40: + cc -c -o out/test/elf/x86_64/x86_64_warn-textrel/a.o -x assembler - 41: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 41: ++ export LC_ALL=C 41: ++ LC_ALL=C @@ -3849,34 +3846,42 @@ 41: ++ tlsdesc_opt=-mtls-dialect=gnu2 41: ++ trap 'on_error $LINENO' ERR 41: ++ trap on_exit EXIT -40: + ldd --help -40: + grep -q musl 37: + readelf -x .data.foo.1 out/test/elf/x86_64/x86_64_unique/exe -39: + cat -41: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_z-ibt.sh .sh -40: + '[' x86_64 = x86_64 ']' -36: + cc -B. -o out/test/elf/x86_64/x86_64_tlsdesc/exe1 out/test/elf/x86_64/x86_64_tlsdesc/a.o out/test/elf/x86_64/x86_64_tlsdesc/b.o -39: + cc -c -o out/test/elf/x86_64/x86_64_warn-shared-textrel/b.o -fPIC -xc - -40: + cat 37: + grep -q ab -10: + out/test/elf/x86_64/x86_64_ifunc-alias/exe +31: + cc -B. -shared -o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/e.so out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/c.o -Wl,--no-relax -mcmodel=large +36: + cc -B. -o out/test/elf/x86_64/x86_64_tlsdesc/exe1 out/test/elf/x86_64/x86_64_tlsdesc/a.o out/test/elf/x86_64/x86_64_tlsdesc/b.o +41: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_z-ibt.sh .sh +20: + grep -q 'x86 feature: SHSTK' +20: + readelf -n out/test/elf/x86_64/x86_64_note-property2/exe1 41: ++ testname=x86_64_z-ibt 41: ++ echo -n 'Testing x86_64_z-ibt ... ' 41: Testing x86_64_z-ibt ... ++ t=out/test/elf/x86_64/x86_64_z-ibt 41: ++ mkdir -p out/test/elf/x86_64/x86_64_z-ibt -10: + on_exit -10: + echo OK -10: OK -10: + exit 0 +41: + '[' x86_64 = x86_64 ']' +41: + echo endbr64 +41: + cc -o /dev/null -c -xassembler - +39: + cat +39: + cc -c -o out/test/elf/x86_64/x86_64_warn-shared-textrel/b.o -fPIC -xc - +20: + grep -q 'x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' +20: + readelf -n out/test/elf/x86_64/x86_64_note-property2/exe1 +38: + gcc -B. -o out/test/elf/x86_64/x86_64_warn-execstack/exe out/test/elf/x86_64/x86_64_warn-execstack/a.o out/test/elf/x86_64/x86_64_warn-execstack/b.o +35: + cc -B. -o out/test/elf/x86_64/x86_64_tls-module-base/exe1 out/test/elf/x86_64/x86_64_tls-module-base/a.o out/test/elf/x86_64/x86_64_tls-module-base/b.o out/test/elf/x86_64/x86_64_tls-module-base/c.o 37: + readelf -x .data.foo.2 out/test/elf/x86_64/x86_64_unique/exe +38: + grep -q 'may cause a segmentation fault' +40: + cat 37: + grep -q c -40: + cc -c -o out/test/elf/x86_64/x86_64_warn-textrel/a.o -x assembler - -41: + '[' x86_64 = x86_64 ']' +41: + cc -o out/test/elf/x86_64/x86_64_z-ibt/a.o -c -x assembler - +40: + cc -c -o out/test/elf/x86_64/x86_64_warn-textrel/b.o -fPIC -xc - 37: + readelf -x .data out/test/elf/x86_64/x86_64_unique/exe -32: + cc -B. -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe2 out/test/elf/x86_64/x86_64_tls-gd-to-ie/b.o out/test/elf/x86_64/x86_64_tls-gd-to-ie/d.so -41: + cc -o /dev/null -c -xassembler - -41: + echo endbr64 - 30/357 Test #10: x86_64-x86_64_ifunc-alias .................. Passed 1.01 sec +37: + grep -q de +41: + cat +20: + readelf -n out/test/elf/x86_64/x86_64_note-property2/exe1 +20: + grep -q 'x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' +37: + on_exit +37: + echo OK +37: OK +37: + exit 0 + 30/357 Test #37: x86_64-x86_64_unique ....................... Passed 0.06 sec test 42 Start 42: x86_64-x86_64_z-ibtplt @@ -3886,26 +3891,9 @@ 42: MACHINE=x86_64 42: CPU= 42: Test timeout computed to be: 1500 -37: + grep -q de -37: + on_exit -37: + echo OK -37: OK -37: + exit 0 - 31/357 Test #37: x86_64-x86_64_unique ....................... Passed 0.10 sec -test 43 - Start 43: x86_64-x86_64_z-shstk - -43: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_z-shstk.sh" -43: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -43: Environment variables: -43: MACHINE=x86_64 -43: CPU= -43: Test timeout computed to be: 1500 -40: + cat -40: + cc -c -o out/test/elf/x86_64/x86_64_warn-textrel/b.o -fPIC -xc - -31: + out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/exe +41: + cc -B. -o out/test/elf/x86_64/x86_64_z-ibt/exe out/test/elf/x86_64/x86_64_z-ibt/a.o +20: + ./mold -nostdlib -o out/test/elf/x86_64/x86_64_note-property2/exe2 out/test/elf/x86_64/x86_64_note-property2/a.o out/test/elf/x86_64/x86_64_note-property2/b.o out/test/elf/x86_64/x86_64_note-property2/c.o 42: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_z-ibtplt.sh -31: + grep -q '1 2 3 4 5 6' 42: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 42: ++ export LC_ALL=C 42: ++ LC_ALL=C @@ -3924,21 +3912,59 @@ 42: ++ tlsdesc_opt=-mtls-dialect=gnu2 42: ++ trap 'on_error $LINENO' ERR 42: ++ trap on_exit EXIT -41: + cat -31: + cc -B. -o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/exe out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/a.o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/d.so out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/e.so -Wl,-no-relax -mcmodel=large 42: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_z-ibtplt.sh .sh -41: + cc -o out/test/elf/x86_64/x86_64_z-ibt/a.o -c -x assembler - 42: ++ testname=x86_64_z-ibtplt 42: ++ echo -n 'Testing x86_64_z-ibtplt ... ' 42: Testing x86_64_z-ibtplt ... ++ t=out/test/elf/x86_64/x86_64_z-ibtplt 42: ++ mkdir -p out/test/elf/x86_64/x86_64_z-ibtplt +28: + grep -q '^42$' +28: + out/test/elf/x86_64/x86_64_reloc/exe +28: + cat 42: + '[' x86_64 = x86_64 ']' +20: + readelf -n out/test/elf/x86_64/x86_64_note-property2/exe2 +20: + grep -q 'x86 feature: SHSTK' 42: + cat 42: + cc -fPIC -o out/test/elf/x86_64/x86_64_z-ibtplt/a.o -c -xc - -5: + out/test/elf/x86_64/x86_64_exception-mcmodel-large/exe +20: + readelf -n out/test/elf/x86_64/x86_64_note-property2/exe2 +20: + grep -q 'x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' +28: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -no-pie +32: + grep -q '1 2 3' +32: + out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe1 +20: + readelf -n out/test/elf/x86_64/x86_64_note-property2/exe2 +20: + grep -q 'x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' +34: + out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/exe +39: + cc -B. -shared -o out/test/elf/x86_64/x86_64_warn-shared-textrel/c.so out/test/elf/x86_64/x86_64_warn-shared-textrel/a.o out/test/elf/x86_64/x86_64_warn-shared-textrel/b.o -Wl,-warn-shared-textrel +34: + grep -q '3 5 3 5' +20: + ./mold --relocatable -o out/test/elf/x86_64/x86_64_note-property2/d.o out/test/elf/x86_64/x86_64_note-property2/a.o out/test/elf/x86_64/x86_64_note-property2/b.o +36: + out/test/elf/x86_64/x86_64_tlsdesc/exe1 +31: + cc -B. -o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/exe out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/a.o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/d.so out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/e.so -mcmodel=large +32: + cc -B. -shared -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/d.so out/test/elf/x86_64/x86_64_tls-gd-to-ie/a.o -Wl,-no-relax +34: + cc -B. -o out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/exe out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/a.o out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/b.o -Wl,-no-relax -mcmodel=large +36: + grep -q 42 +36: + cc -B. -o out/test/elf/x86_64/x86_64_tlsdesc/exe2 out/test/elf/x86_64/x86_64_tlsdesc/a.o out/test/elf/x86_64/x86_64_tlsdesc/b.o -Wl,-no-relax +40: + cc -B. -o out/test/elf/x86_64/x86_64_warn-textrel/exe out/test/elf/x86_64/x86_64_warn-textrel/a.o out/test/elf/x86_64/x86_64_warn-textrel/b.o -pie -Wl,-warn-textrel +20: + grep -q 'x86 feature: SHSTK' +20: + readelf -n out/test/elf/x86_64/x86_64_note-property2/d.o +38: + on_exit +38: + echo OK +38: OK +38: + exit 0 + 31/357 Test #38: x86_64-x86_64_warn-execstack ............... Passed 0.08 sec +test 43 + Start 43: x86_64-x86_64_z-shstk + +43: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_z-shstk.sh" +43: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +43: Environment variables: +43: MACHINE=x86_64 +43: CPU= +43: Test timeout computed to be: 1500 +20: + readelf -n out/test/elf/x86_64/x86_64_note-property2/d.o +20: + grep -q 'x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' 43: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_z-shstk.sh -38: + grep -q 'may cause a segmentation fault' -41: + cc -B. -o out/test/elf/x86_64/x86_64_z-ibt/exe out/test/elf/x86_64/x86_64_z-ibt/a.o +41: + readelf --notes out/test/elf/x86_64/x86_64_z-ibt/exe +35: + grep -q '^20 3$' +42: + cc -B. -o out/test/elf/x86_64/x86_64_z-ibtplt/b.so -shared out/test/elf/x86_64/x86_64_z-ibtplt/a.o -Wl,-z,ibtplt 43: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 43: ++ export LC_ALL=C 43: ++ LC_ALL=C @@ -3957,19 +3983,22 @@ 43: ++ tlsdesc_opt=-mtls-dialect=gnu2 43: ++ trap 'on_error $LINENO' ERR 43: ++ trap on_exit EXIT -38: + gcc -B. -o out/test/elf/x86_64/x86_64_warn-execstack/exe out/test/elf/x86_64/x86_64_warn-execstack/a.o out/test/elf/x86_64/x86_64_warn-execstack/b.o 43: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_z-shstk.sh .sh +35: + out/test/elf/x86_64/x86_64_tls-module-base/exe1 +35: + cc -B. -o out/test/elf/x86_64/x86_64_tls-module-base/exe2 out/test/elf/x86_64/x86_64_tls-module-base/a.o out/test/elf/x86_64/x86_64_tls-module-base/b.o out/test/elf/x86_64/x86_64_tls-module-base/c.o -Wl,-no-relax +20: + readelf -n out/test/elf/x86_64/x86_64_note-property2/d.o +20: + grep -q 'x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4' 43: ++ testname=x86_64_z-shstk 43: ++ echo -n 'Testing x86_64_z-shstk ... ' 43: Testing x86_64_z-shstk ... ++ t=out/test/elf/x86_64/x86_64_z-shstk 43: ++ mkdir -p out/test/elf/x86_64/x86_64_z-shstk -5: + on_exit -5: + echo OK -5: OK -5: + exit 0 -28: + out/test/elf/x86_64/x86_64_reloc/exe -43: + '[' x86_64 = x86_64 ']' - 32/357 Test #5: x86_64-x86_64_exception-mcmodel-large ...... Passed 1.07 sec +41: + grep -qw SHSTK out/test/elf/x86_64/x86_64_z-ibt/log +41: + cc -B. -o out/test/elf/x86_64/x86_64_z-ibt/exe out/test/elf/x86_64/x86_64_z-ibt/a.o -Wl,-z,ibt +20: + on_exit +20: + echo OK +20: OK +20: + exit 0 + 32/357 Test #20: x86_64-x86_64_note-property2 ............... Passed 0.32 sec test 44 Start 44: x86_64-x86_64_z-text @@ -3979,17 +4008,13 @@ 44: MACHINE=x86_64 44: CPU= 44: Test timeout computed to be: 1500 +43: + '[' x86_64 = x86_64 ']' 43: + echo endbr64 43: + cc -o /dev/null -c -xassembler - 28: + grep -q '^56$' -36: + out/test/elf/x86_64/x86_64_tlsdesc/exe1 -36: + grep -q 42 -36: + cc -B. -o out/test/elf/x86_64/x86_64_tlsdesc/exe2 out/test/elf/x86_64/x86_64_tlsdesc/a.o out/test/elf/x86_64/x86_64_tlsdesc/b.o -Wl,-no-relax -39: + cc -B. -shared -o out/test/elf/x86_64/x86_64_warn-shared-textrel/c.so out/test/elf/x86_64/x86_64_warn-shared-textrel/a.o out/test/elf/x86_64/x86_64_warn-shared-textrel/b.o -Wl,-warn-shared-textrel -28: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -pie -35: + out/test/elf/x86_64/x86_64_tls-module-base/exe2 +28: + out/test/elf/x86_64/x86_64_reloc/exe 44: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_z-text.sh -35: + grep -q '^20 3$' +39: + grep -q 'relocation against symbol `main'\'' in read-only section' out/test/elf/x86_64/x86_64_warn-shared-textrel/log 44: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 44: ++ export LC_ALL=C 44: ++ LC_ALL=C @@ -4008,31 +4033,32 @@ 44: ++ tlsdesc_opt=-mtls-dialect=gnu2 44: ++ trap 'on_error $LINENO' ERR 44: ++ trap on_exit EXIT -35: + cc -B. -o out/test/elf/x86_64/x86_64_tls-module-base/d.so out/test/elf/x86_64/x86_64_tls-module-base/a.o -shared -43: + cat -43: + cc -o out/test/elf/x86_64/x86_64_z-shstk/a.o -c -x assembler - 44: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/x86_64_z-text.sh .sh +34: + out/test/elf/x86_64/x86_64_tls-ld-mcmodel-large/exe +34: + grep -q '3 5 3 5' 44: ++ testname=x86_64_z-text 44: ++ echo -n 'Testing x86_64_z-text ... ' 44: Testing x86_64_z-text ... ++ t=out/test/elf/x86_64/x86_64_z-text 44: ++ mkdir -p out/test/elf/x86_64/x86_64_z-text +40: + grep -q 'relocation against symbol `main'\'' in read-only section' out/test/elf/x86_64/x86_64_warn-textrel/log +32: + cc -B. -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe2 out/test/elf/x86_64/x86_64_tls-gd-to-ie/b.o out/test/elf/x86_64/x86_64_tls-gd-to-ie/d.so +39: + grep -q 'creating a DT_TEXTREL in an output file' out/test/elf/x86_64/x86_64_warn-shared-textrel/log +28: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -pie +31: + out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/exe 44: + is_musl +36: + grep -q 42 44: + grep -q musl -44: + ldd --help -32: + grep -q '1 2 3' -44: + '[' x86_64 = x86_64 ']' -44: + cat -44: + cc -c -o out/test/elf/x86_64/x86_64_z-text/a.o -x assembler - -32: + out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe2 -43: + cc -B. -o out/test/elf/x86_64/x86_64_z-shstk/exe out/test/elf/x86_64/x86_64_z-shstk/a.o -32: + cc -B. -shared -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/e.so out/test/elf/x86_64/x86_64_tls-gd-to-ie/a.o -Wl,-z,nodlopen -38: + on_exit -38: + echo OK -38: OK -38: + exit 0 -44: + cc -c -o out/test/elf/x86_64/x86_64_z-text/b.o -fPIC -xc - -41: + readelf --notes out/test/elf/x86_64/x86_64_z-ibt/exe - 33/357 Test #38: x86_64-x86_64_warn-execstack ............... Passed 0.15 sec +34: + on_exit +34: + echo OK +34: OK +34: + exit 0 +31: + grep -q '1 2 3 4 5 6' +39: + on_exit +39: + echo OK +39: OK +39: + exit 0 +36: + out/test/elf/x86_64/x86_64_tlsdesc/exe2 + 33/357 Test #34: x86_64-x86_64_tls-ld-mcmodel-large ......... Passed 0.15 sec test 45 Start 45: x86_64-abs-error @@ -4042,15 +4068,7 @@ 45: MACHINE=x86_64 45: CPU= 45: Test timeout computed to be: 1500 -31: + out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/exe -31: + grep -q '1 2 3 4 5 6' -31: + on_exit -31: + echo OK -31: OK -31: + exit 0 -44: + cat -41: + grep -qw SHSTK out/test/elf/x86_64/x86_64_z-ibt/log - 34/357 Test #31: x86_64-x86_64_tls-gd-mcmodel-large ......... Passed 0.48 sec + 34/357 Test #39: x86_64-x86_64_warn-shared-textrel .......... Passed 0.10 sec test 46 Start 46: x86_64-absolute-symbols @@ -4060,13 +4078,31 @@ 46: MACHINE=x86_64 46: CPU= 46: Test timeout computed to be: 1500 -45: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/abs-error.sh -35: + cc -B. -o out/test/elf/x86_64/x86_64_tls-module-base/exe3 out/test/elf/x86_64/x86_64_tls-module-base/b.o out/test/elf/x86_64/x86_64_tls-module-base/c.o out/test/elf/x86_64/x86_64_tls-module-base/d.so -40: + cc -B. -o out/test/elf/x86_64/x86_64_warn-textrel/exe out/test/elf/x86_64/x86_64_warn-textrel/a.o out/test/elf/x86_64/x86_64_warn-textrel/b.o -pie -Wl,-warn-textrel -36: + grep -q 42 -36: + out/test/elf/x86_64/x86_64_tlsdesc/exe2 36: + cc -B. -shared -o out/test/elf/x86_64/x86_64_tlsdesc/c.so out/test/elf/x86_64/x86_64_tlsdesc/a.o -41: + cc -B. -o out/test/elf/x86_64/x86_64_z-ibt/exe out/test/elf/x86_64/x86_64_z-ibt/a.o -Wl,-z,ibt +44: + ldd --help +44: + '[' x86_64 = x86_64 ']' +44: + cc -c -o out/test/elf/x86_64/x86_64_z-text/a.o -x assembler - +44: + cat +43: + cc -o out/test/elf/x86_64/x86_64_z-shstk/a.o -c -x assembler - +43: + cat +43: + cc -B. -o out/test/elf/x86_64/x86_64_z-shstk/exe out/test/elf/x86_64/x86_64_z-shstk/a.o +40: + grep -q 'creating a DT_TEXTREL in an output file' out/test/elf/x86_64/x86_64_warn-textrel/log +40: + on_exit +40: + echo OK +40: OK +40: + exit 0 + 35/357 Test #40: x86_64-x86_64_warn-textrel ................. Passed 0.10 sec +test 47 + Start 47: x86_64-allow-multiple-definition + +47: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/allow-multiple-definition.sh" +47: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +47: Environment variables: +47: MACHINE=x86_64 +47: CPU= +47: Test timeout computed to be: 1500 +31: + cc -B. -o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/exe out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/a.o out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/d.so out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/e.so -Wl,-no-relax -mcmodel=large +45: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/abs-error.sh 45: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 45: ++ export LC_ALL=C 45: ++ LC_ALL=C @@ -4085,6 +4121,21 @@ 45: ++ tlsdesc_opt=-mtls-dialect=gnu2 45: ++ trap 'on_error $LINENO' ERR 45: ++ trap on_exit EXIT +45: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/abs-error.sh .sh +45: ++ testname=abs-error +45: ++ echo -n 'Testing abs-error ... ' +45: Testing abs-error ... ++ t=out/test/elf/x86_64/abs-error +45: ++ mkdir -p out/test/elf/x86_64/abs-error +45: + '[' x86_64 = aarch64 ']' +45: + '[' x86_64 = ppc64 ']' +45: + '[' x86_64 = ppc64le ']' +45: + '[' x86_64 = s390x ']' +45: + '[' x86_64 = alpha ']' +45: + [[ x86_64 = loongarch* ]] +45: + cat +44: + cc -c -o out/test/elf/x86_64/x86_64_z-text/b.o -fPIC -xc - +44: + cat +45: + cc -fPIC -c -o out/test/elf/x86_64/abs-error/a.o -xassembler - 46: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/absolute-symbols.sh 46: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 46: ++ export LC_ALL=C @@ -4104,48 +4155,18 @@ 46: ++ tlsdesc_opt=-mtls-dialect=gnu2 46: ++ trap 'on_error $LINENO' ERR 46: ++ trap on_exit EXIT -45: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/abs-error.sh .sh -45: ++ testname=abs-error -45: ++ echo -n 'Testing abs-error ... ' -45: Testing abs-error ... ++ t=out/test/elf/x86_64/abs-error -45: ++ mkdir -p out/test/elf/x86_64/abs-error 46: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/absolute-symbols.sh .sh -39: + grep -q 'relocation against symbol `main'\'' in read-only section' out/test/elf/x86_64/x86_64_warn-shared-textrel/log 46: ++ testname=absolute-symbols 46: ++ echo -n 'Testing absolute-symbols ... ' 46: Testing absolute-symbols ... ++ t=out/test/elf/x86_64/absolute-symbols 46: ++ mkdir -p out/test/elf/x86_64/absolute-symbols -39: + grep -q 'creating a DT_TEXTREL in an output file' out/test/elf/x86_64/x86_64_warn-shared-textrel/log -45: + '[' x86_64 = aarch64 ']' -45: + '[' x86_64 = ppc64 ']' -45: + '[' x86_64 = ppc64le ']' -45: + '[' x86_64 = s390x ']' -45: + '[' x86_64 = alpha ']' -45: + [[ x86_64 = loongarch* ]] 46: + '[' x86_64 = sparc64 ']' -39: + on_exit -39: + echo OK -39: OK -39: + exit 0 -45: + cat - 35/357 Test #39: x86_64-x86_64_warn-shared-textrel .......... Passed 0.17 sec -test 47 - Start 47: x86_64-allow-multiple-definition - -47: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/allow-multiple-definition.sh" -47: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -47: Environment variables: -47: MACHINE=x86_64 -47: CPU= -47: Test timeout computed to be: 1500 -45: + cc -fPIC -c -o out/test/elf/x86_64/abs-error/a.o -xassembler - 46: + cat 46: + cc -o out/test/elf/x86_64/absolute-symbols/a.o -c -x assembler - -28: + out/test/elf/x86_64/x86_64_reloc/exe -28: + grep -q '^56$' -43: + readelf --notes out/test/elf/x86_64/x86_64_z-shstk/exe +35: + grep -q '^20 3$' +41: + grep -qw IBT 47: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/allow-multiple-definition.sh -32: + cc -B. -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe3 out/test/elf/x86_64/x86_64_tls-gd-to-ie/b.o out/test/elf/x86_64/x86_64_tls-gd-to-ie/e.so +41: + readelf --notes out/test/elf/x86_64/x86_64_z-ibt/exe 47: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 47: ++ export LC_ALL=C 47: ++ LC_ALL=C @@ -4164,29 +4185,20 @@ 47: ++ tlsdesc_opt=-mtls-dialect=gnu2 47: ++ trap 'on_error $LINENO' ERR 47: ++ trap on_exit EXIT -46: + cat -28: + cat +42: + cat +42: + cc -o out/test/elf/x86_64/x86_64_z-ibtplt/c.o -c -xc - 47: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/allow-multiple-definition.sh .sh +41: + on_exit +41: + echo OK +41: OK +41: + exit 0 +46: + cat 46: + cc -o out/test/elf/x86_64/absolute-symbols/b.o -c -fno-PIC -xc - -43: + grep -qw SHSTK out/test/elf/x86_64/x86_64_z-shstk/log 47: ++ testname=allow-multiple-definition 47: ++ echo -n 'Testing allow-multiple-definition ... ' 47: Testing allow-multiple-definition ... ++ t=out/test/elf/x86_64/allow-multiple-definition 47: ++ mkdir -p out/test/elf/x86_64/allow-multiple-definition -45: + cat -45: + cc -fno-PIC -c -o out/test/elf/x86_64/abs-error/b.o -xc - -47: + echo 'int main() { return 0; }' -47: + cc -c -o out/test/elf/x86_64/allow-multiple-definition/a.o -xc - -43: + cc -B. -o out/test/elf/x86_64/x86_64_z-shstk/exe out/test/elf/x86_64/x86_64_z-shstk/a.o -Wl,-z,shstk -42: + cc -B. -o out/test/elf/x86_64/x86_64_z-ibtplt/b.so -shared out/test/elf/x86_64/x86_64_z-ibtplt/a.o -Wl,-z,ibtplt -28: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -no-pie -41: + grep -qw IBT -41: + readelf --notes out/test/elf/x86_64/x86_64_z-ibt/exe -41: + on_exit -41: + echo OK -41: OK -41: + exit 0 - 36/357 Test #41: x86_64-x86_64_z-ibt ........................ Passed 0.17 sec + 36/357 Test #41: x86_64-x86_64_z-ibt ........................ Passed 0.10 sec test 48 Start 48: x86_64-ar-alignment @@ -4196,16 +4208,16 @@ 48: MACHINE=x86_64 48: CPU= 48: Test timeout computed to be: 1500 -35: + out/test/elf/x86_64/x86_64_tls-module-base/exe3 -35: + grep -q '^20 3$' +35: + out/test/elf/x86_64/x86_64_tls-module-base/exe2 36: + cc -B. -o out/test/elf/x86_64/x86_64_tlsdesc/exe3 out/test/elf/x86_64/x86_64_tlsdesc/b.o out/test/elf/x86_64/x86_64_tlsdesc/c.so +47: + cc -c -o out/test/elf/x86_64/allow-multiple-definition/a.o -xc - +47: + echo 'int main() { return 0; }' +45: + cc -fno-PIC -c -o out/test/elf/x86_64/abs-error/b.o -xc - +35: + cc -B. -o out/test/elf/x86_64/x86_64_tls-module-base/d.so out/test/elf/x86_64/x86_64_tls-module-base/a.o -shared 48: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/ar-alignment.sh -40: + grep -q 'relocation against symbol `main'\'' in read-only section' out/test/elf/x86_64/x86_64_warn-textrel/log -44: + cc -B. -pie -o out/test/elf/x86_64/x86_64_z-text/exe out/test/elf/x86_64/x86_64_z-text/a.o out/test/elf/x86_64/x86_64_z-text/b.o -35: + on_exit -35: + echo OK -35: OK -35: + exit 0 +45: + cat +28: + grep -q '^56$' +28: + out/test/elf/x86_64/x86_64_reloc/exe 48: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 48: ++ export LC_ALL=C 48: ++ LC_ALL=C @@ -4224,7 +4236,24 @@ 48: ++ tlsdesc_opt=-mtls-dialect=gnu2 48: ++ trap 'on_error $LINENO' ERR 48: ++ trap on_exit EXIT - 37/357 Test #35: x86_64-x86_64_tls-module-base .............. Passed 0.43 sec +28: + cat +32: + out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe2 +31: + out/test/elf/x86_64/x86_64_tls-gd-mcmodel-large/exe +48: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/ar-alignment.sh .sh +44: + cc -B. -pie -o out/test/elf/x86_64/x86_64_z-text/exe out/test/elf/x86_64/x86_64_z-text/a.o out/test/elf/x86_64/x86_64_z-text/b.o +28: + cc -c -o out/test/elf/x86_64/x86_64_reloc/d.o out/test/elf/x86_64/x86_64_reloc/d.s +48: ++ testname=ar-alignment +48: ++ echo -n 'Testing ar-alignment ... ' +48: Testing ar-alignment ... ++ t=out/test/elf/x86_64/ar-alignment +48: ++ mkdir -p out/test/elf/x86_64/ar-alignment +32: + grep -q '1 2 3' +31: + grep -q '1 2 3 4 5 6' +31: + on_exit +31: + echo OK +31: OK +31: + exit 0 +48: + cc -o out/test/elf/x86_64/ar-alignment/a.o -c -xc - + 37/357 Test #31: x86_64-x86_64_tls-gd-mcmodel-large ......... Passed 0.23 sec test 49 Start 49: x86_64-as-needed-dso @@ -4234,30 +4263,10 @@ 49: MACHINE=x86_64 49: CPU= 49: Test timeout computed to be: 1500 -48: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/ar-alignment.sh .sh -48: ++ testname=ar-alignment -48: ++ echo -n 'Testing ar-alignment ... ' -48: Testing ar-alignment ... ++ t=out/test/elf/x86_64/ar-alignment -48: ++ mkdir -p out/test/elf/x86_64/ar-alignment -40: + grep -q 'creating a DT_TEXTREL in an output file' out/test/elf/x86_64/x86_64_warn-textrel/log -40: + on_exit -40: + echo OK -40: OK -40: + exit 0 - 38/357 Test #40: x86_64-x86_64_warn-textrel ................. Passed 0.21 sec -test 50 - Start 50: x86_64-as-needed-dso2 - -50: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/as-needed-dso2.sh" -50: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -50: Environment variables: -50: MACHINE=x86_64 -50: CPU= -50: Test timeout computed to be: 1500 -48: + cc -o out/test/elf/x86_64/ar-alignment/a.o -c -xc - 48: + cat +32: + cc -B. -shared -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/e.so out/test/elf/x86_64/x86_64_tls-gd-to-ie/a.o -Wl,-z,nodlopen +28: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.o -no-pie 43: + readelf --notes out/test/elf/x86_64/x86_64_z-shstk/exe -43: + grep -qw SHSTK 49: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/as-needed-dso.sh 49: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 49: ++ export LC_ALL=C @@ -4277,26 +4286,55 @@ 49: ++ tlsdesc_opt=-mtls-dialect=gnu2 49: ++ trap 'on_error $LINENO' ERR 49: ++ trap on_exit EXIT +42: + cc -B. -o out/test/elf/x86_64/x86_64_z-ibtplt/exe out/test/elf/x86_64/x86_64_z-ibtplt/c.o out/test/elf/x86_64/x86_64_z-ibtplt/b.so -Wl,-z,ibtplt +43: + grep -qw SHSTK out/test/elf/x86_64/x86_64_z-shstk/log +35: + cc -B. -o out/test/elf/x86_64/x86_64_tls-module-base/exe3 out/test/elf/x86_64/x86_64_tls-module-base/b.o out/test/elf/x86_64/x86_64_tls-module-base/c.o out/test/elf/x86_64/x86_64_tls-module-base/d.so +43: + cc -B. -o out/test/elf/x86_64/x86_64_z-shstk/exe out/test/elf/x86_64/x86_64_z-shstk/a.o -Wl,-z,shstk 49: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/as-needed-dso.sh .sh 49: ++ testname=as-needed-dso 49: ++ echo -n 'Testing as-needed-dso ... ' 49: Testing as-needed-dso ... ++ t=out/test/elf/x86_64/as-needed-dso 49: ++ mkdir -p out/test/elf/x86_64/as-needed-dso -50: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/as-needed-dso2.sh -43: + on_exit -43: + echo OK -43: OK -43: + exit 0 - 39/357 Test #43: x86_64-x86_64_z-shstk ...................... Passed 0.16 sec -test 51 - Start 51: x86_64-as-needed-weak +36: + out/test/elf/x86_64/x86_64_tlsdesc/exe3 +36: + grep -q 42 +45: + cc -B. -o out/test/elf/x86_64/abs-error/exe -pie out/test/elf/x86_64/abs-error/a.o out/test/elf/x86_64/abs-error/b.o -Wl,-z,text +47: + echo 'int main() { return 1; }' +47: + cc -c -o out/test/elf/x86_64/allow-multiple-definition/b.o -xc - +36: + cc -B. -shared -o out/test/elf/x86_64/x86_64_tlsdesc/c.so out/test/elf/x86_64/x86_64_tlsdesc/a.o -Wl,-no-relax +44: + grep -q 3 +44: + out/test/elf/x86_64/x86_64_z-text/exe +49: + cc -o out/test/elf/x86_64/as-needed-dso/libfoo.so -shared -fPIC -Wl,-soname,libfoo.so -xc - +46: + cc -B. -o out/test/elf/x86_64/absolute-symbols/exe -no-pie out/test/elf/x86_64/absolute-symbols/a.o out/test/elf/x86_64/absolute-symbols/b.o +48: + head -c 1 /dev/zero +44: + grep -Fq '(TEXTREL)' +44: + readelf --dynamic out/test/elf/x86_64/x86_64_z-text/exe +49: + cat +48: + cc -o out/test/elf/x86_64/ar-alignment/b.o -c -xc - +28: + out/test/elf/x86_64/x86_64_reloc/exe +48: + cat +32: + cc -B. -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe3 out/test/elf/x86_64/x86_64_tls-gd-to-ie/b.o out/test/elf/x86_64/x86_64_tls-gd-to-ie/e.so +44: + grep -q '\(FLAGS\).*TEXTREL' +44: + readelf --dynamic out/test/elf/x86_64/x86_64_z-text/exe +28: + grep -q '^56$' +28: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -pie +44: + on_exit +44: + echo OK +44: OK +44: + exit 0 + 38/357 Test #44: x86_64-x86_64_z-text ....................... Passed 0.08 sec +test 50 + Start 50: x86_64-as-needed-dso2 -51: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/as-needed-weak.sh" -51: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -51: Environment variables: -51: MACHINE=x86_64 -51: CPU= -51: Test timeout computed to be: 1500 +50: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/as-needed-dso2.sh" +50: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +50: Environment variables: +50: MACHINE=x86_64 +50: CPU= +50: Test timeout computed to be: 1500 +50: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/as-needed-dso2.sh +42: + out/test/elf/x86_64/x86_64_z-ibtplt/exe +42: + grep -q 'Hello world' +47: + cc -B. -o out/test/elf/x86_64/allow-multiple-definition/exe out/test/elf/x86_64/allow-multiple-definition/a.o out/test/elf/x86_64/allow-multiple-definition/b.o 50: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 50: ++ export LC_ALL=C 50: ++ LC_ALL=C @@ -4316,15 +4354,30 @@ 50: ++ trap 'on_error $LINENO' ERR 50: ++ trap on_exit EXIT 50: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/as-needed-dso2.sh .sh -42: + cc -o out/test/elf/x86_64/x86_64_z-ibtplt/c.o -c -xc - -42: + cat 50: ++ testname=as-needed-dso2 50: ++ echo -n 'Testing as-needed-dso2 ... ' 50: Testing as-needed-dso2 ... ++ t=out/test/elf/x86_64/as-needed-dso2 50: ++ mkdir -p out/test/elf/x86_64/as-needed-dso2 -32: + out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe3 +42: + on_exit +42: + echo OK +42: OK +42: + exit 0 + 39/357 Test #42: x86_64-x86_64_z-ibtplt ..................... Passed 0.15 sec +test 51 + Start 51: x86_64-as-needed-weak + +51: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/as-needed-weak.sh" +51: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +51: Environment variables: +51: MACHINE=x86_64 +51: CPU= +51: Test timeout computed to be: 1500 +43: + readelf --notes out/test/elf/x86_64/x86_64_z-shstk/exe +50: + cc -c -fPIC -o out/test/elf/x86_64/as-needed-dso2/a.o -xc - +50: + cat 51: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/as-needed-weak.sh -49: + cat +35: + out/test/elf/x86_64/x86_64_tls-module-base/exe3 +35: + grep -q '^20 3$' 51: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 51: ++ export LC_ALL=C 51: ++ LC_ALL=C @@ -4343,41 +4396,19 @@ 51: ++ tlsdesc_opt=-mtls-dialect=gnu2 51: ++ trap 'on_error $LINENO' ERR 51: ++ trap on_exit EXIT -49: + cc -o out/test/elf/x86_64/as-needed-dso/libfoo.so -shared -fPIC -Wl,-soname,libfoo.so -xc - -50: + cat -50: + cc -c -fPIC -o out/test/elf/x86_64/as-needed-dso2/a.o -xc - -36: + out/test/elf/x86_64/x86_64_tlsdesc/exe3 -32: + grep -q '1 2 3' +43: + grep -qw SHSTK +32: + out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe3 51: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/as-needed-weak.sh .sh +32: + grep -q '1 2 3' 51: ++ testname=as-needed-weak -32: + cc -B. -shared -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/f.so out/test/elf/x86_64/x86_64_tls-gd-to-ie/a.o -Wl,-z,nodlopen -Wl,-no-relax +43: + on_exit +43: + echo OK +43: OK +43: + exit 0 51: ++ echo -n 'Testing as-needed-weak ... ' 51: Testing as-needed-weak ... ++ t=out/test/elf/x86_64/as-needed-weak 51: ++ mkdir -p out/test/elf/x86_64/as-needed-weak -51: + cat -51: + cc -fPIC -o out/test/elf/x86_64/as-needed-weak/a.o -c -xc - -36: + grep -q 42 -36: + cc -B. -shared -o out/test/elf/x86_64/x86_64_tlsdesc/c.so out/test/elf/x86_64/x86_64_tlsdesc/a.o -Wl,-no-relax -44: + out/test/elf/x86_64/x86_64_z-text/exe -28: + out/test/elf/x86_64/x86_64_reloc/exe -46: + cc -B. -o out/test/elf/x86_64/absolute-symbols/exe -no-pie out/test/elf/x86_64/absolute-symbols/a.o out/test/elf/x86_64/absolute-symbols/b.o -44: + grep -q 3 -28: + grep -q '^56$' -28: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -pie -44: + readelf --dynamic out/test/elf/x86_64/x86_64_z-text/exe -47: + cc -c -o out/test/elf/x86_64/allow-multiple-definition/b.o -xc - -47: + echo 'int main() { return 1; }' -48: + head -c 1 /dev/zero -44: + grep -Fq '(TEXTREL)' -44: + grep -q '\(FLAGS\).*TEXTREL' -45: + cc -B. -o out/test/elf/x86_64/abs-error/exe -pie out/test/elf/x86_64/abs-error/a.o out/test/elf/x86_64/abs-error/b.o -Wl,-z,text -44: + readelf --dynamic out/test/elf/x86_64/x86_64_z-text/exe -44: + on_exit -44: + echo OK -44: OK -44: + exit 0 -48: + cat - 40/357 Test #44: x86_64-x86_64_z-text ....................... Passed 0.20 sec + 40/357 Test #43: x86_64-x86_64_z-shstk ...................... Passed 0.12 sec test 52 Start 52: x86_64-as-needed @@ -4387,8 +4418,26 @@ 52: MACHINE=x86_64 52: CPU= 52: Test timeout computed to be: 1500 -48: + cc -o out/test/elf/x86_64/ar-alignment/b.o -c -xc - -32: + cc -B. -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe4 out/test/elf/x86_64/x86_64_tls-gd-to-ie/b.o out/test/elf/x86_64/x86_64_tls-gd-to-ie/f.so +48: + cc -o out/test/elf/x86_64/ar-alignment/c.o -c -xc - +48: + cat +32: + cc -B. -shared -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/f.so out/test/elf/x86_64/x86_64_tls-gd-to-ie/a.o -Wl,-z,nodlopen -Wl,-no-relax +36: + cc -B. -o out/test/elf/x86_64/x86_64_tlsdesc/exe4 out/test/elf/x86_64/x86_64_tlsdesc/b.o out/test/elf/x86_64/x86_64_tlsdesc/c.so -Wl,-no-relax +35: + on_exit +35: + echo OK +35: OK +35: + exit 0 +51: + cat +51: + cc -fPIC -o out/test/elf/x86_64/as-needed-weak/a.o -c -xc - + 41/357 Test #35: x86_64-x86_64_tls-module-base .............. Passed 0.24 sec +test 53 + Start 53: x86_64-auxiliary + +53: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/auxiliary.sh" +53: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +53: Environment variables: +53: MACHINE=x86_64 +53: CPU= +53: Test timeout computed to be: 1500 52: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/as-needed.sh 52: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 52: ++ export LC_ALL=C @@ -4408,51 +4457,10 @@ 52: ++ tlsdesc_opt=-mtls-dialect=gnu2 52: ++ trap 'on_error $LINENO' ERR 52: ++ trap on_exit EXIT -52: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/as-needed.sh .sh -36: + cc -B. -o out/test/elf/x86_64/x86_64_tlsdesc/exe4 out/test/elf/x86_64/x86_64_tlsdesc/b.o out/test/elf/x86_64/x86_64_tlsdesc/c.so -Wl,-no-relax -52: ++ testname=as-needed -52: ++ echo -n 'Testing as-needed ... ' -52: Testing as-needed ... ++ t=out/test/elf/x86_64/as-needed -52: ++ mkdir -p out/test/elf/x86_64/as-needed -52: + cc -o out/test/elf/x86_64/as-needed/a.o -c -xc - -46: + out/test/elf/x86_64/absolute-symbols/exe -52: + cat 46: + grep -q '^ip=0x80000.$' -46: + on_exit -46: + echo OK -46: OK -46: + exit 0 - 41/357 Test #46: x86_64-absolute-symbols .................... Passed 0.18 sec -test 53 - Start 53: x86_64-auxiliary - -53: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/auxiliary.sh" -53: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -53: Environment variables: -53: MACHINE=x86_64 -53: CPU= -53: Test timeout computed to be: 1500 -50: + cc -c -fPIC -o out/test/elf/x86_64/as-needed-dso2/b.o -xc - -50: + cat -51: + cc -o out/test/elf/x86_64/as-needed-weak/libfoo.so -shared -fPIC -Wl,-soname,libfoo.so -xc - -45: + grep -q 'recompile with -fPIC' out/test/elf/x86_64/abs-error/log -42: + cc -B. -o out/test/elf/x86_64/x86_64_z-ibtplt/exe out/test/elf/x86_64/x86_64_z-ibtplt/c.o out/test/elf/x86_64/x86_64_z-ibtplt/b.so -Wl,-z,ibtplt -51: + cat -45: + on_exit -45: + echo OK -45: OK -45: + exit 0 - 42/357 Test #45: x86_64-abs-error ........................... Passed 0.20 sec -test 54 - Start 54: x86_64-bno-symbolic - -54: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/bno-symbolic.sh" -54: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -54: Environment variables: -54: MACHINE=x86_64 -54: CPU= -54: Test timeout computed to be: 1500 +52: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/as-needed.sh .sh 53: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/auxiliary.sh +46: + out/test/elf/x86_64/absolute-symbols/exe 53: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 53: ++ export LC_ALL=C 53: ++ LC_ALL=C @@ -4471,15 +4479,37 @@ 53: ++ tlsdesc_opt=-mtls-dialect=gnu2 53: ++ trap 'on_error $LINENO' ERR 53: ++ trap on_exit EXIT -48: + cat -48: + cc -o out/test/elf/x86_64/ar-alignment/c.o -c -xc - +46: + on_exit +46: + echo OK +46: OK +46: + exit 0 + 42/357 Test #46: x86_64-absolute-symbols .................... Passed 0.11 sec +test 54 + Start 54: x86_64-bno-symbolic + +54: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/bno-symbolic.sh" +54: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +54: Environment variables: +54: MACHINE=x86_64 +54: CPU= +54: Test timeout computed to be: 1500 +52: ++ testname=as-needed +52: ++ echo -n 'Testing as-needed ... ' +52: Testing as-needed ... ++ t=out/test/elf/x86_64/as-needed +52: ++ mkdir -p out/test/elf/x86_64/as-needed 53: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/auxiliary.sh .sh -47: + cc -B. -o out/test/elf/x86_64/allow-multiple-definition/exe out/test/elf/x86_64/allow-multiple-definition/a.o out/test/elf/x86_64/allow-multiple-definition/b.o 53: ++ testname=auxiliary 53: ++ echo -n 'Testing auxiliary ... ' 53: Testing auxiliary ... ++ t=out/test/elf/x86_64/auxiliary 53: ++ mkdir -p out/test/elf/x86_64/auxiliary +49: + cat +49: + cc -o out/test/elf/x86_64/as-needed-dso/libbar.so -shared -fPIC -Wl,-soname,libbar.so -xc - +28: + out/test/elf/x86_64/x86_64_reloc/exe 54: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/bno-symbolic.sh +52: + cat +45: + grep -q 'recompile with -fPIC' out/test/elf/x86_64/abs-error/log +50: + cc -c -fPIC -o out/test/elf/x86_64/as-needed-dso2/b.o -xc - +53: + cat 54: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 54: ++ export LC_ALL=C 54: ++ LC_ALL=C @@ -4498,26 +4528,12 @@ 54: ++ tlsdesc_opt=-mtls-dialect=gnu2 54: ++ trap 'on_error $LINENO' ERR 54: ++ trap on_exit EXIT -54: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/bno-symbolic.sh .sh -53: + cc -o out/test/elf/x86_64/auxiliary/a.o -c -x assembler - -54: ++ testname=bno-symbolic -54: ++ echo -n 'Testing bno-symbolic ... ' -54: Testing bno-symbolic ... ++ t=out/test/elf/x86_64/bno-symbolic -54: ++ mkdir -p out/test/elf/x86_64/bno-symbolic -54: + '[' x86_64 = s390x ']' -54: + cat -54: + cc -c -fPIC -oout/test/elf/x86_64/bno-symbolic/a.o -xc - -53: + cat -36: + out/test/elf/x86_64/x86_64_tlsdesc/exe4 -36: + grep -q 42 -36: + on_exit -36: + echo OK -53: + ./mold -o out/test/elf/x86_64/auxiliary/b.so out/test/elf/x86_64/auxiliary/a.o -auxiliary foo -f bar -shared -36: OK -36: + exit 0 -32: + grep -q '1 2 3' -32: + out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe4 - 43/357 Test #36: x86_64-x86_64_tlsdesc ...................... Passed 0.46 sec +50: + cat +45: + on_exit +45: + echo OK +45: OK +45: + exit 0 + 43/357 Test #45: x86_64-abs-error ........................... Passed 0.12 sec test 55 Start 55: x86_64-bsymbolic-functions @@ -4527,21 +4543,14 @@ 55: MACHINE=x86_64 55: CPU= 55: Test timeout computed to be: 1500 -32: + on_exit -32: + echo OK -32: OK -32: + exit 0 - 44/357 Test #32: x86_64-x86_64_tls-gd-to-ie ................. Passed 0.68 sec -test 56 - Start 56: x86_64-bsymbolic - -56: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/bsymbolic.sh" -56: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -56: Environment variables: -56: MACHINE=x86_64 -56: CPU= -56: Test timeout computed to be: 1500 +28: + grep -q '^56$' +28: + cat +28: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -no-pie +52: + cc -o out/test/elf/x86_64/as-needed/a.o -c -xc - +47: + cc -B. -o out/test/elf/x86_64/allow-multiple-definition/exe out/test/elf/x86_64/allow-multiple-definition/a.o out/test/elf/x86_64/allow-multiple-definition/b.o -Wl,-allow-multiple-definition +53: + cc -o out/test/elf/x86_64/auxiliary/a.o -c -x assembler - 55: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/bsymbolic-functions.sh +54: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/bno-symbolic.sh .sh 55: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 55: ++ export LC_ALL=C 55: ++ LC_ALL=C @@ -4561,13 +4570,60 @@ 55: ++ trap 'on_error $LINENO' ERR 55: ++ trap on_exit EXIT 55: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/bsymbolic-functions.sh .sh -42: + out/test/elf/x86_64/x86_64_z-ibtplt/exe -42: + grep -q 'Hello world' -42: + on_exit -42: + echo OK -42: OK -42: + exit 0 - 45/357 Test #42: x86_64-x86_64_z-ibtplt ..................... Passed 0.31 sec +55: ++ testname=bsymbolic-functions +55: ++ echo -n 'Testing bsymbolic-functions ... ' +55: Testing bsymbolic-functions ... ++ t=out/test/elf/x86_64/bsymbolic-functions +55: ++ mkdir -p out/test/elf/x86_64/bsymbolic-functions +54: ++ testname=bno-symbolic +54: ++ echo -n 'Testing bno-symbolic ... ' +54: Testing bno-symbolic ... ++ t=out/test/elf/x86_64/bno-symbolic +54: ++ mkdir -p out/test/elf/x86_64/bno-symbolic +53: + ./mold -o out/test/elf/x86_64/auxiliary/b.so out/test/elf/x86_64/auxiliary/a.o -auxiliary foo -f bar -shared +54: + '[' x86_64 = s390x ']' +51: + cc -o out/test/elf/x86_64/as-needed-weak/libfoo.so -shared -fPIC -Wl,-soname,libfoo.so -xc - +51: + cat +55: + cat +55: + cc -c -o out/test/elf/x86_64/bsymbolic-functions/a.o -fPIC -xc - +48: + rm -f out/test/elf/x86_64/ar-alignment/d.a +48: + ar rcs out/test/elf/x86_64/ar-alignment/d.a out/test/elf/x86_64/ar-alignment/a.o out/test/elf/x86_64/ar-alignment/b.o +54: + cc -c -fPIC -oout/test/elf/x86_64/bno-symbolic/a.o -xc - +54: + cat +48: + cc -B. -o out/test/elf/x86_64/ar-alignment/exe out/test/elf/x86_64/ar-alignment/c.o out/test/elf/x86_64/ar-alignment/d.a +32: + cc -B. -o out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe4 out/test/elf/x86_64/x86_64_tls-gd-to-ie/b.o out/test/elf/x86_64/x86_64_tls-gd-to-ie/f.so +53: + readelf --dynamic out/test/elf/x86_64/auxiliary/b.so +36: + grep -q 42 +53: + grep -Fq 'Auxiliary library: [foo]' out/test/elf/x86_64/auxiliary/log +36: + out/test/elf/x86_64/x86_64_tlsdesc/exe4 +36: + on_exit +36: + echo OK +36: OK +53: + grep -Fq 'Auxiliary library: [bar]' out/test/elf/x86_64/auxiliary/log +36: + exit 0 +52: + cat +50: + cc -xc -c -o out/test/elf/x86_64/as-needed-dso2/c.o - +55: + cc -B. -shared -o out/test/elf/x86_64/bsymbolic-functions/b.so out/test/elf/x86_64/bsymbolic-functions/a.o -Wl,-Bsymbolic-functions + 44/357 Test #36: x86_64-x86_64_tlsdesc ...................... Passed 0.28 sec +test 56 + Start 56: x86_64-bsymbolic + +56: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/bsymbolic.sh" +56: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +56: Environment variables: +56: MACHINE=x86_64 +56: CPU= +56: Test timeout computed to be: 1500 +52: + cc -o out/test/elf/x86_64/as-needed/b.so -shared -fPIC -Wl,-soname,libfoo.so -xc - +53: + on_exit +53: + echo OK +53: OK +53: + exit 0 +50: + cat +47: + cc -B. -o out/test/elf/x86_64/allow-multiple-definition/exe out/test/elf/x86_64/allow-multiple-definition/a.o out/test/elf/x86_64/allow-multiple-definition/b.o -Wl,-z,muldefs +28: + grep -q '^56$' +28: + out/test/elf/x86_64/x86_64_reloc/exe +49: + cat +54: + cc -B. -shared -fPIC -o out/test/elf/x86_64/bno-symbolic/b.so out/test/elf/x86_64/bno-symbolic/a.o -Wl,-Bsymbolic -Wl,-Bno-symbolic + 45/357 Test #53: x86_64-auxiliary ........................... Passed 0.05 sec test 57 Start 57: x86_64-bug178 @@ -4577,12 +4633,8 @@ 57: MACHINE=x86_64 57: CPU= 57: Test timeout computed to be: 1500 -55: ++ testname=bsymbolic-functions -55: ++ echo -n 'Testing bsymbolic-functions ... ' -55: Testing bsymbolic-functions ... ++ t=out/test/elf/x86_64/bsymbolic-functions -55: ++ mkdir -p out/test/elf/x86_64/bsymbolic-functions -55: + cc -c -o out/test/elf/x86_64/bsymbolic-functions/a.o -fPIC -xc - -55: + cat +28: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -pie +49: + cc -o out/test/elf/x86_64/as-needed-dso/a.o -c -xc - 56: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/bsymbolic.sh 56: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 56: ++ export LC_ALL=C @@ -4602,18 +4654,7 @@ 56: ++ tlsdesc_opt=-mtls-dialect=gnu2 56: ++ trap 'on_error $LINENO' ERR 56: ++ trap on_exit EXIT -56: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/bsymbolic.sh .sh -56: ++ testname=bsymbolic -56: ++ echo -n 'Testing bsymbolic ... ' -56: Testing bsymbolic ... ++ t=out/test/elf/x86_64/bsymbolic -56: ++ mkdir -p out/test/elf/x86_64/bsymbolic -56: + cat -28: + out/test/elf/x86_64/x86_64_reloc/exe -28: + grep -q '^56$' -28: + cat -53: + readelf --dynamic out/test/elf/x86_64/auxiliary/b.so 57: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/bug178.sh -56: + cc -c -fPIC -oout/test/elf/x86_64/bsymbolic/a.o -xc - 57: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 57: ++ export LC_ALL=C 57: ++ LC_ALL=C @@ -4632,20 +4673,14 @@ 57: ++ tlsdesc_opt=-mtls-dialect=gnu2 57: ++ trap 'on_error $LINENO' ERR 57: ++ trap on_exit EXIT -53: + grep -Fq 'Auxiliary library: [foo]' out/test/elf/x86_64/auxiliary/log +51: + cc -o out/test/elf/x86_64/as-needed-weak/libbar.so -shared -fPIC -Wl,-soname,libbar.so -xc - +51: + cat +48: + on_exit +48: + echo OK +48: OK +48: + exit 0 57: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/bug178.sh .sh -53: + grep -Fq 'Auxiliary library: [bar]' out/test/elf/x86_64/auxiliary/log -57: ++ testname=bug178 -57: ++ echo -n 'Testing bug178 ... ' -57: Testing bug178 ... ++ t=out/test/elf/x86_64/bug178 -57: ++ mkdir -p out/test/elf/x86_64/bug178 -47: + cc -B. -o out/test/elf/x86_64/allow-multiple-definition/exe out/test/elf/x86_64/allow-multiple-definition/a.o out/test/elf/x86_64/allow-multiple-definition/b.o -Wl,-allow-multiple-definition -53: + on_exit -53: + echo OK -53: OK -53: + exit 0 -57: + cat - 46/357 Test #53: x86_64-auxiliary ........................... Passed 0.08 sec + 46/357 Test #48: x86_64-ar-alignment ........................ Passed 0.15 sec test 58 Start 58: x86_64-build-id @@ -4655,15 +4690,35 @@ 58: MACHINE=x86_64 58: CPU= 58: Test timeout computed to be: 1500 +57: ++ testname=bug178 +57: ++ echo -n 'Testing bug178 ... ' +57: Testing bug178 ... ++ t=out/test/elf/x86_64/bug178 +57: ++ mkdir -p out/test/elf/x86_64/bug178 +57: + cat 57: + cc -x assembler -c -o out/test/elf/x86_64/bug178/a.o - +56: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/bsymbolic.sh .sh +47: + on_exit +47: + echo OK +47: OK +47: + exit 0 +56: ++ testname=bsymbolic +56: ++ echo -n 'Testing bsymbolic ... ' +56: Testing bsymbolic ... ++ t=out/test/elf/x86_64/bsymbolic +56: ++ mkdir -p out/test/elf/x86_64/bsymbolic + 47/357 Test #47: x86_64-allow-multiple-definition ........... Passed 0.17 sec +test 59 + Start 59: x86_64-canonical-plt + +59: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/canonical-plt.sh" +59: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +59: Environment variables: +59: MACHINE=x86_64 +59: CPU= +59: Test timeout computed to be: 1500 +50: + cc -B. -shared -o out/test/elf/x86_64/as-needed-dso2/libfoo.so out/test/elf/x86_64/as-needed-dso2/a.o +59: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/canonical-plt.sh 57: + rm -f out/test/elf/x86_64/bug178/a.a -48: + rm -f out/test/elf/x86_64/ar-alignment/d.a -50: + cc -xc -c -o out/test/elf/x86_64/as-needed-dso2/c.o - -50: + cat -48: + ar rcs out/test/elf/x86_64/ar-alignment/d.a out/test/elf/x86_64/ar-alignment/a.o out/test/elf/x86_64/ar-alignment/b.o 58: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/build-id.sh -49: + cat -49: + cc -o out/test/elf/x86_64/as-needed-dso/libbar.so -shared -fPIC -Wl,-soname,libbar.so -xc - 58: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 58: ++ export LC_ALL=C 58: ++ LC_ALL=C @@ -4682,37 +4737,6 @@ 58: ++ tlsdesc_opt=-mtls-dialect=gnu2 58: ++ trap 'on_error $LINENO' ERR 58: ++ trap on_exit EXIT -58: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/build-id.sh .sh -52: + cat -58: ++ testname=build-id -58: ++ echo -n 'Testing build-id ... ' -58: Testing build-id ... ++ t=out/test/elf/x86_64/build-id -58: ++ mkdir -p out/test/elf/x86_64/build-id -52: + cc -o out/test/elf/x86_64/as-needed/b.so -shared -fPIC -Wl,-soname,libfoo.so -xc - -57: + ar rcs out/test/elf/x86_64/bug178/a.a out/test/elf/x86_64/bug178/a.o -58: + echo 'int main() { return 0; }' -58: + cc -B. -o out/test/elf/x86_64/build-id/exe out/test/elf/x86_64/build-id/a.c -Wl,-build-id -48: + cc -B. -o out/test/elf/x86_64/ar-alignment/exe out/test/elf/x86_64/ar-alignment/c.o out/test/elf/x86_64/ar-alignment/d.a -57: + ./mold -o out/test/elf/x86_64/bug178/exe out/test/elf/x86_64/bug178/a.a -28: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -no-pie -47: + cc -B. -o out/test/elf/x86_64/allow-multiple-definition/exe out/test/elf/x86_64/allow-multiple-definition/a.o out/test/elf/x86_64/allow-multiple-definition/b.o -Wl,-z,muldefs -56: + cc -B. -shared -fPIC -o out/test/elf/x86_64/bsymbolic/b.so out/test/elf/x86_64/bsymbolic/a.o -Wl,-Bsymbolic -54: + cc -B. -shared -fPIC -o out/test/elf/x86_64/bno-symbolic/b.so out/test/elf/x86_64/bno-symbolic/a.o -Wl,-Bsymbolic -Wl,-Bno-symbolic -57: + on_exit -57: + echo OK -57: OK -57: + exit 0 - 47/357 Test #57: x86_64-bug178 .............................. Passed 0.07 sec -test 59 - Start 59: x86_64-canonical-plt - -59: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/canonical-plt.sh" -59: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -59: Environment variables: -59: MACHINE=x86_64 -59: CPU= -59: Test timeout computed to be: 1500 -59: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/canonical-plt.sh 59: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 59: ++ export LC_ALL=C 59: ++ LC_ALL=C @@ -4731,24 +4755,27 @@ 59: ++ tlsdesc_opt=-mtls-dialect=gnu2 59: ++ trap 'on_error $LINENO' ERR 59: ++ trap on_exit EXIT -59: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/canonical-plt.sh .sh -59: ++ testname=canonical-plt -59: ++ echo -n 'Testing canonical-plt ... ' -59: Testing canonical-plt ... ++ t=out/test/elf/x86_64/canonical-plt -59: ++ mkdir -p out/test/elf/x86_64/canonical-plt -55: + cc -B. -shared -o out/test/elf/x86_64/bsymbolic-functions/b.so out/test/elf/x86_64/bsymbolic-functions/a.o -Wl,-Bsymbolic-functions -51: + cc -o out/test/elf/x86_64/as-needed-weak/libbar.so -shared -fPIC -Wl,-soname,libbar.so -xc - -59: + '[' x86_64 = s390x ']' -51: + cat -59: + cc -o out/test/elf/x86_64/canonical-plt/a.so -fPIC -shared -xc - -59: + cat +32: + out/test/elf/x86_64/x86_64_tls-gd-to-ie/exe4 +56: + cc -c -fPIC -oout/test/elf/x86_64/bsymbolic/a.o -xc - +54: + cat +55: + cat +32: + grep -q '1 2 3' +57: + ar rcs out/test/elf/x86_64/bug178/a.a out/test/elf/x86_64/bug178/a.o +58: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/build-id.sh .sh +55: + cc -c -o out/test/elf/x86_64/bsymbolic-functions/c.o -xc - -fno-PIE +49: + cc -B. -o out/test/elf/x86_64/as-needed-dso/exe out/test/elf/x86_64/as-needed-dso/a.o -Lout/test/elf/x86_64/as-needed-dso -Wl,--as-needed -lbar -lfoo 56: + cat -48: + on_exit -48: + echo OK -48: OK -48: + exit 0 -56: + cc -c -o out/test/elf/x86_64/bsymbolic/c.o -xc - -fno-PIE - 48/357 Test #48: x86_64-ar-alignment ........................ Passed 0.29 sec +32: + on_exit +32: + echo OK +32: OK +32: + exit 0 +58: ++ testname=build-id +58: ++ echo -n 'Testing build-id ... ' +58: Testing build-id ... ++ t=out/test/elf/x86_64/build-id +58: ++ mkdir -p out/test/elf/x86_64/build-id +54: + cc -c -o out/test/elf/x86_64/bno-symbolic/c.o -xc - -fno-PIE +59: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/canonical-plt.sh .sh + 48/357 Test #32: x86_64-x86_64_tls-gd-to-ie ................. Passed 0.38 sec test 60 Start 60: x86_64-cmdline @@ -4758,20 +4785,22 @@ 60: MACHINE=x86_64 60: CPU= 60: Test timeout computed to be: 1500 -47: + on_exit -47: + echo OK -47: OK -47: + exit 0 - 49/357 Test #47: x86_64-allow-multiple-definition ........... Passed 0.33 sec -test 61 - Start 61: x86_64-color-diagnostics - -61: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/color-diagnostics.sh" -61: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -61: Environment variables: -61: MACHINE=x86_64 -61: CPU= -61: Test timeout computed to be: 1500 +28: + grep -q '^56$' +28: + out/test/elf/x86_64/x86_64_reloc/exe +28: + cat +59: ++ testname=canonical-plt +59: ++ echo -n 'Testing canonical-plt ... ' +59: Testing canonical-plt ... ++ t=out/test/elf/x86_64/canonical-plt +59: ++ mkdir -p out/test/elf/x86_64/canonical-plt +59: + '[' x86_64 = s390x ']' +59: + cc -o out/test/elf/x86_64/canonical-plt/a.so -fPIC -shared -xc - +52: + cc -o out/test/elf/x86_64/as-needed/c.so -shared -fPIC -Wl,-soname,libbar.so -xc - +59: + cat +28: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -no-pie +57: + ./mold -o out/test/elf/x86_64/bug178/exe out/test/elf/x86_64/bug178/a.a +58: + echo 'int main() { return 0; }' +58: + cc -B. -o out/test/elf/x86_64/build-id/exe out/test/elf/x86_64/build-id/a.c -Wl,-build-id +52: + cat 60: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/cmdline.sh 60: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 60: ++ export LC_ALL=C @@ -4791,15 +4820,53 @@ 60: ++ tlsdesc_opt=-mtls-dialect=gnu2 60: ++ trap 'on_error $LINENO' ERR 60: ++ trap on_exit EXIT -54: + cat -54: + cc -c -o out/test/elf/x86_64/bno-symbolic/c.o -xc - -fno-PIE -50: + cc -B. -shared -o out/test/elf/x86_64/as-needed-dso2/libfoo.so out/test/elf/x86_64/as-needed-dso2/a.o 60: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/cmdline.sh .sh -61: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/color-diagnostics.sh 60: ++ testname=cmdline 60: ++ echo -n 'Testing cmdline ... ' 60: Testing cmdline ... ++ t=out/test/elf/x86_64/cmdline 60: ++ mkdir -p out/test/elf/x86_64/cmdline +51: + cc -o out/test/elf/x86_64/as-needed-weak/exe1 out/test/elf/x86_64/as-needed-weak/a.o -Wl,-no-as-needed -Lout/test/elf/x86_64/as-needed-weak -lbar -lfoo +60: + grep -q 'unknown command line option: -zfoo' +57: + on_exit +57: + echo OK +57: OK +57: + exit 0 +49: + readelf -W --dynamic out/test/elf/x86_64/as-needed-dso/exe +50: + cc -B. -shared -o out/test/elf/x86_64/as-needed-dso2/libbar.so out/test/elf/x86_64/as-needed-dso2/b.o + 49/357 Test #57: x86_64-bug178 .............................. Passed 0.06 sec +test 61 + Start 61: x86_64-color-diagnostics + +61: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/color-diagnostics.sh" +61: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +61: Environment variables: +61: MACHINE=x86_64 +61: CPU= +61: Test timeout computed to be: 1500 +56: + cc -B. -shared -fPIC -o out/test/elf/x86_64/bsymbolic/b.so out/test/elf/x86_64/bsymbolic/a.o -Wl,-Bsymbolic +60: + grep -q 'unknown command line option: -z foo' +49: + grep -q libbar out/test/elf/x86_64/as-needed-dso/log2 +49: + grep -q libfoo out/test/elf/x86_64/as-needed-dso/log2 +49: + on_exit +49: + echo OK +49: OK +49: + exit 0 +55: + cc -B. -no-pie -o out/test/elf/x86_64/bsymbolic-functions/exe out/test/elf/x86_64/bsymbolic-functions/c.o out/test/elf/x86_64/bsymbolic-functions/b.so +54: + cc -B. -no-pie -o out/test/elf/x86_64/bno-symbolic/exe out/test/elf/x86_64/bno-symbolic/c.o out/test/elf/x86_64/bno-symbolic/b.so +59: + cc -o out/test/elf/x86_64/canonical-plt/b.o -c -xc - -fPIC +59: + cat +52: + cc -B. -o out/test/elf/x86_64/as-needed/exe out/test/elf/x86_64/as-needed/a.o -Wl,--no-as-needed out/test/elf/x86_64/as-needed/b.so out/test/elf/x86_64/as-needed/c.so + 50/357 Test #49: x86_64-as-needed-dso ....................... Passed 0.19 sec +test 62 + Start 62: x86_64-comment + +62: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/comment.sh" +62: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +62: Environment variables: +62: MACHINE=x86_64 +62: CPU= +62: Test timeout computed to be: 1500 +61: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/color-diagnostics.sh 61: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 61: ++ export LC_ALL=C 61: ++ LC_ALL=C @@ -4818,48 +4885,20 @@ 61: ++ tlsdesc_opt=-mtls-dialect=gnu2 61: ++ trap 'on_error $LINENO' ERR 61: ++ trap on_exit EXIT -55: + cc -c -o out/test/elf/x86_64/bsymbolic-functions/c.o -xc - -fno-PIE 61: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/color-diagnostics.sh .sh -55: + cat 61: ++ testname=color-diagnostics 61: ++ echo -n 'Testing color-diagnostics ... ' 61: Testing color-diagnostics ... ++ t=out/test/elf/x86_64/color-diagnostics 61: ++ mkdir -p out/test/elf/x86_64/color-diagnostics -60: + grep -q 'unknown command line option: -zfoo' -61: + cat 61: + cc -o out/test/elf/x86_64/color-diagnostics/a.o -c -xc - -60: + grep -q 'unknown command line option: -z foo' -58: + grep -qv 'GNU.*0x00000010.*NT_GNU_BUILD_ID' -58: + readelf -n out/test/elf/x86_64/build-id/exe -58: + cc -B. -o out/test/elf/x86_64/build-id/exe out/test/elf/x86_64/build-id/a.c -Wl,-build-id=uuid 60: + grep -q 'unknown command line option: -abcdefg' -28: + out/test/elf/x86_64/x86_64_reloc/exe +51: + readelf --dynamic out/test/elf/x86_64/as-needed-weak/exe1 +51: + grep -Fq 'Shared library: [libfoo.so]' out/test/elf/x86_64/as-needed-weak/log1 +56: + cat 28: + grep -q '^76$' -50: + cc -B. -shared -o out/test/elf/x86_64/as-needed-dso2/libbar.so out/test/elf/x86_64/as-needed-dso2/b.o -60: + grep -q 'unknown command line option: --abcdefg' -28: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -pie -56: + cc -B. -no-pie -o out/test/elf/x86_64/bsymbolic/exe out/test/elf/x86_64/bsymbolic/c.o out/test/elf/x86_64/bsymbolic/b.so -52: + cc -o out/test/elf/x86_64/as-needed/c.so -shared -fPIC -Wl,-soname,libbar.so -xc - -52: + cat -60: + on_exit -60: + echo OK -60: OK -60: + exit 0 - 50/357 Test #60: x86_64-cmdline ............................. Passed 0.09 sec -test 62 - Start 62: x86_64-comment - -62: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/comment.sh" -62: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -62: Environment variables: -62: MACHINE=x86_64 -62: CPU= -62: Test timeout computed to be: 1500 -49: + cat -49: + cc -o out/test/elf/x86_64/as-needed-dso/a.o -c -xc - -59: + cc -o out/test/elf/x86_64/canonical-plt/b.o -c -xc - -fPIC -59: + cat -54: + cc -B. -no-pie -o out/test/elf/x86_64/bno-symbolic/exe out/test/elf/x86_64/bno-symbolic/c.o out/test/elf/x86_64/bno-symbolic/b.so +50: + cc -B. -o out/test/elf/x86_64/as-needed-dso2/exe out/test/elf/x86_64/as-needed-dso2/c.o -Lout/test/elf/x86_64/as-needed-dso2 -Wl,--as-needed -lfoo -lbar +51: + grep -Fq 'Shared library: [libbar.so]' out/test/elf/x86_64/as-needed-weak/log1 +61: + cat 62: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/comment.sh 62: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 62: ++ export LC_ALL=C @@ -4884,17 +4923,17 @@ 62: ++ echo -n 'Testing comment ... ' 62: Testing comment ... ++ t=out/test/elf/x86_64/comment 62: ++ mkdir -p out/test/elf/x86_64/comment -61: + ./mold -o out/test/elf/x86_64/color-diagnostics/exe out/test/elf/x86_64/color-diagnostics/a.o --color-diagnostics -62: + cc -c -o out/test/elf/x86_64/comment/a.o -xc - -62: + cat -56: + out/test/elf/x86_64/bsymbolic/exe -56: + grep -q '3 4' -55: + cc -B. -no-pie -o out/test/elf/x86_64/bsymbolic-functions/exe out/test/elf/x86_64/bsymbolic-functions/c.o out/test/elf/x86_64/bsymbolic-functions/b.so -56: + on_exit -56: + echo OK -56: OK -56: + exit 0 - 51/357 Test #56: x86_64-bsymbolic ........................... Passed 0.24 sec +56: + cc -c -o out/test/elf/x86_64/bsymbolic/c.o -xc - -fno-PIE +55: + grep -q '3 3 0' +55: + out/test/elf/x86_64/bsymbolic-functions/exe +55: + on_exit +55: + echo OK +55: OK +55: + exit 0 +28: + out/test/elf/x86_64/x86_64_reloc/exe +28: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -pie +51: + cc -o out/test/elf/x86_64/as-needed-weak/exe2 out/test/elf/x86_64/as-needed-weak/a.o -Wl,-as-needed -Lout/test/elf/x86_64/as-needed-weak -lbar -lfoo + 51/357 Test #55: x86_64-bsymbolic-functions ................. Passed 0.13 sec test 63 Start 63: x86_64-common-archive @@ -4904,9 +4943,34 @@ 63: MACHINE=x86_64 63: CPU= 63: Test timeout computed to be: 1500 +62: + cat +62: + cc -c -o out/test/elf/x86_64/comment/a.o -xc - +60: + grep -q 'unknown command line option: --abcdefg' +54: + grep -q '3 3 1' +54: + out/test/elf/x86_64/bno-symbolic/exe +54: + on_exit +54: + echo OK +54: OK +54: + exit 0 +52: + readelf --dynamic out/test/elf/x86_64/as-needed/exe + 52/357 Test #54: x86_64-bno-symbolic ........................ Passed 0.14 sec +test 64 + Start 64: x86_64-common-ref + +64: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/common-ref.sh" +64: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +64: Environment variables: +64: MACHINE=x86_64 +64: CPU= +64: Test timeout computed to be: 1500 +60: + on_exit +60: + echo OK +60: OK +60: + exit 0 +52: + grep -Fq 'Shared library: [libfoo.so]' out/test/elf/x86_64/as-needed/readelf +52: + grep -Fq 'Shared library: [libbar.so]' out/test/elf/x86_64/as-needed/readelf +52: + cc -B. -o out/test/elf/x86_64/as-needed/exe out/test/elf/x86_64/as-needed/a.o -Wl,--as-needed out/test/elf/x86_64/as-needed/b.so out/test/elf/x86_64/as-needed/c.so 63: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common-archive.sh -61: + grep -q $'\E' out/test/elf/x86_64/color-diagnostics/log -50: + cc -B. -o out/test/elf/x86_64/as-needed-dso2/exe out/test/elf/x86_64/as-needed-dso2/c.o -Lout/test/elf/x86_64/as-needed-dso2 -Wl,--as-needed -lfoo -lbar 63: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 63: ++ export LC_ALL=C 63: ++ LC_ALL=C @@ -4917,7 +4981,6 @@ 63: ++ CXX=c++ 63: ++ GCC=gcc 63: ++ GXX=g++ -59: + cat 63: ++ OBJDUMP=objdump 63: ++ OBJCOPY=objcopy 63: ++ STRIP=strip @@ -4927,35 +4990,17 @@ 63: ++ trap 'on_error $LINENO' ERR 63: ++ trap on_exit EXIT 59: + cc -o out/test/elf/x86_64/canonical-plt/c.o -c -xc - -fno-PIC -61: + ./mold -o out/test/elf/x86_64/color-diagnostics/exe out/test/elf/x86_64/color-diagnostics/a.o --color-diagnostics=always -63: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common-archive.sh .sh -63: ++ testname=common-archive -63: ++ echo -n 'Testing common-archive ... ' -63: Testing common-archive ... ++ t=out/test/elf/x86_64/common-archive -63: ++ mkdir -p out/test/elf/x86_64/common-archive -49: + cc -B. -o out/test/elf/x86_64/as-needed-dso/exe out/test/elf/x86_64/as-needed-dso/a.o -Lout/test/elf/x86_64/as-needed-dso -Wl,--as-needed -lbar -lfoo -54: + grep -q '3 3 1' -63: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-archive/a.o - -54: + out/test/elf/x86_64/bno-symbolic/exe -61: + grep -q $'\E' out/test/elf/x86_64/color-diagnostics/log -54: + on_exit -54: + echo OK -54: OK -54: + exit 0 - 52/357 Test #54: x86_64-bno-symbolic ........................ Passed 0.30 sec -test 64 - Start 64: x86_64-common-ref +59: + cat + 53/357 Test #60: x86_64-cmdline ............................. Passed 0.07 sec +test 65 + Start 65: x86_64-common -64: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/common-ref.sh" -64: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -64: Environment variables: -64: MACHINE=x86_64 -64: CPU= -64: Test timeout computed to be: 1500 -51: + cc -o out/test/elf/x86_64/as-needed-weak/exe1 out/test/elf/x86_64/as-needed-weak/a.o -Wl,-no-as-needed -Lout/test/elf/x86_64/as-needed-weak -lbar -lfoo -63: + cat -52: + cc -B. -o out/test/elf/x86_64/as-needed/exe out/test/elf/x86_64/as-needed/a.o -Wl,--no-as-needed out/test/elf/x86_64/as-needed/b.so out/test/elf/x86_64/as-needed/c.so -61: + ./mold -o out/test/elf/x86_64/color-diagnostics/exe out/test/elf/x86_64/color-diagnostics/a.o --color-diagnostics=never +65: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.sh" +65: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +65: Environment variables: +65: MACHINE=x86_64 +65: CPU= +65: Test timeout computed to be: 1500 64: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common-ref.sh 64: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 64: ++ export LC_ALL=C @@ -4976,35 +5021,12 @@ 64: ++ trap 'on_error $LINENO' ERR 64: ++ trap on_exit EXIT 64: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common-ref.sh .sh +65: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.sh +63: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common-archive.sh .sh 64: ++ testname=common-ref 64: ++ echo -n 'Testing common-ref ... ' 64: Testing common-ref ... ++ t=out/test/elf/x86_64/common-ref 64: ++ mkdir -p out/test/elf/x86_64/common-ref -28: + out/test/elf/x86_64/x86_64_reloc/exe -55: + out/test/elf/x86_64/bsymbolic-functions/exe -55: + grep -q '3 3 0' -28: + grep -q '^76$' -55: + on_exit -55: + echo OK -55: OK -55: + exit 0 - 53/357 Test #55: x86_64-bsymbolic-functions ................. Passed 0.30 sec -test 65 - Start 65: x86_64-common - -65: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.sh" -65: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -65: Environment variables: -65: MACHINE=x86_64 -65: CPU= -65: Test timeout computed to be: 1500 -28: + cat -28: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -no-pie -62: + cc -B. -o out/test/elf/x86_64/comment/exe out/test/elf/x86_64/comment/a.o -64: + cat -64: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-ref/a.o - -59: + cc -B. -no-pie -o out/test/elf/x86_64/canonical-plt/exe out/test/elf/x86_64/canonical-plt/a.so out/test/elf/x86_64/canonical-plt/b.o out/test/elf/x86_64/canonical-plt/c.o -65: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.sh 65: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 65: ++ export LC_ALL=C 65: ++ LC_ALL=C @@ -5023,32 +5045,35 @@ 65: ++ tlsdesc_opt=-mtls-dialect=gnu2 65: ++ trap 'on_error $LINENO' ERR 65: ++ trap on_exit EXIT -50: + readelf --dynamic out/test/elf/x86_64/as-needed-dso2/exe -61: + grep -q $'\E' out/test/elf/x86_64/color-diagnostics/log 65: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.sh .sh -58: + grep -Eq 'Build ID: ............4...[89abcdef]' -58: + readelf -nW out/test/elf/x86_64/build-id/exe 65: ++ testname=common 65: ++ echo -n 'Testing common ... ' 65: Testing common ... ++ t=out/test/elf/x86_64/common 65: ++ mkdir -p out/test/elf/x86_64/common -49: + readelf -W --dynamic out/test/elf/x86_64/as-needed-dso/exe -50: + grep libfoo.so out/test/elf/x86_64/as-needed-dso2/log -51: + readelf --dynamic out/test/elf/x86_64/as-needed-weak/exe1 -49: + grep -q libbar out/test/elf/x86_64/as-needed-dso/log2 +63: ++ testname=common-archive +63: ++ echo -n 'Testing common-archive ... ' +63: Testing common-archive ... ++ t=out/test/elf/x86_64/common-archive +63: ++ mkdir -p out/test/elf/x86_64/common-archive +51: + readelf --dynamic out/test/elf/x86_64/as-needed-weak/exe2 +64: + cat +64: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-ref/a.o - +58: + readelf -n out/test/elf/x86_64/build-id/exe +51: + grep -Fq 'Shared library: [libfoo.so]' out/test/elf/x86_64/as-needed-weak/log2 +63: + cat +50: + readelf --dynamic out/test/elf/x86_64/as-needed-dso2/exe +58: + grep -qv 'GNU.*0x00000010.*NT_GNU_BUILD_ID' +51: + grep -Fq 'Shared library: [libbar.so]' out/test/elf/x86_64/as-needed-weak/log2 +58: + cc -B. -o out/test/elf/x86_64/build-id/exe out/test/elf/x86_64/build-id/a.c -Wl,-build-id=uuid 65: + cat +50: + grep libfoo.so out/test/elf/x86_64/as-needed-dso2/log 65: + cc -fcommon -xc -c -o out/test/elf/x86_64/common/a.o - -50: + grep -q libbar.so out/test/elf/x86_64/as-needed-dso2/log -49: + grep -q libfoo out/test/elf/x86_64/as-needed-dso/log2 -61: + ./mold -o out/test/elf/x86_64/color-diagnostics/exe out/test/elf/x86_64/color-diagnostics/a.o --color-diagnostics=auto -58: + cc -B. -o out/test/elf/x86_64/build-id/exe out/test/elf/x86_64/build-id/a.c -Wl,-build-id=md5 -63: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-archive/b.o - -63: + cat -50: + on_exit -50: + echo OK -50: OK -50: + exit 0 - 54/357 Test #50: x86_64-as-needed-dso2 ...................... Passed 0.47 sec +63: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-archive/a.o - +51: + on_exit +51: + echo OK +51: OK +51: + exit 0 +61: + ./mold -o out/test/elf/x86_64/color-diagnostics/exe out/test/elf/x86_64/color-diagnostics/a.o --color-diagnostics + 54/357 Test #51: x86_64-as-needed-weak ...................... Passed 0.18 sec test 66 Start 66: x86_64-compress-debug-sections-zstd @@ -5058,11 +5083,13 @@ 66: MACHINE=x86_64 66: CPU= 66: Test timeout computed to be: 1500 -49: + on_exit -49: + echo OK -49: OK -49: + exit 0 - 55/357 Test #49: x86_64-as-needed-dso ....................... Passed 0.49 sec +50: + grep -q libbar.so out/test/elf/x86_64/as-needed-dso2/log +50: + on_exit +50: + echo OK +50: OK +50: + exit 0 +56: + cc -B. -no-pie -o out/test/elf/x86_64/bsymbolic/exe out/test/elf/x86_64/bsymbolic/c.o out/test/elf/x86_64/bsymbolic/b.so + 55/357 Test #50: x86_64-as-needed-dso2 ...................... Passed 0.20 sec test 67 Start 67: x86_64-compress-debug-sections @@ -5072,19 +5099,36 @@ 67: MACHINE=x86_64 67: CPU= 67: Test timeout computed to be: 1500 -51: + grep -Fq 'Shared library: [libfoo.so]' out/test/elf/x86_64/as-needed-weak/log1 -51: + grep -Fq 'Shared library: [libbar.so]' out/test/elf/x86_64/as-needed-weak/log1 -61: + grep -q $'\E' out/test/elf/x86_64/color-diagnostics/log +66: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/compress-debug-sections-zstd.sh +66: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc +66: ++ export LC_ALL=C +66: ++ LC_ALL=C +66: ++ '[' -z x86_64 ']' +66: ++ '[' -z '' ']' +66: ++ TESTDIR=out/test/elf/x86_64 +66: ++ CC=cc +66: ++ CXX=c++ +66: ++ GCC=gcc +66: ++ GXX=g++ +66: ++ OBJDUMP=objdump +66: ++ OBJCOPY=objcopy +66: ++ STRIP=strip +66: ++ QEMU= +66: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' +66: ++ tlsdesc_opt=-mtls-dialect=gnu2 +66: ++ trap 'on_error $LINENO' ERR +66: ++ trap on_exit EXIT +62: + cc -B. -o out/test/elf/x86_64/comment/exe out/test/elf/x86_64/comment/a.o +66: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/compress-debug-sections-zstd.sh .sh +66: ++ testname=compress-debug-sections-zstd +66: ++ echo -n 'Testing compress-debug-sections-zstd ... ' +66: Testing compress-debug-sections-zstd ... ++ t=out/test/elf/x86_64/compress-debug-sections-zstd +66: ++ mkdir -p out/test/elf/x86_64/compress-debug-sections-zstd 52: + readelf --dynamic out/test/elf/x86_64/as-needed/exe -59: + out/test/elf/x86_64/canonical-plt/exe 67: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/compress-debug-sections.sh -59: + grep -q '^1 1 1$' -64: + cat -64: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-ref/b.o - +28: + out/test/elf/x86_64/x86_64_reloc/exe 67: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 67: ++ export LC_ALL=C -51: + cc -o out/test/elf/x86_64/as-needed-weak/exe2 out/test/elf/x86_64/as-needed-weak/a.o -Wl,-as-needed -Lout/test/elf/x86_64/as-needed-weak -lbar -lfoo -66: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/compress-debug-sections-zstd.sh 67: ++ LC_ALL=C 67: ++ '[' -z x86_64 ']' 67: ++ '[' -z '' ']' @@ -5101,29 +5145,22 @@ 67: ++ tlsdesc_opt=-mtls-dialect=gnu2 67: ++ trap 'on_error $LINENO' ERR 67: ++ trap on_exit EXIT -66: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc -66: ++ export LC_ALL=C -66: ++ LC_ALL=C -66: ++ '[' -z x86_64 ']' -66: ++ '[' -z '' ']' -66: ++ TESTDIR=out/test/elf/x86_64 -66: ++ CC=cc -66: ++ CXX=c++ -66: ++ GCC=gcc -66: ++ GXX=g++ -66: ++ OBJDUMP=objdump -66: ++ OBJCOPY=objcopy -66: ++ STRIP=strip -66: ++ QEMU= -66: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' -66: ++ tlsdesc_opt=-mtls-dialect=gnu2 -66: ++ trap 'on_error $LINENO' ERR -66: ++ trap on_exit EXIT -59: + on_exit -59: + echo OK -59: OK -59: + exit 0 - 56/357 Test #59: x86_64-canonical-plt ....................... Passed 0.27 sec +67: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/compress-debug-sections.sh .sh +61: + grep -q $'\E' out/test/elf/x86_64/color-diagnostics/log +67: ++ testname=compress-debug-sections +67: ++ echo -n 'Testing compress-debug-sections ... ' +67: Testing compress-debug-sections ... ++ t=out/test/elf/x86_64/compress-debug-sections +67: ++ mkdir -p out/test/elf/x86_64/compress-debug-sections +66: + '[' x86_64 = arm ']' +66: + '[' x86_64 = riscv32 ']' +66: + command -v zstdcat +66: + skip +66: + echo skipped +66: skipped +66: + trap - EXIT +66: + exit 0 +59: + cc -B. -no-pie -o out/test/elf/x86_64/canonical-plt/exe out/test/elf/x86_64/canonical-plt/a.so out/test/elf/x86_64/canonical-plt/b.o out/test/elf/x86_64/canonical-plt/c.o + 56/357 Test #66: x86_64-compress-debug-sections-zstd ........***Skipped 0.01 sec test 68 Start 68: x86_64-compressed-debug-info @@ -5133,32 +5170,24 @@ 68: MACHINE=x86_64 68: CPU= 68: Test timeout computed to be: 1500 +61: + ./mold -o out/test/elf/x86_64/color-diagnostics/exe out/test/elf/x86_64/color-diagnostics/a.o --color-diagnostics=always 52: + grep -Fq 'Shared library: [libfoo.so]' out/test/elf/x86_64/as-needed/readelf 52: + grep -Fq 'Shared library: [libbar.so]' out/test/elf/x86_64/as-needed/readelf -67: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/compress-debug-sections.sh .sh -67: ++ testname=compress-debug-sections -67: ++ echo -n 'Testing compress-debug-sections ... ' -67: Testing compress-debug-sections ... ++ t=out/test/elf/x86_64/compress-debug-sections -67: ++ mkdir -p out/test/elf/x86_64/compress-debug-sections +52: + on_exit +52: + echo OK +52: OK +52: + exit 0 +28: + grep -q '^76$' +28: + cat +28: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -no-pie +65: + cat +65: + cc -fcommon -xc -c -o out/test/elf/x86_64/common/b.o - 67: + command -v dwarfdump -67: + cc -c -g -o out/test/elf/x86_64/compress-debug-sections/a.o -xc - 67: + cat -61: + on_exit -61: + echo OK -61: OK -61: + exit 0 -63: + cat -63: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-archive/c.o - -66: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/compress-debug-sections-zstd.sh .sh -66: ++ testname=compress-debug-sections-zstd -66: ++ echo -n 'Testing compress-debug-sections-zstd ... ' -66: Testing compress-debug-sections-zstd ... ++ t=out/test/elf/x86_64/compress-debug-sections-zstd -66: ++ mkdir -p out/test/elf/x86_64/compress-debug-sections-zstd -28: + grep -q '^76$' -28: + out/test/elf/x86_64/x86_64_reloc/exe -62: + grep -q '[ms]old' -62: + readelf -p .comment out/test/elf/x86_64/comment/exe - 57/357 Test #61: x86_64-color-diagnostics ................... Passed 0.24 sec +67: + cc -c -g -o out/test/elf/x86_64/compress-debug-sections/a.o -xc - +64: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-ref/b.o - +64: + cat + 57/357 Test #52: x86_64-as-needed ........................... Passed 0.20 sec test 69 Start 69: x86_64-copyrel-alignment @@ -5168,9 +5197,6 @@ 69: MACHINE=x86_64 69: CPU= 69: Test timeout computed to be: 1500 -52: + cc -B. -o out/test/elf/x86_64/as-needed/exe out/test/elf/x86_64/as-needed/a.o -Wl,--as-needed out/test/elf/x86_64/as-needed/b.so out/test/elf/x86_64/as-needed/c.so -28: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -pie -65: + cc -fcommon -xc -c -o out/test/elf/x86_64/common/b.o - 68: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/compressed-debug-info.sh 68: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 68: ++ export LC_ALL=C @@ -5190,50 +5216,15 @@ 68: ++ tlsdesc_opt=-mtls-dialect=gnu2 68: ++ trap 'on_error $LINENO' ERR 68: ++ trap on_exit EXIT -65: + cat 68: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/compressed-debug-info.sh .sh -66: + '[' x86_64 = arm ']' -66: + '[' x86_64 = riscv32 ']' -66: + command -v zstdcat -66: + skip -66: + echo skipped -66: skipped -66: + trap - EXIT -66: + exit 0 -62: + grep -Eq '\.comment.*\bMS\b' -62: + readelf -SW out/test/elf/x86_64/comment/exe -62: + on_exit -62: + echo OK -62: OK -62: + exit 0 -69: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/copyrel-alignment.sh -51: + readelf --dynamic out/test/elf/x86_64/as-needed-weak/exe2 - 58/357 Test #62: x86_64-comment ............................. Passed 0.17 sec -test 70 - Start 70: x86_64-copyrel-protected - -70: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/copyrel-protected.sh" -70: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -70: Environment variables: -70: MACHINE=x86_64 -70: CPU= -70: Test timeout computed to be: 1500 - 59/357 Test #66: x86_64-compress-debug-sections-zstd ........***Skipped 0.05 sec -test 71 - Start 71: x86_64-copyrel-relro - -71: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/copyrel-relro.sh" -71: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -71: Environment variables: -71: MACHINE=x86_64 -71: CPU= -71: Test timeout computed to be: 1500 68: ++ testname=compressed-debug-info 68: ++ echo -n 'Testing compressed-debug-info ... ' 68: Testing compressed-debug-info ... ++ t=out/test/elf/x86_64/compressed-debug-info 68: ++ mkdir -p out/test/elf/x86_64/compressed-debug-info -68: + command -v dwarfdump -68: + c++ -c -o out/test/elf/x86_64/compressed-debug-info/a.o -g -gz=zlib -xc++ - +63: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-archive/b.o - +63: + cat +69: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/copyrel-alignment.sh +61: + grep -q $'\E' out/test/elf/x86_64/color-diagnostics/log 69: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 69: ++ export LC_ALL=C 69: ++ LC_ALL=C @@ -5257,32 +5248,60 @@ 69: ++ echo -n 'Testing copyrel-alignment ... ' 69: Testing copyrel-alignment ... ++ t=out/test/elf/x86_64/copyrel-alignment 69: ++ mkdir -p out/test/elf/x86_64/copyrel-alignment -51: + grep -Fq 'Shared library: [libfoo.so]' out/test/elf/x86_64/as-needed-weak/log2 -64: + rm -f out/test/elf/x86_64/common-ref/c.a +68: + command -v dwarfdump 68: + cat +68: + c++ -c -o out/test/elf/x86_64/compressed-debug-info/a.o -g -gz=zlib -xc++ - 69: + '[' x86_64 = ppc64 ']' 69: + '[' x86_64 = ppc64le ']' 69: + '[' x86_64 = alpha ']' 69: + [[ x86_64 = loongarch* ]] -69: + cc -fPIC -shared -o out/test/elf/x86_64/copyrel-alignment/a.so -xc - -64: + ar rcs out/test/elf/x86_64/common-ref/c.a out/test/elf/x86_64/common-ref/b.o -51: + grep -Fq 'Shared library: [libbar.so]' out/test/elf/x86_64/as-needed-weak/log2 69: + cat -70: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/copyrel-protected.sh -51: + on_exit -51: + echo OK -51: OK -51: + exit 0 - 60/357 Test #51: x86_64-as-needed-weak ...................... Passed 0.52 sec -test 72 - Start 72: x86_64-copyrel-relro2 +61: + ./mold -o out/test/elf/x86_64/color-diagnostics/exe out/test/elf/x86_64/color-diagnostics/a.o --color-diagnostics=never +64: + rm -f out/test/elf/x86_64/common-ref/c.a +56: + out/test/elf/x86_64/bsymbolic/exe +64: + ar rcs out/test/elf/x86_64/common-ref/c.a out/test/elf/x86_64/common-ref/b.o +62: + readelf -p .comment out/test/elf/x86_64/comment/exe +62: + grep -q '[ms]old' +56: + grep -q '3 4' +64: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-ref/d.o - +65: + cc -B. -o out/test/elf/x86_64/common/exe out/test/elf/x86_64/common/a.o out/test/elf/x86_64/common/b.o +69: + cc -fPIC -shared -o out/test/elf/x86_64/copyrel-alignment/a.so -xc - +56: + on_exit +56: + echo OK +56: OK +56: + exit 0 + 58/357 Test #56: x86_64-bsymbolic ........................... Passed 0.16 sec +test 70 + Start 70: x86_64-copyrel-protected -72: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/copyrel-relro2.sh" -72: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -72: Environment variables: -72: MACHINE=x86_64 -72: CPU= -72: Test timeout computed to be: 1500 +70: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/copyrel-protected.sh" +70: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +70: Environment variables: +70: MACHINE=x86_64 +70: CPU= +70: Test timeout computed to be: 1500 +62: + readelf -SW out/test/elf/x86_64/comment/exe +62: + grep -Eq '\.comment.*\bMS\b' +62: + on_exit +62: + echo OK +62: OK +62: + exit 0 +64: + cat +59: + grep -q '^1 1 1$' +59: + out/test/elf/x86_64/canonical-plt/exe +59: + on_exit +59: + echo OK +59: OK +59: + exit 0 +61: + grep -q $'\E' out/test/elf/x86_64/color-diagnostics/log +61: + ./mold -o out/test/elf/x86_64/color-diagnostics/exe out/test/elf/x86_64/color-diagnostics/a.o --color-diagnostics=auto +28: + out/test/elf/x86_64/x86_64_reloc/exe +67: + cc -B. -o out/test/elf/x86_64/compress-debug-sections/exe out/test/elf/x86_64/compress-debug-sections/a.o -Wl,--compress-debug-sections=zlib +63: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-archive/c.o - +63: + cat +58: + grep -Eq 'Build ID: ............4...[89abcdef]' +58: + readelf -nW out/test/elf/x86_64/build-id/exe +70: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/copyrel-protected.sh 70: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 70: ++ export LC_ALL=C 70: ++ LC_ALL=C @@ -5306,12 +5325,58 @@ 70: ++ echo -n 'Testing copyrel-protected ... ' 70: Testing copyrel-protected ... ++ t=out/test/elf/x86_64/copyrel-protected 70: ++ mkdir -p out/test/elf/x86_64/copyrel-protected + 59/357 Test #59: x86_64-canonical-plt ....................... Passed 0.15 sec +test 71 + Start 71: x86_64-copyrel-relro + +71: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/copyrel-relro.sh" +71: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +71: Environment variables: +71: MACHINE=x86_64 +71: CPU= +71: Test timeout computed to be: 1500 + 60/357 Test #62: x86_64-comment ............................. Passed 0.11 sec +test 72 + Start 72: x86_64-copyrel-relro2 + +72: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/copyrel-relro2.sh" +72: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +72: Environment variables: +72: MACHINE=x86_64 +72: CPU= +72: Test timeout computed to be: 1500 +64: + rm -f out/test/elf/x86_64/common-ref/e.a +64: + ar rcs out/test/elf/x86_64/common-ref/e.a out/test/elf/x86_64/common-ref/d.o +61: + grep -q $'\E' out/test/elf/x86_64/color-diagnostics/log +61: + on_exit +61: + echo OK +61: OK +61: + exit 0 + 61/357 Test #61: x86_64-color-diagnostics ................... Passed 0.12 sec +test 73 + Start 73: x86_64-copyrel + +73: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/copyrel.sh" +73: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +73: Environment variables: +73: MACHINE=x86_64 +73: CPU= +73: Test timeout computed to be: 1500 +28: + grep -q '^76$' +28: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -pie +58: + cc -B. -o out/test/elf/x86_64/build-id/exe out/test/elf/x86_64/build-id/a.c -Wl,-build-id=md5 70: + '[' x86_64 = ppc64 ']' 70: + '[' x86_64 = ppc64le ']' 70: + '[' x86_64 = alpha ']' 70: + [[ x86_64 = loongarch* ]] 70: + cat 70: + cc -o out/test/elf/x86_64/copyrel-protected/a.o -c -xc -fno-PIE - +68: + c++ -c -o out/test/elf/x86_64/compressed-debug-info/b.o -g -gz=zlib -xc++ - +68: + cat +65: + grep -q '0 5 42' +65: + out/test/elf/x86_64/common/exe +65: + readelf --sections out/test/elf/x86_64/common/exe +65: + grep -q '.common .*NOBITS' out/test/elf/x86_64/common/log 71: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/copyrel-relro.sh 71: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 71: ++ export LC_ALL=C @@ -5331,12 +5396,29 @@ 71: ++ tlsdesc_opt=-mtls-dialect=gnu2 71: ++ trap 'on_error $LINENO' ERR 71: ++ trap on_exit EXIT -64: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-ref/d.o - -64: + cat -63: + cat -63: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-archive/d.o - -72: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/copyrel-relro2.sh 71: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/copyrel-relro.sh .sh +71: ++ testname=copyrel-relro +71: ++ echo -n 'Testing copyrel-relro ... ' +71: Testing copyrel-relro ... ++ t=out/test/elf/x86_64/copyrel-relro +71: ++ mkdir -p out/test/elf/x86_64/copyrel-relro +71: + cat +71: + cc -o out/test/elf/x86_64/copyrel-relro/a.o -c -xc -fno-PIE - +64: + cc -B. -o out/test/elf/x86_64/common-ref/exe out/test/elf/x86_64/common-ref/a.o out/test/elf/x86_64/common-ref/c.a out/test/elf/x86_64/common-ref/e.a +65: + on_exit +65: + echo OK +65: OK +65: + exit 0 + 62/357 Test #65: x86_64-common .............................. Passed 0.09 sec +test 74 + Start 74: x86_64-ctors-in-init-array + +74: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/ctors-in-init-array.sh" +74: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +74: Environment variables: +74: MACHINE=x86_64 +74: CPU= +74: Test timeout computed to be: 1500 +72: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/copyrel-relro2.sh 72: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 72: ++ export LC_ALL=C 72: ++ LC_ALL=C @@ -5355,56 +5437,6 @@ 72: ++ tlsdesc_opt=-mtls-dialect=gnu2 72: ++ trap 'on_error $LINENO' ERR 72: ++ trap on_exit EXIT -72: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/copyrel-relro2.sh .sh -72: ++ testname=copyrel-relro2 -72: ++ echo -n 'Testing copyrel-relro2 ... ' -72: Testing copyrel-relro2 ... ++ t=out/test/elf/x86_64/copyrel-relro2 -72: ++ mkdir -p out/test/elf/x86_64/copyrel-relro2 -71: ++ testname=copyrel-relro -71: ++ echo -n 'Testing copyrel-relro ... ' -71: Testing copyrel-relro ... ++ t=out/test/elf/x86_64/copyrel-relro -71: ++ mkdir -p out/test/elf/x86_64/copyrel-relro -72: + cat -67: + cc -B. -o out/test/elf/x86_64/compress-debug-sections/exe out/test/elf/x86_64/compress-debug-sections/a.o -Wl,--compress-debug-sections=zlib -71: + cat -71: + cc -o out/test/elf/x86_64/copyrel-relro/a.o -c -xc -fno-PIE - -72: + cc -o out/test/elf/x86_64/copyrel-relro2/a.o -c -xc -fno-PIE - -28: + out/test/elf/x86_64/x86_64_reloc/exe -28: + grep -q '^76$' -65: + cc -B. -o out/test/elf/x86_64/common/exe out/test/elf/x86_64/common/a.o out/test/elf/x86_64/common/b.o -52: + readelf --dynamic out/test/elf/x86_64/as-needed/exe -58: + readelf -n out/test/elf/x86_64/build-id/exe -52: + grep -Fq 'Shared library: [libfoo.so]' out/test/elf/x86_64/as-needed/readelf -58: + grep -q 'GNU.*0x00000010.*NT_GNU_BUILD_ID' -58: + cc -B. -o out/test/elf/x86_64/build-id/exe out/test/elf/x86_64/build-id/a.c -Wl,-build-id=sha1 -28: + cat -52: + grep -Fq 'Shared library: [libbar.so]' out/test/elf/x86_64/as-needed/readelf -28: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s -52: + on_exit -52: + echo OK -52: OK -52: + exit 0 - 61/357 Test #52: x86_64-as-needed ........................... Passed 0.52 sec -test 73 - Start 73: x86_64-copyrel - -73: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/copyrel.sh" -73: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -73: Environment variables: -73: MACHINE=x86_64 -73: CPU= -73: Test timeout computed to be: 1500 -63: + rm -f out/test/elf/x86_64/common-archive/e.a -63: + ar rcs out/test/elf/x86_64/common-archive/e.a out/test/elf/x86_64/common-archive/b.o out/test/elf/x86_64/common-archive/c.o out/test/elf/x86_64/common-archive/d.o -70: + cc -shared -o out/test/elf/x86_64/copyrel-protected/b.so -xc - -70: + cat -63: + cc -B. -o out/test/elf/x86_64/common-archive/exe out/test/elf/x86_64/common-archive/a.o out/test/elf/x86_64/common-archive/e.a -68: + cat -68: + c++ -c -o out/test/elf/x86_64/compressed-debug-info/b.o -g -gz=zlib -xc++ - -69: + cc -fPIC -shared -o out/test/elf/x86_64/copyrel-alignment/b.so -xc - -64: + rm -f out/test/elf/x86_64/common-ref/e.a -64: + ar rcs out/test/elf/x86_64/common-ref/e.a out/test/elf/x86_64/common-ref/d.o -69: + cat 73: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/copyrel.sh 73: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 73: ++ export LC_ALL=C @@ -5420,47 +5452,13 @@ 73: ++ OBJCOPY=objcopy 73: ++ STRIP=strip 73: ++ QEMU= +69: + cat +69: + cc -fPIC -shared -o out/test/elf/x86_64/copyrel-alignment/b.so -xc - +74: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/ctors-in-init-array.sh 73: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 73: ++ tlsdesc_opt=-mtls-dialect=gnu2 73: ++ trap 'on_error $LINENO' ERR 73: ++ trap on_exit EXIT -73: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/copyrel.sh .sh -71: + cc -fPIC -shared -o out/test/elf/x86_64/copyrel-relro/b.so -xc - -64: + cc -B. -o out/test/elf/x86_64/common-ref/exe out/test/elf/x86_64/common-ref/a.o out/test/elf/x86_64/common-ref/c.a out/test/elf/x86_64/common-ref/e.a -71: + cat -72: + cat -72: + cc -B. -fPIC -shared -o out/test/elf/x86_64/copyrel-relro2/b.so -xc - -67: + dwarfdump out/test/elf/x86_64/compress-debug-sections/exe -73: ++ testname=copyrel -73: ++ echo -n 'Testing copyrel ... ' -73: Testing copyrel ... ++ t=out/test/elf/x86_64/copyrel -73: ++ mkdir -p out/test/elf/x86_64/copyrel -73: + cat -73: + cc -fno-PIC -o out/test/elf/x86_64/copyrel/a.o -c -xc - -65: + grep -q '0 5 42' -65: + out/test/elf/x86_64/common/exe -65: + readelf --sections out/test/elf/x86_64/common/exe -65: + grep -q '.common .*NOBITS' out/test/elf/x86_64/common/log -65: + on_exit -65: + echo OK -65: OK -65: + exit 0 - 62/357 Test #65: x86_64-common .............................. Passed 0.20 sec -test 74 - Start 74: x86_64-ctors-in-init-array - -74: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/ctors-in-init-array.sh" -74: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -74: Environment variables: -74: MACHINE=x86_64 -74: CPU= -74: Test timeout computed to be: 1500 -68: + cc -B. -o out/test/elf/x86_64/compressed-debug-info/exe out/test/elf/x86_64/compressed-debug-info/a.o out/test/elf/x86_64/compressed-debug-info/b.o -74: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/ctors-in-init-array.sh -28: + out/test/elf/x86_64/x86_64_reloc/exe -70: + cc -B. out/test/elf/x86_64/copyrel-protected/a.o out/test/elf/x86_64/copyrel-protected/b.so -o out/test/elf/x86_64/copyrel-protected/exe -no-pie -63: + out/test/elf/x86_64/common-archive/exe -63: + grep -q '5 0 0 -1' 74: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 74: ++ export LC_ALL=C 74: ++ LC_ALL=C @@ -5479,23 +5477,35 @@ 74: ++ tlsdesc_opt=-mtls-dialect=gnu2 74: ++ trap 'on_error $LINENO' ERR 74: ++ trap on_exit EXIT -63: + cat -28: + grep -q '^26$' -63: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-archive/f.o - -67: + grep -Fq '.debug_info SHF_COMPRESSED' out/test/elf/x86_64/compress-debug-sections/log 74: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/ctors-in-init-array.sh .sh -28: + cat +72: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/copyrel-relro2.sh .sh +67: + dwarfdump out/test/elf/x86_64/compress-debug-sections/exe 74: ++ testname=ctors-in-init-array 74: ++ echo -n 'Testing ctors-in-init-array ... ' 74: Testing ctors-in-init-array ... ++ t=out/test/elf/x86_64/ctors-in-init-array 74: ++ mkdir -p out/test/elf/x86_64/ctors-in-init-array -28: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s +72: ++ testname=copyrel-relro2 +72: ++ echo -n 'Testing copyrel-relro2 ... ' +72: Testing copyrel-relro2 ... ++ t=out/test/elf/x86_64/copyrel-relro2 +72: ++ mkdir -p out/test/elf/x86_64/copyrel-relro2 +73: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/copyrel.sh .sh +63: + cat +63: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-archive/d.o - +72: + cc -o out/test/elf/x86_64/copyrel-relro2/a.o -c -xc -fno-PIE - +72: + cat +73: ++ testname=copyrel +73: ++ echo -n 'Testing copyrel ... ' +73: Testing copyrel ... ++ t=out/test/elf/x86_64/copyrel +73: ++ mkdir -p out/test/elf/x86_64/copyrel +67: + grep -Fq '.debug_info SHF_COMPRESSED' out/test/elf/x86_64/compress-debug-sections/log +74: + cat +74: + cc -o out/test/elf/x86_64/ctors-in-init-array/a.o -c -xc - 67: + grep -Fq '.debug_str SHF_COMPRESSED' out/test/elf/x86_64/compress-debug-sections/log 67: + on_exit 67: + echo OK 67: OK 67: + exit 0 - 63/357 Test #67: x86_64-compress-debug-sections ............. Passed 0.18 sec + 63/357 Test #67: x86_64-compress-debug-sections ............. Passed 0.08 sec test 75 Start 75: x86_64-dead-debug-sections @@ -5505,31 +5515,9 @@ 75: MACHINE=x86_64 75: CPU= 75: Test timeout computed to be: 1500 -74: + cat -64: + out/test/elf/x86_64/common-ref/exe -64: + grep -q 5 -74: + cc -o out/test/elf/x86_64/ctors-in-init-array/a.o -c -xc - +73: + cat +73: + cc -fno-PIC -o out/test/elf/x86_64/copyrel/a.o -c -xc - 75: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/dead-debug-sections.sh -64: + on_exit -64: + echo OK -64: OK -64: + exit 0 - 64/357 Test #64: x86_64-common-ref .......................... Passed 0.25 sec -test 76 - Start 76: x86_64-debug-macro-section - -76: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/debug-macro-section.sh" -76: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -76: Environment variables: -76: MACHINE=x86_64 -76: CPU= -76: Test timeout computed to be: 1500 -68: + dwarfdump out/test/elf/x86_64/compressed-debug-info/exe -68: + readelf --sections out/test/elf/x86_64/compressed-debug-info/exe -68: + grep -Fq .debug_info -69: + cat -69: + cc -fPIC -shared -o out/test/elf/x86_64/copyrel-alignment/c.so -xc - -72: + cc -B. out/test/elf/x86_64/copyrel-relro2/a.o out/test/elf/x86_64/copyrel-relro2/b.so -o out/test/elf/x86_64/copyrel-relro2/exe -no-pie 75: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 75: ++ export LC_ALL=C 75: ++ LC_ALL=C @@ -5549,29 +5537,42 @@ 75: ++ trap 'on_error $LINENO' ERR 75: ++ trap on_exit EXIT 75: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/dead-debug-sections.sh .sh -73: + cat -73: + cc -fno-PIC -o out/test/elf/x86_64/copyrel/b.o -c -xc - -68: + on_exit 75: ++ testname=dead-debug-sections 75: ++ echo -n 'Testing dead-debug-sections ... ' 75: Testing dead-debug-sections ... ++ t=out/test/elf/x86_64/dead-debug-sections 75: ++ mkdir -p out/test/elf/x86_64/dead-debug-sections +58: + readelf -n out/test/elf/x86_64/build-id/exe +58: + grep -q 'GNU.*0x00000010.*NT_GNU_BUILD_ID' +75: + command -v dwarfdump +28: + out/test/elf/x86_64/x86_64_reloc/exe +75: + cat +75: + c++ -c -o out/test/elf/x86_64/dead-debug-sections/a.o -g -xc++ - +58: + cc -B. -o out/test/elf/x86_64/build-id/exe out/test/elf/x86_64/build-id/a.c -Wl,-build-id=sha1 +28: + grep -q '^76$' +28: + cat +28: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s +64: + out/test/elf/x86_64/common-ref/exe +64: + grep -q 5 +70: + cat +70: + cc -shared -o out/test/elf/x86_64/copyrel-protected/b.so -xc - +68: + cc -B. -o out/test/elf/x86_64/compressed-debug-info/exe out/test/elf/x86_64/compressed-debug-info/a.o out/test/elf/x86_64/compressed-debug-info/b.o +64: + on_exit +64: + echo OK +64: OK +64: + exit 0 + 64/357 Test #64: x86_64-common-ref .......................... Passed 0.13 sec +test 76 + Start 76: x86_64-debug-macro-section + +76: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/debug-macro-section.sh" +76: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +76: Environment variables: +76: MACHINE=x86_64 +76: CPU= +76: Test timeout computed to be: 1500 76: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/debug-macro-section.sh -68: + echo OK -68: OK -68: + exit 0 76: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 76: ++ export LC_ALL=C - 65/357 Test #68: x86_64-compressed-debug-info ............... Passed 0.18 sec -test 77 - Start 77: x86_64-default-symver - -77: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/default-symver.sh" -77: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -77: Environment variables: -77: MACHINE=x86_64 -77: CPU= -77: Test timeout computed to be: 1500 76: ++ LC_ALL=C 76: ++ '[' -z x86_64 ']' 76: ++ '[' -z '' ']' @@ -5594,6 +5595,32 @@ 76: Testing debug-macro-section ... ++ t=out/test/elf/x86_64/debug-macro-section 76: ++ mkdir -p out/test/elf/x86_64/debug-macro-section 76: + cat +76: + cat +76: + gcc -o out/test/elf/x86_64/debug-macro-section/b.o -c -xc - -Iout/test/elf/x86_64/debug-macro-section -g3 +69: + cat +69: + cc -fPIC -shared -o out/test/elf/x86_64/copyrel-alignment/c.so -xc - +63: + rm -f out/test/elf/x86_64/common-archive/e.a +71: + cat +71: + cc -fPIC -shared -o out/test/elf/x86_64/copyrel-relro/b.so -xc - +63: + ar rcs out/test/elf/x86_64/common-archive/e.a out/test/elf/x86_64/common-archive/b.o out/test/elf/x86_64/common-archive/c.o out/test/elf/x86_64/common-archive/d.o +68: + dwarfdump out/test/elf/x86_64/compressed-debug-info/exe +63: + cc -B. -o out/test/elf/x86_64/common-archive/exe out/test/elf/x86_64/common-archive/a.o out/test/elf/x86_64/common-archive/e.a +68: + readelf --sections out/test/elf/x86_64/compressed-debug-info/exe +68: + grep -Fq .debug_info +68: + on_exit +68: + echo OK +68: OK +68: + exit 0 + 65/357 Test #68: x86_64-compressed-debug-info ............... Passed 0.13 sec +test 77 + Start 77: x86_64-default-symver + +77: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/default-symver.sh" +77: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +77: Environment variables: +77: MACHINE=x86_64 +77: CPU= +77: Test timeout computed to be: 1500 77: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/default-symver.sh 77: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 77: ++ export LC_ALL=C @@ -5613,17 +5640,42 @@ 77: ++ tlsdesc_opt=-mtls-dialect=gnu2 77: ++ trap 'on_error $LINENO' ERR 77: ++ trap on_exit EXIT -75: + command -v dwarfdump -75: + c++ -c -o out/test/elf/x86_64/dead-debug-sections/a.o -g -xc++ - -71: + cc -B. out/test/elf/x86_64/copyrel-relro/a.o out/test/elf/x86_64/copyrel-relro/b.so -o out/test/elf/x86_64/copyrel-relro/exe -no-pie -63: + rm -f out/test/elf/x86_64/common-archive/f.a -63: + ar rcs out/test/elf/x86_64/common-archive/f.a out/test/elf/x86_64/common-archive/b.o out/test/elf/x86_64/common-archive/f.o +77: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/default-symver.sh .sh +74: + cat +74: + cc -o out/test/elf/x86_64/ctors-in-init-array/b.o -c -xc - +77: ++ testname=default-symver +77: ++ echo -n 'Testing default-symver ... ' +77: Testing default-symver ... ++ t=out/test/elf/x86_64/default-symver +77: ++ mkdir -p out/test/elf/x86_64/default-symver +28: + out/test/elf/x86_64/x86_64_reloc/exe +28: + grep -q '^26$' +77: + cat +77: + cc -o out/test/elf/x86_64/default-symver/a.o -c -xc - +28: + cat +73: + cat +73: + cc -fno-PIC -o out/test/elf/x86_64/copyrel/b.o -c -xc - +72: + cat +72: + cc -B. -fPIC -shared -o out/test/elf/x86_64/copyrel-relro2/b.so -xc - +63: + out/test/elf/x86_64/common-archive/exe +63: + grep -q '5 0 0 -1' +63: + cat +63: + cc -fcommon -xc -c -o out/test/elf/x86_64/common-archive/f.o - +58: + readelf -n out/test/elf/x86_64/build-id/exe +58: + grep -q 'GNU.*0x00000014.*NT_GNU_BUILD_ID' +58: + cc -B. -o out/test/elf/x86_64/build-id/exe out/test/elf/x86_64/build-id/a.c -Wl,-build-id=sha256 +75: + cat +75: + c++ -c -o out/test/elf/x86_64/dead-debug-sections/b.o -g -xc++ - +70: + cc -B. out/test/elf/x86_64/copyrel-protected/a.o out/test/elf/x86_64/copyrel-protected/b.so -o out/test/elf/x86_64/copyrel-protected/exe -no-pie +76: + cat +76: + gcc -o out/test/elf/x86_64/debug-macro-section/c.o -c -xc - -Iout/test/elf/x86_64/debug-macro-section -g3 +69: + cat +69: + cc -fno-PIE -o out/test/elf/x86_64/copyrel-alignment/d.o -c -xc - 70: + grep -Fq 'cannot make copy relocation for protected symbol' out/test/elf/x86_64/copyrel-protected/log 70: + on_exit 70: + echo OK 70: OK 70: + exit 0 - 66/357 Test #70: x86_64-copyrel-protected ................... Passed 0.17 sec + 66/357 Test #70: x86_64-copyrel-protected ................... Passed 0.19 sec test 78 Start 78: x86_64-defsym-lto @@ -5633,20 +5685,8 @@ 78: MACHINE=x86_64 78: CPU= 78: Test timeout computed to be: 1500 -77: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/default-symver.sh .sh -77: ++ testname=default-symver -77: ++ echo -n 'Testing default-symver ... ' -77: Testing default-symver ... ++ t=out/test/elf/x86_64/default-symver -77: ++ mkdir -p out/test/elf/x86_64/default-symver -75: + cat -63: + cc -B. -o out/test/elf/x86_64/common-archive/exe out/test/elf/x86_64/common-archive/a.o out/test/elf/x86_64/common-archive/f.a -58: + grep -q 'GNU.*0x00000014.*NT_GNU_BUILD_ID' -58: + readelf -n out/test/elf/x86_64/build-id/exe -76: + cat -76: + gcc -o out/test/elf/x86_64/debug-macro-section/b.o -c -xc - -Iout/test/elf/x86_64/debug-macro-section -g3 +71: + cc -B. out/test/elf/x86_64/copyrel-relro/a.o out/test/elf/x86_64/copyrel-relro/b.so -o out/test/elf/x86_64/copyrel-relro/exe -no-pie 78: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/defsym-lto.sh -58: + cc -B. -o out/test/elf/x86_64/build-id/exe out/test/elf/x86_64/build-id/a.c -Wl,-build-id=sha256 -77: + cat 78: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 78: ++ export LC_ALL=C 78: ++ LC_ALL=C @@ -5666,30 +5706,27 @@ 78: ++ trap 'on_error $LINENO' ERR 78: ++ trap on_exit EXIT 78: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/defsym-lto.sh .sh -74: + cc -o out/test/elf/x86_64/ctors-in-init-array/b.o -c -xc - 78: ++ testname=defsym-lto 78: ++ echo -n 'Testing defsym-lto ... ' 78: Testing defsym-lto ... ++ t=out/test/elf/x86_64/defsym-lto 78: ++ mkdir -p out/test/elf/x86_64/defsym-lto -28: + grep -q '^61$' -77: + cc -o out/test/elf/x86_64/default-symver/a.o -c -xc - -74: + cat -28: + out/test/elf/x86_64/x86_64_reloc/exe -69: + cat -69: + cc -fno-PIE -o out/test/elf/x86_64/copyrel-alignment/d.o -c -xc - -28: + cat 78: + echo 'int main() {}' 78: + cc -flto -o /dev/null -xc - -28: + cc -c -o out/test/elf/x86_64/x86_64_reloc/e.o out/test/elf/x86_64/x86_64_reloc/e.c -mcmodel=large -fPIC -73: + cc -fPIC -o out/test/elf/x86_64/copyrel/c.o -c -xc - +28: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/d.s +77: + cc -B. -o out/test/elf/x86_64/default-symver/b.so -shared out/test/elf/x86_64/default-symver/a.o -Wl,-default-symver +74: + cc -B. -o out/test/elf/x86_64/ctors-in-init-array/exe out/test/elf/x86_64/ctors-in-init-array/a.o out/test/elf/x86_64/ctors-in-init-array/b.o 73: + cat +73: + cc -fPIC -o out/test/elf/x86_64/copyrel/c.o -c -xc - +63: + rm -f out/test/elf/x86_64/common-archive/f.a +63: + ar rcs out/test/elf/x86_64/common-archive/f.a out/test/elf/x86_64/common-archive/b.o out/test/elf/x86_64/common-archive/f.o 71: + out/test/elf/x86_64/copyrel-relro/exe 71: + grep -q '^sigsegv 0 1$' +63: + cc -B. -o out/test/elf/x86_64/common-archive/exe out/test/elf/x86_64/common-archive/a.o out/test/elf/x86_64/common-archive/f.a 71: + on_exit 71: + echo OK 71: OK 71: + exit 0 - 67/357 Test #71: x86_64-copyrel-relro ....................... Passed 0.22 sec + 67/357 Test #71: x86_64-copyrel-relro ....................... Passed 0.21 sec test 79 Start 79: x86_64-defsym-missing-symbol @@ -5699,28 +5736,10 @@ 79: MACHINE=x86_64 79: CPU= 79: Test timeout computed to be: 1500 -76: + gcc -o out/test/elf/x86_64/debug-macro-section/c.o -c -xc - -Iout/test/elf/x86_64/debug-macro-section -g3 -74: + cc -B. -o out/test/elf/x86_64/ctors-in-init-array/exe out/test/elf/x86_64/ctors-in-init-array/a.o out/test/elf/x86_64/ctors-in-init-array/b.o -72: + out/test/elf/x86_64/copyrel-relro2/exe -72: + grep -q '^sigsegv 0 1$' -76: + cat -77: + cc -B. -o out/test/elf/x86_64/default-symver/b.so -shared out/test/elf/x86_64/default-symver/a.o -Wl,-default-symver -73: + cc -B. -shared -o out/test/elf/x86_64/copyrel/c.so out/test/elf/x86_64/copyrel/c.o -72: + on_exit -72: + echo OK -72: OK -72: + exit 0 - 68/357 Test #72: x86_64-copyrel-relro2 ...................... Passed 0.22 sec -test 80 - Start 80: x86_64-defsym - -80: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/defsym.sh" -80: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -80: Environment variables: -80: MACHINE=x86_64 -80: CPU= -80: Test timeout computed to be: 1500 +75: + cat +75: + c++ -o out/test/elf/x86_64/dead-debug-sections/c.o -c -xc++ -g - 79: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/defsym-missing-symbol.sh +69: + cc -B. -o out/test/elf/x86_64/copyrel-alignment/exe1 out/test/elf/x86_64/copyrel-alignment/d.o out/test/elf/x86_64/copyrel-alignment/a.so -no-pie 79: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 79: ++ export LC_ALL=C 79: ++ LC_ALL=C @@ -5739,11 +5758,39 @@ 79: ++ tlsdesc_opt=-mtls-dialect=gnu2 79: ++ trap 'on_error $LINENO' ERR 79: ++ trap on_exit EXIT -75: + cat -75: + c++ -c -o out/test/elf/x86_64/dead-debug-sections/b.o -g -xc++ - 79: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/defsym-missing-symbol.sh .sh +76: + gcc -B. -o out/test/elf/x86_64/debug-macro-section/exe out/test/elf/x86_64/debug-macro-section/b.o out/test/elf/x86_64/debug-macro-section/c.o +79: ++ testname=defsym-missing-symbol +79: ++ echo -n 'Testing defsym-missing-symbol ... ' +79: Testing defsym-missing-symbol ... ++ t=out/test/elf/x86_64/defsym-missing-symbol +79: ++ mkdir -p out/test/elf/x86_64/defsym-missing-symbol +72: + cc -B. out/test/elf/x86_64/copyrel-relro2/a.o out/test/elf/x86_64/copyrel-relro2/b.so -o out/test/elf/x86_64/copyrel-relro2/exe -no-pie +28: + out/test/elf/x86_64/x86_64_reloc/exe +28: + grep -q '^61$' +77: + readelf --dyn-syms out/test/elf/x86_64/default-symver/b.so +77: + grep -q ' foo@@b\.so' +28: + cat +77: + cc -B. -o out/test/elf/x86_64/default-symver/b.so -shared out/test/elf/x86_64/default-symver/a.o -Wl,--soname=bar -Wl,-default-symver +79: + cc -o out/test/elf/x86_64/defsym-missing-symbol/a.o -c -xc - +79: + cat +28: + cc -c -o out/test/elf/x86_64/x86_64_reloc/e.o out/test/elf/x86_64/x86_64_reloc/e.c -mcmodel=large -fPIC +74: + grep -q 'ctor1 init1 ctor2 ctor3 ctor4 init2 fini2 dtor1 dtor2 dtor3 fini1 dtor4' +74: + out/test/elf/x86_64/ctors-in-init-array/exe +74: + on_exit +74: + echo OK +74: OK +74: + exit 0 + 68/357 Test #74: x86_64-ctors-in-init-array ................. Passed 0.21 sec +test 80 + Start 80: x86_64-defsym + +80: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/defsym.sh" +80: Working Directory: /build/reproducible-path/mold-2.30.0+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.30.0+dfsg/test/elf/defsym.sh -69: + cc -B. -o out/test/elf/x86_64/copyrel-alignment/exe1 out/test/elf/x86_64/copyrel-alignment/d.o out/test/elf/x86_64/copyrel-alignment/a.so -no-pie 80: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 80: ++ export LC_ALL=C 80: ++ LC_ALL=C @@ -5762,24 +5809,22 @@ 80: ++ tlsdesc_opt=-mtls-dialect=gnu2 80: ++ trap 'on_error $LINENO' ERR 80: ++ trap on_exit EXIT -79: ++ testname=defsym-missing-symbol -79: ++ echo -n 'Testing defsym-missing-symbol ... ' -79: Testing defsym-missing-symbol ... ++ t=out/test/elf/x86_64/defsym-missing-symbol -79: ++ mkdir -p out/test/elf/x86_64/defsym-missing-symbol -63: + out/test/elf/x86_64/common-archive/exe -79: + cat 80: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/defsym.sh .sh -79: + cc -o out/test/elf/x86_64/defsym-missing-symbol/a.o -c -xc - 80: ++ testname=defsym 80: ++ echo -n 'Testing defsym ... ' 80: Testing defsym ... ++ t=out/test/elf/x86_64/defsym 80: ++ mkdir -p out/test/elf/x86_64/defsym -63: + grep -q '5 0 7 2' -63: + on_exit -63: + echo OK -63: OK -63: + exit 0 - 69/357 Test #63: x86_64-common-archive ...................... Passed 0.39 sec +80: + cat +80: + cc -fPIC -o out/test/elf/x86_64/defsym/a.o -c -xc - +77: + readelf --dyn-syms out/test/elf/x86_64/default-symver/b.so +77: + grep -q ' foo@@bar' +58: + readelf -n out/test/elf/x86_64/build-id/exe +58: + grep -q 'GNU.*0x00000020.*NT_GNU_BUILD_ID' +77: + on_exit +77: + echo OK +77: OK +77: + exit 0 + 69/357 Test #77: x86_64-default-symver ...................... Passed 0.16 sec test 81 Start 81: x86_64-defsym2 @@ -5789,16 +5834,24 @@ 81: MACHINE=x86_64 81: CPU= 81: Test timeout computed to be: 1500 -80: + cat -80: + cc -fPIC -o out/test/elf/x86_64/defsym/a.o -c -xc - -28: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/e.o -74: + out/test/elf/x86_64/ctors-in-init-array/exe -74: + grep -q 'ctor1 init1 ctor2 ctor3 ctor4 init2 fini2 dtor1 dtor2 dtor3 fini1 dtor4' -74: + on_exit -74: + echo OK -74: OK -74: + exit 0 - 70/357 Test #74: x86_64-ctors-in-init-array ................. Passed 0.16 sec +72: + grep -q '^sigsegv 0 1$' +72: + out/test/elf/x86_64/copyrel-relro2/exe +72: + on_exit +72: + echo OK +72: OK +72: + exit 0 +63: + out/test/elf/x86_64/common-archive/exe +63: + grep -q '5 0 7 2' +63: + on_exit +63: + echo OK +63: OK +63: + exit 0 +58: + cc -B. -o out/test/elf/x86_64/build-id/exe out/test/elf/x86_64/build-id/a.c -Wl,-build-id=0xdeadbeefdeadbeef +76: + objdump --dwarf=macro out/test/elf/x86_64/debug-macro-section/exe +69: + out/test/elf/x86_64/copyrel-alignment/exe1 +69: + readelf -W --sections out/test/elf/x86_64/copyrel-alignment/exe1 +69: + grep -q '\.copyrel.* 32$' + 70/357 Test #72: x86_64-copyrel-relro2 ...................... Passed 0.25 sec test 82 Start 82: x86_64-demangle-cpp @@ -5808,6 +5861,32 @@ 82: MACHINE=x86_64 82: CPU= 82: Test timeout computed to be: 1500 + 71/357 Test #63: x86_64-common-archive ...................... Passed 0.34 sec +test 83 + Start 83: x86_64-demangle-rust + +83: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/demangle-rust.sh" +83: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +83: Environment variables: +83: MACHINE=x86_64 +83: CPU= +83: Test timeout computed to be: 1500 +76: + grep 'DW_MACRO_import -.* 0x0$' out/test/elf/x86_64/debug-macro-section/log +76: + on_exit +76: + echo OK +76: OK +76: + exit 0 + 72/357 Test #76: x86_64-debug-macro-section ................. Passed 0.21 sec +test 84 + Start 84: x86_64-demangle + +84: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/demangle.sh" +84: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +84: Environment variables: +84: MACHINE=x86_64 +84: CPU= +84: Test timeout computed to be: 1500 +69: + cc -B. -o out/test/elf/x86_64/copyrel-alignment/exe2 out/test/elf/x86_64/copyrel-alignment/d.o out/test/elf/x86_64/copyrel-alignment/b.so -no-pie 81: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/defsym2.sh 81: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 81: ++ export LC_ALL=C @@ -5832,17 +5911,9 @@ 81: ++ echo -n 'Testing defsym2 ... ' 81: Testing defsym2 ... ++ t=out/test/elf/x86_64/defsym2 81: ++ mkdir -p out/test/elf/x86_64/defsym2 -58: + readelf -n out/test/elf/x86_64/build-id/exe -58: + grep -q 'GNU.*0x00000020.*NT_GNU_BUILD_ID' -58: + cc -B. -o out/test/elf/x86_64/build-id/exe out/test/elf/x86_64/build-id/a.c -Wl,-build-id=0xdeadbeefdeadbeef -82: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/demangle-cpp.sh -76: + gcc -B. -o out/test/elf/x86_64/debug-macro-section/exe out/test/elf/x86_64/debug-macro-section/b.o out/test/elf/x86_64/debug-macro-section/c.o -69: + out/test/elf/x86_64/copyrel-alignment/exe1 -69: + readelf -W --sections out/test/elf/x86_64/copyrel-alignment/exe1 -81: + cc -fPIC -o out/test/elf/x86_64/defsym2/a.o -c -xc - 81: + cat -69: + grep -q '\.copyrel.* 32$' -69: + cc -B. -o out/test/elf/x86_64/copyrel-alignment/exe2 out/test/elf/x86_64/copyrel-alignment/d.o out/test/elf/x86_64/copyrel-alignment/b.so -no-pie +81: + cc -fPIC -o out/test/elf/x86_64/defsym2/a.o -c -xc - +82: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/demangle-cpp.sh 82: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 82: ++ export LC_ALL=C 82: ++ LC_ALL=C @@ -5862,95 +5933,12 @@ 82: ++ trap 'on_error $LINENO' ERR 82: ++ trap on_exit EXIT 82: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/demangle-cpp.sh .sh -73: + cc -B. -no-pie -o out/test/elf/x86_64/copyrel/exe out/test/elf/x86_64/copyrel/a.o out/test/elf/x86_64/copyrel/b.o out/test/elf/x86_64/copyrel/c.so 82: ++ testname=demangle-cpp 82: ++ echo -n 'Testing demangle-cpp ... ' 82: Testing demangle-cpp ... ++ t=out/test/elf/x86_64/demangle-cpp 82: ++ mkdir -p out/test/elf/x86_64/demangle-cpp -82: + cc -c -o out/test/elf/x86_64/demangle-cpp/a.o -xc - 82: + cat -79: + cc -B. -o out/test/elf/x86_64/defsym-missing-symbol/exe out/test/elf/x86_64/defsym-missing-symbol/a.o -Wl,-defsym=foo=bar -75: + c++ -o out/test/elf/x86_64/dead-debug-sections/c.o -c -xc++ -g - -75: + cat -77: + readelf --dyn-syms out/test/elf/x86_64/default-symver/b.so -77: + grep -q ' foo@@b\.so' -28: + grep -q '^56000003$' -77: + cc -B. -o out/test/elf/x86_64/default-symver/b.so -shared out/test/elf/x86_64/default-symver/a.o -Wl,--soname=bar -Wl,-default-symver -28: + out/test/elf/x86_64/x86_64_reloc/exe -28: + cat -28: + cc -c -o out/test/elf/x86_64/x86_64_reloc/f.o out/test/elf/x86_64/x86_64_reloc/f.s -76: + objdump --dwarf=macro out/test/elf/x86_64/debug-macro-section/exe -58: + grep -q 'Build ID: deadbeefdeadbeef' -58: + readelf -n out/test/elf/x86_64/build-id/exe -28: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/f.o -69: + out/test/elf/x86_64/copyrel-alignment/exe2 -69: + readelf -W --sections out/test/elf/x86_64/copyrel-alignment/exe2 -69: + grep -q '\.copyrel.* 8$' -73: + out/test/elf/x86_64/copyrel/exe -73: + grep -q '42 42 1' -81: + cc -B. -o out/test/elf/x86_64/defsym2/b.so -shared -Wl,-defsym=bar=foo out/test/elf/x86_64/defsym2/a.o -58: + on_exit -58: + echo OK -58: OK -58: + exit 0 - 71/357 Test #58: x86_64-build-id ............................ Passed 0.69 sec -test 83 - Start 83: x86_64-demangle-rust - -83: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/demangle-rust.sh" -83: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -83: Environment variables: -83: MACHINE=x86_64 -83: CPU= -83: Test timeout computed to be: 1500 -73: + on_exit -73: + echo OK -73: OK -73: + exit 0 -69: + cc -B. -o out/test/elf/x86_64/copyrel-alignment/exe3 out/test/elf/x86_64/copyrel-alignment/d.o out/test/elf/x86_64/copyrel-alignment/c.so -no-pie -76: + grep 'DW_MACRO_import -.* 0x0$' out/test/elf/x86_64/debug-macro-section/log -76: + on_exit -76: + echo OK -76: OK -76: + exit 0 -80: + cc -B. -o out/test/elf/x86_64/defsym/exe out/test/elf/x86_64/defsym/a.o -pie -Wl,-defsym=foo=16 -Wl,-defsym=bar=0x2000 -Wl,-defsym=baz=print - 72/357 Test #73: x86_64-copyrel ............................. Passed 0.29 sec -test 84 - Start 84: x86_64-demangle - -84: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/demangle.sh" -84: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -84: Environment variables: -84: MACHINE=x86_64 -84: CPU= -84: Test timeout computed to be: 1500 - 73/357 Test #76: x86_64-debug-macro-section ................. Passed 0.22 sec -test 85 - Start 85: x86_64-dependency-file - -85: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/dependency-file.sh" -85: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -85: Environment variables: -85: MACHINE=x86_64 -85: CPU= -85: Test timeout computed to be: 1500 -82: + cc -B. -o out/test/elf/x86_64/demangle-cpp/exe1 out/test/elf/x86_64/demangle-cpp/a.o -77: + readelf --dyn-syms out/test/elf/x86_64/default-symver/b.so -77: + grep -q ' foo@@bar' -77: + on_exit -77: + echo OK -77: OK -77: + exit 0 - 74/357 Test #77: x86_64-default-symver ...................... Passed 0.21 sec -test 86 - Start 86: x86_64-disable-new-dtags - -86: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/disable-new-dtags.sh" -86: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -86: Environment variables: -86: MACHINE=x86_64 -86: CPU= -86: Test timeout computed to be: 1500 +82: + cc -c -o out/test/elf/x86_64/demangle-cpp/a.o -xc - 83: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/demangle-rust.sh 83: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 83: ++ export LC_ALL=C @@ -5975,23 +5963,9 @@ 83: ++ echo -n 'Testing demangle-rust ... ' 83: Testing demangle-rust ... ++ t=out/test/elf/x86_64/demangle-rust 83: ++ mkdir -p out/test/elf/x86_64/demangle-rust -79: + grep -q 'undefined symbol: bar' out/test/elf/x86_64/defsym-missing-symbol/log -79: + on_exit -79: + echo OK -79: OK -79: + exit 0 -83: + cat - 75/357 Test #79: x86_64-defsym-missing-symbol ............... Passed 0.16 sec -test 87 - Start 87: x86_64-discard - -87: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/discard.sh" -87: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -87: Environment variables: -87: MACHINE=x86_64 -87: CPU= -87: Test timeout computed to be: 1500 84: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/demangle.sh +83: + cat +83: + cc -c -o out/test/elf/x86_64/demangle-rust/a.o -xc - 84: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 84: ++ export LC_ALL=C 84: ++ LC_ALL=C @@ -6017,8 +5991,38 @@ 84: ++ mkdir -p out/test/elf/x86_64/demangle 84: + cat 84: + cc -c -o out/test/elf/x86_64/demangle/a.o -xc++ - +73: + cc -B. -shared -o out/test/elf/x86_64/copyrel/c.so out/test/elf/x86_64/copyrel/c.o 75: + c++ -o out/test/elf/x86_64/dead-debug-sections/exe out/test/elf/x86_64/dead-debug-sections/a.o out/test/elf/x86_64/dead-debug-sections/b.o out/test/elf/x86_64/dead-debug-sections/c.o -g +69: + out/test/elf/x86_64/copyrel-alignment/exe2 +79: + cc -B. -o out/test/elf/x86_64/defsym-missing-symbol/exe out/test/elf/x86_64/defsym-missing-symbol/a.o -Wl,-defsym=foo=bar +69: + readelf -W --sections out/test/elf/x86_64/copyrel-alignment/exe2 +69: + grep -q '\.copyrel.* 8$' +69: + cc -B. -o out/test/elf/x86_64/copyrel-alignment/exe3 out/test/elf/x86_64/copyrel-alignment/d.o out/test/elf/x86_64/copyrel-alignment/c.so -no-pie +28: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/c.so out/test/elf/x86_64/x86_64_reloc/e.o +80: + cc -B. -o out/test/elf/x86_64/defsym/exe out/test/elf/x86_64/defsym/a.o -pie -Wl,-defsym=foo=16 -Wl,-defsym=bar=0x2000 -Wl,-defsym=baz=print +73: + cc -B. -no-pie -o out/test/elf/x86_64/copyrel/exe out/test/elf/x86_64/copyrel/a.o out/test/elf/x86_64/copyrel/b.o out/test/elf/x86_64/copyrel/c.so +58: + readelf -n out/test/elf/x86_64/build-id/exe +58: + grep -q 'Build ID: deadbeefdeadbeef' +58: + on_exit +58: + echo OK +58: OK +58: + exit 0 + 73/357 Test #58: x86_64-build-id ............................ Passed 0.46 sec +test 85 + Start 85: x86_64-dependency-file + +85: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/dependency-file.sh" +85: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +85: Environment variables: +85: MACHINE=x86_64 +85: CPU= +85: Test timeout computed to be: 1500 +79: + grep -q 'undefined symbol: bar' out/test/elf/x86_64/defsym-missing-symbol/log 85: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/dependency-file.sh +79: + on_exit +79: + echo OK +79: OK +79: + exit 0 85: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 85: ++ export LC_ALL=C 85: ++ LC_ALL=C @@ -6037,21 +6041,27 @@ 85: ++ tlsdesc_opt=-mtls-dialect=gnu2 85: ++ trap 'on_error $LINENO' ERR 85: ++ trap on_exit EXIT + 74/357 Test #79: x86_64-defsym-missing-symbol ............... Passed 0.10 sec +test 86 + Start 86: x86_64-disable-new-dtags + +86: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/disable-new-dtags.sh" +86: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +86: Environment variables: +86: MACHINE=x86_64 +86: CPU= +86: Test timeout computed to be: 1500 85: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/dependency-file.sh .sh 85: ++ testname=dependency-file 85: ++ echo -n 'Testing dependency-file ... ' 85: Testing dependency-file ... ++ t=out/test/elf/x86_64/dependency-file 85: ++ mkdir -p out/test/elf/x86_64/dependency-file +86: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/disable-new-dtags.sh +69: + out/test/elf/x86_64/copyrel-alignment/exe3 +75: + grep -q 'Hello world' +75: + out/test/elf/x86_64/dead-debug-sections/exe 85: + cat 85: + cc -o out/test/elf/x86_64/dependency-file/a.o -c -xc - -83: + cc -c -o out/test/elf/x86_64/demangle-rust/a.o -xc - -28: + readelf -x .foo -x .bar out/test/elf/x86_64/x86_64_reloc/exe -28: + grep -Fq '0x00000010 00000000 00000000 10000000 00000000' out/test/elf/x86_64/x86_64_reloc/log -82: + grep -Fq 'ns::version()' out/test/elf/x86_64/demangle-cpp/log -69: + out/test/elf/x86_64/copyrel-alignment/exe3 -69: + readelf -W --sections out/test/elf/x86_64/copyrel-alignment/exe3 -69: + grep -q '\.copyrel.* 256$' -86: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/disable-new-dtags.sh 86: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 86: ++ export LC_ALL=C 86: ++ LC_ALL=C @@ -6070,20 +6080,38 @@ 86: ++ tlsdesc_opt=-mtls-dialect=gnu2 86: ++ trap 'on_error $LINENO' ERR 86: ++ trap on_exit EXIT +75: + dwarfdump out/test/elf/x86_64/dead-debug-sections/exe 86: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/disable-new-dtags.sh .sh -28: + grep -Fq '0x00000010 18000000 00000000' out/test/elf/x86_64/x86_64_reloc/log -87: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/discard.sh -82: + cat -82: + cc -c -o out/test/elf/x86_64/demangle-cpp/b.o -xc - -28: + on_exit -28: + echo OK -28: OK -28: + exit 0 +69: + readelf -W --sections out/test/elf/x86_64/copyrel-alignment/exe3 +69: + grep -q '\.copyrel.* 256$' +80: + out/test/elf/x86_64/defsym/exe +80: + grep -q '^Hello 0x10 0x2000$' +28: + out/test/elf/x86_64/x86_64_reloc/exe +28: + grep -q '^56000003$' +86: ++ testname=disable-new-dtags +86: ++ echo -n 'Testing disable-new-dtags ... ' +86: Testing disable-new-dtags ... ++ t=out/test/elf/x86_64/disable-new-dtags +86: ++ mkdir -p out/test/elf/x86_64/disable-new-dtags +28: + cat +80: + on_exit +80: + echo OK +80: OK +80: + exit 0 69: + on_exit 69: + echo OK 69: OK 69: + exit 0 - 76/357 Test #28: x86_64-x86_64_reloc ........................ Passed 1.58 sec + 75/357 Test #69: x86_64-copyrel-alignment ................... Passed 0.36 sec +test 87 + Start 87: x86_64-discard + +87: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/discard.sh" +87: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +87: Environment variables: +87: MACHINE=x86_64 +87: CPU= +87: Test timeout computed to be: 1500 + 76/357 Test #80: x86_64-defsym .............................. Passed 0.09 sec test 88 Start 88: x86_64-dso-undef @@ -6093,7 +6121,11 @@ 88: MACHINE=x86_64 88: CPU= 88: Test timeout computed to be: 1500 - 77/357 Test #69: x86_64-copyrel-alignment ................... Passed 0.42 sec +75: + on_exit +75: + echo OK +75: OK +75: + exit 0 + 77/357 Test #75: x86_64-dead-debug-sections ................. Passed 0.30 sec test 89 Start 89: x86_64-dt-init @@ -6103,6 +6135,17 @@ 89: MACHINE=x86_64 89: CPU= 89: Test timeout computed to be: 1500 +28: + cc -c -o out/test/elf/x86_64/x86_64_reloc/f.o out/test/elf/x86_64/x86_64_reloc/f.s +28: + cc -B. -o out/test/elf/x86_64/x86_64_reloc/exe out/test/elf/x86_64/x86_64_reloc/f.o +86: + cat +86: + cc -o out/test/elf/x86_64/disable-new-dtags/a.o -c -xc -fPIC - +73: + out/test/elf/x86_64/copyrel/exe +73: + grep -q '42 42 1' +73: + on_exit +73: + echo OK +73: OK +73: + exit 0 +87: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/discard.sh 87: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 87: ++ export LC_ALL=C 87: ++ LC_ALL=C @@ -6126,17 +6169,17 @@ 87: ++ echo -n 'Testing discard ... ' 87: Testing discard ... ++ t=out/test/elf/x86_64/discard 87: ++ mkdir -p out/test/elf/x86_64/discard -86: ++ testname=disable-new-dtags -86: ++ echo -n 'Testing disable-new-dtags ... ' -86: Testing disable-new-dtags ... ++ t=out/test/elf/x86_64/disable-new-dtags -86: ++ mkdir -p out/test/elf/x86_64/disable-new-dtags -86: + cc -o out/test/elf/x86_64/disable-new-dtags/a.o -c -xc -fPIC - -80: + out/test/elf/x86_64/defsym/exe -80: + grep -q '^Hello 0x10 0x2000$' -80: + on_exit -80: + echo OK -80: OK -80: + exit 0 +87: + '[' x86_64 = riscv64 -o x86_64 = riscv32 ']' + 78/357 Test #73: x86_64-copyrel ............................. Passed 0.31 sec +test 90 + Start 90: x86_64-dt-needed + +90: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/dt-needed.sh" +90: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +90: Environment variables: +90: MACHINE=x86_64 +90: CPU= +90: Test timeout computed to be: 1500 88: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/dso-undef.sh 88: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 88: ++ export LC_ALL=C @@ -6157,32 +6200,12 @@ 88: ++ trap 'on_error $LINENO' ERR 88: ++ trap on_exit EXIT 88: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/dso-undef.sh .sh - 78/357 Test #80: x86_64-defsym .............................. Passed 0.18 sec -test 90 - Start 90: x86_64-dt-needed - -90: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/dt-needed.sh" -90: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -90: Environment variables: -90: MACHINE=x86_64 -90: CPU= -90: Test timeout computed to be: 1500 -87: + '[' x86_64 = riscv64 -o x86_64 = riscv32 ']' -87: + cat -87: + cc -o out/test/elf/x86_64/discard/a.o -c -x assembler -Wa,-L - -86: + cat 88: ++ testname=dso-undef 88: ++ echo -n 'Testing dso-undef ... ' 88: Testing dso-undef ... ++ t=out/test/elf/x86_64/dso-undef 88: ++ mkdir -p out/test/elf/x86_64/dso-undef -88: + cat -88: + cc -fPIC -o out/test/elf/x86_64/dso-undef/a.o -c -xc - -81: + nm -D out/test/elf/x86_64/defsym2/b.so -81: + grep -q bar -81: + on_exit -81: + echo OK -81: OK -81: + exit 0 +87: + cat +87: + cc -o out/test/elf/x86_64/discard/a.o -c -x assembler -Wa,-L - 89: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/dt-init.sh 89: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 89: ++ export LC_ALL=C @@ -6202,25 +6225,22 @@ 89: ++ tlsdesc_opt=-mtls-dialect=gnu2 89: ++ trap 'on_error $LINENO' ERR 89: ++ trap on_exit EXIT - 79/357 Test #81: x86_64-defsym2 ............................. Passed 0.17 sec -test 91 - Start 91: x86_64-duplicate-error-archive - -91: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/duplicate-error-archive.sh" -91: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -91: Environment variables: -91: MACHINE=x86_64 -91: CPU= -91: Test timeout computed to be: 1500 -87: + ./mold -o out/test/elf/x86_64/discard/exe out/test/elf/x86_64/discard/a.o -82: /tmp/ccAqfLIv.s: Assembler messages: -82: /tmp/ccAqfLIv.s:23: Warning: setting incorrect section attributes for .comment -82: + cc -B. -o out/test/elf/x86_64/demangle-cpp/exe2 out/test/elf/x86_64/demangle-cpp/b.o +89: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/dt-init.sh .sh 90: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/dt-needed.sh +89: ++ testname=dt-init +89: ++ echo -n 'Testing dt-init ... ' +89: Testing dt-init ... ++ t=out/test/elf/x86_64/dt-init +89: ++ mkdir -p out/test/elf/x86_64/dt-init +88: + cat +88: + cc -fPIC -o out/test/elf/x86_64/dso-undef/a.o -c -xc - +87: + ./mold -o out/test/elf/x86_64/discard/exe out/test/elf/x86_64/discard/a.o 90: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 90: ++ export LC_ALL=C 90: ++ LC_ALL=C 90: ++ '[' -z x86_64 ']' +89: + '[' x86_64 = riscv64 -o x86_64 = riscv32 ']' +89: + [[ x86_64 = loongarch* ]] +89: + '[' x86_64 = arm -o x86_64 = aarch64 ']' 90: ++ '[' -z '' ']' 90: ++ TESTDIR=out/test/elf/x86_64 90: ++ CC=cc @@ -6235,18 +6255,80 @@ 90: ++ tlsdesc_opt=-mtls-dialect=gnu2 90: ++ trap 'on_error $LINENO' ERR 90: ++ trap on_exit EXIT -89: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/dt-init.sh .sh -89: ++ testname=dt-init -89: ++ echo -n 'Testing dt-init ... ' -89: Testing dt-init ... ++ t=out/test/elf/x86_64/dt-init -89: ++ mkdir -p out/test/elf/x86_64/dt-init -83: + cc -B. -o out/test/elf/x86_64/demangle-rust/exe out/test/elf/x86_64/demangle-rust/a.o 90: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/dt-needed.sh .sh +89: + cat +89: + cc -c -fPIC -o out/test/elf/x86_64/dt-init/a.o -xc - 90: ++ testname=dt-needed 90: ++ echo -n 'Testing dt-needed ... ' 90: Testing dt-needed ... ++ t=out/test/elf/x86_64/dt-needed 90: ++ mkdir -p out/test/elf/x86_64/dt-needed +90: + cat +90: + cc -c -o out/test/elf/x86_64/dt-needed/a.o -xc - +87: + readelf --symbols out/test/elf/x86_64/discard/exe +87: + grep -Fq _start out/test/elf/x86_64/discard/log +87: + grep -Fq foo out/test/elf/x86_64/discard/log +87: + grep -Fq .Lbar out/test/elf/x86_64/discard/log +87: + ./mold -o out/test/elf/x86_64/discard/exe out/test/elf/x86_64/discard/a.o --discard-locals +81: + cc -B. -o out/test/elf/x86_64/defsym2/b.so -shared -Wl,-defsym=bar=foo out/test/elf/x86_64/defsym2/a.o +87: + readelf --symbols out/test/elf/x86_64/discard/exe +87: + grep -Fq _start out/test/elf/x86_64/discard/log +82: + cc -B. -o out/test/elf/x86_64/demangle-cpp/exe1 out/test/elf/x86_64/demangle-cpp/a.o +87: + grep -Fq foo out/test/elf/x86_64/discard/log +87: + grep -Fq .Lbar out/test/elf/x86_64/discard/log +87: + ./mold -o out/test/elf/x86_64/discard/exe out/test/elf/x86_64/discard/a.o --discard-all +85: + cc -B. -o out/test/elf/x86_64/dependency-file/exe out/test/elf/x86_64/dependency-file/a.o -Wl,-dependency-file=out/test/elf/x86_64/dependency-file/dep +83: + cc -B. -o out/test/elf/x86_64/demangle-rust/exe out/test/elf/x86_64/demangle-rust/a.o +84: + cc -B. -o out/test/elf/x86_64/demangle/exe out/test/elf/x86_64/demangle/a.o -Wl,-no-demangle +90: + cc -B. -shared -o out/test/elf/x86_64/dt-needed/libfoo.so out/test/elf/x86_64/dt-needed/a.o -Wl,--soname,libfoo +86: + cc -B. -shared -o out/test/elf/x86_64/disable-new-dtags/b.so out/test/elf/x86_64/disable-new-dtags/a.o -Wl,-rpath=/foo +88: + cc -B. -o out/test/elf/x86_64/dso-undef/b.so -shared out/test/elf/x86_64/dso-undef/a.o +89: + cat +87: + readelf --symbols out/test/elf/x86_64/discard/exe +89: + cc -c -fPIC -o out/test/elf/x86_64/dt-init/b.o -xc - +28: + readelf -x .foo -x .bar out/test/elf/x86_64/x86_64_reloc/exe +87: + grep -Fq _start out/test/elf/x86_64/discard/log +87: + grep -Fq foo out/test/elf/x86_64/discard/log +87: + grep -Fq .Lbar out/test/elf/x86_64/discard/log +28: + grep -Fq '0x00000010 00000000 00000000 10000000 00000000' out/test/elf/x86_64/x86_64_reloc/log +87: + ./mold -o out/test/elf/x86_64/discard/exe out/test/elf/x86_64/discard/a.o --strip-all +78: + cc -flto -fPIC -o out/test/elf/x86_64/defsym-lto/a.o -c -xc - +78: + cat +28: + grep -Fq '0x00000010 18000000 00000000' out/test/elf/x86_64/x86_64_reloc/log +81: + grep -q bar +81: + nm -D out/test/elf/x86_64/defsym2/b.so +28: + on_exit +28: + echo OK +28: OK +28: + exit 0 + 79/357 Test #28: x86_64-x86_64_reloc ........................ Passed 0.97 sec +test 91 + Start 91: x86_64-duplicate-error-archive + +91: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/duplicate-error-archive.sh" +91: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +91: Environment variables: +91: MACHINE=x86_64 +91: CPU= +91: Test timeout computed to be: 1500 91: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/duplicate-error-archive.sh +81: + on_exit +81: + echo OK +81: OK +81: + exit 0 +82: + grep -Fq 'ns::version()' out/test/elf/x86_64/demangle-cpp/log + 80/357 Test #81: x86_64-defsym2 ............................. Passed 0.17 sec +test 92 + Start 92: x86_64-duplicate-error + +92: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/duplicate-error.sh" +92: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +92: Environment variables: +92: MACHINE=x86_64 +92: CPU= +92: Test timeout computed to be: 1500 +82: + cat +82: + cc -c -o out/test/elf/x86_64/demangle-cpp/b.o -xc - +87: + readelf --symbols out/test/elf/x86_64/discard/exe 91: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 91: ++ export LC_ALL=C 91: ++ LC_ALL=C @@ -6265,49 +6347,54 @@ 91: ++ tlsdesc_opt=-mtls-dialect=gnu2 91: ++ trap 'on_error $LINENO' ERR 91: ++ trap on_exit EXIT -89: + '[' x86_64 = riscv64 -o x86_64 = riscv32 ']' -89: + [[ x86_64 = loongarch* ]] -89: + '[' x86_64 = arm -o x86_64 = aarch64 ']' -84: + cc -B. -o out/test/elf/x86_64/demangle/exe out/test/elf/x86_64/demangle/a.o -Wl,-no-demangle -89: + cc -c -fPIC -o out/test/elf/x86_64/dt-init/a.o -xc - -89: + cat -90: + cat -90: + cc -c -o out/test/elf/x86_64/dt-needed/a.o -xc - -85: + cc -B. -o out/test/elf/x86_64/dependency-file/exe out/test/elf/x86_64/dependency-file/a.o -Wl,-dependency-file=out/test/elf/x86_64/dependency-file/dep 91: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/duplicate-error-archive.sh .sh -75: + out/test/elf/x86_64/dead-debug-sections/exe 91: ++ testname=duplicate-error-archive 91: ++ echo -n 'Testing duplicate-error-archive ... ' 91: Testing duplicate-error-archive ... ++ t=out/test/elf/x86_64/duplicate-error-archive 91: ++ mkdir -p out/test/elf/x86_64/duplicate-error-archive -75: + grep -q 'Hello world' 91: + cat -87: + readelf --symbols out/test/elf/x86_64/discard/exe 91: + cc -o out/test/elf/x86_64/duplicate-error-archive/a.o -c -xc - +90: + cc -B. -shared -o out/test/elf/x86_64/dt-needed/libbar.so out/test/elf/x86_64/dt-needed/a.o +85: + grep -q 'dependency-file/exe:.*/a.o ' out/test/elf/x86_64/dependency-file/dep +85: + grep -q '.*/a.o:$' out/test/elf/x86_64/dependency-file/dep 87: + grep -Fq _start out/test/elf/x86_64/discard/log -75: + dwarfdump out/test/elf/x86_64/dead-debug-sections/exe -87: + grep -Fq foo out/test/elf/x86_64/discard/log -86: + cc -B. -shared -o out/test/elf/x86_64/disable-new-dtags/b.so out/test/elf/x86_64/disable-new-dtags/a.o -Wl,-rpath=/foo -75: + on_exit -75: + echo OK -75: OK -75: + exit 0 - 80/357 Test #75: x86_64-dead-debug-sections ................. Passed 0.33 sec -test 92 - Start 92: x86_64-duplicate-error +89: + cc -B. -o out/test/elf/x86_64/dt-init/c.so -shared out/test/elf/x86_64/dt-init/b.o +88: + cat +88: + cc -o out/test/elf/x86_64/dso-undef/c.o -c -xc - +92: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/duplicate-error.sh +85: + on_exit +85: + echo OK +85: OK +85: + exit 0 + 81/357 Test #85: x86_64-dependency-file ..................... Passed 0.13 sec +test 93 + Start 93: x86_64-dynamic-dt-debug -92: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/duplicate-error.sh" -92: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -92: Environment variables: -92: MACHINE=x86_64 -92: CPU= -92: Test timeout computed to be: 1500 +93: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/dynamic-dt-debug.sh" +93: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +93: Environment variables: +93: MACHINE=x86_64 +93: CPU= +93: Test timeout computed to be: 1500 +87: + grep -Fq foo out/test/elf/x86_64/discard/log 87: + grep -Fq .Lbar out/test/elf/x86_64/discard/log -88: + cc -B. -o out/test/elf/x86_64/dso-undef/b.so -shared out/test/elf/x86_64/dso-undef/a.o -92: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/duplicate-error.sh -87: + ./mold -o out/test/elf/x86_64/discard/exe out/test/elf/x86_64/discard/a.o --discard-locals -83: + grep -Fq ' as core::iter::iterator::Iterator>::rposition::::{closure#0}' out/test/elf/x86_64/demangle-rust/log +86: + grep -q 'RUNPATH.*/foo' +87: + on_exit +87: + echo OK +87: OK +87: + exit 0 +86: + readelf --dynamic out/test/elf/x86_64/disable-new-dtags/b.so 92: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc + 82/357 Test #87: x86_64-discard ............................. Passed 0.12 sec +test 94 + Start 94: x86_64-dynamic-linker + +94: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/dynamic-linker.sh" +94: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +94: Environment variables: +94: MACHINE=x86_64 +94: CPU= +94: Test timeout computed to be: 1500 92: ++ export LC_ALL=C 92: ++ LC_ALL=C 92: ++ '[' -z x86_64 ']' @@ -6326,65 +6413,10 @@ 92: ++ trap 'on_error $LINENO' ERR 92: ++ trap on_exit EXIT 92: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/duplicate-error.sh .sh -83: + on_exit -83: + echo OK -83: OK -83: + exit 0 - 81/357 Test #83: x86_64-demangle-rust ....................... Passed 0.13 sec -test 93 - Start 93: x86_64-dynamic-dt-debug - -93: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/dynamic-dt-debug.sh" -93: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -93: Environment variables: -93: MACHINE=x86_64 -93: CPU= -93: Test timeout computed to be: 1500 -82: + grep -Fq ns::versionv out/test/elf/x86_64/demangle-cpp/log -82: + on_exit -82: + echo OK -82: OK -82: + exit 0 -84: + grep -q 'undefined symbol: _Z3fooii$' out/test/elf/x86_64/demangle/log -84: + cc -B. -o out/test/elf/x86_64/demangle/exe out/test/elf/x86_64/demangle/a.o -Wl,-demangle 92: ++ testname=duplicate-error 92: ++ echo -n 'Testing duplicate-error ... ' 92: Testing duplicate-error ... ++ t=out/test/elf/x86_64/duplicate-error 92: ++ mkdir -p out/test/elf/x86_64/duplicate-error -87: + readelf --symbols out/test/elf/x86_64/discard/exe -87: + grep -Fq _start out/test/elf/x86_64/discard/log -85: + grep -q 'dependency-file/exe:.*/a.o ' out/test/elf/x86_64/dependency-file/dep -85: + grep -q '.*/a.o:$' out/test/elf/x86_64/dependency-file/dep - 82/357 Test #82: x86_64-demangle-cpp ........................ Passed 0.23 sec -test 94 - Start 94: x86_64-dynamic-linker - -94: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/dynamic-linker.sh" -94: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -94: Environment variables: -94: MACHINE=x86_64 -94: CPU= -94: Test timeout computed to be: 1500 -92: + cc -o out/test/elf/x86_64/duplicate-error/a.o -c -x assembler - -92: + cat -87: + grep -Fq foo out/test/elf/x86_64/discard/log -85: + on_exit -85: + echo OK -85: OK -85: + exit 0 -86: + readelf --dynamic out/test/elf/x86_64/disable-new-dtags/b.so -86: + grep -q 'RUNPATH.*/foo' - 83/357 Test #85: x86_64-dependency-file ..................... Passed 0.13 sec -test 95 - Start 95: x86_64-dynamic-list - -95: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/dynamic-list.sh" -95: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -95: Environment variables: -95: MACHINE=x86_64 -95: CPU= -95: Test timeout computed to be: 1500 -86: + cc -B. -shared -o out/test/elf/x86_64/disable-new-dtags/b.so out/test/elf/x86_64/disable-new-dtags/a.o -Wl,-rpath=/foo -Wl,-enable-new-dtags 93: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/dynamic-dt-debug.sh 93: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 93: ++ export LC_ALL=C @@ -6404,40 +6436,32 @@ 93: ++ tlsdesc_opt=-mtls-dialect=gnu2 93: ++ trap 'on_error $LINENO' ERR 93: ++ trap on_exit EXIT -87: + grep -Fq .Lbar out/test/elf/x86_64/discard/log -92: + ./mold -o out/test/elf/x86_64/duplicate-error/exe out/test/elf/x86_64/duplicate-error/a.o out/test/elf/x86_64/duplicate-error/a.o 93: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/dynamic-dt-debug.sh .sh -88: + cat 93: ++ testname=dynamic-dt-debug 93: ++ echo -n 'Testing dynamic-dt-debug ... ' 93: Testing dynamic-dt-debug ... ++ t=out/test/elf/x86_64/dynamic-dt-debug 93: ++ mkdir -p out/test/elf/x86_64/dynamic-dt-debug -88: + cc -o out/test/elf/x86_64/dso-undef/c.o -c -xc - -89: + cc -c -fPIC -o out/test/elf/x86_64/dt-init/b.o -xc - -89: + cat -95: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/dynamic-list.sh -94: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/dynamic-linker.sh -87: + ./mold -o out/test/elf/x86_64/discard/exe out/test/elf/x86_64/discard/a.o --discard-all -95: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc -95: ++ export LC_ALL=C -95: ++ LC_ALL=C -95: ++ '[' -z x86_64 ']' -95: ++ '[' -z '' ']' -95: ++ TESTDIR=out/test/elf/x86_64 -95: ++ CC=cc -95: ++ CXX=c++ -95: ++ GCC=gcc -95: ++ GXX=g++ -95: ++ OBJDUMP=objdump -95: ++ OBJCOPY=objcopy -95: ++ STRIP=strip -95: ++ QEMU= -95: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' -95: ++ tlsdesc_opt=-mtls-dialect=gnu2 -95: ++ trap 'on_error $LINENO' ERR -95: ++ trap on_exit EXIT +83: + grep -Fq ' as core::iter::iterator::Iterator>::rposition::::{closure#0}' out/test/elf/x86_64/demangle-rust/log +83: + on_exit +83: + echo OK +83: OK +83: + exit 0 +86: + cc -B. -shared -o out/test/elf/x86_64/disable-new-dtags/b.so out/test/elf/x86_64/disable-new-dtags/a.o -Wl,-rpath=/foo -Wl,-enable-new-dtags + 83/357 Test #83: x86_64-demangle-rust ....................... Passed 0.18 sec +test 95 + Start 95: x86_64-dynamic-list + +95: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/dynamic-list.sh" +95: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +95: Environment variables: +95: MACHINE=x86_64 +95: CPU= +95: Test timeout computed to be: 1500 +92: + cat +92: + cc -o out/test/elf/x86_64/duplicate-error/a.o -c -x assembler - 93: + cat -95: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/dynamic-list.sh .sh +93: + cc -o out/test/elf/x86_64/dynamic-dt-debug/a.o -c -xc - +94: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/dynamic-linker.sh 94: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 94: ++ export LC_ALL=C 94: ++ LC_ALL=C @@ -6457,26 +6481,62 @@ 94: ++ trap 'on_error $LINENO' ERR 94: ++ trap on_exit EXIT 94: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/dynamic-linker.sh .sh -93: + cc -o out/test/elf/x86_64/dynamic-dt-debug/a.o -c -xc - -91: + rm -f out/test/elf/x86_64/duplicate-error-archive/b.a -95: ++ testname=dynamic-list -95: ++ echo -n 'Testing dynamic-list ... ' -95: Testing dynamic-list ... ++ t=out/test/elf/x86_64/dynamic-list -95: ++ mkdir -p out/test/elf/x86_64/dynamic-list -90: + cc -B. -shared -o out/test/elf/x86_64/dt-needed/libfoo.so out/test/elf/x86_64/dt-needed/a.o -Wl,--soname,libfoo 94: ++ testname=dynamic-linker 94: ++ echo -n 'Testing dynamic-linker ... ' 94: Testing dynamic-linker ... ++ t=out/test/elf/x86_64/dynamic-linker 94: ++ mkdir -p out/test/elf/x86_64/dynamic-linker +78: + cc -B. -flto -o out/test/elf/x86_64/defsym-lto/exe out/test/elf/x86_64/defsym-lto/a.o -Wl,-defsym,live_func=dead_func +95: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/dynamic-list.sh +94: + cc -c -o out/test/elf/x86_64/dynamic-linker/a.o -x assembler - +92: + ./mold -o out/test/elf/x86_64/duplicate-error/exe out/test/elf/x86_64/duplicate-error/a.o out/test/elf/x86_64/duplicate-error/a.o +94: + cat +95: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc +95: ++ export LC_ALL=C +95: ++ LC_ALL=C +95: ++ '[' -z x86_64 ']' +95: ++ '[' -z '' ']' +95: ++ TESTDIR=out/test/elf/x86_64 +95: ++ CC=cc +95: ++ CXX=c++ +95: ++ GCC=gcc +95: ++ GXX=g++ +95: ++ OBJDUMP=objdump +95: ++ OBJCOPY=objcopy +95: ++ STRIP=strip +95: ++ QEMU= +95: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' +95: ++ tlsdesc_opt=-mtls-dialect=gnu2 +95: ++ trap 'on_error $LINENO' ERR +95: ++ trap on_exit EXIT +95: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/dynamic-list.sh .sh +88: + rm -f out/test/elf/x86_64/dso-undef/d.a +95: ++ testname=dynamic-list +95: ++ echo -n 'Testing dynamic-list ... ' +95: Testing dynamic-list ... ++ t=out/test/elf/x86_64/dynamic-list +95: ++ mkdir -p out/test/elf/x86_64/dynamic-list +88: + ar rcs out/test/elf/x86_64/dso-undef/d.a out/test/elf/x86_64/dso-undef/c.o +84: + grep -q 'undefined symbol: _Z3fooii$' out/test/elf/x86_64/demangle/log +94: + ./mold -o out/test/elf/x86_64/dynamic-linker/exe out/test/elf/x86_64/dynamic-linker/a.o +84: + cc -B. -o out/test/elf/x86_64/demangle/exe out/test/elf/x86_64/demangle/a.o -Wl,-demangle +88: + cat +88: + cc -o out/test/elf/x86_64/dso-undef/e.o -c -xc - +90: + cat +82: /tmp/ccdxy5QG.s: Assembler messages: +82: /tmp/ccdxy5QG.s:23: Warning: setting incorrect section attributes for .comment +95: + cat +91: + rm -f out/test/elf/x86_64/duplicate-error-archive/b.a +89: + cc -B. -o out/test/elf/x86_64/dt-init/d.so -shared out/test/elf/x86_64/dt-init/b.o -Wl,-init,init -Wl,-fini,fini +82: + cc -B. -o out/test/elf/x86_64/demangle-cpp/exe2 out/test/elf/x86_64/demangle-cpp/b.o +95: + cc -o out/test/elf/x86_64/dynamic-list/a.o -c -xc - 91: + ar rcs out/test/elf/x86_64/duplicate-error-archive/b.a out/test/elf/x86_64/duplicate-error-archive/a.o +94: + readelf --sections out/test/elf/x86_64/dynamic-linker/exe 92: + grep -q 'duplicate symbol: .*\.o: .*\.o: main' out/test/elf/x86_64/duplicate-error/log -94: + cat +90: + cc -c -o out/test/elf/x86_64/dt-needed/b.o -xc - 92: + on_exit 92: + echo OK 92: OK 92: + exit 0 -94: + cc -c -o out/test/elf/x86_64/dynamic-linker/a.o -x assembler - - 84/357 Test #92: x86_64-duplicate-error ..................... Passed 0.07 sec + 84/357 Test #92: x86_64-duplicate-error ..................... Passed 0.04 sec test 96 Start 96: x86_64-dynamic-list2 @@ -6486,11 +6546,12 @@ 96: MACHINE=x86_64 96: CPU= 96: Test timeout computed to be: 1500 -95: + cat -95: + cc -o out/test/elf/x86_64/dynamic-list/a.o -c -xc - -87: + readelf --symbols out/test/elf/x86_64/discard/exe +94: + grep -Fq .interp out/test/elf/x86_64/dynamic-linker/log +91: + cat +91: + cc -o out/test/elf/x86_64/duplicate-error-archive/c.o -c -xc - +94: + readelf --dynamic out/test/elf/x86_64/dynamic-linker/exe 96: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/dynamic-list2.sh -94: + ./mold -o out/test/elf/x86_64/dynamic-linker/exe out/test/elf/x86_64/dynamic-linker/a.o +86: + readelf --dynamic out/test/elf/x86_64/disable-new-dtags/b.so 96: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 96: ++ export LC_ALL=C 96: ++ LC_ALL=C @@ -6509,41 +6570,28 @@ 96: ++ tlsdesc_opt=-mtls-dialect=gnu2 96: ++ trap 'on_error $LINENO' ERR 96: ++ trap on_exit EXIT +86: + grep -q 'RUNPATH.*/foo' 96: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/dynamic-list2.sh .sh -87: + grep -Fq _start out/test/elf/x86_64/discard/log -87: + grep -Fq foo out/test/elf/x86_64/discard/log 96: ++ testname=dynamic-list2 96: ++ echo -n 'Testing dynamic-list2 ... ' 96: Testing dynamic-list2 ... ++ t=out/test/elf/x86_64/dynamic-list2 96: ++ mkdir -p out/test/elf/x86_64/dynamic-list2 -87: + grep -Fq .Lbar out/test/elf/x86_64/discard/log +93: + cc -B. -o out/test/elf/x86_64/dynamic-dt-debug/exe out/test/elf/x86_64/dynamic-dt-debug/a.o +86: + cc -B. -shared -o out/test/elf/x86_64/disable-new-dtags/b.so out/test/elf/x86_64/disable-new-dtags/a.o -Wl,-rpath=/foo -Wl,-disable-new-dtags +94: + ./mold -o out/test/elf/x86_64/dynamic-linker/exe out/test/elf/x86_64/dynamic-linker/a.o --dynamic-linker=/foo/bar 96: + cat 96: + cc -o out/test/elf/x86_64/dynamic-list2/a.o -c -xc - -86: + readelf --dynamic out/test/elf/x86_64/disable-new-dtags/b.so -86: + grep -q 'RUNPATH.*/foo' -87: + ./mold -o out/test/elf/x86_64/discard/exe out/test/elf/x86_64/discard/a.o --strip-all -86: + cc -B. -shared -o out/test/elf/x86_64/disable-new-dtags/b.so out/test/elf/x86_64/disable-new-dtags/a.o -Wl,-rpath=/foo -Wl,-disable-new-dtags -91: + cat 94: + readelf --sections out/test/elf/x86_64/dynamic-linker/exe -91: + cc -o out/test/elf/x86_64/duplicate-error-archive/c.o -c -xc - -90: + cc -B. -shared -o out/test/elf/x86_64/dt-needed/libbar.so out/test/elf/x86_64/dt-needed/a.o 94: + grep -Fq .interp out/test/elf/x86_64/dynamic-linker/log -94: + readelf --dynamic out/test/elf/x86_64/dynamic-linker/exe -87: + readelf --symbols out/test/elf/x86_64/discard/exe -88: + rm -f out/test/elf/x86_64/dso-undef/d.a -88: + ar rcs out/test/elf/x86_64/dso-undef/d.a out/test/elf/x86_64/dso-undef/c.o -87: + grep -Fq _start out/test/elf/x86_64/discard/log -87: + grep -Fq foo out/test/elf/x86_64/discard/log -87: + grep -Fq .Lbar out/test/elf/x86_64/discard/log -94: + ./mold -o out/test/elf/x86_64/dynamic-linker/exe out/test/elf/x86_64/dynamic-linker/a.o --dynamic-linker=/foo/bar -84: + grep -Eq 'undefined symbol: foo\(int, int\)$' out/test/elf/x86_64/demangle/log -87: + on_exit -88: + cat -87: + echo OK -87: OK -87: + exit 0 -88: + cc -o out/test/elf/x86_64/dso-undef/e.o -c -xc - - 85/357 Test #87: x86_64-discard ............................. Passed 0.21 sec +95: + cc -B. -o out/test/elf/x86_64/dynamic-list/exe out/test/elf/x86_64/dynamic-list/a.o +90: + cc -B. -o out/test/elf/x86_64/dt-needed/exe out/test/elf/x86_64/dt-needed/b.o out/test/elf/x86_64/dt-needed/libfoo.so +94: + on_exit +94: + echo OK +94: OK +94: + exit 0 +88: + cc -B. -o out/test/elf/x86_64/dso-undef/exe out/test/elf/x86_64/dso-undef/b.so out/test/elf/x86_64/dso-undef/d.a out/test/elf/x86_64/dso-undef/e.o +89: + cc -B. -o out/test/elf/x86_64/dt-init/exe1 out/test/elf/x86_64/dt-init/a.o out/test/elf/x86_64/dt-init/c.so + 85/357 Test #94: x86_64-dynamic-linker ...................... Passed 0.05 sec test 97 Start 97: x86_64-dynamic-list3 @@ -6553,15 +6601,16 @@ 97: MACHINE=x86_64 97: CPU= 97: Test timeout computed to be: 1500 -86: + readelf --dynamic out/test/elf/x86_64/disable-new-dtags/b.so -86: + grep -q 'RPATH.*/foo' +84: + grep -Eq 'undefined symbol: foo\(int, int\)$' out/test/elf/x86_64/demangle/log 84: + cc -B. -o out/test/elf/x86_64/demangle/exe out/test/elf/x86_64/demangle/a.o -96: + c++ -o out/test/elf/x86_64/dynamic-list2/b.o -c -xc++ - -86: + on_exit -86: + echo OK -86: OK -86: + exit 0 - 86/357 Test #86: x86_64-disable-new-dtags ................... Passed 0.22 sec +82: + grep -Fq ns::versionv out/test/elf/x86_64/demangle-cpp/log +91: + cc -B. -o out/test/elf/x86_64/duplicate-error-archive/exe out/test/elf/x86_64/duplicate-error-archive/c.o out/test/elf/x86_64/duplicate-error-archive/b.a out/test/elf/x86_64/duplicate-error-archive/b.a +82: + on_exit +82: + echo OK +82: OK +82: + exit 0 +97: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/dynamic-list3.sh + 86/357 Test #82: x86_64-demangle-cpp ........................ Passed 0.24 sec test 98 Start 98: x86_64-dynamic-list4 @@ -6571,10 +6620,29 @@ 98: MACHINE=x86_64 98: CPU= 98: Test timeout computed to be: 1500 -91: + cc -B. -o out/test/elf/x86_64/duplicate-error-archive/exe out/test/elf/x86_64/duplicate-error-archive/c.o out/test/elf/x86_64/duplicate-error-archive/b.a out/test/elf/x86_64/duplicate-error-archive/b.a -90: + cc -c -o out/test/elf/x86_64/dt-needed/b.o -xc - -90: + cat -95: + cc -B. -o out/test/elf/x86_64/dynamic-list/exe out/test/elf/x86_64/dynamic-list/a.o +97: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc +97: ++ export LC_ALL=C +97: ++ LC_ALL=C +97: ++ '[' -z x86_64 ']' +97: ++ '[' -z '' ']' +97: ++ TESTDIR=out/test/elf/x86_64 +97: ++ CC=cc +97: ++ CXX=c++ +97: ++ GCC=gcc +97: ++ GXX=g++ +97: ++ OBJDUMP=objdump +97: ++ OBJCOPY=objcopy +97: ++ STRIP=strip +97: ++ QEMU= +97: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' +97: ++ tlsdesc_opt=-mtls-dialect=gnu2 +97: ++ trap 'on_error $LINENO' ERR +97: ++ trap on_exit EXIT +97: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/dynamic-list3.sh .sh +97: ++ testname=dynamic-list3 +97: ++ echo -n 'Testing dynamic-list3 ... ' +97: Testing dynamic-list3 ... ++ t=out/test/elf/x86_64/dynamic-list3 +97: ++ mkdir -p out/test/elf/x86_64/dynamic-list3 98: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/dynamic-list4.sh 98: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 98: ++ export LC_ALL=C @@ -6594,56 +6662,25 @@ 98: ++ tlsdesc_opt=-mtls-dialect=gnu2 98: ++ trap 'on_error $LINENO' ERR 98: ++ trap on_exit EXIT -94: + readelf --sections out/test/elf/x86_64/dynamic-linker/exe -97: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/dynamic-list3.sh 98: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/dynamic-list4.sh .sh 98: ++ testname=dynamic-list4 98: ++ echo -n 'Testing dynamic-list4 ... ' 98: Testing dynamic-list4 ... ++ t=out/test/elf/x86_64/dynamic-list4 98: ++ mkdir -p out/test/elf/x86_64/dynamic-list4 -96: + cat -97: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc -97: ++ export LC_ALL=C -97: ++ LC_ALL=C -97: ++ '[' -z x86_64 ']' -97: ++ '[' -z '' ']' -97: ++ TESTDIR=out/test/elf/x86_64 -97: ++ CC=cc -97: ++ CXX=c++ -97: ++ GCC=gcc -97: ++ GXX=g++ -97: ++ OBJDUMP=objdump -97: ++ OBJCOPY=objcopy -97: ++ STRIP=strip -97: ++ QEMU= -97: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' -97: ++ tlsdesc_opt=-mtls-dialect=gnu2 -97: ++ trap 'on_error $LINENO' ERR -97: ++ trap on_exit EXIT -97: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/dynamic-list3.sh .sh -97: ++ testname=dynamic-list3 -97: ++ echo -n 'Testing dynamic-list3 ... ' -97: Testing dynamic-list3 ... ++ t=out/test/elf/x86_64/dynamic-list3 -97: ++ mkdir -p out/test/elf/x86_64/dynamic-list3 97: + cat +97: + cat +93: + readelf --dynamic out/test/elf/x86_64/dynamic-dt-debug/exe 97: + c++ -fPIC -c -o out/test/elf/x86_64/dynamic-list3/b.o -xc - +86: + readelf --dynamic out/test/elf/x86_64/disable-new-dtags/b.so +86: + grep -q 'RPATH.*/foo' 98: + cat 98: + cc -o out/test/elf/x86_64/dynamic-list4/a.o -c -xc - -fPIC -97: + cat -89: + cc -B. -o out/test/elf/x86_64/dt-init/c.so -shared out/test/elf/x86_64/dt-init/b.o -93: + cc -B. -o out/test/elf/x86_64/dynamic-dt-debug/exe out/test/elf/x86_64/dynamic-dt-debug/a.o -84: + grep -Eq 'undefined symbol: foo\(int, int\)$' out/test/elf/x86_64/demangle/log -94: + grep -Fq .interp out/test/elf/x86_64/dynamic-linker/log -95: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list/exe -91: + cc -B. -o out/test/elf/x86_64/duplicate-error-archive/exe out/test/elf/x86_64/duplicate-error-archive/c.o -Wl,--push-state,--whole-archive out/test/elf/x86_64/duplicate-error-archive/b.a out/test/elf/x86_64/duplicate-error-archive/b.a -Wl,--pop-state -84: + cat -84: + cc -c -o out/test/elf/x86_64/demangle/b.o -xc - -95: + grep -q ' foo' out/test/elf/x86_64/dynamic-list/log -94: + on_exit -94: + echo OK -94: OK -94: + exit 0 - 87/357 Test #94: x86_64-dynamic-linker ...................... Passed 0.16 sec +93: + grep -Fq '(DEBUG)' out/test/elf/x86_64/dynamic-dt-debug/log +86: + on_exit +86: + echo OK +86: OK +86: + exit 0 + 87/357 Test #86: x86_64-disable-new-dtags ................... Passed 0.20 sec test 99 Start 99: x86_64-dynamic @@ -6653,11 +6690,16 @@ 99: MACHINE=x86_64 99: CPU= 99: Test timeout computed to be: 1500 +96: + cat +96: + c++ -o out/test/elf/x86_64/dynamic-list2/b.o -c -xc++ - +95: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list/exe +95: + grep -q ' foo' out/test/elf/x86_64/dynamic-list/log +93: + cat +93: + cc -o out/test/elf/x86_64/dynamic-dt-debug/b.o -c -xc - +91: + cc -B. -o out/test/elf/x86_64/duplicate-error-archive/exe out/test/elf/x86_64/duplicate-error-archive/c.o -Wl,--push-state,--whole-archive out/test/elf/x86_64/duplicate-error-archive/b.a out/test/elf/x86_64/duplicate-error-archive/b.a -Wl,--pop-state +89: + cc -B. -o out/test/elf/x86_64/dt-init/exe2 out/test/elf/x86_64/dt-init/a.o out/test/elf/x86_64/dt-init/d.so 95: + grep -q ' bar' out/test/elf/x86_64/dynamic-list/log -88: + cc -B. -o out/test/elf/x86_64/dso-undef/exe out/test/elf/x86_64/dso-undef/b.so out/test/elf/x86_64/dso-undef/d.a out/test/elf/x86_64/dso-undef/e.o -95: + cat 99: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/dynamic.sh -95: + cc -B. -o out/test/elf/x86_64/dynamic-list/exe1 out/test/elf/x86_64/dynamic-list/a.o -Wl,-dynamic-list=out/test/elf/x86_64/dynamic-list/dyn 99: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 99: ++ export LC_ALL=C 99: ++ LC_ALL=C @@ -6677,27 +6719,19 @@ 99: ++ trap 'on_error $LINENO' ERR 99: ++ trap on_exit EXIT 99: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/dynamic.sh .sh +88: + readelf --dyn-syms out/test/elf/x86_64/dso-undef/exe +88: + grep -q ' foo$' 99: ++ testname=dynamic 99: ++ echo -n 'Testing dynamic ... ' 99: Testing dynamic ... ++ t=out/test/elf/x86_64/dynamic 99: ++ mkdir -p out/test/elf/x86_64/dynamic +95: + cat 99: + cc -o out/test/elf/x86_64/dynamic/a.o -c -x assembler - -99: + echo '.globl main; main:' -89: + cc -B. -o out/test/elf/x86_64/dt-init/d.so -shared out/test/elf/x86_64/dt-init/b.o -Wl,-init,init -Wl,-fini,fini -90: + cc -B. -o out/test/elf/x86_64/dt-needed/exe out/test/elf/x86_64/dt-needed/b.o out/test/elf/x86_64/dt-needed/libfoo.so -96: + c++ -B. -o out/test/elf/x86_64/dynamic-list2/exe out/test/elf/x86_64/dynamic-list2/a.o out/test/elf/x86_64/dynamic-list2/b.o -93: + readelf --dynamic out/test/elf/x86_64/dynamic-dt-debug/exe -99: + cc -B. -o out/test/elf/x86_64/dynamic/exe out/test/elf/x86_64/dynamic/a.o -88: + readelf --dyn-syms out/test/elf/x86_64/dso-undef/exe -88: + grep -q ' foo$' -93: + grep -Fq '(DEBUG)' out/test/elf/x86_64/dynamic-dt-debug/log -91: + grep -q 'duplicate symbol:.* foo' out/test/elf/x86_64/duplicate-error-archive/log 88: + on_exit 88: + echo OK 88: OK 88: + exit 0 -97: + cc -B. -Wl,--dynamic-list=out/test/elf/x86_64/dynamic-list3/dyn -o out/test/elf/x86_64/dynamic-list3/exe1 out/test/elf/x86_64/dynamic-list3/b.o - 88/357 Test #88: x86_64-dso-undef ........................... Passed 0.30 sec + 88/357 Test #88: x86_64-dso-undef ........................... Passed 0.21 sec test 100 Start 100: x86_64-emit-relocs-cpp @@ -6707,54 +6741,13 @@ 100: MACHINE=x86_64 100: CPU= 100: Test timeout computed to be: 1500 -91: + on_exit -91: + echo OK -91: OK -91: + exit 0 -84: + cc -B. -o out/test/elf/x86_64/demangle/exe out/test/elf/x86_64/demangle/b.o -Wl,-demangle -93: + cat -93: + cc -o out/test/elf/x86_64/dynamic-dt-debug/b.o -c -xc - - 89/357 Test #91: x86_64-duplicate-error-archive ............. Passed 0.29 sec -test 101 - Start 101: x86_64-emit-relocs-dead-sections - -101: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/emit-relocs-dead-sections.sh" -101: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -101: Environment variables: -101: MACHINE=x86_64 -101: CPU= -101: Test timeout computed to be: 1500 -98: + cat -98: + cc -B. -shared -o out/test/elf/x86_64/dynamic-list4/b.so out/test/elf/x86_64/dynamic-list4/a.o -Wl,--dynamic-list=out/test/elf/x86_64/dynamic-list4/dyn +95: + cc -B. -o out/test/elf/x86_64/dynamic-list/exe1 out/test/elf/x86_64/dynamic-list/a.o -Wl,-dynamic-list=out/test/elf/x86_64/dynamic-list/dyn 90: + grep -Fq 'Shared library: [libfoo]' 90: + readelf --dynamic out/test/elf/x86_64/dt-needed/exe -100: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/emit-relocs-cpp.sh -101: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/emit-relocs-dead-sections.sh -101: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc -101: ++ export LC_ALL=C -101: ++ LC_ALL=C -101: ++ '[' -z x86_64 ']' -101: ++ '[' -z '' ']' -101: ++ TESTDIR=out/test/elf/x86_64 -101: ++ CC=cc -101: ++ CXX=c++ -101: ++ GCC=gcc -101: ++ GXX=g++ -101: ++ OBJDUMP=objdump -101: ++ OBJCOPY=objcopy -101: ++ STRIP=strip -101: ++ QEMU= -101: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' -101: ++ tlsdesc_opt=-mtls-dialect=gnu2 -101: ++ trap 'on_error $LINENO' ERR -101: ++ trap on_exit EXIT -101: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/emit-relocs-dead-sections.sh .sh -89: + cc -B. -o out/test/elf/x86_64/dt-init/exe1 out/test/elf/x86_64/dt-init/a.o out/test/elf/x86_64/dt-init/c.so 90: + cc -B. -o out/test/elf/x86_64/dt-needed/exe out/test/elf/x86_64/dt-needed/b.o -L out/test/elf/x86_64/dt-needed -lfoo -101: ++ testname=emit-relocs-dead-sections -101: ++ echo -n 'Testing emit-relocs-dead-sections ... ' -101: Testing emit-relocs-dead-sections ... ++ t=out/test/elf/x86_64/emit-relocs-dead-sections -101: ++ mkdir -p out/test/elf/x86_64/emit-relocs-dead-sections +99: + echo '.globl main; main:' +99: + cc -B. -o out/test/elf/x86_64/dynamic/exe out/test/elf/x86_64/dynamic/a.o +100: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/emit-relocs-cpp.sh 100: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 100: ++ export LC_ALL=C 100: ++ LC_ALL=C @@ -6774,39 +6767,54 @@ 100: ++ trap 'on_error $LINENO' ERR 100: ++ trap on_exit EXIT 100: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/emit-relocs-cpp.sh .sh -95: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list/exe1 +97: + cc -B. -Wl,--dynamic-list=out/test/elf/x86_64/dynamic-list3/dyn -o out/test/elf/x86_64/dynamic-list3/exe1 out/test/elf/x86_64/dynamic-list3/b.o +84: + grep -Eq 'undefined symbol: foo\(int, int\)$' out/test/elf/x86_64/demangle/log 100: ++ testname=emit-relocs-cpp 100: ++ echo -n 'Testing emit-relocs-cpp ... ' 100: Testing emit-relocs-cpp ... ++ t=out/test/elf/x86_64/emit-relocs-cpp 100: ++ mkdir -p out/test/elf/x86_64/emit-relocs-cpp -101: + '[' x86_64 = m68k ']' -101: + '[' x86_64 = sh4 ']' -101: + cat -101: + c++ -o out/test/elf/x86_64/emit-relocs-dead-sections/a.o -c -fPIC -xc++ -g -ffunction-sections - -95: + grep -q ' foo' out/test/elf/x86_64/dynamic-list/log1 +84: + cat +84: + cc -c -o out/test/elf/x86_64/demangle/b.o -xc - 100: + '[' x86_64 = arm ']' +100: + cat 100: + c++ -o out/test/elf/x86_64/emit-relocs-cpp/a.o -c -fPIC -xc++ - -96: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list2/exe -96: + grep -q ' foo' out/test/elf/x86_64/dynamic-list2/log +98: + cat +93: + cc -B. -o out/test/elf/x86_64/dynamic-dt-debug/c.so out/test/elf/x86_64/dynamic-dt-debug/b.o -shared +96: + c++ -B. -o out/test/elf/x86_64/dynamic-list2/exe out/test/elf/x86_64/dynamic-list2/a.o out/test/elf/x86_64/dynamic-list2/b.o +98: + cc -B. -shared -o out/test/elf/x86_64/dynamic-list4/b.so out/test/elf/x86_64/dynamic-list4/a.o -Wl,--dynamic-list=out/test/elf/x86_64/dynamic-list4/dyn +89: + out/test/elf/x86_64/dt-init/exe1 +91: + grep -q 'duplicate symbol:.* foo' out/test/elf/x86_64/duplicate-error-archive/log +95: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list/exe1 +89: + out/test/elf/x86_64/dt-init/exe2 +91: + on_exit +91: + echo OK +91: OK +91: + exit 0 +89: + grep -q init out/test/elf/x86_64/dt-init/log1 + 89/357 Test #91: x86_64-duplicate-error-archive ............. Passed 0.14 sec +test 101 + Start 101: x86_64-emit-relocs-dead-sections + +101: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/emit-relocs-dead-sections.sh" +101: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +101: Environment variables: +101: MACHINE=x86_64 +101: CPU= +101: Test timeout computed to be: 1500 +95: + grep -q ' foo' out/test/elf/x86_64/dynamic-list/log1 95: + grep -q ' bar' out/test/elf/x86_64/dynamic-list/log1 -99: + readelf --dynamic out/test/elf/x86_64/dynamic/exe -100: + cat 95: + cc -B. -o out/test/elf/x86_64/dynamic-list/exe2 out/test/elf/x86_64/dynamic-list/a.o -Wl,--export-dynamic-symbol-list=out/test/elf/x86_64/dynamic-list/dyn -96: + grep -q ' bar' out/test/elf/x86_64/dynamic-list2/log +78: + out/test/elf/x86_64/defsym-lto/exe +78: + grep -q '^OK$' +78: + on_exit +78: + echo OK +78: OK +78: + exit 0 +99: + readelf --dynamic out/test/elf/x86_64/dynamic/exe 99: + grep -Eq 'Shared library:.*\blibc\b' out/test/elf/x86_64/dynamic/log -96: + cat -99: + readelf -W --dyn-syms --use-dynamic out/test/elf/x86_64/dynamic/exe -96: + cc -B. -o out/test/elf/x86_64/dynamic-list2/exe1 out/test/elf/x86_64/dynamic-list2/a.o out/test/elf/x86_64/dynamic-list2/b.o -Wl,-dynamic-list=out/test/elf/x86_64/dynamic-list2/dyn -97: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list3/exe1 -99: + grep -Eq 'FUNC\s+GLOBAL\s+DEFAULT.*UND\s+__libc_start_main' out/test/elf/x86_64/dynamic/log2 -97: + grep -q ' xyz' out/test/elf/x86_64/dynamic-list3/log1 -84: + grep -q 'undefined symbol: Pi$' out/test/elf/x86_64/demangle/log -84: + on_exit -89: + cc -B. -o out/test/elf/x86_64/dt-init/exe2 out/test/elf/x86_64/dt-init/a.o out/test/elf/x86_64/dt-init/d.so -84: + echo OK -84: OK -84: + exit 0 - 90/357 Test #84: x86_64-demangle ............................ Passed 0.42 sec +89: + grep -q fini out/test/elf/x86_64/dt-init/log1 +89: + grep -q init out/test/elf/x86_64/dt-init/log2 + 90/357 Test #78: x86_64-defsym-lto .......................... Passed 0.39 sec test 102 Start 102: x86_64-emit-relocs @@ -6816,15 +6824,61 @@ 102: MACHINE=x86_64 102: CPU= 102: Test timeout computed to be: 1500 +99: + readelf -W --dyn-syms --use-dynamic out/test/elf/x86_64/dynamic/exe +99: + grep -Eq 'FUNC\s+GLOBAL\s+DEFAULT.*UND\s+__libc_start_main' out/test/elf/x86_64/dynamic/log2 +99: + cat +99: + cc -c -fPIC -o out/test/elf/x86_64/dynamic/b.o -xc - +89: + grep -q fini out/test/elf/x86_64/dt-init/log2 +89: + on_exit +89: + echo OK +89: OK +89: + exit 0 90: + grep -Fq 'Shared library: [libfoo]' 90: + readelf --dynamic out/test/elf/x86_64/dt-needed/exe -98: + cat -98: + cc -o out/test/elf/x86_64/dynamic-list4/c.o -c -xc - -fPIC +90: + cc -B. -o out/test/elf/x86_64/dt-needed/exe out/test/elf/x86_64/dt-needed/b.o out/test/elf/x86_64/dt-needed/libbar.so +101: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/emit-relocs-dead-sections.sh +101: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc +101: ++ export LC_ALL=C +101: ++ LC_ALL=C +101: ++ '[' -z x86_64 ']' +101: ++ '[' -z '' ']' +101: ++ TESTDIR=out/test/elf/x86_64 +101: ++ CC=cc +101: ++ CXX=c++ +101: ++ GCC=gcc +101: ++ GXX=g++ +101: ++ OBJDUMP=objdump +101: ++ OBJCOPY=objcopy +101: ++ STRIP=strip +101: ++ QEMU= +101: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' +101: ++ tlsdesc_opt=-mtls-dialect=gnu2 +101: ++ trap 'on_error $LINENO' ERR +101: ++ trap on_exit EXIT +101: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/emit-relocs-dead-sections.sh .sh +101: ++ testname=emit-relocs-dead-sections +101: ++ echo -n 'Testing emit-relocs-dead-sections ... ' +101: Testing emit-relocs-dead-sections ... ++ t=out/test/elf/x86_64/emit-relocs-dead-sections +101: ++ mkdir -p out/test/elf/x86_64/emit-relocs-dead-sections +93: + readelf --dynamic out/test/elf/x86_64/dynamic-dt-debug/c.so + 91/357 Test #89: x86_64-dt-init ............................. Passed 0.25 sec +test 103 + Start 103: x86_64-empty-file + +103: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/empty-file.sh" +103: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +103: Environment variables: +103: MACHINE=x86_64 +103: CPU= +103: Test timeout computed to be: 1500 +101: + '[' x86_64 = m68k ']' +101: + '[' x86_64 = sh4 ']' +101: + c++ -o out/test/elf/x86_64/emit-relocs-dead-sections/a.o -c -fPIC -xc++ -g -ffunction-sections - +93: + grep -Fq '(DEBUG)' out/test/elf/x86_64/dynamic-dt-debug/log 102: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/emit-relocs.sh 102: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 102: ++ export LC_ALL=C 102: ++ LC_ALL=C -99: + cat 102: ++ '[' -z x86_64 ']' 102: ++ '[' -z '' ']' 102: ++ TESTDIR=out/test/elf/x86_64 @@ -6841,65 +6895,34 @@ 102: ++ trap 'on_error $LINENO' ERR 102: ++ trap on_exit EXIT 102: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/emit-relocs.sh .sh -99: + cc -c -fPIC -o out/test/elf/x86_64/dynamic/b.o -xc - -97: + grep -q ' foobarzx' out/test/elf/x86_64/dynamic-list3/log1 102: ++ testname=emit-relocs 102: ++ echo -n 'Testing emit-relocs ... ' 102: Testing emit-relocs ... ++ t=out/test/elf/x86_64/emit-relocs 102: ++ mkdir -p out/test/elf/x86_64/emit-relocs -78: + cc -flto -fPIC -o out/test/elf/x86_64/defsym-lto/a.o -c -xc - -78: + cat -90: + cc -B. -o out/test/elf/x86_64/dt-needed/exe out/test/elf/x86_64/dt-needed/b.o out/test/elf/x86_64/dt-needed/libbar.so -97: + grep -q ' foobarcx' out/test/elf/x86_64/dynamic-list3/log1 -95: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list/exe2 +97: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list3/exe1 +97: + grep -q ' xyz' out/test/elf/x86_64/dynamic-list3/log1 +84: + cc -B. -o out/test/elf/x86_64/demangle/exe out/test/elf/x86_64/demangle/b.o -Wl,-demangle +101: + cat 102: + cat -102: + cc -o out/test/elf/x86_64/emit-relocs/a.o -c -fPIC -xc - -97: + grep -q ' foo123bar456bx' out/test/elf/x86_64/dynamic-list3/log1 -96: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list2/exe1 -95: + grep -q ' foo' out/test/elf/x86_64/dynamic-list/log2 -97: + grep -q ' foo123bar456c' out/test/elf/x86_64/dynamic-list3/log1 -96: + grep -q ' foo' out/test/elf/x86_64/dynamic-list2/log1 -97: + grep -q ' foo123bar456x' out/test/elf/x86_64/dynamic-list3/log1 -95: + grep -q ' bar' out/test/elf/x86_64/dynamic-list/log2 -97: + cc -B. -Wl,--export-dynamic-symbol-list=out/test/elf/x86_64/dynamic-list3/dyn -o out/test/elf/x86_64/dynamic-list3/exe2 out/test/elf/x86_64/dynamic-list3/b.o -95: + cc -B. -o out/test/elf/x86_64/dynamic-list/exe3 out/test/elf/x86_64/dynamic-list/a.o -Wl,--export-dynamic-symbol=foo,--export-dynamic-symbol=bar -96: + grep -q ' bar' out/test/elf/x86_64/dynamic-list2/log1 -96: + grep -q ' _Z3bazi' out/test/elf/x86_64/dynamic-list2/log1 -89: + out/test/elf/x86_64/dt-init/exe1 -96: + cc -B. -o out/test/elf/x86_64/dynamic-list2/exe2 out/test/elf/x86_64/dynamic-list2/a.o out/test/elf/x86_64/dynamic-list2/b.o -Wl,--export-dynamic-symbol-list=out/test/elf/x86_64/dynamic-list2/dyn -89: + out/test/elf/x86_64/dt-init/exe2 -89: + grep -q init out/test/elf/x86_64/dt-init/log1 -90: + readelf --dynamic out/test/elf/x86_64/dt-needed/exe -90: + grep -Eq 'Shared library: \[.*dt-needed/libbar\.so\]' -90: + cc -B. -o out/test/elf/x86_64/dt-needed/exe out/test/elf/x86_64/dt-needed/b.o -Lout/test/elf/x86_64/dt-needed -lbar -89: + grep -q fini out/test/elf/x86_64/dt-init/log1 -89: + grep -q init out/test/elf/x86_64/dt-init/log2 -89: + grep -q fini out/test/elf/x86_64/dt-init/log2 -97: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list3/exe2 -89: + on_exit -89: + echo OK -89: OK -89: + exit 0 -95: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list/exe3 - 91/357 Test #89: x86_64-dt-init ............................. Passed 0.46 sec -test 103 - Start 103: x86_64-empty-file - -103: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/empty-file.sh" -103: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -103: Environment variables: -103: MACHINE=x86_64 -103: CPU= -103: Test timeout computed to be: 1500 -97: + grep -q ' xyz' out/test/elf/x86_64/dynamic-list3/log2 -95: + grep -q ' foo' out/test/elf/x86_64/dynamic-list/log3 +97: + grep -q ' foobarzx' out/test/elf/x86_64/dynamic-list3/log1 103: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/empty-file.sh -97: + grep -q ' foobarzx' out/test/elf/x86_64/dynamic-list3/log2 -96: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list2/exe2 +93: + on_exit +93: + echo OK +93: OK +93: + exit 0 + 92/357 Test #93: x86_64-dynamic-dt-debug .................... Passed 0.15 sec +test 104 + Start 104: x86_64-empty-input + +104: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/empty-input.sh" +104: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +104: Environment variables: +104: MACHINE=x86_64 +104: CPU= +104: Test timeout computed to be: 1500 103: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 103: ++ export LC_ALL=C 103: ++ LC_ALL=C -95: + grep -q ' bar' out/test/elf/x86_64/dynamic-list/log3 103: ++ '[' -z x86_64 ']' 103: ++ '[' -z '' ']' 103: ++ TESTDIR=out/test/elf/x86_64 @@ -6915,40 +6938,30 @@ 103: ++ tlsdesc_opt=-mtls-dialect=gnu2 103: ++ trap 'on_error $LINENO' ERR 103: ++ trap on_exit EXIT -96: + grep -q ' foo' out/test/elf/x86_64/dynamic-list2/log2 -95: + on_exit -95: + echo OK -95: OK -95: + exit 0 - 92/357 Test #95: x86_64-dynamic-list ........................ Passed 0.38 sec -test 104 - Start 104: x86_64-empty-input - -104: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/empty-input.sh" -104: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -104: Environment variables: -104: MACHINE=x86_64 -104: CPU= -104: Test timeout computed to be: 1500 103: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/empty-file.sh .sh 103: ++ testname=empty-file 103: ++ echo -n 'Testing empty-file ... ' 103: Testing empty-file ... ++ t=out/test/elf/x86_64/empty-file 103: ++ mkdir -p out/test/elf/x86_64/empty-file -97: + grep -q ' foobarcx' out/test/elf/x86_64/dynamic-list3/log2 -96: + grep -q ' bar' out/test/elf/x86_64/dynamic-list2/log2 -97: + grep -q ' foo123bar456bx' out/test/elf/x86_64/dynamic-list3/log2 +103: + cat +98: + cc -o out/test/elf/x86_64/dynamic-list4/c.o -c -xc - -fPIC +98: + cat +97: + grep -q ' foobarcx' out/test/elf/x86_64/dynamic-list3/log1 +97: + grep -q ' foo123bar456bx' out/test/elf/x86_64/dynamic-list3/log1 +97: + grep -q ' foo123bar456c' out/test/elf/x86_64/dynamic-list3/log1 +102: + cc -o out/test/elf/x86_64/emit-relocs/a.o -c -fPIC -xc - +96: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list2/exe +96: + grep -q ' foo' out/test/elf/x86_64/dynamic-list2/log 104: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/empty-input.sh -97: + grep -q ' foo123bar456c' out/test/elf/x86_64/dynamic-list3/log2 +103: + cc -o out/test/elf/x86_64/empty-file/a.o -c -xc - +100: + c++ -B. -o out/test/elf/x86_64/emit-relocs-cpp/exe out/test/elf/x86_64/emit-relocs-cpp/a.o -Wl,-emit-relocs +97: + grep -q ' foo123bar456x' out/test/elf/x86_64/dynamic-list3/log1 +96: + grep -q ' bar' out/test/elf/x86_64/dynamic-list2/log 104: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 104: ++ export LC_ALL=C 104: ++ LC_ALL=C 104: ++ '[' -z x86_64 ']' 104: ++ '[' -z '' ']' -103: + cat -103: + cc -o out/test/elf/x86_64/empty-file/a.o -c -xc - -90: + readelf --dynamic out/test/elf/x86_64/dt-needed/exe -90: + grep -Fq 'Shared library: [libbar.so]' 104: ++ TESTDIR=out/test/elf/x86_64 104: ++ CC=cc 104: ++ CXX=c++ @@ -6958,18 +6971,33 @@ 104: ++ OBJCOPY=objcopy 104: ++ STRIP=strip 104: ++ QEMU= +97: + cc -B. -Wl,--export-dynamic-symbol-list=out/test/elf/x86_64/dynamic-list3/dyn -o out/test/elf/x86_64/dynamic-list3/exe2 out/test/elf/x86_64/dynamic-list3/b.o 104: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 104: ++ tlsdesc_opt=-mtls-dialect=gnu2 104: ++ trap 'on_error $LINENO' ERR 104: ++ trap on_exit EXIT -96: + grep -q ' _Z3bazi' out/test/elf/x86_64/dynamic-list2/log2 -97: + grep -q ' foo123bar456x' out/test/elf/x86_64/dynamic-list3/log2 -90: + on_exit -90: + echo OK -90: OK -90: + exit 0 +95: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list/exe2 +96: + cat +96: + cc -B. -o out/test/elf/x86_64/dynamic-list2/exe1 out/test/elf/x86_64/dynamic-list2/a.o out/test/elf/x86_64/dynamic-list2/b.o -Wl,-dynamic-list=out/test/elf/x86_64/dynamic-list2/dyn 104: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/empty-input.sh .sh - 93/357 Test #90: x86_64-dt-needed ........................... Passed 0.48 sec +95: + grep -q ' foo' out/test/elf/x86_64/dynamic-list/log2 +104: ++ testname=empty-input +104: ++ echo -n 'Testing empty-input ... ' +104: Testing empty-input ... ++ t=out/test/elf/x86_64/empty-input +104: ++ mkdir -p out/test/elf/x86_64/empty-input +95: + grep -q ' bar' out/test/elf/x86_64/dynamic-list/log2 +104: + rm -f out/test/elf/x86_64/empty-input/a.o +90: + readelf --dynamic out/test/elf/x86_64/dt-needed/exe +95: + cc -B. -o out/test/elf/x86_64/dynamic-list/exe3 out/test/elf/x86_64/dynamic-list/a.o -Wl,--export-dynamic-symbol=foo,--export-dynamic-symbol=bar +90: + grep -Eq 'Shared library: \[.*dt-needed/libbar\.so\]' +104: + touch out/test/elf/x86_64/empty-input/a.o +90: + cc -B. -o out/test/elf/x86_64/dt-needed/exe out/test/elf/x86_64/dt-needed/b.o -Lout/test/elf/x86_64/dt-needed -lbar +104: + cc -B. -o out/test/elf/x86_64/empty-input/exe out/test/elf/x86_64/empty-input/a.o +99: + on_exit +99: + echo OK +99: OK +99: + exit 0 + 93/357 Test #99: x86_64-dynamic ............................. Passed 0.09 sec test 105 Start 105: x86_64-empty-version @@ -6979,41 +7007,6 @@ 105: MACHINE=x86_64 105: CPU= 105: Test timeout computed to be: 1500 -104: ++ testname=empty-input -104: ++ echo -n 'Testing empty-input ... ' -104: Testing empty-input ... ++ t=out/test/elf/x86_64/empty-input -104: ++ mkdir -p out/test/elf/x86_64/empty-input -97: + on_exit -97: + echo OK -97: OK -97: + exit 0 -96: + on_exit -96: + echo OK -96: OK -96: + exit 0 - 94/357 Test #96: x86_64-dynamic-list2 ....................... Passed 0.38 sec -test 106 - Start 106: x86_64-entry - -106: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/entry.sh" -106: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -106: Environment variables: -106: MACHINE=x86_64 -106: CPU= -106: Test timeout computed to be: 1500 - 95/357 Test #97: x86_64-dynamic-list3 ....................... Passed 0.31 sec -test 107 - Start 107: x86_64-exception-multiple-ehframe - -107: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/exception-multiple-ehframe.sh" -107: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -107: Environment variables: -107: MACHINE=x86_64 -107: CPU= -107: Test timeout computed to be: 1500 -104: + rm -f out/test/elf/x86_64/empty-input/a.o -104: + touch out/test/elf/x86_64/empty-input/a.o -104: + cc -B. -o out/test/elf/x86_64/empty-input/exe out/test/elf/x86_64/empty-input/a.o 105: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/empty-version.sh 105: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 105: ++ export LC_ALL=C @@ -7038,6 +7031,28 @@ 105: ++ echo -n 'Testing empty-version ... ' 105: Testing empty-version ... ++ t=out/test/elf/x86_64/empty-version 105: ++ mkdir -p out/test/elf/x86_64/empty-version +84: + grep -q 'undefined symbol: Pi$' out/test/elf/x86_64/demangle/log +84: + on_exit +84: + echo OK +84: OK +84: + exit 0 + 94/357 Test #84: x86_64-demangle ............................ Passed 0.36 sec +test 106 + Start 106: x86_64-entry + +106: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/entry.sh" +106: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +106: Environment variables: +106: MACHINE=x86_64 +106: CPU= +106: Test timeout computed to be: 1500 +103: + rm -f out/test/elf/x86_64/empty-file/b.script +98: + cc -B. -shared -o out/test/elf/x86_64/dynamic-list4/d.so out/test/elf/x86_64/dynamic-list4/c.o +103: + touch out/test/elf/x86_64/empty-file/b.script +102: + cc -B. -o out/test/elf/x86_64/emit-relocs/exe out/test/elf/x86_64/emit-relocs/a.o -Wl,-emit-relocs +96: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list2/exe1 +103: + cc -B. -o out/test/elf/x86_64/empty-file/exe out/test/elf/x86_64/empty-file/a.o -Wl,--version-script,out/test/elf/x86_64/empty-file/b.script +105: + cc -fPIC -c -o out/test/elf/x86_64/empty-version/a.o -xc - 106: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/entry.sh 106: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 106: ++ export LC_ALL=C @@ -7057,12 +7072,43 @@ 106: ++ tlsdesc_opt=-mtls-dialect=gnu2 106: ++ trap 'on_error $LINENO' ERR 106: ++ trap on_exit EXIT +105: + cat 106: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/entry.sh .sh -107: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/exception-multiple-ehframe.sh 106: ++ testname=entry 106: ++ echo -n 'Testing entry ... ' 106: Testing entry ... ++ t=out/test/elf/x86_64/entry 106: ++ mkdir -p out/test/elf/x86_64/entry +100: + out/test/elf/x86_64/emit-relocs-cpp/exe +100: + grep -q 'Hello world' +106: + '[' x86_64 = ppc64 ']' +106: + cat +106: + cc -o out/test/elf/x86_64/entry/a.o -c -x assembler - +96: + grep -q ' foo' out/test/elf/x86_64/dynamic-list2/log1 +104: + grep -q 'unknown file type' out/test/elf/x86_64/empty-input/log +104: + on_exit +104: + echo OK +104: OK +104: + exit 0 +100: + grep -Eq 'rela?\.text' +100: + readelf -SW out/test/elf/x86_64/emit-relocs-cpp/exe + 95/357 Test #104: x86_64-empty-input ......................... Passed 0.05 sec +test 107 + Start 107: x86_64-exception-multiple-ehframe + +107: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/exception-multiple-ehframe.sh" +107: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +107: Environment variables: +107: MACHINE=x86_64 +107: CPU= +107: Test timeout computed to be: 1500 +96: + grep -q ' bar' out/test/elf/x86_64/dynamic-list2/log1 +106: + cat +106: + cc -o out/test/elf/x86_64/entry/b.o -c -xc - +96: + grep -q ' _Z3bazi' out/test/elf/x86_64/dynamic-list2/log1 +97: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list3/exe2 +107: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/exception-multiple-ehframe.sh +100: + grep -Eq 'rela?\.eh_frame' +96: + cc -B. -o out/test/elf/x86_64/dynamic-list2/exe2 out/test/elf/x86_64/dynamic-list2/a.o out/test/elf/x86_64/dynamic-list2/b.o -Wl,--export-dynamic-symbol-list=out/test/elf/x86_64/dynamic-list2/dyn 107: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 107: ++ export LC_ALL=C 107: ++ LC_ALL=C @@ -7082,25 +7128,27 @@ 107: ++ trap 'on_error $LINENO' ERR 107: ++ trap on_exit EXIT 107: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/exception-multiple-ehframe.sh .sh -105: + cat -105: + cc -fPIC -c -o out/test/elf/x86_64/empty-version/a.o -xc - -106: + '[' x86_64 = ppc64 ']' +100: + readelf -SW out/test/elf/x86_64/emit-relocs-cpp/exe 107: ++ testname=exception-multiple-ehframe 107: ++ echo -n 'Testing exception-multiple-ehframe ... ' 107: Testing exception-multiple-ehframe ... ++ t=out/test/elf/x86_64/exception-multiple-ehframe 107: ++ mkdir -p out/test/elf/x86_64/exception-multiple-ehframe -106: + cc -o out/test/elf/x86_64/entry/a.o -c -x assembler - -106: + cat -107: + grep -q __tsan_init +97: + grep -q ' xyz' out/test/elf/x86_64/dynamic-list3/log2 +95: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list/exe3 107: + nm mold -106: + cat -106: + cc -o out/test/elf/x86_64/entry/b.o -c -xc - -104: + grep -q 'unknown file type' out/test/elf/x86_64/empty-input/log -104: + on_exit -104: + echo OK -104: OK -104: + exit 0 - 96/357 Test #104: x86_64-empty-input ......................... Passed 0.07 sec +90: + readelf --dynamic out/test/elf/x86_64/dt-needed/exe +107: + grep -q __tsan_init +90: + grep -Fq 'Shared library: [libbar.so]' +100: + on_exit +100: + echo OK +100: OK +100: + exit 0 +97: + grep -q ' foobarzx' out/test/elf/x86_64/dynamic-list3/log2 +90: + on_exit +90: + echo OK +90: OK +90: + exit 0 + 96/357 Test #100: x86_64-emit-relocs-cpp ..................... Passed 0.11 sec test 108 Start 108: x86_64-exception @@ -7110,6 +7158,27 @@ 108: MACHINE=x86_64 108: CPU= 108: Test timeout computed to be: 1500 + 97/357 Test #90: x86_64-dt-needed ........................... Passed 0.32 sec +test 109 + Start 109: x86_64-exclude-libs + +109: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/exclude-libs.sh" +109: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +109: Environment variables: +109: MACHINE=x86_64 +109: CPU= +109: Test timeout computed to be: 1500 +98: + cat +98: + cc -o out/test/elf/x86_64/dynamic-list4/e.o -c -xc - +97: + grep -q ' foobarcx' out/test/elf/x86_64/dynamic-list3/log2 +97: + grep -q ' foo123bar456bx' out/test/elf/x86_64/dynamic-list3/log2 +97: + grep -q ' foo123bar456c' out/test/elf/x86_64/dynamic-list3/log2 +97: + grep -q ' foo123bar456x' out/test/elf/x86_64/dynamic-list3/log2 +97: + on_exit +97: + echo OK +97: OK +97: + exit 0 +95: + grep -q ' foo' out/test/elf/x86_64/dynamic-list/log3 108: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/exception.sh 108: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 108: ++ export LC_ALL=C @@ -7134,46 +7203,7 @@ 108: ++ echo -n 'Testing exception ... ' 108: Testing exception ... ++ t=out/test/elf/x86_64/exception 108: ++ mkdir -p out/test/elf/x86_64/exception -108: + '[' x86_64 = m68k ']' -108: + '[' x86_64 = sh4 ']' -108: + static= -108: + test_cflags -static -93: + cc -B. -o out/test/elf/x86_64/dynamic-dt-debug/c.so out/test/elf/x86_64/dynamic-dt-debug/b.o -shared -108: + echo 'int main() {}' -108: + cc -static -o /dev/null -xc - -93: + readelf --dynamic out/test/elf/x86_64/dynamic-dt-debug/c.so -107: + '[' x86_64 = m68k ']' -107: + '[' x86_64 = sh4 ']' -107: + cat -107: + c++ -o out/test/elf/x86_64/exception-multiple-ehframe/a.o -c -xc++ - -78: + cc -B. -flto -o out/test/elf/x86_64/defsym-lto/exe out/test/elf/x86_64/defsym-lto/a.o -Wl,-defsym,live_func=dead_func -102: + cc -B. -o out/test/elf/x86_64/emit-relocs/exe out/test/elf/x86_64/emit-relocs/a.o -Wl,-emit-relocs -105: + cc -B. -shared -o out/test/elf/x86_64/empty-version/b.so out/test/elf/x86_64/empty-version/a.o -103: + rm -f out/test/elf/x86_64/empty-file/b.script -103: + touch out/test/elf/x86_64/empty-file/b.script -100: + c++ -B. -o out/test/elf/x86_64/emit-relocs-cpp/exe out/test/elf/x86_64/emit-relocs-cpp/a.o -Wl,-emit-relocs -99: + on_exit -99: + echo OK -99: OK -99: + exit 0 - 97/357 Test #99: x86_64-dynamic ............................. Passed 0.49 sec -test 109 - Start 109: x86_64-exclude-libs - -109: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/exclude-libs.sh" -109: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -109: Environment variables: -109: MACHINE=x86_64 -109: CPU= -109: Test timeout computed to be: 1500 -103: + cc -B. -o out/test/elf/x86_64/empty-file/exe out/test/elf/x86_64/empty-file/a.o -Wl,--version-script,out/test/elf/x86_64/empty-file/b.script -93: + grep -Fq '(DEBUG)' out/test/elf/x86_64/dynamic-dt-debug/log -93: + on_exit -93: + echo OK -93: OK -93: + exit 0 -98: + cc -B. -shared -o out/test/elf/x86_64/dynamic-list4/d.so out/test/elf/x86_64/dynamic-list4/c.o - 98/357 Test #93: x86_64-dynamic-dt-debug .................... Passed 0.68 sec + 98/357 Test #97: x86_64-dynamic-list3 ....................... Passed 0.17 sec test 110 Start 110: x86_64-exclude-libs2 @@ -7183,26 +7213,29 @@ 110: MACHINE=x86_64 110: CPU= 110: Test timeout computed to be: 1500 +108: + '[' x86_64 = m68k ']' +108: + '[' x86_64 = sh4 ']' +108: + static= +108: + test_cflags -static +108: + echo 'int main() {}' +103: + grep -q 'Hello world' +103: + out/test/elf/x86_64/empty-file/exe +108: + cc -static -o /dev/null -xc - +103: + on_exit +103: + echo OK +103: OK +103: + exit 0 109: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/exclude-libs.sh -109: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc -109: ++ export LC_ALL=C -109: ++ LC_ALL=C -109: ++ '[' -z x86_64 ']' -109: ++ '[' -z '' ']' -109: ++ TESTDIR=out/test/elf/x86_64 -109: ++ CC=cc -109: ++ CXX=c++ -109: ++ GCC=gcc -109: ++ GXX=g++ -109: ++ OBJDUMP=objdump -109: ++ OBJCOPY=objcopy -109: ++ STRIP=strip -109: ++ QEMU= -109: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' -109: ++ tlsdesc_opt=-mtls-dialect=gnu2 -109: ++ trap 'on_error $LINENO' ERR -109: ++ trap on_exit EXIT -109: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/exclude-libs.sh .sh + 99/357 Test #103: x86_64-empty-file .......................... Passed 0.08 sec +test 111 + Start 111: x86_64-exclude-libs3 + +111: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/exclude-libs3.sh" +111: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +111: Environment variables: +111: MACHINE=x86_64 +111: CPU= +111: Test timeout computed to be: 1500 110: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/exclude-libs2.sh 110: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 110: ++ export LC_ALL=C @@ -7222,57 +7255,38 @@ 110: ++ tlsdesc_opt=-mtls-dialect=gnu2 110: ++ trap 'on_error $LINENO' ERR 110: ++ trap on_exit EXIT +110: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/exclude-libs2.sh .sh +109: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc +109: ++ export LC_ALL=C +109: ++ LC_ALL=C +109: ++ '[' -z x86_64 ']' +109: ++ '[' -z '' ']' +109: ++ TESTDIR=out/test/elf/x86_64 +109: ++ CC=cc +109: ++ CXX=c++ +109: ++ GCC=gcc +109: ++ GXX=g++ +109: ++ OBJDUMP=objdump +109: ++ OBJCOPY=objcopy +109: ++ STRIP=strip +109: ++ QEMU= +109: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' +109: ++ tlsdesc_opt=-mtls-dialect=gnu2 +109: ++ trap 'on_error $LINENO' ERR +109: ++ trap on_exit EXIT +109: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/exclude-libs.sh .sh 109: ++ testname=exclude-libs 109: ++ echo -n 'Testing exclude-libs ... ' 109: Testing exclude-libs ... ++ t=out/test/elf/x86_64/exclude-libs 109: ++ mkdir -p out/test/elf/x86_64/exclude-libs -110: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/exclude-libs2.sh .sh -101: + cat +95: + grep -q ' bar' out/test/elf/x86_64/dynamic-list/log3 +95: + on_exit +95: + echo OK +95: OK +95: + exit 0 110: ++ testname=exclude-libs2 110: ++ echo -n 'Testing exclude-libs2 ... ' -110: Testing exclude-libs2 ... ++ t=out/test/elf/x86_64/exclude-libs2 -110: ++ mkdir -p out/test/elf/x86_64/exclude-libs2 -101: + c++ -o out/test/elf/x86_64/emit-relocs-dead-sections/b.o -c -fPIC -xc++ -g -ffunction-sections - -109: + cat -109: + cc -fPIC -xc -c -o out/test/elf/x86_64/exclude-libs/a.o - -102: + out/test/elf/x86_64/emit-relocs/exe -110: + cat -102: + grep -q 'Hello world' -110: + cc -x assembler -c -o out/test/elf/x86_64/exclude-libs2/a.o - -102: + readelf -S out/test/elf/x86_64/emit-relocs/exe -102: + grep -Eq 'rela?\.text' -100: + out/test/elf/x86_64/emit-relocs-cpp/exe -110: + rm -f out/test/elf/x86_64/exclude-libs2/b.a -110: + ar crs out/test/elf/x86_64/exclude-libs2/b.a out/test/elf/x86_64/exclude-libs2/a.o -100: + grep -q 'Hello world' -102: + on_exit -102: + echo OK -102: OK -102: + exit 0 - 99/357 Test #102: x86_64-emit-relocs ......................... Passed 0.42 sec -test 111 - Start 111: x86_64-exclude-libs3 - -111: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/exclude-libs3.sh" -111: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -111: Environment variables: -111: MACHINE=x86_64 -111: CPU= -111: Test timeout computed to be: 1500 -100: + readelf -SW out/test/elf/x86_64/emit-relocs-cpp/exe -100: + grep -Eq 'rela?\.text' -105: + readelf --dyn-syms out/test/elf/x86_64/empty-version/b.so -105: + grep -q ' bar1' -100: + readelf -SW out/test/elf/x86_64/emit-relocs-cpp/exe -100: + grep -Eq 'rela?\.eh_frame' -100: + on_exit -100: + echo OK -100: OK -100: + exit 0 -98: + cat -98: + cc -o out/test/elf/x86_64/dynamic-list4/e.o -c -xc - -111: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/exclude-libs3.sh -100/357 Test #100: x86_64-emit-relocs-cpp ..................... Passed 0.50 sec +100/357 Test #95: x86_64-dynamic-list ........................ Passed 0.22 sec test 112 Start 112: x86_64-execstack @@ -7282,12 +7296,11 @@ 112: MACHINE=x86_64 112: CPU= 112: Test timeout computed to be: 1500 -105: + grep -q ' bar2' -105: + readelf --dyn-syms out/test/elf/x86_64/empty-version/b.so -105: + on_exit -105: + echo OK -105: OK -105: + exit 0 +110: Testing exclude-libs2 ... ++ t=out/test/elf/x86_64/exclude-libs2 +110: ++ mkdir -p out/test/elf/x86_64/exclude-libs2 +110: + cc -x assembler -c -o out/test/elf/x86_64/exclude-libs2/a.o - +110: + cat +111: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/exclude-libs3.sh 111: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 111: ++ export LC_ALL=C 111: ++ LC_ALL=C @@ -7306,27 +7319,20 @@ 111: ++ tlsdesc_opt=-mtls-dialect=gnu2 111: ++ trap 'on_error $LINENO' ERR 111: ++ trap on_exit EXIT -101/357 Test #105: x86_64-empty-version ....................... Passed 0.31 sec -test 113 - Start 113: x86_64-execute-only - -113: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/execute-only.sh" -113: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -113: Environment variables: -113: MACHINE=x86_64 -113: CPU= -113: Test timeout computed to be: 1500 111: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/exclude-libs3.sh .sh 111: ++ testname=exclude-libs3 111: ++ echo -n 'Testing exclude-libs3 ... ' 111: Testing exclude-libs3 ... ++ t=out/test/elf/x86_64/exclude-libs3 111: ++ mkdir -p out/test/elf/x86_64/exclude-libs3 -103: + out/test/elf/x86_64/empty-file/exe -103: + grep -q 'Hello world' -103: + on_exit -103: + echo OK -103: OK -103: + exit 0 +105: + cc -B. -shared -o out/test/elf/x86_64/empty-version/b.so out/test/elf/x86_64/empty-version/a.o +109: + cc -fPIC -xc -c -o out/test/elf/x86_64/exclude-libs/a.o - +109: + cat +106: + cc -B. -o out/test/elf/x86_64/entry/exe1 -Wl,-e,foo out/test/elf/x86_64/entry/a.o out/test/elf/x86_64/entry/b.o +111: + cc -fPIC -xc -c -o out/test/elf/x86_64/exclude-libs3/a.o - +111: + cat +102: + out/test/elf/x86_64/emit-relocs/exe +102: + grep -q 'Hello world' +110: + rm -f out/test/elf/x86_64/exclude-libs2/b.a 112: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/execstack.sh 112: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 112: ++ export LC_ALL=C @@ -7346,18 +7352,37 @@ 112: ++ tlsdesc_opt=-mtls-dialect=gnu2 112: ++ trap 'on_error $LINENO' ERR 112: ++ trap on_exit EXIT -113: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/execute-only.sh -102/357 Test #103: x86_64-empty-file .......................... Passed 0.35 sec -test 114 - Start 114: x86_64-export-dynamic +110: + ar crs out/test/elf/x86_64/exclude-libs2/b.a out/test/elf/x86_64/exclude-libs2/a.o +112: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/execstack.sh .sh +112: ++ testname=execstack +112: ++ echo -n 'Testing execstack ... ' +112: Testing execstack ... ++ t=out/test/elf/x86_64/execstack +112: ++ mkdir -p out/test/elf/x86_64/execstack +102: + readelf -S out/test/elf/x86_64/emit-relocs/exe +102: + grep -Eq 'rela?\.text' +110: + cat +110: + cc -xc -c -o out/test/elf/x86_64/exclude-libs2/c.o - +102: + on_exit +102: + echo OK +102: OK +102: + exit 0 +101/357 Test #102: x86_64-emit-relocs ......................... Passed 0.11 sec +test 113 + Start 113: x86_64-execute-only -114: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/export-dynamic.sh" -114: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -114: Environment variables: -114: MACHINE=x86_64 -114: CPU= -114: Test timeout computed to be: 1500 -111: + cat +113: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/execute-only.sh" +113: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +113: Environment variables: +113: MACHINE=x86_64 +113: CPU= +113: Test timeout computed to be: 1500 +112: + cat +112: + cc -c -xc -o out/test/elf/x86_64/execstack/a.o - +96: + readelf --dyn-syms out/test/elf/x86_64/dynamic-list2/exe2 +96: + grep -q ' foo' out/test/elf/x86_64/dynamic-list2/log2 +96: + grep -q ' bar' out/test/elf/x86_64/dynamic-list2/log2 +96: + grep -q ' _Z3bazi' out/test/elf/x86_64/dynamic-list2/log2 +113: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/execute-only.sh 113: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 113: ++ export LC_ALL=C 113: ++ LC_ALL=C @@ -7377,20 +7402,50 @@ 113: ++ trap 'on_error $LINENO' ERR 113: ++ trap on_exit EXIT 113: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/execute-only.sh .sh +98: + cc -B. -o out/test/elf/x86_64/dynamic-list4/exe1 out/test/elf/x86_64/dynamic-list4/e.o -Wl,-push-state,-no-as-needed out/test/elf/x86_64/dynamic-list4/b.so -Wl,-pop-state 113: ++ testname=execute-only 113: ++ echo -n 'Testing execute-only ... ' 113: Testing execute-only ... ++ t=out/test/elf/x86_64/execute-only 113: ++ mkdir -p out/test/elf/x86_64/execute-only +109: + cat 113: + '[' x86_64 = sparc64 ']' -112: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/execstack.sh .sh 113: + '[' x86_64 = ppc64 ']' 113: + cat -111: + cc -fPIC -xc -c -o out/test/elf/x86_64/exclude-libs3/a.o - -112: ++ testname=execstack -112: ++ echo -n 'Testing execstack ... ' -112: Testing execstack ... ++ t=out/test/elf/x86_64/execstack -112: ++ mkdir -p out/test/elf/x86_64/execstack +109: + cc -fPIC -xc -c -o out/test/elf/x86_64/exclude-libs/b.o - 113: + cc -o out/test/elf/x86_64/execute-only/a.o -c -xc - +105: + grep -q ' bar1' +105: + readelf --dyn-syms out/test/elf/x86_64/empty-version/b.so +96: + on_exit +96: + echo OK +96: OK +96: + exit 0 +102/357 Test #96: x86_64-dynamic-list2 ....................... Passed 0.23 sec +test 114 + Start 114: x86_64-export-dynamic + +114: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/export-dynamic.sh" +114: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +114: Environment variables: +114: MACHINE=x86_64 +114: CPU= +114: Test timeout computed to be: 1500 +105: + grep -q ' bar2' +105: + readelf --dyn-syms out/test/elf/x86_64/empty-version/b.so +105: + on_exit +105: + echo OK +105: OK +105: + exit 0 +103/357 Test #105: x86_64-empty-version ....................... Passed 0.08 sec +test 115 + Start 115: x86_64-export-from-exe + +115: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/export-from-exe.sh" +115: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +115: Environment variables: +115: MACHINE=x86_64 +115: CPU= +115: Test timeout computed to be: 1500 +112: + cc -B. -o out/test/elf/x86_64/execstack/exe out/test/elf/x86_64/execstack/a.o -Wl,-z,execstack 114: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/export-dynamic.sh 114: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 114: ++ export LC_ALL=C @@ -7411,69 +7466,14 @@ 114: ++ trap 'on_error $LINENO' ERR 114: ++ trap on_exit EXIT 114: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/export-dynamic.sh .sh -112: + cat +111: + rm -f out/test/elf/x86_64/exclude-libs3/b.a +111: + ar crs out/test/elf/x86_64/exclude-libs3/b.a out/test/elf/x86_64/exclude-libs3/a.o 114: ++ testname=export-dynamic 114: ++ echo -n 'Testing export-dynamic ... ' 114: Testing export-dynamic ... ++ t=out/test/elf/x86_64/export-dynamic 114: ++ mkdir -p out/test/elf/x86_64/export-dynamic -112: + cc -c -xc -o out/test/elf/x86_64/execstack/a.o - -114: + cat -114: + cc -o out/test/elf/x86_64/export-dynamic/a.o -c -x assembler - -114: + cc -shared -fPIC -o out/test/elf/x86_64/export-dynamic/b.so -xc /dev/null -107: + cat -107: + c++ -o out/test/elf/x86_64/exception-multiple-ehframe/b.o -c -xc++ - -106: + cc -B. -o out/test/elf/x86_64/entry/exe1 -Wl,-e,foo out/test/elf/x86_64/entry/a.o out/test/elf/x86_64/entry/b.o -110: + cc -xc -c -o out/test/elf/x86_64/exclude-libs2/c.o - -110: + cat -111: + rm -f out/test/elf/x86_64/exclude-libs3/b.a -111: + ar crs out/test/elf/x86_64/exclude-libs3/b.a out/test/elf/x86_64/exclude-libs3/a.o -109: + cat -109: + cc -fPIC -xc -c -o out/test/elf/x86_64/exclude-libs/b.o - -113: + cc -B. -o out/test/elf/x86_64/execute-only/exe out/test/elf/x86_64/execute-only/a.o -Wl,--execute-only -106: + readelf -e out/test/elf/x86_64/entry/exe1 -98: + cc -B. -o out/test/elf/x86_64/dynamic-list4/exe1 out/test/elf/x86_64/dynamic-list4/e.o -Wl,-push-state,-no-as-needed out/test/elf/x86_64/dynamic-list4/b.so -Wl,-pop-state -112: + cc -B. -o out/test/elf/x86_64/execstack/exe out/test/elf/x86_64/execstack/a.o -Wl,-z,execstack -106: + grep -q 'Entry point address:.*0x1000$' out/test/elf/x86_64/entry/log -106: + cc -B. -o out/test/elf/x86_64/entry/exe2 -Wl,-e,bar out/test/elf/x86_64/entry/a.o out/test/elf/x86_64/entry/b.o -107: + objcopy --rename-section .eh_frame=.eh_frame2 out/test/elf/x86_64/exception-multiple-ehframe/a.o -111: + cc -fPIC -xc -c -o out/test/elf/x86_64/exclude-libs3/c.o - -111: + cat -113: + grep -q 'Hello world' -113: + out/test/elf/x86_64/execute-only/exe -107: + ./mold -r -o out/test/elf/x86_64/exception-multiple-ehframe/c.o out/test/elf/x86_64/exception-multiple-ehframe/a.o out/test/elf/x86_64/exception-multiple-ehframe/b.o -110: + cc -B. -shared -o out/test/elf/x86_64/exclude-libs2/d.so out/test/elf/x86_64/exclude-libs2/c.o out/test/elf/x86_64/exclude-libs2/b.a -Wl,-exclude-libs=b.a -109: + rm -f out/test/elf/x86_64/exclude-libs/c.a -113: + grep -Eq 'LOAD\s.*[0-9a-f] E 0x' -113: + readelf -W --segments out/test/elf/x86_64/execute-only/exe -98: + out/test/elf/x86_64/dynamic-list4/exe1 -98: + grep -q 'foo1 bar1 baz1' -98: + cc -B. -o out/test/elf/x86_64/dynamic-list4/exe2 out/test/elf/x86_64/dynamic-list4/e.o -Wl,-push-state,-no-as-needed out/test/elf/x86_64/dynamic-list4/d.so out/test/elf/x86_64/dynamic-list4/b.so -Wl,-pop-state -109: + ar crs out/test/elf/x86_64/exclude-libs/c.a out/test/elf/x86_64/exclude-libs/a.o -112: + readelf --segments -W out/test/elf/x86_64/execstack/exe -112: + grep -q 'GNU_STACK.* RWE ' -107: + objcopy --rename-section .eh_frame2=.eh_frame out/test/elf/x86_64/exception-multiple-ehframe/c.o -113: + on_exit -113: + echo OK -113: OK -113: + exit 0 -103/357 Test #113: x86_64-execute-only ........................ Passed 0.21 sec -test 115 - Start 115: x86_64-export-from-exe - -115: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/export-from-exe.sh" -115: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -115: Environment variables: -115: MACHINE=x86_64 -115: CPU= -115: Test timeout computed to be: 1500 -112: + cc -B. -o out/test/elf/x86_64/execstack/exe out/test/elf/x86_64/execstack/a.o -Wl,-z,execstack -Wl,-z,noexecstack -108: + static=-static -108: + static='-static -pthread' -108: + cat -108: + c++ -c -o out/test/elf/x86_64/exception/b.o out/test/elf/x86_64/exception/a.cc -fPIC -106: + readelf -e out/test/elf/x86_64/entry/exe2 -114: + ./mold -o out/test/elf/x86_64/export-dynamic/exe out/test/elf/x86_64/export-dynamic/a.o out/test/elf/x86_64/export-dynamic/b.so --export-dynamic 115: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/export-from-exe.sh +110: + cc -B. -shared -o out/test/elf/x86_64/exclude-libs2/d.so out/test/elf/x86_64/exclude-libs2/c.o out/test/elf/x86_64/exclude-libs2/b.a -Wl,-exclude-libs=b.a 115: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 115: ++ export LC_ALL=C 115: ++ LC_ALL=C @@ -7497,24 +7497,37 @@ 115: ++ echo -n 'Testing export-from-exe ... ' 115: Testing export-from-exe ... ++ t=out/test/elf/x86_64/export-from-exe 115: ++ mkdir -p out/test/elf/x86_64/export-from-exe +106: + readelf -e out/test/elf/x86_64/entry/exe1 +111: + cat +111: + cc -fPIC -xc -c -o out/test/elf/x86_64/exclude-libs3/c.o - +114: + cc -o out/test/elf/x86_64/export-dynamic/a.o -c -x assembler - +114: + cat +115: + cat +115: + cc -o out/test/elf/x86_64/export-from-exe/a.o -c -xc - +106: + grep -q 'Entry point address:.*0x1000$' out/test/elf/x86_64/entry/log +106: + cc -B. -o out/test/elf/x86_64/entry/exe2 -Wl,-e,bar out/test/elf/x86_64/entry/a.o out/test/elf/x86_64/entry/b.o +113: + cc -B. -o out/test/elf/x86_64/execute-only/exe out/test/elf/x86_64/execute-only/a.o -Wl,--execute-only +109: + rm -f out/test/elf/x86_64/exclude-libs/c.a +109: + ar crs out/test/elf/x86_64/exclude-libs/c.a out/test/elf/x86_64/exclude-libs/a.o 109: + rm -f out/test/elf/x86_64/exclude-libs/d.a -110: + readelf --dyn-syms out/test/elf/x86_64/exclude-libs2/d.so -107: + cat -106: + grep -q 'Entry point address:.*0x2000$' out/test/elf/x86_64/entry/log +98: + out/test/elf/x86_64/dynamic-list4/exe1 +114: + cc -shared -fPIC -o out/test/elf/x86_64/export-dynamic/b.so -xc /dev/null +98: + grep -q 'foo1 bar1 baz1' 109: + ar crs out/test/elf/x86_64/exclude-libs/d.a out/test/elf/x86_64/exclude-libs/b.o -107: + c++ -o out/test/elf/x86_64/exception-multiple-ehframe/d.o -c -xc++ - -114: + readelf --dyn-syms out/test/elf/x86_64/export-dynamic/exe -115: + cc -o out/test/elf/x86_64/export-from-exe/a.o -c -xc - -110: + grep -Fq foo out/test/elf/x86_64/exclude-libs2/log -112: + grep -q 'GNU_STACK.* RW ' -114: + grep -Eq 'NOTYPE\s+GLOBAL DEFAULT\s+[0-9]+ bar' out/test/elf/x86_64/export-dynamic/log -115: + cat +98: + cc -B. -o out/test/elf/x86_64/dynamic-list4/exe2 out/test/elf/x86_64/dynamic-list4/e.o -Wl,-push-state,-no-as-needed out/test/elf/x86_64/dynamic-list4/d.so out/test/elf/x86_64/dynamic-list4/b.so -Wl,-pop-state 109: + cc -fPIC -xc -c -o out/test/elf/x86_64/exclude-libs/e.o - -106: + on_exit -106: + echo OK -106: OK -106: + exit 0 -104/357 Test #106: x86_64-entry ............................... Passed 0.55 sec +110: + readelf --dyn-syms out/test/elf/x86_64/exclude-libs2/d.so +111: + cc -B. -shared -o out/test/elf/x86_64/exclude-libs3/d.so out/test/elf/x86_64/exclude-libs3/c.o out/test/elf/x86_64/exclude-libs3/b.a -Wl,-exclude-libs=ALL +109: + cat +115: + cc -shared -fPIC -o out/test/elf/x86_64/export-from-exe/b.so -xc - +115: + cat +110: + grep -Fq foo out/test/elf/x86_64/exclude-libs2/log +110: + on_exit +110: + echo OK +110: OK +110: + exit 0 +112: + grep -q 'GNU_STACK.* RWE ' +104/357 Test #110: x86_64-exclude-libs2 ....................... Passed 0.10 sec test 116 Start 116: x86_64-fatal-warnings @@ -7525,13 +7538,45 @@ 116: CPU= 116: Test timeout computed to be: 1500 112: + readelf --segments -W out/test/elf/x86_64/execstack/exe -112: + cc -B. -o out/test/elf/x86_64/execstack/exe out/test/elf/x86_64/execstack/a.o -110: + on_exit -110: + echo OK -110: OK -110: + exit 0 -109: + cat -105/357 Test #110: x86_64-exclude-libs2 ....................... Passed 0.31 sec +112: + cc -B. -o out/test/elf/x86_64/execstack/exe out/test/elf/x86_64/execstack/a.o -Wl,-z,execstack -Wl,-z,noexecstack +113: + out/test/elf/x86_64/execute-only/exe +113: + grep -q 'Hello world' +113: + grep -Eq 'LOAD\s.*[0-9a-f] E 0x' +113: + readelf -W --segments out/test/elf/x86_64/execute-only/exe +107: + '[' x86_64 = m68k ']' +107: + '[' x86_64 = sh4 ']' +107: + c++ -o out/test/elf/x86_64/exception-multiple-ehframe/a.o -c -xc++ - +107: + cat +106: + readelf -e out/test/elf/x86_64/entry/exe2 +106: + grep -q 'Entry point address:.*0x2000$' out/test/elf/x86_64/entry/log +108: + static=-static +108: + static='-static -pthread' +108: + cat +116: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/fatal-warnings.sh +108: + c++ -c -o out/test/elf/x86_64/exception/b.o out/test/elf/x86_64/exception/a.cc -fPIC +113: + on_exit +113: + echo OK +113: OK +113: + exit 0 +116: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc +116: ++ export LC_ALL=C +116: ++ LC_ALL=C +116: ++ '[' -z x86_64 ']' +116: ++ '[' -z '' ']' +116: ++ TESTDIR=out/test/elf/x86_64 +116: ++ CC=cc +116: ++ CXX=c++ +116: ++ GCC=gcc +116: ++ GXX=g++ +116: ++ OBJDUMP=objdump +116: ++ OBJCOPY=objcopy +116: ++ STRIP=strip +116: ++ QEMU= +116: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' +116: ++ tlsdesc_opt=-mtls-dialect=gnu2 +116: ++ trap 'on_error $LINENO' ERR +116: ++ trap on_exit EXIT +105/357 Test #113: x86_64-execute-only ........................ Passed 0.08 sec test 117 Start 117: x86_64-filler @@ -7541,12 +7586,18 @@ 117: MACHINE=x86_64 117: CPU= 117: Test timeout computed to be: 1500 -114: + grep -Eq 'NOTYPE\s+GLOBAL DEFAULT\s+[0-9]+ _start' out/test/elf/x86_64/export-dynamic/log -114: + on_exit -114: + echo OK -114: OK -114: + exit 0 -106/357 Test #114: x86_64-export-dynamic ...................... Passed 0.25 sec +116: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/fatal-warnings.sh .sh +116: ++ testname=fatal-warnings +116: ++ echo -n 'Testing fatal-warnings ... ' +116: Testing fatal-warnings ... ++ t=out/test/elf/x86_64/fatal-warnings +116: ++ mkdir -p out/test/elf/x86_64/fatal-warnings +116: + cat +117: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/filler.sh +106: + on_exit +106: + echo OK +106: OK +106: + exit 0 +106/357 Test #106: x86_64-entry ............................... Passed 0.14 sec test 118 Start 118: x86_64-filter @@ -7556,7 +7607,6 @@ 118: MACHINE=x86_64 118: CPU= 118: Test timeout computed to be: 1500 -117: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/filler.sh 117: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 117: ++ export LC_ALL=C 117: ++ LC_ALL=C @@ -7580,32 +7630,20 @@ 117: ++ echo -n 'Testing filler ... ' 117: Testing filler ... ++ t=out/test/elf/x86_64/filler 117: ++ mkdir -p out/test/elf/x86_64/filler -116: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/fatal-warnings.sh -116: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc -116: ++ export LC_ALL=C -116: ++ LC_ALL=C -116: ++ '[' -z x86_64 ']' -98: + grep -q 'foo2 bar2 baz1' -98: + out/test/elf/x86_64/dynamic-list4/exe2 -116: ++ '[' -z '' ']' -116: ++ TESTDIR=out/test/elf/x86_64 -116: ++ CC=cc -116: ++ CXX=c++ -116: ++ GCC=gcc -116: ++ GXX=g++ -116: ++ OBJDUMP=objdump -116: ++ OBJCOPY=objcopy -116: ++ STRIP=strip -116: ++ QEMU= -116: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' -116: ++ tlsdesc_opt=-mtls-dialect=gnu2 -116: ++ trap 'on_error $LINENO' ERR -116: ++ trap on_exit EXIT -98: + on_exit -98: + echo OK -98: OK -98: + exit 0 -107/357 Test #98: x86_64-dynamic-list4 ....................... Passed 0.88 sec +117: + test_cflags -static +117: + cc -static -o /dev/null -xc - +117: + echo 'int main() {}' +111: + readelf --dyn-syms out/test/elf/x86_64/exclude-libs3/d.so +111: + grep -Fq foo out/test/elf/x86_64/exclude-libs3/log +109: + cc -B. -shared -o out/test/elf/x86_64/exclude-libs/f.so out/test/elf/x86_64/exclude-libs/e.o out/test/elf/x86_64/exclude-libs/c.a out/test/elf/x86_64/exclude-libs/d.a +116: + cc -fcommon -xc -c -o out/test/elf/x86_64/fatal-warnings/a.o - +114: + ./mold -o out/test/elf/x86_64/export-dynamic/exe out/test/elf/x86_64/export-dynamic/a.o out/test/elf/x86_64/export-dynamic/b.so --export-dynamic +111: + on_exit +111: + echo OK +111: OK +111: + exit 0 +118: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/filter.sh +107/357 Test #111: x86_64-exclude-libs3 ....................... Passed 0.11 sec test 119 Start 119: x86_64-func-addr @@ -7615,12 +7653,12 @@ 119: MACHINE=x86_64 119: CPU= 119: Test timeout computed to be: 1500 -116: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/fatal-warnings.sh .sh -116: ++ testname=fatal-warnings -116: ++ echo -n 'Testing fatal-warnings ... ' -116: Testing fatal-warnings ... ++ t=out/test/elf/x86_64/fatal-warnings -116: ++ mkdir -p out/test/elf/x86_64/fatal-warnings -118: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/filter.sh +98: + out/test/elf/x86_64/dynamic-list4/exe2 +98: + grep -q 'foo2 bar2 baz1' +98: + on_exit +98: + echo OK +98: OK +98: + exit 0 118: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 118: ++ export LC_ALL=C 118: ++ LC_ALL=C @@ -7644,14 +7682,18 @@ 118: ++ echo -n 'Testing filter ... ' 118: Testing filter ... ++ t=out/test/elf/x86_64/filter 118: ++ mkdir -p out/test/elf/x86_64/filter -108: + c++ -c -o out/test/elf/x86_64/exception/c.o out/test/elf/x86_64/exception/a.cc -fno-PIC -117: + test_cflags -static -117: + cc -static -o /dev/null -xc - -117: + echo 'int main() {}' -111: + cc -B. -shared -o out/test/elf/x86_64/exclude-libs3/d.so out/test/elf/x86_64/exclude-libs3/c.o out/test/elf/x86_64/exclude-libs3/b.a -Wl,-exclude-libs=ALL -116: + cc -fcommon -xc -c -o out/test/elf/x86_64/fatal-warnings/a.o - -118: + cat +108/357 Test #98: x86_64-dynamic-list4 ....................... Passed 0.28 sec +test 120 + Start 120: x86_64-gc-sections + +120: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/gc-sections.sh" +120: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +120: Environment variables: +120: MACHINE=x86_64 +120: CPU= +120: Test timeout computed to be: 1500 118: + cc -o out/test/elf/x86_64/filter/a.o -c -x assembler - +118: + cat 119: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/func-addr.sh 119: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 119: ++ export LC_ALL=C @@ -7671,33 +7713,15 @@ 119: ++ tlsdesc_opt=-mtls-dialect=gnu2 119: ++ trap 'on_error $LINENO' ERR 119: ++ trap on_exit EXIT -116: + cat -112: + readelf --segments -W out/test/elf/x86_64/execstack/exe 119: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/func-addr.sh .sh -112: + grep -q 'GNU_STACK.* RW ' -112: + on_exit -112: + echo OK 119: ++ testname=func-addr 119: ++ echo -n 'Testing func-addr ... ' 119: Testing func-addr ... ++ t=out/test/elf/x86_64/func-addr 119: ++ mkdir -p out/test/elf/x86_64/func-addr -112: OK -112: + exit 0 -108/357 Test #112: x86_64-execstack ........................... Passed 0.30 sec -test 120 - Start 120: x86_64-gc-sections - -120: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/gc-sections.sh" -120: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -120: Environment variables: -120: MACHINE=x86_64 -120: CPU= -120: Test timeout computed to be: 1500 -118: + ./mold -o out/test/elf/x86_64/filter/b.so out/test/elf/x86_64/filter/a.o --filter foo -F bar -shared -119: + cc -shared -o out/test/elf/x86_64/func-addr/a.so -xc - 119: + cat -107: + c++ -B. -o out/test/elf/x86_64/exception-multiple-ehframe/exe1 out/test/elf/x86_64/exception-multiple-ehframe/d.o out/test/elf/x86_64/exception-multiple-ehframe/c.o +114: + readelf --dyn-syms out/test/elf/x86_64/export-dynamic/exe 120: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/gc-sections.sh +119: + cc -shared -o out/test/elf/x86_64/func-addr/a.so -xc - 120: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 120: ++ export LC_ALL=C 120: ++ LC_ALL=C @@ -7717,24 +7741,29 @@ 120: ++ trap 'on_error $LINENO' ERR 120: ++ trap on_exit EXIT 120: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/gc-sections.sh .sh -118: + readelf --dynamic out/test/elf/x86_64/filter/b.so 120: ++ testname=gc-sections 120: ++ echo -n 'Testing gc-sections ... ' 120: Testing gc-sections ... ++ t=out/test/elf/x86_64/gc-sections 120: ++ mkdir -p out/test/elf/x86_64/gc-sections -118: + grep -Fq 'Filter library: [foo]' out/test/elf/x86_64/filter/log +107: + cat +107: + c++ -o out/test/elf/x86_64/exception-multiple-ehframe/b.o -c -xc++ - +114: + grep -Eq 'NOTYPE\s+GLOBAL DEFAULT\s+[0-9]+ bar' out/test/elf/x86_64/export-dynamic/log +116: + cat +118: + ./mold -o out/test/elf/x86_64/filter/b.so out/test/elf/x86_64/filter/a.o --filter foo -F bar -shared 120: + cat -118: + grep -Fq 'Filter library: [bar]' out/test/elf/x86_64/filter/log -111: + readelf --dyn-syms out/test/elf/x86_64/exclude-libs3/d.so -115: + cc -shared -fPIC -o out/test/elf/x86_64/export-from-exe/b.so -xc - -115: + cat +112: + grep -q 'GNU_STACK.* RW ' +108: + c++ -c -o out/test/elf/x86_64/exception/c.o out/test/elf/x86_64/exception/a.cc -fno-PIC +116: + cc -fcommon -xc -c -o out/test/elf/x86_64/fatal-warnings/b.o - +114: + grep -Eq 'NOTYPE\s+GLOBAL DEFAULT\s+[0-9]+ _start' out/test/elf/x86_64/export-dynamic/log 120: + c++ -B. -o out/test/elf/x86_64/gc-sections/exe1 out/test/elf/x86_64/gc-sections/a.cc -ffunction-sections -fdata-sections -108: + c++ -B. -o out/test/elf/x86_64/exception/exe1 out/test/elf/x86_64/exception/b.o -static -pthread -118: + on_exit -118: + echo OK -118: OK -118: + exit 0 -109/357 Test #118: x86_64-filter .............................. Passed 0.06 sec +112: + readelf --segments -W out/test/elf/x86_64/execstack/exe +112: + cc -B. -o out/test/elf/x86_64/execstack/exe out/test/elf/x86_64/execstack/a.o +114: + on_exit +114: + echo OK +114: OK +114: + exit 0 +115: + cc -B. -o out/test/elf/x86_64/export-from-exe/exe out/test/elf/x86_64/export-from-exe/a.o out/test/elf/x86_64/export-from-exe/b.so +109/357 Test #114: x86_64-export-dynamic ...................... Passed 0.10 sec test 121 Start 121: x86_64-gdb-index-compress-output @@ -7744,21 +7773,6 @@ 121: MACHINE=x86_64 121: CPU= 121: Test timeout computed to be: 1500 -111: + grep -Fq foo out/test/elf/x86_64/exclude-libs3/log -111: + on_exit -111: + echo OK -111: OK -111: + exit 0 -110/357 Test #111: x86_64-exclude-libs3 ....................... Passed 0.35 sec -test 122 - Start 122: x86_64-gdb-index-dwarf2 - -122: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/gdb-index-dwarf2.sh" -122: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -122: Environment variables: -122: MACHINE=x86_64 -122: CPU= -122: Test timeout computed to be: 1500 121: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/gdb-index-compress-output.sh 121: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 121: ++ export LC_ALL=C @@ -7783,8 +7797,43 @@ 121: ++ echo -n 'Testing gdb-index-compress-output ... ' 121: Testing gdb-index-compress-output ... ++ t=out/test/elf/x86_64/gdb-index-compress-output 121: ++ mkdir -p out/test/elf/x86_64/gdb-index-compress-output +118: + readelf --dynamic out/test/elf/x86_64/filter/b.so +118: + grep -Fq 'Filter library: [foo]' out/test/elf/x86_64/filter/log +109: + readelf --dyn-syms out/test/elf/x86_64/exclude-libs/f.so +121: + '[' '' = '' ']' +121: + '[' x86_64 = riscv64 -o x86_64 = riscv32 -o x86_64 = sparc64 ']' +121: + command -v gdb +121: + cat +109: + grep -Fq foo out/test/elf/x86_64/exclude-libs/log +109: + grep -Fq bar out/test/elf/x86_64/exclude-libs/log +121: + cc -c -o out/test/elf/x86_64/gdb-index-compress-output/a.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -ffunction-sections +109: + grep -Fq baz out/test/elf/x86_64/exclude-libs/log +109: + cc -B. -shared -o out/test/elf/x86_64/exclude-libs/f.so out/test/elf/x86_64/exclude-libs/e.o out/test/elf/x86_64/exclude-libs/c.a out/test/elf/x86_64/exclude-libs/d.a -Wl,-exclude-libs=c.a +107: + objcopy --rename-section .eh_frame=.eh_frame2 out/test/elf/x86_64/exception-multiple-ehframe/a.o +107: + ./mold -r -o out/test/elf/x86_64/exception-multiple-ehframe/c.o out/test/elf/x86_64/exception-multiple-ehframe/a.o out/test/elf/x86_64/exception-multiple-ehframe/b.o +108: + c++ -B. -o out/test/elf/x86_64/exception/exe1 out/test/elf/x86_64/exception/b.o -static -pthread +118: + grep -Fq 'Filter library: [bar]' out/test/elf/x86_64/filter/log +116: + cc -B. -o out/test/elf/x86_64/fatal-warnings/exe out/test/elf/x86_64/fatal-warnings/a.o out/test/elf/x86_64/fatal-warnings/b.o -Wl,-warn-common +119: + cc -o out/test/elf/x86_64/func-addr/b.o -c -xc -fno-PIC - +119: + cat +118: + on_exit +118: + echo OK +118: OK +118: + exit 0 +110/357 Test #118: x86_64-filter .............................. Passed 0.05 sec +test 122 + Start 122: x86_64-gdb-index-dwarf2 + +122: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/gdb-index-dwarf2.sh" +122: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +122: Environment variables: +122: MACHINE=x86_64 +122: CPU= +122: Test timeout computed to be: 1500 +112: + readelf --segments -W out/test/elf/x86_64/execstack/exe +112: + grep -q 'GNU_STACK.* RW ' +107: + objcopy --rename-section .eh_frame2=.eh_frame out/test/elf/x86_64/exception-multiple-ehframe/c.o 122: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/gdb-index-dwarf2.sh -109: + cc -B. -shared -o out/test/elf/x86_64/exclude-libs/f.so out/test/elf/x86_64/exclude-libs/e.o out/test/elf/x86_64/exclude-libs/c.a out/test/elf/x86_64/exclude-libs/d.a 122: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 122: ++ export LC_ALL=C 122: ++ LC_ALL=C @@ -7803,11 +7852,6 @@ 122: ++ tlsdesc_opt=-mtls-dialect=gnu2 122: ++ trap 'on_error $LINENO' ERR 122: ++ trap on_exit EXIT -121: + '[' '' = '' ']' -121: + '[' x86_64 = riscv64 -o x86_64 = riscv32 -o x86_64 = sparc64 ']' -121: + command -v gdb -121: + cc -c -o out/test/elf/x86_64/gdb-index-compress-output/a.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -ffunction-sections -121: + cat 122: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/gdb-index-dwarf2.sh .sh 122: ++ testname=gdb-index-dwarf2 122: ++ echo -n 'Testing gdb-index-dwarf2 ... ' @@ -7816,21 +7860,15 @@ 122: + '[' '' = '' ']' 122: + '[' x86_64 = riscv64 -o x86_64 = riscv32 -o x86_64 = sparc64 ']' 122: + command -v gdb -122: + cc -o /dev/null -xc -gdwarf-2 -g - +112: + on_exit +112: + echo OK +112: OK +112: + exit 0 +107: + cat +107: + c++ -o out/test/elf/x86_64/exception-multiple-ehframe/d.o -c -xc++ - 122: + echo 'int main() {}' -107: + out/test/elf/x86_64/exception-multiple-ehframe/exe1 -116: + cat -116: + cc -fcommon -xc -c -o out/test/elf/x86_64/fatal-warnings/b.o - -78: + grep -q '^OK$' -78: + out/test/elf/x86_64/defsym-lto/exe -107: 1 3 -107: + grep -q '^1 3$' -107: + out/test/elf/x86_64/exception-multiple-ehframe/exe1 -78: + on_exit -78: + echo OK -78: OK -78: + exit 0 -111/357 Test #78: x86_64-defsym-lto .......................... Passed 1.41 sec +122: + cc -o /dev/null -xc -gdwarf-2 -g - +111/357 Test #112: x86_64-execstack ........................... Passed 0.17 sec test 123 Start 123: x86_64-gdb-index-dwarf3 @@ -7840,29 +7878,15 @@ 123: MACHINE=x86_64 123: CPU= 123: Test timeout computed to be: 1500 -117: + cat -117: + cc -o out/test/elf/x86_64/filler/a.o -c -xc - -107: + on_exit -107: + echo OK -107: OK -107: + exit 0 -112/357 Test #107: x86_64-exception-multiple-ehframe .......... Passed 0.68 sec -test 124 - Start 124: x86_64-gdb-index-dwarf4 - -124: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/gdb-index-dwarf4.sh" -124: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -124: Environment variables: -124: MACHINE=x86_64 -124: CPU= -124: Test timeout computed to be: 1500 123: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/gdb-index-dwarf3.sh 123: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 123: ++ export LC_ALL=C 123: ++ LC_ALL=C 123: ++ '[' -z x86_64 ']' +109: + readelf --dyn-syms out/test/elf/x86_64/exclude-libs/f.so 123: ++ '[' -z '' ']' 123: ++ TESTDIR=out/test/elf/x86_64 +115: + readelf --dyn-syms out/test/elf/x86_64/export-from-exe/exe 123: ++ CC=cc 123: ++ CXX=c++ 123: ++ GCC=gcc @@ -7875,23 +7899,50 @@ 123: ++ tlsdesc_opt=-mtls-dialect=gnu2 123: ++ trap 'on_error $LINENO' ERR 123: ++ trap on_exit EXIT -124: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/gdb-index-dwarf4.sh +115: + grep -q expfn2 123: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/gdb-index-dwarf3.sh .sh -124: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc -124: ++ export LC_ALL=C -124: ++ LC_ALL=C -124: ++ '[' -z x86_64 ']' -109: + readelf --dyn-syms out/test/elf/x86_64/exclude-libs/f.so 123: ++ testname=gdb-index-dwarf3 123: ++ echo -n 'Testing gdb-index-dwarf3 ... ' 123: Testing gdb-index-dwarf3 ... ++ t=out/test/elf/x86_64/gdb-index-dwarf3 123: ++ mkdir -p out/test/elf/x86_64/gdb-index-dwarf3 -124: ++ '[' -z '' ']' -124: ++ TESTDIR=out/test/elf/x86_64 -124: ++ CC=cc +115: + readelf --dyn-syms out/test/elf/x86_64/export-from-exe/exe +115: + grep -q expfn1 +109: + grep -Fq foo out/test/elf/x86_64/exclude-libs/log +109: + grep -Fq bar out/test/elf/x86_64/exclude-libs/log +121: + cc -B. -shared -o out/test/elf/x86_64/gdb-index-compress-output/b.so out/test/elf/x86_64/gdb-index-compress-output/a.o -Wl,--gdb-index -Wl,--compress-debug-sections=zlib-gabi 123: + '[' '' = '' ']' 123: + '[' x86_64 = riscv64 -o x86_64 = riscv32 -o x86_64 = sparc64 ']' 123: + command -v gdb +123: + test_cflags -gdwarf-3 +115: + on_exit +115: + echo OK +115: OK +115: + exit 0 +123: + cc -gdwarf-3 -o /dev/null -xc - +112/357 Test #115: x86_64-export-from-exe ..................... Passed 0.14 sec +test 124 + Start 124: x86_64-gdb-index-dwarf4 + +124: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/gdb-index-dwarf4.sh" +124: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +124: Environment variables: +124: MACHINE=x86_64 +124: CPU= +124: Test timeout computed to be: 1500 +123: + echo 'int main() {}' +109: + grep -Fq baz out/test/elf/x86_64/exclude-libs/log +109: + cc -B. -shared -o out/test/elf/x86_64/exclude-libs/f.so out/test/elf/x86_64/exclude-libs/e.o out/test/elf/x86_64/exclude-libs/c.a out/test/elf/x86_64/exclude-libs/d.a -Wl,-exclude-libs=c.a -Wl,-exclude-libs=d.a +117: + cat +117: + cc -o out/test/elf/x86_64/filler/a.o -c -xc - +119: + cc -B. -o out/test/elf/x86_64/func-addr/exe -no-pie out/test/elf/x86_64/func-addr/b.o out/test/elf/x86_64/func-addr/a.so +124: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/gdb-index-dwarf4.sh +124: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc +124: ++ export LC_ALL=C +124: ++ LC_ALL=C +124: ++ '[' -z x86_64 ']' +124: ++ '[' -z '' ']' +124: ++ TESTDIR=out/test/elf/x86_64 +124: ++ CC=cc 124: ++ CXX=c++ 124: ++ GCC=gcc 124: ++ GXX=g++ @@ -7903,51 +7954,39 @@ 124: ++ tlsdesc_opt=-mtls-dialect=gnu2 124: ++ trap 'on_error $LINENO' ERR 124: ++ trap on_exit EXIT -123: + test_cflags -gdwarf-3 -123: + echo 'int main() {}' 124: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/gdb-index-dwarf4.sh .sh -109: + grep -Fq foo out/test/elf/x86_64/exclude-libs/log 124: ++ testname=gdb-index-dwarf4 124: ++ echo -n 'Testing gdb-index-dwarf4 ... ' 124: Testing gdb-index-dwarf4 ... ++ t=out/test/elf/x86_64/gdb-index-dwarf4 124: ++ mkdir -p out/test/elf/x86_64/gdb-index-dwarf4 -123: + cc -gdwarf-3 -o /dev/null -xc - 124: + '[' '' = '' ']' 124: + '[' x86_64 = riscv64 -o x86_64 = riscv32 -o x86_64 = sparc64 ']' 124: + command -v gdb 124: + test_cflags -gdwarf-4 -g -109: + grep -Fq bar out/test/elf/x86_64/exclude-libs/log 124: + echo 'int main() {}' 124: + cc -gdwarf-4 -g -o /dev/null -xc - -115: + cc -B. -o out/test/elf/x86_64/export-from-exe/exe out/test/elf/x86_64/export-from-exe/a.o out/test/elf/x86_64/export-from-exe/b.so -109: + grep -Fq baz out/test/elf/x86_64/exclude-libs/log -109: + cc -B. -shared -o out/test/elf/x86_64/exclude-libs/f.so out/test/elf/x86_64/exclude-libs/e.o out/test/elf/x86_64/exclude-libs/c.a out/test/elf/x86_64/exclude-libs/d.a -Wl,-exclude-libs=c.a -119: + cat -119: + cc -o out/test/elf/x86_64/func-addr/b.o -c -xc -fno-PIC - -108: + out/test/elf/x86_64/exception/exe1 -108: + c++ -B. -o out/test/elf/x86_64/exception/exe2 out/test/elf/x86_64/exception/c.o -no-pie -static -pthread -121: + cc -B. -shared -o out/test/elf/x86_64/gdb-index-compress-output/b.so out/test/elf/x86_64/gdb-index-compress-output/a.o -Wl,--gdb-index -Wl,--compress-debug-sections=zlib-gabi -116: + cc -B. -o out/test/elf/x86_64/fatal-warnings/exe out/test/elf/x86_64/fatal-warnings/a.o out/test/elf/x86_64/fatal-warnings/b.o -Wl,-warn-common -117: + cc -B. -static -Wl,--filler,0xfe -o out/test/elf/x86_64/filler/exe1 out/test/elf/x86_64/filler/a.o -101: + c++ -B. -o out/test/elf/x86_64/emit-relocs-dead-sections/exe out/test/elf/x86_64/emit-relocs-dead-sections/a.o out/test/elf/x86_64/emit-relocs-dead-sections/b.o -Wl,-emit-relocs +116: + cc -B. -o out/test/elf/x86_64/fatal-warnings/exe out/test/elf/x86_64/fatal-warnings/a.o out/test/elf/x86_64/fatal-warnings/b.o -Wl,-warn-common -Wl,-fatal-warnings +107: + c++ -B. -o out/test/elf/x86_64/exception-multiple-ehframe/exe1 out/test/elf/x86_64/exception-multiple-ehframe/d.o out/test/elf/x86_64/exception-multiple-ehframe/c.o 109: + readelf --dyn-syms out/test/elf/x86_64/exclude-libs/f.so -115: + readelf --dyn-syms out/test/elf/x86_64/export-from-exe/exe -115: + grep -q expfn2 -115: + readelf --dyn-syms out/test/elf/x86_64/export-from-exe/exe -115: + grep -q expfn1 -123: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf3/a.o -fPIC -g -ggnu-pubnames -gdwarf-3 -xc - -ffunction-sections -123: + cat -121: + readelf -WS out/test/elf/x86_64/gdb-index-compress-output/b.so 121: + grep -Fq .gdb_index -122: + cat +121: + readelf -WS out/test/elf/x86_64/gdb-index-compress-output/b.so +120: + readelf --symbols out/test/elf/x86_64/gc-sections/exe1 +119: + grep -q 1 +121: + cc -c -o out/test/elf/x86_64/gdb-index-compress-output/c.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -gz +121: + cat +108: + out/test/elf/x86_64/exception/exe1 +119: + out/test/elf/x86_64/func-addr/exe +120: + grep -qv live_fn1 out/test/elf/x86_64/gc-sections/log.1 122: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf2/a.o -fPIC -g -ggnu-pubnames -gdwarf-2 -xc - -ffunction-sections +122: + cat 109: + grep -Fq foo out/test/elf/x86_64/exclude-libs/log -115: + on_exit -115: + echo OK -115: OK -115: + exit 0 -121: + cat -113/357 Test #115: x86_64-export-from-exe ..................... Passed 0.26 sec +119: + on_exit +119: + echo OK +119: OK +119: + exit 0 +108: + c++ -B. -o out/test/elf/x86_64/exception/exe2 out/test/elf/x86_64/exception/c.o -no-pie -static -pthread +120: + grep -qv live_fn2 out/test/elf/x86_64/gc-sections/log.1 +113/357 Test #119: x86_64-func-addr ........................... Passed 0.12 sec test 125 Start 125: x86_64-gdb-index-dwarf5 @@ -7957,13 +7996,15 @@ 125: MACHINE=x86_64 125: CPU= 125: Test timeout computed to be: 1500 -116: + cc -B. -o out/test/elf/x86_64/fatal-warnings/exe out/test/elf/x86_64/fatal-warnings/a.o out/test/elf/x86_64/fatal-warnings/b.o -Wl,-warn-common -Wl,-fatal-warnings -121: + cc -c -o out/test/elf/x86_64/gdb-index-compress-output/c.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -gz +117: + cc -B. -static -Wl,--filler,0xfe -o out/test/elf/x86_64/filler/exe1 out/test/elf/x86_64/filler/a.o +120: + grep -qv dead_fn1 out/test/elf/x86_64/gc-sections/log.1 +120: + grep -qv dead_fn2 out/test/elf/x86_64/gc-sections/log.1 109: + grep -Fq bar out/test/elf/x86_64/exclude-libs/log 109: + grep -Fq baz out/test/elf/x86_64/exclude-libs/log -109: + cc -B. -shared -o out/test/elf/x86_64/exclude-libs/f.so out/test/elf/x86_64/exclude-libs/e.o out/test/elf/x86_64/exclude-libs/c.a out/test/elf/x86_64/exclude-libs/d.a -Wl,-exclude-libs=c.a -Wl,-exclude-libs=d.a -119: + cc -B. -o out/test/elf/x86_64/func-addr/exe -no-pie out/test/elf/x86_64/func-addr/b.o out/test/elf/x86_64/func-addr/a.so +124: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf4/a.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -ffunction-sections 125: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/gdb-index-dwarf5.sh +124: + cat +109: + cc -B. -shared -o out/test/elf/x86_64/exclude-libs/f.so out/test/elf/x86_64/exclude-libs/e.o out/test/elf/x86_64/exclude-libs/c.a out/test/elf/x86_64/exclude-libs/d.a -Wl,-exclude-libs=ALL 125: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 125: ++ export LC_ALL=C 125: ++ LC_ALL=C @@ -7983,8 +8024,6 @@ 125: ++ trap 'on_error $LINENO' ERR 125: ++ trap on_exit EXIT 125: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/gdb-index-dwarf5.sh .sh -101: + grep -q 'Hello world' -101: + out/test/elf/x86_64/emit-relocs-dead-sections/exe 125: ++ testname=gdb-index-dwarf5 125: ++ echo -n 'Testing gdb-index-dwarf5 ... ' 125: Testing gdb-index-dwarf5 ... ++ t=out/test/elf/x86_64/gdb-index-dwarf5 @@ -7994,12 +8033,15 @@ 125: + command -v gdb 125: + test_cflags -gdwarf-5 -g 125: + echo 'int main() {}' +120: + grep -qv live_var1 out/test/elf/x86_64/gc-sections/log.1 125: + cc -gdwarf-5 -g -o /dev/null -xc - -101: + on_exit -101: + echo OK -101: OK -101: + exit 0 -114/357 Test #101: x86_64-emit-relocs-dead-sections ........... Passed 1.00 sec +116: + on_exit +116: + echo OK +116: OK +116: + exit 0 +123: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf3/a.o -fPIC -g -ggnu-pubnames -gdwarf-3 -xc - -ffunction-sections +123: + cat +114/357 Test #116: x86_64-fatal-warnings ...................... Passed 0.15 sec test 126 Start 126: x86_64-gdb-index-dwarf64 @@ -8009,9 +8051,10 @@ 126: MACHINE=x86_64 126: CPU= 126: Test timeout computed to be: 1500 -120: + readelf --symbols out/test/elf/x86_64/gc-sections/exe1 +120: + grep -qv live_var2 out/test/elf/x86_64/gc-sections/log.1 126: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/gdb-index-dwarf64.sh -109: + readelf --dyn-syms out/test/elf/x86_64/exclude-libs/f.so +120: + grep -qv dead_var1 out/test/elf/x86_64/gc-sections/log.1 +121: + cc -B. -o out/test/elf/x86_64/gdb-index-compress-output/exe out/test/elf/x86_64/gdb-index-compress-output/b.so out/test/elf/x86_64/gdb-index-compress-output/c.o -Wl,--gdb-index -Wl,--compress-debug-sections=zlib 126: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 126: ++ export LC_ALL=C 126: ++ LC_ALL=C @@ -8030,26 +8073,39 @@ 126: ++ tlsdesc_opt=-mtls-dialect=gnu2 126: ++ trap 'on_error $LINENO' ERR 126: ++ trap on_exit EXIT -120: + grep -qv live_fn1 out/test/elf/x86_64/gc-sections/log.1 +120: + grep -qv dead_var2 out/test/elf/x86_64/gc-sections/log.1 126: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/gdb-index-dwarf64.sh .sh -124: + cat -124: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf4/a.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -ffunction-sections 126: ++ testname=gdb-index-dwarf64 126: ++ echo -n 'Testing gdb-index-dwarf64 ... ' 126: Testing gdb-index-dwarf64 ... ++ t=out/test/elf/x86_64/gdb-index-dwarf64 126: ++ mkdir -p out/test/elf/x86_64/gdb-index-dwarf64 -120: + grep -qv live_fn2 out/test/elf/x86_64/gc-sections/log.1 -116: + on_exit -116: + echo OK -116: OK -116: + exit 0 +120: + out/test/elf/x86_64/gc-sections/exe1 +107: + out/test/elf/x86_64/exception-multiple-ehframe/exe1 +120: + grep -q '1 2' +109: + readelf --dyn-syms out/test/elf/x86_64/exclude-libs/f.so +120: + c++ -B. -o out/test/elf/x86_64/gc-sections/exe2 out/test/elf/x86_64/gc-sections/a.cc -ffunction-sections -fdata-sections -Wl,-gc-sections +107: 1 3 +107: + grep -q '^1 3$' +124: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf4/b.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -ffunction-sections +107: + out/test/elf/x86_64/exception-multiple-ehframe/exe1 +109: + grep -Fq foo out/test/elf/x86_64/exclude-libs/log +124: + cat +122: + cat +122: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf2/b.o -fPIC -g -ggnu-pubnames -gdwarf-2 -xc - -ffunction-sections 126: + '[' '' = '' ']' 126: + '[' x86_64 = riscv64 -o x86_64 = riscv32 -o x86_64 = sparc64 ']' 126: + command -v gdb 126: + test_cflags -gdwarf-5 -g -gdwarf64 +107: + on_exit +107: + echo OK +107: OK +107: + exit 0 +109: + grep -Fq bar out/test/elf/x86_64/exclude-libs/log 126: + echo 'int main() {}' 126: + cc -gdwarf-5 -g -gdwarf64 -o /dev/null -xc - -115/357 Test #116: x86_64-fatal-warnings ...................... Passed 0.28 sec +123: + cat +123: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf3/b.o -fPIC -g -ggnu-pubnames -gdwarf-3 -xc - -ffunction-sections +115/357 Test #107: x86_64-exception-multiple-ehframe .......... Passed 0.30 sec test 127 Start 127: x86_64-gdb-index-empty @@ -8059,20 +8115,12 @@ 127: MACHINE=x86_64 127: CPU= 127: Test timeout computed to be: 1500 -120: + grep -qv dead_fn1 out/test/elf/x86_64/gc-sections/log.1 -120: + grep -qv dead_fn2 out/test/elf/x86_64/gc-sections/log.1 -120: + grep -qv live_var1 out/test/elf/x86_64/gc-sections/log.1 -120: + grep -qv live_var2 out/test/elf/x86_64/gc-sections/log.1 -108: + out/test/elf/x86_64/exception/exe2 -108: + c++ -B. -o out/test/elf/x86_64/exception/exe3 out/test/elf/x86_64/exception/b.o -pie -117: + sed -i -e 's/--filler 0xfe/--filler 0x00/' out/test/elf/x86_64/filler/exe1 -119: + out/test/elf/x86_64/func-addr/exe -119: + grep -q 1 -119: + on_exit -119: + echo OK -119: OK -119: + exit 0 -116/357 Test #119: x86_64-func-addr ........................... Passed 0.26 sec +109: + grep -Fq baz out/test/elf/x86_64/exclude-libs/log +109: + on_exit +109: + echo OK +109: OK +109: + exit 0 +116/357 Test #109: x86_64-exclude-libs ........................ Passed 0.29 sec test 128 Start 128: x86_64-gdb-index-split-dwarf @@ -8101,30 +8149,14 @@ 127: ++ tlsdesc_opt=-mtls-dialect=gnu2 127: ++ trap 'on_error $LINENO' ERR 127: ++ trap on_exit EXIT +117: + sed -i -e 's/--filler 0xfe/--filler 0x00/' out/test/elf/x86_64/filler/exe1 127: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/gdb-index-empty.sh .sh -120: + grep -qv dead_var1 out/test/elf/x86_64/gc-sections/log.1 -120: + grep -qv dead_var2 out/test/elf/x86_64/gc-sections/log.1 -120: + out/test/elf/x86_64/gc-sections/exe1 -120: + grep -q '1 2' -109: + grep -Fq foo out/test/elf/x86_64/exclude-libs/log -117: + od -x out/test/elf/x86_64/filler/exe1 +128: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/gdb-index-split-dwarf.sh 127: ++ testname=gdb-index-empty 127: ++ echo -n 'Testing gdb-index-empty ... ' 127: Testing gdb-index-empty ... ++ t=out/test/elf/x86_64/gdb-index-empty 127: ++ mkdir -p out/test/elf/x86_64/gdb-index-empty -120: + c++ -B. -o out/test/elf/x86_64/gc-sections/exe2 out/test/elf/x86_64/gc-sections/a.cc -ffunction-sections -fdata-sections -Wl,-gc-sections -127: + echo 'void _start() {}' -109: + grep -Fq bar out/test/elf/x86_64/exclude-libs/log -109: + grep -Fq baz out/test/elf/x86_64/exclude-libs/log -109: + cc -B. -shared -o out/test/elf/x86_64/exclude-libs/f.so out/test/elf/x86_64/exclude-libs/e.o out/test/elf/x86_64/exclude-libs/c.a out/test/elf/x86_64/exclude-libs/d.a -Wl,-exclude-libs=ALL -127: + cc -c -o out/test/elf/x86_64/gdb-index-empty/a.o -xc - -108: + out/test/elf/x86_64/exception/exe3 -122: + cat -123: + cat -123: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf3/b.o -fPIC -g -ggnu-pubnames -gdwarf-3 -xc - -ffunction-sections -122: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf2/b.o -fPIC -g -ggnu-pubnames -gdwarf-2 -xc - -ffunction-sections -108: + c++ -B. -o out/test/elf/x86_64/exception/exe4 out/test/elf/x86_64/exception/c.o -no-pie -128: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/gdb-index-split-dwarf.sh +117: + od -x out/test/elf/x86_64/filler/exe1 128: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 128: ++ export LC_ALL=C 128: ++ LC_ALL=C @@ -8143,6 +8175,9 @@ 128: ++ tlsdesc_opt=-mtls-dialect=gnu2 128: ++ trap 'on_error $LINENO' ERR 128: ++ trap on_exit EXIT +125: + cat +127: + cc -c -o out/test/elf/x86_64/gdb-index-empty/a.o -xc - +127: + echo 'void _start() {}' 128: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/gdb-index-split-dwarf.sh .sh 128: ++ testname=gdb-index-split-dwarf 128: ++ echo -n 'Testing gdb-index-split-dwarf ... ' @@ -8152,25 +8187,48 @@ 128: + '[' x86_64 = riscv64 -o x86_64 = riscv32 -o x86_64 = sparc64 ']' 128: + command -v gdb 128: + test_cflags -gdwarf-5 -g +125: + cat 128: + echo 'int main() {}' +122: + cc -B. -shared -o out/test/elf/x86_64/gdb-index-dwarf2/c.so out/test/elf/x86_64/gdb-index-dwarf2/a.o out/test/elf/x86_64/gdb-index-dwarf2/b.o -Wl,--gdb-index +121: + grep -Fq .gdb_index +124: + cc -B. -shared -o out/test/elf/x86_64/gdb-index-dwarf4/c.so out/test/elf/x86_64/gdb-index-dwarf4/a.o out/test/elf/x86_64/gdb-index-dwarf4/b.o -Wl,--gdb-index +125: + cat +121: + readelf -WS out/test/elf/x86_64/gdb-index-compress-output/exe +123: + cc -B. -shared -o out/test/elf/x86_64/gdb-index-dwarf3/c.so out/test/elf/x86_64/gdb-index-dwarf3/a.o out/test/elf/x86_64/gdb-index-dwarf3/b.o -Wl,--gdb-index 128: + cc -gdwarf-5 -g -o /dev/null -xc - -121: + cc -B. -o out/test/elf/x86_64/gdb-index-compress-output/exe out/test/elf/x86_64/gdb-index-compress-output/b.so out/test/elf/x86_64/gdb-index-compress-output/c.o -Wl,--gdb-index -Wl,--compress-debug-sections=zlib +108: + out/test/elf/x86_64/exception/exe2 +121: + out/test/elf/x86_64/gdb-index-compress-output/exe +121: + grep -q 'Hello world' +108: + c++ -B. -o out/test/elf/x86_64/exception/exe3 out/test/elf/x86_64/exception/b.o -pie +125: + cat +125: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf5/a.o out/test/elf/x86_64/gdb-index-dwarf5/a.c -fPIC -g -ggnu-pubnames -gdwarf-5 -ffunction-sections +126: + cat +121: + DEBUGINFOD_URLS= +121: + gdb out/test/elf/x86_64/gdb-index-compress-output/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit +126: + cat +126: + cat +126: + cat +126: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf64/a.o out/test/elf/x86_64/gdb-index-dwarf64/a.c -fPIC -g -ggnu-pubnames -gdwarf-5 -gdwarf64 -ffunction-sections 127: + ./mold -o out/test/elf/x86_64/gdb-index-empty/exe out/test/elf/x86_64/gdb-index-empty/a.o -gdb-index -124: + cat -124: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf4/b.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -ffunction-sections -123: + cc -B. -shared -o out/test/elf/x86_64/gdb-index-dwarf3/c.so out/test/elf/x86_64/gdb-index-dwarf3/a.o out/test/elf/x86_64/gdb-index-dwarf3/b.o -Wl,--gdb-index -109: + readelf --dyn-syms out/test/elf/x86_64/exclude-libs/f.so -108: + out/test/elf/x86_64/exception/exe4 -122: + cc -B. -shared -o out/test/elf/x86_64/gdb-index-dwarf2/c.so out/test/elf/x86_64/gdb-index-dwarf2/a.o out/test/elf/x86_64/gdb-index-dwarf2/b.o -Wl,--gdb-index -108: + c++ -B. -o out/test/elf/x86_64/exception/exe5 out/test/elf/x86_64/exception/b.o -pie -Wl,--gc-sections +125: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf5/b.o out/test/elf/x86_64/gdb-index-dwarf5/b.c -fPIC -g -ggnu-pubnames -gdwarf-4 -ffunction-sections 127: + readelf -WS out/test/elf/x86_64/gdb-index-empty/exe +120: + readelf --symbols out/test/elf/x86_64/gc-sections/exe2 +120: + grep -q live_fn1 out/test/elf/x86_64/gc-sections/log.2 +124: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf4/c.so +124: + grep -Fq .gdb_index +120: + grep -q live_fn2 out/test/elf/x86_64/gc-sections/log.2 +123: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf3/c.so +120: + grep -qv dead_fn1 out/test/elf/x86_64/gc-sections/log.2 127: + grep -Fq .gdb_index out/test/elf/x86_64/gdb-index-empty/log -125: + cat +123: + grep -Fq .gdb_index +124: + cat +124: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf4/d.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -gz 127: + on_exit 127: + echo OK 127: OK 127: + exit 0 -117/357 Test #127: x86_64-gdb-index-empty ..................... Passed 0.10 sec +122: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf2/c.so +117/357 Test #127: x86_64-gdb-index-empty ..................... Passed 0.08 sec test 129 Start 129: x86_64-glibc-2.22-bug @@ -8180,14 +8238,13 @@ 129: MACHINE=x86_64 129: CPU= 129: Test timeout computed to be: 1500 -125: + cat -121: + readelf -WS out/test/elf/x86_64/gdb-index-compress-output/exe -121: + grep -Fq .gdb_index -125: + cat -123: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf3/c.so -123: + grep -Fq .gdb_index +120: + grep -qv dead_fn2 out/test/elf/x86_64/gc-sections/log.2 +120: + grep -q live_var1 out/test/elf/x86_64/gc-sections/log.2 +122: + grep -Fq .gdb_index +120: + grep -q live_var2 out/test/elf/x86_64/gc-sections/log.2 +122: + cat +122: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf2/d.o -fPIC -g -ggnu-pubnames -gdwarf-2 -xc - -gz 129: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/glibc-2.22-bug.sh -120: + readelf --symbols out/test/elf/x86_64/gc-sections/exe2 129: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 129: ++ export LC_ALL=C 129: ++ LC_ALL=C @@ -8204,44 +8261,30 @@ 129: ++ QEMU= 129: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 129: ++ tlsdesc_opt=-mtls-dialect=gnu2 -125: + cat 129: ++ trap 'on_error $LINENO' ERR 129: ++ trap on_exit EXIT +123: + cat +123: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf3/d.o -fPIC -g -ggnu-pubnames -gdwarf-3 -xc - -gz +120: + grep -qv dead_var1 out/test/elf/x86_64/gc-sections/log.2 +128: + cat 129: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/glibc-2.22-bug.sh .sh -120: + grep -q live_fn1 out/test/elf/x86_64/gc-sections/log.2 129: ++ testname=glibc-2.22-bug 129: ++ echo -n 'Testing glibc-2.22-bug ... ' 129: Testing glibc-2.22-bug ... ++ t=out/test/elf/x86_64/glibc-2.22-bug 129: ++ mkdir -p out/test/elf/x86_64/glibc-2.22-bug -121: + out/test/elf/x86_64/gdb-index-compress-output/exe -121: + grep -q 'Hello world' +120: + grep -qv dead_var2 out/test/elf/x86_64/gc-sections/log.2 +128: + cat 129: + '[' x86_64 = alpha ']' -120: + grep -q live_fn2 out/test/elf/x86_64/gc-sections/log.2 -123: + cat +108: + out/test/elf/x86_64/exception/exe3 +120: + out/test/elf/x86_64/gc-sections/exe2 +120: + grep -q '1 2' 129: + cat -123: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf3/d.o -fPIC -g -ggnu-pubnames -gdwarf-3 -xc - -gz -120: + grep -qv dead_fn1 out/test/elf/x86_64/gc-sections/log.2 +120: + on_exit +120: + echo OK +120: OK +120: + exit 0 129: + cc -o out/test/elf/x86_64/glibc-2.22-bug/a.o -fPIC -c -xc - -125: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf5/a.o out/test/elf/x86_64/gdb-index-dwarf5/a.c -fPIC -g -ggnu-pubnames -gdwarf-5 -ffunction-sections -117: + cc -B. -static -Wl,--filler,0x00 -o out/test/elf/x86_64/filler/exe2 out/test/elf/x86_64/filler/a.o -121: + DEBUGINFOD_URLS= -121: + gdb out/test/elf/x86_64/gdb-index-compress-output/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit -120: + grep -qv dead_fn2 out/test/elf/x86_64/gc-sections/log.2 -109: + grep -Fq foo out/test/elf/x86_64/exclude-libs/log -108: + out/test/elf/x86_64/exception/exe5 -108: + c++ -B. -o out/test/elf/x86_64/exception/exe6 out/test/elf/x86_64/exception/c.o -no-pie -static -pthread -Wl,--gc-sections -109: + grep -Fq bar out/test/elf/x86_64/exclude-libs/log -124: + cc -B. -shared -o out/test/elf/x86_64/gdb-index-dwarf4/c.so out/test/elf/x86_64/gdb-index-dwarf4/a.o out/test/elf/x86_64/gdb-index-dwarf4/b.o -Wl,--gdb-index -120: + grep -q live_var1 out/test/elf/x86_64/gc-sections/log.2 -120: + grep -q live_var2 out/test/elf/x86_64/gc-sections/log.2 -122: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf2/c.so -109: + grep -Fq baz out/test/elf/x86_64/exclude-libs/log -122: + grep -Fq .gdb_index -109: + on_exit -109: + echo OK -109: OK -109: + exit 0 -118/357 Test #109: x86_64-exclude-libs ........................ Passed 0.72 sec +118/357 Test #120: x86_64-gc-sections ......................... Passed 0.25 sec test 130 Start 130: x86_64-global-offset-table @@ -8251,31 +8294,8 @@ 130: MACHINE=x86_64 130: CPU= 130: Test timeout computed to be: 1500 -120: + grep -qv dead_var1 out/test/elf/x86_64/gc-sections/log.2 -122: + cat -122: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf2/d.o -fPIC -g -ggnu-pubnames -gdwarf-2 -xc - -gz -120: + grep -qv dead_var2 out/test/elf/x86_64/gc-sections/log.2 -120: + grep -q '1 2' -120: + out/test/elf/x86_64/gc-sections/exe2 -120: + on_exit -120: + echo OK -120: OK -120: + exit 0 -119/357 Test #120: x86_64-gc-sections ......................... Passed 0.38 sec -test 131 - Start 131: x86_64-gnu-hash - -131: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/gnu-hash.sh" -131: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -131: Environment variables: -131: MACHINE=x86_64 -131: CPU= -131: Test timeout computed to be: 1500 -126: + cat -126: + cat -126: + cat -126: + cat -126: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf64/a.o out/test/elf/x86_64/gdb-index-dwarf64/a.c -fPIC -g -ggnu-pubnames -gdwarf-5 -gdwarf64 -ffunction-sections +108: + c++ -B. -o out/test/elf/x86_64/exception/exe4 out/test/elf/x86_64/exception/c.o -no-pie +126: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf64/b.o out/test/elf/x86_64/gdb-index-dwarf64/b.c -fPIC -g -ggnu-pubnames -gdwarf-4 -gdwarf64 -ffunction-sections 130: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/global-offset-table.sh 130: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 130: ++ export LC_ALL=C @@ -8296,20 +8316,68 @@ 130: ++ trap 'on_error $LINENO' ERR 130: ++ trap on_exit EXIT 130: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/global-offset-table.sh .sh -128: + cat 130: ++ testname=global-offset-table 130: ++ echo -n 'Testing global-offset-table ... ' 130: Testing global-offset-table ... ++ t=out/test/elf/x86_64/global-offset-table 130: ++ mkdir -p out/test/elf/x86_64/global-offset-table 128: + cat 130: + '[' x86_64 = ppc64le ']' -128: + cat -130: + cc -fPIC -c -o out/test/elf/x86_64/global-offset-table/a.o -xc - 130: + cat +130: + cc -fPIC -c -o out/test/elf/x86_64/global-offset-table/a.o -xc - +128: + cat +125: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf5/c.o out/test/elf/x86_64/gdb-index-dwarf5/c.c -fPIC -g -ggnu-pubnames -gdwarf-5 +124: + cc -B. -o out/test/elf/x86_64/gdb-index-dwarf4/exe out/test/elf/x86_64/gdb-index-dwarf4/c.so out/test/elf/x86_64/gdb-index-dwarf4/d.o -Wl,--gdb-index +128: + cc -c -o out/test/elf/x86_64/gdb-index-split-dwarf/a.o out/test/elf/x86_64/gdb-index-split-dwarf/a.c -fPIC -g -ggnu-pubnames -gdwarf-5 -gsplit-dwarf +122: + cc -B. -o out/test/elf/x86_64/gdb-index-dwarf2/exe out/test/elf/x86_64/gdb-index-dwarf2/c.so out/test/elf/x86_64/gdb-index-dwarf2/d.o -Wl,--gdb-index +101: + c++ -o out/test/elf/x86_64/emit-relocs-dead-sections/b.o -c -fPIC -xc++ -g -ffunction-sections - +101: + cat +123: + cc -B. -o out/test/elf/x86_64/gdb-index-dwarf3/exe out/test/elf/x86_64/gdb-index-dwarf3/c.so out/test/elf/x86_64/gdb-index-dwarf3/d.o -Wl,--gdb-index +117: + cc -B. -static -Wl,--filler,0x00 -o out/test/elf/x86_64/filler/exe2 out/test/elf/x86_64/filler/a.o +126: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf64/c.o out/test/elf/x86_64/gdb-index-dwarf64/c.c -fPIC -g -ggnu-pubnames -gdwarf-5 -gdwarf64 +129: + cc -B. -o out/test/elf/x86_64/glibc-2.22-bug/b.so -shared out/test/elf/x86_64/glibc-2.22-bug/a.o +108: + out/test/elf/x86_64/exception/exe4 +108: + c++ -B. -o out/test/elf/x86_64/exception/exe5 out/test/elf/x86_64/exception/b.o -pie -Wl,--gc-sections +125: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf5/d.o out/test/elf/x86_64/gdb-index-dwarf5/d.c -fPIC -g -ggnu-pubnames -gdwarf-5 -ffunction-sections +130: + cc -B. -no-pie -o out/test/elf/x86_64/global-offset-table/exe out/test/elf/x86_64/global-offset-table/a.o -Wl,-defsym=foo=_GLOBAL_OFFSET_TABLE_ +128: + cc -c -o out/test/elf/x86_64/gdb-index-split-dwarf/b.o out/test/elf/x86_64/gdb-index-split-dwarf/b.c -fPIC -g -ggnu-pubnames -gdwarf-4 -gsplit-dwarf +124: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf4/exe +124: + grep -Fq .gdb_index +122: + grep -Fq .gdb_index +122: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf2/exe +124: + out/test/elf/x86_64/gdb-index-dwarf4/exe +124: + grep -q 'Hello world' +126: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf64/d.o out/test/elf/x86_64/gdb-index-dwarf64/d.c -fPIC -g -ggnu-pubnames -gdwarf-5 -gdwarf64 -ffunction-sections +122: + out/test/elf/x86_64/gdb-index-dwarf2/exe +124: + DEBUGINFOD_URLS= +124: + gdb out/test/elf/x86_64/gdb-index-dwarf4/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit +129: + grep -E -A1 '\.rela?\.dyn' +122: + grep -q 'Hello world' +129: + readelf -W --sections out/test/elf/x86_64/glibc-2.22-bug/b.so +129: + grep -Eq '\.rela?\.plt' +122: + DEBUGINFOD_URLS= +122: + gdb out/test/elf/x86_64/gdb-index-dwarf2/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit +129: + on_exit +129: + echo OK +129: OK +129: + exit 0 +123: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf3/exe +119/357 Test #129: x86_64-glibc-2.22-bug ...................... Passed 0.08 sec +test 131 + Start 131: x86_64-gnu-hash + +131: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/gnu-hash.sh" +131: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +131: Environment variables: +131: MACHINE=x86_64 +131: CPU= +131: Test timeout computed to be: 1500 +123: + grep -Fq .gdb_index 131: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/gnu-hash.sh +123: + out/test/elf/x86_64/gdb-index-dwarf3/exe 131: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 131: ++ export LC_ALL=C 131: ++ LC_ALL=C +117: + od -x out/test/elf/x86_64/filler/exe2 131: ++ '[' -z x86_64 ']' 131: ++ '[' -z '' ']' 131: ++ TESTDIR=out/test/elf/x86_64 @@ -8318,53 +8386,37 @@ 131: ++ GCC=gcc 131: ++ GXX=g++ 131: ++ OBJDUMP=objdump -128: + cat 131: ++ OBJCOPY=objcopy 131: ++ STRIP=strip 131: ++ QEMU= 131: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 131: ++ tlsdesc_opt=-mtls-dialect=gnu2 131: ++ trap 'on_error $LINENO' ERR -128: + cc -c -o out/test/elf/x86_64/gdb-index-split-dwarf/a.o out/test/elf/x86_64/gdb-index-split-dwarf/a.c -fPIC -g -ggnu-pubnames -gdwarf-5 -gsplit-dwarf 131: ++ trap on_exit EXIT 131: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/gnu-hash.sh .sh -124: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf4/c.so -124: + grep -Fq .gdb_index 131: ++ testname=gnu-hash 131: ++ echo -n 'Testing gnu-hash ... ' 131: Testing gnu-hash ... ++ t=out/test/elf/x86_64/gnu-hash 131: ++ mkdir -p out/test/elf/x86_64/gnu-hash -123: + cc -B. -o out/test/elf/x86_64/gdb-index-dwarf3/exe out/test/elf/x86_64/gdb-index-dwarf3/c.so out/test/elf/x86_64/gdb-index-dwarf3/d.o -Wl,--gdb-index -131: + cat -131: + cc -c -o out/test/elf/x86_64/gnu-hash/a.o -xc - -124: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf4/d.o -fPIC -g -ggnu-pubnames -gdwarf-4 -xc - -gz -124: + cat -125: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf5/b.o out/test/elf/x86_64/gdb-index-dwarf5/b.c -fPIC -g -ggnu-pubnames -gdwarf-4 -ffunction-sections -122: + cc -B. -o out/test/elf/x86_64/gdb-index-dwarf2/exe out/test/elf/x86_64/gdb-index-dwarf2/c.so out/test/elf/x86_64/gdb-index-dwarf2/d.o -Wl,--gdb-index -129: + cc -B. -o out/test/elf/x86_64/glibc-2.22-bug/b.so -shared out/test/elf/x86_64/glibc-2.22-bug/a.o -117: + od -x out/test/elf/x86_64/filler/exe2 -108: + out/test/elf/x86_64/exception/exe6 -108: + '[' x86_64 = x86_64 ']' -108: + c++ -c -o out/test/elf/x86_64/exception/d.o out/test/elf/x86_64/exception/a.cc -mcmodel=large -fPIC -123: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf3/exe -123: + grep -Fq .gdb_index -123: + out/test/elf/x86_64/gdb-index-dwarf3/exe 123: + grep -q 'Hello world' 123: + DEBUGINFOD_URLS= 123: + gdb out/test/elf/x86_64/gdb-index-dwarf3/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit -129: + readelf -W --sections out/test/elf/x86_64/glibc-2.22-bug/b.so -129: + grep -E -A1 '\.rela?\.dyn' -129: + grep -Eq '\.rela?\.plt' -122: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf2/exe -130: + cc -B. -no-pie -o out/test/elf/x86_64/global-offset-table/exe out/test/elf/x86_64/global-offset-table/a.o -Wl,-defsym=foo=_GLOBAL_OFFSET_TABLE_ -122: + grep -Fq .gdb_index -122: + out/test/elf/x86_64/gdb-index-dwarf2/exe -122: + grep -q 'Hello world' -129: + on_exit -129: + echo OK -129: OK -129: + exit 0 -120/357 Test #129: x86_64-glibc-2.22-bug ...................... Passed 0.15 sec +131: + cat +131: + cc -c -o out/test/elf/x86_64/gnu-hash/a.o -xc - +130: + out/test/elf/x86_64/global-offset-table/exe +125: + cc -B. -shared -o out/test/elf/x86_64/gdb-index-dwarf5/e.so out/test/elf/x86_64/gdb-index-dwarf5/a.o out/test/elf/x86_64/gdb-index-dwarf5/b.o out/test/elf/x86_64/gdb-index-dwarf5/c.o out/test/elf/x86_64/gdb-index-dwarf5/d.o -Wl,--gdb-index +130: ++ out/test/elf/x86_64/global-offset-table/exe +108: + out/test/elf/x86_64/exception/exe5 +130: + GOT_ADDR=203878 +130: + '[' x86_64 = x86_64 -o x86_64 = i686 ']' +130: + grep -q '\.got\.plt .*203878 ' +130: + readelf -WS out/test/elf/x86_64/global-offset-table/exe +108: + c++ -B. -o out/test/elf/x86_64/exception/exe6 out/test/elf/x86_64/exception/c.o -no-pie -static -pthread -Wl,--gc-sections +130: + on_exit +130: + echo OK +130: OK +130: + exit 0 +120/357 Test #130: x86_64-global-offset-table ................. Passed 0.09 sec test 132 Start 132: x86_64-gnu-unique @@ -8374,8 +8426,7 @@ 132: MACHINE=x86_64 132: CPU= 132: Test timeout computed to be: 1500 -122: + DEBUGINFOD_URLS= -122: + gdb out/test/elf/x86_64/gdb-index-dwarf2/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit +126: + cc -B. -shared -o out/test/elf/x86_64/gdb-index-dwarf64/e.so out/test/elf/x86_64/gdb-index-dwarf64/a.o out/test/elf/x86_64/gdb-index-dwarf64/b.o out/test/elf/x86_64/gdb-index-dwarf64/c.o out/test/elf/x86_64/gdb-index-dwarf64/d.o 132: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/gnu-unique.sh 132: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 132: ++ export LC_ALL=C @@ -8402,19 +8453,22 @@ 132: ++ mkdir -p out/test/elf/x86_64/gnu-unique 132: + command -v g++ 132: + cat +128: + cc -c -o out/test/elf/x86_64/gdb-index-split-dwarf/c.o out/test/elf/x86_64/gdb-index-split-dwarf/c.c -fPIC -g -ggnu-pubnames -gdwarf-5 132: + g++ -o out/test/elf/x86_64/gnu-unique/a.o -c -std=c++17 -fno-gnu-unique -xc++ - -130: + out/test/elf/x86_64/global-offset-table/exe -130: ++ out/test/elf/x86_64/global-offset-table/exe -130: + GOT_ADDR=203878 -130: + '[' x86_64 = x86_64 -o x86_64 = i686 ']' -130: + readelf -WS out/test/elf/x86_64/global-offset-table/exe -130: + grep -q '\.got\.plt .*203878 ' -124: + cc -B. -o out/test/elf/x86_64/gdb-index-dwarf4/exe out/test/elf/x86_64/gdb-index-dwarf4/c.so out/test/elf/x86_64/gdb-index-dwarf4/d.o -Wl,--gdb-index -130: + on_exit -130: + echo OK -130: OK -130: + exit 0 -121/357 Test #130: x86_64-global-offset-table ................. Passed 0.15 sec +125: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf5/e.so +131: + cc -B. -o out/test/elf/x86_64/gnu-hash/b.so out/test/elf/x86_64/gnu-hash/a.o -Wl,-hash-style=gnu -shared +125: + grep -Fq .gdb_index +126: + cc -B. -shared -o out/test/elf/x86_64/gdb-index-dwarf64/f.so out/test/elf/x86_64/gdb-index-dwarf64/a.o out/test/elf/x86_64/gdb-index-dwarf64/b.o out/test/elf/x86_64/gdb-index-dwarf64/c.o out/test/elf/x86_64/gdb-index-dwarf64/d.o -Wl,--gdb-index +125: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf5/f.o -fPIC -g -ggnu-pubnames -gdwarf-5 -xc - -gz +128: + cc -c -o out/test/elf/x86_64/gdb-index-split-dwarf/d.o out/test/elf/x86_64/gdb-index-split-dwarf/d.c -fPIC -g -ggnu-pubnames -gdwarf-5 -gsplit-dwarf +125: + cat +132: + cat +131: + on_exit +131: + echo OK +131: OK +131: + exit 0 +126: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf64/f.so +121/357 Test #131: x86_64-gnu-hash ............................ Passed 0.08 sec test 133 Start 133: x86_64-gnu-warning @@ -8424,15 +8478,10 @@ 133: MACHINE=x86_64 133: CPU= 133: Test timeout computed to be: 1500 -125: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf5/c.o out/test/elf/x86_64/gdb-index-dwarf5/c.c -fPIC -g -ggnu-pubnames -gdwarf-5 -126: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf64/b.o out/test/elf/x86_64/gdb-index-dwarf64/b.c -fPIC -g -ggnu-pubnames -gdwarf-4 -gdwarf64 -ffunction-sections -117: + diff -q out/test/elf/x86_64/filler/txt1 out/test/elf/x86_64/filler/txt2 -131: + cc -B. -o out/test/elf/x86_64/gnu-hash/b.so out/test/elf/x86_64/gnu-hash/a.o -Wl,-hash-style=gnu -shared -128: + cc -c -o out/test/elf/x86_64/gdb-index-split-dwarf/b.o out/test/elf/x86_64/gdb-index-split-dwarf/b.c -fPIC -g -ggnu-pubnames -gdwarf-4 -gsplit-dwarf -108: + c++ -B. -o out/test/elf/x86_64/exception/exe7 out/test/elf/x86_64/exception/d.o -static -pthread -133: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/gnu-warning.sh -132: + cat +126: + grep -Fq .gdb_index 132: + g++ -o out/test/elf/x86_64/gnu-unique/b.o -c -std=c++17 -fgnu-unique -xc++ - +133: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/gnu-warning.sh +126: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf64/g.o -fPIC -g -ggnu-pubnames -gdwarf-5 -xc - -gz 133: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 133: ++ export LC_ALL=C 133: ++ LC_ALL=C @@ -8452,23 +8501,23 @@ 133: ++ trap 'on_error $LINENO' ERR 133: ++ trap on_exit EXIT 133: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/gnu-warning.sh .sh +126: + cat 133: ++ testname=gnu-warning 133: ++ echo -n 'Testing gnu-warning ... ' 133: Testing gnu-warning ... ++ t=out/test/elf/x86_64/gnu-warning 133: ++ mkdir -p out/test/elf/x86_64/gnu-warning -124: + grep -Fq .gdb_index -124: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf4/exe 133: + cat 133: + gcc -c -o out/test/elf/x86_64/gnu-warning/a.o -xc - -124: + out/test/elf/x86_64/gdb-index-dwarf4/exe -124: + grep -q 'Hello world' -124: + DEBUGINFOD_URLS= -124: + gdb out/test/elf/x86_64/gdb-index-dwarf4/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit +125: + cc -B. -o out/test/elf/x86_64/gdb-index-dwarf5/exe out/test/elf/x86_64/gdb-index-dwarf5/e.so out/test/elf/x86_64/gdb-index-dwarf5/f.o -Wl,--gdb-index +108: + out/test/elf/x86_64/exception/exe6 +117: + diff -q out/test/elf/x86_64/filler/txt1 out/test/elf/x86_64/filler/txt2 +108: + '[' x86_64 = x86_64 ']' +108: + c++ -c -o out/test/elf/x86_64/exception/d.o out/test/elf/x86_64/exception/a.cc -mcmodel=large -fPIC 117: + on_exit 117: + echo OK 117: OK 117: + exit 0 -122/357 Test #117: x86_64-filler .............................. Passed 0.59 sec +122/357 Test #117: x86_64-filler .............................. Passed 0.44 sec test 134 Start 134: x86_64-hash-style @@ -8478,21 +8527,10 @@ 134: MACHINE=x86_64 134: CPU= 134: Test timeout computed to be: 1500 -131: + on_exit -131: + echo OK -131: OK -131: + exit 0 -123/357 Test #131: x86_64-gnu-hash ............................ Passed 0.18 sec -test 135 - Start 135: x86_64-hello-dynamic - -135: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/hello-dynamic.sh" -135: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -135: Environment variables: -135: MACHINE=x86_64 -135: CPU= -135: Test timeout computed to be: 1500 +128: + cc -B. -shared -o out/test/elf/x86_64/gdb-index-split-dwarf/e.so out/test/elf/x86_64/gdb-index-split-dwarf/a.o out/test/elf/x86_64/gdb-index-split-dwarf/b.o out/test/elf/x86_64/gdb-index-split-dwarf/c.o out/test/elf/x86_64/gdb-index-split-dwarf/d.o -Wl,--gdb-index 134: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/hash-style.sh +126: + cc -B. -o out/test/elf/x86_64/gdb-index-dwarf64/exe1 out/test/elf/x86_64/gdb-index-dwarf64/e.so out/test/elf/x86_64/gdb-index-dwarf64/g.o +132: + cc -B. -o out/test/elf/x86_64/gnu-unique/exe out/test/elf/x86_64/gnu-unique/a.o out/test/elf/x86_64/gnu-unique/b.o -no-pie 134: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 134: ++ export LC_ALL=C 134: ++ LC_ALL=C @@ -8516,11 +8554,64 @@ 134: ++ echo -n 'Testing hash-style ... ' 134: Testing hash-style ... ++ t=out/test/elf/x86_64/hash-style 134: ++ mkdir -p out/test/elf/x86_64/hash-style -134: + cat 134: + cc -o out/test/elf/x86_64/hash-style/a.o -c -xc - -126: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf64/c.o out/test/elf/x86_64/gdb-index-dwarf64/c.c -fPIC -g -ggnu-pubnames -gdwarf-5 -gdwarf64 133: + cc -B. -o out/test/elf/x86_64/gnu-warning/exe out/test/elf/x86_64/gnu-warning/a.o -no-pie -132: + cc -B. -o out/test/elf/x86_64/gnu-unique/exe out/test/elf/x86_64/gnu-unique/a.o out/test/elf/x86_64/gnu-unique/b.o -no-pie +134: + cat +125: + grep -Fq .gdb_index +125: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf5/exe +121: + grep -q 'hello () at .*:7' out/test/elf/x86_64/gdb-index-compress-output/log +121: + grep -q 'greet () at .*:11' out/test/elf/x86_64/gdb-index-compress-output/log +125: + grep -q 'Hello world' +125: + out/test/elf/x86_64/gdb-index-dwarf5/exe +128: + readelf -WS out/test/elf/x86_64/gdb-index-split-dwarf/e.so +128: + grep -Fq .gdb_index +125: + DEBUGINFOD_URLS= +125: + gdb out/test/elf/x86_64/gdb-index-dwarf5/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit +108: + c++ -B. -o out/test/elf/x86_64/exception/exe7 out/test/elf/x86_64/exception/d.o -static -pthread +128: + cat +121: + grep -q 'main () at .*:4' out/test/elf/x86_64/gdb-index-compress-output/log +128: + cc -c -o out/test/elf/x86_64/gdb-index-split-dwarf/f.o -fPIC -g -ggnu-pubnames -gdwarf-5 -gsplit-dwarf -xc - -gz +121: + on_exit +121: + echo OK +121: OK +121: + exit 0 +123/357 Test #121: x86_64-gdb-index-compress-output ........... Passed 0.44 sec +test 135 + Start 135: x86_64-hello-dynamic + +135: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/hello-dynamic.sh" +135: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +135: Environment variables: +135: MACHINE=x86_64 +135: CPU= +135: Test timeout computed to be: 1500 +132: + out/test/elf/x86_64/gnu-unique/exe +132: + grep -q foo=5 +132: + on_exit +132: + echo OK +132: OK +132: + exit 0 +126: + DEBUGINFOD_URLS= +126: + gdb out/test/elf/x86_64/gdb-index-dwarf64/exe1 -nx -batch -ex 'b main' -ex r -ex quit +134: + ./mold -shared -o out/test/elf/x86_64/hash-style/b.so out/test/elf/x86_64/hash-style/a.o +133: + grep -q 'Hello world' +133: + out/test/elf/x86_64/gnu-warning/exe +124/357 Test #132: x86_64-gnu-unique .......................... Passed 0.13 sec +test 136 + Start 136: x86_64-hello-static + +136: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/hello-static.sh" +136: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +136: Environment variables: +136: MACHINE=x86_64 +136: CPU= +136: Test timeout computed to be: 1500 +134: + grep -Fq ' .hash' +134: + readelf -WS out/test/elf/x86_64/hash-style/b.so +133: + on_exit +133: + echo OK +133: OK +133: + exit 0 135: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/hello-dynamic.sh 135: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 135: ++ export LC_ALL=C @@ -8545,33 +8636,8 @@ 135: ++ echo -n 'Testing hello-dynamic ... ' 135: Testing hello-dynamic ... ++ t=out/test/elf/x86_64/hello-dynamic 135: ++ mkdir -p out/test/elf/x86_64/hello-dynamic -135: + cat 135: + cc -o out/test/elf/x86_64/hello-dynamic/a.o -c -xc - -fno-PIE -108: + out/test/elf/x86_64/exception/exe7 -108: + c++ -B. -o out/test/elf/x86_64/exception/exe8 out/test/elf/x86_64/exception/d.o -pie -133: + out/test/elf/x86_64/gnu-warning/exe -132: + out/test/elf/x86_64/gnu-unique/exe -132: + grep -q foo=5 -133: + grep -q 'Hello world' -132: + on_exit -132: + echo OK -132: OK -132: + exit 0 -133: + on_exit -133: + echo OK -133: OK -133: + exit 0 -124/357 Test #132: x86_64-gnu-unique .......................... Passed 0.14 sec -test 136 - Start 136: x86_64-hello-static - -136: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/hello-static.sh" -136: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -136: Environment variables: -136: MACHINE=x86_64 -136: CPU= -136: Test timeout computed to be: 1500 -125/357 Test #133: x86_64-gnu-warning ......................... Passed 0.11 sec +125/357 Test #133: x86_64-gnu-warning ......................... Passed 0.08 sec test 137 Start 137: x86_64-help @@ -8581,12 +8647,9 @@ 137: MACHINE=x86_64 137: CPU= 137: Test timeout computed to be: 1500 -125: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf5/d.o out/test/elf/x86_64/gdb-index-dwarf5/d.c -fPIC -g -ggnu-pubnames -gdwarf-5 -ffunction-sections -108: + out/test/elf/x86_64/exception/exe8 -108: + '[' x86_64 = x86_64 -o x86_64 = aarch64 ']' -108: + c++ -c -o out/test/elf/x86_64/exception/e.o out/test/elf/x86_64/exception/a.cc -mcmodel=large -fno-PIC -128: + cc -c -o out/test/elf/x86_64/gdb-index-split-dwarf/c.o out/test/elf/x86_64/gdb-index-split-dwarf/c.c -fPIC -g -ggnu-pubnames -gdwarf-5 -135: + cc -B. -o out/test/elf/x86_64/hello-dynamic/exe out/test/elf/x86_64/hello-dynamic/a.o -no-pie +134: + grep -Fq ' .gnu.hash' +134: + readelf -WS out/test/elf/x86_64/hash-style/b.so +134: + ./mold -shared -o out/test/elf/x86_64/hash-style/c.so out/test/elf/x86_64/hash-style/a.o --hash-style=both --hash-style=none 136: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/hello-static.sh 136: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 136: ++ export LC_ALL=C @@ -8611,11 +8674,10 @@ 136: ++ echo -n 'Testing hello-static ... ' 136: Testing hello-static ... ++ t=out/test/elf/x86_64/hello-static 136: ++ mkdir -p out/test/elf/x86_64/hello-static +135: + cat 137: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/help.sh -136: + test_cflags -static 137: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 137: ++ export LC_ALL=C -136: + echo 'int main() {}' 137: ++ LC_ALL=C 137: ++ '[' -z x86_64 ']' 137: ++ '[' -z '' ']' @@ -8632,20 +8694,23 @@ 137: ++ tlsdesc_opt=-mtls-dialect=gnu2 137: ++ trap 'on_error $LINENO' ERR 137: ++ trap on_exit EXIT +136: + test_cflags -static +134: + readelf -WS out/test/elf/x86_64/hash-style/c.so +134: + grep -Fq ' .hash' out/test/elf/x86_64/hash-style/log +136: + echo 'int main() {}' 136: + cc -static -o /dev/null -xc - 137: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/help.sh .sh -134: + ./mold -shared -o out/test/elf/x86_64/hash-style/b.so out/test/elf/x86_64/hash-style/a.o +128: + cc -B. -o out/test/elf/x86_64/gdb-index-split-dwarf/exe out/test/elf/x86_64/gdb-index-split-dwarf/e.so out/test/elf/x86_64/gdb-index-split-dwarf/f.o -Wl,--gdb-index 137: ++ testname=help 137: ++ echo -n 'Testing help ... ' 137: Testing help ... ++ t=out/test/elf/x86_64/help 137: ++ mkdir -p out/test/elf/x86_64/help -137: + ./mold --help -137: + grep -q Usage -137: + on_exit -137: + echo OK -137: OK -137: + exit 0 -126/357 Test #137: x86_64-help ................................ Passed 0.03 sec +134: + grep -Fq ' .gnu.hash' out/test/elf/x86_64/hash-style/log +134: + on_exit +134: + echo OK +134: OK +134: + exit 0 +126/357 Test #134: x86_64-hash-style .......................... Passed 0.08 sec test 138 Start 138: x86_64-hidden-undef @@ -8655,13 +8720,14 @@ 138: MACHINE=x86_64 138: CPU= 138: Test timeout computed to be: 1500 -135: + out/test/elf/x86_64/hello-dynamic/exe -135: + grep -q 'Hello world' -135: + on_exit -135: + echo OK -135: OK -135: + exit 0 -127/357 Test #135: x86_64-hello-dynamic ....................... Passed 0.10 sec +137: + grep -q Usage +137: + ./mold --help +138: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/hidden-undef.sh +137: + on_exit +137: + echo OK +137: OK +137: + exit 0 +127/357 Test #137: x86_64-help ................................ Passed 0.04 sec test 139 Start 139: x86_64-hidden-weak-undef @@ -8671,12 +8737,6 @@ 139: MACHINE=x86_64 139: CPU= 139: Test timeout computed to be: 1500 -134: + readelf -WS out/test/elf/x86_64/hash-style/b.so -134: + grep -Fq ' .hash' -134: + readelf -WS out/test/elf/x86_64/hash-style/b.so -134: + grep -Fq ' .gnu.hash' -134: + ./mold -shared -o out/test/elf/x86_64/hash-style/c.so out/test/elf/x86_64/hash-style/a.o --hash-style=both --hash-style=none -138: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/hidden-undef.sh 138: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 138: ++ export LC_ALL=C 138: ++ LC_ALL=C @@ -8700,12 +8760,8 @@ 138: ++ echo -n 'Testing hidden-undef ... ' 138: Testing hidden-undef ... ++ t=out/test/elf/x86_64/hidden-undef 138: ++ mkdir -p out/test/elf/x86_64/hidden-undef -138: + cat -138: + cc -o out/test/elf/x86_64/hidden-undef/a.so -shared -fPIC -xc - -134: + readelf -WS out/test/elf/x86_64/hash-style/c.so -134: + grep -Fq ' .hash' out/test/elf/x86_64/hash-style/log 139: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/hidden-weak-undef.sh -134: + grep -Fq ' .gnu.hash' out/test/elf/x86_64/hash-style/log +138: + cat 139: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 139: ++ export LC_ALL=C 139: ++ LC_ALL=C @@ -8725,18 +8781,25 @@ 139: ++ trap 'on_error $LINENO' ERR 139: ++ trap on_exit EXIT 139: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/hidden-weak-undef.sh .sh -126: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf64/d.o out/test/elf/x86_64/gdb-index-dwarf64/d.c -fPIC -g -ggnu-pubnames -gdwarf-5 -gdwarf64 -ffunction-sections +135: + cc -B. -o out/test/elf/x86_64/hello-dynamic/exe out/test/elf/x86_64/hello-dynamic/a.o -no-pie 139: ++ testname=hidden-weak-undef 139: ++ echo -n 'Testing hidden-weak-undef ... ' 139: Testing hidden-weak-undef ... ++ t=out/test/elf/x86_64/hidden-weak-undef 139: ++ mkdir -p out/test/elf/x86_64/hidden-weak-undef +138: + cc -o out/test/elf/x86_64/hidden-undef/a.so -shared -fPIC -xc - 139: + cat -134: + on_exit -134: + echo OK -108: + c++ -B. -o out/test/elf/x86_64/exception/exe9 out/test/elf/x86_64/exception/e.o -no-pie -static -pthread -134: OK -134: + exit 0 -128/357 Test #134: x86_64-hash-style .......................... Passed 0.13 sec +139: + cc -o out/test/elf/x86_64/hidden-weak-undef/a.o -fPIC -c -xc - +108: + out/test/elf/x86_64/exception/exe7 +108: + c++ -B. -o out/test/elf/x86_64/exception/exe8 out/test/elf/x86_64/exception/d.o -pie +128: + readelf -WS out/test/elf/x86_64/gdb-index-split-dwarf/exe +128: + grep -Fq .gdb_index +128: + grep -q 'Hello world' +128: + out/test/elf/x86_64/gdb-index-split-dwarf/exe +128: + on_exit +128: + echo OK +128: OK +128: + exit 0 +128/357 Test #128: x86_64-gdb-index-split-dwarf ............... Passed 0.38 sec test 140 Start 140: x86_64-icf-safe @@ -8746,10 +8809,26 @@ 140: MACHINE=x86_64 140: CPU= 140: Test timeout computed to be: 1500 -139: + cc -o out/test/elf/x86_64/hidden-weak-undef/a.o -fPIC -c -xc - -128: + cc -c -o out/test/elf/x86_64/gdb-index-split-dwarf/d.o out/test/elf/x86_64/gdb-index-split-dwarf/d.c -fPIC -g -ggnu-pubnames -gdwarf-5 -gsplit-dwarf -125: + cc -B. -shared -o out/test/elf/x86_64/gdb-index-dwarf5/e.so out/test/elf/x86_64/gdb-index-dwarf5/a.o out/test/elf/x86_64/gdb-index-dwarf5/b.o out/test/elf/x86_64/gdb-index-dwarf5/c.o out/test/elf/x86_64/gdb-index-dwarf5/d.o -Wl,--gdb-index +122: + grep -q 'hello2 () at .*:7' out/test/elf/x86_64/gdb-index-dwarf2/log +139: + cc -B. -shared -o out/test/elf/x86_64/hidden-weak-undef/b.so out/test/elf/x86_64/hidden-weak-undef/a.o +135: + out/test/elf/x86_64/hello-dynamic/exe +135: + grep -q 'Hello world' +122: + grep -q 'hello () at .*:4' out/test/elf/x86_64/gdb-index-dwarf2/log +135: + on_exit +135: + echo OK +135: OK +135: + exit 0 140: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/icf-safe.sh +129/357 Test #135: x86_64-hello-dynamic ....................... Passed 0.10 sec +test 141 + Start 141: x86_64-icf-small + +141: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/icf-small.sh" +141: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +141: Environment variables: +141: MACHINE=x86_64 +141: CPU= +141: Test timeout computed to be: 1500 140: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 140: ++ export LC_ALL=C 140: ++ LC_ALL=C @@ -8776,53 +8855,22 @@ 140: + '[' x86_64 = s390x ']' 140: + cat 140: + cc -c -o out/test/elf/x86_64/icf-safe/a.o -ffunction-sections -fdata-sections -xc - -125: + grep -Fq .gdb_index -125: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf5/e.so -125: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf5/f.o -fPIC -g -ggnu-pubnames -gdwarf-5 -xc - -gz -126: + cc -B. -shared -o out/test/elf/x86_64/gdb-index-dwarf64/e.so out/test/elf/x86_64/gdb-index-dwarf64/a.o out/test/elf/x86_64/gdb-index-dwarf64/b.o out/test/elf/x86_64/gdb-index-dwarf64/c.o out/test/elf/x86_64/gdb-index-dwarf64/d.o -125: + cat -136: + cat -136: + cc -o out/test/elf/x86_64/hello-static/a.o -c -xc - -140: + cat -140: + cc -c -o out/test/elf/x86_64/icf-safe/b.o -ffunction-sections -fdata-sections -xc - -108: + out/test/elf/x86_64/exception/exe9 -126: + cc -B. -shared -o out/test/elf/x86_64/gdb-index-dwarf64/f.so out/test/elf/x86_64/gdb-index-dwarf64/a.o out/test/elf/x86_64/gdb-index-dwarf64/b.o out/test/elf/x86_64/gdb-index-dwarf64/c.o out/test/elf/x86_64/gdb-index-dwarf64/d.o -Wl,--gdb-index -108: + c++ -B. -o out/test/elf/x86_64/exception/exe10 out/test/elf/x86_64/exception/e.o -no-pie -139: + cc -B. -shared -o out/test/elf/x86_64/hidden-weak-undef/b.so out/test/elf/x86_64/hidden-weak-undef/a.o -128: + cc -B. -shared -o out/test/elf/x86_64/gdb-index-split-dwarf/e.so out/test/elf/x86_64/gdb-index-split-dwarf/a.o out/test/elf/x86_64/gdb-index-split-dwarf/b.o out/test/elf/x86_64/gdb-index-split-dwarf/c.o out/test/elf/x86_64/gdb-index-split-dwarf/d.o -Wl,--gdb-index -136: + cc -B. -o out/test/elf/x86_64/hello-static/exe out/test/elf/x86_64/hello-static/a.o -static -108: + out/test/elf/x86_64/exception/exe10 -126: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf64/f.so -126: + grep -Fq .gdb_index -108: + '[' x86_64 '!=' riscv32 ']' -108: + c++ -B. -o out/test/elf/x86_64/exception/exe11 out/test/elf/x86_64/exception/b.o -pie -140: + cc -B. -o out/test/elf/x86_64/icf-safe/exe1 -Wl,-icf=safe out/test/elf/x86_64/icf-safe/a.o out/test/elf/x86_64/icf-safe/b.o -126: + cc -c -o out/test/elf/x86_64/gdb-index-dwarf64/g.o -fPIC -g -ggnu-pubnames -gdwarf-5 -xc - -gz -126: + cat -128: + grep -Fq .gdb_index -125: + cc -B. -o out/test/elf/x86_64/gdb-index-dwarf5/exe out/test/elf/x86_64/gdb-index-dwarf5/e.so out/test/elf/x86_64/gdb-index-dwarf5/f.o -Wl,--gdb-index -128: + readelf -WS out/test/elf/x86_64/gdb-index-split-dwarf/e.so -128: + cat -128: + cc -c -o out/test/elf/x86_64/gdb-index-split-dwarf/f.o -fPIC -g -ggnu-pubnames -gdwarf-5 -gsplit-dwarf -xc - -gz -139: + readelf -W --dyn-syms out/test/elf/x86_64/hidden-weak-undef/b.so -138: + cc -o out/test/elf/x86_64/hidden-undef/b.o -fPIC -c -xc - -139: + grep -qw foo out/test/elf/x86_64/hidden-weak-undef/log -138: + cat -139: + grep -qw bar out/test/elf/x86_64/hidden-weak-undef/log -139: + on_exit -139: + echo OK -139: OK -139: + exit 0 -129/357 Test #139: x86_64-hidden-weak-undef ................... Passed 0.17 sec -test 141 - Start 141: x86_64-icf-small +122: + grep -q 'greet () at .*:8' out/test/elf/x86_64/gdb-index-dwarf2/log +122: + grep -q 'main () at .*:4' out/test/elf/x86_64/gdb-index-dwarf2/log +122: + on_exit +122: + echo OK +122: OK +122: + exit 0 +130/357 Test #122: x86_64-gdb-index-dwarf2 .................... Passed 0.52 sec +test 142 + Start 142: x86_64-icf -141: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/icf-small.sh" -141: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -141: Environment variables: -141: MACHINE=x86_64 -141: CPU= -141: Test timeout computed to be: 1500 +142: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/icf.sh" +142: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +142: Environment variables: +142: MACHINE=x86_64 +142: CPU= +142: Test timeout computed to be: 1500 141: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/icf-small.sh 141: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 141: ++ export LC_ALL=C @@ -8847,33 +8895,12 @@ 141: ++ echo -n 'Testing icf-small ... ' 141: Testing icf-small ... ++ t=out/test/elf/x86_64/icf-small 141: ++ mkdir -p out/test/elf/x86_64/icf-small -141: + cat -108: + strip out/test/elf/x86_64/exception/exe11 -141: + cc -o out/test/elf/x86_64/icf-small/a.o -c -ffunction-sections -xc - -136: + out/test/elf/x86_64/hello-static/exe -136: + grep -q 'Hello world' -136: + on_exit -136: + echo OK -136: OK -136: + exit 0 -130/357 Test #136: x86_64-hello-static ........................ Passed 0.25 sec -test 142 - Start 142: x86_64-icf - -142: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/icf.sh" -142: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -142: Environment variables: -142: MACHINE=x86_64 -142: CPU= -142: Test timeout computed to be: 1500 -140: + out/test/elf/x86_64/icf-safe/exe1 -140: + grep -q '^0 0$' -140: + cat -140: + cc -c -o out/test/elf/x86_64/icf-safe/c.o -ffunction-sections -fdata-sections -xc - -125: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf5/exe -125: + grep -Fq .gdb_index -125: + out/test/elf/x86_64/gdb-index-dwarf5/exe -125: + grep -q 'Hello world' +124: + grep -q 'hello2 () at .*:7' out/test/elf/x86_64/gdb-index-dwarf4/log +124: + grep -q 'hello () at .*:4' out/test/elf/x86_64/gdb-index-dwarf4/log +123: + grep -q 'hello2 () at .*:7' out/test/elf/x86_64/gdb-index-dwarf3/log +123: + grep -q 'hello () at .*:4' out/test/elf/x86_64/gdb-index-dwarf3/log +123: + grep -q 'greet () at .*:8' out/test/elf/x86_64/gdb-index-dwarf3/log +124: + grep -q 'greet () at .*:8' out/test/elf/x86_64/gdb-index-dwarf4/log 142: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/icf.sh 142: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 142: ++ export LC_ALL=C @@ -8894,25 +8921,23 @@ 142: ++ trap 'on_error $LINENO' ERR 142: ++ trap on_exit EXIT 142: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/icf.sh .sh +136: + cat +136: + cc -o out/test/elf/x86_64/hello-static/a.o -c -xc - 142: ++ testname=icf 142: ++ echo -n 'Testing icf ... ' 142: Testing icf ... ++ t=out/test/elf/x86_64/icf 142: ++ mkdir -p out/test/elf/x86_64/icf -125: + DEBUGINFOD_URLS= -125: + gdb out/test/elf/x86_64/gdb-index-dwarf5/exe -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit +123: + grep -q 'main () at .*:4' out/test/elf/x86_64/gdb-index-dwarf3/log +108: + out/test/elf/x86_64/exception/exe8 +141: + cat +124: + grep -q 'main () at .*:4' out/test/elf/x86_64/gdb-index-dwarf4/log +141: + cc -o out/test/elf/x86_64/icf-small/a.o -c -ffunction-sections -xc - +123: + on_exit +123: + echo OK +123: OK +123: + exit 0 142: + '[' x86_64 = ppc64 ']' -108: + out/test/elf/x86_64/exception/exe11 -142: + cc -c -o out/test/elf/x86_64/icf/a.o -ffunction-sections -fdata-sections -xc - -142: + cat -108: + c++ -B. -o out/test/elf/x86_64/exception/exe12 out/test/elf/x86_64/exception/c.o -no-pie -141: + ./mold -o out/test/elf/x86_64/icf-small/exe -icf=all out/test/elf/x86_64/icf-small/a.o -126: + cc -B. -o out/test/elf/x86_64/gdb-index-dwarf64/exe1 out/test/elf/x86_64/gdb-index-dwarf64/e.so out/test/elf/x86_64/gdb-index-dwarf64/g.o -138: + cc -B. -o out/test/elf/x86_64/hidden-undef/exe out/test/elf/x86_64/hidden-undef/a.so out/test/elf/x86_64/hidden-undef/b.o -141: + on_exit -141: + echo OK -141: OK -141: + exit 0 -131/357 Test #141: x86_64-icf-small ........................... Passed 0.07 sec +131/357 Test #123: x86_64-gdb-index-dwarf3 .................... Passed 0.52 sec test 143 Start 143: x86_64-ifunc-address-equality-exported @@ -8922,7 +8947,26 @@ 143: MACHINE=x86_64 143: CPU= 143: Test timeout computed to be: 1500 -108: + strip out/test/elf/x86_64/exception/exe12 +142: + cc -c -o out/test/elf/x86_64/icf/a.o -ffunction-sections -fdata-sections -xc - +142: + cat +138: + cc -o out/test/elf/x86_64/hidden-undef/b.o -fPIC -c -xc - +138: + cat +124: + on_exit +124: + echo OK +124: OK +124: + exit 0 +108: + '[' x86_64 = x86_64 -o x86_64 = aarch64 ']' +108: + c++ -c -o out/test/elf/x86_64/exception/e.o out/test/elf/x86_64/exception/a.cc -mcmodel=large -fno-PIC +132/357 Test #124: x86_64-gdb-index-dwarf4 .................... Passed 0.51 sec +test 144 + Start 144: x86_64-ifunc-address-equality + +144: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/ifunc-address-equality.sh" +144: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +144: Environment variables: +144: MACHINE=x86_64 +144: CPU= +144: Test timeout computed to be: 1500 143: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/ifunc-address-equality-exported.sh 143: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 143: ++ export LC_ALL=C @@ -8947,45 +8991,8 @@ 143: ++ echo -n 'Testing ifunc-address-equality-exported ... ' 143: Testing ifunc-address-equality-exported ... ++ t=out/test/elf/x86_64/ifunc-address-equality-exported 143: ++ mkdir -p out/test/elf/x86_64/ifunc-address-equality-exported -143: + supports_ifunc -143: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -143: + cc -c -o /dev/null -xc - -138: + grep -q 'undefined symbol: foo' out/test/elf/x86_64/hidden-undef/log -138: + on_exit -138: + echo OK -138: OK -138: + exit 0 -132/357 Test #138: x86_64-hidden-undef ........................ Passed 0.28 sec -test 144 - Start 144: x86_64-ifunc-address-equality - -144: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/ifunc-address-equality.sh" -144: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -144: Environment variables: -144: MACHINE=x86_64 -144: CPU= -144: Test timeout computed to be: 1500 -128: + cc -B. -o out/test/elf/x86_64/gdb-index-split-dwarf/exe out/test/elf/x86_64/gdb-index-split-dwarf/e.so out/test/elf/x86_64/gdb-index-split-dwarf/f.o -Wl,--gdb-index -108: + out/test/elf/x86_64/exception/exe12 -108: + on_exit -108: + echo OK -108: OK -108: + exit 0 -140: + cc -B. -o out/test/elf/x86_64/icf-safe/exe2 -Wl,-icf=safe out/test/elf/x86_64/icf-safe/a.o out/test/elf/x86_64/icf-safe/c.o -133/357 Test #108: x86_64-exception ........................... Passed 1.50 sec -test 145 - Start 145: x86_64-ifunc-alias - -145: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/ifunc-alias.sh" -145: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -145: Environment variables: -145: MACHINE=x86_64 -145: CPU= -145: Test timeout computed to be: 1500 -126: + DEBUGINFOD_URLS= -126: + gdb out/test/elf/x86_64/gdb-index-dwarf64/exe1 -nx -batch -ex 'b main' -ex r -ex quit -142: + cc -B. -o out/test/elf/x86_64/icf/exe out/test/elf/x86_64/icf/a.o -Wl,-icf=all 144: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/ifunc-address-equality.sh +143: + supports_ifunc 144: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 144: ++ export LC_ALL=C 144: ++ LC_ALL=C @@ -9004,11 +9011,36 @@ 144: ++ tlsdesc_opt=-mtls-dialect=gnu2 144: ++ trap 'on_error $LINENO' ERR 144: ++ trap on_exit EXIT +143: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +143: + cc -c -o /dev/null -xc - 144: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/ifunc-address-equality.sh .sh 144: ++ testname=ifunc-address-equality 144: ++ echo -n 'Testing ifunc-address-equality ... ' 144: Testing ifunc-address-equality ... ++ t=out/test/elf/x86_64/ifunc-address-equality 144: ++ mkdir -p out/test/elf/x86_64/ifunc-address-equality +144: + supports_ifunc +139: + readelf -W --dyn-syms out/test/elf/x86_64/hidden-weak-undef/b.so +144: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +144: + cc -c -o /dev/null -xc - +140: + cat +140: + cc -c -o out/test/elf/x86_64/icf-safe/b.o -ffunction-sections -fdata-sections -xc - +139: + grep -qw foo out/test/elf/x86_64/hidden-weak-undef/log +139: + grep -qw bar out/test/elf/x86_64/hidden-weak-undef/log +138: + cc -B. -o out/test/elf/x86_64/hidden-undef/exe out/test/elf/x86_64/hidden-undef/a.so out/test/elf/x86_64/hidden-undef/b.o +139: + on_exit +139: + echo OK +139: OK +139: + exit 0 +133/357 Test #139: x86_64-hidden-weak-undef ................... Passed 0.09 sec +test 145 + Start 145: x86_64-ifunc-alias + +145: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/ifunc-alias.sh" +145: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +145: Environment variables: +145: MACHINE=x86_64 +145: CPU= +145: Test timeout computed to be: 1500 145: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/ifunc-alias.sh 145: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 145: ++ export LC_ALL=C @@ -9033,24 +9065,23 @@ 145: ++ echo -n 'Testing ifunc-alias ... ' 145: Testing ifunc-alias ... ++ t=out/test/elf/x86_64/ifunc-alias 145: ++ mkdir -p out/test/elf/x86_64/ifunc-alias -144: + supports_ifunc -144: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -144: + cc -c -o /dev/null -xc - +136: + cc -B. -o out/test/elf/x86_64/hello-static/exe out/test/elf/x86_64/hello-static/a.o -static 145: + supports_ifunc 145: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' 145: + cc -c -o /dev/null -xc - -140: + out/test/elf/x86_64/icf-safe/exe2 -128: + readelf -WS out/test/elf/x86_64/gdb-index-split-dwarf/exe -128: + grep -Fq .gdb_index -140: + grep foo2 out/test/elf/x86_64/icf-safe/log2 -142: + out/test/elf/x86_64/icf/exe -128: + grep -q 'Hello world' -128: + out/test/elf/x86_64/gdb-index-split-dwarf/exe -140: + on_exit -140: + echo OK -140: OK -140: + exit 0 -134/357 Test #140: x86_64-icf-safe ............................ Passed 0.29 sec +141: + ./mold -o out/test/elf/x86_64/icf-small/exe -icf=all out/test/elf/x86_64/icf-small/a.o +143: + cat +143: + cc -c -fPIC -o out/test/elf/x86_64/ifunc-address-equality-exported/a.o -xc - +108: + c++ -B. -o out/test/elf/x86_64/exception/exe9 out/test/elf/x86_64/exception/e.o -no-pie -static -pthread +142: + cc -B. -o out/test/elf/x86_64/icf/exe out/test/elf/x86_64/icf/a.o -Wl,-icf=all +140: + cc -B. -o out/test/elf/x86_64/icf-safe/exe1 -Wl,-icf=safe out/test/elf/x86_64/icf-safe/a.o out/test/elf/x86_64/icf-safe/b.o +144: + cat +144: + cc -c -fno-PIE -o out/test/elf/x86_64/ifunc-address-equality/a.o -xc - +141: + on_exit +141: + echo OK +141: OK +141: + exit 0 +134/357 Test #141: x86_64-icf-small ........................... Passed 0.07 sec test 146 Start 146: x86_64-ifunc-dlopen @@ -9060,37 +9091,6 @@ 146: MACHINE=x86_64 146: CPU= 146: Test timeout computed to be: 1500 -142: + grep -q '1 0' -142: + on_exit -142: + echo OK -142: OK -142: + exit 0 -128: + on_exit -128: + echo OK -128: OK -128: + exit 0 -135/357 Test #128: x86_64-gdb-index-split-dwarf ............... Passed 0.74 sec -test 147 - Start 147: x86_64-ifunc-dso - -147: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/ifunc-dso.sh" -147: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -147: Environment variables: -147: MACHINE=x86_64 -147: CPU= -147: Test timeout computed to be: 1500 -136/357 Test #142: x86_64-icf ................................. Passed 0.11 sec -test 148 - Start 148: x86_64-ifunc-dynamic - -148: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/ifunc-dynamic.sh" -148: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -148: Environment variables: -148: MACHINE=x86_64 -148: CPU= -148: Test timeout computed to be: 1500 -143: + cat -143: + cc -c -fPIC -o out/test/elf/x86_64/ifunc-address-equality-exported/a.o -xc - 146: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/ifunc-dlopen.sh 146: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 146: ++ export LC_ALL=C @@ -9111,14 +9111,34 @@ 146: ++ trap 'on_error $LINENO' ERR 146: ++ trap on_exit EXIT 146: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/ifunc-dlopen.sh .sh +143: + cc -B. -shared -o out/test/elf/x86_64/ifunc-address-equality-exported/b.so out/test/elf/x86_64/ifunc-address-equality-exported/a.o 146: ++ testname=ifunc-dlopen 146: ++ echo -n 'Testing ifunc-dlopen ... ' 146: Testing ifunc-dlopen ... ++ t=out/test/elf/x86_64/ifunc-dlopen 146: ++ mkdir -p out/test/elf/x86_64/ifunc-dlopen +145: + cat +145: + cc -fPIC -o out/test/elf/x86_64/ifunc-alias/a.o -c -xc - 146: + supports_ifunc +146: + cc -c -o /dev/null -xc - +138: + grep -q 'undefined symbol: foo' out/test/elf/x86_64/hidden-undef/log 146: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +138: + on_exit +138: + echo OK +138: OK +138: + exit 0 +135/357 Test #138: x86_64-hidden-undef ........................ Passed 0.15 sec +test 147 + Start 147: x86_64-ifunc-dso + +147: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/ifunc-dso.sh" +147: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +147: Environment variables: +147: MACHINE=x86_64 +147: CPU= +147: Test timeout computed to be: 1500 +140: + grep -q '^0 0$' +140: + out/test/elf/x86_64/icf-safe/exe1 147: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/ifunc-dso.sh -146: + cc -c -o /dev/null -xc - 147: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 147: ++ export LC_ALL=C 147: ++ LC_ALL=C @@ -9137,12 +9157,53 @@ 147: ++ tlsdesc_opt=-mtls-dialect=gnu2 147: ++ trap 'on_error $LINENO' ERR 147: ++ trap on_exit EXIT +136: + grep -q 'Hello world' +136: + out/test/elf/x86_64/hello-static/exe 147: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/ifunc-dso.sh .sh -148: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/ifunc-dynamic.sh +144: + cat +142: + out/test/elf/x86_64/icf/exe +142: + grep -q '1 0' +136: + on_exit +136: + echo OK +136: OK +136: + exit 0 +136/357 Test #136: x86_64-hello-static ........................ Passed 0.20 sec +test 148 + Start 148: x86_64-ifunc-dynamic + +148: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/ifunc-dynamic.sh" +148: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +148: Environment variables: +148: MACHINE=x86_64 +148: CPU= +148: Test timeout computed to be: 1500 147: ++ testname=ifunc-dso 147: ++ echo -n 'Testing ifunc-dso ... ' 147: Testing ifunc-dso ... ++ t=out/test/elf/x86_64/ifunc-dso 147: ++ mkdir -p out/test/elf/x86_64/ifunc-dso +144: + cc -c -fPIC -o out/test/elf/x86_64/ifunc-address-equality/b.o -xc - +140: + cat +140: + cc -c -o out/test/elf/x86_64/icf-safe/c.o -ffunction-sections -fdata-sections -xc - +142: + on_exit +142: + echo OK +142: OK +142: + exit 0 +143: + cat +143: + cc -c -fno-PIE -o out/test/elf/x86_64/ifunc-address-equality-exported/c.o -xc - +137/357 Test #142: x86_64-icf ................................. Passed 0.11 sec +test 149 + Start 149: x86_64-ifunc-export + +149: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/ifunc-export.sh" +149: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +149: Environment variables: +149: MACHINE=x86_64 +149: CPU= +149: Test timeout computed to be: 1500 +147: + supports_ifunc +147: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +147: + cc -c -o /dev/null -xc - +148: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/ifunc-dynamic.sh 148: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 148: ++ export LC_ALL=C 148: ++ LC_ALL=C @@ -9162,57 +9223,17 @@ 148: ++ trap 'on_error $LINENO' ERR 148: ++ trap on_exit EXIT 148: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/ifunc-dynamic.sh .sh -147: + supports_ifunc 148: ++ testname=ifunc-dynamic 148: ++ echo -n 'Testing ifunc-dynamic ... ' 148: Testing ifunc-dynamic ... ++ t=out/test/elf/x86_64/ifunc-dynamic 148: ++ mkdir -p out/test/elf/x86_64/ifunc-dynamic -147: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -147: + cc -c -o /dev/null -xc - 148: + supports_ifunc -148: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' 148: + cc -c -o /dev/null -xc - -144: + cat -144: + cc -c -fno-PIE -o out/test/elf/x86_64/ifunc-address-equality/a.o -xc - -145: + cat -145: + cc -fPIC -o out/test/elf/x86_64/ifunc-alias/a.o -c -xc - -148: + cat -148: + cc -o out/test/elf/x86_64/ifunc-dynamic/a.o -c -xc - -143: + cc -B. -shared -o out/test/elf/x86_64/ifunc-address-equality-exported/b.so out/test/elf/x86_64/ifunc-address-equality-exported/a.o -147: + cat -147: + cc -fPIC -o out/test/elf/x86_64/ifunc-dso/a.o -c -xc - -145: + cc -B. -o out/test/elf/x86_64/ifunc-alias/exe1 out/test/elf/x86_64/ifunc-alias/a.o -pie -143: + cat -143: + cc -c -fno-PIE -o out/test/elf/x86_64/ifunc-address-equality-exported/c.o -xc - -145: + out/test/elf/x86_64/ifunc-alias/exe1 -145: + grep -Eq '^(\S+) \1$' -144: + cat -144: + cc -c -fPIC -o out/test/elf/x86_64/ifunc-address-equality/b.o -xc - -145: + cc -B. -o out/test/elf/x86_64/ifunc-alias/exe2 out/test/elf/x86_64/ifunc-alias/a.o -no-pie +148: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' 146: + cat 146: + cc -fno-PIE -o out/test/elf/x86_64/ifunc-dlopen/a.o -c -xc - -147: + cat -147: + cc -fPIC -o out/test/elf/x86_64/ifunc-dso/b.o -c -xc - -148: + cc -B. -o out/test/elf/x86_64/ifunc-dynamic/exe1 out/test/elf/x86_64/ifunc-dynamic/a.o -Wl,-z,lazy -145: + out/test/elf/x86_64/ifunc-alias/exe2 -145: + grep -Eq '^(\S+) \1$' -145: + on_exit -145: + echo OK -145: OK -145: + exit 0 -137/357 Test #145: x86_64-ifunc-alias ......................... Passed 0.18 sec -test 149 - Start 149: x86_64-ifunc-export - -149: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/ifunc-export.sh" -149: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -149: Environment variables: -149: MACHINE=x86_64 -149: CPU= -149: Test timeout computed to be: 1500 -148: + out/test/elf/x86_64/ifunc-dynamic/exe1 -148: + grep -q 'Hello world' -148: + cc -B. -o out/test/elf/x86_64/ifunc-dynamic/exe2 out/test/elf/x86_64/ifunc-dynamic/a.o -Wl,-z,now +145: + cc -B. -o out/test/elf/x86_64/ifunc-alias/exe1 out/test/elf/x86_64/ifunc-alias/a.o -pie +125: + grep -q 'fn8 () at .*/d.c:6' out/test/elf/x86_64/gdb-index-dwarf5/log 149: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/ifunc-export.sh 149: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 149: ++ export LC_ALL=C @@ -9233,28 +9254,31 @@ 149: ++ trap 'on_error $LINENO' ERR 149: ++ trap on_exit EXIT 149: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/ifunc-export.sh .sh -143: + cc -B. -o out/test/elf/x86_64/ifunc-address-equality-exported/exe out/test/elf/x86_64/ifunc-address-equality-exported/c.o out/test/elf/x86_64/ifunc-address-equality-exported/b.so -no-pie -147: + cc -B. -o out/test/elf/x86_64/ifunc-dso/c.so out/test/elf/x86_64/ifunc-dso/b.o -shared 149: ++ testname=ifunc-export 149: ++ echo -n 'Testing ifunc-export ... ' 149: Testing ifunc-export ... ++ t=out/test/elf/x86_64/ifunc-export 149: ++ mkdir -p out/test/elf/x86_64/ifunc-export +125: + grep -q 'fn7 () at .*/d.c:10' out/test/elf/x86_64/gdb-index-dwarf5/log 149: + supports_ifunc 149: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +108: + out/test/elf/x86_64/exception/exe9 149: + cc -c -o /dev/null -xc - -144: + cc -c -fno-PIE -o out/test/elf/x86_64/ifunc-address-equality/c.o -xc - +125: + grep -q 'fn6 () at .*/c.c:4' out/test/elf/x86_64/gdb-index-dwarf5/log +108: + c++ -B. -o out/test/elf/x86_64/exception/exe10 out/test/elf/x86_64/exception/e.o -no-pie +101: + c++ -B. -o out/test/elf/x86_64/emit-relocs-dead-sections/exe out/test/elf/x86_64/emit-relocs-dead-sections/a.o out/test/elf/x86_64/emit-relocs-dead-sections/b.o -Wl,-emit-relocs +125: + grep -q 'fn5 () at .*/c.c:8' out/test/elf/x86_64/gdb-index-dwarf5/log +125: + grep -q 'fn4 () at .*/b.c:4' out/test/elf/x86_64/gdb-index-dwarf5/log +125: + grep -q 'fn3 () at .*/b.c:8' out/test/elf/x86_64/gdb-index-dwarf5/log +125: + grep -q 'fn2 () at .*/a.c:4' out/test/elf/x86_64/gdb-index-dwarf5/log +140: + cc -B. -o out/test/elf/x86_64/icf-safe/exe2 -Wl,-icf=safe out/test/elf/x86_64/icf-safe/a.o out/test/elf/x86_64/icf-safe/c.o +125: + grep -q 'fn1 () at .*/a.c:8' out/test/elf/x86_64/gdb-index-dwarf5/log 144: + cat -148: + out/test/elf/x86_64/ifunc-dynamic/exe2 -148: + grep -q 'Hello world' -143: + out/test/elf/x86_64/ifunc-address-equality-exported/exe -148: + on_exit -148: + echo OK -148: OK -148: + exit 0 -143: + grep -Eq '^(\S+) \1' -147: + grep -Eq '(IFUNC|: 10).*foobar' -147: + readelf -W --dyn-syms out/test/elf/x86_64/ifunc-dso/c.so -138/357 Test #148: x86_64-ifunc-dynamic ....................... Passed 0.20 sec +144: + cc -c -fno-PIE -o out/test/elf/x86_64/ifunc-address-equality/c.o -xc - +125: + on_exit +125: + echo OK +125: OK +125: + exit 0 +138/357 Test #125: x86_64-gdb-index-dwarf5 .................... Passed 0.59 sec test 150 Start 150: x86_64-ifunc-funcptr @@ -9264,23 +9288,6 @@ 150: MACHINE=x86_64 150: CPU= 150: Test timeout computed to be: 1500 -143: + on_exit -143: + echo OK -143: OK -143: + exit 0 -147: + cc -B. -o out/test/elf/x86_64/ifunc-dso/exe out/test/elf/x86_64/ifunc-dso/a.o out/test/elf/x86_64/ifunc-dso/c.so -139/357 Test #143: x86_64-ifunc-address-equality-exported ..... Passed 0.28 sec -test 151 - Start 151: x86_64-ifunc-noplt - -151: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/ifunc-noplt.sh" -151: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -151: Environment variables: -151: MACHINE=x86_64 -151: CPU= -151: Test timeout computed to be: 1500 -146: + cc -fPIC -o out/test/elf/x86_64/ifunc-dlopen/b.o -c -xc - -146: + cat 150: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/ifunc-funcptr.sh 150: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 150: ++ export LC_ALL=C @@ -9301,11 +9308,60 @@ 150: ++ trap 'on_error $LINENO' ERR 150: ++ trap on_exit EXIT 150: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/ifunc-funcptr.sh .sh -151: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/ifunc-noplt.sh 150: ++ testname=ifunc-funcptr 150: ++ echo -n 'Testing ifunc-funcptr ... ' 150: Testing ifunc-funcptr ... ++ t=out/test/elf/x86_64/ifunc-funcptr 150: ++ mkdir -p out/test/elf/x86_64/ifunc-funcptr +150: + supports_ifunc +150: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +150: + cc -c -o /dev/null -xc - +148: + cat +147: + cc -fPIC -o out/test/elf/x86_64/ifunc-dso/a.o -c -xc - +148: + cc -o out/test/elf/x86_64/ifunc-dynamic/a.o -c -xc - +146: + cc -fPIC -o out/test/elf/x86_64/ifunc-dlopen/b.o -c -xc - +146: + cat +147: + cat +145: + out/test/elf/x86_64/ifunc-alias/exe1 +145: + grep -Eq '^(\S+) \1$' +143: + cc -B. -o out/test/elf/x86_64/ifunc-address-equality-exported/exe out/test/elf/x86_64/ifunc-address-equality-exported/c.o out/test/elf/x86_64/ifunc-address-equality-exported/b.so -no-pie +149: + cat +149: + cc -c -fPIC -o out/test/elf/x86_64/ifunc-export/a.o -xc - +145: + cc -B. -o out/test/elf/x86_64/ifunc-alias/exe2 out/test/elf/x86_64/ifunc-alias/a.o -no-pie +140: + out/test/elf/x86_64/icf-safe/exe2 +140: + grep foo2 out/test/elf/x86_64/icf-safe/log2 +101: + out/test/elf/x86_64/emit-relocs-dead-sections/exe +140: + on_exit +140: + echo OK +140: OK +140: + exit 0 +139/357 Test #140: x86_64-icf-safe ............................ Passed 0.19 sec +test 151 + Start 151: x86_64-ifunc-noplt + +151: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/ifunc-noplt.sh" +151: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +151: Environment variables: +151: MACHINE=x86_64 +151: CPU= +151: Test timeout computed to be: 1500 +126: + grep -q 'DW_FORM_line_strp pointing outside of .debug_line_str' out/test/elf/x86_64/gdb-index-dwarf64/log1 +126: + cc -B. -o out/test/elf/x86_64/gdb-index-dwarf64/exe2 out/test/elf/x86_64/gdb-index-dwarf64/f.so out/test/elf/x86_64/gdb-index-dwarf64/g.o -Wl,--gdb-index +101: + grep -q 'Hello world' +101: + on_exit +101: + echo OK +101: OK +101: + exit 0 +140/357 Test #101: x86_64-emit-relocs-dead-sections ........... Passed 0.96 sec +test 152 + Start 152: x86_64-ifunc-static-pie + +152: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/ifunc-static-pie.sh" +152: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +152: Environment variables: +152: MACHINE=x86_64 +152: CPU= +152: Test timeout computed to be: 1500 +151: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/ifunc-noplt.sh 151: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 151: ++ export LC_ALL=C 151: ++ LC_ALL=C @@ -9330,36 +9386,20 @@ 151: Testing ifunc-noplt ... ++ t=out/test/elf/x86_64/ifunc-noplt 151: ++ mkdir -p out/test/elf/x86_64/ifunc-noplt 151: + supports_ifunc -149: + cat -151: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' 151: + cc -c -o /dev/null -xc - -150: + supports_ifunc -149: + cc -c -fPIC -o out/test/elf/x86_64/ifunc-export/a.o -xc - -150: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -150: + cc -c -o /dev/null -xc - -147: + out/test/elf/x86_64/ifunc-dso/exe -147: + grep -q 'Hello world' -147: + on_exit -147: + echo OK -147: OK -147: + exit 0 -140/357 Test #147: x86_64-ifunc-dso ........................... Passed 0.27 sec -test 152 - Start 152: x86_64-ifunc-static-pie - -152: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/ifunc-static-pie.sh" -152: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -152: Environment variables: -152: MACHINE=x86_64 -152: CPU= -152: Test timeout computed to be: 1500 -150: + cat +151: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +144: + cc -B. -o out/test/elf/x86_64/ifunc-address-equality/exe1 out/test/elf/x86_64/ifunc-address-equality/a.o out/test/elf/x86_64/ifunc-address-equality/b.o out/test/elf/x86_64/ifunc-address-equality/c.o -no-pie +148: + cc -B. -o out/test/elf/x86_64/ifunc-dynamic/exe1 out/test/elf/x86_64/ifunc-dynamic/a.o -Wl,-z,lazy +147: + cc -fPIC -o out/test/elf/x86_64/ifunc-dso/b.o -c -xc - +147: + cat 150: + cc -c -fPIC -o out/test/elf/x86_64/ifunc-funcptr/a.o -c -xc - +150: + cat 152: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/ifunc-static-pie.sh +143: + out/test/elf/x86_64/ifunc-address-equality-exported/exe +143: + grep -Eq '^(\S+) \1' 152: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 152: ++ export LC_ALL=C 152: ++ LC_ALL=C -149: + cc -B. -shared -o out/test/elf/x86_64/ifunc-export/b.so out/test/elf/x86_64/ifunc-export/a.o 152: ++ '[' -z x86_64 ']' 152: ++ '[' -z '' ']' 152: ++ TESTDIR=out/test/elf/x86_64 @@ -9375,25 +9415,15 @@ 152: ++ tlsdesc_opt=-mtls-dialect=gnu2 152: ++ trap 'on_error $LINENO' ERR 152: ++ trap on_exit EXIT -152: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/ifunc-static-pie.sh .sh -152: ++ testname=ifunc-static-pie -152: ++ echo -n 'Testing ifunc-static-pie ... ' -152: Testing ifunc-static-pie ... ++ t=out/test/elf/x86_64/ifunc-static-pie -152: ++ mkdir -p out/test/elf/x86_64/ifunc-static-pie -144: + cc -B. -o out/test/elf/x86_64/ifunc-address-equality/exe1 out/test/elf/x86_64/ifunc-address-equality/a.o out/test/elf/x86_64/ifunc-address-equality/b.o out/test/elf/x86_64/ifunc-address-equality/c.o -no-pie -151: + cc -fPIC -o out/test/elf/x86_64/ifunc-noplt/a.o -c -xc - -fno-plt -152: + test_cflags -static-pie -151: + cat -152: + cc -static-pie -o /dev/null -xc - -152: + echo 'int main() {}' 146: + cc -B. -o out/test/elf/x86_64/ifunc-dlopen/c.so out/test/elf/x86_64/ifunc-dlopen/b.o -shared -149: + readelf --dyn-syms out/test/elf/x86_64/ifunc-export/b.so -149: + grep -Eq '(IFUNC|: 10)\s+GLOBAL DEFAULT.* foobar' -149: + on_exit -149: + echo OK -149: OK -149: + exit 0 -141/357 Test #149: x86_64-ifunc-export ........................ Passed 0.20 sec +145: + out/test/elf/x86_64/ifunc-alias/exe2 +145: + grep -Eq '^(\S+) \1$' +143: + on_exit +143: + echo OK +143: OK +143: + exit 0 +108: + out/test/elf/x86_64/exception/exe10 +141/357 Test #143: x86_64-ifunc-address-equality-exported ..... Passed 0.19 sec test 153 Start 153: x86_64-ifunc-static @@ -9403,11 +9433,31 @@ 153: MACHINE=x86_64 153: CPU= 153: Test timeout computed to be: 1500 -144: + out/test/elf/x86_64/ifunc-address-equality/exe1 -144: + grep -Eq '^(\S+) \1 (\S+) \2' -144: + readelf --dynamic out/test/elf/x86_64/ifunc-address-equality/exe1 +145: + on_exit +145: + echo OK +145: OK +145: + exit 0 +108: + '[' x86_64 '!=' riscv32 ']' +108: + c++ -B. -o out/test/elf/x86_64/exception/exe11 out/test/elf/x86_64/exception/b.o -pie +152: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/ifunc-static-pie.sh .sh +152: ++ testname=ifunc-static-pie +152: ++ echo -n 'Testing ifunc-static-pie ... ' +152: Testing ifunc-static-pie ... ++ t=out/test/elf/x86_64/ifunc-static-pie +152: ++ mkdir -p out/test/elf/x86_64/ifunc-static-pie +142/357 Test #145: x86_64-ifunc-alias ......................... Passed 0.16 sec +test 154 + Start 154: x86_64-image-base + +154: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/image-base.sh" +154: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +154: Environment variables: +154: MACHINE=x86_64 +154: CPU= +154: Test timeout computed to be: 1500 +152: + test_cflags -static-pie +152: + echo 'int main() {}' +152: + cc -static-pie -o /dev/null -xc - 153: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/ifunc-static.sh -144: + grep -q TEXTREL out/test/elf/x86_64/ifunc-address-equality/log1 153: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 153: ++ export LC_ALL=C 153: ++ LC_ALL=C @@ -9426,32 +9476,16 @@ 153: ++ tlsdesc_opt=-mtls-dialect=gnu2 153: ++ trap 'on_error $LINENO' ERR 153: ++ trap on_exit EXIT -150: + cc -c -fPIC -o out/test/elf/x86_64/ifunc-funcptr/b.o -xc - -150: + cat -146: + cc -B. -o out/test/elf/x86_64/ifunc-dlopen/exe out/test/elf/x86_64/ifunc-dlopen/a.o out/test/elf/x86_64/ifunc-dlopen/c.so -no-pie -ldl 153: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/ifunc-static.sh .sh -144: + on_exit -144: + echo OK -144: OK -144: + exit 0 -142/357 Test #144: x86_64-ifunc-address-equality .............. Passed 0.41 sec -test 154 - Start 154: x86_64-image-base - -154: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/image-base.sh" -154: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -154: Environment variables: -154: MACHINE=x86_64 -154: CPU= -154: Test timeout computed to be: 1500 153: ++ testname=ifunc-static 153: ++ echo -n 'Testing ifunc-static ... ' 153: Testing ifunc-static ... ++ t=out/test/elf/x86_64/ifunc-static 153: ++ mkdir -p out/test/elf/x86_64/ifunc-static 153: + test_cflags -static -153: + cc -static -o /dev/null -xc - 153: + echo 'int main() {}' 154: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/image-base.sh +149: + cc -B. -shared -o out/test/elf/x86_64/ifunc-export/b.so out/test/elf/x86_64/ifunc-export/a.o +153: + cc -static -o /dev/null -xc - 154: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 154: ++ export LC_ALL=C 154: ++ LC_ALL=C @@ -9471,20 +9505,37 @@ 154: ++ trap 'on_error $LINENO' ERR 154: ++ trap on_exit EXIT 154: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/image-base.sh .sh -151: + cc -B. -o out/test/elf/x86_64/ifunc-noplt/exe1 out/test/elf/x86_64/ifunc-noplt/a.o -pie 154: ++ testname=image-base 154: ++ echo -n 'Testing image-base ... ' 154: Testing image-base ... ++ t=out/test/elf/x86_64/image-base 154: ++ mkdir -p out/test/elf/x86_64/image-base 154: + cat 154: + cc -o out/test/elf/x86_64/image-base/a.o -c -xc - -146: + out/test/elf/x86_64/ifunc-dlopen/exe -146: + grep -q 'foo foo' -146: + on_exit -146: + echo OK -146: OK -146: + exit 0 -143/357 Test #146: x86_64-ifunc-dlopen ........................ Passed 0.42 sec +150: + cat +151: + cat +126: + grep -Fq .gdb_index +151: + cc -fPIC -o out/test/elf/x86_64/ifunc-noplt/a.o -c -xc - -fno-plt +126: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf64/exe2 +150: + cc -c -fPIC -o out/test/elf/x86_64/ifunc-funcptr/b.o -xc - +144: + out/test/elf/x86_64/ifunc-address-equality/exe1 +146: + cc -B. -o out/test/elf/x86_64/ifunc-dlopen/exe out/test/elf/x86_64/ifunc-dlopen/a.o out/test/elf/x86_64/ifunc-dlopen/c.so -no-pie -ldl +126: + grep -q 'Hello world' +126: + out/test/elf/x86_64/gdb-index-dwarf64/exe2 +144: + grep -Eq '^(\S+) \1 (\S+) \2' +126: + DEBUGINFOD_URLS= +126: + gdb out/test/elf/x86_64/gdb-index-dwarf64/exe2 -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit +144: + readelf --dynamic out/test/elf/x86_64/ifunc-address-equality/exe1 +147: + cc -B. -o out/test/elf/x86_64/ifunc-dso/c.so out/test/elf/x86_64/ifunc-dso/b.o -shared +148: + grep -q 'Hello world' +144: + grep -q TEXTREL out/test/elf/x86_64/ifunc-address-equality/log1 +108: + strip out/test/elf/x86_64/exception/exe11 +108: + out/test/elf/x86_64/exception/exe11 +144: + on_exit +144: + echo OK +144: OK +144: + exit 0 +148: + out/test/elf/x86_64/ifunc-dynamic/exe1 +143/357 Test #144: x86_64-ifunc-address-equality .............. Passed 0.22 sec test 155 Start 155: x86_64-init-array-priorities @@ -9494,7 +9545,8 @@ 155: MACHINE=x86_64 155: CPU= 155: Test timeout computed to be: 1500 -151: + out/test/elf/x86_64/ifunc-noplt/exe1 +148: + cc -B. -o out/test/elf/x86_64/ifunc-dynamic/exe2 out/test/elf/x86_64/ifunc-dynamic/a.o -Wl,-z,now +108: + c++ -B. -o out/test/elf/x86_64/exception/exe12 out/test/elf/x86_64/exception/c.o -no-pie 155: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/init-array-priorities.sh 155: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 155: ++ export LC_ALL=C @@ -9514,27 +9566,19 @@ 155: ++ tlsdesc_opt=-mtls-dialect=gnu2 155: ++ trap 'on_error $LINENO' ERR 155: ++ trap on_exit EXIT -151: + grep -q 'Hello world' 155: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/init-array-priorities.sh .sh -151: + cc -B. -o out/test/elf/x86_64/ifunc-noplt/exe2 out/test/elf/x86_64/ifunc-noplt/a.o -no-pie +149: + grep -Eq '(IFUNC|: 10)\s+GLOBAL DEFAULT.* foobar' +149: + readelf --dyn-syms out/test/elf/x86_64/ifunc-export/b.so 155: ++ testname=init-array-priorities 155: ++ echo -n 'Testing init-array-priorities ... ' 155: Testing init-array-priorities ... ++ t=out/test/elf/x86_64/init-array-priorities 155: ++ mkdir -p out/test/elf/x86_64/init-array-priorities -150: + cc -c -fPIC -o out/test/elf/x86_64/ifunc-funcptr/c.o -xc - -150: + cat 155: + is_musl -155: + ldd --help -155: + grep -q musl -155: + cat -155: + cc -c -o out/test/elf/x86_64/init-array-priorities/a.o -xc - -151: + out/test/elf/x86_64/ifunc-noplt/exe2 -151: + grep -q 'Hello world' -151: + on_exit -151: + echo OK -151: OK -151: + exit 0 -144/357 Test #151: x86_64-ifunc-noplt ......................... Passed 0.28 sec +149: + on_exit +149: + echo OK +149: OK +149: + exit 0 +144/357 Test #149: x86_64-ifunc-export ........................ Passed 0.14 sec test 156 Start 156: x86_64-init-in-dso @@ -9544,7 +9588,31 @@ 156: MACHINE=x86_64 156: CPU= 156: Test timeout computed to be: 1500 +155: + ldd --help +155: + grep -q musl +155: + cat +155: + cc -c -o out/test/elf/x86_64/init-array-priorities/a.o -xc - +154: + cc -B. -no-pie -o out/test/elf/x86_64/image-base/exe1 out/test/elf/x86_64/image-base/a.o -Wl,--image-base=0x8000000 +151: + cc -B. -o out/test/elf/x86_64/ifunc-noplt/exe1 out/test/elf/x86_64/ifunc-noplt/a.o -pie +146: + grep -q 'foo foo' +146: + out/test/elf/x86_64/ifunc-dlopen/exe +150: + cat +150: + cc -c -fPIC -o out/test/elf/x86_64/ifunc-funcptr/c.o -xc - 156: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/init-in-dso.sh +146: + on_exit +146: + echo OK +146: OK +146: + exit 0 +145/357 Test #146: x86_64-ifunc-dlopen ........................ Passed 0.20 sec +test 157 + Start 157: x86_64-init + +157: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/init.sh" +157: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +157: Environment variables: +157: MACHINE=x86_64 +157: CPU= +157: Test timeout computed to be: 1500 156: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 156: ++ export LC_ALL=C 156: ++ LC_ALL=C @@ -9568,69 +9636,48 @@ 156: ++ echo -n 'Testing init-in-dso ... ' 156: Testing init-in-dso ... ++ t=out/test/elf/x86_64/init-in-dso 156: ++ mkdir -p out/test/elf/x86_64/init-in-dso +147: + grep -Eq '(IFUNC|: 10).*foobar' +147: + readelf -W --dyn-syms out/test/elf/x86_64/ifunc-dso/c.so +157: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/init.sh +157: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc +157: ++ export LC_ALL=C +157: ++ LC_ALL=C +157: ++ '[' -z x86_64 ']' +157: ++ '[' -z '' ']' +157: ++ TESTDIR=out/test/elf/x86_64 +157: ++ CC=cc +157: ++ CXX=c++ +157: ++ GCC=gcc +157: ++ GXX=g++ +157: ++ OBJDUMP=objdump +157: ++ OBJCOPY=objcopy +157: ++ STRIP=strip +157: ++ QEMU= +157: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' +157: ++ tlsdesc_opt=-mtls-dialect=gnu2 +157: ++ trap 'on_error $LINENO' ERR +157: ++ trap on_exit EXIT +157: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/init.sh .sh +147: + cc -B. -o out/test/elf/x86_64/ifunc-dso/exe out/test/elf/x86_64/ifunc-dso/a.o out/test/elf/x86_64/ifunc-dso/c.so +157: ++ testname=init +157: ++ echo -n 'Testing init ... ' +157: Testing init ... ++ t=out/test/elf/x86_64/init +157: ++ mkdir -p out/test/elf/x86_64/init 156: + cat 156: + cc -shared -o out/test/elf/x86_64/init-in-dso/a.so -xc - -150: + cc -B. -o out/test/elf/x86_64/ifunc-funcptr/exe1 out/test/elf/x86_64/ifunc-funcptr/a.o out/test/elf/x86_64/ifunc-funcptr/b.o out/test/elf/x86_64/ifunc-funcptr/c.o -pie -152: + supports_ifunc -152: + cc -c -o /dev/null -xc - -152: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -154: + cc -B. -no-pie -o out/test/elf/x86_64/image-base/exe1 out/test/elf/x86_64/image-base/a.o -Wl,--image-base=0x8000000 -126: + grep -q 'DW_FORM_line_strp pointing outside of .debug_line_str' out/test/elf/x86_64/gdb-index-dwarf64/log1 -155: + cat -155: + cc -c -o out/test/elf/x86_64/init-array-priorities/b.o -xc - -126: + cc -B. -o out/test/elf/x86_64/gdb-index-dwarf64/exe2 out/test/elf/x86_64/gdb-index-dwarf64/f.so out/test/elf/x86_64/gdb-index-dwarf64/g.o -Wl,--gdb-index -153: + supports_ifunc -153: + cc -c -o /dev/null -xc - -153: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' -150: + out/test/elf/x86_64/ifunc-funcptr/exe1 -150: + grep -q '^3$' -150: + cc -B. -o out/test/elf/x86_64/ifunc-funcptr/exe2 out/test/elf/x86_64/ifunc-funcptr/a.o out/test/elf/x86_64/ifunc-funcptr/b.o out/test/elf/x86_64/ifunc-funcptr/c.o -no-pie -123: + grep -q 'hello2 () at .*:7' out/test/elf/x86_64/gdb-index-dwarf3/log -125: + grep -q 'fn8 () at .*/d.c:6' out/test/elf/x86_64/gdb-index-dwarf5/log -125: + grep -q 'fn7 () at .*/d.c:10' out/test/elf/x86_64/gdb-index-dwarf5/log -121: + grep -q 'hello () at .*:7' out/test/elf/x86_64/gdb-index-compress-output/log -123: + grep -q 'hello () at .*:4' out/test/elf/x86_64/gdb-index-dwarf3/log -124: + grep -q 'hello2 () at .*:7' out/test/elf/x86_64/gdb-index-dwarf4/log -121: + grep -q 'greet () at .*:11' out/test/elf/x86_64/gdb-index-compress-output/log -154: + out/test/elf/x86_64/image-base/exe1 -122: + grep -q 'hello2 () at .*:7' out/test/elf/x86_64/gdb-index-dwarf2/log -125: + grep -q 'fn6 () at .*/c.c:4' out/test/elf/x86_64/gdb-index-dwarf5/log +157: + cat +157: + cc -o out/test/elf/x86_64/init/a.o -c -xc - +108: + strip out/test/elf/x86_64/exception/exe12 +148: + out/test/elf/x86_64/ifunc-dynamic/exe2 +148: + grep -q 'Hello world' 154: + grep -q 'Hello world' -124: + grep -q 'hello () at .*:4' out/test/elf/x86_64/gdb-index-dwarf4/log -123: + grep -q 'greet () at .*:8' out/test/elf/x86_64/gdb-index-dwarf3/log -121: + grep -q 'main () at .*:4' out/test/elf/x86_64/gdb-index-compress-output/log -125: + grep -q 'fn5 () at .*/c.c:8' out/test/elf/x86_64/gdb-index-dwarf5/log -123: + grep -q 'main () at .*:4' out/test/elf/x86_64/gdb-index-dwarf3/log -154: + grep -Eq '.interp\s+PROGBITS\s+0*8000...\b' -121: + on_exit -121: + echo OK -121: OK -121: + exit 0 -154: + readelf -W --sections out/test/elf/x86_64/image-base/exe1 -152: + cat -124: + grep -q 'greet () at .*:8' out/test/elf/x86_64/gdb-index-dwarf4/log -145/357 Test #121: x86_64-gdb-index-compress-output ........... Passed 1.53 sec -test 157 - Start 157: x86_64-init - -157: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/init.sh" -157: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -157: Environment variables: -157: MACHINE=x86_64 -157: CPU= -157: Test timeout computed to be: 1500 -124: + grep -q 'main () at .*:4' out/test/elf/x86_64/gdb-index-dwarf4/log -122: + grep -q 'hello () at .*:4' out/test/elf/x86_64/gdb-index-dwarf2/log -125: + grep -q 'fn4 () at .*/b.c:4' out/test/elf/x86_64/gdb-index-dwarf5/log -125: + grep -q 'fn3 () at .*/b.c:8' out/test/elf/x86_64/gdb-index-dwarf5/log -154: + cat -154: + cc -o out/test/elf/x86_64/image-base/b.o -c -xc - -152: + cc -o out/test/elf/x86_64/ifunc-static-pie/a.o -c -xc - -fPIC -123: + on_exit -123: + echo OK -123: OK -123: + exit 0 -146/357 Test #123: x86_64-gdb-index-dwarf3 .................... Passed 1.49 sec +154: + out/test/elf/x86_64/image-base/exe1 +148: + on_exit +148: + echo OK +148: OK +148: + exit 0 +108: + out/test/elf/x86_64/exception/exe12 +146/357 Test #148: x86_64-ifunc-dynamic ....................... Passed 0.17 sec test 158 Start 158: x86_64-initfirst @@ -9640,15 +9687,12 @@ 158: MACHINE=x86_64 158: CPU= 158: Test timeout computed to be: 1500 -124: + on_exit -124: + echo OK -124: OK -124: + exit 0 -125: + grep -q 'fn2 () at .*/a.c:4' out/test/elf/x86_64/gdb-index-dwarf5/log -125: + grep -q 'fn1 () at .*/a.c:8' out/test/elf/x86_64/gdb-index-dwarf5/log -126: + grep -Fq .gdb_index -126: + readelf -WS out/test/elf/x86_64/gdb-index-dwarf64/exe2 -147/357 Test #124: x86_64-gdb-index-dwarf4 .................... Passed 1.49 sec +108: + on_exit +108: + echo OK +108: OK +108: + exit 0 +154: + readelf -W --sections out/test/elf/x86_64/image-base/exe1 +147/357 Test #108: x86_64-exception ........................... Passed 0.98 sec test 159 Start 159: x86_64-interpose @@ -9658,13 +9702,6 @@ 159: MACHINE=x86_64 159: CPU= 159: Test timeout computed to be: 1500 -125: + on_exit -125: + echo OK -125: OK -125: + exit 0 -126: + out/test/elf/x86_64/gdb-index-dwarf64/exe2 -126: + grep -q 'Hello world' -122: + grep -q 'greet () at .*:8' out/test/elf/x86_64/gdb-index-dwarf2/log 158: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/initfirst.sh 158: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 158: ++ export LC_ALL=C @@ -9685,24 +9722,17 @@ 158: ++ trap 'on_error $LINENO' ERR 158: ++ trap on_exit EXIT 158: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/initfirst.sh .sh -148/357 Test #125: x86_64-gdb-index-dwarf5 .................... Passed 1.40 sec -test 160 - Start 160: x86_64-invalid-version-script - -160: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/invalid-version-script.sh" -160: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -160: Environment variables: -160: MACHINE=x86_64 -160: CPU= -160: Test timeout computed to be: 1500 -126: + DEBUGINFOD_URLS= -126: + gdb out/test/elf/x86_64/gdb-index-dwarf64/exe2 -nx -batch -ex 'b main' -ex r -ex 'b trap' -ex c -ex bt -ex quit -122: + grep -q 'main () at .*:4' out/test/elf/x86_64/gdb-index-dwarf2/log +154: + grep -Eq '.interp\s+PROGBITS\s+0*8000...\b' +159: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/interpose.sh +152: + supports_ifunc +155: + cat +155: + cc -c -o out/test/elf/x86_64/init-array-priorities/b.o -xc - +152: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' 158: ++ testname=initfirst 158: ++ echo -n 'Testing initfirst ... ' 158: Testing initfirst ... ++ t=out/test/elf/x86_64/initfirst 158: ++ mkdir -p out/test/elf/x86_64/initfirst -159: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/interpose.sh +152: + cc -c -o /dev/null -xc - 159: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 159: ++ export LC_ALL=C 159: ++ LC_ALL=C @@ -9721,56 +9751,42 @@ 159: ++ tlsdesc_opt=-mtls-dialect=gnu2 159: ++ trap 'on_error $LINENO' ERR 159: ++ trap on_exit EXIT -150: + out/test/elf/x86_64/ifunc-funcptr/exe2 -150: + grep -q '^3$' -150: + on_exit -150: + echo OK -150: OK -150: + exit 0 -157: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/init.sh -157: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc -157: ++ export LC_ALL=C -157: ++ LC_ALL=C -157: ++ '[' -z x86_64 ']' -157: ++ '[' -z '' ']' -157: ++ TESTDIR=out/test/elf/x86_64 -157: ++ CC=cc -157: ++ CXX=c++ -157: ++ GCC=gcc -157: ++ GXX=g++ -157: ++ OBJDUMP=objdump -157: ++ OBJCOPY=objcopy -157: ++ STRIP=strip -157: ++ QEMU= -157: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' -157: ++ tlsdesc_opt=-mtls-dialect=gnu2 -157: ++ trap 'on_error $LINENO' ERR -157: ++ trap on_exit EXIT -157: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/init.sh .sh -157: ++ testname=init -157: ++ echo -n 'Testing init ... ' -157: Testing init ... ++ t=out/test/elf/x86_64/init -157: ++ mkdir -p out/test/elf/x86_64/init -158: + cc -c -fPIC -o out/test/elf/x86_64/initfirst/a.o -xc - +154: + cat +154: + cc -o out/test/elf/x86_64/image-base/b.o -c -xc - 159: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/interpose.sh .sh -160: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/invalid-version-script.sh -149/357 Test #150: x86_64-ifunc-funcptr ....................... Passed 0.40 sec -test 161 - Start 161: x86_64-issue646 - -161: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/issue646.sh" -161: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -161: Environment variables: -161: MACHINE=x86_64 -161: CPU= -161: Test timeout computed to be: 1500 158: + cat 159: ++ testname=interpose 159: ++ echo -n 'Testing interpose ... ' 159: Testing interpose ... ++ t=out/test/elf/x86_64/interpose 159: ++ mkdir -p out/test/elf/x86_64/interpose +158: + cc -c -fPIC -o out/test/elf/x86_64/initfirst/a.o -xc - +153: + supports_ifunc 159: + cat 159: + cc -c -fPIC -o out/test/elf/x86_64/interpose/a.o -xc - +153: + echo 'void x() __attribute__((ifunc("y"))); void *y() { return 0; }' +153: + cc -c -o /dev/null -xc - +150: + cc -B. -o out/test/elf/x86_64/ifunc-funcptr/exe1 out/test/elf/x86_64/ifunc-funcptr/a.o out/test/elf/x86_64/ifunc-funcptr/b.o out/test/elf/x86_64/ifunc-funcptr/c.o -pie +147: + grep -q 'Hello world' +151: + grep -q 'Hello world' +151: + out/test/elf/x86_64/ifunc-noplt/exe1 +147: + out/test/elf/x86_64/ifunc-dso/exe +147: + on_exit +147: + echo OK +147: OK +147: + exit 0 +151: + cc -B. -o out/test/elf/x86_64/ifunc-noplt/exe2 out/test/elf/x86_64/ifunc-noplt/a.o -no-pie +157: + cc -B. -o out/test/elf/x86_64/init/exe out/test/elf/x86_64/init/a.o -Wl,-init,foo +148/357 Test #147: x86_64-ifunc-dso ........................... Passed 0.22 sec +test 160 + Start 160: x86_64-invalid-version-script + +160: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/invalid-version-script.sh" +160: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +160: Environment variables: +160: MACHINE=x86_64 +160: CPU= +160: Test timeout computed to be: 1500 +160: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/invalid-version-script.sh 160: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 160: ++ export LC_ALL=C 160: ++ LC_ALL=C @@ -9794,25 +9810,31 @@ 160: ++ echo -n 'Testing invalid-version-script ... ' 160: Testing invalid-version-script ... ++ t=out/test/elf/x86_64/invalid-version-script 160: ++ mkdir -p out/test/elf/x86_64/invalid-version-script +152: + cat +152: + cc -o out/test/elf/x86_64/ifunc-static-pie/a.o -c -xc - -fPIC 160: + echo 'int main() {}' 160: + cc -c -o out/test/elf/x86_64/invalid-version-script/a.o -xc - -122: + on_exit -122: + echo OK -122: OK -122: + exit 0 -157: + cat -157: + cc -o out/test/elf/x86_64/init/a.o -c -xc - -161: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/issue646.sh -150/357 Test #122: x86_64-gdb-index-dwarf2 .................... Passed 1.56 sec -test 162 - Start 162: x86_64-large-alignment-dso +155: + cat +155: + cc -c -o out/test/elf/x86_64/init-array-priorities/c.o -xc - +159: + cc -B. -shared -o out/test/elf/x86_64/interpose/b.so out/test/elf/x86_64/interpose/a.o -Wl,-z,interpose +154: + '[' x86_64 = x86-64 -o x86_64 = aarch64 ']' +154: + on_exit +154: + echo OK +154: OK +154: + exit 0 +158: + cc -B. -shared -o out/test/elf/x86_64/initfirst/b.so out/test/elf/x86_64/initfirst/a.o -Wl,-z,initfirst +149/357 Test #154: x86_64-image-base .......................... Passed 0.12 sec +test 161 + Start 161: x86_64-issue646 -162: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/large-alignment-dso.sh" -162: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -162: Environment variables: -162: MACHINE=x86_64 -162: CPU= -162: Test timeout computed to be: 1500 +161: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/issue646.sh" +161: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +161: Environment variables: +161: MACHINE=x86_64 +161: CPU= +161: Test timeout computed to be: 1500 +156: + cat +161: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/issue646.sh 161: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 161: ++ export LC_ALL=C 161: ++ LC_ALL=C @@ -9831,30 +9853,43 @@ 161: ++ tlsdesc_opt=-mtls-dialect=gnu2 161: ++ trap 'on_error $LINENO' ERR 161: ++ trap on_exit EXIT +153: + cc -o out/test/elf/x86_64/ifunc-static/a.o -c -xc - 161: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/issue646.sh .sh 161: ++ testname=issue646 161: ++ echo -n 'Testing issue646 ... ' 161: Testing issue646 ... ++ t=out/test/elf/x86_64/issue646 161: ++ mkdir -p out/test/elf/x86_64/issue646 -154: + '[' x86_64 = x86-64 -o x86_64 = aarch64 ']' -154: + on_exit -154: + echo OK -154: OK -154: + exit 0 -151/357 Test #154: x86_64-image-base .......................... Passed 0.26 sec -test 163 - Start 163: x86_64-large-alignment - -163: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/large-alignment.sh" -163: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -163: Environment variables: -163: MACHINE=x86_64 -163: CPU= -163: Test timeout computed to be: 1500 161: + '[' x86_64 = m68k ']' 161: + '[' x86_64 = sh4 ']' +156: + cc -o out/test/elf/x86_64/init-in-dso/b.o -c -xc - 161: + cat +153: + cat 161: + c++ -o out/test/elf/x86_64/issue646/a.o -c -xc++ - +150: + out/test/elf/x86_64/ifunc-funcptr/exe1 +150: + grep -q '^3$' +150: + cc -B. -o out/test/elf/x86_64/ifunc-funcptr/exe2 out/test/elf/x86_64/ifunc-funcptr/a.o out/test/elf/x86_64/ifunc-funcptr/b.o out/test/elf/x86_64/ifunc-funcptr/c.o -no-pie +151: + grep -q 'Hello world' +160: + echo 'VER1 { foo[12; };' +160: + cc -B. -shared -o out/test/elf/x86_64/invalid-version-script/c.so -Wl,-version-script,out/test/elf/x86_64/invalid-version-script/b.ver out/test/elf/x86_64/invalid-version-script/a.o +151: + out/test/elf/x86_64/ifunc-noplt/exe2 +151: + on_exit +151: + echo OK +151: OK +151: + exit 0 +150/357 Test #151: x86_64-ifunc-noplt ......................... Passed 0.17 sec +test 162 + Start 162: x86_64-large-alignment-dso + +162: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/large-alignment-dso.sh" +162: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +162: Environment variables: +162: MACHINE=x86_64 +162: CPU= +162: Test timeout computed to be: 1500 +155: + cat +155: + cc -c -o out/test/elf/x86_64/init-array-priorities/d.o -xc - +157: + readelf --dynamic out/test/elf/x86_64/init/exe +157: + grep -Fq '(INIT)' 162: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/large-alignment-dso.sh 162: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 162: ++ export LC_ALL=C @@ -9879,7 +9914,45 @@ 162: ++ echo -n 'Testing large-alignment-dso ... ' 162: Testing large-alignment-dso ... ++ t=out/test/elf/x86_64/large-alignment-dso 162: ++ mkdir -p out/test/elf/x86_64/large-alignment-dso +152: + cc -B. -o out/test/elf/x86_64/ifunc-static-pie/exe2 out/test/elf/x86_64/ifunc-static-pie/a.o -static-pie 162: + '[' x86_64 = i686 ']' +157: + cc -B. -o out/test/elf/x86_64/init/exe out/test/elf/x86_64/init/a.o -Wl,-init,no-such-symbol +158: + grep -q 'Flags:.*INITFIRST' +162: + cat +159: + readelf --dynamic out/test/elf/x86_64/interpose/b.so +159: + grep -q 'Flags:.*INTERPOSE' +158: + readelf --dynamic out/test/elf/x86_64/initfirst/b.so +156: + cc -B. -o out/test/elf/x86_64/init-in-dso/exe out/test/elf/x86_64/init-in-dso/a.so out/test/elf/x86_64/init-in-dso/b.o -Wl,-init,foo +158: + on_exit +158: + echo OK +158: OK +158: + exit 0 +162: + cc -o out/test/elf/x86_64/large-alignment-dso/a.o -c -xc - -ffunction-sections -fPIC +153: + cc -B. -o out/test/elf/x86_64/ifunc-static/exe out/test/elf/x86_64/ifunc-static/a.o -static +159: + on_exit +159: + echo OK +159: OK +159: + exit 0 +151/357 Test #158: x86_64-initfirst ........................... Passed 0.08 sec +test 163 + Start 163: x86_64-large-alignment + +163: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/large-alignment.sh" +163: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +163: Environment variables: +163: MACHINE=x86_64 +163: CPU= +163: Test timeout computed to be: 1500 +152/357 Test #159: x86_64-interpose ........................... Passed 0.08 sec +test 164 + Start 164: x86_64-large-max-page-size-strip + +164: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/large-max-page-size-strip.sh" +164: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +164: Environment variables: +164: MACHINE=x86_64 +164: CPU= +164: Test timeout computed to be: 1500 163: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/large-alignment.sh 163: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 163: ++ export LC_ALL=C @@ -9899,55 +9972,14 @@ 163: ++ tlsdesc_opt=-mtls-dialect=gnu2 163: ++ trap 'on_error $LINENO' ERR 163: ++ trap on_exit EXIT -162: + cat -162: + cc -o out/test/elf/x86_64/large-alignment-dso/a.o -c -xc - -ffunction-sections -fPIC 163: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/large-alignment.sh .sh -155: + cc -c -o out/test/elf/x86_64/init-array-priorities/c.o -xc - 163: ++ testname=large-alignment 163: ++ echo -n 'Testing large-alignment ... ' 163: Testing large-alignment ... ++ t=out/test/elf/x86_64/large-alignment 163: ++ mkdir -p out/test/elf/x86_64/large-alignment -155: + cat 163: + '[' x86_64 = i686 ']' -163: + cat -163: + cc -o out/test/elf/x86_64/large-alignment/a.o -c -xc - -ffunction-sections -153: + cat -153: + cc -o out/test/elf/x86_64/ifunc-static/a.o -c -xc - -157: + cc -B. -o out/test/elf/x86_64/init/exe out/test/elf/x86_64/init/a.o -Wl,-init,foo -159: + cc -B. -shared -o out/test/elf/x86_64/interpose/b.so out/test/elf/x86_64/interpose/a.o -Wl,-z,interpose -152: + cc -B. -o out/test/elf/x86_64/ifunc-static-pie/exe2 out/test/elf/x86_64/ifunc-static-pie/a.o -static-pie -158: + cc -B. -shared -o out/test/elf/x86_64/initfirst/b.so out/test/elf/x86_64/initfirst/a.o -Wl,-z,initfirst -155: + cat -155: + cc -c -o out/test/elf/x86_64/init-array-priorities/d.o -xc - -162: + cc -B. -o out/test/elf/x86_64/large-alignment-dso/b.so out/test/elf/x86_64/large-alignment-dso/a.o -shared -160: + echo 'VER1 { foo[12; };' -160: + cc -B. -shared -o out/test/elf/x86_64/invalid-version-script/c.so -Wl,-version-script,out/test/elf/x86_64/invalid-version-script/b.ver out/test/elf/x86_64/invalid-version-script/a.o -156: + cc -o out/test/elf/x86_64/init-in-dso/b.o -c -xc - -157: + grep -Fq '(INIT)' -156: + cat -157: + readelf --dynamic out/test/elf/x86_64/init/exe -153: + cc -B. -o out/test/elf/x86_64/ifunc-static/exe out/test/elf/x86_64/ifunc-static/a.o -static -163: + cc -B. -o out/test/elf/x86_64/large-alignment/exe out/test/elf/x86_64/large-alignment/a.o -162: + cc -o out/test/elf/x86_64/large-alignment-dso/c.o -c -xc - -157: + cc -B. -o out/test/elf/x86_64/init/exe out/test/elf/x86_64/init/a.o -Wl,-init,no-such-symbol -162: + cat -159: + grep -q 'Flags:.*INTERPOSE' -159: + readelf --dynamic out/test/elf/x86_64/interpose/b.so -159: + on_exit -159: + echo OK -159: OK -159: + exit 0 -152/357 Test #159: x86_64-interpose ........................... Passed 0.13 sec -test 164 - Start 164: x86_64-large-max-page-size-strip - -164: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/large-max-page-size-strip.sh" -164: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -164: Environment variables: -164: MACHINE=x86_64 -164: CPU= -164: Test timeout computed to be: 1500 164: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/large-max-page-size-strip.sh +163: + cat 164: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 164: ++ export LC_ALL=C 164: ++ LC_ALL=C @@ -9971,18 +10003,19 @@ 164: ++ echo -n 'Testing large-max-page-size-strip ... ' 164: Testing large-max-page-size-strip ... ++ t=out/test/elf/x86_64/large-max-page-size-strip 164: ++ mkdir -p out/test/elf/x86_64/large-max-page-size-strip -158: + grep -q 'Flags:.*INITFIRST' -158: + readelf --dynamic out/test/elf/x86_64/initfirst/b.so +150: + out/test/elf/x86_64/ifunc-funcptr/exe2 +163: + cc -o out/test/elf/x86_64/large-alignment/a.o -c -xc - -ffunction-sections 164: + '[' x86_64 = arm ']' 164: + strip=strip 164: + command -v strip +150: + grep -q '^3$' 164: + cc -o out/test/elf/x86_64/large-max-page-size-strip/a.o -c -xc - -fPIC 164: + cat -158: + on_exit -158: + echo OK -158: OK -158: + exit 0 -153/357 Test #158: x86_64-initfirst ........................... Passed 0.17 sec +150: + on_exit +150: + echo OK +150: OK +150: + exit 0 +153/357 Test #150: x86_64-ifunc-funcptr ....................... Passed 0.25 sec test 165 Start 165: x86_64-large-max-page-size @@ -9992,12 +10025,20 @@ 165: MACHINE=x86_64 165: CPU= 165: Test timeout computed to be: 1500 +157: + readelf --dynamic out/test/elf/x86_64/init/exe 155: + cat 155: + cc -c -o out/test/elf/x86_64/init-array-priorities/e.o -xc - +162: + cc -B. -o out/test/elf/x86_64/large-alignment-dso/b.so out/test/elf/x86_64/large-alignment-dso/a.o -shared +160: + grep -q 'invalid version pattern' out/test/elf/x86_64/invalid-version-script/log 165: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/large-max-page-size.sh 165: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 165: ++ export LC_ALL=C 165: ++ LC_ALL=C +157: + grep -Fq '(INIT)' out/test/elf/x86_64/init/log +160: + on_exit +160: + echo OK +160: OK +160: + exit 0 165: ++ '[' -z x86_64 ']' 165: ++ '[' -z '' ']' 165: ++ TESTDIR=out/test/elf/x86_64 @@ -10013,16 +10054,13 @@ 165: ++ tlsdesc_opt=-mtls-dialect=gnu2 165: ++ trap 'on_error $LINENO' ERR 165: ++ trap on_exit EXIT +157: + on_exit +157: + echo OK +157: OK +157: + exit 0 +156: + readelf --dynamic out/test/elf/x86_64/init-in-dso/exe 165: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/large-max-page-size.sh .sh -152: + out/test/elf/x86_64/ifunc-static-pie/exe2 -152: + grep -q 'Hello world' -152: + on_exit -152: + echo OK -152: OK -152: + exit 0 -163: + out/test/elf/x86_64/large-alignment/exe -163: + grep -q 'Hello world' -154/357 Test #152: x86_64-ifunc-static-pie .................... Passed 0.50 sec +154/357 Test #157: x86_64-init ................................ Passed 0.13 sec test 166 Start 166: x86_64-large-text @@ -10032,19 +10070,7 @@ 166: MACHINE=x86_64 166: CPU= 166: Test timeout computed to be: 1500 -163: + on_exit -163: + echo OK -163: OK -163: + exit 0 -165: ++ testname=large-max-page-size -165: ++ echo -n 'Testing large-max-page-size ... ' -165: Testing large-max-page-size ... ++ t=out/test/elf/x86_64/large-max-page-size -165: ++ mkdir -p out/test/elf/x86_64/large-max-page-size -165: + cc -o out/test/elf/x86_64/large-max-page-size/a.o -c -xc - -fPIC -165: + cat -157: + readelf --dynamic out/test/elf/x86_64/init/exe -157: + grep -Fq '(INIT)' out/test/elf/x86_64/init/log -155/357 Test #163: x86_64-large-alignment ..................... Passed 0.16 sec +155/357 Test #160: x86_64-invalid-version-script .............. Passed 0.09 sec test 167 Start 167: x86_64-link-order @@ -10054,13 +10080,16 @@ 167: MACHINE=x86_64 167: CPU= 167: Test timeout computed to be: 1500 -160: + grep -q 'invalid version pattern' out/test/elf/x86_64/invalid-version-script/log -160: + on_exit -160: + echo OK -160: OK -160: + exit 0 -166: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/large-text.sh -156/357 Test #160: x86_64-invalid-version-script .............. Passed 0.19 sec +165: ++ testname=large-max-page-size +165: ++ echo -n 'Testing large-max-page-size ... ' +165: Testing large-max-page-size ... ++ t=out/test/elf/x86_64/large-max-page-size +165: ++ mkdir -p out/test/elf/x86_64/large-max-page-size +156: + grep -Fq '(INIT)' out/test/elf/x86_64/init-in-dso/log +156: + on_exit +156: + echo OK +156: OK +156: + exit 0 +156/357 Test #156: x86_64-init-in-dso ......................... Passed 0.16 sec test 168 Start 168: x86_64-linker-script-defsym @@ -10070,10 +10099,8 @@ 168: MACHINE=x86_64 168: CPU= 168: Test timeout computed to be: 1500 -157: + on_exit -157: + echo OK -157: OK -157: + exit 0 +165: + cat +165: + cc -o out/test/elf/x86_64/large-max-page-size/a.o -c -xc - -fPIC 167: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/link-order.sh 167: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 167: ++ export LC_ALL=C @@ -10094,6 +10121,7 @@ 167: ++ trap 'on_error $LINENO' ERR 167: ++ trap on_exit EXIT 167: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/link-order.sh .sh +166: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/large-text.sh 167: ++ testname=link-order 167: ++ echo -n 'Testing link-order ... ' 167: Testing link-order ... ++ t=out/test/elf/x86_64/link-order @@ -10121,22 +10149,9 @@ 166: ++ echo -n 'Testing large-text ... ' 166: Testing large-text ... ++ t=out/test/elf/x86_64/large-text 166: ++ mkdir -p out/test/elf/x86_64/large-text -157/357 Test #157: x86_64-init ................................ Passed 0.21 sec -test 169 - Start 169: x86_64-linker-script-relocatable - -169: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/linker-script-relocatable.sh" -169: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -169: Environment variables: -169: MACHINE=x86_64 -169: CPU= -169: Test timeout computed to be: 1500 -167: + cat -167: + cc -fPIC -c -o out/test/elf/x86_64/link-order/a.o -xc - -166: + cc -o out/test/elf/x86_64/large-text/a.o -c -xassembler - -166: + cat -156: + cc -B. -o out/test/elf/x86_64/init-in-dso/exe out/test/elf/x86_64/init-in-dso/a.so out/test/elf/x86_64/init-in-dso/b.o -Wl,-init,foo 168: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/linker-script-defsym.sh +167: + cc -fPIC -c -o out/test/elf/x86_64/link-order/a.o -xc - +167: + cat 168: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 168: ++ export LC_ALL=C 168: ++ LC_ALL=C @@ -10155,15 +10170,48 @@ 168: ++ tlsdesc_opt=-mtls-dialect=gnu2 168: ++ trap 'on_error $LINENO' ERR 168: ++ trap on_exit EXIT +164: + cc -B. -o out/test/elf/x86_64/large-max-page-size-strip/exe out/test/elf/x86_64/large-max-page-size-strip/a.o -pie -Wl,-zmax-page-size=0x200000 +166: + cc -o out/test/elf/x86_64/large-text/a.o -c -xassembler - +152: + out/test/elf/x86_64/ifunc-static-pie/exe2 168: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/linker-script-defsym.sh .sh +166: + cat +153: + out/test/elf/x86_64/ifunc-static/exe +153: + grep -q 'Hello world' +152: + grep -q 'Hello world' +152: + on_exit +152: + echo OK +152: OK 168: ++ testname=linker-script-defsym 168: ++ echo -n 'Testing linker-script-defsym ... ' 168: Testing linker-script-defsym ... ++ t=out/test/elf/x86_64/linker-script-defsym 168: ++ mkdir -p out/test/elf/x86_64/linker-script-defsym +152: + exit 0 +153: + on_exit +153: + echo OK +153: OK +153: + exit 0 +157/357 Test #152: x86_64-ifunc-static-pie .................... Passed 0.23 sec +test 169 + Start 169: x86_64-linker-script-relocatable + +169: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/linker-script-relocatable.sh" +169: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +169: Environment variables: +169: MACHINE=x86_64 +169: CPU= +169: Test timeout computed to be: 1500 +158/357 Test #153: x86_64-ifunc-static ........................ Passed 0.23 sec +test 170 + Start 170: x86_64-linker-script + +170: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/linker-script.sh" +170: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +170: Environment variables: +170: MACHINE=x86_64 +170: CPU= +170: Test timeout computed to be: 1500 168: + cat 168: + cc -o out/test/elf/x86_64/linker-script-defsym/a.o -c -xc - -153: + out/test/elf/x86_64/ifunc-static/exe -153: + grep -q 'Hello world' 169: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/linker-script-relocatable.sh 169: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 169: ++ export LC_ALL=C @@ -10183,28 +10231,15 @@ 169: ++ tlsdesc_opt=-mtls-dialect=gnu2 169: ++ trap 'on_error $LINENO' ERR 169: ++ trap on_exit EXIT -153: + on_exit -153: + echo OK -153: OK -153: + exit 0 -158/357 Test #153: x86_64-ifunc-static ........................ Passed 0.47 sec -test 170 - Start 170: x86_64-linker-script - -170: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/linker-script.sh" -170: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -170: Environment variables: -170: MACHINE=x86_64 -170: CPU= -170: Test timeout computed to be: 1500 169: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/linker-script-relocatable.sh .sh +170: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/linker-script.sh 169: ++ testname=linker-script-relocatable 169: ++ echo -n 'Testing linker-script-relocatable ... ' 169: Testing linker-script-relocatable ... ++ t=out/test/elf/x86_64/linker-script-relocatable 169: ++ mkdir -p out/test/elf/x86_64/linker-script-relocatable -169: + nm mold -169: + grep -q __tsan_init -170: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/linker-script.sh +155: + cat +155: + cc -c -o out/test/elf/x86_64/init-array-priorities/f.o -xc - +163: + cc -B. -o out/test/elf/x86_64/large-alignment/exe out/test/elf/x86_64/large-alignment/a.o 170: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 170: ++ export LC_ALL=C 170: ++ LC_ALL=C @@ -10228,15 +10263,27 @@ 170: ++ echo -n 'Testing linker-script ... ' 170: Testing linker-script ... ++ t=out/test/elf/x86_64/linker-script 170: ++ mkdir -p out/test/elf/x86_64/linker-script -156: + readelf --dynamic out/test/elf/x86_64/init-in-dso/exe -156: + grep -Fq '(INIT)' out/test/elf/x86_64/init-in-dso/log +162: + cat +162: + cc -o out/test/elf/x86_64/large-alignment-dso/c.o -c -xc - +169: + grep -q __tsan_init +169: + nm mold +165: + cc -B. -o out/test/elf/x86_64/large-max-page-size/exe out/test/elf/x86_64/large-max-page-size/a.o -pie -Wl,-zmax-page-size=0x200000 170: + cat -156: + on_exit -156: + echo OK 170: + cc -o out/test/elf/x86_64/linker-script/a.o -c -xc - -156: OK -156: + exit 0 -159/357 Test #156: x86_64-init-in-dso ......................... Passed 0.33 sec +167: + cc -B. -shared -o out/test/elf/x86_64/link-order/libfoo.so out/test/elf/x86_64/link-order/a.o +166: + cat +166: + cc -o out/test/elf/x86_64/large-text/b.o -c -xc - +168: + cat +162: + cc -B. -o out/test/elf/x86_64/large-alignment-dso/exe out/test/elf/x86_64/large-alignment-dso/c.o out/test/elf/x86_64/large-alignment-dso/b.so +164: + strip out/test/elf/x86_64/large-max-page-size-strip/exe +163: + out/test/elf/x86_64/large-alignment/exe +163: + grep -q 'Hello world' +168: + cc -B. -o out/test/elf/x86_64/linker-script-defsym/b.so -shared out/test/elf/x86_64/linker-script-defsym/script out/test/elf/x86_64/linker-script-defsym/a.o +163: + on_exit +163: + echo OK +163: OK +163: + exit 0 +159/357 Test #163: x86_64-large-alignment ..................... Passed 0.10 sec test 171 Start 171: x86_64-linker-script2 @@ -10246,9 +10293,27 @@ 171: MACHINE=x86_64 171: CPU= 171: Test timeout computed to be: 1500 -162: + cc -B. -o out/test/elf/x86_64/large-alignment-dso/exe out/test/elf/x86_64/large-alignment-dso/c.o out/test/elf/x86_64/large-alignment-dso/b.so +164: + out/test/elf/x86_64/large-max-page-size-strip/exe +164: + grep -q 'Hello world' +164: + on_exit +164: + echo OK +164: OK +164: + exit 0 +170: + cat +155: + cat +155: + cc -c -o out/test/elf/x86_64/init-array-priorities/g.o -xc - +160/357 Test #164: x86_64-large-max-page-size-strip ........... Passed 0.09 sec +test 172 + Start 172: x86_64-linker-script3 + +172: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/linker-script3.sh" +172: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +172: Environment variables: +172: MACHINE=x86_64 +172: CPU= +172: Test timeout computed to be: 1500 +170: + cc -B. -o out/test/elf/x86_64/linker-script/exe out/test/elf/x86_64/linker-script/script 171: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/linker-script2.sh -164: + cc -B. -o out/test/elf/x86_64/large-max-page-size-strip/exe out/test/elf/x86_64/large-max-page-size-strip/a.o -pie -Wl,-zmax-page-size=0x200000 171: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 171: ++ export LC_ALL=C 171: ++ LC_ALL=C @@ -10274,30 +10339,25 @@ 171: ++ mkdir -p out/test/elf/x86_64/linker-script2 171: + cat 171: + cc -o out/test/elf/x86_64/linker-script2/a.o -c -xc - -166: + cat -166: + cc -o out/test/elf/x86_64/large-text/b.o -c -xc - -165: + cc -B. -o out/test/elf/x86_64/large-max-page-size/exe out/test/elf/x86_64/large-max-page-size/a.o -pie -Wl,-zmax-page-size=0x200000 -162: + out/test/elf/x86_64/large-alignment-dso/exe -162: + grep -q 'Hello world' -162: + on_exit -162: + echo OK -162: OK -162: + exit 0 -155: + cat -160/357 Test #162: x86_64-large-alignment-dso ................. Passed 0.24 sec -test 172 - Start 172: x86_64-linker-script3 - -172: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/linker-script3.sh" -172: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -172: Environment variables: -172: MACHINE=x86_64 -172: CPU= -172: Test timeout computed to be: 1500 -155: + cc -c -o out/test/elf/x86_64/init-array-priorities/f.o -xc - -164: + strip out/test/elf/x86_64/large-max-page-size-strip/exe +165: + out/test/elf/x86_64/large-max-page-size/exe +165: + grep -q 'Hello world' +126: + grep -q 'fn8 () at .*/d.c:6' out/test/elf/x86_64/gdb-index-dwarf64/log2 172: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/linker-script3.sh +165: + on_exit +165: + echo OK +165: OK +165: + exit 0 172: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc +161/357 Test #165: x86_64-large-max-page-size ................. Passed 0.09 sec +test 173 + Start 173: x86_64-linker-script4 + +173: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/linker-script4.sh" +173: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +173: Environment variables: +173: MACHINE=x86_64 +173: CPU= +173: Test timeout computed to be: 1500 172: ++ export LC_ALL=C 172: ++ LC_ALL=C 172: ++ '[' -z x86_64 ']' @@ -10320,26 +10380,13 @@ 172: ++ echo -n 'Testing linker-script3 ... ' 172: Testing linker-script3 ... ++ t=out/test/elf/x86_64/linker-script3 172: ++ mkdir -p out/test/elf/x86_64/linker-script3 -172: + mkdir -p out/test/elf/x86_64/linker-script3/foo -172: + cat -172: + cc -o out/test/elf/x86_64/linker-script3/foo/a.o -c -xc - -165: + out/test/elf/x86_64/large-max-page-size/exe -165: + grep -q 'Hello world' -165: + on_exit -165: + echo OK -165: OK -165: + exit 0 -161/357 Test #165: x86_64-large-max-page-size ................. Passed 0.13 sec -test 173 - Start 173: x86_64-linker-script4 - -173: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/linker-script4.sh" -173: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -173: Environment variables: -173: MACHINE=x86_64 -173: CPU= -173: Test timeout computed to be: 1500 +126: + grep -q 'fn7 () at .*/d.c:10' out/test/elf/x86_64/gdb-index-dwarf64/log2 +126: + grep -q 'fn6 () at .*/c.c:4' out/test/elf/x86_64/gdb-index-dwarf64/log2 +126: + grep -q 'fn5 () at .*/c.c:8' out/test/elf/x86_64/gdb-index-dwarf64/log2 +166: + cc -B. -o out/test/elf/x86_64/large-text/exe out/test/elf/x86_64/large-text/a.o out/test/elf/x86_64/large-text/b.o +126: + grep -q 'fn4 () at .*/b.c:4' out/test/elf/x86_64/gdb-index-dwarf64/log2 173: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/linker-script4.sh +172: + mkdir -p out/test/elf/x86_64/linker-script3/foo 173: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 173: ++ export LC_ALL=C 173: ++ LC_ALL=C @@ -10359,33 +10406,21 @@ 173: ++ trap 'on_error $LINENO' ERR 173: ++ trap on_exit EXIT 173: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/linker-script4.sh .sh +126: + grep -q 'fn3 () at .*/b.c:8' out/test/elf/x86_64/gdb-index-dwarf64/log2 +167: + ar crs out/test/elf/x86_64/link-order/libfoo.a out/test/elf/x86_64/link-order/a.o 173: ++ testname=linker-script4 173: ++ echo -n 'Testing linker-script4 ... ' 173: Testing linker-script4 ... ++ t=out/test/elf/x86_64/linker-script4 173: ++ mkdir -p out/test/elf/x86_64/linker-script4 -173: + echo 'VERSION { ver_x { global: *; }; };' -173: + cat -173: + cc -B. -shared -o out/test/elf/x86_64/linker-script4/c.so out/test/elf/x86_64/linker-script4/a.script out/test/elf/x86_64/linker-script4/b.s -168: + cat -168: + cc -B. -o out/test/elf/x86_64/linker-script-defsym/b.so -shared out/test/elf/x86_64/linker-script-defsym/script out/test/elf/x86_64/linker-script-defsym/a.o -167: + cc -B. -shared -o out/test/elf/x86_64/link-order/libfoo.so out/test/elf/x86_64/link-order/a.o -126: + grep -q 'fn8 () at .*/d.c:6' out/test/elf/x86_64/gdb-index-dwarf64/log2 -170: + cat -126: + grep -q 'fn7 () at .*/d.c:10' out/test/elf/x86_64/gdb-index-dwarf64/log2 -170: + cc -B. -o out/test/elf/x86_64/linker-script/exe out/test/elf/x86_64/linker-script/script -126: + grep -q 'fn6 () at .*/c.c:4' out/test/elf/x86_64/gdb-index-dwarf64/log2 -171: + mkdir -p out/test/elf/x86_64/linker-script2/foo/bar +172: + cc -o out/test/elf/x86_64/linker-script3/foo/a.o -c -xc - 172: + cat -126: + grep -q 'fn5 () at .*/c.c:8' out/test/elf/x86_64/gdb-index-dwarf64/log2 -164: + grep -q 'Hello world' -172: + cc -B. -o out/test/elf/x86_64/linker-script3/exe -Lout/test/elf/x86_64/linker-script3/foo out/test/elf/x86_64/linker-script3/b.script -164: + out/test/elf/x86_64/large-max-page-size-strip/exe -171: + rm -f out/test/elf/x86_64/linker-script2/foo/bar/libfoo.a -164: + on_exit -164: + echo OK -164: OK -164: + exit 0 -162/357 Test #164: x86_64-large-max-page-size-strip ........... Passed 0.21 sec +162: + out/test/elf/x86_64/large-alignment-dso/exe +162: + grep -q 'Hello world' +162: + on_exit +162: + echo OK +162: OK +162: + exit 0 +162/357 Test #162: x86_64-large-alignment-dso ................. Passed 0.14 sec test 174 Start 174: x86_64-lto-archive @@ -10395,31 +10430,18 @@ 174: MACHINE=x86_64 174: CPU= 174: Test timeout computed to be: 1500 -126: + grep -q 'fn4 () at .*/b.c:4' out/test/elf/x86_64/gdb-index-dwarf64/log2 -126: + grep -q 'fn3 () at .*/b.c:8' out/test/elf/x86_64/gdb-index-dwarf64/log2 -171: + ar rcs out/test/elf/x86_64/linker-script2/foo/bar/libfoo.a out/test/elf/x86_64/linker-script2/a.o -168: + readelf -sW out/test/elf/x86_64/linker-script-defsym/b.so -168: + grep -q 'FUNC .* bar' 126: + grep -q 'fn2 () at .*/a.c:4' out/test/elf/x86_64/gdb-index-dwarf64/log2 -168: + cat -168: + cc -o out/test/elf/x86_64/linker-script-defsym/c.o -c -xc - +173: + echo 'VERSION { ver_x { global: *; }; };' +173: + cat +171: + mkdir -p out/test/elf/x86_64/linker-script2/foo/bar +167: + cat +168: + grep -q 'FUNC .* bar' +173: + cc -B. -shared -o out/test/elf/x86_64/linker-script4/c.so out/test/elf/x86_64/linker-script4/a.script out/test/elf/x86_64/linker-script4/b.s 126: + grep -q 'fn1 () at .*/a.c:8' out/test/elf/x86_64/gdb-index-dwarf64/log2 -166: + cc -B. -o out/test/elf/x86_64/large-text/exe out/test/elf/x86_64/large-text/a.o out/test/elf/x86_64/large-text/b.o 174: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/lto-archive.sh -126: + on_exit -126: + echo OK -126: OK -126: + exit 0 -163/357 Test #126: x86_64-gdb-index-dwarf64 ................... Passed 1.72 sec -test 175 - Start 175: x86_64-lto-dso - -175: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/lto-dso.sh" -175: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -175: Environment variables: -175: MACHINE=x86_64 -175: CPU= -175: Test timeout computed to be: 1500 +168: + readelf -sW out/test/elf/x86_64/linker-script-defsym/b.so +171: + rm -f out/test/elf/x86_64/linker-script2/foo/bar/libfoo.a +167: + cc -c -o out/test/elf/x86_64/link-order/b.o -xc - 174: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 174: ++ export LC_ALL=C 174: ++ LC_ALL=C @@ -10438,15 +10460,38 @@ 174: ++ tlsdesc_opt=-mtls-dialect=gnu2 174: ++ trap 'on_error $LINENO' ERR 174: ++ trap on_exit EXIT +171: + ar rcs out/test/elf/x86_64/linker-script2/foo/bar/libfoo.a out/test/elf/x86_64/linker-script2/a.o 174: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/lto-archive.sh .sh +168: + cat +168: + cc -o out/test/elf/x86_64/linker-script-defsym/c.o -c -xc - 174: ++ testname=lto-archive 174: ++ echo -n 'Testing lto-archive ... ' 174: Testing lto-archive ... ++ t=out/test/elf/x86_64/lto-archive 174: ++ mkdir -p out/test/elf/x86_64/lto-archive +126: + on_exit +126: + echo OK +126: OK +126: + exit 0 +163/357 Test #126: x86_64-gdb-index-dwarf64 ................... Passed 0.94 sec +test 175 + Start 175: x86_64-lto-dso + +175: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/lto-dso.sh" +175: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +175: Environment variables: +175: MACHINE=x86_64 +175: CPU= +175: Test timeout computed to be: 1500 174: + '[' cc = cc ']' -167: + ar crs out/test/elf/x86_64/link-order/libfoo.a out/test/elf/x86_64/link-order/a.o -174: + cc -flto -o /dev/null -xc - 174: + echo 'int main() {}' +174: + cc -flto -o /dev/null -xc - +171: + cat +171: + cc -B. -o out/test/elf/x86_64/linker-script2/exe -Lout/test/elf/x86_64/linker-script2/foo/bar out/test/elf/x86_64/linker-script2/b.script +155: + cat +155: + cc -c -o out/test/elf/x86_64/init-array-priorities/h.o -xc - +170: + out/test/elf/x86_64/linker-script/exe +170: + grep -q 'Hello world' +170: + cc -B. -o out/test/elf/x86_64/linker-script/exe -Wl,-T,out/test/elf/x86_64/linker-script/script 175: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/lto-dso.sh 175: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 175: ++ export LC_ALL=C @@ -10466,25 +10511,35 @@ 175: ++ tlsdesc_opt=-mtls-dialect=gnu2 175: ++ trap 'on_error $LINENO' ERR 175: ++ trap on_exit EXIT -173: + readelf --version-info out/test/elf/x86_64/linker-script4/c.so -170: + out/test/elf/x86_64/linker-script/exe -170: + grep -q 'Hello world' 175: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/lto-dso.sh .sh -172: + on_exit -172: + echo OK -172: OK -172: + exit 0 -173: + grep -Fq 'Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x' out/test/elf/x86_64/linker-script4/log 175: ++ testname=lto-dso 175: ++ echo -n 'Testing lto-dso ... ' 175: Testing lto-dso ... ++ t=out/test/elf/x86_64/lto-dso 175: ++ mkdir -p out/test/elf/x86_64/lto-dso +175: + cc -flto -o /dev/null -xc - +175: + echo 'int main() {}' +172: + cat +172: + cc -B. -o out/test/elf/x86_64/linker-script3/exe -Lout/test/elf/x86_64/linker-script3/foo out/test/elf/x86_64/linker-script3/b.script 169: + cat +169: + cc -c -o out/test/elf/x86_64/linker-script-relocatable/a.o -xc - +173: + readelf --version-info out/test/elf/x86_64/linker-script4/c.so +167: + cc -B. -o out/test/elf/x86_64/link-order/exe out/test/elf/x86_64/link-order/b.o -Wl,--as-needed out/test/elf/x86_64/link-order/libfoo.so out/test/elf/x86_64/link-order/libfoo.a +168: + cc -B. -o out/test/elf/x86_64/linker-script-defsym/exe out/test/elf/x86_64/linker-script-defsym/c.o out/test/elf/x86_64/linker-script-defsym/b.so +170: + grep -q 'Hello world' +173: + grep -Fq 'Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x' out/test/elf/x86_64/linker-script4/log +155: + cat +170: + out/test/elf/x86_64/linker-script/exe +155: + cc -c -o out/test/elf/x86_64/init-array-priorities/i.o -xc - +170: + cc -B. -o out/test/elf/x86_64/linker-script/exe -Wl,--script,out/test/elf/x86_64/linker-script/script 173: + on_exit 173: + echo OK 173: OK 173: + exit 0 -164/357 Test #173: x86_64-linker-script4 ...................... Passed 0.08 sec +171: + on_exit +171: + echo OK +171: OK +171: + exit 0 +164/357 Test #171: x86_64-linker-script2 ...................... Passed 0.08 sec test 176 Start 176: x86_64-lto-gcc @@ -10494,7 +10549,7 @@ 176: MACHINE=x86_64 176: CPU= 176: Test timeout computed to be: 1500 -165/357 Test #172: x86_64-linker-script3 ...................... Passed 0.11 sec +165/357 Test #173: x86_64-linker-script4 ...................... Passed 0.07 sec test 177 Start 177: x86_64-lto-llvm @@ -10504,11 +10559,8 @@ 177: MACHINE=x86_64 177: CPU= 177: Test timeout computed to be: 1500 -170: + cc -B. -o out/test/elf/x86_64/linker-script/exe -Wl,-T,out/test/elf/x86_64/linker-script/script -175: + echo 'int main() {}' -175: + cc -flto -o /dev/null -xc - -169: + cc -c -o out/test/elf/x86_64/linker-script-relocatable/a.o -xc - 176: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/lto-gcc.sh +177: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/lto-llvm.sh 176: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 176: ++ export LC_ALL=C 176: ++ LC_ALL=C @@ -10525,18 +10577,12 @@ 176: ++ QEMU= 176: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 176: ++ tlsdesc_opt=-mtls-dialect=gnu2 -176: ++ trap 'on_error $LINENO' ERR -176: ++ trap on_exit EXIT -176: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/lto-gcc.sh .sh -177: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/lto-llvm.sh -176: ++ testname=lto-gcc -176: ++ echo -n 'Testing lto-gcc ... ' -176: Testing lto-gcc ... ++ t=out/test/elf/x86_64/lto-gcc 177: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc -176: ++ mkdir -p out/test/elf/x86_64/lto-gcc 177: ++ export LC_ALL=C 177: ++ LC_ALL=C 177: ++ '[' -z x86_64 ']' +176: ++ trap 'on_error $LINENO' ERR +176: ++ trap on_exit EXIT 177: ++ '[' -z '' ']' 177: ++ TESTDIR=out/test/elf/x86_64 177: ++ CC=cc @@ -10552,28 +10598,22 @@ 177: ++ trap 'on_error $LINENO' ERR 177: ++ trap on_exit EXIT 177: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/lto-llvm.sh .sh -176: + echo 'int main() {}' -176: + gcc -flto -o /dev/null -xc - +176: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/lto-gcc.sh .sh +176: ++ testname=lto-gcc +176: ++ echo -n 'Testing lto-gcc ... ' +176: Testing lto-gcc ... ++ t=out/test/elf/x86_64/lto-gcc +176: ++ mkdir -p out/test/elf/x86_64/lto-gcc 177: ++ testname=lto-llvm 177: ++ echo -n 'Testing lto-llvm ... ' 177: Testing lto-llvm ... ++ t=out/test/elf/x86_64/lto-llvm 177: ++ mkdir -p out/test/elf/x86_64/lto-llvm -155: + cat -177: ++ uname -m -155: + cc -c -o out/test/elf/x86_64/init-array-priorities/g.o -xc - -171: + cat -167: + cat -167: + cc -c -o out/test/elf/x86_64/link-order/b.o -xc - -171: + cc -B. -o out/test/elf/x86_64/linker-script2/exe -Lout/test/elf/x86_64/linker-script2/foo/bar out/test/elf/x86_64/linker-script2/b.script -177: + '[' x86_64 = x86_64 ']' -177: + echo 'int main() {}' -177: + clang -flto -o /dev/null -xc - -177: + skip -177: + echo skipped -177: skipped -177: + trap - EXIT -177: + exit 0 -166/357 Test #177: x86_64-lto-llvm ............................***Skipped 0.03 sec +176: + echo 'int main() {}' +176: + gcc -flto -o /dev/null -xc - +172: + on_exit +172: + echo OK +172: OK +172: + exit 0 +166/357 Test #172: x86_64-linker-script3 ...................... Passed 0.09 sec test 178 Start 178: x86_64-lto-nostdlib @@ -10583,9 +10623,10 @@ 178: MACHINE=x86_64 178: CPU= 178: Test timeout computed to be: 1500 +177: ++ uname -m +177: + '[' x86_64 = x86_64 ']' +177: + echo 'int main() {}' 178: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/lto-nostdlib.sh -170: + grep -q 'Hello world' -170: + out/test/elf/x86_64/linker-script/exe 178: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 178: ++ export LC_ALL=C 178: ++ LC_ALL=C @@ -10600,8 +10641,8 @@ 178: ++ OBJCOPY=objcopy 178: ++ STRIP=strip 178: ++ QEMU= +166: + grep -q 'Hello world' 178: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' -170: + cc -B. -o out/test/elf/x86_64/linker-script/exe -Wl,--script,out/test/elf/x86_64/linker-script/script 178: ++ tlsdesc_opt=-mtls-dialect=gnu2 178: ++ trap 'on_error $LINENO' ERR 178: ++ trap on_exit EXIT @@ -10611,12 +10652,15 @@ 178: Testing lto-nostdlib ... ++ t=out/test/elf/x86_64/lto-nostdlib 178: ++ mkdir -p out/test/elf/x86_64/lto-nostdlib 178: + cat +177: + clang -flto -o /dev/null -xc - +177: + skip +177: + echo skipped +177: skipped +177: + trap - EXIT +177: + exit 0 +166: + out/test/elf/x86_64/large-text/exe 178: + cc -flto -c -o out/test/elf/x86_64/lto-nostdlib/a.o -xc - -171: + on_exit -171: + echo OK -171: OK -171: + exit 0 -167/357 Test #171: x86_64-linker-script2 ...................... Passed 0.20 sec +167/357 Test #177: x86_64-lto-llvm ............................***Skipped 0.02 sec test 179 Start 179: x86_64-lto-version-script @@ -10626,13 +10670,15 @@ 179: MACHINE=x86_64 179: CPU= 179: Test timeout computed to be: 1500 -166: + out/test/elf/x86_64/large-text/exe -166: + grep -q 'Hello world' 166: + on_exit 166: + echo OK 166: OK 166: + exit 0 -168/357 Test #166: x86_64-large-text .......................... Passed 0.26 sec +168: + out/test/elf/x86_64/linker-script-defsym/exe +168: + grep -q 42 +169: + cat +169: + cc -c -o out/test/elf/x86_64/linker-script-relocatable/b.o -xc - +168/357 Test #166: x86_64-large-text .......................... Passed 0.18 sec test 180 Start 180: x86_64-main-in-dso @@ -10642,6 +10688,13 @@ 180: MACHINE=x86_64 180: CPU= 180: Test timeout computed to be: 1500 +168: + on_exit +168: + echo OK +168: OK +168: + exit 0 +167: + readelf --dynamic out/test/elf/x86_64/link-order/exe +167: + grep -q libfoo +167: + cc -B. -o out/test/elf/x86_64/link-order/exe out/test/elf/x86_64/link-order/b.o -Wl,--as-needed out/test/elf/x86_64/link-order/libfoo.a out/test/elf/x86_64/link-order/libfoo.so 179: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/lto-version-script.sh 179: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 179: ++ export LC_ALL=C @@ -10662,20 +10715,43 @@ 179: ++ trap 'on_error $LINENO' ERR 179: ++ trap on_exit EXIT 179: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/lto-version-script.sh .sh +170: + out/test/elf/x86_64/linker-script/exe +170: + grep -q 'Hello world' +170: + on_exit +170: + echo OK +170: OK +170: + exit 0 +169/357 Test #168: x86_64-linker-script-defsym ................ Passed 0.17 sec +test 181 + Start 181: x86_64-many-sections + +181: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/many-sections.sh" +181: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +181: Environment variables: +181: MACHINE=x86_64 +181: CPU= +181: Test timeout computed to be: 1500 +170/357 Test #170: x86_64-linker-script ....................... Passed 0.16 sec +test 182 + Start 182: x86_64-many-sections2 + +182: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/many-sections2.sh" +182: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +182: Environment variables: +182: MACHINE=x86_64 +182: CPU= +182: Test timeout computed to be: 1500 179: ++ testname=lto-version-script 179: ++ echo -n 'Testing lto-version-script ... ' 179: Testing lto-version-script ... ++ t=out/test/elf/x86_64/lto-version-script 179: ++ mkdir -p out/test/elf/x86_64/lto-version-script -179: + cat 179: + cc -flto -c -fPIC -o out/test/elf/x86_64/lto-version-script/a.o -xc - +179: + cat 180: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/main-in-dso.sh -169: + cat -169: + cc -c -o out/test/elf/x86_64/linker-script-relocatable/b.o -xc - 180: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 180: ++ export LC_ALL=C 180: ++ LC_ALL=C 180: ++ '[' -z x86_64 ']' -170: + out/test/elf/x86_64/linker-script/exe 180: ++ '[' -z '' ']' 180: ++ TESTDIR=out/test/elf/x86_64 180: ++ CC=cc @@ -10690,29 +10766,14 @@ 180: ++ tlsdesc_opt=-mtls-dialect=gnu2 180: ++ trap 'on_error $LINENO' ERR 180: ++ trap on_exit EXIT -170: + grep -q 'Hello world' 180: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/main-in-dso.sh .sh 180: ++ testname=main-in-dso 180: ++ echo -n 'Testing main-in-dso ... ' 180: Testing main-in-dso ... ++ t=out/test/elf/x86_64/main-in-dso 180: ++ mkdir -p out/test/elf/x86_64/main-in-dso -170: + on_exit -170: + echo OK -170: OK -170: + exit 0 -169/357 Test #170: x86_64-linker-script ....................... Passed 0.24 sec -test 181 - Start 181: x86_64-many-sections - -181: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/many-sections.sh" -181: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -181: Environment variables: -181: MACHINE=x86_64 -181: CPU= -181: Test timeout computed to be: 1500 -180: + cat 180: + cc -o out/test/elf/x86_64/main-in-dso/a.o -c -xc - -fPIC -168: + cc -B. -o out/test/elf/x86_64/linker-script-defsym/exe out/test/elf/x86_64/linker-script-defsym/c.o out/test/elf/x86_64/linker-script-defsym/b.so +180: + cat +155: + cc -B. -o out/test/elf/x86_64/init-array-priorities/exe out/test/elf/x86_64/init-array-priorities/a.o out/test/elf/x86_64/init-array-priorities/b.o out/test/elf/x86_64/init-array-priorities/c.o out/test/elf/x86_64/init-array-priorities/d.o out/test/elf/x86_64/init-array-priorities/e.o out/test/elf/x86_64/init-array-priorities/f.o out/test/elf/x86_64/init-array-priorities/g.o out/test/elf/x86_64/init-array-priorities/h.o out/test/elf/x86_64/init-array-priorities/i.o 181: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/many-sections.sh 181: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 181: ++ export LC_ALL=C @@ -10737,26 +10798,10 @@ 181: ++ echo -n 'Testing many-sections ... ' 181: Testing many-sections ... ++ t=out/test/elf/x86_64/many-sections 181: ++ mkdir -p out/test/elf/x86_64/many-sections +182: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/many-sections2.sh 181: + seq 1 100000 -181: + sed 's/.*/.section .data.\0,"aw"\n.word 0\n/g' 181: + cc -c -xassembler -o out/test/elf/x86_64/many-sections/a.o - -168: + out/test/elf/x86_64/linker-script-defsym/exe -168: + grep -q 42 -168: + on_exit -168: + echo OK -168: OK -168: + exit 0 -170/357 Test #168: x86_64-linker-script-defsym ................ Passed 0.29 sec -test 182 - Start 182: x86_64-many-sections2 - -182: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/many-sections2.sh" -182: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -182: Environment variables: -182: MACHINE=x86_64 -182: CPU= -182: Test timeout computed to be: 1500 -182: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/many-sections2.sh +181: + sed 's/.*/.section .data.\0,"aw"\n.word 0\n/g' 182: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 182: ++ export LC_ALL=C 182: ++ LC_ALL=C @@ -10775,29 +10820,25 @@ 182: ++ tlsdesc_opt=-mtls-dialect=gnu2 182: ++ trap 'on_error $LINENO' ERR 182: ++ trap on_exit EXIT +178: + cc -B. -o out/test/elf/x86_64/lto-nostdlib/exe -flto out/test/elf/x86_64/lto-nostdlib/a.o -nostdlib 182: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/many-sections2.sh .sh 182: ++ testname=many-sections2 182: ++ echo -n 'Testing many-sections2 ... ' 182: Testing many-sections2 ... ++ t=out/test/elf/x86_64/many-sections2 182: ++ mkdir -p out/test/elf/x86_64/many-sections2 -179: + cat -179: + cc -B. -shared -o out/test/elf/x86_64/lto-version-script/c.so -flto out/test/elf/x86_64/lto-version-script/a.o -Wl,-version-script=out/test/elf/x86_64/lto-version-script/b.script -182: + nm mold -182: + grep -q __tsan_init -161: + c++ -B. -o out/test/elf/x86_64/issue646/exe out/test/elf/x86_64/issue646/a.o -180: + cc -B. -shared -o out/test/elf/x86_64/main-in-dso/b.so out/test/elf/x86_64/main-in-dso/a.o 169: + echo 'INPUT(out/test/elf/x86_64/linker-script-relocatable/a.o out/test/elf/x86_64/linker-script-relocatable/b.o)' 169: + ./mold --relocatable -o out/test/elf/x86_64/linker-script-relocatable/d.o out/test/elf/x86_64/linker-script-relocatable/c.script +182: + nm mold +182: + grep -q __tsan_init 169: + cc -B. -o out/test/elf/x86_64/linker-script-relocatable/exe out/test/elf/x86_64/linker-script-relocatable/d.o -178: + cc -B. -o out/test/elf/x86_64/lto-nostdlib/exe -flto out/test/elf/x86_64/lto-nostdlib/a.o -nostdlib -167: + cc -B. -o out/test/elf/x86_64/link-order/exe out/test/elf/x86_64/link-order/b.o -Wl,--as-needed out/test/elf/x86_64/link-order/libfoo.so out/test/elf/x86_64/link-order/libfoo.a -161: + grep -q 'error: exception' -161: + out/test/elf/x86_64/issue646/exe -161: + on_exit -161: + echo OK -161: OK -161: + exit 0 -171/357 Test #161: x86_64-issue646 ............................ Passed 0.53 sec +167: + readelf --dynamic out/test/elf/x86_64/link-order/exe +167: + grep -q libfoo +167: + on_exit +167: + echo OK +167: OK +167: + exit 0 +179: + cat +171/357 Test #167: x86_64-link-order .......................... Passed 0.23 sec test 183 Start 183: x86_64-mergeable-strings @@ -10807,6 +10848,8 @@ 183: MACHINE=x86_64 183: CPU= 183: Test timeout computed to be: 1500 +179: + cc -B. -shared -o out/test/elf/x86_64/lto-version-script/c.so -flto out/test/elf/x86_64/lto-version-script/a.o -Wl,-version-script=out/test/elf/x86_64/lto-version-script/b.script +180: + cc -B. -shared -o out/test/elf/x86_64/main-in-dso/b.so out/test/elf/x86_64/main-in-dso/a.o 183: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/mergeable-strings.sh 183: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 183: ++ export LC_ALL=C @@ -10827,24 +10870,19 @@ 183: ++ trap 'on_error $LINENO' ERR 183: ++ trap on_exit EXIT 183: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/mergeable-strings.sh .sh -180: + cc -o out/test/elf/x86_64/main-in-dso/c.o -c -xc /dev/null -fPIC 183: ++ testname=mergeable-strings -169: + grep -q Hello 183: ++ echo -n 'Testing mergeable-strings ... ' 183: Testing mergeable-strings ... ++ t=out/test/elf/x86_64/mergeable-strings 183: ++ mkdir -p out/test/elf/x86_64/mergeable-strings -169: + out/test/elf/x86_64/linker-script-relocatable/exe -183: + cat 183: + cc -o out/test/elf/x86_64/mergeable-strings/a.o -c -xc - -O2 -155: + cat -155: + cc -c -o out/test/elf/x86_64/init-array-priorities/h.o -xc - -167: + grep -q libfoo -167: + readelf --dynamic out/test/elf/x86_64/link-order/exe -169: + on_exit -169: + echo OK -169: OK -169: + exit 0 -172/357 Test #169: x86_64-linker-script-relocatable ........... Passed 0.36 sec +183: + cat +155: + grep -q 21348756 +155: + out/test/elf/x86_64/init-array-priorities/exe +155: + on_exit +155: + echo OK +155: OK +155: + exit 0 +172/357 Test #155: x86_64-init-array-priorities ............... Passed 0.42 sec test 184 Start 184: x86_64-missing-but-ok @@ -10854,7 +10892,26 @@ 184: MACHINE=x86_64 184: CPU= 184: Test timeout computed to be: 1500 -167: + cc -B. -o out/test/elf/x86_64/link-order/exe out/test/elf/x86_64/link-order/b.o -Wl,--as-needed out/test/elf/x86_64/link-order/libfoo.a out/test/elf/x86_64/link-order/libfoo.so +174: + cc -o out/test/elf/x86_64/lto-archive/a.o -c -flto -xc - +175: + cat +175: + cc -flto -c -fPIC -o out/test/elf/x86_64/lto-dso/a.o -xc - +174: + cat +169: + out/test/elf/x86_64/linker-script-relocatable/exe +169: + grep -q Hello +169: + on_exit +169: + echo OK +169: OK +169: + exit 0 +173/357 Test #169: x86_64-linker-script-relocatable ........... Passed 0.25 sec +test 185 + Start 185: x86_64-missing-error + +185: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/missing-error.sh" +185: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +185: Environment variables: +185: MACHINE=x86_64 +185: CPU= +185: Test timeout computed to be: 1500 184: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/missing-but-ok.sh 184: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 184: ++ export LC_ALL=C @@ -10880,36 +10937,15 @@ 184: Testing missing-but-ok ... ++ t=out/test/elf/x86_64/missing-but-ok 184: ++ mkdir -p out/test/elf/x86_64/missing-but-ok 184: + cat -184: + cc -o out/test/elf/x86_64/missing-but-ok/a.o -c -x assembler - -184: + ./mold -o out/test/elf/x86_64/missing-but-ok/exe out/test/elf/x86_64/missing-but-ok/a.o -180: + cc -B. -o out/test/elf/x86_64/main-in-dso/exe1 out/test/elf/x86_64/main-in-dso/c.o out/test/elf/x86_64/main-in-dso/b.so -pie -184: + on_exit -184: + echo OK -184: OK -184: + exit 0 -183: + cc -o out/test/elf/x86_64/mergeable-strings/b.o -c -xc - -O2 -155: + cc -c -o out/test/elf/x86_64/init-array-priorities/i.o -xc - -155: + cat -183: + cat -173/357 Test #184: x86_64-missing-but-ok ...................... Passed 0.03 sec -test 185 - Start 185: x86_64-missing-error - -185: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/missing-error.sh" -185: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -185: Environment variables: -185: MACHINE=x86_64 -185: CPU= -185: Test timeout computed to be: 1500 +176: + cat +176: + gcc -flto -c -o out/test/elf/x86_64/lto-gcc/a.o -xc - 185: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/missing-error.sh -167: + readelf --dynamic out/test/elf/x86_64/link-order/exe 185: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 185: ++ export LC_ALL=C 185: ++ LC_ALL=C 185: ++ '[' -z x86_64 ']' 185: ++ '[' -z '' ']' 185: ++ TESTDIR=out/test/elf/x86_64 -167: + grep -q libfoo 185: ++ CC=cc 185: ++ CXX=c++ 185: ++ GCC=gcc @@ -10922,11 +10958,28 @@ 185: ++ tlsdesc_opt=-mtls-dialect=gnu2 185: ++ trap 'on_error $LINENO' ERR 185: ++ trap on_exit EXIT -167: + on_exit -167: + echo OK -167: OK -167: + exit 0 -174/357 Test #167: x86_64-link-order .......................... Passed 0.42 sec +184: + cc -o out/test/elf/x86_64/missing-but-ok/a.o -c -x assembler - +185: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/missing-error.sh .sh +174: + cc -o out/test/elf/x86_64/lto-archive/b.o -c -flto -xc - +185: ++ testname=missing-error +185: ++ echo -n 'Testing missing-error ... ' +185: Testing missing-error ... ++ t=out/test/elf/x86_64/missing-error +185: ++ mkdir -p out/test/elf/x86_64/missing-error +183: + cat +183: + cc -o out/test/elf/x86_64/mergeable-strings/b.o -c -xc - -O2 +174: + cat +185: + cat +185: + cc -o out/test/elf/x86_64/missing-error/a.o -c -xc - +184: + ./mold -o out/test/elf/x86_64/missing-but-ok/exe out/test/elf/x86_64/missing-but-ok/a.o +175: + cc -B. -shared -o out/test/elf/x86_64/lto-dso/b.so -flto out/test/elf/x86_64/lto-dso/a.o +180: + cc -o out/test/elf/x86_64/main-in-dso/c.o -c -xc /dev/null -fPIC +178: + grep -Eq ' _start' +178: + readelf -Ws out/test/elf/x86_64/lto-nostdlib/exe +178: + on_exit +178: + echo OK +178: OK +178: + exit 0 +174/357 Test #178: x86_64-lto-nostdlib ........................ Passed 0.14 sec test 186 Start 186: x86_64-mold-wrapper @@ -10936,23 +10989,29 @@ 186: MACHINE=x86_64 186: CPU= 186: Test timeout computed to be: 1500 -185: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/missing-error.sh .sh -185: ++ testname=missing-error -185: ++ echo -n 'Testing missing-error ... ' -185: Testing missing-error ... ++ t=out/test/elf/x86_64/missing-error -185: ++ mkdir -p out/test/elf/x86_64/missing-error -185: + cat +184: + on_exit +184: + echo OK +184: OK +184: + exit 0 +176: + gcc -B. -o out/test/elf/x86_64/lto-gcc/exe1 -flto out/test/elf/x86_64/lto-gcc/a.o 186: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/mold-wrapper.sh -185: + cc -o out/test/elf/x86_64/missing-error/a.o -c -xc - +175/357 Test #184: x86_64-missing-but-ok ...................... Passed 0.05 sec +test 187 + Start 187: x86_64-mold-wrapper2 + +187: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/mold-wrapper2.sh" +187: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +187: Environment variables: +187: MACHINE=x86_64 +187: CPU= +187: Test timeout computed to be: 1500 186: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 186: ++ export LC_ALL=C 186: ++ LC_ALL=C 186: ++ '[' -z x86_64 ']' 186: ++ '[' -z '' ']' -180: + out/test/elf/x86_64/main-in-dso/exe1 186: ++ TESTDIR=out/test/elf/x86_64 186: ++ CC=cc -180: + grep -q 'Hello world' 186: ++ CXX=c++ 186: ++ GCC=gcc 186: ++ GXX=g++ @@ -10963,68 +11022,15 @@ 186: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 186: ++ tlsdesc_opt=-mtls-dialect=gnu2 186: ++ trap 'on_error $LINENO' ERR -180: + cc -o out/test/elf/x86_64/main-in-dso/c.o -c -xc /dev/null -fno-PIC 186: ++ trap on_exit EXIT 186: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/mold-wrapper.sh .sh 186: ++ testname=mold-wrapper 186: ++ echo -n 'Testing mold-wrapper ... ' 186: Testing mold-wrapper ... ++ t=out/test/elf/x86_64/mold-wrapper 186: ++ mkdir -p out/test/elf/x86_64/mold-wrapper -182: + echo 'foo = 0x1000' -182: + seq 1 100000 +187: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/mold-wrapper2.sh 186: + '[' cc = cc ']' -182: + sed 's/.*/.section .data.\0,"aw"\n.globl x\0\nx\0: .word 0\n/g' -186: + grep -q libasan 186: + ldd mold-wrapper.so -186: + nm mold -186: + grep -q '__[at]san_init' -183: + cc -o out/test/elf/x86_64/mergeable-strings/exe1 out/test/elf/x86_64/mergeable-strings/a.o out/test/elf/x86_64/mergeable-strings/b.o -no-pie -155: + cc -B. -o out/test/elf/x86_64/init-array-priorities/exe out/test/elf/x86_64/init-array-priorities/a.o out/test/elf/x86_64/init-array-priorities/b.o out/test/elf/x86_64/init-array-priorities/c.o out/test/elf/x86_64/init-array-priorities/d.o out/test/elf/x86_64/init-array-priorities/e.o out/test/elf/x86_64/init-array-priorities/f.o out/test/elf/x86_64/init-array-priorities/g.o out/test/elf/x86_64/init-array-priorities/h.o out/test/elf/x86_64/init-array-priorities/i.o -180: + cc -B. -o out/test/elf/x86_64/main-in-dso/exe2 out/test/elf/x86_64/main-in-dso/c.o out/test/elf/x86_64/main-in-dso/b.so -no-pie -182: + cc -c -xassembler -o out/test/elf/x86_64/many-sections2/a.o out/test/elf/x86_64/many-sections2/a.s -185: + ./mold -o out/test/elf/x86_64/missing-error/exe out/test/elf/x86_64/missing-error/a.o -183: + grep -Eq '^(\S+) \1 (\S+) \2 (\S+) \3 (\S+) \4$' -183: + out/test/elf/x86_64/mergeable-strings/exe1 -185: + grep -q 'undefined symbol: foo' out/test/elf/x86_64/missing-error/log -155: + grep -q 21348756 -155: + out/test/elf/x86_64/init-array-priorities/exe -185: + grep -q '>>> .*a\.o' out/test/elf/x86_64/missing-error/log -183: + cc -B. -o out/test/elf/x86_64/mergeable-strings/exe2 out/test/elf/x86_64/mergeable-strings/a.o out/test/elf/x86_64/mergeable-strings/b.o -no-pie -185: + on_exit -185: + echo OK -185: OK -185: + exit 0 -175/357 Test #185: x86_64-missing-error ....................... Passed 0.11 sec -test 187 - Start 187: x86_64-mold-wrapper2 - -187: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/mold-wrapper2.sh" -187: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -187: Environment variables: -187: MACHINE=x86_64 -187: CPU= -187: Test timeout computed to be: 1500 -155: + on_exit -155: + echo OK -155: OK -155: + exit 0 -180: + out/test/elf/x86_64/main-in-dso/exe2 -180: + grep -q 'Hello world' -176/357 Test #155: x86_64-init-array-priorities ............... Passed 0.89 sec -test 188 - Start 188: x86_64-nmagic - -188: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/nmagic.sh" -188: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -188: Environment variables: -188: MACHINE=x86_64 -188: CPU= -188: Test timeout computed to be: 1500 -180: + on_exit -180: + echo OK -180: OK -180: + exit 0 -187: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/mold-wrapper2.sh 187: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 187: ++ export LC_ALL=C 187: ++ LC_ALL=C @@ -11043,8 +11049,55 @@ 187: ++ tlsdesc_opt=-mtls-dialect=gnu2 187: ++ trap 'on_error $LINENO' ERR 187: ++ trap on_exit EXIT +186: + grep -q libasan 187: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/mold-wrapper2.sh .sh -177/357 Test #180: x86_64-main-in-dso ......................... Passed 0.28 sec +187: ++ testname=mold-wrapper2 +187: ++ echo -n 'Testing mold-wrapper2 ... ' +187: Testing mold-wrapper2 ... ++ t=out/test/elf/x86_64/mold-wrapper2 +187: ++ mkdir -p out/test/elf/x86_64/mold-wrapper2 +182: + echo 'foo = 0x1000' +182: + seq 1 100000 +174: + rm -f out/test/elf/x86_64/lto-archive/c.a +187: + ldd mold-wrapper.so +182: + sed 's/.*/.section .data.\0,"aw"\n.globl x\0\nx\0: .word 0\n/g' +180: + cc -B. -o out/test/elf/x86_64/main-in-dso/exe1 out/test/elf/x86_64/main-in-dso/c.o out/test/elf/x86_64/main-in-dso/b.so -pie +187: + grep -q libasan +174: + ar rc out/test/elf/x86_64/lto-archive/c.a out/test/elf/x86_64/lto-archive/a.o out/test/elf/x86_64/lto-archive/b.o +185: + ./mold -o out/test/elf/x86_64/missing-error/exe out/test/elf/x86_64/missing-error/a.o +183: + cc -o out/test/elf/x86_64/mergeable-strings/exe1 out/test/elf/x86_64/mergeable-strings/a.o out/test/elf/x86_64/mergeable-strings/b.o -no-pie +174: + cat +174: + cc -o out/test/elf/x86_64/lto-archive/d.o -c -flto -xc - +186: + nm mold +186: + grep -q '__[at]san_init' +187: + nm mold +187: + grep -q '__[at]san_init' +179: + '[' x86_64 = ppc64 ']' +179: + nm -D out/test/elf/x86_64/lto-version-script/c.so +179: + grep -q 'T foo' +185: + grep -q 'undefined symbol: foo' out/test/elf/x86_64/missing-error/log +185: + grep -q '>>> .*a\.o' out/test/elf/x86_64/missing-error/log +185: + on_exit +185: + echo OK +185: OK +185: + exit 0 +176/357 Test #185: x86_64-missing-error ....................... Passed 0.09 sec +test 188 + Start 188: x86_64-nmagic + +188: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/nmagic.sh" +188: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +188: Environment variables: +188: MACHINE=x86_64 +188: CPU= +188: Test timeout computed to be: 1500 +179: + nm -D out/test/elf/x86_64/lto-version-script/c.so +179: + grep -q 'T bar' +188: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/nmagic.sh +179: + on_exit +179: + echo OK +179: OK +179: + exit 0 +177/357 Test #179: x86_64-lto-version-script .................. Passed 0.20 sec test 189 Start 189: x86_64-no-eh-frame-header @@ -11054,12 +11107,6 @@ 189: MACHINE=x86_64 189: CPU= 189: Test timeout computed to be: 1500 -187: ++ testname=mold-wrapper2 -187: ++ echo -n 'Testing mold-wrapper2 ... ' -187: Testing mold-wrapper2 ... ++ t=out/test/elf/x86_64/mold-wrapper2 -187: ++ mkdir -p out/test/elf/x86_64/mold-wrapper2 -187: + ldd mold-wrapper.so -188: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/nmagic.sh 188: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 188: ++ export LC_ALL=C 188: ++ LC_ALL=C @@ -11079,8 +11126,21 @@ 188: ++ trap 'on_error $LINENO' ERR 188: ++ trap on_exit EXIT 188: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/nmagic.sh .sh -187: + grep -q libasan +188: ++ testname=nmagic +188: ++ echo -n 'Testing nmagic ... ' +188: Testing nmagic ... ++ t=out/test/elf/x86_64/nmagic +188: ++ mkdir -p out/test/elf/x86_64/nmagic +161: + c++ -B. -o out/test/elf/x86_64/issue646/exe out/test/elf/x86_64/issue646/a.o +174: + cc -B. -o out/test/elf/x86_64/lto-archive/exe -flto out/test/elf/x86_64/lto-archive/d.o out/test/elf/x86_64/lto-archive/c.a +180: + out/test/elf/x86_64/main-in-dso/exe1 +183: + grep -Eq '^(\S+) \1 (\S+) \2 (\S+) \3 (\S+) \4$' +183: + out/test/elf/x86_64/mergeable-strings/exe1 +188: + cc -o out/test/elf/x86_64/nmagic/a.o -c -xc - +180: + grep -q 'Hello world' +183: + cc -B. -o out/test/elf/x86_64/mergeable-strings/exe2 out/test/elf/x86_64/mergeable-strings/a.o out/test/elf/x86_64/mergeable-strings/b.o -no-pie +188: + cat 189: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/no-eh-frame-header.sh +180: + cc -o out/test/elf/x86_64/main-in-dso/c.o -c -xc /dev/null -fno-PIC 189: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 189: ++ export LC_ALL=C 189: ++ LC_ALL=C @@ -11095,10 +11155,6 @@ 189: ++ OBJCOPY=objcopy 189: ++ STRIP=strip 189: ++ QEMU= -188: ++ testname=nmagic -188: ++ echo -n 'Testing nmagic ... ' -188: Testing nmagic ... ++ t=out/test/elf/x86_64/nmagic -188: ++ mkdir -p out/test/elf/x86_64/nmagic 189: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 189: ++ tlsdesc_opt=-mtls-dialect=gnu2 189: ++ trap 'on_error $LINENO' ERR @@ -11108,19 +11164,22 @@ 189: ++ echo -n 'Testing no-eh-frame-header ... ' 189: Testing no-eh-frame-header ... ++ t=out/test/elf/x86_64/no-eh-frame-header 189: ++ mkdir -p out/test/elf/x86_64/no-eh-frame-header -188: + cc -o out/test/elf/x86_64/nmagic/a.o -c -xc - -188: + cat -189: + cc -o out/test/elf/x86_64/no-eh-frame-header/a.o -c -xc - 189: + cat -187: + nm mold -187: + grep -q '__[at]san_init' -183: + out/test/elf/x86_64/mergeable-strings/exe2 +189: + cc -o out/test/elf/x86_64/no-eh-frame-header/a.o -c -xc - +188: + cc -B. -o out/test/elf/x86_64/nmagic/exe1 out/test/elf/x86_64/nmagic/a.o -nostdlib -Wl,-nmagic +180: + cc -B. -o out/test/elf/x86_64/main-in-dso/exe2 out/test/elf/x86_64/main-in-dso/c.o out/test/elf/x86_64/main-in-dso/b.so -no-pie +182: + cc -c -xassembler -o out/test/elf/x86_64/many-sections2/a.o out/test/elf/x86_64/many-sections2/a.s +175: + '[' x86_64 = ppc64 ']' +175: + nm -D out/test/elf/x86_64/lto-dso/b.so +161: + out/test/elf/x86_64/issue646/exe +189: + cc -B. -Wl,--no-eh-frame-hdr -Wl,--thread-count=1 -O0 -o out/test/elf/x86_64/no-eh-frame-header/exe out/test/elf/x86_64/no-eh-frame-header/a.o +175: + grep -q 'T foo' 183: + grep -Eq '^(\S+) \1 (\S+) \2 (\S+) \3 (\S+) \4$' -183: + on_exit -183: + echo OK -183: OK -183: + exit 0 -178/357 Test #183: x86_64-mergeable-strings ................... Passed 0.21 sec +175: + on_exit +175: + echo OK +175: OK +175: + exit 0 +178/357 Test #175: x86_64-lto-dso ............................. Passed 0.32 sec test 190 Start 190: x86_64-no-quick-exit @@ -11130,6 +11189,29 @@ 190: MACHINE=x86_64 190: CPU= 190: Test timeout computed to be: 1500 +183: + out/test/elf/x86_64/mergeable-strings/exe2 +161: + grep -q 'error: exception' +161: + on_exit +161: + echo OK +161: OK +161: + exit 0 +187: + rm -rf out/test/elf/x86_64/mold-wrapper2 +187: + mkdir -p out/test/elf/x86_64/mold-wrapper2/bin out/test/elf/x86_64/mold-wrapper2/lib/mold +179/357 Test #161: x86_64-issue646 ............................ Passed 0.50 sec +test 191 + Start 191: x86_64-no-undefined-version + +191: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/no-undefined-version.sh" +191: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +191: Environment variables: +191: MACHINE=x86_64 +191: CPU= +191: Test timeout computed to be: 1500 +183: + on_exit +183: + echo OK +183: OK +183: + exit 0 +187: + cp mold out/test/elf/x86_64/mold-wrapper2/bin 190: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/no-quick-exit.sh 190: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 190: ++ export LC_ALL=C @@ -11154,35 +11236,19 @@ 190: ++ echo -n 'Testing no-quick-exit ... ' 190: Testing no-quick-exit ... ++ t=out/test/elf/x86_64/no-quick-exit 190: ++ mkdir -p out/test/elf/x86_64/no-quick-exit -190: + cat -190: + cc -o out/test/elf/x86_64/no-quick-exit/a.o -c -xc - -179: + '[' x86_64 = ppc64 ']' -179: + nm -D out/test/elf/x86_64/lto-version-script/c.so -186: + cat -186: + chmod 755 out/test/elf/x86_64/mold-wrapper/a.sh -179: + grep -q 'T foo' -179: + nm -D out/test/elf/x86_64/lto-version-script/c.so -179: + grep -q 'T bar' -186: + cat -186: + cc -xc -o out/test/elf/x86_64/mold-wrapper/exe - -179: + on_exit -179: + echo OK -179: OK -179: + exit 0 -179/357 Test #179: x86_64-lto-version-script .................. Passed 0.36 sec -test 191 - Start 191: x86_64-no-undefined-version +180/357 Test #183: x86_64-mergeable-strings ................... Passed 0.20 sec +test 192 + Start 192: x86_64-nocopyreloc -191: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/no-undefined-version.sh" -191: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -191: Environment variables: -191: MACHINE=x86_64 -191: CPU= -191: Test timeout computed to be: 1500 -190: + cc -B. -o out/test/elf/x86_64/no-quick-exit/exe out/test/elf/x86_64/no-quick-exit/a.o -Wl,-no-quick-exit -189: + cc -B. -Wl,--no-eh-frame-hdr -Wl,--thread-count=1 -O0 -o out/test/elf/x86_64/no-eh-frame-header/exe out/test/elf/x86_64/no-eh-frame-header/a.o -174: + cat -174: + cc -o out/test/elf/x86_64/lto-archive/a.o -c -flto -xc - +192: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/nocopyreloc.sh" +192: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +192: Environment variables: +192: MACHINE=x86_64 +192: CPU= +192: Test timeout computed to be: 1500 +190: + cc -o out/test/elf/x86_64/no-quick-exit/a.o -c -xc - +190: + cat +188: + cc -B. -o out/test/elf/x86_64/nmagic/exe2 out/test/elf/x86_64/nmagic/a.o -nostdlib 191: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/no-undefined-version.sh 191: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 191: ++ export LC_ALL=C @@ -11207,36 +11273,17 @@ 191: ++ echo -n 'Testing no-undefined-version ... ' 191: Testing no-undefined-version ... ++ t=out/test/elf/x86_64/no-undefined-version 191: ++ mkdir -p out/test/elf/x86_64/no-undefined-version -191: + echo 'ver_x { global: foo; };' -191: + cat -191: + cc -o out/test/elf/x86_64/no-undefined-version/b.o -c -xc - -190: + out/test/elf/x86_64/no-quick-exit/exe -190: + grep -q 'Hello world' -190: + on_exit -190: + echo OK -190: OK -190: + exit 0 -180/357 Test #190: x86_64-no-quick-exit ....................... Passed 0.09 sec -test 192 - Start 192: x86_64-nocopyreloc - -192: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/nocopyreloc.sh" -192: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -192: Environment variables: -192: MACHINE=x86_64 -192: CPU= -192: Test timeout computed to be: 1500 -189: + readelf -WS out/test/elf/x86_64/no-eh-frame-header/exe -189: + grep -F .eh_frame_hdr out/test/elf/x86_64/no-eh-frame-header/log -178: + readelf -Ws out/test/elf/x86_64/lto-nostdlib/exe -178: + grep -Eq ' _start' -189: + out/test/elf/x86_64/no-eh-frame-header/exe -192: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/nocopyreloc.sh -178: + on_exit -178: + echo OK -178: OK -178: + exit 0 -181/357 Test #178: x86_64-lto-nostdlib ........................ Passed 0.43 sec +180: + out/test/elf/x86_64/main-in-dso/exe2 +180: + grep -q 'Hello world' +180: + on_exit +180: + echo OK +180: OK +180: + exit 0 +176: + out/test/elf/x86_64/lto-gcc/exe1 +176: + grep -q 'Hello world' +176: + cat +176: + gcc -flto -ffat-lto-objects -c -o out/test/elf/x86_64/lto-gcc/b.o -xc - +181/357 Test #180: x86_64-main-in-dso ......................... Passed 0.27 sec test 193 Start 193: x86_64-noinhibit-exec @@ -11246,6 +11293,10 @@ 193: MACHINE=x86_64 193: CPU= 193: Test timeout computed to be: 1500 +191: + echo 'ver_x { global: foo; };' +191: + cat +191: + cc -o out/test/elf/x86_64/no-undefined-version/b.o -c -xc - +192: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/nocopyreloc.sh 192: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 192: ++ export LC_ALL=C 192: ++ LC_ALL=C @@ -11264,37 +11315,10 @@ 192: ++ tlsdesc_opt=-mtls-dialect=gnu2 192: ++ trap 'on_error $LINENO' ERR 192: ++ trap on_exit EXIT -192: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/nocopyreloc.sh .sh -192: ++ testname=nocopyreloc -192: ++ echo -n 'Testing nocopyreloc ... ' -192: Testing nocopyreloc ... ++ t=out/test/elf/x86_64/nocopyreloc -192: ++ mkdir -p out/test/elf/x86_64/nocopyreloc -192: + '[' x86_64 = i686 ']' -192: + '[' x86_64 = m68k ']' -192: + '[' x86_64 = arm ']' -192: + '[' x86_64 = ppc64 ']' -192: + '[' x86_64 = ppc64le ']' -192: + '[' x86_64 = sh4 ']' -192: + '[' x86_64 = alpha ']' -192: + [[ x86_64 = loongarch* ]] -189: + on_exit -189: + echo OK -189: OK -189: + exit 0 -187: + rm -rf out/test/elf/x86_64/mold-wrapper2 -182/357 Test #189: x86_64-no-eh-frame-header .................. Passed 0.13 sec -test 194 - Start 194: x86_64-non-canonical-plt - -194: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/non-canonical-plt.sh" -194: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -194: Environment variables: -194: MACHINE=x86_64 -194: CPU= -194: Test timeout computed to be: 1500 -192: + cat -192: + cc -shared -o out/test/elf/x86_64/nocopyreloc/a.so -xc - -187: + mkdir -p out/test/elf/x86_64/mold-wrapper2/bin out/test/elf/x86_64/mold-wrapper2/lib/mold +186: + cat +189: + readelf -WS out/test/elf/x86_64/no-eh-frame-header/exe +189: + grep -F .eh_frame_hdr out/test/elf/x86_64/no-eh-frame-header/log +189: + out/test/elf/x86_64/no-eh-frame-header/exe 193: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/noinhibit-exec.sh 193: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 193: ++ export LC_ALL=C @@ -11314,13 +11338,45 @@ 193: ++ tlsdesc_opt=-mtls-dialect=gnu2 193: ++ trap 'on_error $LINENO' ERR 193: ++ trap on_exit EXIT -187: + cp mold out/test/elf/x86_64/mold-wrapper2/bin 193: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/noinhibit-exec.sh .sh -188: + cc -B. -o out/test/elf/x86_64/nmagic/exe1 out/test/elf/x86_64/nmagic/a.o -nostdlib -Wl,-nmagic 193: ++ testname=noinhibit-exec 193: ++ echo -n 'Testing noinhibit-exec ... ' 193: Testing noinhibit-exec ... ++ t=out/test/elf/x86_64/noinhibit-exec 193: ++ mkdir -p out/test/elf/x86_64/noinhibit-exec +192: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/nocopyreloc.sh .sh +189: + on_exit +189: + echo OK +189: OK +189: + exit 0 +182/357 Test #189: x86_64-no-eh-frame-header .................. Passed 0.08 sec +test 194 + Start 194: x86_64-non-canonical-plt + +194: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/non-canonical-plt.sh" +194: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +194: Environment variables: +194: MACHINE=x86_64 +194: CPU= +194: Test timeout computed to be: 1500 +186: + chmod 755 out/test/elf/x86_64/mold-wrapper/a.sh +186: + cc -xc -o out/test/elf/x86_64/mold-wrapper/exe - +192: ++ testname=nocopyreloc +192: ++ echo -n 'Testing nocopyreloc ... ' +192: Testing nocopyreloc ... ++ t=out/test/elf/x86_64/nocopyreloc +192: ++ mkdir -p out/test/elf/x86_64/nocopyreloc +192: + '[' x86_64 = i686 ']' +192: + '[' x86_64 = m68k ']' +192: + '[' x86_64 = arm ']' +192: + '[' x86_64 = ppc64 ']' +192: + '[' x86_64 = ppc64le ']' +192: + '[' x86_64 = sh4 ']' +192: + '[' x86_64 = alpha ']' +192: + [[ x86_64 = loongarch* ]] +192: + cat +192: + cc -shared -o out/test/elf/x86_64/nocopyreloc/a.so -xc - +193: + cat +193: + cc -o out/test/elf/x86_64/noinhibit-exec/a.o -c -xc - -fno-PIC +186: + cat 194: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/non-canonical-plt.sh 194: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 194: ++ export LC_ALL=C @@ -11341,31 +11397,27 @@ 194: ++ trap 'on_error $LINENO' ERR 194: ++ trap on_exit EXIT 194: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/non-canonical-plt.sh .sh -193: + cat -193: + cc -o out/test/elf/x86_64/noinhibit-exec/a.o -c -xc - -fno-PIC 194: ++ testname=non-canonical-plt 194: ++ echo -n 'Testing non-canonical-plt ... ' 194: Testing non-canonical-plt ... ++ t=out/test/elf/x86_64/non-canonical-plt 194: ++ mkdir -p out/test/elf/x86_64/non-canonical-plt -194: + cat -194: + cc -o out/test/elf/x86_64/non-canonical-plt/a.so -fPIC -shared -xc - -188: + cc -B. -o out/test/elf/x86_64/nmagic/exe2 out/test/elf/x86_64/nmagic/a.o -nostdlib -175: + cat -175: + cc -flto -c -fPIC -o out/test/elf/x86_64/lto-dso/a.o -xc - 188: ++ nm out/test/elf/x86_64/nmagic/exe1 -188: ++ grep ' end$' 188: ++ cut '-d ' -f1 +188: ++ grep ' end$' +194: + cat +190: + cc -B. -o out/test/elf/x86_64/no-quick-exit/exe out/test/elf/x86_64/no-quick-exit/a.o -Wl,-no-quick-exit +194: + cc -o out/test/elf/x86_64/non-canonical-plt/a.so -fPIC -shared -xc - 188: + end1=0000000000000410 188: ++ nm out/test/elf/x86_64/nmagic/exe2 -188: ++ grep ' end$' 188: ++ cut '-d ' -f1 +188: ++ grep ' end$' 188: + end2=0000000000003480 188: + '[' 1040 -lt 13440 ']' 188: + on_exit 188: + echo OK 188: OK 188: + exit 0 -183/357 Test #188: x86_64-nmagic .............................. Passed 0.18 sec +183/357 Test #188: x86_64-nmagic .............................. Passed 0.11 sec test 195 Start 195: x86_64-nostdlib @@ -11399,20 +11451,28 @@ 195: ++ echo -n 'Testing nostdlib ... ' 195: Testing nostdlib ... ++ t=out/test/elf/x86_64/nostdlib 195: ++ mkdir -p out/test/elf/x86_64/nostdlib +191: + cc -B. -o out/test/elf/x86_64/no-undefined-version/exe -Wl,--version-script,out/test/elf/x86_64/no-undefined-version/a.ver out/test/elf/x86_64/no-undefined-version/b.o +174: + out/test/elf/x86_64/lto-archive/exe 195: + cat 195: + cc -o out/test/elf/x86_64/nostdlib/a.o -c -xc - -fno-PIE -174: + cat -174: + cc -o out/test/elf/x86_64/lto-archive/b.o -c -flto -xc - -191: + cc -B. -o out/test/elf/x86_64/no-undefined-version/exe -Wl,--version-script,out/test/elf/x86_64/no-undefined-version/a.ver out/test/elf/x86_64/no-undefined-version/b.o -175: + cc -B. -shared -o out/test/elf/x86_64/lto-dso/b.so -flto out/test/elf/x86_64/lto-dso/a.o -176: + cat -176: + gcc -flto -c -o out/test/elf/x86_64/lto-gcc/a.o -xc - -191: + grep -Fq 'a.ver: cannot assign version `ver_x` to symbol `foo`: symbol not found' out/test/elf/x86_64/no-undefined-version/log -191: + on_exit -191: + echo OK -191: OK -191: + exit 0 -184/357 Test #191: x86_64-no-undefined-version ................ Passed 0.16 sec +174: + grep -q 'Hello world' +174: + nm out/test/elf/x86_64/lto-archive/exe +193: + cc -B. -shared -o out/test/elf/x86_64/noinhibit-exec/b.so out/test/elf/x86_64/noinhibit-exec/a.o +176: + gcc -B. -o out/test/elf/x86_64/lto-gcc/exe2 out/test/elf/x86_64/lto-gcc/b.o --verbose +176: + grep -q -- -fwpa +174: + grep -q hello out/test/elf/x86_64/lto-archive/log +174: + grep -q howdy out/test/elf/x86_64/lto-archive/log +190: + grep -q 'Hello world' +190: + out/test/elf/x86_64/no-quick-exit/exe +174: + on_exit +174: + echo OK +174: OK +174: + exit 0 +190: + on_exit +190: + echo OK +190: OK +190: + exit 0 +184/357 Test #174: x86_64-lto-archive ......................... Passed 0.42 sec test 196 Start 196: x86_64-now @@ -11422,17 +11482,29 @@ 196: MACHINE=x86_64 196: CPU= 196: Test timeout computed to be: 1500 -193: + cc -B. -shared -o out/test/elf/x86_64/noinhibit-exec/b.so out/test/elf/x86_64/noinhibit-exec/a.o -192: + cat +185/357 Test #190: x86_64-no-quick-exit ....................... Passed 0.09 sec +test 197 + Start 197: x86_64-oformat-binary + +197: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/oformat-binary.sh" +197: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +197: Environment variables: +197: MACHINE=x86_64 +197: CPU= +197: Test timeout computed to be: 1500 192: + cc -fno-PIC -c -o out/test/elf/x86_64/nocopyreloc/b.o -xc - -186: + grep -q 'a.sh execl' -186: ++ pwd -186: + LD_PRELOAD=/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so -186: + MOLD_PATH=out/test/elf/x86_64/mold-wrapper/a.sh -186: + out/test/elf/x86_64/mold-wrapper/exe execl +192: + cat 195: + ./mold -o out/test/elf/x86_64/nostdlib/exe out/test/elf/x86_64/nostdlib/a.o +195: + readelf -W --sections out/test/elf/x86_64/nostdlib/exe +194: + cat +194: + cc -o out/test/elf/x86_64/non-canonical-plt/b.o -c -xc - -fPIC +191: + grep -Fq 'a.ver: cannot assign version `ver_x` to symbol `foo`: symbol not found' out/test/elf/x86_64/no-undefined-version/log +191: + on_exit +191: + echo OK +191: OK +191: + exit 0 +193: + cc -B. -o out/test/elf/x86_64/noinhibit-exec/b.so out/test/elf/x86_64/noinhibit-exec/a.o -Wl,-require-defined=no-such-sym 196: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/now.sh -186: + grep -q 'a.sh execlp' 196: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 196: ++ export LC_ALL=C 196: ++ LC_ALL=C @@ -11451,86 +11523,33 @@ 196: ++ tlsdesc_opt=-mtls-dialect=gnu2 196: ++ trap 'on_error $LINENO' ERR 196: ++ trap on_exit EXIT -186: ++ pwd -186: + LD_PRELOAD=/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so -186: + MOLD_PATH=out/test/elf/x86_64/mold-wrapper/a.sh -186: + out/test/elf/x86_64/mold-wrapper/exe execlp 196: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/now.sh .sh 196: ++ testname=now 196: ++ echo -n 'Testing now ... ' 196: Testing now ... ++ t=out/test/elf/x86_64/now 196: ++ mkdir -p out/test/elf/x86_64/now -195: + readelf -W --sections out/test/elf/x86_64/nostdlib/exe 196: + cat -186: ++ pwd -196: + cc -c -fPIC -o out/test/elf/x86_64/now/a.o -xc - -186: + LD_PRELOAD=/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so -186: + MOLD_PATH=out/test/elf/x86_64/mold-wrapper/a.sh -186: + out/test/elf/x86_64/mold-wrapper/exe execle -186: + grep -q 'a.sh execle' -194: + cc -o out/test/elf/x86_64/non-canonical-plt/b.o -c -xc - -fPIC -194: + cat -174: + rm -f out/test/elf/x86_64/lto-archive/c.a -195: + grep -Fq ' .dynsym ' out/test/elf/x86_64/nostdlib/log -174: + ar rc out/test/elf/x86_64/lto-archive/c.a out/test/elf/x86_64/lto-archive/a.o out/test/elf/x86_64/lto-archive/b.o -186: + grep -q 'a.sh execv' -186: ++ pwd -186: + LD_PRELOAD=/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so -186: + MOLD_PATH=out/test/elf/x86_64/mold-wrapper/a.sh -186: + out/test/elf/x86_64/mold-wrapper/exe execv -195: + grep -Fq ' .dynstr ' out/test/elf/x86_64/nostdlib/log -176: + gcc -B. -o out/test/elf/x86_64/lto-gcc/exe1 -flto out/test/elf/x86_64/lto-gcc/a.o -193: + cc -B. -o out/test/elf/x86_64/noinhibit-exec/b.so out/test/elf/x86_64/noinhibit-exec/a.o -Wl,-require-defined=no-such-sym -186: ++ pwd -186: + grep -q 'a.sh execvp' -186: + LD_PRELOAD=/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so -186: + MOLD_PATH=out/test/elf/x86_64/mold-wrapper/a.sh -186: + out/test/elf/x86_64/mold-wrapper/exe execvp -195: + on_exit -195: + echo OK -195: OK -195: + exit 0 -185/357 Test #195: x86_64-nostdlib ............................ Passed 0.10 sec -test 197 - Start 197: x86_64-oformat-binary +186/357 Test #191: x86_64-no-undefined-version ................ Passed 0.09 sec +test 198 + Start 198: x86_64-omagic -197: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/oformat-binary.sh" -197: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -197: Environment variables: -197: MACHINE=x86_64 -197: CPU= -197: Test timeout computed to be: 1500 -186: + grep -q 'a.sh execvpe bar' -186: ++ pwd -186: + LD_PRELOAD=/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so -186: + MOLD_PATH=out/test/elf/x86_64/mold-wrapper/a.sh -186: + out/test/elf/x86_64/mold-wrapper/exe execvpe -174: + cc -o out/test/elf/x86_64/lto-archive/d.o -c -flto -xc - -174: + cat +198: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/omagic.sh" +198: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +198: Environment variables: +198: MACHINE=x86_64 +198: CPU= +198: Test timeout computed to be: 1500 +196: + cc -c -fPIC -o out/test/elf/x86_64/now/a.o -xc - 197: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/oformat-binary.sh 197: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 197: ++ export LC_ALL=C 197: ++ LC_ALL=C 197: ++ '[' -z x86_64 ']' -186: + on_exit -186: + echo OK -186: OK -186: + exit 0 197: ++ '[' -z '' ']' 197: ++ TESTDIR=out/test/elf/x86_64 197: ++ CC=cc 197: ++ CXX=c++ 197: ++ GCC=gcc -186/357 Test #186: x86_64-mold-wrapper ........................ Passed 0.40 sec -test 198 - Start 198: x86_64-omagic - -198: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/omagic.sh" -198: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -198: Environment variables: -198: MACHINE=x86_64 -198: CPU= -198: Test timeout computed to be: 1500 197: ++ GXX=g++ 197: ++ OBJDUMP=objdump 197: ++ OBJCOPY=objcopy @@ -11541,13 +11560,12 @@ 197: ++ trap 'on_error $LINENO' ERR 197: ++ trap on_exit EXIT 197: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/oformat-binary.sh .sh +198: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/omagic.sh 197: ++ testname=oformat-binary 197: ++ echo -n 'Testing oformat-binary ... ' 197: Testing oformat-binary ... ++ t=out/test/elf/x86_64/oformat-binary 197: ++ mkdir -p out/test/elf/x86_64/oformat-binary -192: + cc -B. -no-pie -o out/test/elf/x86_64/nocopyreloc/exe out/test/elf/x86_64/nocopyreloc/a.so out/test/elf/x86_64/nocopyreloc/b.o -198: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/omagic.sh -197: + cat +195: + grep -Fq ' .dynsym ' out/test/elf/x86_64/nostdlib/log 198: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 198: ++ export LC_ALL=C 198: ++ LC_ALL=C @@ -11567,27 +11585,18 @@ 198: ++ trap 'on_error $LINENO' ERR 198: ++ trap on_exit EXIT 198: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/omagic.sh .sh -197: + cc -o out/test/elf/x86_64/oformat-binary/a.o -c -xc - -fno-PIE 198: ++ testname=omagic 198: ++ echo -n 'Testing omagic ... ' 198: Testing omagic ... ++ t=out/test/elf/x86_64/omagic 198: ++ mkdir -p out/test/elf/x86_64/omagic -198: + test_cflags -static -198: + echo 'int main() {}' -198: + cc -static -o /dev/null -xc - -193: + grep -q 'undefined symbol: no-such-sym' out/test/elf/x86_64/noinhibit-exec/log1 -193: + cc -B. -shared -o out/test/elf/x86_64/noinhibit-exec/b.o out/test/elf/x86_64/noinhibit-exec/a.o -Wl,-require-defined=no-such-sym -Wl,-noinhibit-exec -192: + out/test/elf/x86_64/nocopyreloc/exe -192: + grep -q '3 5' -192: + cc -B. -o out/test/elf/x86_64/nocopyreloc/exe out/test/elf/x86_64/nocopyreloc/a.so out/test/elf/x86_64/nocopyreloc/b.o -no-pie -Wl,-z,nocopyreloc -197: + ./mold -o out/test/elf/x86_64/oformat-binary/exe out/test/elf/x86_64/oformat-binary/a.o --oformat=binary -Ttext=0x4000 -Map=out/test/elf/x86_64/oformat-binary/map -196: + cc -B. -shared -o out/test/elf/x86_64/now/b.so out/test/elf/x86_64/now/a.o -Wl,-z,now -193: + grep -q 'undefined symbol: no-such-sym' out/test/elf/x86_64/noinhibit-exec/log2 -193: + on_exit -193: + echo OK -193: OK -193: + exit 0 -187/357 Test #193: x86_64-noinhibit-exec ...................... Passed 0.24 sec +197: + cat +197: + cc -o out/test/elf/x86_64/oformat-binary/a.o -c -xc - -fno-PIE +195: + grep -Fq ' .dynstr ' out/test/elf/x86_64/nostdlib/log +195: + on_exit +195: + echo OK +195: OK +195: + exit 0 +187/357 Test #195: x86_64-nostdlib ............................ Passed 0.07 sec test 199 Start 199: x86_64-pack-dyn-relocs-relr @@ -11597,26 +11606,14 @@ 199: MACHINE=x86_64 199: CPU= 199: Test timeout computed to be: 1500 -197: + grep -Eq '^\s+0x4000\s+[0-9]+\s+[0-9]+\s+\.text$' out/test/elf/x86_64/oformat-binary/map -197: + grep -Fq .strtab out/test/elf/x86_64/oformat-binary/map -197: + grep -Fq .shstrtab out/test/elf/x86_64/oformat-binary/map -192: + grep -q 'recompile with -fPIC' out/test/elf/x86_64/nocopyreloc/log -192: + on_exit -192: + echo OK -192: OK -192: + exit 0 -188/357 Test #192: x86_64-nocopyreloc ......................... Passed 0.25 sec -test 200 - Start 200: x86_64-package-metadata - -200: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/package-metadata.sh" -200: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -200: Environment variables: -200: MACHINE=x86_64 -200: CPU= -200: Test timeout computed to be: 1500 -197: + grep -Fq .symtab out/test/elf/x86_64/oformat-binary/map -197: + grep -Fq .comment out/test/elf/x86_64/oformat-binary/map +198: + test_cflags -static +198: + echo 'int main() {}' +198: + cc -static -o /dev/null -xc - +194: + cat +194: + cc -o out/test/elf/x86_64/non-canonical-plt/c.o -c -xc - -fPIC +192: + cc -B. -no-pie -o out/test/elf/x86_64/nocopyreloc/exe out/test/elf/x86_64/nocopyreloc/a.so out/test/elf/x86_64/nocopyreloc/b.o +176: + cat +176: + gcc -flto -fno-use-linker-plugin -c -o out/test/elf/x86_64/lto-gcc/c.o -xc - 199: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/pack-dyn-relocs-relr.sh 199: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 199: ++ export LC_ALL=C @@ -11637,21 +11634,42 @@ 199: ++ trap 'on_error $LINENO' ERR 199: ++ trap on_exit EXIT 199: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/pack-dyn-relocs-relr.sh .sh -197: + on_exit -197: + echo OK -197: OK -197: + exit 0 -200: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/package-metadata.sh -189/357 Test #197: x86_64-oformat-binary ...................... Passed 0.09 sec -test 201 - Start 201: x86_64-physical-image-base +193: + grep -q 'undefined symbol: no-such-sym' out/test/elf/x86_64/noinhibit-exec/log1 +186: + grep -q 'a.sh execl' +186: ++ pwd +186: + LD_PRELOAD=/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so +186: + MOLD_PATH=out/test/elf/x86_64/mold-wrapper/a.sh +186: + out/test/elf/x86_64/mold-wrapper/exe execl +199: ++ testname=pack-dyn-relocs-relr +199: ++ echo -n 'Testing pack-dyn-relocs-relr ... ' +199: Testing pack-dyn-relocs-relr ... ++ t=out/test/elf/x86_64/pack-dyn-relocs-relr +199: ++ mkdir -p out/test/elf/x86_64/pack-dyn-relocs-relr +193: + cc -B. -shared -o out/test/elf/x86_64/noinhibit-exec/b.o out/test/elf/x86_64/noinhibit-exec/a.o -Wl,-require-defined=no-such-sym -Wl,-noinhibit-exec +199: + '[' x86_64 = m68k ']' +199: + '[' x86_64 = ppc ']' +199: + command -v llvm-readelf +199: + skip +199: + echo skipped +199: skipped +199: + trap - EXIT +199: + exit 0 +188/357 Test #199: x86_64-pack-dyn-relocs-relr ................***Skipped 0.01 sec +test 200 + Start 200: x86_64-package-metadata -201: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/physical-image-base.sh" -201: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -201: Environment variables: -201: MACHINE=x86_64 -201: CPU= -201: Test timeout computed to be: 1500 +200: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/package-metadata.sh" +200: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +200: Environment variables: +200: MACHINE=x86_64 +200: CPU= +200: Test timeout computed to be: 1500 +186: + grep -q 'a.sh execlp' +186: ++ pwd +186: + LD_PRELOAD=/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so +186: + MOLD_PATH=out/test/elf/x86_64/mold-wrapper/a.sh +186: + out/test/elf/x86_64/mold-wrapper/exe execlp +200: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/package-metadata.sh +196: + cc -B. -shared -o out/test/elf/x86_64/now/b.so out/test/elf/x86_64/now/a.o -Wl,-z,now 200: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 200: ++ export LC_ALL=C 200: ++ LC_ALL=C @@ -11670,34 +11688,52 @@ 200: ++ tlsdesc_opt=-mtls-dialect=gnu2 200: ++ trap 'on_error $LINENO' ERR 200: ++ trap on_exit EXIT +186: + grep -q 'a.sh execle' +186: ++ pwd 200: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/package-metadata.sh .sh -199: ++ testname=pack-dyn-relocs-relr -199: ++ echo -n 'Testing pack-dyn-relocs-relr ... ' -199: Testing pack-dyn-relocs-relr ... ++ t=out/test/elf/x86_64/pack-dyn-relocs-relr -199: ++ mkdir -p out/test/elf/x86_64/pack-dyn-relocs-relr -201: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/physical-image-base.sh -199: + '[' x86_64 = m68k ']' -199: + '[' x86_64 = ppc ']' -199: + command -v llvm-readelf +186: + LD_PRELOAD=/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so +186: + MOLD_PATH=out/test/elf/x86_64/mold-wrapper/a.sh +186: + out/test/elf/x86_64/mold-wrapper/exe execle 200: ++ testname=package-metadata 200: ++ echo -n 'Testing package-metadata ... ' 200: Testing package-metadata ... ++ t=out/test/elf/x86_64/package-metadata 200: ++ mkdir -p out/test/elf/x86_64/package-metadata -199: + skip -199: + echo skipped -199: skipped -199: + trap - EXIT -199: + exit 0 -190/357 Test #199: x86_64-pack-dyn-relocs-relr ................***Skipped 0.02 sec -test 202 - Start 202: x86_64-pie +186: + grep -q 'a.sh execv' +200: + cc -o out/test/elf/x86_64/package-metadata/a.o -c -xc - +186: ++ pwd +186: + LD_PRELOAD=/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so +186: + MOLD_PATH=out/test/elf/x86_64/mold-wrapper/a.sh +186: + out/test/elf/x86_64/mold-wrapper/exe execv +200: + cat +197: + ./mold -o out/test/elf/x86_64/oformat-binary/exe out/test/elf/x86_64/oformat-binary/a.o --oformat=binary -Ttext=0x4000 -Map=out/test/elf/x86_64/oformat-binary/map +186: + grep -q 'a.sh execvp' +186: ++ pwd +186: + LD_PRELOAD=/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so +186: + MOLD_PATH=out/test/elf/x86_64/mold-wrapper/a.sh +186: + out/test/elf/x86_64/mold-wrapper/exe execvp +186: + grep -q 'a.sh execvpe bar' +186: ++ pwd +186: + LD_PRELOAD=/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so +186: + MOLD_PATH=out/test/elf/x86_64/mold-wrapper/a.sh +186: + out/test/elf/x86_64/mold-wrapper/exe execvpe +186: + on_exit +186: + echo OK +186: OK +186: + exit 0 +189/357 Test #186: x86_64-mold-wrapper ........................ Passed 0.28 sec +test 201 + Start 201: x86_64-physical-image-base -202: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/pie.sh" -202: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -202: Environment variables: -202: MACHINE=x86_64 -202: CPU= -202: Test timeout computed to be: 1500 +201: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/physical-image-base.sh" +201: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +201: Environment variables: +201: MACHINE=x86_64 +201: CPU= +201: Test timeout computed to be: 1500 +176: + gcc -B. -o out/test/elf/x86_64/lto-gcc/exe3 -flto -fno-use-linker-plugin out/test/elf/x86_64/lto-gcc/c.o +193: + grep -q 'undefined symbol: no-such-sym' out/test/elf/x86_64/noinhibit-exec/log2 +201: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/physical-image-base.sh +194: + cc -B. -no-pie -o out/test/elf/x86_64/non-canonical-plt/exe out/test/elf/x86_64/non-canonical-plt/a.so out/test/elf/x86_64/non-canonical-plt/b.o out/test/elf/x86_64/non-canonical-plt/c.o 201: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 201: ++ export LC_ALL=C 201: ++ LC_ALL=C @@ -11716,22 +11752,32 @@ 201: ++ tlsdesc_opt=-mtls-dialect=gnu2 201: ++ trap 'on_error $LINENO' ERR 201: ++ trap on_exit EXIT +192: + grep -q '3 5' +197: + grep -Eq '^\s+0x4000\s+[0-9]+\s+[0-9]+\s+\.text$' out/test/elf/x86_64/oformat-binary/map +192: + out/test/elf/x86_64/nocopyreloc/exe 201: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/physical-image-base.sh .sh 201: ++ testname=physical-image-base 201: ++ echo -n 'Testing physical-image-base ... ' 201: Testing physical-image-base ... ++ t=out/test/elf/x86_64/physical-image-base 201: ++ mkdir -p out/test/elf/x86_64/physical-image-base -200: + cat -200: + cc -o out/test/elf/x86_64/package-metadata/a.o -c -xc - -201: + '[' x86_64 = ppc64 ']' -201: + grep --version -196: + readelf --dynamic out/test/elf/x86_64/now/b.so -201: + grep BusyBox -196: + grep -q 'Flags: NOW' +193: + on_exit +193: + echo OK +193: OK +193: + exit 0 +197: + grep -Fq .strtab out/test/elf/x86_64/oformat-binary/map +190/357 Test #193: x86_64-noinhibit-exec ...................... Passed 0.15 sec +test 202 + Start 202: x86_64-pie + +202: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/pie.sh" +202: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +202: Environment variables: +202: MACHINE=x86_64 +202: CPU= +202: Test timeout computed to be: 1500 +192: + cc -B. -o out/test/elf/x86_64/nocopyreloc/exe out/test/elf/x86_64/nocopyreloc/a.so out/test/elf/x86_64/nocopyreloc/b.o -no-pie -Wl,-z,nocopyreloc +197: + grep -Fq .shstrtab out/test/elf/x86_64/oformat-binary/map 202: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/pie.sh -196: + cc -B. -shared -o out/test/elf/x86_64/now/b.so out/test/elf/x86_64/now/a.o -Wl,-z,now,-z,lazy -201: + cat -201: + cc -o out/test/elf/x86_64/physical-image-base/a.o -c -xc - 202: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 202: ++ export LC_ALL=C 202: ++ LC_ALL=C @@ -11750,23 +11796,24 @@ 202: ++ tlsdesc_opt=-mtls-dialect=gnu2 202: ++ trap 'on_error $LINENO' ERR 202: ++ trap on_exit EXIT +197: + grep -Fq .symtab out/test/elf/x86_64/oformat-binary/map 202: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/pie.sh .sh +196: + grep -q 'Flags: NOW' +201: + '[' x86_64 = ppc64 ']' +196: + readelf --dynamic out/test/elf/x86_64/now/b.so +197: + grep -Fq .comment out/test/elf/x86_64/oformat-binary/map +200: + cc -B. -o out/test/elf/x86_64/package-metadata/exe out/test/elf/x86_64/package-metadata/a.o '-Wl,-package-metadata={"foo":"bar"}' 202: ++ testname=pie 202: ++ echo -n 'Testing pie ... ' 202: Testing pie ... ++ t=out/test/elf/x86_64/pie 202: ++ mkdir -p out/test/elf/x86_64/pie -202: + cat -202: + cc -o out/test/elf/x86_64/pie/a.o -c -xc -fPIE - -174: + cc -B. -o out/test/elf/x86_64/lto-archive/exe -flto out/test/elf/x86_64/lto-archive/d.o out/test/elf/x86_64/lto-archive/c.a -194: + cat -194: + cc -o out/test/elf/x86_64/non-canonical-plt/c.o -c -xc - -fPIC -196: + readelf --dynamic out/test/elf/x86_64/now/b.so -196: + grep -q 'Flags: NOW' out/test/elf/x86_64/now/log -196: + on_exit -196: + echo OK -196: OK -196: + exit 0 -191/357 Test #196: x86_64-now ................................. Passed 0.19 sec +201: + grep BusyBox +197: + on_exit +197: + echo OK +197: OK +197: + exit 0 +201: + grep --version +191/357 Test #197: x86_64-oformat-binary ...................... Passed 0.08 sec test 203 Start 203: x86_64-plt-dso @@ -11776,6 +11823,11 @@ 203: MACHINE=x86_64 203: CPU= 203: Test timeout computed to be: 1500 +196: + cc -B. -shared -o out/test/elf/x86_64/now/b.so out/test/elf/x86_64/now/a.o -Wl,-z,now,-z,lazy +201: + cat +201: + cc -o out/test/elf/x86_64/physical-image-base/a.o -c -xc - +202: + cc -o out/test/elf/x86_64/pie/a.o -c -xc -fPIE - +202: + cat 203: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/plt-dso.sh 203: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 203: ++ export LC_ALL=C @@ -11802,31 +11854,19 @@ 203: ++ mkdir -p out/test/elf/x86_64/plt-dso 203: + cat 203: + cc -fPIC -c -o out/test/elf/x86_64/plt-dso/a.o -xc - -198: + cat -198: + cc -c -o out/test/elf/x86_64/omagic/a.o -xc - -fno-PIC -198: + cc -B. out/test/elf/x86_64/omagic/a.o -o out/test/elf/x86_64/omagic/exe -static -Wl,--omagic -200: + cc -B. -o out/test/elf/x86_64/package-metadata/exe out/test/elf/x86_64/package-metadata/a.o '-Wl,-package-metadata={"foo":"bar"}' -201: + cc -B. -no-pie -o out/test/elf/x86_64/physical-image-base/exe1 out/test/elf/x86_64/physical-image-base/a.o -Wl,--image-base=0x200000 -Wl,--physical-image-base=0x800000 -202: + cc -B. -pie -o out/test/elf/x86_64/pie/exe out/test/elf/x86_64/pie/a.o -194: + cc -B. -no-pie -o out/test/elf/x86_64/non-canonical-plt/exe out/test/elf/x86_64/non-canonical-plt/a.so out/test/elf/x86_64/non-canonical-plt/b.o out/test/elf/x86_64/non-canonical-plt/c.o -203: + cc -B. -shared -o out/test/elf/x86_64/plt-dso/b.so out/test/elf/x86_64/plt-dso/a.o -203: + cat 194: + grep -q '^1 1 1$' 194: + out/test/elf/x86_64/non-canonical-plt/exe -203: + cc -c -o out/test/elf/x86_64/plt-dso/c.o -xc - 194: + readelf --dyn-syms out/test/elf/x86_64/non-canonical-plt/exe 194: + grep -q '00000000 .* foo' -201: + out/test/elf/x86_64/physical-image-base/exe1 -201: + grep -q 'Hello world' +198: + cc -c -o out/test/elf/x86_64/omagic/a.o -xc - -fno-PIC +198: + cat 194: + readelf --dyn-syms out/test/elf/x86_64/non-canonical-plt/exe 194: + grep -q '00000000 .* bar' 194: + on_exit -201: + readelf -W --segments out/test/elf/x86_64/physical-image-base/exe1 194: + echo OK 194: OK 194: + exit 0 -201: + grep -Eq 'LOAD\s+0x000000 0x0*200000 0x0*800000' -192/357 Test #194: x86_64-non-canonical-plt ................... Passed 0.43 sec +192/357 Test #194: x86_64-non-canonical-plt ................... Passed 0.17 sec test 204 Start 204: x86_64-pltgot @@ -11836,10 +11876,9 @@ 204: MACHINE=x86_64 204: CPU= 204: Test timeout computed to be: 1500 -201: + readelf -Ws out/test/elf/x86_64/physical-image-base/exe1 -201: + grep -q __phys_start_foo -201: + cc -B. -no-pie -o out/test/elf/x86_64/physical-image-base/exe2 out/test/elf/x86_64/physical-image-base/a.o -Wl,--physical-image-base=0x800000 '-Wl,--section-order==0x800000 TEXT RODATA =0x900000 DATA BSS' +192: + grep -q 'recompile with -fPIC' out/test/elf/x86_64/nocopyreloc/log 204: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/pltgot.sh +201: + cc -B. -no-pie -o out/test/elf/x86_64/physical-image-base/exe1 out/test/elf/x86_64/physical-image-base/a.o -Wl,--image-base=0x200000 -Wl,--physical-image-base=0x800000 204: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 204: ++ export LC_ALL=C 204: ++ LC_ALL=C @@ -11847,7 +11886,6 @@ 204: ++ '[' -z '' ']' 204: ++ TESTDIR=out/test/elf/x86_64 204: ++ CC=cc -200: + readelf -x .note.package out/test/elf/x86_64/package-metadata/exe 204: ++ CXX=c++ 204: ++ GCC=gcc 204: ++ GXX=g++ @@ -11855,21 +11893,19 @@ 204: ++ OBJCOPY=objcopy 204: ++ STRIP=strip 204: ++ QEMU= -200: + grep -Fq '{"foo":"bar"}' 204: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 204: ++ tlsdesc_opt=-mtls-dialect=gnu2 204: ++ trap 'on_error $LINENO' ERR 204: ++ trap on_exit EXIT +192: + on_exit +192: + echo OK +192: OK +192: + exit 0 204: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/pltgot.sh .sh -204: ++ testname=pltgot -204: ++ echo -n 'Testing pltgot ... ' -204: Testing pltgot ... ++ t=out/test/elf/x86_64/pltgot -204: ++ mkdir -p out/test/elf/x86_64/pltgot -200: + on_exit -200: + echo OK -200: OK -200: + exit 0 -193/357 Test #200: x86_64-package-metadata .................... Passed 0.22 sec +200: + grep -Fq '{"foo":"bar"}' +200: + readelf -x .note.package out/test/elf/x86_64/package-metadata/exe +202: + cc -B. -pie -o out/test/elf/x86_64/pie/exe out/test/elf/x86_64/pie/a.o +193/357 Test #192: x86_64-nocopyreloc ......................... Passed 0.20 sec test 205 Start 205: x86_64-preinit-array @@ -11879,11 +11915,28 @@ 205: MACHINE=x86_64 205: CPU= 205: Test timeout computed to be: 1500 -204: + cat -204: + cc -o out/test/elf/x86_64/pltgot/a.o -c -xc - -fPIC +204: ++ testname=pltgot +204: ++ echo -n 'Testing pltgot ... ' +204: Testing pltgot ... ++ t=out/test/elf/x86_64/pltgot +204: ++ mkdir -p out/test/elf/x86_64/pltgot +200: + on_exit +200: + echo OK +200: OK +200: + exit 0 205: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/preinit-array.sh -202: + readelf --file-header out/test/elf/x86_64/pie/exe -202: + grep -q -E '(Shared object file|Position-Independent Executable file)' +194/357 Test #200: x86_64-package-metadata .................... Passed 0.09 sec +test 206 + Start 206: x86_64-print-dependencies + +206: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/print-dependencies.sh" +206: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +206: Environment variables: +206: MACHINE=x86_64 +206: CPU= +206: Test timeout computed to be: 1500 +196: + readelf --dynamic out/test/elf/x86_64/now/b.so +204: + cc -o out/test/elf/x86_64/pltgot/a.o -c -xc - -fPIC +204: + cat 205: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 205: ++ export LC_ALL=C 205: ++ LC_ALL=C @@ -11907,41 +11960,9 @@ 205: ++ echo -n 'Testing preinit-array ... ' 205: Testing preinit-array ... ++ t=out/test/elf/x86_64/preinit-array 205: ++ mkdir -p out/test/elf/x86_64/preinit-array -198: + readelf -W --segments out/test/elf/x86_64/omagic/exe -198: + grep -qw RWE -198: + on_exit -198: + echo OK -198: OK -198: + exit 0 -202: + out/test/elf/x86_64/pie/exe -194/357 Test #198: x86_64-omagic .............................. Passed 0.31 sec -test 206 - Start 206: x86_64-print-dependencies - -206: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/print-dependencies.sh" -206: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -206: Environment variables: -206: MACHINE=x86_64 -206: CPU= -206: Test timeout computed to be: 1500 -202: + grep -q 'Hello world' -202: + on_exit -202: + echo OK -202: OK -202: + exit 0 -195/357 Test #202: x86_64-pie ................................. Passed 0.22 sec -test 207 - Start 207: x86_64-protected-dynsym - -207: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/protected-dynsym.sh" -207: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -207: Environment variables: -207: MACHINE=x86_64 -207: CPU= -207: Test timeout computed to be: 1500 -205: + cc -o out/test/elf/x86_64/preinit-array/a.o -c -xc - -205: + cat 206: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/print-dependencies.sh +196: + grep -q 'Flags: NOW' out/test/elf/x86_64/now/log +205: + cat 206: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 206: ++ export LC_ALL=C 206: ++ LC_ALL=C @@ -11960,14 +11981,32 @@ 206: ++ tlsdesc_opt=-mtls-dialect=gnu2 206: ++ trap 'on_error $LINENO' ERR 206: ++ trap on_exit EXIT -207: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/protected-dynsym.sh -201: + grep -Eq 'LOAD\s+\S+\s+(\S+)\s\1.*R E 0' 206: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/print-dependencies.sh .sh -201: + readelf -W --segments out/test/elf/x86_64/physical-image-base/exe2 +203: + cc -B. -shared -o out/test/elf/x86_64/plt-dso/b.so out/test/elf/x86_64/plt-dso/a.o +196: + on_exit +196: + echo OK +196: OK +196: + exit 0 206: ++ testname=print-dependencies 206: ++ echo -n 'Testing print-dependencies ... ' 206: Testing print-dependencies ... ++ t=out/test/elf/x86_64/print-dependencies 206: ++ mkdir -p out/test/elf/x86_64/print-dependencies +195/357 Test #196: x86_64-now ................................. Passed 0.14 sec +test 207 + Start 207: x86_64-protected-dynsym + +207: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/protected-dynsym.sh" +207: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +207: Environment variables: +207: MACHINE=x86_64 +207: CPU= +207: Test timeout computed to be: 1500 +206: + cat +206: + cc -o out/test/elf/x86_64/print-dependencies/a.o -c -xc - +198: + cc -B. out/test/elf/x86_64/omagic/a.o -o out/test/elf/x86_64/omagic/exe -static -Wl,--omagic +205: + cc -o out/test/elf/x86_64/preinit-array/a.o -c -xc - +201: + grep -q 'Hello world' +207: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/protected-dynsym.sh 207: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 207: ++ export LC_ALL=C 207: ++ LC_ALL=C @@ -11987,21 +12026,35 @@ 207: ++ trap 'on_error $LINENO' ERR 207: ++ trap on_exit EXIT 207: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/protected-dynsym.sh .sh -206: + cat 207: ++ testname=protected-dynsym 207: ++ echo -n 'Testing protected-dynsym ... ' 207: Testing protected-dynsym ... ++ t=out/test/elf/x86_64/protected-dynsym 207: ++ mkdir -p out/test/elf/x86_64/protected-dynsym -206: + cc -o out/test/elf/x86_64/print-dependencies/a.o -c -xc - -201: + readelf -W --segments out/test/elf/x86_64/physical-image-base/exe2 -201: + grep -Eq 'LOAD\s+\S+\s+(\S+)\s\1.*R 0' +201: + out/test/elf/x86_64/physical-image-base/exe1 +201: + readelf -W --segments out/test/elf/x86_64/physical-image-base/exe1 +201: + grep -Eq 'LOAD\s+0x000000 0x0*200000 0x0*800000' 207: + cc -fPIC -c -o out/test/elf/x86_64/protected-dynsym/a.o -xc - +201: + readelf -Ws out/test/elf/x86_64/physical-image-base/exe1 207: + cat -201: + on_exit -201: + echo OK -201: OK -201: + exit 0 -196/357 Test #201: x86_64-physical-image-base ................. Passed 0.25 sec +201: + grep -q __phys_start_foo +201: + cc -B. -no-pie -o out/test/elf/x86_64/physical-image-base/exe2 out/test/elf/x86_64/physical-image-base/a.o -Wl,--physical-image-base=0x800000 '-Wl,--section-order==0x800000 TEXT RODATA =0x900000 DATA BSS' +203: + cat +203: + cc -c -o out/test/elf/x86_64/plt-dso/c.o -xc - +202: + readelf --file-header out/test/elf/x86_64/pie/exe +202: + grep -q -E '(Shared object file|Position-Independent Executable file)' +205: + ./mold -o out/test/elf/x86_64/preinit-array/exe1 out/test/elf/x86_64/preinit-array/a.o +207: + cat +206: + cat +207: + cc -fPIC -c -o out/test/elf/x86_64/protected-dynsym/b.o -fcommon -xc - +206: + cc -o out/test/elf/x86_64/print-dependencies/b.o -c -xc - +204: + cc -B. -shared -o out/test/elf/x86_64/pltgot/b.so out/test/elf/x86_64/pltgot/a.o +202: + out/test/elf/x86_64/pie/exe +202: + grep -q 'Hello world' +202: + on_exit +202: + echo OK +202: OK +202: + exit 0 +196/357 Test #202: x86_64-pie ................................. Passed 0.12 sec test 208 Start 208: x86_64-protected @@ -12011,7 +12064,25 @@ 208: MACHINE=x86_64 208: CPU= 208: Test timeout computed to be: 1500 +201: + grep -Eq 'LOAD\s+\S+\s+(\S+)\s\1.*R E 0' +201: + readelf -W --segments out/test/elf/x86_64/physical-image-base/exe2 +198: + grep -qw RWE +198: + readelf -W --segments out/test/elf/x86_64/omagic/exe +198: + on_exit +198: + echo OK +198: OK +198: + exit 0 208: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/protected.sh +197/357 Test #198: x86_64-omagic .............................. Passed 0.19 sec +test 209 + Start 209: x86_64-push-pop-state + +209: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/push-pop-state.sh" +209: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +209: Environment variables: +209: MACHINE=x86_64 +209: CPU= +209: Test timeout computed to be: 1500 208: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 208: ++ export LC_ALL=C 208: ++ LC_ALL=C @@ -12030,31 +12101,41 @@ 208: ++ tlsdesc_opt=-mtls-dialect=gnu2 208: ++ trap 'on_error $LINENO' ERR 208: ++ trap on_exit EXIT -203: + cc -B. -o out/test/elf/x86_64/plt-dso/exe -Wl,-rpath=out/test/elf/x86_64/plt-dso out/test/elf/x86_64/plt-dso/c.o out/test/elf/x86_64/plt-dso/b.so 208: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/protected.sh .sh 208: ++ testname=protected 208: ++ echo -n 'Testing protected ... ' 208: Testing protected ... ++ t=out/test/elf/x86_64/protected 208: ++ mkdir -p out/test/elf/x86_64/protected -175: + '[' x86_64 = ppc64 ']' 208: + cat -208: + cc -fPIC -c -o out/test/elf/x86_64/protected/a.o -xc - -175: + nm -D out/test/elf/x86_64/lto-dso/b.so -175: + grep -q 'T foo' -175: + on_exit -175: + echo OK -175: OK -175: + exit 0 -197/357 Test #175: x86_64-lto-dso ............................. Passed 1.00 sec -test 209 - Start 209: x86_64-push-pop-state +201: + readelf -W --segments out/test/elf/x86_64/physical-image-base/exe2 +201: + grep -Eq 'LOAD\s+\S+\s+(\S+)\s\1.*R 0' +201: + on_exit +201: + echo OK +201: OK +201: + exit 0 +205: + readelf -W --dynamic out/test/elf/x86_64/preinit-array/exe1 +205: + grep -q PREINIT_ARRAY out/test/elf/x86_64/preinit-array/log1 +203: + cc -B. -o out/test/elf/x86_64/plt-dso/exe -Wl,-rpath=out/test/elf/x86_64/plt-dso out/test/elf/x86_64/plt-dso/c.o out/test/elf/x86_64/plt-dso/b.so +176: + grep -q 'Hello world' +176: + out/test/elf/x86_64/lto-gcc/exe3 +207: + cc -B. -shared -o out/test/elf/x86_64/protected-dynsym/c.so out/test/elf/x86_64/protected-dynsym/a.o out/test/elf/x86_64/protected-dynsym/b.o -Wl,-strip-all +198/357 Test #201: x86_64-physical-image-base ................. Passed 0.14 sec +test 210 + Start 210: x86_64-range-extension-thunk -209: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/push-pop-state.sh" -209: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -209: Environment variables: -209: MACHINE=x86_64 -209: CPU= -209: Test timeout computed to be: 1500 +210: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/range-extension-thunk.sh" +210: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +210: Environment variables: +210: MACHINE=x86_64 +210: CPU= +210: Test timeout computed to be: 1500 +208: + cc -fPIC -c -o out/test/elf/x86_64/protected/a.o -xc - +205: + cat +205: + cc -o out/test/elf/x86_64/preinit-array/b.o -c -xc - +176: + on_exit +176: + echo OK +176: OK +176: + exit 0 209: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/push-pop-state.sh 209: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 209: ++ export LC_ALL=C @@ -12075,34 +12156,23 @@ 209: ++ trap 'on_error $LINENO' ERR 209: ++ trap on_exit EXIT 209: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/push-pop-state.sh .sh +206: + cc -B. -o out/test/elf/x86_64/print-dependencies/exe out/test/elf/x86_64/print-dependencies/a.o out/test/elf/x86_64/print-dependencies/b.o -Wl,--print-dependencies +199/357 Test #176: x86_64-lto-gcc ............................. Passed 0.58 sec +test 211 + Start 211: x86_64-range-extension-thunk2 + +211: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/range-extension-thunk2.sh" +211: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +211: Environment variables: +211: MACHINE=x86_64 +211: CPU= +211: Test timeout computed to be: 1500 209: ++ testname=push-pop-state 209: ++ echo -n 'Testing push-pop-state ... ' 209: Testing push-pop-state ... ++ t=out/test/elf/x86_64/push-pop-state 209: ++ mkdir -p out/test/elf/x86_64/push-pop-state -209: + cat 209: + cc -shared -o out/test/elf/x86_64/push-pop-state/a.so -xc - -208: + cc -B. -o out/test/elf/x86_64/protected/b.so -shared out/test/elf/x86_64/protected/a.o -207: + cat -207: + cc -fPIC -c -o out/test/elf/x86_64/protected-dynsym/b.o -fcommon -xc - -204: + cc -B. -shared -o out/test/elf/x86_64/pltgot/b.so out/test/elf/x86_64/pltgot/a.o -205: + ./mold -o out/test/elf/x86_64/preinit-array/exe1 out/test/elf/x86_64/preinit-array/a.o -203: + out/test/elf/x86_64/plt-dso/exe -203: + grep -q 'Hello WORLD' -203: + on_exit -203: + echo OK -203: OK -203: + exit 0 -198/357 Test #203: x86_64-plt-dso ............................. Passed 0.23 sec -test 210 - Start 210: x86_64-range-extension-thunk - -210: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/range-extension-thunk.sh" -210: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -210: Environment variables: -210: MACHINE=x86_64 -210: CPU= -210: Test timeout computed to be: 1500 -205: + readelf -W --dynamic out/test/elf/x86_64/preinit-array/exe1 +209: + cat 210: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/range-extension-thunk.sh 210: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 210: ++ export LC_ALL=C @@ -12122,68 +12192,19 @@ 210: ++ tlsdesc_opt=-mtls-dialect=gnu2 210: ++ trap 'on_error $LINENO' ERR 210: ++ trap on_exit EXIT -205: + grep -q PREINIT_ARRAY out/test/elf/x86_64/preinit-array/log1 -205: + cat -205: + cc -o out/test/elf/x86_64/preinit-array/b.o -c -xc - 210: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/range-extension-thunk.sh .sh 210: ++ testname=range-extension-thunk 210: ++ echo -n 'Testing range-extension-thunk ... ' 210: Testing range-extension-thunk ... ++ t=out/test/elf/x86_64/range-extension-thunk 210: ++ mkdir -p out/test/elf/x86_64/range-extension-thunk -206: + cat -206: + cc -o out/test/elf/x86_64/print-dependencies/b.o -c -xc - +211: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/range-extension-thunk2.sh 210: + '[' x86_64 = i686 ']' 210: + '[' x86_64 = riscv32 ']' 210: + '[' x86_64 = sparc64 ']' 210: + '[' -n '' -a '' = power10 ']' 210: + cat -208: + cat -208: + cc -c -o out/test/elf/x86_64/protected/c.o -xc - -fno-PIE -210: + cat -210: + cc -c -o out/test/elf/x86_64/range-extension-thunk/c.o out/test/elf/x86_64/range-extension-thunk/a.c -O0 204: + cat 204: + cc -o out/test/elf/x86_64/pltgot/c.o -c -xc - -fPIC -206: + cc -B. -o out/test/elf/x86_64/print-dependencies/exe out/test/elf/x86_64/print-dependencies/a.o out/test/elf/x86_64/print-dependencies/b.o -Wl,--print-dependencies -208: + cc -B. -no-pie -o out/test/elf/x86_64/protected/exe out/test/elf/x86_64/protected/c.o out/test/elf/x86_64/protected/b.so -204: + cc -B. -o out/test/elf/x86_64/pltgot/exe out/test/elf/x86_64/pltgot/c.o out/test/elf/x86_64/pltgot/b.so -176: + out/test/elf/x86_64/lto-gcc/exe1 -176: + grep -q 'Hello world' -176: + cat -176: + gcc -flto -ffat-lto-objects -c -o out/test/elf/x86_64/lto-gcc/b.o -xc - -205: + cc -B. -o out/test/elf/x86_64/preinit-array/exe2 out/test/elf/x86_64/preinit-array/b.o -207: + cc -B. -shared -o out/test/elf/x86_64/protected-dynsym/c.so out/test/elf/x86_64/protected-dynsym/a.o out/test/elf/x86_64/protected-dynsym/b.o -Wl,-strip-all -208: + grep -q '3 4 0' -208: + out/test/elf/x86_64/protected/exe -208: + on_exit -208: + echo OK -208: OK -208: + exit 0 -199/357 Test #208: x86_64-protected ........................... Passed 0.14 sec -test 211 - Start 211: x86_64-range-extension-thunk2 - -211: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/range-extension-thunk2.sh" -211: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -211: Environment variables: -211: MACHINE=x86_64 -211: CPU= -211: Test timeout computed to be: 1500 -206: + grep -q 'b\.o.*a\.o.*foo$' out/test/elf/x86_64/print-dependencies/log -206: + on_exit -206: + echo OK -206: OK -206: + exit 0 -200/357 Test #206: x86_64-print-dependencies .................. Passed 0.17 sec -test 212 - Start 212: x86_64-relax-got-load - -212: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/relax-got-load.sh" -212: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -212: Environment variables: -212: MACHINE=x86_64 -212: CPU= -212: Test timeout computed to be: 1500 -211: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/range-extension-thunk2.sh 211: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 211: ++ export LC_ALL=C 211: ++ LC_ALL=C @@ -12203,27 +12224,34 @@ 211: ++ trap 'on_error $LINENO' ERR 211: ++ trap on_exit EXIT 211: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/range-extension-thunk2.sh .sh -204: + grep -q 'Hello world' -204: + out/test/elf/x86_64/pltgot/exe 211: ++ testname=range-extension-thunk2 211: ++ echo -n 'Testing range-extension-thunk2 ... ' 211: Testing range-extension-thunk2 ... ++ t=out/test/elf/x86_64/range-extension-thunk2 211: ++ mkdir -p out/test/elf/x86_64/range-extension-thunk2 -204: + on_exit -204: + echo OK -204: OK -204: + exit 0 -201/357 Test #204: x86_64-pltgot .............................. Passed 0.21 sec -test 213 - Start 213: x86_64-reloc-rodata +211: + cc -o out/test/elf/x86_64/range-extension-thunk2/a.o -c -xc - -ffunction-sections +211: + cat +210: + cat +205: + cc -B. -o out/test/elf/x86_64/preinit-array/exe2 out/test/elf/x86_64/preinit-array/b.o +207: + readelf --symbols out/test/elf/x86_64/protected-dynsym/c.so +203: + out/test/elf/x86_64/plt-dso/exe +203: + grep -q 'Hello WORLD' +207: + grep -Eq 'PROTECTED\b.*\bfoo\b' +210: + cc -c -o out/test/elf/x86_64/range-extension-thunk/c.o out/test/elf/x86_64/range-extension-thunk/a.c -O0 +203: + on_exit +203: + echo OK +203: OK +203: + exit 0 +200/357 Test #203: x86_64-plt-dso ............................. Passed 0.15 sec +test 212 + Start 212: x86_64-relax-got-load -213: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/reloc-rodata.sh" -213: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -213: Environment variables: -213: MACHINE=x86_64 -213: CPU= -213: Test timeout computed to be: 1500 -210: + cc -c -o out/test/elf/x86_64/range-extension-thunk/d.o out/test/elf/x86_64/range-extension-thunk/b.c -O0 +212: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/relax-got-load.sh" +212: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +212: Environment variables: +212: MACHINE=x86_64 +212: CPU= +212: Test timeout computed to be: 1500 +208: + cc -B. -o out/test/elf/x86_64/protected/b.so -shared out/test/elf/x86_64/protected/a.o 212: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/relax-got-load.sh 212: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 212: ++ export LC_ALL=C @@ -12244,18 +12272,29 @@ 212: ++ trap 'on_error $LINENO' ERR 212: ++ trap on_exit EXIT 212: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/relax-got-load.sh .sh -207: + grep -Eq 'PROTECTED\b.*\bfoo\b' -211: + cat -211: + cc -o out/test/elf/x86_64/range-extension-thunk2/a.o -c -xc - -ffunction-sections 212: ++ testname=relax-got-load 212: ++ echo -n 'Testing relax-got-load ... ' 212: Testing relax-got-load ... ++ t=out/test/elf/x86_64/relax-got-load 212: ++ mkdir -p out/test/elf/x86_64/relax-got-load -207: + readelf --symbols out/test/elf/x86_64/protected-dynsym/c.so -212: + cat 207: + cat -212: + cc -o out/test/elf/x86_64/relax-got-load/a.o -c -xc - -fPIC 207: + cc -fPIC -c -o out/test/elf/x86_64/protected-dynsym/d.o -fno-common -xc - +206: + grep -q 'b\.o.*a\.o.*foo$' out/test/elf/x86_64/print-dependencies/log +212: + cat +212: + cc -o out/test/elf/x86_64/relax-got-load/a.o -c -xc - -fPIC +206: + on_exit +206: + echo OK +206: OK +206: + exit 0 +201/357 Test #206: x86_64-print-dependencies .................. Passed 0.12 sec +test 213 + Start 213: x86_64-reloc-rodata + +213: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/reloc-rodata.sh" +213: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +213: Environment variables: +213: MACHINE=x86_64 +213: CPU= +213: Test timeout computed to be: 1500 213: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/reloc-rodata.sh 213: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 213: ++ export LC_ALL=C @@ -12275,18 +12314,20 @@ 213: ++ tlsdesc_opt=-mtls-dialect=gnu2 213: ++ trap 'on_error $LINENO' ERR 213: ++ trap on_exit EXIT -205: + readelf -W --dynamic out/test/elf/x86_64/preinit-array/exe2 213: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/reloc-rodata.sh .sh -205: + grep -q PREINIT_ARRAY 213: ++ testname=reloc-rodata 213: ++ echo -n 'Testing reloc-rodata ... ' 213: Testing reloc-rodata ... ++ t=out/test/elf/x86_64/reloc-rodata 213: ++ mkdir -p out/test/elf/x86_64/reloc-rodata -205: + on_exit -205: + echo OK -205: OK -205: + exit 0 -202/357 Test #205: x86_64-preinit-array ....................... Passed 0.21 sec +204: + cc -B. -o out/test/elf/x86_64/pltgot/exe out/test/elf/x86_64/pltgot/c.o out/test/elf/x86_64/pltgot/b.so +209: + cat +209: + cc -shared -o out/test/elf/x86_64/push-pop-state/b.so -xc - +213: + exit +213: + on_exit +213: + echo OK +213: OK +213: + exit 0 +202/357 Test #213: x86_64-reloc-rodata ........................ Passed 0.02 sec test 214 Start 214: x86_64-relocatable-archive @@ -12296,21 +12337,12 @@ 214: MACHINE=x86_64 214: CPU= 214: Test timeout computed to be: 1500 -213: + exit -213: + on_exit -213: + echo OK -213: OK -213: + exit 0 -203/357 Test #213: x86_64-reloc-rodata ........................ Passed 0.02 sec -test 215 - Start 215: x86_64-relocatable-c++ - -215: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/relocatable-c++.sh" -215: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -215: Environment variables: -215: MACHINE=x86_64 -215: CPU= -215: Test timeout computed to be: 1500 +207: + cc -B. -shared -o out/test/elf/x86_64/protected-dynsym/e.so out/test/elf/x86_64/protected-dynsym/a.o out/test/elf/x86_64/protected-dynsym/d.o -Wl,-strip-all +210: + cc -c -o out/test/elf/x86_64/range-extension-thunk/d.o out/test/elf/x86_64/range-extension-thunk/b.c -O0 +205: + grep -q PREINIT_ARRAY +212: + cat +212: + cc -o out/test/elf/x86_64/relax-got-load/b.o -c -xc - -fPIC +205: + readelf -W --dynamic out/test/elf/x86_64/preinit-array/exe2 214: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/relocatable-archive.sh 214: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 214: ++ export LC_ALL=C @@ -12328,6 +12360,22 @@ 214: ++ QEMU= 214: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 214: ++ tlsdesc_opt=-mtls-dialect=gnu2 +205: + on_exit +205: + echo OK +205: OK +205: + exit 0 +203/357 Test #205: x86_64-preinit-array ....................... Passed 0.16 sec +test 215 + Start 215: x86_64-relocatable-c++ + +215: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/relocatable-c++.sh" +215: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +215: Environment variables: +215: MACHINE=x86_64 +215: CPU= +215: Test timeout computed to be: 1500 +208: + cat +208: + cc -c -o out/test/elf/x86_64/protected/c.o -xc - -fno-PIE 214: ++ trap 'on_error $LINENO' ERR 214: ++ trap on_exit EXIT 214: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/relocatable-archive.sh .sh @@ -12359,18 +12407,27 @@ 215: ++ echo -n 'Testing relocatable-c++ ... ' 215: Testing relocatable-c++ ... ++ t=out/test/elf/x86_64/relocatable-c++ 215: ++ mkdir -p out/test/elf/x86_64/relocatable-c++ -215: + nm mold -215: + grep -q __tsan_init 214: + nm mold 214: + grep -q __tsan_init -207: + cc -B. -shared -o out/test/elf/x86_64/protected-dynsym/e.so out/test/elf/x86_64/protected-dynsym/a.o out/test/elf/x86_64/protected-dynsym/d.o -Wl,-strip-all -207: + readelf --symbols out/test/elf/x86_64/protected-dynsym/e.so +215: + nm mold +215: + grep -q __tsan_init +209: + cat +209: + cc -c -o out/test/elf/x86_64/push-pop-state/c.o -xc - +212: + cc -B. -o out/test/elf/x86_64/relax-got-load/exe out/test/elf/x86_64/relax-got-load/a.o out/test/elf/x86_64/relax-got-load/b.o 207: + grep -Eq 'PROTECTED\b.*\bfoo\b' +207: + readelf --symbols out/test/elf/x86_64/protected-dynsym/e.so 207: + on_exit 207: + echo OK 207: OK 207: + exit 0 -204/357 Test #207: x86_64-protected-dynsym .................... Passed 0.24 sec +204: + grep -q 'Hello world' +204: + out/test/elf/x86_64/pltgot/exe +204: + on_exit +204: + echo OK +204: OK +204: + exit 0 +208: + cc -B. -no-pie -o out/test/elf/x86_64/protected/exe out/test/elf/x86_64/protected/c.o out/test/elf/x86_64/protected/b.so +204/357 Test #207: x86_64-protected-dynsym .................... Passed 0.17 sec test 216 Start 216: x86_64-relocatable-compressed-debug-info @@ -12380,6 +12437,17 @@ 216: MACHINE=x86_64 216: CPU= 216: Test timeout computed to be: 1500 +210: + cc -B. -o out/test/elf/x86_64/range-extension-thunk/exe1 out/test/elf/x86_64/range-extension-thunk/c.o out/test/elf/x86_64/range-extension-thunk/d.o -Wl,--section-start=.low=0x10000000,--section-start=.high=0x20000000 +205/357 Test #204: x86_64-pltgot .............................. Passed 0.20 sec +test 217 + Start 217: x86_64-relocatable-debug-info + +217: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/relocatable-debug-info.sh" +217: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +217: Environment variables: +217: MACHINE=x86_64 +217: CPU= +217: Test timeout computed to be: 1500 216: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/relocatable-compressed-debug-info.sh 216: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 216: ++ export LC_ALL=C @@ -12400,53 +12468,6 @@ 216: ++ trap 'on_error $LINENO' ERR 216: ++ trap on_exit EXIT 216: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/relocatable-compressed-debug-info.sh .sh -216: ++ testname=relocatable-compressed-debug-info -216: ++ echo -n 'Testing relocatable-compressed-debug-info ... ' -216: Testing relocatable-compressed-debug-info ... ++ t=out/test/elf/x86_64/relocatable-compressed-debug-info -216: ++ mkdir -p out/test/elf/x86_64/relocatable-compressed-debug-info -216: + nm mold -216: + grep -q __tsan_init -209: + cat -209: + cc -shared -o out/test/elf/x86_64/push-pop-state/b.so -xc - -176: + grep -q -- -fwpa -176: + gcc -B. -o out/test/elf/x86_64/lto-gcc/exe2 out/test/elf/x86_64/lto-gcc/b.o --verbose -210: + cc -B. -o out/test/elf/x86_64/range-extension-thunk/exe1 out/test/elf/x86_64/range-extension-thunk/c.o out/test/elf/x86_64/range-extension-thunk/d.o -Wl,--section-start=.low=0x10000000,--section-start=.high=0x20000000 -210: + out/test/elf/x86_64/range-extension-thunk/exe1 -210: + grep -q 'main fn1 fn3 fn2 fn4' -214: + cat -214: + cc -c -o out/test/elf/x86_64/relocatable-archive/a.o -xc - -181: + cat -181: + cc -c -xc -o out/test/elf/x86_64/many-sections/b.o - -210: + cc -c -o out/test/elf/x86_64/range-extension-thunk/e.o out/test/elf/x86_64/range-extension-thunk/a.c -O2 -212: + cat -212: + cc -o out/test/elf/x86_64/relax-got-load/b.o -c -xc - -fPIC -215: + '[' x86_64 = m68k ']' -215: + '[' x86_64 = sh4 ']' -215: + cat -215: + c++ -c -o out/test/elf/x86_64/relocatable-c++/a.o -xc++ - -216: + echo 'int main() {}' -216: + gcc -o /dev/null -xc -g3 -gz - -212: + cc -B. -o out/test/elf/x86_64/relax-got-load/exe out/test/elf/x86_64/relax-got-load/a.o out/test/elf/x86_64/relax-got-load/b.o -214: + cat -214: + cc -c -o out/test/elf/x86_64/relocatable-archive/b.o -xc - -210: + cc -c -o out/test/elf/x86_64/range-extension-thunk/f.o out/test/elf/x86_64/range-extension-thunk/b.c -O2 -181: + cc -B. -o out/test/elf/x86_64/many-sections/exe out/test/elf/x86_64/many-sections/a.o out/test/elf/x86_64/many-sections/b.o -212: + out/test/elf/x86_64/relax-got-load/exe -212: + grep -q 'Hello world' -212: + on_exit -212: + echo OK -212: OK -212: + exit 0 -205/357 Test #212: x86_64-relax-got-load ...................... Passed 0.27 sec -test 217 - Start 217: x86_64-relocatable-debug-info - -217: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/relocatable-debug-info.sh" -217: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -217: Environment variables: -217: MACHINE=x86_64 -217: CPU= -217: Test timeout computed to be: 1500 217: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/relocatable-debug-info.sh 217: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 217: ++ export LC_ALL=C @@ -12473,26 +12494,20 @@ 217: ++ mkdir -p out/test/elf/x86_64/relocatable-debug-info 217: + grep -q __tsan_init 217: + nm mold -214: + cc -c -o out/test/elf/x86_64/relocatable-archive/c.o -xc - -214: + cat -215: + cat -215: + c++ -c -o out/test/elf/x86_64/relocatable-c++/b.o -xc++ - -211: + cc -B. -o out/test/elf/x86_64/range-extension-thunk2/exe out/test/elf/x86_64/range-extension-thunk2/a.o -209: + cat -209: + cc -c -o out/test/elf/x86_64/push-pop-state/c.o -xc - -174: + out/test/elf/x86_64/lto-archive/exe -174: + grep -q 'Hello world' -174: + nm out/test/elf/x86_64/lto-archive/exe -174: + grep -q hello out/test/elf/x86_64/lto-archive/log -210: + cc -B. -o out/test/elf/x86_64/range-extension-thunk/exe2 out/test/elf/x86_64/range-extension-thunk/e.o out/test/elf/x86_64/range-extension-thunk/f.o -Wl,--section-start=.low=0x10000000,--section-start=.high=0x20000000 -181: + out/test/elf/x86_64/many-sections/exe -181: + grep -q Hello -174: + grep -q howdy out/test/elf/x86_64/lto-archive/log -181: + on_exit -181: + echo OK -181: OK -181: + exit 0 -206/357 Test #181: x86_64-many-sections ....................... Passed 1.37 sec +216: ++ testname=relocatable-compressed-debug-info +216: ++ echo -n 'Testing relocatable-compressed-debug-info ... ' +216: Testing relocatable-compressed-debug-info ... ++ t=out/test/elf/x86_64/relocatable-compressed-debug-info +216: ++ mkdir -p out/test/elf/x86_64/relocatable-compressed-debug-info +216: + grep -q __tsan_init +216: + nm mold +212: + grep -q 'Hello world' +212: + out/test/elf/x86_64/relax-got-load/exe +209: + cc -B. -o out/test/elf/x86_64/push-pop-state/exe out/test/elf/x86_64/push-pop-state/c.o -Wl,-as-needed -Wl,-push-state -Wl,-no-as-needed out/test/elf/x86_64/push-pop-state/a.so -Wl,-pop-state out/test/elf/x86_64/push-pop-state/b.so +212: + on_exit +212: + echo OK +212: OK +212: + exit 0 +206/357 Test #212: x86_64-relax-got-load ...................... Passed 0.10 sec test 218 Start 218: x86_64-relocatable-exception @@ -12502,11 +12517,15 @@ 218: MACHINE=x86_64 218: CPU= 218: Test timeout computed to be: 1500 -174: + on_exit -174: + echo OK -174: OK -174: + exit 0 -207/357 Test #174: x86_64-lto-archive ......................... Passed 1.49 sec +208: + out/test/elf/x86_64/protected/exe +208: + grep -q '3 4 0' +208: + on_exit +208: + echo OK +208: OK +208: + exit 0 +210: + out/test/elf/x86_64/range-extension-thunk/exe1 +218: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/relocatable-exception.sh +207/357 Test #208: x86_64-protected ........................... Passed 0.15 sec test 219 Start 219: x86_64-relocatable-many-sections @@ -12516,7 +12535,6 @@ 219: MACHINE=x86_64 219: CPU= 219: Test timeout computed to be: 1500 -218: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/relocatable-exception.sh 218: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 218: ++ export LC_ALL=C 218: ++ LC_ALL=C @@ -12536,11 +12554,16 @@ 218: ++ trap 'on_error $LINENO' ERR 218: ++ trap on_exit EXIT 218: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/relocatable-exception.sh .sh -219: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/relocatable-many-sections.sh 218: ++ testname=relocatable-exception 218: ++ echo -n 'Testing relocatable-exception ... ' 218: Testing relocatable-exception ... ++ t=out/test/elf/x86_64/relocatable-exception 218: ++ mkdir -p out/test/elf/x86_64/relocatable-exception +218: + '[' x86_64 = m68k ']' +218: + '[' x86_64 = sh4 ']' +218: + nm mold +218: + grep -q __tsan_init +219: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/relocatable-many-sections.sh +210: + grep -q 'main fn1 fn3 fn2 fn4' 219: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 219: ++ export LC_ALL=C 219: ++ LC_ALL=C @@ -12560,23 +12583,25 @@ 219: ++ trap 'on_error $LINENO' ERR 219: ++ trap on_exit EXIT 219: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/relocatable-many-sections.sh .sh +210: + cc -c -o out/test/elf/x86_64/range-extension-thunk/e.o out/test/elf/x86_64/range-extension-thunk/a.c -O2 219: ++ testname=relocatable-many-sections 219: ++ echo -n 'Testing relocatable-many-sections ... ' 219: Testing relocatable-many-sections ... ++ t=out/test/elf/x86_64/relocatable-many-sections 219: ++ mkdir -p out/test/elf/x86_64/relocatable-many-sections -218: + '[' x86_64 = m68k ']' -218: + '[' x86_64 = sh4 ']' -218: + nm mold -218: + grep -q __tsan_init -219: + nm mold 219: + grep -q __tsan_init -210: + out/test/elf/x86_64/range-extension-thunk/exe2 -210: + grep -q 'main fn1 fn3 fn2 fn4' -210: + on_exit -210: + echo OK -210: OK -210: + exit 0 -208/357 Test #210: x86_64-range-extension-thunk ............... Passed 0.48 sec +219: + nm mold +209: + readelf --dynamic out/test/elf/x86_64/push-pop-state/exe +211: + cc -B. -o out/test/elf/x86_64/range-extension-thunk2/exe out/test/elf/x86_64/range-extension-thunk2/a.o +214: + cat +214: + cc -c -o out/test/elf/x86_64/relocatable-archive/a.o -xc - +209: + grep -Fq a.so out/test/elf/x86_64/push-pop-state/log +209: + grep -Fq b.so out/test/elf/x86_64/push-pop-state/log +209: + on_exit +209: + echo OK +209: OK +209: + exit 0 +210: + cc -c -o out/test/elf/x86_64/range-extension-thunk/f.o out/test/elf/x86_64/range-extension-thunk/b.c -O2 +208/357 Test #209: x86_64-push-pop-state ...................... Passed 0.19 sec test 220 Start 220: x86_64-relocatable-merge-sections @@ -12586,11 +12611,6 @@ 220: MACHINE=x86_64 220: CPU= 220: Test timeout computed to be: 1500 -217: + cat -217: + cc -c -o out/test/elf/x86_64/relocatable-debug-info/a.o -xc - -g -209: + cc -B. -o out/test/elf/x86_64/push-pop-state/exe out/test/elf/x86_64/push-pop-state/c.o -Wl,-as-needed -Wl,-push-state -Wl,-no-as-needed out/test/elf/x86_64/push-pop-state/a.so -Wl,-pop-state out/test/elf/x86_64/push-pop-state/b.so -214: + cat -214: + cc -c -o out/test/elf/x86_64/relocatable-archive/d.o -xc - 220: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/relocatable-merge-sections.sh 220: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 220: ++ export LC_ALL=C @@ -12615,19 +12635,35 @@ 220: ++ echo -n 'Testing relocatable-merge-sections ... ' 220: Testing relocatable-merge-sections ... ++ t=out/test/elf/x86_64/relocatable-merge-sections 220: ++ mkdir -p out/test/elf/x86_64/relocatable-merge-sections -220: + grep -q __tsan_init 220: + nm mold -187: + cp mold-wrapper.so out/test/elf/x86_64/mold-wrapper2/bin -187: + out/test/elf/x86_64/mold-wrapper2/bin/mold -run bash -c 'echo $LD_PRELOAD' -187: + grep -q /bin/mold-wrapper.so -216: + cat -216: + gcc -c -o out/test/elf/x86_64/relocatable-compressed-debug-info/a.o -xc - -g3 -gz -187: + on_exit -187: + echo OK -187: OK -187: + exit 0 -209: + readelf --dynamic out/test/elf/x86_64/push-pop-state/exe -209/357 Test #187: x86_64-mold-wrapper2 ....................... Passed 1.23 sec +214: + cc -c -o out/test/elf/x86_64/relocatable-archive/b.o -xc - +214: + cat +220: + grep -q __tsan_init +215: + '[' x86_64 = m68k ']' +215: + '[' x86_64 = sh4 ']' +216: + gcc -o /dev/null -xc -g3 -gz - +215: + c++ -c -o out/test/elf/x86_64/relocatable-c++/a.o -xc++ - +210: + cc -B. -o out/test/elf/x86_64/range-extension-thunk/exe2 out/test/elf/x86_64/range-extension-thunk/e.o out/test/elf/x86_64/range-extension-thunk/f.o -Wl,--section-start=.low=0x10000000,--section-start=.high=0x20000000 +216: + echo 'int main() {}' +215: + cat +219: + sed 's/.*/.section .data.\0,"aw"\n.word 0\n/g' +219: + seq 1 80000 +214: + cat +219: + cc -c -xassembler -o out/test/elf/x86_64/relocatable-many-sections/a.o - +217: + cat +214: + cc -c -o out/test/elf/x86_64/relocatable-archive/c.o -xc - +215: + c++ -c -o out/test/elf/x86_64/relocatable-c++/b.o -xc++ - +215: + cat +217: + cc -c -o out/test/elf/x86_64/relocatable-debug-info/a.o -xc - -g +218: + cat +218: + c++ -c -o out/test/elf/x86_64/relocatable-exception/a.o -xc++ - +210: + grep -q 'main fn1 fn3 fn2 fn4' +210: + out/test/elf/x86_64/range-extension-thunk/exe2 +210: + on_exit +210: + echo OK +210: OK +210: + exit 0 +209/357 Test #210: x86_64-range-extension-thunk ............... Passed 0.27 sec test 221 Start 221: x86_64-relocatable-mergeable-sections @@ -12637,31 +12673,7 @@ 221: MACHINE=x86_64 221: CPU= 221: Test timeout computed to be: 1500 -211: + out/test/elf/x86_64/range-extension-thunk2/exe -211: + grep -Eq '^0 9 1 8 2 7 3 6 4 5 10 19 11 18 12 17 13 16 14 15 0 $' -209: + grep -Fq a.so out/test/elf/x86_64/push-pop-state/log -209: + grep -Fq b.so out/test/elf/x86_64/push-pop-state/log -217: + cat -217: + cc -c -o out/test/elf/x86_64/relocatable-debug-info/b.o -xc - -g -211: + on_exit -211: + echo OK -211: OK -211: + exit 0 -209: + on_exit -209: + echo OK -209: OK -209: + exit 0 221: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/relocatable-mergeable-sections.sh -210/357 Test #209: x86_64-push-pop-state ...................... Passed 0.59 sec -test 222 - Start 222: x86_64-relocatable-no-ehframe - -222: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/relocatable-no-ehframe.sh" -222: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -222: Environment variables: -222: MACHINE=x86_64 -222: CPU= -222: Test timeout computed to be: 1500 221: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 221: ++ export LC_ALL=C 221: ++ LC_ALL=C @@ -12680,25 +12692,38 @@ 221: ++ tlsdesc_opt=-mtls-dialect=gnu2 221: ++ trap 'on_error $LINENO' ERR 221: ++ trap on_exit EXIT +216: + cat +216: + gcc -c -o out/test/elf/x86_64/relocatable-compressed-debug-info/a.o -xc - -g3 -gz 221: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/relocatable-mergeable-sections.sh .sh +214: + cat 221: ++ testname=relocatable-mergeable-sections 221: ++ echo -n 'Testing relocatable-mergeable-sections ... ' 221: Testing relocatable-mergeable-sections ... ++ t=out/test/elf/x86_64/relocatable-mergeable-sections 221: ++ mkdir -p out/test/elf/x86_64/relocatable-mergeable-sections -211/357 Test #211: x86_64-range-extension-thunk2 .............. Passed 0.47 sec -test 223 - Start 223: x86_64-relocatable - -223: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/relocatable.sh" -223: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -223: Environment variables: -223: MACHINE=x86_64 -223: CPU= -223: Test timeout computed to be: 1500 +214: + cc -c -o out/test/elf/x86_64/relocatable-archive/d.o -xc - +211: + out/test/elf/x86_64/range-extension-thunk2/exe +211: + grep -Eq '^0 9 1 8 2 7 3 6 4 5 10 19 11 18 12 17 13 16 14 15 0 $' 221: + nm mold 221: + grep -q __tsan_init -223: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/relocatable.sh +211: + on_exit +211: + echo OK +211: OK +211: + exit 0 +210/357 Test #211: x86_64-range-extension-thunk2 .............. Passed 0.29 sec +test 222 + Start 222: x86_64-relocatable-no-ehframe + +222: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/relocatable-no-ehframe.sh" +222: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +222: Environment variables: +222: MACHINE=x86_64 +222: CPU= +222: Test timeout computed to be: 1500 +218: + c++ -c -o out/test/elf/x86_64/relocatable-exception/b.o -xc++ - +218: + cat 222: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/relocatable-no-ehframe.sh +217: + cc -c -o out/test/elf/x86_64/relocatable-debug-info/b.o -xc - -g +217: + cat 222: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 222: ++ export LC_ALL=C 222: ++ LC_ALL=C @@ -12718,6 +12743,48 @@ 222: ++ trap 'on_error $LINENO' ERR 222: ++ trap on_exit EXIT 222: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/relocatable-no-ehframe.sh .sh +222: ++ testname=relocatable-no-ehframe +222: ++ echo -n 'Testing relocatable-no-ehframe ... ' +222: Testing relocatable-no-ehframe ... ++ t=out/test/elf/x86_64/relocatable-no-ehframe +222: ++ mkdir -p out/test/elf/x86_64/relocatable-no-ehframe +222: + '[' x86_64 = alpha ']' +222: + grep -q __tsan_init +222: + nm mold +214: + ar crs out/test/elf/x86_64/relocatable-archive/e.a out/test/elf/x86_64/relocatable-archive/a.o out/test/elf/x86_64/relocatable-archive/b.o out/test/elf/x86_64/relocatable-archive/c.o +216: + cat +216: + gcc -c -o out/test/elf/x86_64/relocatable-compressed-debug-info/b.o -xc - -g3 -gz +214: + ./mold -r -o out/test/elf/x86_64/relocatable-archive/f.o out/test/elf/x86_64/relocatable-archive/d.o out/test/elf/x86_64/relocatable-archive/e.a +217: + ./mold --relocatable -o out/test/elf/x86_64/relocatable-debug-info/c.o out/test/elf/x86_64/relocatable-debug-info/a.o out/test/elf/x86_64/relocatable-debug-info/b.o +220: + cc -c -o out/test/elf/x86_64/relocatable-merge-sections/a.o -xc -ffunction-sections - +217: + cc -B. -o out/test/elf/x86_64/relocatable-debug-info/exe out/test/elf/x86_64/relocatable-debug-info/c.o +220: + cat +214: + readelf --symbols out/test/elf/x86_64/relocatable-archive/f.o +214: + grep -q 'foo\b' out/test/elf/x86_64/relocatable-archive/log +216: + ./mold --relocatable -o out/test/elf/x86_64/relocatable-compressed-debug-info/c.o out/test/elf/x86_64/relocatable-compressed-debug-info/a.o out/test/elf/x86_64/relocatable-compressed-debug-info/b.o +214: + grep -q 'bar\b' out/test/elf/x86_64/relocatable-archive/log +214: + grep -q 'baz\b' out/test/elf/x86_64/relocatable-archive/log +214: + on_exit +214: + echo OK +214: OK +214: + exit 0 +211/357 Test #214: x86_64-relocatable-archive ................. Passed 0.29 sec +test 223 + Start 223: x86_64-relocatable + +223: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/relocatable.sh" +223: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +223: Environment variables: +223: MACHINE=x86_64 +223: CPU= +223: Test timeout computed to be: 1500 +217: + out/test/elf/x86_64/relocatable-debug-info/exe +216: + cc -B. -o out/test/elf/x86_64/relocatable-compressed-debug-info/exe out/test/elf/x86_64/relocatable-compressed-debug-info/c.o +223: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/relocatable.sh +217: Hello world +217: + on_exit +217: + echo OK +217: OK +217: + exit 0 223: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 223: ++ export LC_ALL=C 223: ++ LC_ALL=C @@ -12736,43 +12803,7 @@ 223: ++ tlsdesc_opt=-mtls-dialect=gnu2 223: ++ trap 'on_error $LINENO' ERR 223: ++ trap on_exit EXIT -222: ++ testname=relocatable-no-ehframe -223: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/relocatable.sh .sh -222: ++ echo -n 'Testing relocatable-no-ehframe ... ' -222: Testing relocatable-no-ehframe ... ++ t=out/test/elf/x86_64/relocatable-no-ehframe -222: ++ mkdir -p out/test/elf/x86_64/relocatable-no-ehframe -223: ++ testname=relocatable -223: ++ echo -n 'Testing relocatable ... ' -223: Testing relocatable ... ++ t=out/test/elf/x86_64/relocatable -223: ++ mkdir -p out/test/elf/x86_64/relocatable -223: + grep -q __tsan_init -222: + '[' x86_64 = alpha ']' -222: + nm mold -223: + nm mold -222: + grep -q __tsan_init -214: + ar crs out/test/elf/x86_64/relocatable-archive/e.a out/test/elf/x86_64/relocatable-archive/a.o out/test/elf/x86_64/relocatable-archive/b.o out/test/elf/x86_64/relocatable-archive/c.o -217: + ./mold --relocatable -o out/test/elf/x86_64/relocatable-debug-info/c.o out/test/elf/x86_64/relocatable-debug-info/a.o out/test/elf/x86_64/relocatable-debug-info/b.o -176: + cat -176: + gcc -flto -fno-use-linker-plugin -c -o out/test/elf/x86_64/lto-gcc/c.o -xc - -182: + ./mold --relocatable -o out/test/elf/x86_64/many-sections2/b.o out/test/elf/x86_64/many-sections2/a.o -219: + seq 1 80000 -219: + sed 's/.*/.section .data.\0,"aw"\n.word 0\n/g' -219: + cc -c -xassembler -o out/test/elf/x86_64/relocatable-many-sections/a.o - -217: + cc -B. -o out/test/elf/x86_64/relocatable-debug-info/exe out/test/elf/x86_64/relocatable-debug-info/c.o -220: + cat -220: + cc -c -o out/test/elf/x86_64/relocatable-merge-sections/a.o -xc -ffunction-sections - -218: + cat -218: + c++ -c -o out/test/elf/x86_64/relocatable-exception/a.o -xc++ - -216: + cat -216: + gcc -c -o out/test/elf/x86_64/relocatable-compressed-debug-info/b.o -xc - -g3 -gz -214: + ./mold -r -o out/test/elf/x86_64/relocatable-archive/f.o out/test/elf/x86_64/relocatable-archive/d.o out/test/elf/x86_64/relocatable-archive/e.a -217: + out/test/elf/x86_64/relocatable-debug-info/exe -217: Hello world -217: + on_exit -217: + echo OK -217: OK -217: + exit 0 -212/357 Test #217: x86_64-relocatable-debug-info .............. Passed 0.28 sec +212/357 Test #217: x86_64-relocatable-debug-info .............. Passed 0.26 sec test 224 Start 224: x86_64-relro @@ -12782,21 +12813,18 @@ 224: MACHINE=x86_64 224: CPU= 224: Test timeout computed to be: 1500 -221: + cat -221: + cc -c -o out/test/elf/x86_64/relocatable-mergeable-sections/a.o -xassembler - -221: + ./mold --relocatable -o out/test/elf/x86_64/relocatable-mergeable-sections/b.o out/test/elf/x86_64/relocatable-mergeable-sections/a.o -176: + gcc -B. -o out/test/elf/x86_64/lto-gcc/exe3 -flto -fno-use-linker-plugin out/test/elf/x86_64/lto-gcc/c.o -214: + readelf --symbols out/test/elf/x86_64/relocatable-archive/f.o -214: + grep -q 'foo\b' out/test/elf/x86_64/relocatable-archive/log -214: + grep -q 'bar\b' out/test/elf/x86_64/relocatable-archive/log +223: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/relocatable.sh .sh +223: ++ testname=relocatable +223: ++ echo -n 'Testing relocatable ... ' +223: Testing relocatable ... ++ t=out/test/elf/x86_64/relocatable +223: ++ mkdir -p out/test/elf/x86_64/relocatable +223: + grep -q __tsan_init +223: + nm mold 224: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/relro.sh -214: + grep -q 'baz\b' out/test/elf/x86_64/relocatable-archive/log -214: + on_exit 224: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 224: ++ export LC_ALL=C 224: ++ LC_ALL=C 224: ++ '[' -z x86_64 ']' -214: + echo OK 224: ++ '[' -z '' ']' 224: ++ TESTDIR=out/test/elf/x86_64 224: ++ CC=cc @@ -12816,9 +12844,19 @@ 224: ++ echo -n 'Testing relro ... ' 224: Testing relro ... ++ t=out/test/elf/x86_64/relro 224: ++ mkdir -p out/test/elf/x86_64/relro -214: OK -214: + exit 0 -213/357 Test #214: x86_64-relocatable-archive ................. Passed 0.55 sec +220: + ./mold --relocatable -o out/test/elf/x86_64/relocatable-merge-sections/b.o out/test/elf/x86_64/relocatable-merge-sections/a.o +224: + cat +221: + cat +221: + cc -c -o out/test/elf/x86_64/relocatable-mergeable-sections/a.o -xassembler - +224: + cc -c -xc -o out/test/elf/x86_64/relro/a.o - +216: + grep -q 'Hello world' +216: + out/test/elf/x86_64/relocatable-compressed-debug-info/exe +181: + cc -c -xc -o out/test/elf/x86_64/many-sections/b.o - +216: + on_exit +216: + echo OK +216: OK +216: + exit 0 +213/357 Test #216: x86_64-relocatable-compressed-debug-info ... Passed 0.29 sec test 225 Start 225: x86_64-repro @@ -12828,11 +12866,10 @@ 225: MACHINE=x86_64 225: CPU= 225: Test timeout computed to be: 1500 -224: + cat -224: + cc -c -xc -o out/test/elf/x86_64/relro/a.o - +181: + cat +221: + ./mold --relocatable -o out/test/elf/x86_64/relocatable-mergeable-sections/b.o out/test/elf/x86_64/relocatable-mergeable-sections/a.o 225: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/repro.sh -221: + readelf -W -p .rodata.str1.1 out/test/elf/x86_64/relocatable-mergeable-sections/b.o -221: + grep -Eq '\b0\b.*Hello' +220: + readelf -WS out/test/elf/x86_64/relocatable-merge-sections/b.o 225: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 225: ++ export LC_ALL=C 225: ++ LC_ALL=C @@ -12856,8 +12893,13 @@ 225: ++ echo -n 'Testing repro ... ' 225: Testing repro ... ++ t=out/test/elf/x86_64/repro 225: ++ mkdir -p out/test/elf/x86_64/repro +220: + grep -Fq .text.foo out/test/elf/x86_64/relocatable-merge-sections/log1 221: + readelf -W -p .rodata.str1.1 out/test/elf/x86_64/relocatable-mergeable-sections/b.o +225: + cat +225: + cc -c -o out/test/elf/x86_64/repro/a.o -xc - +221: + grep -Eq '\b0\b.*Hello' 221: + grep -Eq '\b7\b.*World' +221: + readelf -W -p .rodata.str1.1 out/test/elf/x86_64/relocatable-mergeable-sections/b.o 221: + on_exit 221: + echo OK 221: OK @@ -12872,8 +12914,8 @@ 226: MACHINE=x86_64 226: CPU= 226: Test timeout computed to be: 1500 -225: + cc -c -o out/test/elf/x86_64/repro/a.o -xc - -225: + cat +220: + grep -Fq .text.bar out/test/elf/x86_64/relocatable-merge-sections/log1 +220: + ./mold --relocatable -o out/test/elf/x86_64/relocatable-merge-sections/c.o out/test/elf/x86_64/relocatable-merge-sections/a.o --relocatable-merge-sections 226: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/require-defined.sh 226: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 226: ++ export LC_ALL=C @@ -12894,27 +12936,26 @@ 226: ++ trap 'on_error $LINENO' ERR 226: ++ trap on_exit EXIT 226: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/require-defined.sh .sh +181: + cc -B. -o out/test/elf/x86_64/many-sections/exe out/test/elf/x86_64/many-sections/a.o out/test/elf/x86_64/many-sections/b.o 226: ++ testname=require-defined 226: ++ echo -n 'Testing require-defined ... ' 226: Testing require-defined ... ++ t=out/test/elf/x86_64/require-defined 226: ++ mkdir -p out/test/elf/x86_64/require-defined +222: + cc -c -o out/test/elf/x86_64/relocatable-no-ehframe/a.o -xc -fno-unwind-tables -fno-asynchronous-unwind-tables - +222: + cat +224: + cc -B. -o out/test/elf/x86_64/relro/exe1 out/test/elf/x86_64/relro/a.o -Wl,-z,relro,-z,lazy 226: + cat 226: + cc -o out/test/elf/x86_64/require-defined/a.o -c -xc - -216: + ./mold --relocatable -o out/test/elf/x86_64/relocatable-compressed-debug-info/c.o out/test/elf/x86_64/relocatable-compressed-debug-info/a.o out/test/elf/x86_64/relocatable-compressed-debug-info/b.o -218: + cat -218: + c++ -c -o out/test/elf/x86_64/relocatable-exception/b.o -xc++ - -216: + cc -B. -o out/test/elf/x86_64/relocatable-compressed-debug-info/exe out/test/elf/x86_64/relocatable-compressed-debug-info/c.o -223: + cat -223: + cc -c -o out/test/elf/x86_64/relocatable/a.o -xc - -222: + cat -222: + cc -c -o out/test/elf/x86_64/relocatable-no-ehframe/a.o -xc -fno-unwind-tables -fno-asynchronous-unwind-tables - -216: + out/test/elf/x86_64/relocatable-compressed-debug-info/exe -216: + grep -q 'Hello world' -216: + on_exit -216: + echo OK -216: OK -216: + exit 0 -215/357 Test #216: x86_64-relocatable-compressed-debug-info ... Passed 0.58 sec +220: + readelf -WS out/test/elf/x86_64/relocatable-merge-sections/c.o +220: + grep -Fq .text.foo out/test/elf/x86_64/relocatable-merge-sections/log2 +225: + rm -rf out/test/elf/x86_64/repro/exe.repro out/test/elf/x86_64/repro/exe.repro.tar +225: + cc -B. -o out/test/elf/x86_64/repro/exe out/test/elf/x86_64/repro/a.o +220: + grep -Fq .text.bar out/test/elf/x86_64/relocatable-merge-sections/log2 +220: + on_exit +220: + echo OK +220: OK +220: + exit 0 +215/357 Test #220: x86_64-relocatable-merge-sections .......... Passed 0.26 sec test 227 Start 227: x86_64-response-file @@ -12924,7 +12965,11 @@ 227: MACHINE=x86_64 227: CPU= 227: Test timeout computed to be: 1500 +222: + readelf -WS out/test/elf/x86_64/relocatable-no-ehframe/a.o +222: + grep -Fq .eh_frame out/test/elf/x86_64/relocatable-no-ehframe/log1 +226: + rm -f out/test/elf/x86_64/require-defined/b.a 227: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/response-file.sh +226: + ar rcs out/test/elf/x86_64/require-defined/b.a out/test/elf/x86_64/require-defined/a.o 227: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 227: ++ export LC_ALL=C 227: ++ LC_ALL=C @@ -12948,32 +12993,25 @@ 227: ++ echo -n 'Testing response-file ... ' 227: Testing response-file ... ++ t=out/test/elf/x86_64/response-file 227: ++ mkdir -p out/test/elf/x86_64/response-file -220: + ./mold --relocatable -o out/test/elf/x86_64/relocatable-merge-sections/b.o out/test/elf/x86_64/relocatable-merge-sections/a.o -227: + cat -222: + readelf -WS out/test/elf/x86_64/relocatable-no-ehframe/a.o -227: + cc -c -o out/test/elf/x86_64/response-file/a.o -xc - -226: + rm -f out/test/elf/x86_64/require-defined/b.a -224: + cc -B. -o out/test/elf/x86_64/relro/exe1 out/test/elf/x86_64/relro/a.o -Wl,-z,relro,-z,lazy -222: + grep -Fq .eh_frame out/test/elf/x86_64/relocatable-no-ehframe/log1 -220: + readelf -WS out/test/elf/x86_64/relocatable-merge-sections/b.o -223: + cat -223: + cc -c -o out/test/elf/x86_64/relocatable/b.o -xc - -226: + ar rcs out/test/elf/x86_64/require-defined/b.a out/test/elf/x86_64/require-defined/a.o 222: + ./mold --relocatable -o out/test/elf/x86_64/relocatable-no-ehframe/b.o out/test/elf/x86_64/relocatable-no-ehframe/a.o -225: + rm -rf out/test/elf/x86_64/repro/exe.repro out/test/elf/x86_64/repro/exe.repro.tar -220: + grep -Fq .text.foo out/test/elf/x86_64/relocatable-merge-sections/log1 -220: + grep -Fq .text.bar out/test/elf/x86_64/relocatable-merge-sections/log1 -225: + cc -B. -o out/test/elf/x86_64/repro/exe out/test/elf/x86_64/repro/a.o -220: + ./mold --relocatable -o out/test/elf/x86_64/relocatable-merge-sections/c.o out/test/elf/x86_64/relocatable-merge-sections/a.o --relocatable-merge-sections +226: + cat +226: + cc -o out/test/elf/x86_64/require-defined/c.o -c -xc - +227: + cc -c -o out/test/elf/x86_64/response-file/a.o -xc - +224: + out/test/elf/x86_64/relro/exe1 +227: + cat +224: + grep -q 'Hello world' +224: + readelf --segments -W out/test/elf/x86_64/relro/exe1 +224: + grep -q 'GNU_RELRO ' out/test/elf/x86_64/relro/log1 222: + readelf -WS out/test/elf/x86_64/relocatable-no-ehframe/b.o 222: + grep -Fq .eh_frame out/test/elf/x86_64/relocatable-no-ehframe/log2 -220: + readelf -WS out/test/elf/x86_64/relocatable-merge-sections/c.o -220: + grep -Fq .text.foo out/test/elf/x86_64/relocatable-merge-sections/log2 +224: + cc -B. -o out/test/elf/x86_64/relro/exe2 out/test/elf/x86_64/relro/a.o -Wl,-z,relro,-z,now +223: + cat +223: + cc -c -o out/test/elf/x86_64/relocatable/a.o -xc - 222: + on_exit 222: + echo OK 222: OK 222: + exit 0 -216/357 Test #222: x86_64-relocatable-no-ehframe .............. Passed 0.24 sec +216/357 Test #222: x86_64-relocatable-no-ehframe .............. Passed 0.17 sec test 228 Start 228: x86_64-response-file2 @@ -12983,25 +13021,6 @@ 228: MACHINE=x86_64 228: CPU= 228: Test timeout computed to be: 1500 -220: + grep -Fq .text.bar out/test/elf/x86_64/relocatable-merge-sections/log2 -220: + on_exit -220: + echo OK -220: OK -220: + exit 0 -224: + out/test/elf/x86_64/relro/exe1 -224: + grep -q 'Hello world' -217/357 Test #220: x86_64-relocatable-merge-sections .......... Passed 0.32 sec -test 229 - Start 229: x86_64-retain-symbols-file - -229: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/retain-symbols-file.sh" -229: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -229: Environment variables: -229: MACHINE=x86_64 -229: CPU= -229: Test timeout computed to be: 1500 -224: + readelf --segments -W out/test/elf/x86_64/relro/exe1 -224: + grep -q 'GNU_RELRO ' out/test/elf/x86_64/relro/log1 228: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/response-file2.sh 228: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 228: ++ export LC_ALL=C @@ -13021,14 +13040,34 @@ 228: ++ tlsdesc_opt=-mtls-dialect=gnu2 228: ++ trap 'on_error $LINENO' ERR 228: ++ trap on_exit EXIT +225: + '[' -f out/test/elf/x86_64/repro/exe.repro.tar ']' +225: + cc -B. -o out/test/elf/x86_64/repro/exe out/test/elf/x86_64/repro/a.o -Wl,-repro 228: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/response-file2.sh .sh -224: + cc -B. -o out/test/elf/x86_64/relro/exe2 out/test/elf/x86_64/relro/a.o -Wl,-z,relro,-z,now +226: + cc -B. -o out/test/elf/x86_64/require-defined/exe out/test/elf/x86_64/require-defined/c.o out/test/elf/x86_64/require-defined/b.a 228: ++ testname=response-file2 228: ++ echo -n 'Testing response-file2 ... ' 228: Testing response-file2 ... ++ t=out/test/elf/x86_64/response-file2 228: ++ mkdir -p out/test/elf/x86_64/response-file2 -225: + '[' -f out/test/elf/x86_64/repro/exe.repro.tar ']' -225: + cc -B. -o out/test/elf/x86_64/repro/exe out/test/elf/x86_64/repro/a.o -Wl,-repro +181: + out/test/elf/x86_64/many-sections/exe +181: + grep -q Hello +227: + cat +181: + on_exit +181: + echo OK +181: OK +181: + exit 0 +228: + cat +227: + cc -c -o out/test/elf/x86_64/response-file/b.o -xc - +217/357 Test #181: x86_64-many-sections ....................... Passed 1.03 sec +test 229 + Start 229: x86_64-retain-symbols-file + +229: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/retain-symbols-file.sh" +229: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +229: Environment variables: +229: MACHINE=x86_64 +229: CPU= +229: Test timeout computed to be: 1500 +228: + cc -c -o out/test/elf/x86_64/response-file2/a.o -xc - 229: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/retain-symbols-file.sh 229: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 229: ++ export LC_ALL=C @@ -13049,37 +13088,51 @@ 229: ++ trap 'on_error $LINENO' ERR 229: ++ trap on_exit EXIT 229: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/retain-symbols-file.sh .sh -228: + cat -228: + cc -c -o out/test/elf/x86_64/response-file2/a.o -xc - 229: ++ testname=retain-symbols-file 229: ++ echo -n 'Testing retain-symbols-file ... ' 229: Testing retain-symbols-file ... ++ t=out/test/elf/x86_64/retain-symbols-file 229: ++ mkdir -p out/test/elf/x86_64/retain-symbols-file -229: + cat 229: + cc -c -o out/test/elf/x86_64/retain-symbols-file/a.o -xc - -224: + out/test/elf/x86_64/relro/exe2 +229: + cat +223: + cc -c -o out/test/elf/x86_64/relocatable/b.o -xc - +223: + cat 224: + grep -q 'Hello world' +224: + out/test/elf/x86_64/relro/exe2 +228: + cat +228: + cc -c -o out/test/elf/x86_64/response-file2/b.o -xc - +226: + grep -q foobar 224: + readelf --segments -W out/test/elf/x86_64/relro/exe2 +226: + readelf --symbols out/test/elf/x86_64/require-defined/exe +227: + cat +227: + cc -c -o out/test/elf/x86_64/response-file/c.o -xc - +226: + cc -B. -o out/test/elf/x86_64/require-defined/exe out/test/elf/x86_64/require-defined/c.o out/test/elf/x86_64/require-defined/b.a -Wl,-require-defined,foobar 224: + grep -q 'GNU_RELRO ' out/test/elf/x86_64/relro/log2 224: + cc -B. -o out/test/elf/x86_64/relro/exe3 out/test/elf/x86_64/relro/a.o -Wl,-z,norelro +225: + tar -C out/test/elf/x86_64/repro -xf out/test/elf/x86_64/repro/exe.repro.tar +229: + cat 223: + ./mold --relocatable -o out/test/elf/x86_64/relocatable/c.o out/test/elf/x86_64/relocatable/a.o out/test/elf/x86_64/relocatable/b.o -226: + cat -226: + cc -o out/test/elf/x86_64/require-defined/c.o -c -xc - -227: + cat -227: + cc -c -o out/test/elf/x86_64/response-file/b.o -xc - -228: + cat -228: + cc -c -o out/test/elf/x86_64/response-file2/b.o -xc - +229: + cc -B. -o out/test/elf/x86_64/retain-symbols-file/exe out/test/elf/x86_64/retain-symbols-file/a.o -Wl,--retain-symbols-file=out/test/elf/x86_64/retain-symbols-file/symbols +227: + echo ''\''out/test/elf/x86_64/response-file/b.o'\'' '\''out/test/elf/x86_64/response-file/c.o'\''' +227: + cc -B. -o out/test/elf/x86_64/response-file/exe out/test/elf/x86_64/response-file/a.o -Wl,@out/test/elf/x86_64/response-file/rsp +228: + echo ''\''out/test/elf/x86_64/response-file2/b.o'\''' +228: + echo @out/test/elf/x86_64/response-file2/rsp1 +228: + cc -B. -o out/test/elf/x86_64/response-file2/exe out/test/elf/x86_64/response-file2/a.o -Wl,@out/test/elf/x86_64/response-file2/rsp2 +226: + readelf --symbols out/test/elf/x86_64/require-defined/exe +226: + grep -q foobar 223: + cc -B. -o out/test/elf/x86_64/relocatable/exe out/test/elf/x86_64/relocatable/c.o -225: + tar -C out/test/elf/x86_64/repro -xf out/test/elf/x86_64/repro/exe.repro.tar +226: + cc -B. -o out/test/elf/x86_64/require-defined/exe out/test/elf/x86_64/require-defined/c.o out/test/elf/x86_64/require-defined/b.a -Wl,-require-defined,xyz 224: + out/test/elf/x86_64/relro/exe3 224: + grep -q 'Hello world' 224: + readelf --segments -W out/test/elf/x86_64/relro/exe3 +225: + grep -q /a.o out/test/elf/x86_64/repro/exe.repro/response.txt +225: + grep -q '[ms]old' out/test/elf/x86_64/repro/exe.repro/version.txt 224: + grep -q 'GNU_RELRO ' out/test/elf/x86_64/relro/log3 +225: + rm -rf out/test/elf/x86_64/repro/exe.repro out/test/elf/x86_64/repro/exe.repro.tar 224: + on_exit 224: + echo OK 224: OK 224: + exit 0 -218/357 Test #224: x86_64-relro ............................... Passed 0.23 sec +218/357 Test #224: x86_64-relro ............................... Passed 0.20 sec test 230 Start 230: x86_64-reverse-sections @@ -13089,11 +13142,12 @@ 230: MACHINE=x86_64 230: CPU= 230: Test timeout computed to be: 1500 +225: + MOLD_REPRO=1 +225: + cc -B. -o out/test/elf/x86_64/repro/exe out/test/elf/x86_64/repro/a.o 230: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/reverse-sections.sh 230: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 230: ++ export LC_ALL=C 230: ++ LC_ALL=C -225: + grep -q /a.o out/test/elf/x86_64/repro/exe.repro/response.txt 230: ++ '[' -z x86_64 ']' 230: ++ '[' -z '' ']' 230: ++ TESTDIR=out/test/elf/x86_64 @@ -13109,22 +13163,19 @@ 230: ++ tlsdesc_opt=-mtls-dialect=gnu2 230: ++ trap 'on_error $LINENO' ERR 230: ++ trap on_exit EXIT -225: + grep -q '[ms]old' out/test/elf/x86_64/repro/exe.repro/version.txt -229: + cat 230: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/reverse-sections.sh .sh -225: + rm -rf out/test/elf/x86_64/repro/exe.repro out/test/elf/x86_64/repro/exe.repro.tar -223: + out/test/elf/x86_64/relocatable/exe 230: ++ testname=reverse-sections 230: ++ echo -n 'Testing reverse-sections ... ' 230: Testing reverse-sections ... ++ t=out/test/elf/x86_64/reverse-sections 230: ++ mkdir -p out/test/elf/x86_64/reverse-sections -229: + cc -B. -o out/test/elf/x86_64/retain-symbols-file/exe out/test/elf/x86_64/retain-symbols-file/a.o -Wl,--retain-symbols-file=out/test/elf/x86_64/retain-symbols-file/symbols -223: Hello world -223: + on_exit -223: + echo OK -223: OK -223: + exit 0 -219/357 Test #223: x86_64-relocatable ......................... Passed 0.33 sec +227: + on_exit +227: + echo OK +227: OK +227: + exit 0 +230: + cat +230: + cc -o out/test/elf/x86_64/reverse-sections/a.o -c -xc++ - +215: + ./mold --relocatable -o out/test/elf/x86_64/relocatable-c++/c.o out/test/elf/x86_64/relocatable-c++/a.o +219/357 Test #227: x86_64-response-file ....................... Passed 0.14 sec test 231 Start 231: x86_64-rodata-name @@ -13134,10 +13185,23 @@ 231: MACHINE=x86_64 231: CPU= 231: Test timeout computed to be: 1500 -230: + cat -230: + cc -o out/test/elf/x86_64/reverse-sections/a.o -c -xc++ - -225: + MOLD_REPRO=1 -225: + cc -B. -o out/test/elf/x86_64/repro/exe out/test/elf/x86_64/repro/a.o +228: + on_exit +228: + echo OK +228: OK +228: + exit 0 +229: + readelf -W --symbols out/test/elf/x86_64/retain-symbols-file/exe +220/357 Test #228: x86_64-response-file2 ...................... Passed 0.11 sec +test 232 + Start 232: x86_64-rosegment + +232: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/rosegment.sh" +232: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +232: Environment variables: +232: MACHINE=x86_64 +232: CPU= +232: Test timeout computed to be: 1500 +229: + grep -qw foo out/test/elf/x86_64/retain-symbols-file/log +229: + grep -qw bar out/test/elf/x86_64/retain-symbols-file/log 231: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/rodata-name.sh 231: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 231: ++ export LC_ALL=C @@ -13164,35 +13228,46 @@ 231: ++ mkdir -p out/test/elf/x86_64/rodata-name 231: + '[' x86_64 = arm ']' 231: + cat -231: + cc -c -o out/test/elf/x86_64/rodata-name/a.o -x assembler - -231: + cat -231: + cc -c -o out/test/elf/x86_64/rodata-name/b.o -xc - -228: + echo ''\''out/test/elf/x86_64/response-file2/b.o'\''' -228: + echo @out/test/elf/x86_64/response-file2/rsp1 -228: + cc -B. -o out/test/elf/x86_64/response-file2/exe out/test/elf/x86_64/response-file2/a.o -Wl,@out/test/elf/x86_64/response-file2/rsp2 -226: + cc -B. -o out/test/elf/x86_64/require-defined/exe out/test/elf/x86_64/require-defined/c.o out/test/elf/x86_64/require-defined/b.a -229: + readelf -W --symbols out/test/elf/x86_64/retain-symbols-file/exe -227: + cat -227: + cc -c -o out/test/elf/x86_64/response-file/c.o -xc - -229: + grep -qw foo out/test/elf/x86_64/retain-symbols-file/log -229: + grep -qw bar out/test/elf/x86_64/retain-symbols-file/log +223: + out/test/elf/x86_64/relocatable/exe +223: Hello world +223: + on_exit +223: + echo OK +223: OK +223: + exit 0 +226: + grep -q 'undefined symbol: xyz' out/test/elf/x86_64/require-defined/log +226: + on_exit +226: + echo OK +226: OK +226: + exit 0 +221/357 Test #223: x86_64-relocatable ......................... Passed 0.24 sec +test 233 + Start 233: x86_64-rpath + +233: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/rpath.sh" +233: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +233: Environment variables: +233: MACHINE=x86_64 +233: CPU= +233: Test timeout computed to be: 1500 +222/357 Test #226: x86_64-require-defined ..................... Passed 0.18 sec +test 234 + Start 234: x86_64-run-clang + +234: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/run-clang.sh" +234: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +234: Environment variables: +234: MACHINE=x86_64 +234: CPU= +234: Test timeout computed to be: 1500 229: + grep -qw main out/test/elf/x86_64/retain-symbols-file/log 229: + grep -qw baz out/test/elf/x86_64/retain-symbols-file/log 229: + on_exit 229: + echo OK 229: OK 229: + exit 0 -225: + tar -C out/test/elf/x86_64/repro -xf out/test/elf/x86_64/repro/exe.repro.tar -220/357 Test #229: x86_64-retain-symbols-file ................. Passed 0.16 sec -test 232 - Start 232: x86_64-rosegment - -232: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/rosegment.sh" -232: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -232: Environment variables: -232: MACHINE=x86_64 -232: CPU= -232: Test timeout computed to be: 1500 +231: + cc -c -o out/test/elf/x86_64/rodata-name/a.o -x assembler - +231: + cat +231: + cc -c -o out/test/elf/x86_64/rodata-name/b.o -xc - 232: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/rosegment.sh 232: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 232: ++ export LC_ALL=C @@ -13212,34 +13287,15 @@ 232: ++ tlsdesc_opt=-mtls-dialect=gnu2 232: ++ trap 'on_error $LINENO' ERR 232: ++ trap on_exit EXIT -226: + readelf --symbols out/test/elf/x86_64/require-defined/exe -226: + grep -q foobar 232: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/rosegment.sh .sh 232: ++ testname=rosegment 232: ++ echo -n 'Testing rosegment ... ' 232: Testing rosegment ... ++ t=out/test/elf/x86_64/rosegment 232: ++ mkdir -p out/test/elf/x86_64/rosegment -226: + cc -B. -o out/test/elf/x86_64/require-defined/exe out/test/elf/x86_64/require-defined/c.o out/test/elf/x86_64/require-defined/b.a -Wl,-require-defined,foobar 232: + cat 232: + cc -o out/test/elf/x86_64/rosegment/a.o -c -xc - -225: + grep -q /a.o out/test/elf/x86_64/repro/exe.repro/response.txt -225: + grep -q '[ms]old' out/test/elf/x86_64/repro/exe.repro/version.txt -225: + on_exit -225: + echo OK -225: OK -225: + exit 0 -221/357 Test #225: x86_64-repro ............................... Passed 0.31 sec -test 233 - Start 233: x86_64-rpath - -233: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/rpath.sh" -233: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -233: Environment variables: -233: MACHINE=x86_64 -233: CPU= -233: Test timeout computed to be: 1500 +215: + ./mold --relocatable -o out/test/elf/x86_64/relocatable-c++/d.o out/test/elf/x86_64/relocatable-c++/b.o 233: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/rpath.sh -215: + ./mold --relocatable -o out/test/elf/x86_64/relocatable-c++/c.o out/test/elf/x86_64/relocatable-c++/a.o 233: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 233: ++ export LC_ALL=C 233: ++ LC_ALL=C @@ -13263,45 +13319,8 @@ 233: ++ echo -n 'Testing rpath ... ' 233: Testing rpath ... ++ t=out/test/elf/x86_64/rpath 233: ++ mkdir -p out/test/elf/x86_64/rpath -231: + cc -B. -o out/test/elf/x86_64/rodata-name/exe out/test/elf/x86_64/rodata-name/a.o out/test/elf/x86_64/rodata-name/b.o -233: + cat 233: + cc -o out/test/elf/x86_64/rpath/a.o -c -x assembler - -226: + readelf --symbols out/test/elf/x86_64/require-defined/exe -226: + grep -q foobar -227: + echo ''\''out/test/elf/x86_64/response-file/b.o'\'' '\''out/test/elf/x86_64/response-file/c.o'\''' -227: + cc -B. -o out/test/elf/x86_64/response-file/exe out/test/elf/x86_64/response-file/a.o -Wl,@out/test/elf/x86_64/response-file/rsp -226: + cc -B. -o out/test/elf/x86_64/require-defined/exe out/test/elf/x86_64/require-defined/c.o out/test/elf/x86_64/require-defined/b.a -Wl,-require-defined,xyz -215: + ./mold --relocatable -o out/test/elf/x86_64/relocatable-c++/d.o out/test/elf/x86_64/relocatable-c++/b.o -233: + cc -B. -o out/test/elf/x86_64/rpath/exe1 out/test/elf/x86_64/rpath/a.o -Wl,-rpath,/foo,-rpath,/bar,-R/no/such/directory,-R/ -230: + cat -230: + cc -o out/test/elf/x86_64/reverse-sections/b.o -c -xc++ - -228: + on_exit -228: + echo OK -228: OK -228: + exit 0 -222/357 Test #228: x86_64-response-file2 ...................... Passed 0.23 sec -test 234 - Start 234: x86_64-run-clang - -234: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/run-clang.sh" -234: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -234: Environment variables: -234: MACHINE=x86_64 -234: CPU= -234: Test timeout computed to be: 1500 -215: + c++ -B. -o out/test/elf/x86_64/relocatable-c++/exe out/test/elf/x86_64/relocatable-c++/c.o out/test/elf/x86_64/relocatable-c++/d.o -232: + cc -B. -o out/test/elf/x86_64/rosegment/exe1 out/test/elf/x86_64/rosegment/a.o -231: + grep -q Hello -231: + readelf -p .rodata.str1.1 out/test/elf/x86_64/rodata-name/exe -231: + readelf -p .rodata.str4.4 out/test/elf/x86_64/rodata-name/exe -176: + grep -q 'Hello world' -176: + out/test/elf/x86_64/lto-gcc/exe3 -176: + on_exit -176: + echo OK -176: OK -176: + exit 0 -231: + grep -q world -223/357 Test #176: x86_64-lto-gcc ............................. Passed 2.05 sec +223/357 Test #229: x86_64-retain-symbols-file ................. Passed 0.12 sec test 235 Start 235: x86_64-run @@ -13335,40 +13354,8 @@ 234: ++ echo -n 'Testing run-clang ... ' 234: Testing run-clang ... ++ t=out/test/elf/x86_64/run-clang 234: ++ mkdir -p out/test/elf/x86_64/run-clang -234: + '[' cc = cc ']' -226: + grep -q 'undefined symbol: xyz' out/test/elf/x86_64/require-defined/log -226: + on_exit -226: + echo OK -226: OK -226: + exit 0 -231: + readelf -p .rodata.str1.1 out/test/elf/x86_64/rodata-name/exe -231: + grep -q foobar -231: + readelf -p .rodata.cst8 out/test/elf/x86_64/rodata-name/exe -231: + grep -q abcdefgh -231: + readelf -p .rodatabaz out/test/elf/x86_64/rodata-name/exe -231: + grep -q baz -233: + readelf --dynamic out/test/elf/x86_64/rpath/exe1 -233: + grep -Fq 'Library runpath: [/foo:/bar:/no/such/directory:/]' -233: + cc -B. -o out/test/elf/x86_64/rpath/exe2 out/test/elf/x86_64/rpath/a.o -Wl,-rpath,/foo,-rpath,/bar,-rpath,/foo,-rpath,/baz -234: + nm mold-wrapper.so -234: + grep -q '__[at]san_init' +233: + cat 235: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/run.sh -224/357 Test #226: x86_64-require-defined ..................... Passed 0.36 sec -test 236 - Start 236: x86_64-section-align - -236: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/section-align.sh" -236: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -236: Environment variables: -236: MACHINE=x86_64 -236: CPU= -236: Test timeout computed to be: 1500 -234: + clang --version -234: + skip -234: + echo skipped -234: skipped -234: + trap - EXIT -234: + exit 0 235: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 235: ++ export LC_ALL=C 235: ++ LC_ALL=C @@ -13388,37 +13375,37 @@ 235: ++ trap 'on_error $LINENO' ERR 235: ++ trap on_exit EXIT 235: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/run.sh .sh +234: + '[' cc = cc ']' +234: + nm mold-wrapper.so +234: + grep -q '__[at]san_init' 235: ++ testname=run 235: ++ echo -n 'Testing run ... ' 235: Testing run ... ++ t=out/test/elf/x86_64/run 235: ++ mkdir -p out/test/elf/x86_64/run +230: + cc -o out/test/elf/x86_64/reverse-sections/b.o -c -xc++ - +230: + cat +233: + cc -B. -o out/test/elf/x86_64/rpath/exe1 out/test/elf/x86_64/rpath/a.o -Wl,-rpath,/foo,-rpath,/bar,-R/no/such/directory,-R/ +215: + c++ -B. -o out/test/elf/x86_64/relocatable-c++/exe out/test/elf/x86_64/relocatable-c++/c.o out/test/elf/x86_64/relocatable-c++/d.o +234: + clang --version +234: + skip +234: + echo skipped +234: skipped +234: + trap - EXIT +234: + exit 0 235: + '[' cc = cc ']' -235: + nm mold -231: + on_exit -231: + echo OK -231: OK -231: + exit 0 -225/357 Test #231: x86_64-rodata-name ......................... Passed 0.16 sec -test 237 - Start 237: x86_64-section-attributes - -237: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/section-attributes.sh" -237: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -237: Environment variables: -237: MACHINE=x86_64 -237: CPU= -237: Test timeout computed to be: 1500 -226/357 Test #234: x86_64-run-clang ...........................***Skipped 0.04 sec -test 238 - Start 238: x86_64-section-order +224/357 Test #234: x86_64-run-clang ...........................***Skipped 0.02 sec +test 236 + Start 236: x86_64-section-align -238: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/section-order.sh" -238: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -238: Environment variables: -238: MACHINE=x86_64 -238: CPU= -238: Test timeout computed to be: 1500 +236: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/section-align.sh" +236: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +236: Environment variables: +236: MACHINE=x86_64 +236: CPU= +236: Test timeout computed to be: 1500 +235: + nm mold 235: + grep -q '__[at]san_init' +225: + tar -C out/test/elf/x86_64/repro -xf out/test/elf/x86_64/repro/exe.repro.tar 236: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/section-align.sh 236: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 236: ++ export LC_ALL=C @@ -13443,23 +13430,52 @@ 236: ++ echo -n 'Testing section-align ... ' 236: Testing section-align ... ++ t=out/test/elf/x86_64/section-align 236: ++ mkdir -p out/test/elf/x86_64/section-align +236: + cat +236: + cc -o out/test/elf/x86_64/section-align/a.o -c -xc -fno-PIC - +232: + cc -B. -o out/test/elf/x86_64/rosegment/exe1 out/test/elf/x86_64/rosegment/a.o +231: + cc -B. -o out/test/elf/x86_64/rodata-name/exe out/test/elf/x86_64/rodata-name/a.o out/test/elf/x86_64/rodata-name/b.o +225: + grep -q /a.o out/test/elf/x86_64/repro/exe.repro/response.txt +225: + grep -q '[ms]old' out/test/elf/x86_64/repro/exe.repro/version.txt 230: + cat 230: + cc -o out/test/elf/x86_64/reverse-sections/c.o -c -xc++ - -227: + on_exit -227: + echo OK -227: OK -227: + exit 0 +233: + grep -Fq 'Library runpath: [/foo:/bar:/no/such/directory:/]' +233: + readelf --dynamic out/test/elf/x86_64/rpath/exe1 +225: + on_exit +225: + echo OK +225: OK +225: + exit 0 +233: + cc -B. -o out/test/elf/x86_64/rpath/exe2 out/test/elf/x86_64/rpath/a.o -Wl,-rpath,/foo,-rpath,/bar,-rpath,/foo,-rpath,/baz +236: + cc -B. -o out/test/elf/x86_64/section-align/exe1 out/test/elf/x86_64/section-align/a.o -Wl,--section-align=.foo=0x2000 +225/357 Test #225: x86_64-repro ............................... Passed 0.26 sec +test 237 + Start 237: x86_64-section-attributes + +237: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/section-attributes.sh" +237: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +237: Environment variables: +237: MACHINE=x86_64 +237: CPU= +237: Test timeout computed to be: 1500 215: + out/test/elf/x86_64/relocatable-c++/exe -237: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/section-attributes.sh 215: + grep -q 'Hello world' -238: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/section-order.sh -237: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc -237: ++ export LC_ALL=C -237: ++ LC_ALL=C 215: + on_exit 215: + echo OK 215: OK 215: + exit 0 +237: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/section-attributes.sh +226/357 Test #215: x86_64-relocatable-c++ ..................... Passed 0.58 sec +test 238 + Start 238: x86_64-section-order + +238: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/section-order.sh" +238: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +238: Environment variables: +238: MACHINE=x86_64 +238: CPU= +238: Test timeout computed to be: 1500 +237: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc +237: ++ export LC_ALL=C +237: ++ LC_ALL=C 237: ++ '[' -z x86_64 ']' 237: ++ '[' -z '' ']' 237: ++ TESTDIR=out/test/elf/x86_64 @@ -13475,16 +13491,15 @@ 237: ++ tlsdesc_opt=-mtls-dialect=gnu2 237: ++ trap 'on_error $LINENO' ERR 237: ++ trap on_exit EXIT -227/357 Test #215: x86_64-relocatable-c++ ..................... Passed 0.95 sec -test 239 - Start 239: x86_64-section-start - -239: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/section-start.sh" -239: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -239: Environment variables: -239: MACHINE=x86_64 -239: CPU= -239: Test timeout computed to be: 1500 +237: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/section-attributes.sh .sh +237: ++ testname=section-attributes +237: ++ echo -n 'Testing section-attributes ... ' +237: Testing section-attributes ... ++ t=out/test/elf/x86_64/section-attributes +237: ++ mkdir -p out/test/elf/x86_64/section-attributes +237: + cc -o out/test/elf/x86_64/section-attributes/a.o -c -xassembler - +237: + cat +232: + readelf -W --segments out/test/elf/x86_64/rosegment/exe1 +238: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/section-order.sh 238: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 238: ++ export LC_ALL=C 238: ++ LC_ALL=C @@ -13508,48 +13523,53 @@ 238: ++ echo -n 'Testing section-order ... ' 238: Testing section-order ... ++ t=out/test/elf/x86_64/section-order 238: ++ mkdir -p out/test/elf/x86_64/section-order +232: + grep -q '\.interp .* \.text' out/test/elf/x86_64/rosegment/log1 238: + '[' -z '' ']' 238: + cat 238: + cc -o out/test/elf/x86_64/section-order/a.o -c -xc -fno-PIC - -236: + cat -236: + cc -o out/test/elf/x86_64/section-align/a.o -c -xc -fno-PIC - -237: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/section-attributes.sh .sh -237: ++ testname=section-attributes -237: ++ echo -n 'Testing section-attributes ... ' -237: Testing section-attributes ... ++ t=out/test/elf/x86_64/section-attributes -237: ++ mkdir -p out/test/elf/x86_64/section-attributes 237: + cat -237: + cc -o out/test/elf/x86_64/section-attributes/a.o -c -xassembler - +232: + cc -B. -o out/test/elf/x86_64/rosegment/exe2 out/test/elf/x86_64/rosegment/a.o -Wl,--rosegment +237: + cc -o out/test/elf/x86_64/section-attributes/b.o -c -xassembler - +231: + grep -q Hello +231: + readelf -p .rodata.str1.1 out/test/elf/x86_64/rodata-name/exe +231: + readelf -p .rodata.str4.4 out/test/elf/x86_64/rodata-name/exe +237: + cc -o out/test/elf/x86_64/section-attributes/c.o -c -xassembler - +231: + grep -q world +237: + cat +231: + grep -q foobar +231: + readelf -p .rodata.str1.1 out/test/elf/x86_64/rodata-name/exe +231: + readelf -p .rodata.cst8 out/test/elf/x86_64/rodata-name/exe +231: + grep -q abcdefgh +237: + cat +237: + cc -o out/test/elf/x86_64/section-attributes/d.o -c -xc - +231: + readelf -p .rodatabaz out/test/elf/x86_64/rodata-name/exe +231: + grep -q baz +231: + on_exit +231: + echo OK +231: OK +231: + exit 0 +227/357 Test #231: x86_64-rodata-name ......................... Passed 0.10 sec +test 239 + Start 239: x86_64-section-start + +239: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/section-start.sh" +239: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +239: Environment variables: +239: MACHINE=x86_64 +239: CPU= +239: Test timeout computed to be: 1500 +218: + ./mold --relocatable -o out/test/elf/x86_64/relocatable-exception/c.o out/test/elf/x86_64/relocatable-exception/a.o out/test/elf/x86_64/relocatable-exception/b.o +236: + readelf -WS out/test/elf/x86_64/section-align/exe1 233: + readelf --dynamic out/test/elf/x86_64/rpath/exe2 +236: + grep -q '\.foo.* 8192$' 233: + grep -Fq 'Library runpath: [/foo:/bar:/baz]' -232: + readelf -W --segments out/test/elf/x86_64/rosegment/exe1 +236: + cc -B. -o out/test/elf/x86_64/section-align/exe2 out/test/elf/x86_64/section-align/a.o -Wl,--section-align=.foo=256 239: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/section-start.sh +239: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 233: + on_exit 233: + echo OK 233: OK 233: + exit 0 -228/357 Test #233: x86_64-rpath ............................... Passed 0.11 sec -test 240 - Start 240: x86_64-shared-abs-sym - -240: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/shared-abs-sym.sh" -240: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -240: Environment variables: -240: MACHINE=x86_64 -240: CPU= -240: Test timeout computed to be: 1500 -229/357 Test #227: x86_64-response-file ....................... Passed 0.35 sec -test 241 - Start 241: x86_64-shared - -241: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/shared.sh" -241: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -241: Environment variables: -241: MACHINE=x86_64 -241: CPU= -241: Test timeout computed to be: 1500 -237: + cat -239: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 239: ++ export LC_ALL=C 239: ++ LC_ALL=C 239: ++ '[' -z x86_64 ']' @@ -13567,18 +13587,27 @@ 239: ++ tlsdesc_opt=-mtls-dialect=gnu2 239: ++ trap 'on_error $LINENO' ERR 239: ++ trap on_exit EXIT +228/357 Test #233: x86_64-rpath ............................... Passed 0.10 sec +test 240 + Start 240: x86_64-shared-abs-sym + +240: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/shared-abs-sym.sh" +240: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +240: Environment variables: +240: MACHINE=x86_64 +240: CPU= +240: Test timeout computed to be: 1500 239: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/section-start.sh .sh 239: ++ testname=section-start 239: ++ echo -n 'Testing section-start ... ' 239: Testing section-start ... ++ t=out/test/elf/x86_64/section-start 239: ++ mkdir -p out/test/elf/x86_64/section-start +230: + c++ -B. -o out/test/elf/x86_64/reverse-sections/exe1 out/test/elf/x86_64/reverse-sections/a.o out/test/elf/x86_64/reverse-sections/b.o out/test/elf/x86_64/reverse-sections/c.o +240: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/shared-abs-sym.sh 239: + '[' x86_64 = ppc64 ']' 239: + [[ x86_64 = loongarch* ]] 239: + '[' x86_64 = arm ']' 239: + cat -232: + grep -q '\.interp .* \.text' out/test/elf/x86_64/rosegment/log1 -232: + cc -B. -o out/test/elf/x86_64/rosegment/exe2 out/test/elf/x86_64/rosegment/a.o -Wl,--rosegment -240: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/shared-abs-sym.sh 239: + cc -o out/test/elf/x86_64/section-start/a.o -c -xc -fno-PIC - 240: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 240: ++ export LC_ALL=C @@ -13598,8 +13627,72 @@ 240: ++ tlsdesc_opt=-mtls-dialect=gnu2 240: ++ trap 'on_error $LINENO' ERR 240: ++ trap on_exit EXIT -241: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/shared.sh 240: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/shared-abs-sym.sh .sh +240: ++ testname=shared-abs-sym +240: ++ echo -n 'Testing shared-abs-sym ... ' +240: Testing shared-abs-sym ... ++ t=out/test/elf/x86_64/shared-abs-sym +240: ++ mkdir -p out/test/elf/x86_64/shared-abs-sym +238: + cc -B. -o out/test/elf/x86_64/section-order/exe1 out/test/elf/x86_64/section-order/a.o -no-pie '-Wl,--section-order==0x100000 PHDR =0x200000 .fn2 TEXT =0x300000 .fn1 DATA BSS RODATA' +240: + cc -fPIC -c -o out/test/elf/x86_64/shared-abs-sym/a.o -xassembler - +240: + cat +232: + readelf -W --segments out/test/elf/x86_64/rosegment/exe2 +232: + grep -q '\.interp .* \.text' out/test/elf/x86_64/rosegment/log2 +240: + cc -B. -shared -o out/test/elf/x86_64/shared-abs-sym/b.so out/test/elf/x86_64/shared-abs-sym/a.o +232: + cc -B. -o out/test/elf/x86_64/rosegment/exe3 out/test/elf/x86_64/rosegment/a.o -Wl,--no-rosegment +218: + c++ -B. -o out/test/elf/x86_64/relocatable-exception/exe out/test/elf/x86_64/relocatable-exception/c.o +237: + cc -B. -o out/test/elf/x86_64/section-attributes/exe out/test/elf/x86_64/section-attributes/a.o out/test/elf/x86_64/section-attributes/b.o out/test/elf/x86_64/section-attributes/c.o out/test/elf/x86_64/section-attributes/d.o +236: + readelf -WS out/test/elf/x86_64/section-align/exe2 +236: + grep -q '\.foo.* 256$' +240: + cat +236: + grep -q 'must be a power of 2' +236: + cc -B. -o out/test/elf/x86_64/section-align/exe3 out/test/elf/x86_64/section-align/a.o -Wl,--section-align=.foo=3 +182: + ./mold --relocatable -o out/test/elf/x86_64/many-sections2/b.o out/test/elf/x86_64/many-sections2/a.o +239: + cc -B. -o out/test/elf/x86_64/section-start/exe1 out/test/elf/x86_64/section-start/a.o -no-pie -Wl,--section-start=.fn1=0x10000000,--section-start=.fn2=0x20000000 +240: + cc -fPIC -c -o out/test/elf/x86_64/shared-abs-sym/d.o out/test/elf/x86_64/shared-abs-sym/c.c +230: + grep -q 'foo1 foo2 foo3 foo4 foo5 foo6' +230: + out/test/elf/x86_64/reverse-sections/exe1 +230: + c++ -B. -o out/test/elf/x86_64/reverse-sections/exe2 out/test/elf/x86_64/reverse-sections/a.o out/test/elf/x86_64/reverse-sections/b.o out/test/elf/x86_64/reverse-sections/c.o -Wl,--reverse-sections +235: + cat +235: + cc -xc -c -o out/test/elf/x86_64/run/a.o - +238: + out/test/elf/x86_64/section-order/exe1 +238: + grep -q Hello +236: + on_exit +236: + echo OK +236: OK +236: + exit 0 +229/357 Test #236: x86_64-section-align ....................... Passed 0.13 sec +test 241 + Start 241: x86_64-shared + +241: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/shared.sh" +241: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +241: Environment variables: +241: MACHINE=x86_64 +241: CPU= +241: Test timeout computed to be: 1500 +238: + readelf -SW out/test/elf/x86_64/section-order/exe1 +238: + grep -q '\.fn2 .*00200000' +238: + grep -q '\.fn1 .*00300000' +218: + out/test/elf/x86_64/relocatable-exception/exe +218: 0 +232: + readelf -W --segments out/test/elf/x86_64/rosegment/exe3 +218: + on_exit +218: + echo OK +218: OK +218: + exit 0 +238: + readelf -SW out/test/elf/x86_64/section-order/exe1 +241: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/shared.sh +237: + cc -o out/test/elf/x86_64/section-attributes/exe out/test/elf/x86_64/section-attributes/a.o out/test/elf/x86_64/section-attributes/b.o out/test/elf/x86_64/section-attributes/c.o out/test/elf/x86_64/section-attributes/d.o +230/357 Test #218: x86_64-relocatable-exception ............... Passed 0.62 sec +test 242 + Start 242: x86_64-shuffle-sections-seed + +242: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/shuffle-sections-seed.sh" +242: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +242: Environment variables: +242: MACHINE=x86_64 +242: CPU= +242: Test timeout computed to be: 1500 241: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 241: ++ export LC_ALL=C 241: ++ LC_ALL=C @@ -13618,81 +13711,36 @@ 241: ++ tlsdesc_opt=-mtls-dialect=gnu2 241: ++ trap 'on_error $LINENO' ERR 241: ++ trap on_exit EXIT -240: ++ testname=shared-abs-sym -240: ++ echo -n 'Testing shared-abs-sym ... ' -240: Testing shared-abs-sym ... ++ t=out/test/elf/x86_64/shared-abs-sym -240: ++ mkdir -p out/test/elf/x86_64/shared-abs-sym 241: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/shared.sh .sh -237: + cc -o out/test/elf/x86_64/section-attributes/b.o -c -xassembler - -240: + cat -240: + cc -fPIC -c -o out/test/elf/x86_64/shared-abs-sym/a.o -xassembler - 241: ++ testname=shared 241: ++ echo -n 'Testing shared ... ' 241: Testing shared ... ++ t=out/test/elf/x86_64/shared 241: ++ mkdir -p out/test/elf/x86_64/shared 241: + cat 241: + cc -fPIC -c -o out/test/elf/x86_64/shared/a.o -xc - -237: + cc -o out/test/elf/x86_64/section-attributes/c.o -c -xassembler - -237: + cat -240: + cc -B. -shared -o out/test/elf/x86_64/shared-abs-sym/b.so out/test/elf/x86_64/shared-abs-sym/a.o -237: + cat -237: + cc -o out/test/elf/x86_64/section-attributes/d.o -c -xc - -232: + readelf -W --segments out/test/elf/x86_64/rosegment/exe2 -238: + cc -B. -o out/test/elf/x86_64/section-order/exe1 out/test/elf/x86_64/section-order/a.o -no-pie '-Wl,--section-order==0x100000 PHDR =0x200000 .fn2 TEXT =0x300000 .fn1 DATA BSS RODATA' -230: + c++ -B. -o out/test/elf/x86_64/reverse-sections/exe1 out/test/elf/x86_64/reverse-sections/a.o out/test/elf/x86_64/reverse-sections/b.o out/test/elf/x86_64/reverse-sections/c.o -232: + grep -q '\.interp .* \.text' out/test/elf/x86_64/rosegment/log2 -232: + cc -B. -o out/test/elf/x86_64/rosegment/exe3 out/test/elf/x86_64/rosegment/a.o -Wl,--no-rosegment -236: + cc -B. -o out/test/elf/x86_64/section-align/exe1 out/test/elf/x86_64/section-align/a.o -Wl,--section-align=.foo=0x2000 -241: + cc -B. -shared -o out/test/elf/x86_64/shared/b.so out/test/elf/x86_64/shared/a.o -240: + cat -240: + cc -fPIC -c -o out/test/elf/x86_64/shared-abs-sym/d.o out/test/elf/x86_64/shared-abs-sym/c.c -230: + out/test/elf/x86_64/reverse-sections/exe1 -230: + grep -q 'foo1 foo2 foo3 foo4 foo5 foo6' -239: + cc -B. -o out/test/elf/x86_64/section-start/exe1 out/test/elf/x86_64/section-start/a.o -no-pie -Wl,--section-start=.fn1=0x10000000,--section-start=.fn2=0x20000000 -230: + c++ -B. -o out/test/elf/x86_64/reverse-sections/exe2 out/test/elf/x86_64/reverse-sections/a.o out/test/elf/x86_64/reverse-sections/b.o out/test/elf/x86_64/reverse-sections/c.o -Wl,--reverse-sections -238: + grep -q Hello -238: + out/test/elf/x86_64/section-order/exe1 -238: + grep -q '\.fn2 .*00200000' -238: + readelf -SW out/test/elf/x86_64/section-order/exe1 -236: + grep -q '\.foo.* 8192$' -236: + readelf -WS out/test/elf/x86_64/section-align/exe1 -241: + readelf --dyn-syms out/test/elf/x86_64/shared/b.so -238: + readelf -SW out/test/elf/x86_64/section-order/exe1 -238: + grep -q '\.fn1 .*00300000' -232: + readelf -W --segments out/test/elf/x86_64/rosegment/exe3 -236: + cc -B. -o out/test/elf/x86_64/section-align/exe2 out/test/elf/x86_64/section-align/a.o -Wl,--section-align=.foo=256 -241: + grep -q '00000000 0 NOTYPE GLOBAL DEFAULT UND fn2' out/test/elf/x86_64/shared/log -238: + grep -Eq ': 0+\s.*\s__ehdr_start$' 238: + readelf -sw out/test/elf/x86_64/section-order/exe1 -241: + grep -Eq 'FUNC GLOBAL DEFAULT .* fn1' out/test/elf/x86_64/shared/log -232: + grep -q '\.interp .* \.text' out/test/elf/x86_64/rosegment/log3 +238: + grep -Eq ': 0+\s.*\s__ehdr_start$' 238: + cc -B. -o out/test/elf/x86_64/section-order/exe2 out/test/elf/x86_64/section-order/a.o -no-pie '-Wl,--section-order==0x200000 EHDR RODATA =0x300000 PHDR =0x400000 .fn2 TEXT DATA BSS' -241: + cat +232: + grep -q '\.interp .* \.text' out/test/elf/x86_64/rosegment/log3 232: + on_exit 232: + echo OK 232: OK 232: + exit 0 -241: + cc -fPIC -c -o out/test/elf/x86_64/shared/c.o -xc - -230/357 Test #232: x86_64-rosegment ........................... Passed 0.28 sec -test 242 - Start 242: x86_64-shuffle-sections-seed +231/357 Test #232: x86_64-rosegment ........................... Passed 0.18 sec +test 243 + Start 243: x86_64-shuffle-sections -242: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/shuffle-sections-seed.sh" -242: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -242: Environment variables: -242: MACHINE=x86_64 -242: CPU= -242: Test timeout computed to be: 1500 -235: + cat -235: + cc -xc -c -o out/test/elf/x86_64/run/a.o - +243: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/shuffle-sections.sh" +243: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +243: Environment variables: +243: MACHINE=x86_64 +243: CPU= +243: Test timeout computed to be: 1500 242: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/shuffle-sections-seed.sh 242: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 242: ++ export LC_ALL=C 242: ++ LC_ALL=C -230: + out/test/elf/x86_64/reverse-sections/exe2 -230: + grep -q 'foo5 foo6 foo3 foo4 foo1 foo2' 242: ++ '[' -z x86_64 ']' -230: + on_exit 242: ++ '[' -z '' ']' 242: ++ TESTDIR=out/test/elf/x86_64 242: ++ CC=cc @@ -13708,51 +13756,13 @@ 242: ++ trap 'on_error $LINENO' ERR 242: ++ trap on_exit EXIT 242: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/shuffle-sections-seed.sh .sh -230: + echo OK -230: OK -230: + exit 0 242: ++ testname=shuffle-sections-seed 242: ++ echo -n 'Testing shuffle-sections-seed ... ' 242: Testing shuffle-sections-seed ... ++ t=out/test/elf/x86_64/shuffle-sections-seed 242: ++ mkdir -p out/test/elf/x86_64/shuffle-sections-seed -242: + cc -o out/test/elf/x86_64/shuffle-sections-seed/a.o -ffunction-sections -c -xc - -242: + cat -239: + out/test/elf/x86_64/section-start/exe1 -239: + grep -q 'main fn1 fn2 0x10000000 0x20000000' -236: + readelf -WS out/test/elf/x86_64/section-align/exe2 -236: + grep -q '\.foo.* 256$' -236: + grep -q 'must be a power of 2' -236: + cc -B. -o out/test/elf/x86_64/section-align/exe3 out/test/elf/x86_64/section-align/a.o -Wl,--section-align=.foo=3 -239: + readelf -W --segments out/test/elf/x86_64/section-start/exe1 -239: + grep ' LOAD ' -239: + sed 's/0x[0-9a-f]*//' -237: + cc -B. -o out/test/elf/x86_64/section-attributes/exe out/test/elf/x86_64/section-attributes/a.o out/test/elf/x86_64/section-attributes/b.o out/test/elf/x86_64/section-attributes/c.o out/test/elf/x86_64/section-attributes/d.o -238: + readelf -SW out/test/elf/x86_64/section-order/exe2 -238: + grep -q '\.fn2 .*00400000' -238: + readelf -sW out/test/elf/x86_64/section-order/exe2 -238: + grep -Eq ': 0+200000\s.*\s__ehdr_start$' -238: + grep -Eq 'PHDR\s.*0x0+300000\s' -239: + diff out/test/elf/x86_64/section-start/log1 /dev/fd/63 -238: + readelf -W --segments out/test/elf/x86_64/section-order/exe2 -239: ++ sort out/test/elf/x86_64/section-start/log1 -238: + cc -B. -o out/test/elf/x86_64/section-order/exe3 out/test/elf/x86_64/section-order/a.o -no-pie '-Wl,--section-order==0x200000 !ehdr_start EHDR %0x20 !rodata_start RODATA =0x300000 !phdr_start PHDR %4096 !phdr_end =0x400000 !text_start TEXT DATA BSS' -236: + on_exit -236: + echo OK -236: OK -236: + exit 0 -239: + cc -B. -o out/test/elf/x86_64/section-start/exe2 out/test/elf/x86_64/section-start/a.o -no-pie -Wl,--section-start=.fn1=0x20000000,--section-start=.fn2=0x10000000 -231/357 Test #230: x86_64-reverse-sections .................... Passed 0.43 sec -test 243 - Start 243: x86_64-shuffle-sections - -243: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/shuffle-sections.sh" -243: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -243: Environment variables: -243: MACHINE=x86_64 -243: CPU= -243: Test timeout computed to be: 1500 -237: + cc -o out/test/elf/x86_64/section-attributes/exe out/test/elf/x86_64/section-attributes/a.o out/test/elf/x86_64/section-attributes/b.o out/test/elf/x86_64/section-attributes/c.o out/test/elf/x86_64/section-attributes/d.o 243: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/shuffle-sections.sh +237: /usr/bin/ld: warning: out/test/elf/x86_64/section-attributes/c.o: missing .note.GNU-stack section implies executable stack +237: /usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker 243: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 243: ++ export LC_ALL=C 243: ++ LC_ALL=C @@ -13776,8 +13786,25 @@ 243: ++ echo -n 'Testing shuffle-sections ... ' 243: Testing shuffle-sections ... ++ t=out/test/elf/x86_64/shuffle-sections 243: ++ mkdir -p out/test/elf/x86_64/shuffle-sections -241: + cc -B. -o out/test/elf/x86_64/shared/exe out/test/elf/x86_64/shared/c.o out/test/elf/x86_64/shared/b.so -232/357 Test #236: x86_64-section-align ....................... Passed 0.30 sec +237: /usr/bin/ld: warning: out/test/elf/x86_64/section-attributes/exe has a LOAD segment with RWX permissions +240: + cc -o out/test/elf/x86_64/shared-abs-sym/exe1 -pie out/test/elf/x86_64/shared-abs-sym/d.o out/test/elf/x86_64/shared-abs-sym/b.so +242: + cat +242: + cc -o out/test/elf/x86_64/shuffle-sections-seed/a.o -ffunction-sections -c -xc - +243: + cc -o out/test/elf/x86_64/shuffle-sections/a.o -ffunction-sections -c -xc - +239: + grep -q 'main fn1 fn2 0x10000000 0x20000000' +230: + grep -q 'foo5 foo6 foo3 foo4 foo1 foo2' +230: + out/test/elf/x86_64/reverse-sections/exe2 +239: + out/test/elf/x86_64/section-start/exe1 +243: + cat +237: + readelf -WS out/test/elf/x86_64/section-attributes/exe +239: + readelf -W --segments out/test/elf/x86_64/section-start/exe1 +239: + grep ' LOAD ' +239: + sed 's/0x[0-9a-f]*//' +230: + on_exit +230: + echo OK +230: OK +230: + exit 0 +232/357 Test #230: x86_64-reverse-sections .................... Passed 0.22 sec test 244 Start 244: x86_64-soname @@ -13787,41 +13814,11 @@ 244: MACHINE=x86_64 244: CPU= 244: Test timeout computed to be: 1500 -243: + cat -243: + cc -o out/test/elf/x86_64/shuffle-sections/a.o -ffunction-sections -c -xc - -244: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/soname.sh -237: /usr/bin/ld: warning: out/test/elf/x86_64/section-attributes/c.o: missing .note.GNU-stack section implies executable stack -237: /usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker -238: + readelf -sW out/test/elf/x86_64/section-order/exe3 -244: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc -244: ++ export LC_ALL=C -244: ++ LC_ALL=C -244: ++ '[' -z x86_64 ']' -244: ++ '[' -z '' ']' -244: ++ TESTDIR=out/test/elf/x86_64 -244: ++ CC=cc -244: ++ CXX=c++ -244: ++ GCC=gcc -244: ++ GXX=g++ -244: ++ OBJDUMP=objdump -244: ++ OBJCOPY=objcopy -244: ++ STRIP=strip -244: ++ QEMU= -244: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' -244: ++ tlsdesc_opt=-mtls-dialect=gnu2 -244: ++ trap 'on_error $LINENO' ERR -244: ++ trap on_exit EXIT -244: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/soname.sh .sh -238: + grep -Eq '\b0+200000 .* ehdr_start$' out/test/elf/x86_64/section-order/log3 -239: + grep -q 'main fn1 fn2 0x20000000 0x10000000' -237: /usr/bin/ld: warning: out/test/elf/x86_64/section-attributes/exe has a LOAD segment with RWX permissions -239: + out/test/elf/x86_64/section-start/exe2 -244: ++ testname=soname -244: ++ echo -n 'Testing soname ... ' -244: Testing soname ... ++ t=out/test/elf/x86_64/soname -244: ++ mkdir -p out/test/elf/x86_64/soname -237: + readelf -WS out/test/elf/x86_64/section-attributes/exe -239: + sed 's/0x[0-9a-f]*//' +235: ++ pwd +235: + LD_PRELOAD=/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so +235: ++ pwd +235: + MOLD_PATH=/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/mold +235: + gcc -o out/test/elf/x86_64/run/exe out/test/elf/x86_64/run/a.o -B/usr/bin 237: There are 31 section headers, starting at offset 0x3660: 237: 237: Section Headers: @@ -13866,8 +13863,7 @@ 237: + echo OK 237: OK 237: + exit 0 -244: + cat -233/357 Test #237: x86_64-section-attributes .................. Passed 0.32 sec +233/357 Test #237: x86_64-section-attributes .................. Passed 0.13 sec test 245 Start 245: x86_64-spare-program-headers @@ -13877,16 +13873,73 @@ 245: MACHINE=x86_64 245: CPU= 245: Test timeout computed to be: 1500 +244: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/soname.sh +244: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc +244: ++ export LC_ALL=C +244: ++ LC_ALL=C +244: ++ '[' -z x86_64 ']' +244: ++ '[' -z '' ']' +244: ++ TESTDIR=out/test/elf/x86_64 +244: ++ CC=cc +244: ++ CXX=c++ +244: ++ GCC=gcc +244: ++ GXX=g++ +244: ++ OBJDUMP=objdump +244: ++ OBJCOPY=objcopy +244: ++ STRIP=strip +244: ++ QEMU= +244: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' +244: ++ tlsdesc_opt=-mtls-dialect=gnu2 +244: ++ trap 'on_error $LINENO' ERR +244: ++ trap on_exit EXIT +244: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/soname.sh .sh +244: ++ testname=soname +244: ++ echo -n 'Testing soname ... ' +244: Testing soname ... ++ t=out/test/elf/x86_64/soname +244: ++ mkdir -p out/test/elf/x86_64/soname +239: + diff out/test/elf/x86_64/section-start/log1 /dev/fd/63 +239: ++ sort out/test/elf/x86_64/section-start/log1 +241: + cc -B. -shared -o out/test/elf/x86_64/shared/b.so out/test/elf/x86_64/shared/a.o +245: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/spare-program-headers.sh +245: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc +245: ++ export LC_ALL=C +245: ++ LC_ALL=C +245: ++ '[' -z x86_64 ']' +245: ++ '[' -z '' ']' +245: ++ TESTDIR=out/test/elf/x86_64 +245: ++ CC=cc +245: ++ CXX=c++ +245: ++ GCC=gcc +245: ++ GXX=g++ +245: ++ OBJDUMP=objdump +245: ++ OBJCOPY=objcopy +245: ++ STRIP=strip +245: ++ QEMU= +245: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' +245: ++ tlsdesc_opt=-mtls-dialect=gnu2 +245: ++ trap 'on_error $LINENO' ERR +245: ++ trap on_exit EXIT +244: + cat 244: + cc -fPIC -c -o out/test/elf/x86_64/soname/a.o -xc - -239: + readelf -W --segments out/test/elf/x86_64/section-start/exe2 -239: + grep ' LOAD ' -239: + diff out/test/elf/x86_64/section-start/log2 /dev/fd/63 -239: ++ sort out/test/elf/x86_64/section-start/log2 -218: + ./mold --relocatable -o out/test/elf/x86_64/relocatable-exception/c.o out/test/elf/x86_64/relocatable-exception/a.o out/test/elf/x86_64/relocatable-exception/b.o -238: + grep -Eq '\b0+200040 .* rodata_start$' out/test/elf/x86_64/section-order/log3 -238: + grep -Eq '\b0+300000 .* phdr_start$' out/test/elf/x86_64/section-order/log3 -242: ++ seq 1 1000 +245: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/spare-program-headers.sh .sh +245: ++ testname=spare-program-headers +245: ++ echo -n 'Testing spare-program-headers ... ' +245: Testing spare-program-headers ... ++ t=out/test/elf/x86_64/spare-program-headers +245: ++ mkdir -p out/test/elf/x86_64/spare-program-headers +239: + cc -B. -o out/test/elf/x86_64/section-start/exe2 out/test/elf/x86_64/section-start/a.o -no-pie -Wl,--section-start=.fn1=0x20000000,--section-start=.fn2=0x10000000 +219: + cat +219: + cc -c -xc -o out/test/elf/x86_64/relocatable-many-sections/b.o - +238: + grep -q '\.fn2 .*00400000' +238: + readelf -SW out/test/elf/x86_64/section-order/exe2 +245: + cat +245: + cc -o out/test/elf/x86_64/spare-program-headers/a.o -c -xc - +240: + grep -q foo=0x3 242: + cc -o out/test/elf/x86_64/shuffle-sections-seed/b.o -ffunction-sections -c -xc - +242: ++ seq 1 1000 +238: + readelf -sW out/test/elf/x86_64/section-order/exe2 +238: + grep -Eq ': 0+200000\s.*\s__ehdr_start$' +238: + grep -Eq 'PHDR\s.*0x0+300000\s' +240: + out/test/elf/x86_64/shared-abs-sym/exe1 242: + for i in `seq 1 1000` 242: + echo 'void fn1() {}' 242: + for i in `seq 1 1000` @@ -14028,6 +14081,8 @@ 242: + for i in `seq 1 1000` 242: + echo 'void fn70() {}' 242: + for i in `seq 1 1000` +238: + readelf -W --segments out/test/elf/x86_64/section-order/exe2 +240: + cc -B. -o out/test/elf/x86_64/shared-abs-sym/exe2 -pie out/test/elf/x86_64/shared-abs-sym/d.o out/test/elf/x86_64/shared-abs-sym/b.so 242: + echo 'void fn71() {}' 242: + for i in `seq 1 1000` 242: + echo 'void fn72() {}' @@ -14789,6 +14844,7 @@ 242: + echo 'void fn450() {}' 242: + for i in `seq 1 1000` 242: + echo 'void fn451() {}' +243: + cc -o out/test/elf/x86_64/shuffle-sections/b.o -ffunction-sections -c -xc - 242: + for i in `seq 1 1000` 242: + echo 'void fn452() {}' 242: + for i in `seq 1 1000` @@ -15294,12 +15350,6 @@ 242: + for i in `seq 1 1000` 242: + echo 'void fn703() {}' 242: + for i in `seq 1 1000` -235: ++ pwd -235: + LD_PRELOAD=/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/mold-wrapper.so -235: ++ pwd -235: + MOLD_PATH=/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/mold -235: + gcc -o out/test/elf/x86_64/run/exe out/test/elf/x86_64/run/a.o -B/usr/bin -240: + cc -o out/test/elf/x86_64/shared-abs-sym/exe1 -pie out/test/elf/x86_64/shared-abs-sym/d.o out/test/elf/x86_64/shared-abs-sym/b.so 242: + echo 'void fn704() {}' 242: + for i in `seq 1 1000` 242: + echo 'void fn705() {}' @@ -15473,11 +15523,6 @@ 242: + echo 'void fn789() {}' 242: + for i in `seq 1 1000` 242: + echo 'void fn790() {}' -239: + on_exit -239: + echo OK -239: OK -239: + exit 0 -238: + grep -Eq '\b0+301000 .* phdr_end$' out/test/elf/x86_64/section-order/log3 242: + for i in `seq 1 1000` 242: + echo 'void fn791() {}' 242: + for i in `seq 1 1000` @@ -15751,35 +15796,6 @@ 242: + for i in `seq 1 1000` 242: + echo 'void fn926() {}' 242: + for i in `seq 1 1000` -245: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/spare-program-headers.sh -245: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc -245: ++ export LC_ALL=C -245: ++ LC_ALL=C -245: ++ '[' -z x86_64 ']' -245: ++ '[' -z '' ']' -245: ++ TESTDIR=out/test/elf/x86_64 -245: ++ CC=cc -245: ++ CXX=c++ -245: ++ GCC=gcc -245: ++ GXX=g++ -245: ++ OBJDUMP=objdump -245: ++ OBJCOPY=objcopy -245: ++ STRIP=strip -245: ++ QEMU= -245: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' -245: ++ tlsdesc_opt=-mtls-dialect=gnu2 -245: ++ trap 'on_error $LINENO' ERR -245: ++ trap on_exit EXIT -245: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/spare-program-headers.sh .sh -245: ++ testname=spare-program-headers -245: ++ echo -n 'Testing spare-program-headers ... ' -245: Testing spare-program-headers ... ++ t=out/test/elf/x86_64/spare-program-headers -245: ++ mkdir -p out/test/elf/x86_64/spare-program-headers -238: + grep -Eq '\b0+400000 .* text_start$' out/test/elf/x86_64/section-order/log3 -238: + on_exit -238: + echo OK -238: OK -238: + exit 0 242: + echo 'void fn927() {}' 242: + for i in `seq 1 1000` 242: + echo 'void fn928() {}' @@ -15854,6 +15870,7 @@ 242: + for i in `seq 1 1000` 242: + echo 'void fn963() {}' 242: + for i in `seq 1 1000` +238: + cc -B. -o out/test/elf/x86_64/section-order/exe3 out/test/elf/x86_64/section-order/a.o -no-pie '-Wl,--section-order==0x200000 !ehdr_start EHDR %0x20 !rodata_start RODATA =0x300000 !phdr_start PHDR %4096 !phdr_end =0x400000 !text_start TEXT DATA BSS' 242: + echo 'void fn964() {}' 242: + for i in `seq 1 1000` 242: + echo 'void fn965() {}' @@ -15927,202 +15944,9 @@ 242: + echo 'void fn999() {}' 242: + for i in `seq 1 1000` 242: + echo 'void fn1000() {}' -182: + readelf -WS out/test/elf/x86_64/many-sections2/b.o -241: + grep -q hello -241: + out/test/elf/x86_64/shared/exe -218: + c++ -B. -o out/test/elf/x86_64/relocatable-exception/exe out/test/elf/x86_64/relocatable-exception/c.o -234/357 Test #238: x86_64-section-order ....................... Passed 0.33 sec -test 246 - Start 246: x86_64-start-lib - -246: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/start-lib.sh" -246: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -246: Environment variables: -246: MACHINE=x86_64 -246: CPU= -246: Test timeout computed to be: 1500 -235/357 Test #239: x86_64-section-start ....................... Passed 0.32 sec -test 247 - Start 247: x86_64-start-stop-symbol - -247: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/start-stop-symbol.sh" -247: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -247: Environment variables: -247: MACHINE=x86_64 -247: CPU= -247: Test timeout computed to be: 1500 -241: + readelf --symbols out/test/elf/x86_64/shared/exe -241: + grep -q fn3 -241: + on_exit -241: + echo OK -241: OK -241: + exit 0 -236/357 Test #241: x86_64-shared .............................. Passed 0.31 sec -test 248 - Start 248: x86_64-start-stop - -248: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/start-stop.sh" -248: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -248: Environment variables: -248: MACHINE=x86_64 -248: CPU= -248: Test timeout computed to be: 1500 -245: + cc -o out/test/elf/x86_64/spare-program-headers/a.o -c -xc - -245: + cat -246: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/start-lib.sh -246: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc -246: ++ export LC_ALL=C -246: ++ LC_ALL=C -246: ++ '[' -z x86_64 ']' -246: ++ '[' -z '' ']' -246: ++ TESTDIR=out/test/elf/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: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' -246: ++ tlsdesc_opt=-mtls-dialect=gnu2 -246: ++ trap 'on_error $LINENO' ERR -246: ++ trap on_exit EXIT -246: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/start-lib.sh .sh -246: ++ testname=start-lib -246: ++ echo -n 'Testing start-lib ... ' -246: Testing start-lib ... ++ t=out/test/elf/x86_64/start-lib -246: ++ mkdir -p out/test/elf/x86_64/start-lib -246: + cat -246: + cc -o out/test/elf/x86_64/start-lib/a.o -c -xc - -247: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/start-stop-symbol.sh -247: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc -247: ++ export LC_ALL=C -247: ++ LC_ALL=C -247: ++ '[' -z x86_64 ']' -247: ++ '[' -z '' ']' -247: ++ TESTDIR=out/test/elf/x86_64 -247: ++ CC=cc -247: ++ CXX=c++ -247: ++ GCC=gcc -247: ++ GXX=g++ -247: ++ OBJDUMP=objdump -247: ++ OBJCOPY=objcopy -247: ++ STRIP=strip -247: ++ QEMU= -247: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' -247: ++ tlsdesc_opt=-mtls-dialect=gnu2 -247: ++ trap 'on_error $LINENO' ERR -247: ++ trap on_exit EXIT -247: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/start-stop-symbol.sh .sh -235: + readelf -p .comment out/test/elf/x86_64/run/exe -235: + grep -q '[ms]old' out/test/elf/x86_64/run/log -240: + out/test/elf/x86_64/shared-abs-sym/exe1 -240: + grep -q foo=0x3 -240: + cc -B. -o out/test/elf/x86_64/shared-abs-sym/exe2 -pie out/test/elf/x86_64/shared-abs-sym/d.o out/test/elf/x86_64/shared-abs-sym/b.so -247: ++ testname=start-stop-symbol -247: ++ echo -n 'Testing start-stop-symbol ... ' -247: Testing start-stop-symbol ... ++ t=out/test/elf/x86_64/start-stop-symbol -247: ++ mkdir -p out/test/elf/x86_64/start-stop-symbol -235: + ./mold -run env -235: + grep -q '^MOLD_PATH=.*/mold$' -247: + cat -247: + cc -c -o out/test/elf/x86_64/start-stop-symbol/a.o -xc - -248: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/start-stop.sh -248: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc -248: ++ export LC_ALL=C -248: ++ LC_ALL=C -248: ++ '[' -z x86_64 ']' -248: ++ '[' -z '' ']' -248: ++ TESTDIR=out/test/elf/x86_64 -248: ++ CC=cc -248: ++ CXX=c++ -248: ++ GCC=gcc -248: ++ GXX=g++ -248: ++ OBJDUMP=objdump -248: ++ OBJCOPY=objcopy -248: ++ STRIP=strip -248: ++ QEMU= -248: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' -248: ++ tlsdesc_opt=-mtls-dialect=gnu2 -248: ++ trap 'on_error $LINENO' ERR -248: ++ trap on_exit EXIT -248: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/start-stop.sh .sh -248: ++ testname=start-stop -248: ++ echo -n 'Testing start-stop ... ' -248: Testing start-stop ... ++ t=out/test/elf/x86_64/start-stop -248: ++ mkdir -p out/test/elf/x86_64/start-stop -235: + grep -q '[ms]old' -235: + ./mold -run /usr/bin/ld --version -218: + out/test/elf/x86_64/relocatable-exception/exe -248: + cat -248: + cc -c -o out/test/elf/x86_64/start-stop/a.o -xc - -218: 0 -218: + on_exit -218: + echo OK -218: OK -218: + exit 0 -237/357 Test #218: x86_64-relocatable-exception ............... Passed 1.01 sec -test 249 - Start 249: x86_64-static-archive - -249: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/static-archive.sh" -249: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -249: Environment variables: -249: MACHINE=x86_64 -249: CPU= -249: Test timeout computed to be: 1500 -235: + grep -q '[ms]old' -235: + ./mold -run /usr/bin/ld.lld --version -249: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/static-archive.sh -249: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc -249: ++ export LC_ALL=C -249: ++ LC_ALL=C -249: ++ '[' -z x86_64 ']' -249: ++ '[' -z '' ']' -249: ++ TESTDIR=out/test/elf/x86_64 -249: ++ CC=cc -249: ++ CXX=c++ -249: ++ GCC=gcc -249: ++ GXX=g++ -249: ++ OBJDUMP=objdump -249: ++ OBJCOPY=objcopy -249: ++ STRIP=strip -249: ++ QEMU= -249: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' -249: ++ tlsdesc_opt=-mtls-dialect=gnu2 -249: ++ trap 'on_error $LINENO' ERR -249: ++ trap on_exit EXIT -249: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/static-archive.sh .sh -249: ++ testname=static-archive -249: ++ echo -n 'Testing static-archive ... ' -249: Testing static-archive ... ++ t=out/test/elf/x86_64/static-archive -249: ++ mkdir -p out/test/elf/x86_64/static-archive -240: + out/test/elf/x86_64/shared-abs-sym/exe2 -240: + grep -q foo=0x3 -249: + cat -249: + cc -o out/test/elf/x86_64/static-archive/long-long-long-filename.o -c -xc - -235: + ./mold -run /usr/bin/ld.gold --version -235: + grep -q '[ms]old' -240: + cc -B. -o out/test/elf/x86_64/shared-abs-sym/exe3 -no-pie out/test/elf/x86_64/shared-abs-sym/d.o out/test/elf/x86_64/shared-abs-sym/b.so -219: + cat -219: + cc -c -xc -o out/test/elf/x86_64/relocatable-many-sections/b.o - -235: + rm -f out/test/elf/x86_64/run/ld out/test/elf/x86_64/run/ld.lld out/test/elf/x86_64/run/ld.gold out/test/elf/x86_64/run/foo.ld -235: + touch out/test/elf/x86_64/run/ld out/test/elf/x86_64/run/ld.lld out/test/elf/x86_64/run/ld.gold -235: + echo '#!/bin/sh' -235: + chmod 755 out/test/elf/x86_64/run/ld out/test/elf/x86_64/run/ld.lld out/test/elf/x86_64/run/ld.gold out/test/elf/x86_64/run/foo.ld -235: + ./mold -run out/test/elf/x86_64/run/ld --version -235: + grep -q '[ms]old' -247: + ar rcs out/test/elf/x86_64/start-stop-symbol/b.a out/test/elf/x86_64/start-stop-symbol/a.o -248: + cc -B. -o out/test/elf/x86_64/start-stop/exe1 out/test/elf/x86_64/start-stop/a.o -Wl,--start-stop -235: + grep -q '[ms]old' -235: + ./mold -run out/test/elf/x86_64/run/ld.lld --version -243: + cc -o out/test/elf/x86_64/shuffle-sections/b.o -ffunction-sections -c -xc - 243: ++ seq 1 1000 -245: + cc -B. -o out/test/elf/x86_64/spare-program-headers/exe1 out/test/elf/x86_64/spare-program-headers/a.o 243: + for i in `seq 1 1000` 243: + echo 'void fn1() {}' -244: + cc -o out/test/elf/x86_64/soname/b.so -shared out/test/elf/x86_64/soname/a.o 243: + for i in `seq 1 1000` 243: + echo 'void fn2() {}' 243: + for i in `seq 1 1000` @@ -16189,7 +16013,6 @@ 243: + echo 'void fn33() {}' 243: + for i in `seq 1 1000` 243: + echo 'void fn34() {}' -249: + cat 243: + for i in `seq 1 1000` 243: + echo 'void fn35() {}' 243: + for i in `seq 1 1000` @@ -16204,6 +16027,7 @@ 243: + echo 'void fn40() {}' 243: + for i in `seq 1 1000` 243: + echo 'void fn41() {}' +235: + readelf -p .comment out/test/elf/x86_64/run/exe 243: + for i in `seq 1 1000` 243: + echo 'void fn42() {}' 243: + for i in `seq 1 1000` @@ -16218,7 +16042,6 @@ 243: + echo 'void fn47() {}' 243: + for i in `seq 1 1000` 243: + echo 'void fn48() {}' -249: + cc -o out/test/elf/x86_64/static-archive/b.o -c -xc - 243: + for i in `seq 1 1000` 243: + echo 'void fn49() {}' 243: + for i in `seq 1 1000` @@ -16634,8 +16457,6 @@ 243: + for i in `seq 1 1000` 243: + echo 'void fn255() {}' 243: + for i in `seq 1 1000` -246: + cc -o out/test/elf/x86_64/start-lib/b.o -c -xc - -246: + cat 243: + echo 'void fn256() {}' 243: + for i in `seq 1 1000` 243: + echo 'void fn257() {}' @@ -17013,7 +16834,6 @@ 243: + echo 'void fn443() {}' 243: + for i in `seq 1 1000` 243: + echo 'void fn444() {}' -240: + out/test/elf/x86_64/shared-abs-sym/exe3 243: + for i in `seq 1 1000` 243: + echo 'void fn445() {}' 243: + for i in `seq 1 1000` @@ -17052,6 +16872,24 @@ 243: + echo 'void fn462() {}' 243: + for i in `seq 1 1000` 243: + echo 'void fn463() {}' +235: + grep -q '[ms]old' out/test/elf/x86_64/run/log +235: + ./mold -run env +235: + grep -q '^MOLD_PATH=.*/mold$' +235: + ./mold -run /usr/bin/ld --version +235: + grep -q '[ms]old' +235: + ./mold -run /usr/bin/ld.lld --version +235: + grep -q '[ms]old' +239: + out/test/elf/x86_64/section-start/exe2 +239: + grep -q 'main fn1 fn2 0x20000000 0x10000000' +239: + readelf -W --segments out/test/elf/x86_64/section-start/exe2 +239: + sed 's/0x[0-9a-f]*//' +239: + grep ' LOAD ' +239: + diff out/test/elf/x86_64/section-start/log2 /dev/fd/63 +239: ++ sort out/test/elf/x86_64/section-start/log2 +239: + on_exit +239: + echo OK +239: OK +239: + exit 0 243: + for i in `seq 1 1000` 243: + echo 'void fn464() {}' 243: + for i in `seq 1 1000` @@ -17635,8 +17473,6 @@ 243: + for i in `seq 1 1000` 243: + echo 'void fn754() {}' 243: + for i in `seq 1 1000` -240: + grep -q foo=0x3 -235: + ./mold -run out/test/elf/x86_64/run/ld.gold --version 243: + echo 'void fn755() {}' 243: + for i in `seq 1 1000` 243: + echo 'void fn756() {}' @@ -18062,11 +17898,6 @@ 243: + echo 'void fn966() {}' 243: + for i in `seq 1 1000` 243: + echo 'void fn967() {}' -240: + on_exit -240: + echo OK -240: OK -240: + exit 0 -235: + grep -q '[ms]old' 243: + for i in `seq 1 1000` 243: + echo 'void fn968() {}' 243: + for i in `seq 1 1000` @@ -18133,7 +17964,233 @@ 243: + echo 'void fn999() {}' 243: + for i in `seq 1 1000` 243: + echo 'void fn1000() {}' -238/357 Test #240: x86_64-shared-abs-sym ...................... Passed 0.39 sec +241: + readelf --dyn-syms out/test/elf/x86_64/shared/b.so +241: + grep -q '00000000 0 NOTYPE GLOBAL DEFAULT UND fn2' out/test/elf/x86_64/shared/log +241: + grep -Eq 'FUNC GLOBAL DEFAULT .* fn1' out/test/elf/x86_64/shared/log +241: + cat +241: + cc -fPIC -c -o out/test/elf/x86_64/shared/c.o -xc - +240: + out/test/elf/x86_64/shared-abs-sym/exe2 +240: + grep -q foo=0x3 +240: + cc -B. -o out/test/elf/x86_64/shared-abs-sym/exe3 -no-pie out/test/elf/x86_64/shared-abs-sym/d.o out/test/elf/x86_64/shared-abs-sym/b.so +234/357 Test #239: x86_64-section-start ....................... Passed 0.24 sec +test 246 + Start 246: x86_64-start-lib + +246: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/start-lib.sh" +246: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +246: Environment variables: +246: MACHINE=x86_64 +246: CPU= +246: Test timeout computed to be: 1500 +238: + readelf -sW out/test/elf/x86_64/section-order/exe3 +238: + grep -Eq '\b0+200000 .* ehdr_start$' out/test/elf/x86_64/section-order/log3 +238: + grep -Eq '\b0+200040 .* rodata_start$' out/test/elf/x86_64/section-order/log3 +238: + grep -Eq '\b0+300000 .* phdr_start$' out/test/elf/x86_64/section-order/log3 +235: + ./mold -run /usr/bin/ld.gold --version +235: + grep -q '[ms]old' +246: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/start-lib.sh +246: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc +246: ++ export LC_ALL=C +246: ++ LC_ALL=C +246: ++ '[' -z x86_64 ']' +246: ++ '[' -z '' ']' +246: ++ TESTDIR=out/test/elf/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: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' +246: ++ tlsdesc_opt=-mtls-dialect=gnu2 +246: ++ trap 'on_error $LINENO' ERR +246: ++ trap on_exit EXIT +246: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/start-lib.sh .sh +238: + grep -Eq '\b0+301000 .* phdr_end$' out/test/elf/x86_64/section-order/log3 +246: ++ testname=start-lib +246: ++ echo -n 'Testing start-lib ... ' +246: Testing start-lib ... ++ t=out/test/elf/x86_64/start-lib +246: ++ mkdir -p out/test/elf/x86_64/start-lib +238: + grep -Eq '\b0+400000 .* text_start$' out/test/elf/x86_64/section-order/log3 +246: + cat +246: + cc -o out/test/elf/x86_64/start-lib/a.o -c -xc - +235: + rm -f out/test/elf/x86_64/run/ld out/test/elf/x86_64/run/ld.lld out/test/elf/x86_64/run/ld.gold out/test/elf/x86_64/run/foo.ld +238: + on_exit +238: + echo OK +238: OK +238: + exit 0 +235/357 Test #238: x86_64-section-order ....................... Passed 0.27 sec +test 247 + Start 247: x86_64-start-stop-symbol + +247: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/start-stop-symbol.sh" +247: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +247: Environment variables: +247: MACHINE=x86_64 +247: CPU= +247: Test timeout computed to be: 1500 +235: + touch out/test/elf/x86_64/run/ld out/test/elf/x86_64/run/ld.lld out/test/elf/x86_64/run/ld.gold +235: + echo '#!/bin/sh' +235: + chmod 755 out/test/elf/x86_64/run/ld out/test/elf/x86_64/run/ld.lld out/test/elf/x86_64/run/ld.gold out/test/elf/x86_64/run/foo.ld +247: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/start-stop-symbol.sh +247: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc +247: ++ export LC_ALL=C +247: ++ LC_ALL=C +247: ++ '[' -z x86_64 ']' +247: ++ '[' -z '' ']' +247: ++ TESTDIR=out/test/elf/x86_64 +247: ++ CC=cc +247: ++ CXX=c++ +247: ++ GCC=gcc +247: ++ GXX=g++ +247: ++ OBJDUMP=objdump +247: ++ OBJCOPY=objcopy +247: ++ STRIP=strip +247: ++ QEMU= +247: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' +247: ++ tlsdesc_opt=-mtls-dialect=gnu2 +247: ++ trap 'on_error $LINENO' ERR +247: ++ trap on_exit EXIT +247: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/start-stop-symbol.sh .sh +247: ++ testname=start-stop-symbol +247: ++ echo -n 'Testing start-stop-symbol ... ' +247: Testing start-stop-symbol ... ++ t=out/test/elf/x86_64/start-stop-symbol +247: ++ mkdir -p out/test/elf/x86_64/start-stop-symbol +247: + cat +247: + cc -c -o out/test/elf/x86_64/start-stop-symbol/a.o -xc - +235: + grep -q '[ms]old' +235: + ./mold -run out/test/elf/x86_64/run/ld --version +235: + ./mold -run out/test/elf/x86_64/run/ld.lld --version +235: + grep -q '[ms]old' +240: + out/test/elf/x86_64/shared-abs-sym/exe3 +240: + grep -q foo=0x3 +240: + on_exit +240: + echo OK +240: OK +240: + exit 0 +236/357 Test #240: x86_64-shared-abs-sym ...................... Passed 0.28 sec +test 248 + Start 248: x86_64-start-stop + +248: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/start-stop.sh" +248: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +248: Environment variables: +248: MACHINE=x86_64 +248: CPU= +248: Test timeout computed to be: 1500 +235: + ./mold -run out/test/elf/x86_64/run/ld.gold --version +248: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/start-stop.sh +235: + grep -q '[ms]old' +248: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc +248: ++ export LC_ALL=C +248: ++ LC_ALL=C +248: ++ '[' -z x86_64 ']' +248: ++ '[' -z '' ']' +248: ++ TESTDIR=out/test/elf/x86_64 +248: ++ CC=cc +248: ++ CXX=c++ +248: ++ GCC=gcc +248: ++ GXX=g++ +248: ++ OBJDUMP=objdump +248: ++ OBJCOPY=objcopy +248: ++ STRIP=strip +248: ++ QEMU= +248: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' +248: ++ tlsdesc_opt=-mtls-dialect=gnu2 +248: ++ trap 'on_error $LINENO' ERR +248: ++ trap on_exit EXIT +248: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/start-stop.sh .sh +248: ++ testname=start-stop +248: ++ echo -n 'Testing start-stop ... ' +248: Testing start-stop ... ++ t=out/test/elf/x86_64/start-stop +248: ++ mkdir -p out/test/elf/x86_64/start-stop +235: + ./mold -run out/test/elf/x86_64/run/foo.ld --version +235: + grep -q '[ms]old' +235: + cat +245: + cc -B. -o out/test/elf/x86_64/spare-program-headers/exe1 out/test/elf/x86_64/spare-program-headers/a.o +219: + ./mold -r -o out/test/elf/x86_64/relocatable-many-sections/c.o out/test/elf/x86_64/relocatable-many-sections/a.o out/test/elf/x86_64/relocatable-many-sections/b.o +241: + cc -B. -o out/test/elf/x86_64/shared/exe out/test/elf/x86_64/shared/c.o out/test/elf/x86_64/shared/b.so +246: + cc -o out/test/elf/x86_64/start-lib/b.o -c -xc - +235: + chmod 755 out/test/elf/x86_64/run/sh +248: + cc -c -o out/test/elf/x86_64/start-stop/a.o -xc - +246: + cat +244: + cc -o out/test/elf/x86_64/soname/b.so -shared out/test/elf/x86_64/soname/a.o +235: + grep -q '[ms]old' +248: + cat +235: + ./mold -run out/test/elf/x86_64/run/sh ld --version +235: + ./mold -run out/test/elf/x86_64/run/sh foo.ld --version +235: + grep -q '[ms]old' +244: + readelf --dynamic out/test/elf/x86_64/soname/b.so +241: + out/test/elf/x86_64/shared/exe +241: + grep -q hello +244: + grep -Fq 'Library soname' out/test/elf/x86_64/soname/log +244: + cc -B. -o out/test/elf/x86_64/soname/b.so -shared out/test/elf/x86_64/soname/a.o -Wl,-soname,foo +241: + readelf --symbols out/test/elf/x86_64/shared/exe +235: + grep -q '[ms]old' +235: + ./mold -run out/test/elf/x86_64/run/sh out/test/elf/x86_64/run/ld --version +241: + grep -q fn3 +245: + out/test/elf/x86_64/spare-program-headers/exe1 +245: + grep -q 'Hello world' +241: + on_exit +241: + echo OK +241: OK +241: + exit 0 +237/357 Test #241: x86_64-shared .............................. Passed 0.36 sec +test 249 + Start 249: x86_64-static-archive + +249: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/static-archive.sh" +249: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +249: Environment variables: +249: MACHINE=x86_64 +249: CPU= +249: Test timeout computed to be: 1500 +245: ++ readelf -Wl out/test/elf/x86_64/spare-program-headers/exe1 +245: ++ grep NULL +245: ++ wc -l +245: + '[' 0 -eq 0 ']' +245: + cc -B. -o out/test/elf/x86_64/spare-program-headers/exe2 out/test/elf/x86_64/spare-program-headers/a.o -Wl,--spare-program-headers=0 +249: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/static-archive.sh +249: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc +249: ++ export LC_ALL=C +249: ++ LC_ALL=C +249: ++ '[' -z x86_64 ']' +249: ++ '[' -z '' ']' +249: ++ TESTDIR=out/test/elf/x86_64 +249: ++ CC=cc +249: ++ CXX=c++ +249: ++ GCC=gcc +249: ++ GXX=g++ +249: ++ OBJDUMP=objdump +249: ++ OBJCOPY=objcopy +249: ++ STRIP=strip +249: ++ QEMU= +249: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' +249: ++ tlsdesc_opt=-mtls-dialect=gnu2 +249: ++ trap 'on_error $LINENO' ERR +249: ++ trap on_exit EXIT +249: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/static-archive.sh .sh +249: ++ testname=static-archive +249: ++ echo -n 'Testing static-archive ... ' +249: Testing static-archive ... ++ t=out/test/elf/x86_64/static-archive +249: ++ mkdir -p out/test/elf/x86_64/static-archive +235: + ./mold -run out/test/elf/x86_64/run/sh out/test/elf/x86_64/run/ld.lld --version +235: + grep -q '[ms]old' +249: + cat +249: + cc -o out/test/elf/x86_64/static-archive/long-long-long-filename.o -c -xc - +235: + ./mold -run out/test/elf/x86_64/run/sh out/test/elf/x86_64/run/ld.gold --version +235: + grep -q '[ms]old' +244: + readelf --dynamic out/test/elf/x86_64/soname/b.so +244: + grep -Fq 'Library soname: [foo]' +235: + ./mold -run out/test/elf/x86_64/run/sh out/test/elf/x86_64/run/foo.ld --version +244: + on_exit +244: + echo OK +244: OK +244: + exit 0 +235: + grep -q '[ms]old' +238/357 Test #244: x86_64-soname .............................. Passed 0.36 sec test 250 Start 250: x86_64-static-pie @@ -18143,7 +18200,12 @@ 250: MACHINE=x86_64 250: CPU= 250: Test timeout computed to be: 1500 +245: + out/test/elf/x86_64/spare-program-headers/exe2 +245: + grep -q 'Hello world' 250: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/static-pie.sh +245: ++ readelf -Wl out/test/elf/x86_64/spare-program-headers/exe2 +245: ++ grep NULL +245: ++ wc -l 250: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 250: ++ export LC_ALL=C 250: ++ LC_ALL=C @@ -18160,43 +18222,20 @@ 250: ++ QEMU= 250: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 250: ++ tlsdesc_opt=-mtls-dialect=gnu2 -235: + grep -q '[ms]old' 250: ++ trap 'on_error $LINENO' ERR 250: ++ trap on_exit EXIT 250: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/static-pie.sh .sh +235: + on_exit +235: + echo OK +235: OK +235: + exit 0 250: ++ testname=static-pie 250: ++ echo -n 'Testing static-pie ... ' 250: Testing static-pie ... ++ t=out/test/elf/x86_64/static-pie 250: ++ mkdir -p out/test/elf/x86_64/static-pie -235: + ./mold -run out/test/elf/x86_64/run/foo.ld --version -250: + test_cflags -static-pie -250: + echo 'int main() {}' -244: + readelf --dynamic out/test/elf/x86_64/soname/b.so -250: + cc -static-pie -o /dev/null -xc - -245: + out/test/elf/x86_64/spare-program-headers/exe1 -182: + grep -Fq .data.100000 out/test/elf/x86_64/many-sections2/log1 -245: + grep -q 'Hello world' -244: + grep -Fq 'Library soname' out/test/elf/x86_64/soname/log -235: + cat -182: + readelf -Ws out/test/elf/x86_64/many-sections2/b.o -245: ++ readelf -Wl out/test/elf/x86_64/spare-program-headers/exe1 -245: ++ grep NULL -245: ++ wc -l -244: + cc -B. -o out/test/elf/x86_64/soname/b.so -shared out/test/elf/x86_64/soname/a.o -Wl,-soname,foo -235: + chmod 755 out/test/elf/x86_64/run/sh -248: + readelf -sW out/test/elf/x86_64/start-stop/exe1 -248: + grep -q __start_text -235: + ./mold -run out/test/elf/x86_64/run/sh ld --version -235: + grep -q '[ms]old' 245: + '[' 0 -eq 0 ']' -245: + cc -B. -o out/test/elf/x86_64/spare-program-headers/exe2 out/test/elf/x86_64/spare-program-headers/a.o -Wl,--spare-program-headers=0 -248: + readelf -sW out/test/elf/x86_64/start-stop/exe1 -248: + grep -q __stop_text -248: + on_exit -248: + echo OK -248: OK -248: + exit 0 -239/357 Test #248: x86_64-start-stop .......................... Passed 0.11 sec +245: + cc -B. -o out/test/elf/x86_64/spare-program-headers/exe3 out/test/elf/x86_64/spare-program-headers/a.o -Wl,--spare-program-headers=1 +239/357 Test #235: x86_64-run ................................. Passed 0.54 sec test 251 Start 251: x86_64-stdout @@ -18206,6 +18245,9 @@ 251: MACHINE=x86_64 251: CPU= 251: Test timeout computed to be: 1500 +250: + test_cflags -static-pie +250: + echo 'int main() {}' +250: + cc -static-pie -o /dev/null -xc - 251: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/stdout.sh 251: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 251: ++ export LC_ALL=C @@ -18225,31 +18267,36 @@ 251: ++ tlsdesc_opt=-mtls-dialect=gnu2 251: ++ trap 'on_error $LINENO' ERR 251: ++ trap on_exit EXIT -235: + ./mold -run out/test/elf/x86_64/run/sh foo.ld --version -247: + cat 251: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/stdout.sh .sh -247: + cc -c -o out/test/elf/x86_64/start-stop-symbol/c.o -xc - -235: + grep -q '[ms]old' 251: ++ testname=stdout 251: ++ echo -n 'Testing stdout ... ' 251: Testing stdout ... ++ t=out/test/elf/x86_64/stdout 251: ++ mkdir -p out/test/elf/x86_64/stdout -235: + ./mold -run out/test/elf/x86_64/run/sh out/test/elf/x86_64/run/ld --version -235: + grep -q '[ms]old' 251: + cat 251: + cc -o out/test/elf/x86_64/stdout/a.o -c -xc - -244: + readelf --dynamic out/test/elf/x86_64/soname/b.so -244: + grep -Fq 'Library soname: [foo]' -219: + ./mold -r -o out/test/elf/x86_64/relocatable-many-sections/c.o out/test/elf/x86_64/relocatable-many-sections/a.o out/test/elf/x86_64/relocatable-many-sections/b.o +247: + ar rcs out/test/elf/x86_64/start-stop-symbol/b.a out/test/elf/x86_64/start-stop-symbol/a.o +245: + grep -q 'Hello world' +245: + out/test/elf/x86_64/spare-program-headers/exe3 +245: ++ grep NULL +245: ++ readelf -Wl out/test/elf/x86_64/spare-program-headers/exe3 +245: ++ wc -l +247: + cc -c -o out/test/elf/x86_64/start-stop-symbol/c.o -xc - +247: + cat +187: + cp mold-wrapper.so out/test/elf/x86_64/mold-wrapper2/bin 246: + cat -246: + cc -o out/test/elf/x86_64/start-lib/c.o -c -xc - +248: + cc -B. -o out/test/elf/x86_64/start-stop/exe1 out/test/elf/x86_64/start-stop/a.o -Wl,--start-stop +245: + '[' 1 -eq 1 ']' +245: + cc -B. -o out/test/elf/x86_64/spare-program-headers/exe4 out/test/elf/x86_64/spare-program-headers/a.o -Wl,--spare-program-headers=5 249: + cat -249: + cc -o out/test/elf/x86_64/static-archive/c.o -c -xc - -244: + on_exit -244: + echo OK -244: OK -244: + exit 0 -240/357 Test #244: x86_64-soname .............................. Passed 0.19 sec +249: + cc -o out/test/elf/x86_64/static-archive/b.o -c -xc - +246: + cc -o out/test/elf/x86_64/start-lib/c.o -c -xc - +187: + out/test/elf/x86_64/mold-wrapper2/bin/mold -run bash -c 'echo $LD_PRELOAD' +187: + grep -q /bin/mold-wrapper.so +187: + on_exit +187: + echo OK +187: OK +187: + exit 0 +240/357 Test #187: x86_64-mold-wrapper2 ....................... Passed 1.65 sec test 252 Start 252: x86_64-strip-debug @@ -18259,13 +18306,7 @@ 252: MACHINE=x86_64 252: CPU= 252: Test timeout computed to be: 1500 -245: + out/test/elf/x86_64/spare-program-headers/exe2 -245: + grep -q 'Hello world' -245: ++ readelf -Wl out/test/elf/x86_64/spare-program-headers/exe2 -245: ++ grep NULL -245: ++ wc -l 252: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/strip-debug.sh -235: + ./mold -run out/test/elf/x86_64/run/sh out/test/elf/x86_64/run/ld.lld --version 252: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 252: ++ export LC_ALL=C 252: ++ LC_ALL=C @@ -18284,28 +18325,16 @@ 252: ++ tlsdesc_opt=-mtls-dialect=gnu2 252: ++ trap 'on_error $LINENO' ERR 252: ++ trap on_exit EXIT -235: + grep -q '[ms]old' +248: + grep -q __start_text +248: + readelf -sW out/test/elf/x86_64/start-stop/exe1 +248: + grep -q __stop_text +248: + readelf -sW out/test/elf/x86_64/start-stop/exe1 +248: + on_exit +248: + echo OK +248: OK +248: + exit 0 252: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/strip-debug.sh .sh -245: + '[' 0 -eq 0 ']' -245: + cc -B. -o out/test/elf/x86_64/spare-program-headers/exe3 out/test/elf/x86_64/spare-program-headers/a.o -Wl,--spare-program-headers=1 -252: ++ testname=strip-debug -252: ++ echo -n 'Testing strip-debug ... ' -252: Testing strip-debug ... ++ t=out/test/elf/x86_64/strip-debug -252: ++ mkdir -p out/test/elf/x86_64/strip-debug -252: + cat -235: + ./mold -run out/test/elf/x86_64/run/sh out/test/elf/x86_64/run/ld.gold --version -235: + grep -q '[ms]old' -252: + cc -o out/test/elf/x86_64/strip-debug/a.o -c -xc - -g -249: + rm -f out/test/elf/x86_64/static-archive/d.a -235: + ./mold -run out/test/elf/x86_64/run/sh out/test/elf/x86_64/run/foo.ld --version -235: + grep -q '[ms]old' -249: + cd out/test/elf/x86_64/static-archive -249: + ar rcs d.a long-long-long-filename.o b.o -235: + on_exit -235: + echo OK -235: OK -235: + exit 0 -241/357 Test #235: x86_64-run ................................. Passed 0.55 sec +241/357 Test #248: x86_64-start-stop .......................... Passed 0.30 sec test 253 Start 253: x86_64-strip @@ -18315,8 +18344,12 @@ 253: MACHINE=x86_64 253: CPU= 253: Test timeout computed to be: 1500 -245: + out/test/elf/x86_64/spare-program-headers/exe3 -245: + grep -q 'Hello world' +252: ++ testname=strip-debug +252: ++ echo -n 'Testing strip-debug ... ' +252: Testing strip-debug ... ++ t=out/test/elf/x86_64/strip-debug +252: ++ mkdir -p out/test/elf/x86_64/strip-debug +252: + cat +252: + cc -o out/test/elf/x86_64/strip-debug/a.o -c -xc - -g 253: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/strip.sh 253: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 253: ++ export LC_ALL=C @@ -18336,45 +18369,26 @@ 253: ++ tlsdesc_opt=-mtls-dialect=gnu2 253: ++ trap 'on_error $LINENO' ERR 253: ++ trap on_exit EXIT -245: ++ readelf -Wl out/test/elf/x86_64/spare-program-headers/exe3 -245: ++ grep NULL -245: ++ wc -l 253: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/strip.sh .sh 253: ++ testname=strip 253: ++ echo -n 'Testing strip ... ' 253: Testing strip ... ++ t=out/test/elf/x86_64/strip 253: ++ mkdir -p out/test/elf/x86_64/strip -245: + '[' 1 -eq 1 ']' -245: + cc -B. -o out/test/elf/x86_64/spare-program-headers/exe4 out/test/elf/x86_64/spare-program-headers/a.o -Wl,--spare-program-headers=5 253: + cat 253: + cc -x assembler -c -o out/test/elf/x86_64/strip/a.o -Wa,-L - -247: + cc -B. -o out/test/elf/x86_64/start-stop-symbol/exe out/test/elf/x86_64/start-stop-symbol/c.o out/test/elf/x86_64/start-stop-symbol/b.a -246: + cc -B. -o out/test/elf/x86_64/start-lib/exe -Wl,-start-lib out/test/elf/x86_64/start-lib/a.o -Wl,-end-lib out/test/elf/x86_64/start-lib/b.o out/test/elf/x86_64/start-lib/c.o 253: + ./mold -o out/test/elf/x86_64/strip/exe out/test/elf/x86_64/strip/a.o -253: + readelf --symbols out/test/elf/x86_64/strip/exe -253: + grep -Fq _start out/test/elf/x86_64/strip/log -253: + grep -Fq foo out/test/elf/x86_64/strip/log -245: + out/test/elf/x86_64/spare-program-headers/exe4 -253: + grep -Fq bar out/test/elf/x86_64/strip/log -253: + '[' x86_64 '!=' riscv32 ']' -253: + '[' x86_64 '!=' riscv64 ']' -253: + grep -Fq .L.baz out/test/elf/x86_64/strip/log -251: + cc -B. -Wl,-build-id=sha1 out/test/elf/x86_64/stdout/a.o -o - 245: + grep -q 'Hello world' -249: + cc -B. -Wl,--trace -o out/test/elf/x86_64/static-archive/exe out/test/elf/x86_64/static-archive/c.o out/test/elf/x86_64/static-archive/d.a -253: + ./mold -o out/test/elf/x86_64/strip/exe out/test/elf/x86_64/strip/a.o -strip-all -245: ++ wc -l -245: ++ readelf -Wl out/test/elf/x86_64/spare-program-headers/exe4 +245: + out/test/elf/x86_64/spare-program-headers/exe4 245: ++ grep NULL -247: + out/test/elf/x86_64/start-stop-symbol/exe -247: + grep -q 'section foo section foo' -246: + nm out/test/elf/x86_64/start-lib/exe +245: ++ readelf -Wl out/test/elf/x86_64/spare-program-headers/exe4 +245: ++ wc -l +182: + readelf -WS out/test/elf/x86_64/many-sections2/b.o 245: + '[' 5 -eq 5 ']' 245: + on_exit 245: + echo OK 245: OK 245: + exit 0 -242/357 Test #245: x86_64-spare-program-headers ............... Passed 0.26 sec +242/357 Test #245: x86_64-spare-program-headers ............... Passed 0.51 sec test 254 Start 254: x86_64-symbol-rank @@ -18384,36 +18398,8 @@ 254: MACHINE=x86_64 254: CPU= 254: Test timeout computed to be: 1500 -247: + cc -B. -o out/test/elf/x86_64/start-stop-symbol/exe out/test/elf/x86_64/start-stop-symbol/c.o out/test/elf/x86_64/start-stop-symbol/b.a -Wl,-gc-sections -182: + grep -Fq 'GLOBAL DEFAULT 100000' out/test/elf/x86_64/many-sections2/log2 -253: + readelf --symbols out/test/elf/x86_64/strip/exe -246: + grep -q ' foo$' out/test/elf/x86_64/start-lib/log -253: + grep -Fq _start out/test/elf/x86_64/strip/log -246: + grep -q ' bar$' out/test/elf/x86_64/start-lib/log -253: + grep -Fq foo out/test/elf/x86_64/strip/log -246: + on_exit -246: + echo OK -246: OK -246: + exit 0 -243/357 Test #246: x86_64-start-lib ........................... Passed 0.25 sec -test 255 - Start 255: x86_64-symbol-version-lto - -255: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/symbol-version-lto.sh" -255: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -255: Environment variables: -255: MACHINE=x86_64 -255: CPU= -255: Test timeout computed to be: 1500 -253: + grep -Fq bar out/test/elf/x86_64/strip/log -253: + '[' x86_64 '!=' riscv32 ']' -253: + '[' x86_64 '!=' riscv64 ']' -253: + grep -Fq .L.baz out/test/elf/x86_64/strip/log -253: + on_exit -253: + echo OK -253: OK -253: + exit 0 254: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/symbol-rank.sh +253: + readelf --symbols out/test/elf/x86_64/strip/exe 254: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 254: ++ export LC_ALL=C 254: ++ LC_ALL=C @@ -18437,19 +18423,46 @@ 254: ++ echo -n 'Testing symbol-rank ... ' 254: Testing symbol-rank ... ++ t=out/test/elf/x86_64/symbol-rank 254: ++ mkdir -p out/test/elf/x86_64/symbol-rank -244/357 Test #253: x86_64-strip ............................... Passed 0.07 sec -test 256 - Start 256: x86_64-symbol-version - -256: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/symbol-version.sh" -256: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -256: Environment variables: -256: MACHINE=x86_64 -256: CPU= -256: Test timeout computed to be: 1500 -254: + cat +253: + grep -Fq _start out/test/elf/x86_64/strip/log +253: + grep -Fq foo out/test/elf/x86_64/strip/log 254: + cc -o out/test/elf/x86_64/symbol-rank/a.o -c -xc - +254: + cat +253: + grep -Fq bar out/test/elf/x86_64/strip/log +253: + '[' x86_64 '!=' riscv32 ']' +253: + '[' x86_64 '!=' riscv64 ']' +253: + grep -Fq .L.baz out/test/elf/x86_64/strip/log +253: + ./mold -o out/test/elf/x86_64/strip/exe out/test/elf/x86_64/strip/a.o -strip-all +253: + readelf --symbols out/test/elf/x86_64/strip/exe +253: + grep -Fq _start out/test/elf/x86_64/strip/log +251: + cc -B. -Wl,-build-id=sha1 out/test/elf/x86_64/stdout/a.o -o - +253: + grep -Fq foo out/test/elf/x86_64/strip/log +253: + grep -Fq bar out/test/elf/x86_64/strip/log +253: + '[' x86_64 '!=' riscv32 ']' +253: + '[' x86_64 '!=' riscv64 ']' +253: + grep -Fq .L.baz out/test/elf/x86_64/strip/log +253: + on_exit +253: + echo OK +253: OK +253: + exit 0 +243/357 Test #253: x86_64-strip ............................... Passed 0.18 sec +test 255 + Start 255: x86_64-symbol-version-lto + +255: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/symbol-version-lto.sh" +255: Working Directory: /build/reproducible-path/mold-2.30.0+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/elf/x86_64/start-lib/exe -Wl,-start-lib out/test/elf/x86_64/start-lib/a.o -Wl,-end-lib out/test/elf/x86_64/start-lib/b.o out/test/elf/x86_64/start-lib/c.o +252: + cc -B. -o out/test/elf/x86_64/strip-debug/exe out/test/elf/x86_64/strip-debug/a.o -Wl,--strip-debug +247: + cc -B. -o out/test/elf/x86_64/start-stop-symbol/exe out/test/elf/x86_64/start-stop-symbol/c.o out/test/elf/x86_64/start-stop-symbol/b.a +254: + cc -o out/test/elf/x86_64/symbol-rank/b.o -c -xc - -fcommon 255: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/symbol-version-lto.sh +249: + cc -o out/test/elf/x86_64/static-archive/c.o -c -xc - +242: + cc -B. -o out/test/elf/x86_64/shuffle-sections-seed/exe1 out/test/elf/x86_64/shuffle-sections-seed/a.o out/test/elf/x86_64/shuffle-sections-seed/b.o +249: + cat +254: + cat 255: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 255: ++ export LC_ALL=C 255: ++ LC_ALL=C @@ -18468,74 +18481,91 @@ 255: ++ tlsdesc_opt=-mtls-dialect=gnu2 255: ++ trap 'on_error $LINENO' ERR 255: ++ trap on_exit EXIT +255: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/symbol-version-lto.sh .sh +243: + cc -B. -o out/test/elf/x86_64/shuffle-sections/exe1 out/test/elf/x86_64/shuffle-sections/a.o out/test/elf/x86_64/shuffle-sections/b.o +255: ++ testname=symbol-version-lto +255: ++ echo -n 'Testing symbol-version-lto ... ' +255: Testing symbol-version-lto ... ++ t=out/test/elf/x86_64/symbol-version-lto +255: ++ mkdir -p out/test/elf/x86_64/symbol-version-lto +246: + nm out/test/elf/x86_64/start-lib/exe +250: + cat +255: + cat +255: + cc -fPIC -c -o out/test/elf/x86_64/symbol-version-lto/a.o -xc - -flto +246: + grep -q ' foo$' out/test/elf/x86_64/start-lib/log +251: + chmod 755 out/test/elf/x86_64/stdout/exe +250: + cc -o out/test/elf/x86_64/static-pie/a.o -c -xc - -fPIE +246: + grep -q ' bar$' out/test/elf/x86_64/start-lib/log +246: + on_exit +246: + echo OK +246: OK +246: + exit 0 +249: + rm -f out/test/elf/x86_64/static-archive/d.a +252: + readelf -W --sections out/test/elf/x86_64/strip-debug/exe +244/357 Test #246: x86_64-start-lib ........................... Passed 0.60 sec +test 256 + Start 256: x86_64-symbol-version + +256: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/symbol-version.sh" +256: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +256: Environment variables: +256: MACHINE=x86_64 +256: CPU= +256: Test timeout computed to be: 1500 +252: + grep -Fq .debug_info out/test/elf/x86_64/strip-debug/log +251: + out/test/elf/x86_64/stdout/exe +251: + grep -q 'Hello world' +251: + on_exit +251: + echo OK +251: OK +251: + exit 0 +254: + cc -o out/test/elf/x86_64/symbol-rank/c.o -c -xc - +254: + cat +247: + out/test/elf/x86_64/start-stop-symbol/exe +247: + grep -q 'section foo section foo' +247: + cc -B. -o out/test/elf/x86_64/start-stop-symbol/exe out/test/elf/x86_64/start-stop-symbol/c.o out/test/elf/x86_64/start-stop-symbol/b.a -Wl,-gc-sections +249: + cd out/test/elf/x86_64/static-archive +249: + ar rcs d.a long-long-long-filename.o b.o +245/357 Test #251: x86_64-stdout .............................. Passed 0.38 sec +test 257 + Start 257: x86_64-symbol-version2 + +257: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/symbol-version2.sh" +257: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +257: Environment variables: +257: MACHINE=x86_64 +257: CPU= +257: Test timeout computed to be: 1500 256: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/symbol-version.sh 256: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 256: ++ export LC_ALL=C 256: ++ LC_ALL=C 256: ++ '[' -z x86_64 ']' -255: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/symbol-version-lto.sh .sh 256: ++ '[' -z '' ']' 256: ++ TESTDIR=out/test/elf/x86_64 256: ++ CC=cc 256: ++ CXX=c++ -182: + grep -Fq 'ABS foo' out/test/elf/x86_64/many-sections2/log2 256: ++ GCC=gcc 256: ++ GXX=g++ 256: ++ OBJDUMP=objdump 256: ++ OBJCOPY=objcopy -255: ++ testname=symbol-version-lto -255: ++ echo -n 'Testing symbol-version-lto ... ' -255: Testing symbol-version-lto ... ++ t=out/test/elf/x86_64/symbol-version-lto -255: ++ mkdir -p out/test/elf/x86_64/symbol-version-lto 256: ++ STRIP=strip 256: ++ QEMU= 256: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 256: ++ tlsdesc_opt=-mtls-dialect=gnu2 256: ++ trap 'on_error $LINENO' ERR 256: ++ trap on_exit EXIT -242: + cc -B. -o out/test/elf/x86_64/shuffle-sections-seed/exe1 out/test/elf/x86_64/shuffle-sections-seed/a.o out/test/elf/x86_64/shuffle-sections-seed/b.o -255: + cat -182: + grep -Fq 'ABS x68966' out/test/elf/x86_64/many-sections2/log2 -255: + cc -fPIC -c -o out/test/elf/x86_64/symbol-version-lto/a.o -xc - -flto 256: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/symbol-version.sh .sh -251: + chmod 755 out/test/elf/x86_64/stdout/exe -247: + out/test/elf/x86_64/start-stop-symbol/exe 256: ++ testname=symbol-version 256: ++ echo -n 'Testing symbol-version ... ' -247: + grep -q 'section foo section foo' 256: Testing symbol-version ... ++ t=out/test/elf/x86_64/symbol-version 256: ++ mkdir -p out/test/elf/x86_64/symbol-version -247: + on_exit -247: + echo OK -247: OK -247: + exit 0 -249: + grep -Fq 'static-archive/d.a(long-long-long-filename.o)' out/test/elf/x86_64/static-archive/log -245/357 Test #247: x86_64-start-stop-symbol ................... Passed 0.27 sec -test 257 - Start 257: x86_64-symbol-version2 - -257: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/symbol-version2.sh" -257: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -257: Environment variables: -257: MACHINE=x86_64 -257: CPU= -257: Test timeout computed to be: 1500 -251: + out/test/elf/x86_64/stdout/exe -251: + grep -q 'Hello world' -249: + grep -Fq 'static-archive/d.a(b.o)' out/test/elf/x86_64/static-archive/log -256: + cat -256: + cc -fPIC -c -o out/test/elf/x86_64/symbol-version/a.o -xc - -182: + on_exit -182: + echo OK -182: OK -182: + exit 0 -249: + grep -Fq static-archive/c.o out/test/elf/x86_64/static-archive/log -252: + cc -B. -o out/test/elf/x86_64/strip-debug/exe out/test/elf/x86_64/strip-debug/a.o -Wl,--strip-debug -251: + on_exit -251: + echo OK -251: OK -251: + exit 0 -246/357 Test #182: x86_64-many-sections2 ...................... Passed 2.60 sec +252: + readelf -W --symbols out/test/elf/x86_64/strip-debug/exe +252: + grep -q ' bar' +252: + on_exit +252: + echo OK +252: OK +252: + exit 0 +246/357 Test #252: x86_64-strip-debug ......................... Passed 0.31 sec test 258 Start 258: x86_64-symbol-version3 @@ -18545,24 +18575,8 @@ 258: MACHINE=x86_64 258: CPU= 258: Test timeout computed to be: 1500 -247/357 Test #251: x86_64-stdout .............................. Passed 0.18 sec -test 259 - Start 259: x86_64-symtab-dso - -259: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/symtab-dso.sh" -259: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -259: Environment variables: -259: MACHINE=x86_64 -259: CPU= -259: Test timeout computed to be: 1500 -249: + out/test/elf/x86_64/static-archive/exe -249: + grep -q 8 -249: + on_exit -249: + echo OK -249: OK -249: + exit 0 -250: + cat -250: + cc -o out/test/elf/x86_64/static-pie/a.o -c -xc - -fPIE +256: + cat +256: + cc -fPIC -c -o out/test/elf/x86_64/symbol-version/a.o -xc - 257: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/symbol-version2.sh 257: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 257: ++ export LC_ALL=C @@ -18587,13 +18601,12 @@ 257: ++ echo -n 'Testing symbol-version2 ... ' 257: Testing symbol-version2 ... ++ t=out/test/elf/x86_64/symbol-version2 257: ++ mkdir -p out/test/elf/x86_64/symbol-version2 -254: + cat -254: + cc -o out/test/elf/x86_64/symbol-rank/b.o -c -xc - -fcommon -255: + echo 'VER1 { foo; };' -255: + cc -B. -shared -o out/test/elf/x86_64/symbol-version-lto/c.so out/test/elf/x86_64/symbol-version-lto/a.o -Wl,--version-script=out/test/elf/x86_64/symbol-version-lto/b.ver -flto 242: + out/test/elf/x86_64/shuffle-sections-seed/exe1 242: + grep -q 'Hello world' 242: + cc -B. -o out/test/elf/x86_64/shuffle-sections-seed/exe2 out/test/elf/x86_64/shuffle-sections-seed/a.o out/test/elf/x86_64/shuffle-sections-seed/b.o -Wl,-shuffle-sections=42 +219: + cc -B. -o out/test/elf/x86_64/relocatable-many-sections/exe out/test/elf/x86_64/relocatable-many-sections/c.o +257: + cat +257: + cc -o out/test/elf/x86_64/symbol-version2/a.o -c -xc - 258: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/symbol-version3.sh 258: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 258: ++ export LC_ALL=C @@ -18614,23 +18627,33 @@ 258: ++ trap 'on_error $LINENO' ERR 258: ++ trap on_exit EXIT 258: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/symbol-version3.sh .sh -248/357 Test #249: x86_64-static-archive ...................... Passed 0.27 sec -test 260 - Start 260: x86_64-symtab-section-symbols - -260: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/symtab-section-symbols.sh" -260: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -260: Environment variables: -260: MACHINE=x86_64 -260: CPU= -260: Test timeout computed to be: 1500 -257: + cat -257: + cc -o out/test/elf/x86_64/symbol-version2/a.o -c -xc - 258: ++ testname=symbol-version3 258: ++ echo -n 'Testing symbol-version3 ... ' 258: Testing symbol-version3 ... ++ t=out/test/elf/x86_64/symbol-version3 258: ++ mkdir -p out/test/elf/x86_64/symbol-version3 +182: + grep -Fq .data.100000 out/test/elf/x86_64/many-sections2/log1 +243: + out/test/elf/x86_64/shuffle-sections/exe1 +243: + grep -q 'Hello world' 258: + cat +258: + cc -o out/test/elf/x86_64/symbol-version3/a.o -c -xc - +243: + cc -B. -o out/test/elf/x86_64/shuffle-sections/exe2 out/test/elf/x86_64/shuffle-sections/a.o out/test/elf/x86_64/shuffle-sections/b.o -Wl,-shuffle-sections +182: + readelf -Ws out/test/elf/x86_64/many-sections2/b.o +247: + out/test/elf/x86_64/start-stop-symbol/exe +247: + grep -q 'section foo section foo' +247: + on_exit +247: + echo OK +247: OK +247: + exit 0 +247/357 Test #247: x86_64-start-stop-symbol ................... Passed 0.63 sec +test 259 + Start 259: x86_64-symtab-dso + +259: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/symtab-dso.sh" +259: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +259: Environment variables: +259: MACHINE=x86_64 +259: CPU= +259: Test timeout computed to be: 1500 259: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/symtab-dso.sh 259: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 259: ++ export LC_ALL=C @@ -18651,12 +18674,33 @@ 259: ++ trap 'on_error $LINENO' ERR 259: ++ trap on_exit EXIT 259: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/symtab-dso.sh .sh -260: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/symtab-section-symbols.sh -258: + cc -o out/test/elf/x86_64/symbol-version3/a.o -c -xc - 259: ++ testname=symtab-dso 259: ++ echo -n 'Testing symtab-dso ... ' 259: Testing symtab-dso ... ++ t=out/test/elf/x86_64/symtab-dso 259: ++ mkdir -p out/test/elf/x86_64/symtab-dso +242: + out/test/elf/x86_64/shuffle-sections-seed/exe2 +242: + grep -q 'Hello world' +259: + cat +259: + cc -o out/test/elf/x86_64/symtab-dso/a.o -c -xc - +242: + cc -B. -o out/test/elf/x86_64/shuffle-sections-seed/exe3 out/test/elf/x86_64/shuffle-sections-seed/a.o out/test/elf/x86_64/shuffle-sections-seed/b.o -Wl,-shuffle-sections=42 +243: + out/test/elf/x86_64/shuffle-sections/exe2 +243: + grep -q 'Hello world' +243: + diff out/test/elf/x86_64/shuffle-sections/exe1 out/test/elf/x86_64/shuffle-sections/exe2 +243: + on_exit +243: + echo OK +243: OK +243: + exit 0 +248/357 Test #243: x86_64-shuffle-sections .................... Passed 0.82 sec +test 260 + Start 260: x86_64-symtab-section-symbols + +260: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/symtab-section-symbols.sh" +260: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +260: Environment variables: +260: MACHINE=x86_64 +260: CPU= +260: Test timeout computed to be: 1500 +260: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/symtab-section-symbols.sh 260: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 260: ++ export LC_ALL=C 260: ++ LC_ALL=C @@ -18675,25 +18719,23 @@ 260: ++ tlsdesc_opt=-mtls-dialect=gnu2 260: ++ trap 'on_error $LINENO' ERR 260: ++ trap on_exit EXIT -252: + readelf -W --sections out/test/elf/x86_64/strip-debug/exe -259: + cat 260: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/symtab-section-symbols.sh .sh -259: + cc -o out/test/elf/x86_64/symtab-dso/a.o -c -xc - 260: ++ testname=symtab-section-symbols 260: ++ echo -n 'Testing symtab-section-symbols ... ' 260: Testing symtab-section-symbols ... ++ t=out/test/elf/x86_64/symtab-section-symbols 260: ++ mkdir -p out/test/elf/x86_64/symtab-section-symbols -252: + grep -Fq .debug_info out/test/elf/x86_64/strip-debug/log 260: + cat 260: + cc -o out/test/elf/x86_64/symtab-section-symbols/a.o -c -xc - -255: mold: warning: out/test/elf/x86_64/symbol-version-lto/b.ver: cannot assign version `VER1` to symbol `foo`: symbol not found -252: + readelf -W --symbols out/test/elf/x86_64/strip-debug/exe -252: + grep -q ' bar' -252: + on_exit -252: + echo OK -252: OK -252: + exit 0 -249/357 Test #252: x86_64-strip-debug ......................... Passed 0.18 sec +242: + out/test/elf/x86_64/shuffle-sections-seed/exe3 +242: + grep -q 'Hello world' +242: + cc -B. -o out/test/elf/x86_64/shuffle-sections-seed/exe4 out/test/elf/x86_64/shuffle-sections-seed/a.o out/test/elf/x86_64/shuffle-sections-seed/b.o -Wl,-shuffle-sections=5 +219: + out/test/elf/x86_64/relocatable-many-sections/exe +219: + grep -q Hello +219: + on_exit +219: + echo OK +219: OK +219: + exit 0 +249/357 Test #219: x86_64-relocatable-many-sections ........... Passed 1.49 sec test 261 Start 261: x86_64-symtab @@ -18723,44 +18765,24 @@ 261: ++ trap 'on_error $LINENO' ERR 261: ++ trap on_exit EXIT 261: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/symtab.sh .sh -242: + out/test/elf/x86_64/shuffle-sections-seed/exe2 -242: + grep -q 'Hello world' 261: ++ testname=symtab 261: ++ echo -n 'Testing symtab ... ' 261: Testing symtab ... ++ t=out/test/elf/x86_64/symtab 261: ++ mkdir -p out/test/elf/x86_64/symtab -242: + cc -B. -o out/test/elf/x86_64/shuffle-sections-seed/exe3 out/test/elf/x86_64/shuffle-sections-seed/a.o out/test/elf/x86_64/shuffle-sections-seed/b.o -Wl,-shuffle-sections=42 261: + cat -254: + cc -o out/test/elf/x86_64/symbol-rank/c.o -c -xc - 261: + cc -o out/test/elf/x86_64/symtab/a.o -c -x assembler - -254: + cat -256: + echo 'VER1 { local: *; }; VER2 { local: *; }; VER3 { local: *; };' -256: + cc -B. -shared -o out/test/elf/x86_64/symbol-version/c.so out/test/elf/x86_64/symbol-version/a.o -Wl,--version-script=out/test/elf/x86_64/symbol-version/b.ver +242: + out/test/elf/x86_64/shuffle-sections-seed/exe4 +242: + grep -q 'Hello world' +242: + diff out/test/elf/x86_64/shuffle-sections-seed/exe1 out/test/elf/x86_64/shuffle-sections-seed/exe2 +242: + diff out/test/elf/x86_64/shuffle-sections-seed/exe2 out/test/elf/x86_64/shuffle-sections-seed/exe3 261: + cat 261: + cc -o out/test/elf/x86_64/symtab/b.o -c -x assembler - -261: + echo '{ local: module_local; global: *; };' -261: + ./mold -o out/test/elf/x86_64/symtab/exe out/test/elf/x86_64/symtab/a.o out/test/elf/x86_64/symtab/b.o --version-script=out/test/elf/x86_64/symtab/c.map -260: + cc -B. -o out/test/elf/x86_64/symtab-section-symbols/exe out/test/elf/x86_64/symtab-section-symbols/a.o -259: + cc -B. -o out/test/elf/x86_64/symtab-dso/exe out/test/elf/x86_64/symtab-dso/a.o -261: + readelf --symbols out/test/elf/x86_64/symtab/exe -261: + grep -Eq '0 NOTYPE LOCAL DEFAULT .* local1' out/test/elf/x86_64/symtab/log -261: + grep -Eq '0 NOTYPE LOCAL DEFAULT .* local2' out/test/elf/x86_64/symtab/log -261: + grep -Eq '0 NOTYPE LOCAL DEFAULT .* module_local' out/test/elf/x86_64/symtab/log -242: + grep -q 'Hello world' -242: + out/test/elf/x86_64/shuffle-sections-seed/exe3 -256: + readelf --symbols out/test/elf/x86_64/symbol-version/c.so -261: + grep -Eq '0 NOTYPE GLOBAL DEFAULT .* foo' out/test/elf/x86_64/symtab/log -242: + cc -B. -o out/test/elf/x86_64/shuffle-sections-seed/exe4 out/test/elf/x86_64/shuffle-sections-seed/a.o out/test/elf/x86_64/shuffle-sections-seed/b.o -Wl,-shuffle-sections=5 -256: + grep -Fq foo@VER1 out/test/elf/x86_64/symbol-version/log -261: + grep -Eq '0 NOTYPE GLOBAL DEFAULT .* bar' out/test/elf/x86_64/symtab/log -250: + cc -B. -o out/test/elf/x86_64/static-pie/exe1 out/test/elf/x86_64/static-pie/a.o -static-pie -261: + grep -Eq '0 NOTYPE GLOBAL DEFAULT .* this_is_global' out/test/elf/x86_64/symtab/log -256: + grep -Fq foo@VER2 out/test/elf/x86_64/symbol-version/log -261: + on_exit -261: + echo OK -261: OK -261: + exit 0 -250/357 Test #261: x86_64-symtab .............................. Passed 0.06 sec +242: + diff out/test/elf/x86_64/shuffle-sections-seed/exe3 out/test/elf/x86_64/shuffle-sections-seed/exe4 +242: + on_exit +242: + echo OK +242: OK +242: + exit 0 +250/357 Test #242: x86_64-shuffle-sections-seed ............... Passed 0.88 sec test 262 Start 262: x86_64-synthetic-symbols @@ -18770,53 +18792,8 @@ 262: MACHINE=x86_64 262: CPU= 262: Test timeout computed to be: 1500 -256: + grep -Fq foo@@VER3 out/test/elf/x86_64/symbol-version/log -256: + on_exit -256: + echo OK -256: OK -256: + exit 0 -259: + nm out/test/elf/x86_64/symtab-dso/exe -259: + grep -q 'U puts$' -259: + on_exit -259: + echo OK -259: OK -259: + exit 0 -260: + readelf -s out/test/elf/x86_64/symtab-section-symbols/exe -260: + grep -q 'SECTION LOCAL DEFAULT' -260: + on_exit -260: + echo OK -260: OK -260: + exit 0 -251/357 Test #256: x86_64-symbol-version ...................... Passed 0.15 sec -test 263 - Start 263: x86_64-sysroot-linker-script - -263: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/sysroot-linker-script.sh" -263: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -263: Environment variables: -263: MACHINE=x86_64 -263: CPU= -263: Test timeout computed to be: 1500 -252/357 Test #259: x86_64-symtab-dso .......................... Passed 0.10 sec -test 264 - Start 264: x86_64-sysroot - -264: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/sysroot.sh" -264: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -264: Environment variables: -264: MACHINE=x86_64 -264: CPU= -264: Test timeout computed to be: 1500 -253/357 Test #260: x86_64-symtab-section-symbols .............. Passed 0.10 sec -test 265 - Start 265: x86_64-sysroot2 - -265: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/sysroot2.sh" -265: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -265: Environment variables: -265: MACHINE=x86_64 -265: CPU= -265: Test timeout computed to be: 1500 +261: + echo '{ local: module_local; global: *; };' +261: + ./mold -o out/test/elf/x86_64/symtab/exe out/test/elf/x86_64/symtab/a.o out/test/elf/x86_64/symtab/b.o --version-script=out/test/elf/x86_64/symtab/c.map 262: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/synthetic-symbols.sh 262: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 262: ++ export LC_ALL=C @@ -18843,6 +18820,27 @@ 262: ++ mkdir -p out/test/elf/x86_64/synthetic-symbols 262: + cat 262: + cc -c -o out/test/elf/x86_64/synthetic-symbols/a.o -xc - +261: + readelf --symbols out/test/elf/x86_64/symtab/exe +261: + grep -Eq '0 NOTYPE LOCAL DEFAULT .* local1' out/test/elf/x86_64/symtab/log +261: + grep -Eq '0 NOTYPE LOCAL DEFAULT .* local2' out/test/elf/x86_64/symtab/log +261: + grep -Eq '0 NOTYPE LOCAL DEFAULT .* module_local' out/test/elf/x86_64/symtab/log +261: + grep -Eq '0 NOTYPE GLOBAL DEFAULT .* foo' out/test/elf/x86_64/symtab/log +261: + grep -Eq '0 NOTYPE GLOBAL DEFAULT .* bar' out/test/elf/x86_64/symtab/log +261: + grep -Eq '0 NOTYPE GLOBAL DEFAULT .* this_is_global' out/test/elf/x86_64/symtab/log +261: + on_exit +261: + echo OK +261: OK +261: + exit 0 +251/357 Test #261: x86_64-symtab .............................. Passed 0.04 sec +test 263 + Start 263: x86_64-sysroot-linker-script + +263: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/sysroot-linker-script.sh" +263: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +263: Environment variables: +263: MACHINE=x86_64 +263: CPU= +263: Test timeout computed to be: 1500 263: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/sysroot-linker-script.sh 263: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 263: ++ export LC_ALL=C @@ -18867,6 +18865,94 @@ 263: ++ echo -n 'Testing sysroot-linker-script ... ' 263: Testing sysroot-linker-script ... ++ t=out/test/elf/x86_64/sysroot-linker-script 263: ++ mkdir -p out/test/elf/x86_64/sysroot-linker-script +263: + [[ x86_64 = loongarch* ]] +263: + cat +263: + cc -o out/test/elf/x86_64/sysroot-linker-script/a.o -c -xc - +249: + cc -B. -Wl,--trace -o out/test/elf/x86_64/static-archive/exe out/test/elf/x86_64/static-archive/c.o out/test/elf/x86_64/static-archive/d.a +250: + cc -B. -o out/test/elf/x86_64/static-pie/exe1 out/test/elf/x86_64/static-pie/a.o -static-pie +256: + echo 'VER1 { local: *; }; VER2 { local: *; }; VER3 { local: *; };' +256: + cc -B. -shared -o out/test/elf/x86_64/symbol-version/c.so out/test/elf/x86_64/symbol-version/a.o -Wl,--version-script=out/test/elf/x86_64/symbol-version/b.ver +254: + cat +254: + cc -o out/test/elf/x86_64/symbol-rank/d.o -c -xc - -fcommon +260: + cc -B. -o out/test/elf/x86_64/symtab-section-symbols/exe out/test/elf/x86_64/symtab-section-symbols/a.o +259: + cc -B. -o out/test/elf/x86_64/symtab-dso/exe out/test/elf/x86_64/symtab-dso/a.o +255: + echo 'VER1 { foo; };' +255: + cc -B. -shared -o out/test/elf/x86_64/symbol-version-lto/c.so out/test/elf/x86_64/symbol-version-lto/a.o -Wl,--version-script=out/test/elf/x86_64/symbol-version-lto/b.ver -flto +262: + cat +262: + cc -c -o out/test/elf/x86_64/synthetic-symbols/b.o -xc - +182: + grep -Fq 'GLOBAL DEFAULT 100000' out/test/elf/x86_64/many-sections2/log2 +249: + grep -Fq 'static-archive/d.a(long-long-long-filename.o)' out/test/elf/x86_64/static-archive/log +255: mold: warning: out/test/elf/x86_64/symbol-version-lto/b.ver: cannot assign version `VER1` to symbol `foo`: symbol not found +182: + grep -Fq 'ABS foo' out/test/elf/x86_64/many-sections2/log2 +249: + grep -Fq 'static-archive/d.a(b.o)' out/test/elf/x86_64/static-archive/log +260: + readelf -s out/test/elf/x86_64/symtab-section-symbols/exe +260: + grep -q 'SECTION LOCAL DEFAULT' +249: + grep -Fq static-archive/c.o out/test/elf/x86_64/static-archive/log +256: + readelf --symbols out/test/elf/x86_64/symbol-version/c.so +259: + grep -q 'U puts$' +259: + nm out/test/elf/x86_64/symtab-dso/exe +249: + out/test/elf/x86_64/static-archive/exe +249: + grep -q 8 +260: + on_exit +249: + on_exit +249: + echo OK +249: OK +249: + exit 0 +260: + echo OK +260: OK +260: + exit 0 +256: + grep -Fq foo@VER1 out/test/elf/x86_64/symbol-version/log +182: + grep -Fq 'ABS x68966' out/test/elf/x86_64/many-sections2/log2 +252/357 Test #249: x86_64-static-archive ...................... Passed 0.64 sec +test 264 + Start 264: x86_64-sysroot + +264: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/sysroot.sh" +264: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +264: Environment variables: +264: MACHINE=x86_64 +264: CPU= +264: Test timeout computed to be: 1500 +253/357 Test #260: x86_64-symtab-section-symbols .............. Passed 0.17 sec +test 265 + Start 265: x86_64-sysroot2 + +265: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/sysroot2.sh" +265: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +265: Environment variables: +265: MACHINE=x86_64 +265: CPU= +265: Test timeout computed to be: 1500 +259: + on_exit +259: + echo OK +259: OK +259: + exit 0 +254/357 Test #259: x86_64-symtab-dso .......................... Passed 0.19 sec +test 266 + Start 266: x86_64-tail-call + +266: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/tail-call.sh" +266: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +266: Environment variables: +266: MACHINE=x86_64 +266: CPU= +266: Test timeout computed to be: 1500 +256: + grep -Fq foo@VER2 out/test/elf/x86_64/symbol-version/log +256: + grep -Fq foo@@VER3 out/test/elf/x86_64/symbol-version/log +256: + on_exit +256: + echo OK +256: OK +256: + exit 0 +255/357 Test #256: x86_64-symbol-version ...................... Passed 0.24 sec +test 267 + Start 267: x86_64-tbss-only + +267: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/tbss-only.sh" +267: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +267: Environment variables: +267: MACHINE=x86_64 +267: CPU= +267: Test timeout computed to be: 1500 264: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/sysroot.sh 264: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 264: ++ export LC_ALL=C @@ -18891,15 +18977,17 @@ 264: ++ echo -n 'Testing sysroot ... ' 264: Testing sysroot ... ++ t=out/test/elf/x86_64/sysroot 264: ++ mkdir -p out/test/elf/x86_64/sysroot +264: + [[ x86_64 = loongarch* ]] +264: + cat +264: + cc -c -o out/test/elf/x86_64/sysroot/a.o -xc - +250: + out/test/elf/x86_64/static-pie/exe1 +250: + grep -q 'Hello world' +250: + cc -B. -o out/test/elf/x86_64/static-pie/exe2 out/test/elf/x86_64/static-pie/a.o -static-pie -Wl,--no-relax 265: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/sysroot2.sh -263: + [[ x86_64 = loongarch* ]] 265: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc -263: + cat -263: + cc -o out/test/elf/x86_64/sysroot-linker-script/a.o -c -xc - 265: ++ export LC_ALL=C 265: ++ LC_ALL=C 265: ++ '[' -z x86_64 ']' -264: + [[ x86_64 = loongarch* ]] 265: ++ '[' -z '' ']' 265: ++ TESTDIR=out/test/elf/x86_64 265: ++ CC=cc @@ -18914,45 +19002,11 @@ 265: ++ tlsdesc_opt=-mtls-dialect=gnu2 265: ++ trap 'on_error $LINENO' ERR 265: ++ trap on_exit EXIT -257: + cat 265: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/sysroot2.sh .sh -243: + cc -B. -o out/test/elf/x86_64/shuffle-sections/exe1 out/test/elf/x86_64/shuffle-sections/a.o out/test/elf/x86_64/shuffle-sections/b.o -264: + cat -264: + cc -c -o out/test/elf/x86_64/sysroot/a.o -xc - -242: + grep -q 'Hello world' -242: + out/test/elf/x86_64/shuffle-sections-seed/exe4 -242: + diff out/test/elf/x86_64/shuffle-sections-seed/exe1 out/test/elf/x86_64/shuffle-sections-seed/exe2 -257: + cc -B. -o out/test/elf/x86_64/symbol-version2/c.so -shared out/test/elf/x86_64/symbol-version2/a.o -Wl,--version-script=out/test/elf/x86_64/symbol-version2/b.version -242: + diff out/test/elf/x86_64/shuffle-sections-seed/exe2 out/test/elf/x86_64/shuffle-sections-seed/exe3 -242: + diff out/test/elf/x86_64/shuffle-sections-seed/exe3 out/test/elf/x86_64/shuffle-sections-seed/exe4 265: ++ testname=sysroot2 265: ++ echo -n 'Testing sysroot2 ... ' 265: Testing sysroot2 ... ++ t=out/test/elf/x86_64/sysroot2 265: ++ mkdir -p out/test/elf/x86_64/sysroot2 -242: + on_exit -242: + echo OK -242: OK -242: + exit 0 -258: + cat -254/357 Test #242: x86_64-shuffle-sections-seed ............... Passed 0.59 sec -test 266 - Start 266: x86_64-tail-call - -266: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/tail-call.sh" -266: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -266: Environment variables: -266: MACHINE=x86_64 -266: CPU= -266: Test timeout computed to be: 1500 -265: + [[ x86_64 = loongarch* ]] -265: + mkdir -p out/test/elf/x86_64/sysroot2/bin out/test/elf/x86_64/sysroot2/sysroot/foo -265: + cat -265: + cat -254: + cat -254: + cc -o out/test/elf/x86_64/symbol-rank/d.o -c -xc - -fcommon -265: + cat -265: + cc -c -o out/test/elf/x86_64/sysroot2/sysroot/foo/x.o -xc - -258: + cc -B. -o out/test/elf/x86_64/symbol-version3/c.so -shared out/test/elf/x86_64/symbol-version3/a.o -Wl,--version-script=out/test/elf/x86_64/symbol-version3/b.version 266: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tail-call.sh 266: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 266: ++ export LC_ALL=C @@ -18973,52 +19027,16 @@ 266: ++ trap 'on_error $LINENO' ERR 266: ++ trap on_exit EXIT 266: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tail-call.sh .sh -257: + readelf -W --dyn-syms out/test/elf/x86_64/symbol-version2/c.so 266: ++ testname=tail-call 266: ++ echo -n 'Testing tail-call ... ' 266: Testing tail-call ... ++ t=out/test/elf/x86_64/tail-call 266: ++ mkdir -p out/test/elf/x86_64/tail-call -250: + out/test/elf/x86_64/static-pie/exe1 -250: + grep -q 'Hello world' -266: + cat -266: + cc -O2 -o out/test/elf/x86_64/tail-call/a.o -c -xc - -243: + out/test/elf/x86_64/shuffle-sections/exe1 -243: + grep -q 'Hello world' -250: + cc -B. -o out/test/elf/x86_64/static-pie/exe2 out/test/elf/x86_64/static-pie/a.o -static-pie -Wl,--no-relax -257: + grep -q ' foo@TEST' out/test/elf/x86_64/symbol-version2/log -243: + cc -B. -o out/test/elf/x86_64/shuffle-sections/exe2 out/test/elf/x86_64/shuffle-sections/a.o out/test/elf/x86_64/shuffle-sections/b.o -Wl,-shuffle-sections -257: + grep -q ' bar@TEST' out/test/elf/x86_64/symbol-version2/log -257: + grep -q ' bar1' out/test/elf/x86_64/symbol-version2/log -257: + grep -q ' foo@@TEST' out/test/elf/x86_64/symbol-version2/log -258: + readelf -W --dyn-syms out/test/elf/x86_64/symbol-version3/c.so -257: + on_exit -257: + echo OK -257: OK -257: + exit 0 -255/357 Test #257: x86_64-symbol-version2 ..................... Passed 0.20 sec -test 267 - Start 267: x86_64-tbss-only - -267: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/tbss-only.sh" -267: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -267: Environment variables: -267: MACHINE=x86_64 -267: CPU= -267: Test timeout computed to be: 1500 -258: + grep -q ' foo@@TEST1' out/test/elf/x86_64/symbol-version3/log -258: + grep -q ' foo@TEST2' out/test/elf/x86_64/symbol-version3/log -258: + grep -q ' foo@TEST3' out/test/elf/x86_64/symbol-version3/log -258: + grep -q ' foo$' out/test/elf/x86_64/symbol-version3/log 267: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tbss-only.sh -263: + mkdir -p out/test/elf/x86_64/sysroot-linker-script/foo/bar -264: + cc -c -o out/test/elf/x86_64/sysroot/b.o -xc - -263: + rm -f out/test/elf/x86_64/sysroot-linker-script/foo/bar/libfoo.a -258: + on_exit -258: + echo OK -258: OK -258: + exit 0 -267: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc -256/357 Test #258: x86_64-symbol-version3 ..................... Passed 0.20 sec +182: + on_exit +182: + echo OK +182: OK +182: + exit 0 +256/357 Test #182: x86_64-many-sections2 ...................... Passed 2.30 sec test 268 Start 268: x86_64-thin-archive @@ -19028,11 +19046,9 @@ 268: MACHINE=x86_64 268: CPU= 268: Test timeout computed to be: 1500 -265: + cc -c -o out/test/elf/x86_64/sysroot2/sysroot/foo/y.o -xc - -265: + cat -264: + cat +266: + cc -O2 -o out/test/elf/x86_64/tail-call/a.o -c -xc - 266: + cat -266: + cc -O2 -o out/test/elf/x86_64/tail-call/b.o -c -xc - +267: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 267: ++ export LC_ALL=C 267: ++ LC_ALL=C 267: ++ '[' -z x86_64 ']' @@ -19051,15 +19067,15 @@ 267: ++ trap 'on_error $LINENO' ERR 267: ++ trap on_exit EXIT 267: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tbss-only.sh .sh -262: + cc -c -o out/test/elf/x86_64/synthetic-symbols/b.o -xc - -262: + cat -263: + ar rcs out/test/elf/x86_64/sysroot-linker-script/foo/bar/libfoo.a out/test/elf/x86_64/sysroot-linker-script/a.o +265: + [[ x86_64 = loongarch* ]] +265: + mkdir -p out/test/elf/x86_64/sysroot2/bin out/test/elf/x86_64/sysroot2/sysroot/foo +265: + cat 267: ++ testname=tbss-only 267: ++ echo -n 'Testing tbss-only ... ' 267: Testing tbss-only ... ++ t=out/test/elf/x86_64/tbss-only 267: ++ mkdir -p out/test/elf/x86_64/tbss-only 268: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/thin-archive.sh -243: + out/test/elf/x86_64/shuffle-sections/exe2 +265: + cat 268: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 268: ++ export LC_ALL=C 268: ++ LC_ALL=C @@ -19078,21 +19094,24 @@ 268: ++ tlsdesc_opt=-mtls-dialect=gnu2 268: ++ trap 'on_error $LINENO' ERR 268: ++ trap on_exit EXIT -243: + grep -q 'Hello world' -267: + cc -o out/test/elf/x86_64/tbss-only/a.o -c -xc - 267: + cat -243: + diff out/test/elf/x86_64/shuffle-sections/exe1 out/test/elf/x86_64/shuffle-sections/exe2 +267: + cc -o out/test/elf/x86_64/tbss-only/a.o -c -xc - 268: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/thin-archive.sh .sh +265: + cat +265: + cc -c -o out/test/elf/x86_64/sysroot2/sysroot/foo/x.o -xc - 268: ++ testname=thin-archive 268: ++ echo -n 'Testing thin-archive ... ' 268: Testing thin-archive ... ++ t=out/test/elf/x86_64/thin-archive 268: ++ mkdir -p out/test/elf/x86_64/thin-archive -243: + on_exit -243: + echo OK -243: OK -243: + exit 0 268: + cat -257/357 Test #243: x86_64-shuffle-sections .................... Passed 0.61 sec +268: + cc -o out/test/elf/x86_64/thin-archive/long-long-long-filename.o -c -xc - +250: + out/test/elf/x86_64/static-pie/exe2 +250: + grep -q 'Hello world' +250: + on_exit +250: + echo OK +250: OK +250: + exit 0 +257/357 Test #250: x86_64-static-pie .......................... Passed 0.66 sec test 269 Start 269: x86_64-thread-count @@ -19102,7 +19121,6 @@ 269: MACHINE=x86_64 269: CPU= 269: Test timeout computed to be: 1500 -268: + cc -o out/test/elf/x86_64/thin-archive/long-long-long-filename.o -c -xc - 269: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/thread-count.sh 269: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 269: ++ export LC_ALL=C @@ -19129,13 +19147,49 @@ 269: ++ mkdir -p out/test/elf/x86_64/thread-count 269: + cat 269: + cc -o out/test/elf/x86_64/thread-count/a.o -c -xc - -250: + out/test/elf/x86_64/static-pie/exe2 -250: + grep -q 'Hello world' -250: + on_exit -250: + echo OK -250: OK -250: + exit 0 -258/357 Test #250: x86_64-static-pie .......................... Passed 0.47 sec +263: + mkdir -p out/test/elf/x86_64/sysroot-linker-script/foo/bar +263: + rm -f out/test/elf/x86_64/sysroot-linker-script/foo/bar/libfoo.a +257: + cat +263: + ar rcs out/test/elf/x86_64/sysroot-linker-script/foo/bar/libfoo.a out/test/elf/x86_64/sysroot-linker-script/a.o +258: + cat +257: + cc -B. -o out/test/elf/x86_64/symbol-version2/c.so -shared out/test/elf/x86_64/symbol-version2/a.o -Wl,--version-script=out/test/elf/x86_64/symbol-version2/b.version +258: + cc -B. -o out/test/elf/x86_64/symbol-version3/c.so -shared out/test/elf/x86_64/symbol-version3/a.o -Wl,--version-script=out/test/elf/x86_64/symbol-version3/b.version +254: + rm -f out/test/elf/x86_64/symbol-rank/x.a +254: + ar rcs out/test/elf/x86_64/symbol-rank/x.a out/test/elf/x86_64/symbol-rank/a.o out/test/elf/x86_64/symbol-rank/b.o out/test/elf/x86_64/symbol-rank/c.o +263: + cat +268: + cat +264: + cat +264: + cc -c -o out/test/elf/x86_64/sysroot/b.o -xc - +266: + cc -O2 -o out/test/elf/x86_64/tail-call/b.o -c -xc - +266: + cat +268: + cc -o out/test/elf/x86_64/thin-archive/b.o -c -xc - +263: + cat +263: + cc -o out/test/elf/x86_64/sysroot-linker-script/c.o -c -xc - +262: + cc -B. -no-pie -Wl,--image-base=0x40000 -o out/test/elf/x86_64/synthetic-symbols/exe out/test/elf/x86_64/synthetic-symbols/a.o out/test/elf/x86_64/synthetic-symbols/b.o +269: + cc -B. -o out/test/elf/x86_64/thread-count/exe out/test/elf/x86_64/thread-count/a.o -Wl,-no-threads +254: + cc -B. -o out/test/elf/x86_64/symbol-rank/exe out/test/elf/x86_64/symbol-rank/d.o out/test/elf/x86_64/symbol-rank/x.a +267: + cc -B. -o out/test/elf/x86_64/tbss-only/exe out/test/elf/x86_64/tbss-only/a.o +265: + cat +265: + cc -c -o out/test/elf/x86_64/sysroot2/sysroot/foo/y.o -xc - +257: + readelf -W --dyn-syms out/test/elf/x86_64/symbol-version2/c.so +258: + readelf -W --dyn-syms out/test/elf/x86_64/symbol-version3/c.so +257: + grep -q ' foo@TEST' out/test/elf/x86_64/symbol-version2/log +258: + grep -q ' foo@@TEST1' out/test/elf/x86_64/symbol-version3/log +257: + grep -q ' bar@TEST' out/test/elf/x86_64/symbol-version2/log +258: + grep -q ' foo@TEST2' out/test/elf/x86_64/symbol-version3/log +257: + grep -q ' bar1' out/test/elf/x86_64/symbol-version2/log +258: + grep -q ' foo@TEST3' out/test/elf/x86_64/symbol-version3/log +258: + grep -q ' foo$' out/test/elf/x86_64/symbol-version3/log +257: + grep -q ' foo@@TEST' out/test/elf/x86_64/symbol-version2/log +258: + on_exit +258: + echo OK +258: OK +258: + exit 0 +257: + on_exit +257: + echo OK +257: OK +257: + exit 0 +258/357 Test #258: x86_64-symbol-version3 ..................... Passed 0.48 sec test 270 Start 270: x86_64-tls-alignment-multi @@ -19145,9 +19199,17 @@ 270: MACHINE=x86_64 270: CPU= 270: Test timeout computed to be: 1500 -254: + rm -f out/test/elf/x86_64/symbol-rank/x.a 270: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-alignment-multi.sh -254: + ar rcs out/test/elf/x86_64/symbol-rank/x.a out/test/elf/x86_64/symbol-rank/a.o out/test/elf/x86_64/symbol-rank/b.o out/test/elf/x86_64/symbol-rank/c.o +259/357 Test #257: x86_64-symbol-version2 ..................... Passed 0.50 sec +test 271 + Start 271: x86_64-tls-common + +271: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-common.sh" +271: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +271: Environment variables: +271: MACHINE=x86_64 +271: CPU= +271: Test timeout computed to be: 1500 270: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 270: ++ export LC_ALL=C 270: ++ LC_ALL=C @@ -19167,52 +19229,11 @@ 270: ++ trap 'on_error $LINENO' ERR 270: ++ trap on_exit EXIT 270: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-alignment-multi.sh .sh -263: + cat -262: + cc -B. -no-pie -Wl,--image-base=0x40000 -o out/test/elf/x86_64/synthetic-symbols/exe out/test/elf/x86_64/synthetic-symbols/a.o out/test/elf/x86_64/synthetic-symbols/b.o 270: ++ testname=tls-alignment-multi 270: ++ echo -n 'Testing tls-alignment-multi ... ' 270: Testing tls-alignment-multi ... ++ t=out/test/elf/x86_64/tls-alignment-multi 270: ++ mkdir -p out/test/elf/x86_64/tls-alignment-multi -263: + cat -263: + cc -o out/test/elf/x86_64/sysroot-linker-script/c.o -c -xc - -265: + cc -c -o out/test/elf/x86_64/sysroot2/c.o -xc - -265: + cat -270: + cat -270: + cc -fPIC -c -o out/test/elf/x86_64/tls-alignment-multi/a.o -xc - -267: + cc -B. -o out/test/elf/x86_64/tbss-only/exe out/test/elf/x86_64/tbss-only/a.o -262: + out/test/elf/x86_64/synthetic-symbols/exe -262: + grep -q '^__ehdr_start=0x40000$' out/test/elf/x86_64/synthetic-symbols/log -266: + cat -266: + cc -O2 -o out/test/elf/x86_64/tail-call/c.o -c -xc - -262: + grep -q '^__executable_start=0x40000$' out/test/elf/x86_64/synthetic-symbols/log -262: + grep -q '^__dso_handle=' out/test/elf/x86_64/synthetic-symbols/log -254: + cc -B. -o out/test/elf/x86_64/symbol-rank/exe out/test/elf/x86_64/symbol-rank/d.o out/test/elf/x86_64/symbol-rank/x.a -262: + grep -q '^section foo$' out/test/elf/x86_64/synthetic-symbols/log -264: + mkdir -p out/test/elf/x86_64/sysroot/foo/bar -269: + cc -B. -o out/test/elf/x86_64/thread-count/exe out/test/elf/x86_64/thread-count/a.o -Wl,-no-threads -268: + cc -o out/test/elf/x86_64/thin-archive/b.o -c -xc - -264: + rm -f out/test/elf/x86_64/sysroot/foo/bar/libfoo.a -262: + cc -c -o out/test/elf/x86_64/synthetic-symbols/c.o -xc - -262: + cat -264: + ar rcs out/test/elf/x86_64/sysroot/foo/bar/libfoo.a out/test/elf/x86_64/sysroot/a.o out/test/elf/x86_64/sysroot/b.o -268: + cat -267: + out/test/elf/x86_64/tbss-only/exe -267: + on_exit -267: + echo OK -267: OK -267: + exit 0 -259/357 Test #267: x86_64-tbss-only ........................... Passed 0.19 sec -test 271 - Start 271: x86_64-tls-common - -271: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-common.sh" -271: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -271: Environment variables: -271: MACHINE=x86_64 -271: CPU= -271: Test timeout computed to be: 1500 271: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-common.sh -269: + cc -B. -o out/test/elf/x86_64/thread-count/exe out/test/elf/x86_64/thread-count/a.o -Wl,-thread-count=1 271: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 271: ++ export LC_ALL=C 271: ++ LC_ALL=C @@ -19232,27 +19253,36 @@ 271: ++ trap 'on_error $LINENO' ERR 271: ++ trap on_exit EXIT 271: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-common.sh .sh +270: + cat 271: ++ testname=tls-common 271: ++ echo -n 'Testing tls-common ... ' 271: Testing tls-common ... ++ t=out/test/elf/x86_64/tls-common 271: ++ mkdir -p out/test/elf/x86_64/tls-common -263: + cc -B. -o out/test/elf/x86_64/sysroot-linker-script/exe out/test/elf/x86_64/sysroot-linker-script/c.o -Wl,--sysroot=out/test/elf/x86_64/sysroot-linker-script/ out/test/elf/x86_64/sysroot-linker-script/foo/bar/b.script -264: + cat -270: + cat -270: + cc -fPIC -c -o out/test/elf/x86_64/tls-alignment-multi/b.o -xc - +270: + cc -fPIC -c -o out/test/elf/x86_64/tls-alignment-multi/a.o -xc - 271: + cat -264: + cc -c -o out/test/elf/x86_64/sysroot/c.o -xc - -265: + cc -B. -o out/test/elf/x86_64/sysroot2/exe -Wl,--sysroot=out/test/elf/x86_64/sysroot2/sysroot out/test/elf/x86_64/sysroot2/a.script out/test/elf/x86_64/sysroot2/sysroot/b.script out/test/elf/x86_64/sysroot2/c.o 271: + gcc -o out/test/elf/x86_64/tls-common/a.o -c -xassembler - -254: + out/test/elf/x86_64/symbol-rank/exe -254: + grep -q '^0 0 0 5$' -254: + on_exit -254: + echo OK -254: OK -254: + exit 0 -262: + cc -B. -no-pie -Wl,--image-base=0x40000 -o out/test/elf/x86_64/synthetic-symbols/exe out/test/elf/x86_64/synthetic-symbols/a.o out/test/elf/x86_64/synthetic-symbols/c.o -266: + cc -B. -o out/test/elf/x86_64/tail-call/exe out/test/elf/x86_64/tail-call/a.o out/test/elf/x86_64/tail-call/b.o out/test/elf/x86_64/tail-call/c.o -260/357 Test #254: x86_64-symbol-rank ......................... Passed 0.47 sec +271: + cat +271: + cc -o out/test/elf/x86_64/tls-common/b.o -c -xc -std=c11 - +264: + mkdir -p out/test/elf/x86_64/sysroot/foo/bar +271: + cc -B. -o out/test/elf/x86_64/tls-common/exe out/test/elf/x86_64/tls-common/a.o out/test/elf/x86_64/tls-common/b.o +268: + cat +268: + cc -o out/test/elf/x86_64/thin-archive/c.o -c -xc - +263: + cc -B. -o out/test/elf/x86_64/sysroot-linker-script/exe out/test/elf/x86_64/sysroot-linker-script/c.o -Wl,--sysroot=out/test/elf/x86_64/sysroot-linker-script/ out/test/elf/x86_64/sysroot-linker-script/foo/bar/b.script +266: + cat +266: + cc -O2 -o out/test/elf/x86_64/tail-call/c.o -c -xc - +264: + rm -f out/test/elf/x86_64/sysroot/foo/bar/libfoo.a +270: + cc -fPIC -c -o out/test/elf/x86_64/tls-alignment-multi/b.o -xc - +264: + ar rcs out/test/elf/x86_64/sysroot/foo/bar/libfoo.a out/test/elf/x86_64/sysroot/a.o out/test/elf/x86_64/sysroot/b.o +265: + cc -c -o out/test/elf/x86_64/sysroot2/c.o -xc - +270: + cat +265: + cat +269: + cc -B. -o out/test/elf/x86_64/thread-count/exe out/test/elf/x86_64/thread-count/a.o -Wl,-thread-count=1 +267: + out/test/elf/x86_64/tbss-only/exe +267: + on_exit +267: + echo OK +267: OK +267: + exit 0 +260/357 Test #267: x86_64-tbss-only ........................... Passed 0.40 sec test 272 Start 272: x86_64-tls-df-static-tls @@ -19262,8 +19292,23 @@ 272: MACHINE=x86_64 272: CPU= 272: Test timeout computed to be: 1500 -271: + cat -271: + cc -o out/test/elf/x86_64/tls-common/b.o -c -xc -std=c11 - +269: + cc -B. -o out/test/elf/x86_64/thread-count/exe out/test/elf/x86_64/thread-count/a.o -Wl,-threads +254: + out/test/elf/x86_64/symbol-rank/exe +254: + grep -q '^0 0 0 5$' +254: + on_exit +254: + echo OK +254: OK +254: + exit 0 +261/357 Test #254: x86_64-symbol-rank ......................... Passed 0.87 sec +test 273 + Start 273: x86_64-tls-dso + +273: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-dso.sh" +273: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +273: Environment variables: +273: MACHINE=x86_64 +273: CPU= +273: Test timeout computed to be: 1500 272: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-df-static-tls.sh 272: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 272: ++ export LC_ALL=C @@ -19288,27 +19333,36 @@ 272: ++ echo -n 'Testing tls-df-static-tls ... ' 272: Testing tls-df-static-tls ... ++ t=out/test/elf/x86_64/tls-df-static-tls 272: ++ mkdir -p out/test/elf/x86_64/tls-df-static-tls -269: + cc -B. -o out/test/elf/x86_64/thread-count/exe out/test/elf/x86_64/thread-count/a.o -Wl,-threads -272: + cat -272: + cc -fPIC -ftls-model=initial-exec -c -o out/test/elf/x86_64/tls-df-static-tls/a.o -xc - +262: + out/test/elf/x86_64/synthetic-symbols/exe +262: + grep -q '^__ehdr_start=0x40000$' out/test/elf/x86_64/synthetic-symbols/log +262: + grep -q '^__executable_start=0x40000$' out/test/elf/x86_64/synthetic-symbols/log 263: + on_exit 263: + echo OK 263: OK 263: + exit 0 -262: + out/test/elf/x86_64/synthetic-symbols/exe -261/357 Test #263: x86_64-sysroot-linker-script ............... Passed 0.34 sec -test 273 - Start 273: x86_64-tls-dso +271: + readelf -WS out/test/elf/x86_64/tls-common/exe +271: + grep -Fq .tls_common +262/357 Test #263: x86_64-sysroot-linker-script ............... Passed 0.51 sec +test 274 + Start 274: x86_64-tls-gd-dlopen -273: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-dso.sh" -273: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -273: Environment variables: -273: MACHINE=x86_64 -273: CPU= -273: Test timeout computed to be: 1500 -219: + cc -B. -o out/test/elf/x86_64/relocatable-many-sections/exe out/test/elf/x86_64/relocatable-many-sections/c.o +274: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-gd-dlopen.sh" +274: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +274: Environment variables: +274: MACHINE=x86_64 +274: CPU= +274: Test timeout computed to be: 1500 +272: + cat +272: + cc -fPIC -ftls-model=initial-exec -c -o out/test/elf/x86_64/tls-df-static-tls/a.o -xc - +262: + grep -q '^__dso_handle=' out/test/elf/x86_64/synthetic-symbols/log +262: + grep -q '^section foo$' out/test/elf/x86_64/synthetic-symbols/log +271: + out/test/elf/x86_64/tls-common/exe +271: + grep -q '^foo=0$' +271: + on_exit +271: + echo OK +271: OK +271: + exit 0 273: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-dso.sh -265: ++ realpath out/test/elf/x86_64/sysroot2 273: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 273: ++ export LC_ALL=C 273: ++ LC_ALL=C @@ -19332,36 +19386,24 @@ 273: ++ echo -n 'Testing tls-dso ... ' 273: Testing tls-dso ... ++ t=out/test/elf/x86_64/tls-dso 273: ++ mkdir -p out/test/elf/x86_64/tls-dso -268: + cat -268: + cc -o out/test/elf/x86_64/thin-archive/c.o -c -xc - -265: + cc -B. -o out/test/elf/x86_64/sysroot2/exe -Wl,--sysroot=/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/out/test/elf/x86_64/sysroot2/bin/../sysroot out/test/elf/x86_64/sysroot2/a.script out/test/elf/x86_64/sysroot2/sysroot/b.script out/test/elf/x86_64/sysroot2/c.o +263/357 Test #271: x86_64-tls-common .......................... Passed 0.15 sec +test 275 + Start 275: x86_64-tls-gd-noplt + +275: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-gd-noplt.sh" +275: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +275: Environment variables: +275: MACHINE=x86_64 +275: CPU= +275: Test timeout computed to be: 1500 +262: + cat +262: + cc -c -o out/test/elf/x86_64/synthetic-symbols/c.o -xc - 273: + cat 273: + cc -fPIC -shared -o out/test/elf/x86_64/tls-dso/a.so -xc - -266: + out/test/elf/x86_64/tail-call/exe -266: + grep -q 42 -266: + '[' x86_64 = riscv32 -o x86_64 = riscv64 ']' -266: + on_exit -266: + echo OK -266: OK -266: + exit 0 -262/357 Test #266: x86_64-tail-call ........................... Passed 0.32 sec -test 274 - Start 274: x86_64-tls-gd-dlopen - -274: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-gd-dlopen.sh" -274: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -274: Environment variables: -274: MACHINE=x86_64 -274: CPU= -274: Test timeout computed to be: 1500 -262: + grep -q '^end=foo$' out/test/elf/x86_64/synthetic-symbols/log -269: + cc -B. -o out/test/elf/x86_64/thread-count/exe out/test/elf/x86_64/thread-count/a.o -Wl,-threads=1 274: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-gd-dlopen.sh -262: + grep -q '^etext=foo$' out/test/elf/x86_64/synthetic-symbols/log 274: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 274: ++ export LC_ALL=C 274: ++ LC_ALL=C -271: + cc -B. -o out/test/elf/x86_64/tls-common/exe out/test/elf/x86_64/tls-common/a.o out/test/elf/x86_64/tls-common/b.o 274: ++ '[' -z x86_64 ']' 274: ++ '[' -z '' ']' 274: ++ TESTDIR=out/test/elf/x86_64 @@ -19370,73 +19412,19 @@ 274: ++ GCC=gcc 274: ++ GXX=g++ 274: ++ OBJDUMP=objdump -272: + cc -B. -shared -o out/test/elf/x86_64/tls-df-static-tls/b.so out/test/elf/x86_64/tls-df-static-tls/a.o -Wl,--relax 274: ++ OBJCOPY=objcopy 274: ++ STRIP=strip 274: ++ QEMU= -270: + cc -B. -shared -o out/test/elf/x86_64/tls-alignment-multi/a.so out/test/elf/x86_64/tls-alignment-multi/a.o 274: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 274: ++ tlsdesc_opt=-mtls-dialect=gnu2 274: ++ trap 'on_error $LINENO' ERR 274: ++ trap on_exit EXIT 274: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-gd-dlopen.sh .sh -262: + grep -q '^edata=foo$' out/test/elf/x86_64/synthetic-symbols/log -264: + cc -B. -o out/test/elf/x86_64/sysroot/exe out/test/elf/x86_64/sysroot/c.o -Wl,--sysroot=out/test/elf/x86_64/sysroot/ -Wl,-L=foo/bar -lfoo +275: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-gd-noplt.sh 274: ++ testname=tls-gd-dlopen 274: ++ echo -n 'Testing tls-gd-dlopen ... ' 274: Testing tls-gd-dlopen ... ++ t=out/test/elf/x86_64/tls-gd-dlopen 274: ++ mkdir -p out/test/elf/x86_64/tls-gd-dlopen -255: + readelf --symbols out/test/elf/x86_64/symbol-version-lto/c.so -262: + grep -q '^__ehdr_start=0x40000$' out/test/elf/x86_64/synthetic-symbols/log -274: + cat -274: + gcc -fPIC -c -o out/test/elf/x86_64/tls-gd-dlopen/a.o -xc - -262: + grep -q '^__executable_start=0x40000$' out/test/elf/x86_64/synthetic-symbols/log -255: + grep -Fq foo@@VER1 out/test/elf/x86_64/symbol-version-lto/log -265: + on_exit -265: + echo OK -265: OK -265: + exit 0 -262: + grep -q '^section foo$' out/test/elf/x86_64/synthetic-symbols/log -263/357 Test #265: x86_64-sysroot2 ............................ Passed 0.37 sec -test 275 - Start 275: x86_64-tls-gd-noplt - -275: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-gd-noplt.sh" -275: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -275: Environment variables: -275: MACHINE=x86_64 -275: CPU= -275: Test timeout computed to be: 1500 -262: + on_exit -262: + echo OK -262: OK -262: + exit 0 -255: + on_exit -255: + echo OK -255: OK -255: + exit 0 -264/357 Test #255: x86_64-symbol-version-lto .................. Passed 0.54 sec -test 276 - Start 276: x86_64-tls-gd-to-ie - -276: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-gd-to-ie.sh" -276: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -276: Environment variables: -276: MACHINE=x86_64 -276: CPU= -276: Test timeout computed to be: 1500 -265/357 Test #262: x86_64-synthetic-symbols ................... Passed 0.40 sec -test 277 - Start 277: x86_64-tls-gd - -277: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-gd.sh" -277: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -277: Environment variables: -277: MACHINE=x86_64 -277: CPU= -277: Test timeout computed to be: 1500 -269: + cc -B. -o out/test/elf/x86_64/thread-count/exe out/test/elf/x86_64/thread-count/a.o -Wl,--threads=1 -275: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-gd-noplt.sh 275: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 275: ++ export LC_ALL=C 275: ++ LC_ALL=C @@ -19456,15 +19444,37 @@ 275: ++ trap 'on_error $LINENO' ERR 275: ++ trap on_exit EXIT 275: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-gd-noplt.sh .sh +274: + cat +274: + gcc -fPIC -c -o out/test/elf/x86_64/tls-gd-dlopen/a.o -xc - 275: ++ testname=tls-gd-noplt 275: ++ echo -n 'Testing tls-gd-noplt ... ' 275: Testing tls-gd-noplt ... ++ t=out/test/elf/x86_64/tls-gd-noplt 275: ++ mkdir -p out/test/elf/x86_64/tls-gd-noplt -272: + readelf --dynamic out/test/elf/x86_64/tls-df-static-tls/b.so -272: + grep -q STATIC_TLS -272: + cc -B. -shared -o out/test/elf/x86_64/tls-df-static-tls/c.so out/test/elf/x86_64/tls-df-static-tls/a.o -Wl,--no-relax -271: + grep -Fq .tls_common -271: + readelf -WS out/test/elf/x86_64/tls-common/exe +275: + cat +275: + gcc -fPIC -fno-plt -c -o out/test/elf/x86_64/tls-gd-noplt/a.o -xc - +264: + cat +264: + cc -c -o out/test/elf/x86_64/sysroot/c.o -xc - +268: + cat +268: + cc -o out/test/elf/x86_64/thin-archive/d.o -c -xc - +265: + cc -B. -o out/test/elf/x86_64/sysroot2/exe -Wl,--sysroot=out/test/elf/x86_64/sysroot2/sysroot out/test/elf/x86_64/sysroot2/a.script out/test/elf/x86_64/sysroot2/sysroot/b.script out/test/elf/x86_64/sysroot2/c.o +255: + readelf --symbols out/test/elf/x86_64/symbol-version-lto/c.so +266: + cc -B. -o out/test/elf/x86_64/tail-call/exe out/test/elf/x86_64/tail-call/a.o out/test/elf/x86_64/tail-call/b.o out/test/elf/x86_64/tail-call/c.o +255: + grep -Fq foo@@VER1 out/test/elf/x86_64/symbol-version-lto/log +255: + on_exit +255: + echo OK +255: OK +255: + exit 0 +264/357 Test #255: x86_64-symbol-version-lto .................. Passed 0.76 sec +test 276 + Start 276: x86_64-tls-gd-to-ie + +276: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-gd-to-ie.sh" +276: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +276: Environment variables: +276: MACHINE=x86_64 +276: CPU= +276: Test timeout computed to be: 1500 +269: + cc -B. -o out/test/elf/x86_64/thread-count/exe out/test/elf/x86_64/thread-count/a.o -Wl,-threads=1 276: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-gd-to-ie.sh 276: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 276: ++ export LC_ALL=C @@ -19491,12 +19501,68 @@ 276: ++ mkdir -p out/test/elf/x86_64/tls-gd-to-ie 276: + cat 276: + gcc -fPIC -c -o out/test/elf/x86_64/tls-gd-to-ie/a.o -xc - +269: + cc -B. -o out/test/elf/x86_64/thread-count/exe out/test/elf/x86_64/thread-count/a.o -Wl,--threads=1 +265: ++ realpath out/test/elf/x86_64/sysroot2 +265: + cc -B. -o out/test/elf/x86_64/sysroot2/exe -Wl,--sysroot=/build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/out/test/elf/x86_64/sysroot2/bin/../sysroot out/test/elf/x86_64/sysroot2/a.script out/test/elf/x86_64/sysroot2/sysroot/b.script out/test/elf/x86_64/sysroot2/c.o +266: + out/test/elf/x86_64/tail-call/exe +270: + cc -B. -shared -o out/test/elf/x86_64/tls-alignment-multi/a.so out/test/elf/x86_64/tls-alignment-multi/a.o +266: + grep -q 42 +266: + '[' x86_64 = riscv32 -o x86_64 = riscv64 ']' +266: + on_exit +266: + echo OK +266: OK +266: + exit 0 +265/357 Test #266: x86_64-tail-call ........................... Passed 0.48 sec +test 277 + Start 277: x86_64-tls-gd + +277: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-gd.sh" +277: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +277: Environment variables: +277: MACHINE=x86_64 +277: CPU= +277: Test timeout computed to be: 1500 +265: + on_exit +265: + echo OK +265: OK +265: + exit 0 +262: + cc -B. -no-pie -Wl,--image-base=0x40000 -o out/test/elf/x86_64/synthetic-symbols/exe out/test/elf/x86_64/synthetic-symbols/a.o out/test/elf/x86_64/synthetic-symbols/c.o +269: + on_exit +269: + echo OK +269: OK +269: + exit 0 +264: + cc -B. -o out/test/elf/x86_64/sysroot/exe out/test/elf/x86_64/sysroot/c.o -Wl,--sysroot=out/test/elf/x86_64/sysroot/ -Wl,-L=foo/bar -lfoo 275: + cat -275: + gcc -fPIC -fno-plt -c -o out/test/elf/x86_64/tls-gd-noplt/a.o -xc - +275: + gcc -fPIC -fno-plt -c -o out/test/elf/x86_64/tls-gd-noplt/b.o -xc - +274: + cc -B. -shared -o out/test/elf/x86_64/tls-gd-dlopen/b.so out/test/elf/x86_64/tls-gd-dlopen/a.o +268: + rm -f out/test/elf/x86_64/thin-archive/d.a +268: + cd out/test/elf/x86_64/thin-archive +268: ++ pwd +272: + cc -B. -shared -o out/test/elf/x86_64/tls-df-static-tls/b.so out/test/elf/x86_64/tls-df-static-tls/a.o -Wl,--relax +266/357 Test #265: x86_64-sysroot2 ............................ Passed 0.54 sec +test 278 + Start 278: x86_64-tls-ie + +278: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-ie.sh" +278: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +278: Environment variables: +278: MACHINE=x86_64 +278: CPU= +278: Test timeout computed to be: 1500 +267/357 Test #269: x86_64-thread-count ........................ Passed 0.49 sec +test 279 + Start 279: x86_64-tls-irregular-start-addr + +279: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-irregular-start-addr.sh" +279: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +279: Environment variables: +279: MACHINE=x86_64 +279: CPU= +279: Test timeout computed to be: 1500 +268: + ar rcsT d.a long-long-long-filename.o b.o /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/out/test/elf/x86_64/thin-archive/c.o +276: + cat +276: + cc -fPIC -c -o out/test/elf/x86_64/tls-gd-to-ie/b.o -xc - 277: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-gd.sh -264: + cc -B. -o out/test/elf/x86_64/sysroot/exe out/test/elf/x86_64/sysroot/c.o -Wl,--sysroot=out/test/elf/x86_64/sysroot/ -Wl,-L=/foo/bar -lfoo -271: + out/test/elf/x86_64/tls-common/exe -271: + grep -q '^foo=0$' 277: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 277: ++ export LC_ALL=C 277: ++ LC_ALL=C @@ -19520,23 +19586,6 @@ 277: ++ echo -n 'Testing tls-gd ... ' 277: Testing tls-gd ... ++ t=out/test/elf/x86_64/tls-gd 277: ++ mkdir -p out/test/elf/x86_64/tls-gd -270: + cc -B. -ldl -pthread -o out/test/elf/x86_64/tls-alignment-multi/exe out/test/elf/x86_64/tls-alignment-multi/b.o -Wl,-rpath,out/test/elf/x86_64/tls-alignment-multi -271: + on_exit -271: + echo OK -271: OK -271: + exit 0 -277: + cat -266/357 Test #271: x86_64-tls-common .......................... Passed 0.14 sec -test 278 - Start 278: x86_64-tls-ie - -278: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-ie.sh" -278: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -278: Environment variables: -278: MACHINE=x86_64 -278: CPU= -278: Test timeout computed to be: 1500 -277: + gcc -fPIC -c -o out/test/elf/x86_64/tls-gd/a.o -xc - 278: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-ie.sh 278: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 278: ++ export LC_ALL=C @@ -19557,32 +19606,9 @@ 278: ++ trap 'on_error $LINENO' ERR 278: ++ trap on_exit EXIT 278: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-ie.sh .sh -278: ++ testname=tls-ie -278: ++ echo -n 'Testing tls-ie ... ' -278: Testing tls-ie ... ++ t=out/test/elf/x86_64/tls-ie -278: ++ mkdir -p out/test/elf/x86_64/tls-ie -269: + on_exit -269: + echo OK -269: OK -269: + exit 0 -278: + cat -267/357 Test #269: x86_64-thread-count ........................ Passed 0.30 sec -test 279 - Start 279: x86_64-tls-irregular-start-addr - -279: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-irregular-start-addr.sh" -279: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -279: Environment variables: -279: MACHINE=x86_64 -279: CPU= -279: Test timeout computed to be: 1500 -278: + gcc -fPIC -c -o out/test/elf/x86_64/tls-ie/a.o -xc - -274: + cc -B. -shared -o out/test/elf/x86_64/tls-gd-dlopen/b.so out/test/elf/x86_64/tls-gd-dlopen/a.o -268: + cc -o out/test/elf/x86_64/thin-archive/d.o -c -xc - -268: + cat -272: + readelf --dynamic out/test/elf/x86_64/tls-df-static-tls/c.so -272: + grep -q STATIC_TLS +277: + gcc -fPIC -c -o out/test/elf/x86_64/tls-gd/a.o -xc - 279: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-irregular-start-addr.sh +277: + cat 279: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 279: ++ export LC_ALL=C 279: ++ LC_ALL=C @@ -19601,16 +19627,43 @@ 279: ++ tlsdesc_opt=-mtls-dialect=gnu2 279: ++ trap 'on_error $LINENO' ERR 279: ++ trap on_exit EXIT +278: ++ testname=tls-ie +278: ++ echo -n 'Testing tls-ie ... ' +278: Testing tls-ie ... ++ t=out/test/elf/x86_64/tls-ie +278: ++ mkdir -p out/test/elf/x86_64/tls-ie 279: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-irregular-start-addr.sh .sh -272: + on_exit 279: ++ testname=tls-irregular-start-addr 279: ++ echo -n 'Testing tls-irregular-start-addr ... ' 279: Testing tls-irregular-start-addr ... ++ t=out/test/elf/x86_64/tls-irregular-start-addr 279: ++ mkdir -p out/test/elf/x86_64/tls-irregular-start-addr -272: + echo OK -272: OK -272: + exit 0 -268/357 Test #272: x86_64-tls-df-static-tls ................... Passed 0.14 sec +278: + cat +278: + gcc -fPIC -c -o out/test/elf/x86_64/tls-ie/a.o -xc - +279: + cat +279: + cc -fPIC -c -o out/test/elf/x86_64/tls-irregular-start-addr/a.o -xc - +268: + cc -B. -Wl,--trace -o out/test/elf/x86_64/thin-archive/exe out/test/elf/x86_64/thin-archive/d.o out/test/elf/x86_64/thin-archive/d.a +270: + cc -B. -ldl -pthread -o out/test/elf/x86_64/tls-alignment-multi/exe out/test/elf/x86_64/tls-alignment-multi/b.o -Wl,-rpath,out/test/elf/x86_64/tls-alignment-multi +275: + gcc -fPIC -fno-plt -c -o out/test/elf/x86_64/tls-gd-noplt/c.o -xc - +262: + out/test/elf/x86_64/synthetic-symbols/exe +264: + cc -B. -o out/test/elf/x86_64/sysroot/exe out/test/elf/x86_64/sysroot/c.o -Wl,--sysroot=out/test/elf/x86_64/sysroot/ -Wl,-L=/foo/bar -lfoo +272: + grep -q STATIC_TLS +275: + cat +272: + readelf --dynamic out/test/elf/x86_64/tls-df-static-tls/b.so +276: + cc -B. -shared -o out/test/elf/x86_64/tls-gd-to-ie/c.so out/test/elf/x86_64/tls-gd-to-ie/a.o +274: + cat +274: + gcc -fPIC -c -o out/test/elf/x86_64/tls-gd-dlopen/c.o -xc - +277: + cat +277: + gcc -fPIC -c -o out/test/elf/x86_64/tls-gd/b.o -xc - +272: + cc -B. -shared -o out/test/elf/x86_64/tls-df-static-tls/c.so out/test/elf/x86_64/tls-df-static-tls/a.o -Wl,--no-relax +278: + cc -B. -shared -o out/test/elf/x86_64/tls-ie/b.so out/test/elf/x86_64/tls-ie/a.o +273: + cat +273: + cc -c -o out/test/elf/x86_64/tls-dso/b.o -xc - +270: + out/test/elf/x86_64/tls-alignment-multi/exe +268: + grep -Eq 'thin-archive/d.a\(.*long-long-long-filename.o\)' out/test/elf/x86_64/thin-archive/log +270: + on_exit +270: + echo OK +270: OK +270: + exit 0 +268/357 Test #270: x86_64-tls-alignment-multi ................. Passed 0.37 sec test 280 Start 280: x86_64-tls-large-alignment @@ -19620,30 +19673,9 @@ 280: MACHINE=x86_64 280: CPU= 280: Test timeout computed to be: 1500 -279: + cat -279: + cc -fPIC -c -o out/test/elf/x86_64/tls-irregular-start-addr/a.o -xc - -219: + out/test/elf/x86_64/relocatable-many-sections/exe -219: + grep -q Hello -264: + cc -B. -o out/test/elf/x86_64/sysroot/exe out/test/elf/x86_64/sysroot/c.o -Wl,--sysroot=out/test/elf/x86_64/sysroot/ '-Wl,-L$SYSROOTfoo/bar' -lfoo -270: + out/test/elf/x86_64/tls-alignment-multi/exe -219: + on_exit -219: + echo OK -219: OK -219: + exit 0 -270: + on_exit -270: + echo OK -270: OK -270: + exit 0 -269/357 Test #219: x86_64-relocatable-many-sections ........... Passed 1.82 sec -test 281 - Start 281: x86_64-tls-large-static-image - -281: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-large-static-image.sh" -281: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -281: Environment variables: -281: MACHINE=x86_64 -281: CPU= -281: Test timeout computed to be: 1500 +268: + grep -Eq 'thin-archive/d.a\(.*/b.o\)' out/test/elf/x86_64/thin-archive/log +268: + grep -Fq thin-archive/d.o out/test/elf/x86_64/thin-archive/log +278: + gcc -c -o out/test/elf/x86_64/tls-ie/c.o -xc - -fPIC 280: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-large-alignment.sh 280: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 280: ++ export LC_ALL=C @@ -19663,7 +19695,38 @@ 280: ++ tlsdesc_opt=-mtls-dialect=gnu2 280: ++ trap 'on_error $LINENO' ERR 280: ++ trap on_exit EXIT -270/357 Test #270: x86_64-tls-alignment-multi ................. Passed 0.29 sec +278: + cat +268: + out/test/elf/x86_64/thin-archive/exe +280: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-large-alignment.sh .sh +268: + grep -q 15 +276: + cc -B. -o out/test/elf/x86_64/tls-gd-to-ie/exe1 out/test/elf/x86_64/tls-gd-to-ie/b.o out/test/elf/x86_64/tls-gd-to-ie/c.so +280: ++ testname=tls-large-alignment +280: ++ echo -n 'Testing tls-large-alignment ... ' +280: Testing tls-large-alignment ... ++ t=out/test/elf/x86_64/tls-large-alignment +280: ++ mkdir -p out/test/elf/x86_64/tls-large-alignment +268: + on_exit +268: + echo OK +268: OK +268: + exit 0 +272: + grep -q STATIC_TLS +272: + readelf --dynamic out/test/elf/x86_64/tls-df-static-tls/c.so +269/357 Test #268: x86_64-thin-archive ........................ Passed 0.63 sec +test 281 + Start 281: x86_64-tls-large-static-image + +281: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-large-static-image.sh" +281: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +281: Environment variables: +281: MACHINE=x86_64 +281: CPU= +281: Test timeout computed to be: 1500 +280: + cat +280: + cc -fPIC -std=c11 -c -o out/test/elf/x86_64/tls-large-alignment/a.o -xc - +272: + on_exit +272: + echo OK +272: OK +272: + exit 0 +270/357 Test #272: x86_64-tls-df-static-tls ................... Passed 0.24 sec test 282 Start 282: x86_64-tls-ld-noplt @@ -19673,13 +19736,6 @@ 282: MACHINE=x86_64 282: CPU= 282: Test timeout computed to be: 1500 -280: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-large-alignment.sh .sh -280: ++ testname=tls-large-alignment -280: ++ echo -n 'Testing tls-large-alignment ... ' -280: Testing tls-large-alignment ... ++ t=out/test/elf/x86_64/tls-large-alignment -280: ++ mkdir -p out/test/elf/x86_64/tls-large-alignment -280: + cat -280: + cc -fPIC -std=c11 -c -o out/test/elf/x86_64/tls-large-alignment/a.o -xc - 281: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-large-static-image.sh 281: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 281: ++ export LC_ALL=C @@ -19700,15 +19756,12 @@ 281: ++ trap 'on_error $LINENO' ERR 281: ++ trap on_exit EXIT 281: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-large-static-image.sh .sh -274: + cat -274: + gcc -fPIC -c -o out/test/elf/x86_64/tls-gd-dlopen/c.o -xc - +264: + cc -B. -o out/test/elf/x86_64/sysroot/exe out/test/elf/x86_64/sysroot/c.o -Wl,--sysroot=out/test/elf/x86_64/sysroot/ '-Wl,-L$SYSROOTfoo/bar' -lfoo 281: ++ testname=tls-large-static-image 281: ++ echo -n 'Testing tls-large-static-image ... ' 281: Testing tls-large-static-image ... ++ t=out/test/elf/x86_64/tls-large-static-image 281: ++ mkdir -p out/test/elf/x86_64/tls-large-static-image 282: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-ld-noplt.sh -281: + cat -281: + cc -fPIC -c -o out/test/elf/x86_64/tls-large-static-image/a.o -xc - 282: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 282: ++ export LC_ALL=C 282: ++ LC_ALL=C @@ -19728,44 +19781,30 @@ 282: ++ trap 'on_error $LINENO' ERR 282: ++ trap on_exit EXIT 282: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-ld-noplt.sh .sh +281: + cat +281: + cc -fPIC -c -o out/test/elf/x86_64/tls-large-static-image/a.o -xc - 282: ++ testname=tls-ld-noplt 282: ++ echo -n 'Testing tls-ld-noplt ... ' 282: Testing tls-ld-noplt ... ++ t=out/test/elf/x86_64/tls-ld-noplt 282: ++ mkdir -p out/test/elf/x86_64/tls-ld-noplt -282: + gcc -fPIC -ftls-model=local-dynamic -fno-plt -c -o out/test/elf/x86_64/tls-ld-noplt/a.o -xc - 282: + cat -264: + cc -B. -o out/test/elf/x86_64/sysroot/exe out/test/elf/x86_64/sysroot/c.o -Wl,--sysroot=out/test/elf/x86_64/sysroot/ '-Wl,-L$SYSROOT/foo/bar' -lfoo +282: + gcc -fPIC -ftls-model=local-dynamic -fno-plt -c -o out/test/elf/x86_64/tls-ld-noplt/a.o -xc - +262: + grep -q '^end=foo$' out/test/elf/x86_64/synthetic-symbols/log +262: + grep -q '^etext=foo$' out/test/elf/x86_64/synthetic-symbols/log +262: + grep -q '^edata=foo$' out/test/elf/x86_64/synthetic-symbols/log 279: + cc -B. -o out/test/elf/x86_64/tls-irregular-start-addr/exe1 out/test/elf/x86_64/tls-irregular-start-addr/a.o -pie -Wl,-section-start=.tdata=0x100001 -Wl,-relax -278: + cc -B. -shared -o out/test/elf/x86_64/tls-ie/b.so out/test/elf/x86_64/tls-ie/a.o -268: + rm -f out/test/elf/x86_64/thin-archive/d.a -277: + cat -277: + gcc -fPIC -c -o out/test/elf/x86_64/tls-gd/b.o -xc - -281: + cc -fPIC -c -o out/test/elf/x86_64/tls-large-static-image/b.o -xc - -281: + cat -276: + cc -fPIC -c -o out/test/elf/x86_64/tls-gd-to-ie/b.o -xc - -275: + cat -268: + cd out/test/elf/x86_64/thin-archive -268: ++ pwd -276: + cat -275: + gcc -fPIC -fno-plt -c -o out/test/elf/x86_64/tls-gd-noplt/b.o -xc - -268: + ar rcsT d.a long-long-long-filename.o b.o /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu/out/test/elf/x86_64/thin-archive/c.o -274: + cc -B. -o out/test/elf/x86_64/tls-gd-dlopen/exe out/test/elf/x86_64/tls-gd-dlopen/c.o -ldl -264: + cc -B. -o out/test/elf/x86_64/sysroot/exe out/test/elf/x86_64/sysroot/c.o -lfoo -273: + cat -273: + cc -c -o out/test/elf/x86_64/tls-dso/b.o -xc - -279: + out/test/elf/x86_64/tls-irregular-start-addr/exe1 -279: + grep -q '^42$' -264: + cc -B. -o out/test/elf/x86_64/sysroot/exe out/test/elf/x86_64/sysroot/c.o -Wl,--sysroot=out/test/elf/x86_64/sysroot -Wl,-Lfoo/bar -lfoo -279: + cc -B. -o out/test/elf/x86_64/tls-irregular-start-addr/exe2 out/test/elf/x86_64/tls-irregular-start-addr/a.o -pie -Wl,-section-start=.tdata=0x100001 -Wl,-no-relax -278: + gcc -c -o out/test/elf/x86_64/tls-ie/c.o -xc - -fPIC -278: + cat -274: + out/test/elf/x86_64/tls-gd-dlopen/exe out/test/elf/x86_64/tls-gd-dlopen/b.so -274: + grep -q '3 0 5' -274: + on_exit -274: + echo OK -274: OK -274: + exit 0 -271/357 Test #274: x86_64-tls-gd-dlopen ....................... Passed 0.17 sec +262: + grep -q '^__ehdr_start=0x40000$' out/test/elf/x86_64/synthetic-symbols/log +262: + grep -q '^__executable_start=0x40000$' out/test/elf/x86_64/synthetic-symbols/log +275: + cc -B. -shared -o out/test/elf/x86_64/tls-gd-noplt/d.so out/test/elf/x86_64/tls-gd-noplt/b.o +273: + cc -B. -o out/test/elf/x86_64/tls-dso/exe out/test/elf/x86_64/tls-dso/a.so out/test/elf/x86_64/tls-dso/b.o +262: + grep -q '^section foo$' out/test/elf/x86_64/synthetic-symbols/log +262: + on_exit +262: + echo OK +262: OK +262: + exit 0 +280: + cat +280: + cc -fPIC -std=c11 -c -o out/test/elf/x86_64/tls-large-alignment/b.o -xc - +271/357 Test #262: x86_64-synthetic-symbols ................... Passed 0.78 sec test 283 Start 283: x86_64-tls-ld @@ -19795,17 +19834,27 @@ 283: ++ trap 'on_error $LINENO' ERR 283: ++ trap on_exit EXIT 283: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-ld.sh .sh +276: + out/test/elf/x86_64/tls-gd-to-ie/exe1 +276: + grep -q '1 2 3' 283: ++ testname=tls-ld 283: ++ echo -n 'Testing tls-ld ... ' 283: Testing tls-ld ... ++ t=out/test/elf/x86_64/tls-ld 283: ++ mkdir -p out/test/elf/x86_64/tls-ld +276: + cc -B. -shared -o out/test/elf/x86_64/tls-gd-to-ie/d.so out/test/elf/x86_64/tls-gd-to-ie/a.o -Wl,-no-relax 283: + cat 283: + cc -fPIC -ftls-model=local-dynamic -c -o out/test/elf/x86_64/tls-ld/a.o -xc - -264: + on_exit -264: + echo OK -264: OK -264: + exit 0 -272/357 Test #264: x86_64-sysroot ............................. Passed 0.54 sec +264: + cc -B. -o out/test/elf/x86_64/sysroot/exe out/test/elf/x86_64/sysroot/c.o -Wl,--sysroot=out/test/elf/x86_64/sysroot/ '-Wl,-L$SYSROOT/foo/bar' -lfoo +279: + out/test/elf/x86_64/tls-irregular-start-addr/exe1 +279: + grep -q '^42$' +275: + cc -B. -shared -o out/test/elf/x86_64/tls-gd-noplt/e.so out/test/elf/x86_64/tls-gd-noplt/c.o -Wl,--no-relax +279: + cc -B. -o out/test/elf/x86_64/tls-irregular-start-addr/exe2 out/test/elf/x86_64/tls-irregular-start-addr/a.o -pie -Wl,-section-start=.tdata=0x100001 -Wl,-no-relax +273: + out/test/elf/x86_64/tls-dso/exe +273: + grep -q '5 3 5 3 5 3' +273: + on_exit +273: + echo OK +273: OK +273: + exit 0 +272/357 Test #273: x86_64-tls-dso ............................. Passed 0.28 sec test 284 Start 284: x86_64-tls-le-error @@ -19816,8 +19865,6 @@ 284: CPU= 284: Test timeout computed to be: 1500 284: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-le-error.sh -279: + out/test/elf/x86_64/tls-irregular-start-addr/exe2 -279: + grep -q '^42$' 284: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 284: ++ export LC_ALL=C 284: ++ LC_ALL=C @@ -19836,7 +19883,6 @@ 284: ++ tlsdesc_opt=-mtls-dialect=gnu2 284: ++ trap 'on_error $LINENO' ERR 284: ++ trap on_exit EXIT -279: + cc -B. -o out/test/elf/x86_64/tls-irregular-start-addr/exe3 out/test/elf/x86_64/tls-irregular-start-addr/a.o -pie -Wl,-section-start=.tdata=0x10000f -Wl,-relax 284: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-le-error.sh .sh 284: ++ testname=tls-le-error 284: ++ echo -n 'Testing tls-le-error ... ' @@ -19844,29 +19890,24 @@ 284: ++ mkdir -p out/test/elf/x86_64/tls-le-error 284: + cat 284: + gcc -fPIC -c -o out/test/elf/x86_64/tls-le-error/a.o -xc - -268: + cc -B. -Wl,--trace -o out/test/elf/x86_64/thin-archive/exe out/test/elf/x86_64/thin-archive/d.o out/test/elf/x86_64/thin-archive/d.a -279: + out/test/elf/x86_64/tls-irregular-start-addr/exe3 -279: + grep -q '^42$' -280: + cat -280: + cc -fPIC -std=c11 -c -o out/test/elf/x86_64/tls-large-alignment/b.o -xc - -279: + cc -B. -o out/test/elf/x86_64/tls-irregular-start-addr/exe4 out/test/elf/x86_64/tls-irregular-start-addr/a.o -pie -Wl,-section-start=.tdata=0x10000f -Wl,-no-relax -273: + cc -B. -o out/test/elf/x86_64/tls-dso/exe out/test/elf/x86_64/tls-dso/a.so out/test/elf/x86_64/tls-dso/b.o -276: + cc -B. -shared -o out/test/elf/x86_64/tls-gd-to-ie/c.so out/test/elf/x86_64/tls-gd-to-ie/a.o -282: + cat -282: + gcc -fPIC -ftls-model=local-dynamic -fno-plt -c -o out/test/elf/x86_64/tls-ld-noplt/b.o -xc - -281: + cc -B. -o out/test/elf/x86_64/tls-large-static-image/exe out/test/elf/x86_64/tls-large-static-image/a.o out/test/elf/x86_64/tls-large-static-image/b.o -277: + gcc -fPIC -c -o out/test/elf/x86_64/tls-gd/c.o -xc - -277: + cat -275: + cat -275: + gcc -fPIC -fno-plt -c -o out/test/elf/x86_64/tls-gd-noplt/c.o -xc - +276: + cc -B. -o out/test/elf/x86_64/tls-gd-to-ie/exe2 out/test/elf/x86_64/tls-gd-to-ie/b.o out/test/elf/x86_64/tls-gd-to-ie/d.so +264: + cc -B. -o out/test/elf/x86_64/sysroot/exe out/test/elf/x86_64/sysroot/c.o -lfoo +275: + cc -B. -o out/test/elf/x86_64/tls-gd-noplt/exe out/test/elf/x86_64/tls-gd-noplt/a.o out/test/elf/x86_64/tls-gd-noplt/d.so out/test/elf/x86_64/tls-gd-noplt/e.so +279: + out/test/elf/x86_64/tls-irregular-start-addr/exe2 279: + grep -q '^42$' -279: + out/test/elf/x86_64/tls-irregular-start-addr/exe4 -279: + on_exit -279: + echo OK -279: OK -279: + exit 0 -276: + cc -B. -o out/test/elf/x86_64/tls-gd-to-ie/exe1 out/test/elf/x86_64/tls-gd-to-ie/b.o out/test/elf/x86_64/tls-gd-to-ie/c.so -273/357 Test #279: x86_64-tls-irregular-start-addr ............ Passed 0.18 sec +279: + cc -B. -o out/test/elf/x86_64/tls-irregular-start-addr/exe3 out/test/elf/x86_64/tls-irregular-start-addr/a.o -pie -Wl,-section-start=.tdata=0x10000f -Wl,-relax +264: + cc -B. -o out/test/elf/x86_64/sysroot/exe out/test/elf/x86_64/sysroot/c.o -Wl,--sysroot=out/test/elf/x86_64/sysroot -Wl,-Lfoo/bar -lfoo +276: + out/test/elf/x86_64/tls-gd-to-ie/exe2 +276: + grep -q '1 2 3' +276: + cc -B. -shared -o out/test/elf/x86_64/tls-gd-to-ie/e.so out/test/elf/x86_64/tls-gd-to-ie/a.o -Wl,-z,nodlopen +275: + out/test/elf/x86_64/tls-gd-noplt/exe +275: + grep -q '1 2 3 4 5 6' +275: + cc -B. -o out/test/elf/x86_64/tls-gd-noplt/exe out/test/elf/x86_64/tls-gd-noplt/a.o out/test/elf/x86_64/tls-gd-noplt/d.so out/test/elf/x86_64/tls-gd-noplt/e.so -Wl,-no-relax +264: + on_exit +264: + echo OK +264: OK +264: + exit 0 +273/357 Test #264: x86_64-sysroot ............................. Passed 0.75 sec test 285 Start 285: x86_64-tls-le @@ -19876,37 +19917,10 @@ 285: MACHINE=x86_64 285: CPU= 285: Test timeout computed to be: 1500 -273: + out/test/elf/x86_64/tls-dso/exe -273: + grep -q '5 3 5 3 5 3' -273: + on_exit -273: + echo OK -273: OK -273: + exit 0 -268: + grep -Eq 'thin-archive/d.a\(.*long-long-long-filename.o\)' out/test/elf/x86_64/thin-archive/log -281: + out/test/elf/x86_64/tls-large-static-image/exe -281: + grep -q '^1 2 3 0 5$' -281: + on_exit -281: + echo OK -281: OK -281: + exit 0 -278: + cc -B. -o out/test/elf/x86_64/tls-ie/exe out/test/elf/x86_64/tls-ie/b.so out/test/elf/x86_64/tls-ie/c.o -268: + grep -Eq 'thin-archive/d.a\(.*/b.o\)' out/test/elf/x86_64/thin-archive/log -274/357 Test #273: x86_64-tls-dso ............................. Passed 0.28 sec -test 286 - Start 286: x86_64-tls-nopic - -286: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-nopic.sh" -286: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -286: Environment variables: -286: MACHINE=x86_64 -286: CPU= -286: Test timeout computed to be: 1500 -283: + cat -283: + gcc -fPIC -ftls-model=local-dynamic -c -o out/test/elf/x86_64/tls-ld/b.o -xc - -284: + cc -B. -shared -o out/test/elf/x86_64/tls-le-error/b.so out/test/elf/x86_64/tls-le-error/a.o -268: + grep -Fq thin-archive/d.o out/test/elf/x86_64/thin-archive/log -268: + out/test/elf/x86_64/thin-archive/exe +279: + out/test/elf/x86_64/tls-irregular-start-addr/exe3 +279: + grep -q '^42$' 285: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-le.sh +279: + cc -B. -o out/test/elf/x86_64/tls-irregular-start-addr/exe4 out/test/elf/x86_64/tls-irregular-start-addr/a.o -pie -Wl,-section-start=.tdata=0x10000f -Wl,-no-relax 285: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 285: ++ export LC_ALL=C 285: ++ LC_ALL=C @@ -19925,9 +19939,56 @@ 285: ++ tlsdesc_opt=-mtls-dialect=gnu2 285: ++ trap 'on_error $LINENO' ERR 285: ++ trap on_exit EXIT -282: + cc -B. -o out/test/elf/x86_64/tls-ld-noplt/exe out/test/elf/x86_64/tls-ld-noplt/a.o out/test/elf/x86_64/tls-ld-noplt/b.o +285: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-le.sh .sh +274: + cc -B. -o out/test/elf/x86_64/tls-gd-dlopen/exe out/test/elf/x86_64/tls-gd-dlopen/c.o -ldl +285: ++ testname=tls-le +285: ++ echo -n 'Testing tls-le ... ' +285: Testing tls-le ... ++ t=out/test/elf/x86_64/tls-le +285: ++ mkdir -p out/test/elf/x86_64/tls-le +285: + gcc -fPIC -c -o out/test/elf/x86_64/tls-le/a.o -xc - +285: + cat +277: + gcc -fPIC -c -o out/test/elf/x86_64/tls-gd/c.o -xc - +277: + cat +278: + cc -B. -o out/test/elf/x86_64/tls-ie/exe out/test/elf/x86_64/tls-ie/b.so out/test/elf/x86_64/tls-ie/c.o 280: + cat -275/357 Test #281: x86_64-tls-large-static-image .............. Passed 0.17 sec +280: + cc -fPIC -c -o out/test/elf/x86_64/tls-large-alignment/c.o -xc - +282: + cat +282: + gcc -fPIC -ftls-model=local-dynamic -fno-plt -c -o out/test/elf/x86_64/tls-ld-noplt/b.o -xc - +281: + cat +281: + cc -fPIC -c -o out/test/elf/x86_64/tls-large-static-image/b.o -xc - +276: + cc -B. -o out/test/elf/x86_64/tls-gd-to-ie/exe3 out/test/elf/x86_64/tls-gd-to-ie/b.o out/test/elf/x86_64/tls-gd-to-ie/e.so +284: + cc -B. -shared -o out/test/elf/x86_64/tls-le-error/b.so out/test/elf/x86_64/tls-le-error/a.o +283: + cat +283: + gcc -fPIC -ftls-model=local-dynamic -c -o out/test/elf/x86_64/tls-ld/b.o -xc - +279: + out/test/elf/x86_64/tls-irregular-start-addr/exe4 +279: + grep -q '^42$' +279: + on_exit +279: + echo OK +279: OK +279: + exit 0 +274: + grep -q '3 0 5' +275: + out/test/elf/x86_64/tls-gd-noplt/exe +274/357 Test #279: x86_64-tls-irregular-start-addr ............ Passed 0.42 sec +test 286 + Start 286: x86_64-tls-nopic + +286: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-nopic.sh" +286: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +286: Environment variables: +286: MACHINE=x86_64 +286: CPU= +286: Test timeout computed to be: 1500 +274: + out/test/elf/x86_64/tls-gd-dlopen/exe out/test/elf/x86_64/tls-gd-dlopen/b.so +274: + on_exit +274: + echo OK +274: OK +274: + exit 0 +275: + grep -q '1 2 3 4 5 6' +275: + on_exit +275: + echo OK +275: OK +275: + exit 0 +275/357 Test #274: x86_64-tls-gd-dlopen ....................... Passed 0.54 sec test 287 Start 287: x86_64-tls-pic @@ -19937,20 +19998,16 @@ 287: MACHINE=x86_64 287: CPU= 287: Test timeout computed to be: 1500 -268: + grep -q 15 -268: + on_exit -268: + echo OK -268: OK -268: + exit 0 -285: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-le.sh .sh -285: ++ testname=tls-le -285: ++ echo -n 'Testing tls-le ... ' -285: Testing tls-le ... ++ t=out/test/elf/x86_64/tls-le -285: ++ mkdir -p out/test/elf/x86_64/tls-le -285: + cat -285: + gcc -fPIC -c -o out/test/elf/x86_64/tls-le/a.o -xc - -280: + cc -fPIC -c -o out/test/elf/x86_64/tls-large-alignment/c.o -xc - -277: + cc -B. -shared -o out/test/elf/x86_64/tls-gd/d.so out/test/elf/x86_64/tls-gd/b.o +276/357 Test #275: x86_64-tls-gd-noplt ........................ Passed 0.54 sec +test 288 + Start 288: x86_64-tls-small-alignment + +288: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-small-alignment.sh" +288: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +288: Environment variables: +288: MACHINE=x86_64 +288: CPU= +288: Test timeout computed to be: 1500 286: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-nopic.sh 286: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 286: ++ export LC_ALL=C @@ -19975,19 +20032,8 @@ 286: ++ echo -n 'Testing tls-nopic ... ' 286: Testing tls-nopic ... ++ t=out/test/elf/x86_64/tls-nopic 286: ++ mkdir -p out/test/elf/x86_64/tls-nopic -276/357 Test #268: x86_64-thin-archive ........................ Passed 0.54 sec -test 288 - Start 288: x86_64-tls-small-alignment - -288: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-small-alignment.sh" -288: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -288: Environment variables: -288: MACHINE=x86_64 -288: CPU= -288: Test timeout computed to be: 1500 286: + cat 286: + gcc -c -o out/test/elf/x86_64/tls-nopic/a.o -xc - -275: + cc -B. -shared -o out/test/elf/x86_64/tls-gd-noplt/d.so out/test/elf/x86_64/tls-gd-noplt/b.o 287: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-pic.sh 287: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 287: ++ export LC_ALL=C @@ -20012,8 +20058,6 @@ 287: ++ echo -n 'Testing tls-pic ... ' 287: Testing tls-pic ... ++ t=out/test/elf/x86_64/tls-pic 287: ++ mkdir -p out/test/elf/x86_64/tls-pic -287: + cat -287: + gcc -fPIC -c -o out/test/elf/x86_64/tls-pic/a.o -xc - 288: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-small-alignment.sh 288: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 288: ++ export LC_ALL=C @@ -20033,28 +20077,29 @@ 288: ++ tlsdesc_opt=-mtls-dialect=gnu2 288: ++ trap 'on_error $LINENO' ERR 288: ++ trap on_exit EXIT +287: + cat +287: + gcc -fPIC -c -o out/test/elf/x86_64/tls-pic/a.o -xc - 288: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tls-small-alignment.sh .sh -278: + out/test/elf/x86_64/tls-ie/exe -278: + grep -q '^0 0 3 5 7$' 288: ++ testname=tls-small-alignment 288: ++ echo -n 'Testing tls-small-alignment ... ' 288: Testing tls-small-alignment ... ++ t=out/test/elf/x86_64/tls-small-alignment 288: ++ mkdir -p out/test/elf/x86_64/tls-small-alignment -282: + out/test/elf/x86_64/tls-ld-noplt/exe -282: + grep -q '3 5 3 5' -278: + cc -B. -o out/test/elf/x86_64/tls-ie/exe out/test/elf/x86_64/tls-ie/b.so out/test/elf/x86_64/tls-ie/c.o -Wl,-no-relax +288: + cc -fPIC -c -o out/test/elf/x86_64/tls-small-alignment/a.o -xassembler - +288: + cat +276: + out/test/elf/x86_64/tls-gd-to-ie/exe3 276: + grep -q '1 2 3' +278: + out/test/elf/x86_64/tls-ie/exe +278: + grep -q '^0 0 3 5 7$' 288: + cat -282: + cc -B. -o out/test/elf/x86_64/tls-ld-noplt/exe out/test/elf/x86_64/tls-ld-noplt/a.o out/test/elf/x86_64/tls-ld-noplt/b.o -Wl,-no-relax -288: + cc -fPIC -c -o out/test/elf/x86_64/tls-small-alignment/a.o -xassembler - -276: + out/test/elf/x86_64/tls-gd-to-ie/exe1 +288: + cc -fPIC -std=c11 -c -o out/test/elf/x86_64/tls-small-alignment/b.o -xc - +276: + cc -B. -shared -o out/test/elf/x86_64/tls-gd-to-ie/f.so out/test/elf/x86_64/tls-gd-to-ie/a.o -Wl,-z,nodlopen -Wl,-no-relax 284: + grep -q 'relocation .* against `foo` can not be used when making a shared object; recompile with -fPIC' out/test/elf/x86_64/tls-le-error/log -276: + cc -B. -shared -o out/test/elf/x86_64/tls-gd-to-ie/d.so out/test/elf/x86_64/tls-gd-to-ie/a.o -Wl,-no-relax +278: + cc -B. -o out/test/elf/x86_64/tls-ie/exe out/test/elf/x86_64/tls-ie/b.so out/test/elf/x86_64/tls-ie/c.o -Wl,-no-relax 284: + on_exit 284: + echo OK 284: OK 284: + exit 0 -277/357 Test #284: x86_64-tls-le-error ........................ Passed 0.11 sec +277/357 Test #284: x86_64-tls-le-error ........................ Passed 0.29 sec test 289 Start 289: x86_64-tlsdesc-dlopen @@ -20064,12 +20109,7 @@ 289: MACHINE=x86_64 289: CPU= 289: Test timeout computed to be: 1500 -277: + cc -B. -shared -o out/test/elf/x86_64/tls-gd/e.so out/test/elf/x86_64/tls-gd/c.o -Wl,--no-relax -288: + cat -288: + cc -fPIC -std=c11 -c -o out/test/elf/x86_64/tls-small-alignment/b.o -xc - -275: + cc -B. -shared -o out/test/elf/x86_64/tls-gd-noplt/e.so out/test/elf/x86_64/tls-gd-noplt/c.o -Wl,--no-relax 289: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tlsdesc-dlopen.sh -280: + cc -B. -shared -o out/test/elf/x86_64/tls-large-alignment/d.so out/test/elf/x86_64/tls-large-alignment/a.o out/test/elf/x86_64/tls-large-alignment/b.o 289: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 289: ++ export LC_ALL=C 289: ++ LC_ALL=C @@ -20093,21 +20133,19 @@ 289: ++ echo -n 'Testing tlsdesc-dlopen ... ' 289: Testing tlsdesc-dlopen ... ++ t=out/test/elf/x86_64/tlsdesc-dlopen 289: ++ mkdir -p out/test/elf/x86_64/tlsdesc-dlopen -285: + gcc -fPIC -c -o out/test/elf/x86_64/tls-le/b.o -xc - -285: + cat 289: + supports_tlsdesc 289: + '[' x86_64 = arm ']' 289: + '[' -n -mtls-dialect=gnu2 ']' 289: + cat 289: + gcc -fPIC -c -o out/test/elf/x86_64/tlsdesc-dlopen/a.o -xc - -mtls-dialect=gnu2 -276: + cc -B. -o out/test/elf/x86_64/tls-gd-to-ie/exe2 out/test/elf/x86_64/tls-gd-to-ie/b.o out/test/elf/x86_64/tls-gd-to-ie/d.so -282: + out/test/elf/x86_64/tls-ld-noplt/exe -282: + grep -q '3 5 3 5' -282: + on_exit -282: + echo OK -282: OK -282: + exit 0 -278/357 Test #282: x86_64-tls-ld-noplt ........................ Passed 0.23 sec +278: + out/test/elf/x86_64/tls-ie/exe +276: + cc -B. -o out/test/elf/x86_64/tls-gd-to-ie/exe4 out/test/elf/x86_64/tls-gd-to-ie/b.o out/test/elf/x86_64/tls-gd-to-ie/f.so +278: + grep -q '^0 0 3 5 7$' +278: + on_exit +278: + echo OK +278: OK +278: + exit 0 +278/357 Test #278: x86_64-tls-ie .............................. Passed 0.47 sec test 290 Start 290: x86_64-tlsdesc-import @@ -20117,32 +20155,7 @@ 290: MACHINE=x86_64 290: CPU= 290: Test timeout computed to be: 1500 -283: + cc -B. -o out/test/elf/x86_64/tls-ld/exe1 out/test/elf/x86_64/tls-ld/a.o out/test/elf/x86_64/tls-ld/b.o -Wl,-relax -286: + cat -286: + cc -xc -c -o out/test/elf/x86_64/tls-nopic/b.o - -288: + cc -fPIC -c -o out/test/elf/x86_64/tls-small-alignment/c.o -xc - -288: + cat -278: + grep -q '^0 0 3 5 7$' -278: + out/test/elf/x86_64/tls-ie/exe -275: + cc -B. -o out/test/elf/x86_64/tls-gd-noplt/exe out/test/elf/x86_64/tls-gd-noplt/a.o out/test/elf/x86_64/tls-gd-noplt/d.so out/test/elf/x86_64/tls-gd-noplt/e.so -278: + on_exit -278: + echo OK -278: OK -278: + exit 0 -280: + cc -B. -o out/test/elf/x86_64/tls-large-alignment/exe1 out/test/elf/x86_64/tls-large-alignment/a.o out/test/elf/x86_64/tls-large-alignment/b.o out/test/elf/x86_64/tls-large-alignment/c.o -279/357 Test #278: x86_64-tls-ie .............................. Passed 0.28 sec -test 291 - Start 291: x86_64-tlsdesc-initial-exec - -291: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/tlsdesc-initial-exec.sh" -291: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -291: Environment variables: -291: MACHINE=x86_64 -291: CPU= -291: Test timeout computed to be: 1500 290: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tlsdesc-import.sh -277: + cc -B. -o out/test/elf/x86_64/tls-gd/exe1 out/test/elf/x86_64/tls-gd/a.o out/test/elf/x86_64/tls-gd/d.so out/test/elf/x86_64/tls-gd/e.so -285: + cc -B. -o out/test/elf/x86_64/tls-le/exe out/test/elf/x86_64/tls-le/a.o out/test/elf/x86_64/tls-le/b.o 290: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 290: ++ export LC_ALL=C 290: ++ LC_ALL=C @@ -20166,11 +20179,28 @@ 290: ++ echo -n 'Testing tlsdesc-import ... ' 290: Testing tlsdesc-import ... ++ t=out/test/elf/x86_64/tlsdesc-import 290: ++ mkdir -p out/test/elf/x86_64/tlsdesc-import -291: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tlsdesc-initial-exec.sh -287: + cat 290: + supports_tlsdesc 290: + '[' x86_64 = arm ']' 290: + '[' -n -mtls-dialect=gnu2 ']' +290: + cat +290: + gcc -fPIC -c -o out/test/elf/x86_64/tlsdesc-import/a.o -xc - -mtls-dialect=gnu2 +276: + out/test/elf/x86_64/tls-gd-to-ie/exe4 +276: + grep -q '1 2 3' +276: + on_exit +276: + echo OK +276: OK +276: + exit 0 +279/357 Test #276: x86_64-tls-gd-to-ie ........................ Passed 0.58 sec +test 291 + Start 291: x86_64-tlsdesc-initial-exec + +291: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/tlsdesc-initial-exec.sh" +291: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +291: Environment variables: +291: MACHINE=x86_64 +291: CPU= +291: Test timeout computed to be: 1500 +291: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tlsdesc-initial-exec.sh 291: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 291: ++ export LC_ALL=C 291: ++ LC_ALL=C @@ -20189,49 +20219,34 @@ 291: ++ tlsdesc_opt=-mtls-dialect=gnu2 291: ++ trap 'on_error $LINENO' ERR 291: ++ trap on_exit EXIT -290: + cat -290: + gcc -fPIC -c -o out/test/elf/x86_64/tlsdesc-import/a.o -xc - -mtls-dialect=gnu2 291: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tlsdesc-initial-exec.sh .sh -287: + cc -xc -c -o out/test/elf/x86_64/tls-pic/b.o - 291: ++ testname=tlsdesc-initial-exec 291: ++ echo -n 'Testing tlsdesc-initial-exec ... ' 291: Testing tlsdesc-initial-exec ... ++ t=out/test/elf/x86_64/tlsdesc-initial-exec 291: ++ mkdir -p out/test/elf/x86_64/tlsdesc-initial-exec -286: + cc -B. -o out/test/elf/x86_64/tls-nopic/exe out/test/elf/x86_64/tls-nopic/a.o out/test/elf/x86_64/tls-nopic/b.o -no-pie -289: + cc -B. -shared -o out/test/elf/x86_64/tlsdesc-dlopen/b.so out/test/elf/x86_64/tlsdesc-dlopen/a.o -276: + out/test/elf/x86_64/tls-gd-to-ie/exe2 291: + supports_tlsdesc -276: + grep -q '1 2 3' 291: + '[' x86_64 = arm ']' 291: + '[' -n -mtls-dialect=gnu2 ']' 291: + cat 291: + gcc -fPIC -fPIC -c -o out/test/elf/x86_64/tlsdesc-initial-exec/a.o -xc - -mtls-dialect=gnu2 -276: + cc -B. -shared -o out/test/elf/x86_64/tls-gd-to-ie/e.so out/test/elf/x86_64/tls-gd-to-ie/a.o -Wl,-z,nodlopen +282: + cc -B. -o out/test/elf/x86_64/tls-ld-noplt/exe out/test/elf/x86_64/tls-ld-noplt/a.o out/test/elf/x86_64/tls-ld-noplt/b.o +286: + cat +286: + cc -xc -c -o out/test/elf/x86_64/tls-nopic/b.o - +283: + cc -B. -o out/test/elf/x86_64/tls-ld/exe1 out/test/elf/x86_64/tls-ld/a.o out/test/elf/x86_64/tls-ld/b.o -Wl,-relax +281: + cc -B. -o out/test/elf/x86_64/tls-large-static-image/exe out/test/elf/x86_64/tls-large-static-image/a.o out/test/elf/x86_64/tls-large-static-image/b.o +282: + out/test/elf/x86_64/tls-ld-noplt/exe +282: + grep -q '3 5 3 5' +282: + cc -B. -o out/test/elf/x86_64/tls-ld-noplt/exe out/test/elf/x86_64/tls-ld-noplt/a.o out/test/elf/x86_64/tls-ld-noplt/b.o -Wl,-no-relax 283: + out/test/elf/x86_64/tls-ld/exe1 -277: + out/test/elf/x86_64/tls-gd/exe1 -277: + grep -q '1 2 3 4 5 6' 283: + grep -q '3 5 3 5' 283: + cc -B. -o out/test/elf/x86_64/tls-ld/exe2 out/test/elf/x86_64/tls-ld/a.o out/test/elf/x86_64/tls-ld/b.o -Wl,-no-relax -277: + cc -B. -o out/test/elf/x86_64/tls-gd/exe2 out/test/elf/x86_64/tls-gd/a.o out/test/elf/x86_64/tls-gd/d.so out/test/elf/x86_64/tls-gd/e.so -Wl,-no-relax -280: + out/test/elf/x86_64/tls-large-alignment/exe1 -280: + grep -q '^42 1 2 3$' -275: + out/test/elf/x86_64/tls-gd-noplt/exe -275: + grep -q '1 2 3 4 5 6' -285: + out/test/elf/x86_64/tls-le/exe -280: + cc -B. -o out/test/elf/x86_64/tls-large-alignment/exe2 out/test/elf/x86_64/tls-large-alignment/c.o out/test/elf/x86_64/tls-large-alignment/d.so -285: + grep -q '3 5 3 5' -285: + cc -B. -o out/test/elf/x86_64/tls-le/exe out/test/elf/x86_64/tls-le/a.o out/test/elf/x86_64/tls-le/b.o -Wl,-no-relax -275: + cc -B. -o out/test/elf/x86_64/tls-gd-noplt/exe out/test/elf/x86_64/tls-gd-noplt/a.o out/test/elf/x86_64/tls-gd-noplt/d.so out/test/elf/x86_64/tls-gd-noplt/e.so -Wl,-no-relax -289: + cat -289: + gcc -fPIC -c -o out/test/elf/x86_64/tlsdesc-dlopen/c.o -xc - -mtls-dialect=gnu2 -276: + cc -B. -o out/test/elf/x86_64/tls-gd-to-ie/exe3 out/test/elf/x86_64/tls-gd-to-ie/b.o out/test/elf/x86_64/tls-gd-to-ie/e.so -286: + grep -q '3 5 3 5' -286: + out/test/elf/x86_64/tls-nopic/exe -286: + on_exit -286: + echo OK -286: OK -286: + exit 0 -280/357 Test #286: x86_64-tls-nopic ........................... Passed 0.15 sec +281: + out/test/elf/x86_64/tls-large-static-image/exe +281: + grep -q '^1 2 3 0 5$' +281: + on_exit +281: + echo OK +281: OK +281: + exit 0 +280/357 Test #281: x86_64-tls-large-static-image .............. Passed 0.45 sec test 292 Start 292: x86_64-tlsdesc-local-dynamic @@ -20241,26 +20256,7 @@ 292: MACHINE=x86_64 292: CPU= 292: Test timeout computed to be: 1500 -283: + grep -q '3 5 3 5' -283: + out/test/elf/x86_64/tls-ld/exe2 -287: + cc -B. -o out/test/elf/x86_64/tls-pic/exe out/test/elf/x86_64/tls-pic/a.o out/test/elf/x86_64/tls-pic/b.o -288: + cc -B. -shared -o out/test/elf/x86_64/tls-small-alignment/d.so out/test/elf/x86_64/tls-small-alignment/a.o out/test/elf/x86_64/tls-small-alignment/b.o -283: + on_exit -283: + echo OK -283: OK -283: + exit 0 292: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tlsdesc-local-dynamic.sh -281/357 Test #283: x86_64-tls-ld .............................. Passed 0.25 sec -test 293 - Start 293: x86_64-tlsdesc-static - -293: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/tlsdesc-static.sh" -293: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -293: Environment variables: -293: MACHINE=x86_64 -293: CPU= -293: Test timeout computed to be: 1500 -277: + grep -q '1 2 3 4 5 6' 292: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 292: ++ export LC_ALL=C 292: ++ LC_ALL=C @@ -20280,15 +20276,53 @@ 292: ++ trap 'on_error $LINENO' ERR 292: ++ trap on_exit EXIT 292: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tlsdesc-local-dynamic.sh .sh -275: + out/test/elf/x86_64/tls-gd-noplt/exe -291: + cc -B. -shared -o out/test/elf/x86_64/tlsdesc-initial-exec/b.so out/test/elf/x86_64/tlsdesc-initial-exec/a.o -277: + out/test/elf/x86_64/tls-gd/exe2 -275: + grep -q '1 2 3 4 5 6' +292: ++ testname=tlsdesc-local-dynamic +292: ++ echo -n 'Testing tlsdesc-local-dynamic ... ' +292: Testing tlsdesc-local-dynamic ... ++ t=out/test/elf/x86_64/tlsdesc-local-dynamic +292: ++ mkdir -p out/test/elf/x86_64/tlsdesc-local-dynamic +292: + supports_tlsdesc +292: + '[' x86_64 = arm ']' +292: + '[' -n -mtls-dialect=gnu2 ']' +292: + cat +292: + gcc -fPIC -ftls-model=local-dynamic -c -o out/test/elf/x86_64/tlsdesc-local-dynamic/a.o -xc - -mtls-dialect=gnu2 +282: + out/test/elf/x86_64/tls-ld-noplt/exe +282: + grep -q '3 5 3 5' +282: + on_exit +282: + echo OK +282: OK +282: + exit 0 +281/357 Test #282: x86_64-tls-ld-noplt ........................ Passed 0.47 sec +test 293 + Start 293: x86_64-tlsdesc-static + +293: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/tlsdesc-static.sh" +293: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +293: Environment variables: +293: MACHINE=x86_64 +293: CPU= +293: Test timeout computed to be: 1500 +283: + out/test/elf/x86_64/tls-ld/exe2 +283: + grep -q '3 5 3 5' +283: + on_exit +283: + echo OK +283: OK +283: + exit 0 +282/357 Test #283: x86_64-tls-ld .............................. Passed 0.45 sec +test 294 + Start 294: x86_64-tlsdesc + +294: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/tlsdesc.sh" +294: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +294: Environment variables: +294: MACHINE=x86_64 +294: CPU= +294: Test timeout computed to be: 1500 293: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tlsdesc-static.sh 293: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 293: ++ export LC_ALL=C 293: ++ LC_ALL=C 293: ++ '[' -z x86_64 ']' +291: + cc -B. -shared -o out/test/elf/x86_64/tlsdesc-initial-exec/b.so out/test/elf/x86_64/tlsdesc-initial-exec/a.o 293: ++ '[' -z '' ']' 293: ++ TESTDIR=out/test/elf/x86_64 293: ++ CC=cc @@ -20304,80 +20338,12 @@ 293: ++ trap 'on_error $LINENO' ERR 293: ++ trap on_exit EXIT 293: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tlsdesc-static.sh .sh -292: ++ testname=tlsdesc-local-dynamic -292: ++ echo -n 'Testing tlsdesc-local-dynamic ... ' -292: Testing tlsdesc-local-dynamic ... ++ t=out/test/elf/x86_64/tlsdesc-local-dynamic -292: ++ mkdir -p out/test/elf/x86_64/tlsdesc-local-dynamic -285: + out/test/elf/x86_64/tls-le/exe -285: + grep -q '3 5 3 5' -277: + test_cflags -static -275: + on_exit -277: + echo 'int main() {}' -292: + supports_tlsdesc -292: + '[' x86_64 = arm ']' -292: + '[' -n -mtls-dialect=gnu2 ']' -275: + echo OK -275: OK -275: + exit 0 +294: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tlsdesc.sh +280: + cc -B. -shared -o out/test/elf/x86_64/tls-large-alignment/d.so out/test/elf/x86_64/tls-large-alignment/a.o out/test/elf/x86_64/tls-large-alignment/b.o 293: ++ testname=tlsdesc-static 293: ++ echo -n 'Testing tlsdesc-static ... ' 293: Testing tlsdesc-static ... ++ t=out/test/elf/x86_64/tlsdesc-static 293: ++ mkdir -p out/test/elf/x86_64/tlsdesc-static -293: + supports_tlsdesc -293: + '[' x86_64 = arm ']' -293: + '[' -n -mtls-dialect=gnu2 ']' -293: + test_cflags -static -277: + cc -static -o /dev/null -xc - -282/357 Test #275: x86_64-tls-gd-noplt ........................ Passed 0.41 sec -test 294 - Start 294: x86_64-tlsdesc - -294: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/tlsdesc.sh" -294: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -294: Environment variables: -294: MACHINE=x86_64 -294: CPU= -294: Test timeout computed to be: 1500 -292: + cat -292: + gcc -fPIC -ftls-model=local-dynamic -c -o out/test/elf/x86_64/tlsdesc-local-dynamic/a.o -xc - -mtls-dialect=gnu2 -293: + cc -static -o /dev/null -xc - -293: + echo 'int main() {}' -285: + on_exit -285: + echo OK -285: OK -285: + exit 0 -280: + out/test/elf/x86_64/tls-large-alignment/exe2 -280: + grep -q '^42 1 2 3$' -280: + on_exit -280: + echo OK -280: OK -280: + exit 0 -276: + out/test/elf/x86_64/tls-gd-to-ie/exe3 -276: + grep -q '1 2 3' -283/357 Test #280: x86_64-tls-large-alignment ................. Passed 0.36 sec -test 295 - Start 295: x86_64-trace-symbol-symver - -295: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/trace-symbol-symver.sh" -295: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -295: Environment variables: -295: MACHINE=x86_64 -295: CPU= -295: Test timeout computed to be: 1500 -284/357 Test #285: x86_64-tls-le .............................. Passed 0.20 sec -test 296 - Start 296: x86_64-trace-symbol - -296: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/trace-symbol.sh" -296: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -296: Environment variables: -296: MACHINE=x86_64 -296: CPU= -296: Test timeout computed to be: 1500 -276: + cc -B. -shared -o out/test/elf/x86_64/tls-gd-to-ie/f.so out/test/elf/x86_64/tls-gd-to-ie/a.o -Wl,-z,nodlopen -Wl,-no-relax -290: + cat -290: + gcc -fPIC -shared -o out/test/elf/x86_64/tlsdesc-import/b.so -xc - -mtls-dialect=gnu2 -294: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tlsdesc.sh 294: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 294: ++ export LC_ALL=C 294: ++ LC_ALL=C @@ -20397,31 +20363,61 @@ 294: ++ trap 'on_error $LINENO' ERR 294: ++ trap on_exit EXIT 294: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/tlsdesc.sh .sh +293: + supports_tlsdesc +293: + '[' x86_64 = arm ']' +293: + '[' -n -mtls-dialect=gnu2 ']' +293: + test_cflags -static +293: + echo 'int main() {}' +289: + cc -B. -shared -o out/test/elf/x86_64/tlsdesc-dlopen/b.so out/test/elf/x86_64/tlsdesc-dlopen/a.o +293: + cc -static -o /dev/null -xc - 294: ++ testname=tlsdesc 294: ++ echo -n 'Testing tlsdesc ... ' 294: Testing tlsdesc ... ++ t=out/test/elf/x86_64/tlsdesc 294: ++ mkdir -p out/test/elf/x86_64/tlsdesc +294: + supports_tlsdesc +294: + '[' x86_64 = arm ']' +294: + '[' -n -mtls-dialect=gnu2 ']' +294: + cat +285: + cat +285: + gcc -fPIC -c -o out/test/elf/x86_64/tls-le/b.o -xc - +294: + gcc -fPIC -c -o out/test/elf/x86_64/tlsdesc/a.o -xc - -mtls-dialect=gnu2 +287: + cat +287: + cc -xc -c -o out/test/elf/x86_64/tls-pic/b.o - +277: + cc -B. -shared -o out/test/elf/x86_64/tls-gd/d.so out/test/elf/x86_64/tls-gd/b.o +290: + cat +290: + gcc -fPIC -shared -o out/test/elf/x86_64/tlsdesc-import/b.so -xc - -mtls-dialect=gnu2 +288: + cat +288: + cc -fPIC -c -o out/test/elf/x86_64/tls-small-alignment/c.o -xc - +292: + cat +286: + cc -B. -o out/test/elf/x86_64/tls-nopic/exe out/test/elf/x86_64/tls-nopic/a.o out/test/elf/x86_64/tls-nopic/b.o -no-pie +292: + gcc -fPIC -ftls-model=local-dynamic -c -o out/test/elf/x86_64/tlsdesc-local-dynamic/b.o -xc - -mtls-dialect=gnu2 +280: + cc -B. -o out/test/elf/x86_64/tls-large-alignment/exe1 out/test/elf/x86_64/tls-large-alignment/a.o out/test/elf/x86_64/tls-large-alignment/b.o out/test/elf/x86_64/tls-large-alignment/c.o 291: + cat 291: + gcc -fPIC -fPIC -c -o out/test/elf/x86_64/tlsdesc-initial-exec/c.o -xc - -mtls-dialect=gnu2 -287: + out/test/elf/x86_64/tls-pic/exe -287: + grep -q '3 5 3 5' -287: + on_exit -287: + echo OK -287: OK -287: + exit 0 -285/357 Test #287: x86_64-tls-pic ............................. Passed 0.19 sec -test 297 - Start 297: x86_64-trace +289: + cat +289: + gcc -fPIC -c -o out/test/elf/x86_64/tlsdesc-dlopen/c.o -xc - -mtls-dialect=gnu2 +277: + cc -B. -shared -o out/test/elf/x86_64/tls-gd/e.so out/test/elf/x86_64/tls-gd/c.o -Wl,--no-relax +286: + out/test/elf/x86_64/tls-nopic/exe +286: + grep -q '3 5 3 5' +286: + on_exit +286: + echo OK +286: OK +286: + exit 0 +283/357 Test #286: x86_64-tls-nopic ........................... Passed 0.23 sec +test 295 + Start 295: x86_64-trace-symbol-symver -297: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/trace.sh" -297: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -297: Environment variables: -297: MACHINE=x86_64 -297: CPU= -297: Test timeout computed to be: 1500 -288: + cc -B. -o out/test/elf/x86_64/tls-small-alignment/exe1 out/test/elf/x86_64/tls-small-alignment/a.o out/test/elf/x86_64/tls-small-alignment/b.o out/test/elf/x86_64/tls-small-alignment/c.o +295: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/trace-symbol-symver.sh" +295: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +295: Environment variables: +295: MACHINE=x86_64 +295: CPU= +295: Test timeout computed to be: 1500 +280: + out/test/elf/x86_64/tls-large-alignment/exe1 +280: + grep -q '^42 1 2 3$' 295: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/trace-symbol-symver.sh 295: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc +280: + cc -B. -o out/test/elf/x86_64/tls-large-alignment/exe2 out/test/elf/x86_64/tls-large-alignment/c.o out/test/elf/x86_64/tls-large-alignment/d.so 295: ++ export LC_ALL=C 295: ++ LC_ALL=C 295: ++ '[' -z x86_64 ']' @@ -20444,14 +20440,57 @@ 295: ++ echo -n 'Testing trace-symbol-symver ... ' 295: Testing trace-symbol-symver ... ++ t=out/test/elf/x86_64/trace-symbol-symver 295: ++ mkdir -p out/test/elf/x86_64/trace-symbol-symver -294: + supports_tlsdesc -294: + '[' x86_64 = arm ']' -294: + '[' -n -mtls-dialect=gnu2 ']' -294: + cat -294: + gcc -fPIC -c -o out/test/elf/x86_64/tlsdesc/a.o -xc - -mtls-dialect=gnu2 -295: + cat 295: + cc -c -o out/test/elf/x86_64/trace-symbol-symver/a.o -xc - +295: + cat +287: + cc -B. -o out/test/elf/x86_64/tls-pic/exe out/test/elf/x86_64/tls-pic/a.o out/test/elf/x86_64/tls-pic/b.o +277: + cc -B. -o out/test/elf/x86_64/tls-gd/exe1 out/test/elf/x86_64/tls-gd/a.o out/test/elf/x86_64/tls-gd/d.so out/test/elf/x86_64/tls-gd/e.so +294: + cat +294: + gcc -fPIC -c -o out/test/elf/x86_64/tlsdesc/b.o -xc - -mtls-dialect=gnu2 +285: + cc -B. -o out/test/elf/x86_64/tls-le/exe out/test/elf/x86_64/tls-le/a.o out/test/elf/x86_64/tls-le/b.o +291: + cat +291: + gcc -fPIC -fPIE -c -o out/test/elf/x86_64/tlsdesc-initial-exec/d.o -xc - -mtls-dialect=gnu2 +292: + cc -B. -o out/test/elf/x86_64/tlsdesc-local-dynamic/exe1 out/test/elf/x86_64/tlsdesc-local-dynamic/a.o out/test/elf/x86_64/tlsdesc-local-dynamic/b.o +288: + cc -B. -shared -o out/test/elf/x86_64/tls-small-alignment/d.so out/test/elf/x86_64/tls-small-alignment/a.o out/test/elf/x86_64/tls-small-alignment/b.o +280: + out/test/elf/x86_64/tls-large-alignment/exe2 +280: + grep -q '^42 1 2 3$' +277: + out/test/elf/x86_64/tls-gd/exe1 +277: + grep -q '1 2 3 4 5 6' +280: + on_exit +280: + echo OK +280: OK +280: + exit 0 +277: + cc -B. -o out/test/elf/x86_64/tls-gd/exe2 out/test/elf/x86_64/tls-gd/a.o out/test/elf/x86_64/tls-gd/d.so out/test/elf/x86_64/tls-gd/e.so -Wl,-no-relax +284/357 Test #280: x86_64-tls-large-alignment ................. Passed 0.65 sec +test 296 + Start 296: x86_64-trace-symbol + +296: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/trace-symbol.sh" +296: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +296: Environment variables: +296: MACHINE=x86_64 +296: CPU= +296: Test timeout computed to be: 1500 +287: + out/test/elf/x86_64/tls-pic/exe +287: + grep -q '3 5 3 5' +287: + on_exit +287: + echo OK +287: OK +287: + exit 0 +289: + cc -B. -o out/test/elf/x86_64/tlsdesc-dlopen/exe out/test/elf/x86_64/tlsdesc-dlopen/c.o -ldl +285: + out/test/elf/x86_64/tls-le/exe +285: + grep -q '3 5 3 5' +285: + cc -B. -o out/test/elf/x86_64/tls-le/exe out/test/elf/x86_64/tls-le/a.o out/test/elf/x86_64/tls-le/b.o -Wl,-no-relax 296: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/trace-symbol.sh +285/357 Test #287: x86_64-tls-pic ............................. Passed 0.33 sec +test 297 + Start 297: x86_64-trace + +297: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/trace.sh" +297: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +297: Environment variables: +297: MACHINE=x86_64 +297: CPU= +297: Test timeout computed to be: 1500 296: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 296: ++ export LC_ALL=C 296: ++ LC_ALL=C @@ -20471,6 +20510,16 @@ 296: ++ trap 'on_error $LINENO' ERR 296: ++ trap on_exit EXIT 296: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/trace-symbol.sh .sh +296: ++ testname=trace-symbol +296: ++ echo -n 'Testing trace-symbol ... ' +296: Testing trace-symbol ... ++ t=out/test/elf/x86_64/trace-symbol +296: ++ mkdir -p out/test/elf/x86_64/trace-symbol +292: + out/test/elf/x86_64/tlsdesc-local-dynamic/exe1 +292: + grep -q '42 5' +292: + cc -B. -o out/test/elf/x86_64/tlsdesc-local-dynamic/exe2 out/test/elf/x86_64/tlsdesc-local-dynamic/a.o out/test/elf/x86_64/tlsdesc-local-dynamic/b.o -Wl,--no-relax +296: + cat +296: + cc -c -o out/test/elf/x86_64/trace-symbol/a.o -xc - +288: + cc -B. -o out/test/elf/x86_64/tls-small-alignment/exe1 out/test/elf/x86_64/tls-small-alignment/a.o out/test/elf/x86_64/tls-small-alignment/b.o out/test/elf/x86_64/tls-small-alignment/c.o 297: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/trace.sh 297: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 297: ++ export LC_ALL=C @@ -20490,43 +20539,27 @@ 297: ++ tlsdesc_opt=-mtls-dialect=gnu2 297: ++ trap 'on_error $LINENO' ERR 297: ++ trap on_exit EXIT -296: ++ testname=trace-symbol -296: ++ echo -n 'Testing trace-symbol ... ' -296: Testing trace-symbol ... ++ t=out/test/elf/x86_64/trace-symbol -296: ++ mkdir -p out/test/elf/x86_64/trace-symbol 297: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/trace.sh .sh -296: + cat 297: ++ testname=trace 297: ++ echo -n 'Testing trace ... ' 297: Testing trace ... ++ t=out/test/elf/x86_64/trace 297: ++ mkdir -p out/test/elf/x86_64/trace -296: + cc -c -o out/test/elf/x86_64/trace-symbol/a.o -xc - 297: + cat 297: + cc -c -o out/test/elf/x86_64/trace/a.o -xc - -276: + cc -B. -o out/test/elf/x86_64/tls-gd-to-ie/exe4 out/test/elf/x86_64/tls-gd-to-ie/b.o out/test/elf/x86_64/tls-gd-to-ie/f.so -288: + out/test/elf/x86_64/tls-small-alignment/exe1 -288: + grep -q '^42$' -289: + cc -B. -o out/test/elf/x86_64/tlsdesc-dlopen/exe out/test/elf/x86_64/tlsdesc-dlopen/c.o -ldl -288: + cc -B. -o out/test/elf/x86_64/tls-small-alignment/exe2 out/test/elf/x86_64/tls-small-alignment/c.o out/test/elf/x86_64/tls-small-alignment/d.so -291: + cat -291: + gcc -fPIC -fPIE -c -o out/test/elf/x86_64/tlsdesc-initial-exec/d.o -xc - -mtls-dialect=gnu2 -294: + cat -294: + gcc -fPIC -c -o out/test/elf/x86_64/tlsdesc/b.o -xc - -mtls-dialect=gnu2 -295: + cat -295: + cc -B. -o out/test/elf/x86_64/trace-symbol-symver/c.so -shared out/test/elf/x86_64/trace-symbol-symver/a.o -Wl,--version-script=out/test/elf/x86_64/trace-symbol-symver/b.version -Wl,--trace-symbol=foo@VER1 -292: + gcc -fPIC -ftls-model=local-dynamic -c -o out/test/elf/x86_64/tlsdesc-local-dynamic/b.o -xc - -mtls-dialect=gnu2 -292: + cat -288: + out/test/elf/x86_64/tls-small-alignment/exe2 -288: + grep -q '^42$' -276: + out/test/elf/x86_64/tls-gd-to-ie/exe4 -276: + grep -q '1 2 3' +277: + out/test/elf/x86_64/tls-gd/exe2 +277: + grep -q '1 2 3 4 5 6' +285: + out/test/elf/x86_64/tls-le/exe +285: + grep -q '3 5 3 5' +277: + test_cflags -static 289: + out/test/elf/x86_64/tlsdesc-dlopen/exe out/test/elf/x86_64/tlsdesc-dlopen/b.so 289: + grep -q '3 0 5' -288: + on_exit -288: + echo OK -288: OK -288: + exit 0 -286/357 Test #288: x86_64-tls-small-alignment ................. Passed 0.23 sec +277: + cc -static -o /dev/null -xc - +285: + on_exit +285: + echo OK +285: OK +285: + exit 0 +277: + echo 'int main() {}' +286/357 Test #285: x86_64-tls-le .............................. Passed 0.57 sec test 298 Start 298: x86_64-undefined @@ -20536,15 +20569,15 @@ 298: MACHINE=x86_64 298: CPU= 298: Test timeout computed to be: 1500 -276: + on_exit -276: + echo OK -276: OK -276: + exit 0 289: + on_exit 289: + echo OK 289: OK 289: + exit 0 -287/357 Test #276: x86_64-tls-gd-to-ie ........................ Passed 0.49 sec +292: + out/test/elf/x86_64/tlsdesc-local-dynamic/exe2 +292: + grep -q '42 5' +288: + out/test/elf/x86_64/tls-small-alignment/exe1 +288: + grep -q '^42$' +287/357 Test #289: x86_64-tlsdesc-dlopen ...................... Passed 0.34 sec test 299 Start 299: x86_64-undefined2 @@ -20554,17 +20587,11 @@ 299: MACHINE=x86_64 299: CPU= 299: Test timeout computed to be: 1500 -288/357 Test #289: x86_64-tlsdesc-dlopen ...................... Passed 0.22 sec -test 300 - Start 300: x86_64-unkown-section-type - -300: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/unkown-section-type.sh" -300: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -300: Environment variables: -300: MACHINE=x86_64 -300: CPU= -300: Test timeout computed to be: 1500 -290: + cc -B. -o out/test/elf/x86_64/tlsdesc-import/exe out/test/elf/x86_64/tlsdesc-import/a.o out/test/elf/x86_64/tlsdesc-import/b.so +292: + on_exit +292: + echo OK +292: OK +292: + exit 0 +288: + cc -B. -o out/test/elf/x86_64/tls-small-alignment/exe2 out/test/elf/x86_64/tls-small-alignment/c.o out/test/elf/x86_64/tls-small-alignment/d.so 298: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/undefined.sh 298: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 298: ++ export LC_ALL=C @@ -20584,6 +20611,16 @@ 298: ++ tlsdesc_opt=-mtls-dialect=gnu2 298: ++ trap 'on_error $LINENO' ERR 298: ++ trap on_exit EXIT +288/357 Test #292: x86_64-tlsdesc-local-dynamic ............... Passed 0.23 sec +test 300 + Start 300: x86_64-unkown-section-type + +300: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/unkown-section-type.sh" +300: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +300: Environment variables: +300: MACHINE=x86_64 +300: CPU= +300: Test timeout computed to be: 1500 298: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/undefined.sh .sh 298: ++ testname=undefined 298: ++ echo -n 'Testing undefined ... ' @@ -20591,8 +20628,8 @@ 298: ++ mkdir -p out/test/elf/x86_64/undefined 298: + test_cflags -static 298: + echo 'int main() {}' -299: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/undefined2.sh 298: + cc -static -o /dev/null -xc - +299: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/undefined2.sh 299: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 299: ++ export LC_ALL=C 299: ++ LC_ALL=C @@ -20611,10 +20648,12 @@ 299: ++ tlsdesc_opt=-mtls-dialect=gnu2 299: ++ trap 'on_error $LINENO' ERR 299: ++ trap on_exit EXIT -295: + cat -295: + cc -c -o out/test/elf/x86_64/trace-symbol-symver/d.o -xc - -300: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/unkown-section-type.sh 299: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/undefined2.sh .sh +300: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/unkown-section-type.sh +299: ++ testname=undefined2 +299: ++ echo -n 'Testing undefined2 ... ' +299: Testing undefined2 ... ++ t=out/test/elf/x86_64/undefined2 +299: ++ mkdir -p out/test/elf/x86_64/undefined2 300: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 300: ++ export LC_ALL=C 300: ++ LC_ALL=C @@ -20634,35 +20673,24 @@ 300: ++ trap 'on_error $LINENO' ERR 300: ++ trap on_exit EXIT 300: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/unkown-section-type.sh .sh -299: ++ testname=undefined2 -299: ++ echo -n 'Testing undefined2 ... ' -299: Testing undefined2 ... ++ t=out/test/elf/x86_64/undefined2 -299: ++ mkdir -p out/test/elf/x86_64/undefined2 299: + test_cflags -static +299: + echo 'int main() {}' +299: + cc -static -o /dev/null -xc - 300: ++ testname=unkown-section-type 300: ++ echo -n 'Testing unkown-section-type ... ' 300: Testing unkown-section-type ... ++ t=out/test/elf/x86_64/unkown-section-type 300: ++ mkdir -p out/test/elf/x86_64/unkown-section-type -299: + echo 'int main() {}' -299: + cc -static -o /dev/null -xc - 300: + cat 300: + cc -o out/test/elf/x86_64/unkown-section-type/a.o -c -xassembler - 300: + cc -B. -o out/test/elf/x86_64/unkown-section-type/exe out/test/elf/x86_64/unkown-section-type/a.o -291: + cc -B. -o out/test/elf/x86_64/tlsdesc-initial-exec/exe1 out/test/elf/x86_64/tlsdesc-initial-exec/c.o out/test/elf/x86_64/tlsdesc-initial-exec/d.o out/test/elf/x86_64/tlsdesc-initial-exec/b.so -296: + cc -c -o out/test/elf/x86_64/trace-symbol/b.o -xc - -296: + cat -297: + cc -B. -o out/test/elf/x86_64/trace/exe out/test/elf/x86_64/trace/a.o -Wl,-trace -293: + cat -293: + gcc -fPIC -c -o out/test/elf/x86_64/tlsdesc-static/a.o -xc - -mtls-dialect=gnu2 -290: + out/test/elf/x86_64/tlsdesc-import/exe -290: + grep -q '5 7' -294: + cc -B. -o out/test/elf/x86_64/tlsdesc/exe1 out/test/elf/x86_64/tlsdesc/a.o out/test/elf/x86_64/tlsdesc/b.o -292: + cc -B. -o out/test/elf/x86_64/tlsdesc-local-dynamic/exe1 out/test/elf/x86_64/tlsdesc-local-dynamic/a.o out/test/elf/x86_64/tlsdesc-local-dynamic/b.o -290: + on_exit -290: + echo OK -290: OK -290: + exit 0 -289/357 Test #290: x86_64-tlsdesc-import ...................... Passed 0.23 sec +290: + cc -B. -o out/test/elf/x86_64/tlsdesc-import/exe out/test/elf/x86_64/tlsdesc-import/a.o out/test/elf/x86_64/tlsdesc-import/b.so +288: + out/test/elf/x86_64/tls-small-alignment/exe2 +288: + grep -q '^42$' +288: + on_exit +288: + echo OK +288: OK +288: + exit 0 +289/357 Test #288: x86_64-tls-small-alignment ................. Passed 0.39 sec test 301 Start 301: x86_64-unresolved-symbols @@ -20673,11 +20701,12 @@ 301: CPU= 301: Test timeout computed to be: 1500 300: + grep -q 'unsupported section type: 0x80000000' out/test/elf/x86_64/unkown-section-type/log1 +301: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/unresolved-symbols.sh 300: + on_exit 300: + echo OK 300: OK 300: + exit 0 -290/357 Test #300: x86_64-unkown-section-type ................. Passed 0.05 sec +290/357 Test #300: x86_64-unkown-section-type ................. Passed 0.03 sec test 302 Start 302: x86_64-verbose @@ -20687,10 +20716,32 @@ 302: MACHINE=x86_64 302: CPU= 302: Test timeout computed to be: 1500 -301: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/unresolved-symbols.sh -302: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/verbose.sh 301: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 301: ++ export LC_ALL=C +301: ++ LC_ALL=C +301: ++ '[' -z x86_64 ']' +301: ++ '[' -z '' ']' +301: ++ TESTDIR=out/test/elf/x86_64 +301: ++ CC=cc +301: ++ CXX=c++ +301: ++ GCC=gcc +301: ++ GXX=g++ +301: ++ OBJDUMP=objdump +301: ++ OBJCOPY=objcopy +301: ++ STRIP=strip +301: ++ QEMU= +301: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' +301: ++ tlsdesc_opt=-mtls-dialect=gnu2 +301: ++ trap 'on_error $LINENO' ERR +301: ++ trap on_exit EXIT +301: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/unresolved-symbols.sh .sh +301: ++ testname=unresolved-symbols +301: ++ echo -n 'Testing unresolved-symbols ... ' +301: Testing unresolved-symbols ... ++ t=out/test/elf/x86_64/unresolved-symbols +301: ++ mkdir -p out/test/elf/x86_64/unresolved-symbols +302: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/verbose.sh +301: + cat +301: + cc -c -o out/test/elf/x86_64/unresolved-symbols/a.o -xc - 302: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 302: ++ export LC_ALL=C 302: ++ LC_ALL=C @@ -20710,47 +20761,24 @@ 302: ++ trap 'on_error $LINENO' ERR 302: ++ trap on_exit EXIT 302: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/verbose.sh .sh -301: ++ LC_ALL=C -301: ++ '[' -z x86_64 ']' -301: ++ '[' -z '' ']' -301: ++ TESTDIR=out/test/elf/x86_64 -301: ++ CC=cc -301: ++ CXX=c++ -301: ++ GCC=gcc -301: ++ GXX=g++ -301: ++ OBJDUMP=objdump -301: ++ OBJCOPY=objcopy -301: ++ STRIP=strip -301: ++ QEMU= -301: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' -301: ++ tlsdesc_opt=-mtls-dialect=gnu2 -301: ++ trap 'on_error $LINENO' ERR -301: ++ trap on_exit EXIT 302: ++ testname=verbose 302: ++ echo -n 'Testing verbose ... ' 302: Testing verbose ... ++ t=out/test/elf/x86_64/verbose 302: ++ mkdir -p out/test/elf/x86_64/verbose -301: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/unresolved-symbols.sh .sh -295: + cc -B. -o out/test/elf/x86_64/trace-symbol-symver/exe out/test/elf/x86_64/trace-symbol-symver/d.o out/test/elf/x86_64/trace-symbol-symver/c.so -Wl,--trace-symbol=foo@VER1 -297: + grep -q '/a\.o$' out/test/elf/x86_64/trace/log -291: + out/test/elf/x86_64/tlsdesc-initial-exec/exe1 -291: + grep -q '^5 5 5$' -301: ++ testname=unresolved-symbols -301: ++ echo -n 'Testing unresolved-symbols ... ' -301: Testing unresolved-symbols ... ++ t=out/test/elf/x86_64/unresolved-symbols -301: ++ mkdir -p out/test/elf/x86_64/unresolved-symbols 302: + cat -291: + readelf -Wr out/test/elf/x86_64/tlsdesc-initial-exec/exe1 -297: + on_exit -297: + echo OK -297: OK -297: + exit 0 -301: + cat 302: + cc -c -xc -o out/test/elf/x86_64/verbose/a.o - -301: + cc -c -o out/test/elf/x86_64/unresolved-symbols/a.o -xc - -291: + grep -Eq 'TLS.?DESC' out/test/elf/x86_64/tlsdesc-initial-exec/log1 -294: + out/test/elf/x86_64/tlsdesc/exe1 -291/357 Test #297: x86_64-trace ............................... Passed 0.13 sec +296: + cat +296: + cc -c -o out/test/elf/x86_64/trace-symbol/b.o -xc - +290: + out/test/elf/x86_64/tlsdesc-import/exe +290: + grep -q '5 7' +295: + cat +294: + cc -B. -o out/test/elf/x86_64/tlsdesc/exe1 out/test/elf/x86_64/tlsdesc/a.o out/test/elf/x86_64/tlsdesc/b.o +297: + cc -B. -o out/test/elf/x86_64/trace/exe out/test/elf/x86_64/trace/a.o -Wl,-trace +290: + on_exit +290: + echo OK +290: OK +290: + exit 0 +291/357 Test #290: x86_64-tlsdesc-import ...................... Passed 0.45 sec test 303 Start 303: x86_64-version-script-search-paths @@ -20760,12 +20788,13 @@ 303: MACHINE=x86_64 303: CPU= 303: Test timeout computed to be: 1500 -294: + grep -q '42 3 5' -294: + cc -B. -o out/test/elf/x86_64/tlsdesc/exe2 out/test/elf/x86_64/tlsdesc/a.o out/test/elf/x86_64/tlsdesc/b.o -Wl,-no-relax -291: + cc -B. -o out/test/elf/x86_64/tlsdesc-initial-exec/exe1 out/test/elf/x86_64/tlsdesc-initial-exec/c.o out/test/elf/x86_64/tlsdesc-initial-exec/d.o out/test/elf/x86_64/tlsdesc-initial-exec/b.so -Wl,--no-relax -292: + out/test/elf/x86_64/tlsdesc-local-dynamic/exe1 -292: + grep -q '42 5' -292: + cc -B. -o out/test/elf/x86_64/tlsdesc-local-dynamic/exe2 out/test/elf/x86_64/tlsdesc-local-dynamic/a.o out/test/elf/x86_64/tlsdesc-local-dynamic/b.o -Wl,--no-relax +291: + cc -B. -o out/test/elf/x86_64/tlsdesc-initial-exec/exe1 out/test/elf/x86_64/tlsdesc-initial-exec/c.o out/test/elf/x86_64/tlsdesc-initial-exec/d.o out/test/elf/x86_64/tlsdesc-initial-exec/b.so +295: + cc -B. -o out/test/elf/x86_64/trace-symbol-symver/c.so -shared out/test/elf/x86_64/trace-symbol-symver/a.o -Wl,--version-script=out/test/elf/x86_64/trace-symbol-symver/b.version -Wl,--trace-symbol=foo@VER1 +293: + gcc -fPIC -c -o out/test/elf/x86_64/tlsdesc-static/a.o -xc - -mtls-dialect=gnu2 +293: + cat +302: + cc -B. -Wl,--verbose -o out/test/elf/x86_64/verbose/exe out/test/elf/x86_64/verbose/a.o +301: + grep -q 'undefined.*foo' +301: + cc -B. -o out/test/elf/x86_64/unresolved-symbols/exe out/test/elf/x86_64/unresolved-symbols/a.o 303: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script-search-paths.sh 303: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 303: ++ export LC_ALL=C @@ -20794,13 +20823,13 @@ 303: + echo 'ver_x { global: *; };' 303: + cat 303: + cc -B. -shared -o out/test/elf/x86_64/version-script-search-paths/c.so -Wl,-Lout/test/elf/x86_64/version-script-search-paths/foo/bar -Wl,-version-script,a.ver out/test/elf/x86_64/version-script-search-paths/b.s -295: + out/test/elf/x86_64/trace-symbol-symver/exe -296: + cat -295: + on_exit -295: + echo OK -295: OK -295: + exit 0 -292/357 Test #295: x86_64-trace-symbol-symver ................. Passed 0.16 sec +297: + grep -q '/a\.o$' out/test/elf/x86_64/trace/log +294: + out/test/elf/x86_64/tlsdesc/exe1 +297: + on_exit +297: + echo OK +297: OK +297: + exit 0 +292/357 Test #297: x86_64-trace ............................... Passed 0.33 sec test 304 Start 304: x86_64-version-script @@ -20810,45 +20839,11 @@ 304: MACHINE=x86_64 304: CPU= 304: Test timeout computed to be: 1500 -296: + cc -shared -o out/test/elf/x86_64/trace-symbol/c.so -xc - -291: + grep -q '^5 5 5$' 291: + out/test/elf/x86_64/tlsdesc-initial-exec/exe1 -293: + cat -293: + gcc -fPIC -c -o out/test/elf/x86_64/tlsdesc-static/b.o -xc - -mtls-dialect=gnu2 -277: + cc -B. -o out/test/elf/x86_64/tls-gd/exe3 out/test/elf/x86_64/tls-gd/a.o out/test/elf/x86_64/tls-gd/b.o out/test/elf/x86_64/tls-gd/c.o -static -294: + grep -q '42 3 5' -294: + out/test/elf/x86_64/tlsdesc/exe2 -298: + cat -298: + cc -o out/test/elf/x86_64/undefined/a.o -c -x assembler - +291: + grep -q '^5 5 5$' 291: + readelf -Wr out/test/elf/x86_64/tlsdesc-initial-exec/exe1 -292: + out/test/elf/x86_64/tlsdesc-local-dynamic/exe2 -294: + cc -B. -shared -o out/test/elf/x86_64/tlsdesc/c.so out/test/elf/x86_64/tlsdesc/a.o -292: + grep -q '42 5' -301: + cc -B. -o out/test/elf/x86_64/unresolved-symbols/exe out/test/elf/x86_64/unresolved-symbols/a.o -301: + grep -q 'undefined.*foo' -291: + grep -Eq 'TLS.?DESC' out/test/elf/x86_64/tlsdesc-initial-exec/log2 -298: + cat -298: + cc -o out/test/elf/x86_64/undefined/b.o -c -x assembler - 304: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script.sh -292: + on_exit -292: + echo OK -292: OK -292: + exit 0 -302: + cc -B. -Wl,--verbose -o out/test/elf/x86_64/verbose/exe out/test/elf/x86_64/verbose/a.o -293/357 Test #292: x86_64-tlsdesc-local-dynamic ............... Passed 0.21 sec -test 305 - Start 305: x86_64-version-script10 - -305: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script10.sh" -305: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -305: Environment variables: -305: MACHINE=x86_64 -305: CPU= -305: Test timeout computed to be: 1500 -291: + on_exit -291: + echo OK -291: OK -291: + exit 0 +294: + grep -q '42 3 5' 304: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 304: ++ export LC_ALL=C 304: ++ LC_ALL=C @@ -20867,27 +20862,36 @@ 304: ++ tlsdesc_opt=-mtls-dialect=gnu2 304: ++ trap 'on_error $LINENO' ERR 304: ++ trap on_exit EXIT +295: + cat +295: + cc -c -o out/test/elf/x86_64/trace-symbol-symver/d.o -xc - 304: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script.sh .sh +291: + grep -Eq 'TLS.?DESC' out/test/elf/x86_64/tlsdesc-initial-exec/log1 +294: + cc -B. -o out/test/elf/x86_64/tlsdesc/exe2 out/test/elf/x86_64/tlsdesc/a.o out/test/elf/x86_64/tlsdesc/b.o -Wl,-no-relax 304: ++ testname=version-script 304: ++ echo -n 'Testing version-script ... ' 304: Testing version-script ... ++ t=out/test/elf/x86_64/version-script 304: ++ mkdir -p out/test/elf/x86_64/version-script -294/357 Test #291: x86_64-tlsdesc-initial-exec ................ Passed 0.29 sec -test 306 - Start 306: x86_64-version-script11 - -306: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script11.sh" -306: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -306: Environment variables: -306: MACHINE=x86_64 -306: CPU= -306: Test timeout computed to be: 1500 +301: + grep -q 'undefined.*foo' +301: + cc -B. -o out/test/elf/x86_64/unresolved-symbols/exe out/test/elf/x86_64/unresolved-symbols/a.o -Wl,-unresolved-symbols=report-all +291: + cc -B. -o out/test/elf/x86_64/tlsdesc-initial-exec/exe1 out/test/elf/x86_64/tlsdesc-initial-exec/c.o out/test/elf/x86_64/tlsdesc-initial-exec/d.o out/test/elf/x86_64/tlsdesc-initial-exec/b.so -Wl,--no-relax 304: + echo 'ver_x { global: *; };' 304: + cat 304: + cc -B. -shared -o out/test/elf/x86_64/version-script/c.so -Wl,-version-script,out/test/elf/x86_64/version-script/a.ver out/test/elf/x86_64/version-script/b.s -298: + cat +302: + on_exit +302: + echo OK +302: OK +302: + exit 0 +293/357 Test #302: x86_64-verbose ............................. Passed 0.29 sec +test 305 + Start 305: x86_64-version-script10 + +305: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script10.sh" +305: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +305: Environment variables: +305: MACHINE=x86_64 +305: CPU= +305: Test timeout computed to be: 1500 305: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script10.sh -298: + cc -o out/test/elf/x86_64/undefined/c.o -c -x assembler - 305: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 305: ++ export LC_ALL=C 305: ++ LC_ALL=C @@ -20906,17 +20910,58 @@ 305: ++ tlsdesc_opt=-mtls-dialect=gnu2 305: ++ trap 'on_error $LINENO' ERR 305: ++ trap on_exit EXIT -306: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script11.sh 305: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script10.sh .sh -306: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc -306: ++ export LC_ALL=C -306: ++ LC_ALL=C -306: ++ '[' -z x86_64 ']' 305: ++ testname=version-script10 305: ++ echo -n 'Testing version-script10 ... ' 305: Testing version-script10 ... ++ t=out/test/elf/x86_64/version-script10 +299: + cat 305: ++ mkdir -p out/test/elf/x86_64/version-script10 +299: + cc -o out/test/elf/x86_64/undefined2/a.o -c -x assembler - +277: + cc -B. -o out/test/elf/x86_64/tls-gd/exe3 out/test/elf/x86_64/tls-gd/a.o out/test/elf/x86_64/tls-gd/b.o out/test/elf/x86_64/tls-gd/c.o -static +305: + echo 'VER1 { foo[12]; }; VER2 {};' +305: + cat +305: + cc -B. -shared -o out/test/elf/x86_64/version-script10/c.so -Wl,-version-script,out/test/elf/x86_64/version-script10/a.ver out/test/elf/x86_64/version-script10/b.s +298: + cc -o out/test/elf/x86_64/undefined/a.o -c -x assembler - +298: + cat +299: + cat +299: + cc -o out/test/elf/x86_64/undefined2/b.o -c -x assembler - +298: + cc -o out/test/elf/x86_64/undefined/b.o -c -x assembler - +298: + cat +294: + out/test/elf/x86_64/tlsdesc/exe2 +294: + grep -q '42 3 5' +299: + cat +299: + cc -o out/test/elf/x86_64/undefined2/c.o -c -x assembler - +294: + cc -B. -shared -o out/test/elf/x86_64/tlsdesc/c.so out/test/elf/x86_64/tlsdesc/a.o +301: + cc -B. -o out/test/elf/x86_64/unresolved-symbols/exe out/test/elf/x86_64/unresolved-symbols/a.o -Wl,-unresolved-symbols=ignore-all +298: + cat +298: + cc -o out/test/elf/x86_64/undefined/c.o -c -x assembler - +291: + out/test/elf/x86_64/tlsdesc-initial-exec/exe1 +291: + grep -q '^5 5 5$' +291: + readelf -Wr out/test/elf/x86_64/tlsdesc-initial-exec/exe1 +291: + grep -Eq 'TLS.?DESC' out/test/elf/x86_64/tlsdesc-initial-exec/log2 +299: + rm -f out/test/elf/x86_64/undefined2/d.a 298: + rm -f out/test/elf/x86_64/undefined/d.a +299: + ar cr out/test/elf/x86_64/undefined2/d.a out/test/elf/x86_64/undefined2/b.o out/test/elf/x86_64/undefined2/c.o +291: + on_exit +291: + echo OK +291: OK +291: + exit 0 +294/357 Test #291: x86_64-tlsdesc-initial-exec ................ Passed 0.63 sec +test 306 + Start 306: x86_64-version-script11 + +306: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script11.sh" +306: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +306: Environment variables: +306: MACHINE=x86_64 +306: CPU= +306: Test timeout computed to be: 1500 +298: + ar cr out/test/elf/x86_64/undefined/d.a out/test/elf/x86_64/undefined/b.o out/test/elf/x86_64/undefined/c.o +306: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script11.sh +306: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc +306: ++ export LC_ALL=C +306: ++ LC_ALL=C +306: ++ '[' -z x86_64 ']' 306: ++ '[' -z '' ']' 306: ++ TESTDIR=out/test/elf/x86_64 306: ++ CC=cc @@ -20931,26 +20976,46 @@ 306: ++ tlsdesc_opt=-mtls-dialect=gnu2 306: ++ trap 'on_error $LINENO' ERR 306: ++ trap on_exit EXIT -298: + ar cr out/test/elf/x86_64/undefined/d.a out/test/elf/x86_64/undefined/b.o out/test/elf/x86_64/undefined/c.o -305: + echo 'VER1 { foo[12]; }; VER2 {};' -305: + cat -305: + cc -B. -shared -o out/test/elf/x86_64/version-script10/c.so -Wl,-version-script,out/test/elf/x86_64/version-script10/a.ver out/test/elf/x86_64/version-script10/b.s 306: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script11.sh .sh 306: ++ testname=version-script11 306: ++ echo -n 'Testing version-script11 ... ' 306: Testing version-script11 ... ++ t=out/test/elf/x86_64/version-script11 306: ++ mkdir -p out/test/elf/x86_64/version-script11 -303: + readelf --version-info out/test/elf/x86_64/version-script-search-paths/c.so -294: + cc -B. -o out/test/elf/x86_64/tlsdesc/exe3 out/test/elf/x86_64/tlsdesc/b.o out/test/elf/x86_64/tlsdesc/c.so 306: + cat 306: + cat 306: + c++ -fPIC -c -o out/test/elf/x86_64/version-script11/b.o -xc - -302: + on_exit -303: + grep -Fq 'Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x' out/test/elf/x86_64/version-script-search-paths/log -302: + echo OK -302: OK -302: + exit 0 -295/357 Test #302: x86_64-verbose ............................. Passed 0.09 sec +301: + readelf --dyn-syms out/test/elf/x86_64/unresolved-symbols/exe +301: + grep -w foo +294: + cc -B. -o out/test/elf/x86_64/tlsdesc/exe3 out/test/elf/x86_64/tlsdesc/b.o out/test/elf/x86_64/tlsdesc/c.so +301: + cc -B. -o out/test/elf/x86_64/unresolved-symbols/exe out/test/elf/x86_64/unresolved-symbols/a.o -Wl,-unresolved-symbols=report-all -Wl,--warn-unresolved-symbols +301: + grep -q 'undefined.*foo' +277: + out/test/elf/x86_64/tls-gd/exe3 +277: + grep -q '1 2 3 4 5 6' +277: + cc -B. -o out/test/elf/x86_64/tls-gd/exe4 out/test/elf/x86_64/tls-gd/a.o out/test/elf/x86_64/tls-gd/b.o out/test/elf/x86_64/tls-gd/c.o -static -Wl,-no-relax +298: + ./mold -static -o out/test/elf/x86_64/undefined/exe out/test/elf/x86_64/undefined/a.o out/test/elf/x86_64/undefined/d.a +299: + ./mold -static -o out/test/elf/x86_64/undefined2/exe out/test/elf/x86_64/undefined2/a.o out/test/elf/x86_64/undefined2/d.a -undefined foo +294: + out/test/elf/x86_64/tlsdesc/exe3 +294: + grep -q '42 3 5' +306: + cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script11/a.ver -o out/test/elf/x86_64/version-script11/c.so out/test/elf/x86_64/version-script11/b.o +294: + cc -B. -shared -o out/test/elf/x86_64/tlsdesc/c.so out/test/elf/x86_64/tlsdesc/a.o -Wl,-no-relax +295: + cc -B. -o out/test/elf/x86_64/trace-symbol-symver/exe out/test/elf/x86_64/trace-symbol-symver/d.o out/test/elf/x86_64/trace-symbol-symver/c.so -Wl,--trace-symbol=foo@VER1 +293: + cat +301: + grep -q 'undefined.*foo' +299: + readelf --symbols out/test/elf/x86_64/undefined2/exe +296: + cc -shared -o out/test/elf/x86_64/trace-symbol/c.so -xc - +293: + gcc -fPIC -c -o out/test/elf/x86_64/tlsdesc-static/b.o -xc - -mtls-dialect=gnu2 +301: + cc -B. -o out/test/elf/x86_64/unresolved-symbols/exe out/test/elf/x86_64/unresolved-symbols/a.o -Wl,-unresolved-symbols=ignore-in-object-files +296: + cat +299: + grep -q foo out/test/elf/x86_64/undefined2/log +298: + readelf --symbols out/test/elf/x86_64/undefined/exe +277: + out/test/elf/x86_64/tls-gd/exe4 +277: + grep -q '1 2 3 4 5 6' +298: + grep -q foo out/test/elf/x86_64/undefined/log +277: + on_exit +277: + echo OK +277: OK +277: + exit 0 +295/357 Test #277: x86_64-tls-gd .............................. Passed 1.29 sec test 307 Start 307: x86_64-version-script12 @@ -20960,11 +21025,17 @@ 307: MACHINE=x86_64 307: CPU= 307: Test timeout computed to be: 1500 -303: + on_exit -303: + echo OK -303: OK -303: + exit 0 -296/357 Test #303: x86_64-version-script-search-paths ......... Passed 0.07 sec +299: + grep -q ndefined out/test/elf/x86_64/undefined2/log +299: + on_exit +299: + echo OK +299: OK +299: + exit 0 +298: + grep -q bar out/test/elf/x86_64/undefined/log +298: + ./mold -static -o out/test/elf/x86_64/undefined/exe out/test/elf/x86_64/undefined/a.o out/test/elf/x86_64/undefined/d.a -u foo +305: + readelf --dyn-syms out/test/elf/x86_64/version-script10/c.so +305: + grep -q ' foo1@@VER1$' out/test/elf/x86_64/version-script10/log +307: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script12.sh +296/357 Test #299: x86_64-undefined2 .......................... Passed 0.51 sec test 308 Start 308: x86_64-version-script13 @@ -20974,9 +21045,6 @@ 308: MACHINE=x86_64 308: CPU= 308: Test timeout computed to be: 1500 -301: + cc -B. -o out/test/elf/x86_64/unresolved-symbols/exe out/test/elf/x86_64/unresolved-symbols/a.o -Wl,-unresolved-symbols=report-all -301: + grep -q 'undefined.*foo' -307: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script12.sh 307: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 307: ++ export LC_ALL=C 307: ++ LC_ALL=C @@ -20995,8 +21063,24 @@ 307: ++ tlsdesc_opt=-mtls-dialect=gnu2 307: ++ trap 'on_error $LINENO' ERR 307: ++ trap on_exit EXIT -308: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script13.sh 307: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script12.sh .sh +307: ++ testname=version-script12 +307: ++ echo -n 'Testing version-script12 ... ' +307: Testing version-script12 ... ++ t=out/test/elf/x86_64/version-script12 +307: ++ mkdir -p out/test/elf/x86_64/version-script12 +294: + cc -B. -o out/test/elf/x86_64/tlsdesc/exe4 out/test/elf/x86_64/tlsdesc/b.o out/test/elf/x86_64/tlsdesc/c.so -Wl,-no-relax +307: + cat +305: + grep -q ' foo2@@VER1$' out/test/elf/x86_64/version-script10/log +303: + readelf --version-info out/test/elf/x86_64/version-script-search-paths/c.so +308: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script13.sh +304: + readelf --version-info out/test/elf/x86_64/version-script/c.so +307: + cat +307: + c++ -fPIC -c -o out/test/elf/x86_64/version-script12/b.o -xc - +303: + grep -Fq 'Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x' out/test/elf/x86_64/version-script-search-paths/log +303: + on_exit +303: + echo OK +303: OK +303: + exit 0 308: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 308: ++ export LC_ALL=C 308: ++ LC_ALL=C @@ -21013,55 +21097,16 @@ 308: ++ QEMU= 308: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 308: ++ tlsdesc_opt=-mtls-dialect=gnu2 -307: ++ testname=version-script12 -307: ++ echo -n 'Testing version-script12 ... ' -307: Testing version-script12 ... ++ t=out/test/elf/x86_64/version-script12 -307: ++ mkdir -p out/test/elf/x86_64/version-script12 -277: + out/test/elf/x86_64/tls-gd/exe3 -277: + grep -q '1 2 3 4 5 6' 308: ++ trap 'on_error $LINENO' ERR 308: ++ trap on_exit EXIT 308: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script13.sh .sh -298: + ./mold -static -o out/test/elf/x86_64/undefined/exe out/test/elf/x86_64/undefined/a.o out/test/elf/x86_64/undefined/d.a -277: + cc -B. -o out/test/elf/x86_64/tls-gd/exe4 out/test/elf/x86_64/tls-gd/a.o out/test/elf/x86_64/tls-gd/b.o out/test/elf/x86_64/tls-gd/c.o -static -Wl,-no-relax -307: + cat +305: + grep -q ' foo3@@VER1$' out/test/elf/x86_64/version-script10/log 308: ++ testname=version-script13 308: ++ echo -n 'Testing version-script13 ... ' 308: Testing version-script13 ... ++ t=out/test/elf/x86_64/version-script13 308: ++ mkdir -p out/test/elf/x86_64/version-script13 -307: + cat -307: + c++ -fPIC -c -o out/test/elf/x86_64/version-script12/b.o -xc - -299: + cat -299: + cc -o out/test/elf/x86_64/undefined2/a.o -c -x assembler - -308: + cat -293: + cc -B. -o out/test/elf/x86_64/tlsdesc-static/exe1 out/test/elf/x86_64/tlsdesc-static/a.o out/test/elf/x86_64/tlsdesc-static/b.o -static -294: + out/test/elf/x86_64/tlsdesc/exe3 -294: + grep -q '42 3 5' -299: + cat -298: + readelf --symbols out/test/elf/x86_64/undefined/exe -294: + cc -B. -shared -o out/test/elf/x86_64/tlsdesc/c.so out/test/elf/x86_64/tlsdesc/a.o -Wl,-no-relax -299: + cc -o out/test/elf/x86_64/undefined2/b.o -c -x assembler - -308: + c++ -fPIC -c -o out/test/elf/x86_64/version-script13/b.o -xc - -308: + cat -298: + grep -q foo out/test/elf/x86_64/undefined/log -298: + grep -q bar out/test/elf/x86_64/undefined/log -301: + cc -B. -o out/test/elf/x86_64/unresolved-symbols/exe out/test/elf/x86_64/unresolved-symbols/a.o -Wl,-unresolved-symbols=ignore-all -298: + ./mold -static -o out/test/elf/x86_64/undefined/exe out/test/elf/x86_64/undefined/a.o out/test/elf/x86_64/undefined/d.a -u foo -305: + readelf --dyn-syms out/test/elf/x86_64/version-script10/c.so -305: + grep -q ' foo1@@VER1$' out/test/elf/x86_64/version-script10/log -299: + cc -o out/test/elf/x86_64/undefined2/c.o -c -x assembler - -299: + cat -306: + cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script11/a.ver -o out/test/elf/x86_64/version-script11/c.so out/test/elf/x86_64/version-script11/b.o -305: + grep -q ' foo2@@VER1$' out/test/elf/x86_64/version-script10/log -298: + readelf --symbols out/test/elf/x86_64/undefined/exe -299: + rm -f out/test/elf/x86_64/undefined2/d.a -305: + grep -q ' foo3@@VER1$' out/test/elf/x86_64/version-script10/log -299: + ar cr out/test/elf/x86_64/undefined2/d.a out/test/elf/x86_64/undefined2/b.o out/test/elf/x86_64/undefined2/c.o -305: + on_exit -305: + echo OK -305: OK -305: + exit 0 -297/357 Test #305: x86_64-version-script10 .................... Passed 0.09 sec +304: + grep -Fq 'Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x' out/test/elf/x86_64/version-script/log +297/357 Test #303: x86_64-version-script-search-paths ......... Passed 0.33 sec test 309 Start 309: x86_64-version-script14 @@ -21071,8 +21116,59 @@ 309: MACHINE=x86_64 309: CPU= 309: Test timeout computed to be: 1500 -296: + cc -B. -o out/test/elf/x86_64/trace-symbol/exe out/test/elf/x86_64/trace-symbol/a.o out/test/elf/x86_64/trace-symbol/b.o out/test/elf/x86_64/trace-symbol/c.so -Wl,-y,foo -Wl,--trace-symbol=baz -304: + readelf --version-info out/test/elf/x86_64/version-script/c.so +308: + cat +298: + readelf --symbols out/test/elf/x86_64/undefined/exe +295: + out/test/elf/x86_64/trace-symbol-symver/exe +306: + readelf --dyn-syms out/test/elf/x86_64/version-script11/c.so +305: + on_exit +305: + echo OK +305: OK +305: + exit 0 +298/357 Test #305: x86_64-version-script10 .................... Passed 0.20 sec +test 310 + Start 310: x86_64-version-script15 + +310: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script15.sh" +310: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +310: Environment variables: +310: MACHINE=x86_64 +310: CPU= +310: Test timeout computed to be: 1500 +308: + cat +308: + c++ -fPIC -c -o out/test/elf/x86_64/version-script13/b.o -xc - +295: + on_exit +295: + echo OK +295: OK +295: + exit 0 +299/357 Test #295: x86_64-trace-symbol-symver ................. Passed 0.65 sec +test 311 + Start 311: x86_64-version-script16 + +311: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script16.sh" +311: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +311: Environment variables: +311: MACHINE=x86_64 +311: CPU= +311: Test timeout computed to be: 1500 +306: + grep -q foo@@VER_X1 out/test/elf/x86_64/version-script11/log +306: + grep -q ' bar' out/test/elf/x86_64/version-script11/log +306: + grep -q ' baz' out/test/elf/x86_64/version-script11/log +304: + on_exit +304: + echo OK +304: OK +304: + exit 0 +300/357 Test #304: x86_64-version-script ...................... Passed 0.22 sec +test 312 + Start 312: x86_64-version-script17 + +312: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script17.sh" +312: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +312: Environment variables: +312: MACHINE=x86_64 +312: CPU= +312: Test timeout computed to be: 1500 +301: + cc -B. -o out/test/elf/x86_64/unresolved-symbols/exe out/test/elf/x86_64/unresolved-symbols/a.o -Wl,-unresolved-symbols=ignore-in-shared-libs +301: + grep -q 'undefined.*foo' 309: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script14.sh 309: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 309: ++ export LC_ALL=C @@ -21083,7 +21179,6 @@ 309: ++ CC=cc 309: ++ CXX=c++ 309: ++ GCC=gcc -304: + grep -Fq 'Rev: 1 Flags: none Index: 2 Cnt: 1 Name: ver_x' out/test/elf/x86_64/version-script/log 309: ++ GXX=g++ 309: ++ OBJDUMP=objdump 309: ++ OBJCOPY=objcopy @@ -21093,28 +21188,18 @@ 309: ++ tlsdesc_opt=-mtls-dialect=gnu2 309: ++ trap 'on_error $LINENO' ERR 309: ++ trap on_exit EXIT -294: + cc -B. -o out/test/elf/x86_64/tlsdesc/exe4 out/test/elf/x86_64/tlsdesc/b.o out/test/elf/x86_64/tlsdesc/c.so -Wl,-no-relax 309: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script14.sh .sh -304: + on_exit 309: ++ testname=version-script14 -304: + echo OK -304: OK -304: + exit 0 309: ++ echo -n 'Testing version-script14 ... ' 309: Testing version-script14 ... ++ t=out/test/elf/x86_64/version-script14 309: ++ mkdir -p out/test/elf/x86_64/version-script14 -298/357 Test #304: x86_64-version-script ...................... Passed 0.11 sec -test 310 - Start 310: x86_64-version-script15 - -310: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script15.sh" -310: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -310: Environment variables: -310: MACHINE=x86_64 -310: CPU= -310: Test timeout computed to be: 1500 309: + cat 309: + cat +306: + on_exit +306: + echo OK +306: OK +306: + exit 0 +309: + c++ -fPIC -c -o out/test/elf/x86_64/version-script14/b.o -xc - 310: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script15.sh 310: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 310: ++ export LC_ALL=C @@ -21132,7 +21217,6 @@ 310: ++ QEMU= 310: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 310: ++ tlsdesc_opt=-mtls-dialect=gnu2 -309: + c++ -fPIC -c -o out/test/elf/x86_64/version-script14/b.o -xc - 310: ++ trap 'on_error $LINENO' ERR 310: ++ trap on_exit EXIT 310: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script15.sh .sh @@ -21140,53 +21224,7 @@ 310: ++ echo -n 'Testing version-script15 ... ' 310: Testing version-script15 ... ++ t=out/test/elf/x86_64/version-script15 310: ++ mkdir -p out/test/elf/x86_64/version-script15 -277: + grep -q '1 2 3 4 5 6' -277: + out/test/elf/x86_64/tls-gd/exe4 -277: + on_exit -277: + echo OK -277: OK -277: + exit 0 -310: + cat -301: + readelf --dyn-syms out/test/elf/x86_64/unresolved-symbols/exe -293: + out/test/elf/x86_64/tlsdesc-static/exe1 -293: + grep -q 42 -299/357 Test #277: x86_64-tls-gd .............................. Passed 0.69 sec -test 311 - Start 311: x86_64-version-script16 - -311: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script16.sh" -311: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -311: Environment variables: -311: MACHINE=x86_64 -311: CPU= -311: Test timeout computed to be: 1500 -301: + grep -w foo -301: + cc -B. -o out/test/elf/x86_64/unresolved-symbols/exe out/test/elf/x86_64/unresolved-symbols/a.o -Wl,-unresolved-symbols=report-all -Wl,--warn-unresolved-symbols -301: + grep -q 'undefined.*foo' -306: + readelf --dyn-syms out/test/elf/x86_64/version-script11/c.so -306: + grep -q foo@@VER_X1 out/test/elf/x86_64/version-script11/log -293: + cc -B. -o out/test/elf/x86_64/tlsdesc-static/exe2 out/test/elf/x86_64/tlsdesc-static/a.o out/test/elf/x86_64/tlsdesc-static/b.o -static -Wl,-no-relax -310: + cat -310: + c++ -fPIC -c -o out/test/elf/x86_64/version-script15/b.o -xc - -306: + grep -q ' bar' out/test/elf/x86_64/version-script11/log -306: + grep -q ' baz' out/test/elf/x86_64/version-script11/log -298: + grep -q foo out/test/elf/x86_64/undefined/log -306: + on_exit -306: + echo OK -306: OK -306: + exit 0 -299: + ./mold -static -o out/test/elf/x86_64/undefined2/exe out/test/elf/x86_64/undefined2/a.o out/test/elf/x86_64/undefined2/d.a -undefined foo 311: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script16.sh -300/357 Test #306: x86_64-version-script11 .................... Passed 0.12 sec -test 312 - Start 312: x86_64-version-script17 - -312: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script17.sh" -312: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -312: Environment variables: -312: MACHINE=x86_64 -312: CPU= -312: Test timeout computed to be: 1500 311: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 311: ++ export LC_ALL=C 311: ++ LC_ALL=C @@ -21205,7 +21243,22 @@ 311: ++ tlsdesc_opt=-mtls-dialect=gnu2 311: ++ trap 'on_error $LINENO' ERR 311: ++ trap on_exit EXIT -298: + grep -q bar out/test/elf/x86_64/undefined/log +301/357 Test #306: x86_64-version-script11 .................... Passed 0.18 sec +test 313 + Start 313: x86_64-version-script18 + +313: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script18.sh" +313: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +313: Environment variables: +313: MACHINE=x86_64 +313: CPU= +313: Test timeout computed to be: 1500 +310: + cat +311: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script16.sh .sh +311: ++ testname=version-script16 +311: ++ echo -n 'Testing version-script16 ... ' +311: Testing version-script16 ... ++ t=out/test/elf/x86_64/version-script16 +311: ++ mkdir -p out/test/elf/x86_64/version-script16 312: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script17.sh 312: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 312: ++ export LC_ALL=C @@ -21214,7 +21267,6 @@ 312: ++ '[' -z '' ']' 312: ++ TESTDIR=out/test/elf/x86_64 312: ++ CC=cc -311: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script16.sh .sh 312: ++ CXX=c++ 312: ++ GCC=gcc 312: ++ GXX=g++ @@ -21226,58 +21278,15 @@ 312: ++ tlsdesc_opt=-mtls-dialect=gnu2 312: ++ trap 'on_error $LINENO' ERR 312: ++ trap on_exit EXIT -298: + ./mold -static -o out/test/elf/x86_64/undefined/exe out/test/elf/x86_64/undefined/a.o out/test/elf/x86_64/undefined/d.a -u foo --undefined=bar 312: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script17.sh .sh -294: + out/test/elf/x86_64/tlsdesc/exe4 312: ++ testname=version-script17 312: ++ echo -n 'Testing version-script17 ... ' 312: Testing version-script17 ... ++ t=out/test/elf/x86_64/version-script17 312: ++ mkdir -p out/test/elf/x86_64/version-script17 -296: + grep -q 'trace-symbol: .*/a.o: reference to foo' out/test/elf/x86_64/trace-symbol/log -311: ++ testname=version-script16 -311: ++ echo -n 'Testing version-script16 ... ' -311: Testing version-script16 ... ++ t=out/test/elf/x86_64/version-script16 -311: ++ mkdir -p out/test/elf/x86_64/version-script16 -294: + grep -q '42 3 5' -294: + on_exit -294: + echo OK -294: OK -294: + exit 0 -312: + cat -296: + grep -q 'trace-symbol: .*/b.o: definition of foo' out/test/elf/x86_64/trace-symbol/log 311: + cat -312: + cc -fPIC -c -o out/test/elf/x86_64/version-script17/a.o -xc - -301/357 Test #294: x86_64-tlsdesc ............................. Passed 0.32 sec -test 313 - Start 313: x86_64-version-script18 - -313: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script18.sh" -313: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -313: Environment variables: -313: MACHINE=x86_64 -313: CPU= -313: Test timeout computed to be: 1500 -311: + cat -299: + readelf --symbols out/test/elf/x86_64/undefined2/exe -311: + cc -fPIC -c -o out/test/elf/x86_64/version-script16/b.o -xc - -296: + grep -q 'trace-symbol: .*/c.so: definition of baz' out/test/elf/x86_64/trace-symbol/log -299: + grep -q foo out/test/elf/x86_64/undefined2/log -296: + on_exit +310: + cat +310: + c++ -fPIC -c -o out/test/elf/x86_64/version-script15/b.o -xc - 313: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script18.sh -296: + echo OK -296: OK -296: + exit 0 -302/357 Test #296: x86_64-trace-symbol ........................ Passed 0.32 sec -test 314 - Start 314: x86_64-version-script19 - -314: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script19.sh" -314: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -314: Environment variables: -314: MACHINE=x86_64 -314: CPU= -314: Test timeout computed to be: 1500 -298: + readelf --symbols out/test/elf/x86_64/undefined/exe 313: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 313: ++ export LC_ALL=C 313: ++ LC_ALL=C @@ -21296,7 +21305,11 @@ 313: ++ tlsdesc_opt=-mtls-dialect=gnu2 313: ++ trap 'on_error $LINENO' ERR 313: ++ trap on_exit EXIT +311: + cc -fPIC -c -o out/test/elf/x86_64/version-script16/b.o -xc - +311: + cat 313: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script18.sh .sh +312: + cc -fPIC -c -o out/test/elf/x86_64/version-script17/a.o -xc - +312: + cat 313: ++ testname=version-script18 313: ++ echo -n 'Testing version-script18 ... ' 313: Testing version-script18 ... ++ t=out/test/elf/x86_64/version-script18 @@ -21304,12 +21317,29 @@ 313: + cat 313: + cat 313: + cc -fPIC -c -o out/test/elf/x86_64/version-script18/b.o -xc++ - -299: + grep -q ndefined out/test/elf/x86_64/undefined2/log -299: + on_exit -299: + echo OK -299: OK -299: + exit 0 -303/357 Test #299: x86_64-undefined2 .......................... Passed 0.26 sec +294: + out/test/elf/x86_64/tlsdesc/exe4 +294: + grep -q '42 3 5' +294: + on_exit +294: + echo OK +294: OK +294: + exit 0 +302/357 Test #294: x86_64-tlsdesc ............................. Passed 0.75 sec +test 314 + Start 314: x86_64-version-script19 + +314: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script19.sh" +314: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +314: Environment variables: +314: MACHINE=x86_64 +314: CPU= +314: Test timeout computed to be: 1500 +314: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script19.sh +301: + on_exit +301: + echo OK +301: OK +301: + exit 0 +314: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc +303/357 Test #301: x86_64-unresolved-symbols .................. Passed 0.52 sec test 315 Start 315: x86_64-version-script2 @@ -21319,10 +21349,6 @@ 315: MACHINE=x86_64 315: CPU= 315: Test timeout computed to be: 1500 -307: + cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script12/a.ver -o out/test/elf/x86_64/version-script12/c.so out/test/elf/x86_64/version-script12/b.o -308: + cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script13/a.ver -o out/test/elf/x86_64/version-script13/c.so out/test/elf/x86_64/version-script13/b.o -314: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script19.sh -314: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 314: ++ export LC_ALL=C 314: ++ LC_ALL=C 314: ++ '[' -z x86_64 ']' @@ -21341,27 +21367,12 @@ 314: ++ trap 'on_error $LINENO' ERR 314: ++ trap on_exit EXIT 314: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script19.sh .sh -293: + out/test/elf/x86_64/tlsdesc-static/exe2 -293: + grep -q 42 -293: + on_exit -293: + echo OK -293: OK -293: + exit 0 314: ++ testname=version-script19 314: ++ echo -n 'Testing version-script19 ... ' 314: Testing version-script19 ... ++ t=out/test/elf/x86_64/version-script19 314: ++ mkdir -p out/test/elf/x86_64/version-script19 +314: + cat 315: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script2.sh -304/357 Test #293: x86_64-tlsdesc-static ...................... Passed 0.36 sec -test 316 - Start 316: x86_64-version-script20 - -316: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script20.sh" -316: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -316: Environment variables: -316: MACHINE=x86_64 -316: CPU= -316: Test timeout computed to be: 1500 315: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 315: ++ export LC_ALL=C 315: ++ LC_ALL=C @@ -21372,6 +21383,8 @@ 315: ++ CXX=c++ 315: ++ GCC=gcc 315: ++ GXX=g++ +314: + cat +314: + cc -fPIC -c -o out/test/elf/x86_64/version-script19/b.o -xc++ - 315: ++ OBJDUMP=objdump 315: ++ OBJCOPY=objcopy 315: ++ STRIP=strip @@ -21388,12 +21401,57 @@ 315: + cat 315: + cat 315: + cc -B. -xc -shared -o out/test/elf/x86_64/version-script2/b.so -Wl,-version-script,out/test/elf/x86_64/version-script2/a.ver - -301: + cc -B. -o out/test/elf/x86_64/unresolved-symbols/exe out/test/elf/x86_64/unresolved-symbols/a.o -Wl,-unresolved-symbols=ignore-in-object-files -301: + grep -q 'undefined.*foo' -314: + cat -314: + cat -314: + cc -fPIC -c -o out/test/elf/x86_64/version-script19/b.o -xc++ - +298: + grep -q foo out/test/elf/x86_64/undefined/log +298: + grep -q bar out/test/elf/x86_64/undefined/log +311: + cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script16/a.ver -o out/test/elf/x86_64/version-script16/c.so out/test/elf/x86_64/version-script16/b.o +314: + cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script19/a.ver -o out/test/elf/x86_64/version-script19/c.so out/test/elf/x86_64/version-script19/b.o +309: + cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script14/a.ver -o out/test/elf/x86_64/version-script14/c.so out/test/elf/x86_64/version-script14/b.o +298: + ./mold -static -o out/test/elf/x86_64/undefined/exe out/test/elf/x86_64/undefined/a.o out/test/elf/x86_64/undefined/d.a -u foo --undefined=bar +313: + cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script18/a.ver -o out/test/elf/x86_64/version-script18/c.so out/test/elf/x86_64/version-script18/b.o +310: + cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script15/a.ver -o out/test/elf/x86_64/version-script15/c.so out/test/elf/x86_64/version-script15/b.o +293: + cc -B. -o out/test/elf/x86_64/tlsdesc-static/exe1 out/test/elf/x86_64/tlsdesc-static/a.o out/test/elf/x86_64/tlsdesc-static/b.o -static +307: + cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script12/a.ver -o out/test/elf/x86_64/version-script12/c.so out/test/elf/x86_64/version-script12/b.o +312: + cat +312: + cc -B. -shared -fPIC -o out/test/elf/x86_64/version-script17/b.so -xc - +308: + cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script13/a.ver -o out/test/elf/x86_64/version-script13/c.so out/test/elf/x86_64/version-script13/b.o +298: + readelf --symbols out/test/elf/x86_64/undefined/exe +296: + cc -B. -o out/test/elf/x86_64/trace-symbol/exe out/test/elf/x86_64/trace-symbol/a.o out/test/elf/x86_64/trace-symbol/b.o out/test/elf/x86_64/trace-symbol/c.so -Wl,-y,foo -Wl,--trace-symbol=baz +313: + readelf --wide --dyn-syms out/test/elf/x86_64/version-script18/c.so +313: + grep libalpha +313: + grep -q Bar +308: + readelf --dyn-syms out/test/elf/x86_64/version-script13/c.so +310: + readelf --dyn-syms out/test/elf/x86_64/version-script15/c.so +313: + on_exit +313: + echo OK +313: OK +313: + exit 0 +304/357 Test #313: x86_64-version-script18 .................... Passed 0.20 sec +test 316 + Start 316: x86_64-version-script20 + +316: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script20.sh" +316: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +316: Environment variables: +316: MACHINE=x86_64 +316: CPU= +316: Test timeout computed to be: 1500 +310: + grep -q ' azZ' out/test/elf/x86_64/version-script15/log +310: + grep -q ' czZ' out/test/elf/x86_64/version-script15/log +310: + grep -q ' azC' out/test/elf/x86_64/version-script15/log +314: + readelf -W --dyn-syms out/test/elf/x86_64/version-script19/c.so +314: + grep -Eq foobar out/test/elf/x86_64/version-script19/log +308: + grep -q ' foobar' out/test/elf/x86_64/version-script13/log +308: + grep -q ' foo$' out/test/elf/x86_64/version-script13/log +307: + readelf --dyn-syms out/test/elf/x86_64/version-script12/c.so +307: + grep -q ' xyz' out/test/elf/x86_64/version-script12/log +315: + cc -xc -c -o out/test/elf/x86_64/version-script2/c.o - +315: + cat +309: + readelf --dyn-syms out/test/elf/x86_64/version-script14/c.so 316: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script20.sh +308: + on_exit +308: + echo OK +308: OK +308: + exit 0 316: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 316: ++ export LC_ALL=C 316: ++ LC_ALL=C @@ -21412,28 +21470,11 @@ 316: ++ tlsdesc_opt=-mtls-dialect=gnu2 316: ++ trap 'on_error $LINENO' ERR 316: ++ trap on_exit EXIT +314: + grep -Eq 'GLOBAL.*baz' out/test/elf/x86_64/version-script19/log +310: + grep -q ' aaZ' out/test/elf/x86_64/version-script15/log 316: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script20.sh .sh -316: ++ testname=version-script20 -316: ++ echo -n 'Testing version-script20 ... ' -316: Testing version-script20 ... ++ t=out/test/elf/x86_64/version-script20 -316: ++ mkdir -p out/test/elf/x86_64/version-script20 -309: + cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script14/a.ver -o out/test/elf/x86_64/version-script14/c.so out/test/elf/x86_64/version-script14/b.o -307: + readelf --dyn-syms out/test/elf/x86_64/version-script12/c.so -316: + cat -308: + readelf --dyn-syms out/test/elf/x86_64/version-script13/c.so -307: + grep -q ' xyz' out/test/elf/x86_64/version-script12/log -308: + grep -q ' foobar' out/test/elf/x86_64/version-script13/log -316: + cat -316: + cc -fPIC -c -o out/test/elf/x86_64/version-script20/b.o -xc - -308: + grep -q ' foo$' out/test/elf/x86_64/version-script13/log -307: + grep -q ' foo_bar' out/test/elf/x86_64/version-script12/log -307: + grep -q ' foo$' out/test/elf/x86_64/version-script12/log -308: + on_exit -308: + echo OK -308: OK -308: + exit 0 -298: + grep -q foo out/test/elf/x86_64/undefined/log -305/357 Test #308: x86_64-version-script13 .................... Passed 0.15 sec +314: + on_exit +305/357 Test #308: x86_64-version-script13 .................... Passed 0.23 sec test 317 Start 317: x86_64-version-script21 @@ -21443,17 +21484,40 @@ 317: MACHINE=x86_64 317: CPU= 317: Test timeout computed to be: 1500 +316: ++ testname=version-script20 +316: ++ echo -n 'Testing version-script20 ... ' +316: Testing version-script20 ... ++ t=out/test/elf/x86_64/version-script20 +316: ++ mkdir -p out/test/elf/x86_64/version-script20 +316: + cat +316: + cc -fPIC -c -o out/test/elf/x86_64/version-script20/b.o -xc - +316: + cat +314: + echo OK +314: OK +314: + exit 0 +310: + on_exit +310: + echo OK +310: OK +310: + exit 0 +298: + grep -q foo out/test/elf/x86_64/undefined/log 298: + grep -q bar out/test/elf/x86_64/undefined/log +298: + on_exit +298: + echo OK +298: OK +298: + exit 0 +307: + grep -q ' foo_bar' out/test/elf/x86_64/version-script12/log +307: + grep -q ' foo$' out/test/elf/x86_64/version-script12/log 307: + on_exit 307: + echo OK 307: OK 307: + exit 0 -310: + cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script15/a.ver -o out/test/elf/x86_64/version-script15/c.so out/test/elf/x86_64/version-script15/b.o -313: + cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script18/a.ver -o out/test/elf/x86_64/version-script18/c.so out/test/elf/x86_64/version-script18/b.o -301: + cc -B. -o out/test/elf/x86_64/unresolved-symbols/exe out/test/elf/x86_64/unresolved-symbols/a.o -Wl,-unresolved-symbols=ignore-in-shared-libs -301: + grep -q 'undefined.*foo' -311: + cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script16/a.ver -o out/test/elf/x86_64/version-script16/c.so out/test/elf/x86_64/version-script16/b.o -306/357 Test #307: x86_64-version-script12 .................... Passed 0.16 sec +309: + grep -q ' xyz' out/test/elf/x86_64/version-script14/log +309: + grep -q ' foobarzx' out/test/elf/x86_64/version-script14/log +309: + grep -q ' foobarcx' out/test/elf/x86_64/version-script14/log +309: + grep -q ' foo123bar456bx' out/test/elf/x86_64/version-script14/log +309: + grep -q ' foo123bar456c' out/test/elf/x86_64/version-script14/log +311: + grep -q foobar +311: + readelf --dyn-syms out/test/elf/x86_64/version-script16/c.so +306/357 Test #298: x86_64-undefined ........................... Passed 0.82 sec test 318 Start 318: x86_64-version-script22 @@ -21463,10 +21527,66 @@ 318: MACHINE=x86_64 318: CPU= 318: Test timeout computed to be: 1500 -298: + on_exit -298: + echo OK -298: OK -298: + exit 0 +307/357 Test #307: x86_64-version-script12 .................... Passed 0.32 sec +test 319 + Start 319: x86_64-version-script23 + +319: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script23.sh" +319: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +319: Environment variables: +319: MACHINE=x86_64 +319: CPU= +319: Test timeout computed to be: 1500 +308/357 Test #310: x86_64-version-script15 .................... Passed 0.31 sec +test 320 + Start 320: x86_64-version-script3 + +320: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script3.sh" +320: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +320: Environment variables: +320: MACHINE=x86_64 +320: CPU= +320: Test timeout computed to be: 1500 +309/357 Test #314: x86_64-version-script19 .................... Passed 0.29 sec +test 321 + Start 321: x86_64-version-script4 + +321: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script4.sh" +321: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +321: Environment variables: +321: MACHINE=x86_64 +321: CPU= +321: Test timeout computed to be: 1500 +316: + cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script20/a.ver -o out/test/elf/x86_64/version-script20/c.so out/test/elf/x86_64/version-script20/b.o +309: + grep -q ' foo123bar456x' out/test/elf/x86_64/version-script14/log +309: + on_exit +309: + echo OK +309: OK +309: + exit 0 +310/357 Test #309: x86_64-version-script14 .................... Passed 0.32 sec +test 322 + Start 322: x86_64-version-script5 + +322: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script5.sh" +322: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +322: Environment variables: +322: MACHINE=x86_64 +322: CPU= +322: Test timeout computed to be: 1500 +311: + on_exit +311: + echo OK +311: OK +311: + exit 0 +311/357 Test #311: x86_64-version-script16 .................... Passed 0.31 sec +test 323 + Start 323: x86_64-version-script6 + +323: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script6.sh" +323: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +323: Environment variables: +323: MACHINE=x86_64 +323: CPU= +323: Test timeout computed to be: 1500 317: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script21.sh 317: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 317: ++ export LC_ALL=C @@ -21492,23 +21612,29 @@ 317: Testing version-script21 ... ++ t=out/test/elf/x86_64/version-script21 317: ++ mkdir -p out/test/elf/x86_64/version-script21 317: + cat -312: + cat -312: + cc -B. -shared -fPIC -o out/test/elf/x86_64/version-script17/b.so -xc - -307/357 Test #298: x86_64-undefined ........................... Passed 0.31 sec -test 319 - Start 319: x86_64-version-script23 - -319: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script23.sh" -319: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -319: Environment variables: -319: MACHINE=x86_64 -319: CPU= -319: Test timeout computed to be: 1500 317: + cat 317: + cc -fPIC -c -o out/test/elf/x86_64/version-script21/b.o -xc - -314: + cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script19/a.ver -o out/test/elf/x86_64/version-script19/c.so out/test/elf/x86_64/version-script19/b.o -309: + readelf --dyn-syms out/test/elf/x86_64/version-script14/c.so -309: + grep -q ' xyz' out/test/elf/x86_64/version-script14/log +293: + out/test/elf/x86_64/tlsdesc-static/exe1 +293: + grep -q 42 +293: + cc -B. -o out/test/elf/x86_64/tlsdesc-static/exe2 out/test/elf/x86_64/tlsdesc-static/a.o out/test/elf/x86_64/tlsdesc-static/b.o -static -Wl,-no-relax +296: + grep -q 'trace-symbol: .*/a.o: reference to foo' out/test/elf/x86_64/trace-symbol/log +296: + grep -q 'trace-symbol: .*/b.o: definition of foo' out/test/elf/x86_64/trace-symbol/log +296: + grep -q 'trace-symbol: .*/c.so: definition of baz' out/test/elf/x86_64/trace-symbol/log +296: + on_exit +296: + echo OK +296: OK +296: + exit 0 +312/357 Test #296: x86_64-trace-symbol ........................ Passed 0.87 sec +test 324 + Start 324: x86_64-version-script7 + +324: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script7.sh" +324: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +324: Environment variables: +324: MACHINE=x86_64 +324: CPU= +324: Test timeout computed to be: 1500 +315: + cc -B. -o out/test/elf/x86_64/version-script2/exe out/test/elf/x86_64/version-script2/c.o out/test/elf/x86_64/version-script2/b.so 318: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script22.sh 318: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 318: ++ export LC_ALL=C @@ -21529,12 +21655,14 @@ 318: ++ trap 'on_error $LINENO' ERR 318: ++ trap on_exit EXIT 318: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script22.sh .sh -309: + grep -q ' foobarzx' out/test/elf/x86_64/version-script14/log -319: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script23.sh 318: ++ testname=version-script22 318: ++ echo -n 'Testing version-script22 ... ' 318: Testing version-script22 ... ++ t=out/test/elf/x86_64/version-script22 318: ++ mkdir -p out/test/elf/x86_64/version-script22 +318: + cat +318: + cat +318: + cc -fPIC -c -o out/test/elf/x86_64/version-script22/b.o -xc - +319: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script23.sh 319: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 319: ++ export LC_ALL=C 319: ++ LC_ALL=C @@ -21553,103 +21681,14 @@ 319: ++ tlsdesc_opt=-mtls-dialect=gnu2 319: ++ trap 'on_error $LINENO' ERR 319: ++ trap on_exit EXIT -318: + cat -309: + grep -q ' foobarcx' out/test/elf/x86_64/version-script14/log 319: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script23.sh .sh -315: + cc -xc -c -o out/test/elf/x86_64/version-script2/c.o - 319: ++ testname=version-script23 319: ++ echo -n 'Testing version-script23 ... ' 319: Testing version-script23 ... ++ t=out/test/elf/x86_64/version-script23 319: ++ mkdir -p out/test/elf/x86_64/version-script23 -318: + cat -309: + grep -q ' foo123bar456bx' out/test/elf/x86_64/version-script14/log -315: + cat 319: + cat -309: + grep -q ' foo123bar456c' out/test/elf/x86_64/version-script14/log -310: + readelf --dyn-syms out/test/elf/x86_64/version-script15/c.so -311: + grep -q foobar -311: + readelf --dyn-syms out/test/elf/x86_64/version-script16/c.so -309: + grep -q ' foo123bar456x' out/test/elf/x86_64/version-script14/log 319: + cat -318: + cc -fPIC -c -o out/test/elf/x86_64/version-script22/b.o -xc - -311: + on_exit -309: + on_exit -309: + echo OK -309: OK -309: + exit 0 -311: + echo OK 319: + cc -c -o out/test/elf/x86_64/version-script23/b.o -xassembler - -311: OK -311: + exit 0 -308/357 Test #309: x86_64-version-script14 .................... Passed 0.14 sec -test 320 - Start 320: x86_64-version-script3 - -320: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script3.sh" -320: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -320: Environment variables: -320: MACHINE=x86_64 -320: CPU= -320: Test timeout computed to be: 1500 -310: + grep -q ' azZ' out/test/elf/x86_64/version-script15/log -310: + grep -q ' czZ' out/test/elf/x86_64/version-script15/log -310: + grep -q ' azC' out/test/elf/x86_64/version-script15/log -301: + on_exit -301: + echo OK -301: OK -301: + exit 0 -313: + readelf --wide --dyn-syms out/test/elf/x86_64/version-script18/c.so -313: + grep -q Bar -313: + grep libalpha -309/357 Test #301: x86_64-unresolved-symbols .................. Passed 0.29 sec -test 321 - Start 321: x86_64-version-script4 - -321: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script4.sh" -321: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -321: Environment variables: -321: MACHINE=x86_64 -321: CPU= -321: Test timeout computed to be: 1500 -310/357 Test #311: x86_64-version-script16 .................... Passed 0.12 sec -test 322 - Start 322: x86_64-version-script5 - -322: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script5.sh" -322: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -322: Environment variables: -322: MACHINE=x86_64 -322: CPU= -322: Test timeout computed to be: 1500 -310: + grep -q ' aaZ' out/test/elf/x86_64/version-script15/log -310: + on_exit -310: + echo OK -310: OK -310: + exit 0 -311/357 Test #310: x86_64-version-script15 .................... Passed 0.14 sec -test 323 - Start 323: x86_64-version-script6 - -323: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script6.sh" -323: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -323: Environment variables: -323: MACHINE=x86_64 -323: CPU= -323: Test timeout computed to be: 1500 -313: + on_exit -313: + echo OK -313: OK -313: + exit 0 -312/357 Test #313: x86_64-version-script18 .................... Passed 0.10 sec -test 324 - Start 324: x86_64-version-script7 - -324: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script7.sh" -324: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -324: Environment variables: -324: MACHINE=x86_64 -324: CPU= -324: Test timeout computed to be: 1500 319: + cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script23/a.ver -o out/test/elf/x86_64/version-script23/c.so out/test/elf/x86_64/version-script23/b.o 320: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script3.sh 320: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc @@ -21676,15 +21715,8 @@ 320: Testing version-script3 ... ++ t=out/test/elf/x86_64/version-script3 320: ++ mkdir -p out/test/elf/x86_64/version-script3 320: + cat -320: + cat 320: + cc -B. -xc -shared -o out/test/elf/x86_64/version-script3/b.so -Wl,-version-script,out/test/elf/x86_64/version-script3/a.ver - -314: + readelf -W --dyn-syms out/test/elf/x86_64/version-script19/c.so -314: + grep -Eq foobar out/test/elf/x86_64/version-script19/log -314: + grep -Eq 'GLOBAL.*baz' out/test/elf/x86_64/version-script19/log -314: + on_exit -314: + echo OK -314: OK -314: + exit 0 +320: + cat 321: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script4.sh 321: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 321: ++ export LC_ALL=C @@ -21710,18 +21742,8 @@ 321: Testing version-script4 ... ++ t=out/test/elf/x86_64/version-script4 321: ++ mkdir -p out/test/elf/x86_64/version-script4 321: + cat -321: + cat 321: + c++ -fPIC -c -o out/test/elf/x86_64/version-script4/b.o -xc++ - -313/357 Test #314: x86_64-version-script19 .................... Passed 0.10 sec -test 325 - Start 325: x86_64-version-script8 - -325: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script8.sh" -325: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -325: Environment variables: -325: MACHINE=x86_64 -325: CPU= -325: Test timeout computed to be: 1500 +312: + cc -B. -o out/test/elf/x86_64/version-script17/exe1 out/test/elf/x86_64/version-script17/a.o out/test/elf/x86_64/version-script17/b.so 322: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script5.sh 322: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 322: ++ export LC_ALL=C @@ -21773,9 +21795,8 @@ 323: ++ echo -n 'Testing version-script6 ... ' 323: Testing version-script6 ... ++ t=out/test/elf/x86_64/version-script6 323: ++ mkdir -p out/test/elf/x86_64/version-script6 -325: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script8.sh +321: + cat 324: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script7.sh -315: + cc -B. -o out/test/elf/x86_64/version-script2/exe out/test/elf/x86_64/version-script2/c.o out/test/elf/x86_64/version-script2/b.so 323: + cat 324: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 324: ++ export LC_ALL=C @@ -21795,6 +21816,90 @@ 324: ++ tlsdesc_opt=-mtls-dialect=gnu2 324: ++ trap 'on_error $LINENO' ERR 324: ++ trap on_exit EXIT +318: + cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script22/a.ver -o out/test/elf/x86_64/version-script22/c.so out/test/elf/x86_64/version-script22/b.o +324: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script7.sh .sh +324: ++ testname=version-script7 +324: ++ echo -n 'Testing version-script7 ... ' +324: Testing version-script7 ... ++ t=out/test/elf/x86_64/version-script7 +324: ++ mkdir -p out/test/elf/x86_64/version-script7 +324: + cat +323: + c++ -fPIC -c -o out/test/elf/x86_64/version-script6/b.o -xc - +323: + cat +324: + cat +324: + c++ -fPIC -c -o out/test/elf/x86_64/version-script7/b.o -xc - +317: + cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script21/a.ver -o out/test/elf/x86_64/version-script21/c.so out/test/elf/x86_64/version-script21/b.o +315: + out/test/elf/x86_64/version-script2/exe +316: + readelf -W --dyn-syms out/test/elf/x86_64/version-script20/c.so +315: + readelf --dyn-syms out/test/elf/x86_64/version-script2/exe +316: + grep -Fq foo_x@@VER2 out/test/elf/x86_64/version-script20/log +293: + out/test/elf/x86_64/tlsdesc-static/exe2 +293: + grep -q 42 +293: + on_exit +293: + echo OK +293: OK +293: + exit 0 +315: + grep -Fq foo@ver1 out/test/elf/x86_64/version-script2/log +313/357 Test #293: x86_64-tlsdesc-static ...................... Passed 1.08 sec +test 325 + Start 325: x86_64-version-script8 + +325: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script8.sh" +325: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +325: Environment variables: +325: MACHINE=x86_64 +325: CPU= +325: Test timeout computed to be: 1500 +316: + grep -Fq foo_y@@VER1 out/test/elf/x86_64/version-script20/log +316: + grep -Fq foo_z@@VER1 out/test/elf/x86_64/version-script20/log +316: + on_exit +316: + echo OK +316: OK +316: + exit 0 +319: + readelf -W --dyn-syms out/test/elf/x86_64/version-script23/c.so +319: + grep -Fq 'foo?@@VER1' out/test/elf/x86_64/version-script23/log +315: + grep -Fq bar@ver2 out/test/elf/x86_64/version-script2/log +315: + grep -Fq baz@ver3 out/test/elf/x86_64/version-script2/log +315: + on_exit +315: + echo OK +315: OK +315: + exit 0 +322: + cc -B. -shared -o out/test/elf/x86_64/version-script5/c.so -Wl,-version-script,out/test/elf/x86_64/version-script5/a.ver out/test/elf/x86_64/version-script5/b.o +314/357 Test #315: x86_64-version-script2 ..................... Passed 0.33 sec +test 326 + Start 326: x86_64-version-script9 + +326: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script9.sh" +326: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +326: Environment variables: +326: MACHINE=x86_64 +326: CPU= +326: Test timeout computed to be: 1500 +315/357 Test #316: x86_64-version-script20 .................... Passed 0.15 sec +test 327 + Start 327: x86_64-version + +327: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/version.sh" +327: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +327: Environment variables: +327: MACHINE=x86_64 +327: CPU= +327: Test timeout computed to be: 1500 +319: + on_exit +319: + echo OK +319: OK +319: + exit 0 +316/357 Test #319: x86_64-version-script23 .................... Passed 0.07 sec +test 328 + Start 328: x86_64-versioned-undef + +328: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/versioned-undef.sh" +328: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +328: Environment variables: +328: MACHINE=x86_64 +328: CPU= +328: Test timeout computed to be: 1500 +321: + cc -B. -shared -o out/test/elf/x86_64/version-script4/c.so -Wl,-version-script,out/test/elf/x86_64/version-script4/a.ver out/test/elf/x86_64/version-script4/b.o +325: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script8.sh 325: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 325: ++ export LC_ALL=C 325: ++ LC_ALL=C @@ -21818,44 +21923,13 @@ 325: ++ echo -n 'Testing version-script8 ... ' 325: Testing version-script8 ... ++ t=out/test/elf/x86_64/version-script8 325: ++ mkdir -p out/test/elf/x86_64/version-script8 -317: + cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script21/a.ver -o out/test/elf/x86_64/version-script21/c.so out/test/elf/x86_64/version-script21/b.o -318: + cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script22/a.ver -o out/test/elf/x86_64/version-script22/c.so out/test/elf/x86_64/version-script22/b.o -324: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script7.sh .sh -323: + cat 325: + cat -323: + c++ -fPIC -c -o out/test/elf/x86_64/version-script6/b.o -xc - -316: + cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script20/a.ver -o out/test/elf/x86_64/version-script20/c.so out/test/elf/x86_64/version-script20/b.o 325: + cat 325: + cc -B. -xc -shared -o out/test/elf/x86_64/version-script8/b.so -Wl,-version-script,out/test/elf/x86_64/version-script8/a.ver - -324: ++ testname=version-script7 -324: ++ echo -n 'Testing version-script7 ... ' -324: Testing version-script7 ... ++ t=out/test/elf/x86_64/version-script7 -324: ++ mkdir -p out/test/elf/x86_64/version-script7 -324: + cat -319: + readelf -W --dyn-syms out/test/elf/x86_64/version-script23/c.so -319: + grep -Fq 'foo?@@VER1' out/test/elf/x86_64/version-script23/log -324: + cat -324: + c++ -fPIC -c -o out/test/elf/x86_64/version-script7/b.o -xc - -319: + on_exit -319: + echo OK -319: OK -319: + exit 0 -315: + out/test/elf/x86_64/version-script2/exe -314/357 Test #319: x86_64-version-script23 .................... Passed 0.07 sec -test 326 - Start 326: x86_64-version-script9 - -326: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script9.sh" -326: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -326: Environment variables: -326: MACHINE=x86_64 -326: CPU= -326: Test timeout computed to be: 1500 -315: + readelf --dyn-syms out/test/elf/x86_64/version-script2/exe -315: + grep -Fq foo@ver1 out/test/elf/x86_64/version-script2/log -312: + cc -B. -o out/test/elf/x86_64/version-script17/exe1 out/test/elf/x86_64/version-script17/a.o out/test/elf/x86_64/version-script17/b.so -317: + readelf -W --dyn-syms out/test/elf/x86_64/version-script21/c.so -315: + grep -Fq bar@ver2 out/test/elf/x86_64/version-script2/log +312: + nm -g out/test/elf/x86_64/version-script17/exe1 +312: + grep -q foo +312: + cat +312: + cc -B. -o out/test/elf/x86_64/version-script17/exe2 out/test/elf/x86_64/version-script17/a.o out/test/elf/x86_64/version-script17/b.so -Wl,--version-script=out/test/elf/x86_64/version-script17/c.ver -Wl,--undefined-version 326: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script9.sh 326: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 326: ++ export LC_ALL=C @@ -21876,81 +21950,14 @@ 326: ++ trap 'on_error $LINENO' ERR 326: ++ trap on_exit EXIT 326: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version-script9.sh .sh -317: + grep -Fq foo_x@@VER1 out/test/elf/x86_64/version-script21/log 326: ++ testname=version-script9 326: ++ echo -n 'Testing version-script9 ... ' 326: Testing version-script9 ... ++ t=out/test/elf/x86_64/version-script9 326: ++ mkdir -p out/test/elf/x86_64/version-script9 -315: + grep -Fq baz@ver3 out/test/elf/x86_64/version-script2/log -317: + grep -Fq foo_y@@VER2 out/test/elf/x86_64/version-script21/log 326: + echo 'VER1 { extern "C++" {}; foo; }; VER2 {};' 326: + cat -317: + grep -Fq foo_z@@VER2 out/test/elf/x86_64/version-script21/log -315: + on_exit -315: + echo OK -315: OK -315: + exit 0 -315/357 Test #315: x86_64-version-script2 ..................... Passed 0.14 sec -test 327 - Start 327: x86_64-version - -327: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/version.sh" -327: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -327: Environment variables: -327: MACHINE=x86_64 -327: CPU= -327: Test timeout computed to be: 1500 -317: + on_exit -317: + echo OK -317: OK -317: + exit 0 -318: + readelf -W --dyn-syms out/test/elf/x86_64/version-script22/c.so -318: + grep -Fq foo_bar@@VER2 out/test/elf/x86_64/version-script22/log -318: + on_exit -318: + echo OK -318: OK -318: + exit 0 326: + cc -B. -shared -o out/test/elf/x86_64/version-script9/c.so -Wl,-version-script,out/test/elf/x86_64/version-script9/a.ver out/test/elf/x86_64/version-script9/b.s -320: + cat -320: + cc -xc -c -o out/test/elf/x86_64/version-script3/c.o - -316: + readelf -W --dyn-syms out/test/elf/x86_64/version-script20/c.so -316/357 Test #317: x86_64-version-script21 .................... Passed 0.11 sec -test 328 - Start 328: x86_64-versioned-undef - -328: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/versioned-undef.sh" -328: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -328: Environment variables: -328: MACHINE=x86_64 -328: CPU= -328: Test timeout computed to be: 1500 -317/357 Test #318: x86_64-version-script22 .................... Passed 0.11 sec -test 329 - Start 329: x86_64-visibility - -329: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/visibility.sh" -329: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -329: Environment variables: -329: MACHINE=x86_64 -329: CPU= -329: Test timeout computed to be: 1500 -316: + grep -Fq foo_x@@VER2 out/test/elf/x86_64/version-script20/log -316: + grep -Fq foo_y@@VER1 out/test/elf/x86_64/version-script20/log -316: + grep -Fq foo_z@@VER1 out/test/elf/x86_64/version-script20/log -316: + on_exit -316: + echo OK -316: OK -316: + exit 0 -318/357 Test #316: x86_64-version-script20 .................... Passed 0.15 sec -test 330 - Start 330: x86_64-warn-common - -330: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/warn-common.sh" -330: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -330: Environment variables: -330: MACHINE=x86_64 -330: CPU= -330: Test timeout computed to be: 1500 +323: + cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script6/a.ver -o out/test/elf/x86_64/version-script6/c.so out/test/elf/x86_64/version-script6/b.o 327: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/version.sh 327: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 327: ++ export LC_ALL=C @@ -21975,9 +21982,9 @@ 327: ++ echo -n 'Testing version ... ' 327: Testing version ... ++ t=out/test/elf/x86_64/version 327: ++ mkdir -p out/test/elf/x86_64/version -327: + nm mold +324: + cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script7/a.ver -o out/test/elf/x86_64/version-script7/c.so out/test/elf/x86_64/version-script7/b.o +318: + readelf -W --dyn-syms out/test/elf/x86_64/version-script22/c.so 327: + grep -q __tsan_init -321: + cc -B. -shared -o out/test/elf/x86_64/version-script4/c.so -Wl,-version-script,out/test/elf/x86_64/version-script4/a.ver out/test/elf/x86_64/version-script4/b.o 328: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/versioned-undef.sh 328: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 328: ++ export LC_ALL=C @@ -21998,45 +22005,54 @@ 328: ++ trap 'on_error $LINENO' ERR 328: ++ trap on_exit EXIT 328: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/versioned-undef.sh .sh +327: + nm mold 328: ++ testname=versioned-undef 328: ++ echo -n 'Testing versioned-undef ... ' 328: Testing versioned-undef ... ++ t=out/test/elf/x86_64/versioned-undef 328: ++ mkdir -p out/test/elf/x86_64/versioned-undef 328: + is_musl 328: + ldd --help +317: + readelf -W --dyn-syms out/test/elf/x86_64/version-script21/c.so +317: + grep -Fq foo_x@@VER1 out/test/elf/x86_64/version-script21/log +318: + grep -Fq foo_bar@@VER2 out/test/elf/x86_64/version-script22/log 328: + grep -q musl -329: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/visibility.sh -329: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc -329: ++ export LC_ALL=C -329: ++ LC_ALL=C -329: ++ '[' -z x86_64 ']' -329: ++ '[' -z '' ']' -329: ++ TESTDIR=out/test/elf/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: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' -329: ++ tlsdesc_opt=-mtls-dialect=gnu2 -329: ++ trap 'on_error $LINENO' ERR -329: ++ trap on_exit EXIT -329: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/visibility.sh .sh -329: ++ testname=visibility -329: ++ echo -n 'Testing visibility ... ' -329: Testing visibility ... ++ t=out/test/elf/x86_64/visibility -329: ++ mkdir -p out/test/elf/x86_64/visibility -312: + nm -g out/test/elf/x86_64/version-script17/exe1 -312: + grep -q foo -312: + cat -312: + cc -B. -o out/test/elf/x86_64/version-script17/exe2 out/test/elf/x86_64/version-script17/a.o out/test/elf/x86_64/version-script17/b.so -Wl,--version-script=out/test/elf/x86_64/version-script17/c.ver -Wl,--undefined-version -329: + cat -329: + cc -xc -c -o out/test/elf/x86_64/visibility/a.o - -330: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/warn-common.sh 328: + cat +318: + on_exit +318: + echo OK +318: OK +318: + exit 0 +317: + grep -Fq foo_y@@VER2 out/test/elf/x86_64/version-script21/log +328: + cc -fPIC -c -o out/test/elf/x86_64/versioned-undef/a.o -xc - +317/357 Test #318: x86_64-version-script22 .................... Passed 0.09 sec +test 329 + Start 329: x86_64-visibility + +329: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/visibility.sh" +329: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +329: Environment variables: +329: MACHINE=x86_64 +329: CPU= +329: Test timeout computed to be: 1500 +317: + grep -Fq foo_z@@VER2 out/test/elf/x86_64/version-script21/log +317: + on_exit +317: + echo OK +317: OK +317: + exit 0 +318/357 Test #317: x86_64-version-script21 .................... Passed 0.11 sec +test 330 + Start 330: x86_64-warn-common + +330: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/warn-common.sh" +330: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +330: Environment variables: +330: MACHINE=x86_64 +330: CPU= +330: Test timeout computed to be: 1500 +320: + cat +320: + cc -xc -c -o out/test/elf/x86_64/version-script3/c.o - +322: + readelf --dyn-syms out/test/elf/x86_64/version-script5/c.so +330: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/warn-common.sh +323: + cat 330: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 330: ++ export LC_ALL=C 330: ++ LC_ALL=C @@ -22055,24 +22071,41 @@ 330: ++ tlsdesc_opt=-mtls-dialect=gnu2 330: ++ trap 'on_error $LINENO' ERR 330: ++ trap on_exit EXIT -328: + cc -fPIC -c -o out/test/elf/x86_64/versioned-undef/a.o -xc - 330: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/warn-common.sh .sh +322: + grep -Fq foo out/test/elf/x86_64/version-script5/log +321: + readelf --dyn-syms out/test/elf/x86_64/version-script4/c.so 330: ++ testname=warn-common 330: ++ echo -n 'Testing warn-common ... ' 330: Testing warn-common ... ++ t=out/test/elf/x86_64/warn-common 330: ++ mkdir -p out/test/elf/x86_64/warn-common -323: + cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script6/a.ver -o out/test/elf/x86_64/version-script6/c.so out/test/elf/x86_64/version-script6/b.o -320: + cc -B. -o out/test/elf/x86_64/version-script3/exe out/test/elf/x86_64/version-script3/c.o out/test/elf/x86_64/version-script3/b.so -330: + cat -321: + readelf --dyn-syms out/test/elf/x86_64/version-script4/c.so -330: + cc -fcommon -c -xc -o out/test/elf/x86_64/warn-common/a.o - +329: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/visibility.sh +329: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc +329: ++ export LC_ALL=C +329: ++ LC_ALL=C +329: ++ '[' -z x86_64 ']' +329: ++ '[' -z '' ']' +329: ++ TESTDIR=out/test/elf/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: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' +329: ++ tlsdesc_opt=-mtls-dialect=gnu2 +329: ++ trap 'on_error $LINENO' ERR +329: ++ trap on_exit EXIT +329: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/visibility.sh .sh +322: + grep -Fq ' main' out/test/elf/x86_64/version-script5/log +322: + on_exit +322: + echo OK +322: OK +322: + exit 0 +329: ++ testname=visibility 321: + grep -Fq _ZN3foo3barE out/test/elf/x86_64/version-script4/log -321: + grep -Fq ' bar' out/test/elf/x86_64/version-script4/log -321: + on_exit -321: + echo OK -321: OK -321: + exit 0 -319/357 Test #321: x86_64-version-script4 ..................... Passed 0.11 sec +319/357 Test #322: x86_64-version-script5 ..................... Passed 0.09 sec test 331 Start 331: x86_64-warn-once @@ -22082,8 +22115,28 @@ 331: MACHINE=x86_64 331: CPU= 331: Test timeout computed to be: 1500 -324: + cc -B. -shared -Wl,--version-script=out/test/elf/x86_64/version-script7/a.ver -o out/test/elf/x86_64/version-script7/c.so out/test/elf/x86_64/version-script7/b.o +329: ++ echo -n 'Testing visibility ... ' +329: Testing visibility ... ++ t=out/test/elf/x86_64/visibility +329: ++ mkdir -p out/test/elf/x86_64/visibility +321: + grep -Fq ' bar' out/test/elf/x86_64/version-script4/log +326: + readelf --dyn-syms out/test/elf/x86_64/version-script9/c.so +324: + readelf --dyn-syms out/test/elf/x86_64/version-script7/c.so +312: + nm -g out/test/elf/x86_64/version-script17/exe2 +321: + on_exit +321: + echo OK +321: OK +321: + exit 0 331: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/warn-once.sh +320/357 Test #321: x86_64-version-script4 ..................... Passed 0.10 sec +test 332 + Start 332: x86_64-warn-symbol-type + +332: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/warn-symbol-type.sh" +332: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +332: Environment variables: +332: MACHINE=x86_64 +332: CPU= +332: Test timeout computed to be: 1500 331: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 331: ++ export LC_ALL=C 331: ++ LC_ALL=C @@ -22103,38 +22156,34 @@ 331: ++ trap 'on_error $LINENO' ERR 331: ++ trap on_exit EXIT 331: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/warn-once.sh .sh -312: + nm -g out/test/elf/x86_64/version-script17/exe2 -322: + cc -B. -shared -o out/test/elf/x86_64/version-script5/c.so -Wl,-version-script,out/test/elf/x86_64/version-script5/a.ver out/test/elf/x86_64/version-script5/b.o 331: ++ testname=warn-once 331: ++ echo -n 'Testing warn-once ... ' 331: Testing warn-once ... ++ t=out/test/elf/x86_64/warn-once 331: ++ mkdir -p out/test/elf/x86_64/warn-once -326: + readelf --dyn-syms out/test/elf/x86_64/version-script9/c.so -331: + cat +323: + c++ -fPIC -c -o out/test/elf/x86_64/version-script6/e.o -xc - 323: + cat -331: + cc -c -fPIC -xc -o out/test/elf/x86_64/warn-once/a.o - +329: + cat +329: + cc -xc -c -o out/test/elf/x86_64/visibility/a.o - +330: + cat +330: + cc -fcommon -c -xc -o out/test/elf/x86_64/warn-common/a.o - 326: + grep -q ' foo@@VER1$' out/test/elf/x86_64/version-script9/log -312: + grep -q foo out/test/elf/x86_64/version-script17/log2 -323: + cat +324: + grep -q 'foo$' out/test/elf/x86_64/version-script7/log 326: + on_exit 326: + echo OK 326: OK 326: + exit 0 -323: + c++ -fPIC -c -o out/test/elf/x86_64/version-script6/e.o -xc - -320/357 Test #326: x86_64-version-script9 ..................... Passed 0.08 sec -test 332 - Start 332: x86_64-warn-symbol-type +324: + grep -q bar@@VER_X1 out/test/elf/x86_64/version-script7/log +312: + grep -q foo out/test/elf/x86_64/version-script17/log2 +321/357 Test #326: x86_64-version-script9 ..................... Passed 0.05 sec +test 333 + Start 333: x86_64-warn-unresolved-symbols -332: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/warn-symbol-type.sh" -332: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -332: Environment variables: -332: MACHINE=x86_64 -332: CPU= -332: Test timeout computed to be: 1500 -312: + cat -320: + out/test/elf/x86_64/version-script3/exe -312: + cc -B. -o out/test/elf/x86_64/version-script17/exe3 out/test/elf/x86_64/version-script17/a.o out/test/elf/x86_64/version-script17/b.so -Wl,--version-script=out/test/elf/x86_64/version-script17/d.ver -320: + readelf --dyn-syms out/test/elf/x86_64/version-script3/exe +333: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/warn-unresolved-symbols.sh" +333: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +333: Environment variables: +333: MACHINE=x86_64 +333: CPU= +333: Test timeout computed to be: 1500 332: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/warn-symbol-type.sh 332: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 332: ++ export LC_ALL=C @@ -22154,34 +22203,32 @@ 332: ++ tlsdesc_opt=-mtls-dialect=gnu2 332: ++ trap 'on_error $LINENO' ERR 332: ++ trap on_exit EXIT -320: + grep -Fq foo@ver1 out/test/elf/x86_64/version-script3/log 332: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/warn-symbol-type.sh .sh -320: + grep -Fq bar@ver2 out/test/elf/x86_64/version-script3/log +324: + on_exit +324: + echo OK +324: OK +324: + exit 0 +331: + cc -c -fPIC -xc -o out/test/elf/x86_64/warn-once/a.o - +322/357 Test #324: x86_64-version-script7 ..................... Passed 0.09 sec +test 334 + Start 334: x86_64-weak-export-dso + +334: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/weak-export-dso.sh" +334: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +334: Environment variables: +334: MACHINE=x86_64 +334: CPU= +334: Test timeout computed to be: 1500 332: ++ testname=warn-symbol-type 332: ++ echo -n 'Testing warn-symbol-type ... ' 332: Testing warn-symbol-type ... ++ t=out/test/elf/x86_64/warn-symbol-type 332: ++ mkdir -p out/test/elf/x86_64/warn-symbol-type 332: + cc -c -fPIC -xc -o out/test/elf/x86_64/warn-symbol-type/a.o - -320: + grep -Fq baz@ver2 out/test/elf/x86_64/version-script3/log 332: + cat -320: + on_exit -320: + echo OK -320: OK -320: + exit 0 -321/357 Test #320: x86_64-version-script3 ..................... Passed 0.14 sec -test 333 - Start 333: x86_64-warn-unresolved-symbols - -333: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/warn-unresolved-symbols.sh" -333: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -333: Environment variables: -333: MACHINE=x86_64 -333: CPU= -333: Test timeout computed to be: 1500 -322: + readelf --dyn-syms out/test/elf/x86_64/version-script5/c.so +331: + cat +312: + cat +312: + cc -B. -o out/test/elf/x86_64/version-script17/exe3 out/test/elf/x86_64/version-script17/a.o out/test/elf/x86_64/version-script17/b.so -Wl,--version-script=out/test/elf/x86_64/version-script17/d.ver 333: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/warn-unresolved-symbols.sh -324: + readelf --dyn-syms out/test/elf/x86_64/version-script7/c.so -322: + grep -Fq foo out/test/elf/x86_64/version-script5/log 333: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 333: ++ export LC_ALL=C 333: ++ LC_ALL=C @@ -22201,45 +22248,14 @@ 333: ++ trap 'on_error $LINENO' ERR 333: ++ trap on_exit EXIT 333: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/warn-unresolved-symbols.sh .sh -322: + grep -Fq ' main' out/test/elf/x86_64/version-script5/log 333: ++ testname=warn-unresolved-symbols 333: ++ echo -n 'Testing warn-unresolved-symbols ... ' 333: Testing warn-unresolved-symbols ... ++ t=out/test/elf/x86_64/warn-unresolved-symbols 333: ++ mkdir -p out/test/elf/x86_64/warn-unresolved-symbols -322: + on_exit -322: + echo OK -322: OK -322: + exit 0 -324: + grep -q 'foo$' out/test/elf/x86_64/version-script7/log -322/357 Test #322: x86_64-version-script5 ..................... Passed 0.15 sec -test 334 - Start 334: x86_64-weak-export-dso - -334: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/weak-export-dso.sh" -334: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -334: Environment variables: -334: MACHINE=x86_64 -334: CPU= -334: Test timeout computed to be: 1500 -324: + grep -q bar@@VER_X1 out/test/elf/x86_64/version-script7/log -324: + on_exit -324: + echo OK -324: OK -324: + exit 0 -333: + cat +328: + echo 'VER1 { local: *; }; VER2 { local: *; }; VER3 { local: *; };' +328: + cc -B. -shared -o out/test/elf/x86_64/versioned-undef/c.so out/test/elf/x86_64/versioned-undef/a.o -Wl,--version-script=out/test/elf/x86_64/versioned-undef/b.ver 333: + cc -c -o out/test/elf/x86_64/warn-unresolved-symbols/a.o -xc - -312: + nm -g out/test/elf/x86_64/version-script17/exe3 -323/357 Test #324: x86_64-version-script7 ..................... Passed 0.14 sec -test 335 - Start 335: x86_64-weak-export-dso2 - -335: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/weak-export-dso2.sh" -335: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -335: Environment variables: -335: MACHINE=x86_64 -335: CPU= -335: Test timeout computed to be: 1500 -312: + grep -q foo out/test/elf/x86_64/version-script17/log3 +320: + cc -B. -o out/test/elf/x86_64/version-script3/exe out/test/elf/x86_64/version-script3/c.o out/test/elf/x86_64/version-script3/b.so 334: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/weak-export-dso.sh 334: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 334: ++ export LC_ALL=C @@ -22247,8 +22263,6 @@ 334: ++ '[' -z x86_64 ']' 334: ++ '[' -z '' ']' 334: ++ TESTDIR=out/test/elf/x86_64 -329: + cat -329: + cc -xc -c -o out/test/elf/x86_64/visibility/b.o - 334: ++ CC=cc 334: ++ CXX=c++ 334: ++ GCC=gcc @@ -22261,28 +22275,52 @@ 334: ++ tlsdesc_opt=-mtls-dialect=gnu2 334: ++ trap 'on_error $LINENO' ERR 334: ++ trap on_exit EXIT +333: + cat +325: + cat +325: + cc -xc -c -o out/test/elf/x86_64/version-script8/c.o - 334: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/weak-export-dso.sh .sh +330: + cc -fcommon -c -xc -o out/test/elf/x86_64/warn-common/b.o - +334: ++ testname=weak-export-dso +334: ++ echo -n 'Testing weak-export-dso ... ' +334: Testing weak-export-dso ... ++ t=out/test/elf/x86_64/weak-export-dso +334: ++ mkdir -p out/test/elf/x86_64/weak-export-dso +329: + cc -xc -c -o out/test/elf/x86_64/visibility/b.o - +330: + cat +329: + cat +334: + cat +334: + cc -fPIC -c -o out/test/elf/x86_64/weak-export-dso/a.o -xc - +323: + cc -B. -shared -Wl,-version-script,out/test/elf/x86_64/version-script6/d.ver -o out/test/elf/x86_64/version-script6/f.so out/test/elf/x86_64/version-script6/e.o out/test/elf/x86_64/version-script6/c.so -Wl,--undefined-version +312: + nm -g out/test/elf/x86_64/version-script17/exe3 +331: + cat +331: + cc -c -fPIC -xc -o out/test/elf/x86_64/warn-once/b.o - +329: + rm -f out/test/elf/x86_64/visibility/c.a +332: + cc -B. -shared -o out/test/elf/x86_64/warn-symbol-type/a.so out/test/elf/x86_64/warn-symbol-type/a.o +325: + cc -B. -o out/test/elf/x86_64/version-script8/exe out/test/elf/x86_64/version-script8/c.o out/test/elf/x86_64/version-script8/b.so +329: + ar crs out/test/elf/x86_64/visibility/c.a out/test/elf/x86_64/visibility/a.o out/test/elf/x86_64/visibility/b.o +328: + cat +312: + grep -q foo out/test/elf/x86_64/version-script17/log3 +328: + cc -c -o out/test/elf/x86_64/versioned-undef/d.o -xc - +333: + cc -B. -o out/test/elf/x86_64/warn-unresolved-symbols/exe out/test/elf/x86_64/warn-unresolved-symbols/a.o +333: + grep -q 'undefined symbol:.*foo' +330: + cc -B. -o out/test/elf/x86_64/warn-common/exe out/test/elf/x86_64/warn-common/a.o out/test/elf/x86_64/warn-common/b.o 312: + on_exit 312: + echo OK 312: OK 312: + exit 0 -335: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/weak-export-dso2.sh -331: + cat -331: + cc -c -fPIC -xc -o out/test/elf/x86_64/warn-once/b.o - -324/357 Test #312: x86_64-version-script17 .................... Passed 0.27 sec -test 336 - Start 336: x86_64-weak-export-exe +323/357 Test #312: x86_64-version-script17 .................... Passed 0.45 sec +test 335 + Start 335: x86_64-weak-export-dso2 -336: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/weak-export-exe.sh" -336: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -336: Environment variables: -336: MACHINE=x86_64 -336: CPU= -336: Test timeout computed to be: 1500 -334: ++ testname=weak-export-dso -334: ++ echo -n 'Testing weak-export-dso ... ' -334: Testing weak-export-dso ... ++ t=out/test/elf/x86_64/weak-export-dso -334: ++ mkdir -p out/test/elf/x86_64/weak-export-dso +335: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/weak-export-dso2.sh" +335: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +335: Environment variables: +335: MACHINE=x86_64 +335: CPU= +335: Test timeout computed to be: 1500 +329: + cat +329: + cc -xc -fPIC -c -o out/test/elf/x86_64/visibility/d.o - +320: + out/test/elf/x86_64/version-script3/exe +335: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/weak-export-dso2.sh 335: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 335: ++ export LC_ALL=C 335: ++ LC_ALL=C @@ -22302,18 +22340,66 @@ 335: ++ trap 'on_error $LINENO' ERR 335: ++ trap on_exit EXIT 335: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/weak-export-dso2.sh .sh +320: + readelf --dyn-syms out/test/elf/x86_64/version-script3/exe 335: ++ testname=weak-export-dso2 335: ++ echo -n 'Testing weak-export-dso2 ... ' 335: Testing weak-export-dso2 ... ++ t=out/test/elf/x86_64/weak-export-dso2 335: ++ mkdir -p out/test/elf/x86_64/weak-export-dso2 335: + cat -323: + cc -B. -shared -Wl,-version-script,out/test/elf/x86_64/version-script6/d.ver -o out/test/elf/x86_64/version-script6/f.so out/test/elf/x86_64/version-script6/e.o out/test/elf/x86_64/version-script6/c.so -Wl,--undefined-version -334: + cat -334: + cc -fPIC -c -o out/test/elf/x86_64/weak-export-dso/a.o -xc - -336: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/weak-export-exe.sh 335: + cc -fPIC -c -o out/test/elf/x86_64/weak-export-dso2/a.o -xc - -325: + cat -325: + cc -xc -c -o out/test/elf/x86_64/version-script8/c.o - +331: + cc -B. -o out/test/elf/x86_64/warn-once/exe out/test/elf/x86_64/warn-once/a.o out/test/elf/x86_64/warn-once/b.o -Wl,--warn-unresolved-symbols,--warn-once +320: + grep -Fq foo@ver1 out/test/elf/x86_64/version-script3/log +320: + grep -Fq bar@ver2 out/test/elf/x86_64/version-script3/log +320: + grep -Fq baz@ver2 out/test/elf/x86_64/version-script3/log +320: + on_exit +320: + echo OK +320: OK +320: + exit 0 +323: + readelf --dyn-syms out/test/elf/x86_64/version-script6/f.so +324/357 Test #320: x86_64-version-script3 ..................... Passed 0.17 sec +test 336 + Start 336: x86_64-weak-export-exe + +336: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/weak-export-exe.sh" +336: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +336: Environment variables: +336: MACHINE=x86_64 +336: CPU= +336: Test timeout computed to be: 1500 +323: + grep -q foo@VER_X1 out/test/elf/x86_64/version-script6/log +323: + grep -q bar@VER_X2 out/test/elf/x86_64/version-script6/log +323: + grep -q baz@@VER_Y2 out/test/elf/x86_64/version-script6/log +323: + on_exit +323: + echo OK +323: OK +323: + exit 0 +334: + cc -B. -o out/test/elf/x86_64/weak-export-dso/b.so out/test/elf/x86_64/weak-export-dso/a.o -shared +332: + grep -q 'warning: symbol type mismatch: times' out/test/elf/x86_64/warn-symbol-type/log +332: + on_exit +332: + echo OK +332: OK +332: + exit 0 +325/357 Test #323: x86_64-version-script6 ..................... Passed 0.17 sec +test 337 + Start 337: x86_64-weak-undef-dso + +337: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/weak-undef-dso.sh" +337: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +337: Environment variables: +337: MACHINE=x86_64 +337: CPU= +337: Test timeout computed to be: 1500 +326/357 Test #332: x86_64-warn-symbol-type .................... Passed 0.08 sec +test 338 + Start 338: x86_64-weak-undef + +338: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/weak-undef.sh" +338: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +338: Environment variables: +338: MACHINE=x86_64 +338: CPU= +338: Test timeout computed to be: 1500 +336: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/weak-export-exe.sh 336: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 336: ++ export LC_ALL=C 336: ++ LC_ALL=C @@ -22339,33 +22425,25 @@ 336: ++ mkdir -p out/test/elf/x86_64/weak-export-exe 336: + cat 336: + cc -fPIC -c -o out/test/elf/x86_64/weak-export-exe/a.o -xc - -330: + cat -330: + cc -fcommon -c -xc -o out/test/elf/x86_64/warn-common/b.o - -323: + readelf --dyn-syms out/test/elf/x86_64/version-script6/f.so -323: + grep -q foo@VER_X1 out/test/elf/x86_64/version-script6/log -323: + grep -q bar@VER_X2 out/test/elf/x86_64/version-script6/log -323: + grep -q baz@@VER_Y2 out/test/elf/x86_64/version-script6/log -323: + on_exit -323: + echo OK -323: OK -323: + exit 0 -325/357 Test #323: x86_64-version-script6 ..................... Passed 0.19 sec -test 337 - Start 337: x86_64-weak-undef-dso - -337: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/weak-undef-dso.sh" -337: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -337: Environment variables: -337: MACHINE=x86_64 -337: CPU= -337: Test timeout computed to be: 1500 -328: + echo 'VER1 { local: *; }; VER2 { local: *; }; VER3 { local: *; };' -328: + cc -B. -shared -o out/test/elf/x86_64/versioned-undef/c.so out/test/elf/x86_64/versioned-undef/a.o -Wl,--version-script=out/test/elf/x86_64/versioned-undef/b.ver -333: + cc -B. -o out/test/elf/x86_64/warn-unresolved-symbols/exe out/test/elf/x86_64/warn-unresolved-symbols/a.o +325: + out/test/elf/x86_64/version-script8/exe +325: + readelf --dyn-syms out/test/elf/x86_64/version-script8/b.so +325: + grep -Fq foo@@ver1 out/test/elf/x86_64/version-script8/log +325: + grep -Fq bar@@ver2 out/test/elf/x86_64/version-script8/log +325: + grep -Fq baz out/test/elf/x86_64/version-script8/log +325: + on_exit +325: + echo OK +325: OK +325: + exit 0 +328: + cc -B. -o out/test/elf/x86_64/versioned-undef/exe out/test/elf/x86_64/versioned-undef/d.o out/test/elf/x86_64/versioned-undef/c.so +333: + cc -B. -o out/test/elf/x86_64/warn-unresolved-symbols/exe out/test/elf/x86_64/warn-unresolved-symbols/a.o -Wl,-warn-unresolved-symbols 333: + grep -q 'undefined symbol:.*foo' +330: + grep -Fq 'multiple common symbols' out/test/elf/x86_64/warn-common/log +330: + cc -B. -o out/test/elf/x86_64/warn-common/exe out/test/elf/x86_64/warn-common/a.o out/test/elf/x86_64/warn-common/b.o -Wl,-warn-common +329: + cc -B. -shared -o out/test/elf/x86_64/visibility/e.so out/test/elf/x86_64/visibility/c.a out/test/elf/x86_64/visibility/d.o +335: + cc -B. -o out/test/elf/x86_64/weak-export-dso2/b.so out/test/elf/x86_64/weak-export-dso2/a.o -shared +327: + ./mold -v +327: + grep -q '[ms]old .*compatible with GNU ld' 337: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/weak-undef-dso.sh -334: + cc -B. -o out/test/elf/x86_64/weak-export-dso/b.so out/test/elf/x86_64/weak-export-dso/a.o -shared -331: + cc -B. -o out/test/elf/x86_64/warn-once/exe out/test/elf/x86_64/warn-once/a.o out/test/elf/x86_64/warn-once/b.o -Wl,--warn-unresolved-symbols,--warn-once 337: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 337: ++ export LC_ALL=C 337: ++ LC_ALL=C @@ -22384,81 +22462,13 @@ 337: ++ tlsdesc_opt=-mtls-dialect=gnu2 337: ++ trap 'on_error $LINENO' ERR 337: ++ trap on_exit EXIT -325: + cc -B. -o out/test/elf/x86_64/version-script8/exe out/test/elf/x86_64/version-script8/c.o out/test/elf/x86_64/version-script8/b.so 337: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/weak-undef-dso.sh .sh 337: ++ testname=weak-undef-dso 337: ++ echo -n 'Testing weak-undef-dso ... ' 337: Testing weak-undef-dso ... ++ t=out/test/elf/x86_64/weak-undef-dso 337: ++ mkdir -p out/test/elf/x86_64/weak-undef-dso -330: + cc -B. -o out/test/elf/x86_64/warn-common/exe out/test/elf/x86_64/warn-common/a.o out/test/elf/x86_64/warn-common/b.o -327: + ./mold -v -327: + grep -q '[ms]old .*compatible with GNU ld' 337: + cat 337: + cc -c -o out/test/elf/x86_64/weak-undef-dso/a.o -fPIC -xc - -336: + cc -B. -o out/test/elf/x86_64/weak-export-exe/exe out/test/elf/x86_64/weak-export-exe/a.o -332: + cc -B. -shared -o out/test/elf/x86_64/warn-symbol-type/a.so out/test/elf/x86_64/warn-symbol-type/a.o -327: + ./mold --version -335: + cc -B. -o out/test/elf/x86_64/weak-export-dso2/b.so out/test/elf/x86_64/weak-export-dso2/a.o -shared -327: + grep -q '[ms]old .*compatible with GNU ld' -327: + ./mold -V -327: + grep -q '[ms]old .*compatible with GNU ld' -329: + rm -f out/test/elf/x86_64/visibility/c.a -329: + ar crs out/test/elf/x86_64/visibility/c.a out/test/elf/x86_64/visibility/a.o out/test/elf/x86_64/visibility/b.o -328: + cat -328: + cc -c -o out/test/elf/x86_64/versioned-undef/d.o -xc - -327: + ./mold -V -327: + grep -q elf_x86_64 -325: + out/test/elf/x86_64/version-script8/exe -334: + cc -B. -o out/test/elf/x86_64/weak-export-dso/c.so out/test/elf/x86_64/weak-export-dso/a.o -shared -Wl,-z,defs -325: + readelf --dyn-syms out/test/elf/x86_64/version-script8/b.so -325: + grep -Fq foo@@ver1 out/test/elf/x86_64/version-script8/log -333: + cc -B. -o out/test/elf/x86_64/warn-unresolved-symbols/exe out/test/elf/x86_64/warn-unresolved-symbols/a.o -Wl,-warn-unresolved-symbols -327: + ./mold -V -327: + grep -q elf_i386 -333: + grep -q 'undefined symbol:.*foo' -325: + grep -Fq bar@@ver2 out/test/elf/x86_64/version-script8/log -325: + grep -Fq baz out/test/elf/x86_64/version-script8/log -331: ++ grep 'undefined symbol:.* foo$' out/test/elf/x86_64/warn-once/log -331: ++ wc -l -325: + on_exit -325: + echo OK -325: OK -325: + exit 0 -330: + grep -Fq 'multiple common symbols' out/test/elf/x86_64/warn-common/log -326/357 Test #325: x86_64-version-script8 ..................... Passed 0.23 sec -test 338 - Start 338: x86_64-weak-undef - -338: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/weak-undef.sh" -338: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -338: Environment variables: -338: MACHINE=x86_64 -338: CPU= -338: Test timeout computed to be: 1500 -336: + readelf --dyn-syms out/test/elf/x86_64/weak-export-exe/exe -336: + grep -q 'WEAK DEFAULT UND foo' -336: + grep -q '^3$' -331: + '[' 1 = 1 ']' -331: + on_exit -331: + echo OK -331: OK -331: + exit 0 -329: + cc -xc -fPIC -c -o out/test/elf/x86_64/visibility/d.o - -329: + cat -327: + cat -327: + cc -c -xc -o out/test/elf/x86_64/version/a.o - -330: + cc -B. -o out/test/elf/x86_64/warn-common/exe out/test/elf/x86_64/warn-common/a.o out/test/elf/x86_64/warn-common/b.o -Wl,-warn-common -327/357 Test #331: x86_64-warn-once ........................... Passed 0.15 sec -test 339 - Start 339: x86_64-weak-undef2 - -339: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/weak-undef2.sh" -339: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -339: Environment variables: -339: MACHINE=x86_64 -339: CPU= -339: Test timeout computed to be: 1500 -336: + out/test/elf/x86_64/weak-export-exe/exe 338: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/weak-undef.sh 338: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 338: ++ export LC_ALL=C @@ -22478,31 +22488,33 @@ 338: ++ tlsdesc_opt=-mtls-dialect=gnu2 338: ++ trap 'on_error $LINENO' ERR 338: ++ trap on_exit EXIT -336: + on_exit -336: + echo OK -336: OK -336: + exit 0 338: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/weak-undef.sh .sh -328/357 Test #336: x86_64-weak-export-exe ..................... Passed 0.09 sec -test 340 - Start 340: x86_64-weak-undef4 - -340: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/weak-undef4.sh" -340: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -340: Environment variables: -340: MACHINE=x86_64 -340: CPU= -340: Test timeout computed to be: 1500 -337: + cc -B. -shared -o out/test/elf/x86_64/weak-undef-dso/b.so out/test/elf/x86_64/weak-undef-dso/a.o -332: + grep -q 'warning: symbol type mismatch: times' out/test/elf/x86_64/warn-symbol-type/log -332: + on_exit -332: + echo OK -332: OK -332: + exit 0 338: ++ testname=weak-undef 338: ++ echo -n 'Testing weak-undef ... ' 338: Testing weak-undef ... ++ t=out/test/elf/x86_64/weak-undef 338: ++ mkdir -p out/test/elf/x86_64/weak-undef +338: + cat +338: + cc -c -o out/test/elf/x86_64/weak-undef/a.o -fPIC -xc - +327: + ./mold --version +327: + grep -q '[ms]old .*compatible with GNU ld' +331: ++ wc -l +327/357 Test #325: x86_64-version-script8 ..................... Passed 0.15 sec +test 339 + Start 339: x86_64-weak-undef2 + +339: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/weak-undef2.sh" +339: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +339: Environment variables: +339: MACHINE=x86_64 +339: CPU= +339: Test timeout computed to be: 1500 +327: + grep -q '[ms]old .*compatible with GNU ld' +327: + ./mold -V +331: ++ grep 'undefined symbol:.* foo$' out/test/elf/x86_64/warn-once/log +333: + cc -B. -o out/test/elf/x86_64/warn-unresolved-symbols/exe out/test/elf/x86_64/warn-unresolved-symbols/a.o -Wl,-warn-unresolved-symbols --error-unresolved-symbols +333: + grep -q 'undefined symbol:.*foo' +327: + ./mold -V +327: + grep -q elf_x86_64 339: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/weak-undef2.sh 339: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 339: ++ export LC_ALL=C @@ -22523,7 +22535,44 @@ 339: ++ trap 'on_error $LINENO' ERR 339: ++ trap on_exit EXIT 339: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/weak-undef2.sh .sh -329/357 Test #332: x86_64-warn-symbol-type .................... Passed 0.14 sec +339: ++ testname=weak-undef2 +339: ++ echo -n 'Testing weak-undef2 ... ' +339: Testing weak-undef2 ... ++ t=out/test/elf/x86_64/weak-undef2 +339: ++ mkdir -p out/test/elf/x86_64/weak-undef2 +327: + ./mold -V +327: + grep -q elf_i386 +331: + '[' 1 = 1 ']' +331: + on_exit +331: + echo OK +331: OK +331: + exit 0 +328/357 Test #331: x86_64-warn-once ........................... Passed 0.12 sec +test 340 + Start 340: x86_64-weak-undef4 + +340: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/weak-undef4.sh" +340: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +340: Environment variables: +340: MACHINE=x86_64 +340: CPU= +340: Test timeout computed to be: 1500 +330: + grep -Fq 'multiple common symbols' out/test/elf/x86_64/warn-common/log +330: + on_exit +330: + echo OK +330: OK +330: + exit 0 +339: + cat +339: + cc -c -o out/test/elf/x86_64/weak-undef2/a.o -xc - +336: + cc -B. -o out/test/elf/x86_64/weak-export-exe/exe out/test/elf/x86_64/weak-export-exe/a.o +334: + cc -B. -o out/test/elf/x86_64/weak-export-dso/c.so out/test/elf/x86_64/weak-export-dso/a.o -shared -Wl,-z,defs +328: + out/test/elf/x86_64/versioned-undef/exe +328: + grep -q '^1 2 3 3 4$' +328: + on_exit +328: + echo OK +328: OK +328: + exit 0 +337: + cc -B. -shared -o out/test/elf/x86_64/weak-undef-dso/b.so out/test/elf/x86_64/weak-undef-dso/a.o +329/357 Test #330: x86_64-warn-common ......................... Passed 0.13 sec test 341 Start 341: x86_64-whole-archive @@ -22533,12 +22582,18 @@ 341: MACHINE=x86_64 341: CPU= 341: Test timeout computed to be: 1500 -338: + cat -338: + cc -c -o out/test/elf/x86_64/weak-undef/a.o -fPIC -xc - -339: ++ testname=weak-undef2 -339: ++ echo -n 'Testing weak-undef2 ... ' -339: Testing weak-undef2 ... ++ t=out/test/elf/x86_64/weak-undef2 -339: ++ mkdir -p out/test/elf/x86_64/weak-undef2 +330/357 Test #328: x86_64-versioned-undef ..................... Passed 0.16 sec +test 342 + Start 342: x86_64-wrap-lto + +342: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/wrap-lto.sh" +342: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +342: Environment variables: +342: MACHINE=x86_64 +342: CPU= +342: Test timeout computed to be: 1500 +327: + cat +327: + cc -c -xc -o out/test/elf/x86_64/version/a.o - 340: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/weak-undef4.sh 340: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 340: ++ export LC_ALL=C @@ -22558,18 +22613,17 @@ 340: ++ tlsdesc_opt=-mtls-dialect=gnu2 340: ++ trap 'on_error $LINENO' ERR 340: ++ trap on_exit EXIT -339: + cat -339: + cc -c -o out/test/elf/x86_64/weak-undef2/a.o -xc - 340: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/weak-undef4.sh .sh 340: ++ testname=weak-undef4 340: ++ echo -n 'Testing weak-undef4 ... ' 340: Testing weak-undef4 ... ++ t=out/test/elf/x86_64/weak-undef4 340: ++ mkdir -p out/test/elf/x86_64/weak-undef4 -334: + readelf --dyn-syms out/test/elf/x86_64/weak-export-dso/b.so -334: + grep -q 'WEAK DEFAULT UND foo' -333: + cc -B. -o out/test/elf/x86_64/warn-unresolved-symbols/exe out/test/elf/x86_64/warn-unresolved-symbols/a.o -Wl,-warn-unresolved-symbols --error-unresolved-symbols -335: + cat -335: + cc -fPIC -c -o out/test/elf/x86_64/weak-export-dso2/c.o -xc - +340: + cat +340: + cc -c -o out/test/elf/x86_64/weak-undef4/a.o -xc - +329: + readelf --dyn-syms out/test/elf/x86_64/visibility/e.so +329: + grep -Fq foo out/test/elf/x86_64/visibility/log +338: + cat +338: + cc -c -o out/test/elf/x86_64/weak-undef/b.o -fno-PIC -xc - 341: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/whole-archive.sh 341: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 341: ++ export LC_ALL=C @@ -22590,38 +22644,16 @@ 341: ++ trap 'on_error $LINENO' ERR 341: ++ trap on_exit EXIT 341: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/whole-archive.sh .sh -340: + cat -340: + cc -c -o out/test/elf/x86_64/weak-undef4/a.o -xc - -334: + readelf --dyn-syms out/test/elf/x86_64/weak-export-dso/c.so -334: + grep -q 'WEAK DEFAULT UND foo' -334: + on_exit -334: + echo OK -334: OK -334: + exit 0 -330/357 Test #334: x86_64-weak-export-dso ..................... Passed 0.13 sec -test 342 - Start 342: x86_64-wrap-lto - -342: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/wrap-lto.sh" -342: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -342: Environment variables: -342: MACHINE=x86_64 -342: CPU= -342: Test timeout computed to be: 1500 -333: + grep -q 'undefined symbol:.*foo' 341: ++ testname=whole-archive 341: ++ echo -n 'Testing whole-archive ... ' 341: Testing whole-archive ... ++ t=out/test/elf/x86_64/whole-archive 341: ++ mkdir -p out/test/elf/x86_64/whole-archive -341: + cat -341: + cc -o out/test/elf/x86_64/whole-archive/a.o -c -x assembler - -330: + grep -Fq 'multiple common symbols' out/test/elf/x86_64/warn-common/log 342: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/wrap-lto.sh -330: + on_exit -330: + echo OK -330: OK -330: + exit 0 -331/357 Test #330: x86_64-warn-common ......................... Passed 0.21 sec +329: + on_exit +329: + echo OK +329: OK +329: + exit 0 +331/357 Test #329: x86_64-visibility .......................... Passed 0.15 sec test 343 Start 343: x86_64-wrap @@ -22650,16 +22682,24 @@ 342: ++ trap 'on_error $LINENO' ERR 342: ++ trap on_exit EXIT 342: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/wrap-lto.sh .sh +333: + on_exit +333: + echo OK +333: OK +333: + exit 0 +332/357 Test #333: x86_64-warn-unresolved-symbols ............. Passed 0.13 sec +test 344 + Start 344: x86_64-z-cet-report + +344: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/z-cet-report.sh" +344: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +344: Environment variables: +344: MACHINE=x86_64 +344: CPU= +344: Test timeout computed to be: 1500 342: ++ testname=wrap-lto 342: ++ echo -n 'Testing wrap-lto ... ' 342: Testing wrap-lto ... ++ t=out/test/elf/x86_64/wrap-lto 342: ++ mkdir -p out/test/elf/x86_64/wrap-lto -337: + cat -337: + cc -xc -c -o out/test/elf/x86_64/weak-undef-dso/c.o - -341: + echo 'int fn1() { return 42; }' -341: + cc -o out/test/elf/x86_64/whole-archive/b.o -c -xc - -342: + cat -342: + cc -fPIC -shared -o out/test/elf/x86_64/wrap-lto/a.so -xc - 343: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/wrap.sh 343: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 343: ++ export LC_ALL=C @@ -22680,27 +22720,21 @@ 343: ++ trap 'on_error $LINENO' ERR 343: ++ trap on_exit EXIT 343: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/wrap.sh .sh +335: + cc -fPIC -c -o out/test/elf/x86_64/weak-export-dso2/c.o -xc - +335: + cat +341: + cat +341: + cc -o out/test/elf/x86_64/whole-archive/a.o -c -x assembler - 343: ++ testname=wrap 343: ++ echo -n 'Testing wrap ... ' 343: Testing wrap ... ++ t=out/test/elf/x86_64/wrap 343: ++ mkdir -p out/test/elf/x86_64/wrap 343: + cat +341: + echo 'int fn1() { return 42; }' +341: + cc -o out/test/elf/x86_64/whole-archive/b.o -c -xc - 343: + cc -fPIC -shared -o out/test/elf/x86_64/wrap/a.so -xc - -333: + on_exit -333: + echo OK -333: OK -333: + exit 0 -332/357 Test #333: x86_64-warn-unresolved-symbols ............. Passed 0.16 sec -test 344 - Start 344: x86_64-z-cet-report - -344: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/z-cet-report.sh" -344: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -344: Environment variables: -344: MACHINE=x86_64 -344: CPU= -344: Test timeout computed to be: 1500 +342: + cat 344: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/z-cet-report.sh +342: + cc -fPIC -shared -o out/test/elf/x86_64/wrap-lto/a.so -xc - 344: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 344: ++ export LC_ALL=C 344: ++ LC_ALL=C @@ -22719,36 +22753,27 @@ 344: ++ tlsdesc_opt=-mtls-dialect=gnu2 344: ++ trap 'on_error $LINENO' ERR 344: ++ trap on_exit EXIT -328: + cc -B. -o out/test/elf/x86_64/versioned-undef/exe out/test/elf/x86_64/versioned-undef/d.o out/test/elf/x86_64/versioned-undef/c.so 344: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/z-cet-report.sh .sh +337: + cc -xc -c -o out/test/elf/x86_64/weak-undef-dso/c.o - +337: + cat +334: + grep -q 'WEAK DEFAULT UND foo' +334: + readelf --dyn-syms out/test/elf/x86_64/weak-export-dso/b.so 344: ++ testname=z-cet-report 344: ++ echo -n 'Testing z-cet-report ... ' 344: Testing z-cet-report ... ++ t=out/test/elf/x86_64/z-cet-report 344: ++ mkdir -p out/test/elf/x86_64/z-cet-report -344: + cat -344: + cc -o out/test/elf/x86_64/z-cet-report/a.o -c -x assembler - -339: + cat -339: + cc -c -o out/test/elf/x86_64/weak-undef2/b.o -xc - -329: + cc -B. -shared -o out/test/elf/x86_64/visibility/e.so out/test/elf/x86_64/visibility/c.a out/test/elf/x86_64/visibility/d.o -340: + cat -338: + cat -340: + cc -c -o out/test/elf/x86_64/weak-undef4/b.o -xc - -338: + cc -c -o out/test/elf/x86_64/weak-undef/b.o -fno-PIC -xc - -344: + cc -B. -o out/test/elf/x86_64/z-cet-report/exe out/test/elf/x86_64/z-cet-report/a.o -341: + echo 'int fn2() { return 42; }' -341: + cc -o out/test/elf/x86_64/whole-archive/c.o -c -xc - -337: + cc -B. -o out/test/elf/x86_64/weak-undef-dso/exe1 out/test/elf/x86_64/weak-undef-dso/c.o out/test/elf/x86_64/weak-undef-dso/b.so -335: + cc -B. -o out/test/elf/x86_64/weak-export-dso2/d.so out/test/elf/x86_64/weak-export-dso2/c.o out/test/elf/x86_64/weak-export-dso2/b.so -shared 327: + rm -f out/test/elf/x86_64/version/exe -327: + cc -B. -Wl,--version -o out/test/elf/x86_64/version/exe1 out/test/elf/x86_64/version/a.o -327: + grep -q '[ms]old' -328: + out/test/elf/x86_64/versioned-undef/exe -328: + grep -q '^1 2 3 3 4$' -328: + on_exit -328: + echo OK -328: OK -328: + exit 0 -333/357 Test #328: x86_64-versioned-undef ..................... Passed 0.28 sec +334: + readelf --dyn-syms out/test/elf/x86_64/weak-export-dso/c.so +334: + grep -q 'WEAK DEFAULT UND foo' +336: + readelf --dyn-syms out/test/elf/x86_64/weak-export-exe/exe +336: + grep -q 'WEAK DEFAULT UND foo' +340: + cc -c -o out/test/elf/x86_64/weak-undef4/b.o -xc - +340: + cat +334: + on_exit +334: + echo OK +334: OK +334: + exit 0 +333/357 Test #334: x86_64-weak-export-dso ..................... Passed 0.14 sec test 345 Start 345: x86_64-z-defs @@ -22758,9 +22783,31 @@ 345: MACHINE=x86_64 345: CPU= 345: Test timeout computed to be: 1500 -327: + '[' -f out/test/elf/x86_64/version/exe1 ']' -327: + cc -B. -Wl,-v -o out/test/elf/x86_64/version/exe2 out/test/elf/x86_64/version/a.o +327: + cc -B. -Wl,--version -o out/test/elf/x86_64/version/exe1 out/test/elf/x86_64/version/a.o +327: + grep -q '[ms]old' +344: + cat +344: + cc -o out/test/elf/x86_64/z-cet-report/a.o -c -x assembler - +336: + out/test/elf/x86_64/weak-export-exe/exe +336: + grep -q '^3$' +338: + cc -fcommon -xc -c -o out/test/elf/x86_64/weak-undef/c.o - 345: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/z-defs.sh +338: + cat +339: + cc -c -o out/test/elf/x86_64/weak-undef2/b.o -xc - +339: + cat +336: + on_exit +336: + echo OK +336: OK +336: + exit 0 +334/357 Test #336: x86_64-weak-export-exe ..................... Passed 0.09 sec +test 346 + Start 346: x86_64-z-dynamic-undefined-weak + +346: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/z-dynamic-undefined-weak.sh" +346: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +346: Environment variables: +346: MACHINE=x86_64 +346: CPU= +346: Test timeout computed to be: 1500 345: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 345: ++ export LC_ALL=C 345: ++ LC_ALL=C @@ -22779,35 +22826,21 @@ 345: ++ tlsdesc_opt=-mtls-dialect=gnu2 345: ++ trap 'on_error $LINENO' ERR 345: ++ trap on_exit EXIT -327: + grep -q '[ms]old' -329: + readelf --dyn-syms out/test/elf/x86_64/visibility/e.so 345: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/z-defs.sh .sh 345: ++ testname=z-defs 345: ++ echo -n 'Testing z-defs ... ' 345: Testing z-defs ... ++ t=out/test/elf/x86_64/z-defs 345: ++ mkdir -p out/test/elf/x86_64/z-defs -344: + cc -B. -o out/test/elf/x86_64/z-cet-report/exe out/test/elf/x86_64/z-cet-report/a.o -Wl,-z,cet-report=warning -329: + grep -Fq foo out/test/elf/x86_64/visibility/log -329: + on_exit -329: + echo OK -329: OK -329: + exit 0 -334/357 Test #329: x86_64-visibility .......................... Passed 0.28 sec -test 346 - Start 346: x86_64-z-dynamic-undefined-weak - -346: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/z-dynamic-undefined-weak.sh" -346: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -346: Environment variables: -346: MACHINE=x86_64 -346: CPU= -346: Test timeout computed to be: 1500 -345: + cat 345: + cc -fPIC -c -o out/test/elf/x86_64/z-defs/a.o -xc - -337: + out/test/elf/x86_64/weak-undef-dso/exe1 -337: + grep -q bar=-1 +345: + cat +327: + '[' -f out/test/elf/x86_64/version/exe1 ']' +327: + grep -q '[ms]old' +327: + cc -B. -Wl,-v -o out/test/elf/x86_64/version/exe2 out/test/elf/x86_64/version/a.o +344: + cc -B. -o out/test/elf/x86_64/z-cet-report/exe out/test/elf/x86_64/z-cet-report/a.o +335: + cc -B. -o out/test/elf/x86_64/weak-export-dso2/d.so out/test/elf/x86_64/weak-export-dso2/c.o out/test/elf/x86_64/weak-export-dso2/b.so -shared +341: + echo 'int fn2() { return 42; }' 346: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/z-dynamic-undefined-weak.sh -342: + cat +341: + cc -o out/test/elf/x86_64/whole-archive/c.o -c -xc - 346: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 346: ++ export LC_ALL=C 346: ++ LC_ALL=C @@ -22824,25 +22857,39 @@ 346: ++ QEMU= 346: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' 346: ++ tlsdesc_opt=-mtls-dialect=gnu2 -342: + cc -c -o out/test/elf/x86_64/wrap-lto/b.o -xc - -flto 346: ++ trap 'on_error $LINENO' ERR 346: ++ trap on_exit EXIT -337: + cat 346: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/z-dynamic-undefined-weak.sh .sh -337: + cc -xc -c -o out/test/elf/x86_64/weak-undef-dso/d.o - 346: ++ testname=z-dynamic-undefined-weak 346: ++ echo -n 'Testing z-dynamic-undefined-weak ... ' 346: Testing z-dynamic-undefined-weak ... ++ t=out/test/elf/x86_64/z-dynamic-undefined-weak 346: ++ mkdir -p out/test/elf/x86_64/z-dynamic-undefined-weak -335: + readelf -W --dyn-syms out/test/elf/x86_64/weak-export-dso2/d.so -335: + grep -q 'WEAK DEFAULT UND foo' -335: + on_exit -335: + echo OK -335: OK -335: + exit 0 -327: + out/test/elf/x86_64/version/exe2 +346: + cat +346: + cc -o out/test/elf/x86_64/z-dynamic-undefined-weak/a.o -c -xc - -fPIC +337: + cc -B. -o out/test/elf/x86_64/weak-undef-dso/exe1 out/test/elf/x86_64/weak-undef-dso/c.o out/test/elf/x86_64/weak-undef-dso/b.so +339: + cc -B. -o out/test/elf/x86_64/weak-undef2/exe out/test/elf/x86_64/weak-undef2/a.o out/test/elf/x86_64/weak-undef2/b.o +338: + cc -B. -o out/test/elf/x86_64/weak-undef/exe1 out/test/elf/x86_64/weak-undef/a.o -pie +340: + cat +340: + cc -fcommon -xc -c -o out/test/elf/x86_64/weak-undef4/c.o - +341: + rm -f out/test/elf/x86_64/whole-archive/d.a +344: + cc -B. -o out/test/elf/x86_64/z-cet-report/exe out/test/elf/x86_64/z-cet-report/a.o -Wl,-z,cet-report=warning +341: + ar cr out/test/elf/x86_64/whole-archive/d.a out/test/elf/x86_64/whole-archive/b.o out/test/elf/x86_64/whole-archive/c.o 327: + grep -q 'Hello world' -335/357 Test #335: x86_64-weak-export-dso2 .................... Passed 0.22 sec +327: + out/test/elf/x86_64/version/exe2 +345: + cc -B. -shared -o out/test/elf/x86_64/z-defs/b.so out/test/elf/x86_64/z-defs/a.o +327: + ./mold --v +341: + cc -B. -nostdlib -o out/test/elf/x86_64/whole-archive/exe out/test/elf/x86_64/whole-archive/a.o out/test/elf/x86_64/whole-archive/d.a +343: + cat +343: + cc -c -o out/test/elf/x86_64/wrap/b.o -xc - +342: + cc -c -o out/test/elf/x86_64/wrap-lto/b.o -xc - -flto +342: + cat +327: + grep -q 'unknown command line option:' out/test/elf/x86_64/version/log +327: + on_exit +327: + echo OK +327: OK +327: + exit 0 +335: + readelf -W --dyn-syms out/test/elf/x86_64/weak-export-dso2/d.so +335/357 Test #327: x86_64-version ............................. Passed 0.25 sec test 347 Start 347: x86_64-z-max-page-size @@ -22852,18 +22899,13 @@ 347: MACHINE=x86_64 347: CPU= 347: Test timeout computed to be: 1500 -327: + ./mold --v -327: + grep -q 'unknown command line option:' out/test/elf/x86_64/version/log -346: + cat -346: + cc -o out/test/elf/x86_64/z-dynamic-undefined-weak/a.o -c -xc - -fPIC -340: + cat -340: + cc -fcommon -xc -c -o out/test/elf/x86_64/weak-undef4/c.o - -339: + cc -B. -o out/test/elf/x86_64/weak-undef2/exe out/test/elf/x86_64/weak-undef2/a.o out/test/elf/x86_64/weak-undef2/b.o -327: + on_exit -327: + echo OK -327: OK -327: + exit 0 -336/357 Test #327: x86_64-version ............................. Passed 0.32 sec +335: + grep -q 'WEAK DEFAULT UND foo' +335: + on_exit +335: + echo OK +335: OK +335: + exit 0 +347: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/z-max-page-size.sh +336/357 Test #335: x86_64-weak-export-dso2 .................... Passed 0.16 sec test 348 Start 348: x86_64-z-nodefaultlib @@ -22873,7 +22915,6 @@ 348: MACHINE=x86_64 348: CPU= 348: Test timeout computed to be: 1500 -347: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/z-max-page-size.sh 347: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 347: ++ export LC_ALL=C 347: ++ LC_ALL=C @@ -22893,16 +22934,23 @@ 347: ++ trap 'on_error $LINENO' ERR 347: ++ trap on_exit EXIT 347: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/z-max-page-size.sh .sh -348: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/z-nodefaultlib.sh 347: ++ testname=z-max-page-size 347: ++ echo -n 'Testing z-max-page-size ... ' 347: Testing z-max-page-size ... ++ t=out/test/elf/x86_64/z-max-page-size 347: ++ mkdir -p out/test/elf/x86_64/z-max-page-size +346: + cc -B. -shared -o out/test/elf/x86_64/z-dynamic-undefined-weak/b.so out/test/elf/x86_64/z-dynamic-undefined-weak/a.o +340: + ar rcs out/test/elf/x86_64/weak-undef4/d.a out/test/elf/x86_64/weak-undef4/c.o +348: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/z-nodefaultlib.sh +347: + cat +347: + cc -o out/test/elf/x86_64/z-max-page-size/a.o -c -xc - +337: + out/test/elf/x86_64/weak-undef-dso/exe1 +338: + cc -B. -o out/test/elf/x86_64/weak-undef/exe2 out/test/elf/x86_64/weak-undef/b.o -no-pie 344: + grep -q 'a.o: -cet-report=warning: missing GNU_PROPERTY_X86_FEATURE_1_IBT' out/test/elf/x86_64/z-cet-report/log 348: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 348: ++ export LC_ALL=C 348: ++ LC_ALL=C 348: ++ '[' -z x86_64 ']' +341: + readelf --symbols out/test/elf/x86_64/whole-archive/exe 348: ++ '[' -z '' ']' 348: ++ TESTDIR=out/test/elf/x86_64 348: ++ CC=cc @@ -22917,25 +22965,27 @@ 348: ++ tlsdesc_opt=-mtls-dialect=gnu2 348: ++ trap 'on_error $LINENO' ERR 348: ++ trap on_exit EXIT +337: + grep -q bar=-1 348: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/z-nodefaultlib.sh .sh -347: + cat -347: + cc -o out/test/elf/x86_64/z-max-page-size/a.o -c -xc - -344: + grep -q 'a.o: -cet-report=warning: missing GNU_PROPERTY_X86_FEATURE_1_SHSTK' out/test/elf/x86_64/z-cet-report/log 348: ++ testname=z-nodefaultlib 348: ++ echo -n 'Testing z-nodefaultlib ... ' 348: Testing z-nodefaultlib ... ++ t=out/test/elf/x86_64/z-nodefaultlib 348: ++ mkdir -p out/test/elf/x86_64/z-nodefaultlib -344: + cc -B. -o out/test/elf/x86_64/z-cet-report/exe out/test/elf/x86_64/z-cet-report/a.o -Wl,-z,cet-report=error +337: + cat +337: + cc -xc -c -o out/test/elf/x86_64/weak-undef-dso/d.o - 348: + cat 348: + cc -o out/test/elf/x86_64/z-nodefaultlib/a.o -c -xc - -338: + cat -338: + cc -fcommon -xc -c -o out/test/elf/x86_64/weak-undef/c.o - +344: + grep -q 'a.o: -cet-report=warning: missing GNU_PROPERTY_X86_FEATURE_1_SHSTK' out/test/elf/x86_64/z-cet-report/log +344: + cc -B. -o out/test/elf/x86_64/z-cet-report/exe out/test/elf/x86_64/z-cet-report/a.o -Wl,-z,cet-report=error +341: + grep -q fn1 out/test/elf/x86_64/whole-archive/readelf 339: + grep -q 'undefined symbol: foo' out/test/elf/x86_64/weak-undef2/log +340: + cc -B. -o out/test/elf/x86_64/weak-undef4/exe1 out/test/elf/x86_64/weak-undef4/a.o out/test/elf/x86_64/weak-undef4/d.a +341: + grep -q fn2 out/test/elf/x86_64/whole-archive/readelf 339: + on_exit 339: + echo OK 339: OK 339: + exit 0 -337/357 Test #339: x86_64-weak-undef2 ......................... Passed 0.16 sec +337/357 Test #339: x86_64-weak-undef2 ......................... Passed 0.14 sec test 349 Start 349: x86_64-z-nodump @@ -22945,10 +22995,10 @@ 349: MACHINE=x86_64 349: CPU= 349: Test timeout computed to be: 1500 -341: + rm -f out/test/elf/x86_64/whole-archive/d.a -343: + cat -343: + cc -c -o out/test/elf/x86_64/wrap/b.o -xc - -341: + ar cr out/test/elf/x86_64/whole-archive/d.a out/test/elf/x86_64/whole-archive/b.o out/test/elf/x86_64/whole-archive/c.o +342: + cat +342: + cc -c -o out/test/elf/x86_64/wrap-lto/c.o -xc - -flto +341: + cc -B. -nostdlib -o out/test/elf/x86_64/whole-archive/exe out/test/elf/x86_64/whole-archive/a.o -Wl,--whole-archive out/test/elf/x86_64/whole-archive/d.a +345: + cc -B. -shared -o out/test/elf/x86_64/z-defs/b.so out/test/elf/x86_64/z-defs/a.o -Wl,-z,undefs 349: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/z-nodump.sh 349: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 349: ++ export LC_ALL=C @@ -22969,23 +23019,33 @@ 349: ++ trap 'on_error $LINENO' ERR 349: ++ trap on_exit EXIT 349: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/z-nodump.sh .sh +343: + cc -c -o out/test/elf/x86_64/wrap/c.o -xc - 349: ++ testname=z-nodump 349: ++ echo -n 'Testing z-nodump ... ' 349: Testing z-nodump ... ++ t=out/test/elf/x86_64/z-nodump 349: ++ mkdir -p out/test/elf/x86_64/z-nodump +343: + cat 349: + cat 349: + cc -c -o out/test/elf/x86_64/z-nodump/a.o -xc - -341: + cc -B. -nostdlib -o out/test/elf/x86_64/whole-archive/exe out/test/elf/x86_64/whole-archive/a.o out/test/elf/x86_64/whole-archive/d.a +346: + cc -B. -shared -o out/test/elf/x86_64/z-dynamic-undefined-weak/c.so out/test/elf/x86_64/z-dynamic-undefined-weak/a.o -Wl,-z,dynamic-undefined-weak +341: + readelf --symbols out/test/elf/x86_64/whole-archive/exe +347: + cc -B. -o out/test/elf/x86_64/z-max-page-size/exe1 out/test/elf/x86_64/z-max-page-size/a.o -Wl,-z,max-page-size=65536 -Wl,-z,separate-loadable-segments +341: + grep -q fn1 out/test/elf/x86_64/whole-archive/readelf +341: + grep -q fn2 out/test/elf/x86_64/whole-archive/readelf +341: + cc -B. -nostdlib -o out/test/elf/x86_64/whole-archive/exe out/test/elf/x86_64/whole-archive/a.o -Wl,--whole-archive -Wl,--no-whole-archive out/test/elf/x86_64/whole-archive/d.a +338: + cc -B. -o out/test/elf/x86_64/weak-undef/exe3 out/test/elf/x86_64/weak-undef/a.o out/test/elf/x86_64/weak-undef/c.o -pie +342: + cc -B. -o out/test/elf/x86_64/wrap-lto/exe out/test/elf/x86_64/wrap-lto/a.so out/test/elf/x86_64/wrap-lto/b.o -flto +337: + cc -B. -o out/test/elf/x86_64/weak-undef-dso/exe2 out/test/elf/x86_64/weak-undef-dso/d.o out/test/elf/x86_64/weak-undef-dso/b.so 344: + grep -q 'a.o: -cet-report=error: missing GNU_PROPERTY_X86_FEATURE_1_IBT' out/test/elf/x86_64/z-cet-report/log +340: + cc -B. -o out/test/elf/x86_64/weak-undef4/exe2 out/test/elf/x86_64/weak-undef4/b.o out/test/elf/x86_64/weak-undef4/d.a +345: + cc -B. -shared -o out/test/elf/x86_64/z-defs/b.so out/test/elf/x86_64/z-defs/a.o -Wl,-z,defs +348: + cc -B. -o out/test/elf/x86_64/z-nodefaultlib/exe out/test/elf/x86_64/z-nodefaultlib/a.o -Wl,-z,nodefaultlib 344: + grep -q 'a.o: -cet-report=error: missing GNU_PROPERTY_X86_FEATURE_1_SHSTK' out/test/elf/x86_64/z-cet-report/log -345: + cc -B. -shared -o out/test/elf/x86_64/z-defs/b.so out/test/elf/x86_64/z-defs/a.o -338: + cc -B. -o out/test/elf/x86_64/weak-undef/exe1 out/test/elf/x86_64/weak-undef/a.o -pie 344: + on_exit 344: + echo OK 344: OK 344: + exit 0 -340: + ar rcs out/test/elf/x86_64/weak-undef4/d.a out/test/elf/x86_64/weak-undef4/c.o -338/357 Test #344: x86_64-z-cet-report ........................ Passed 0.12 sec +338/357 Test #344: x86_64-z-cet-report ........................ Passed 0.14 sec test 350 Start 350: x86_64-z-now @@ -22995,7 +23055,6 @@ 350: MACHINE=x86_64 350: CPU= 350: Test timeout computed to be: 1500 -337: + cc -B. -o out/test/elf/x86_64/weak-undef-dso/exe2 out/test/elf/x86_64/weak-undef-dso/d.o out/test/elf/x86_64/weak-undef-dso/b.so 350: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/z-now.sh 350: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 350: ++ export LC_ALL=C @@ -23015,31 +23074,40 @@ 350: ++ tlsdesc_opt=-mtls-dialect=gnu2 350: ++ trap 'on_error $LINENO' ERR 350: ++ trap on_exit EXIT -341: + readelf --symbols out/test/elf/x86_64/whole-archive/exe 350: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/z-now.sh .sh 350: ++ testname=z-now 350: ++ echo -n 'Testing z-now ... ' 350: Testing z-now ... ++ t=out/test/elf/x86_64/z-now 350: ++ mkdir -p out/test/elf/x86_64/z-now -341: + grep -q fn1 out/test/elf/x86_64/whole-archive/readelf -350: + cat +349: + cc -B. -shared -o out/test/elf/x86_64/z-nodump/b.so out/test/elf/x86_64/z-nodump/a.o 350: + cc -o out/test/elf/x86_64/z-now/a.o -c -xc - -341: + grep -q fn2 out/test/elf/x86_64/whole-archive/readelf -341: + cc -B. -nostdlib -o out/test/elf/x86_64/whole-archive/exe out/test/elf/x86_64/whole-archive/a.o -Wl,--whole-archive out/test/elf/x86_64/whole-archive/d.a -338: + cc -B. -o out/test/elf/x86_64/weak-undef/exe2 out/test/elf/x86_64/weak-undef/b.o -no-pie -345: + cc -B. -shared -o out/test/elf/x86_64/z-defs/b.so out/test/elf/x86_64/z-defs/a.o -Wl,-z,undefs +350: + cat 341: + readelf --symbols out/test/elf/x86_64/whole-archive/exe -342: + cat -342: + cc -c -o out/test/elf/x86_64/wrap-lto/c.o -xc - -flto -347: + cc -B. -o out/test/elf/x86_64/z-max-page-size/exe1 out/test/elf/x86_64/z-max-page-size/a.o -Wl,-z,max-page-size=65536 -Wl,-z,separate-loadable-segments +347: + grep -q 'Hello world' +347: + out/test/elf/x86_64/z-max-page-size/exe1 +346: + cc -B. -shared -o out/test/elf/x86_64/z-dynamic-undefined-weak/d.so out/test/elf/x86_64/z-dynamic-undefined-weak/a.o -Wl,-z,nodynamic-undefined-weak +338: + cc -B. -o out/test/elf/x86_64/weak-undef/exe4 out/test/elf/x86_64/weak-undef/b.o out/test/elf/x86_64/weak-undef/c.o -no-pie +347: + grep -q 'LOAD.*R 0x10000$' +347: + readelf -W --segments out/test/elf/x86_64/z-max-page-size/exe1 +347: + cc -B. -o out/test/elf/x86_64/z-max-page-size/exe2 out/test/elf/x86_64/z-max-page-size/a.o -Wl,-zmax-page-size=1048576 -Wl,-z,separate-loadable-segments +343: + cc -B. -o out/test/elf/x86_64/wrap/exe out/test/elf/x86_64/wrap/a.so out/test/elf/x86_64/wrap/b.o +341: + grep -q fn1 out/test/elf/x86_64/whole-archive/readelf 337: + out/test/elf/x86_64/weak-undef-dso/exe2 +345: + grep -q 'undefined symbol:.* foo' out/test/elf/x86_64/z-defs/log +341: + grep -q fn2 out/test/elf/x86_64/whole-archive/readelf 337: + grep -q bar=5 +340: + out/test/elf/x86_64/weak-undef4/exe1 +345: + cc -B. -shared -o out/test/elf/x86_64/z-defs/b.so out/test/elf/x86_64/z-defs/a.o -Wl,-no-undefined +341: + on_exit +341: + echo OK +341: OK +341: + exit 0 337: + on_exit 337: + echo OK 337: OK 337: + exit 0 -348: + cc -B. -o out/test/elf/x86_64/z-nodefaultlib/exe out/test/elf/x86_64/z-nodefaultlib/a.o -Wl,-z,nodefaultlib -339/357 Test #337: x86_64-weak-undef-dso ...................... Passed 0.27 sec +340: + grep -q '^2$' +339/357 Test #337: x86_64-weak-undef-dso ...................... Passed 0.23 sec test 351 Start 351: x86_64-z-origin @@ -23049,9 +23117,49 @@ 351: MACHINE=x86_64 351: CPU= 351: Test timeout computed to be: 1500 -346: + cc -B. -shared -o out/test/elf/x86_64/z-dynamic-undefined-weak/b.so out/test/elf/x86_64/z-dynamic-undefined-weak/a.o +340/357 Test #341: x86_64-whole-archive ....................... Passed 0.18 sec +test 352 + Start 352: x86_64-z-pack-relative-relocs + +352: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/z-pack-relative-relocs.sh" +352: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +352: Environment variables: +352: MACHINE=x86_64 +352: CPU= +352: Test timeout computed to be: 1500 +340: + grep -q '^-1$' +340: + out/test/elf/x86_64/weak-undef4/exe2 +340: + on_exit +340: + echo OK +340: OK +340: + exit 0 +341/357 Test #340: x86_64-weak-undef4 ......................... Passed 0.19 sec +test 353 + Start 353: x86_64-z-sectionheader + +353: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/z-sectionheader.sh" +353: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +353: Environment variables: +353: MACHINE=x86_64 +353: CPU= +353: Test timeout computed to be: 1500 +348: + grep -q 'Flags:.*NODEFLIB' +348: + readelf --dynamic out/test/elf/x86_64/z-nodefaultlib/exe +348: + on_exit +348: + echo OK +348: OK +348: + exit 0 +342/357 Test #348: x86_64-z-nodefaultlib ...................... Passed 0.10 sec +test 354 + Start 354: x86_64-z-separate-code + +354: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/z-separate-code.sh" +354: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu +354: Environment variables: +354: MACHINE=x86_64 +354: CPU= +354: Test timeout computed to be: 1500 351: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/z-origin.sh -340: + cc -B. -o out/test/elf/x86_64/weak-undef4/exe1 out/test/elf/x86_64/weak-undef4/a.o out/test/elf/x86_64/weak-undef4/d.a 351: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 351: ++ export LC_ALL=C 351: ++ LC_ALL=C @@ -23071,43 +23179,12 @@ 351: ++ trap 'on_error $LINENO' ERR 351: ++ trap on_exit EXIT 351: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/z-origin.sh .sh -341: + grep -q fn1 out/test/elf/x86_64/whole-archive/readelf 351: ++ testname=z-origin 351: ++ echo -n 'Testing z-origin ... ' 351: Testing z-origin ... ++ t=out/test/elf/x86_64/z-origin 351: ++ mkdir -p out/test/elf/x86_64/z-origin -351: + cat 351: + cc -c -o out/test/elf/x86_64/z-origin/a.o -xc - -342: + cc -B. -o out/test/elf/x86_64/wrap-lto/exe out/test/elf/x86_64/wrap-lto/a.so out/test/elf/x86_64/wrap-lto/b.o -flto -345: + cc -B. -shared -o out/test/elf/x86_64/z-defs/b.so out/test/elf/x86_64/z-defs/a.o -Wl,-z,defs -349: + cc -B. -shared -o out/test/elf/x86_64/z-nodump/b.so out/test/elf/x86_64/z-nodump/a.o -341: + grep -q fn2 out/test/elf/x86_64/whole-archive/readelf -347: + grep -q 'Hello world' -338: + cc -B. -o out/test/elf/x86_64/weak-undef/exe3 out/test/elf/x86_64/weak-undef/a.o out/test/elf/x86_64/weak-undef/c.o -pie -350: + cc -B. -o out/test/elf/x86_64/z-now/exe out/test/elf/x86_64/z-now/a.o -Wl,-z,now -341: + cc -B. -nostdlib -o out/test/elf/x86_64/whole-archive/exe out/test/elf/x86_64/whole-archive/a.o -Wl,--whole-archive -Wl,--no-whole-archive out/test/elf/x86_64/whole-archive/d.a -347: + out/test/elf/x86_64/z-max-page-size/exe1 -347: + grep -q 'LOAD.*R 0x10000$' -343: + cat -348: + grep -q 'Flags:.*NODEFLIB' -348: + readelf --dynamic out/test/elf/x86_64/z-nodefaultlib/exe -343: + cc -c -o out/test/elf/x86_64/wrap/c.o -xc - -348: + on_exit -348: + echo OK -348: OK -348: + exit 0 -340/357 Test #348: x86_64-z-nodefaultlib ...................... Passed 0.12 sec -test 352 - Start 352: x86_64-z-pack-relative-relocs - -352: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/z-pack-relative-relocs.sh" -352: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -352: Environment variables: -352: MACHINE=x86_64 -352: CPU= -352: Test timeout computed to be: 1500 -347: + readelf -W --segments out/test/elf/x86_64/z-max-page-size/exe1 -346: + cc -B. -shared -o out/test/elf/x86_64/z-dynamic-undefined-weak/c.so out/test/elf/x86_64/z-dynamic-undefined-weak/a.o -Wl,-z,dynamic-undefined-weak +351: + cat 352: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/z-pack-relative-relocs.sh 352: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 352: ++ export LC_ALL=C @@ -23132,32 +23209,18 @@ 352: ++ echo -n 'Testing z-pack-relative-relocs ... ' 352: Testing z-pack-relative-relocs ... ++ t=out/test/elf/x86_64/z-pack-relative-relocs 352: ++ mkdir -p out/test/elf/x86_64/z-pack-relative-relocs -347: + cc -B. -o out/test/elf/x86_64/z-max-page-size/exe2 out/test/elf/x86_64/z-max-page-size/a.o -Wl,-zmax-page-size=1048576 -Wl,-z,separate-loadable-segments 352: + cat 352: + cc -o out/test/elf/x86_64/z-pack-relative-relocs/a.o -fPIC -c -xc - -340: + cc -B. -o out/test/elf/x86_64/weak-undef4/exe2 out/test/elf/x86_64/weak-undef4/b.o out/test/elf/x86_64/weak-undef4/d.a -338: + cc -B. -o out/test/elf/x86_64/weak-undef/exe4 out/test/elf/x86_64/weak-undef/b.o out/test/elf/x86_64/weak-undef/c.o -no-pie -345: + grep -q 'undefined symbol:.* foo' out/test/elf/x86_64/z-defs/log -345: + cc -B. -shared -o out/test/elf/x86_64/z-defs/b.so out/test/elf/x86_64/z-defs/a.o -Wl,-no-undefined -350: + out/test/elf/x86_64/z-now/exe -350: + grep -q 'Hello world' +338: + out/test/elf/x86_64/weak-undef/exe1 +338: + grep -q '^-1$' +338: + grep -q '^-1$' +338: + out/test/elf/x86_64/weak-undef/exe2 +350: + cc -B. -o out/test/elf/x86_64/z-now/exe out/test/elf/x86_64/z-now/a.o -Wl,-z,now +346: + cat +346: + cc -o out/test/elf/x86_64/z-dynamic-undefined-weak/e.o -c -xc - 349: + readelf --dynamic out/test/elf/x86_64/z-nodump/b.so 349: + grep -Eq 'Flags:.*NODUMP' -350: + on_exit -350: + echo OK -350: OK -350: + exit 0 -341/357 Test #350: x86_64-z-now ............................... Passed 0.10 sec -test 353 - Start 353: x86_64-z-sectionheader - -353: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/z-sectionheader.sh" -353: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -353: Environment variables: -353: MACHINE=x86_64 -353: CPU= -353: Test timeout computed to be: 1500 -349: + cc -B. -shared -o out/test/elf/x86_64/z-nodump/b.so out/test/elf/x86_64/z-nodump/a.o -Wl,-z,nodump +345: + grep -q 'undefined symbol:.* foo' out/test/elf/x86_64/z-defs/log 353: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/z-sectionheader.sh 353: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 353: ++ export LC_ALL=C @@ -23178,47 +23241,51 @@ 353: ++ trap 'on_error $LINENO' ERR 353: ++ trap on_exit EXIT 353: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/z-sectionheader.sh .sh -351: + cc -B. -o out/test/elf/x86_64/z-origin/exe out/test/elf/x86_64/z-origin/a.o -Wl,-z,origin -343: + cc -B. -o out/test/elf/x86_64/wrap/exe out/test/elf/x86_64/wrap/a.so out/test/elf/x86_64/wrap/b.o 353: ++ testname=z-sectionheader 353: ++ echo -n 'Testing z-sectionheader ... ' 353: Testing z-sectionheader ... ++ t=out/test/elf/x86_64/z-sectionheader 353: ++ mkdir -p out/test/elf/x86_64/z-sectionheader -338: + grep -q '^-1$' -338: + out/test/elf/x86_64/weak-undef/exe1 -341: + readelf --symbols out/test/elf/x86_64/whole-archive/exe -338: + out/test/elf/x86_64/weak-undef/exe2 -338: + grep -q '^-1$' +345: + cc -B. -shared -o out/test/elf/x86_64/z-defs/c.so out/test/elf/x86_64/z-defs/a.o -Wl,-z,defs -Wl,--warn-unresolved-symbols +354: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/z-separate-code.sh 353: + cat 353: + cc -o out/test/elf/x86_64/z-sectionheader/a.o -c -xc - -340: + out/test/elf/x86_64/weak-undef4/exe1 +349: + cc -B. -shared -o out/test/elf/x86_64/z-nodump/b.so out/test/elf/x86_64/z-nodump/a.o -Wl,-z,nodump 338: + grep -q '^2$' -346: + cc -B. -shared -o out/test/elf/x86_64/z-dynamic-undefined-weak/d.so out/test/elf/x86_64/z-dynamic-undefined-weak/a.o -Wl,-z,nodynamic-undefined-weak +354: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 338: + out/test/elf/x86_64/weak-undef/exe3 -340: + grep -q '^2$' +354: ++ export LC_ALL=C +354: ++ LC_ALL=C +354: ++ '[' -z x86_64 ']' +354: ++ '[' -z '' ']' +354: ++ TESTDIR=out/test/elf/x86_64 +354: ++ CC=cc +354: ++ CXX=c++ +354: ++ GCC=gcc +354: ++ GXX=g++ +354: ++ OBJDUMP=objdump +354: ++ OBJCOPY=objcopy +354: ++ STRIP=strip +354: ++ QEMU= +354: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' +354: ++ tlsdesc_opt=-mtls-dialect=gnu2 +354: ++ trap 'on_error $LINENO' ERR +354: ++ trap on_exit EXIT +354: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/z-separate-code.sh .sh 338: + out/test/elf/x86_64/weak-undef/exe4 -340: + grep -q '^-1$' 338: + grep -q '^2$' -340: + out/test/elf/x86_64/weak-undef4/exe2 +354: ++ testname=z-separate-code +354: ++ echo -n 'Testing z-separate-code ... ' +354: Testing z-separate-code ... ++ t=out/test/elf/x86_64/z-separate-code +354: ++ mkdir -p out/test/elf/x86_64/z-separate-code +347: + grep -q 'Hello world' +347: + out/test/elf/x86_64/z-max-page-size/exe2 +343: + grep -q '^foo$' +343: + out/test/elf/x86_64/wrap/exe 338: + on_exit 338: + echo OK 338: OK 338: + exit 0 -340: + on_exit -340: + echo OK -340: OK -340: + exit 0 -342/357 Test #338: x86_64-weak-undef .......................... Passed 0.31 sec -test 354 - Start 354: x86_64-z-separate-code - -354: Test command: /usr/bin/bash "-x" "/build/reproducible-path/mold-2.30.0+dfsg/test/elf/z-separate-code.sh" -354: Working Directory: /build/reproducible-path/mold-2.30.0+dfsg/obj-x86_64-linux-gnu -354: Environment variables: -354: MACHINE=x86_64 -354: CPU= -354: Test timeout computed to be: 1500 -343/357 Test #340: x86_64-weak-undef4 ......................... Passed 0.31 sec +343/357 Test #338: x86_64-weak-undef .......................... Passed 0.26 sec test 355 Start 355: x86_64-z-stack-size @@ -23228,34 +23295,15 @@ 355: MACHINE=x86_64 355: CPU= 355: Test timeout computed to be: 1500 -347: + out/test/elf/x86_64/z-max-page-size/exe2 -347: + grep -q 'Hello world' +354: + is_musl +354: + grep -q musl +354: + ldd --help 347: + readelf -W --segments out/test/elf/x86_64/z-max-page-size/exe2 347: + grep -q 'LOAD.*R 0x100000$' 347: + cc -B. -o out/test/elf/x86_64/z-max-page-size/exe3 out/test/elf/x86_64/z-max-page-size/a.o -Wl,-zmax-page-size=1048576 -354: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/z-separate-code.sh -351: + readelf --dynamic out/test/elf/x86_64/z-origin/exe -354: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc +343: + cc -B. -o out/test/elf/x86_64/wrap/exe out/test/elf/x86_64/wrap/a.so out/test/elf/x86_64/wrap/b.o -Wl,-wrap,foo 355: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/z-stack-size.sh -354: ++ export LC_ALL=C -354: ++ LC_ALL=C -354: ++ '[' -z x86_64 ']' -354: ++ '[' -z '' ']' -354: ++ TESTDIR=out/test/elf/x86_64 -354: ++ CC=cc -354: ++ CXX=c++ -354: ++ GCC=gcc -354: ++ GXX=g++ -351: + grep -Eq '\(FLAGS\)\s+ORIGIN' -354: ++ OBJDUMP=objdump -354: ++ OBJCOPY=objcopy -354: ++ STRIP=strip -354: ++ QEMU= -354: ++ '[' x86_64 = x86_64 -o x86_64 = i686 -o x86_64 = arm ']' -354: ++ tlsdesc_opt=-mtls-dialect=gnu2 -354: ++ trap 'on_error $LINENO' ERR -354: ++ trap on_exit EXIT -343: + out/test/elf/x86_64/wrap/exe +354: + cc -o out/test/elf/x86_64/z-separate-code/a.o -c -xc - 355: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 355: ++ export LC_ALL=C 355: ++ LC_ALL=C @@ -23274,28 +23322,28 @@ 355: ++ tlsdesc_opt=-mtls-dialect=gnu2 355: ++ trap 'on_error $LINENO' ERR 355: ++ trap on_exit EXIT -354: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/z-separate-code.sh .sh -343: + grep -q '^foo$' -351: + readelf --dynamic out/test/elf/x86_64/z-origin/exe -349: + grep -Eq 'Flags:.*NODUMP' -349: + readelf --dynamic out/test/elf/x86_64/z-nodump/b.so -351: + grep -Eq 'Flags:.*ORIGIN' +354: + cat 355: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/z-stack-size.sh .sh -354: ++ testname=z-separate-code -354: ++ echo -n 'Testing z-separate-code ... ' -343: + cc -B. -o out/test/elf/x86_64/wrap/exe out/test/elf/x86_64/wrap/a.so out/test/elf/x86_64/wrap/b.o -Wl,-wrap,foo -354: Testing z-separate-code ... ++ t=out/test/elf/x86_64/z-separate-code -354: ++ mkdir -p out/test/elf/x86_64/z-separate-code 355: ++ testname=z-stack-size 355: ++ echo -n 'Testing z-stack-size ... ' 355: Testing z-stack-size ... ++ t=out/test/elf/x86_64/z-stack-size 355: ++ mkdir -p out/test/elf/x86_64/z-stack-size -351: + on_exit -349: + on_exit -349: + echo OK -349: OK -349: + exit 0 -344/357 Test #349: x86_64-z-nodump ............................ Passed 0.17 sec +351: + cc -B. -o out/test/elf/x86_64/z-origin/exe out/test/elf/x86_64/z-origin/a.o -Wl,-z,origin +346: + cc -B. -o out/test/elf/x86_64/z-dynamic-undefined-weak/exe1 out/test/elf/x86_64/z-dynamic-undefined-weak/e.o out/test/elf/x86_64/z-dynamic-undefined-weak/b.so +355: + cat +352: + cc -B. -o out/test/elf/x86_64/z-pack-relative-relocs/exe out/test/elf/x86_64/z-pack-relative-relocs/a.o -pie -Wl,-z,pack-relative-relocs +355: + cc -o out/test/elf/x86_64/z-stack-size/a.o -c -xc - +342: + out/test/elf/x86_64/wrap-lto/exe +345: + grep -q 'undefined symbol:.* foo$' out/test/elf/x86_64/z-defs/log +342: + grep -q '^foo$' +350: + grep -q 'Hello world' +350: + out/test/elf/x86_64/z-now/exe +342: + cc -B. -o out/test/elf/x86_64/wrap-lto/exe out/test/elf/x86_64/wrap-lto/a.so out/test/elf/x86_64/wrap-lto/b.o -Wl,-wrap,foo -flto +345: + on_exit +345: + echo OK +345: OK +345: + exit 0 +344/357 Test #345: x86_64-z-defs .............................. Passed 0.21 sec test 356 Start 356: x86_64-z-start-stop-visibility @@ -23305,17 +23353,12 @@ 356: MACHINE=x86_64 356: CPU= 356: Test timeout computed to be: 1500 -341: + grep -q fn1 out/test/elf/x86_64/whole-archive/readelf -341: + grep -q fn2 out/test/elf/x86_64/whole-archive/readelf -345: + grep -q 'undefined symbol:.* foo' out/test/elf/x86_64/z-defs/log -354: + is_musl -354: + ldd --help -351: + echo OK -351: OK -351: + exit 0 -355: + cc -o out/test/elf/x86_64/z-stack-size/a.o -c -xc - -355: + cat -345/357 Test #351: x86_64-z-origin ............................ Passed 0.12 sec +350: + on_exit +350: + echo OK +350: OK +350: + exit 0 +353: + cc -B. -o out/test/elf/x86_64/z-sectionheader/exe out/test/elf/x86_64/z-sectionheader/a.o -Wl,-z,nosectionheader +345/357 Test #350: x86_64-z-now ............................... Passed 0.09 sec test 357 Start 357: x86_64-z-unknown @@ -23325,14 +23368,6 @@ 357: MACHINE=x86_64 357: CPU= 357: Test timeout computed to be: 1500 -341: + on_exit -341: + echo OK -341: OK -341: + exit 0 -345: + cc -B. -shared -o out/test/elf/x86_64/z-defs/c.so out/test/elf/x86_64/z-defs/a.o -Wl,-z,defs -Wl,--warn-unresolved-symbols -354: + grep -q musl -354: + cat -354: + cc -o out/test/elf/x86_64/z-separate-code/a.o -c -xc - 356: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/z-start-stop-visibility.sh 356: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 356: ++ export LC_ALL=C @@ -23352,19 +23387,8 @@ 356: ++ tlsdesc_opt=-mtls-dialect=gnu2 356: ++ trap 'on_error $LINENO' ERR 356: ++ trap on_exit EXIT -356: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/z-start-stop-visibility.sh .sh -356: ++ testname=z-start-stop-visibility -356: ++ echo -n 'Testing z-start-stop-visibility ... ' -356: Testing z-start-stop-visibility ... ++ t=out/test/elf/x86_64/z-start-stop-visibility -356: ++ mkdir -p out/test/elf/x86_64/z-start-stop-visibility -356: + ./mold -z start-stop-visibility=hidden --version -346: + cat -346: + cc -o out/test/elf/x86_64/z-dynamic-undefined-weak/e.o -c -xc - -352: + cc -B. -o out/test/elf/x86_64/z-pack-relative-relocs/exe out/test/elf/x86_64/z-pack-relative-relocs/a.o -pie -Wl,-z,pack-relative-relocs -346/357 Test #341: x86_64-whole-archive ....................... Passed 0.33 sec -353: + cc -B. -o out/test/elf/x86_64/z-sectionheader/exe out/test/elf/x86_64/z-sectionheader/a.o -Wl,-z,nosectionheader 357: ++ dirname /build/reproducible-path/mold-2.30.0+dfsg/test/elf/z-unknown.sh -356: + ./mold -z start-stop-visibility=protected --version +356: +++ basename /build/reproducible-path/mold-2.30.0+dfsg/test/elf/z-start-stop-visibility.sh .sh 357: + . /build/reproducible-path/mold-2.30.0+dfsg/test/elf/common.inc 357: ++ export LC_ALL=C 357: ++ LC_ALL=C @@ -23388,116 +23412,128 @@ 357: ++ echo -n 'Testing z-unknown ... ' 357: Testing z-unknown ... ++ t=out/test/elf/x86_64/z-unknown 357: ++ mkdir -p out/test/elf/x86_64/z-unknown -357: + grep -q 'unknown command line option: -z no-such-opt' +356: ++ testname=z-start-stop-visibility +356: ++ echo -n 'Testing z-start-stop-visibility ... ' +356: Testing z-start-stop-visibility ... ++ t=out/test/elf/x86_64/z-start-stop-visibility +356: ++ mkdir -p out/test/elf/x86_64/z-start-stop-visibility +349: + grep -Eq 'Flags:.*NODUMP' +349: + readelf --dynamic out/test/elf/x86_64/z-nodump/b.so 357: + ./mold -z no-such-opt -356: + grep -q 'unsupported visibility: protected' out/test/elf/x86_64/z-start-stop-visibility/log -356: + on_exit -356: + echo OK -356: OK -356: + exit 0 -347/357 Test #356: x86_64-z-start-stop-visibility ............. Passed 0.02 sec +357: + grep -q 'unknown command line option: -z no-such-opt' 347: + out/test/elf/x86_64/z-max-page-size/exe3 -347: + grep -q 'Hello world' -357: + grep -q 'unknown command line option: -zno-such-opt' +356: + ./mold -z start-stop-visibility=hidden --version +355: + cc -B. -o out/test/elf/x86_64/z-stack-size/exe out/test/elf/x86_64/z-stack-size/a.o -Wl,-z,stack-size=0x900000 +354: + cc -B. -o out/test/elf/x86_64/z-separate-code/exe1 out/test/elf/x86_64/z-separate-code/a.o -Wl,-z,separate-loadable-segments 357: + ./mold -zno-such-opt +357: + grep -q 'unknown command line option: -zno-such-opt' +349: + on_exit +349: + echo OK +349: OK +349: + exit 0 +347: + grep -q 'Hello world' +346/357 Test #349: x86_64-z-nodump ............................ Passed 0.14 sec +356: + ./mold -z start-stop-visibility=protected --version +347: + readelf -W --segments out/test/elf/x86_64/z-max-page-size/exe3 +347: + grep -q 'LOAD.*R 0x100000$' +357: + on_exit +357: + echo OK +357: OK +357: + exit 0 343: + out/test/elf/x86_64/wrap/exe 343: + grep -q '^wrap_foo$' -347: + grep -q 'LOAD.*R 0x100000$' -347: + readelf -W --segments out/test/elf/x86_64/z-max-page-size/exe3 -345: + grep -q 'undefined symbol:.* foo$' out/test/elf/x86_64/z-defs/log +347/357 Test #357: x86_64-z-unknown ........................... Passed 0.02 sec +343: + cc -B. -o out/test/elf/x86_64/wrap/exe out/test/elf/x86_64/wrap/a.so out/test/elf/x86_64/wrap/c.o -Wl,-wrap,foo 347: + on_exit 347: + echo OK 347: OK 347: + exit 0 -343: + cc -B. -o out/test/elf/x86_64/wrap/exe out/test/elf/x86_64/wrap/a.so out/test/elf/x86_64/wrap/c.o -Wl,-wrap,foo -348/357 Test #347: x86_64-z-max-page-size ..................... Passed 0.24 sec -357: + on_exit -357: + echo OK -357: OK -357: + exit 0 -349/357 Test #357: x86_64-z-unknown ........................... Passed 0.03 sec -345: + on_exit -345: + echo OK -345: OK -345: + exit 0 -350/357 Test #345: x86_64-z-defs .............................. Passed 0.28 sec -352: + readelf -W -V out/test/elf/x86_64/z-pack-relative-relocs/exe -352: + grep -Fq GLIBC_2. out/test/elf/x86_64/z-pack-relative-relocs/log -352: + grep -q GLIBC_ABI_DT_RELR out/test/elf/x86_64/z-pack-relative-relocs/log +348/357 Test #347: x86_64-z-max-page-size ..................... Passed 0.18 sec +351: + readelf --dynamic out/test/elf/x86_64/z-origin/exe +356: + grep -q 'unsupported visibility: protected' out/test/elf/x86_64/z-start-stop-visibility/log +351: + grep -Eq '\(FLAGS\)\s+ORIGIN' +356: + on_exit +356: + echo OK +356: OK +356: + exit 0 +349/357 Test #356: x86_64-z-start-stop-visibility ............. Passed 0.03 sec +351: + readelf --dynamic out/test/elf/x86_64/z-origin/exe +346: + out/test/elf/x86_64/z-dynamic-undefined-weak/exe1 +346: + grep -q 1 +351: + grep -Eq 'Flags:.*ORIGIN' +351: + on_exit +351: + echo OK +351: OK +351: + exit 0 +350/357 Test #351: x86_64-z-origin ............................ Passed 0.09 sec +346: + cc -B. -o out/test/elf/x86_64/z-dynamic-undefined-weak/exe2 out/test/elf/x86_64/z-dynamic-undefined-weak/e.o out/test/elf/x86_64/z-dynamic-undefined-weak/c.so 353: + out/test/elf/x86_64/z-sectionheader/exe 353: + grep -q 'Hello world' -352: + on_exit -352: + echo OK -352: OK -352: + exit 0 -351/357 Test #352: x86_64-z-pack-relative-relocs .............. Passed 0.13 sec +352: + readelf -W -V out/test/elf/x86_64/z-pack-relative-relocs/exe 353: + readelf -h out/test/elf/x86_64/z-sectionheader/exe 353: + grep -Eq 'Size of section headers:\s+0 ' 353: + on_exit 353: + echo OK 353: OK 353: + exit 0 -352/357 Test #353: x86_64-z-sectionheader ..................... Passed 0.10 sec -343: + out/test/elf/x86_64/wrap/exe -343: + grep -q '^foo$' -343: + on_exit -343: + echo OK -343: OK -343: + exit 0 -353/357 Test #343: x86_64-wrap ................................ Passed 0.36 sec -346: + cc -B. -o out/test/elf/x86_64/z-dynamic-undefined-weak/exe1 out/test/elf/x86_64/z-dynamic-undefined-weak/e.o out/test/elf/x86_64/z-dynamic-undefined-weak/b.so -354: + cc -B. -o out/test/elf/x86_64/z-separate-code/exe1 out/test/elf/x86_64/z-separate-code/a.o -Wl,-z,separate-loadable-segments -355: + cc -B. -o out/test/elf/x86_64/z-stack-size/exe out/test/elf/x86_64/z-stack-size/a.o -Wl,-z,stack-size=0x900000 -342: + out/test/elf/x86_64/wrap-lto/exe -342: + grep -q '^foo$' -342: + cc -B. -o out/test/elf/x86_64/wrap-lto/exe out/test/elf/x86_64/wrap-lto/a.so out/test/elf/x86_64/wrap-lto/b.o -Wl,-wrap,foo -flto -346: + out/test/elf/x86_64/z-dynamic-undefined-weak/exe1 -346: + grep -q 1 -346: + cc -B. -o out/test/elf/x86_64/z-dynamic-undefined-weak/exe2 out/test/elf/x86_64/z-dynamic-undefined-weak/e.o out/test/elf/x86_64/z-dynamic-undefined-weak/c.so +352: + grep -Fq GLIBC_2. out/test/elf/x86_64/z-pack-relative-relocs/log +351/357 Test #353: x86_64-z-sectionheader ..................... Passed 0.09 sec 354: + out/test/elf/x86_64/z-separate-code/exe1 354: + grep -q 'Hello world' +352: + grep -q GLIBC_ABI_DT_RELR out/test/elf/x86_64/z-pack-relative-relocs/log +354: + cc -B. -o out/test/elf/x86_64/z-separate-code/exe2 out/test/elf/x86_64/z-separate-code/a.o -Wl,-z,separate-code -Wl,-z,norelro +352: + on_exit +352: + echo OK +352: OK +352: + exit 0 +352/357 Test #352: x86_64-z-pack-relative-relocs .............. Passed 0.10 sec 355: + readelf -W --segments out/test/elf/x86_64/z-stack-size/exe 355: + grep -q 'GNU_STACK .* 0x900000 RW' -354: + cc -B. -o out/test/elf/x86_64/z-separate-code/exe2 out/test/elf/x86_64/z-separate-code/a.o -Wl,-z,separate-code -Wl,-z,norelro 355: + on_exit 355: + echo OK 355: OK 355: + exit 0 -354/357 Test #355: x86_64-z-stack-size ........................ Passed 0.12 sec +353/357 Test #355: x86_64-z-stack-size ........................ Passed 0.07 sec +343: + out/test/elf/x86_64/wrap/exe +343: + grep -q '^foo$' +343: + on_exit +343: + echo OK +343: OK +343: + exit 0 +354/357 Test #343: x86_64-wrap ................................ Passed 0.29 sec 346: + out/test/elf/x86_64/z-dynamic-undefined-weak/exe2 346: + grep -q 1 346: + cc -B. -o out/test/elf/x86_64/z-dynamic-undefined-weak/exe3 out/test/elf/x86_64/z-dynamic-undefined-weak/e.o out/test/elf/x86_64/z-dynamic-undefined-weak/d.so 354: + out/test/elf/x86_64/z-separate-code/exe2 354: + grep -q 'Hello world' 354: + cc -B. -o out/test/elf/x86_64/z-separate-code/exe3 out/test/elf/x86_64/z-separate-code/a.o -Wl,-z,noseparate-code -Wl,-z,norelro +342: + out/test/elf/x86_64/wrap-lto/exe +342: + grep -q '^wrap_foo$' +342: + cc -B. -o out/test/elf/x86_64/wrap-lto/exe out/test/elf/x86_64/wrap-lto/a.so out/test/elf/x86_64/wrap-lto/c.o -Wl,-wrap,foo -flto 346: + out/test/elf/x86_64/z-dynamic-undefined-weak/exe3 346: + grep -q 0 346: + on_exit 346: + echo OK 346: OK 346: + exit 0 +355/357 Test #346: x86_64-z-dynamic-undefined-weak ............ Passed 0.30 sec 354: + out/test/elf/x86_64/z-separate-code/exe3 354: + grep -q 'Hello world' -355/357 Test #346: x86_64-z-dynamic-undefined-weak ............ Passed 0.38 sec 354: + on_exit 354: + echo OK 354: OK 354: + exit 0 -356/357 Test #354: x86_64-z-separate-code ..................... Passed 0.17 sec -342: + out/test/elf/x86_64/wrap-lto/exe -342: + grep -q '^wrap_foo$' -342: + cc -B. -o out/test/elf/x86_64/wrap-lto/exe out/test/elf/x86_64/wrap-lto/a.so out/test/elf/x86_64/wrap-lto/c.o -Wl,-wrap,foo -flto +356/357 Test #354: x86_64-z-separate-code ..................... Passed 0.14 sec 342: + out/test/elf/x86_64/wrap-lto/exe 342: + grep -q '^foo$' 342: + on_exit 342: + echo OK 342: OK 342: + exit 0 -357/357 Test #342: x86_64-wrap-lto ............................ Passed 1.00 sec +357/357 Test #342: x86_64-wrap-lto ............................ Passed 0.40 sec 100% tests passed, 0 tests failed out of 357 -Total Test time (real) = 10.55 sec +Total Test time (real) = 7.80 sec The following tests did not run: 11 - x86_64-x86_64_incompatible-libs (Skipped) @@ -23552,8 +23588,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'mold-dbgsym' in '../mold-dbgsym_2.30.0+dfsg-1_amd64.deb'. dpkg-deb: building package 'mold' in '../mold_2.30.0+dfsg-1_amd64.deb'. +dpkg-deb: building package 'mold-dbgsym' in '../mold-dbgsym_2.30.0+dfsg-1_amd64.deb'. dpkg-genbuildinfo --build=binary -O../mold_2.30.0+dfsg-1_amd64.buildinfo dpkg-genchanges --build=binary -O../mold_2.30.0+dfsg-1_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -23561,12 +23597,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/1725267/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1725267/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/4111704 and its subdirectories -I: Current time: Wed Jun 4 00:46:37 -12 2025 -I: pbuilder-time-stamp: 1749041197 +I: removing directory /srv/workspace/pbuilder/1725267 and its subdirectories +I: Current time: Thu May 2 20:33:38 +14 2024 +I: pbuilder-time-stamp: 1714631618