Control: retitle -1 mold lacks sframe support
Control: severity -1 important
Control: forwarded -1 https://github.com/rui314/mold/issues/1511

On Fri, Sep 05, 2025 at 06:20:37PM +0000, Santiago Vila wrote:
> Package: src:mold
> Version: 2.40.4+dfsg-2
> Severity: serious
> Tags: ftbfs forky sid
>...
> 99% tests passed, 2 tests failed out of 425
> 
> Total Test time (real) =  23.26 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)
>        55 - x86_64-arch-x86_64-z-rewrite-endbr3 (Skipped)
> 
> The following tests FAILED:
>        53 - x86_64-arch-x86_64-z-rewrite-endbr (Failed)
>        54 - x86_64-arch-x86_64-z-rewrite-endbr2 (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 returned exit status 
> 2
> --------------------------------------------------------------------------------

The time when it failed[1] hinted at an sframe issue, and I can 
reproduce this issue with -Wa,--gsframe=yes in these testcases.

This will be an RC issue again when our toolchain defaults to
sframe again.

Matthias in Cc, regarding this issue with other linkers.

binutils-gold is known broken (#1114947) and I assume RM will be
the solution.

Above I am linking to the upstream mold issue.

This mold issue also links to an open issue for missing sframe support 
in lld.

cu
Adrian

[1] https://tests.reproducible-builds.org/debian/history/mold.html

Reply via email to