Re: powerpc(32) point/polygon regression failures on Debian Jessie

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Christoph Berg <christoph(dot)berg(at)credativ(dot)de>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: powerpc(32) point/polygon regression failures on Debian Jessie
Date: 2017-02-20 16:12:23
Message-ID: 13825.1487607143@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Christoph Berg <christoph(dot)berg(at)credativ(dot)de> writes:
> Re: Tom Lane 2017-02-20 <30737(dot)1487598355(at)sss(dot)pgh(dot)pa(dot)us>
>> Hmph. We haven't touched that code in awhile, and certainly not in the
>> 9.4.x branch. I'd have to agree that this must be a toolchain change.

> FYI, in the meantime we could indeed trace it back to an libc issue on
> Jessie:

I wonder whether it's a compiler change, maybe along the lines of
rearranging the computation so that it gives a slightly different result.
Although you'd think that 10.0/10.0 would give exactly 1.0 no matter what.
Still, it'd be worth comparing the assembly code for your test program.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2017-02-20 16:13:54 PATCH: pageinspect / add page_checksum and bt_page_items(bytea)
Previous Message Christoph Berg 2017-02-20 15:58:19 Re: powerpc(32) point/polygon regression failures on Debian Jessie