]> git.ipfire.org Git - thirdparty/gcc.git/commit
libgcc, Darwin: No early install for the compatibility libgcc_s.1.dylib.
authorIain Sandoe <iain@sandoe.co.uk>
Thu, 22 Dec 2022 17:32:06 +0000 (17:32 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Sun, 21 May 2023 18:54:26 +0000 (19:54 +0100)
commit5bd1e853b30e783b8a8bc360d0dc2196af801529
tree3029a5be1018694046839f1db3884216549e2339
parent9473ba97f087a080b41e2c5e29a695aa295a6b31
libgcc, Darwin: No early install for the compatibility libgcc_s.1.dylib.

On Darwin, GCC now uses a libgcc_s.1.1 for builtins and forwards the system
unwinder.  We do, however, build a backwards compatibility libgcc_s.1.dylib.
However, this is not needed by GCC and can cause incorrect operation when
DYLD_LIBRARY_PATH is in use.

Since we do not need or use it during the build, the solution is to skip the
installation into the $build/gcc directory.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
libgcc/ChangeLog:

* config/t-slibgcc-darwin (install-darwin-libgcc-stubs): Skip the
install of libgcc_s.1.dylib when the installation is into the build
gcc directory.

(cherry picked from commit 163f0f2267370575a9950e7e30a2c9cd72f559f0)
libgcc/config/t-slibgcc-darwin