Description
Starting from a fresh spack-stack configuration using the unified environment, I'm running into an issue during installation of openBLAS. I'm following the instructions for macOS from https://github.com/JCSDA/spack-stack/wiki/New-Site-Configs. I'm on an M4 mac using apple-clang@21.0.0 and gcc@12.5.0. It appears as though I'm running into the issue described in the note for clang>15. That is, I'm getting an error with:
dyld[27888]: duplicate LC_RPATH
This is despite adding
flags:
ldflags: '-Wl,-ld_classic'
to sites/packages.yaml
To Reproduce
Described above, but on M4 mac, follow the instructions for new-site-configs with clang@21 and gcc@12.5.0
Expected behavior
openBLAS installs correctly and the spack install can complete
System, compiler, code, ...
Mac M4, clang@21.0.0, gcc@12.5.0, spack-stack@v2.1
spack-build-out.txt
Description
Starting from a fresh spack-stack configuration using the unified environment, I'm running into an issue during installation of openBLAS. I'm following the instructions for macOS from https://github.com/JCSDA/spack-stack/wiki/New-Site-Configs. I'm on an M4 mac using apple-clang@21.0.0 and gcc@12.5.0. It appears as though I'm running into the issue described in the note for clang>15. That is, I'm getting an error with:
dyld[27888]: duplicate LC_RPATH
This is despite adding
flags:
ldflags: '-Wl,-ld_classic'
to sites/packages.yaml
To Reproduce
Described above, but on M4 mac, follow the instructions for new-site-configs with clang@21 and gcc@12.5.0
Expected behavior
openBLAS installs correctly and the spack install can complete
System, compiler, code, ...
Mac M4, clang@21.0.0, gcc@12.5.0, spack-stack@v2.1
spack-build-out.txt