Tom Lane wrote:
> Or perhaps there's a different gcc version you could use?
Greg Stark wrote:
> What version of GCC are you testing with?
Wheezy on sparc has gcc-4.4 (4.4.7), gcc-4.6 (4.6.3) and gcc-4.7 (4.7.2), with gcc-4.6 being the default hence the one
Iwas using.
Switching to gcc-4.7 resolved this issue, as well as the failing object_address test against 9.6.3. So, with gcc-4.7
postgresql-9.4.12,postgresql-9.6.3 and postgresql-10~beta1 all build successfully and pass all tests on sparc.
Switching to gcc-4.7 does not solve the alignment issue in 9.4.7 (resolved in 9.4.8) discussed here:
https://www.postgresql.org/message-id/20160413094117.GC21485@msg.credativ.de
Tom Lane wrote:
> We never did get a clear explanation of why that crashed on Sparc.
> I hypothesized over-aggressive compiler assumptions about alignment,
> but there was no convincing evidence for that. It might be worth taking
> a look at the assembly code immediately around the crash point, especially
> if you could also get the corresponding code from 9.4.8.
I can reproduce that crash against 9.4.7 with both gcc-4.6 and gcc-4.7, and will try to provide the relevant assembly
snippets.
Best regards,
Tom Turelinckx
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs