mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-21 20:11:36 +00:00
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
This commit is contained in:
parent
21abd3c8ca
commit
4231fb08b7
8
debian/changelog
vendored
8
debian/changelog
vendored
@ -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 <locutusofborg@debian.org> 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 <sylvestre@debian.org> Tue, 25 Aug 2020 10:44:00 +0200
|
||||
|
||||
llvm-toolchain-11 (1:11.0.0~+rc2-1) unstable; urgency=medium
|
||||
|
||||
|
2
debian/rules
vendored
2
debian/rules
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user