On Jun 26, 2020, at 11:32 AM, Sahir Butt via users <users@lists.open-mpi.org> wrote: > > I am trying to build openmpi-4.0.3 with gcc 11 on macOS. I ran following to > configure: > > ../configure --prefix=/path-to/opt/openmpi-4.0.3 > --with-wrapper-ldflags="-Wl,-search_paths_first” > > I keep getting following error: > > checking for objdump... objdump > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: > error: 'conftest.o': Invalid/Unsupported object file format.
This might mean that you have some kind of issue with your local compiler. FWIW, on my MacOS laptop, "which objdump" finds /usr/bin/objdump, not /Applications/Xcode.app/...etc. Can you send the stdout/stderr from running configure, and the config.log file? -- Jeff Squyres jsquy...@cisco.com