[Bug target/111481] MacOS, linker issues with Xcode 15
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111481 Iain Sandoe changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #4 from Iain Sandoe --- (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.
[Bug target/111481] MacOS, linker issues with Xcode 15
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111481 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org, ||iains at gcc dot gnu.org --- Comment #3 from Eric Gallager --- (In reply to simon from comment #2) > 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 > $ This is annoying how Apple is reusing the name `ld_classic` for something new, after it previously referred to something else...
[Bug target/111481] MacOS, linker issues with Xcode 15
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111481 --- Comment #2 from simon at pushface dot org --- 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 $
[Bug target/111481] MacOS, linker issues with Xcode 15
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111481 --- Comment #1 from simon at pushface dot org --- The -macosx_version_min issue appears to have been resolved in GCC 14.0.0 20230820. The Ada linking issue remains.