[MacPorts] #63148: OpenBLAS @0.3.15_5+gcc11+lapack+native on MacOS 11.4 fails to build due to linking error

MacPorts noreply at macports.org
Mon Jun 28 18:34:04 UTC 2021


#63148: OpenBLAS @0.3.15_5+gcc11+lapack+native on MacOS 11.4 fails to build due to
linking error
------------------------------+----------------------
 Reporter:  jeffrey-hokanson  |      Owner:  (none)
     Type:  defect            |     Status:  new
 Priority:  Normal            |  Milestone:
Component:  ports             |    Version:  2.7.1
 Keywords:  arm64             |       Port:  OpenBLAS
------------------------------+----------------------
 I am attempting to build OpenBLAS for use with py39-numpy.  I ran into a
 compile issue that may be related to #63072.

 {{{
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_OpenBLAS/OpenBLAS/work/compwrap/fc/opt/local/bin
 /gfortran-mp-11 -Os -m64 -O3 -Wall -frecursive -fno-optimize-sibling-calls
 -march=armv8-a -O3 -Wall -frecursive -fno-optimize-sibling-calls
 -march=armv8-a -L/opt/local/lib -Wl,-headerpad_max_install_names
 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk
 -arch arm64 -o sblat1 sblat1.o ../libopenblas-r1.a -lpthread -lgfortran
 -lpthread -lgfortran
 :info:build ld: library not found for -lgcc_s.1.1
 :info:build collect2: error: ld returned 1 exit status
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/63148>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list