Steps to reproduce the issue
spack install findutils %gcc @11.2.0
This version of GCC was installed via Spack.
findutils uses the macro __nonnull internally to expand to __attribute__((__nonnull__(...))), which declarers that certain pointer arguments to functions cannot be null. This fails on my system where this attribute is not supported.
findutils checks whether this attribute is supported on the build system, but this check is not working correctly. This bug was reported upstream in January 2021 as https://savannah.gnu.org/bugs/?func=detailitem&item_id=59972.
Information on your system
$ spack debug report
- Spack: 0.17.1-778-2ab871dd17
- Python: 3.8.5
- Platform: darwin-bigsur-skylake
- Concretizer: clingo
Additional information
spack-build-out.txt
spack-build-env.txt
config.log
General information
Steps to reproduce the issue
spack install findutils %gcc @11.2.0This version of GCC was installed via Spack.
findutilsuses the macro__nonnullinternally to expand to__attribute__((__nonnull__(...))), which declarers that certain pointer arguments to functions cannot be null. This fails on my system where this attribute is not supported.findutilschecks whether this attribute is supported on the build system, but this check is not working correctly. This bug was reported upstream in January 2021 as https://savannah.gnu.org/bugs/?func=detailitem&item_id=59972.Information on your system
$ spack debug report
Additional information
spack-build-out.txt
spack-build-env.txt
config.log
General information
spack debug reportand reported the version of Spack/Python/Platformspack maintainers <name-of-the-package>and @mentioned any maintainers