Bug#1112274: trilinos: FTBFS on arm64: collect2: fatal error: ld terminated with signal 6 [Aborted]
Graham Inggs
ginggs at debian.org
Sat Nov 22 12:03:24 GMT 2025
Emanuele wrote on irc that it may be possible to use mold on arm64.
Maybe the same workaround could be used for other architectures?
However, I am hesitant to switch to mold in Debian now, as mold has
some RC bugs that would make trilinos eligible for removal from
testing.
For what it's worth, trilinos builds fine in Ubuntu on arm64 (without
the workaround), and using mold there is needed to avoid running out
of space on their buildds.
[00:00:00] - {Day changed to Monday, 15 September 2025}
[09:53:48] <ema> ginggs: while I have your ear, it seems that building
trilinos with -ffunction-sections is an effective workaround for
#1112274
[09:53:50] [zwiebelbot] Debian#1112274: trilinos: FTBFS on arm64:
collect2: fatal error: ld terminated with signal 6 [Aborted] -
https://bugs.debian.org/1112274
[09:54:03] <ema> apparently having smaller .text sections helps mold
not falling on its face
[09:55:45] <ema> I tried rebuilding both without mold and and with
mold (and -ffunction-sections), didn't see any performance improvement
really
[09:56:43] <ema> actually a slight degradation: 01:59:40 with mold and
01:52:19 without
[1] https://launchpad.net/ubuntu/+source/trilinos/16.1.0-2ubuntu1
More information about the debian-science-maintainers
mailing list