Bug#1112274: trilinos: FTBFS on arm64: collect2: fatal error: ld terminated with signal 6 [Aborted]
Emanuele Rocca
ema at debian.org
Wed Nov 26 11:05:41 GMT 2025
Hi folks,
On 2025-11-24 06:22, Adrian Bunk wrote:
> Emanuele, did you use a version built without optimization when
> discovering that -ffunction-sections helps?
> Without -ffunction-sections it builds for me when optimization is not
> disabled, mold/arm64 seems to fail on the unoptimized code - which it
> shouldn't but that's not such a big issue.
I did have -O2 in my flags. Looking through the old build logs:
-Wno-inline -Wno-deprecated-declarations -g -O2 -ffile-prefix-map=/build/reproducible-path/trilinos-16.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fuse-ld=mold -ffunction-sections -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17
Full logs here:
https://people.debian.org/~ema/trilinos_16.1.0-2_arm64-2025-09-09T09:52:25Z.build
More information about the debian-science-maintainers
mailing list