Hi, On 2022-09-09 21:16:38 -0700, Andres Freund wrote: > On September 9, 2022 9:14:26 PM PDT, Tom Lane <t...@sss.pgh.pa.us> wrote: > >Andres Freund <and...@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