From: | pgsql-bugs(at)postgresql(dot)org |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Bug #575: Build Problem with Postgresql 7.1.3 on Aix 4.3.3 with VisualAge 5.0 compiler resources: |
Date: | 2002-02-07 15:17:28 |
Message-ID: | 200202071517.g17FHSO17657@postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Andre Blanchard (andre(at)synchronicity(dot)com) reports a bug with a severity of 1
The lower the number the more severe it is.
Short Description
Build Problem with Postgresql 7.1.3 on Aix 4.3.3 with VisualAge 5.0 compiler resources:
Long Description
System Configuration
---------------------
Architecture (example: Intel Pentium) : PowerPC (IBM AIX)
Operating System (example: Linux 2.0.26 ELF) : 4.3.3
PostgreSQL version (example: PostgreSQL-7.1.3): PostgreSQL-7.1.3
Compiler used (example: gcc 2.95.2) : default for configure
This is one of the compliation entries:
xlc -O2 -qmaxmem=16384 -qsrcmsg -qlonglong -I../../../../src/include -I/usr/local/include -c -o xlog.o xlog.c
Please enter a FULL description of your problem:
------------------------------------------------
Out of the box installation in a local directory ~/postgresql. Utilizing GNU's bash shell (bash). Run configure with the following options:
FYI: Our PATH LIBPATH settings:
PATH = /tools/windu440/bin.rs6000:/tools/windu440/lib.rs6000:.:/home/andre/bin:/usr/local/bin:/bin:/home/andre/build/relbf1/sbin/AIX_4330_xlC_5000:/home/synch/build/relbf1/sbin/AIX_4330_xlC_5000:/usr/vacpp/bin:/usr/bin:/usr/ccs/bin:/usr/sbin:/usr/dt/bin:/usr/bin/X11:/home/synch/build/relbf1/src/build_tools
LIBPATH = /tools/windu440/lib.rs6000:.:.:/home/andre/build/relbf1/sbin/AIX_4330_xlC_5000:/home/synch/build/relbf1/sbin/AIX_4330_xlC_5000:/usr/vacpp/lib:/usr/lib/threads/:/usr/lib:/usr/dt/lib:/usr/ccs/lib
Please describe a way to repeat the problem. Please try to provide a
concise reproducible example, if at all possible:
----------------------------------------------------------------------
Given the previously mentioned environment, run the configure_aix script and then run make.
If you know how this problem might be fixed, list the solution below:
---------------------------------------------------------------------
1). Do we need a patch for our compiler?
#Path:Fileset:Level:PTF Id:Action:Status:Date:Time
/usr/lib/objrepos:vacpp.cmp.batch:5.0.0.0::COMMIT:COMPLETE:02/09/01:09;31;34
2). I suspect options to configure might address this, however I am not sure which ones are to be utilized to correct this error. I wish to emphasize, however that we do not wish to correct this by utilizing the gcc compiler. This option has its own problems which I will address in a subsequent bug report.
3). Do we have to modify your template file to also point to some of our local include resources (tcl)?
Thank you and regards:
Additonal Information Request:
---------------------------------------------------------------------
It is most likely that when this is resolved, we will have the problem of linking in our tcl libraries (version 8.3.3). We have already observed this when we run configure with the gcc compiler option. Therefore I would request that any info pertaining to postgresql methods of locating the tcl libraries would be helpful as well. Our tcl libraries are located in a path specified by LIBPATH and PATH (i.e. not in /usr/local) and are never found (aka the link with the gcc option will fail exactly as outlined in the following bug on your website:
http://archives.postgresql.org/pgsql-admin/2001-09/msg00073.php
Sample Code
cat configure_aix
./configure --with-template=aix \
--with-includes=/usr/local/include \
--with-libraries=/usr/local/lib \
--without-CXX
run make
This fails with the following trailer output:
make[4]: Entering directory `/home/andre/postgresql_basic/postgresql-7.1.3/src/backend/access/transam'
xlc -O2 -qmaxmem=16384 -qsrcmsg -qlonglong -I../../../../src/include -I/usr/local/include -c -o xlog.o xlog.c
"../../../../src/include/c.h", line 193.21: 1506-334 (S) Identifier int8 has already been defined on line 622 of "/usr/include/sys/inttypes.h".
"../../../../src/include/c.h", line 194.22: 1506-334 (S) Identifier int16 has already been defined on line 623 of "/usr/include/sys/inttypes.h".
"../../../../src/include/c.h", line 195.20: 1506-334 (S) Identifier int32 has already been defined on line 624 of "/usr/include/sys/inttypes.h".
"../../../../src/include/c.h", line 265.23: 1506-334 (S) Identifier int64 has already been defined on line 629 of "/usr/include/sys/inttypes.h".
955 | do { int32 * _start = (int32 *) ((char *) Insert->currpage); int _val = (0); Size _len = (8192); if ((((long) _start) & (sizeof(int32) - 1)) == 0 && (_len & (sizeof(int32) - 1)) == 0 && _val == 0 && _len <= 64) { int32 * _stop = (int32 *) ((char *) _start + _len); while (_start < _stop) *_start++ = 0; } else __memset((char *) _start,_val,_len); } while (0);
...............................................................................................................................................................................................................................................................................................a.........b
a - 1506-068 (E) Operation between types "illegal type*" and "illegal type*" is not allowed.
b - 1506-281 (S) Prefix and postfix increment and decrement operators cannot be applied to "illegal type*".
1329 | do { int32 * _start = (int32 *) (zbuffer); int _val = (0); Size _len = (sizeof(zbuffer)); if ((((long) _start) & (sizeof(int32) - 1)) == 0 && (_len & (sizeof(int32) - 1)) == 0 && _val == 0 && _len <= 64) { int32 * _stop = (int32 *) ((char *) _start + _len); while (_start < _stop) *_start++ = 0; } else __memset((char *) _start,_val,_len); } while (0);
........................................................................................................................................................................................................................................................................................a.........b
a - 1506-068 (E) Operation between types "illegal type*" and "illegal type*" is not allowed.
b - 1506-281 (S) Prefix and postfix increment and decrement operators cannot be applied to "illegal type*".
make[4]: *** [xlog.o] Error 1
make[4]: Leaving directory `/home/andre/postgresql_basic/postgresql-7.1.3/
make[3]: *** [transam-recursive] Error 2
make[3]: Leaving directory `/home/andre/postgresql_basic/postgresql-7.1.3/src/backend/access'
make[2]: *** [access-recursive] Error 2
make[2]: Leaving directory `/home/andre/postgresql_basic/postgresql-7.1.3/src/backend'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/andre/postgresql_basic/postgresql-7.1.3/src'
make: *** [all] Error 2
No file was uploaded with this report
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2002-02-07 17:34:41 | Re: Bug #575: Build Problem with Postgresql 7.1.3 on Aix 4.3.3 with VisualAge 5.0 compiler resources: |
Previous Message | Edwin Grubbs | 2002-02-07 00:20:55 | Re: Bug #574: can not create tables that start with "Clinic" |