]> gcc.gnu.org Git - gcc.git/commit
Darwin : Update libtool and dependencies for Darwin20 [PR97865]
authorIain Sandoe <iain@sandoe.co.uk>
Wed, 18 Nov 2020 10:06:03 +0000 (10:06 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Sat, 1 May 2021 13:06:20 +0000 (14:06 +0100)
commit3d29d0d630caac54dbcc6c3fb961258a011a30fc
treeee40b14ef4a869441a79b94b534947e3af677bea
parent6d1444bf1a21888a2e2b6744888d9ae51cfe0df6
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.

Backported from 1352bc88a0525743c952197fb2db6e4f8c091cde and 5dc998933e7aa737f4a45a8a2885d42d5288d51a

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.

Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
23 files changed:
gcc/configure
libatomic/configure
libbacktrace/configure
libcc1/Makefile.am
libcc1/Makefile.in
libcc1/configure
libcc1/configure.ac
libffi/configure
libgfortran/configure
libgomp/configure
libhsail-rt/configure
libitm/configure
libitm/configure.tgt
libobjc/configure
libphobos/configure
libquadmath/configure
libsanitizer/configure
libsanitizer/configure.tgt
libssp/configure
libstdc++-v3/configure
libtool.m4
libvtv/configure
zlib/configure
This page took 0.065685 seconds and 6 git commands to generate.