summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth R. Johnson <johnsonsr@ornl.gov>2020-07-16 20:34:02 -0400
committerGitHub <noreply@github.com>2020-07-16 19:34:02 -0500
commitfc8847cf4ed8bf9663abb5bba0da6eab6895c13c (patch)
treed6b55be2dc1a55fcd903700485d51e436265db19
parent1fcc00df96325bbe83ad8ed90e1f5783bf26fcfb (diff)
downloadspack-fc8847cf4ed8bf9663abb5bba0da6eab6895c13c.tar.gz
spack-fc8847cf4ed8bf9663abb5bba0da6eab6895c13c.tar.bz2
spack-fc8847cf4ed8bf9663abb5bba0da6eab6895c13c.tar.xz
spack-fc8847cf4ed8bf9663abb5bba0da6eab6895c13c.zip
Mark old icu4c as conflicting (#17562)
GCC 4.8.5 on rhel6: ``` utext.cpp:572:5: error: 'max_align_t' in namespace 'std' does not name a type std::max_align_t extension; ^ utext.cpp: In function 'UText* utext_setup_67(UText*, int32_t, UErrorCode*)': utext.cpp:587:73: error: 'max_align_t' is not a member of 'std' spaceRequired = sizeof(ExtendedUText) + extraSpace - sizeof(std::max_align_t); ^ utext.cpp:587:73: note: suggested alternative: In file included from /projects/spack/opt/spack/gcc-4.4.7/gcc/6ln2t7b/include/c++/4.8.5/cstddef:42:0, from utext.cpp:19: /projects/spack/opt/spack/gcc-4.4.7/gcc/6ln2t7b/lib/gcc/x86_64-unknown-linux-gnu/4.8.5/include/stddef.h: 425:3: note: 'max_align_t' } max_align_t; ^ utext.cpp:598:57: error: 'struct ExtendedUText' has no member named 'extension' ut->pExtra = &((ExtendedUText *)ut)->extension; ^ g++ ... loadednormalizer2impl.cpp g++ ... chariter.cpp ```
-rw-r--r--var/spack/repos/builtin/packages/icu4c/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/icu4c/package.py b/var/spack/repos/builtin/packages/icu4c/package.py
index be5b4af3bc..0663ae6edf 100644
--- a/var/spack/repos/builtin/packages/icu4c/package.py
+++ b/var/spack/repos/builtin/packages/icu4c/package.py
@@ -35,6 +35,8 @@ class Icu4c(AutotoolsPackage):
conflicts('%intel@:16', when='@60.1:',
msg="Intel compilers have immature C++11 and multibyte support")
+ conflicts('%gcc@:4', when='@67.1:',
+ msg="Older GCC compilers have immature C++11 support")
patch('https://github.com/unicode-org/icu/commit/ddfc30860354cbcb78c2c0bcf800be5ab44a9e4f.patch',
sha256='dfc501d78ddfabafe09dc1a7aa70f96b799164b18f6a57d616a9d48aaf989333',