From: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Noah Misch <noah@leadboat.com>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: aix: No need to use mkldexport when we want to export all symbol
Date: Fri, 9 Sep 2022 21:37:49 -0700
Message-ID: <20220910043749.koidc5k4j5dxo3if@awork3.anarazel.de> (raw)
In-Reply-To: <89D645BA-FF97-4516-A21D-9FC4A4B31F8C@anarazel.de>
References: <E1oWpzF-002EG4-AG@gemulon.postgresql.org>
<325593.1662783266@sss.pgh.pa.us>
<89D645BA-FF97-4516-A21D-9FC4A4B31F8C@anarazel.de>
Hi,
On 2022-09-09 21:16:38 -0700, Andres Freund wrote:
> On September 9, 2022 9:14:26 PM PDT, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> >Andres Freund <andres@anarazel.de> writes:
> >> aix: No need to use mkldexport when we want to export all symbols
> >
> >hmm, early returns not good:
> >
> >https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=hoverfly&dt=2022-09-10%2003%3A31%3A29
> >
> >The backend seems to build OK, but our first try to make a .so
> >falls over:
> >
> >ld: 0711-244 ERROR: No csects or exported symbols have been saved.
> >../../../../../../src/Makefile.shlib:279: recipe for target 'cyrillic_and_mic.so' failed
> >gmake[3]: *** [cyrillic_and_mic.so] Error 8
>
> I'd tested that maybe two weeks ago, so I'm a bit surprised. I'll try to reproduce.
A basic build with xlc 16.1 still succeeds building world-bin. Including
obviously cyrillic_and_mic.so
../configure PERL=perl64 --cache ../config-ac-xlc.cache --with-perl CC=/opt/IBM/xlc/16.1.0/bin/xlc_r CFLAGS="-qmaxmem=33554432 -qsuppress=1500-010:1506-995 -qsuppress=1506-010:1506-416:1506-450:1506-480:1506-481:1506-492:1506-944:1506-1264 -qinfo=all:nocnd:noeff:noext:nogot:noini:noord:nopar:noppc:norea:nouni:nouse -qinfo=nounset"
with OBJECT_MODE=64 previously set.
I'll try a build closer to Noah's configure options. Most likely candidate
seems --enable-debug.
Greetings,
Andres Freund
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 using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: andres@anarazel.de, tgl@sss.pgh.pa.us, noah@leadboat.com, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: aix: No need to use mkldexport when we want to export all symbol
In-Reply-To: <20220910043749.koidc5k4j5dxo3if@awork3.anarazel.de>
* 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