mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-17 23:06:51 +00:00
For some reasons, building compiler-rt with the github method is changing some options. It seems that it adds -m elf_i386 to the linker. Causing a build failure. See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=942864 https://bugs.llvm.org/show_bug.cgi?id=43677 trying to remove the flag in compiler-rt-fuzzer-remove-elf_i386.diff
This commit is contained in:
parent
629861712b
commit
d60813a095
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -4,6 +4,12 @@ llvm-toolchain-9 (1:9.0.0-2) unstable; urgency=medium
|
|||||||
So, add to PROJECTS only when enabled
|
So, add to PROJECTS only when enabled
|
||||||
* clang: Force the installation of libclang-cpp with the exact same version
|
* clang: Force the installation of libclang-cpp with the exact same version
|
||||||
and remove libclang as dep
|
and remove libclang as dep
|
||||||
|
* For some reasons, building compiler-rt with the github method
|
||||||
|
is changing some options. It seems that it adds -m elf_i386 to the
|
||||||
|
linker. Causing a build failure.
|
||||||
|
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=942864
|
||||||
|
https://bugs.llvm.org/show_bug.cgi?id=43677
|
||||||
|
trying to remove the flag in compiler-rt-fuzzer-remove-elf_i386.diff
|
||||||
|
|
||||||
-- Sylvestre Ledru <sylvestre@debian.org> Sun, 20 Oct 2019 17:27:50 +0200
|
-- Sylvestre Ledru <sylvestre@debian.org> Sun, 20 Oct 2019 17:27:50 +0200
|
||||||
|
|
||||||
|
13
debian/patches/compiler-rt-fuzzer-remove-elf_i386.diff
vendored
Normal file
13
debian/patches/compiler-rt-fuzzer-remove-elf_i386.diff
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: llvm-toolchain-snapshot-10~+201910241319490700d0bd3fc88be/compiler-rt/lib/fuzzer/CMakeLists.txt
|
||||||
|
===================================================================
|
||||||
|
--- llvm-toolchain-snapshot-10~+201910241319490700d0bd3fc88be.orig/compiler-rt/lib/fuzzer/CMakeLists.txt
|
||||||
|
+++ llvm-toolchain-snapshot-10~+201910241319490700d0bd3fc88be/compiler-rt/lib/fuzzer/CMakeLists.txt
|
||||||
|
@@ -122,7 +122,7 @@ if(OS_NAME MATCHES "Linux|Fuchsia" AND
|
||||||
|
COMPILER_RT_LIBCXXABI_PATH)
|
||||||
|
macro(partially_link_libcxx name dir arch)
|
||||||
|
if(${arch} MATCHES "i386")
|
||||||
|
- set(EMULATION_ARGUMENT "-m" "elf_i386")
|
||||||
|
+ set(EMULATION_ARGUMENT "")
|
||||||
|
else()
|
||||||
|
set(EMULATION_ARGUMENT "")
|
||||||
|
endif()
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -132,3 +132,4 @@ clang-riscv64-rv64gc.diff
|
|||||||
#try-to-unbreak-thinlto.diff
|
#try-to-unbreak-thinlto.diff
|
||||||
D67877.patch
|
D67877.patch
|
||||||
disable-lit-cpuid-install.diff
|
disable-lit-cpuid-install.diff
|
||||||
|
compiler-rt-fuzzer-remove-elf_i386.diff
|
||||||
|
Loading…
Reference in New Issue
Block a user