Re: pgsql: aix: No need to use mkldexport when we want to export all symbol

From: Andres Freund <andres(at)anarazel(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Noah Misch <noah(at)leadboat(dot)com>
Cc: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: aix: No need to use mkldexport when we want to export all symbol
Date: 2022-09-10 04:37:49
Message-ID: 20220910043749.koidc5k4j5dxo3if@awork3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Hi,

On 2022-09-09 21:16:38 -0700, Andres Freund wrote:
> On September 9, 2022 9:14:26 PM PDT, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> >Andres Freund <andres(at)anarazel(dot)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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2022-09-10 05:27:41 Re: pgsql: aix: No need to use mkldexport when we want to export all symbol
Previous Message Andres Freund 2022-09-10 04:16:38 Re: pgsql: aix: No need to use mkldexport when we want to export all symbol