summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorGeoffrey Oxberry <goxberry@gmail.com>2018-03-21 14:00:49 -0700
committerAdam J. Stewart <ajstewart426@gmail.com>2018-03-21 16:00:49 -0500
commit6127b02324d0b7af4015dc0be68023a77ce852ad (patch)
treece1fdf0f3905255bc7cf800d6fc325bd2698d6e5 /var
parent154401de769f2da7ab5ff83242a83af653c6110f (diff)
downloadspack-6127b02324d0b7af4015dc0be68023a77ce852ad.tar.gz
spack-6127b02324d0b7af4015dc0be68023a77ce852ad.tar.bz2
spack-6127b02324d0b7af4015dc0be68023a77ce852ad.tar.xz
spack-6127b02324d0b7af4015dc0be68023a77ce852ad.zip
elfutils: document conflict with clang (#7096)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/elfutils/package.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/elfutils/package.py b/var/spack/repos/builtin/packages/elfutils/package.py
index 726c53a032..27f11c72e6 100644
--- a/var/spack/repos/builtin/packages/elfutils/package.py
+++ b/var/spack/repos/builtin/packages/elfutils/package.py
@@ -50,6 +50,12 @@ class Elfutils(AutotoolsPackage):
provides('elf@1')
+ # Elfutils uses nested functions in C code, which is implemented
+ # in gcc, but not in clang. C code compiled with gcc is
+ # binary-compatible with clang, so it should be possible to build
+ # elfutils with gcc, and then link it to clang-built libraries.
+ conflicts('%clang')
+
def configure_args(self):
# configure doesn't use LIBS correctly
gettext_lib = self.spec['gettext'].prefix.lib,