Re: Bug #587: Postgresql will not build on HP-UX 11.0 in debug mode - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Bug #587: Postgresql will not build on HP-UX 11.0 in debug mode
Date
Msg-id 1056.1013638076@sss.pgh.pa.us
Whole thread Raw
In response to Bug #587: Postgresql will not build on HP-UX 11.0 in debug mode  (pgsql-bugs@postgresql.org)
List pgsql-bugs
pgsql-bugs@postgresql.org writes:
> cc +DAportable -g -Ae +O2 -I../../../../src/include -I/home/andre/build/relbf1/src/vendor/postgresql/72/src/include
-I/home/andre/build/relbf1/obj/HP_UX_1100_aCC_0315_dbg/postgresql-72/../tcl/include -c -o heapam.o
/home/andre/build/relbf1/src/vendor/postgresql/72/src/backend/access/heap/heapam.c
> cc: error 1405: "/opt/ansic/lbin/ccom" terminated abnormally with signal 11.

Core dumps in HP's compiler should be filed with HP as a compiler bug.
They are surely not our problem.

My own experience on HPUX 10.20 is that HP's cc tends to dump core when
given both +O2 and -g.  Evidently it's still not fixed as of 11.0.
I'd suggest backing off the optimization level in CFLAGS, or using gcc.

            regards, tom lane

pgsql-bugs by date:

Previous
From: pgsql-bugs@postgresql.org
Date:
Subject: Bug #588: Postgresql will not build on AIX; cannot locate tcl library
Next
From: pgsql-bugs@postgresql.org
Date:
Subject: Bug #589: JDBC KEY_SEQ in getImportedKey starts at 0