Hi,

On 2026-01-16 12:26, Graham Inggs wrote:
> For what it's worth, deal.ii builds in Ubuntu on arm64 with the mold
> linker but fails with ld.bfd.

Update as of November 2026!

Graham and I were wondering why the package fails to build in unstable
and yet builds successfully in Ubuntu tenacious. The important
difference turned out being -Wl,-Bsymbolic-functions, which Ubuntu uses
by default.

With ld.bfd the package fails building in unstable due to inefficiencies
in the way ld.bfd deals with the 843419 Cortex erratum. It seems that
-Wl,-Bsymbolic-functions is an effective workaround for that problem.

So the options to fix the arm64 FTBFS in unstable are either:

1) linking with ld.bfd and -Wl,-Bsymbolic-functions
2) linking with ld.lld and leaving link flags unchanged (see #1154021)

Reply via email to