mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-17 18:36:04 +00:00
On Stretch (binutils 2.28), do not run strip on libFuzzer.a, libc++.a & libc++abi.a because it segfaults
This commit is contained in:
parent
a6d47ade45
commit
10fe453c3b
3
debian/changelog
vendored
3
debian/changelog
vendored
@ -1,5 +1,8 @@
|
||||
llvm-toolchain-7 (1:7~+rc1-1~exp3) experimental; urgency=medium
|
||||
|
||||
* dh_strip should be verbose
|
||||
* On Stretch (binutils 2.28), do not run strip on libFuzzer.a, libc++.a
|
||||
& libc++abi.a because it segfaults
|
||||
* Fixed "weak-library-dev-dependency libc++-7-dev on libc++-7-helpers"
|
||||
* Fixed "libomp5-7: shlibs-declares-dependency-on-other-package
|
||||
libomp5-7) (>= 1:7~svn298832-1~)"
|
||||
|
7
debian/rules
vendored
7
debian/rules
vendored
@ -597,7 +597,12 @@ endif
|
||||
# ifeq (${LLD_ENABLE},yes)
|
||||
# dh_strip -p liblld-$(LLVM_VERSION) --dbg-package=liblld-$(LLVM_VERSION)-dbg
|
||||
# endif
|
||||
dh_strip -a
|
||||
ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' binutils) ge 2.28 ; echo $$?),0)
|
||||
# strip segfaults on libFuzzer.a
|
||||
dh_strip -a -v -XlibFuzzer.a -Xlibc++.a -Xlibc++abi.a
|
||||
else
|
||||
dh_strip -a -v
|
||||
endif
|
||||
|
||||
|
||||
override_dh_install:
|
||||
|
Loading…
Reference in New Issue
Block a user