[MacPorts] #63115: gcc11 is built for macOS 11.3 deployment target
MacPorts
noreply at macports.org
Tue Jun 22 17:57:36 UTC 2021
#63115: gcc11 is built for macOS 11.3 deployment target
-----------------------+----------------------
Reporter: diekhans | Owner: kjellpk
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords: bigsur
Port: gcc11 |
-----------------------+----------------------
Comment (by diekhans):
ah, thanks; I fooled by port provides ;-)
with rebuild libgcc11 from source, the "built for newer macOS version
(11.3)" warning goes away, however the check for C linking with FORTRAN
still fails. It sees odd that
this test is run with clang-mp-12 if it wants to use gcc11.
I can try other suggestions; and can actually dig into debugging in a week
or so.
{{{
configure:25995: /opt/local/bin/clang-mp-12 -o conftest -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch arm64
-I/opt/local/include
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk
-L/opt/local/lib -Wl,-headerpad_max_install_names
-Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk
-arch arm64 conftest.c cfortran_test.o -ldl -lm -L/opt/local/lib
-L/opt/local/lib/gcc11/gcc/arm64-apple-darwin20/11.1.0
-L/opt/local/lib/gcc11/gcc/arm64-apple-darwin20/11.1.0/../../.. -lgfortran
-lm >&5
configure:25995: $? = 0
configure:26037: result: lower case, underscore, no extra underscore
configure:26111: checking whether /opt/local/bin/gfortran-mp-11 appends
underscores to external names
configure:26127: result: yes
configure:26139: checking whether /opt/local/bin/gfortran-mp-11 appends
extra underscores to external names
configure:26155: result: no
configure:26169: checking whether mixed C/Fortran code can be run
dyld: Library not loaded: @rpath/libgfortran.5.dylib
Referenced from:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_R/R/work/R-4.1.0/./conftest
Reason: image not found
configure:26233: WARNING: cannot run mixed C/Fortran code
configure:26235: error: Maybe check LDFLAGS for paths to Fortran
libraries?
}}}
--
Ticket URL: <https://trac.macports.org/ticket/63115#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list