On 9/7/07, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Daniel Rubio <drubior@tinet.org> writes:
> > Using the older gcc version to compile, the problem disappears ...
>
> Hmm. gcc 4.0.4 is hardly new. I'm wondering about the weird CFLAGS and
> include/link paths shown in your pg_config output. What does all that
> do?
>
> >> CPPFLAGS = -I/sfw10/builds/build/sfw10-patch/usr/src/cmd/postgres/rltmp/include
> >> -I/usr/sfw/include
> >> CFLAGS = -xO3
isn't that an Optimization setting? Pretty sure pgsql is not
recommended above 2.
or is -xO something different?
OP, Have you tried compiling with just the bare minimum switches to
get a working version and go from there?