Bug#1112274: trilinos: FTBFS on arm64: collect2: fatal error: ld terminated with signal 6 [Aborted]
Emanuele Rocca
ema at debian.org
Fri Sep 5 16:42:31 BST 2025
Hi,
On 2025-09-05 11:58, Adrian Bunk wrote:
> +ifneq (,$(filter $(DEB_HOST_ARCH),amd64 ppc64el riscv64 s390x sparc64))
> + MOLD=-DCMAKE_CXX_FLAGS="-fuse-ld=mold"
> +endif
This unsets all CXXFLAGS!
One could keep the flags with -DCMAKE_CXX_FLAGS="${CXXFLAGS} -fuse-ld=mold",
but it seems cleaner to just set the following, without passing
-DCMAKE_CXX_FLAGS at all.
DEB_CXXFLAGS_MAINT_APPEND='-fuse-ld=mold'
More information about the debian-science-maintainers
mailing list