From: | Shinji Teragaito <shinji(at)kobe(dot)hp(dot)com> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Cc: | Shinji Teragaito <shinji(at)kobe(dot)hp(dot)com> |
Subject: | HP-UX 11.22 (IA64) IPF Patch for PostgreSQL 7.3.2 |
Date: | 2003-04-07 06:08:10 |
Message-ID: | vvdd6jyyh4l.wl@voyager.kobe.hp.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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 | Content-Type | Size |
---|---|---|
postgresql-7.3.2-hpux1122.patch | application/octet-stream | 2.4 KB |
regression.diffs | application/octet-stream | 19.5 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2003-04-07 06:31:11 | Re: HP-UX 11.22 (IA64) IPF Patch for PostgreSQL 7.3.2 |
Previous Message | A.M. | 2003-04-07 04:40:28 | Errors uniquely identified |