diff options
author | Geoffrey Oxberry <goxberry@gmail.com> | 2018-03-21 14:00:49 -0700 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2018-03-21 16:00:49 -0500 |
commit | 6127b02324d0b7af4015dc0be68023a77ce852ad (patch) | |
tree | ce1fdf0f3905255bc7cf800d6fc325bd2698d6e5 | |
parent | 154401de769f2da7ab5ff83242a83af653c6110f (diff) | |
download | spack-6127b02324d0b7af4015dc0be68023a77ce852ad.tar.gz spack-6127b02324d0b7af4015dc0be68023a77ce852ad.tar.bz2 spack-6127b02324d0b7af4015dc0be68023a77ce852ad.tar.xz spack-6127b02324d0b7af4015dc0be68023a77ce852ad.zip |
elfutils: document conflict with clang (#7096)
-rw-r--r-- | var/spack/repos/builtin/packages/elfutils/package.py | 6 |
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, |