Your message dated Thu, 09 Jul 2026 09:04:30 +0000
with message-id <[email protected]>
and subject line Bug#1140262: fixed in mold 2.41.0+dfsg-1.1
has caused the Debian Bug report #1140262,
regarding mold: FTBFS: 37: mold: error:
out/test/x86_64/arch-x86_64-reloc-overflow/a.o:(.data): relocation R_X86_64_16
against foo out of range: 2109976 is not in [0, 65536)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1140262: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1140262
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:mold
Version: 2.41.0+dfsg-1
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202606/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:mold, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -- \
-DMOLD_USE_SYSTEM_MIMALLOC=ON \
-DMOLD_USE_SYSTEM_TBB=ON
cd obj-x86_64-linux-gnu && env -- DEB_PYTHON_INSTALL_LAYOUT=deb
--unset=PKG_CONFIG cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None
-DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var
-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF
-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON
-DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run
-DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON "-GUnix Makefiles"
-DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_C_COMPILER=/usr/bin/x86_64-linux-gnu-gcc
-DCMAKE_CXX_COMPILER=/usr/bin/x86_64-linux-gnu-g\+\+
-DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DMOLD_USE_SYSTEM_MIMALLOC=ON
-DMOLD_USE_SYSTEM_TBB=ON ..
-- The C compiler identification is GNU 15.3.0
-- The CXX compiler identification is GNU 15.3.0
[... snipped ...]
433: + readelf -WS out/test/x86_64/z-rodynamic/exe2
433: + grep '\.dynamic.* A '
433: [11] .dynamic DYNAMIC 00000000000004e0 0004e0 0001a0 10
A 7 0 8
433: + on_exit
433: + echo OK
433: OK
433: + exit 0
433/438 Test #433: x86_64-z-rodynamic ....................................
Passed 0.06 sec
test 435
Start 435: x86_64-z-separate-code
435: Test command: /usr/bin/bash "-x" "/<<PKGBUILDDIR>>/test/z-separate-code.sh"
435: Working Directory: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
435: Environment variables:
435: MACHINE=x86_64
435: CPU=
435: Test timeout computed to be: 1500
435: ++ dirname /<<PKGBUILDDIR>>/test/z-separate-code.sh
434: + out/test/x86_64/z-sectionheader/exe
434: + grep 'Hello world'
435: + . /<<PKGBUILDDIR>>/test/common.inc
435: ++ export LC_ALL=C
435: ++ LC_ALL=C
435: ++ '[' -z x86_64 ']'
435: ++ '[' -z '' ']'
435: ++ TESTDIR=out/test/x86_64
435: ++ CC=cc
435: ++ CXX=c++
435: ++ GCC=gcc
435: ++ GXX=g++
435: ++ OBJDUMP=objdump
435: ++ OBJCOPY=objcopy
435: ++ STRIP=strip
435: ++ QEMU=
435: +++ basename /<<PKGBUILDDIR>>/test/z-separate-code.sh .sh
434: Hello world
435: ++ testname=z-separate-code
435: ++ t=out/test/x86_64/z-separate-code
435: ++ mkdir -p out/test/x86_64/z-separate-code
434: + readelf -h out/test/x86_64/z-sectionheader/exe
434: + grep -E 'Size of section headers:\s+0 '
435: ++ case $MACHINE in
435: ++ tlsdesc_opt=-mtls-dialect=gnu2
435: +++ uname
435: ++ '[' Linux = FreeBSD ']'
435: ++ trap 'on_error $LINENO' ERR
435: ++ trap on_exit EXIT
435: ++ echo -n 'Testing z-separate-code ... '
435: Testing z-separate-code ... ++ set -o pipefail
435: ++ set -x
435: + is_musl
434: Size of section headers: 0 (bytes)
435: + grep musl
434: + on_exit
434: + echo OK
434: OK
434: + exit 0
434/438 Test #434: x86_64-z-sectionheader ................................
Passed 0.04 sec
test 436
Start 436: x86_64-z-stack-size
436: Test command: /usr/bin/bash "-x" "/<<PKGBUILDDIR>>/test/z-stack-size.sh"
436: Working Directory: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
436: Environment variables:
436: MACHINE=x86_64
436: CPU=
436: Test timeout computed to be: 1500
435: + cat
435: + cc -o out/test/x86_64/z-separate-code/a.o -c -xc -
436: ++ dirname /<<PKGBUILDDIR>>/test/z-stack-size.sh
436: + . /<<PKGBUILDDIR>>/test/common.inc
436: ++ export LC_ALL=C
436: ++ LC_ALL=C
436: ++ '[' -z x86_64 ']'
436: ++ '[' -z '' ']'
436: ++ TESTDIR=out/test/x86_64
436: ++ CC=cc
436: ++ CXX=c++
436: ++ GCC=gcc
436: ++ GXX=g++
436: ++ OBJDUMP=objdump
436: ++ OBJCOPY=objcopy
436: ++ STRIP=strip
436: ++ QEMU=
436: +++ basename /<<PKGBUILDDIR>>/test/z-stack-size.sh .sh
436: ++ testname=z-stack-size
436: ++ t=out/test/x86_64/z-stack-size
436: ++ mkdir -p out/test/x86_64/z-stack-size
436: ++ case $MACHINE in
436: ++ tlsdesc_opt=-mtls-dialect=gnu2
436: +++ uname
436: ++ '[' Linux = FreeBSD ']'
436: ++ trap 'on_error $LINENO' ERR
436: ++ trap on_exit EXIT
436: ++ echo -n 'Testing z-stack-size ... '
436: Testing z-stack-size ... ++ set -o pipefail
436: ++ set -x
436: + cat
436: + cc -o out/test/x86_64/z-stack-size/a.o -c -xc -
435: + cc -B. -o out/test/x86_64/z-separate-code/exe1
out/test/x86_64/z-separate-code/a.o -Wl,-z,separate-loadable-segments
436: + cc -B. -o out/test/x86_64/z-stack-size/exe
out/test/x86_64/z-stack-size/a.o -Wl,-z,stack-size=0x900000
435: + out/test/x86_64/z-separate-code/exe1
435: + grep 'Hello world'
436: + readelf -W --segments out/test/x86_64/z-stack-size/exe
436: + grep 'GNU_STACK .* 0x900000 RW'
435: Hello world
435: + cc -B. -o out/test/x86_64/z-separate-code/exe2
out/test/x86_64/z-separate-code/a.o -Wl,-z,separate-code -Wl,-z,norelro
436: GNU_STACK 0x000000 0x0000000000000000 0x0000000000000000 0x000000
0x900000 RW 0x1
436: + on_exit
436: + echo OK
436: OK
436: + exit 0
435/438 Test #436: x86_64-z-stack-size ...................................
Passed 0.03 sec
test 437
Start 437: x86_64-z-start-stop-visibility
437: Test command: /usr/bin/bash "-x"
"/<<PKGBUILDDIR>>/test/z-start-stop-visibility.sh"
437: Working Directory: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
437: Environment variables:
437: MACHINE=x86_64
437: CPU=
437: Test timeout computed to be: 1500
437: ++ dirname /<<PKGBUILDDIR>>/test/z-start-stop-visibility.sh
437: + . /<<PKGBUILDDIR>>/test/common.inc
437: ++ export LC_ALL=C
437: ++ LC_ALL=C
437: ++ '[' -z x86_64 ']'
437: ++ '[' -z '' ']'
437: ++ TESTDIR=out/test/x86_64
437: ++ CC=cc
437: ++ CXX=c++
437: ++ GCC=gcc
437: ++ GXX=g++
437: ++ OBJDUMP=objdump
437: ++ OBJCOPY=objcopy
437: ++ STRIP=strip
437: ++ QEMU=
437: +++ basename /<<PKGBUILDDIR>>/test/z-start-stop-visibility.sh .sh
437: ++ testname=z-start-stop-visibility
437: ++ t=out/test/x86_64/z-start-stop-visibility
437: ++ mkdir -p out/test/x86_64/z-start-stop-visibility
437: ++ case $MACHINE in
437: ++ tlsdesc_opt=-mtls-dialect=gnu2
437: +++ uname
437: ++ '[' Linux = FreeBSD ']'
437: ++ trap 'on_error $LINENO' ERR
437: ++ trap on_exit EXIT
437: ++ echo -n 'Testing z-start-stop-visibility ... '
437: Testing z-start-stop-visibility ... ++ set -o pipefail
437: ++ set -x
437: + cat
437: + cc -o out/test/x86_64/z-start-stop-visibility/a.o -c -xc -
435: + out/test/x86_64/z-separate-code/exe2
435: + grep 'Hello world'
435: Hello world
435: + cc -B. -o out/test/x86_64/z-separate-code/exe3
out/test/x86_64/z-separate-code/a.o -Wl,-z,noseparate-code -Wl,-z,norelro
437: + cc -B. -o out/test/x86_64/z-start-stop-visibility/exe1
out/test/x86_64/z-start-stop-visibility/a.o
435: + out/test/x86_64/z-separate-code/exe3
435: + grep 'Hello world'
435: Hello world
435: + on_exit
435: + echo OK
435: OK
435: + exit 0
436/438 Test #435: x86_64-z-separate-code ................................
Passed 0.08 sec
test 438
Start 438: x86_64-zero-to-bss
438: Test command: /usr/bin/bash "-x" "/<<PKGBUILDDIR>>/test/zero-to-bss.sh"
438: Working Directory: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
438: Environment variables:
438: MACHINE=x86_64
438: CPU=
438: Test timeout computed to be: 1500
438: ++ dirname /<<PKGBUILDDIR>>/test/zero-to-bss.sh
438: + . /<<PKGBUILDDIR>>/test/common.inc
438: ++ export LC_ALL=C
438: ++ LC_ALL=C
438: ++ '[' -z x86_64 ']'
438: ++ '[' -z '' ']'
438: ++ TESTDIR=out/test/x86_64
438: ++ CC=cc
438: ++ CXX=c++
438: ++ GCC=gcc
438: ++ GXX=g++
438: ++ OBJDUMP=objdump
438: ++ OBJCOPY=objcopy
438: ++ STRIP=strip
438: ++ QEMU=
438: +++ basename /<<PKGBUILDDIR>>/test/zero-to-bss.sh .sh
438: ++ testname=zero-to-bss
438: ++ t=out/test/x86_64/zero-to-bss
438: ++ mkdir -p out/test/x86_64/zero-to-bss
438: ++ case $MACHINE in
438: ++ tlsdesc_opt=-mtls-dialect=gnu2
437: + readelf -W --dyn-syms out/test/x86_64/z-start-stop-visibility/exe1
438: +++ uname
438: ++ '[' Linux = FreeBSD ']'
438: ++ trap 'on_error $LINENO' ERR
438: ++ trap on_exit EXIT
438: ++ echo -n 'Testing zero-to-bss ... '
438: Testing zero-to-bss ... ++ set -o pipefail
438: ++ set -x
438: ++ uname
437: + not grep __start_hello out/test/x86_64/z-start-stop-visibility/log1
437: + grep __start_hello out/test/x86_64/z-start-stop-visibility/log1
438: + '[' Linux = FreeBSD ']'
438: + cat
438: + cc -o out/test/x86_64/zero-to-bss/a.o -c -xc -
437: + return 0
437: + not grep __stop_hello out/test/x86_64/z-start-stop-visibility/log1
437: + grep __stop_hello out/test/x86_64/z-start-stop-visibility/log1
437: + return 0
437: + cc -B. -o out/test/x86_64/z-start-stop-visibility/exe2
out/test/x86_64/z-start-stop-visibility/a.o -Wl,-z,start-stop-visibility=hidden
438: + cc -B. -o out/test/x86_64/zero-to-bss/exe1
out/test/x86_64/zero-to-bss/a.o
437: + readelf -W --dyn-syms out/test/x86_64/z-start-stop-visibility/exe2
437: + not grep __start_hello out/test/x86_64/z-start-stop-visibility/log2
437: + grep __start_hello out/test/x86_64/z-start-stop-visibility/log2
437: + return 0
437: + not grep __stop_hello out/test/x86_64/z-start-stop-visibility/log2
437: + grep __stop_hello out/test/x86_64/z-start-stop-visibility/log2
437: + return 0
437: + cc -B. -o out/test/x86_64/z-start-stop-visibility/exe3
out/test/x86_64/z-start-stop-visibility/a.o
-Wl,-z,start-stop-visibility=protected
438: + readelf -WS out/test/x86_64/zero-to-bss/exe1
437: + readelf -W --dyn-syms out/test/x86_64/z-start-stop-visibility/exe3
438: + grep -E '.zero\s+PROGBITS'
437: + grep __start_hello out/test/x86_64/z-start-stop-visibility/log3
438: [30] .zero PROGBITS 0000000000003a80 000a80 000100 00
WA 0 0 32
438: + readelf -WS out/test/x86_64/zero-to-bss/exe1
437: 6: 0000000000003a70 0 NOTYPE GLOBAL DEFAULT 28 __start_hello
437: + grep __stop_hello out/test/x86_64/z-start-stop-visibility/log3
438: + grep -E '.const\s+PROGBITS'
437: 9: 0000000000003a7c 0 NOTYPE GLOBAL DEFAULT 28 __stop_hello
437: + on_exit
438: [12] .const PROGBITS 0000000000000520 000520 000100 00
A 0 0 32
437: + echo OK
437: OK
437: + exit 0
438: + out/test/x86_64/zero-to-bss/exe1
437/438 Test #437: x86_64-z-start-stop-visibility ........................
Passed 0.08 sec
438: + grep Hello
438: Hello world
438: + cc -B. -o out/test/x86_64/zero-to-bss/exe2
out/test/x86_64/zero-to-bss/a.o -Wl,--zero-to-bss
438: + readelf -WS out/test/x86_64/zero-to-bss/exe2
438: + grep -E '.zero\s+NOBITS'
438: [32] .zero NOBITS 0000000000003a80 000a78 000100 00
WA 0 0 32
438: + readelf -WS out/test/x86_64/zero-to-bss/exe2
438: + grep -E '.const\s+PROGBITS'
438: [12] .const PROGBITS 0000000000000520 000520 000100 00
A 0 0 32
438: + out/test/x86_64/zero-to-bss/exe2
438: + grep Hello
438: Hello world
438: + on_exit
438: + echo OK
438: OK
438: + exit 0
438/438 Test #438: x86_64-zero-to-bss ....................................
Passed 0.07 sec
99% tests passed, 1 tests failed out of 438
Total Test time (real) = 23.36 sec
The following tests did not run:
2 - x86_64-arch-x86_64-apx-gotpcrelx (Skipped)
3 - x86_64-arch-x86_64-apx-gottpoff (Skipped)
4 - x86_64-arch-x86_64-apx-gottpoff2 (Skipped)
5 - x86_64-arch-x86_64-apx-tlsdesc (Skipped)
16 - x86_64-arch-x86_64-ifunc-export (Skipped)
58 - x86_64-arch-x86_64-z-rewrite-endbr3 (Skipped)
The following tests FAILED:
155 - x86_64-gdb-index-dwarf5 (Failed)
Errors while running CTest
make[1]: *** [Makefile:74: test] Error 8
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_test: error: cd obj-x86_64-linux-gnu && make -j2 test ARGS\+=--verbose
ARGS\+=-j2 returned exit code 2
make: *** [debian/rules:16: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit
status 2
--------------------------------------------------------------------------------
--- End Message ---
--- Begin Message ---
Source: mold
Source-Version: 2.41.0+dfsg-1.1
Done: Christopher Obbard <[email protected]>
We believe that the bug you reported is fixed in the latest version of
mold, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Christopher Obbard <[email protected]> (supplier of updated mold package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 08 Jul 2026 04:49:11 +0100
Source: mold
Architecture: source
Version: 2.41.0+dfsg-1.1
Distribution: unstable
Urgency: medium
Maintainer: Sylvestre Ledru <[email protected]>
Changed-By: Christopher Obbard <[email protected]>
Closes: 1140262
Changes:
mold (2.41.0+dfsg-1.1) unstable; urgency=medium
.
* Non-maintainer upload.
* Restore pristine src/cmdline.cc
* d/patches: apply patch from upstream
Fix-ambiguous-readelf-option-in-gdb-index-dwarf5-tes.patch
(Closes: #1140262)
Checksums-Sha1:
0f32528ddcf11173899078f7eed7f853ba7de43b 2113 mold_2.41.0+dfsg-1.1.dsc
f08c7aa820c2153d5104872d455b5341feea9d2e 6180
mold_2.41.0+dfsg-1.1.debian.tar.xz
0018fdd6491b6223dc7fe8fb39f87f5d44218b54 9092
mold_2.41.0+dfsg-1.1_amd64.buildinfo
Checksums-Sha256:
c26462efebb32667472f6d40c3e57ea0f2c14e9d6dd88df2d5751ec536c3ab0b 2113
mold_2.41.0+dfsg-1.1.dsc
b127c96a6cba5f255848dc1457096a22662bf017396e21061c58513f7bfd19f3 6180
mold_2.41.0+dfsg-1.1.debian.tar.xz
9b61b16366b088a98bed40279bfa0883746a527b4cf3a3262ebc515b42b82bf4 9092
mold_2.41.0+dfsg-1.1_amd64.buildinfo
Files:
495494f79863ebf79cfa26fd4c97ed4a 2113 devel optional mold_2.41.0+dfsg-1.1.dsc
a4514de60d7edd038c6551ab1051a1d8 6180 devel optional
mold_2.41.0+dfsg-1.1.debian.tar.xz
33052baf2136c16ed8c61972b2802972 9092 devel optional
mold_2.41.0+dfsg-1.1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJHBAEBCgAxFiEE8Yvci2wl+QqiPVF0Y03E8GhwRvgFAmpPXrATHG9iYmFyZGNA
ZGViaWFuLm9yZwAKCRBjTcTwaHBG+Mp6D/4qvBxJf8qxgNVgG4k6fooDT44BtsNV
TlHHTabgrEr1NIMmRfgNtJOVzqoIMOU/1pMTIhDIVyM3Ez/8+1E2+WiIWus9hOqJ
e+X7Mde95eOmHO4l3UdIKDe5FhfPmLGrxO0tlXyrt7MN5ciPxvT84C/dLp9WD34w
G6z6NH2uU87MlOCU920hSVAQOvRU1pWx/4ngArHgwCGiXE7Y5fzaGrZx8uU1zsbQ
+MPYY9uXmOPkNGOckifko9dnzqp2RI4ZmBeKyYePnXjBXSuad7DUenggaoMMmZc4
8AgVGo9uSwSt454+cl8FUFhVmN0/Ha2GhC1hyKNTY7Guy9F0+RcAMsCtuimXmoCH
1R+OYFzw/ZU01SucdvBIrSsZpWTh/zcDtnexXTdXWTV7VsxA+8dulyHplw1m9zw5
zneIw1nKh5mcLpMIQuBxrbF+TrgeL+7hip8TJiaMlEWIvBNJ/OaaBh4wfZAH/lUC
/Bu7I09QnlmXOky2wZ4gjAhrSxWn8nM/jdAFbzJdbt+MniEO5wdYSVTkrX3Z0ZBb
mF5fqGS4o5zXnfkUppMTxL/Jq9qUbKK74zsAHQG9EXF4HuEXUFZUmiGZdhvFPeLq
/ftW8MFllnlB1d74s9YIEI1gLBA53VNF8FqJKghNWPfy7ucko9z26+K4elW4BA4q
0Y6j10D4/Ixb+A==
=2FLB
-----END PGP SIGNATURE-----
pgphIQmbQIwWc.pgp
Description: PGP signature
--- End Message ---