mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-08 11:04:57 +00:00
Disable unwind on mips64el, fixing FTBFS
This commit is contained in:
parent
f47bc1736e
commit
6be367e58f
6
debian/control
vendored
6
debian/control
vendored
@ -689,7 +689,7 @@ Section: libdevel
|
|||||||
Architecture: any
|
Architecture: any
|
||||||
Multi-Arch: same
|
Multi-Arch: same
|
||||||
Depends: libc++1-16 (= ${binary:Version}), ${misc:Depends},
|
Depends: libc++1-16 (= ${binary:Version}), ${misc:Depends},
|
||||||
libunwind-16-dev [amd64 arm64 armhf i386 mips64el ppc64el ppc64 riscv64]
|
libunwind-16-dev [amd64 arm64 armhf i386 ppc64el ppc64 riscv64]
|
||||||
Breaks: libc++-dev (<< 44)
|
Breaks: libc++-dev (<< 44)
|
||||||
Provides: libc++-x.y-dev
|
Provides: libc++-x.y-dev
|
||||||
Conflicts: libc++-x.y-dev
|
Conflicts: libc++-x.y-dev
|
||||||
@ -829,7 +829,7 @@ Description: OpenCL C language implementation - development files
|
|||||||
|
|
||||||
Package: libunwind-16
|
Package: libunwind-16
|
||||||
Section: libs
|
Section: libs
|
||||||
Architecture: amd64 arm64 armhf i386 mips64el ppc64el ppc64 riscv64
|
Architecture: amd64 arm64 armhf i386 ppc64el ppc64 riscv64
|
||||||
Multi-Arch: same
|
Multi-Arch: same
|
||||||
Depends: ${shlibs:Depends},
|
Depends: ${shlibs:Depends},
|
||||||
${misc:Depends}
|
${misc:Depends}
|
||||||
@ -846,7 +846,7 @@ Description: production-quality unwinder
|
|||||||
|
|
||||||
Package: libunwind-16-dev
|
Package: libunwind-16-dev
|
||||||
Section: libdevel
|
Section: libdevel
|
||||||
Architecture: amd64 arm64 armhf i386 mips64el ppc64el ppc64 riscv64
|
Architecture: amd64 arm64 armhf i386 ppc64el ppc64 riscv64
|
||||||
Multi-Arch: same
|
Multi-Arch: same
|
||||||
Depends:
|
Depends:
|
||||||
${misc:Depends},
|
${misc:Depends},
|
||||||
|
6
debian/control.in
vendored
6
debian/control.in
vendored
@ -689,7 +689,7 @@ Section: libdevel
|
|||||||
Architecture: any
|
Architecture: any
|
||||||
Multi-Arch: same
|
Multi-Arch: same
|
||||||
Depends: libc++1-@LLVM_VERSION@ (= ${binary:Version}), ${misc:Depends},
|
Depends: libc++1-@LLVM_VERSION@ (= ${binary:Version}), ${misc:Depends},
|
||||||
libunwind-@LLVM_VERSION@-dev [amd64 arm64 armhf i386 mips64el ppc64el ppc64 riscv64]
|
libunwind-@LLVM_VERSION@-dev [amd64 arm64 armhf i386 ppc64el ppc64 riscv64]
|
||||||
Breaks: libc++-dev (<< 44)
|
Breaks: libc++-dev (<< 44)
|
||||||
Provides: libc++-x.y-dev
|
Provides: libc++-x.y-dev
|
||||||
Conflicts: libc++-x.y-dev
|
Conflicts: libc++-x.y-dev
|
||||||
@ -829,7 +829,7 @@ Description: OpenCL C language implementation - development files
|
|||||||
|
|
||||||
Package: libunwind-@LLVM_VERSION@
|
Package: libunwind-@LLVM_VERSION@
|
||||||
Section: libs
|
Section: libs
|
||||||
Architecture: amd64 arm64 armhf i386 mips64el ppc64el ppc64 riscv64
|
Architecture: amd64 arm64 armhf i386 ppc64el ppc64 riscv64
|
||||||
Multi-Arch: same
|
Multi-Arch: same
|
||||||
Depends: ${shlibs:Depends},
|
Depends: ${shlibs:Depends},
|
||||||
${misc:Depends}
|
${misc:Depends}
|
||||||
@ -846,7 +846,7 @@ Description: production-quality unwinder
|
|||||||
|
|
||||||
Package: libunwind-@LLVM_VERSION@-dev
|
Package: libunwind-@LLVM_VERSION@-dev
|
||||||
Section: libdevel
|
Section: libdevel
|
||||||
Architecture: amd64 arm64 armhf i386 mips64el ppc64el ppc64 riscv64
|
Architecture: amd64 arm64 armhf i386 ppc64el ppc64 riscv64
|
||||||
Multi-Arch: same
|
Multi-Arch: same
|
||||||
Depends:
|
Depends:
|
||||||
${misc:Depends},
|
${misc:Depends},
|
||||||
|
9
debian/rules
vendored
9
debian/rules
vendored
@ -221,6 +221,13 @@ ifneq (,$(filter $(DEB_HOST_ARCH),s390x))
|
|||||||
LIBCXX_USE_COMPILER_RT := OFF
|
LIBCXX_USE_COMPILER_RT := OFF
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq (,$(filter $(DEB_HOST_ARCH),mips64el))
|
||||||
|
STAGE_ALL_CMAKE_EXTRA += -DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON
|
||||||
|
STAGE_ALL_CMAKE_EXTRA += -DCOMPILER_RT_BUILD_BUILTINS=OFF
|
||||||
|
COMPILER_RT_USE_BUILTINS_LIBRARY := OFF
|
||||||
|
LIBCXX_USE_COMPILER_RT := OFF
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter $(DEB_HOST_ARCH),x32))
|
ifneq (,$(filter $(DEB_HOST_ARCH),x32))
|
||||||
STAGE_ALL_CMAKE_EXTRA += -DLLVM_HOST_TRIPLE=x86_64-linux-gnux32
|
STAGE_ALL_CMAKE_EXTRA += -DLLVM_HOST_TRIPLE=x86_64-linux-gnux32
|
||||||
STAGE_ALL_CMAKE_EXTRA += -DLLVM_DEFAULT_TARGET_TRIPLE=x86_64-linux-gnux32
|
STAGE_ALL_CMAKE_EXTRA += -DLLVM_DEFAULT_TARGET_TRIPLE=x86_64-linux-gnux32
|
||||||
@ -306,7 +313,7 @@ endif
|
|||||||
|
|
||||||
# Enable libunwind (or not)
|
# Enable libunwind (or not)
|
||||||
LIBUNWIND_ENABLE=yes
|
LIBUNWIND_ENABLE=yes
|
||||||
ifneq (,$(filter $(DEB_HOST_ARCH), s390x armel m68k mipsel hurd-i386 powerpc sparc sparc64 x32))
|
ifneq (,$(filter $(DEB_HOST_ARCH), s390x armel m68k mipsel mips64el hurd-i386 powerpc sparc sparc64 x32))
|
||||||
LIBUNWIND_ENABLE=no
|
LIBUNWIND_ENABLE=no
|
||||||
# do not use compiler-rt builtins for libcxx (libcxxabi) when libunwind is
|
# do not use compiler-rt builtins for libcxx (libcxxabi) when libunwind is
|
||||||
# disabled since the gnu implementation in libgcc_s will then be required
|
# disabled since the gnu implementation in libgcc_s will then be required
|
||||||
|
Loading…
Reference in New Issue
Block a user