On Wed, Apr 24, 2019 at 9:31 AM Ian Lance Taylor <i...@golang.org> wrote: > > On Tue, Apr 23, 2019 at 1:27 AM CHIGOT, CLEMENT <clement.chi...@atos.net> > wrote: > > > > Description: > > * This patch removes -mvsx and -maltivec for go aix/ppc. > > These options don't seem compatible with Go stack layout. > > > > Tests: > > * AIX 7.2: Configure/Build: SUCCESS > > > > Changelog: > > * config/rs6000/aix71.h (SUBTARGET_OVERRIDE_OPTIONS): Remove > > OPTION_MASK_VSX > > and OPTION_MASK_ALTIVEC from rs6000_isa_flags with Go on 32 bits. > > * config/rs6000/aix72.h (SUBTARGET_OVERRIDE_OPTIONS): Likewise. > > I still don't understand why there is a problem here. When using > gccgo the "Go stack layout" is exactly the same as the C stack layout. > But this patch is fine with me if it's OK with the AIX maintainers.
There is an underlying problem that Clement has not yet found. This is a workaround. I will test the patch in my build. Thanks, David