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

From: Jez Wain <jez(dot)wain(at)bull(dot)net>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Pg Bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #6758: ./configure script sets HAVE_WCSTOMBS_L 1
Date: 2012-07-26 09:13:03
Message-ID: 55741DAD-13E7-4EE1-BF63-C9155859CA0D@bull.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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 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 presence of these APIs is detected in the configure script.

I built postgres on the V11 platform when I posted my bug report. I'll have a go on the V12 to ensure that this error goes away.

Thanks for your reply,

Jez

On 25 Jul 2012, at 18:17, Alvaro Herrera wrote:

>
> 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 commented out the define for HAVE_WCSTOMBS_L 1,
>> recompiled src/backend/utils/adt/pg_locale.c and the build completed
>> successfully.
>
> This had been reported some time ago, see bug #6585:
> http://archives.postgresql.org/message-id/E1SINxs-0001Zy-Gj@wrigleys.postgresql.org
>
> --
> Álvaro Herrera <alvherre(at)commandprompt(dot)com>
> The PostgreSQL Company - Command Prompt, Inc.
> PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2012-07-26 10:22:19 Re: Re: [BUGS] BUG #6733: All Tables Empty After pg_upgrade (PG 9.2.0 beta 2)
Previous Message Craig Ringer 2012-07-26 08:17:19 Re: BUG #6763: Severe memory leak with arrays and hstore