summaryrefslogtreecommitdiffstats
path: root/libvtv
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2020-11-18 10:06:03 +0000
committerIain Sandoe <iain@sandoe.co.uk>2020-12-05 08:43:20 +0000
commit1352bc88a0525743c952197fb2db6e4f8c091cde (patch)
tree06207e8cc7971e67177cda013cacc9a764abfe3c /libvtv
parentX86_64: Enable support for next generation AMD Zen3 CPU. (diff)
downloadgcc-1352bc88a0525743c952197fb2db6e4f8c091cde.tar.gz
gcc-1352bc88a0525743c952197fb2db6e4f8c091cde.tar.bz2
gcc-1352bc88a0525743c952197fb2db6e4f8c091cde.tar.xz
Darwin : Update libtool and dependencies for Darwin20 [PR97865]
The change in major version (and the increment from Darwin19 to 20) caused libtool tests to fail which resulted in incorrect build settings for shared libraries. We take this opportunity to sort out the shared undefined symbols state rather than propagating the current unsound behaviour into a new rev. This change means that we default to the case that missing symbols are considered an error, and if one wants to allow this intentionally, the confiuration for that case should be set appropriately. Three existing cases need undefined dynamic lookup: libitm, where there is already a configuration mechanism to add the flags. libcc1, where we add simple configuration to add the flags for Darwin. libsanitizer, where we can add to the existing extra flags. libcc1/ChangeLog: PR target/97865 * Makefile.am: Add dynamic_lookup to LD flags for Darwin. * configure.ac: Test for Darwin host and set a flag. * Makefile.in: Regenerate. * configure: Regenerate. libitm/ChangeLog: PR target/97865 * configure.tgt: Add dynamic_lookup to XLDFLAGS for Darwin. * configure: Regenerate. libsanitizer/ChangeLog: PR target/97865 * configure.tgt: Add dynamic_lookup to EXTRA_CXXFLAGS for Darwin. * configure: Regenerate. ChangeLog: PR target/97865 * libtool.m4: Update handling of Darwin platform link flags for Darwin20. gcc/ChangeLog: PR target/97865 * configure: Regenerate. libatomic/ChangeLog: PR target/97865 * configure: Regenerate. libbacktrace/ChangeLog: PR target/97865 * configure: Regenerate. libffi/ChangeLog: PR target/97865 * configure: Regenerate. libgfortran/ChangeLog: PR target/97865 * configure: Regenerate. libgomp/ChangeLog: PR target/97865 * configure: Regenerate. libhsail-rt/ChangeLog: PR target/97865 * configure: Regenerate. libobjc/ChangeLog: PR target/97865 * configure: Regenerate. libphobos/ChangeLog: PR target/97865 * configure: Regenerate. libquadmath/ChangeLog: PR target/97865 * configure: Regenerate. libssp/ChangeLog: PR target/97865 * configure: Regenerate. libstdc++-v3/ChangeLog: PR target/97865 * configure: Regenerate. libvtv/ChangeLog: PR target/97865 * configure: Regenerate. zlib/ChangeLog: PR target/97865 * configure: Regenerate.
Diffstat (limited to 'libvtv')
-rwxr-xr-xlibvtv/configure34
1 files changed, 18 insertions, 16 deletions
diff --git a/libvtv/configure b/libvtv/configure
index c60ad8eed07..11b509c11d5 100755
--- a/libvtv/configure
+++ b/libvtv/configure
@@ -8732,23 +8732,25 @@ _LT_EOF
8732fi 8732fi
8733{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 8733{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8734$as_echo "$lt_cv_ld_force_load" >&6; } 8734$as_echo "$lt_cv_ld_force_load" >&6; }
8735 case $host_os in 8735 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
8736 rhapsody* | darwin1.[012]) 8736 # build without first building modern cctools / linker.
8737 case $host_cpu-$host_os in
8738 *-rhapsody* | *-darwin1.[012])
8737 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 8739 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8738 darwin1.*) 8740 *-darwin1.*)
8739 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 8741 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8740 darwin*) # darwin 5.x on 8742 *-darwin*)
8741 # if running on 10.5 or later, the deployment target defaults 8743 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
8742 # to the OS version, if on x86, and 10.4, the deployment 8744 # deployment target is forced to an earlier version.
8743 # target defaults to 10.4. Don't you love it? 8745 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
8744 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 8746 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
8745 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 8747 ;;
8746 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8747 10.[012][,.]*) 8748 10.[012][,.]*)
8748 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 8749 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8749 10.*) 8750 ;;
8750 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 8751 *)
8751 esac 8752 ;;
8753 esac
8752 ;; 8754 ;;
8753 esac 8755 esac
8754 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 8756 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
@@ -12262,7 +12264,7 @@ else
12262 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12264 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12263 lt_status=$lt_dlunknown 12265 lt_status=$lt_dlunknown
12264 cat > conftest.$ac_ext <<_LT_EOF 12266 cat > conftest.$ac_ext <<_LT_EOF
12265#line 12265 "configure" 12267#line 12267 "configure"
12266#include "confdefs.h" 12268#include "confdefs.h"
12267 12269
12268#if HAVE_DLFCN_H 12270#if HAVE_DLFCN_H
@@ -12368,7 +12370,7 @@ else
12368 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12370 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12369 lt_status=$lt_dlunknown 12371 lt_status=$lt_dlunknown
12370 cat > conftest.$ac_ext <<_LT_EOF 12372 cat > conftest.$ac_ext <<_LT_EOF
12371#line 12371 "configure" 12373#line 12373 "configure"
12372#include "confdefs.h" 12374#include "confdefs.h"
12373 12375
12374#if HAVE_DLFCN_H 12376#if HAVE_DLFCN_H