Re: Second call for platform testing

Lists: pgsql-hackers
From: Thomas Lockhart <lockhart(at)fourpalms(dot)org>
To: PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>, Neale(dot)Ferguson(at)softwareAG-usa(dot)com, cyril(dot)velter(at)libertysurf(dot)fr, segfault(at)hardline(dot)org, prlw1(at)cam(dot)ac(dot)uk, mrg(at)eterna(dot)com(dot)au, tih(at)kpnQwest(dot)no, t-ishii(at)sra(dot)co(dot)jp, Jason(dot)Tishler(at)dothill(dot)com
Subject: Second call for platform testing
Date: 2001-11-29 03:54:15
Message-ID: 3C05B167.803C63CF@fourpalms.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

OK, the list is getting smaller fast (thanks for all of the responses!).
Here is what I have left currently (note the addition of NetBSD/sparc,
which I had inadvertently omitted from the first list):

BeOS Cyril Velter
Linux/arm Mark Knox
Linux/s390 Neale Ferguson
NetBSD/arm32 Patrick Welche
NetBSD/m68k Bill Studenmund (will test)
NetBSD/sparc Matthew Green (left off the first list)
NetBSD/VAX Tom I. Helbekkmo
QNX (did I get a definitive report for 4.x already?)
SunOS Tatsuo Ishii (old release; still relevant?)
Windows/Cygwin Daniel Horak (OK in serial test, trouble with parallel
test?)
Windows/native Magnus Hagander (clients only)

I'm curious about the Windows/Cygwin trouble, and if others see it too,
since the -cygwin mailing list seems to report happiness with 7.1.3.

Tatsuo, do you think that we should still track SunOS explicitly?

Are there any other platforms we are running on?

- Thomas

The following platforms have been reported as successfully running
PostgreSQL 7.2:

AIX Andreas Zeugswetter (Tatsuo working on 5L?)
BSD/OS Bruce
FreeBSD Chris Kings-Lynne
HPUX Tom (anyone tested 11.0 or higher?)
IRIX Luis Amigo
Linux/Alpha Tom
Linux/MIPS Hisao Shibuya
Linux/PPC Tom
Linux/sparc Doug McNaught
Linux/x86 Thomas (and many others ;)
MacOS-X Gavin Sherry
NetBSD/Alpha Thomas Thai
NetBSD/PPC Bill Studenmund
NetBSD/x86 Bill Studenmund
OpenBSD/sparc Brandon Palmer
OpenBSD/x86 Brandon Palmer
SCO OpenUnix Larry Rosenman
Solaris/sparc Andrew Sullivan
Solaris/x86 Martin Renters
Tru64 Alessio Bragadini (trouble with 5.1?)


From: Joe Conway <joseph(dot)conway(at)home(dot)com>
To: thomas(at)pgsql(dot)com
Cc: PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Second call for platform testing
Date: 2001-11-29 05:02:45
Message-ID: 3C05C175.6070604@home.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Thomas Lockhart wrote:

> The following platforms have been reported as successfully running
> PostgreSQL 7.2:
>
> AIX Andreas Zeugswetter (Tatsuo working on 5L?)
> BSD/OS Bruce
> FreeBSD Chris Kings-Lynne
> HPUX Tom (anyone tested 11.0 or higher?)

Are you still looking for HPUX 11.0+ ? I can arrange for access to one
if we still need it (gcc though, I don't have access to HP's compiler).

-- Joe


From: "Cyril VELTER" <cyril(dot)velter(at)libertysurf(dot)fr>
To: "PostgreSQL Hackers Mailing List" <pgsql-hackers(at)postgresql(dot)org>
Cc: "Bruno G(dot) Albuquerque" <bga(at)bug-br(dot)org(dot)br>
Subject: Re: Second call for platform testing
Date: 2001-11-29 10:25:52
Message-ID: 000f01c178c0$3c852fe0$6901a8c0@dev1
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers


I just tested the BeOS port (and updated the regression test database).

Two little tweaks are needed to make it compile and install :

* int8/uint8 and int64/uint64 are not detected properly by configure
(they are declared in SupportDefs.h on beos).
* data dir is created with group and world access, preventing
postmaster from starting (a simple chmod og-rwx will do)

The regression test pass without any error.

cyril

> OK, the list is getting smaller fast (thanks for all of the responses!).
> Here is what I have left currently (note the addition of NetBSD/sparc,
> which I had inadvertently omitted from the first list):
>
> BeOS Cyril Velter
> Linux/arm Mark Knox
> Linux/s390 Neale Ferguson
> NetBSD/arm32 Patrick Welche
> NetBSD/m68k Bill Studenmund (will test)
> NetBSD/sparc Matthew Green (left off the first list)
> NetBSD/VAX Tom I. Helbekkmo
> QNX (did I get a definitive report for 4.x already?)
> SunOS Tatsuo Ishii (old release; still relevant?)
> Windows/Cygwin Daniel Horak (OK in serial test, trouble with parallel
> test?)
> Windows/native Magnus Hagander (clients only)
>
> I'm curious about the Windows/Cygwin trouble, and if others see it too,
> since the -cygwin mailing list seems to report happiness with 7.1.3.
>
> Tatsuo, do you think that we should still track SunOS explicitly?
>
> Are there any other platforms we are running on?
>
> - Thomas
>
>
> The following platforms have been reported as successfully running
> PostgreSQL 7.2:
>
> AIX Andreas Zeugswetter (Tatsuo working on 5L?)
> BSD/OS Bruce
> FreeBSD Chris Kings-Lynne
> HPUX Tom (anyone tested 11.0 or higher?)
> IRIX Luis Amigo
> Linux/Alpha Tom
> Linux/MIPS Hisao Shibuya
> Linux/PPC Tom
> Linux/sparc Doug McNaught
> Linux/x86 Thomas (and many others ;)
> MacOS-X Gavin Sherry
> NetBSD/Alpha Thomas Thai
> NetBSD/PPC Bill Studenmund
> NetBSD/x86 Bill Studenmund
> OpenBSD/sparc Brandon Palmer
> OpenBSD/x86 Brandon Palmer
> SCO OpenUnix Larry Rosenman
> Solaris/sparc Andrew Sullivan
> Solaris/x86 Martin Renters
> Tru64 Alessio Bragadini (trouble with 5.1?)


From: Thomas Lockhart <lockhart(at)fourpalms(dot)org>
To: Joe Conway <joseph(dot)conway(at)home(dot)com>
Cc: thomas(at)pgsql(dot)com, PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Second call for platform testing
Date: 2001-11-29 12:52:41
Message-ID: 3C062F99.119CCD1E@fourpalms.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

> Are you still looking for HPUX 11.0+ ? I can arrange for access to one
> if we still need it (gcc though, I don't have access to HP's compiler).

Yes, that would be great. 10.20 is pretty old afaik...

- Thomas


From: Thomas Lockhart <lockhart(at)fourpalms(dot)org>
To: Cyril VELTER <cyril(dot)velter(at)libertysurf(dot)fr>
Cc: PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>, "Bruno G(dot) Albuquerque" <bga(at)bug-br(dot)org(dot)br>
Subject: Re: Second call for platform testing
Date: 2001-11-29 13:07:16
Message-ID: 3C063304.8C225A88@fourpalms.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

> I just tested the BeOS port (and updated the regression test database).
> Two little tweaks are needed to make it compile and install :
> * int8/uint8 and int64/uint64 are not detected properly by configure
> (they are declared in SupportDefs.h on beos).
> * data dir is created with group and world access, preventing
> postmaster from starting (a simple chmod og-rwx will do)
> The regression test pass without any error.

Great! Can the int8 detection be helped with a patch to get the right
include file?

- Thomas


From: Larry Rosenman <ler(at)lerctr(dot)org>
To: thomas(at)pgsql(dot)com
Cc: PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>, Neale(dot)Ferguson(at)softwareAG-usa(dot)com, cyril(dot)velter(at)libertysurf(dot)fr, segfault(at)hardline(dot)org, prlw1(at)cam(dot)ac(dot)uk, mrg(at)eterna(dot)com(dot)au, tih(at)kpnQwest(dot)no, t-ishii(at)sra(dot)co(dot)jp, Jason(dot)Tishler(at)dothill(dot)com
Subject: Re: Second call for platform testing
Date: 2001-11-29 13:30:53
Message-ID: 20011129073053.A12500@lerami.lerctr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

SCO OpenUNIX should be Caldera OpenUNIX....

Thanks,
LER

* Thomas Lockhart <lockhart(at)fourpalms(dot)org> [011128 22:07]:
> OK, the list is getting smaller fast (thanks for all of the responses!).
> Here is what I have left currently (note the addition of NetBSD/sparc,
> which I had inadvertently omitted from the first list):
>
> BeOS Cyril Velter
> Linux/arm Mark Knox
> Linux/s390 Neale Ferguson
> NetBSD/arm32 Patrick Welche
> NetBSD/m68k Bill Studenmund (will test)
> NetBSD/sparc Matthew Green (left off the first list)
> NetBSD/VAX Tom I. Helbekkmo
> QNX (did I get a definitive report for 4.x already?)
> SunOS Tatsuo Ishii (old release; still relevant?)
> Windows/Cygwin Daniel Horak (OK in serial test, trouble with parallel
> test?)
> Windows/native Magnus Hagander (clients only)
>
> I'm curious about the Windows/Cygwin trouble, and if others see it too,
> since the -cygwin mailing list seems to report happiness with 7.1.3.
>
> Tatsuo, do you think that we should still track SunOS explicitly?
>
> Are there any other platforms we are running on?
>
> - Thomas
>
>
> The following platforms have been reported as successfully running
> PostgreSQL 7.2:
>
> AIX Andreas Zeugswetter (Tatsuo working on 5L?)
> BSD/OS Bruce
> FreeBSD Chris Kings-Lynne
> HPUX Tom (anyone tested 11.0 or higher?)
> IRIX Luis Amigo
> Linux/Alpha Tom
> Linux/MIPS Hisao Shibuya
> Linux/PPC Tom
> Linux/sparc Doug McNaught
> Linux/x86 Thomas (and many others ;)
> MacOS-X Gavin Sherry
> NetBSD/Alpha Thomas Thai
> NetBSD/PPC Bill Studenmund
> NetBSD/x86 Bill Studenmund
> OpenBSD/sparc Brandon Palmer
> OpenBSD/x86 Brandon Palmer
> SCO OpenUnix Larry Rosenman
> Solaris/sparc Andrew Sullivan
> Solaris/x86 Martin Renters
> Tru64 Alessio Bragadini (trouble with 5.1?)
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


From: Thomas Lockhart <lockhart(at)fourpalms(dot)org>
To: Larry Rosenman <ler(at)lerctr(dot)org>
Cc: thomas(at)pgsql(dot)com, PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>, Neale(dot)Ferguson(at)softwareAG-usa(dot)com, cyril(dot)velter(at)libertysurf(dot)fr, segfault(at)hardline(dot)org, prlw1(at)cam(dot)ac(dot)uk, mrg(at)eterna(dot)com(dot)au, tih(at)kpnQwest(dot)no, t-ishii(at)sra(dot)co(dot)jp, Jason(dot)Tishler(at)dothill(dot)com
Subject: Re: Second call for platform testing
Date: 2001-11-29 14:02:46
Message-ID: 3C064006.67976F49@fourpalms.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

> SCO OpenUNIX should be Caldera OpenUNIX....

Got it. Thanks.

- Thomas


From: "Cyril VELTER" <cyril(dot)velter(at)libertysurf(dot)fr>
To: "PostgreSQL Hackers Mailing List" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Second call for platform testing
Date: 2001-11-29 15:55:51
Message-ID: 013d01c178ee$5579cdc0$6901a8c0@dev1
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

> > I just tested the BeOS port (and updated the regression test
database).
> > Two little tweaks are needed to make it compile and install :
> > * int8/uint8 and int64/uint64 are not detected properly by
configure
> > (they are declared in SupportDefs.h on beos).
> > * data dir is created with group and world access, preventing
> > postmaster from starting (a simple chmod og-rwx will do)
> > The regression test pass without any error.
>
> Great! Can the int8 detection be helped with a patch to get the right
> include file?

I think it can, but I'm not familiar at all with configure script. If
someone can point me where the change should be made, I'll make and test a
patch.

What modification should be made to configure.in to make it include
SupportDefs.h when testing for int8 uint8 int64 and uint64 size ?

cyril


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Cyril VELTER" <cyril(dot)velter(at)libertysurf(dot)fr>
Cc: "PostgreSQL Hackers Mailing List" <pgsql-hackers(at)postgresql(dot)org>, Peter Eisentraut <peter_e(at)gmx(dot)net>
Subject: Re: Second call for platform testing
Date: 2001-11-29 18:29:10
Message-ID: 19547.1007058550@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

"Cyril VELTER" <cyril(dot)velter(at)libertysurf(dot)fr> writes:
> What modification should be made to configure.in to make it include
> SupportDefs.h when testing for int8 uint8 int64 and uint64 size ?

This looks like a bit of a pain. We're currently using AC_CHECK_SIZEOF
to make those probes, apparently because it's the closest standard macro
to what we want. But it's not close enough. It doesn't include
anything except <stdio.h>. I don't think we can fix this except by
making our own macro. Peter, any opinion about how to do it?

(If we do make our own macro, we could change the output to be something
more reasonable, like #defining HAVE_UINT8 rather than claiming
"sizeof uint8 = 0", which is sure to confuse people.)

regards, tom lane


From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Cyril VELTER <cyril(dot)velter(at)libertysurf(dot)fr>
Cc: PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>, "Bruno G(dot) Albuquerque" <bga(at)bug-br(dot)org(dot)br>
Subject: Re: Second call for platform testing
Date: 2001-11-29 19:03:41
Message-ID: Pine.LNX.4.30.0111291739100.609-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Cyril VELTER writes:

>
> I just tested the BeOS port (and updated the regression test database).
>
> Two little tweaks are needed to make it compile and install :
>
> * int8/uint8 and int64/uint64 are not detected properly by configure
> (they are declared in SupportDefs.h on beos).

Well, that was the end of that bright idea. There's no way to tell
AC_CHECK_SIZEOF what header files to consider. We need to put back the
#ifdef __BEOS__, it seems.

> * data dir is created with group and world access, preventing
> postmaster from starting (a simple chmod og-rwx will do)

What does the shell do with the umask call in initdb?

--
Peter Eisentraut peter_e(at)gmx(dot)net


From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Cyril VELTER <cyril(dot)velter(at)libertysurf(dot)fr>, PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>, Peter Eisentraut <peter_e(at)gmx(dot)net>
Subject: Re: Second call for platform testing
Date: 2001-11-29 19:12:54
Message-ID: 200111291912.fATJCsN24164@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

> "Cyril VELTER" <cyril(dot)velter(at)libertysurf(dot)fr> writes:
> > What modification should be made to configure.in to make it include
> > SupportDefs.h when testing for int8 uint8 int64 and uint64 size ?
>
> This looks like a bit of a pain. We're currently using AC_CHECK_SIZEOF
> to make those probes, apparently because it's the closest standard macro
> to what we want. But it's not close enough. It doesn't include
> anything except <stdio.h>. I don't think we can fix this except by
> making our own macro. Peter, any opinion about how to do it?

I was wondering where that bizarre fopen()/fprintf() in the test code
came from. It looked strange. Now I know why; it came from autoconf.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026


From: "Cyril VELTER" <cyril(dot)velter(at)libertysurf(dot)fr>
To: "PostgreSQL Hackers Mailing List" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Second call for platform testing
Date: 2001-11-29 19:51:32
Message-ID: 01e101c1790f$41bd9b60$6901a8c0@dev1
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

> > * data dir is created with group and world access, preventing
> > postmaster from starting (a simple chmod og-rwx will do)
>
> What does the shell do with the umask call in initdb?

I will look at it (I'm not on a beos box right now), but as BeOS is
not a true multiuser system, he is probably faulty here.

cyril


From: Joe Conway <joseph(dot)conway(at)home(dot)com>
To: lockhart(at)fourpalms(dot)org
Cc: thomas(at)pgsql(dot)com, PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Second call for platform testing
Date: 2001-11-29 20:07:28
Message-ID: 3C069580.8010704@home.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Thomas Lockhart wrote:

>>Are you still looking for HPUX 11.0+ ? I can arrange for access to one
>>if we still need it (gcc though, I don't have access to HP's compiler).
>>
>
> Yes, that would be great. 10.20 is pretty old afaik...
>
> - Thomas
>
>

I ran into a problem on HPUX 11 right off with:

===============================
configure --enable-debug
.
.
.
checking for struct sockaddr_un... yes
checking for int timezone... yes
checking types of arguments for accept()... configure: error: could not
determine argument types

===============================

I won't pretend to be very knowledgable about HPUX or configure, but it
looks like the following in configure is where it dies:

===============================

else
for ac_cv_func_accept_arg1 in 'int' 'unsigned int'; do
for ac_cv_func_accept_arg2 in 'struct sockaddr *' 'const struct
sockaddr *' 'void *'; do
for ac_cv_func_accept_arg3 in 'int' 'size_t' 'socklen_t'
'unsigned int' 'void'; do
cat > conftest.$ac_ext <<EOF

=======================================

and here's what the HPUX man page says:

=======================================
accept(2)

NAME
accept - accept a connection on a socket

SYNOPSIS
#include <sys/socket.h>

AF_CCITT only
#include <x25/x25addrstr.h>

int accept(int s, void *addr, int *addrlen);

_XOPEN_SOURCE_EXTENDED only (UNIX 98)
int accept(int s, struct sockaddr *addr, socklen_t *addrlen);

=======================================

so it looks like configure expects the third argument to be (int), when
on HPUX 11 the third argument is (int *).

Any ideas what I'm doing wrong?

-- Joe


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Joe Conway <joseph(dot)conway(at)home(dot)com>
Cc: lockhart(at)fourpalms(dot)org, thomas(at)pgsql(dot)com, PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Second call for platform testing
Date: 2001-11-29 21:16:44
Message-ID: 23707.1007068604@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Joe Conway <joseph(dot)conway(at)home(dot)com> writes:
> I ran into a problem on HPUX 11 right off with:

That's odd, considering that someone else reported 7.1 worked fine on
HPUX 11, and we haven't changed this configure test since then.

> so it looks like configure expects the third argument to be (int), when
> on HPUX 11 the third argument is (int *).

No, the macro knows that the third argument is pointer-to-something;
it's trying to figure out pointer-to-what.

> Any ideas what I'm doing wrong?

What had configure selected so far for compiler, cflags, etc? Maybe
it's blowing the game at that stage. Or maybe the test is failing to
include all the needed include files to define these datatypes.

In general, the config.log output is a good thing to post when puzzled
by configure problems.

regards, tom lane


From: Joe Conway <joseph(dot)conway(at)home(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: lockhart(at)fourpalms(dot)org, thomas(at)pgsql(dot)com, PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Second call for platform testing
Date: 2001-11-29 23:06:21
Message-ID: 3C06BF6D.30807@home.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Tom Lane wrote:

> What had configure selected so far for compiler, cflags, etc? Maybe
> it's blowing the game at that stage. Or maybe the test is failing to
> include all the needed include files to define these datatypes.
>
> In general, the config.log output is a good thing to post when puzzled
> by configure problems.

OK. Figured out a couple of pieces to this. First, although I was told
we did not have HP's compiler, it is actually there. Second, since gcc
was freshly installed, it wasn't in my PATH. So the error I reported
last time is actually from the bundled compiler.

So I added /opt/gcc/bin to my PATH, and got a different error once gcc
was detected.

Attached are both config.log files. Sorry for being so clueless here,
but I haven't done much on HPUX before.

Joe

Attachment Content-Type Size
config.log.bundled_cc text/plain 53.6 KB
config.log.gcc text/plain 971 bytes

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Joe Conway <joseph(dot)conway(at)home(dot)com>
Cc: PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Second call for platform testing
Date: 2001-11-29 23:26:40
Message-ID: 3884.1007076400@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Joe Conway <joseph(dot)conway(at)home(dot)com> writes:
> ... So the error I reported
> last time is actually from the bundled compiler.

Which, unless HP has reconsidered since HPUX 10, is a deliberately
crippled K&R (no ANSI features) compiler. It's no wonder the configure
run failed; I guess failing right at this point is happenstance, though
it could not have gotten further since this test depends on ANSI
prototypes.

> configure:1361: checking whether the C compiler (cc -Ae +O2 ) works
> configure:1377: cc -Ae -o conftest +O2 conftest.c 1>&5
> (Bundled) cc: warning 480: The -A option is available only with the C/ANSI C product; ignored.
> (Bundled) cc: warning 480: The +O2 option is available only with the C/ANSI C product; ignored.

It's a shame configure hides all these useful messages down inside
config.log.

I wonder whether we shouldn't make the bare "does it work" test include
verification that ANSI-style prototypes are supported.

> So I added /opt/gcc/bin to my PATH, and got a different error once gcc
> was detected.

> configure:1243: checking whether the C compiler (gcc ) works
> configure:1259: gcc -o conftest conftest.c 1>&5
> as: warning 2: Unknown option "--traditional-format" ignored.
> as: "/var/tmp/cceTg0Kd.s", line 15: error 1052: Directive name not recognized - NSUBSPA

This looks like your gcc installation is broken: specifically, I'll bet
it's trying to use HP's assembler rather than gas. You really want the
GNU toolchain (binutils package) underneath gcc. The gcc-to-HP-as
configuration has never worked for me (though I have to admit I haven't
tried in a long time).

In the meantime, try it with HP's real compiler (set CC=cc for configure).

regards, tom lane


From: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
To: thomas(at)pgsql(dot)com
Cc: PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Second call for platform testing
Date: 2001-11-30 01:03:56
Message-ID: 3C06DAFC.9403FC33@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Thomas Lockhart wrote:
>
> OK, the list is getting smaller fast (thanks for all of the responses!).

I got a regression test result from Hiroshi Saito on
UNIX_System_V ews4800 4.2MP 4.2 R4000 r4000.

=======================
10 of 79 tests failed.
========================

int8 ... FAILED
abstime ... FAILED
tinterval ... FAILED
test geometry ... FAILED
test horology ... FAILED
create_index ... FAILED
test sanity_check ... FAILED
test select ... FAILED
subselect ... FAILED
union ... FAILED

Seems INT64_IS_BUSTED, old PST ... etc and

*** ./expected/create_index.out Tue Aug 28 08:23:34 JST 2001
--- ./results/create_index.out Fri Nov 30 00:28:22 JST 2001
***************
*** 35,44 ****
--- 35,47 ----
--
CREATE INDEX onek2_u1_prtl ON onek2 USING btree(unique1 int4_ops)
where unique1 < 20 or unique1 > 980;
+ ERROR: AllocSetFree: cannot find block containing chunk 4f64f0
CREATE INDEX onek2_u2_prtl ON onek2 USING btree(unique2 int4_ops)
where stringu1 < 'B';
+ ERROR: AllocSetFree: cannot find block containing chunk 4f6390
CREATE INDEX onek2_stu1_prtl ON onek2 USING btree(stringu1 name_ops)
where onek2.stringu1 >= 'J' and onek2.stringu1 < 'K';
+ ERROR: AllocSetFree: cannot find block containing chunk 4f6740
--
-- RTREE
--

regards,
Hiroshi Inoue


From: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>
To: "Cyril VELTER" <cyril(dot)velter(at)libertysurf(dot)fr>, "PostgreSQL Hackers Mailing List" <pgsql-hackers(at)postgresql(dot)org>
Cc: "Bruno G(dot) Albuquerque" <bga(at)bug-br(dot)org(dot)br>
Subject: Re: Second call for platform testing
Date: 2001-11-30 01:30:40
Message-ID: GNELIHDDFBOCMGBFGEFOAEKBCAAA.chriskl@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Has someone thought about getting a sourceforge account for postgres or
something? Even if we don't use their CVS and facilities, I wonder if we
can use their compile farm for platform testing?

Actually, maybe the phpPgAdmin admins could test it for us on the compile
farm, as they should have access...

Chris

> -----Original Message-----
> From: pgsql-hackers-owner(at)postgresql(dot)org
> [mailto:pgsql-hackers-owner(at)postgresql(dot)org]On Behalf Of Cyril VELTER
> Sent: Thursday, 29 November 2001 6:26 PM
> To: PostgreSQL Hackers Mailing List
> Cc: Bruno G. Albuquerque
> Subject: Re: [HACKERS] Second call for platform testing
>
>
>
> I just tested the BeOS port (and updated the regression test
> database).
>
> Two little tweaks are needed to make it compile and install :
>
> * int8/uint8 and int64/uint64 are not detected properly
> by configure
> (they are declared in SupportDefs.h on beos).
> * data dir is created with group and world access, preventing
> postmaster from starting (a simple chmod og-rwx will do)
>
> The regression test pass without any error.
>
> cyril
>
> > OK, the list is getting smaller fast (thanks for all of the responses!).
> > Here is what I have left currently (note the addition of NetBSD/sparc,
> > which I had inadvertently omitted from the first list):
> >
> > BeOS Cyril Velter
> > Linux/arm Mark Knox
> > Linux/s390 Neale Ferguson
> > NetBSD/arm32 Patrick Welche
> > NetBSD/m68k Bill Studenmund (will test)
> > NetBSD/sparc Matthew Green (left off the first list)
> > NetBSD/VAX Tom I. Helbekkmo
> > QNX (did I get a definitive report for 4.x already?)
> > SunOS Tatsuo Ishii (old release; still relevant?)
> > Windows/Cygwin Daniel Horak (OK in serial test, trouble with parallel
> > test?)
> > Windows/native Magnus Hagander (clients only)
> >
> > I'm curious about the Windows/Cygwin trouble, and if others see it too,
> > since the -cygwin mailing list seems to report happiness with 7.1.3.
> >
> > Tatsuo, do you think that we should still track SunOS explicitly?
> >
> > Are there any other platforms we are running on?
> >
> > - Thomas
> >
> >
> > The following platforms have been reported as successfully running
> > PostgreSQL 7.2:
> >
> > AIX Andreas Zeugswetter (Tatsuo working on 5L?)
> > BSD/OS Bruce
> > FreeBSD Chris Kings-Lynne
> > HPUX Tom (anyone tested 11.0 or higher?)
> > IRIX Luis Amigo
> > Linux/Alpha Tom
> > Linux/MIPS Hisao Shibuya
> > Linux/PPC Tom
> > Linux/sparc Doug McNaught
> > Linux/x86 Thomas (and many others ;)
> > MacOS-X Gavin Sherry
> > NetBSD/Alpha Thomas Thai
> > NetBSD/PPC Bill Studenmund
> > NetBSD/x86 Bill Studenmund
> > OpenBSD/sparc Brandon Palmer
> > OpenBSD/x86 Brandon Palmer
> > SCO OpenUnix Larry Rosenman
> > Solaris/sparc Andrew Sullivan
> > Solaris/x86 Martin Renters
> > Tru64 Alessio Bragadini (trouble with 5.1?)
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
Cc: thomas(at)pgsql(dot)com, PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Second call for platform testing
Date: 2001-11-30 01:46:29
Message-ID: 4874.1007084789@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp> writes:
> I got a regression test result from Hiroshi Saito on
> UNIX_System_V ews4800 4.2MP 4.2 R4000 r4000.

> Seems INT64_IS_BUSTED, old PST ... etc and

> *** ./expected/create_index.out Tue Aug 28 08:23:34 JST 2001
> --- ./results/create_index.out Fri Nov 30 00:28:22 JST 2001
> ***************
> *** 35,44 ****
> --- 35,47 ----
> --
> CREATE INDEX onek2_u1_prtl ON onek2 USING btree(unique1 int4_ops)
> where unique1 < 20 or unique1 > 980;
> + ERROR: AllocSetFree: cannot find block containing chunk 4f64f0
> CREATE INDEX onek2_u2_prtl ON onek2 USING btree(unique2 int4_ops)
> where stringu1 < 'B';
> + ERROR: AllocSetFree: cannot find block containing chunk 4f6390
> CREATE INDEX onek2_stu1_prtl ON onek2 USING btree(stringu1 name_ops)
> where onek2.stringu1 >= 'J' and onek2.stringu1 < 'K';
> + ERROR: AllocSetFree: cannot find block containing chunk 4f6740

Interesting. Something nonportable in the partial index support,
perhaps?

Would you ask him to compile with debug support, set a breakpoint at
elog(), and get a backtrace from the point of the error? It'll probably
work to execute any one of those commands by hand in the regression
database, so he doesn't need to try to attach to a regression testing
backend on the fly. Just start psql, attach gdb to its backend, set the
breakpoint, and then run the create index command.

regards, tom lane


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>
Cc: "PostgreSQL Hackers Mailing List" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Second call for platform testing
Date: 2001-11-30 01:54:41
Message-ID: 4953.1007085281@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

"Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au> writes:
> Has someone thought about getting a sourceforge account for postgres or
> something? Even if we don't use their CVS and facilities, I wonder if we
> can use their compile farm for platform testing?

Hardly need a project account. I have a personal account at
sourceforge, and have used it (fairly recently, even) to run tests on
their compile farm. They don't presently have all that wide a range of
stuff available however. Let's see ....

lqqqqqqqqChoose compile farm server...qqqqqqqqqk
x A. [x86] Linux 2.2 (Debian 2.2) x
x C. [x86] FreeBSD (4.3-RELEASE) x
x x
x G. [Alpha] Linux 2.2 (Debian 2.2) x
x x
x I. [PPC - G4] MacOS X 10.1 #1 **NEW** x
x J. [PPC - G4] MacOS X 10.1 #2 **NEW** x
x K. [PPC - RS/6000] Linux 2.2 (Debian 2.2) x
x x
x L. [Sparc - Ultra60] Linux 2.2 (Debian 2.2) x
x M. [Sparc - R220] Sun Solaris (8) #1 x
x N. [Sparc - R220] Sun Solaris (8) #2 x
x O. [Sparc - R220] Sun Solaris (8) #3 x
x P. [Sparc - R220] Sun Solaris (8) #4 x
x x
x Exit x
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj

With the possible exception of the Linux/Alpha box, there's nothing
there that we don't have covered already, is there?

regards, tom lane


From: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "PostgreSQL Hackers Mailing List" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Second call for platform testing
Date: 2001-11-30 02:10:34
Message-ID: GNELIHDDFBOCMGBFGEFOIEKCCAAA.chriskl@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Fair enough.

Chris

> -----Original Message-----
> From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
> Sent: Friday, 30 November 2001 9:55 AM
> To: Christopher Kings-Lynne
> Cc: PostgreSQL Hackers Mailing List
> Subject: Re: [HACKERS] Second call for platform testing
>
>
> "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au> writes:
> > Has someone thought about getting a sourceforge account for postgres or
> > something? Even if we don't use their CVS and facilities, I
> wonder if we
> > can use their compile farm for platform testing?
>
> Hardly need a project account. I have a personal account at
> sourceforge, and have used it (fairly recently, even) to run tests on
> their compile farm. They don't presently have all that wide a range of
> stuff available however. Let's see ....
>
> lqqqqqqqqChoose compile farm server...qqqqqqqqqk
> x A. [x86] Linux 2.2 (Debian 2.2) x
> x C. [x86] FreeBSD (4.3-RELEASE) x
> x x
> x G. [Alpha] Linux 2.2 (Debian 2.2) x
> x x
> x I. [PPC - G4] MacOS X 10.1 #1 **NEW** x
> x J. [PPC - G4] MacOS X 10.1 #2 **NEW** x
> x K. [PPC - RS/6000] Linux 2.2 (Debian 2.2) x
> x x
> x L. [Sparc - Ultra60] Linux 2.2 (Debian 2.2) x
> x M. [Sparc - R220] Sun Solaris (8) #1 x
> x N. [Sparc - R220] Sun Solaris (8) #2 x
> x O. [Sparc - R220] Sun Solaris (8) #3 x
> x P. [Sparc - R220] Sun Solaris (8) #4 x
> x x
> x Exit x
> mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
>
> With the possible exception of the Linux/Alpha box, there's nothing
> there that we don't have covered already, is there?
>
> regards, tom lane
>


From: Joe Conway <joseph(dot)conway(at)home(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Second call for platform testing
Date: 2001-11-30 02:46:01
Message-ID: 3C06F2E9.4080900@home.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Tom Lane wrote:

>>configure:1243: checking whether the C compiler (gcc ) works
>>configure:1259: gcc -o conftest conftest.c 1>&5
>>as: warning 2: Unknown option "--traditional-format" ignored.
>>as: "/var/tmp/cceTg0Kd.s", line 15: error 1052: Directive name not recognized - NSUBSPA
>>
>
> This looks like your gcc installation is broken: specifically, I'll bet
> it's trying to use HP's assembler rather than gas. You really want the
> GNU toolchain (binutils package) underneath gcc. The gcc-to-HP-as
> configuration has never worked for me (though I have to admit I haven't
> tried in a long time).
>
> In the meantime, try it with HP's real compiler (set CC=cc for configure).

As usual Tom, you're right on the mark!

The HP compiler on this machine is in fact the K&R/non-ANSI bundled
compiler. Unfortunately, the real compiler is not available -- i.e. we
have not purchased it.

I did get binutils installed though, and was able to run configure and
gmake. However, 'gmake check' seems to hang at:

parallel group (20 tests): lseg point

I have a copy of gdb which has not been installed yet. Tomorrow I'll ask
our unix admin to install it for me so I can drill down to the problem
code. Any other thoughts in the meantime?

FWIW, the server is a new A Class HP:
$ uname -a
HP-UX csdoap2 B.11.00 A 9000/800 594720518 two-user license

Thanks,

Joe


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Joe Conway <joseph(dot)conway(at)home(dot)com>
Cc: PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Second call for platform testing
Date: 2001-11-30 03:44:34
Message-ID: 5491.1007091874@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Joe Conway <joseph(dot)conway(at)home(dot)com> writes:
> I did get binutils installed though, and was able to run configure and
> gmake. However, 'gmake check' seems to hang at:

> parallel group (20 tests): lseg point

That one's in the FAQ ;-). Evidently HP still hasn't fixed that sh bug
as of 11.0. Should work if you use ksh instead, viz

gmake SHELL=/bin/ksh check

regards, tom lane


From: Joe Conway <joseph(dot)conway(at)home(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>, lockhart(at)fourpalms(dot)org
Subject: Re: Second call for platform testing
Date: 2001-11-30 06:34:43
Message-ID: 3C072883.3050905@home.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Tom Lane wrote:

> That one's in the FAQ ;-). Evidently HP still hasn't fixed that sh bug
> as of 11.0. Should work if you use ksh instead, viz
>
> gmake SHELL=/bin/ksh check
>

Correct again (not that I ever doubted you)! Sorry, I should have known
to look at the platform FAQ.

And after all that, the results:

====================================================
2 of 79 tests failed, 1 of these failures ignored.
====================================================

geometry and random failed. The diffs are attached. The geometry diffs
all look to be 0 vs -0.

Again, for reference:
$ model
9000/800/A500-44
$ uname -a
HP-UX csdoap2 B.11.00 A 9000/800

Joe

Attachment Content-Type Size
regression.diffs text/plain 4.5 KB

From: Thomas Lockhart <lockhart(at)fourpalms(dot)org>
To: Joe Conway <joseph(dot)conway(at)home(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Second call for platform testing
Date: 2001-11-30 14:08:49
Message-ID: 3C0792F0.F49920A3@fourpalms.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

...
> geometry and random failed. The diffs are attached. The geometry diffs
> all look to be 0 vs -0.
> $ model
> 9000/800/A500-44
> $ uname -a
> HP-UX csdoap2 B.11.00 A 9000/800

Great! Thanks for testing; I'll update the list...

- Thomas


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Joe Conway <joseph(dot)conway(at)home(dot)com>
Cc: PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>, lockhart(at)fourpalms(dot)org
Subject: Re: Second call for platform testing
Date: 2001-11-30 14:51:04
Message-ID: 7546.1007131864@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Joe Conway <joseph(dot)conway(at)home(dot)com> writes:
> geometry and random failed. The diffs are attached. The geometry diffs
> all look to be 0 vs -0.

Okay, it looks like HP has implemented -0 finally. Try the other
geometry comparison files to see if any match;
geometry-positive-zeros.out is evidently only good for HPUX 10.

regards, tom lane


From: Joe Conway <joseph(dot)conway(at)home(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>, lockhart(at)fourpalms(dot)org
Subject: Re: Second call for platform testing
Date: 2001-11-30 21:45:32
Message-ID: 3C07FDFC.9050200@home.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Tom Lane wrote:

> Okay, it looks like HP has implemented -0 finally. Try the other
> geometry comparison files to see if any match;
> geometry-positive-zeros.out is evidently only good for HPUX 10.
>

A little experimentation shows that "geometry-solaris-precision.out" is
a perfect match. Two questions:

1. Do we use "geometry-solaris-precision.out", or clone it with a more
appropriate name like "geometry-hpux11.out" or
"geometry-hpux-precision.out"?

2. The current resultmap says: "geometry/hppa=geometry-positive-zeros".
What do we modify to so that it differentiates between HPUX11 and
HPUX10? I see it's related to the config.guess output and the pg_regress
script, but it's not clear to me where to make a change.

Joe


From: "Hiroshi Inoue" <Inoue(at)tpf(dot)co(dot)jp>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <thomas(at)pgsql(dot)com>, "PostgreSQL Hackers Mailing List" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Second call for platform testing
Date: 2001-11-30 22:49:09
Message-ID: EKEJJICOHDIEMGPNIFIJMEEMGBAA.Inoue@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

> -----Original Message-----
> From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
>
> Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp> writes:
> > I got a regression test result from Hiroshi Saito on
> > UNIX_System_V ews4800 4.2MP 4.2 R4000 r4000.
>
> > Seems INT64_IS_BUSTED, old PST ... etc and
>
> > *** ./expected/create_index.out Tue Aug 28 08:23:34 JST 2001
> > --- ./results/create_index.out Fri Nov 30 00:28:22 JST 2001
> > ***************
> > *** 35,44 ****
> > --- 35,47 ----
> > --
> > CREATE INDEX onek2_u1_prtl ON onek2 USING btree(unique1 int4_ops)
> > where unique1 < 20 or unique1 > 980;
> > + ERROR: AllocSetFree: cannot find block containing chunk 4f64f0
> > CREATE INDEX onek2_u2_prtl ON onek2 USING btree(unique2 int4_ops)
> > where stringu1 < 'B';
> > + ERROR: AllocSetFree: cannot find block containing chunk 4f6390
> > CREATE INDEX onek2_stu1_prtl ON onek2 USING btree(stringu1 name_ops)
> > where onek2.stringu1 >= 'J' and onek2.stringu1 < 'K';
> > + ERROR: AllocSetFree: cannot find block containing chunk 4f6740
>
> Interesting. Something nonportable in the partial index support,
> perhaps?
>
> Would you ask him to compile with debug support, set a breakpoint at
> elog(), and get a backtrace from the point of the error?

Unfortunately he doesn't seem to be able to do it at once
though he would like to do it. If he is ready he may reply
to this thread directly.

regards,
Hiroshi Inoue


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Joe Conway <joseph(dot)conway(at)home(dot)com>
Cc: PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>, lockhart(at)fourpalms(dot)org
Subject: Re: Second call for platform testing
Date: 2001-11-30 23:06:14
Message-ID: 11748.1007161574@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Joe Conway <joseph(dot)conway(at)home(dot)com> writes:
> A little experimentation shows that "geometry-solaris-precision.out" is
> a perfect match. Two questions:

Excellent.

> 1. Do we use "geometry-solaris-precision.out", or clone it with a more
> appropriate name like "geometry-hpux11.out" or
> "geometry-hpux-precision.out"?

I'd use it as-is. Not worth the trouble to rename it, and we definitely
don't want to carry around two copies.

> 2. The current resultmap says: "geometry/hppa=geometry-positive-zeros".
> What do we modify to so that it differentiates between HPUX11 and
> HPUX10? I see it's related to the config.guess output and the pg_regress
> script, but it's not clear to me where to make a change.

Looks like it's got to be

geometry/hppa-hp-hpux9=geometry-positive-zeros
geometry/hppa-hp-hpux10=geometry-positive-zeros
geometry/hppa-hp-hpux11=geometry-solaris-precision

Ugh, but ...

Please check that's OK on 11, and I'll double check it on 10.

regards, tom lane


From: Joe Conway <joseph(dot)conway(at)home(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>, lockhart(at)fourpalms(dot)org
Subject: Re: Second call for platform testing
Date: 2001-12-01 00:01:21
Message-ID: 3C081DD1.1050801@home.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Tom Lane wrote:

> Looks like it's got to be
>
> geometry/hppa-hp-hpux9=geometry-positive-zeros
> geometry/hppa-hp-hpux10=geometry-positive-zeros
> geometry/hppa-hp-hpux11=geometry-solaris-precision
>
> Ugh, but ...
>
> Please check that's OK on 11, and I'll double check it on 10.
>

I get:

test geometry ... FAILED
test horology ... trouble
============== shutting down postmaster ==============

=======================
1 of 37 tests failed.
=======================

Looks like geometry.out gets used.

Tried again with:
geometry/hppa2.0w-hp-hpux11.00=geometry-solaris-precision

and get:

======================
All 79 tests passed.
======================

So maybe it should be:
geometry/hppa.*-hp-hpux11.*=geometry-solaris-precision

yup:
======================
All 79 tests passed.
======================

Do you want a patch?

Joe


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Joe Conway <joseph(dot)conway(at)home(dot)com>
Cc: PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>, lockhart(at)fourpalms(dot)org
Subject: Re: Second call for platform testing
Date: 2001-12-01 00:35:11
Message-ID: 12354.1007166911@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Joe Conway <joseph(dot)conway(at)home(dot)com> writes:
> So maybe it should be:
> geometry/hppa.*-hp-hpux11.*=geometry-solaris-precision

Mmm, probably so.

> Do you want a patch?

I can take it from here. Thanks!

regards, tom lane


From: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
To: thomas(at)pgsql(dot)com, lockhart(at)fourpalms(dot)org
Cc: pgsql-hackers(at)postgresql(dot)org, Neale(dot)Ferguson(at)softwareAG-usa(dot)com, cyril(dot)velter(at)libertysurf(dot)fr, segfault(at)hardline(dot)org, prlw1(at)cam(dot)ac(dot)uk, mrg(at)eterna(dot)com(dot)au, tih(at)kpnqwest(dot)no, Jason(dot)Tishler(at)dothill(dot)com
Subject: Re: Second call for platform testing
Date: 2001-12-01 13:26:09
Message-ID: 20011201222609X.t-ishii@sra.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

> OK, the list is getting smaller fast (thanks for all of the responses!).
> Here is what I have left currently (note the addition of NetBSD/sparc,
> which I had inadvertently omitted from the first list):
>
> BeOS Cyril Velter
> Linux/arm Mark Knox
> Linux/s390 Neale Ferguson
> NetBSD/arm32 Patrick Welche
> NetBSD/m68k Bill Studenmund (will test)
> NetBSD/sparc Matthew Green (left off the first list)
> NetBSD/VAX Tom I. Helbekkmo
> QNX (did I get a definitive report for 4.x already?)
> SunOS Tatsuo Ishii (old release; still relevant?)

I tried 7.2b3 on SunOS 4.1.4 with gcc 2.7.1. It gives a comile error:

gcc -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include
-c pmsignal.c -o pmsignal.o
pmsignal.c:38: parse error before `*'
pmsignal.c:38: warning: data definition has no type or storage class
pmsignal.c: In function `PMSignalInit':
pmsignal.c:47: `sig_atomic_t' undeclared (first use this function)
pmsignal.c:47: (Each undeclared identifier is reported only once
pmsignal.c:47: for each function it appears in.)
pmsignal.c:47: parse error before `)'
--
Tatsuo Ishii


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Second call for platform testing
Date: 2001-12-01 17:25:37
Message-ID: 15847.1007227537@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp> writes:
> I tried 7.2b3 on SunOS 4.1.4 with gcc 2.7.1. It gives a comile error:

> pmsignal.c:47: `sig_atomic_t' undeclared (first use this function)

sig_atomic_t is required by ANSI C to be declared in <signal.h>.
Is it declared anywhere in the SunOS system headers?

I suppose we could create a configure test that detects this,
but I wonder how long we want to go on supporting platforms whose
headers aren't even minimally ANSI-compliant.

regards, tom lane


From: Mark Knox <segfault(at)hardline(dot)org>
To: thomas(at)pgsql(dot)com, PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Second call for platform testing
Date: 2001-12-02 02:09:51
Message-ID: 5.1.0.14.0.20011201205944.0276bfe0@core.hardline.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers


>Linux/arm Mark Knox

Had a look at 7.2b3 and sadly it's failing several tests. I saw several
"ERROR: PGSTAT: Creation of DB hash table failed" which I haven't seen before.

Geometry fails as usual due to some minor rounding. The others are
completely wrong. I'm afraid I don't have much time to look at this right
now (sorry) but I've attached the regression output and diffs if anyone
wants to check them.

(Note: any responses should probably be addressed to me directly as well as
to the list.. I will likely miss them otherwise. Thanks.)

__ .--------.
|==|| | -( Mark 'segfault' Knox )-
|==||________|
|::| __====__`. .'`. "Unix *is* user-friendly.. it's just
|__|/::::::::\ ~ (_) picky about its friends."

Attachment Content-Type Size
unknown_filename text/plain 3.3 KB
unknown_filename text/plain 336.5 KB

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Cyril VELTER <cyril(dot)velter(at)libertysurf(dot)fr>, PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>, Zeugswetter Andreas SB SD <ZeugswetterA(at)spardat(dot)at>
Subject: Re: Second call for platform testing
Date: 2001-12-02 11:46:31
Message-ID: Pine.LNX.4.30.0112012237320.759-200000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Tom Lane writes:

> "Cyril VELTER" <cyril(dot)velter(at)libertysurf(dot)fr> writes:
> > What modification should be made to configure.in to make it include
> > SupportDefs.h when testing for int8 uint8 int64 and uint64 size ?
>
> This looks like a bit of a pain. We're currently using AC_CHECK_SIZEOF
> to make those probes, apparently because it's the closest standard macro
> to what we want. But it's not close enough. It doesn't include
> anything except <stdio.h>. I don't think we can fix this except by
> making our own macro. Peter, any opinion about how to do it?

OK, I bit the bullet and made up a whole new macro for type testing.
Those who can't get at a new snapshot can try the attached patch.

I have included <stdio.h> because that appears to effect the definition of
the types in question on AIX; apparently it pulls in <inttypes.h> somehow.

Please check this on AIX and BeOS.

--
Peter Eisentraut peter_e(at)gmx(dot)net

Attachment Content-Type Size
typecheck-patch text/plain 5.3 KB

From: Thomas Lockhart <lockhart(at)fourpalms(dot)org>
To: Mark Knox <segfault(at)hardline(dot)org>
Cc: thomas(at)pgsql(dot)com, PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Second call for platform testing
Date: 2001-12-03 17:42:51
Message-ID: 3C0BB99B.BD57E530@fourpalms.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

> >Linux/arm Mark Knox
> Had a look at 7.2b3 and sadly it's failing several tests. I saw several
> "ERROR: PGSTAT: Creation of DB hash table failed" which I haven't seen before.
> Geometry fails as usual due to some minor rounding. The others are
> completely wrong. I'm afraid I don't have much time to look at this right
> now (sorry) but I've attached the regression output and diffs if anyone
> wants to check them.

Most (or at least some; didn't count them up) of these look like
ordering differences on results which are not guaranteed to be ordered,
so are OK.

The DB hash table trouble looks significant, but I don't know about that
area of the code.

Anyone?

- Thomas


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Second call for platform testing
Date: 2001-12-03 17:52:02
Message-ID: 17491.1007401922@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp> writes:
> I tried 7.2b3 on SunOS 4.1.4 with gcc 2.7.1. It gives a comile error:

I've added a configure test for sig_atomic_t, if you want to try again
with CVS tip.

regards, tom lane


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mark Knox <segfault(at)hardline(dot)org>
Cc: PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Second call for platform testing
Date: 2001-12-03 18:36:27
Message-ID: 17940.1007404587@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Mark Knox <segfault(at)hardline(dot)org> writes:
> Had a look at 7.2b3 and sadly it's failing several tests. I saw several
> "ERROR: PGSTAT: Creation of DB hash table failed" which I haven't seen before.

Ugh. If you don't have time to dig into that, can you provide a login
on your machine for someone else to look at it?

regards, tom lane


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mark Knox <segfault(at)hardline(dot)org>
Cc: PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Second call for platform testing
Date: 2001-12-03 19:01:30
Message-ID: 18188.1007406090@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Mark Knox <segfault(at)hardline(dot)org> writes:
>> Had a look at 7.2b3 and sadly it's failing several tests. I saw several
>> "ERROR: PGSTAT: Creation of DB hash table failed" which I haven't seen before.

That error is coming from the following ugly coding:

*dbhash = hash_create("Databases hash", PGSTAT_DB_HASH_SIZE, &hash_ctl,
HASH_ELEM | HASH_FUNCTION | mcxt_flags);
if (pgStatDBHash == NULL)
/* raise error */

AFAICT dbhash always points at the static variable pgStatDBHash, so the
code is not quite incorrect, though it's certainly trouble waiting to
happen as soon as someone changes things so that dbhash might point
elsewhere. What I'm wondering is if your compiler is missing the
potential for aliasing and is emitting code that loads pgStatDBHash
before the store through dbhash occurs. Does it help if you change
the second line (line 2094 in src/backend/postmaster/pgstat.c) to:

if (*dbhash == NULL)

I'm going to commit this change in CVS anyway, but I'm wondering if it
explains your problem or not.

regards, tom lane


From: Mark Knox <markk(at)pixin(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Second call for platform testing
Date: 2001-12-03 21:58:59
Message-ID: 20011203165858.A20858@hardline.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Mon, Dec 03, 2001 at 02:01:30PM -0500, Tom Lane wrote:
> That error is coming from the following ugly coding:
>
> *dbhash = hash_create("Databases hash", PGSTAT_DB_HASH_SIZE, &hash_ctl,
> HASH_ELEM | HASH_FUNCTION | mcxt_flags);
> if (pgStatDBHash == NULL)
> /* raise error */

Interesting...

> AFAICT dbhash always points at the static variable pgStatDBHash, so the
> code is not quite incorrect, though it's certainly trouble waiting to
> happen as soon as someone changes things so that dbhash might point
> elsewhere. What I'm wondering is if your compiler is missing the

Possibly.. it's not the most recent by any means, but it generally behaves
well. Unfortunately, nobody is maintaining the arm gcc toolchain anymore (as
far as I know).

> before the store through dbhash occurs. Does it help if you change
> the second line (line 2094 in src/backend/postmaster/pgstat.c) to:
>
> if (*dbhash == NULL)
>
> I'm going to commit this change in CVS anyway, but I'm wondering if it
> explains your problem or not.

I'll give it a shot later tonight and let you know. Thanks for having a
look.

--
__ .--------.
|==|| | -( Mark 'segfault' Knox )-
|==||________|
|::| __====__`. .'`. "Unix *is* user-friendly.. it's just
|__|/::::::::\ ~ (_) picky about its friends."


From: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
To: tgl(at)sss(dot)pgh(dot)pa(dot)us
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Second call for platform testing
Date: 2001-12-04 06:15:58
Message-ID: 20011204151558Z.t-ishii@sra.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

> Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp> writes:
> > I tried 7.2b3 on SunOS 4.1.4 with gcc 2.7.1. It gives a comile error:
>
> I've added a configure test for sig_atomic_t, if you want to try again
> with CVS tip.

Thanks. But compiling fails again:

formatting.c: In function `NUM_processor':
formatting.c:4143: invalid operands to binary +
formatting.c:4153: invalid operands to binary +
formatting.c: In function `float4_to_char':
formatting.c:4667: warning: assignment makes integer from pointer without a cast
formatting.c: In function `float8_to_char':
formatting.c:4746: warning: assignment makes integer from pointer without a cast
gmake[4]: *** [formatting.o] Error 1
gmake[4]: Leaving directory `/mnt2/tmp/pgsql/src/backend/utils/adt'
gmake[3]: *** [adt-recursive] Error 2
gmake[3]: Leaving directory `/mnt2/tmp/pgsql/src/backend/utils'
gmake[2]: *** [utils-recursive] Error 2
gmake[2]: Leaving directory `/mnt2/tmp/pgsql/src/backend'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/mnt2/tmp/pgsql/src'
gmake: *** [all] Error 2

It seems the code assumes sprintf always returns an integer (this is
not true for SunOS). I will fix it in more portable way.
--
Tatsuo Ishii


From: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
To: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
Cc: tgl(at)sss(dot)pgh(dot)pa(dot)us, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Second call for platform testing
Date: 2001-12-04 09:22:20
Message-ID: 20011204102220.A2137@zf.jcu.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Tue, Dec 04, 2001 at 03:15:58PM +0900, Tatsuo Ishii wrote:

> It seems the code assumes sprintf always returns an integer (this is
> not true for SunOS). I will fix it in more portable way.

It's interesting OS :-) I see "CONFORMING TO" part of sprintf manual
and it's ANSI C and ISO/IEC function....

Is anywhere (URL) summary of difference between basic C functions in
basic OS?

Thanks for fix Tatsuo.

Karel
--
Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
http://home.zf.jcu.cz/~zakkr/

C, PostgreSQL, PHP, WWW, http://docs.linux.cz, http://mape.jcu.cz


From: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: thomas(at)pgsql(dot)com, PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Second call for platform testing
Date: 2001-12-07 09:08:32
Message-ID: 3C108710.BBBB7FD2@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Hiroshi Inoue wrote:
>
> > -----Original Message-----
> > From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
> >
> > Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp> writes:
> > > I got a regression test result from Hiroshi Saito on
> > > UNIX_System_V ews4800 4.2MP 4.2 R4000 r4000.
> >
> > > Seems INT64_IS_BUSTED, old PST ... etc and
> >
> > > *** ./expected/create_index.out Tue Aug 28 08:23:34 JST 2001
> > > --- ./results/create_index.out Fri Nov 30 00:28:22 JST 2001
> > > ***************
> > > *** 35,44 ****
> > > --- 35,47 ----
> > > --
> > > CREATE INDEX onek2_u1_prtl ON onek2 USING btree(unique1 int4_ops)
> > > where unique1 < 20 or unique1 > 980;
> > > + ERROR: AllocSetFree: cannot find block containing chunk 4f64f0
> > > CREATE INDEX onek2_u2_prtl ON onek2 USING btree(unique2 int4_ops)
> > > where stringu1 < 'B';
> > > + ERROR: AllocSetFree: cannot find block containing chunk 4f6390
> > > CREATE INDEX onek2_stu1_prtl ON onek2 USING btree(stringu1 name_ops)
> > > where onek2.stringu1 >= 'J' and onek2.stringu1 < 'K';
> > > + ERROR: AllocSetFree: cannot find block containing chunk 4f6740
> >
> > Interesting. Something nonportable in the partial index support,
> > perhaps?
> >
> > Would you ask him to compile with debug support, set a breakpoint at
> > elog(), and get a backtrace from the point of the error?
>
> Unfortunately he doesn't seem to be able to do it at once
> though he would like to do it. If he is ready he may reply
> to this thread directly.

Sorry for my late answer.
He has been working with the platform but hasn't yet
identify the cause. Unfortunately it seems too late
for 7.2 release.

regards,
Hiroshi Inoue


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
Cc: thomas(at)pgsql(dot)com, PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Second call for platform testing
Date: 2001-12-07 14:24:39
Message-ID: 29344.1007735079@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp> writes:
> He has been working with the platform but hasn't yet
> identify the cause. Unfortunately it seems too late
> for 7.2 release.

Not necessarily ... we're still arguing what to do about the time
precision issue, and even if 7.2fc1 were out, I think a portability bug
would be cause for an update. Please encourage him to pursue it.

regards, tom lane


From: Mark Knox <segfault(at)hardline(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Second call for platform testing
Date: 2001-12-11 03:21:55
Message-ID: 5.1.0.14.0.20011210221802.00b9abc8@core.hardline.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers


>change
>the second line (line 2094 in src/backend/postmaster/pgstat.c) to:
>
> if (*dbhash == NULL)
>
>I'm going to commit this change in CVS anyway, but I'm wondering if it
>explains your problem or not.

Yes it does, Tom! Nice work! I apologize for the delay in testing..
Christmas and all.

I guess I can report a success for 7.2b3 on Linux/arm.

__ .--------.
|==|| | -( Mark 'segfault' Knox )-
|==||________|
|::| __====__`. .'`. "Unix *is* user-friendly.. it's just
|__|/::::::::\ ~ (_) picky about its friends."


From: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>
To: "Mark Knox" <segfault(at)hardline(dot)org>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "PostgreSQL Hackers Mailing List" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Second call for platform testing
Date: 2001-12-11 04:01:40
Message-ID: GNELIHDDFBOCMGBFGEFOOELFCAAA.chriskl@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

> >I'm going to commit this change in CVS anyway, but I'm wondering if it
> >explains your problem or not.
>
>
> Yes it does, Tom! Nice work! I apologize for the delay in testing..
> Christmas and all.
>
> I guess I can report a success for 7.2b3 on Linux/arm.

I've just got hold of a FreeBSD/alpha box - hopefully I'll be able to test
by the end of the week...

Chris


From: Thomas Lockhart <lockhart(at)fourpalms(dot)org>
To: Mark Knox <segfault(at)hardline(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Second call for platform testing
Date: 2001-12-11 06:47:13
Message-ID: 3C15ABF1.26565B3F@fourpalms.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

> I guess I can report a success for 7.2b3 on Linux/arm.

Great! Thanks for the work; I'll update the list...

- Thomas