HP-UX 11.22 (IA64) IPF Patch for PostgreSQL 7.3.2 - Mailing list pgsql-hackers

From Shinji Teragaito
Subject HP-UX 11.22 (IA64) IPF Patch for PostgreSQL 7.3.2
Date
Msg-id vvdd6jyyh4l.wl@voyager.kobe.hp.com
Whole thread Raw
Responses Re: HP-UX 11.22 (IA64) IPF Patch for PostgreSQL 7.3.2  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: HP-UX 11.22 (IA64) IPF Patch for PostgreSQL 7.3.2  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Hi folks,

  The first attached file is the HP ANSI C and gcc patch file for
  PostgreSQL 7.3.2 on Itanium Processer Family (IPF) system with HP-UX
  11.22 (a.k.a. 11i version 1.6).

    - Use the inline assembly code in src/include/storage/s_lock.h
    - Add horology test into "expected failures"

  It may be required to modify somewhere in code for gcc due to the
  'create_functions_1' and 'trigers' failures during the regression
  test (refer to regression.diffs). So the attached modifications may
  be experimental for gcc :-)


In case of HP ANSI C Compiler:
------------------------------

  * Must specify the option '+legacy_cpp' in the environment variable
    CPP on the configure command line to use the C preprocessor for
    non-C source:

      % ./configure CC=cc CPP="cc -E +legacy_cpp"

    Otherwise the C preprocessor called in
    src/backend/catalog/genbki.sh doesn't generate the appropriate
    postgres.bki which can be used during the regression test.

    Note that you need at least the C compiler version A.05.38 to use
    the option +legacy_cpp. PHSS_27659 provides the latest version
    A.05.41 as of today.

  * In the regression test, 'float8' and 'geometry' fails. But that
    seems to be acceptable.

In case of GNU gcc:
-------------------

  * I used gcc-core-20030331 (snapshot) on HP-UX 11.22. In the
    regression test, 'float8', 'geometry', 'create_function_1' and
    'triggers' fails. Then I got the attached regression.diffs file.

  * Although gcc 3.2 pre-release version (http://www.hp.com/go/gcc)
    for IPF can compile PostgreSQL 7.3.2 on HP-UX 11.22, the
    regression test fails due to the error "pg_regress: could not drop
    user accounts" after creating database "regression".

Shinji Teragaito


Attachment

pgsql-hackers by date:

Previous
From: "A.M."
Date:
Subject: Errors uniquely identified
Next
From: Tom Lane
Date:
Subject: Re: HP-UX 11.22 (IA64) IPF Patch for PostgreSQL 7.3.2