Potential build issues on Darwin20.1 macOS Big Sur
JRR
juergen.reuter at desy.de
Thu Nov 19 15:22:54 UTC 2020
Hi all,
due to the treating of the linker flag -Wl,undefined
(flat_namespace vs. dynamic_lookup there is a potential issue in
building for
Darwin20.1 (macOS Big Sur), cf. the snippet in your configure (which is
imported
from libtool.m4 I guess). The libtool authors are informed about these
issues.
I don't know whether this is an issue for libgmp, but for gcc etc. it
poses problems,
cf. here:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97865
Cheers,
JRR (Jürgen Reuter)
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
$as_echo "$lt_cv_ld_force_load" >&6; }
case $host_os in
rhapsody* | darwin1.[012])
_lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
darwin1.*)
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined
${wl}suppress' ;;
darwin*) # darwin 5.x on
# if running on 10.5 or later, the deployment target defaults
# to the OS version, if on x86, and 10.4, the deployment
# target defaults to 10.4. Don't you love it?
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
10.[012][,.]*)
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined
${wl}suppress' ;;
10.*)
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
esac
;;
esac
if test yes = "$lt_cv_apple_cc_single_mod"; then
_lt_dar_single_mod='$single_module'
fi
if test yes = "$lt_cv_ld_exported_symbols_list"; then
_lt_dar_export_syms='
$wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
else
_lt_dar_export_syms='~$NMEDIT -s
$output_objdir/$libname-symbols.expsym $lib'
fi
if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
_lt_dsymutil='~$DSYMUTIL $lib || :'
else
_lt_dsymutil=
fi
;;
esac
--
--
---------------------------------
Juergen Reuter
DESY Theory Group, Bldg. 2a
Notkestr. 85
22607 Hamburg, GERMANY
Tel +49 (0)40 8998 3895
Fax +49 (0)40 8998 2777
skype: jr_reuter
---------------------------------
More information about the gmp-bugs
mailing list