diff --git a/debian/changelog b/debian/changelog index 6adaf3af..be4dca0d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,9 +1,15 @@ llvm-toolchain-11 (1:11.0.0~+rc2-2) UNRELEASED; urgency=medium + [ Gianfranco Costamagna ] * Disable ocaml support on i386, not reasonable to support it there (specially for Ubuntu) - -- Gianfranco Costamagna Mon, 24 Aug 2020 09:19:14 +0200 + [ Sylvestre Ledru ] + * Also link against -latomic on mipsel to fix + /usr/[...]/atomic_base.h:426: undefined reference to `__atomic_load_8' + for lld to fix the FTBFS + + -- Sylvestre Ledru Tue, 25 Aug 2020 10:44:00 +0200 llvm-toolchain-11 (1:11.0.0~+rc2-1) unstable; urgency=medium diff --git a/debian/rules b/debian/rules index 9dc8054f..088a90b9 100755 --- a/debian/rules +++ b/debian/rules @@ -53,7 +53,7 @@ ifneq (,$(filter $(DEB_HOST_ARCH),i386 armel mips mipsel powerpc powerpcspe risc CMAKE_EXTRA += -DLIBOMP_LIBFLAGS="-latomic" -DCMAKE_SHARED_LINKER_FLAGS="-latomic" endif -ifneq (,$(filter $(DEB_HOST_ARCH),armel riscv64)) +ifneq (,$(filter $(DEB_HOST_ARCH),armel riscv64 mipsel)) # For some reason, in the stage2 build, when clang is used to compile # itself. The atomic detection is failing on armel and riscv64. Forcing the inclusion everywhere. LDFLAGS_EXTRA += -latomic