Re: ia64-hp-hpux11.23 configure warnings - Mailing list pgsql-bugs

From Tom Lane
Subject Re: ia64-hp-hpux11.23 configure warnings
Date
Msg-id 24871.1126629909@sss.pgh.pa.us
Whole thread Raw
In response to ia64-hp-hpux11.23 configure warnings  ("Ed L." <pgsql@bluepolka.net>)
List pgsql-bugs
"Ed L." <pgsql@bluepolka.net> writes:
> Here's my 11.23 compile line:
> gcc -O2 -mlp64 -Wall -Wmissing-prototypes -Wpointer-arith
> -Wendif-labels -fno-strict-aliasing -I../../../src/include
> -D_XOPEN_SOURCE_EXTENDED   -c -o pg_sema.o pg_sema.c

> I've attached sys/types.h and sys/ipc.h.  I'm happy to try any
> patches you suggest...

The problem is obviously impossible given those headers ;-).

What seems most probable at this point is that gcc is not looking at
the headers you think it is.  gcc keeps private "fixed" copies of
system headers that it thinks are broken.  I suspect that your gcc
installation was copied from an earlier HPUX version that had different
contents of one or both of these headers.

I'm not sure if you need to completely reinstall gcc to fix this,
or if just rerunning its fixincludes script will do the job.  Or
you could try manually updating the private copies, but that seems
pretty risky.  In any case I think it's a gcc-doesn't-match-system
problem, not our bug.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Race-condition with failed block-write?
Next
From: "Ed L."
Date:
Subject: Re: ia64-hp-hpux11.23 configure warnings