On Mon, Apr 1, 2019 at 7:06 PM David Edelsohn <dje....@gmail.com> wrote: > > On Mon, Apr 1, 2019 at 9:50 PM Ian Lance Taylor <i...@golang.org> wrote: > > > > On Mon, Apr 1, 2019 at 12:43 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. > > > > Can you give some more details on the problem? gccgo should just be > > using the regular stack layout, I can't think of any reason why these > > options would not be compatible. > > Some Altivec instructions require stricter alignment and 32 bit AIX > does not impose sufficient alignment in the stack, so GCC Go silently > references the wrong address. > > GCC Go should be able to align the stack properly on AIX. In the > interim, we need to disable generation of Altivec/VSX.
Thanks. That makes it seem like more of a general GCC problem than a gccgo problem, though. Or does GCC arrange to align the stack in the main function? Ian