64 bit PostgreSQL 8.3.6 build on AIX 5300-09-02-0849 with IBM XL C/C++ 10.1.0.1 - initdb fails (could not dump unrecognized node type: 650) - Mailing list pgsql-hackers

From Mihai Criveti
Subject 64 bit PostgreSQL 8.3.6 build on AIX 5300-09-02-0849 with IBM XL C/C++ 10.1.0.1 - initdb fails (could not dump unrecognized node type: 650)
Date
Msg-id 22c159aa0902081724l84db1acq2e7d5d856b5400c4@mail.gmail.com
Whole thread Raw
Responses Re: 64 bit PostgreSQL 8.3.6 build on AIX 5300-09-02-0849 with IBM XL C/C++ 10.1.0.1 - initdb fails (could not dump unrecognized node type: 650)
Re: 64 bit PostgreSQL 8.3.6 build on AIX 5300-09-02-0849 with IBM XL C/C++ 10.1.0.1 - initdb fails (could not dump unrecognized node type: 650)
List pgsql-hackers
CC="xlC_r -q64" \<br />CXX="xlC_r -q64" \<br />AR="ar -X64" \<br />OBJECT_MODE=64 \<br
/>PATH=/usr/bin:/usr/vacpp/bin<br/>./configure<br />make<br /><br />Make builds fine, but pg_regress: initdb fails.
src/test/regress/logreads:<br /><br />Running in noclean mode.  Mistakes will not be cleaned up.<br />The files
belongingto this database system will be owned by user "cmihai".<br />This user must also own the server process.<br
/><br/>The database cluster will be initialized with locale C.<br /> The default database encoding has accordingly been
setto SQL_ASCII.<br />The default text search configuration will be set to "english".<br /><br />creating directory
/home/cmihai/build/postgresql-8.3.6/src/test/regress/./tmp_check/data... ok<br /> creating subdirectories ... ok<br
/>selectingdefault max_connections ... 100<br />selecting default shared_buffers/max_fsm_pages ... 32MB/204800<br
/>creatingconfiguration files ... ok<br />creating template1 database in
/home/cmihai/build/postgresql-8.3.6/src/test/regress/./tmp_check/data/base/1... ok<br /> initializing pg_authid ...
ok<br/>initializing dependencies ... ok<br />creating system views ... WARNING:  could not dump unrecognized node type:
650<br/>WARNING:  could not dump unrecognized node type: 650<br />WARNING:  could not dump unrecognized node type:
650<br/> WARNING:  could not dump unrecognized node type: 650<br />WARNING:  could not dump unrecognized node type:
650<br/>WARNING:  could not dump unrecognized node type: 650<br />WARNING:  could not dump unrecognized node type:
650<br/> WARNING:  could not dump unrecognized node type: 650<br />WARNING:  could not dump unrecognized node type:
650<br/>WARNING:  could not dump unrecognized node type: 650<br />WARNING:  could not dump unrecognized node type:
650<br/> FATAL:  badly formatted node string "} {} {} {} {} {} {} {} {} {} {})"...<br />STATEMENT:  /*<br />         *
PostgreSQLSystem Views<br />         *<br />         * Copyright (c) 1996-2008, PostgreSQL Global Development Group<br
/>         *<br />         * $PostgreSQL: pgsql/src/backend/catalog/system_views.sql,v 1.48 2008/01/01 19:45:48 momjian
Exp$<br />         */<br /><br />        CREATE VIEW pg_roles AS<br />            SELECT<br /><br /><br />[[ more code
here]]<br />         LANGUAGE SQL STRICT STABLE;<br /><br />        COMMENT ON FUNCTION ts_debug(text) IS<br
/>           'debug function for current text search configuration';<br /><br />child process exited with exit code
1<br/>initdb: data directory "/home/cmihai/build/postgresql-8.3.6/src/test/regress/./tmp_check/data" not removed at
user'srequest<br /><br clear="all" /><br /><br />make install is successful, but of course, initdb will fail in a
similarmanner. (WARNING:  could not dump unrecognized node type: 650<br />FATAL:  badly formatted node string "} {} {}
{}{} {} {} {} {} {} {})"... after initializing dependencies ... ok).<br /><br />initdb: 64-bit XCOFF executable or
objectmodule not stripped<br /><br />All commands seem to be work in so far as they don't have missing modules (ldd)
andrun. Not much else I can test without a initdb though.<br /><br /> I have found my issue to be similar to <a
href="http://archives.postgresql.org/pgsql-ports/2005-06/msg00002.php">http://archives.postgresql.org/pgsql-ports/2005-06/msg00002.php</a>
(unresolved).<br/><br />Any suggestions / additional tests I can run to pinpoint the problem?<br /><br />If I use IBM
Debuggerof AIX, I get right before the crash:<br /><br />creating system views ...<br />exec() -> sh<br />exec()
->postgres<br />Execution terminated.<br /><br />So it happens somewhere in postgres code.<br /><br /> -- <br
/>CrivetiMihai<br /><a href="http://unixsadm.blogspot.com" target="_blank">http://unixsadm.blogspot.com</a><br /><br /> 

pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: WIP: fix SET WITHOUT OIDS, add SET WITH OIDS
Next
From: Fujii Masao
Date:
Subject: Re: Synch Replication