summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorKai Germaschewski <kai.germaschewski@unh.edu>2020-03-28 14:06:17 -0400
committerGitHub <noreply@github.com>2020-03-28 13:06:17 -0500
commitf3c2ebbfb82cb9d88c32bb0bd301c529d1a0ee0b (patch)
tree748ad9f2c74a04f932c08ac960dcca9f969f6cef /var
parentc1d111af74355dc911229e05982b60ae77b4d057 (diff)
downloadspack-f3c2ebbfb82cb9d88c32bb0bd301c529d1a0ee0b.tar.gz
spack-f3c2ebbfb82cb9d88c32bb0bd301c529d1a0ee0b.tar.bz2
spack-f3c2ebbfb82cb9d88c32bb0bd301c529d1a0ee0b.tar.xz
spack-f3c2ebbfb82cb9d88c32bb0bd301c529d1a0ee0b.zip
fix gcc@8.4.0 build (#15729)
the gcc package.py includes patches for a sanitizer related bug that look like they've been fixed in gcc 8.4.0, which caused `spack install` to fail. This PR excludes patching gcc >= 8.4.0 and < 9.0.0.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/gcc/package.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/gcc/package.py b/var/spack/repos/builtin/packages/gcc/package.py
index b7a08f8538..cf16f1bc8f 100644
--- a/var/spack/repos/builtin/packages/gcc/package.py
+++ b/var/spack/repos/builtin/packages/gcc/package.py
@@ -237,8 +237,8 @@ class Gcc(AutotoolsPackage, GNUMirrorPackage):
# Backport libsanitizer patch for glibc >= 2.31 and 8.1.0 <= gcc <= 9.2.0
# https://bugs.gentoo.org/708346
- patch('glibc-2.31-libsanitizer-1.patch', when='@8.1.0:9.2.0')
- patch('glibc-2.31-libsanitizer-2.patch', when='@8.1.0:9.2.0')
+ patch('glibc-2.31-libsanitizer-1.patch', when='@8.1.0:8.3.99,9.0.0:9.2.0')
+ patch('glibc-2.31-libsanitizer-2.patch', when='@8.1.0:8.3.99,9.0.0:9.2.0')
# Older versions do not compile with newer versions of glibc
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81712
patch('ucontext_t.patch', when='@4.9,5.1:5.4,6.1:6.4,7.1')