On Wed, 30 Sept 2026 at 17:01, David Edelsohn <[email protected]> wrote: > > On Wed, Sep 30, 2026 at 3:43 PM Jonathan Wakely <[email protected]> wrote: >> >> This should be CC'd to the gcc-patches list. >> >> I've also CC'd the AIX maintainer. The GCC installation docs do say >> "The native as and ld are recommended for bootstrapping on AIX." I >> don't know if this limitation of the GNU linker is something that >> matters here. >> >> On Wed, 30 Sept 2026 at 14:21, <[email protected]> wrote: >> > >> > From: Hugo Beauzée-Luyssen <[email protected]> >> > >> > GNU binutils' ar cannot build AIX dual 32/64-bit archives, so the >> > 32/64 combine in the top-level MULTIBUILDTOP recipe corrupts the >> > default-arch libstdc++ for a single-arch cross build with GNU binutils. > > > GNU as and GNU ld should handle the AIX "fat" archives, as of a few > years ago. GNU ar may not have been updated. > > Avoiding the "fat" archive when there is no multilib seems like a > reasonable solution that does not harm functionality. > > Okay.
Thanks, I've pushed the patch to trunk. N.B. I had to move the Assisted-by: line above the ChangeLog part, as our commit hook script only allows a few trailers at the end. We should probably add Assisted-by: to it.
