summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/root/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/root/package.py b/var/spack/repos/builtin/packages/root/package.py
index 7ab4a2b847..6d5641f2f3 100644
--- a/var/spack/repos/builtin/packages/root/package.py
+++ b/var/spack/repos/builtin/packages/root/package.py
@@ -237,6 +237,10 @@ class Root(CMakePackage):
# ROOT <6.08 was incompatible with the GCC 5+ ABI
conflicts('%gcc@5.0.0:', when='@:6.07.99')
+ # The version of Clang featured in ROOT <6.12 fails to build with
+ # GCC 9.2.1, which we can safely extrapolate to the GCC 9 series.
+ conflicts('%gcc@9.0.0:', when='@:6.11.99')
+
# See README.md
conflicts('+http',
msg='HTTP server currently unsupported due to dependency issues')