| Hey folks, After upgrading to command line tools for Xcode 15 on macOS, the linker started complaining that -sdk_version option is not recognized, which apparently has been dropped in the last iteration of the linker and yet it is still called by the ldwrapper. In my case, I found this immediate workaround [1] which essentially requires re emerging the binutils-config, while telling it to add the -ld64 option in the ldwrapper, which in turn will ensure that the “old version” of the linker is used. It is not elegant, nor definitive solution… but this is just until our super maintainers figure out what other options should passed to the new ld instead. Also, I am attaching the patch I used with sys-devel/binutils-config-5.1-r5 |
binutils-config-5-ldwrapper-xcode15.patch
Description: Binary data
--
Askar Bektassov (Аскар Бектасов) Sent from desktop |
