Re: [BUGS] BUG #6758: ./configure script sets HAVE_WCSTOMBS_L 1

2012-10-01 Thread Andrew Hastie
Apologies for delay in progressing this, but I only have access to an AIX7.1 system periodically. Just to confirm that source build of 9.2.1 release now builds clean against AIXv7.1 with xlc v12.1 compiler. Thanks, Andrew On 31/08/12 20:20, Tom Lane wrote: Andrew Hastie writes: On 31/08

Re: [BUGS] BUG #6758: ./configure script sets HAVE_WCSTOMBS_L 1

2012-10-01 Thread Andrew Hastie
Apologies for delay in progressing this, but I only have access to an AIX7.1 system periodically. Just to confirm that source build of 9.2.1 release now builds clean against AIXv7.1 with xlc v12.1 compiler. Thanks, Andrew On 31/08/12 20:20, Tom Lane wrote: Andrew Hastie writes: On 31/08

Re: [BUGS] BUG #6758: ./configure script sets HAVE_WCSTOMBS_L 1

2012-08-31 Thread Tom Lane
Andrew Hastie writes: > On 31/08/12 15:59, Tom Lane wrote: >> As a temporary workaround, you should probably just modify pg_config.h >> after configure runs, to remove the HAVE_WCSTOMBS_L symbol. > Confirm that the workaround works just fine. Now have PG 9.1.5 up and > running on AIX just fine.

Re: [BUGS] BUG #6758: ./configure script sets HAVE_WCSTOMBS_L 1

2012-08-31 Thread Andrew Hastie
On 31/08/12 15:59, Tom Lane wrote: Andrew Hastie writes: Thanks for the pointers. Hopefully some of the following may shed some light on the issue. Thanks for the results. It seems difficult to come to any conclusion other than that AIX has got wcstombs_l but not mbstowcs_l ... which is darn

Re: [BUGS] BUG #6758: ./configure script sets HAVE_WCSTOMBS_L 1

2012-08-31 Thread Tom Lane
Andrew Hastie writes: > Thanks for the pointers. Hopefully some of the following may shed some > light on the issue. Thanks for the results. It seems difficult to come to any conclusion other than that AIX has got wcstombs_l but not mbstowcs_l ... which is darn bizarre; I'd suggest reporting it

Re: [BUGS] BUG #6758: ./configure script sets HAVE_WCSTOMBS_L 1

2012-08-31 Thread Andrew Hastie
On 29/08/12 18:16, Tom Lane wrote: Andrew Hastie writes: I'm currently working on a project where I need to get PGv9.1 up and running on an IBM AIXv7.1 server, so I do have access to a suitable machine for a period of time if I can provide any further diags to help resolve the issue. That wou

Re: [BUGS] BUG #6758: ./configure script sets HAVE_WCSTOMBS_L 1

2012-08-29 Thread Tom Lane
Andrew Hastie writes: > I'm currently working on a project where I need to get PGv9.1 up and > running on an IBM AIXv7.1 server, so I do have access to a suitable > machine for a period of time if I can provide any further diags to help > resolve the issue. That would be helpful, because both

Re: [BUGS] BUG #6758: ./configure script sets HAVE_WCSTOMBS_L 1

2012-08-29 Thread Andrew Hastie
Following up on getting PG built on AIXv7.1, I too have hit the same issue reported in BUG #6758. The posting of Thu, 26 Jul 2012 11:13:03 states that the problem does *not* occur using the IBM xlc v12 compiler but *does* occur using the v11 compiler. From what I have seen, the same issue sti

Re: [BUGS] BUG #6758: ./configure script sets HAVE_WCSTOMBS_L 1

2012-07-26 Thread Tom Lane
Jez Wain writes: > On the v11 neither mbstowcs_l nor wcstombs_l are defined. On the v12, both > are. So to answer the question posed on the archive link you provided, the > assumption made by your configure script appears to be valid. This points to > there being a problem in the way the pres

Re: [BUGS] BUG #6758: ./configure script sets HAVE_WCSTOMBS_L 1

2012-07-26 Thread Jez Wain
Alvaro, This is indeed the same problem; my apologies for posting a duplicate. I've checked on two AIXv7.1 servers, one using an xlCv11 runtime, the other using an xlCv12 runtime. On the v11 neither mbstowcs_l nor wcstombs_l are defined. On the v12, both are. So to answer the question posed

Re: [BUGS] BUG #6758: ./configure script sets HAVE_WCSTOMBS_L 1

2012-07-25 Thread Tom Lane
Alvaro Herrera writes: > Excerpts from jez.wain's message of mié jul 25 05:49:35 -0400 2012: >> AIX7 supports the mbstowcs API but not mbstowcs_l. In >> src/include/pg_config.h I commented out the define for HAVE_WCSTOMBS_L 1, >> recompiled src/backend/utils/adt/pg_locale.c and the build complet

Re: [BUGS] BUG #6758: ./configure script sets HAVE_WCSTOMBS_L 1

2012-07-25 Thread Alvaro Herrera
Excerpts from jez.wain's message of mié jul 25 05:49:35 -0400 2012: > ld: 0711-317 ERROR: Undefined symbol: .mbstowcs_l > ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more > information. > > AIX7 supports the mbstowcs API but not mbstowcs_l. In > src/include/pg_config.h I commen

[BUGS] BUG #6758: ./configure script sets HAVE_WCSTOMBS_L 1

2012-07-25 Thread jez . wain
The following bug has been logged on the website: Bug reference: 6758 Logged by: jez wain Email address: jez.w...@bull.net PostgreSQL version: 9.1.4 Operating system: AIX 7.1 Description: Building Postgresql on AIX7.1 with IBM's xlc compiler I got an undefined symbol