Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 4AB16EC32BA for ; Thu, 12 Apr 2012 15:30:15 -0300 (ADT) Received: from 30.55.colo.spiretech.net ([69.168.55.30] helo=lists.commandprompt.com) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SIOmX-000207-AY for pgsql-bugs@postgresql.org; Thu, 12 Apr 2012 18:30:14 +0000 Received: from perhan.alvh.no-ip.org (spinlock.commandprompt.com [69.168.55.30]) by lists.commandprompt.com (Postfix) with ESMTPA id 0341F92; Thu, 12 Apr 2012 11:30:01 -0700 (PDT) Received: from perhan.alvh.no-ip.org ([200.126.81.219] helo=perhan.alvh.no-ip.org) by assp.commandprompt.com with ESMTPS(AES256-SHA) (2.1.1); 12 Apr 2012 11:29:59 -0700 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 69BBF6E4F6; Thu, 12 Apr 2012 15:29:52 -0300 (CLST) Content-Type: text/plain; charset=UTF-8 Cc: Pg Bugs Subject: Re: BUG #6585: Can't compile from source code From: Alvaro Herrera To: mit In-reply-to: References: Date: Thu, 12 Apr 2012 15:29:52 -0300 Message-Id: <1334254932-sup-3474@alvh.no-ip.org> User-Agent: Sup/git X-Assp-Version: 2.1.1(11364) on assp.commandprompt.com X-Assp-Client-TLS: yes X-Assp-ID: assp.commandprompt.com m1-55401-12782 X-Assp-Envelope-From: alvherre@alvh.no-ip.org X-Assp-Intended-For: mit@akamit.com X-Assp-Original-Subject: Re: [BUGS] BUG #6585: Can't compile from source code Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201204/76 X-Sequence-Number: 32827 Excerpts from mit's message of jue abr 12 14:37:48 -0300 2012: > The following bug has been logged on the website: >=20 > Bug reference: 6585 > Logged by: Andrey Mitroshin > Email address: mit@akamit.com > PostgreSQL version: 9.1.3 > Operating system: AIX 7.1.0 > Description: =20 >=20 > This affects versions from 9.0.0 > Version 8.4.7 is not affected > gcc -v > Using built-in specs. > COLLECT_GCC=3Dgcc > COLLECT_LTO_WRAPPER=3D/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=3D/usr/bin/as > --with-ld=3D/usr/bin/ld --enable-languages=3Dc,c++,fortran > --prefix=3D/opt/freeware --mandir=3D/opt/freeware/man > --infodir=3D/opt/freeware/info --enable-threads > --enable-version-specific-runtime-libs --disable-nls > --enable-decimal-float=3Ddpd --host=3Dpowerpc-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. --=20 =C3=81lvaro Herrera The PostgreSQL Company - Command Prompt, Inc. PostgreSQL Replication, Consulting, Custom Development, 24x7 support