I tried to bootstrap from macOS 14, which comes with XCode 15 command line tools. The fatal issue is that the linker command line interface has been redesigned and our previous injected options do not work. Would it be possible to update sys-devel/binutils-config to incorporate it? -macosx_version_min has been renamed to -macos_version_min ld: warning: -single_module is obsolete ld: unknown options: -sdk_version collect2: error: ld returned 1 exit status make[2]: *** [Makefile:995: libgcc_s.dylib] Error 1 Reproducible: Always
Sure I think we can. At first glance I think we should decide this compile/install time, e.g. not make it dynamic.
(In reply to Fabian Groffen from comment #1) > Sure I think we can. At first glance I think we should decide this > compile/install time, e.g. not make it dynamic. Yeah, I agree. Should be dealt with at binutils-config compile stage.
(In reply to Benda Xu from comment #2) > (In reply to Fabian Groffen from comment #1) > > Sure I think we can. At first glance I think we should decide this > > compile/install time, e.g. not make it dynamic. > > Yeah, I agree. Should be dealt with at binutils-config compile stage. From https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110624, I see it is all about gcc, not binutils-config.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=39ebcce123b877180ea3d389fb9c8bb6ce977f4f commit 39ebcce123b877180ea3d389fb9c8bb6ce977f4f Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2023-09-26 19:37:33 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2023-09-26 19:37:33 +0000 sys-devel/binutils-config: revbump for CLT 15 Closes: https://bugs.gentoo.org/910277 Signed-off-by: Fabian Groffen <grobian@gentoo.org> .../{binutils-config-5.1-r5.ebuild => binutils-config-5.1-r6.ebuild} | 1 - 1 file changed, 1 deletion(-) https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=753907f35f78864cf66a7bc084b32eb56b31684d commit 753907f35f78864cf66a7bc084b32eb56b31684d Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2023-09-26 19:30:33 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2023-09-26 19:35:52 +0000 sys-apps/binutils-config: fix ldwrapper for CLT 15 Because -platform_version is actually supported since a while, and we don't really support older versions (except Darwin 17 and 9 which use way different versions), just switch to using platform_version when the target is macos 12 or up. Closes: https://bugs.gentoo.org/910277 Signed-off-by: Fabian Groffen <grobian@gentoo.org> sys-devel/binutils-config/files/ldwrapper.c | 60 ++++++++++++++++++++++++----- 1 file changed, 50 insertions(+), 10 deletions(-)