https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111481
Iain Sandoe <iains at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #4 from Iain Sandoe <iains at gcc dot gnu.org> --- (In reply to Eric Gallager from comment #3) > (In reply to simon from comment #2) (this is not a GCC bug AFAIK - but for the sake of information) > > A fix for the Ada issue is to link with the classic linker: > > > > $ gnatmake hello -largs -Wl,-ld_classic > > gcc -c hello.adb > > gnatbind -x hello.ali > > gnatlink hello.ali -Wl,-ld_classic > > $ you really need to configure the toolchain with "--with-ld=/path/to/ld-classic" NOTE: AFAIU, the ld bug is reportedly fixed "upstrean" and will appear in some future dot release go Xcode 15. At present, I'd just suggest sticking with 14.3. > This is annoying how Apple is reusing the name `ld_classic` for something > new, after it previously referred to something else... Indeed, it is for those of us supporting older Darwin.