Re: beta3 Solaris 7 (SPARC) port report [ Was: Looking for . . . ] - Mailing list pgsql-hackers

From Frank Joerdens
Subject Re: beta3 Solaris 7 (SPARC) port report [ Was: Looking for . . . ]
Date
Msg-id 20010125192254.C13199@rakete.joerdens.de
Whole thread Raw
In response to Re: beta3 Solaris 7 (SPARC) port report [ Was: Looking for . . . ]  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: beta3 Solaris 7 (SPARC) port report [ Was: Looking for . . . ]  (Peter Eisentraut <peter_e@gmx.net>)
List 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


pgsql-hackers by date:

Previous
From: Lamar Owen
Date:
Subject: RPM: Contrib request.
Next
From: Frank Joerdens
Date:
Subject: Re: beta3 Solaris 7 (SPARC) port report [ Was: Looking for . . . ]