summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-06-23 08:33:29 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2020-06-23 08:33:48 +0100
commit6df80059bd5c0eb22d682642b7b0d1e1a8a0a736 (patch)
tree55931b78968eb42b6bd1e9b32af9dcd98d29328b /app-forensics
parentapp-misc/beep: remove vulnerable version. (diff)
downloadgentoo-6df80059bd5c0eb22d682642b7b0d1e1a8a0a736.tar.gz
gentoo-6df80059bd5c0eb22d682642b7b0d1e1a8a0a736.tar.bz2
gentoo-6df80059bd5c0eb22d682642b7b0d1e1a8a0a736.zip
app-forensics/honggfuzz: fail in pkg_pretend() on clang
honggfuzz needs destructor implementation in C. On gcc it uses __attribute__((cleanup(. On clang it uses -fblocks. Gentoo's sys-libs/compiler-rt does not provide runtime support library for -fblocks on clang making them effectively unusable. Fail at pkg_pretend() for now. Reported-by: Agostino Sarubbo Bug: https://bugs.gentoo.org/729256 Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'app-forensics')
-rw-r--r--app-forensics/honggfuzz/honggfuzz-2.2-r1.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/app-forensics/honggfuzz/honggfuzz-2.2-r1.ebuild b/app-forensics/honggfuzz/honggfuzz-2.2-r1.ebuild
index cb8aa2480619..31cf4b0e9447 100644
--- a/app-forensics/honggfuzz/honggfuzz-2.2-r1.ebuild
+++ b/app-forensics/honggfuzz/honggfuzz-2.2-r1.ebuild
@@ -33,6 +33,12 @@ PATCHES=(
"${FILESDIR}"/${PN}-2.0-no-werror.patch
)
+pkg_pretend() {
+ if tc-is-clang; then
+ die "${P} does not work on clang due to incomplete -fblock support: https://bugs.gentoo.org/729256. Please try gcc."
+ fi
+}
+
src_prepare() {
default
tc-export AR CC