Hi Iain,

> OK, thanks
> (I do not yet have an xcode-15 or darwin23 setup)

Xcode 15 beta claims to also support macOS 13/Darwin 22, though I
haven't tried this.

> After some bake time,  this will need backporting to open branches, to avoid 
> those also failing in the same way,

Agreed: those incompatibilities are pretty messy.  It seems Apple has
changed a considerable part of the cctools (or however they call it
those days) codebase.  dsymutil is another case which now warns

warning: '.debug_macinfo' is not currently supported: file will be skipped
note: while processing const1.o

in quite a number of cases where the previous version didn't.

>> Note however that the new ld isn't yet usable to build gcc: for a
>> trivial testcase which amounts to
>> 
>> ld -dynamic -o conftest conftest.o libstdc++.a -lSystem -no_compact_unwind
>> 
>> it dies with an assertion failure.  I've filed a bug for this issue:
>> 
>> ld assertion failure in ld::AtomPlacement::findAtom (FB12978804)
>> 
>> Instead there's ld-classic which still works as usual.
>
> I’m assuming ‘ld-classic’ in this context means ‘ld64’?
> in which case, ld-classic now has two meanings :) .. (the older ld_classic
> is part of cctools)

Right: there's an actual ld-classic binary (and manpage) which still
identifies itself as ld64.

        Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

Reply via email to