On Fri, 16 Jan 2026 at 09:40, Emanuele Rocca <[email protected]> wrote: > 9.7.1-3~exp1 fails with the same error as trilinos bug #1112274: > > /usr/lib/aarld.mold: ./src/thunks.cc:217: void > mold::OutputSection<E>::create_range_extension_thunks(mold::Context<E>&) > [with E = mold::ARM64LE]: Assertion `thunk.size() < max_thunk_size' failed. > > I tried both with and without adding -ffunction-sections to LDFLAGS, > same error.
That's a pity. Thanks for trying. For what it's worth, deal.ii builds in Ubuntu on arm64 with the mold linker but fails with ld.bfd.

