|From:||Victor Wagner <vitus(at)wagner(dot)pp(dot)ru>|
|Subject:||Re: master make check fails on Solaris 10|
|Views:||Raw Message | Whole Thread | Download mbox | Resend email|
On Wed, 17 Jan 2018 11:33:09 -0500
Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Attached is a draft patch to incorporate Victor's slimmed-down test
> into configure. If you have a chance, could you confirm it does
> the right thing on your Sparc machine?
It seems that what it does is not exactly a right thing.
I've applied it to commit 9c7d06d60680 in master and see following
$ ./configure CC="gcc -m64"
checking for __int128... yes
checking for __int128 alignment bug... ok
checking alignment of PG_INT128_TYPE... 16
checking for builtin __sync char locking functions... yes
As far as I understand your patch, there should be:
checking for __int128 alignment bug... broken
Then in the pg_config.h I see
/* The normal alignment of `PG_INT128_TYPE', in bytes. */
#define ALIGNOF_PG_INT128_TYPE 16
/* Define to the name of a signed 128-bit integer type. */
#define PG_INT128_TYPE __int128
However, make check passes.
There are two things which puzzle me
1. Why test program doesn't detect bug.
If I cut'n'paste it from configure, compile with flags, cut'n'pasted
from config log and run, it returns 1. But configure tells that all is
2. If bug exist and is not detected by configure why make check passes.
We, Marina and I would continue investigation.
|Next Message||Tom Lane||2018-01-18 06:47:46||Re: master make check fails on Solaris 10|
|Previous Message||Etsuro Fujita||2018-01-18 06:40:04||Re: [HACKERS] postgres_fdw bug in 9.6|