pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@commandprompt.com>
To: mit <mit@akamit.com>
Cc: Pg Bugs <pgsql-bugs@postgresql.org>
Subject: Re: BUG #6585: Can't compile from source code
Date: Thu, 12 Apr 2012 15:29:52 -0300
Message-ID: <1334254932-sup-3474@alvh.no-ip.org> (raw)
In-Reply-To: <E1SINxs-0001Zy-Gj@wrigleys.postgresql.org>
References: <E1SINxs-0001Zy-Gj@wrigleys.postgresql.org>


Excerpts from mit's message of jue abr 12 14:37:48 -0300 2012:
> The following bug has been logged on the website:
> 
> Bug reference:      6585
> Logged by:          Andrey Mitroshin
> Email address:      mit@akamit.com
> PostgreSQL version: 9.1.3
> Operating system:   AIX 7.1.0
> Description:        
> 
> This affects versions from 9.0.0
> Version 8.4.7 is not affected
> gcc -v
> Using built-in specs.
> COLLECT_GCC=gcc
> COLLECT_LTO_WRAPPER=/opt/freeware/libexec/gcc/powerpc-ibm-aix7.1.0.0/4.6.3/lto-wrapper
> Target: powerpc-ibm-aix7.1.0.0
> Configured with: ../gcc-4.6.3/configure --with-as=/usr/bin/as
> --with-ld=/usr/bin/ld --enable-languages=c,c++,fortran
> --prefix=/opt/freeware --mandir=/opt/freeware/man
> --infodir=/opt/freeware/info --enable-threads
> --enable-version-specific-runtime-libs --disable-nls
> --enable-decimal-float=dpd --host=powerpc-ibm-aix7.1.0.0

> ld: 0711-317 ERROR: Undefined symbol: .mbstowcs_l

Hmm.  It seems we use HAVE_WCSTOMBS_L as a hint that both mbstowcs_l and
wcstombs_l are present.  I guess it's most common that both exist
simultaneously, but perhaps it's not impossible that AIX only has
wcstombs_l and not mbstowcs_l.

Or it could just be a missing linker flag.

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support



view thread (6+ messages)  latest in thread

Message-ID: <1334254932-sup-3474@alvh.no-ip.org>
Permalink:  ../1334254932-sup-3474@alvh.no-ip.org/
Also on:    postgresql.org/message-id/1334254932-sup-3474@alvh.no-ip.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: alvherre@commandprompt.com, mit@akamit.com
  Subject: Re: BUG #6585: Can't compile from source code
  In-Reply-To: <1334254932-sup-3474@alvh.no-ip.org>
  References: <E1SINxs-0001Zy-Gj@wrigleys.postgresql.org> <1334254932-sup-3474@alvh.no-ip.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox