Of you can, sync the tree up (you need commit 39ebcce123).

move to var/db/repos/gentoo/sys-devel/binutils-config
then run:
env CC=/usr/bin/clang ebuild binutils-config-5.1-r6.ebuild digest clean merge 
clean

This should fix the wrapper so you can link again.  Do an emerge update
on at least binutils-config I guess to be safe.

Thanks,
Fabian

On 20-09-2023 08:39:54 +0200, Fabian Groffen wrote:
> OK, it seems we'll need some runtime detection for this one :(
> 
> On 20-09-2023 08:27:55 +0200, Fabian Groffen wrote:
> > I think we'd need to know if there is an equivalent, or that they simply
> > don't need it any more.  I don't remember why it was added any more.
> > 
> > Is this dyld-1015.7 you're seeing?
> > 
> > Thanks,
> > Fabian
> > 
> > On 20-09-2023 09:28:57 +0800, WuYiyang wrote:
> > > Hi,
> > > 
> > > Good news! There's already a bug [2] ticket about this, and now you have 
> > > found a
> > > workaround.
> > > 
> > > [2] https://bugs.gentoo.org/910277
> > > 
> > > On Tue, Sep 19, 2023 at 07:07:43PM +0000, Askar Bektassov wrote:
> > > > 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
> > > > 
> > > > 
> > > > 
> > > > [1] https://youtrack.jetbrains.com/issue/KT-60230
> > > > --
> > > > Askar Bektassov (Аскар Бектасов)
> > > > Sent from desktop
> > > > 
> > > 
> > > Best,
> > > Yiyang Wu
> > > 
> > 
> > -- 
> > Fabian Groffen
> > Gentoo on a different level
> 
> 
> 
> -- 
> Fabian Groffen
> Gentoo on a different level



-- 
Fabian Groffen
Gentoo on a different level

Attachment: signature.asc
Description: PGP signature

Reply via email to