[MacPorts] #68296: scalapack-2.2.0_1+gfortran+mpich+openblas configure fails arm64
MacPorts
noreply at macports.org
Tue Oct 3 19:14:51 UTC 2023
#68296: scalapack-2.2.0_1+gfortran+mpich+openblas configure fails arm64
------------------------+--------------------
Reporter: murrayE | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords: sonoma
Port: scalapack |
------------------------+--------------------
Comment (by murrayE):
After adding to `~/.profile the settings
{{{
export MACOSX_DEPLOYMENT_TARGET=12
export OTHER_LDFLAGS=-Wl,-ld_classic
}}}
and, of course, restarting the shell, I tried once again to install
scalapack-2.2.0_1+gfortran+mpich+openblas for arm64.
First try now failed because it required re-install of mpich-default with
variant `+gcc13`, which I did. Still, configure fails.
From main.log:
{{{
:info:configure -- Check for working C compiler: /opt/local/bin/mpicc-
mpich-mp
:info:configure -- Check for working C compiler: /opt/local/bin/mpicc-
mpich-mp - broken
:info:configure CMake Error at
/opt/local/share/cmake-3.24/Modules/CMakeTestCCompiler.cmake:69 (message):
:info:configure The C compiler
:info:configure "/opt/local/bin/mpicc-mpich-mp"
:info:configure is not able to compile a simple test program.
:info:configure It fails with the following output:
:info:configure Change Dir:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_scalapack/scalapack/work/build/CMakeFiles/CMakeTmp
:info:configure
:info:configure Run Build Command(s):/usr/bin/make -f Makefile
cmTC_883db/fast && /Library/Developer/CommandLineTools/usr/bin/make -f
CMakeFiles/cmTC_883db.dir/build.make CMakeFiles/cmTC_883db.dir/build
:info:configure Building C object
CMakeFiles/cmTC_883db.dir/testCCompiler.c.o
:info:configure /opt/local/bin/mpicc-mpich-mp -pipe -Os -Wno-
implicit-function-declaration -DNDEBUG -I/opt/local/include
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch
arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk
-mmacosx-version-min=14.0 -MD -MT
CMakeFiles/cmTC_883db.dir/testCCompiler.c.o -MF
CMakeFiles/cmTC_883db.dir/testCCompiler.c.o.d -o
CMakeFiles/cmTC_883db.dir/testCCompiler.c.o -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_scalapack/scalapack/work/build/CMakeFiles/CMakeTmp/testCCompiler.c
:info:configure Linking C executable cmTC_883db
:info:configure /opt/local/bin/cmake -E cmake_link_script
CMakeFiles/cmTC_883db.dir/link.txt --verbose=1
:info:configure /opt/local/bin/mpicc-mpich-mp -pipe -Os -Wno-implicit-
function-declaration -DNDEBUG -I/opt/local/include
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch
arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk
-mmacosx-version-min=14.0 -Wl,-search_paths_first
-Wl,-headerpad_max_install_names -L/opt/local/lib
-Wl,-headerpad_max_install_names -Wl,-rpath,/opt/local/lib/libgcc
-Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk
CMakeFiles/cmTC_883db.dir/testCCompiler.c.o -o cmTC_883db
:info:configure ld: unknown options: -commons
:info:configure clang: error: linker command failed with exit code 1
(use -v to see invocation)
:info:configure make[1]: *** [cmTC_883db] Error 1
:info:configure make: *** [cmTC_883db/fast] Error 2
}}}
So now what's wront and what's the fix?
--
Ticket URL: <https://trac.macports.org/ticket/68296#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list