From fbcbf48f326cc887676e154fdb882038084668e1 Mon Sep 17 00:00:00 2001 From: Sam James Date: Thu, 10 Feb 2022 13:40:31 +0000 Subject: dev-libs/libgcrypt: add links to upstream (gnupg + gcc) bug for ARM64 bug Signed-off-by: Sam James --- dev-libs/libgcrypt/libgcrypt-1.10.0.ebuild | 4 +++- dev-libs/libgcrypt/libgcrypt-1.8.9.ebuild | 4 +++- dev-libs/libgcrypt/libgcrypt-1.9.4-r1.ebuild | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/dev-libs/libgcrypt/libgcrypt-1.10.0.ebuild b/dev-libs/libgcrypt/libgcrypt-1.10.0.ebuild index de6cdbebc481..763e29359827 100644 --- a/dev-libs/libgcrypt/libgcrypt-1.10.0.ebuild +++ b/dev-libs/libgcrypt/libgcrypt-1.10.0.ebuild @@ -72,7 +72,9 @@ multilib_src_configure() { # Workaround for GCC < 11.3 bug # https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commitdiff;h=0b399721ce9709ae25f9d2050360c5ab2115ae29 - if use arm64 && tc-is-gcc && (($(gcc-major-version) == 11)) && (($(gcc-minor-version) <= 2)) && (($(gcc-micro-version) == 0)); then + # https://dev.gnupg.org/T5581 + # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102124 + if use arm64 && tc-is-gcc && (($(gcc-major-version) == 11)) && (($(gcc-minor-version) <= 2)) && (($(gcc-micro-version) == 0)) ; then append-flags -fno-tree-loop-vectorize fi diff --git a/dev-libs/libgcrypt/libgcrypt-1.8.9.ebuild b/dev-libs/libgcrypt/libgcrypt-1.8.9.ebuild index 374acab778b1..98812288ba3c 100644 --- a/dev-libs/libgcrypt/libgcrypt-1.8.9.ebuild +++ b/dev-libs/libgcrypt/libgcrypt-1.8.9.ebuild @@ -46,7 +46,9 @@ multilib_src_configure() { # Workaround for GCC < 11.3 bug # https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commitdiff;h=0b399721ce9709ae25f9d2050360c5ab2115ae29 - if use arm64 && tc-is-gcc && (($(gcc-major-version) == 11)) && (($(gcc-minor-version) <= 2)) && (($(gcc-micro-version) == 0)); then + # https://dev.gnupg.org/T5581 + # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102124 + if use arm64 && tc-is-gcc && (($(gcc-major-version) == 11)) && (($(gcc-minor-version) <= 2)) && (($(gcc-micro-version) == 0)) ; then append-flags -fno-tree-loop-vectorize fi diff --git a/dev-libs/libgcrypt/libgcrypt-1.9.4-r1.ebuild b/dev-libs/libgcrypt/libgcrypt-1.9.4-r1.ebuild index aed977479586..cf2e518df50e 100644 --- a/dev-libs/libgcrypt/libgcrypt-1.9.4-r1.ebuild +++ b/dev-libs/libgcrypt/libgcrypt-1.9.4-r1.ebuild @@ -71,7 +71,9 @@ multilib_src_configure() { # Workaround for GCC < 11.3 bug # https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commitdiff;h=0b399721ce9709ae25f9d2050360c5ab2115ae29 - if use arm64 && tc-is-gcc && (($(gcc-major-version) == 11)) && (($(gcc-minor-version) <= 2)) && (($(gcc-micro-version) == 0)); then + # https://dev.gnupg.org/T5581 + # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102124 + if use arm64 && tc-is-gcc && (($(gcc-major-version) == 11)) && (($(gcc-minor-version) <= 2)) && (($(gcc-micro-version) == 0)) ; then append-flags -fno-tree-loop-vectorize fi -- cgit v1.2.3-65-gdbad