Describe the bug
When building on macOS with apple-clang@15.0.0, the autoconf configure step fails with this error message:
*** Assembler
checking dependency style of /Users/steveherbener/spack-stack/spack/lib/spack/env/clang/clang... gcc3
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking for fgrep... /usr/bin/grep -F
checking if .proc/endp is needed... no
checking directive for setting text section... .text
checking directive for exporting symbols... .globl
checking for objdump... objdump
checking if .note.GNU-stack is needed... /Library/Developer/CommandLineTools/usr/bin/objdump: error: 'conftest.o': Invalid/Unsupported object file format
no
checking suffix for labels... :
checking prefix for global symbol labels... none
configure: error: Could not determine global symbol label prefix
==> Error: ProcessError: Command exited with status 1:
'/Users/steveherbener/spack-stack/cache/build_stage/spack-stage-openmpi-4.1.5-x4q3whw3r6vd43np62pum67nmv3hqdtk/spack-src/configure' '--prefix=/Users/steveherbener/spack-stack/envs/unified-env.mymacos/install/apple-clang/15.0.0/openmpi-4.1.5-x4q3whw' '--enable-shared' '--disable-silent-rules' '--disable-sphinx' '--disable-builtin-atomics' '--enable-static' '--enable-mpi1-compatibility' '--without-psm' '--withou2 errors found in build log:
369 checking the name lister (/usr/bin/nm -B) interface... BSD nm
370 checking for fgrep... /usr/bin/grep -F
371 checking if .proc/endp is needed... no
372 checking directive for setting text section... .text
373 checking directive for exporting symbols... .globl
374 checking for objdump... objdump
>> 375 checking if .note.GNU-stack is needed... /Library/Developer/CommandLineTools/usr/bin/ob
jdump: error: 'conftest.o': Invalid/Unsupported object file format
376 no
377 checking suffix for labels... :
378 checking prefix for global symbol labels... none
>> 379 configure: error: Could not determine global symbol label prefix
See build log for details:
/Users/steveherbener/spack-stack/cache/build_stage/spack-stage-openmpi-4.1.5-x4q3whw3r6vd43np62pum67nmv3hqdtk/spack-build-out.txt
t-xpmem' '--without-psm2' '--without-knem' '--without-ucx' '--without-mxm' '--without-fca' '--without-ofi' '--without-verbs' '--without-cma' '--without-hcoll' '--without-cray-xpmem' '--without-loadleveler' '--without-lsf' '--without-sge' '--without-tm' '--without-alps' '--without-slurm' '--disable-memchecker' '--with-libevent=/Users/steveherbener/spack-stack/envs/unified-env.mymacos/install/apple-clang/15.0.0/libevent-2.1.12-rikcgqz' '--with-zlib=/Users/steveherbener/spack-stack/envs/unified-env.mymacos/install/apple-clang/15.0.0/zlib-1.2.13-kwhhddt' '--with-pmix=/Users/steveherbener/spack-stack/envs/unified-env.mymacos/install/apple-clang/15.0.0/pmix-4.2.3-rfcjx6r' '--with-hwloc=internal' '--disable-java' '--disable-mpi-java' '--with-gpfs=no' '--without-cuda' '--enable-wrapper-rpath' '--disable-wrapper-runpath' '--disable-mpi-cxx' '--disable-cxx-exceptions'
Here is what is in the spack-build-out.txt file:
*** Assembler
checking dependency style of /Users/steveherbener/spack-stack/spack/lib/spack/env/clang/clang... gcc3
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking for fgrep... /usr/bin/grep -F
checking if .proc/endp is needed... no
checking directive for setting text section... .text
checking directive for exporting symbols... .globl
checking for objdump... objdump
checking if .note.GNU-stack is needed... /Library/Developer/CommandLineTools/usr/bin/objdump: error: 'conftest.o': Invalid/Unsupported object file format
no
checking suffix for labels... :
checking prefix for global symbol labels... none
configure: error: Could not determine global symbol label prefix
Note that openmpi builds just fine with apple-clang@14.0.3 and earlier versions.
To Reproduce
Steps to reproduce the behavior:
Update command line tools to latest version (Command Line Tools for Xcode 15), then run the usual build process using the unified-dev environment.
Expected behavior
Build succeeds
System:
What system(s) are you running the code on?
Mac M1
Ventura 13.6
Additional context
Describe the bug
When building on macOS with apple-clang@15.0.0, the autoconf configure step fails with this error message:
Here is what is in the spack-build-out.txt file:
Note that openmpi builds just fine with apple-clang@14.0.3 and earlier versions.
To Reproduce
Steps to reproduce the behavior:
Update command line tools to latest version (Command Line Tools for Xcode 15), then run the usual build process using the unified-dev environment.
Expected behavior
Build succeeds
System:
What system(s) are you running the code on?
Mac M1
Ventura 13.6
Additional context