]> git.ipfire.org Git - thirdparty/gcc.git/commit
libgcc, Darwin: Drop the legacy library build for macOS >= 15 [PR116809].
authorIain Sandoe <iain@sandoe.co.uk>
Sun, 22 Sep 2024 10:43:32 +0000 (11:43 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Tue, 24 Sep 2024 18:23:02 +0000 (19:23 +0100)
commitd9cafa0c4f0a81304d9b95a78ccc8e9003c6d7a3
treebd9648701199495c6d5974fa54efc72f2ac21ee9
parentdab450021569811402e02917d7dc1f05fb4626c7
libgcc, Darwin: Drop the legacy library build for macOS >= 15 [PR116809].

We have been building a legacy libgcc_s.1 DSO to support code that
was built with older compilers.

From macOS 15,  the unwinder no longer exports some of the symbols used
in that library which (a) cuases bootstrap fail and (b) means that the
legacy library is no longer useful.

No open branch of GCC emits references to this library - and any already
-built code that depends on the symbols would need rework anyway.

PR target/116809

libgcc/ChangeLog:

* config.host: Build legacy libgcc_s.1 on hosts before macOS 15.
* config/i386/t-darwin: Remove reference to legacy libgcc_s.1
* config/rs6000/t-darwin: Likewise.
* config/t-darwin-libgccs1: New file.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
libgcc/config.host
libgcc/config/i386/t-darwin
libgcc/config/rs6000/t-darwin
libgcc/config/t-darwin-libgccs1 [new file with mode: 0644]