Re: [BUGS] Test suite fails on alpha architecture

2007-12-04 Thread Martin Pitt
Hi, Tom Lane [2007-11-07 13:49 -0500]: > All the other diffs that Martin showed are divide-by-zero failures, > and I do not see any of them on Gentoo's machine. I think that this > must be a compiler bug. The first example in his diffs is just > "select 1/0", which executes this code: > > i

Re: [BUGS] Test suite fails on alpha architecture

2007-12-04 Thread Martin Pitt
Martin Pitt [2007-12-04 23:43 +0100]: > So I tried to approach it from the other side: Building postgresql > with CFLAGS="-O0 -g" or "-O1 -g" works correctly, but with "-O2 -g" I > get above bug. Just FAOD, building with gcc 4.1 and -O2 works fine. I guess this sufficiently proves that this is a g

Re: [BUGS] Test suite fails on alpha architecture

2007-11-25 Thread Steve Langasek
On Wed, Nov 07, 2007 at 02:44:23PM -0500, Tom Lane wrote: > I don't have access to a machine on which the failure occurs, but > perhaps Martin can try it. I'd think it'd be pretty easy, say > #include > #include > void > ereport(const char *msg) > { > fprintf(stderr, "%s\n", msg); >

Re: [BUGS] Test suite fails on alpha architecture

2007-11-11 Thread Marc 'HE' Brockschmidt
Heya, I know I'm quite late with my answer, sorry. Frank Lichtenheld <[EMAIL PROTECTED]> writes: > On Sat, Nov 03, 2007 at 06:32:34PM -0400, Martin Pitt wrote: >>> Can you grant one of us access to the machine to work on it? >> I don't own any alpha machine, but maybe Frank, Steven, or anyone fro

Re: [BUGS] Test suite fails on alpha architecture

2007-11-07 Thread Jose Luis Rivero
On Wed, Nov 07, 2007 at 02:41:51PM -0500, Steve Langasek wrote: > On Wed, Nov 07, 2007 at 01:49:53PM -0500, Tom Lane wrote: > > All the other diffs that Martin showed are divide-by-zero failures, > > and I do not see any of them on Gentoo's machine. I think that this > > must be a compiler bug. T

Re: [BUGS] Test suite fails on alpha architecture

2007-11-07 Thread Tom Lane
Falk Hueffner <[EMAIL PROTECTED]> writes: > Tom Lane <[EMAIL PROTECTED]> writes: >> It looks to me like Debian's compiler must be allowing the division >> instruction to be speculatively executed before the if-test branch >> is taken. > Can you create a stand-alone testcase for this? I don't have

Re: [BUGS] Test suite fails on alpha architecture

2007-11-07 Thread Steve Langasek
On Wed, Nov 07, 2007 at 01:49:53PM -0500, Tom Lane wrote: > Steve Langasek <[EMAIL PROTECTED]> writes: > > It may be specific to particular versions of glibc and the kernel. At least > > one of the test regressions is actually due to the bug described in > >

Re: [BUGS] Test suite fails on alpha architecture

2007-11-07 Thread Falk Hueffner
Tom Lane <[EMAIL PROTECTED]> writes: > All the other diffs that Martin showed are divide-by-zero failures, > and I do not see any of them on Gentoo's machine. I think that this > must be a compiler bug. The first example in his diffs is just > "select 1/0", which executes this code: > > int3

Re: [BUGS] Test suite fails on alpha architecture

2007-11-07 Thread Martin Pitt
Hi Tom, Tom Lane [2007-11-07 13:49 -0500]: > Bottom line is that I see nothing here that the Postgres project can > fix --- these are library and compiler bugs. Thank you for your detailled analysis! I'll file bugs to the appropriate places then. Thanks, Martin -- Martin Pitt http://w

Re: [BUGS] Test suite fails on alpha architecture

2007-11-07 Thread Tom Lane
Steve Langasek <[EMAIL PROTECTED]> writes: > It may be specific to particular versions of glibc and the kernel. At least > one of the test regressions is actually due to the bug described in > ; I haven't dug > into the rest of the failur

Re: [BUGS] Test suite fails on alpha architecture

2007-11-06 Thread Steve Langasek
On Tue, Nov 06, 2007 at 12:52:34PM -0500, Tom Lane wrote: > =?ISO-8859-1?Q?=22Jos=E9_Luis_Rivero_=28yoswink=29=22?= <[EMAIL PROTECTED]> > writes: > > Since Debian is having some problems with its alpha development machine, > > the Gentoo/Alpha port is happy to offer some help with this problem.

Re: [BUGS] Test suite fails on alpha architecture

2007-11-06 Thread Tobias Klausmann
Hi! On Tue, 06 Nov 2007, Tom Lane wrote: > If you could set me up a shell account accessible by ssh, I should have > time to poke at this tomorrow. I don't need root access but will need > all the usual C development tools (gcc, gdb, etc). Just send me a (preferably signed) mail with desired us

Re: [BUGS] Test suite fails on alpha architecture

2007-11-06 Thread Tom Lane
=?ISO-8859-1?Q?=22Jos=E9_Luis_Rivero_=28yoswink=29=22?= <[EMAIL PROTECTED]> writes: > Since Debian is having some problems with its alpha development machine, > the Gentoo/Alpha port is happy to offer some help with this problem. > We can provide with shell account access (or even a chroot) in o

Re: [BUGS] Test suite fails on alpha architecture

2007-11-06 Thread José Luis Rivero (yoswink)
Hi *: Martin Pitt escribió: Hi, Tom Lane [2007-11-03 14:27 -0400]: Martin Pitt <[EMAIL PROTECTED]> writes: The testsuite of 8.3 beta 2 fails on the Alpha architecture (versions up to 8.2 worked fine). We redid some of the float error handling for 8.3, in hopes of getting closer to the IEEE s

Re: [BUGS] Test suite fails on alpha architecture

2007-11-03 Thread Tim Cutts
On 3 Nov 2007, at 10:32 pm, Martin Pitt wrote: Hi, Tom Lane [2007-11-03 14:27 -0400]: Martin Pitt <[EMAIL PROTECTED]> writes: The testsuite of 8.3 beta 2 fails on the Alpha architecture (versions up to 8.2 worked fine). We redid some of the float error handling for 8.3, in hopes of get

Re: [BUGS] Test suite fails on alpha architecture

2007-11-03 Thread Frank Lichtenheld
On Sat, Nov 03, 2007 at 06:32:34PM -0400, Martin Pitt wrote: > Tom Lane [2007-11-03 14:27 -0400]: > > Martin Pitt <[EMAIL PROTECTED]> writes: > > > The testsuite of 8.3 beta 2 fails on the Alpha architecture (versions > > > up to 8.2 worked fine). > > > > We redid some of the float error handling

Re: [BUGS] Test suite fails on alpha architecture

2007-11-03 Thread Martin Pitt
Hi, Tom Lane [2007-11-03 14:27 -0400]: > Martin Pitt <[EMAIL PROTECTED]> writes: > > The testsuite of 8.3 beta 2 fails on the Alpha architecture (versions > > up to 8.2 worked fine). > > We redid some of the float error handling for 8.3, in hopes of getting > closer to the IEEE standard behavior