Re: beta3 Solaris 7 (SPARC) port report [ Was: Looking for . . . ]

From: Frank Joerdens <frank(at)joerdens(dot)de>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Frank Joerdens <frank(at)joerdens(dot)de>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: beta3 Solaris 7 (SPARC) port report [ Was: Looking for . . . ]
Date: 2001-01-25 18:22:55
Message-ID: 20010125192254.C13199@rakete.joerdens.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Thu, Jan 25, 2001 at 05:12:02PM +0100, Peter Eisentraut wrote:
> Frank Joerdens writes:
>
> > > I have experienced before that Unix sockets will cause random connection
> > > abortions on Solaris [ . . . ]
> >
> > Isn't that _really_ bad? Random connection abortions when going over
> > Unix sockets?? My app does _all_ the connecting over Unix sockets?!
>
> That's bad, for sure. Maybe you can check for odd conditions surrounding
> the /tmp directory, like is it on NFS, permission problems, mount options.

I don't have neither root nor physical access to this machine, hence my
options are kinda limited. However, the sysadmin told me that most of
the storage space on this box is mounted over a fibre channel (I only
have a very hazy notion of what exactly that might be) from a "storage
server" which is allegedly as fast as a local SCSI disk.

> Or is there something odd in the kernel configuration? If I'm counting
> correctly this is the third independent report of this problem, which is
> scary.

I'll question the sysadmin about that. But why does make installcheck
work? Because it goes over TCP/IP sockets by default?

>
> > > > I also tried using the Sun compiler, which didn't work at all.
> > >
> > > details on "didn't work" requested...
> >
> > ------------------ begin details ------------------
> > $ export CC=CC
>
> Using a C++ compiler to compile C code won't work. You probably meant
> CC=cc and CXX=CC.

When I do that, make fails with the following error (after giving lots
of warnings):

"pg_dump.c", line 1063: warning: Function has no return statement : main
cc -Xa -v -I../../../src/include -I../../../src/interfaces/libpq -c -o
common.o common.c
cc -Xa -v -I../../../src/include -I../../../src/interfaces/libpq -c -o
pg_backup_archiver.o pg_backup_archiver.c
cc -Xa -v -I../../../src/include -I../../../src/interfaces/libpq -c -o
pg_backup_db.o pg_backup_db.c
cc -Xa -v -I../../../src/include -I../../../src/interfaces/libpq -c -o
pg_backup_custom.o pg_backup_custom.c
cc -Xa -v -I../../../src/include -I../../../src/interfaces/libpq -c -o
pg_backup_files.o pg_backup_files.c
cc -Xa -v -I../../../src/include -I../../../src/interfaces/libpq -c -o
pg_backup_null.o pg_backup_null.c
"pg_backup_null.c", line 90: controlling expressions must have scalar
type
cc: acomp failed for pg_backup_null.c
make[3]: *** [pg_backup_null.o] Error 2
make[3]: Leaving directory
`/usr/users/fjoerde/postgres/postgresql-7.1beta3_test/src/bin/pg_dump'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/usr/users/fjoerde/postgres/postgresql-7.1beta3_test/src/bin'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/usr/users/fjoerde/postgres/postgresql-7.1beta3_test/src'
make: *** [all] Error 2

Regards, Frank

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mitch Vincent 2001-01-25 18:45:54 Re: Re: Load a database into memory
Previous Message Poul Laust Christiansen 2001-01-25 18:19:43 Re: Re: Load a database into memory

Browse pgsql-hackers by date

  From Date Subject
Next Message Lamar Owen 2001-01-25 18:25:35 RPM: Contrib request.
Previous Message Peter Eisentraut 2001-01-25 16:49:51 RE: Permissions on CHECKPOINT